Compare commits

...

6670 Commits

Author SHA1 Message Date
Steve Sakoman
e139e9d0ce build-appliance-image: Update to kirkstone head revision
(From OE-Core rev: ab2649ef6c83f0ae7cac554a72e6bea4dcda0e99)

Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-06-02 10:57:11 -07:00
Steve Sakoman
4cf40d4608 poky.conf: bump version for 4.0.19
(From meta-yocto rev: 6518f291d692997632304451695b6c194fec6fa6)

Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-06-01 19:07:52 -07:00
Soumya Sambu
d08e8d726d git: Fix multiple CVEs
CVE-2024-32002:
Git is a revision control system. Prior to versions 2.45.1, 2.44.1, 2.43.4,
2.42.2, 2.41.1, 2.40.2, and 2.39.4, repositories with submodules can be
crafted in a way that exploits a bug in Git whereby it can be fooled into
writing files not into the submodule's worktree but into a `.git/` directory.
This allows writing a hook that will be executed while the clone operation
is still running, giving the user no opportunity to inspect the code that is
being executed. The problem has been patched in versions 2.45.1, 2.44.1,
2.43.4, 2.42.2, 2.41.1, 2.40.2, and 2.39.4. If symbolic link support is
disabled in Git (e.g. via `git config --global core.symlinks false`), the
described attack won't work. As always, it is best to avoid cloning
repositories from untrusted sources.

CVE-2024-32004:
Git is a revision control system. Prior to versions 2.45.1, 2.44.1, 2.43.4,
2.42.2, 2.41.1, 2.40.2, and 2.39.4, an attacker can prepare a local repository
in such a way that, when cloned, will execute arbitrary code during the
operation. The problem has been patched in versions 2.45.1, 2.44.1, 2.43.4,
2.42.2, 2.41.1, 2.40.2, and 2.39.4. As a workaround, avoid cloning repositories
from untrusted sources.

CVE-2024-32020:
Git is a revision control system. Prior to versions 2.45.1, 2.44.1, 2.43.4,
2.42.2, 2.41.1, 2.40.2, and 2.39.4, local clones may end up hardlinking files
into the target repository's object database when source and target repository
reside on the same disk. If the source repository is owned by a different user,
then those hardlinked files may be rewritten at any point in time by the
untrusted user. Cloning local repositories will cause Git to either copy or
hardlink files of the source repository into the target repository. This
significantly speeds up such local clones compared to doing a "proper" clone and
saves both disk space and compute time. When cloning a repository located on the
same disk that is owned by a different user than the current user we also end up
creating such hardlinks. These files will continue to be owned and controlled by
the potentially-untrusted user and can be rewritten by them at will in the
future. The problem has been patched in versions 2.45.1, 2.44.1, 2.43.4, 2.42.2,
2.41.1, 2.40.2, and 2.39.4.

CVE-2024-32021:
Git is a revision control system. Prior to versions 2.45.1, 2.44.1, 2.43.4,
2.42.2, 2.41.1, 2.40.2, and 2.39.4, when cloning a local source repository that
contains symlinks via the filesystem, Git may create hardlinks to arbitrary
user-readable files on the same filesystem as the target repository in the
`objects/` directory. Cloning a local repository over the filesystem may
creating hardlinks to arbitrary user-owned files on the same filesystem in the
target Git repository's `objects/` directory. When cloning a repository over the
filesystem (without explicitly specifying the `file://` protocol or `--no-local`),
the optimizations for local cloning will be used, which include attempting to
hard link the object files instead of copying them. While the code includes checks
against symbolic links in the source repository, which were added during the fix
for CVE-2022-39253, these checks can still be raced because the hard link
operation ultimately follows symlinks. If the object on the filesystem appears as
a file during the check, and then a symlink during the operation, this will allow
the adversary to bypass the check and create hardlinks in the destination objects
directory to arbitrary, user-readable files. The problem has been patched in
versions 2.45.1, 2.44.1, 2.43.4, 2.42.2, 2.41.1, 2.40.2, and 2.39.4.

CVE-2024-32465:
Git is a revision control system. The Git project recommends to avoid working in
untrusted repositories, and instead to clone it first with `git clone --no-local`
to obtain a clean copy. Git has specific protections to make that a safe
operation even with an untrusted source repository, but vulnerabilities allow
those protections to be bypassed. In the context of cloning local repositories
owned by other users, this vulnerability has been covered in CVE-2024-32004. But
there are circumstances where the fixes for CVE-2024-32004 are not enough: For
example, when obtaining a `.zip` file containing a full copy of a Git repository,
it should not be trusted by default to be safe, as e.g. hooks could be configured
to run within the context of that repository. The problem has been patched in
versions 2.45.1, 2.44.1, 2.43.4, 2.42.2, 2.41.1, 2.40.2, and 2.39.4. As a
workaround, avoid using Git in repositories that have been obtained via archives
from untrusted sources.

References:
https://nvd.nist.gov/vuln/detail/CVE-2024-32002
https://nvd.nist.gov/vuln/detail/CVE-2024-32004
https://nvd.nist.gov/vuln/detail/CVE-2024-32020
https://nvd.nist.gov/vuln/detail/CVE-2024-32021
https://nvd.nist.gov/vuln/detail/CVE-2024-32465

(From OE-Core rev: 209c41377abf6853455b00af3923f1b244a3766b)

Signed-off-by: Soumya Sambu <soumya.sambu@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-06-01 19:07:52 -07:00
Soumya Sambu
ec87d3ca28 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.

CVE-2024-28085-0005 is the CVE fix and CVE-2024-28085-0001,
CVE-2024-28085-0002, CVE-2024-28085-0003, CVE-2024-28085-0004
are dependent commits to fix the CVE.

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

(From OE-Core rev: 28d9f948536dfee2330e4cfd225c932d20d688f1)

Signed-off-by: Soumya Sambu <soumya.sambu@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-06-01 19:07:52 -07:00
Archana Polampalli
b0b5da10e1 ghostscript: fix CVE-2023-52722
(From OE-Core rev: 66228a9e8177e70a5653b61742836a3ad83e78af)

Signed-off-by: Archana Polampalli <archana.polampalli@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-06-01 19:07:52 -07:00
Archana Polampalli
2db6158ba5 ghostscript: fix CVE-2024-29510
(From OE-Core rev: 18e03cadcad0b416ef9fe65627e2e5c2924e3f26)

Signed-off-by: Archana Polampalli <archana.polampalli@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-06-01 19:07:52 -07:00
Archana Polampalli
c44a4b4958 ghostscript: fix CVE-2024-33871
Added dependent patch [1] for backporting this CVE

[1] 8b47f269b8

(From OE-Core rev: edcaa55aa53d51528ae77d1f4b544309c8e1e48e)

Signed-off-by: Archana Polampalli <archana.polampalli@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-06-01 19:07:52 -07:00
Archana Polampalli
acf74d7113 ghostscript: fix CVE-2024-33869
(From OE-Core rev: fb0271a2d4e847764816b673aa37ea03ee4b3325)

Signed-off-by: Archana Polampalli <archana.polampalli@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-06-01 19:07:52 -07:00
Archana Polampalli
f60be736e6 ghostscript: fix CVE-2024-33870
(From OE-Core rev: 9f0c63b568312da93daeb31eeb2874b98d1e3eea)

Signed-off-by: Archana Polampalli <archana.polampalli@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-06-01 19:07:52 -07:00
Colin McAllister
db3cb6f113 initscripts: Add custom mount args for /var/lib
Adds bitbake variable to set additional mount flags for the /var/lib
overlayfs or bind mount when using a read-only root filesystem. This
can be used to set additional options like "-o nodev".

(From OE-Core rev: c3109e40e2c2c881996dd3fcc95fca74f098646d)

(From OE-Core rev: e0a1ed7aa1f2b12d985414db9a75d6e151ae8d21)

Signed-off-by: Colin McAllister <colin.mcallister@garmin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-05-29 05:24:08 -07:00
Bob Henz
95d2f8cf15 systemd-systemctl: Fix WantedBy processing
An empty string assignment to WantedBy should clear all prior WantedBy
settings. This matches behavior of the current systemd implementation.

(From OE-Core rev: 8ede0083c28fadf1e83c9256618190b931edd306)

(From OE-Core rev: 9e3a2e143ef2aaab335439ddbe1ab976aeeed35d)

Signed-off-by: Bob Henz <robert_henz@jabil.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit c653bfc68b)
Signed-off-by: Ranjitsinh Rathod <ranjitsinh.rathod@kpit.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-05-29 05:24:08 -07:00
Stefan Herbrechtsmeier
96242e3146 classes: go-mod: do not pack go mod cache
Clean go module cache from builddir to prevent it of beeing packed.

(From OE-Core rev: c850931590ff22da4d38756f957b88e04078c76c)

Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
Signed-off-by: Lukas Funke <lukas.funke@weidmueller.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 328bea56dec8f83b5c118f567e122510f9243087)
Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-05-29 05:24:08 -07:00
Dmitry Baryshkov
6ae41f83ca go.bbclass: fix path to linker in native Go builds
Building native Go tools results in the tool pointing to the wrong
location of dynamic linker (see below). The linker is looked up in the
temporary dir, which can be removed if rm_work is inherited. This
results in being unable to execute the program with the 'No such file or
directory' error. Override linker specificiation for native recipes (and
let Go build environment to pick up a correct one on it's own).

The error is observed in case the distro doesn't use uninative.bbclass.

If uninative.bbclass is used, the binary will be patched automatically
to use the uninative loader instead of the system one.

Without this patch:

$ ldd tmp-rpb-glibc/sysroots-components/x86_64/go-md2man-native/usr/bin/go-md2man
	linux-vdso.so.1 (0x00007ffe945ec000)
	libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f3a7490e000)
	/home/lumag/Projects/RPB/build-rpb/tmp-rpb-glibc/work/x86_64-linux/go-md2man-native/1.0.10+gitAUTOINC+f79a8a8ca6-r0/recipe-sysroot-native/usr/lib/ld-linux-x86-64.so.2 => /lib64/ld-linux-x86-64.so.2 (0x00007f3a74d13000)
$ tmp-rpb-glibc/sysroots-components/x86_64/go-md2man-native/usr/bin/go-md2man  --help
-bash: tmp-rpb-glibc/sysroots-components/x86_64/go-md2man-native/usr/bin/go-md2man: No such file or directory

With the patch

$ ldd tmp-rpb-glibc/sysroots-components/x86_64/go-md2man-native/usr/bin/go-md2man
	linux-vdso.so.1 (0x00007ffd19dbf000)
	libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f2d44181000)
	/lib64/ld-linux-x86-64.so.2 (0x00007f2d44586000)
$ tmp-rpb-glibc/sysroots-components/x86_64/go-md2man-native/usr/bin/go-md2man  --help
Usage of tmp-rpb-glibc/sysroots-components/x86_64/go-md2man-native/usr/bin/go-md2man:
  -in string
	Path to file to be processed (default: stdin)
  -out string
	Path to output processed file (default: stdout)

(From OE-Core rev: b611c77e4883ad81a8f40cbee3fea006500735ed)

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 44b397daa68b4d0a461225fe9ff7db8b5fcfdb7b)
Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-05-29 05:24:08 -07:00
Joerg Vehlow
04b2e68c4f go: Always pass interpreter to linker
When gos internal linker is used, it uses hardcoded paths to the
interpreter (dynamic linker). For x86_64 this hardcoded path is
/lib64/ld-linux-x86-64.so.2, but yocto's default dynamic linker path
is /lib64/ld-linux-x86-64.so.2.
Most of the time, the internal linker is not used and binutils linker
sets the correct path, but sometimes the internal linker is used and
the resulting binary will not work on x86_64.

To ensure the path is always correct, pass  it to the linker.

(From OE-Core rev: 69128ca66991b13358f2552fcd5a7cfa6dda4952)

Signed-off-by: Joerg Vehlow <joerg.vehlow@aox.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 6b54215074d7f3dbba07f096f16b9c0acf51527c)
Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-05-29 05:24:08 -07:00
Vijay Anusuri
8d93dec85f binutils: Rename CVE-2022-38126 patch to CVE-2022-35205
CVE-2022-38126 has been marked "REJECT" in the CVE List by NVD.

Reference: https://nvd.nist.gov/vuln/detail/CVE-2022-38126

As commit changes in 0016-CVE-2022-38126.patch fixes CVE-2022-35205.
Hence renamed the patch.

Link: https://ubuntu.com/security/CVE-2022-35205

(From OE-Core rev: d91af23e4fef0f1999c18fc3a43085b70e98dfd5)

Signed-off-by: Vijay Anusuri <vanusuri@mvista.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-05-29 05:24:08 -07:00
Peter Marko
22e55c047c openssl: patch CVE-2024-4603
Advisory: https://github.com/advisories/GHSA-85xr-ghj6-6m46

(From OE-Core rev: 601b81350c0f8487439885a576c4d7d883619a6d)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-05-29 05:24:08 -07:00
Yogita Urade
6d2a4fcdba libarchive: fix CVE-2024-26256
libarchive Remote Code Execution Vulnerability

References:
https://nvd.nist.gov/vuln/detail/CVE-2024-26256
https://bugzilla.suse.com/show_bug.cgi?id=CVE-2024-26256

(From OE-Core rev: 1ee5ba41cab2ce490fa0ddf67b83f57af1206c35)

Signed-off-by: Yogita Urade <yogita.urade@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-05-29 05:24:08 -07:00
Richard Purdie
2af7a635be 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: 5a90927f31c4f9fccbe5d9d07d08e6e69485baa8)

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 05:24:08 -07:00
Bhabu Bindu
e575d02196 libpciaccess: Remove duplicated license entry
Remove duplicated MIT license entry for libpciaccess

Duplication was done as part of below commit:

Link: https://git.yoctoproject.org/poky/commit/meta/recipes-graphics/xorg-lib/libpciaccess_0.16.bb?h=kirkstone&id=b0130fcf91daee0d905af755302fabe608da141c

(From OE-Core rev: f85d5dfc91d536a00669ca3148d8c3b2727b183d)

Signed-off-by: Bhabu Bindu <bhabu.bindu@kpit.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-05-16 05:22:09 -07:00
Peter Marko
3b038cab56 glibc: Update to latest on stable 2.35 branch
Adresses CVEs: CVE-2024-33599, CVE-2024-33600, CVE-2024-33601, CVE-2024-33602

Changes:
54a666dc5c elf: Disable some subtests of ifuncmain1, ifuncmain5 for !PIE
3a38600cc7 malloc: Exit early on test failure in tst-realloc
924a98402a nscd: Use time_t for return type of addgetnetgrentX
396f065496 login: structs utmp, utmpx, lastlog _TIME_BITS independence (bug 30701)
77d8f49058 login: Check default sizes of structs utmp, utmpx, lastlog
8e7f0eba01 sparc: Remove 64 bit check on sparc32 wordsize (BZ 27574)
55771aba9d elf: Also compile dl-misc.os with $(rtld-early-cflags)
7a5864cac6 CVE-2024-33601, CVE-2024-33602: nscd: netgroup: Use two buffers in addgetnetgrentX (bug 31680)
bafadc589f CVE-2024-33600: nscd: Avoid null pointer crashes after notfound response (bug 31678)
4370bef52b CVE-2024-33600: nscd: Do not send missing not-found response in addgetnetgrentX (bug 31678)
7a95873543 CVE-2024-33599: nscd: Stack-based buffer overflow in netgroup cache (bug 31677)

Since glibc introduced file sysdeps/arm/bits/wordsize.h
our multilib patch needed to be updated.

(From OE-Core rev: 10b57ae56e6205414a44531728f691fda59a16c7)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-05-16 05:22:09 -07:00
Vijay Anusuri
bb39884146 gstreamer1.0-plugins-bad: fix CVE-2023-50186
Upstream-Status: Backport
[a46737a731]

(From OE-Core rev: ce2d6ba5d69867471919fe698467e243d5f0e73c)

Signed-off-by: Vijay Anusuri <vanusuri@mvista.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-05-16 05:22:09 -07:00
Vijay Anusuri
688f3725d2 bluez5: Fix CVE-2023-27349 CVE-2023-50229 & CVE-2023-50230
Upstream-Status: Backport
[f54299a850
&
5ab5352531]

(From OE-Core rev: adaebd54ea6f53bfbc093c3bdac4f02b0975cb15)

Signed-off-by: Vijay Anusuri <vanusuri@mvista.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-05-16 05:22:09 -07:00
Archana Polampalli
0eea8a2194 xserver-xorg: fix CVE-2024-31083
FreeGlyph() function declared in render/glyphstr_priv.h, it is not present in
current recipe version and introduced in later versions, added this change to
render/glyphstr.h

(From OE-Core rev: cc2d9275203ad9489da43ff4e1f0983c00f235fd)

Signed-off-by: Archana Polampalli <archana.polampalli@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-05-16 05:22:09 -07:00
Archana Polampalli
e0fdd6f40a xserver-xorg: fix CVE-2024-31082
(From OE-Core rev: 32fc43f0c3c5481b2c38c2136706758dba054b6e)

Signed-off-by: Archana Polampalli <archana.polampalli@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-05-16 05:22:09 -07:00
Michael Opdenacker
445c60a484 ref-manual: update releases.svg
- Make Scarthgap a current release
- Add Styhead

(From yocto-docs rev: 78b8d5b18274a41ffec43ca4e136abc717585f6d)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-05-15 09:44:17 -07:00
Lee Chee Yang
9a7f9a95ca migration-notes: add release notes for 4.0.18
add release notes for 4.0.18 (rc1).

(From yocto-docs rev: 59ef7dc0f3b6636fbc98c0d232fe8879efc325c6)

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-15 09:44:16 -07:00
Alexander Kanavin
6169212f74 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: 41db85d4d429f06548e14617e05d045958e8566d)

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-15 09:44:16 -07:00
Michael Opdenacker
5c841acbab documentation: standards.md: align with master branch
(From yocto-docs rev: ecc1731d6bd2f3bce40010bbfa3b608dcf25dd04)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-05-15 09:44:16 -07:00
Paul Eggleton
8e81c67e12 dev-manual: update custom distribution section
In keeping with the addition of the motd message pointing out that
the poky DISTRO is a reference distribution, adjust the opening of the
Creating Your Own Distribution section to match. Additionally, add a
section on the end pointing out what users need to consider if they just
take a copy of the poky distribution and modify it.

(From yocto-docs rev: 30bdf5a101466acdf63027bbdfb69ee18ed707ab)

Signed-off-by: Paul Eggleton <paul.eggleton@microsoft.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-05-15 09:44:16 -07:00
Geoff Parker
5479d5c70a ref-manual: variables: Update default INHERIT_DISTRO value
Add remove-libtool to INHERIT_DISTRO defaults per
meta/conf/distro/defaultsetup.conf

(From yocto-docs rev: 94646665637d30d700e78598e0955815572c466c)

Signed-off-by: Geoff Parker <geoffrey.parker@arthrex.com>
Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-05-15 09:44:16 -07:00
Poonam Jadhav
b049cef243 ppp: Add RSA-MD in LICENSE
ppp package has "RSA Data Security" license text
in Message-Digest Algorithm source file md5.c and md4.c
Add RSA-MD in LICENSE field for ppp package

(From OE-Core rev: 24fd9b6756728a0337100f53a1c6e92aba092f9d)

Signed-off-by: Poonam Jadhav <poonam.jadhav@kpit.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-05-15 09:44:16 -07:00
Peter Marko
894f506635 libarchive: fix multiple security vulnerabilities in pax writer
There was no CVE assigned but the commit message is clear.

(From OE-Core rev: 3743a82162546eceb8d54b240dc70c521c53bed8)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-05-15 09:44:16 -07:00
Heiko
6024b7be01 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: 4e4681b26e0d88ad219d72b75e598e6b81b430fc)

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-05-15 09:44:16 -07:00
Bruce Ashfield
59d099b690 linux-yocto/5.15: cfg: remove obselete CONFIG_NFSD_V3 option
Integrating the following commit(s) to linux-yocto/.:

1/1 [
    Author: Bruce Ashfield
    Email: bruce.ashfield@gmail.com
    Subject: nfsd: drop CONFIG_NFSD_V3
    Date: Tue, 2 Aug 2022 10:52:25 -0400

      commit 5f9a62ff7d2808c7b56c0ec90f3b7eae5872afe6
      Author: Chuck Lever <chuck.lever@oracle.com>
      Date:   Sun Feb 6 12:25:47 2022 -0500

        NFSD: Remove CONFIG_NFSD_V3

        Eventually support for NFSv2 in the Linux NFS server is to be
        deprecated and then removed.

        However, NFSv2 is the "always supported" version that is available
        as soon as CONFIG_NFSD is set.  Before NFSv2 support can be removed,
        we need to choose a different "always supported" version.

        This patch removes CONFIG_NFSD_V3 so that NFSv3 is always supported,
        as NFSv2 is today. When NFSv2 support is removed, NFSv3 will become
        the only "always supported" NFS version.

        The defconfigs still need to be updated to remove CONFIG_NFSD_V3=y.

        Signed-off-by: Chuck Lever <chuck.lever@oracle.com>

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

(From OE-Core rev: dcbca1aedd9b41e78e00d6b763b2e99886be0780)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-05-15 09:44:16 -07:00
Bruce Ashfield
e44b0a798e linux-yocto/5.15: update CVE exclusions (5.15.157)
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: 22c349296ebfa66b5ce2b189d4b72741c193d914)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-05-15 09:44:16 -07:00
Bruce Ashfield
de2e7f617e linux-yocto/5.15: update to v5.15.157
Updating linux-yocto/5.15 to the latest korg -stable release that comprises
the following commits:

    b925f60c6ee7 Linux 5.15.157
    d564809f27ea net: dsa: mt7530: fix enabling EEE on MT7531 switch on all boards
    eb6535c6f7c2 net: dsa: mt7530: fix improper frames on all 25MHz and 40MHz XTAL MT7530
    63ba7a80d6e2 net: dsa: introduce preferred_default_local_cpu_port and use on MT7530
    84b7f50e631a net: dsa: mt7530: set all CPU ports in MT7531_CPU_PMAP
    bdbe483da21f nilfs2: fix OOB in nilfs_set_de_type
    3ab056814cd8 nouveau: fix instmem race condition around ptr stores
    49c9958cf0a2 drm/vmwgfx: Sort primary plane formats by order of preference
    8b12fc7b0326 drm/amdgpu: validate the parameters of bo mapping operations more clearly
    a2fd6dbc98be binder: check offset alignment in binder_get_object()
    0dc727a4e054 init/main.c: Fix potential static_command_line memory overflow
    813f5213f2c6 arm64: hibernate: Fix level3 translation fault in swsusp_save()
    f5a55db79bf7 KVM: x86/pmu: Do not mask LVTPC when handling a PMI on AMD platforms
    7169354120d8 KVM: x86: Snapshot if a vCPU's vendor model is AMD vs. Intel compatible
    43f00210cb25 fs: sysfs: Fix reference leak in sysfs_break_active_protection()
    0d130158db29 speakup: Avoid crash on very long word
    d8a2225f7dfa mei: me: disable RPL-S on SPS and IGN firmwares
    7f67c2020cb0 usb: gadget: f_ncm: Fix UAF ncm object at re-bind after usb ep transport error
    75ceeadfab1c usb: Disable USB3 LPM at shutdown
    8aa5c28ac65c usb: dwc2: host: Fix dereference issue in DDMA completion flow.
    7182175f565f Revert "usb: cdc-wdm: close race between read and workqueue"
    def039849617 USB: serial: option: add Telit FN920C04 rmnet compositions
    cd27cf1ec66d USB: serial: option: add Rolling RW101-GL and RW135-GL support
    c48d624bbbad USB: serial: option: support Quectel EM060K sub-models
    3338a967ca08 USB: serial: option: add Lonsung U8300/U9300 product
    e94566d88701 USB: serial: option: add support for Fibocom FM650/FG650
    6b5043463619 USB: serial: option: add Fibocom FM135-GL variants
    7a3bbe41efa5 serial/pmac_zilog: Remove flawed mitigation for rx irq flood
    b0b268eeb087 comedi: vmk80xx: fix incomplete endpoint checking
    e39fae579d17 thunderbolt: Fix wake configurations after device unplug
    62e0a5d4d4de thunderbolt: Avoid notify PM core about runtime PM resume
    4291a6233ba8 x86/cpufeatures: Fix dependencies for GFNI, VAES, and VPCLMULQDQ
    0be237b6b753 x86/bugs: Fix BHI retpoline check
    a29ec0465dce clk: Get runtime PM before walking tree during disable_unused
    db7c0ef4afea clk: Initialize struct clk_core kref earlier
    bc6d766991e1 clk: Print an info line before disabling unused clocks
    f3d89bc7dd65 clk: remove extra empty line
    bdd70c8b02e7 clk: Mark 'all_lists' as const
    3254a1f27952 clk: Remove prepare_lock hold assertion in __clk_release()
    ce77f3beed02 drm/panel: visionox-rm69299: don't unregister DSI device
    df0991da7db8 drm: nv04: Fix out of bounds access
    3076b3c38a70 s390/cio: fix race condition during online processing
    498f7b8037da s390/qdio: handle deferred cc1
    45d70025006c RDMA/mlx5: Fix port number for counter query in multi-port configuration
    8261489de3af RDMA/cm: Print the old state when cm_destroy_id gets timeout
    2973b4a5eae7 RDMA/rxe: Fix the problem "mutex_destroy missing"
    831157756e3c net: ethernet: ti: am65-cpsw-nuss: cleanup DMA Channels before using them
    9495b7a412e3 net: dsa: mt7530: fix mirroring frames received on local port
    a50dbeca28ac tun: limit printing rate when illegal packet received by tun dev
    ae3f9e1221b3 af_unix: Don't peek OOB data without MSG_OOB.
    1738dfe72c52 af_unix: Call manage_oob() for every skb in unix_stream_read_generic().
    e719b52d0c56 netfilter: flowtable: incorrect pppoe tuple
    d06977b9a410 netfilter: flowtable: validate pppoe header
    5345d78ae64d netfilter: nf_flow_table: count pending offload workqueue tasks
    7a1679e2d9bf netfilter: nft_set_pipapo: do not free live element
    dceb683ab87c netfilter: br_netfilter: skip conntrack input hook for promisc packets
    379bf7257bc5 netfilter: nf_tables: Fix potential data-race in __nft_obj_type_get()
    0b6de00206ad netfilter: nf_tables: Fix potential data-race in __nft_expr_type_get()
    fc1021337e59 Revert "lockd: introduce safe async lock op"
    2a3073d58382 Revert "tracing/trigger: Fix to return error if failed to alloc snapshot"
    2df2dd27066c kprobes: Fix possible use-after-free issue on kprobe registration
    1253e34a548f bpf: Fix ringbuf memory type confusion when passing to helpers
    cc9ac419351b bpf: Fix out of bounds access for ringbuf helpers
    adc2d11b86ea bpf: Generally fix helper register offset check
    0c261cbc29a6 bpf: Generalize check_ctx_reg for reuse with other types
    1b661661642d bpf: Extend kfunc with PTR_TO_CTX, PTR_TO_MEM argument support
    621bbe924c68 selftests/ftrace: Limit length in subsystem-enable tests
    edfaf679b7c3 SUNRPC: Fix rpcgss_context trace event acceptor field
    2364d0278fe1 btrfs: record delayed inode root in transaction
    747228929b32 ksmbd: do not set SMB2_GLOBAL_CAP_ENCRYPTION for SMB 3.1.1
    88b7f1143b15 ksmbd: validate payload size in ipc response
    044b3d6c94c6 ksmbd: don't send oplock break if rename fails
    b8086c3c1548 reiserfs: Avoid touching renamed directory if parent does not change
    ea091017ef62 ipv6: Fix data races around sk->sk_prot.
    ff8710da80ee ipv6: annotate some data-races around sk->sk_prot
    e8c2eafaaa6a tcp: Fix data races around icsk->icsk_af_ops.
    8d1bab770956 locking/rwsem: Disable preemption while trying for rwsem lock
    7c82dac02886 block, loop: support partitions without scanning
    45f504f301d4 bpftool: Fix pretty print dump for maps without BTF loaded
    1f24338cb789 jbd2: Drop the merge conflicted hunk
    e1d0e3c51bde tpm: tis_i2c: Limit write bursts to I2C_SMBUS_BLOCK_MAX (32) bytes
    1abe841fe331 tpm: tis_i2c: Limit read bursts to I2C_SMBUS_BLOCK_MAX (32) bytes
    6224acfc1d56 tpm: Add flag to use default cancellation policy
    1cd19d48fb90 tpm: tis_i2c: Fix sanity check interrupt enable mask
    a883da132fa8 tpm: Add tpm_tis_i2c backend for tpm_tis_core
    a742ac8a1c51 tpm: Add tpm_tis_verify_crc to the tpm_tis_phy_ops protocol layer
    ef495c5f45f2 tpm: Remove read16/read32/write32 calls from tpm_tis_phy_ops
    1f3be2e23aa6 gcc-plugins: Reorganize gimple includes for GCC 13
    24615a3b932a ata: ahci: fix enum constants for gcc-13
    5d6cb145541a net: stmmac: Enable mac_managed_pm phylink config
    fd93aabb4287 tools/resolve_btfids: Use pkg-config to locate libelf
    130f9da78406 tools/resolve_btfids: Build with host flags
    00f2f1a782f9 tools/resolve_btfids: Support cross-building the kernel with clang
    17776a4ba9c2 tools/resolve_btfids: Install libbpf headers when building
    7c9808380d70 libbpf: Make libbpf_version.h non-auto-generated
    37ae1ba791ac libbpf: Add LIBBPF_DEPRECATED_SINCE macro for scheduling API deprecations
    a2667e6d7314 drm/radeon: free iio for atombios when driver shutdown
    f100c753aa1f powerpc: Fix reschedule bug in KUAP-unlocked user copy
    da5513f30187 libbpf: Fix build warning on ref_ctr_off
    4c5a089621a8 perf python: Account for multiple words in CC
    1c5699ee85d4 fs: move S_ISGID stripping into the vfs_*() helpers
    838f5d0701d8 fs: add mode_strip_sgid() helper
    d97172683641 squashfs: provide backing_dev_info in order to disable read-ahead
    ed037d7be40c irq_work: use kasan_record_aux_stack_noalloc() record callstack
    1363bd7dbde3 ixgbevf: add disable link state
    e5601ae2bd24 ixgbe: add improvement for MDD response functionality
    caa57cd80575 ixgbe: add the ability for the PF to disable VF link state
    16a77bfcc7df Check /dev/console using init_stat()
    04574fd5579a tracing/arm: Have max stack tracer handle the case of return address after data
    0e51e5717018 gpiolib: cdev: Set lineevent_state::irq after IRQ register successfully
    1e6b7da6ddba drivers/base: Fix unsigned comparison to -1 in CPUMAP_FILE_MAX_BYTES
    493160901320 mtd_blkdevs: add mtd_table_mutex lock back to blktrans_{open, release} to avoid race condition
    04224f725aa3 irqchip/gic-v3-its: Skip HP notifier when no ITS is registered
    6f6c2996a81c irqchip/gic-v3-its: Postpone LPI pending table freeing and memreserve
    1fa94473423f irqchip/gic-v3-its: Give the percpu rdist struct its own flags field
    6013d1ae5feb cert host tools: Stop complaining about deprecated OpenSSL functions
    efe20512212b init/Kconfig: fix CC_HAS_ASM_GOTO_TIED_OUTPUT test with dash
    a40d2daf2795 pnmtologo: use relocatable file name
    3b40d5b41155 of: configfs: remove unused variable overlay_lock
    6c085baf1838 tools: use basename to identify file in gen-mach-types
    2fca0fd71981 lib/build_OID_registry: fix reproducibility issues
    0f586f4ee8ad vt/conmakehash: improve reproducibility
    a75774679f28 OF: DT-Overlay configfs interface (v8)
    d179c639b30b x86/boot: Wrap literal addresses in absolute_pointer()
    856ec356cf91 ACPI: thermal: drop an always true check
    7614af249993 xfs: Fix -Werror=dangling-pointer work-around for older GCC
    41470215f97e xfs: Work around GCC 12 -Werror=dangling-pointer for xfs_attr_remote.o
    44a445c1922d virtio-pci: Remove wrong address verification in vp_del_vqs()
    77aa9e489eaf bpf: Disallow unprivileged bpf by default
    ebfb1822e9f9 fs/aufs: fixup 5.15.36 fixups
    4eba9348d3e2 Revert "Revert "fbdev: Hot-unplug firmware fb devices on forced removal""
    5df6d1b00f95 jbd2: fix use-after-free of transaction_t race
    2d83e8196487 jbd2: refactor wait logic for transaction updates into a common function
    07a63f760793 netfilter: conntrack: avoid useless indirection during conntrack destruction
    4e7122625996 Revert "fbdev: Hot-unplug firmware fb devices on forced removal"
    7ba4cb36fd4f rcu: Avoid alloc_pages() when recording stack
    f78574dee71e kasan: test: silence intentional read overflow warnings
    d313cb89b6b1 kasan: arm64: fix pcpu_page_first_chunk crash with KASAN_VMALLOC
    5e279d5647cc arm64: support page mapping percpu first chunk allocator
    e5bf16752dca vmalloc: choose a better start address in vm_area_register_early()
    660b3d21b46f kasan: test: bypass __alloc_size checks
    00aa7573e53a kasan: test: add memcpy test that avoids out-of-bounds write
    67becf0b1bd4 kasan: fix tag for large allocations when using CONFIG_SLAB
    bedf1e033213 workqueue, kasan: avoid alloc_pages() when recording stack
    7195b67ce69b kasan: generic: introduce kasan_record_aux_stack_noalloc()
    bdff763f0e29 kasan: common: provide can_alloc in kasan_save_stack()
    51423ebb36ad lib/stackdepot: introduce __stack_depot_save()
    85373e66d847 lib/stackdepot: remove unused function argument
    5b6cc9b251f3 lib/stackdepot: include gfp.h
    c9f3902d8069 aufs: reduce overhead for "code present but disabled" use case.
    b98d189df02c aufs: bugfix, umount passes NULL to ->parse_monolithic()
    13b883cbbbd9 aufs standalone: cosmetic, missing copyright sentence
    21f8b0d81898 aufs: 5.15.5-20220117 ---> 5.15.5-20220221
    6199fd896645 aufs: tiny, headers after fs_context
    8ddb40e31c29 aufs: fs_context 7/7, finally remount
    69035f71c6fd aufs: fs_context 6/7, now mount
    bc841b970697 aufs: fs_context 5/7, parse all other mount options
    435188053da2 aufs: fs_context 4/7, parse xino options
    9af1f1825cbd aufs: fs_context 3/7, parse the branch-management options
    1c05eb767f8c aufs: fs_context 2/7, parse "br" mount option
    a8488f603134 aufs: fs_context 1/7, skelton of the new shceme
    8e32e0015564 aufs: pre fs_context, convert a static flag to a macro
    f90cb4144aec aufs: pre fs_context, support the incomplete sb and sbinfo case
    948762ef859c aufs: pre fs_context, convert the type of alloc_sbinfo()
    77151a08776b aufs: 5.15.5-20211129 ---> 5.15.5-20220117
    2539adbbbe1e aufs: 5.14-20211018 ---> 5.15.5-20211129
    7d32b25193c4 aufs: for v5.15-rc1, sync_inode() is gone
    66ec0c509225 aufs: for v5.15-rc1, new param 'rcu' for ->get_acl()
    69709dc518cd aufs: for v5.15-rc1, no mand-lock anymore
    ada8fe9543e5 aufs: 5.14-20210906  ---> 5.14-20211018
    b77f7f3f394a Revert "aufs: adjust to v5.15 fs changes"
    81bdce5b5876 tick/nohz: WARN_ON --> WARN_ON_ONCE to prevent console saturation
    97c963889222 sched/isolation: really align nohz_full with rcu_nocbs
    871f23ad3627 Revert "ARM: defconfig: Enable ax88796c driver for Exynos boards"
    ffad0783dd5b ARM: config: multi v7: Regenerate defconifg
    5c1e1a1ff2d3 ARM: config: multi v7: Add renamed symbols
    badaf96564fe ARM: config: multi v7: Clean up enabled by default options
    34996040fc9b ARM: config: multi v7: Drop unavailable options
    7f685244afb3 powerpc/mm: Switch obsolete dssall to .long
    20301aeb1a64 riscv: fix build with binutils 2.38
    9df58d070506 powerpc/lib/sstep: fix 'ptesync' build error
    720b61fc400b x86_64_defconfig: Fix warnings
    02bf23d26bc4 arm64: defconfig: cleanup config options
    05914e2c87e5 arm: defconfig: drop unused POWER_AVS option
    ffb532fa19b9 aufs5: fix build against v5.15.3+
    a4b3abf4d96d qemux86: add configuration symbol to select values
    fee94ee09154 clear_warn_once: add a clear_warn_once= boot parameter
    3d8762d900d9 clear_warn_once: bind a timer to written reset value
    95faacac47e8 clear_warn_once: expand debugfs to include read support
    de20c4240018 perf: perf can not parser the backtrace of app in the 32bit system and 64bit kernel.
    0e4aacead9c1 perf: x86-32: explicitly include <errno.h>
    9ad92c11468e perf: mips64: Convert __u64 to unsigned long long
    09e7efe3e68a perf: fix bench numa compilation
    e79becc44fa6 perf: add SLANG_INC for slang.h
    b1033b588681 perf: add sgidefs.h to for mips builds
    cf9db484ac0b perf: change --root to --prefix for python install
    7fd052c2c562 perf: add 'libperl not found' warning
    27a437cdd469 perf: force include of <stdbool.h>
    3b99d21bec2f fat: don't use obsolete random32 call in namei_vfat
    a7e9293b506b FAT: Added FAT_NO_83NAME
    6fd0e71d9e5c FAT: Add CONFIG_VFAT_NO_CREATE_WITH_LONGNAMES option
    c379b0d324ae FAT: Add CONFIG_VFAT_FS_NO_DUALNAMES option
    538be0fdb124 aufs: adjust to v5.15 fs changes
    f45da75c8759 aufs5: core
    047f57e07e01 aufs5: standalone
    029fc15574c8 aufs5: mmap
    610d0192ee94 aufs5: base
    d4e428d0ec5f aufs5: kbuild
    eb067eca251a yaffs: replace IS_ERR with IS_ERR_OR_NULL to check both ERR and NULL
    286af18d0875 yaffs: fix -Wstringop-overread compile warning in yaffs_fix_null_name
    24d59a4e26a6 yaffs2: v5.12+ build fixups (not runtime tested)
    22c73536d5d7 yaffs: include blkdev.h
    506b7251bfb8 yaffs: fix misplaced variable declaration
    a0e26ff364dc yaffs2: v5.6 build fixups
    b10b1b2d169e yaffs2: fix memory leak when /proc/yaffs is read
    ad9adccbb214 yaffs: add strict check when call yaffs_internal_read_super
    2e3c3aec8279 yaffs: repair yaffs_get_mtd_device
    d662538516a7 yaffs: Fix build failure by handling inode i_version with proper atomic API
    70a6113ee2c7 yaffs2: fix memory leak in mount/umount
    3378e4a9e404 yaffs: Avoid setting any ACL releated xattr
    ec2284edddef Yaffs:check oob size before auto selecting Yaffs1
    c2a49874051c fs: yaffs2: replace CURRENT_TIME by other appropriate apis
    e9a5105a3e73 yaffs2: adjust to proper location of MS_RDONLY
    608807406f13 yaffs2: import git revision b4ce1bb (jan, 2020)
    89e660ece42c initramfs: allow an optional wrapper script around initramfs generation
    b179dbc9aa10 iwlwifi: select MAC80211_LEDS conditionally
    3fd5ca3673d0 net/dccp: make it depend on CONFIG_BROKEN (CVE-2020-16119)
    d1f6edbf0188 arm64/perf: Fix wrong cast that may cause wrong truncation
    d202fb2caf33 defconfigs: drop obselete options
    9a27e3b5f4e7 arm64/perf: fix backtrace for AAPCS with FP enabled
    e20d8cf019b4 linux-yocto: Handle /bin/awk issues
    b6d2a3dbbd3a uvesafb: provide option to specify timeout for task completion
    adb40f1e6a1a uvesafb: print error message when task timeout occurs
    f280a1ed0962 compiler.h: Undef before redefining __attribute_const__
    4352732f268c vmware: include jiffies.h
    7954a677968d Resolve jiffies wrapping about arp
    5f28a1035d95 nfs: Allow default io size to be configured.
    0d7260ad7106 check console device file on fs when booting
    900a12e37e0a mount_root: clarify error messages for when no rootfs found
    7b878cbea726 menuconfig,mconf-cfg: Allow specification of ncurses location
    6604fc1763b3 modpost: mask trivial warnings
    0d294adb09cb kbuild: exclude meta directory from distclean processing
    a097cdd95a9e powerpc: serialize image targets
    5db6ec39a0a3 arm: serialize build targets
    cbabca27905e crtsavres: fixups for 5.4+
    7fc7656ed403 powerpc/ptrace: Disable array-bounds warning with gcc8
    a5faac5a19a2 powerpc: Disable attribute-alias warnings from gcc8
    186c54665b67 powerpc: add crtsavres.o to archprepare for kbuild
    d1ea862964ca powerpc: kexec fix for powerpc64
    2ac35b89a0f9 powerpc: Add unwind information for SPE registers of E500 core
    2e1c348a28bb mips: vdso: fix 'jalr $t9' crash in vdso code
    ec57870b303a mips: Kconfig: add QEMUMIPS64 option
    6a81b3c08107 4kc cache tlb hazard: tlbp cache coherency
    74e3b2a21e54 malta uhci quirks: make allowance for slow 4k(e)c
    22e65b63d3b4 arm/Makefile: Fix systemtap
    b7f1ab59f19e vexpress: Pass LOADADDR to Makefile
    ce2800c73bf7 arm: ARM EABI socketcall
    019d142fd956 ARM: LPAE: Invalidate the TLB for module addresses during translation fault

(From OE-Core rev: 9c5ac2918753d3630dcd32673bee8ce72e8fe856)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-05-15 09:44:15 -07:00
Bruce Ashfield
c24960e133 linux-yocto/5.15: update CVE exclusions (5.15.156)
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: 239e0631d9d38a3a1e444f0691b1a4f6b5796140)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-05-15 09:44:15 -07:00
Bruce Ashfield
affef9de9f linux-yocto/5.15: update to v5.15.156
Updating linux-yocto/5.15 to the latest korg -stable release that comprises
the following commits:

    b8086c3c1548 reiserfs: Avoid touching renamed directory if parent does not change
    ea091017ef62 ipv6: Fix data races around sk->sk_prot.
    ff8710da80ee ipv6: annotate some data-races around sk->sk_prot
    e8c2eafaaa6a tcp: Fix data races around icsk->icsk_af_ops.
    c52b9710c83d Linux 5.15.156
    88168b947c34 drm/i915/cdclk: Fix CDCLK programming order when pipes are active
    b2bf58581baa x86/bugs: Replace CONFIG_SPECTRE_BHI_{ON,OFF} with CONFIG_MITIGATION_SPECTRE_BHI
    d315f5eba585 x86/bugs: Remove CONFIG_BHI_MITIGATION_AUTO and spectre_bhi=auto
    ebba2270ab74 x86/bugs: Clarify that syscall hardening isn't a BHI mitigation
    e47d1cbde759 x86/bugs: Fix BHI handling of RRSBA
    b4f2718f3d9b x86/bugs: Rename various 'ia32_cap' variables to 'x86_arch_cap_msr'
    c768db14db8e x86/bugs: Cache the value of MSR_IA32_ARCH_CAPABILITIES
    145d9930a151 x86/bugs: Fix BHI documentation
    2c761457ef18 x86/bugs: Fix return type of spectre_bhi_state()
    c6fd0e4f0069 irqflags: Explicitly ignore lockdep_hrtimer_exit() argument
    69843741d64f x86/apic: Force native_apic_mem_read() to use the MOV instruction
    c2981e32cf46 selftests: timers: Fix abs() warning in posix_timers test
    70688450ddda x86/cpu: Actually turn off mitigations by default for SPECULATION_MITIGATIONS=n
    e8f4a290abe9 perf/x86: Fix out of range data
    acf9b01d344f vhost: Add smp_rmb() in vhost_vq_avail_empty()
    d2dc6600d4e3 drm/client: Fully protect modes[] with dev->mode_config.mutex
    773d38f42bbe btrfs: qgroup: correctly model root qgroup rsv in convert
    23b57c556609 iommu/vt-d: Allocate local memory for page request queue
    81f3ad644fbf tracing: hide unused ftrace_event_id_fops
    fdfbf54d128a net: ena: Fix incorrect descriptor free behavior
    ec25a9ce095a net: ena: Wrong missing IO completions check order
    e667a05cbb39 net: ena: Fix potential sign extension issue
    e76c2678228f af_unix: Fix garbage collector racing against connect()
    37120fa8d92a af_unix: Do not use atomic ops for unix_sk(sk)->inflight.
    22641478d80f net: dsa: mt7530: trap link-local frames regardless of ST Port State
    26515606ecb5 net: sparx5: fix wrong config being used when reconfiguring PCS
    7aaee12b804c net/mlx5: Properly link new fs rules into the tree
    97dab36e57c6 netfilter: complete validation of user input
    4b19e9507c27 ipv6: fix race condition between ipv6_get_ifaddr and ipv6_del_addr
    6179cdbfe05d ipv4/route: avoid unused-but-set-variable warning
    ed94af8d07d5 ipv6: fib: hide unused 'pn' variable
    98b3e282623f octeontx2-af: Fix NIX SQ mode and BP config
    b4bc99d04c68 af_unix: Clear stale u->oob_skb.
    3c1ae6de74e3 geneve: fix header validation in geneve[6]_xmit_skb
    f0a068de65d5 xsk: validate user input for XDP_{UMEM|COMPLETION}_FILL_RING
    a9dca26b745e u64_stats: Disable preemption on 32bit UP+SMP PREEMPT_RT during updates.
    11e04135b087 net: openvswitch: fix unwanted error log on timeout policy probing
    8c820f7c8e9b scsi: qla2xxx: Fix off by one in qla_edif_app_getstats()
    5562dbfcf59b nouveau: fix function cast warning
    8d278fc34cdd Revert "drm/qxl: simplify qxl_fence_wait"
    42beda7db44f arm64: dts: imx8-ss-conn: fix usdhc wrong lpcg clock order
    cc7b83f04b43 media: cec: core: remove length check of Timer Status
    75193678cce9 Bluetooth: Fix memory leak in hci_req_sync_complete()
    53e494b7bc43 ring-buffer: Only update pages_touched when a new page is touched
    87b6af1a7683 batman-adv: Avoid infinite loop trying to resize local TT
    8d1bab770956 locking/rwsem: Disable preemption while trying for rwsem lock
    7c82dac02886 block, loop: support partitions without scanning
    45f504f301d4 bpftool: Fix pretty print dump for maps without BTF loaded
    1f24338cb789 jbd2: Drop the merge conflicted hunk
    e1d0e3c51bde tpm: tis_i2c: Limit write bursts to I2C_SMBUS_BLOCK_MAX (32) bytes
    1abe841fe331 tpm: tis_i2c: Limit read bursts to I2C_SMBUS_BLOCK_MAX (32) bytes
    6224acfc1d56 tpm: Add flag to use default cancellation policy
    1cd19d48fb90 tpm: tis_i2c: Fix sanity check interrupt enable mask
    a883da132fa8 tpm: Add tpm_tis_i2c backend for tpm_tis_core
    a742ac8a1c51 tpm: Add tpm_tis_verify_crc to the tpm_tis_phy_ops protocol layer
    ef495c5f45f2 tpm: Remove read16/read32/write32 calls from tpm_tis_phy_ops
    1f3be2e23aa6 gcc-plugins: Reorganize gimple includes for GCC 13
    24615a3b932a ata: ahci: fix enum constants for gcc-13
    5d6cb145541a net: stmmac: Enable mac_managed_pm phylink config
    fd93aabb4287 tools/resolve_btfids: Use pkg-config to locate libelf
    130f9da78406 tools/resolve_btfids: Build with host flags
    00f2f1a782f9 tools/resolve_btfids: Support cross-building the kernel with clang
    17776a4ba9c2 tools/resolve_btfids: Install libbpf headers when building
    7c9808380d70 libbpf: Make libbpf_version.h non-auto-generated
    37ae1ba791ac libbpf: Add LIBBPF_DEPRECATED_SINCE macro for scheduling API deprecations
    a2667e6d7314 drm/radeon: free iio for atombios when driver shutdown
    f100c753aa1f powerpc: Fix reschedule bug in KUAP-unlocked user copy
    da5513f30187 libbpf: Fix build warning on ref_ctr_off
    4c5a089621a8 perf python: Account for multiple words in CC
    1c5699ee85d4 fs: move S_ISGID stripping into the vfs_*() helpers
    838f5d0701d8 fs: add mode_strip_sgid() helper
    d97172683641 squashfs: provide backing_dev_info in order to disable read-ahead
    ed037d7be40c irq_work: use kasan_record_aux_stack_noalloc() record callstack
    1363bd7dbde3 ixgbevf: add disable link state
    e5601ae2bd24 ixgbe: add improvement for MDD response functionality
    caa57cd80575 ixgbe: add the ability for the PF to disable VF link state
    16a77bfcc7df Check /dev/console using init_stat()
    04574fd5579a tracing/arm: Have max stack tracer handle the case of return address after data
    0e51e5717018 gpiolib: cdev: Set lineevent_state::irq after IRQ register successfully
    1e6b7da6ddba drivers/base: Fix unsigned comparison to -1 in CPUMAP_FILE_MAX_BYTES
    493160901320 mtd_blkdevs: add mtd_table_mutex lock back to blktrans_{open, release} to avoid race condition
    04224f725aa3 irqchip/gic-v3-its: Skip HP notifier when no ITS is registered
    6f6c2996a81c irqchip/gic-v3-its: Postpone LPI pending table freeing and memreserve
    1fa94473423f irqchip/gic-v3-its: Give the percpu rdist struct its own flags field
    6013d1ae5feb cert host tools: Stop complaining about deprecated OpenSSL functions
    efe20512212b init/Kconfig: fix CC_HAS_ASM_GOTO_TIED_OUTPUT test with dash
    a40d2daf2795 pnmtologo: use relocatable file name
    3b40d5b41155 of: configfs: remove unused variable overlay_lock
    6c085baf1838 tools: use basename to identify file in gen-mach-types
    2fca0fd71981 lib/build_OID_registry: fix reproducibility issues
    0f586f4ee8ad vt/conmakehash: improve reproducibility
    a75774679f28 OF: DT-Overlay configfs interface (v8)
    d179c639b30b x86/boot: Wrap literal addresses in absolute_pointer()
    856ec356cf91 ACPI: thermal: drop an always true check
    7614af249993 xfs: Fix -Werror=dangling-pointer work-around for older GCC
    41470215f97e xfs: Work around GCC 12 -Werror=dangling-pointer for xfs_attr_remote.o
    44a445c1922d virtio-pci: Remove wrong address verification in vp_del_vqs()
    77aa9e489eaf bpf: Disallow unprivileged bpf by default
    ebfb1822e9f9 fs/aufs: fixup 5.15.36 fixups
    4eba9348d3e2 Revert "Revert "fbdev: Hot-unplug firmware fb devices on forced removal""
    5df6d1b00f95 jbd2: fix use-after-free of transaction_t race
    2d83e8196487 jbd2: refactor wait logic for transaction updates into a common function
    07a63f760793 netfilter: conntrack: avoid useless indirection during conntrack destruction
    4e7122625996 Revert "fbdev: Hot-unplug firmware fb devices on forced removal"
    7ba4cb36fd4f rcu: Avoid alloc_pages() when recording stack
    f78574dee71e kasan: test: silence intentional read overflow warnings
    d313cb89b6b1 kasan: arm64: fix pcpu_page_first_chunk crash with KASAN_VMALLOC
    5e279d5647cc arm64: support page mapping percpu first chunk allocator
    e5bf16752dca vmalloc: choose a better start address in vm_area_register_early()
    660b3d21b46f kasan: test: bypass __alloc_size checks
    00aa7573e53a kasan: test: add memcpy test that avoids out-of-bounds write
    67becf0b1bd4 kasan: fix tag for large allocations when using CONFIG_SLAB
    bedf1e033213 workqueue, kasan: avoid alloc_pages() when recording stack
    7195b67ce69b kasan: generic: introduce kasan_record_aux_stack_noalloc()
    bdff763f0e29 kasan: common: provide can_alloc in kasan_save_stack()
    51423ebb36ad lib/stackdepot: introduce __stack_depot_save()
    85373e66d847 lib/stackdepot: remove unused function argument
    5b6cc9b251f3 lib/stackdepot: include gfp.h
    c9f3902d8069 aufs: reduce overhead for "code present but disabled" use case.
    b98d189df02c aufs: bugfix, umount passes NULL to ->parse_monolithic()
    13b883cbbbd9 aufs standalone: cosmetic, missing copyright sentence
    21f8b0d81898 aufs: 5.15.5-20220117 ---> 5.15.5-20220221
    6199fd896645 aufs: tiny, headers after fs_context
    8ddb40e31c29 aufs: fs_context 7/7, finally remount
    69035f71c6fd aufs: fs_context 6/7, now mount
    bc841b970697 aufs: fs_context 5/7, parse all other mount options
    435188053da2 aufs: fs_context 4/7, parse xino options
    9af1f1825cbd aufs: fs_context 3/7, parse the branch-management options
    1c05eb767f8c aufs: fs_context 2/7, parse "br" mount option
    a8488f603134 aufs: fs_context 1/7, skelton of the new shceme
    8e32e0015564 aufs: pre fs_context, convert a static flag to a macro
    f90cb4144aec aufs: pre fs_context, support the incomplete sb and sbinfo case
    948762ef859c aufs: pre fs_context, convert the type of alloc_sbinfo()
    77151a08776b aufs: 5.15.5-20211129 ---> 5.15.5-20220117
    2539adbbbe1e aufs: 5.14-20211018 ---> 5.15.5-20211129
    7d32b25193c4 aufs: for v5.15-rc1, sync_inode() is gone
    66ec0c509225 aufs: for v5.15-rc1, new param 'rcu' for ->get_acl()
    69709dc518cd aufs: for v5.15-rc1, no mand-lock anymore
    ada8fe9543e5 aufs: 5.14-20210906  ---> 5.14-20211018
    b77f7f3f394a Revert "aufs: adjust to v5.15 fs changes"
    81bdce5b5876 tick/nohz: WARN_ON --> WARN_ON_ONCE to prevent console saturation
    97c963889222 sched/isolation: really align nohz_full with rcu_nocbs
    871f23ad3627 Revert "ARM: defconfig: Enable ax88796c driver for Exynos boards"
    ffad0783dd5b ARM: config: multi v7: Regenerate defconifg
    5c1e1a1ff2d3 ARM: config: multi v7: Add renamed symbols
    badaf96564fe ARM: config: multi v7: Clean up enabled by default options
    34996040fc9b ARM: config: multi v7: Drop unavailable options
    7f685244afb3 powerpc/mm: Switch obsolete dssall to .long
    20301aeb1a64 riscv: fix build with binutils 2.38
    9df58d070506 powerpc/lib/sstep: fix 'ptesync' build error
    720b61fc400b x86_64_defconfig: Fix warnings
    02bf23d26bc4 arm64: defconfig: cleanup config options
    05914e2c87e5 arm: defconfig: drop unused POWER_AVS option
    ffb532fa19b9 aufs5: fix build against v5.15.3+
    a4b3abf4d96d qemux86: add configuration symbol to select values
    fee94ee09154 clear_warn_once: add a clear_warn_once= boot parameter
    3d8762d900d9 clear_warn_once: bind a timer to written reset value
    95faacac47e8 clear_warn_once: expand debugfs to include read support
    de20c4240018 perf: perf can not parser the backtrace of app in the 32bit system and 64bit kernel.
    0e4aacead9c1 perf: x86-32: explicitly include <errno.h>
    9ad92c11468e perf: mips64: Convert __u64 to unsigned long long
    09e7efe3e68a perf: fix bench numa compilation
    e79becc44fa6 perf: add SLANG_INC for slang.h
    b1033b588681 perf: add sgidefs.h to for mips builds
    cf9db484ac0b perf: change --root to --prefix for python install
    7fd052c2c562 perf: add 'libperl not found' warning
    27a437cdd469 perf: force include of <stdbool.h>
    3b99d21bec2f fat: don't use obsolete random32 call in namei_vfat
    a7e9293b506b FAT: Added FAT_NO_83NAME
    6fd0e71d9e5c FAT: Add CONFIG_VFAT_NO_CREATE_WITH_LONGNAMES option
    c379b0d324ae FAT: Add CONFIG_VFAT_FS_NO_DUALNAMES option
    538be0fdb124 aufs: adjust to v5.15 fs changes
    f45da75c8759 aufs5: core
    047f57e07e01 aufs5: standalone
    029fc15574c8 aufs5: mmap
    610d0192ee94 aufs5: base
    d4e428d0ec5f aufs5: kbuild
    eb067eca251a yaffs: replace IS_ERR with IS_ERR_OR_NULL to check both ERR and NULL
    286af18d0875 yaffs: fix -Wstringop-overread compile warning in yaffs_fix_null_name
    24d59a4e26a6 yaffs2: v5.12+ build fixups (not runtime tested)
    22c73536d5d7 yaffs: include blkdev.h
    506b7251bfb8 yaffs: fix misplaced variable declaration
    a0e26ff364dc yaffs2: v5.6 build fixups
    b10b1b2d169e yaffs2: fix memory leak when /proc/yaffs is read
    ad9adccbb214 yaffs: add strict check when call yaffs_internal_read_super
    2e3c3aec8279 yaffs: repair yaffs_get_mtd_device
    d662538516a7 yaffs: Fix build failure by handling inode i_version with proper atomic API
    70a6113ee2c7 yaffs2: fix memory leak in mount/umount
    3378e4a9e404 yaffs: Avoid setting any ACL releated xattr
    ec2284edddef Yaffs:check oob size before auto selecting Yaffs1
    c2a49874051c fs: yaffs2: replace CURRENT_TIME by other appropriate apis
    e9a5105a3e73 yaffs2: adjust to proper location of MS_RDONLY
    608807406f13 yaffs2: import git revision b4ce1bb (jan, 2020)
    89e660ece42c initramfs: allow an optional wrapper script around initramfs generation
    b179dbc9aa10 iwlwifi: select MAC80211_LEDS conditionally
    3fd5ca3673d0 net/dccp: make it depend on CONFIG_BROKEN (CVE-2020-16119)
    d1f6edbf0188 arm64/perf: Fix wrong cast that may cause wrong truncation
    d202fb2caf33 defconfigs: drop obselete options
    9a27e3b5f4e7 arm64/perf: fix backtrace for AAPCS with FP enabled
    e20d8cf019b4 linux-yocto: Handle /bin/awk issues
    b6d2a3dbbd3a uvesafb: provide option to specify timeout for task completion
    adb40f1e6a1a uvesafb: print error message when task timeout occurs
    f280a1ed0962 compiler.h: Undef before redefining __attribute_const__
    4352732f268c vmware: include jiffies.h
    7954a677968d Resolve jiffies wrapping about arp
    5f28a1035d95 nfs: Allow default io size to be configured.
    0d7260ad7106 check console device file on fs when booting
    900a12e37e0a mount_root: clarify error messages for when no rootfs found
    7b878cbea726 menuconfig,mconf-cfg: Allow specification of ncurses location
    6604fc1763b3 modpost: mask trivial warnings
    0d294adb09cb kbuild: exclude meta directory from distclean processing
    a097cdd95a9e powerpc: serialize image targets
    5db6ec39a0a3 arm: serialize build targets
    cbabca27905e crtsavres: fixups for 5.4+
    7fc7656ed403 powerpc/ptrace: Disable array-bounds warning with gcc8
    a5faac5a19a2 powerpc: Disable attribute-alias warnings from gcc8
    186c54665b67 powerpc: add crtsavres.o to archprepare for kbuild
    d1ea862964ca powerpc: kexec fix for powerpc64
    2ac35b89a0f9 powerpc: Add unwind information for SPE registers of E500 core
    2e1c348a28bb mips: vdso: fix 'jalr $t9' crash in vdso code
    ec57870b303a mips: Kconfig: add QEMUMIPS64 option
    6a81b3c08107 4kc cache tlb hazard: tlbp cache coherency
    74e3b2a21e54 malta uhci quirks: make allowance for slow 4k(e)c
    22e65b63d3b4 arm/Makefile: Fix systemtap
    b7f1ab59f19e vexpress: Pass LOADADDR to Makefile
    ce2800c73bf7 arm: ARM EABI socketcall
    019d142fd956 ARM: LPAE: Invalidate the TLB for module addresses during translation fault

(From OE-Core rev: 3b229158f19e99588ad714eb993a5618a8f27540)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-05-15 09:44:15 -07:00
Bruce Ashfield
1f9aa7874a linux-yocto/5.15: update CVE exclusions (5.15.155)
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: 286d5418b49a415dfd26be71fc403d6b08036c02)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-05-15 09:44:15 -07:00
Bruce Ashfield
ea08276b46 linux-yocto/5.15: update to v5.15.155
Updating linux-yocto/5.15 to the latest korg -stable release that comprises
the following commits:

    fa3df276cd36 Linux 5.15.155
    b54c4632946a Revert "ACPI: CPPC: Use access_width over bit_width for system memory accesses"
    1793e6b2dae0 VMCI: Fix possible memcpy() run-time warning in vmci_datagram_invoke_guest_handler()
    dd883e0138f1 Bluetooth: btintel: Fixe build regression
    bb6b88270714 platform/x86: intel-vbtn: Update tablet mode switch at end of probe
    dfb2ce952143 randomize_kstack: Improve entropy diffusion
    7cfee26d1950 x86/mm/pat: fix VM_PAT handling in COW mappings
    abfae420789a virtio: reenable config if freezing device failed
    5d17986cbfd5 gcc-plugins/stackleak: Avoid .head.text section
    7e0bd07ce965 gcc-plugins/stackleak: Ignore .noinstr.text and .entry.text
    2d154a54c58f tty: n_gsm: require CAP_NET_ADMIN to attach N_GSM0710 ldisc
    6cbbe1ba76ee netfilter: nf_tables: discard table flag update with pending basechain deletion
    eb769ff4e281 netfilter: nf_tables: release mutex after nft_gc_seq_end from abort path
    37fc2cde9d19 netfilter: nf_tables: release batch on table validation from abort path
    48d6bcfc3175 fbmon: prevent division by zero in fb_videomode_from_videomode()
    e2ce8625c321 drivers/nvme: Add quirks for device 126f:2262
    871e695c08a3 fbdev: viafb: fix typo in hw_bitblt_1 and hw_bitblt_2
    3beea96d4fc8 ASoC: soc-core.c: Skip dummy codec when adding platforms
    eb7e92dbdc78 usb: sl811-hcd: only defined function checkdone if QUIRK2 is defined
    e0db818c0871 usb: typec: tcpci: add generic tcpci fallback compatible
    b6b12f4577a1 tools: iio: replace seekdir() in iio_generic_buffer
    1d5276914eb7 ring-buffer: use READ_ONCE() to read cpu_buffer->commit_page in concurrent environment
    39438227f888 ktest: force $buildonly = 1 for 'make_warnings_file' test type
    72794acdd16b platform/x86: touchscreen_dmi: Add an extra entry for a variant of the Chuwi Vi8 tablet
    18c51d97a242 Input: allocate keycode for Display refresh rate toggle
    baf8a6d2cdd1 RDMA/cm: add timeout to cm_destroy_id wait
    21e7d72d0cfc block: prevent division by zero in blk_rq_stat_sum()
    be113e082b65 libperf evlist: Avoid out-of-bounds access
    5dcded25c7e1 Revert "ACPI: PM: Block ASUS B1400CEAE from suspend to idle by default"
    504eb6b26ce8 SUNRPC: increase size of rpc_wait_queue.qlen from unsigned short to unsigned int
    343586deb873 drm/amd/display: Fix nanosec stat overflow
    ad207d1ca6d5 ext4: forbid commit inconsistent quota data when errors=remount-ro
    19b7a1ff81b7 ext4: add a hint for block bitmap corrupt state in mb_groups
    85f315792fac ALSA: firewire-lib: handle quirk to calculate payload quadlets as data block counter
    09de9c3614ad media: sta2x11: fix irq handler cast
    46e8711231b2 isofs: handle CDs with bad root inode but good Joliet root directory
    7849e6f8410d scsi: lpfc: Fix possible memory leak in lpfc_rcv_padisc()
    fd203d2c671b sysv: don't call sb_bread() with pointers_lock held
    0b75d679e88f pinctrl: renesas: checker: Limit cfg reg enum checks to provided IDs
    f917c66b1135 Input: synaptics-rmi4 - fail probing if memory allocation for "phys" fails
    006936ecb4ed Bluetooth: btintel: Fix null ptr deref in btintel_read_version
    b9117dc783c0 net/smc: reduce rtnl pressure in smc_pnet_create_pnetids_list()
    2f6174fd4ccf btrfs: send: handle path ref underflow in header iterate_inode_ref()
    a83c1f67a0f7 btrfs: export: handle invalid inode or root reference in btrfs_get_parent()
    d1ffa4ae2d59 btrfs: handle chunk tree lookup error in btrfs_relocate_sys_chunks()
    805a1cdde82f wifi: ath11k: decrease MHI channel buffer length to 8KB
    0f22f30f79a8 net: pcs: xpcs: Return EINVAL in the internal methods
    9a16a0d03305 tools/power x86_energy_perf_policy: Fix file leak in get_pkg_num()
    0ff96ec22a84 pstore/zone: Add a null pointer check to the psz_kmsg_read
    35f6b46eeb03 ionic: set adminq irq affinity
    ba30ee96e87a arm64: dts: rockchip: fix rk3399 hdmi ports node
    ba580534db14 arm64: dts: rockchip: fix rk3328 hdmi ports node
    64a7694c851c cpuidle: Avoid potential overflow in integer multiplication
    f4e70f422b76 panic: Flush kernel log buffer at the end
    130b0cd06487 VMCI: Fix memcpy() run-time warning in dg_dispatch_as_host()
    9ab8e24e81b9 wifi: ath9k: fix LNA selection in ath_ant_try_scan()
    ff45899e732e net: dsa: fix panic when DSA master device unbinds on shutdown
    cbac7de1d990 amdkfd: use calloc instead of kzalloc to avoid integer overflow
    cdfd0a7f0139 Linux 5.15.154
    8d8dc7ee5b98 x86: set SPECTRE_BHI_ON as default
    a976b129dc86 KVM: x86: Add BHI_NO
    c2b9e038896f x86/bhi: Mitigate KVM by default
    f825494f2c6f x86/bhi: Add BHI mitigation knob
    aa6247c9da25 x86/bhi: Enumerate Branch History Injection (BHI) bug
    a9ca0e34a406 x86/bhi: Define SPEC_CTRL_BHI_DIS_S
    bd53ec80f218 x86/bhi: Add support for clearing branch history at syscall entry
    55516b355b0c x86/syscall: Don't force use of indirect calls for system calls
    276fb9a658d0 x86/bugs: Change commas to semicolons in 'spectre_v2' sysfs file
    b9c5f7da76b1 nvme: fix miss command type check
    d225b0ac96dc gro: fix ownership transfer
    6564b014af92 mm/secretmem: fix GUP-fast succeeding on secretmem folios
    a479b4de11dd mptcp: don't account accept() of non-MPC client as fallback to TCP
    1f7e13d3e870 x86/retpoline: Do the necessary fixup to the Zen3/4 srso return thunk for !SRSO
    ff137c5c0dcf x86/bugs: Fix the SRSO mitigation on Zen3/4
    dff6072124f6 riscv: process: Fix kernel gp leakage
    fd9662109deb riscv: Fix spurious errors from __get/put_kernel_nofault
    6135537e1e66 s390/entry: align system call table on 8 bytes
    f860595512ff x86/mce: Make sure to grab mce_sysfs_mutex in set_bank()
    3ee242410754 of: dynamic: Synchronize of_changeset_destroy() with the devlink removals
    03c356860b8b driver core: Introduce device_link_wait_removal()
    5e32c0cc476d ALSA: hda/realtek: Update Panasonic CF-SZ6 quirk to support headset with microphone
    de48795233cc fs/pipe: Fix lockdep false-positive in watchqueue pipe_write()
    eaaaa49593e9 openrisc: Fix pagewalk usage in arch_dma_{clear, set}_uncached
    58e5349bb4ed HID: uhid: Use READ_ONCE()/WRITE_ONCE() for ->running
    f7a3090bfd3b nfsd: hold a lighter-weight client reference over CB_RECALL_ANY
    00f7576062a7 ata: sata_mv: Fix PCI device ID table declaration compilation warning
    e0ad4c270670 scsi: mylex: Fix sysfs buffer lengths
    117d7ef3190c ata: sata_sx4: fix pdc20621_get_from_dimm() on 64-bit
    e9b71370cbc7 ASoC: ops: Fix wraparound for mask in snd_soc_get_volsw
    562adaf79df4 ASoC: rt711-sdw: fix locking sequence
    bcf894d7eebe ASoC: rt711-sdca: fix locking sequence
    b53cf951389c ASoC: rt5682-sdw: fix locking sequence
    9df33e57f5c9 net: ravb: Always process TX descriptor ring
    fcc739d7f034 net: fec: Set mac_managed_pm during probe
    498cc233c460 drivers: net: convert to boolean for the mac_managed_pm flag
    0985fbfbcb8f net: usb: asix: suspend embedded PHY if external is used
    342cb04dcf2a i40e: Enforce software interrupt during busy-poll exit
    c9bcd6465538 i40e: Remove _t suffix from enum type names
    2a0a64c9d1d5 i40e: Store the irq number in i40e_q_vector
    bf7396ec564f Revert "usb: phy: generic: Get the vbus supply"
    506a9ec5d3f1 scsi: qla2xxx: Update manufacturer detail
    315c4527cdd8 scsi: qla2xxx: Update manufacturer details
    951d2748a2a8 i40e: fix vf may be used uninitialized in this function warning
    8db472e17dec i40e: fix i40e_count_filters() to count only active/new filters
    f53bea1c7971 octeontx2-pf: check negative error code in otx2_open()
    ec694ca1567e octeontx2-af: Fix issue with loading coalesced KPU profiles
    73a328df2c4a udp: prevent local UDP tunnel packets from being GROed
    7223f4ee4f31 udp: do not transition UDP GRO fraglist partial checksums to unnecessary
    d49ae15a5767 udp: do not accept non-tunnel GSO skbs landing in a tunnel
    63a10b530e22 mlxbf_gige: stop interface during shutdown
    40a344b2ddc0 ipv6: Fix infinite recursion in fib6_dump_done().
    61f5b43bc04e selftests: reuseaddr_conflict: add missing new line at the end of the output
    ee0088101bee erspan: make sure erspan_base_hdr is present in skb->head
    3f9a8b794fc9 selftests: net: gro fwd: update vxlan GRO test expectations
    457c832a0c5d net: stmmac: fix rx queue priority assignment
    a097fc199ab5 net/sched: act_skbmod: prevent kernel-infoleak
    d1e73fb19a4c bpf, sockmap: Prevent lock inversion deadlock in map delete elem
    465abe8a7af4 vboxsf: Avoid an spurious warning if load_nls_xxx() fails
    440e948cf0ef netfilter: validate user input for expected length
    2485bcfe05ee netfilter: nf_tables: Fix potential data-race in __nft_flowtable_type_get()
    f7e3c88cc2a9 netfilter: nf_tables: flush pending destroy work before exit_net release
    8ba81dca416a netfilter: nf_tables: reject new basechain after table flag update
    a9bd6bb6f02b KVM: x86: Mark target gfn of emulated atomic instruction as dirty
    bd9a25a0228e KVM: x86: Bail to userspace if emulation of atomic user access faults
    a7c6a643b25b thermal: devfreq_cooling: Fix perf state when calculate dfc res_util
    8d7132a67eeb mm, vmscan: prevent infinite loop for costly GFP_NOIO | __GFP_RETRY_MAYFAIL allocations
    b279ddce1030 Revert "x86/mm/ident_map: Use gbpages only where full GB page should be mapped."
    a180ca336989 io_uring: ensure '0' is returned on file registration success
    fe9df687e74a locking/rwsem: Disable preemption while trying for rwsem lock
    d49fac38479b net/rds: fix possible cp null dereference
    4143b9479caa xen-netfront: Add missing skb_mark_for_recycle
    a8170af8b10e Bluetooth: Fix TOCTOU in HCI debugfs implementation
    d6cfb0d7bb2d Bluetooth: hci_event: set the conn encrypted before conn establishes
    96bd0de3915f arm64: dts: qcom: sc7180-trogdor: mark bluetooth address as broken
    76299c3f11b4 x86/cpufeatures: Add CPUID_LNX_5 to track recently added Linux-defined word
    571d80f8a458 x86/cpufeatures: Add new word for scattered features
    9956d0504f0b r8169: fix issue caused by buggy BIOS on certain boards with RTL8168d
    b8438db83732 dm integrity: fix out-of-range warning
    bef3bc962dcc Octeontx2-af: fix pause frame configuration in GMP mode
    37dc1718dc0c bpf: Protect against int overflow for stack access size
    a583117668dd mlxbf_gige: call request_irq() after NAPI initialized
    85c410f65b36 ACPICA: debugger: check status of acpi_evaluate_object() in acpi_db_walk_for_fields()
    2e43d8eba6ed tcp: properly terminate timers for kernel sockets
    744494dbb058 s390/qeth: handle deferred cc1
    2fb283e2f3cc ixgbe: avoid sleeping allocation in ixgbe_ipsec_vf_add_sa()
    28db0ae86cb9 wifi: iwlwifi: mvm: rfi: fix potential response leaks
    254f1c252171 iwlwifi: mvm: rfi: use kmemdup() to replace kzalloc + memcpy
    d60ff8e04b17 mlxbf_gige: stop PHY during open() error paths
    ac68d9fa09e4 nfc: nci: Fix uninit-value in nci_dev_up and nci_ntf_packet
    5e1984aba37a USB: UAS: return ENODEV when submit urbs fail with device not attached
    e38f1ea6cbc5 scsi: usb: Stop using the SCSI pointer
    172800c69cd0 scsi: usb: Call scsi_done() directly
    1b175bc579f4 USB: core: Fix deadlock in usb_deauthorize_interface()
    ea8839e31942 scsi: lpfc: Correct size for wqe for memset()
    0f608ce96520 PCI/DPC: Quirk PIO log size for Intel Ice Lake Root Ports
    ff5305ec8c0e x86/cpu: Enable STIBP on AMD if Automatic IBRS is enabled
    34c0786ef6c7 scsi: qla2xxx: Delay I/O Abort on PCI error
    d37f3b14da07 scsi: qla2xxx: Change debug message during driver unload
    b03e626bd6d3 scsi: qla2xxx: Fix double free of fcport
    a859f6a8f423 scsi: qla2xxx: Fix command flush on cable pull
    0bd653100a8e scsi: qla2xxx: NVME|FCP prefer flag not being honored
    a139d643c5d6 scsi: qla2xxx: Split FCE|EFT trace control
    002caa257783 scsi: qla2xxx: Fix N2N stuck connection
    786121320183 scsi: qla2xxx: Prevent command send on chip reset
    f18f5fcdaa8c usb: typec: ucsi: Clear UCSI_CCI_RESET_COMPLETE before reset
    ad165b37fd4f usb: typec: ucsi: Ack unsupported commands
    df5cbb908f16 usb: udc: remove warning when queue disabled ep
    7de1df3212d8 usb: dwc2: gadget: LPM flow fix
    2cf845a770d6 usb: dwc2: gadget: Fix exiting from clock gating
    32d3f2f108eb usb: dwc2: host: Fix ISOC flow in DDMA mode
    555be0cc2a2f usb: dwc2: host: Fix hibernation flow
    3b1a9f852b4c usb: dwc2: host: Fix remote wakeup from hibernation
    489e8064ac00 USB: core: Add hub_get() and hub_put() routines
    7094516d7b30 staging: vc04_services: fix information leak in create_component()
    77a46fbfe6ae staging: vc04_services: changen strncpy() to strscpy_pad()
    cea234bb214b scsi: core: Fix unremoved procfs host directory regression
    8c9902216816 ALSA: sh: aica: reorder cleanup operations to avoid UAF bugs
    8bf22f8d1d53 drm/amd/display: Preserve original aspect ratio in create stream
    9e6bb089649a drm/amdgpu: Use drm_mode_copy()
    a86e54a34513 usb: cdc-wdm: close race between read and workqueue
    ac9b6b3e8d12 drm/i915/gt: Reset queue_priority_hint on parking
    553d294db94b net: ll_temac: platform_get_resource replaced by wrong function
    81b8645feca0 mmc: core: Avoid negative index with array access
    0ecd5689767b mmc: core: Initialize mmc_blk_ioc_data
    f2bbbeb8287f hexagon: vmlinux.lds.S: handle attributes section
    818e531cfb1d exec: Fix NOMMU linux_binprm::exec in transfer_args_to_stack()
    c8bddbd91bc8 wifi: mac80211: check/clear fast rx for non-4addr sta VLAN changes
    56e05d28c39b btrfs: zoned: use zone aware sb location for scrub
    3f0cda401d6e init: open /initrd.image with O_LARGEFILE
    c612edbc5ec6 mm/migrate: set swap entry values of THP tail pages properly.
    e635f652696e serial: sc16is7xx: convert from _raw_ to _noinc_ regmap functions for FIFO
    250219c6a556 vfio/fsl-mc: Block calling interrupt handler without trigger
    cc5838f19d39 vfio/platform: Create persistent IRQ handlers
    4cb0d7532126 vfio/pci: Create persistent INTx handler
    26a6a1e0b4ec vfio: Introduce interface to flush virqfd inject workqueue
    ec73e0797292 vfio/pci: Lock external INTx masking ops
    b7a2f0955ffc vfio/pci: Disable auto-enable of exclusive INTx IRQ
    c035ce9feb0c selftests: mptcp: diag: return KSFT_FAIL not test_cnt
    dc394fe41d6b powerpc: xor_vmx: Add '-mhard-float' to CFLAGS
    9bc9c11c151a efivarfs: Request at most 512 bytes for variable names
    36b5c35d43aa perf/core: Fix reentry problem in perf_output_read_group()
    ccd9fe71b9ee nfsd: Fix a regression in nfsd_setattr()
    e90402fb0697 nfsd: don't call locks_release_private() twice concurrently
    8b4fa191deed nfsd: don't take fi_lock in nfsd_break_deleg_cb()
    c6f8b3fcc627 nfsd: fix RELEASE_LOCKOWNER
    32c2cb2c0d37 nfsd: drop the nfsd_put helper
    c52fee7a1f98 nfsd: call nfsd_last_thread() before final nfsd_put()
    2267b2e84593 lockd: introduce safe async lock op
    6e5fed48d8b7 NFSD: fix possible oops when nfsd/pool_stats is closed.
    394d3f294a9a Documentation: Add missing documentation for EXPORT_OP flags
    56e5eeff6cfa nfsd: separate nfsd_last_thread() from nfsd_put()
    dec6b8bcac73 nfsd: Simplify code around svc_exit_thread() call in nfsd()
    05b452e8748b nfsd: Fix creation time serialization order
    760a6f755d94 NFSD: Add an nfsd4_encode_nfstime4() helper
    663ec8f5ffc4 lockd: drop inappropriate svc_get() from locked_get()
    9b405c0f84d9 nfsd: fix double fget() bug in __write_ports_addfd()
    645c1b4b139b nfsd: make a copy of struct iattr before calling notify_change
    4e6e49829151 NFSD: Fix problem of COMMIT and NFS4ERR_DELAY in infinite loop
    786e3248d5ef nfsd: simplify the delayed disposal list code
    a53d804930dc NFSD: Convert filecache to rhltable
    b27ee0682437 nfsd: allow reaping files still under writeback
    12f8f9fe1146 nfsd: update comment over __nfsd_file_cache_purge
    ad9cf5b1d017 nfsd: don't take/put an extra reference when putting a file
    b5a439e8b087 nfsd: add some comments to nfsd_file_do_acquire
    83a019b049db nfsd: don't kill nfsd_files because of lease break error
    55e429715edc nfsd: simplify test_bit return in NFSD_FILE_KEY_FULL comparator
    9fff2daca45a nfsd: NFSD_FILE_KEY_INODE only needs to find GC'ed entries
    bfa4a3996e73 nfsd: don't open-code clear_and_wake_up_bit
    b11d8162c24a nfsd: call op_release, even when op_func returns an error
    12eca509234a nfsd: don't replace page in rq_pages if it's a continuation of last page
    8e469b994407 NFSD: Protect against filesystem freezing
    17298e08006e NFSD: copy the whole verifier in nfsd_copy_write_verifier
    4161b518e4a9 nfsd: don't fsync nfsd_files on last close
    94e412c945e6 nfsd: fix courtesy client with deny mode handling in nfs4_upgrade_open
    a0df1c3326e7 NFSD: fix problems with cleanup on errors in nfsd4_copy
    22a0dd206a32 nfsd: don't hand out delegation on setuid files being opened for write
    80a15dc4a021 NFSD: fix leaked reference count of nfsd4_ssc_umount_item
    b3169b6ffe03 nfsd: clean up potential nfsd_file refcount leaks in COPY codepath
    31d4aa4584cf nfsd: allow nfsd_file_get to sanely handle a NULL pointer
    97522085eeec NFSD: enhance inter-server copy cleanup
    005ef7285fb9 nfsd: don't destroy global nfs4_file table in per-net shutdown
    0bc6d703109e nfsd: don't free files unconditionally in __nfsd_file_cache_purge
    958294a3eb82 NFSD: replace delayed_work with work_struct for nfsd_client_shrinker
    354eade5f278 NFSD: register/unregister of nfsd-client shrinker at nfsd startup/shutdown time
    72906e8da982 NFSD: Use set_bit(RQ_DROPME)
    d7cfba56fa75 Revert "SUNRPC: Use RMW bitops in single-threaded hot paths"
    0b778361998d nfsd: fix handling of cached open files in nfsd4_open codepath
    83a8aba1b725 nfsd: rework refcounting in filecache
    43afef9fab65 NFSD: Avoid clashing function prototypes
    1e9eac6a111c NFSD: Use only RQ_DROPME to signal the need to drop a reply
    d8065d0f2121 NFSD: add CB_RECALL_ANY tracepoints
    e18fc5fb2f00 NFSD: add delegation reaper to react to low memory condition
    ed36015f7ef9 NFSD: add support for sending CB_RECALL_ANY
    8766b38f54e9 NFSD: refactoring courtesy_client_reaper to a generic low memory shrinker
    ce0b786b6ebf trace: Relocate event helper files
    af7ee7ec1051 lockd: fix file selection in nlmsvc_cancel_blocked
    eb0433d95c84 lockd: ensure we use the correct file descriptor when unlocking
    281092cf3fc3 lockd: set missing fl_flags field when retrieving args
    d561fe540e80 NFSD: Use struct_size() helper in alloc_session()
    4e293f2d214c nfsd: return error if nfs4_setacl fails
    2c1be5d65d76 NFSD: Add an nfsd_file_fsync tracepoint
    8dafc6143041 nfsd: fix up the filecache laundrette scheduling
    e8f25bd0e842 filelock: add a new locks_inode_context accessor function
    dc468e079961 nfsd: reorganize filecache.c
    6340d965599d nfsd: remove the pages_flushed statistic from filecache
    99bf0850f399 NFSD: Fix licensing header in filecache.c
    43cf59a34b34 NFSD: Use rhashtable for managing nfs4_file objects
    323c83bde6d6 NFSD: Refactor find_file()
    2b03fd9fe4bc NFSD: Clean up find_or_add_file()
    d02c59ebe058 NFSD: Add a nfsd4_file_hash_remove() helper
    0b4436381ee0 NFSD: Clean up nfsd4_init_file()
    d78f7abe63fc NFSD: Update file_hashtbl() helpers
    94f52a094c24 NFSD: Use const pointers as parameters to fh_ helpers
    3d1af4319d25 NFSD: Trace delegation revocations
    0cf54e35894c NFSD: Trace stateids returned via DELEGRETURN
    cb966b357f01 NFSD: Clean up nfs4_preprocess_stateid_op() call sites
    6baa3dfe404b NFSD: Flesh out a documenting comment for filecache.c
    5fbeb6216e10 NFSD: Add an NFSD_FILE_GC flag to enable nfsd_file garbage collection
    a08d9df51c52 NFSD: Revert "NFSD: NFSv4 CLOSE should release an nfsd_file immediately"
    b34aa1a8c7a7 NFSD: Pass the target nfsd_file to nfsd_commit()
    81c3ab9b95bf exportfs: use pr_debug for unreachable debug statements
    10d55a17899a nfsd: allow disabling NFSv2 at compile time
    4d1fa40d54ae nfsd: move nfserrno() to vfs.c
    3b623a6a12b7 nfsd: ignore requests to disable unsupported versions
    1c2f1a171bf0 NFSD: Finish converting the NFSv3 GETACL result encoder
    98278765a215 NFSD: Remove redundant assignment to variable host_err
    28798577f805 NFSD: Simplify READ_PLUS
    19fbd8c2b53f nfsd: use locks_inode_context helper
    b11f5d7bc0ea lockd: use locks_inode_context helper
    071eb319ce4d NFSD: Fix reads with a non-zero offset that don't end on a page boundary
    e4d787430855 NFSD: Fix trace_nfsd_fh_verify_err() crasher
    3f439c7701d3 nfsd: put the export reference in nfsd4_verify_deleg_dentry
    98d400fc2d09 nfsd: fix use-after-free in nfsd_file_do_acquire tracepoint
    3ec2c9976c17 nfsd: fix net-namespace logic in __nfsd_file_cache_purge
    f17c07f8ea77 nfsd: ensure we always call fh_verify_error tracepoint
    15d01caf3587 NFSD: unregister shrinker when nfsd_init_net() fails
    d1b0ceeac1dc nfsd: rework hashtable handling in nfsd_do_file_acquire
    405ade5b561a nfsd: fix nfsd_file_unhash_and_dispose
    dde8424b249c fanotify: Remove obsoleted fanotify_event_has_path()
    a0ca9025c8be fsnotify: remove unused declaration
    6029a4f7ad98 fs/notify: constify path
    3af497e3f7cc nfsd: extra checks when freeing delegation stateids
    e55378bce5f6 nfsd: make nfsd4_run_cb a bool return function
    f6279fa0dc9d nfsd: fix comments about spinlock handling with delegations
    ecb0eb07eeda nfsd: only fill out return pointer on success in nfsd4_lookup_stateid
    4ad28d583e58 NFSD: Cap rsize_bop result based on send buffer size
    4794c948de06 NFSD: Rename the fields in copy_stateid_t
    0793ec49baaf nfsd: use DEFINE_SHOW_ATTRIBUTE to define nfsd_file_cache_stats_fops
    815efd78cbe8 nfsd: use DEFINE_SHOW_ATTRIBUTE to define nfsd_reply_cache_stats_fops
    861a163d4973 nfsd: use DEFINE_SHOW_ATTRIBUTE to define client_info_fops
    25e0dd89d455 nfsd: use DEFINE_SHOW_ATTRIBUTE to define export_features_fops and supported_enctypes_fops
    685d01c2b280 nfsd: use DEFINE_PROC_SHOW_ATTRIBUTE to define nfsd_proc_ops
    82fbfbe92d4b NFSD: Pack struct nfsd4_compoundres
    cd8bcaeeae6f NFSD: Remove unused nfsd4_compoundargs::cachetype field
    ba3bd2bf0c74 NFSD: Remove "inline" directives on op_rsize_bop helpers
    d8d3a672e159 NFSD: Clean up nfs4svc_encode_compoundres()
    fc47f8ddfc85 NFSD: Clean up WRITE arg decoders
    b3f3b21ed289 NFSD: Use xdr_inline_decode() to decode NFSv3 symlinks
    cab5399262ec NFSD: Refactor common code out of dirlist helpers
    07b68ff5c71c NFSD: Reduce amount of struct nfsd4_compoundargs that needs clearing
    2005eba603e9 SUNRPC: Parametrize how much of argsize should be zeroed
    9acc4812427e NFSD: add shrinker to reap courtesy clients on low memory condition
    8c9e5ad10357 NFSD: keep track of the number of courtesy clients in the system
    c65977020ba8 NFSD: Make nfsd4_remove() wait before returning NFS4ERR_DELAY
    d1ee3403e098 NFSD: Make nfsd4_rename() wait before returning NFS4ERR_DELAY
    50aa6a80d0a7 NFSD: Make nfsd4_setattr() wait before returning NFS4ERR_DELAY
    9863ece99e95 NFSD: Refactor nfsd_setattr()
    8a3c48cd5346 NFSD: Add a mechanism to wait for a DELEGRETURN
    bcd4c7511593 NFSD: Add tracepoints to report NFSv4 callback completions
    3fe32c519bef NFSD: Trace NFSv4 COMPOUND tags
    62980365d6e8 NFSD: Replace dprintk() call site in fh_verify()
    5118eb6c2926 nfsd: remove nfsd4_prepare_cb_recall() declaration
    4440588b936c nfsd: clean up mounted_on_fileid handling
    5f6f6b2a3bb1 NFSD: drop fname and flen args from nfsd_create_locked()
    37f3b9c39895 NFSD: Increase NFSD_MAX_OPS_PER_COMPOUND
    56ffc3ab884c nfsd: Propagate some error code returned by memdup_user()
    371d2d25bf61 nfsd: Avoid some useless tests
    211014047ec9 NFSD: remove redundant variable status
    5b6441a5d371 NFSD enforce filehandle check for source file in COPY
    285579928965 lockd: move from strlcpy with unused retval to strscpy
    574ec47ac850 NFSD: move from strlcpy with unused retval to strscpy
    460743da0e55 nfsd_splice_actor(): handle compound pages
    c9cb32ad429c NFSD: fix regression with setting ACLs.
    4b910dd7fe47 NFSD: discard fh_locked flag and fh_lock/fh_unlock
    7538fc9cba84 NFSD: use (un)lock_inode instead of fh_(un)lock for file operations
    e0335e7c4a51 NFSD: use explicit lock/unlock for directory ops
    ebd1b016ad4d NFSD: reduce locking in nfsd_lookup()
    ba4b518a23d3 NFSD: only call fh_unlock() once in nfsd_link()
    ff01da71e484 NFSD: always drop directory lock in nfsd_unlink()
    4655bcbce761 NFSD: change nfsd_create()/nfsd_symlink() to unlock directory before returning.
    d52acd23a327 NFSD: add posix ACLs to struct nfsd_attrs
    a3f27177c21b NFSD: add security label to struct nfsd_attrs
    8a26a1b5c887 NFSD: set attributes when creating symlinks
    183514794814 NFSD: introduce struct nfsd_attrs
    162f99ff7b95 NFSD: verify the opened dentry after setting a delegation
    3a5ab224a838 NFSD: drop fh argument from alloc_init_deleg
    b6494b36b80c NFSD: Move copy offload callback arguments into a separate structure
    8918b50537e9 NFSD: Add nfsd4_send_cb_offload()
    bb1eb9755892 NFSD: Remove kmalloc from nfsd4_do_async_copy()
    9cecf4772e8c NFSD: Refactor nfsd4_do_copy()
    a48454785bc9 NFSD: Refactor nfsd4_cleanup_inter_ssc() (2/2)
    4952fe668917 NFSD: Refactor nfsd4_cleanup_inter_ssc() (1/2)
    6cb00ba23083 NFSD: Replace boolean fields in struct nfsd4_copy
    6ff95a5f72eb NFSD: Make nfs4_put_copy() static
    9a99c7f5d98b NFSD: Reorder the fields in struct nfsd4_op
    7d1e44fd0637 NFSD: Shrink size of struct nfsd4_copy
    24286575c674 NFSD: Shrink size of struct nfsd4_copy_notify
    00eb5bd3844c NFSD: nfserrno(-ENOMEM) is nfserr_jukebox
    9032c8e3aecb NFSD: Fix strncpy() fortify warning
    0dfb19289614 NFSD: Clean up nfsd4_encode_readlink()
    fc7380a198f2 NFSD: Use xdr_pad_size()
    2528f487c825 NFSD: Simplify starting_len
    7bc543311784 NFSD: Optimize nfsd4_encode_readv()
    a70976ec89c2 NFSD: Add an nfsd4_read::rd_eof field
    2540b7042998 NFSD: Clean up SPLICE_OK in nfsd4_encode_read()
    3e7adac61db2 NFSD: Optimize nfsd4_encode_fattr()
    0d6c82286ddf NFSD: Optimize nfsd4_encode_operation()
    b9e6a5610b5c nfsd: silence extraneous printk on nfsd.ko insertion
    650417956a22 NFSD: limit the number of v4 clients to 1024 per 1GB of system memory
    59d35878294b NFSD: keep track of the number of v4 clients in the system
    0f202977cad1 NFSD: refactoring v4 specific code to a helper in nfs4state.c
    a52bb607abd0 NFSD: Ensure nf_inode is never dereferenced
    e3befca679a9 NFSD: NFSv4 CLOSE should release an nfsd_file immediately
    9be6499171fb NFSD: Move nfsd_file_trace_alloc() tracepoint
    06d9c87204b2 NFSD: Separate tracepoints for acquire and create
    4b338b528c43 NFSD: Clean up unused code after rhashtable conversion
    1bea66c08890 NFSD: Convert the filecache to use rhashtable
    208bd42a1a16 NFSD: Set up an rhashtable for the filecache
    0b3a69057db2 NFSD: Replace the "init once" mechanism
    76e2424c0d29 NFSD: Remove nfsd_file::nf_hashval
    ec30a456359c NFSD: nfsd_file_hash_remove can compute hashval
    7e8d4a933468 NFSD: Refactor __nfsd_file_close_inode()
    2aa9fd1db009 NFSD: nfsd_file_unhash can compute hashval from nf->nf_inode
    d6a23d45e2ef NFSD: Remove lockdep assertion from unhash_and_release_locked()
    e97c2d5a71cf NFSD: No longer record nf_hashval in the trace log
    1db19c3574f2 NFSD: Never call nfsd_file_gc() in foreground paths
    81e3c7702799 NFSD: Fix the filecache LRU shrinker
    ffb1a10a4405 NFSD: Leave open files out of the filecache LRU
    175f88a6d509 NFSD: Trace filecache LRU activity
    eed6df31603e NFSD: WARN when freeing an item still linked via nf_lru
    16cbc64f9ce4 NFSD: Hook up the filecache stat file
    4ade29dd0944 NFSD: Zero counters when the filecache is re-initialized
    a880dcef74da NFSD: Record number of flush calls
    ae76efbdfef7 NFSD: Report the number of items evicted by the LRU walk
    5ce93c611c13 NFSD: Refactor nfsd_file_lru_scan()
    5b6f8b083676 NFSD: Refactor nfsd_file_gc()
    c162c99a29f7 NFSD: Add nfsd_file_lru_dispose_list() helper
    4420d19ed4e4 NFSD: Report average age of filecache items
    c18563275fbc NFSD: Report count of freed filecache items
    b2dc4d30b0d8 NFSD: Report count of calls to nfsd_file_acquire()
    0369b53886ec NFSD: Report filecache LRU size
    f1785afc8946 NFSD: Demote a WARN to a pr_warn()
    f87230a7dbe4 nfsd: remove redundant assignment to variable len
    cad76843c768 NFSD: Fix space and spelling mistake
    dcbebc868503 NFSD: Instrument fh_verify()
    6345e92a9d0c NLM: Defend against file_lock changes after vfs_test_lock()
    3482739bd413 fsnotify: Fix comment typo
    b65b2d418759 fanotify: introduce FAN_MARK_IGNORE
    c1f1797a8316 fanotify: cleanups for fanotify_mark() input validations
    4c3723c53549 fanotify: prepare for setting event flags in ignore mask
    cbe3bf6fcdf1 fs: inotify: Fix typo in inotify comment
    f3222a6b66ae NFSD: Decode NFSv4 birth time attribute
    0a160dc54991 fanotify: refine the validation checks on non-dir inode mask
    47a1d1a2c1d5 NFS: restore module put when manager exits.
    261eabe19cb2 NFSD: Fix potential use-after-free in nfsd_file_put()
    ba68ab7d14dc NFSD: nfsd_file_put() can sleep
    f55b83a598db NFSD: Add documenting comment for nfsd4_release_lockowner()
    0775c8784e4c NFSD: Modernize nfsd4_release_lockowner()
    5e4ee807e35a nfsd: Fix null-ptr-deref in nfsd_fill_super()
    bf3182054995 nfsd: Unregister the cld notifier when laundry_wq create failed
    3a66ad7ea7b1 SUNRPC: Use RMW bitops in single-threaded hot paths
    7af208c9ea06 NFSD: Trace filecache opens
    73d9eb9e19c6 NFSD: Move documenting comment for nfsd4_process_open2()
    7dfad7f7da07 NFSD: Fix whitespace
    b54f6a079ab2 NFSD: Remove dprintk call sites from tail of nfsd4_open()
    106331a12b0f NFSD: Instantiate a struct file when creating a regular NFSv4 file
    ce2296da5dad NFSD: Clean up nfsd_open_verified()
    dabf24069b12 NFSD: Remove do_nfsd_create()
    62bac33a70e8 NFSD: Refactor NFSv4 OPEN(CREATE)
    ab407e0bf8d5 NFSD: Refactor NFSv3 CREATE
    3bd0ae962ba8 NFSD: Refactor nfsd_create_setattr()
    cf655c890bb6 NFSD: Avoid calling fh_drop_write() twice in do_nfsd_create()
    55cb08630eb6 NFSD: Clean up nfsd3_proc_create()
    2e0f8ee3c1ae NFSD: Show state of courtesy client in client info
    6e56a5f75c55 NFSD: add support for lock conflict to courteous server
    c3b2013544c8 fs/lock: add 2 callbacks to lock_manager_operations to resolve conflict
    a8040fed13ed fs/lock: add helper locks_owner_has_blockers to check for blockers
    d9fc2f8267e7 NFSD: move create/destroy of laundry_wq to init_nfsd and exit_nfsd
    492634cbfe3d NFSD: add support for share reservation conflict to courteous server
    26540b8940a2 NFSD: add courteous server support for thread with only delegation
    56bc7e3821e8 NFSD: Clean up nfsd_splice_actor()
    f14aa4a04472 fanotify: fix incorrect fmode_t casts
    40ca5d91b578 fsnotify: consistent behavior for parent not watching children
    f0628430d25d fsnotify: introduce mark type iterator
    a97561b460c7 fanotify: enable "evictable" inode marks
    c47bab4394a7 fanotify: use fsnotify group lock helpers
    7fcef3285ade fanotify: implement "evictable" inode marks
    33e91fb5eee5 fanotify: factor out helper fanotify_mark_update_flags()
    5054f130f81f fanotify: create helper fanotify_mark_user_flags()
    4f145b67c075 fsnotify: allow adding an inode mark without pinning inode
    3c9dc688678b dnotify: use fsnotify group lock helpers
    50612cd6a783 nfsd: use fsnotify group lock helpers
    35f3fad0e30a inotify: use fsnotify group lock helpers
    e419965d9323 fsnotify: create helpers for group mark_mutex lock
    cdf89b045b30 fsnotify: make allow_dups a property of the group
    ac51c087abd2 fsnotify: pass flags argument to fsnotify_alloc_group()
    d032dd5a823b inotify: move control flags from mask to mark flags
    93d2afc7d27c fs/lock: documentation cleanup. Replace inode->i_lock with flc_lock.
    e19ec9acfbcb fanotify: do not allow setting dirent events in mask of non-dir
    a98e5b3d958a nfsd: Clean up nfsd_file_put()
    893fa2b80235 nfsd: Fix a write performance regression
    091e4062ffd0 fsnotify: remove redundant parameter judgment
    fd7de66b50b5 fsnotify: optimize FS_MODIFY events with no ignored masks
    4bef66ca56d1 fsnotify: fix merge with parent's ignored mask
    7dcd851cf863 nfsd: fix using the correct variable for sizeof()
    bd0fee92b4e8 NFSD: Clean up _lm_ operation names
    a028a32ab617 NFSD: Remove CONFIG_NFSD_V3
    511360e1f526 NFSD: Move svc_serv_ops::svo_function into struct svc_serv
    a5deac8754d6 NFSD: Remove svc_serv_ops::svo_module
    7d94952cd5cf SUNRPC: Remove svc_shutdown_net()
    c3fa9c2d3666 SUNRPC: Rename svc_close_xprt()
    6c8231f0c289 SUNRPC: Rename svc_create_xprt()
    4c9a56a70b4d SUNRPC: Remove svo_shutdown method
    9d3cc211779a SUNRPC: Merge svc_do_enqueue_xprt() into svc_enqueue_xprt()
    466562c48101 SUNRPC: Remove the .svo_enqueue_xprt method
    61a9ecdb77c6 NFSD: Remove NFSD_PROC_ARGS_* macros
    b42c9b5d9c84 NFSD: Streamline the rare "found" case
    69e08eb5bf00 NFSD: Skip extra computation for RC_NOCACHE case
    863aed522ef0 orDate: Thu Sep 30 19:19:57 2021 -0400
    5b3110364f50 nfsd: Add support for the birth time attribute
    392c68189565 NFSD: Deprecate NFS_OFFSET_MAX
    91ec401bcd67 fsnotify: invalidate dcache before IN_DELETE event
    8d5d1b4956a1 NFSD: Move fill_pre_wcc() and fill_post_wcc()
    6be1619d4b05 NFSD: Trace boot verifier resets
    d83ffc800f12 NFSD: Rename boot verifier functions
    1510c051967e NFSD: Clean up the nfsd_net::nfssvc_boot field
    5b2cfc4bb751 NFSD: Write verifier might go backwards
    14d5c7263d42 nfsd: Add a tracepoint for errors in nfsd4_clone_file_range()
    399451927d0e NFSD: De-duplicate net_generic(SVC_NET(rqstp), nfsd_net_id)
    a330a794f428 NFSD: Clean up nfsd_vfs_write()
    e7a3814a0029 nfsd: Retry once in nfsd_open on an -EOPENSTALE return
    87e2bf374be2 nfsd: Add errno mapping for EREMOTEIO
    92453b36fabc nfsd: map EBADF
    1a197bcedf80 nfsd4: add refcount for nfsd4_blocked_lock
    64ff32b8ad80 nfs: block notification on fs with its own ->lock
    190a61768581 NFSD: De-duplicate nfsd4_decode_bitmap4()
    30000dff921e nfsd: improve stateid access bitmask documentation
    6f8664c6b50f NFSD: Combine XDR error tracepoints
    3bc94fb44f10 NFSD: simplify per-net file cache management
    fdf657bd7537 NFSD: Fix inconsistent indenting
    19fbf344ba33 NFSD: Remove be32_to_cpu() from DRC hash function
    018f6069471c NFS: switch the callback service back to non-pooled.
    a11fe42af525 lockd: use svc_set_num_threads() for thread start and stop
    f3f120852428 SUNRPC: always treat sv_nrpools==1 as "not pooled"
    5c377f380120 SUNRPC: move the pool_map definitions (back) into svc.c
    764ab3f970e6 lockd: rename lockd_create_svc() to lockd_get()
    d38cc54be6f3 lockd: introduce lockd_put()
    232cbc9b359d lockd: move svc_exit_thread() into the thread
    3b068224105c lockd: move lockd_start_svc() call into lockd_create_svc()
    ace565c3f246 lockd: simplify management of network status notifiers
    d30ef2cf0656 lockd: introduce nlmsvc_serv
    95364365f5b0 NFSD: simplify locking for network notifier.
    c1ef7e9d72d4 SUNRPC: discard svo_setup and rename svc_set_num_threads_sync()
    b11ea2be63b8 NFSD: Make it possible to use svc_set_num_threads_sync
    091b6f516c50 NFSD: narrow nfsd_mutex protection in nfsd thread
    dedfae92f9d7 SUNRPC: use sv_lock to protect updates to sv_nrthreads.
    e6f08647c559 nfsd: make nfsd_stats.th_cnt atomic_t
    c78050962735 SUNRPC: stop using ->sv_nrthreads as a refcount
    c6f2b5942783 SUNRPC/NFSD: clean up get/put functions.
    d021ef89a7de SUNRPC: change svc_get() to return the svc.
    4fdd01ce33b6 NFSD: handle errors better in write_ports_addfd()
    2049935c523e exit: Rename module_put_and_exit to module_put_and_kthread_exit
    dd6663096680 exit: Implement kthread_exit
    de7e2adfc784 fanotify: wire up FAN_RENAME event
    a187e777d74d fanotify: report old and/or new parent+name in FAN_RENAME event
    4b5743bdc592 fanotify: record either old name new name or both for FAN_RENAME
    9acb63f955ca fanotify: record old and new parent and name in FAN_RENAME event
    6a8facc4bd3e fanotify: support secondary dir fh and name in fanotify_info
    c8d3ee69ee5d fanotify: use helpers to parcel fanotify_info buffer
    3eec21b66085 fanotify: use macros to get the offset to fanotify_info buffer
    932090b8abf6 fsnotify: generate FS_RENAME event with rich information
    8bd3d40ea3df fanotify: introduce group flag FAN_REPORT_TARGET_FID
    395ff6dc9ba3 fsnotify: separate mark iterator type from object type enum
    f7d76fa9a881 fsnotify: clarify object type argument
    a20d087cdffc ext4: fix error code saved on super block during file system abort
    e11c8a6e8c92 nfsd4: remove obselete comment
    60f18f40ca88 NFSD:fix boolreturn.cocci warning
    0ca26103e06f nfsd: update create verifier comment
    bf0416e0284b SUNRPC: Change return value type of .pc_encode
    bd117f87569b SUNRPC: Replace the "__be32 *p" parameter to .pc_encode
    b24695861020 NFSD: Save location of NFSv4 COMPOUND status
    eadf587a2a25 SUNRPC: Change return value type of .pc_decode
    85658caa8bbf SUNRPC: Replace the "__be32 *p" parameter to .pc_decode
    10150232dcdd NFSD: Initialize pointer ni with NULL and not plain integer 0
    767727a7e02f NFSD: simplify struct nfsfh
    ed0815c8b7ca NFSD: drop support for ancient filehandles
    f829bb3a0682 NFSD: move filehandle format declarations out of "uapi".
    af12deba5335 NFSD: Optimize DRC bucket pruning
    61116d723ea2 NFS: Move NFS protocol display macros to global header
    53af55ba9ea2 NFS: Move generic FS show macros to global header
    f78ab849df2b SUNRPC: Tracepoints should display tk_pid and cl_clid as a fixed-size field
    20bbdbe31c0b NFS: Remove unnecessary TRACE_DEFINE_ENUM()s
    45e16146c159 docs: Document the FAN_FS_ERROR event
    b394c80e2c8d ext4: Send notifications on error
    0e825bc84df7 fanotify: Allow users to request FAN_FS_ERROR events
    c7c013dff4bd fanotify: Emit generic error info for error event
    92eb45210b87 fanotify: Report fid info for file related file system errors
    c8b6b09f3fb2 fanotify: WARN_ON against too large file handles
    ebd89f7d0737 fanotify: Add helpers to decide whether to report FID/DFID
    a83c3ed2e267 fanotify: Wrap object_fh inline space in a creator macro
    7aafd61567a9 fanotify: Support merging of error events
    c44d8071436c fanotify: Support enqueueing of error events
    9258a9908b6d fanotify: Pre-allocate pool of error events
    11280c7181b0 fanotify: Reserve UAPI bits for FAN_FS_ERROR
    c0a6b12ecde7 fsnotify: Support FS_ERROR event type
    965daffd0d15 fanotify: Require fid_mode for any non-fd event
    1dad39ebf451 fanotify: Encode empty file handle when no inode is provided
    5f34524dde58 fanotify: Allow file handle encoding for unhashed events
    900fe4d70474 fanotify: Support null inode event in fanotify_dfid_inode
    20bb62edd673 fsnotify: Pass group argument to free_event
    84f904f03116 fsnotify: Protect fsnotify_handle_inode_event from no-inode events
    4b6b5edcc701 fsnotify: Retrieve super block from the data field
    8eb16abe8937 fsnotify: Add wrapper around fsnotify_add_event
    e58d543a8cf2 fsnotify: Add helper to detect overflow_event
    3e63bff7acdb inotify: Don't force FS_IN_IGNORED
    dbeb08836b69 fanotify: Split fsid check from other fid mode checks
    cce35a487832 fanotify: Fold event size calculation to its own function
    8c7986c2bcc9 fsnotify: Don't insert unmergeable events in hashtable
    18370157880b fsnotify: clarify contract for create event hooks
    d92a8789fef6 fsnotify: pass dentry instead of inode data
    7d5be4f79dac fsnotify: pass data_type to fsnotify_name()
    764929accff3 x86/static_call: Add support for Jcc tail-calls
    7339b1ce5ea6 x86/alternatives: Teach text_poke_bp() to patch Jcc.d32 instructions
    f4ba357b0739 x86/alternatives: Introduce int3_emulate_jcc()
    9b4eff016dea x86/asm: Differentiate between code and function alignment
    ab8f581408c5 arch: Introduce CONFIG_FUNCTION_ALIGNMENT
    2ae88e83f3b7 KVM/x86: Export RFDS_NO and RFDS_CLEAR to guests
    2fb08b672eb7 x86/rfds: Mitigate Register File Data Sampling (RFDS)
    4fa001418efd Documentation/hw-vuln: Add documentation for RFDS
    a2b586df5546 x86/mmio: Disable KVM mitigation when X86_FEATURE_CLEAR_CPU_BUF is set
    598fb2804482 KVM/VMX: Move VERW closer to VMentry for MDS mitigation
    9fe80d3c1197 KVM/VMX: Use BT+JNC, i.e. EFLAGS.CF to select VMRESUME vs. VMLAUNCH
    913ae894c2b0 x86/bugs: Use ALTERNATIVE() instead of mds_user_clear static key
    d54de9f2a127 x86/entry_32: Add VERW just before userspace transition
    eabab0a5f13e x86/entry_64: Add VERW just before userspace transition
    f32b5db5fe35 x86/bugs: Add asm helpers for executing VERW
    6b54d55bb3bc x86/asm: Add _ASM_RIP() macro for x86-64 (%rip) suffix
    0a6f0f8702ea KVM: arm64: Limit stage2_apply_range() batch size to largest block
    b4926c95ad0f KVM: arm64: Work out supported block level at compile time
    142a01435c1e tty: serial: imx: Fix broken RS485
    9bd2f11ac9ef printk: Update @console_may_schedule in console_trylock_spinning()
    2280bb8577aa iommu/dma: Force swiotlb_max_mapping_size on an untrusted device
    aa4cc17b3418 dma-iommu: add iommu_dma_opt_mapping_size()
    f3e7d9471cc1 dma-mapping: add dma_opt_mapping_size()
    685e8332deff swiotlb: Fix alignment checks when both allocation and DMA masks are present
    cf716d5a0dd8 minmax: add umin(a, b) and umax(a, b)
    f2ad3ce0b0b8 entry: Respect changes to system call number by trace_sys_enter()
    2e2aadd6e175 clocksource/drivers/arm_global_timer: Fix maximum prescaler value
    4949affd5288 ACPI: CPPC: Use access_width over bit_width for system memory accesses
    ea592baf9e41 xen/events: close evtchn after mapping cleanup
    b3914fee0955 i2c: i801: Avoid potential double call to gpiod_remove_lookup_table
    4b12ff5edd14 tee: optee: Fix kernel panic caused by incorrect error handling
    a71cba07783a fs/aio: Check IOCB_AIO_RW before the struct aio_kiocb conversion
    0190d19d7651 vt: fix unicode buffer corruption when deleting characters
    7dc4ed980968 mei: me: add arrow lake point H DID
    e294f0eb3510 mei: me: add arrow lake point S DID
    fed1f00e4834 tty: serial: fsl_lpuart: avoid idle preamble pending if CTS is enabled
    a44c6c61af48 usb: port: Don't try to peer unused USB ports based on location
    92b051b87658 usb: gadget: ncm: Fix handling of zero block length packets
    6c1f36d92c0a USB: usb-storage: Prevent divide-by-0 error in isd200_ata_command
    f4ffa18d2eb0 ALSA: hda/realtek - Fix headset Mic no show at resume back for Lenovo ALC897 platform
    3e31af7c468b drm/i915: Check before removing mm notifier
    898127d612a2 tracing: Use .flush() call to wake up readers
    e126b508ed2e KVM: SVM: Flush pages under kvm->lock to fix UAF in svm_register_enc_region()
    461a4f333c5a xfrm: Avoid clang fortify warning in copy_to_user_tmpl()
    2fb9845251ce Drivers: hv: vmbus: Calculate ring buffer size for more efficient use of memory
    9a92743d533e netfilter: nf_tables: reject constant set with timeout
    7cdc1be24cc1 netfilter: nf_tables: disallow anonymous set with timeout flag
    291cca35818b netfilter: nf_tables: mark set as dead when unbinding anonymous set with timeout
    f381224482ec cpufreq: brcmstb-avs-cpufreq: fix up "add check for cpufreq_cpu_get's return value"
    df7889f78cc0 net: ravb: Add R-Car Gen4 support
    1e7d2f14a24f x86/pm: Work around false positive kmemleak report in msr_build_context()
    116562e804ff dm snapshot: fix lockup in dm_exception_table_exit
    76c1568ac842 drm/amd/display: Fix noise issue on HDMI AV mute
    efb754344932 drm/amd/display: Return the correct HDCP error code
    5d5f1a7f3b10 drm/amdgpu: amdgpu_ttm_gart_bind set gtt bound flag
    d69abe190a5f ahci: asm1064: asm1166: don't limit reported ports
    205c06684a18 ahci: asm1064: correct count of reported ports
    4be453271a88 wireguard: netlink: access device through ctx instead of peer
    710a177f3472 wireguard: netlink: check for dangling peer via is_dead instead of empty list
    3ff793aa0742 net: hns3: tracing: fix hclgevf trace event strings
    81b9ddd44d3a NFSD: Fix nfsd_clid_class use of __string_len() macro
    2031b61be8b7 x86/CPU/AMD: Update the Zenbleed microcode revisions
    d8ae3bf07ebc cpufreq: dt: always allocate zeroed cpumask
    ca581d237f3b nilfs2: prevent kernel bug at submit_bh_wbc()
    2e2619ff5d0d nilfs2: fix failure to detect DAT corruption in btree and direct mappings
    5a1729bc070f memtest: use {READ,WRITE}_ONCE in memory scanning
    e8d993bd36b6 drm/vc4: hdmi: do not return negative values from .get_modes()
    9ae98fc9fe4a drm/imx/ipuv3: do not return negative values from .get_modes()
    912c149a52c3 drm/exynos: do not return negative values from .get_modes()
    f781f0d82cf7 drm/panel: do not return negative error codes from drm_panel_get_modes()
    a55677878b93 s390/zcrypt: fix reference counting on zcrypt card objects
    9a3ca8292ce9 soc: fsl: qbman: Use raw spinlock for cgr_lock
    d378c937131a soc: fsl: qbman: Add CGR update function
    e25ceea9bc79 soc: fsl: qbman: Add helper for sanity checking cgr ops
    e6378314bb92 soc: fsl: qbman: Always disable interrupts when taking cgr_lock
    de0dcfa62306 ring-buffer: Use wait_event_interruptible() in ring_buffer_wait()
    73becffc5d08 ring-buffer: Fix full_waiters_pending in poll
    5a24b3a28d0c ring-buffer: Fix resetting of shortest_full
    d3229afd170b ring-buffer: Do not set shortest_full when full target is hit
    66fdf3a7cf52 ring-buffer: Fix waking up ring buffer readers
    34cd4d5de121 ksmbd: retrieve number of blocks using vfs_getattr in set_file_allocation_info
    f73c3e259593 vfio/platform: Disable virqfds on cleanup
    fc92804048f3 PCI: dwc: endpoint: Fix advertised resizable BAR size
    5273c56f3fd4 kbuild: Move -Wenum-{compare-conditional,enum-conversion} into W=1
    80d24b308b7e nfs: fix UAF in direct writes
    a323e5e98f46 PCI/AER: Block runtime suspend when handling errors
    967e74124f1e speakup: Fix 8bit characters from direct synth
    eebe53270b4f usb: gadget: tegra-xudc: Fix USB3 PHY retrieval logic
    fd8e9ef13ac7 phy: tegra: xusb: Add API to retrieve the port number of phy
    4960561a6c36 slimbus: core: Remove usage of the deprecated ida_simple_xx() API
    cf51c32c00c5 nvmem: meson-efuse: fix function pointer type mismatch
    239c669edb2b ext4: fix corruption during on-line resize
    d778917dd033 hwmon: (amc6821) add of_match table
    a6c13d23d9e0 landlock: Warn once if a Landlock action is requested while disabled
    6203f20d668c drm/etnaviv: Restore some id values
    05ecc53f9480 mmc: core: Fix switch on gp3 partition
    2da5568ee222 mm: swap: fix race between free_swap_and_cache() and swapoff()
    86a08ddff8bb swap: comments get_swap_device() with usage rule
    d3d858650933 mac802154: fix llsec key resources release in mac802154_llsec_key_del
    a3b6004bfc2f dm-raid: fix lockdep waring in "pers->hot_add_disk"
    125de155011c PCI/DPC: Quirk PIO log size for Intel Raptor Lake Root Ports
    4e194de3a961 PCI/DPC: Quirk PIO log size for certain Intel Root Ports
    ecbe3ca2ac9c PCI/ASPM: Make Intel DG2 L1 acceptable latency unlimited
    25f6c4c440b6 PCI: Work around Intel I210 ROM BAR overlap defect
    7cc94dd36e48 PCI/PM: Drain runtime-idle callbacks before driver removal
    95e86a8f1c9e PCI: Drop pci_device_remove() test of pci_dev->driver
    fa3762b45ea9 btrfs: fix off-by-one chunk length calculation at contains_pending_extent()
    bbf72db11fe6 serial: Lock console when calling into driver before registration
    63f8999cac33 printk/console: Split out code that enables default console
    3f6a9daf0da4 usb: typec: ucsi: Clean up UCSI_CABLE_PROP macros
    6eac5030fc97 fuse: don't unhash root
    773783681d87 fuse: fix root lookup with nonzero generation
    ede56884ccde mmc: tmio: avoid concurrent runs of mmc_request_done()
    f3f867201bb8 PM: sleep: wakeirq: fix wake irq warning in system suspend
    ad71f7bbd4c2 USB: serial: cp210x: add pid/vid for TDK NC0110013M and MM0110113M
    c1db6b1613ed USB: serial: option: add MeiG Smart SLM320 product
    f9bad5759668 USB: serial: cp210x: add ID for MGP Instruments PDS100
    1342e40c0779 USB: serial: add device ID for VeriFone adapter
    60e9148baf12 USB: serial: ftdi_sio: add support for GMC Z216C Adapter IR-USB
    c11808f4fb71 powerpc/fsl: Fix mfpmr build errors with newer binutils
    4a49d24fdec0 usb: xhci: Add error handling in xhci_map_urb_for_dma
    8f562f3b2517 clk: qcom: mmcc-msm8974: fix terminating of frequency table arrays
    3aedcf3755c7 clk: qcom: mmcc-apq8084: fix terminating of frequency table arrays
    9de184d4e557 clk: qcom: gcc-ipq8074: fix terminating of frequency table arrays
    b4527ee3de36 clk: qcom: gcc-ipq6018: fix terminating of frequency table arrays
    18f1f468dd79 PM: suspend: Set mem_sleep_current during kernel command line setup
    0552d5727e80 parisc: Strip upper 32 bit of sum in csum_ipv6_magic for 64-bit builds
    6a427a132e73 parisc: Fix csum_ipv6_magic on 64-bit systems
    c38df21ec9a0 parisc: Fix csum_ipv6_magic on 32-bit systems
    6817e1a1d650 parisc: Fix ip_fast_csum
    a903a1e93f3b parisc: Avoid clobbering the C/B bits in the PSW with tophys and tovirt macros
    60d6c5d40de9 mtd: rawnand: meson: fix scrambling mode value in command macro
    6f203afea2dc ubi: correct the calculation of fastmap size
    8ce982285414 ubi: Check for too small LEB size in VTBL code
    f19b1023a375 ubifs: Set page uptodate in the correct place
    b7fb63e807c6 fat: fix uninitialized field in nostale filehandles
    d2a7a81088c6 bounds: support non-power-of-two CONFIG_NR_CPUS
    218e2610b015 kasan/test: avoid gcc warning for intentional overflow
    76645e0f5a2a kasan: test: add memcpy test that avoids out-of-bounds write
    d05e6ba1b74a block: Clear zone limits for a non-zoned stacked queue
    447753bdd69b ext4: correct best extent lstart adjustment logic
    29d7089bed0d selftests/mqueue: Set timeout to 180 seconds
    4ae5a97781ce crypto: qat - resolve race condition during AER recovery
    b228e16a3ae1 crypto: qat - fix double free during reset
    980cc81298c0 sparc: vDSO: fix return value of __setup handler
    dc8c55b3ecbc sparc64: NMI watchdog: fix return value of __setup handler
    83d3c5e30961 KVM: Always flush async #PF workqueue when vCPU is being destroyed
    fec51819607f media: xc4000: Fix atomicity violation in xc4000_get_frequency
    5e4b23e7a7b3 pci_iounmap(): Fix MMIO mapping leak
    899e154f9546 drm/vmwgfx: Fix possible null pointer derefence with invalid contexts
    29a327c4544a arm: dts: marvell: Fix maxium->maxim typo in brownstone dts
    840e1b69081a smack: Handle SMACK64TRANSMUTE in smack_inode_setsecurity()
    28b78c7b620e smack: Set SMACK64TRANSMUTE only for dirs in smack_inode_setxattr()
    8b47e69ac83e clk: qcom: gcc-sdm845: Add soft dependency on rpmhpd
    0fa86b3b6a15 media: staging: ipu3-imgu: Set fields before media_entity_pads_init()
    8c36205123dc wifi: brcmfmac: Fix use-after-free bug in brcmf_cfg80211_detach
    2382f2e45c71 timers: Rename del_timer_sync() to timer_delete_sync()
    2a873e61782f timers: Use del_timer_sync() even on UP
    1c2f22864bcd timers: Update kernel-doc for various functions
    85c3bdff671f KVM: x86: Use a switch statement and macros in __feature_translate()
    01771ffad6f1 KVM: x86: Advertise CPUID.(EAX=7,ECX=2):EDX[5:0] to userspace
    e99e8685fde5 KVM: x86: Update KVM-only leaf handling to allow for 100% KVM-only leafs
    9ccce26837a8 x86/bugs: Use sysfs_emit()
    4957fd741d61 x86/cpu: Support AMD Automatic IBRS
    26445d9bb036 Documentation/hw-vuln: Update spectre doc
    8d1bab770956 locking/rwsem: Disable preemption while trying for rwsem lock
    7c82dac02886 block, loop: support partitions without scanning
    45f504f301d4 bpftool: Fix pretty print dump for maps without BTF loaded
    1f24338cb789 jbd2: Drop the merge conflicted hunk
    e1d0e3c51bde tpm: tis_i2c: Limit write bursts to I2C_SMBUS_BLOCK_MAX (32) bytes
    1abe841fe331 tpm: tis_i2c: Limit read bursts to I2C_SMBUS_BLOCK_MAX (32) bytes
    6224acfc1d56 tpm: Add flag to use default cancellation policy
    1cd19d48fb90 tpm: tis_i2c: Fix sanity check interrupt enable mask
    a883da132fa8 tpm: Add tpm_tis_i2c backend for tpm_tis_core
    a742ac8a1c51 tpm: Add tpm_tis_verify_crc to the tpm_tis_phy_ops protocol layer
    ef495c5f45f2 tpm: Remove read16/read32/write32 calls from tpm_tis_phy_ops
    1f3be2e23aa6 gcc-plugins: Reorganize gimple includes for GCC 13
    24615a3b932a ata: ahci: fix enum constants for gcc-13
    5d6cb145541a net: stmmac: Enable mac_managed_pm phylink config
    fd93aabb4287 tools/resolve_btfids: Use pkg-config to locate libelf
    130f9da78406 tools/resolve_btfids: Build with host flags
    00f2f1a782f9 tools/resolve_btfids: Support cross-building the kernel with clang
    17776a4ba9c2 tools/resolve_btfids: Install libbpf headers when building
    7c9808380d70 libbpf: Make libbpf_version.h non-auto-generated
    37ae1ba791ac libbpf: Add LIBBPF_DEPRECATED_SINCE macro for scheduling API deprecations
    a2667e6d7314 drm/radeon: free iio for atombios when driver shutdown
    f100c753aa1f powerpc: Fix reschedule bug in KUAP-unlocked user copy
    da5513f30187 libbpf: Fix build warning on ref_ctr_off
    4c5a089621a8 perf python: Account for multiple words in CC
    1c5699ee85d4 fs: move S_ISGID stripping into the vfs_*() helpers
    838f5d0701d8 fs: add mode_strip_sgid() helper
    d97172683641 squashfs: provide backing_dev_info in order to disable read-ahead
    ed037d7be40c irq_work: use kasan_record_aux_stack_noalloc() record callstack
    1363bd7dbde3 ixgbevf: add disable link state
    e5601ae2bd24 ixgbe: add improvement for MDD response functionality
    caa57cd80575 ixgbe: add the ability for the PF to disable VF link state
    16a77bfcc7df Check /dev/console using init_stat()
    04574fd5579a tracing/arm: Have max stack tracer handle the case of return address after data
    0e51e5717018 gpiolib: cdev: Set lineevent_state::irq after IRQ register successfully
    1e6b7da6ddba drivers/base: Fix unsigned comparison to -1 in CPUMAP_FILE_MAX_BYTES
    493160901320 mtd_blkdevs: add mtd_table_mutex lock back to blktrans_{open, release} to avoid race condition
    04224f725aa3 irqchip/gic-v3-its: Skip HP notifier when no ITS is registered
    6f6c2996a81c irqchip/gic-v3-its: Postpone LPI pending table freeing and memreserve
    1fa94473423f irqchip/gic-v3-its: Give the percpu rdist struct its own flags field
    6013d1ae5feb cert host tools: Stop complaining about deprecated OpenSSL functions
    efe20512212b init/Kconfig: fix CC_HAS_ASM_GOTO_TIED_OUTPUT test with dash
    a40d2daf2795 pnmtologo: use relocatable file name
    3b40d5b41155 of: configfs: remove unused variable overlay_lock
    6c085baf1838 tools: use basename to identify file in gen-mach-types
    2fca0fd71981 lib/build_OID_registry: fix reproducibility issues
    0f586f4ee8ad vt/conmakehash: improve reproducibility
    a75774679f28 OF: DT-Overlay configfs interface (v8)
    d179c639b30b x86/boot: Wrap literal addresses in absolute_pointer()
    856ec356cf91 ACPI: thermal: drop an always true check
    7614af249993 xfs: Fix -Werror=dangling-pointer work-around for older GCC
    41470215f97e xfs: Work around GCC 12 -Werror=dangling-pointer for xfs_attr_remote.o
    44a445c1922d virtio-pci: Remove wrong address verification in vp_del_vqs()
    77aa9e489eaf bpf: Disallow unprivileged bpf by default
    ebfb1822e9f9 fs/aufs: fixup 5.15.36 fixups
    4eba9348d3e2 Revert "Revert "fbdev: Hot-unplug firmware fb devices on forced removal""
    5df6d1b00f95 jbd2: fix use-after-free of transaction_t race
    2d83e8196487 jbd2: refactor wait logic for transaction updates into a common function
    07a63f760793 netfilter: conntrack: avoid useless indirection during conntrack destruction
    4e7122625996 Revert "fbdev: Hot-unplug firmware fb devices on forced removal"
    7ba4cb36fd4f rcu: Avoid alloc_pages() when recording stack
    f78574dee71e kasan: test: silence intentional read overflow warnings
    d313cb89b6b1 kasan: arm64: fix pcpu_page_first_chunk crash with KASAN_VMALLOC
    5e279d5647cc arm64: support page mapping percpu first chunk allocator
    e5bf16752dca vmalloc: choose a better start address in vm_area_register_early()
    660b3d21b46f kasan: test: bypass __alloc_size checks
    00aa7573e53a kasan: test: add memcpy test that avoids out-of-bounds write
    67becf0b1bd4 kasan: fix tag for large allocations when using CONFIG_SLAB
    bedf1e033213 workqueue, kasan: avoid alloc_pages() when recording stack
    7195b67ce69b kasan: generic: introduce kasan_record_aux_stack_noalloc()
    bdff763f0e29 kasan: common: provide can_alloc in kasan_save_stack()
    51423ebb36ad lib/stackdepot: introduce __stack_depot_save()
    85373e66d847 lib/stackdepot: remove unused function argument
    5b6cc9b251f3 lib/stackdepot: include gfp.h
    c9f3902d8069 aufs: reduce overhead for "code present but disabled" use case.
    b98d189df02c aufs: bugfix, umount passes NULL to ->parse_monolithic()
    13b883cbbbd9 aufs standalone: cosmetic, missing copyright sentence
    21f8b0d81898 aufs: 5.15.5-20220117 ---> 5.15.5-20220221
    6199fd896645 aufs: tiny, headers after fs_context
    8ddb40e31c29 aufs: fs_context 7/7, finally remount
    69035f71c6fd aufs: fs_context 6/7, now mount
    bc841b970697 aufs: fs_context 5/7, parse all other mount options
    435188053da2 aufs: fs_context 4/7, parse xino options
    9af1f1825cbd aufs: fs_context 3/7, parse the branch-management options
    1c05eb767f8c aufs: fs_context 2/7, parse "br" mount option
    a8488f603134 aufs: fs_context 1/7, skelton of the new shceme
    8e32e0015564 aufs: pre fs_context, convert a static flag to a macro
    f90cb4144aec aufs: pre fs_context, support the incomplete sb and sbinfo case
    948762ef859c aufs: pre fs_context, convert the type of alloc_sbinfo()
    77151a08776b aufs: 5.15.5-20211129 ---> 5.15.5-20220117
    2539adbbbe1e aufs: 5.14-20211018 ---> 5.15.5-20211129
    7d32b25193c4 aufs: for v5.15-rc1, sync_inode() is gone
    66ec0c509225 aufs: for v5.15-rc1, new param 'rcu' for ->get_acl()
    69709dc518cd aufs: for v5.15-rc1, no mand-lock anymore
    ada8fe9543e5 aufs: 5.14-20210906  ---> 5.14-20211018
    b77f7f3f394a Revert "aufs: adjust to v5.15 fs changes"
    81bdce5b5876 tick/nohz: WARN_ON --> WARN_ON_ONCE to prevent console saturation
    97c963889222 sched/isolation: really align nohz_full with rcu_nocbs
    871f23ad3627 Revert "ARM: defconfig: Enable ax88796c driver for Exynos boards"
    ffad0783dd5b ARM: config: multi v7: Regenerate defconifg
    5c1e1a1ff2d3 ARM: config: multi v7: Add renamed symbols
    badaf96564fe ARM: config: multi v7: Clean up enabled by default options
    34996040fc9b ARM: config: multi v7: Drop unavailable options
    7f685244afb3 powerpc/mm: Switch obsolete dssall to .long
    20301aeb1a64 riscv: fix build with binutils 2.38
    9df58d070506 powerpc/lib/sstep: fix 'ptesync' build error
    720b61fc400b x86_64_defconfig: Fix warnings
    02bf23d26bc4 arm64: defconfig: cleanup config options
    05914e2c87e5 arm: defconfig: drop unused POWER_AVS option
    ffb532fa19b9 aufs5: fix build against v5.15.3+
    a4b3abf4d96d qemux86: add configuration symbol to select values
    fee94ee09154 clear_warn_once: add a clear_warn_once= boot parameter
    3d8762d900d9 clear_warn_once: bind a timer to written reset value
    95faacac47e8 clear_warn_once: expand debugfs to include read support
    de20c4240018 perf: perf can not parser the backtrace of app in the 32bit system and 64bit kernel.
    0e4aacead9c1 perf: x86-32: explicitly include <errno.h>
    9ad92c11468e perf: mips64: Convert __u64 to unsigned long long
    09e7efe3e68a perf: fix bench numa compilation
    e79becc44fa6 perf: add SLANG_INC for slang.h
    b1033b588681 perf: add sgidefs.h to for mips builds
    cf9db484ac0b perf: change --root to --prefix for python install
    7fd052c2c562 perf: add 'libperl not found' warning
    27a437cdd469 perf: force include of <stdbool.h>
    3b99d21bec2f fat: don't use obsolete random32 call in namei_vfat
    a7e9293b506b FAT: Added FAT_NO_83NAME
    6fd0e71d9e5c FAT: Add CONFIG_VFAT_NO_CREATE_WITH_LONGNAMES option
    c379b0d324ae FAT: Add CONFIG_VFAT_FS_NO_DUALNAMES option
    538be0fdb124 aufs: adjust to v5.15 fs changes
    f45da75c8759 aufs5: core
    047f57e07e01 aufs5: standalone
    029fc15574c8 aufs5: mmap
    610d0192ee94 aufs5: base
    d4e428d0ec5f aufs5: kbuild
    eb067eca251a yaffs: replace IS_ERR with IS_ERR_OR_NULL to check both ERR and NULL
    286af18d0875 yaffs: fix -Wstringop-overread compile warning in yaffs_fix_null_name
    24d59a4e26a6 yaffs2: v5.12+ build fixups (not runtime tested)
    22c73536d5d7 yaffs: include blkdev.h
    506b7251bfb8 yaffs: fix misplaced variable declaration
    a0e26ff364dc yaffs2: v5.6 build fixups
    b10b1b2d169e yaffs2: fix memory leak when /proc/yaffs is read
    ad9adccbb214 yaffs: add strict check when call yaffs_internal_read_super
    2e3c3aec8279 yaffs: repair yaffs_get_mtd_device
    d662538516a7 yaffs: Fix build failure by handling inode i_version with proper atomic API
    70a6113ee2c7 yaffs2: fix memory leak in mount/umount
    3378e4a9e404 yaffs: Avoid setting any ACL releated xattr
    ec2284edddef Yaffs:check oob size before auto selecting Yaffs1
    c2a49874051c fs: yaffs2: replace CURRENT_TIME by other appropriate apis
    e9a5105a3e73 yaffs2: adjust to proper location of MS_RDONLY
    608807406f13 yaffs2: import git revision b4ce1bb (jan, 2020)
    89e660ece42c initramfs: allow an optional wrapper script around initramfs generation
    b179dbc9aa10 iwlwifi: select MAC80211_LEDS conditionally
    3fd5ca3673d0 net/dccp: make it depend on CONFIG_BROKEN (CVE-2020-16119)
    d1f6edbf0188 arm64/perf: Fix wrong cast that may cause wrong truncation
    d202fb2caf33 defconfigs: drop obselete options
    9a27e3b5f4e7 arm64/perf: fix backtrace for AAPCS with FP enabled
    e20d8cf019b4 linux-yocto: Handle /bin/awk issues
    b6d2a3dbbd3a uvesafb: provide option to specify timeout for task completion
    adb40f1e6a1a uvesafb: print error message when task timeout occurs
    f280a1ed0962 compiler.h: Undef before redefining __attribute_const__
    4352732f268c vmware: include jiffies.h
    7954a677968d Resolve jiffies wrapping about arp
    5f28a1035d95 nfs: Allow default io size to be configured.
    0d7260ad7106 check console device file on fs when booting
    900a12e37e0a mount_root: clarify error messages for when no rootfs found
    7b878cbea726 menuconfig,mconf-cfg: Allow specification of ncurses location
    6604fc1763b3 modpost: mask trivial warnings
    0d294adb09cb kbuild: exclude meta directory from distclean processing
    a097cdd95a9e powerpc: serialize image targets
    5db6ec39a0a3 arm: serialize build targets
    cbabca27905e crtsavres: fixups for 5.4+
    7fc7656ed403 powerpc/ptrace: Disable array-bounds warning with gcc8
    a5faac5a19a2 powerpc: Disable attribute-alias warnings from gcc8
    186c54665b67 powerpc: add crtsavres.o to archprepare for kbuild
    d1ea862964ca powerpc: kexec fix for powerpc64
    2ac35b89a0f9 powerpc: Add unwind information for SPE registers of E500 core
    2e1c348a28bb mips: vdso: fix 'jalr $t9' crash in vdso code
    ec57870b303a mips: Kconfig: add QEMUMIPS64 option
    6a81b3c08107 4kc cache tlb hazard: tlbp cache coherency
    74e3b2a21e54 malta uhci quirks: make allowance for slow 4k(e)c
    22e65b63d3b4 arm/Makefile: Fix systemtap
    b7f1ab59f19e vexpress: Pass LOADADDR to Makefile
    ce2800c73bf7 arm: ARM EABI socketcall
    019d142fd956 ARM: LPAE: Invalidate the TLB for module addresses during translation fault

(From OE-Core rev: d34a2df7a7bba954ec9e1a6f5c4a8f1b5789256c)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-05-15 09:44:15 -07:00
Bruce Ashfield
7bcb5213be linux-yocto/5.15: update CVE exclusions (5.15.153)
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: 2a4c110a9c019cfa0ade1eeed68857c50a232e74)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-05-15 09:44:15 -07:00
Bruce Ashfield
a871df9e3e linux-yocto/5.15: update to v5.15.153
Updating linux-yocto/5.15 to the latest korg -stable release that comprises
the following commits:

    9465fef4ae35 Linux 5.15.153
    d180150ea714 remoteproc: stm32: fix incorrect optional pointers
    85e26c4a74ff regmap: Add missing map->bus check
    c10fed329c1c spi: spi-mt65xx: Fix NULL pointer access in interrupt handler
    839308cf7957 net: dsa: mt7530: fix handling of all link-local frames
    cb302aa9948d net: dsa: mt7530: fix link-local frames that ingress vlan filtering ports
    70424a8f4585 net: dsa: mt7530: fix handling of 802.1X PAE frames
    c210fb3c45d7 net: dsa: mt7530: fix handling of LLDP frames
    387daae8b092 bpf: report RCU QS in cpumap kthread
    2f1d402dcc01 net: report RCU QS on threaded NAPI repolling
    083657dc7cc7 rcu: add a helper to report consolidated flavor QS
    640dbf688ba9 netfilter: nf_tables: do not compare internal table flags on updates
    362508506bf5 netfilter: nft_set_pipapo: release elements in clone only from destroy path
    772f18ded0e2 octeontx2-af: Use separate handlers for interrupts
    8ffcd3ccdbda net/bnx2x: Prevent access to a freed page in page_pool
    f1e560cdb132 net: phy: fix phy_read_poll_timeout argument type in genphy_loopback
    5deee0f7c292 hsr: Handle failures in module init
    8c378cc522ae rds: introduce acquire/release ordering in acquire/release_in_xmit()
    d691be84ab89 wireguard: receive: annotate data-race around receiving_counter.counter
    2b2f8d166fcc vdpa/mlx5: Allow CVQ size changes
    4d61084c5cfd net: dsa: mt7530: prevent possible incorrect XTAL frequency selection
    f85c87a80328 net: veth: do not manipulate GRO when using XDP
    d35b62c224e7 packet: annotate data-races around ignore_outgoing
    9fcadd125044 net: ethernet: mtk_eth_soc: fix PPE hanging issue
    448cc8b5f743 net: mediatek: mtk_eth_soc: clear MAC_MCR_FORCE_LINK only when MAC is up
    c5c0760adc26 net: mtk_eth_soc: move MAC_MCR setting to mac_finish()
    a809bbfd0e50 hsr: Fix uninit-value access in hsr_get_node()
    ccafa081bece soc: fsl: dpio: fix kcalloc() argument order
    4b9d72498df0 s390/vtime: fix average steal time calculation
    8fdc7b408a55 octeontx2-af: Use matching wake_up API variant in CGX command interface
    aa5ab5ce3496 nouveau: reset the bo resource bus info after an eviction
    deb5946255e0 io_uring: don't save/restore iowait state
    1049fa4d02fd usb: gadget: net2272: Use irqflags in the call to net2272_probe_fin
    463c429bdd56 staging: greybus: fix get_channel_from_mode() failure path
    6c619223aa21 serial: 8250_exar: Don't remove GPIO device on suspend
    f867ba8ea1f3 rtc: mt6397: select IRQ_DOMAIN instead of depending on it
    04dd61330fe8 kconfig: fix infinite loop when expanding a macro at the end of file
    3019ad4a0282 arm64: dts: broadcom: bcmbca: bcm4908: drop invalid switch cells
    c220378081ca tty: serial: samsung: fix tx_empty() to return TIOCSER_TEMT
    e6011abe0cc1 serial: max310x: fix syntax error in IRQ error message
    19b21318377e tty: vt: fix 20 vs 0x20 typo in EScsiignore
    ea34c1c1f317 remoteproc: stm32: Fix incorrect type assignment returned by stm32_rproc_get_loaded_rsc_tablef
    dd68756ae351 remoteproc: stm32: Fix incorrect type in assignment for va
    a48c24ccc6b9 remoteproc: stm32: use correct format strings on 64-bit
    da0ad1bdc659 comedi: comedi_test: Prevent timers rescheduling during deletion
    a6ffae61ad9e afs: Revert "afs: Hide silly-rename files from userspace"
    fa3ac8b1a227 f2fs: compress: fix reserve_cblocks counting error when out of space
    6ca2ea698d47 NFS: Fix an off by one in root_nfs_cat()
    704dc0138718 watchdog: stm32_iwdg: initialize default timeout
    446f55d0d4f0 NFSv4.2: fix listxattr maximum XDR buffer size
    9d52865ff282 NFSv4.2: fix nfs4_listxattr kernel BUG at mm/usercopy.c:102
    6233dbe9ca1c net: sunrpc: Fix an off by one in rpc_sockaddr2uaddr()
    83edcda1d855 scsi: bfa: Fix function pointer type mismatch for hcb_qe->cbfn
    16a5bed6d265 RDMA/rtrs-clt: Check strnlen return len in sysfs mpath_policy_store()
    ed3e66d86ec3 RDMA/device: Fix a race between mad_client and cm_client init
    a27984f631e8 scsi: csiostor: Avoid function pointer casts
    4a411fc3363f f2fs: compress: fix to check unreleased compressed cluster
    7d420eaaa18e f2fs: compress: fix to cover normal cluster write with cp_rwsem
    ed22aef701f4 f2fs: reduce stack memory cost by using bitfield in struct f2fs_io_info
    b2713af17ac9 f2fs: invalidate meta pages only for post_read required inode
    6117d8b79f48 f2fs: fix to invalidate META_MAPPING before DIO write
    5d553a56de27 f2fs: replace congestion_wait() calls with io_schedule_timeout()
    bc7e7e7d647c f2fs: invalidate META_MAPPING before IPU/DIO write
    4a543790fdc3 f2fs: multidevice: support direct IO
    6413e78086ca RDMA/srpt: Do not register event handler until srpt device is fully setup
    9af1658ba293 ALSA: usb-audio: Stop parsing channels bits when all channels are found.
    e9fbee067379 ALSA: hda/realtek: fix ALC285 issues on HP Envy x360 laptops
    01511ac7be8e clk: zynq: Prevent null pointer dereference caused by kmalloc failure
    0efb9ef6fb95 clk: Fix clk_core_get NULL dereference
    d83d70b25d2d sparc32: Fix section mismatch in leon_pci_grpci
    e4723c6b3e79 backlight: lp8788: Fully initialize backlight_properties during probe
    73f547f2598a backlight: lm3639: Fully initialize backlight_properties during probe
    d01286f9911c backlight: da9052: Fully initialize backlight_properties during probe
    28e37f97b161 backlight: lm3630a: Don't set bl->props.brightness in get_brightness
    a80fb03dda21 backlight: lm3630a: Initialize backlight_properties on init
    f28b72162f05 leds: sgm3140: Add missing timer cleanup and flash gpio control
    663dea03055d leds: aw2013: Unlock mutex before destroying it
    d63abda6c8b3 powerpc/embedded6xx: Fix no previous prototype for avr_uart_send() etc.
    6a3d4afc5499 modules: wait do_free_init correctly
    a91eef04a775 module: Add support for default value for module async_probe
    6304ed16038d drm/msm/dpu: add division of drm_display_mode's hskew parameter
    f4108b28dce0 powerpc/hv-gpci: Fix the H_GET_PERF_COUNTER_INFO hcall return value checks
    9beec711a172 drm/mediatek: Fix a null pointer crash in mtk_drm_crtc_finish_page_flip
    e5aaa9f8dbc5 media: mediatek: vcodec: avoid -Wcast-function-type-strict warning
    24e51d6eb578 media: ttpci: fix two memleaks in budget_av_attach
    790fa2c04dfb media: go7007: fix a memleak in go7007_load_encoder
    d20b64f156de media: dvb-frontends: avoid stack overflow warnings with clang
    eb6e9dce979c media: pvrusb2: fix uaf in pvr2_context_set_notify
    d8e83a625cee drm/amdgpu: Fix missing break in ATOM_ARG_IMM Case of atom_get_src_int()
    815d1f1c6714 HID: amd_sfh: Update HPD sensor structure elements
    8abf014e0c79 ASoC: meson: axg-tdm-interface: add frame rate constraint
    844101226143 ASoC: meson: axg-tdm-interface: fix mclk setup without mclk-fs
    e3adf12624bb mtd: rawnand: lpc32xx_mlc: fix irq handler prototype
    7178a272490d mtd: maps: physmap-core: fix flash size larger than 32-bit
    3ae4bd815fd3 drm/tidss: Fix initial plane zpos values
    9cc746346dc5 crypto: arm/sha - fix function cast warnings
    010cf12f596a mfd: altera-sysmgr: Call of_node_put() only when of_parse_phandle() takes a ref
    1d50e295784e mfd: syscon: Call of_node_put() only when of_parse_phandle() takes a ref
    240c4f1159f7 drm/tegra: put drm_gem_object ref on error in tegra_fb_create
    3f8445f1c746 clk: hisilicon: hi3559a: Fix an erroneous devm_kfree()
    62d92b3507fe clk: hisilicon: hi3519: Release the correct number of gates in hi3519_clk_unregister()
    118a7113db31 PCI: Mark 3ware-9650SE Root Port Extended Tags as broken
    754646012867 drm/mediatek: dsi: Fix DSI RGB666 formats and definitions
    4e37c5342236 clk: qcom: dispcc-sdm845: Adjust internal GDSC wait times
    fe68cf273906 media: pvrusb2: fix pvr2_stream_callback casts
    4f2a1657f9ab media: pvrusb2: remove redundant NULL check
    8e19050ab9b9 media: go7007: add check of return value of go7007_read_addr()
    b1d0eebaf87c media: imx: csc/scaler: fix v4l2_ctrl_handler memory leak
    f27bcdae5730 media: sun8i-di: Fix chroma difference threshold
    de09db4e5d10 media: sun8i-di: Fix power on/off sequences
    4bdc1b352ec0 media: sun8i-di: Fix coefficient writes
    a62b9f3d7bbf NTB: fix possible name leak in ntb_register_device()
    87d306cdeb9e NTB: EPF: fix possible memory leak in pci_vntb_probe()
    e2b6ef72b7ae PCI: endpoint: Support NTB transfer between RC and EP
    caf5cf099016 powerpc: Force inlining of arch_vmap_p{u/m}d_supported()
    4eb47ae93f4d ASoC: meson: t9015: fix function pointer type mismatch
    a3fec4744621 ASoC: meson: aiu: fix function pointer type mismatch
    a26425b7624d ASoC: meson: Use dev_err_probe() helper
    3d1d02973414 perf stat: Avoid metric-only segv
    3cae4f4153d3 ALSA: seq: fix function cast warnings
    7378234eeeac drm/radeon/ni: Fix wrong firmware size logging in ni_init_microcode()
    abb9bea45b43 perf thread_map: Free strlist on normal path in thread_map__new_by_tid_str()
    03e6d4e94843 crypto: xilinx - call finalize with bh disabled
    ce6e3c04119b PCI: switchtec: Fix an error handling path in switchtec_pci_probe()
    0bdb56eae235 PCI/P2PDMA: Fix a sleeping issue in a RCU read section
    56cad01c5463 quota: Fix rcu annotations of inode dquot pointers
    1ca72a3de915 quota: Fix potential NULL pointer dereference
    f2ddd8103f00 quota: simplify drop_dquot_ref()
    f630ba2386c8 clk: qcom: reset: Ensure write completion on reset de/assertion
    e5bb4f4324e9 clk: qcom: reset: Commonize the de/assert functions
    e8c71db0d8f1 pinctrl: mediatek: Drop bogus slew rate register range for MT8192
    0d3fe80b6d17 media: edia: dvbdev: fix a use-after-free
    dc866b69cc51 media: v4l2-mem2mem: fix a memleak in v4l2_m2m_register_entity
    770a57922ce3 media: v4l2-tpg: fix some memleaks in tpg_alloc
    e9d05d5d8411 media: em28xx: annotate unchecked call to media_device_register()
    a03ed00787b0 clk: meson: Add missing clocks to axg_clk_regmaps
    54985391dec2 perf evsel: Fix duplicate initialization of data->id in evsel__parse_sample()
    6ac7c7a3a9ab drm/amd/display: Fix potential NULL pointer dereferences in 'dcn10_set_output_transfer_func()'
    440f05983741 drm/amd/display: Fix a potential buffer overflow in 'dp_dsc_clock_en_read()'
    d54877c83528 HID: lenovo: Add middleclick_workaround sysfs knob for cptkbd
    d9f8bbc6d7cf perf record: Fix possible incorrect free in record__switch_output()
    87658f16082b PCI/DPC: Print all TLP Prefixes, not just the first
    b8505a1aee8f media: tc358743: register v4l2 async device only after successful setup
    4c309e06aa90 dmaengine: tegra210-adma: Update dependency to ARCH_TEGRA
    746606d37d66 drm/lima: fix a memleak in lima_heap_alloc
    1bb5fea94e62 drm/rockchip: lvds: do not print scary message when probing defer
    f3afb5361819 drm/rockchip: lvds: do not overwrite error code
    03b1072616a8 drm/vmwgfx: fix a memleak in vmw_gmrid_man_get_node
    5eaa1597e231 drm/ttm: add ttm_resource_fini v2
    2fa491a1f4a8 drm: Don't treat 0 as -1 in drm_fixp2int_ceil
    c780f00854af drm/rockchip: inno_hdmi: Fix video timing
    13c121279941 drm/tegra: output: Fix missing i2c_put_adapter() in the error handling paths of tegra_output_probe()
    5c8dc26e31b8 drm/tegra: rgb: Fix missing clk_put() in the error handling paths of tegra_dc_rgb_probe()
    7ec1d3cab93e drm/tegra: rgb: Fix some error handling paths in tegra_dc_rgb_probe()
    527bf2adf012 drm/tegra: dc: rgb: Allow changing PLLD rate on Tegra30+
    bfd52f7df633 drm/tegra: dsi: Fix missing pm_runtime_disable() in the error handling path of tegra_dsi_probe()
    1d2f14eb47ad drm/tegra: dsi: Fix some error handling paths in tegra_dsi_probe()
    26827907c27e drm/tegra: dsi: Make use of the helper function dev_err_probe()
    56ec754fd767 drm/tegra: dpaux: Fix PM disable depth imbalance in tegra_dpaux_probe
    49ebcae0b9b8 drm/tegra: dpaux: Populate AUX bus
    93128052bf83 drm/tegra: dsi: Add missing check for of_find_device_by_node
    03ad5ad53e51 dm: call the resume method on internal suspend
    85177297117c dm raid: fix false positive for requeue needed during reshape
    0d387dc503f9 nfp: flower: handle acti_netdevs allocation failure
    3538d11d2a06 net/x25: fix incorrect parameter validation in the x25_getsockopt() function
    382df231ab3d net: kcm: fix incorrect parameter validation in the kcm_getsockopt) function
    3a32dce1adcd udp: fix incorrect parameter validation in the udp_lib_getsockopt() function
    6482113f9c75 l2tp: fix incorrect parameter validation in the pppol2tp_getsockopt() function
    3988110ecf68 ipmr: fix incorrect parameter validation in the ip_mroute_getsockopt() function
    71ce163f3e91 bpf: net: Change do_ip_getsockopt() to take the sockptr_t argument
    07aa35a50fe6 bpf: net: Change sk_getsockopt() to take the sockptr_t argument
    25e5c9b20e0a net: Change sock_getsockopt() to take the sk ptr instead of the sock ptr
    400298502354 tcp: fix incorrect parameter validation in the do_tcp_getsockopt() function
    c09fc67777b8 OPP: debugfs: Fix warning around icc_get_name()
    78a60f910353 net: phy: dp83822: Fix RGMII TX delay configuration
    fedd8c7d29f4 net: phy: DP83822: enable rgmii mode if phy_interface_is_rgmii
    f82d65e8f7ff net: hns3: fix port duplex configure error in IMP reset
    23ec1cec2429 net: hns3: fix kernel crash when 1588 is received on HIP08 devices
    0e939a002c8a net: phy: fix phy_get_internal_delay accessing an empty array
    5c03387021cf net: ip_tunnel: make sure to pull inner header in ip_tunnel_rcv()
    65fb1d271cbc ipv6: fib6_rules: flush route cache when rule is changed
    ca1f06e72dec bpf: Fix stackmap overflow check on 32-bit arches
    3b08cfc65f07 bpf: Fix hashtab overflow check on 32-bit arches
    c826502bed93 bpf: Fix DEVMAP_HASH overflow check on 32-bit arches
    276873ae26c8 sr9800: Add check for usbnet_get_endpoints
    2e845867b4e2 Bluetooth: hci_core: Fix possible buffer overflow
    89c69e83ff0a Bluetooth: hci_qca: don't use IS_ERR_OR_NULL() with gpiod_get_optional()
    9609476b3a16 Bluetooth: hci_qca: Add support for QTI Bluetooth chip wcn6855
    88f846f352b8 Bluetooth: Remove superfluous call to hci_conn_check_pending()
    4b5dc615f1cf igb: Fix missing time sync events
    5cd7afd64b6e igb: move PEROUT and EXTTS isr logic to separate functions
    d70f1c85113c iommu/vt-d: Don't issue ATS Invalidation request when device is disconnected
    626b03daea32 PCI: Make pci_dev_is_disconnected() helper public for other drivers
    4137f25b5351 wifi: rtw88: 8821c: Fix false alarm count
    250a78863cdf mmc: wmt-sdmmc: remove an incorrect release_mem_region() call in the .remove function
    dd292e884c64 SUNRPC: fix some memleaks in gssx_dec_option_array
    c7cff9780297 x86, relocs: Ignore relocations in .notes section
    40876d07d292 ACPI: scan: Fix device check notification handling
    10e607fbc91b ACPI: resource: Add MAIBENBEN X577 to irq1_edge_low_force_override
    cc06efd8a6be ACPI: resource: Do IRQ override on Lunnen Ground laptops
    b53985826190 ACPI: resource: Add Infinity laptops to irq1_edge_low_force_override
    95531c0d3727 arm64: dts: marvell: reorder crypto interrupts on Armada SoCs
    941c6ee6f77d ARM: dts: imx6dl-yapp4: Move the internal switch PHYs under the switch node
    ff54c712f046 ARM: dts: imx6dl-yapp4: Fix typo in the QCA switch register address
    3ebcd8f11aa8 ARM: dts: imx6dl-yapp4: Move phy reset into switch node
    ce92a8c7cf70 arm64: dts: renesas: r8a779a0: Correct avb[01] reg sizes
    a022251c2f95 arm64: dts: renesas: r8a779a0: Update to R-Car Gen4 compatible values
    3c0cc753d798 ARM: dts: arm: realview: Fix development chip ROM compatible value
    276f4abe4e5b net: ena: Remove ena_select_queue
    90613c76f71c wifi: brcmsmac: avoid function pointer casts
    b96bc1b25963 iommu/amd: Mark interrupt as managed
    6a87552d0a81 bus: tegra-aconnect: Update dependency to ARCH_TEGRA
    1cbaf4c793b0 ACPI: processor_idle: Fix memory leak in acpi_processor_power_exit()
    fe20e3d56bc9 wifi: wilc1000: prevent use-after-free on vif when cleaning up all interfaces
    0454915c836b wireless: Remove redundant 'flush_workqueue()' calls
    487eff913ea9 bpf: Mark bpf_spin_{lock,unlock}() helpers with notrace correctly
    fcd58c69a372 arm64: dts: mediatek: mt7622: add missing "device_type" to memory nodes
    e66285df73c0 arm64: dts: mt8183: Move CrosEC base detection node to kukui-based DTs
    657633a0b5f5 arm64: dts: mt8183: kukui: Split out keyboard node and describe detachables
    ecec357981ec arm64: dts: mt8183: kukui: Add Type C node
    9d159d6637cc ipv6: mcast: remove one synchronize_net() barrier in ipv6_mc_down()
    a6a50788b46b s390/vdso: drop '-fPIC' from LDFLAGS
    f94625ec5747 wifi: iwlwifi: mvm: don't set replay counters to 0xff
    4745cba3703c pwm: sti: Fix capture for st,pwm-num-chan < st,capture-num-chan
    55908ea9812e pwm: sti: Implement .apply() callback
    e888c4461e10 wifi: libertas: fix some memleaks in lbs_allocate_cmd_buffer()
    d20d45631feb net: blackhole_dev: fix build warning for ethh set but not used
    95ac8e3ef2a3 pwm: atmel-hlcdc: Fix clock imbalance related to suspend support
    a1716999f8ae pwm: atmel-hlcdc: Use consistent variable naming
    81f0b319f0d4 pwm: atmel-hlcdc: Convert to platform remove callback returning void
    98b0d4693934 arm64: dts: imx8mm-venice-gw71xx: fix USB OTG VBUS
    128a7fb7e84b wifi: iwlwifi: fix EWRD table validity check
    96aa40761673 wifi: iwlwifi: dbg-tlv: ensure NUL termination
    3a5d424cffa2 wifi: iwlwifi: mvm: report beacon protection failures
    f8ff4b4df71e wifi: ath9k: delay all of ath9k_wmi_event_tasklet() until init is complete
    4287534cb520 arm64: dts: imx8mm-kontron: Disable pull resistors for SD card signals on BL board
    d01012b6d6bc arm64: dts: imx8mm-kontron: Use the VSELECT signal to switch SD card IO voltage
    41af98f22083 arm64: dts: imx8mm-kontron: Add support for ultra high speed modes on SD card
    db25bbd2c294 arm64: dts: imx8mm-kontron: Disable pullups for onboard UART signals on BL board
    f7e55ad75245 arm64: dts: imx8mm-kontron: Disable pullups for I2C signals on SL/BL i.MX8MM
    d7fcdcf4ec35 cpufreq: mediatek-hw: Don't error out if supply is not found
    8a029ee1e392 af_unix: Annotate data-race of gc_in_progress in wait_for_unix_gc().
    e0d29c4def15 bpftool: Silence build warning about calloc()
    3b71a6981ef8 inet_diag: annotate data-races around inet_diag_table[]
    00d40ab2c03f sock_diag: annotate data-races around sock_diag_handlers[family]
    0f632a68804d cpufreq: mediatek-hw: Wait for CPU supplies before probing
    2cb670b272dd cpufreq: Explicitly include correct DT includes
    d951cf510fb0 cpufreq: brcmstb-avs-cpufreq: add check for cpufreq_cpu_get's return value
    f75e3536dbbc wifi: mwifiex: debugfs: Drop unnecessary error check for debugfs_create_dir()
    df78377485ef wifi: wilc1000: fix multi-vif management when deleting a vif
    ac512507ac89 wifi: rtl8xxxu: add cancel_work_sync() for c2hcmd_work
    d80fc436751c wifi: wilc1000: fix RCU usage in connect path
    11b564991b53 wifi: wilc1000: fix declarations ordering
    bc4bc7464639 wifi: b43: Disable QoS for bcm4331
    66ef38ad9754 wifi: b43: Stop correct queue in DMA worker when QoS is disabled
    b05f6cd6c069 wifi: b43: Stop/wake correct queue in PIO Tx path when QoS is disabled
    04a2b6eff2ae wifi: b43: Stop/wake correct queue in DMA Tx path when QoS is disabled
    4c4e592266b6 wifi: ath10k: fix NULL pointer dereference in ath10k_wmi_tlv_op_pull_mgmt_tx_compl_ev()
    b10ff1130fa4 sched/fair: Take the scheduling domain into account in select_idle_core()
    3c1122aee91e timekeeping: Fix cross-timestamp interpolation for non-x86
    aa74fd5ccb8b timekeeping: Fix cross-timestamp interpolation corner case decision
    48c70f35f6a6 timekeeping: Fix cross-timestamp interpolation on counter wrap
    7dd09fa80b07 aoe: fix the potential use-after-free problem in aoecmd_cfg_pkts
    53609f5c0592 rtc: test: Fix invalid format specifier.
    3eafb6816dcb time: test: Fix incorrect format specifier
    770332c1fd0a lib/cmdline: Fix an invalid format specifier in an assertion msg
    01db522d003f md: Don't clear MD_CLOSING when the raid is about to stop
    25d99f7baa13 fs/select: rework stack allocation hack for clang
    98e60b538e66 nbd: null check for nla_nest_start
    edbdb0d94143 s390/dasd: fix double module refcount decrement
    bb126ed29f4e s390/dasd: Use dev_*() for device log messages
    3404d535bdc2 s390/dasd: add autoquiesce feature
    932600a295cc s390/dasd: add copy pair setup
    2c42dab80a03 s390/dasd: add query PPRC function
    815348211f30 s390/dasd: put block allocation in separate function
    423b6bdf19bb do_sys_name_to_handle(): use kzalloc() to fix kernel-infoleak
    50982ce0f177 ASoC: wm8962: Fix up incorrect error message in wm8962_set_fll
    2a239a9487f7 ASoC: wm8962: Enable both SPKOUTR_ENA and SPKOUTL_ENA in mono mode
    648bd8ef211d ASoC: wm8962: Enable oscillator if selecting WM8962_FLL_OSC
    aa345a4d9b32 Input: gpio_keys_polled - suppress deferred probe error for gpio
    4bd9d06bdff7 ASoC: Intel: bytcr_rt5640: Add an extra entry for the Chuwi Vi8 tablet
    91b4bfed82c4 firewire: core: use long bus reset on gap count error
    8d1753973f59 Bluetooth: rfcomm: Fix null-ptr-deref in rfcomm_check_security
    9a1de3adf7d1 drm/amdgpu: Enable gpu reset for S3 abort cases on Raven series
    c4e2f6081506 ALSA: hda/realtek - ALC285 reduce pop noise from Headphone port
    d157b06c1030 scsi: mpt3sas: Prevent sending diag_reset when the controller is ready
    0c255fb9b1a6 dm-verity, dm-crypt: align "struct bvec_iter" correctly
    f6cbb4843c61 block: sed-opal: handle empty atoms when parsing response
    d7c5c0335a9a parisc/ftrace: add missing CONFIG_DYNAMIC_FTRACE check
    59be50a37f37 net/iucv: fix the allocation size of iucv_path_table array
    e8a67fe34b76 x86/mm: Disallow vsyscall page read for copy_from_kernel_nofault()
    e2d5cf0dcb9f x86/mm: Move is_vsyscall_vaddr() into asm/vsyscall.h
    7e13a78e2ba4 riscv: dts: sifive: add missing #interrupt-cells to pmic
    cf71090a5941 RDMA/mlx5: Relax DEVX access upon modify commands
    60ba938a8bc8 RDMA/mlx5: Fix fortify source warning while accessing Eth segment
    e524979a8a3b gen_compile_commands: fix invalid escape sequence warning
    802eb0254fc1 HID: multitouch: Add required quirk for Synaptics 0xcddc device
    581d99d2f688 MIPS: Clear Cause.BD in instruction_pointer_set
    8082bccb7ac4 x86/xen: Add some null pointer checking to smp.c
    333de5a9753e ASoC: rt5645: Make LattePanda board DMI match more precise
    0d7cfe2ef5a7 selftests: tls: use exact comparison in recv_partial
    37d98fb9c314 bpf: Defer the free of inner map when necessary
    d8140159a214 rcu-tasks: Provide rcu_trace_implies_rcu_gp()
    d909d381c315 io_uring: drop any code related to SCM_RIGHTS
    9dd3863e3fcd io_uring/unix: drop usage of io_uring socket
    8d1bab770956 locking/rwsem: Disable preemption while trying for rwsem lock
    7c82dac02886 block, loop: support partitions without scanning
    45f504f301d4 bpftool: Fix pretty print dump for maps without BTF loaded
    1f24338cb789 jbd2: Drop the merge conflicted hunk
    e1d0e3c51bde tpm: tis_i2c: Limit write bursts to I2C_SMBUS_BLOCK_MAX (32) bytes
    1abe841fe331 tpm: tis_i2c: Limit read bursts to I2C_SMBUS_BLOCK_MAX (32) bytes
    6224acfc1d56 tpm: Add flag to use default cancellation policy
    1cd19d48fb90 tpm: tis_i2c: Fix sanity check interrupt enable mask
    a883da132fa8 tpm: Add tpm_tis_i2c backend for tpm_tis_core
    a742ac8a1c51 tpm: Add tpm_tis_verify_crc to the tpm_tis_phy_ops protocol layer
    ef495c5f45f2 tpm: Remove read16/read32/write32 calls from tpm_tis_phy_ops
    1f3be2e23aa6 gcc-plugins: Reorganize gimple includes for GCC 13
    24615a3b932a ata: ahci: fix enum constants for gcc-13
    5d6cb145541a net: stmmac: Enable mac_managed_pm phylink config
    fd93aabb4287 tools/resolve_btfids: Use pkg-config to locate libelf
    130f9da78406 tools/resolve_btfids: Build with host flags
    00f2f1a782f9 tools/resolve_btfids: Support cross-building the kernel with clang
    17776a4ba9c2 tools/resolve_btfids: Install libbpf headers when building
    7c9808380d70 libbpf: Make libbpf_version.h non-auto-generated
    37ae1ba791ac libbpf: Add LIBBPF_DEPRECATED_SINCE macro for scheduling API deprecations
    a2667e6d7314 drm/radeon: free iio for atombios when driver shutdown
    f100c753aa1f powerpc: Fix reschedule bug in KUAP-unlocked user copy
    da5513f30187 libbpf: Fix build warning on ref_ctr_off
    4c5a089621a8 perf python: Account for multiple words in CC
    1c5699ee85d4 fs: move S_ISGID stripping into the vfs_*() helpers
    838f5d0701d8 fs: add mode_strip_sgid() helper
    d97172683641 squashfs: provide backing_dev_info in order to disable read-ahead
    ed037d7be40c irq_work: use kasan_record_aux_stack_noalloc() record callstack
    1363bd7dbde3 ixgbevf: add disable link state
    e5601ae2bd24 ixgbe: add improvement for MDD response functionality
    caa57cd80575 ixgbe: add the ability for the PF to disable VF link state
    16a77bfcc7df Check /dev/console using init_stat()
    04574fd5579a tracing/arm: Have max stack tracer handle the case of return address after data
    0e51e5717018 gpiolib: cdev: Set lineevent_state::irq after IRQ register successfully
    1e6b7da6ddba drivers/base: Fix unsigned comparison to -1 in CPUMAP_FILE_MAX_BYTES
    493160901320 mtd_blkdevs: add mtd_table_mutex lock back to blktrans_{open, release} to avoid race condition
    04224f725aa3 irqchip/gic-v3-its: Skip HP notifier when no ITS is registered
    6f6c2996a81c irqchip/gic-v3-its: Postpone LPI pending table freeing and memreserve
    1fa94473423f irqchip/gic-v3-its: Give the percpu rdist struct its own flags field
    6013d1ae5feb cert host tools: Stop complaining about deprecated OpenSSL functions
    efe20512212b init/Kconfig: fix CC_HAS_ASM_GOTO_TIED_OUTPUT test with dash
    a40d2daf2795 pnmtologo: use relocatable file name
    3b40d5b41155 of: configfs: remove unused variable overlay_lock
    6c085baf1838 tools: use basename to identify file in gen-mach-types
    2fca0fd71981 lib/build_OID_registry: fix reproducibility issues
    0f586f4ee8ad vt/conmakehash: improve reproducibility
    a75774679f28 OF: DT-Overlay configfs interface (v8)
    d179c639b30b x86/boot: Wrap literal addresses in absolute_pointer()
    856ec356cf91 ACPI: thermal: drop an always true check
    7614af249993 xfs: Fix -Werror=dangling-pointer work-around for older GCC
    41470215f97e xfs: Work around GCC 12 -Werror=dangling-pointer for xfs_attr_remote.o
    44a445c1922d virtio-pci: Remove wrong address verification in vp_del_vqs()
    77aa9e489eaf bpf: Disallow unprivileged bpf by default
    ebfb1822e9f9 fs/aufs: fixup 5.15.36 fixups
    4eba9348d3e2 Revert "Revert "fbdev: Hot-unplug firmware fb devices on forced removal""
    5df6d1b00f95 jbd2: fix use-after-free of transaction_t race
    2d83e8196487 jbd2: refactor wait logic for transaction updates into a common function
    07a63f760793 netfilter: conntrack: avoid useless indirection during conntrack destruction
    4e7122625996 Revert "fbdev: Hot-unplug firmware fb devices on forced removal"
    7ba4cb36fd4f rcu: Avoid alloc_pages() when recording stack
    f78574dee71e kasan: test: silence intentional read overflow warnings
    d313cb89b6b1 kasan: arm64: fix pcpu_page_first_chunk crash with KASAN_VMALLOC
    5e279d5647cc arm64: support page mapping percpu first chunk allocator
    e5bf16752dca vmalloc: choose a better start address in vm_area_register_early()
    660b3d21b46f kasan: test: bypass __alloc_size checks
    00aa7573e53a kasan: test: add memcpy test that avoids out-of-bounds write
    67becf0b1bd4 kasan: fix tag for large allocations when using CONFIG_SLAB
    bedf1e033213 workqueue, kasan: avoid alloc_pages() when recording stack
    7195b67ce69b kasan: generic: introduce kasan_record_aux_stack_noalloc()
    bdff763f0e29 kasan: common: provide can_alloc in kasan_save_stack()
    51423ebb36ad lib/stackdepot: introduce __stack_depot_save()
    85373e66d847 lib/stackdepot: remove unused function argument
    5b6cc9b251f3 lib/stackdepot: include gfp.h
    c9f3902d8069 aufs: reduce overhead for "code present but disabled" use case.
    b98d189df02c aufs: bugfix, umount passes NULL to ->parse_monolithic()
    13b883cbbbd9 aufs standalone: cosmetic, missing copyright sentence
    21f8b0d81898 aufs: 5.15.5-20220117 ---> 5.15.5-20220221
    6199fd896645 aufs: tiny, headers after fs_context
    8ddb40e31c29 aufs: fs_context 7/7, finally remount
    69035f71c6fd aufs: fs_context 6/7, now mount
    bc841b970697 aufs: fs_context 5/7, parse all other mount options
    435188053da2 aufs: fs_context 4/7, parse xino options
    9af1f1825cbd aufs: fs_context 3/7, parse the branch-management options
    1c05eb767f8c aufs: fs_context 2/7, parse "br" mount option
    a8488f603134 aufs: fs_context 1/7, skelton of the new shceme
    8e32e0015564 aufs: pre fs_context, convert a static flag to a macro
    f90cb4144aec aufs: pre fs_context, support the incomplete sb and sbinfo case
    948762ef859c aufs: pre fs_context, convert the type of alloc_sbinfo()
    77151a08776b aufs: 5.15.5-20211129 ---> 5.15.5-20220117
    2539adbbbe1e aufs: 5.14-20211018 ---> 5.15.5-20211129
    7d32b25193c4 aufs: for v5.15-rc1, sync_inode() is gone
    66ec0c509225 aufs: for v5.15-rc1, new param 'rcu' for ->get_acl()
    69709dc518cd aufs: for v5.15-rc1, no mand-lock anymore
    ada8fe9543e5 aufs: 5.14-20210906  ---> 5.14-20211018
    b77f7f3f394a Revert "aufs: adjust to v5.15 fs changes"
    81bdce5b5876 tick/nohz: WARN_ON --> WARN_ON_ONCE to prevent console saturation
    97c963889222 sched/isolation: really align nohz_full with rcu_nocbs
    871f23ad3627 Revert "ARM: defconfig: Enable ax88796c driver for Exynos boards"
    ffad0783dd5b ARM: config: multi v7: Regenerate defconifg
    5c1e1a1ff2d3 ARM: config: multi v7: Add renamed symbols
    badaf96564fe ARM: config: multi v7: Clean up enabled by default options
    34996040fc9b ARM: config: multi v7: Drop unavailable options
    7f685244afb3 powerpc/mm: Switch obsolete dssall to .long
    20301aeb1a64 riscv: fix build with binutils 2.38
    9df58d070506 powerpc/lib/sstep: fix 'ptesync' build error
    720b61fc400b x86_64_defconfig: Fix warnings
    02bf23d26bc4 arm64: defconfig: cleanup config options
    05914e2c87e5 arm: defconfig: drop unused POWER_AVS option
    ffb532fa19b9 aufs5: fix build against v5.15.3+
    a4b3abf4d96d qemux86: add configuration symbol to select values
    fee94ee09154 clear_warn_once: add a clear_warn_once= boot parameter
    3d8762d900d9 clear_warn_once: bind a timer to written reset value
    95faacac47e8 clear_warn_once: expand debugfs to include read support
    de20c4240018 perf: perf can not parser the backtrace of app in the 32bit system and 64bit kernel.
    0e4aacead9c1 perf: x86-32: explicitly include <errno.h>
    9ad92c11468e perf: mips64: Convert __u64 to unsigned long long
    09e7efe3e68a perf: fix bench numa compilation
    e79becc44fa6 perf: add SLANG_INC for slang.h
    b1033b588681 perf: add sgidefs.h to for mips builds
    cf9db484ac0b perf: change --root to --prefix for python install
    7fd052c2c562 perf: add 'libperl not found' warning
    27a437cdd469 perf: force include of <stdbool.h>
    3b99d21bec2f fat: don't use obsolete random32 call in namei_vfat
    a7e9293b506b FAT: Added FAT_NO_83NAME
    6fd0e71d9e5c FAT: Add CONFIG_VFAT_NO_CREATE_WITH_LONGNAMES option
    c379b0d324ae FAT: Add CONFIG_VFAT_FS_NO_DUALNAMES option
    538be0fdb124 aufs: adjust to v5.15 fs changes
    f45da75c8759 aufs5: core
    047f57e07e01 aufs5: standalone
    029fc15574c8 aufs5: mmap
    610d0192ee94 aufs5: base
    d4e428d0ec5f aufs5: kbuild
    eb067eca251a yaffs: replace IS_ERR with IS_ERR_OR_NULL to check both ERR and NULL
    286af18d0875 yaffs: fix -Wstringop-overread compile warning in yaffs_fix_null_name
    24d59a4e26a6 yaffs2: v5.12+ build fixups (not runtime tested)
    22c73536d5d7 yaffs: include blkdev.h
    506b7251bfb8 yaffs: fix misplaced variable declaration
    a0e26ff364dc yaffs2: v5.6 build fixups
    b10b1b2d169e yaffs2: fix memory leak when /proc/yaffs is read
    ad9adccbb214 yaffs: add strict check when call yaffs_internal_read_super
    2e3c3aec8279 yaffs: repair yaffs_get_mtd_device
    d662538516a7 yaffs: Fix build failure by handling inode i_version with proper atomic API
    70a6113ee2c7 yaffs2: fix memory leak in mount/umount
    3378e4a9e404 yaffs: Avoid setting any ACL releated xattr
    ec2284edddef Yaffs:check oob size before auto selecting Yaffs1
    c2a49874051c fs: yaffs2: replace CURRENT_TIME by other appropriate apis
    e9a5105a3e73 yaffs2: adjust to proper location of MS_RDONLY
    608807406f13 yaffs2: import git revision b4ce1bb (jan, 2020)
    89e660ece42c initramfs: allow an optional wrapper script around initramfs generation
    b179dbc9aa10 iwlwifi: select MAC80211_LEDS conditionally
    3fd5ca3673d0 net/dccp: make it depend on CONFIG_BROKEN (CVE-2020-16119)
    d1f6edbf0188 arm64/perf: Fix wrong cast that may cause wrong truncation
    d202fb2caf33 defconfigs: drop obselete options
    9a27e3b5f4e7 arm64/perf: fix backtrace for AAPCS with FP enabled
    e20d8cf019b4 linux-yocto: Handle /bin/awk issues
    b6d2a3dbbd3a uvesafb: provide option to specify timeout for task completion
    adb40f1e6a1a uvesafb: print error message when task timeout occurs
    f280a1ed0962 compiler.h: Undef before redefining __attribute_const__
    4352732f268c vmware: include jiffies.h
    7954a677968d Resolve jiffies wrapping about arp
    5f28a1035d95 nfs: Allow default io size to be configured.
    0d7260ad7106 check console device file on fs when booting
    900a12e37e0a mount_root: clarify error messages for when no rootfs found
    7b878cbea726 menuconfig,mconf-cfg: Allow specification of ncurses location
    6604fc1763b3 modpost: mask trivial warnings
    0d294adb09cb kbuild: exclude meta directory from distclean processing
    a097cdd95a9e powerpc: serialize image targets
    5db6ec39a0a3 arm: serialize build targets
    cbabca27905e crtsavres: fixups for 5.4+
    7fc7656ed403 powerpc/ptrace: Disable array-bounds warning with gcc8
    a5faac5a19a2 powerpc: Disable attribute-alias warnings from gcc8
    186c54665b67 powerpc: add crtsavres.o to archprepare for kbuild
    d1ea862964ca powerpc: kexec fix for powerpc64
    2ac35b89a0f9 powerpc: Add unwind information for SPE registers of E500 core
    2e1c348a28bb mips: vdso: fix 'jalr $t9' crash in vdso code
    ec57870b303a mips: Kconfig: add QEMUMIPS64 option
    6a81b3c08107 4kc cache tlb hazard: tlbp cache coherency
    74e3b2a21e54 malta uhci quirks: make allowance for slow 4k(e)c
    22e65b63d3b4 arm/Makefile: Fix systemtap
    b7f1ab59f19e vexpress: Pass LOADADDR to Makefile
    ce2800c73bf7 arm: ARM EABI socketcall
    019d142fd956 ARM: LPAE: Invalidate the TLB for module addresses during translation fault

(From OE-Core rev: 611cec2700887d42aa872ea887be65d7c837b09c)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-05-15 09:44:15 -07:00
Bruce Ashfield
94ad2c81e0 linux-yocto/5.15: update CVE exclusions (5.15.152)
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: a3a17801a9d185f0c181b93e399092032d6ffa4a)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-05-15 09:44:15 -07:00
Bruce Ashfield
779b489229 linux-yocto/5.15: update to v5.15.152
Updating linux-yocto/5.15 to the latest korg -stable release that comprises
the following commits:

    b95c01af2113 Linux 5.15.152
    a1211bbf7814 serial: max310x: fix IO data corruption in batched operations
    0ba485f90d97 serial: max310x: make accessing revision id interface-agnostic
    31642219f27a regmap: Add bulk read/write callbacks into regmap_config
    fbddd48f1456 regmap: allow to define reg_update_bits for no bus configuration
    cad6da86ca98 ALSA: usb-audio: Sort quirk table entries
    36dba3f4cd36 ALSA: usb-audio: Add FIXED_RATE quirk for JBL Quantum610 Wireless
    bfd36b1d1869 ALSA: usb-audio: Always initialize fixed_rate in snd_usb_find_implicit_fb_sync_format()
    a6f53df52b66 ALSA: usb-audio: Fix wrong kfree issue in snd_usb_endpoint_free_all
    fd63fb84ed6d fs/proc: do_task_stat: move thread_group_cputime_adjusted() outside of lock_task_sighand()
    9b3834276bb6 proc: Use task_is_running() for wchan in /proc/$pid/stat
    3c1b2776ef19 getrusage: use sig->stats_lock rather than lock_task_sighand()
    ef2734e57cb9 getrusage: use __for_each_thread()
    18c7394e46d8 getrusage: move thread_group_cputime_adjusted() outside of lock_task_sighand()
    c5579e7280e6 getrusage: add the "signal_struct *sig" local variable
    63e09c1f46d6 drm/amd/display: Increase frame-larger-than for all display_mode_vba files
    f4442513e426 drm/amd/display: remove DML Makefile duplicate lines
    b4bab46400a0 drm/amd/display: move calcs folder into DML
    b00e4d44ac77 drm/amd/display: Re-arrange FPU code structure for dcn2x
    b6d46f306b39 hv_netvsc: Register VF in netvsc_probe if NET_DEVICE_REGISTER missed
    c4cfa93e5018 hv_netvsc: use netif_is_bond_master() instead of open code
    760d0df3add5 selftests: mptcp: decrease BW in simult flows
    9a9d00c23d17 drm/amdgpu: Reset IH OVERFLOW_CLEAR bit
    f57431896095 drm/amd/pm: do not expose the API used internally only in kv_dpm.c
    0afbf40c0135 serial: max310x: prevent infinite while() loop in port startup
    2fbf2c767b50 serial: max310x: use a separate regmap for each port
    2161c5411d91 serial: max310x: use regmap methods for SPI batch operations
    2aa7bcfdbb46 xhci: handle isoc Babble and Buffer Overrun events properly
    56e9aeb2052c xhci: process isoc TD properly when there was a transaction error mid TD.
    0d29b474fb90 selftests: mm: fix map_hugetlb failure on 64K page size systems
    0b08eb637276 selftests/mm: switch to bash from sh
    fdfc5fabe85a nfp: flower: add hardware offload check for post ct entry
    245332d4e767 nfp: flower: add goto_chain_index for ct entry
    666334fdf4c6 drm/amd/display: Fix uninitialized variable usage in core_link_ 'read_dpcd() & write_dpcd()' functions
    f354086d1bf7 ALSA: usb-audio: add quirk for RODE NT-USB+
    80326ce1eb74 ALSA: usb-audio: Fix microphone sound on Nexigo webcam.
    f1a68c6a41c6 ALSA: usb-audio: Add new quirk FIXED_RATE for JBL Quantum810 Wireless
    d16ae91186f3 ALSA: usb-audio: Add quirk for Tascam Model 12
    7ce0a888d646 ALSA: usb-audio: Avoid superfluous endpoint setup
    3191a00dbe04 ALSA: usb-audio: Correct the return code from snd_usb_endpoint_set_params()
    06b6de69cf16 ALSA: usb-audio: Apply mutex around snd_usb_endpoint_set_params()
    539493f147ff ALSA: usb-audio: Properly refcounting clock rate
    56e28371faf4 ALSA: usb-audio: Split endpoint setups for hw_params and prepare (take#2)
    8ca3315bd876 ALSA: usb-audio: Clear fixed clock rate at closing EP
    9830e7383f18 ALSA: usb-audio: Refcount multiple accesses on the single clock
    0866afaff19d netrom: Fix data-races around sysctl_net_busy_read
    c558e54f7712 netrom: Fix a data-race around sysctl_netrom_link_fails_count
    f9c4d4246417 netrom: Fix a data-race around sysctl_netrom_routing_control
    4eacb242e22e netrom: Fix a data-race around sysctl_netrom_transport_no_activity_timeout
    489e05c614db netrom: Fix a data-race around sysctl_netrom_transport_requested_window_size
    85f34d352f4b netrom: Fix a data-race around sysctl_netrom_transport_busy_delay
    33081e0f3489 netrom: Fix a data-race around sysctl_netrom_transport_acknowledge_delay
    f84f7709486d netrom: Fix a data-race around sysctl_netrom_transport_maximum_tries
    b8006cb0a34a netrom: Fix a data-race around sysctl_netrom_transport_timeout
    775ed3549819 netrom: Fix data-races around sysctl_netrom_network_ttl_initialiser
    b3f0bc3a315c netrom: Fix a data-race around sysctl_netrom_obsolescence_count_initialiser
    bbc21f134b89 netrom: Fix a data-race around sysctl_netrom_default_path_quality
    101277e37d54 erofs: apply proper VMA alignment for memory mapped files on THP
    b3c0f5538205 netfilter: nf_conntrack_h323: Add protection for bmp length out of range
    bd9c90927a3c netfilter: nft_ct: fix l3num expectations with inet pseudo family
    b562ebe21ed9 net/rds: fix WARNING in rds_conn_connect_if_down
    f0363af9619c cpumap: Zero-initialise xdp_rxq_info struct before running XDP program
    cae330325795 net/ipv6: avoid possible UAF in ip6_route_mpath_notify()
    8d95465d9a42 net: ice: Fix potential NULL pointer dereference in ice_bridge_setlink()
    e46274df1100 net: sparx5: Fix use after free inside sparx5_del_mact_entry
    e77e0b0f2a11 geneve: make sure to pull inner header in geneve_rx()
    be3be07d237c tracing/net_sched: Fix tracepoints that save qdisc_dev() as a string
    e72b4e5e16f6 i40e: disable NAPI right after disabling irqs when handling xsk_pool
    533953fa90d1 ixgbe: {dis, en}able irqs in ixgbe_txrx_ring_{dis, en}able
    ea4e938d2ce4 net: lan78xx: fix runtime PM count underflow on link stop
    5ae5060e17a3 mmc: mmci: stm32: fix DMA API overlapping mappings warning
    287093040fc5 mmc: mmci: stm32: use a buffer for unaligned DMA requests
    8d1bab770956 locking/rwsem: Disable preemption while trying for rwsem lock
    7c82dac02886 block, loop: support partitions without scanning
    45f504f301d4 bpftool: Fix pretty print dump for maps without BTF loaded
    1f24338cb789 jbd2: Drop the merge conflicted hunk
    e1d0e3c51bde tpm: tis_i2c: Limit write bursts to I2C_SMBUS_BLOCK_MAX (32) bytes
    1abe841fe331 tpm: tis_i2c: Limit read bursts to I2C_SMBUS_BLOCK_MAX (32) bytes
    6224acfc1d56 tpm: Add flag to use default cancellation policy
    1cd19d48fb90 tpm: tis_i2c: Fix sanity check interrupt enable mask
    a883da132fa8 tpm: Add tpm_tis_i2c backend for tpm_tis_core
    a742ac8a1c51 tpm: Add tpm_tis_verify_crc to the tpm_tis_phy_ops protocol layer
    ef495c5f45f2 tpm: Remove read16/read32/write32 calls from tpm_tis_phy_ops
    1f3be2e23aa6 gcc-plugins: Reorganize gimple includes for GCC 13
    24615a3b932a ata: ahci: fix enum constants for gcc-13
    5d6cb145541a net: stmmac: Enable mac_managed_pm phylink config
    fd93aabb4287 tools/resolve_btfids: Use pkg-config to locate libelf
    130f9da78406 tools/resolve_btfids: Build with host flags
    00f2f1a782f9 tools/resolve_btfids: Support cross-building the kernel with clang
    17776a4ba9c2 tools/resolve_btfids: Install libbpf headers when building
    7c9808380d70 libbpf: Make libbpf_version.h non-auto-generated
    37ae1ba791ac libbpf: Add LIBBPF_DEPRECATED_SINCE macro for scheduling API deprecations
    a2667e6d7314 drm/radeon: free iio for atombios when driver shutdown
    f100c753aa1f powerpc: Fix reschedule bug in KUAP-unlocked user copy
    da5513f30187 libbpf: Fix build warning on ref_ctr_off
    4c5a089621a8 perf python: Account for multiple words in CC
    1c5699ee85d4 fs: move S_ISGID stripping into the vfs_*() helpers
    838f5d0701d8 fs: add mode_strip_sgid() helper
    d97172683641 squashfs: provide backing_dev_info in order to disable read-ahead
    ed037d7be40c irq_work: use kasan_record_aux_stack_noalloc() record callstack
    1363bd7dbde3 ixgbevf: add disable link state
    e5601ae2bd24 ixgbe: add improvement for MDD response functionality
    caa57cd80575 ixgbe: add the ability for the PF to disable VF link state
    16a77bfcc7df Check /dev/console using init_stat()
    04574fd5579a tracing/arm: Have max stack tracer handle the case of return address after data
    0e51e5717018 gpiolib: cdev: Set lineevent_state::irq after IRQ register successfully
    1e6b7da6ddba drivers/base: Fix unsigned comparison to -1 in CPUMAP_FILE_MAX_BYTES
    493160901320 mtd_blkdevs: add mtd_table_mutex lock back to blktrans_{open, release} to avoid race condition
    04224f725aa3 irqchip/gic-v3-its: Skip HP notifier when no ITS is registered
    6f6c2996a81c irqchip/gic-v3-its: Postpone LPI pending table freeing and memreserve
    1fa94473423f irqchip/gic-v3-its: Give the percpu rdist struct its own flags field
    6013d1ae5feb cert host tools: Stop complaining about deprecated OpenSSL functions
    efe20512212b init/Kconfig: fix CC_HAS_ASM_GOTO_TIED_OUTPUT test with dash
    a40d2daf2795 pnmtologo: use relocatable file name
    3b40d5b41155 of: configfs: remove unused variable overlay_lock
    6c085baf1838 tools: use basename to identify file in gen-mach-types
    2fca0fd71981 lib/build_OID_registry: fix reproducibility issues
    0f586f4ee8ad vt/conmakehash: improve reproducibility
    a75774679f28 OF: DT-Overlay configfs interface (v8)
    d179c639b30b x86/boot: Wrap literal addresses in absolute_pointer()
    856ec356cf91 ACPI: thermal: drop an always true check
    7614af249993 xfs: Fix -Werror=dangling-pointer work-around for older GCC
    41470215f97e xfs: Work around GCC 12 -Werror=dangling-pointer for xfs_attr_remote.o
    44a445c1922d virtio-pci: Remove wrong address verification in vp_del_vqs()
    77aa9e489eaf bpf: Disallow unprivileged bpf by default
    ebfb1822e9f9 fs/aufs: fixup 5.15.36 fixups
    4eba9348d3e2 Revert "Revert "fbdev: Hot-unplug firmware fb devices on forced removal""
    5df6d1b00f95 jbd2: fix use-after-free of transaction_t race
    2d83e8196487 jbd2: refactor wait logic for transaction updates into a common function
    07a63f760793 netfilter: conntrack: avoid useless indirection during conntrack destruction
    4e7122625996 Revert "fbdev: Hot-unplug firmware fb devices on forced removal"
    7ba4cb36fd4f rcu: Avoid alloc_pages() when recording stack
    f78574dee71e kasan: test: silence intentional read overflow warnings
    d313cb89b6b1 kasan: arm64: fix pcpu_page_first_chunk crash with KASAN_VMALLOC
    5e279d5647cc arm64: support page mapping percpu first chunk allocator
    e5bf16752dca vmalloc: choose a better start address in vm_area_register_early()
    660b3d21b46f kasan: test: bypass __alloc_size checks
    00aa7573e53a kasan: test: add memcpy test that avoids out-of-bounds write
    67becf0b1bd4 kasan: fix tag for large allocations when using CONFIG_SLAB
    bedf1e033213 workqueue, kasan: avoid alloc_pages() when recording stack
    7195b67ce69b kasan: generic: introduce kasan_record_aux_stack_noalloc()
    bdff763f0e29 kasan: common: provide can_alloc in kasan_save_stack()
    51423ebb36ad lib/stackdepot: introduce __stack_depot_save()
    85373e66d847 lib/stackdepot: remove unused function argument
    5b6cc9b251f3 lib/stackdepot: include gfp.h
    c9f3902d8069 aufs: reduce overhead for "code present but disabled" use case.
    b98d189df02c aufs: bugfix, umount passes NULL to ->parse_monolithic()
    13b883cbbbd9 aufs standalone: cosmetic, missing copyright sentence
    21f8b0d81898 aufs: 5.15.5-20220117 ---> 5.15.5-20220221
    6199fd896645 aufs: tiny, headers after fs_context
    8ddb40e31c29 aufs: fs_context 7/7, finally remount
    69035f71c6fd aufs: fs_context 6/7, now mount
    bc841b970697 aufs: fs_context 5/7, parse all other mount options
    435188053da2 aufs: fs_context 4/7, parse xino options
    9af1f1825cbd aufs: fs_context 3/7, parse the branch-management options
    1c05eb767f8c aufs: fs_context 2/7, parse "br" mount option
    a8488f603134 aufs: fs_context 1/7, skelton of the new shceme
    8e32e0015564 aufs: pre fs_context, convert a static flag to a macro
    f90cb4144aec aufs: pre fs_context, support the incomplete sb and sbinfo case
    948762ef859c aufs: pre fs_context, convert the type of alloc_sbinfo()
    77151a08776b aufs: 5.15.5-20211129 ---> 5.15.5-20220117
    2539adbbbe1e aufs: 5.14-20211018 ---> 5.15.5-20211129
    7d32b25193c4 aufs: for v5.15-rc1, sync_inode() is gone
    66ec0c509225 aufs: for v5.15-rc1, new param 'rcu' for ->get_acl()
    69709dc518cd aufs: for v5.15-rc1, no mand-lock anymore
    ada8fe9543e5 aufs: 5.14-20210906  ---> 5.14-20211018
    b77f7f3f394a Revert "aufs: adjust to v5.15 fs changes"
    81bdce5b5876 tick/nohz: WARN_ON --> WARN_ON_ONCE to prevent console saturation
    97c963889222 sched/isolation: really align nohz_full with rcu_nocbs
    871f23ad3627 Revert "ARM: defconfig: Enable ax88796c driver for Exynos boards"
    ffad0783dd5b ARM: config: multi v7: Regenerate defconifg
    5c1e1a1ff2d3 ARM: config: multi v7: Add renamed symbols
    badaf96564fe ARM: config: multi v7: Clean up enabled by default options
    34996040fc9b ARM: config: multi v7: Drop unavailable options
    7f685244afb3 powerpc/mm: Switch obsolete dssall to .long
    20301aeb1a64 riscv: fix build with binutils 2.38
    9df58d070506 powerpc/lib/sstep: fix 'ptesync' build error
    720b61fc400b x86_64_defconfig: Fix warnings
    02bf23d26bc4 arm64: defconfig: cleanup config options
    05914e2c87e5 arm: defconfig: drop unused POWER_AVS option
    ffb532fa19b9 aufs5: fix build against v5.15.3+
    a4b3abf4d96d qemux86: add configuration symbol to select values
    fee94ee09154 clear_warn_once: add a clear_warn_once= boot parameter
    3d8762d900d9 clear_warn_once: bind a timer to written reset value
    95faacac47e8 clear_warn_once: expand debugfs to include read support
    de20c4240018 perf: perf can not parser the backtrace of app in the 32bit system and 64bit kernel.
    0e4aacead9c1 perf: x86-32: explicitly include <errno.h>
    9ad92c11468e perf: mips64: Convert __u64 to unsigned long long
    09e7efe3e68a perf: fix bench numa compilation
    e79becc44fa6 perf: add SLANG_INC for slang.h
    b1033b588681 perf: add sgidefs.h to for mips builds
    cf9db484ac0b perf: change --root to --prefix for python install
    7fd052c2c562 perf: add 'libperl not found' warning
    27a437cdd469 perf: force include of <stdbool.h>
    3b99d21bec2f fat: don't use obsolete random32 call in namei_vfat
    a7e9293b506b FAT: Added FAT_NO_83NAME
    6fd0e71d9e5c FAT: Add CONFIG_VFAT_NO_CREATE_WITH_LONGNAMES option
    c379b0d324ae FAT: Add CONFIG_VFAT_FS_NO_DUALNAMES option
    538be0fdb124 aufs: adjust to v5.15 fs changes
    f45da75c8759 aufs5: core
    047f57e07e01 aufs5: standalone
    029fc15574c8 aufs5: mmap
    610d0192ee94 aufs5: base
    d4e428d0ec5f aufs5: kbuild
    eb067eca251a yaffs: replace IS_ERR with IS_ERR_OR_NULL to check both ERR and NULL
    286af18d0875 yaffs: fix -Wstringop-overread compile warning in yaffs_fix_null_name
    24d59a4e26a6 yaffs2: v5.12+ build fixups (not runtime tested)
    22c73536d5d7 yaffs: include blkdev.h
    506b7251bfb8 yaffs: fix misplaced variable declaration
    a0e26ff364dc yaffs2: v5.6 build fixups
    b10b1b2d169e yaffs2: fix memory leak when /proc/yaffs is read
    ad9adccbb214 yaffs: add strict check when call yaffs_internal_read_super
    2e3c3aec8279 yaffs: repair yaffs_get_mtd_device
    d662538516a7 yaffs: Fix build failure by handling inode i_version with proper atomic API
    70a6113ee2c7 yaffs2: fix memory leak in mount/umount
    3378e4a9e404 yaffs: Avoid setting any ACL releated xattr
    ec2284edddef Yaffs:check oob size before auto selecting Yaffs1
    c2a49874051c fs: yaffs2: replace CURRENT_TIME by other appropriate apis
    e9a5105a3e73 yaffs2: adjust to proper location of MS_RDONLY
    608807406f13 yaffs2: import git revision b4ce1bb (jan, 2020)
    89e660ece42c initramfs: allow an optional wrapper script around initramfs generation
    b179dbc9aa10 iwlwifi: select MAC80211_LEDS conditionally
    3fd5ca3673d0 net/dccp: make it depend on CONFIG_BROKEN (CVE-2020-16119)
    d1f6edbf0188 arm64/perf: Fix wrong cast that may cause wrong truncation
    d202fb2caf33 defconfigs: drop obselete options
    9a27e3b5f4e7 arm64/perf: fix backtrace for AAPCS with FP enabled
    e20d8cf019b4 linux-yocto: Handle /bin/awk issues
    b6d2a3dbbd3a uvesafb: provide option to specify timeout for task completion
    adb40f1e6a1a uvesafb: print error message when task timeout occurs
    f280a1ed0962 compiler.h: Undef before redefining __attribute_const__
    4352732f268c vmware: include jiffies.h
    7954a677968d Resolve jiffies wrapping about arp
    5f28a1035d95 nfs: Allow default io size to be configured.
    0d7260ad7106 check console device file on fs when booting
    900a12e37e0a mount_root: clarify error messages for when no rootfs found
    7b878cbea726 menuconfig,mconf-cfg: Allow specification of ncurses location
    6604fc1763b3 modpost: mask trivial warnings
    0d294adb09cb kbuild: exclude meta directory from distclean processing
    a097cdd95a9e powerpc: serialize image targets
    5db6ec39a0a3 arm: serialize build targets
    cbabca27905e crtsavres: fixups for 5.4+
    7fc7656ed403 powerpc/ptrace: Disable array-bounds warning with gcc8
    a5faac5a19a2 powerpc: Disable attribute-alias warnings from gcc8
    186c54665b67 powerpc: add crtsavres.o to archprepare for kbuild
    d1ea862964ca powerpc: kexec fix for powerpc64
    2ac35b89a0f9 powerpc: Add unwind information for SPE registers of E500 core
    2e1c348a28bb mips: vdso: fix 'jalr $t9' crash in vdso code
    ec57870b303a mips: Kconfig: add QEMUMIPS64 option
    6a81b3c08107 4kc cache tlb hazard: tlbp cache coherency
    74e3b2a21e54 malta uhci quirks: make allowance for slow 4k(e)c
    22e65b63d3b4 arm/Makefile: Fix systemtap
    b7f1ab59f19e vexpress: Pass LOADADDR to Makefile
    ce2800c73bf7 arm: ARM EABI socketcall
    019d142fd956 ARM: LPAE: Invalidate the TLB for module addresses during translation fault

(From OE-Core rev: 4545591ac316d4304a73b578ecfce57a10af886f)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-05-15 09:44:15 -07:00
Bruce Ashfield
bd0795ed5a linux-yocto/5.15: update CVE exclusions (5.15.151)
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: a77933a5a677add08a4f7b102a7ea839bb6be7dc)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-05-15 09:44:14 -07:00
Bruce Ashfield
f90f4e8d92 linux-yocto/5.15: update to v5.15.151
Updating linux-yocto/5.15 to the latest korg -stable release that comprises
the following commits:

    574362648507 Linux 5.15.151
    4a4eeb691253 mptcp: fix double-free on socket dismantle
    cc5e34bc5b20 Revert "tls: rx: move counting TlsDecryptErrors for sync"
    9d5932275b3b net: tls: fix async vs NIC crypto offload
    68dbe92d677c bpf: Derive source IP addr via bpf_*_fib_lookup()
    39b4ee40d204 bpf: Add table ID to bpf_fib_lookup BPF helper
    75ca92271da5 bpf: Add BPF_FIB_LOOKUP_SKIP_NEIGH for bpf_fib_lookup
    20f5aafe521c Revert "interconnect: Teach lockdep about icc_bw_lock order"
    fe549d8e9763 Revert "interconnect: Fix locking for runpm vs reclaim"
    ead68522455b gpio: fix resource unwinding order in error path
    ea514ac5f1be gpiolib: Fix the error path order in gpiochip_add_data_with_key()
    c21b5ad4e79d gpio: 74x164: Enable output pins after registers are reset
    6c480d0f1318 af_unix: Drop oob_skb ref before purging queue in GC.
    2f3ae0905a7e Revert "drm/bridge: lt8912b: Register and attach our DSI device at probe"
    22850c9950a4 fs,hugetlb: fix NULL pointer dereference in hugetlbs_fill_super
    94965be37add cachefiles: fix memory leak in cachefiles_add_cache()
    cc32ba2fdf3f mptcp: fix possible deadlock in subflow diag
    af46c8a0d8db mptcp: push at DSS boundaries
    5101e9f11a87 mptcp: add needs_id for netlink appending addr
    4ba8702b23e3 mptcp: clean up harmless false expressions
    f431a58cb933 selftests: mptcp: add missing kconfig for NF Filter in v6
    5d7f2e7d213f selftests: mptcp: add missing kconfig for NF Filter
    55366b9ae937 mptcp: rename timer related helper to less confusing names
    833d068e776a mptcp: process pending subflow error on close
    305078c2741f mptcp: move __mptcp_error_report in protocol.c
    fbd16a1e4b14 x86/cpu/intel: Detect TME keyid bits before setting MTRR mask registers
    077952157636 pmdomain: qcom: rpmhpd: Fix enabled_corner aggregation
    5f6e8930ca96 mmc: sdhci-xenon: fix PHY init clock stability
    f4fae0a76ee2 mmc: sdhci-xenon: add timeout for PHY init complete
    52af4f26c02f mmc: core: Fix eMMC initialization with 1-bit bus connection
    4529c084a320 dmaengine: fsl-qdma: init irq after reg initialization
    2dee8895a25e dmaengine: ptdma: use consistent DMA masks
    106c1ac953a6 dmaengine: fsl-qdma: fix SoC may hang on 16 byte unaligned read
    ab2d68655d0f btrfs: dev-replace: properly validate device names
    063715c33b4c wifi: nl80211: reject iftype change with mesh ID change
    9376d059a705 gtp: fix use-after-free and null-ptr-deref in gtp_newlink()
    cbf67001d647 ALSA: firewire-lib: fix to check cycle continuity
    7d930a4da179 tomoyo: fix UAF write bug in tomoyo_write_control()
    5941a90c55d3 riscv: Sparse-Memory/vmemmap out-of-bounds fix
    80b15346492b afs: Fix endless loop in directory parsing
    20a4b5214f7b fbcon: always restore the old font data in fbcon_do_set_font()
    5eac17127e85 ALSA: Drop leftover snd-rtctimer stuff from Makefile
    e601ae81910c power: supply: bq27xxx-i2c: Do not free non existing IRQ
    4b73473c050a efi/capsule-loader: fix incorrect allocation size
    5bc8810b788a tls: decrement decrypt_pending if no async completion will be called
    9ae48288fc8b tls: rx: use async as an in-out argument
    bdb7fb29236a tls: rx: assume crypto always calls our callback
    2ec59e165549 tls: rx: move counting TlsDecryptErrors for sync
    b61dbb5ef449 tls: rx: don't track the async count
    4fd23a600be9 tls: rx: factor out writing ContentType to cmsg
    9876554897b3 tls: rx: wrap decryption arguments in a structure
    d6c9c2a66c91 tls: rx: don't report text length from the bowels of decrypt
    ffc8a2b82141 tls: rx: drop unnecessary arguments from tls_setup_from_iter()
    1abd49fa1ffb tls: hw: rx: use return value of tls_device_decrypted() to carry status
    432d40036f17 tls: rx: refactor decrypt_skb_update()
    17d8bda2a6fd tls: rx: don't issue wake ups when data is decrypted
    de0970d258ef tls: rx: don't store the decryption status in socket context
    4c68bf84d162 tls: rx: don't store the record type in socket context
    f1e71909373e igb: extend PTP timestamp adjustments to i211
    a1227b27fccc rtnetlink: fix error logic of IFLA_BRIDGE_FLAGS writing back
    7c3f28599652 netfilter: bridge: confirm multicast packets before passing them up the stack
    3e9cd8913635 netfilter: let reset rules clean out conntrack entries
    c3a84f83d9e5 netfilter: make function op structures const
    2cb39bea7085 netfilter: core: move ip_ct_attach indirection to struct nf_ct_hook
    84d3baab4b89 netfilter: nfnetlink_queue: silence bogus compiler warning
    4225152bfb77 netfilter: nf_tables: allow NFPROTO_INET in nft_(match/target)_validate()
    af1a9a925e46 Bluetooth: Enforce validation on max value of connection interval
    c3df637266df Bluetooth: hci_event: Fix handling of HCI_EV_IO_CAPA_REQUEST
    4cd28dae8210 Bluetooth: hci_event: Fix wrongly recorded wakeup BD_ADDR
    da4569d450b1 Bluetooth: Avoid potential use-after-free in hci_error_reset
    8e9955630117 stmmac: Clear variable when destroying workqueue
    28bbdb4e1993 uapi: in6: replace temporary label with rfc9486
    1e2cbdbdfa76 net: usb: dm9601: fix wrong return value in dm9601_mdio_read
    9b1f5c003284 veth: try harder when allocating queue memory
    914c73e7872d net: enable memcg accounting for veth queues
    8d4d26f51ef0 lan78xx: enable auto speed configuration for LAN7850 if no EEPROM is detected
    8a54834c03c3 ipv6: fix potential "struct net" leak in inet6_rtm_getaddr()
    f011c103e654 net: veth: clear GRO when clearing XDP even when down
    bf3f0c4169be cpufreq: intel_pstate: fix pstate limits enforcement for adjust_perf call back
    cbfd27689b5e tun: Fix xdp_rxq_info's queue_index when detaching
    afec0c5cd2ed net: ip_tunnel: prevent perpetual headroom growth
    c71ed29d15b1 netlink: Fix kernel-infoleak-after-free in __skb_datagram_iter
    386bb2537e9b mtd: spinand: gigadevice: Fix the get ecc status issue
    00b19ee0dcc1 netfilter: nf_tables: disallow timeout for anonymous sets

(From OE-Core rev: 32f2aba4c4e90b86c1e11ac54dedd6a015c219a6)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-05-15 09:44:14 -07:00
Peter Marko
f1ad013a29 python3: Upgrade 3.10.13 -> 3.10.14
Addresses CVEs:
* CVE-2023-52425 (bundled expat)
* CVE-2023-6597 (https://github.com/python/cpython/pull/112840)

News: https://github.com/python/cpython/blob/3.10/Misc/NEWS.d/3.10.14.rst

(From OE-Core rev: e0b77aa347c03f520802c8235ae0389bb855c146)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-05-15 09:44:14 -07:00
Vijay Anusuri
197002083a less: backport Debian patch for CVE-2024-32487
import patch from ubuntu to fix
 CVE-2024-32487

Upstream-Status: Backport [import from ubuntu https://git.launchpad.net/ubuntu/+source/less/tree/debian/patches?h=ubuntu/jammy-security
Upstream commit
007521ac3c]

(From OE-Core rev: 1456b309963d3121e5ab2bc9de02b19663ee3a43)

Signed-off-by: Vijay Anusuri <vanusuri@mvista.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-05-15 09:44:14 -07:00
Soumya Sambu
049e890f7a 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: 60b34c34351833f0a9be4b31c5bc3b94ad960c60)

Signed-off-by: Soumya Sambu <soumya.sambu@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-05-15 09:44:14 -07:00
Archana Polampalli
c0acd30703 gstreamer1.0-plugins-bad: fix CVE-2023-44446
(From OE-Core rev: ebe4a219117ba0c161fefe45c514234384291e23)

Signed-off-by: Archana Polampalli <archana.polampalli@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-05-15 09:44:14 -07:00
Archana Polampalli
c4612ee606 gstreamer1.0-plugins-bad: fix CVE-2024-0444
(From OE-Core rev: e261dfd6e547aa28e115cb9e8e9150c56d39035b)

Signed-off-by: Archana Polampalli <archana.polampalli@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-05-15 09:44:14 -07:00
Archana Polampalli
645aff93b3 ofono: fix CVE-2023-4233
A flaw was found in ofono, an Open Source Telephony on Linux. A stack overflow bug
is triggered within the sms_decode_address_field() function during the SMS
PDU decoding. It is assumed that the attack scenario is accessible from a compromised
modem, a malicious base station, or just SMS.

(From OE-Core rev: 996c03dfb5295ec38286dee37c70c700b88e0a1e)

Signed-off-by: Archana Polampalli <archana.polampalli@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-05-15 09:44:14 -07:00
Archana Polampalli
88287ba521 ofono: fix CVE-2023-4234
A flaw was found in ofono, an Open Source Telephony on Linux. A stack overflow bug
is triggered within the decode_submit_report() function during the SMS decoding.
It is assumed that the attack scenario is accessible from a compromised modem,
a malicious base station, or just SMS. There is a bound check for this memcpy
length in decode_submit(), but it was forgotten in decode_submit_report().

(From OE-Core rev: 51cf006ac7b5b97e65864fb1cb6f5b47192c4ebf)

Signed-off-by: Archana Polampalli <archana.polampalli@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-05-15 09:44:14 -07:00
Michael Glembotzki
2b21c6009a 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

(Backport of rev: 6045314d29)

(From OE-Core rev: 8a502301209ef144932ef5071c1a9b738db23270)

Signed-off-by: Michael Glembotzki <Michael.Glembotzki@iris-sensing.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-05-02 06:21:09 -07:00
Peter Marko
d7906b39ef glibc: Update to latest on stable 2.35 branch
Adresses CVE-2024-2961

Changes:
36280d1ce5 iconv: ISO-2022-CN-EXT: fix out-of-bound writes when writing escape sequence (CVE-2024-2961)
4a7de5e215 powerpc: Fix ld.so address determination for PCREL mode (bug 31640)
f4a45af368 AArch64: Check kernel version for SVE ifuncs
7f3c143381 aarch64: fix check for SVE support in assembler
9112cda4c6 aarch64: correct CFI in rawmemchr (bug 31113)
153012dda2 AArch64: Remove Falkor memcpy
90b03336d9 AArch64: Add memset_zva64
d166309459 AArch64: Cleanup emag memset
650300d233 AArch64: Cleanup ifuncs
5bfa9f4369 AArch64: Add support for MOPS memcpy/memmove/memset
c4e222334b Add HWCAP2_MOPS from Linux 6.5 to AArch64 bits/hwcap.h
b9e93c5ff7 AArch64: Improve SVE memcpy and memmove
115c2c7717 AArch64: Improve strrchr
06fad28274 AArch64: Optimize strnlen
3a1557efef AArch64: Optimize strlen
6f2ca6aab9 AArch64: Optimize strcpy
249fff42a8 AArch64: Improve strchrnul
1c1313dbdd AArch64: Optimize strchr
80ad6cd302 AArch64: Improve strlen_asimd
65c4bb41b6 AArch64: Optimize memrchr
23be6f897e AArch64: Optimize memchr
28e40b3909 aarch64: Use memcpy_simd as the default memcpy
c503e2206e aarch64: Cleanup memset ifunc
577bd1e049 AArch64: Fix typo in sve configure check (BZ# 29394)
ea25fe5599 aarch64: Optimize string functions with shrn instruction
2c4ae9faa5 AArch64: Sort makefile entries
2c92d94407 AArch64: Add SVE memcpy
d6d295a95b linux: Use rseq area unconditionally in sched_getcpu (bug 31479)
dda5faa65e Include sys/rseq.h in tst-rseq-disable.c
c9ee9cc8b8 nptl: Unconditionally use a 32-byte rseq area
3cd02612e8 make ‘struct pthread’ a complete type
a24adf3572 support: use 64-bit time_t (bug 30111)
d47c5e4db7 malloc: Use __get_nprocs on arena_get2 (BZ 30945)
1a3326df93 x86_64: Optimize ffsll function code size.
914af4fcca NEWS: Mention bug fixes for 29039/30745/30843
5d1fe26b49 x86-64: Fix the tcb field load for x32 [BZ #31185]
2d87262c1c x86-64: Fix the dtv field load for x32 [BZ #31184]
5f08ec08d0 elf: Fix TLS modid reuse generation assignment (BZ 29039)
01ea8d9dde Revert "elf: Move l_init_called_next to old place of l_text_end in link map"
0222f2392d Revert "elf: Always call destructors in reverse constructor order (bug 30785)"
6aa8380cf5 Revert "elf: Remove unused l_text_end field from struct link_map"

(From OE-Core rev: 016387557c036efb700b01ab915d69a2e46a5740)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-05-02 06:21:09 -07:00
Vijay Anusuri
966777e0a4 go: Fix for CVE-2023-45288
Upstream-Status: Backport from e55d7cf843

(From OE-Core rev: 9ad10bf355665ff799cefd40fb0d1938b0104b08)

Signed-off-by: Vijay Anusuri <vanusuri@mvista.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-05-02 06:21:09 -07:00
Archana Polampalli
43b8c2ab9f gnutls: fix CVE-2024-28835
A flaw has been discovered in GnuTLS where an application crash can be induced
when attempting to verify a specially crafted .pem bundle using the
"certtool --verify-chain" command.

(From OE-Core rev: e63819fbabbde3d12df06ae302da70ab990df26d)

Signed-off-by: Archana Polampalli <archana.polampalli@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-05-02 06:21:09 -07:00
Archana Polampalli
65303b3236 gnutls: fix CVE-2024-28834
A flaw was found in GnuTLS. The Minerva attack is a cryptographic vulnerability
that exploits deterministic behavior in systems like GnuTLS, leading to
side-channel leaks. In specific scenarios, such as when using the
GNUTLS_PRIVKEY_FLAG_REPRODUCIBLE flag, it can result in a noticeable step in
nonce size from 513 to 512 bits, exposing a potential timing side-channel.

(From OE-Core rev: 18c4f65934331da48c597201c33334578e91a45d)

Signed-off-by: Archana Polampalli <archana.polampalli@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-05-02 06:21:09 -07:00
Steve Sakoman
31751bba1c build-appliance-image: Update to kirkstone head revision
(From OE-Core rev: b7182571242dc4e23e5250a449d90348e62a6abc)

Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-04-22 16:59:49 -07:00
Steve Sakoman
700eac59a6 poky.conf: bump version for 4.0.18
(From meta-yocto rev: 70d8f77cf21e92d2f610d1b73f24d3faf6d96982)

Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-04-22 16:57:08 -07:00
Sana Kazi
dc98af7cab systemd: Fix vlan qos mapping
Drop unnecessary restriction for QoS mapping.
Also adds tests for vlan QoS mapping.

Link: fe830b84d4.patch
PR: https://github.com/systemd/systemd/pull/27761

(From OE-Core rev: b5c5e783fe06e3ae3b3e92ffa7f18bee62aca3c0)

Signed-off-by: Sana Kazi <sana.kazi@kpit.com>
Signed-off-by: Sana Kazi <sana.kazisk19@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-04-21 06:33:35 -07:00
Steve Sakoman
19e8261a85 valgrind: skip intermittently failing ptest
Intermittent failures on autobuilder:

AssertionError: Failed ptests:
{'valgrind': ['memcheck/tests/linux/timerfd-syscall']}

(From OE-Core rev: 19e7d5e717e6d28e0b64bd382f07b8e709526474)

Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-04-21 06:33:35 -07:00
Soumya Sambu
9babd9f028 nghttp2: Fix CVE-2024-28182
nghttp2 is an implementation of the Hypertext Transfer Protocol
version 2 in C. The nghttp2 library prior to version 1.61.0 keeps
reading the unbounded number of HTTP/2 CONTINUATION frames even
after a stream is reset to keep HPACK context in sync. This
causes excessive CPU usage to decode HPACK stream. nghttp2 v1.61.0
mitigates this vulnerability by limiting the number of CONTINUATION
frames it accepts per stream. There is no workaround for this
vulnerability.

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

(From OE-Core rev: 85e65af4727695d61c225a5911325764f423c331)

Signed-off-by: Soumya Sambu <soumya.sambu@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-04-21 06:33:34 -07:00
Harish Sadineni
0f437fb0f2 rust: add CVE_CHECK_IGNORE for CVE-2024-24576
CVE-2024-24576 only applies when invoking batch files (with the `bat` and `cmd` extensions) on Windows & No other platform or use is affected.
More details about CVE is here: https://nvd.nist.gov/vuln/detail/CVE-2024-24576

(From OE-Core rev: 44e0b6b028657d32de5971d6a42a88767ef8c710)

Signed-off-by: Harish Sadineni <Harish.Sadineni@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-04-21 06:33:34 -07:00
Yogita Urade
70c869275a ruby: fix CVE-2024-27281
ruby: RCE vulnerability with .rdoc_options in RDoc

References:
https://github.com/ruby/ruby/pull/10316
https://security-tracker.debian.org/tracker/CVE-2024-27281

(From OE-Core rev: d01b73c51ceead4911a9a9306dbe728f1db2e029)

Signed-off-by: Yogita Urade <yogita.urade@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-04-21 06:33:34 -07:00
Meenali Gupta
888ea24812 libssh2: fix CVE-2023-48795
References:
https://nvd.nist.gov/vuln/detail/CVE-2023-48795

(From OE-Core rev: a4a727839e608d114becc709c511651b4f546c6f)

Signed-off-by: Meenali Gupta <meenali.gupta@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-04-21 06:33:34 -07:00
Michael Opdenacker
364c5c906e manuals: remove tab characters
As reported by "make sphinx-lint"

Tabs are even removed in Makefile examples,
as Sphinx turns them to spaces anyway in the generated output.

(From yocto-docs rev: fd1423141e7458ba557db465c171b0b4e9063987)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Reviewed-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-04-19 04:50:40 -07:00
Jörg Sommer
9f0fd0ad0e kernel-dev: join mkdir commands with -p
To make it more obvious which directories are needed, pass only these to
*mkdir* and use the option `-p` to create the missing parents.

(From yocto-docs rev: 4ddcedca4b09e2c051b33a40659ffce1db2984f5)

Signed-off-by: Jörg Sommer <joerg.sommer@navimatix.de>
Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-04-19 04:50:40 -07:00
Michael Opdenacker
3656b0f473 manuals: fix incorrect double backticks
As reported by "make sphinx-lint"

(From yocto-docs rev: 18d86626406fe07d4f62ef0b9168c0220b3dd90a)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-04-19 04:50:39 -07:00
Michael Opdenacker
fac2a5eff5 manuals: fix trailing spaces
Fixing errors reported by "make sphinx-lint"

(From yocto-docs rev: 45b04c281a567e06fd2904166bcc26603e73e684)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-04-19 04:50:39 -07:00
Michael Opdenacker
a6fdddf8c4 manuals: add initial sphinx-lint support
Makes it possible to catch errors not reported by sphinx,
such as idle spaces. After customization, this should be used
to enforce our syntax conventions, such as two spaces after a "-"
character to introduce a list item.

Just run "make sphinx-lint".

(From yocto-docs rev: a735549a764f7cfebdc7534761b4d75dc523371a)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-04-19 04:50:39 -07:00
Michael Opdenacker
ccbfa27d19 manuals: fix duplicate "stylecheck" target
(From yocto-docs rev: 9247fd612db9e551eb58dbe41d31e460f0ad7d72)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Reviewed-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-04-19 04:50:39 -07:00
Quentin Schulz
c243b5649b manuals: refer to new yocto-patches mailing list wherever appropriate
There's a new yocto-patches mailing list available for all layers that
do not have their own mailing list.

c.f. https://lists.yoctoproject.org/g/yocto/topic/105197684

Cc: Quentin Schulz <foss+yocto@0leil.net>
(From yocto-docs rev: d7fc3e978440d9f5724cbce85de000317a3e0783)

Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-04-19 04:50:39 -07:00
Quentin Schulz
9d7485f8bf docs: conf.py: properly escape backslashes for latex_elements
There are some syntax warnings returned by Python:
"""
yocto-docs/documentation/conf.py:162: SyntaxWarning: invalid escape sequence '\P'
  'passoptionstopackages': '\PassOptionsToPackage{bookmarksdepth=5}{hyperref}',
yocto-docs/documentation/conf.py:163: SyntaxWarning: invalid escape sequence '\s'
  'preamble': '\setcounter{tocdepth}{2}',
"""

Backslashes must be doubled in Python string literals to avoid
interpretation as escape sequence, c.f.
https://www.sphinx-doc.org/en/master/latex.html#module-latex.

Cc: Quentin Schulz <foss+yocto@0leil.net>
(From yocto-docs rev: 037f99339a4bae60f41f89df37911690b507c9a1)

Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-04-19 04:50:39 -07:00
Lee Chee Yang
73955d9954 release-notes-4.0.17: reorder CVEs
reorder CVEs from alphabetical order to numerical order, align it
with text based release notes.

(From yocto-docs rev: a2ce17f656758db737c398263efa594604ca2271)

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-04-19 04:50:39 -07:00
Ross Burton
3c2f809933 tcl: skip async and event tests in run-ptest
These test suites are full of timing-sensitive test cases, so skip
them too.

[ YOCTO #15321 ]

(From OE-Core rev: f94c74cee8b2650dd3211a49dc7e88bf60d2e6a7)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit dd06c3668dbe9ec1cf9a0a84d7a6bc9851f9c662)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-04-19 04:50:39 -07:00
Ross Burton
ab958d6589 tcl: skip timing-dependent tests in run-ptest
There are several tests in the test suite which are very dependent on
timing and fail on a loaded host system, so skip them.

[ YOCTO #14825 #14882 #15081 ]

(From OE-Core rev: 161d336a6c57fddb36a0c4e8c2def84ce70128e3)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 68beb4f4b5a0bea5d431decddf7656f18ac7a04a)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-04-19 04:50:39 -07:00
Khem Raj
f3e5f706b4 tcl: Add a way to skip ptests
Some tests hardcode assumptions on locales, which may not be present in
musl systems e.g., therefore add a way to skip such tests using -skip
option.

Skip unixInit-3* test on musl

(From OE-Core rev: a70f9039259d7d38c5a3e50f7003d3228d1ab692)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit fa66f1cee2d88c2276442e8b4aaeccde5490f9ea)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-04-19 04:50:39 -07:00
Steve Sakoman
ca3bb1f53e Revert "expat: fix CVE-2023-52425"
This reverts commit 1bdcd10930a2998f6bbe56b3ba4c9b6c91203b39.

Causes ptest failures:

{'expat': ['test_accounting_precision',
           'test_return_ns_triplet',
           'test_column_number_after_parse',
           'test_default_current',
           'test_external_entity_values']}

(From OE-Core rev: 46fb46c0fff83da85f37a1ea705170a6d2039eff)

Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-04-19 04:50:38 -07:00
Peter Marko
71267466e9 ncurses: patch CVE-2023-50495
backport relevant parts from
https://invisible-island.net/archives/ncurses/6.4/ncurses-6.4-20230424.patch.gz

(From OE-Core rev: 6a54788ebe147ecd8e347ff8d2ba95a1c461d27d)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-04-19 04:50:38 -07:00
Peter Marko
9d9c54071e openssl: patch CVE-2024-2511
Patch: b52867a9f6
News: daee101e39

(From OE-Core rev: 42fc40198dfcbb5e96d7f2af7fc134e2b021d82a)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-04-19 04:50:38 -07:00
Vijay Anusuri
0603438c81 xserver-xorg: Fix for CVE-2024-31080 and CVE-2024-31081
Upstream-Status: Backport from
96798fc196
& 3e77295f88

(From OE-Core rev: 223950f9c748f89ee1b2a9df9cd77a0099e74581)

Signed-off-by: Vijay Anusuri <vanusuri@mvista.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-04-19 04:50:38 -07:00
Sana Kazi
a095c9e6a3 openssh: Add CVE-2023-51767 to CVE_CHECK_IGNORE
Add CVE-2023-51767 to CVE_CHECK_IGNORE to avoid in cve-check reports
as upstream does not consider CVE-2023-51767 a bug underlying in
OpenSSH and does not intent to address it in OpenSSH.

(From OE-Core rev: de4186610335201c69d8952d605bb291f4a7427c)

Signed-off-by: Sana Kazi <sana.kazi@kpit.com>
Signed-off-by: Sana Kazi <sana.kazisk19@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-04-19 04:50:38 -07:00
Alex Stewart
f2bfbbdcea perl: ignore CVE-2023-47100
CVE-2023-47100 is a duplicate of CVE-2023-47038. They have the same
advertised fix commit, which has already been merged into the
perl_5.34.3 sources used in kirkstone.

(From OE-Core rev: 8df158f39f1eed1e3ae88ddf935c67e067b72525)

Signed-off-by: Alex Stewart <alex.stewart@ni.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-04-19 04:50:38 -07:00
Jonathan GUILLOT
9627817bff cups: fix typo in CVE-2023-32360 backport patch
Typo prevents cupsd to start correctly with following error:
Unable to read "/etc/cups/cupsd.conf" due to errors.

Using `/usr/sbin/cupsd -t` to check the configuration:
Unknown authorization type Defaul on line 77 of /etc/cups/cupsd.conf.
Unknown Policy Limit directive AuthType on line 77 of /etc/cups/cupsd.conf.

(From OE-Core rev: eab100205bc5cdffc5ccc7752e1ee5abd9ebb58a)

Signed-off-by: Jonathan GUILLOT <jonathan@joggee.fr>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-04-19 04:50:38 -07:00
Alexander Kanavin
1e0d58c53b dev-manual: improve descriptions of 'bitbake -S printdiff'
Try to particularly emphasize that it can be used to find
out why something rebuilds when it shouldn't.

(From yocto-docs rev: 1cd543e62e8f1b65e65108d919c2f481001e044c)

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-04-05 07:24:00 -07:00
BELOUARGA Mohamed
77e76a23c4 ref-manual: add documentation of the variable SPDX_NAMESPACE_PREFIX
The documentation of the variable SPDX_NAMESPACE_PREFIX does not exist.
This variable is used to change the prefix of some links in SPDX docs.

(From yocto-docs rev: 0055b7ea1cdf72359695e08fe6d2ca9a405fba51)

Signed-off-by: BELOUARGA Mohamed <m.belouarga@technologyandstrategy.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-04-05 07:24:00 -07:00
Michael Opdenacker
2b4a64396e profile-manual: usage.rst: further style improvements
According to errors reported by "make stylecheck"

(From yocto-docs rev: b3aaf4523190f7528d49c29a9aea234bb1647eae)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-04-05 07:24:00 -07:00
Martin Jansa
28cd826b57 contributor-guide: be more specific about meta-* trees
* this is often confused to apply for e.g. meta-oe as well
  where it doesn't apply as meta-oe has own ML mentioned
  in README.

(From yocto-docs rev: 98102408fe5468529e040a138f09c8fbc5fe065a)

Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-04-05 07:24:00 -07:00
Lee Chee Yang
be6f929830 migration-guides: add release notes for 4.0.17
(From yocto-docs rev: 8267ccacea77a657cf92bcd2b48bec5f2ef61849)

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-04-05 07:24:00 -07:00
Michael Opdenacker
3004d3e2eb profile-manual: usage.rst: fix reference to bug report
Allowing to remove nested parentheses in the text!

(From yocto-docs rev: a0ba062f8b31426f80ccd760e29b054405ee2a8e)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-04-05 07:23:59 -07:00
Michael Opdenacker
832975f59d manuals: use "manual page(s)"
Instead of "manpage(s)" or "man page(s)".
To address one of the errors reported by "make stylecheck"

(From yocto-docs rev: f6e69f8877d1d33200993f21b448e7fa3cf7859b)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-04-05 07:23:59 -07:00
Michael Opdenacker
8b7e9c67e3 profile-manual: usage.rst: formatting fixes
Plus a few text styling improvements, some reported by "make stylecheck"

(From yocto-docs rev: ce0e83716197773d8eae0c2f0edc1cf290ebd60f)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-04-05 07:23:59 -07:00
Michael Opdenacker
15034b32a5 manuals: add initial stylechecks with Vale
Use the "Vale" (https://vale.sh) tool to perform text style checks
Run "make stylecheck" to run the checks.

This just checks the text, not the Sphinx syntax style choices.

(From yocto-docs rev: e3e4ba2aa963d4d178c4e9e842e66f4ee4bd3736)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Suggested-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-04-05 07:23:59 -07:00
Colin McAllister
85da954465 common-licenses: Backport missing license
Backports missing license from master to kirkstone.

(From OE-Core rev: 26a878cbfbb3bc7a6e892e105577ebf8138ce150)

Signed-off-by: Colin McAllister <colin.mcallister@garmin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-04-05 07:23:59 -07:00
Claus Stovgaard
de3d966d73 gcc: Backport sanitizer fix for 32-bit ALSR
When using the gcc-sanitizers as part of the SDK on a Linux with a newer
kernel, the ASAN fails randomly. This was seen on Ubuntu 22.04.

This is also described at
https://stackoverflow.com/questions/77894856/possible-bug-in-gcc-sanitizers

Backport the fix from LLVM project, as gcc has not yet backported
anything for the 11 series.

(From OE-Core rev: 7af8e24d6c60a01e398b10a57939947fb156feec)

Signed-off-by: Claus Stovgaard <claus.stovgaard@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-04-05 07:23:59 -07:00
Tan Wen Yan
3eb39d2618 python3-urllib3: update to v1.26.18
https://github.com/urllib3/urllib3/releases/tag/1.26.18

Major changes in python3-urllib3 1.26.18:
- Made body stripped from HTTP requests changing the request method to GET after HTTP 303 "See Other" redirect responses. (CVE-2023-45803)

(cherry picked from OE-Core rev: 74da05b63634c248910594456dae286947f33da5)

(From OE-Core rev: c473f32184ea0ab41f6eb4c8dcc1d7bb5fd7b16f)

Signed-off-by: Tan Wen Yan <wen.yan.tan@intel.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-04-05 07:23:59 -07:00
Lee Chee Yang
1921c27946 tiff: fix CVE-2023-52356 CVE-2023-6277
import patch from ubuntu to fix CVE-2023-52356 CVE-2023-6277
import from
http://archive.ubuntu.com/ubuntu/pool/main/t/tiff/tiff_4.3.0-6ubuntu0.8.debian.tar.xz

(From OE-Core rev: 4728df36bb3888df4d3cc0db1fd66138e865c511)

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-04-05 07:23:59 -07:00
Vijay Anusuri
ebebf9d948 qemu: Fix for CVE-2023-6683
Upstream-Status: Backport from 405484b29f

Reference: https://security-tracker.debian.org/tracker/CVE-2023-6683

(From OE-Core rev: f099f9ff95c42444cbfa63630a6f160fd98997ed)

Signed-off-by: Vijay Anusuri <vanusuri@mvista.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-04-05 07:23:59 -07:00
Vijay Anusuri
418e54ce5c curl: backport Debian patch for CVE-2024-2398
import patch from ubuntu to fix
 CVE-2024-2398

Upstream-Status: Backport [import from ubuntu https://git.launchpad.net/ubuntu/+source/curl/tree/debian/patches/?h=ubuntu%2Fjammy-security
Upstream commit deca803999]

(From OE-Core rev: 67026cbb62e166b6a9f5509708531ebe0f36c36d)

Signed-off-by: Vijay Anusuri <vanusuri@mvista.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-04-05 07:23:59 -07:00
Meenali Gupta
f9653f1118 expat: fix CVE-2023-52425
libexpat through 2.5.0 allows a denial of service (resource consumption) because
many full reparsings are required in the case of a large token for which multiple
buffer fills are needed.

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

Changes related to test directory are not included as most of the files are not present
and are introduced in the later version.

(From OE-Core rev: 1bdcd10930a2998f6bbe56b3ba4c9b6c91203b39)

Signed-off-by: Meenali Gupta <meenali.gupta@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-04-05 07:23:59 -07:00
Lee Chee Yang
65e2df5990 xwayland: fix CVE-2023-6816 CVE-2024-0408/0409
fix CVE-2023-6816 CVE-2024-0408 CVE-2024-0409

(From OE-Core rev: e8feba36e09aefffcafcebc85ec75abb5b97b3eb)

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-04-05 07:23:58 -07:00
aszh07
cf1c9d3daa nghttp2: fix CVE-2023-44487
The HTTP/2 protocol allows a denial of service (server resource consumption)
because request cancellation can reset many streams quickly, as exploited in
the wild in August through October 2023.

References:
https://nvd.nist.gov/vuln/detail/CVE-2023-44487
72b4af6143

(From OE-Core rev: 0156b57dcdb2e5acdd9421a7c24c235f13da2d97)

Signed-off-by: Zahir Hussain <zahir.basha@kpit.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-04-05 07:23:58 -07:00
Michael Opdenacker
b6f6c72945 manuals: document VIRTUAL-RUNTIME variables
Document the convention to use variables prefixed by VIRTUAL_RUNTIME.
Add references to the new term where possible.

Another reason is that such variables are recommended
in a warning issued by meta/classes-global/insane.bbclass

(From yocto-docs rev: db88c2021062c95fe49b54351952753390d45a6a)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Reported-by: Tim Orling <ticotimo@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-25 04:11:26 -10:00
Simone Weiß
ccb4e6abb4 contributor-guide: add notes for tests
This adds some hints that and how changes should be tested when contributing.

Fixes [YOCTO #15412]

(From yocto-docs rev: 649843f4d20d1d840e1c6c4ce15e89b3a8508e0f)

Signed-off-by: Simone Weiß <simone.p.weiss@posteo.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-25 04:11:26 -10:00
Michael Opdenacker
5b75b5cbcf manuals: replace hyphens with em dashes
Fix some hyphens being improperly used as em dashes.
See https://www.grammarly.com/blog/hyphens-and-dashes/

Using em dashes may also allow Sphinx to hyphenate
and break lines in the best way.

Note that the first character after an em dash not
supposed to be capitalized, unless a specific
rule applies, typically when what follows is a proper noun.

Fix a few misuses of parentheses in following text.

(From yocto-docs rev: a0d93ea1ddfdfbcde8dac3aa328307be778f9e3c)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-25 04:11:26 -10:00
Michael Opdenacker
3b7e326704 dev-manual: packages: fix capitalization
Using "PR service" instead of "PR Service", like in the other
two instances in this document.

(From yocto-docs rev: ef8b7d30738fe8ae6702da111bbafdc0e00e86bf)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Reported-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Reviewed-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-25 04:11:26 -10:00
Geoff Parker
d51c7e990b ref-manual: variables: adding multiple groups in GROUPADD_PARAM
Add missing documentation on how to add multiple groups with a single
GROUPADD_PARAM:${PN}

(From yocto-docs rev: 46f82dcb3b4042491efd44b9c15a06e3c910ec85)

Signed-off-by: Geoff Parker <geoffrey.parker@arthrex.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-25 04:11:26 -10:00
Johan Bezem
48bd3888df ref-manual: variables: correct sdk installation default path
The SDKPATH variable seems mistakenly identified as the
default path where the SDK will be installed by the generated
installation script, unless option '-d' or a manual input
overrides this default.

The intended variable is SDKPATHINSTALL. SDKPATH indicates
where the SDK is being composed and built.

The definitions have been added/updated.

(From yocto-docs rev: f7ce2abbdcff625356b337137e91f642ff6a4dc2)

Signed-off-by: Johan Bezem <jbezem.extern@arri.de>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-25 04:11:26 -10:00
Luca Ceresoli
0b59f7efc6 ref-manual: tasks: do_cleansstate: recommend using '-f' instead for a shared sstate
do_cleansstat can produce build errors when using a shared sstate cache.

Add a note to clearly discourage, provide a safe alternative (bitbake -f),
and the rationale.

Suggested-by: Quentin Schulz  <quentin.schulz@theobroma-systems.com>
Link: https://lore.kernel.org/yocto-docs/20240219155513.76738-1-luca.ceresoli@bootlin.com/T/#m5529687ecb0f9ec2dacddcb6ff58e2df73af9cde
(From yocto-docs rev: 3fb8b5ad7edfa186744396deb7111ba3e31a857b)

Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Reviewed-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-25 04:11:26 -10:00
Luca Ceresoli
59b33ce497 ref-manual: tasks: do_cleanall: recommend using '-f' instead
do_cleanall can produce failures when used in legitimate cases, such as
with recipe variants (foo and foo-native) or a shared DL_DIR. This is why
it is forbidden when writing tests that will run on the autobuilders
(https://docs.yoctoproject.org/test-manual/intro.html?highlight=cleanall#considerations-when-writing-tests).

Reword the documentation to clearly discourage, provide a safe alternative
(bitbake -f -c fetch), and the rationale with an example.

Reported-by: Sam Liddicott
Link: https://bootlin.com/blog/yocto-sharing-the-sstate-cache-and-download-directories/#comment-2650335
(From yocto-docs rev: 92e1d1fba336de12637b75b043b86485b80324a2)

Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Reviewed-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-25 04:11:26 -10:00
Haitao Liu
e8d1874bf0 glibc: Fix subscript typos for get_nscd_addresses
Fix the following error:

root@intel-x86-64:~# wget -6 http://localhost
--2024-01-12 07:18:42--  http://localhost/
Resolving localhost... failed: No IPv4/IPv6 addresses for host.
wget: unable to resolve host address 'localhost'

Reference:
https://sourceware.org/bugzilla/show_bug.cgi?id=29605

Upstream-patch:
https://sourceware.org/git/?p=glibc.git;a=commit;h=c9226c03da0276593a0918eaa9a14835183343e8

(From OE-Core rev: 1b5405955c7c2579ed1f52522e2e177d0281fa33)

Signed-off-by: Haitao Liu <haitao.liu@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-25 04:11:26 -10:00
Martin Jansa
1ca3aed8af stress-ng: avoid calling sync during do_compile
calling 'sync' from do_compile in the middle of big OE world
build harms the build time.

(From OE-Core rev: b2de7d75692fd4c9e0a6f46a099b89089edb10d4)

Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-25 04:11:26 -10:00
Michael Halstead
529c7c30e6 yocto-uninative: Update to 4.4 for glibc 2.39
(From OE-Core rev: d8e3d1eb489f658c8c328a35d41b29bc849c3207)

Signed-off-by: Michael Halstead <mhalstead@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 56fdd8b79e2f7ec30d2cdcfa0c399a6553efac1e)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-25 04:11:26 -10:00
Alexander Kanavin
f0645d6efc linux-firmware: upgrade 20231211 -> 20240220
License-Update: additional files

(From OE-Core rev: e5956d94ba9fa5b5b2f6bfda8e533bc8c6d4c59f)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit add81ef0299ea5260f9bdc59ffc8f5cc0e74276f)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-25 04:11:26 -10:00
Alex Kiernan
e011bb9e8d wireless-regdb: Upgrade 2023.09.01 -> 2024.01.23
Upstream maintainer has changed to Chen-Yu Tsai <wens@kernel.org>:

https://lore.kernel.org/all/CAGb2v657baNMPKU3QADijx7hZa=GUcSv2LEDdn6N=QQaFX8r-g@mail.gmail.com/

Note that fb768d3b13ff ("wifi: cfg80211: Add my certificate") and
3c2a8ebe3fe6 ("wifi: cfg80211: fix certs build to not depend on file
order") are required if you are using kernel signature verification.

(From OE-Core rev: 11c9c6eec5ff45cd1fd4858bc28f38693c5d0fde)

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit abf169fbbf8bab13224adf4c8bfa2e26607f360c)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-25 04:11:26 -10:00
Wang Mingyu
5325ae0e06 wireless-regdb: upgrade 2023.05.03 -> 2023.09.01
Changelog:
==========
wireless-regdb: update regulatory database based on preceding changes
wireless-regdb: Update regulatory rules for Australia (AU) for June 2023
wireless-regdb: Update regulatory info for Türkiye (TR)
wireless-regdb: Update regulatory rules for Egypt (EG) from March 2022 guidel...
wireless-regdb: Update regulatory rules for Philippines (PH)

(From OE-Core rev: 3af65ed130493e14a87818b76b06f9ca7c717874)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 2f5edb6904bf16a9c52a9b124aeb5297487cd716)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-25 04:11:26 -10:00
Yoann Congal
4b6fc4f642 cve-update-nvd2-native: Remove rejected CVE from database
When a CVE is updated to be rejected, matching database entries must be
removed. Otherwise:
* an incremental update is not equivalent the to an initial download.
* rejected CVEs might still appear as Unpatched in cve-check.

(From OE-Core rev: 717f0df5f35272f7706e4f92cc8b57cdda8066b6)

Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f276a980b8930b98e6c8f0e1a865d77dfcfe5085)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-25 04:11:26 -10:00
Yoann Congal
ab504237a5 cve-update-nvd2-native: Fix CVE configuration update
When a CVE is created, it often has no precise version information and
this is stored as "-" (matching any version). After an update, version
information is added. The previous "-" must be removed, otherwise, the
CVE is still "Unpatched" for cve-check.

(From OE-Core rev: 38402b5e89d43bf2a45c8f5f2d631033be5019cd)

Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 641ae3f36e09af9932dc33043a0a5fbfce62122e)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-25 04:11:26 -10:00
Yoann Congal
ea0af985cb cve-update-nvd2-native: nvd_request_next: Improve comment
Add a URL to the doc of the API used in the function.
... and fix a small typo dabase -> database

(From OE-Core rev: a98387021d80b5055a773f909eb685513902fb12)

Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit e0157b3b81333a24abd31dbb23a6abebca3e7ba7)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-25 04:11:26 -10:00
Yoann Congal
0c780cd9c8 cve-update-nvd2-native: Remove duplicated CVE_CHECK_DB_FILE definition
CVE_CHECK_DB_FILE is already defined in cve-check.bbclass which is
always inherited in cve-update-nvd2-native (There is a check line 40).

Remove it to avoid confusion. Otherwise, this should not change
anything.

(From OE-Core rev: b6285f0549d1c708adfe147c63eb6cda24462ff3)

Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit e5f3f223885c17b7007c310273fc7c80b90a4105)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-25 04:11:26 -10:00
Yoann Congal
bcd26a2342 cve-update-nvd2-native: Add an age threshold for incremental update
Add a new variable "CVE_DB_INCR_UPDATE_AGE_THRES", which can be used to
specify the maximum age of the database for doing an incremental update
For older databases, a full re-download is done.

With a value of "0", this forces a full-redownload.

(From OE-Core rev: 5259971a4785e7f664c0f588f34f8ef537c5c4c5)

Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 74c1765111b6610348eae4b7e41d7045ce58ef86)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-25 04:11:26 -10:00
Yoann Congal
a2271ac5a9 cve-update-nvd2-native: Fix typo in comment
attmepts -> attempts

(From OE-Core rev: 6f49c54a0ecc9d6e79816ce8dd7b65e5a8013df6)

Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit dc18aaeda8e810f9082a0ceac08e5e4275bbd0f7)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-25 04:11:25 -10:00
Vijay Anusuri
6269fbcd4f python3-cryptography: Backport fix for CVE-2024-26130
Upstream-Status: Backport from 97d2316727

(From OE-Core rev: 7864c4605cde4851df644dd1d2867bd28d155710)

Signed-off-by: Vijay Anusuri <vanusuri@mvista.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-25 04:11:25 -10:00
Meenali Gupta
9fce626d58 expat: fix CVE-2023-52426
A flaw was found in Expat (libexpat). If XML_DTD is undefined at compile time, a
recursive XML Entity Expansion condition can be triggered.This issue may lead to
a condition where data is expanded exponentially, which will quickly consume system
resources and cause a denial of service.

References:
https://nvd.nist.gov/vuln/detail/CVE-2023-52426
https://github.com/libexpat/libexpat/pull/777

(From OE-Core rev: aa20dd9eb68f04a5f1556123ad1b2398de911d93)

Signed-off-by: Meenali Gupta <meenali.gupta@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-25 04:11:25 -10:00
Peter Marko
fe9d4cb613 expat: patch CVE-2024-28757
Picked patch from https://github.com/libexpat/libexpat/pull/842
which is referenced in the NVD CVE report.

(From OE-Core rev: c02175e97348836429cecbfad15d89be040bbd92)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-25 04:11:25 -10:00
Steve Sakoman
6d1a878bbf build-appliance-image: Update to kirkstone head revision
(From OE-Core rev: 2501534c9581c6c3439f525d630be11554a57d24)

Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-13 07:43:53 -10:00
Steve Sakoman
ff7353b24f poky.conf: bump version for 4.0.17
(From meta-yocto rev: 2e1962250eeb91ac4037ddaa844b5611ce287745)

Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-13 07:39:09 -10:00
Bruce Ashfield
587b5725bd yocto-bsp: update to v5.15.150
Bumping the reference BSPs to match the version of the qemu*
BSPs in oe-core.

(From meta-yocto rev: 26e04e6682c2658673b0295f853a59c630d5e16d)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-13 07:39:09 -10:00
Nikhil R
d9dd05b088 librsvg: Fix do_package_qa error for librsvg
When using meta-rust layer for rust below
do_package_qa error in librsvg is observed

Fix the below error:
ERROR: librsvg-2.52.10-r0 do_package_qa: QA Issue: File /usr/bin/rsvg-convert in package rsvg doesn't have GNU_HASH (didn't pass LDFLAGS?) File /usr/bin/rsvg-convert in package rsvg doesn't have GNU_HASH (didn't pass LDFLAGS?) [ldflags] ERROR: librsvg-2.52.10-r0 do_package_qa: Fatal QA errors were found, failing task.

(From OE-Core rev: 8829495c716d48bae47b5f738abb3c85ad3f21b1)

Signed-off-by: Nikhil R <nikhil.r@kpit.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-13 07:36:51 -10:00
Bruce Ashfield
8c81ddc78f linux-yocto/5.15: fix partion scanning
Integrating the following commit(s) to linux-yocto/5.15:

1/1 [
    Author: Christoph Hellwig
    Email: hch@lst.de
    Subject: block, loop: support partitions without scanning
    Date: Fri, 27 May 2022 07:58:06 +0200

    Historically we did distinguish between a flag that surpressed partition
    scanning, and a combinations of the minors variable and another flag if
    any partitions were supported.  This was generally confusing and doesn't
    make much sense, but some corner case uses of the loop driver actually
    do want to support manually added partitions on a device that does not
    actively scan for partitions.  To make things worsee the loop driver
    also wants to dynamically toggle the scanning for partitions on a live
    gendisk, which makes the disk->flags updates non-atomic.

    Introduce a new GD_SUPPRESS_PART_SCAN bit in disk->state that disables
    just scanning for partitions, and toggle that instead of GENHD_FL_NO_PART
    in the loop driver.

    [bva: Notes for this backport:
       - drop return code in disk_scan_partitions for GD_SUPPRESS_PART_SCAN.
         The check doesn't strictly need ot be in this routine in 5.15, but
         this faciliates future changes in this area, since there are
         other checks in the same function.
       - GD_SUPPRESS_PART_SCAN could go to genh.c, but genhd.c includes
         blkdev.h, so we leave the new GD_SUPPRESS_PART_SCAN definition
         in the same places as where it was introduced upstream to keep
         the changes to a minimum
       - upstream commit e16e506ccd673 merges blkdev_reread_part into
         disk_scan_partitions. Backporting that change is more churn
         than we need, so we also add the check for GD_SUPPRESS_PART_SCAN
         into that routine to have the check hit in a 5.15 context.
    ]

    Upstream-Status: Backport [commit b9684a71fca79]

    Fixes: 1ebe2e5f9d68 ("block: remove GENHD_FL_EXT_DEVT")
    Reported-by: Ming Lei <ming.lei@redhat.com>
    Signed-off-by: Christoph Hellwig <hch@lst.de>
    Reviewed-by: Ming Lei <ming.lei@redhat.com>
    Link: https://lore.kernel.org/r/20220527055806.1972352-1-hch@lst.de
    Signed-off-by: Jens Axboe <axboe@kernel.dk>
    Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
]

(From OE-Core rev: 768ac24afff43d58c32617025391049d5d0d166b)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-13 07:36:51 -10:00
Bruce Ashfield
317981524d linux-yocto/5.15: update CVE exclusions (5.15.150)
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: 253dd177e608f3e2d6fb8ea73d265e4d1a74b7cd)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-13 07:36:51 -10:00
Bruce Ashfield
37b1dff212 linux-yocto/5.15: update to v5.15.150
Updating linux-yocto/5.15 to the latest korg -stable release that comprises
the following commits:

    80efc6265290 Linux 5.15.150
    da6cabc1981e r8169: use new PM macros
    b7f3fac6d301 netfilter: nf_tables: can't schedule in nft_chain_validate
    a4efc62cd1ed ext4: avoid bb_free and bb_fragments inconsistency in mb_free_blocks()
    c1317822e2de ext4: regenerate buddy after block freeing failed if under fc replay
    d82ec7529c5f netfilter: nf_tables: fix scheduling-while-atomic splat
    97eaa2955db4 arp: Prevent overflow in arp_req_get().
    d7b6fa97ec89 fs/aio: Restrict kiocb_set_cancel_fn() to I/O submitted via libaio
    df31d05f0678 cifs: fix mid leak during reconnection after timeout threshold
    aade859419ce i2c: imx: when being a target, mark the last read as processed
    cb21407f0b39 i2c: imx: Add timer for handling the stop condition
    33f649f1b1ce drm/amd/display: Fix memory leak in dm_sw_fini()
    9a03126588e5 drm/syncobj: call drm_syncobj_fence_add_wait when WAIT_AVAILABLE flag is set
    13b57b5cd591 netfilter: nft_flow_offload: release dst in case direct xmit path is used
    4c167af9f6b5 netfilter: nft_flow_offload: reset dst in route object after setting up flow
    7c71b831220e netfilter: flowtable: simplify route logic
    664264a5c55b netfilter: nf_tables: set dormant flag on hook register failure
    4338032aa90b tls: stop recv() if initial process_rx_list gave us non-DATA
    ea845237a39d tls: rx: drop pointless else after goto
    8b32e43a80a1 tls: rx: jump to a more appropriate label
    39603a6d4e71 s390: use the correct count for __iowrite64_copy()
    8cae520f21ad octeontx2-af: Consider the action set by PF
    6dae096960bc drm/nouveau/instmem: fix uninitialized_var.cocci warning
    4d3b2bd995ed net: dev: Convert sa_data to flexible array in struct sockaddr
    d65ec3e48f70 packet: move from strlcpy with unused retval to strscpy
    91b020aaa1e5 ipv6: sr: fix possible use-after-free and null-ptr-deref
    e56662160fc2 afs: Increase buffer size in afs_update_volume_status()
    5268bb02107b bpf: Fix racing between bpf_timer_cancel_and_free and bpf_timer_cancel
    6800ad7417f3 ata: ahci_ceva: fix error handling for Xilinx GT PHY support
    7fcc31a3a705 ata: libahci_platform: Introduce reset assertion/deassertion methods
    ddac2e0e656e ata: libahci_platform: Convert to using devm bulk clocks API
    302b92b37304 ipv6: properly combine dev_base_seq and ipv6.dev_addr_genid
    a75b49547831 ipv4: properly combine dev_base_seq and ipv4.dev_addr_genid
    2a7b878a7dad net: stmmac: Fix incorrect dereference in interrupt handlers
    a41d9142d2dd nouveau: fix function cast warnings
    1087c284fd11 scsi: jazz_esp: Only build if SCSI core is builtin
    4e395fb89e7e bpf, scripts: Correct GPL license name
    cd6070d9f5e7 RDMA/srpt: fix function pointer cast warnings
    656bd1702fea arm64: dts: rockchip: set num-cs property for spi on px30
    135e5465fefa RDMA/qedr: Fix qedr_create_user_qp error flow
    989af2f29342 RDMA/srpt: Support specifying the srpt_service_guid parameter
    b6e660e07622 RDMA/irdma: Add AE for too many RNRS
    056ed95befd1 RDMA/irdma: Set the CQ read threshold for GEN 1
    a95d4cf82775 RDMA/irdma: Validate max_send_wr and max_recv_wr
    635d79aa477f RDMA/irdma: Fix KASAN issue with tasklet
    aeb5ac1c9d10 RDMA/bnxt_re: Return error for SRQ resize
    52de5805c147 IB/hfi1: Fix a memleak in init_credit_return
    48c63a174489 cifs: add a warning when the in-flight count goes negative
    6538b6d13ce3 xhci: track port suspend state correctly in unsuccessful resume cases
    8839d5728baa xhci: decouple usb2 port resume and get_port_status request handling
    8af9de2a5ba1 xhci: clear usb2 resume related variables in one place.
    a99c8f1abef9 xhci: rename resume_done to resume_timestamp
    63f0e79cf382 xhci: move port specific items such as state completions to port structure
    ea6c19c7365d xhci: cleanup xhci_hub_control port references
    95973afc870c ACPI: resource: Skip IRQ override on ASUS ExpertBook B1502CBA
    4f080b6487bd ACPI: resource: Skip IRQ override on Asus Expertbook B2402CBA
    c2a9376d507e ACPI: resource: Add Asus ExpertBook B2502 to Asus quirks
    1b64ff947a5a ACPI: resource: Skip IRQ override on Asus Vivobook S5602ZA
    f3607954f2e6 ACPI: resource: Add ASUS model S5402ZA to quirks
    27e99d785721 ACPI: video: Add backlight=native DMI quirk for Apple iMac12,1 and iMac12,2
    cb1003c07e74 ARM: dts: BCM53573: Describe on-SoC BCM53125 rev 4 switch
    28e5e3e59b3b arm64: dts: rockchip: add SPDIF node for ROCK Pi 4
    99c8b2e99783 arm64: dts: rockchip: add ES8316 codec for ROCK Pi 4
    371036bf7666 arm64: dts: rockchip: fix regulator name on rk3399-rock-4
    92dcd7d6c606 exfat: support dynamic allocate bh for exfat_entry_set_cache
    b4dc693b29ef wifi: iwlwifi: mvm: avoid baid size integer overflow
    fa92c463eba7 igb: Fix igb_down hung on surprise removal
    16f653776caf wifi: wext-core: Fix -Wstringop-overflow warning in ioctl_standard_iw_point()
    7552020e3aa8 devlink: report devlink_port_type_warn source device
    819ca25444b3 bpf: Address KCSAN report on bpf_lru_list
    f97832620d7f wifi: ath11k: fix registration of 6Ghz-only phy without the full channel range
    3cb43222bab8 sched/fair: Don't balance task to its current running CPU
    621619f626cb arm64: mm: fix VA-range sanity check
    0bd309f22663 arm64: set __exception_irq_entry with __irq_entry as a default
    dd0802f0a9d6 ACPI: video: Add backlight=native DMI quirk for Lenovo ThinkPad X131e (3371 AMD version)
    3cc2d66b12e0 ACPI: video: Add backlight=native DMI quirk for Apple iMac11,3
    54da51be3b7e ACPI: button: Add lid disable DMI quirk for Nextbook Ares 8A
    fa33b70513a0 btrfs: add xxhash to fast checksum implementations
    ef535e0315af posix-timers: Ensure timer ID search-loop limit is valid
    84a578961b25 md/raid10: prevent soft lockup while flush writes
    6b03364b29bd md: fix data corruption for raid456 when reshape restart while grow up
    638eaac37464 nbd: Add the maximum limit of allocated index in nbd_dev_add
    173e191012aa debugobjects: Recheck debug_objects_enabled before reporting
    de2efb42d693 netfilter: nf_tables: add rescheduling points during loop detection walks
    a022c339afca net/sched: Refactor qdisc_graft() for ingress and clsact Qdiscs
    65acad6791bf Input: iqs269a - do not poll during ATI
    13b1dee7e110 Input: iqs269a - do not poll during suspend or resume
    f33ba1ec4ad9 Input: iqs269a - switch to DEFINE_SIMPLE_DEV_PM_OPS() and pm_sleep_ptr()
    dba06912727b PM: core: Remove static qualifier in DEFINE_SIMPLE_DEV_PM_OPS macro
    995e77b87389 mmc: mxc: Use the new PM macros
    8bc597732c85 mmc: jz4740: Use the new PM macros
    75d4f92d8788 PM: core: Add new *_PM_OPS macros, deprecate old ones
    53f7337519a1 PM: core: Redefine pm_ptr() macro
    a51c253d8321 powerpc/eeh: Set channel state after notifying the drivers
    4570db06b724 powerpc/eeh: Small refactor of eeh_handle_normal_event()
    12dd4a0848c4 powerpc/rtas: ensure 4KB alignment for rtas_data_buf
    8afaf74307f8 powerpc/rtas: make all exports GPL
    2240f4c5f5d5 net: ethernet: ti: add missing of_node_put before return
    18721a837387 dt-bindings: clocks: imx8mp: Add ID for usb suspend clock
    fb100de77846 clk: imx8mp: add clkout1/2 support
    3c8a513f0f6b clk: imx8mp: Add DISP2 pixel clock
    3517b6d6146c serial: 8250: Remove serial_rs485 sanitization from em485
    54974aad4a76 cifs: remove useless parameter 'is_fsctl' from SMB2_ioctl()
    15c3ddd11803 kernel/sched: Remove dl_boosted flag comment
    a1733ffd88d9 drm/i915/dg1: Update DMC_DEBUG3 register
    8102416c05bb f2fs: write checkpoint during FG_GC
    cfd5d011d6f6 f2fs: don't set GC_FAILURE_PIN for background GC
    56b522f46681 drm/amdgpu: init iommu after amdkfd device init
    572ee5086e47 tools/virtio: fix build
    80f2a246225c perf beauty: Update copy of linux/socket.h with the kernel sources
    47b6345ddb6c tools headers UAPI: Sync linux/fscrypt.h with the kernel sources
    c65a23e98e38 ARM: dts: BCM53573: Drop nonexistent "default-off" LED trigger
    2eb3d2a54ad7 acpi: property: Let args be NULL in __acpi_node_get_property_reference
    7abdd666a06f platform/x86: asus-wmi: Document the dgpu_disable sysfs attribute
    7de3c1535bdf clk: linux/clk-provider.h: fix kernel-doc warnings and typos
    b184742d2788 RDMA/siw: Correct wrong debug message
    6f6ec8aff219 RDMA/siw: Balance the reference of cep->kref in the error path
    71475bcee001 ARM: dts: BCM53573: Drop nonexistent #usb-cells
    832cf206dfe2 selftests: net: vrf-xfrm-tests: change authentication and encryption algos
    14e1f63b3918 vdpa/mlx5: Don't clear mr struct on destroy MR
    5b4f6c5ff65c MIPS: vpe-mt: drop physical_memsize
    1be5de5b642a MIPS: SMP-CPS: fix build error when HOTPLUG_CPU not set
    cc24b32d7d62 powerpc/pseries/lpar: add missing RTAS retry status handling
    3212606148b8 powerpc/perf/hv-24x7: add missing RTAS retry status handling
    e3835122ea28 powerpc/pseries/lparcfg: add missing RTAS retry status handling
    228d3c49194b clk: Honor CLK_OPS_PARENT_ENABLE in clk_core_is_enabled()
    d0e4a444557a clk: qcom: gpucc-sdm845: fix clk_dis_wait being programmed for CX GDSC
    e7076cfb72d5 clk: qcom: gpucc-sc7180: fix clk_dis_wait being programmed for CX GDSC
    83c043b92b0f powerpc/powernv/ioda: Skip unallocated resources when mapping to PE
    8c373aa1f784 Input: ads7846 - don't check penirq immediately for 7845
    6a37a429b3ee Input: ads7846 - always set last command to PWRDOWN
    199e666477d5 clk: imx: avoid memory leak
    94957e54dc70 clk: renesas: cpg-mssr: Remove superfluous check in resume code
    2d89ed2e0629 Input: ads7846 - don't report pressure for ads7845
    f992d1afd17f clk: renesas: cpg-mssr: Fix use after free if cpg_mssr_common_init() failed
    d73cf59d2446 Input: iqs269a - increase interrupt handler return delay
    db06a2ae0707 Input: iqs269a - configure device with a single block write
    fdbceead4ac1 Input: iqs269a - drop unused device node references
    d93c68661ad8 RISC-V: fix funct4 definition for c.jalr in parse_asm.h
    5c5c02b069cc mtd: rawnand: sunxi: Fix the size of the last OOB region
    11fcd28df8d3 clk: qcom: gcc-qcs404: fix names of the DSI clocks used as parents
    9fcba5e7bb5c clk: qcom: gcc-qcs404: disable gpll[04]_out_aux parents
    7602e5e1bd04 clk: imx: imx8mp: add shared clk gate for usb suspend clk
    7d6e8d7ee13b mptcp: fix lockless access in subflow ULP diag
    256c3e6192ed usb: roles: don't get/set_role() when usb_role_switch is unregistered
    ef982fc41055 usb: roles: fix NULL pointer issue when put module's reference
    2cb66b62a5d6 usb: gadget: ncm: Avoid dropping datagrams of properly parsed NTBs
    3a2a909942b5 usb: cdns3: fix memory double free when handle zero packet
    4e5c73b15d95 usb: cdns3: fixed memory use after free at cdns3_gadget_ep_disable()
    f4928121f707 usb: cdnsp: fixed issue with incorrect detecting CDNSP family controllers
    7c532fb96ac1 usb: cdnsp: blocked some cdns3 specific code
    c98f2d25f8f6 usb: dwc3: gadget: Don't disconnect if not started
    f4fab74cb83c serial: amba-pl011: Fix DMA transmission in RS485 mode
    2c62c8984b96 x86/alternative: Make custom return thunk unconditional
    b0c9fcacf218 Revert "x86/alternative: Make custom return thunk unconditional"
    ae815291f0da x86/returnthunk: Allow different return thunks
    5ca1f6adac69 x86/ftrace: Use alternative RET encoding
    b9d69bfff6fd x86/ibt,paravirt: Use text_gen_insn() for paravirt_patch()
    b810c58d8b01 x86/text-patching: Make text_gen_insn() play nice with ANNOTATE_NOENDBR
    8943e3c9446d Revert "x86/ftrace: Use alternative RET encoding"
    eec6cbbfa1e8 ARM: ep93xx: Add terminator to gpiod_lookup_table
    0da15a703951 l2tp: pass correct message length to ip6_append_data
    9d71d7a9f2a6 PCI/MSI: Prevent MSI hardware interrupt number truncation
    a576308800be gtp: fix use-after-free and null-ptr-deref in gtp_genl_dump_pdp()
    d81e2dc20395 KVM: arm64: vgic-its: Test for valid IRQ in its_sync_lpi_pending_table()
    4deb8413eccb KVM: arm64: vgic-its: Test for valid IRQ in MOVALL handler
    e20b24b175c9 platform/x86: touchscreen_dmi: Allow partial (prefix) matches for ACPI names
    79d7504a24a3 platform/x86: intel-vbtn: Stop calling "VBDL" from notify_handler
    1a4371db68a3 dm-crypt: don't modify the data when using authenticated encryption
    d580f0dcb5e3 drm/ttm: Fix an invalid freeing on already freed page in error path
    47ae64df23ed IB/hfi1: Fix sdma.h tx->num_descs off-by-one error
    77cbc04a1a86 erofs: fix lz4 inplace decompression
    fbb662ffa005 pmdomain: renesas: r8a77980-sysc: CR7 must be always on
    43ea43b6fa17 ksmbd: free aux buffer if ksmbd_iov_pin_rsp_read fails
    475426ad1ae0 pmdomain: mediatek: fix race conditions with genpd
    2a52590ac523 virtio-blk: Ensure no requests in virtqueues before deleting vqs.
    b9a61ee2bb27 drm/amdgpu: reset gpu for s3 suspend abort case
    afc74fda2b5d drm/amdgpu: skip to program GFXDEC registers for suspend abort
    dcd33edd854a firewire: core: send bus reset promptly on gap count error
    a74270a1b784 scsi: lpfc: Use unsigned type for num_sge
    26b8bdb5561a hwmon: (coretemp) Enlarge per package core count limit
    a2f99731ab31 efi: Don't add memblocks for soft-reserved memory
    4aa36b62c3ea efi: runtime: Fix potential overflow of soft-reserved region size
    262dc4fb1517 wifi: mac80211: adding missing drv_mgd_complete_tx() call
    a585faf05915 fs/ntfs3: Fix oob in ntfs_listxattr
    0a3548e82424 fs/ntfs3: Update inode->i_size after success write into compressed file
    c39c689a82b3 fs/ntfs3: Correct function is_rst_area_valid
    54142e95dfc8 fs/ntfs3: Prevent generic message "attempt to access beyond end of device"
    095d6a66bc69 fs/ntfs3: use non-movable memory for ntfs3 MFT buffer cache
    3f3a6ebf6a32 fs/ntfs3: Disable ATTR_LIST_ENTRY size check
    ee8db6475cb1 fs/ntfs3: Add NULL ptr dereference checking at the end of attr_allocate_frame()
    56dacb722b76 fs/ntfs3: Fix detected field-spanning write (size 8) of single field "le->name"
    3532bceaed11 fs/ntfs3: Print warning while fixing hard links count
    f14132b88315 fs/ntfs3: Correct hard links updating when dealing with DOS names
    cd465584d501 fs/ntfs3: Improve ntfs_dir_count
    3f7920b36da0 fs/ntfs3: Modified fix directory element type detection
    b4663b406aee Input: i8042 - add Fujitsu Lifebook U728 to i8042 quirk table
    9b1e3cf9ed29 ext4: correct the hole length returned by ext4_map_blocks()
    46e64b9a4b6f nvmet-fc: take ref count on tgtport before delete assoc
    5e0bc09a52b6 nvmet-fc: avoid deadlock on delete association path
    f323185c7923 nvmet-fc: abort command when there is no binding
    59b4ca71ab70 nvmet-fc: hold reference on hostport match
    8fd604d4b0d7 nvmet-fc: defer cleanup using RCU properly
    8f7104e18ffd nvmet-fc: release reference on target port
    071f116416a1 nvmet-fcloop: swap the list_add_tail arguments
    0bf567d6d9ff nvme-fc: do not wait in vain when unloading module
    75e34de642a3 ALSA: usb-audio: Ignore clock selector errors for single connection
    a75d89666c57 netfilter: conntrack: check SCTP_CID_SHUTDOWN_ACK for vtag setting in sctp_new
    4a5ed4697232 Input: xpad - add Lenovo Legion Go controllers
    1e9af43d5d02 spi: sh-msiof: avoid integer overflow in constants
    ef1e3f277a7f ASoC: sunxi: sun4i-spdif: Add support for Allwinner H616
    e59905cfb195 ALSA: usb-audio: Check presence of valid altsetting control
    065da538e6a6 nvmet-tcp: fix nvme tcp ida memory leak
    f8dee8e4893c regulator: pwm-regulator: Add validity checks in continuous .get_voltage
    4fe4e5adc7d2 dmaengine: ti: edma: Add some null pointer checks to the edma_probe
    8de8305a25bf ext4: avoid allocating blocks from corrupted group in ext4_mb_find_by_goal()
    4c21fa60a6f4 ext4: avoid allocating blocks from corrupted group in ext4_mb_try_best_found()
    687061cfaa2a ext4: avoid dividing by 0 in mb_update_avg_fragment_size() when block bitmap corrupt
    3700475e0961 platform/x86: touchscreen_dmi: Add info for the TECLAST X16 Plus tablet
    343c19816883 MIPS: reserve exception vector space ONLY ONCE
    b4c13deff359 ahci: add 43-bit DMA address quirk for ASMedia ASM1061 controllers
    1a8bd6244963 ahci: asm1166: correct count of reported ports
    0399d7eba41d spi: hisi-sfc-v3xx: Return IRQ_NONE if no interrupts were detected
    df6e2088c6f4 fbdev: sis: Error out if pixclock equals zero
    8c54acf33e5a fbdev: savage: Error out if pixclock equals zero
    88c18fd06608 wifi: mac80211: fix race condition on enabling fast-xmit
    212f20d5b16e wifi: cfg80211: fix missing interfaces when dumping
    37d82e6ac9b2 dmaengine: fsl-qdma: increase size of 'irq_name'
    3692c6f2b564 dmaengine: shdma: increase size of 'dev_id'
    a9849b67b440 scsi: target: core: Add TMF to tmr_list handling
    0766e7317aab sched/rt: Disallow writing invalid values to sched_rt_period_us
    5295b5f2e561 sched/rt: Fix sysctl_sched_rr_timeslice intial value
    8bd3eee7720c x86/fpu: Stop relying on userspace for info to fault in xsave buffer
    c017fbf10596 zonefs: Improve error handling
    bbc432e632d4 userfaultfd: fix mmap_changing checking in mfill_atomic_hugetlb
    4bbb93ad84b3 bpf: Remove trace_printk_lock
    4b349c55bbd3 bpf: Do cleanup in bpf_bprintf_cleanup only when needed
    bcbaeb081ad8 bpf: Add struct for bin_args arg in bpf_bprintf_prepare
    8495c34dff0d bpf: Merge printk and seq_printf VARARG max macros
    ab2e127896a2 PCI: dwc: Fix a 64bit bug in dw_pcie_ep_raise_msix_irq()
    50349893930a sched/rt: sysctl_sched_rr_timeslice show default timeslice after reset
    ee0fb9baa7a4 smb: client: fix parsing of SMB3.1.1 POSIX create context
    890bc4fac3c0 smb: client: fix potential OOBs in smb2_parse_contexts()
    858e73ff2563 smb: client: fix OOB in receive_encrypted_standard()
    6e5e93fd51fe net/sched: Retire dsmark qdisc
    c3fdf76849c6 net/sched: Retire ATM qdisc
    78bac52c290a net/sched: Retire CBQ qdisc

(From OE-Core rev: 024d0778139277523f37d1a2857c6adbf69fd1c5)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-13 07:36:51 -10:00
Bruce Ashfield
c7bc3c496e linux-yocto/5.10: update to v5.10.210
Updating linux-yocto/5.10 to the latest korg -stable release that comprises
the following commits:

    aa6ca808a467 Linux 5.10.210
    cf5a69e35591 PCI: dwc: Fix a 64bit bug in dw_pcie_ep_raise_msix_irq()
    9f53d24852ff net: bcmgenet: Fix EEE implementation
    9a865a11d689 netfilter: nf_tables: fix pointer math issue in nft_byteorder_eval()
    67f386f75637 drm/msm/dsi: Enable runtime PM
    21b38d85f6de PM: runtime: Have devm_pm_runtime_enable() handle pm_runtime_dont_use_autosuspend()
    ede393e11819 PM: runtime: add devm_pm_runtime_enable helper
    a891a0621e72 dm: limit the number of targets and parameter size area
    c90746c03b3c nilfs2: replace WARN_ONs for invalid DAT metadata block requests
    f3e4963566f5 nilfs2: fix potential bug in end_buffer_async_write
    db896bbe4a9c sched/membarrier: reduce the ability to hammer on sys_membarrier
    8f8f18564374 net: prevent mss overflow in skb_segment()
    f7e0231eeaa3 Revert "arm64: Stash shadow stack pointer in the task struct on interrupt"
    70ca0dbae4e9 hrtimer: Ignore slack time for RT tasks in schedule_hrtimeout_range()
    c80ddc10927f netfilter: ipset: Missing gc cancellations fixed
    a24d5f2ac8ef netfilter: ipset: fix performance regression in swap operation
    583a6c76b949 scripts/decode_stacktrace.sh: optionally use LLVM utilities
    0f906882eba5 scripts: decode_stacktrace: demangle Rust symbols
    a3d71b6ae935 scripts/decode_stacktrace.sh: support old bash version
    ae992f14b117 scripts/decode_stacktrace.sh: silence stderr messages from addr2line/nm
    00f09825e14c serial: 8250_exar: Set missing rs485_supported flag
    84bf7b87594d serial: 8250_exar: Fill in rs485_supported
    dfd8b9d26b8b serial: Add rs485_supported to uart_port
    0c3687822259 crypto: lib/mpi - Fix unexpected pointer access in mpi_ec_init
    e0d2eeec88ae mips: Fix max_mapnr being uninitialized on early stages
    41a4bd51d87c PCI: dwc: endpoint: Fix dw_pcie_ep_raise_msix_irq() alignment support
    ff67f77fb0fc bus: moxtet: Add spi device table
    88ec9bbcd33c Revert "md/raid5: Wait for MD_SB_CHANGE_PENDING in raid5d"
    6a42eb0d2170 tracing: Inform kmemleak of saved_cmdlines allocation
    3a6e27dbe2fe pmdomain: core: Move the unused cleanup to a _sync initcall
    978e50ef8c38 can: j1939: Fix UAF in j1939_sk_match_filter during setsockopt(SO_J1939_FILTER)
    e4a6d3acaddb of: property: fix typo in io-channels
    8180d0c27b93 ceph: prevent use-after-free in encode_cap_msg()
    2e9506c9e0b9 s390/qeth: Fix potential loss of L3-IP@ in case of network issues
    888679afbfc2 irqchip/gic-v3-its: Fix GICv4.1 VPE affinity update
    2809645d8ae2 irqchip/irq-brcmstb-l2: Add write memory barrier before exit
    45a3657c3fae wifi: mac80211: reload info pointer in ieee80211_tx_dequeue()
    c7fa9590a9b2 nfp: flower: prevent re-adding mac index for bonded port
    962091c40813 nfp: use correct macro for LengthSelect in BAR config
    58054faf3bd2 crypto: ccp - Fix null pointer dereference in __sev_platform_shutdown_locked
    98a4026b22ff nilfs2: fix hang in nilfs_lookup_dirty_data_buffers()
    364a66be2abd nilfs2: fix data corruption in dsync block recovery for small block sizes
    a643d8d17947 ALSA: hda/conexant: Add quirk for SWS JS201D
    ca0533fe6650 mmc: slot-gpio: Allow non-sleeping GPIO ro
    bdc29f9ca3b1 x86/mm/ident_map: Use gbpages only where full GB page should be mapped.
    09f21bee5b02 x86/Kconfig: Transmeta Crusoe is CPU family 5, not 6
    1a8a72ee17e4 serial: max310x: improve crystal stable clock detection
    6f248ee7aade serial: max310x: set default value when reading clock ready bit
    92a0a5d61376 ring-buffer: Clean ring_buffer_poll_wait() error return
    9ec807e7b6f5 hv_netvsc: Fix race condition between netvsc_probe and netvsc_remove
    93d8109bf182 media: rc: bpf attach/detach requires write permission
    a98ccbcddbb5 iio: accel: bma400: Fix a compilation problem
    36a49290d7e6 iio: magnetometer: rm3100: add boundary check for the value read from RM3100_REG_TMRC
    fa5884dd5bc2 staging: iio: ad5933: fix type mismatch regression
    8a744f925de0 tracing: Fix wasted memory in saved_cmdlines logic
    d033a555d9a1 ext4: fix double-free of blocks due to wrong extents moved_len
    f86e12415b4e misc: fastrpc: Mark all sessions as invalid in cb_remove
    a423042052ec binder: signal epoll threads of self-work
    6d11240dd11b ALSA: hda/realtek: Enable headset mic on Vaio VJFE-ADL
    cdaddb457d9e xen-netback: properly sync TX responses
    0d8011a878fd net: hsr: remove WARN_ONCE() in send_hsr_supervision_frame()
    2f6d16f0520d nfc: nci: free rx_data_reassembly skb on NCI device cleanup
    5abf3e8af2e3 kbuild: Fix changing ELF file type for output of gen_btf for big endian
    6717c593c7cf firewire: core: correct documentation of fw_csr_string() kernel API
    2dc1d93b2c77 lsm: fix the logic in security_inode_getsecctx()
    7d4e19f7ff64 scsi: Revert "scsi: fcoe: Fix potential deadlock on &fip->ctlr_lock"
    ca188f2512d6 modpost: trim leading spaces when processing source files list
    7a14b8a477b8 i2c: i801: Fix block process call transactions
    5e8a6140d42f i2c: i801: Remove i801_set_block_buffer_mode
    230e89b5ad0a powerpc/kasan: Fix addr error caused by page alignment
    486a4176bc78 media: ir_toy: fix a memleak in irtoy_tx
    b8da59ad91e8 usb: f_mass_storage: forbid async queue when shutdown happen
    9a8ccbc6ecbf USB: hub: check for alternate port before enabling A_ALT_HNP_SUPPORT
    9d07bdbfa490 usb: ucsi_acpi: Fix command completion handling
    f304eb483393 HID: wacom: Do not register input devices until after hid_hw_start
    4f7927310e2d HID: wacom: generic: Avoid reporting a serial of '0' to userspace
    d51fc41e159f ALSA: hda/realtek: Enable Mute LED on HP Laptop 14-fq0xxx
    8da18c51ce4a ALSA: hda/realtek: Fix the external mic not being recognised for Acer Swift 1 SF114-32
    81e7d2530d45 mm/writeback: fix possible divide-by-zero in wb_dirty_limits(), again
    56cfbe607107 tracing/trigger: Fix to return error if failed to alloc snapshot
    6d05659b60ac i40e: Fix waiting for queues of all VSIs to be disabled
    f026f23849fb MIPS: Add 'memory' clobber to csum_ipv6_magic() inline assembler
    ed8c87ac8afc net: sysfs: Fix /sys/class/net/<iface> path for statistics
    4a98bc739d07 ASoC: rt5645: Fix deadlock in rt5645_jack_detect_work()
    f8cd86c67d4c spi: ppc4xx: Drop write-only variable
    55cfccb658fc net: openvswitch: limit the number of recursions from action sets
    3f9b9585b7e4 of: unittest: Fix compile in the non-dynamic case
    dc8bce9c71ef btrfs: send: return EOPNOTSUPP on unknown flags
    22965e4fee0f btrfs: forbid deleting live subvol qgroup
    3f5d47eb163b btrfs: do not ASSERT() if the newly created subvolume already got read
    d7247ce32ab2 btrfs: forbid creating subvol qgroups
    4cee42fcf54f netfilter: nft_set_rbtree: skip end interval element from gc
    feace3c24044 net: stmmac: xgmac: fix a typo of register name in DPP safety handling
    78115a3473b1 net: stmmac: xgmac: use #define for string constants
    8868106251cd clocksource: Skip watchdog check for large watchdog intervals
    cda4ca038caf vhost: use kzalloc() instead of kmalloc() followed by memset()
    63d97c3abafd Input: atkbd - skip ATKBD_CMD_SETLEDS when skipping ATKBD_CMD_GETID
    9a564a9a0731 Input: i8042 - fix strange behavior of touchpad on Clevo NS70PU
    b1f576be92d0 hrtimer: Report offline hrtimer enqueue
    b87060b3e835 usb: host: xhci-plat: Add support for XHCI_SG_TRB_CACHE_SIZE_QUIRK
    34fd6f444b8a USB: serial: cp210x: add ID for IMST iM871A-USB
    53479fcfd04c USB: serial: option: add Fibocom FM101-GL variant
    c537b88b39d3 USB: serial: qcserial: add new usb-id for Dell Wireless DW5826e
    e800ef36d1fa net/af_iucv: clean up a try_then_request_module()
    9f56f3833117 blk-iocost: Fix an UBSAN shift-out-of-bounds warning
    9878c660d1f0 scsi: core: Move scsi_host_busy() out of host lock if it is for per-command
    1dd947c21d3f netfilter: nft_set_pipapo: remove scratch_aligned pointer
    d6fcad0da2bd netfilter: nft_set_pipapo: add helper to release pcpu scratch area
    1771e8347ff1 netfilter: nft_set_pipapo: store index in scratch maps
    d1ec65c49e74 netfilter: nft_ct: reject direction for ct id
    730fce47e593 netfilter: nft_compat: restrict match/target protocol to u16
    78909916a22b netfilter: nft_compat: reject unused compat flag
    b06e067e93fa ppp_async: limit MRU to 64K
    19d7314f2fb9 tipc: Check the bearer type before calling tipc_udp_nl_bearer_add()
    09e91f3e7e5c rxrpc: Fix response to PING RESPONSE ACKs to a dead call
    88081ba41522 inet: read sk->sk_family once in inet_recv_error()
    7e42379d29de hwmon: (coretemp) Fix bogus core_id to attr name mapping
    f0da068c75c2 hwmon: (coretemp) Fix out-of-bounds memory access
    9551de5caa2b hwmon: (aspeed-pwm-tacho) mutex for tach reading
    edfd328fe7bd atm: idt77252: fix a memleak in open_card_ubr0
    e77bf828f1ca tunnels: fix out of bounds access when building IPv6 PMTU error
    fd473100bfed selftests: net: avoid just another constant wait
    2fc45a4631ac net: stmmac: xgmac: fix handling of DPP safety error for DMA channels
    66c8243e6130 drm/msm/dp: return correct Colorimetry for DP_TEST_DYNAMIC_RANGE_CEA case
    be3b82e4871b phy: ti: phy-omap-usb2: Fix NULL pointer dereference for SRP
    784d31548236 dmaengine: fix is_slave_direction() return false when DMA_DEV_TO_DEV
    68459d2b0c21 phy: renesas: rcar-gen3-usb2: Fix returning wrong error code
    ae6769ba5141 dmaengine: fsl-qdma: Fix a memory leak related to the queue command DMA
    fbe1c5c6a8a2 dmaengine: fsl-qdma: Fix a memory leak related to the status queue DMA
    3496a1da711e dmaengine: ti: k3-udma: Report short packet errors
    b7dbf4115bd8 dmaengine: fsl-dpaa2-qdma: Fix the size of dma pools
    6db18971f73a PM: sleep: Fix error handling in dpm_prepare()
    6388d0e3200d uapi: stddef.h: Fix __DECLARE_FLEX_ARRAY for C++
    2563e7c6877d bonding: remove print in bond_verify_device_path
    d1a9900e6442 HID: apple: Add 2021 magic keyboard FN key mapping
    b1e3ea7c48a5 HID: apple: Add support for the 2021 Magic Keyboard
    e5eca7954aac net: sysfs: Fix /sys/class/net/<iface> path
    f199018dc762 af_unix: fix lockdep positive in sk_diag_dump_icons()
    9c9cab01c7a3 net: ipv4: fix a memleak in ip_setup_cork
    65ee90efc928 netfilter: nft_ct: sanitize layer 3 and 4 protocol number in custom expectations
    32fa7abb18b0 netfilter: nf_log: replace BUG_ON by WARN_ON_ONCE when putting logger
    d0b5b1f12429 llc: call sock_orphan() at release time
    e34c91e7e8a3 ipv6: Ensure natural alignment of const ipv6 loopback and router addresses
    b45fae96bd1e ixgbe: Fix an error handling path in ixgbe_read_iosf_sb_reg_x550()
    f8bccfa175a5 ixgbe: Refactor overtemp event handling
    e16c254f60d3 ixgbe: Refactor returning internal error codes
    2499c0661b18 ixgbe: Remove non-inclusive language
    f48bf9a83b16 tcp: add sanity checks to rx zerocopy
    14690e419bb3 net-zerocopy: Refactor frag-is-remappable test.
    a9bc32879a08 ip6_tunnel: make sure to pull inner header in __ip6_tnl_rcv()
    a57b114a84f8 ip6_tunnel: use dev_sw_netstats_rx_add()
    f5944853f7a9 scsi: core: Move scsi_host_busy() out of host lock for waking up EH handler
    7efadce40a6b scsi: core: Introduce enum scsi_disposition
    dca11bfa0125 scsi: isci: Fix an error code problem in isci_io_request_build()
    948090f66aed drm: using mul_u32_u32() requires linux/math64.h
    02161f622df3 wifi: cfg80211: fix RCU dereference in __cfg80211_bss_update
    b54eecdc08d4 perf: Fix the nr_addr_filters fix
    73eda2693117 drm/amdgpu: Release 'adev->pm.fw' before return in 'amdgpu_device_need_post()'
    feacc800407c drm/amd/powerplay: Fix kzalloc parameter 'ATOM_Tonga_PPM_Table' in 'get_platform_power_management_table()'
    e016e358461b ceph: fix deadlock or deadcode of misusing dget()
    7610ba131925 blk-mq: fix IO hang from sbitmap wakeup race
    27ae156e638d virtio_net: Fix "‘%d’ directive writing between 1 and 11 bytes into a region of size 10" warnings
    0079078f5ee8 libsubcmd: Fix memory leak in uniq()
    32a824378841 PCI/AER: Decode Requester ID when no error info found
    feaf0752b310 fs/kernfs/dir: obey S_ISGID
    6f921430b07a tty: allow TIOCSLCKTRMIOS with CAP_CHECKPOINT_RESTORE
    e962b59d3749 usb: hub: Replace hardcoded quirk value with BIT() macro
    4a5d0528cf19 PCI: switchtec: Fix stdev_release() crash after surprise hot remove
    385e49a40fff PCI: Only override AMD USB controller if required
    bb59b30a5ce2 mfd: ti_am335x_tscadc: Fix TI SoC dependencies
    e4fdf3b17686 xen/gntdev: Fix the abuse of underlying struct page in DMA-buf import
    89bdf3a9f98c i3c: master: cdns: Update maximum prescaler value for i2c clock
    b345f330aeed um: net: Fix return type of uml_net_start_xmit()
    ef21984653fc um: Don't use vfprintf() for os_info()
    e4cc55538841 um: Fix naming clash between UML and scheduler
    d47f5d41d8c0 leds: trigger: panic: Don't register panic notifier if creating the trigger failed
    8342ac4a552a drm/amdgpu: Drop 'fence' check in 'to_amdgpu_amdkfd_fence()'
    48bb06f8e380 drm/amdgpu: Let KFD sync with VM fences
    e90c8f9785ea watchdog: it87_wdt: Keep WDTCTRL bit 3 unmodified for IT8784/IT8786
    6f59516a36b9 clk: mmp: pxa168: Fix memory leak in pxa168_clk_init()
    2cb6059468f8 clk: hi3620: Fix memory leak in hi3620_mmc_clk_init()
    5fd28ab1c89d drm/msm/dpu: Ratelimit framedone timeout msgs
    179fe24bd675 media: ddbridge: fix an error code problem in ddb_probe
    ac2630fd3c90 IB/ipoib: Fix mcast list locking
    9503ce5f8795 drm/exynos: Call drm_atomic_helper_shutdown() at shutdown/unbind time
    1eeca000f268 ALSA: hda: intel-dspcfg: add filters for ARL-S and ARL
    3841b8a64e60 ALSA: hda: Intel: add HDA_ARL PCI ID support
    56d717aa7bbe PCI: add INTEL_HDA_ARL to pci_ids.h
    b68e373dc031 media: rockchip: rga: fix swizzling for RGB formats
    32c5e3f8085f media: stk1160: Fixed high volume of stk1160_dbg messages
    425a441c5c32 drm/mipi-dsi: Fix detach call without attach
    0ec29a0f0366 drm/framebuffer: Fix use of uninitialized variable
    d7b81afa11ba drm/drm_file: fix use of uninitialized variable
    9a572fc1f6af f2fs: fix write pointers on zoned device after roll forward
    7fb8c132738b drm/amd/display: Fix tiled display misalignment
    3a1da8abd772 RDMA/IPoIB: Fix error code return in ipoib_mcast_join
    13d20b2c20be fast_dput(): handle underflows gracefully
    706fb30da0a5 ASoC: doc: Fix undefined SND_SOC_DAPM_NOPM argument
    354785abdf5e ALSA: hda: Refer to correct stream index at loops
    80c69f576ff3 f2fs: fix to check return value of f2fs_reserve_new_block()
    e474e7a7d6f9 i40e: Fix VF disable behavior to block all traffic
    ed6de41473c8 Bluetooth: L2CAP: Fix possible multiple reject send
    e1bcd9a42e5b Bluetooth: qca: Set both WIDEBAND_SPEECH and LE_STATES quirks for QCA2066
    27575c2f1f46 wifi: cfg80211: free beacon_ies when overridden from hidden BSS
    40bcbf7d9069 wifi: rtlwifi: rtl8723{be,ae}: using calculate_bit_shift()
    1632481a990d wifi: rtl8xxxu: Add additional USB IDs for RTL8192EU devices
    2131606a5fd7 arm64: dts: qcom: msm8998: Fix 'out-ports' is a required property
    4668f3e6ac23 arm64: dts: qcom: msm8996: Fix 'in-ports' is a required property
    82f6e7e68e95 md: Whenassemble the array, consult the superblock of the freshest device
    1746cd95a553 block: prevent an integer overflow in bvec_try_merge_hw_page
    1335310a6a87 net: dsa: mv88e6xxx: Fix mv88e6352_serdes_get_stats error path
    9c51d26ff95f ARM: dts: imx23/28: Fix the DMA controller node name
    6c22388d960f ARM: dts: imx23-sansa: Use preferred i2c-gpios properties
    fb9bdf84b612 ARM: dts: imx27-apf27dev: Fix LED name
    1dd3a37909d7 ARM: dts: imx25/27: Pass timing0
    3c2bce897698 ARM: dts: imx25: Fix the iim compatible string
    95bc866c1197 block/rnbd-srv: Check for unlikely string overflow
    03ca1d3d8f4d ionic: pass opcode to devcmd_wait
    ba108f3db98c ARM: dts: imx1: Fix sram node
    2f22ce556e38 ARM: dts: imx27: Fix sram node
    e6c0ea054cf9 ARM: dts: imx: Use flash@0,0 pattern
    bfbaf1551bee ARM: dts: imx25/27-eukrea: Fix RTC node name
    24bb6b264792 ARM: dts: rockchip: fix rk3036 hdmi ports node
    11c1fc73bf17 bpf: Set uattr->batch.count as zero before batched update or deletion
    2e7f8d05ec95 scsi: libfc: Fix up timeout error in fc_fcp_rec_error()
    a72670f465a1 scsi: libfc: Don't schedule abort twice
    80700978cb34 bpf: Add map and need_defer parameters to .map_fd_put_ptr()
    84770a996ad8 wifi: ath9k: Fix potential array-index-out-of-bounds read in ath9k_htc_txstatus()
    c390b6a2c30b ARM: dts: imx7s: Fix nand-controller #size-cells
    d7cb295b53f9 ARM: dts: imx7s: Fix lcdif compatible
    73ead7a37a4d ARM: dts: imx7d: Fix coresight funnel ports
    86781b3a8eae scsi: arcmsr: Support new PCI device IDs 1883 and 1886
    db516f6030bf bonding: return -ENOMEM instead of BUG in alb_upper_dev_walk
    4f87b8d93297 PCI: Add no PM reset quirk for NVIDIA Spectrum devices
    9bc7617a0d46 scsi: lpfc: Fix possible file string name overflow when updating firmware
    9b9bbba16be4 selftests/bpf: Fix pyperf180 compilation failure with clang18
    747838941f1c selftests/bpf: satisfy compiler by having explicit return in btf test
    69e905beca19 wifi: rt2x00: restart beacon queue when hardware reset
    cfbbb3199e71 ext4: avoid online resizing failures due to oversized flex bg
    e7b9fa6c298f ext4: remove unnecessary check from alloc_flex_gd()
    b96019242269 ext4: unify the type of flexbg_size to unsigned int
    64448275f8ef ext4: fix inconsistent between segment fstrim and full fstrim
    5183595c0bfd ecryptfs: Reject casefold directory inodes
    c430e6bb4395 SUNRPC: Fix a suspicious RCU usage warning
    150a3a387149 KVM: s390: fix setting of fpc register
    856caf2730ea s390/ptrace: handle setting of fpc register correctly
    e2b77d107b33 jfs: fix array-index-out-of-bounds in diNewExt
    5f1f459520ed rxrpc_find_service_conn_rcu: fix the usage of read_seqbegin_or_lock()
    ae53c54ed74c afs: fix the usage of read_seqbegin_or_lock() in afs_find_server*()
    a02356d996b4 afs: fix the usage of read_seqbegin_or_lock() in afs_lookup_volume_rcu()
    108c4db05791 crypto: stm32/crc32 - fix parsing list of devices
    a63e48cd835c pstore/ram: Fix crash when setting number of cpus to an odd number
    bc6ef64dbe71 jfs: fix uaf in jfs_evict_inode
    2037cb9d95f1 jfs: fix array-index-out-of-bounds in dbAdjTree
    1c40ca3d39d7 jfs: fix slab-out-of-bounds Read in dtSearch
    7aa33854477d UBSAN: array-index-out-of-bounds in dtSplitRoot
    de34de6e57bb FS:JFS:UBSAN:array-index-out-of-bounds in dbAdjTree
    95c864c81148 ACPI: APEI: set memory failure flags as MF_ACTION_REQUIRED on synchronous events
    3399cc7013e7 PM / devfreq: Synchronize devfreq_monitor_[start/stop]
    b17a71435e7e ACPI: extlog: fix NULL pointer dereference check
    c2615948536a PNP: ACPI: fix fortify warning
    3a13ed6298c4 ACPI: video: Add quirk for the Colorful X15 AT 23 Laptop
    c74b2af2ccbc audit: Send netlink ACK before setting connection in auditd_set
    37e00ed71e86 regulator: core: Only increment use_count when enable_count changes
    19c71322702d debugobjects: Stop accessing objects after releasing hash bucket lock
    c57cb397fe23 perf/core: Fix narrow startup race when creating the perf nr_addr_filters sysfs file
    5224b9db24f6 x86/mce: Mark fatal MCE's page as poison to avoid panic in the kdump kernel
    beee482cc4c9 powerpc/lib: Validate size for vector operations
    24a58abcfff3 powerpc: pmd_move_must_withdraw() is only needed for CONFIG_TRANSPARENT_HUGEPAGE
    02e5b2ff4753 x86/boot: Ignore NMIs during very early boot
    9d06c199d881 powerpc/mm: Fix build failures due to arch_reserved_kernel_pages()
    3928c06363de powerpc: Fix build error due to is_valid_bugaddr()
    353496cb35e2 drivers/perf: pmuv3: don't expose SW_INCR event in sysfs
    aa28eecb43ca powerpc/mm: Fix null-pointer dereference in pgtable_cache_add
    4e806600eb14 x86/entry/ia32: Ensure s32 is sign extended to s64
    cdc01845df11 tick/sched: Preserve number of idle sleeps across CPU hotplug events
    3736a7832bfe mips: Call lose_fpu(0) before initializing fcr31 in mips_set_personality_nan
    95a8a5193e06 spi: bcm-qspi: fix SFDP BFPT read by usig mspi read
    f1ba5bf9e0ac gpio: eic-sprd: Clear interrupt after set the interrupt type
    0924bcd2fd49 drm/exynos: gsc: minor fix for loop iteration in gsc_runtime_resume
    b6abe30de368 drm/exynos: fix accidental on-stack copy of exynos_drm_plane
    4e56c5a9b9cf drm: panel-simple: add missing bus flags for Tianma tm070jvhg[30/33]
    e1c50b0c6242 btrfs: avoid copying BTRFS_ROOT_SUBVOL_DEAD flag to snapshot of subvolume being deleted
    d073f4608b47 btrfs: remove err variable from btrfs_delete_subvolume
    90ad17575d26 mm/sparsemem: fix race in accessing memory_section->usage
    74a80f8dda6a mm: use __pfn_to_section() instead of open coding it
    43872f44eee6 media: mtk-jpeg: Fix use after free bug due to error path handling in mtk_jpeg_dec_device_run
    9087d0c2ba04 arm64: dts: qcom: sc7180: fix USB wakeup interrupt types
    3de807b14036 arm64: dts: qcom: sc7180: Use pdc interrupts for USB instead of GIC interrupts
    8b2c7bb60510 ARM: dts: samsung: exynos4210-i9100: Unconditionally enable LDO12
    162ae0e78bda pipe: wakeup wr_wait after setting max_usage
    b6f27626f56e fs/pipe: move check to pipe_has_watch_queue()
    f46eb832389f PM: sleep: Fix possible deadlocks in core system-wide PM code
    8b604883d4cb PM: core: Remove unnecessary (void *) conversions
    57df40f80089 PM: sleep: Avoid calling put_device() under dpm_list_mtx
    2245a8498569 PM: sleep: Use dev_printk() when possible
    8a6a51b80bbd drm/bridge: nxp-ptn3460: simplify some error checking
    bedbbdf05663 drm/tidss: Fix atomic_flush check
    ea192526910d drm/bridge: nxp-ptn3460: fix i2c_master_send() error checking
    f55261469be8 drm: Don't unref the same fb many times by mistake due to deadlock handling
    bb575bc3e767 gpiolib: acpi: Ignore touchpad wakeup on GPD G1619-04
    55a60251fa50 netfilter: nf_tables: reject QUEUE/DROP verdict parameters
    9489e214ea8f netfilter: nft_chain_filter: handle NETDEV_UNREGISTER for inet/ingress basechain
    05dd9facfb9a wifi: iwlwifi: fix a memory corruption
    c0760a5c3e28 exec: Fix error handling in begin_new_exec()
    30f38928b69b rbd: don't move requests to the running list on errors
    2bdf872bcfe6 btrfs: don't abort filesystem when attempting to snapshot deleted subvolume
    5d3687baa9db btrfs: defrag: reject unknown flags of btrfs_ioctl_defrag_range_args
    f27937426b57 btrfs: don't warn if discard range is not aligned to sector
    f8a7a51a6c2d btrfs: tree-checker: fix inline ref size in error messages
    be90e25880f2 btrfs: ref-verify: free ref cache before clearing mount opt
    7c3a572e1581 net: fec: fix the unhandled context fault from smmu
    a52b2faf6010 fjes: fix memleaks in fjes_hw_setup
    e1bf3ec97a82 selftests: netdevsim: fix the udp_tunnel_nic test
    83f99138bf3b net: mvpp2: clear BM pool before initialization
    6a2e2d9890e7 netfilter: nf_tables: validate NFPROTO_* family
    4fbdc3a18f61 netfilter: nf_tables: restrict anonymous set and map names to 16 bytes
    cf116d9c3c2a net/mlx5e: fix a double-free in arfs_create_groups
    1123661a089a net/mlx5: DR, Use the right GVMI number for drop action
    a3eba5989fc9 ipv6: init the accept_queue's spinlocks in inet6_create
    be8d1f619ea3 netlink: fix potential sleeping issue in mqueue_flush_file
    69ca75e063a5 tcp: Add memory barrier to tcp_push()
    8499e2f1218e afs: Hide silly-rename files from userspace
    ef70dfa0b1e5 tracing: Ensure visibility when inserting an element into tracing_map
    5ae8d5004463 net/rds: Fix UBSAN: array-index-out-of-bounds in rds_cmsg_recv
    9ccdef19cf94 llc: Drop support for ETH_P_TR_802_2.
    04f2a74b562f llc: make llc_ui_sendmsg() more robust against bonding changes
    ea4c3cb7fded vlan: skip nested type that is not IFLA_VLAN_QOS_MAPPING
    fc74f86a3367 bnxt_en: Wait for FLR to complete during probe
    bc99dcedd2f4 tcp: make sure init the accept_queue's spinlocks once
    5fed92ca32ea net/smc: fix illegal rmb_desc access in SMC-D connection dump
    c71e1c1a08c2 KVM: use __vcalloc for very large allocations
    95670878a612 mm: vmalloc: introduce array allocation functions
    02f629bb460d smb3: Replace smb2pdu 1-element arrays with flex-arrays
    443b16ee3d9c stddef: Introduce DECLARE_FLEX_ARRAY() helper
    bfc0647791d7 block: Remove special-casing of compound pages
    ff4332f1ec75 rename(): fix the locking of subdirectories
    d132010e6d5c ubifs: ubifs_symlink: Fix memleak of inode->i_link in error path
    c6e6640784e4 nouveau/vmm: don't set addr on the fail path to avoid warning
    83217f1bcb35 rtc: Adjust failure return code for cmos_set_alarm()
    b51578bd86be mmc: mmc_spi: remove custom DMA mapped buffers
    59020bf0999f mmc: core: Use mrq.sbc in close-ended ffu
    625cb3f3bc8a scripts/get_abi: fix source path leak
    311dc5afad11 lsm: new security_file_ioctl_compat() hook
    f726690397df arm64: dts: qcom: sdm845: fix USB DP/DM HS PHY interrupts
    dfc2c685f3a9 arm64: dts: qcom: sdm845: fix USB wakeup interrupt types
    ac4dcccbe910 async: Introduce async_schedule_dev_nocall()
    9ef68b58fd00 async: Split async_schedule_node_domain()
    1dd8449e2008 parisc/firmware: Fix F-extend for PDC addresses
    20a6dea2d1c6 bus: mhi: host: Drop chan lock before queuing buffers
    69ca89d80f2c rpmsg: virtio: Free driver_override when rpmsg_remove()
    cd51e26a3b89 crypto: s390/aes - Fix buffer overread in CTR mode
    c6a8111aacbf hwrng: core - Fix page fault dead lock on mmap-ed hwrng
    981a31b7547a PM: hibernate: Enforce ordering during image compression/decompression
    462c383e732f crypto: api - Disallow identical driver names
    fa9491224183 ext4: allow for the last group to be marked as trimmed
    d173ef1255bb iio:adc:ad7091r: Move exports into IIO_AD7091R namespace.
    9de69732dde4 dmaengine: fix NULL pointer in channel unregistration function
    653d2890602c iio: adc: ad7091r: Enable internal vref if external vref is not supplied
    1eba6f7ffa29 iio: adc: ad7091r: Allow users to configure device events
    9ec7498a25f1 iio: adc: ad7091r: Set alert bit in config register
    be5d6a297d30 serial: sc16is7xx: add check for unsupported SPI modes during probe
    8df2aec94bf5 spi: introduce SPI_MODE_X_MASK macro
    6ec08ce3bf7f serial: sc16is7xx: set safe default SPI clock frequency
    e83f1149942f units: add the HZ macros
    762217e973ea units: change from 'L' to 'UL'
    f37f4a0c537c PCI: mediatek: Clear interrupt status before dispatching handler
    490eaca84275 usb: cdns3: Fix uvc fail when DMA cross 4k boundery since sg enabled
    bf703214190c usb: cdns3: fix iso transfer error when mult is not zero
    6aec2f089d5c usb: cdns3: fix incorrect calculation of ep_buf_size when more than one config
    2fdc98b05cb2 usb: cdns3: fix uvc failure work since sg support enabled
    67d3c71cf856 usb: cdns3: Fixes for sparse warnings

(From OE-Core rev: 11abb97e51ac242a6f867d35b6b9d0ac1746bfe7)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-13 07:36:51 -10:00
Bruce Ashfield
893778ae4e linux-yocto/5.15: update CVE exclusions
Data pulled from: https://github.com/nluedtke/linux_kernel_cves

    1/1 [
        Author: Nicholas Luedtke
        Email: nicholas.luedtke@uwalumni.com
        Subject: Update 25Feb24
        Date: Sun, 25 Feb 2024 07:03:08 -0500

    ]

(From OE-Core rev: 66c369b3cc5b975e7c774d5fa99181df8cdb827c)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-13 07:36:51 -10:00
Bruce Ashfield
84eac79c89 linux-yocto/5.15: update to v5.15.149
Updating linux-yocto/5.15 to the latest korg -stable release that comprises
the following commits:

    458ce51d0356 Linux 5.15.149
    d72da18772ff usb: dwc3: gadget: Ignore End Transfer delay on teardown
    acff71e58748 media: Revert "media: rkisp1: Drop IRQF_SHARED"
    9ae312f7f3c2 usb: dwc3: gadget: Execute gadget stop after halting the controller
    921acacb92b7 usb: dwc3: gadget: Don't delay End Transfer on delayed_status
    4178bfa3fc9d staging: fbtft: core: set smem_len before fb_deferred_io_init call
    9e25a0054090 smb3: Replace smb2pdu 1-element arrays with flex-arrays
    0b49eac39c99 fs/ntfs3: Add null pointer checks
    4c73597f68d7 net: bcmgenet: Fix EEE implementation
    62900d358c48 Revert "selftests/bpf: Test tail call counting with bpf2bpf and data on stack"
    75ac8dc02850 drm/msm/dsi: Enable runtime PM
    c7a0fa3a6657 PM: runtime: Have devm_pm_runtime_enable() handle pm_runtime_dont_use_autosuspend()
    1974b3c19a79 arm64: Subscribe Microsoft Azure Cobalt 100 to ARM Neoverse N2 errata
    888a0a46b80f dm: limit the number of targets and parameter size area
    cf4da91e99f1 nilfs2: replace WARN_ONs for invalid DAT metadata block requests
    8fa90634ec3e nilfs2: fix potential bug in end_buffer_async_write
    50fb4e17df31 sched/membarrier: reduce the ability to hammer on sys_membarrier
    b9aafef74407 netfilter: ipset: Missing gc cancellations fixed
    6c53e8547687 net: prevent mss overflow in skb_segment()
    95c0babebe6a hrtimer: Ignore slack time for RT tasks in schedule_hrtimeout_range()
    c2dc077d8f72 netfilter: ipset: fix performance regression in swap operation
    3b3e4d3560e3 scripts/decode_stacktrace.sh: optionally use LLVM utilities
    473791d286a8 scripts: decode_stacktrace: demangle Rust symbols
    1ce4ac55d96e scripts/decode_stacktrace.sh: support old bash version
    2655757a3f10 fbdev: flush deferred IO before closing
    15492bab7393 fbdev: Fix incorrect page mapping clearance at fb_deferred_io_release()
    87b9802ca824 fbdev: Fix invalid page access after closing deferred I/O devices
    9a95fc04261f fbdev: Rename pagelist to pagereflist for deferred I/O
    186b89659c4c fbdev: Track deferred-I/O pages in pageref struct
    e79b2b2aadef fbdev: defio: fix the pagelist corruption
    0616b00a31d6 fbdev: Don't sort deferred-I/O pages by default
    5d3aff76a316 fbdev/defio: Early-out if page is already enlisted
    48a09969e43e serial: 8250_exar: Set missing rs485_supported flag
    9ef7419bc20c serial: 8250_exar: Fill in rs485_supported
    aded03eda2ba usb: dwc3: gadget: Queue PM runtime idle on disconnect event
    21f0bff281b5 usb: dwc3: gadget: Handle EP0 request dequeuing properly
    89353c886477 usb: dwc3: gadget: Refactor EP0 forced stall/restart into a separate API
    915619257332 usb: dwc3: gadget: Stall and restart EP0 if host is unresponsive
    352b38d15c6d usb: dwc3: gadget: Submit endxfer command if delayed during disconnect
    9cccdcc95e33 usb: dwc3: gadget: Force sending delayed status during soft disconnect
    1ea8a2a532e9 usb: dwc3: Fix ep0 handling when getting reset while doing control transfer
    12c0a0804ade usb: dwc3: gadget: Delay issuing End Transfer
    487341852fbc usb: dwc3: gadget: Only End Transfer for ep0 data phase
    9273bd26b06d usb: dwc3: ep0: Don't prepare beyond Setup stage
    92f7a10a2bfe usb: dwc3: gadget: Wait for ep0 xfers to complete during dequeue
    2bb86817b33c crypto: lib/mpi - Fix unexpected pointer access in mpi_ec_init
    44a8a2c92e5a bus: moxtet: Add spi device table
    4e82b9c11d3c dma-buf: add dma_fence_timestamp helper
    36f7371de977 af_unix: Fix task hung while purging oob_skb in GC.
    ff2f35f5cda0 tracing: Inform kmemleak of saved_cmdlines allocation
    579cb4ff1fc5 pmdomain: core: Move the unused cleanup to a _sync initcall
    41ccb5bcbf03 can: j1939: Fix UAF in j1939_sk_match_filter during setsockopt(SO_J1939_FILTER)
    03358aba9916 can: j1939: prevent deadlock by changing j1939_socks_lock to rwlock
    6315697fc5bf of: property: fix typo in io-channels
    310c7d9853ef mm: hugetlb pages should not be reserved by shmat() if SHM_NORESERVE
    70e329b44076 ceph: prevent use-after-free in encode_cap_msg()
    99fa6d451d98 net: ethernet: ti: cpsw_new: enable mac_managed_pm to fix mdio
    ff42d99e50b9 s390/qeth: Fix potential loss of L3-IP@ in case of network issues
    ddb4be0eb2ac net: ethernet: ti: cpsw: enable mac_managed_pm to fix mdio
    86244ae70715 irqchip/gic-v3-its: Fix GICv4.1 VPE affinity update
    27a2af914ff5 irqchip/irq-brcmstb-l2: Add write memory barrier before exit
    b10c8883f845 wifi: mac80211: reload info pointer in ieee80211_tx_dequeue()
    ef5b1041f756 nfp: flower: prevent re-adding mac index for bonded port
    e58efe0f7af8 nfp: use correct macro for LengthSelect in BAR config
    7535ec350a5f crypto: ccp - Fix null pointer dereference in __sev_platform_shutdown_locked
    7e9b622bd074 nilfs2: fix hang in nilfs_lookup_dirty_data_buffers()
    120f7fa2008e nilfs2: fix data corruption in dsync block recovery for small block sizes
    ee28bbb68518 ALSA: hda/conexant: Add quirk for SWS JS201D
    776f0c695df1 mmc: slot-gpio: Allow non-sleeping GPIO ro
    62fa823049c2 x86/mm/ident_map: Use gbpages only where full GB page should be mapped.
    1fb17e9b840c x86/Kconfig: Transmeta Crusoe is CPU family 5, not 6
    0fc0bcbab6c2 powerpc/64: Set task pt_regs->link to the LR value on scv entry
    72bf8760ad52 serial: max310x: fail probe if clock crystal is unstable
    b67b421a825f serial: max310x: improve crystal stable clock detection
    2e8b2b9180a5 serial: max310x: set default value when reading clock ready bit
    f8777d33ccc5 ring-buffer: Clean ring_buffer_poll_wait() error return
    7656372ae190 hv_netvsc: Fix race condition between netvsc_probe and netvsc_remove
    4cc9092827c9 drm/prime: Support page array >= 4GB
    d98210108e7b media: rc: bpf attach/detach requires write permission
    a4b4ba772e4b iio: accel: bma400: Fix a compilation problem
    1c6d19c8cbf6 iio: core: fix memleak in iio_device_register_sysfs
    8d5838a473e8 iio: magnetometer: rm3100: add boundary check for the value read from RM3100_REG_TMRC
    7b9cabd478d8 staging: iio: ad5933: fix type mismatch regression
    047aa3dc0aeb tracing: Fix wasted memory in saved_cmdlines logic
    afba9d11320d ext4: fix double-free of blocks due to wrong extents moved_len
    b7902e34b0d7 misc: fastrpc: Mark all sessions as invalid in cb_remove
    82722b453dc2 binder: signal epoll threads of self-work
    4052b1803127 ALSA: hda/cs8409: Suppress vmaster control for Dolphin models
    cc3cb482c093 ASoC: codecs: wcd938x: handle deferred probe
    08c84d164091 ALSA: hda/realtek: Enable headset mic on Vaio VJFE-ADL
    8b2f21991479 xen-netback: properly sync TX responses
    de769423b2f0 net: hsr: remove WARN_ONCE() in send_hsr_supervision_frame()
    471c9ede8061 nfc: nci: free rx_data_reassembly skb on NCI device cleanup
    ac0f160a364e kbuild: Fix changing ELF file type for output of gen_btf for big endian
    4bcfab73882d firewire: core: correct documentation of fw_csr_string() kernel API
    d260a5b76d7a lsm: fix the logic in security_inode_getsecctx()
    65158edb0a3a Revert "drm/amd: flush any delayed gfxoff on suspend entry"
    5b8f473c4de9 scsi: Revert "scsi: fcoe: Fix potential deadlock on &fip->ctlr_lock"
    6f95120f898b mptcp: fix data re-injection from stale subflow
    b7449c9fe003 modpost: trim leading spaces when processing source files list
    1f8d0691c505 i2c: i801: Fix block process call transactions
    23a8b74fe9c4 i2c: i801: Remove i801_set_block_buffer_mode
    2738e0aa2fb2 powerpc/kasan: Fix addr error caused by page alignment
    207557e393a1 media: ir_toy: fix a memleak in irtoy_tx
    88936ceab6b4 usb: dwc3: gadget: Fix NULL pointer dereference in dwc3_gadget_suspend
    6f54aa9ad56e usb: f_mass_storage: forbid async queue when shutdown happen
    44c7567cc4aa USB: hub: check for alternate port before enabling A_ALT_HNP_SUPPORT
    3aa71c77170c usb: ucsi_acpi: Fix command completion handling
    712afb6ba16c iio: hid-sensor-als: Return 0 for HID_USAGE_SENSOR_TIME_TIMESTAMP
    853307924a90 HID: wacom: Do not register input devices until after hid_hw_start
    20902b760efd HID: wacom: generic: Avoid reporting a serial of '0' to userspace
    62f5d219edbd HID: i2c-hid-of: fix NULL-deref on failed power up
    20d8a8fe00b2 ALSA: hda/realtek: Enable Mute LED on HP Laptop 14-fq0xxx
    16dc27567244 ALSA: hda/realtek: Fix the external mic not being recognised for Acer Swift 1 SF114-32
    595865eb4ec5 scsi: storvsc: Fix ring buffer size calculation
    5099871b3703 mm/writeback: fix possible divide-by-zero in wb_dirty_limits(), again
    b5085b5ac1d9 tracing/trigger: Fix to return error if failed to alloc snapshot
    cd459beede7b scs: add CONFIG_MMU dependency for vfree_atomic()
    29b368101086 i40e: Fix waiting for queues of all VSIs to be disabled
    8e89ac8852b5 MIPS: Add 'memory' clobber to csum_ipv6_magic() inline assembler
    9bc718f6a56a net: sysfs: Fix /sys/class/net/<iface> path for statistics
    d14b8e2005f3 ASoC: rt5645: Fix deadlock in rt5645_jack_detect_work()
    2ed13fda5942 spi: ppc4xx: Drop write-only variable
    c45f2fa92cb2 net: openvswitch: limit the number of recursions from action sets
    ca8c08db6473 wifi: iwlwifi: Fix some error codes
    1ab2a02bf103 of: unittest: Fix compile in the non-dynamic case
    f0dc9c004b22 btrfs: send: return EOPNOTSUPP on unknown flags
    980e2bee30f1 btrfs: forbid deleting live subvol qgroup
    e31546b0f34a btrfs: do not ASSERT() if the newly created subvolume already got read
    08bead026bd1 btrfs: forbid creating subvol qgroups
    2bab493a5624 netfilter: nft_set_rbtree: skip end interval element from gc
    658020d79781 net: stmmac: xgmac: fix a typo of register name in DPP safety handling
    3f2e5581cb39 net: stmmac: xgmac: use #define for string constants
    1027d6d63c8d clocksource: Skip watchdog check for large watchdog intervals
    be38f291fd4d vhost: use kzalloc() instead of kmalloc() followed by memset()
    132305ee7348 Input: atkbd - skip ATKBD_CMD_SETLEDS when skipping ATKBD_CMD_GETID
    76889580163c Input: i8042 - fix strange behavior of touchpad on Clevo NS70PU
    15524057a390 hrtimer: Report offline hrtimer enqueue
    e2aaab6fcb16 usb: host: xhci-plat: Add support for XHCI_SG_TRB_CACHE_SIZE_QUIRK
    5c654c582f5a usb: dwc3: host: Set XHCI_SG_TRB_CACHE_SIZE_QUIRK
    efe1bfe067b8 USB: serial: cp210x: add ID for IMST iM871A-USB
    3799bb646f5e USB: serial: option: add Fibocom FM101-GL variant
    2998a7ddff07 USB: serial: qcserial: add new usb-id for Dell Wireless DW5826e
    c1be84b8ee61 ALSA: usb-audio: Add a quirk for Yamaha YIT-W12TX transmitter
    8b0386bca533 drivers: lkdtm: fix clang -Wformat warning
    1e4d3f8bd880 blk-iocost: Fix an UBSAN shift-out-of-bounds warning
    0d3dab886706 scsi: core: Move scsi_host_busy() out of host lock if it is for per-command
    ae4acad41b0f fs/ntfs3: Fix an NULL dereference bug
    4f0b6f2c222b netfilter: nft_set_pipapo: remove scratch_aligned pointer
    ed965103651b netfilter: nft_set_pipapo: add helper to release pcpu scratch area
    24547e88da4d netfilter: nft_set_pipapo: store index in scratch maps
    44725dc0049d netfilter: nft_ct: reject direction for ct id
    42442f74314d drm/amd/display: Implement bounds check for stream encoder creation in DCN301
    bc6f288c10f8 drm/amd/display: Fix multiple memory leaks reported by coverity
    fb49e60d7181 netfilter: nft_compat: restrict match/target protocol to u16
    5f1c4efced3b netfilter: nft_compat: reject unused compat flag
    58fbe665b097 ppp_async: limit MRU to 64K
    4fe505c63aa3 af_unix: Call kfree_skb() for dead unix_(sk)->oob_skb in GC.
    c1701ea85ef0 tipc: Check the bearer type before calling tipc_udp_nl_bearer_add()
    69682953dddb rxrpc: Fix response to PING RESPONSE ACKs to a dead call
    3266e638ba5c inet: read sk->sk_family once in inet_recv_error()
    7df911d4f1f6 hwmon: (coretemp) Fix bogus core_id to attr name mapping
    a16afec8e83c hwmon: (coretemp) Fix out-of-bounds memory access
    0d5ceb4caa92 hwmon: (aspeed-pwm-tacho) mutex for tach reading
    c08a3943dc6b octeontx2-pf: Fix a memleak otx2_sq_init
    15393c8fd385 atm: idt77252: fix a memleak in open_card_ubr0
    d964dd1bc145 tunnels: fix out of bounds access when building IPv6 PMTU error
    5c45e6d015b7 selftests: net: avoid just another constant wait
    ea51f12e93ee selftests: net: cut more slack for gro fwd tests.
    6609e98ed829 net: stmmac: xgmac: fix handling of DPP safety error for DMA channels
    513dd309b3d0 drm/msm/dp: return correct Colorimetry for DP_TEST_DYNAMIC_RANGE_CEA case
    8cc889b9dea0 phy: ti: phy-omap-usb2: Fix NULL pointer dereference for SRP
    5db6dd838edf dmaengine: fix is_slave_direction() return false when DMA_DEV_TO_DEV
    850b64fd38aa phy: renesas: rcar-gen3-usb2: Fix returning wrong error code
    15eb996d7d13 dmaengine: fsl-qdma: Fix a memory leak related to the queue command DMA
    c71d4578a377 dmaengine: fsl-qdma: Fix a memory leak related to the status queue DMA
    71fe7fd3d9dd dmaengine: ti: k3-udma: Report short packet errors
    c75460bf7ac2 dmaengine: fsl-dpaa2-qdma: Fix the size of dma pools
    725a9ac71732 ASoC: codecs: lpass-wsa-macro: fix compander volume hack
    48471f7a4c5a bonding: remove print in bond_verify_device_path
    85d64b0c3929 HID: apple: Add 2021 magic keyboard FN key mapping
    97799743b495 HID: apple: Add support for the 2021 Magic Keyboard
    c5b70b8f78ab gve: Fix use-after-free vulnerability
    ce3c5039e614 arm64: irq: set the correct node for shadow call stack
    8cdf9b6caa7e net: sysfs: Fix /sys/class/net/<iface> path
    f3ce3e003890 selftests: net: fix available tunnels detection
    c8f6b3b864cb af_unix: fix lockdep positive in sk_diag_dump_icons()
    5823acd7593a net: ipv4: fix a memleak in ip_setup_cork
    b775ced05489 netfilter: nft_ct: sanitize layer 3 and 4 protocol number in custom expectations
    5d7a4559bce6 netfilter: nf_log: replace BUG_ON by WARN_ON_ONCE when putting logger
    4cdab7167545 netfilter: nf_tables: restrict tunnel object to NFPROTO_NETDEV
    beb732819261 bridge: mcast: fix disabled snooping after long uptime
    dbc1b89981f9 llc: call sock_orphan() at release time
    a9ef5dc93890 ipv6: Ensure natural alignment of const ipv6 loopback and router addresses
    a2e5f021cac1 ixgbe: Fix an error handling path in ixgbe_read_iosf_sb_reg_x550()
    c7f47912f72f ixgbe: Refactor overtemp event handling
    52ec65d4d4ba ixgbe: Refactor returning internal error codes
    7683f41c7b7b ixgbe: Remove non-inclusive language
    718f446e6031 tcp: add sanity checks to rx zerocopy
    af6b5c50d47a ip6_tunnel: make sure to pull inner header in __ip6_tnl_rcv()
    6d5645016600 ip6_tunnel: use dev_sw_netstats_rx_add()
    157e1cb2c0d8 selftests: net: give more time for GRO aggregation
    d37c1c81419f scsi: core: Move scsi_host_busy() out of host lock for waking up EH handler
    022e2310e86d scsi: isci: Fix an error code problem in isci_io_request_build()
    bc009cb12f7f drm: using mul_u32_u32() requires linux/math64.h
    cfe839036758 wifi: cfg80211: fix RCU dereference in __cfg80211_bss_update
    8a070a5884dc perf: Fix the nr_addr_filters fix
    b203bc5e229a drm/amdkfd: Fix 'node' NULL check in 'svm_range_get_range_boundaries()'
    362754ec2c32 drm/amdgpu: Release 'adev->pm.fw' before return in 'amdgpu_device_need_post()'
    2f7f8e109b54 drm/amd/powerplay: Fix kzalloc parameter 'ATOM_Tonga_PPM_Table' in 'get_platform_power_management_table()'
    a9c15d6e8aee ceph: fix deadlock or deadcode of misusing dget()
    89e0e66682e1 blk-mq: fix IO hang from sbitmap wakeup race
    105874a454e8 virtio_net: Fix "‘%d’ directive writing between 1 and 11 bytes into a region of size 10" warnings
    7a70663ba02b drm/amdkfd: Fix lock dependency warning
    93ecc12925b4 libsubcmd: Fix memory leak in uniq()
    82006e24aa10 PCI/AER: Decode Requester ID when no error info found
    7289a6e6fc6e PCI: Fix 64GT/s effective data rate calculation
    f4dce08ba119 fs/kernfs/dir: obey S_ISGID
    ef86cdc688a9 tty: allow TIOCSLCKTRMIOS with CAP_CHECKPOINT_RESTORE
    8451aa66943b selftests/sgx: Fix linker script asserts
    56073287613b usb: hub: Replace hardcoded quirk value with BIT() macro
    a7af1be5cf55 perf cs-etm: Bump minimum OpenCSD version to ensure a bugfix is present
    ff1c7e2fb9e9 PCI: switchtec: Fix stdev_release() crash after surprise hot remove
    52d42ac643e8 PCI: Only override AMD USB controller if required
    1a4f408561e7 mailbox: arm_mhuv2: Fix a bug for mhuv2_sender_interrupt
    28497271ff33 mfd: ti_am335x_tscadc: Fix TI SoC dependencies
    f7752e5f53db xen/gntdev: Fix the abuse of underlying struct page in DMA-buf import
    9b7d253b823a i3c: master: cdns: Update maximum prescaler value for i2c clock
    0c7478a2da3f um: time-travel: fix time corruption
    1e3d449b15c2 um: net: Fix return type of uml_net_start_xmit()
    b7b44ee08d73 um: Don't use vfprintf() for os_info()
    4c4b366addb3 um: Fix naming clash between UML and scheduler
    f5010e2892ae leds: trigger: panic: Don't register panic notifier if creating the trigger failed
    f13b8cb5a692 ALSA: hda/conexant: Fix headset auto detect fail in cx8070 and SN6140
    bd086bd1e331 drm/amdgpu: Drop 'fence' check in 'to_amdgpu_amdkfd_fence()'
    702b759168d8 drm/amdgpu: Let KFD sync with VM fences
    8998723de474 clk: imx: clk-imx8qxp: fix LVDS bypass, pixel and phy clocks
    9709da9d1086 clk: imx: scu: Fix memory leak in __imx_clk_gpr_scu()
    91828d9316eb watchdog: it87_wdt: Keep WDTCTRL bit 3 unmodified for IT8784/IT8786
    54a84bad7b3b clk: mmp: pxa168: Fix memory leak in pxa168_clk_init()
    fcc477e61044 clk: hi3620: Fix memory leak in hi3620_mmc_clk_init()
    77bcd4ab446f drm/amdgpu: fix ftrace event amdgpu_bo_move always move on same heap
    2b5a22f0ccc0 drm/msm/dpu: Ratelimit framedone timeout msgs
    a889d9012dae media: i2c: imx335: Fix hblank min/max values
    d1e0fdbabff7 media: ddbridge: fix an error code problem in ddb_probe
    ed790bd0903e IB/ipoib: Fix mcast list locking
    5fcd8a81d303 drm/exynos: Call drm_atomic_helper_shutdown() at shutdown/unbind time
    7ea0f29d9fd8 f2fs: fix to tag gcing flag on page during block migration
    8ab28b2d70a4 media: rkisp1: Drop IRQF_SHARED
    9d23b21a2df2 ALSA: hda: intel-dspcfg: add filters for ARL-S and ARL
    b1a53c923cc7 ALSA: hda: Intel: add HDA_ARL PCI ID support
    684cb957fe1a PCI: add INTEL_HDA_ARL to pci_ids.h
    d08e032f752b media: rockchip: rga: fix swizzling for RGB formats
    fdf14a7c2bea media: stk1160: Fixed high volume of stk1160_dbg messages
    3cdc644470e4 drm/mipi-dsi: Fix detach call without attach
    711b5cc5f60e drm/framebuffer: Fix use of uninitialized variable
    df31f3cb0449 drm/drm_file: fix use of uninitialized variable
    6941fe8d9444 f2fs: fix write pointers on zoned device after roll forward
    2ed3db899167 drm/amd/display: Fix tiled display misalignment
    f217be126ac4 RDMA/IPoIB: Fix error code return in ipoib_mcast_join
    8eb8fca117e8 fast_dput(): handle underflows gracefully
    7fa0c4ef6776 ASoC: doc: Fix undefined SND_SOC_DAPM_NOPM argument
    82ccd840e039 ALSA: hda: Refer to correct stream index at loops
    b4fb0807a1d6 f2fs: fix to check return value of f2fs_reserve_new_block()
    315d966df2c6 octeontx2-af: Fix max NPC MCAM entry check while validating ref_entry
    28764fab4d51 i40e: Fix VF disable behavior to block all traffic
    2cf9158fffcc bridge: cfm: fix enum typo in br_cc_ccm_tx_parse
    1fbcb194aad5 Bluetooth: L2CAP: Fix possible multiple reject send
    84e3f673b23d Bluetooth: qca: Set both WIDEBAND_SPEECH and LE_STATES quirks for QCA2066
    2fde2254e057 wifi: cfg80211: free beacon_ies when overridden from hidden BSS
    f589258f4066 wifi: rtlwifi: rtl8723{be,ae}: using calculate_bit_shift()
    49ec369f56be ALSA: usb-audio: Add delay quirk for MOTU M Series 2nd revision
    90dbf4535668 libbpf: Fix NULL pointer dereference in bpf_object__collect_prog_relos
    9e1cae315724 wifi: rtl8xxxu: Add additional USB IDs for RTL8192EU devices
    40a71f7e91bf arm64: dts: qcom: msm8998: Fix 'out-ports' is a required property
    2f747a4f664b arm64: dts: qcom: msm8996: Fix 'in-ports' is a required property
    2aee6c4517f9 md: Whenassemble the array, consult the superblock of the freshest device
    6ab391eafa43 block: prevent an integer overflow in bvec_try_merge_hw_page
    a9d12fdc5192 net: dsa: mv88e6xxx: Fix mv88e6352_serdes_get_stats error path
    fed146364402 ARM: dts: imx23/28: Fix the DMA controller node name
    e9b724664b6f ARM: dts: imx23-sansa: Use preferred i2c-gpios properties
    3995aa523842 ARM: dts: imx27-apf27dev: Fix LED name
    7a01ad0f04f7 ARM: dts: imx25/27: Pass timing0
    b60d572d8555 ARM: dts: imx25: Fix the iim compatible string
    f6abd5e17da3 block/rnbd-srv: Check for unlikely string overflow
    963b9c5484af ionic: pass opcode to devcmd_wait
    138170757875 ARM: dts: imx1: Fix sram node
    ad54a5b041d0 ARM: dts: imx27: Fix sram node
    b4130668dce3 ARM: dts: imx: Use flash@0,0 pattern
    3693ecc0c1c8 ARM: dts: imx25/27-eukrea: Fix RTC node name
    cf5f3489b6b6 ARM: dts: rockchip: fix rk3036 hdmi ports node
    fdb812bea0bb bpf: Set uattr->batch.count as zero before batched update or deletion
    813ebba2a7bd scsi: libfc: Fix up timeout error in fc_fcp_rec_error()
    43ba03c31aed scsi: libfc: Don't schedule abort twice
    5ef63c872d24 bpf: Add map and need_defer parameters to .map_fd_put_ptr()
    9003fa9a0198 wifi: ath9k: Fix potential array-index-out-of-bounds read in ath9k_htc_txstatus()
    8c965c9c4bed ARM: dts: imx7s: Fix nand-controller #size-cells
    3eeefee8da2d ARM: dts: imx7s: Fix lcdif compatible
    f9ec664f94f0 ARM: dts: imx7d: Fix coresight funnel ports
    7733800d38c1 scsi: arcmsr: Support new PCI device IDs 1883 and 1886
    34acf5225ea0 bonding: return -ENOMEM instead of BUG in alb_upper_dev_walk
    2abaf726280e PCI: Add no PM reset quirk for NVIDIA Spectrum devices
    6b9abf50d37a scsi: lpfc: Fix possible file string name overflow when updating firmware
    79aadf649273 selftests/bpf: Fix issues in setup_classid_environment()
    6aad0814705f selftests/bpf: Fix pyperf180 compilation failure with clang18
    efe701e91697 selftests/bpf: satisfy compiler by having explicit return in btf test
    4cc198580a7b wifi: rt2x00: restart beacon queue when hardware reset
    d76c8d7ffe16 ext4: avoid online resizing failures due to oversized flex bg
    0cabe04c5616 ext4: remove unnecessary check from alloc_flex_gd()
    474f5b00c564 ext4: unify the type of flexbg_size to unsigned int
    5d2090597ca7 ext4: fix inconsistent between segment fstrim and full fstrim
    9f2e407814a6 ecryptfs: Reject casefold directory inodes
    f8cf4dabbdcb SUNRPC: Fix a suspicious RCU usage warning
    732a3bea7aba KVM: s390: fix setting of fpc register
    28a1f492cb52 s390/ptrace: handle setting of fpc register correctly
    df81cbcd26bb arch: consolidate arch_irq_work_raise prototypes
    6aa300208790 jfs: fix array-index-out-of-bounds in diNewExt
    40e21a9e48a0 rxrpc_find_service_conn_rcu: fix the usage of read_seqbegin_or_lock()
    44b86400480f afs: fix the usage of read_seqbegin_or_lock() in afs_find_server*()
    78b6ff52a541 afs: fix the usage of read_seqbegin_or_lock() in afs_lookup_volume_rcu()
    556be726a42e crypto: stm32/crc32 - fix parsing list of devices
    70a3b16113a8 crypto: octeontx2 - Fix cptvf driver cleanup
    2a37905d47bf pstore/ram: Fix crash when setting number of cpus to an odd number
    8e44dc3f96e9 jfs: fix uaf in jfs_evict_inode
    8393c80cce45 jfs: fix array-index-out-of-bounds in dbAdjTree
    6c6a96c3d74d jfs: fix slab-out-of-bounds Read in dtSearch
    e4ce01c25ccb UBSAN: array-index-out-of-bounds in dtSplitRoot
    6fe8b702125a FS:JFS:UBSAN:array-index-out-of-bounds in dbAdjTree
    7cb410316688 ACPI: APEI: set memory failure flags as MF_ACTION_REQUIRED on synchronous events
    099f6a9edbe3 PM / devfreq: Synchronize devfreq_monitor_[start/stop]
    5457b0cbaa02 ACPI: extlog: fix NULL pointer dereference check
    b17cb541f13b PNP: ACPI: fix fortify warning
    4d169334e5c0 ACPI: video: Add quirk for the Colorful X15 AT 23 Laptop
    53ab23237537 audit: Send netlink ACK before setting connection in auditd_set
    0f10c84e4437 regulator: core: Only increment use_count when enable_count changes
    a5d70e22b920 debugobjects: Stop accessing objects after releasing hash bucket lock
    c128e64ae0e6 perf/core: Fix narrow startup race when creating the perf nr_addr_filters sysfs file
    330cb5e77adb x86/mce: Mark fatal MCE's page as poison to avoid panic in the kdump kernel
    de4f5ed63b8a powerpc/lib: Validate size for vector operations
    027e61b866cb powerpc: pmd_move_must_withdraw() is only needed for CONFIG_TRANSPARENT_HUGEPAGE
    33595c0c7782 x86/boot: Ignore NMIs during very early boot
    b3bc07aec73f powerpc/64s: Fix CONFIG_NUMA=n build due to create_section_mapping()
    88a28bec865e powerpc/mm: Fix build failures due to arch_reserved_kernel_pages()
    b00f2757335e powerpc: Fix build error due to is_valid_bugaddr()
    b246a9a3c3cc drivers/perf: pmuv3: don't expose SW_INCR event in sysfs
    17093c32f644 arm64: irq: set the correct node for VMAP stack
    ac3ed969a403 powerpc/mm: Fix null-pointer dereference in pgtable_cache_add
    fb6c8127dbe1 x86/entry/ia32: Ensure s32 is sign extended to s64
    59b24e6245d1 tick/sched: Preserve number of idle sleeps across CPU hotplug events
    f3bc406e1b71 mips: Call lose_fpu(0) before initializing fcr31 in mips_set_personality_nan
    ccb03ec4294c spi: bcm-qspi: fix SFDP BFPT read by usig mspi read
    3bc801ce9d7f block: Move checking GENHD_FL_NO_PART to bdev_add_partition()
    f2d3ae8cf69b gpio: eic-sprd: Clear interrupt after set the interrupt type
    fcf44c782cac drm/exynos: gsc: minor fix for loop iteration in gsc_runtime_resume
    22937c97c527 drm/exynos: fix accidental on-stack copy of exynos_drm_plane
    76d1ffa908e1 drm: panel-simple: add missing bus flags for Tianma tm070jvhg[30/33]
    7ae053227c8c cpufreq: intel_pstate: Refine computation of P-state for given frequency
    34c02fec33ea cpufreq: intel_pstate: Drop redundant intel_pstate_get_hwp_cap() call
    aaa1f1a2ee80 ksmbd: fix global oob in ksmbd_nl_policy
    4056ece66090 btrfs: add definition for EXTENT_TREE_V2
    796d3fad8c35 PM / devfreq: Fix buffer overflow in trans_stat_show
    b448de2459b6 mm/sparsemem: fix race in accessing memory_section->usage
    904fafac104d mm: use __pfn_to_section() instead of open coding it
    1b1036c60a37 media: mtk-jpeg: Fix use after free bug due to error path handling in mtk_jpeg_dec_device_run
    4cebb1edb14e ARM: dts: qcom: sdx55: fix USB SS wakeup
    462d5a6fb272 ARM: dts: qcom: sdx55: fix USB DP/DM HS PHY interrupts
    a98b715c9449 ARM: dts: qcom: sdx55: fix pdc '#interrupt-cells'
    57be4dd630ca ARM: dts: samsung: exynos4210-i9100: Unconditionally enable LDO12
    28092c1137b7 ARM: dts: qcom: sdx55: fix USB wakeup interrupt types
    3efbd114b915 pipe: wakeup wr_wait after setting max_usage
    26bfccac21fc fs/pipe: move check to pipe_has_watch_queue()
    94991728c84f bus: mhi: host: Add alignment check for event ring read pointer
    d73f63a6452b bus: mhi: host: Rename "struct mhi_tre" to "struct mhi_ring_element"
    a1d62c775b07 PM: sleep: Fix possible deadlocks in core system-wide PM code
    d5f15888d3e2 PM: core: Remove unnecessary (void *) conversions
    fd8d6b04de04 drm/bridge: nxp-ptn3460: simplify some error checking
    9d2a462917a2 drm/tidss: Fix atomic_flush check
    bcf51e8f3cfe drm/bridge: nxp-ptn3460: fix i2c_master_send() error checking
    b4af63da9d94 drm: Don't unref the same fb many times by mistake due to deadlock handling
    4fc86c70ea0c gpiolib: acpi: Ignore touchpad wakeup on GPD G1619-04
    e44e240d537e xfs: read only mounts with fsopen mount API are busted
    614cc65032dc firmware: arm_scmi: Check mailbox/SMT channel for consistency
    960cf4f81253 netfilter: nf_tables: reject QUEUE/DROP verdict parameters
    70f17b48c866 netfilter: nft_chain_filter: handle NETDEV_UNREGISTER for inet/ingress basechain
    0ac9cbe006bf hv_netvsc: Calculate correct ring size when PAGE_SIZE is not 4 Kbytes
    99a23462fe1a wifi: iwlwifi: fix a memory corruption
    9a64c7fc15f3 exec: Fix error handling in begin_new_exec()
    04a0786a97fc rbd: don't move requests to the running list on errors
    0877497dc978 btrfs: don't abort filesystem when attempting to snapshot deleted subvolume
    07beceb3e133 btrfs: defrag: reject unknown flags of btrfs_ioctl_defrag_range_args
    5b5319e11279 btrfs: don't warn if discard range is not aligned to sector
    f054f328bf74 btrfs: tree-checker: fix inline ref size in error messages
    5550250f36c3 btrfs: ref-verify: free ref cache before clearing mount opt
    f76e961a34ec btrfs: avoid copying BTRFS_ROOT_SUBVOL_DEAD flag to snapshot of subvolume being deleted
    415fb71a9a77 btrfs: fix race between reading a directory and adding entries to it
    a6c2dfbfa250 btrfs: refresh dir last index during a rewinddir(3) call
    0b04bbfd07d5 btrfs: set last dir index to the current last index when opening dir
    79cf35e16dd5 btrfs: fix infinite directory reads
    4c24059dd3ad net: fec: fix the unhandled context fault from smmu
    5b0f2af31a0c fjes: fix memleaks in fjes_hw_setup
    c0d29d303390 selftests: netdevsim: fix the udp_tunnel_nic test
    af47faa6d332 net: mvpp2: clear BM pool before initialization
    5305727ba6a4 net: stmmac: Wait a bit for the reset to take effect
    022a8d0bc9c8 netfilter: nf_tables: validate NFPROTO_* family
    064bccd4a946 netfilter: nf_tables: restrict anonymous set and map names to 16 bytes
    79d4efd75e7d netfilter: nft_limit: reject configurations that cause integer overflow
    53f2cd86a81c overflow: Allow mixed type arguments
    72a729868592 net/mlx5e: fix a potential double-free in fs_any_create_groups
    c57ca114eb00 net/mlx5e: fix a double-free in arfs_create_groups
    cf0a8a3a891a net/mlx5: DR, Can't go to uplink vport on RX rule
    e5783345bdb9 net/mlx5: DR, Align mlx5dv_dr API vport action with FW behavior
    8e215c249a73 net/mlx5: DR, Replace local WIRE_PORT macro with the existing MLX5_VPORT_UPLINK
    fda9109e15a5 net/mlx5: DR, Use the right GVMI number for drop action
    50bd41dcca35 ipv6: init the accept_queue's spinlocks in inet6_create
    931366b9f29d netlink: fix potential sleeping issue in mqueue_flush_file
    fc0f8e2c9380 tcp: Add memory barrier to tcp_push()
    21a2115e0ca0 afs: Hide silly-rename files from userspace
    aef1cb00856c tracing: Ensure visibility when inserting an element into tracing_map
    00d1ee8e1d02 net/rds: Fix UBSAN: array-index-out-of-bounds in rds_cmsg_recv
    c0fe2fe7a5a2 llc: Drop support for ETH_P_TR_802_2.
    c22044270da6 llc: make llc_ui_sendmsg() more robust against bonding changes
    79eeb85c44dd vlan: skip nested type that is not IFLA_VLAN_QOS_MAPPING
    32430251129e bnxt_en: Wait for FLR to complete during probe
    d86cc6ab33b0 tcp: make sure init the accept_queue's spinlocks once
    68b888d51ac8 net/smc: fix illegal rmb_desc access in SMC-D connection dump
    bb27126aefce ksmbd: Add missing set_freezable() for freezable kthread
    d7a62b3a3d7c ksmbd: send lease break notification on FILE_RENAME_INFORMATION
    6cc508233e54 ksmbd: don't increment epoch if current state and request state are same
    5349fd419e4f ksmbd: fix potential circular locking issue in smb2_set_ea()
    9ab89353360b ksmbd: set v2 lease version on lease upgrade
    dfda2a5eb66a rename(): fix the locking of subdirectories
    b2512424c9c5 ubifs: ubifs_symlink: Fix memleak of inode->i_link in error path
    689c5f8d894b nouveau/vmm: don't set addr on the fail path to avoid warning
    2d07a63b01de rtc: Adjust failure return code for cmos_set_alarm()
    3ff34c00db0d mmc: mmc_spi: remove custom DMA mapped buffers
    50b8b7a22e90 mmc: core: Use mrq.sbc in close-ended ffu
    f0bb5d185f6e scripts/get_abi: fix source path leak
    4590f2077ef2 lsm: new security_file_ioctl_compat() hook
    cdcd8df577a8 arm64: dts: qcom: sdm845: fix USB DP/DM HS PHY interrupts
    8ed011c4e031 arm64: dts: qcom: sm8150: fix USB wakeup interrupt types
    aa38eb962673 arm64: dts: qcom: sdm845: fix USB wakeup interrupt types
    121d89f0c6d0 arm64: dts: qcom: sc7180: fix USB wakeup interrupt types
    33f8bdf37def async: Introduce async_schedule_dev_nocall()
    86c8e16252ac async: Split async_schedule_node_domain()
    58031306c022 parisc/firmware: Fix F-extend for PDC addresses
    176ed1727bad bus: mhi: host: Add spinlock to protect WP access when queueing TREs
    6e4c84316e2b bus: mhi: host: Drop chan lock before queuing buffers
    cdb15ac80aae mips: Fix max_mapnr being uninitialized on early stages
    473f1ae44b8e media: ov9734: Enable runtime PM before registering async sub-device
    2d27a7b19cb3 rpmsg: virtio: Free driver_override when rpmsg_remove()
    3c1b795124a5 media: imx355: Enable runtime PM before registering async sub-device
    a7f580cdb42e crypto: s390/aes - Fix buffer overread in CTR mode
    26cc6d7006f9 hwrng: core - Fix page fault dead lock on mmap-ed hwrng
    4d4bf19c81a1 PM: hibernate: Enforce ordering during image compression/decompression
    a6fec6324f51 crypto: api - Disallow identical driver names
    ad23246ccfa9 btrfs: sysfs: validate scrub_speed_max value
    cb904f5c7162 ext4: allow for the last group to be marked as trimmed
    a604d5f2f983 iio:adc:ad7091r: Move exports into IIO_AD7091R namespace.
    72a339554352 scsi: ufs: core: Remove the ufshcd_hba_exit() call from ufshcd_async_scan()
    226554bd27a0 scsi: ufs: core: Simplify power management during async scan
    047fce470412 dmaengine: fix NULL pointer in channel unregistration function
    e44eb4ccad49 iio: adc: ad7091r: Enable internal vref if external vref is not supplied
    49f322ce1f26 iio: adc: ad7091r: Allow users to configure device events
    6ef852a43090 iio: adc: ad7091r: Set alert bit in config register
    81ea755b8fa5 ksmbd: only v2 leases handle the directory
    999daf367b92 ksmbd: fix UAF issue in ksmbd_tcp_new_connection()
    dd1de9268745 ksmbd: validate mech token in session setup
    65cadfb3b05a ksmbd: don't allow O_TRUNC open on read-only share
    c917b0529ea9 ksmbd: free ppace array on error in parse_dacl

(From OE-Core rev: 30082a7dd7337b8bc2e0fb38380577bd5fcfce68)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-13 07:36:50 -10:00
Vivek Kumbhar
3a82461fad go: Backport fix CVE-2024-24784 & CVE-2024-24785
Backport fixes for :

CVE-2024-24784 - Upstream-Status: Backport from 5330cd225b
CVE-2024-24785 - Upstream-Status: Backport from 056b0edcb8

(From OE-Core rev: 408f86a5268cadd680f45e2d934451a321241706)

Signed-off-by: Vivek Kumbhar <vkumbhar@mvista.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-13 07:36:50 -10:00
Hitendra Prajapati
ae66c42f9e golang: Fix CVE-2023-45289 & CVE-2023-45290
Backport fixes for:
CVE-2023-45289 - Upstream-Status: Backport from 3a855208e3
CVE-2023-45290 - Upstream-Status: Backport from 041a47712e

(From OE-Core rev: e5aae8a371717215a7d78459788ad67dfaefe37e)

Signed-off-by: Hitendra Prajapati <hprajapati@mvista.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-12 04:06:19 -10:00
Steve Sakoman
fadcdfdd67 selftest: skip virgl gtk/sdl test on ubuntu 18.04
(From OE-Core rev: 20c70400ea7739a20bec174ac5df6841cbf0b4de)

Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-12 04:06:19 -10:00
Chen Qi
43c47a973f useradd-example: do not use unsupported clear text password
The clear text password support has been dropped. So let's just
use a normal ecrypted one. The password remains to be 'user3'.

(From OE-Core rev: 688ec6a245d3d8a92c358e13baf752c9bac332e2)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit cd8232f9c58980d95180ad320b7b0bb0fcfd9ff5)
Signed-off-by: Fabio Berton <fabio.berton@criticaltechworks.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-12 04:06:19 -10:00
Fabio Estevam
c31a0740dd u-boot: Move UBOOT_INITIAL_ENV back to u-boot.inc
Commit cc6c3e31526d ("u-boot: Move definitions to common locations") moved
UBOOT_INITIAL_ENV to uboot-config.bbclass, but it should be kept at u-boot.inc
because it encodes ${PN} in it, which should be set by the U-Boot recipe.

Currently, whatever inherits uboot-config bbclass will fill-in its own PN,
which would change the content of UBOOT_INITIAL_ENV per-package.

Cc: Klaus Heinrich Kiwi <klaus@linux.vnet.ibm.com>
Cc: Marek Vasut <marex@denx.de>
Fixes: cc6c3e31526d ("u-boot: Move definitions to common locations")
(From OE-Core rev: 18b76259d27dc045f621cd512582c37e8bbab45c)

Signed-off-by: Fabio Estevam <festevam@denx.de>

Backported from master: 0b0c4b37d318b86f100512476ffd861e0ce1f47e
Signed-off-by: Fabio Estevam <festevam@denx.de>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-12 04:06:19 -10:00
Munehisa Kamata
d340023483 kernel.bbclass: Set pkg-config variables for building modules
[Backport cd2072e5d953 from the master without HOSTPKG_CONFIG setting]

The pkg-config workaround has been applied for kernel image building, but
not for module building. So pkg-config variables are different between
do_compile and do_compile_kernelmodules tasks. It may unnecessary trigger
rebuilding of a few host tools at the later task.

Especially when CONFIG_DEBUG_INFO_BTF is enabled in the kernel, it may even
trigger rebuilding vmlinux at do_compile_kernelmodules due to the rebuilt
host tools such as certs/extract-cert or objtool (on x86). This eventually
creates an inconsistent set of kernel binaries.

Here is the repro steps:

 - Check out nanbield on x86
   - The unexpected rebuild happens on kirkstone or possibly earlier

 - Ensure that pahole is available (e.g. via meta-oe)

 - Set KERNEL_DEBUG to "True" to properly set up PAHOLE
   e.g.
   $ export KERNEL_DEBUG="True"
   $ export BB_ENV_PASSTHROUGH_ADDITIONS="${BB_ENV_PASSTHROUGH_ADDITIONS} KERNEL_DEBUG"

 - Enable CONFIG_DEBUG_INFO_BTF=y
   e.g.
   $ bitbake -c menuconfig virtual/kernel
    -> Kernel hacking
      -> Compile-time checks and compiler options
        -> Generate BTF typeinfo

 - Build the kernel
   e.g.
   $ bitbake virtual/kernel

The BTF information in the resulting bzImage and kernel modules are
inconsistent, because the module's BTF information is generated using the
"second" vmlinux that doesn't have the identical BTF to the "first" vmlinux.
These modules can't be loaded at runtime due to the BTF mismatch.

This also leads to a build-id mismatch between the installed bzImage and
vmlinux since the bzImage is created from the first vmlinux, but the
installed vmlinux is the second one.

  $ eu-readelf -n tmp/work/qemux86_64-poky-linux/linux-yocto/6.5.13+git/image/boot/{bzImage*,vmlinux*} | grep "Build ID"
   Build ID: 4a0d62ee7fef0244950f0f604253729875bea493
   Build ID: fb99b3d91399dbe42bf67ddee59e0f5a0c7f74d9

To avoid the unexpected rebuilding that results in such inconsistency, set
the same pkg-config variables when building kernel and modules. For kernel
5.19 and above, simply set the HOSTPKG_CONFIG in the make command line.

(From OE-Core rev: d63af11e92094487d6e358f27283e5385937e7a8)

Signed-off-by: Munehisa Kamata <kamatam@amazon.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-07 08:32:54 -10:00
Priyal Doshi
a73f686165 tzdata : Upgrade to 2024a
(From OE-Core rev: 5f9463d8c9954944c44ca9f25702753895b02745)

Signed-off-by: Priyal Doshi <pdoshi@mvista.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 5abbd0abf992ce8d11f3ae31fb1d83d97f5319fa)
Signed-off-by: Shubham Kulkarni <skulkarni@mvista.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-07 08:32:54 -10:00
Alexander Sverdlin
397cd20125 linux-firmware: upgrade 20231030 -> 20231211
(From OE-Core rev: 122be5a683affb3044b8e8d605a4bfcc79c6b4c7)

Signed-off-by: Alexander Sverdlin <alexander.sverdlin@siemens.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 0caafdbbf4e7dc84b919afe14f7cb8c46a9e4ac2)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-07 08:32:54 -10:00
Soumya Sambu
eeb668f890 bind: Upgrade 9.18.19 -> 9.18.24
Includes security fixes for - CVE-2023-4408, CVE-2023-5517,
CVE-2023-5679, CVE-2023-50868 and CVE-2023-50387

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

(From OE-Core rev: f7ab2e99903c93e428fbaa391c977b428c8e2953)

Signed-off-by: Soumya Sambu <soumya.sambu@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-07 08:32:54 -10:00
Ross Burton
a5b6f5e8bc cve_check: cleanup logging
Primarily list the number of patches found, useful when debugging.

Also clean up some bad escaping that caused warnings and use
re.IGNORECASE instead of manually doing case-insenstive rang matches.

(From OE-Core rev: 1745208bc08037497ad9de1be15a3cc4a22ceff5)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 10acc75b7f3387b968bacd51aade6a8dc11a463f)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-07 08:32:54 -10:00
Dhairya Nagodra
eef037bf72 dbus: Add missing CVE_PRODUCT
- The current recipe only contains one (out of three) valid product
  names for dbus package in NVD.
- This could result in reporting of lesser number CVEs than actual.
- Added missing names to get a proper list.

(From OE-Core rev: 6488fc1a8ffa68268d9d4b71cb017eeb9a645cbe)

Signed-off-by: Dhairya Nagodra <dnagodra@cisco.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-07 08:32:54 -10:00
Poonam Jadhav
84598dca80 qemu: Fix CVE-2023-42467
1. scsi-disk: allow MODE SELECT block descriptor to set the block size
Link: 356c4c441e

The MODE SELECT command can contain an optional block descriptor that can be used
to set the device block size. If the block descriptor is present then update the
block size on the SCSI device accordingly.

This allows CDROMs to be used with A/UX which requires a CDROM drive which is
capable of switching from a 2048 byte sector size to a 512 byte sector size.

2. scsi-disk: ensure block size is non-zero and changes limited to bits 8-15
Link: 55794c904d

The existing code assumes that the block size can be generated from p[1] << 8
in multiple places which ignores the top and bottom 8 bits. If the block size
is allowed to be set to an arbitrary value then this causes a mismatch
between the value written by the guest in the block descriptor and the value
subsequently read back using READ CAPACITY causing the guest to generate
requests that can crash QEMU.

For now restrict block size changes to bits 8-15 and also ignore requests to
set the block size to 0 which causes the SCSI emulation to crash in at least
one place with a divide by zero error.

3. Disallow block sizes smaller than 512 [CVE-2023-42467]
Link: 7cfcc79b0a

We are doing things like

    nb_sectors /= (s->qdev.blocksize / BDRV_SECTOR_SIZE);

in the code here (e.g. in scsi_disk_emulate_mode_sense()), so if
the blocksize is smaller than BDRV_SECTOR_SIZE (=512), this crashes
with a division by 0 exception. Thus disallow block sizes of 256
bytes to avoid this situation.

(From OE-Core rev: e9af3d328db8a32c22bb0798fa8dbb749e3f607b)

Signed-off-by: Poonam Jadhav <poonam.jadhav@kpit.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-07 08:32:54 -10:00
Vivek Kumbhar
3c091d5d04 qemu: Backport fix CVE-2023-6693
Upstream-Status: Backport [2220e8189f]

(From OE-Core rev: e993720fc31dbf94bed138b76ce33cbcd61ab9a5)

Signed-off-by: Vivek Kumbhar <vkumbhar@mvista.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-07 08:32:54 -10:00
Vijay Anusuri
b9aad2ed8a qemu: Fix for CVE-2024-24474
Upstream-Status: Backport
[77668e4b9b]

(From OE-Core rev: 71600de72c602e6d1ae2c3b13af6c59440affdb6)

Signed-off-by: Vijay Anusuri <vanusuri@mvista.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-07 08:32:54 -10:00
Peter Marko
e4f9b3aa4f glibc: ignore CVE-2023-0687
This CVE was backported to glibc 2.35 branch 9 months ago.
NVD recently updated CPE and it appeared in kirkstone cve reports.

https://sourceware.org/git/?p=glibc.git;a=log;h=refs/heads/release/2.35/master
gmon: Fix allocated buffer overflow (bug 29444)
https://sourceware.org/git/?p=glibc.git;a=commit;h=f2820e478c68a73a38f81512cc38beeee220212a

(From OE-Core rev: c8b30db7fcecc726fae87c8c49d4c01f0feeb2ab)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-07 08:32:54 -10:00
Vijay Anusuri
3542ad6716 less: Fix for CVE-2022-48624
Upstream-Status: Backport [c6ac6de496]

(From OE-Core rev: 8d91ab209398a8415009bc3093d407bf8871dafd)

Signed-off-by: Vijay Anusuri <vanusuri@mvista.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-07 08:32:54 -10:00
Philip Lorenz
b3e316e848 bitbake: fetch2: Ensure that git LFS objects are available
The current implementation only performs a git lfs fetch alongside of a
regular git fetch. This causes issues when the downloaded revision is
already part of the fetched repository (e.g. because of moving back in
history or the updated revision already being part of the repository at
the time of the initial clone).

Fix this by explicitly checking whether the required LFS objects are
available in the downloade directory before confirming that a downloaded
repository is up-to-date.

This issue previously went unnoticed as git lfs would silently fetch the
missing objects during the `unpack` task. With network isolation turned
on, this no longer works, and unpacking fails.

(cherry picked from commit cfae1556bf671acec119a6c8bbc4b667a856b9ae)

(Bitbake rev: 40fd5f4eef7460ca67f32cfce8e229e67e1ff607)

Signed-off-by: Philip Lorenz <philip.lorenz@bmw.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Philip Lorenz <philip.lorenz@bmw.de>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-01 08:00:58 -10:00
Paulo Neves
ec62e15f12 bitbake: tests/fetch: Add real git lfs tests and decorator
Added tests that verify that git-lfs works with an actual
real git-lfs server. This was not previously the case because
the repo in the test was a simulation of git-lfs but not
a real git lfs repo.

The 2 added tests are almost the same but test that the
git lfs file checkout is successfult with or without the
lfs=1 flag. The lfs=1 URI parameter is a quirk that triggers
2 different code paths for git lfs.

lfs=1, when used on git lfs repositories triggers the git lfs
downloading at the fetch bare stage.

lfs query parameter unset triggers the git lfs downloading only
on checkout as an implicit behavior of git. This leads to possible
network access on the unpack stage and outside the DL_DIR.

lfs=0 actually disables git-lfs functionality even if supported.

(cherry picked from commit d2be7f7f652360f13cd66d0850f3e19ffe2afb0a)

(Bitbake rev: 2a6fd774405a58f3ef2953a0dc3eca063e0cf890)

Signed-off-by: Paulo Neves <paulo@myneves.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Philip Lorenz <philip.lorenz@bmw.de>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-01 08:00:58 -10:00
Paulo Neves
b67823515e bitbake: tests/fetch: git-lfs restore _find_git_lfs
Not restoring the mocked _find_git_lfs leads to other tests
failing.

(cherry picked from commit 70f848631450bd723c223227c21c60e815ee033d)

(Bitbake rev: 1d5d4a46c772f44ab652f95b37f508b890828e67)

Signed-off-by: Paulo Neves <paulo@myneves.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Philip Lorenz <philip.lorenz@bmw.de>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-01 08:00:58 -10:00
Adrian Freihofer
d1299791a5 bitbake: bitbake/lib/bs4/tests/test_tree.py: python 3.12 regex
Python 3 interprets string literals as Unicode strings, and therefore
\s is treated as an escaped Unicode character which is not correct.
Declaring the RegEx pattern as a raw string instead of unicode is
required for Python 3.

(Bitbake rev: 7efed7bc09c56e41d3074a26388581a62f145625)

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-01 08:00:58 -10:00
Alexander Kanavin
d4ad54a401 bitbake: bitbake/codeparser.py: address ast module deprecations in py 3.12
Specifically:
/srv/work/alex/poky/bitbake/lib/bb/codeparser.py:279: DeprecationWarning: ast.Str is deprecated and will be removed in Python 3.14; use ast.Constant instead
  if isinstance(node.args[0], ast.Str):
/srv/work/alex/poky/bitbake/lib/bb/codeparser.py:280: DeprecationWarning: Attribute s is deprecated and will be removed in Python 3.14; use value instead
  value = node.args[0].s

(Bitbake rev: 6c19b6cf105ac321ec89da1a876a317020c45ab7)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-01 08:00:58 -10:00
Chris Laplante
8ec4f29e43 bitbake: codeparser: replace deprecated ast.Str and 's'
These have been deprecated since 3.8

(Bitbake rev: 4591011449212c8e494ea42348acb2d27a82a51b)

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-03-01 08:00:58 -10:00
Michael Opdenacker
0a4530c3ed ref-manual: system-requirements: remove outdated note
To align this document with the version in the master branch

(From yocto-docs rev: 08ce7db2aa3a38deb8f5aa59bafc78542986babb)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-01 05:19:55 -10:00
Michael Opdenacker
05da4fad79 ref-manual: system-requirements.rst: fix AlmaLinux variable name
(From yocto-docs rev: fb0fa6e06df46be6b4e35e5a83252277abcd64d7)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-01 05:19:55 -10:00
Michael Opdenacker
63f7d6897f ref-manual: system-requirements: update packages to build docs
- "git" is now required to run "set_versions.py"

- Fix Ubuntu / Debian packages.
  The previous instructions didn't run on Debian 12
  Tested on Ubuntu 22.04 and Debian 12.

  Reported on https://lists.yoctoproject.org/g/docs/message/4789

(From yocto-docs rev: f2a4799fa1cb6ea406d97e1b47ce888e7f5dd264)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Reported-by: <mhagans@skyviewsat.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-01 05:19:55 -10:00
Michael Opdenacker
f51a5fd78d ref-manual: system-requirements.rst: simplify supported distro requirements
- This allows to continue sharing the updated Ubuntu/Debian requirements
  with the brief-yoctoprojectqs/index.rst without indentation mismatches
  (caused by using the same macro in two different contexts: in direct
  text and in a bullet list).

- Update poky.yaml.in to adapt the number of spaces at the beginning
  of lines.

- brief-yoctoprojectqs/index.rst: fix bad number of spaces
  before quote block.

(From yocto-docs rev: 488731c09bf63fadc02ddcdd94fb3374dafce528)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-01 05:19:55 -10:00
Michael Opdenacker
54321fcec4 manuals: updates for building on Windows (WSL 2)
- Use the Wikipedia naming scheme: WSL 2 instead of WSLv2
- Take into account Windows Server 2019 and 2022 which are
  supported too.
- Improve some explanations

(From yocto-docs rev: e64c1154c358128d76b1b8e3a5809dbaa8dc6881)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Reviewed-by: Quentin Schulz <foss@0leil.net>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-01 05:19:55 -10:00
Michael Opdenacker
2fb92fb14f ref-manual/system-requirements.rst: recommend buildtools for not supported distros
Also minor correction to supported distribution notes

(From yocto-docs rev: cb417cef74b87b53300eb05c21675b5e24a10ca7)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Suggested-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-01 05:19:55 -10:00
Michael Opdenacker
e5620de355 ref-manual: system-requirements: modify anchor
To align with the "master" branch

(From yocto-docs rev: aaeb061fa8ff73496175eba59f53a19fdcf08f64)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-01 05:19:55 -10:00
Michael Opdenacker
e0c348b644 manuals: update references to buildtools
Also fix number of corresponding paragraphs

(From yocto-docs rev: 28ee2d91fe4dd0549940dc5df1ff1d59363fcc0f)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-01 05:19:55 -10:00
Paul Eggleton
9e5a9e6f94 ref-manual: add info on buildtools-make-tarball
PENDING ON THIS OE-CORE PATCH:
install-buildtools: support buildtools-make-tarball and update to 4.1
https://lists.openembedded.org/g/openembedded-core/message/171522

Cover the use case and the new provided tarball.

(From yocto-docs rev: 824c075c31650b9b466ac54fdf926043927b7045)

Signed-off-by: Paul Eggleton <paul.eggleton@microsoft.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-01 05:19:55 -10:00
Michael Opdenacker
7b6b03a1eb manuals: add minimum RAM requirements
Measured by generating a "core-image-sato" image for a "qemux86-64"
machine from an Ubuntu 22.04 VM with 4 cores.

Less memory was not enough and caused Out of Memory failures.

(From yocto-docs rev: 5009d3898a1649074d1fc252ed33ecbf3235ed75)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-01 05:19:55 -10:00
Michael Opdenacker
64778b45ca manuals: update disk space requirements
Tests made on Poky master on March 16, 2023.

Add a "Free Disk Space" section to the "System Requirements" document.

(From yocto-docs rev: 6e88a53c47f15376c4eec8b34d14239dcf285da3)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-01 05:19:55 -10:00
Michael Opdenacker
f59e2c869c dev-manual: packages: need enough free space
Enough free storage space is needed to apply package upgrades.

(From yocto-docs rev: d020b170917a47487ffda3beb0a2ca223c3d37ed)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-01 05:19:55 -10:00
Michael Opdenacker
70440282af dev-manual: packages: clarify shared PR service constraint
Explicit the problems previous described as "obvious".

(From yocto-docs rev: af3f35801a4360cc9c3ea93a39f88596d5f44fdb)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Suggested-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-01 05:19:55 -10:00
Michael Opdenacker
fa870dfd0f manuals: suppress excess use of "following" word
To simplify the style, replace "Following is" and "Following are"
by "here is" and "here are", sounding more natural.

In some cases, also go further by simplifying "Here are/is xxx"
by "xxx are/is" when the "are" or "is" are not two far at
the end of the sentence.

In some cases too, completely remove the sentence, when
it's redundant with the preceding title.

(From yocto-docs rev: 2539f1b9cbf9bdd40eff93c6522dc76133debed7)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
CC: Daniel Ammann <daniel.ammann@bytesatwork.ch>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-01 05:19:54 -10:00
Michael Opdenacker
74ebddb921 ref-manual: release-process: grammar fix
(From yocto-docs rev: d1b3e26893f258b1633f8a90cf61456b54c47433)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-01 05:19:54 -10:00
Simone Weiß
f4356b6716 dev-manual: Rephrase spdx creation
Make the options more clear by providing them in a list instead of plain prosa.
Also add a ref for a presentation wrt spdx 3.0 in the Yocto project.

Fixes [YOCTO 7476]

(From yocto-docs rev: 9e5956736a9b6e6c99967d120303d5142550fdb1)

Signed-off-by: Simone Weiß <simone.p.weiss@posteo.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-01 05:19:54 -10:00
Bruce Ashfield
26f23535ee kernel: make LOCALVERSION consistent between recipes
The initial fix for localversion setting in 6.3+ broke older
recipes and also broke recipes setting localversion in a kernel
recipe, as make-mod-scripts (and other locations) can trigger
a regeneration of files and don't have access to the variable.

Moving the setting of this variable to the global namespace
doesn't make sense, so we follow the example of the kernel-abiversion
and save a kernel-localversion to the build artifacts.

Recipes that may regenerate scripts/dynamic files, must
depend on the do_shared_workedir of the kernel and use the helper
function to read the file storing the localversion.

(From OE-Core rev: cca0971a7d92d823cc0c2b16cf14a7b2ed8ecb61)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>

cherry-picked from master b378eec156998eea55ba61e59103cb34fab0d07c

Signed-off-by: Andreas Helbech Kleist <andreaskleist@gmail.com>
Acked-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-01 05:19:54 -10:00
Bruce Ashfield
2b7c113459 kernel: fix localversion in v6.3+
During testing of the v6.4 reference kernel, it was noticed that
on-target modules no longer matched the magic value of the running
kernel.

This was due to a different localversion in the cross built kernel
and the scripts / resources created on target.

This was due to changes in the setlocalversion script introduced
in the v6.3 series.

The .scmversion file is no longer used (or packaged) to inhibit
the addition of a "+" (through querying of the git status of the
kernel) or the setting of a local version.

We recently introduced the KERNEL_LOCALVERSION variable to allow
recipes to place a value in .scmversion, so we extend the use of
that variable to kernel-arch.bbclass and use it to set the
exported variable LOCALVERSION.

We must do it at the kernel-arch level, as the variable must be
exported in any kernel build to ensure that setlocalversion always
correctly sets the localversion.

(From OE-Core rev: 74897e505db19a23a5b864a48a4fa97d657605c8)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>

cherry-picked from master 765b13b7305c8d2f222cfc66d77c02e6a088c691

Signed-off-by: Andreas Helbech Kleist <andreaskleist@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-01 05:19:54 -10:00
Ming Liu
57b8a1adb5 kernel.bbclass: introduce KERNEL_LOCALVERSION
Just like UBOOT_LOCALVERSION, an end user can set KERNEL_LOCALVERSION
to append a string to the name of the local version of the kernel
image.

(From OE-Core rev: 29a0d2a49df8e24f3948a2ddf03743f0cb5d09dd)

Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>

cherry-picked from master 229435a52f36ddec5f85fb6d5ccd42044b688397

Signed-off-by: Andreas Helbech Kleist <andreaskleist@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-01 05:19:54 -10:00
Adrian Freihofer
0269cfc91c scripts: python 3.12 regex
All the regexes throw a warning like this:

WARNING: scripts/lib/recipetool/create_buildsys.py:140:
      SyntaxWarning: invalid escape sequence '\s'
      proj_re = re.compile('project\s*\(([^)]*)\)', re.IGNORECASE)

Python 3 interprets string literals as Unicode strings, and therefore
\s is treated as an escaped Unicode character which is not correct.
Declaring the RegEx pattern as a raw string instead of unicode is
required for Python 3.

(From OE-Core rev: 63998f13d5263ce19a60ed3fba1ac8b6f23558e3)

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>

Backported from master: 24b0ba00d4f0b4d9834f7693ecb6032dfc534a80

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-01 05:19:54 -10:00
Adrian Freihofer
95b1e23223 meta/recipes: python 3.12 regex
Python 3 interprets string literals as Unicode strings, and therefore
\s is treated as an escaped Unicode character which is not correct.
Declaring the RegEx pattern as a raw string instead of unicode is
required for Python 3.

(From OE-Core rev: d4e11eebdfe50acc124a87341721a12bc1c15024)

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>

Cherry-picked from master: f2d80817baea298b953d6e14daad65087b3b50c9

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-01 05:19:54 -10:00
Adrian Freihofer
b8c9a27f06 meta/lib/oeqa: python 3.12 regex
Python 3 interprets string literals as Unicode strings, and therefore
\s is treated as an escaped Unicode character which is not correct.
Declaring the RegEx pattern as a raw string instead of unicode is
required for Python 3.

(From OE-Core rev: 939046c5e9ddd71b941c9e389fa4a4687bfcdec0)

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>

Cherry-picked from master: 9002850f0c2e409d3bc629e36bb360b96326bb64

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-01 05:19:54 -10:00
Adrian Freihofer
423bb12dcf feature-microblaze-versions.inc: python 3.12 regex
Python 3 interprets string literals as Unicode strings, and therefore
\s is treated as an escaped Unicode character which is not correct.
Declaring the RegEx pattern as a raw string instead of unicode is
required for Python 3.

(From OE-Core rev: 2331982cf4f4649f1ec271640f8f7d33fa6ea88d)

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>

feature-microblaze-versions.inc#

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

Cherry-picked from master: 662f52f1713c9f070550fc0c874eb62312218ea4

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-01 05:19:54 -10:00
Adrian Freihofer
4f6135b350 oeqa/selftest/oelib/buildhistory: git default branch
On hosts with git defaulting to main branch the following exception
occures:

File .../buildhistory.py", line 99, in test_compare_dict_blobs_default
  blob1 = self.repo.heads.master.commit.tree.blobs[0]
          ^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/site-packages/git/util.py", line 1114, in __getattr__
  return list.__getattribute__(self, attr)
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'IterableList' object has no attribute 'master'

Support main and master branch for these test cases.

Note: setting the default branch with --initial-branch requires git
version 2.28 or later. Some of the still supported host distros do not
provide this feature yet.

(From OE-Core rev: 095598eb7c9aa64797c8a41255fa28b695398054)

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>

Cherry-picked from master: 7df99843d8f31d8e0c2872ff625f4a5abf28f740

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-01 05:19:54 -10:00
Adrian Freihofer
054ac1ee85 oeqa/selftest/recipetool: expect meson.bb
Latest recipetool from master branch generates a pyhton3-meson.bb recipe
while the older version from kirkstone generates a meson.bb. Change the
test to pass with meson.bb.

(From OE-Core rev: 979b216330b2f4e8ab9d4e615d4e83997d59def0)

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-01 05:19:53 -10:00
Ross Burton
49e5252272 oeqa/selftest/recipetool: downgrade meson version to not use pyproject.toml
recipetool's pyproject.toml parsing needs tomllib (python 3.11+) or
tomli (not a hard dependency), so is prone to failing depending on the
host configuration.

Downgrade the Meson release used for the checks to 0.52.1, which was the
last release before moving to pyproject.toml.

(From OE-Core rev: 24bf7bbd1fb21f84539b7a4263d76a33dbacacde)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>

Backported from master: 6dfe573d83687e5431841f062442b54b9fa22ff3

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-01 05:19:53 -10:00
Adrian Freihofer
c222adce8e oeqa/selftest/recipetool: fix for python 3.12
test_recipetool_create_github and test_recipetool_create_github_tarball
fail because the old meson version used by these tests cases does not
run on Python 3.12. The issue is in the dependencies.py which comes with
meson:
ERROR: build/tmp/work/recipetool-3z4osyl7/source/git/mesonbuild/
       dependencies.py:777: SyntaxWarning: invalid escape sequence '\.'

Use meson 1.3.1 (what is currently also used on master) as a reference
for these tests.

With this version of meson, recipetool creates recipes named
meson_git.bb or meson_1.3.1.bb. Since this looks more reasonable than
e.g. python3-meson_git.bb the test gets adapted.

(From OE-Core rev: 9c1a1110a317e1d64668badb13e74e474f96a7a9)

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>

Backported from master: 7374a8a2810a6cf027bfefefe87691a3529123ff

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-01 05:19:53 -10:00
Adrian Freihofer
53705c1c84 oeqa: replace deprecated assertEquals
assertEquals is deprecated since Python 2.7:
https://docs.python.org/2/library/unittest.html#deprecated-aliases
It throws errors at least on Python 3.12. Replace it by assertEqual.

(From OE-Core rev: a20325690a057aa7f71e5a176bfbdc03baac405c)

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>

Backported from master: 68286d0b70cf09a0d2950b48945c9192fb8c8769

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-01 05:19:53 -10:00
Ross Burton
da694d9d58 runqemu: add qmp socket support
Add support for qmp sockets and defaults to unix:qmp.sock if unspecified

(From OE-Core rev: 31de620e9d899b93c6e982d3a563bbf618ce79c6)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Eilís 'pidge' Ní Fhlannagáin <pidge@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>

Backported from master: 380631797f0d63124a8c21efa93ab672dbd79283
Qemu throws many warnings without qmp and many runtime tests fail
without this patch also on kirkstone.

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-01 05:19:53 -10:00
Ross Burton
e00bde2372 populate_sdk_ext: use ConfigParser instead of SafeConfigParser
SafeConfigParser was renamed to ConfigParser in 3.2, and the
SafeConfigParser alias will be removed in 3.12.

(From OE-Core rev: 50815c328e677ac079d38dc8555a909f049cf5be)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>

Cherry-picked from master: 71b3e7f71727137b4b996cc4160c9cc1581824b8

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-01 05:19:53 -10:00
Trevor Gamblin
1e41c667e6 scripts/runqemu: fix regex escape sequences
When invoking runqemu with Python 3.12, the following warning is
encountered:

|SyntaxWarning: invalid escape sequence '\.'

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

(From OE-Core rev: 2f8982ef4c903f43867da56fcfd080a6556daa8b)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>

Backported from master: 0e8a4142bb90a92d175df6b2537d24a372356f98

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-01 05:19:53 -10:00
Chris Laplante
6e8300c5bc recipetool/create_buildsys_python: use importlib instead of imp
'imp' was deprecated in Python 3.4 and removed in 3.12. The
piece of importlib we use has been around since 3.3.

(From OE-Core rev: b9dcdf2346bb24866c5f3db96a3f79eba20e4662)

Signed-off-by: Chris Laplante <chris.laplante@agilent.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>

Cherry-picked from master: 457f0dad87b4e45a53865b5ad2c150215bd74019

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-01 05:19:53 -10:00
Alexander Kanavin
6cb27ba537 runqemu: direct mesa to use its own drivers, rather than ones provided by host distro
With mesa 23.0, it is not longer possible to use the host drivers, as
mesa upstream has added strict checks for matching builds between
drivers and libraries that load them.

Add a check and a hint to runqemu so that there is a helpful error when
there is no native/nativesdk opengl/virgl support.

(From OE-Core rev: 5103ce67741782e43612f495bcc851c6509b734b)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit f0946844df7270fe368858d8929e6b380675b78b)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-02-28 03:32:09 -10:00
Ross Burton
45ae93668c oeqa/selftest/runtime_test: only run the virgl tests on qemux86-64
These tests should be able to work on qemuarm64, but this is untested
and the runners will need configuration.

(From OE-Core rev: 16a9037d28303af250bd379de53edb7a00a8ce49)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 09b9558e20e58b473154895b93cff16261c7f561)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-02-28 03:32:09 -10:00
Fabien Mahot
2e131f08d4 ldconfig-native: Fix to point correctly on the DT_NEEDED entries in an ELF file
When ldconfig-native reads an ELF file, it computes an offset from a LOAD
segment, to point on DT NEEDED entries of dynstr section.
Without this patch, ldconfig-native uses only the first LOAD segment, even if
the offset is incorrect.
This patch adds conditions to compute the offset by parsing all LOAD segments,
one by one.

This is a backport from [0], ported to support endianness and 32/64 bits.

[0]: https://sourceware.org/git/?p=glibc.git;a=commitdiff;h=58e8f5fd2ba47b6dc47fd4d0a35e4175c7c87aaa

(From OE-Core rev: 602ccc57360f85e55b1455b93ba9b7e7bf23799e)

Signed-off-by: Fabien Mahot <fabien.mahot@external.desouttertools.com>
Reviewed-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-02-28 03:32:09 -10:00
Zahir Hussain
3a5e8733ef cmake: Unset CMAKE_CXX_IMPLICIT_INCLUDE_DIRECTORIES
As discussion in [YOCTO #14717] cmake contains a OEToolchainConfig.cmake
file to configure the toolchain correctly in cross-compile build for recipes
using cmake.

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

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

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

(From OE-Core rev: 2b0b47fd0cafdb9de5025efda4140e11ea447afa)

Signed-off-by: aszh07 <mail2szahir@gmail.com>
Signed-off-by: Zahir Hussain <zahir.basha@kpit.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 5aeada5793af53e8c93940952d4f314474dca4c2)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-02-28 03:32:09 -10:00
Ross Burton
f517fe8929 curl: don't enable debug builds
In oe-core 27824261 --enable-debug was added to the configure arguments
to turn on debugging symbols.  However, enabling debug mode does more
than turn on debugging symbols and introduces some codepaths that can be
controlled with environment variables.  Bluntly, the curl maintainer
says that --enable-debug should not be used in production:

https://curl.se/mail/lib-2023-01/0039.html

I did a build and verified that the curl-dbg package doesn't massively
shrink, so the debug symbols are still being built.

Remove the debug options and hide them behind a PACKAGECONFIG, with a
comment that it should not be used in production.

(From OE-Core rev: 01440b4968ded30c1970c335fe1598b684527831)

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>
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-02-28 03:32:09 -10:00
Bruce Ashfield
32e41c2304 linux-yocto/5.15: update CVE exclusions
Data pulled from: https://github.com/nluedtke/linux_kernel_cves

    1/1 [
        Author: Nicholas Luedtke
        Email: nicholas.luedtke@uwalumni.com
        Subject: Update 3Feb24
        Date: Sat, 3 Feb 2024 00:42:14 -0500

    ]

(From OE-Core rev: b71eeab71911ab49a8e8b8d78560fdbd66f883e7)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-02-28 03:32:09 -10:00
Bruce Ashfield
acc4d31297 linux-yocto/5.15: update to v5.15.148
Updating linux-yocto/5.15 to the latest korg -stable release that comprises
the following commits:

    6139f2a02fe0 Linux 5.15.148
    84c39986fe6d Revert "Revert "md/raid5: Wait for MD_SB_CHANGE_PENDING in raid5d""
    c8483a4845a0 arm64: dts: armada-3720-turris-mox: set irq type for RTC
    98052220f174 netfilter: nft_quota: copy content when cloning expression
    3be3c6123275 netfilter: nft_last: copy content when cloning expression
    42d461784889 netfilter: nft_limit: Clone packet limits' cost value
    d80880585128 netfilter: nft_limit: fix stateful object memory leak
    e562d8422555 netfilter: nft_connlimit: memleak if nf_ct_netns_get() fails
    10823cfe8e91 netfilter: nf_tables: typo NULL check in _clone() function
    0f2dca516541 block: Remove special-casing of compound pages
    08bf561118ca i2c: s3c24xx: fix transferring more than one message in polling mode
    38ce342a19ea i2c: s3c24xx: fix read transfers in polling mode
    62b3387beef1 ipv6: mcast: fix data-race in ipv6_mc_down / mld_ifc_work
    58485b95fde6 selftests: mlxsw: qos_pfc: Adjust the test to support 8 lanes
    348112522a35 mlxsw: spectrum_acl_tcam: Fix stack corruption
    005f2d10f915 mlxsw: spectrum_acl_tcam: Reorder functions to avoid forward declarations
    077c4776d798 mlxsw: spectrum_acl_tcam: Make fini symmetric to init
    d28048d31975 mlxsw: spectrum_acl_tcam: Add missing mutex_destroy()
    196f3595e869 mlxsw: spectrum: Use 'bitmap_zalloc()' when applicable
    87c54033935b mlxsw: spectrum_acl_erp: Fix error flow of pool allocation failure
    3732db294ea3 ethtool: netlink: Add missing ethnl_ops_begin/complete
    7f3d781e0df1 kdb: Fix a potential buffer overflow in kdb_local()
    995d6099d8b1 ipvs: avoid stat macros calls from preemptible context
    27513eff4c0c netfilter: nf_tables: reject NFT_SET_CONCAT with not field length description
    d6420b66ad70 netfilter: nf_tables: skip dead set elements in netlink dump
    77be8c495a3f netfilter: nf_tables: do not allow mismatch field size and set key length
    b8eb65bd13a6 netfilter: nft_limit: do not ignore unsupported flags
    d7b5da4fde7f netfilter: nf_tables: memcg accounting for dynamically allocated objects
    3bb4403d20b7 netfilter: nft_limit: move stateful fields out of expression data
    8a6635074a65 netfilter: nft_limit: rename stateful structure
    e2e8fdd0ad8e netfilter: nft_quota: move stateful fields out of expression data
    b147911d2a7b netfilter: nft_last: move stateful fields out of expression data
    36997eb13d53 netfilter: nft_connlimit: move stateful fields out of expression data
    713a13885579 netfilter: nf_tables: reject invalid set policy
    78e85466460d net: dsa: vsc73xx: Add null pointer check to vsc73xx_gpio_probe
    29ffa63f21bc bpf: Reject variable offset alu on PTR_TO_FLOW_KEYS
    684290895aa0 net: stmmac: ethtool: Fixed calltrace caused by unbalanced disable_irq_wake calls
    8e481c7f81e2 net: ravb: Fix dma_addr_t truncation in error case
    f05301ad0574 mptcp: use OPTION_MPTCP_MPJ_SYN in subflow_check_req()
    413b91350732 mptcp: use OPTION_MPTCP_MPJ_SYNACK in subflow_finish_connect()
    9b82d5f5d042 mptcp: strict validation before using mp_opt->hmac
    c99f490a422b mptcp: drop unused sk in mptcp_get_options
    cbe983d0e4d5 mptcp: mptcp_parse_option() fix for MPTCPOPT_MP_JOIN
    4f2c4ba3216d net: phy: micrel: populate .soft_reset for KSZ9131
    890bc96ef147 net: ethernet: ti: am65-cpsw: Fix max mtu to fit ethernet frames
    3b5254862258 net: qualcomm: rmnet: fix global oob in rmnet_policy
    18babcfa365d s390/pci: fix max size calculation in zpci_memcpy_toio()
    bf3304054e45 PCI: keystone: Fix race condition when initializing PHYs
    a300f741f692 nvmet-tcp: Fix the H2C expected PDU len calculation
    b02a005b19bb nvmet: re-fix tracing strncpy() warning
    763c67e96b05 serial: imx: Correct clock error message in function probe()
    1ed3c202051c usb: xhci-mtk: fix a short packet issue of gen1 isoc-in transfer
    0a12db736edb apparmor: avoid crash when parsed profile name is empty
    367d061a1864 perf env: Avoid recursively taking env->bpf_progs.lock
    0613a2fbdf8d nvmet-tcp: fix a crash in nvmet_req_complete()
    4cb3cf7177ae nvmet-tcp: Fix a kernel panic when host sends an invalid H2C PDU length
    013d7878c729 usb: cdc-acm: return correct error code on unsupported break
    c50f88954cd0 tty: use 'if' in send_break() instead of 'goto'
    a222bd01ca5a tty: don't check for signal_pending() in send_break()
    370b18aefe40 tty: early return from send_break() on TTY_DRIVER_HARDWARE_BREAK
    6f98751fa44d tty: change tty_write_lock()'s ndelay parameter to bool
    7ab8ef24fd0f perf genelf: Set ELF program header addresses properly
    08715e4fa58e iio: adc: ad9467: fix scale setting
    d7773702f813 iio: adc: ad9467: don't ignore error codes
    fd1957c706f3 iio: adc: ad9467: fix reset gpio handling
    71204292a722 iio: adc: ad9467: Benefit from devm_clk_get_enabled() to simplify
    fbcc37f4b409 selftests/sgx: Skip non X86_64 platform
    71005a1d9b38 selftests/sgx: Fix uninitialized pointer dereference in error path
    ff168d4fdb0e serial: imx: fix tx statemachine deadlock
    714778c29947 software node: Let args be NULL in software_node_get_reference_args
    c203812b4e89 libapi: Add missing linux/types.h header to get the __u64 type on io.h
    828cd829483f serial: 8250: omap: Don't skip resource freeing if pm_runtime_resume_and_get() failed
    96d289b57daf power: supply: bq256xx: fix some problem in bq256xx_hw_init
    435671571ef8 power: supply: cw2015: correct time_to_empty units in sysfs
    07733ca556ad MIPS: Alchemy: Fix an out-of-bound access in db1550_dev_setup()
    4590f46c1551 MIPS: Alchemy: Fix an out-of-bound access in db1200_dev_setup()
    c1669b54c3c0 riscv: Fix module_alloc() that did not reset the linear mapping permissions
    938f70d14618 riscv: Check if the code to patch lies in the exit section
    8e0935435bfd mips: Fix incorrect max_low_pfn adjustment
    4b88c9c83fc0 mips: dmi: Fix early remap on MIPS32
    d1c8c7ef3928 mfd: intel-lpss: Fix the fractional clock divider flags
    6109ff5ad5e9 leds: aw2013: Select missing dependency REGMAP_I2C
    c3e3a2144bf5 mfd: syscon: Fix null pointer dereference in of_syscon_register()
    a004323a384c ARM: 9330/1: davinci: also select PINCTRL
    77c20b4cbcd0 iommu/dma: Trace bounce buffer usage when mapping buffers
    fc7c3be66502 serial: sc16is7xx: set safe default SPI clock frequency
    160ef3fc3561 serial: sc16is7xx: add check for unsupported SPI modes during probe
    b1effdda4f60 HID: wacom: Correct behavior when processing some confidence == false touches
    400ad6fe2436 iio: adc: ad7091r: Pass iio_dev to event handler
    12c2759ab134 KVM: arm64: vgic-its: Avoid potential UAF in LPI translation cache
    d99976d145b9 KVM: arm64: vgic-v4: Restore pending state on host userspace write
    9bd4c6e6581a x86/kvm: Do not try to disable kvmclock if it was not enabled
    a4563156c353 PCI: mediatek: Clear interrupt status before dispatching handler
    0f59d3772a2d PCI: dwc: endpoint: Fix dw_pcie_ep_raise_msix_irq() alignment support
    25aab84f1a4e wifi: mwifiex: configure BSSID consistently when starting AP
    a61373d32cd3 wifi: rtlwifi: Convert LNKCTL change to PCIe cap RMW accessors
    1f0b69791317 wifi: rtlwifi: Remove bogus and dangerous ASPM disable/enable code
    5600943b0cdc wifi: mt76: fix broken precal loading from MTD for mt7915
    4124a004d55c iommu/arm-smmu-qcom: Add missing GMU entry to match table
    a7b98aa10f89 bpf: Fix re-attachment branch in bpf_tracing_prog_attach
    4c71c01df8ef Bluetooth: Fix atomicity violation in {min,max}_key_size_set
    27e58d3b5253 rootfs: Fix support for rootfstype= when root= is given
    79ea1c6f06be io_uring/rw: ensure io->bytes_done is always initialized
    801c8adb85e0 pwm: jz4740: Don't use dev_err_probe() in .request()
    c9ed30eea4f7 netfilter: nf_tables: check if catch-all set element is active in next generation
    5010c2712096 block: add check that partition length needs to be aligned with block size
    6a73c9fdb78a scsi: mpi3mr: Refresh sdev queue depth after controller reset
    610ca0cadb07 fbdev: flush deferred work in fb_deferred_io_fsync()
    cb32c0e1bdd9 ALSA: hda/relatek: Enable Mute LED on HP Laptop 15s-fq2xxx
    d37d61c07764 ALSA: oxygen: Fix right channel of capture volume mixer
    314cf7c2dd65 serial: imx: Ensure that imx_uart_rs485_config() is called with enabled clock
    ac0c3a2fe7de usb: mon: Fix atomicity violation in mon_bin_vma_fault
    d7ce8ebd50a3 usb: typec: class: fix typec_altmode_put_partner to put plugs
    4212a9ff6533 Revert "usb: typec: class: fix typec_altmode_put_partner to put plugs"
    2c64904a0e63 usb: cdns3: Fix uvc fail when DMA cross 4k boundery since sg enabled
    e1b3be9bab6f usb: cdns3: fix iso transfer error when mult is not zero
    9cdf2c915982 usb: cdns3: fix uvc failure work since sg support enabled
    2e349cf0d0c4 usb: chipidea: wait controller resume finished for wakeup irq
    295b4fa3219c Revert "usb: dwc3: don't reset device side if dwc3 was configured as host-only"
    4f5a109b8f80 Revert "usb: dwc3: Soft reset phy on probe for host"
    ea968824c485 usb: dwc: ep0: Update request status in dwc3_ep0_stall_restart
    e3e35301f1d8 usb: phy: mxs: remove CONFIG_USB_OTG condition for mxs_phy_is_otg_host()
    41e05f246fe4 tick-sched: Fix idle and iowait sleeptime accounting vs CPU hotplug
    98fee5bee97a binder: fix race between mmput() and do_exit()
    e03023fcdb5e xen-netback: don't produce zero-size SKB frags
    409c30ff6cac virtio-crypto: fix memory leak in virtio_crypto_alg_skcipher_close_session()
    f97f61286464 dma-mapping: Fix build error unused-value
    72d29dcdf526 Input: atkbd - use ab83 as id when skipping the getid command
    9c1fa9eedc3d binder: fix unused alloc->free_async_space
    c44b276bc151 binder: fix async space check for 0-sized buffers
    0921867f77ea keys, dns: Fix size check of V1 server-list header
    10193a5001d6 selftests/bpf: Add assert for user stacks in test_task_stack
    cc9c60b2537d of: unittest: Fix of_count_phandle_with_args() expected value message
    454100408452 of: Fix double free in of_parse_phandle_with_args_map
    83f5d6c1efe3 ksmbd: validate the zero field of packet header
    4af4674158f7 drm/amd/pm/smu7: fix a memleak in smu7_hwmgr_backend_init
    bf1acc6258aa IB/iser: Prevent invalidating wrong MR
    106136f2099b mmc: sdhci_omap: Fix TI SoC dependencies
    da9eae2c1a45 mmc: sdhci_am654: Fix TI SoC dependencies
    e517645ead5e ALSA: scarlett2: Add clamp() in scarlett2_mixer_ctl_put()
    3a09488f4f67 ALSA: scarlett2: Add missing error checks to *_ctl_get()
    12023666f22d ALSA: scarlett2: Allow passing any output to line_out_remap()
    51d5697e1c03 ALSA: scarlett2: Add missing error check to scarlett2_usb_set_config()
    0ba9386e19a8 ALSA: scarlett2: Add missing error check to scarlett2_config_save()
    c60490b81740 ASoC: rt5645: Drop double EF20 entry from dmi_platform_data[]
    cf55afb5a522 pwm: stm32: Fix enable count for clk in .probe()
    df19bf404437 pwm: stm32: Use hweight32 in stm32_pwm_detect_channels
    c82c21e7d97d pwm: stm32: Use regmap_clear_bits and regmap_set_bits where applicable
    fa019c01db8b clk: fixed-rate: fix clk_hw_register_fixed_rate_with_accuracy_parent_hw
    256d1232c847 clk: fixed-rate: add devm_clk_hw_register_fixed_rate
    a30ca04dde09 clk: asm9260: use parent index to link the reference clock
    c45ca73b0194 clk: si5341: fix an error code problem in si5341_output_clk_set_rate
    347f9d725830 watchdog: rti_wdt: Drop runtime pm reference count when watchdog is unused
    3646d83db836 watchdog: bcm2835_wdt: Fix WDIOC_SETTIMEOUT handling
    1711bdfe5e13 watchdog/hpwdt: Only claim UNKNOWN NMI if from iLO
    b9bced8ca7b1 watchdog: set cdev owner before adding
    9117fc44fd3a drivers: clk: zynqmp: update divider round rate logic
    8f4941940da2 clk: zynqmp: Add a check for NULL pointer
    f46c0ec5a50e clk: zynqmp: make bestdiv unsigned
    e27660be6f46 drivers: clk: zynqmp: calculate closest mux rate
    8aff5f672358 clk: qcom: videocc-sm8150: Add missing PLL config property
    b31526b8c5dd clk: qcom: videocc-sm8150: Update the videocc resets
    1dd84d5e8303 dt-bindings: clock: Update the videocc resets for sm8150
    c72dbb780d97 gpu/drm/radeon: fix two memleaks in radeon_vm_init
    b6dcba02ee17 drivers/amd/pm: fix a use-after-free in kv_parse_power_table
    2bf47c89bbac drm/amd/pm: fix a double-free in si_dpm_init
    11d1f2d895a4 drm/amdgpu/debugfs: fix error code when smc register accessors are NULL
    720919b58daa media: dvb-frontends: m88ds3103: Fix a memory leak in an error handling path of m88ds3103_probe()
    0a50ca097a6d media: dvbdev: drop refcount on error path in dvb_device_open()
    11e60be4086e f2fs: fix the f2fs_file_write_iter tracepoint
    f3a220d97530 f2fs: fix to update iostat correctly in f2fs_filemap_fault()
    df2571b4d5d1 f2fs: fix to check compress file in f2fs_move_file_range()
    a3316290a83d media: rkisp1: Disable runtime PM in probe error path
    f4176c518546 clk: qcom: gpucc-sm8150: Update the gpu_cc_pll1 config
    d3a8c5c783f2 media: cx231xx: fix a memleak in cx231xx_init_isoc
    9f583fc91c34 drm/bridge: tc358767: Fix return value on error case
    a3cb0b5b1bd4 drm/bridge: cdns-mhdp8546: Fix use of uninitialized variable
    a5934df4dfcd drm/radeon/trinity_dpm: fix a memleak in trinity_parse_power_table
    1a6cccd7fded drm/radeon/dpm: fix a memleak in sumo_parse_power_table
    14bbfaa5df27 drm/radeon: check the alloc_workqueue return value in radeon_crtc_init()
    929af5cd8ae1 drm/drv: propagate errors from drm_modeset_register_all()
    cbf207b17111 drm/msm/dsi: Use pm_runtime_resume_and_get to prevent refcnt leaks
    6d8dc619857d drm/msm/mdp4: flush vblank event on disable
    d3aa670bbab9 ASoC: cs35l34: Fix GPIO name and drop legacy include
    a0f27f673ebe ASoC: cs35l33: Fix GPIO name and drop legacy include
    528844bb1e15 drm/radeon: check return value of radeon_ring_lock()
    4e57efe03a30 drm/radeon/r100: Fix integer overflow issues in r100_cs_track_check()
    1f7008dd122d drm/radeon/r600_cs: Fix possible int overflows in r600_cs_check_reg()
    f100ba617d8b f2fs: fix to avoid dirent corruption
    4c5e6a02dcff drm/bridge: Fix typo in post_disable() description
    ec3634ebe23f media: pvrusb2: fix use after free on context disconnection
    1821c4d1c3c8 drm/tilcdc: Fix irq free on unload
    08ccff6ece35 drm/bridge: tpd12s015: Drop buggy __exit annotation for remove function
    45c4c4b04ae8 drm/nouveau/fence:: fix warning directly dereferencing a rcu pointer
    ab45a15a503d drm/panel-elida-kd35t133: hold panel in reset for unprepare
    a811031da2b5 RDMA/hns: Fix inappropriate err code for unsupported operations
    5245c05cd9cd RDMA/usnic: Silence uninitialized symbol smatch warnings
    ab8038e7bc12 Revert "drm/omapdrm: Annotate dma-fence critical section in commit path"
    d847363bc5d7 Revert "drm/tidss: Annotate dma-fence critical section in commit path"
    13e3dd2df06d ARM: davinci: always select CONFIG_CPU_ARM926T
    4329426cf6b8 ip6_tunnel: fix NEXTHDR_FRAGMENT handling in ip6_tnl_parse_tlv_enc_lim()
    d0464a7edf5c mlxbf_gige: Enable the GigE port in mlxbf_gige_open
    8d632d0fd203 net: mellanox: mlxbf_gige: Replace non-standard interrupt handling
    86f3df04956c mlxbf_gige: Fix intermittent no ip issue
    172ba7d46c20 net/sched: act_ct: fix skb leak and crash on ooo frags
    c3d8edb17086 null_blk: don't cap max_hw_sectors to BLK_DEF_MAX_SECTORS
    8676b014e49d block: make BLK_DEF_MAX_SECTORS unsigned
    ce3440b6992f Bluetooth: btmtkuart: fix recv_buf() return value
    cede5d0c2957 Bluetooth: Fix bogus check for re-auth no supported with non-ssp
    166d65b0d522 netfilter: nf_tables: mark newset as dead on transaction abort
    e907e9572943 wifi: iwlwifi: mvm: send TX path flush in rfkill
    8d6c61421282 wifi: iwlwifi: mvm: set siso/mimo chains to 1 in FW SMPS request
    5f4ea050bbc1 wifi: rtlwifi: rtl8192se: using calculate_bit_shift()
    aaf4723f5272 wifi: rtlwifi: rtl8192ee: using calculate_bit_shift()
    dbbbd2cc8fe9 wifi: rtlwifi: rtl8192de: using calculate_bit_shift()
    7e0d54f5dc05 wifi: rtlwifi: rtl8192ce: using calculate_bit_shift()
    5dbc5c522208 wifi: rtlwifi: rtl8192cu: using calculate_bit_shift()
    62de5647263a wifi: rtlwifi: rtl8192c: using calculate_bit_shift()
    aec0dee37b49 wifi: rtlwifi: rtl8188ee: phy: using calculate_bit_shift()
    37871c978d7e wifi: rtlwifi: add calculate_bit_shift()
    493cfed24766 arm64: dts: qcom: sc7280: Mark SDHCI hosts as cache-coherent
    2c97f945003c block: add check of 'minors' and 'first_minor' in device_add_disk()
    df4f5a35c5b9 arm64: dts: qcom: sm8150-hdk: fix SS USB regulators
    6f20058dad79 soc: qcom: llcc: Fix dis_cap_alloc and retain_on_pc configuration
    ccc94806d0e6 dma-mapping: clear dev->dma_mem to NULL after freeing it
    99326214f90c dma-mapping: Add dma_release_coherent_memory to DMA API
    930cd34add1d virtio/vsock: fix logic which reduces credit update messages
    a18eff8ba05e selftests/net: fix grep checking for fib_nexthop_multiprefix
    62c904c472a2 scsi: hisi_sas: Correct the number of global debugfs registers
    6bf21261078f scsi: hisi_sas: Rollback some operations if FLR failed
    84e174afb54f scsi: hisi_sas: Replace with standard error code return value
    0d17931d7e88 scsi: hisi_sas: Prevent parallel FLR and controller reset
    0760d1d6d850 scsi: hisi_sas: Rename HISI_SAS_{RESET -> RESETTING}_BIT
    80b0b7c79f8b block: Set memalloc_noio to false on device_add_disk() error path
    02962684258e bpf: Fix verification of indirect var-off stack access
    8c2127dc936b arm64: dts: qcom: sc7280: fix usb_2 wakeup interrupt types
    97c60adff104 arm64: dts: qcom: sdm845-db845c: correct LED panic indicator
    6211a043abb5 arm64: dts: qcom: qrb5165-rb5: correct LED panic indicator
    609c7d556ccd scsi: fnic: Return error if vmalloc() failed
    67e6707f0735 bpf: fix check for attempt to corrupt spilled pointer
    f40cd60f3f44 arm64: dts: qcom: sm8250: Make watchdog bark interrupt edge triggered
    a413fdd3ea21 arm64: dts: qcom: sm8150: Make watchdog bark interrupt edge triggered
    a78ae1060786 arm64: dts: qcom: sdm845: Make watchdog bark interrupt edge triggered
    06ec7a3961f8 arm64: dts: qcom: sc7280: Make watchdog bark interrupt edge triggered
    0c55ace45d6d arm64: dts: qcom: sc7180: Make watchdog bark interrupt edge triggered
    65b28cad7509 ARM: dts: qcom: sdx65: correct SPMI node name
    bb88e2174a30 bpf: enforce precision of R0 on callback return
    fa5b150abfe4 arm64: dts: ti: k3-am65-main: Fix DSS irq trigger type
    18051358d992 wifi: rtlwifi: rtl8821ae: phy: fix an undefined bitwise shift behavior
    bf98ac3288dd firmware: meson_sm: populate platform devices from sm device tree data
    41b3228281c3 firmware: ti_sci: Fix an off-by-one in ti_sci_debugfs_create()
    7e36646237c7 net/ncsi: Fix netlink major/minor version numbers
    024e24086e14 ARM: dts: qcom: apq8064: correct XOADC register address
    ef2373f31f62 wifi: libertas: stop selecting wext
    69f7c1f5d221 wifi: ath11k: Defer on rproc_get failure
    131afd9a5765 bpf: Add crosstask check to __bpf_get_stack
    1ed921e42a99 bpf, lpm: Fix check prefixlen before walking trie
    2b67863c5b2d wifi: rtw88: fix RX filter in FIF_ALLMULTI flag
    9d4f4dea824a NFSv4.1/pnfs: Ensure we handle the error NFS4ERR_RETURNCONFLICT
    d0e09a7ba33f blocklayoutdriver: Fix reference leak of pnfs_device_node
    a5f2f91b3fd7 crypto: scomp - fix req->dst buffer overflow
    dc6779550fae crypto: sahara - do not resize req->src when doing hash operations
    a5e0e39dac06 crypto: sahara - fix processing hash requests with req->nbytes < sg->length
    2dc0f23ac4c6 crypto: sahara - improve error handling in sahara_sha_process()
    faa25455f738 crypto: sahara - fix wait_for_completion_timeout() error handling
    2104f405af91 crypto: sahara - fix ahash reqsize
    34c6a33567b4 crypto: sahara - handle zero-length aes requests
    a7b435e816a0 crypto: sahara - avoid skcipher fallback code duplication
    b1664c53349c crypto: virtio - Wait for tasklet to complete on device remove
    ee0586d73cba gfs2: Fix kernel NULL pointer dereference in gfs2_rgrp_dump
    00e3321c65eb fs: indicate request originates from old mount API
    8fb12524c86b pstore: ram_core: fix possible overflow in persistent_ram_init_ecc()
    8dd9e58c6936 crypto: sahara - fix error handling in sahara_hw_descriptor_create()
    3413d878fd6a crypto: sahara - fix processing requests with cryptlen < sg->length
    a962882a35e5 crypto: sahara - fix ahash selftest failure
    6f31caf8aa10 crypto: sahara - fix cbc selftest failure
    6fb7db05ad39 crypto: sahara - remove FLAGS_NEW_KEY logic
    d2205b9b57b9 crypto: af_alg - Disallow multiple in-flight AIO requests
    088123ddb4d8 crypto: ccp - fix memleak in ccp_init_dm_workarea
    d3ff5362b4e0 crypto: sa2ul - Return crypto_aead_setkey to transfer the error
    75cba72ddb78 crypto: virtio - Handle dataq logic with tasklet
    5e37fa0b4c42 selinux: Fix error priority for bind with AF_UNSPEC on PF_INET6 socket
    d8ac2537763b mtd: Fix gluebi NULL pointer dereference caused by ftl notifier
    a252d5c1ef9d kunit: debugfs: Fix unchecked dereference in debugfs_print_results()
    f23aa841a097 ACPI: extlog: Clear Extended Error Log status when RAS_CEC handled the error
    f5de4ad61da0 ACPI: LPSS: Fix the fractional clock divider flags
    6b15fb99b0b2 spi: sh-msiof: Enforce fixed DTDL for R-Car H3
    2aa141f8bc58 efivarfs: force RO when remounting if SetVariable is not supported
    a4529a08d370 calipso: fix memory leak in netlbl_calipso_add_pass()
    dd645fc8f8e8 cpufreq: scmi: process the result of devm_of_clk_add_hw_provider()
    aead146e8817 cpufreq: Use of_property_present() for testing DT property presence
    435841c1065a of: Add of_property_present() helper
    c5df417936ec of: property: define of_property_read_u{8,16,32,64}_array() unconditionally
    c1814a4ffd01 ACPI: LPIT: Avoid u32 multiplication overflow
    3a370502a568 ACPI: video: check for error while searching for backlight device parent
    45f6080748fa mtd: rawnand: Increment IFC_TIMEOUT_MSECS for nand controller response
    9c92f01bb9c3 spi: spi-zynqmp-gqspi: fix driver kconfig dependencies
    f105c2630098 powerpc/imc-pmu: Add a null pointer check in update_events_in_group()
    6b58d1603721 powerpc/powernv: Add a null pointer check in opal_powercap_init()
    c0b111ea786d powerpc/powernv: Add a null pointer check in opal_event_init()
    2a82c4439b90 powerpc/powernv: Add a null pointer check to scom_debug_init_one()
    5daf0ef6268c selftests/powerpc: Fix error handling in FPU/VMX preemption tests
    999a27b3ce9a powerpc/pseries/memhp: Fix access beyond end of drmem array
    5d69c8859e25 powerpc/44x: select I2C for CURRITUCK
    467c9c9dc0a7 powerpc: add crtsavres.o to always-y instead of extra-y
    0b11a145eb00 powerpc: remove checks for binutils older than 2.25
    63ecb08533b5 powerpc/toc: Future proof kernel toc
    2de654d858ee powerpc: Mark .opd section read-only
    700cf4bead80 EDAC/thunderx: Fix possible out-of-bounds string access
    b53730a40ea8 x86/lib: Fix overflow when counting digits
    0a43304cf682 coresight: etm4x: Fix width of CCITMIN field
    b67064bd3723 PCI: Add ACS quirk for more Zhaoxin Root Ports
    e62243b3538d leds: ledtrig-tty: Free allocated ttyname buffer on deactivate
    6c3388c0af3c parport: parport_serial: Add Brainboxes device IDs and geometry
    72095a54301b parport: parport_serial: Add Brainboxes BAR details
    5cf604ee538e uio: Fix use-after-free in uio_open
    659be220e692 binder: fix comment on binder_alloc_new_buf() return value
    2900c0ee59fb binder: fix trivial typo of binder_free_buf_locked()
    8ad4d580e8af binder: fix use-after-free in shinker's callback
    1263bd9e08f5 binder: use EPOLLERR from eventpoll.h
    0ee3ded745ca Revert "md/raid5: Wait for MD_SB_CHANGE_PENDING in raid5d"
    12b07f443d78 kprobes: Fix to handle forcibly unoptimized kprobes on freeing_list
    66cb0868b123 bpf: Add --skip_encoding_btf_inconsistent_proto, --btf_gen_optimized to pahole flags for v1.25
    2a2495b6a32d Revert "ASoC: atmel: Remove system clock tree configuration for at91sam9g20ek"
    313cfcaefa0b ACPI: resource: Add another DMI match for the TongFang GMxXGxx
    dec512974c45 drm/crtc: fix uninitialized variable use
    21eea9b6c4fd ARM: sun9i: smp: fix return code check of of_property_match_string
    dc26b6770450 net: qrtr: ns: Return 0 if server port is not present
    5dbcdaf4dbfe ida: Fix crash in ida_free when the bitmap is empty
    c9f5b801bce6 i2c: rk3x: fix potential spinlock recursion on poll
    3f0dc646b50b ASoC: Intel: bytcr_rt5640: Add quirk for the Medion Lifetab S10346
    adf4616a440d Input: xpad - add Razer Wolverine V2 support
    d66ffc87ba42 wifi: iwlwifi: pcie: avoid a NULL pointer dereference
    fd13543dbbc1 ARC: fix spare error
    b3f44f21d3d4 s390/scm: fix virtual vs physical address confusion
    46445552ed27 Input: i8042 - add nomux quirk for Acer P459-G2-M
    0f0da2d6bd6c Input: atkbd - skip ATKBD_CMD_GETID in translated mode
    274b4c816208 reset: hisilicon: hi6220: fix Wvoid-pointer-to-enum-cast warning
    5d307038fa09 ring-buffer: Do not record in NMI if the arch does not support cmpxchg in NMI
    a9655e7e4bd5 tracing: Fix uaf issue when open the hist or hist_debug file
    64d81f61ad60 MIPS: dts: loongson: drop incorrect dwmac fallback compatible
    3f483a39e23d stmmac: dwmac-loongson: drop useless check for compatible fallback
    aeb0d506f779 tracing: Add size check when printing trace_marker output
    c3729567de3a tracing: Have large events show up as '[LINE TOO BIG]' instead of nothing
    c8af7ad72968 jbd2: fix soft lockup in journal_finish_inode_data_buffers()
    7b0586ada944 platform/x86: intel-vbtn: Fix missing tablet-mode-switch events
    6511772fc0bc neighbour: Don't let neigh_forced_gc() disable preemption for long
    2e1846b0c044 drm/crtc: Fix uninit-value bug in drm_mode_setcrtc
    c01c44559a8e jbd2: correct the printing of write_flags in jbd2_write_superblock()
    5378fd3c43cf clk: rockchip: rk3128: Fix HCLK_OTG gate register
    a14da83838ef hwmon: (corsair-psu) Fix probe when built-in
    794540520582 drm/exynos: fix a wrong error checking
    e02a2693aed5 drm/exynos: fix a potential error pointer dereference
    10250096f3d5 drm/amdgpu: Add NULL checks for function pointers
    8b985248216f nvme: introduce helper function to get ctrl state
    c11fc224e58e ASoC: ops: add correct range check for limiting volume
    09c0f2814b5a ASoC: da7219: Support low DC impedance headset
    16d3a65eaa60 net/tg3: fix race condition in tg3_reset_task()
    9904379f19ee nouveau/tu102: flush all pdbs on vmm flush
    7a3ff8a2bb26 ASoC: rt5650: add mutex to avoid the jack detection failure
    ebf8d5ec4af3 ASoC: cs43130: Fix incorrect frame delay configuration
    ec52e3e241ff ASoC: cs43130: Fix the position of const qualifier
    ce6cce079948 ASoC: Intel: Skylake: mem leak in skl register function
    cb6b6ff7a79b ASoC: nau8822: Fix incorrect type in assignment and cast to restricted __be16
    4ec0f3b3d8d1 ASoC: Intel: Skylake: Fix mem leak in few functions
    20e23f6b1453 ASoC: wm8974: Correct boost mixer inputs
    05d753d74c3a nvme-core: check for too small lba shift
    9ad8b171c4e6 drm/amdgpu: Fix cat debugfs amdgpu_regs_didt causes kernel null pointer
    f8eadbe713a3 debugfs: fix automount d_fsdata usage
    473fb46aa376 wifi: cfg80211: lock wiphy mutex for rfkill poll
    5d520ae3dad0 mptcp: fix uninit-value in mptcp_incoming_options
    8d40e3514a09 ALSA: hda - Fix speaker and headset mic pin config for CHUWI CoreBook XPro
    3dec0bd9c01a pinctrl: lochnagar: Don't build on MIPS
    32a6cfc67675 f2fs: explicitly null-terminate the xattr list

(From OE-Core rev: f1326d008a2a37b3860f25eb082efabdeba7cc32)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-02-28 03:32:09 -10:00
Bruce Ashfield
1d6e0003ec linux-yocto/5.15: update CVE exclusions
Data pulled from: https://github.com/nluedtke/linux_kernel_cves

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

    ]

(From OE-Core rev: c7c86d97f6a0e1d09eaca999ecec13656655f299)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-02-28 03:32:09 -10:00
Bruce Ashfield
4494d072cc linux-yocto/5.15: update to v5.15.147
Updating linux-yocto/5.15 to the latest korg -stable release that comprises
the following commits:

    ddcaf4999061 Linux 5.15.147
    231752a0a05d net: usb: ax88179_178a: move priv to driver_priv
    d800d18ba132 net: usb: ax88179_178a: remove redundant init code
    329197033bb0 tracing/kprobes: Fix symbol counting logic by looking at modules as well
    ccb7eef5f2f3 kallsyms: Make module_kallsyms_on_each_symbol generally available
    ab3a3aadb373 netfilter: nf_tables: Reject tables of unsupported family
    0eb556b2386d perf inject: Fix GEN_ELF_TEXT_OFFSET for jit
    b8a5308feedd ipv6: remove max_size check inline with ipv4
    ba5efd8544fa net: tls, update curr on splice as well
    06bb52d2efb3 mmc: sdhci-sprd: Fix eMMC init failure after hw reset
    6722186854a7 mmc: core: Cancel delayed work before releasing host
    edaefc210e10 mmc: rpmb: fixes pause retune on all RPMB partitions.
    41f20ac9bdc4 mmc: meson-mx-sdhc: Fix initialization frozen issue
    91432aebce51 mm: fix unmap_mapping_range high bits shift bug
    5e44f5da1266 i2c: core: Fix atomic xfer check for non-preempt config
    1d5c1617e1e1 x86/kprobes: fix incorrect return address calculation in kprobe_emulate_call_indirect
    10086ff58ce4 firewire: ohci: suppress unexpected system reboot in AMD Ryzen machines and ASM108x/VT630x PCIe cards
    660b3c3bc8a7 mm/memory-failure: check the mapcount of the precise page
    80eb449f809c selftests: secretmem: floor the memory size to the multiple of page_size
    a58ae5ab714d net: Implement missing SO_TIMESTAMPING_NEW cmsg support
    500c7f32ad43 bnxt_en: Remove mis-applied code from bnxt_cfg_ntp_filters()
    fda00eb3cd41 asix: Add check for usbnet_get_endpoints
    0817c1b21561 octeontx2-af: Re-enable MAC TX in otx2_stop processing
    20fce91b4fa0 octeontx2-af: Always configure NIX TX link credits based on max frame size
    6bbbcff3c798 octeontx2-af: Set NIX link credits based on max LMAC
    6ef9a28e1bb2 octeontx2-af: Don't enable Pause frames by default
    bc56ed720e06 net/qla3xxx: fix potential memleak in ql_alloc_buffer_queues
    cfcf5490145a igc: Fix hicredit calculation
    6c853b57684e i40e: Restore VF MSI-X state during PCI reset
    9400f854facd ASoC: meson: g12a-tohdmitx: Fix event generation for S/PDIF mux
    e08b666e4415 ASoC: meson: g12a-toacodec: Fix event generation
    3a78a57764f0 ASoC: meson: g12a-tohdmitx: Validate written enum values
    f74281f241ff ASoC: meson: g12a-toacodec: Validate written enum values
    947db598acb8 i40e: fix use-after-free in i40e_aqc_add_filters()
    975d6f66f2b6 net: Save and restore msg_namelen in sock_sendmsg
    b2869e7600f4 netfilter: nft_immediate: drop chain reference counter on error
    51976846f202 net: bcmgenet: Fix FCS generation for fragmented skbuffs
    c748c358debe sfc: fix a double-free bug in efx_probe_filters
    5c161f2220f5 ARM: sun9i: smp: Fix array-index-out-of-bounds read in sunxi_mc_smp_init
    fd2e7829239e net-timestamp: extend SOF_TIMESTAMPING_OPT_ID to HW timestamps
    dc5643abc1ac can: raw: add support for SO_MARK
    464fb49ca9bb can: raw: add support for SO_TXTIME/SCM_TXTIME
    ba80ff7a85b6 net: Implement missing getsockopt(SO_TIMESTAMPING_NEW)
    5636941e42d5 r8169: Fix PCI error on system resume
    0ce9a244d33b net: sched: em_text: fix possible memory leak in em_text_destroy()
    c0b56aa9d1a6 mlxbf_gige: fix receive packet race condition
    271567afd4c2 ASoC: fsl_rpmsg: Fix error handler with pm_runtime_enable
    1867a9094743 igc: Check VLAN EtherType mask
    f24370ddf75d igc: Check VLAN TCI mask
    4ec5efdb9034 igc: Report VLAN EtherType matching back to user
    b17f8024a5f0 i40e: Fix filter input checks to prevent config with invalid values
    def90597ef5b drm/i915/dp: Fix passing the correct DPCD_REV for drm_dp_set_phy_test_pattern
    a7b67635de1a octeontx2-af: Fix marking couple of structure as __packed
    802af3c88ad1 nfc: llcp_core: Hold a ref to llcp_local->dev when holding a ref to llcp_local
    5d3e98ef12f6 drm/bridge: ti-sn65dsi86: Never store more than msg->size bytes in AUX xfer
    2f8cefc8b638 wifi: iwlwifi: pcie: don't synchronize IRQs from IRQ
    1f2f662c8bec Revert "PCI/ASPM: Remove pcie_aspm_pm_state_change()"
    200cecd6ff1e ALSA: hda/realtek: Fix mute and mic-mute LEDs for HP ProBook 440 G6
    90ab9a70f0d8 block: Don't invalidate pagecache for invalid falloc modes
    c496c35310e6 keys, dns: Fix missing size check of V1 server-list header

(From OE-Core rev: f4f1964a7a2922f3253484852b76602af5f31a89)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-02-28 03:32:09 -10:00
Bruce Ashfield
8e47c56f41 linux-yocto/5.15: update CVE exclusions
Data pulled from: https://github.com/nluedtke/linux_kernel_cves

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

    ]

(From OE-Core rev: 22b1db5362e18ee6c2a90049facc72c3554542dd)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-02-28 03:32:09 -10:00
Bruce Ashfield
a9b6cbf9e6 linux-yocto/5.15: update to v5.15.146
Updating linux-yocto/5.15 to the latest korg -stable release that comprises
the following commits:

    26c690eff0a5 Linux 5.15.146
    13578b4ea461 bpf: Fix prog_array_map_poke_run map poke update
    339add0430e7 device property: Allow const parameter to dev_fwnode()
    4d9dcdb333ca dm-integrity: don't modify bio's immutable bio_vec in integrity_metadata()
    a033bb82a10c ring-buffer: Fix slowpath of interrupted event
    d10f7540c554 netfilter: nf_tables: skip set commit for deleted/destroyed sets
    d739f2b6d8f5 ksmbd: fix slab-out-of-bounds in smb_strndup_from_utf16()
    53bed9b9f431 ring-buffer: Remove useless update to write_stamp in rb_try_to_discard()
    7fb264aedec9 tracing: Fix blocked reader of snapshot buffer
    c73cb01af11f ring-buffer: Fix wake ups when buffer_percent is set to 100
    c0be52181f35 mm/filemap: avoid buffered read/write race to read inconsistent data
    2b16d960c79a Bluetooth: af_bluetooth: Fix Use-After-Free in bt_sock_recvmsg
    ded3cfdefec8 smb: client: fix OOB in smbCalcSize()
    bfd18c0f570e smb: client: fix OOB in SMB2_query_info_init()
    1228354a9889 iio: imu: adis16475: add spi_device_id table
    bd1be85dbbbd spi: Introduce spi_get_device_match_data() helper
    fcf6fce2f147 device property: Add const qualifier to device_get_match_data() parameter
    d63fafd6cc28 net: usb: ax88179_178a: avoid failed operations when device is disconnected
    f860413aa00c net: usb: ax88179_178a: wol optimizations
    2964a0de7526 net: usb: ax88179_178a: clean up pm calls
    597305fd7708 ethernet: constify references to netdev->dev_addr in drivers
    32d9a4ce5240 usb: fotg210-hcd: delete an incorrect bounds test
    d529cc227897 ARM: dts: Fix occasional boot hang for am3 usb
    8bf06286d740 ksmbd: fix wrong allocation size update in smb2_open()
    06208a04a7bd ksmbd: avoid duplicate opinfo_put() call on error of smb21_lease_break_ack()
    9444c47d2c3b ksmbd: lazy v2 lease break on smb2_write()
    f58afd8c7011 ksmbd: send v2 lease break notification for directory
    86967f696586 ksmbd: downgrade RWH lease caching state to RH for directory
    f7c8270be3cb ksmbd: set v2 lease capability
    1bf476d8a89a ksmbd: set epoch in create context v2 lease
    ac385518598f ksmbd: have a dependency on cifs ARC4
    b54b9fbc16a0 fuse: share lookup state between submount and its parent
    1c811b7c83a4 x86/alternatives: Sync core before enabling interrupts
    ccda72aa73c7 KVM: arm64: vgic: Force vcpu vgic teardown on vcpu destroy
    46bc250b082c lib/vsprintf: Fix %pfwf when current node refcount == 0
    f9dc6e0a0b02 gpio: dwapb: mask/unmask IRQ when disable/enale it
    e4d3534c6818 bus: ti-sysc: Flush posted write only after srst_udelay
    d47b2b6a087a tracing / synthetic: Disable events after testing in synth_event_gen_test_init()
    da95f8b7bc6a scsi: core: Always send batch on reset or error handling command
    686774523f8e dt-bindings: nvmem: mxs-ocotp: Document fsl,ocotp
    7c25c5d72746 net: ks8851: Fix TX stall caused by TX buffer overrun
    28855385bff1 net: rfkill: gpio: set GPIO direction
    4431cf7c3310 net: 9p: avoid freeing uninit memory in p9pdu_vreadf
    85fd35ce5bc0 Input: soc_button_array - add mapping for airplane mode button
    a346cfc6389a Bluetooth: MGMT/SMP: Fix address type when using SMP over BREDR/LE
    916ca52a3e28 Bluetooth: L2CAP: Send reject on command corrupted request
    70db6466c029 Bluetooth: hci_event: Fix not checking if HCI_OP_INQUIRY has been sent
    094ae245f7aa USB: serial: option: add Quectel RM500Q R13 firmware support
    d0adf8fe08b9 USB: serial: option: add Foxconn T99W265 with new baseline
    a67f0b5bc2fa USB: serial: option: add Quectel EG912Y module support
    0e285069fd2a USB: serial: ftdi_sio: update Actisense PIDs constant names
    433889344e82 wifi: cfg80211: fix certs build to not depend on file order
    69fab6dc3748 wifi: cfg80211: Add my certificate
    498f212a774f ALSA: usb-audio: Increase delay in MOTU M quirk
    5a16bb60b8ce iio: triggered-buffer: prevent possible freeing of wrong buffer
    3becd9bc5af3 iio: adc: ti_am335x_adc: Fix return value check of tiadc_request_dma()
    b9ccf18e315f iio: common: ms_sensors: ms_sensors_i2c: fix humidity conversion time table
    f1d9a66e9ce9 scsi: bnx2fc: Fix skb double free in bnx2fc_rcv()
    1e3effe67e75 Input: ipaq-micro-keys - add error handling for devm_kmemdup
    25c441a07360 iio: imu: inv_mpu6050: fix an error code problem in inv_mpu6050_read_raw
    3cbae23d481b interconnect: Treat xlate() returning NULL node as an error
    f47e3f60f239 smb: client: fix OOB in smb2_query_reparse_point()
    fd3951b798c8 smb: client: fix NULL deref in asn1_ber_decoder()
    6ded9038e4b1 drm/i915: Fix intel_atomic_setup_scalers() plane_state handling
    f9954b18c4fa drm/i915: Relocate intel_atomic_setup_scalers()
    2a4ef0d6e5f0 drm/i915/mtl: limit second scaler vertical scaling in ver >= 14
    6bbeb3960aad ksmbd: fix wrong name of SMB2_CREATE_ALLOCATION_SIZE
    c0c4e9767e57 gpiolib: cdev: add gpio_device locking wrapper around gpio_ioctl()
    8bdcedfdb026 pinctrl: at91-pio4: use dedicated lock class for IRQ
    f0c52b790a00 i2c: aspeed: Handle the coalesced stop conditions with the start conditions.
    c87ab6e306ba ASoC: hdmi-codec: fix missing report for jack initial status
    98fb5eaade74 afs: Fix use-after-free due to get/remove race in volume tree
    57bf56295068 afs: Use refcount_t rather than atomic_t
    d1fe946cb5b2 afs: Fix overwriting of result of DNS query
    2552b32b0b34 keys, dns: Allow key types (eg. DNS) to be reclaimed immediately on expiry
    a1ab650f1421 net: check dev->gso_max_size in gso_features_check()
    56eaa3ec3140 afs: Fix dynamic root lookup DNS check
    3f85785bc4ac afs: Fix the dynamic root's d_delete to always delete unused dentries
    3739e0a52d4d net: check vlan filter feature in vlan_vids_add_by_dev() and vlan_vids_del_by_dev()
    c124a75b2497 net: mana: select PAGE_POOL
    c0e527c532a0 net/rose: fix races in rose_kill_by_device()
    66d2116880e6 ethernet: atheros: fix a memleak in atl1e_setup_ring_resources
    87255af408df net: sched: ife: fix potential use-after-free
    242670aab84b net/mlx5e: Correct snprintf truncation handling for fw_version buffer used by representors
    da2396b54625 net/mlx5: Fix fw tracer first block check
    b0873aa484e9 net/mlx5e: fix a potential double-free in fs_udp_create_groups
    4ddba57b659a net/mlx5e: Fix slab-out-of-bounds in mlx5_query_nic_vport_mac_list()
    5ae420f65aff Revert "net/mlx5e: fix double free of encap_header"
    135fa6fac9b6 Revert "net/mlx5e: fix double free of encap_header in update funcs"
    b387f06849b4 wifi: mac80211: mesh_plink: fix matches_local logic
    6558f4aa2032 wifi: iwlwifi: pcie: add another missing bh-disable for rxq->lock
    183ea95f7374 s390/vx: fix save/restore of fpu kernel context
    58f3fc833321 reset: Fix crash when freeing non-existent optional resets
    52c69a070b94 ARM: OMAP2+: Fix null pointer dereference and memory leak in omap_soc_device_init
    d3ffbbb0bca5 ARM: dts: dra7: Fix DRA7 L3 NoC node register size

(From OE-Core rev: ee4695138e36155c8e0b173f7952372693c0589a)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-02-28 03:32:09 -10:00
Bruce Ashfield
665ef9de8d linux-yocto/5.15: update to v5.15.145
Updating  to the latest korg -stable release that comprises
the following commits:

    d93fa2c78854 Linux 5.15.145
    ee41f667aa64 kasan: disable kasan_non_canonical_hook() for HW tags
    f30f893143b9 tracing/kprobes: Return EADDRNOTAVAIL when func matches several symbols
    7aa33c99b513 Revert "drm/bridge: lt9611uxc: Switch to devm MIPI-DSI helpers"
    4a8350a0ea76 Revert "drm/bridge: lt9611uxc: Register and attach our DSI device at probe"
    e21817ce167e Revert "drm/bridge: lt9611uxc: fix the race in the error path"
    811b5eaee70e ksmbd: don't update ->op_state as OPLOCK_STATE_NONE on error
    bd47f9c8b53b ksmbd: move setting SMB2_FLAGS_ASYNC_COMMAND and AsyncId
    5e1f31378a81 ksmbd: release interim response after sending status pending response
    c21d0445088d ksmbd: move oplock handling after unlock parent dir
    772d81aeecd3 ksmbd: separately allocate ci per dentry
    8ed1118da8c4 ksmbd: fix possible deadlock in smb2_open
    ae3356cbe9ac ksmbd: prevent memory leak on error return
    8dc9eb7d3503 ksmbd: handle malformed smb1 message
    1f50c418d47a ksmbd: fix kernel-doc comment of ksmbd_vfs_kern_path_locked()
    3fecda5d853c ksmbd: no need to wait for binded connection termination at logoff
    841bcade0964 ksmbd: add support for surrogate pair conversion
    0eaeb8aec49f ksmbd: fix missing RDMA-capable flag for IPoIB device in ksmbd_rdma_capable_netdev()
    20b4f6bd4cf9 ksmbd: fix recursive locking in vfs helpers
    f30a2ff71561 ksmbd: fix kernel-doc comment of ksmbd_vfs_setxattr()
    df79244f7339 ksmbd: reorganize ksmbd_iov_pin_rsp()
    845837fbfe79 ksmbd: Remove unused field in ksmbd_user struct
    fab0175b7f8e ksmbd: fix potential double free on smb2_read_pipe() error path
    ef435dec8a84 ksmbd: fix Null pointer dereferences in ksmbd_update_fstate()
    4b9b7ea1ffb1 ksmbd: fix wrong error response status by using set_smb2_rsp_status()
    dd45db4d9bbc ksmbd: fix race condition between tree conn lookup and disconnect
    0901be8dc6ea ksmbd: fix race condition from parallel smb2 lock requests
    50e13932ba55 ksmbd: fix race condition from parallel smb2 logoff requests
    f99d5d1d2a25 ksmbd: fix race condition with fp
    c77fd3e25a51 ksmbd: fix race condition between session lookup and expire
    b9a3e4549676 ksmbd: check iov vector index in ksmbd_conn_write()
    01df133b1a7d ksmbd: return invalid parameter error response if smb2 request is invalid
    4a67467f1134 ksmbd: fix passing freed memory 'aux_payload_buf'
    fbed0adfe507 ksmbd: remove unneeded mark_inode_dirty in set_info_sec()
    a9128c4134f1 ksmbd: remove experimental warning
    6997fa65bf9e ksmbd: add missing calling smb2_set_err_rsp() on error
    bd554ed4fdc3 ksmbd: fix slub overflow in ksmbd_decode_ntlmssp_auth_blob()
    7019440463df ksmbd: Fix one kernel-doc comment
    c5aa74449a41 ksmbd: reduce descriptor size if remaining bytes is less than request size
    e12b09241693 ksmbd: fix `force create mode' and `force directory mode'
    6f0207218c4c ksmbd: fix wrong interim response on compound
    f2283680a805 ksmbd: add support for read compound
    d7ad0ac5a8f6 ksmbd: switch to use kmemdup_nul() helper
    5c0df9d30c28 ksmbd: fix out of bounds in init_smb2_rsp_hdr()
    017d85c94f02 ksmbd: validate session id and tree id in compound request
    4a027b96515e ksmbd: check if a mount point is crossed during path lookup
    cf63b94fec60 ksmbd: Fix unsigned expression compared with zero
    5f36e22910c2 ksmbd: Replace one-element array with flexible-array member
    d9902ad14f82 ksmbd: Use struct_size() helper in ksmbd_negotiate_smb_dialect()
    97f5c1e3086c ksmbd: add missing compound request handing in some commands
    676392184785 ksmbd: fix out of bounds read in smb2_sess_setup
    d91ba80185e4 ksmbd: Replace the ternary conditional operator with min()
    2222ada0959b ksmbd: use kvzalloc instead of kvmalloc
    638043bef94a ksmbd: Change the return value of ksmbd_vfs_query_maximal_access to void
    7585898ddf5a ksmbd: return a literal instead of 'err' in ksmbd_vfs_kern_path_locked()
    4910a79a5f61 ksmbd: use kzalloc() instead of __GFP_ZERO
    b657622862ba ksmbd: remove unused ksmbd_tree_conn_share function
    ce95f7d2dcdf ksmbd: add mnt_want_write to ksmbd vfs functions
    0d1a3f97efbe ksmbd: validate smb request protocol id
    df3a4518aee6 ksmbd: check the validation of pdu_size in ksmbd_conn_handler_loop
    ae33f07c87ab ksmbd: fix posix_acls and acls dereferencing possible ERR_PTR()
    55ceeb4e1c71 ksmbd: fix out-of-bound read in parse_lease_state()
    4adb4fbd7481 ksmbd: fix out-of-bound read in deassemble_neg_contexts()
    049ed0f953da ksmbd: call putname after using the last component
    b423ddab6138 ksmbd: fix UAF issue from opinfo->conn
    19b2b9af315e ksmbd: fix multiple out-of-bounds read during context decoding
    61a306c1cc75 ksmbd: fix uninitialized pointer read in smb2_create_link()
    ea799dd27584 ksmbd: fix uninitialized pointer read in ksmbd_vfs_rename()
    b36295c17fb9 ksmbd: fix racy issue under cocurrent smb2 tree disconnect
    ae06b798f72d ksmbd: fix racy issue from smb2 close and logoff with multichannel
    dff87902d960 ksmbd: block asynchronous requests when making a delay on session setup
    a6a9601ba995 ksmbd: destroy expired sessions
    708c304b583d ksmbd: fix racy issue from session setup and logoff
    019aae488dbc ksmbd: fix racy issue from using ->d_parent and ->d_name
    b31e1ef30107 fs: introduce lock_rename_child() helper
    380a0fe8bd60 ksmbd: remove unused compression negotiate ctx packing
    0dbfcc34efab ksmbd: avoid duplicate negotiate ctx offset increments
    2ca23947df89 ksmbd: set NegotiateContextCount once instead of every inc
    39f5b4b313b4 ksmbd: avoid out of bounds access in decode_preauth_ctxt()
    921536046bd1 ksmbd: fix slab-out-of-bounds in init_smb2_rsp_hdr
    9494242c8e76 ksmbd: delete asynchronous work from list
    427caadf90e9 ksmbd: remove unused is_char_allowed function
    289b46fd11dd ksmbd: fix wrong signingkey creation when encryption is AES256
    bfe8372ef2db ksmbd: fix possible memory leak in smb2_lock()
    d625db885a10 ksmbd: Fix parameter name and comment mismatch
    0d3f06fd65fe ksmbd: Fix spelling mistake "excceed" -> "exceeded"
    1f1aca1d500d ksmbd: update Kconfig to note Kerberos support and fix indentation
    a35ebf658993 ksmbd: Remove duplicated codes
    b15734ec29b6 ksmbd: fix typo, syncronous->synchronous
    1f485b54d04a ksmbd: Implements sess->rpc_handle_list as xarray
    b1caecbf34b8 ksmbd: Implements sess->ksmbd_chann_list as xarray
    d7f088dc2794 ksmbd: send proper error response in smb2_tree_connect()
    bcab5c810544 ksmbd: Convert to use sysfs_emit()/sysfs_emit_at() APIs
    46c517bc0ac6 ksmbd: Fix resource leak in smb2_lock()
    9ea6b43d8a7d ksmbd: use F_SETLK when unlocking a file
    8263acd267f7 ksmbd: set SMB2_SESSION_FLAG_ENCRYPT_DATA when enforcing data encryption for this share
    64b4d72c596a ksmbd: replace one-element arrays with flexible-array members
    2bdd995f139c ksmbd: validate share name from share config response
    ef97ccd0fc64 ksmbd: call ib_drain_qp when disconnected
    b3e852bea8a7 ksmbd: make utf-8 file name comparison work in __caseless_lookup()
    131e308593e6 ksmbd: hide socket error message when ipv6 config is disable
    507cb106c3b9 ksmbd: reduce server smbdirect max send/receive segment sizes
    fe4d09792bc6 ksmbd: decrease the number of SMB3 smbdirect server SGEs
    d5a3b1024aab ksmbd: set NTLMSSP_NEGOTIATE_SEAL flag to challenge blob
    4d796ff8995a ksmbd: fix encryption failure issue for session logoff response
    e925de7defff ksmbd: fill sids in SMB_FIND_FILE_POSIX_INFO response
    95b72edca5d2 ksmbd: set file permission mode to match Samba server posix extension behavior
    813ef06ea2a3 ksmbd: change security id to the one samba used for posix extension
    62e6846ee3ba ksmbd: casefold utf-8 share names and fix ascii lowercase conversion
    43e2963be171 ksmbd: remove generic_fillattr use in smb2_open()
    aa77fc81825b ksmbd: constify struct path
    b79a9f991eb9 ksmbd: don't open-code %pD
    d6686d57919d ksmbd: don't open-code file_path()
    a7ddc4951f0f ksmbd: remove unnecessary generic_fillattr in smb2_open
    ebb8c616574a ksmbd: request update to stale share config
    c7aff8b8ffdb ksmbd: use wait_event instead of schedule_timeout()
    1f82ecbc7f1e ksmbd: remove unused ksmbd_share_configs_cleanup function
    8d0f823193f1 ksmbd: remove duplicate flag set in smb2_write
    d4b374ff2a3a ksmbd: smbd: Remove useless license text when SPDX-License-Identifier is already used
    ff403dbe43a1 ksmbd: smbd: relax the count of sges required
    9d609b52f952 ksmbd: smbd: fix connection dropped issue
    32af379e13df ksmbd: Fix some kernel-doc comments
    81602ee1c4fb ksmbd: fix wrong smbd max read/write size check
    918a690d8ab6 ksmbd: smbd: handle multiple Buffer descriptors
    673c186f8105 ksmbd: smbd: change the return value of get_sg_list
    30bd0df6e667 ksmbd: smbd: simplify tracking pending packets
    f17ed7b33899 ksmbd: smbd: introduce read/write credits for RDMA read/write
    982fcdec10ff ksmbd: smbd: change prototypes of RDMA read/write related functions
    6bb439930338 ksmbd: validate length in smb2_write()
    8e32e1584025 ksmbd: remove filename in ksmbd_file
    e9a325124611 smb3: fix ksmbd bigendian bug in oplock break, and move its struct to smbfs_common
    dc232946d108 ksmbd: replace usage of found with dedicated list iterator variable
    a5213868c62b ksmbd: Remove a redundant zeroing of memory
    7ee6f9ba9783 ksmbd: shorten experimental warning on loading the module
    a5a8c9133d97 ksmbd: store fids as opaque u64 integers
    170598b6f354 ksmbd: use netif_is_bridge_port
    c5049d2d73b2 ksmbd: add support for key exchange
    09b4c603831d ksmbd: smbd: validate buffer descriptor structures
    858b9644518f ksmbd: smbd: fix missing client's memory region invalidation
    51d0b879d6f5 ksmbd: add smb-direct shutdown
    d15077ad35af ksmbd: smbd: change the default maximum read/write, receive size
    ba7c3ff9053b ksmbd: smbd: create MR pool
    97b3a08892c0 ksmbd: smbd: call rdma_accept() under CM handler
    8a49ab3e59ed ksmbd: set 445 port to smbdirect port by default
    178ecc325728 ksmbd: register ksmbd ib client with ib_register_client()
    91d730756980 ksmbd: Fix smb2_get_name() kernel-doc comment
    dd56eb361f3a ksmbd: Delete an invalid argument description in smb2_populate_readdir_entry()
    36167446ce68 ksmbd: Fix smb2_set_info_file() kernel-doc comment
    2fa426c9d741 ksmbd: Fix buffer_check_err() kernel-doc comment
    e5b04973e720 ksmbd: set both ipv4 and ipv6 in FSCTL_QUERY_NETWORK_INTERFACE_INFO
    a63256708a99 ksmbd: Remove unused fields from ksmbd_file struct definition
    de203cdf1ee5 ksmbd: Remove unused parameter from smb2_get_name()
    82ae5fe3e629 ksmbd: use oid registry functions to decode OIDs
    7833bd31bc6b ksmbd: change LeaseKey data type to u8 array
    199b8b5ceba3 ksmbd: remove smb2_buf_length in smb2_transform_hdr
    e0c58420570c ksmbd: remove smb2_buf_length in smb2_hdr
    6cd90c01b032 ksmbd: remove md4 leftovers
    84af59bcab8e ksmbd: Remove redundant 'flush_workqueue()' calls
    a33bb607a1b2 ksmdb: use cmd helper variable in smb2_get_ksmbd_tcon()
    5fed9cbbafcb ksmbd: use ksmbd_req_buf_next() in ksmbd_verify_smb_message()
    1d146b1875fc Linux 5.15.144
    4c117984824b r8152: fix the autosuspend doesn't work
    aa3cc80e8eda r8152: remove rtl_vendor_mode function
    07ba21627ebb r8152: avoid to change cfg for all devices
    fa5f992dcf89 powerpc/ftrace: Fix stack teardown in ftrace_no_trace
    4624f5f298e2 powerpc/ftrace: Create a dummy stackframe to fix stack unwind
    410c05b60c1a RDMA/irdma: Prevent zero-length STAG registration
    93e765523b34 USB: gadget: core: adjust uevent timing on gadget unbind
    529f020f7b5f ring-buffer: Do not try to put back write_stamp
    b8d59ea20346 ring-buffer: Fix a race in rb_time_cmpxchg() for 32 bit archs
    fb63b1f99414 ring-buffer: Fix writing to the buffer with max_data_size
    e9587314fd1f ring-buffer: Have saved event hold the entire event
    8ed7d2800fa6 ring-buffer: Do not update before stamp when switching sub-buffers
    547937457fe2 tracing: Update snapshot buffer on resize if it is allocated
    97e70d6698f5 ring-buffer: Fix memory leak of free page
    f94942885e84 drm/amdgpu/sdma5.2: add begin/end_use ring callbacks
    8175dad2ad41 team: Fix use-after-free when an option instance allocation fails
    c2134ed53261 arm64: mm: Always make sw-dirty PTEs hw-dirty in pte_modify
    1bc91916e8ef ext4: prevent the normalized size from exceeding EXT_MAX_BLOCKS
    1a4da77ef61b soundwire: stream: fix NULL pointer dereference for multi_link
    5a95499843e8 btrfs: do not allow non subvolume root targets for snapshot
    7b427d8cb7a8 perf: Fix perf_event_validate_size() lockdep splat
    27714a22a1c2 HID: hid-asus: add const to read-only outgoing usb buffer
    11c17f42765a net: usb: qmi_wwan: claim interface 4 for ZTE MF290
    ca15561c99da asm-generic: qspinlock: fix queued_spin_value_unlocked() implementation
    0a3f27d9ad10 HID: multitouch: Add quirk for HONOR GLO-GXXX touchpad
    41759fab26b4 HID: hid-asus: reset the backlight brightness level on resume
    9f093e15faee HID: add ALWAYS_POLL quirk for Apple kb
    61fc877f7c34 HID: glorious: fix Glorious Model I HID report
    23b08531d8f3 platform/x86: intel_telemetry: Fix kernel doc descriptions
    7020385effce bcache: avoid NULL checking to c->root in run_cache_set()
    f891bbf13a94 bcache: add code comments for bch_btree_node_get() and __bch_btree_node_alloc()
    8758b0532f79 bcache: remove redundant assignment to variable cur_idx
    d38288af6f30 bcache: avoid oversize memory allocation by small stripe_size
    252c2a4795e9 blk-cgroup: bypass blkcg_deactivate_policy after destroying
    8146f7a8809b blk-throttle: fix lockdep warning of "cgroup_mutex or RCU read lock required!"
    b7d82e5dbe5a stmmac: dwmac-loongson: Add architecture dependency
    46412b2fb1f9 usb: aqc111: check packet for fixup for true limit
    fe13b6a6ddb1 drm/mediatek: Add spinlock for setting vblank event in atomic_begin
    6f709907ea90 PCI: loongson: Limit MRRS to 256
    4f4a9fc6b0cd Revert "PCI: acpiphp: Reassign resources on bridge if necessary"
    2d099b274e43 ALSA: hda/realtek: Apply mute LED quirk for HP15-db
    0239375ecb66 ALSA: hda/hdmi: add force-connect quirks for ASUSTeK Z170 variants
    d6df72b2f566 ALSA: hda/hdmi: add force-connect quirk for NUC5CPYB
    45f53ca3065b fuse: dax: set fc->dax to NULL in fuse_dax_conn_free()
    f21b7610d55f cred: switch to using atomic_long_t
    3a1428640259 net: atlantic: fix double free in ring reinit logic
    5b87ac25e8cf appletalk: Fix Use-After-Free in atalk_ioctl
    de73f41fd658 net: stmmac: Handle disabled MDIO busses from devicetree
    6f3b49a4158c net: stmmac: use dev_err_probe() for reporting mdio bus registration failure
    90715e0a4cbb dpaa2-switch: fix size of the dma_unmap
    444339f3aaff vsock/virtio: Fix unsigned integer wrap around in virtio_transport_has_space()
    a5ab70a9c547 sign-file: Fix incorrect return values check
    8eec2dcc4b83 stmmac: dwmac-loongson: Make sure MDIO is initialized before use
    abb40550adeb net: ena: Fix XDP redirection error
    5d45225702f3 net: ena: Fix xdp drops handling due to multibuf packets
    39082715bd8e net: ena: Destroy correct number of xdp queues upon failure
    e2b48f94802e net: Remove acked SYN flag from packet in the transmit queue correctly
    d3b174db0cd6 qed: Fix a potential use-after-free in qed_cxt_tables_alloc
    3f1f6a94d885 net/rose: Fix Use-After-Free in rose_ioctl
    3bb41dc361bf atm: Fix Use-After-Free in do_vcc_ioctl
    db400b1f8b6e octeontx2-af: Update RSS algorithm index
    e0676d37bb1a octeontx2-pf: Fix promisc mcam entry action
    86f50bb2a487 octeontx2-af: fix a use-after-free in rvu_nix_register_reporters
    af7a77216660 net: fec: correct queue selection
    3c4dcfbff15b net: vlan: introduce skb_vlan_eth_hdr()
    fe779dbb42fb atm: solos-pci: Fix potential deadlock on &tx_queue_lock
    e16f961f8bc5 atm: solos-pci: Fix potential deadlock on &cli_queue_lock
    d525bbd9dd2d qca_spi: Fix reset behavior
    4ec0e0e65bb6 qca_debug: Fix ethtool -G iface tx behavior
    173fc3212c31 qca_debug: Prevent crash on TX ring changes
    9846d8c8c383 net: ipv6: support reporting otherwise unknown prefix flags in RTM_NEWPREFIX
    77443956e635 HID: lenovo: Restrict detection of patched firmware only to USB cptkbd
    d37f44beef92 afs: Fix refcount underflow from error handling race
    a69d8ee03c88 ksmbd: fix memory leak in smb2_lock()
    fd0d9b167459 MIPS: Loongson64: Handle more memory types passed from firmware
    d9a9d8effdb2 memblock: allow to specify flags with memblock_add_node()
    49e0fcb522f3 mm/memory_hotplug: handle memblock_add_node() failures in add_memory_resource()
    5b77f41fb71c netfilter: nf_tables: fix 'exist' matching on bigendian arches
    3d4ad03bf1ee r8152: add vendor/device ID pair for ASUS USB-C2500
    404ce6ee69d3 r8152: add vendor/device ID pair for D-Link DUB-E250
    ca75274b17b8 r8152: add USB device driver for config selection
    f5494d96bcbe perf/x86/uncore: Don't WARN_ON_ONCE() for a broken discovery table
    d0fc081c6241 Linux 5.15.143
    2eba64dcbf26 devcoredump: Send uevent once devcd is ready
    97a9a7cf7f2f devcoredump : Serialize devcd_del work
    e5071ae7d829 smb: client: fix potential NULL deref in parse_dfs_referrals()
    d2bafe84dd7a cifs: Fix non-availability of dedup breaking generic/304
    c7a0a2651831 Revert "btrfs: add dmesg output for first mount and last unmount of a filesystem"
    1ed694fec589 MIPS: Loongson64: Enable DMA noncoherent support
    a71b6a615252 MIPS: Loongson64: Reserve vgabios memory on boot
    72bdf3445012 KVM: SVM: Update EFER software model on CR0 trap for SEV-ES
    15a8088786d1 KVM: s390/mm: Properly reset no-dat
    19e10526460a x86/CPU/AMD: Check vendor in the AMD microcode callback
    e5731380b753 serial: 8250_omap: Add earlycon support for the AM654 UART controller
    17c2ed9a99e4 serial: 8250: 8250_omap: Do not start RX DMA on THRI interrupt
    8718c0ab94e6 serial: 8250: 8250_omap: Clear UART_HAS_RHR_IT_DIS bit
    9bf8bc456f30 serial: sc16is7xx: address RX timeout interrupt errata
    87ac27041255 ARM: PL011: Fix DMA support
    9402252dda0c usb: typec: class: fix typec_altmode_put_partner to put plugs
    e24f2b219f39 Revert "xhci: Loosen RPM as default policy to cover for AMD xHC 1.1"
    742ecc1b1c2d parport: Add support for Brainboxes IX/UC/PX parallel cards
    86240d91ec40 usb: gadget: f_hid: fix report descriptor allocation
    f7a0cab502f5 drm/amdgpu: correct the amdgpu runtime dereference usage count
    091c77c287b4 drm/amd/amdgpu: Fix warnings in amdgpu/amdgpu_display.c
    324df6ecda16 gpiolib: sysfs: Fix error handling on failed export
    ebc7597ce971 perf: Fix perf_event_validate_size()
    00f8c6dc8274 perf/core: Add a new read format to get a number of lost samples
    4aed524081cf arm64: dts: mt8183: kukui: Fix underscores in node names
    1e64d6ddbd9f arm64: dts: mediatek: add missing space before {
    6276d125aa75 arm64: dts: mediatek: mt8183: Move thermal-zones to the root node
    a6b7222bbd3f arm64: dts: mediatek: align thermal zone node names with dtschema
    ab9ac2cb5740 tools headers UAPI: Sync linux/perf_event.h with the kernel sources
    dc52117cd797 docs/process/howto: Replace C89 with C11
    7aed508668ff platform/x86: asus-wmi: Fix kbd_dock_devid tablet-switch reporting
    e65128616faa netfilter: nft_set_pipapo: skip inactive elements during set walk
    bcedd497b3b4 io_uring/af_unix: disable sending io_uring over sockets
    c5a09d163184 mm: fix oops when filemap_map_pmd() without prealloc_pte
    c755e7cdacfe r8169: fix rtl8125b PAUSE frames blasting when suspended
    9234835fcc33 tracing: Stop current tracer when resizing buffer
    5a9cbf824225 tracing: Set actual size after ring buffer resize
    40a36f08a198 ring-buffer: Force absolute timestamp on discard of event
    0ccca12b7dd8 misc: mei: client.c: fix problem of return '-EOVERFLOW' in mei_cl_write
    271b563063e3 misc: mei: client.c: return negative error code in mei_cl_write
    4511b3650e53 coresight: etm4x: Remove bogous __exit annotation for some functions
    192352bd4bbe coresight: etm4x: Make etm4_remove_dev() return void
    318a206633c2 kallsyms: Make kallsyms_on_each_symbol generally available
    61b68b608954 binder: fix memory leaks of spam and pending work
    1665a875add8 arm64: dts: mediatek: mt8183: Fix unit address for scp reserved memory
    dca1bfdb407e arm64: dts: mediatek: mt8173-evb: Fix regulator-fixed node names
    d052b5ade240 arm64: dts: mediatek: mt8183-kukui-jacuzzi: fix dsi unnecessary cells properties
    e37aa926447f arm64: dts: mediatek: mt7622: fix memory node warning check
    d849cf64c553 platform/surface: aggregator: fix recv_buf() return value
    d91fb1b7b799 regmap: fix bogus error on regcache_sync success
    d08a96e5ffdb packet: Move reference count in packet_sock to atomic_long_t
    c86b76896f6e tracing: Fix a possible race when disabling buffered events
    e733a6f84462 tracing: Fix incomplete locking when disabling buffered events
    fb0219bf9665 tracing: Disable snapshot buffer when stopping instance tracers
    9e41d92e2884 tracing: Always update snapshot buffer size
    ac3ccec33b92 checkstack: fix printed address
    762b0d529c95 nilfs2: prevent WARNING in nilfs_sufile_set_segment_usage()
    fd85766c7c3e nilfs2: fix missing error check for sb_set_blocksize call
    4bbf011bd6cc ALSA: hda/realtek: Enable headset on Lenovo M90 Gen5
    e5571507a1a4 ALSA: pcm: fix out-of-bounds in snd_pcm_state_names
    f82e39f75c23 ALSA: usb-audio: Add Pioneer DJM-450 mixer controls
    ea3291cb9075 io_uring: fix mutex_unlock with unreferenced ctx
    09f9d1fbaff9 nvme-pci: Add sleep quirk for Kingston drives
    7e765ec2f17c kprobes: consistent rcu api usage for kretprobe holder
    f5311389262d md: don't leave 'MD_RECOVERY_FROZEN' in error path of md_set_readonly()
    4a52acc91015 md: introduce md_ro_state
    940a7bcd4f77 riscv: fix misaligned access handling of C.SWSP and C.SDSP
    6e2f71188f23 ARM: dts: imx28-xea: Pass the 'model' property
    976eb1730717 ARM: dts: imx7: Declare timers compatible with fsl,imx6dl-gpt
    cb2034c02ffa ARM: imx: Check return value of devm_kasprintf in imx_mmdc_perf_init
    800aabe1eda1 scsi: be2iscsi: Fix a memleak in beiscsi_init_wrb_handle()
    48987eef55b8 tracing: Fix a warning when allocating buffered events fails
    6daed3710c1d ARM: dts: imx6ul-pico: Describe the Ethernet PHY clock
    2ea7438af1f0 arm64: dts: imx8mp: imx8mq: Add parkmode-disable-ss-quirk on DWC3
    8a21980df069 arm64: dts: imx8mq: drop usb3-resume-missing-cas from usb
    0511a9c56e58 RDMA/irdma: Avoid free the non-cqp_request scratch
    b7b24a7ffced RDMA/core: Fix umem iterator when PAGE_SIZE is greater then HCA pgsz
    9d2854cc2554 ASoC: wm_adsp: fix memleak in wm_adsp_buffer_populate
    1d31ea4df805 hwmon: (nzxt-kraken2) Fix error handling path in kraken2_probe()
    9deab0c35ea4 hwmon: (acpi_power_meter) Fix 4.29 MW bug
    8ef49679a2f1 RDMA/bnxt_re: Correct module description string
    0b21a39bf1ad RDMA/rtrs-clt: Remove the warnings for req in_use check
    6cef8ca19140 RDMA/rtrs-clt: Fix the max_send_wr setting
    855b433468a4 RDMA/rtrs-srv: Destroy path files after making sure no IOs in-flight
    7df9d0d06475 RDMA/rtrs-srv: Free srv_mr iu only when always_invalidate is true
    00e54da50bf1 RDMA/rtrs-srv: Check return values while processing info request
    59cab0ae4873 RDMA/rtrs-clt: Start hb after path_up
    7f0460db1b88 RDMA/rtrs-srv: Do not unconditionally enable irq
    18556be80b2b arm64: dts: rockchip: Expand reg size of vdec node for RK3399
    583dec140d39 RDMA/irdma: Add wait for suspend on SQD
    f78b8b7f5bd5 RDMA/irdma: Do not modify to SQD on error
    754797722491 RDMA/hns: Fix unnecessary err return when using invalid congest control algorithm
    01c13d8a95e0 tee: optee: Fix supplicant based device enumeration
    d3d254e63ef4 drop_monitor: Require 'CAP_SYS_ADMIN' when joining "events" group
    30d4881a757d net: add missing kdoc for struct genl_multicast_group::flags
    5299bca8c64f psample: Require 'CAP_NET_ADMIN' when joining "packets" group
    81b0c3d2824e bpf: sockmap, updating the sg structure should also update curr
    0d4e0afdd665 tcp: do not accept ACK of bytes we never sent
    38bae9cda82d netfilter: xt_owner: Fix for unsafe access of sk->sk_socket
    9de311e5d142 netfilter: nf_tables: validate family when identifying table via handle
    cf5f113c41eb netfilter: nf_tables: bail out on mismatching dynset and set expressions
    219c6b558414 octeontx2-af: Update Tx link register range
    4fe599a7cd7b net: hns: fix fake link up on xge port
    a5c2f9f7f882 ipv4: ip_gre: Avoid skb_pull() failure in ipgre_xmit()
    c8aca57e235d ionic: Fix dim work handling in split interrupt mode
    04022c185e45 ionic: fix snprintf format length warning
    246bc719ef0c net: bnxt: fix a potential use-after-free in bnxt_init_tc
    b14d6d404c22 i40e: Fix unexpected MFS warning message
    6113cba29f2f octeontx2-af: fix a use-after-free in rvu_npa_register_reporters
    e047a1fc12d3 net: stmmac: fix FPE events losing
    75c53a4c4329 arcnet: restoring support for multiple Sohard Arcnet cards
    789fed570205 platform/mellanox: Check devm_hwmon_device_register_with_groups() return value
    a24071448e9b platform/mellanox: Add null pointer checks for devm_kasprintf()
    45171e5eb7d5 mlxbf-bootctl: correctly identify secure boot with development keys
    401d9bab5108 r8152: Add RTL8152_INACCESSIBLE to r8153_aldps_en()
    5b9bf02f1c00 r8152: Add RTL8152_INACCESSIBLE to r8153_pre_firmware_1()
    0a53ed0b0068 r8152: Add RTL8152_INACCESSIBLE to r8156b_wait_loading_flash()
    a637801347e8 r8152: Add RTL8152_INACCESSIBLE checks to more loops
    00beca907a7b r8152: Rename RTL8152_UNPLUG to RTL8152_INACCESSIBLE
    89c619b1b656 hv_netvsc: rndis_filter needs to select NLS
    f258a0bed308 octeontx2-af: Check return value of nix_get_nixlf before using nixlf
    51e7868e5df9 octeontx2-pf: Add missing mutex lock in otx2_get_pauseparam
    a239affd93d3 ipv6: fix potential NULL deref in fib6_add()
    9008af83efa3 platform/x86: wmi: Skip blocks with zero instances
    29783a17a30a platform/x86: wmi: Allow duplicate GUIDs for drivers that use struct wmi_driver
    0f06d9bd2ef8 of: dynamic: Fix of_reconfig_get_state_change() return value documentation
    5dd9a481da29 platform/x86: asus-wmi: Move i8042 filter install to shared asus-wmi code
    450f8c95a5cb platform/x86: asus-wmi: Simplify tablet-mode-switch handling
    f277c14b6d5f platform/x86: asus-wmi: Simplify tablet-mode-switch probing
    36ede1474698 platform/x86: asus-wmi: Add support for ROG X13 tablet mode
    e8aed5133f6a platform/x86: asus-wmi: Adjust tablet/lidflip handling to use enum
    bfac5cc5a6da drm/amdgpu: correct chunk_ptr to a pointer to chunk.
    94e5ed1620f4 kconfig: fix memory leak from range properties
    c5ab980acfc0 tg3: Increment tx_dropped in tg3_tso_bug()
    d188dcb9db40 tg3: Move the [rt]x_dropped counters to tg3_napi
    8bb930c3a1ea netfilter: ipset: fix race condition between swap/destroy and kernel side add/del/test
    89a057818db3 i2c: designware: Fix corrupted memory seen in the ISR
    6fcbcc6c8e52 hrtimers: Push pending hrtimers away from outgoing CPU earlier
    ef93d8853129 vdpa/mlx5: preserve CVQ vringh index

(From OE-Core rev: 03794866c1333113c909ef88dc232bcc47a7c459)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-02-28 03:32:09 -10:00
Bruce Ashfield
beb149e56a linux-yocto/5.15: update to v5.15.142
Updating  to the latest korg -stable release that comprises
the following commits:

    8a1d809b0545 Linux 5.15.142
    4d9bd1b108d7 iomap: update ki_pos a little later in iomap_dio_complete
    6ed02493ef14 r8169: fix deadlock on RTL8125 in jumbo mtu mode
    0249024aa48e r8169: disable ASPM in case of tx timeout
    8912dbddb25f mmc: sdhci-sprd: Fix vqmmc not shutting down after the card was pulled
    68156ce2527f mmc: core: add helpers mmc_regulator_enable/disable_vqmmc
    9807860f6ad4 iommu/vt-d: Make context clearing consistent with context mapping
    7960f2cf4378 iommu/vt-d: Omit devTLB invalidation requests when TES=0
    cfd842b71db2 cpufreq: imx6q: Don't disable 792 Mhz OPP unnecessarily
    f0b6880658f5 cpufreq: imx6q: don't warn for disabling a non-existing frequency
    bb08df40d451 smb3: fix caching of ctime on setxattr
    15b4158c872d fs: add ctime accessors infrastructure
    db78835b68c6 fbdev: stifb: Make the STI next font pointer a 32-bit signed offset
    711ee151a303 ASoC: SOF: sof-pci-dev: Fix community key quirk detection
    81952f82e32b ASoC: SOF: sof-pci-dev: don't use the community key on APL Chromebooks
    fa0a570d84b7 ASoC: SOF: sof-pci-dev: add parameter to override topology filename
    0d38d659a9d2 ASoC: SOF: sof-pci-dev: use community key on all Up boards
    f3db01e4d012 ASoC: Intel: Move soc_intel_is_foo() helpers to a generic header
    b4329a3a93d3 smb3: fix touch -h of symlink
    b60187f610fb selftests/resctrl: Move _GNU_SOURCE define into Makefile
    072c17d4003a selftests/resctrl: Add missing SPDX license to Makefile
    1e9973aea221 perf intel-pt: Fix async branch flags
    0a6b5321dcb0 net: ravb: Stop DMA in case of failures on ravb_open()
    a4515a2f5b1e net: ravb: Start TX queues after HW initialization succeeded
    2ba0a8330dae net: ravb: Use pm_runtime_resume_and_get()
    5823191fb2ba net: ravb: Check return value of reset_control_deassert()
    24681e92e517 ravb: Fix races between ravb_tx_timeout_work() and net related ops
    9750941783a2 r8169: prevent potential deadlock in rtl8169_close
    666250692881 Revert "workqueue: remove unused cancel_work()"
    2587d8fe1484 octeontx2-pf: Fix adding mbox work queue entry when num_vfs > 64
    54260f148377 net: stmmac: xgmac: Disable FPE MMC interrupts
    9af4884b8ae6 octeontx2-af: Fix possible buffer overflow
    f4499f0fc1e6 selftests/net: ipsec: fix constant out of range
    8454f0e090d4 uapi: propagate __struct_group() attributes to the container union
    0bf95654e999 dpaa2-eth: increase the needed headroom to account for alignment
    c4a00c47a140 ipv4: igmp: fix refcnt uaf issue when receiving igmp query packet
    64c27b7b2357 usb: config: fix iteration issue in 'usb_get_bos_descriptor()'
    e704db8ea64a USB: core: Change configuration warnings to notices
    bec3ae293810 hv_netvsc: fix race of netvsc and VF register_netdevice
    69732d2151b5 rcu: Avoid tracing a few functions executed in stop machine
    02caa78cbc22 vlan: move dev_put into vlan_dev_uninit
    842801181864 vlan: introduce vlan_dev_free_egress_priority
    a8604a90e1db Input: xpad - add HyperX Clutch Gladiate Support
    875eeda48161 btrfs: make error messages more clear when getting a chunk map
    47693835edb1 btrfs: send: ensure send_fd is writable
    36b98806d243 btrfs: fix off-by-one when checking chunk map includes logical address
    0ffd9d356ea0 btrfs: ref-verify: fix memory leaks in btrfs_ref_tree_mod()
    a480eb262b17 btrfs: add dmesg output for first mount and last unmount of a filesystem
    2e931b33060c parisc: Drop the HP-UX ENOSYM and EREMOTERELEASE error codes
    f0d052223488 powerpc: Don't clobber f0/vs0 during fp|altivec register save
    d48f9008e892 iommu/vt-d: Add MTL to quirk list to skip TE disabling
    0c7fa41e3e74 bcache: revert replacing IS_ERR_OR_NULL with IS_ERR
    c986cb72eb41 dm verity: don't perform FEC for failed readahead IO
    9a2590b400d4 dm-verity: align struct dm_verity_fec_io properly
    61a982f9a575 ALSA: hda/realtek: Add supported ALC257 for ChromeOS
    5fe4d96502e8 ALSA: hda/realtek: Headset Mic VREF to 100%
    4ed5ad052286 ALSA: hda: Disable power-save on KONTRON SinglePC
    a75793684734 mmc: block: Be sure to wait while busy in CQE error recovery
    8dfdd6038e32 mmc: block: Do not lose cache flush during CQE error recovery
    129984dc9b1b mmc: block: Retry commands in CQE error recovery
    85afaefa9568 mmc: cqhci: Fix task clearing in CQE error recovery
    ceec82319989 mmc: cqhci: Warn of halt or task clear failure
    9edc063598c9 mmc: cqhci: Increase recovery halt timeout
    443829382220 firewire: core: fix possible memory leak in create_units()
    b20f71c8098b pinctrl: avoid reload of p state in list iteration

(From OE-Core rev: 4deed206f92fc207d18cdb4c8bc35ce1bf0fb0f6)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-02-28 03:32:09 -10:00
Bruce Ashfield
d1bb5c2c29 linux-yocto/5.15: update to v5.15.141
Updating  to the latest korg -stable release that comprises
the following commits:

    9b91d36ba301 Linux 5.15.141
    313a34d1c0ee io_uring: fix off-by one bvec index
    49ae2e4e8ed3 USB: dwc3: qcom: fix wakeup after probe deferral
    eb17fb4b160a USB: dwc3: qcom: fix software node leak on probe errors
    98f0e9b6276f usb: dwc3: set the dma max_seg_size
    1a3dcb1d811d usb: dwc3: Fix default mode initialization
    a22702a81844 USB: dwc2: write HCINT with INTMASK applied
    1134fde92088 usb: typec: tcpm: Skip hard reset when in error recovery
    64830d041515 USB: serial: option: don't claim interface 4 for ZTE MF290
    9611cbc6a132 USB: serial: option: fix FM101R-GL defines
    a8d80b1fbacf USB: serial: option: add Fibocom L7xx modules
    de8c6fce8d09 usb: cdnsp: Fix deadlock issue during using NCM gadget
    dd0cc4b69f7d bcache: fixup lock c->root error
    a912742d8411 bcache: fixup init dirty data errors
    137660f84462 bcache: prevent potential division by zero error
    f7077ce8d97b bcache: check return value from btree_node_alloc_replacement()
    1eed01092101 dm-delay: fix a race between delay_presuspend and delay_bio
    d181a7a1d55d hv_netvsc: Mark VF as slave before exposing it to user-mode
    97683466e24c hv_netvsc: Fix race of register_netdevice_notifier and VF register
    3841921018a2 USB: serial: option: add Luat Air72*U series products
    6062c527d040 s390/dasd: protect device queue against concurrent access
    35b5d86e43ec io_uring/fs: consider link->flags when getting path for LINKAT
    2bb75a2c3490 bcache: fixup multi-threaded bch_sectors_dirty_init() wake-up race
    6f09318fd90a md: fix bi_status reporting in md_end_clone_io
    72ecb9753cbe bcache: replace a mistaken IS_ERR() by IS_ERR_OR_NULL() in btree_gc_coalesce()
    e09ba90f1ad0 swiotlb-xen: provide the "max_mapping_size" method
    0f05021e937c ACPI: resource: Skip IRQ override on ASUS ExpertBook B1402CVA
    f95e9f7afe86 proc: sysctl: prevent aliased sysctls from getting passed to init
    3f3880fc011c ext4: make sure allocate pending entry not fail
    e33eb4997585 ext4: fix slab-use-after-free in ext4_es_insert_extent()
    859893f61906 ext4: using nofail preallocation in ext4_es_insert_extent()
    048e7f38b31c ext4: using nofail preallocation in ext4_es_insert_delayed_block()
    580b9dd6ab0b ext4: using nofail preallocation in ext4_es_remove_extent()
    66bc78a295b3 ext4: use pre-allocated es in __es_remove_extent()
    b1995ba6269c ext4: use pre-allocated es in __es_insert_extent()
    edec12712ae1 ext4: factor out __es_alloc_extent() and __es_free_extent()
    e82d05cf5ccb ext4: add a new helper to check if es must be kept
    612edd488872 media: qcom: camss: Fix csid-gen2 for test pattern generator
    ceb5276d8c99 media: qcom: camss: Fix set CSI2_RX_CFG1_VC_MODE when VC is greater than 3
    f001e6f62693 media: camss: sm8250: Virtual channels for CSID
    9fb81ca7aa05 media: camss: Replace hard coded value with parameter
    8ef9b32f20ab MIPS: KVM: Fix a build warning about variable set but not used
    6ddaca6b20f7 lockdep: Fix block chain corruption
    61747778a88b USB: dwc3: qcom: fix ACPI platform device leak
    027472889970 USB: dwc3: qcom: fix resource leaks on probe deferral
    e26c6febac43 nvmet: nul-terminate the NQNs passed in the connect command
    b5d50c6a609d afs: Fix file locking on R/O volumes to operate in local mode
    84ebfbed3ae0 afs: Return ENOENT if no cell DNS record can be found
    6aeac88a45de net: axienet: Fix check for partial TX checksum
    293acba84108 amd-xgbe: propagate the correct speed and duplex status
    b3874cc25a70 amd-xgbe: handle the corner-case during tx completion
    e949dbc28cd5 amd-xgbe: handle corner-case during sfp hotplug
    01a8b94726b1 octeontx2-pf: Fix ntuple rule creation to direct packet to VF with higher Rx queue than its PF
    fcc4a03ad3b1 arm/xen: fix xen_vcpu_info allocation alignment
    90072af9efe8 net/smc: avoid data corruption caused by decline
    66c023469b3e net: usb: ax88179_178a: fix failed operations during ax88179_reset
    ba81c5228ef8 ipv4: Correct/silence an endian warning in __ip_do_redirect
    364406d4c114 HID: fix HID device resource race between HID core and debugging support
    52badc06b119 HID: core: store the unique system identifier in hid_device
    221be624a55d drm/rockchip: vop: Fix color for RGB888/BGR888 format on VOP full
    b0c835fd7d89 ata: pata_isapnp: Add missing error check for devm_ioport_map()
    9754a498aa5b octeontx2-pf: Fix memory leak during interface down
    be41c0c4a632 wireguard: use DEV_STATS_INC()
    f163a6d17a95 drm/panel: simple: Fix Innolux G101ICE-L01 timings
    608de3a587eb drm/panel: simple: Fix Innolux G101ICE-L01 bus flags
    18bd108a13cb drm/panel: auo,b101uan08.3: Fine tune the panel power sequence
    9fe5718d3f09 drm/panel: boe-tv101wum-nl6: Fine tune the panel power sequence
    c8a49336e1de afs: Make error on cell lookup failure consistent with OpenAFS
    ac239fccf5a5 afs: Fix afs_server_list to be cleaned up with RCU
    a78d278e01b1 Linux 5.15.140
    947c9e12ddd6 driver core: Release all resources during unbind before updating device links
    5a434d5c3823 Input: xpad - add VID for Turtle Beach controllers
    cbc7c29dff0f tracing: Have trace_event_file have ref counters
    1dcf90c9fa01 powerpc/powernv: Fix fortify source warnings in opal-prd.c
    3d7912710e5e io_uring/fdinfo: lock SQ thread while retrieving thread cpu/pid
    595b051c83a1 drm/amd/display: Change the DMCUB mailbox memory location from FB to inbox
    a2a6e97c4b33 drm/amdgpu: fix error handling in amdgpu_bo_list_get()
    e380992c479b drm/amdgpu: don't use ATRM for external devices
    4ff985b8810c drm/i915: Fix potential spectre vulnerability
    ea0c4d5ec57f drm/amd/pm: Handle non-terminated overdrive commands.
    9ce842d7762a ext4: add missed brelse in update_backups
    ce19c20064b6 ext4: remove gdb backup copy for meta bg in setup_new_flex_group_blocks
    ac45d8e34bed ext4: correct the start block of counting reserved clusters
    8f9842c4b925 ext4: correct return value of ext4_convert_meta_bg
    8798d3b2722d ext4: correct offset of gdb backup in non meta_bg group to update_backups
    8a3bb38bfdaf ext4: apply umask if ACL support is disabled
    d5c380149b96 Revert "net: r8169: Disable multicast filter for RTL8168H and RTL8107E"
    6ad3d8594d5e media: qcom: camss: Fix missing vfe_lite clocks check
    e0376cf06950 media: qcom: camss: Fix VFE-17x vfe_disable_output()
    8f733387d17f media: qcom: camss: Fix vfe_get() error jump
    841fc648fbb5 media: qcom: camss: Fix pm_domain_on sequence in probe
    4c9c43f79a12 mmc: sdhci-pci-gli: GL9750: Mask the replay timer timeout of AER
    72bf271c5a77 r8169: fix network lost after resume on DASH systems
    468e3ebf4786 mm: kmem: drop __GFP_NOFAIL when allocating objcg vectors
    0387978fda07 mmc: sdhci-pci-gli: A workaround to allow GL9750 to enter ASPM L1.2
    070b3ccb9b8b riscv: kprobes: allow writing to x0
    cd0e9f475a46 nfsd: fix file memleak on client_opens_release
    114c9d732cf9 media: ccs: Correctly initialise try compose rectangle
    6c8aeeb2c549 media: venus: hfi: add checks to handle capabilities from firmware
    cdeb0a4cf327 media: venus: hfi: fix the check to handle session buffer requirement
    7d62570f75fe media: venus: hfi_parser: Add check to keep the number of codecs within range
    d0d831e7d68d media: sharp: fix sharp encoding
    6003733c8f95 media: lirc: drop trailing space from scancode transmit
    e4088d7d8f11 f2fs: avoid format-overflow warning
    12055238d046 i2c: i801: fix potential race in i801_block_transaction_byte_by_byte
    336e6db5c120 net: phylink: initialize carrier state at creation
    d8cb287d31cb net: dsa: lan9303: consequently nested-lock physical MDIO
    656262cb0f95 net: ethtool: Fix documentation of ethtool_sprintf()
    acca20cc16f3 s390/ap: fix AP bus crash on early config change callback invocation
    019b7d42a416 i2c: designware: Disable TX_EMPTY irq while waiting for block length byte
    c6e89348fd58 sbsa_gwdt: Calculate timeout with 64-bit math
    132670ae9ffb lsm: fix default return value for inode_getsecctx
    223196b50605 lsm: fix default return value for vm_enough_memory
    06d320ca170b Revert "i2c: pxa: move to generic GPIO recovery"
    ddec3d04f874 Revert ncsi: Propagate carrier gain/loss events to the NCSI controller
    ad0b74d0f331 powerpc/pseries/ddw: simplify enable_ddw()
    b3e993de400e arm64: dts: qcom: ipq6018: Fix tcsr_mutex register size
    b99ac20612ca arm64: dts: qcom: ipq6018: switch TCSR mutex to MMIO
    aaf0a07d6088 ksmbd: fix slab out of bounds write in smb_inherit_dacl()
    1c701423bb03 Bluetooth: btusb: Add 0bda:b85b for Fn-Link RTL8852BE
    36a573b32550 Bluetooth: btusb: Add RTW8852BE device 13d3:3570 to device tables
    c4976160a0a4 bluetooth: Add device 13d3:3571 to device tables
    603e77e9e8c0 bluetooth: Add device 0bda:887b to device tables
    e9bb966c50a7 Bluetooth: btusb: Add Realtek RTL8852BE support ID 0x0cb8:0xc559
    cf642ee641ce cpufreq: stats: Fix buffer overflow detection in trans_stats()
    63e09cdfe948 regmap: Ensure range selector registers are updated after cache sync
    0c49e74e95bf tty: serial: meson: fix hard LOCKUP on crtscts mode
    6f26b6a61b08 serial: meson: Use platform_get_irq() to get the interrupt
    450fa8bf803f ALSA: hda/realtek - Enable internal speaker of ASUS K6500ZC
    cc549ba50bb8 ALSA: hda/realtek - Add Dell ALC295 to pin fall back table
    767c988771cb ALSA: info: Fix potential deadlock at disconnection
    09022ae66261 xhci: Enable RPM on controllers that support low-power states
    68574fe2e488 parisc/pgtable: Do not drop upper 5 address bits of physical address
    ea7593c18ff7 parisc: Prevent booting 64-bit kernels on PA1.x machines
    2c9092e8b29a i3c: master: svc: fix SDA keep low when polling IBIWON timeout happen
    da754f92fc02 i3c: master: svc: fix check wrong status register in irq handler
    5ba77b6b45d6 i3c: master: svc: fix ibi may not return mandatory data byte
    e0a70ed4a580 i3c: master: svc: fix wrong data return when IBI happen during start frame
    7383675aba2f i3c: master: svc: fix race condition in ibi work thread
    cc7efd1054f4 i3c: master: cdns: Fix reading status register
    d3c6a08c2b77 mtd: cfi_cmdset_0001: Byte swap OTP info
    a4668088128d mm/memory_hotplug: use pfn math in place of direct struct page manipulation
    792a796085cf mm/cma: use nth_page() in place of direct struct page manipulation
    9b59fc31226e s390/cmma: fix detection of DAT pages
    45bb94aab891 dmaengine: stm32-mdma: correct desc prep when channel running
    91659b77e937 mcb: fix error handling for different scenarios when parsing
    534790fde890 tracing: Have the user copy of synthetic event address use correct context
    f6237afabc34 i2c: core: Run atomic i2c xfer when !preemptible
    931aa7154bc4 kernel/reboot: emergency_restart: Set correct system_state
    7a3424c3b76a quota: explicitly forbid quota files from being encrypted
    47f509832168 jbd2: fix potential data lost in recovering journal raced with synchronizing fs bdev
    f13e1ea45699 ASoC: codecs: wsa-macro: fix uninitialized stack variables with name prefix
    28436d8092ad selftests/resctrl: Reduce failures due to outliers in MBA/MBM tests
    6ce63598a1fb selftests/resctrl: Remove duplicate feature check from CMT test
    e90efe17fc07 netfilter: nf_tables: split async and sync catchall in two functions
    0d9506c766c9 netfilter: nf_tables: remove catchall element in GC sync path
    96fc7a50a278 PCI: keystone: Don't discard .probe() callback
    e0d394df9812 PCI: keystone: Don't discard .remove() callback
    f4f12667167c KEYS: trusted: Rollback init_trusted() consistently
    c407ff72fb3a genirq/generic_chip: Make irq_remove_generic_chip() irqdomain aware
    bc8a14e3c630 mmc: meson-gx: Remove setting of CMD_CFG_ERROR
    3a51e6b4da71 wifi: ath11k: fix htt pktlog locking
    426e718ce9ba wifi: ath11k: fix dfs radar event locking
    e9d84413b1b7 wifi: ath11k: fix temperature event locking
    5ff849948c11 ima: detect changes to the backing overlay file
    4584a421a6d9 ima: annotate iint mutex to avoid lockdep false positive warnings
    4049576c639f ACPI: FPDT: properly handle invalid FPDT subtables
    628e76e684c8 firmware: qcom_scm: use 64-bit calling convention only when client is 64-bit
    6eb8c191e360 btrfs: don't arbitrarily slow down delalloc if we're committing
    0b99626b28ca rcu: kmemleak: Ignore kmemleak false positives when RCU-freeing objects
    71f5344f477c PM: hibernate: Clean up sync_read handling in snapshot_write_next()
    57dbc0eb8abe PM: hibernate: Use __get_safe_page() rather than touching the list
    87a30633b5d3 arm64: dts: qcom: ipq6018: Fix hwlock index for SMEM
    ebaee06a7292 rcu/tree: Defer setting of jiffies during stall reset
    057d1034d012 svcrdma: Drop connection after an RDMA Read error
    541b3757fd44 wifi: wilc1000: use vmm_table as array in wilc struct
    b156f62f19da PCI: exynos: Don't discard .remove() callback
    f88796721002 PCI/ASPM: Fix L1 substate handling in aspm_attr_store_common()
    467864d55b52 mmc: sdhci_am654: fix start loop index for TAP value parsing
    ef34a97bb9cb mmc: vub300: fix an error code
    36adb6204cff clk: qcom: ipq6018: drop the CLK_SET_RATE_PARENT flag from PLL clocks
    090b167b2c41 clk: qcom: ipq8074: drop the CLK_SET_RATE_PARENT flag from PLL clocks
    18640a1818f1 clk: socfpga: Fix undefined behavior bug in struct stratix10_clock_data
    4d17b54c9be3 parisc/pdc: Add width field to struct pdc_model
    936c9c10efae arm64: Restrict CPU_BIG_ENDIAN to GNU as or LLVM IAS 15.x or newer
    8b24bb54bf3a ACPI: resource: Do IRQ override on TongFang GMxXGxx
    5619c34d3c4c watchdog: move softlockup_panic back to early_param
    a6c3a1fe09a2 PCI/sysfs: Protect driver's D3cold preference from user space
    01975bee0a14 hvc/xen: fix event channel handling for secondary consoles
    cfd543c10871 hvc/xen: fix error path in xen_hvc_init() to always register frontend driver
    730e08cb9101 hvc/xen: fix console unplug
    fa0b93a3de40 tty/sysrq: replace smp_processor_id() with get_cpu()
    92e6c0f00d38 audit: don't WARN_ON_ONCE(!current->mm) in audit_exe_compare()
    e29c095f1ad4 audit: don't take task_lock() in audit_exe_compare() code path
    5eb6519f483e KVM: x86: Ignore MSR_AMD64_TW_CFG access
    1c49ef7041f2 KVM: x86: hyper-v: Don't auto-enable stimer on write from user-space
    fe6b461c37cb x86/cpu/hygon: Fix the CPU topology evaluation for real
    3a2adf48d8b1 crypto: x86/sha - load modules based on CPU features
    be079aa71a12 scsi: qla2xxx: Fix system crash due to bad pointer access
    6ba3569f78d3 scsi: megaraid_sas: Increase register read retry rount from 3 to 30 for selected registers
    6a33b5810031 scsi: mpt3sas: Fix loop logic
    3c5aede46cdc bpf: Fix precision tracking for BPF_ALU | BPF_TO_BE | BPF_END
    403470431b15 bpf: Fix check_stack_write_fixed_off() to correctly spill imm
    ba115f6c3a8c randstruct: Fix gcc-plugin performance mode to stay in group
    2771fac4382b powerpc/perf: Fix disabling BHRB and instruction sampling
    7e450cc9ad54 media: venus: hfi: add checks to perform sanity on queue pointers
    1566e8be73fd i915/perf: Fix NULL deref bugs with drm_dbg() calls
    35c17257ef09 xfs: Fix unreferenced object reported by kmemleak in xfs_sysfs_init()
    5db146322b17 xfs: fix memory leak in xfs_errortag_init
    c540284d8488 xfs: fix exception caused by unexpected illegal bestcount in leaf dir
    5212d586e76f xfs: avoid a UAF when log intent item recovery fails
    ba179cc12109 xfs: fix inode reservation space for removing transaction
    b7847653a2d6 xfs: Fix false ENOSPC when performing direct write on a delalloc extent in cow fork
    92d38b87e886 xfs: add missing cmap->br_state = XFS_EXT_NORM update
    8d0baec78e8a xfs: fix intermittent hang during quotacheck
    76545c0e881b xfs: don't leak memory when attr fork loading fails
    eb888caf27d9 xfs: fix use-after-free in xattr node block inactivation
    4cb3842967e6 xfs: flush inode gc workqueue before clearing agi bucket
    188594c64a1e xfs: prevent a UAF when log IO errors race with unmount
    921c96215850 xfs: use invalidate_lock to check the state of mmap_lock
    efd194800b69 xfs: convert buf_cancel_table allocation to kmalloc_array
    074fee186931 xfs: don't leak xfs_buf_cancel structures when recovery fails
    b8effd31a862 xfs: refactor buffer cancellation table allocation
    4968c2aa6a1f cifs: fix check of rc in function generate_smb3signingkey
    8d725bf0d16d cifs: spnego: add ';' in HOST_KEY_LEN
    21accf149161 tools/power/turbostat: Enable the C-state Pre-wake printing
    0045c1ff7ac0 tools/power/turbostat: Fix a knl bug
    5bcce23f387b macvlan: Don't propagate promisc change to lower dev in passthru
    7574b5e65e92 net/mlx5e: Check return value of snprintf writing to fw_version buffer for representors
    55553c5b53ae net/mlx5e: Reduce the size of icosq_str
    51655fd35703 net/mlx5e: Fix pedit endianness
    a990dd7410ec net/mlx5e: Refactor mod header management API
    39f95b1d0d8f net/mlx5e: Move mod hdr allocation to a single place
    c0f37a3715cb net/mlx5e: Remove incorrect addition of action fwd flag
    6974fd92d5f1 net/mlx5e: fix double free of encap_header in update funcs
    f3c4a7044201 net/mlx5e: fix double free of encap_header
    931e9e8e30bf net: stmmac: fix rx budget limit check
    b8b514b2a6cd netfilter: nf_tables: fix pointer math issue in nft_byteorder_eval()
    25da0f582119 netfilter: nf_tables: add and use BE register load-store helpers
    a48f6be5bdb7 netfilter: nf_tables: use the correct get/put helpers
    7d3901bf3baa netfilter: nf_conntrack_bridge: initialize err to 0
    75bcfc188abf af_unix: fix use-after-free in unix_stream_read_actor()
    0b480c654ef2 net: ethernet: cortina: Fix MTU max setting
    097588e20c6b net: ethernet: cortina: Handle large frames
    f9269b274cdf net: ethernet: cortina: Fix max RX frame define
    53064e8239dd bonding: stop the device in bond_setup_by_slave()
    cda210a4bdf7 ptp: annotate data-race around q->head and q->tail
    b67d16b2373b xen/events: fix delayed eoi list handling
    8531a4194e59 ppp: limit MRU to 64K
    9ae82308d184 tipc: Fix kernel-infoleak due to uninitialized TLV value
    359c65daf6b5 net: hns3: fix VF wrong speed and duplex issue
    406be003d698 net: hns3: fix VF reset fail issue
    cfc131b078a3 net: hns3: fix variable may not initialized problem in hns3_init_mac_addr()
    070581829c1a net: hns3: fix incorrect capability bit display for copper port
    a3c65cf7854d net: hns3: add barrier in vf mailbox reply process
    e671d8203758 net: hns3: add byte order conversion for PF to VF mailbox message
    bb0f14257c04 net: hns3: refine the definition for struct hclge_pf_to_vf_msg
    1d8f66d4060a net: hns3: fix add VLAN fail issue
    4b3b2541d40e tty: Fix uninit-value access in ppp_sync_receive()
    1f64cad3ac38 ipvlan: add ipvlan_route_v6_outbound() helper
    6c71b9b177c6 net: set SOCK_RCU_FREE before inserting socket into hashtable
    427165421c25 net: inet: Retire port only listening_hash
    be1ceb8b7c58 net: inet: Open code inet_hash2 and inet_unhash2
    bb9bcf47fba7 net: inet: Remove count from inet_listen_hashbucket
    de634368e079 mptcp: listen diag dump support
    870f438aca56 mptcp: diag: switch to context structure
    be020f658c63 gfs2: Silence "suspicious RCU usage in gfs2_permission" warning
    194454afa6aa SUNRPC: Fix RPC client cleaned up the freed pipefs dentries
    319ed0cba164 NFSv4.1: fix SP4_MACH_CRED protection for pnfs IO
    809684f5b388 SUNRPC: Add an IS_ERR() check back to where it was
    46d6b768072b SUNRPC: ECONNRESET might require a rebind
    a7032d4d6499 media: cec: meson: always include meson sub-directory in Makefile
    16e78f28517d media: cadence: csi2rx: Unregister v4l2 async notifier
    20c2ca9abb78 sched/core: Optimize in_task() and in_interrupt() a bit
    9894c58c1777 tracing/perf: Add interrupt_context_level() helper
    48fef664d7e9 tracing: Reuse logic from perf's get_recursion_context()
    670b3e902f62 wifi: iwlwifi: Use FW rate for non-data frames
    a7ee519e8095 pwm: Fix double shift bug
    7054366cd076 drm/amdgpu: fix software pci_unplug on some chips
    e48a5e78d077 drm/qxl: prevent memory leak
    0835e7f296ca ASoC: ti: omap-mcbsp: Fix runtime PM underflow warnings
    38ada2f304f6 i2c: dev: copy userspace array safely
    610244988f32 kgdb: Flush console before entering kgdb on panic
    4e497f1acd99 drm/amd/display: Avoid NULL dereference of timing generator
    5e0b788fb96b media: imon: fix access to invalid resource for the second interface
    ae6bcafe1f6b media: ccs: Fix driver quirk struct documentation
    d01b0ad79ecd media: cobalt: Use FIELD_GET() to extract Link Width
    03ce0655bf8e gfs2: fix an oops in gfs2_permission
    5bfda356e903 gfs2: ignore negated quota changes
    16631907d013 media: vivid: avoid integer overflow
    09cd8b561aa9 media: gspca: cpia1: shift-out-of-bounds in set_flicker
    39c71357e68e i3c: master: mipi-i3c-hci: Fix a kernel panic for accessing DAT_data.
    72775cad7f57 virtio-blk: fix implicit overflow on virtio_max_dma_size
    f7f3bdb225e3 i2c: sun6i-p2wi: Prevent potential division by zero
    d23ad76f240c i3c: mipi-i3c-hci: Fix out of bounds access in hci_dma_irq_handler
    e6fbad3cc880 9p: v9fs_listxattr: fix %s null argument warning
    a18be976be41 9p/trans_fd: Annotate data-racy writes to file::f_flags
    2cc5e191d671 usb: gadget: f_ncm: Always set current gadget in ncm_bind()
    6c80f48912b5 tty: vcc: Add check for kstrdup() in vcc_probe()
    2ff61106d6b4 exfat: support handle zero-size directory
    c86a3007a685 HID: Add quirk for Dell Pro Wireless Keyboard and Mouse KM5221W
    3453f945af89 PCI: Use FIELD_GET() in Sapphire RX 5600 XT Pulse quirk
    0a93a0f99a09 misc: pci_endpoint_test: Add Device ID for R-Car S4-8 PCIe controller
    03dbd6a9ea4e PCI: Disable ATS for specific Intel IPU E2000 devices
    a9a0b3444845 PCI: Extract ATS disabling to a helper function
    fe511d24418a PCI: Use FIELD_GET() to extract Link Width
    56d78b5495eb scsi: libfc: Fix potential NULL pointer dereference in fc_lport_ptp_setup()
    37a51e7f36b7 atm: iphase: Do PCI error checks on own line
    f05ae00106aa PCI: tegra194: Use FIELD_GET()/FIELD_PREP() with Link Width fields
    631a96e9eb42 ALSA: hda: Fix possible null-ptr-deref when assigning a stream
    1c805b9cd2e3 ARM: 9320/1: fix stack depot IRQ stack filter
    8d25ec69f8f1 HID: lenovo: Detect quirk-free fw on cptkbd and stop applying workaround
    64f062baf202 jfs: fix array-index-out-of-bounds in diAlloc
    da3da5e1e6f7 jfs: fix array-index-out-of-bounds in dbFindLeaf
    1f74d336990f fs/jfs: Add validity check for db_maxag and db_agpref
    5f148b16972e fs/jfs: Add check for negative db_l2nbperpage
    e1d1f79b1929 scsi: ibmvfc: Remove BUG_ON in the case of an empty event pool
    f0bfc8a5561f scsi: hisi_sas: Set debugfs_dir pointer to NULL after removing debugfs
    5904dee70771 RDMA/hfi1: Use FIELD_GET() to extract Link Width
    546c1796ad1e crypto: pcrypt - Fix hungtask for PADATA_RESET
    bc443a199f8c ASoC: soc-card: Add storage for PCI SSID
    9f2082067c5f selftests/efivarfs: create-read: fix a resource leak
    428cad17f53b arm64: dts: ls208xa: use a pseudo-bus to constrain usb dma size
    174f62a0aa15 drm/amdgpu: Fix a null pointer access when the smc_rreg pointer is NULL
    3f7a400d5e80 drm/amdkfd: Fix shift out-of-bounds issue
    300589d551d4 drm/panel: st7703: Pick different reset sequence
    eaa03ea366c8 drm/amdgpu/vkms: fix a possible null pointer dereference
    84c923d89890 drm/panel/panel-tpo-tpg110: fix a possible null pointer dereference
    2381f6b628b3 drm/panel: fix a possible null pointer dereference
    c11cf5e117f5 drm/amdgpu: Fix potential null pointer derefernce
    a237675aa1e6 drm/amd: Fix UBSAN array-index-out-of-bounds for Polaris and Tonga
    acdb6830de02 drm/amd: Fix UBSAN array-index-out-of-bounds for SMU7
    829ce8e995a8 drm/msm/dp: skip validity check for DP CTS EDID checksum
    689b33b94f09 drm: vmwgfx_surface.c: copy user-array safely
    22260dabcfe3 kernel: watch_queue: copy user-array safely
    d4f2c09d4672 kernel: kexec: copy user-array safely
    24b17d530c42 string.h: add array-wrappers for (v)memdup_user()
    3a3a6dc9a330 drm/amd/display: use full update for clip size increase of large plane source
    7d43cdd22cd8 drm/amdkfd: Fix a race condition of vram buffer unref in svm code
    eea81424c5b8 drm/komeda: drop all currently held locks if deadlock happens
    812886866be6 platform/x86: thinkpad_acpi: Add battery quirk for Thinkpad X120e
    ba7088769800 Bluetooth: Fix double free in hci_conn_cleanup
    f9de14bde56d Bluetooth: btusb: Add date->evt_skb is NULL check
    a43cf6acf017 wifi: ath10k: Don't touch the CE interrupt registers after power up
    6f42bd243327 net: annotate data-races around sk->sk_dst_pending_confirm
    19ab5fd26441 net: annotate data-races around sk->sk_tx_queue_mapping
    f3be63f7a8ee wifi: ath10k: fix clang-specific fortify warning
    02a0547b8da0 wifi: ath9k: fix clang-specific fortify warnings
    cf353904a828 bpf: Detect IP == ksym.end as part of BPF program
    c29a89b23f67 atl1c: Work around the DMA RX overflow issue
    21a0f310a9f3 wifi: mac80211: don't return unset power in ieee80211_get_tx_power()
    3073e38086d0 wifi: mac80211_hwsim: fix clang-specific fortify warning
    e8e55fa44435 x86/mm: Drop the 4 MB restriction on minimal NUMA node memory size
    f9d3ba62e87b workqueue: Provide one lock class key per work_on_cpu() callsite
    0a5b512d526c clocksource/drivers/timer-atmel-tcb: Fix initialization on SAM9 hardware
    465b88c0873b clocksource/drivers/timer-imx-gpt: Fix potential memory leak
    fd0df3f87192 perf/core: Bail out early if the request AUX area is out of bound
    e89d0ed45a41 locking/ww_mutex/test: Fix potential workqueue corruption
    2a910f4af54d Linux 5.15.139
    3443337acd37 btrfs: use u64 for buffer sizes in the tree search ioctls
    f9f5e8cecba9 Revert "mmc: core: Capture correct oemid-bits for eMMC cards"
    824829c2c6b4 tracing/kprobes: Fix the order of argument descriptions
    560680f745fc fbdev: fsl-diu-fb: mark wr_reg_wa() static
    8e4b510fe917 fbdev: imsttfb: fix a resource leak in probe
    3648582181b6 fbdev: imsttfb: Fix error path of imsttfb_probe()
    30959f9f4540 spi: spi-zynq-qspi: add spi-mem to driver kconfig dependencies
    9cf044cc36c1 ASoC: hdmi-codec: register hpd callback on component probe
    705e5a28ec1d drm/syncobj: fix DRM_SYNCOBJ_WAIT_FLAGS_WAIT_AVAILABLE
    0ca05fae2790 netfilter: nat: fix ipv6 nat redirect with mapped and scoped addresses
    1652f57f02eb netfilter: nft_redir: use `struct nf_nat_range2` throughout and deduplicate eval call-backs
    d28c17abe098 netfilter: xt_recent: fix (increase) ipv6 literal buffer length
    f30567fcbc4d i2c: iproc: handle invalid slave state
    38f5ac54b917 r8169: respect userspace disabling IFF_MULTICAST
    fd01115b033c blk-core: use pr_warn_ratelimited() in bio_check_ro()
    b80148710983 block: remove unneeded return value of bio_check_ro()
    d8d94d6b3bd3 tg3: power down device only on SYSTEM_POWER_OFF
    5ea06a23f8f4 net/smc: put sk reference if close work was canceled
    884606f8283c net/smc: allow cdc msg send rather than drop it with NULL sndbuf_desc
    a62af7146daa net/smc: fix dangling sock under state SMC_APPFINCLOSEWAIT
    866606826f16 selftests: pmtu.sh: fix result checking
    2d117ac1b8f8 net: stmmac: xgmac: Enable support for multiple Flexible PPS outputs
    95a99ac112c5 Fix termination state for idr_for_each_entry_ul()
    70ef755f126b net: r8169: Disable multicast filter for RTL8168H and RTL8107E
    0dad0e75d62b dccp/tcp: Call security_inet_conn_request() after setting IPv6 addresses.
    c340713bdf32 dccp: Call security_inet_conn_request() after setting IPv4 addresses.
    d1b7e6562a4c octeontx2-pf: Fix holes in error code
    f60297ef59d4 octeontx2-pf: Fix error codes
    794d360b1d65 inet: shrink struct flowi_common
    8943083bbb64 bpf: Check map->usercnt after timer->timer is assigned
    3907b89cd17f tipc: Change nla_policy for bearer-related names to NLA_NUL_STRING
    a1a485e45d24 hsr: Prevent use after free in prp_create_tagged_frame()
    352887b3edd0 llc: verify mac len before reading mac header
    303766bb92c5 Input: synaptics-rmi4 - fix use after free in rmi_unregister_function()
    741e4c15d7c0 pwm: brcmstb: Utilize appropriate clock APIs in suspend/resume
    895ac9a21f69 pwm: sti: Reduce number of allocations and drop usage of chip_data
    db64ddddeeec regmap: prevent noinc writes from clobbering cache
    004d4002534e media: dvb-usb-v2: af9035: fix missing unlock
    a0beda184756 media: cedrus: Fix clock/reset sequence
    980be4c3b0d5 media: vidtv: mux: Add check and kfree for kstrdup
    d17269fb9161 media: vidtv: psi: Add check for kstrdup
    db89f551b706 media: s3c-camif: Avoid inappropriate kfree()
    51c94256a83f media: bttv: fix use after free error due to btv->timeout timer
    d3937f9e25d9 media: i2c: max9286: Fix some redundant of_node_put() calls
    9d060f2fc40c pcmcia: ds: fix possible name leak in error path in pcmcia_device_add()
    24e9df588e2e pcmcia: ds: fix refcount leak in pcmcia_device_add()
    24e73ab542c7 pcmcia: cs: fix possible hung task and memory leak pccardd()
    b3eaa0d43c74 rtc: pcf85363: fix wrong mask/val parameters in regmap_update_bits call
    20bd0198bebd cxl/mem: Fix shutdown order
    d48fe8d98171 i3c: Fix potential refcount leak in i3c_master_register_new_i3c_devs
    855d6fb2cc7b 9p/net: fix possible memory leak in p9_check_errors()
    0d456ebaad30 perf hist: Add missing puts to hist__account_cycles
    924e8d0b7645 perf machine: Avoid out of bounds LBR memory read
    76b0eab987c4 usb: host: xhci-plat: fix possible kernel oops while resuming
    c9c4dab06a5a xhci: Loosen RPM as default policy to cover for AMD xHC 1.1
    92c9ef156431 powerpc/pseries: fix potential memory leak in init_cpu_associativity()
    516235e7b35f powerpc/imc-pmu: Use the correct spinlock initializer.
    945dc61d7840 powerpc/xive: Fix endian conversion size
    bce31a2bcb1e powerpc/40x: Remove stale PTE_ATOMIC_UPDATES macro
    1308e55eb09c modpost: fix tee MODULE_DEVICE_TABLE built on big-endian host
    863a9c3fdec2 powerpc: Only define __parse_fpscr() when required
    01f62c6bd2db f2fs: fix to initialize map.m_pblk in f2fs_precache_extents()
    dfebea7114e0 dmaengine: pxa_dma: Remove an erroneous BUG_ON() in pxad_free_desc()
    72f8fa6c4b78 USB: usbip: fix stub_dev hub disconnect
    168697f15a53 tools: iio: iio_generic_buffer ensure alignment
    a61c3c647ffd misc: st_core: Do not call kfree_skb() under spin_lock_irqsave()
    732aa0cb2601 dmaengine: ti: edma: handle irq_of_parse_and_map() errors
    2941a29fe9d6 usb: chipidea: Simplify Tegra DMA alignment code
    58e8316b200b usb: chipidea: Fix DMA overwrite for Tegra
    fcaafb574fc8 usb: dwc2: fix possible NULL pointer dereference caused by driver concurrency
    c956be5641cc dmaengine: idxd: Register dsa_bus_type before registering idxd sub-drivers
    ca46d7ce1fbe livepatch: Fix missing newline character in klp_resolve_symbols()
    b77f7c025e85 tty: tty_jobctrl: fix pid memleak in disassociate_ctty()
    e9f598a5cc9a f2fs: compress: fix to avoid redundant compress extension
    8c4504cc0c64 f2fs: compress: fix to avoid use-after-free on dic
    ca0aae3837a6 leds: trigger: ledtrig-cpu:: Fix 'output may be truncated' issue for 'cpu'
    206a972511a8 leds: pwm: Don't disable the PWM when the LED should be off
    893eedf596dd leds: turris-omnia: Do not use SMBUS calls
    aec3706971b3 leds: turris-omnia: Drop unnecessary mutex locking
    c9a4f13c58f1 mfd: arizona-spi: Set pdata.hpdet_channel for ACPI enumerated devs
    63a99d7b57b4 mfd: dln2: Fix double put in dln2_probe
    2742c860e0b7 mfd: core: Ensure disabled devices are skipped without aborting
    94eb5423d75e mfd: core: Un-constify mfd_cell.of_reg
    8890d4d5f25e ASoC: ams-delta.c: use component after check
    a2ae48bd82ee crypto: qat - fix deadlock in backlog processing
    0dd34a7ad395 padata: Fix refcnt handling in padata_free_shell()
    93e4aa8545ab ASoC: Intel: Skylake: Fix mem leak when parsing UUIDs fails
    cd1c2df64d6b HID: logitech-hidpp: Move get_wireless_feature_index() check to hidpp_connect_event()
    99893b7c4592 HID: logitech-hidpp: Revert "Don't restart communication if not necessary"
    5f2f38602583 HID: logitech-hidpp: Don't restart IO, instead defer hid_connect() only
    1f80041c5867 HID: logitech-hidpp: Remove HIDPP_QUIRK_NO_HIDINPUT quirk
    d3b196a1da3e Revert "HID: logitech-hidpp: add a module parameter to keep firmware gestures"
    6885e5ffa09d sh: bios: Revive earlyprintk support
    b0c25e957f9b hid: cp2112: Fix IRQ shutdown stopping polling for all IRQs on chip
    d06dc0f99f72 RDMA/hfi1: Workaround truncation compilation error
    086cd44204bb scsi: ufs: core: Leave space for '\0' in utf8 desc string
    a0f1999090b3 ASoC: fsl: Fix PM disable depth imbalance in fsl_easrc_probe
    904fc0103776 RDMA/hns: The UD mode can only be configured with DCQCN
    9f8db02d30ad RDMA/hns: Fix signed-unsigned mixed comparisons
    2de683e27e1d RDMA/hns: Fix uninitialized ucmd in hns_roce_create_qp_common()
    611260e36f16 IB/mlx5: Fix rdma counter binding for RAW QP
    922b2693b9af ASoC: fsl: mpc5200_dma.c: Fix warning of Function parameter or member not described
    001f90cd9d2f ext4: move 'ix' sanity check to corrent position
    c24a3c9e373e ARM: 9321/1: memset: cast the constant byte to unsigned char
    012d0c66f939 hid: cp2112: Fix duplicate workqueue initialization
    1ce09238e8e8 crypto: qat - increase size of buffers
    62df66b726f9 crypto: caam/jr - fix Chacha20 + Poly1305 self test failure
    61f25d4686bf crypto: caam/qi2 - fix Chacha20 + Poly1305 self test failure
    66eb7b7f23dd nd_btt: Make BTT lanes preemptible
    6563e0f79d63 libnvdimm/of_pmem: Use devm_kstrdup instead of kstrdup and check its return value
    d4ad0c1a83ce scsi: ibmvfc: Fix erroneous use of rtas_busy_delay with hcall return code
    b79c7d684c3f RDMA/core: Use size_{add,sub,mul}() in calls to struct_size()
    a5c83c8043d7 hwrng: geode - fix accessing registers
    a8607725b20a crypto: hisilicon/hpre - Fix a erroneous check after snprintf()
    b01b9dc5487a selftests/resctrl: Ensure the benchmark commands fits to its array
    2d2300fcf8f6 selftests/pidfd: Fix ksft print formats
    8bc9c9447489 arm64: dts: imx8mn: Add sound-dai-cells to micfil node
    1abd658492b5 arm64: dts: imx8mm: Add sound-dai-cells to micfil node
    cf7abb54f8b1 arm64: dts: imx8qm-ss-img: Fix jpegenc compatible entry
    8704bf18a888 clk: scmi: Free scmi_clk allocated when the clocks with invalid info are skipped
    bdb0428aa294 firmware: arm_ffa: Assign the missing IDR allocation ID to the FFA device
    b0ffdc164365 firmware: ti_sci: Mark driver as non removable
    995ee1e84e8d soc: qcom: llcc: Handle a second device without data corruption
    19b8098f73c6 ARM: dts: qcom: mdm9615: populate vsdcc fixed regulator
    a8ab88f84b89 arm64: dts: qcom: apq8016-sbc: Add missing ADV7533 regulators
    ddc0df81eeac ARM64: dts: marvell: cn9310: Use appropriate label for spi1 pins
    12d9de01c09c arm64: dts: qcom: sdm845-mtp: fix WiFi configuration
    690b89255971 arm64: dts: qcom: sc7280: Add missing LMH interrupts
    2a4cce4168f7 arm64: dts: qcom: msm8992-libra: drop duplicated reserved memory
    eb9daf47806b arm64: dts: qcom: msm8916: Fix iommu local address range
    541640dcbf48 ARM: dts: renesas: blanche: Fix typo in GP_11_2 pin name
    0e1e88bba286 perf: hisi: Fix use-after-free when register pmu fails
    4067d39f3c57 drm: mediatek: mtk_dsi: Fix NO_EOT_PACKET settings/handling
    a6a6f70aedca drm/msm/dsi: use msm_gem_kernel_put to free TX buffer
    aea6f32a4318 xen-pciback: Consider INTx disabled when MSI/MSI-X is enabled
    e588ca45bf55 drm/rockchip: Fix type promotion bug in rockchip_gem_iommu_map()
    a00a293d57a5 arm64/arm: xen: enlighten: Fix KPTI checks
    d0d01bb4a560 drm/bridge: lt9611uxc: fix the race in the error path
    29aba28ea195 drm/bridge: lt9611uxc: Register and attach our DSI device at probe
    f53a04579328 drm/bridge: lt9611uxc: Switch to devm MIPI-DSI helpers
    517a5137a57b drm/rockchip: cdn-dp: Fix some error handling paths in cdn_dp_probe()
    865ccd4ca674 drm/mediatek: Fix iommu fault during crtc enabling
    8e3c8253b34f drm/mediatek: Fix iommu fault by swapping FBs after updating plane state
    e11e339faa11 drm/amdkfd: fix some race conditions in vram buffer alloc/free of svm code
    30cb99e09648 drm/bridge: tc358768: Fix bit updates
    1cd4ae681a6a drm/bridge: tc358768: Disable non-continuous clock mode
    c13591b859be drm/bridge: tc358768: Fix use of uninitialized variable
    d78bddd94b80 drm/bridge: lt8912b: Add missing drm_bridge_attach call
    5cc2bc519afd drm/bridge: lt8912b: Manually disable HPD only if it was enabled
    42071feab712 drm/bridge: lt8912b: Fix crash on bridge detach
    d9217286d0ab drm/bridge: lt8912b: Fix bridge_detach
    cc3057958c5c drm/bridge: lt8912b: Add hot plug detection
    ef4a40953c80 drm/bridge: lt8912b: Register and attach our DSI device at probe
    3580b8a01305 drm/bridge: lt8912b: Switch to devm MIPI-DSI helpers
    52541851a8d1 drm/mipi-dsi: Create devm device attachment
    a20d6ecd261a drm/mipi-dsi: Create devm device registration
    347f025a02b3 drm/radeon: possible buffer overflow
    b163b371d741 drm/rockchip: vop: Fix call to crtc reset helper
    9a96bed1df7b drm/rockchip: vop: Fix reset of state in duplicate state crtc funcs
    1b0bc99cf316 hwmon: (coretemp) Fix potentially truncated sysfs attribute name
    b3e7eb23a6e9 hwmon: (axi-fan-control) Fix possible NULL pointer dereference
    e0bf076b734a platform/x86: wmi: Fix opening of char device
    c57e81d5e538 platform/x86: wmi: remove unnecessary initializations
    2ca4e461a298 platform/x86: wmi: Fix probe failure when failing to register WMI devices
    f75e11f54d98 clk: qcom: config IPQ_APSS_6018 should depend on QCOM_SMEM
    d1175cf4bd2b clk: mediatek: clk-mt2701: Add check for mtk_alloc_clk_data
    e964d21dc034 clk: mediatek: clk-mt7629: Add check for mtk_alloc_clk_data
    c4070ada5d51 clk: mediatek: clk-mt7629-eth: Add check for mtk_alloc_clk_data
    3aefc6fcfbad clk: mediatek: clk-mt6797: Add check for mtk_alloc_clk_data
    ca6d565a2319 clk: mediatek: clk-mt6779: Add check for mtk_alloc_clk_data
    533ca5153ad6 clk: mediatek: clk-mt6765: Add check for mtk_alloc_clk_data
    e531e4e73734 clk: npcm7xx: Fix incorrect kfree
    761c2a690d8f clk: ti: fix double free in of_ti_divider_clk_setup()
    1c37faca0908 clk: ti: change ti_clk_register[_omap_hw]() API
    28b72fba1e19 clk: ti: Update component clocks to use ti_dt_clk_name()
    c4bffed2e52b clk: ti: Update pll and clockdomain clocks to use ti_dt_clk_name()
    9b5e9d8bf9a6 clk: ti: Add ti_dt_clk_name() helper to use clock-output-names
    f45fff806ebb clk: keystone: pll: fix a couple NULL vs IS_ERR() checks
    7ff8ca9beefb spi: nxp-fspi: use the correct ioremap function
    26206c858dae clk: renesas: rzg2l: Fix computation formula
    1966bf2a79e6 clk: renesas: rzg2l: Use FIELD_GET() for PLL register fields
    7ece2efa87af clk: renesas: rzg2l: Simplify multiplication/shift logic
    e2239f716529 clk: imx: imx8qxp: Fix elcdif_pll clock
    7d416973cd12 clk: imx: imx8mq: correct error handling path
    608ebb098b79 clk: imx: Select MXC_CLK for CLK_IMX8QXP
    8861b2925a84 clk: qcom: gcc-sm8150: Fix gcc_sdcc2_apps_clk_src
    76e8f00f54a8 clk: qcom: mmcc-msm8998: Fix the SMMU GDSC
    56c4bb46a5a0 clk: qcom: mmcc-msm8998: Don't check halt bit on some branch clks
    0881d24cf5ca clk: qcom: clk-rcg2: Fix clock rate overflow for high parent frequencies
    b64683f5d728 spi: tegra: Fix missing IRQ check in tegra_slink_probe()
    b13e8b38be51 regmap: debugfs: Fix a erroneous check after snprintf()
    8fafac407346 ipvlan: properly track tx_errors
    3eedc19a9d0f net: add DEV_STATS_READ() helper
    359bce81b841 ipv6: avoid atomic fragment on GSO packets
    6b413d52f6ab ACPI: sysfs: Fix create_pnp_modalias() and create_of_modalias()
    32aaa3b98789 wifi: iwlwifi: empty overflow queue during flush
    0e3ad00be4e8 wifi: iwlwifi: pcie: synchronize IRQs before NAPI
    a8ebe549e0ce wifi: iwlwifi: call napi_synchronize() before freeing rx/tx queues
    627a3b3f5c80 iwlwifi: pcie: adjust to Bz completion descriptor
    0d91506a40ec tcp: fix cookie_init_timestamp() overflows
    4f6e904ed4e3 chtls: fix tp->rcv_tstamp initialization
    5d7bec7ae4db r8169: fix rare issue with broken rx after link-down on RTL8125
    e143a3c82d33 r8169: use tp_to_dev instead of open code
    3a8f4e58e1ee thermal: core: prevent potential string overflow
    bfd4ed4988aa netfilter: nf_tables: Drop pointless memset when dumping rules
    80986257d2cd PM / devfreq: rockchip-dfi: Make pmu regmap mandatory
    826120c9ba68 can: dev: can_put_echo_skb(): don't crash kernel if can_priv::echo_skb is accessed out of bounds
    28e9e015916e can: dev: can_restart(): fix race condition between controller restart and netif_carrier_on()
    ada4dc4788f1 can: dev: can_restart(): don't crash kernel if carrier is OK
    d4eb4182a823 wifi: rtlwifi: fix EDCA limit set by BT coexistence
    2027e74150ee tcp_metrics: do not create an entry from tcp_init_metrics()
    3f7cb7c47ce0 tcp_metrics: properly set tp->snd_ssthresh in tcp_init_metrics()
    ca7b6fa9e61a tcp_metrics: add missing barriers on delete
    227709a0e47c wifi: mt76: mt7603: improve stuck beacon handling
    eab5b0aa5065 mt76: pass original queue id from __mt76_tx_queue_skb to the driver
    75336a762539 mt76: add support for overriding the device used for DMA mapping
    77b2ab5cd1a4 mt76: dma: use kzalloc instead of devm_kzalloc for txwi
    064b32f18db1 wifi: mt76: mt7603: rework/fix rx pse hang check
    1afbb9ececd3 wifi: rtw88: debug: Fix the NULL vs IS_ERR() bug for debugfs_create_file()
    ebcbf5f5e047 net: spider_net: Use size_add() in call to struct_size()
    56e7424c6efc tipc: Use size_add() in calls to struct_size()
    3e51efcb2909 mlxsw: Use size_mul() in call to struct_size()
    dc3fef310732 gve: Use size_add() in call to struct_size()
    70f032db8516 tcp: call tcp_try_undo_recovery when an RTOd TFO SYNACK is ACKed
    a2d540c74549 udp: add missing WRITE_ONCE() around up->encap_rcv
    8f7eef3a13df selftests/bpf: Correct map_fd to data_fd in tailcalls
    3eefb2fbf4ec selftests/bpf: Test tail call counting with bpf2bpf and data on stack
    ab91992ec4d4 i40e: fix potential memory leaks in i40e_remove()
    702742373650 genirq/matrix: Exclude managed interrupts in irq_matrix_allocated()
    379b120e4f27 pstore/platform: Add check for kstrdup
    81b8638e4ef4 x86/boot: Fix incorrect startup_gdt_descr.size
    c7e8c7452e5a x86/sev-es: Allow copy_from_kernel_nofault() in earlier boot
    0b5da8ce0f18 x86: Share definition of __is_canonical_address()
    90b263db856d futex: Don't include process MM in futex key on no-MMU
    f0d6e5841172 x86/srso: Fix SBPB enablement for (possible) future fixed HW
    565f9337b68e writeback, cgroup: switch inodes with dirty timestamps to release dying cgwbs
    2bb46b20825d vfs: fix readahead(2) on block devices
    20195f87db19 sched: Fix stop_one_cpu_nowait() vs hotplug
    13cde955e52e sched/uclamp: Ignore (util == 0) optimization in feec() when p_util_max = 0
    cc6198ff20c0 iov_iter, x86: Be consistent about the __user tag on copy_mc_to_user()
    80529b4968a8 Linux 5.15.138
    3d8344a7c4a3 ALSA: hda: intel-dsp-config: Fix JSL Chromebook quirk detection
    f049c0c0037d misc: pci_endpoint_test: Add deviceID for J721S2 PCIe EP device support
    28b8ad8ccecd tty: 8250: Add Brainboxes Oxford Semiconductor-based quirks
    44c4dfac3f02 tty: 8250: Add support for Intashield IX cards
    d541ccb34de2 tty: 8250: Add support for additional Brainboxes PX cards
    60debc01fcbb tty: 8250: Fix up PX-803/PX-857
    1f5649aed527 tty: 8250: Fix port count of PX-257
    3fe3cc63c730 tty: 8250: Add support for Intashield IS-100
    a5b6390fd609 tty: 8250: Add support for Brainboxes UP cards
    738fe41b6443 tty: 8250: Add support for additional Brainboxes UC cards
    ff6059c3d234 tty: 8250: Remove UC-257 and UC-431
    81a4dd5e6c78 tty: n_gsm: fix race condition in status line change on dead connections
    e25197747f0e usb: raw-gadget: properly handle interrupted requests
    e5f53a68a596 usb: typec: tcpm: Fix NULL pointer dereference in tcpm_pd_svdm()
    7c4855b22a3f usb: storage: set 1.50 as the lower bcdDevice for older "Super Top" compatibility
    c48aae53850c PCI: Prevent xHCI driver from claiming AMD VanGogh USB3 DRD device
    6628c3627c02 drm/amd: Disable ASPM for VI w/ all Intel systems
    b6c3c7786e24 drm/amd: Move helper for dynamic speed switch check out of smu13
    9015169f00ee can: isotp: isotp_sendmsg(): fix TX state detection and wait behavior
    d72ff6478323 can: isotp: isotp_bind(): do not validate unused address information
    e163ad6a8639 can: isotp: add local echo tx processing and tx without FC
    b4e78ea26638 can: isotp: handle wait_event_interruptible() return values
    2fc6f337257f can: isotp: check CAN address family in isotp_bind()
    f8c3bd211cf3 can: isotp: isotp_bind(): return -EINVAL on incorrect CAN ID formatting
    615c4dd64050 can: isotp: set max PDU size to 64 kByte
    6627b96851f1 powerpc/mm: Fix boot crash with FLATMEM
    f0f998648887 r8152: Check for unplug in r8153b_ups_en() / r8153c_ups_en()
    78c939a88729 r8152: Check for unplug in rtl_phy_patch_request()
    51cc28ce742e net: chelsio: cxgb4: add an error code check in t4_load_phy_fw
    bbc926199321 platform/mellanox: mlxbf-tmfifo: Fix a warning message
    db4416ea3a5d scsi: mpt3sas: Fix in error path
    d48b2e8189d5 fbdev: uvesafb: Call cn_del_callback() at the end of uvesafb_exit()
    e39440c3268b drm/ttm: Reorder sys manager cleanup step
    aade33d3d9bb ASoC: rt5650: fix the wrong result of key button
    fa32e21c0568 netfilter: nfnetlink_log: silence bogus compiler warning
    dfcbb983eb6e spi: npcm-fiu: Fix UMA reads when dummy.nbytes == 0
    64ae128b095d fs/ntfs3: Avoid possible memory leak
    27a0bed1285e fs/ntfs3: Fix directory element type detection
    94524980ee75 fs/ntfs3: Fix NULL pointer dereference on error in attr_allocate_frame()
    2de328398b50 fs/ntfs3: Fix possible NULL-ptr-deref in ni_readpage_cmpr()
    962a3d3d731c fs/ntfs3: Use kvmalloc instead of kmalloc(... __GFP_NOWARN)
    393966e79ba1 fs/ntfs3: Write immediately updated ntfs state
    59e629fc7157 fs/ntfs3: Add ckeck in ni_update_parent()
    738a3adc7c8b fbdev: atyfb: only use ioremap_uc() on i386 and ia64
    afef8af919d2 Input: synaptics-rmi4 - handle reset delay when using SMBus trsnsport
    abc62fc06d4a powerpc/85xx: Fix math emulation exception
    4bdde4dca00e dmaengine: ste_dma40: Fix PM disable depth imbalance in d40_probe
    39d2c10367a8 irqchip/stm32-exti: add missing DT IRQ flag translation
    c57aef9075e0 irqchip/riscv-intc: Mark all INTC nodes as initialized
    eb99b6e204cd net: sched: cls_u32: Fix allocation size in u32_init()
    5e78ebe7c1db ASoC: simple-card: fixup asoc_simple_probe() error handling
    65fd21aa3805 x86: Fix .brk attribute in linker script
    d4c8bf5635c4 rpmsg: Fix possible refcount leak in rpmsg_register_device_override()
    a82e0fda8a2f rpmsg: glink: Release driver_override
    bfd4a664ddfb rpmsg: Fix calling device_lock() on non-initialized device
    2e76b4f6218c rpmsg: Fix kfree() of static memory on setting driver_override
    5c0da71871d3 rpmsg: Constify local variable in field store macro
    389190b25472 driver: platform: Add helper for safer setting of driver_override
    37ffa428d58c objtool/x86: add missing embedded_insn check
    f031e15d0bb8 ext4: avoid overlapping preallocations due to overflow
    f2c3a3aa6f11 ext4: fix BUG in ext4_mb_new_inode_pa() due to overflow
    7a992726f727 ext4: add two helper functions extent_logical_end() and pa_logical_end()
    9e78e7709f7d x86/mm: Fix RESERVE_BRK() for older binutils
    d3201c718058 x86/mm: Simplify RESERVE_BRK()
    897b56acf126 x86/i8259: Skip probing when ACPI/MADT advertises PCAT compatibility
    77db87c4a4ed gve: Fix GFP flags when allocing pages
    8b424bdf6c9c iio: afe: rescale: Accept only offset channels
    c1eeb494f684 iio: afe: rescale: add offset support
    7c76b7db5521 iio: afe: rescale: expose scale processing function
    c60671502dc2 iio: afe: rescale: reorder includes
    27dd09f5ec7f clk: Sanitize possible_parent_show to Handle Return Value of of_clk_get_parent_name
    c27ca4aebbee sparc32: fix a braino in fault handling in csum_and_copy_..._user()
    21b07a2e6095 perf/core: Fix potential NULL deref
    6efd498009b9 nvmem: imx: correct nregs for i.MX6UL
    0c2948118c34 nvmem: imx: correct nregs for i.MX6SLL
    6e22bf6f00d5 nvmem: imx: correct nregs for i.MX6ULL
    e0f95b831b4a misc: fastrpc: Clean buffers on remote invocation failures
    c4957f00f9e2 tracing/kprobes: Fix the description of variable length arguments
    cdc57093b470 i2c: aspeed: Fix i2c bus hang in slave read
    e97d374a2506 i2c: stm32f7: Fix PEC handling in case of SMBUS transfers
    2766a872103b i2c: muxes: i2c-demux-pinctrl: Use of_get_i2c_adapter_by_node()
    48b58f7469e5 i2c: muxes: i2c-mux-gpmux: Use of_get_i2c_adapter_by_node()
    cb65e692765b i2c: muxes: i2c-mux-pinctrl: Use of_get_i2c_adapter_by_node()
    eace761f35a1 iio: adc: xilinx-xadc: Correct temperature offset/scale for UltraScale
    70322a446ef2 iio: adc: xilinx-xadc: Don't clobber preset voltage/temperature thresholds
    3c1312b5d49a iio: exynos-adc: request second interupt only when touchscreen mode is used
    4e14f2d5885f kasan: print the original fault addr when access invalid shadow
    bdfa4fa7588d i40e: Fix wrong check for I40E_TXR_FLAGS_WB_ON_ITR
    d5c175f4cea6 gtp: fix fragmentation needed check with gso
    c0dad0c0924c gtp: uapi: fix GTPA_MAX
    852fb4ce426d tcp: fix wrong RTO timeout when received SACK reneging
    83cfa3b51a78 r8152: Release firmware if we have an error in probe
    e0f9231ccd6c r8152: Cancel hw_phy_work if we have an error in probe
    ff42b0a55659 r8152: Run the unload routine if we have errors during probe
    6fa3b9f9478e r8152: Increase USB control msg timeout to 5000ms as per spec
    76873f2eadc0 net: usb: smsc95xx: Fix uninit-value access in smsc95xx_read_reg
    6afd112c3f95 net: ieee802154: adf7242: Fix some potential buffer overflow in adf7242_stats_show()
    46cd35e4e774 igc: Fix ambiguity in the ethtool advertising
    49529413eaed neighbour: fix various data-races
    667554946360 igb: Fix potential memory leak in igb_add_ethtool_nfc_entry
    263421905346 treewide: Spelling fix in comment
    bc0c4bc119d2 i40e: Fix I40E_FLAG_VF_VLAN_PRUNING value
    c532c5df01ad r8169: fix the KCSAN reported data race in rtl_rx while reading desc->opts1
    6afb294c88c6 r8169: fix the KCSAN reported data-race in rtl_tx while reading TxDescArray[entry].opts1
    9d7b3838428c r8169: fix the KCSAN reported data-race in rtl_tx() while reading tp->cur_tx
    04dbfa4122e0 firmware/imx-dsp: Fix use_after_free in imx_dsp_setup_channels()
    0d587b86cd0d drm/dp_mst: Fix NULL deref in get_mst_branch_device_by_guid_helper()
    8860f0175e51 vsock/virtio: initialize the_virtio_vsock before using VQs
    762c251c7f5c vsock/virtio: add support for device suspend/resume
    1e02df6f6907 vsock/virtio: factor our the code to initialize and delete VQs
    15a8cac3c250 drm/i915/pmu: Check if pmu is closed before stopping event
    43bd431a5dd9 nfsd: lock_rename() needs both directories to live on the same fs
    556b68d9b95f mm/migrate: fix do_pages_move for compat pointers
    c4071c6114de mm/page_alloc: correct start page when guard page debug is enabled
    3a6cee2bfb53 vhost: Allow null msg.size on VHOST_IOTLB_INVALIDATE
    fbc9a8718f31 virtio-mmio: fix memory leak of vm_dev
    862a356bc986 virtio_balloon: Fix endless deflation and inflation on arm64
    41bb770e42bc mcb-lpc: Reallocate memory region to avoid memory overlapping
    f2ac8b2643dd mcb: Return actual parsed size when reading chameleon table
    90918ef995b5 mptcp: more conservative check for zero probes
    fd2b2dab6f5b tcp: cleanup tcp_remove_empty_skb() use
    68342755b9b2 tcp: remove dead code from tcp_sendmsg_locked()
    0f482ad7b1a5 pinctrl: qcom: lpass-lpi: fix concurrent register updates
    51b054f6fe01 ASoC: codecs: wcd938x: fix runtime PM imbalance on remove
    cb34f4e79e54 ASoC: codecs: wcd938x: fix resource leaks on bind errors
    12952a23a5da Linux 5.15.137
    dff33880d40a xfrm6: fix inet6_dev refcount underflow problem
    5a9d05a4f1c3 Bluetooth: hci_sock: Correctly bounds check and pad HCI_MON_NEW_INDEX name
    a6df96ee0b45 Bluetooth: hci_sock: fix slab oob read in create_monitor_event
    c08d609fb2b6 phy: mapphone-mdm6600: Fix pinctrl_pm handling for sleep pins
    e1b030b101f6 phy: mapphone-mdm6600: Fix runtime PM for remove
    59f1095ab58e phy: mapphone-mdm6600: Fix runtime disable on probe
    b618062c0b13 serial: 8250: omap: Move uart_write() inside PM section
    67f29cd2f851 ASoC: pxa: fix a memory leak in probe()
    76d04c339508 gpio: vf610: set value before the direction to avoid a glitch
    4b129e3964b3 platform/x86: asus-wmi: Map 0x2a code, Ignore 0x2b and 0x2c events
    e1a058cc2467 platform/x86: asus-wmi: Change ASUS_WMI_BRN_DOWN code from 0x20 to 0x2e
    c6bbe51dcdf3 platform/surface: platform_profile: Propagate error if profile registration fails
    a73c8d716938 s390/cio: fix a memleak in css_alloc_subchannel
    c8b6c2df1e7d selftests/ftrace: Add new test case which checks non unique symbol
    3ad81e6affcb s390/pci: fix iommu bitmap allocation
    71d224acc4d1 perf: Disallow mis-matched inherited group reads
    5aa89a11a2a6 USB: serial: option: add Fibocom to DELL custom modem FM101R-GL
    8c376d863618 USB: serial: option: add entry for Sierra EM9191 with new firmware
    483221216176 USB: serial: option: add Telit LE910C4-WWX 0x1035 composition
    e750fb71dc6a nvme-rdma: do not try to stop unallocated queues
    a9fd6d44abbc nvme-pci: add BOGUS_NID for Intel 0a54 device
    071382bda1da ACPI: irq: Fix incorrect return value in acpi_register_gsi()
    431a5010bce2 NFSv4.1: fixup use EXCHGID4_FLAG_USE_PNFS_DS for DS server
    5762e72ef1b0 pNFS: Fix a hang in nfs4_evict_inode()
    5a3abee2eee9 Revert "pinctrl: avoid unsafe code pattern in find_pinctrl()"
    24959825377f mmc: core: Capture correct oemid-bits for eMMC cards
    8041e7b7e7e9 mmc: core: sdio: hold retuning if sdio in 1-bit mode
    262029c0c58c mmc: mtk-sd: Use readl_poll_timeout_atomic in msdc_reset_hw
    3e363db1c13a mtd: physmap-core: Restore map_rom fallback
    71823463b1b2 mtd: spinand: micron: correct bitmask for ecc status
    a50d2f17d562 mtd: rawnand: arasan: Ensure program page operations are successful
    ae53c92e928c mtd: rawnand: marvell: Ensure program page operations are successful
    c0ca2ab23098 mtd: rawnand: pl353: Ensure program page operations are successful
    a7070628043e mtd: rawnand: qcom: Unmap the right resource upon probe failure
    3f928d1362f7 net: fix ifname in netlink ntf during netns move
    ac43ec299a6f net: move from strlcpy with unused retval to strscpy
    30e2db403032 net: introduce a function to check if a netdev name is in use
    38ba5479355b Bluetooth: hci_event: Fix using memcmp when comparing keys
    3b2da6d62b42 net/mlx5: Handle fw tracer change ownership event based on MTRC
    f6e263824539 platform/x86: touchscreen_dmi: Add info for the Positivo C4128B
    ca56d8afe648 HID: multitouch: Add required quirk for Synaptics 0xcd7e device
    ca5bec7ecf26 btrfs: error out when reallocating block for defrag using a stale transaction
    2692fd37aaf4 btrfs: error when COWing block from a root that is being deleted
    ef491d9560d9 btrfs: error out when COWing block using a stale transaction
    f89ed0a09673 btrfs: fix some -Wmaybe-uninitialized warnings in ioctl.c
    df486b75feca drm: panel-orientation-quirks: Add quirk for One Mix 2S
    d5ba30ee4f6d ipv4/fib: send notify when delete source address routes
    9d07b7abd277 sky2: Make sure there is at least one frag_addr available
    f652eb4adf27 regulator/core: Revert "fix kobject release warning and memory leak in regulator_register()"
    aa77b187b1f0 wifi: cfg80211: avoid leaking stack data into trace
    30a2285a2e18 wifi: mac80211: allow transmitting EAPOL frames with tainted key
    b64eb31a1b53 wifi: cfg80211: Fix 6GHz scan configuration
    bbec1724519e Bluetooth: hci_core: Fix build warnings
    02b0e6991838 Bluetooth: Avoid redundant authentication
    38681af225b6 Bluetooth: btusb: add shutdown function for QCA6174
    e6e9a32c3e60 HID: holtek: fix slab-out-of-bounds Write in holtek_kbd_input_event
    06aabf7715da wifi: iwlwifi: Ensure ack flag is properly cleared.
    6063f6f64fa4 wifi: mwifiex: Sanity check tlv_len and tlv_bitmap_len
    59ebfeb7b319 tracing: relax trace_event_eval_update() execution with cond_resched()
    3d85fb391fa7 ata: libata-eh: Fix compilation warning in ata_eh_link_report()
    89e3cc1b0703 ata: libata-core: Fix compilation warning in ata_dev_config_ncq()
    137c658ea3ce gpio: timberdale: Fix potential deadlock on &tgpio->lock
    68f106c2b2ab overlayfs: set ctime when setting mtime and atime
    ef3c62e2f0f1 i2c: mux: Avoid potential false error message in i2c_mux_add_adapter
    e2f64f3eebaa btrfs: initialize start_slot in btrfs_log_prealloc_extents
    266dab0ce42d btrfs: return -EUCLEAN for delayed tree ref with a ref count not equals to 1
    bc424f18fbdc fs-writeback: do not requeue a clean inode having skipped pages
    92609823592c ARM: dts: ti: omap: Fix noisy serial with overrun-throttle-ms for mapphone
    3898d8d685ab ksmbd: not allow to open file if delelete on close bit is set
    d3dc26c4fdc2 nfp: flower: avoid rmmod nfp crash issues
    6c52b1215904 mctp: perform route lookups under a RCU read-side lock
    db3f17e571e8 mctp: Allow local delivery to the null EID
    29017ab1a539 powerpc/47x: Fix 47x syscall return crash
    558ee0fafd40 powerpc/32s: Do kuep_lock() and kuep_unlock() in assembly
    d00f4ae3accf powerpc/32s: Remove capability to disable KUEP at boottime
    fcb3f09e8173 drm/atomic-helper: relax unregistered connector check
    403d201d1fd1 perf/x86/lbr: Filter vsyscall addresses
    419ac18d8808 perf/x86: Move branch classifier
    030099bc9115 perf: Add irq and exception return branch types
    ae80d5290c14 iio: adc: ad7192: Correct reference voltage
    569a126f244b iio: cros_ec: fix an use-after-free in cros_ec_sensors_push_data()
    a9c471892d75 iio: core: introduce iio_device_{claim|release}_buffer_mode() APIs
    eafbb1966152 iio: core: Hide read accesses to iio_dev->currentmode
    919721348c04 iio: Un-inline iio_buffer_enabled()
    7f74bc91eb00 serial: 8250_omap: Fix errors with no_console_suspend
    d67d831e1dbc serial: 8250: omap: Fix imprecise external abort for omap_8250_pm()
    aff3019b553e selftests/mm: fix awk usage in charge_reserved_hugetlb.sh and hugetlb_reparenting_test.sh that may cause error
    4f1d3d1ca500 net: pktgen: Fix interface flags printing
    8bdf95e29f86 netfilter: nf_tables: revert do not remove elements if set backend implements .abort
    cc19daa037f5 netfilter: nf_tables: do not remove elements if set backend implements .abort
    db33720697c8 netfilter: nft_set_rbtree: .deactivate fails if element has expired
    44768cad012c neighbor: tracing: Move pin6 inside CONFIG_IPV6=y section
    b33179dbf3f2 net/sched: sch_hfsc: upgrade 'rt' to 'sc' when it becomes a inner curve
    0426d7bc17b8 bonding: Return pointer to data after pull on skb
    66982023d741 net: dsa: bcm_sf2: Fix possible memory leak in bcm_sf2_mdio_register()
    0ea476863ef7 i40e: prevent crash on probe if hw registers have invalid values
    f9202217a6ea net: usb: smsc95xx: Fix an error code in smsc95xx_reset()
    a2ceb30cc1fc ipv4: fib: annotate races around nh->nh_saddr_genid and nh->nh_saddr
    a270aa7a47db tun: prevent negative ifindex
    9d55719f983d tcp: tsq: relax tcp_small_queue_check() when rtx queue contains a single skb
    8ae344291e38 tcp: fix excessive TLP and RACK timeouts from HZ rounding
    8b6b4ca42a94 net: rfkill: gpio: prevent value glitch during probe
    4df9ba0d7a82 net: ipv6: fix return value check in esp_remove_trailer
    a9651e66d0bd net: ipv4: fix return value check in esp_remove_trailer
    26a3c734cb8a xfrm: interface: use DEV_STATS_INC()
    f8bc4b708b11 xfrm: fix a data-race in xfrm_gen_index()
    b660e58ef72d qed: fix LL2 RX buffer allocation
    d35f398b88a1 ASoC: codecs: wcd938x: fix unbind tear down order
    d182d8ed7b7e ASoC: codecs: wcd938x: drop bogus bind error handling
    8d32a6b67e77 ASoC: codecs: wcd938x-sdw: fix runtime PM imbalance on probe errors
    6df571a6c153 ASoC: codecs: wcd938x-sdw: fix use after free on driver unbind
    36eabe87031f drm/i915: Retry gtt fault when out of fence registers
    34f62612be2a nvmet-tcp: Fix a possible UAF in queue intialization setup
    04e0eef74b8f netfilter: nft_payload: fix wrong mac header matching
    efe43d1bcbcb fs/ntfs3: fix deadlock in mark_as_free_ex
    ab40c7ab7a93 fs/ntfs3: fix panic about slab-out-of-bounds caused by ntfs_list_ea()
    24badb9dd8b8 fs/ntfs3: Fix possible null-pointer dereference in hdr_find_e()
    ff38d2a705e1 tcp: check mptcp-level constraints for backlog coalescing
    582f7993353c x86/sev: Check for user-space IOIO pointing to kernel space
    5c2c01be809d x86/sev: Check IOBM for IOIO exceptions from user-space
    6797c6d09e50 x86/sev: Disable MMIO emulation from user mode
    0b4e772a6a89 KVM: x86: Mask LVTPC when handling a PMI
    f61c43be1eb9 regmap: fix NULL deref on lookup
    ffdc881f6807 nfc: nci: fix possible NULL pointer dereference in send_acknowledge()
    d42aeae14fc4 ice: reset first in crash dump kernels
    e42cecb513af ice: fix over-shifted variable
    f6c093b97761 Bluetooth: avoid memcmp() out of bounds warning
    e5f8b43c9c90 Bluetooth: hci_event: Fix coding style
    1597c1ed0e7d Bluetooth: vhci: Fix race when opening vhci device
    1ef071526848 Bluetooth: Fix a refcnt underflow problem for hci_conn
    dd6b62fdd245 Bluetooth: Reject connection with the device which has same BD_ADDR
    848a05c4423f Bluetooth: hci_event: Ignore NULL link key
    e7a2aa7770d3 xfs: don't expose internal symlink metadata buffers to the vfs
    fe5c6fbc5e4a Documentation: sysctl: align cells in second content column
    1815844652cc lib/Kconfig.debug: do not enable DEBUG_PREEMPT by default
    00c03985402e Linux 5.15.136
    5266b5b6e975 eth: remove remaining copies of the NAPI_POLL_WEIGHT define
    528f0ba9f7a4 usb: hub: Guard against accesses to uninitialized BOS descriptors
    542a3f1a3cc1 Revert "kernel/sched: Modify initial boot task idle setup"
    737ce5518a9c arm64: armv8_deprecated: fix unused-function error
    2e10931e2d77 arm64: armv8_deprecated: rework deprected instruction handling
    abd4aa081905 arm64: armv8_deprecated: move aarch32 helper earlier
    f10abdb04c3d arm64: armv8_deprecated move emulation functions
    0b4eec015fa5 arm64: armv8_deprecated: fold ops into insn_emulation
    a8d2910be6f8 arm64: rework EL0 MRS emulation
    057f9123b1a8 arm64: factor insn read out of call_undef_hook()
    3f82927cabaf arm64: factor out EL1 SSBS emulation hook
    474385adcd84 arm64: split EL0/EL1 UNDEF handlers
    de0358635401 arm64: allow kprobes on EL0 handlers
    7154e2db8890 arm64: rework BTI exception handling
    cd5ceadc2b37 arm64: rework FPAC exception handling
    b6358002fd0c arm64: consistently pass ESR_ELx to die()
    7ddb1ef2bb42 arm64: die(): pass 'err' as long
    9a3e177ef570 arm64: report EL1 UNDEFs better
    d6808be3ff94 powerpc/64e: Fix wrong test in __ptep_test_and_clear_young()
    9c0dc3e2c996 powerpc/8xx: Fix pte_access_permitted() for PAGE_NONE
    4da05eba66e6 dmaengine: mediatek: Fix deadlock caused by synchronize_irq()
    82f61b2d5187 dmaengine: idxd: use spin_lock_irqsave before wait_event_lock_irq
    ecba5afe86f3 x86/alternatives: Disable KASAN in apply_alternatives()
    cbd2aac00498 usb: cdnsp: Fixes issue with dequeuing not queued requests
    7014807fb7ef usb: gadget: ncm: Handle decoding of multiple NTB's in unwrap call
    50259cf71a1b usb: gadget: udc-xilinx: replace memcpy with memcpy_toio
    308f19249641 counter: microchip-tcb-capture: Fix the use of internal GCLK logic
    5a6ce81d7c16 pinctrl: avoid unsafe code pattern in find_pinctrl()
    1c790191cab4 cgroup: Remove duplicates in cgroup v1 tasks file
    1680c82929bc tee: amdtee: fix use-after-free vulnerability in amdtee_close_session
    b8ec40a90acd Input: goodix - ensure int GPIO is in input for gpio_count == 1 && gpio_int_idx == 0 case
    d092630e8a20 Input: i8042 - add Fujitsu Lifebook E5411 to i8042 quirk table
    7cea6fa2d73f Input: xpad - add PXN V900 support
    6ff4e50e2d2a Input: psmouse - fix fast_reconnect function for PS/2 mode
    6a4a39638640 Input: powermate - fix use-after-free in powermate_config_complete
    6ad7f52d8c58 ceph: fix type promotion bug on 32bit systems
    c0c4acd53a98 ceph: fix incorrect revoked caps assert in ceph_fill_file_size()
    58f0e6324ec7 libceph: use kernel_connect()
    d727b97f8f2e thunderbolt: Check that lane 1 is in CL0 before enabling lane bonding
    04c38bedd07c thunderbolt: Workaround an IOMMU fault on certain systems with Intel Maple Ridge
    a586742a3780 mcb: remove is_added flag from mcb_device struct
    4382d1a996e5 x86/cpu: Fix AMD erratum #1485 on Zen4-based CPUs
    763167003a80 ACPI: resource: Skip IRQ override on ASUS ExpertBook B1402CBA
    510d4a01d84c drm/amd/display: Don't set dpms_off for seamless boot
    9cb61ab9f4ca drm/amdgpu: add missing NULL check
    f9a1af37b801 iio: pressure: ms5611: ms5611_prom_is_valid false negative bug
    09b8ed9547f1 iio: pressure: dps310: Adjust Timeout Settings
    4c80ecef859d iio: pressure: bmp280: Fix NULL pointer exception
    a625de7e5464 usb: musb: Modify the "HWVers" register address
    eb28694f6da8 usb: musb: Get the musb_qh poniter after musb_giveback
    ee88141873a8 usb: cdns3: Modify the return value of cdns_set_active () to void when CONFIG_PM_SLEEP is disabled
    3b2dbc4f3302 usb: dwc3: Soft reset phy on probe for host
    42c56e015653 net: usb: dm9601: fix uninitialized variable use in dm9601_mdio_read
    524f45361789 usb: xhci: xhci-ring: Use sysdev for mapping bounce buffer
    1d8e7fe85528 xhci: Keep interrupt disabled in initialization until host is running.
    cb34e3b25c37 dmaengine: stm32-mdma: abort resume if no ongoing transfer
    d56dbfe750a8 media: mtk-jpeg: Fix use after free bug due to uncanceled work
    5e13e69ddf0d net: release reference to inet6_dev pointer
    aade10d51ddc net: change accept_ra_min_rtr_lft to affect all RA lifetimes
    8f12d2d66cba net: add sysctl accept_ra_min_rtr_lft
    bc9f6cbeb999 workqueue: Override implicit ordered attribute in workqueue_apply_unbound_cpumask()
    25dd54b95abf nfc: nci: assert requested protocol is valid
    b2bb3b43b94a pinctrl: renesas: rzn1: Enable missing PINMUX
    c4140dd77c3b net/smc: Fix pos miscalculation in statistics
    d888d3f70b0d net: nfc: fix races in nfc_llcp_sock_get() and nfc_llcp_sock_get_sn()
    249a1fdb95d5 net/mlx5e: Again mutually exclude RX-FCS and RX-port-timestamp
    2112cacb38aa ixgbe: fix crash with empty VF macvlan list
    935a15334d77 net: phy: mscc: macsec: reject PN update requests
    667fe9101a3a net: macsec: indicate next pn update when offloading
    2dcb31e65d26 bpf: Fix verifier log for async callback return values
    6a217af2c67f drm/vmwgfx: fix typo of sizeof argument
    72ef70886556 riscv, bpf: Sign-extend return values
    7795592e0818 riscv, bpf: Factor out emit_call for kernel and bpf context
    58941cc742ca xen-netback: use default TX queue size for vifs
    cffdced18af8 eth: remove copies of the NAPI_POLL_WEIGHT define
    5c360eec5332 mlxsw: fix mlxsw_sp2_nve_vxlan_learning_set() return type
    84c6aa0ae5c4 ieee802154: ca8210: Fix a potential UAF in ca8210_probe
    616761cf9df9 ravb: Fix use-after-free issue in ravb_tx_timeout_work()
    30ebd4177593 ravb: Fix up dma_free_coherent() call in ravb_remove()
    3f39de2bd1d2 drm/msm/dpu: change _dpu_plane_calc_bw() to use u64 to avoid overflow
    85ae07d4dcc6 drm/msm/dsi: fix irq_of_parse_and_map() error checking
    9a890c7d4d0f drm/msm/dsi: skip the wait for video mode done if not applicable
    b9de60b6830c drm/msm/dp: do not reinitialize phy unless retry during link training
    afe5f596b588 KEYS: trusted: Remove redundant static calls usage
    20e73ece06b3 KEYS: trusted: allow use of kernel RNG for key material
    a01d68b6c666 ALSA: usb-audio: Fix microphone sound on Opencomm2 Headset
    5b5e58299eac net: prevent address rewrite in kernel_bind()
    56e96b38d2f7 quota: Fix slow quotaoff
    28ddc1e0b898 HID: logitech-hidpp: Fix kernel crash on receiver USB disconnect
    b930f0f7bbc2 lib/test_meminit: fix off-by-one error in test_pages()
    982bd86fd659 platform/x86: hp-wmi:: Mark driver struct with __refdata to prevent section mismatch warning
    124cf0ea4b82 platform/x86: think-lmi: Fix reference leak
    3d2a16f878f0 of: overlay: Reorder struct fragment fields kerneldoc
    10f4a0b6657e perf/arm-cmn: Fix the unhandled overflow status of counter 4 to 7
    b7966e2191d0 RDMA/cxgb4: Check skb value for failure to allocate
    b9bdffb3f9aa RDMA/srp: Do not call scsi_done() from srp_abort()
    7d4999589ebc scsi: ib_srp: Call scsi_done() directly
    d2746cdfd5e5 scsi: core: Rename scsi_mq_done() into scsi_done() and export it
    8f2350e204da scsi: core: Use a structure member to track the SCSI command submitter
    29298c85a81a iommu/vt-d: Avoid memory allocation in iommu_suspend()
    02e21884dcf2 Linux 5.15.135
    c8af81a9d36e xen/events: replace evtchn_rwlock with RCU
    c346494ec7f1 parisc: Restore __ldcw_align for PA-RISC 2.0 processors
    694e13732e83 ksmbd: fix uaf in smb20_oplock_break_ack
    e914c3a47e45 RDMA/mlx5: Fix NULL string error
    81b7bf367eea RDMA/siw: Fix connection failure handling
    5d8bd138204f RDMA/uverbs: Fix typo of sizeof argument
    60c9ed88526d RDMA/cma: Fix truncation compilation warning in make_cma_ports
    7f6136ced1b8 RDMA/cma: Initialize ib_sa_multicast structure to 0 when join
    1dd6095fc727 gpio: pxa: disable pinctrl calls for MMP_GPIO
    844fcf4c697c gpio: aspeed: fix the GPIO number passed to pinctrl_gpio_set_config()
    1878d6666c32 IB/mlx4: Fix the size of a buffer in add_port_entries()
    718d9b44afca of: dynamic: Fix potential memory leak in of_changeset_action()
    e0878f38b661 RDMA/core: Require admin capabilities to set system parameters
    18a839064fc6 dm zoned: free dmz->ddev array in dmz_put_zoned_devices
    8781fe259dd5 HID: intel-ish-hid: ipc: Disable and reenable ACPI GPE bit
    949ccc91c35b HID: sony: remove duplicate NULL check before calling usb_free_urb()
    a02c02adc2bd sctp: update hb timer immediately after users change hb_interval
    7783b471bfce sctp: update transport state when processing a dupcook packet
    1abac613c0d5 tcp: fix delayed ACKs for MSS boundary condition
    821b3b00bc0f tcp: fix quick-ack counting to count actual ACKs of new data
    24fb22bddb71 tipc: fix a potential deadlock on &tx->lock
    2e53585e233c net: stmmac: dwmac-stm32: fix resume on STM32 MCU
    74e569324050 ipv4: Set offload_failed flag in fibmatch results
    a4b9bbd1d12f netfilter: nf_tables: nft_set_rbtree: fix spurious insertion failure
    88497f74d684 netfilter: handle the connecting collision properly in nf_conntrack_proto_sctp
    0c9cf5e8807f ibmveth: Remove condition to recompute TCP header checksum.
    5a899e2ce848 net: ethernet: ti: am65-cpsw: Fix error code in am65_cpsw_nuss_init_tx_chns()
    4837a192f6d0 net: nfc: llcp: Add lock when modifying device list
    cda10784a176 net: usb: smsc75xx: Fix uninit-value access in __smsc75xx_read_reg
    2801a1ddb26d net: dsa: mv88e6xxx: Avoid EEPROM timeout when EEPROM is absent
    cb145e6c2070 ptp: ocp: Fix error handling in ptp_ocp_device_init
    cd1189956393 ipv4, ipv6: Fix handling of transhdrlen in __ip{,6}_append_data()
    147d89ee4143 net: fix possible store tearing in neigh_periodic_work()
    bdb4fcf18e16 modpost: add missing else to the "of" check
    bc8b89b69638 bpf, sockmap: Reject sk_msg egress redirects to non-TCP sockets
    9fb4dfb8e212 NFSv4: Fix a nfs4_state_manager() race
    fcdd79fda38a ima: rework CONFIG_IMA dependency block
    b67adca1e1be scsi: target: core: Fix deadlock due to recursive locking
    9a103e0b100c ima: Finish deprecation of IMA_TRUSTED_KEYRING Kconfig
    bb6aee0696c6 regmap: rbtree: Fix wrong register marked as in-cache when creating new node
    0cee8c1b3af3 wifi: mt76: mt76x02: fix MT76x0 external LNA gain handling
    3f6fbbccba2d drivers/net: process the result of hdlc_open() and add call of hdlc_close() in uhdlc_close()
    ebad2e4c4847 bpf: Fix tr dereferencing
    5afb996349cb wifi: mwifiex: Fix oob check condition in mwifiex_process_rx_packet
    7c8faa310803 wifi: iwlwifi: mvm: Fix a memory corruption issue
    5db7af530ebd iwlwifi: avoid void pointer arithmetic
    6ff75f524dae wifi: iwlwifi: dbg_ini: fix structure packing
    0ea2a6349733 ubi: Refuse attaching if mtd's erasesize is 0
    bb0707fde749 HID: sony: Fix a potential memory leak in sony_probe()
    8afbacf61919 arm64: Add Cortex-A520 CPU part definition
    0da6d21ba235 drm/amd: Fix detection of _PR3 on the PCIe root port
    1ad7ccd45a65 net: prevent rewrite of msg_name in sock_sendmsg()
    0fb3df94274b net: replace calls to sock->ops->connect() with kernel_connect()
    37b54e8acea5 wifi: mwifiex: Fix tlv_buf_left calculation
    e80f55d6d2a9 qed/red_ll2: Fix undefined behavior bug in struct qed_ll2_info
    1e69422efcc6 vringh: don't use vringh_kiov_advance() in vringh_iov_xfer()
    4e2f83952b1d scsi: zfcp: Fix a double put in zfcp_port_enqueue()
    310bca649b30 Revert "clk: imx: pll14xx: dynamically configure PLL for 393216000/361267200Hz"
    3f59e63568ad block: fix use-after-free of q->q_usage_counter
    b75b017b3f37 rbd: take header_rwsem in rbd_dev_refresh() only when updating
    33229d783466 rbd: decouple parent info read-in from updating rbd_dev
    ab73e7ed79d3 rbd: decouple header read-in from updating rbd_dev->header
    b4ddad3fb0ea rbd: move rbd_dev_refresh() definition
    bb1fae816c90 iommu/arm-smmu-v3: Avoid constructing invalid range commands
    c4edc7b5c836 iommu/arm-smmu-v3: Set TTL invalidation hint better
    a98ad3adf60d arm64: Avoid repeated AA64MMFR1_EL1 register read on pagefault path
    aad6ba1715ec ring-buffer: Fix bytes info in per_cpu buffer stats
    8012d0b05158 ring-buffer: remove obsolete comment for free_buffer_page()
    65a218ca516e NFSv4: Fix a state manager thread deadlock regression
    8454a2f5e930 NFS: rename nfs_client_kset to nfs_kset
    f8b0b6a8e196 NFS: Cleanup unused rpc_clnt variable
    686746be7bfb ASoC: tegra: Fix redundant PLLA and PLLA_OUT0 updates
    0a210e63844b ASoC: soc-utils: Export snd_soc_dai_is_dummy() symbol
    b4f7f1556813 spi: zynqmp-gqspi: fix clock imbalance on probe failure
    e514f897ad66 spi: zynqmp-gqspi: Convert to platform remove callback returning void
    1edcec18cfb7 Linux 5.15.134
    09a683023785 netfilter: nf_tables: fix kdoc warnings after gc rework
    66cb6d74f5a1 drm/meson: fix memory leak on ->hpd_notify callback
    91f1f025b6d9 fs: binfmt_elf_efpic: fix personality for ELF-FDPIC
    1cae7473a6dd ata: libata-sata: increase PMP SRST timeout to 10s
    e74adc589922 ata: libata-core: Do not register PM operations for SAS ports
    4cbd55a81965 ata: libata-core: Fix port and device removal
    ddc525fffb44 ata: libata-core: Fix ata_port_request_pm() locking
    2990a195edb5 net: thunderbolt: Fix TCPv6 GSO checksum calculation
    132a5ae4136b bpf: Fix BTF_ID symbol generation collision in tools/
    58d560e98da5 bpf: Fix BTF_ID symbol generation collision
    f8673f651bc1 btrfs: properly report 0 avail for very full file systems
    b5d00cd7db66 ring-buffer: Update "shortest_full" in polling
    00d2cb8066cb proc: nommu: /proc/<pid>/maps: release mmap read lock
    40527ebb3e45 Revert "SUNRPC dont update timeout value on connection reset"
    a2b1d486fb70 io_uring/fs: remove sqe->rw_flags checking from LINKAT
    111fe77cb13f sched/rt: Fix live lock between select_fallback_rq() and RT push
    3569ad59664f kernel/sched: Modify initial boot task idle setup
    07f78e97676c i2c: i801: unregister tco_pdev in i801_probe() error path
    70df8b9c59bc ata: libata-scsi: ignore reserved bits for REPORT SUPPORTED OPERATION CODES
    a7e0c10a8c33 ALSA: hda: Disable power save for solving pop issue on Lenovo ThinkCentre M70q
    0c5fd85fb01f netfilter: nf_tables: disallow rule removal from chain binding
    3936e8714907 nilfs2: fix potential use after free in nilfs_gccache_submit_read_data()
    2b837f13a818 serial: 8250_port: Check IRQ data before use
    a48d2bcd23f2 Revert "tty: n_gsm: fix UAF in gsm_cleanup_mux"
    78e70c6238d2 misc: rtsx: Fix some platforms can not boot and move the l1ss judgment to probe
    f090a8b4d2e3 x86/srso: Add SRSO mitigation for Hygon processors
    f5a604757aa8 iommu/arm-smmu-v3: Fix soft lockup triggered by arm_smmu_mm_invalidate_range
    efce75bd2dbc Smack:- Use overlay inode label in smack_inode_copy_up()
    0e3450487f99 smack: Retrieve transmuting information in smack_inode_getsecurity()
    3586b3feed1b smack: Record transmuting in smk_transmuted
    9690ad557d94 nvme-pci: always return an ERR_PTR from nvme_pci_alloc_dev
    3c29c6e8cd7c scsi: qla2xxx: Fix NULL pointer dereference in target mode
    6e5e4223c897 i40e: fix potential NULL pointer dereferencing of pf->vf i40e_sync_vsi_filters()
    aff3994d4bdd watchdog: iTCO_wdt: Set NO_REBOOT if the watchdog is not already running
    83a30e945571 watchdog: iTCO_wdt: No need to stop the timer in probe
    1e8c573f50a7 nvme-pci: do not set the NUMA node of device if it has none
    182d13dadb03 nvme-pci: factor out a nvme_pci_alloc_dev helper
    af58072e867c nvme-pci: factor the iod mempool creation into a helper
    c8bc44936f2c cgroup: Fix suspicious rcu_dereference_check() usage warning
    ce6b88a5853d sched/cpuacct: Optimize away RCU read lock
    b1deb155524e perf build: Define YYNOMEM as YYNOABORT for bison < 3.81
    86e65ffc4d0f fbdev/sh7760fb: Depend on FB=y
    4bf0044fe43f ncsi: Propagate carrier gain/loss events to the NCSI controller
    288990ec3580 powerpc/watchpoints: Annotate atomic context in more places
    47a94e87f00c powerpc/watchpoint: Disable pagefaults when getting user instruction
    7eb09f70d9c2 powerpc/watchpoints: Disable preemption in thread_change_pc()
    134b01a39077 media: vb2: frame_vector.c: replace WARN_ONCE with a comment
    baf7cf0fdb83 ASoC: imx-rpmsg: Set ignore_pmdown_time for dai_link
    9da93c74490c bpf: Clarify error expectations from bpf_clone_redirect
    e1a8b79ad768 ASoC: fsl: imx-pcm-rpmsg: Add SNDRV_PCM_INFO_BATCH flag
    45e028accbdf spi: stm32: add a delay before SPI disable
    25850bf83dcd spi: nxp-fspi: reset the FLSHxCR1 registers
    50662d21e414 ata: libata-eh: do not clear ATA_PFLAG_EH_PENDING in ata_eh_reset()
    8e3cdab909db smb3: correct places where ENOTSUPP is used instead of preferred EOPNOTSUPP
    d540a4370aba scsi: pm80xx: Avoid leaking tags when processing OPC_INB_SET_CONTROLLER_CONFIG command
    fde57d7ba9b3 scsi: pm80xx: Use phy-specific SAS address when sending PHY_START command
    a1589abd7c4a drm/amdgpu: Handle null atom context in VBIOS info ioctl
    fd334cfd8412 drm/amd/display: Don't check registers, if using AUX BL control
    a8bc0f6357af platform/mellanox: mlxbf-bootctl: add NET dependency into Kconfig
    344f2f3e61a9 ring-buffer: Do not attempt to read past "commit"
    3db9b420709b selftests: fix dependency checker script
    4aa90e624c30 btrfs: improve error message after failure to add delayed dir index item
    53e7c559b7bf ring-buffer: Avoid softlockup in ring_buffer_resize()
    b4874f72cf57 selftests/ftrace: Correctly enable event in instance-event.tc
    8c5c9ecbfa8d scsi: ufs: core: Move __ufshcd_send_uic_cmd() outside host_lock
    e08e61d50a30 scsi: qedf: Add synchronization between I/O completions and abort
    ada7fcba2d6a parisc: irq: Make irq_stack_union static to avoid sparse warning
    b7e376a26b0c parisc: drivers: Fix sparse warning
    d8c6fad00282 parisc: iosapic.c: Fix sparse warnings
    1ecdcfec4e4a parisc: sba: Fix compile warning wrt list of SBA devices
    bd1ec7f9983b spi: sun6i: fix race between DMA RX transfer completion and RX FIFO drain
    ff05ed4ae214 spi: sun6i: reduce DMA RX transfer width to single byte
    ac0d06809934 dma-debug: don't call __dma_entry_alloc_check_leak() under free_entries_lock
    d938c3d278d5 i2c: npcm7xx: Fix callback completion ordering
    0c615323a745 gpio: pmic-eic-sprd: Add can_sleep flag for PMIC EIC chip
    2a47ee15a6ab soc: imx8m: Enable OCOTP clock for imx8mm before reading registers
    7c59b882b9b3 xtensa: boot/lib: fix function prototypes
    70460e81e2d1 xtensa: boot: don't add include-dirs
    bc51434b6612 xtensa: iss/network: make functions static
    8e0f78a84f64 xtensa: add default definition for XCHAL_HAVE_DIV32
    be57fc50dc3c firmware: imx-dsp: Fix an error handling path in imx_dsp_setup_channels()
    1df81ea9e4db power: supply: ucs1002: fix error code in ucs1002_get_property()
    6937e44ffb91 bus: ti-sysc: Fix SYSC_QUIRK_SWSUP_SIDLE_ACT handling for uart wake-up
    0e75aa86a7d0 ARM: dts: ti: omap: motorola-mapphone: Fix abe_clkctrl warning on boot
    1b39eae11752 ARM: dts: ti: omap: Fix bandgap thermal cells addressing for omap3/4
    fcbf770c66ef ARM: dts: omap: correct indentation
    f5e12de36ab3 treewide: Replace GPLv2 boilerplate/reference with SPDX - gpl-2.0_56.RULE (part 1)
    6829bc7978e0 clk: tegra: fix error return case for recalc_rate
    78277b096d4c bus: ti-sysc: Fix missing AM35xx SoC matching
    5435a49b3b66 bus: ti-sysc: Use fsleep() instead of usleep_range() in sysc_reset()
    c39df101d8ca drm/bridge: ti-sn65dsi83: Do not generate HFP/HBP/HSA and EOT packet
    4bf10fd51ca5 MIPS: Alchemy: only build mmc support helpers if au1xmmc is enabled
    d2640d86876e btrfs: reset destination buffer when read_extent_buffer() gets invalid range
    1a541999f31f scsi: qla2xxx: Use raw_smp_processor_id() instead of smp_processor_id()
    532a23960566 scsi: qla2xxx: Select qpair depending on which CPU post_cmd() gets called
    6642b4eb083b ata: ahci: Add Elkhart Lake AHCI controller
    072611960741 ata: ahci: Rename board_ahci_mobile
    8274154712a0 ata: ahci: Add support for AMD A85 FCH (Hudson D4)
    bd69c74dca70 ata: libata: Rename link flag ATA_LFLAG_NO_DB_DELAY
    f5ba6d9d6bec netfilter: nft_exthdr: Fix non-linear header modification
    7ca3a1b0f474 netfilter: exthdr: add support for tcp option removal
    fb6f65780c9c Input: i8042 - add quirk for TUXEDO Gemini 17 Gen1/Clevo PD70PN
    191fc23cfa9a Input: i8042 - rename i8042-x86ia64io.h to i8042-acpipnpio.h
    5d2b57c0bc40 xfs: fix xfs_inodegc_stop racing with mod_delayed_work
    657f842859c4 xfs: disable reaping in fscounters scrub
    8444467eadb2 xfs: check that per-cpu inodegc workers actually run on that cpu
    67db9ecb84d5 xfs: explicitly specify cpu when forcing inodegc delayed work to run immediately
    99e65f075e6c xfs: introduce xfs_inodegc_push()
    2df381963240 xfs: bound maximum wait time for inodegc work
    08dc21596751 i2c: mux: gpio: Add missing fwnode_handle_put()
    f912d9d87421 i2c: mux: gpio: Replace custom acpi_get_local_address()
    1aa39eee57f6 i2c: mux: demux-pinctrl: check the return value of devm_kstrdup()
    9910b1411e7e gpio: tb10x: Fix an error handling path in tb10x_gpio_probe()
    d7acb7031758 Fix up backport of 136191703038 ("interconnect: Teach lockdep about icc_bw_lock order")
    d645206e9be2 igc: Expose tx-usecs coalesce setting to user
    d7a2bf6faa82 bnxt_en: Flush XDP for bnxt_poll_nitroa0()'s NAPI
    56d2418a079a net: ena: Flush XDP packets on error.
    07b569051f6e locking/seqlock: Do the lockdep annotation before locking in do_write_seqcount_begin_nested()
    a70dbdede0c7 netfilter: ipset: Fix race between IPSET_CMD_CREATE and IPSET_CMD_SWAP
    0dcc9b4097d8 netfilter: nf_tables: disable toggling dormant table state more than once
    ea82139e6e35 net: rds: Fix possible NULL-pointer dereference
    cd05eec2ee0c team: fix null-ptr-deref when team device type is changed
    8bc97117b51d net: bridge: use DEV_STATS_INC()
    0d3939cccb20 net: hns3: add 5ms delay before clear firmware reset irq source
    d6d182d856d0 net: hns3: fix fail to delete tc flower rules during reset issue
    7c47b238f4ec net: hns3: only enable unicast promisc when mac table full
    96af9a55b782 net: hns3: fix GRE checksum offload issue
    13ea4b92e875 x86/srso: Fix SBPB enablement for spec_rstack_overflow=off
    e2c34afe8362 x86/srso: Fix srso_show_state() side effect
    21efa88e777f platform/x86: intel_scu_ipc: Fail IPC send if still busy
    0a5d236b52cf platform/x86: intel_scu_ipc: Don't override scu in intel_scu_ipc_dev_simple_command()
    ab78000c38b4 platform/x86: intel_scu_ipc: Check status upon timeout in ipc_wait_for_interrupt()
    47329633b3f0 platform/x86: intel_scu_ipc: Check status after timeout in busy_loop()
    26df9ab5de30 dccp: fix dccp_v4_err()/dccp_v6_err() again
    3b14e8431855 powerpc/perf/hv-24x7: Update domain value check
    8860d354f653 ipv4: fix null-deref in ipv4_link_failure
    c196ecd3f893 igc: Fix infinite initialization loop with early XDP redirect
    a2d69dcb6ccb ionic: fix 16bit math issue when PAGE_SIZE >= 64KB
    3796e449a03e i40e: Fix VF VLAN offloading when port VLAN is configured
    a628f3b5cd8d i40e: Add VF VLAN pruning
    7a9eee3b5d4d iavf: do not process adminq tasks when __IAVF_IN_REMOVE_TASK is set
    f3c6a17900e8 ASoC: imx-audmix: Fix return error with devm_clk_get()
    f90a7b9586d7 net/core: Fix ETH_P_1588 flow dissector
    55629e616452 selftests: tls: swap the TX and RX sockets in some tests
    acabf5df49aa bpf: Avoid deadlock when using queue and stack maps from NMI
    c6e44f4c31c5 netfilter: nf_tables: disallow element removal on anonymous sets
    6a8de7775329 ASoC: meson: spdifin: start hw on dai probe
    ef99506eaf1d netfilter: nf_tables: fix memleak when more than 255 elements expired
    8d7a00b904da netfilter: nft_set_hash: try later when GC hits EAGAIN on iteration
    83d3a4607c58 netfilter: nft_set_pipapo: stop GC iteration if GC transaction allocation fails
    949369f9f0d9 netfilter: nft_set_pipapo: call nft_trans_gc_queue_sync() in catchall GC
    2e6846b613fa netfilter: nft_set_rbtree: use read spinlock to avoid datapath contention
    9af7dfb3c9d7 netfilter: nft_set_rbtree: skip sync GC for new elements in this transaction
    9366966caf1a netfilter: nf_tables: defer gc run if previous batch is still pending
    082791b42123 netfilter: nf_tables: use correct lock to protect gc_list
    b44a459c6561 netfilter: nf_tables: GC transaction race with abort path
    24707fa1e1f9 netfilter: nf_tables: GC transaction race with netns dismantle
    6796800f0d8e netfilter: nf_tables: fix GC transaction races with netns and netlink event exit path
    af78b0489e88 netfilter: nf_tables: don't fail inserts if duplicate has expired
    8f24fe69e3ca netfilter: nf_tables: remove busy mark and gc batch API
    b290795bd26f netfilter: nft_set_hash: mark set element as dead when deleting from packet path
    479a2cf52593 netfilter: nf_tables: adapt set backend to use GC transaction API
    d19e8bf3ea41 netfilter: nf_tables: GC transaction API to avoid race with control plane
    7c7e658a36f8 netfilter: nf_tables: don't skip expired elements during walk
    a2d1125ee04e tracing: Have event inject files inc the trace array ref count
    6b6c088c38f7 ext4: do not let fstrim block system suspend
    a9d3bb58da95 ext4: move setting of trimmed bit into ext4_try_to_trim_range()
    d91abea15c61 ext4: replace the traditional ternary conditional operator with with max()/min()
    656f0495e4ac ext4: change s_last_trim_minblks type to unsigned long
    be57857fb3c3 ext4: scope ret locally in ext4_try_to_trim_range()
    e832b55881a1 ata: libahci: clear pending interrupt status
    f6189f373151 ata: ahci: Drop pointless VPRINTK() calls and convert the remaining ones
    fa6d449e4d02 tracing: Increase trace array ref count on enable and filter files
    7a688f191a17 tracing: Make trace_marker{,_raw} stream-like
    68fc0e75c793 NFSv4.1: fix pnfs MDS=DS session trunking
    0ff78c455494 NFSv4.1: use EXCHGID4_FLAG_USE_PNFS_DS for DS server
    d381bfe13895 SUNRPC: Mark the cred for revalidation if the server rejects it
    f1c434ddafe6 NFS/pNFS: Report EINVAL errors from connect() to the server
    0c0a7e1f2a6a NFS: More fixes for nfs_direct_write_reschedule_io()
    a354b4a367f5 NFS: Use the correct commit info in nfs_join_page_group()
    b911329317b4 Linux 5.15.133
    e3a29b80e9e6 interconnect: Teach lockdep about icc_bw_lock order
    c6244cd00c97 drm/amd/display: enable cursor degamma for DCN3+ DRM legacy gamma
    08569c92f7f3 net/sched: Retire rsvp classifier
    6b080fa8aae1 drm/amdgpu: fix amdgpu_cs_p1_user_fence
    6386a2d4dc01 drm/amd/display: fix the white screen issue when >= 64GB DRAM
    e04b7073bdce ext4: fix rec_len verify error
    93763d58705a scsi: pm8001: Setup IRQs on resume
    72a22696cf19 scsi: megaraid_sas: Fix deadlock on firmware crashdump
    54603e8a88bc ata: libata: disallow dev-initiated LPM transitions to unsupported states
    01c7c38a90bc i2c: aspeed: Reset the i2c controller when timeout occurs
    763d39f4e8fb tracefs: Add missing lockdown check to tracefs_create_dir()
    bf195968e362 nfsd: fix change_info in NFSv4 RENAME replies
    bf38c1d29f8b tracing: Have option files inc the trace array ref count
    85ad4688b7a7 tracing: Have current_trace inc the trace array ref count
    962e6723239b tracing: Have tracing_max_latency inc the trace array ref count
    380bbd46d61c btrfs: release path before inode lookup during the ino lookup ioctl
    779c3cf2749c btrfs: fix lockdep splat and potential deadlock after failure running delayed items
    f9c78afcee46 ovl: fix incorrect fdput() on aio completion
    05a7289a5d4b ovl: fix failed copyup of fileattr on a symlink
    8bcb80293be7 attr: block mode changes of symlinks
    d30af15e460f md/raid1: fix error: ISO C90 forbids mixed declarations
    abdfde037712 samples/hw_breakpoint: fix building without module unloading
    58787ff3d023 x86/purgatory: Remove LTO flags
    8abf1ec895d5 x86/boot/compressed: Reserve more memory for page tables
    e1a27664fcf5 scsi: lpfc: Fix the NULL vs IS_ERR() bug for debugfs_create_file()
    f0fd24f1fae0 selftests: tracing: Fix to unmount tracefs for recovering environment
    dded6b81ad68 scsi: qla2xxx: Fix NULL vs IS_ERR() bug for debugfs_create_dir()
    1d5caeac9655 drm: gm12u320: Fix the timeout usage for usb_bulk_msg()
    b9f0572b38c1 btrfs: compare the correct fsid/metadata_uuid in btrfs_validate_super
    cba491ee38e2 btrfs: add a helper to read the superblock metadata_uuid
    cb3671a2eeac btrfs: move btrfs_pinned_by_swapfile prototype into volumes.h
    f16fe29368fd perf test shell stat_bpf_counters: Fix test on Intel
    ad73216e006f perf test: Remove bash construct from stat_bpf_counters.sh test
    d8f81baeb9eb MIPS: Use "grep -E" instead of "egrep"
    dfe961b1e476 mtd: rawnand: brcmnand: Fix ECC level field setting for v7.2 controller
    56cf9f446b33 mtd: rawnand: brcmnand: Allow SoC to provide I/O operations
    34fcb59437a7 jbd2: correct the end of the journal recovery scan range
    a4605449cc9f jbd2: rename jbd_debug() to jbd2_debug()
    db6c90f2671c jbd2: kill t_handle_lock transaction spinlock
    e9270898222a jbd2: fix use-after-free of transaction_t race
    b0412dd1c24b jbd2: refactor wait logic for transaction updates into a common function
    f980bf1586ef printk: Consolidate console deferred printing
    9be2957f014d interconnect: Fix locking for runpm vs reclaim
    f3f6bf22a4f5 kobject: Add sanity check for kset->kobj.ktype in kset_register()
    81bbe6667024 media: pci: ipu3-cio2: Initialise timing struct to avoid a compiler warning
    d4ef3c9c7947 usb: ehci: add workaround for chipidea PORTSC.PEC bug
    c829d25e26fb serial: cpm_uart: Avoid suspicious locking
    5353df78c226 scsi: target: iscsi: Fix buffer overflow in lio_target_nacl_info_show()
    b97aaf9faf89 tools: iio: iio_generic_buffer: Fix some integer type and calculation
    60a71fd1910e usb: gadget: fsl_qe_udc: validate endpoint index for ch9 udc
    c861a61be6d3 usb: cdns3: Put the cdns set active part outside the spin lock
    930c60e13947 media: pci: cx23885: replace BUG with error return
    48bb6a9fa5cb media: tuners: qt1010: replace BUG_ON with a regular error
    2a33fc57133d media: dvb-usb-v2: gl861: Fix null-ptr-deref in gl861_i2c_master_xfer
    5b1ea100ad36 media: az6007: Fix null-ptr-deref in az6007_i2c_xfer()
    3dd5846a8739 media: anysee: fix null-ptr-deref in anysee_master_xfer
    033b0c0780ad media: af9005: Fix null-ptr-deref in af9005_i2c_xfer
    903566208ae6 media: dw2102: Fix null-ptr-deref in dw2102_i2c_transfer()
    d9ef84a7c222 media: dvb-usb-v2: af9035: Fix null-ptr-deref in af9035_i2c_master_xfer
    ca49cef3acaa PCI: fu740: Set the number of MSI vectors
    d35e7ae10eb8 powerpc/pseries: fix possible memory leak in ibmebus_bus_init()
    46870eea5496 ARM: 9317/1: kexec: Make smp stop calls asynchronous
    ef7311101ca4 jfs: fix invalid free of JFS_IP(ipimap)->i_imap in diUnmount
    aa5b019a3e0f fs/jfs: prevent double-free in dbUnmount() after failed jfs_remount()
    7ac65c29b6c2 ext2: fix datatype of block number in ext2_xattr_set2()
    4f96c0665f9f md: raid1: fix potential OOB in raid1_remove_disk()
    f3e9fc7b02b9 bus: ti-sysc: Configure uart quirks for k3 SoC
    3157aa794c75 drm/exynos: fix a possible null-pointer dereference due to data race in exynos_drm_crtc_atomic_disable()
    78bc9d25997a drm/amd/display: Blocking invalid 420 modes on HDMI TMDS for DCN31
    5eca70c14b31 ALSA: hda: intel-dsp-cfg: add LunarLake support
    e8ba418d4926 samples/hw_breakpoint: Fix kernel BUG 'invalid opcode: 0000'
    961df5a3f5cc arm64: dts: qcom: sm8250-edo: correct ramoops pmsg-size
    49cd54900078 arm64: dts: qcom: sm8150-kumano: correct ramoops pmsg-size
    1e0a38bb840a arm64: dts: qcom: sm6125-pdx201: correct ramoops pmsg-size
    201071956ec6 drm/bridge: tc358762: Instruct DSI host to generate HSE packets
    c64ee9dd3358 wifi: mac80211_hwsim: drop short frames
    66594a1e6ddd netfilter: ebtables: fix fortify warnings in size_entry_mwt()
    fedd9377dd9c wifi: mac80211: check S1G action frame size
    e08333e2abae alx: fix OOB-read compiler warning
    2b0a093cdf59 mmc: sdhci-esdhc-imx: improve ESDHC_FLAG_ERR010450
    0a1f87f0ca76 tpm_tis: Resend command to recover from data transfer errors
    67589d247909 crypto: lib/mpi - avoid null pointer deref in mpi_cmp_ui()
    389106425dee wifi: wil6210: fix fortify warnings
    ddb8f358b5e0 wifi: mwifiex: fix fortify warning
    a7ebe459c72e wifi: ath9k: fix printk specifier
    3de6b6ab69e2 wifi: ath9k: fix fortify warnings
    6b0adfafb073 crypto: lrw,xts - Replace strlcpy with strscpy
    dc100292e503 devlink: remove reload failed checks in params get/set callbacks
    7b7964cd9db3 ACPI: x86: s2idle: Catch multiple ACPI_TYPE_PACKAGE objects
    eda268b5b7ad hw_breakpoint: fix single-stepping when using bpf_overflow_handler
    6e743b7261ef perf/imx_ddr: speed up overflow frequency of cycle
    f9a2c79c2970 perf/smmuv3: Enable HiSilicon Erratum 162001900 quirk for HIP08/09
    ed1afb597280 ACPI: video: Add backlight=native DMI quirk for Lenovo Ideapad Z470
    f685311dbe05 scftorture: Forgive memory-allocation failure if KASAN
    4f03fba096bf rcuscale: Move rcu_scale_writer() schedule_timeout_uninterruptible() to _idle()
    f1ceff37ac6b kernel/fork: beware of __put_task_struct() calling context
    430787056dd3 ACPICA: Add AML_NO_OPERAND_RESOLVE flag to Timer
    766e56faddbe locks: fix KASAN: use-after-free in trace_event_raw_event_filelock_lock
    6994f806c6d1 btrfs: output extra debug info if we failed to find an inline backref
    71eeddcad734 autofs: fix memory leak of waitqueues in autofs_catatonic_mode
    35ecaa3632bf Linux 5.15.132
    0c0d79f3366a pcd: fix error codes in pcd_init_unit()
    893978f1b4d1 drm/amd/display: Fix a bug when searching for insert_above_mpcc
    0b8e09b39ef3 MIPS: Only fiddle with CHECKFLAGS if `need-compiler'
    55d2e7c1ab8e kcm: Fix error handling for SOCK_DGRAM in kcm_sendmsg().
    e80228b27487 ixgbe: fix timestamp configuration code
    5b55dac919ec ipv6: fix ip6_sock_set_addr_preferences() typo
    481bd6dcc5fe net/tls: do not free tls_rec on async operation in bpf_exec_tx_verdict()
    3600c0dc0deb platform/mellanox: mlxbf-pmc: Fix reading of unprogrammed events
    07c0abc80604 platform/mellanox: mlxbf-pmc: Fix potential buffer overflows
    7c34ea34516d platform/mellanox: mlxbf-tmfifo: Drop jumbo frames
    694035201aac platform/mellanox: mlxbf-tmfifo: Drop the Rx packet if no more descriptors
    97275339c34c kcm: Fix memory leak in error path of kcm_sendmsg()
    864da4a5d5eb r8152: check budget for r8152_poll()
    fbdc4e9908b2 net: dsa: sja1105: hide all multicast addresses from "bridge fdb show"
    6a4480c5e6eb hsr: Fix uninit-value access in fill_frame_info()
    072324cfab9b net: ethernet: mtk_eth_soc: fix possible NULL pointer dereference in mtk_hwlro_get_fdir_all()
    5bb09dddc724 net: ethernet: mvpp2_main: fix possible OOB write in mvpp2_ethtool_get_rxnfc()
    06b4934ab2b5 net/smc: use smc_lgr_list.lock to protect smc_lgr_list.list iterate in smcr_port_add
    aea3801c234d kselftest/runner.sh: Propagate SIGTERM to runner child
    2f1e86014d0c net: ipv4: fix one memleak in __inet_del_ifa()
    f086e859ddc2 ARM: dts: BCM5301X: Extend RAM to full 256MB for Linksys EA6500 V2
    8173d9027031 ARM: dts: samsung: exynos4210-i9100: Fix LCD screen's physical size
    072cd213c64f block: don't add or resize partition on the disk with GENHD_FL_NO_PART
    c6ce1c5dd327 block: rename GENHD_FL_NO_PART_SCAN to GENHD_FL_NO_PART
    6c06a7f6b41c block: move GENHD_FL_BLOCK_EVENTS_ON_EXCL_WRITE to disk->event_flags
    8247ff0d5036 block: move GENHD_FL_NATIVE_CAPACITY to disk->state
    5ad42b999a42 pcd: cleanup initialization
    7607bc7fe6cc pcd: move the identify buffer into pcd_identify
    242bbe218814 perf hists browser: Fix the number of entries for 'e' key
    4d7a8a44e030 perf tools: Handle old data in PERF_RECORD_ATTR
    a8f91f480c62 perf hists browser: Fix hierarchy mode header
    4ee1cf2a5bcc MIPS: Fix CONFIG_CPU_DADDI_WORKAROUNDS `modules_install' regression
    df4d8d5ab647 drm/amd/display: prevent potential division by zero errors
    3b51d016bbbf mtd: rawnand: brcmnand: Fix potential false time out warning
    2353b7bb61e4 mtd: rawnand: brcmnand: Fix potential out-of-bounds access in oob write
    b59ff750bf80 mtd: rawnand: brcmnand: Fix crash during the panic_write
    ca5218aef9e5 btrfs: use the correct superblock to compare fsid in btrfs_validate_super
    f3260733894a btrfs: don't start transaction when joining with TRANS_JOIN_NOSTART
    7ef0e8b812e0 btrfs: free qgroup rsv on io failure
    5fd6f40d17e8 fuse: nlookup missing decrement in fuse_direntplus_link
    65b6890c3d01 ata: pata_ftide010: Add missing MODULE_DESCRIPTION
    0b62825dc6c3 ata: sata_gemini: Add missing MODULE_DESCRIPTION
    81dd61cb1caa ata: pata_falcon: fix IO base selection for Q40
    20bc2c470369 lib: test_scanf: Add explicit type cast to result initialization in test_number_prefix()
    4315b4a95ecf ext4: add correct group descriptors and reserved GDT blocks to system zone
    ef5fea70e591 jbd2: check 'jh->b_transaction' before removing it from checkpoint
    6778a3857266 jbd2: fix checkpoint cleanup performance regression
    6b195e07a2cf dmaengine: sh: rz-dmac: Fix destination and source data size setting
    0476f2016ddc ARC: atomics: Add compiler barrier to atomic operations...
    3375186d5e3f net/mlx5: Free IRQ rmap and notifier on kernel shutdown
    2348a375ee16 sh: boards: Fix CEU buffer size passed to dma_declare_coherent_memory()
    f5160dc17e81 net: hns3: remove GSO partial feature bit
    6d548b7cb216 net: hns3: fix the port information display when sfp is absent
    cc3c67e08169 net: hns3: fix invalid mutex between tc qdisc and dcb ets command issue
    2c9643fa6360 net: hns3: fix debugfs concurrency issue between kfree buffer and read
    8bfa87cf4a86 net: hns3: fix byte order conversion issue in hclge_dbg_fd_tcam_read()
    19280e8dfb52 netfilter: nfnetlink_osf: avoid OOB read
    1ad7b189cc14 netfilter: nftables: exthdr: fix 4-byte stack OOB write
    347f765176db net: dsa: sja1105: complete tc-cbs offload support on SJA1110
    cb4494cfe4b7 net: dsa: sja1105: fix -ENOSPC when replacing the same tc-cbs too many times
    77b850b84d21 net: dsa: sja1105: fix bandwidth discrepancy between tc-cbs software and offload
    d11109c03d6e ip_tunnels: use DEV_STATS_INC()
    fcfb5842ef9c idr: fix param name in idr_alloc_cyclic() doc
    131cd74a8e38 s390/zcrypt: don't leak memory if dev_set_name() fails
    12de76fdddb5 igb: Change IGB_MIN to allow set rx/tx value between 64 and 80
    7c2f90b1c213 igbvf: Change IGBVF_MIN to allow set rx/tx value between 64 and 80
    f4c5640d6d38 igc: Change IGC_MIN to allow set rx/tx value between 64 and 80
    9210b3dd74ac octeontx2-af: Fix truncation of smq in CN10K NIX AQ enqueue mbox handler
    1840f08c2a1b kcm: Destroy mutex in kcm_exit_net()
    6ea277b2c626 net: sched: sch_qfq: Fix UAF in qfq_dequeue()
    3868de7c5361 af_unix: Fix data race around sk->sk_err.
    d95456660fae af_unix: Fix data-races around sk->sk_shutdown.
    e5edc6e44a88 af_unix: Fix data-race around unix_tot_inflight.
    9151ed4b0061 af_unix: Fix data-races around user->unix_inflight.
    907fbed65cec net: phy: micrel: Correct bit assignments for phy_device flags
    5d2d3f2300c3 net: ipv6/addrconf: avoid integer underflow in ipv6_create_tempaddr
    77dd55f5ec6a veth: Fixing transmit return status for dropped packets
    56603b2c82e3 igb: disable virtualization features on 82580
    149bc7834d6f ipv4: ignore dst hint for multipath routes
    e18b49495a52 drm/i915/gvt: Drop unused helper intel_vgpu_reset_gtt()
    5979985f2d6b xsk: Fix xsk_diag use-after-free error during socket cleanup
    49acc5c5b280 net: fib: avoid warn splat in flow dissector
    ed4e0adfa407 net: read sk->sk_family once in sk_mc_loop()
    e0b483a0584f ipv4: annotate data-races around fi->fib_dead
    74df0319e4e2 sctp: annotate data-races around sk->sk_wmem_queued
    973a4c302d7f net/sched: fq_pie: avoid stalls in fq_pie_timer()
    5e22217c1142 pwm: lpc32xx: Remove handling of PWM channels
    676152264dec watchdog: intel-mid_wdt: add MODULE_ALIAS() to allow auto-load
    d6aa2be1379d perf top: Don't pass an ERR_PTR() directly to perf_session__delete()
    79bd17c99ec9 perf vendor events: Drop some of the JSON/events for power10 platform
    1356eaceef34 perf vendor events: Update the JSON/events descriptions for power10 platform
    24481d5c7413 x86/virt: Drop unnecessary check on extended CPUID level in cpu_has_svm()
    6e9863165674 perf annotate bpf: Don't enclose non-debug code with an assert()
    184be0d59242 Input: tca6416-keypad - fix interrupt enable disbalance
    0b79f5a19cfb Input: tca6416-keypad - always expect proper IRQ number in i2c client
    1e3167aa4ba2 backlight: gpio_backlight: Drop output GPIO direction check for initial power state
    6fc8bdc3cf4c pwm: atmel-tcb: Fix resource freeing in error path and remove
    6b2bb1a1a63c pwm: atmel-tcb: Harmonize resource allocation order
    d4734ef765eb pwm: atmel-tcb: Convert to platform remove callback returning void
    c3bc668581e7 perf trace: Really free the evsel->priv area
    8e96f741b328 perf trace: Use zfree() to reduce chances of use after free
    414cf7a2cc87 kconfig: fix possible buffer overflow
    be9ce0dbde4f gfs2: low-memory forced flush fixes
    751facd3634c gfs2: Switch to wait_event in gfs2_logd
    d0245b066971 kbuild: do not run depmod for 'make modules_sign'
    05333a6a21e3 bus: mhi: host: Skip MHI reset if device is in RDDM
    e2964c98ec31 NFSv4/pnfs: minor fix for cleanup path in nfs4_get_device_info
    da302f1d476a NFS: Fix a potential data corruption
    0db19df21be5 clk: qcom: mss-sc7180: fix missing resume during probe
    f64f682be7c8 clk: qcom: q6sstop-qcs404: fix missing resume during probe
    b2f39b813d1e soc: qcom: qmi_encdec: Restrict string length in decode
    e61db8922631 clk: qcom: gcc-mdm9615: use proper parent for pll0_vote clock
    a8474506c912 clk: imx: pll14xx: dynamically configure PLL for 393216000/361267200Hz
    a69b951c8398 dt-bindings: clock: xlnx,versal-clk: drop select:false
    ead2436cf05e pinctrl: cherryview: fix address_space_handler() argument
    8859f58c1790 parisc: led: Reduce CPU overhead for disk & lan LED computation
    2655e1d970cf parisc: led: Fix LAN receive and transmit LEDs
    7ad44409cd3b lib/test_meminit: allocate pages up to order MAX_ORDER
    2d8138cea71d clk: qcom: turingcc-qcs404: fix missing resume during probe
    9f5db4ab19f8 drm/ast: Fix DRAM init on AST2200
    cfc47807a482 clk: qcom: camcc-sc7180: fix async resume during probe
    309c27162afe fbdev/ep93xx-fb: Do not assign to struct fb_info.dev
    4316e951f164 scsi: qla2xxx: Fix firmware resource tracking
    7b89c3727bff scsi: qla2xxx: Error code did not return to upper layer
    15a71bb25beb scsi: qla2xxx: Fix smatch warn for qla_init_iocb_limit()
    106392156273 scsi: qla2xxx: Flush mailbox commands on chip reset
    def49a05aef4 scsi: qla2xxx: Remove unsupported ql2xenabledif option
    be12c9f4c60c scsi: qla2xxx: Fix TMF leak through
    4322f3de9f21 scsi: qla2xxx: Fix session hang in gnl
    a4708402c458 scsi: qla2xxx: Turn off noisy message log
    b0453b0cf506 scsi: qla2xxx: Fix erroneous link up failure
    5934b2125f5b scsi: qla2xxx: Fix command flush during TMF
    4a16a46c8481 scsi: qla2xxx: fix inconsistent TMF timeout
    f1ea164be545 scsi: qla2xxx: Fix deletion race condition
    683945b17724 scsi: qla2xxx: Limit TMF to 8 per function
    fde268c234d1 scsi: qla2xxx: Adjust IOCB resource on qpair create
    c29848249f78 io_uring: break iopolling on signal
    0def123f1254 io_uring: break out of iowq iopoll on teardown
    1a0aba2bf293 io_uring: always lock in io_apoll_task_func
    2920cc4c64a1 net/ipv6: SKB symmetric hash should incorporate transport ports
    529bcc70c49c udf: initialize newblock to 0
    fae2d591f3cb Revert "drm/amdgpu: install stub fence into potential unused fence pointers"
    f01e21d6c7ed md/md-bitmap: remove unnecessary local variable in backlog_store()
    99a8d14d7965 tracing: Zero the pipe cpumask on alloc to avoid spurious -EBUSY
    05c581ad3e7b perf/x86/uncore: Correct the number of CHAs on EMR
    861cfdc51f22 x86/sgx: Break up long non-preemptible delays in sgx_vepc_release()
    7e3ddbea87a9 USB: core: Fix oversight in SuperSpeed initialization
    7fe9d8799606 USB: core: Fix race by not overwriting udev->descriptor in hub_port_init()
    eda9a2966582 USB: core: Change usb_get_device_descriptor() API
    56c49a3328e9 USB: core: Unite old scheme and new scheme descriptor reads
    0ad6bad31da6 usb: typec: bus: verify partner exists in typec_altmode_attention
    31220bd89c22 usb: typec: tcpm: set initial svdm version based on pd revision
    3acc6b9f266f cpufreq: brcmstb-avs-cpufreq: Fix -Warray-bounds bug
    cb65ad51f1bd crypto: stm32 - fix loop iterating through scatterlist for DMA
    9ab2c149c2e7 s390/ipl: add missing secure/has_secure file to ipl type 'unknown'
    6aff2732577c arm64: sdei: abort running SDEI handlers during crash
    fedecaeef888 pstore/ram: Check start of empty przs during init
    8d68582b93e6 mmc: renesas_sdhi: register irqs before registering controller
    5294144b6ad2 fsverity: skip PKCS#7 parser when keyring is empty
    86608e1b0c6f net: handle ARPHRD_PPP in dev_is_mac_header_xmit()
    51ffed9ca1a4 X.509: if signature is unsupported skip validation
    6ecf09699eb1 dccp: Fix out of bounds access in DCCP error handler
    7a2978e8d3c0 dlm: fix plock lookup when using multiple lockspaces
    703cf47d47ba parisc: Fix /proc/cpuinfo output for lscpu
    49a49d442075 procfs: block chmod on /proc/thread-self/comm
    44f6ec589353 Revert "PCI: Mark NVIDIA T4 GPUs to avoid bus reset"
    d73d3787c9d1 ntb: Fix calculation ntb_transport_tx_free_entry()
    da0c7293f4db ntb: Clean up tx tail index on link down
    bfa051f650a7 ntb: Drop packets when qp link is down
    8f4edcd65534 scsi: mpt3sas: Perform additional retries if doorbell read returns 0
    58388f2958f6 Revert "scsi: qla2xxx: Fix buffer overrun"
    bd188d1e3855 media: venus: hfi_venus: Write to VIDC_CTRL_INIT after unmasking interrupts
    6e9632a01e6d media: dvb: symbol fixup for dvb_attach()
    9a43563cfd6b arm64: csum: Fix OoB access in IP checksum code for negative lengths
    a0a49da2a79a i3c: master: svc: fix probe failure when no i3c device exist
    a905ac21b2ab xtensa: PMU: fix base address for the newer hardware
    8742dbf9c25d backlight/lv5207lp: Compare against struct fb_info.device
    568132f74cb1 backlight/bd6107: Compare against struct fb_info.device
    4e7b4ddc900c backlight/gpio_backlight: Compare against struct fb_info.device
    3b018c3d1016 ARM: OMAP2+: Fix -Warray-bounds warning in _pwrdm_state_switch()
    cbb7d8a4b4be ipmi_si: fix a memleak in try_smi_init()
    6043dd31f771 PCI: rockchip: Use 64-bit mask on MSI 64-bit PCI address
    aba1bf197467 media: i2c: ccs: Check rules is non-NULL
    df64819dd6a0 mm/vmalloc: add a safer version of find_vm_area() for debug
    20b7d0a62ad1 scsi: core: Fix the scsi_set_resid() documentation
    20990d6a8543 printk: ringbuffer: Fix truncating buffer size min_t cast
    0a22f9c17b1a rcu: dump vmalloc memory info safely
    d479c841b18d ALSA: pcm: Fix missing fixup call in compat hw_refine ioctl
    111bafa210ae PM / devfreq: Fix leak in devfreq_dev_release()
    be7353af5b35 igb: set max size RX buffer when store bad packet is enabled
    d5790386595d skbuff: skb_segment, Call zero copy functions before using skbuff frags
    267a29f8bfdb netfilter: xt_sctp: validate the flag_info count
    b3d07714ad24 netfilter: xt_u32: validate user space input
    a9e6142e5f8f netfilter: ipset: add the missing IP_SET_HASH_WITH_NET0 macro for ip_set_hash_netportnet.c
    3e48f741e98a igmp: limit igmpv3_newpack() packet size to IP_MAX_MTU
    de16cb7986f2 virtio_ring: fix avail_wrap_counter in virtqueue_add_packed
    d6f80ddb9eda cpufreq: Fix the race condition while updating the transition_task of policy
    42d8c7fa0bf6 dmaengine: ste_dma40: Add missing IRQ check in d40_probe
    329d0f168c8f um: Fix hostaudio build errors
    58d17e766093 mtd: rawnand: fsmc: handle clk prepare error in fsmc_nand_resume()
    679a71b31179 mtd: spi-nor: Check bus width while setting QE bit
    8869fd166f23 leds: trigger: tty: Do not use LED_ON/OFF constants, use led_blink_set_oneshot instead
    0f715ea7d36e leds: multicolor: Use rounded division when calculating color components
    1a68bef23726 leds: pwm: Fix error code in led_pwm_create_fwnode()
    abd740db896b rpmsg: glink: Add check for kstrdup
    b45cf29f97a2 phy/rockchip: inno-hdmi: do not power on rk3328 post pll on reg write
    40d637359f3f phy/rockchip: inno-hdmi: round fractal pixclock in rk3328 recalc_rate
    52942a47d034 phy/rockchip: inno-hdmi: use correct vco_div_5 macro on rk3328
    31d7e6c7689b mtd: rawnand: brcmnand: Fix mtd oobsize
    6182318ac046 tracing: Fix race issue between cpu buffer write and swap
    548f48ec1915 tracing: Remove extra space at the end of hwlat_detector/mode
    2ba8bb00720a x86/speculation: Mark all Skylake CPUs as vulnerable to GDS
    dde88ab4e45b HID: multitouch: Correct devm device reference for hidinput input_dev name
    4fb28379b3c7 HID: logitech-dj: Fix error handling in logi_dj_recv_switch_to_dj_mode()
    1bb42aca7a96 Revert "IB/isert: Fix incorrect release of isert connection"
    4f1807fddd9b amba: bus: fix refcount leak
    1c3701373463 serial: tegra: handle clk prepare error in tegra_uart_hw_init()
    076fb40cf27a scsi: fcoe: Fix potential deadlock on &fip->ctlr_lock
    c4772759abe1 scsi: core: Use 32-bit hostnum in scsi_host_lookup()
    6248f4305378 cgroup:namespace: Remove unused cgroup_namespaces_init()
    04824d50e6b5 media: i2c: rdacm21: Fix uninitialized value
    f3572eef8551 media: ov2680: Fix regulators being left enabled on ov2680_power_on() errors
    205f71744176 media: ov2680: Fix ov2680_set_fmt() which == V4L2_SUBDEV_FORMAT_TRY not working
    89ecb4b40094 media: ov2680: Add ov2680_fill_format() helper function
    784d1b83ae2c media: ov2680: Don't take the lock for try_fmt calls
    dbb717b4ee68 media: ov2680: Remove VIDEO_V4L2_SUBDEV_API ifdef-s
    4c1a5c2885d4 media: ov2680: Fix vflip / hflip set functions
    958905ed42b8 media: ov2680: Fix ov2680_bayer_order()
    cdd5fca7200d media: ov2680: Remove auto-gain and auto-exposure controls
    322a805ffdff media: i2c: ov2680: Set V4L2_CTRL_FLAG_MODIFY_LAYOUT on flips
    abba34017e16 media: ov5640: Enable MIPI interface in ov5640_set_power_mipi()
    1717f67be875 USB: gadget: f_mass_storage: Fix unused variable warning
    121b8d30f42c media: venus: hfi_venus: Only consider sys_idle_indicator on V1
    f6b483ead6dc media: go7007: Remove redundant if statement
    d079a3e1ccdd platform/x86: dell-sysman: Fix reference leak
    426bd7418701 iommu/vt-d: Fix to flush cache of PASID directory table
    9dc6f660815a iommu/qcom: Disable and reset context bank before programming
    3274e32fc969 fsi: aspeed: Reset master errors after CFAM reset
    7a17deca33e1 IB/uverbs: Fix an potential error pointer dereference
    42d111304dd7 RDMA/hns: Fix CQ and QP cache affinity
    b051c3bf3bdf RDMA/hns: Fix incorrect post-send with direct wqe of wr-list
    154822356e4d RDMA/hns: Fix port active speed
    de4aca5b284e iommu/sprd: Add missing force_aperture
    46b76f13f1ad driver core: test_async: fix an error code
    a6992ecefe5d dma-buf/sync_file: Fix docs syntax
    d3256d80406c coresight: tmc: Explicit type conversions to prevent integer overflow
    93a5b461a4e1 RDMA/irdma: Replace one-element array with flexible-array member
    97097ea2f37e scsi: qedf: Do not touch __user pointer in qedf_dbg_fp_int_cmd_read() directly
    1c996be7f233 scsi: qedf: Do not touch __user pointer in qedf_dbg_debug_cmd_read() directly
    cb6d20a8b5d7 scsi: qedf: Do not touch __user pointer in qedf_dbg_stop_io_on_error_cmd_read() directly
    2f0d202d82b9 x86/APM: drop the duplicate APM_MINOR_DEV macro
    f34508d934c4 serial: sprd: Fix DMA buffer leak issue
    c54c66d904fa serial: sprd: Assign sprd_port after initialized to avoid wrong access
    f61fc650c478 scsi: qla4xxx: Add length check when parsing nlattrs
    46ad449efde1 scsi: be2iscsi: Add length check when parsing nlattrs
    4bd57d889099 scsi: iscsi: Add strlen() check in iscsi_if_set{_host}_param()
    e9bac3cc744f scsi: iscsi: Add length check for nlattr payload
    9285efd95996 scsi: iscsi: Rename iscsi_set_param() to iscsi_if_set_param()
    7231d60d41c4 scsi: RDMA/srp: Fix residual handling
    484ddaa90b7e usb: phy: mxs: fix getting wrong state with mxs_phy_is_otg_host()
    cbb8f7097e11 media: mediatek: vcodec: Return NULL if no vdec_fb is found
    18dc93de9019 media: rkvdec: increase max supported height for H.264
    f1e7d999f37e scsi: hisi_sas: Fix normally completed I/O analysed as failed
    46d1b2a3d5a6 scsi: hisi_sas: Fix warnings detected by sparse
    e454e985950b scsi: hisi_sas: Modify v3 HW SATA completion error processing
    7caac45b52f4 scsi: hisi_sas: Modify v3 HW SSP underflow error processing
    f64d02822b82 media: cx24120: Add retval check for cx24120_message_send()
    7ca7cd02114a media: dvb-usb: m920x: Fix a potential memory leak in m920x_i2c_xfer()
    fb24b65aaccd media: dib7000p: Fix potential division by zero
    56a3d8ae4576 drivers: usb: smsusb: fix error handling code in smsusb_init_device
    d1b51b130d32 iommu: rockchip: Fix directory table address encoding
    a50d60b8f2af iommu/amd/iommu_v2: Fix pasid_state refcount dec hit 0 warning on pasid unbind
    caf058833b6f media: v4l2-core: Fix a potential resource leak in v4l2_fwnode_parse_link()
    711e9e44f6c4 media: i2c: tvp5150: check return value of devm_kasprintf()
    30d4380eb030 media: ad5820: Drop unsupported ad5823 from i2c_ and of_device_id tables
    663114dfc178 RDMA/qedr: Remove a duplicate assignment in irdma_query_ah()
    1473e40b3912 pNFS: Fix assignment of xprtdata.cred
    fb7ddc1138b0 NFSv4.2: fix handling of COPY ERR_OFFLOAD_NO_REQ
    53a1e5ab1b11 NFS: Guard against READDIR loop when entry names exceed MAXNAMELEN
    19a648a07572 NFSD: da_addr_body field missing in some GETDEVICEINFO replies
    b0f127a7c635 fs: lockd: avoid possible wrong NULL parameter
    8f994b830dd0 jfs: validate max amount of blocks before allocation.
    f6a84ef1d080 ext4: fix unttached inode after power cut with orphan file feature enabled
    a9ddbfed5346 powerpc/iommu: Fix notifiers being shared by PCI and VIO buses
    a70c8de30514 nfs/blocklayout: Use the passed in gfp flags
    2935443dc9c2 powerpc/pseries: Rework lppaca_shared_proc() to avoid DEBUG_PREEMPT
    75dcb650a7ef powerpc: Don't include lppaca.h in paca.h
    cefcb002c5c9 PCI: layerscape: Add workaround for lost link capabilities during reset
    4be323c73797 PCI: layerscape: Add the endpoint linkup notifier support
    69c712389e1f PCI: dwc: Add start_link/stop_link inlines
    aac0a9a1577b wifi: ath10k: Use RMW accessors for changing LNKCTL
    3539bab5f9de wifi: ath11k: Use RMW accessors for changing LNKCTL
    ea670d0146a3 net/mlx5: Use RMW accessors for changing LNKCTL
    348ef09df984 drm/radeon: Use RMW accessors for changing LNKCTL
    5468237382ed drm/amdgpu: Use RMW accessors for changing LNKCTL
    00f79e78bf4b powerpc/perf: Convert fsl_emb notifier to state machine callbacks
    a26a5e4be2c4 powerpc/fadump: reset dump area size if fadump memory reserve fails
    13fd667db999 vfio/type1: fix cap_migration information leak
    6b708243d3d9 powerpc/radix: Move some functions into #ifdef CONFIG_KVM_BOOK3S_HV_POSSIBLE
    dbde1d9c54e2 clk: imx: composite-8m: fix clock pauses when set_rate would be a no-op
    824e97302fd8 clk: imx8mp: fix sai4 clock
    66ef144dbdf9 PCI/ASPM: Use RMW accessors for changing LNKCTL
    f46fa8ab8d82 PCI: pciehp: Use RMW accessors for changing LNKCTL
    759d978e831b pinctrl: mcp23s08: check return value of devm_kasprintf()
    02faf0bd6fdc PCI: Mark NVIDIA T4 GPUs to avoid bus reset
    4c20a4143276 PCI: microchip: Correct the DED and SEC interrupt bit offsets
    377f7aeddda0 clk: qcom: gcc-sm6350: Fix gcc_sdcc2_apps_clk_src
    1c4a98c55fa3 clk: qcom: reset: Use the correct type of sleep/delay based on length
    bd4eff9c835a clk: qcom: gcc-sm8250: Fix gcc_sdcc2_apps_clk_src
    b1cb8bf42b36 ext4: avoid potential data overflow in next_linear_group
    3e24082f1682 ext4: correct grp validation in ext4_mb_good_group
    febacbefe451 EDAC/igen6: Fix the issue of no error events
    964f62caac08 clk: qcom: gcc-sc7180: Fix up gcc_sdcc2_apps_clk_src
    f1399e1543e7 clk: sunxi-ng: Modify mismatched function name
    92913d32e719 drivers: clk: keystone: Fix parameter judgment in _of_pll_clk_init()
    3ad53071fe85 ipmi:ssif: Fix a memory leak when scanning for an adapter
    7792869495b6 ipmi:ssif: Add check for kstrdup
    53abafedfeb7 ALSA: ac97: Fix possible error value of *rac97
    48fc5717b249 of: unittest: Fix overlay type in apply/revert check
    01bb96ad3808 of: overlay: Call of_changeset_init() early
    30f04a41e7d7 md: raid0: account for split bio in iostat accounting
    9643cc0b1771 md/raid0: Fix performance regression for large sequential writes
    17fbf7da491f md/raid0: Factor out helper for mapping and submitting a bio
    d04f1e322f52 md: add error_handlers for raid0 and linear
    d8b6adb84041 md: Set MD_BROKEN for RAID1 and RAID10
    a68fabdad970 bus: ti-sysc: Fix cast to enum warning
    7636dfc42b66 arm64: dts: qcom: apq8016-sbc: Fix ov5640 regulator supply names
    fff4d36247e8 drm/mediatek: Fix potential memory leak if vmap() fail
    e5758ad9a34f drm/mediatek: Remove freeing not dynamic allocated memory
    97274bea0136 bus: ti-sysc: Fix build warning for 64-bit build
    cc6b09671d0c io_uring: fix drain stalls by invalid SQE
    0152e7758cc4 audit: fix possible soft lockup in __audit_inode_child()
    48e4c4819039 drm/msm/a2xx: Call adreno_gpu_init() earlier
    76c3ad12441f drm/amd/pm: fix variable dereferenced issue in amdgpu_device_attr_create()
    32e060927351 smackfs: Prevent underflow in smk_set_cipso()
    502dfc5875ba firmware: meson_sm: fix to avoid potential NULL pointer dereference
    c0b1eee64870 drm/msm/mdp5: Don't leak some plane state
    d0b82c217feb drm: xlnx: zynqmp_dpsub: Add missing check for dma_set_mask
    b7b0c48851c4 ima: Remove deprecated IMA_TRUSTED_KEYRING Kconfig
    8025396b76e9 drm/panel: simple: Add missing connector type and pixel format for AUO T215HVN01
    27eee65b2e31 drm/armada: Fix off-by-one error in armada_overlay_get_property()
    cc9254b24a4b arm64: dts: qcom: sm8150: Fix the I2C7 interrupt
    ea5bc6f5aa09 of: unittest: fix null pointer dereferencing in of_unittest_find_node_by_name()
    4197eeb55f4b drm/tegra: dpaux: Fix incorrect return value of platform_get_irq
    9712279e9743 drm/msm: Update dev core dump to not print backwards
    8ef5d1f16d92 md/md-bitmap: hold 'reconfig_mutex' in backlog_store()
    382638364711 md/bitmap: don't set max_write_behind if there is no write mostly device
    a3d36107ee48 md/raid10: use dereference_rdev_and_rrdev() to get devices
    94ca5eed9530 md/raid10: factor out dereference_rdev_and_rrdev()
    246bac7d3c3e drm/amdgpu: Update min() to min_t() in 'amdgpu_info_ioctl'
    de93b4711ac2 arm64: dts: qcom: sdm845: Fix the min frequency of "ice_core_clk"
    a9e56fa8a0ca arm64: dts: qcom: sdm845: Add missing RPMh power domain to GCC
    db0ba312542d ARM: dts: BCM53573: Fix Ethernet info for Luxul devices
    c4413633ef78 drm: adv7511: Fix low refresh rate register for ADV7533/5
    57b6d92c79e9 ARM: dts: samsung: s5pv210-smdkv210: correct ethernet reg addresses (split)
    b7f47031e319 ARM: dts: s5pv210: add dummy 5V regulator for backlight on SMDKv210
    2f0246b3c7ff ARM: dts: samsung: s3c6410-mini6410: correct ethernet reg addresses (split)
    d12beb1b1ee5 ARM: dts: s3c64xx: align pinctrl with dtschema
    188f2d41fa5d x86/mm: Fix PAT bit missing from page protection modify mask
    1dd43e1e54d5 drm/etnaviv: fix dumping of active MMU context
    1634fe406c34 arm64: dts: qcom: pmi8994: Add missing OVP interrupt
    4b7eb5e2c1c4 arm64: dts: qcom: Move WLED num-strings from pmi8994 to sony-xperia-tone
    92919d98e673 arm64: dts: qcom: pmi8994: Remove hardcoded linear WLED enabled-strings
    365909857242 arm64: dts: qcom: pm660l: Add missing short interrupt
    ea48fd91df12 arm64: dts: qcom: correct SPMI WLED register range encoding
    eee01e0d6abe arm64: dts: qcom: pmi8998: Add node for WLED
    b788afdbfd5a arm64: dts: qcom: sm8250-sony-xperia: correct GPIO keys wakeup again
    2840d9b9c875 ARM: dts: BCM53573: Use updated "spi-gpio" binding properties
    b35f3ca1877e ARM: dts: BCM53573: Add cells sizes to PCIe node
    bed08bb83292 drm/amdgpu: avoid integer overflow warning in amdgpu_device_resize_fb_bar()
    261e69456617 arm64: dts: qcom: sm8250: Mark PCIe hosts as DMA coherent
    12a93e53eaf0 arm64: dts: qcom: pmk8350: fix ADC-TM compatible string
    4c9a637258bb arm64: dts: qcom: sm8350: Use proper CPU compatibles
    4c918fb77dea arm64: dts: qcom: sm8350: Add missing LMH interrupts to cpufreq
    9c022ab2db40 arm64: dts: qcom: msm8996: Add missing interrupt to the USB2 controller
    bda65ecaec97 arm64: dts: qcom: sm8250-edo: Rectify gpio-keys
    6119aaced94f arm64: dts: qcom: sm8250-edo: Add GPIO line names for PMIC GPIOs
    c0dc9d7d3f2b arm64: dts: qcom: sm8250-edo: Add gpio line names for TLMM
    d2d698daa1fa arm64: dts: qcom: sm8250: correct dynamic power coefficients
    510bae3d37f7 soc: qcom: ocmem: Fix NUM_PORTS & NUM_MACROS macros
    b08c7a31baeb soc: qcom: ocmem: Add OCMEM hardware version print
    dc04034502e6 ASoC: stac9766: fix build errors with REGMAP_AC97
    89602de9a2d7 quota: fix dqput() to follow the guarantees dquot_srcu should provide
    1df46e717ee9 quota: add new helper dquot_active()
    bd0a6452f070 quota: rename dquot_active() to inode_quota_active()
    5b8240223407 quota: factor out dquot_write_dquot()
    6c6efd3a1d06 drm/bridge: tc358764: Fix debug print parameter order
    a48e7def0006 netrom: Deny concurrent connect().
    4cf994d3f4ff net/sched: sch_hfsc: Ensure inner classes have fsc curve
    edb5b1b3b9f8 hwmon: (tmp513) Fix the channel number in tmp51x_is_visible()
    a85fd8116555 mlxsw: i2c: Limit single transaction buffer size
    7790b6a2f5f0 mlxsw: i2c: Fix chunk size setting in output mailbox buffer
    510e0cbd6408 net: arcnet: Do not call kfree_skb() under local_irq_disable()
    93a572b9d42f wifi: ath9k: use IS_ERR() with debugfs_create_dir()
    5138beea8e7f Bluetooth: btusb: Do not call kfree_skb() under spin_lock_irqsave()
    d7fd24b8d1bb wifi: mwifiex: avoid possible NULL skb pointer dereference
    71ce8be48bf0 wifi: nl80211/cfg80211: add forgotten nla_policy for BSS color attribute
    11f93fff6e8a wifi: ath9k: protect WMI command response buffer replacement with a lock
    6904c7afd512 wifi: ath9k: fix races between ath9k_wmi_cmd and ath9k_wmi_ctrl_rx
    cec7db9ea031 samples/bpf: fix broken map lookup probe
    89f19a9a055d wifi: mwifiex: Fix missed return in oob checks failed path
    308eb3a609ac wifi: mwifiex: fix memory leak in mwifiex_histogram_read()
    9c00731bf05d fs: ocfs2: namei: check return value of ocfs2_add_entry()
    f683992d30ee lwt: Check LWTUNNEL_XMIT_CONTINUE strictly
    e3f647e4b642 lwt: Fix return values of BPF xmit ops
    4ff998134025 hwrng: iproc-rng200 - Implement suspend and resume calls
    5a70ab6b59b2 crypto: caam - fix unchecked return value error
    660b6b1c5cf8 ice: ice_aq_check_events: fix off-by-one check when filling buffer
    55fab9389d65 net-memcg: Fix scope of sockmem pressure indicators
    41c40d84838d selftests/bpf: Clean up fmod_ret in bench_rename test script
    50c78e71446d net: tcp: fix unexcepted socket die when snd_wnd is 0
    942d8cefb022 Bluetooth: Fix potential use-after-free when clear keys
    7b0243d26a71 Bluetooth: nokia: fix value check in nokia_bluetooth_serdev_probe()
    048545d9fc64 crypto: api - Use work queue in crypto_destroy_instance
    56cb7bbefcaf crypto: stm32 - Properly handle pm_runtime_get failing
    e3c4a6b073e4 selftests/bpf: fix static assert compilation issue for test_cls_*.c
    43423b3e0467 wifi: mwifiex: fix error recovery in PCIE buffer descriptor management
    7c54b6fc39eb wifi: mwifiex: Fix OOB and integer underflow when rx packets
    a20b96cf6925 wifi: mt76: mt7915: fix power-limits while chan_switch
    5c75a4379589 can: gs_usb: gs_usb_receive_bulk_callback(): count RX overflow errors also in case of OOM
    890843254f38 spi: tegra20-sflash: fix to check return value of platform_get_irq() in tegra_sflash_probe()
    2ff9ac0cf25f wifi: mt76: testmode: add nla_policy for MT76_TM_ATTR_TX_LENGTH
    802008e8c73a ipv6: Add reasons for skb drops to __udp6_lib_rcv
    7dcbc0bb0e5c bpf: reject unhashed sockets in bpf_sk_assign
    caa2883b1885 udp: re-score reuseport groups when connected sockets are present
    b60dfa4559d8 regmap: rbtree: Use alloc_flags for memory allocations
    34f1180658d9 hwrng: pic32 - use devm_clk_get_enabled
    5af3c8676b36 hwrng: nomadik - keep clock enabled while hwrng is registered
    14c6d1e80847 tcp: tcp_enter_quickack_mode() should be static
    7b75b4c90a9e bpf: Clear the probe_addr for uprobe
    75d3960be702 bpftool: Use a local bpf_perf_event_value to fix accessing its fields
    8ea6871116d5 cpufreq: powernow-k8: Use related_cpus instead of cpus in driver.exit()
    be2092d2a703 x86/efistub: Fix PCI ROM preservation in mixed mode
    9eb25ea7b65d ACPI: x86: s2idle: Fix a logic error parsing AMD constraints table
    26097a7f28b3 ACPI: x86: s2idle: Post-increment variables when getting constraints
    8a962f11a95b s390/paes: fix PKEY_TYPE_EP11_AES handling for secure keyblobs
    7833a74f8d00 s390/pkey: fix/harmonize internal keyblob headers
    208383d68510 selftests/futex: Order calls to futex_lock_pi
    c7802ff51adc perf/imx_ddr: don't enable counter0 if none of 4 counters are used
    0a872a0521c8 x86/decompressor: Don't rely on upper 32 bits of GPRs being preserved
    3af6f77e8090 selftests/resctrl: Close perf value read fd on errors
    4505ad996b66 selftests/resctrl: Unmount resctrl FS if child fails to run benchmark
    c68a196e7ff6 selftests/resctrl: Don't leak buffer in fill_cache()
    fdcb63afd3f6 selftests/resctrl: Add resctrl.h into build deps
    b2ba11ed4d10 selftests/resctrl: Make resctrl_tests run using kselftest framework
    e0478944f4a5 OPP: Fix passing 0 to PTR_ERR in _opp_attach_genpd()
    ec9d118ad99d refscale: Fix uninitalized use of wait_queue_head_t
    e280033ef135 ARM: ptrace: Restore syscall skipping for tracers
    4c3f33904dea ARM: ptrace: Restore syscall restart tracing
    0481251b7cd6 selftests/harness: Actually report SKIP for signal tests
    060ca3f7899a tmpfs: verify {g,u}id mount options correctly
    d412e9b34b90 fs: Fix error checking for d_hash_and_lookup()
    a4229f93bc54 eventfd: prevent underflow for eventfd semaphores
    cedb8719333d reiserfs: Check the return value from __getblk()
    c1a4117f1544 Revert "net: macsec: preserve ingress frame ordering"
    40671f90d5b5 udf: Handle error when adding extent to a file
    099bf90d7fc4 udf: Check consistency of Space Bitmap Descriptor
    7039aa1be9cc of: kexec: Mark ima_{free,stable}_kexec_buffer() as __init
    759d51eda2d0 net: Avoid address overwrite in kernel_connect
    7c4cce5700b9 arm64: lib: Import latest version of Arm Optimized Routines' strncmp
    104df1c695c1 crypto: rsa-pkcs1pad - Use helper to set reqsize
    273f4615314f platform/mellanox: Fix mlxbf-tmfifo not handling all virtio CONSOLE notifications
    9ef5c25bcf1b tracing: Introduce pipe_cpumask to avoid race on trace_pipes
    8c1b60dad0f5 ALSA: seq: oss: Fix racy open/close of MIDI devices
    fa05aea28195 scsi: lpfc: Fix incorrect big endian type assignment in bsg loopback path
    f0bf8a071134 scsi: storvsc: Always set no_report_opcodes
    e9e62419e797 sctp: handle invalid error codes without calling BUG()
    3714bb4a1df8 bnx2x: fix page fault following EEH recovery
    53b8cc2f9685 netlabel: fix shift wrapping bug in netlbl_catmap_setlong()
    867cdd7f9544 drm/amdgpu: Match against exact bootloader status
    0863204deb3c net: hns3: restore user pause configure when disable autoneg
    ac93def0dbb4 scsi: qedi: Fix potential deadlock on &qedi_percpu->p_work_lock
    bef6c89a92d0 scsi: lpfc: Remove reftag check in DIF paths
    b439e33a8c93 idmaengine: make FSL_EDMA and INTEL_IDMA64 depends on HAS_IOMEM
    156b803194ae wifi: brcmfmac: Fix field-spanning write in brcmf_scan_params_v2_to_v1()
    87ea5e89407e net: usb: qmi_wwan: add Quectel EM05GV2
    e1313fa9d2e3 vmbus_testing: fix wrong python syntax for integer value comparison
    5faad57ba6c7 clk: fixed-mmio: make COMMON_CLK_FIXED_MMIO depend on HAS_IOMEM
    e13f0dd5fbe2 kprobes: Prohibit probing on CFI preamble symbol
    ee49b97cb5ae security: keys: perform capable check only on privileged operations
    f44f50305de2 ata: pata_arasan_cf: Use dev_err_probe() instead dev_err() in data_xfer()
    a85c523aeccd ovl: Always reevaluate the file signature for IMA
    3faa126258a9 drm/amd/display: Exit idle optimizations before attempt to access PHY
    c152ca4f219b platform/x86: huawei-wmi: Silence ambient light sensor
    a9988b9c7a31 platform/x86/intel/hid: Add HP Dragonfly G2 to VGBS DMI quirks
    7f3901b04c8f platform/x86: intel: hid: Always call BTNL ACPI method
    23151421ed01 ASoC: atmel: Fix the 8K sample parameter in I2SC master
    c934d2a6970c ASoC: rt711-sdca: fix for JD event handling in ClockStop Mode0
    20587011d271 ASoC: rt711: fix for JD event handling in ClockStop Mode0
    b41f79896456 ASoc: codecs: ES8316: Fix DMIC config
    cc2b0a2055dc ASoC: rt5682-sdw: fix for JD event handling in ClockStop Mode0
    5b64fc2471f9 fs/nls: make load_nls() take a const parameter
    f85908f6bfd2 s390/dasd: fix hanging device after request requeue
    a4845e694893 s390/dasd: use correct number of retries for ERP requests
    e062aa1acf9b m68k: Fix invalid .section syntax
    bbfa7d712b24 vxlan: generalize vxlan_parse_gpe_hdr and remove unused args
    b10215ffdb01 ethernet: atheros: fix return value check in atl1c_tso_csum()
    6bb94f46d31a ASoC: da7219: Check for failure reading AAD IRQ events
    279a6dad0cd9 ASoC: da7219: Flush pending AAD IRQ when suspending
    d424c636b750 ksmbd: no response from compound read
    82373d1b763e ksmbd: fix out of bounds in smb3_decrypt_req()
    20d449a08749 9p: virtio: make sure 'offs' is initialized in zc_request
    c4269c7258d9 media: pci: cx23885: fix error handling for cx23885 ATSC boards
    17d75773b66e media: pulse8-cec: handle possible ping error
    f281a3739399 phy: qcom-snps-femto-v2: use qcom_snps_hsphy_suspend/resume error code
    dfff9c91cbb0 ARM: dts: imx: Set default tuning step for imx7d usdhc
    4e364cab1331 ARM: dts: imx: Adjust dma-apbh node name
    99319298fd9a ARM: dts: imx7s: Drop dma-apb interrupt-names
    1dc2c12854b6 ARM: dts: imx: update sdma node name format
    aff03380bda4 Linux 5.15.131
    cd8ab566cf17 usb: typec: tcpci: clear the fault status bit
    403b2e940910 usb: typec: tcpci: move tcpci.h to include/linux/usb/
    f29483873e24 pinctrl: amd: Don't show `Invalid config param` errors
    b911bef132a0 nilfs2: fix WARNING in mark_buffer_dirty due to discarded buffer reuse
    1c6ddf739f15 nilfs2: fix general protection fault in nilfs_lookup_dirty_data_buffers()
    f6e61aef5c5d tcpm: Avoid soft reset when partner does not support get_status
    da0e7d435e31 fsi: master-ast-cf: Add MODULE_FIRMWARE macro
    72eca651d732 firmware: stratix10-svc: Fix an NULL vs IS_ERR() bug in probe
    907216337bea serial: sc16is7xx: fix bug when first setting GPIO direction
    45d9611ebff2 serial: sc16is7xx: fix broken port 0 uart init
    f90e267dd27e serial: qcom-geni: fix opp vote on shutdown
    46d13013b574 wifi: mt76: mt7921: do not support one stream on secondary antenna only
    a5c2a467e9e7 Bluetooth: btsdio: fix use after free bug in btsdio_remove due to race condition
    f49294ad6898 staging: rtl8712: fix race condition
    d17cec60e87c HID: wacom: remove the battery when the EKR is off
    842c7da3eee2 usb: chipidea: imx: improve logic if samsung,picophy-* parameter is 0
    276a906f81a7 usb: dwc3: meson-g12a: do post init to fix broken usb after resumption
    60f938e84fbb ALSA: usb-audio: Fix init call orders for UAC1
    e949dd2a9b6b USB: serial: option: add FOXCONN T99W368/T99W373 product
    c41411d8b333 USB: serial: option: add Quectel EM05G variant (0x030e)
    09baa839d415 modules: only allow symbol_get of EXPORT_SYMBOL_GPL modules
    997a194914c4 rtc: ds1685: use EXPORT_SYMBOL_GPL for ds1685_rtc_poweroff
    3d0f6408601b net: enetc: use EXPORT_SYMBOL_GPL for enetc_phc_index
    da95090821c4 mmc: au1xmmc: force non-modular build and remove symbol_get usage
    e3e68100c036 ARM: pxa: remove use of symbol_get()
    bb5bf157b5be ksmbd: replace one-element array with flex-array member in struct smb2_ea_info
    2e3f57f74c0a ksmbd: fix wrong DataOffset validation of create context
    b3ad7f39fd85 erofs: ensure that the post-EOF tails are all zeroed
    8f790700c974 Linux 5.15.130
    69347c334071 rcu-tasks: Add trc_inspect_reader() checks for exiting critical section
    8046fb611f70 rcu-tasks: Wait for trc_read_check_handler() IPIs
    da22db901cc1 rcu-tasks: Fix IPI failure handling in trc_wait_for_one_reader
    a0249d365ac8 rcu: Prevent expedited GP from enabling tick on offline CPU
    7aec063d6029 ARM: module: Use module_init_layout_section() to spot init sections
    4a8976052acd arm64: module: Use module_init_layout_section() to spot init sections
    f8a74159d116 arm64: module-plts: inline linux/moduleloader.h
    363bbb5008e5 module: Expose module_init_layout_section()
    758e3d0cb753 ACPI: thermal: Drop nocrt parameter
    9e43368a3393 Linux 5.15.129
    d48016d74836 mm,ima,kexec,of: use memblock_free_late from ima_free_kexec_buffer
    1c41cd30d5cd mm: memory-failure: fix unexpected return value in soft_offline_page()
    0712721e4f4f mm: memory-failure: kill soft_offline_free_page()
    efd02b5cadd5 dma-buf/sw_sync: Avoid recursive lock during fence signal
    8dbf913520c4 pinctrl: renesas: rza2: Add lock around pinctrl_generic{{add,remove}_group,{add,remove}_function}
    f1c0402b8e22 clk: Fix undefined reference to `clk_rate_exclusive_{get,put}'
    10bc3eddc605 scsi: core: raid_class: Remove raid_component_add()
    d3d57cdbfda4 scsi: snic: Fix double free in snic_tgt_create()
    ef56cc8889be can: raw: add missing refcount for memory leak fix
    930f3f164964 drm/i915: Fix premature release of request's reusable memory
    3cb86cc565df cgroup/cpuset: Free DL BW in case can_attach() fails
    ffff4fc4bad7 sched/deadline: Create DL BW alloc, free & check overflow interface
    86aa90795979 cgroup/cpuset: Iterate only if DEADLINE tasks are present
    43d8cbfefa7c sched/cpuset: Keep track of SCHED_DEADLINE task in cpusets
    d0eb4917f4d3 sched/cpuset: Bring back cpuset_mutex
    918879de0e23 cgroup/cpuset: Rename functions dealing with DEADLINE accounting
    78efab71a649 torture: Fix hang during kthread shutdown phase
    c8fb97dd7fe6 nfsd: use vfs setgid helper
    01966511868e nfs: use vfs setgid helper
    a7a1849899aa x86/fpu: Set X86_FEATURE_OSXSAVE feature after enabling OSXSAVE in CR4
    ad79f943c869 x86/fpu: Invalidate FPU state correctly on exec()
    b190cf1f277a drm/display/dp: Fix the DP DSC Receiver cap size
    c8aab333d41a drm/vmwgfx: Fix shader stage validation
    b53ed415163e PCI: acpiphp: Use pci_assign_unassigned_bridge_resources() only for non-root bus
    60ba1bfa036a media: vcodec: Fix potential array out-of-bounds in encoder queue_setup
    544cd10defa1 of: dynamic: Refactor action prints to not use "%pOF" inside devtree_lock
    f1d4a5881856 of: unittest: Fix EXPECT for parse_phandle_with_args_map() test
    ce66cd478636 radix tree: remove unused variable
    898c8c5b1114 lib/clz_ctz.c: Fix __clzdi2() and __ctzdi2() for 32-bit kernels
    ff90a4c6edf8 batman-adv: Hold rtnl lock during MTU update via netlink
    ea38c0d9aaa2 batman-adv: Fix batadv_v_ogm_aggr_send memory leak
    7f3f72eb8f5b batman-adv: Fix TT global entry leak when client roamed back
    f7667b49880a batman-adv: Do not get eth header before batadv_check_management_packet
    3f9312dd7581 batman-adv: Don't increase MTU when set by user
    cde5a240d72d batman-adv: Trigger events for auto adjusted MTU
    22426e1ce679 selinux: set next pointer before attaching to list
    711595bfdccf nfsd: Fix race to FREE_STATEID and cl_revoked
    bd1697e12230 NFS: Fix a use after free in nfs_direct_join_group()
    5f642613746e mm: add a call to flush_cache_vmap() in vmap_pfn()
    440c10034b4d ALSA: ymfpci: Fix the missing snd_card_free() call at probe error
    5cc7d81cf576 clk: Fix slab-out-of-bounds error in devm_clk_release()
    0f72859acfa2 NFSv4: Fix dropped lock for racing OPEN and delegation return
    9c025420fef2 ibmveth: Use dcbf rather than dcbfl
    7e546bd08943 Revert "KVM: x86: enable TDP MMU by default"
    67af12f5582b net/ncsi: change from ndo_set_mac_address to dev_set_mac_address
    4451457d61e0 net/ncsi: make one oem_gma function for all mfr id
    f683f4be802b bonding: fix macvlan over alb bond support
    0fa8046e923a net: remove bond_slave_has_mac_rcu()
    f0ec97fca629 rtnetlink: Reject negative ifindexes in RTM_NEWLINK
    00247cfd2b69 rtnetlink: return ENODEV when ifname does not exist and group is given
    75cfb7de44e5 netfilter: nf_tables: fix out of memory error handling
    f22954f8c58f netfilter: nf_tables: flush pending destroy work before netlink notifier
    ff34403fef98 net/sched: fix a qdisc modification with ambiguous command request
    30624ea3f8b6 igc: Fix the typo in the PTM Control macro
    f697c3ead109 igb: Avoid starting unnecessary workqueues
    d7823d752ce1 ice: fix receive buffer size miscalculation
    ace1b0ae3097 net: validate veth and vxcan peer ifindexes
    335be585416d net: bcmgenet: Fix return value check for fixed_phy_register()
    60a5034584ea net: bgmac: Fix return value check for fixed_phy_register()
    5b52c9ba42c0 ipvlan: Fix a reference count leak warning in ipvlan_ns_exit()
    2bad37b6f675 dccp: annotate data-races in dccp_poll()
    9b015360e86f sock: annotate data-races around prot->memory_pressure
    c52c6c0223e1 octeontx2-af: SDP: fix receive link config
    ce6e2b14bc09 tracing: Fix memleak due to race between current_tracer and trace
    ef748360ba91 tracing: Fix cpu buffers unavailable due to 'record_disabled' missed
    fdf5804d7475 can: raw: fix lockdep issue in raw_release()
    278fccf587dd drm/amd/display: check TG is non-null before checking if enabled
    a955e6a0e39d drm/amd/display: do not wait for mpc idle if tg is disabled
    e0bd4f0c60b4 can: raw: fix receiver memory leak
    b832174b7f89 jbd2: fix a race when checking checkpoint buffer busy
    9c31bb2684f8 jbd2: remove journal_clean_one_cp_list()
    d91783e6864a jbd2: remove t_checkpoint_io_list
    a0ab49e7a758 ALSA: pcm: Fix potential data race at PCM memory allocation helpers
    2e56d380daa9 fbdev: fix potential OOB read in fast_imageblit()
    14163f4a4fa6 fbdev: Fix sys_imageblit() for arbitrary image widths
    5b60bd9081a9 fbdev: Improve performance of sys_imageblit()
    166f0bf4560b MIPS: cpu-features: Use boot_cpu_type for CPU type based features
    8f106e97409d MIPS: cpu-features: Enable octeon_cache by cpu_type
    d1d0b239f974 fs: dlm: fix mismatch of plock results from userspace
    77d334c44681 fs: dlm: use dlm_plock_info for do_unlock_close
    f9a33cc7d946 fs: dlm: change plock interrupted message to debug again
    7ac088841ffb fs: dlm: add pid to debug log
    df9c842ab0a4 dlm: replace usage of found with dedicated list iterator variable
    33e9c610e337 dlm: improve plock logging if interrupted
    d9ce077f8b1f PCI: acpiphp: Reassign resources on bridge if necessary
    8cc8645dd3e1 xprtrdma: Remap Receive buffers after a reconnect
    91a707507e83 NFSv4: fix out path in __nfs4_get_acl_uncached
    323b830eebd1 NFSv4.2: fix error handling in nfs42_proc_getxattr
    5de0a325c45e objtool/x86: Fix SRSO mess
    5ddfe5cc8716 Linux 5.15.128
    9080f4fcc202 x86/srso: Correct the mitigation status when SMT is disabled
    484eefc6ff9c objtool/x86: Fixup frame-pointer vs rethunk
    55f1cbeaa159 x86/retpoline,kprobes: Fix position of thunk sections with CONFIG_LTO_CLANG
    fa24cd0fbcb7 x86/srso: Disable the mitigation on unaffected configurations
    aa0777ce0d3d x86/CPU/AMD: Fix the DIV(0) initial fix attempt
    bbe585239d4f x86/retpoline: Don't clobber RFLAGS during srso_safe_ret()
    19f23d16b0e0 x86/static_call: Fix __static_call_fixup()
    df6495f203a7 x86/srso: Explain the untraining sequences a bit more
    43548590ad7e x86/cpu: Cleanup the untrain mess
    035e906bfc93 x86/cpu: Rename srso_(.*)_alias to srso_alias_\1
    19c1c0499650 x86/cpu: Rename original retbleed methods
    f77dbb90962b x86/cpu: Clean up SRSO return thunk mess
    f624ce6c7fc2 x86/ibt: Add ANNOTATE_NOENDBR
    f1171d455d94 objtool: Add frame-pointer-specific function ignore
    08f7cfd44f77 x86/alternative: Make custom return thunk unconditional
    0d810eff090c x86/cpu: Fix up srso_safe_ret() and __x86_return_thunk()
    8089aae6020e x86/cpu: Fix __x86_return_thunk symbol type
    5b28fda5fdee mmc: f-sdh30: fix order of function calls in sdhci_f_sdh30_remove
    e8c5081da2cc net: fix the RTO timer retransmitting skb every 1ms if linear option is enabled
    431db3f48c28 virtio-net: set queues after driver_ok
    d39fc9b94dc0 af_unix: Fix null-ptr-deref in unix_stream_sendpage().
    9a4d8dc706c2 arm64: dts: rockchip: Disable HS400 for eMMC on ROCK Pi 4
    6b64974e02ea exfat: check if filename entries exceeds max filename length
    6065b3017107 netfilter: set default timeout to 3 secs for sctp shutdown send and recv state
    a00c5d2c208b drm/amd: flush any delayed gfxoff on suspend entry
    d578c919deb7 drm/qxl: fix UAF on handle creation
    ff09f9e671ff mmc: block: Fix in_flight[issue_type] value error
    b803fedb6e50 mmc: wbsd: fix double mmc_free_host() in wbsd_init()
    961f7ce16223 cifs: Release folio lock on fscache read hit.
    cc3f194f46e7 ALSA: usb-audio: Add support for Mythware XA001AU capture and playback interfaces.
    18e27df4f2b4 serial: 8250: Fix oops for port->pm on uart_change_pm()
    e9b8ee715dbc riscv: uaccess: Return the number of bytes effectively not copied
    b2a331abcb03 ALSA: hda/realtek - Remodified 3k pull low procedure
    dfb9676ed25b soc: aspeed: socinfo: Add kfree for kstrdup
    c5ac7522a8db ASoC: meson: axg-tdm-formatter: fix channel slot allocation
    fd346ef1cd2d ASoC: rt5665: add missed regulator_bulk_disable
    e878458d820c ARM: dts: imx: Set default tuning step for imx6sx usdhc
    430c29a54e4a arm64: dts: qcom: qrb5165-rb5: fix thermal zone conflict
    03522d73a498 bus: ti-sysc: Flush posted write on enable before reset
    578371ce0d7f net: do not allow gso_size to be set to GSO_BY_FRAGS
    5fc4fd3f3eb8 sock: Fix misuse of sk_under_memory_pressure()
    fc3d82d295d1 net: dsa: mv88e6xxx: Wait for EEPROM done before HW reset
    f11c2802e143 i40e: fix misleading debug logs
    5ba2b936f3e1 iavf: fix FDIR rule fields masks validation
    ae6834689fd6 team: Fix incorrect deletion of ETH_P_8021AD protocol vid from slaves
    0ffbc341cfae net: phy: broadcom: stub c45 read/write for 54810
    bf221e5e4b19 netfilter: nft_dynset: disallow object maps
    9177869b85dd ipvs: fix racy memcpy in proc_do_sync_threshold
    1adaec4758d1 netfilter: nf_tables: deactivate catchall elements in next generation
    82109740d610 netfilter: nf_tables: fix false-positive lockdep splat
    b2f6d73395cb drm/panel: simple: Fix AUO G121EAN01 panel timings according to the docs
    7207ee323afa selftests: mirror_gre_changes: Tighten up the TTL test match
    c2a6ffe3f1a3 net: phy: fix IRQ-based wake-on-lan over hibernate / power off
    8e5e967348ca xfrm: add forgotten nla_policy for XFRMA_MTIMER_THRESH
    075448a2eb75 xfrm: add NULL check in xfrm_update_ae_params
    e1e04cc2ef2c ip_vti: fix potential slab-use-after-free in decode_session6
    a1639a82ce14 ip6_vti: fix slab-use-after-free in decode_session6
    44b3d4096700 xfrm: fix slab-use-after-free in decode_session6
    a465ace883ac net: xfrm: Amend XFRMA_SEC_CTX nla_policy structure
    fed1cd2cd3aa net: af_key: fix sadb_x_filter validation
    1960f468078b net: xfrm: Fix xfrm_address_filter OOB read
    080dedb1cad8 i2c: designware: Handle invalid SMBus block data response length value
    416c538684bd i2c: designware: Correct length byte validation logic
    b966e9e1e250 btrfs: fix BUG_ON condition in btrfs_cancel_balance
    77698e6ff6f0 tty: serial: fsl_lpuart: Clear the error flags by writing 1 for lpuart32 platforms
    2a5234464383 tty: n_gsm: fix the UAF caused by race condition in gsm_cleanup_mux
    8ef25fb13494 powerpc/rtas_flash: allow user copy to flash block cache objects
    bb70e2b70f8d fbdev: mmp: fix value check in mmphw_probe()
    184f1b68bb99 i2c: hisi: Only handle the interrupt of the driver's transfer
    c4e671dae50e i2c: bcm-iproc: Fix bcm_iproc_i2c_isr deadlock issue
    b99f490ea87e cifs: fix potential oops in cifs_oplock_break
    a5ae5a81bc19 vduse: Use proper spinlock for IRQ injection
    5b7d5c2dd664 virtio-mmio: don't break lifecycle of vm_dev
    edf3b5aadb25 btrfs: move out now unused BG from the reclaim list
    170773563ef6 ARM: dts: nxp/imx6sll: fix wrong property name in usbphy node
    4ffbfe1c980f ARM: dts: imx6sll: fixup of operating points
    e2ff5cf681a8 mmc: sunxi: fix deferred probing
    f93e8c5a7bd9 mmc: bcm2835: fix deferred probing
    4eeba5d476fe USB: dwc3: fix use-after-free on core driver unbind
    a78fe5c9d8d5 USB: dwc3: qcom: fix NULL-deref on suspend
    8a6b7534020d tty: serial: fsl_lpuart: reduce RX watermark to 0 on LS1028A
    701bb5fee7c3 tty: serial: fsl_lpuart: make rx_watermark configurable for different platforms
    fa254ab7d02d tty: serial: fsl_lpuart: Add i.MXRT1050 support
    20351ddb1f41 usb: dwc3: gadget: Improve dwc3_gadget_suspend() and dwc3_gadget_resume()
    31a0e60fe16b USB: dwc3: gadget: drop dead hibernation code
    d9e004104e45 usb: dwc3: Fix typos in gadget.c
    2fa487a94667 usb: dwc3: Remove DWC3 locking during gadget suspend/resume
    7dfb384e76ee usb: dwc3: gadget: Synchronize IRQ between soft connect/disconnect
    d3c82f24ee69 drm/amd/display: fix access hdcp_workqueue assert
    0ba6c7ba081e drm/amd/display: phase3 mst hdcp for multiple displays
    99c444d3c3c4 drm/amd/display: save restore hdcp state when display is unplugged from mst hub
    4f1beb75f652 ARM: dts: aspeed: asrock: Correct firmware flash SPI clocks
    f84c2ca3490c igc: read before write to SRRCTL register
    9fa82f031af8 iio: addac: stx104: Fix race condition when converting analog-to-digital
    d31d04ec404c iio: addac: stx104: Fix race condition for stx104_write_raw()
    89a007f3a383 iio: stx104: Move to addac subdirectory
    cadf8f2d7c9d iio: adc: stx104: Implement and utilize register structures
    6089d354346f iio: adc: stx104: Utilize iomap interface
    565b96d9a7ab iio: add addac subdirectory
    49b830d75f03 ring-buffer: Do not swap cpu_buffer during resize process
    6657ecbcc39c powerpc/kasan: Disable KCOV in KASAN code
    8703b26387e1 ALSA: hda: fix a possible null-pointer dereference due to data race in snd_hdac_regmap_sync()
    5ed4dbc13726 ALSA: hda/realtek: Add quirks for Unis H3C Desktop B760 & Q760
    c7d8b5f46f06 fs/ntfs3: Mark ntfs dirty when on-disk struct is corrupted
    3a00ec562f8c fs: ntfs3: Fix possible null-pointer dereferences in mi_read()
    e7799bb4dbe2 fs/ntfs3: Enhance sanity check while generating attr_list
    ef568da1fd84 drm/amdgpu: Fix potential fence use-after-free v2
    5720c7e185d4 Bluetooth: btusb: Add MT7922 bluetooth ID for the Asus Ally
    548a6b64b3c0 Bluetooth: L2CAP: Fix use-after-free
    302d04596364 watchdog: sp5100_tco: support Hygon FCH/SCH (Server Controller Hub)
    2ea70379e4f4 firewire: net: fix use after free in fwnet_finish_incoming_packet()
    97fd1c8e9c5a pcmcia: rsrc_nonstatic: Fix memory leak in nonstatic_release_resource_db()
    85e888150075 gfs2: Fix possible data races in gfs2_show_options()
    eafb79d2448a usb: chipidea: imx: add missing USB PHY DPDM wakeup setting
    7bdb4c963049 usb: chipidea: imx: don't request QoS for imx8ulp
    25decbbb66e4 thunderbolt: Read retimer NVM authentication status prior tb_retimer_set_inbound_sbtx()
    776b34615a29 media: platform: mediatek: vpu: fix NULL ptr dereference
    cb174344bf85 usb: gadget: u_serial: Avoid spinlock recursion in __gs_console_push
    1676748aa290 media: v4l2-mem2mem: add lock to protect parameter num_rdy
    985086704267 smb: client: fix warning in cifs_smb3_do_mount()
    a3f252436e57 ovl: check type and offset of struct vfsmount in ovl_entry
    1a650d3ccd79 RDMA/mlx5: Return the firmware result upon destroying QP/RQ
    9631d88503ab HID: add quirk for 03f0:464a HP Elite Presenter Mouse
    4921792e04f2 drm/amdgpu: install stub fence into potential unused fence pointers
    fd41646d4350 HID: logitech-hidpp: Add USB and Bluetooth IDs for the Logitech G915 TKL Keyboard
    ff10cd3e9b3a dma-remap: use kvmalloc_array/kvfree for larger dma memory remap
    e9ce774052ee ASoC: SOF: Intel: fix SoundWire/HDaudio mutual exclusion
    7d53d1e4765c iopoll: Call cpu_relax() in busy loops
    ca66e9dd98ef ARM: dts: imx6dl: prtrvt, prtvt7, prti6q, prtwd2: fix USB related warnings
    cc1590830859 PCI: tegra194: Fix possible array out of bounds access
    e2d10f1de1fa net: tls: avoid discarding data on record close
    9a15ca893909 net/tls: Multi-threaded calls to TX tls_dev_del
    2d93157b7e2d net/tls: Perform immediate device ctx cleanup when possible
    51222e1c77a1 macsec: use DEV_STATS_INC()
    3d64a232e4d9 macsec: Fix traffic counters/statistics
    396a1921406a selftests: forwarding: tc_actions: Use ncat instead of nc
    d61a0886d336 selftests: forwarding: tc_actions: cleanup temporary files when test is aborted
    a798977df6d0 mmc: sdhci-f-sdh30: Replace with sdhci_pltfm
    f6f7927ac664 Linux 5.15.127
    c597d8cb0d33 timers/nohz: Last resort update jiffies on nohz_full IRQ entry
    b4d36e6c5dc4 timers/nohz: Switch to ONESHOT_STOPPED in the low-res handler when the tick is stopped
    c3b954a51b64 tick: Detect and fix jiffies update stall
    af99918f0e39 sch_netem: fix issues in netem_change() vs get_dist_table()
    5d094d4e7b99 alpha: remove __init annotation from exported page_is_ram()
    f8d6d25756ea scsi: qedf: Fix firmware halt over suspend and resume
    85db1cd1744e scsi: qedi: Fix firmware halt over suspend and resume
    e70469c28953 scsi: fnic: Replace return codes in fnic_clean_pending_aborts()
    6bc7f4c8c27d scsi: core: Fix possible memory leak if device_add() fails
    461f8ac666fa scsi: snic: Fix possible memory leak if device_add() fails
    171e117cdc0a scsi: 53c700: Check that command slot is not NULL
    7a792b3d888a scsi: storvsc: Fix handling of virtual Fibre Channel timeouts
    0f52d7b78251 scsi: core: Fix legacy /proc parsing buffer overflow
    b757ef99df39 netfilter: nf_tables: report use refcount overflow
    9bdbbcf9d148 nvme-rdma: fix potential unbalanced freeze & unfreeze
    d68f8ef6ef70 nvme-tcp: fix potential unbalanced freeze & unfreeze
    ae6e21f8bb2a btrfs: set cache_block_group_error if we find an error
    314135b7bae9 btrfs: reject invalid reloc tree root keys with stack dump
    69dd147de419 btrfs: exit gracefully if reloc roots don't match
    c40d4b60c58d btrfs: don't stop integrity writeback too early
    555e126dd30b ibmvnic: Handle DMA unmapping of login buffs in release functions
    34fcc823823a ibmvnic: Unmap DMA login rsp buffer on send login fail
    cee62753cf2e ibmvnic: Enforce stronger sanity checks on login response
    27e8db8380eb net/mlx5: Skip clock update work when device is in error state
    f638fc2f7377 net/mlx5: Allow 0 for total host VFs
    086a80eb6213 dmaengine: mcf-edma: Fix a potential un-allocated memory access
    7e1dc94b2d50 nexthop: Fix infinite nexthop bucket dump when using maximum nexthop ID
    608a4327c257 nexthop: Make nexthop bucket dump more efficient
    4457300cfd84 nexthop: Fix infinite nexthop dump when using maximum nexthop ID
    91307347d632 net: hns3: add wait until mac link down
    094310eb2b93 net: hns3: refactor hclge_mac_link_status_wait for interface reuse
    1ae9703c2e32 net: phy: at803x: remove set/get wol callbacks for AR8032
    7d496cd83a9d RDMA/umem: Set iova in ODP flow
    f78a4238a873 wifi: cfg80211: fix sband iftype data lookup for AP_VLAN
    26a27dd76054 drm/rockchip: Don't spam logs in atomic check
    918c1e6843b7 IB/hfi1: Fix possible panic during hotplug remove
    df21468bfdc8 iavf: fix potential races for FDIR filters
    b1f985cf1c52 drivers: net: prevent tun_build_skb() to exceed the packet size limit
    f239c9e1d98b dccp: fix data-race around dp->dccps_mss_cache
    49a1fee22fae bonding: Fix incorrect deletion of ETH_P_8021AD protocol vid from slaves
    789fcd94c9ca xsk: fix refcount underflow in error path
    e95808121953 tunnels: fix kasan splat when generating ipv4 pmtu error
    7903311b2cec net/packet: annotate data-races around tp->status
    f4614e379bf9 mISDN: Update parameter type of dsp_cmx_send()
    3961761af392 bpf, sockmap: Fix bug that strp_done cannot be called
    20d53895d5c0 bpf, sockmap: Fix map type error in sock_map_del_link
    a09c258cfa77 net: core: remove unnecessary frame_sz check in bpf_xdp_adjust_tail()
    85af0b226c0b selftests: forwarding: tc_flower: Relax success criterion
    7b3fa99526f9 selftests: forwarding: Switch off timeout
    e410f85ebca9 selftests: forwarding: Skip test when no interfaces are specified
    4a4499452620 selftests: forwarding: ethtool_extended_state: Skip when using veth pairs
    b8d216e9c607 selftests: forwarding: ethtool: Skip when using veth pairs
    b9dfb80d9fb2 selftests: forwarding: Add a helper to skip test when using veth pairs
    b973eb76dff3 selftests/rseq: Fix build with undefined __weak
    b8b8db5857d4 drm/nouveau/disp: Revert a NULL check inside nouveau_connector_get_modes
    4c6767c8bf5e x86: Move gds_ucode_mitigated() declaration to header
    f919cbc90441 x86/speculation: Add cpu_show_gds() prototype
    9290ef14c96b x86/mm: Fix VDSO and VVAR placement on 5-level paging machines
    829409510d00 x86/cpu/amd: Enable Zenbleed fix for AMD Custom APU 0405
    c41a22b93d7c x86/srso: Fix build breakage with the LLVM linker
    c2372b1559d4 usb: typec: tcpm: Fix response to vsafe0V event
    f776b94ccdf0 usb: common: usb-conn-gpio: Prevent bailing out if initial role is none
    00cc14b52d6f usb: dwc3: Properly handle processing of pending events
    7a11d1e2625b usb-storage: alauda: Fix uninit-value in alauda_check_media()
    945e1b3c361b misc: rtsx: judge ASPM Mode to set PETXCFG Reg
    03eebad96233 binder: fix memory leak in binder_init()
    a8e2ae6296d5 iio: adc: ina2xx: avoid NULL pointer dereference on OF device match
    2df8ae1e42b8 iio: cros_ec: Fix the allocation size for cros_ec_command
    a7cedc2b7612 io_uring: correct check for O_TMPFILE
    697bc234632c selftests/bpf: Fix sk_assign on s390x
    127277262110 selftests/bpf: Workaround verification failure for fexit_bpf2bpf/func_replace_return_code
    ee701208f4cc selftests/bpf: make test_align selftest more robust
    683d2969a082 bpf: aggressively forget precise markings during state checkpointing
    2516deeb872a bpf: stop setting precise in current state
    c47d0178ad86 bpf: allow precision tracking for programs with subprogs
    3645510cf926 nilfs2: fix use-after-free of nilfs_root in dirtying inodes via iput
    36a3b560c78d radix tree test suite: fix incorrect allocation size for pthreads
    8d10284243b7 hwmon: (pmbus/bel-pfe) Enable PMBUS_SKIP_STATUS_CHECK for pfe1100
    3ad4ba2b6112 drm/amd/display: check attr flag before set cursor degamma on DCN3+
    621204fca047 drm/shmem-helper: Reset vma->vm_ops before calling dma_buf_mmap()
    64e6253f6489 drm/nouveau/gr: enable memory loads on helper invocation on all channels
    bcd9eeb3a309 riscv,mmio: Fix readX()-to-delay() ordering
    57772ae9b339 dmaengine: pl330: Return DMA_PAUSED when transaction is paused
    3ca8f5c733c4 ipv6: adjust ndisc_is_useropt() to also return true for PIO
    6cde60777675 mmc: moxart: read scr register without changing byte order
    3f00757ab416 wireguard: allowedips: expand maximum node depth
    aeb974907642 ksmbd: fix wrong next length validation of ea buffer in smb2_set_ea()
    595679098bdc ksmbd: validate command request size
    24c4de4069cb Linux 5.15.126
    aeb4db8ab7f1 PM: sleep: wakeirq: fix wake irq arming
    b5d3a4251bd2 PM / wakeirq: support enabling wake-up irq after runtime_suspend called
    a36b522767f3 soundwire: fix enumeration completion
    7996facaf0ee soundwire: bus: pm_runtime_request_resume on peripheral attachment
    c91c07ae0849 selftests/rseq: Play nice with binaries statically linked against glibc 2.35+
    1cdb50faf7f7 selftests/rseq: check if libc rseq support is registered
    0f1f471b91f4 drm/imx/ipuv3: Fix front porch adjustment upon hactive aligning
    5058c1444040 powerpc/mm/altmap: Fix altmap boundary check
    eb7a5e4d14c8 mtd: rawnand: fsl_upm: Fix an off-by one test in fun_exec_op()
    70643e98cbc3 mtd: rawnand: rockchip: Align hwecc vs. raw page helper layouts
    1796b492f8cc mtd: rawnand: rockchip: fix oobfree offset and description
    f6807b62fb0e mtd: rawnand: omap_elm: Fix incorrect type in assignment
    596be6716bc5 ext2: Drop fragment support
    0ccfe21949bc fs: Protect reconfiguration of sb read-write from racing writes
    27d0f755d649 net: usbnet: Fix WARNING in usbnet_start_xmit/usb_submit_urb
    fbe5a2fed815 Bluetooth: L2CAP: Fix use-after-free in l2cap_sock_ready_cb
    afd9a31b5aa4 fs/sysv: Null check to prevent null-ptr-deref bug
    80ec112c1996 fs/ntfs3: Use __GFP_NOWARN allocation at ntfs_load_attr_list()
    0d6f639f1dcd file: reinstate f_pos locking optimization for regular files
    b44d28b98f18 bpf, cpumap: Make sure kthread is running before map update returns
    8089eb93d678 drm/ttm: check null pointer before accessing when swapping
    ef0d07c66843 open: make RESOLVE_CACHED correctly test for O_TMPFILE
    c81bdf8f9f2b bpf: Disable preemption in bpf_event_output
    ae07cfe2b099 rbd: prevent busy loop when requesting exclusive lock
    7978bcca4c1f wifi: mt76: mt7615: do not advertise 5 GHz on first phy of MT7615D (DBDC)
    32ca6a55e10e net: tap_open(): set sk_uid from current_fsuid()
    4ed3eed99ee6 net: tun_chr_open(): set sk_uid from current_fsuid()
    adacc3a954fa arm64: dts: stratix10: fix incorrect I2C property for SCL signal
    b92c88009da1 mtd: rawnand: meson: fix OOB available bytes for ECC
    b0875c583e41 mtd: spinand: toshiba: Fix ecc_get_status
    1c33ca1e1974 exfat: release s_lock before calling dir_emit()
    8a34a242cf03 exfat: use kvmalloc_array/kvfree instead of kmalloc_array/kfree
    a74878207b02 x86/CPU/AMD: Do not leak quotient data after a division by 0
    b8f029fc4075 firmware: arm_scmi: Drop OF node reference in the transport channel setup
    287c2c8677ed ceph: defer stopping mdsc delayed_work
    98b521d10e73 USB: zaurus: Add ID for A-300/B-500/C-700
    cd6872f2cf56 libceph: fix potential hang in ceph_osdc_notify()
    e5f5b4a89809 scsi: storvsc: Limit max_sectors for virtual Fibre Channel devices
    212a9a3c67be scsi: zfcp: Defer fc_rport blocking until after ADISC response
    dac382725394 tcp_metrics: fix data-race in tcpm_suck_dst() vs fastopen
    4517782e1bc3 tcp_metrics: annotate data-races around tm->tcpm_net
    e842a68667d4 tcp_metrics: annotate data-races around tm->tcpm_vals[]
    d3184bea4ace tcp_metrics: annotate data-races around tm->tcpm_lock
    9a7367cbe33d tcp_metrics: annotate data-races around tm->tcpm_stamp
    6f6bd67f4894 tcp_metrics: fix addr_same() helper
    b0acbcf1e7a1 prestera: fix fallback to previous version on same major version
    d6d9d0f5a5e0 net/mlx5: fs_core: Skip the FTs in the same FS_TYPE_PRIO_CHAINS fs_prio
    c999fb1039dd net/mlx5: fs_core: Make find_closest_ft more generic
    32ef2c0c6cf1 vxlan: Fix nexthop hash size
    1bb54a21f4d9 ip6mr: Fix skb_under_panic in ip6mr_cache_report()
    64e3affee288 s390/qeth: Don't call dev_close/dev_open (DOWN/UP)
    a0da2684db18 net: dcb: choose correct policy to parse DCB_ATTR_BCN
    193333229aac net: netsec: Ignore 'phy-mode' on SynQuacer in DT mode
    766c9dd00c5f net: korina: handle clk prepare error in korina_probe()
    6cecfdf65053 net: ll_temac: fix error checking of irq_of_parse_and_map()
    3761ff4f8670 net: ll_temac: Switch to use dev_err_probe() helper
    5c534640a7da bpf: sockmap: Remove preempt_disable in sock_map_sk_acquire
    79c3d81c9ad1 net/sched: cls_route: No longer copy tcf_result on update to avoid use-after-free
    9edf7955025a net/sched: cls_fw: No longer copy tcf_result on update to avoid use-after-free
    262430dfc618 net/sched: cls_u32: No longer copy tcf_result on update to avoid use-after-free
    b58d34068fd9 bpf, cpumap: Handle skb as well when clean up ptr_ring
    f04f6d9b3b06 net/sched: taprio: Limit TCA_TAPRIO_ATTR_SCHED_CYCLE_TIME to INT_MAX.
    2c55d4941518 net: add missing data-race annotation for sk_ll_usec
    e934c50c48e2 net: add missing data-race annotations around sk->sk_peek_off
    fdd8d8d54d6a net: add missing READ_ONCE(sk->sk_rcvbuf) annotation
    98f0d1db3a27 net: add missing READ_ONCE(sk->sk_sndbuf) annotation
    0d1047b77b23 net: add missing READ_ONCE(sk->sk_rcvlowat) annotation
    6c058a1f67f0 net: annotate data-races around sk->sk_max_pacing_rate
    2950c5ac65b3 qed: Fix scheduling in a tasklet while getting stats
    a19952dbb5b6 qed: Fix kernel-doc warnings
    6d8c259f4827 mISDN: hfcpci: Fix potential deadlock on &hc->lock
    8dedcc6af341 net: sched: cls_u32: Fix match key mis-addressing
    675d29de69c7 perf test uprobe_from_different_cu: Skip if there is no gcc
    0f6e3d8d7f91 net: dsa: fix value check in bcm_sf2_sw_probe()
    047508edd602 rtnetlink: let rtnl_bridge_setlink checks IFLA_BRIDGE_MODE length
    cc9ebceaa6d0 bpf: Add length check for SK_DIAG_BPF_STORAGE_REQ_MAP_FD parsing
    8f9a04c742e1 net/mlx5e: fix return value check in mlx5e_ipsec_remove_trailer()
    00cecb0a8f9e net/mlx5: DR, fix memory leak in mlx5dr_cmd_create_reformat_ctx
    4c224ea31bed wifi: cfg80211: Fix return value in scan logic
    8e72db3ffa5d KVM: s390: fix sthyi error handling
    809edb4262f0 word-at-a-time: use the same return type for has_zero regardless of endianness
    b7880809d75d arm64: dts: imx8mn-var-som: add missing pull-up for onboard PHY reset pinmux
    804e72062be4 iommu/arm-smmu-v3: Document nesting-related errata
    744e6b80b830 iommu/arm-smmu-v3: Add explicit feature for nesting
    fd86b5944215 iommu/arm-smmu-v3: Document MMU-700 erratum 2812531
    2de9f3dcfe63 iommu/arm-smmu-v3: Work around MMU-600 erratum 1076982
    a850fa85d477 arm64: errata: Add detection for TRBE write to out-of-range
    073699df4a09 arm64: errata: Add workaround for TSB flush failures
    44b45e8161a5 net/mlx5: Free irqs only on shutdown callback
    40601542c43c perf: Fix function pointer case
    c12fa4ac8997 io_uring: gate iowait schedule on having pending requests
    c275eaaaa342 Linux 5.15.125
    754e0c7c4a30 x86: fix backwards merge of GDS/SRSO bit
    b14a3924c267 xen/netback: Fix buffer overrun triggered by unusual packet
    153f9a7b02d4 x86/srso: Tie SBPB bit setting to microcode patch detection
    df4c3823cba5 x86/srso: Fix return thunks in generated code
    0071b17eb66b x86/srso: Add IBPB on VMEXIT
    5398faac76a6 x86/srso: Add IBPB
    c24aaa7dde5f x86/srso: Add SRSO_NO support
    4e9115e194a8 x86/srso: Add IBPB_BRTYPE support
    b35087763a44 x86/srso: Add a Speculative RAS Overflow mitigation
    c3b4c644525e x86/cpu, kvm: Add support for CPUID_80000021_EAX
    236dd7133394 x86/bugs: Increase the x86 bugs vector size to two u32s
    0242a8bdef56 Documentation/x86: Fix backwards on/off logic about YMM support
    27a72e350869 x86/mm: Initialize text poking earlier
    d0317b9502ea mm: Move mm_cachep initialization to mm_init()
    8e4c2530879d x86/mm: Use mm_alloc() in poking_init()
    13ec5cb4c113 x86/mm: fix poking_init() for Xen PV guests
    3e90080d5665 x86/xen: Fix secondary processors' FPU initialization
    348741a9e4d3 KVM: Add GDS_NO support to KVM
    59d78655f808 x86/speculation: Add Kconfig option for GDS
    0cc5643b63ae x86/speculation: Add force option to GDS mitigation
    348a89e20184 x86/speculation: Add Gather Data Sampling mitigation
    a094d3b30967 x86/fpu: Move FPU initialization into arch_cpu_finalize_init()
    59f2739111ca x86/fpu: Mark init functions __init
    bb9c20d903f6 x86/fpu: Remove cpuinfo argument from init functions
    de8b7ce4c533 x86/init: Initialize signal frame size late
    041d929233bb init, x86: Move mem_encrypt_init() into arch_cpu_finalize_init()
    8ae795ed6115 init: Invoke arch_cpu_finalize_init() earlier
    7e270cebaffd init: Remove check_bugs() leftovers
    285384ac24c3 um/cpu: Switch to arch_cpu_finalize_init()
    6ea421786426 sparc/cpu: Switch to arch_cpu_finalize_init()
    21a1fc8d13d8 sh/cpu: Switch to arch_cpu_finalize_init()
    dfeb371a2707 mips/cpu: Switch to arch_cpu_finalize_init()
    4baf46a3ba00 m68k/cpu: Switch to arch_cpu_finalize_init()
    8c8165cd25cf ia64/cpu: Switch to arch_cpu_finalize_init()
    de8c592cc5a1 ARM: cpu: Switch to arch_cpu_finalize_init()
    75da6209d3ba x86/cpu: Switch to arch_cpu_finalize_init()
    0774fc2177c3 init: Provide arch_cpu_finalize_init()

(From OE-Core rev: 5832eebee3c150a30bd489699ca693240d11beda)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-02-28 03:32:09 -10:00
Steve Sakoman
db64a8e644 cve-exclusion_5.10.inc: update for 5.10.209
(From OE-Core rev: 29fc80648be1b2ad70df8df9545aae4279f11df3)

Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-02-28 03:32:09 -10:00
Bruce Ashfield
fd2d3a3873 linux-yocto/5.10: update to v5.10.209
Updating linux-yocto/5.10 to the latest korg -stable release that comprises
the following commits:

    16ad71c250c1 Linux 5.10.209
    66e4f4a84791 arm64: dts: armada-3720-turris-mox: set irq type for RTC
    2e23761beb90 i2c: s3c24xx: fix transferring more than one message in polling mode
    da60686bab6b i2c: s3c24xx: fix read transfers in polling mode
    8ba74e90162e selftests: mlxsw: qos_pfc: Adjust the test to support 8 lanes
    3e1ca8065926 selftests: mlxsw: qos_pfc: Convert to iproute2 dcb
    56750ea5d154 mlxsw: spectrum_acl_tcam: Fix stack corruption
    a9b233b287aa mlxsw: spectrum_acl_tcam: Reorder functions to avoid forward declarations
    d3669ebc4c2a mlxsw: spectrum_acl_tcam: Make fini symmetric to init
    a557dbda6407 mlxsw: spectrum_acl_tcam: Add missing mutex_destroy()
    936d06d699c3 mlxsw: spectrum: Use 'bitmap_zalloc()' when applicable
    e8bfdf630142 mlxsw: spectrum_acl_erp: Fix error flow of pool allocation failure
    f90b1cebc442 ethtool: netlink: Add missing ethnl_ops_begin/complete
    b44e1aec8038 kdb: Fix a potential buffer overflow in kdb_local()
    977c2cf5637a ipvs: avoid stat macros calls from preemptible context
    00a86f81c80e netfilter: nf_tables: reject NFT_SET_CONCAT with not field length description
    9a4d25267d50 netfilter: nf_tables: skip dead set elements in netlink dump
    2d4c0798a1ef netfilter: nf_tables: do not allow mismatch field size and set key length
    b099b495e1da net: dsa: vsc73xx: Add null pointer check to vsc73xx_gpio_probe
    6c8a5bbca6e6 net: ravb: Fix dma_addr_t truncation in error case
    ba77c8b4e106 net: phy: micrel: populate .soft_reset for KSZ9131
    1658d7a7a207 net: ethernet: ti: am65-cpsw: Fix max mtu to fit ethernet frames
    2295c22348fa net: qualcomm: rmnet: fix global oob in rmnet_policy
    b55808b96e63 s390/pci: fix max size calculation in zpci_memcpy_toio()
    178b4373446d PCI: keystone: Fix race condition when initializing PHYs
    0de2e62067d2 nvmet-tcp: Fix the H2C expected PDU len calculation
    172276460ab5 serial: imx: Correct clock error message in function probe()
    5ff00408e502 apparmor: avoid crash when parsed profile name is empty
    866d32bff035 perf env: Avoid recursively taking env->bpf_progs.lock
    39669fae69f3 nvmet-tcp: fix a crash in nvmet_req_complete()
    f775f2621c2a nvmet-tcp: Fix a kernel panic when host sends an invalid H2C PDU length
    1550b870ae9c usb: cdc-acm: return correct error code on unsupported break
    d7c74b010aae tty: use 'if' in send_break() instead of 'goto'
    3483ca0390c1 tty: don't check for signal_pending() in send_break()
    2cf81d344032 tty: early return from send_break() on TTY_DRIVER_HARDWARE_BREAK
    4e76dbd7c360 tty: change tty_write_lock()'s ndelay parameter to bool
    abcc25a23731 perf genelf: Set ELF program header addresses properly
    1e17feb4ada9 iio: adc: ad9467: fix scale setting
    a3167e5ab5b8 iio: adc: ad9467: don't ignore error codes
    00e916d9985f iio: adc: ad9467: fix reset gpio handling
    8083d6840179 iio: adc: ad9467: Benefit from devm_clk_get_enabled() to simplify
    6e04a9d30509 serial: imx: fix tx statemachine deadlock
    6746f3e8939d software node: Let args be NULL in software_node_get_reference_args
    381bea33a86e acpi: property: Let args be NULL in __acpi_node_get_property_reference
    7166e8e9135e libapi: Add missing linux/types.h header to get the __u64 type on io.h
    bc57f3ef8a9e serial: 8250: omap: Don't skip resource freeing if pm_runtime_resume_and_get() failed
    89b97e6b19a8 power: supply: cw2015: correct time_to_empty units in sysfs
    5e3995ec39c4 MIPS: Alchemy: Fix an out-of-bound access in db1550_dev_setup()
    c3ed63f6a1c2 MIPS: Alchemy: Fix an out-of-bound access in db1200_dev_setup()
    9995dee8b952 mips: Fix incorrect max_low_pfn adjustment
    5cdda6239ce6 mips: dmi: Fix early remap on MIPS32
    b1528687739b leds: aw2013: Select missing dependency REGMAP_I2C
    927626a20738 mfd: syscon: Fix null pointer dereference in of_syscon_register()
    c964a0597b50 HID: wacom: Correct behavior when processing some confidence == false touches
    c7883c9f83e6 iio: adc: ad7091r: Pass iio_dev to event handler
    ba7be6667408 KVM: arm64: vgic-its: Avoid potential UAF in LPI translation cache
    9b5a278594b9 KVM: arm64: vgic-v4: Restore pending state on host userspace write
    7521ea8f62b2 x86/kvm: Do not try to disable kvmclock if it was not enabled
    322c5fe40f7f wifi: mwifiex: configure BSSID consistently when starting AP
    ba8a4fba622a wifi: rtlwifi: Convert LNKCTL change to PCIe cap RMW accessors
    3dc3122b0be3 wifi: rtlwifi: Remove bogus and dangerous ASPM disable/enable code
    5e9142b6a200 iommu/arm-smmu-qcom: Add missing GMU entry to match table
    394c6c0b6d9b Bluetooth: Fix atomicity violation in {min,max}_key_size_set
    3b8d7a1b8519 rootfs: Fix support for rootfstype= when root= is given
    8c0b563e9b4d io_uring/rw: ensure io->bytes_done is always initialized
    daa61bacd3b9 pwm: jz4740: Don't use dev_err_probe() in .request()
    a7d4ec5672b5 fbdev: flush deferred work in fb_deferred_io_fsync()
    ff2d54d9ccb4 ALSA: hda/relatek: Enable Mute LED on HP Laptop 15s-fq2xxx
    b5c2a32621ae ALSA: oxygen: Fix right channel of capture volume mixer
    57f34589e954 serial: imx: Ensure that imx_uart_rs485_config() is called with enabled clock
    b7747ca58e85 usb: mon: Fix atomicity violation in mon_bin_vma_fault
    5e5ab50effb5 usb: typec: class: fix typec_altmode_put_partner to put plugs
    baaa6d8e3f72 Revert "usb: typec: class: fix typec_altmode_put_partner to put plugs"
    f5c09e1d6e33 usb: chipidea: wait controller resume finished for wakeup irq
    084de4c659bb Revert "usb: dwc3: don't reset device side if dwc3 was configured as host-only"
    1af042358781 Revert "usb: dwc3: Soft reset phy on probe for host"
    325388866014 usb: dwc: ep0: Update request status in dwc3_ep0_stall_restart
    e70b17282a5c usb: phy: mxs: remove CONFIG_USB_OTG condition for mxs_phy_is_otg_host()
    d65cade544de tick-sched: Fix idle and iowait sleeptime accounting vs CPU hotplug
    7e7a0d86542b binder: fix race between mmput() and do_exit()
    cce8ba6fa4ec xen-netback: don't produce zero-size SKB frags
    d1e68ad27901 net: ethernet: mtk_eth_soc: remove duplicate if statements
    8a2946391531 kprobes: Fix to handle forcibly unoptimized kprobes on freeing_list
    c02cdc2c5e87 Revert "ASoC: atmel: Remove system clock tree configuration for at91sam9g20ek"
    79026a2d0a1b virtio-crypto: fix memory leak in virtio_crypto_alg_skcipher_close_session()
    dfdb686d1b43 virtio-crypto: fix memory-leak
    c3b3389ad046 dma-mapping: Fix build error unused-value
    0dfe57f1f237 Input: atkbd - use ab83 as id when skipping the getid command
    c8c1158ffb00 binder: fix use-after-free in shinker's callback
    abbb90928719 binder: fix unused alloc->free_async_space
    fa62c9050e9d binder: fix async space check for 0-sized buffers
    4533e7623e6d keys, dns: Fix size check of V1 server-list header
    9e8a31c1aa4a of: unittest: Fix of_count_phandle_with_args() expected value message
    d5f490343c77 of: Fix double free in of_parse_phandle_with_args_map
    c9ee325baed1 IB/iser: Prevent invalidating wrong MR
    bedecbb5a5fc mmc: sdhci_omap: Fix TI SoC dependencies
    613af7d57622 mmc: sdhci_am654: Fix TI SoC dependencies
    8da3a51f74e1 pwm: stm32: Fix enable count for clk in .probe()
    e33e1bdbe66a pwm: stm32: Use hweight32 in stm32_pwm_detect_channels
    5af4ce2a543d pwm: stm32: Use regmap_clear_bits and regmap_set_bits where applicable
    bed5ec2a5984 clk: fixed-rate: fix clk_hw_register_fixed_rate_with_accuracy_parent_hw
    764b78b927e7 clk: fixed-rate: add devm_clk_hw_register_fixed_rate
    e5236e58cc65 clk: si5341: fix an error code problem in si5341_output_clk_set_rate
    428381fbcb1f watchdog: rti_wdt: Drop runtime pm reference count when watchdog is unused
    d83662bb9079 watchdog: bcm2835_wdt: Fix WDIOC_SETTIMEOUT handling
    6c93290da90b watchdog/hpwdt: Only claim UNKNOWN NMI if from iLO
    cbc15095d1ff watchdog: set cdev owner before adding
    e4f4a2cb7447 drivers: clk: zynqmp: update divider round rate logic
    af0b86199b6c clk: zynqmp: Add a check for NULL pointer
    45b4ea38c93c clk: zynqmp: make bestdiv unsigned
    7fdcd873c047 drivers: clk: zynqmp: calculate closest mux rate
    6cccbfafc0d3 clk: qcom: videocc-sm8150: Add missing PLL config property
    84ee04572faa clk: qcom: videocc-sm8150: Update the videocc resets
    74bbdacf1bc9 dt-bindings: clock: Update the videocc resets for sm8150
    0c8ba6937a8c gpu/drm/radeon: fix two memleaks in radeon_vm_init
    520e213a0b97 drivers/amd/pm: fix a use-after-free in kv_parse_power_table
    aeed2b4e4a70 drm/amd/pm: fix a double-free in si_dpm_init
    d53fee9e34f6 drm/amdgpu/debugfs: fix error code when smc register accessors are NULL
    56a79c68b5e3 media: dvb-frontends: m88ds3103: Fix a memory leak in an error handling path of m88ds3103_probe()
    b5ebb9b4c1da media: dvbdev: drop refcount on error path in dvb_device_open()
    9284f409e407 f2fs: fix to update iostat correctly in f2fs_filemap_fault()
    40d36882c7dc f2fs: fix to check compress file in f2fs_move_file_range()
    b864287581c5 media: rkisp1: Disable runtime PM in probe error path
    962b35733b46 clk: qcom: gpucc-sm8150: Update the gpu_cc_pll1 config
    21a30b59693a media: cx231xx: fix a memleak in cx231xx_init_isoc
    abd50cebf9c7 drm/bridge: tc358767: Fix return value on error case
    3f6932b5baa1 drm/radeon/trinity_dpm: fix a memleak in trinity_parse_power_table
    e646308eda40 drm/radeon/dpm: fix a memleak in sumo_parse_power_table
    57ca7984806d drm/radeon: check the alloc_workqueue return value in radeon_crtc_init()
    c20a6aa0a3f3 drm/drv: propagate errors from drm_modeset_register_all()
    da5e0feb12f2 drm/msm/dsi: Use pm_runtime_resume_and_get to prevent refcnt leaks
    b704eabe8780 drm/msm/mdp4: flush vblank event on disable
    96f5856867f8 ASoC: cs35l34: Fix GPIO name and drop legacy include
    defe0327f555 ASoC: cs35l33: Fix GPIO name and drop legacy include
    1421b06618f7 drm/radeon: check return value of radeon_ring_lock()
    99244692122c drm/radeon/r100: Fix integer overflow issues in r100_cs_track_check()
    ca267f79a578 drm/radeon/r600_cs: Fix possible int overflows in r600_cs_check_reg()
    6f866885e147 f2fs: fix to avoid dirent corruption
    13ea8af95768 drm/bridge: Fix typo in post_disable() description
    3233d8bf7893 media: pvrusb2: fix use after free on context disconnection
    53926e2a3962 drm/bridge: tpd12s015: Drop buggy __exit annotation for remove function
    1eb7ceae4887 drm/nouveau/fence:: fix warning directly dereferencing a rcu pointer
    b1a07165be21 rcu: Create an unrcu_pointer() to remove __rcu from a pointer
    1d1d5b90ea01 drm/panel-elida-kd35t133: hold panel in reset for unprepare
    7794c1481233 RDMA/usnic: Silence uninitialized symbol smatch warnings
    d807f4ef22de ARM: davinci: always select CONFIG_CPU_ARM926T
    da23bd709b46 ip6_tunnel: fix NEXTHDR_FRAGMENT handling in ip6_tnl_parse_tlv_enc_lim()
    4e09df9b24b1 Bluetooth: btmtkuart: fix recv_buf() return value
    fd54d16613cf Bluetooth: Fix bogus check for re-auth no supported with non-ssp
    15be96e1a628 netfilter: nf_tables: mark newset as dead on transaction abort
    6f39bea6629a wifi: rtlwifi: rtl8192se: using calculate_bit_shift()
    c7138266538e wifi: rtlwifi: rtl8192ee: using calculate_bit_shift()
    99f56c3f7c56 wifi: rtlwifi: rtl8192de: using calculate_bit_shift()
    b75b68dde5c1 rtlwifi: rtl8192de: make arrays static const, makes object smaller
    df14e4321997 wifi: rtlwifi: rtl8192ce: using calculate_bit_shift()
    016781c16e96 wifi: rtlwifi: rtl8192cu: using calculate_bit_shift()
    bf277a76d31a wifi: rtlwifi: rtl8192c: using calculate_bit_shift()
    483c975e4094 wifi: rtlwifi: rtl8188ee: phy: using calculate_bit_shift()
    31b651a7a17d wifi: rtlwifi: add calculate_bit_shift()
    64299791d070 dma-mapping: clear dev->dma_mem to NULL after freeing it
    a6dd1095640b dma-mapping: Add dma_release_coherent_memory to DMA API
    ad43344ab432 virtio/vsock: fix logic which reduces credit update messages
    30ae0c663141 selftests/net: fix grep checking for fib_nexthop_multiprefix
    7a0f8295e7e1 scsi: hisi_sas: Replace with standard error code return value
    afea95d319cc bpf: Fix verification of indirect var-off stack access
    419ab8f74a4b arm64: dts: qcom: sdm845-db845c: correct LED panic indicator
    812cebdc5f7b arm64: dts: qcom: qrb5165-rb5: correct LED panic indicator
    ba31bb08c15c scsi: fnic: Return error if vmalloc() failed
    2757f17972d8 bpf: fix check for attempt to corrupt spilled pointer
    7e98bbeb0708 arm64: dts: ti: k3-am65-main: Fix DSS irq trigger type
    d49863ed285d wifi: rtlwifi: rtl8821ae: phy: fix an undefined bitwise shift behavior
    2799324d92a6 firmware: meson_sm: populate platform devices from sm device tree data
    3959dbb37595 firmware: ti_sci: Fix an off-by-one in ti_sci_debugfs_create()
    01f9feb5edc5 net/ncsi: Fix netlink major/minor version numbers
    7bcddd12a947 ncsi: internal.h: Fix a spello
    ae98b7f7bbfb ARM: dts: qcom: apq8064: correct XOADC register address
    4675cacd6b02 wifi: libertas: stop selecting wext
    24d8aef5d93b wifi: ath11k: Defer on rproc_get failure
    91f311155884 bpf: Add crosstask check to __bpf_get_stack
    d5d181df8d75 bpf, lpm: Fix check prefixlen before walking trie
    eb0eac573646 wifi: rtw88: fix RX filter in FIF_ALLMULTI flag
    d8caf15ab156 NFSv4.1/pnfs: Ensure we handle the error NFS4ERR_RETURNCONFLICT
    722c700dd87a blocklayoutdriver: Fix reference leak of pnfs_device_node
    4518dc468cdd crypto: scomp - fix req->dst buffer overflow
    1798c8fd0093 crypto: sahara - do not resize req->src when doing hash operations
    67ae336f3b83 crypto: sahara - fix processing hash requests with req->nbytes < sg->length
    b3287c8a7eab crypto: sahara - improve error handling in sahara_sha_process()
    98985edab61f crypto: sahara - fix wait_for_completion_timeout() error handling
    69451bf97c83 crypto: sahara - fix ahash reqsize
    d8d9580831ea crypto: sahara - handle zero-length aes requests
    b839648d0585 crypto: sahara - avoid skcipher fallback code duplication
    14f57a013a95 crypto: virtio - Wait for tasklet to complete on device remove
    5c28478af371 gfs2: Fix kernel NULL pointer dereference in gfs2_rgrp_dump
    57c7b331f0e5 gfs2: Also reflect single-block allocations in rgd->rd_extfail_pt
    22f63f9bc851 Revert "gfs2: Don't reject a supposedly full bitmap if we have blocks reserved"
    cd48d2a8e6ba fs: indicate request originates from old mount API
    acd413da3e1f pstore: ram_core: fix possible overflow in persistent_ram_init_ecc()
    c60fd7a66366 crypto: sahara - fix error handling in sahara_hw_descriptor_create()
    25b7ca747b0c crypto: sahara - fix processing requests with cryptlen < sg->length
    fc91d32c7ded crypto: sahara - fix ahash selftest failure
    4f4786b81845 crypto: sahara - fix cbc selftest failure
    ccdb86c339d5 crypto: sahara - remove FLAGS_NEW_KEY logic
    7f807dc07341 crypto: af_alg - Disallow multiple in-flight AIO requests
    97f9d0455bd4 crypto: ccp - fix memleak in ccp_init_dm_workarea
    95586bb74bf4 crypto: sa2ul - Return crypto_aead_setkey to transfer the error
    0eb69890e867 crypto: virtio - Handle dataq logic with tasklet
    0dee72f9b7ba virtio-crypto: wait ctrl queue instead of busy polling
    4ee475e76b5e virtio-crypto: use private buffer for control request
    7d386768ef66 virtio-crypto: change code style
    1ff57428894f virtio-crypto: implement RSA algorithm
    f32dfee5a6a6 virtio-crypto: introduce akcipher service
    b2092cdcdabc virtio_crypto: Introduce VIRTIO_CRYPTO_NOSPC
    1bc7a682edea selinux: Fix error priority for bind with AF_UNSPEC on PF_INET6 socket
    001a3f59d8c9 mtd: Fix gluebi NULL pointer dereference caused by ftl notifier
    1d7b39c842c8 ACPI: extlog: Clear Extended Error Log status when RAS_CEC handled the error
    46e3dc02a4ae spi: sh-msiof: Enforce fixed DTDL for R-Car H3
    94c742324ed7 efivarfs: force RO when remounting if SetVariable is not supported
    44a88650ba55 calipso: fix memory leak in netlbl_calipso_add_pass()
    5ac84b01a09b netlabel: remove unused parameter in netlbl_netlink_auditinfo()
    47210a5754ba net: netlabel: Fix kerneldoc warnings
    d5ce66bdf6e4 cpufreq: scmi: process the result of devm_of_clk_add_hw_provider()
    fda130920584 cpufreq: Use of_property_present() for testing DT property presence
    ba7c7e353041 of: Add of_property_present() helper
    ded221bf4c74 of: property: define of_property_read_u{8,16,32,64}_array() unconditionally
    f39c3d578c7d ACPI: LPIT: Avoid u32 multiplication overflow
    c4e1a0ef0b47 ACPI: video: check for error while searching for backlight device parent
    11ac297aba78 mtd: rawnand: Increment IFC_TIMEOUT_MSECS for nand controller response
    f8df7c9886db spi: spi-zynqmp-gqspi: fix driver kconfig dependencies
    5a669f3511d2 powerpc/imc-pmu: Add a null pointer check in update_events_in_group()
    a67a04ad05ac powerpc/powernv: Add a null pointer check in opal_powercap_init()
    e6ad05e3ae9c powerpc/powernv: Add a null pointer check in opal_event_init()
    1eefa93faf69 powerpc/powernv: Add a null pointer check to scom_debug_init_one()
    428ab6a9dda5 selftests/powerpc: Fix error handling in FPU/VMX preemption tests
    b582aa1f6641 powerpc/pseries/memhp: Fix access beyond end of drmem array
    f2ec41874b65 powerpc/pseries/memhotplug: Quieten some DLPAR operations
    81dce186f1dd powerpc/44x: select I2C for CURRITUCK
    d67339e9c81e powerpc: Remove in_kernel_text()
    ecbbd90e7046 powerpc: add crtsavres.o to always-y instead of extra-y
    6aa7865ba7ff EDAC/thunderx: Fix possible out-of-bounds string access
    36dbbfff2823 x86/lib: Fix overflow when counting digits
    83da4fc5aa5c coresight: etm4x: Fix width of CCITMIN field
    67d3d17e3166 PCI: Add ACS quirk for more Zhaoxin Root Ports
    e5457b54add0 parport: parport_serial: Add Brainboxes device IDs and geometry
    937293ff64f4 parport: parport_serial: Add Brainboxes BAR details
    5e0be1229ae1 uio: Fix use-after-free in uio_open
    214aac202d97 binder: fix comment on binder_alloc_new_buf() return value
    689f13128fbc binder: fix trivial typo of binder_free_buf_locked()
    e18d60757bca binder: use EPOLLERR from eventpoll.h
    19d949b37e4a ACPI: resource: Add another DMI match for the TongFang GMxXGxx
    f138fb6e640b drm/crtc: fix uninitialized variable use
    7ba78e08238b ARM: sun9i: smp: fix return code check of of_property_match_string
    01d89184152f net: qrtr: ns: Return 0 if server port is not present
    dbf8b0d9387f ida: Fix crash in ida_free when the bitmap is empty
    d8a07ba130da i2c: rk3x: fix potential spinlock recursion on poll
    a57c59c85c5a Input: xpad - add Razer Wolverine V2 support
    86e4e2eea4ea ARC: fix spare error
    9700ff5a4f77 s390/scm: fix virtual vs physical address confusion
    6e17155869fb Input: i8042 - add nomux quirk for Acer P459-G2-M
    b0e82ef61153 Input: atkbd - skip ATKBD_CMD_GETID in translated mode
    6f1614080fc6 reset: hisilicon: hi6220: fix Wvoid-pointer-to-enum-cast warning
    8d6913d05025 ring-buffer: Do not record in NMI if the arch does not support cmpxchg in NMI
    439f3bbf7554 tracing: Add size check when printing trace_marker output
    bc6619c9aa91 tracing: Have large events show up as '[LINE TOO BIG]' instead of nothing
    c0f1db7380aa jbd2: fix soft lockup in journal_finish_inode_data_buffers()
    cd94f81f7752 neighbour: Don't let neigh_forced_gc() disable preemption for long
    3887ba719800 drm/crtc: Fix uninit-value bug in drm_mode_setcrtc
    956b740f3e46 jbd2: correct the printing of write_flags in jbd2_write_superblock()
    656d684109c6 clk: rockchip: rk3128: Fix HCLK_OTG gate register
    05644e636541 drm/exynos: fix a wrong error checking
    0fc35b0d9f94 drm/exynos: fix a potential error pointer dereference
    fb2f34d93992 nvme: introduce helper function to get ctrl state
    a8b1ddeeacd9 ASoC: da7219: Support low DC impedance headset
    1059aa41c5a8 net/tg3: fix race condition in tg3_reset_task()
    44ad1b9eb37f nouveau/tu102: flush all pdbs on vmm flush
    ffe13302b8fd ASoC: rt5650: add mutex to avoid the jack detection failure
    8b50b177bf98 ASoC: cs43130: Fix incorrect frame delay configuration
    921ff9f2b19e ASoC: cs43130: Fix the position of const qualifier
    304529d56449 ASoC: Intel: Skylake: mem leak in skl register function
    1e31b47b2e57 ASoC: nau8822: Fix incorrect type in assignment and cast to restricted __be16
    9c89777c7dcc ASoC: Intel: Skylake: Fix mem leak in few functions
    c78083013bef ASoC: wm8974: Correct boost mixer inputs
    06a33eec1dc2 nvme-core: check for too small lba shift
    974f127fcf65 drm/amdgpu: Fix cat debugfs amdgpu_regs_didt causes kernel null pointer
    52a33dbeacc8 debugfs: fix automount d_fsdata usage
    65bde47aaddc mptcp: fix uninit-value in mptcp_incoming_options
    6b00598b64dd ALSA: hda - Fix speaker and headset mic pin config for CHUWI CoreBook XPro
    94e192054fac pinctrl: lochnagar: Don't build on MIPS
    3e47740091b0 f2fs: explicitly null-terminate the xattr list
    3fee45ee557a Linux 5.10.208
    929ba86476b3 Revert "nvme: use command_id instead of req->tag in trace_nvme_complete_rq()"
    8a10841c1a9c PCI: Disable ATS for specific Intel IPU E2000 devices
    b74a0c4ddf57 PCI: Extract ATS disabling to a helper function
    25d1e7be85cf netfilter: nf_tables: Reject tables of unsupported family
    03585b18b715 drm/qxl: fix UAF on handle creation
    dd56c5790dc3 ipv6: remove max_size check inline with ipv4
    c6b2a6b827d4 net: tls, update curr on splice as well
    d36b6b152f47 powerpc: update ppc_save_regs to save current r1 in pt_regs
    ae64985e0e9c mmc: sdhci-sprd: Fix eMMC init failure after hw reset
    f7796d76bddd mmc: core: Cancel delayed work before releasing host
    c29da60e1f6b mmc: rpmb: fixes pause retune on all RPMB partitions.
    c82efcaad2a4 mmc: meson-mx-sdhc: Fix initialization frozen issue
    73704c6b35c7 mm: fix unmap_mapping_range high bits shift bug
    4aca0af44721 i2c: core: Fix atomic xfer check for non-preempt config
    0ba8c7ef197c x86/kprobes: fix incorrect return address calculation in kprobe_emulate_call_indirect
    23c006a760a7 firewire: ohci: suppress unexpected system reboot in AMD Ryzen machines and ASM108x/VT630x PCIe cards
    70168fdc743b mm/memory-failure: check the mapcount of the precise page
    18203c4484d5 net: Implement missing SO_TIMESTAMPING_NEW cmsg support
    701b03fc14f7 bnxt_en: Remove mis-applied code from bnxt_cfg_ntp_filters()
    cfbf618e9a21 asix: Add check for usbnet_get_endpoints
    0fc5fe6e4134 net/qla3xxx: fix potential memleak in ql_alloc_buffer_queues
    c492f9c7d313 net/qla3xxx: switch from 'pci_' to 'dma_' API
    53e92564c56a i40e: Restore VF MSI-X state during PCI reset
    6d3465c3dd53 ASoC: meson: g12a-tohdmitx: Fix event generation for S/PDIF mux
    e08399e81210 ASoC: meson: g12a-toacodec: Fix event generation
    51e88b2cef12 ASoC: meson: g12a-tohdmitx: Validate written enum values
    85f8d007deab ASoC: meson: g12a-toacodec: Validate written enum values
    21ecce245624 i40e: fix use-after-free in i40e_aqc_add_filters()
    f8c03fd8262e net: Save and restore msg_namelen in sock_sendmsg
    06ce3b8ec444 netfilter: nft_immediate: drop chain reference counter on error
    cf3c516dec82 netfilter: nftables: add loop check helper function
    4366b7e1f541 net: bcmgenet: Fix FCS generation for fragmented skbuffs
    d1eb795385e1 sfc: fix a double-free bug in efx_probe_filters
    cb69cad457fa ARM: sun9i: smp: Fix array-index-out-of-bounds read in sunxi_mc_smp_init
    8abb7ab7cf2f net: sched: em_text: fix possible memory leak in em_text_destroy()
    ecdfb0970c09 i40e: Fix filter input checks to prevent config with invalid values
    8d4ae760c793 drm/i915/dp: Fix passing the correct DPCD_REV for drm_dp_set_phy_test_pattern
    3ff482518b8e octeontx2-af: Fix marking couple of structure as __packed
    6adeb15cb6ad nfc: llcp_core: Hold a ref to llcp_local->dev when holding a ref to llcp_local
    74c9135d1659 ALSA: hda/realtek: Fix mute and mic-mute LEDs for HP ProBook 440 G6
    132ba71b4e81 block: Don't invalidate pagecache for invalid falloc modes
    ef1d1d7c1048 keys, dns: Fix missing size check of V1 server-list header
    03a0e87f70e8 Linux 5.10.207
    a7fd5c7ba4b9 scsi: core: Always send batch on reset or error handling command
    e30419672e3a Revert "scsi: core: Add scsi_prot_ref_tag() helper"
    f60f60e1deca Revert "scsi: core: Introduce scsi_get_sector()"
    a5edb4070293 Revert "scsi: core: Make scsi_get_lba() return the LBA"
    212929776027 Revert "scsi: core: Use scsi_cmd_to_rq() instead of scsi_cmnd.request"
    cea19678bf55 Revert "scsi: core: Use a structure member to track the SCSI command submitter"
    6963d049a422 Revert "scsi: core: Always send batch on reset or error handling command"

(From OE-Core rev: bc5c1a8631e65a2e6715987f67b8957b41da5dcc)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-02-28 03:32:09 -10:00
Bruce Ashfield
4ac358ad8a linux-yocto/5.10: update to v5.10.206
Updating linux-yocto/5.10 to the latest korg -stable release that comprises
the following commits:

    cf13ba74e8eb Linux 5.10.206
    2df1e1887c68 spi: atmel: Fix PDC transfer setup bug
    2a0a658ed6ef Bluetooth: SMP: Fix crash when receiving new connection when debug is enabled
    ecd50f820d86 Revert "MIPS: Loongson64: Enable DMA noncoherent support"
    9175341bd80b dm-integrity: don't modify bio's immutable bio_vec in integrity_metadata()
    73117ea03363 netfilter: nf_tables: skip set commit for deleted/destroyed sets
    8bf79dec73fe tracing: Fix blocked reader of snapshot buffer
    0afe42022865 ring-buffer: Fix wake ups when buffer_percent is set to 100
    9db5239d7533 scsi: core: Always send batch on reset or error handling command
    f2d30198c053 scsi: core: Use a structure member to track the SCSI command submitter
    df83ca8e986d scsi: core: Use scsi_cmd_to_rq() instead of scsi_cmnd.request
    d054858a9c9e scsi: core: Make scsi_get_lba() return the LBA
    f230e6d4249b scsi: core: Introduce scsi_get_sector()
    294d66c35a4e scsi: core: Add scsi_prot_ref_tag() helper
    929f475ebaf0 spi: atmel: Fix CS and initialization bug
    23d9267c548b spi: atmel: Switch to transfer_one transfer method
    db1b14eec8c6 Bluetooth: af_bluetooth: Fix Use-After-Free in bt_sock_recvmsg
    0c54b79d1d9b smb: client: fix OOB in smbCalcSize()
    203a412e52b5 smb: client: fix OOB in SMB2_query_info_init()
    79e158ddc3c7 usb: fotg210-hcd: delete an incorrect bounds test
    da448f145f8d Bluetooth: MGMT/SMP: Fix address type when using SMP over BREDR/LE
    4bc912140b1c Bluetooth: use inclusive language in SMP
    e219c3110a16 Bluetooth: SMP: Convert BT_ERR/BT_DBG to bt_dev_err/bt_dev_dbg
    cdbc4a1115a5 ARM: dts: Fix occasional boot hang for am3 usb
    1e2db0124c69 9p/net: fix possible memory leak in p9_check_errors()
    c4a22227f7eb x86/alternatives: Sync core before enabling interrupts
    7d407ef18327 lib/vsprintf: Fix %pfwf when current node refcount == 0
    565fadc3ea91 bus: ti-sysc: Flush posted write only after srst_udelay
    e50cfb544742 tracing / synthetic: Disable events after testing in synth_event_gen_test_init()
    cd6e41593ed7 dt-bindings: nvmem: mxs-ocotp: Document fsl,ocotp
    786788bb1396 net: ks8851: Fix TX stall caused by TX buffer overrun
    391c1019a005 net: rfkill: gpio: set GPIO direction
    6d7b8e5a6d91 net: 9p: avoid freeing uninit memory in p9pdu_vreadf
    45b63f09ba89 Input: soc_button_array - add mapping for airplane mode button
    2aa744ad0e9e Bluetooth: L2CAP: Send reject on command corrupted request
    25a6fdd26d13 Bluetooth: hci_event: Fix not checking if HCI_OP_INQUIRY has been sent
    71e1c7654010 USB: serial: option: add Quectel RM500Q R13 firmware support
    d521896bcc0b USB: serial: option: add Foxconn T99W265 with new baseline
    d0cf8a4bee42 USB: serial: option: add Quectel EG912Y module support
    f41f44cea9eb USB: serial: ftdi_sio: update Actisense PIDs constant names
    20d84a19466f wifi: cfg80211: fix certs build to not depend on file order
    7a0a5cbfea34 wifi: cfg80211: Add my certificate
    9dcf50da596d iio: adc: ti_am335x_adc: Fix return value check of tiadc_request_dma()
    abbebddb19ac iio: common: ms_sensors: ms_sensors_i2c: fix humidity conversion time table
    c40db29812f9 scsi: bnx2fc: Fix skb double free in bnx2fc_rcv()
    e3749f85fddc Input: ipaq-micro-keys - add error handling for devm_kmemdup
    b5f67cea27fa iio: imu: inv_mpu6050: fix an error code problem in inv_mpu6050_read_raw
    505df1c0abe6 interconnect: Treat xlate() returning NULL node as an error
    cc5eec86a4ff btrfs: do not allow non subvolume root targets for snapshot
    bd267af18f7b smb: client: fix NULL deref in asn1_ber_decoder()
    41350e813acf ALSA: hda/hdmi: add force-connect quirk for NUC5CPYB
    a4692c38cd57 ALSA: hda/hdmi: Add quirk to force pin connectivity on NUC10
    e032ddb0e387 pinctrl: at91-pio4: use dedicated lock class for IRQ
    0b85149a9dc1 i2c: aspeed: Handle the coalesced stop conditions with the start conditions.
    3dce7a52b2fa afs: Fix overwriting of result of DNS query
    97be1e865e70 keys, dns: Allow key types (eg. DNS) to be reclaimed immediately on expiry
    9e0d18f946b2 net: check dev->gso_max_size in gso_features_check()
    59dc16ce095d net: warn if gso_type isn't set for a GSO SKB
    63ad66d4844b afs: Fix dynamic root lookup DNS check
    65d2c287fc00 afs: Fix the dynamic root's d_delete to always delete unused dentries
    a3218319ee86 net: check vlan filter feature in vlan_vids_add_by_dev() and vlan_vids_del_by_dev()
    12e5a4719c99 net/rose: fix races in rose_kill_by_device()
    be0988c9b075 ethernet: atheros: fix a memleak in atl1e_setup_ring_resources
    8b6f8bfe3a3a net: sched: ife: fix potential use-after-free
    f245312e9f4f net/mlx5e: Correct snprintf truncation handling for fw_version buffer used by representors
    e8ba688a64f9 net/mlx5: Fix fw tracer first block check
    fc4c53f8e929 net/mlx5e: Fix slab-out-of-bounds in mlx5_query_nic_vport_mac_list()
    50aa92e6999d Revert "net/mlx5e: fix double free of encap_header"
    b851889e9184 wifi: mac80211: mesh_plink: fix matches_local logic
    717f08fb5140 s390/vx: fix save/restore of fpu kernel context
    c48219fad182 reset: Fix crash when freeing non-existent optional resets
    c999682ce8de ARM: OMAP2+: Fix null pointer dereference and memory leak in omap_soc_device_init
    dbc8edb80f05 smb: client: fix OOB in smb2_query_reparse_point()
    bc3c57493b20 ksmbd: fix wrong name of SMB2_CREATE_ALLOCATION_SIZE

(From OE-Core rev: 28b884d3ba7854fbddd353f57214a4a24799f29c)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-02-28 03:32:09 -10:00
Bruce Ashfield
870f196f41 linux-yocto/5.10: update to v5.10.205
Updating  to the latest korg -stable release that comprises
the following commits:

    ca4427ebc626 Linux 5.10.205
    05c547e8427a powerpc/ftrace: Fix stack teardown in ftrace_no_trace
    e30e62f0e178 powerpc/ftrace: Create a dummy stackframe to fix stack unwind
    5a82cf64f8ad tty: n_gsm: add sanity check for gsm->receive in gsm_receive_buf()
    a11ea2c08f51 tty: n_gsm, remove duplicates of parameters
    b8faa754b523 tty: n_gsm: fix tty registration before control channel open
    918ba07224e9 USB: gadget: core: adjust uevent timing on gadget unbind
    20c2cb79a38c ring-buffer: Fix a race in rb_time_cmpxchg() for 32 bit archs
    9f5bf009f77d ring-buffer: Fix writing to the buffer with max_data_size
    3e8055fc3b21 ring-buffer: Have saved event hold the entire event
    d7a293981427 tracing: Update snapshot buffer on resize if it is allocated
    a3580b2bfe90 ring-buffer: Fix memory leak of free page
    5ffda6998be5 team: Fix use-after-free when an option instance allocation fails
    33fb8ac30c3e arm64: mm: Always make sw-dirty PTEs hw-dirty in pte_modify
    26eeec522aca ext4: prevent the normalized size from exceeding EXT_MAX_BLOCKS
    6e2628dfade5 soundwire: stream: fix NULL pointer dereference for multi_link
    7ccfc078cd47 perf: Fix perf_event_validate_size() lockdep splat
    5984306f6ce7 HID: hid-asus: add const to read-only outgoing usb buffer
    e9709a88a8ee net: usb: qmi_wwan: claim interface 4 for ZTE MF290
    09c8ee5f9bb3 asm-generic: qspinlock: fix queued_spin_value_unlocked() implementation
    f6a1bf429978 HID: multitouch: Add quirk for HONOR GLO-GXXX touchpad
    744027bb8ee0 HID: hid-asus: reset the backlight brightness level on resume
    1ac7379d2e18 HID: add ALWAYS_POLL quirk for Apple kb
    a64a9f38ae3e HID: glorious: fix Glorious Model I HID report
    6026a862f351 platform/x86: intel_telemetry: Fix kernel doc descriptions
    e01135763b9b bcache: avoid NULL checking to c->root in run_cache_set()
    a7555524e325 bcache: add code comments for bch_btree_node_get() and __bch_btree_node_alloc()
    3b48e1c0485a bcache: remove redundant assignment to variable cur_idx
    ea2341d08255 bcache: avoid oversize memory allocation by small stripe_size
    dbf0cdacdb4e blk-throttle: fix lockdep warning of "cgroup_mutex or RCU read lock required!"
    d69581c17608 usb: aqc111: check packet for fixup for true limit
    1e3ea8d2bad8 drm/mediatek: Add spinlock for setting vblank event in atomic_begin
    022b82336a62 PCI: loongson: Limit MRRS to 256
    791bca1b0996 Revert "PCI: acpiphp: Reassign resources on bridge if necessary"
    7e2afd088506 ALSA: hda/realtek: Apply mute LED quirk for HP15-db
    063302851147 ALSA: hda/hdmi: add force-connect quirks for ASUSTeK Z170 variants
    851783a0c4ff fuse: dax: set fc->dax to NULL in fuse_dax_conn_free()
    2623cf1fe825 cred: switch to using atomic_long_t
    03b50868ae53 net: atlantic: fix double free in ring reinit logic
    a232eb81c7cb appletalk: Fix Use-After-Free in atalk_ioctl
    9deccfbaed4b net: stmmac: Handle disabled MDIO busses from devicetree
    5470533a7d7e net: stmmac: use dev_err_probe() for reporting mdio bus registration failure
    52a4c0e82a24 vsock/virtio: Fix unsigned integer wrap around in virtio_transport_has_space()
    4c0d7e826160 sign-file: Fix incorrect return values check
    25bfae19b84a net: ena: Fix XDP redirection error
    c83544b70cc8 net: ena: Destroy correct number of xdp queues upon failure
    7ed59c4027a8 net: Remove acked SYN flag from packet in the transmit queue correctly
    10760f4234f7 qed: Fix a potential use-after-free in qed_cxt_tables_alloc
    7eda5960a533 net/rose: Fix Use-After-Free in rose_ioctl
    64a032015c33 atm: Fix Use-After-Free in do_vcc_ioctl
    c20f425e0692 net: fec: correct queue selection
    d15e4b825dc0 net: vlan: introduce skb_vlan_eth_hdr()
    bc0860a3c49c atm: solos-pci: Fix potential deadlock on &tx_queue_lock
    df5c24df63c4 atm: solos-pci: Fix potential deadlock on &cli_queue_lock
    6a7b673e6ec7 qca_spi: Fix reset behavior
    347d10877bde qca_debug: Fix ethtool -G iface tx behavior
    a07e5568d95f qca_debug: Prevent crash on TX ring changes
    97275e470c2a net: ipv6: support reporting otherwise unknown prefix flags in RTM_NEWPREFIX
    b30fbeb390d0 HID: lenovo: Restrict detection of patched firmware only to USB cptkbd
    84eed654ff33 afs: Fix refcount underflow from error handling race
    8ee7b2c46594 netfilter: nf_tables: fix 'exist' matching on bigendian arches
    b50306f77190 Linux 5.10.204
    fa49e956b725 r8169: fix rtl8125b PAUSE frames blasting when suspended
    9e3ca02b1164 devcoredump: Send uevent once devcd is ready
    9e0ca920123f devcoredump : Serialize devcd_del work
    12467ad3f3d4 smb: client: fix potential NULL deref in parse_dfs_referrals()
    0b1711b486de cifs: Fix non-availability of dedup breaking generic/304
    8cb1209989fb Revert "btrfs: add dmesg output for first mount and last unmount of a filesystem"
    d7c3a467f47a mmc: block: Be sure to wait while busy in CQE error recovery
    91b70f60c8e5 platform/x86: asus-wmi: Document the dgpu_disable sysfs attribute
    a8b781c410a5 tools headers UAPI: Sync linux/perf_event.h with the kernel sources
    bdb26b819955 platform/x86: asus-wmi: Fix kbd_dock_devid tablet-switch reporting
    bf72b44fe81b netfilter: nft_set_pipapo: skip inactive elements during set walk
    e844a9309f51 drop_monitor: Require 'CAP_SYS_ADMIN' when joining "events" group
    ad2223a16925 psample: Require 'CAP_NET_ADMIN' when joining "packets" group
    015870c10c45 genetlink: add CAP_NET_ADMIN test for multicast bind
    df6cb4c43098 netlink: don't call ->netlink_bind with table lock held
    3fe1ea5f921b io_uring/af_unix: disable sending io_uring over sockets
    3ee7e2faef87 MIPS: Loongson64: Enable DMA noncoherent support
    ff803322e935 MIPS: Loongson64: Reserve vgabios memory on boot
    e0e897ddf392 KVM: s390/mm: Properly reset no-dat
    ab8816a7c2c6 x86/CPU/AMD: Check vendor in the AMD microcode callback
    6059c313ff9c serial: 8250_omap: Add earlycon support for the AM654 UART controller
    8ffaaf80c64c serial: 8250: 8250_omap: Do not start RX DMA on THRI interrupt
    b74ace5dec53 serial: 8250: 8250_omap: Clear UART_HAS_RHR_IT_DIS bit
    863bacf3a3f3 serial: sc16is7xx: address RX timeout interrupt errata
    e4ed3247465e ARM: PL011: Fix DMA support
    713f6ff32651 usb: typec: class: fix typec_altmode_put_partner to put plugs
    f16d5355aab7 Revert "xhci: Loosen RPM as default policy to cover for AMD xHC 1.1"
    9caaf469afd4 parport: Add support for Brainboxes IX/UC/PX parallel cards
    558b6a436832 usb: gadget: f_hid: fix report descriptor allocation
    d4fb20dcc13b drm/amdgpu: correct the amdgpu runtime dereference usage count
    b5862e5ca58f gpiolib: sysfs: Fix error handling on failed export
    208dd116f96e perf: Fix perf_event_validate_size()
    8bd3d61624d5 perf/core: Add a new read format to get a number of lost samples
    f460ff26bd99 tracing: Stop current tracer when resizing buffer
    21beb0d86ff0 tracing: Set actual size after ring buffer resize
    7123b54c8b5f ring-buffer: Force absolute timestamp on discard of event
    bceeaa5cdace misc: mei: client.c: fix problem of return '-EOVERFLOW' in mei_cl_write
    ee2719b59fb4 misc: mei: client.c: return negative error code in mei_cl_write
    3cd3eea1f745 arm64: dts: mediatek: mt8183: Fix unit address for scp reserved memory
    7f6daf9ee3e7 arm64: dts: mediatek: mt8173-evb: Fix regulator-fixed node names
    0a9f3e1f570f arm64: dts: mediatek: mt7622: fix memory node warning check
    9bceffa42320 packet: Move reference count in packet_sock to atomic_long_t
    0d0564cfb746 tracing: Fix a possible race when disabling buffered events
    85e86d6989aa tracing: Fix incomplete locking when disabling buffered events
    ad9efb0b275a tracing: Disable snapshot buffer when stopping instance tracers
    97c2b3b2329d tracing: Always update snapshot buffer size
    2f7368f336ee checkstack: fix printed address
    35a7f92507dc nilfs2: prevent WARNING in nilfs_sufile_set_segment_usage()
    8df769d92b1c nilfs2: fix missing error check for sb_set_blocksize call
    3764b24499e8 ALSA: hda/realtek: Enable headset on Lenovo M90 Gen5
    0ff1c0f5a45f ALSA: pcm: fix out-of-bounds in snd_pcm_state_names
    1f1c2a3452fb riscv: fix misaligned access handling of C.SWSP and C.SDSP
    cb3543fdaac1 ARM: dts: imx7: Declare timers compatible with fsl,imx6dl-gpt
    f337ccfa9f6d ARM: imx: Check return value of devm_kasprintf in imx_mmdc_perf_init
    04769017dec9 scsi: be2iscsi: Fix a memleak in beiscsi_init_wrb_handle()
    a28083d41c90 tracing: Fix a warning when allocating buffered events fails
    888580bfaaf5 ASoC: wm_adsp: fix memleak in wm_adsp_buffer_populate
    9dfd86241815 hwmon: (acpi_power_meter) Fix 4.29 MW bug
    c0a428245a83 RDMA/bnxt_re: Correct module description string
    58a7281feb1a RDMA/rtrs-clt: Remove the warnings for req in_use check
    02916f39b8e8 arm64: dts: rockchip: Expand reg size of vdec node for RK3399
    a953e45ebeae tee: optee: Fix supplicant based device enumeration
    3c852b26a55e bpf: sockmap, updating the sg structure should also update curr
    b17a886ed29f tcp: do not accept ACK of bytes we never sent
    f1a6a94912f8 netfilter: xt_owner: Fix for unsafe access of sk->sk_socket
    e94b6e964018 net: hns: fix fake link up on xge port
    f25356834830 ipv4: ip_gre: Avoid skb_pull() failure in ipgre_xmit()
    860d53a347e4 ionic: Fix dim work handling in split interrupt mode
    b41bf6ac2485 ionic: fix snprintf format length warning
    49809af89c07 net: bnxt: fix a potential use-after-free in bnxt_init_tc
    2093072ed72b i40e: Fix unexpected MFS warning message
    d54f5a5bc85a arcnet: restoring support for multiple Sohard Arcnet cards
    effb9ad00447 net: arcnet: com20020 fix error handling
    a657bddfb4c5 mlxbf-bootctl: correctly identify secure boot with development keys
    d3f479283687 hv_netvsc: rndis_filter needs to select NLS
    909de62207ea octeontx2-pf: Add missing mutex lock in otx2_get_pauseparam
    7827c1802dac ipv6: fix potential NULL deref in fib6_add()
    ba6dc2f56441 of: dynamic: Fix of_reconfig_get_state_change() return value documentation
    08dbdacbfe2e of: Add missing 'Return' section in kerneldoc comments
    f58e3b3652fc of: Fix kerneldoc output formatting
    58ccdcc9d720 of: base: Fix some formatting issues and provide missing descriptions
    7db515e82ab5 platform/x86: asus-wmi: Move i8042 filter install to shared asus-wmi code
    5fe052b8fa4b platform/x86: asus-wmi: Simplify tablet-mode-switch handling
    a113da75908b platform/x86: asus-wmi: Simplify tablet-mode-switch probing
    68b795d04007 platform/x86: asus-wmi: Add support for ROG X13 tablet mode
    97620a08fc1b platform/x86: asus-wmi: Adjust tablet/lidflip handling to use enum
    ada7c5cc697b asus-wmi: Add dgpu disable method
    3a8fc16d5e78 platform/x86: asus-nb-wmi: Add tablet_mode_sw=lid-flip quirk for the TP200s
    79b863382043 platform/x86: asus-nb-wmi: Allow configuring SW_TABLET_MODE method with a module option
    9a861dde99cb platform/x86: asus-wmi: Add support for SW_TABLET_MODE on UX360
    13b1fa540794 drm/amdgpu: correct chunk_ptr to a pointer to chunk.
    8887047de358 kconfig: fix memory leak from range properties
    96d55414304a tg3: Increment tx_dropped in tg3_tso_bug()
    9068403d9465 tg3: Move the [rt]x_dropped counters to tg3_napi
    e7152a138a5a netfilter: ipset: fix race condition between swap/destroy and kernel side add/del/test
    348111c3be90 i2c: designware: Fix corrupted memory seen in the ISR
    7f4c89400d29 hrtimers: Push pending hrtimers away from outgoing CPU earlier

(From OE-Core rev: a1b6f991484529756f8e86c5af3391aef39d6e6e)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-02-28 03:32:09 -10:00
Bruce Ashfield
4ab485f35b linux-yocto/5.10: update to v5.10.203
Updating  to the latest korg -stable release that comprises
the following commits:

    d330ef1d295d Linux 5.10.203
    9c957e2b5254 driver core: Release all resources during unbind before updating device links
    2325d3b6b10f r8169: fix deadlock on RTL8125 in jumbo mtu mode
    b29e6055db1e r8169: disable ASPM in case of tx timeout
    8b76708eb9f1 mmc: sdhci-sprd: Fix vqmmc not shutting down after the card was pulled
    b532bc9b73e6 mmc: core: add helpers mmc_regulator_enable/disable_vqmmc
    376fabe3677a mmc: block: Retry commands in CQE error recovery
    bf62a283a779 mmc: core: convert comma to semicolon
    bb785011843e mmc: cqhci: Fix task clearing in CQE error recovery
    cb9ca7cc273b mmc: cqhci: Warn of halt or task clear failure
    e94ededefc42 mmc: cqhci: Increase recovery halt timeout
    2011f06e32ab cpufreq: imx6q: Don't disable 792 Mhz OPP unnecessarily
    6b35f36ff8f0 cpufreq: imx6q: don't warn for disabling a non-existing frequency
    910566a789a2 scsi: qla2xxx: Fix system crash due to bad pointer access
    46a4bf13502f scsi: qla2xxx: Use scsi_cmd_to_rq() instead of scsi_cmnd.request
    b19fe82b4b92 scsi: core: Introduce the scsi_cmd_to_rq() function
    c2b6f7e48e38 smb3: fix caching of ctime on setxattr
    f9aa2857c6e6 fs: add ctime accessors infrastructure
    8d4237a149e3 drm/amdgpu: don't use ATRM for external devices
    2df04d76c97d driver core: Move the "removable" attribute from USB to core
    01fbfcd8105c ima: annotate iint mutex to avoid lockdep false positive warnings
    8a3322a35f74 fbdev: stifb: Make the STI next font pointer a 32-bit signed offset
    15bc430fc176 misc: pci_endpoint_test: Add deviceID for J721S2 PCIe EP device support
    a6128ad78771 misc: pci_endpoint_test: Add deviceID for AM64 and J7200
    c922282d11b3 s390/cmma: fix detection of DAT pages
    03e07092c6ce s390/mm: fix phys vs virt confusion in mark_kernel_pXd() functions family
    cb420e35571c ASoC: SOF: sof-pci-dev: Fix community key quirk detection
    b37e1fbe6d30 ASoC: SOF: sof-pci-dev: don't use the community key on APL Chromebooks
    3a79fcb743f7 ASoC: SOF: sof-pci-dev: add parameter to override topology filename
    4aeb3320d70e ASoC: SOF: sof-pci-dev: use community key on all Up boards
    6368a32d26a3 ASoC: Intel: Move soc_intel_is_foo() helpers to a generic header
    8e52b19d92e1 smb3: fix touch -h of symlink
    889c84e2b200 net: ravb: Start TX queues after HW initialization succeeded
    5d428cda38e8 net: ravb: Use pm_runtime_resume_and_get()
    f78d0f301395 ravb: Fix races between ravb_tx_timeout_work() and net related ops
    a36e00e957a2 r8169: prevent potential deadlock in rtl8169_close
    8a909c119827 Revert "workqueue: remove unused cancel_work()"
    72ce3379cd5e octeontx2-pf: Fix adding mbox work queue entry when num_vfs > 64
    ef7af2105a25 net: stmmac: xgmac: Disable FPE MMC interrupts
    f18bcace1294 selftests/net: mptcp: fix uninitialized variable warnings
    cb1644f9f005 selftests/net: ipsec: fix constant out of range
    fe7fd9c209e8 dpaa2-eth: increase the needed headroom to account for alignment
    772fe1da9a8d ipv4: igmp: fix refcnt uaf issue when receiving igmp query packet
    9ef94ec8e52e usb: config: fix iteration issue in 'usb_get_bos_descriptor()'
    713530d3c8f1 USB: core: Change configuration warnings to notices
    ae6e41066e6e hv_netvsc: fix race of netvsc and VF register_netdevice
    4937fb36bbb8 Input: xpad - add HyperX Clutch Gladiate Support
    5c4d5c8556ee btrfs: make error messages more clear when getting a chunk map
    74ff16c84433 btrfs: send: ensure send_fd is writable
    12a0ec5ed7cf btrfs: fix off-by-one when checking chunk map includes logical address
    baaab02a8c0b btrfs: ref-verify: fix memory leaks in btrfs_ref_tree_mod()
    2d6c2238acf8 btrfs: add dmesg output for first mount and last unmount of a filesystem
    bab9cec493b6 parisc: Drop the HP-UX ENOSYM and EREMOTERELEASE error codes
    b53dc7c766ae powerpc: Don't clobber f0/vs0 during fp|altivec register save
    b5cbbc2b2da9 iommu/vt-d: Add MTL to quirk list to skip TE disabling
    f62ceb880a71 bcache: revert replacing IS_ERR_OR_NULL with IS_ERR
    18ac427906af dm verity: don't perform FEC for failed readahead IO
    c3c9f9273822 dm-verity: align struct dm_verity_fec_io properly
    5de40a7ffaa0 ALSA: hda/realtek: Add supported ALC257 for ChromeOS
    cf80c538061e ALSA: hda/realtek: Headset Mic VREF to 100%
    f338f738d7bd ALSA: hda: Disable power-save on KONTRON SinglePC
    b02b66194d54 mmc: block: Do not lose cache flush during CQE error recovery
    71c9fb31e18b firewire: core: fix possible memory leak in create_units()
    d6bac7048f28 pinctrl: avoid reload of p state in list iteration
    8fb79be6e980 io_uring: fix off-by one bvec index
    f5f85ea5bb6a USB: dwc3: qcom: fix wakeup after probe deferral
    5ac96667ea32 usb: dwc3: set the dma max_seg_size
    2620c5977f49 usb: dwc3: Fix default mode initialization
    d5325ed6eb7c USB: dwc2: write HCINT with INTMASK applied
    5d7a5e63dc3b USB: serial: option: don't claim interface 4 for ZTE MF290
    f1432dff5dd6 USB: serial: option: fix FM101R-GL defines
    14a6e089d610 USB: serial: option: add Fibocom L7xx modules
    f49ad460a2c8 bcache: fixup lock c->root error
    be327b8f76c2 bcache: fixup init dirty data errors
    3ebf83df623a bcache: prevent potential division by zero error
    e74c2e6fecb7 bcache: check return value from btree_node_alloc_replacement()
    c73dd8f4b476 dm-delay: fix a race between delay_presuspend and delay_bio
    a70b6da7c640 hv_netvsc: Mark VF as slave before exposing it to user-mode
    ff6c130e48a7 hv_netvsc: Fix race of register_netdevice_notifier and VF register
    518ef825016d USB: serial: option: add Luat Air72*U series products
    c841de6247e9 s390/dasd: protect device queue against concurrent access
    89f9ba7ee702 bcache: fixup multi-threaded bch_sectors_dirty_init() wake-up race
    cd7a0695906d bcache: replace a mistaken IS_ERR() by IS_ERR_OR_NULL() in btree_gc_coalesce()
    be8af3b6c80d swiotlb-xen: provide the "max_mapping_size" method
    8c4b5cc90843 ACPI: resource: Skip IRQ override on ASUS ExpertBook B1402CVA
    0f312dc1eb2f ASoC: simple-card: fixup asoc_simple_probe() error handling
    fcc60c0a1870 nfsd: lock_rename() needs both directories to live on the same fs
    ec75d1d0cd2c ext4: make sure allocate pending entry not fail
    10341e77e49f ext4: fix slab-use-after-free in ext4_es_insert_extent()
    5527898c6a9f ext4: using nofail preallocation in ext4_es_insert_extent()
    2ae2be6e7cd7 ext4: using nofail preallocation in ext4_es_insert_delayed_block()
    aa6568033cfb ext4: using nofail preallocation in ext4_es_remove_extent()
    608758ef8670 ext4: use pre-allocated es in __es_remove_extent()
    fcb07d8ea363 ext4: use pre-allocated es in __es_insert_extent()
    0cc7653887b0 ext4: factor out __es_alloc_extent() and __es_free_extent()
    8234c1c690a3 ext4: add a new helper to check if es must be kept
    62526a55fee7 MIPS: KVM: Fix a build warning about variable set but not used
    3b2e8b30b0d7 media: ccs: Correctly initialise try compose rectangle
    1301467cbe4c lockdep: Fix block chain corruption
    cbfa5aadd650 USB: dwc3: qcom: fix ACPI platform device leak
    68fe711312f1 USB: dwc3: qcom: fix resource leaks on probe deferral
    2be451e7a2f1 nvmet: nul-terminate the NQNs passed in the connect command
    86a7f67d7605 nvmet: remove unnecessary ctrl parameter
    d24a18cb51bf afs: Fix file locking on R/O volumes to operate in local mode
    6e48c3175d0b afs: Return ENOENT if no cell DNS record can be found
    497e9b0b21a6 net: axienet: Fix check for partial TX checksum
    8fb804dabdda amd-xgbe: propagate the correct speed and duplex status
    b7c9e8c038f5 amd-xgbe: handle the corner-case during tx completion
    a2e868ad07eb amd-xgbe: handle corner-case during sfp hotplug
    ebc7fbd15a64 arm/xen: fix xen_vcpu_info allocation alignment
    5ada292b5c50 net/smc: avoid data corruption caused by decline
    3ae55e3a3734 net: usb: ax88179_178a: fix failed operations during ax88179_reset
    27914bff9602 ipv4: Correct/silence an endian warning in __ip_do_redirect
    f8467afa754d HID: fix HID device resource race between HID core and debugging support
    2f0ea5e0944a HID: core: store the unique system identifier in hid_device
    650e43dfe7d2 drm/rockchip: vop: Fix color for RGB888/BGR888 format on VOP full
    cc3b63c089e7 ata: pata_isapnp: Add missing error check for devm_ioport_map()
    9942c1948346 wireguard: use DEV_STATS_INC()
    939352ad6502 drm/panel: simple: Fix Innolux G101ICE-L01 timings
    a5e82e345f4a drm/panel: simple: Fix Innolux G101ICE-L01 bus flags
    60660af9577a drm/panel: auo,b101uan08.3: Fine tune the panel power sequence
    2c688ae2dd78 drm/panel: boe-tv101wum-nl6: Fine tune the panel power sequence
    3b797242d178 afs: Make error on cell lookup failure consistent with OpenAFS
    dbc1929a5214 afs: Fix afs_server_list to be cleaned up with RCU
    c3bead2f8fca PCI: keystone: Drop __init from ks_pcie_add_pcie_{ep,port}()
    ac65f8979b0e RDMA/irdma: Prevent zero-length STAG registration

(From OE-Core rev: 501af4c5f91746f934083178efdb1a59ff82ff51)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-02-28 03:32:09 -10:00
Tim Orling
20fc6b4b82 vim: upgrade v9.0.2130 -> v9.0.2190
This is the latest/last of the 9.0.z upgrades, since 9.1 is now
released.

CVE: CVE-2024-22667
(includes the patch for .2142 b39b240c38)

Changes:
https://github.com/vim/vim/compare/v9.0.2130...v9.0.2190

(From OE-Core rev: e7976311a79f05608bbac46a5699ef9206a2aaf5)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-02-28 03:32:09 -10:00
Hugo SIMELIERE
35e45b6d51 libuv: fix CVE-2024-24806
Upstream-Status: Backport [0f2d7e784a]
Upstream-Status: Backport [3530bcc303]
Upstream-Status: Backport [e0327e1d50]

(From OE-Core rev: 9aa207a91a78309015aa0070a98769c821a7ecd6)

Signed-off-by: Hugo SIMELIERE <hsimeliere.opensource@witekio.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-02-28 03:32:09 -10:00
Ming Liu
43691193b4 go: add a complementary fix for CVE-2023-29406
The original CVE-2023-29406.patch is not complete, causing docker
failures at runtime, backport a complementary fix from golang upstream.

(From OE-Core rev: 973901530c98bc3f1b10d8bb89d55decf6848713)

Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-02-28 03:32:09 -10:00
Steve Sakoman
0b39955d14 Revert "kernel: fix localversion in v6.3+"
This reverts commit d9273edae80978c34f8426f34f991b9598828aa9.

This commit is causing breakage for some vendor kernel builds.

(From OE-Core rev: 59cc2e75c15f8c6371a4c4a3b7bd2e6c3f145fbc)

Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-02-15 15:49:52 -10:00
Kai Kang
355838a15e ghostscript: correct LICENSE with AGPLv3
The license of ghostscript has switched to Affero GPL since version 9.07
via commit:

* 3cc5318 Switch Ghostscript/GhostPDL to Affero GPL

https://github.com/ArtifexSoftware/ghostpdl/commit/3cc5318

Correct it with `AGPL-3.0-or-later`.

(From OE-Core rev: 8e192a2e0c2fdad18ea4c08774493225f31931a0)

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-02-15 03:51:57 -10:00
Bruce Ashfield
552288e0c8 kernel: fix localversion in v6.3+
During testing of the v6.4 reference kernel, it was noticed that
on-target modules no longer matched the magic value of the running
kernel.

This was due to a different localversion in the cross built kernel
and the scripts / resources created on target.

This was due to changes in the setlocalversion script introduced
in the v6.3 series.

The .scmversion file is no longer used (or packaged) to inhibit
the addition of a "+" (through querying of the git status of the
kernel) or the setting of a local version.

We recently introduced the KERNEL_LOCALVERSION variable to allow
recipes to place a value in .scmversion, so we extend the use of
that variable to kernel-arch.bbclass and use it to set the
exported variable LOCALVERSION.

We must do it at the kernel-arch level, as the variable must be
exported in any kernel build to ensure that setlocalversion always
correctly sets the localversion.

(From OE-Core rev: d9273edae80978c34f8426f34f991b9598828aa9)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>

Cherry-picked from master 765b13b7305c8d2f222cfc66d77c02e6a088c691

Signed-off-by: Andreas Helbech Kleist <andreaskleist@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-02-15 03:51:57 -10:00
Jermain Horsman
b8a07a0ed2 systemd: Only add myhostname to nsswitch.conf if in PACKAGECONFIG
Currently myhostname is always added to nsswitch.conf even if it is
not included in PACKAGECONFIG.

This is based on changes made in OE-core rev:
ba3a78c08cb0ce08afde049610d3172b9e3b0695

Cc: Chen Qi <Qi.Chen@windriver.com>

(From OE-Core rev: 17e20ce90b5b3abb5a597d4a5b470c8eaa3fd296)

Signed-off-by: Jermain Horsman <jermain.horsman@nedap.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-02-15 03:51:57 -10:00
Narpat Mali
e17cf6a549 python3-pycryptodome: Fix CVE-2023-52323
PyCryptodome and pycryptodomex before 3.19.1 allow side-channel
leakage for OAEP decryption, exploitable for a Manger attack.

References:
https://security-tracker.debian.org/tracker/CVE-2023-52323
https://github.com/Legrandin/pycryptodome/blob/master/Changelog.rst

(From OE-Core rev: 04c9b6b081914005209bac8eeb9f417e7b989cca)

Signed-off-by: Narpat Mali <narpat.mali@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-02-15 03:51:57 -10:00
Soumya Sambu
d83cb2d0e5 libgit2: Fix CVE-2024-24575 and CVE-2024-24577
CVE-2024-24575:
libgit2 is a portable C implementation of the Git core methods provided
as a linkable library with a solid API, allowing to build Git functionality
into your application. Using well-crafted inputs to `git_revparse_single`
can cause the function to enter an infinite loop, potentially causing a
Denial of Service attack in the calling application. The revparse function
in `src/libgit2/revparse.c` uses a loop to parse the user-provided spec
string. There is an edge-case during parsing that allows a bad actor to
force the loop conditions to access arbitrary memory. Potentially, this
could also leak memory if the extracted rev spec is reflected back to the
attacker. As such, libgit2 versions before 1.4.0 are not affected. Users
should upgrade to version 1.6.5 or 1.7.2.

CVE-2024-24577:
libgit2 is a portable C implementation of the Git core methods provided
as a linkable library with a solid API, allowing to build Git functionality
into your application. Using well-crafted inputs to `git_index_add` can
cause heap corruption that could be leveraged for arbitrary code execution.
There is an issue in the `has_dir_name` function in `src/libgit2/index.c`,
which frees an entry that should not be freed. The freed entry is later
used and overwritten with potentially bad actor-controlled data leading to
controlled heap corruption. Depending on the application that uses libgit2,
this could lead to arbitrary code execution. This issue has been patched
in version 1.6.5 and 1.7.2.

References:
https://nvd.nist.gov/vuln/detail/CVE-2024-24575
https://security-tracker.debian.org/tracker/CVE-2024-24575
https://nvd.nist.gov/vuln/detail/CVE-2024-24577
https://security-tracker.debian.org/tracker/CVE-2024-24577

(From OE-Core rev: 942254eb3ef29c8672a35015c086721c4fbe5a4f)

Signed-off-by: Soumya Sambu <soumya.sambu@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-02-15 03:51:57 -10:00
Archana Polampalli
51e62bcbaf curl: Fix CVE-2023-46219
When saving HSTS data to an excessively long file name, curl could end up
removing all contents, making subsequent requests using that file unaware
of the HSTS status they should otherwise use.

(From OE-Core rev: e0f503594e7bc0da9771b69ca7243a34dcadbdde)

Signed-off-by: Archana Polampalli <archana.polampalli@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-02-15 03:51:56 -10:00
Soumya Sambu
74f2c36c4d go: Fix CVE-2023-45285 and CVE-2023-45287
CVE-2023-45285:
Using go get to fetch a module with the ".git" suffix may unexpectedly
fallback to the insecure "git://" protocol if the module is unavailable
via the secure "https://" and "git+ssh://" protocols, even if GOINSECURE
is not set for said module. This only affects users who are not using
the module proxy and are fetching modules directly (i.e. GOPROXY=off).

CVE-2023-45287:
Before Go 1.20, the RSA based TLS key exchanges used the math/big
library, which is not constant time. RSA blinding was applied to prevent
timing attacks, but analysis shows this may not have been fully effective.
In particular it appears as if the removal of PKCS#1 padding may leak
timing information, which in turn could be used to recover session key
bits. In Go 1.20, the crypto/tls library switched to a fully constant
time RSA implementation, which we do not believe exhibits any timing
side channels.

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

(From OE-Core rev: 616857b9918e8d2e576239b3db2f9f077d1a7222)

Signed-off-by: Soumya Sambu <soumya.sambu@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-02-15 03:51:56 -10:00
Vijay Anusuri
555dadb56e libxml2: Fix for CVE-2024-25062
Upstream-Status: Backport [2b0aac140d]

(From OE-Core rev: 55027bc882cf6cab830f4e4f21fa9a2ffb4ad72e)

Signed-off-by: Vijay Anusuri <vanusuri@mvista.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-02-15 03:51:56 -10:00
Michael Opdenacker
db8608a857 dev-manual: start: remove idle line
Align with text in the other branches.

(From yocto-docs rev: 394ccddfa357d186006439600833fce917a1ffac)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-02-09 03:46:51 -10:00
Baruch Siach
11266e7f8c contributor-guide: fix lore URL
Cc: Michael Opdenacker <michael.opdenacker@bootlin.com>
(From yocto-docs rev: af340c7d9a327af0de14d7a6f19215866a0ea835)

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-02-09 03:46:50 -10:00
Simone Weiß
b983ce1d52 dev-manual: gen-tapdevs need iptables installed
Add the hint to the test setup that runqemu-gen-tapdevs will need the
iptables package installed.

(From yocto-docs rev: ca4c984006972d34aa51f05797ec8bd47dc675bb)

Signed-off-by: Simone Weiß <simone.p.weiss@posteo.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-02-09 03:46:50 -10:00
Peter Marko
d47afb07da openssl: Upgrade 3.0.12 -> 3.0.13
Fixes CVE-2024-0727

Removed included CVE patch backports.

New module was implemented in tests and needs to be installed
to successfully pass 04-test_provider.t test.

Release information:
https://github.com/openssl/openssl/blob/openssl-3.0/NEWS.md#major-changes-between-openssl-3012-and-openssl-3013-30-jan-2024

(From OE-Core rev: 2bdae590ab20dc4518ba247c903060fa67ed0fc4)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-02-09 03:46:50 -10:00
Peter Marko
d803ca6531 gcc-shared-source: ignore CVE-2023-4039
Concept of gcc-source prevents cve-check to detect existing
CVE patch file.
So ignore this CVE in all recipes using gcc-source via this
include file.

(From OE-Core rev: 04511734c6dc8c7dda3a943b385cd273d012d8c7)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-02-09 03:46:50 -10:00
Deepthi Hemraj
89c57d3ff1 gdb: Fix CVE-2023-39130
CVE: CVE-2023-39130
(From OE-Core rev: 7b93bb0ba1513a60cf75ebe55b29723831dfb79a)

Signed-off-by: Deepthi Hemraj <Deepthi.Hemraj@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-02-09 03:46:50 -10:00
Deepthi Hemraj
d35f65d419 gdb: Fix CVE-2023-39129
CVE: CVE-2023-39129
(From OE-Core rev: 67b62fd57d7073b42db2747227d07841d0d064e3)

Signed-off-by: Deepthi Hemraj <Deepthi.Hemraj@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-02-09 03:46:50 -10:00
Deepthi Hemraj
698ba6a8ed binutils: internal gdb: Fix CVE-2023-39130
CVE: CVE-2023-39130
(From OE-Core rev: 97b5bf2505d68bea6d1c2a66318cfbc51335463a)

Signed-off-by: Deepthi Hemraj <Deepthi.Hemraj@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-02-09 03:46:50 -10:00
Deepthi Hemraj
1398a0e07f binutils: internal gdb: Fix CVE-2023-39129
CVE: CVE-2023-39129
(From OE-Core rev: fd3f20e1e8bcd63b75e8800fe60d6194a4fd6bd4)

Signed-off-by: Deepthi Hemraj <Deepthi.Hemraj@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-02-09 03:46:50 -10:00
Peter Marko
817f0e1f89 curl: ignore CVE-2023-42915
This CVE reports that apple had to upgrade curl because of other
already reported CVEs:
* CVE-2023-38039: not affected, introduced in 7.84.0
* CVE-2023-38545: patch already backported
* CVE-2023-38546: patch already backported
* CVE-2023-42915: reference to itself

(From OE-Core rev: 2771a1248a251650f6e2e64731f56ed928c29ce5)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-02-09 03:46:50 -10:00
Lee Chee Yang
3975d9f285 migration-guide: add release notes for 4.0.16
(From yocto-docs rev: e2f538547ace9f441795d51591dc620bfe517454)

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-02-07 03:30:05 -10:00
Ludovic Jozeau
7f0301044b image-live.bbclass: LIVE_ROOTFS_TYPE support compression
The task for fstypes with compression is the same as the task for the
uncompressed fstypes, e.g. when adding tar.xz to `IMAGE_FSTYPES`, it will
be included into the do_image_tar task and not creating a separate
do_image_tar.xz task.

This commit fixes `LIVE_ROOTFS_TYPE` with compressed fstypes by
depending on the actual task instead of the non-existent
do_image_<fstype>.<compression> task.

Fixes [YOCTO #15331]

(From OE-Core rev: 60d88989698968c13f8e641f0ba1a82fcf700fb7)

Signed-off-by: Ludovic Jozeau <ludovic.jozeau@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 67c507e3d42e52a6d452c4a453eeaf7f2e2d68d6)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-02-07 03:30:05 -10:00
Wang Mingyu
7b97d35dea python3-jinja2: upgrade 3.1.2 -> 3.1.3
Changelog:
==========
-Fix compiler error when checking if required blocks in parent templates are empty.
-xmlattr filter does not allow keys with spaces.
-Make error messages stemming from invalid nesting of {% trans %} blocks more helpful

(cherry picked from OE-Core rev: 8a0524464583d69df7746253f5020c2c125a8e1f)

(From OE-Core rev: 0f0dcf520505d809599a63961ecb5b1e74053b24)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-02-07 03:30:05 -10:00
Alexander Kanavin
69179525de python3-jinja2: upgrade 3.1.1 -> 3.1.2
(cherry picked from OE-Core rev: 1e58fa1fff649a4ab07290d2b0e5a8d69d51ef16)

(From OE-Core rev: 90960bdef877c5dc03cc2cb03c77139d6d1e2f8f)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-02-07 03:30:05 -10:00
Lee Chee Yang
ef5bd0511c xwayland: Fix CVE-2023-6377 CVE-2023-6478
(From OE-Core rev: 89974b7fa33f3e9d3e3a4df7ad219898fe400d3a)

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-02-07 03:30:05 -10:00
Alassane Yattara
ca885e4760 bitbake: toaster/toastergui: Bug-fix verify given layer path only if import/add local layer
(Bitbake rev: a4c516ef5e72b2d77ac5ff7e86c5ee2190ebc42f)

Signed-off-by: Alassane Yattara <alassane.yattara@savoirfairelinux.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-02-07 03:30:05 -10:00
Steve Sakoman
54af8c5e80 build-appliance-image: Update to kirkstone head revision
(From OE-Core rev: a744a897f0ea7d34c31c024c13031221f9a85f24)

Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-01-25 04:08:37 -10:00
Steve Sakoman
f91fefe108 poky.conf: bump version for 4.0.16
(From meta-yocto rev: fa70fbb1ebf2a712eebc5b154ce6d754324fb6ef)

Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-01-25 04:06:21 -10:00
Jörg Sommer
f634b9852e documentation: Add UBOOT_BINARY, extend UBOOT_CONFIG
UBOOT_CONFIG accepts a third parameter for the UBOOT_BINARY that isn't
documented. To show its usage another example from the meta-freescale layer
was picked.

(From yocto-docs rev: aba67b58711019a6ba439b2b77337f813ed799ac)

Signed-off-by: Jörg Sommer <joerg.sommer@navimatix.de>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-01-24 04:04:56 -10:00
Enguerrand de Ribaucourt
78e79d47c2 manuals: document VSCode extension
The VSCode extension is now officially maintained and published by the
Yocto Project so it should be referenced in the manuals to help users
discover it.

I located the most relevant places to reference the extension by looking
at how the old Eclipse plugin was documented in the 2.6 manuals as well
as the current Toaster references.

(From yocto-docs rev: 21ec0d3b52069dfc85ff47fb4f913a26a092c480)

Signed-off-by: Enguerrand de Ribaucourt <enguerrand.de-ribaucourt@savoirfairelinux.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-01-24 04:04:56 -10:00
Michael Opdenacker
f5f650aaa4 ref-manual: resources: sync with master branch
(From yocto-docs rev: 0c3596248cee47079a4c99ed6b476cee36cc84de)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-01-24 04:04:56 -10:00
Maxin B. John
d1a5c51431 ref-manual: classes: remove insserv bbclass
insserv.bbclass was removed from oe-core:

commit e6bb5dbb62
Author: Richard Purdie <richard.purdie@linuxfoundation.org>
Date:   Sun May 10 12:30:49 2015 +0100

insserv: Remove

(From yocto-docs rev: eddb6c4e36e298218c23bf688cb1c9c06f32b0d6)

Signed-off-by: Maxin John <maxin.john@gmail.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-01-24 04:04:56 -10:00
Simone Weiß
8f6035f44d dev-manual: start.rst: update use of Download page
The yocto website has changed its structure. Update the section for
Accessing the Downloads page to match the new structure.

(From yocto-docs rev: c67d471145cf09162059368ffd99f0c80df92520)

Signed-off-by: Simone Weiß <simone.p.weiss@posteo.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-01-24 04:04:56 -10:00
Michael Opdenacker
ae249a900f contributor-guide: use "apt" instead of "aptitude"
As used in the rest of the manual.

(From yocto-docs rev: c68954d905f01f6cc4f7c8ceb90e77cf9068e639)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-01-24 04:04:55 -10:00
Vijay Anusuri
d9f531b374 xserver-xorg: Multiple CVE fixes
Fix below CVE's
CVE-2023-6816
CVE-2024-0229
CVE-2024-21885
CVE-2024-21886
CVE-2024-0408
CVE-2024-0409

(From OE-Core rev: ad696a0067e11c332a4542ccacd76455f5fbd984)

Signed-off-by: Vijay Anusuri <vanusuri@mvista.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-01-24 04:04:55 -10:00
Hitendra Prajapati
b3e1dabe66 pam: fix CVE-2024-22365 pam_namespace misses
Upstream-Status: Backport from 031bb5a5d0

(From OE-Core rev: 9af2e012ee4483541559788dfb9510e0223daefe)

Signed-off-by: Hitendra Prajapati <hprajapati@mvista.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-01-24 04:04:55 -10:00
Vijay Anusuri
80b4e5f953 gnutls: Fix for CVE-2024-0553 and CVE-2024-0567
CVE-2024-0553
A vulnerability was found in GnuTLS. The response times to malformed ciphertexts in RSA-PSK ClientKeyExchange differ from response times of ciphertexts with correct PKCS#1 v1.5 padding. This issue may allow a remote attacker to perform a timing side-channel attack in the RSA-PSK key exchange, potentially leading to the leakage of sensitive data. CVE-2024-0553 is designated as an incomplete resolution for CVE-2023-5981.

CVE-2024-0567
A vulnerability was found in GnuTLS, where a cockpit (which uses gnuTLS) rejects a certificate chain with distributed trust. This issue occurs when validating a certificate chain with cockpit-certificate-ensure. This flaw allows an unauthenticated, remote client or attacker to initiate a denial of service attack.

Upstream-Status: Backport
[40dbbd8de4
&
9edbdaa84e]

Reference: https://ubuntu.com/security/CVE-2024-0553
           https://ubuntu.com/security/CVE-2024-0567

(From OE-Core rev: de74fd5dea8cc71af1d457b4e688cfbe0f39e4d8)

Signed-off-by: Vijay Anusuri <vanusuri@mvista.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-01-24 04:04:55 -10:00
Yogita Urade
410d7bf8cb tiff: fix CVE-2023-6228
CVE-2023-6228:
An issue was found in the tiffcp utility distributed by the
libtiff package where a crafted TIFF file on processing may
cause a heap-based buffer overflow leads to an application
crash.

References:
https://nvd.nist.gov/vuln/detail/CVE-2023-6228
https://gitlab.com/libtiff/libtiff/-/issues/606

(From OE-Core rev: 0730806ae39093b05ce943df1f9f5d0a25a8a673)

Signed-off-by: Yogita Urade <yogita.urade@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-01-24 04:04:55 -10:00
Hitendra Prajapati
ce477b4d6e openssl: fix CVE-2023-6237 Excessive time spent checking invalid RSA public keys
Upstream-Status: Backport from e09fc1d746

(From OE-Core rev: 6bb64af6ce167eadd34570b061b3e6ed13c39c74)

Signed-off-by: Hitendra Prajapati <hprajapati@mvista.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-01-24 04:04:55 -10:00
Peter Marko
906af0cb8b dropbear: backport patch for CVE-2023-48795
Documentation for this patch is under
66bc1fcdee

(From OE-Core rev: 626711a95f387090a4705401d2f9406909821f95)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-01-24 04:04:55 -10:00
Martin Jansa
426dfdc8d2 pybootchartgui: fix 2 SyntaxWarnings
scripts/pybootchartgui/pybootchartgui/draw.py:820: SyntaxWarning: "is not" with a literal. Did you mean "!="?
  if (OPTIONS.show_pid or OPTIONS.show_all) and ipid is not 0:
scripts/pybootchartgui/pybootchartgui/draw.py:918: SyntaxWarning: "is not" with a literal. Did you mean "!="?
  if i is not 0:

(From OE-Core rev: ebd61290a644a6d9f2b3701e0e7ea050636da76c)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
(cherry picked from commit 8d996616f0ca57220d939a41ca9ba6d696ea2a4f)
Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-01-21 08:50:38 -10:00
Soumya Sambu
924b38aa01 cpio: upgrade to 2.14
This includes fix for CVE-2023-7207.

Drop all submitted patches.

Apply a patch from git to fix the build with clang.

[ YOCTO #11674 ]

$git log --oneline release_2_13..v2.14
4a41909 (HEAD, tag: v2.14) Version 2.14
6f9e5d3 Update NEWS
807b3ea Use GNU ls algorithm for deciding timestamp format
19219d1 Fix integer overflows in timestamp output
ed28f14 Whitespace cleanup
4ab2813 Update version of gnulib
0987d63 Fix appending to archives bigger than 2G
1df0062 Fix combination of --create, --append, --directory
6a94d5e New option --ignore-dirnlink
376d663 Fix 45b0ee2b407913c533f7ded8d6f8cbeec16ff6ca.
beba8c0 Require automake 1.16.5
70fffa7 Update for newer autotools
a1b2f78 Fix calculation of CRC in copy-out mode.
18ea636 Upgrade gnulib
1a61f62 Update copyright years
a1c97c8 Fix wording in the manpage
97fab48 Update copyright years
86dacfe Remove redundant condition check
4d16930 Use inttostr to represent integer values as strings
236684f Fix dynamic string reallocations
dfc801c Fix previous commit
dd96882 Rewrite dynamic string support.
269d204 Improve online version of the documentation.
7dd8ba9 Update gnulib
905907c Update copyright years
4a78d77 Formatting changes in the documentation.
9fe8494 Update copyright years
641d3f4 Minor fix * src/global.c: Remove superfluous declaration of program_name
0c4ffde Fix handling of device numbers (part 2)
df55fb1 Fix handling of device numbers on copy out.
b1c8583 Improve 684b7ac5
684b7ac Fix cpio header verification.

(From OE-Core rev: 203804370997eeb015ef9da90b567ea2c2f9f3a6)

Signed-off-by: Soumya Sambu <soumya.sambu@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-01-21 08:50:38 -10:00
Hitendra Prajapati
4a900fd822 systemd: fix CVE-2023-7008
Upstream-Status: Backport from 3b4cc1437b

(From OE-Core rev: 545fc081f16a63e5b012d4636deee98a788753bb)

Signed-off-by: Hitendra Prajapati <hprajapati@mvista.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-01-21 08:50:38 -10:00
Peter Marko
4289397aaf zlib: ignore CVE-2023-6992
This CVE is for iCPE cloudflare:zlib.

Alternative to ignoring would be to limit CVE_PRODUCT, but
historic CVEs already have two - gnu:zlib and zlib:zlib.
So limiting it could miss future CVEs.

(From OE-Core rev: f46c9105d4253153a5986f2b307273e43ee98c33)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-01-21 08:50:38 -10:00
Peter Marko
76d570000e sqlite3: backport patch for CVE-2023-7104
Backport https://sqlite.org/src/info/0e4e7a05c4204b47

(From OE-Core rev: 31fb83ac3dcd2dd55b184de22a296ab4dc150d2e)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-01-21 08:50:38 -10:00
Poonam Jadhav
33faa4d392 Revert "curl: Backport fix CVE-2023-32001"
This reverts commit 5eab65275d.

CVE-2023-32001 has been marked "REJECT" in the NVD CVE List as
there is no safe measure against it.
These CVEs are stored in the NVD, but do not show up in search results.
Link: https://nvd.nist.gov/vuln/detail/CVE-2023-32001

(From OE-Core rev: a3b6216bcb3425b6e30ca73488a5eb6ba58e4836)

Signed-off-by: Poonam Jadhav poonam.jadhav@kpit.com
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-01-21 08:50:38 -10:00
Vivek Kumbhar
f96bd47ea2 openssl: Backport fix for CVE-2023-6129
Upstream-Status: Backport [8d847a3ffd]

(From OE-Core rev: db1c8b434e1e249cf5a12fe39cf996373513f3dc)

Signed-off-by: Vivek Kumbhar <vkumbhar@mvista.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-01-21 08:50:38 -10:00
Dmitry Baryshkov
a818202d85 linux-firmware: upgrade 20230804 -> 20231030
License-Update: additional firmwares

(From OE-Core rev: 8e27f96c0befbbb5cf8a2f7076b7a1ffd79addb6)

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 7c725d1f2ed9a271d39d899ac2534558c2d103fc)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-01-11 06:21:38 -10:00
Dhairya Nagodra
c165a558da cve-update-nvd2-native: increase the delay between subsequent request failures
Sometimes NVD servers are unstable and return too many errors.
There is an option to have higher fetch attempts to increase the chances
of successfully fetching the CVE data.

Additionally, it also makes sense to progressively increase the delay
after a failed request to an already unstable or busy server.
The increase in delay is reset after every successful request and
the maximum delay is limited to 30 seconds.

Also, the logs are improved to give more clarity.

(From OE-Core rev: f2e30f54e1dbb36d7527d0117eb2435f25e7e154)

Signed-off-by: Dhairya Nagodra <dnagodra@cisco.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 7101d654635b707e56b0dbae8c2146b312d211ea)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-01-11 06:21:38 -10:00
Dhairya Nagodra
e318dc57e3 cve-update-nvd2-native: faster requests with API keys
As per NVD, the public rate limit is 5 requests in 30s (6s delay).
Using an API key increases the limit to 50 requests in 30s (0.6s delay).
However, NVD still recommends sleeping for several seconds so that the
other legitimate requests are serviced without denial or interruption.
Keeping the default sleep at 6 seconds and 2 seconds with an API key.

For failures, the wait time is unchanged (6 seconds).

Reference: https://nvd.nist.gov/developers/start-here#RateLimits

(From OE-Core rev: 4f7e40652cdf647c28f7dc6052bfa5db6bc9d8fb)

Signed-off-by: Dhairya Nagodra <dnagodra@cisco.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 5c32e2941d1dc3d04a799a1b7cbd275c1ccc9e79)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-01-11 06:21:38 -10:00
Peter Marko
c0a199acdc cve-update-nvd2-native: make number of fetch attemtps configurable
Sometimes NVD servers are unstable and return too many errors.

Last time we increased number of attempts from 3 to 5, but
further increasing is not reasonable as in normal case
too many retries is just abusive.

Keep retries low as default and allow to increase as needed.

(From OE-Core rev: 036969937e7c84cc068efe0355dd26281cf89f03)

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 6b6fd8043d83b99000054ab6ad2c745d07c6bcc1)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-01-11 06:21:38 -10:00
Peter Marko
f0f023e86d cve-update-nvd2-native: remove unused variable CVE_SOCKET_TIMEOUT
This variable is not referenced in oe-core anymore.

(From OE-Core rev: 15a79302aa46c58f962e12956aa4fcd0a178cf58)

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 905b45a814cb33327503b793741c19b44c8550b3)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-01-11 06:21:38 -10:00
Vijay Anusuri
d1aae420f9 xserver-xorg: Fix for CVE-2023-6377 and CVE-2023-6478
Upstream-Status: Backport
[0c1a93d319
&
14f480010a]

(From OE-Core rev: abadef9d1759254699577fe40ee353e75958f9a2)

Signed-off-by: Vijay Anusuri <vanusuri@mvista.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-01-11 06:21:37 -10:00
Michael Opdenacker
d9532264b9 ref-manual: update tested and supported distros
According to currently active workers
https://autobuilder.yoctoproject.org/typhoon/#/workers
and to the "workers_prev_releases" definition
in https://git.yoctoproject.org/yocto-autobuilder2/tree/config.py

Also correct the text saying that SANITY_TESTED_DISTROS
lists currently tested distros.

Also replace AlmaLinux 8.8 and 9.2 by just AlmaLinux 8 and 9,
as we update our workers anyway.

(From yocto-docs rev: 79a6ec6847cdfc40d75def36993a40fec853a7a1)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-01-10 05:14:16 -10:00
Joshua Watt
6c7c9b1146 bitbake: asyncrpc: Add context manager API
Adds context manager API for the asyncrcp client class which allow
writing code that will automatically close the connection like so:

    with hashserv.create_client(address) as client:
       ...

Rework the bitbake-hashclient tool and PR server to use this new API to
fix warnings about unclosed event loops when exiting

(Bitbake rev: ee090484cc25d760b8c20f18add17b5eff485b40)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit d01d684a0f6398270fe35ed59b7d28f3fd9b7e41)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-01-10 05:14:16 -10:00
Shubham Kulkarni
3ef22a75a3 tzdata: Upgrade to 2023d
(From OE-Core rev: 227b3d4edad31b0d0045f41133271693265240b0)

Signed-off-by: Shubham Kulkarni <skulkarni@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 2956b1aa22129951b8c08ac06ff1ffd66811a26c)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-01-04 05:00:13 -10:00
Steve Sakoman
19b0baeb81 testimage: drop target_dumper, host_dumper, and monitor_dumper
The target_dumper code is basically broken. It has been reading binary files
over the text base serial communication and runs at every command failure which
makes no sense. Each run might overwrite files from the previous run and the
output appears corrupted due to confusion from the binary data.

It isn't possible to cherry-pick "testimage: Drop target_dumper and most of monitor_dumper"
from master, so just make target_dumper, host_dumper, and monitor_dumper empty
functions.

For further details see:

https://lists.openembedded.org/g/openembedded-architecture/message/1888

(From OE-Core rev: 960e7e3dffa22c2142cb672c68cd9a8f0e3998a3)

Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-01-04 05:00:13 -10:00
Khem Raj
88ba7d2d3a elfutils: Disable stringop-overflow warning for build host
Some distributions shipping gcc12 end up with stringop-overflow warnings
e.g.
/usr/include/bits/unistd.h:74:10: error: ‘__pread_alias’ specified size between 9223372036854775813 and 18446744073709551615 exceeds maximum object size 9223372036854775807 [-Werror=stringop-overflow=]
   74 |   return __glibc_fortify (pread, __nbytes, sizeof (char),
      |          ^~~~~~~~~~~~~~~

Until fixed, lets not treat this warning as hard error

MJ: this is needed e.g. on ubuntu 24.04 after gcc was upgraded
    from 13.2.0-8ubuntu1 to 13.2.0-9ubuntu1 which includes
    switch _FORTIFY_SOURCE to 3:
    https://changelogs.ubuntu.com/changelogs/pool/main/g/gcc-13/gcc-13_13.2.0-9ubuntu1/changelog

elfutils config.log then shows:

configure:6762: checking whether to add -D_FORTIFY_SOURCE=2 to CFLAGS
configure:6779: gcc  -c -D_FORTIFY_SOURCE=2 -isystem/work/x86_64-linux/elfutils-native/0.186-r0/recipe-sysroot-native/usr/include -O2 -pipe -Werror -isystem/work/x86_64-linux/elfutils-native/0.186-r0/recipe-sysroot-native/usr/include conftest.c >&5
<command-line>: error: "_FORTIFY_SOURCE" redefined [-Werror]
<built-in>: note: this is the location of the previous definition
cc1: all warnings being treated as errors
configure:6786: result: no

and -D_FORTIFY_SOURCE=2 missing in CFLAGS later causes the above error
in do_compile

(From OE-Core rev: 94d1640d374c9a8827957cba8dbc1c1f978701b5)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-01-04 05:00:13 -10:00
Archana Polampalli
df2f696e68 openssh: fix CVE-2023-51385
In ssh in OpenSSH before 9.6, OS command injection might occur if a user name or
host name has shell metacharacters, and this name is referenced by an expansion
token in certain situations. For example, an untrusted Git repository can have a
submodule with shell metacharacters in a user name or host name.

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

Upstream patches:
7ef3787c84

(From OE-Core rev: 617640bd045f07b0870dc9f3bc838b3a9fbc3de7)

Signed-off-by: Archana Polampalli <archana.polampalli@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-01-04 05:00:13 -10:00
Archana Polampalli
bad31561c0 openssh: fix CVE-2023-51384
In ssh-agent in OpenSSH before 9.6, certain destination constraints can be
incompletely applied. When destination constraints are specified during
addition of PKCS#11-hosted private keys, these constraints are only applied
to the first key, even if a PKCS#11 token returns multiple keys.

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

Upstream patches:
881d9c6af9

(From OE-Core rev: 7a745dd1aa13fbf110cc4d86ddbc86617975d6ad)

Signed-off-by: Archana Polampalli <archana.polampalli@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-01-04 05:00:13 -10:00
Richard Purdie
e9dbcd7a01 bitbake: lib/bb: Add workaround for libgcc issues with python 3.8 and 3.9
With python 3.8 and 3.9, we see intermittent errors of:

libgcc_s.so.1 must be installed for pthread_cancel to work
Aborted (core dumped)

which seem related to:

https://stackoverflow.com/questions/64797838/libgcc-s-so-1-must-be-installed-for-pthread-cancel-to-work
https://bugs.ams1.psf.io/issue42888

These tend to occur on debian 11 and ubuntu 20.04.

Workaround this by ensuring libgcc is preloaded in all cases.

(Bitbake rev: 2c6183594279e2e9d03f11155ad969448869c863)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-01-04 05:00:12 -10:00
Insu Park
8ffcfd69b5 bitbake: data: Add missing dependency handling of remove operator
A recipe variable handles its dependencies even on the "contains"
variables within the "inline Python expressions" like bb.utils.filter().
And it also handles those in the append operator correctly, but the
problem is that it does not so in the remove operator.

Fix it by adding the missing dependencies every time the remove
operator has been handled.
Also add a test case to check if the override operators handle
dependencies correctly.

(Bitbake rev: 23639edfbbb3fced7606dce211db8a31c5766585)

Signed-off-by: Insu Park <insu0.park@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>

Cherry-picked from master: b90520eedb1dbc7f6a3928d089fe74fafb864eb5
- Conflicts in data.py are resolved as the master branch moved
  handle_contains() and handle_remove() out of the try block.
- The test code in codeparser.py are modified as the master branch
  added three more arguments to the build_dependencies().

Signed-off-by: Insu Park <insu0.park@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-01-04 05:00:12 -10:00
Richard Purdie
f754b5d45b testimage: Exclude wtmp from target-dumper commands
wtmp is filled with binary data which the run_serial command can't cope with.
Catting this results in confusion of the serial interface and potentially large
backlogs of data in the buffers which can hang qemu.

Exclude the problematic files from the command.

(From OE-Core rev: 2afd9a6002cba2a23dd62a1805b4be04083c041b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 599ac08a6f6fb3f6a89a897c8e06367c63c2f979)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-12-22 16:36:55 -10:00
Trevor Gamblin
d95d26073d python3-ptest: skip test_storlines
[YOCTO #14933]

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

(From OE-Core rev: b71d5ec10f8e64fc6102c66dfc36151f2b0b3c86)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit d7b9f8157e6214a83b5495e8a32e11540ae65ff8)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-12-22 16:36:55 -10:00
Yoann Congal
19c1f963a9 externalsrc: Ensure SRCREV is processed before accessing SRC_URI
When SRCREV is used, call bb.fetch.get_srcrev() before accessing
SRC_URI. Without this new bb.fetch.get_srcrev() call, SRC_URI might be
accessed before SRCREV had a chance to be processed.

In master, this is fixed by https://git.yoctoproject.org/poky/commit/?id=62afa02d01794376efab75623f42e7e08af08526
However, this commit is not suited for backport since it is quite invasive.
The part of the commit that fix the bug is:
    --- a/meta/classes/externalsrc.bbclass
    +++ b/meta/classes/externalsrc.bbclass
    @@ -63,6 +63,7 @@ python () {
             else:
                 d.setVar('B', '${WORKDIR}/${BPN}-${PV}')

    +        bb.fetch.get_hashvalue(d)
             local_srcuri = []
             fetch = bb.fetch2.Fetch((d.getVar('SRC_URI') or '').split(), d)
             for url in fetch.urls:

NB: bb.fetch.get_hashvalue() does not exist in kirkstone but is
equivalent to bb.fetch.get_srcrev().

Fixes [YOCTO #14918]

(From OE-Core rev: f6563cca6c4bf627e904d81fbe5b0b0f2b16a107)

Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Suggested-by: Chris Wyse <chris.wyse@wysechoice.net>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-12-22 16:36:55 -10:00
Soumya Sambu
1b0b487dcc perl: update 5.34.1 -> 5.34.3
This includes security fix for CVE-2023-47038

Changes:
https://metacpan.org/release/PEVANS/perl-5.34.3/changes

(From OE-Core rev: d1bc5fb1d090cf93b9014a050b418499c0209080)

Signed-off-by: Soumya Sambu <soumya.sambu@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-12-22 16:36:55 -10:00
Vijay Anusuri
a7eb75e292 openssh: backport Debian patch for CVE-2023-48795
import patches from ubuntu to fix
 fix-authorized-principals-command
 CVE-2023-48795

Upstream-Status: Backport [import from ubuntu https://git.launchpad.net/ubuntu/+source/openssh/tree/debian/patches?h=ubuntu/jammy-security
Upstream commit
fcd78e31cd
&
1edb00c58f]

Reference: https://ubuntu.com/security/CVE-2023-48795

(From OE-Core rev: df5dc8d67e67a2aebf1a552c3e22374e305270bf)

Signed-off-by: Vijay Anusuri <vanusuri@mvista.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-12-22 16:36:55 -10:00
Soumya Sambu
7262c0f235 go: Fix CVE-2023-39326
A malicious HTTP sender can use chunk extensions to cause a receiver
reading from a request or response body to read many more bytes from
the network than are in the body. A malicious HTTP client can further
exploit this to cause a server to automatically read a large amount
of data (up to about 1GiB) when a handler fails to read the entire
body of a request. Chunk extensions are a little-used HTTP feature
which permit including additional metadata in a request or response
body sent using the chunked encoding. The net/http chunked encoding
reader discards this metadata. A sender can exploit this by inserting
a large metadata segment with each byte transferred. The chunk reader
now produces an error if the ratio of real body to encoded bytes grows
too small.

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

(From OE-Core rev: 448df3bb9277287dd8586987199223b7314fdd01)

Signed-off-by: Soumya Sambu <soumya.sambu@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-12-22 16:36:55 -10:00
mark.yang
558325482c ffmpeg: fix for CVE-2022-3965
Without a CVE tag, It will be recognised as Unpatched by cve_check task.

(From OE-Core rev: afc21d7fe86d26bf62e56fc611750f89fe73aa1a)

Signed-off-by: mark.yang <mark.yang@lge.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-12-22 16:36:55 -10:00
mark.yang
3b8c412b7f ffmpeg: fix for CVE-2022-3964
Without a CVE tag, It will be recognised as Unpatched by cve_check task.

(From OE-Core rev: ce4ac3d167496d2f3a3029ef83dc418a0794c2fb)

Signed-off-by: mark.yang <mark.yang@lge.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-12-22 16:36:55 -10:00
Sourav Pramanik
8d726b790a qemu: Fix CVE-2023-5088
A bug in QEMU could cause a guest I/O operation otherwise
addressed to an arbitrary disk offset to be targeted to
offset 0 instead (potentially overwriting the VM's boot code).

This change is to fix CVE-2023-5088.

Link: 7d7512019f

(From OE-Core rev: aa84c668bfe2436d36f49a422c775119e2412c8b)

Signed-off-by: Sourav Pramanik <sourav.pramanik@kpit.com>
Signed-off-by: Sourav Kumar Pramanik <pramanik.souravkumar@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-12-22 16:36:54 -10:00
Poonam Jadhav
7008d999c5 curl: Fix CVE-2023-46218
Add patch to fix CVE-2023-46218

Link: https://launchpad.net/ubuntu/+archive/primary/+sourcefiles/curl/7.88.1-8ubuntu2.4/curl_7.88.1-8ubuntu2.4.debian.tar.xz
      https://github.com/curl/curl/commit/2b0994c29a721c91c57

(From OE-Core rev: f27a93299f554e0bde610f70e6a042b4a24abf20)

Signed-off-by: Poonam Jadhav <poonam.jadhav@kpit.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-12-22 16:36:54 -10:00
Vijay Anusuri
a7f86b0e78 ghostscript: Backport fix for CVE-2023-46751
Upstream-Status: Backport [https://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=5d2da96e81c7455338302c71a291088a8396245a]

(From OE-Core rev: f01a0e7fcf3c2d277be0cd85c0cd6b2eff2e5f0a)

Signed-off-by: Vijay Anusuri <vanusuri@mvista.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-12-22 16:36:54 -10:00
Michael Opdenacker
1520bf97aa test-manual: use working example
(From yocto-docs rev: 7438d32b45b12b034a7d9c9e60b8e8c083ef85d3)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-12-21 06:14:00 -10:00
Lee Chee Yang
ddbdef6e58 migration-guides: add release notes for 4.0.15
(From yocto-docs rev: b6e13990229baa91d8b9b885848230d40cb9e045)

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-12-21 06:14:00 -10:00
Michael Opdenacker
4a7f8470c2 dev-manual: runtime-testing: fix test module name
(From yocto-docs rev: 15a5a6de535db637abe15c24b6d6d9d1e0fb444e)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-12-21 06:14:00 -10:00
Simone Weiß
9b7cc27c39 manuals: brief-yoctoprojectqs: align variable order with default local.conf
Align the order from `BB_SIGNATURE_HANDLER` to `SSTATE_MIRRORS` in Quick Build
with the order in the default local conf. While trivial it is easier to find,
if the order matches.

(From yocto-docs rev: 2ab0bdc7ff74aaddd8a556046de3410300ba560a)

Signed-off-by: Simone Weiß <simone.p.weiss@posteo.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-12-21 06:14:00 -10:00
Michael Opdenacker
306316eb80 test-manual: add or improve hyperlinks
(From yocto-docs rev: d6ea0c9c7713e265f5044548112f865348b21576)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-12-21 06:14:00 -10:00
Michael Opdenacker
27ec491044 test-manual: explicit or fix file paths
(From yocto-docs rev: f947a07350aaddb798a1348c3bd5e77faf3849e7)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-12-21 06:14:00 -10:00
Michael Opdenacker
2ebcefae46 test-manual: add links to python unittest
Better than using "python unittest" without any
special formatting.

(From yocto-docs rev: 544cc1f950445d2c103c9adfa9147af1513b7a14)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-12-21 06:14:00 -10:00
Michael Opdenacker
7640d1f82e test-manual: resource updates
(From yocto-docs rev: 1a89f195eb7d9b16b481055c85632bf6524f777b)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-12-21 06:14:00 -10:00
Michael Opdenacker
ac4914f538 test-manual: text and formatting fixes
(From yocto-docs rev: 330092ae9e624cef0fb8494a0deab896fb1b9026)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-12-21 06:14:00 -10:00
Peter Kjellerstedt
f4d36b60f8 dev-manual: Discourage the use of SRC_URI[md5sum]
SRC_URI[md5sum] has been deprecated for a long time. Discourage its use
by removing it from examples and note that it should be replaced by
SRC_URI[sha256sum] when updating recipes.

Also mention that bitbake supports other checksums, though they are not
commonly used.

(From yocto-docs rev: fb5b87cf7322542896c269f404571a655ed6bf91)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-12-21 06:14:00 -10:00
Michael Opdenacker
7a939cd7e6 migration-guides: release 3.5 is actually 4.0
(From yocto-docs rev: 3b09e8ab838d8b14fd259d17a6597ea43bf46578)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-12-21 06:14:00 -10:00
Aatir Manzur
064936af55 docs: add CONVERSION_CMD definition
(From yocto-docs rev: ba1458b04e2828e728c2815b1221e9399132d25d)

Signed-off-by: Aatir Manzur <aatrapps@gmail.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-12-21 06:14:00 -10:00
Michael Opdenacker
3a5ddec4d1 contributor-guide: fix command option
"--subject-prefix" applies to "git format-patch", not "git send-email"

(From yocto-docs rev: cf3697cebc0494a624fa2766d07c3532ec6b4341)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-12-21 06:14:00 -10:00
Justin Bronder
d00aada1d1 contributor-guide: add License-Update tag
Porting from the old wiki
https://www.openembedded.org/index.php?title=Commit_Patch_Message_Guidelines&oldid=10935#Describing_license_changes

(From yocto-docs rev: 0ff60e3b3da409acff9599b1d511520051db0d37)

Signed-off-by: Justin Bronder <jsbronder@cold-front.org>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-12-21 06:14:00 -10:00
Michael Opdenacker
cfcbf783ab dev-manual: layers: update link to YP Compatible form
(From yocto-docs rev: 738ce45b65dd53643303784184c43a83faed344c)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Reported-by: Megan Knight <megankn@amazon.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-12-21 06:14:00 -10:00
Michael Opdenacker
15b42171a3 ref-manual: releases.svg: update nanbield release status
- nanbield is now released
- update the start and end dates

(From yocto-docs rev: 51f26829e89674c55471a6a077e5f49a97db84c3)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-12-21 06:14:00 -10:00
Michael Opdenacker
8caaab3252 manuals: fix URL
[YOCTO #15279]

(From yocto-docs rev: 37d353e82d4ba5f3637720a754769b243c29980c)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Reported-by:  Steve Landherr <steve-yocto@chiquapin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-12-21 06:14:00 -10:00
Paul Barker
cd6f183a34 ref-manual: Fix reference to MIRRORS/PREMIRRORS defaults
After the following meta-yocto commits, MIRRORS & PREMIRRORS are no
longer set in the poky distro config file:

  67b79df4fbff ("poky.conf: remove redundant MIRRORS")
  1b71a3b9418f ("poky: Drop PREMIRRORS entries for scms")

(From yocto-docs rev: c7882126a75e8814764379d40bf56f39da5d3c19)

Signed-off-by: Paul Barker <paul.barker.ct@bp.renesas.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-12-21 06:14:00 -10:00
Marta Rybczynska
875ce46a8d bitbake: toastergui: verify that an existing layer path is given
Verify that an existing layer path was given when adding a new
layer.

Manually using the shell for globbing is unnecessary, use the glob
function instead for cleaner code.

(Bitbake rev: de1cf0e31f3836a449cbd17490a2f6b6a86b17f9)

Signed-off-by: Marta Rybczynska <marta.rybczynska@syslinbit.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-12-21 06:14:00 -10:00
Steve Sakoman
755632c2fc build-appliance-image: Update to kirkstone head revision
(From OE-Core rev: eea685e1caafd8e8121006d3f8b5d0b8a4f2a933)

Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-12-15 04:03:05 -10:00
Steve Sakoman
387d01b0a4 poky.conf: bump version for 4.0.15
(From meta-yocto rev: 77c2830ae0c3e7370f7c816796981932ba0ec99a)

Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-12-15 04:00:33 -10:00
Mikko Rapeli
4761cbe1ee openssh: drop sudo from ptest dependencies
The tests don't actually need sudo on core-image-ptest-openssh.
Based on logs seen in
https://bugzilla.yoctoproject.org/show_bug.cgi?id=15178 it seems
that socket errors from sudo are creeping into stderr which are failing
the banner ptest from openssh. Removing sudo should help removing
the stderr messages and possibly cure the banner test failures.

(From OE-Core rev: 47e754f483b674b207bfddcc8d4c5d9a3008e102)

(From OE-Core rev: bce20153973ceff3ac9fc98b30e726aa6698d8ee)

Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-12-15 04:00:33 -10:00
Alexander Kanavin
8a09f8472f gstreamer1.0-plugins-base: enable glx/opengl support
This is required by latest webkit when built with x11 support.

(From OE-Core rev: 024edebf6f722ae4d05411be348730d9eeb3bd7c)

(From OE-Core rev: 9fc0f0a15388af175bd53de5190801750064e60c)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Claus Stovgaard <claus.stovgaard@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-12-15 04:00:33 -10:00
Vijay Anusuri
82802901c6 gnutls: Backport fix for CVE-2023-5981
Upstream-Status: Backport [import from debian https://launchpad.net/ubuntu/+archive/primary/+sourcefiles/gnutls28/3.7.3-4ubuntu1.3/gnutls28_3.7.3-4ubuntu1.3.debian.tar.xz
Upstream-Commit: 29d6298d0b]

References:
https://ubuntu.com/security/CVE-2023-5981

(From OE-Core rev: 421b468cf48f0d2c493356f482d92e61e39d7e0e)

Signed-off-by: Vijay Anusuri <vanusuri@mvista.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-12-15 04:00:33 -10:00
Archana Polampalli
f22a96e5cc bluez5: fix CVE-2023-45866
Bluetooth HID Hosts in BlueZ may permit an unauthenticated Peripheral role
HID Device to initiate and establish an encrypted connection, and accept HID
keyboard reports,potentially permitting injection of HID messages when no user
interaction has occurred in the Central role to authorize such access. An example
affected package is bluez 5.64-0ubuntu1 in Ubuntu 22.04LTS. NOTE: in some cases,
a CVE-2020-0556 mitigation would have already addressed this Bluetooth HID Hosts issue.

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

Upstream patches:
https://git.kernel.org/pub/scm/bluetooth/bluez.git/commit/profiles/input?id=25a471a83e02e1effb15d5a488b3f0085eaeb675

(From OE-Core rev: f03cb448574a730d85ed6d80bb58561674005ede)

Signed-off-by: Archana Polampalli <archana.polampalli@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-12-15 04:00:33 -10:00
Vijay Anusuri
3562768af7 avahi: backport CVE-2023-1981 & CVE's follow-up patches
import patches from ubuntu to fix
 CVE-2023-1981
 CVE-2023-38469-2
 CVE-2023-38470-2
 CVE-2023-38471-2

Upstream-Status: Backport [import from ubuntu https://git.launchpad.net/ubuntu/+source/avahi/tree/debian/patches?h=ubuntu/jammy-security
Upstream commit
a2696da2f2
&
c6cab87df2
&
94cb648911
&
b675f70739]

Ref: https://git.openembedded.org/openembedded-core-contrib/commit/?h=stable/nanbield-nut&id=a9203c46cd64c3ec5e5b00e381bbac85733f85df

(From OE-Core rev: 32c0a3dc4d65065639260e77783dc427d4b1cfe3)

Signed-off-by: Vijay Anusuri <vanusuri@mvista.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-12-15 04:00:33 -10:00
Steve Sakoman
6f84c60edf Revert "kernel-fitImage: Strip path component from dtb"
This change breaks arm64 (and likely mips & riscv)

This reverts commit 9a42349a176ca4d7a1bfab3425a0821dbcbd9368.

(From OE-Core rev: b77cd331199fa62e3b162f37efca3b927c68d8e5)

Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-12-14 04:08:22 -10:00
Richard Purdie
eadd5efcb3 native: Clear TUNE_FEATURES/ABIEXTENSION
Some recipes reference these. Rather than continually trying to chase down the references
and taskhash issues, clear the variables for an easier life and simpler code. These
wouldn't convey anything useful in a native build.

(From OE-Core rev: 09ecafaf0e128c4dea062d359de37cbef461aed2)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f8edeead263708889d31a7ff578ef8274cb678b4)
Signed-off-by: Jermain Horsman <jermain.horsman@nedap.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-12-12 04:20:35 -10:00
Richard Purdie
e01044d629 rust-cross: Simplfy the rust_gen_target calls
Match the code in rust-cross-canadian so that further simplifications
can be considered in future.

(From OE-Core rev: 9fb5f81f58306b2d355049698b6a17d045bd5e1e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 5cb62d0a33777cb9afb1eea5f736a2580ce50dc7)
Signed-off-by: Jermain Horsman <jermain.horsman@nedap.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-12-12 04:20:35 -10:00
Richard Purdie
079e50aba0 rust-cross/rust-common: Merge arm target handling code to fix cross-canadian
rust-cross had special handling for armv7 targets but we also need this
for cross-canadian. Merge the code into the main function so everything is
consistent.

Also then fix the arm definition to be arm-eabi since ABI is correctly
being looked up.

(From OE-Core rev: 0adada8111c17e8e5a7c32cef86bdb8e7dfd79d3)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit ff3c3dbbd2bf1bb7bb70b55cca203e9eedcf14a8)
Signed-off-by: Jermain Horsman <jermain.horsman@nedap.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-12-12 04:20:35 -10:00
Richard Purdie
26ffdb7a30 rust-cross-canadian: Fix ordering of target json config generation
Based upon a patch from Otavio Salvador <otavio@ossystems.com.br>,
ensure the target json files are written in the correct order with
the most specific last incase it overwrites earlier files if the prefixes
match.

(From OE-Core rev: d8c030ef90272e42a1697f5195f887d09878aa01)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 1912c4e9e0ecf9655f3b3a41588b54d7956f5899)
Signed-off-by: Jermain Horsman <jermain.horsman@nedap.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-12-12 04:20:35 -10:00
Richard Purdie
1110f16718 rust-common: Set llvm-target correctly for cross SDK targets
When a 'BUILD' target is requested we shouldn't be looking at TARGET_SYS but
at BUILD_SYS. Due to the way rust mangles triplets, we need the HOST_SYS triplet
to work with existing code - fixing that issue is a separate patch.

Also drop the arch_abi argument, it doens't make any sense to a getVar() call
and was a copy and paste error.

Based on a patch from Otavio Salvador <otavio@ossystems.com.br> but separated out
and tweaked.

Fixes: bd36593ba3 ("rust-common: Drop LLVM_TARGET and simplify")

(From OE-Core rev: cccbb8358be830b83a43fe1ff8a88932dee1c228)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit d554161a045d12411f288394e253c54aa4c1257c)
Signed-off-by: Jermain Horsman <jermain.horsman@nedap.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-12-12 04:20:35 -10:00
Niko Mauno
8b75148d87 rust-llvm: Allow overriding LLVM target archs
Move the default value into a variable which can be overridden to
match more accurately the use case specific scenario.

(From OE-Core rev: 645370e85d8742d0614cd52ca7507b5df2d38ad8)

(From OE-Core rev: 93458c302938bf704e8e9f14dfdfee57454adf7a)

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>
2023-12-12 04:20:35 -10:00
Wenlin Kang
75b08b43a4 bash: changes to SIGINT handler while waiting for a child
It rarely observes the problem while running shell script aborting
test repeatedly, at the problem, the test shell script never returns
to shell

Steps to reproduce:
1. Run test script and ctrl-c repeatedly
2. Observe whether returns to shell after ctrl-c

Fixed issue:
https://lists.gnu.org/archive/html/bug-bash/2023-10/msg00131.html

(From OE-Core rev: a351d62ca7deff548542c849a6fa696280b5533a)

Signed-off-by: Wenlin Kang <wenlin.kang@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-12-12 04:20:34 -10:00
Steve Sakoman
c4f28d9643 cve-exclusion_5.10.inc: update for 5.10.202
(From OE-Core rev: d910f67c61c79379614837b29be787ceb4181391)

Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-12-12 04:20:34 -10:00
Bruce Ashfield
30be4f67cc linux-yocto/5.10: update to v5.10.202
Updating  to the latest korg -stable release that comprises
the following commits:

    479e8b892541 Linux 5.10.202
    610057f4f6e0 interconnect: qcom: Add support for mask-based BCMs
    7ce66afcaaf6 netfilter: nf_tables: disable toggling dormant table state more than once
    d9c4da8cb74e netfilter: nf_tables: fix table flag updates
    7d1d3f113425 netfilter: nftables: update table flags from the commit phase
    a98172e36e5f tracing: Have trace_event_file have ref counters
    c6e8af2a8a63 io_uring/fdinfo: lock SQ thread while retrieving thread cpu/pid
    aeeb1ad2dd4e drm/amd/display: Change the DMCUB mailbox memory location from FB to inbox
    e2bdd437886c drm/amdgpu: fix error handling in amdgpu_bo_list_get()
    dfa8e63ca527 drm/amd/pm: Handle non-terminated overdrive commands.
    7dc933b4b498 ext4: remove gdb backup copy for meta bg in setup_new_flex_group_blocks
    0932764fb54a ext4: correct the start block of counting reserved clusters
    3c1ad03a5ff2 ext4: correct return value of ext4_convert_meta_bg
    d739a7e38944 ext4: correct offset of gdb backup in non meta_bg group to update_backups
    c878db71edc0 ext4: apply umask if ACL support is disabled
    3a51aee542b0 Revert "net: r8169: Disable multicast filter for RTL8168H and RTL8107E"
    f6e014b5eb1d media: qcom: camss: Fix vfe_get() error jump
    e2d2e266089d mm: kmem: drop __GFP_NOFAIL when allocating objcg vectors
    6875820f36bf nfsd: fix file memleak on client_opens_release
    b51b20c018c6 media: venus: hfi: add checks to handle capabilities from firmware
    bcee276a1e02 media: venus: hfi: fix the check to handle session buffer requirement
    da240b7bada2 media: venus: hfi_parser: Add check to keep the number of codecs within range
    0f887306bd8b media: sharp: fix sharp encoding
    dfa9f4ea6502 media: lirc: drop trailing space from scancode transmit
    c041f5ddef00 f2fs: avoid format-overflow warning
    829f0d5231b7 i2c: i801: fix potential race in i801_block_transaction_byte_by_byte
    430603f6de33 net: phylink: initialize carrier state at creation
    4dc0484e90a3 net: dsa: lan9303: consequently nested-lock physical MDIO
    cb1006640cb3 i2c: designware: Disable TX_EMPTY irq while waiting for block length byte
    8e29eebe4c39 lsm: fix default return value for inode_getsecctx
    8327f50442d2 lsm: fix default return value for vm_enough_memory
    a011391f019c Revert ncsi: Propagate carrier gain/loss events to the NCSI controller
    969d994612ff arm64: dts: qcom: ipq6018: Fix tcsr_mutex register size
    2b3931eb8e9c arm64: dts: qcom: ipq6018: switch TCSR mutex to MMIO
    bdda1c356d58 PCI: exynos: Don't discard .remove() callback
    62d15b6a6ec9 Bluetooth: btusb: Add 0bda:b85b for Fn-Link RTL8852BE
    dbbf3c456002 Bluetooth: btusb: Add RTW8852BE device 13d3:3570 to device tables
    990d4c76d254 bluetooth: Add device 13d3:3571 to device tables
    3aba34baa4fb bluetooth: Add device 0bda:887b to device tables
    0952747362c1 Bluetooth: btusb: Add Realtek RTL8852BE support ID 0x0cb8:0xc559
    8617305611c1 cpufreq: stats: Fix buffer overflow detection in trans_stats()
    2ed25af15b32 tty: serial: meson: fix hard LOCKUP on crtscts mode
    07c61839582d serial: meson: Use platform_get_irq() to get the interrupt
    980c3135f1ae tty: serial: meson: retrieve port FIFO size from DT
    1e66cd408353 serial: meson: remove redundant initialization of variable id
    ba30578def84 ALSA: hda/realtek - Enable internal speaker of ASUS K6500ZC
    ddd47d8d1ba6 ALSA: hda/realtek - Add Dell ALC295 to pin fall back table
    a681d28b973f ALSA: info: Fix potential deadlock at disconnection
    f04fa1e1997f xhci: Enable RPM on controllers that support low-power states
    5e34fe50a976 parisc/pgtable: Do not drop upper 5 address bits of physical address
    064c697cac4b parisc: Prevent booting 64-bit kernels on PA1.x machines
    c6effcdd7dd0 i3c: master: cdns: Fix reading status register
    76320f05b99d mtd: cfi_cmdset_0001: Byte swap OTP info
    dce3e7c40055 mm/memory_hotplug: use pfn math in place of direct struct page manipulation
    63d2023fbbe1 mm/cma: use nth_page() in place of direct struct page manipulation
    d24340f08104 dmaengine: stm32-mdma: correct desc prep when channel running
    788322e1ede6 mcb: fix error handling for different scenarios when parsing
    25284c46b657 i2c: core: Run atomic i2c xfer when !preemptible
    8f8fc95b3a7f kernel/reboot: emergency_restart: Set correct system_state
    9386f59759b4 quota: explicitly forbid quota files from being encrypted
    f729cf6f3217 jbd2: fix potential data lost in recovering journal raced with synchronizing fs bdev
    db5ebaeb8fda PCI: keystone: Don't discard .probe() callback
    2bcdc1b6b61e PCI: keystone: Don't discard .remove() callback
    943347e53a75 genirq/generic_chip: Make irq_remove_generic_chip() irqdomain aware
    b2c194fe8f31 mmc: meson-gx: Remove setting of CMD_CFG_ERROR
    03ed26935beb wifi: ath11k: fix htt pktlog locking
    f882f5190551 wifi: ath11k: fix dfs radar event locking
    c3f61ca48612 wifi: ath11k: fix temperature event locking
    cd5a262a07a5 ima: detect changes to the backing overlay file
    df4133ebc86a firmware: qcom_scm: use 64-bit calling convention only when client is 64-bit
    76211f1dd91d btrfs: don't arbitrarily slow down delalloc if we're committing
    175f4b062f69 rcu: kmemleak: Ignore kmemleak false positives when RCU-freeing objects
    3c1c1af25d45 PM: hibernate: Clean up sync_read handling in snapshot_write_next()
    df8363e468f2 PM: hibernate: Use __get_safe_page() rather than touching the list
    21bc829337ca arm64: dts: qcom: ipq6018: Fix hwlock index for SMEM
    1fd46d32772d PCI/ASPM: Fix L1 substate handling in aspm_attr_store_common()
    e3ed58ee4e4a mmc: sdhci_am654: fix start loop index for TAP value parsing
    198366a5ffe6 mmc: vub300: fix an error code
    3a4431014cfb clk: qcom: ipq6018: drop the CLK_SET_RATE_PARENT flag from PLL clocks
    30af31fc002e clk: qcom: ipq8074: drop the CLK_SET_RATE_PARENT flag from PLL clocks
    8dc83cf76290 parisc/pdc: Add width field to struct pdc_model
    d08a1e75253b arm64: Restrict CPU_BIG_ENDIAN to GNU as or LLVM IAS 15.x or newer
    61695b9aecfe ACPI: resource: Do IRQ override on TongFang GMxXGxx
    6edbd6b4811f watchdog: move softlockup_panic back to early_param
    85fe64c8dcce PCI/sysfs: Protect driver's D3cold preference from user space
    1b0836242900 hvc/xen: fix error path in xen_hvc_init() to always register frontend driver
    d5455c421fad hvc/xen: fix console unplug
    a158a74e701b tty/sysrq: replace smp_processor_id() with get_cpu()
    fc557bcfd7ff audit: don't WARN_ON_ONCE(!current->mm) in audit_exe_compare()
    121973ef1ad7 audit: don't take task_lock() in audit_exe_compare() code path
    910caee34640 KVM: x86: Ignore MSR_AMD64_TW_CFG access
    66406d49ac14 KVM: x86: hyper-v: Don't auto-enable stimer on write from user-space
    8cf6b6658541 x86/cpu/hygon: Fix the CPU topology evaluation for real
    243c4833f345 scsi: megaraid_sas: Increase register read retry rount from 3 to 30 for selected registers
    697bc325b977 scsi: mpt3sas: Fix loop logic
    5fb8ec5943b1 bpf: Fix precision tracking for BPF_ALU | BPF_TO_BE | BPF_END
    9617a9fe4f41 bpf: Fix check_stack_write_fixed_off() to correctly spill imm
    7975f7b2a6fc randstruct: Fix gcc-plugin performance mode to stay in group
    d83f4bc0a4db powerpc/perf: Fix disabling BHRB and instruction sampling
    e7de8ffbbbc7 media: venus: hfi: add checks to perform sanity on queue pointers
    99dbc39c22ce cifs: fix check of rc in function generate_smb3signingkey
    e5a0ef02829d cifs: spnego: add ';' in HOST_KEY_LEN
    6d388b641c8f tools/power/turbostat: Fix a knl bug
    f56e228d67fc macvlan: Don't propagate promisc change to lower dev in passthru
    ac4979dbd9b6 net/mlx5e: Check return value of snprintf writing to fw_version buffer for representors
    a3ce491b1738 net/mlx5_core: Clean driver version and name
    0eaec8126b46 net/mlx5e: fix double free of encap_header
    541fece7caa4 net: stmmac: fix rx budget limit check
    66dbaa2eecf1 netfilter: nf_conntrack_bridge: initialize err to 0
    3f643150563c net: ethernet: cortina: Fix MTU max setting
    eac9ef50d6f3 net: ethernet: cortina: Handle large frames
    f0d9b80f7624 net: ethernet: cortina: Fix max RX frame define
    396baca6683f bonding: stop the device in bond_setup_by_slave()
    1f368fd61223 ptp: annotate data-race around q->head and q->tail
    ecc74e7acb6d xen/events: fix delayed eoi list handling
    144a80ef40a6 ppp: limit MRU to 64K
    3ee249a3b993 tipc: Fix kernel-infoleak due to uninitialized TLV value
    072f0eb962c9 net: hns3: fix VF reset fail issue
    b0eac93bae42 net: hns3: fix variable may not initialized problem in hns3_init_mac_addr()
    48fa8a85f8f5 tty: Fix uninit-value access in ppp_sync_receive()
    43b781e7cb5c ipvlan: add ipvlan_route_v6_outbound() helper
    59fadfa99bcb gfs2: Silence "suspicious RCU usage in gfs2_permission" warning
    dedf2a0eb944 SUNRPC: Fix RPC client cleaned up the freed pipefs dentries
    39b2bf040510 NFSv4.1: fix SP4_MACH_CRED protection for pnfs IO
    37f3aaf7945e SUNRPC: Add an IS_ERR() check back to where it was
    c7eacf01ddb1 SUNRPC: ECONNRESET might require a rebind
    4ea3b98fa6a1 xhci: turn cancelled td cleanup to its own function
    6ebd42a7b713 wifi: iwlwifi: Use FW rate for non-data frames
    e52518b9cb9f pwm: Fix double shift bug
    53b2393eeba7 drm/amdgpu: fix software pci_unplug on some chips
    f1ea84696ea5 ASoC: ti: omap-mcbsp: Fix runtime PM underflow warnings
    3cfacacb9caa kgdb: Flush console before entering kgdb on panic
    79b6a90f4f24 drm/amd/display: Avoid NULL dereference of timing generator
    0f5068519f89 media: imon: fix access to invalid resource for the second interface
    cf8519f40ce3 media: cobalt: Use FIELD_GET() to extract Link Width
    5f8d51a04baf gfs2: fix an oops in gfs2_permission
    2a054b87a1b7 gfs2: ignore negated quota changes
    0ac2652b9674 media: vivid: avoid integer overflow
    c6b6b8692218 media: gspca: cpia1: shift-out-of-bounds in set_flicker
    90e3c3dd9306 i2c: sun6i-p2wi: Prevent potential division by zero
    18fa7a30cd0c 9p/trans_fd: Annotate data-racy writes to file::f_flags
    76716a7604b2 usb: gadget: f_ncm: Always set current gadget in ncm_bind()
    4ef41a7f33ff tty: vcc: Add check for kstrdup() in vcc_probe()
    484cc536a3a2 exfat: support handle zero-size directory
    491529d383b7 HID: Add quirk for Dell Pro Wireless Keyboard and Mouse KM5221W
    65d78d54e4e5 misc: pci_endpoint_test: Add Device ID for R-Car S4-8 PCIe controller
    bb83f79f90e9 scsi: libfc: Fix potential NULL pointer dereference in fc_lport_ptp_setup()
    5cebe796eaaa atm: iphase: Do PCI error checks on own line
    65491968365c PCI: tegra194: Use FIELD_GET()/FIELD_PREP() with Link Width fields
    25354bae4fc3 ALSA: hda: Fix possible null-ptr-deref when assigning a stream
    e0d739e66bc1 ARM: 9320/1: fix stack depot IRQ stack filter
    62d21f9df46d HID: lenovo: Detect quirk-free fw on cptkbd and stop applying workaround
    1ba7df5457dc jfs: fix array-index-out-of-bounds in diAlloc
    81aa58cd8495 jfs: fix array-index-out-of-bounds in dbFindLeaf
    c6c8863fb3f5 fs/jfs: Add validity check for db_maxag and db_agpref
    524b4f203afc fs/jfs: Add check for negative db_l2nbperpage
    885824a44d35 RDMA/hfi1: Use FIELD_GET() to extract Link Width
    e97bf4ada7dd crypto: pcrypt - Fix hungtask for PADATA_RESET
    98fa52d89a4f ASoC: soc-card: Add storage for PCI SSID
    f161a6b11ae7 selftests/efivarfs: create-read: fix a resource leak
    f475d5502f33 drm/amdgpu: Fix a null pointer access when the smc_rreg pointer is NULL
    da1409ea0845 drm/panel: st7703: Pick different reset sequence
    9acc2bc00135 drm/panel/panel-tpo-tpg110: fix a possible null pointer dereference
    c7dc0aca5962 drm/panel: fix a possible null pointer dereference
    b93a25de28af drm/amdgpu: Fix potential null pointer derefernce
    8c1dbddbfcb0 drm/amd: Fix UBSAN array-index-out-of-bounds for Polaris and Tonga
    8af28ae3acb7 drm/amd: Fix UBSAN array-index-out-of-bounds for SMU7
    4ffb2b0e48c0 drm/msm/dp: skip validity check for DP CTS EDID checksum
    2810a9c40b6f drm/komeda: drop all currently held locks if deadlock happens
    a70457f181d6 platform/x86: thinkpad_acpi: Add battery quirk for Thinkpad X120e
    53d61daf35b1 Bluetooth: Fix double free in hci_conn_cleanup
    9f8e4d1a4ca1 Bluetooth: btusb: Add date->evt_skb is NULL check
    bba97f5e8ff3 wifi: ath10k: Don't touch the CE interrupt registers after power up
    22fa35ded3ec net: annotate data-races around sk->sk_dst_pending_confirm
    67b7de95d1e3 net: annotate data-races around sk->sk_tx_queue_mapping
    beb75dccba9d wifi: ath10k: fix clang-specific fortify warning
    2d6303cafb7c wifi: ath9k: fix clang-specific fortify warnings
    6058e4829696 bpf: Detect IP == ksym.end as part of BPF program
    717de20abdcd wifi: mac80211: don't return unset power in ieee80211_get_tx_power()
    cdfc689e10e6 wifi: mac80211_hwsim: fix clang-specific fortify warning
    a7aa2f1ca855 x86/mm: Drop the 4 MB restriction on minimal NUMA node memory size
    89356bee8eda clocksource/drivers/timer-atmel-tcb: Fix initialization on SAM9 hardware
    1b8687ed3cf3 clocksource/drivers/timer-imx-gpt: Fix potential memory leak
    1a2a4202c60f perf/core: Bail out early if the request AUX area is out of bound
    9ed2d68b3925 locking/ww_mutex/test: Fix potential workqueue corruption
    6db6caba87ef Linux 5.10.201
    4be0407ffcf6 btrfs: use u64 for buffer sizes in the tree search ioctls
    2bbbb976faa1 Revert "mmc: core: Capture correct oemid-bits for eMMC cards"
    3b092dfdabf2 tracing/kprobes: Fix the order of argument descriptions
    3697fda1c671 fbdev: fsl-diu-fb: mark wr_reg_wa() static
    a4dfebec32ec fbdev: imsttfb: fix a resource leak in probe
    9e8e731571e6 fbdev: imsttfb: Fix error path of imsttfb_probe()
    de721d7ef7ac spi: spi-zynq-qspi: add spi-mem to driver kconfig dependencies
    876a119790e5 drm/syncobj: fix DRM_SYNCOBJ_WAIT_FLAGS_WAIT_AVAILABLE
    b9bc1806b907 x86/sev-es: Allow copy_from_kernel_nofault() in earlier boot
    14042d6d80db x86: Share definition of __is_canonical_address()
    bc794a667b1e netfilter: nat: fix ipv6 nat redirect with mapped and scoped addresses
    b65d851b2eb0 netfilter: nft_redir: use `struct nf_nat_range2` throughout and deduplicate eval call-backs
    7764290452d1 netfilter: xt_recent: fix (increase) ipv6 literal buffer length
    00b188209196 r8169: respect userspace disabling IFF_MULTICAST
    e02824db7c43 tg3: power down device only on SYSTEM_POWER_OFF
    34c5a24633bc net/smc: put sk reference if close work was canceled
    f652ab15af0a net/smc: allow cdc msg send rather than drop it with NULL sndbuf_desc
    4e7bad730160 net/smc: fix dangling sock under state SMC_APPFINCLOSEWAIT
    13d6bc35deb1 net: stmmac: xgmac: Enable support for multiple Flexible PPS outputs
    eafacef7eeef Fix termination state for idr_for_each_entry_ul()
    0a84ffc72f1e net: r8169: Disable multicast filter for RTL8168H and RTL8107E
    4969fcebe76d dccp/tcp: Call security_inet_conn_request() after setting IPv6 addresses.
    7827667989e1 dccp: Call security_inet_conn_request() after setting IPv4 addresses.
    f830d4f69835 inet: shrink struct flowi_common
    b33d130f07f1 tipc: Change nla_policy for bearer-related names to NLA_NUL_STRING
    ddf4e04e946a hsr: Prevent use after free in prp_create_tagged_frame()
    3a2653828ffc llc: verify mac len before reading mac header
    6c71e065befb Input: synaptics-rmi4 - fix use after free in rmi_unregister_function()
    e5d481d9b6cf pwm: brcmstb: Utilize appropriate clock APIs in suspend/resume
    005965cab108 pwm: sti: Reduce number of allocations and drop usage of chip_data
    ce5e0a3c9d39 pwm: sti: Avoid conditional gotos
    0bc796e66b5d regmap: prevent noinc writes from clobbering cache
    1b86938925bd media: dvb-usb-v2: af9035: fix missing unlock
    2e2efaed79c0 media: cedrus: Fix clock/reset sequence
    64863ba8e6b7 media: vidtv: mux: Add check and kfree for kstrdup
    3387490c89b1 media: vidtv: psi: Add check for kstrdup
    62557ab73d3a media: s3c-camif: Avoid inappropriate kfree()
    2f3d9198cdae media: bttv: fix use after free error due to btv->timeout timer
    0627e8623eb5 media: i2c: max9286: Fix some redundant of_node_put() calls
    c3e148aba95a pcmcia: ds: fix possible name leak in error path in pcmcia_device_add()
    84540ef92434 pcmcia: ds: fix refcount leak in pcmcia_device_add()
    cd154225d419 pcmcia: cs: fix possible hung task and memory leak pccardd()
    5e3c75158642 rtc: pcf85363: fix wrong mask/val parameters in regmap_update_bits call
    1832ed55df45 i3c: Fix potential refcount leak in i3c_master_register_new_i3c_devs
    a83fc293acd5 perf hist: Add missing puts to hist__account_cycles
    4e66bde5c7d1 perf machine: Avoid out of bounds LBR memory read
    188425eb2da2 usb: host: xhci-plat: fix possible kernel oops while resuming
    ba894bd2737c xhci: Loosen RPM as default policy to cover for AMD xHC 1.1
    ad0370c41a19 powerpc/pseries: fix potential memory leak in init_cpu_associativity()
    d12372af8955 powerpc/imc-pmu: Use the correct spinlock initializer.
    c75707293dcf powerpc/xive: Fix endian conversion size
    f95f5512fdcb powerpc/40x: Remove stale PTE_ATOMIC_UPDATES macro
    b54a4c8ca1c8 modpost: fix tee MODULE_DEVICE_TABLE built on big-endian host
    362f0241dbe9 interconnect: qcom: sc7180: Set ACV enable_mask
    08588fac00b1 interconnect: qcom: sc7180: Retire DEFINE_QBCM
    ebaf7a73f634 f2fs: fix to initialize map.m_pblk in f2fs_precache_extents()
    758f735604f8 dmaengine: pxa_dma: Remove an erroneous BUG_ON() in pxad_free_desc()
    5fe228041c51 USB: usbip: fix stub_dev hub disconnect
    798692e48c0a tools: iio: iio_generic_buffer ensure alignment
    3eadba058276 tools: iio: iio_generic_buffer: Fix some integer type and calculation
    a0a41991ddf2 tools: iio: privatize globals and functions in iio_generic_buffer.c file
    d046e3f8de1d misc: st_core: Do not call kfree_skb() under spin_lock_irqsave()
    c53cfe99c2aa dmaengine: ti: edma: handle irq_of_parse_and_map() errors
    bdb3dd409630 usb: dwc2: fix possible NULL pointer dereference caused by driver concurrency
    05de1536d052 livepatch: Fix missing newline character in klp_resolve_symbols()
    3ebf42fe8cc7 tty: tty_jobctrl: fix pid memleak in disassociate_ctty()
    380837052669 leds: trigger: ledtrig-cpu:: Fix 'output may be truncated' issue for 'cpu'
    23eb8629c22f leds: pwm: Don't disable the PWM when the LED should be off
    c2766ed2b7af mfd: dln2: Fix double put in dln2_probe
    b708eb26b560 mfd: core: Ensure disabled devices are skipped without aborting
    9f831533d2d0 mfd: core: Un-constify mfd_cell.of_reg
    b7b4851e630d ASoC: ams-delta.c: use component after check
    41aad9d69539 padata: Fix refcnt handling in padata_free_shell()
    7606807bd6d0 padata: Convert from atomic_t to refcount_t on parallel_data->refcnt
    2de16f6169a2 ASoC: Intel: Skylake: Fix mem leak when parsing UUIDs fails
    6fd432f392a7 HID: logitech-hidpp: Move get_wireless_feature_index() check to hidpp_connect_event()
    7581eef4aef2 HID: logitech-hidpp: Revert "Don't restart communication if not necessary"
    c82e376bc24e HID: logitech-hidpp: Don't restart IO, instead defer hid_connect() only
    0fe443314cf6 HID: logitech-hidpp: Remove HIDPP_QUIRK_NO_HIDINPUT quirk
    8337286600cd Revert "HID: logitech-hidpp: add a module parameter to keep firmware gestures"
    6d2de161cdc6 sh: bios: Revive earlyprintk support
    2ca51477c6da hid: cp2112: Fix IRQ shutdown stopping polling for all IRQs on chip
    9c895d20f8ee RDMA/hfi1: Workaround truncation compilation error
    cd268264f594 scsi: ufs: core: Leave space for '\0' in utf8 desc string
    cded69a7f8b3 ASoC: fsl: Fix PM disable depth imbalance in fsl_easrc_probe
    159639486834 RDMA/hns: Fix signed-unsigned mixed comparisons
    8018a3444e39 RDMA/hns: Fix uninitialized ucmd in hns_roce_create_qp_common()
    08a246064def IB/mlx5: Fix rdma counter binding for RAW QP
    53067926cd83 ASoC: fsl: mpc5200_dma.c: Fix warning of Function parameter or member not described
    83eee515e415 ext4: move 'ix' sanity check to corrent position
    67959b362687 ARM: 9321/1: memset: cast the constant byte to unsigned char
    3d959406c8ff hid: cp2112: Fix duplicate workqueue initialization
    63e8e2ee5815 crypto: qat - increase size of buffers
    a921d6b795a0 crypto: qat - mask device capabilities with soft straps
    16f2033de013 crypto: caam/jr - fix Chacha20 + Poly1305 self test failure
    727ba935d906 crypto: caam/qi2 - fix Chacha20 + Poly1305 self test failure
    b0e7a935739f nd_btt: Make BTT lanes preemptible
    efeaa2396e3b libnvdimm/of_pmem: Use devm_kstrdup instead of kstrdup and check its return value
    ffb3483c4b0b hwrng: geode - fix accessing registers
    02db438311f8 crypto: hisilicon/hpre - Fix a erroneous check after snprintf()
    5176ebe6aa2b selftests/resctrl: Ensure the benchmark commands fits to its array
    b3768f089210 selftests/pidfd: Fix ksft print formats
    a0846b4c8e74 clk: scmi: Free scmi_clk allocated when the clocks with invalid info are skipped
    bcc7d46fa4dd firmware: ti_sci: Mark driver as non removable
    5e5b85ea0f4b soc: qcom: llcc: Handle a second device without data corruption
    a44aa8d8a532 ARM: dts: qcom: mdm9615: populate vsdcc fixed regulator
    8bd7c8a9b838 arm64: dts: qcom: sdm845-mtp: fix WiFi configuration
    4df18b233ef2 arm64: dts: qcom: msm8916: Fix iommu local address range
    1e17eab1a49a xen-pciback: Consider INTx disabled when MSI/MSI-X is enabled
    bc714abe7dc0 drm/rockchip: Fix type promotion bug in rockchip_gem_iommu_map()
    666a4120dcf6 arm64/arm: xen: enlighten: Fix KPTI checks
    0dd40dca1ebb drm/rockchip: cdn-dp: Fix some error handling paths in cdn_dp_probe()
    6f710918df7d drm/mediatek: Fix iommu fault during crtc enabling
    c12f2eaeb38b drm/bridge: tc358768: Fix bit updates
    1133e72cd82b drm/bridge: tc358768: Disable non-continuous clock mode
    c0d25ef81a11 drm/bridge: tc358768: Fix use of uninitialized variable
    7b063c93bece drm/radeon: possible buffer overflow
    a6d6769e2db6 drm/rockchip: vop: Fix call to crtc reset helper
    bb8143016130 drm/rockchip: vop: Fix reset of state in duplicate state crtc funcs
    9899097b1fcf hwmon: (coretemp) Fix potentially truncated sysfs attribute name
    7d870088db48 hwmon: (axi-fan-control) Fix possible NULL pointer dereference
    060d54f09004 hwmon: (axi-fan-control) Support temperature vs pwm points
    d426a2955e45 platform/x86: wmi: Fix opening of char device
    d2220737330b platform/x86: wmi: remove unnecessary initializations
    3433a69c00ee platform/x86: wmi: Fix probe failure when failing to register WMI devices
    b16622d304e7 clk: qcom: config IPQ_APSS_6018 should depend on QCOM_SMEM
    001e5def774f clk: mediatek: clk-mt2701: Add check for mtk_alloc_clk_data
    4f861b63945e clk: mediatek: clk-mt7629: Add check for mtk_alloc_clk_data
    96e9544a0c4f clk: mediatek: clk-mt7629-eth: Add check for mtk_alloc_clk_data
    81b162861107 clk: mediatek: clk-mt6797: Add check for mtk_alloc_clk_data
    3994387ba356 clk: mediatek: clk-mt6779: Add check for mtk_alloc_clk_data
    2617aa8ceaf3 clk: mediatek: clk-mt6765: Add check for mtk_alloc_clk_data
    55e5fd11a21d clk: npcm7xx: Fix incorrect kfree
    0beaefa9885f clk: ti: fix double free in of_ti_divider_clk_setup()
    acb535d75077 clk: ti: change ti_clk_register[_omap_hw]() API
    98c5012c11a1 clk: ti: Update component clocks to use ti_dt_clk_name()
    1c4253252c7f clk: ti: Update pll and clockdomain clocks to use ti_dt_clk_name()
    00c67e0aa7e4 clk: ti: Add ti_dt_clk_name() helper to use clock-output-names
    de33b367f80d clk: keystone: pll: fix a couple NULL vs IS_ERR() checks
    c07a0e2e93b6 spi: nxp-fspi: use the correct ioremap function
    d459cb424483 clk: linux/clk-provider.h: fix kernel-doc warnings and typos
    f28709097db4 clk: asm9260: use parent index to link the reference clock
    8d03f7c5800d clk: imx: imx8mq: correct error handling path
    c1bacea8a64b clk: imx: Select MXC_CLK for CLK_IMX8QXP
    a52c963d8d7b clk: qcom: gcc-sm8150: Fix gcc_sdcc2_apps_clk_src
    c6919a1576bc clk: qcom: gcc-sm8150: use ARRAY_SIZE instead of specifying num_parents
    355a12fa1c50 clk: qcom: mmcc-msm8998: Fix the SMMU GDSC
    ba7f9695d545 clk: qcom: mmcc-msm8998: Set bimc_smmu_gdsc always on
    97a671174433 clk: qcom: mmcc-msm8998: Don't check halt bit on some branch clks
    05eebcd4bc5b clk: qcom: mmcc-msm8998: Add hardware clockgating registers to some clks
    3181168e61f4 clk: qcom: clk-rcg2: Fix clock rate overflow for high parent frequencies
    80836b5859b7 regmap: debugfs: Fix a erroneous check after snprintf()
    9954a7f3808b ipvlan: properly track tx_errors
    e897dcbd5fbc net: add DEV_STATS_READ() helper
    98e8a5a370da ipv6: avoid atomic fragment on GSO packets
    dea8d9e571ee ACPI: sysfs: Fix create_pnp_modalias() and create_of_modalias()
    88be6453d7c9 tcp: fix cookie_init_timestamp() overflows
    76894f305c96 chtls: fix tp->rcv_tstamp initialization
    d104f6cb41e8 r8169: fix rare issue with broken rx after link-down on RTL8125
    fdd4a3c20ad5 r8169: use tp_to_dev instead of open code
    3f795fb35c2d thermal: core: prevent potential string overflow
    ae681e5eff0c PM / devfreq: rockchip-dfi: Make pmu regmap mandatory
    d7a220bf6bd6 can: dev: can_restart(): fix race condition between controller restart and netif_carrier_on()
    040f65c2821f can: dev: can_restart(): don't crash kernel if carrier is OK
    03d138b6b243 wifi: rtlwifi: fix EDCA limit set by BT coexistence
    d8f2e18d1dcf tcp_metrics: do not create an entry from tcp_init_metrics()
    73999f29ab19 tcp_metrics: properly set tp->snd_ssthresh in tcp_init_metrics()
    37308a39262b tcp_metrics: add missing barriers on delete
    d203f9921ac0 wifi: mt76: mt7603: rework/fix rx pse hang check
    3068527d17e8 wifi: rtw88: debug: Fix the NULL vs IS_ERR() bug for debugfs_create_file()
    d44f88b20d44 net: spider_net: Use size_add() in call to struct_size()
    9b8486fdad65 tipc: Use size_add() in calls to struct_size()
    5f5aabbdc27f mlxsw: Use size_mul() in call to struct_size()
    f927d4469632 gve: Use size_add() in call to struct_size()
    2b46db3bb73d overflow: Implement size_t saturating arithmetic helpers
    2f4b4eb58fc0 tcp: call tcp_try_undo_recovery when an RTOd TFO SYNACK is ACKed
    0ca9fc8200d4 udp: add missing WRITE_ONCE() around up->encap_rcv
    61e7961ff33d i40e: fix potential memory leaks in i40e_remove()
    47479ed7fcf7 genirq/matrix: Exclude managed interrupts in irq_matrix_allocated()
    bb166bdae1a7 pstore/platform: Add check for kstrdup
    66f9969141c0 x86/boot: Fix incorrect startup_gdt_descr.size
    ffa4cc86e959 futex: Don't include process MM in futex key on no-MMU
    f52587051637 x86/srso: Fix SBPB enablement for (possible) future fixed HW
    f49926b8d2a5 vfs: fix readahead(2) on block devices
    9fe0f6b5720e sched/uclamp: Ignore (util == 0) optimization in feec() when p_util_max = 0
    bdb7de7ed5ba iov_iter, x86: Be consistent about the __user tag on copy_mc_to_user()

(From OE-Core rev: 8f2c31ddd3b93f3f3e4eee5f3e97c84167f54dc4)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-12-12 04:20:34 -10:00
Bruce Ashfield
75cd31f6d3 linux-yocto/5.10: update to v5.10.200
Updating  to the latest korg -stable release that comprises
the following commits:

    3e55583405ac Linux 5.10.200
    a5feaf765935 ALSA: hda: intel-dsp-config: Fix JSL Chromebook quirk detection
    9109649559f9 tty: 8250: Add support for Intashield IS-100
    73bcb4d44988 tty: 8250: Add support for Brainboxes UP cards
    119f38e8ca16 tty: 8250: Add support for additional Brainboxes UC cards
    a8bf6f62187f tty: 8250: Remove UC-257 and UC-431
    e705aee2a657 usb: raw-gadget: properly handle interrupted requests
    8e0324f2cbb7 usb: storage: set 1.50 as the lower bcdDevice for older "Super Top" compatibility
    747b8f877998 PCI: Prevent xHCI driver from claiming AMD VanGogh USB3 DRD device
    deddf60c271f can: isotp: isotp_sendmsg(): fix TX state detection and wait behavior
    8716c28f695c can: isotp: isotp_bind(): do not validate unused address information
    e4c4e0e1b29c can: isotp: add local echo tx processing and tx without FC
    569c95b7ece0 can: isotp: handle wait_event_interruptible() return values
    de3c02383aa6 can: isotp: check CAN address family in isotp_bind()
    0386f3704789 can: isotp: isotp_bind(): return -EINVAL on incorrect CAN ID formatting
    93b1e3f3a263 can: isotp: set max PDU size to 64 kByte
    7adbc048d84b can: isotp: Add error message if txqueuelen is too small
    57798a2cfe15 can: isotp: add symbolic error message to isotp_module_init()
    186ab5645199 can: isotp: change error format from decimal to symbolic error names
    b881ce6c7d10 powerpc/mm: Fix boot crash with FLATMEM
    1b285a1bfb0d net: chelsio: cxgb4: add an error code check in t4_load_phy_fw
    955a1105eec2 platform/mellanox: mlxbf-tmfifo: Fix a warning message
    268ec38b797b scsi: mpt3sas: Fix in error path
    abf9c7811836 fbdev: uvesafb: Call cn_del_callback() at the end of uvesafb_exit()
    ec45886637ee ASoC: rt5650: fix the wrong result of key button
    c683d8b6417c netfilter: nfnetlink_log: silence bogus compiler warning
    66cc633fc6e1 spi: npcm-fiu: Fix UMA reads when dummy.nbytes == 0
    6f9093b6f8f7 fbdev: atyfb: only use ioremap_uc() on i386 and ia64
    ead3c123a753 Input: synaptics-rmi4 - handle reset delay when using SMBus trsnsport
    fb8f253b9532 dmaengine: ste_dma40: Fix PM disable depth imbalance in d40_probe
    e619b38a873f irqchip/stm32-exti: add missing DT IRQ flag translation
    d151fb801957 net: sched: cls_u32: Fix allocation size in u32_init()
    9ade01b2949b x86: Fix .brk attribute in linker script
    3fdd5b2bb09f rpmsg: Fix possible refcount leak in rpmsg_register_device_override()
    41c13a571de4 rpmsg: glink: Release driver_override
    5f1bb9f4d4b5 rpmsg: Fix calling device_lock() on non-initialized device
    5bbd3469a4b6 rpmsg: Fix kfree() of static memory on setting driver_override
    d0208fb38f43 rpmsg: Constify local variable in field store macro
    da369d3996cc driver: platform: Add helper for safer setting of driver_override
    4a20f5ea62db objtool/x86: add missing embedded_insn check
    6b977a7323f7 ext4: avoid overlapping preallocations due to overflow
    58fe961c606c ext4: fix BUG in ext4_mb_new_inode_pa() due to overflow
    c0db17e55ff6 ext4: add two helper functions extent_logical_end() and pa_logical_end()
    c761d34a7ec0 x86/mm: Fix RESERVE_BRK() for older binutils
    01a5e17e3ef3 x86/mm: Simplify RESERVE_BRK()
    571ce7d944cd f2fs: fix to do sanity check on inode type during garbage collection
    d1c37e849f37 smbdirect: missing rc checks while waiting for rdma events
    b2e62728b106 kobject: Fix slab-out-of-bounds in fill_kobj_path()
    b9b197f65904 x86/i8259: Skip probing when ACPI/MADT advertises PCAT compatibility
    62184eb77821 iio: adc: xilinx-xadc: Don't clobber preset voltage/temperature thresholds
    e96eb8853f33 iio: adc: xilinx: use more devres helpers and remove remove()
    0eb1198fe4d6 iio: adc: xilinx: use devm_krealloc() instead of kfree() + kcalloc()
    c4b496c9f772 iio: adc: xilinx: use helper variable for &pdev->dev
    d8928befffe5 clk: Sanitize possible_parent_show to Handle Return Value of of_clk_get_parent_name
    09ce0d85cc00 sparc32: fix a braino in fault handling in csum_and_copy_..._user()
    0258ca32b0ea perf/core: Fix potential NULL deref
    4e3c606afa25 nvmem: imx: correct nregs for i.MX6UL
    37ccf15ebeec nvmem: imx: correct nregs for i.MX6SLL
    7a1c29e93c25 nvmem: imx: correct nregs for i.MX6ULL
    d44166341f4b misc: fastrpc: Clean buffers on remote invocation failures
    866838eb8ee9 tracing/kprobes: Fix the description of variable length arguments
    ca764116b5c1 i2c: aspeed: Fix i2c bus hang in slave read
    18c5167d0460 i2c: stm32f7: Fix PEC handling in case of SMBUS transfers
    80416f6ba002 i2c: muxes: i2c-demux-pinctrl: Use of_get_i2c_adapter_by_node()
    9a9ead53e72f i2c: muxes: i2c-mux-gpmux: Use of_get_i2c_adapter_by_node()
    3cb69f1dbc86 i2c: muxes: i2c-mux-pinctrl: Use of_get_i2c_adapter_by_node()
    0c8587fec9d5 iio: exynos-adc: request second interupt only when touchscreen mode is used
    632c2199e52d kasan: print the original fault addr when access invalid shadow
    be9e6f51ba7b i40e: Fix wrong check for I40E_TXR_FLAGS_WB_ON_ITR
    fe65fc90e9f2 gtp: fix fragmentation needed check with gso
    3ae8b75fce05 gtp: uapi: fix GTPA_MAX
    4d0d5e54b590 tcp: fix wrong RTO timeout when received SACK reneging
    e0308c793943 r8152: Release firmware if we have an error in probe
    17b455747bc6 r8152: Cancel hw_phy_work if we have an error in probe
    7dc907d855df r8152: Run the unload routine if we have errors during probe
    704c25fc6abd r8152: Increase USB control msg timeout to 5000ms as per spec
    79e2610efc94 net: usb: smsc95xx: Fix uninit-value access in smsc95xx_read_reg
    d9864e589f0e net: ieee802154: adf7242: Fix some potential buffer overflow in adf7242_stats_show()
    634c72adc864 igc: Fix ambiguity in the ethtool advertising
    1e628189a21b neighbour: fix various data-races
    77c4f14f952e igb: Fix potential memory leak in igb_add_ethtool_nfc_entry
    1ac4f8e5553c treewide: Spelling fix in comment
    5eab293b1cbf r8169: fix the KCSAN reported data race in rtl_rx while reading desc->opts1
    13d357d9f226 r8169: fix the KCSAN reported data-race in rtl_tx while reading TxDescArray[entry].opts1
    31c31a78dccf drm/dp_mst: Fix NULL deref in get_mst_branch_device_by_guid_helper()
    957ec0823a5a mmc: renesas_sdhi: use custom mask for TMIO_MASK_ALL
    3ab81820bf92 mm/page_alloc: correct start page when guard page debug is enabled
    f2c0b571a5fc virtio-mmio: fix memory leak of vm_dev
    8b857a93d6be virtio_balloon: Fix endless deflation and inflation on arm64
    c88dd2aebf0c mcb-lpc: Reallocate memory region to avoid memory overlapping
    6976459c6439 mcb: Return actual parsed size when reading chameleon table
    09bcf9254838 selftests/ftrace: Add new test case which checks non unique symbol
    cb49f0e441ce Linux 5.10.199
    657a3ca8236c xfrm6: fix inet6_dev refcount underflow problem
    5d5680755bce Bluetooth: hci_sock: Correctly bounds check and pad HCI_MON_NEW_INDEX name
    b423509bc99c Bluetooth: hci_sock: fix slab oob read in create_monitor_event
    653c808023cd phy: mapphone-mdm6600: Fix pinctrl_pm handling for sleep pins
    e9c20d3078cc phy: mapphone-mdm6600: Fix runtime PM for remove
    f42634685ee5 phy: mapphone-mdm6600: Fix runtime disable on probe
    05e06fb6a642 ASoC: pxa: fix a memory leak in probe()
    7e29dadf265d gpio: vf610: set value before the direction to avoid a glitch
    6c3a72d4ae24 platform/x86: asus-wmi: Map 0x2a code, Ignore 0x2b and 0x2c events
    8fece0081b64 platform/x86: asus-wmi: Change ASUS_WMI_BRN_DOWN code from 0x20 to 0x2e
    3be044840e8e s390/pci: fix iommu bitmap allocation
    487a8e24643a perf: Disallow mis-matched inherited group reads
    550c70f72a1b USB: serial: option: add Fibocom to DELL custom modem FM101R-GL
    a39ea926ff6d USB: serial: option: add entry for Sierra EM9191 with new firmware
    3fb223086de9 USB: serial: option: add Telit LE910C4-WWX 0x1035 composition
    d78d3e0d8462 nvme-rdma: do not try to stop unallocated queues
    6238faecf88a nvme-pci: add BOGUS_NID for Intel 0a54 device
    9efa38fdca2c ACPI: irq: Fix incorrect return value in acpi_register_gsi()
    9df654268aec pNFS: Fix a hang in nfs4_evict_inode()
    c44e09a89ad2 Revert "pinctrl: avoid unsafe code pattern in find_pinctrl()"
    b26b0b8757c6 mmc: core: Capture correct oemid-bits for eMMC cards
    f4771efb0683 mmc: core: sdio: hold retuning if sdio in 1-bit mode
    2312fb7f3b20 mtd: physmap-core: Restore map_rom fallback
    3a141424f8fe mtd: spinand: micron: correct bitmask for ecc status
    7682dae0a607 mtd: rawnand: arasan: Ensure program page operations are successful
    875d17e4524b mtd: rawnand: marvell: Ensure program page operations are successful
    6224890ad0b4 mtd: rawnand: qcom: Unmap the right resource upon probe failure
    f707bc0a55b7 Bluetooth: hci_event: Fix using memcmp when comparing keys
    3b6aa631df0c net/mlx5: Handle fw tracer change ownership event based on MTRC
    ead8131372af platform/x86: touchscreen_dmi: Add info for the Positivo C4128B
    fd1271632769 HID: multitouch: Add required quirk for Synaptics 0xcd7e device
    4e71ae53f121 btrfs: fix some -Wmaybe-uninitialized warnings in ioctl.c
    661b4ce3b54a drm: panel-orientation-quirks: Add quirk for One Mix 2S
    5b7cae7c35dd ipv4/fib: send notify when delete source address routes
    21f85b026dfe sky2: Make sure there is at least one frag_addr available
    f06c3a50ef2b regulator/core: Revert "fix kobject release warning and memory leak in regulator_register()"
    461341412960 wifi: cfg80211: avoid leaking stack data into trace
    fde6d84daa0f wifi: mac80211: allow transmitting EAPOL frames with tainted key
    8de7f7058314 wifi: cfg80211: Fix 6GHz scan configuration
    ffb060b136dd Bluetooth: hci_core: Fix build warnings
    65f5da6df897 Bluetooth: Avoid redundant authentication
    115f2c88fde3 HID: holtek: fix slab-out-of-bounds Write in holtek_kbd_input_event
    a59636cdd84a tracing: relax trace_event_eval_update() execution with cond_resched()
    fb60e9c00042 ata: libata-eh: Fix compilation warning in ata_eh_link_report()
    22c3641bef9c gpio: timberdale: Fix potential deadlock on &tgpio->lock
    b4fcf1a0bbd0 overlayfs: set ctime when setting mtime and atime
    4b472c25a597 i2c: mux: Avoid potential false error message in i2c_mux_add_adapter
    840b912df518 btrfs: initialize start_slot in btrfs_log_prealloc_extents
    9801e2798b63 btrfs: return -EUCLEAN for delayed tree ref with a ref count not equals to 1
    d69131b48fea ARM: dts: ti: omap: Fix noisy serial with overrun-throttle-ms for mapphone
    9ed14f807f4f usb: typec: altmodes/displayport: Signal hpd low when exiting mode
    f25a13d318b8 usb: typec: altmodes/displayport: Notify drm subsys of hotplug events
    2ea6a14e8a55 drm/connector: Add support for out-of-band hotplug notification (v3)
    6e55f6a8a498 drm/connector: Add drm_connector_find_by_fwnode() function (v3)
    89b1868bab48 drm/connector: Add a fwnode pointer to drm_connector and register with ACPI (v2)
    86502f1b63aa drm/connector: Give connector sysfs devices there own device_type
    cedcbf61dfce drm/amd/display: Don't set dpms_off for seamless boot
    ebba01fcd562 drm/amd/display: only check available pipe to disable vbios mode.
    1ac717000403 serial: 8250_omap: Fix errors with no_console_suspend
    be300358b55d serial: 8250: omap: Fix imprecise external abort for omap_8250_pm()
    fc778e9d7995 xhci: track port suspend state correctly in unsuccessful resume cases
    1c034c6e224d xhci: decouple usb2 port resume and get_port_status request handling
    92088dd88627 xhci: clear usb2 resume related variables in one place.
    e7abc4b18d1a xhci: rename resume_done to resume_timestamp
    d44c9285ce35 xhci: move port specific items such as state completions to port structure
    e2b4de13e5f9 xhci: cleanup xhci_hub_control port references
    95b9f1e3927b usb: core: Track SuperSpeed Plus GenXxY
    d6316f592988 selftests/mm: fix awk usage in charge_reserved_hugetlb.sh and hugetlb_reparenting_test.sh that may cause error
    69f40ce372b9 selftests/vm: make charge_reserved_hugetlb.sh work with existing cgroup setting
    cb868d8857ae ACPI: resource: Skip IRQ override on ASUS ExpertBook B1402CBA
    7d0728e7ac04 ACPI: resource: Skip IRQ override on ASUS ExpertBook B1502CBA
    3a58c28bff79 ACPI: resource: Skip IRQ override on Asus Expertbook B2402CBA
    1b4659e283bc ACPI: resource: Add Asus ExpertBook B2502 to Asus quirks
    980dd4dfb9e8 ACPI: resource: Skip IRQ override on Asus Vivobook S5602ZA
    e0014184cd11 ACPI: resource: Add ASUS model S5402ZA to quirks
    7f26f0ac3854 ACPI: resource: Skip IRQ override on Asus Vivobook K3402ZA/K3502ZA
    ffcb69e923aa ACPI: resources: Add DMI-based legacy IRQ override quirk
    8a8918b51080 ACPI: Drop acpi_dev_irqresource_disabled()
    196896455bd1 resource: Add irqresource_disabled()
    faa9a9d07c06 thunderbolt: Workaround an IOMMU fault on certain systems with Intel Maple Ridge
    482fa2345f03 net: pktgen: Fix interface flags printing
    068e4ecea226 netfilter: nft_set_rbtree: .deactivate fails if element has expired
    9cef803e9ed0 neighbor: tracing: Move pin6 inside CONFIG_IPV6=y section
    36848adbdeba net/sched: sch_hfsc: upgrade 'rt' to 'sc' when it becomes a inner curve
    923e47c0b40a net: dsa: bcm_sf2: Fix possible memory leak in bcm_sf2_mdio_register()
    a53fc0641683 i40e: prevent crash on probe if hw registers have invalid values
    9b5661bda392 net: usb: smsc95xx: Fix an error code in smsc95xx_reset()
    250cd610f8c4 ipv4: fib: annotate races around nh->nh_saddr_genid and nh->nh_saddr
    1cef1a2d5c22 tun: prevent negative ifindex
    f828e15db3c7 tcp: tsq: relax tcp_small_queue_check() when rtx queue contains a single skb
    c39c31c5265b tcp: fix excessive TLP and RACK timeouts from HZ rounding
    805b38062e28 net: rfkill: gpio: prevent value glitch during probe
    8023c7e90007 net: ipv6: fix return value check in esp_remove_trailer
    2ca00d93f2b1 net: ipv4: fix return value check in esp_remove_trailer
    4ba4eec4f40d xfrm: interface: use DEV_STATS_INC()
    4d78b9dc79d5 xfrm: fix a data-race in xfrm_gen_index()
    8c6c3d0b9f2e qed: fix LL2 RX buffer allocation
    88c493297e40 drm/i915: Retry gtt fault when out of fence registers
    e985d78bdcf3 nvmet-tcp: Fix a possible UAF in queue intialization setup
    287401f92c57 netfilter: nft_payload: fix wrong mac header matching
    fe37e56ed47d tcp: check mptcp-level constraints for backlog coalescing
    6550cbe25de1 x86/sev: Check for user-space IOIO pointing to kernel space
    5bb9ba7dafbe x86/sev: Check IOBM for IOIO exceptions from user-space
    d78c5d8c23c3 x86/sev: Disable MMIO emulation from user mode
    459af3fb81e6 KVM: x86: Mask LVTPC when handling a PMI
    4cbac83549dd regmap: fix NULL deref on lookup
    c95fa5b20fe0 nfc: nci: fix possible NULL pointer dereference in send_acknowledge()
    2e64f4c732cb ice: reset first in crash dump kernels
    95d68fdc71ba ice: fix over-shifted variable
    a56c436b4335 Bluetooth: avoid memcmp() out of bounds warning
    7e83d15e0ca2 Bluetooth: hci_event: Fix coding style
    c6878fa1730b Bluetooth: vhci: Fix race when opening vhci device
    40a33a129d99 Bluetooth: Fix a refcnt underflow problem for hci_conn
    ab950561bca4 Bluetooth: Reject connection with the device which has same BD_ADDR
    0e025a4528f4 Bluetooth: hci_event: Ignore NULL link key
    241f23032433 usb: hub: Guard against accesses to uninitialized BOS descriptors
    aec24b096300 Documentation: sysctl: align cells in second content column
    f10690787d2c mm/memory_hotplug: rate limit page migration warnings
    bf97ea76eac5 lib/Kconfig.debug: do not enable DEBUG_PREEMPT by default
    c44b14469af0 dev_forward_skb: do not scrub skb mark within the same name space
    db9aafa19547 ravb: Fix use-after-free issue in ravb_tx_timeout_work()
    db375fa550c0 RDMA/srp: Fix srp_abort()
    f022576aa03c RDMA/srp: Set scmnd->result only when scmnd is not NULL
    489818719a88 arm64: armv8_deprecated: fix unused-function error
    da7603cedb7d arm64: armv8_deprecated: rework deprected instruction handling
    45a26d2a5394 arm64: armv8_deprecated: move aarch32 helper earlier
    0b6a7a9f6d94 arm64: armv8_deprecated move emulation functions
    2202536144bc arm64: armv8_deprecated: fold ops into insn_emulation
    5aa232345e4d arm64: rework EL0 MRS emulation
    15e964971ff7 arm64: factor insn read out of call_undef_hook()
    0edde7fd1c3b arm64: factor out EL1 SSBS emulation hook
    7a76df1ae1b3 arm64: split EL0/EL1 UNDEF handlers
    8a8d4cc303ef arm64: allow kprobes on EL0 handlers
    793ed958b62a arm64: rework BTI exception handling
    9113333d7c7c arm64: rework FPAC exception handling
    a8d7c8484ff7 arm64: consistently pass ESR_ELx to die()
    004bdab6edc7 arm64: die(): pass 'err' as long
    835cb1f78d74 arm64: report EL1 UNDEFs better
    6788b10620ca x86/alternatives: Disable KASAN in apply_alternatives()
    ba4b37721096 powerpc/64e: Fix wrong test in __ptep_test_and_clear_young()
    dadb86fba67f powerpc/8xx: Fix pte_access_permitted() for PAGE_NONE
    288a0593c798 dmaengine: mediatek: Fix deadlock caused by synchronize_irq()
    17c653d4913b usb: gadget: ncm: Handle decoding of multiple NTB's in unwrap call
    a906f2eb675c usb: gadget: udc-xilinx: replace memcpy with memcpy_toio
    7decb6515138 counter: microchip-tcb-capture: Fix the use of internal GCLK logic
    a177771bff63 pinctrl: avoid unsafe code pattern in find_pinctrl()
    2a4a82804024 cgroup: Remove duplicates in cgroup v1 tasks file
    da7ce52a2f6c tee: amdtee: fix use-after-free vulnerability in amdtee_close_session
    0ea0231dd1b2 Input: goodix - ensure int GPIO is in input for gpio_count == 1 && gpio_int_idx == 0 case
    39fb79407e59 Input: i8042 - add Fujitsu Lifebook E5411 to i8042 quirk table
    8d862a3dff7e Input: xpad - add PXN V900 support
    e8ea649fc35f Input: psmouse - fix fast_reconnect function for PS/2 mode
    cd2fbfd8b922 Input: powermate - fix use-after-free in powermate_config_complete
    27b6c809d393 ceph: fix type promotion bug on 32bit systems
    2b2bf63671cc ceph: fix incorrect revoked caps assert in ceph_fill_file_size()
    62f6d24f2e7d libceph: use kernel_connect()
    5850eb4df422 thunderbolt: Check that lane 1 is in CL0 before enabling lane bonding
    008ba1a5ada5 mcb: remove is_added flag from mcb_device struct
    ec93456c0289 x86/cpu: Fix AMD erratum #1485 on Zen4-based CPUs
    b608f4aedc0e iio: pressure: ms5611: ms5611_prom_is_valid false negative bug
    02388eaf3a15 iio: pressure: dps310: Adjust Timeout Settings
    2abd2cffa1b8 iio: pressure: bmp280: Fix NULL pointer exception
    aadbf612f8b1 usb: musb: Modify the "HWVers" register address
    bc929a0052c4 usb: musb: Get the musb_qh poniter after musb_giveback
    459eb7c6885f usb: dwc3: Soft reset phy on probe for host
    d71d0009f9e7 net: usb: dm9601: fix uninitialized variable use in dm9601_mdio_read
    4bf69ee6bb41 usb: xhci: xhci-ring: Use sysdev for mapping bounce buffer
    2d30692c6c94 dmaengine: stm32-mdma: abort resume if no ongoing transfer
    d346a2ef6b1e media: mtk-jpeg: Fix use after free bug due to uncanceled work
    014cab5329d1 net: release reference to inet6_dev pointer
    d491ac7aa12a net: change accept_ra_min_rtr_lft to affect all RA lifetimes
    354a96770d94 net: add sysctl accept_ra_min_rtr_lft
    1ceaf0d3a883 Revert "spi: spi-zynqmp-gqspi: Fix runtime PM imbalance in zynqmp_qspi_probe"
    649237ccf440 Revert "spi: zynqmp-gqspi: fix clock imbalance on probe failure"
    ce03f0234f9d workqueue: Override implicit ordered attribute in workqueue_apply_unbound_cpumask()
    a424807d860b nfc: nci: assert requested protocol is valid
    b5b03da30bd5 pinctrl: renesas: rzn1: Enable missing PINMUX
    6ac22ecdaad2 net: nfc: fix races in nfc_llcp_sock_get() and nfc_llcp_sock_get_sn()
    31ea13e3ff52 ixgbe: fix crash with empty VF macvlan list
    b24bd1277501 net: phy: mscc: macsec: reject PN update requests
    a848ae8b5ad7 net: macsec: indicate next pn update when offloading
    a629f0575c9c drm/vmwgfx: fix typo of sizeof argument
    d4ba78e5522e riscv, bpf: Sign-extend return values
    2a8ef2234b3a riscv, bpf: Factor out emit_call for kernel and bpf context
    1bf4da1818c2 xen-netback: use default TX queue size for vifs
    33548a6b3c7c mlxsw: fix mlxsw_sp2_nve_vxlan_learning_set() return type
    55e06850c789 ieee802154: ca8210: Fix a potential UAF in ca8210_probe
    ef7a0d51bfdb ravb: Fix up dma_free_coherent() call in ravb_remove()
    1673841da013 drm/msm/dpu: change _dpu_plane_calc_bw() to use u64 to avoid overflow
    6004ca7ad2d0 drm/msm/dsi: skip the wait for video mode done if not applicable
    dbbbeaef7786 drm/msm/dp: do not reinitialize phy unless retry during link training
    31e7e77b24f1 net: prevent address rewrite in kernel_bind()
    22c06bf1f99e quota: Fix slow quotaoff
    093af62c0235 HID: logitech-hidpp: Fix kernel crash on receiver USB disconnect
    cb4a8146e3a9 lib/test_meminit: fix off-by-one error in test_pages()
    06068e7f3ff8 perf/arm-cmn: Fix the unhandled overflow status of counter 4 to 7
    0ed2ad00f333 RDMA/cxgb4: Check skb value for failure to allocate
    26788a5b48d9 RDMA/srp: Do not call scsi_done() from srp_abort()
    81982125c352 RDMA/srp: Make struct scsi_cmnd and struct srp_request adjacent

(From OE-Core rev: 630963a1396afa8c1550ec971d50e444f5ccbcfd)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-12-12 04:20:34 -10:00
Bruce Ashfield
f5c3c374e8 linux-yocto/5.10: update to v5.10.198
Updating  to the latest korg -stable release that comprises
the following commits:

    a8d812240fdd Linux 5.10.198
    660627c71bc1 xen/events: replace evtchn_rwlock with RCU
    1e3d016a9506 mmc: renesas_sdhi: only reset SCC when its pointer is populated
    a7d86a77c33b netfilter: nftables: exthdr: fix 4-byte stack OOB write
    84f6b686df2d netfilter: nf_tables: fix kdoc warnings after gc rework
    c17446c00805 parisc: Restore __ldcw_align for PA-RISC 2.0 processors
    cfc333393ae6 RDMA/mlx5: Fix NULL string error
    0d520cdb0cd0 RDMA/siw: Fix connection failure handling
    5a4a6a47e074 RDMA/uverbs: Fix typo of sizeof argument
    626868282c36 RDMA/cma: Fix truncation compilation warning in make_cma_ports
    7de0e42444e9 RDMA/cma: Initialize ib_sa_multicast structure to 0 when join
    36953b4da78b gpio: pxa: disable pinctrl calls for MMP_GPIO
    6ad972e66870 gpio: aspeed: fix the GPIO number passed to pinctrl_gpio_set_config()
    d7d8f1a679ec IB/mlx4: Fix the size of a buffer in add_port_entries()
    204c2d485f86 of: dynamic: Fix potential memory leak in of_changeset_action()
    b74f12f98b7f RDMA/core: Require admin capabilities to set system parameters
    ccd87fe7a0f6 dm zoned: free dmz->ddev array in dmz_put_zoned_devices
    82d87c944ea8 cpupower: add Makefile dependencies for install targets
    492241613cf4 sctp: update hb timer immediately after users change hb_interval
    f87658493898 sctp: update transport state when processing a dupcook packet
    ff346b01eba5 tcp: fix delayed ACKs for MSS boundary condition
    677aaa261e7a tcp: fix quick-ack counting to count actual ACKs of new data
    6a24d0661fa3 tipc: fix a potential deadlock on &tx->lock
    b9f1568ba37f net: stmmac: dwmac-stm32: fix resume on STM32 MCU
    3a5142f01758 netfilter: nf_tables: nft_set_rbtree: fix spurious insertion failure
    0ba9348532bd netfilter: handle the connecting collision properly in nf_conntrack_proto_sctp
    b212f361a5d1 net: ethernet: ti: am65-cpsw: Fix error code in am65_cpsw_nuss_init_tx_chns()
    dba849cc9811 net: nfc: llcp: Add lock when modifying device list
    30bc4d7aebe3 net: usb: smsc75xx: Fix uninit-value access in __smsc75xx_read_reg
    d44346dda7d4 net: dsa: mv88e6xxx: Avoid EEPROM timeout when EEPROM is absent
    96b2e1090397 ipv4, ipv6: Fix handling of transhdrlen in __ip{,6}_append_data()
    2ea52a2fb8e8 net: fix possible store tearing in neigh_periodic_work()
    6e3d9e5caba8 modpost: add missing else to the "of" check
    225cd4f67bd4 NFSv4: Fix a nfs4_state_manager() race
    d8f2ba9ec358 ima: rework CONFIG_IMA dependency block
    77f82df960cb scsi: target: core: Fix deadlock due to recursive locking
    a9430129d8db ima: Finish deprecation of IMA_TRUSTED_KEYRING Kconfig
    725fd2080559 regmap: rbtree: Fix wrong register marked as in-cache when creating new node
    666cdc43df24 wifi: mt76: mt76x02: fix MT76x0 external LNA gain handling
    54a4faab2baa drivers/net: process the result of hdlc_open() and add call of hdlc_close() in uhdlc_close()
    93dd471d3a2f bpf: Fix tr dereferencing
    10a18c8bac7f wifi: mwifiex: Fix oob check condition in mwifiex_process_rx_packet
    8c15c1bcc5b5 wifi: iwlwifi: dbg_ini: fix structure packing
    a5f643ab1163 ubi: Refuse attaching if mtd's erasesize is 0
    33420a82067b arm64: Add Cortex-A520 CPU part definition
    81d03e251894 net: prevent rewrite of msg_name in sock_sendmsg()
    72fc02ebfc93 net: replace calls to sock->ops->connect() with kernel_connect()
    1aeff207e295 wifi: mwifiex: Fix tlv_buf_left calculation
    f6f25930fa34 qed/red_ll2: Fix undefined behavior bug in struct qed_ll2_info
    b9c4b3ca9016 scsi: zfcp: Fix a double put in zfcp_port_enqueue()
    04b6b67a3e77 Revert "PCI: qcom: Disable write access to read only registers for IP v2.3.3"
    c2cf152e8bb8 Revert "clk: imx: pll14xx: dynamically configure PLL for 393216000/361267200Hz"
    f94471c0cc31 block: fix use-after-free of q->q_usage_counter
    0d6987d4a34c rbd: take header_rwsem in rbd_dev_refresh() only when updating
    d3d170c5fc06 rbd: decouple parent info read-in from updating rbd_dev
    3ceb306f9b2d rbd: decouple header read-in from updating rbd_dev->header
    7c4f11d73b24 rbd: move rbd_dev_refresh() definition
    d0952ce316d1 drm/mediatek: Fix backport issue in mtk_drm_gem_prime_vmap()
    c33d75a57a81 ring-buffer: Fix bytes info in per_cpu buffer stats
    0ecde7dd766f ring-buffer: remove obsolete comment for free_buffer_page()
    2ad1a1d3d616 NFSv4: Fix a state manager thread deadlock regression
    ec4325e80633 NFS: rename nfs_client_kset to nfs_kset
    598539f38c72 NFS: Cleanup unused rpc_clnt variable
    19f3d5d13b75 spi: zynqmp-gqspi: fix clock imbalance on probe failure
    2cdec9c13f81 spi: spi-zynqmp-gqspi: Fix runtime PM imbalance in zynqmp_qspi_probe
    ae03dafc3761 fs: binfmt_elf_efpic: fix personality for ELF-FDPIC
    8ec1abb59a98 ata: libata-sata: increase PMP SRST timeout to 10s
    dc0bd0f2da5c ata: libata-core: Do not register PM operations for SAS ports
    531d9f6dbfd5 ata: libata-core: Fix port and device removal
    99d308c31923 ata: libata-core: Fix ata_port_request_pm() locking
    eaf449666221 net: thunderbolt: Fix TCPv6 GSO checksum calculation
    72595dbfcae3 bpf: Fix BTF_ID symbol generation collision in tools/
    6a80578bd441 bpf: Fix BTF_ID symbol generation collision
    cbbfdb4bab70 btrfs: properly report 0 avail for very full file systems
    ef47f25e98de ring-buffer: Update "shortest_full" in polling
    b7a0df4c0877 proc: nommu: /proc/<pid>/maps: release mmap read lock
    acc7fc82d0ad Revert "SUNRPC dont update timeout value on connection reset"
    e3b8c9e0fc3c i2c: i801: unregister tco_pdev in i801_probe() error path
    b664e9db8d2c ata: libata-scsi: ignore reserved bits for REPORT SUPPORTED OPERATION CODES
    25872c67de20 ALSA: hda: Disable power save for solving pop issue on Lenovo ThinkCentre M70q
    5a03b42ae1ed netfilter: nf_tables: disallow rule removal from chain binding
    7130a87ca323 nilfs2: fix potential use after free in nilfs_gccache_submit_read_data()
    e14afa4450cb serial: 8250_port: Check IRQ data before use
    6d5c8862932d Revert "tty: n_gsm: fix UAF in gsm_cleanup_mux"
    14443223e08c Smack:- Use overlay inode label in smack_inode_copy_up()
    297c51c63fe1 smack: Retrieve transmuting information in smack_inode_getsecurity()
    41de7a6b95df smack: Record transmuting in smk_transmuted
    831f18c735e2 nvme-pci: always return an ERR_PTR from nvme_pci_alloc_dev
    fb28f89d50c0 netfilter: nft_exthdr: Fix for unsafe packet data read
    e18216cd0ec7 netfilter: nft_exthdr: Search chunks in SCTP packets only
    152b8ac839c9 watchdog: iTCO_wdt: Set NO_REBOOT if the watchdog is not already running
    13b7d49f339a watchdog: iTCO_wdt: No need to stop the timer in probe
    0d599a3f57a5 nvme-pci: do not set the NUMA node of device if it has none
    97e148dcb97d nvme-pci: factor out a nvme_pci_alloc_dev helper
    71357c751fb2 nvme-pci: factor the iod mempool creation into a helper
    38f82cf86096 ACPI: Check StorageD3Enable _DSD property in ACPI code
    67025d565450 cgroup: Fix suspicious rcu_dereference_check() usage warning
    b2788f6d4924 sched/cpuacct: Optimize away RCU read lock
    82756d8a2394 sched/cpuacct: Fix charge percpu cpuusage
    f8e8e72c58c7 sched/cpuacct: Fix user/system in shown cpuacct.usage*
    ef3c728ca0d4 perf build: Define YYNOMEM as YYNOABORT for bison < 3.81
    da91481c5d2b fbdev/sh7760fb: Depend on FB=y
    ffc459a93065 ncsi: Propagate carrier gain/loss events to the NCSI controller
    8c2500228b8f powerpc/watchpoints: Disable preemption in thread_change_pc()
    f5bdbed0361c media: vb2: frame_vector.c: replace WARN_ONCE with a comment
    ebc91848062e bpf: Clarify error expectations from bpf_clone_redirect
    0118244848a5 spi: nxp-fspi: reset the FLSHxCR1 registers
    f6cf19c1b313 ata: libata-eh: do not clear ATA_PFLAG_EH_PENDING in ata_eh_reset()
    2afd8fcee0c4 scsi: pm80xx: Avoid leaking tags when processing OPC_INB_SET_CONTROLLER_CONFIG command
    0decc581e1dc scsi: pm80xx: Use phy-specific SAS address when sending PHY_START command
    f44e66447c4f platform/mellanox: mlxbf-bootctl: add NET dependency into Kconfig
    cee5151c5410 ring-buffer: Do not attempt to read past "commit"
    2956e33fb4f8 selftests: fix dependency checker script
    9ccce21bd77b ring-buffer: Avoid softlockup in ring_buffer_resize()
    5dfcb92905b3 selftests/ftrace: Correctly enable event in instance-event.tc
    38ef4b2e4dca scsi: qedf: Add synchronization between I/O completions and abort
    2081b2a15b08 parisc: irq: Make irq_stack_union static to avoid sparse warning
    f47efdffdc13 parisc: drivers: Fix sparse warning
    d967a9472bf9 parisc: iosapic.c: Fix sparse warnings
    7b2440c2d64f parisc: sba: Fix compile warning wrt list of SBA devices
    c79300599923 dma-debug: don't call __dma_entry_alloc_check_leak() under free_entries_lock
    061f40275338 i2c: npcm7xx: Fix callback completion ordering
    dd81e91b2efc gpio: pmic-eic-sprd: Add can_sleep flag for PMIC EIC chip
    b317f69871ef xtensa: boot/lib: fix function prototypes
    be17dfdcc87a xtensa: boot: don't add include-dirs
    a10bfbe599b7 xtensa: iss/network: make functions static
    608af5511a8f xtensa: add default definition for XCHAL_HAVE_DIV32
    3696261859c5 power: supply: ucs1002: fix error code in ucs1002_get_property()
    eff55feb8b87 bus: ti-sysc: Fix SYSC_QUIRK_SWSUP_SIDLE_ACT handling for uart wake-up
    1bc88671960f ARM: dts: ti: omap: motorola-mapphone: Fix abe_clkctrl warning on boot
    a2a592adad7c ARM: dts: Unify pwm-omap-dmtimer node names
    2d9c9589da6a ARM: dts: am335x: Guardian: Update beeper label
    ef83f35ced40 ARM: dts: motorola-mapphone: Drop second ti,wlcore compatible value
    12a28c379ef8 ARM: dts: motorola-mapphone: Add 1.2GHz OPP
    afdc40a74ae3 ARM: dts: motorola-mapphone: Configure lower temperature passive cooling
    093a9a02d4d5 ARM: dts: ti: omap: Fix bandgap thermal cells addressing for omap3/4
    28e5423ad8fb ARM: dts: omap: correct indentation
    50789f37239c clk: tegra: fix error return case for recalc_rate
    0fd5839e2504 bus: ti-sysc: Fix missing AM35xx SoC matching
    1d4d846e2a49 bus: ti-sysc: Use fsleep() instead of usleep_range() in sysc_reset()
    a8ee76d72737 MIPS: Alchemy: only build mmc support helpers if au1xmmc is enabled
    d678c078f302 btrfs: reset destination buffer when read_extent_buffer() gets invalid range
    a1f85bc9bc69 ata: ahci: Add Elkhart Lake AHCI controller
    51d190cc98de ata: ahci: Rename board_ahci_mobile
    8061c399c83b ata: ahci: Add support for AMD A85 FCH (Hudson D4)
    0156cce71f8e ata: libata: Rename link flag ATA_LFLAG_NO_DB_DELAY
    9f0d34663025 netfilter: nft_exthdr: Fix non-linear header modification
    ed60b8014c9a netfilter: exthdr: add support for tcp option removal
    10670abe1115 netfilter: nft_exthdr: break evaluation if setting TCP option fails
    45b3eb6afcff netfilter: nf_tables: add and use nft_thoff helper
    39546418b84d netfilter: nf_tables: add and use nft_sk helper
    af844ba799b5 netfilter: nft_exthdr: Support SCTP chunks
    858ca1921639 netfilter: use actual socket sk for REJECT action
    2d9ea86f3c4a media: venus: hfi_venus: Write to VIDC_CTRL_INIT after unmasking interrupts
    c4cc1f690f19 media: venus: hfi: Add a 6xx boot logic
    4596fece3c24 media: venus: core: Add differentiator IS_V6(core)
    3ed9d3dc244b media: venus: hfi: Define additional 6xx registers
    ebccb53232cc media: venus: hfi,pm,firmware: Convert to block relative addressing
    4ccdeb68da0c media: venus: core: Add io base variables for each block
    6d3745bbc334 mmc: renesas_sdhi: register irqs before registering controller
    995ef65e4b5c mmc: tmio: support custom irq masks
    97eb045386de mmc: renesas_sdhi: populate SCC pointer at the proper place
    7217ceb61a47 mmc: renesas_sdhi: probe into TMIO after SCC parameters have been setup
    e492f8125133 Input: i8042 - add quirk for TUXEDO Gemini 17 Gen1/Clevo PD70PN
    677bff659fd3 Input: i8042 - rename i8042-x86ia64io.h to i8042-acpipnpio.h
    3fac8ce48fa9 netfilter: nf_tables: double hook unregistration in netns path
    e51f30826bc5 netfilter: nf_tables: unregister flowtable hooks on netns exit
    5e95c88e9061 i2c: mux: demux-pinctrl: check the return value of devm_kstrdup()
    0a78bcc2d526 gpio: tb10x: Fix an error handling path in tb10x_gpio_probe()
    f515112e8337 net: rds: Fix possible NULL-pointer dereference
    466e88548e19 bnxt_en: Flush XDP for bnxt_poll_nitroa0()'s NAPI
    78106529b390 locking/seqlock: Do the lockdep annotation before locking in do_write_seqcount_begin_nested()
    a8dd21118b0f seqlock: Prefix internal seqcount_t-only macros with a "do_"
    ac01a0dd7905 seqlock: Rename __seqprop() users
    a8460ee6c80b seqlock: avoid -Wshadow warnings
    f1893feb20ea netfilter: ipset: Fix race between IPSET_CMD_CREATE and IPSET_CMD_SWAP
    b44dd92e2afd team: fix null-ptr-deref when team device type is changed
    04cc361f029c net: bridge: use DEV_STATS_INC()
    1671dc1b25e5 net: hns3: add 5ms delay before clear firmware reset irq source
    309af4a39b8e net: hns3: only enable unicast promisc when mac table full
    ae806c74c063 x86/srso: Fix SBPB enablement for spec_rstack_overflow=off
    423ba1b3a5a7 x86/srso: Fix srso_show_state() side effect
    1ec40ef6f765 platform/x86: intel_scu_ipc: Fail IPC send if still busy
    4c5eaf6d8bb4 platform/x86: intel_scu_ipc: Don't override scu in intel_scu_ipc_dev_simple_command()
    441b61d742ef platform/x86: intel_scu_ipc: Check status upon timeout in ipc_wait_for_interrupt()
    c463898b6e72 platform/x86: intel_scu_ipc: Check status after timeout in busy_loop()
    60d73c62e3e4 dccp: fix dccp_v4_err()/dccp_v6_err() again
    09a1c790e1b9 powerpc/perf/hv-24x7: Update domain value check
    8689c9ace976 ipv4: fix null-deref in ipv4_link_failure
    47907ebeb77a i40e: Fix VF VLAN offloading when port VLAN is configured
    a91861446f1c ASoC: imx-audmix: Fix return error with devm_clk_get()
    c4ecedf980b0 selftests: tls: swap the TX and RX sockets in some tests
    78ef69b6e770 selftests/tls: Add {} to avoid static checker warning
    388c9d3eefae bpf: Avoid deadlock when using queue and stack maps from NMI
    6dc85d848c26 netfilter: nf_tables: disallow element removal on anonymous sets
    a45632f99713 ASoC: meson: spdifin: start hw on dai probe
    09c85f2d21ab netfilter: nf_tables: fix memleak when more than 255 elements expired
    4deaf1316b42 netfilter: nft_set_hash: try later when GC hits EAGAIN on iteration
    26d0e4d632f8 netfilter: nft_set_pipapo: stop GC iteration if GC transaction allocation fails
    b796c4e4bf29 netfilter: nft_set_rbtree: use read spinlock to avoid datapath contention
    c323ed65f66e netfilter: nft_set_rbtree: skip sync GC for new elements in this transaction
    09f2dda1e576 netfilter: nf_tables: defer gc run if previous batch is still pending
    b71dcee2fc9c netfilter: nf_tables: use correct lock to protect gc_list
    23292bdfda5f netfilter: nf_tables: GC transaction race with abort path
    dc0b1f019554 netfilter: nf_tables: GC transaction race with netns dismantle
    4046f2b56e5a netfilter: nf_tables: fix GC transaction races with netns and netlink event exit path
    891ca5dfe3b7 netfilter: nf_tables: don't fail inserts if duplicate has expired
    911dd3cdf108 netfilter: nf_tables: remove busy mark and gc batch API
    77046cb00850 netfilter: nft_set_hash: mark set element as dead when deleting from packet path
    146c76866795 netfilter: nf_tables: adapt set backend to use GC transaction API
    448be0774882 netfilter: nf_tables: GC transaction API to avoid race with control plane
    b15ea4017af8 netfilter: nf_tables: don't skip expired elements during walk
    f8bf7706151a netfilter: nf_tables: integrate pipapo into commit protocol
    9b65bff30a61 tracing: Have event inject files inc the trace array ref count
    f8a86ab3c4a4 ext4: do not let fstrim block system suspend
    c502b09d9bef ext4: move setting of trimmed bit into ext4_try_to_trim_range()
    e78e9f08a24e ext4: replace the traditional ternary conditional operator with with max()/min()
    cbf6a0f65404 ext4: mark group as trimmed only if it was fully scanned
    5eaf4a1e06cf ext4: change s_last_trim_minblks type to unsigned long
    24a86315a353 ext4: scope ret locally in ext4_try_to_trim_range()
    da1895f731f3 ext4: add new helper interface ext4_try_to_trim_range()
    6f5fc957dfb7 ext4: remove the 'group' parameter of ext4_trim_extent
    69c966583022 ata: libahci: clear pending interrupt status
    11d15a115c90 ata: ahci: Drop pointless VPRINTK() calls and convert the remaining ones
    407bf1c140f0 tracing: Increase trace array ref count on enable and filter files
    3f7df02fa0d4 SUNRPC: Mark the cred for revalidation if the server rejects it
    25ae2b2fdb12 NFS/pNFS: Report EINVAL errors from connect() to the server
    26db22a6397b NFS: Use the correct commit info in nfs_join_page_group()

(From OE-Core rev: 2c379dc34820b80f3f4132437737f0e4d601e36a)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-12-12 04:20:34 -10:00
Tim Orling
93d2e547d1 vim: upgrade 9.0.2068 -> 9.0.2130
https://github.com/vim/vim/compare/v9.0.2068...v9.0.2130

CVE: CVE-2023-48231
CVE: CVE-2023-48232
CVE: CVE-2023-48233
CVE: CVE-2023-48234
CVE: CVE-2023-48235
CVE: CVE-2023-48236
CVE: CVE-2023-48237

(From OE-Core rev: 7a6aab8b28b57bbaa4d4cf436a8cae18f1a43eba)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 5978d565a9e700485fc563dfe2e3c0045dd74b59)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-12-12 04:20:34 -10:00
Narpat Mali
31507dd07a python3-cryptography: fix CVE-2023-49083
cryptography is a package designed to expose cryptographic primitives
and recipes to Python developers. Calling `load_pem_pkcs7_certificates`
or `load_der_pkcs7_certificates` could lead to a NULL-pointer dereference
and segfault. Exploitation of this vulnerability poses a serious risk of
Denial of Service (DoS) for any application attempting to deserialize a
PKCS7 blob/certificate. The consequences extend to potential disruptions
in system availability and stability. This vulnerability has been patched
in version 41.0.6.

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

(From OE-Core rev: 2d104f78cd13a10640bc284c7fc8358bf305279c)

Signed-off-by: Narpat Mali <narpat.mali@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-12-12 04:20:34 -10:00
Lee Chee Yang
82e76d21dc xwayland: fix CVE-2023-5367
(From OE-Core rev: 9c21b08c18414bb61abebcbbb8704946ea288a7b)

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-12-12 04:20:34 -10:00
Vivek Kumbhar
006b4b976c libsndfile: fix CVE-2022-33065 Signed integer overflow in src/mat4.c
(From OE-Core rev: 0dc086b37b1c333adf99c01ce4ecb717df48d6f9)

Signed-off-by: Vivek Kumbhar <vkumbhar@mvista.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-12-12 04:20:34 -10:00
Martin Jansa
d6385a54cb bitbake: runqueue: show number of currently running bitbake threads when pressure changes
* it might be a bit confusing as it shows number of threads before making
  the decision to start more tasks and also it can show only a few tasks
  running, but not because of pressure when there just aren't many tasks
  left or wait for their dependencies to be finished first

* example output:
  NOTE: Pressure status changed to CPU: True, IO: None, Mem: None (CPU: 297589.5/200000.0, IO: 5522.2/None, Mem: 779.2/None) - using 7/8 bitbake threads
  NOTE: Pressure status changed to CPU: False, IO: None, Mem: None (CPU: 196381.2/200000.0, IO: 2667.9/None, Mem: 556.2/None) - using 2/8 bitbake threads

(Bitbake rev: 42a1c9fe698a03feb34c5bba223c6e6e0350925b)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-12-11 06:13:49 -10:00
Martin Jansa
acd993f24c bitbake: runqueue: show more pressure data
* with latest bitbake I'm seeing very low number of bitbake tasks
  executed in parallel, probably due to pressure regulation
  show the values this is based on in the note

* also simplify a bit by counting the pressure and exceeds signs
  only once

(Bitbake rev: 1050145c3004861ebede4777fd4fbd89d0470716)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-12-11 06:13:49 -10:00
Chen Qi
98223b776a bitbake: runqueue.py: fix PSI check logic
The current calculation is not correct because if tdiff is less than
1.0, it's not taken into consideration when calculating the current
pressure.

Also, make it clear that the 1.0s is the psi accumulation cycle,
which might be changed in the future. We have this cycle because it
could largely avoid the 0 result issue, that is, if the interval
between checks are too small, the result might be 0. With this
accumulation logic, which has been there but let's make it clear,
this 0 result problem could be mitigated.

(Bitbake rev: 76889ff0a8938a3d77603d2af176aa9e264df839)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-12-11 06:13:49 -10:00
Richard Purdie
7057b7bb2b bitbake: runqueue: Add pressure change logging
It is currently hard to tell when bitbake is throttling task execution
due to system pressure changes. Add notes to the console output to make
this clearer, only generating output when the values change.

(Bitbake rev: b5f77e8159ad321f31999af8304f082a2c56b537)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-12-11 06:13:49 -10:00
Chen Qi
a76bc698c4 bitbake: runqueue: fix PSI check calculation
The current PSI check calculation does not take into consideration
the possibility of the time interval between last check and current
check being much larger than 1s. In fact, the current behavior does
not match what the manual says about BB_PRESSURE_MAX_XXX, even if
the value is set to upper limit, 1000000, we still get many blocks
on new task launch. The difference between 'total' should be divided
by the time interval if it's larger than 1s.

(Bitbake rev: 2b2997ab6bdda730e4b638f416311a73e0c42156)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-12-11 06:13:49 -10:00
Li Wang
3e73216a32 systemtap_git: fix used uninitialized error
bpf-translate.cxx: error: 'this_column_size' may be used uninitialized in this function [-Werror=maybe-uninitialized]
bpf-translate.cxx: error: 'num' may be used uninitialized in this function [-Werror=maybe-uninitialized]

(From OE-Core rev: 11da43b58e19583a9bc16044309610cfb2e86469)

Signed-off-by: Li Wang <li.wang@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-12-02 16:36:57 -10:00
Ninad Palsule
239bf770b6 kernel-fitImage: Strip path component from dtb
Machines that have added subdirectires to the KERNEL_DEVICETREE
recently, such as arm32 boards that were moved under subdirectories in
Linux 6.5, will have that subdirectory in the node name of the FIT. This
breaks existing systems that select a configuration in u-boot by it's
name.

Strip off the directory component from the device tree to preserve
compatibility.

(From OE-Core rev: 941ba1a132bafa9c9be855fb91fec96d8b06299f)

(From OE-Core rev: 9a42349a176ca4d7a1bfab3425a0821dbcbd9368)

Signed-off-by: Joel Stanley <joel@jms.id.au>
Signed-off-by: Ninad Palsule <ninad@linux.ibm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Frieder Schrempf <frieder.schrempf@kontron.de> # backport to kirkstone
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-12-02 16:36:57 -10:00
Archana Polampalli
d1b9e2acaa vim: Upgrade 9.0.2048 -> 9.0.2068
This includes CVE fix for CVE-2023-46246.
9198c1f2b (tag: v9.0.2068) patch 9.0.2068: [security] overflow in :history

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

(From OE-Core rev: 8c83a25494f99ebe63f59a267001e4a19d0a6b14)

Signed-off-by: Archana Polampalli <archana.polampalli@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 63bc72ccb63d2f8eb591d7cc481657a538f0fd42)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-12-02 16:36:56 -10:00
Steve Sakoman
51a2c26e29 vim: use upstream generated .po files
A previous commit attempted to fix reproducibility errors by forcing
regeneration of .po files. Unfortunately this triggered a different
type of reproducibility issue.

Work around this by adjusting the timestamps of the troublesome .po
files so they are not regenerated and we use the shipped upstream
versions of the files.

The shipped version of ru.cp1251.po doesn't seem to have been created
with the vim tooling and specifies CP1251 instead of cp1251, fix that.

(From OE-Core rev: 3c1e35562c31b8fa94ea10d18ddfdb4267566bf3)

Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 13d9551ba626f001c71bf908df16caf1d739cf13)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-12-02 16:36:56 -10:00
Richard Purdie
f46bb8ad10 vim: Improve locale handling
When making checkouts from git, the timestamps can vary and occasionally two files
can end up with the same stamp. This triggers make to regenerate ru.cp1251.po from
ru.po for example. If it isn't regenerated, the output isn't quite the same leading
to reproducibility issues (CP1251 vs cp1251).

Since we added all locales to buildtools tarball now, we can drop the locale
restrictions too. We need to generate a native binary for the sjis conversion
tool so also tweak that.

(From OE-Core rev: b2e62fb4d52b019728a4920553fa24f4626b881a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 042c1a501b1dae5ddb31307b461be02c3591c589)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-12-02 16:36:56 -10:00
Hitendra Prajapati
f007ad78dd grub: fix CVE-2023-4693
Upstream-Status: Backport from https://git.savannah.gnu.org/gitweb/?p=grub.git;a=commit;h=0ed2458cc4eff6d9a9199527e2a0b6d445802f94

(From OE-Core rev: 1bbbba098dba85ec1b875512d75f7eca9026e781)

Signed-off-by: Hitendra Prajapati <hprajapati@mvista.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-12-02 16:36:56 -10:00
Vivek Kumbhar
24121f9699 openssl: fix CVE-2023-5678 Generating excessively long X9.42 DH keys or checking excessively long X9.42 DH keys or parameters may be very slow
(From OE-Core rev: 6cd4c30a2811420159d72c2f0a9430f1f0294686)

Signed-off-by: Vivek Kumbhar <vkumbhar@mvista.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-12-02 16:36:56 -10:00
Archana Polampalli
f8a7dbd8fb gstreamer1.0-plugins-bad: fix CVE-2023-44429
AV1 codec parser buffer overflow

(From OE-Core rev: 76b97dc17349419059de739b2342853219c2e4ec)

Signed-off-by: Archana Polampalli <archana.polampalli@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-12-02 16:36:56 -10:00
Alexander Kanavin
8dc22248a8 sdk-manual: extensible.rst: remove instructions for using SDK functionality directly in a yocto build
This was not actually backported to kirkstone (and isn't going to be)
but the documentation for the feature erroneously did make its way
from master into kirkstone.

(From yocto-docs rev: 08fda7a5601393617b1ecfe89229459e14a90b1d)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-11-28 05:00:32 -10:00
Lee Chee Yang
b159ad2464 migration-guide: add release notes for 4.0.14
(From yocto-docs rev: c3b7de1ffdaf5abd3383af1159132457c4ca19a3)

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-11-28 05:00:32 -10:00
Michael Opdenacker
a2d67684cc manuals: update class references
Synchronizing with master whenever possible,
to make the branch easier to maintain.

(From yocto-docs rev: 825b1292ab08770b2d8cfdc1e11358a2790c1a1b)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-11-28 05:00:32 -10:00
Michael Opdenacker
fdd88b549f ref-manual: classes: explain cml1 class name
(From yocto-docs rev: aa2f61675e79e04207e91ab845892d581069fb74)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
CC: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-11-28 05:00:32 -10:00
Paul Eggleton
95795dff9b ref-manual: update SDK_NAME variable documentation
Update for changes in nanbield. Note that I am documenting what is set
by poky.conf here (since this is Yocto Project documentation), which is
slightly different from what is done in meta/conf/bitbake.conf.

(From yocto-docs rev: 4273dc298aba67fe07f19b52e5f8fa1d183d054c)

Signed-off-by: Paul Eggleton <bluelightning@bluelightning.org>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-11-28 05:00:32 -10:00
BELHADJ SALEM Talel
6c9f29507f overview-manual: concepts: Add Bitbake Tasks Map
Create a Map to detail how BitBake handles a recipe's tasks
and its compile/runtime dependencies along with detailed comments.

(From yocto-docs rev: 529c7bf6c434166f4d372166868d46f275eb5bea)

Signed-off-by: Talel BELHAJSALEM <bhstalel@gmail.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-11-28 05:00:32 -10:00
Michael Opdenacker
942c66a9fb ref-manual: variables: add RECIPE_MAINTAINER
(From yocto-docs rev: 97661c8583e3be2ee992d2c0a158554086f6d038)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-11-28 05:00:32 -10:00
Michael Opdenacker
12643571ec ref-manual: variables: mention new CDN for SSTATE_MIRRORS
(From yocto-docs rev: 57cf137a45070d45d4ae2518d6c45e226166bbee)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-11-28 05:00:32 -10:00
Michael Opdenacker
9536f32528 ref-manual: variables: document OEQA_REPRODUCIBLE_* variables
(From yocto-docs rev: 40285a94db71dabfbddc324ee71b46984dbdb6fd)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-11-28 05:00:32 -10:00
Peter Marko
e826f80436 goarch: Move Go architecture mapping to a library
Other spaces uses the Go architecture definitions as their own (for
example, container arches are defined to be Go arches). To make it
easier for other places to use this mapping, move the code that does the
translation of OpenEmbedded arches to Go arches to a library.

(From oe-core rev: 3e86f72fc2e1cc2e5ea4b4499722d736941167ce)

This commit together with meta-virtualization commit
115f6367f37095415f289fb6981cda9608ac72ff
broke meta-virtualization master used with
meta-lts-mixins kirkstone/go which is our primary
usecase for having kirkstone/go mixin layer

Manually crafted since cherry-pick had too many conflicts:
* different path to classes
* additional architecture loongarch64
* different way how to import library

(From OE-Core rev: 8726ae02d760270f9e7fe7ef5715d8f7553371ce)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Cc: Joshua Watt <JPEWhacker@gmail.com>
Cc: Bruce Ashfield <bruce.ashfield@gmail.com>
Cc: Jose Quaresma <jose.quaresma@foundries.io>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-11-28 05:00:32 -10:00
Chaitanya Vadrevu
f19d7f427e go: Fix issue in DNS resolver
This change adds a patch that is a partial backport of an upstream
commit[1].

It fixes a bug in go's DNS resolver that was causing a docker issue
where the first "docker pull" always fails after system boot if docker
daemon is started before networking is completely up.

[1] d52883f443

(From OE-Core rev: 8c8b01e84844a7e721c668d5ffbc7161e67f0862)

Signed-off-by: Chaitanya Vadrevu <chaitanya.vadrevu@ni.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-11-28 05:00:32 -10:00
Soumya Sambu
c8fa08b01c sudo: upgrade 1.9.13p3 -> 1.9.15p2
License-update: file removed upstream

Drop patch as issue fixed upstream.

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

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

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

1.9.14p3
 * Fixed a crash with Python 3.12 when the sudo Python plugin is
   unloaded.  This only affects "make check" for the Python plugin.
 * Adapted the sudo Python plugin test output to match Python 3.12.

1.9.14p2
 * Fixed a crash on Linux systems introduced in version 1.9.14 when
   running a command with a NULL argv[0] if "log_subcmds" or
   "intercept" is enabled in sudoers.
 * Fixed a problem with "stair-stepped" output when piping or
   redirecting the output of a sudo command that takes user input.
 * Fixed a bug introduced in sudo 1.9.14 that affects matching
   sudoers rules containing a Runas_Spec with an empty Runas user.
   These rules should only match when sudo's -g option is used but
   were matching even without the -g option.  GitHub issue #290.

1.9.14p1
 * Fixed an invalid free bug in sudo_logsrvd that was introduced
   in version 1.9.14 which could cause sudo_logsrvd to crash.
 * The sudoers plugin no longer tries to send the terminal name
   to the log server when no terminal is present.  This bug was
   introduced in version 1.9.14.

1.9.14
 * Fixed a bug where if the "intercept" or "log_subcmds" sudoers
   option was enabled and a sub-command was run where the first
   entry of the argument vector didn't match the command being run.
   This resulted in commands like "sudo su -" being killed due to
   the mismatch.  Bug #1050.
 * The sudoers plugin now canonicalizes command path names before
   matching (where possible).  This fixes a bug where sudo could
   execute the wrong path if there are multiple symbolic links with
   the same target and the same base name in sudoers that a user is
   allowed to run.  GitHub issue #228.
 * Improved command matching when a chroot is specified in sudoers.
   The sudoers plugin will now change the root directory id needed
   before performing command matching.  Previously, the root directory
   was simply prepended to the path that was being processed.
 * When NETGROUP_BASE is set in the ldap.conf file, sudo will now
   perform its own netgroup lookups of the host name instead of
   using the system innetgr(3) function.  This guarantees that user
   and host netgroup lookups are performed using  the same LDAP
   server (or servers).
 * Fixed a bug introduced in sudo 1.9.13 that resulted in a missing
   " ; " separator between environment variables and the command
   in log entries.
 * The visudo utility now displays a warning when it ignores a file
   in an include dir such as /etc/sudoers.d.
 * When running a command in a pseudo-terminal, sudo will initialize
   the terminal settings even if it is the background process.
   Previously, sudo only initialized the pseudo-terminal when running
   in the foreground.  This fixes an issue where a program that
   checks the window size would read the wrong value when sudo was
   running in the background.
 * Fixed a bug where only the first two digits of the TSID field
   being was logged.  Bug #1046.
 * The "use_pty" sudoers option is now enabled by default.  To
   restore the historic behavior where a command is run in the
   user's terminal, add "Defaults !use_pty" to the sudoers file.
   GitHub issue #258.
 * Sudo's "-b" option now works when the command is run in a
   pseudo-terminal.
 * When disabling core dumps, sudo now only modifies the soft limit
   and leaves the hard limit as-is.  This avoids problems on Linux
   when sudo does not have CAP_SYS_RESOURCE, which may be the case
   when run inside a container.  GitHub issue #42.
 * Sudo configuration file paths have been converted to colon-separated
   lists of paths.  This makes it possible to have configuration
   files on a read-only file system while still allowing for local
   modifications in a different (writable) directory.  The new
   --enable-adminconf configure option can be used to specify a
   directory that is searched for configuration files in preference
   to the sysconfdir (which is usually /etc).
 * The NETGROUP_QUERY ldap.conf parameter can now be disabled for
   LDAP servers that do not support querying the nisNetgroup object
   by its nisNetgroupTriple attribute, while still allowing sudo to
   query the LDAP server directly to determine netgroup membership.
 * Fixed a long-standing bug where a sudoers rule without an explicit
   runas list allowed the user to run a command as root and any
   group instead of just one of the groups that root is a member
   of.  For example, a rule such as "myuser ALL = ALL" would permit
   "sudo -u root -g othergroup" even if root did not belong to
   "othergroup".
 * Fixed a bug where a sudoers rule with an explicit runas list
   allowed a user to run sudo commands as themselves.  For example,
   a rule such as "myuser ALL = (root) ALL", "myuser" should only
   allow commands to be run as root (optionally using one of root's
   groups).  However, the rule also allowed the user to run
   "sudo -u myuser -g myuser command".
 * Fixed a bug that prevented the user from specifying a group on
   the command line via "sudo -g" if the rule's Runas_Spec contained
   a Runas_Alias.
 * Sudo now requires a C compiler that conforms to ISO C99 or higher
   to build.

(From OE-Core rev: 55f1437e2e7f11724ace489677ae214611244faf)

Signed-off-by: Soumya Sambu <soumya.sambu@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-11-28 05:00:32 -10:00
Peter Marko
ecba5ff495 go: ignore CVE-2023-45283 and CVE-2023-45284
These CVEs affect path handling on Windows.

(From OE-Core rev: 60f75fd6a671fcbfeefb634fe88f6faa17b446b7)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-11-28 05:00:32 -10:00
Lee Chee Yang
a7657ca5ff ghostscript: ignore GhostPCL CVE-2023-38560
issue in GhostPCL.
GhostPCL not part of this GhostScript recipe.

(From OE-Core rev: 7c4b4daeeca8fab257475eacb83c58b7e5dfee24)

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-11-28 05:00:32 -10:00
Deepthi Hemraj
c771630e99 binutils: Fix CVE-2022-48064
(From OE-Core rev: 88cbf5eb4a075e677b1f9e6444ec6378a5949978)

Signed-off-by: Deepthi Hemraj <Deepthi.Hemraj@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-11-28 05:00:32 -10:00
Deepthi Hemraj
39aa7af59b binutils: Fix CVE-2022-47007
(From OE-Core rev: 03e6ea59d82e613ba3b5d388fa87317cef982f2b)

Signed-off-by: Deepthi Hemraj <Deepthi.Hemraj@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-11-28 05:00:32 -10:00
Meenali Gupta
2629c5fe89 avahi: fix CVE-2023-38473
A vulnerability was found in Avahi. A reachable assertion
exists in the avahi_alternative_host_name() function.

(From OE-Core rev: 3a9b67f222d6e004a8b56eedca6ff869e9aba710)

Signed-off-by: Meenali Gupta <meenali.gupta@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-11-28 05:00:32 -10:00
Meenali Gupta
517e513209 avahi: fix CVE-2023-38472
A vulnerability was found in Avahi. A reachable assertion
exists in the avahi_rdata_parse() function.

(From OE-Core rev: 1b699ac1e8519cd488ee033919b9205283b7b465)

Signed-off-by: Meenali Gupta <meenali.gupta@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-11-28 05:00:32 -10:00
Meenali Gupta
973020ce12 avahi: fix CVE-2023-38469
A vulnerability was found in Avahi, where a reachable assertion
exists in avahi_dns_packet_append_record.

(From OE-Core rev: 8bd1980fd4175be3dd68987f8c5653409b76f544)

Signed-off-by: Meenali Gupta <meenali.gupta@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-11-28 05:00:32 -10:00
Meenali Gupta
f2c0b5cef2 avahi: fix CVE-2023-38470
A vulnerability was found in Avahi. A reachable assertion exists
in the avahi_escape_label() function.

(From OE-Core rev: bc211ae0e597d40f938f9a25bfc0fcbb228d90b6)

Signed-off-by: Meenali Gupta <meenali.gupta@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-11-28 05:00:32 -10:00
Meenali Gupta
1867c0de35 avahi: fix CVE-2023-38471
A vulnerability was found in Avahi. A reachable assertion exists
in the dbus_set_host_name function.

(From OE-Core rev: f4286c3a3070fd50e334a48f1b7c068d34747115)

Signed-off-by: Meenali Gupta <meenali.gupta@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-11-28 05:00:32 -10:00
Niranjan Pradhan
24646e55b2 qemu 6.2.0: Fix CVE-2023-1544
Upstream Repository: https://gitlab.com/qemu-project/qemu.git

Bug Details: https://nvd.nist.gov/vuln/detail/CVE-2023-1544
Type: Security Fix
CVE: CVE-2023-1544
Score: 6.3
Patch: https://gitlab.com/qemu-project/qemu/-/commit/85fc35afa93c

(From OE-Core rev: d019fcc99c542d49be6e1615a5c75f88f8ff5a52)

Signed-off-by: Niranjan Pradhan <nirpradh@cisco.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-11-28 05:00:32 -10:00
Yogita Urade
f9527fb2ac grub: fix CVE-2023-4692
An out-of-bounds write flaw was found in grub2's NTFS filesystem driver.
This issue may allow an attacker to present a specially crafted NTFS
filesystem image, leading to grub's heap metadata corruption. In some
circumstances, the attack may also corrupt the UEFI firmware heap metadata.
As a result, arbitrary code execution and secure boot protection bypass
may be achieved.

References:
https://nvd.nist.gov/vuln/detail/CVE-2023-4692
https://bugzilla.redhat.com/show_bug.cgi?id=2236613

(From OE-Core rev: c89835b37366dde6c74f8221fd5a295ecabf8225)

Signed-off-by: Yogita Urade <yogita.urade@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-11-28 05:00:32 -10:00
Vijay Anusuri
e447b4139f tiff: Backport fix for CVE-2023-41175
Upstream-Status: Backport [6e2dac5f90]

Reference: https://security-tracker.debian.org/tracker/CVE-2023-41175

(From OE-Core rev: dcdcd9dcab750927701deb78b798c8fedeec67e0)

Signed-off-by: Vijay Anusuri <vanusuri@mvista.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-11-28 05:00:32 -10:00
Narpat Mali
f60fb52055 python3-jinja2: Fixed ptest result output as per the standard
There was an extra space between the result and ':'.
After removing extra space, the ptest result will be:
result : testname -> result: testname

(From OE-Core rev: 4bb6373e5f4a1330a063d1afe855d6c24d5461e7)

Signed-off-by: Narpat Mali <narpat.mali@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-11-14 06:49:11 -10:00
Ross Burton
2e3c89e255 cve-check: don't warn if a patch is remote
We don't make do_cve_check depend on do_unpack because that would be a
waste of time 99% of the time.  The compromise here is that we can't
scan remote patches for issues, but this isn't a problem so downgrade
the warning to a note.

Also move the check for CVEs in the filename before the local file check
so that even with remote patches, we still check for CVE references in
the name.

(From OE-Core rev: b4e5e02ab5dcc6b32810aa88c371799777dd8821)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 0251cad677579f5b4dcc25fa2f8552c6040ac2cf)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-11-14 06:49:11 -10:00
Ross Burton
9200c6b310 cve-check: slightly more verbose warning when adding the same package twice
Occasionally the cve-check tool will warn that it is adding the same
package twice.  Knowing what this package is might be the first step
towards understanding where this message comes from.

(From OE-Core rev: 4b449d5dcbaebb0690a55cf45e3a735c2d8df101)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit c1179faec8583a8b7df192cf1cbf221f0e3001fc)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-11-14 06:49:11 -10:00
Ross Burton
ae28221a40 cve-check: sort the package list in the JSON report
The JSON report generated by the cve-check class is basically a huge
list of packages.  This list of packages is, however, unsorted.

To make things easier for people comparing the JSON, or more
specifically for git when archiving the JSON over time in a git
repository, we can sort the list by package name.

(From OE-Core rev: 1245649fd2725915154648a98584c908da07af18)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit e9861be0e5020830c2ecc24fd091f4f5b05da036)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-11-14 06:49:11 -10:00
Vijay Anusuri
4e227eaf1c xserver-xorg: Fix for CVE-2023-5367 and CVE-2023-5380
Upstream-Status: Backport
[541ab2ecd4
&
564ccf2ce9]

(From OE-Core rev: afc30fc07d806c3f0d2192454344995f19e68575)

Signed-off-by: Vijay Anusuri <vanusuri@mvista.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-11-14 06:49:11 -10:00
Soumya Sambu
9f0a8901d1 libwebp: Fix CVE-2023-4863
Heap buffer overflow in WebP in Google Chrome prior to 116.0.5845.187
allowed a remote attacker to perform an out of bounds memory write via
a crafted HTML page.

Removed CVE-2023-5129.patch as CVE-2023-5129 is duplicate of CVE-2023-4863.

CVE: CVE-2023-4863

References:
https://nvd.nist.gov/vuln/detail/CVE-2023-4863
https://security-tracker.debian.org/tracker/CVE-2023-4863
https://bugzilla.redhat.com/show_bug.cgi?id=2238431#c12

(From OE-Core rev: dbef9bf56fec551b6d1428fcefdadb500172940a)

Signed-off-by: Soumya Sambu <soumya.sambu@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-11-14 06:49:11 -10:00
Sanjana
f9a95adda5 binutils: Fix CVE-2022-47010
(From OE-Core rev: 3fd5701a861aa263ad1d912bfd44d4d5826d11a1)

Signed-off-by: Sanjana <Sanjana.Venkatesh@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-11-14 06:49:11 -10:00
Samantha Jalabert
a171408008 bitbake: Fix disk space monitoring on cephfs
Error occured while running bitbake on cephfs:

WARNING: The free inode of path is running low (-0.001K left)
ERROR: Immediately halt since the disk space monitor action is "HALT"!

(Bitbake rev: a7f6c3e67bd9170e93b2b94676e84018faf0df91)

Signed-off-by: Samantha Jalabert <samantha.jalabert@syslinbit.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-11-09 04:41:17 -10:00
Denys Dmytriyenko
8d57eddc82 bitbake: runqueue: convert deferral messages from bb.note to bb.debug
Using multiconfig to target baremetal pieces of the system and building
corresponding toolchains for them results in hundreds and hundreds of
"Deferring %s after %s" and "Deferred task %s now buildable".

To clean up the output and to reduce risk of missing important warnings,
convert these notice messages to debug messages.

(Bitbake rev: 3505d8d8c02b041946670ab6bc5751e54fe292ff)

Signed-off-by: Denys Dmytriyenko <denis@denix.org>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 64bc00a46d1aacc23fe7e8d9a46a126f3a4bc318)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-11-09 04:41:17 -10:00
Peter Kjellerstedt
2fc0a78176 bitbake: tinfoil: Do not fail when logging is disabled and full config is used
If Tinfoil is initialized with setup_logging = False and
Tinfoil.prepare() is called with config_only = False, then it fails
because self.localhandlers is only initialized when
setup_logging = True.

This is seen with, e.g., `bitbake-getvar -q -r busybox MACHINE`:

  Traceback (most recent call last):
    File ".../bitbake/bin/bitbake-getvar", line 41, in <module>
      tinfoil.prepare(quiet=2)
    File ".../bitbake/lib/bb/tinfoil.py", line 390, in prepare
      for handler in self.localhandlers:
  AttributeError: 'Tinfoil' object has no attribute 'localhandlers'.
  Did you mean: 'oldhandlers'?

(Bitbake rev: e452c6d7ba5bb4f78a1d2bfb742794efdf171dbc)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 616101ddb630e2c9975022068b52a87c4cf647f6)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-11-09 04:41:17 -10:00
Peter Kjellerstedt
0207478c7b bitbake: bitbake-getvar: Make --quiet work with --recipe
Initializing Tinfoil with setup_logging = False only has an effect when
recipe parsing is not needed. To make it work regardless of if --recipe
is used, manipulate the quiet parameter to Tinfoil.prepare() instead.

(Bitbake rev: 161ab0d5bab74732e12d490cee50e14295be0a9f)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 71ee69a20f21f3d37f4f060a7d8e87d9f1dc6aa1)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-11-09 04:41:17 -10:00
Steve Sakoman
d8d6d921fa build-appliance-image: Update to kirkstone head revision
(From OE-Core rev: 0eb8e67aa6833df0cde29833568a70e65c21d7e5)

Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-11-03 04:34:41 -10:00
Steve Sakoman
73e3b5481b poky.conf: bump version for 4.0.14
(From meta-yocto rev: 10e9c5a4c80fe4ee717b9ff63a08c58a9ac094e2)

Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-11-03 04:26:14 -10:00
Michael Opdenacker
df56d7c525 test-manual: reproducible-builds: stop mentioning LTO bug
Now that https://bugzilla.yoctoproject.org/show_bug.cgi?id=14481
is closed.

(From yocto-docs rev: 260b446a1a75d99399a3421cd8d6ba276f508f37)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-11-03 04:26:13 -10:00
Marta Rybczynska
5f21fa7de9 dev-manual: add security team processes
Add the initial version of the section on vulnerability reports,
operations of the Security Team with a
transcription of https://wiki.yoctoproject.org/wiki/Security_private_reporting

(From yocto-docs rev: 13927bd3e2f89f301331583b2c5752b963822976)

Signed-off-by: Marta Rybczynska <marta.rybczynska@syslinbit.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-11-03 04:26:13 -10:00
Michael Opdenacker
b971ffa75e manuals: correct "yocto-linux" by "linux-yocto"
(From yocto-docs rev: 689f682c175e19664c090852d5c649280ce23fa0)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-11-03 04:26:13 -10:00
Peter Marko
f966e16c3b glibc: ignore CVE-2023-4527
This vulnerability was introduced in 2.36, so 2.35 is not vulnerable.

(From OE-Core rev: bf60773c882483f4bfe49e89be8e2f85f78b212b)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-11-03 04:26:13 -10:00
Vijay Anusuri
83d53dc031 tiff: CVE patch correction for CVE-2023-3576
- The commit [881a070194]
fixes CVE-2023-3576
- Hence, renamed the CVE-2023-3618-1.patch to CVE-2023-3576.patch
- Reference: https://security-tracker.debian.org/tracker/CVE-2023-3576
             https://security-tracker.debian.org/tracker/CVE-2023-3618

(From OE-Core rev: 63daa00279c0c3a8650d6e08a68cc32a2b98d843)

Signed-off-by: Vijay Anusuri <vanusuri@mvista.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-11-03 04:26:13 -10:00
Peter Marko
f948c66f75 libxml2: Patch CVE-2023-45322
Backport patch for gitlab issue mentioned in NVD CVE report.
* https://gitlab.gnome.org/GNOME/libxml2/-/issues/583
Backport also one of 14 patches for older issue with similar errors
to have clean cherry-pick without patch fuzz.
* https://gitlab.gnome.org/GNOME/libxml2/-/issues/344

The CVE is disputed because the maintainer does not think that
errors after memory allocation failures are not critical enough
to warrant a CVE ID.
This patch will formally fix reported error case, trying to backport
another 13 patches and resolve conflicts would be probably overkill
due to disputed state.
This CVE was ignored on master branch (as diputed).

(From OE-Core rev: d29a89412b37995857269d617e16ada116f14270)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-11-03 04:26:13 -10:00
Fahad Arslan
b1ddd4178d linux-firmware: create separate packages
This is backport of commit dfb7d2c426 from poky master.

This is in continuation of earlier commit:
3ddddfc14f
linux-firmware: create separate package for cirrus and cnm firmwares

And creates separate sub packages for firmwares corresponding to following list of
licenses:
LICENSE.amphion_vpu
LICENCE.cw1200
LICENSE.ice_enhanced
LICENCE.mediatek
LICENCE.microchip
LICENCE.moxa
LICENSE.nxp_mc_firmware
LICENCE.OLPC
LICENCE.phanfw
LICENCE.qla2xxx
LICENCE.ti-keystone
LICENCE.wl1251
LICENCE.xc4000
LICENCE.xc5000
LICENCE.xc5000c

(From OE-Core rev: c110e5708465a6becc611acf97f166302a17ebdf)

(From OE-Core rev: 56503e3e80603de3b69acef2f6d32836bc9e5e5d)

Signed-off-by: Fahad Arslan <fahad.arslan@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-11-01 05:01:26 -10:00
Fahad Arslan
95b430be16 linux-firmware: create separate package for cirrus and cnm firmwares
This is cherry-pick of commit 3ddddfc14f from
poky master.

Some licenses only allow usage of corresponding firmwares when a specific
hardware is present. This requires split of such firmwares from linux-firmware
package to firmware specific sub package. As this split is based off of
licensing, it makes sense to group firmware blobs having the same license in the
same package. This commit is a first step in this direction, and creates
separate packages for cirrus and cnm firmware.

(From OE-Core rev: 53d9d8789efc701609a5a1e985287344c2209d62)

(From OE-Core rev: 9b556e63ba3e89e83ba6e2647656a1fa6def87a4)

Signed-off-by: Fahad Arslan <fahad.arslan@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>
2023-11-01 05:01:26 -10:00
Niko Mauno
e46e74cd90 package_rpm: Allow compression mode override
Commit 4a4d5f78a6 ("package_rpm: use zstd
instead of xz") changed the rpm package compressor from 'xz' to 'zstd'
which results in decompression failure with BusyBox-provided 'rpm2cpio'
applet and 'rpm' applet when given the '-i' (Install package) option:

  rpm2cpio: no gzip/bzip2/xz magic

Introduce a variable which makes it possible to use a different
compression mode, making it possible to override the default value for
example like

  RPMBUILD_COMPMODE = "${@'w6T%d.xzdio' % int(d.getVar('XZ_THREADS'))}"

to enable rpm decompression without including the full rpm package in
the resulting root filesystem.

(From OE-Core rev: a40d9258148e28cbee2168c93179cd4c1232fb62)

(From OE-Core rev: ad4ea9f225b0dd6396088cc70b34f886c5fa62b4)

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>
2023-11-01 05:01:26 -10:00
Peter Marko
f35f1aaf22 openssl: Upgrade 3.0.11 -> 3.0.12
https://github.com/openssl/openssl/blob/openssl-3.0/NEWS.md#major-changes-between-openssl-3011-and-openssl-3012-24-oct-2023

Major changes between OpenSSL 3.0.11 and OpenSSL 3.0.12 [24 Oct 2023]
* Mitigate incorrect resize handling for symmetric cipher keys and IVs. (CVE-2023-5363)

(From OE-Core rev: 5cf9f9426de71a35b06c7b4b9b092f22243676fb)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-11-01 05:01:25 -10:00
Archana Polampalli
715fc203c2 curl: fix CVE-2023-38546
A flaw was found in the Curl package. This flaw allows an attacker to insert
cookies into a running program using libcurl if the specific series of conditions are met.

(From OE-Core rev: 9c0c09b81594979aafd74511366316419d23046e)

Signed-off-by: Archana Polampalli <archana.polampalli@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-11-01 05:01:25 -10:00
Archana Polampalli
e9a7427077 curl: fix CVE-2023-38545
This flaw makes curl overflow a heap based buffer in the SOCKS5 proxy handshake.

(From OE-Core rev: 44971c945a615d07c91100f514377f7247796334)

Signed-off-by: Archana Polampalli <archana.polampalli@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-11-01 05:01:25 -10:00
Steve Sakoman
6f022adb5c cve-exclusion_5.10.inc: update for 5.10.197
(From OE-Core rev: effa2f7a7424e0f25eaf3680326164e859378332)

Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-11-01 05:01:25 -10:00
BELHADJ SALEM Talel
59077aa77b ref-manual: variables: add example for SYSROOT_DIRS variable
(From yocto-docs rev: 63fcc08bbb053262c3292c884ac91f389f1d9d97)

Signed-off-by: Talel BELHAJSALEM <bhstalel@gmail.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-10-25 04:45:51 -10:00
BELHADJ SALEM Talel
bdea205855 ref-manual: variables: add TOOLCHAIN_OPTIONS variable
(From yocto-docs rev: d7397a985fa085b4ca97aaebedfec5fcaf4e82de)

Signed-off-by: Talel BELHAJSALEM <bhstalel@gmail.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-10-25 04:45:51 -10:00
BELHADJ SALEM Talel
bf5e50a353 ref-manual: variables: add RECIPE_SYSROOT and RECIPE_SYSROOT_NATIVE
(From yocto-docs rev: e4c3fd543cb1b98255dcd3b40819ebcc7ef3a52a)

Signed-off-by: Talel BELHAJSALEM <bhstalel@gmail.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-10-25 04:45:51 -10:00
Michael Opdenacker
3fd3ed3b11 dev-manual: start.rst: remove obsolete reference
Remove a reference to a web resource which is clearly marked as obsolete.
Replace the unnecessarily verbose note by just links to the mentioned tools.

[YOCTO #15233]

(From yocto-docs rev: b2db385b859faa775f7c92072ba9bbeebb90e713)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Reported-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-10-25 04:45:51 -10:00
Michael Opdenacker
b5b18d155e brief-yoctoprojectqs: use new CDN mirror for sstate
Recommended instead of the Yocto Project mirror, because expected
to be faster. Make sure you only set one such mirror.

(From yocto-docs rev: 2c2dae48619f3e2a600fcdba7cd0dcb0bd313b75)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
CC: richard.purdie@linuxfoundation.org
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-10-25 04:45:51 -10:00
BELHADJ SALEM Talel
c3032cebe7 dev-manual: layers: Add notes about layer.conf
As discussed before with Richard Purdie, the code supports this but the documentation does not.
Developers in general will not notice this or focus on it because they do not mess with the
layer.conf template file, but in my opinion I think more details can help.

(From yocto-docs rev: c4b94c24ff7e1b1609f9c7f0aebd24fd04d00ae9)

Signed-off-by: Talel BELHAJSALEM <bhstalel@gmail.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-10-25 04:45:51 -10:00
Quentin Schulz
955796ad7e ref-manual: variables: provide no-match example for COMPATIBLE_MACHINE
COMPATIBLE_MACHINE is used to forbid the use of a recipe or its packages
for a specific set of machines.

In some cases, it may make more sense to have the logic inverted and
have the recipe always forbidden except for hand-picked machines. Such
could be the case for pieces of software that only support some
architectures. In that scenario, it is sometimes a bit easier on the eye
and for maintenance to use the OVERRIDES mechanism but for that, a
default should be set.

COMPATIBLE_MACHINE:aarch64 = "^(aarch64)$"
COMPATIBLE_MACHINE:mips64 = "^(mips64)$"

wouldn't do much because if COMPATIBLE_MACHINE isn't set, the recipe is
assumed compatible and therefore, if no default is provided we enter
that case.

Hence, we need to add

COMPATIBLE_MACHINE = "^$"

as default so that it only matches the empty string, which isn't
possible for MACHINEOVERRIDES.

Cc: Quentin Schulz <foss+yocto@0leil.net>
(From yocto-docs rev: d66b53eebe5b2320ce12926b309e48c9e32523f3)

Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-10-25 04:45:51 -10:00
Robert P. J. Day
650980791e profile-manual: aesthetic cleanups
Various aesthetic cleanups of section 1 of that manual, including:

  * replace 'HOWTO' with manual
  * add more examples of sdk-related images
  * font fixes

(From yocto-docs rev: 3f271b53f2103c3a7eb76ab17f0c945512493471)

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-10-25 04:45:51 -10:00
BELHADJ SALEM Talel
0f23056836 ref-manual: Fix PACKAGECONFIG term and add an example
PACKAGECONFIG's first and second flag value will be added to PACKAGECONFIG_CONFARGS
and then it will be added to the appropriate variable (EXTRA_OECMAKE, or ...)
So we need to only mention PACKAGECONFIG_CONFARGS and it will lead to other variables.

I added a custom example that can help understanding very well PACKAGECONFIG.

(From yocto-docs rev: 94eb37ef56cbb19b5b6e28bef522a7288a1a61f9)

Signed-off-by: Talel BELHAJSALEM <bhstalel@gmail.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-10-25 04:45:51 -10:00
Paul Eggleton
6fd2902f05 dev/ref-manual: Document INIT_MANAGER
The INIT_MANAGER variable was added in 3.0 but it seems we didn't get
around to documenting it yet. I have added a variable glossary entry and
made the basic adjustment of the "Using systemd Exclusively" section in
the dev manual, however I think the latter section still needs work.

(From yocto-docs rev: a84adfaeda5a790275d020fc77d721e8560a5728)

Signed-off-by: Paul Eggleton <bluelightning@bluelightning.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-10-25 04:45:51 -10:00
Robert P. J. Day
720324bd18 dev-manual: new-recipe.rst: add missing parenthesis to "Patching Code" section
Add missing parenthesis, and another example of a compressed patch filename.

(From yocto-docs rev: febc0c6b7b5843c70ed01f9b2bda71c02091eae6)

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-10-25 04:45:51 -10:00
Michael Opdenacker
6a3b428c7c bsp-guide: bsp: skip Intel machines no longer supported in Poky
(From yocto-docs rev: ab6a260de80e8a73079e1ac5430a3688be025d5d)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Reported-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-10-25 04:45:51 -10:00
Michael Opdenacker
c969a2456c sdk-manual: appendix-obtain: improve and update descriptions
- Improve text formatting
- Stop mentioning all possible values
- Update examples
- Correct descriptions

(From yocto-docs rev: d44cd995e4abc1bed57a7edbe27fdfd642768d4f)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-10-25 04:45:51 -10:00
Michael Opdenacker
734069e81b dev-manual: wic: update "wic list images" output
(From yocto-docs rev: 46fdf58f4a26de2989261eb451380905ae0f1a41)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-10-25 04:45:51 -10:00
Michael Opdenacker
aaf748b95f manuals: update linux-yocto append examples
(From yocto-docs rev: b5d385f20d22566e12a7938a9894b86429f1dcfb)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-10-25 04:45:51 -10:00
Arne Schwerdt
811cf0320c ref-manual: Warn about COMPATIBLE_MACHINE skipping native recipes
(From yocto-docs rev: 48e5fb383570dc6a067b14cc621e4cb347db900c)

Signed-off-by: Arne Schwerdt <arne.schwerdt@elbbits.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-10-25 04:45:51 -10:00
Siddharth Doshi
a6f551f516 vim: Upgrade 9.0.2009 -> 9.0.2048
This includes CVE fix for CVE-2023-5535.

(From OE-Core rev: 7681436190354b5c5b6c3a82b3094badd81113de)

Signed-off-by: Siddharth Doshi <sdoshi@mvista.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-10-25 04:45:50 -10:00
Siddharth Doshi
fb38c59633 libx11: Security Fix for CVE-2023-43785, CVE-2023-43786 and CVE-2023-43787
CVE's Fixed:
CVE-2023-43785: libX11: out-of-bounds memory access in _XkbReadKeySyms()
CVE-2023-43786: libX11: stack exhaustion from infinite recursion in PutSubImage()
CVE-2023-43787: libX11: integer overflow in XCreateImage() leading to a heap overflow

(From OE-Core rev: 8175d023c203d524d011d8947f90fbd02786c6db)

Signed-off-by: Siddharth Doshi <sdoshi@mvista.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-10-25 04:45:50 -10:00
Meenali Gupta
386672ff8c linux-firmware: upgrade 20230625 -> 20230804
License-Update: additional firmwares

upgrade include fix for CVE-2023-20569 CVE-2022-40982 CVE-2023-20593

Changelog:
      https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/

References:
      https://nvd.nist.gov/vuln/detail/CVE-2023-20569
      https://nvd.nist.gov/vuln/detail/CVE-2022-40982
      https://nvd.nist.gov/vuln/detail/CVE-2023-20593

(From OE-Core rev: d3f1448246c9711f4f23f2e12c664e0ba3ae3f02)

Signed-off-by: Meenali Gupta <meenali.gupta@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-10-25 04:45:50 -10:00
Peter Marko
e06868eff3 zlib: patch CVE-2023-45853
Backport commit merged to develop branch from PR linked in NVD report:
* https://nvd.nist.gov/vuln/detail/CVE-2023-45853
* https://github.com/madler/zlib/pull/843

(From OE-Core rev: 6e265e44febbb6fdf85c7926b9a64b731c98d814)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-10-25 04:45:50 -10:00
Vijay Anusuri
024fa046fc gawk: backport Debian patch to fix CVE-2023-4156
Upstream-Status: Backport
[https://git.launchpad.net/ubuntu/+source/gawk/tree/debian/patches?h=ubuntu/jammy-security
&
https://git.savannah.gnu.org/gitweb/?p=gawk.git;a=commitdiff;h=e709eb829448ce040087a3fc5481db6bfcaae212]

(From OE-Core rev: 0547b60d3485c2e3853e5a9e0a3e051882b283f3)

Signed-off-by: Vijay Anusuri <vanusuri@mvista.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-10-25 04:45:50 -10:00
Lee Chee Yang
7725c28871 qemu: ignore RHEL specific CVE-2023-2680
(From OE-Core rev: a1256b8fa415002eee78427cc292b866570ee267)

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-10-25 04:45:50 -10:00
Richard Purdie
b1c1d6d048 SECURITY.md: Add file
Add a SECURITY.md file with hints for security researchers and other
parties who might report potential security vulnerabilities.

(From meta-yocto rev: e3c11a51dc814fdd400998f50b17e572d453e1d2)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-10-24 05:28:15 -10:00
Marta Rybczynska
70f4bd1b3c bitbake: SECURITY.md: add file
Add a SECURITY.md file with hints for security researchers and other
parties who might report potential security vulnerabilities.

(Bitbake rev: 6c1ffa9091d0c53a100e8c8c15122d28642034bd)

Signed-off-by: Marta Rybczynska <marta.rybczynska@syslinbit.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-10-24 05:28:15 -10:00
Quentin Schulz
72ddfbc89a uboot-extlinux-config.bbclass: fix missed override syntax migration
uboot-extlinux-config allows to specify multiple "labels" (entries in a
menu, à-la grub) and each of them have their own values for some fields.
Each "base" variable, e.g. UBOOT_EXTLINUX_FDT can be overridden for each
label. This is done via the OVERRIDES mechanism based on the label name,
e.g. UBOOT_EXTLINUX_FDT:linux if linux is a label.

However, OVERRIDES doesn't contain the label globally because it's only
necessary in one task. Therefore, the OVERRIDES itself is modified
within the task. This means that the sigdata will not be told the
dependency on UBOOT_EXTLINUX_FDT:linux, because it cannot know about it.

For this reason, we need to explicitly specify which variables this task
depends on via vardeps varflag for the task.

This was done in the past, but we missed updating it during the override
syntax migration so the cache wouldn't get invalidated if someone
modifies UBOOT_EXTLINUX_FDT:linux from a configuration file or a
bbappend for example.

Let's fix this by migrating it to the new syntax.

(From OE-Core rev: 5570e49791b770271f176a4deeb5f6f1a028cb4a)

Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit b4dd9d873508128adbbf5ff6cf0a3df3d2ffbcf6)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-10-21 05:21:36 -10:00
Siddharth Doshi
36a2a0129a libxpm: upgrade to 3.5.17
This release fixes the following CVEs:

- CVE-2023-43788
- CVE-2023-43789

(From OE-Core rev: 1475a47239d77a368bcec69f12e5a63f8bebe14f)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Siddharth Doshi <sdoshi@mvista.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-10-21 05:21:36 -10:00
Siddharth Doshi
6da1e21e9a tiff: Security fix for CVE-2023-40745
Upstream-Status: Backport from [4fc16f649f]
CVE: CVE-2023-40745
(From OE-Core rev: f1aa2dd493c01e18ee0f534ff00523a1274f9066)

Signed-off-by: Siddharth Doshi <sdoshi@mvista.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-10-21 05:21:36 -10:00
Hitendra Prajapati
24e9fed15a libtiff: Add fix for tiffcrop CVE-2023-1916
Add fix for tiffcrop tool CVE-2023-1916 [1].

A flaw was found in tiffcrop, a program distributed by the libtiff
package. A specially crafted tiff file can lead to an out-of-bounds
read in the extractImageSection function in tools/tiffcrop.c, resulting
in a denial of service and limited information disclosure. This issue
affects libtiff versions 4.x.

The tool is no longer part of newer libtiff distributions, hence the
fix is rejected by upstream in [2]. The backport is still applicable
to older versions of libtiff, pick the CVE fix from ubuntu 20.04 [3].

[1] https://nvd.nist.gov/vuln/detail/CVE-2023-1916
[2] https://gitlab.com/libtiff/libtiff/-/merge_requests/535
[3] https://packages.ubuntu.com/source/focal-updates/tiff

(From OE-Core rev: 4d3e7f9a157e56a4a8ffb4d16fd6401a22851307)

Signed-off-by: Marek Vasut <marex@denx.de>

Upstream-Status: Backport from 848434a81c && https://gitlab.com/libtiff/libtiff/-/merge_requests/535
Signed-off-by: Hitendra Prajapati <hprajapati@mvista.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-10-21 05:21:36 -10:00
Armin Kuster
f550a63161 binutils: CVE-2022-48063
Source: Binutils
MR: 128800
Type: Security Fix
Disposition: Backport from https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=75393a2d54bcc40053e5262a3de9d70c5ebfbbfd
ChangeID: ab04e4ec62d054c90d94f82230adb2342ce1ee1b
Description:

Affects binutils < 2.40

(From OE-Core rev: 80a8d16a4038868469b4583404b6f73e12bae0f1)

Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-10-21 05:21:36 -10:00
Deepthi Hemraj
8391218990 binutils: Fix CVE-2022-47011
(From OE-Core rev: 5ff2e3c880705c2e920a4a61a5165810fadd7b84)

Signed-off-by: Deepthi Hemraj <Deepthi.Hemraj@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-10-21 05:21:35 -10:00
Deepthi Hemraj
bdcc4c9909 binutils: Fix CVE-2022-47008
(From OE-Core rev: 3a299d1610bf085790017569de090b0a41cf809b)

Signed-off-by: Deepthi Hemraj <Deepthi.Hemraj@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-10-21 05:21:35 -10:00
Chaitanya Vadrevu
4b721dc5c8 binutils: Mark CVE-2022-47696 as patched
(From OE-Core rev: bc480221d8091be460a1b8c4d023b9841e1df3c2)

Signed-off-by: Chaitanya Vadrevu <chaitanya.vadrevu@ni.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-10-21 05:21:35 -10:00
Chaitanya Vadrevu
455b08d0a9 binutils: Mark CVE-2022-47673 as patched
(From OE-Core rev: 96fe4b522a35f75a7d2b597d7e650dfc7ae82e27)

Signed-off-by: Chaitanya Vadrevu <chaitanya.vadrevu@ni.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-10-21 05:21:35 -10:00
Chaitanya Vadrevu
4537f28311 binutils: Fix CVE-2022-47695
Upstream-Status: Backport [https://sourceware.org/git/?p=binutils-gdb.git;a=commitdiff;h=3d3af4ba39e892b1c544d667ca241846bc3df386]

(From OE-Core rev: 4d4732c2e295fea610d266fa12bae3cc01f93dfa)

Signed-off-by: Chaitanya Vadrevu <chaitanya.vadrevu@ni.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-10-21 05:21:35 -10:00
Lee Chee Yang
47d212a57f migration-guides: add release notes for 4.0.13
(From yocto-docs rev: 9a03e60370bb4f10fa340c1e29cd743e5703653b)

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-10-18 05:13:24 -10:00
Joshua Watt
a721e0f85b overview: Add note about non-reproducibility side effects
Adds an additional note about some of the side effects that can occur if
recipes are not reproducible and hash equivalence is enabled.

(From yocto-docs rev: aaf3e97c78e235bf3042c79ecdcf0b7c1a68ca8f)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-10-18 05:13:24 -10:00
Trevor Gamblin
fbf88236e3 dev-manual: fix testimage usage instructions
The proper way to inherit the testimage class is now

IMAGE_CLASSES += "testimage"

so change lines with 'INHERIT += "testimage"' to match. This makes the
dev-manual consistent with the migration guide, which already specifies
that the old way causes an error.

(From yocto-docs rev: 40d82ec5f55c2353ef6f052e8460a6003fd903f4)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-10-18 05:13:24 -10:00
Michael Opdenacker
7b43af7ad4 ref-manual: releases.svg: Scarthgap is now version 5.0
According to https://wiki.yoctoproject.org/wiki/Releases

(From yocto-docs rev: 1ce820adce0d9ca4eb6457dc089d55a0cec8c266)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-10-18 05:13:24 -10:00
Khem Raj
f989613808 apt: add missing <cstdint> for uint16_t
(From OE-Core rev: 2572b32e729831762790ebfbf930a1140657faea)

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 8c46ded67df2d830c8bbf5f7b82d75db81d797e2)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-10-18 05:13:24 -10:00
Lee Chee Yang
3f174130d3 python3-urllib3: 1.26.15 -> 1.26.17
1.26.17 (2023-10-02)
Added the Cookie header to the list of headers to strip from requests
when redirecting to a different host. As before, different headers can
be set via Retry.remove_headers_on_redirect. (CVE-2023-43804)

1.26.16 (2023-05-23)
Fixed thread-safety issue where accessing a PoolManager with many
distinct origins would cause connection pools to be closed while
requests are in progress (#2954)

(From OE-Core rev: 27a1de55a46b7b313eb2a6370e9d779a7cd49154)

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-10-18 05:13:24 -10:00
Wang Mingyu
43e36aec34 python3-urllib3: upgrade 1.26.14 -> 1.26.15
Changelog:
==========
* Fix socket timeout value when "HTTPConnection" is reused ('#2645 <https://github.com/urllib3/urllib3/issues/2645>'__)
* Remove "!" character from the unreserved characters in IPv6 Zone ID parsing
  ('#2899 <https://github.com/urllib3/urllib3/issues/2899>'__)
* Fix IDNA handling of '\x80' byte ('#2901 <https://github.com/urllib3/urllib3/issues/2901>'__)

(From OE-Core rev: a335ccbcc9913e79bfe958c41690b7efa189ae93)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 8e062efbac29a81831c3060bcae601dc533d65dd)
Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-10-18 05:13:24 -10:00
Tim Orling
c0b54da555 python3-urllib3: upgrade 1.26.13 -> 1.26.14
https://github.com/urllib3/urllib3/blob/1.26.14/CHANGES.rst#12614-2023-01-11

1.26.14 (2023-01-11)
    Fixed parsing of port 0 (zero) returning None, instead of 0. (#2850)
    Removed deprecated getheaders() calls in contrib module.

(From OE-Core rev: aefb7af6b56269d45170beb99e6c878bf2448b78)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 55ab1bf20e6893088acb6460e9004dac8e205559)
Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-10-18 05:13:24 -10:00
Alexander Kanavin
cc936073a4 python3-urllib3: upgrade 1.26.12 -> 1.26.13
(From OE-Core rev: e8ae3247795d9333f6252bbec85a8e09c0c9cb48)

Signed-off-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 b18552f69a2eb8900981a10ba386dc4f862b29c3)
Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-10-18 05:13:24 -10:00
wangmy
36e8271ca0 python3-urllib3: upgrade 1.26.11 -> 1.26.12
(From OE-Core rev: 69a610b440b5e9e92931e43bd1c75230bb99f03e)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit cb05578af3ace6e3983f93e16d9ad1ac2a65fbe2)
Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-10-18 05:13:24 -10:00
Alexander Kanavin
49ebeb4b0d python3-urllib3: upgrade 1.26.10 -> 1.26.11
(From OE-Core rev: d83b4afc17839b6c11b540aabf056647ddacb587)

Signed-off-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 dbe07ff87e2cb1a8276e69a43c7cdbb9ae6e5493)
Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-10-18 05:13:24 -10:00
wangmy
73d81d2908 python3-urllib3: upgrade 1.26.9 -> 1.26.10
Add dependence python3-logging.

Changelog:
=========
* Removed support for Python 3.5
* Fixed an issue where a "ProxyError" recommending configuring the proxy as HTTP
  instead of HTTPS could appear even when an HTTPS proxy wasn't configured.

(From OE-Core rev: d9f200b931e48d957b721005f0140ef3fff55af3)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit a8a26a92dfe367472daf086a33a1b30ff6d17540)
Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-10-18 05:13:24 -10:00
Siddharth Doshi
9d5d4218ec vim: Upgrade 9.0.1894 -> 9.0.2009
This includes CVE fix for CVE-2023-5441.

(From OE-Core rev: 6c88137d4ab36054ac97cff0457d78ef503f383e)

Signed-off-by: Siddharth Doshi <sdoshi@mvista.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-10-18 05:13:24 -10:00
Yash Shinde
e77b551dbf binutils: Fix CVE-2022-45703
(From OE-Core rev: b2fa5b29462a16b238f8a6a40886b45aa483e963)

Signed-off-by: Yash Shinde <Yash.Shinde@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-10-18 05:13:24 -10:00
Yash Shinde
600b508c37 binutils: Fix CVE-2022-44840
(From OE-Core rev: 7a42ae332ebde565cc7c6fca568563f076bd26ba)

Signed-off-by: Yash Shinde <Yash.Shinde@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-10-18 05:13:24 -10:00
Hitendra Prajapati
2a2ea5ac75 xdg-utils: Fix CVE-2022-4055
Upstream-Status: Backport from f67c4d1f8b

(From OE-Core rev: fc4eecb6143b2b32a374388248b41c1d95b33968)

Signed-off-by: Hitendra Prajapati <hprajapati@mvista.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-10-18 05:13:24 -10:00
Hitendra Prajapati
de59761cbb libtiff: fix CVE-2022-40090 improved IFD-Loop handling
Upstream-Status: Backport from c7caec9a4d

(From OE-Core rev: 1effa609b5b527eb9afa5a2c529bdc0b317e4be0)

Signed-off-by: Hitendra Prajapati <hprajapati@mvista.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-10-18 05:13:24 -10:00
Etienne Cordonnier
3a3afebf41 bitbake: bitbake-worker/runqueue: Avoid unnecessary bytes object copies
declaring queue=b"" creates an object of types bytes().
bytes() is an immutable object, and therefore doing "self.queue = self.queue + r"
creates a new object containing "self.queue" concatenated with "r".

On my test setup, we are passing 180MB of data of "workerdata" to the bitbake-worker,
so those copies significantly slow down the initialization of the bitbake-worker.

Rather use bytearray() which a mutable type, and use extend() to avoid copies.
In my test setup, byterray.extend() is 10.000 times faster than copying the queue,
for a queue size of 180MB.

(Bitbake rev: 9993a89e5b97dda5f3657e5a7cc3a4fa94ff7111)

Signed-off-by: Etienne Cordonnier <ecordonnier@snap.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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>
2023-10-18 05:13:24 -10:00
Paulo Neves
222be3e3b9 bitbake: bitbake-getvar: Add a quiet command line argument
bitbake-getvar does not have a way to silence bitbake
server's logger and that makes the tool hard to use for
text processing. This is especially true when one wants to
get a bitbake value to be piped to some other utility and
instead we get uncontrolled logging messages or warnings
together with bitbake's variable value.

Example without quiet:
bitbake-getvar --value MACHINE
NOTE: Starting bitbake server...
qemux86-64

With quiet:
bitbake-getvar --value MACHINE --quiet
qemux86-64

(Bitbake rev: d677daa0770c66010fc4ed0af5bbbb94752ba590)

Signed-off-by: Paulo Neves <ptsneves@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit af354e975d0b4c26d0e91e3c82946b093bc11b45)
Signed-off-by: Markus Niebel <Markus.Niebel@ew.tq-group.com>
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>
2023-10-18 05:13:24 -10:00
Roland Hieber
ef5214f584 contributor-guide: style-guide: discourage using Pending patch status
Suggested-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Suggested-by: Alexander Kanavin <alex.kanavin@gmail.com>
(From yocto-docs rev: 49d9c8da92cdec6fe4cdc3a4432794b9d286a24f)

Signed-off-by: Roland Hieber <rhi@pengutronix.de>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-10-07 05:39:59 -10:00
Roland Hieber
bf72cdd748 contributor-guide: deprecate "Accepted" patch status
This is in accordance with the gatesgarth Release Notes:

  > In the ``Upstream-Status`` header convention for patches,
  > ``Accepted`` has | been replaced with ``Backport`` as these almost
  > always mean the same thing i.e. the patch is already upstream and
  > may need to be removed in a future recipe upgrade. If you are adding
  > these headers to your own patches then use Backport to indicate that
  > the patch has been sent upstream.

  <https://docs.yoctoproject.org/migration-guides/migration-3.2.html#miscellaneous-changes>

Suggested-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
(From yocto-docs rev: 9abc0d3100a07d93249f2fb376c42aab1bd9eb3a)

Signed-off-by: Roland Hieber <rhi@pengutronix.de>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-10-07 05:39:59 -10:00
Roland Hieber
fbbe0f86ba contributor-guide: discourage marking patches as Inappropriate
It was never really clear what all those reasons really meant, and every
patch submitted upstream liftens the maintenance on the Yocto side.
So remove the current list, and replace it with two reasons in which an
upstream submission likely won't benefit the upstream project.

Suggested-by: Alexander Kanavin <alex.kanavin@gmail.com>
(From yocto-docs rev: e0aabb7f3e7cd28a22224740eeb794a86ab34886)

Signed-off-by: Roland Hieber <rhi@pengutronix.de>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-10-07 05:39:59 -10:00
Roland Hieber
f06b171bee contributor-guide: recipe-style-guide: add section about CVE patches
This was previously included in the OpenEmbedded wiki page [1], but was
not ported along with the rest in commit 95c9a1e1e78bbfb82ade
(2023-09-12, Michael Opdenacker: "contributor-guide: recipe-style-guide:
add Upstream-Status").

  [1]: https://www.openembedded.org/index.php?title=Commit_Patch_Message_Guidelines&oldid=10935

Group the examples in their own sections (but name it differently from
any other section in this document so that sphinx doesn't generate a
warning about duplicate labels).

(From yocto-docs rev: 090049e08d7b6fc497a9ac5bc9fabbfa35327414)

Signed-off-by: Roland Hieber <rhi@pengutronix.de>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-10-07 05:39:59 -10:00
Roland Hieber
96d8a62454 contributor-guide: recipe-style-guide: add more patch tagging examples
(From yocto-docs rev: 038697bb1f7eae4214eeecd01f665da083df43fe)

Signed-off-by: Roland Hieber <rhi@pengutronix.de>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-10-07 05:39:59 -10:00
Michael Opdenacker
6b0501fef3 dev-manual: new-recipe.rst: replace reference to wiki
(From yocto-docs rev: c68a5b5c8f92dbde0adaa91c90e08714fa4ac2a8)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-10-07 05:39:59 -10:00
Michael Opdenacker
6191449343 bsp-guide: bsp.rst: replace reference to wiki
(From yocto-docs rev: b7d59090425b1fbabf8801a2359fd704bb51947a)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-10-07 05:39:59 -10:00
Richard Purdie
7ffedb40a1 contributor-guide/style-guide: Add a note about task idempotence
(From yocto-docs rev: 681e6a0a4305057f7b96f5bef804391d8aff812b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
CC: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-10-07 05:39:59 -10:00
Richard Purdie
1c8f2d8cad contributor-guide/style-guide: Refer to recipes, not packages
Whilst often referred to as packages by people we should use the more
accurate term in documentation, 'recipe' instead of 'packages'.

(From yocto-docs rev: d97795e5cfc41b57bffd1255bceaaea8494fd181)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-10-07 05:39:59 -10:00
Peter Marko
fcb2375417 glibc: Update to latest on stable 2.35 branch
Adresses CVE-2023-4911.

Single commit bump:
* c84018a05ae tunables: Terminate if end of input is reached (CVE-2023-4911)

(From OE-Core rev: bca43f95850d395f9dc56644fa1d12910cabb0c5)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-10-07 05:39:59 -10:00
Soumya Sambu
91c3fc996e glibc: Update to latest on stable 2.35 branch
Adresses CVE-2023-4813, CVE-2023-4806, CVE-2023-5156. Added these to CVE_CHECK_IGNORE
to avoid in cve-check reports since the recipe version did not change.

These are the complete list of changes this brings

* 73d4ce728a Document CVE-2023-4806 and CVE-2023-5156 in NEWS
* 17092c0311 Fix leak in getaddrinfo introduced by the fix for CVE-2023-4806 [BZ #30843]*
* 762a747fae io: Fix record locking contants for powerpc64 with __USE_FILE_OFFSET64
* e3ccb230a9 getaddrinfo: Fix use after free in getcanonname (CVE-2023-4806)
* 1b9087dcec gethosts: Return EAI_MEMORY on allocation failure
* f5f88f142a gaih_inet: Split result generation into its own function
* a6da106892 gaih_inet: split loopback lookup into its own function
* 8b70d97b08 gaih_inet: make gethosts into a function
* 9098deb96a gaih_inet: separate nss lookup loop into its own function
* ce64e72b7d gaih_inet: Split nscd lookup code into its own function.
* 4897bf7968 gaih_inet: Split simple gethostbyname into its own function
* 571c531b3b gaih_inet: make numeric lookup a separate routine
* 9aad91abe6 gaih_inet: Simplify service resolution
* d02808dee9 getaddrinfo: Fix leak with AI_ALL [BZ #28852]
* f366eaa608 gaih_inet: Simplify canon name resolution
* b126325fc7 nss: Sort tests and tests-container and put one test per line
* 6e867146ee Simplify allocations and fix merge and continue actions [BZ #28931]
* 59ee83b0c2 elf: Move l_init_called_next to old place of l_text_end in link map
* 34b07bdbdd elf: Remove unused l_text_end field from struct link_map
* 02a67e102f elf: Always call destructors in reverse constructor order (bug 30785)
* aeea91fd15 elf: Do not run constructors for proxy objects
* 1d828d5855 elf: Introduce to _dl_call_fini

(From OE-Core rev: be0bca7eaa08948b6c4eabe63e68a6e14d8dad3b)

Signed-off-by: Soumya Sambu <soumya.sambu@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-10-05 15:48:49 -10:00
Martin Jansa
c58c63d48f fontcache.bbclass: avoid native recipes depending on target fontconfig
* this caused liberation-font-native to depend on TUNE_PKGARCH target fontconfig
  because ${MLPREFIX}fontconfig-utils is added to RDEPENDS in anonymous python

* the dependency tree for liberation-font-native got much shorter
  (just quilt-native and liberation-font-native itself):
   2 after/pn-buildlist
  78 before/pn-buildlist

* fixes graphviz-native signature issue as well as detected with sstate-diff-machines.sh

  $ bitbake-diffsigs \
    sstate-after/mako/x86_64-linux/graphviz-native/8.1.0.do_populate_sysroot.sigdata.184d4fd355f1e7a2d7d929ef4b5f62b94e2071df9dd674b2067ec21bfc7bcc1b \
    sstate-after/qemux86-64/x86_64-linux/graphviz-native/8.1.0.do_populate_sysroot.sigdata.35da674d2dbc275bac02869dfce4165466315023910bdef65a6026e2cb942a46
  Hash for task dependency liberation-fonts-native:do_populate_sysroot changed from 310d3da04ad9abf8ee99997e53d1ffa71c2b7d9d60fb0e8de85171a9ab6a77d3 to 048420ad1410c2b8d95498fc3c11681207335a2c722836f1f3e683cc449814da

(From OE-Core rev: 098d4ca85c2bc77949843f117c6e336d5b77271d)

Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-10-05 15:48:49 -10:00
Narpat Mali
3ba8fdef70 python3-jinja2: fix for the ptest result format
The output of python3-jinja2 ptest should follow a unified format as below
result: testname

Reference:
https://wiki.yoctoproject.org/wiki/Ptest

(From OE-Core rev: edfed23716e6240a65f53630bbaf8b7319f0d1ce)

Signed-off-by: Narpat Mali <narpat.mali@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-10-05 15:48:49 -10:00
Martin Jansa
ee2bf45810 ccache: fix build with gcc-13
* needed on hosts with gcc-13 for ccache-native

(From OE-Core rev: 6618e5bf994f49ed93bebc4280980e297be6af98)

Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-10-05 15:48:49 -10:00
Bruce Ashfield
c156968a90 linux-yocto/5.10: update to v5.10.197
Updating  to the latest korg -stable release that comprises
the following commits:

    393e225fe8ff Linux 5.10.197
    242c5740dd17 ext4: fix rec_len verify error
    8768583b2509 scsi: pm8001: Setup IRQs on resume
    f4fffa1abb7f scsi: megaraid_sas: Fix deadlock on firmware crashdump
    3753e568d67f ata: libata: disallow dev-initiated LPM transitions to unsupported states
    993bb01d228b i2c: aspeed: Reset the i2c controller when timeout occurs
    f5e303fce3be tracefs: Add missing lockdown check to tracefs_create_dir()
    96afb318ae5d nfsd: fix change_info in NFSv4 RENAME replies
    b3183f5f05cd tracing: Have option files inc the trace array ref count
    ec7eb8b06481 tracing: Have current_trace inc the trace array ref count
    bb3e295a388c drm/amd/display: enable cursor degamma for DCN3+ DRM legacy gamma
    2cdcf6481cb3 mm/filemap: fix infinite loop in generic_file_buffered_read()
    0c5d5f8e0d2b proc: fix a dentry lock race between release_task and lookup
    8db844077ec9 net/sched: Retire rsvp classifier
    7a8f285cb58e drm/amdgpu: fix amdgpu_cs_p1_user_fence
    7390bb377b5f btrfs: release path before inode lookup during the ino lookup ioctl
    3d379dd109f8 btrfs: fix lockdep splat and potential deadlock after failure running delayed items
    c6422e6f173d ovl: fix incorrect fdput() on aio completion
    68308b0a33ed attr: block mode changes of symlinks
    634444dea898 md/raid1: fix error: ISO C90 forbids mixed declarations
    7be3a38f0e37 samples/hw_breakpoint: fix building without module unloading
    d20beafaa69b x86/boot/compressed: Reserve more memory for page tables
    7635020b9bd4 scsi: lpfc: Fix the NULL vs IS_ERR() bug for debugfs_create_file()
    f99005237684 selftests: tracing: Fix to unmount tracefs for recovering environment
    ae889fffae52 scsi: qla2xxx: Fix NULL vs IS_ERR() bug for debugfs_create_dir()
    82910aa5501d drm: gm12u320: Fix the timeout usage for usb_bulk_msg()
    df380d6f5c06 btrfs: compare the correct fsid/metadata_uuid in btrfs_validate_super
    ab90a3930d39 btrfs: add a helper to read the superblock metadata_uuid
    cc87d2bb391c btrfs: move btrfs_pinned_by_swapfile prototype into volumes.h
    e16f5f8cab65 perf tools: Add an option to build without libbfd
    c56095812721 perf jevents: Make build dependency on test JSONs
    4954c5a05494 mtd: rawnand: brcmnand: Fix ECC level field setting for v7.2 controller
    b87d03ed6ab7 mtd: rawnand: brcmnand: Allow SoC to provide I/O operations
    5df582915851 kobject: Add sanity check for kset->kobj.ktype in kset_register()
    a3efb2b57e9d media: pci: ipu3-cio2: Initialise timing struct to avoid a compiler warning
    f354456f8df1 serial: cpm_uart: Avoid suspicious locking
    bbe3ff47bf09 scsi: target: iscsi: Fix buffer overflow in lio_target_nacl_info_show()
    6d3a1dd10537 usb: gadget: fsl_qe_udc: validate endpoint index for ch9 udc
    890d10e6b72f media: pci: cx23885: replace BUG with error return
    2ae53dd15eef media: tuners: qt1010: replace BUG_ON with a regular error
    578b67614ae0 media: dvb-usb-v2: gl861: Fix null-ptr-deref in gl861_i2c_master_xfer
    a9def3e9718a media: az6007: Fix null-ptr-deref in az6007_i2c_xfer()
    4a9763d2bc4a media: anysee: fix null-ptr-deref in anysee_master_xfer
    c7e5ac737db2 media: af9005: Fix null-ptr-deref in af9005_i2c_xfer
    97fdbdb75034 media: dw2102: Fix null-ptr-deref in dw2102_i2c_transfer()
    6c01ef65de0b media: dvb-usb-v2: af9035: Fix null-ptr-deref in af9035_i2c_master_xfer
    9f3b2b666833 powerpc/pseries: fix possible memory leak in ibmebus_bus_init()
    756747d4b439 jfs: fix invalid free of JFS_IP(ipimap)->i_imap in diUnmount
    6f8b34458948 fs/jfs: prevent double-free in dbUnmount() after failed jfs_remount()
    4bff1d95ba62 ext2: fix datatype of block number in ext2_xattr_set2()
    7993cfc04148 md: raid1: fix potential OOB in raid1_remove_disk()
    5933cd61399c bus: ti-sysc: Configure uart quirks for k3 SoC
    5475b8bea148 drm/exynos: fix a possible null-pointer dereference due to data race in exynos_drm_crtc_atomic_disable()
    d51d6c42d1e5 ALSA: hda: intel-dsp-cfg: add LunarLake support
    fcfb71848e9e samples/hw_breakpoint: Fix kernel BUG 'invalid opcode: 0000'
    9726e8dcabae drm/bridge: tc358762: Instruct DSI host to generate HSE packets
    672205c6f2d1 wifi: mac80211_hwsim: drop short frames
    5bf52e431c83 netfilter: ebtables: fix fortify warnings in size_entry_mwt()
    f6f0a687546e alx: fix OOB-read compiler warning
    acf0019b93a6 mmc: sdhci-esdhc-imx: improve ESDHC_FLAG_ERR010450
    c7a8813d91f9 tpm_tis: Resend command to recover from data transfer errors
    0fc7147c6943 crypto: lib/mpi - avoid null pointer deref in mpi_cmp_ui()
    03385b243bad wifi: wil6210: fix fortify warnings
    269eb4e1d5ea wifi: mwifiex: fix fortify warning
    08fdbe379022 wifi: ath9k: fix printk specifier
    268a10c9eb0f wifi: ath9k: fix fortify warnings
    8c19ddc21566 crypto: lrw,xts - Replace strlcpy with strscpy
    cfca20009bff devlink: remove reload failed checks in params get/set callbacks
    020ecfa7b676 hw_breakpoint: fix single-stepping when using bpf_overflow_handler
    bfc747fe0725 ACPI: video: Add backlight=native DMI quirk for Apple iMac12,1 and iMac12,2
    dc01bfdc3d91 perf/smmuv3: Enable HiSilicon Erratum 162001900 quirk for HIP08/09
    560014aefb70 ACPI: video: Add backlight=native DMI quirk for Lenovo Ideapad Z470
    3f72fdb20f6d scftorture: Forgive memory-allocation failure if KASAN
    55887adc76e1 rcuscale: Move rcu_scale_writer() schedule_timeout_uninterruptible() to _idle()
    f8bab887a4ae kernel/fork: beware of __put_task_struct() calling context
    625c12dc04a6 ACPICA: Add AML_NO_OPERAND_RESOLVE flag to Timer
    a6f4129378ca locks: fix KASAN: use-after-free in trace_event_raw_event_filelock_lock
    b7c3cf2f6c42 btrfs: output extra debug info if we failed to find an inline backref
    69ddafc7a7af autofs: fix memory leak of waitqueues in autofs_catatonic_mode
    ff0bfa8f23eb Linux 5.10.196
    2cc1f4986233 Revert "configfs: fix a race in configfs_lookup()"
    5452d1be676c Linux 5.10.195
    d653c35de087 parisc: Drop loops_per_jiffy from per_cpu struct
    1d02ef8c8a1f drm/amd/display: Fix a bug when searching for insert_above_mpcc
    2e18493c4214 kcm: Fix error handling for SOCK_DGRAM in kcm_sendmsg().
    606a0d8ff674 ixgbe: fix timestamp configuration code
    6edf82223fab ipv6: fix ip6_sock_set_addr_preferences() typo
    a5096cc6e783 net/tls: do not free tls_rec on async operation in bpf_exec_tx_verdict()
    03be4412d31e platform/mellanox: mlxbf-tmfifo: Drop jumbo frames
    687031788fb1 platform/mellanox: mlxbf-tmfifo: Drop the Rx packet if no more descriptors
    33db24ad811b kcm: Fix memory leak in error path of kcm_sendmsg()
    ed584f1e72d7 r8152: check budget for r8152_poll()
    1e90a93ac484 hsr: Fix uninit-value access in fill_frame_info()
    75f2de75c118 net: ethernet: mtk_eth_soc: fix possible NULL pointer dereference in mtk_hwlro_get_fdir_all()
    61054a8ddb17 net: ethernet: mvpp2_main: fix possible OOB write in mvpp2_ethtool_get_rxnfc()
    d1c6c93c27a4 net/smc: use smc_lgr_list.lock to protect smc_lgr_list.list iterate in smcr_port_add
    fcb9e879a53e kselftest/runner.sh: Propagate SIGTERM to runner child
    d94aac13a102 selftests/kselftest/runner/run_one(): allow running non-executable files
    7c8ddcdab1b9 net: ipv4: fix one memleak in __inet_del_ifa()
    15dabd02a975 bus: mhi: host: Skip MHI reset if device is in RDDM
    de20747ee610 ARM: dts: BCM5301X: Extend RAM to full 256MB for Linksys EA6500 V2
    81d06d1919c9 ARM: dts: samsung: exynos4210-i9100: Fix LCD screen's physical size
    61fa6a16bb94 scsi: qla2xxx: Flush mailbox commands on chip reset
    b5775b8530b9 scsi: qla2xxx: Fix crash in PCIe error handling
    41a660c204ea scsi: qla2xxx: Consolidate zio threshold setting for both FCP & NVMe
    5c069bce2d67 scsi: qla2xxx: If fcport is undergoing deletion complete I/O with retry
    e7ed3585d092 arm64: sdei: abort running SDEI handlers during crash
    0b55460c312e ACPI: APEI: explicit init of HEST and GHES in apci_init()
    c6dc2a2e11c2 perf hists browser: Fix the number of entries for 'e' key
    c07e4a4ef36a perf tools: Handle old data in PERF_RECORD_ATTR
    b52a33a9079c perf hists browser: Fix hierarchy mode header
    d72b01d9f96f drm/amd/display: prevent potential division by zero errors
    d68f639ddec4 mtd: rawnand: brcmnand: Fix potential false time out warning
    d00b03126651 mtd: rawnand: brcmnand: Fix potential out-of-bounds access in oob write
    c839a24d6ef7 mtd: rawnand: brcmnand: Fix crash during the panic_write
    e76cef3dcdb8 btrfs: use the correct superblock to compare fsid in btrfs_validate_super
    f2873a18c235 btrfs: don't start transaction when joining with TRANS_JOIN_NOSTART
    3856e7b11810 fuse: nlookup missing decrement in fuse_direntplus_link
    1d21b03f7738 ata: pata_ftide010: Add missing MODULE_DESCRIPTION
    35a3dec703bb ata: sata_gemini: Add missing MODULE_DESCRIPTION
    b1d63e2bbd5b ext4: add correct group descriptors and reserved GDT blocks to system zone
    6612d5b5350d sh: boards: Fix CEU buffer size passed to dma_declare_coherent_memory()
    97ef9ba7df1c net: hns3: fix the port information display when sfp is absent
    780f60dde296 netfilter: nfnetlink_osf: avoid OOB read
    e89a361d99f6 net: dsa: sja1105: fix -ENOSPC when replacing the same tc-cbs too many times
    94a3117efff8 net: dsa: sja1105: fix bandwidth discrepancy between tc-cbs software and offload
    e90e70343b24 ip_tunnels: use DEV_STATS_INC()
    2539b28a2b1f idr: fix param name in idr_alloc_cyclic() doc
    0878052579cb s390/zcrypt: don't leak memory if dev_set_name() fails
    d878011b5d93 igb: Change IGB_MIN to allow set rx/tx value between 64 and 80
    417b11433eb1 igbvf: Change IGBVF_MIN to allow set rx/tx value between 64 and 80
    9444881a375d igc: Change IGC_MIN to allow set rx/tx value between 64 and 80
    46f02fc7f6fb kcm: Destroy mutex in kcm_exit_net()
    746a8df5e4d2 net: sched: sch_qfq: Fix UAF in qfq_dequeue()
    31e08e7fa6a3 af_unix: Fix data race around sk->sk_err.
    90e32f81f9cc af_unix: Fix data-races around sk->sk_shutdown.
    cf29b42766ad af_unix: Fix data-race around unix_tot_inflight.
    b401d7e485b0 af_unix: Fix data-races around user->unix_inflight.
    98e12d075c7f net: ipv6/addrconf: avoid integer underflow in ipv6_create_tempaddr
    d47bc5023e54 veth: Fixing transmit return status for dropped packets
    ab9796f43cfc igb: disable virtualization features on 82580
    160fdb4116e7 ipv4: ignore dst hint for multipath routes
    29039819c662 drm/i915/gvt: Drop unused helper intel_vgpu_reset_gtt()
    23d2651372bd drm/i915/gvt: Save/restore HW status to support GVT suspend/resume
    895dc4c47171 net: read sk->sk_family once in sk_mc_loop()
    8edced38dbe5 ipv4: annotate data-races around fi->fib_dead
    ab5c26dc5392 sctp: annotate data-races around sk->sk_wmem_queued
    94d527c3759d net/sched: fq_pie: avoid stalls in fq_pie_timer()
    a2d9d884e84b pwm: lpc32xx: Remove handling of PWM channels
    6909e28cf387 watchdog: intel-mid_wdt: add MODULE_ALIAS() to allow auto-load
    aec02fba99f8 perf top: Don't pass an ERR_PTR() directly to perf_session__delete()
    28df38af326d x86/virt: Drop unnecessary check on extended CPUID level in cpu_has_svm()
    23ec6fc52c14 perf annotate bpf: Don't enclose non-debug code with an assert()
    934d29b9fa91 backlight: gpio_backlight: Drop output GPIO direction check for initial power state
    84f99532152b kconfig: fix possible buffer overflow
    6cc6f79b931f NFSv4/pnfs: minor fix for cleanup path in nfs4_get_device_info
    4185605cd0f7 NFS: Fix a potential data corruption
    2ccab9f82772 soc: qcom: qmi_encdec: Restrict string length in decode
    bf27518fb93f clk: qcom: gcc-mdm9615: use proper parent for pll0_vote clock
    972acd701b19 clk: imx: pll14xx: dynamically configure PLL for 393216000/361267200Hz
    921453672846 dt-bindings: clock: xlnx,versal-clk: drop select:false
    690a22d6c581 pinctrl: cherryview: fix address_space_handler() argument
    b02d1fb74e8b parisc: led: Reduce CPU overhead for disk & lan LED computation
    3add85c962ab parisc: led: Fix LAN receive and transmit LEDs
    2a1cf9fe09d9 lib/test_meminit: allocate pages up to order MAX_ORDER
    6bfa28f441da drm/ast: Fix DRAM init on AST2200
    4aade6c9100a fbdev/ep93xx-fb: Do not assign to struct fb_info.dev
    db8b5a2254c3 scsi: qla2xxx: Remove unsupported ql2xenabledif option
    fd48544f3e03 scsi: qla2xxx: Turn off noisy message log
    931fadf9728d scsi: qla2xxx: Fix erroneous link up failure
    3694f18beaa1 scsi: qla2xxx: fix inconsistent TMF timeout
    4d7da12483e9 scsi: qla2xxx: Fix deletion race condition
    f271e3d64b8b io_uring: break iopolling on signal
    9faa6d0677ec io_uring: break out of iowq iopoll on teardown
    208858d4b08a io_uring: always lock in io_apoll_task_func
    6ffab754d220 net/ipv6: SKB symmetric hash should incorporate transport ports
    26f9ccb7a043 udf: initialize newblock to 0
    06494cd473e0 md/md-bitmap: remove unnecessary local variable in backlog_store()
    5103216b863f tracing: Zero the pipe cpumask on alloc to avoid spurious -EBUSY
    1c4c9191b3f8 usb: typec: tcpci: clear the fault status bit
    beba5051dd34 USB: core: Fix oversight in SuperSpeed initialization
    9d241c5d9a9b USB: core: Fix race by not overwriting udev->descriptor in hub_port_init()
    6ceffc2ecf3d USB: core: Change usb_get_device_descriptor() API
    3cef18d13f37 USB: core: Unite old scheme and new scheme descriptor reads
    38e1f2ee82ba usb: typec: bus: verify partner exists in typec_altmode_attention
    b97e3c5e9768 cpufreq: brcmstb-avs-cpufreq: Fix -Warray-bounds bug
    a1d2e2c670a3 crypto: stm32 - fix loop iterating through scatterlist for DMA
    54d03dc5d1c3 s390/ipl: add missing secure/has_secure file to ipl type 'unknown'
    dc2f60de9a7d pstore/ram: Check start of empty przs during init
    5b1f71c0b95a fsverity: skip PKCS#7 parser when keyring is empty
    a9864e126b73 net: handle ARPHRD_PPP in dev_is_mac_header_xmit()
    c681d477c03d X.509: if signature is unsupported skip validation
    4b8a938e329a dccp: Fix out of bounds access in DCCP error handler
    a4f4a5b41a13 dlm: fix plock lookup when using multiple lockspaces
    9f73fd6972bc parisc: Fix /proc/cpuinfo output for lscpu
    1f03e6dd194e procfs: block chmod on /proc/thread-self/comm
    9a0b35dc3aa0 Revert "PCI: Mark NVIDIA T4 GPUs to avoid bus reset"
    3d8d13a174ef ntb: Fix calculation ntb_transport_tx_free_entry()
    c028e90e0de1 ntb: Clean up tx tail index on link down
    3cfdc448e8bf ntb: Drop packets when qp link is down
    ffed0c8fcf04 scsi: mpt3sas: Perform additional retries if doorbell read returns 0
    bf67d43f07b5 Revert "scsi: qla2xxx: Fix buffer overrun"
    27dfaf2ee05e media: dvb: symbol fixup for dvb_attach()
    5a85727239a2 arm64: csum: Fix OoB access in IP checksum code for negative lengths
    b24bebcea556 xtensa: PMU: fix base address for the newer hardware
    8594605a0446 backlight/lv5207lp: Compare against struct fb_info.device
    e2c77841cd8d backlight/bd6107: Compare against struct fb_info.device
    35c56c48737f backlight/gpio_backlight: Compare against struct fb_info.device
    13264260eb66 ARM: OMAP2+: Fix -Warray-bounds warning in _pwrdm_state_switch()
    5c5f02e16b91 ipmi_si: fix a memleak in try_smi_init()
    5d27baee6cd9 scsi: core: Fix the scsi_set_resid() documentation
    8c90c4e61929 printk: ringbuffer: Fix truncating buffer size min_t cast
    61b918dfb675 ALSA: pcm: Fix missing fixup call in compat hw_refine ioctl
    ab192e5e5d3b PM / devfreq: Fix leak in devfreq_dev_release()
    3e39008e9e30 igb: set max size RX buffer when store bad packet is enabled
    8836c266201c skbuff: skb_segment, Call zero copy functions before using skbuff frags
    5541827d13cf netfilter: xt_sctp: validate the flag_info count
    a1b711c370f5 netfilter: xt_u32: validate user space input
    83091f8ac03f netfilter: ipset: add the missing IP_SET_HASH_WITH_NET0 macro for ip_set_hash_netportnet.c
    1186eaffd87e igmp: limit igmpv3_newpack() packet size to IP_MAX_MTU
    504bb3fc66aa virtio_ring: fix avail_wrap_counter in virtqueue_add_packed
    ea374bdf2374 cpufreq: Fix the race condition while updating the transition_task of policy
    27b75c7203fc dmaengine: ste_dma40: Add missing IRQ check in d40_probe
    cfe215a04a21 um: Fix hostaudio build errors
    eb33921806fc mtd: rawnand: fsmc: handle clk prepare error in fsmc_nand_resume()
    40d8f9bffed0 mtd: spi-nor: Check bus width while setting QE bit
    71ac2ffd7f80 rpmsg: glink: Add check for kstrdup
    268fce6ec2e0 phy/rockchip: inno-hdmi: do not power on rk3328 post pll on reg write
    6739746f4b81 phy/rockchip: inno-hdmi: round fractal pixclock in rk3328 recalc_rate
    88813bd9bbb7 phy/rockchip: inno-hdmi: use correct vco_div_5 macro on rk3328
    3a890f993b6c mtd: rawnand: brcmnand: Fix mtd oobsize
    c5d30d6aa83d tracing: Fix race issue between cpu buffer write and swap
    ee519526d58c x86/speculation: Mark all Skylake CPUs as vulnerable to GDS
    15ec7cb55e7d HID: multitouch: Correct devm device reference for hidinput input_dev name
    e38a6f12685d HID: logitech-dj: Fix error handling in logi_dj_recv_switch_to_dj_mode()
    bdb3cd9dffdf RDMA/siw: Correct wrong debug message
    d006f2cb3c68 RDMA/siw: Balance the reference of cep->kref in the error path
    aa950b9835f2 Revert "IB/isert: Fix incorrect release of isert connection"
    9baf2278b3ee amba: bus: fix refcount leak
    0c6c0280f740 serial: tegra: handle clk prepare error in tegra_uart_hw_init()
    9cce8ef7a6fa scsi: fcoe: Fix potential deadlock on &fip->ctlr_lock
    356da2d5c084 scsi: core: Use 32-bit hostnum in scsi_host_lookup()
    629079f502fb cgroup:namespace: Remove unused cgroup_namespaces_init()
    3534ae5f171b media: ov2680: Fix regulators being left enabled on ov2680_power_on() errors
    a427ce197e75 media: ov2680: Fix vflip / hflip set functions
    cd7a0e391eb5 media: ov2680: Fix ov2680_bayer_order()
    faf1408a68c8 media: ov2680: Remove auto-gain and auto-exposure controls
    e1552a0b990b media: i2c: ov2680: Set V4L2_CTRL_FLAG_MODIFY_LAYOUT on flips
    2d29ce41de4d media: ov5640: Enable MIPI interface in ov5640_set_power_mipi()
    44c71cbe7c5a USB: gadget: f_mass_storage: Fix unused variable warning
    8f7de8215804 media: go7007: Remove redundant if statement
    3183b0cab7b5 iommu/vt-d: Fix to flush cache of PASID directory table
    4136094df53f iommu/qcom: Disable and reset context bank before programming
    b374b039e066 fsi: aspeed: Reset master errors after CFAM reset
    f8949c06c735 IB/uverbs: Fix an potential error pointer dereference
    10bd5f8ceb3e driver core: test_async: fix an error code
    19138f8cc651 dma-buf/sync_file: Fix docs syntax
    e621dbeb9f91 coresight: tmc: Explicit type conversions to prevent integer overflow
    d7f21ef741a5 scsi: qedf: Do not touch __user pointer in qedf_dbg_fp_int_cmd_read() directly
    1198a0e93587 scsi: qedf: Do not touch __user pointer in qedf_dbg_debug_cmd_read() directly
    d86d85e23e8a scsi: qedf: Do not touch __user pointer in qedf_dbg_stop_io_on_error_cmd_read() directly
    4ede2ee95b41 x86/APM: drop the duplicate APM_MINOR_DEV macro
    9a26aaea6c21 serial: sprd: Fix DMA buffer leak issue
    6232bd4dca91 serial: sprd: Assign sprd_port after initialized to avoid wrong access
    6d65079c69dc scsi: qla4xxx: Add length check when parsing nlattrs
    b65b13d01b28 scsi: be2iscsi: Add length check when parsing nlattrs
    4df82c6d6e7d scsi: iscsi: Add strlen() check in iscsi_if_set{_host}_param()
    18d49266dd6e scsi: iscsi: Add length check for nlattr payload
    3ef17ca47690 scsi: iscsi: Rename iscsi_set_param() to iscsi_if_set_param()
    8356a3ba1083 scsi: RDMA/srp: Fix residual handling
    cc2d5cdb19e3 usb: phy: mxs: fix getting wrong state with mxs_phy_is_otg_host()
    5a6f480b2ecc media: mediatek: vcodec: Return NULL if no vdec_fb is found
    43c69dc9a327 media: rkvdec: increase max supported height for H.264
    1e5eac0022f4 scsi: hisi_sas: Fix normally completed I/O analysed as failed
    b6aca9f5ab29 scsi: hisi_sas: Fix warnings detected by sparse
    0d383e555fa6 scsi: hisi_sas: Modify v3 HW SATA completion error processing
    634220605198 scsi: hisi_sas: Modify v3 HW SSP underflow error processing
    d84e5d445af1 scsi: libsas: Introduce more SAM status code aliases in enum exec_status
    519b9e3e5ce7 scsi: hisi_sas: Print SAS address for v3 hw erroneous completion print
    5e5a528c29f0 media: cx24120: Add retval check for cx24120_message_send()
    d13a84874a2e media: dvb-usb: m920x: Fix a potential memory leak in m920x_i2c_xfer()
    656423cc56bd media: dib7000p: Fix potential division by zero
    61bc9293da19 drivers: usb: smsusb: fix error handling code in smsusb_init_device
    d8a8f75fce04 media: v4l2-core: Fix a potential resource leak in v4l2_fwnode_parse_link()
    5865926da24e media: i2c: tvp5150: check return value of devm_kasprintf()
    6dff92b3fe2f media: ad5820: Drop unsupported ad5823 from i2c_ and of_device_id tables
    9d82a58d2af5 NFSv4.2: fix handling of COPY ERR_OFFLOAD_NO_REQ
    7bc36ac6713e NFS: Guard against READDIR loop when entry names exceed MAXNAMELEN
    3f1a2b0b2d57 NFSD: da_addr_body field missing in some GETDEVICEINFO replies
    aaeac3a6b119 fs: lockd: avoid possible wrong NULL parameter
    6d5361618988 jfs: validate max amount of blocks before allocation.
    f08944e3c696 powerpc/iommu: Fix notifiers being shared by PCI and VIO buses
    46ff3bd14b6d nfs/blocklayout: Use the passed in gfp flags
    953c54dfdc5d powerpc/pseries: Rework lppaca_shared_proc() to avoid DEBUG_PREEMPT
    e46cc0e42f3f powerpc: Don't include lppaca.h in paca.h
    9837d6a483cf wifi: ath10k: Use RMW accessors for changing LNKCTL
    924d1ab98706 net/mlx5: Use RMW accessors for changing LNKCTL
    37eecd50856a drm/radeon: Use RMW accessors for changing LNKCTL
    ead3dbc92bd4 drm/amdgpu: Use RMW accessors for changing LNKCTL
    2f8269ca8062 powerpc/perf: Convert fsl_emb notifier to state machine callbacks
    d45bf1528b7c powerpc/fadump: reset dump area size if fadump memory reserve fails
    ad83d83dd891 vfio/type1: fix cap_migration information leak
    d8f5613c5c6c clk: imx: composite-8m: fix clock pauses when set_rate would be a no-op
    0d81a0546b19 clk: imx8mp: fix sai4 clock
    69795c689e7b PCI/ASPM: Use RMW accessors for changing LNKCTL
    f647b8fe55b1 PCI: pciehp: Use RMW accessors for changing LNKCTL
    ae52f8ba4596 pinctrl: mcp23s08: check return value of devm_kasprintf()
    ef8e561ddb33 PCI: Mark NVIDIA T4 GPUs to avoid bus reset
    344c16a8441e clk: qcom: reset: Use the correct type of sleep/delay based on length
    289f5a88f14a clk: qcom: gcc-sm8250: Fix gcc_sdcc2_apps_clk_src
    b3a80429b1cf clk: qcom: gcc-sm8250: use ARRAY_SIZE instead of specifying num_parents
    245759d987b6 ext4: correct grp validation in ext4_mb_good_group
    2aefe3ae098d clk: qcom: gcc-sc7180: Fix up gcc_sdcc2_apps_clk_src
    74a5f9755aa8 clk: qcom: gcc-sc7180: use ARRAY_SIZE instead of specifying num_parents
    2640d3be822c clk: sunxi-ng: Modify mismatched function name
    c1ff788f731d drivers: clk: keystone: Fix parameter judgment in _of_pll_clk_init()
    13623b966bb6 ipmi:ssif: Fix a memory leak when scanning for an adapter
    6128288d8f55 ipmi:ssif: Add check for kstrdup
    8917591d7247 ALSA: ac97: Fix possible error value of *rac97
    cd062ebe0cb3 of: unittest: Fix overlay type in apply/revert check
    ca7634e5491b bus: ti-sysc: Fix cast to enum warning
    43f561e809aa drm/mediatek: Fix potential memory leak if vmap() fail
    265515548610 bus: ti-sysc: Fix build warning for 64-bit build
    98ef243d5900 audit: fix possible soft lockup in __audit_inode_child()
    69800bc5d7fd drm/msm/a2xx: Call adreno_gpu_init() earlier
    7fcbaf4bdb75 drm/amd/pm: fix variable dereferenced issue in amdgpu_device_attr_create()
    9b89db24c6b2 smackfs: Prevent underflow in smk_set_cipso()
    9f4017cac70c firmware: meson_sm: fix to avoid potential NULL pointer dereference
    815e42029f6e drm/msm/mdp5: Don't leak some plane state
    a21e73a6d8e0 drm: xlnx: zynqmp_dpsub: Add missing check for dma_set_mask
    524f23b08290 ima: Remove deprecated IMA_TRUSTED_KEYRING Kconfig
    e2d1c9b39721 drm/panel: simple: Add missing connector type and pixel format for AUO T215HVN01
    c02917e70a05 drm/armada: Fix off-by-one error in armada_overlay_get_property()
    f41c65f8d05b of: unittest: fix null pointer dereferencing in of_unittest_find_node_by_name()
    883fdbbdbe93 drm/tegra: dpaux: Fix incorrect return value of platform_get_irq
    5f0994e3f271 drm/tegra: Remove superfluous error messages around platform_get_irq()
    4a61d72585af md/md-bitmap: hold 'reconfig_mutex' in backlog_store()
    8563d52a4f61 md/bitmap: don't set max_write_behind if there is no write mostly device
    a15f309eb99c drm/amdgpu: Update min() to min_t() in 'amdgpu_info_ioctl'
    8e766a94ec2d arm64: dts: qcom: sdm845: Fix the min frequency of "ice_core_clk"
    36d3e4dedb86 arm64: dts: qcom: sdm845: Add missing RPMh power domain to GCC
    0eea279e01fe ARM: dts: BCM53573: Fix Ethernet info for Luxul devices
    ed4e48de8962 drm: adv7511: Fix low refresh rate register for ADV7533/5
    61ccdd21679e ARM: dts: samsung: s5pv210-smdkv210: correct ethernet reg addresses (split)
    e9875d2f2507 ARM: dts: s5pv210: add dummy 5V regulator for backlight on SMDKv210
    c4c72bf42f48 ARM: dts: s5pv210: adjust node names to DT spec
    bbcea0924b83 ARM: dts: samsung: s3c6410-mini6410: correct ethernet reg addresses (split)
    a2d6c5e8e703 ARM: dts: s3c64xx: align pinctrl with dtschema
    3f0d83994e98 x86/mm: Fix PAT bit missing from page protection modify mask
    b56309c77d76 drm/etnaviv: fix dumping of active MMU context
    8303282409b3 ARM: dts: BCM53573: Use updated "spi-gpio" binding properties
    031ab0f10e3b ARM: dts: BCM53573: Add cells sizes to PCIe node
    8415d803d840 ARM: dts: BCM53573: Drop nonexistent #usb-cells
    cfc4a78e7054 ARM: dts: BCM53573: Describe on-SoC BCM53125 rev 4 switch
    36d958ad4088 ARM: dts: BCM5301X: Harmonize EHCI/OHCI DT nodes name
    826ef1576996 drm/amdgpu: avoid integer overflow warning in amdgpu_device_resize_fb_bar()
    967cbc8a23e5 arm64: dts: qcom: msm8996: Add missing interrupt to the USB2 controller
    71d2d9aa2bd8 soc: qcom: ocmem: Fix NUM_PORTS & NUM_MACROS macros
    1356531e9249 soc: qcom: ocmem: Add OCMEM hardware version print
    4bf179f53694 ASoC: stac9766: fix build errors with REGMAP_AC97
    86d89987f099 quota: fix dqput() to follow the guarantees dquot_srcu should provide
    af4ff4748985 quota: add new helper dquot_active()
    905e316e5e99 quota: rename dquot_active() to inode_quota_active()
    a5da2849db58 quota: factor out dquot_write_dquot()
    53805176ec6a drm/bridge: tc358764: Fix debug print parameter order
    abd1c17ef4fb netrom: Deny concurrent connect().
    b08cc6c0396f net/sched: sch_hfsc: Ensure inner classes have fsc curve
    ab04c731a198 hwmon: (tmp513) Fix the channel number in tmp51x_is_visible()
    db7a3531662c mlxsw: i2c: Limit single transaction buffer size
    3d36ba3f7e77 mlxsw: i2c: Fix chunk size setting in output mailbox buffer
    7cc9e1dcc1af net: arcnet: Do not call kfree_skb() under local_irq_disable()
    d4f79aa9ee34 wifi: ath9k: use IS_ERR() with debugfs_create_dir()
    50f89daf9e62 Bluetooth: btusb: Do not call kfree_skb() under spin_lock_irqsave()
    bef85d58f770 wifi: mwifiex: avoid possible NULL skb pointer dereference
    cfce1973ffe0 wifi: ath9k: protect WMI command response buffer replacement with a lock
    ee72b2b1f57e wifi: ath9k: fix races between ath9k_wmi_cmd and ath9k_wmi_ctrl_rx
    91d92d897560 samples/bpf: fix broken map lookup probe
    08a6e99a334d wifi: mwifiex: Fix missed return in oob checks failed path
    0c4240d23db5 wifi: mwifiex: fix memory leak in mwifiex_histogram_read()
    0fe11dd3fe05 fs: ocfs2: namei: check return value of ocfs2_add_entry()
    d8f5415d4d49 lwt: Check LWTUNNEL_XMIT_CONTINUE strictly
    a97f221651fc lwt: Fix return values of BPF xmit ops
    97ccf9f19580 hwrng: iproc-rng200 - Implement suspend and resume calls
    49729fc47289 crypto: caam - fix unchecked return value error
    7a97044477c9 ice: ice_aq_check_events: fix off-by-one check when filling buffer
    9b812dcf2b1e selftests/bpf: Clean up fmod_ret in bench_rename test script
    88bc7122dba2 net: tcp: fix unexcepted socket die when snd_wnd is 0
    e87da6a0ac6e Bluetooth: Fix potential use-after-free when clear keys
    6668886ebecc Bluetooth: nokia: fix value check in nokia_bluetooth_serdev_probe()
    625bf86bf53e crypto: api - Use work queue in crypto_destroy_instance
    7545292d87db crypto: stm32 - Properly handle pm_runtime_get failing
    323084d77d1f selftests/bpf: fix static assert compilation issue for test_cls_*.c
    a8d69658437c wifi: mwifiex: fix error recovery in PCIE buffer descriptor management
    3fe3923d092e wifi: mwifiex: Fix OOB and integer underflow when rx packets
    5120d93c24bb can: gs_usb: gs_usb_receive_bulk_callback(): count RX overflow errors also in case of OOM
    1d6c3017cea5 spi: tegra20-sflash: fix to check return value of platform_get_irq() in tegra_sflash_probe()
    ca7ee1b75c36 wifi: mt76: testmode: add nla_policy for MT76_TM_ATTR_TX_LENGTH
    791a12102e51 bpf: reject unhashed sockets in bpf_sk_assign
    4d271804f536 udp: re-score reuseport groups when connected sockets are present
    e6e11cbaa1f1 regmap: rbtree: Use alloc_flags for memory allocations
    1d210321de6d hwrng: nomadik - keep clock enabled while hwrng is registered
    f24152c20972 tcp: tcp_enter_quickack_mode() should be static
    b275f0ae3598 bpf: Clear the probe_addr for uprobe
    514116de91c4 bpftool: Use a local bpf_perf_event_value to fix accessing its fields
    920b2f99bcbd cpufreq: powernow-k8: Use related_cpus instead of cpus in driver.exit()
    133a1f45b9a6 x86/efistub: Fix PCI ROM preservation in mixed mode
    3de36b8b9bc5 s390/paes: fix PKEY_TYPE_EP11_AES handling for secure keyblobs
    e06326ff3aae s390/pkey: fix/harmonize internal keyblob headers
    08b1803bfc73 perf/imx_ddr: don't enable counter0 if none of 4 counters are used
    c0e1f9bddcea x86/decompressor: Don't rely on upper 32 bits of GPRs being preserved
    0682fc175c82 selftests/resctrl: Close perf value read fd on errors
    f399938a917d selftests/resctrl: Unmount resctrl FS if child fails to run benchmark
    bf1f7aeb5780 selftests/resctrl: Don't leak buffer in fill_cache()
    3ee719b3a026 OPP: Fix passing 0 to PTR_ERR in _opp_attach_genpd()
    066fbd8bc981 refscale: Fix uninitalized use of wait_queue_head_t
    ac96370db7e1 selftests/harness: Actually report SKIP for signal tests
    ac5a73b5d933 tmpfs: verify {g,u}id mount options correctly
    644e93a79056 fs: Fix error checking for d_hash_and_lookup()
    731f39e4a12b eventfd: prevent underflow for eventfd semaphores
    755e86f28ab9 eventfd: Export eventfd_ctx_do_read()
    6b5d585e2302 reiserfs: Check the return value from __getblk()
    5101e2c8a567 Revert "net: macsec: preserve ingress frame ordering"
    ca8f04553ecb udf: Handle error when adding extent to a file
    4ac54312f623 udf: Check consistency of Space Bitmap Descriptor
    42714d3d7097 net: Avoid address overwrite in kernel_connect
    4ded72985bb0 platform/mellanox: Fix mlxbf-tmfifo not handling all virtio CONSOLE notifications
    0c0547d2a60a tracing: Introduce pipe_cpumask to avoid race on trace_pipes
    99d8d419dd29 ALSA: seq: oss: Fix racy open/close of MIDI devices
    21f47cc15ae1 scsi: storvsc: Always set no_report_opcodes
    5cbc749d11f7 sctp: handle invalid error codes without calling BUG()
    2bdd081a7d7c bnx2x: fix page fault following EEH recovery
    d11a4542889d netlabel: fix shift wrapping bug in netlbl_catmap_setlong()
    7dd6ef1cedca scsi: qedi: Fix potential deadlock on &qedi_percpu->p_work_lock
    7a1a7f40adf2 idmaengine: make FSL_EDMA and INTEL_IDMA64 depends on HAS_IOMEM
    d399b6ce1ae6 net: usb: qmi_wwan: add Quectel EM05GV2
    bb8a4a36321d vmbus_testing: fix wrong python syntax for integer value comparison
    0ff30413a738 clk: fixed-mmio: make COMMON_CLK_FIXED_MMIO depend on HAS_IOMEM
    0111b7bb5143 kprobes: Prohibit probing on CFI preamble symbol
    654e3d27791c security: keys: perform capable check only on privileged operations
    b23cbd3c2518 ata: pata_arasan_cf: Use dev_err_probe() instead dev_err() in data_xfer()
    331d85f0bc6e ovl: Always reevaluate the file signature for IMA
    357badc01add drm/amd/display: Exit idle optimizations before attempt to access PHY
    de0cdcceaab3 platform/x86: huawei-wmi: Silence ambient light sensor
    8964b32a67e5 platform/x86: intel: hid: Always call BTNL ACPI method
    6b953ee81a45 ASoC: atmel: Fix the 8K sample parameter in I2SC master
    37121461dd47 ASoc: codecs: ES8316: Fix DMIC config
    bc2b0d4d37f1 fs/nls: make load_nls() take a const parameter
    0a584c077967 s390/dasd: fix hanging device after request requeue
    0c96df6913d4 s390/dasd: use correct number of retries for ERP requests
    a5fd143673f3 m68k: Fix invalid .section syntax
    f7700e987f6a vxlan: generalize vxlan_parse_gpe_hdr and remove unused args
    b7cd83cfff56 ethernet: atheros: fix return value check in atl1c_tso_csum()
    16c113426755 ASoC: da7219: Check for failure reading AAD IRQ events
    afa2dbd7d13b ASoC: da7219: Flush pending AAD IRQ when suspending
    efa372af6bfe 9p: virtio: make sure 'offs' is initialized in zc_request
    2f13007fbe66 media: pci: cx23885: fix error handling for cx23885 ATSC boards
    92704dd05521 media: pulse8-cec: handle possible ping error
    9d9cdc32bfce phy: qcom-snps-femto-v2: use qcom_snps_hsphy_suspend/resume error code
    a8ba2b695955 ARM: dts: imx: Set default tuning step for imx7d usdhc
    678a88ac02e5 ARM: dts: imx: Adjust dma-apbh node name
    6895499b2239 ARM: dts: imx7s: Drop dma-apb interrupt-names
    614c27dfdee0 ARM: dts: imx: update sdma node name format
    d45e2a3d2e4f ASoC: rt5682: Fix a problem with error handling in the io init function of the soundwire
    977baccbbd4e pinctrl: amd: Don't show `Invalid config param` errors
    f1d637b63d8a nilfs2: fix WARNING in mark_buffer_dirty due to discarded buffer reuse
    0e11bb5ad33d nilfs2: fix general protection fault in nilfs_lookup_dirty_data_buffers()
    734c6d3dc7b0 fsi: master-ast-cf: Add MODULE_FIRMWARE macro
    da5dc81ed2b5 firmware: stratix10-svc: Fix an NULL vs IS_ERR() bug in probe
    9fda2319018c serial: sc16is7xx: fix bug when first setting GPIO direction
    2f982ce208fe serial: sc16is7xx: fix broken port 0 uart init
    bd0ed45dd661 serial: qcom-geni: fix opp vote on shutdown
    c709c7ca020a configfs: fix a race in configfs_lookup()
    746b363bef41 Bluetooth: btsdio: fix use after free bug in btsdio_remove due to race condition
    b074fb0fa02e staging: rtl8712: fix race condition
    65bfaf5f9dea HID: wacom: remove the battery when the EKR is off
    542c61470732 usb: chipidea: imx: improve logic if samsung,picophy-* parameter is 0
    5c4996c22970 usb: dwc3: meson-g12a: do post init to fix broken usb after resumption
    d44fa38193c2 USB: serial: option: add FOXCONN T99W368/T99W373 product
    df6696e42e68 USB: serial: option: add Quectel EM05G variant (0x030e)
    f71b0b4a497e modules: only allow symbol_get of EXPORT_SYMBOL_GPL modules
    92de8497c342 rtc: ds1685: use EXPORT_SYMBOL_GPL for ds1685_rtc_poweroff
    1aeb76ffdfc0 net: enetc: use EXPORT_SYMBOL_GPL for enetc_phc_index
    d90e5956c0cc mmc: au1xmmc: force non-modular build and remove symbol_get usage
    c1112a2b54ce ARM: pxa: remove use of symbol_get()
    8c599aa78ce5 erofs: ensure that the post-EOF tails are all zeroed

(From OE-Core rev: e5690db43930efb6166fe398776eac044ce56048)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-10-05 15:48:49 -10:00
Bruce Ashfield
ad12417f38 linux-yocto/5.10: update to v5.10.194
Updating  to the latest korg -stable release that comprises
the following commits:

    006d5847646b Linux 5.10.194
    d93ba6e46e5f rcu-tasks: Add trc_inspect_reader() checks for exiting critical section
    3e22624f8fd3 rcu-tasks: Wait for trc_read_check_handler() IPIs
    9190c1f0aed1 rcu-tasks: Fix IPI failure handling in trc_wait_for_one_reader
    ad4f8c117b8b rcu: Prevent expedited GP from enabling tick on offline CPU
    268e92252277 Revert "MIPS: Alchemy: fix dbdma2"
    79ea9eb723b7 Revert "drm/amdgpu: install stub fence into potential unused fence pointers"
    be4ccafc077f mhi: pci_generic: Fix implicit conversion warning
    df3427204f1d ARM: module: Use module_init_layout_section() to spot init sections
    b59cfee8d8a2 arm64: module: Use module_init_layout_section() to spot init sections
    943ed7dc5ee4 arm64: module-plts: inline linux/moduleloader.h
    ecd62c85120d module: Expose module_init_layout_section()
    4566606fe3a4 Linux 5.10.193
    b3ac2c1d725b mm,hwpoison: fix printing of page flags
    7f92be110c0f ASoC: Intel: sof_sdw: include rt711.h for RT711 JD mode
    32f71ef62737 mm: memory-failure: fix unexpected return value in soft_offline_page()
    20c2db79f157 mm: memory-failure: kill soft_offline_free_page()
    406166a3acd7 mm: fix page reference leak in soft_offline_page()
    749630ce9147 mm,hwpoison: refactor get_any_page
    0df5eaab03ed dma-buf/sw_sync: Avoid recursive lock during fence signal
    7592a392b3e1 pinctrl: renesas: rza2: Add lock around pinctrl_generic{{add,remove}_group,{add,remove}_function}
    91cbf41a9d8b clk: Fix undefined reference to `clk_rate_exclusive_{get,put}'
    148a86651caf scsi: core: raid_class: Remove raid_component_add()
    5d02f4320a95 scsi: snic: Fix double free in snic_tgt_create()
    d643d3f322e8 ASoC: rt711: add two jack detection modes
    c7b26063fcae drm/i915: Fix premature release of request's reusable memory
    2d69f68ad409 cgroup/cpuset: Free DL BW in case can_attach() fails
    4603c2a104bc sched/deadline: Create DL BW alloc, free & check overflow interface
    c9546921a4b9 cgroup/cpuset: Iterate only if DEADLINE tasks are present
    5ac05ce56843 sched/cpuset: Keep track of SCHED_DEADLINE task in cpusets
    b950133d9a73 sched/cpuset: Bring back cpuset_mutex
    312713e3eae3 cgroup/cpuset: Rename functions dealing with DEADLINE accounting
    b2125926ba66 timers/nohz: Switch to ONESHOT_STOPPED in the low-res handler when the tick is stopped
    ae4f109b954d tick: Detect and fix jiffies update stall
    c7e91047d345 torture: Fix hang during kthread shutdown phase
    4bc6a4fca1f0 x86/fpu: Set X86_FEATURE_OSXSAVE feature after enabling OSXSAVE in CR4
    9e0c0b4ce541 drm/display/dp: Fix the DP DSC Receiver cap size
    8735d1c66c7c drm/vmwgfx: Fix shader stage validation
    ff0639b222e7 PCI: acpiphp: Use pci_assign_unassigned_bridge_resources() only for non-root bus
    da4e9eff0f1e media: vcodec: Fix potential array out-of-bounds in encoder queue_setup
    d2540b5f5aa1 of: dynamic: Refactor action prints to not use "%pOF" inside devtree_lock
    851f686ed0f5 radix tree: remove unused variable
    3b9a61570bc1 lib/clz_ctz.c: Fix __clzdi2() and __ctzdi2() for 32-bit kernels
    72e4a5a28ebf batman-adv: Hold rtnl lock during MTU update via netlink
    ee1d443eefb2 batman-adv: Fix batadv_v_ogm_aggr_send memory leak
    0c6da1d84921 batman-adv: Fix TT global entry leak when client roamed back
    6f5d10c0ac60 batman-adv: Do not get eth header before batadv_check_management_packet
    7c0959088366 batman-adv: Don't increase MTU when set by user
    480f2a129d8d batman-adv: Trigger events for auto adjusted MTU
    0dbedf9afee3 selinux: set next pointer before attaching to list
    a54c2048cd75 nfsd: Fix race to FREE_STATEID and cl_revoked
    7c262127d264 NFS: Fix a use after free in nfs_direct_join_group()
    f3c5697aae62 mm: add a call to flush_cache_vmap() in vmap_pfn()
    c9a0e31d9239 clk: Fix slab-out-of-bounds error in devm_clk_release()
    f979b92db1f5 NFSv4: Fix dropped lock for racing OPEN and delegation return
    0a809e01578b ibmveth: Use dcbf rather than dcbfl
    ffde5f9e8876 bonding: fix macvlan over alb bond support
    615ea2603dc8 net: remove bond_slave_has_mac_rcu()
    c8e1e17dee53 rtnetlink: Reject negative ifindexes in RTM_NEWLINK
    7b79dabd639c rtnetlink: return ENODEV when ifname does not exist and group is given
    d64cdb9cb629 netfilter: nf_tables: fix out of memory error handling
    5db1249c70b1 net/sched: fix a qdisc modification with ambiguous command request
    3847137cd167 igb: Avoid starting unnecessary workqueues
    fa7d7a7f007b ice: fix receive buffer size miscalculation
    70dfdbba3070 net: validate veth and vxcan peer ifindexes
    67c8d7ef54df net: bcmgenet: Fix return value check for fixed_phy_register()
    92b20b1569eb net: bgmac: Fix return value check for fixed_phy_register()
    0b39e3070a00 ipvlan: Fix a reference count leak warning in ipvlan_ns_exit()
    8162b73eef40 dccp: annotate data-races in dccp_poll()
    403cc3e6253d sock: annotate data-races around prot->memory_pressure
    005b6572d039 octeontx2-af: SDP: fix receive link config
    b8205dfed681 tracing: Fix memleak due to race between current_tracer and trace
    9c2ceffd4e36 tracing: Fix cpu buffers unavailable due to 'record_disabled' missed
    0498107394d4 rbd: prevent busy loop when requesting exclusive lock
    5f1697523367 rbd: retrieve and check lock owner twice before blocklisting
    2547026bb8c4 rbd: make get_lock_owner_info() return a single locker or NULL
    145248ebe0b2 libceph, rbd: ignore addr->type while comparing in some cases
    61c303cfb135 drm/amd/display: check TG is non-null before checking if enabled
    b964eb37c020 drm/amd/display: do not wait for mpc idle if tg is disabled
    7e11c58b2620 ALSA: pcm: Fix potential data race at PCM memory allocation helpers
    8c3a4c3b6485 dm integrity: reduce vmalloc space footprint on 32-bit architectures
    4fdfd3d2f09a dm integrity: increase RECALC_SECTORS to improve recalculate speed
    570f52137e9a fbdev: fix potential OOB read in fast_imageblit()
    31131cce2455 fbdev: Fix sys_imageblit() for arbitrary image widths
    209a84a14c0c fbdev: Improve performance of sys_imageblit()
    188edaaaad21 MIPS: cpu-features: Use boot_cpu_type for CPU type based features
    61913b303b31 MIPS: cpu-features: Enable octeon_cache by cpu_type
    bda55fb5ca61 fs: dlm: fix mismatch of plock results from userspace
    c3a1c4d996bf fs: dlm: use dlm_plock_info for do_unlock_close
    d503919895d8 fs: dlm: change plock interrupted message to debug again
    1652bcbf9e71 fs: dlm: add pid to debug log
    e850cd32df9f dlm: replace usage of found with dedicated list iterator variable
    7b44c1f383a1 dlm: improve plock logging if interrupted
    cd689b59129f PCI: acpiphp: Reassign resources on bridge if necessary
    e82757215295 xprtrdma: Remap Receive buffers after a reconnect
    8a64aadc29ba NFSv4: fix out path in __nfs4_get_acl_uncached
    c6aecc29d29e objtool/x86: Fix SRSO mess

(From OE-Core rev: 5bdf0da0372084ca312428f4e2585833fc732e9b)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-10-05 15:48:49 -10:00
Bruce Ashfield
7eefa6dfb6 linux-yocto/5.10: update to v5.10.192
Updating  to the latest korg -stable release that comprises
the following commits:

    1599cb60bace Linux 5.10.192
    0e8139f92304 x86/srso: Correct the mitigation status when SMT is disabled
    23e59874657c objtool/x86: Fixup frame-pointer vs rethunk
    26e3f7690cda x86/retpoline,kprobes: Fix position of thunk sections with CONFIG_LTO_CLANG
    88e16ce7f8a6 x86/srso: Disable the mitigation on unaffected configurations
    69712baf2495 x86/CPU/AMD: Fix the DIV(0) initial fix attempt
    62ebfeb0dcf7 x86/retpoline: Don't clobber RFLAGS during srso_safe_ret()
    91b349289ef1 x86/static_call: Fix __static_call_fixup()
    d2be58f9215a x86/srso: Explain the untraining sequences a bit more
    06597b650beb x86/cpu: Cleanup the untrain mess
    e0f50b0e4186 x86/cpu: Rename srso_(.*)_alias to srso_alias_\1
    0676a392539b x86/cpu: Rename original retbleed methods
    8b0ff83e8ad3 x86/cpu: Clean up SRSO return thunk mess
    20e24c8b4c2a x86/ibt: Add ANNOTATE_NOENDBR
    bbbe1b23c7e6 objtool: Add frame-pointer-specific function ignore
    bd3d12e6fda0 x86/alternative: Make custom return thunk unconditional
    043d3bfe0a72 x86/cpu: Fix up srso_safe_ret() and __x86_return_thunk()
    d5b3c88d153c x86/cpu: Fix __x86_return_thunk symbol type
    5962f64ed2b6 mmc: f-sdh30: fix order of function calls in sdhci_f_sdh30_remove
    98c7fe38c41e net: fix the RTO timer retransmitting skb every 1ms if linear option is enabled
    9aead733f5e0 virtio-net: set queues after driver_ok
    c080cee93030 af_unix: Fix null-ptr-deref in unix_stream_sendpage().
    7aa165d761e7 netfilter: set default timeout to 3 secs for sctp shutdown send and recv state
    e62de63c63f3 mmc: block: Fix in_flight[issue_type] value error
    9022e9e62db9 mmc: wbsd: fix double mmc_free_host() in wbsd_init()
    6e74926ede96 cifs: Release folio lock on fscache read hit.
    a04ac0c31881 ALSA: usb-audio: Add support for Mythware XA001AU capture and playback interfaces.
    bd70d0b28010 serial: 8250: Fix oops for port->pm on uart_change_pm()
    03a7f213af46 ALSA: hda/realtek - Remodified 3k pull low procedure
    b7d1c719842d ASoC: meson: axg-tdm-formatter: fix channel slot allocation
    e761b7e90ac9 ASoC: rt5665: add missed regulator_bulk_disable
    d23dd85903c9 arm64: dts: rockchip: Disable HS400 for eMMC on ROCK Pi 4
    70626b93d6eb arm64: dts: rockchip: sort nodes/properties on rk3399-rock-4
    7ba9ac0b5a90 arm64: dts: rockchip: fix regulator name on rk3399-rock-4
    fba59a4b55ae arm64: dts: rockchip: add SPDIF node for ROCK Pi 4
    77806f63c317 arm64: dts: rockchip: add ES8316 codec for ROCK Pi 4
    1411c3e86e66 arm64: dts: rockchip: use USB host by default on rk3399-rock-pi-4
    eb5b1e932c18 arm64: dts: rockchip: fix supplies on rk3399-rock-pi-4
    73990370d63d bus: ti-sysc: Flush posted write on enable before reset
    0a593e8a9d24 net: do not allow gso_size to be set to GSO_BY_FRAGS
    51bc052db86d sock: Fix misuse of sk_under_memory_pressure()
    773075d38a2f net: dsa: mv88e6xxx: Wait for EEPROM done before HW reset
    0a9040dedec2 i40e: fix misleading debug logs
    abe68922d774 team: Fix incorrect deletion of ETH_P_8021AD protocol vid from slaves
    526d42c558f5 net: phy: broadcom: stub c45 read/write for 54810
    a7653eaea0a5 netfilter: nft_dynset: disallow object maps
    49f57a9087d1 ipvs: fix racy memcpy in proc_do_sync_threshold
    c8d0d3811e20 drm/panel: simple: Fix AUO G121EAN01 panel timings according to the docs
    86517421f470 selftests: mirror_gre_changes: Tighten up the TTL test match
    614811692e21 xfrm: add forgotten nla_policy for XFRMA_MTIMER_THRESH
    bd30aa9c7feb xfrm: add NULL check in xfrm_update_ae_params
    0b4d69539fde ip_vti: fix potential slab-use-after-free in decode_session6
    ec23b25e5687 ip6_vti: fix slab-use-after-free in decode_session6
    bafa23638081 xfrm: fix slab-use-after-free in decode_session6
    0f89909c80a9 net: xfrm: Amend XFRMA_SEC_CTX nla_policy structure
    8b92d03cfcec net: af_key: fix sadb_x_filter validation
    7e50815d2903 net: xfrm: Fix xfrm_address_filter OOB read
    549e4e167a4d i2c: designware: Handle invalid SMBus block data response length value
    bd7bef82ce0e btrfs: fix BUG_ON condition in btrfs_cancel_balance
    483d713ba2f6 tty: serial: fsl_lpuart: Clear the error flags by writing 1 for lpuart32 platforms
    869ce5e59845 tty: n_gsm: fix the UAF caused by race condition in gsm_cleanup_mux
    0ba7f969be59 powerpc/rtas_flash: allow user copy to flash block cache objects
    c5f59de36202 fbdev: mmp: fix value check in mmphw_probe()
    268cc9bc54bd i2c: bcm-iproc: Fix bcm_iproc_i2c_isr deadlock issue
    3ff54d904faf virtio-mmio: don't break lifecycle of vm_dev
    b1fe05cc5126 virtio-mmio: Use to_virtio_mmio_device() to simply code
    3b76d9263679 tracing/probes: Fix to update dynamic data counter if fetcharg uses it
    265a979dedb1 tracing/probes: Have process_fetch_insn() take a void * instead of pt_regs
    a89054535368 mmc: meson-gx: fix deferred probing
    e8a41b4a5008 mmc: meson-gx: use devm_mmc_alloc_host
    50ed76c9e09b mmc: core: add devm_mmc_alloc_host
    d523ce6f51f1 mmc: sunxi: fix deferred probing
    939a12f29a4b mmc: bcm2835: fix deferred probing
    01dfc61f72a8 USB: dwc3: qcom: fix NULL-deref on suspend
    3e2b5d66e926 usb: cdns3: fix NCM gadget RX speed 20x slow than expection at iMX8QM
    f5c11b45f3f9 usb: cdns3: allocate TX FIFO size according to composite EP number
    a461bcfb36d6 usb: gadget: udc: core: Introduce check_config to verify USB configuration
    a64f5fe493b5 irqchip/mips-gic: Use raw spinlock for gic_lock
    0704666c570d irqchip/mips-gic: Get rid of the reliance on irq_cpu_online()
    372f1752b745 bus: mhi: host: Range check CHDBOFF and ERDBOFF
    77944a6f3cf8 bus: mhi: Move host MHI code to "host" directory
    f73891261566 bus: mhi: Add MMIO region length to controller structure
    1cacbb711e32 bus: mhi: Add MHI PCI support for WWAN modems
    436b4232533a iio: addac: stx104: Fix race condition when converting analog-to-digital
    aeecd8d97da7 iio: addac: stx104: Fix race condition for stx104_write_raw()
    f6576d4851fa iio: adc: stx104: Implement and utilize register structures
    9d1609824554 iio: adc: stx104: Utilize iomap interface
    d2ba1f40fc09 dt-bindings: iio: add AD74413R
    c5e580831b2d iio: add addac subdirectory
    bb70fdbfa272 IMA: allow/fix UML builds
    66a3b2a12138 ring-buffer: Do not swap cpu_buffer during resize process
    dd5a12cdf20c powerpc/kasan: Disable KCOV in KASAN code
    9f9eed451176 ALSA: hda: fix a possible null-pointer dereference due to data race in snd_hdac_regmap_sync()
    7a21c2e474ae ALSA: hda/realtek: Add quirks for Unis H3C Desktop B760 & Q760
    b870b9a47fdb drm/amdgpu: Fix potential fence use-after-free v2
    f19add5c7760 Bluetooth: btusb: Add MT7922 bluetooth ID for the Asus Ally
    2958cf9f805b Bluetooth: L2CAP: Fix use-after-free
    04bb8af40a77 pcmcia: rsrc_nonstatic: Fix memory leak in nonstatic_release_resource_db()
    7c5b2649f6a3 gfs2: Fix possible data races in gfs2_show_options()
    e8f3d96051c1 usb: chipidea: imx: add missing USB PHY DPDM wakeup setting
    7a3a7c6fa0dc usb: chipidea: imx: don't request QoS for imx8ulp
    2caeb722f0ea media: platform: mediatek: vpu: fix NULL ptr dereference
    99d6afa19d6d usb: gadget: u_serial: Avoid spinlock recursion in __gs_console_push
    e52de26cb374 media: v4l2-mem2mem: add lock to protect parameter num_rdy
    5c094ca99482 FS: JFS: Check for read-only mounted filesystem in txBegin
    2a3f20efe6c9 FS: JFS: Fix null-ptr-deref Read in txBegin
    e778c8b0a9b6 MIPS: dec: prom: Address -Warray-bounds warning
    911b48eec451 fs: jfs: Fix UBSAN: array-index-out-of-bounds in dbAllocDmapLev
    4503f6fc95d6 udf: Fix uninitialized array access for some pathnames
    a2966e0436dd ovl: check type and offset of struct vfsmount in ovl_entry
    73311dd83185 RDMA/mlx5: Return the firmware result upon destroying QP/RQ
    19312bc3ff67 HID: add quirk for 03f0:464a HP Elite Presenter Mouse
    04bd3a362d2f drm/amdgpu: install stub fence into potential unused fence pointers
    04e774fb6789 dma-remap: use kvmalloc_array/kvfree for larger dma memory remap
    cbaebbba722c quota: fix warning in dqgrab()
    8a4f4d47b82f quota: Properly disable quotas when add_dquot_ref() fails
    df907501ba54 iopoll: Call cpu_relax() in busy loops
    940ccc291cca ASoC: Intel: sof_sdw: Add support for Rex soundwire
    b2882c51e6d0 ARM: dts: imx6dl: prtrvt, prtvt7, prti6q, prtwd2: fix USB related warnings
    dbe0f607f84c PCI: tegra194: Fix possible array out of bounds access
    10459ffd56ad ASoC: Intel: sof_sdw: add quirk for LNL RVP
    9f4dd39696c8 ASoC: Intel: sof_sdw: add quirk for MTL RVP
    751c5b6a2315 ALSA: emu10k1: roll up loops in DSP setup code for Audigy
    e6825b30d37f drm/radeon: Fix integer overflow in radeon_cs_parser_init
    e6c0a9728e3a net/mlx5: Skip clock update work when device is in error state
    81cc91bba42b net/mlx5: Move all internal timer metadata into a dedicated struct
    ba2e27e5100d net/mlx5: Refactor init clock function
    e77ef787415b macsec: use DEV_STATS_INC()
    ecf0e627fbbb macsec: Fix traffic counters/statistics
    b630367a608d mmc: sdhci-f-sdh30: Replace with sdhci_pltfm

(From OE-Core rev: 8851b954ba00761fc6dd31561643fecf6749b838)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-10-05 15:48:49 -10:00
Bruce Ashfield
0b624c308c linux-yocto/5.10: update to v5.10.191
Updating  to the latest korg -stable release that comprises
the following commits:

    da742ebfa00c Linux 5.10.191
    3b55ce96efc5 sch_netem: fix issues in netem_change() vs get_dist_table()
    db9d161a0407 alpha: remove __init annotation from exported page_is_ram()
    4af122b5d7b8 scsi: qedf: Fix firmware halt over suspend and resume
    3bb05745cacc scsi: qedi: Fix firmware halt over suspend and resume
    aa9a76d5ffde scsi: core: Fix possible memory leak if device_add() fails
    58889d5ad74c scsi: snic: Fix possible memory leak if device_add() fails
    a370e2d653e5 scsi: 53c700: Check that command slot is not NULL
    1678408d08f3 scsi: storvsc: Fix handling of virtual Fibre Channel timeouts
    267ad381c2fc scsi: core: Fix legacy /proc parsing buffer overflow
    039ce5eb6ba2 netfilter: nf_tables: report use refcount overflow
    93b3195d370a nvme-rdma: fix potential unbalanced freeze & unfreeze
    9ad83e3e6121 nvme-tcp: fix potential unbalanced freeze & unfreeze
    200ae5fa0b7e btrfs: set cache_block_group_error if we find an error
    bd3175f9d597 btrfs: don't stop integrity writeback too early
    c91d822127d3 ibmvnic: Handle DMA unmapping of login buffs in release functions
    9024873b943d ibmvnic: Unmap DMA login rsp buffer on send login fail
    d4750cea76f7 ibmvnic: Enforce stronger sanity checks on login response
    879750c6a7e1 net/mlx5: Allow 0 for total host VFs
    f8510dfa958b dmaengine: mcf-edma: Fix a potential un-allocated memory access
    e8d349408a49 net: hns3: add wait until mac link down
    70660e6faac5 net: hns3: refactor hclge_mac_link_status_wait for interface reuse
    b564f32fb369 net: phy: at803x: remove set/get wol callbacks for AR8032
    0d3573811894 wifi: cfg80211: fix sband iftype data lookup for AP_VLAN
    33c677d1e087 IB/hfi1: Fix possible panic during hotplug remove
    13f7752f4adb drivers: net: prevent tun_build_skb() to exceed the packet size limit
    6d701c95ee64 dccp: fix data-race around dp->dccps_mss_cache
    6d0bd7b7b3a7 bonding: Fix incorrect deletion of ETH_P_8021AD protocol vid from slaves
    5850c391fd7e tunnels: fix kasan splat when generating ipv4 pmtu error
    b3b6b9331abc net/packet: annotate data-races around tp->status
    cafe399d4d50 mISDN: Update parameter type of dsp_cmx_send()
    4f1d1cc16ad3 selftests: forwarding: tc_flower: Relax success criterion
    501e3de09a53 selftests: forwarding: Switch off timeout
    fe8fac37aa73 selftests: forwarding: Skip test when no interfaces are specified
    44a47be97cf2 selftests: forwarding: ethtool_extended_state: Skip when using veth pairs
    0a93fa240d7c selftests: forwarding: ethtool: Skip when using veth pairs
    7e6af9c133c0 selftests: forwarding: Add a helper to skip test when using veth pairs
    e731ad522159 selftests/rseq: Fix build with undefined __weak
    cba47d0c95fb drm/nouveau/disp: Revert a NULL check inside nouveau_connector_get_modes
    98eaa12c967b x86: Move gds_ucode_mitigated() declaration to header
    09f78fc442fa x86/speculation: Add cpu_show_gds() prototype
    5258281a930c x86/mm: Fix VDSO and VVAR placement on 5-level paging machines
    eda9f8ffca46 x86/cpu/amd: Enable Zenbleed fix for AMD Custom APU 0405
    cb1eefc04634 x86/srso: Fix build breakage with the LLVM linker
    df8d390a210f usb: common: usb-conn-gpio: Prevent bailing out if initial role is none
    598ccdb92dec usb: dwc3: Properly handle processing of pending events
    fe7c3a445d22 usb-storage: alauda: Fix uninit-value in alauda_check_media()
    d7e5e2b87f5d binder: fix memory leak in binder_init()
    0439ce5aefcd iio: cros_ec: Fix the allocation size for cros_ec_command
    aa425ee2278d io_uring: correct check for O_TMPFILE
    372072408724 nilfs2: fix use-after-free of nilfs_root in dirtying inodes via iput
    a16c66baa4de x86/pkeys: Revert a5eff7259790 ("x86/pkeys: Add PKRU value to init_fpstate")
    04499d2c973a radix tree test suite: fix incorrect allocation size for pthreads
    db0e1e2abddb hwmon: (pmbus/bel-pfe) Enable PMBUS_SKIP_STATUS_CHECK for pfe1100
    a73d999fdfd9 drm/amd/display: check attr flag before set cursor degamma on DCN3+
    188e8e25ae24 drm/shmem-helper: Reset vma->vm_ops before calling dma_buf_mmap()
    6b6839e440d7 drm/nouveau/gr: enable memory loads on helper invocation on all channels
    002cde0b78d3 riscv,mmio: Fix readX()-to-delay() ordering
    8362ad5367dc dmaengine: pl330: Return DMA_PAUSED when transaction is paused
    7328c5319e08 selftests/bpf: Fix sk_assign on s390x
    b1a3e27d6bfc selftests/bpf: Workaround verification failure for fexit_bpf2bpf/func_replace_return_code
    4af2d9ddb7e7 selftests/bpf: make test_align selftest more robust
    1952a4d5e4cf bpf: aggressively forget precise markings during state checkpointing
    7ca3e7459f4a bpf: stop setting precise in current state
    2474ec58b96d bpf: allow precision tracking for programs with subprogs
    6796c2a0c5fc ipv6: adjust ndisc_is_useropt() to also return true for PIO
    f327f463c7ac mmc: moxart: read scr register without changing byte order
    890ac460b0e8 wireguard: allowedips: expand maximum node depth
    ec585727b63d Linux 5.10.190
    b6fc2fbf8908 x86/CPU/AMD: Do not leak quotient data after a division by 0
    98b7ab5e8d88 ARM: dts: nxp/imx6sll: fix wrong property name in usbphy node
    14f2e2ac731b ARM: dts: imx6sll: fixup of operating points
    f1c928496d2a ARM: dts: imx: add usb alias
    c0e7123e896a wifi: mt76: mt7615: do not advertise 5 GHz on first phy of MT7615D (DBDC)
    37fad83ae527 mt76: mt7615: Fix fall-through warnings for Clang
    b85c7882fd3c mt76: move band capabilities in mt76_phy
    381f7df0f3c3 exfat: check if filename entries exceeds max filename length
    bd3bdb9e0d65 exfat: support dynamic allocate bh for exfat_entry_set_cache
    e0d192a4023e exfat: speed up iterate/lookup by fixing start point of traversing cluster chain
    86e4e949ea81 PM: sleep: wakeirq: fix wake irq arming
    9a320469add4 PM / wakeirq: support enabling wake-up irq after runtime_suspend called
    48d1d0ce0782 soundwire: fix enumeration completion
    7d949774e7c1 soundwire: bus: pm_runtime_request_resume on peripheral attachment
    662735bc1127 soundwire: bus: add better dev_dbg to track complete() calls
    173d9c7090db selftests/rseq: Play nice with binaries statically linked against glibc 2.35+
    c08de20e7041 selftests/rseq: check if libc rseq support is registered
    fbb6657037d4 powerpc/mm/altmap: Fix altmap boundary check
    1f09d67d3906 mtd: rawnand: fsl_upm: Fix an off-by one test in fun_exec_op()
    027710952b53 mtd: rawnand: omap_elm: Fix incorrect type in assignment
    d328849fb63b ext2: Drop fragment support
    7e4e87ec56aa fs: Protect reconfiguration of sb read-write from racing writes
    ec0d0be41721 net: usbnet: Fix WARNING in usbnet_start_xmit/usb_submit_urb
    06f87c96216b Bluetooth: L2CAP: Fix use-after-free in l2cap_sock_ready_cb
    7f740bc696d4 fs/sysv: Null check to prevent null-ptr-deref bug
    426656e8dd03 tracing: Fix sleeping while atomic in kdb ftdump
    4f86da9abe31 file: reinstate f_pos locking optimization for regular files
    d39971d902d0 drm/ttm: check null pointer before accessing when swapping
    c9c78b91c783 open: make RESOLVE_CACHED correctly test for O_TMPFILE
    3048cb0dc0cc bpf: Disable preemption in bpf_event_output
    33a339e717be net: tap_open(): set sk_uid from current_fsuid()
    5ea23f1cb67e net: tun_chr_open(): set sk_uid from current_fsuid()
    8d104bfd41a9 arm64: dts: stratix10: fix incorrect I2C property for SCL signal
    8625802a1ba8 mtd: rawnand: meson: fix OOB available bytes for ECC
    82dc2bffeabc mtd: spinand: toshiba: Fix ecc_get_status
    ddf7cc702973 exfat: release s_lock before calling dir_emit()
    79d16a84ea41 exfat: use kvmalloc_array/kvfree instead of kmalloc_array/kfree
    a4b2673e3c04 ceph: defer stopping mdsc delayed_work
    b5b39ff6917f USB: zaurus: Add ID for A-300/B-500/C-700
    513bfdde8a3b libceph: fix potential hang in ceph_osdc_notify()
    181274d2f3de scsi: zfcp: Defer fc_rport blocking until after ADISC response
    6d9f5f3d8920 tcp_metrics: fix data-race in tcpm_suck_dst() vs fastopen
    05d1dc88c40f tcp_metrics: annotate data-races around tm->tcpm_net
    079afb181504 tcp_metrics: annotate data-races around tm->tcpm_vals[]
    57bcbbb208a0 tcp_metrics: annotate data-races around tm->tcpm_lock
    289091eef30f tcp_metrics: annotate data-races around tm->tcpm_stamp
    420aad608f72 tcp_metrics: fix addr_same() helper
    80e9488ece3d net/mlx5: fs_core: Skip the FTs in the same FS_TYPE_PRIO_CHAINS fs_prio
    7a634336a03b net/mlx5: fs_core: Make find_closest_ft more generic
    c650597647ec vxlan: Fix nexthop hash size
    1683124129a4 ip6mr: Fix skb_under_panic in ip6mr_cache_report()
    c33d5a5c5b2c s390/qeth: Don't call dev_close/dev_open (DOWN/UP)
    8e309f43d0ca net: dcb: choose correct policy to parse DCB_ATTR_BCN
    6d4f24736df9 net: netsec: Ignore 'phy-mode' on SynQuacer in DT mode
    216092963ce5 net: ll_temac: fix error checking of irq_of_parse_and_map()
    20fe059c1d47 net: ll_temac: Switch to use dev_err_probe() helper
    a0e42f4bd496 bpf: sockmap: Remove preempt_disable in sock_map_sk_acquire
    aaa71c4e8ad9 net/sched: cls_route: No longer copy tcf_result on update to avoid use-after-free
    a8d478200b10 net/sched: cls_fw: No longer copy tcf_result on update to avoid use-after-free
    b4256c99a711 net/sched: cls_u32: No longer copy tcf_result on update to avoid use-after-free
    268b29ef1947 net: add missing data-race annotation for sk_ll_usec
    ad417bab9d5b net: add missing data-race annotations around sk->sk_peek_off
    11e0590af333 net: add missing READ_ONCE(sk->sk_rcvbuf) annotation
    dc20f7bada00 net: add missing READ_ONCE(sk->sk_sndbuf) annotation
    427c611d846d net: add missing READ_ONCE(sk->sk_rcvlowat) annotation
    c7ebe08f4081 net: annotate data-races around sk->sk_max_pacing_rate
    14db69381dd8 mISDN: hfcpci: Fix potential deadlock on &hc->lock
    d163337bef20 net: sched: cls_u32: Fix match key mis-addressing
    e68929f11b19 perf test uprobe_from_different_cu: Skip if there is no gcc
    eb8031b7ce0c net: dsa: fix value check in bcm_sf2_sw_probe()
    abb0172fa8dc rtnetlink: let rtnl_bridge_setlink checks IFLA_BRIDGE_MODE length
    6b93c510684a bpf: Add length check for SK_DIAG_BPF_STORAGE_REQ_MAP_FD parsing
    2cf67912078f net/mlx5e: fix return value check in mlx5e_ipsec_remove_trailer()
    165159854757 net/mlx5: DR, fix memory leak in mlx5dr_cmd_create_reformat_ctx
    ef3d0a732d69 wifi: cfg80211: Fix return value in scan logic
    b4bdcbc0e391 KVM: s390: fix sthyi error handling
    4241cfc973ad word-at-a-time: use the same return type for has_zero regardless of endianness
    94f8447ab802 arm64: dts: imx8mn-var-som: add missing pull-up for onboard PHY reset pinmux
    832a4d4cdb3f loop: Select I/O scheduler 'none' from inside add_disk()
    3f7395c38204 perf: Fix function pointer case
    a883b98dc737 io_uring: gate iowait schedule on having pending requests
    058c0cbd251a x86/kprobes: Fix JNG/JNLE emulation
    edc2ac7c7265 x86/kprobes: Update kcb status flag after singlestepping
    f07f3938c813 x86/kprobes: Move 'inline' to the beginning of the kprobe_is_ss() declaration
    2b5afe25f5b6 x86/kprobes: Fix to identify indirect jmp and others using range case
    ba7d1dae9fe8 x86/kprobes: Use int3 instead of debug trap for single-step
    2c57553a77e1 x86/kprobes: Identify far indirect JMP correctly
    41db23bad952 x86/kprobes: Retrieve correct opcode for group instruction
    ff97a14c8a86 x86/kprobes: Do not decode opcode in resume_execution()
    5601d812c8d8 kprobes/x86: Fix fall-through warnings for Clang
    7a413fa04726 ASoC: cs42l51: fix driver to properly autoload with automatic module loading
    4d360a819453 io_uring: treat -EAGAIN for REQ_F_NOWAIT as final for io-wq
    9164e27c5a8e selftests: mptcp: depend on SYN_COOKIES
    f0acd6c3a2cd cpufreq: intel_pstate: Drop ACPI _PSS states table patching
    a241fc02f1ce ACPI: processor: perflib: Avoid updating frequency QoS unnecessarily
    ad938dd2af28 ACPI: processor: perflib: Use the "no limit" frequency QoS
    4148f28f9824 drm/ttm: make ttm_bo_unpin more defensive
    c0f2b2b02096 dm cache policy smq: ensure IO doesn't prevent cleaner policy progress
    aae65b1793bb ceph: never send metrics if disable_send_metrics is set
    4f669618c99f ASoC: wm8904: Fill the cache for WM8904_ADC_TEST_0 register
    c837f121bc98 s390/dasd: fix hanging device after quiesce/resume
    276738b382cf virtio-net: fix race between set queues and probe
    3d10481a90c3 btrfs: check if the transaction was aborted at btrfs_wait_for_commit()
    fc511ae405f7 staging: r8712: Fix memory leak in _r8712_init_xmit_priv()
    223ecf871b42 staging: rtl8712: Use constants from <linux/ieee80211.h>
    836b13168336 KVM: VMX: Don't fudge CR0 and CR4 for restricted L2 guest
    c710ff061237 KVM: nVMX: Do not clear CR3 load/store exiting bits if L1 wants 'em
    7fc51da40b9d KVM: VMX: Fold ept_update_paging_mode_cr0() back into vmx_set_cr0()
    96c73bc9efef KVM: VMX: Invert handling of CR0.WP for EPT without unrestricted guest
    90cd5ab951ea irqchip/gic-v4.1: Properly lock VPEs when doing a directLPI invalidation
    57b8db5800a5 irq-bcm6345-l1: Do not assume a fixed block to cpu mapping
    b1867cddd780 tpm_tis: Explicitly check for error code
    5be81139d2ff nfsd: Remove incorrect check in nfsd4_validate_stateid
    4a871fcebc02 file: always lock position for FMODE_ATOMIC_POS
    c5c797ccc3b5 btrfs: check for commit error at btrfs_attach_transaction_barrier()
    5e0e4e72ca21 hwmon: (nct7802) Fix for temp6 (PECI1) processed even if PECI1 disabled
    7c6df7f0fc3d ALSA: hda/relatek: Enable Mute LED on HP 250 G8
    8fc0eabaa73b tty: n_gsm: fix UAF in gsm_cleanup_mux
    caac4b6c15b6 staging: ks7010: potential buffer overflow in ks_wlan_set_encode_ext()
    baef414b1ca0 Documentation: security-bugs.rst: clarify CVE handling
    0d5b23743bed Documentation: security-bugs.rst: update preferences when dealing with the linux-distros group
    65cd02e3c37e Revert "usb: xhci: tegra: Fix error check"
    b0fd110578e7 usb: xhci-mtk: set the dma max_seg_size
    d0b588bbe4d9 USB: quirks: add quirk for Focusrite Scarlett
    66a622275a11 usb: ohci-at91: Fix the unhandle interrupt when resume
    96c433aff5fd usb: dwc3: don't reset device side if dwc3 was configured as host-only
    05b201de4418 usb: dwc3: pci: skip BYT GPIO lookup table for hardwired phy
    75ad45cef699 Revert "usb: dwc3: core: Enable AutoRetry feature in the controller"
    bf468806b63f can: gs_usb: gs_can_close(): add missing set of CAN state to CAN_STATE_STOPPED
    d5db33a667f5 USB: serial: simple: sort driver entries
    81c54eef1dd7 USB: serial: simple: add Kaufmann RKS+CAN VCP
    fca2a74eee5a USB: serial: option: add Quectel EC200A module support
    c704cb21138b USB: serial: option: support Quectel EM060K_128
    1037ee1dbf73 serial: sifive: Fix sifive_serial_console_setup() section
    6209a7383d3a serial: 8250_dw: Preserve original value of DLF register
    9e671a6116f4 serial: qcom-geni: drop bogus runtime pm state update
    68e6287ac61d USB: gadget: Fix the memory leak in raw_gadget driver
    da1b105dc66d Revert "usb: gadget: tegra-xudc: Fix error check in tegra_xudc_powerdomain_init()"
    a6d2fd1703cd tracing: Fix warning in trace_buffered_event_disable()
    0efbdbc4530c ring-buffer: Fix wrong stat of cpu_buffer->read
    e410839c0cd8 ata: pata_ns87415: mark ns87560_tf_read static
    82ce0ae87a96 dm raid: protect md_stop() with 'reconfig_mutex'
    d6a1cf4ee5eb dm raid: clean up four equivalent goto tags in raid_ctr()
    a43c761a7e1c dm raid: fix missing reconfig_mutex unlock in raid_ctr() error paths
    d82bfe9686f3 block: Fix a source code comment in include/uapi/linux/blkzoned.h
    ab6d14bc4041 ASoC: fsl_spdif: Silence output on stop
    94bac776cd27 drm/msm: Fix IS_ERR_OR_NULL() vs NULL check in a5xx_submit_in_rb()
    b0100bdb9dcd RDMA/mthca: Fix crash when polling CQ for shared QPs
    62a8a4cafa96 drm/msm/adreno: Fix snapshot BINDLESS_DATA size
    5c9e03b86756 drm/msm/dpu: drop enum dpu_core_perf_data_bus_id
    08aa5a5297e6 RDMA/mlx4: Make check for invalid flags stricter
    9d1fd118bcb4 tipc: stop tipc crypto on failure in tipc_node_create
    d03de937765f tipc: check return value of pskb_trim()
    3661bab5afcb benet: fix return value check in be_lancer_xmit_workarounds()
    f40f7a858b3b net/sched: mqprio: Add length check for TCA_MQPRIO_{MAX/MIN}_RATE64
    3ed3729a6a8e net/sched: mqprio: add extack to mqprio_parse_nlattr()
    6227b461542f net/sched: mqprio: refactor nlattr parsing to a separate function
    308a43f1521d netfilter: nf_tables: disallow rule addition to bound chain via NFTA_RULE_CHAIN_ID
    ab5a97a94b57 netfilter: nf_tables: skip immediate deactivate in _PREPARE_ERROR
    7782ce022fea netfilter: nftables: add helper function to validate set element data
    893cb3c3513c netfilter: nft_set_rbtree: fix overlap expiration walk
    89060b831c41 platform/x86: msi-laptop: Fix rfkill out-of-sync on MSI Wind U100
    75f57acda32f team: reset team's flags when down link is P2P device
    de982f46be83 bonding: reset bond's flags when down link is P2P device
    b2712c4bfc3b ice: Fix memory management in ice_ethtool_fdir.c
    0cd74fbd3b83 tcp: Reduce chance of collisions in inet6_hashfn().
    b55a2b34b1b6 ipv6 addrconf: fix bug where deleting a mngtmpaddr can create a new temporary address
    5a3c92968223 ethernet: atheros: fix return value check in atl1e_tso_csum()
    ad249aa3c38f phy: hisilicon: Fix an out of bounds check in hisi_inno_phy_probe()
    6f26f1457377 vxlan: calculate correct header length for GPE
    d2741769d512 vxlan: move to its own directory
    076f786f0414 net: hns3: fix wrong bw weight of disabled tc issue
    344b7c000398 net: hns3: reconstruct function hclge_ets_validate()
    111b699300a7 net: phy: marvell10g: fix 88x3310 power up
    8a6cc852f658 i40e: Fix an NULL vs IS_ERR() bug for debugfs_create_dir()
    39c789c9570d media: staging: atomisp: select V4L2_FWNODE
    fb1db979043a phy: qcom-snps-femto-v2: properly enable ref clock
    ffebc22bdd08 phy: qcom-snps-femto-v2: keep cfg_ahb_clk enabled during runtime suspend
    f34090579a8b phy: qcom-snps: correct struct qcom_snps_hsphy kerneldoc
    ceba255a791b phy: qcom-snps: Use dev_err_probe() to simplify code
    ed3d841f2fc2 ext4: fix to check return value of freeze_bdev() in ext4_shutdown()
    e3454b438c67 pwm: meson: fix handling of period/duty if greater than UINT_MAX
    b306d09967ca pwm: meson: Simplify duplicated per-channel tracking
    840ce9cfc86f tracing: Show real address for trace event arguments
    8996b13051f0 drm/ttm: never consider pinned BOs for eviction&swap
    5f6d5b58c59e drm/ttm: add ttm_bo_pin()/ttm_bo_unpin() v2
    1815d9bf02b7 fs: dlm: interrupt posix locks only when process is killed
    0f6741acfd5b dlm: rearrange async condition return
    793123331007 dlm: cleanup plock_op vs plock_xop
    838d6e86ec74 PCI/ASPM: Avoid link retraining race
    9f283ca643dd PCI/ASPM: Factor out pcie_wait_for_retrain()
    ffc0ee491f04 PCI/ASPM: Return 0 or -ETIMEDOUT from pcie_retrain_link()
    9fd349c8858e i2c: nomadik: Remove a useless call in the remove function
    a7ab5d7943b5 i2c: nomadik: Use devm_clk_get_enabled()
    ec954a4ab0c8 i2c: nomadik: Remove unnecessary goto label
    04b114067849 i2c: Improve size determinations
    41e90f0e50f5 i2c: Delete error messages for failed memory allocations
    52df40a5c71e btrfs: fix extent buffer leak after tree mod log failure at split_node()
    52403c3dad20 btrfs: fix race between quota disable and relocation
    3069fc0326b8 gpio: tps68470: Make tps68470_gpio_output() always set the initial value
    22786d53817d io_uring: don't audit the capability check in io_uring_create()
    8e635da0e0d3 KVM: s390: pv: fix index value of replaced ASCE

(From OE-Core rev: f3db78f6fdc439ba0d3450837d8b3e9052b7d8ca)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-10-05 15:48:49 -10:00
Bruce Ashfield
22caf0ce33 linux-yocto/5.10: update to v5.10.189
Updating  to the latest korg -stable release that comprises
the following commits:

    de5f63612d16 Linux 5.10.189
    2ae9a73819a7 x86: fix backwards merge of GDS/SRSO bit
    f9167a2d6b94 xen/netback: Fix buffer overrun triggered by unusual packet
    8457fb5740b1 x86/srso: Tie SBPB bit setting to microcode patch detection
    4873939c0e1c x86/srso: Fix return thunks in generated code
    384d41bea948 x86/srso: Add IBPB on VMEXIT
    4acaea47e3bc x86/srso: Add IBPB
    e47af0c255ae x86/srso: Add SRSO_NO support
    df76a59feba5 x86/srso: Add IBPB_BRTYPE support
    3f9b7101bea1 x86/srso: Add a Speculative RAS Overflow mitigation
    34f23ba8a399 x86/cpu, kvm: Add support for CPUID_80000021_EAX
    073a28a9b506 x86/bugs: Increase the x86 bugs vector size to two u32s
    9b7fe7c6fbc0 tools headers cpufeatures: Sync with the kernel sources
    437fa179f213 x86/cpufeatures: Assign dedicated feature word for CPUID_0x8000001F[EAX]
    baf6d6c39e23 x86/cpu: Add VM page flush MSR availablility as a CPUID feature
    675046878431 Documentation/x86: Fix backwards on/off logic about YMM support
    79972c2b95ec x86/mm: Initialize text poking earlier
    1ff14defdfc9 mm: Move mm_cachep initialization to mm_init()
    6ee042fd240f x86/mm: Use mm_alloc() in poking_init()
    f076d0817878 x86/mm: fix poking_init() for Xen PV guests
    583016037a09 x86/xen: Fix secondary processors' FPU initialization
    eb13cce48874 KVM: Add GDS_NO support to KVM
    7db4ddcb8d8e x86/speculation: Add Kconfig option for GDS
    363c98f9cfa8 x86/speculation: Add force option to GDS mitigation
    288a2f6bc1ce x86/speculation: Add Gather Data Sampling mitigation
    4ae1cbb730bd x86/fpu: Move FPU initialization into arch_cpu_finalize_init()
    2462bc3ef061 x86/fpu: Mark init functions __init
    7a2f42bce9ab x86/fpu: Remove cpuinfo argument from init functions
    18fcd72da1ed init, x86: Move mem_encrypt_init() into arch_cpu_finalize_init()
    09658b81d158 init: Invoke arch_cpu_finalize_init() earlier
    bf2fa3a9d0e6 init: Remove check_bugs() leftovers
    b05031c2bca7 um/cpu: Switch to arch_cpu_finalize_init()
    2edb3b39ca79 sparc/cpu: Switch to arch_cpu_finalize_init()
    3c45134b38b4 sh/cpu: Switch to arch_cpu_finalize_init()
    75bb54c951e9 mips/cpu: Switch to arch_cpu_finalize_init()
    1cd3fc18eb16 m68k/cpu: Switch to arch_cpu_finalize_init()
    12d93c6c98d5 ia64/cpu: Switch to arch_cpu_finalize_init()
    c0fff20d4efa ARM: cpu: Switch to arch_cpu_finalize_init()
    e5eb18e164d0 x86/cpu: Switch to arch_cpu_finalize_init()
    6e606e681873 init: Provide arch_cpu_finalize_init()

(From OE-Core rev: f674e44ff69a1e51c4b6929d195ce0a110577c12)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-10-05 15:48:49 -10:00
Shubham Kulkarni
74b22a5e91 go: Update fix for CVE-2023-24538 & CVE-2023-39318
Add missing files in fix for CVE-2023-24538 & CVE-2023-39318

Upstream Link -
CVE-2023-24538: b1e3ecfa06
CVE-2023-39318: 023b542edf

(From OE-Core rev: 0d8f7062d4fb5525f34427b1a7304f165bee0cfc)

Signed-off-by: Shubham Kulkarni <skulkarni@mvista.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-10-05 15:48:49 -10:00
Peter Marko
25073f9c0e json-c: define CVE_VERSION
Recently NVD updated all CVEs for json-c and old fixed
CVE-2020-12762 is reported by cve_check now.
NVD match clause now includes full tag name including
date which is "greater" than tag without additional numbers.

Fix it by defining CVE_VERSION identical to full tag.
Put it close to hash so recipe update patch includes this line.

(From OE-Core rev: 55e9ff0fe1de70f226557529f73c28f34f6956ed)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-10-05 15:48:49 -10:00
Ryan Eatmon
0e4966eb77 kernel.bbclass: Add force flag to rm calls
The latest 6.5 kernels do not appear to create the source file in
${D}${nonarch_base_libdir}/modules/${KERNEL_VERSION}/source so the
recipe errors out when trying to remove it.  Simple fix is to add the
-f (force) flag to the call.

(From OE-Core rev: 2e669bf797b15d803e7d6a700e449bdc467a4bcc)

(From OE-Core rev: 7e177848f97eb9958619c28b5e5dadee12f67507)

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Alexander Sverdlin <alexander.sverdlin@siemens.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-09-30 09:43:59 -10:00
Jaeyoon Jung
6b6a161273 cml1: Fix KCONFIG_CONFIG_COMMAND not conveyed fully in do_menuconfig
Variable overrides in KCONFIG_CONFIG_COMMAND do not work as expected due
to double quote mismatches. The issue is reproducible in an environment
where gold is the default linker. Below is an example snippet of
run.do_terminal generated by do_menuconfig.

do_terminal() {
exec sh -c "make menuconfig   CC="aarch64-webos-linux-gcc ..."
LD="aarch64-webos-linux-ld.bfd ..."
...
}

Although LD override is set to bfd correctly, it is not passed to make
and make menuconfig ends up with messages like:
| gold linker is not supported as it is not capable of linking the kernel proper.
| scripts/Kconfig.include:56: Sorry, this linker is not supported.

(From OE-Core rev: 9c483765db762dbe8020423c8778518612b7e5f7)

(From OE-Core rev: 536c477838fb1a318c5b283475de7f0eac99c872)

Signed-off-by: Jaeyoon Jung <jaeyoon.jung@lge.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit d4664d2b79)
Backported: File was renamed between kirkstone and master.
Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-09-30 09:43:59 -10:00
Lee Chee Yang
eea8e56bed bind: update to 9.18.19
Notes for BIND 9.18.19
Security Fixes
Previously, sending a specially crafted message over the control channel
could cause the packet-parsing code to run out of available stack
memory, causing named to terminate unexpectedly. This has been fixed.
(CVE-2023-3341)

ISC would like to thank Eric Sesterhenn from X41 D-Sec GmbH for bringing
this vulnerability to our attention. [GL #4152]

A flaw in the networking code handling DNS-over-TLS queries could cause
named to terminate unexpectedly due to an assertion failure under
significant DNS-over-TLS query load. This has been fixed.
(CVE-2023-4236)

ISC would like to thank Robert Story from USC/ISI Root Server Operations
for bringing this vulnerability to our attention. [GL #4242]

Removed Features
The dnssec-must-be-secure option has been deprecated and will be removed
in a future release. [GL #4263]

Feature Changes
If the server command is specified, nsupdate now honors the nsupdate -v
option for SOA queries by sending both the UPDATE request and the
initial query over TCP. [GL #1181]

Bug Fixes
The value of the If-Modified-Since header in the statistics channel was
not being correctly validated for its length, potentially allowing an
authorized user to trigger a buffer overflow. Ensuring the statistics
channel is configured correctly to grant access exclusively to
authorized users is essential (see the statistics-channels block
definition and usage section). [GL #4124]

This issue was reported independently by Eric Sesterhenn of X41 D-Sec
GmbH and Cameron Whitehead.

The Content-Length header in the statistics channel was lacking proper
bounds checking. A negative or excessively large value could potentially
trigger an integer overflow and result in an assertion failure. [GL

This issue was reported by Eric Sesterhenn of X41 D-Sec GmbH.

Several memory leaks caused by not clearing the OpenSSL error stack were
fixed. [GL #4159]

This issue was reported by Eric Sesterhenn of X41 D-Sec GmbH.

The introduction of krb5-subdomain-self-rhs and ms-subdomain-self-rhs
UPDATE policies accidentally caused named to return SERVFAIL responses
to deletion requests for non-existent PTR and SRV records. This has been
fixed. [GL #4280]

The stale-refresh-time feature was mistakenly disabled when the server
cache was flushed by rndc flush. This has been fixed. [GL #4278]

BIND’s memory consumption has been improved by implementing dedicated
jemalloc memory arenas for sending buffers. This optimization ensures
that memory usage is more efficient and better manages the return of
memory pages to the operating system. [GL #4038]

Previously, partial writes in the TLS DNS code were not accounted for
correctly, which could have led to DNS message corruption. This has been
fixed. [GL #4255]

Known Issues
There are no new known issues with this release. See above for a list of
all known issues affecting this BIND 9 branch.

Notes for BIND 9.18.18
Feature Changes
When a primary server for a zone responds to an SOA query, but the
subsequent TCP connection required to transfer the zone is refused, that
server is marked as temporarily unreachable. This now also happens if
the TCP connection attempt times out, preventing too many zones from
queuing up on an unreachable server and allowing the refresh process to
move on to the next configured primary more quickly. [GL #4215]

The dialup and heartbeat-interval options have been deprecated and will
be removed in a future BIND 9 release. [GL #3700]

Bug Fixes
Processing already-queued queries received over TCP could cause an
assertion failure, when the server was reconfigured at the same time or
the cache was being flushed. This has been fixed. [GL #4200]

Setting dnssec-policy to insecure prevented zones containing resource
records with a TTL value larger than 86400 seconds (1 day) from being
loaded. This has been fixed by ignoring the TTL values in the zone and
using a value of 604800 seconds (1 week) as the maximum zone TTL in key
rollover timing calculations. [GL #4032]

Known Issues
There are no new known issues with this release. See above for a list of
all known issues affecting this BIND 9 branch.

Link to release notes:
https://bind9.readthedocs.io/en/v9.18.19/notes.html#notes-for-bind-9-18-19

(From OE-Core rev: b88fe4581a48c1639764266380921d452a9b6132)

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-09-30 09:43:59 -10:00
Narpat Mali
eae16020a2 python3-git: upgrade 3.1.32 -> 3.1.37
The delta between 3.1.32 & 3.1.37 contains the CVE-2023-40590 and
CVE-2023-41040 fixes and other bugfixes.

Changelog:
==========
- WIP Quick doc by @LeoDaCoda in #1608
- Partial clean up wrt mypy and black by @bodograumann in #1617
- Disable merge_includes in config writers by @bodograumann in #1618
- feat: full typing for "progress" parameter in Repo class by @madebylydia in #1634
- Fix CVE-2023-40590 by @EliahKagan in #1636
- #1566 Creating a lock now uses python built-in "open()" method to work arou… by @HageMaster3108 in #1619
- util: close lockfile after opening successfully by @skshetry in #1639
- Bump actions/checkout from 3 to 4 by @dependabot in #1643
- Fix 'Tree' object has no attribute '_name' when submodule path is normal path by @CosmosAtlas in #1645
- Fix CVE-2023-41040 by @facutuesca in #1644
- Only make config more permissive in tests that need it by @EliahKagan in #1648
- Added test for PR #1645 submodule path by @CosmosAtlas in #1647
- Fix Windows environment variable upcasing bug by @EliahKagan in #1650
- Improve Python version and OS compatibility, fixing deprecations by @EliahKagan in #1654
- Better document env_case test/fixture and cwd by @EliahKagan in #1657
- Remove spurious executable permissions by @EliahKagan in #1658
- Fix up checks in Makefile and make them portable by @EliahKagan in #1661
- Fix URLs that were redirecting to another license by @EliahKagan in #1662
- Assorted small fixes/improvements to root dir docs by @EliahKagan in #1663
- Use venv instead of virtualenv in test_installation by @EliahKagan in #1664
- Omit py_modules in setup by @EliahKagan in #1665
- Don't track code coverage temporary files by @EliahKagan in #1666
- Configure tox by @EliahKagan in #1667
- Format tests with black and auto-exclude untracked paths by @EliahKagan in #1668
- Upgrade and broaden flake8, fixing style problems and bugs by @EliahKagan in #1673
- Fix rollback bug in SymbolicReference.set_reference by @EliahKagan in #1675
- Remove @NoEffect annotations by @EliahKagan in #1677
- Add more checks for the validity of refnames by @facutuesca in #1672

Note that the changes to the license file are just removal of excess whitespace
(the extra blank line at the end, and spaces appearing at the end of lines).

References:
https://github.com/gitpython-developers/GitPython/releases
https://github.com/gitpython-developers/GitPython/blob/main/doc/source/changes.rst
e1af18377f

(From OE-Core rev: 35cb21d6c8076428c0c60f03bb1b8f6945e2a07c)

Signed-off-by: Narpat Mali <narpat.mali@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-09-30 09:43:59 -10:00
Peter Marko
81cad46d69 openssl: Upgrade 3.0.10 -> 3.0.11
https://github.com/openssl/openssl/blob/openssl-3.0/NEWS.md#major-changes-between-openssl-3010-and-openssl-3011-19-sep-2023
Major changes between OpenSSL 3.0.10 and OpenSSL 3.0.11 [19 Sep 2023]
* Fix POLY1305 MAC implementation corrupting XMM registers on Windows (CVE-2023-4807)

(From OE-Core rev: 1263bb1784e8e052d903408faffcf39431fd9a10)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-09-30 09:43:59 -10:00
Colin McAllister
8b4655300d libwebp: Fix CVE-2023-5129
Add patch from libwebp 1.2.4 to fix CVE-2023-5129

(From OE-Core rev: 544301c63801cf0c0cfcc0c8d71bdd8e2de82805)

Signed-off-by: Colin McAllister <colinmca242@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-09-30 09:43:59 -10:00
Lee Chee Yang
425ed15bde cups: Fix CVE-2023-4504
(From OE-Core rev: dc5c06da7a793e85276ce8ce9de1c06decb6e133)

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-09-30 09:43:59 -10:00
Ross Burton
6cbbd132d3 xserver-xorg: ignore CVE-2022-3553 as it is XQuartz-specific
(cherry-pick from commit 769576f36aac9652525beec5c7e8a4d26632b844 )

(From OE-Core rev: 96d36b97d9c6d1f5e79b1bea79f182561423fecb)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-09-30 09:43:59 -10:00
Yogita Urade
e67e90c557 webkitgtk: fix CVE-2023-32439
A type confusion issue was addressed with improved checks.
This issue is fixed in iOS 16.5.1 and iPadOS 16.5.1, Safari
16.5.1, macOS Ventura 13.4.1, iOS 15.7.7 and iPadOS 15.7.7.
Processing maliciously crafted web content may lead to
arbitrary code execution. Apple is aware of a report that
this issue may have been actively exploited.

(From OE-Core rev: cdbc3c1548299eb78aeebb94909224eca8410158)

Signed-off-by: Yogita Urade <yogita.urade@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-09-30 09:43:59 -10:00
Meenali Gupta
a54b91946c ruby: fix CVE-2023-36617
Backport two patches [1] [2] to fix CVE-2023-36617

(From OE-Core rev: 7a40082e4e080eaf5f88bd24f7169b7731028529)

Signed-off-by: Meenali Gupta <meenali.gupta@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-09-30 09:43:59 -10:00
Ross Burton
a1b812eefa linux-yocto: update CVE exclusions
Update the CVE exclusions to match the kernel version, and add an
exclusion file for 5.10.

(From OE-Core rev: 33ae699eaa91900ae64e6ab46f6c2bca75eb3184)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-09-30 09:43:59 -10:00
Siddharth Doshi
7435f15930 go: Fix CVE-2023-39318
Upstream-Status: Backport from [023b542edf]
CVE: CVE-2023-39318
(From OE-Core rev: 35fa5c12f86bda2c8542bdb57074f55808697a42)

Signed-off-by: Siddharth Doshi <sdoshi@mvista.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-09-30 09:43:59 -10:00
Archana Polampalli
fe7e47368e gstreamer1.0-plugins-bad: fix CVE-2023-40476
gst-plugins-bad: h265parser: Fix possible overflow using max_sub_layers_minus1

(From OE-Core rev: 2abcf03fbe343596de38113c655028c157763245)

Signed-off-by: Archana Polampalli <archana.polampalli@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-09-30 09:43:59 -10:00
Archana Polampalli
200596b5ad gstreamer1.0-plugins-bad: fix CVE-2023-40475
gst-plugins-bad: Integer overflow leading to heap overwrite in MXF file handling with AES3 audio

(From OE-Core rev: e5b5f7118320eecd77a6501a90d9cc73c578babc)

Signed-off-by: Archana Polampalli <archana.polampalli@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-09-30 09:43:59 -10:00
Archana Polampalli
226bc34085 gstreamer1.0-plugins-bad: fix CVE-2023-40474
gst-plugins-bad: Heap-based buffer overflow in the MXF file demuxer when handling
malformed files with uncompressed video in GStreamer versions before 1.22.6

(From OE-Core rev: d0c8e2f78c8003ad383cc63cff32147156412650)

Signed-off-by: Archana Polampalli <archana.polampalli@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-09-30 09:43:59 -10:00
Archana Polampalli
df7a37d54f ghostscript: fix CVE-2023-43115
In Artifex Ghostscript through 10.01.2, gdevijs.c in GhostPDL can lead to remote
code execution via crafted PostScript documents because they can switch to the
IJS device, or change the IjsServer parameter, after SAFER has been activated.
NOTE: it is a documented risk that the IJS server can be specified on a gs
command line (the IJS device inherently must execute a command to start the IJS server).

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

Upstream patches:
https://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=8b0f20002536867bd73ff4552408a72597190cbe

(From OE-Core rev: 1d169e50f28c93434461aa3ecbc47c21509143e9)

Signed-off-by: Archana Polampalli <archana.polampalli@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-09-30 09:43:59 -10:00
Soumya Sambu
dc1a3be255 shadow: Fix CVE-2023-4641
shadow-utils: possible password leak during passwd(1) change

(From OE-Core rev: 734a3e1fb5ee8ded3097a94c7ee8696518346166)

Signed-off-by: Soumya Sambu <soumya.sambu@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-09-30 09:43:59 -10:00
Steve Sakoman
e51bf557f5 build-appliance-image: Update to kirkstone head revision
(From OE-Core rev: d90e4d5e3cca9cffe8f60841afc63667a9ac39fa)

Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-09-24 10:54:48 -10:00
Steve Sakoman
989cd671cb Revert "oeqa/utils/gitarchive: fix tag computation when creating archive"
This reverts commit d0f8d5915a9ad3340a553b4a22f91074d7e679c9.

This is causing errors with buildperf on the autobuilder.

(From OE-Core rev: 87eee047cf77bc3fc2c7d6b2a4f35d2642919111)

Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-09-24 10:53:11 -10:00
Steve Sakoman
64242e2844 build-appliance-image: Update to kirkstone head revision
(From OE-Core rev: 6c7fef37d4286f6bfc7b1dcb2d1e543a110a7f6f)

Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-09-23 05:32:58 -10:00
Steve Sakoman
e6076b6269 poky.conf: bump version for 4.0.13
(From meta-yocto rev: 8b50fe692a24a80b5c3cd1f816bcdd3e0b00418a)

Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-09-23 05:26:16 -10:00
Michael Opdenacker
dfa76689b8 dev-manual: licenses: update license manifest location
- Fix broken markup (wasn't displaying properly)
- Update the path to the directory containing license information
  (this change applies to the kirkstone branch)
- Fix typo later in the document

(From yocto-docs rev: 8f02741de867125f11a37822b2d206be180d4ee3)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-09-23 05:26:16 -10:00
Michael Opdenacker
3fde5d606b manuals: document "mime-xdg" class and MIME_XDG_PACKAGES
(From yocto-docs rev: 4415d95358497b23f0a7b10f9ee31203ccc01eff)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-09-23 05:26:16 -10:00
Michael Opdenacker
870c6a73a7 ref-manual: qa-checks: align with master
(From yocto-docs rev: 56bbfab163a6b42aaa32d9350f30b2414a60fc75)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-09-23 05:26:16 -10:00
Roland Hieber
131beeedb6 template: fix typo in section header
(From yocto-docs rev: 325c1cbdf157ae9e4f7fecc330e60056ff056d91)

Signed-off-by: Roland Hieber <rhi@pengutronix.de>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-09-23 05:26:16 -10:00
Michael Opdenacker
fde8ab5b90 dev-manual: licenses: mention SPDX for license compliance
(From yocto-docs rev: cdd98a93f36694404393279d29743d97edd9be22)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
CC: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-09-23 05:26:16 -10:00
Michael Opdenacker
593618f139 contributor-guide: recipe-style-guide: add Upstream-Status
(From yocto-docs rev: 0618611fa049db2b9717cbe609c583a5bb16954e)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-09-23 05:26:16 -10:00
Michael Opdenacker
b17bb4e9c0 dev-manual: new-recipe.rst fix inconsistency with contributor guide
This document was suggesting a way to version pre-releases
which doesn't match the latest recommendations from the
contributor guide.

(From yocto-docs rev: f37c9e7d44a2f7aefc3b505ae4461e6f1a8b0bb2)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-09-23 05:26:16 -10:00
Michael Opdenacker
31af34e1af documentation/README: align with master
(From yocto-docs rev: 8638eadda09e932534eb6bb345b4d0299974b219)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-09-23 05:26:16 -10:00
Michael Opdenacker
a2de040a44 dev-manual: disk-space: improve wording for obsolete sstate cache files
Replace "duplicate" by "obsolete", more appropriate.
"duplicate" probably comes from the "--remove-duplicated"
option of the sstate-cache-management.sh script.

Improve other sentences too.

(From yocto-docs rev: 20206debecac0848dc18765846b990ac994209ec)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Reported-by: Richard Purdie <richard.purdie@linuxfoundation.org>
CC: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-09-23 05:26:16 -10:00
Michael Opdenacker
bdf0b48912 sdk-manual: extensible.rst: align with master branch
In particular, this addresses multiple formatting issues.
Aligning with the master branch as all updates apply to
kirkstone too.

(From yocto-docs rev: 5e2ec35e3d63f9c73726122fe2b3dd6d6f85a77e)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-09-23 05:26:16 -10:00
Michael Opdenacker
b099a1c252 manuals: update former references to dev-manual/common-tasks
(From yocto-docs rev: f8bb4c392912f15bb78f6f25910f85897abb4e3d)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-09-23 05:26:16 -10:00
Michael Opdenacker
337a21080b dev-manual: split common-tasks.rst
Reusing content from the master branch which underwent
this change earlier.

This change makes it much easier to backport manual
updates to the kirkstone LTS branch.

To make the change and future updates simpler, reused file contents
from master, only excluding changes which don't apply to kirkstone.

(From yocto-docs rev: 95171233f0e96c00d55ed40cf713c62e6df57b8d)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-09-23 05:26:16 -10:00
Michael Opdenacker
90e943b8d1 ref-manual: add new variables
Backported from "master" and used in dev-manual
documents to be synchronized with master.

(From yocto-docs rev: 1938d6017a1c9acc2c5f57c4cc6a87b918609381)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-09-23 05:26:16 -10:00
Michael Opdenacker
2be874d5b4 ref-manual: add Initramfs term
Backported from the master branch

(From yocto-docs rev: f5ecf1f407585617d258b6afc706d43fdbb33547)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-09-23 05:26:16 -10:00
Michael Opdenacker
5ea10fc05b ref-manual: add meson class and variables
Backported from the master branch

(From yocto-docs rev: 266540ffdf84df14ebde374927e6e8ddd8ee688e)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-09-23 05:26:16 -10:00
Alexander Kanavin
598c3d25c6 cargo.bbclass: set up cargo environment in common do_compile
cargo_do_compile runs only if the recipe is built using cargo
as the top level tool. Some recipes hide usage of cargo inside setuptools
(or autoconf) and use do_compile definitions specific to those,
and so the environment isn't properly set up.

This was exposed by latest versions of python3-cryptography.

(From OE-Core rev: a3f566fcbfc02e0a3b3f6a676d6dde88a5b50506)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 9f4ff643a028d7f5670d80861f2ce19ca2d90faa)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-09-23 05:26:16 -10:00
Pavel Zhukov
1cdf86a68f dbus: Specify runstatedir configure option
Without specifing runstatedir tmpfiles.d is configured to use /var/run
for dbus and this causes deprecation warnings in system logs.

(From OE-Core rev: 55529a5cb481b64ab4390728e01650bc585be602)

Signed-off-by: Pavel Zhukov <pavel.zhukov@huawei.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 4df1a16e5c38d0fb724f63d37cc032aa37fa122f)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-09-23 05:26:16 -10:00
Martin Jansa
989673a26f tcl: prevent installing another copy of tzdata
It checks build host filesystem and if it doesn't find UTC or GMT
files it installs another copy of tzdata files in:
/usr/lib/tcl8.6/tzdata

Buildhistory shows the difference:
-PKGSIZE = 2227075
+PKGSIZE = 3433088

See the autodetection in configure.in:
  #------------------------------------------------------------------------
  #       Check whether the timezone data is supplied by the OS or has
  #       to be installed by Tcl. The default is autodetection, but can
  #       be overridden on the configure command line either way.
  #------------------------------------------------------------------------

  AC_MSG_CHECKING([for timezone data])
  AC_ARG_WITH(tzdata,
      AC_HELP_STRING([--with-tzdata],
          [install timezone data (default: autodetect)]),
      [tcl_ok=$withval], [tcl_ok=auto])

  #
  # Any directories that get added here must also be added to the
  # search path in ::tcl::clock::Initialize (library/clock.tcl).
  #
  case $tcl_ok in
      no)
          AC_MSG_RESULT([supplied by OS vendor])
      ;;
      yes)
          # nothing to do here
      ;;
      auto*)
          AC_CACHE_VAL([tcl_cv_dir_zoneinfo], [
          for dir in /usr/share/zoneinfo \
                  /usr/share/lib/zoneinfo \
                  /usr/lib/zoneinfo
          do
                  if test -f $dir/UTC -o -f $dir/GMT
                  then
                          tcl_cv_dir_zoneinfo="$dir"
                          break
                  fi
          done])
          if test -n "$tcl_cv_dir_zoneinfo"; then
              tcl_ok=no
              AC_MSG_RESULT([$dir])
          else
              tcl_ok=yes
          fi
      ;;
      *)
          AC_MSG_ERROR([invalid argument: $tcl_ok])
      ;;
  esac
  if test $tcl_ok = yes
  then
      AC_MSG_RESULT([supplied by Tcl])
      INSTALL_TZDATA=install-tzdata
  fi

(From OE-Core rev: 79498ea0e9eb88ad0175f7376c57efb46217a4a4)

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 3ace9fbfeb42ebf920812e3dd6d665b8b20a1ca0)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-09-23 05:26:16 -10:00
Markus Niebel
d95804e584 wic: fix wrong attempt to create file system in upartitioned regions
The kickstart parser defaults fstype to "vfat". This leads to an attempt
to create an empty file system even for regions configured with "--no-table"
if used without fstype when no --sourceparams given.

The fix tests for fstype "none" or no_table in Partition prepare method.
This will omit the file system creation an the potential error for small
region with --no-table option.

(From OE-Core rev: af9f392a5e259b681077f25fa263965714a73a05)

Signed-off-by: Markus Niebel <Markus.Niebel@ew.tq-group.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit db771a4cd36bf291a8b68edfd905e03243f2c8b3)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-09-23 05:26:16 -10:00
Khem Raj
d749d2f33e build-sysroots: Add SUMMARY field
Fixes build QA warning about [missing-metadata]

(From OE-Core rev: 29fe45fe8857f72705183a87b4e85a3723900a78)

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 4f4c7130f11c069ab18c374dcbfb1276ef37be60)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-09-23 05:26:16 -10:00
Richard Purdie
8df5830dda resulttool/report: Avoid divide by zero
Avoid a divide by zero traceback if unfortunate test counts are encountered.

(From OE-Core rev: b95c6a5278d44fddfbaea45cc78324f1e099187c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit c5aeea53dfacb53dedb8445cb3523dc3a8cb6dca)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-09-23 05:26:16 -10:00
Alexis Lothoré
f449d0a84c oeqa/utils/gitarchive: fix tag computation when creating archive
Sporadic errors have been observed in autobuilder when trying to store new
tests results:

error: failed to push some refs to 'push.yoctoproject.org:yocto-testresults'
hint: Updates were rejected because the tag already exists in the remote.

The new tag name is generated by gitarchive based on known tags from the
repository (learnt with git tag). In autobuilder case, this repository is a
shallow clone, so git tag only returns most recent tags, which mean we
could miss some older tags which exist in remote but not locally. In this
case, gitarchive will likely create a tag which already exists in remote,
and so will fail to push

Fix this tag duplication by using git ls-remote to learn about existing
tags instead of git tag. Two places which wrongly read only local tags has
been identified in gitarchive:  expand_tag_strings and get_test_runs

Fixes [YOCTO #15140]

(From OE-Core rev: d0f8d5915a9ad3340a553b4a22f91074d7e679c9)

Signed-off-by: Alexis Lothoré <alexis.lothore@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 5a0a7da85a3acfd4a20a07478eabefdab60f313a)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-09-23 05:26:16 -10:00
Michael Opdenacker
61960b99d2 scripts/create-pull-request: update URLs to git repositories
Also remove the git.pokylinux.org URL, no longer used.

(From OE-Core rev: c88343380bd6a66f6e18637170c53b003594af7a)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 47b88d143c2fc61ce0e03b7eb3a9dbcffadbf5b1)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-09-23 05:26:15 -10:00
Peter Suti
2b7735291d externalsrc: fix dependency chain issues
Instead of deleting setscene tasks, now SSTATE_SKIP_CREATION is set instead.

This seems to fix the compile issues where the populate_sysroot task was
not run when an externalsrc recipe was built as a dependency.

[YOCTO #15164]

[RP addition: The deltask was added by me in 2012 when the class was created.
The trouble is bitbake assumes 'sstate' tasks have a setscene task and by deleting
the setscene task, bitbake stops thinking the task can be accelerated. There is other
code in the sysroot code which assumes some tasks are always sstate tasks.

We cannot delete the task without changes to the way bitbake learns about 'setscene'
tasks so the patch is correct, avoiding creating files is the better approach given
the way the world works now.

There would be concerns about exisitng sstate reuse however this shouldn't occur
since SRC_URI changes and that will change the underlying hashes. Hash equivalency
could potentially cause issues by joining hashes together again however if the output
matches, that shouldn't in theory cause any issue.]

(From OE-Core rev: f6bb8438a18dfa2a520ad6fa65662d908f4ef0ed)

Signed-off-by: Peter Suti <peter.suti@streamunlimited.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit ee4667a24ccdd8c9d547e73aecf661e6a1283890)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-09-23 05:26:15 -10:00
Richard Purdie
4682ae38f2 pseudo: Fix to work with glibc 2.38
This adds a horrible hack to get pseudo working with glibc 2.38. We can't
drop _GNU_SOURCE to something like _DEFAULT_SOURCE since we need the defines
the gnu options bring in. That leaves using internal glibc defines to disable
the c23 versions of strtol/fscanf and friends. Which would break pseudo
build with 2.38 from running on hosts with older glibc.

We'll probably need to come up with something better but this gets glibc 2.38
and working and avoids autobuilder failures.

(From OE-Core rev: 909fd25c2ebd25f5d3bc560e26f9df6862e033d0)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 596fb699d470d7779bfa694e04908929ffeabcf7)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-09-23 05:26:15 -10:00
Richard Purdie
cb2e2c6d2a vim: Upgrade 9.0.1664 -> 9.0.1894
This includes multiple CVE fixes.

The license change is due to changes in maintainership, the license
itself is unchanged.

(From OE-Core rev: 5f78a010a4ff53f4a216ec2ebe9b7a44c5c88790)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 91e66b93a0c0928f0c2cfe78e22898a6c9800f34)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-09-23 05:26:15 -10:00
Archana Polampalli
98393b32a9 vim: upgrade 9.0.1592 -> 9.0.1664
Fixes:
https://nvd.nist.gov/vuln/detail/CVE-2023-3896
8154e642a (tag: v9.0.1664) patch 9.0.1664: divide by zero when scrolling with 'smoothscroll' set

(From OE-Core rev: d5ba3546053cff49ee1ea66a97fe4b4a0aa76308)

Signed-off-by: Archana Polampalli <archana.polampalli@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 4a1ab744142c9229f03a359b45e5e89a1fbae0d3)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-09-23 05:26:15 -10:00
Etienne Cordonnier
aaa6a4947d vim: update obsolete comment
vim 8.3 has been out for a long time, so this comment is obsolete.
However we still need UPSTREAM_VERSION_UNKNOWN, since we ignore
the last digit of the upstream version number.

Test result:
$ devtool check-upgrade-status vim
  ...
  INFO: vim                       9.0.1592        UNKNOWN         Tom Rini <trini@konsulko.com> c0370529c027abc5b1698d53fcfb8c02a0c515da

(From OE-Core rev: 65f5de85c3f488136d1ec2b1f7fe8d8426d6c5b3)

(From OE-Core rev: 72af322b6b8afd64a59b30a4f0fc3f8c6dfaa06a)

Signed-off-by: Etienne Cordonnier <ecordonnier@snap.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 868a19357841470eb55fb7f1c4ab1af09dea99ed)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-09-23 05:26:15 -10:00
Wang Mingyu
c84d629b17 tar: upgrade 1.34 -> 1.35
CVE-2022-48303.patch
removed since it's included in 1.35

License-Update: http changed to https

Changelog:
===========
* Fail when building GNU tar, if the platform supports 64-bit time_t
  but the build uses only 32-bit time_t.
* Leave the devmajor and devminor fields empty (rather than zero) for
  non-special files, as this is more compatible with traditional tar.
* Bug fixes
** Fix interaction of --update with --wildcards.
** When extracting archives into an empty directory, do not create
   hard links to files outside that directory.
** Handle partial reads from regular files.
** Warn "file changed as we read it" less often.
** Fix --ignore-failed-read to ignore file-changed read errors
** Fix --remove-files to not remove a file that changed while we read it.
** Fix --atime-preserve=replace to not fail if there was no need to replace,
   either because we did not read the file, or the atime did not change.
** Fix race when creating a parent directory while another process is
   also doing so.
** Fix handling of prefix keywords not followed by "." in pax headers.
** Fix handling of out-of-range sparse entries in pax headers.
** Fix handling of --transform='s/s/@/2'.
** Fix treatment of options ending in / in files-from list.
** Fix crash on 'tar --checkpoint-action exec=\"'.
** Fix low-memory crash when reading incremental dumps.
** Fix --exclude-vcs-ignores memory allocation misuse.

(From OE-Core rev: 4910b1e46a67dcdc3f7ebbab648a2b365c1910da)

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 c63769de05ce08c0627d302d14316ced31816b4d)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-09-23 05:26:15 -10:00
Sanjana
07593122c9 binutils: stable 2.38 branch updates
Below commits on binutils-2.38 stable branch are updated.

ea5fe5d01e5 PR30697, ppc32 mix of local-dynamic and global-dynamic TLS

(From OE-Core rev: e8becc003d6926cc347ec42c0f13dcd5d9042b4d)

Signed-off-by: Sanjana <sanjanasanju1608@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-09-23 05:26:15 -10:00
Sanjana
ce24d58dda glibc: stable 2.35 branch updates
Below commits on glibc-2.35 stable branch are updated.

561e9dadc0 x86: Fix incorrect scope of setting `shared_per_thread`
1c3ecf5858 x86: Use `3/4*sizeof(per-thread-L3)` as low bound for NT threshold.
47c7d2eb03 x86: Fix slight bug in `shared_per_thread` cache size calculation.
d1b1da26ea x86: Increase `non_temporal_threshold` to roughly `sizeof_L3 / 4`
e19af583b4 elf: _dl_find_object may return 1 during early startup.

(From OE-Core rev: b834674ada7329ab60130ebe7350dff592060ecf)

Signed-off-by: Sanjana <sanjanasanju1608@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-09-23 05:26:15 -10:00
Ross Burton
f15ebb2af3 gcc: Fix -fstack-protector issue on aarch64
This series of patches fixes deficiencies in GCC's -fstack-protector
implementation for AArch64 when using dynamically allocated stack space.
This is CVE-2023-4039.  See:

https://developer.arm.com/Arm%20Security%20Center/GCC%20Stack%20Protector%20Vulnerability%20AArch64
https://github.com/metaredteam/external-disclosures/security/advisories/GHSA-x7ch-h5rf-w2mf

for more details.

(From OE-Core rev: e6592fc8308240872300a6295162e14d54c5a905)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-09-23 05:26:15 -10:00
Sanjana
2a7595f1c1 binutils: Fix CVE-2022-48065
(From OE-Core rev: 860ecdbbf5cfd8737c914522af16dbc8bee0f72f)

Signed-off-by: Sanjana <sanjanasanju1608@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-09-23 05:26:15 -10:00
Yogita Urade
cfc7247089 cups: fix CVE-2023-32360
An authentication issue was addressed with improved state management.
This issue is fixed in macOS Big Sur 11.7.7, macOS Monterey 12.6.6,
macOS Ventura 13.4. An unauthenticated user may be able to access
recently printed documents.

References:
https://ubuntu.com/security/CVE-2023-32360
https://security-tracker.debian.org/tracker/CVE-2023-32360

(From OE-Core rev: b04f40d7afba07ff602bffffc9a517ccfdd44850)

Signed-off-by: Yogita Urade <yogita.urade@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-09-23 05:26:15 -10:00
Soumya Sambu
de7443a25d go: Fix CVE-2023-39319
The html/template package does not apply the proper rules for handling
occurrences of "<script", "<!--", and "</script" within JS literals in
<script> contexts. This may cause the template parser to improperly
consider script contexts to be terminated early, causing actions to be
improperly escaped. This could be leveraged to perform an XSS attack.

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

(From OE-Core rev: afdc322ecff4cfd8478c89a03f7fce748a132b48)

Signed-off-by: Soumya Sambu <soumya.sambu@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-09-23 05:26:15 -10:00
Michael Opdenacker
5c556073ac dev-manual: common-tasks: mention faster "find" command to trim sstate cache
[YOCTO #15182]

(From yocto-docs rev: dd778676c946faa8702e8fcc9126ad9537e7a21e)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Reported-by: Yoann CONGAL <yoann.congal@smile.fr>
Reported-by: Randy MacLeod <randy.macleod@windriver.com>
Reported-by: Josef Holzmayr <jester@theyoctojester.info>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-09-18 04:28:04 -10:00
Michael Halstead
ad9420b072 yocto-uninative: Update to 4.3
Add in stable updates to glibc 2.38 to fix malloc bugs

(From OE-Core rev: 26309ba6ef5b776d6bc45b984261b91e6c8c5a94)

Signed-off-by: Michael Halstead <mhalstead@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 39f987fcb20ad7c0e45425b9f508d463c50ce0c1)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-09-18 04:28:04 -10:00
Siddharth Doshi
a77949631a gdb: Fix CVE-2023-39128
Note: The Fix needs to be pushed in gdb rather than bintuils-gdb as we are
disabling gdb in binutils configure.

Upstream-Status: Backport from [https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=033bc52bb6190393c8eed80925fa78cc35b40c6d]
CVE: CVE-2023-39128
(From OE-Core rev: 1a19a101cecc578aac84e365a361b76f129fe655)

Signed-off-by: Siddharth Doshi <sdoshi@mvista.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-09-18 04:28:04 -10:00
Yogita Urade
e60ba6d4fe webkitgtk: fix CVE-2022-48503
The issue was addressed with improved bounds checks. This issue
is fixed in tvOS 15.6, watchOS 8.7, iOS 15.6 and iPadOS 15.6,
macOS Monterey 12.5, Safari 15.6. Processing web content may
lead to arbitrary code execution.

References:
https://nvd.nist.gov/vuln/detail/CVE-2022-48503
https://support.apple.com/en-us/HT213340
https://bugs.webkit.org/show_bug.cgi?id=241931

(From OE-Core rev: 8f956bc19963a02ee7b908bb49301a2ea5052066)

Signed-off-by: Yogita Urade <yogita.urade@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-09-18 04:28:04 -10:00
Meenali Gupta
084b7e5f9c flac: fix CVE-2020-22219
Buffer Overflow vulnerability in function bitwriter_grow_ in flac before
1.4.0 allows remote attackers to run arbitrary code via crafted input to
the encoder.

(From OE-Core rev: 29c6287287c9f26c1d6f9fddf8d2852409bbbbec)

Signed-off-by: Meenali Gupta <meenali.gupta@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-09-18 04:28:03 -10:00
Soumya Sambu
670a3345f5 libxml2: Fix CVE-2023-39615
Xmlsoft Libxml2 v2.11.0 was discovered to contain a global buffer overflow via
the xmlSAX2StartElement() function at /libxml2/SAX2.c. This vulnerability
allows attackers to cause a Denial of Service (DoS) via supplying a crafted XML
file.

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

(From OE-Core rev: 9a2ad95caffae37014fa27d9b20d45f9779d0fbf)

Signed-off-by: Soumya Sambu <soumya.sambu@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-09-18 04:28:03 -10:00
Yogita Urade
062cbf2be7 qemu: fix CVE-2021-3638
QEMU: ati-vga: inconsistent check in ati_2d_blt() may lead to
out-of-bounds write.

Reference:
https://nvd.nist.gov/vuln/detail/CVE-2021-3638
https://lists.nongnu.org/archive/html/qemu-devel/2021-09/msg01682.html

(From OE-Core rev: ebbdbb68a7804accd5430dd05f7899599ddbacd8)

Signed-off-by: Yogita Urade <yogita.urade@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-09-18 04:28:03 -10:00
Yogita Urade
fb8ca2cbec dropbear: fix CVE-2023-36328
Integer Overflow vulnerability in mp_grow in libtom libtommath before
commit beba892bc0d4e4ded4d667ab1d2a94f4d75109a9, allows attackers to
execute arbitrary code and cause a denial of service (DoS).

References:
https://nvd.nist.gov/vuln/detail/CVE-2023-36328
https://github.com/libtom/libtommath/pull/546

(From OE-Core rev: 38709b0d35e7bd6760285bfa926dc85985c5cdcd)

Signed-off-by: Yogita Urade <yogita.urade@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-09-18 04:28:03 -10:00
Narpat Mali
b402c3ac78 python3-pygments: Fix CVE-2022-40896
CVE-2022-40896:
A ReDoS issue was discovered in pygments/lexers/smithy.py in pygments
through 2.15.0 via SmithyLexer.

The CVE issue is fixed by 3 different commits between the releases 2.14.0
(for Smithy lexer), 2.15.0 (for SQL+Jinja lexers) and 2.15.1 (for Java
properties) as per: https://pyup.io/posts/pyup-discovers-redos-vulnerabilities-in-top-python-packages-part-2/

1. Smithy lexer commit from 2.14.0 release applies successfully on 2.11.2 version.
Commit: dd52102c38
Hence, backported the patch as CVE-2022-40896.patch.

2. SQL+Jinja lexers commit from 2.15.0 release doesn't apply on 2.11.2 version.
Commit: 97eb3d5ec7
Actually, this code doesn't exist in 2.11.2 version and it has been introduce by
python3-pygments 2.13.0 version. Hence, this is not vulnerable for 2.11.2 version.
SQL+Jinja lexers is introduced by: 0bdbd5992b

3. Java properties commit from 2.15.1 release also doesn't apply on 2.11.2 version.
Commit: fdf182a7af
Actually, this code also doesn't exist in 2.11.2 version as the code has been modified
in python3-pygments 2.14.0 by: a38cb38e93
Hence, this is also not vulnerable for 2.11.2 version.

(From OE-Core rev: ebb224e65a7e1402ccf0d9517bd72748c18e012e)

Signed-off-by: Narpat Mali <narpat.mali@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-09-18 04:28:03 -10:00
Michael Opdenacker
5d822b3131 manuals: add new contributor guide
(From yocto-docs rev: 028a1b89fbb6ee7f02a7ca8cd481931e096d764b)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-09-08 16:09:42 -10:00
Michael Opdenacker
be72b71280 ref-manual: system-requirements: update supported distros
- Update according to changes in SANITY_TESTED_DISTROS
  (meta-poky/conf/distro/poky.conf)

- No longer declare as "Supported" the distributions versions
  which are End of Life for their vendors, as some of them
  (Ubuntu for example) ship updates to subscribers only,
  which the Yocto Project has no access to.

- List distribution versions which were previously tested
  for the branch of the Yocto Project being considered.

(From yocto-docs rev: 84d7f2e2a218502b4af4fc2e7de1761e489f86f4)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-09-08 16:09:42 -10:00
Lee Chee Yang
cd8e085ad3 migration-guides: add release notes for 4.0.12
(From yocto-docs rev: d43d4314df65b7e7c6d6b79c777d11c5a7135c43)

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-09-08 16:09:42 -10:00
Changqing Li
963908553b sysklogd: fix integration with systemd-journald
Fix an issue with early log messages being lost when running in systemd.

(From OE-Core rev: 47a1dd7f389e3cf4ac2dc5fc21dccc870aafab4a)

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-09-08 16:09:42 -10:00
Abe Kohandel
4bf9d11c4b libdnf: resolve cstdint inclusion for newer gcc versions
Depending on the host gcc version, libdnf fails to compile due to
missing cstdint inclusions. These issue have already been addressed
upstream, add the patches to resolve this for older versions of the
library.

These commits are taken directly from the libdnf project at
https://github.com/rpm-software-management/libdnf

(From OE-Core rev: e1d9bc1f88bd989bafc20063938d7a70e1da104f)

Signed-off-by: Abe Kohandel <abe.kohandel@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-09-08 16:09:42 -10:00
Martin Jansa
b714a94ea7 efivar: backport 5 patches to fix build with gold
* LDFLAGS += "-fuse-ld=bfd" in the recipe doesn't work and
  it still fails to build with ld-is-gold in DISTRO_FEATURES

  removal of this line sent to master in:
  https://lists.openembedded.org/g/openembedded-core/message/185167

* the most important ones are the 1st which removes --add-needed
  and the last which removes src/include/workarounds.mk completely
  while 2-4 patches just update src/include/workarounds.mk for the
  last one to apply cleanly

* alternatively we can bump SRCREV to latest 38 as master did in:
  https://git.openembedded.org/openembedded-core/commit/?id=4df808c616f847d90203582fd950a49bb8360dd0
  which brings 23 commits, but instead of adding 5 more patches
  allows to remove 5

(From OE-Core rev: d5c7ec0be32aa75fa7973840adf5251d22018766)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-09-08 16:09:41 -10:00
Chee Yang Lee
0fb3fd0a0d python3: upgrade to 3.10.13
Release date: 2023-08-24

Security
gh-108310: Fixed an issue where instances of ssl.SSLSocket were
vulnerable to a bypass of the TLS handshake and included protections
(like certificate verification) and treating sent unencrypted data as if
it were post-handshake TLS encrypted data. Security issue reported as
CVE-2023-40217 by Aapo Oksman. Patch by Gregory P. Smith.

Library
gh-107845: tarfile.data_filter() now takes the location of symlinks into
account when determining their target, so it will no longer reject some
valid tarballs with LinkOutsideDestinationError.

Tools/Demos
gh-107565: Update multissltests and GitHub CI workflows to use OpenSSL
1.1.1v, 3.0.10, and 3.1.2.

C API
gh-99612: Fix PyUnicode_DecodeUTF8Stateful() for ASCII-only data:
*consumed was not set.

(From OE-Core rev: a30e51b8d13912f0d68bfffcd2d8ae6431d2b863)

Signed-off-by: Chee Yang Lee <chee.yang.lee@intel.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-09-08 16:09:41 -10:00
Archana Polampalli
f1de33df8b nasm: fix CVE-2020-21528
A Segmentation Fault issue discovered in in ieee_segment function in outieee.c
in nasm 2.14.03 and 2.15 allows remote attackers to cause a denial of service
via crafted assembly file.

References:
https://nvd.nist.gov/vuln/detail/CVE-2020-21528

Upstream patches:
93c774d482

(From OE-Core rev: 87c4ec2d73ac2e52005e16e38a9a12affb8d51bd)

Signed-off-by: Archana Polampalli <archana.polampalli@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-09-08 16:09:41 -10:00
Chee Yang Lee
4eb5af2d8a file: fix CVE-2022-48554
ignore changes to FILE_RCSID part.

(From OE-Core rev: 20b5ead99d4904e70ea22f573bfefec8c6e862a2)

Signed-off-by: Chee Yang Lee <chee.yang.lee@intel.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-09-08 16:09:41 -10:00
Chee Yang Lee
91ea1ab7c6 libssh2: fix CVE-2020-22218
(From OE-Core rev: a0b41511766130883e93b5b8a07801a836beeb67)

Signed-off-by: Chee Yang Lee <chee.yang.lee@intel.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-09-08 16:09:41 -10:00
Kai Kang
4c27009f16 webkitgtk: fix CVE-2023-23529
Backport and rebase patch to fix CVE-2023-23529.

CVE: CVE-2023-23529

(From OE-Core rev: f8bce477ad88da70c3a4196912ba72049b2aa765)

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-09-08 16:09:41 -10:00
Meenali Gupta
908738d644 busybox: fix CVE-2022-48174
There is a stack overflow vulnerability in ash.c:6030 in busybox
vbefore 1.35. In the environment of Internet of Vehicles, this
vulnerability can be executed from command to arbitrary code execution.

(From OE-Core rev: 56b90b5f2da661bfac3f2d751fc09e918429ec87)

Signed-off-by: Meenali Gupta <meenali.gupta@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-09-08 16:09:41 -10:00
Soumya Sambu
5bdd860ee5 ncurses: fix CVE-2023-29491
Backport patch to fix CVE-2023-29491.

(From OE-Core rev: 4d79b1cc4178ba88830bab59a45163bbddf586ce)

Signed-off-by: Soumya Sambu <soumya.sambu@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-09-08 16:09:41 -10:00
Adrian Freihofer
d01be5cf84 json-c: fix CVE-2021-32292
This is a read past end of buffer issue in the json_parse test app,
which can happened with malformed json data. It's not an issue with the
library itself. For what ever reason this CVE has a base score of 9.8.

Reference:
https://nvd.nist.gov/vuln/detail/CVE-2021-32292

Upstream issue:
https://github.com/json-c/json-c/issues/654

The CVE is fixed with version 0.16 (which is already in all active
branches of poky).

(From OE-Core rev: a7b93651028b55d71b8db53ea831eee7fd539f33)

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-09-08 16:09:41 -10:00
Hitendra Prajapati
be24e22651 libtiff: fix CVE-2023-26966 Buffer Overflow
Upstream-Status: Backport from b0e1c25dd1

(From OE-Core rev: 0619953c9d87ec2dd670dc50f15170e5c42f95c7)

Signed-off-by: Hitendra Prajapati <hprajapati@mvista.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-09-08 16:09:41 -10:00
Vijay Anusuri
a56109b944 inetutils: Backport fix for CVE-2023-40303
Upstream-commit: https://git.savannah.gnu.org/cgit/inetutils.git/commit/?id=e4e65c03f4c11292a3e40ef72ca3f194c8bffdd6
& https://git.savannah.gnu.org/cgit/inetutils.git/commit/?id=9122999252c7e21eb7774de11d539748e7bdf46d

(From OE-Core rev: 2d2fc8e2b0eaa20f6bf8cfc0d1acd908f3dac2ec)

Signed-off-by: Vijay Anusuri <vanusuri@mvista.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-09-08 16:09:41 -10:00
Hitendra Prajapati
b19575391d tiff: fix CVE-2023-2908,CVE-2023-3316,CVE-2023-3618
Backport fixes for:
* CVE-2023-2908 - Upstream-Status: Backport from 9bd48f0dbd
* CVE-2023-3316 - Upstream-Status: Backport from d63de61b1e
* CVE-2023-3618 - Upstream-Status: Backport from 881a070194 && b5c7d4c4e0

(From OE-Core rev: d37cf315135c6778774a1bee458e61480f808aa5)

Signed-off-by: Hitendra Prajapati <hprajapati@mvista.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-09-08 16:09:41 -10:00
Narpat Mali
e42cc7d900 python3-git: upgrade 3.1.27 -> 3.1.32
The delta between 3.1.27 & 3.1.32 contains the CVE-2022-24439 &
CVE-2023-40267 fixes and other bugfixes.

Changelog:
https://github.com/gitpython-developers/GitPython/releases/tag/3.1.32
https://gitpython.readthedocs.io/en/stable/changes.html#id5

- Bump cygwin/cygwin-install-action from 3 to 4 by @dependabot in #1572
- Fix up the commit trailers functionality by @itsluketwist in #1576
- Name top-level exceptions as private variables by @Hawk777 in #1590
- fix pypi long description by @eUgEntOptIc44 in #1603
- Don't rely on del by @r-darwish in #1606
- Block insecure non-multi options in clone/clone_from by @Beuc in #1609
- Fix Sphinx rendering errors by @stephan-cr in #1524
- tests: Use command -v instead of third-party which program by @mgorny in #1525
- fix/add allow_unsafe_* params in docstrings + fix typo by @obfusk in #1530
- use tempfile.TemporaryDirectory & fix clone_from_unsafe_protocol tests by @obfusk in #1531
- Fix some resource leaks by open file handles by @marlamb in #1532
- fix files list on file rename by @teknoraver in #1537
- Declare support for Python 3.11 by @hugovk in #1541
- Fix ignored by @Lightborne in #1545
- Fix timezone parsing functions for non-hour timezones by @jcowgill in #1547
- Enable user to override default diff -M arg by @mellowed100 in #1551
- Remove optional from two member variables by @Sineaggi in #1550
- Fix RecursionError when iterating streams by @eric-wieser in #1554
- Fix get_values() so it correctly loads section names by @Codym48 in #1555
- Add datetime.datetime type to commit_date and author_date by @SergeantMenacingGarlic in #1501
- Bump cygwin/cygwin-install-action from 2 to 3 by @dependabot in #1514
- Fix command injection by @stsewd in #1518
- Document PushInfoList by @skinitimski in #1522
- Fix type hint on create_tag by @drewcassidy in #1523
- Block insecure options and protocols by default by @stsewd in #1521
- Make the git.__version__ re-appear.

(From OE-Core rev: 8ceaeff90023e51c7e874464f026b30d24035bda)

Signed-off-by: Narpat Mali <narpat.mali@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-08-30 04:46:36 -10:00
Ross Burton
1ba2a99f23 linux/cve-exclusion: remove obsolete manual entries
The generated file covers all but one of these CVEs (which will be fixed
when [1] is resolved) so remove the redundant entries.

[1] https://github.com/nluedtke/linux_kernel_cves/issues/344

(From OE-Core rev: ca17167612c73104eb4c9a5297f53643b71ef861)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-08-30 04:46:36 -10:00
Ross Burton
7db9fd091c linux/cve-exclusion: add generated CVE_CHECK_IGNORES.
Run generate-cve-exclusions.py to generate the ignore lists.  This file
is maintained separately from the existing manual ignore entries.

(From OE-Core rev: fc506efa5c84b45b063678098131031f52bb3c16)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-08-30 04:46:36 -10:00
Ross Burton
f17c07ff4b linux-yocto: add script to generate kernel CVE_CHECK_IGNORE entries
Instead of manually looking up new CVEs and determining what point
releases the fixes are incorporated into, add a script to generate the
CVE_CHECK_IGNORE data automatically.

First, note that this is very much an interim solution until the
cve-check class fetches data from www.linuxkernelcves.com directly.

The script should be passed the path to a local clone of the
linuxkernelcves repository[1] and the kernel version number. It will
then write to standard output the CVE_STATUS entries for every known
kernel CVE.

The script should be periodically reran as CVEs are backported and
kernels upgraded frequently.

[1] https://github.com/nluedtke/linux_kernel_cves

Note: for the backport this is not a cherry-pick of the commit in master
as the variable names are different. This incorporates the following
commits:

linux/generate-cve-exclusions: add version check warning
linux/generate-cve-exclusions.py: fix comparison
linux-yocto: add script to generate kernel CVE_STATUS entries

(From OE-Core rev: c7a71692b7ed4cc2187f4c82bf11e32e0ce32cb6)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-08-30 04:46:36 -10:00
Yogita Urade
1cae56f216 nghttp2: fix CVE-2023-35945
Envoy is a cloud-native high-performance edge/middle/service
proxy. Envoy’s HTTP/2 codec may leak a header map and
bookkeeping structures upon receiving `RST_STREAM` immediately
followed by the `GOAWAY` frames from an upstream server. In
nghttp2, cleanup of pending requests due to receipt of the
`GOAWAY` frame skips de-allocation of the bookkeeping structure
and pending compressed header. The error return [code path] is
taken if connection is already marked for not sending more
requests due to `GOAWAY` frame. The clean-up code is right after
the return statement, causing memory leak. Denial of service
through memory exhaustion. This vulnerability was patched in
versions(s) 1.26.3, 1.25.8, 1.24.9, 1.23.11.

References:
https://nvd.nist.gov/vuln/detail/CVE-2023-35945
https://github.com/envoyproxy/envoy/security/advisories/GHSA-jfxv-29pc-x22r

(From OE-Core rev: 0e6eb0f417079eaf76b003973c9d93338e6363b5)

Signed-off-by: Yogita Urade <yogita.urade@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-08-30 04:46:36 -10:00
Siddharth
074ad15e1e Qemu: Resolve undefined reference issue in CVE-2023-2861
The commit [9bd4ddeb4b] backports fix for CVE-2023-2861 for version 6.2.0.
The 'qemu_fstat' in `do_create_others' is not defined which leads to the undefined symbol error on certain architectures.

Also, the commit message says "(Mjt: drop adding qemu_fstat wrapper for 7.2 where wrappers aren't used)". So either the wrapper has to be dropped or it has to be defined.

Hence, backported the main patch rather than the cherry picked one.

(From OE-Core rev: 983d19dfdad361f8b3275b404f1ac0b9befc9f6c)

Signed-off-by: Siddharth Doshi <sdoshi@mvista.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-08-30 04:46:35 -10:00
Soumya Sambu
f81d353d5b go: Fix CVE-2023-29409
Extremely large RSA keys in certificate chains can cause a
client/server to expend significant CPU time verifying
signatures. With fix, the size of RSA keys transmitted
during handshakes is restricted to <= 8192 bits. Based on
a survey of publicly trusted RSA keys, there are currently
only three certificates in circulation with keys larger than
this, and all three appear to be test certificates that are
not actively deployed. It is possible there are larger keys
in use in private PKIs, but we target the web PKI, so causing
breakage here in the interests of increasing the default
safety of users of crypto/tls seems reasonable.

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

(From OE-Core rev: 51c2fee0e4bb4b3131c61d91510394cd4b4f9eb9)

Signed-off-by: Soumya Sambu <soumya.sambu@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-08-30 04:46:35 -10:00
Narpat Mali
e5f546b58b ffmpeg: add CVE_CHECK_IGNORE for CVE-2023-39018
CVE-2023-39018 belongs to ffmpeg-cli-wrapper (Java wrapper around the FFmpeg CLI)
and not ffmpeg itself. As per CVE description, it is mentioned as FFmpeg 0.7.0 which
is the version for ffmpeg-cli-wrapper and ffmpeg don't have 0.7.0 version at all.

Debian & Bugzilla trackers have already marked as NOT-FOR-US/RESOLVED-INVALID.
As it won't be affecting the ffmpeg package so, we can ignore the CVE-2023-39018
in ffmpeg recipe.

References:
https://github.com/bramp/ffmpeg-cli-wrapper
https://github.com/FFmpeg/FFmpeg
https://security-tracker.debian.org/tracker/CVE-2023-39018
https://bugzilla.suse.com/show_bug.cgi?id=CVE-2023-39018

Upstream master patch:
https://git.openembedded.org/openembedded-core/commit/?id=c21ed498b423c13463a4ae0bb475883cc7901847

(From OE-Core rev: e787e364efbba372675081aadd802b43274097f0)

Signed-off-by: Narpat Mali <narpat.mali@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-08-30 04:46:35 -10:00
Alexander Kanavin
e19a76951b glibc-locale: use stricter matching for metapackages' runtime dependencies
This resolves two issues:

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

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

(From OE-Core rev: ea920e3c8075f3a1b79039341f8c889f6197a07f)

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

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

(From OE-Core rev: e1e038ab01a599fcdd4aa6211b6d15cd01a5e2e3)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 0a0a1731e38edfa72a141e8fd8f2de52be562e94)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-08-26 04:24:02 -10:00
Richard Purdie
1efc676afc target/ssh: Ensure exit code set for commands
As spotted by Joshua Watt, the returncode isn't set until .poll() or .wait()
is called so we need to call this after the .kill() call.

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

(From OE-Core rev: c70b05ea667e7bd280470b0b6ca10efb0f648e0f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 3924e94214b5135369be2551d54fb92097d35e95)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-08-26 04:24:02 -10:00
Richard Purdie
442b9fd244 oeqa/runtime/ltp: Increase ltp test output timeout
On our slower arm server, the tests currently timeout leading to inconsistent test
results. Increase the timeout to avoid this and aim to make the test results
consistent.

(From OE-Core rev: b161af52b9454e07435dc9737b0a2522295f3e4d)

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

(From OE-Core rev: 4c02f7407d7afaefe1bc72aea25087b3f2271ac2)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit a8920c105725431e989cceb616bd04eaa52127ec)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-08-26 04:24:02 -10:00
Anuj Mittal
70b3a20817 selftest/cases/glibc.py: switch to using NFS over TCP
This provides a more reliable test execution when running tests that
write a large buffer/file and significantly reduces the localedata test
failures.

(From OE-Core rev: 8d0c669d3d04cf5bc645978afb22ba6c3f3d53e6)

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

(From OE-Core rev: 2727a0cb8d026e0c47aedd91f7c02e24b056f37b)

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

(From OE-Core rev: 060030ac9d00bf22ae3a2695d7ea060f0f69dfa8)

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

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

(From OE-Core rev: 265ba5138bb5859b9f5915f99a818a45df88a279)

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

Add the missing util-linux-blockdev dependency.

(From OE-Core rev: 7190ea3b70a9b36ecf48f948e792ac2ce6eca1e3)

Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit a15cd04f528d137d428a572f15d1ec5ebbbd81f0)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-08-26 04:24:02 -10:00
Staffan Rydén
3b8d0acca3 kernel: Fix path comparison in kernel staging dir symlinking
Due to an oversight in the do_symlink_kernsrc function, the path
comparison between "S" and "STAGING_KERNEL_DIR" is broken. The code
obtains both variables, but modifies the local copy of "S" before
comparing them, causing the comparison to always return false.

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

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

(From OE-Core rev: cf2267f80ec44b24c627347df7efbd492a07dcfa)

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

(From OE-Core rev: 007a57ce36a06f9a78675563020f24e1afa3caa1)

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

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

(From OE-Core rev: 96c79c54f282497eb1521b1d5da648ae83fcfe8b)

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

(From OE-Core rev: 60ca407ce3113d8b507aaa0876b28902aab7ed5b)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 38fd2120f0f48512091ddad6205ce19839eaf589)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-08-26 04:24:02 -10:00
Julien Stephan
a543532a76 automake: fix buildtest patch
Add check_PROGRAMS as a dependency of buildtest-TESTS target.
This is required because according to the official automake
documentation [1]:
* TESTS: contains all the tests files
* check_PROGRAMS: contains the programs used by the tests
* check_PROGRAMS is not automatically added to TESTS

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

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

(From OE-Core rev: 5859a4143a1495198af323cedf06248c9b363060)

Signed-off-by: Julien Stephan <jstephan@baylibre.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit ee3e2af4f8ed95b4fd0f7cec52ae4e169401b719)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-08-26 04:24:02 -10:00
Michael Halstead
37ab9a97fc resulttool/resultutils: allow index generation despite corrupt json
non-release indexes will continue to generate when test output is
corrupted.

(From OE-Core rev: 9467528e89d44a016a4c1e509a3a7da56ea20f74)

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

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

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

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

(From OE-Core rev: c9ab17b51834bff96657712a6741eb3e3647b063)

Signed-off-by: Enrico Scholz <enrico.scholz@sigma-chemnitz.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 8c6f2e3feeb26abefb4136c56db6f3c0349acefb)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-08-26 04:24:02 -10:00
Richard Purdie
8f53c7b151 acl/attr: ptest fixes and improvements
Add a missing perl module dependency for the ptest packages and also
improve the run-ptest script so that the error log is saved allowing
easier debugging if this fails in future.

(From OE-Core rev: fbb9c596b8e6a8a1260dd7aefddf138d20bf64df)

(From OE-Core rev: 5908ccf65b5ca4a0473a57774f06515d6bc9f56c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 2c948fa025)
Signed-off-by: Bhabu Bindu <bhabu.bindu@kpit.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-08-26 04:24:02 -10:00
Richard Purdie
5c42f2433c lib/package_manager: Improve repo artefact filtering
If you run an arm build followed by an x86 one and then ask for a
full repo to be created, it will include all of the arm and x86 packages.
testexport will then find the arm socat package rather than the x86 one
and try and run arm binaries within an x86 qemu image with no success.

The reproducer for this was:

oe-selftest -r fitimage.FitImageTests.test_initramfs_bundle runtime_test.TestImage.test_testimage_install

This patch only symlinks in the compatible package archictures rather
than all of them which fixes the failure and the resulting autobuilder
intermittent failure too.

[YOCTO #15190]

(From OE-Core rev: b811ce9e1c94532d49db54d4c3458cd804d96adb)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 30b45bcf49bf8207fd96bb45a55d7708661f3359)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-08-26 04:24:02 -10:00
Poonam Jadhav
6826d0ba08 pixman: Remove duplication of license MIT
Remove duplication of license MIT from pixman bbfile.

(From OE-Core rev: 76f928359f76d449de0d884c591a5d9fdba9d19c)

Signed-off-by: Poonam Jadhav <poonam.jadhav@kpit.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-08-26 04:24:02 -10:00
Michael Halstead
b4b545cd9d yocto-uninative: Update to 4.2 for glibc 2.38
Uninative 4.2 adds glibc 2.38.

(From OE-Core rev: 135624fd57c3c9ba3786c5c10cd1f6c37ce82dad)

Signed-off-by: Michael Halstead <mhalstead@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit c6654fab00a1b4e4bb05eec8b77c8c60e1f8a709)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-08-26 04:24:02 -10:00
Michael Halstead
b8fded3df3 yocto-uninative: Update hashes for uninative 4.1
This version includes fixes to patchelf.

(From OE-Core rev: 410c2be543d031dc54a37439c8069807c395fc36)

Signed-off-by: Michael Halstead <mhalstead@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 1c5c8ff97ba0a7f9adc592d702b865b3d166a24b)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-08-26 04:24:02 -10:00
Bruce Ashfield
6fbc34db05 linux-yocto/5.15: update to v5.15.124
Updating  to the latest korg -stable release that comprises
the following commits:

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

(From OE-Core rev: 94bad591285091c3f348410df7bf58366c267775)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
(cherry picked from commit f7ffd2eba4d5c731b7841690e24ca4c5752dfce8)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-08-26 04:24:02 -10:00
Bruce Ashfield
c9dd718d39 linux-yocto/5.15: update to v5.15.123
Updating  to the latest korg -stable release that comprises
the following commits:

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

(From OE-Core rev: 873c6253c029ceb303a849ced14bf5125856b368)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
(cherry picked from commit df81fdbc619c5a3a76ad3bdea2bf7d761e612656)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-08-26 04:24:02 -10:00
Bruce Ashfield
d518066318 linux-yocto/5.15: update to v5.15.122
Updating  to the latest korg -stable release that comprises
the following commits:

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

(From OE-Core rev: b135d73eccf54fc6afa07c2d8f4ba25c234469e2)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
(cherry picked from commit 25bd49d03af0e20808c26744e35fe7f416981017)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-08-26 04:24:02 -10:00
Dmitry Baryshkov
b13372cec5 linux-firmware: split platform-specific Adreno shaders to separate packages
For newest Qualcomm platforms the firmware for the Adreno GPU consists
of two parts: platform-independent SQE/GMU/GPMU/PFP/PM4 and
platform-specific ZAP shader, which is used during the boot process. As
the platform-independent parts can be shared between different
platforms, split the platform-specific part to the separate package.

(From OE-Core rev: e21f3d57736993c5c4bda67428afca7503a3dece)

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

(From OE-Core rev: 38b468be11bfb15cca68694ed35dc9b2874da11f)

Signed-off-by: BELOUARGA Mohamed <m.belouarga@technologyandstrategy.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 6459959beeb91c0b694f5f17b6587a12c6dcb087)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-08-26 04:24:02 -10:00
Dmitry Baryshkov
a7be22db10 linux-firmware: package firmare for Dragonboard 410c
Latest linux-firmware archive inclues firmware for the Dragonboard 410c
device (Qualcomm apq8016 SBC). Follow the rest of linux-firmware-qcom-*
packages as a template and create packages for the new firmware files.

(From OE-Core rev: fb66b90c7ea5f315b75624d95d4d5a01ffe09a30)

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

(From OE-Core rev: dee368268941015384f206656e180de4791a4f10)

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

(From OE-Core rev: 641cef34fa4f626b6250f5495392c68a29b46dc9)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 5cd967503c0574f45b814572da9503182556b431)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-08-26 04:24:02 -10:00
Chee Yang Lee
a26e9c042a bind: 9.18.11 -> 9.18.17
upgrade also include fix for CVE-2023-2829.

License-Update: removed trailing whitespace from COPYRIGHT

also remove obsolete configuration option epoll and devpoll:
6b6076c882

(From OE-Core rev: f240a373266bd778f380a0611ccf0183d24f76b6)

Signed-off-by: Chee Yang Lee <chee.yang.lee@intel.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-08-26 04:24:02 -10:00
Archana Polampalli
d61ed22d6f gstreamer1.0: upgrade 1.20.6 -> 1.20.7
This release only contains bugfixes.

Highlighted bugfixes in 1.20.7:

Security fixes for flacparse, dvdspu, and subparse, and the RealMedia demuxer
h265parse: Fix framerate handling
filesink: Fix buffered mode writing of buffer lists and buffers with multiple memories
asfmux, rtpbin_buffer_list test: fix possible unaligned write/read on 32-bit ARM
ptp clock: Work around bug in ptpd in default configuration
qtdemux: fix reverse playback regression with edit lists
rtspsrc: various control path handling server compatibility improvements
avviddec: fix potential deadlock on seeking with FFmpeg 6.x
cerbero: Fix pango crash on 32bit Windows; move libass into non-GPL codecs
Miscellaneous bug fixes, memory leak fixes, and other stability and reliability improvements

https://nvd.nist.gov/vuln/detail/CVE-2023-37327
https://nvd.nist.gov/vuln/detail/CVE-2023-37328
https://nvd.nist.gov/vuln/detail/CVE-2023-37329

https://gstreamer.freedesktop.org/releases/1.20/#1.20.7

(From OE-Core rev: c6b7492406540aca60dfd8c9913c7ac14fcc750f)

Signed-off-by: Archana Polampalli <archana.polampalli@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-08-26 04:24:02 -10:00
Chee Yang Lee
9a4f730528 librsvg: 2.52.7 -> 2.52.10
upgrade include fix for CVE-2023-38633

(From OE-Core rev: 2ac80e25d85a4dba62813e28525a00f13922fd4b)

Signed-off-by: Chee Yang Lee <chee.yang.lee@intel.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-08-26 04:24:02 -10:00
Soumya Sambu
a45c130dee glib-2.0: Fix CVE-2023-32643 and CVE-2023-32636
fuzz_variant_binary_byteswap: Heap-buffer-overflow in g_variant_serialised_get_child

fuzz_variant_text: Timeout in fuzz_variant_text

(From OE-Core rev: f6b85f043f826862c6221bd0875b04aef7ab35ba)

Signed-off-by: Soumya Sambu <soumya.sambu@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-08-26 04:24:02 -10:00
Soumya Sambu
aae7997aea glib-2.0: Fix CVE-2023-29499 and CVE-2023-32611
GVariant offset table entry size is not checked in is_normal()

g_variant_byteswap() can take a long time with some non-normal inputs

(From OE-Core rev: 5ed552ce97e22b449c1036f6c58944ab26db2f0d)

Signed-off-by: Soumya Sambu <soumya.sambu@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-08-26 04:24:02 -10:00
Soumya Sambu
f51146f6ee glib-2.0: Fix CVE-2023-32665
GVariant deserialisation does not match spec for non-normal data

(From OE-Core rev: 2c1476bed55dc16a84b0fe163a4abb13e3ac5734)

Signed-off-by: Soumya Sambu <soumya.sambu@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-08-26 04:24:02 -10:00
Michael Opdenacker
3272e64a73 poky.conf: update SANITY_TESTED_DISTROS to match autobuilder
From the intersection of the list of allowed workers
on https://git.yoctoproject.org/yocto-autobuilder2/tree/config.py
and the active workers on
https://autobuilder.yoctoproject.org/typhoon/#/workers

(From meta-yocto rev: d45be9886a9680b88ecf2f1b9717492a0df9158e)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-08-21 09:45:15 -10:00
Michael Opdenacker
de29a6932e dev-manual: wic.rst: Update native tools build command
Requirements list seems to be outdated. It is not possible to follow
instructions for Raw Mode as not all of the native tools are available.
All wic dependencies are gathered under wic-tools package. Some commands
in the instruction already use wic-tools native sysroot, but this
dependency is not specified in the requirements.
Update the command for building native tools to use wic-tools instead
of the seperate packages.

(From yocto-docs rev: 7c03bcb3031c89b5183e5b4f3f0703bc91a014e2)

Signed-off-by: Daniel Semkowicz <dse@thaumatec.com>
Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-08-19 05:56:59 -10:00
Alexander Kanavin
54e3374480 libxcrypt: update PV to match SRCREV
When SRCREV was updated, only libxcrypt-compat was renamed to match,
but not libxcrypt proper.

(From OE-Core rev: f20a06149cb61264662d1eaf6ea02aefabc0a18b)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 98c89359532778a894f50ddea1cc6ab922d6e562)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-08-19 05:56:59 -10:00
Alberto Planas
bbd85cd9f4 rpm2cpio.sh: update to the last 4.x version
openSUSE RPMs are compressing the RPM payload using zstd, that
correspond to the magic ID 0x28, 0xb5, 0x2f.

This patch update the script to the last version from the rpm project,
and add support to this compression format, and extract the cpio payload
using the "unzstd" binary.

(From OE-Core rev: 9c0d66e693aa7ab8b3f2a3c68764e4ab6159c085)

Signed-off-by: Alberto Planas <aplanas@suse.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 3aba44a75dd565b192f7328f2a0150a313de3cc1)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-08-19 05:56:59 -10:00
Pavel Zhukov
28fa51bcf0 scripts/rpm2cpio.sh: Use bzip2 instead of bunzip2
bzip2 is in HOSTTOOLS already and used in few other places already.
This fixes bin_package class for RPM packages without adding bunzip2 to
HOSTTOOLS.

(From OE-Core rev: ed4e4290a73b3fa0df9530a511f992e236e8ae9f)

Signed-off-by: Pavel Zhukov <pavel@zhukoff.net>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
(cherry picked from commit eb3ec7469fff857c819332371ad1d586f43c79c3)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-08-19 05:56:59 -10:00
Martin Jansa
d21b4675d6 npm.bbclass: avoid DeprecationWarning with new python
meta/classes-recipe/npm.bbclass:85: DeprecationWarning: invalid escape sequence '\.'
  '--transform', 's,^\./,package/,',

(From OE-Core rev: a7078ff976ba720f25e94ddeddd3f82900b483be)

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>
2023-08-19 05:56:59 -10:00
Marek Vasut
4dbd4e990e linux-firmware: Fix mediatek mt7601u firmware path
The following linux-firmware commit moved the mt7601u firmware blob
into a mediatek/ subdirectory, update the path accordingly.
8451c2b1 ("mt76xx: Move the old Mediatek WiFi firmware to mediatek")

(From OE-Core rev: 6fa5c4967a7e70192e9233c92534f27ec3e394c8)

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

Signed-off-by: Marek Vasut <marex@denx.de>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-08-19 05:56:59 -10:00
Bruce Ashfield
76ad0319b0 linux-yocto/5.10: update to v5.10.188
Updating  to the latest korg -stable release that comprises
the following commits:

    3602dbc57b55 Linux 5.10.188
    edce5fba78cc ftrace: Fix possible warning on checking all pages used in ftrace_process_locs()
    115b19f89353 ftrace: Store the order of pages allocated in ftrace_page
    1a1e793e021d tracing: Fix memory leak of iter->temp when reading trace_pipe
    43e786aa51b8 tracing/histograms: Return an error if we fail to add histogram to hist_vars list
    e3da59f42820 net: phy: prevent stale pointer dereference in phy_init()
    e0ac63e194f4 tcp: annotate data-races around fastopenq.max_qlen
    d01afbfc2f7d tcp: annotate data-races around icsk->icsk_user_timeout
    3cf0a0f11d39 tcp: annotate data-races around tp->notsent_lowat
    9c786d5faf3a tcp: annotate data-races around rskq_defer_accept
    f891375eba6e tcp: annotate data-races around tp->linger2
    9168bd8f54c5 tcp: annotate data-races around icsk->icsk_syn_retries
    7b0084918c5f tcp: Fix data-races around sysctl_tcp_syn(ack)?_retries.
    cf6c06ac7487 net: Introduce net.ipv4.tcp_migrate_req.
    a5c30a518764 tcp: annotate data-races around tp->keepalive_probes
    93715448f116 tcp: annotate data-races around tp->keepalive_intvl
    7b52a78a91fd tcp: annotate data-races around tp->keepalive_time
    1d4f2c4be136 tcp: annotate data-races around tp->tcp_tx_delay
    30e5460d69e6 netfilter: nf_tables: skip bound chain on rule flush
    94c10c0fa51b netfilter: nf_tables: skip bound chain in netns release path
    3a91099ecd59 netfilter: nft_set_pipapo: fix improper element removal
    9c2df17e3cfc netfilter: nf_tables: can't schedule in nft_chain_validate
    533193a23914 netfilter: nf_tables: fix spurious set element insertion failure
    a6f1988780a7 llc: Don't drop packet from non-root netns.
    49e435ca02c7 fbdev: au1200fb: Fix missing IRQ check in au1200fb_drv_probe
    bc9d4d432f78 Revert "tcp: avoid the lookup process failing to get sk in ehash table"
    d06fc7b39199 net:ipv6: check return value of pskb_trim()
    1a478ad1297a net: ipv4: Use kfree_sensitive instead of kfree
    937105d2b0bf tcp: annotate data-races around tcp_rsk(req)->ts_recent
    41b00238699a octeontx2-pf: Dont allocate BPIDs for LBK interfaces
    5bc78ba88905 security: keys: Modify mismatched function name
    b92defe4e8ee iavf: Fix out-of-bounds when setting channels on remove
    a4635f190f33 iavf: Fix use-after-free in free_netdev
    b37bc3b07eab bridge: Add extack warning when enabling STP in netns.
    f6d311b95394 net: ethernet: ti: cpsw_ale: Fix cpsw_ale_get_field()/cpsw_ale_set_field()
    54aa4c03861e pinctrl: amd: Use amd_pinconf_set() for all config options
    7041605e8594 fbdev: imxfb: warn about invalid left/right margin
    6e88cc510f27 spi: bcm63xx: fix max prepend length
    994c2ceb70ea igb: Fix igb_down hung on surprise removal
    a956c3af70fa wifi: iwlwifi: mvm: avoid baid size integer overflow
    85cf0d5f45cb wifi: wext-core: Fix -Wstringop-overflow warning in ioctl_standard_iw_point()
    2864cc9a1fd1 devlink: report devlink_port_type_warn source device
    b6d9a4062c94 bpf: Address KCSAN report on bpf_lru_list
    532f8bac6041 wifi: ath11k: fix registration of 6Ghz-only phy without the full channel range
    6b0c79aa3307 sched/fair: Don't balance task to its current running CPU
    32020fc2a837 arm64: mm: fix VA-range sanity check
    c71d6934c6ac arm64: set __exception_irq_entry with __irq_entry as a default
    71e3f2354072 ACPI: video: Add backlight=native DMI quirk for Lenovo ThinkPad X131e (3371 AMD version)
    776a72f612a8 ACPI: video: Add backlight=native DMI quirk for Apple iMac11,3
    e090f70ae4cc ACPI: button: Add lid disable DMI quirk for Nextbook Ares 8A
    ae51eb90bcca btrfs: add xxhash to fast checksum implementations
    322377cc909d posix-timers: Ensure timer ID search-loop limit is valid
    634daf6b2c81 md/raid10: prevent soft lockup while flush writes
    b02939413e5c md: fix data corruption for raid456 when reshape restart while grow up
    4a2c62c8d67c nbd: Add the maximum limit of allocated index in nbd_dev_add
    5f84a34b646f debugobjects: Recheck debug_objects_enabled before reporting
    5d5aa5b64887 ext4: correct inline offset when handling xattrs in inode body
    48aa53937584 ASoC: fsl_sai: Disable bit clock with transmitter
    5f2a12f64347 drm/client: Fix memory leak in drm_client_modeset_probe
    105275879a80 drm/client: Fix memory leak in drm_client_target_cloned
    cf254b4f68e4 can: bcm: Fix UAF in bcm_proc_show()
    3e412b6e2b57 regmap: Account for register length in SMBus I/O limits
    8b3dd8d23fa0 regmap: Drop initial version of maximum transfer length fixes
    4935761daa33 selftests: tc: add 'ct' action kconfig dep
    1ab5aa1846a5 selftests: tc: set timeout to 15 minutes
    dad97c205af2 fuse: revalidate: don't invalidate if interrupted
    d2c667cc1831 btrfs: fix warning when putting transaction with qgroups enabled after abort
    4410f4a938ae perf probe: Add test for regression introduced by switch to die_get_decl_file()
    0a6b0ca58685 keys: Fix linking a duplicate key to a keyring's assoc_array
    a26208e184ae ALSA: hda/realtek: Enable Mute LED on HP Laptop 15s-eq2xxx
    ce2a7e7b504c ALSA: hda/realtek - remove 3k pull low procedure
    f09c0ac142c5 drm/atomic: Fix potential use-after-free in nonblocking commits
    9a085fa9b7d6 RDMA/cma: Ensure rdma_addr_cancel() happens before issuing more requests
    73e72a5380a2 net/sched: sch_qfq: reintroduce lmax bound check for MTU
    0b1ce92fabdb scsi: qla2xxx: Remove unused nvme_ls_waitq wait queue
    5addd62586a9 scsi: qla2xxx: Pointer may be dereferenced
    e8de73238d5d scsi: qla2xxx: Correct the index of array
    921d68446255 scsi: qla2xxx: Check valid rport returned by fc_bsg_to_rport()
    2bea9c1c9831 scsi: qla2xxx: Fix potential NULL pointer dereference
    eecb8a491c82 scsi: qla2xxx: Fix buffer overrun
    bcd773969a87 scsi: qla2xxx: Array index may go out of bound
    a9fe97fb7b4e scsi: qla2xxx: Wait for io return on terminate rport
    6ea2a408d3e3 tracing/probes: Fix not to count error code to total length
    7060e5aac6dc tracing: Fix null pointer dereference in tracing_err_log_open()
    81fb8a58d4ec xtensa: ISS: fix call to split_if_spec
    5e68f1f3a20f ring-buffer: Fix deadloop issue on reading trace_pipe
    1e760b2d18bf net: ena: fix shift-out-of-bounds in exponential backoff
    1f2a8f083575 samples: ftrace: Save required argument registers in sample trampolines
    1576f0df7b4d tracing/histograms: Add histograms to hist_vars if they have referenced variables
    07edd294b16a s390/decompressor: fix misaligned symbol build error
    5f4a1111ad04 Revert "8250: add support for ASIX devices with a FIFO bug"
    7f2f0e6ec561 meson saradc: fix clock divider mask length
    790e4e82c57d xhci: Show ZHAOXIN xHCI root hub speed correctly
    c52e04c58ded xhci: Fix TRB prefetch issue of ZHAOXIN hosts
    b56a07c2a550 xhci: Fix resume issue of some ZHAOXIN hosts
    8e807eadf0b9 ceph: don't let check_caps skip sending responses for revoke msgs
    c04ed61ebf01 firmware: stratix10-svc: Fix a potential resource leak in svc_create_memory_pool()
    1962717c4649 tty: serial: samsung_tty: Fix a memory leak in s3c24xx_serial_getclk() when iterating clk
    a49e5a05121c tty: serial: samsung_tty: Fix a memory leak in s3c24xx_serial_getclk() in case of error
    08673739ed85 serial: atmel: don't enable IRQs prematurely
    4016d36fec63 drm/amd/display: Correct `DMUB_FW_VERSION` macro
    d89bd2ecd39b drm/rockchip: vop: Leave vblank enabled in self-refresh
    b9ec9372a47a drm/atomic: Allow vblank-enabled + self-refresh "disable"
    23d5004ee7aa fs: dlm: return positive pid value for F_GETLK
    5e9aff5b10c2 md/raid0: add discard support for the 'original' layout
    8e3c7776405a misc: pci_endpoint_test: Re-init completion for every test
    cdf9a7e2cdc7 misc: pci_endpoint_test: Free IRQs before removing the device
    8c90c466e38e PCI: rockchip: Set address alignment for endpoint mode
    f1986416cfb4 PCI: rockchip: Use u32 variable to access 32-bit registers
    36eb13031227 PCI: rockchip: Fix legacy IRQ generation for RK3399 PCIe endpoint core
    c417a4c7de1d PCI: rockchip: Add poll and timeout to wait for PHY PLLs to be locked
    ddda61419af3 PCI: rockchip: Write PCI Device ID to correct register
    bec3e0f7f272 PCI: rockchip: Assert PCI Configuration Enable bit after probe
    48e11e7c81b9 PCI: qcom: Disable write access to read only registers for IP v2.3.3
    aca71b004a66 PCI: Add function 1 DMA alias quirk for Marvell 88SE9235
    d3bab5de91c6 PCI/PM: Avoid putting EloPOS E2/S2/H2 PCIe Ports in D3cold
    5a89a5cc817e hwrng: imx-rngc - fix the timeout for init and self check
    47b7eaae08e8 jfs: jfs_dmap: Validate db_l2nbperpage while mounting
    84293af5455b ext4: only update i_reserved_data_blocks on successful block allocation
    0a5d12e7107e ext4: fix wrong unit use in ext4_mb_new_blocks
    514220246aa8 ext4: get block from bh in ext4_free_blocks for fast commit replay
    d054422eb609 ext4: fix wrong unit use in ext4_mb_clear_bb
    be99faf0c4db ext4: Fix reusing stale buffer heads from last failed mounting
    8fbe951d6546 MIPS: Loongson: Fix cpu_probe_loongson() again
    8c723eef989b erofs: fix compact 4B support for 16k block size
    3bd4d316b1a8 misc: fastrpc: Create fastrpc scalar with correct buffer count
    3d1d037f2749 powerpc: Fail build if using recordmcount with binutils v2.37
    fe1ae1fb507a net: bcmgenet: Ensure MDIO unregistration has clocks enabled
    21d5d3eb36bf mtd: rawnand: meson: fix unaligned DMA buffers handling
    9ff7fcb3a2ed tpm: tpm_vtpm_proxy: fix a race condition in /dev/vtpmx creation
    59490249c2c0 pinctrl: amd: Only use special debounce behavior for GPIO 0
    4f77a87ce919 pinctrl: amd: Detect internal GPIO0 debounce handling
    3674b9c056ad pinctrl: amd: Fix mistake in handling clearing pins at startup
    b39ef5b52f10 f2fs: fix to avoid NULL pointer dereference f2fs_write_end_io()
    f4ff37981235 nvme-pci: fix DMA direction of unmapping integrity data
    8359ee85fd6d net/sched: sch_qfq: account for stab overhead in qfq_enqueue
    5bef780e06d2 net/sched: sch_qfq: refactor parsing of netlink parameters
    1d7ae38daac7 net/sched: make psched_mtu() RTNL-less safe
    d5ca61b7642b netdevsim: fix uninitialized data in nsim_dev_trap_fa_cookie_write()
    9b69cdb6e534 net/sched: flower: Ensure both minimum and maximum ports are specified
    934c85b8ecd1 wifi: airo: avoid uninitialized warning in airo_get_rate()
    4511499138ae erofs: avoid infinite loop in z_erofs_do_read_page() when reading beyond EOF
    bbc500ff3f2c riscv, bpf: Fix inconsistent JIT image generation
    a976adc3bca4 bpf, riscv: Support riscv jit to provide bpf_line_info
    eb3d1d84f3d6 riscv: bpf: Avoid breaking W^X
    7c616437981f riscv: bpf: Move bpf_jit_alloc_exec() and bpf_jit_free_exec() to core
    83579a626169 igc: Fix inserting of empty frame for launchtime
    c48e8ee81ad3 igc: Fix launchtime before start of cycle
    cdf5b9af92da platform/x86: wmi: Break possible infinite loop when parsing GUID
    7157ee0de522 platform/x86: wmi: move variables
    4bb2bb69bd9a platform/x86: wmi: use guid_t and guid_equal()
    88dfb592d2c1 platform/x86: wmi: remove unnecessary argument
    2ad31ce40e81 ipv6/addrconf: fix a potential refcount underflow for idev
    8271145523a5 NTB: ntb_tool: Add check for devm_kcalloc
    41c6d8ff71cd NTB: ntb_transport: fix possible memory leak while device_register() fails
    03cfa0653406 ntb: intel: Fix error handling in intel_ntb_pci_driver_init()
    23e09f0a868f NTB: amd: Fix error handling in amd_ntb_pci_driver_init()
    0bb2683b0cde ntb: idt: Fix error handling in idt_pci_driver_init()
    3e8fed805cf3 udp6: fix udp6_ehashfn() typo
    d30ddd7ff15d icmp6: Fix null-ptr-deref of ip6_null_entry->rt6i_idev in icmp6_dev().
    bc3ab5d2ab69 net: prevent skb corruption on frag list segmentation
    cddd04f34124 net: bgmac: postpone turning IRQs off to avoid SoC hangs
    f8cc4fd99a32 ionic: remove WARN_ON to prevent panic_on_warn
    9085429821b4 gve: Set default duplex configuration to full
    80e0e8d5f543 net/sched: cls_fw: Fix improper refcount update leads to use-after-free
    d341f246123e net: mvneta: fix txq_map in case of txq_number==1
    c175603d84d3 scsi: qla2xxx: Fix error code in qla2x00_start_sp()
    b687b7836157 igc: set TP bit in 'supported' and 'advertising' fields of ethtool_link_ksettings
    30c281a77fb1 net/mlx5e: Check for NOT_READY flag state after locking
    de6e6b07974c net/mlx5e: fix double free in mlx5e_destroy_flow_table
    3d4bba694aed igc: Remove delay during TX ring configuration
    2a587b71c532 drm/panel: simple: Add Powertip PH800480T013 drm_display_mode flags
    547ab8ea86c1 drm/panel: simple: Add connector_type for innolux_at043tn24
    13c353dc5c2e workqueue: clean up WORK_* constant types, clarify masking
    fc359e5b45da net: lan743x: Don't sleep in atomic context
    dc4a25fa7565 io_uring: add reschedule point to handle_tw_list()
    297883bbcab1 io_uring: Use io_schedule* in cqring wait
    bb2f7e4bfe81 block/partition: fix signedness issue for Amiga partitions
    4f91de9a81bd rcu-tasks: Simplify trc_read_check_handler() atomic operations
    3a64cd01cdd6 rcu-tasks: Mark ->trc_reader_special.b.need_qs data races
    058f077d09ba rcu-tasks: Mark ->trc_reader_nesting data races
    83be9fd7843c tty: serial: fsl_lpuart: add earlycon for imx8ulp platform
    999f3b6104ed wireguard: netlink: send staged packets when setting initial private key
    1b7107040596 wireguard: queueing: use saner cpu selection wrapping
    ea213922249c netfilter: nf_tables: prevent OOB access in nft_byteorder_eval
    4ae2e501331a netfilter: nf_tables: do not ignore genmask when looking up chain by id
    8289d422f5e4 netfilter: conntrack: Avoid nf_ct_helper_hash uses after free
    be6478f5cce6 netfilter: nf_tables: fix scheduling-while-atomic splat
    a07e415be383 netfilter: nf_tables: unbind non-anonymous set if rule construction fails
    a136b7942ad2 netfilter: nf_tables: drop map element references from preparation phase
    21cf0d66ef88 netfilter: nftables: rename set element data activation/deactivation functions
    237f37f7b9f0 netfilter: nf_tables: reject unbound chain set before commit phase
    0205dd16edeb netfilter: nf_tables: reject unbound anonymous set before commit phase
    34d09fe49f59 netfilter: nf_tables: add NFT_TRANS_PREPARE_ERROR to deal with bound set/chain
    d53c295c1f43 netfilter: nf_tables: fix chain binding transaction logic
    8180fc2fadd4 netfilter: nf_tables: incorrect error path handling with NFT_MSG_NEWRULE
    e546e6ebb19d netfilter: nf_tables: add rescheduling points during loop detection walks
    3f51f1157f67 netfilter: nf_tables: use net_generic infra for transaction data
    01248dd65155 sh: pgtable-3level: Fix cast to pointer from integer of different size
    87410743b548 block: add overflow checks for Amiga partition support
    f0aec6c403a0 selftests/bpf: Add verifier test for PTR_TO_MEM spill
    88bffb61bc03 tpm, tpm_tis: Claim locality in interrupt handler
    5bf73af8b382 fanotify: disallow mount/sb marks on kernel internal pseudo fs
    5cb46b80ecda fs: no need to check source
    66a0647cdc56 leds: trigger: netdev: Recheck NETDEV_LED_MODE_LINKUP on dev rename
    5d6fbb624576 ARM: orion5x: fix d2net gpio initialization
    9b0f7940e212 ASoC: mediatek: mt8173: Fix snd_soc_component_initialize error path
    1dac8584be0c ASoC: mediatek: mt8173: Fix irq error path
    6819bb0b8552 btrfs: fix race when deleting quota root from the dirty cow roots list
    a3fbd156bd2c btrfs: add handling for RAID1C23/DUP to btrfs_reduce_alloc_profile
    59efb8671105 fs: Lock moved directories
    c5b5e72df13d fs: Establish locking order for unrelated directories
    4b03f503b730 Revert "f2fs: fix potential corruption when moving a directory"
    2b563acd2dfa ext4: Remove ext4 locking of moved directory
    5e7d18a52c88 fs: avoid empty option when generating legacy mount string
    988a5d791156 jffs2: reduce stack usage in jffs2_build_xattr_subsystem()
    5fada3751137 shmem: use ramfs_kill_sb() for kill_sb method of ramfs-based tmpfs
    79bef379d55a autofs: use flexible array in ioctl structure
    8bf91a8d4871 integrity: Fix possible multiple allocation in integrity_inode_get()
    9658a03f80b2 um: Use HOST_DIR for mrproper
    a4405f6ee033 bcache: Fix __bch_btree_node_alloc to make the failure behavior consistent
    db9439cef0b5 bcache: Remove unnecessary NULL point check in node allocations
    bcb295778afd bcache: fixup btree_cache_wait list damage
    dc3287206a32 mmc: sdhci: fix DMA configure compatibility issue when 64bit DMA mode is used.
    191628e2d96a mmc: mmci: Set PROBE_PREFER_ASYNCHRONOUS
    02c8c2b5f680 mmc: core: disable TRIM on Micron MTFC4GACAJCN-1M
    6f9708e5c110 mmc: core: disable TRIM on Kingston EMMC04G-M627
    28e649dc9947 io_uring: wait interruptibly for request completions on exit
    8482ac2e5a26 NFSD: add encoding of op_recall flag for write delegation
    8d36cb6d1aed i2c: qup: Add missing unwind goto in qup_i2c_probe()
    e41a8e461561 ALSA: jack: Fix mutex call in snd_jack_report()
    e71714ad24d8 i2c: xiic: Don't try to handle more interrupt events after error
    b6eefa7a27a6 i2c: xiic: Defer xiic_wakeup() and __xiic_start_xfer() in xiic_process()
    023bd9dc410c apparmor: fix missing error check for rhashtable_insert_fast
    d1c946552af2 sh: dma: Fix DMA channel offset calculation
    37750131d2a5 s390/qeth: Fix vipa deletion
    9f5548e4214d net: dsa: tag_sja1105: fix MAC DA patching from meta frames
    2758fb81bbc9 pptp: Fix fib lookup calls.
    0b08ff091f31 net/sched: act_pedit: Add size check for TCA_PEDIT_PARMS_EX
    2434a6715f59 xsk: Honor SO_BINDTODEVICE on bind
    b785ba0acc82 tcp: annotate data races in __tcp_oow_rate_limited()
    73f512bedfd4 net: bridge: keep ports without IFF_UNICAST_FLT in BR_PROMISC mode
    9a9d468fdcca powerpc: allow PPC_EARLY_DEBUG_CPM only when SERIAL_CPM=y
    f970b05c9b76 octeontx2-af: Fix mapping for NIX block from CGX connection
    5ded9e8aa53e f2fs: fix error path handling in truncate_dnode()
    358145cc3797 mailbox: ti-msgmgr: Fill non-message tx data fields with 0x0
    32b9c8f7892c spi: bcm-qspi: return error if neither hif_mspi nor mspi is available
    1f3643f9cfca net: dsa: vsc73xx: fix MTU configuration
    c377451012ce Add MODULE_FIRMWARE() for FIRMWARE_TG357766.
    6d2243ab783b sctp: fix potential deadlock on &net->sctp.addr_wq_lock
    620993d5ee5b media: cec: i2c: ch7322: also select REGMAP
    f733a7bfe8f8 rtc: st-lpc: Release some resources in st_rtc_probe() in case of error
    aa70e5dd7268 pwm: sysfs: Do not apply state to already disabled PWMs
    8a0413be8a1e pwm: imx-tpm: force 'real_period' to be zero in suspend
    e4845cdea71e phy: tegra: xusb: check return value of devm_kzalloc()
    442e1a98bd02 mfd: stmpe: Only disable the regulators if they are enabled
    724448d6021d KVM: s390: vsie: fix the length of APCB bitmap
    c5e2f6f2bb66 mfd: stmfx: Nullify stmfx->vdd in case of error
    30ead8b9bf0d mfd: stmfx: Fix error path in stmfx_chip_init
    4d2405147385 test_firmware: return ENOMEM instead of ENOSPC on failed memory allocation
    5b31ac1d6d88 serial: 8250_omap: Use force_suspend and resume for system suspend
    8e00ae25a371 Revert "usb: common: usb-conn-gpio: Set last role to unknown before initial detection"
    a81e1f22e17f mfd: intel-lpss: Add missing check for platform_get_resource
    1dc07edc01d2 usb: dwc3-meson-g12a: Fix an error handling path in dwc3_meson_g12a_probe()
    7ade555ac58d usb: common: usb-conn-gpio: Set last role to unknown before initial detection
    0e9e127835c8 usb: dwc3: qcom: Fix an error handling path in dwc3_qcom_probe()
    a6171452085b usb: dwc3: qcom: Release the correct resources in dwc3_qcom_remove()
    96898fb476d1 KVM: s390: fix KVM_S390_GET_CMMA_BITS for GFNs in memslot holes
    4e8e838fce5e media: atomisp: gmin_platform: fix out_len in gmin_get_config_dsm_var()
    b754ea60e690 media: venus: helpers: Fix ALIGN() of non power of two
    02b22660231d mfd: rt5033: Drop rt5033-battery sub-device
    e52019c09535 coresight: Fix loss of connection info when a module is unloaded
    018eddcb6bef kernfs: fix missing kernfs_idr_lock to remove an ID from the IDR
    a59f64a83516 serial: 8250: lock port for UART_IER access in omap8250_irq()
    8d65d0a2bfd5 serial: 8250: lock port for stop_rx() in omap8250_irq()
    d66ddb61fa23 usb: hide unused usbfs_notify_suspend/resume functions
    56901de56335 usb: phy: phy-tahvo: fix memory leak in tahvo_usb_probe()
    6538e5d9f7eb extcon: Fix kernel doc of property capability fields to avoid warnings
    dac7d7efcb54 extcon: Fix kernel doc of property fields to avoid warnings
    2788a3553f74 usb: gadget: u_serial: Add null pointer check in gserial_suspend
    74f8606ddfa4 usb: dwc3: qcom: Fix potential memory leak
    bdce16c1e650 clk: qcom: ipq6018: fix networking resets
    ee3f494cfc3e clk: qcom: reset: support resetting multiple bits
    35fd1a213fa4 clk: qcom: reset: Allow specifying custom reset delay
    d87ef4e857b7 media: usb: siano: Fix warning due to null work_func_t function pointer
    300388887cbb media: videodev2.h: Fix struct v4l2_input tuner index comment
    5f3f4aa673a0 media: usb: Check az6007_read() return value
    32809afb6063 clk: qcom: gcc-ipq6018: Use floor ops for sdcc clocks
    bb81ca33ace3 serial: 8250: omap: Fix freeing of resources on failed register
    ed68e8e22ee1 sh: j2: Use ioremap() to translate device tree address into kernel memory
    a7890637b3b9 w1: fix loop in w1_fini()
    a27aeae714cd w1: w1_therm: fix locking behavior in convert_t
    cd5ec3ee52ce SUNRPC: Fix UAF in svc_tcp_listen_data_ready()
    e4a9b3333e67 block: change all __u32 annotations to __be32 in affs_hardblocks.h
    54da6c4c143f block: fix signed int overflow in Amiga partition support
    b6a107c52073 phy: tegra: xusb: Clear the driver reference in usb-phy dev
    fac7be49f1e6 usb: dwc3: gadget: Propagate core init errors to UDC during pullup
    8b0a55b59244 USB: serial: option: add LARA-R6 01B PIDs
    810e401b34c4 io_uring: ensure IOPOLL locks around deferred work
    cd5837564ff5 hwrng: st - keep clock enabled while hwrng is registered
    557e528255d5 dax: Introduce alloc_dev_dax_id()
    94a85474f5e3 dax: Fix dax_mapping_release() use after free
    7c9f5a14d93b NFSv4.1: freeze the session table upon receiving NFS4ERR_BADSESSION
    bab0bf567797 ARC: define ASM_NL and __ALIGN(_STR) outside #ifdef __ASSEMBLY__ guard
    cb0cdca5c979 modpost: fix off by one in is_executable_section()
    f0350516b9d2 crypto: marvell/cesa - Fix type mismatch warning
    b54069445591 modpost: fix section mismatch message for R_ARM_{PC24,CALL,JUMP24}
    88978ef7fdef modpost: fix section mismatch message for R_ARM_ABS32
    31195ee328e9 crypto: nx - fix build warnings when DEBUG_FS is not enabled
    77471e4912d3 hwrng: virtio - Fix race on data_avail and actual data
    e8f51401d642 hwrng: virtio - always add a pending request
    ffc5ce9c272f hwrng: virtio - don't waste entropy
    d13ea82bfe15 hwrng: virtio - don't wait on cleanup
    5f23dae018c6 hwrng: virtio - add an internal buffer
    aba192bb31df powerpc/mm/dax: Fix the condition when checking if altmap vmemap can cross-boundary
    7afd0de0cc14 powerpc/book3s64/mm: Fix DirectMap stats in /proc/meminfo
    7289ca7a5170 mm: rename p4d_page_vaddr to p4d_pgtable and make it return pud_t *
    bfad11018806 mm: rename pud_page_vaddr to pud_pgtable and make it return pmd_t *
    07c19c0ad4b0 powerpc/powernv/sriov: perform null check on iov before dereferencing iov
    f3c7b95c9991 pinctrl: at91-pio4: check return value of devm_kasprintf()
    b7a38fc3f384 perf dwarf-aux: Fix off-by-one in die_get_varname()
    75a3cb1e2317 perf script: Fix allocation of evsel->priv related to per-event dump files
    647c6d35ccfe perf script: Fixup 'struct evsel_script' method prefix
    958acb479ef2 kcsan: Don't expect 64 bits atomic builtins from 32 bits architectures
    5533f0eb0a29 pinctrl: cherryview: Return correct value if pin in push-pull mode
    4b63caf86eda perf bench: Add missing setlocale() call to allow usage of %'d style formatting
    345ee8521655 perf bench: Use unbuffered output when pipe/tee'ing to a file
    f0d2310f6b46 PCI: Add pci_clear_master() stub for non-CONFIG_PCI
    b65fe59b2d62 PCI: ftpci100: Release the clock resources
    cb389e8edf64 PCI: pciehp: Cancel bringup sequence if card is not present
    b9895a4c95f3 scsi: 3w-xxxx: Add error handling for initialization failure in tw_probe()
    7badf4d6f49a PCI/ASPM: Disable ASPM on MFD function removal to avoid use-after-free
    d27238fc83b9 pinctrl: bcm2835: Handle gpiochip_add_pin_range() errors
    ac64019e4d4b scsi: qedf: Fix NULL dereference in error handling
    8e9907e9219f PCI: cadence: Fix Gen2 Link Retraining process
    07be8e60f27f ASoC: imx-audmix: check return value of devm_kasprintf()
    714ba10a6dd1 ovl: update of dentry revalidate flags after copy up
    47f4d875aa54 drivers: meson: secure-pwrc: always enable DMA domain
    5f149d053898 clk: ti: clkctrl: check return value of kasprintf()
    fd9324fa4d81 clk: keystone: sci-clk: check return value of kasprintf()
    0b754f9cfd66 clk: si5341: free unused memory on probe failure
    dc8d0178d506 clk: si5341: check return value of {devm_}kasprintf()
    dc3eef648055 clk: si5341: return error if one synth clock registration fails
    040113980081 clk: si5341: Add sysfs properties to allow checking/resetting device faults
    fc813d05739e clk: si5341: Allow different output VDD_SEL values
    f64fcd3acf1f clk: cdce925: check return value of kasprintf()
    866d4340c6c9 clk: vc5: check memory returned by kasprintf()
    c67a55f7cc8d drm/msm/dp: Free resources after unregistering them
    c3b63584d8c2 drm/msm/dpu: do not enable color-management if DSPPs are not available
    f923a582217b ALSA: ac97: Fix possible NULL dereference in snd_ac97_mixer
    404e9f741acf clk: tegra: tegra124-emc: Fix potential memory leak
    cb047c13bbf9 clk: imx: clk-imx8mp: improve error handling in imx8mp_clocks_probe()
    294321349bd3 clk: imx: clk-imx8mn: fix memory leak in imx8mn_clocks_probe
    e749bc5a9054 RDMA/bnxt_re: Avoid calling wake_up threads from spin_lock context
    9341501e2f7a RDMA/bnxt_re: wraparound mbox producer index
    968e27fd037e amdgpu: validate offset_in_bo of drm_amdgpu_gem_va
    e070120e6d68 drm/radeon: fix possible division-by-zero errors
    a77b80825bf1 drm/amdkfd: Fix potential deallocation of previously deallocated memory.
    245aa7c0233e ARM: dts: BCM5301X: fix duplex-full => full-duplex
    7e2edb84fe7c hwmon: (pmbus/adm1275) Fix problems with temperature monitoring on ADM1272
    580e9b987b89 hwmon: (adm1275) Allow setting sample averaging
    a3c5d148b78b hwmon: (adm1275) enable adm1272 temperature reporting
    4610efa404be hwmon: (gsc-hwmon) fix fan pwm temperature scaling
    6e12311dcedd ARM: dts: stm32: fix i2s endpoint format property for stm32mp15xx-dkx
    badeb7fe2450 ARM: dts: stm32: Fix audio routing on STM32MP15xx DHCOM PDK2
    17cd31487dc3 arm64: dts: ti: k3-j7200: Fix physical address of pin
    ce6e0434e502 fbdev: omapfb: lcd_mipid: Fix an error handling path in mipid_spi_probe()
    34e1e2f3cf5a arm64: dts: renesas: ulcb-kf: Remove flow control for SCIF1
    6817914c67b7 ARM: dts: iwg20d-q7-common: Fix backlight pwm specifier
    220f86cc19dc RDMA/hns: Fix hns_roce_table_get return value
    9196f44239cf RDMA/hns: Clean the hardware related code for HEM
    aa495b927f9c RDMA/hns: Use refcount_t APIs for HEM
    de1049dd18bd RDMA/hns: Fix coding style issues
    cc1b04b699e6 RDMA: Remove uverbs_ex_cmd_mask values that are linked to functions
    7dcb9ea3ee4b IB/hfi1: Fix wrong mmu_node used for user SDMA packet after invalidate
    6cf8f3d690bb IB/hfi1: Fix sdma.h tx->num_descs off-by-one errors
    2d38866a99ba IB/hfi1: Use bitmap_zalloc() when applicable
    42b6865bf58c soc/fsl/qe: fix usb.c build errors
    9c14d1406662 ARM: dts: meson8: correct uart_B and uart_C clock references
    684a2f180e46 ASoC: es8316: Do not set rate constraints for unsupported MCLKs
    d883e16c7f35 ASoC: es8316: Increment max value for ALC Capture Target Volume control
    105af71974ea memory: brcmstb_dpfe: fix testing array offset after use
    ddc74d6ea3dc ARM: dts: stm32: Shorten the AV96 HDMI sound card name
    392ee3cc995d arm64: dts: qcom: apq8096: fix fixed regulator name property
    c85a076215a9 ARM: omap2: fix missing tick_broadcast() prototype
    aec18da74194 ARM: ep93xx: fix missing-prototype warnings
    b574cd7e4dfc drm/panel: simple: fix active size for Ampire AM-480272H3TMQW-T01H
    02d8b008ffee arm64: dts: qcom: msm8996: correct camss unit address
    6d103b1cc133 arm64: dts: qcom: msm8994: correct SPMI unit address
    160ac75a5a82 arm64: dts: qcom: msm8916: correct camss unit address
    e8b131d21638 ARM: dts: gta04: Move model property out of pinctrl node
    b0b180a712ee RDMA/bnxt_re: Fix to remove an unnecessary log
    446092f136d3 RDMA/bnxt_re: Remove a redundant check inside bnxt_re_update_gid
    b54b26ac50a2 RDMA/bnxt_re: Use unique names while registering interrupts
    11bd3882c3a6 RDMA/bnxt_re: Fix to remove unnecessary return labels
    7080ef46ad3d RDMA/bnxt_re: Disable/kill tasklet only if it is enabled
    2a9895df8088 arm64: dts: microchip: sparx5: do not use PSCI on reference boards
    726fdf47c148 bus: ti-sysc: Fix dispc quirk masking bool variables
    8ee24ddf45f0 ARM: dts: stm32: Move ethernet MAC EEPROM from SoM to carrier boards
    617a4da09d77 drm/panel: sharp-ls043t1le01: adjust mode settings
    3c87c98225be drm: sun4i_tcon: use devm_clk_get_enabled in `sun4i_tcon_init_clocks`
    39305592dc97 Input: adxl34x - do not hardcode interrupt trigger type
    e629efc6d602 ARM: dts: meson8b: correct uart_B and uart_C clock references
    bd46ade71497 ARM: dts: BCM5301X: Drop "clock-names" from the SPI node
    20ecae1af578 drm/vram-helper: fix function names in vram helper doc
    46a34e145955 drm/bridge: tc358768: fix THS_TRAILCNT computation
    f2f7d0a4a22a drm/bridge: tc358768: fix TXTAGOCNT computation
    8e47328fe089 drm/bridge: tc358768: fix THS_ZEROCNT computation
    6b9450723bab drm/bridge: tc358768: fix TCLK_TRAILCNT computation
    33abcfbb17b0 drm/bridge: tc358768: Add atomic_get_input_bus_fmts() implementation
    43b2d11ccffb drm/bridge: tc358768: fix TCLK_ZEROCNT computation
    46b741718989 drm/bridge: tc358768: fix PLL target frequency
    825b00c68589 drm/bridge: tc358768: fix PLL parameters computation
    1b4f23fdf27f drm/bridge: tc358768: always enable HS video mode
    4e0fd4f54bea Input: drv260x - sleep between polling GO bit
    2780d5844855 drm/amd/display: Explicitly specify update type per plane info change
    b2213fc60b83 radeon: avoid double free in ci_dpm_init()
    472a615e66b9 netlink: Add __sock_i_ino() for __netlink_diag_dump().
    d10b38036977 ipvlan: Fix return value of ipvlan_queue_xmit()
    5215c0096839 netfilter: nf_conntrack_sip: fix the ct_sip_parse_numerical_param() return value.
    9bdcda7abaf2 netfilter: conntrack: dccp: copy entire header to stack buffer, not just basic one
    36e07e8acfb9 lib/ts_bm: reset initial match offset for every block of text
    96f2c6f272ec net: nfc: Fix use-after-free caused by nfc_llcp_find_local
    a3a1550c4d2e nfc: llcp: simplify llcp_sock_connect() error paths
    cb1aa7cc562c sfc: fix crash when reading stats while NIC is resetting
    6ccfec84f025 net: axienet: Move reset before 64-bit DMA detection
    bccc7ace12e6 gtp: Fix use-after-free in __gtp_encap_destroy().
    4d9cd4b330d8 selftests: rtnetlink: remove netdevsim device after ipsec offload test
    44db85c6e1a1 netlink: do not hard code device address lenth in fdb dumps
    cde7b90e0539 netlink: fix potential deadlock in netlink_set_err()
    0c9e48428f6b net: stmmac: fix double serdes powerdown
    1ba91ffa1a0e igc: Fix race condition in PTP tx code
    660d4e73efb0 wifi: ath9k: convert msecs to jiffies where needed
    150ca0768b50 wifi: cfg80211: rewrite merging of inherited elements
    4e321c18ef92 wifi: iwlwifi: pull from TXQs with softirqs disabled
    2715617c2aad rtnetlink: extend RTEXT_FILTER_SKIP_STATS to IFLA_VF_INFO
    581401cd3cf9 wifi: ath9k: Fix possible stall on ath9k_txq_list_has_key()
    6b22c2c649a1 memstick r592: make memstick_debug_get_tpc_name() static
    6cb477e7226b kexec: fix a memory leak in crash_shrink_memory()
    fdb07728d8ff watchdog/perf: more properly prevent false positives with turbo modes
    ac23d7f41426 watchdog/perf: define dummy watchdog_update_hrtimer_threshold() on correct config
    22da8363e35f wifi: rsi: Do not set MMC_PM_KEEP_POWER in shutdown
    b2aeb97fd470 wifi: rsi: Do not configure WoWlan in shutdown hook if not enabled
    1044187e7249 wifi: ath9k: don't allow to overwrite ENDPOINT0 attributes
    c10c6ea9b3a2 wifi: ray_cs: Fix an error handling path in ray_probe()
    8825991838fc wifi: ray_cs: Drop useless status variable in parse_addr()
    a66e3fd3801a wifi: ray_cs: Utilize strnlen() in parse_addr()
    18d71562f70d wifi: wl3501_cs: Fix an error handling path in wl3501_probe()
    b6f793de619b wl3501_cs: use eth_hw_addr_set()
    cbd44a9e1cf1 net: create netdev->dev_addr assignment helpers
    13cf0e3894d1 wl3501_cs: Fix misspelling and provide missing documentation
    5512db9bd404 wifi: atmel: Fix an error handling path in atmel_probe()
    86ebbcbdc7b1 wifi: orinoco: Fix an error handling path in orinoco_cs_probe()
    fb7d78feb55a wifi: orinoco: Fix an error handling path in spectrum_cs_probe()
    8782dc2504da regulator: core: Streamline debugfs operations
    92bcd8494126 regulator: core: Fix more error checking for debugfs_create_dir()
    78f390aa0eb5 bpftool: JIT limited misreported as negative value on aarch64
    107e849f3c6a nfc: llcp: fix possible use of uninitialized variable in nfc_llcp_send_connect()
    0be9de2ea01e nfc: constify several pointers to u8, char and sk_buff
    ef7fe1b5c4fb libbpf: fix offsetof() and container_of() to work with CO-RE
    b190ced50a5e sctp: add bpf_bypass_getsockopt proto callback
    08f61a349135 bpf: Remove extra lock_sock for TCP_ZEROCOPY_RECEIVE
    c62e2ac02e28 wifi: mwifiex: Fix the size of a memory allocation in mwifiex_ret_802_11_scan()
    3ae910a375b6 wifi: wilc1000: fix for absent RSN capabilities WFA testcase
    795ef550307c spi: spi-geni-qcom: Correct CS_TOGGLE bit in SPI_TRANS_CFG
    bd3e880dce27 samples/bpf: Fix buffer overflow in tcp_basertt
    250efb4d3f5b wifi: ath9k: avoid referencing uninit memory in ath9k_wmi_ctrl_rx
    0f3f41b47533 wifi: ath9k: fix AR9003 mac hardware hang check register offset calculation
    cbd0f41a5362 igc: Enable and fix RX hash usage by netstack
    a14cb307267b pstore/ram: Add check for kstrdup
    628709a05708 ima: Fix build warnings
    16ec59c03ad2 evm: Complete description of evm_inode_setattr()
    cba85e1cb79f x86/mm: Fix __swp_entry_to_pte() for Xen PV guests
    365f546de584 perf/ibs: Fix interface via core pmu events
    604d6a5ff718 rcu/rcuscale: Stop kfree_scale_thread thread(s) after unloading rcuscale
    d414e24d1509 rcu/rcuscale: Move rcu_scale_*() after kfree_scale_cleanup()
    ecc5e6dbc269 rcuscale: Move shutdown from wait_event() to wait_event_idle()
    b62c816bdb5e rcuscale: Always log error message
    8cd9917c13a7 rcuscale: Console output claims too few grace periods
    456f783b83f8 thermal/drivers/sun8i: Fix some error handling paths in sun8i_ths_probe()
    bacc49b2d561 cpufreq: intel_pstate: Fix energy_performance_preference for passive
    a8bfe527556b ARM: 9303/1: kprobes: avoid missing-declaration warnings
    a50b75c13d37 powercap: RAPL: Fix CONFIG_IOSF_MBI dependency
    23f6efd22644 perf/arm-cmn: Fix DTC reset
    b69868d50df4 PM: domains: fix integer overflow issues in genpd_parse_state()
    ebdff0986513 clocksource/drivers/cadence-ttc: Fix memory leak in ttc_timer_probe
    a2f83a4c7cb5 tracing/timer: Add missing hrtimer modes to decode_hrtimer_mode().
    f1be1ed32daa posix-timers: Prevent RT livelock in itimer_delete()
    b315d57da456 irqchip/jcore-aic: Fix missing allocation of IRQ descriptors
    495cee0e1417 irqchip/jcore-aic: Kill use of irq_create_strict_mappings()
    9d1cccdad080 md/raid10: fix io loss while replacement replace rdev
    2990e2ece18d md/raid10: fix null-ptr-deref of mreplace in raid10_sync_request
    b1d8f38310bc md/raid10: fix wrong setting of max_corr_read_errors
    b3a0bc4a01fa md/raid10: fix overflow of md/safe_mode_delay
    39fa14e824ac md/raid10: check slab-out-of-bounds in md_bitmap_get_counter
    8563b58a4360 blk-iocost: use spin_lock_irqsave in adjust_inuse_and_calc_cost
    3db97cc79b82 x86/resctrl: Only show tasks' pid in current pid namespace
    1a82005f3f63 fs: pipe: reveal missing function protoypes
    f70407e8e027 nubus: Partially revert proc_create_single_data() conversion
    0336c8f07223 drm/amdgpu: Validate VM ioctl flags.
    c484b65f93e0 scripts/tags.sh: Resolve gtags empty index generation
    649104c834ba Revert "thermal/drivers/mediatek: Use devm_of_iomap to avoid resource leak in mtk_thermal_probe"
    02a4c4e225f4 HID: logitech-hidpp: add HIDPP_QUIRK_DELAYED_INIT for the T651.
    9598a647ecc8 HID: wacom: Use ktime_t rather than int when dealing with timestamps
    2bf70b88cc35 fbdev: imsttfb: Fix use after free bug in imsttfb_probe
    5b813734a0d2 video: imsttfb: check for ioremap() failures
    02fbf62df99f can: isotp: isotp_sendmsg(): fix return error fix on TX path
    8667f7113107 x86/smp: Use dedicated cache-line for mwait_play_dead()
    1d0fe3fb5d4b media: atomisp: fix "variable dereferenced before check 'asd'"

(From OE-Core rev: a0694f3cb9dffff43c00929b4acef877797573ff)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-08-19 05:56:58 -10:00
Bruce Ashfield
05f211d9e5 linux-yocto/5.10: update to v5.10.187
Updating  to the latest korg -stable release that comprises
the following commits:

    140d69b4e41d Linux 5.10.187
    93df00f9d48d x86/cpu/amd: Add a Zenbleed fix
    191b8f9b0e37 x86/cpu/amd: Move the errata checking functionality up
    113ce5ed59fc x86/microcode/AMD: Load late on both threads too

(From OE-Core rev: 50f8192a95315db169beb38d36d5d0a974f3ac4d)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-08-19 05:56:58 -10:00
Bruce Ashfield
e0d3928962 linux-yocto/5.10: update to v5.10.186
Updating  to the latest korg -stable release that comprises
the following commits:

    381518b4a916 Linux 5.10.186
    29917a20be43 bpf/btf: Accept function names that contain dots
    8b7454dd984a netfilter: nf_tables: hold mutex on netns pre_exit path
    9e8d927cfa56 netfilter: nf_tables: validate registers coming from userspace.
    f19a4818a92a netfilter: nftables: statify nft_parse_register()
    42997367cb67 i2c: imx-lpi2c: fix type char overflow issue when calculating the clock cycle
    5a257f355366 x86/apic: Fix kernel panic when booting with intremap=off and x2apic_phys
    d8efc77f23c8 drm/radeon: fix race condition UAF in radeon_gem_set_domain_ioctl
    485fe165084b drm/exynos: fix race condition UAF in exynos_g2d_exec_ioctl
    0b0fdc43b2ab drm/exynos: vidi: fix a wrong error return
    32134e7a0f21 ARM: dts: Fix erroneous ADS touchscreen polarities
    79cf5657be38 s390/purgatory: disable branch profiling
    a819de62ec2b ASoC: nau8824: Add quirk to active-high jack-detect
    fa08753c2d04 ASoC: simple-card: Add missing of_node_put() in case of error
    9138ed7e2b43 spi: lpspi: disable lpspi module irq in DMA mode
    97b6c4c1d1a8 s390/cio: unregister device when the only path is gone
    fe949c1662c9 Input: soc_button_array - add invalid acpi_index DMI quirk handling
    eaf1fa945206 usb: gadget: udc: fix NULL dereference in remove()
    7d1a0733a55e nfcsim.c: Fix error checking for debugfs_create_dir
    dc357c0787e8 media: cec: core: don't set last_initiator if tx in progress
    c13573032b7b arm64: Add missing Set/Way CMO encodings
    49a2b18f4972 HID: wacom: Add error check to wacom_parse_and_register()
    2b43198de03f scsi: target: iscsi: Prevent login threads from racing between each other
    75aa3f255c88 gpiolib: Fix GPIO chip IRQ initialization restriction
    304802e5b038 gpio: Allow per-parent interrupt data
    bc75968b494a sch_netem: acquire qdisc lock in netem_change()
    caddeadd0d03 Revert "net: phy: dp83867: perform soft reset and retain established link"
    5702afa2c331 netfilter: nfnetlink_osf: fix module autoload
    3d5c09c782a3 netfilter: nf_tables: disallow element updates of bound anonymous sets
    2a90da8e0dd5 netfilter: nft_set_pipapo: .walk does not deal with generations
    792bfe26a655 be2net: Extend xmit workaround to BE3 chip
    cebb5cee0984 net: dsa: mt7530: fix trapping frames on non-MT7621 SoC MT7530 switch
    7a1ae0000509 ipvs: align inner_mac_header for encapsulation
    f2547bc71663 mmc: usdhi60rol0: fix deferred probing
    4a99e35c5a62 mmc: sh_mmcif: fix deferred probing
    c2278de1382b mmc: sdhci-acpi: fix deferred probing
    f6e176ef894a mmc: owl: fix deferred probing
    f29d0ab0e6bd mmc: omap_hsmmc: fix deferred probing
    65d9318e3d56 mmc: omap: fix deferred probing
    9ad3c21fb66d mmc: mvsdio: fix deferred probing
    9b0417fd402f mmc: mtk-sd: fix deferred probing
    ced13bc50ef0 net: qca_spi: Avoid high load if QCA7000 is not available
    b1b9c81e29d2 xfrm: Linearize the skb after offloading if needed.
    31cd0d4a4470 selftests: net: fcnal-test: check if FIPS mode is enabled
    2af75a36af8d selftests: net: vrf-xfrm-tests: change authentication and encryption algos
    07fbbddae5af xfrm: fix inbound ipv4/udp/esp packets to UDPv6 dualstack sockets
    562800447f8b bpf: Fix verifier id tracking of scalars on spill
    3b0a96db670b bpf: track immediate values written to stack by BPF_ST instruction
    bff7824db681 xfrm: Ensure policies always checked on XFRM-I input path
    01af67ed83d0 xfrm: interface: rename xfrm_interface.c to xfrm_interface_core.c
    cdaa6e1105c0 xfrm: Treat already-verified secpath entries as optional
    47be2931c4e5 ieee802154: hwsim: Fix possible memory leaks
    051d6421337b memfd: check for non-NULL file_seals in memfd_create() syscall
    1ac6e9ee8428 sysctl: move some boundary constants from sysctl.c to sysctl_vals
    e1aa3fe3e282 mm/pagealloc: sysctl: change watermark_scale_factor max limit to 30%
    ad10dd211370 x86/mm: Avoid using set_pgd() outside of real PGD pages
    4de2093674f2 nilfs2: prevent general protection fault in nilfs_clear_dirty_page()
    3845c38417bd io_uring/net: disable partial retries for recvmsg with cmsg
    826ee9fa3647 io_uring/net: clear msg_controllen on partial sendmsg retry
    5fdea4468f57 io_uring/net: save msghdr->msg_control for retries
    5a7101d8faab writeback: fix dereferencing NULL mapping->host on writeback_page_template
    f00cd687c2cd regmap: spi-avmm: Fix regmap_bus max_raw_write
    bc35f93e4bd7 regulator: pca9450: Fix LDO3OUT and LDO4OUT MASK
    5938470f9c80 ip_tunnels: allow VXLAN/GENEVE to inherit TOS/TTL from VLAN
    2e454015ca27 mmc: mmci: stm32: fix max busy timeout calculation
    1be288fd3b0d mmc: meson-gx: remove redundant mmc_request_done() call from irq context
    1b97630cd9a9 mmc: sdhci-msm: Disable broken 64-bit DMA on MSM8916
    63608437a83d cgroup: Do not corrupt task iteration when rebinding subsystem
    988d06f5eb32 PCI: hv: Fix a race condition in hv_irq_unmask() that can cause panic
    8f2d5ebdfef7 PCI: hv: Remove the useless hv_pcichild_state from struct hv_pci_dev
    8b7484676994 Revert "PCI: hv: Fix a timing issue which causes kdump to fail occasionally"
    79ceb758e3db PCI: hv: Fix a race condition bug in hv_pci_query_relations()
    8b8c9812c048 Drivers: hv: vmbus: Fix vmbus_wait_for_unload() to scan present CPUs
    b435298349ab nilfs2: fix buffer corruption due to concurrent device reads
    524a2c0bcf99 selftests: mptcp: join: skip check if MIB counter not supported
    e508d9cef887 selftests: mptcp: pm nl: remove hardcoded default limits
    4c4ca42418a5 selftests: mptcp: lib: skip if not below kernel version
    6d20cfbc578d selftests: mptcp: lib: skip if missing symbol
    3cc7935d3221 tick/common: Align tick period during sched_timer setup
    db4ab0c97a4d tracing: Add tracing_reset_all_online_cpus_unlocked() function
    9ced73049016 net/sched: Refactor qdisc_graft() for ingress and clsact Qdiscs
    b1b42fff8ae1 drm/amd/display: fix the system hang while disable PSR

(From OE-Core rev: 591afa6b33a409df5fcd92d66069f39495bc526f)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-08-19 05:56:58 -10:00
Adrian Freihofer
3d4850b3ea dmidecode: fixup for CVE-2023-30630
The previous CVE-2023-30630_1.patch picked only the patch
"dmidecode: Write the whole dump file at once" d8cfbc808f.
But there was a refactoring which does not allow to cherry-pick it fast
forward. Resolving this conflict was not correctly done. The patch was:

+    u32 len;
+    u8 *table;
...
-    if (!(opt.flags & FLAG_QUIET))
-        pr_comment("Writing %d bytes to %s.", crafted[0x05],
-                   opt.dumpfile);
-    write_dump(0, crafted[0x05], crafted, opt.dumpfile, 1);
+    dmi_table_dump(crafted, crafted[0x05], table, len);

It looks like the variables len and table have been added without
initialization.
Now this problem is solved by applying the previous refactoring as
well. Patch 1 gets replaced by Patch 1a and Patch 1b. Patch 2..4 are
rebased without changes.

(From OE-Core rev: ea069a94a213cc153528aebfc387f30215566cc7)

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-08-19 05:56:58 -10:00
Ashish Sharma
5eab65275d curl: Backport fix CVE-2023-32001
(From OE-Core rev: 10df7553d1107438408f680ac28a2daf87d4163e)

Signed-off-by: Ashish Sharma <asharma@mvista.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-08-19 05:56:58 -10:00
Archana Polampalli
0ffefc4b62 qemu: fix CVE-2023-3180
A flaw was found in the QEMU virtual crypto device while handling data
encryption/decryption requests in virtio_crypto_handle_sym_req.
There is no check for the value of `src_len` and `dst_len` in
virtio_crypto_sym_op_helper, potentially leading to a heap buffer
overflow when the two values differ.

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

Upstream patches:
49f1e02bac

(From OE-Core rev: de421cab92c49ba0f068eae9d6b458a0368fcd03)

Signed-off-by: Archana Polampalli <archana.polampalli@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-08-19 05:56:58 -10:00
Peter Marko
ef8a18fd3b procps: patch CVE-2023-4016
Backport patch from upstream master.

There were three changes needed to apply the patch:
* move NEWS change to start of the file
* change file location from src/ps/ to ps/
* change xmalloc/xcmalloc to malloc/cmalloc

The x*malloc functions were introduced in commit in future version.
584028dbe5
They call the original function plus additionally throw error when out of memory.
https://gitlab.com/procps-ng/procps/-/blob/v4.0.3/local/xalloc.h?ref_type=tags
So this replacement is correct in context of our version.

(From OE-Core rev: 71d0683d625c09d4db5e0473a0b15a266aa787f4)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-08-19 05:56:58 -10:00
Archana Polampalli
8e90df16f5 ghostscript: fix CVE-2023-38559
A buffer overflow flaw was found in base/gdevdevn.c:1973 in devn_pcx_write_rle()
in ghostscript. This issue may allow a local attacker to cause a denial of service
via outputting a crafted PDF file for a DEVN device with gs.

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

Upstream patch:
https://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=d81b82c70bc1fb9991bb95f1201abb5dea55f57f

(From OE-Core rev: e77c0b35969ae690b390ffae682fd6552ff8aff8)

Signed-off-by: Archana Polampalli <archana.polampalli@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-08-19 05:56:58 -10:00
Vivek Kumbhar
ab548842ef qemu: fix CVE-2023-3354 VNC: improper I/O watch removal in TLS handshake can lead to remote unauthenticated denial of service
(From OE-Core rev: 42859fe600e5dddba3c51fa8d1e680721b73e5dc)

Signed-off-by: Vivek Kumbhar <vkumbhar@mvista.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-08-19 05:56:58 -10:00
Yogita Urade
4869a1f60e qemu: fix CVE-2020-14394
QEMU: infinite loop in xhci_ring_chain_length() in hw/usb/hcd-xhci.c

Reference:
https://gitlab.com/qemu-project/qemu/-/issues/646

(From OE-Core rev: 057f4f77ac2e83f99c916dceb4cbbcc8de448ad4)

Signed-off-by: Yogita Urade <yogita.urade@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-08-19 05:56:58 -10:00
Narpat Mali
fbe56e677b python3-certifi: fix CVE-2023-37920
Certifi is a curated collection of Root Certificates for validating
the trustworthiness of SSL certificates while verifying the identity
of TLS hosts. Certifi prior to version 2023.07.22 recognizes "e-Tugra"
root certificates. e-Tugra's root certificates were subject to an
investigation prompted by reporting of security issues in their systems.
Certifi 2023.07.22 removes root certificates from "e-Tugra" from the
root store.

References:
https://nvd.nist.gov/vuln/detail/CVE-2023-37920
https://github.com/certifi/python-certifi/security/advisories/GHSA-xqr8-7jwr-rhp7

(From OE-Core rev: 98abbe3394638c6ce795b34247a9e49120e4ffba)

Signed-off-by: Narpat Mali <narpat.mali@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-08-19 05:56:58 -10:00
Steve Sakoman
d6b8790370 build-appliance-image: Update to kirkstone head revision
(From OE-Core rev: e1a604db8d2cf8782038b4016cc2e2052467333b)

Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-08-07 04:44:16 -10:00
Steve Sakoman
326921a89e poky.conf: bump version for 4.0.12
(From meta-yocto rev: 464204a5e52a3f3ae5d7ec9e36c143ca06fed3eb)

Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-08-07 04:40:44 -10:00
Steve Sakoman
ab9b43f60b gcc: fix runpath errors in cc1 binary
The runpath in the cc1 binary is:

Library runpath: [$ORIGIN/../../../recipe-sysroot-native/usr/lib:$ORIGIN/../../../recipe-sysroot-native/lib]

This does not match the actual location of the libraries, which would require:

Library runpath: [$ORIGIN/../../recipe-sysroot-native/usr/lib:$ORIGIN/../../recipe-sysroot-native/lib]

Prior to gcc 9.1 the recipe set B explicity with:

B = "${WORKDIR}/gcc-${PV}/build.${HOST_SYS}.${TARGET_SYS}"

and this build directory structure matches the runpath in cc1, so there is no issue.

This line was commented out in versions 9.1 through 11.3.  The upgrade to 12.1 once
again uncommented this line.

As a result the runpath is incorrect in version 9.1 through 11.3 and cc1 defaults
to using host libraries.

This patch restores setting B as done in master and versions prior to 9.1

(From OE-Core rev: b6f4b3d43a399c2b446754de56ebea35657e13de)

Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-08-07 04:40:44 -10:00
Peter Marko
7e2d3b8346 openssl: Upgrade 3.0.9 -> 3.0.10
https://github.com/openssl/openssl/blob/openssl-3.0/NEWS.md#major-changes-between-openssl-309-and-openssl-3010-1-aug-2023
Major changes between OpenSSL 3.0.9 and OpenSSL 3.0.10 [1 Aug 2023]
* Fix excessive time spent checking DH q parameter value (CVE-2023-3817)
* Fix DH_check() excessive time with over sized modulus (CVE-2023-3446)
* Do not ignore empty associated data entries with AES-SIV (CVE-2023-2975)

(From OE-Core rev: 94ce10791ce10aa30d3a3bdef53f9b2f3c1b331a)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-08-07 04:40:44 -10:00
Sundeep KOKKONDA
e8c1d3e07e gcc : upgrade to v11.4
gcc stable version upgraded from v11.3 to v11.4

For changes in v11.4 see - https://gcc.gnu.org/gcc-11/changes.html

Below is the bug fix list for v11.4
https://gcc.gnu.org/bugzilla/buglist.cgi?bug_status=RESOLVED&order=short_desc%2Cbug_status%2Cpriority%2Cassigned_to%2Cbug_id&query_format=advanced&resolution=FIXED&target_milestone=11.4

There are a total 115 bugs are fixed in this release, below is the list of bugs fixed excluding the regression fixes.

ID	Product	Comp	    Resolution	Summary▲
108199	gcc	tree-opt	FIXE	Bitfields, unions and SRA and storage_order_attribute
107801	gcc	libstdc+	FIXE	Building cross compiler for H8 family fails in libstdc++ (c++17/memory_resource.cc)
108265	gcc	libstdc+	FIXE	chrono::hh_mm_ss can't be constructed from unsigned durations
104443	gcc	libstdc+	FIXE	common_iterator<I, S>::operator-> is not correctly implemented
98056	gcc	c++		FIXE	coroutines: ICE tree check: expected record_type or union_type or qual_union_type, have array_type since r11-2183-g0f66b8486cea8668
107061	gcc	target		FIXE	ENCODEKEY128 clobbers xmm4-xmm6
105433	gcc	testsuit	FIXE	FAIL: gcc.target/i386/iamcu/test_3_element_struct_and_unions.c
105095	gcc	testsuit	FIXE	gcc.dg/vect/complex/fast-math-complex-* tests are not executed
100474	gcc	c++		FIXE	ICE: in diagnose_trait_expr, at cp/constraint.cc:3706
105854	gcc	target		FIXE	ICE: in extract_constrain_insn, at recog.cc:2692 (insn does not satisfy its constraints: sse2_lshrv1ti3)
104462	gcc	target		FIXE	ICE: in extract_constrain_insn_cached, at recog.cc:2682 with -mavx512fp16 -mno-xsave
106045	gcc	libgomp		FIXE	Incorrect testcase in libgomp.c/target-31.c at -O0
56189	gcc	c++		FIXE	Infinite recursion with noexcept when instantiating function template
100295	gcc	c++		FIXE	Internal compiler error from generic lambda capturing parameter pack and expanding it in if constexpr
100613	gcc	jit		FIXE	libgccjit should produce dylib on macOS
104875	gcc	libstdc+	FIXE	libstdc++-v3/src/c++11/codecvt.cc:312:24: warning: left shift count >= width of type
107471	gcc	libstdc+	FIXE	mismatching constraints in common_iterator
105284	gcc	libstdc+	FIXE	missing syncstream and spanstream forward decl. in <iosfwd>
98821	gcc	c++		FIXE	modules : c++tools configures with CC but code fragments assume CXX.
109846	gcc	fortran		FIXE	Pointer-valued function reference rejected as actual argument
101324	gcc	target		FIXE	powerpc64le: hashst appears before mflr at -O1 or higher
102479	gcc	c++		FIXE	segfault when deducing class template arguments for tuple with libc++-14
105128	gcc	libstdc+	FIXE	source_location compile error for latest clang 15
106183	gcc	libstdc+	FIXE	std::atomic::wait might fail to be unblocked by notify_one/all on platforms without platform_wait()
102994	gcc	libstdc+	FIXE	std::atomic<ptr>::wait is not marked const
105324	gcc	libstdc+	FIXE	std::from_chars() assertion at floating_from_chars.cc:78 when parsing 1.11111111....
105375	gcc	libstdc+	FIXE	std::packaged_task has no deduction guide.
104602	gcc	libstdc+	FIXE	std::source_location::current uses cast from void*
106808	gcc	libstdc+	FIXE	std::string_view range concept requirement causes compile error with Boost.Filesystem
105725	gcc	c++		FIXE	[ICE] segfault with `-Wmismatched-tags`
105920	gcc	target		FIXE	__builtin_cpu_supports ("f16c") should check AVX

(From OE-Core rev: 4fd7e5951c42336729f12cde71450ec298f2078b)

Signed-off-by: Sundeep KOKKONDA <sundeep.kokkonda@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-08-07 04:40:44 -10:00
Yuta Hayama
cd1d34d510 cve-update-nvd2-native: always pass str for json.loads()
Currently json.loads() accepts one of the types str, bytes, or bytearray
as an argument, but bytes and bytearrays have only been allowed since
python 3.6. The version of Python3 provided by default on Ubuntu 16.04
and Debian 9.x is 3.5, so make raw_data type str to work correctly on
these build hosts.

(From OE-Core rev: e67d659847afe648de1b1eca2d19c4f6375dd12c)

Signed-off-by: Yuta Hayama <hayama@lineo.co.jp>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-08-07 04:40:44 -10:00
Sakib Sajal
1aae734721 go: fix CVE-2023-24531
Backport required patches from go1.21 to fix CVE-2023-24531.

(From OE-Core rev: 6d892c52bd5806507a05e8b6f749c54bbd9e9da6)

Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-08-07 04:40:44 -10:00
Sakib Sajal
1ba43f2c88 go: fix CVE-2023-24536
Backport required patches to fix CVE-2023-24536.

(From OE-Core rev: a774c895f4a425979cef8e05e8dd17c2dcb67654)

Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-08-07 04:40:44 -10:00
Archana Polampalli
ae7992e3b7 qemu: fix CVE-2023-2861
9pfs: prevent opening special files

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

Upstream patches:
10fad73a2b

(From OE-Core rev: 9bd4ddeb4b5efc65b0514d50d6991211271924c1)

Signed-off-by: Archana Polampalli <archana.polampalli@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-08-07 04:40:43 -10:00
Archana Polampalli
76f6267368 qemu: fix CVE-2023-3255
VNC: infinite loop in inflate_buffer() leads to denial of service

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

Upstream patches:
d921fea338

(From OE-Core rev: 52711b1392ed0c5cbe4ddf70a94b21be2f4e6e58)

Signed-off-by: Archana Polampalli <archana.polampalli@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-08-07 04:40:43 -10:00
Archana Polampalli
2587c36e87 qemu: fix CVE-2023-3301
qemu: hotplug/hotunplug mlx vdpa device to the occupied addr port,
then qemu core dump occurs after shutdown guest

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

Upstream patches:
a0d7215e33

(From OE-Core rev: f549ff6db018f66a80fc65987675e8bb6afcd002)

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

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

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

(From OE-Core rev: d5e7971e12cdc8748be91b4e6408b42fa86b2f15)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-08-07 04:40:43 -10:00
Peter Marko
9ceede321a libpcre2: patch CVE-2022-41409
Backport commit mentioned in NVD DB links.
94e1c00176

(From OE-Core rev: 410cdbc70cfba709ec5bef508e772f52514ba28a)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-08-07 04:40:43 -10:00
Alexander Kanavin
7fdfb828fd bitbake: bitbake-layers: initialize tinfoil before registering command line arguments
Plugins may want to use it (e.g. the layers-setup plugin that would
want to discover writer sub-plugins with it), and so it makes sense
to make tinfoil available a bit eariler.

(Bitbake rev: 41b6684489d0261753344956042be2cc4adb0159)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 2f6c7523a622f59ddf84a1a196927492bc5fa7a2)
Signed-off-by: Jermain Horsman <jermain.horsman@nedap.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-08-04 04:43:41 -10:00
Michael Opdenacker
fa7dd8ac75 ref-manual: document image-specific variant of INCOMPATIBLE_LICENSE
This has been around without being properly documented since 2019 (!!!),
and is nowadays the preferred method for enforcing license restrictions,
especially since meta-gplv2 is officially obsolete.

(From yocto-docs rev: 4dfef81ac6164764c6541e39a9fef81d49227096)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-08-02 04:47:13 -10:00
Benjamin Bouvier
96404a7c4c util-linux: add alternative links for ipcs,ipcrm
When enabling ipcs and ipcrm configuration into busybox, both tools are
built and then deployed during do_rootfs. These operation lead to below
issue (similar behavior happens for ipcs):

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

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

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

(From OE-Core rev: dc2e760591c5ed3c999222f235484829426c71a7)

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

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

(From OE-Core rev: b39e394771e4fa4c9250e11fafe5ef2157089422)

Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit b9a7739b01e31d0cc8358d99255e3e1b02a0a1a8)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-08-02 04:47:13 -10:00
Jose Quaresma
03ae07181a openssl: add PERLEXTERNAL path to test its existence
When upstream change is better to fail or removing the PERL5LIB
if they are not need anymore.

(From OE-Core rev: 14905c6bfdaba3e2e31eaee6c02e20bf7b6669a7)

Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 337ac1159644678508990927923ef8af30f34cd7)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-08-02 04:47:13 -10:00
Yoann Congal
d97c5782be oeqa/selftest/devtool: add unit test for "devtool add -b"
Fix [Yocto #15085]

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

Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit d5eedf8ca689ccb433c2f5d0b324378f966dd627)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-08-02 04:47:13 -10:00
Ross Burton
a22efd0373 oeqa/runtime/cases/rpm: fix wait_for_no_process_for_user failure case
str.format() doesn't use % notation, update the formatting to work.

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

(From OE-Core rev: 05c8af81438d43fd83495cb165c75f43778fea41)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 017f3a0b1265c1a3b69c20bdb56bbf446111977e)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-08-02 04:47:13 -10:00
Khem Raj
56f316630a meson.bbclass: Point to llvm-config from native sysroot
Default search in meson would grok /usr/bin for llvm-config and if found
will use it, which might add wrong paths into cflags/ldflags, since we
depend on llvm-native when building gallium support ( thats when
llvm-config is effective), its better to point llvm-config into native
sysroot so it can add correct paths into compiler/linker cmdline

(From OE-Core rev: 8e6b616066ba0f7f452f929dc7c412e620da9101)

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

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

(From OE-Core rev: 3a79a210665efae1af6d68e9e923a739c82d800e)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 9b2e2c8d809e7ca34451ec9702b029a00dfb410b)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-08-02 04:47:13 -10:00
Ovidiu Panait
c094bb4a46 mdadm: skip running known broken ptests
Upstream marked some testcases as "KNOWN BROKEN" and introduced the
"--skip-broken" flag to ignore them when running the testsuite (commits [1]
and [2]). Backport these two commits to get rid of the last remaining ptest
failures.

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

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

(From OE-Core rev: 62daa4ca064da1c014b9c21798bc55ff3e7656e6)

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

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

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

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

(From OE-Core rev: 4ea6acbf25ad1b3e910f01d136b53c6353daf0c5)

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

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

(From OE-Core rev: 1df8d9d45bb4ff01e30d9ec9ffd0fb822d5f91e9)

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

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

(From OE-Core rev: 898b9add68d9c30c7c90285e659b128289313668)

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

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

(From OE-Core rev: 0e9a70ee3c8f78db746d3cb627c6b212e1b4e4e4)

Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit bb64f3fed29b9532e6ddc9a2ba0283d373622d87)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-08-02 04:47:13 -10:00
Yuta Hayama
162ca7a55c systemd-systemctl: fix errors in instance name expansion
If the instance name indicated by %i begins with a number, the meaning of the
replacement string "\\1{}".format(instance) is ambiguous.

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

(From OE-Core rev: 392f60b0aa775ce95c3494ae87551e7954c9925b)

Signed-off-by: Yuta Hayama <hayama@lineo.co.jp>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit d18b939fb08b37380ce95934da38e6522392621c)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-08-02 04:47:13 -10:00
Yoann Congal
23af44f254 recipetool: Fix inherit in created -native* recipes
native and nativesdk classes are special and must be inherited last :
put them at the end of the gathered classes to inherit.

(From OE-Core rev: 2c92780236b25205af0dcf75de2d2ede14132152)

Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit a6614fd800cbe791264aeb102d379ba79bd145c2)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-08-02 04:47:13 -10:00
Andrej Valek
0391bb6f9e kernel: add missing path to search for debug files
Since explicit debug package creation via ${KERNEL_PACKAGE_NAME}-dbg has
been added to kernel, it has to cover all PACKAGE_DEBUG_SPLIT_STYLE
options. For ex. when the variable "debug-file-directory" package search
path has to be set explicitly, otherwise it will not find any files.

(From OE-Core rev: 9adbda8450c57f49edf85e3b3433304e8ac8267e)

Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 9c39da147683dcaaa244b3ddc4531c4408ad5c9e)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-08-02 04:47:13 -10:00
Martin Jansa
2e4bdbc5c4 libxcrypt: fix build with perl-5.38 and use master branch
* fixes do_configure failure:
  checking whether all ucontext.h functions are available... yes
  when is deprecated at libxcrypt/4.4.30-r0/git/build-aux/scripts/BuildCommon.pm line 522.
  Compilation failed in require at ../git/build-aux/scripts/expand-selected-hashes line 28.
  BEGIN failed--compilation aborted at ../git/build-aux/scripts/expand-selected-hashes line 28.
  configure: error: bad value 'all' for --enable-hashes
  NOTE: The following config.log files may provide further information.

* with this patch backported it works OK:
  libxcrypt/4.4.30-r0/git $ perl build-aux/scripts/expand-selected-hashes
  usage: expand-selected-hashes hashes.conf names,of,selected,hashes

* similarly do_compile failure:
  ../git/build-aux/scripts/move-if-change crypt-hashes.h.T crypt-hashes.h
  ../git/build-aux/scripts/move-if-change crypt-symbol-vers.h.T crypt-symbol-vers.h
  given is deprecated at ../git/build-aux/scripts/gen-crypt-h line 41.
  Makefile:3818: Makefile.deps: No such file or directory
  make: *** [Makefile:3715: crypt.h.stamp] Error 255

* also use master branch instead of develop, the SRCREV exists in both
  but stable metadata branches should track stable component branches

  libxcrypt/4.4.30-r0/git $ git branch -a --contains d7fe1ac04c326dba7e0440868889d1dccb41a175 | tee
  * develop
    remotes/origin/HEAD -> origin/develop
    remotes/origin/develop
    remotes/origin/master

  and oe-core master also uses master SRCBRANCH since:
  https://git.openembedded.org/openembedded-core/commit/?id=d18e89bd2b46c6e266cc39dbe9fdb6c032f5f1fe

(From OE-Core rev: 54996f24243a10252d3aa70effc9c13db1d507f8)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-08-02 04:47:13 -10:00
Wang Mingyu
f2394b13c1 lttng-ust: upgrade 2.13.5 -> 2.13.6
Changelog:
===========
* Fix: segmentation fault on filter interpretation in "switch" mode
* Fix: `ip` context is expressed as a base-10 field
* Fix: c99: use __asm__ __volatile__
* Fix: c99: static assert: clang build fails due to multiple typedef
* Fix: Reevaluate LTTNG_UST_TRACEPOINT_DEFINE each time tracepoint.h is included
* Fix: trace events in C++ constructors/destructors
* Fix: trace events in C constructors/destructors
* Fix: use unaligned pointer accesses for lttng_inline_memcpy

(From OE-Core rev: 1361c8f4be21e41db74623dcacc92d8f02e6a2ee)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 656470b4b0db579308d218d1ece77bdacd168d14)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-08-02 04:47:13 -10:00
Wang Mingyu
f51ce76cd8 libksba: upgrade 1.6.3 -> 1.6.4
Changelog:
Correctly detect CMS write errors.

(From OE-Core rev: 4bc2f5c3a46b76d152fda326f7c8227fe938b97e)

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

(From OE-Core rev: a905094c4e7ff3475de657adcf7a0afcc132191a)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 90126be6dc32170c08eb90223b6a6cc06c2133ce)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-08-02 04:47:13 -10:00
Alexander Kanavin
9cc2735749 diffutils: update 3.9 -> 3.10
* Noteworthy changes in release 3.10 (2023-05-21) [stable]

** Bug fixes

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

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

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

(From OE-Core rev: ab9ae300ce3895cdf64d207b5dc281b65c984211)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 925155acc6922f7e9df2afa45e79ad1b2c57ba24)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
(cherry picked from commit 21e40166870fadee986fb36be80019d3bcdb69e5)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-08-02 04:47:13 -10:00
Tim Orling
7658d8f2c9 python3: upgrade 3.10.9 -> 3.10.12
Security and bugfix updates.

* Drop cve-2023-24329.patch as it is merged in 3.10.12

CVE: CVE-2023-24329

Includes openssl 1.1.1u which addresses:
CVE: CVE-2023-0286
CVE: CVE-2022-4304
CVE: CVE-2022-4203

https://docs.python.org/release/3.10.12/whatsnew/changelog.html#python-3-10-12-final
https://docs.python.org/release/3.10.12/whatsnew/changelog.html#python-3-10-11-final
https://docs.python.org/release/3.10.12/whatsnew/changelog.html#python-3-10-10-final

License-Update: Update Copyright years to include 2023

(From OE-Core rev: 4df594dbc1b391afbe703f663fb2d5c9e9d35078)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-08-02 04:47:13 -10:00
Yogita Urade
f4c5d9a3a6 dmidecode: fix CVE-2023-30630
Dmidecode before 3.5 allows -dump-bin to overwrite a local file.
This has security relevance because, for example, execution of
Dmidecode via Sudo is plausible.

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

Backport: fixes fuzz in the CVE-2023-30630_2.patch in kirkstone

(From OE-Core rev: 4f83427a0a01e8285c9eb42d2a635d1ff7b23779)

Signed-off-by: Yogita Urade <yogita.urade@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
(cherry picked from commit f92e59a0894145a828dc9ac74bf8c7a9355e0587)
Signed-off-by: Dhairya Nagodra <dnagodra@cisco.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-08-02 04:47:13 -10:00
Archana Polampalli
e01d123ba1 openssh: fix CVE-2023-38408
The PKCS#11 feature in ssh-agent in OpenSSH before 9.3p2 has an
insufficiently trustworthy search path, leading to remote code
execution if an agent is forwarded to an attacker-controlled system.
(Code in /usr/lib is not necessarily safe for loading into ssh-agent.)
NOTE: this issue exists because of an incomplete fix for CVE-2016-10009.

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

Upstream patches:
892506b136
1f2731f5d7
29ef8a0486
099cdf59ce

(From OE-Core rev: 3c01159ab6a843fc922cf779b022c965d4ecd453)

Signed-off-by: Archana Polampalli <archana.polampalli@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-08-02 04:47:13 -10:00
Hitendra Prajapati
d198c0d738 libtiff: fix CVE-2023-26965 heap-based use after free
Upstream-Status: Backport from ec8ef90c1f

(From OE-Core rev: 9b9f88d8828ee822635ed645cc192829fecec39e)

Signed-off-by: Hitendra Prajapati <hprajapati@mvista.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-08-02 04:47:13 -10:00
Hitendra Prajapati
3c2e546a1a tiff: fix multiple CVEs
Backport fixes for:
* CVE-2023-25433 - Upstream-Status: Backport from 9c22495e5e && 688012dca2
* CVE-2023-25434 & CVE-2023-25435 - Upstream-Status: Backport from 69818e2f2d

(From OE-Core rev: 01b9f7f7bb3eaecd6aa757fa090fcc4424788ce1)

Signed-off-by: Hitendra Prajapati <hprajapati@mvista.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-08-02 04:47:13 -10:00
Vivek Kumbhar
4596433a54 go: fix CVE-2023-29406 net/http insufficient sanitization of Host header
(From OE-Core rev: 5dc74138649ab7a2c0158a43225dc7a8fd732355)

Signed-off-by: Vivek Kumbhar <vkumbhar@mvista.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-08-02 04:47:12 -10:00
Hitendra Prajapati
51f8011956 tiff: fix multiple CVEs
Bug-Debian: https://bugs.debian.org/1031632
Origin: afaabc3e50

import from debian http://security.debian.org/debian-security/pool/updates/main/t/tiff/tiff_4.1.0+git191117-2~deb10u7.debian.tar.xz

fix multiple CVEs:

CVE-2023-0795
CVE-2023-0796
CVE-2023-0797
CVE-2023-0798
CVE-2023-0799

(From OE-Core rev: 1a4e54d5b7b4d26b9fcdc2be1b115600ca71c9ea)

Signed-off-by: Hitendra Prajapati <hprajapati@mvista.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-08-02 04:47:12 -10:00
Peter Marko
ffce38bad0 python3: ignore CVE-2023-36632
This CVE shouldn't have been filed as the "exploit" is described in the
documentation as how the library behaves.

(From OE-Core rev: 9665121fd9daf1174ec4045071b900de9195b11e)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit c652f094d86c4efb7ff99accba63b8169493ab18)
Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-08-02 04:47:12 -10:00
Peter Marko
f24230b04b libjpeg-turbo: patch CVE-2023-2804
Relevant links:
* linked fronm NVD:
  * https://github.com/libjpeg-turbo/libjpeg-turbo/issues/668#issuecomment-1492586118
* follow-up analysis:
  * https://github.com/libjpeg-turbo/libjpeg-turbo/issues/668#issuecomment-1496473989
  * picked commits fix all issues mentioned in this analysis

(From OE-Core rev: ca8ede6d29c04159e85c2bdd2b635c58ec6a1484)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-08-02 04:47:12 -10:00
Xiangyu Chen
6539812e23 package.bbclass: moving field data process before variable process in process_pkgconfig
Currently, the latest version abseil-cpp contains a new library named "absl_log_internal_format", it's
basic package config(.pc file) as below:

prefix=/usr
exec_prefix=${prefix}

......

Requires: absl_config = 20230125, absl_core_headers = 20230125, absl_log_internal_append_truncated = 20230125,
absl_log_internal_config = 20230125, absl_log_internal_globals = 20230125, absl_log_severity = 20230125,
absl_strings = 20230125, absl_str_format = 20230125, absl_time = 20230125, absl_span = 20230125
......

Normally, the process_pkgconfig() would process variable data before field data in a .pc file, but in the
absl_log_internal_format, the field data in "Requires" section contains "xxxx = xxxx" format, the
process_pkgconfig() treats them as normal variable and using the setVar() in bitbake's data_smart.py
try to process. The absl_log_internal_format field data contains "_append_", this hit the setVar() checking
and finally bitbake stop building and reporting an error as below:

"Variable xxx contains an operation using the old override syntax. Please convert this layer/metadata before attempting to use with a newer bitbake."

This patch move the field data process before variable process to avoid the process_pkgconfig() treat the field
data as variable.

(From OE-Core rev: e7d3e02a624f7ce23d012bb11ad1df2049066b37)

Signed-off-by: Xiangyu Chen <xiangyu.chen@windriver.com>
(cherry picked from commit a73e269d3e591a10bb397b94b82e3fb960112d33)
Signed-off-by: Clément Péron <peron.clem@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-07-26 05:20:36 -10:00
Richard Purdie
55e4c90abf gcc-testsuite: Fix ppc cpu specification
After this change in qemu:

c7e89de132

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

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

(From OE-Core rev: 3a1b9f300a796e1216d0094043dba7b0f39ec869)

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

(From OE-Core rev: a1119750e9b3b9fae4fa9698d2ea3710a5a73768)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 8905639d1cdc5ce809cc5ecd9672f5e86bf8a579)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-07-26 05:20:36 -10:00
Ross Burton
8585e78965 gcc: don't pass --enable-standard-branch-protection
By changing the default code generation of GCC we're inadvertently
breaking the GCC test suite, which has ~120K+ more failures when run for
aarch64 compared to x86-64.

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

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

(From OE-Core rev: 759327cf6bd79118bae0c68e63742ae4721471d8)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit bb4b9017db6a893ed054a2d2ad4cc671dec09c42)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-07-26 05:20:36 -10:00
Bruce Ashfield
b2e3fcb94d linux-yocto/5.15: update to v5.15.120
Updating  to the latest korg -stable release that comprises
the following commits:

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

(From OE-Core rev: ab60a67c3effda6364fadcf78edf7792c75bff19)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
(cherry picked from commit 51c474534c27ac0739a6373595a49ebbc52c3715)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-07-26 05:20:36 -10:00
Bruce Ashfield
13149ac30f linux-yocto/5.15: update to v5.15.119
Updating  to the latest korg -stable release that comprises
the following commits:

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

(From OE-Core rev: c76f1027756cc83d81b43522a1601b5fda972f86)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
(cherry picked from commit 8ecf81b1960ab1001efe41cb3d132accf985e3dc)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-07-26 05:20:36 -10:00
Archana Polampalli
ba1a77347c ghostscript: fix CVE-2023-36664
Artifex Ghostscript through 10.01.2 mishandles permission validation for
pipe devices (with the %pipe% prefix or the | pipe character prefix).

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

Upstream patches:
https://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=5e65eeae225c7d02d447de5abaf4a8e6d234fcea
https://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=fb342fdb60391073a69147cb71af1ac416a81099

(From OE-Core rev: cd3921215cb782ecc9aeda5bb3b76863911bcb61)

Signed-off-by: Archana Polampalli <archana.polampalli@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-07-26 05:20:36 -10:00
Vijay Anusuri
81874924a7 qemu: backport Debian patch to fix CVE-2023-0330
import patch from ubuntu to fix
 CVE-2023-0330

Upstream-Status: Backport [import from ubuntu https://git.launchpad.net/ubuntu/+source/qemu/tree/debian/patches?h=ubuntu/jammy-security
Upstream commit b987718bbb]

(From OE-Core rev: aae5bf06ad3c67386544f9da55aa21fbf32c3418)

Signed-off-by: Vijay Anusuri <vanusuri@mvista.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-07-26 05:20:36 -10:00
Michael Opdenacker
cc3287637c ref-manual: release-process: update for LTS releases
(From yocto-docs rev: 145488ac9ee4ad5efb0966f07ff5e7ff804f6562)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-07-21 06:27:34 -10:00
Michael Opdenacker
23ca3ba890 ref-manual: add LTS and Mixin terms
(From yocto-docs rev: f9ce60e2a035f3921901d2c6633df6e302cad1c7)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-07-21 06:27:34 -10:00
Lee Chee Yang
b54543f7e8 migration-guides: add release notes for 4.0.11
(From yocto-docs rev: 96575a0c06d206400a5efde2ec2ddcda54a43105)

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-07-21 06:27:34 -10:00
Quentin Schulz
6c185e7ae0 docs: ref-manual: terms: fix typos in SPDX term
Fixes: 2c53ac40e99a ("ref-manual: terms.rst: add SBOM and SPDX terms")
Cc: Quentin Schulz <foss+yocto@0leil.net>
(From yocto-docs rev: aaa554381a46c66d7708967c65893992760aa5fe)

Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-07-21 06:27:34 -10:00
Tom Hochstein
10f1543541 cmake: Fix CMAKE_SYSTEM_PROCESSOR setting for SDK
When building using an SDK, cmake complains that the target
architecture 'cortexa53-crypto' is unknown. The same build in bitbake
uses the target architecture 'aarch64'.

Set CMAKE_SYSTEM_PROCESSOR the same as for bitbake.

(From OE-Core rev: d877d5f07772ec4a05332068ddc03cf387313036)

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit d32a6225eefce2073a1cd401034b5b4c68351bfe)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-07-21 06:27:34 -10:00
Heiko Thole
0d0acb2e4c wic: Add dependencies for erofs-utils
In order to build erofs filesystems, wic must have the erofs-utils package installed into its sysroot.

(From OE-Core rev: c349c7fcb299b123824da9a13ee58222a6cbf9ec)

Signed-off-by: Heiko Thole <heiko.thole@entwicklung.eq-3.de>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-07-21 06:27:34 -10:00
Alexander Kanavin
7fa5220b3b sysfsutils: fetch a supported fork from github
Debian does the same:
https://packages.debian.org/source/sid/sysfsutils

(From OE-Core rev: 9f35ca9d9ed4be4d27318230f4ae42c4885d1f0c)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 504b2f590cb94b217c5f48090cfb71a749bd5ac8)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-07-21 06:27:34 -10:00
Chen Qi
18b69cb60d unzip: fix configure check for cross compilation
The original configure runs a generated binary to determine
features. This is not correct for cross compilation. So change
the runtime tests into compile-time tests to fix the issue.

(From OE-Core rev: 7d99f3a9a2a74fe2e8753b00553f07f305d14c87)

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

(From OE-Core rev: 6f5986fb520ab89b0950d3e0fa8492de4de7798f)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit dda778d855b1838ae3004a9af310724b913490b4)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-07-21 06:27:34 -10:00
Chen Qi
43ce6be661 sdk.py: fix moving dnf contents
The dnf contents should be moved to <host_sysroot>/etc/dnf/xxx
instead of just <host_sysroot>/etc.

(From OE-Core rev: 006ff31ddad4c53c63adf1dacecbf2783404a546)

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

(From OE-Core rev: 4ed94fef70df05c874cf0c68dcc95c5636687825)

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

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

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

(From OE-Core rev: 5cee002e34d16e9d82045d3e8e3931ba046403d2)

Signed-off-by: Alberto Planas <aplanas@suse.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit bff58d337890e804d33d7decbaa46065a4d3bba4)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-07-21 06:27:34 -10:00
Alexander Sverdlin
335eb3a93e rust-llvm: backport a fix for build with gcc-13
* needed for rust-llvm-native on hosts with gcc-13

Based on commit 3382759cb6c5 ("llvm: backport a fix for build with gcc-13")

(From OE-Core rev: d6684a9c9f713ad30442a2a036ff86b534585400)

Signed-off-by: Alexander Sverdlin <alexander.sverdlin@siemens.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-07-21 06:27:34 -10:00
Marek Vasut
683b79aa58 systemd: Backport nspawn: make sure host root can write to the uidmapped mounts we prepare for the container payload
Backport fix for systemd nspawn uidmap handling from systemd v253 .
Without this, attempt to start mkosi generated debian stable 12
container would ultimately fail (per "$ strace -ff") with:
"
symlinkat("usr/lib/aarch64-linux-gnu", 8, "lib64") = -1 EOVERFLOW (Value too large for defined data type)
"

Command to generate test container:
"
mkosi --distribution debian --release stable --architecture arm64 \
      --cache-dir /home/oe/cache/ --format tar --compress-output xz \
      --output-dir /home/oe/output/ --checksum 1 --root-password root \
      --package systemd --package udev --package dbus
"

Command to import test container and start it, which triggers the failure:
"
$ machinectl pull-tar http://192.168.1.300/image.tar.xz default
$ machinectl read-only default false
$ rm -f /var/lib/machines/default/etc/machine-id
$ dbus-uuidgen --ensure=/var/lib/machines/default/etc/machine-id
$ machinectl start default
"

Minimal command to trigger the failure once container is imported:
"
$ strace -ff systemd-nspawn --keep-unit --boot --link-journal=try-guest --network-veth -U --settings=override --machine=default
"

Extracted from systemd MR:
https://github.com/systemd/systemd/pull/22774

Further explanation by Christian Brauner at second half of:
https://github.com/systemd/systemd/issues/20989

(From OE-Core rev: 6d190eb0caadcb95c5325ede32164a645abb61f3)

Signed-off-by: Marek Vasut <marex@denx.de>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-07-21 06:27:34 -10:00
Mauro Queiros
71cb6bd31c pybootchartgui: show elapsed time for each task
Currently, finding the elapsed time of each task in buildtimes.svg
is a manual effort of checking the top axis and finding and subtracting
the end and start time of the task.

This change adds the elapsed time for each task, so that
manual effort of comparing start/end time is avoided.

(From OE-Core rev: b2678422b411ccbd19a7b198c872b92077567391)

Signed-off-by: Mauro Queiros <Mauro.Queiros@criticaltechworks.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 3efebd3404de548f0757863da237f2d18ce60013)
Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-07-21 06:27:34 -10:00
Jermain Horsman
3bf387217f logrotate: Do not create logrotate.status file
The first time logrotate runs it reports an error:

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

This check was added with
1f76a381e2

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

(From OE-Core rev: fbfd62ac655cf00b8f7c8fc832ce7434ad4966a3)

Signed-off-by: Jermain Horsman <jermain.horsman@nedap.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 8169cd2d18f1569e4357f082adbef492710e8c36)
Signed-off-by: Jermain Horsman <jermain.horsman@nedap.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-07-21 06:27:34 -10:00
Nikhil R
67c4196ac1 libpng: Add ptest for libpng
libpng is a platform-independent library which
supports all PNG features.
This ptest executes the below binaries, parses
the png image and prints the image features.

1. pngfix - provides information about PNG image
copyrights details.

2. pngtest - tests, optimizes and optionally fixes
the zlib header in PNG files.

3. pngstest - verifies the integrity of PNG image by
dumping chunk level information.

4. timepng - provides details about PNG image chunks.

(From OE-Core rev: 2d58b38185ca7eed5d885b8d00ca549b57138554)

Signed-off-by: Nikhil R <nikhil.r@kpit.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-07-21 06:27:34 -10:00
Jose Quaresma
934cbbc48e selftest/reproducible: Allow chose the package manager
This is a follow-up of 76e5fcb2 that also allow users to chose
the package manager using OEQA_REPRODUCIBLE_TEST_PACKAGE

(From OE-Core rev: 4402b746f49611abe71719dd1d174de79bb030bb)

Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 3d414d85b44077bac57aba36707b0fc699a73e97)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-07-21 06:27:34 -10:00
Mikko Rapeli
17110ad8f5 selftest reproducible.py: support different build targets
Allow users to set different build reproducibility targets than
the defaults using OEQA_REPRODUCIBLE_TEST_TARGET and
OEQA_REPRODUCIBLE_TEST_SSTATE_TARGETS variables in local.conf.

Fixing all issues from "world" builds is not possible in some
complex build environments with lots of layers. Limiting the focus to
a smaller subset allows using this test to detect and fix build
reproduction issues incrementally.

(From OE-Core rev: 3b82a7d74995c0670a6914c58b3d7c42327b8ee9)

Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit c66bebbce5995e386a1a4d055a914a39b6ee518d)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-07-21 06:27:34 -10:00
Trevor Gamblin
4a93bab7a4 vim: upgrade 9.0.1527 -> 9.0.1592
Fixes:

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

(From OE-Core rev: a71153cb0a509456dd36466ac15a603f953eb6b8)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 1e4b4dfb4145bc00eb6937b5f54a41170e9a5b4c)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-07-21 06:27:34 -10:00
Alexander Kanavin
f111db3f71 wireless-regdb: upgrade 2023.02.13 -> 2023.05.03
(From OE-Core rev: 1eebdfba70ceaa8d73ab46c3131d022e53245eaa)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 47438402fa430499864a4b1f1a13eaac66aa21c0)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-07-21 06:27:34 -10:00
Alexander Kanavin
1752b29e7c linux-firmware: upgrade 20230404 -> 20230515
License-Update: additional firmwares

(From OE-Core rev: 8ac5ebfa83c3e1f5effca5154b771b2f2bed607d)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 64603f602d00999220fe5bafeed996ddcb56d36b)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-07-21 06:27:34 -10:00
Alexander Kanavin
a6a43a90fa wget: upgrade 1.21.3 -> 1.21.4
Stable version release

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

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

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

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

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

License-Update: copyright years

(From OE-Core rev: 024feac4827dc847ba83a64de82cef524156a9ea)

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

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

(From OE-Core rev: 275c6b7ac72330e14ba55907e8494314b63a9adf)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 775cbcc876edcb6c339f342a3253f5afcf6ef163)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
(cherry picked from commit 17a46eee905f0ecfdbebb014533848dc7e906ec7)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-07-21 06:27:34 -10:00
Ross Burton
9113d5b4d7 tzdata: upgrade to 2023c
Drop a backport patch as it is now integrated.

(From OE-Core rev: 134bac52904722cd63fde07f5784c0cca3fbcb05)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 80d26d1da47dcd9213a7083d9493a7bce0897a57)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-07-21 06:27:34 -10:00
Soumya
df5e8bcceb libwebp: Fix CVE-2023-1999
There exists a use after free/double free in libwebp. An attacker can
use the ApplyFiltersAndEncode() function and loop through to free
best.bw and assign best = trial pointer. The second loop will then
return 0 because of an Out of memory error in VP8 encoder, the pointer
is still assigned to trial and the AddressSanitizer will attempt a double free.

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

Upstream patch:
a486d800b6

(From OE-Core rev: a5d0f8734ca643c25f0952387b38edf8ffd70525)

Signed-off-by: Soumya <soumya.sambu@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-07-21 06:27:34 -10:00
Vivek Kumbhar
aeb3b3fa07 curl: Added CVE-2023-28320 Follow-up patch
Introduced by: 3c49b405de (curl-7_9_8)
Fixed by: 13718030ad (curl-8_1_0)
Follow-up: f446258f02 (curl-8_1_0)

(From OE-Core rev: f19c20c429395c1b4c62a6e0388ef51b830871c5)

Signed-off-by: Vivek Kumbhar <vkumbhar@mvista.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-07-21 06:27:34 -10:00
Poonam Jadhav
881247de60 libx11: Fix CVE-2023-3138 for kirkstone branch
Add patch to fix CVE-2023-3138 for kirkstone branch

Link: 304a654a0d.patch

(From OE-Core rev: 5491531d4681d3df5a34ebc180e29a8bf4e09e67)

Signed-off-by: Poonam Jadhav <poonam.jadhav@kpit.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-07-21 06:27:34 -10:00
Hitendra Prajapati
56c1ffb1d3 bind : fix CVE-2023-2828 & CVE-2023-2911
Backport fixes for:
* CVE-2023-2828 - Upstream-Status: Backport from e9d5219fca
* CVE-2023-2911 - Upstream-Status: Backport from 240caa32b9 && ff5bacf17c

(From OE-Core rev: 08810d3fe6988ea821805eca16105b4632335654)

Signed-off-by: Hitendra Prajapati <hprajapati@mvista.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-07-21 06:27:34 -10:00
Vijay Anusuri
4f488ca49e sqlite3: CVE-2023-36191 CLI fault on missing -nonce
Upstream-Status: Backport [https://sqlite.org/src/info/cd24178bbaad4a1d]

(From OE-Core rev: 663713b2f95dee1e70f8921ece23b21d84d93805)

Signed-off-by: Vijay Anusuri <vanusuri@mvista.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-07-21 06:27:34 -10:00
Soumya
80ecd63cc8 perl: Fix CVE-2023-31486
HTTP::Tiny before 0.083, a Perl core module since 5.13.9 and available
standalone on CPAN, has an insecure default TLS configuration where
users must opt in to verify certificates.

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

Upstream patches:
77f557ef84
a22785783b

(From OE-Core rev: 5819c839e1de92ab7669a0d4997886d0306c4cc1)

Signed-off-by: Soumya <soumya.sambu@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-07-21 06:27:34 -10:00
Ross Burton
471318ae2f cve-update-nvd2-native: actually use API keys
There were vestigal remains of API key support which could be removed,
but as using an API key - in theory - gives the user larger rate limits
it's probably wise to expose it.

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

(From OE-Core rev: 200c2783b3f8546f561382fff6bd5268680d403a)

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

(From OE-Core rev: be409f17e64dac2c6fa2cafba73c2084c68c59bf)

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

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

(From OE-Core rev: eceeba61b5da6d81f0677365f956464f1e5f1d84)

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

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

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

(From OE-Core rev: c061bcd54fc8b62ea9a005f422a17ca46eac68c2)

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

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

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

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

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

(From OE-Core rev: c00b89c2a5de8ce59b759ed8bf482942458421ff)

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

(From OE-Core rev: 91243ad474be00e55aa99355edef44f2fe2311f1)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 9aa0ec37f5f74252588d2494a71c71a7d8e68df9)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-07-13 06:42:46 -10:00
Ross Burton
62727653aa cve-update-nvd2-native: handle all configuration nodes, not just first
Some CVEs, such as CVE-2013-6629, list multiple configurations which are
vulnerable. The current JSON parser only considers the first
configuration.

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

(From OE-Core rev: 7614e00b9491e5d4d6df5492f72613a56ab390d7)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit e1bf4f6dd686055fe9a8bdcc3f739eac2807bae0)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-07-13 06:42:46 -10:00
Richard Purdie
fdd6898464 strace: Update patches/tests with upstream fixes
Replace the sockopt disable patch with a fix from upstream

(From OE-Core rev: cef730284b8616ba07c1b062c992c36af730580e)

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

(From OE-Core rev: 81af8c6fdc6f0b6617b7258c9b3e2e26a76db5c8)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 79c0b18e29cad337640860f57683f0a170f6daab)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
(cherry picked from commit 6080138fd0c27db7029b5a76e69b8dc241ad8dc3)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-07-12 05:11:38 -10:00
Richard Purdie
48373d750c strace: Disable failing test
This test is failing for uncertain reasons. We have reported upstream, disable
it until we can work out why this happened. The point it started failing is
unclear due to other test framework issues.

(From OE-Core rev: fc32e725a0c73772a2ad4e31e1aa1d61f72f9da1)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 2e9165a854c7b83f163479e9dbd3cb183a9d71f5)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-07-12 05:11:38 -10:00
Alexander Kanavin
484171e42c grub: submit determinism.patch upstream
(From OE-Core rev: 846d8097fed9498fab7120ed61a962ff2c15746a)

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

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

(From OE-Core rev: 1487bdda6b443480e9ce45d8b8527ad61c2a50a4)

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

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

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

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

(From OE-Core rev: 572c507736b2fcc31f7f13cb3da0d5be361838f5)

Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 07898218f3908a83e07178b6530dfa48d55d4ec2)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-07-12 05:11:38 -10:00
Khem Raj
d2a1c3e5d7 babeltrace2: Always use BFD linker when building tests with ld-is-lld distro feature
lld results in textrels in some .so used in tests, fixes

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

(From OE-Core rev: 1c02416041498c649c517a9933ab736fca2ceae8)

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

(From OE-Core rev: 8d2e96c3a611aba63aa9a51f6b350ea8c9654e06)

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

(From OE-Core rev: 61e64e7af709dd03dd4018c69a752f2eadc5372e)

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

(From OE-Core rev: 191ab08c035f1811af932775a767b5e83a95e35b)

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

(From OE-Core rev: ef732d6dd735ad06c229eb4e2a4aca295490ec53)

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

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

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

[YOCTO #15077]

(From OE-Core rev: 343510b33650c88367f95e8d8322fae92ae901ca)

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

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 004d6bcb067ecf1d796801fa43a98820c4efd3c7)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-07-12 05:11:38 -10:00
BELOUARGA Mohamed
983548705a meta: lib: oe: npm_registry: Add more safe caracters
NPM registry cache should support caracaters like '(' and ')'
Explanation: NPM packages can contains these caracters like : @(._.)/execute

(From OE-Core rev: d3c1638077d4acbd61e7770c8e1d299ea33df638)

Signed-off-by: BELOUARGA Mohamed <m.belouarga@technologyandstrategy.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 6110d9e24e43e286781afd1b3634a4ad1a2050d0)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-07-12 05:11:38 -10:00
Frieder Paape
b954f15d66 image_types: Fix reproducible builds for initramfs and UKI img
I've encountered issues reproducing initramfs and UKI image builds,
which will be fixed with this patch.

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

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

(From OE-Core rev: 0d8890f7c1fbea5036acefa3031dcd442b316725)

Signed-off-by: Frieder Paape <frieder@konvera.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit fd027729bafb4e085ba0949e38e724f3a8cad102)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-07-12 05:11:38 -10:00
Richard Purdie
6646aadd71 v86d: Improve kernel dependency
Working with enabling SPDX, an issue was observerd where v86d wasn't rebuilding
when the kernel was changed from linux-yocto to linux-yocto-rt.

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

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

(From OE-Core rev: b842b8b51e0819eebf1fb3a2359b8c06863e553a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 37ccd11cb0b89416b8e23160445186269b6c0c8a)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-07-12 05:11:38 -10:00
Bruce Ashfield
6f363c80ae linux-yocto/5.15: cfg: fix DECNET configuration warning
-stable merged the DECNET removal to 5.15, so we integrate
the following kernel-cache commit to fix the kernel configuration
audit warning:

    b647d9611cb base: drop CONFIG_DECNET

(From OE-Core rev: 4c063286ab115abf3d15e4713ea9bcd4f5fb1ab2)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
(cherry picked from commit 06ef70ac1fa8201c5b46050e098ebea3b1423f9f)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-07-12 05:11:38 -10:00
Bruce Ashfield
d95abdb246 linux-yocto/5.15: update to v5.15.118
Updating  to the latest korg -stable release that comprises
the following commits:

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

(From OE-Core rev: e58bcc7938c16317d6d3754874c76f29c4f90515)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
(cherry picked from commit ec3fd718ecc881ee3410a0b6434922993368ee6d)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-07-12 05:11:38 -10:00
Bruce Ashfield
b747eff6a6 linux-yocto/5.15: update to v5.15.117
Updating  to the latest korg -stable release that comprises
the following commits:

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

(From OE-Core rev: 79a6eb479bee6caabf22e3ed9e8b2793bdde836c)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
(cherry picked from commit e2c1d5814c659ffea6d1c1c658890a7a6fdb779a)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-07-12 05:11:38 -10:00
Bruce Ashfield
ff42eb0012 linux-yocto/5.15: update to v5.15.116
Updating  to the latest korg -stable release that comprises
the following commits:

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

(From OE-Core rev: 5bcbae7273fcb619be39d388a7b593799b46dab5)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
(cherry picked from commit 20388189ab6d03ae3c6e4fdd0135af4f88e15198)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-07-12 05:11:38 -10:00
Bruce Ashfield
c7c869a242 linux-yocto/5.15: update to v5.15.115
Updating  to the latest korg -stable release that comprises
the following commits:

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

(From OE-Core rev: 44262f31928a20a25b4c4a54c3b76a788cc20216)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
(cherry picked from commit acb7f13dd673b15706f56a6b12ab4637a54e89f8)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-07-12 05:11:38 -10:00
Bruce Ashfield
ae71d122b9 linux-yocto/5.15: update to v5.15.114
Updating  to the latest korg -stable release that comprises
the following commits:

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

(From OE-Core rev: 1c8415175dc89a58e8af604163904cbfbe787edc)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
(cherry picked from commit b83b248e5042dd1e9fdbc4c48be1af188fece1df)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-07-12 05:11:38 -10:00
Vivek Kumbhar
acca9233b2 cups: fix CVE-2023-34241 use-after-free in cupsdAcceptClient() in scheduler/client.c
(From OE-Core rev: 9a6c7442ac2fc2ce668d0c931696d39288ee3d4a)

Signed-off-by: Vivek Kumbhar <vkumbhar@mvista.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-07-12 05:11:38 -10:00
Rusty Howell
c4d91873af oe-depends-dot: Handle new format for task-depends.dot
The .dot file created by `bitbake -g` changed formats a while ago, which
broke oe-depends-dot.

Also add some useful examples to the --help output.

(From OE-Core rev: e53842ea6c14ed8e97252626e3ae0d3cf4580fbc)

Signed-off-by: Rusty Howell <rustyhowell@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-07-12 05:11:37 -10:00
Etienne Cordonnier
a834d9001b libxcrypt: fix hard-coded ".so" extension
2 issues:
- the .so extension is hard-coded, and therefore the libxcryt package compiled with
  meta-darwin is empty, because the dylib files are not contained in FILES_${PN}
- nothing actually produces a file libcrypt-*.so (the symlink file is libcrypt.so, without dash), thus
  defining FILES:${PN} manually to contain libcrypt-*.so has no effect.

(From OE-Core rev: 87d3ad23643abff47ac35ca14f8b4b4bb9ee80da)

Signed-off-by: Etienne Cordonnier <ecordonnier@snap.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 7ed6bfa2428b4f1ba7f09d6e9e67c462ff355153)
Signed-off-by: Sanjay Chitroda <schitrod@cisco.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-07-12 05:11:37 -10:00
Marek Vasut
2a8a7c9e0d cpio: Replace fix wrong CRC with ASCII CRC for large files with upstream backport
Replace the original "Wrong CRC with ASCII CRC for large files"
patch with upstream backport, and add additional fix on top of
the same problem which upstream detected and fixed.

(From OE-Core rev: 727f301e4888c8f59cfc2d8768d02bb52ce23784)

Signed-off-by: Marek Vasut <marex@denx.de>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-07-12 05:11:37 -10:00
Vivek Kumbhar
257c1fdc11 libcap: fix CVE-2023-2603 Integer Overflow in _libcap_strdup()
(From OE-Core rev: 92340bc3161259c962b5ed5f9d9055f5bd36a3ce)

Signed-off-by: Vivek Kumbhar <vkumbhar@mvista.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-07-12 05:11:37 -10:00
Vivek Kumbhar
efa581c3ab go: fix CVE-2023-29400 html/template improper handling of empty HTML attributes
(From OE-Core rev: 3224084a1ca301ff4fb4735ccc80d24aaec13257)

Signed-off-by: Vivek Kumbhar <vkumbhar@mvista.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-07-12 05:11:37 -10:00
Richard Purdie
201362ccb6 bitbake: runqueue: Fix deferred task/multiconfig race issue
If there are several multiconfigs in play for example a non-multiconfig with
a task with one hash and then three multiconfigs for the same task, different
architectures but the same hash (different to the non-mc), the three mcs
will be deferred until after the non-mc task but then will all run together
and race against each other.

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

(Bitbake rev: 907416ee1062f87f5844ab0638b54616abfc1a22)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 9523e28658ad7fb446645b590608dfac2812afd3)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-07-12 05:11:37 -10:00
Sakib Sajal
84dd3d0e6c blktrace: ask for python3 specifically
python2 has been deprecated, use python3 instead

(From OE-Core rev: f20a12ead2d5890e88e7f4ce149a777de47edc48)

Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-07-01 08:37:25 -10:00
Richard Purdie
b8580d79d1 layer.conf: Add missing dependency exclusion
Add a dependency which should have been in this list but wasn't, found
when debugging create-spdx hash issues.

(From OE-Core rev: 97c84ca1e138fe95ebd67f1fe42be19ab2aeca89)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 1075b9fc5d562dada45b3187cb737511ff8c7376)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-07-01 08:37:25 -10:00
Alexander Kanavin
dbd90d690e maintainers.inc: correct Carlos Rafael Giani's email address
As confirmed via private email.

(From OE-Core rev: 1f664daa33b5fae83990b9b5d5490a896a307b68)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit c7f934368d3fb3e9cf268f8237eae80b1c1665a5)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-07-01 08:37:25 -10:00
Richard Purdie
73c8c22708 selftest/license: Exclude from world
These test recipes shouldn't be built as part of world builds. Some recent
changes are exposing issues from this so exclude them.

(From OE-Core rev: 82ac6a3f22c3aec03d3ba162c67754bbf28fd0ba)

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

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

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

(From OE-Core rev: 52268f077af4fd21ac93623017160cb474bbef00)

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

(From OE-Core rev: 36b862f23afe3ed81006c203e875f900249fd040)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit ab37ddf53607111bf5c49c4f2388224999c4a5a9)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
(cherry picked from commit 27f15bc3166fda5acd07e9e1c34842a641d24e37)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-07-01 08:37:25 -10:00
Alexander Kanavin
dc61844c11 maintainers.inc: unassign Pascal Bach from cmake entry
This was confirmed via private email.

(From OE-Core rev: 826fb858ebf1f8e9e2741b9046fd5c04638ff056)

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

(From OE-Core rev: 0823449cb03876ad88643df6c41c9450625d435d)

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

(From OE-Core rev: d66095fa0c2ddf11a790d4d2f94ce6c2b80c0143)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 834519933fcd6e4ff54f24d0cf671ea9ce24398a)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-07-01 08:37:24 -10:00
Kai Kang
cb8879e666 pm-utils: fix multilib conflictions
It fails to instal pm-utils and lib32-pm-utils at same time:

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

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

(From OE-Core rev: 7d99987f76c58ec1f9ee5efffee0705b2c542ad7)

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

(From OE-Core rev: 960b61a53b6a670b4b3a23faff85850a3485f00e)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit cfc4586b4bf080a3a4aa419dffc76c5da2a95b74)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-07-01 08:37:24 -10:00
Martin Jansa
fb2151dbb7 minicom: remove unused patch files
* they were removed from SRC_URI in:
  https://git.openembedded.org/openembedded-core/commit/?id=41f8760dd8a8ac388389bc17dbc5e0ae0f64bf57

(From OE-Core rev: 094d2341240fc09a91fea7bea1b3c51a08ad9817)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit a0f28cd8d01f4faeedc1089e5d1e2dacc5b046f9)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
(cherry picked from commit 4395c783e544de30f650459677055737148ea261)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-07-01 08:37:24 -10:00
Frieder Schrempf
3aaf57f1ce psmisc: Set ALTERNATIVE for pstree to resolve conflict with busybox
If pstree in busybox is enabled there is a conflict with pstree from
psmisc resulting in:

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

And more detailed in do_rootfs.log:

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

On order to fix this set ALTERNATIVE:pstree accordingly.

(From OE-Core rev: b40a33f0665c7086e806da4f670a3eb25351216c)

Signed-off-by: Frieder Schrempf <frieder.schrempf@kontron.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit deb2176df76dcb16c0d90072ad63d308a0ab1158)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-07-01 08:37:24 -10:00
Bruce Ashfield
e35effd45f linux-yocto/5.10: cfg: fix DECNET configuration warning
Dropping CONFIG_DECNET as it has been removed from -stable
and we now get a configuration warning.

(From OE-Core rev: 60eb677142dfd0264a99f626b5b9ede1a6d706e1)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-07-01 08:37:24 -10:00
Bruce Ashfield
9d1288c709 linux-yocto/5.10: update to v5.10.185
Updating  to the latest korg -stable release that comprises
the following commits:

    ef0d5feb32ab Linux 5.10.185
    ed2bf5cee6c6 um: Fix build w/o CONFIG_PM_SLEEP
    f73ec12dc718 drm/i915/gen11+: Only load DRAM information from pcode
    27458487c8f4 drm/i915/dg1: Wait for pcode/uncore handshake at startup
    2d1c19597d1e media: dvb-core: Fix use-after-free due to race at dvb_register_device()
    5c61c3945adf media: dvbdev: fix error logic at dvb_register_device()
    a1b26dac8bc6 media: dvbdev: Fix memleak in dvb_register_device
    a13dee47fa2a nilfs2: reject devices with insufficient block count
    c374552b54d6 mm/memory_hotplug: extend offline_and_remove_memory() to handle more than one memory block
    e6dc6a9d0a76 mmc: block: ensure error propagation for non-blk
    7ce0e8b28720 batman-adv: Switch to kstrtox.h for kstrtou64
    e6104284c42f neighbour: delete neigh_lookup_nodev as not used
    bf82668eb950 net: Remove DECnet leftovers from flow.h.
    7d07fd03f50c net: Remove unused inline function dst_hold_and_use()
    53076071fb92 neighbour: Remove unused inline function neigh_key_eq16()
    7230a9e599d3 rcu/kvfree: Avoid freeing new kfree_rcu() memory after old grace period
    a26158962176 cgroup: always put cset in cgroup_css_set_put_fork
    4c1084386332 afs: Fix vlserver probe RTT handling
    49b6607dedc2 selftests/ptp: Fix timestamp printf format for PTP_SYS_OFFSET
    08899e8d5a99 net: tipc: resize nlattr array to correct size
    5fd696b404fb net: lapbether: only support ethernet devices
    6ee3728ae87e net/sched: cls_api: Fix lockup on flushing explicitly created chain
    efed5b50f3b8 ext4: drop the call to ext4_error() from ext4_get_group_info()
    6ab91d1adb5a drm/nouveau: add nv_encoder pointer check for NULL
    5d43bb9b3e0c drm/nouveau/dp: check for NULL nv_connector->native_mode
    edb970e03d65 drm/nouveau: don't detect DSM for non-NVIDIA device
    8c3446ab5902 igb: fix nvm.ops.read() error handling
    221281d60c46 sctp: fix an error code in sctp_sf_eat_auth()
    5c47ed7f25d6 ipvlan: fix bound dev checking for IPv6 l3s mode
    3c97f2c9ec29 IB/isert: Fix incorrect release of isert connection
    da6ae4aab5a6 IB/isert: Fix possible list corruption in CMA handler
    2b6f8817ca66 IB/isert: Fix dead lock in ib_isert
    2f9d26345c6e IB/uverbs: Fix to consider event queue closing also upon non-blocking mode
    6cccdbc9f09c RDMA/cma: Always set static rate to 0 for RoCE
    f49abbb27416 RDMA/mlx5: Initiate dropless RQ for RAW Ethernet functions
    aa277d5cd4b2 octeontx2-af: fixed resource availability check
    0fb48a2a6ad4 iavf: remove mask from iavf_irq_enable_queues()
    079a9591ee18 RDMA/rxe: Fix the use-before-initialization error of resp_pkts
    089a0e831f68 RDMA/rxe: Removed unused name from rxe_task struct
    6205c0d9ff8b RDMA/rxe: Remove the unused variable obj
    af6eaa57986e net/sched: cls_u32: Fix reference counter leak leading to overflow
    5852d17aaa8b ping6: Fix send to link-local addresses with VRF.
    9e666a77f008 net: enetc: correct the indexes of highest and 2nd highest TCs
    1200af82cf0b netfilter: nfnetlink: skip error delivery on batch in case of ENOMEM
    af42c4fd827c spi: fsl-dspi: avoid SCK glitches with continuous transfers
    cb6ec51ddd00 RDMA/rtrs: Fix the last iu->buf leak in err path
    26293251ab64 usb: dwc3: gadget: Reset num TRBs before giving back the request
    f4bc41694289 serial: lantiq: add missing interrupt ack
    0b6e65016c3c USB: serial: option: add Quectel EM061KGL series
    1c004b379b03 Remove DECnet support from kernel
    e9d384983fa9 ALSA: hda/realtek: Add a quirk for Compaq N14JP6
    1148d4ca3029 net: usb: qmi_wwan: add support for Compal RXM-G1
    d7acfd522560 RDMA/uverbs: Restrict usage of privileged QKEYs
    96e14c91c530 nouveau: fix client work fence deletion race
    f1f7117b2236 powerpc/purgatory: remove PGO flags
    26c80741ceb6 x86/purgatory: remove PGO flags
    f368aed4827b kexec: support purgatories with .text.hot sections
    7e78b9142fdf nilfs2: fix possible out-of-bounds segment allocation in resize ioctl
    902fcec05295 nilfs2: fix incomplete buffer cleanup in nilfs_btnode_abort_change_key()
    d59293f082dc nios2: dts: Fix tse_mac "max-frame-size" property
    2847d9eed48b ocfs2: check new file size on fallocate call
    e73b135f540c ocfs2: fix use-after-free when unmounting read-only filesystem
    370f5d98ffe5 epoll: ep_autoremove_wake_function should use list_del_init_careful
    4716c73b1885 io_uring: hold uring mutex around poll removal
    93a68acc497b irqchip/gic: Correctly validate OF quirk descriptors
    2a2641a842ea drm:amd:amdgpu: Fix missing buffer object unlock in failure path
    7c0b17679b43 xen/blkfront: Only check REQ_FUA for writes
    8e45fb70f4b5 ASoC: dwc: move DMA init to snd_soc_dai_driver probe()
    d47b5a6d2331 mips: Move initrd_start check after initrd address sanitisation.
    619672bf2d04 MIPS: Alchemy: fix dbdma2
    0ca73b45b767 parisc: Flush gatt writes and adjust gatt mask in parisc_agp_mask_memory()
    3f7625e08620 parisc: Improve cache flushing for PCXL in arch_sync_dma_for_cpu()
    73102fdb5bf3 ASoC: soc-pcm: test if a BE can be prepared
    3bc883132d03 btrfs: handle memory allocation failure in btrfs_csum_one_bio
    142fbad31405 btrfs: scrub: try harder to mark RAID56 block groups read-only
    35d32d841592 power: supply: Fix logic checking if system is running from battery
    8b7a2207ee40 irqchip/gic-v3: Disable pseudo NMIs on Mediatek devices w/ firmware issues
    dbf610997242 regulator: Fix error checking for debugfs_create_dir
    37bcc48e7dd1 platform/x86: asus-wmi: Ignore WMI events with codes 0x7B, 0xC0
    88d1c1365ff6 power: supply: Ratelimit no data debug output
    6be7a4bef9dc tools: gpio: fix debounce_period_us output of lsgpio
    39eb9eb9ea43 ARM: dts: vexpress: add missing cache properties
    b2856c3cd3b2 power: supply: bq27xxx: Use mod_delayed_work() instead of cancel() + schedule()
    ce2b5f24caad power: supply: sc27xx: Fix external_power_changed race
    9e9e150fa8a6 power: supply: ab8500: Fix external_power_changed race
    539c387f0bb9 test_firmware: fix a memory leak with reqs buffer
    af36f35074b1 test_firmware: prevent race conditions by a correct implementation of locking
    682ca602515d test_firmware: Use kstrtobool() instead of strtobool()
    6e2e551e39fd kernel.h: split out kstrtox() and simple_strtox() to a separate header
    c2def5578b44 lib: cleanup kstrto*() usage

(From OE-Core rev: 0cacc63b11f85a37e3a91b1097ca516647facb8f)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-07-01 08:37:24 -10:00
Bruce Ashfield
ba277d1a5f linux-yocto/5.10: update to v5.10.184
Updating  to the latest korg -stable release that comprises
the following commits:

    a1f0beb13d9b Linux 5.10.184
    7f896130eff7 Revert "staging: rtl8192e: Replace macro RTL_PCI_DEVICE with PCI_DEVICE"
    b60e862e133f btrfs: unset reloc control if transaction commit fails in prepare_to_relocate()
    6f371623f315 btrfs: check return value of btrfs_commit_transaction in relocation
    ea0d413094e0 drm/atomic: Don't pollute crtc_state->mode_blob with error pointers
    1659268d1ab4 MIPS: locking/atomic: Fix atomic{_64,}_sub_if_positive
    0e98a97f772f xfs: verify buffer contents when we skip log replay
    58e8cf94de12 tcp: fix tcp_min_tso_segs sysctl
    1b4b3350969e ext4: only check dquot_initialize_needed() when debugging
    fd6cb5171903 Revert "ext4: don't clear SB_RDONLY when remounting r/w until quota is re-enabled"
    cfa91c0573a5 vhost: support PACKED when setting-getting vring_base
    461c88caa889 riscv: fix kprobe __user string arg print fault issue
    c6b905087428 eeprom: at24: also select REGMAP
    10e376a7c387 i2c: sprd: Delete i2c adapter in .remove's error path
    c4aeef56022e ASoC: codecs: wsa881x: do not set can_multi_write flag
    b6f309e9d24e staging: vc04_services: fix gcc-13 build warning
    0d3c75a69344 usb: usbfs: Use consistent mmap functions
    143f40572174 usb: usbfs: Enforce page requirements for mmap
    bcd474d1838e pinctrl: meson-axg: add missing GPIOA_18 gpio group
    1981d37b1d76 rbd: get snapshot context after exclusive lock is ensured to be held
    76ae4a7bc999 rbd: move RBD_OBJ_FLAG_COPYUP_ENABLED flag setting
    841d3b5a8446 tee: amdtee: Add return_origin to 'struct tee_cmd_load_ta'
    a94024991d82 Bluetooth: hci_qca: fix debugfs registration
    2270e32bd199 Bluetooth: Fix use-after-free in hci_remove_ltk/hci_remove_irk
    76b40319a1ea s390/dasd: Use correct lock while counting channel queue length
    e715c86e92fd ceph: fix use-after-free bug for inodes when flushing capsnaps
    67148731582d can: j1939: avoid possible use-after-free when j1939_can_rx_register fails
    cc834f4d9762 can: j1939: change j1939_netdev_lock type to mutex
    026800507640 can: j1939: j1939_sk_send_loop_abort(): improved error queue handling in J1939 Socket
    00380551353b drm/amdgpu: fix xclk freq on CHIP_STONEY
    ef95f987bea8 ALSA: hda/realtek: Add Lenovo P3 Tower platform
    95520b3fba92 ALSA: hda/realtek: Add a quirk for HP Slim Desktop S01
    ca26d00828d3 Input: psmouse - fix OOB access in Elantech protocol
    86efc409f29d Input: xpad - delete a Razer DeathAdder mouse VID/PID entry
    9ece26ff0815 batman-adv: Broken sync while rescheduling delayed work
    3f6dfff5fe41 bnxt_en: Implement .set_port / .unset_port UDP tunnel callbacks
    deead0d8729f bnxt_en: Query default VLAN before VNIC setup on a VF
    84dbd27ad5da bnxt_en: Don't issue AP reset during ethtool's reset operation
    dedd47977ae5 lib: cpu_rmap: Fix potential use-after-free in irq_cpu_rmap_release()
    27b8d6931f3f bpf: Add extra path pointer check to d_path helper
    36d07046c2d9 net: sched: fix possible refcount leak in tc_chain_tmplt_add()
    54acac57fe39 net: sched: move rtm_tca_policy declaration to include file
    dad7417db765 rfs: annotate lockless accesses to RFS sock flow table
    c62ca9d03777 rfs: annotate lockless accesses to sk->sk_rxhash
    86e3981ff1bc ipv6: rpl: Fix Route of Death.
    b4be099c5fb5 netfilter: ipset: Add schedule point in call_ad().
    35c89cfcac05 netfilter: conntrack: fix NULL pointer dereference in nf_confirm_cthelper
    c4ba90ae3578 qed/qede: Fix scheduling while atomic
    0fee54fa330b Bluetooth: L2CAP: Add missing checks for invalid DCID
    00665980128c Bluetooth: Fix l2cap_disconnect_req deadlock
    83cfac5851c2 net/sched: fq_pie: ensure reasonable TCA_FQ_PIE_QUANTUM values
    8ab2bec9e165 net/smc: Avoid to access invalid RMBs' MRs in SMCRv1 ADD LINK CONT
    47ef881f1cbe net: dsa: lan9303: allow vid != 0 in port_fdb_{add|del} methods
    9fcc3c3d26a0 neighbour: fix unaligned access to pneigh_entry
    99883d4a0be2 wifi: mt76: mt7615: fix possible race in mt7615_mac_sta_poll
    2d3e4c5b3e05 afs: Fix setting of mtime when creating a file/dir/symlink
    1ed651e234fd spi: qup: Request DMA before enabling clocks
    e7c61c39d6d1 staging: vchiq_core: drop vchiq_status from vchiq_initialise
    fa303270602d i40e: fix build warning in ice_fltr_add_mac_to_list()
    15ca8d584c1a i40e: fix build warnings in i40e_alloc.h
    f7e208d1c549 i40iw: fix build warning in i40iw_manage_apbvt()
    318e2c18da7c block/blk-iocost (gcc13): keep large values in a new enum
    b6d652f7fbdc blk-iocost: avoid 64-bit division in ioc_timer_fn
    9214a5484e33 f2fs: fix iostat lock protection
    d3b74c288d84 bonding (gcc13): synchronize bond_{a,t}lb_xmit() types
    f122e5517401 remove the sx8 block driver
    9236470a1dd4 sfc (gcc13): synchronize ef100_enqueue_skb()'s return type
    02ce3cf22291 gcc-plugins: Reorganize gimple includes for GCC 13
    4c3ddc06cedb ata: ahci: fix enum constants for gcc-13

(From OE-Core rev: 1588c4ebc21543a6a0a0d254339505f2c4ceb8c1)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-07-01 08:37:24 -10:00
Bruce Ashfield
8b0ae951cf linux-yocto/5.10: update to v5.10.183
Updating  to the latest korg -stable release that comprises
the following commits:

    7356714b95aa Linux 5.10.183
    842156dc0aad ARM: defconfig: drop CONFIG_DRM_RCAR_LVDS
    2c0ea7a06db5 ext4: enable the lazy init thread when remounting read/write
    92450a1eaa9e selftests: mptcp: join: skip if MPTCP is not supported
    1a6db1f92724 selftests: mptcp: simult flows: skip if MPTCP is not supported
    4f8356ab74dd selftests: mptcp: diag: skip if MPTCP is not supported
    81df7153f011 crypto: ccp: Play nice with vmalloc'd memory for SEV command structs
    1f988ce6e44f crypto: ccp: Reject SEV commands with mismatching command buffer
    d21a20f4421d scsi: dpt_i2o: Do not process completions with invalid addresses
    a2cd7599b558 scsi: dpt_i2o: Remove broken pass-through ioctl (I2OUSERCMD)
    6d6612f7f976 drm/rcar: stop using 'imply' for dependencies
    c759c9e4bf38 media: ti-vpe: cal: avoid FIELD_GET assertion
    d21e955de918 tpm, tpm_tis: Request threaded interrupt handler
    608c1f20830c regmap: Account for register length when chunking
    cb1cbe430e67 KEYS: asymmetric: Copy sig and digest in public_key_verify_signature()
    3295dc04af33 KVM: x86: Account fastpath-only VM-Exits in vCPU stats
    21bb3cd2e1bc test_firmware: fix the memory leak of the allocated firmware buffer
    510e015b9058 serial: 8250_tegra: Fix an error handling path in tegra_uart_probe()
    b02ae50c7fd8 fbcon: Fix null-ptr-deref in soft_cursor
    c94228a5aea4 ext4: add lockdep annotations for i_data_sem for ea_inode's
    ef70012ab51c ext4: disallow ea_inodes with extended attributes
    6f4fa43757bb ext4: set lockdep subclass for the ea_inode in ext4_xattr_inode_cache_find()
    6d67d4966c1e ext4: add EA_INODE checking to ext4_iget()
    6d0adaa90dbe selftests: mptcp: pm nl: skip if MPTCP is not supported
    54dea0aa6bef selftests: mptcp: connect: skip if MPTCP is not supported
    57eb824b8cbb tracing/probe: trace_probe_primary_from_call(): checked list_first_entry
    122ba1d40bea selinux: don't use make's grouped targets feature yet
    e0b8664c2fec btrfs: fix csum_tree_block page iteration to avoid tripping on -Werror=array-bounds
    6c859764f44d tty: serial: fsl_lpuart: use UARTCTRL_TXINV to send break instead of UARTCTRL_SBK
    6127e956c3a7 mmc: vub300: fix invalid response handling
    99cb5ed15d3e eth: sun: cassini: remove dead code
    1d8693376aaa gcc-12: disable '-Wdangling-pointer' warning for now
    7c602f540bfd ath6kl: Use struct_group() to avoid size-mismatched casting
    c92ea38a779f ACPI: thermal: drop an always true check
    93e28b66c104 x86/boot: Wrap literal addresses in absolute_pointer()
    3442be8f3095 ata: libata-scsi: Use correct device no in ata_find_dev()
    ae0d7613e0e3 scsi: stex: Fix gcc 13 warnings
    86b2d292c260 misc: fastrpc: reject new invocations during device removal
    dacb7c103c2f misc: fastrpc: return -EPIPE to invocations on device removal
    a4f88cb043c5 usb: gadget: f_fs: Add unbind event before functionfs_unbind
    90f581eb745c net: usb: qmi_wwan: Set DTR quirk for BroadMobi BM818
    e18b0009ddfb iio: dac: build ad5758 driver when AD5758 is selected
    a869ab6987f4 iio: adc: ad7192: Change "shorted" channels to differential
    143dbb313aea iio: dac: mcp4725: Fix i2c_master_send() return value handling
    81c70f4beaad iio: light: vcnl4035: fixed chip ID check
    ff864a92d903 iio: imu: inv_icm42600: fix timestamp reset
    954bd5a44b09 HID: wacom: avoid integer overflow in wacom_intuos_inout()
    adac1c22f54b HID: google: add jewel USB id
    55c507a34e7e iio: adc: mxs-lradc: fix the order of two cleanup operations
    5a445c2bf651 mailbox: mailbox-test: fix a locking issue in mbox_test_message_write()
    c05ac53bb0df atm: hide unused procfs functions
    ab332304583d drm/msm: Be more shouty if per-process pgtables aren't working
    93a61212db4b ALSA: oss: avoid missing-prototype warnings
    4987bf04465e netfilter: conntrack: define variables exp_nat_nla_policy and any_addr with CONFIG_NF_NAT
    1c2537291e9c wifi: b43: fix incorrect __packed annotation
    ea478186ea29 scsi: core: Decrease scsi_device's iorequest_cnt if dispatch failed
    05226a8f2288 arm64/mm: mark private VM_FAULT_X defines as vm_fault_t
    32f86763c2a2 ARM: dts: stm32: add pin map for CAN controller on stm32f7
    01c76cb5e512 wifi: rtl8xxxu: fix authentication timeout due to incorrect RCR value
    046721280664 s390/pkey: zeroize key blobs
    76169f749089 media: dvb-core: Fix use-after-free due to race condition at dvb_ca_en50221
    ca2d171fd1f3 media: dvb-core: Fix kernel WARNING for blocking operation in wait_event*()
    2ea7d26ed851 media: dvb-core: Fix use-after-free due on race condition at dvb_net
    415651c8f468 media: mn88443x: fix !CONFIG_OF error by drop of_match_ptr from ID table
    eb37fef417a2 media: ttusb-dec: fix memory leak in ttusb_dec_exit_dvb()
    1995e714725f media: dvb_ca_en50221: fix a size write bug
    b85233ab5335 media: netup_unidvb: fix irq init by register it at the end of probe
    74c80d2024d9 media: dvb-usb: dw2102: fix uninit-value in su3000_read_mac_address
    fcbb72b041d9 media: dvb-usb: digitv: fix null-ptr-deref in digitv_i2c_xfer()
    7945c13c9b7f media: dvb-usb-v2: rtl28xxu: fix null-ptr-deref in rtl28xxu_i2c_xfer
    2d47867a6b3c media: dvb-usb-v2: ce6230: fix null-ptr-deref in ce6230_i2c_master_xfer()
    647da51e4da7 media: dvb-usb-v2: ec168: fix null-ptr-deref in ec168_i2c_xfer()
    084e43d9a4c1 media: dvb-usb: az6027: fix three null-ptr-deref in az6027_i2c_xfer()
    a81280cf3343 media: dvb_demux: fix a bug for the continuity counter
    204e9082f6af ASoC: ssm2602: Add workaround for playback distortions
    beee708ccccc ASoC: dt-bindings: Adjust #sound-dai-cells on TI's single-DAI codecs
    bd99da647262 xfrm: Check if_id in inbound policy/secpath match
    5ee83fef0c24 ASoC: dwc: limit the number of overrun messages
    32f6f1bf1bef block/rnbd: replace REQ_OP_FLUSH with REQ_OP_WRITE
    01c3d3064975 nbd: Fix debugfs_create_dir error checking
    29f6b42a73b3 fbdev: stifb: Fix info entry in sti_struct on error path
    742dab42d70e fbdev: modedb: Add 1920x1080 at 60 Hz video mode
    d03d31d3a206 gfs2: Don't deref jdesc in evict
    fe4f6e159b9a media: rcar-vin: Select correct interrupt mode for V4L2_FIELD_ALTERNATE
    16ee4562c7bb ARM: 9295/1: unwind:fix unwind abort for uleb128 case
    a3393eb6fb41 btrfs: abort transaction when sibling keys check fails for leaves
    c12c288f1e67 mailbox: mailbox-test: Fix potential double-free in mbox_test_message_write()
    0dcf021af4cb ALSA: hda: Glenfly: add HD Audio PCI IDs and HDMI Codec Vendor IDs.
    d5fcccfc5010 watchdog: menz069_wdt: fix watchdog initialisation
    9823ac6e7ae1 mtd: rawnand: marvell: don't set the NAND frequency select
    e4666d793a22 mtd: rawnand: marvell: ensure timing values are written
    a437d3d25a27 net: dsa: mv88e6xxx: Increase wait after reset deactivation
    7c5c67aa2944 net/sched: flower: fix possible OOB write in fl_set_geneve_opt()
    f5c29a9e9146 net/mlx5: Read embedded cpu after init bit cleared
    f03bc013604c udp6: Fix race condition in udp6_sendmsg & connect
    57e6c5403427 net/netlink: fix NETLINK_LIST_MEMBERSHIPS length report
    ae7e941f4dc3 net: sched: fix NULL pointer dereference in mq_attach
    a8ad1303b9de net/sched: Prohibit regrafting ingress or clsact Qdiscs
    676f203803f9 net/sched: Reserve TC_H_INGRESS (TC_H_CLSACT) for ingress (clsact) Qdiscs
    18c76349afda net/sched: sch_clsact: Only create under TC_H_CLSACT
    1b0163b2dc3b net/sched: sch_ingress: Only create under TC_H_INGRESS
    dfb80ebc3bb4 tcp: Return user_mss for TCP_MAXSEG in CLOSE/LISTEN state if user_mss set
    cccc6209708f tcp: deny tcp_disconnect() when threads are waiting
    8f0365a3e286 af_packet: do not use READ_ONCE() in packet_bind()
    4de3c2c43c6f mtd: rawnand: ingenic: fix empty stub helper definitions
    11a1f2561b53 amd-xgbe: fix the false linkup in xgbe_phy_status
    fa909b138480 af_packet: Fix data-races of pkt_sk(sk)->num.
    616da05ff8a9 netrom: fix info-leak in nr_write_internal()
    d1b224cb7856 net/mlx5: fw_tracer, Fix event handling
    a864a8543cd5 dmaengine: pl330: rename _start to prevent build error
    33d7035dc224 iommu/amd: Don't block updates to GATag if guest mode is on
    bd9e61ee3e9d iommu/rockchip: Fix unwind goto issue
    75c60dacf0b4 RDMA/bnxt_re: Fix return value of bnxt_re_process_raw_qp_pkt_rx
    861868b06304 RDMA/bnxt_re: Fix a possible memory leak
    ff296fccebcb dmaengine: at_xdmac: fix potential Oops in at_xdmac_prep_interleaved()
    6b32ed353f44 dmaengine: at_xdmac: Move the free desc to the tail of the desc list
    3041b768cc0f dmaengine: at_xdmac: Fix race for the tx desc callback
    127afc87bb02 dmaengine: at_xdmac: Fix concurrency over chan's completed_cookie
    958226b3a663 RDMA/efa: Fix unsupported page sizes in device
    7d6662e4a4b6 RDMA/bnxt_re: Fix the page_size used during the MR creation
    b51c8962853e RDMA/bnxt_re: Code refactor while populating user MRs

(From OE-Core rev: 3a6f5720936c106e35be41b4b3e14e818baec739)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-07-01 08:37:24 -10:00
Bruce Ashfield
402de28911 linux-yocto/5.10: update to v5.10.182
Updating  to the latest korg -stable release that comprises
the following commits:

    c7992b6c7f0e Linux 5.10.182
    468bebc426ba netfilter: ctnetlink: Support offloaded conntrack entry deletion
    18c14d3028c0 ipv{4,6}/raw: fix output xfrm lookup wrt protocol
    2218752325a9 binder: fix UAF caused by faulty buffer cleanup
    e4d2e6c3054b bluetooth: Add cmd validity checks at the start of hci_sock_ioctl()
    6a0712d9fe46 net: phy: mscc: enable VSC8501/2 RGMII RX clock
    b556990235c3 net/mlx5: Devcom, serialize devcom registration
    57dc3c124e7b net/mlx5: devcom only supports 2 ports
    860ad704e450 regulator: pca9450: Fix BUCK2 enable_mask
    b3a9c4081db9 regulator: pca9450: Convert to use regulator_set_ramp_delay_regmap
    12cb97ed85fb regulator: Add regmap helper for ramp-delay setting
    b557220d3140 power: supply: bq24190: Call power_supply_changed() after updating input current
    224f7bbf577b power: supply: core: Refactor power_supply_set_input_current_limit_from_supplier()
    277b489ad0b7 power: supply: bq27xxx: After charger plug in/out wait 0.5s for things to stabilize
    0949c572d42d power: supply: bq27xxx: Ensure power_supply_changed() is called on current sign changes
    6ed541254f4b power: supply: bq27xxx: Move bq27xxx_battery_update() down
    ed78797a264c power: supply: bq27xxx: expose battery data when CI=1
    7ff807d68b5d power: supply: bq27xxx: Add cache parameter to bq27xxx_battery_current_and_status()
    432f98c559f2 power: supply: bq27xxx: make status more robust
    659094e4057a power: supply: bq27xxx: fix sign of current_now for newer ICs
    14e1a958d988 power: supply: bq27xxx: fix polarity of current_now
    18c9cf463337 x86/cpu: Drop spurious underscore from RAPTOR_LAKE #define
    4a8980cb2a7c x86/cpu: Add Raptor Lake to Intel family
    272d4b8a5b96 Linux 5.10.181
    cf7ee4b15838 net: phy: mscc: add VSC8502 to MODULE_DEVICE_TABLE
    98cedb991094 3c589_cs: Fix an error handling path in tc589_probe()
    6f449e409b75 arm64: dts: imx8mn-var-som: fix PHY detection bug by adding deassert delay
    d4d10a6df152 net/mlx5: Devcom, fix error flow in mlx5_devcom_register_device
    8b9c561b9fc1 net/mlx5: Fix error message when failing to allocate device memory
    c21862232f6c net/mlx5: DR, Fix crc32 calculation to work on big-endian (BE) CPUs
    058fd18e7477 net/mlx5e: do as little as possible in napi poll when budget is 0
    5afd5fb8a9a7 forcedeth: Fix an error handling path in nv_probe()
    80a4b9ad4288 ASoC: Intel: Skylake: Fix declaration of enum skl_ch_cfg
    c966b58c8515 x86/show_trace_log_lvl: Ensure stack pointer is aligned, again
    0de80163dea6 xen/pvcalls-back: fix double frees with pvcalls_new_active_socket()
    b663696c0652 coresight: Fix signedness bug in tmc_etr_buf_insert_barrier_packet()
    a52d2019ec7c fs: fix undefined behavior in bit shift for SB_NOUSER
    52967bbb93eb power: supply: sbs-charger: Fix INHIBITED bit for Status reg
    e85757da9091 power: supply: bq27xxx: Fix poll_interval handling and races on remove
    1da9a4b55a66 power: supply: bq27xxx: Fix I2C IRQ race on remove
    ac1ab213946d power: supply: bq27xxx: Fix bq27xxx_battery_update() race condition
    2de6eb7c40f9 power: supply: leds: Fix blink to LED on transition
    e5f82688ae10 ipv6: Fix out-of-bounds access in ipv6_find_tlv()
    a61d5c13c7d1 bpf: Fix mask generation for 32-bit narrow loads of 64-bit fields
    72971f4071b4 octeontx2-pf: Fix TSOv6 offload
    1c8a016822bb selftests: fib_tests: mute cleanup error message
    a594382ec6d0 net: fix skb leak in __skb_tstamp_tx()
    8a30dce9d7f7 media: radio-shark: Add endpoint checks
    ccef03c51135 USB: sisusbvga: Add endpoint checks
    4c260bbf356a USB: core: Add routines for endpoint checks in old drivers
    5014b64e369b udplite: Fix NULL pointer dereference in __sk_mem_raise_allocated().
    4bb955c4d283 net: fix stack overflow when LRO is disabled for virtual interfaces
    58ecc165abda fbdev: udlfb: Fix endpoint check
    fd673079749b debugobjects: Don't wake up kswapd from fill_pool()
    a12ce786bef6 x86/topology: Fix erroneous smp_num_siblings on Intel Hybrid platforms
    518c39fc1ed6 parisc: Fix flush_dcache_page() for usage from irq context
    2d78438c3183 selftests/memfd: Fix unknown type name build failure
    d4a5e6ae9967 x86/mm: Avoid incomplete Global INVLPG flushes
    628d7e494134 dt-binding: cdns,usb3: Fix cdns,on-chip-buff-size type
    139f84c80d9f btrfs: use nofs when cleaning up aborted transactions
    ea50ee0ef904 gpio: mockup: Fix mode of debugfs files
    c570dbf279a8 parisc: Allow to reboot machine after system halt
    de0d7dd5efd4 parisc: Handle kgdb breakpoints only in kernel context
    89eba5586aa4 m68k: Move signal frame following exception on 68020/030
    42b78c8cc774 net: cdc_ncm: Deal with too low values of dwNtbOutMaxSize
    798c1c62cfa5 ALSA: hda/realtek: Enable headset onLenovo M70/M90
    1f57a1b97949 ALSA: hda: Fix unhandled register update during auto-suspend period
    b0d7e62fd15e ALSA: hda/ca0132: add quirk for EVGA X299 DARK
    c41324385aa7 ocfs2: Switch to security_inode_init_security()
    60afe299bb54 spi: fsl-cpm: Use 16 bit mode for large transfers with even size
    e3674788a865 spi: fsl-spi: Re-organise transfer bits_per_word adaptation
    532451037863 act_mirred: use the backlog for nested calls to mirred ingress
    f5bf8e3ca13e net/sched: act_mirred: better wording on protection against excessive stack growth
    bba7ebe10baf net/sched: act_mirred: refactor the handle of xmit
    047f618d198e writeback, cgroup: remove extra percpu_ref_exit()
    84fbe6ad0fa3 ARM: dts: stm32: fix AV96 board SAI2 pin muxing on stm32mp15
    dbcc95bb510e watchdog: sp5100_tco: Immediately trigger upon starting.
    75258f083868 s390/qdio: fix do_sqbs() inline assembly constraint
    3681a0287a73 s390/qdio: get rid of register asm
    9c9f253fc60b serial: 8250_exar: Add support for USR298x PCI Modems
    1ffa0b8ba928 serial: exar: Add support for Sealevel 7xxxC serial cards
    fb3c5714f5ce serial: 8250_exar: derive nr_ports from PCI ID for Acces I/O cards
    18fbf8cfbb9d KVM: arm64: Link position-independent string routines into .hyp.text
    e266da1656d6 HID: wacom: add three styli to wacom_intuos_get_tool_type
    dfd419db0391 HID: wacom: Add new Intuos Pro Small (PTH-460) device IDs
    05b170379744 HID: wacom: Force pen out of prox if no events have been received in a while
    6b4205ea9790 nilfs2: fix use-after-free bug of nilfs_root in nilfs_evict_inode()
    710dee57012e powerpc/64s/radix: Fix soft dirty tracking
    ae149cdaef4e tpm/tpm_tis: Disable interrupts for more Lenovo devices
    8c0109d76235 ceph: force updating the msg pointer in non-split case
    11dddfbb7a4e vc_screen: reload load of struct vc_data pointer in vcs_write() to avoid UAF
    ea3d5de90bc0 serial: Add support for Advantech PCI-1611U card
    ba061afa060e statfs: enforce statfs[64] structure initialization
    845f98af6ae8 can: kvaser_pciefd: Disable interrupts in probe error path
    7a7ec807fe54 can: kvaser_pciefd: Do not send EFLUSH command on TFD interrupt
    65e85232ffa6 can: kvaser_pciefd: Clear listen-only bit if not explicitly requested
    0babb3fabf55 can: kvaser_pciefd: Empty SRB buffer in probe
    03714e9c04ec can: kvaser_pciefd: Call request_irq() before enabling interrupts
    3bbeba3ce14d can: kvaser_pciefd: Set CAN_STATE_STOPPED in kvaser_pciefd_stop()
    073a4d750cec can: isotp: recvmsg(): allow MSG_CMSG_COMPAT flag
    b4b8294a41ca can: j1939: recvmsg(): allow MSG_CMSG_COMPAT flag
    f7f799a6fe38 ALSA: hda/realtek: Add quirk for 2nd ASUS GU603
    b4f770e61230 ALSA: hda/realtek: Add a quirk for HP EliteDesk 805
    6cebdffba628 ALSA: hda/realtek: Add quirk for Clevo L140AU
    3add6b2a4a69 ALSA: hda: Add NVIDIA codec IDs a3 through a7 to patch table
    546b1f5f45a3 ALSA: hda: Fix Oops by 9.1 surround channel names
    ff466f77d0a5 usb: typec: altmodes/displayport: fix pin_assignment_show
    35e31e1e921c usb: gadget: u_ether: Fix host MAC address case
    e35adb75fda5 usb: dwc3: debugfs: Resume dwc3 before accessing registers
    66070f5b9995 USB: UHCI: adjust zhaoxin UHCI controllers OverCurrent bit value
    0caed1faf5f6 usb-storage: fix deadlock when a scsi command timeouts more than once
    6340e432cf70 USB: usbtmc: Fix direction for 0-length ioctl control messages
    3b3c6f2d2f1f ALSA: usb-audio: Add a sample rate workaround for Line6 Pod Go
    3bd6d11e7e63 bridge: always declare tunnel functions
    3fa13203b6d9 netfilter: nft_set_rbtree: fix null deref on element insertion
    6cfe6f51856b vlan: fix a potential uninit-value in vlan_dev_hard_start_xmit()
    562ec162b04a igb: fix bit_shift to be in [1..8] range
    dc61f7582cc9 cassini: Fix a memory leak in the error handling path of cas_init_one()
    81139679f4d2 scsi: storvsc: Don't pass unused PFNs to Hyper-V host
    d0d39bed9e95 wifi: iwlwifi: mvm: don't trust firmware n_channels
    f9337a41772d wifi: mac80211: fix min center freq offset tracing
    43f6575004e0 net: bcmgenet: Restore phy_stop() depending upon suspend/close
    e92727ed9e8b net: bcmgenet: Remove phy_stop() from bcmgenet_netif_stop()
    2937127d24cc tipc: check the bearer min mtu properly when setting it by netlink
    2bd4ff4ffb92 tipc: do not update mtu if msg_max is too small in mtu negotiation
    097ea78d8cca tipc: add tipc_bearer_min_mtu to calculate min mtu
    76ea144a35ba net/tipc: fix tipc header files for kernel-doc
    02b20e0bc0c2 net: nsh: Use correct mac_offset to unwind gso skb in nsh_gso_segment()
    01cdda0d27d7 drm/exynos: fix g2d_open/close helper function definitions
    ce97bb60a6e4 SUNRPC: Fix trace_svc_register() call site
    f9982db735a8 media: netup_unidvb: fix use-after-free at del_timer()
    0cefa4215243 net: hns3: fix reset delay time to avoid configuration timeout
    aba74ad99870 net: hns3: fix sending pfc frames after reset issue
    e1f800be74c1 erspan: get the proto with the md version for collect_md
    153017561d28 serial: arc_uart: fix of_iomap leak in `arc_serial_probe`
    e7fd68abbba3 tcp: fix possible sk_priority leak in tcp_v4_send_reset()
    788791990d74 net: Find dst with sk's xfrm policy not ctl_sk
    a9ef8b258988 ipv4/tcp: do not use per netns ctl sockets
    171669917762 vsock: avoid to close connected socket after the timeout
    b1cf6bd8833b ALSA: hda/realtek: Apply HP B&O top speaker profile to Pavilion 15
    13c5fa1248bf ALSA: firewire-digi00x: prevent potential use after free
    6fb537895d29 net: phy: dp83867: add w/a for packet errors seen with short cables
    83996d317b1d net: fec: Better handle pm_runtime_get() failing in .remove()
    8f57715f8ef6 af_key: Reject optional tunnel/BEET mode templates in outbound policies
    f5cb28a90c8c cpupower: Make TSC read per CPU for Mperf monitor
    dc30fed07ddf drm/msm/dpu: Remove duplicate register defines from INTF
    eaf9394ed79c drm/msm/dp: unregister audio driver during unbind
    c5449195f86e Revert "Fix XFRM-I support for nested ESP tunnels"
    295e07a76bf3 xfrm: don't check the default policy if the policy allows the packet
    84fdaaf0d76e btrfs: fix space cache inconsistency after error loading it from disk
    a842fb6038e5 btrfs: replace calls to btrfs_find_free_ino with btrfs_find_free_objectid
    9c69a9d05824 btrfs: move btrfs_find_highest_objectid/btrfs_find_free_objectid to disk-io.c
    6a1a72a8cfda mfd: dln2: Fix memory leak in dln2_probe()
    7d939e367b64 phy: st: miphy28lp: use _poll_timeout functions for waits
    3b37bb0d9290 Input: xpad - add constants for GIP interface numbers
    94ec1a44e843 iommu/arm-smmu-v3: Acknowledge pri/event queue overflow if any
    cae5f8f4f7a8 clk: tegra20: fix gcc-7 constant overflow warning
    8c472e68bea0 iommu/arm-smmu-qcom: Limit the SMR groups to 128
    214ae2c1a9ce RDMA/core: Fix multiple -Warray-bounds warnings
    2d9ca5f62f2b recordmcount: Fix memory leaks in the uwrite function
    cf3e2916017d sched: Fix KCSAN noinstr violation
    158502f79076 mcb-pci: Reallocate memory region to avoid memory overlapping
    2c86a1305c14 serial: 8250: Reinit port->pm on port specific driver unbind
    7ed30db87994 usb: typec: tcpm: fix multiple times discover svids error
    60fabcba7543 HID: wacom: generic: Set battery quirk only when we see battery data
    d234de1a924e spi: spi-imx: fix MX51_ECSPI_* macros when cs > 3
    0898a1df72ac HID: logitech-hidpp: Reconcile USB and Unifying serials
    958534d4368b HID: logitech-hidpp: Don't use the USB serial for USB devices
    bb1313f37e7b staging: rtl8192e: Replace macro RTL_PCI_DEVICE with PCI_DEVICE
    55410a9144c7 Bluetooth: L2CAP: fix "bad unlock balance" in l2cap_disconnect_rsp
    a2d816f55da1 Bluetooth: hci_bcm: Fall back to getting bdaddr from EFI if not set
    ba66851aba80 ipvs: Update width of source for ip_vs_sync_conn_options
    866921dc06b9 wifi: ath11k: Fix SKB corruption in REO destination ring
    91ad1ab3cc7e wifi: iwlwifi: dvm: Fix memcpy: detected field-spanning write backtrace
    e732a266b973 null_blk: Always check queue mode setting from configfs
    059e426d666a wifi: iwlwifi: pcie: Fix integer overflow in iwl_write_to_user_buf
    0fc0d287c1e7 wifi: iwlwifi: pcie: fix possible NULL pointer dereference
    7560ed6592ff samples/bpf: Fix fout leak in hbm's run_bpf_prog
    ad87bd313f70 f2fs: fix to drop all dirty pages during umount() if cp_error is set
    fc7237e191b9 ext4: Fix best extent lstart adjustment logic in ext4_mb_new_inode_pa()
    3ca3005b502c ext4: set goal start correctly in ext4_mb_normalize_request
    4c2c8f959984 gfs2: Fix inode height consistency check
    697f92f8317e scsi: message: mptlan: Fix use after free bug in mptlan_remove() due to race condition
    f748e1525383 lib: cpu_rmap: Avoid use after free on rmap->obj array entries
    4621e24c9257 scsi: target: iscsit: Free cmds before session free
    2ea171230a39 net: Catch invalid index in XPS mapping
    8b61e7ad13f2 net: pasemi: Fix return type of pasemi_mac_start_tx()
    e0e7faee3a7d scsi: lpfc: Prevent lpfc_debugfs_lockstat_write() buffer overflow
    22ab5fed07ad ext2: Check block size validity during mount
    4e8dc0e5c763 wifi: brcmfmac: cfg80211: Pass the PMK in binary instead of hex
    e8d49d1c5968 bpf: Annotate data races in bpf_local_storage
    30d041c18dfb wifi: ath: Silence memcpy run-time false positive warning
    b8e7589f50b7 drm/amd: Fix an out of bounds error in BIOS parser
    978e0d05547a ACPICA: ACPICA: check null return of ACPI_ALLOCATE_ZEROED in acpi_db_display_objects
    16359bc02c09 ACPICA: Avoid undefined behavior: applying zero offset to null pointer
    3f64a0e66469 drm/tegra: Avoid potential 32-bit integer overflow
    f718f1fd3e4c remoteproc: stm32_rproc: Add mutex protection for workqueue
    066b90bca755 ACPI: EC: Fix oops when removing custom query handlers
    7d8f5ccc826b firmware: arm_sdei: Fix sleep from invalid context BUG
    5c23f6da62f7 memstick: r592: Fix UAF bug in r592_remove due to race condition
    ae6769fb939c arm64: dts: qcom: msm8996: Add missing DWC3 quirks
    bb1616e1057d regmap: cache: Return error in cache sync operations for REGCACHE_NONE
    d5138ad7ca1d drm/amd/display: Use DC_LOG_DC in the trasform pixel function
    c8daee665858 fs: hfsplus: remove WARN_ON() from hfsplus_cat_{read,write}_inode()
    a7d21b858589 rcu: Protect rcu_print_task_exp_stall() ->exp_tasks access
    e4842de4ec13 refscale: Move shutdown from wait_event() to wait_event_idle()
    100c0ad6c045 ext4: allow ext4_get_group_info() to fail
    371d8b8ea0cb ext4: allow to find by goal if EXT4_MB_HINT_GOAL_ONLY is set
    8669fff0d0cd ext4: add mballoc stats proc file
    9b6a0c140e27 ext4: drop s_mb_bal_lock and convert protected fields to atomic
    0983142c5f17 ext4: remove redundant mb_regenerate_buddy()
    d48b7eea9469 ext4: fix lockdep warning when enabling MMP
    5c87115520d2 ext4: don't clear SB_RDONLY when remounting r/w until quota is re-enabled
    8284c7592d90 ext4: reflect error codes from ext4_multi_mount_protect() to its callers
    efd18a91c9c2 ext4: remove an unused variable warning with CONFIG_QUOTA=n
    df1be652a45f fbdev: arcfb: Fix error handling in arcfb_probe()
    bd6b353671fc drm/i915/dp: prevent potential div-by-zero
    8307e372e744 af_unix: Fix data races around sk->sk_shutdown.
    9b977b0cbb6d af_unix: Fix a data race of sk->sk_receive_queue->qlen.
    fb6ac4b5bdfe net: datagram: fix data-races in datagram_poll()
    f4a371d3f5a7 ipvlan:Fix out-of-bounds caused by unclear skb->cb
    963fe9ed8626 tcp: add annotations around sk->sk_shutdown accesses
    f86568eca4c9 tcp: factor out __tcp_close() helper
    34a5ee69ec62 net: add vlan_get_protocol_and_depth() helper
    9ccf3edbafba net: tap: check vlan with eth_type_vlan() method
    449391400960 net: deal with most data-races in sk_wait_event()
    1b33bdd76635 net: annotate sk->sk_err write from do_recvmmsg()
    f92557f79a60 netlink: annotate accesses to nlk->cb_running
    26001e75dc5c netfilter: conntrack: fix possible bug_on with enable_hooks=1
    d06f67b2b8dc net: Fix load-tearing on sk->sk_stamp in sock_recv_cmsgs().
    8eb35b1aca84 linux/dim: Do nothing if no time delta between samples
    4d3ae448e850 net: mdio: mvusb: Fix an error handling path in mvusb_mdio_probe()
    b882224d7367 ARM: 9296/1: HP Jornada 7XX: fix kernel-doc warnings
    139c27648f8d drm/mipi-dsi: Set the fwnode for mipi_dsi_device
    423908e89d7d driver core: add a helper to setup both the of_node and fwnode of a device

(From OE-Core rev: 2829482f2924082ad01f356ea281ed308e35d44f)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-07-01 08:37:24 -10:00
Xiangyu Chen
ed9558afb4 dbus: upgrade 1.14.6 -> 1.14.8
Update dbus to 1.14.8 to fix CVE-2023-34969 and serveral bugs

changes:
f90d4f1693/NEWS

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

(From OE-Core rev: fc3067f163c21434d3f79d03b26b21165be6927a)

Signed-off-by: Xiangyu Chen <xiangyu.chen@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-07-01 08:37:24 -10:00
Wang Mingyu
5da269ca4a mobile-broadband-provider-info: upgrade 20221107 -> 20230416
(From OE-Core rev: 82cffbc90caeff76a8ebb7ff1527b69e21b8a967)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 125f72393c9b6fea02757cdc3a22696945e0f490)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-07-01 08:37:24 -10:00
Wang Mingyu
0ca44d55ad xdpyinfo: upgrade 1.3.3 -> 1.3.4
Changelog:
=========
configure: Make xf86misc support disabled by default
Variable scope reduction
Remove unnecessary downcast of double to float
Call memset() instead of hand-coding our own equivalent

(From OE-Core rev: 74fef3bca108017f8a1ce0e451b4b2172ae28fcf)

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

(From OE-Core rev: 22d9e097538f84a12dd262c1ae936fb8107c2768)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 4d9f0958eecdf683434d77a4f65611803cffd247)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-07-01 08:37:24 -10:00
Wang Mingyu
77847ecd60 fribidi: upgrade 1.0.12 -> 1.0.13
Changelog:
* Adding missing man pages to the tar release file.

(From OE-Core rev: 7e4915c4be7dca35a63a912a55bcfa525a532e22)

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

(From OE-Core rev: 56121b2378899b928bec3a4eb8abe487789aff17)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit ae47b6c2a4bdee031d42687582049c15614faa6d)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-07-01 08:37:24 -10:00
Archana Polampalli
8b56df5241 go: fix CVE-2023-29402
The go command may generate unexpected code at build time when using cgo.
This may result in unexpected behavior when running a go program which uses cgo.
This may occur when running an untrusted module which contains directories
with newline characters in their names. Modules which are retrieved using the go
command, i.e. via "go get", are not affected (modules retrieved using GOPATH-mode,
i.e. GO111MODULE=off, may be affected).

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

Upstream patches:
4dae3bbe0e

(From OE-Core rev: aeb0829e52c60a77a2135af8332435b6e2db5b3d)

Signed-off-by: Archana Polampalli <archana.polampalli@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-07-01 08:37:24 -10:00
Ross Burton
e1f4f895ce ninja: ignore CVE-2021-4336, wrong ninja
(From OE-Core rev: c2dd2c13ff26c3f046e35a2f6b8afeb099ef422a)

(From OE-Core rev: 804067b760591d33cd49f8c31fa68a92fcbf5445)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 9a106486ad)
Signed-off-by: virendra thakur <virendrak@kpit.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-07-01 08:37:24 -10:00
Hitendra Prajapati
214b973fbd libcap: CVE-2023-2602 Memory Leak on pthread_create() Error
Upstream-Status: Backport from https://git.kernel.org/pub/scm/libs/libcap/libcap.git/patch/?id=bc6b36682f188020ee4770fae1d41bde5b2c97bb

(From OE-Core rev: 7e4f3c51c0bac772bf56f69a3c065b2b2d095335)

Signed-off-by: Hitendra Prajapati <hprajapati@mvista.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-07-01 08:37:24 -10:00
Archana Polampalli
92a46e5fff go: fix CVE-2023-29405
The go command may execute arbitrary code at build time when using cgo.
This may occur when running "go get" on a malicious module, or when running
any other command which builds untrusted code. This is can by triggered by
linker flags, specified via a "#cgo LDFLAGS" directive. Flags containing
embedded spaces are mishandled, allowing disallowed flags to be smuggled
through the LDFLAGS sanitization by including them in the argument of
another flag. This only affects usage of the gccgo compiler.

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

Upstream patches:
6d8af00a63

(From OE-Core rev: 7ce6d0029effc06cff500271a124150f1a7db7b3)

Signed-off-by: Archana Polampalli <archana.polampalli@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-07-01 08:37:24 -10:00
Archana Polampalli
19cce6f246 go: fix CVE-2023-29404
The go command may execute arbitrary code at build time when using cgo.
This may occur when running "go get" on a malicious module, or when running
any other command which builds untrusted code. This is can by triggered by
linker flags, specified via a "#cgo LDFLAGS" directive. The arguments for a
number of flags which are non-optional are incorrectly considered optional,
allowing disallowed flags to be smuggled through the LDFLAGS sanitization.
This affects usage of both the gc and gccgo compilers.

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

Upstream patches:
bbeb55f5fa

(From OE-Core rev: 3e51122f8e2b4a7cd2a1c711175e6daf59b8368b)

Signed-off-by: Archana Polampalli <archana.polampalli@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-07-01 08:37:24 -10:00
Steve Sakoman
fc697fe874 build-appliance-image: Update to kirkstone head revision
(From OE-Core rev: 7949e786cf8e50f716ff1f1c4797136637205e0c)

Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-06-23 04:27:00 -10:00
Steve Sakoman
5ded548a1e poky.conf: bump version for 4.0.11
(From meta-yocto rev: c0435b61978e431974628a052ce2812fbd8e7196)

Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-06-23 04:16:41 -10:00
Pavel Zhukov
18469232f6 lib/terminal.py: Add urxvt terminal
This fixes failure [1] of menuconfig task in rxvt-unicode terminal in case if
xterm/Konsole/Gnome is not installed. Tested with rxvt-unicode-256color

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

(From OE-Core rev: 59f1a1b2326e2191aa882cfc73a851ea79672a6f)

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

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

(From OE-Core rev: dad053c4b99d4aefebe40459500ad53a2b458fa0)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit bf7584a2ac16ee46ff5b41536b06bb46d0cbada7)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-06-23 04:16:41 -10:00
Thomas Roos
49b2b70749 oeqa/selftest/cases/devtool.py: skip all tests require folder a git repo
Devtool selftests require poky dir a git repo, when downloading poky as a tar,
this is not the case. Those tests will now skipped.

[YOCTO #12389]

(From OE-Core rev: 9ce30faa488ea905292b9944fb3c1b471019f28c)

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

So correct the DEPENDS varibales

(From OE-Core rev: 5dec509c33ce3d01fa1cd44408f0ef198dc4f6c0)

Signed-off-by: Ranjitsinh Rathod <ranjitsinh.rathod@kpit.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 63f338255000874c62bf01ccc11f2c100014c3d9)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-06-23 04:16:41 -10:00
Bruce Ashfield
62257379ea kernel: don't force PAHOLE=false
If a specific kernel provider or configuration wants to enable BTF
and pahole analysis, it isn't currently possible due to the explicit
definition to false in the base kernel build arguments.

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

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

(From OE-Core rev: 44b75c7442b05a2fedcc0d73982566c2bef84357)

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

(From OE-Core rev: c89090e148cdf404e25e1262d1366e963277fd2c)

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

(From OE-Core rev: f9b1a56c50a96ad6300a48bf74a540579b352411)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 2f1777e6ac5269a71203b6a2c562a43503be95ae)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-06-23 04:16:40 -10:00
Wang Mingyu
d3153b2847 iso-codes: upgrade 4.13.0 -> 4.15.0
Changelog:
==========
- Translation updates for ISO 3166-1
- Translation updates for ISO 3166-3
- Translation updates for ISO 639-2
- Translation updates for ISO 3166-1
- Translation updates for ISO 3166-2
- Translation updates for ISO 3166-3
- Translation updates for ISO 639-2
- Translation updates for ISO 639-3
- Translation updates for ISO 639-5
- Translation updates for ISO 4217
- Translation updates for ISO 15924
* ISO 3166-2: Fix wrong Spanish translation

(From OE-Core rev: 86e8e31a413fdbb8ffa825c41d0fe83c292a6b76)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 355f2f9fe8a1e6c5e78f136cb3ed77c9004fb75c)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
(cherry picked from commit b189240b211e5d8f40747a0128834ed83c38a8f4)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-06-23 04:16:40 -10:00
Archana Polampalli
55724a7c45 nasm: fix CVE-2022-46457
NASM v2.16 was discovered to contain a segmentation violation
in the component ieee_write_file at /output/outieee.c.

References:
https://nvd.nist.gov/vuln/detail/CVE-2022-46457

Upstream patches:
c8af731120

(From OE-Core rev: 6b82d998184112c42b4298aef6a0b9e314fc8ee4)

Signed-off-by: Archana Polampalli <archana.polampalli@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-06-23 04:16:40 -10:00
Hannu Lounento
ab6c16cb55 profile-manual: fix blktrace remote usage instructions
The references to the target and host systems (i.e. the client and
server respectively) were swapped in the instructions.

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

The previous, incorrect, instructions resulted typically in:

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

and

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

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

Based on

    target# blktrace --version
    blktrace version 2.0.0

and

    host$ blktrace --version
    blktrace version 2.0.0

(From yocto-docs rev: 6d16d2bde0aa32276a035ee49703e6eea7c7b29a)

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

(From yocto-docs rev: c570732cededffa2992173e6c43de4845a1d7d44)

Signed-off-by: Ed Beroset <beroset@ieee.org>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-06-21 04:00:58 -10:00
Andrew Jeffery
5e0dd7be76 Revert "ipk: Decode byte data to string in manifest handling"
cf9df9e8d89f ("ipk: Decode byte data to string in manifest handling")
did a bit of least-effort fix to a string vs byte sequence issue in the
manifest handling. The approach was chosen as it localised the fix,
rather than having to analyse further call sites.

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

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

(From OE-Core rev: 0e17a5a4f0e3301bf78f77bb5ca4aaf3e4dbc7af)

Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 07e5a6331be60d5e35d7336a6215a972ced6eb57)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-06-21 04:00:58 -10:00
Qiu Tingting
8bc1f7e015 e2fsprogs: fix ptest bug for second running
At second running, there are four new failed case:
  d_loaddump f_bigalloc_badinode f_bigalloc_orphan_list f_dup_resize

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

(From OE-Core rev: 3a5ce6f8090f912bb9744e8cc8f3f2510f351a33)

Signed-off-by: Qiu Tingting <qiutt@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit d0d08dd9a8a179e25b9cfcbac696c1d212a1910c)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-06-21 04:00:58 -10:00
Ian Ray
7f8a4aa6cf systemd-systemctl: support instance expansion in WantedBy
Refactor _process_deps to expand systemd instance specifier "%i" to the
template instance.

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

The regexp handles the following cases:

* svc-wants@%i.service

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

(From OE-Core rev: 11d3f1c8252592c377ea6b92bba77ef6d9c75464)

Signed-off-by: Ian Ray <ian.ray@ge.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 9356276137267a29ae2289d796a2940918375308)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-06-21 04:00:58 -10:00
Randy MacLeod
7412714f7d vim: upgrade 9.0.1429 -> 9.0.1527
Fixes: https://nvd.nist.gov/vuln/detail/CVE-2023-2426
caf642c25 patch 9.0.1499: using uninitialized memory with fuzzy matching

(From OE-Core rev: 035b5d918eea3f3bb238fecd795f09505801971b)

Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 4f9a8df5aca99d0a5c2d2346b27ce7be08e7896c)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-06-21 04:00:58 -10:00
Bruce Ashfield
c71fb0017d linux-yocto/5.15: update to v5.15.113
Updating  to the latest korg -stable release that comprises
the following commits:

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

(From OE-Core rev: 2057c5a6e7480e32709a6afedc3eda1ee64b6709)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
(cherry picked from commit e59689be96bb366233a10db22246751f484691fa)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-06-21 04:00:58 -10:00
Bruce Ashfield
7d75bf2e97 linux-yocto/5.15: update to v5.15.112
Updating  to the latest korg -stable release that comprises
the following commits:

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

(From OE-Core rev: 6180d99b8af79ceba5096e6f5499a4fb151fc612)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
(cherry picked from commit 276039dd77ad0e6276d4e4688db65150fced3d5f)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-06-21 04:00:58 -10:00
Bruce Ashfield
351dca5a44 linux-yocto/5.15: update to v5.15.111
Updating  to the latest korg -stable release that comprises
the following commits:

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

(From OE-Core rev: ea29961df7334f4df7d19ede2a955fadb64fdf0e)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
(cherry picked from commit 5425b3557b6efdba07bd3efa51c647bd62d5259b)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-06-21 04:00:58 -10:00
Bruce Ashfield
263d5df539 linux-yocto/5.15: update to v5.15.110
Updating  to the latest korg -stable release that comprises
the following commits:

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

(From OE-Core rev: 0c328f0b044f5851bd5c53adcdfd795ee3c996ba)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
(cherry picked from commit 8fb28c7f71888d65c170c9f5400438a077860c6f)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-06-21 04:00:58 -10:00
Bruce Ashfield
8a6e38dd24 linux-yocto/5.15: update to v5.15.109
Updating  to the latest korg -stable release that comprises
the following commits:

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

(From OE-Core rev: fe55be7f4a543c576181af208551a9134d2b45fc)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
(cherry picked from commit 3411b2b442c44fa932e3d6065a95078a6f541dd9)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-06-21 04:00:58 -10:00
Deepthi Hemraj
1e8fd09f78 glibc: stable 2.35 branch updates
Below commits on glibc-2.35 stable branch are updated.
cbceb903c4 (HEAD -> release/2.35/master, origin/release/2.35/master) io: Fix F_GETLK, F_SETLK, and F_SETLKW for powerpc64
0967fb5861 io: Fix record locking contants on 32 bit arch with 64 bit default time_t
739de21d30 Document BZ #20975 fix
2b9906f9a0 __check_pf: Add a cancellation cleanup handler
7035f2174f gmon: Revert addition of tunables to preserve GLIBC_PRIVATE ABI
e698e8bd8e gmon: fix memory corruption issues
9f81b8fa65 gmon: improve mcount overflow handling
f2820e478c gmon: Fix allocated buffer overflow
413af1eb02 posix: Fix system blocks SIGCHLD erroneously

CVE-2023-0687.patch is dropped

(From OE-Core rev: afce7649180950b0a168771c2f95e7839382b02c)

Signed-off-by: Deepthi Hemraj <Deepthi.Hemraj@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-06-21 04:00:58 -10:00
Jan Vermaete
c4c9531c9b cve-update-nvd2-native: added the missing http import
(From OE-Core rev: c7e1611ab0e72e18d3e41cfb8eaa157dab4d97ad)

Signed-off-by: Jan Vermaete <jan.vermaete@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
(cherry picked from commit 39d2cde7eb922cb0a2cf9402cd8b3ae3b4cc2f62)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-06-21 04:00:58 -10:00
Marta Rybczynska
075d712b28 cve-update-nvd2-native: new CVE database fetcher
Add new fetcher for the NVD database using the 2.0 API [1].
The implementation changes as little as possible, keeping the current
database format (but using a different database file for the transition
period), with a notable exception of not using the META table.

Minor changes that could be visible:
- the database starts in 1999 instead of 2002
- the complete fetch is longer (30 minutes typically)

[1] https://nvd.nist.gov/developers/vulnerabilities

(From OE-Core rev: b8ae26aabe825c1bc8d84fd7e0ee197695f1dee7)

Signed-off-by: Marta Rybczynska <marta.rybczynska@syslinbit.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit fb62c4c3dbca4e58f7ce6cf29d4b630a06411a97)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-06-21 04:00:58 -10:00
Yogita Urade
1a63c9703f webkitgtk: fix CVE-2022-46700
A memory corruption issue was addressed with improved input validation.
This issue is fixed in Safari 16.2, tvOS 16.2, macOS Ventura 13.1, iOS
15.7.2 and iPadOS 15.7.2, iOS 16.2 and iPadOS 16.2, watchOS 9.2. Processing
maliciously crafted web content may lead to arbitrary code execution.

References:
https://support.apple.com/en-us/HT213531
https://bugs.webkit.org/show_bug.cgi?id=247562
https://github.com/WebKit/WebKit/pull/6266

(From OE-Core rev: da1e7adf33b86cd818a39091043817e21ff8bbbd)

Signed-off-by: Yogita Urade <yogita.urade@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-06-21 04:00:58 -10:00
Yogita Urade
b4a7ec6e0e webkitgtk: fix CVE-2022-42867
A use after free issue was addressed with improved memory management.
This issue is fixed in Safari 16.2, tvOS 16.2, macOS Ventura 13.1, iOS
16.2 and iPadOS 16.2, watchOS 9.2. Processing maliciously crafted web
content may lead to arbitrary code execution.

Reference:
https://nvd.nist.gov/vuln/detail/CVE-2022-42867
https://support.apple.com/en-us/HT213537

(From OE-Core rev: d4a872b6ac8c41d9c3f4d5f7255d4561684ef7d5)

Signed-off-by: Yogita Urade <yogita.urade@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-06-21 04:00:58 -10:00
Yogita Urade
ab62b82a81 webkitgtk: fix CVE-2022-46699
A memory corruption issue was addressed with improved state management.
This issue is fixed in Safari 16.2, tvOS 16.2, macOS Ventura 13.1, iOS
16.2 and iPadOS 16.2, watchOS 9.2. Processing maliciously crafted web
content may lead to arbitrary code execution.

References:
https://nvd.nist.gov/vuln/detail/CVE-2022-46699
https://support.apple.com/en-us/HT213537

(From OE-Core rev: 8f71f60af366837399290a7fc9e0e38452f379cc)

Signed-off-by: Yogita Urade <yogita.urade@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-06-21 04:00:58 -10:00
Yogita Urade
0498db775a webkitgtk: fix CVE-2022-46691
A memory consumption issue was addressed with improved memory handling.
This issue is fixed in Safari 16.2, tvOS 16.2, macOS Ventura 13.1, iOS
15.7.2 and iPadOS 15.7.2, iOS 16.2 and iPadOS 16.2, watchOS 9.2. Processing
maliciously crafted web content may lead to arbitrary code execution.

References:
https://nvd.nist.gov/vuln/detail/CVE-2022-46691
https://support.apple.com/en-us/HT213531

(From OE-Core rev: 15603261034610b6606df99996d065c254d8f8f9)

Signed-off-by: Yogita Urade <yogita.urade@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-06-21 04:00:58 -10:00
Sanjay Chitroda
a3983ed726 cups: Fix CVE-2023-32324
OpenPrinting CUPS is an open source printing system. In versions 2.4.2
and prior, a heap buffer overflow vulnerability would allow a remote
attacker to launch a denial of service (DoS) attack. A buffer overflow
vulnerability in the function `format_log_line` could allow remote
attackers to cause a DoS on the affected system. Exploitation of the
vulnerability can be triggered when the configuration file `cupsd.conf`
sets the value of `loglevel `to `DEBUG`. No known patches or
workarounds exist at time of publication.

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

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

(From OE-Core rev: cf741646f41835024c7e53234cfd527ff3f8542b)

Signed-off-by: Sanjay Chitroda <schitrod@cisco.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-06-21 04:00:58 -10:00
Chen Qi
0e22295713 openssh: fix CVE-2023-28531
Backport patch to fix CVE-2023-28531.

(From OE-Core rev: 2da7a711ca396451b10f5d2084532f7ae6f65cbe)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-06-21 04:00:58 -10:00
Michael Halstead
43b94d2b84 uninative: Upgrade to 4.0 to include latest gcc 13.1.1
(From OE-Core rev: 6e0d694ea1eb5d478dc7508d181c3a820098ee5f)

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

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

(From OE-Core rev: 18a9596ae711ba37ac7e44e46744298ba79ae320)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit b494d83c639a877cefeb7cbab6d37195e492f059)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-06-14 04:17:00 -10:00
C. Andy Martin
933033e54e systemd-networkd: backport fix for rm unmanaged wifi
Upstream v250 of systemd-newtorkd contains a race which will drop the
config of unmanaged wireless interfaces during reconfigure or carrier
loss. This bug is fixed in v251 by this commit:

commit a0e99a377a2f22c0ba460d3e7228214008714c14
Author: Yu Watanabe <watanabe.yu+github@gmail.com>
Date:   Mon Jan 31 19:08:27 2022 +0900

    network: remove only managed configs on reconfigure or carrier lost

    Otherwise, if the carrir of the non-managed interface is lost, the
    configs such as addresses or routes on the interface will be removed by
    networkd.

A bug was filed upstream on v250 to have upstream backport but was
rejected as "version-too-ancient", so backport this commit as a patch to
systemd-networkd for kirkstone.

Fixes: [YOCTO #15134]

(From OE-Core rev: 56fdf57d99900b8dfb75bf915fcab45d4c1a458e)

Signed-off-by: C. Andy Martin <cam@myfastmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-06-14 04:16:59 -10:00
Riyaz Khan
20c192f0ec openssh: Remove BSD-4-clause contents completely from codebase
Below upstream commit removed BSD-4-Clause from the LICENSE variable,
Link: https://git.yoctoproject.org/poky/commit/?id=2c86f586d55d0f6b99053e3e4d14c9ee36fa8aa8
But actually if we check from the source code of the openssh for this
version (8.9p1), there are some files (openbsd-compat/libressl-api-compat.c)
still affected.

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

All advertising materials mentioning features or use of this software

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

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

(From OE-Core rev: 10b9fdce3553a69714de17d3ed5c13c99ec8c460)

Signed-off-by: Riyaz Khan <Riyaz.Khan@kpit.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-06-14 04:16:59 -10:00
Narpat Mali
916105b352 python3-requests: fix for CVE-2023-32681
Requests is a HTTP library. Since Requests 2.3.0, Requests has been leaking
Proxy-Authorization headers to destination servers when redirected to an HTTPS
endpoint. This is a product of how we use `rebuild_proxies` to reattach the
`Proxy-Authorization` header to requests. For HTTP connections sent through the
tunnel, the proxy will identify the header in the request itself and remove it
prior to forwarding to the destination server. However when sent over HTTPS,
the `Proxy-Authorization` header must be sent in the CONNECT request as the proxy
has no visibility into the tunneled request. This results in Requests forwarding
proxy credentials to the destination server unintentionally, allowing a malicious
actor to potentially exfiltrate sensitive information. This issue has been patched
in version 2.31.0.

Reference: https://github.com/advisories/GHSA-j8r2-6x86-q33q

(From OE-Core rev: e806c625d9a7eb08079a3268d2d8b20b582d0b6c)

Signed-off-by: Narpat Mali <narpat.mali@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-06-14 04:16:59 -10:00
Peter Marko
fb53a9ec2b openssl: Upgrade 3.0.8 -> 3.0.9
* fix CVEs CVE-2023-1255 and CVE-2023-2650
* drop CVE patches merged upstream
* refresh 0001-Configure-do-not-tweak-mips-cflags.patch

https://www.openssl.org/news/openssl-3.0-notes.html
Major changes between OpenSSL 3.0.8 and OpenSSL 3.0.9 [30 May 2023]
* Mitigate for very slow `OBJ_obj2txt()` performance with gigantic OBJECT IDENTIFIER sub-identities. ([CVE-2023-2650])
* Fixed buffer overread in AES-XTS decryption on ARM 64 bit platforms ([CVE-2023-1255])
* Fixed documentation of X509_VERIFY_PARAM_add0_policy() ([CVE-2023-0466])
* Fixed handling of invalid certificate policies in leaf certificates ([CVE-2023-0465])
* Limited the number of nodes created in a policy tree ([CVE-2023-0464])

(From OE-Core rev: 5140fdf3417c7553d3b035d7eafacda139936494)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-06-14 04:16:59 -10:00
Soumya
875400f96f perl: fix CVE-2023-31484
CPAN.pm before 2.35 does not verify TLS certificates when downloading
distributions over HTTPS.

(From OE-Core rev: b093db144b35e7c140ac830dbe67cabfaac69f73)

Signed-off-by: Soumya <soumya.sambu@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-06-14 04:16:59 -10:00
Omkar Patil
f83291a946 curl: Correction for CVE-2023-27536
Correction of backport link inside the patch with correct commit link as
below
Link: cb49e67303

(From OE-Core rev: 4691bc257d0bf2372e31535f0b90cf49ef0ed0d8)

Signed-off-by: Sourav Kumar Pramanik <pramanik.souravkumar@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-06-14 04:16:59 -10:00
Vivek Kumbhar
15f7694793 go: fix CVE-2023-24539 html/template improper sanitization of CSS values
Angle brackets should not appear in CSS contexts, as they may affect
token boundaries (such as closing a <style> tag, resulting in
injection). Instead emit filterFailsafe, matching the behavior for other
dangerous characters.

Thanks to Juho Nurminen of Mattermost for reporting this issue.

For #59720
Fixes #59811
Fixes CVE-2023-24539

(From OE-Core rev: 0a09194f3d4ad98d0cf0d070ec0c99e7a6c8a158)

Signed-off-by: Vivek Kumbhar <vkumbhar@mvista.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-06-14 04:16:59 -10:00
Hitendra Prajapati
3c6eb39773 sysstat: Fix CVE-2023-33204
Upstream-Status: Backport from https://github.com/sysstat/sysstat/commit/954ff2e2673c

(From OE-Core rev: d4ee3ad88392dbcb4284be48ef9fd0bbff979cca)

Signed-off-by: Hitendra Prajapati <hprajapati@mvista.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-06-14 04:16:59 -10:00
Randolph Sapp
1e6f147c68 kernel-devicetree: recursively search for dtbs
Upstream's dtb directory structure has no real standard. They just tend
to idle around the 2/3 directory depth. Recursively search for the
dtb/dtbo files instead of assuming anything.

Fixes: 04ab57d200 (kernel-devicetree: allow specification of dtb
directory, 2023-05-02)

(From OE-Core rev: 717b9f18a51e9c9fd5a471238aa2ea4de439ef17)

Signed-off-by: Randolph Sapp <rs@ti.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-06-01 16:24:08 -10:00
Randolph Sapp
ae34dbb410 package: enable recursion on file globs
Enable recursion of file globs. This just allows the use of '**' in file
globs to match 0 or more subdirectories, it should not make all current
globs recursive [1].

[1] https://docs.python.org/3.6/library/glob.html#glob.glob

(From OE-Core rev: 90855ef11e3bd85eea718532f20878b72aa729b4)

Signed-off-by: Randolph Sapp <rs@ti.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-06-01 16:24:08 -10:00
Martin Jansa
b32d7da361 kernel-devicetree: make shell scripts posix compliant
Use the notation suggested by Martin Jansa to avoid a bashism. Also
switch KERNEL_DTBVENDORED to the more common 0/1 notation instead of
true/false.

Fixes: 04ab57d200 (kernel-devicetree: allow specification of dtb
directory, 2023-05-02)

(From OE-Core rev: b7d6fc07462e6fca09d0db7f43a62920250ef053)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Randolph Sapp <rs@ti.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-06-01 16:24:07 -10:00
Randolph Sapp
ab21fd0ec1 kernel-devicetree: allow specification of dtb directory
Fedora/Redhat and Arch are somewhat standardized on their dtb directory
structure. Let's add some flags to configure yocto to mimic that
behavior.

Add the following variables to the kernel class:
	- KERNEL_DTBDEST (controls the destination directory for dtbs)
	- KERNEL_DTBVENDORED (controls if vendor subdirectories are to
	  be respected)

Currently KERNEL_DTBDEST is expected to be a subdir of KERNEL_IMAGEDEST
and KERNEL_DTBVENDORED is expected to be "true"/"false". This only
applies to the package directory structure. The deploydir structure is
purposely left untouched for compatibility with existing recipes.

By default this is configured to behave the same as the current recipe
and produce a flat dtb directory at KERNEL_IMAGEDEST.

(From OE-Core rev: 77d6118e20751f68ad7104edec8f14dbb5ba6ec1)

Signed-off-by: Randolph Sapp <rs@ti.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-06-01 16:24:07 -10:00
Bruce Ashfield
08252caaee linux-yocto/5.10: update to v5.10.180
Updating  to the latest korg -stable release that comprises
the following commits:

    4c893ff55907 Linux 5.10.180
    3ebe5d6d69ce drm/amd/display: Fix hang when skipping modeset
    a992c387b411 mm/page_alloc: fix potential deadlock on zonelist_update_seq seqlock
    f2656f437fb1 drm/exynos: move to use request_irq by IRQF_NO_AUTOEN flag
    32232bcd4e53 printk: declare printk_deferred_{enter,safe}() in include/linux/printk.h
    fcfe05990a5c KVM: x86: move guest_pv_has out of user_access section
    85cfbaa575ea KVM: x86: do not report preemption if the steal time cache is stale
    4bffae22bec7 KVM: x86: revalidate steal time cache if MSR value changes
    e10a73f53809 KVM: x86: do not set st->preempted when going back to user space
    029662004359 KVM: x86: Remove obsolete disabling of page faults in kvm_arch_vcpu_put()
    8e39c2f407af KVM: Fix steal time asm constraints
    ebd3010d42ba KVM: x86: Fix recording of guest steal time / preempted status
    4b19cbdb1dd3 KVM: x86: Ensure PV TLB flush tracepoint reflects KVM behavior
    01c0002ec7bd drbd: correctly submit flush bio on barrier
    ef77d602e306 serial: 8250: Fix serial8250_tx_empty() race with DMA Tx
    1a8822343e67 ext4: fix invalid free tracking in ext4_xattr_move_to_block()
    b0fc279de4bf ext4: remove a BUG_ON in ext4_mb_release_group_pa()
    d88fe8e61126 ext4: bail out of ext4_xattr_ibody_get() fails for any reason
    4597554b4f7b ext4: add bounds checking in get_max_inline_xattr_value_size()
    5f8b55136ad7 ext4: fix deadlock when converting an inline directory in nojournal mode
    37c69da3adc4 ext4: improve error recovery code paths in __ext4_remount()
    08838aeefa6f ext4: check iomap type only if ext4_iomap_begin() does not fail
    4aa7f744fa37 ext4: fix data races when using cached status extents
    0dde3141c527 ext4: avoid a potential slab-out-of-bounds in ext4_group_desc_csum
    5d356d902e9d ext4: fix WARNING in mb_find_extent
    529f41f0eb1e KVM: x86: do not report a vCPU as preempted outside instruction boundaries
    0cb6e9e7d3f1 KVM: x86: hyper-v: Avoid calling kvm_make_vcpus_request_mask() with vcpu_mask==NULL
    4502ebbdc0e2 HID: wacom: insert timestamp to packed Bluetooth (BT) events
    77fd800d3f1b HID: wacom: Set a default resolution for older tablets
    c1420276be7a drm/amdgpu: disable sdma ecc irq only when sdma RAS is enabled in suspend
    20ca90ceda71 drm/amdgpu/gfx: disable gfx9 cp_ecc_error_irq only when enabling legacy gfx ras
    eed63477ae06 drm/amdgpu: fix an amdgpu_irq_put() issue in gmc_v9_0_hw_fini()
    c85327c1e93c drm/panel: otm8009a: Set backlight parent to panel device
    957904f531fd f2fs: fix potential corruption when moving a directory
    4a638a958230 ARM: dts: s5pv210: correct MIPI CSIS clock name
    fed6318e4722 ARM: dts: exynos: fix WM8960 clock name in Itop Elite
    777952ce1187 remoteproc: st: Call of_node_put() on iteration error
    30e0834becd8 remoteproc: stm32: Call of_node_put() on iteration error
    62fe5d74ef7f sh: nmi_debug: fix return value of __setup handler
    9245f34029b7 sh: init: use OF_EARLY_FLATTREE for early init
    f19bc0d2a68c sh: mcount.S: fix build error when PRINTK is not enabled
    bbad64abd610 sh: math-emu: fix macro redefined warning
    2d65c97777e5 inotify: Avoid reporting event with invalid wd
    73aef14407de platform/x86: touchscreen_dmi: Add info for the Dexp Ursus KX210i
    4b87eec73e47 platform/x86: touchscreen_dmi: Add upside-down quirk for GDIX1002 ts on the Juno Tablet
    8c2cdb7326f0 cifs: fix pcchunk length type in smb2_copychunk_range
    829c20fd7a7b btrfs: print-tree: parent bytenr must be aligned to sector size
    148b16cd30b2 btrfs: don't free qgroup space unless specified
    08fa23adbdcc btrfs: fix btrfs_prev_leaf() to not return the same key twice
    7a4db11f00f3 perf symbols: Fix return incorrect build_id size in elf_read_build_id()
    87a1fa0ad74e crypto: sun8i-ss - Fix a test in sun8i_ss_setup_ivs()
    be3517ae6b80 perf map: Delete two variable initialisations before null pointer checks in sort__sym_from_cmp()
    604b650fb574 perf pmu: zfree() expects a pointer to a pointer to zero it after freeing its contents
    1ebd0dfb271e perf vendor events power9: Remove UTF-8 characters from JSON files
    796616f216d0 net: enetc: check the index of the SFI rather than the handle
    b6b15de5129e virtio_net: suppress cpu stall when free_unused_bufs
    c043714ef230 virtio_net: split free_unused_bufs()
    0773270b1314 net: dsa: mt7530: fix corrupt frames using trgmii on 40 MHz XTAL MT7621
    0f1ad0ef60cc ALSA: caiaq: input: Add error handling for unsupported input methods in `snd_usb_caiaq_input_init`
    7f497a9451d7 drm/amdgpu: add a missing lock for AMDGPU_SCHED
    f00ef2618fa1 af_packet: Don't send zero-byte data in packet_sendmsg_spkt().
    02359ba526ce ionic: remove noise from ethtool rxnfc error msg
    3605b3318483 octeontx2-vf: Detach LF resources on probe cleanup
    ea7453f5e5b6 octeontx2-pf: Disable packet I/O for graceful exit
    15152b8a4bbb rxrpc: Fix hard call timeout units
    9291aba0ffa0 sfc: Fix module EEPROM reporting for QSFP modules
    774da7052156 net/sched: act_mirred: Add carrier check
    f3fae1b1c721 watchdog: dw_wdt: Fix the error handling path of dw_wdt_drv_probe()
    3b7798b42e1d writeback: fix call of incorrect macro
    f47f0fb5b58b net: dsa: mv88e6xxx: add mv88e6321 rsvd2cpu
    d6f0687d506d sit: update dev->needed_headroom in ipip6_tunnel_bind_dev()
    7311c8be3755 net/sched: cls_api: remove block_cb from driver_list before freeing
    cc8efc78c3f6 net/ncsi: clear Tx enable mode when handling a Config required AEN
    fa19c533ab19 scsi: qedi: Fix use after free bug in qedi_remove()
    4285cc0a22d2 dm verity: fix error handling for check_at_most_once on FEC
    fc097cfca004 dm verity: skip redundant verity_handle_err() on I/O errors
    26b1b0d0bebd mailbox: zynqmp: Fix counts of child nodes
    67fb57f24737 mailbox: zynq: Switch to flexible array to simplify code
    c4e636f025a1 crypto: ccp - Clear PSP interrupt status register before calling handler
    6f60aae72ccc ring-buffer: Ensure proper resetting of atomic variables in ring_buffer_reset_online_cpus
    2fcb12b3f421 tty: Prevent writing chars during tcsetattr TCSADRAIN/FLUSH
    6c2ee50c9012 tty: clean include/linux/tty.h up
    57b510c7d377 tty: move some tty-only functions to drivers/tty/tty.h
    1924d47a2809 tty: move some internal tty lock enums and functions out of tty.h
    f665d81ffad7 tty: audit: move some local functions out of tty.h
    6a392b806f18 tty: create internal tty.h file
    e044a2444718 netfilter: nf_tables: deactivate anonymous set from preparation phase
    a222d2794c53 scsi: target: core: Avoid smp_processor_id() in preemptible code
    14fc6af67b3f arm64: dts: qcom: sdm845: correct dynamic power coefficients
    c820c05c5ff6 sound/oss/dmasound: fix 'dmasound_setup' defined but not used
    9079ff34a1ac debugobject: Ensure pool refill (again)
    3f225f29c69c arm64: Stash shadow stack pointer in the task struct on interrupt
    9134b5a4647e arm64: Always load shadow stack pointer directly from the task struct
    a25a403e4b31 perf intel-pt: Fix CYC timestamps after standalone CBR
    905f847675cf perf auxtrace: Fix address filter entire kernel size
    ea827627a924 dm ioctl: fix nested locking in table_clear() to remove deadlock concern
    a1e3fffe02e0 dm flakey: fix a crash with invalid table line
    44f29e93a55b dm integrity: call kmem_cache_destroy() in dm_integrity_init() error path
    717ceb487bc3 dm clone: call kmem_cache_destroy() in dm_clone_init() error path
    eded3ad80a04 ia64: fix an addr to taddr in huge_pte_offset()
    abb427cb7730 s390/dasd: fix hanging blockdevice after request requeue
    c96807a4adbe btrfs: scrub: reject unsupported scrub flags
    f7fd1eed3125 scripts/gdb: fix lx-timerlist for Python3
    9aabb5f9ef32 afs: Fix updating of i_size with dv jump from server
    3530a795bb07 mfd: tqmx86: Correct board names for TQMxE39x
    cbe060011b56 mfd: tqmx86: Specify IO port register range more precisely
    640a1f7e36e8 mfd: tqmx86: Add support for TQMx110EB and TQMxE40x
    4be49b7c2457 mfd: tqmx86: Remove incorrect TQMx90UC board ID
    6697a3b0ed83 mfd: tqmx86: Do not access I2C_DETECT register through io_base
    15da2acad515 thermal/drivers/mediatek: Use devm_of_iomap to avoid resource leak in mtk_thermal_probe
    08012d9edc52 dmaengine: at_xdmac: do not enable all cyclic channels
    4f6303fd8f90 dmaengine: dw-edma: Fix to enable to issue dma request on DMA processing
    b29543194594 dmaengine: dw-edma: Fix to change for continuous transfer
    da67d60467dd phy: tegra: xusb: Add missing tegra_xusb_port_unregister for usb2_port and ulpi_port
    45e4c00940be pwm: mtk-disp: Disable shadow registers before setting backlight values
    6d13804388d6 pwm: mtk-disp: Adjust the clocks to avoid them mismatch
    060bd30bf705 pwm: mtk-disp: Don't check the return code of pwmchip_remove()
    795cec288e9c leds: tca6507: Fix error handling of using fwnode_property_read_string
    033f00eb8969 dmaengine: mv_xor_v2: Fix an error code.
    198fbdd10620 leds: TI_LMU_COMMON: select REGMAP instead of depending on it
    770b0613637f ext4: fix use-after-free read in ext4_find_extent for bigalloc + inline
    8f009ae90b2b openrisc: Properly store r31 to pt_regs on unhandled exceptions
    1fe1580521dd clocksource/drivers/davinci: Fix memory leak in davinci_timer_register when init fails
    3bc78eddf0a0 RDMA/mlx5: Use correct device num_ports when modify DC
    95468f165d93 SUNRPC: remove the maximum number of retries in call_bind_status
    50440cdb0b47 RDMA/mlx5: Fix flow counter query via DEVX
    0d6a5c9489c8 Input: raspberrypi-ts - fix refcount leak in rpi_ts_probe
    09bfd90d040f input: raspberrypi-ts: Release firmware handle when not needed
    3aa2503717ba firmware: raspberrypi: Introduce devm_rpi_firmware_get()
    73a65744c7fd NFSv4.1: Always send a RECLAIM_COMPLETE after establishing lease
    9c4c6512d733 IB/hfi1: Fix bugs with non-PAGE_SIZE-end multi-iovec user SDMA requests
    f84c02597857 IB/hfi1: Add additional usdma traces
    1af73620a191 IB/hfi1: Add AIP tx traces
    823b59fc5617 IB/hfi1: Fix SDMA mmu_rb_node not being evicted in LRU order
    8ec6acdb9b6a RDMA/srpt: Add a check for valid 'mad_agent' pointer
    16f596cfe956 RDMA/cm: Trace icm_send_rej event before the cm state is reset
    3ef7a4c0d5cd RDMA/siw: Remove namespace check from siw_netdev_event()
    ac7f79ee11c3 clk: add missing of_node_put() in "assigned-clocks" property parsing
    391fbf0d081d power: supply: generic-adc-battery: fix unit scaling
    9e5a7c110645 rtc: meson-vrtc: Use ktime_get_real_ts64() to get the current time
    9ad3221c86cc RDMA/mlx4: Prevent shift wrapping in set_user_sq_size()
    889a2070dc09 rtc: omap: include header for omap_rtc_power_off_program prototype
    647781347af9 workqueue: Fix hung time report of worker pools
    77d9a64cfbc6 workqueue: Rename "delayed" (delayed by active management) to "inactive"
    960167e0e019 RDMA/rdmavt: Delete unnecessary NULL check
    f7790aecb3c7 RDMA/siw: Fix potential page_array out of range access
    ab8646c9a0b1 clk: at91: clk-sam9x60-pll: fix return value check
    8f381b249424 perf/core: Fix hardlockup failure caused by perf throttle
    3ea9186a3ef5 powerpc/rtas: use memmove for potentially overlapping buffer copy
    6339b9dcdba2 macintosh: via-pmu-led: requires ATA to be set
    15f3a811bfde powerpc/sysdev/tsi108: fix resource printk format warnings
    4f41f55d82cb powerpc/wii: fix resource printk format warnings
    701e3e599913 powerpc/mpc512x: fix resource printk format warning
    d68265ec0bb1 macintosh/windfarm_smu_sat: Add missing of_node_put()
    c45ab3ab9c37 spmi: Add a check for remove callback when removing a SPMI driver
    4ca4a3e45436 staging: rtl8192e: Fix W_DISABLE# does not work after stop/start
    d5d628fea5f6 serial: 8250: Add missing wakeup event reporting
    fde8ffaaacfa tty: serial: fsl_lpuart: adjust buffer length to the intended size
    5a76bc35cce8 firmware: stratix10-svc: Fix an NULL vs IS_ERR() bug in probe
    012936502a9c usb: mtu3: fix kernel panic at qmu transfer done irq handler
    e8f64f3200cd usb: chipidea: fix missing goto in `ci_hdrc_probe`
    7d667749b3dd usb: gadget: tegra-xudc: Fix crash in vbus_draw
    95d97e182dbd sh: sq: Fix incorrect element size for allocating bitmap buffer
    a69eb1200eb6 uapi/linux/const.h: prefer ISO-friendly __typeof__
    fd7bf900c321 i2c: cadence: cdns_i2c_master_xfer(): Fix runtime PM leak on error path
    b24f1ecc8fe2 spi: cadence-quadspi: fix suspend-resume implementations
    b5a6930fc6a4 ASoC: fsl_mqs: move of_node_put() to the correct location
    5bf2d84074dd coresight: etm_pmu: Set the module field
    174d7483f15c scripts/gdb: bail early if there are no generic PD
    01710564a92a scripts/gdb: bail early if there are no clocks
    b4b4409510a3 ia64: salinfo: placate defined-but-not-used warning
    65b5b2c5fd86 ia64: mm/contig: fix section mismatch warning/error
    fd4e45d8d7c8 PCI/EDR: Clear Device Status after EDR error recovery
    9e5ee4fa0d06 of: Fix modalias string generation
    85b4aa4eb2e3 vmci_host: fix a race condition in vmci_host_poll() causing GPF
    4bdae667f911 spi: fsl-spi: Fix CPM/QE mode Litte Endian
    bc88243bbe61 spi: qup: Don't skip cleanup in remove's error path
    00c5b5498bd1 linux/vt_buffer.h: allow either builtin or modular for macros
    d4a3c912c87b ASoC: es8316: Handle optional IRQ assignment
    67b6e077fb89 ASoC: es8316: Use IRQF_NO_AUTOEN when requesting the IRQ
    eb971efca7f0 PCI: imx6: Install the fault handler only on compatible match
    36c237b202a4 usb: gadget: udc: renesas_usb3: Fix use after free bug in renesas_usb3_remove due to race condition
    aa93a46f998a spi: imx: Don't skip cleanup in remove's error path
    c3aba912f40e spi: spi-imx: using pm_runtime_resume_and_get instead of pm_runtime_get_sync
    f1f3bc9915b2 iio: light: max44009: add missing OF device matching
    ed1f459af644 fpga: bridge: fix kernel-doc parameter description
    98bf98e749e6 usb: dwc3: gadget: Change condition for processing suspend event
    8a859ac86dea usb: host: xhci-rcar: remove leftover quirk handling
    c76ba917915c pstore: Revert pmsg_lock back to a normal mutex
    7d285c6cfee6 ipmi: ASPEED_BT_IPMI_BMC: select REGMAP_MMIO instead of depending on it
    230a5ed7d813 tcp/udp: Fix memleaks of sk and zerocopy skbs with TX timestamp.
    0abcb0b0d629 net: amd: Fix link leak when verifying config failed
    b978d22fa122 netlink: Use copy_to_user() for optval in netlink_getsockopt().
    0837d10f6c37 Revert "Bluetooth: btsdio: fix use after free bug in btsdio_remove due to unfinished work"
    566785731c6d ipv4: Fix potential uninit variable access bug in __ip_make_skb()
    4b8a05e38016 net/sched: sch_fq: fix integer overflow of "credit"
    cb71b24a8927 netfilter: nf_tables: don't write table validation state without mutex
    f4fc43fde12a bpf: Don't EFAULT for getsockopt with optval=NULL
    80090acb5885 ixgbe: Enable setting RSS table to default values
    7a150a5b5468 ixgbe: Allow flow hash to be set via ethtool
    89496d6cff29 wifi: iwlwifi: fw: fix memory leak in debugfs
    f4eb14d2618f wifi: iwlwifi: mvm: check firmware response size
    4ff7c0fbb3fd wifi: iwlwifi: make the loop for card preparation effective
    62fde4651759 jdb2: Don't refuse invalidation of already invalidated buffers
    038cbab55069 wifi: iwlwifi: fw: move memset before early return
    c0ca3824190e wifi: iwlwifi: yoyo: Fix possible division by zero
    2a65555f7e0f md/raid10: fix memleak of md thread
    6361b0592b46 md/raid10: fix memleak for 'conf->bio_split'
    1697fb124c6d md/raid10: fix leak of 'r10bio->remaining' for recovery
    fcacaa9d0457 bpf, sockmap: Revert buggy deadlock fix in the sockhash and sockmap
    21f2503d37ee nvme-fcloop: fix "inconsistent {IN-HARDIRQ-W} -> {HARDIRQ-ON-W} usage"
    e119d1918303 nvme: fix async event trace event
    a9e3d9bac963 nvme: handle the persistent internal error AER
    2f9307222227 bpf, sockmap: fix deadlocks in the sockhash and sockmap
    2be04fa7ee85 net: ethernet: stmmac: dwmac-rk: fix optional phy regulator handling
    bab8dc38b1a0 scsi: lpfc: Fix ioremap issues in lpfc_sli4_pci_mem_setup()
    b2f423fda64f f2fs: fix to avoid use-after-free for cached IPU bio
    5877980dc2e4 xsk: Fix unaligned descriptor validation
    2a67bc52cd3f crypto: drbg - Only fail when jent is unavailable in FIPS mode
    9dbdedd44ff4 crypto: drbg - make drbg_prepare_hrng() handle jent instantiation errors
    27942f477d10 bpftool: Fix bug for long instructions in program CFG dumps
    072d16abf567 selftests/bpf: Wait for receive in cg_storage_multi test
    d64a12eeb4a6 net: qrtr: correct types of trace event parameters
    dc55805db254 wifi: rtlwifi: fix incorrect error codes in rtl_debugfs_set_write_reg()
    c621697505b3 wifi: rtlwifi: fix incorrect error codes in rtl_debugfs_set_write_rfreg()
    adc2d82eee22 crypto: sa2ul - Select CRYPTO_DES
    de3908e15152 crypto: caam - Clear some memory in instantiate_rng
    a8226a45b2a9 f2fs: compress: fix to call f2fs_wait_on_page_writeback() in f2fs_write_raw_pages()
    d11a74577c21 f2fs: apply zone capacity to all zone type
    d420c4a06d8f f2fs: enforce single zone capacity
    c3a1914b9678 f2fs: handle dqget error in f2fs_transfer_project_quota()
    202048ec1ee5 scsi: megaraid: Fix mega_cmd_done() CMDID_INT_CMDS
    bfe67e056327 scsi: target: iscsit: Fix TAS handling during conn cleanup
    e1f59cd18a10 scsi: target: Fix multiple LUN_RESET handling
    008b936bbde3 scsi: target: Make state_list per CPU
    7c8a29f1b22e scsi: target: Rename cmd.bad_sector to cmd.sense_info
    621c89a0216a scsi: target: Rename struct sense_info to sense_detail
    05c6db12aece net/packet: convert po->auxdata to an atomic flag
    5ca1be3658cd net/packet: convert po->origdev to an atomic flag
    8bb81a925a9f net/packet: annotate accesses to po->xmit
    ba6d56b20e8a vlan: partially enable SIOCSHWTSTAMP in container
    118df5df1b4b bpf: Remove misleading spec_v1 check on var-offset stack read
    10c105126787 scm: fix MSG_CTRUNC setting condition for SO_PASSSEC
    10702be8b373 bpf: fix precision propagation verbose logging
    6be8ad4cdcac bpf: take into account liveness when propagating precision
    243fab8e37d4 wifi: rtw88: mac: Return the original error from rtw_mac_power_switch()
    1980dd8c53ec wifi: rtw88: mac: Return the original error from rtw_pwr_seq_parser()
    3ab6ec6c485b tools: bpftool: Remove invalid \' json escape
    1300517e371e wifi: ath6kl: reduce WARN to dev_dbg() in callback
    6c91b3b57b1f wifi: ath5k: fix an off by one check in ath5k_eeprom_read_freq_list()
    320d760a3527 wifi: ath9k: hif_usb: fix memory leak of remain_skbs
    129c3fb5795d wifi: ath6kl: minor fix for allocation size
    c4013689269d tick/common: Align tick period with the HZ tick.
    107ea1f63b26 tick: Get rid of tick_period
    fdc48767461a tick/sched: Optimize tick_do_update_jiffies64() further
    93c43008368d tick/sched: Reduce seqcount held scope in tick_do_update_jiffies64()
    ca721584e9a4 tick/sched: Use tick_next_period for lockless quick check
    780f303233c3 drm/i915: Make intel_get_crtc_new_encoder() less oopsy
    9edf5518db25 debugobject: Prevent init race with static objects
    f16f065f8ce3 arm64: kgdb: Set PSTATE.SS to 1 to re-enable single-step
    55fc2246c46d x86/ioapic: Don't return 0 from arch_dynirq_lower_bound()
    dfce9bb3517a regulator: stm32-pwr: fix of_iomap leak
    a6aeba550c59 media: venus: dec: Fix handling of the start cmd
    3a227dc12b1a media: venus: vdec: Handle DRC after drain
    5bac3de7f49f media: venus: preserve DRC state across seeks
    4c1239274f41 media: venus: vdec: Make decoder return LAST flag for sufficient event
    a30297bff881 media: venus: vdec: Fix non reliable setting of LAST flag
    025a34716c88 media: rc: gpio-ir-recv: Fix support for wake-up
    1acb982e3616 media: rcar_fdp1: Fix refcount leak in probe and remove function
    ccc454881f09 media: rcar_fdp1: Fix the correct variable assignments
    ee24c9e23206 media: rcar_fdp1: Make use of the helper function devm_platform_ioremap_resource()
    bf91fb6c1e9d media: rcar_fdp1: fix pm_runtime_get_sync() usage count
    21de9d0daab1 media: rcar_fdp1: simplify error check logic at fdp_open()
    7dac96e9cc98 media: saa7134: fix use after free bug in saa7134_finidev due to race condition
    e9d64e90a0ad media: dm1105: Fix use after free bug in dm1105_remove due to race condition
    de19d02d734e media: rkvdec: fix use after free bug in rkvdec_remove
    4883f0f7ee44 x86/apic: Fix atomic update of offset in reserve_eilvt_offset()
    06140d6dfe72 regulator: core: Avoid lockdep reports when resolving supplies
    4c0b98d87c3e regulator: core: Consistently set mutex_owner when using ww_mutex_lock_slow()
    e21c93b20a86 drm/lima/lima_drv: Add missing unwind goto in lima_pdev_probe()
    0fc1a90bcef7 ARM: dts: gta04: fix excess dma channel usage
    f59421334e94 mmc: sdhci-of-esdhc: fix quirk to ignore command inhibit for data
    1487b29030ba ACPI: processor: Fix evaluating _PDC method when running as Xen dom0
    ee22417f8299 drm: msm: adreno: Disable preemption on Adreno 510
    00f02bb8cb05 drm/msm/adreno: drop bogus pm_runtime_set_active()
    f9ba5962ccfc drm/msm/adreno: Defer enabling runpm until hw_init()
    9a3a907cf69f media: max9286: Free control handler
    f8d28cecf210 drm/bridge: adv7533: Fix adv7533_mode_valid for adv7533 and adv7535
    076cdba34de2 firmware: qcom_scm: Clear download bit during reboot
    4362444dca02 media: bdisp: Add missing check for create_workqueue
    a9b9ea0e63a0 x86/MCE/AMD: Use an u64 for bank_map
    a8504f9a1304 ARM: dts: qcom: ipq8064: Fix the PCI I/O port range
    7d731faebc8e ARM: dts: qcom: ipq8064: reduce pci IO size to 64K
    870644bf1bfc ARM: dts: qcom: ipq4019: Fix the PCI I/O port range
    45855912958f arm64: dts: qcom: msm8996: Fix the PCI I/O port range
    b6082e8caad8 arm64: dts: qcom: ipq8074: Fix the PCI I/O port range
    5f6302ab78f4 arm64: dts: qcom: msm8998: Fix the PCI I/O port range
    212352542d72 arm64: dts: qcom: sdm845: Fix the PCI I/O port range
    eb9c5b383e03 arm64: dts: qcom: sdm845: correct dynamic power coefficients
    94e6f7e75729 arm64: dts: qcom: msm8998: Fix stm-stimulus-base reg name
    e951bdaa6586 EDAC/skx: Fix overflows on the DRAM row address mapping arrays
    6e6c27b2fb9d drm/msm/disp/dpu: check for crtc enable rather than crtc active to release shared resources
    9c4c9010ae80 arm64: dts: renesas: r8a774c0: Remove bogus voltages from OPP table
    fbfca9b8399f arm64: dts: renesas: r8a77990: Remove bogus voltages from OPP table
    08310f810975 soc: ti: pm33xx: Fix refcount leak in am33xx_pm_probe
    a1e6a4161a27 soc: ti: pm33xx: Enable basic PM runtime support for genpd
    e33f374d65d9 drm/probe-helper: Cancel previous job before starting new one
    67f07215eb8b drm/vgem: add missing mutex_destroy
    ae784c3ed373 drm/rockchip: Drop unbalanced obj unref
    056a1217cffa erofs: fix potential overflow calculating xattr_isize
    7a4579cd6e49 erofs: stop parsing non-compact HEAD index if clusterofs is invalid
    e5ec129158f3 tpm, tpm_tis: Claim locality when interrupts are reenabled on resume
    933bfc5ad213 tpm, tpm: Implement usage counter for locality
    140735c46d37 tpm, tpm_tis: Claim locality before writing interrupt registers
    35ca7f625283 tpm, tpm_tis: Disable interrupts if tpm_tis_probe_irq() failed
    cbb1dd27058e tpm, tpm_tis: Claim locality before writing TPM_INT_ENABLE register
    c62a2331abfa tpm, tpm_tis: Do not skip reset of original interrupt vector
    3ec77043a27d selinux: ensure av_permissions.h is built when needed
    fea314463926 selinux: fix Makefile dependencies of flask.h
    0c29f14cf470 selftests/resctrl: Check for return value after write_schemata()
    4075fbcde40f selftests/resctrl: Return NULL if malloc_and_init_memory() did not alloc mem
    d0653cc6e0c7 rcu: Fix missing TICK_DEP_MASK_RCU_EXP dependency check
    d1ab8b54b2ce clk: rockchip: rk3399: allow clk_cifout to force clk_cifout_src to reparent
    e0dd13b49da9 wifi: rtl8xxxu: RTL8192EU always needs full init
    0fd9b0f61119 mailbox: zynqmp: Fix typo in IPI documentation
    63314371ebbf mailbox: zynqmp: Fix IPI isr handling
    bdbf104b1c91 md/raid10: fix null-ptr-deref in raid10_sync_request
    8a89d36a07af nilfs2: fix infinite loop in nilfs_mdt_get_block()
    7c3e66204805 nilfs2: do not write dirty data after degenerating to read-only
    e4b526442247 parisc: Fix argument pointer in real64_call_asm()
    be649ea153b0 sound/oss/dmasound: fix build when drivers are mixed =y/=m
    b8f444a4fadf ubifs: Free memory for tmpfile name
    5b4b6cb7246e ubi: Fix return value overwrite issue in try_write_vid_and_data()
    66e9f2fb3e75 ubifs: Fix memleak when insert_old_idx() failed
    a4904c56fc6f Revert "ubifs: dirty_cow_znode: Fix memleak in error handling path"
    87d98984b050 iommu/amd: Fix "Guest Virtual APIC Table Root Pointer" configuration in IRTE
    db8b34ffb29b i2c: omap: Fix standard mode false ACK readings
    2b00b2a0e642 writeback, cgroup: fix null-ptr-deref write in bdi_split_work_to_wbs
    1b0df44753bf relayfs: fix out-of-bounds access in relay_file_read
    e28df70df007 KVM: nVMX: Emulate NOPs in L2, and PAUSE if it's not intercepted
    680c419d0d8a reiserfs: Add security prefix to xattr name in reiserfs_security_write()
    eb18bc5a8678 rcu: Avoid stack overflow due to __rcu_irq_enter_check_tick() being kprobe-ed
    0a89d4a07552 crypto: safexcel - Cleanup ring IRQ workqueues on load failure
    ff86deaba1fa crypto: api - Demote BUG_ON() in crypto_unregister_alg() to a WARN_ON()
    1c99f65d6af2 ring-buffer: Sync IRQ works before buffer destruction
    dda1372c8d83 pwm: meson: Fix g12a ao clk81 name
    c1cabb10e072 pwm: meson: Fix axg ao mux parents
    fcd2da2e6bf2 kheaders: Use array declaration instead of char
    1b633da2fecf ipmi: fix SSIF not responding under certain cond.
    6d5993d56963 ipmi:ssif: Add send_retries increment
    47e61cadc7a5 MIPS: fw: Allow firmware to pass a empty env
    2884595932ea tick/nohz: Fix cpu_is_hotpluggable() by checking with nohz subsystem
    29b89908fdd9 xhci: fix debugfs register accesses while suspended
    a863ac03fae0 staging: iio: resolver: ads1210: fix config mode
    c8714ddf3ccf ext4: use ext4_journal_start/stop for fast commit transactions
    701a8220762f blk-crypto: make blk_crypto_evict_key() more robust
    5072008bef23 blk-crypto: make blk_crypto_evict_key() return void
    874bdf43b4a7 blk-mq: release crypto keyslot before reporting I/O complete
    68494eb75f1f perf sched: Cast PTHREAD_STACK_MIN to int as it may turn into sysconf(__SC_THREAD_STACK_MIN_VALUE)
    7c5811b95c57 posix-cpu-timers: Implement the missing timer_wait_running callback
    aed39acf7ed6 hwmon: (adt7475) Use device_property APIs when configuring polarity
    b009006887e3 hwmon: (k10temp) Check range scale when CUR_TEMP register is read-write
    a71cb92ec431 USB: dwc3: fix runtime pm imbalance on unbind
    27dc207c386e USB: dwc3: fix runtime pm imbalance on probe errors
    b978269ddad4 PCI: qcom: Fix the incorrect register usage in v2.7.0 config
    2f31633da843 PCI: pciehp: Fix AB-BA deadlock between reset_lock and device_lock
    5434c7019d23 wireguard: timers: cast enum limits members to int in prints
    69fdbb334d6e asm-generic/io.h: suppress endianness warnings for readq() and writeq()
    925cbb725367 ASoC: Intel: bytcr_rt5640: Add quirk for the Acer Iconia One 7 B1-750
    f5e96af71eab iio: adc: palmas_gpadc: fix NULL dereference on rmmod
    8aa079c2fdfc driver core: Don't require dynamic_debug for initcall_debug probe timing
    f964a00386ca USB: serial: option: add UNISOC vendor and TOZED LT70C product
    c0e921422359 x86/fpu: Prevent FPU state corruption
    98cfbad52fc2 bluetooth: Perform careful capability checks in hci_sock_ioctl()
    dc110b20f4ce drm/fb-helper: set x/yres_virtual in drm_fb_helper_check_var
    549825602e3e wifi: brcmfmac: slab-out-of-bounds read in brcmf_get_assoc_ies()
    1dd95b2109de KVM: arm64: Fix buffer overflow in kvm_arm_set_fw_reg()
    0f29d0e8fc77 counter: 104-quad-8: Fix race condition between FLAG and CNTR reads
    d4a895e924b4 seccomp: Move copy_seccomp() to no failure path.

(From OE-Core rev: c00e421942407b60145cc52844290e9e0f18f84c)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-06-01 16:24:07 -10:00
Bruce Ashfield
ce8b35569a linux-yocto/5.10: update to v5.10.179
Updating  to the latest korg -stable release that comprises
the following commits:

    f1b32fda06d2 Linux 5.10.179
    0367bf3f4a4e ASN.1: Fix check for strdup() success
    4ab5f8f9d026 ASoC: fsl_asrc_dma: fix potential null-ptr-deref
    42604b4ad5f3 iio: adc: at91-sama5d2_adc: fix an error code in at91_adc_allocate_trigger()
    155b2586de3f pwm: hibvt: Explicitly set .polarity in .get_state()
    1c3a1211370d pwm: iqs620a: Explicitly set .polarity in .get_state()
    b28079807de2 pwm: meson: Explicitly set .polarity in .get_state()
    f69112de70a0 sctp: Call inet6_destroy_sock() via sk->sk_destruct().
    7da54ddc04e6 dccp: Call inet6_destroy_sock() via sk->sk_destruct().
    04d393c4bbf5 inet6: Remove inet6_destroy_sock() in sk->sk_prot->destroy().
    b1f06ab985ef tcp/udp: Call inet6_destroy_sock() in IPv6 sk->sk_destruct().
    0e7b5e1020aa udp: Call inet6_destroy_sock() in setsockopt(IPV6_ADDRFORM).
    05cf34a2b641 ext4: fix use-after-free in ext4_xattr_set_entry
    c75711396c04 ext4: remove duplicate definition of ext4_xattr_ibody_inline_set()
    9400206d9d5e Revert "ext4: fix use-after-free in ext4_xattr_set_entry"
    81775ab858b4 fuse: fix deadlock between atomic O_TRUNC and page invalidation
    03cefde986f1 fuse: always revalidate rename target dentry
    42dfdbd4dcfa fuse: fix attr version comparison in fuse_read_update_size()
    0078a1667cbf fuse: check s_root when destroying sb
    6d0d67b05f7b virtiofs: split requests that exceed virtqueue size
    cf08dc79168a virtiofs: clean up error handling in virtio_fs_get_tree()
    e220438d1e33 purgatory: fix disabling debug info
    37df709706ae docs: futex: Fix kernel-doc references after code split-up preparation
    77748b0a047e MIPS: Define RUNTIME_DISCARD_EXIT in LD script
    4735b6f74f25 sched/fair: Fixes for capacity inversion detection
    89ad8a672f57 sched/uclamp: Fix a uninitialized variable warnings
    09129798a608 sched/fair: Consider capacity inversion in util_fits_cpu()
    30f04dd56dfd sched/fair: Detect capacity inversion
    b18cbd359d72 sched/uclamp: Cater for uclamp in find_energy_efficient_cpu()'s early exit condition
    41a880740c9f sched/uclamp: Make cpu_overutilized() use util_fits_cpu()
    07750955e9a2 sched/uclamp: Make asym_fits_capacity() use util_fits_cpu()
    2fd1c194e688 sched/uclamp: Make select_idle_capacity() use util_fits_cpu()
    8ca2bf63d946 sched/uclamp: Fix fits_capacity() check in feec()
    5cb1a56ced30 sched/uclamp: Make task_fits_capacity() use util_fits_cpu()
    2523d9d7bb5c mm/khugepaged: check again on anon uffd-wp during isolation
    651b0bf43d67 mmc: sdhci_am654: Set HIGH_SPEED_ENA for SDR12 and SDR25
    c61928fcca27 kernel/sys.c: fix and improve control flow in __sys_setres[ug]id()
    e10a6d88ae9b memstick: fix memory leak if card device is never registered
    2c90ef37151f nilfs2: initialize unused bytes in segment summary blocks
    09daff9c3cd7 iio: light: tsl2772: fix reading proximity-diodes from device tree
    77ac8f2ad4ad xfs: drop submit side trans alloc for append ioends
    a4e800a7bd67 powerpc/doc: Fix htmldocs errors
    c215c636819c xen/netback: use same error messages for same errors
    0c9cbfc951c4 nvme-tcp: fix a possible UAF when failing to allocate an io queue
    8c746b665089 s390/ptrace: fix PTRACE_GET_LAST_BREAK error handling
    a36246a7480d net: dsa: b53: mmap: add phy ops
    b33f28ea45e9 scsi: core: Improve scsi_vpd_inquiry() checks
    24ddcc6a635b scsi: megaraid_sas: Fix fw_crash_buffer_show()
    01bd481b1b94 selftests: sigaltstack: fix -Wuninitialized
    8b44a83a1680 Input: i8042 - add quirk for Fujitsu Lifebook A574/H
    37882b203a2d f2fs: Fix f2fs_truncate_partial_nodes ftrace event
    9a8dbfd7f3e5 e1000e: Disable TSO on i219-LM card to increase speed
    b1281d008845 bpf: Fix incorrect verifier pruning due to missing register precision taints
    b085b5787b4a mlxsw: pci: Fix possible crash during initialization
    c972851d3848 net: rpl: fix rpl header size calculation
    b6b06c5ee333 mlxfw: fix null-ptr-deref in mlxfw_mfa2_tlv_next()
    880c09bc2f0b i40e: fix i40e_setup_misc_vector() error handling
    72df55d3dc96 i40e: fix accessing vsi->active_filters without holding lock
    381110d06192 netfilter: nf_tables: fix ifdef to also consider nf_tables=m
    6758a51ef36a sfc: Fix use-after-free due to selftest_work
    06a72bbf0d98 sfc: Split STATE_READY in to STATE_NET_DOWN and STATE_NET_UP.
    b6dd232f6350 virtio_net: bugfix overflow inside xdp_linearize_page()
    ddcf35deb8f2 net: sched: sch_qfq: prevent slab-out-of-bounds in qfq_activate_agg
    8e73952957a3 regulator: fan53555: Explicitly include bits header
    3224458030a2 netfilter: br_netfilter: fix recent physdev match breakage
    08b78037c4f1 arm64: dts: imx8mm-evk: correct pmic clock source
    2c06e904c2b7 arm64: dts: meson-g12-common: specify full DMC range
    b33dbd06ac5f arm64: dts: qcom: ipq8074-hk01: enable QMP device, not the PHY node
    e662521ec739 ARM: dts: rockchip: fix a typo error for rk3288 spdif node

(From OE-Core rev: 168b245456602d3d08cd2278e6ac97933dcbff6d)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-06-01 16:24:07 -10:00
Bruce Ashfield
fdc1438438 linux-yocto/5.10: update to v5.10.178
Updating  to the latest korg -stable release that comprises
the following commits:

    791a854ae5a5 Linux 5.10.178
    f177b382c339 sysctl: Fix data-races in proc_dou8vec_minmax().
    56314b90fd43 panic, kexec: make __crash_kexec() NMI safe
    d425f348211f kexec: turn all kexec_mutex acquisitions into trylocks
    784b6ba15eb2 kexec: move locking into do_kexec_load
    0b077b22ea9f riscv: Handle zicsr/zifencei issues between clang and binutils
    c36a25101179 kbuild: check CONFIG_AS_IS_LLVM instead of LLVM_IAS
    d5f67f6d4ec4 kbuild: Switch to 'f' variants of integrated assembler flag
    83f55e6f298e kbuild: check the minimum assembler version in Kconfig
    6facabb4d069 coresight-etm4: Fix for() loop drvdata->nr_addr_cmp range bug
    7b78445bce52 watchdog: sbsa_wdog: Make sure the timeout programming is within the limits
    10b7a33c5de3 i2c: ocores: generate stop condition after timeout in polling mode
    b4210b10dc7e x86/rtc: Remove __init for runtime functions
    ba4a2f6d99fc sched/fair: Fix imbalance overflow
    68387ae3b63e sched/fair: Move calculate of avg_load to a better location
    ccbec01cc99c powerpc/papr_scm: Update the NUMA distance table for the target node
    453b3188be89 powerpc/pseries: Add support for FORM2 associativity
    498618e0a1e7 powerpc/pseries: Add a helper for form1 cpu distance
    18ce785effd9 powerpc/pseries: Consolidate different NUMA distance update code paths
    f2ae0eb96bfb powerpc/pseries: Rename TYPE1_AFFINITY to FORM1_AFFINITY
    f6d8a3a2eaab powerpc/pseries: rename min_common_depth to primary_domain_index
    5abf8af8df97 ubi: Fix deadlock caused by recursively holding work_sem
    33611d4a8181 mtd: ubi: wl: Fix a couple of kernel-doc issues
    0279e82e1484 ubi: Fix failure attaching when vid_hdr offset equals to (sub)page size
    37a3cf4abc5a cgroup/cpuset: Wake up cpuset_attach_wq tasks in cpuset_cancel_attach()
    10bda0ec3160 x86/PCI: Add quirk for AMD XHCI controller that loses MSI-X state in D3hot
    176d7345b89c scsi: ses: Handle enclosure with just a primary component gracefully
    cf22c98bcbf8 net: sfp: initialize sfp->i2c_block_size at sfp allocation
    2a4835b8ede0 riscv: add icache flush for nommu sigreturn trampoline
    c76e79e526cd asymmetric_keys: log on fatal failures in PE/pkcs7
    5de2e1f5e26f verify_pefile: relax wrapper length check
    e4b9f0bf91a3 drm: panel-orientation-quirks: Add quirk for Lenovo Yoga Book X90F
    9f0ee9ed54e1 efi: sysfb_efi: Add quirk for Lenovo Yoga Book X91F/L
    e1f80b4dfad9 i2c: imx-lpi2c: clean rx/tx buffers upon new message
    81c30f89b9c3 wifi: mwifiex: mark OF related data as maybe unused
    ab39582f3081 power: supply: cros_usbpd: reclassify "default case!" as debug
    6de0d0699f5c libbpf: Fix single-line struct definition output in btf_dump
    1bec9da233f7 net: macb: fix a memory corruption in extended buffer descriptor mode
    7d8c844b337d udp6: fix potential access to stale information
    d1b9b3191697 RDMA/core: Fix GID entry ref leak when create_ah fails
    79b28f42214a sctp: fix a potential overflow in sctp_ifwdtsn_skip
    3814d211ff13 net: qrtr: Fix an uninit variable access bug in qrtr_tx_resume()
    dad92d8ada07 qlcnic: check pci_reset_function result
    4a519731ece8 drm/armada: Fix a potential double free in an error handling path
    a069d4d98cd2 tcp: restrict net.ipv4.tcp_app_win
    cc9f9a49f5b3 tcp: convert elligible sysctls to u8
    f662a0786dfd ipv4: shrink netns_ipv4 with sysctl conversions
    389dab6142d7 sysctl: add proc_dou8vec_minmax()
    8a1fdb35459d niu: Fix missing unwind goto in niu_alloc_channels()
    9266e939d762 9p/xen : Fix use after free bug in xen_9pfs_front_remove due to race condition
    ae1149885142 RDMA/cma: Allow UD qp_type to join multicast only
    5e567fd29611 IB/mlx5: Add support for 400G_8X lane speed
    a1d2fb5d13c9 IB/mlx5: Add support for NDR link speed
    8a886f01b85d clk: sprd: set max_register according to mapping range
    6e2845284b12 mtd: rawnand: stm32_fmc2: use timings.mode instead of checking tRC_min
    9e946e4e8c3d mtd: rawnand: stm32_fmc2: remove unsupported EDO mode
    6b0e71919264 mtd: rawnand: meson: fix bitmask for length in command word
    441e57ff87c2 mtdblock: tolerate corrected bit-flips
    0d07ea8d385c fbmem: Reject FB_ACTIVATE_KD_TEXT from userspace
    5635e6940656 btrfs: fix fast csum implementation detection
    3576e08f19dc btrfs: print checksum type and implementation at mount time
    f7ec5ca433ce Bluetooth: Fix race condition in hidp_session_thread
    d9ba36c22a7b Bluetooth: L2CAP: Fix use-after-free in l2cap_disconnect_{req,rsp}
    8533fe864574 ALSA: hda/sigmatel: fix S/PDIF out on Intel D*45* motherboards
    8f6a20a4f4ce ALSA: firewire-tascam: add missing unwind goto in snd_tscm_stream_start_duplex()
    69108a8a45c6 ALSA: i2c/cs8427: fix iec958 mixer control deactivation
    e63a515d11de ALSA: hda/sigmatel: add pin overrides for Intel DP45SG motherboard
    df4af0ddf7f0 ALSA: emu10k1: fix capture interrupt handler unlinking
    14e90335bc73 Revert "pinctrl: amd: Disable and mask interrupts on resume"
    59dc9767cefb bpftool: Print newline before '}' for struct with padding only fields
    2765aca63776 ocfs2: fix freeing uninitialized resource on ocfs2_dlm_shutdown
    a412ba6b6cc6 Revert "media: ti: cal: fix possible memory leak in cal_ctx_create()"
    2d96c8dca946 drm/bridge: lt9611: Fix PLL being unable to lock
    a2773afc81fc selftests: intel_pstate: ftime() is deprecated
    ea8c42b3b6d9 mm/swap: fix swap_info_struct race between swapoff and get_swap_pages()
    5a74837809cc ring-buffer: Fix race while reader and writer are on the same page
    c1bbe926a1c7 drm/nouveau/disp: Support more modes by checking with lower bpc
    8250f7f7ae21 drm/panfrost: Fix the panfrost_mmu_map_fault_addr() error path
    acbbfdba9ca6 ASoC: hdac_hdmi: use set_stream() instead of set_tdm_slots()
    6e36373aa5ff tracing: Free error logs of tracing instances
    9c5df2f14ee3 can: isotp: isotp_ops: fix poll() to not report false EPOLLOUT events
    70caa596d158 can: j1939: j1939_tp_tx_dat_new(): fix out-of-bounds memory access
    f018ef34c44b ftrace: Fix issue that 'direct->addr' not restored in modify_ftrace_direct()
    eadcad0a47bf ftrace: Mark get_lock_parent_ip() __always_inline
    9470fc63ab42 perf/core: Fix the same task check in perf_event_set_output
    499757ad3332 scsi: iscsi_tcp: Check that sock is valid before iscsi_set_param()
    4bfdead17443 iio: adc: ad7791: fix IRQ flags
    14f9ff7857e7 ALSA: hda/realtek: Add quirk for Clevo X370SNW
    1f3b8c3b047a dt-bindings: serial: renesas,scif: Fix 4th IRQ for 4-IRQ SCIFs
    3dbee84bf9e3 nilfs2: fix sysfs interface lifetime
    f32297dba338 nilfs2: fix potential UAF of struct nilfs_sc_info in nilfs_segctor_thread()
    a17bed82c0d3 tty: serial: fsl_lpuart: avoid checking for transfer complete when UARTCTRL_SBK is asserted in lpuart32_tx_empty
    25eff5e7f743 tty: serial: sh-sci: Fix Rx on RZ/G2L SCI
    72a3e4fa882d tty: serial: sh-sci: Fix transmit end interrupt handler
    741d73fc573c iio: light: cm32181: Unregister second I2C client if present
    58bf30479a2e iio: dac: cio-dac: Fix max DAC write value check for 12-bit
    f47659f1e942 iio: adc: ti-ads7950: Set `can_sleep` flag for GPIO chip
    52a003870ee2 USB: serial: option: add Quectel RM500U-CN modem
    e6655d483766 USB: serial: option: add Telit FE990 compositions
    9d1f2a6b8d9a usb: typec: altmodes/displayport: Fix configure initial pin assignment
    4be2b71e9d36 USB: serial: cp210x: add Silicon Labs IFS-USB-DATACABLE IDs
    ec20260950af xhci: also avoid the XHCI_ZERO_64B_REGS quirk with a passthrough iommu
    b4b4f17aa46c usb: xhci: tegra: fix sleep in atomic call
    07216da8fb1d NFSD: callback request does not use correct credential for AUTH_SYS
    a3c4aa48e5f2 sunrpc: only free unix grouplist after RCU settles
    890517a4a255 net: stmmac: fix up RX flow hash indirection table when setting channels
    bdbbd3fa58f8 net: ethernet: ti: am65-cpsw: Fix mdio cleanup in probe
    d8c8476c1433 gpio: davinci: Add irq chip flag to skip set wake
    605b056d6330 ipv6: Fix an uninit variable access bug in __ip6_make_skb()
    ff2565fb8f19 net: qrtr: Do not do DEL_SERVER broadcast after DEL_CLIENT
    b4b6dfad41aa sctp: check send stream number after wait_for_sndbuf
    efda95cebfdd net: don't let netpoll invoke NAPI if in xmit context
    ec81049f0957 icmp: guard against too small mtu
    98a9cd82c541 net: qrtr: Fix a refcount bug in qrtr_recvmsg()
    94c53d294944 net: qrtr: combine nameservice into main module
    3fe20515449a wifi: mac80211: fix invalid drv_sta_pre_rcu_remove calls for non-uploaded sta
    2951229ee7d0 KVM: s390: pv: fix external interruption loop not always detected
    b43a8939f1e1 pwm: sprd: Explicitly set .polarity in .get_state()
    d59b83494d1b pwm: cros-ec: Explicitly set .polarity in .get_state()
    176c6b488919 Drivers: vmbus: Check for channel allocation before looking up relids
    c51b336bd951 gpio: GPIO_REGMAP: select REGMAP instead of depending on it

(From OE-Core rev: 91f9c4095a3f99cb880400259fcaa2606c831bf1)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-06-01 16:24:07 -10:00
Bruce Ashfield
5f26c81523 linux-yocto/5.10: update to v5.10.177
Updating  to the latest korg -stable release that comprises
the following commits:

    387078f9030c Linux 5.10.177
    34a02011c5d1 hsr: ratelimit only when errors are printed
    7c414f6f06e9 gfs2: Always check inode size of inline inodes
    3392d67af0a4 ext4: fix kernel BUG in 'ext4_write_inline_data_end()'
    b4781477f397 libbpf: Fix btf_dump's packed struct determination
    7ad30ad8c684 selftests/bpf: Add few corner cases to test padding handling of btf_dump
    e5a16bcb131c libbpf: Fix BTF-to-C converter's padding logic
    b9f7422dd94a selftests/bpf: Test btf dump for struct with padding only fields
    f1c17475a9dc zonefs: Fix error message in zonefs_file_dio_append()
    b51e4422952b btrfs: scan device in non-exclusive mode
    3eeff8d26c6d s390/uaccess: add missing earlyclobber annotations to __clear_user()
    7051d51f1241 drm/amd/display: Add DSC Support for Synaptics Cascaded MST Hub
    79815326a516 drm/etnaviv: fix reference leak when mmaping imported buffer
    a484f8bec8ee rcu: Fix rcu_torture_read ftrace event
    08bfd05987df xtensa: fix KASAN report for show_stack
    8ada1b5c8b43 ALSA: hda/realtek: Add quirk for Lenovo ZhaoYang CF4620Z
    3b6992bdf09d ALSA: usb-audio: Fix regression on detection of Roland VS-100
    0044721f4f95 ALSA: hda/conexant: Partial revert of a quirk for Lenovo
    3d328a17c8cb NFSv4: Fix hangs when recovering open state after a server reboot
    80a4200d51e5 powerpc: Don't try to copy PPR for task with NULL pt_regs
    12c2612e18ca pinctrl: at91-pio4: fix domain name assignment
    25065ed83b5f pinctrl: amd: Disable and mask interrupts on resume
    fbf3fe7f7bc3 net: phy: dp83869: fix default value for tx-/rx-internal-delay
    b3d7a4478ce0 xen/netback: don't do grant copy across page boundary
    5f6347034341 btrfs: fix race between quota disable and quota assign ioctls
    ba5deb64ddde Input: goodix - add Lenovo Yoga Book X90F to nine_bytes_report DMI table
    26a32a212bc5 cifs: fix DFS traversal oops without CONFIG_CIFS_DFS_UPCALL
    63bbe24b99f9 cifs: prevent infinite recursion in CIFSGetDFSRefer()
    8b3d7ad3e8f1 Input: focaltech - use explicitly signed char type
    449a1a61f7f1 Input: alps - fix compatibility with -funsigned-char
    988061d09972 pinctrl: ocelot: Fix alt mode for ocelot
    ed3439a8c4fe net: dsa: mv88e6xxx: Enable IGMP snooping on user ports only
    8104c795517c bnxt_en: Add missing 200G link speed reporting
    62850a076353 bnxt_en: Fix typo in PCI id to device description string mapping
    f524d1e55013 i40e: fix registers dump after run ethtool adapter self test
    fa7fafedc9fd net: ipa: compute DMA pool size properly
    96e34c88000f ALSA: ymfpci: Fix BUG_ON in probe function
    688b1178c443 ALSA: ymfpci: Fix assignment in if condition
    ee17dea3072d s390/vfio-ap: fix memory leak in vfio_ap device driver
    ab2a55907823 can: bcm: bcm_tx_setup(): fix KMSAN uninit-value in vfs_write
    9b22e0cfc4d7 net: stmmac: don't reject VLANs when IFF_PROMISC is set
    f032e125149d net/net_failover: fix txq exceeding warning
    1025c471517b regulator: Handle deferred clk
    69ed49a7b881 r8169: fix RTL8168H and RTL8107E rx crc error
    3907fcb5a439 ptp_qoriq: fix memory leak in probe()
    6ff4a54c0218 scsi: megaraid_sas: Fix crash after a double completion
    059c3a7a3d6d sfc: ef10: don't overwrite offload features at NIC reset
    4a81e2da7297 mtd: rawnand: meson: invalidate cache on polling ECC bit
    47a449ec09b4 mips: bmips: BCM6358: disable RAC flush for TP1
    ac63f78d9aca ca8210: Fix unsigned mac_len comparison with zero in ca8210_skb_tx()
    8b1269b709c9 tracing: Fix wrong return in kprobe_event_gen_test.c
    038765a095fd tools/power turbostat: Fix /dev/cpu_dma_latency warnings
    5ec5680dc656 fbdev: au1200fb: Fix potential divide by zero
    ce5551db3629 fbdev: lxfb: Fix potential divide by zero
    c2be7f80562d fbdev: intelfb: Fix potential divide by zero
    78eb964805f9 fbdev: nvidia: Fix potential divide by zero
    1f2a94baee43 sched_getaffinity: don't assume 'cpumask_size()' is fully initialized
    6eaa2254cc5e fbdev: tgafb: Fix potential divide by zero
    baef27176ea5 ALSA: hda/ca0132: fixup buffer overrun at tuning_ctl_set()
    fcf80111a4f6 ALSA: asihpi: check pao in control_message()
    b94ffa287415 net: hsr: Don't log netdev_err message on unknown prp dst node
    74d6d33f3695 md: avoid signed overflow in slot_store()
    10941fd5c3e1 fsverity: don't drop pagecache at end of FS_IOC_ENABLE_VERITY
    0b9493b504fc dm crypt: avoid accessing uninitialized tasklet
    b2d19565478f bus: imx-weim: fix branch condition evaluates to a garbage value
    1635a062fa0e drm/meson: fix missing component unbind on bind errors
    794a6cea2268 drm/meson: Fix error handling when afbcd.ops->init fails
    f7385e0886cd kcsan: avoid passing -g for test
    46ae204069e7 kernel: kcsan: kcsan_test: build without structleak plugin
    a5ce0a559b66 usb: dwc3: gadget: Add 1ms delay after end transfer command without IOC
    ddb1973e6765 usb: dwc3: gadget: move cmd_endtransfer to extra function
    01e4c9c03de8 NFSD: fix use-after-free in __nfs42_ssc_open()
    34ef9cd887d5 KVM: fix memoryleak in kvm_init()
    a6d345c3a31e xfs: don't reuse busy extents on extent trim
    cb61e1e36fb3 xfs: shut down the filesystem if we screw up quota reservation
    91d7a4bd5656 ocfs2: fix data corruption after failed write
    d4a5181ba1b1 sched/fair: Sanitize vruntime of entity being migrated
    dfdcda25fb5e sched/fair: sanitize vruntime of entity being placed
    66ff37993dd7 dm crypt: add cond_resched() to dmcrypt_write()
    c68f08cc7456 dm stats: check for and propagate alloc_percpu failure
    1eaa2b7ae90c i2c: xgene-slimpro: Fix out-of-bounds bug in xgene_slimpro_i2c_xfer()
    85b637feee1e firmware: arm_scmi: Fix device node validation for mailbox transport
    f632a90f8e39 tee: amdtee: fix race condition in amdtee_open_session
    4ede0da36c2f drm/i915: Preserve crtc_state->inherited during state clearing
    d5329a06b4cb drm/i915/active: Fix missing debug object activation
    d18db946cc6a nilfs2: fix kernel-infoleak in nilfs_ioctl_wrap_copy()
    560437bba14d wifi: mac80211: fix qos on mesh interfaces
    a6adfe9bbd6a usb: ucsi: Fix NULL pointer deref in ucsi_connector_change()
    09671cfc2b22 usb: chipidea: core: fix possible concurrent when switch role
    073ce98aa3a6 usb: chipdea: core: fix return -EINVAL if request role is the same with current role
    5a36b601aff3 usb: cdns3: Fix issue with using incorrect PCI device function
    aae6d1bf4d8e dm thin: fix deadlock when swapping to thin device
    4d2626e10709 igb: revert rtnl_lock() that causes deadlock
    e66f3039c792 fsverity: Remove WQ_UNBOUND from fsverity read workqueue
    33f341c1fc60 usb: gadget: u_audio: don't let userspace block driver unbind
    1f01027c51eb usb: dwc2: fix a devres leak in hw_enable upon suspend resume
    dce128421554 scsi: core: Add BLIST_SKIP_VPD_PAGES for SKhynix H28U74301AMR
    f7a4ce351426 cifs: empty interface list when server doesn't support query interfaces
    8beb18c25bef sh: sanitize the flags on sigreturn
    87e800e3dc77 net: usb: qmi_wwan: add Telit 0x1080 composition
    27d4ce4aa3bb net: usb: cdc_mbim: avoid altsetting toggling for Telit FE990
    ddfc06179338 scsi: storvsc: Handle BlockSize change in Hyper-V VHD/VHDX file
    3e0a423a55a7 scsi: lpfc: Avoid usage of list iterator variable after loop
    f9a937f75ba2 scsi: ufs: core: Add soft dependency on governor_simpleondemand
    522314863f78 scsi: hisi_sas: Check devm_add_action() return value
    799d29a447dc scsi: target: iscsi: Fix an error message in iscsi_check_key()
    8c42442887db selftests/bpf: check that modifier resolves after pointer
    df1da53a7e98 m68k: Only force 030 bus error if PC not in exception table
    7df72bedbdd1 ca8210: fix mac_len negative array access
    3d8fafc5308f HID: cp2112: Fix driver not registering GPIO IRQ chip as threaded
    082b8240a66a riscv: Bump COMMAND_LINE_SIZE value to 1024
    2d6c2dee59a3 thunderbolt: Use const qualifier for `ring_interrupt_index`
    06e04b450bb4 thunderbolt: Use scale field when allocating USB3 bandwidth
    32fa53c27ea3 uas: Add US_FL_NO_REPORT_OPCODES for JMicron JMS583Gen 2
    231cfa78ec5b scsi: qla2xxx: Perform lockless command completion in abort path
    f73a88df19b7 hwmon (it87): Fix voltage scaling for chips with 10.9mV ADCs
    33c2fa39fb9e hwmon: fix potential sensor registration fail if of_node is missing
    f86ff88a1548 platform/chrome: cros_ec_chardev: fix kernel data leak from ioctl
    da3d3fdfb4d5 Bluetooth: btsdio: fix use after free bug in btsdio_remove due to unfinished work
    fce0e47e9ec5 Bluetooth: L2CAP: Fix responding with wrong PDU type
    77a61df0a0e6 Bluetooth: L2CAP: Fix not checking for maximum number of DCID
    65ceb170749b Bluetooth: btqcomsmd: Fix command timeout after setting BD address
    7aa3d03e1b30 net: mdio: thunder: Add missing fwnode_handle_put()
    94ef1715d263 gve: Cache link_speed value from device
    3c72445dadc3 nvme-tcp: fix nvme_tcp_term_pdu to match spec
    73db80dcdc20 net/sonic: use dma_mapping_error() for error check
    f8cec30541f5 erspan: do not use skb_mac_header() in ndo_start_xmit()
    19aa85b9df48 atm: idt77252: fix kmemleak when rmmod idt77252
    5eadc8032829 net/mlx5: E-Switch, Fix an Oops in error handling code
    265101aea4c0 net/mlx5: Read the TC mapping of all priorities on ETS query
    18cead61e437 net/mlx5: Fix steering rules cleanup
    a4bbab27c4bf bpf: Adjust insufficient default bpf_jit_limit
    a44e98abcca4 keys: Do not cache key in task struct if key is requested from kernel thread
    ec23a669deca bootconfig: Fix testcase to increase max node
    56e0bc4a72a0 net/ps3_gelic_net: Use dma_mapping_error
    3d5a97283e2a net/ps3_gelic_net: Fix RX sk_buff length
    cb5879efde4f net: qcom/emac: Fix use after free bug in emac_remove due to race condition
    d04dac7fae75 net: mdio: fix owner field for mdio buses registered using device-tree
    1b333766ea7a net: phy: Ensure state transitions are processed from phy_stop()
    bfeeb3aaad4e xirc2ps_cs: Fix use after free bug in xirc2ps_detach
    39c3b9dd481c qed/qed_sriov: guard against NULL derefs from qed_iov_get_vf_info
    33d1603a38e0 net: usb: smsc95xx: Limit packet length to skb->len
    c09cdf6eb815 scsi: scsi_dh_alua: Fix memleak for 'qdata' in alua_activate()
    a3ada13f20fd i2c: imx-lpi2c: check only for enabled interrupt flags
    bde2e73d5232 igc: fix the validation logic for taprio's gate list
    d3e4844c1829 igbvf: Regard vf reset nack as success
    fe3850c72a72 intel/igbvf: free irq on the error path in igbvf_request_msix()
    155d6d434f86 iavf: fix non-tunneled IPv6 UDP packet type and hashing
    15dcb57eba09 iavf: fix inverted Rx hash condition leading to disabled hash
    580634b03a55 xsk: Add missing overflow check in xdp_umem_reg
    7b5dffe048f9 ARM: dts: imx6sl: tolino-shine2hd: fix usbotg1 pinctrl
    35a49d27585c ARM: dts: imx6sll: e60k02: fix usbotg1 pinctrl
    75e2144291e8 power: supply: da9150: Fix use after free bug in da9150_charger_remove due to race condition
    2b346876b931 power: supply: bq24190: Fix use after free bug in bq24190_remove due to race condition
    18359b8e30c4 power: supply: bq24190_charger: using pm_runtime_resume_and_get instead of pm_runtime_get_sync
    1fde5782f187 net: tls: fix possible race condition between do_tls_getsockopt_conf() and do_tls_setsockopt_conf()
    cfeda9432c1d drm/sun4i: fix missing component unbind on bind errors
    b5131ed83c83 serial: 8250: ASPEED_VUART: select REGMAP instead of depending on it
    5fcb12f00a05 serial: 8250: SERIAL_8250_ASPEED_VUART should depend on ARCH_ASPEED
    19a98d56dfed tty: serial: fsl_lpuart: fix race on RX DMA shutdown
    ae12308c7d55 serial: fsl_lpuart: Fix comment typo
    a43f7d0628e4 KVM: Register /dev/kvm as the _very_ last thing during initialization
    7958663668ef KVM: Pre-allocate cpumasks for kvm_make_all_cpus_request_except()
    6100066358ee KVM: Optimize kvm_make_vcpus_request_mask() a bit
    ad120bc86930 KVM: KVM: Use cpumask_available() to check for NULL cpumask when kicking vCPUs
    4cc54f6ae535 KVM: Clean up benign vcpu->cpu data races when kicking vCPUs
    8f9ae017dd35 ipmi:ssif: Add a timer between request retries
    c94de7f85d99 ipmi:ssif: resend_msg() cannot fail
    cd35cbde0078 ipmi:ssif: Increase the message retry time
    4d57c90f24e1 ipmi:ssif: make ssif_i2c_send() void
    18dd825b8651 perf: fix perf_event_context->time
    ddcf83200036 perf/core: Fix perf_output_begin parameter is incorrectly invoked in perf_event_bpf_output
    29ee1495e857 interconnect: qcom: osm-l3: fix icc_onecell_data allocation

(From OE-Core rev: 87febe433a6bf27b1a85ba4866f395dbcd131271)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-06-01 16:24:07 -10:00
Bruce Ashfield
7cfdccfa4a linux-yocto/5.10: update to v5.10.176
Updating  to the latest korg -stable release that comprises
the following commits:

    ca9787bdecfa Linux 5.10.176
    e57f797e3ffa HID: uhid: Over-ride the default maximum data buffer value with our own
    9bc878756b01 HID: core: Provide new max_buffer_size attribute to over-ride the default
    daa97e770e78 xfs: remove xfs_setattr_time() declaration
    183ca919544c fs: use consistent setgid checks in is_sxid()
    0e9dbde96cac attr: use consistent sgid stripping checks
    240b96ffece8 attr: add setattr_should_drop_sgid()
    baea3ae425fb fs: move should_remove_suid()
    24378d6f7486 attr: add in_group_or_capable()
    94ac142c19f1 fs: move S_ISGID stripping into the vfs_*() helpers
    347750e1b69c fs: add mode_strip_sgid() helper
    f60b68c46444 xfs: use setattr_copy to set vfs inode attributes
    8cf9400f8948 xfs: set prealloc flag in xfs_alloc_file_space()
    308dfe49eb75 xfs: fallocate() should call file_modified()
    35f049abbae3 xfs: remove XFS_PREALLOC_SYNC
    c84fb2962680 xfs: don't leak btree cursor when insrec fails after a split
    be60f08c03de xfs: purge dquots after inode walk fails during quotacheck
    d6f223cfef32 xfs: don't assert fail on perag references on teardown
    d0292124bb57 PCI/DPC: Await readiness of secondary bus after reset
    337aa99f76ea PCI: Unify delay handling for reset and resume
    b5e0b3d74285 s390/ipl: add missing intersection check to ipl_report handling
    84e2e393bf9f io_uring: avoid null-ptr-deref in io_arm_poll_handler
    5e784a7d07af drm/i915/active: Fix misuse of non-idle barriers as fence trackers
    8f27d4321700 drm/i915: Don't use stolen memory for ring buffers with LLC
    b4a798374f2d x86/mm: Fix use of uninitialized buffer in sme_enable()
    764217184f9e x86/mce: Make sure logged MCEs are processed after sysfs update
    15e926dfd820 cpuidle: psci: Iterate backwards over list in psci_pd_remove()
    38742635eda9 fbdev: stifb: Provide valid pixelclock and add fb_check_var() checks
    03fc29e75e44 mmc: sdhci_am654: lower power-on failed message severity
    b2747b690cb9 mm/userfaultfd: propagate uffd-wp bit when PTE-mapping the huge zeropage
    83c3b2f4e7c6 ftrace: Fix invalid address access in lookup_rec() when index is 0
    f9a98b8dde09 mptcp: avoid setting TCP_CLOSE state twice
    684c7372bbd6 drm/shmem-helper: Remove another errant put in error path
    fbc5ffcce72b ALSA: hda/realtek: Fix the speaker output on Samsung Galaxy Book2 Pro
    9addf5e1050a ALSA: hda: intel-dsp-config: add MTL PCI id
    c54974ccaff7 KVM: nVMX: add missing consistency checks for CR0 and CR4
    7b18dea697e4 cifs: Fix smb2_set_path_size()
    ec663c410ce0 tracing: Make tracepoint lockdep check actually test something
    8ae86ef7a058 tracing: Check field value in hist_field_name()
    de3170bd41de tracing: Make splice_read available again
    efae80ca13fa interconnect: fix mem leak when freeing nodes
    b37d3ccbd549 firmware: xilinx: don't make a sleepable memory allocation from an atomic context
    0c16c20b8787 serial: 8250_em: Fix UART port type
    f5a5150c7066 tty: serial: fsl_lpuart: skip waiting for transmission complete when UARTCTRL_SBK is asserted
    020166bc6669 ext4: fix possible double unlock when moving a directory
    7257070be70e drm/amd/display: fix shift-out-of-bounds in CalculateVMAndRowBytes
    ab7da8d93a6f sh: intc: Avoid spurious sizeof-pointer-div warning
    6936525142a0 drm/amdkfd: Fix an illegal memory access
    a98160d8f3e6 ext4: fix task hung in ext4_xattr_delete_inode
    0bf15bc393a1 ext4: fail ext4_iget if special inode unallocated
    8e7f26b9565a jffs2: correct logic when creating a hole in jffs2_write_begin
    980d4e70c708 mmc: atmel-mci: fix race between stop command and start of next command
    04eaeaa2f79f media: m5mols: fix off-by-one loop termination error
    a4c048d502eb hwmon: (adm1266) Set `can_sleep` flag for GPIO chip
    a4c3e1132422 hwmon: tmp512: drop of_match_ptr for ID table
    c5bd9719b53b hwmon: (ucd90320) Add minimum delay between bus accesses
    663c3afee81e hwmon: (ina3221) return prober error code
    0a73c8b3cc99 hwmon: (xgene) Fix use after free bug in xgene_hwmon_remove due to race condition
    4a8c3ad12c9d hwmon: (adt7475) Fix masking of hysteresis registers
    aff84fadba53 hwmon: (adt7475) Display smoothing attributes in correct order
    d4dbd26f985c ethernet: sun: add check for the mdesc_grab()
    eb80cb66a2c5 qed/qed_mng_tlv: correctly zero out ->min instead of ->hour
    1c06d1223728 selftests: net: devlink_port_split.py: skip test if no suitable device available
    bd2e78462ae1 net/iucv: Fix size of interrupt data
    2cc46ed406bb net: usb: smsc75xx: Move packet length check to prevent kernel panic in skb_pull
    013fae04b8ff ipv4: Fix incorrect table ID in IOCTL path
    1f0586dcc076 net: dsa: mv88e6xxx: fix max_mtu of 1492 on 6165, 6191, 6220, 6250, 6290
    cccba1ff0798 ice: xsk: disable txq irq before flushing hw
    2f28cb5c2a51 block: sunvdc: add check for mdesc_grab() returning NULL
    a6317235da8a nvmet: avoid potential UAF in nvmet_req_complete()
    9ebc344ce547 nvme: fix handling single range discard request
    4cf15887a41b block: null_blk: Fix handling of fake timeout request
    d14d2574a54c null_blk: Move driver into its own directory
    d5e61a859a8a drm/bridge: Fix returned array size name for atomic_get_input_bus_fmts kdoc
    e294f0aa47e4 net: usb: smsc75xx: Limit packet length to skb->len
    9708efad9ba5 net/smc: fix deadlock triggered by cancel_delayed_work_syn()
    43aa468df246 nfc: st-nci: Fix use after free bug in ndlc_remove due to race condition
    194248138f8d net: phy: smsc: bail out in lan87xx_read_status if genphy_read_status fails
    be59b87ee4ae net: tunnels: annotate lockless accesses to dev->needed_headroom
    281e86e3fab6 qed/qed_dev: guard against a possible division by zero
    31817c530768 net/smc: fix NULL sndbuf_desc in smc_cdc_tx_handler()
    3cbecb1c9085 i40e: Fix kernel crash during reboot when adapter is in recovery mode
    91eb59240150 ipvlan: Make skb->skb_iif track skb->dev for l3s mode
    2703da78849c nfc: pn533: initialize struct pn533_out_arg properly
    77ad58bca011 tcp: tcp_make_synack() can be called from process context
    68c665bb1850 scsi: core: Fix a procfs host directory removal regression
    be5aa2534188 scsi: core: Fix a comment in function scsi_host_dev_release()
    0fac20b1806b netfilter: nft_redir: correct value of inet type `.maxattrs`
    c144dff64ea9 netfilter: nft_redir: correct length for loading protocol registers
    3a0f8ea35ddc netfilter: nft_masq: correct length for loading protocol registers
    eff050d83eee netfilter: nft_nat: correct length for loading protocol registers
    0c6c5abeb471 ALSA: hda: Match only Intel devices with CONTROLLER_IN_GPU()
    6f0c2f70d992 scsi: mpt3sas: Fix NULL pointer access in mpt3sas_transport_port_add()
    79fe786dab5c docs: Correct missing "d_" prefix for dentry_operations member d_weak_revalidate
    ea1e21d38a8d clk: HI655X: select REGMAP instead of depending on it
    081893e254f1 drm/meson: fix 1px pink line on GXM when scaling video overlay
    ed9ed2f58ceb cifs: Move the in_send statistic to __smb_send_rqst()
    a3c502218cd3 drm/panfrost: Don't sync rpm suspension after mmu flushing
    0da0b816972a xfrm: Allow transport-mode states with AF_UNSPEC selector

(From OE-Core rev: 9f27f11e19fc1929d42820e88e8df3380495f659)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-06-01 16:24:07 -10:00
Bhabu Bindu
b6c3cba355 curl: Fix CVE-2023-28322
Add patches to fix CVE-2023-28322

more POST-after-PUT confusion

When doing HTTP(S) transfers, libcurl might erroneously use the read
callback (`CURLOPT_READFUNCTION`) to ask for data to send, even when
the `CURLOPT_POSTFIELDS` option has been set, if the same handle
previously was used to issue a `PUT` request which used that callback.

This flaw may surprise the application and cause it to misbehave and
either send off the wrong data or use memory after free or similar in
the second transfer.The problem exists in the logic for a reused
handle when it is (expected tobe) changed from a PUT to a POST.

CVE-2023-28322-1.patch is a supporting patch to resolve hunk
error in the actual patch file : CVE-2023-28322-2.patch

Link: https://curl.se/docs/CVE-2023-28322.html

(From OE-Core rev: 9ef793eca87ac568d9c22067aa854a50837cf92f)

Signed-off-by: Bhabu Bindu <bhabu.bindu@kpit.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-06-01 16:24:07 -10:00
Bhabu Bindu
011b8b4758 curl: Fix CVE-2023-28321
Add patch to fix CVE-2023-28321

IDN wildcard match

curl supports matching of wildcard patterns when listed as
"Subject Alternative Name" in TLS server certificates. curl can be
built to use its own name matching function for TLS rather than one
provided by a TLS library. This private wildcard matching function
would match IDN (International Domain Name)hosts incorrectly and
could as a result accept patterns that otherwise should mismatch.

IDN hostnames are converted to puny code before used for certificate
checks. Puny coded names always start with `xn--` and should not be
allowed to pattern match, but the wildcard check in curl could still
check for `x*`,which would match even though the IDN name most likely
contained nothing even resembling an `x`.

Link: https://curl.se/docs/CVE-2023-28321.html

(From OE-Core rev: 75d8593ab3b090266fd2cde27ddc56ad88de7ac7)

Signed-off-by: Bhabu Bindu <bhabu.bindu@kpit.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-06-01 16:24:07 -10:00
Bhabu Bindu
d68f782872 curl: Fix CVE-2023-28320
Add patch to fix CVE-2023-28320

siglongjmp race condition

libcurl provides several different backends for resolving host names,
selectedat build time. If it is built to use the synchronous resolver,
it allows nameresolves to time-out slow operations using `alarm()` and
`siglongjmp()`.

When doing this, libcurl used a global buffer that was not mutex
protected anda multi-threaded application might therefore
crash or otherwise misbehave.

Link: https://curl.se/docs/CVE-2023-28320.html

(From OE-Core rev: c761d822be5ffc4a88600fbd7282c469b1e9902a)

Signed-off-by: Bhabu Bindu <bhabu.bindu@kpit.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-06-01 16:24:07 -10:00
Bhabu Bindu
8f3b0b8e9b curl: Fix CVE-2023-28319
Add patch to fix CVE-2023-28319

UAF in SSH sha256 fingerprint check

libcurl offers a feature to verify an SSH server's public key using
a SHA 256hash. When this check fails, libcurl would free the memory
for the fingerprintbefore it returns an error message containing the
(now freed) hash.

This flaw risks inserting sensitive heap-based data into the error
message that might be shown to users or otherwise get
leaked and revealed.

Link: https://curl.se/docs/CVE-2023-28319.html

(From OE-Core rev: f7d6751828683ac2adbf140e77dbf7454cfa8eb1)

Signed-off-by: Bhabu Bindu <bhabu.bindu@kpit.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-06-01 16:24:07 -10:00
Daniel Ammann
2afcf3e39f overview-manual: concepts.rst: Fix a typo
(From yocto-docs rev: 8241867b565310341e4741a5f0a7597d5c5c84ab)

Signed-off-by: Daniel Ammann <daniel.ammann@bytesatwork.ch>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-05-30 04:11:16 -10:00
Lee Chee Yang
17955962d7 migration-guides: add release notes for 4.0.10
(From yocto-docs rev: ca90cec1c441deae4289060d521f86c0c68a5e50)

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-05-30 04:11:16 -10:00
Michael Opdenacker
1184ea6f5e migration-guides: use new cve_mitre macro
(From yocto-docs rev: 1b9b0bea93fa3793d8807f04d1588cd568e2ffe3)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-05-30 04:11:16 -10:00
Michael Opdenacker
7350eae0c4 conf.py: add macro for Mitre CVE links
New cve_mitre macro for CVEs that are not found (yet) on https://nvd.nist.gov/

(From yocto-docs rev: ff675ce150187561d6d1e8b8ff0eeb10b2696ec6)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-05-30 04:11:16 -10:00
Quentin Schulz
075e7e6d8c Revert "docs: conf.py: fix cve extlinks caption for sphinx <4.0"
This reverts commit c9922076f5c1285d9cfd6aff8ce5b6635d88222f.

Since the minimum version required to build the docs has been bumped in
the previous commit to 4.0, this commit is not required. Moreover, since
Sphinx 5.0 triggers a warning when extlinks captions are not using %s
substitution and Sphinx 6.0 will fail to build without the substitution
characters, this revert is now required to be able to build the docs.

Cc: Quentin Schulz <foss+yocto@0leil.net>
(From yocto-docs rev: 444df054f0bf3ad7614e1613b22ee5b9e8cb94ef)

Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-05-30 04:11:16 -10:00
Tom Hochstein
75b7d31614 piglit: Add missing glslang dependencies
The vulkan configuration requires glslangValidator for build and
runtime.

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

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

(From OE-Core rev: 5e26ead1ca016d1691dccba1b58060ac853bf0d2)

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-05-30 04:11:16 -10:00
Zoltan Boszormenyi
722ace0444 piglit: Fix build time dependency
Replace explicit opencl-icd-loader with virtual/opencl-icd.

(From OE-Core rev: fadadd3cf258b6d403fdcf537ff4b97aaabb5a40)

Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-05-30 04:11:16 -10:00
Tom Hochstein
950f4c74a6 piglit: Add PACKAGECONFIG for glx and opencl
- Allow GLX tests to be disabled for systems that don't support it.

- Allow OpenCL tests to be enabled.

(From OE-Core rev: b0f54a3db7877a95a163bd480b93cfe6f0b97dcd)

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-05-30 04:11:16 -10:00
Ming Liu
9827c47368 weston: add xwayland to DEPENDS for PACKAGECONFIG xwayland
Otherwise xwayland.pc would not be present in sysroot, this leads to
some xwayland configs missing like have_listenfd, have_glamor.

(From OE-Core rev: 4e42196754b19926b2219c6ffda47bd389e9d9fb)

Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 7f1932cb5a408320a5b542e20ba2807718349e8f)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-05-30 04:11:16 -10:00
Peter Kjellerstedt
ef68c9166b license.bbclass: Include LICENSE in the output when it fails to parse
(From OE-Core rev: 1dd008511cc62bd32f85b529f8d6031bd57e4cd2)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 1a5197760da3890cc80ac7da8d589766612d9051)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-05-30 04:11:15 -10:00
Alexander Kanavin
2118c5b7f8 dhcpcd: use git instead of tarballs
As announced here:
https://roy.marples.name/downloads/dhcpcd/

(From OE-Core rev: ceb8e2fd1686d9a8b9be3feb277741f97c4c6c66)

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

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

(From OE-Core rev: 4766ba017b7562e42b33fde7f2e84c2a339e3f4c)

Signed-off-by: Enrico Jorns <ejo@pengutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 8414c504138f6de663f5130c6b4a6ede5605d88b)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-05-30 04:11:15 -10:00
Khem Raj
c6d6808e72 quilt: Fix merge.test race condition
This is consistently seen with musl and grep from busybox
Therefore backport a patch from upstream to fix it

(From OE-Core rev: 769290794fc23894211c56b1878a73634fd20283)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 511bcd965af658e6bb0c61d9f2adb1af75af773b)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-05-30 04:11:15 -10:00
Richard Purdie
c94d5b8771 maintainers.inc: Move repo to unassigned
(From OE-Core rev: 2309f14f37636f0c2da7471c982e373c4ef5e35c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit a51a069bad78c578122ae1a5b500f715246d413d)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-05-30 04:11:15 -10:00
Richard Purdie
ed2a92b55d maintainers.inc: Fix email address typo
(From OE-Core rev: c8837fecf62cbd103103c66c576dac55301cdc1a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 2a86ca028980b501e386f6bb8293a094fd77f97b)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-05-30 04:11:15 -10:00
Martin Siegumfeldt
d81118899d systemd-systemctl: fix instance template WantedBy symlink construction
Fix issue of the below instance template systemd service dependency

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

creating the symlink (instance "a" example)

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

which should be

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

as implemented by this change.

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

(From OE-Core rev: 308397f0bb3d6f3d4e9ec2c6a10823184049c9b5)

(From OE-Core rev: e572d096e81bb7dba8a07ee9dba93d0944857212)

Signed-off-by: Martin Siegumfeldt <mns@gomspace.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
(cherry picked from commit 372b29c8ad270d4d430c26a4e614976c7029afaf)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-05-30 04:11:15 -10:00
Jan Luebbe
9a514e19fa p11-kit: add native to BBCLASSEXTEND
This recipe is needed to build softhsm (in meta-oe) in with p11-kit
support, which is useful when multiple PKCS#11 modules need to be used.

(From OE-Core rev: 19498bea309f19d841187a7063286b2a68ce2587)

Signed-off-by: Jan Luebbe <jlu@pengutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 4942a42d5a071b283fe49047dcb4fee2c96422e8)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-05-30 04:11:15 -10:00
Eero Aaltonen
a23ae80a37 avahi: fix D-Bus introspection
Install and package the D-Bus introspection files.

(From OE-Core rev: 45714f9ea8bde1c8047d493667b1a1d808ea7949)

Signed-off-by: Eero Aaltonen <eero.aaltonen@vaisala.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit b8183ad25af3bcf23f04dd649b6ef665569fac8c)
Signed-off-by: Eero Aaltonen <eero.aaltonen@vaisala.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-05-30 04:11:15 -10:00
leimaohui
80bf4d4f9a nghttp2: Deleted the entries for -client and -server, and removed a dependency on them from the main package.
By default there is nothing in nghttp2-client and nghttp2-server ,nghttp2-client
and nghttp2-server aren't created. So there are dependences error if install
main package.

Problem: conflicting requests
  - nothing provides nghttp2-client >= 1.52.0 needed by nghttp2-1.52.0-r0.core2_64
  - nothing provides nghttp2-server >= 1.52.0 needed by nghttp2-1.52.0-r0.core2_64

Upstream-Status: Backport [OE-core d2cbe060955c598bd81923ecd554fbe82c17af99]
(From OE-Core rev: 619a643f71eceab73bbbe4dacd1eb42b6d6b01d1)

Signed-off-by: Lei Maohui <leimaohui@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-05-30 04:11:15 -10:00
Martin Jansa
65a57df04c llvm: backport a fix for build with gcc-13
* needed for llvm-native on hosts with gcc-13

(From OE-Core rev: 3382759cb6c5cee42151e72fd94e99a3060317f5)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-05-30 04:11:15 -10:00
Khem Raj
645fd39e4b gcc-runtime: Use static dummy libstdc++
some standalone targets e.g. riscv64-elf disable shared linking for
baremetal ELF ABI in ld, therefore lets make it a static library

(From OE-Core rev: 3c6219dfcbcbde314648ba8cc54a90b32ea1c952)

(From OE-Core rev: 4ee9d5839669560ec10f23445fa8bbc03a4c5406)

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>
2023-05-30 04:11:15 -10:00
Marek Vasut
971da34872 cpio: Fix wrong CRC with ASCII CRC for large files
Due to signedness, the checksum is not computed when filesize is bigger
a 2GB. Pick a fix for this problem from CPIO ML, where the fix has been
posted for 5 years. Since CPIO upstream is effectively unresponsive and
any and all attempts to communicate with the maintainer and get the fix
applied upstream failed, add the fix here instead.

(From OE-Core rev: bfff138af4bdd356ac66571e6ad91c1a5599b935)

(From OE-Core rev: 8320097487cc46045482f5d0d41ad799a2435bce)

Signed-off-by: Marek Vasut <marex@denx.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-05-30 04:11:15 -10:00
Upgrade Helper
b7f72b6d88 waffle: upgrade 1.7.0 -> 1.7.2
The Waffle bugfix release 1.7.1 is now available.

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

The Waffle bugfix release 1.7.2 is now available.

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

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

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

(From OE-Core rev: 6b1d94fe5d8728e3eb152426cde08634d248e1f7)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 94cf6ef11bba381ab6f65b03ed1ed14022438151)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
(cherry picked from commit e4ebfb5c7892488fc834d9837e9a5a4c28eb676f)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-05-30 04:11:15 -10:00
Pablo Saavedra
c84f68642e gstreamer1.0: upgrade 1.20.5 -> 1.20.6
Changelog:
===========
audio: channel-mix: allow up to 64 channels instead of up to 63 channels
AOM AV1 encoder timestamp handling improvements
AV1 video codec caps handling improvements in aom plugin, isomp4 and matroska muxers/demuxers.
avvidenc: fix bitrate control and timestamps off FFmpeg-based video encoders
h264parse: fix missing timestamps on outputs when splitting a frame
rtspsrc: more workarounds for servers with broken control uri handling
playbin3: fix issue with UDP streams, making sure there's enough buffering
qmlglsrc: Fix deadlock when stopping and some other fixes
qtmux: fix default timescale unit for N/1001 framerates
v4l2h264dec: Fix Raspberry Pi4 will not play video in application
vtdec: Fix non-deterministic frame output after seeks
wasapi2src: Fix loopback capture on Windows 10 Anniversary Update
macOS, iOS: Fix Xcode 14 ABI breakage with older Xcode
cerbero: Fix some regressions for CentOS in the 1.20 branch
cerbero: Fix setuptools site.py breakage in Python 3.11
Fix gst-libav build against FFmpeg from git
gobject-introspection annotation fixes for bindings
Miscellaneous bug fixes, memory leak fixes, and other stability and reliability improvements
Performance improvements

(From OE-Core rev: 102c453668f71dd30c3f0f13502f0993a051d7fe)

Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-05-30 04:11:15 -10:00
Sakib Sajal
8af917d572 go: fix CVE-2023-24540
References:
https://nvd.nist.gov/vuln/detail/CVE-2023-24540

Upstream patch:
ce7bd33345 (go 1.19.9)

(From OE-Core rev: 5defed7d5dc8bc6f68f021d19c4f42832d33472b)

Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-05-30 04:11:15 -10:00
Archana Polampalli
f72863d66e git: ignore CVE-2023-25815
This is specific to Git-for-Windows.

(From OE-Core rev: 472a3e05270deace2862973dee2e65e60f9c0c19)

Signed-off-by: Archana Polampalli <archana.polampalli@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-05-30 04:11:15 -10:00
Steve Sakoman
f53ab3a2ff build-appliance-image: Update to kirkstone head revision
(From OE-Core rev: d2713785f9cd2d58731df877bc8b7bcc71b6c8e6)

Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-05-12 04:06:52 -10:00
Steve Sakoman
133d542a70 poky.conf: bump version for 4.0.10
(From meta-yocto rev: 4f81a08e7b655968266211cfc943085a69865a90)

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

(From OE-Core rev: d5fd577c066fa2fddbd16c286f2dde2883cc7828)

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

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

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

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

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

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

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

(From OE-Core rev: a2a889b760785474dbc04e3ec11521f6da90161d)

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

[YOCTO #15086]

(From OE-Core rev: 01eb8d4ad71c587d56608d83ec4187375b2f4c44)

Signed-off-by: Thomas Roos <throos@amazon.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
(cherry picked from commit 888fe63b46efceeff08dbe8c4f66fec33d06cb7a)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-05-12 04:04:52 -10:00
Zhixiong Chi
9c9bfe0692 libpam: Fix the xtests/tst-pam_motd[1|3] failures
Reproducer:
1.Enable the ptest of libpam and build the image.
2.Boot the rootfs with nfs, then run the following tests as root:
 cd /usr/share/Linux-PAM/xtests
 /usr/share/Linux-PAM/xtests# ./run-xtests.sh . tst-pam_motd1
 /usr/share/Linux-PAM/xtests# ./run-xtests.sh . tst-pam_motd3

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

(From OE-Core rev: 928b7e880e6a5d1b807cb7f605649233c7195578)

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

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

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

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

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

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

Partially addresses [YOCTO #15091]

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

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

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

(From OE-Core rev: d4e9a2c0c666244f5a197682dabe018a4a3e06f8)

Signed-off-by: Kyle Russell <bkylerussell@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
(cherry picked from commit 231f93becad619f6afa383f9b1132f1d4b02fa64)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-05-12 04:04:52 -10:00
Dmitry Baryshkov
cb7fea11fc linux-firmware: upgrade 20230210 -> 20230404
The LICENCE.qat_firmware license file was updated to reflect Intel
licensing (it removed a term regarding patent licenses).

License-Update: additional files

(From OE-Core rev: d99e46a7b6574d957b76b14f28ef9d19b31f4890)

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
(cherry picked from commit fd43b59ab32e2115fcda7ad63d3a5ccc2683c7d5)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-05-12 04:04:52 -10:00
Wang Mingyu
0dcf471954 xserver-xorg: upgrade 21.1.7 -> 21.1.8
This release contains the fix for CVE-2023-1393 in today's security
advisory: https://lists.x.org/archives/xorg-announce/2023-March/003374.html

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

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

git tag: xorg-server-21.1.8

(From OE-Core rev: 732b51f073105d4c6a0e2e06c559bffcac093fbf)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 7b08dff8f46bcaa05f7fbffbe27d524579af4faf)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-05-12 04:04:52 -10:00
Steve Sakoman
2f06076f97 Revert "xserver-xorg: backport fix for CVE-2023-1393"
This reverts commit dc2c777cab0230fc54e078d20d872aaa9287a8b9.

Fixed in subsequent version bump

(From OE-Core rev: 151149b590a9051a6de58115a6796ccf17894498)

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

(From OE-Core rev: 7991fb7aa30cf56105ebbe060195f16aa1c9b6da)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit aa37e18a51714af3281b4127dceb40b38aa8ac3c)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-05-12 04:04:52 -10:00
Yoann Congal
9b2a6b3f3f linux-yocto: Exclude 121 CVEs already fixed upstream
Exclude CVEs that are fixed in both current linux-yocto version
v5.10.175 and v5.15.108.

To get the commit fixing a CVE, I used the Debian kernel-sec repo [1].

[1]: 86d5040aee

(From OE-Core rev: d1de8d75648282a421022becf61c80c3e6e8b75b)

Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-05-12 04:04:52 -10:00
Peter Marko
a30cde8c0c libxml2: patch CVE-2023-28484 and CVE-2023-29469
Backports from:
* e4f85f1bd2
* 547edbf1cb

(From OE-Core rev: 7d03d5dbc98aa701869c73c1c55a5868c70c5287)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-05-12 04:04:52 -10:00
Archana Polampalli
6d618c1b8b git: fix CVE-2023-25652
Git is a revision control system. Prior to versions 2.30.9, 2.31.8, 2.32.7,
2.33.8, 2.34.8, 2.35.8, 2.36.6, 2.37.7, 2.38.5, 2.39.3, and 2.40.1, by feeding
specially crafted input to `git apply --reject`, a path outside the working
tree can be overwritten with partially controlled contents (corresponding to
the rejected hunk(s) from the given patch). A fix is available in versions
2.30.9, 2.31.8, 2.32.7, 2.33.8, 2.34.8, 2.35.8, 2.36.6, 2.37.7, 2.38.5, 2.39.3,
and 2.40.1. As a workaround, avoid using `git apply` with `--reject` when applying
patches from an untrusted source. Use `git apply --stat` to inspect a patch before
applying; avoid applying one that create a conflict where a link corresponding to
the `*.rej` file exists.

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

Upstream patches:
9db05711c9

(From OE-Core rev: 335ad8a6d795cd94b872370e44a033ce3fbf4890)

Signed-off-by: Archana Polampalli <archana.polampalli@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-05-12 04:04:52 -10:00
Archana Polampalli
04316b4f47 git: fix CVE-2023-29007
Git is a revision control system. Prior to versions 2.30.9, 2.31.8, 2.32.7, 2.33.8,
2.34.8, 2.35.8, 2.36.6, 2.37.7, 2.38.5, 2.39.3, and 2.40.1, a specially crafted
`.gitmodules` file with submodule URLs that are longer than 1024 characters can used
to exploit a bug in `config.c::git_config_copy_or_rename_section_in_file()`. This bug
can be used to inject arbitrary configuration into a user's `$GIT_DIR/config` when
attempting to remove the configuration section associated with that submodule. When the
attacker injects configuration values which specify executables to run (such as
`core.pager`, `core.editor`, `core.sshCommand`, etc.) this can lead to a remote code
execution. A fix A fix is available in versions 2.30.9, 2.31.8, 2.32.7, 2.33.8, 2.34.8,
2.35.8, 2.36.6, 2.37.7, 2.38.5, 2.39.3, and 2.40.1. As a workaround, avoid running
`git submodule deinit` on untrusted repositories or without prior inspection of any
submodule sections in `$GIT_DIR/config`.

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

Upstream patches:
528290f8c6
29198213c9
a5bb10fd5e
e91cfe6085
3bb3d6bac5

(From OE-Core rev: 1b55343b6346437b80b8a8180ae1bc9f480d92ef)

Signed-off-by: Archana Polampalli <archana.polampalli@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-05-12 04:04:52 -10:00
Arturo Buzarra
a8216f8f7c run-postinsts: Set dependency for ldconfig to avoid boot issues
If a package with a postsints script requires ldconfig, the package class adds
a ldconfig postinst fragment to initialize it before. Systemd has its own
ldconfig.service to initialize it and sometimes if both services are running
at the same time in the first boot, the first one will work, but the second
one will fail with the following error:

    ldconfig[141]: /sbin/ldconfig: Renaming of /etc/ld.so.cache~ to /etc/ld.so.cache failed: No such file or directory

This commit adds a ordering dependency between them to make sure that only one
service is running at the same time.

(From OE-Core rev: 5fca673d8fe0ee97dc37ed2c9941696842cd667a)

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 4e9d812e127dc6743f52f4881e509e8e2e833afe)
Signed-off-by: Jermain Horsman <jermain.horsman@nedap.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-05-10 04:19:57 -10:00
Ranjitsinh Rathod
a0602dc6b5 libbsd: Add correct license for all packages
BSD-4-Clause is only applicable to the {PN}-doc package as when I
check for the source code I find below files which only uses the
license BSD-4-Clause

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

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

(From OE-Core rev: aa5bdac99e187801db56ca4bcc4d5f18b2403f40)

Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-05-10 04:19:57 -10:00
Randolph Sapp
2337b81140 wic/bootimg-efi: if fixed-size is set then use that for mkdosfs
This is a bit of a compatibility issue more than anything. Some devices
get upset if the FAT file system contains less blocks than the
partition.

The fixed-size argument is currently respected by the partition creation
step but not by the file system creation step. Let's make it so the file
system respects this value as well.

(From OE-Core rev: d16301ccdfb97bf126738262eec594008c282df1)

Signed-off-by: Randolph Sapp <rs@ti.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-05-10 04:19:57 -10:00
Narpat Mali
1367249c99 python3-cryptography: fix for CVE-2023-23931
cryptography is a package designed to expose cryptographic primitives
and recipes to Python developers. In affected versions `Cipher.update_into`
would accept Python objects which implement the buffer protocol, but
provide only immutable buffers. This would allow immutable objects
(such as `bytes`) to be mutated, thus violating fundamental rules of
Python and resulting in corrupted output. This now correctly raises
an exception. This issue has been present since `update_into` was
originally introduced in cryptography 1.8.

(From OE-Core rev: 368e450c2d800790a05924519f34c579e28e9cbb)

Signed-off-by: Narpat Mali <narpat.mali@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-05-10 04:19:56 -10:00
Kai Kang
5ffa1afb93 webkitgtk: fix CVE-2022-32888 & CVE-2022-32923
Backport patches to fix CVE-2022-32888 and CVE-2022-32923 for webkitgtk
2.36.8. The bugzilla IDs of the CVEs are from https://support.apple.com
which have been listed in patch headers.

(From OE-Core rev: e24e16974e81a0f62dd6f5862a465fc74ad751d3)

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-05-10 04:19:56 -10:00
Deepthi Hemraj
8876f53021 binutils : Fix CVE-2023-25588
Upstream-Status: Backport [https://sourceware.org/git/?p=binutils-gdb.git;a=commitdiff;h=d12f8998d2d086f0a6606589e5aedb7147e6f2f1]

(From OE-Core rev: fd0d01aca6f2aea51e9704e0ba48dc35dfd87b81)

Signed-off-by: Deepthi Hemraj <deepadeepthi98@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-05-10 04:19:56 -10:00
Deepthi Hemraj
2396bda079 binutils : Fix CVE-2023-1972
Upstream-Status: Backport [https://sourceware.org/git/?p=binutils-gdb.git;a=commitdiff_plain;h=c22d38baefc5a7a1e1f5cdc9dbb556b1f0ec5c57]

(From OE-Core rev: d46891efa23932a048f7cc4d82c6387e03262f76)

Signed-off-by: Deepthi Hemraj <deepadeepthi98@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-05-10 04:19:56 -10:00
Deepthi Hemraj
2d215bee87 binutils : Fix CVE-2023-25585
Upstream-Status: Backport [https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=65cf035b8dc1df5d8020e0b1449514a3c42933e7]

(From OE-Core rev: 033db4876844b17de7673970860eb155d15c56e7)

Signed-off-by: Deepthi Hemraj <deepadeepthi98@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-05-10 04:19:56 -10:00
Deepthi Hemraj
614a9a6f9f binutils : Fix CVE-2023-25584
Upstream-Status: Backport [https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=77c225bdeb410cf60da804879ad41622f5f1aa44]

(From OE-Core rev: 27278ebd5d102ce5a9d45f94a93932065025657b)

Signed-off-by: Deepthi Hemraj <deepadeepthi98@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-05-10 04:19:56 -10:00
Shubham Kulkarni
7535036adb go: Security fix for CVE-2023-24538
html/template: disallow actions in JS template literals

Backport from b1e3ecfa06

(From OE-Core rev: 835462d697a5f294900843b8bcd628709c256605)

Signed-off-by: Shubham Kulkarni <skulkarni@mvista.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-05-10 04:19:56 -10:00
Vivek Kumbhar
f6b797d05d go: fix CVE-2023-24534 denial of service from excessive memory allocation
A parsed MIME header is a map[string][]string. In the common case,
a header contains many one-element []string slices. To avoid
allocating a separate slice for each key, ReadMIMEHeader looks
ahead in the input to predict the number of keys that will be
parsed, and allocates a single []string of that length.
The individual slices are then allocated out of the larger one.

The prediction of the number of header keys was done by counting
newlines in the input buffer, which does not take into account
header continuation lines (where a header key/value spans multiple
lines) or the end of the header block and the start of the body.
This could lead to a substantial amount of overallocation, for
example when the body consists of nothing but a large block of
newlines.

Fix header key count prediction to take into account the end of
the headers (indicated by a blank line) and continuation lines
(starting with whitespace).

Thanks to Jakob Ackermann (@das7pad) for reporting this issue.

Fixes CVE-2023-24534
For #58975
Fixes #59267

(From OE-Core rev: 28bfa033ce965d7316a8b4296d10f3ad74d711db)

Signed-off-by: Vivek Kumbhar <vkumbhar@mvista.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-05-10 04:19:56 -10:00
Vivek Kumbhar
f90eb43a15 freetype: fix CVE-2023-2004 integer overflowin in tt_hvadvance_adjust() in src/truetype/ttgxvar.c
Fix An integer overflow vulnerability was discovered in Freetype in tt_hvadvance_adjust() function in src/truetype/ttgxvar.c

(From OE-Core rev: 6a07e1524746bd3cfa5aec090a882f4a7f954dad)

Signed-off-by: Vivek Kumbhar <vkumbhar@mvista.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-05-10 04:19:56 -10:00
Hitendra Prajapati
7aac01a2a7 connman: fix CVE-2023-28488 DoS in client.c
Upstream-Status: Backport from https://git.kernel.org/pub/scm/network/connman/connman.git/commit/?id=99e2c16ea1cced34a5dc450d76287a1c3e762138

(From OE-Core rev: 7a5d78de47cdd79bcb1b0e62a65e10705d59a7d9)

Signed-off-by: Hitendra Prajapati <hprajapati@mvista.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-05-10 04:19:56 -10:00
Narpat Mali
813d4715e4 ffmpeg: fix for CVE-2022-48434
libavcodec/pthread_frame.c in FFmpeg before 5.1.2, as used in VLC and
other products, leaves stale hwaccel state in worker threads, which
allows attackers to trigger a use-after-free and execute arbitrary
code in some circumstances (e.g., hardware re-initialization upon a
mid-video SPS change when Direct3D11 is used).

(From OE-Core rev: 392f984ffd95bcd3ce4c364b40425e7808ca7719)

Signed-off-by: Narpat Mali <narpat.mali@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-05-10 04:19:56 -10:00
Deepthi Hemraj
75239ddd8d glibc: stable 2.35 branch updates.
Below commits on glibc-2.35 stable branch are updated.
1c7f51c75a x86_64: Fix asm constraints in feraiseexcept (bug 30305)
8d07e65d15 gshadow: Matching sgetsgent, sgetsgent_r ERANGE handling (bug 30151)
b7cc55a24e x86: Check minimum/maximum of non_temporal_threshold [BZ #29953]
3f63f9dfe1 stdlib: Undo post review change to 16adc58e73f3 [BZ #27749]
757d9a6306 elf: Smoke-test ldconfig -p against system /etc/ld.so.cache
416bd20b3f Use 64-bit time_t interfaces in strftime and strptime (bug 30053)
ae045ed16b cdefs: Limit definition of fortification macros
6bcd5d8e36 x86: Prevent SIGSEGV in memcmp-sse2 when data is concurrently modified [BZ #29863]
82663d3c03 time: Set daylight to 1 for matching DST/offset change (bug 29951)
d9923235f0 elf/tst-tlsopt-powerpc fails when compiled with -mcpu=power10 (BZ# 29776)

(From OE-Core rev: 2d67702bdfc64358d364dd6484ae41842ee7c52f)

Signed-off-by: Deepthi Hemraj <deepadeepthi98@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-05-03 04:17:12 -10:00
Christoph Lauer
e2ab82659d populate_sdk_base: add zip options
Add SDK_ZIP_OPTIONS to remove symbolic link creation in zip archive or add options, e.g. for encryption of the zip archive.

(From OE-Core rev: 04b62f9459b401c276255f166d0738b6f902a576)

(From OE-Core rev: 4f5bf144bfe4f34adfc22d86783d6ce29e9f6e15)

Signed-off-by: Christoph Lauer <christoph.lauer@xtronic.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-05-03 04:17:12 -10:00
Pascal Bach
c98c4d74dc cmake: add CMAKE_SYSROOT to generated toolchain file
This already got fixed in the toolchain file that is used during development
in cb42802f2f

The toolchain file generated by the cmake.bbclass however does not set
CMAKE_SYSROOT. Under certain circumstances this also leads to the error:
`"stdlib.h: No such file or directory #include_next <stdlib.h>"`
during the build of a recipe.

An example where this accured was during the upgrade of the Apache Thrift
recipe in meta-openembedded to 0.11.0. With this change the build works out of
the box.

CMAKE_SYSROOT must only be set when crosscompiling, otherwise it will interfere
with the native compiler headers.

(From OE-Core rev: 1105c67d554bcd155e8247cb16efc8d6a642444f)

Signed-off-by: Pascal Bach <pascal.bach@siemens.com>

(from http://lists.openembedded.org/pipermail/openembedded-core/2018-August/154791.html )

Signed-off-by: Mikko Rapeli <mikko.rapeli@bmw.de>
Signed-off-by: Poonam Jadhav <poonam.jadhav@kpit.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-05-03 04:17:12 -10:00
Yogita Urade
ca44c2d0dc libxpm: upgrade 3.5.13 -> 3.5.15
Upgrade libxpm 3.5.13 to 3.5.15

License-update: additional copyright holders
   f0857c0 man pages: Correct Copyright/License notices
The above commit is introduced while upgrading the libxpm 3.5.15.
which is mentioned in below changelog.
Due to this commit LIC_FILES_CHKSUM is changed.

Disable reading compressed files as that requires compress/uncompress executables.
Following the approach in oe-core/master:
   7de4084634 libxpm: upgrade 3.5.14 -> 3.5.15

Changelog:

-------------
-------------
ddd8339 libXpm 3.5.15
8178eb0 Use gzip -d instead of gunzip
c5ab17b Prevent a double free in the error code path
515294b Fix CVE-2022-4883: compression commands depend on $PATH
f80fa6a Fix CVE-2022-44617: Runaway loop with width of 0 and enormous height
f7fbbb9 test: add test cases for CVE-2022-44617 (zero-width w/enormous height)
a3a7c6d Fix CVE-2022-46285: Infinite loop on unclosed comments
f7a167a test: add test case for CVE-2022-46285 (unclosed comments)
0ff2c6a cxpm: getc/ungetc wrappers should not adjust position when c == EOF
501494c test: Add unit tests using glib framework
4841039 configure: add --disable-open-zfile instead of requiring -DNO_ZPIPE
aef0c8d man pages: Apply standard man page style/formatting
5d55a0b man pages: Replace "See Also" entries with more useful ones
392cb8f man pages: Fix typos and other minor editing
08bc174 libXpm 3.5.14
f0857c0 man pages: Correct Copyright/License notices
deb81a9 man pages: Fix typos
2d5fa4c man pages: Add missing word 'function' where needed
2b7357e man pages: Make function synopses more consistent with other pages
fb8590c man pages: Fix shadow man pages
bfaebfd man pages: Make file names consistent with their displayed names
7a138a5 gitlab CI: add a basic build test
3433f43 man: strip trailing whitespace
9612454 Fix spelling/wording issues
fa16fbd Build xz tarballs instead of bzip2
83e5427 update man pages
e48e649 add man pages based on doc/xpm.PS

(From OE-Core rev: a549319e5fdae685f93122627226f9b102307bc3)

Signed-off-by: Yogita Urade <yogita.urade@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-05-03 04:17:12 -10:00
Yogita Urade
6bfa8de856 xorg-lib-common: Add variable to set tarball type
Upstream has switched some new releases from bz2 to xz compression. Add
an XORG_EXT variable so recipes can set the file name extension needed
for the compression type.

Following the approach in oe-core/master:
  6a8068e036b4b2a40b38896275b936916b4db76e  xorg-lib-common: Add variable to set tarball type
use a variable for the tarball suffix/compression format.

(From OE-Core rev: 56ea2b625f81e397e911b3610130d3e838d10938)

Signed-off-by: Robert Joslyn <robert.joslyn@redrectangle.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>

Signed-off-by: Yogita Urade <yogita.urade@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-05-03 04:17:12 -10:00
Bruce Ashfield
73a0bba157 linux-yocto/5.15: update to v5.15.108
Updating  to the latest korg -stable release that comprises
the following commits:

    3299fb36854f Linux 5.15.108
    adef0cebea85 nvme-pci: avoid the deepest sleep state on ZHITAI TiPro5000 SSDs
    c6897dfe2bb6 counter: Add the necessary colons and indents to the comments of counter_compi
    fa934784fb65 counter: fix docum. build problems after filename change
    0cf283340023 panic, kexec: make __crash_kexec() NMI safe
    9e1e511119b1 kexec: turn all kexec_mutex acquisitions into trylocks
    6fc7a53fcc4c nvme-pci: add NVME_QUIRK_BOGUS_NID for T-FORCE Z330 SSD
    fa43e0591900 nvme-pci: mark Lexar NM760 as IGNORE_DEV_SUBNQN
    a814fc9e6e59 nvme-pci: add NVME_QUIRK_BOGUS_NID for Lexar NM760
    972e06d09e86 nvme-pci: add NVME_QUIRK_BOGUS_NID for Lexar NM610
    cf773832139b nvme-pci: Crucial P2 has bogus namespace ids
    5a19b9a49aea nvme-pci: avoid the deepest sleep state on ZHITAI TiPro7000 SSDs
    65f5dc5dff29 nvme-pci: add NVME_QUIRK_BOGUS_NID for ADATA XPG GAMMIX S50
    3daaa5f7aae2 i2c: ocores: generate stop condition after timeout in polling mode
    0af686415ca2 x86/rtc: Remove __init for runtime functions
    b11ff3ef4d09 sched/fair: Fix imbalance overflow
    90e3dc510106 sched/fair: Move calculate of avg_load to a better location
    6d1353781bba powerpc/papr_scm: Update the NUMA distance table for the target node
    0b031f5983f8 ubi: Fix deadlock caused by recursively holding work_sem
    85d7a7044b75 ubi: Fix failure attaching when vid_hdr offset equals to (sub)page size
    f0b4a4086cf2 mptcp: stricter state check in mptcp_worker
    925e1a510a2e mptcp: use mptcp_schedule_work instead of open-coding it
    f4f2a1d491e9 cgroup/cpuset: Wake up cpuset_attach_wq tasks in cpuset_cancel_attach()
    19c7f9329bdb x86/PCI: Add quirk for AMD XHCI controller that loses MSI-X state in D3hot
    05143d90ac90 scsi: ses: Handle enclosure with just a primary component gracefully
    aaae6d303150 net: phy: nxp-c45-tja11xx: fix unsigned long multiplication overflow
    b1ca14361d49 net: phy: nxp-c45-tja11xx: add remove callback
    0359e505bcd7 net: sfp: initialize sfp->i2c_block_size at sfp allocation
    a42f565c0e96 riscv: add icache flush for nommu sigreturn trampoline
    6eeb1cba4c9d drm/i915: fix race condition UAF in i915_perf_add_config_ioctl
    9b344cf6aea0 i915/perf: Replace DRM_DEBUG with driver specific drm_dbg call
    6b337a13c144 tracing: Have tracing_snapshot_instance_cond() write errors to the appropriate instance
    1403518ed0d9 tracing: Add trace_array_puts() to write into instance
    670e54151b7a counter: 104-quad-8: Fix Synapse action reported for Index signals
    6e25d374cd95 counter: Internalize sysfs interface code
    c4153e662883 counter: stm32-timer-cnt: Provide defines for slave mode selection
    4c1010848b12 counter: stm32-lptimer-cnt: Provide defines for clock polarities
    189ada57e88c ACPI: resource: Add Medion S17413 to IRQ override quirk
    248a18a895e2 wifi: iwlwifi: mvm: fix mvmtxq->stopped handling
    0efd9ed92926 asymmetric_keys: log on fatal failures in PE/pkcs7
    ae2b44aeade1 verify_pefile: relax wrapper length check
    744f80ae0716 drm: panel-orientation-quirks: Add quirk for Lenovo Yoga Book X90F
    05a24344296e efi: sysfb_efi: Add quirk for Lenovo Yoga Book X91F/L
    0f9d2fc58824 i2c: hisi: Avoid redundant interrupts
    d21a46212009 i2c: imx-lpi2c: clean rx/tx buffers upon new message
    8451da304b4a wifi: mwifiex: mark OF related data as maybe unused
    9aeff275b7f7 power: supply: cros_usbpd: reclassify "default case!" as debug
    788f4a3d3987 ARM: 9290/1: uaccess: Fix KASAN false-positives
    53967ac8080b libbpf: Fix single-line struct definition output in btf_dump
    906a6689bb01 skbuff: Fix a race between coalescing and releasing SKBs
    7ccc58a1a756 net: macb: fix a memory corruption in extended buffer descriptor mode
    ed2ec39e46fe udp6: fix potential access to stale information
    e97ff11b396c RDMA/core: Fix GID entry ref leak when create_ah fails
    6109f5b13ce3 sctp: fix a potential overflow in sctp_ifwdtsn_skip
    c6a796ee5a63 net: qrtr: Fix an uninit variable access bug in qrtr_tx_resume()
    9b1ca43bcf3d qlcnic: check pci_reset_function result
    ffa4f32952e2 drm/armada: Fix a potential double free in an error handling path
    a94f5d35fdbb tcp: restrict net.ipv4.tcp_app_win
    a08ec4ed3b6e niu: Fix missing unwind goto in niu_alloc_channels()
    e35ae49bc198 9p/xen : Fix use after free bug in xen_9pfs_front_remove due to race condition
    b41da67451b0 bpf: tcp: Use sock_gen_put instead of sock_put in bpf_iter_tcp
    48e8e7851dc0 RDMA/cma: Allow UD qp_type to join multicast only
    1569a4cdb973 IB/mlx5: Add support for 400G_8X lane speed
    f6711bc5c016 RDMA/irdma: Add ipv4 check to irdma_find_listener()
    c8c7a7aee861 RDMA/irdma: Increase iWARP CM default rexmit count
    810250c9c661 RDMA/irdma: Fix memory leak of PBLE objects
    aa2607bae45f clk: sprd: set max_register according to mapping range
    0004a50c535f drm/i915/dsi: fix DSS CTL register offsets for TGL+
    1bb4a52c3caa KVM: arm64: PMU: Restore the guest's EL0 event counting after migration
    c7acce3a0eeb mtd: rawnand: stm32_fmc2: use timings.mode instead of checking tRC_min
    7233b5baba10 mtd: rawnand: stm32_fmc2: remove unsupported EDO mode
    5ded9b750f30 mtd: rawnand: meson: fix bitmask for length in command word
    0162836a51bb mtdblock: tolerate corrected bit-flips
    ad574345ce26 fbmem: Reject FB_ACTIVATE_KD_TEXT from userspace
    a55a95365e08 btrfs: fix fast csum implementation detection
    6da03c237d56 btrfs: print checksum type and implementation at mount time
    0efb276d5848 Bluetooth: Fix race condition in hidp_session_thread
    ac6725a634f7 Bluetooth: L2CAP: Fix use-after-free in l2cap_disconnect_{req,rsp}
    d98498ad5695 ALSA: hda/sigmatel: fix S/PDIF out on Intel D*45* motherboards
    c5797c87e74e ALSA: emu10k1: don't create old pass-through playback device on Audigy
    f1ef453157b4 ALSA: firewire-tascam: add missing unwind goto in snd_tscm_stream_start_duplex()
    7901d787e455 ALSA: i2c/cs8427: fix iec958 mixer control deactivation
    d8697aa12ae6 ALSA: hda/sigmatel: add pin overrides for Intel DP45SG motherboard
    34a0ada0a8b2 ALSA: emu10k1: fix capture interrupt handler unlinking
    55e4eef5545d Revert "pinctrl: amd: Disable and mask interrupts on resume"

(From OE-Core rev: f13a78efa325d0debf4910756acfcb63d036967c)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 5339d44b0b0b23f30cb0f8ab395da62e83733c40)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-05-03 04:17:12 -10:00
Bruce Ashfield
3ea761ed88 linux-yocto/5.15: update to v5.15.107
Updating  to the latest korg -stable release that comprises
the following commits:

    4fdad925aa1a Linux 5.15.107
    c862d7debe55 bpftool: Print newline before '}' for struct with padding only fields
    1585f3fc24b5 ocfs2: fix freeing uninitialized resource on ocfs2_dlm_shutdown
    b97e4100be37 kbuild: fix single directory build
    326b80bd2267 mm: take a page reference when removing device exclusive entries
    1fc9263ad795 drm/bridge: lt9611: Fix PLL being unable to lock
    4bdf1514b426 mm/swap: fix swap_info_struct race between swapoff and get_swap_pages()
    cbe5f7fed7f7 ring-buffer: Fix race while reader and writer are on the same page
    23ed5af5767a drm/nouveau/disp: Support more modes by checking with lower bpc
    6f2180c5273a drm/panfrost: Fix the panfrost_mmu_map_fault_addr() error path
    a184df0de132 mm: vmalloc: avoid warn_alloc noise caused by fatal signal
    d88d7a9fcf20 ASoC: hdac_hdmi: use set_stream() instead of set_tdm_slots()
    33d5d4e67a0e tracing: Free error logs of tracing instances
    c74065da695e can: isotp: isotp_ops: fix poll() to not report false EPOLLOUT events
    4fe1d9b6231a can: j1939: j1939_tp_tx_dat_new(): fix out-of-bounds memory access
    0af8fae81d8b fs: drop peer group ids under namespace lock
    33a503b7c339 ftrace: Fix issue that 'direct->addr' not restored in modify_ftrace_direct()
    20c5e10950e9 ftrace: Mark get_lock_parent_ip() __always_inline
    a007b7dc19de perf/core: Fix the same task check in perf_event_set_output
    8417eb9aaf1e cifs: sanitize paths in cifs_update_super_prepath.
    df23c702d11c smb3: lower default deferred close timeout to address perf regression
    1d9cad9c5873 smb3: allow deferred close timeout to be configurable
    5e5c5f472972 scsi: iscsi_tcp: Check that sock is valid before iscsi_set_param()
    ae73c4dd48f2 scsi: qla2xxx: Fix memory leak in qla2x00_probe_one()
    c8c17991dab0 iio: adc: ad7791: fix IRQ flags
    bc61cce6a658 coresight-etm4: Fix for() loop drvdata->nr_addr_cmp range bug
    97302eb6ca48 coresight: etm4x: Do not access TRCIDR1 for identification
    fd23e9bbfccc ALSA: hda/realtek: Add quirk for Clevo X370SNW
    f204f38212dc ksmbd: do not call kvmalloc() with __GFP_NORETRY | __GFP_NO_WARN
    091b3e31275b dt-bindings: serial: renesas,scif: Fix 4th IRQ for 4-IRQ SCIFs
    d540aea451ab nilfs2: fix sysfs interface lifetime
    92684e02654c nilfs2: fix potential UAF of struct nilfs_sc_info in nilfs_segctor_thread()
    ba3a88b444cd tty: serial: fsl_lpuart: avoid checking for transfer complete when UARTCTRL_SBK is asserted in lpuart32_tx_empty
    ad142624ccc3 tty: serial: sh-sci: Fix Rx on RZ/G2L SCI
    1184bd5c5ee4 tty: serial: sh-sci: Fix transmit end interrupt handler
    1f49173be32d iio: light: cm32181: Unregister second I2C client if present
    77593b4e963c iio: dac: cio-dac: Fix max DAC write value check for 12-bit
    73742a446e08 iio: adc: ti-ads7950: Set `can_sleep` flag for GPIO chip
    7a1e21d26104 iio: adis16480: select CONFIG_CRC32
    4d3841fe16c4 USB: serial: option: add Quectel RM500U-CN modem
    7151d2af0656 USB: serial: option: add Telit FE990 compositions
    e1aa1c1bc51f usb: typec: altmodes/displayport: Fix configure initial pin assignment
    9cd66aa2fa04 USB: serial: cp210x: add Silicon Labs IFS-USB-DATACABLE IDs
    f8d59e2a36ac usb: dwc3: pci: add support for the Intel Meteor Lake-S
    11453332fa40 usb: cdnsp: Fixes error: uninitialized symbol 'len'
    83637720ea20 xhci: also avoid the XHCI_ZERO_64B_REGS quirk with a passthrough iommu
    1122474b757a usb: xhci: tegra: fix sleep in atomic call
    f5c5934580e7 kbuild: refactor single builds of *.ko
    e62d179b9177 gve: Secure enough bytes in the first TX desc for all TCP pkts
    40c6802d7dae ethtool: reset #lanes when lanes is omitted
    4eada1dabdfb ice: Reset FDIR counter in FDIR init stage
    391d28c0e38c ice: fix wrong fallback logic for FDIR
    e215928a510c NFSD: callback request does not use correct credential for AUTH_SYS
    bbca64f2052e sunrpc: only free unix grouplist after RCU settles
    ca7c3b4ae03e net: stmmac: fix up RX flow hash indirection table when setting channels
    3a997c0d2341 net: ethernet: ti: am65-cpsw: Fix mdio cleanup in probe
    0ae8cdf0153c gpio: davinci: Add irq chip flag to skip set wake
    1c19a42b2863 platform/x86: think-lmi: Clean up display of current_value on Thinkstation
    cccdb30935c8 platform/x86: think-lmi: Fix memory leaks when parsing ThinkStation WMI strings
    b9396d991abe platform/x86: think-lmi: Fix memory leak when showing current settings
    d65ff2fe877c ipv6: Fix an uninit variable access bug in __ip6_make_skb()
    926c8299ac3d net: qrtr: Do not do DEL_SERVER broadcast after DEL_CLIENT
    667eb99cf7c1 sctp: check send stream number after wait_for_sndbuf
    9692e16b5991 net: dsa: mv88e6xxx: Reset mv88e6393x force WD event bit
    5d1007e81fb6 net: don't let netpoll invoke NAPI if in xmit context
    e150a5c9f44c icmp: guard against too small mtu
    a64160124d5a NFSD: Avoid calling OPDESC() with ops->opnum == OP_ILLEGAL
    b9ba5906c420 net: qrtr: Fix a refcount bug in qrtr_recvmsg()
    3ef52e4bcfd7 net: qrtr: combine nameservice into main module
    30c5a016a37a wifi: mac80211: fix invalid drv_sta_pre_rcu_remove calls for non-uploaded sta
    32a8dc8d9ebe KVM: s390: pv: fix external interruption loop not always detected
    fcd6c7476e43 pwm: sprd: Explicitly set .polarity in .get_state()
    a8ab13c73259 pwm: cros-ec: Explicitly set .polarity in .get_state()
    c373e49fbb87 Drivers: vmbus: Check for channel allocation before looking up relids
    b50cd6789dbb gpio: GPIO_REGMAP: select REGMAP instead of depending on it
    0a473f834393 bpf: hash map, avoid deadlock with suitable hash mask
    543d66a54dbf serial: exar: Add support for Sealevel 7xxxC serial cards
    7773bb08e8b6 serial: 8250_exar: derive nr_ports from PCI ID for Acces I/O cards
    c73db89da686 iavf/iavf_main: actually log ->src mask when talking about it
    b2d29830db30 iavf: return errno code instead of status code
    cdf3f5ef1893 platform/x86: int3472/discrete: Ensure the clk/power enable pins are in output mode
    7798cd69cfc3 platform/x86: int3472: Split into 2 drivers
    5cc70e78bbcc RDMA/irdma: Do not request 2-level PBLEs for CQ alloc
    c22ac849aabb NFSD: pass range end to vfs_fsync_range() instead of count
    34a14759d90c NFSD: Fix sparse warning
    8059e200259e ocfs2: fix memory leak in ocfs2_mount_volume()
    b613d8dcdff3 ocfs2: rewrite error handling of ocfs2_fill_super
    05abe9c0bf38 ocfs2: ocfs2_mount_volume does cleanup job before return error

(From OE-Core rev: 84efe52ea8b1c28614200683289e589211c35b44)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 214643f386a3e4f226acd25903cde14a2c0a7376)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-05-03 04:17:12 -10:00
Bruce Ashfield
944251c78b linux-yocto/5.15: update to v5.15.106
Updating  to the latest korg -stable release that comprises
the following commits:

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

(From OE-Core rev: 8814af71d54ffaf7507789855b645211f769240d)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit d04122e76e21654caef2ec42ab5612bc9883d5f7)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-05-03 04:17:12 -10:00
Virendra Thakur
f821e134f8 qemu: Whitelist CVE-2023-0664
This CVE is related to Windows.

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

(From OE-Core rev: c812189760292ae39f7c10cfbde8f11130cce085)

Signed-off-by: Virendra Thakur <virendrak@kpit.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-05-03 04:17:12 -10:00
Archana Polampalli
bfe251d727 nasm: fix CVE-2022-44370
NASM v2.16 was discovered to contain a heap buffer overflow in the
component quote_for_pmake() asm/nasm.c:856

References:
https://nvd.nist.gov/vuln/detail/CVE-2022-44370

Upstream patches:
2d4e695241

(From OE-Core rev: 1568df72136f46f0767bba56c10c48bf2a1ec259)

Signed-off-by: Archana Polampalli <archana.polampalli@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-05-03 04:17:12 -10:00
Ross Burton
9971a61f08 xserver-xorg: backport fix for CVE-2023-1393
(From OE-Core rev: dc2c777cab0230fc54e078d20d872aaa9287a8b9)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 7828f7026b4cd3ae97ebe5d849c09fabbc17272d)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-05-03 04:17:12 -10:00
Joe Slater
20e0e5ebfb ghostscript: fix CVE-2023-29979
Backport from 10.02.0 (unreleased).

(From OE-Core rev: 6d5baff50aa83c663856cccc375c522add97625e)

Signed-off-by: Joe Slater <joe.slater@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-05-03 04:17:12 -10:00
Mingli Yu
6cff3875fe ruby: Fix CVE-2023-28755
Backport patch [1] to fix CVE-2023-28755.

[1] 8ce4ab1464

(From OE-Core rev: 605634cf1adef2d9cf6dc6fdf17aa4032385497f)

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-05-03 04:17:12 -10:00
Lee Chee Yang
4cc0e9438b migration-guides: add release-notes for 4.0.9
(From yocto-docs rev: 8388be749806bd0bf4fccf1005dae8f643aa4ef4)

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-04-26 04:03:21 -10:00
Vivek Kumbhar
c34e0e1e0f go: fix CVE-2023-24537 Infinite loop in parsing
Setting a large line or column number using a //line directive can cause
integer overflow even in small source files.

Limit line and column numbers in //line directives to 2^30-1, which
is small enough to avoid int32 overflow on all reasonbly-sized files.

Fixes CVE-2023-24537
Fixes #59273
For #59180

(From OE-Core rev: 15c07dff384ce4fb0e90f4f32c182a82101a1c82)

Signed-off-by: Vivek Kumbhar <vkumbhar@mvista.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-04-26 04:03:21 -10:00
Hitendra Prajapati
d19f7ddf5a screen: CVE-2023-24626 allows sending SIGHUP to arbitrary PIDs
Upstream-Status: Backport from https://git.savannah.gnu.org/cgit/screen.git/commit/?id=e9ad41bfedb4537a6f0de20f00b27c7739f168f7

(From OE-Core rev: cf6348b5778c9409fc330808effc69e9939e6857)

Signed-off-by: Hitendra Prajapati <hprajapati@mvista.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-04-26 04:03:21 -10:00
Peter Marko
7eb99a6fe9 go: ignore CVE-2022-41716
This CVE is specific to Microsoft Windows, ignore it.

Patch fixing it (https://go-review.googlesource.com/c/go/+/446916)
also adds a redundant check to generic os/exec which
could be backported but it should not be necessary as
backport always takes a small risk to break old code.

(From OE-Core rev: ae8167754ff1c02f2d92af03de804754ea77a3e5)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-04-26 04:03:21 -10:00
Xiangyu Chen
e8eab42415 shadow: backport patch to fix CVE-2023-29383
The fix of CVE-2023-29383.patch contains a bug that it rejects all
characters that are not control ones, so backup another patch named
"0001-Overhaul-valid_field.patch" from upstream to fix it.

(From OE-Core rev: ab48ab23de6f6bb1f05689c97724140d4bef8faa)

Signed-off-by: Xiangyu Chen <xiangyu.chen@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-04-26 04:03:21 -10:00
Shubham Kulkarni
82be2c179a go-runtime: Security fix for CVE-2022-41722
path/filepath: do not Clean("a/../c:/b") into c:\b on Windows

Backport from bdf07c2e16

(From OE-Core rev: f60637b3c9045656047d6ffcfaadbef5ad1d3d06)

Signed-off-by: Shubham Kulkarni <skulkarni@mvista.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-04-26 04:03:21 -10:00
Sundeep KOKKONDA
d8ff3c3fb3 cargo : non vulnerable cve-2022-46176 added to excluded list
This cve (https://nvd.nist.gov/vuln/detail/CVE-2022-46176) is a security vulnirability when using cargo ssh.
Kirkstone doesn't support rust on-target images and the bitbake using the 'wget' (which uses 'https') for fetching the sources instead of ssh.
So, cargo-native also not vulnerable to this cve and so added to excluded list.

(From OE-Core rev: 7e4037fd0a66a860b4809be72a89e2de97960a17)

Signed-off-by: Sundeep KOKKONDA <sundeep.kokkonda@windriver.com>
Acked-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-04-26 04:03:21 -10:00
Siddharth Doshi
4fa1c52c9e curl: Security fix for CVE-2023-27535, CVE-2023-27536, CVE-2023-27538
Upstream-Status: Backport from [ed5095ed94, 8f4608468b, af369db4d3, af369db4d3]

(From OE-Core rev: 0b35659c895e6ff2690d42f976169e4a65be07e6)

Signed-off-by: Siddharth Doshi <sdoshi@mvista.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-04-26 04:03:21 -10:00
Hitendra Prajapati
be5ebd6b3f ruby: CVE-2023-28756 ReDoS vulnerability in Time
Upstream-Status: Backport from 957bb7cb81

(From OE-Core rev: 0f8eb0505e19ccd27e1b91f27285a9fc87f2aa93)

Signed-off-by: Hitendra Prajapati <hprajapati@mvista.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-04-26 04:03:21 -10:00
Frank de Brabander
ee5ff08d87 bitbake: bin/utils: Ensure locale en_US.UTF-8 is available on the system
Get rid of the duplicate code and add extra check that the
locale en_US.UTF-8 is available on the system. This new helper
method is now located right above the method filter_environment()
which sets LC_ALL environment variable to 'en_US.UTF-8'.

[YOCTO #10165]

(Bitbake rev: 0c6f86b60cfba67c20733516957c0a654eb2b44c)

Signed-off-by: Frank de Brabander <debrabander@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit a4ce040a6fd540a1cac52f808f909f9fcf8c961c)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-04-26 04:03:21 -10:00
Peter Marko
fa856e0dac package.bbclass: correct check for /build in copydebugsources()
Newly introduced kirkstone-only commit
https://git.openembedded.org/openembedded-core/commit/?h=kirkstone&id=80839835ec9fcb63069289225a3c1af257ffdef7
broke builds with externalsrc in Gitlab-CI.
This is yocto-4.0.9 regression.

It checks if directory starts with "build" instead of
if checking if it equals to "build".
Gitlab-CI uses directory "/builds" which matches the check
but directory /build does not exist, only /builds.
After successful check it tries to move this non-existent
directory which does not exists and thus do_package fails.

(From OE-Core rev: b67e714b367a08fdeeeff68c2d9495ec9bc07304)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-04-19 04:45:00 -10:00
Mark Hatle
29f64c072c openssl: Move microblaze to linux-latomic config
When building with the previous a number of atomic functions come back as
undefined.  Switching to linux-latomic fixes this.

(From OE-Core rev: 88d5bf78ffb1d120df48139b1ed3c2e3fa8310d0)

(From OE-Core rev: 26b4db753c4f2080a132fb176b514efafa3ff8e3)

Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-04-19 04:45:00 -10:00
Joe Slater
217a47bdb4 go: fix CVE-2022-41724, 41725
Backport from go-1.19.  The godebug package is needed by
the fix to CVE-2022-41725.

Mostly a cherry-pick but exceptions are noted in comments
marked "backport".

(From OE-Core rev: e5cf04f55b4849ae6db1253b39ad8b037cf01af4)

Signed-off-by: Joe Slater <joe.slater@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-04-19 04:45:00 -10:00
Pawan Badganchi
25aa5dfcae tiff: Add fix for CVE-2022-4645
Below patch fixes the CVE-2022-4645 as well.

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

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

(From OE-Core rev: d1aa26fe8170937508a4d2242001892cea84d29a)

Signed-off-by: Pawan Badganchi <Pawan.Badganchi@kpit.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-04-19 04:45:00 -10:00
Hitendra Prajapati
762c35a049 curl: CVE-2023-27534 SFTP path resolving discrepancy
Upstream-Status: Backport from 4e2b52b5f7

(From OE-Core rev: 7919a5a5eaa2689db9f0e8110b923bbfe0a610ab)

Signed-off-by: Hitendra Prajapati <hprajapati@mvista.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-04-19 04:44:59 -10:00
Hitendra Prajapati
7fdc49e7ae curl: CVE-2023-27533 TELNET option IAC injection
Upstream-Status: Backport from 0c28ba2faa && 538b1e79a6

(From OE-Core rev: ff795872530975a014ae23001a4b014449783a0e)

Signed-off-by: Hitendra Prajapati <hprajapati@mvista.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-04-19 04:44:59 -10:00
Yash Shinde
dea0c1e1f5 binutils : Fix CVE-2023-1579
Upstream-Status: Backport [https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=3e307d538c351aa9327cbad672c884059ecc20dd]

(From OE-Core rev: d478e7ea0bb897e13d86c476966924ef9927f11a)

Signed-off-by: Yash Shinde <Yash.Shinde@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-04-19 04:44:59 -10:00
Steve Sakoman
09def309f9 poky.conf: bump version for 4.0.9
(From meta-yocto rev: 15fd5faf510329a8022b60c53576eb76451d4358)

Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-11 11:31:52 +01:00
Michael Halstead
bba0906968 uninative: Upgrade to 3.9 to include glibc 2.37
Update uninative to work with the new glibc 2.37.

(From OE-Core rev: ff4b57ffff903a93b710284c7c7f916ddd74712f)

Signed-off-by: Michael Halstead <mhalstead@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-11 11:31:52 +01:00
Michael Halstead
2890968bbc uninative: Upgrade to 3.8.1 to include libgcc
Including libgcc solves issues with libpthread.

(From OE-Core rev: 6c58a2a36d9f39c219503ed921f42063727164db)

Signed-off-by: Michael Halstead <mhalstead@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-11 11:31:52 +01:00
Alexander Kanavin
312dfcc29b patchelf: replace a rejected patch with an equivalent uninative.bbclass tweak
This was the original reason to add the patch:
https://git.openembedded.org/openembedded-core/commit/?id=18efcbcb896239c64fedd009ce57f3f0c668cbc0

and this is the upstream discussion which suggests handling
read-only files explicitly outside of patchelf:
https://github.com/NixOS/patchelf/pull/89

(From OE-Core rev: 163e2d5defebab262a5ec6fa9885deedace538f2)

Signed-off-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>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-11 11:31:52 +01:00
Simone Weiss
34d843dada json-c: Add ptest for json-c
Adapt json-c recipe to compile and deploy a ptest for json-c.
Also add a small script for executing the tests.
All tests were successful on a trial and took around 20 seconds.

(From OE-Core rev: 7d588d0727d49dcf04d7c3d8a4ec23ca2f6cc56d)

Signed-off-by: Simone Weiß <simone.weiss@elektrobit.com>
Signed-off-by: Kai Tomerius <kai.tomerius@elektrobit.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 757a5fbdeed58573c40d6e21475cc516aa49fd1c)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-11 11:31:52 +01:00
pawan
b28cef7e74 curl: Add fix for CVE-2023-23916
Add below patch to fix CVE-2023-23916

CVE-2023-23916.patch

Link: https://curl.se/docs/CVE-2023-23916.html

(From OE-Core rev: 1b10502deb6a542acfb9dc62dbd916e8299314da)

Signed-off-by: pawan <badganchipv@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-11 11:31:52 +01:00
Shubham Kulkarni
665df01042 go-runtime: Security fix for CVE-2022-41723
Disable cmd/internal/moddeps test, since this update includes PRIVATE
track fixes.

Backport from 5c3e11bd0b

(From OE-Core rev: 7440ebac50813e5df73da2d660a50fa97de650de)

Signed-off-by: Shubham Kulkarni <skulkarni@mvista.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-11 11:31:52 +01:00
Khem Raj
e628a4494d rsync: Turn on -pedantic-errors at the end of 'configure'
This helps in building rsync without autoconf patch, since it will be a
while that the round trip is made, better to apply this patch here until
next release of autoconf.

(From OE-Core rev: 11522b98697befcf13076a90cec4f8ade1fa0645)

(From OE-Core rev: 3eeab90fd45a1e8de6d9d16dfdec79c72639614b)

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 8d6b8fb086)
Signed-off-by: pawan <badganchipv@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-11 11:31:52 +01:00
Khem Raj
6e89e71679 rsync: Add missing prototypes to function declarations
(From OE-Core rev: c53d465865d4a9c109322074c2653a3a8b665238)

(From OE-Core rev: 4ddd3559a3b6fbca3d4959be8762f44e4e948f7c)

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 51d8e0e20e)
Signed-off-by: pawan <badganchipv@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-11 11:31:52 +01:00
Ross Burton
4c5a969494 scripts/lib/buildstats: handle top-level build_stats not being complete
If we try to parse a buildstats directory which was either aborted or
is still being built then the top-level build_stats file doesn't
contain an elapsed value which causes an exception:

UnboundLocalError: local variable 'elapsed' referenced before assignment

Default both start and elapsed to 0 so that the parse succeeds.

(From OE-Core rev: 19815bb76e414a1c1fd8d31a84492d72dd29205e)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 701d985aa8f2e9c2b9c0736fa25b424f3701889e)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-11 11:31:52 +01:00
Peter Marko
739b324c24 gcc-shared-source: do not use ${S}/.. in deploy_source_date_epoch
This function is referencing '${S}/..'.
It uses ${S} only as good known directory path to start
traversing from, and it does not need it to exist or be populated.
If ${S} does not exist yet, the function will fail because
it cannot evaluate path .. from non-existing directory.

Reproducer (verified in master and kirkstone):
  bitbake gcc -c deploy_source_date_epoch
  bitbake gcc -c cleansstate
  rm -rf build/tmp
  bitbake gcc -c deploy_source_date_epoch

(From OE-Core rev: 728018bbfe1de53661881a05e0359083ad544f97)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 42661a59cda164b2d236ffc35b4d8cf43312b677)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-11 11:31:52 +01:00
Martin Jansa
5ea644bb53 bmap-tools: switch to main branch
* master branch was removed upstream:
  downloads/git2/github.com.intel.bmap-tools $ git remote prune origin
  Pruning origin
  URL: https://github.com/intel/bmap-tools
   * [pruned] refs/heads/master
   * [pruned] refs/pull/73/merge

* downloads/git2/github.com.intel.bmap-tools $ git branch -a --contains c0673962a8ec1624b5189dc1d24f33fe4f06785a
  main
  release-3.0

(From OE-Core rev: 81223013571ccf4730ca1320b7ac0cd54548ec0a)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 369fee186d6916322b9be9d936b654d0c5910cb3)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-11 11:31:52 +01:00
Martin Jansa
e22ad0c0a1 selftest: devtool: set BB_HASHSERVE_UPSTREAM when setting SSTATE_MIRROR
* with my build/conf/local.conf:
  SSTATE_DIR = "/OE/build/poky/build/sstate-cache"
  these devtool tests will first set own SSTATE_DIR and the original one set as SSTATE_MIRROR:

2023-03-11 11:51:46,837 - oe-selftest - INFO - test_devtool_update_recipe_append (devtool.DevtoolUpdateTests.test_devtool_update_recipe_append)
2023-03-11 11:51:46,846 - oe-selftest - DEBUG - Appending to: /OE/build/poky/build/build-st-2023-03-11-patch2/devtool.DevtoolUpdateTests.test_devtool_update_recipe_append/build-st/conf/selftest.inc
SSTATE_DIR = "/OE/build/poky/build/build-st-2023-03-11-patch2/devtool.DevtoolUpdateTests.test_devtool_update_recipe_append/build-st/sstate_devtool"
SSTATE_MIRRORS += "file://.* file:////OE/build/poky/build/sstate-cache/PATH"

* but that unfortunately leads to a warning from sanity.bbclass
  about SSTATE_MIRRORS without matching BB_HASHSERVE, because
  BB_HASHSERVE is set to "auto" by default

  these tests failing with:

2023-03-11 11:55:39,610 - oe-selftest - INFO - ======================================================================
2023-03-11 11:55:39,610 - oe-selftest - INFO - FAIL: test_devtool_update_recipe_append_git (devtool.DevtoolUpdateTests.test_devtool_update_recipe_append_git)
2023-03-11 11:55:39,610 - oe-selftest - INFO - ----------------------------------------------------------------------
2023-03-11 11:55:39,611 - oe-selftest - INFO - Traceback (most recent call last):
  File "/OE/build/poky/meta/lib/oeqa/selftest/cases/devtool.py", line 1118, in test_devtool_update_recipe_append_git
    self.assertNotIn('WARNING:', result.output)
AssertionError: 'WARNING:' unexpectedly found in 'NOTE: Starting bitbake server...\nWARNING: You are using a local hash equivalence server but have configured an sstate mirror. This will likely mean no sstate will match from the mirror. You may wish to disable the hash equivalence use (BB_HASHSERVE), or use a hash equivalence server alongside the sstate mirror.\nLoading cache...done.\nLoaded 0 entries from dependency cache.\nParsing recipes...done.\nParsing of 947 .bb files complete (0 cached, 947 parsed). 1764 targets, 52 skipped, 0 masked, 0 errors.\n\nSummary: There was 1 WARNING message.\nINFO: Updating SRCREV in recipe mtd-utils-selftest_git.bb\nNOTE: Writing append file /tmp/devtoolqa1m2lh02v/layer/recipes-devtools/mtd/mtd-utils-selftest_git.bbappend'
----------------------------------------------------------------------

* just setting BB_HASHSERVE to empty doesn't work, because then we
  would need to disable OEEquivHash as well as it fails with:

  ERROR: OEEquivHash requires BB_HASHSERVE to be set

(From OE-Core rev: e634a87d2f4f1e57d28c4e7462d56515ed2ea9ef)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 96d4392ee9c5c3674e5c4c4512f527a2ca6765e4)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-11 11:31:52 +01:00
Randy MacLeod
66e92925d4 vim: upgrade 9.0.1403 -> 9.0.1429
Fixes: CVE-2023-1127, CVE-2023-1170, CVE-2023-1175,
       CVE-2023-1264, CVE-2023-1355

(From OE-Core rev: e578b685a7fca4e8a40b1863ec58b71f6c4d263c)

Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 2415072c3800feb164dd4d1fa0b56bd141a5cbd8)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-11 11:31:52 +01:00
Bruce Ashfield
74f0865299 linux-yocto/5.15: update to v5.15.103
Updating  to the latest korg -stable release that comprises
the following commits:

    8020ae3c051d Linux 5.15.103
    10a72c677bce Makefile: use -gdwarf-{4|5} for assembler for DEBUG_INFO_DWARF{4|5}
    6e7bc50f97c9 KVM: VMX: Fix crash due to uninitialized current_vmcs
    61e5087231f3 KVM: VMX: Introduce vmx_msr_bitmap_l01_changed() helper
    1f47cba9364f KVM: nVMX: Don't use Enlightened MSR Bitmap for L3
    2153dd644ce4 fs: hold writers when changing mount's idmapping
    8c3be6925a92 UML: define RUNTIME_DISCARD_EXIT
    f616fa79d536 xfs: remove xfs_setattr_time() declaration
    5588657f418c KVM: fix memoryleak in kvm_init()
    4441a9009193 tools bpftool: Fix compilation error with new binutils
    1c27fab24333 tools bpf_jit_disasm: Fix compilation error with new binutils
    97f005c0bdba tools perf: Fix compilation error with new binutils
    451c9d7b1616 tools include: add dis-asm-compat.h to handle version differences
    51b99dc38c1a tools build: Add feature test for init_disassemble_info API changes
    381492ef0c51 sh: define RUNTIME_DISCARD_EXIT
    1e49bb9ba912 s390: define RUNTIME_DISCARD_EXIT to fix link error with GNU ld < 2.36
    d517faf3db23 powerpc/vmlinux.lds: Don't discard .rela* for relocatable builds
    4e6708a0f36e powerpc/vmlinux.lds: Define RUNTIME_DISCARD_EXIT
    0bfde8c9bb27 arch: fix broken BuildID for arm64 and riscv
    560a2744cbbf ext4: block range must be validated before use in ext4_mb_clear_bb()
    270422f3e183 ext4: add strict range checks while freeing blocks
    2da16af37847 ext4: add ext4_sb_block_valid() refactored out of ext4_inode_block_valid()
    09546886a0ea ext4: refactor ext4_free_blocks() to pull out ext4_mb_clear_bb()
    48302ee67dd7 filelocks: use mount idmapping for setlease permission check
    513572bb89e8 media: rc: gpio-ir-recv: add remove function
    5f328c9d32b1 media: ov5640: Fix analogue gain control
    4cb302546556 scripts: handle BrokenPipeError for python scripts
    405ec99d1d25 PCI: Add SolidRun vendor ID
    2c75e258adb9 macintosh: windfarm: Use unsigned type for 1-bit bitfields
    6c6f956c9295 alpha: fix R_ALPHA_LITERAL reloc for large modules
    adb939031af3 powerpc/kcsan: Exclude udelay to prevent recursive instrumentation
    e3a62a35f903 powerpc/iommu: fix memory leak with using debugfs_lookup()
    93aa548a339c MIPS: Fix a compilation issue
    e69d841d143b fs: use consistent setgid checks in is_sxid()
    78eecf2e5cd4 attr: use consistent sgid stripping checks
    449badcf876d attr: add setattr_should_drop_sgid()
    7e8a9b53141e fs: move should_remove_suid()
    93395e1184ed attr: add in_group_or_capable()
    0123712492f6 fs: move S_ISGID stripping into the vfs_*() helpers
    9c3a620bbf0c fs: add mode_strip_sgid() helper
    79821ab3284a xfs: set prealloc flag in xfs_alloc_file_space()
    a881c1ef16f1 xfs: fallocate() should call file_modified()
    f8937e4d1d46 xfs: remove XFS_PREALLOC_SYNC
    95aab524e12e xfs: use setattr_copy to set vfs inode attributes
    2115c14c93ec tpm/eventlog: Don't abort tpm_read_log on faulty ACPI address
    b43cb0f08767 watch_queue: fix IOC_WATCH_QUEUE_SET_SIZE alloc error paths
    d15c9ae1c6d9 staging: rtl8723bs: Fix key-store index handling
    7fa3bb1bcabe staging: rtl8723bs: fix placement of braces
    962293f5443c Staging: rtl8723bs: Placing opening { braces in previous line
    890e24564c0a staging: rtl8723bs: clean up comparsions to NULL
    c513043e0afe iommu/amd: Add a length limitation for the ivrs_acpihid command-line parameter
    0fd72f1d1b94 iommu/amd: Fix ill-formed ivrs_ioapic, ivrs_hpet and ivrs_acpihid options
    2af17167804c iommu/amd: Add PCI segment support for ivrs_[ioapic/hpet/acpihid] commands
    ce4bbb2aa9d8 nbd: use the correct block_device in nbd_bdev_reset
    7889dfc19492 irqdomain: Fix mapping-creation race
    a2bc806e95bd ext4: Fix deadlock during directory rename
    07b0aba4adf0 RISC-V: Don't check text_mutex during stop_machine
    d1b47f735f60 s390/ftrace: remove dead code
    3a9418d2c93c riscv: Use READ_ONCE_NOCHECK in imprecise unwinding stack mode
    f3969427fb06 af_unix: fix struct pid leaks in OOB support
    a9f99eacf79f af_unix: Remove unnecessary brackets around CONFIG_AF_UNIX_OOB.
    6a29d71ab421 net: dsa: mt7530: permit port 5 to work without port 6 on MT7621 SoC
    ad7e40ee157b SUNRPC: Fix a server shutdown leak
    64d4eb412761 octeontx2-af: Unlock contexts in the queue context cache in case of fault detection
    03c1cc6f554d net/smc: fix fallback failed while sendmsg with fastopen
    dafde1072202 platform: x86: MLX_PLATFORM: select REGMAP instead of depending on it
    36bcbcaf01d8 netfilter: conntrack: adopt safer max chain length
    a316da050d80 scsi: megaraid_sas: Update max supported LD IDs to 240
    2adc29350a5b net: ethernet: mtk_eth_soc: fix RX data corruption issue
    fe8787c1e4f6 net: phy: smsc: fix link up detection in forced irq mode
    d83813f724ec net: phy: smsc: Cache interrupt mask
    18ab31b8cd37 btf: fix resolving BTF_KIND_VAR after ARRAY, STRUCT, UNION, PTR
    2662c5b1f0ef netfilter: tproxy: fix deadlock due to missing BH disable
    bef8cf77e21c netfilter: ctnetlink: revert to dumping mark regardless of event type
    20fd0607acbf bnxt_en: Avoid order-5 memory allocation for TPA data
    98fa707a52a3 net: phylib: get rid of unnecessary locking
    67431417617d net: stmmac: add to set device wake up flag when stmmac init phy
    af5c333c84e5 drm/msm/dpu: fix len of sc7180 ctl blocks
    4a476285f6d2 bpf, sockmap: Fix an infinite loop error when len is 0 in tcp_bpf_recvmsg_parser()
    c813f7a31614 ice: copy last block omitted in ice_get_module_eeprom()
    3f14457e1584 net: caif: Fix use-after-free in cfusbl_device_notify()
    c2c71922c5e9 net: lan78xx: fix accessing the LAN7800's internal phy specific registers from the MAC driver
    c026917887d1 perf stat: Fix counting when initial delay configured
    fdecfb2603d0 selftests: nft_nat: ensuring the listening side is up before starting the client
    91aceb3844d4 ila: do not generate empty messages in ila_xlat_nl_cmd_get_mapping()
    a5a7f6e6e126 powerpc: dts: t1040rdb: fix compatible string for Rev A boards
    4357bbb921fe nfc: fdp: add null check of devm_kmalloc_array in fdp_nci_i2c_read_device_properties
    04bfc5bcdfc0 bgmac: fix *initial* chip reset to support BCM5358
    60530bfdb647 drm/msm/a5xx: fix context faults during ring switch
    7f854b4803e5 drm/msm/a5xx: fix the emptyness check in the preempt code
    bf66e98285f7 drm/msm/a5xx: fix highest bank bit for a530
    2e8efe8c8dab drm/msm/a5xx: fix setting of the CP_PREEMPT_ENABLE_LOCAL register
    b77c764b4371 drm/msm: Fix potential invalid ptr free
    ced1f5dd6c1d drm/nouveau/kms/nv50: fix nv50_wndw_new_ prototype
    e974d8755578 drm/nouveau/kms/nv50-: remove unused functions
    c50fc503ee1b ext4: Fix possible corruption when moving a directory
    cfb89ceb22fd regulator: core: Use ktime_get_boottime() to determine how long a regulator was off
    e1a078cac3e9 regulator: core: Fix off-on-delay-us for always-on/boot-on regulators
    67a791df1457 regulator: Flag uncontrollable regulators as always_on
    e471e928de97 scsi: core: Remove the /proc/scsi/${proc_name} directory earlier
    463ae58d7c80 riscv: Add header include guards to insn.h
    4dd43ee784a1 riscv: Avoid enabling interrupts in die()
    5ab1d0528b04 RISC-V: Avoid dereferening NULL regs in die()
    6a72729ed6ac arm64: efi: Make efi_rt_lock a raw_spinlock
    14ddb4e6e9de brd: mark as nowait compatible
    5089247d6cf3 block/brd: add error handling support for add_disk()
    5c65f0971247 iommu/vt-d: Fix PASID directory pointer coherency
    8ff7db51d3ed irqdomain: Refactor __irq_domain_alloc_irqs()
    62e4ba36a3d7 ipmi:ssif: Add a timer between request retries
    2fb8b122ba8f ipmi:ssif: Increase the message retry time
    a6ef5a9d7263 f2fs: retry to update the inode page given data corruption
    a517c651f116 f2fs: do not bother checkpoint by f2fs_get_node_info
    e55332319825 f2fs: avoid down_write on nat_tree_lock during checkpoint
    31b5793ca2de udf: Fix off-by-one error when discarding preallocation
    30e29af746ee fs: dlm: start midcomms before scand
    9c9dd2b3ba83 fs: dlm: add midcomms init/start functions
    2e0415522835 fs: dlm: fix log of lowcomms vs midcomms
    c5a23d43c23a KVM: SVM: Process ICR on AVIC IPI delivery failure due to invalid target
    a78a355052ab KVM: SVM: Don't rewrite guest ICR on AVIC IPI virtualization failure
    45bcf4a4f2b1 KVM: Register /dev/kvm as the _very_ last thing during initialization
    0a0ecaf0988b KVM: Pre-allocate cpumasks for kvm_make_all_cpus_request_except()
    3e48a6349d29 KVM: Optimize kvm_make_vcpus_request_mask() a bit
    339e480baafc nfc: change order inside nfc_se_io error path
    01a821aacc64 ext4: zero i_disksize when initializing the bootloader inode
    ca500cf2eceb ext4: fix WARNING in ext4_update_inline_data
    d16576142fb9 ext4: move where set the MAY_INLINE_DATA flag is set
    c5d7c31e1722 ext4: fix another off-by-one fsmap error on 1k block filesystems
    df621af95e89 ext4: fix RENAME_WHITEOUT handling for inline directories
    7349cc5ab32e ext4: fix cgroup writeback accounting with fs-layer encryption
    fd7b8ebc1dd5 staging: rtl8723bs: Pass correct parameters to cfg80211_get_bss()
    0b22cbc05ce2 drm/connector: print max_requested_bpc in state debugfs
    5e0eed414156 drm/amdgpu: fix error checking in amdgpu_read_mm_registers for soc15
    328d069e9c35 x86/CPU/AMD: Disable XSAVES on AMD family 0x17
    92d1caad9f78 fork: allow CLONE_NEWTIME in clone3 flags
    7ba76b2ac187 perf inject: Fix --buildid-all not to eat up MMAP2
    2072e75b4942 btrfs: fix percent calculation for bg reclaim message
    f8cd8754a03a fs: prevent out-of-bounds array speculation when closing a file descriptor
    2ddbd0f967b3 Linux 5.15.102
    cbecbd884e81 staging: rtl8192e: Remove call_usermodehelper starting RadioPower.sh
    515017e952ea staging: rtl8192e: Remove function ..dm_check_ac_dc_power calling a script
    528dbd80ac21 wifi: cfg80211: Partial revert "wifi: cfg80211: Fix use after free for wext"
    bbf9f29bac04 Linux 5.15.101
    cba6bbf501be Revert "drm/i915: Don't use BAR mappings for ring buffers with LLC"
    d214f240b0f6 Linux 5.15.100
    acf252c1f5c3 usb: gadget: uvc: fix missing mutex_unlock() if kstrtou8() fails
    1c7988d5c79f malidp: Fix NULL vs IS_ERR() checking
    545d72ba4c2c scsi: mpt3sas: Remove usage of dma_get_required_mask() API
    953841f959e3 scsi: mpt3sas: re-do lost mpt3sas DMA mask fix
    de1afc58a905 scsi: mpt3sas: Don't change DMA mask while reallocating pools
    8e6612ff8b5d Revert "scsi: mpt3sas: Fix return value check of dma_get_required_mask()"
    72bf6d493c95 drm/virtio: Fix error code in virtio_gpu_object_shmem_init()
    8e62139840c0 media: uvcvideo: Fix race condition with usb_kill_urb
    a1ddee82de80 Bluetooth: hci_sock: purge socket queues in the destruct() callback
    22d021232657 drm/display/dp_mst: Fix down message handling after a packet reception error
    db35e49413a4 drm/display/dp_mst: Fix down/up message handling after sink disconnect
    e23fa593f1ab x86/resctl: fix scheduler confusion with 'current'
    be5d5d0637fd net: tls: avoid hanging tasks on the tx_lock
    e1a3cfdbf5b3 soundwire: cadence: Drain the RX FIFO after an IO timeout
    ecb33d7a5b58 soundwire: cadence: Remove wasted space in response_buf
    473efca280d4 phy: rockchip-typec: Fix unsigned comparison with less than zero
    ffcd94262e0e PCI: Add ACS quirk for Wangxun NICs
    19c4d6c7b049 PCI: loongson: Add more devices that need MRRS quirk
    bb99db06b8b6 kernel/fail_function: fix memory leak with using debugfs_lookup()
    7f1e53f88e8b drivers: base: dd: fix memory leak with using debugfs_lookup()
    09709a49283f drivers: base: component: fix memory leak with using debugfs_lookup()
    b94b39bf3d54 misc: vmw_balloon: fix memory leak with using debugfs_lookup()
    cf042964c2fa tty: pcn_uart: fix memory leak with using debugfs_lookup()
    49ae24f44713 PCI: Take other bus devices into account when distributing resources
    dba6280105e1 PCI: Align extra resources for hotplug bridges properly
    92d6e6bf9cf1 usb: gadget: uvc: Make bSourceID read/write
    14cbfd08551a usb: uvc: Enumerate valid values for color matching
    7e902b949600 USB: ene_usb6250: Allocate enough memory for full object
    95ee8cb26db5 usb: host: xhci: mvebu: Iterate over array indexes instead of using pointer math
    8da78a60f332 USB: gadget: pxa27x_udc: fix memory leak with using debugfs_lookup()
    6236a6d2cdfb USB: gadget: pxa25x_udc: fix memory leak with using debugfs_lookup()
    036ada6ca9ee USB: gadget: lpc32xx_udc: fix memory leak with using debugfs_lookup()
    b0a2663ecbe8 USB: gadget: bcm63xx_udc: fix memory leak with using debugfs_lookup()
    30f9ba2396a1 USB: gadget: gr_udc: fix memory leak with using debugfs_lookup()
    fb284bee1e21 USB: isp1362: fix memory leak with using debugfs_lookup()
    6f12097467ea USB: isp116x: fix memory leak with using debugfs_lookup()
    4a71b15744b8 USB: fotg210: fix memory leak with using debugfs_lookup()
    bb4d5eefb670 USB: sl811: fix memory leak with using debugfs_lookup()
    c6af1dbc99ad USB: uhci: fix memory leak with using debugfs_lookup()
    4322661af6d7 USB: chipidea: fix memory leak with using debugfs_lookup()
    cf52c320cf74 USB: dwc3: fix memory leak with using debugfs_lookup()
    baec889a81b8 PCI: loongson: Prevent LS7A MRRS increases
    19da678d38d2 soundwire: bus_type: Avoid lockdep assert in sdw_drv_probe()
    587b48b18a8a iio: accel: mma9551_core: Prevent uninitialized variable in mma9551_read_config_word()
    2b59fdcaaf24 iio: accel: mma9551_core: Prevent uninitialized variable in mma9551_read_status_word()
    9e58ebb12210 tools/iio/iio_utils:fix memory leak
    54179274476d mei: bus-fixup:upon error print return values of send and receive
    49b326ce8a68 serial: sc16is7xx: setup GPIO controller later in probe
    45083b86141e tty: serial: fsl_lpuart: disable the CTS when send break signal
    f9d9d25ad1f0 tty: fix out-of-bounds access in tty_driver_lookup_tty()
    4be3213e9d79 staging: emxx_udc: Add checks for dma_alloc_coherent()
    6683327b51a6 USB: fix memory leak with using debugfs_lookup()
    b32d922f86f3 media: uvcvideo: Silence memcpy() run-time false positive warnings
    c1343a879cce media: uvcvideo: Quirk for autosuspend in Logitech B910 and C910
    cdccb1c3fcd2 media: uvcvideo: Handle errors from calls to usb_string
    31a8d11d28b5 media: uvcvideo: Handle cameras with invalid descriptors
    57b0ff53f4de media: uvcvideo: Remove format descriptions
    1f11ed61d69d iommu/amd: Fix error handling for pdev_pri_ats_enable()
    77d567091ec3 IB/hfi1: Update RMT size calculation
    5a47bb71b1a9 mfd: arizona: Use pm_runtime_resume_and_get() to prevent refcnt leak
    1b46c2a76c21 bootconfig: Increase max nodes of bootconfig from 1024 to 8192 for DCC support
    0a65cd7379a2 firmware/efi sysfb_efi: Add quirk for Lenovo IdeaPad Duet 3
    2e07fa2e30d4 kernel/printk/index.c: fix memory leak with using debugfs_lookup()
    ba279dc7e47a tracing: Add NULL checks for buffer in ring_buffer_free_read_page()
    9c28c74fbd67 thermal: intel: BXT_PMIC: select REGMAP instead of depending on it
    5eaf55b38691 thermal: intel: quark_dts: fix error pointer dereference
    d11f9f030fd8 ASoC: mediatek: mt8195: add missing initialization
    488bc1b823c7 ASoC: zl38060 add gpiolib dependency
    69e997420cb9 ASoC: zl38060: Remove spurious gpiolib select
    35b855381898 ASoC: adau7118: don't disable regulators on device unbind
    3e7d0968203d loop: loop_set_status_from_info() check before assignment
    746d4e369e04 rtc: allow rtc_read_alarm without read_alarm callback
    6e47bb21b63b scsi: ipr: Work around fortify-string warning
    c775a5246151 genirq: Add and use an irq_data_update_affinity helper
    00340ccb5407 genirq: Refactor accessors to use irq_data_get_affinity_mask
    2163cf142272 rtc: sun6i: Always export the internal oscillator
    660e8f2eeafa vc_screen: modify vcs_size() handling in vcs_read()
    72db07cf0d6b tcp: tcp_check_req() can be called from process context
    ac7014af85aa ARM: dts: spear320-hmi: correct STMPE GPIO compatible
    dff967aee88a net/sched: act_sample: fix action bind logic
    850f914efe04 net/sched: act_mpls: fix action bind logic
    da4df0cbdf7c net/sched: act_pedit: fix action bind logic
    5654a12277b0 net/sched: transition act_pedit to rcu and percpu stats
    c494365432dc nfc: fix memory leak of se_io context in nfc_genl_se_io
    6398bd3c4a50 net/mlx5: Geneve, Fix handling of Geneve object id as error code
    48a8c76c7dc6 net/mlx5e: Verify flow_source cap before using it
    2721d966680a 9p/rdma: unmap receive dma buffer in rdma_request()/post_recv()
    8d3fc907d060 9p/xen: fix connection sequence
    fc772313f2da 9p/xen: fix version parsing
    df192270eb72 net: fix __dev_kfree_skb_any() vs drop monitor
    ada4f805c9e4 octeontx2-pf: Use correct struct reference in test condition
    bf5540cbd20e sctp: add a refcnt in sctp_stream_priorities to avoid a nested loop
    dcdddb5f4908 ipv6: Add lwtunnel encap size of all siblings in nexthop calculation
    e306dbee4c98 netfilter: x_tables: fix percpu counter block leak on error path when creating new netns
    dbb3cbbf03b3 netfilter: ebtables: fix table blob use-after-free
    af41b3cd9a92 netfilter: ctnetlink: fix possible refcount leak in ctnetlink_create_conntrack()
    041fdbe73de9 watchdog: sbsa_wdog: Make sure the timeout programming is within the limits
    3e765f7ff256 watchdog: pcwd_usb: Fix attempting to access uninitialized memory
    23cc41c3f19c watchdog: Fix kmemleak in watchdog_cdev_register
    dd7605dd48e5 watchdog: at91sam9_wdt: use devm_request_irq to avoid missing free_irq() in error path
    a27e95a6ff3f um: virt-pci: properly remove PCI device from bus
    6c738b8805c6 um: virtio_uml: move device breaking into workqueue
    b7d5712cf9f4 um: virtio_uml: mark device as unregistered when breaking it
    1b1ef45d48e1 um: virtio_uml: free command if adding to virtqueue failed
    8ba6b0fade97 x86: um: vdso: Add '%rcx' and '%r11' to the syscall clobber list
    ed1d288ec85d netfilter: nf_tables: allow to fetch set elements when table has an owner
    98db4a032244 ext4: use ext4_fc_tl_mem in fast-commit replay path
    aa4d726af72a f2fs: fix to avoid potential memory corruption in __update_iostat_latency()
    3afaaf6f5867 ubi: ubi_wl_put_peb: Fix infinite loop when wear-leveling work failed
    79548ccdd992 ubi: Fix UAF wear-leveling entry in eraseblk_count_seq_show()
    003bb9868a51 ubi: fastmap: Fix missed fm_anchor PEB in wear-leveling after disabling fastmap
    79db0e8323b5 ubifs: ubifs_writepage: Mark page dirty after writing inode failed
    10b6c359e374 ubifs: dirty_cow_znode: Fix memleak in error handling path
    aeb92507ea25 ubifs: Re-statistic cleaned znode count if commit failed
    5ec4c8aca5a2 ubi: Fix possible null-ptr-deref in ubi_free_volume()
    3e29634eb56e ubifs: Fix memory leak in alloc_wbufs()
    95a72417dd13 ubi: Fix unreferenced object reported by kmemleak in ubi_resize_volume()
    53818746e549 ubi: Fix use-after-free when volume resizing failed
    91bc31579e9f ubifs: Reserve one leb for each journal head while doing budget
    2b6d85db0e07 ubifs: do_rename: Fix wrong space budget when target inode's nlink > 1
    8e30559876d8 ubifs: Fix wrong dirty space budget for dirty inode
    8e166cc9b64b ubifs: Rectify space budget for ubifs_xrename()
    de6d6bf150b7 ubifs: Rectify space budget for ubifs_symlink() if symlink is encrypted
    8c3ebc5e3cd0 ubifs: Fix build errors as symbol undefined
    701bb3ed5a88 ubi: ensure that VID header offset + VID header size <= alloc, size
    276a7298af6a um: vector: Fix memory leak in vector_config
    354dfc05bd5f f2fs: allow set compression option of files without blocks
    add8515d59a1 fs: f2fs: initialize fsdata in pagecache_write()
    06fa1a839fae f2fs: use memcpy_{to,from}_page() where possible
    804817f02e2f pwm: stm32-lp: fix the check on arr and cmp registers update
    81ea09ae3040 pwm: sifive: Always let the first pwm_apply_state succeed
    852703ed6d81 pwm: sifive: Reduce time the controller lock is held
    3a75866a5cef objtool: Fix memory leak in create_static_call_sections()
    ea30508b7bb1 fs/jfs: fix shift exponent db_agl2size negative
    8311961a1724 auxdisplay: hd44780: Fix potential memory leak in hd44780_remove()
    7c183dc0af47 net/sched: Retire tcindex classifier
    abddfcf701a5 Linux 5.15.99
    d2fb2739e956 kbuild: Port silent mode detection to future gnu make.
    2da950a044ee wifi: ath9k: use proper statements in conditionals
    7e6eeb5fb3aa arm64: dts: qcom: ipq8074: fix Gen2 PCIe QMP PHY
    6ac2adcc2bff iommu/vt-d: Fix an unbalanced rcu_read_lock/rcu_read_unlock()
    26f8b1ef30f6 media: uvcvideo: Fix memory leak of object map on error exit path
    2137e7c83ed6 qede: avoid uninitialized entries in coal_entry array
    a8da5a8900fa perf intel-pt: pkt-decoder: Add CFE and EVD packets
    922bd6b37276 drm/edid: fix AVI infoframe aspect ratio handling
    4eb6789f9177 drm/i915: Don't use BAR mappings for ring buffers with LLC
    64bcaffa2d5c drm/radeon: Fix eDP for single-display iMac11,2
    6a5f31c3fbf3 drm/i915/quirks: Add inverted backlight quirk for HP 14-r206nv
    5f63c879ca95 vfio/type1: restore locked_vm
    7329ab7f0249 vfio/type1: track locked_vm per dma
    eafb81c50da8 vfio/type1: prevent underflow of locked_vm via exec()
    2fd6f6c8cb35 iommu/vt-d: Avoid superfluous IOTLB tracking in lazy mode
    77ffe5501e02 PCI: Avoid FLR for AMD FCH AHCI adapters
    99eefc2c62e0 PCI: hotplug: Allow marking devices as disconnected during bind/unbind
    2bb559f12e54 PCI/PM: Observe reset delay irrespective of bridge_d3
    b07ded08cd9c MIPS: DTS: CI20: fix otg power gpio
    71f81b6842af riscv: ftrace: Reduce the detour code size to half
    4accfc428fec riscv: ftrace: Remove wasted nops for !RISCV_ISA_C
    f6b5db68b256 riscv, mm: Perform BPF exhandler fixup on page fault
    043d1657cc51 riscv: jump_label: Fixup unaligned arch_static_branch function
    ac5ff022d916 riscv: mm: fix regression due to update_mmu_cache change
    59b83f7b057d RISC-V: add a spin_shadow_stack declaration
    0595cdb58772 scsi: ses: Fix slab-out-of-bounds in ses_intf_remove()
    584892fd29a4 scsi: ses: Fix possible desc_ptr out-of-bounds accesses
    384aa697d8f2 scsi: ses: Fix possible addl_desc_ptr out-of-bounds accesses
    2b28a7d261cb scsi: ses: Fix slab-out-of-bounds in ses_enclosure_data_process()
    6fce2307650a scsi: ses: Don't attach if enclosure has no components
    cb121c4137b2 scsi: qla2xxx: Remove increment of interface err cnt
    5f40ca617ef5 scsi: qla2xxx: Fix erroneous link down
    77a11df33c48 scsi: qla2xxx: Remove unintended flag clearing
    77302fb0e357 scsi: qla2xxx: Fix DMA-API call trace on NVMe LS requests
    476126f14dfe scsi: qla2xxx: Check if port is online before sending ELS
    c54e9311ee0b scsi: qla2xxx: Fix link failure in NPIV environment
    37a38ff7edf4 tools/bootconfig: fix single & used for logical condition
    d41db100bc38 ring-buffer: Handle race between rb_move_tail and rb_check_pages
    145999aed74f ktest.pl: Add RUN_TIMEOUT option with default unlimited
    aab7db9e1e08 ktest.pl: Fix missing "end_monitor" when machine check fails
    0c2f4a234bb2 ktest.pl: Give back console on Ctrt^C on monitor
    fe463fe6aa80 mm/thp: check and bail out if page in deferred queue already
    ef1fcad8548d mm: memcontrol: deprecate charge moving
    d0d794371bde docs: gdbmacros: print newest record
    a16bd95eeb2e remoteproc/mtk_scp: Move clk ops outside send_lock
    505627bebd45 media: ipu3-cio2: Fix PM runtime usage_count in driver unbind
    d15f73b01bce mips: fix syscall_get_nr
    34dbf5dd0711 dax/kmem: Fix leak of memory-hotplug resources
    7eb171ada303 alpha: fix FEN fault handling
    efa228b2e6a4 ceph: update the time stamps and try to drop the suid/sgid
    a73783e4e0c4 rbd: avoid use-after-free in do_rbd_add() when rbd_dev_create() fails
    c6cc86c6d847 fuse: add inode/permission checks to fileattr_get/fileattr_set
    cfa97a3b266a ARM: dts: exynos: correct TMU phandle in Odroid HC1
    70e18548311c ARM: dts: exynos: correct TMU phandle in Odroid XU
    816f83bd2868 ARM: dts: exynos: correct TMU phandle in Exynos5250
    269926de8454 ARM: dts: exynos: correct TMU phandle in Odroid XU3 family
    78a5fa65a5d7 ARM: dts: exynos: correct TMU phandle in Exynos4
    52739e0f7413 ARM: dts: exynos: correct TMU phandle in Exynos4210
    89e99f0b031f ARM: dts: qcom: sdx55: Add Qcom SMMU-500 as the fallback for IOMMU node
    0e22e0477479 dm flakey: fix a bug with 32-bit highmem systems
    ff60b2bb680e dm flakey: don't corrupt the zero page
    673ca7e7872f dm flakey: fix logic when corrupting a bio
    8cbbe0651971 thermal: intel: powerclamp: Fix cur_state for multi package system
    935ba268ac0b qede: fix interrupt coalescing configuration
    fd081afd21eb wifi: cfg80211: Fix use after free for wext
    60e49fe9b7e4 wifi: ath11k: allow system suspend to survive ath11k
    f592cd2f1390 wifi: rtl8xxxu: Use a longer retry limit of 48
    931dc7e232b2 dm: add cond_resched() to dm_wq_work()
    d71a0899e497 dm: send just one event on resize, not two
    61d44a4db2f5 mtd: spi-nor: Fix shift-out-of-bounds in spi_nor_set_erase_type
    afd61540ba77 mtd: spi-nor: spansion: Consider reserved bits in CFR5 register
    73a4cbf91e04 mtd: spi-nor: sfdp: Fix index value for SCCR dwords
    116008ada3d0 ext4: refuse to create ea block when umounted
    a6744e14ce70 ext4: optimize ea_inode block expansion
    c325350d0c54 jbd2: fix data missing when reusing bh which is ready to be checkpointed
    83c4e017fbfd ALSA: hda/realtek: Add quirk for HP EliteDesk 800 G6 Tower PC
    ff9657b1e845 ALSA: ice1712: Do not left ice->gpio_mutex locked in aureon_add_controls()
    345fb368e5f5 io_uring/poll: allow some retries for poll triggering spuriously
    7e8cd208e9c2 io_uring: remove MSG_NOSIGNAL from recvmsg
    dde0d0dfbde2 io_uring/rsrc: disallow multi-source reg buffers
    abd54d87daba io_uring: add a conditional reschedule to the IOPOLL cancelation loop
    337eb887c74d io_uring: mark task TASK_RUNNING before handling resume/task work
    54df6c5edf87 io_uring: handle TIF_NOTIFY_RESUME when checking for task_work
    7697139d5dfd crypto: qat - fix out-of-bounds read
    ffc9d001fed1 irqdomain: Fix domain registration race
    a2a46bd4f40c irqdomain: Drop bogus fwspec-mapping error handling
    27842d6884d7 irqdomain: Look for existing mapping only once
    562e332dd306 irqdomain: Fix disassociation race
    ee82369e29fb irqdomain: Fix association race
    1cb936fee7e7 ima: Align ima_file_mmap() parameters with mmap_file LSM hook
    cb104b880d78 brd: return 0/-error from brd_insert_page()
    113d4b0e12f4 Documentation/hw-vuln: Document the interaction between IBRS and STIBP
    e7f1ddebd9f5 x86/speculation: Allow enabling STIBP with legacy IBRS
    be2710deaed3 x86/microcode/AMD: Fix mixed steppings support
    5830ff467ab3 x86/microcode/AMD: Add a @cpu parameter to the reloading functions
    865af457dd89 x86/microcode/amd: Remove load_microcode_amd()'s bsp parameter
    e1d35d0d1830 x86/kprobes: Fix arch_check_optimized_kprobe check within optimized_kprobe range
    c5a2c2bf0b4f x86/kprobes: Fix __recover_optprobed_insn check optimizing logic
    f46a42130c03 x86/reboot: Disable SVM, not just VMX, when stopping CPUs
    5427c3cee789 x86/reboot: Disable virtualization in an emergency if SVM is supported
    1e3edbabf57a x86/crash: Disable virt in core NMI crash handler to avoid double shootdown
    83a27cd866dd x86/virt: Force GIF=1 prior to disabling SVM (for reboot flows)
    6e46d9ff3ed3 KVM: s390: disable migration mode when dirty tracking is disabled
    21c95b736058 KVM: SVM: hyper-v: placate modpost section mismatch error
    033a4c062124 KVM: SVM: Fix potential overflow in SEV's send|receive_update_data()
    11d4b35674c6 KVM: x86: Inject #GP if WRMSR sets reserved bits in APIC Self-IPI
    999439fd5da5 KVM: Destroy target device if coalesced MMIO unregistration fails
    ac791643e77b RDMA/siw: Fix user page pinning accounting
    a155ad9506f9 udf: Fix file corruption when appending just after end of preallocated extent
    37e74003d81e udf: Detect system inodes linked into directory hierarchy
    e6574337df78 udf: Preserve link count of system files
    c5787d77a5c2 udf: Do not update file length for failed writes to inline files
    9a8d602f0723 udf: Do not bother merging very long extents
    e43adce883e1 udf: Truncate added extents on failed expansion
    aa502e760c26 selftests/landlock: Test ptrace as much as possible with Yama
    6249f305cd34 selftests/landlock: Skip overlayfs tests when not supported
    597ecd95b1f2 ocfs2: fix non-auto defrag path not working issue
    33665d104266 ocfs2: fix defrag path triggering jbd2 ASSERT
    f901c39e670b f2fs: fix cgroup writeback accounting with fs-layer encryption
    117d4f6687b1 f2fs: fix information leak in f2fs_move_inline_dirents()
    936a8383a021 fs: dlm: send FIN ack back in right cases
    e9463d46af47 fs: dlm: move sending fin message into state change handling
    3ed92883b387 fs: dlm: don't set stop rx flag after node reset
    19e99109fb77 exfat: fix inode->i_blocks for non-512 byte sector size device
    9717df94d7d0 exfat: redefine DIR_DELETED as the bad cluster number
    c2c3d86bd4a9 exfat: fix unexpected EOF while reading dir
    0d3902cbcf80 exfat: fix reporting fs error when reading dir beyond EOF
    05103d88482d fs: hfsplus: fix UAF issue in hfsplus_put_super
    2cab8db14566 hfs: fix missing hfs_bnode_get() in __hfs_bnode_create
    6817d13c62db ARM: dts: exynos: correct HDMI phy compatible in Exynos4
    851c34f19c0a ksmbd: do not allow the actual frame length to be smaller than the rfc1002 length
    f9b816c55bea ksmbd: fix wrong data area length for smb2 lock request
    db1c5ec57611 locking/rwsem: Prevent non-first waiter from spinning in down_write() slowpath
    79a0583a31ae btrfs: hold block group refcount during async discard
    0eba9b4a86e8 cifs: Fix uninitialized memory read in smb3_qfs_tcon()
    2c00c08a081e s390/kprobes: fix current_kprobe never cleared after kprobes reenter
    f12874e6a169 s390/kprobes: fix irq mask clobbering on kprobe reenter from post_handler
    76c683864bea s390: discard .interp section
    61e64c322739 s390/extmem: return correct segment type in __segment_load()
    49be6b25acb7 ipmi_ssif: Rename idle state and check
    66db2b9a2dc5 ipmi:ssif: resend_msg() cannot fail
    db44fae4cb19 rtc: pm8xxx: fix set-alarm race
    8b44b4d81598 block: don't allow multiple bios for IOCB_NOWAIT issue
    ce3eb3c37b2c firmware: coreboot: framebuffer: Ignore reserved pixel color bits
    d44d34a22ff0 wifi: rtl8xxxu: fixing transmisison failure for rtl8192eu
    90ca3fa30fc4 drm/shmem-helper: Revert accidental non-GPL export
    bde7dcd77807 nfsd: zero out pointers after putting nfsd_files on COPY setup error
    8c5f6c699241 dm cache: add cond_resched() to various workqueue loops
    01663c215843 dm thin: add cond_resched() to various workqueue loops
    f0c8b85af2f6 drm: panel-orientation-quirks: Add quirk for Lenovo IdeaPad Duet 3 10IGL5
    fbc357c9ad67 HID: logitech-hidpp: Don't restart communication if not necessary
    5a46d8bdaf03 scsi: snic: Fix memory leak with using debugfs_lookup()
    73dbd0f325af pinctrl: at91: use devm_kasprintf() to avoid potential leaks
    52ea47a0ddfb hwmon: (coretemp) Simplify platform device handling
    c713ebf2fe3f gfs2: Improve gfs2_make_fs_rw error handling
    a4b3893e4183 regulator: s5m8767: Bounds check id indexing into arrays
    88001ac08e69 regulator: max77802: Bounds check regulator id against opmode
    4e8c955abc52 ASoC: kirkwood: Iterate over array indexes instead of using pointer math
    9576b7ccc203 ASoC: soc-compress: Reposition and add pcm_mutex
    204233695407 docs/scripts/gdb: add necessary make scripts_gdb step
    5dfe7a5386fd drm/msm/dsi: Add missing check for alloc_ordered_workqueue
    9ae15ebaefc4 drm: amd: display: Fix memory leakage
    a40b97acb817 Revert "fbcon: don't lose the console font across generic->chip driver switch"
    51ab4eb1a25e scsi: lpfc: Fix use-after-free KFENCE violation during sysfs firmware write
    cda2f7efbc2d drm/radeon: free iio for atombios when driver shutdown
    340d1cc503f6 drm/tiny: ili9486: Do not assume 8-bit only SPI controllers
    1f09c5321f03 HID: Add Mapping for System Microphone Mute
    fc4f90d6ebd0 drm/omap: dsi: Fix excessive stack usage
    bb9a5562beb9 drm/amd/display: Fix potential null-deref in dm_resume
    54ba1ec7ed34 drm/amd/display: Revert Reduce delay when sink device not able to ACK 00340h write
    93be5b2dda27 scm: add user copy checks to put_cmsg()
    ad01fa14f65c hv_netvsc: Check status in SEND_RNDIS_PKT completion message
    90c260fddc65 Bluetooth: btusb: Add VID:PID 13d3:3529 for Realtek RTL8821CE
    84e4d4885d0a PM: EM: fix memory leak with using debugfs_lookup()
    dddc132eb0dc PM: domains: fix memory leak with using debugfs_lookup()
    dc39fbd865a9 time/debug: Fix memory leak with using debugfs_lookup()
    49aa49952116 s390/idle: mark arch_cpu_idle() noinstr
    eb1fbdf985cc uaccess: Add minimum bounds check on kernel buffer size
    ce1fb07b7130 coda: Avoid partial allocation of sig_inputArgs
    dca8fd0f7d70 net/mlx5: fw_tracer: Fix debug print
    4d9d7e5e4c79 ACPI: video: Fix Lenovo Ideapad Z570 DMI match
    90fa009c6d51 wifi: mt76: dma: free rx_head in mt76_dma_rx_cleanup
    634986c94c57 tools/power/x86/intel-speed-select: Add Emerald Rapid quirk
    2493966c877f netfilter: nf_tables: NULL pointer dereference in nf_tables_updobj()
    fcf9fb5242d2 m68k: Check syscall_trace_enter() return code
    124ca24e0de9 net: bcmgenet: Add a check for oversized packets
    bcb03f2be982 crypto: hisilicon: Wipe entire pool on error
    f1e093291cd6 clocksource: Suspend the watchdog temporarily when high read latency detected
    e6900ee15d87 thermal: intel: intel_pch: Add support for Wellsburg PCH
    31f4c98ecd17 ACPI: Don't build ACPICA with '-Os'
    57bb8235ba8f ice: add missing checks for PF vsi type
    38f564996906 ice: restrict PTP HW clock freq adjustments to 100, 000, 000 PPB
    b279fa1ceadb inet: fix fast path in __inet_hash_connect()
    1a1f43059afa wifi: mt7601u: fix an integer underflow
    a0f0ce1c8ab9 wifi: brcmfmac: ensure CLM version is null-terminated to prevent stack-out-of-bounds
    f5df8d35b228 x86/bugs: Reset speculation control settings on init
    aa70d1e0f941 timers: Prevent union confusion from unexpected restart_syscall()
    599a9dcef8a7 thermal: intel: Fix unsigned comparison with less than zero
    208065148930 wifi: ath11k: debugfs: fix to work with multiple PCI devices
    4a84fcea596d rcu-tasks: Make rude RCU-Tasks work well with CPU hotplug
    0d9fc1397f71 rcu: Suppress smp_processor_id() complaint in synchronize_rcu_expedited_wait()
    6f2ce125c760 rcu: Make RCU_LOCKDEP_WARN() avoid early lockdep checks
    3a3a5e3f9406 wifi: brcmfmac: Fix potential stack-out-of-bounds in brcmf_c_preinit_dcmds()
    634a5471a6bd wifi: ath9k: Fix use-after-free in ath9k_hif_usb_disconnect()
    a2e4b48d6f9b trace/blktrace: fix memory leak with using debugfs_lookup()
    3538ade9d8c2 blk-iocost: fix divide by 0 error in calc_lcoefs()
    2e68a0f7bc57 ARM: dts: exynos: Use Exynos5420 compatible for the MIPI video phy
    1492fc9b50a4 udf: Define EFSCORRUPTED error code
    de23e98c1c34 rpmsg: glink: Avoid infinite loop on intent for missing channel
    6d24202b8d3d media: saa7134: Use video_unregister_device for radio_dev
    114f768e7314 media: usb: siano: Fix use after free bugs caused by do_submit_urb
    d2512e1c9073 media: i2c: ov7670: 0 instead of -EINVAL was returned
    29962c478e8b media: rc: Fix use-after-free bugs caused by ene_tx_irqsim()
    09fc82a6a7a8 media: imx-jpeg: Apply clk_bulk api instead of operating specific clk
    8f9722ffa432 media: v4l2-jpeg: ignore the unknown APP14 marker
    ecefc14dd1c9 media: v4l2-jpeg: correct the skip count in jpeg_parse_app14_data
    5ed8dde3aa5b media: i2c: imx219: Fix binning for RAW8 capture
    800bb32c7636 media: i2c: imx219: Split common registers from mode tables
    1da495101ef7 media: i2c: ov772x: Fix memleak in ov772x_probe()
    ba54908ae822 media: ov5675: Fix memleak in ov5675_init_controls()
    3969b2ebc660 media: ov2740: Fix memleak in ov2740_init_controls()
    5897fe3ebe82 media: max9286: Fix memleak in max9286_v4l2_register()
    956186b8e2c1 builddeb: clean generated package content
    edc6f486be31 s390/vdso: Drop '-shared' from KBUILD_CFLAGS_64
    4ecc0a347da7 s390/vdso: remove -nostdlib compiler flag
    a26436b90808 powerpc: Remove linker flag from KBUILD_AFLAGS
    60abe015c3b5 media: platform: ti: Add missing check for devm_regulator_get
    954f27086c07 media: ti: cal: fix possible memory leak in cal_ctx_create()
    d4f4aa9ec112 remoteproc: qcom_q6v5_mss: Use a carveout to authenticate modem headers
    bd57756a7e43 IB/hfi1: Fix sdma.h tx->num_descs off-by-one errors
    08210a63eb4f IB/hfi1: Fix math bugs in hfi1_can_pin_pages()
    a495b6a5d027 iommu/vt-d: Allow to use flush-queue when first level is default
    990c539e9c33 iommu/vt-d: Use second level for GPA->HPA translation
    727fb414fe9f iommu/vt-d: Check FL and SL capability sanity in scalable mode
    b0a2bf28af77 iommu/vt-d: Remove duplicate identity domain flag
    db05a58ed435 iommu/vt-d: Fix error handling in sva enable/disable paths
    0bb33c5fe4a0 dmaengine: dw-axi-dmac: Do not dereference NULL structure
    ad222c9af25e dmaengine: sf-pdma: pdma_desc memory leak fix
    f119ef452e2d iommu: Fix error unwind in iommu_group_alloc()
    76e0396313c7 iw_cxgb4: Fix potential NULL dereference in c4iw_fill_res_cm_id_entry()
    3df71bb7e8ad phy: rockchip-typec: fix tcphy_get_mode error case
    295ab6d49ee5 dmaengine: dw-edma: Fix readq_ch() return value truncation
    3d41d9b256ae tty: serial: imx: disable Ageing Timer interrupt request irq
    908e091e1b66 tty: serial: imx: Handle RS485 DE signal active high
    3fe888ce8152 serial: fsl_lpuart: fix RS485 RTS polariy inverse issue
    87674a359ad1 RDMA/irdma: Cap MSIX used to online CPUs + 1
    d9e1dae1e278 usb: max-3421: Fix setting of I/O pins
    9dca64042d85 RDMA/cxgb4: Fix potential null-ptr-deref in pass_establish()
    16603bced2d1 power: supply: remove faulty cooling logic
    c4f590e84a60 iommu/vt-d: Set No Execute Enable bit in PASID table entry
    7bd1d1305c89 usb: gadget: configfs: Restrict symlink creation is UDC already binded
    da589849cfdd usb: gadget: configfs: remove using list iterator after loop body as a ptr
    3d0127aca18f usb: gadget: configfs: use to_usb_function_instance() in cfg (un)link func
    c955f9cf75b7 usb: gadget: configfs: use to_config_usb_cfg() in os_desc_link()
    f12829e5130f usb: musb: mediatek: don't unregister something that wasn't registered
    2aff0632ac6b RDMA/cxgb4: add null-ptr-check after ip_dev_find()
    fcbbf34d7820 tty: serial: fsl_lpuart: Fix the wrong RXWATER setting for rx dma case
    e8fb0f13e45c usb: early: xhci-dbc: Fix a potential out-of-bound memory access
    49bf49312b30 dmaengine: dw-edma: Fix missing src/dst address of interleaved xfers
    834af318db66 fotg210-udc: Add missing completion handler
    b4fe158259fb firmware: dmi-sysfs: Fix null-ptr-deref in dmi_sysfs_register_handle
    ca39a7c65944 drivers: base: transport_class: fix resource leak when transport_add_device() fails
    817b415f481b drivers: base: transport_class: fix possible memory leak
    8d389e363075 driver core: fix resource leak in device_add()
    6cdcee7393d4 misc/mei/hdcp: Use correct macros to initialize uuid_le
    a3c89e8c69a5 VMCI: check context->notify_page after call to get_user_pages_fast() to avoid GPF
    b1cdf1113e21 firmware: stratix10-svc: add missing gen_pool_destroy() in stratix10_svc_drv_probe()
    7f9416f14e86 applicom: Fix PCI device refcount leak in applicom_init()
    4a77ce51f9a8 eeprom: idt_89hpesx: Fix error handling in idt_init()
    4143de03d397 Revert "char: pcmcia: cm4000_cs: Replace mdelay with usleep_range in set_protocol"
    c177d5f24723 serial: tegra: Add missing clk_disable_unprepare() in tegra_uart_hw_init()
    7159dced6ffb tty: serial: fsl_lpuart: clear LPUART Status Register in lpuart32_shutdown()
    d5dcc89c8df8 tty: serial: fsl_lpuart: disable Rx/Tx DMA in lpuart32_shutdown()
    707d954d9b5c PCI: switchtec: Return -EFAULT for copy_to_user() errors
    53b65fa40c01 PCI/IOV: Enlarge virtfn sysfs name buffer
    645384e26f20 usb: typec: intel_pmc_mux: Don't leak the ACPI device reference count
    2a023b47d9f5 usb: typec: intel_pmc_mux: Use the helper acpi_dev_get_memory_resources()
    2dc1dba1d8d3 ACPI: resource: Add helper function acpi_dev_get_memory_resources()
    950c6df6ec6e coresight: cti: Add PM runtime call in enable_store
    ec4808025406 coresight: cti: Prevent negative values of enable count
    4f125de654c4 coresight: etm4x: Fix accesses to TRCSEQRSTEVR and TRCSEQSTR
    4ff283009f55 media: uvcvideo: Check for INACTIVE in uvc_ctrl_is_accessible()
    5052fe8a95a4 media: uvcvideo: Check controls flags before accessing them
    bd3a78ace9bd media: uvcvideo: Use control names from framework
    5f0b4c77e70d media: uvcvideo: Add support for V4L2_CTRL_TYPE_CTRL_CLASS
    c7121f186c1c media: uvcvideo: refactor __uvc_ctrl_add_mapping
    d9eacd945f16 media: uvcvideo: Remove s_ctrl and g_ctrl
    07ab366a9aaf media: uvcvideo: Do not check for V4L2_CTRL_WHICH_DEF_VAL
    0305bf6af005 alpha/boot/tools/objstrip: fix the check for ELF header
    89a0079049f5 kobject: Fix slab-out-of-bounds in fill_kobj_path()
    e8bfba508cf3 kobject: modify kobject_get_path() to take a const *
    2c59650d078b driver core: fix potential null-ptr-deref in device_add()
    18f50b830408 soundwire: cadence: Don't overflow the command FIFOs
    83ce72f41464 i2c: designware: fix i2c_dw_clk_rate() return size to be u32
    d725bc59db96 usb: gadget: fusb300_udc: free irq on the error path in fusb300_probe()
    806d41135051 iio: light: tsl2563: Do not hardcode interrupt trigger type
    0d6282dc2bd3 dmaengine: HISI_DMA should depend on ARCH_HISI
    d901a7fb4069 dmaengine: idxd: Set traffic class values in GRPCFG on DSA 2.0
    6a8a02dcfae1 mfd: pcf50633-adc: Fix potential memleak in pcf50633_adc_async_read()
    413f8b1f8be6 mfd: cs5535: Don't build on UML
    41aed1bddcec objtool: add UACCESS exceptions for __tsan_volatile_read/write
    1ca4adf2e099 printf: fix errname.c list
    3927846a2a53 selftests/ftrace: Fix bash specific "==" operator
    b41a42d11df7 sparc: allow PM configs for sparc32 COMPILE_TEST
    1f3d6661f3f4 perf tools: Fix auto-complete on aarch64
    f9a35cd8f017 perf intel-pt: Do not try to queue auxtrace data on pipe
    bb0a6b5bcebf perf intel-pt: Add support for emulated ptwrite
    6d60fdc1e6a1 perf intel-pt: Add link to the perf wiki's Intel PT page
    ceecd014a8cc perf intel-pt: Add documentation for Event Trace and TNT disable
    b51f0131fd41 perf inject: Use perf_data__read() for auxtrace
    690efcb5827c leds: led-core: Fix refcount leak in of_led_get()
    1cdf973d2b3a perf llvm: Fix inadvertent file creation
    321b8b2b0b2b gfs2: jdata writepage fix
    7cbd5bdb5bd4 cifs: Fix warning and UAF when destroy the MR list
    46cd6c639cdd cifs: Fix lost destroy smbd connection when MR allocate failed
    22f55cbb0605 nfsd: fix race to check ls_layouts
    4abe8b100407 drm/shmem-helper: Fix locking for drm_gem_shmem_get_pages_sgt()
    350f0fc9052d hid: bigben_probe(): validate report count
    0fd999805292 HID: bigben: use spinlock to safely schedule workers
    be0b3f4a10bc HID: bigben_worker() remove unneeded check on report_field
    4dccaf1e45e1 HID: bigben: use spinlock to protect concurrent accesses
    547d18473a16 ASoC: soc-dapm.h: fixup warning struct snd_pcm_substream not declared
    78b4d1e54531 spi: synquacer: Fix timeout handling in synquacer_spi_transfer_one()
    91758289faad NFS: fix disabling of swap
    c78cfb19c9a2 nfs4trace: fix state manager flag printing
    ccbf841c73ef NFSv4: keep state manager thread active if swap is enabled
    24ff9c5cdea9 dm: remove flush_scheduled_work() during local_exit()
    6739473a05ba ASoC: tlv320adcx140: fix 'ti,gpio-config' DT property init
    75eef8cb9d07 hwmon: (mlxreg-fan) Return zero speed for broken fan
    528181646644 spi: bcm63xx-hsspi: Fix multi-bit mode setting
    caed289f95f2 ASoC: codecs: lpass: fix incorrect mclk rate
    110589ecae84 ASoC: codecs: tx-macro: move to individual clks from bulk
    b1c7f77e2831 ASoC: codecs: rx-macro: move to individual clks from bulk
    05fd63e7f640 ASoC: codecs: tx-macro: move clk provider to managed variants
    8ca893710c67 ASoC: codecs: rx-macro: move clk provider to managed variants
    bed34709711a ASoC: codecs: Change bulk clock voting to optional voting in digital codecs
    bf29fda763a9 HID: retain initial quirks set up when creating HID devices
    2098a330b2a6 HID: multitouch: Add quirks for flipped axes
    f6e9b77257c1 scsi: aic94xx: Add missing check for dma_map_single()
    378cc0eec4aa scsi: mpt3sas: Fix a memory leak
    2dc8d09c1e68 drm/amdgpu: fix enum odm_combine_mode mismatch
    8b9415aecb1f hwmon: (ltc2945) Handle error case in ltc2945_value_store
    9cd1a9b7de20 ASoC: dt-bindings: meson: fix gx-card codec node regex
    fecd236ef6be ASoC: mchp-spdifrx: Fix uninitialized use of mr in mchp_spdifrx_hw_params()
    2b346cc075ec ASoC: rsnd: fixup #endif position
    fa077baab8ea ASoC: mchp-spdifrx: disable all interrupts in mchp_spdifrx_dai_remove()
    667782d7ef5b ASoC: mchp-spdifrx: fix controls that works with completion mechanism
    12396e9300da ASoC: mchp-spdifrx: fix return value in case completion times out
    0c4e4d2ccb88 ASoC: mchp-spdifrx: fix controls which rely on rsr register
    e4d1c3ce2fe3 spi: dw_bt1: fix MUX_MMIO dependencies
    5f54a1d08e26 gpio: vf610: connect GPIO label to dev name
    0b64984dfbc4 ASoC: soc-compress.c: fixup private_data on snd_soc_new_compress()
    49cf87919dae drm/mediatek: Clean dangling pointer on bind error path
    62952905e195 drm/mediatek: mtk_drm_crtc: Add checks for devm_kcalloc
    cd98ea8fa15b drm/mediatek: Drop unbalanced obj unref
    088a31fe1edb drm/mediatek: Use NULL instead of 0 for NULL pointer
    2a83e2b5b121 drm/mediatek: dsi: Reduce the time of dsi from LP11 to sending cmd
    be30b05c4a33 drm/msm/dpu: set pdpu->is_rt_pipe early in dpu_plane_sspp_atomic_update()
    f50858d1b66a drm/tegra: firewall: Check for is_addr_reg existence in IMM check
    6f3614226430 gpu: host1x: Don't skip assigning syncpoints to channels
    11d6f70f07b0 pinctrl: mediatek: Initialize variable *buf to zero
    47a117028113 pinctrl: mediatek: Initialize variable pullen and pullup to zero
    b5b81fc1ac08 pinctrl: mediatek: fix coding style
    58151b609821 pinctrl: bcm2835: Remove of_node_put() in bcm2835_of_gpio_ranges_fallback()
    82943a0730e0 drm/msm/mdp5: Add check for kzalloc
    c7ee1772e3c3 drm/msm/dpu: Add check for pstates
    d4ba50614cb3 drm/msm/dpu: Add check for cstate
    f0e9f3e1d6c8 drm/msm: use strscpy instead of strncpy
    c9b6a75aae4d drm/msm/dsi: Allow 2 CTRLs on v2.5.0
    ce9fedc3099e drm: exynos: dsi: Fix MIPI_DSI*_NO_* mode flags
    3a40fd51e81e drm/mipi-dsi: Fix byte order of 16-bit DCS set/get brightness
    15edaafbff75 drm/bridge: lt9611: pass a pointer to the of node
    75b3c2777dbb drm/bridge: lt9611: fix clock calculation
    a2c196f05a30 drm/bridge: lt9611: fix programming of video modes
    24e51dea9885 drm/bridge: lt9611: fix polarity programming
    77ba2d294e16 drm/bridge: lt9611: fix HPD reenablement
    1b5adc8752b0 drm/bridge: lt9611: fix sleep mode setup
    bf661c5e3bc4 drm/msm/dpu: Disallow unallocated resources to be returned
    436fb91cadb8 drm/msm/gem: Add check for kmalloc
    525c43e67d47 ALSA: hda/ca0132: minor fix for allocation size
    399d01375659 drm/msm/adreno: Fix null ptr access in adreno_gpu_cleanup()
    e69f8e959b72 ASoC: fsl_sai: initialize is_dsp_mode flag
    6fd4144985fc ASoC: fsl_sai: Update to modern clocking terminology
    d58b45bbbea8 scsi: qla2xxx: Fix exchange oversubscription for management commands
    2232e689f9d9 scsi: qla2xxx: Fix exchange oversubscription
    9b2aab3da463 scsi: qla2xxx: edif: Fix I/O timeout due to over-subscription
    09af894bc3bd drm/msm: clean event_thread->worker in case of an error
    e76fbfdad503 drm/vc4: hdmi: Correct interlaced timings again
    55f2645e4e12 drm/vc4: hvs: Fix colour order for xRGB1555 on HVS5
    ae8b24e8289b drm/vc4: hvs: Set AXI panic modes
    0f735f232ff5 pinctrl: rockchip: Fix refcount leak in rockchip_pinctrl_parse_groups
    af54707c0cca pinctrl: stm32: Fix refcount leak in stm32_pctrl_get_irq_domain
    b31ad2ecc4f7 pinctrl: qcom: pinctrl-msm8976: Correct function names for wcss pins
    9a01ecc312e7 drm/msm/hdmi: Add missing check for alloc_ordered_workqueue
    1721badebfc8 hwmon: (ftsteutates) Fix scaling of measurements
    11226ab2f99f gpu: ipu-v3: common: Add of_node_put() for reference returned by of_graph_get_port_by_id()
    262f8e5940c6 drm: tidss: Fix pixel format definition
    d2991e6b3002 drm/vc4: dpi: Fix format mapping for RGB565
    8e04aaffb6de drm/vc4: dpi: Add option for inverting pixel clock and output enable
    1f9836f95271 drm/vkms: Fix null-ptr-deref in vkms_release()
    bad13de76488 drm/vkms: Fix memory leak in vkms_init()
    309e785bae07 drm/bridge: megachips: Fix error handling in i2c_register_driver()
    b02742255620 drm: mxsfb: DRM_MXSFB should depend on ARCH_MXS || ARCH_MXC
    da56b06f3828 drm/bridge: ti-sn65dsi83: Fix delay after reset deassert to match spec
    d72f8548a613 drm/fourcc: Add missing big-endian XRGB1555 and RGB565 formats
    d06e827a65a6 drm: Fix potential null-ptr-deref due to drmm_mode_config_init()
    50c75e7ce64c sefltests: netdevsim: wait for devlink instance after netns removal
    1a452b449a29 selftest: fib_tests: Always cleanup before exit
    96cf406dea06 net: bcmgenet: fix MoCA LED control
    f6df58aa15f7 l2tp: Avoid possible recursive deadlock in l2tp_tunnel_register()
    f7854541b02e selftests/net: Interpret UDP_GRO cmsg data as an int value
    75ee94229062 irqchip/irq-bcm7120-l2: Set IRQ_LEVEL for level triggered interrupts
    3a413b05c66e irqchip/irq-brcmstb-l2: Set IRQ_LEVEL for level triggered interrupts
    95ab0725c521 bpf: Fix global subprog context argument resolution logic
    bfc344d1e78c can: esd_usb: Move mislocated storage of SJA1000_ECC_SEG bits in case of a bus error
    f5aaf140ab1c thermal/drivers/hisi: Drop second sensor hi3660
    2d20f9b6dd81 wifi: mac80211: make rate u32 in sta_set_rate_info_rx()
    62ff301aa492 crypto: crypto4xx - Call dma_unmap_page when done
    74fe2bf6746e ACPI: resource: Do IRQ override on all TongFang GMxRGxx
    b577d0bde456 ACPI: resource: Add IRQ overrides for MAINGEAR Vector Pro 2 models
    e0ae2d90bc0c selftests/bpf: Fix out-of-srctree build
    15fe03e5dd05 wifi: mwifiex: fix loop iterator in mwifiex_update_ampdu_txwinsize()
    f15ef0ebcf56 wifi: iwl4965: Add missing check for create_singlethread_workqueue()
    505c74c4c0b1 wifi: iwl3945: Add missing check for create_singlethread_workqueue
    5ac2f1e3bbe6 RISC-V: time: initialize hrtimer based broadcast clock event device
    e97dd92c3611 m68k: /proc/hardware should depend on PROC_FS
    b677cb4f0b6b crypto: rsa-pkcs1pad - Use akcipher_request_complete
    99e8e6fd70a1 rds: rds_rm_zerocopy_callback() correct order for list_add_tail()
    d7bd166859fe libbpf: Fix alen calculation in libbpf_nla_dump_errormsg()
    b8f6c28ce1cf s390/ap: fix status returned by ap_qact()
    900a0c25a653 s390/ap: fix status returned by ap_aqic()
    0e872b4da7c6 Bluetooth: hci_qca: get wakeup status from serdev device handle
    31a288a4df7f Bluetooth: L2CAP: Fix potential user-after-free
    bf1b79d57e44 OPP: fix error checking in opp_migrate_dentry()
    db6efde0ab80 tap: tap_open(): correctly initialize socket uid
    67f9f02928a3 tun: tun_chr_open(): correctly initialize socket uid
    a8353cfb4eec net: add sock_init_data_uid()
    15a66714bf28 s390/vmem: fix empty page tables cleanup under KASAN
    6ce9a22fc021 s390/mem_detect: fix detect_memory() error handling
    856fc2195494 irqchip/ti-sci: Fix refcount leak in ti_sci_intr_irq_domain_probe
    88cb93d3a16f irqchip/irq-mvebu-gicp: Fix refcount leak in mvebu_gicp_probe
    d6c66c468897 irqchip/alpine-msi: Fix refcount leak in alpine_msix_init_domains
    4401b4858557 irqchip: Fix refcount leak in platform_irqchip_probe
    a7724a7c2236 net/mlx5: Enhance debug print in page allocation failure
    a25ff23ba2d7 mt76: mt7915: fix polling firmware-own status
    9af6aa18b4e8 bpftool: profile online CPUs instead of possible
    457139238f34 crypto: ccp - Flush the SEV-ES TMR memory before giving it to firmware
    68c1cfd01332 crypto: ccp - Refactor out sev_fw_alloc()
    13cb7851a5b1 leds: led-class: Add missing put_device() to led_put()
    912eb10b6564 crypto: xts - Handle EBUSY correctly
    55a7f88059c8 x86/microcode: Adjust late loading result reporting message
    36b6fc833437 x86/microcode: Check CPU capabilities after late microcode update correctly
    de6e20f3f33e x86/microcode: Add a parameter to microcode_check() to store CPU capabilities
    a9e76b276b10 x86/microcode: Print previous version of microcode after reload
    6d2b3a319144 x86/microcode: Default-disable late loading
    dce39c10d885 x86/microcode: Rip out the OLD_INTERFACE
    54aa76ad5f01 x86: Mark stop_this_cpu() __noreturn
    e4de2b98c4bd powercap: fix possible name leak in powercap_register_zone()
    36ec108b7bd7 crypto: seqiv - Handle EBUSY correctly
    840a1d3b77c1 crypto: essiv - Handle EBUSY correctly
    416eb7cc967d crypto: ccp - Failure on re-initialization due to duplicate sysfs filename
    3496c1b3f500 ACPI: battery: Fix missing NUL-termination with large strings
    ac75c78f8f76 wifi: cfg80211: Fix extended KCK key length check in nl80211_set_rekey_data()
    53c8a256e5d3 wifi: ath11k: Fix memory leak in ath11k_peer_rx_frag_setup
    1af7eacfad45 wifi: ath9k: Fix potential stack-out-of-bounds write in ath9k_wmi_rsp_callback()
    61490d271027 wifi: ath9k: hif_usb: clean up skbs if ath9k_hif_usb_rx_stream() fails
    f1cdbe94f728 ath9k: htc: clean up statistics macros
    4adfc9eb8a45 ath9k: hif_usb: simplify if-if to if-else
    c0c0614f143b wifi: ath9k: htc_hst: free skb in ath9k_htc_rx_msg() if there is no callback function
    88f6608c7ede wifi: orinoco: check return value of hermes_write_wordrec()
    35fb0e275af1 wifi: rtl8xxxu: Fix memory leaks with RTL8723BU, RTL8192EU
    ae17414de71b thermal/drivers/tsens: limit num_sensors to 9 for msm8939
    80726a391973 thermal/drivers/tsens: fix slope values for msm8939
    e991430d2375 thermal/drivers/tsens: Sort out msm8976 vs msm8956 data
    df56f5265e73 thermal/drivers/tsens: Add compat string for the qcom,msm8960
    21cb4e5700be thermal/drivers/tsens: Drop msm8976-specific defines
    801d10065b8a ACPICA: nsrepair: handle cases without a return value correctly
    0cf3af4de06a crypto: ccp - Avoid page allocation failure warning for SEV_GET_ID2
    9ae0f82aa70b lib/mpi: Fix buffer overrun when SG is too long
    d215e32fe18a rcu-tasks: Fix synchronize_rcu_tasks() VS zap_pid_ns_processes()
    f7dc606a47d3 rcu-tasks: Remove preemption disablement around srcu_read_[un]lock() calls
    a0818534fb64 rcu-tasks: Improve comments explaining tasks_rcu_exit_srcu purpose
    bcaa8b8fc1f1 genirq: Fix the return type of kstat_cpu_irqs_sum()
    4222cc9e7912 ACPICA: Drop port I/O validation for some regions
    2b56df9102a8 crypto: x86/ghash - fix unaligned access in ghash_setkey()
    4f47453c39f3 wifi: wl3501_cs: don't call kfree_skb() under spin_lock_irqsave()
    f19c9ed16294 wifi: libertas: cmdresp: don't call kfree_skb() under spin_lock_irqsave()
    b9294aedfb17 wifi: libertas: main: don't call kfree_skb() under spin_lock_irqsave()
    e9c889b0c458 wifi: libertas: if_usb: don't call kfree_skb() under spin_lock_irqsave()
    068e986f2ba8 wifi: libertas_tf: don't call kfree_skb() under spin_lock_irqsave()
    ddb864ea9ca2 wifi: brcmfmac: unmap dma buffer in brcmf_msgbuf_alloc_pktid()
    e8ef89e5b89e wifi: brcmfmac: fix potential memory leak in brcmf_netdev_start_xmit()
    5706d00fde3f wifi: wilc1000: fix potential memory leak in wilc_mac_xmit()
    9424ea9d557e wifi: ipw2200: fix memory leak in ipw_wdev_init()
    345692e96bb7 wifi: ipw2x00: don't call dev_kfree_skb() under spin_lock_irqsave()
    d78d85d84a44 libbpf: Fix btf__align_of() by taking into account field offsets
    0c962dcd6bf6 wifi: rtlwifi: Fix global-out-of-bounds bug in _rtl8812ae_phy_set_txpower_limit()
    507ad94346da wifi: rtl8xxxu: don't call dev_kfree_skb() under spin_lock_irqsave()
    037f84c0bfae wifi: libertas: fix memory leak in lbs_init_adapter()
    8722f96adece wifi: iwlegacy: common: don't call dev_kfree_skb() under spin_lock_irqsave()
    53aa5137560a wifi: rtlwifi: rtl8723be: don't call kfree_skb() under spin_lock_irqsave()
    993cd8cf5442 wifi: rtlwifi: rtl8188ee: don't call kfree_skb() under spin_lock_irqsave()
    7d2cb8abaad7 wifi: rtlwifi: rtl8821ae: don't call kfree_skb() under spin_lock_irqsave()
    b56e60b3b158 wifi: rsi: Fix memory leak in rsi_coex_attach()
    3d30678a59af block: bio-integrity: Copy flags when bio_integrity_payload is cloned
    cabad071ab17 arm64: dts: qcom: pmk8350: Use the correct PON compatible
    0e12d7725d58 arm64: dts: qcom: pmk8350: Specify PBS register for PON
    2936952fa626 KEYS: asymmetric: Fix ECDSA use via keyctl uapi
    a5fa5a41791c x86/perf/zhaoxin: Add stepping check for ZXC
    2c36c390a749 sched/rt: pick_next_rt_entity(): check list_entry
    3f191c2cc567 sched/deadline,rt: Remove unused parameter from pick_next_[rt|dl]_entity()
    544a552be086 s390/dasd: Fix potential memleak in dasd_eckd_init()
    a00cf3619f19 arm64: dts: qcom: msm8992-lg-bullhead: Correct memory overlaps with the SMEM and MPSS memory regions
    8173defc3635 blk-mq: correct stale comment of .get_budget
    7dd5f83c1149 blk-mq: remove stale comment for blk_mq_sched_mark_restart_hctx
    5eb99e7a80fc blk-mq: avoid sleep in blk_mq_alloc_request_hctx
    20b9d7b4e0e6 arm64: dts: mediatek: mt7622: Add missing pwm-cells to pwm node
    88022f659f63 arm64: dts: mt8192: Fix CPU map for single-cluster SoC
    770e769834e1 ARM: dts: imx7s: correct iomuxc gpr mux controller cells
    2fe22748d511 ARM: dts: sun8i: nanopi-duo2: Fix regulator GPIO reference
    762c821b97a7 arm64: dts: meson: bananapi-m5: switch VDDIO_C pin to OPEN_DRAIN
    e29709ba5847 arm64: dts: renesas: beacon-renesom: Fix gpio expander reference
    3f5ec3c335dd locking/rwsem: Disable preemption in all down_read*() and up_read() code paths
    ab4d47a343da locking/rwsem: Optimize down_read_trylock() under highly contended case
    ac0e5a181eff arm64: dts: amlogic: meson-sm1-odroid-hc4: fix active fan thermal trip
    f4891e5725a0 arm64: dts: amlogic: meson-gxbb-kii-pro: fix led node name
    665bdfabec52 arm64: dts: amlogic: meson-gxl-s905d-phicomm-n1: fix led node name
    f0b5101a6432 arm64: dts: amlogic: meson-sm1-bananapi-m5: fix adc keys node names
    ae03ae3b6b93 arm64: dts: amlogic: meson-gx-libretech-pc: fix update button name
    5be0df1849b6 arm64: dts: amlogic: meson-gxl: add missing unit address to eth-phy-mux node name
    7a5b8cd5622b arm64: dts: amlogic: meson-gx: add missing unit address to rng node name
    5c1ce648c6c3 arm64: dts: amlogic: meson-gxl-s905d-sml5442tw: drop invalid clock-names property
    d089142bcc73 arm64: dts: amlogic: meson-gx: add missing SCPI sensors compatible
    f562cc37f0f0 arm64: dts: amlogic: meson-axg: fix SCPI clock dvfs node name
    334bb3461204 arm64: dts: amlogic: meson-gx: fix SCPI clock dvfs node name
    88083a25d80a ARM: imx: Call ida_simple_remove() for ida_simple_get
    abfdfa339675 ARM: dts: exynos: correct wr-active property in Exynos3250 Rinato
    70aac3c6b14d arm64: dts: ti: k3-j7200: Fix wakeup pinmux range
    c42defea2db0 ARM: s3c: fix s3c64xx_set_timer_source prototype
    af48760133f1 ARM: bcm2835_defconfig: Enable the framebuffer
    37858e17e45e ARM: OMAP1: call platform_device_put() in error case in omap1_dm_timer_init()
    89895442387d arm64: dts: meson: remove CPU opps below 1GHz for G12A boards
    69c7a270357a arm64: dts: qcom: ipq8074: correct PCIe QMP PHY output clock names
    feb8c71f015d arm64: dts: qcom: ipq8074: fix Gen3 PCIe node
    1563af0f28af arm64: dts: qcom: ipq8074: correct Gen2 PCIe ranges
    e88204931d9a arm64: dts: qcom: ipq8074: fix Gen3 PCIe QMP PHY
    d9df682bcea5 arm64: dts: qcom: ipq8074: fix PCIe PHY serdes size
    a55a645aa303 arm64: dts: qcom: Fix IPQ8074 PCIe PHY nodes
    dd3d021ae547 arm64: dts: qcom: ipq8074: correct USB3 QMP PHY-s clock output names
    8a5d81afa6e1 arm64: dts: qcom: msm8992-bullhead: Disable dfps_data_mem
    76e794cfd137 arm64: dts: qcom: msm8992-bullhead: Fix cont_splash_mem size
    10c5fae6f99d arm64: dts: msm8992-bullhead: add memory hole region
    410028a170f3 arm64: dts: meson-gx: Fix the SCPI DVFS node name and unit address
    a240ab41b3bc arm64: dts: meson-g12a: Fix internal Ethernet PHY unit name
    472c333be2c2 arm64: dts: meson-gx: Fix Ethernet MAC address unit name
    b63bb187696c arm64: dts: qcom: sc7280: correct SPMI bus address cells
    9e4063237957 arm64: dts: qcom: sc7180: correct SPMI bus address cells
    6ca79943f5e3 arm64: dts: qcom: sdm845-db845c: fix audio codec interrupt pin name
    e192005e3f69 arm64: dts: mediatek: mt8183: Fix systimer 13 MHz clock description
    1cc12d10d13a ARM: zynq: Fix refcount leak in zynq_early_slcr_init
    a1d42650cf29 arm64: dts: imx8m: Align SoC unique ID node unit address
    61ecb2df6923 arm64: dts: qcom: sm6125: Reorder HSUSB PHY clocks to match bindings
    738a716d2de6 arm64: dts: qcom: sm8150-kumano: Panel framebuffer is 2.5k instead of 4k
    a7d6e757169f arm64: dts: qcom: msm8996-tone: Fix USB taking 6 minutes to wake up
    795a9a93ed8d arm64: dts: qcom: qcs404: use symbol names for PCIe resets
    10fcdad2b9f3 ARM: OMAP2+: Fix memory leak in realtime_counter_init()
    e2f62d8302bb powerpc/mm: Rearrange if-else block to avoid clang warning
    3959316f8ceb HID: asus: use spinlock to safely schedule workers
    d2ce7b6f3ae4 HID: asus: use spinlock to protect concurrent accesses

(From OE-Core rev: d9f73959645060982bcec6729cb8dfd511ab8de0)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 7be1bc5ce77b31bb634bd3572d8553cad127f38e)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-11 11:31:52 +01:00
Bruce Ashfield
1938615ea4 linux-yocto/5.15: update to v5.15.98
Updating  to the latest korg -stable release that comprises
the following commits:

    d9b4a0c83a2d Linux 5.15.98
    937c15e27a63 io_uring: ensure that io_init_req() passes in the right issue_flags
    bf7123dd26a0 Linux 5.15.97
    cf7f9cd50013 io_uring: add missing lock in io_get_file_fixed
    77358093331e USB: core: Don't hold device lock while reading the "descriptors" sysfs file
    3b24c980dc07 usb: gadget: u_serial: Add null pointer check in gserial_resume
    2d72795ccde2 USB: serial: option: add support for VW/Skoda "Carstick LTE"
    02190d23b731 usb: dwc3: pci: add support for the Intel Meteor Lake-M
    cc09a7d5a6a1 scripts/tags.sh: fix incompatibility with PCRE2
    1aee4ab2c107 scripts/tags.sh: Invoke 'realpath' via 'xargs'
    06740b433d9d vc_screen: don't clobber return value in vcs_read
    e7f460696340 net: Remove WARN_ON_ONCE(sk->sk_forward_alloc) from sk_stream_kill_queues().
    16d319ec18b0 bpf: bpf_fib_lookup should not return neigh in NUD_FAILED state
    6dd1de27d771 staging: mt7621-dts: change palmbus address to lower case
    07f0c6f9c357 x86/cpu: Add Lunar Lake M
    e1b09162f268 HID: core: Fix deadloop in hid_apply_multiplier.
    f1ee47003075 neigh: make sure used and confirmed times are valid
    2590058fb058 IB/hfi1: Assign npages earlier
    4534ea429ed8 ASoC: rt715-sdca: fix clock stop prepare timeout issue
    e430f058d90c btrfs: send: limit number of clones and allocated memory size
    d454a7212e17 ACPI: NFIT: fix a potential deadlock during NFIT teardown
    435e8fabd19a HID: elecom: add support for TrackBall 056E:011C
    6bd2f1754393 ARM: dts: rockchip: add power-domains property to dp node on rk3288
    839a9c0047a1 arm64: dts: rockchip: drop unused LED mode property from rk3328-roc-cc
    503e3d93cf35 Fix XFRM-I support for nested ESP tunnels
    765b3a0e0a81 ionic: refactor use of ionic_rx_fill()

(From OE-Core rev: 10736085c3e47c23c377bd68623b0753557e3a06)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 4961d295599b1c3822752c42891006a49aea8ff3)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-11 11:31:52 +01:00
Bruce Ashfield
552525cd67 lttng-modules: update to v2.13.9
Bumping lttng-modules to version v2.13.9-4-g12f43cab, which comprises the following commits:

    da1f5a26 Version 2.13.9
    dc2d1294 fix: jbd2: use the correct print format (v5.4.229)
    d04c1211 fix: jbd2 upper bound for v5.10.163
    4b8864fc fix: jbd2: use the correct print format (v5.10.163)
    69d3aa79 fix: btrfs: move accessor helpers into accessors.h (v6.2)

We drop our previously backported commits as well, since they are part
of the release.

(From OE-Core rev: 8864e50267327b474806de8b12ec60137a3cf17b)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 79d8e93adde07ff3a4a239d66649ee566a2437d6)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-11 11:31:52 +01:00
Bruce Ashfield
2ee5383344 linux-yocto/5.10: update to v5.10.175
Updating  to the latest korg -stable release that comprises
the following commits:

    de26e1b2103b Linux 5.10.175
    aa8579bc0846 s390/dasd: add missing discipline function
    6baebcecf09a KVM: VMX: Fix crash due to uninitialized current_vmcs
    685ed0a277f1 KVM: VMX: Introduce vmx_msr_bitmap_l01_changed() helper
    0ef55bafabb9 KVM: nVMX: Don't use Enlightened MSR Bitmap for L3
    9da269bee7ea UML: define RUNTIME_DISCARD_EXIT
    5c425eb9da8a sh: define RUNTIME_DISCARD_EXIT
    bfef72d2fc62 s390: define RUNTIME_DISCARD_EXIT to fix link error with GNU ld < 2.36
    6af633e7782c powerpc/vmlinux.lds: Don't discard .rela* for relocatable builds
    af560685bad5 powerpc/vmlinux.lds: Define RUNTIME_DISCARD_EXIT
    d367c5ebe943 arch: fix broken BuildID for arm64 and riscv
    7550aade9783 ext4: block range must be validated before use in ext4_mb_clear_bb()
    c3fd717b58f0 ext4: add strict range checks while freeing blocks
    65061f49a50f ext4: add ext4_sb_block_valid() refactored out of ext4_inode_block_valid()
    9cd21f5babb5 ext4: refactor ext4_free_blocks() to pull out ext4_mb_clear_bb()
    b5005605013d drm/i915: Don't use BAR mappings for ring buffers with LLC
    c53d50d8081a skbuff: Fix nfct leak on napi stolen
    a4932a2c5446 ipmi:watchdog: Set panic count to proper value on a panic
    7aa5a495cbf8 ipmi/watchdog: replace atomic_add() and atomic_sub()
    a5c140d88a69 media: rc: gpio-ir-recv: add remove function
    13b04efb5bd0 media: ov5640: Fix analogue gain control
    42bb1e6b7fe8 scripts: handle BrokenPipeError for python scripts
    be658aa43a47 PCI: Add SolidRun vendor ID
    d47d364f6671 macintosh: windfarm: Use unsigned type for 1-bit bitfields
    9cff3f106a4c alpha: fix R_ALPHA_LITERAL reloc for large modules
    9a61a3a6ec66 powerpc/kcsan: Exclude udelay to prevent recursive instrumentation
    5ddcb0a34819 MIPS: Fix a compilation issue
    7f77f3dab506 block, bfq: fix uaf for bfqq in bic_set_bfqq()
    6291281f15e1 block, bfq: replace 0/1 with false/true in bic apis
    e6f03decf5b7 block/bfq-iosched.c: use "false" rather than "BLK_RW_ASYNC"
    1425f1bb5df5 block, bfq: fix uaf for bfqq in bfq_exit_icq_bfqq
    5533742c7cb1 block, bfq: fix possible uaf for 'bfqq->bic'
    c660e024bc68 tpm/eventlog: Don't abort tpm_read_log on faulty ACPI address
    b1fddddf58ac watch_queue: fix IOC_WATCH_QUEUE_SET_SIZE alloc error paths
    f2a5ec7f7b28 iommu/amd: Add a length limitation for the ivrs_acpihid command-line parameter
    b113f9020447 ext4: Fix deadlock during directory rename
    ab89b8a67fbb RISC-V: Don't check text_mutex during stop_machine
    3de277af481a riscv: Use READ_ONCE_NOCHECK in imprecise unwinding stack mode
    ce7dd61e0040 SUNRPC: Fix a server shutdown leak
    e1b8342a8528 net/smc: fix fallback failed while sendmsg with fastopen
    93367126f68c platform: x86: MLX_PLATFORM: select REGMAP instead of depending on it
    0fe672336d69 scsi: megaraid_sas: Update max supported LD IDs to 240
    f4eae84f5754 net: ethernet: mtk_eth_soc: fix RX data corruption issue
    01a1e9810905 btf: fix resolving BTF_KIND_VAR after ARRAY, STRUCT, UNION, PTR
    065c1ed5c4ce netfilter: tproxy: fix deadlock due to missing BH disable
    26fa059cc924 netfilter: ctnetlink: revert to dumping mark regardless of event type
    d16701a385b5 bnxt_en: Avoid order-5 memory allocation for TPA data
    c0df4e5c247d net: phylib: get rid of unnecessary locking
    d2a5a9cdc5d6 net: stmmac: add to set device wake up flag when stmmac init phy
    c3aaec463a63 net: caif: Fix use-after-free in cfusbl_device_notify()
    db16d6567402 net: lan78xx: fix accessing the LAN7800's internal phy specific registers from the MAC driver
    d5e8f7edc2ac net: usb: lan78xx: Remove lots of set but unused 'ret' variables
    374cbffe7d6f selftests: nft_nat: ensuring the listening side is up before starting the client
    42d9ed4e5dc5 ila: do not generate empty messages in ila_xlat_nl_cmd_get_mapping()
    6f0cc879c889 powerpc: dts: t1040rdb: fix compatible string for Rev A boards
    80be62358fa5 nfc: fdp: add null check of devm_kmalloc_array in fdp_nci_i2c_read_device_properties
    cbf11ff3708f bgmac: fix *initial* chip reset to support BCM5358
    4c43a0291f87 drm/msm/a5xx: fix context faults during ring switch
    34e71ca0a006 drm/msm/a5xx: fix the emptyness check in the preempt code
    8dde1d9d6f06 drm/msm: Document and rename preempt_lock
    00c2020b8bb8 drm/msm/a5xx: fix setting of the CP_PREEMPT_ENABLE_LOCAL register
    08c0b54bef78 drm/msm: Fix potential invalid ptr free
    8b4a6dd15717 drm/nouveau/kms/nv50: fix nv50_wndw_new_ prototype
    9ca74e5e75ea drm/nouveau/kms/nv50-: remove unused functions
    0c440f14558b ext4: Fix possible corruption when moving a directory
    6b223e32d66c scsi: core: Remove the /proc/scsi/${proc_name} directory earlier
    e993e3ea9550 riscv: Add header include guards to insn.h
    713c335e5a8f riscv: Avoid enabling interrupts in die()
    f9fdb3e7b075 RISC-V: Avoid dereferening NULL regs in die()
    030b1c4217a4 arm64: efi: Make efi_rt_lock a raw_spinlock
    7e00b52c8cdd iommu/vt-d: Fix PASID directory pointer coherency
    c424b1819120 iommu/vt-d: Fix lockdep splat in intel_pasid_get_entry()
    aeab1f1a60ae irqdomain: Fix domain registration race
    bb7597777c13 irqdomain: Change the type of 'size' in __irq_domain_add() to be consistent
    4ab311d51cd9 irqdomain: Fix mapping-creation race
    8617599c646f irqdomain: Refactor __irq_domain_alloc_irqs()
    ff762cdbf0c8 irqdomain: Look for existing mapping only once
    6414597815d5 irq: Fix typos in comments
    fe80a53eabdb udf: Fix off-by-one error when discarding preallocation
    7786bfd8f7ab nfc: change order inside nfc_se_io error path
    3f00c476da8f ext4: zero i_disksize when initializing the bootloader inode
    a9bd94f67b27 ext4: fix WARNING in ext4_update_inline_data
    d72a6c31393d ext4: move where set the MAY_INLINE_DATA flag is set
    1d2366624b4c ext4: fix another off-by-one fsmap error on 1k block filesystems
    8706c972fcfa ext4: fix RENAME_WHITEOUT handling for inline directories
    d0632ff49bd1 ext4: fix cgroup writeback accounting with fs-layer encryption
    3106cb47cded drm/connector: print max_requested_bpc in state debugfs
    4279e87da6c8 drm/amdgpu: fix error checking in amdgpu_read_mm_registers for soc15
    5462843dc40f x86/CPU/AMD: Disable XSAVES on AMD family 0x17
    a1eb8bf1e35f fork: allow CLONE_NEWTIME in clone3 flags
    a759905de9cd fs: prevent out-of-bounds array speculation when closing a file descriptor
    955623617f2f Linux 5.10.174
    c036dae03678 staging: rtl8192e: Remove call_usermodehelper starting RadioPower.sh
    1afff6203a73 staging: rtl8192e: Remove function ..dm_check_ac_dc_power calling a script
    decf73066f7e wifi: cfg80211: Partial revert "wifi: cfg80211: Fix use after free for wext"
    e5f315b55f8e Linux 5.10.173
    8ecd5dabddc0 usb: gadget: uvc: fix missing mutex_unlock() if kstrtou8() fails
    a5bbea50d622 malidp: Fix NULL vs IS_ERR() checking
    1dfc0a52f768 scsi: mpt3sas: Remove usage of dma_get_required_mask() API
    747652f9c503 scsi: mpt3sas: re-do lost mpt3sas DMA mask fix
    2392303df240 scsi: mpt3sas: Don't change DMA mask while reallocating pools
    f73bbfb47ff1 Revert "scsi: mpt3sas: Fix return value check of dma_get_required_mask()"
    331c18e8ac81 media: uvcvideo: Fix race condition with usb_kill_urb
    9d83b69e934d media: uvcvideo: Provide sync and async uvc_ctrl_status_event
    c5fe3fba1b7b drm/virtio: Fix error code in virtio_gpu_object_shmem_init()
    0a1d0c79eaec tcp: Fix listen() regression in 5.10.163
    7474be26b032 Bluetooth: hci_sock: purge socket queues in the destruct() callback
    d90967f850b1 drm/display/dp_mst: Fix down message handling after a packet reception error
    ee4a4282d78d drm/display/dp_mst: Fix down/up message handling after sink disconnect
    411b8ad505f7 x86/resctl: fix scheduler confusion with 'current'
    9554af98018c x86/resctrl: Apply READ_ONCE/WRITE_ONCE to task_struct.{rmid,closid}
    7123a4337bf7 net: tls: avoid hanging tasks on the tx_lock
    a6549336f574 soundwire: cadence: Drain the RX FIFO after an IO timeout
    e5ca5b71363a soundwire: cadence: Remove wasted space in response_buf
    4d2423f15b36 phy: rockchip-typec: Fix unsigned comparison with less than zero
    01923e3196ee PCI: Add ACS quirk for Wangxun NICs
    faa050d2ff88 PCI: loongson: Add more devices that need MRRS quirk
    dd9981a11d74 kernel/fail_function: fix memory leak with using debugfs_lookup()
    b2301851e7e3 PCI: Take other bus devices into account when distributing resources
    fdca189e5228 PCI: Align extra resources for hotplug bridges properly
    877aacda1469 usb: gadget: uvc: Make bSourceID read/write
    56495e8d3cb4 usb: uvc: Enumerate valid values for color matching
    961f93d63da7 USB: ene_usb6250: Allocate enough memory for full object
    426cbe9a0a68 usb: host: xhci: mvebu: Iterate over array indexes instead of using pointer math
    654ae539254d PCI: loongson: Prevent LS7A MRRS increases
    09ca779ac04c iio: accel: mma9551_core: Prevent uninitialized variable in mma9551_read_config_word()
    3357e90d3c36 iio: accel: mma9551_core: Prevent uninitialized variable in mma9551_read_status_word()
    8db64cea4788 tools/iio/iio_utils:fix memory leak
    160494b66fe0 mei: bus-fixup:upon error print return values of send and receive
    17b96b5c19be serial: sc16is7xx: setup GPIO controller later in probe
    0cb1f78d886b tty: serial: fsl_lpuart: disable the CTS when send break signal
    84ea44dc3e4e tty: fix out-of-bounds access in tty_driver_lookup_tty()
    e8a5efd5aefc staging: emxx_udc: Add checks for dma_alloc_coherent()
    c4d96503d67b media: uvcvideo: Silence memcpy() run-time false positive warnings
    78b1fdc47e4e media: uvcvideo: Quirk for autosuspend in Logitech B910 and C910
    23f9bead358d media: uvcvideo: Handle errors from calls to usb_string
    d8aa2e1ae642 media: uvcvideo: Handle cameras with invalid descriptors
    76752888edcc IB/hfi1: Update RMT size calculation
    754e81ff4406 mfd: arizona: Use pm_runtime_resume_and_get() to prevent refcnt leak
    903b91cea77a bootconfig: Increase max nodes of bootconfig from 1024 to 8192 for DCC support
    07fb5653366c firmware/efi sysfb_efi: Add quirk for Lenovo IdeaPad Duet 3
    25c9fba724bd tracing: Add NULL checks for buffer in ring_buffer_free_read_page()
    e30b26e74617 thermal: intel: BXT_PMIC: select REGMAP instead of depending on it
    f73134231fa2 thermal: intel: quark_dts: fix error pointer dereference
    01829cb87089 ASoC: zl38060 add gpiolib dependency
    2bc1f260ede1 ASoC: zl38060: Remove spurious gpiolib select
    c8e7c0ec458c ASoC: adau7118: don't disable regulators on device unbind
    c79a924ed6af loop: loop_set_status_from_info() check before assignment
    af5f9a476147 scsi: ipr: Work around fortify-string warning
    555f315832ec rtc: sun6i: Always export the internal oscillator
    3e734e694181 vc_screen: modify vcs_size() handling in vcs_read()
    ac73d8f6a64a tcp: tcp_check_req() can be called from process context
    4d08ed4651a1 ARM: dts: spear320-hmi: correct STMPE GPIO compatible
    2f935409cd82 net/sched: act_sample: fix action bind logic
    8978315cb4bf nfc: fix memory leak of se_io context in nfc_genl_se_io
    8817602cffe0 net/mlx5: Geneve, Fix handling of Geneve object id as error code
    0ac65fab2b3f 9p/rdma: unmap receive dma buffer in rdma_request()/post_recv()
    3e0359f151ac 9p/xen: fix connection sequence
    c959a53b62a6 9p/xen: fix version parsing
    82a0c1fe1fe0 net: fix __dev_kfree_skb_any() vs drop monitor
    8ee401f89cdb sctp: add a refcnt in sctp_stream_priorities to avoid a nested loop
    da26369377f0 ipv6: Add lwtunnel encap size of all siblings in nexthop calculation
    9060abce3305 netfilter: ebtables: fix table blob use-after-free
    1ff0b87df98b netfilter: ctnetlink: fix possible refcount leak in ctnetlink_create_conntrack()
    9f7abdd50026 watchdog: pcwd_usb: Fix attempting to access uninitialized memory
    c5a21a550150 watchdog: Fix kmemleak in watchdog_cdev_register
    273559f58f71 watchdog: at91sam9_wdt: use devm_request_irq to avoid missing free_irq() in error path
    7cb46fa16b96 x86: um: vdso: Add '%rcx' and '%r11' to the syscall clobber list
    8a18856e0744 ubi: ubi_wl_put_peb: Fix infinite loop when wear-leveling work failed
    9d448dd6bcb6 ubi: Fix UAF wear-leveling entry in eraseblk_count_seq_show()
    0aa0253f6c99 ubi: fastmap: Fix missed fm_anchor PEB in wear-leveling after disabling fastmap
    f09a84548c37 ubifs: ubifs_writepage: Mark page dirty after writing inode failed
    9d4768523b09 ubifs: dirty_cow_znode: Fix memleak in error handling path
    343d273d5fd0 ubifs: Re-statistic cleaned znode count if commit failed
    fcbc795abe78 ubi: Fix possible null-ptr-deref in ubi_free_volume()
    bf50229494f0 ubifs: Fix memory leak in alloc_wbufs()
    31d60afe2cc2 ubi: Fix unreferenced object reported by kmemleak in ubi_resize_volume()
    35f8d4064e54 ubi: Fix use-after-free when volume resizing failed
    38fd7acdc1d2 ubifs: Reserve one leb for each journal head while doing budget
    38a097dce184 ubifs: do_rename: Fix wrong space budget when target inode's nlink > 1
    495ea59a24a3 ubifs: Fix wrong dirty space budget for dirty inode
    9e07ee28c20d ubifs: Rectify space budget for ubifs_xrename()
    ffebd804c7ab ubifs: Rectify space budget for ubifs_symlink() if symlink is encrypted
    93e748ba5174 ubifs: Fix build errors as symbol undefined
    846bfba34175 ubi: ensure that VID header offset + VID header size <= alloc, size
    f2b9c4544e3b um: vector: Fix memory leak in vector_config
    6be349d7388f fs: f2fs: initialize fsdata in pagecache_write()
    33909b1a646d f2fs: use memcpy_{to,from}_page() where possible
    9d4a4a9ee95e pwm: stm32-lp: fix the check on arr and cmp registers update
    c2677c49b766 pwm: sifive: Always let the first pwm_apply_state succeed
    8b98e7a45e63 pwm: sifive: Reduce time the controller lock is held
    a1368eaea058 objtool: Fix memory leak in create_static_call_sections()
    5d03a19ac7e8 fs/jfs: fix shift exponent db_agl2size negative
    18c3fa7a7fdb net/sched: Retire tcindex classifier
    322df540ba05 kbuild: Port silent mode detection to future gnu make.
    f8ac5467e1f3 pinctrl: rockchip: fix reading pull type on rk3568
    50afcd5316f2 pinctrl: rockchip: fix mux route data for rk3568
    844da3901304 wifi: ath9k: use proper statements in conditionals
    a2a1e3f4ed5b arm64: dts: qcom: ipq8074: fix Gen2 PCIe QMP PHY
    64a99c0ac6f8 drm/edid: fix AVI infoframe aspect ratio handling
    1f064aaa81af drm/radeon: Fix eDP for single-display iMac11,2
    266864c1e0ed drm/i915/quirks: Add inverted backlight quirk for HP 14-r206nv
    5a2712427168 vfio/type1: prevent underflow of locked_vm via exec()
    691a8e26de78 PCI: Avoid FLR for AMD FCH AHCI adapters
    88b51c6a6d57 PCI: hotplug: Allow marking devices as disconnected during bind/unbind
    d219b19e1f26 PCI/PM: Observe reset delay irrespective of bridge_d3
    285d8390d98e riscv: jump_label: Fixup unaligned arch_static_branch function
    8f9542cad6c2 scsi: ses: Fix slab-out-of-bounds in ses_intf_remove()
    c315560e3ef7 scsi: ses: Fix possible desc_ptr out-of-bounds accesses
    2ecd344173a5 scsi: ses: Fix possible addl_desc_ptr out-of-bounds accesses
    e4dd25da784b scsi: ses: Fix slab-out-of-bounds in ses_enclosure_data_process()
    d68937dfc73e scsi: ses: Don't attach if enclosure has no components
    0d14ace68dd5 scsi: qla2xxx: Fix erroneous link down
    e596253113b6 scsi: qla2xxx: Fix DMA-API call trace on NVMe LS requests
    40bedbf10d56 scsi: qla2xxx: Fix link failure in NPIV environment
    6e02a43acd06 ring-buffer: Handle race between rb_move_tail and rb_check_pages
    1693f3bc1f25 ktest.pl: Add RUN_TIMEOUT option with default unlimited
    39255e4788fb ktest.pl: Fix missing "end_monitor" when machine check fails
    0dfb3f4588bc ktest.pl: Give back console on Ctrt^C on monitor
    ed77831e69ee mm/thp: check and bail out if page in deferred queue already
    e6d20325f422 mm: memcontrol: deprecate charge moving
    f1f6c87d8224 docs: gdbmacros: print newest record
    6814e8e4202f remoteproc/mtk_scp: Move clk ops outside send_lock
    3b78c2482bbe media: ipu3-cio2: Fix PM runtime usage_count in driver unbind
    6c96c0b2e326 mips: fix syscall_get_nr
    cd4d3eab2310 dax/kmem: Fix leak of memory-hotplug resources
    241e893df474 alpha: fix FEN fault handling
    ae16346078b1 rbd: avoid use-after-free in do_rbd_add() when rbd_dev_create() fails
    0f2fd21b5b54 ARM: dts: exynos: correct TMU phandle in Odroid HC1
    7dd9de2e2f7b ARM: dts: exynos: correct TMU phandle in Odroid XU
    d1887cca6526 ARM: dts: exynos: correct TMU phandle in Exynos5250
    136d6f3c5dc9 ARM: dts: exynos: correct TMU phandle in Odroid XU3 family
    135e968d6a86 ARM: dts: exynos: correct TMU phandle in Exynos4
    aaa2d2249c90 ARM: dts: exynos: correct TMU phandle in Exynos4210
    f2b478228bfd dm flakey: don't corrupt the zero page
    07e375c18af0 dm flakey: fix logic when corrupting a bio
    17f81b127712 thermal: intel: powerclamp: Fix cur_state for multi package system
    2cfe78619b0d wifi: cfg80211: Fix use after free for wext
    73090cebe3f3 wifi: rtl8xxxu: Use a longer retry limit of 48
    3383f79d6b0a dm: add cond_resched() to dm_wq_work()
    e6409208c13f mtd: spi-nor: Fix shift-out-of-bounds in spi_nor_set_erase_type
    0dc0fa313bb4 ext4: refuse to create ea block when umounted
    d738789ae9ec ext4: optimize ea_inode block expansion
    ab22799f11e3 jbd2: fix data missing when reusing bh which is ready to be checkpointed
    a9cd89463ea4 ALSA: hda/realtek: Add quirk for HP EliteDesk 800 G6 Tower PC
    ae2340769ed3 ALSA: ice1712: Do not left ice->gpio_mutex locked in aureon_add_controls()
    246f26664b2e io_uring/poll: allow some retries for poll triggering spuriously
    7f3d13241574 io_uring: remove MSG_NOSIGNAL from recvmsg
    72783d2af89b io_uring/rsrc: disallow multi-source reg buffers
    a442f12e47aa io_uring: add a conditional reschedule to the IOPOLL cancelation loop
    3d1f9533a39d io_uring: mark task TASK_RUNNING before handling resume/task work
    3f32f8492e10 io_uring: handle TIF_NOTIFY_RESUME when checking for task_work
    306c8b49b566 irqdomain: Drop bogus fwspec-mapping error handling
    e0538aa7e099 irqdomain: Fix disassociation race
    6b24bd85ae5c irqdomain: Fix association race
    8c64acd24aed ima: Align ima_file_mmap() parameters with mmap_file LSM hook
    c1aa96927b24 brd: return 0/-error from brd_insert_page()
    3326ef84cdbe Documentation/hw-vuln: Document the interaction between IBRS and STIBP
    abfed855f058 x86/speculation: Allow enabling STIBP with legacy IBRS
    44a44b57e88f x86/microcode/AMD: Fix mixed steppings support
    87cf9bc78c43 x86/microcode/AMD: Add a @cpu parameter to the reloading functions
    0a89768b85f0 x86/microcode/amd: Remove load_microcode_amd()'s bsp parameter
    5255fd8dfbd2 x86/kprobes: Fix arch_check_optimized_kprobe check within optimized_kprobe range
    c16e4610d5e5 x86/kprobes: Fix __recover_optprobed_insn check optimizing logic
    f75ee95196ce x86/reboot: Disable SVM, not just VMX, when stopping CPUs
    051f991c571b x86/reboot: Disable virtualization in an emergency if SVM is supported
    8ff2cc2f8775 x86/crash: Disable virt in core NMI crash handler to avoid double shootdown
    537be939a86a x86/virt: Force GIF=1 prior to disabling SVM (for reboot flows)
    edd7f5bc6f97 KVM: s390: disable migration mode when dirty tracking is disabled
    018798c6fbef KVM: x86: Inject #GP if WRMSR sets reserved bits in APIC Self-IPI
    76a9886e1b61 KVM: Destroy target device if coalesced MMIO unregistration fails
    bacfce056ea6 udf: Fix file corruption when appending just after end of preallocated extent
    a44ec34b9044 udf: Detect system inodes linked into directory hierarchy
    63478c3ce24b udf: Preserve link count of system files
    eb2133900cac udf: Do not update file length for failed writes to inline files
    965982feb333 udf: Do not bother merging very long extents
    9c792a59e078 udf: Truncate added extents on failed expansion
    6bf9caa58526 ocfs2: fix non-auto defrag path not working issue
    2c559b3ba8e0 ocfs2: fix defrag path triggering jbd2 ASSERT
    e9f20138b5fb f2fs: fix cgroup writeback accounting with fs-layer encryption
    00b558732662 f2fs: fix information leak in f2fs_move_inline_dirents()
    f9dbc35ecb94 exfat: fix inode->i_blocks for non-512 byte sector size device
    4017209e08d2 exfat: redefine DIR_DELETED as the bad cluster number
    c2d1997074ce exfat: fix unexpected EOF while reading dir
    34b05883414c exfat: fix reporting fs error when reading dir beyond EOF
    ef7d71d7bd57 fs: hfsplus: fix UAF issue in hfsplus_put_super
    dc9f78b6d254 hfs: fix missing hfs_bnode_get() in __hfs_bnode_create
    300b6404e601 ARM: dts: exynos: correct HDMI phy compatible in Exynos4
    69493675fdfb cifs: Fix uninitialized memory read in smb3_qfs_tcon()
    59102ded7480 s390/kprobes: fix current_kprobe never cleared after kprobes reenter
    d8724dc0ce76 s390/kprobes: fix irq mask clobbering on kprobe reenter from post_handler
    d43abcf91c5e s390: discard .interp section
    6cf48403c46a s390/extmem: return correct segment type in __segment_load()
    be2dad7bc932 ipmi_ssif: Rename idle state and check
    66b40f8756d2 rtc: pm8xxx: fix set-alarm race
    e5b643645a9a firmware: coreboot: framebuffer: Ignore reserved pixel color bits
    bf990eebeaa7 wifi: rtl8xxxu: fixing transmisison failure for rtl8192eu
    759f6a72bc5a nfsd: zero out pointers after putting nfsd_files on COPY setup error
    9b8047b21000 dm cache: add cond_resched() to various workqueue loops
    52206dd1c77f dm thin: add cond_resched() to various workqueue loops
    861229a52bac drm: panel-orientation-quirks: Add quirk for Lenovo IdeaPad Duet 3 10IGL5
    7df5da8e6bcf HID: logitech-hidpp: Don't restart communication if not necessary
    ca64ebcb4501 pinctrl: at91: use devm_kasprintf() to avoid potential leaks
    5735878a7b7d hwmon: (coretemp) Simplify platform device handling
    2f8623377f3e gfs2: Improve gfs2_make_fs_rw error handling
    bfa4ffd81591 regulator: s5m8767: Bounds check id indexing into arrays
    b4ff71c6f029 regulator: max77802: Bounds check regulator id against opmode
    0adacf6d6b12 ASoC: kirkwood: Iterate over array indexes instead of using pointer math
    fcfc7740228d docs/scripts/gdb: add necessary make scripts_gdb step
    540c66180afd drm/msm/dsi: Add missing check for alloc_ordered_workqueue
    d473c55ce197 drm: amd: display: Fix memory leakage
    ce9e9d3dcbb0 drm/radeon: free iio for atombios when driver shutdown
    819d8dba030d drm/tiny: ili9486: Do not assume 8-bit only SPI controllers
    bc919c866dd5 HID: Add Mapping for System Microphone Mute
    f4cb42525208 drm/omap: dsi: Fix excessive stack usage
    9f73793b8163 drm/amd/display: Fix potential null-deref in dm_resume
    348cc9ab3380 Bluetooth: btusb: Add VID:PID 13d3:3529 for Realtek RTL8821CE
    e974e8f1e37d PM: EM: fix memory leak with using debugfs_lookup()
    0c2b778edd8a uaccess: Add minimum bounds check on kernel buffer size
    d80f947bb303 coda: Avoid partial allocation of sig_inputArgs
    206c511e4214 net/mlx5: fw_tracer: Fix debug print
    1ef724fed392 ACPI: video: Fix Lenovo Ideapad Z570 DMI match
    46ce77b07cd8 wifi: mt76: dma: free rx_head in mt76_dma_rx_cleanup
    7873def499df m68k: Check syscall_trace_enter() return code
    841881320562 net: bcmgenet: Add a check for oversized packets
    1fc9760afd8a crypto: hisilicon: Wipe entire pool on error
    2fc7748d4823 clocksource: Suspend the watchdog temporarily when high read latency detected
    94933dab75d5 ACPI: Don't build ACPICA with '-Os'
    9f1865ebfa7a ice: add missing checks for PF vsi type
    b33091fc2896 inet: fix fast path in __inet_hash_connect()
    47dc1f425af5 wifi: mt7601u: fix an integer underflow
    0ca2efea4f11 wifi: brcmfmac: ensure CLM version is null-terminated to prevent stack-out-of-bounds
    4707c94f7f89 x86/bugs: Reset speculation control settings on init
    6ef02cdb5a30 timers: Prevent union confusion from unexpected restart_syscall()
    781bff0a532f thermal: intel: Fix unsigned comparison with less than zero
    744e538dcf27 wifi: ath11k: debugfs: fix to work with multiple PCI devices
    d99d194e2f8c rcu-tasks: Make rude RCU-Tasks work well with CPU hotplug
    2bf501f1bc78 rcu: Suppress smp_processor_id() complaint in synchronize_rcu_expedited_wait()
    f5657f330603 rcu: Make RCU_LOCKDEP_WARN() avoid early lockdep checks
    d6ef66194bb4 wifi: brcmfmac: Fix potential stack-out-of-bounds in brcmf_c_preinit_dcmds()
    99ff971b62e5 wifi: ath9k: Fix use-after-free in ath9k_hif_usb_disconnect()
    6e291810fe83 blk-iocost: fix divide by 0 error in calc_lcoefs()
    199624f3144d ARM: dts: exynos: Use Exynos5420 compatible for the MIPI video phy
    f34cc701ea0a udf: Define EFSCORRUPTED error code
    91f9d708716d rpmsg: glink: Avoid infinite loop on intent for missing channel
    2b72ceef1740 media: saa7134: Use video_unregister_device for radio_dev
    42f8ba835568 media: usb: siano: Fix use after free bugs caused by do_submit_urb
    cc2f9c8eb1ee media: i2c: ov7670: 0 instead of -EINVAL was returned
    78da5a378bda media: rc: Fix use-after-free bugs caused by ene_tx_irqsim()
    c6c3b4ae3166 media: i2c: imx219: Fix binning for RAW8 capture
    a34288e3a116 media: i2c: imx219: Split common registers from mode tables
    09a0410886aa media: i2c: imx219: remove redundant writes
    dfaafeb8e953 media: i2c: ov772x: Fix memleak in ov772x_probe()
    bcae9115a163 media: ov5675: Fix memleak in ov5675_init_controls()
    a163ee11345d media: ov2740: Fix memleak in ov2740_init_controls()
    505ff3a0c595 media: max9286: Fix memleak in max9286_v4l2_register()
    f3e10a3437dc builddeb: clean generated package content
    55f3bca25d3f powerpc: Remove linker flag from KBUILD_AFLAGS
    b74aaa314f6a media: platform: ti: Add missing check for devm_regulator_get
    c7a218cbf67f media: ti: cal: fix possible memory leak in cal_ctx_create()
    0a2e2674f720 remoteproc: qcom_q6v5_mss: Use a carveout to authenticate modem headers
    7e5bc675eb7b Input: iqs269a - do not poll during ATI
    65e39fdce1fc Input: iqs269a - do not poll during suspend or resume
    b0b84fd32cb4 alpha/boot/tools/objstrip: fix the check for ELF header
    4cab7debf3e0 vdpa/mlx5: Don't clear mr struct on destroy MR
    bccccd43a06d MIPS: vpe-mt: drop physical_memsize
    132203ce40d0 MIPS: SMP-CPS: fix build error when HOTPLUG_CPU not set
    6fc6d29be811 powerpc/eeh: Set channel state after notifying the drivers
    dfc41e385915 powerpc/eeh: Small refactor of eeh_handle_normal_event()
    386cc2af90e9 powerpc/rtas: ensure 4KB alignment for rtas_data_buf
    c9a299f2f465 powerpc/rtas: make all exports GPL
    7afd768784bd powerpc/pseries/lparcfg: add missing RTAS retry status handling
    df995aef6400 powerpc/pseries/lpar: add missing RTAS retry status handling
    9626f83a6ec7 powerpc/perf/hv-24x7: add missing RTAS retry status handling
    831a2d8de1d6 clk: Honor CLK_OPS_PARENT_ENABLE in clk_core_is_enabled()
    4f060379aaf2 powerpc/powernv/ioda: Skip unallocated resources when mapping to PE
    15fed9258b84 clk: qcom: gpucc-sdm845: fix clk_dis_wait being programmed for CX GDSC
    241048adcb40 clk: qcom: gpucc-sc7180: fix clk_dis_wait being programmed for CX GDSC
    1957c5b5ec4b Input: ads7846 - don't check penirq immediately for 7845
    8d9b9e56c2b6 Input: ads7846 - always set last command to PWRDOWN
    d247f3527b31 Input: ads7846 - convert to one message
    a6c43844462e Input: ads7846 - convert to full duplex
    7f2034b9b061 Input: ads7846 - don't report pressure for ads7845
    092effd9f992 clk: imx: avoid memory leak
    092f17eca84b clk: renesas: cpg-mssr: Remove superfluous check in resume code
    7beb9b4538e7 clk: renesas: cpg-mssr: Fix use after free if cpg_mssr_common_init() failed
    44a2a912c750 linux/kconfig.h: replace IF_ENABLED() with PTR_IF() in <linux/kernel.h>
    9a6dca86cfae Input: iqs269a - configure device with a single block write
    b7afc359f6e5 Input: iqs269a - increase interrupt handler return delay
    a6a70ab2bbe2 Input: iqs269a - drop unused device node references
    b7fb5b5d2c8c mtd: rawnand: sunxi: Fix the size of the last OOB region
    c90fa32bd4d2 RISC-V: fix funct4 definition for c.jalr in parse_asm.h
    c7950aa87280 clk: qcom: gcc-qcs404: fix names of the DSI clocks used as parents
    7fd6fd898b64 clk: qcom: gcc-qcs404: disable gpll[04]_out_aux parents
    3ee13bdf0d25 mfd: pcf50633-adc: Fix potential memleak in pcf50633_adc_async_read()
    8a041377a458 objtool: add UACCESS exceptions for __tsan_volatile_read/write
    455cf05161be printf: fix errname.c list
    b18946a9cee2 selftests/ftrace: Fix bash specific "==" operator
    b8dc9f6fde19 sparc: allow PM configs for sparc32 COMPILE_TEST
    93925ab9dd74 perf tools: Fix auto-complete on aarch64
    1d6101d9222e leds: led-core: Fix refcount leak in of_led_get()
    071b7f572051 perf llvm: Fix inadvertent file creation
    deece7bd60b0 gfs2: jdata writepage fix
    cfd85a0922c4 cifs: Fix warning and UAF when destroy the MR list
    caac205e0d5b cifs: Fix lost destroy smbd connection when MR allocate failed
    9e8ccaf4ff2c nfsd: fix race to check ls_layouts
    e73640184cb6 hid: bigben_probe(): validate report count
    fddde36316da HID: bigben: use spinlock to safely schedule workers
    ec8b79668ebf HID: bigben_worker() remove unneeded check on report_field
    2ca8ae5cf61e HID: bigben: use spinlock to protect concurrent accesses
    f69065e1bd90 ASoC: soc-dapm.h: fixup warning struct snd_pcm_substream not declared
    c785a87d9a77 spi: synquacer: Fix timeout handling in synquacer_spi_transfer_one()
    ac3a513d4fa8 NFS: fix disabling of swap
    242df51a8291 nfs4trace: fix state manager flag printing
    6d434b4c49f0 NFSv4: keep state manager thread active if swap is enabled
    d601f782824e NFS: Fix up handling of outstanding layoutcommit in nfs_update_inode()
    c550f65a54a0 dm: remove flush_scheduled_work() during local_exit()
    f23a4b9bf895 ASoC: tlv320adcx140: fix 'ti,gpio-config' DT property init
    4c6d18ea71d8 hwmon: (mlxreg-fan) Return zero speed for broken fan
    a79f1e71e7b5 spi: bcm63xx-hsspi: Fix multi-bit mode setting
    59b0ce292a09 spi: bcm63xx-hsspi: fix pm_runtime
    ca769960cb57 scsi: aic94xx: Add missing check for dma_map_single()
    30c7c72b6cf9 scsi: mpt3sas: Fix a memory leak
    0cb8a92a880d drm/amdgpu: fix enum odm_combine_mode mismatch
    859bdc96ba89 hwmon: (ltc2945) Handle error case in ltc2945_value_store
    d9bcf67b8bb3 ASoC: dt-bindings: meson: fix gx-card codec node regex
    b4d74716da00 ASoC: mchp-spdifrx: Fix uninitialized use of mr in mchp_spdifrx_hw_params()
    ce07bbe038ae ASoC: mchp-spdifrx: disable all interrupts in mchp_spdifrx_dai_remove()
    d8f5539b5e7f ASoC: mchp-spdifrx: fix controls that works with completion mechanism
    45956f1764ca ASoC: mchp-spdifrx: fix return value in case completion times out
    426423ed55de ASoC: atmel: fix spelling mistakes
    1983a70778eb ASoC: mchp-spdifrx: fix controls which rely on rsr register
    b33ca7b7bb66 spi: dw_bt1: fix MUX_MMIO dependencies
    33033f392d81 gpio: vf610: connect GPIO label to dev name
    f2f6e683d9e7 ASoC: soc-compress.c: fixup private_data on snd_soc_new_compress()
    6a89ddee1686 drm/mediatek: Clean dangling pointer on bind error path
    b64b6dff15a3 drm/mediatek: mtk_drm_crtc: Add checks for devm_kcalloc
    3a50d86696f6 drm/mediatek: Drop unbalanced obj unref
    55bc7babc094 drm/mediatek: Use NULL instead of 0 for NULL pointer
    da5fd5399933 drm/mediatek: dsi: Reduce the time of dsi from LP11 to sending cmd
    cfd710a7e5a5 gpu: host1x: Don't skip assigning syncpoints to channels
    53f98ffcd89b pinctrl: mediatek: Initialize variable *buf to zero
    d2eb2e712514 pinctrl: mediatek: Initialize variable pullen and pullup to zero
    a46d29437b0a pinctrl: bcm2835: Remove of_node_put() in bcm2835_of_gpio_ranges_fallback()
    49907c887382 drm/msm/mdp5: Add check for kzalloc
    e9743b3052e1 drm/msm/dpu: Add check for pstates
    31f2f8de0ea7 drm/msm/dpu: Add check for cstate
    70bc4db1fb7b drm/msm: use strscpy instead of strncpy
    23770064a339 drm/mipi-dsi: Fix byte order of 16-bit DCS set/get brightness
    10c58ca62a54 drm/bridge: lt9611: pass a pointer to the of node
    ffd4cbd7eabd drm/bridge: lt9611: fix clock calculation
    aa37ec52c1a9 drm/bridge: lt9611: fix programming of video modes
    bffd0078026f drm/bridge: lt9611: fix polarity programming
    3c865a014623 drm/bridge: lt9611: fix HPD reenablement
    88618e800acf drm/bridge: lt9611: fix sleep mode setup
    8dbd54d679e3 drm/msm/dpu: Disallow unallocated resources to be returned
    42fdae9f59b1 ALSA: hda/ca0132: minor fix for allocation size
    b26bd7791f3c drm/msm/adreno: Fix null ptr access in adreno_gpu_cleanup()
    a3bf72eab8c8 ASoC: fsl_sai: initialize is_dsp_mode flag
    d4438cbd9c04 drm/vc4: hdmi: Correct interlaced timings again
    15a6be1011c2 drm/vc4: hvs: Fix colour order for xRGB1555 on HVS5
    bc65127ba4c0 drm/vc4: hvs: Set AXI panic modes
    d562054a3a2e pinctrl: rockchip: Fix refcount leak in rockchip_pinctrl_parse_groups
    3dd6f159385d pinctrl: rockchip: do coding style for mux route struct
    6da121152ada pinctrl: rockchip: add support for rk3568
    8ab860dd8717 pinctrl: stm32: Fix refcount leak in stm32_pctrl_get_irq_domain
    86704e50ffb5 pinctrl: qcom: pinctrl-msm8976: Correct function names for wcss pins
    1bab31a0969c drm/msm/hdmi: Add missing check for alloc_ordered_workqueue
    8eb74bd9c972 gpu: ipu-v3: common: Add of_node_put() for reference returned by of_graph_get_port_by_id()
    fdcacfd11015 drm: tidss: Fix pixel format definition
    2adbcf94ebfc drm/vc4: dpi: Fix format mapping for RGB565
    09c6e21d6a1e drm/vc4: dpi: Add option for inverting pixel clock and output enable
    0b8f390e2251 drm/vkms: Fix null-ptr-deref in vkms_release()
    5b9bcb33cf3f drm/bridge: megachips: Fix error handling in i2c_register_driver()
    181fb5efb649 drm: mxsfb: DRM_MXSFB should depend on ARCH_MXS || ARCH_MXC
    a86bd12bd974 drm/fourcc: Add missing big-endian XRGB1555 and RGB565 formats
    5ae70041a6d7 drm: Fix potential null-ptr-deref due to drmm_mode_config_init()
    8f06907f9f58 sefltests: netdevsim: wait for devlink instance after netns removal
    6038e458798d selftest: fib_tests: Always cleanup before exit
    e1c848d9ddd5 net: bcmgenet: fix MoCA LED control
    4a413d360959 l2tp: Avoid possible recursive deadlock in l2tp_tunnel_register()
    5663df20622d selftests/net: Interpret UDP_GRO cmsg data as an int value
    7cefa692224a irqchip/irq-bcm7120-l2: Set IRQ_LEVEL for level triggered interrupts
    27a601623dde irqchip/irq-brcmstb-l2: Set IRQ_LEVEL for level triggered interrupts
    9f487d888ee5 bpf: Fix global subprog context argument resolution logic
    3e8733949f81 can: esd_usb: Move mislocated storage of SJA1000_ECC_SEG bits in case of a bus error
    e02bc492883a thermal/drivers/hisi: Drop second sensor hi3660
    3856f7559722 wifi: mac80211: make rate u32 in sta_set_rate_info_rx()
    f333346001f9 crypto: crypto4xx - Call dma_unmap_page when done
    b10827bce739 selftests/bpf: Fix out-of-srctree build
    d7c5ecbc4915 wifi: mwifiex: fix loop iterator in mwifiex_update_ampdu_txwinsize()
    3185d6cfc592 wifi: iwl4965: Add missing check for create_singlethread_workqueue()
    2f80b3ff9251 wifi: iwl3945: Add missing check for create_singlethread_workqueue
    5da95a7eb9e3 RISC-V: time: initialize hrtimer based broadcast clock event device
    dabc22a30d83 m68k: /proc/hardware should depend on PROC_FS
    c9c87142260c crypto: rsa-pkcs1pad - Use akcipher_request_complete
    eb209a35d362 rds: rds_rm_zerocopy_callback() correct order for list_add_tail()
    b7aa7fbc1693 libbpf: Fix alen calculation in libbpf_nla_dump_errormsg()
    b8ed41cc04fb Bluetooth: L2CAP: Fix potential user-after-free
    4f4c970a05a2 OPP: fix error checking in opp_migrate_dentry()
    4a9272a864cb tap: tap_open(): correctly initialize socket uid
    9a31af61f397 tun: tun_chr_open(): correctly initialize socket uid
    2416abd6bad2 net: add sock_init_data_uid()
    4a614a68d9f8 s390/vmem: fix empty page tables cleanup under KASAN
    df8d3536b660 irqchip/ti-sci: Fix refcount leak in ti_sci_intr_irq_domain_probe
    cee12e8be8e2 irqchip/irq-mvebu-gicp: Fix refcount leak in mvebu_gicp_probe
    c9aaf4efe1f0 irqchip/alpine-msi: Fix refcount leak in alpine_msix_init_domains
    b00baffcc256 irqchip: Fix refcount leak in platform_irqchip_probe
    9cc2a41c5804 net/mlx5: Enhance debug print in page allocation failure
    94c4eafbbde3 bpftool: profile online CPUs instead of possible
    627e140a5b7d crypto: ccp - Flush the SEV-ES TMR memory before giving it to firmware
    959bd9d42a83 crypto: ccp - Refactor out sev_fw_alloc()
    6952629bed36 leds: led-class: Add missing put_device() to led_put()
    92a07ba4f0af crypto: xts - Handle EBUSY correctly
    119848416480 net: ethernet: ti: add missing of_node_put before return
    80c81aafc998 net: ethernet: ti: am65-cpsw: handle deferred probe with dev_err_probe()
    37f0ca73fe81 net: ethernet: ti: am65-cpsw: fix tx csum offload for multi mac mode
    8e83e1619fac x86/microcode: Adjust late loading result reporting message
    511e27e5fdd6 x86/microcode: Check CPU capabilities after late microcode update correctly
    89e848bb4aa1 x86/microcode: Add a parameter to microcode_check() to store CPU capabilities
    f5e78fa916aa x86/microcode: Print previous version of microcode after reload
    e6230806681f x86/microcode: Default-disable late loading
    9e56938f2072 x86/microcode: Rip out the OLD_INTERFACE
    8078a170baab x86: Mark stop_this_cpu() __noreturn
    3900b7de1df7 x86/microcode: Replace deprecated CPU-hotplug functions.
    2e3bd75f64d2 x86/cpu: Init AP exception handling from cpu_init_secondary()
    0e7a569929ac powercap: fix possible name leak in powercap_register_zone()
    ae849d2f4801 crypto: seqiv - Handle EBUSY correctly
    796e02cca30a crypto: essiv - Handle EBUSY correctly
    62d428c9fe1b crypto: ccp - Failure on re-initialization due to duplicate sysfs filename
    6fb7dead798c ACPI: battery: Fix missing NUL-termination with large strings
    45a1ca6f3ae7 wifi: cfg80211: Fix extended KCK key length check in nl80211_set_rekey_data()
    137963e3b957 wifi: ath11k: Fix memory leak in ath11k_peer_rx_frag_setup
    78b56b0a613a wifi: ath9k: Fix potential stack-out-of-bounds write in ath9k_wmi_rsp_callback()
    f26dd69f61ef wifi: ath9k: hif_usb: clean up skbs if ath9k_hif_usb_rx_stream() fails
    5668e63e2673 ath9k: htc: clean up statistics macros
    221f9bd5ec56 ath9k: hif_usb: simplify if-if to if-else
    ec246dfe006b wifi: ath9k: htc_hst: free skb in ath9k_htc_rx_msg() if there is no callback function
    b44178e71810 wifi: orinoco: check return value of hermes_write_wordrec()
    430f9f9bec53 wifi: rtl8xxxu: Fix memory leaks with RTL8723BU, RTL8192EU
    695f1d9431ff thermal/drivers/tsens: Sort out msm8976 vs msm8956 data
    40f62ff0d7ed thermal/drivers/tsens: Add compat string for the qcom,msm8960
    a9f2002484ec thermal/drivers/qcom/tsens_v1: Enable sensor 3 on MSM8976
    e6ec7fa688d9 thermal/drivers/tsens: Drop msm8976-specific defines
    5419cd28c8f2 ACPICA: nsrepair: handle cases without a return value correctly
    4c33e01fe1d2 crypto: ccp - Avoid page allocation failure warning for SEV_GET_ID2
    4c5300f6f5e1 crypto: ccp - Use kzalloc for sev ioctl interfaces to prevent kernel memory leak
    daaec051cd19 crypto: ccp: Use the stack and common buffer for status commands
    c997b509fd01 crypto: ccp: Use the stack for small SEV command buffers
    318dd6f5b7b4 lib/mpi: Fix buffer overrun when SG is too long
    1c37e86a78c2 rcu-tasks: Fix synchronize_rcu_tasks() VS zap_pid_ns_processes()
    ad410f64f7ab rcu-tasks: Remove preemption disablement around srcu_read_[un]lock() calls
    b02b6bb83c68 rcu-tasks: Improve comments explaining tasks_rcu_exit_srcu purpose
    a4935bb73444 genirq: Fix the return type of kstat_cpu_irqs_sum()
    5562585c4aa2 ACPICA: Drop port I/O validation for some regions
    6e43b2d9d166 crypto: x86/ghash - fix unaligned access in ghash_setkey()
    f6e429cde9ea wifi: wl3501_cs: don't call kfree_skb() under spin_lock_irqsave()
    93b8809be5ba wifi: libertas: cmdresp: don't call kfree_skb() under spin_lock_irqsave()
    2ddb1820bdac wifi: libertas: main: don't call kfree_skb() under spin_lock_irqsave()
    647230e71e1c wifi: libertas: if_usb: don't call kfree_skb() under spin_lock_irqsave()
    0258757caab5 wifi: libertas_tf: don't call kfree_skb() under spin_lock_irqsave()
    b4b4447481db wifi: brcmfmac: unmap dma buffer in brcmf_msgbuf_alloc_pktid()
    e08e6812efb6 wifi: brcmfmac: fix potential memory leak in brcmf_netdev_start_xmit()
    a1e94fb4d09d wifi: wilc1000: fix potential memory leak in wilc_mac_xmit()
    8a2eb9d9d0c1 wifi: ipw2200: fix memory leak in ipw_wdev_init()
    841ae9b924f4 wifi: ipw2x00: don't call dev_kfree_skb() under spin_lock_irqsave()
    3938f01405d6 libbpf: Fix btf__align_of() by taking into account field offsets
    1e950b9a841b wifi: rtlwifi: Fix global-out-of-bounds bug in _rtl8812ae_phy_set_txpower_limit()
    d4fddfd7282f rtlwifi: fix -Wpointer-sign warning
    75f4eed70a51 wifi: rtl8xxxu: don't call dev_kfree_skb() under spin_lock_irqsave()
    9c8f50c7433b wifi: libertas: fix memory leak in lbs_init_adapter()
    e9ef5631dd43 wifi: iwlegacy: common: don't call dev_kfree_skb() under spin_lock_irqsave()
    0e5b782c1c72 wifi: rtlwifi: rtl8723be: don't call kfree_skb() under spin_lock_irqsave()
    97018e737bd0 wifi: rtlwifi: rtl8188ee: don't call kfree_skb() under spin_lock_irqsave()
    d85d0b1a6135 wifi: rtlwifi: rtl8821ae: don't call kfree_skb() under spin_lock_irqsave()
    efc8df970561 wifi: rsi: Fix memory leak in rsi_coex_attach()
    0a82c1e0573b block: bio-integrity: Copy flags when bio_integrity_payload is cloned
    895cb50196ab x86/perf/zhaoxin: Add stepping check for ZXC
    80a1751730b3 sched/rt: pick_next_rt_entity(): check list_entry
    53dbbe36340d sched/deadline,rt: Remove unused parameter from pick_next_[rt|dl]_entity()
    a50e28d433ac s390/dasd: Fix potential memleak in dasd_eckd_init()
    72aebdac390b s390/dasd: Prepare for additional path event handling
    a33c33593b66 blk-mq: correct stale comment of .get_budget
    2c58012d9656 blk-mq: remove stale comment for blk_mq_sched_mark_restart_hctx
    12bcc4ec5496 blk-mq: avoid sleep in blk_mq_alloc_request_hctx
    d7cf3864d781 arm64: dts: mediatek: mt7622: Add missing pwm-cells to pwm node
    e874629c5fb7 ARM: dts: imx7s: correct iomuxc gpr mux controller cells
    bbddc7c70870 ARM: dts: sun8i: nanopi-duo2: Fix regulator GPIO reference
    a451c1377aa8 arm64: dts: renesas: beacon-renesom: Fix gpio expander reference
    4c37a37743a6 arm64: dts: amlogic: meson-gxbb-kii-pro: fix led node name
    c39c3ed4a3b9 arm64: dts: amlogic: meson-gxl-s905d-phicomm-n1: fix led node name
    269fd2fb043e arm64: dts: amlogic: meson-gx-libretech-pc: fix update button name
    373bb505ffe6 arm64: dts: amlogic: meson-gxl: add missing unit address to eth-phy-mux node name
    1c30db46dd1d arm64: dts: amlogic: meson-gx: add missing unit address to rng node name
    436060c1b668 arm64: dts: amlogic: meson-gxl-s905d-sml5442tw: drop invalid clock-names property
    6a46320f2ae7 arm64: dts: amlogic: meson-gx: add missing SCPI sensors compatible
    eb5f2c565779 arm64: dts: amlogic: meson-axg: fix SCPI clock dvfs node name
    a7163b258ae8 arm64: dts: amlogic: meson-gx: fix SCPI clock dvfs node name
    14736f2eaec5 ARM: imx: Call ida_simple_remove() for ida_simple_get
    23134f7a5429 ARM: dts: exynos: correct wr-active property in Exynos3250 Rinato
    5325b8a1208c arm64: dts: ti: k3-j7200: Fix wakeup pinmux range
    4811cfd28622 ARM: s3c: fix s3c64xx_set_timer_source prototype
    66315db914aa ARM: OMAP1: call platform_device_put() in error case in omap1_dm_timer_init()
    1fa673af0af8 arm64: dts: meson: remove CPU opps below 1GHz for G12A boards
    c56595b948ad arm64: dts: qcom: ipq8074: correct PCIe QMP PHY output clock names
    192cb335d89b arm64: dts: qcom: ipq8074: fix Gen3 PCIe node
    e839d027d71a arm64: dts: qcom: ipq8074: correct Gen2 PCIe ranges
    77970cf38954 arm64: dts: qcom: ipq8074: fix Gen3 PCIe QMP PHY
    9b5b1652e330 arm64: dts: qcom: ipq8074: fix PCIe PHY serdes size
    8f1cb871f948 arm64: dts: qcom: Fix IPQ8074 PCIe PHY nodes
    7ee2ca51e357 arm64: dts: qcom: ipq8074: correct USB3 QMP PHY-s clock output names
    5633e86cce6a arm64: dts: meson-gx: Fix the SCPI DVFS node name and unit address
    bd55aa16bf34 arm64: dts: meson-g12a: Fix internal Ethernet PHY unit name
    8303a34fce2a arm64: dts: meson-gx: Fix Ethernet MAC address unit name
    2df155a11447 arm64: dts: qcom: sc7180: correct SPMI bus address cells
    64b69cb420c5 arm64: dts: qcom: sdm845-db845c: fix audio codec interrupt pin name
    717aa3984652 arm64: dts: mediatek: mt8183: Fix systimer 13 MHz clock description
    227f8c1c5c4b ARM: zynq: Fix refcount leak in zynq_early_slcr_init
    644688a92162 arm64: dts: qcom: qcs404: use symbol names for PCIe resets
    4862c41d5f3b ARM: OMAP2+: Fix memory leak in realtime_counter_init()
    e1bb97947cac powerpc/mm: Rearrange if-else block to avoid clang warning
    21a2eec4a440 HID: asus: use spinlock to safely schedule workers
    6a63a3334aca HID: asus: use spinlock to protect concurrent accesses
    cb8382c37145 HID: asus: Remove check for same LED brightness on set

(From OE-Core rev: 43fe1cdb8d6220c9fc4d7df8bc89456e2f791580)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-11 11:31:52 +01:00
Bruce Ashfield
95246b3291 linux-yocto/5.10: update to v5.10.172
Updating  to the latest korg -stable release that comprises
the following commits:

    9fd42770b507 Linux 5.10.172
    da24142b1ef9 io_uring: ensure that io_init_req() passes in the right issue_flags
    a25aa776b0c4 Linux 5.10.171
    08681391b84d io_uring: add missing lock in io_get_file_fixed
    218925bfd5d1 USB: core: Don't hold device lock while reading the "descriptors" sysfs file
    c5360eec648b usb: gadget: u_serial: Add null pointer check in gserial_resume
    cebcd4300af9 USB: serial: option: add support for VW/Skoda "Carstick LTE"
    87c647def389 drm/virtio: Correct drm_gem_shmem_get_sg_table() error handling
    0a4181b23acf drm/virtio: Fix NULL vs IS_ERR checking in virtio_gpu_object_shmem_init
    a401ef0557da scripts/tags.sh: fix incompatibility with PCRE2
    65c07e15f2ce scripts/tags.sh: Invoke 'realpath' via 'xargs'
    1c44109c3094 md: Flush workqueue md_rdev_misc_wq in md_alloc()
    80653a6e6e28 vc_screen: don't clobber return value in vcs_read
    3e4bbd1f38a8 net: Remove WARN_ON_ONCE(sk->sk_forward_alloc) from sk_stream_kill_queues().
    a2957adbf3f5 bpf: bpf_fib_lookup should not return neigh in NUD_FAILED state
    75fbe1e43505 HID: core: Fix deadloop in hid_apply_multiplier.
    2fd5059f4fdf neigh: make sure used and confirmed times are valid
    065f6a663392 IB/hfi1: Assign npages earlier
    6195cea4c738 btrfs: send: limit number of clones and allocated memory size
    8e833fe47f45 ACPI: NFIT: fix a potential deadlock during NFIT teardown
    abbf52efadeb ARM: dts: rockchip: add power-domains property to dp node on rk3288
    1f3a209b2f4e arm64: dts: rockchip: drop unused LED mode property from rk3328-roc-cc
    887975834dea Fix XFRM-I support for nested ESP tunnels

(From OE-Core rev: 2f13f3e02efb83e9d935efac71bbf0b750420d23)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-11 11:31:52 +01:00
Bruce Ashfield
c7e2b92be5 linux-yocto/5.10: update to v5.10.170
Updating  to the latest korg -stable release that comprises
the following commits:

    22d269bb30db Linux 5.10.170
    12e3119a8762 bpf: add missing header file include
    c44e96d6c31a Revert "net/sched: taprio: make qdisc_leaf() see the per-netdev-queue pfifo child qdiscs"
    1ba10d3640e9 ext4: Fix function prototype mismatch for ext4_feat_ktype
    01e652f03a86 audit: update the mailing list in MAINTAINERS
    e1dc3f102a81 wifi: mwifiex: Add missing compatible string for SD8787
    4311ad1e7654 nbd: fix possible overflow on 'first_minor' in nbd_dev_add()
    2e0c3e43ebb9 nbd: fix possible overflow for 'first_minor' in nbd_dev_add()
    fd8107206a67 nbd: fix max value for 'first_minor'
    f3f6b33b77ba Revert "Revert "block: nbd: add sanity check for first_minor""
    3b6ce54cfa2c uaccess: Add speculation barrier to copy_from_user()
    267f62b7f3ee mac80211: mesh: embedd mesh_paths and mpp_paths into ieee80211_if_mesh
    3d743415c6fb drm/i915/gvt: fix double free bug in split_2MB_gtt_entry
    b50f6fc9d79f powerpc: dts: t208x: Disable 10G on MAC1 and MAC2
    6a3fb887da7d can: kvaser_usb: hydra: help gcc-13 to figure out cmd_len
    1b0cafaae888 KVM: VMX: Execute IBPB on emulated VM-exit when guest has IBRS
    c41d856b7064 KVM: SVM: Skip WRMSR fastpath on VM-Exit if next RIP isn't valid
    a7ef904b68f0 KVM: x86: Fail emulation during EMULTYPE_SKIP on any exception
    119e75d8fe4d random: always mix cycle counter in add_latent_entropy()
    2da1f9508579 clk: mxl: syscon_node_to_regmap() returns error pointers
    1423d88753ed powerpc: dts: t208x: Mark MAC1 and MAC2 as 10G
    caa47d91738f clk: mxl: Fix a clk entry by adding relevant flags
    9dcf2ca5d301 clk: mxl: Add option to override gate clks
    3789e905f488 clk: mxl: Remove redundant spinlocks
    072eb5fbd69c clk: mxl: Switch from direct readl/writel based IO to regmap based IO
    051d73eb9ab4 wifi: rtl8xxxu: gen2: Turn on the rate control
    eb9236d74c8c drm/etnaviv: don't truncate physical page address
    2ae73796985b Linux 5.10.169
    e95381034519 nvmem: core: fix return value
    c00867afe4ef net: sched: sch: Fix off by one in htb_activate_prios()
    31167df7c21f ASoC: SOF: Intel: hda-dai: fix possible stream_tag leak
    6af2872cc625 alarmtimer: Prevent starvation by small intervals and SIG_IGN
    6416c2108ba5 kvm: initialize all of the kvm_debugregs structure before sending it to userspace
    4fe9950815e1 net/sched: tcindex: search key must be 16 bits
    b452e20b95d7 i40e: Add checking for null for nlmsg_find_attr()
    5dfa51dbfc12 net/sched: act_ctinfo: use percpu stats
    015ea70d72c3 flow_offload: fill flags to action structure
    1d76a8444874 drm/i915/gen11: Wa_1408615072/Wa_1407596294 should be on GT list
    210e6011806a drm/i915/gen11: Moving WAs to icl_gt_workarounds_init()
    0ee5ed0126a2 nilfs2: fix underflow in second superblock position calculations
    7546fb3554df ipv6: Fix tcp socket connection with DSCP.
    5337bb508ba2 ipv6: Fix datagram socket connection with DSCP.
    1a4a5fd652dd ixgbe: add double of VLAN header when computing the max MTU
    7ff0fdba8229 net: mpls: fix stale pointer if allocation fails during device rename
    2dd914105a1e net: stmmac: Restrict warning on disabling DMA store and fwd mode
    7eb8ebb5e83f bnxt_en: Fix mqprio and XDP ring checking logic
    cc7ca4871a92 net: stmmac: fix order of dwmac5 FlexPPS parametrization sequence
    c0f65ee0a332 net: openvswitch: fix possible memory leak in ovs_meter_cmd_set()
    525bdcb0838d net/usb: kalmia: Don't pass act_len in usb_bulk_msg error path
    9d68bfa2205d dccp/tcp: Avoid negative sk_forward_alloc by ipv6_pinfo.pktoptions.
    eb8e9d8572d1 net/sched: tcindex: update imperfect hash filters respecting rcu
    747a17e25aec sctp: sctp_sock_filter(): avoid list_entry() on possibly empty list
    a5c51e0c3202 net: bgmac: fix BCM5358 support by setting correct flags
    23974088fd6a i40e: add double of VLAN header when computing the max MTU
    152a5f32ac9e ixgbe: allow to increase MTU to 3K with XDP enabled
    3a63392c19e9 revert "squashfs: harden sanity check in squashfs_read_xattr_id_table"
    e2bf52ff159d net: Fix unwanted sign extension in netdev_stats_to_stats64()
    1933be146c96 Revert "mm: Always release pages to the buddy allocator in memblock_free_late()."
    9662320238b9 hugetlb: check for undefined shift on 32 bit architectures
    ec9c7aa08819 sched/psi: Fix use-after-free in ep_remove_wait_queue()
    7ed5c147220f ALSA: hda/realtek - fixed wrong gpio assigned
    59d5c80ce538 ALSA: hda/conexant: add a new hda codec SN6180
    0b3edcb24bd8 mmc: mmc_spi: fix error handling in mmc_spi_probe()
    30716d9f0fa1 mmc: sdio: fix possible resource leaks in some error paths
    73ad25c50d3c mmc: jz4740: Work around bug on JZ4760(B)
    eaba3f9b672c netfilter: nft_tproxy: restrict to prerouting hook
    6618b0dcf265 ovl: remove privs in ovl_fallocate()
    f6f94837d92f ovl: remove privs in ovl_copyfile()
    645df4047bd6 s390/signal: fix endless loop in do_signal
    c261f798f7ba aio: fix mremap after fork null-deref
    2dcb474af1d5 nvmem: core: fix registration vs use race
    23676ecd2eb3 nvmem: core: fix cleanup after dev_set_name()
    89991ededcb5 nvmem: core: remove nvmem_config wp_gpio
    a19a0f67dbb8 nvmem: core: add error handling for dev_set_name
    25f65c83f5f7 platform/x86: touchscreen_dmi: Add Chuwi Vi8 (CWI501) DMI match
    ecf5b49df38f nvme-fc: fix a missing queue put in nvmet_fc_ls_create_association
    55dbd6f4ea95 s390/decompressor: specify __decompress() buf len to avoid overflow
    90fcf55d83b2 net: sched: sch: Bounds check priority
    614a58e00d7b net: stmmac: do not stop RX_CLK in Rx LPI state for qcs404 SoC
    aa84a8cc1b53 net/rose: Fix to not accept on connected socket
    37bb61763d9f tools/virtio: fix the vringh test for virtio ring changes
    3ec44268e29c ASoC: cs42l56: fix DT probe
    7fc4e7191eae ALSA: hda: Do not unset preset when cleaning up codec
    490fcbc7b5f6 selftests/bpf: Verify copy_register_state() preserves parent/live fields
    7d3a5ec57975 ASoC: Intel: sof_rt5682: always set dpcm_capture for amplifiers

(From OE-Core rev: 5ea52e8cbb054de807caee8f7d82840af181f8a5)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-11 11:31:52 +01:00
Bruce Ashfield
eb95a68b98 linux-yocto/5.10: update to v5.10.168
Updating  to the latest korg -stable release that comprises
the following commits:

    707c48210a53 Linux 5.10.168
    0a626e27f984 Fix page corruption caused by racy check in __free_pages
    0ef2490a876b arm64: dts: meson-axg: Make mmc host controller interrupts level-sensitive
    5bfc8f09619a arm64: dts: meson-g12-common: Make mmc host controller interrupts level-sensitive
    809f4acb7f01 arm64: dts: meson-gx: Make mmc host controller interrupts level-sensitive
    8eee3521bca7 riscv: Fixup race condition on PG_dcache_clean in flush_icache_pte
    6ff8b4825392 ceph: flush cap releases when the session is flushed
    4f518a4a79bd usb: typec: altmodes/displayport: Fix probe pin assign check
    f25fa93e5236 usb: core: add quirk for Alcor Link AK9563 smartcard reader
    dd965ad39de4 btrfs: free device in btrfs_close_devices for a single device filesystem
    1be271c52bf3 net: USB: Fix wrong-direction WARNING in plusb.c
    2b693fe3f760 cifs: Fix use-after-free in rdata->read_into_pages()
    bbc850904457 pinctrl: intel: Restore the pins that used to be in Direct IRQ mode
    4863f46ddaf9 spi: dw: Fix wrong FIFO level setting for long xfers
    6e2a0521e4e8 pinctrl: single: fix potential NULL dereference
    61f8a493c076 pinctrl: aspeed: Fix confusing types in return value
    ef3edede7b73 ALSA: pci: lx6464es: fix a debug loop
    3914b71dad5a selftests: forwarding: lib: quote the sysctl values
    c53f34ec3fbf rds: rds_rm_zerocopy_callback() use list_first_entry()
    3eb04ef27811 net/mlx5: fw_tracer, Zero consumer index when reloading the tracer
    fac1fb80088a net/mlx5: fw_tracer, Clear load bit when freeing string DBs buffers
    703c3efa4b0b net/mlx5e: IPoIB, Show unknown speed instead of error
    896bd85688b4 net: mscc: ocelot: fix VCAP filters not matching on MAC with "protocol 802.1Q"
    1ad4112c9fcf ice: Do not use WQ_MEM_RECLAIM flag for workqueue
    34a5af788ed4 uapi: add missing ip/ipv6 header dependencies for linux/stddef.h
    4259a4082772 ionic: clean interrupt before enabling queue to avoid credit race
    07097ad30b36 net: phy: meson-gxl: use MMD access dummy stubs for GXL, internal PHY
    cafa2ad4f1d7 bonding: fix error checking in bond_debug_reregister()
    30fdf660356f xfrm: fix bug with DSCP copy to v6 from v4 tunnel
    491b7a5fc8e2 RDMA/usnic: use iommu_map_atomic() under spin_lock()
    b1afb666c329 IB/IPoIB: Fix legacy IPoIB due to wrong number of queues
    a893cc644812 xfrm/compat: prevent potential spectre v1 gadget in xfrm_xlate32_attr()
    79b595d95914 IB/hfi1: Restore allocated resources on failed copyout
    3797e94c1992 xfrm: compat: change expression for switch in xfrm_xlate64
    bc9771cd6398 can: j1939: do not wait 250 ms if the same addr was already claimed
    edaf5c718314 of/address: Return an error when no valid dma-ranges are found
    b7d5fa8052ad tracing: Fix poll() and select() do not work on per_cpu trace_pipe and trace_pipe_raw
    35452bf986ab ALSA: hda/realtek: Fix the speaker output on Samsung Galaxy Book2 Pro 360
    e1646e2be956 ALSA: emux: Avoid potential array out-of-bound in snd_emux_xg_control()
    1c6576239906 ALSA: hda/realtek: Add Positivo N14KP6-TG
    f1fd16cd9753 btrfs: zlib: zero-initialize zlib workspace
    a1406d5aa393 btrfs: limit device extents to the device size
    dbe5a11954d8 migrate: hugetlb: check for hugetlb shared PMD in node migration
    97a5104d640d mm/migration: return errno when isolate_huge_page failed
    91ad3104b211 iio:adc:twl6030: Enable measurement of VAC
    e4c3ea9b6045 bpf: Do not reject when the stack read size is different from the tracked scalar size
    34ec4c7831c4 nvmem: core: Fix a conflict between MTD and NVMEM on wp-gpios property
    b2e412879595 wifi: brcmfmac: Check the count value of channel spec to prevent out-of-bounds reads
    914e38f02a49 f2fs: fix to do sanity check on i_extra_isize in is_alive()
    3931014367ef fbdev: smscufx: fix error handling code in ufx_usb_probe
    6c8a2c67a9d6 serial: 8250_dma: Fix DMA Rx rearm race
    967e726e57c3 serial: 8250_dma: Fix DMA Rx completion race
    1fd7a6a57968 nvmem: core: fix cell removal on error
    bb875f0a34e7 nvmem: core: initialise nvmem->id early
    b591abac78e2 drm/i915: Fix potential bit_17 double-free
    5c4d4a83bf1a Squashfs: fix handling and sanity checking of xattr_ids count
    30187be29052 mm/swapfile: add cond_resched() in get_swap_pages()
    639b40007a48 fpga: stratix10-soc: Fix return value check in s10_ops_write_init()
    0139d61d28a2 x86/debug: Fix stack recursion caused by wrongly ordered DR7 accesses
    556959327b19 mm: hugetlb: proc: check for hugetlb shared PMD in /proc/PID/smaps
    50d31309c999 riscv: disable generation of unwind tables
    71a4f39f99e8 parisc: Wire up PTRACE_GETREGS/PTRACE_SETREGS for compat case
    2982b473d764 parisc: Fix return code of pdc_iodc_print()
    170e1cc3c00f nvmem: qcom-spmi-sdam: fix module autoloading
    f11330b7ba51 iio: imu: fxos8700: fix MAGN sensor scale and unit
    5b30998c7f05 iio: imu: fxos8700: remove definition FXOS8700_CTRL_ODR_MIN
    42e34a08394a iio: imu: fxos8700: fix failed initialization ODR mode assignment
    ab976ecd0430 iio: imu: fxos8700: fix incorrect ODR mode readback
    9d6502ed6314 iio: imu: fxos8700: fix swapped ACCEL and MAGN channels readback
    aff4add60998 iio: imu: fxos8700: fix map label of channel type to MAGN sensor
    9545ce720ab1 iio: imu: fxos8700: fix IMU data bits returned to user space
    6d43eddc567b iio: imu: fxos8700: fix incomplete ACCEL and MAGN channels readback
    f7d996c953bf iio: imu: fxos8700: fix ACCEL measurement range selection
    11ac43f7631e iio:adc:twl6030: Enable measurements of VUSB, VBAT and others
    5602f6a244ab iio: adc: berlin2-adc: Add missing of_node_put() in error path
    33483172b35c iio: hid: fix the retval in accel_3d_capture_sample
    55cf65461b20 efi: Accept version 2 of memory attributes table
    8fb515c8b127 ALSA: hda/realtek: Add Acer Predator PH315-54
    192fd121d04f watchdog: diag288_wdt: fix __diag288() inline assembly
    5bcdcf437d3f watchdog: diag288_wdt: do not use stack buffers for hardware data
    0c76eddc1f89 net: qrtr: free memory on error path in radix_tree_insert()
    28d190882ba5 fbcon: Check font dimension limits
    658e0d99dbfb Input: i8042 - add Clevo PCX0DX to i8042 quirk table
    a82d49360496 Input: i8042 - add TUXEDO devices to i8042 quirk tables
    04d99a0a966a Input: i8042 - merge quirk tables
    ab85074c308f Input: i8042 - move __initconst to fix code styling warning
    55515d7d8743 vc_screen: move load of struct vc_data pointer in vcs_read() to avoid UAF
    434a36ed64ac usb: gadget: f_fs: Fix unbalanced spinlock in __ffs_ep0_queue_wait
    6e5565aa0047 usb: dwc3: qcom: enable vbus override when in OTG dr-mode
    1ca8629505fd usb: dwc3: dwc3-qcom: Fix typo in the dwc3 vbus override API
    30d0e2cf9900 iio: adc: stm32-dfsdm: fill module aliases
    4bbc34401d97 net/x25: Fix to not accept on connected socket
    2b1e8e20b984 platform/x86: dell-wmi: Add a keymap for KEY_MUTE in type 0x0010 table
    ac4d9c86e9f5 i2c: rk3x: fix a bunch of kernel-doc warnings
    9758ffe1c07b scsi: iscsi_tcp: Fix UAF during login when accessing the shost ipaddress
    1b28bf868fce scsi: target: core: Fix warning on RT kernels
    4e66ba3cfb4f i2c: mxs: suppress probe-deferral error message
    d09b0bf9ffd3 qede: execute xdp_do_flush() before napi_complete_done()
    8aba483f7034 qede: add netpoll support for qede driver
    87d4ff18738f efi: fix potential NULL deref in efi_mem_reserve_persistent
    70154489f531 net: openvswitch: fix flow memory leak in ovs_flow_cmd_new
    4fb430c69878 virtio-net: Keep stop() to follow mirror sequence of open()
    812236bb6a89 selftests: net: udpgso_bench_tx: Cater for pending datagrams zerocopy benchmarking
    9e7e2887ccb8 selftests: net: udpgso_bench: Fix racing bug between the rx/tx programs
    4babbd1f594d selftests: net: udpgso_bench_rx/tx: Stop when wrong CLI args are provided
    a4a493e599e3 selftests: net: udpgso_bench_rx: Fix 'used uninitialized' compiler warning
    4d9c9627161a ata: libata: Fix sata_down_spd_limit() when no link speed is reported
    b6d44072117b can: j1939: fix errant WARN_ON_ONCE in j1939_session_deactivate
    6362b861704f igc: return an error if the mac type is unknown in igc_ptp_systim_to_hwtstamp()
    98c93a01608f net: phy: meson-gxl: Add generic dummy stubs for MMD register access
    de2785aa3448 squashfs: harden sanity check in squashfs_read_xattr_id_table
    f53c6e7e77df netfilter: br_netfilter: disable sabotage_in hook after first suppression
    dd6991251a13 netrom: Fix use-after-free caused by accept on already connected socket
    362a2f5531dc net: phy: dp83822: Fix null pointer access on DP83825/DP83826 devices
    6824169e7488 sfc: correctly advertise tunneled IPv6 segmentation
    539fc3ef5104 virtio-net: execute xdp_do_flush() before napi_complete_done()
    63d1c4edbfc1 fix "direction" argument of iov_iter_kvec()
    0c67fb777508 fix iov_iter_bvec() "direction" argument
    b5437e0ba9e7 READ is "data destination", not source...
    fefb47a8331c WRITE is "data source", not destination...
    f9815b303e61 vhost/net: Clear the pending messages when the backend is removed
    de990d157179 scsi: Revert "scsi: core: map PQ=1, PDT=other values to SCSI_SCAN_TARGET_PRESENT"
    d08a9b0ad211 drm/vc4: hdmi: make CEC adapter name unique
    8c6b46d426ed arm64: dts: imx8mm: Fix pad control for UART1_DTE_RX
    9bd6074e1872 bpf, sockmap: Check for any of tcp_bpf_prots when cloning a listener
    36dbb8daf08a bpf: Fix to preserve reg parent/live fields when copying range info
    8de8c4a25ed8 bpf: Support <8-byte scalar spill and refill
    2b557fa635e7 ALSA: hda/via: Avoid potential array out-of-bound in add_secret_dac_path()
    1b1f56cc0eaa bpf: Fix a possible task gone issue with bpf_send_signal[_thread]() helpers
    2d0f276d504f powerpc/imc-pmu: Revert nest_init_lock to being a mutex
    9ff2bebc2cea bpf: Fix incorrect state pruning for <8B spill/fill
    60c27e0e37c8 bus: sunxi-rsb: Fix error handling in sunxi_rsb_init()
    d5a2dcee53fa firewire: fix memory leak for payload of request subaction to IEC 61883-1 FCP region
    a5acb54d4066 Linux 5.10.167
    6446369fb9f0 net: fix NULL pointer in skb_segment_list
    0f9db1209f59 Bluetooth: fix null ptr deref on hci_sync_conn_complete_evt
    d744c03c04a7 ACPI: processor idle: Practically limit "Dummy wait" workaround to old Intel systems
    bd0050b7ffa8 dmaengine: imx-sdma: Fix a possible memory leak in sdma_transfer_init
    19c9a2ba4699 blk-cgroup: fix missing pd_online_fn() while activating policy
    a1c0263f1eb4 bpf: Skip task with pid=1 in send_signal_common()
    f18546863123 arm64: dts: imx8mq-thor96: fix no-mmc property for SDHCI
    a26cef004146 ARM: dts: vf610: Fix pca9548 i2c-mux node names
    67a8beb8544e ARM: dts: imx: Fix pca9547 i2c-mux node name

(From OE-Core rev: d5eaf4d5a3a4ba24d8ebf84c84bf454c7e5fa02f)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-11 11:31:52 +01:00
Bruce Ashfield
26265dea94 linux-yocto/5.10: update to v5.10.166
Updating  to the latest korg -stable release that comprises
the following commits:

    8d823aaa220e Linux 5.10.166
    19f1f99be371 clk: Fix pointer casting to prevent oops in devm_clk_release()
    f84c9b72fb20 perf/x86/amd: fix potential integer overflow on shift of a int
    743435cd1705 netfilter: conntrack: unify established states for SCTP paths
    e284c273dbb4 x86/i8259: Mark legacy PIC interrupts with IRQ_LEVEL
    2eca102b350f block: fix and cleanup bio_check_ro
    7fe4fab87061 Revert "selftests/ftrace: Update synthetic event syntax errors"
    032a7d5ff519 nfsd: Ensure knfsd shuts down when the "nfsd" pseudofs is unmounted
    8fe3e574b3ac nouveau: explicitly wait on the fence in nouveau_bo_move_m2mf
    9f3dd454fea5 Revert "Input: synaptics - switch touchpad on HP Laptop 15-da3001TU to RMI mode"
    230be65a18f8 tools: gpio: fix -c option of gpio-event-mon
    7ff8128bb116 net: mdio-mux-meson-g12a: force internal PHY off on mux switch
    62a0806eb4d2 net/tg3: resolve deadlock in tg3_reset_task() during EEH
    e9c1b1e1a00b thermal: intel: int340x: Add locking to int340x_thermal_get_trip_type()
    3af20f63212d net: ravb: Fix possible hang if RIS2_QFF1 happen
    6ef652f35dcf sctp: fail if no bound addresses can be used for a given scope
    cf9a2ce0383e net/sched: sch_taprio: do not schedule in taprio_reset()
    7de16d75b20a netrom: Fix use-after-free of a listening socket.
    498584ccf46c netfilter: conntrack: fix vtag checks for ABORT/SHUTDOWN_COMPLETE
    7f9828fb1f68 ipv4: prevent potential spectre v1 gadget in fib_metrics_match()
    34c6142f0df9 ipv4: prevent potential spectre v1 gadget in ip_metrics_convert()
    870a565bd6fe netlink: annotate data races around sk_state
    8583f52c23c3 netlink: annotate data races around dst_portid and dst_group
    eccb532adabc netlink: annotate data races around nlk->portid
    0308b7dfea6f netfilter: nft_set_rbtree: skip elements in transaction from garbage collection
    4aacf3d78424 netfilter: nft_set_rbtree: Switch to node list walk for overlap detection
    d4c008f3b7f7 net: fix UaF in netns ops registration error path
    539ca5dcbc91 netlink: prevent potential spectre v1 gadgets
    ed173f77fd28 i2c: designware: use casting of u64 in clock multiplication to avoid overflow
    8949ef3a7a0c i2c: designware: Use DIV_ROUND_CLOSEST() macro
    8ebc2efcb6d6 units: Add SI metric prefix definitions
    974aaf11804f units: Add Watt units
    76d9ebb7f0bc EDAC/qcom: Do not pass llcc_driv_data as edac_device_ctl_info's pvt_info
    511f6c7c40b0 EDAC/device: Respect any driver-supplied workqueue polling value
    0cb922cef7e9 ARM: 9280/1: mm: fix warning on phys_addr_t to void pointer assignment
    98d85586aace thermal: intel: int340x: Protect trip temperature from concurrent updates
    76c5640737b8 KVM: x86/vmx: Do not skip segment attributes if unusable bit is set
    e037baee16e0 cifs: Fix oops due to uncleared server->smbd_conn in reconnect
    c42a6e687060 ftrace/scripts: Update the instructions for ftrace-bisect.sh
    886aa449235f trace_events_hist: add check for return value of 'create_hist_field'
    de3930a4883d tracing: Make sure trace_printk() can output as soon as it can be used
    083b3dda86f8 module: Don't wait for GOING modules
    ce3aa7694627 scsi: hpsa: Fix allocation size for scsi_host_alloc()
    6da7055826a1 xhci: Set HCD flag to defer primary roothub registration
    1d580d3e1311 Bluetooth: hci_sync: cancel cmd_timer if hci_open failed
    b98a8b731bd2 exit: Use READ_ONCE() for all oops/warn limit reads
    53f177b50449 docs: Fix path paste-o for /sys/kernel/warn_count
    b0bd5dcfa608 panic: Expose "warn_count" to sysfs
    8c99d4c4c192 panic: Introduce warn_limit
    55eba18262cb panic: Consolidate open-coded panic_on_warn checks
    530cdae5c2b2 exit: Allow oops_limit to be disabled
    7cffbcd68f1c exit: Expose "oops_count" to sysfs
    de586785b981 exit: Put an upper limit on how often we can oops
    191a3b17dd9b panic: Separate sysctl logic from CONFIG_SMP
    1b9a33a94b9c ia64: make IA64_MCA_RECOVERY bool instead of tristate
    6d971830da31 csky: Fix function name in csky_alignment() and die()
    648d8b8c4938 h8300: Fix build errors from do_exit() to make_task_dead() transition
    63d77c559678 hexagon: Fix function name in die()
    b2c178f31162 objtool: Add a missing comma to avoid string concatenation
    d9c740c765e5 exit: Add and use make_task_dead.
    715a63588f56 kasan: no need to unset panic_on_warn in end_report()
    b857b42a8c09 ubsan: no need to unset panic_on_warn in ubsan_epilogue()
    590ba6fee095 panic: unset panic_on_warn inside panic()
    e97ec099d7fd kernel/panic: move panic sysctls to its own file
    e6226917f4cf sysctl: add a new register_sysctl_init() interface
    c4097e844a6e fs: reiserfs: remove useless new_opts in reiserfs_remount
    1f6768143bf7 x86: ACPI: cstate: Optimize C3 entry on AMD CPUs
    5fb884d748e4 netfilter: conntrack: do not renew entry stuck in tcp SYN_SENT state
    a7345145e7bd Revert "selftests/bpf: check null propagation only neither reg is PTR_TO_BTF_ID"
    20a02bc84508 lockref: stop doing cpu_relax in the cmpxchg loop
    f8ddf7dbf5e7 platform/x86: asus-nb-wmi: Add alternate mapping for KEY_SCREENLOCK
    9968f9a86251 platform/x86: touchscreen_dmi: Add info for the CSL Panther Tab HD
    52249c2168af scsi: hisi_sas: Set a port invalid only if there are no devices attached when refreshing port id
    71bd134c4e9e KVM: s390: interrupt: use READ_ONCE() before cmpxchg()
    300da569a128 spi: spidev: remove debug messages that access spidev->spi without locking
    a84def9b108a ASoC: fsl-asoc-card: Fix naming of AC'97 CODEC widgets
    d9a0752a6a11 ASoC: fsl_ssi: Rename AC'97 streams to avoid collisions with AC'97 CODEC
    00f230161187 cpufreq: armada-37xx: stop using 0 as NULL pointer
    2ca345d19cbd s390/debug: add _ASM_S390_ prefix to header guard
    ae108a5fc929 drm: Add orientation quirk for Lenovo ideapad D330-10IGL
    96f4899a3810 ASoC: fsl_micfil: Correct the number of steps on SX controls
    3b154d5204ff kcsan: test: don't put the expect array on the stack
    b75e9fc402c4 cpufreq: Add Tegra234 to cpufreq-dt-platdev blocklist
    6bc564f3fec0 scsi: iscsi: Fix multiple iSCSI session unbind events sent to userspace
    d79e700680f9 tcp: fix rate_app_limited to default to 1
    a84240df7079 net: dsa: microchip: ksz9477: port map correction in ALU table entry register
    704a423c9379 driver core: Fix test_async_probe_init saves device in wrong array
    216f35db6ec6 w1: fix WARNING after calling w1_process()
    8e5be0ae5506 w1: fix deadloop in __w1_remove_master_device()
    ddf16dae65d3 tcp: avoid the lookup process failing to get sk in ehash table
    5f10f7efe0fc nvme-pci: fix timeout request state check
    98519ed69113 dmaengine: xilinx_dma: call of_node_put() when breaking out of for_each_child_of_node()
    28fc6095da22 HID: betop: check shape of output reports
    16791d5a7a9a l2tp: prevent lockdep issue in l2tp_tunnel_register()
    f96b2f690887 net: macb: fix PTP TX timestamp failure due to packet padding
    42ecd72f02cd dmaengine: Fix double increment of client_count in dma_chan_get()
    1e97e2e08e79 drm/panfrost: fix GENERIC_ATOMIC64 dependency
    31f63c62a8e8 net: mlx5: eliminate anonymous module_init & module_exit
    4b3b5cc1a7dc usb: gadget: f_fs: Ensure ep0req is dequeued before free_request
    6dd9ea05534f usb: gadget: f_fs: Prevent race during ffs_ep0_queue_wait
    55be77aa8974 HID: revert CHERRY_MOUSE_000C quirk
    34f11949938b net: stmmac: fix invalid call to mdiobus_get_phy()
    20fd4598762e HID: check empty report_list in bigben_probe()
    5dc3469a1170 HID: check empty report_list in hid_validate_values()
    4bc5f1f6bc94 net: mdio: validate parameter addr in mdiobus_get_phy()
    67866b1e0ab9 net: usb: sr9700: Handle negative len
    2d77e5c0ad79 l2tp: close all race conditions in l2tp_tunnel_register()
    76c640d6a1e8 l2tp: convert l2tp_tunnel_list to idr
    5b209b8c99d4 l2tp: Don't sleep and disable BH under writer-side sk_callback_lock
    e34a965f771f l2tp: Serialize access to sk_user_data with sk_callback_lock
    c60fe70078d6 net/sched: sch_taprio: fix possible use-after-free
    802fd7623e9e wifi: rndis_wlan: Prevent buffer overflow in rndis_query_oid
    1af8071bd08e gpio: mxc: Always set GPIOs used as interrupt source to INPUT mode
    613020d0489e net: wan: Add checks for NULL for utdm in undo_uhdlc_init and unmap_si_regs
    ad1baab3a5c0 net: nfc: Fix use-after-free in local_cleanup()
    2a0156a4aaea phy: rockchip-inno-usb2: Fix missing clk_disable_unprepare() in rockchip_usb2phy_power_on()
    da75dec7c661 bpf: Fix pointer-leak due to insufficient speculative store bypass mitigation
    f351af45e203 amd-xgbe: Delay AN timeout during KR training
    a65a8727a2fe amd-xgbe: TX Flow Ctrl Registers are h/w ver dependent
    aa8b584cec01 ARM: dts: at91: sam9x60: fix the ddr clock for sam9x60
    fa566549a152 phy: ti: fix Kconfig warning and operator precedence
    b18490138dc6 PM: AVS: qcom-cpr: Fix an error handling path in cpr_probe()
    39ab0fc49842 affs: initialize fsdata in affs_truncate()
    f6fa12fbb17c IB/hfi1: Remove user expected buffer invalidate race
    6ce4382bd137 IB/hfi1: Immediately remove invalid memory from hardware
    6dd8136fd1b3 IB/hfi1: Fix expected receive setup error exit issues
    ee474dd66e82 IB/hfi1: Reserve user expected TIDs
    73e5666bf30d IB/hfi1: Reject a zero-length user expected buffer
    d66c1d4178c2 RDMA/core: Fix ib block iterator counter overflow
    eab7a920379a tomoyo: fix broken dependency on *.conf.default
    6813d8ba7dac firmware: arm_scmi: Harden shared memory access in fetch_notification
    e85df1db28dc firmware: arm_scmi: Harden shared memory access in fetch_response
    329fbd260352 EDAC/highbank: Fix memory leak in highbank_mc_probe()
    7b4516ba56f1 HID: intel_ish-hid: Add check for ishtp_dma_tx_map
    d775671dccf4 ARM: imx: add missing of_node_put()
    5c1dcedd5206 arm64: dts: imx8mm-beacon: Fix ecspi2 pinmux
    cccb0aea9c3f ARM: dts: imx6qdl-gw560x: Remove incorrect 'uart-has-rtscts'
    6805e392f508 ARM: dts: imx7d-pico: Use 'clock-frequency'
    2a3c3a01e2f0 ARM: dts: imx6ul-pico-dwarf: Use 'clock-frequency'
    e57ea0c6ba7f memory: mvebu-devbus: Fix missing clk_disable_unprepare in mvebu_devbus_probe()
    53f55d6e07c4 memory: atmel-sdramc: Fix missing clk_disable_unprepare in atmel_ramc_probe()
    935ec78de50e clk: Provide new devm_clk helpers for prepared and enabled clocks
    0b8b21c0b38f clk: generalize devm_clk_get() a bit
    179624a57b78 Linux 5.10.165
    e699cce29acc io_uring/rw: remove leftover debug statement
    3d5f181bda25 io_uring/rw: ensure kiocb_end_write() is always called
    c1a279d79e31 io_uring: fix double poll leak on repolling
    ddaaadf22bea io_uring: Clean up a false-positive warning from GCC 9.3.0
    8bc72b4952cf mm/khugepaged: fix collapse_pte_mapped_thp() to allow anon_vma
    217721b76313 Bluetooth: hci_qca: Fixed issue during suspend
    c208f1e84a67 Bluetooth: hci_qca: check for SSR triggered flag while suspend
    ef11bc4bb975 Bluetooth: hci_qca: Wait for SSR completion during suspend
    c392c350a042 soc: qcom: apr: Make qcom,protection-domain optional again
    71e5cd1018d3 Revert "wifi: mac80211: fix memory leak in ieee80211_if_add()"
    be1067427abd net/mlx5: fix missing mutex_unlock in mlx5_fw_fatal_reporter_err_work()
    f6c201b4382d net/ulp: use consistent error code when blocking ULP
    fc2491562a9b io_uring/net: fix fast_iov assignment in io_setup_async_msg()
    89a77271d254 io_uring: io_kiocb_update_pos() should not touch file for non -1 offset
    c6e3c12ff9fb tracing: Use alignof__(struct {type b;}) instead of offsetof()
    03ba86bb3811 x86/fpu: Use _Alignof to avoid undefined behavior in TYPE_ALIGN
    2f45b20c3999 Revert "drm/amdgpu: make display pinning more flexible (v2)"
    d6544bccc196 efi: rt-wrapper: Add missing include
    4012603cbd46 arm64: efi: Execute runtime services from a dedicated stack
    bf1d287c1413 drm/amd/display: Fix COLOR_SPACE_YCBCR2020_TYPE matrix
    75105d943d7a drm/amd/display: Calculate output_color_space after pixel encoding adjustment
    a3ef53248399 drm/amd/display: Fix set scaling doesn's work
    59590f50ec9d drm/i915: re-disable RC6p on Sandy Bridge
    d960fff8e2c0 mei: me: add meteor lake point M DID
    ae2a9dcc8caa gsmi: fix null-deref in gsmi_get_variable
    a75e80d11826 serial: atmel: fix incorrect baudrate setup
    5a7a04079592 dmaengine: tegra210-adma: fix global intr clear
    c9da2cb968ea serial: pch_uart: Pass correct sg to dma_unmap_sg()
    e924f79e67d7 dt-bindings: phy: g12a-usb3-pcie-phy: fix compatible string documentation
    31132df12a93 dt-bindings: phy: g12a-usb2-phy: fix compatible string documentation
    a9f2658a0192 usb-storage: apply IGNORE_UAS only for HIKSEMI MD202 on RTL9210
    e92c70059178 usb: gadget: f_ncm: fix potential NULL ptr deref in ncm_bitrate()
    06600ae7e069 usb: gadget: g_webcam: Send color matching descriptor per frame
    6107a8f15c0f usb: typec: altmodes/displayport: Fix pin assignment calculation
    d26f38d16fcb usb: typec: altmodes/displayport: Add pin assignment helper
    9c58f1e9e693 usb: host: ehci-fsl: Fix module alias
    3dc896db027b USB: serial: cp210x: add SCALANCE LPE-9000 device id
    856e4b5e53f2 USB: gadgetfs: Fix race between mounting and unmounting
    894681682dbe tty: serial: qcom-geni-serial: fix slab-out-of-bounds on RX FIFO buffer
    c4ab24e3334b thunderbolt: Use correct function to calculate maximum USB3 link rate
    531268a875dc cifs: do not include page data when checking signature
    3bd433748571 btrfs: fix race between quota rescan and disable leading to NULL pointer deref
    6ee8feca9150 mmc: sdhci-esdhc-imx: correct the tuning start tap and step setting
    79819909c223 mmc: sunxi-mmc: Fix clock refcount imbalance during unbind
    2eed23765b7e comedi: adv_pci1760: Fix PWM instruction handling
    7efeed828c90 usb: core: hub: disable autosuspend for TI TUSB8041
    b171d0d2cf1b misc: fastrpc: Fix use-after-free race condition for maps
    193cd853145b misc: fastrpc: Don't remove map on creater_process and device_release
    e0db5d44bc27 USB: misc: iowarrior: fix up header size for USB_DEVICE_ID_CODEMERCS_IOW100
    20d0dedc7a04 staging: vchiq_arm: fix enum vchiq_status return types
    a06e9ec5abde USB: serial: option: add Quectel EM05CN modem
    2f44c60bb89c USB: serial: option: add Quectel EM05CN (SG) modem
    fcd49b230906 USB: serial: option: add Quectel EC200U modem
    21c5b618128b USB: serial: option: add Quectel EM05-G (RS) modem
    46b898f9345d USB: serial: option: add Quectel EM05-G (CS) modem
    3774654f7a63 USB: serial: option: add Quectel EM05-G (GR) modem
    9f8e45720e0e prlimit: do_prlimit needs to have a speculation check
    96562a23cfaf xhci: Detect lpm incapable xHC USB3 roothub ports from ACPI tables
    2551f8cbf2de usb: acpi: add helper to check port lpm capability using acpi _DSM
    4d70a8a9ab8e xhci: Add a flag to disable USB3 lpm on a xhci root port level.
    83e3a5be7475 xhci: Add update_hub_device override for PCI xHCI hosts
    081105213ff6 xhci: Fix null pointer dereference when host dies
    66fc1600855c usb: xhci: Check endpoint is valid before dereferencing it
    8ca60d59b963 xhci-pci: set the dma max_seg_size
    ea2e6286e3e8 io_uring/rw: defer fsnotify calls to task context
    e90cfb969994 io_uring: do not recalculate ppos unnecessarily
    ea528ecac3ae io_uring: update kiocb->ki_pos at execution time
    076f872314d4 io_uring: remove duplicated calls to io_kiocb_ppos
    e9c6556708d3 io_uring: ensure that cached task references are always put on exit
    e0140e9da31e io_uring: fix CQ waiting timeout handling
    de77faee2801 io_uring: lock overflowing for IOPOLL
    78e8151f04f0 io_uring: check for valid register opcode earlier
    aa4c9b3e45e2 io_uring: fix async accept on O_NONBLOCK sockets
    4bc17e6381bd io_uring: allow re-poll if we made progress
    f901b4bfd03e io_uring: support MSG_WAITALL for IORING_OP_SEND(MSG)
    96ccba4a1a59 io_uring: add flag for disabling provided buffer recycling
    aadd9b093018 io_uring: ensure recv and recvmsg handle MSG_WAITALL correctly
    abdc16c8361b io_uring: improve send/recv error handling
    2fd232bbd66f io_uring: don't gate task_work run on TIF_NOTIFY_SIGNAL
    e84ec6e25df9 Bluetooth: hci_qca: Fix driver shutdown on closed serdev
    1ab0098333f5 Bluetooth: hci_qca: Wait for timeout during suspend
    413638f61501 drm/i915/gt: Reset twice
    cab2123567af ALSA: hda/realtek - Turn on power early
    5822baf9501a efi: fix userspace infinite retry read efivars after EFI runtime services page fault
    712bd74eccb9 nilfs2: fix general protection fault in nilfs_btree_insert()
    03bf73e09ad6 zonefs: Detect append writes at invalid locations
    20d0a6d17e85 Add exception protection processing for vd in axi_chan_handle_err function
    187523fa7c2d wifi: mac80211: sdata can be NULL during AMPDU start
    2d1fd99e8e12 wifi: brcmfmac: fix regression for Broadcom PCIe wifi devices
    72009139a661 f2fs: let's avoid panic if extent_tree is not created
    bf6c7f180131 x86/asm: Fix an assembler warning with current binutils
    18bd1c9c02e6 btrfs: always report error in run_one_delayed_ref()
    936b8b15a23b RDMA/srp: Move large values to a new enum for gcc13
    0040e48492f3 net/ethtool/ioctl: return -EOPNOTSUPP if we have no phy stats
    f7845de23f90 tools/virtio: initialize spinlocks in vring_test.c
    3093027183f2 selftests/bpf: check null propagation only neither reg is PTR_TO_BTF_ID
    c7c36bb6eafd pNFS/filelayout: Fix coalescing test for single DS
    2cbd815970f8 btrfs: fix trace event name typo for FLUSH_DELAYED_REFS

(From OE-Core rev: 4696c21e0b6f096847559dff4ac71d0cb91fda57)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-11 11:31:52 +01:00
Bruce Ashfield
37b2498b9b linux-yocto/5.10: update to v5.10.164
Updating  to the latest korg -stable release that comprises
the following commits:

    3a9f1b907bc4 Linux 5.10.164
    74985c575767 Revert "usb: ulpi: defer ulpi_register on ulpi_read_id timeout"
    a88a0d16e18f io_uring/io-wq: only free worker if it was allocated for creation
    b912ed1363b3 io_uring/io-wq: free worker if task_work creation is canceled
    68bcd0638570 drm/virtio: Fix GEM handle creation UAF
    4ca71bc0e199 efi: fix NULL-deref in init error path
    057f5ddfbc13 arm64: cmpxchg_double*: hazard against entire exchange variable
    9a5fd0844e7f arm64: atomics: remove LL/SC trampolines
    28840e46eaaf arm64: atomics: format whitespace consistently
    5dac4c7212a7 x86/resctrl: Fix task CLOSID/RMID update race
    446c7251f007 x86/resctrl: Use task_curr() instead of task_struct->on_cpu to prevent unnecessary IPI
    196c6f0c3e21 KVM: x86: Do not return host topology information from KVM_GET_SUPPORTED_CPUID
    0027164b24f2 Documentation: KVM: add API issues section
    caaea2ab6b6d iommu/mediatek-v1: Fix an error handling path in mtk_iommu_v1_probe()
    cf38e7624179 iommu/mediatek-v1: Add error handle for mtk_iommu_probe
    60806adc9be0 mm: Always release pages to the buddy allocator in memblock_free_late().
    092f0c2d1f83 net/mlx5e: Don't support encap rules with gbp option
    b3d47227f06f net/mlx5: Fix ptp max frequency adjustment range
    453277feb41c net/sched: act_mpls: Fix warning during failed attribute validation
    0ca78c99656f nfc: pn533: Wait for out_urb's completion in pn533_usb_send_frame()
    92b30a27e4fa hvc/xen: lock console list traversal
    14e72a56e16c octeontx2-af: Fix LMAC config in cgx_lmac_rx_tx_enable
    8e2bfcfaabc3 octeontx2-af: Map NIX block from CGX connection
    d9be5b57ab2c octeontx2-af: Update get/set resource count functions
    0d0675bc33e6 tipc: fix unexpected link reset due to discovery messages
    d83cac6c00b8 ASoC: wm8904: fix wrong outputs volume after power reactivation
    d4aa749e0464 regulator: da9211: Use irq handler when ready
    3ca8ef4d91ef EDAC/device: Fix period calculation in edac_device_reset_delay_period()
    28b9a0e216db x86/boot: Avoid using Intel mnemonics in AT&T syntax asm
    8cbeb60320ac powerpc/imc-pmu: Fix use of mutex in IRQs disabled section
    4e6a70fd8404 netfilter: ipset: Fix overflow before widen in the bitmap_ip_create() function.
    a3a1114aa615 xfrm: fix rcu lock in xfrm_notify_userpolicy()
    091f85db4c3f ext4: fix uninititialized value in 'ext4_evict_inode'
    98407a4ae34b usb: ulpi: defer ulpi_register on ulpi_read_id timeout
    3d13818a9995 xhci: Prevent infinite loop in transaction errors recovery for streams
    2f90fcedc5d6 xhci: move and rename xhci_cleanup_halted_endpoint()
    cad965cedbc4 xhci: store TD status in the td struct instead of passing it along
    9b63a80c45e9 xhci: move xhci_td_cleanup so it can be called by more functions
    44c635c60f78 xhci: Add xhci_reset_halted_ep() helper function
    10287d18f524 xhci: adjust parameters passed to cleanup_halted_endpoint()
    aaaa7cc4aba1 xhci: get isochronous ring directly from endpoint structure
    a81ace065694 xhci: Avoid parsing transfer events several times
    ba20d6056b6b clk: imx: imx8mp: add shared clk gate for usb suspend clk
    2b331d2137cc dt-bindings: clocks: imx8mp: Add ID for usb suspend clock
    cb769960ef48 clk: imx8mp: add clkout1/2 support
    85eaaa17c0a9 clk: imx8mp: Add DISP2 pixel clock
    6b21077146c5 iommu/amd: Fix ill-formed ivrs_ioapic, ivrs_hpet and ivrs_acpihid options
    5badda810f69 iommu/amd: Add PCI segment support for ivrs_[ioapic/hpet/acpihid] commands
    ab9bb65b8519 bus: mhi: host: Fix race between channel preparation and M0 event
    6c9e2c11c33c ipv6: raw: Deduct extension header length in rawv6_push_pending_frames
    112df4cd2b09 ixgbe: fix pci device refcount leak
    f401062d8dbd platform/x86: sony-laptop: Don't turn off 0x153 keyboard backlight during probe
    785607e5e6fb drm/msm/dp: do not complete dp_aux_cmd_fifo_tx() if irq is not for aux transfer
    8c71777b6a17 drm/msm/adreno: Make adreno quirks not overwrite each other
    afb6063aa89f cifs: Fix uninitialized memory read for smb311 posix symlink create
    51dbedee2ff3 s390/percpu: add READ_ONCE() to arch_this_cpu_to_op_simple()
    bddb35526784 s390/cpum_sf: add READ_ONCE() semantics to compare and swap loops
    2adc64f3e669 ASoC: qcom: lpass-cpu: Fix fallback SD line index handling
    5ee3083307ef s390/kexec: fix ipl report address for kdump
    d1725dbf2310 perf auxtrace: Fix address filter duplicate symbol selection
    eaabceae1b70 docs: Fix the docs build with Sphinx 6.0
    38c4a17c6b32 efi: tpm: Avoid READ_ONCE() for accessing the event log
    c47883105cff KVM: arm64: Fix S1PTW handling on RO memslots
    443b390f2cc9 ALSA: hda/realtek: Enable mute/micmute LEDs on HP Spectre x360 13-aw0xxx
    550efeff989b netfilter: nft_payload: incorrect arithmetics when fetching VLAN header bits
    19ff2d645f7a Linux 5.10.163
    de4a20e14823 ALSA: hda - Enable headset mic on another Dell laptop with ALC3254
    0ad275c139a3 ALSA: hda/hdmi: Add a HP device 0x8715 to force connect list
    df02234e6b87 ALSA: pcm: Move rwsem lock inside snd_ctl_elem_read to prevent UAF
    f8ed0a93b5d5 net/ulp: prevent ULP without clone op from entering the LISTEN status
    9f7bc28a6b8a net: sched: disallow noqueue for qdisc classes
    6eb02c596ec0 mptcp: use proper req destructor for IPv6
    f4c7afa951ea mptcp: dedicated request sock for subflow in v6
    31472f94c68f mptcp: remove MPTCP 'ifdef' in TCP SYN cookies
    5aa15a8400cc mptcp: mark ops structures as ro_after_init
    f5ef26276bb0 serial: fixup backport of "serial: Deassert Transmit Enable on probe in driver-specific way"
    2ecf0819e441 fsl_lpuart: Don't enable interrupts too early
    23ad034760dd ext4: don't set up encryption key during jbd2 transaction
    d9ff5ad203b6 ext4: disable fast-commit of encrypted dir operations
    5b700b9c0402 parisc: Align parisc MADV_XXX constants with all other architectures
    07b3672c4090 io_uring: Fix unsigned 'res' comparison with zero in io_fixup_rw_res()
    b57d7b1dcda1 efi: random: combine bootloader provided RNG seed with RNG protocol output
    da20f56a3532 mbcache: Avoid nesting of cache->c_list_lock under bit locks
    be01f35efa87 hfs/hfsplus: avoid WARN_ON() for sanity check, use proper error handling
    1f881d9201f6 hfs/hfsplus: use WARN_ON for sanity check
    434909edcae3 selftests: set the BUILD variable to absolute path
    a41d63f20471 ext4: don't allow journal inode to have encrypt flag
    af90f8b36d78 drm/i915/gvt: fix vgpu debugfs clean in remove
    bb7c7b2c89d2 drm/i915/gvt: fix gvt debugfs destroy
    bc847857fbd8 riscv: uaccess: fix type of 0 variable on error in get_user()
    f64e56fb285a fbdev: matroxfb: G200eW: Increase max memory from 1 MB to 16 MB
    d0c46b55d6d9 nfsd: fix handling of readdir in v4root vs. mount upcall timeout
    67e39c4f4cb3 x86/bugs: Flush IBP in ib_prctl_set()
    f13301a69aba nvme: fix multipath crash caused by flush request when blktrace is enabled
    3f257a98e54c ASoC: Intel: bytcr_rt5640: Add quirk for the Advantech MICA-071 tablet
    6df376e24569 udf: Fix extension of the last extent in the file
    84b2cc7b36b7 caif: fix memory leak in cfctrl_linkup_request()
    e5a05837445e drm/i915: unpin on error in intel_vgpu_shadow_mm_pin()
    232ef345e5d7 usb: rndis_host: Secure rndis_query check against int overflow
    2a9ee7c24b32 drivers/net/bonding/bond_3ad: return when there's no aggregator
    bc6a0993bf8f perf tools: Fix resources leak in perf_data__open_dir()
    ee756980e491 netfilter: ipset: Rework long task execution when adding/deleting entries
    ba5d27909745 netfilter: ipset: fix hash:net,port,net hang with /0 subnet
    b2c917e510e5 net: sched: cbq: dont intepret cls results when asked to drop
    5f65f48516bf net: sched: atm: dont intepret cls results when asked to drop
    f4a2ad100200 gpio: sifive: Fix refcount leak in sifive_gpio_probe
    7ec369e215bf ceph: switch to vfs_inode_has_locks() to fix file lock bug
    407710427dd5 filelock: new helper: vfs_inode_has_locks
    9f0ff5de3e81 drm/meson: Reduce the FIFO lines held when AFBC is not used
    ae2639cd2c8c RDMA/mlx5: Fix validation of max_rd_atomic caps for DC
    106d0d33c9d1 net: phy: xgmiitorgmii: Fix refcount leak in xgmiitorgmii_probe
    398e14bb735d net: amd-xgbe: add missed tasklet_kill
    e3d90ca90652 net/mlx5e: Fix hw mtu initializing at XDP SQ allocation
    6d655a9d8251 net/mlx5e: IPoIB, Don't allow CQE compression to be turned on by default
    670b20617346 net/mlx5: Avoid recovery in probe flows
    66b92b80c95e net/mlx5: Add forgotten cleanup calls into mlx5_init_once() error path
    b6c74d237648 vhost: fix range used in translate_desc()
    264fb6dcbfde vringh: fix range used in iotlb_translate()
    eabb3ceb04cd vhost/vsock: Fix error handling in vhost_vsock_init()
    e0f5c962c066 nfc: Fix potential resource leaks
    513787ff9a33 qlcnic: prevent ->dcb use-after-free on qlcnic_dcb_enable() failure
    b314f6c35121 net: sched: fix memory leak in tcindex_set_parms
    4226ce95a934 net: hns3: add interrupts re-initialization while doing VF FLR
    998ebbdc3bb1 nfsd: shut down the NFSv4 state objects before the filecache
    69d896b60957 veth: Fix race with AF_XDP exposing old or uninitialized descriptors
    5f41212dc2ec vmxnet3: correctly report csum_level for encapsulated packet
    0b70f6ea4d4f drm/panfrost: Fix GEM handle creation ref-counting
    e68e088d0d6a bpf: pull before calling skb_postpull_rcsum()
    cb0d627bc711 SUNRPC: ensure the matching upcall is in-flight upon downcall
    1be16a0c2f10 ext4: fix deadlock due to mbcache entry corruption
    0da99012d3f7 mbcache: automatically delete entries from cache on freeing
    1a56cd972ce1 ext4: fix race when reusing xattr blocks
    4cc218e217bf ext4: unindent codeblock in ext4_xattr_block_set()
    0e6fbc566fcc ext4: remove EA inode entry from mbcache on inode eviction
    27c08673978e mbcache: add functions to delete entry if unused
    fb59d12ae7f9 mbcache: don't reclaim used entries
    4c363e2961cd ext4: use kmemdup() to replace kmalloc + memcpy
    b8b7922374b0 ext4: fix leaking uninitialized memory in fast-commit journal
    a5584ba9b3b6 ext4: fix various seppling typos
    adfefe804b1f ext4: simplify ext4 error translation
    95eaa8a95358 ext4: move functions in super.c
    769469f8f188 fs: ext4: initialize fsdata in pagecache_write()
    b33e42d65efe ext4: use memcpy_to_page() in pagecache_write()
    60d4383c1bda mm/highmem: Lift memcpy_[to|from]_page to core
    f86d3338c87c ext4: correct inconsistent error msg in nojournal mode
    99017eb3deee ext4: goto right label 'failed_mount3a'
    56d87959c654 riscv: stacktrace: Fixup ftrace_graph_ret_addr retp argument
    ecb8e8b2e55f riscv/stacktrace: Fix stack output without ra on the stack top
    b5c75efd0a6c ravb: Fix "failed to switch device to config mode" message during unbind
    5451efb2ca30 staging: media: tegra-video: fix device_node use after free
    f899baf6cb0f x86/kprobes: Fix optprobe optimization check with CONFIG_RETHUNK
    5d112deb2a02 x86/kprobes: Convert to insn_decode()
    a1766efc5bbf perf probe: Fix to get the DW_AT_decl_file and DW_AT_call_file as unsinged data
    b5d0f7c24088 perf probe: Use dwarf_attr_integrate as generic DWARF attr accessor
    c0a3d2158437 media: s5p-mfc: Fix in register read and write for H264
    8ff64edf9d16 media: s5p-mfc: Clear workbit to handle error condition
    dcd1a4ade590 media: s5p-mfc: Fix to handle reference queue during finishing
    97e7896000ce x86/MCE/AMD: Clear DFR errors found in THR handler
    ec75bc43681b x86/mce: Get rid of msr_ops
    58de7a95f0e6 btrfs: replace strncpy() with strscpy()
    7a04f8500924 perf/x86/intel/uncore: Clear attr_update properly
    53d24a9592eb perf/x86/intel/uncore: Generalize I/O stacks to PMON mapping procedure
    9620f8a5c72f ARM: renumber bits related to _TIF_WORK_MASK
    630270978483 drm/amdgpu: make display pinning more flexible (v2)
    dfc01905b870 drm/amdgpu: handle polaris10/11 overlap asics (v2)
    30e95fdc9609 ext4: allocate extended attribute value in vmalloc area
    8d3e87d43c62 ext4: avoid unaccounted block allocation when expanding inode
    15d0cf84df07 ext4: initialize quota before expanding inode in setproject ioctl
    9882601ee689 ext4: fix inode leak in ext4_xattr_inode_create() on an error path
    407f47728c6c ext4: avoid BUG_ON when creating xattrs
    00092b218d2b ext4: fix error code return to user-space in ext4_get_branch()
    f06c980287f1 ext4: fix corruption when online resizing a 1K bigalloc fs
    9404839e0c9d ext4: fix delayed allocation bug in ext4_clu_mapped for bigalloc + inline
    84a2f2ed49d6 ext4: init quota for 'old.inode' in 'ext4_rename'
    71e99ec1315f ext4: fix bug_on in __es_tree_search caused by bad boot loader inode
    9020f56a3cad ext4: check and assert if marking an no_delete evicting inode dirty
    86c2a2ec4bd3 ext4: fix reserved cluster accounting in __es_remove_extent()
    98004f926d27 ext4: fix bug_on in __es_tree_search caused by bad quota inode
    20af66617eef ext4: add helper to check quota inums
    c0a738875c2e ext4: add EXT4_IGET_BAD flag to prevent unexpected bad inode
    f9cd6980800b ext4: fix undefined behavior in bit shift for ext4_check_flag_values
    7223d5e75f26 ext4: fix use-after-free in ext4_orphan_cleanup
    d6d18d6e2d06 ext4: add inode table check in __ext4_get_inode_loc to aovid possible infinite loop
    bdc698ce91f2 ext4: silence the warning when evicting inode with dioread_nolock
    68af1a4842b4 drm/ingenic: Fix missing platform_driver_unregister() call in ingenic_drm_init()
    bf83a303f2b5 drm/i915/dsi: fix VBT send packet port selection for dual link DSI
    439cbbc15195 drm/vmwgfx: Validate the box size for the snooped cursor
    0a0662d597de drm/connector: send hotplug uevent on connector cleanup
    21a773ec8994 device_cgroup: Roll back to original exceptions after copy failure
    3505c187b861 parisc: led: Fix potential null-ptr-deref in start_task()
    2c7c487cd850 remoteproc: core: Do pm_relax when in RPROC_OFFLINE state
    e291dea722de iommu/amd: Fix ivrs_acpihid cmdline parsing code
    28e71fd8d5d9 driver core: Fix bus_type.match() error handling in __driver_attach()
    772dbbfc2084 crypto: n2 - add missing hash statesize
    7c44205748ed PCI/sysfs: Fix double free in error path
    99ef6cc79158 PCI: Fix pci_device_is_present() for VFs by checking PF
    f29d127b372e ipmi: fix use after free in _ipmi_destroy_user()
    bfe1e039a0fd ima: Fix a potential NULL pointer access in ima_restore_measurement_list
    62307558e71e mtd: spi-nor: Check for zero erase size in spi_nor_find_best_erase_type()
    4e17819cb302 ipmi: fix long wait in unload when IPMI disconnect
    24bc27ea4e71 ASoC: jz4740-i2s: Handle independent FIFO flush bits
    652f1d66a8be wifi: wilc1000: sdio: fix module autoloading
    d9f6614a732b efi: Add iMac Pro 2017 to uefi skip cert quirk
    ffcf71676d3b md/bitmap: Fix bitmap chunk size overflow issues
    e94443252b46 rtc: ds1347: fix value written to century register
    6155aed4768c cifs: fix missing display of three mount options
    8c82733e2408 cifs: fix confusing debug message
    3df07728abde media: dvb-core: Fix UAF due to refcount races at releasing
    7dd5a68cdbbb media: dvb-core: Fix double free in dvb_register_device()
    1032520b2109 ARM: 9256/1: NWFPE: avoid compiler-generated __aeabi_uldivmod
    1306614412b8 staging: media: tegra-video: fix chan->mipi value on error
    52c0622e53ea tracing: Fix infinite loop in tracing_read_pipe on overflowed print_trace_line
    b838b1b9ca70 tracing/hist: Fix wrong return value in parse_action_params()
    ff3dd2c1befe x86/kprobes: Fix kprobes instruction boudary check with CONFIG_RETHUNK
    362495bf451f ftrace/x86: Add back ftrace_expected for ftrace bug reports
    b677629caebb x86/microcode/intel: Do not retry microcode reloading on the APs
    43dd254853aa KVM: nVMX: Inject #GP, not #UD, if "generic" VMXON CR0/CR4 check fails
    e61eacf99364 perf/core: Call LSM hook after copying perf_event_attr
    0cb31bd88361 tracing/hist: Fix out-of-bound write on 'action_data.var_ref_idx'
    18a489a3fda7 dm cache: set needs_check flag after aborting metadata
    2b17026685a2 dm cache: Fix UAF in destroy()
    342cfd8426df dm clone: Fix UAF in clone_dtr()
    a506b5c92757 dm integrity: Fix UAF in dm_integrity_dtr()
    34fe9c2251f1 dm thin: Fix UAF in run_timer_softirq()
    c84d1ca2285b dm thin: resume even if in FAIL mode
    94f01ecc2aa0 dm thin: Use last transaction's pmd->root when commit failed
    7e3757806973 dm thin: Fix ABBA deadlock between shrink_slab and dm_pool_abort_metadata
    b45e77b79215 dm cache: Fix ABBA deadlock between shrink_slab and dm_cache_metadata_abort
    d9fa243ab26c ALSA: hda/realtek: Apply dual codec fixup for Dell Latitude laptops
    2437b0622342 ALSA: patch_realtek: Fix Dell Inspiron Plus 16
    e379b88a8f8c cpufreq: Init completion before kobject_init_and_add()
    cea018aaf721 PM/devfreq: governor: Add a private governor_data for governor
    d1d73c303458 selftests: Use optional USERCFLAGS and USERLDFLAGS
    12576d2ebf65 arm64: dts: qcom: sdm850-lenovo-yoga-c630: correct I2C12 pins drive strength
    8546f11c42bd ARM: ux500: do not directly dereference __iomem
    0061ab5153fb btrfs: fix resolving backrefs for inline extent followed by prealloc
    c0aa6e6ab08d mmc: sdhci-sprd: Disable CLK_AUTO when the clock is less than 400K
    e918762f8a08 arm64: dts: qcom: sdm845-db845c: correct SPI2 pins drive strength
    c023597baecb jbd2: use the correct print format
    8c444b3061f0 ktest.pl minconfig: Unset configs instead of just removing them
    5148dfceab55 kest.pl: Fix grub2 menu handling for rebooting
    780297af3c85 soc: qcom: Select REMAP_MMIO for LLCC driver
    d5db9aaf1b47 media: stv0288: use explicitly signed char
    25dbd87379f8 net/af_packet: make sure to pull mac header
    c2137d565ceb net/af_packet: add VLAN support for AF_PACKET SOCK_RAW GSO
    7c15d7ecce00 rcu: Prevent lockdep-RCU splats on lock acquisition/release
    4c57f612f433 torture: Exclude "NOHZ tick-stop error" from fatal errors
    289f512d08c4 wifi: rtlwifi: 8192de: correct checking of IQK reload
    0f6d6974b08e wifi: rtlwifi: remove always-true condition pointed out by GCC 12
    40b844796b6b net/mlx5e: Fix nullptr in mlx5e_tc_add_fdb_flow()
    8b20aab8cfd0 ASoC/SoundWire: dai: expand 'stream' concept beyond SoundWire
    185c141946e0 ASoC: Intel/SOF: use set_stream() instead of set_tdm_slots() for HDAudio
    7b3631a2e17d kcsan: Instrument memcpy/memset/memmove with newer Clang
    2cd6026e2573 SUNRPC: Don't leak netobj memory when gss_read_proxy_verf() fails
    3b6c822238da tpm: tpm_tis: Add the missed acpi_put_table() to fix memory leak
    0bd9b4be721c tpm: tpm_crb: Add the missed acpi_put_table() to fix memory leak
    8ddc48068ac8 tpm: acpi: Call acpi_put_table() to fix memory leak
    b51d5fed9f53 mmc: vub300: fix warning - do not call blocking ops when !TASK_RUNNING
    252a72088280 f2fs: should put a page when checking the summary info
    882734bbc587 mm, compaction: fix fast_isolate_around() to stay within boundaries
    ae7793027766 md: fix a crash in mempool_free
    b591b2919d01 pnode: terminate at peers of source
    66f359ad66d4 ALSA: line6: fix stack overflow in line6_midi_transmit
    5e79f77ea42f ALSA: line6: correct midi status byte when receiving data from podxt
    56abf8046bc1 ovl: Use ovl mounter's fsuid and fsgid in ovl_link()
    c3e8bbcbaa87 binfmt: Fix error return code in load_elf_fdpic_binary()
    12407462d3fc hfsplus: fix bug causing custom uid and gid being unable to be assigned with mount
    44cf50587e82 pstore/zone: Use GFP_ATOMIC to allocate zone buffer
    0d992c044cfb HID: plantronics: Additional PIDs for double volume key presses quirk
    eaf0b782269f HID: multitouch: fix Asus ExpertBook P2 P2451FA trackpoint
    6f7e2fcab733 powerpc/rtas: avoid scheduling in rtas_os_term()
    f2167f10fcca powerpc/rtas: avoid device tree lookups in rtas_os_term()
    0af0e115ff59 objtool: Fix SEGFAULT
    57ae492f620c nvmet: don't defer passthrough commands with trivial effects to the workqueue
    4b3282a9779c nvme: fix the NVME_CMD_EFFECTS_CSE_MASK definition
    ab711f3eda7a ata: ahci: Fix PCS quirk application for suspend
    cc512539c44f nvme-pci: fix page size checks
    dfb6d54893d5 nvme-pci: fix mempool alloc size
    f5d8738fbe33 nvme-pci: fix doorbell buffer value endianness
    fe6ea044c4f0 cifs: fix oops during encryption
    f9089b95548f usb: dwc3: qcom: Fix memory leak in dwc3_qcom_interconnect_init
    ce2462bcf3ff pwm: tegra: Fix 32 bit build
    a8be7c2787b9 media: dvbdev: fix refcnt bug
    153319671a08 media: dvbdev: fix build warning due to comments
    740c537f52c1 ovl: fix use inode directly in rcu-walk mode
    f24474d12e68 gcov: add support for checksum field
    36be7afca103 regulator: core: fix deadlock on regulator enable
    e12f4c321247 iio: adc128s052: add proper .data members in adc128_of_match table
    9f604702b765 iio: adc: ad_sigma_delta: do not use internal iio_dev lock
    582f5fc2c586 reiserfs: Add missing calls to reiserfs_security_free()
    08371068fff8 HID: mcp2221: don't connect hidraw
    7a203471b980 HID: wacom: Ensure bootloader PID is usable in hidraw mode
    723ffde78af5 usb: dwc3: core: defer probe on ulpi_read_id timeout
    d17c82aad67a usb: dwc3: Fix race between dwc3_set_mode and __dwc3_set_mode
    2b725b6fbbe6 ALSA: hda/hdmi: Add HP Device 0x8711 to force connect list
    c863b673503e ALSA: hda/realtek: Add quirk for Lenovo TianYi510Pro-14IOB
    d3767082ebfa ALSA: usb-audio: add the quirk for KT0206 device
    7691fa41024e ima: Simplify ima_lsm_copy_rule
    1d8dcc3dadf9 pstore: Make sure CONFIG_PSTORE_PMSG selects CONFIG_RT_MUTEXES
    07b0ce902e28 afs: Fix lost servers_outstanding count
    1080729b9a56 perf debug: Set debug_peo_args and redirect_to_stderr variable to correct values in perf_quiet_option()
    1c7b03d00c07 pstore: Switch pmsg_lock to an rt_mutex to avoid priority inversion
    c3607ed7edfb LoadPin: Ignore the "contents" argument of the LSM hooks
    4138e1b7751c ASoC: rt5670: Remove unbalanced pm_runtime_put()
    fd49dc17c3d7 ASoC: rockchip: spdif: Add missing clk_disable_unprepare() in rk_spdif_runtime_resume()
    c0ae46693b85 ASoC: wm8994: Fix potential deadlock
    e4a8573b0460 ASoC: rockchip: pdm: Add missing clk_disable_unprepare() in rockchip_pdm_runtime_resume()
    06c9d468c068 ASoC: audio-graph-card: fix refcount leak of cpu_ep in __graph_for_each_link()
    812a18e48efb ASoC: mediatek: mt8173-rt5650-rt5514: fix refcount leak in mt8173_rt5650_rt5514_dev_probe()
    c2eb1a3877f5 ASoC: Intel: Skylake: Fix driver hang during shutdown
    72c0e552bc86 ALSA: hda: add snd_hdac_stop_streams() helper
    d3a8925d6c1d ALSA/ASoC: hda: move/rename snd_hdac_ext_stop_streams to hdac_stream.c
    2727dbfe8d06 hwmon: (jc42) Fix missing unlock on error in jc42_write()
    a076490b0211 orangefs: Fix kmemleak in orangefs_{kernel,client}_debug_init()
    b8affa0c6405 orangefs: Fix kmemleak in orangefs_prepare_debugfs_help_string()
    6e3c4d3fa5d4 drm/sti: Fix return type of sti_{dvo,hda,hdmi}_connector_mode_valid()
    f3d3f3564e8b drm/fsl-dcu: Fix return type of fsl_dcu_drm_connector_mode_valid()
    dcd28191be9b hugetlbfs: fix null-ptr-deref in hugetlbfs_parse_param()
    efd025f32fce clk: st: Fix memory leak in st_of_quadfs_setup()
    1c6447d0fc68 media: si470x: Fix use-after-free in si470x_int_in_callback()
    a63a1ae13469 mmc: renesas_sdhi: better reset from HS400 mode
    58e21146c0f9 mmc: f-sdh30: Add quirks for broken timeout clock capability
    4b737246ff50 regulator: core: fix use_count leakage when handling boot-on
    17c2eb9ce8c1 libbpf: Avoid enum forward-declarations in public API in C++ mode
    e8022da1fa2f blk-mq: fix possible memleak when register 'hctx' failed
    7d7ab25ead96 media: dvb-usb: fix memory leak in dvb_usb_adapter_init()
    2abd73433872 media: dvbdev: adopts refcnt to avoid UAF
    b42580c8d8aa media: dvb-frontends: fix leak of memory fw
    dd1e1bf916da ethtool: avoiding integer overflow in ethtool_phys_id()
    329a76635548 bpf: Prevent decl_tag from being referenced in func_proto arg
    148dcbd3af03 ppp: associate skb with a device at tx
    755eb0879224 mrp: introduce active flags to prevent UAF when applicant uninit
    037db10e3f93 net: add atomic_long_t to net_device_stats fields
    e2d60023aff4 drm/amd/display: fix array index out of bound error in bios parser
    10d713532ffc md/raid1: stop mdx_raid1 thread when raid1 array run failed
    100caacfa0ed drivers/md/md-bitmap: check the return value of md_bitmap_get_counter()
    7d86851c304a drm/sti: Use drm_mode_copy()
    dd31d7304018 drm/rockchip: Use drm_mode_copy()
    4f238212c7c0 drm/msm: Use drm_mode_copy()
    ebc3c77785dc s390/lcs: Fix return type of lcs_start_xmit()
    3ac0217ca918 s390/netiucv: Fix return type of netiucv_tx()
    eeb75f80bceb s390/ctcm: Fix return type of ctc{mp,}m_tx()
    9606bbc271ac drm/amdgpu: Fix type of second parameter in odn_edit_dpm_table() callback
    a42a23bdae61 drm/amdgpu: Fix type of second parameter in trans_msg() callback
    3cb18dea1119 igb: Do not free q_vector unless new one was allocated
    87792567d9ed wifi: brcmfmac: Fix potential shift-out-of-bounds in brcmf_fw_alloc_request()
    e7aa8a4709d4 hamradio: baycom_epp: Fix return type of baycom_send_packet()
    5b0b6553bf4a net: ethernet: ti: Fix return type of netcp_ndo_start_xmit()
    6d935a02658b bpf: make sure skb->len != 0 when redirecting to a tunneling device
    ebc2fb6afc98 qed (gcc13): use u16 for fid to be big enough
    648cdb8bf376 drm/amd/display: prevent memory leak
    c69bc8e34df4 ipmi: fix memleak when unload ipmi driver
    be4cd23cd36b ASoC: codecs: rt298: Add quirk for KBL-R RVP platform
    8af52492717e wifi: ar5523: Fix use-after-free on ar5523_cmd() timed out
    1824ccabee54 wifi: ath9k: verify the expected usb_endpoints are present
    2e8bb402b060 brcmfmac: return error when getting invalid max_flowrings from dongle
    6cd4865bb4be drm/etnaviv: add missing quirks for GC300
    4fd3a11804c8 hfs: fix OOB Read in __hfs_brec_find
    6edd0cdee578 acct: fix potential integer overflow in encode_comp_t()
    ec93b5430ec0 nilfs2: fix shift-out-of-bounds due to too large exponent of block size
    d464b035c061 nilfs2: fix shift-out-of-bounds/overflow in nilfs_sb2_bad_offset()
    b0b83d3f3ffa ACPICA: Fix error code path in acpi_ds_call_control_method()
    911999b19373 fs: jfs: fix shift-out-of-bounds in dbDiscardAG
    40dba68d4182 udf: Avoid double brelse() in udf_rename()
    3e997e4ce8ae fs: jfs: fix shift-out-of-bounds in dbAllocAG
    dcbc51d31d0a binfmt_misc: fix shift-out-of-bounds in check_special_flags
    22c1d8f24cdb x86/hyperv: Remove unregister syscore call from Hyper-V cleanup
    9b267051c82a video: hyperv_fb: Avoid taking busy spinlock on panic path
    0461a8c278b8 arm64: make is_ttbrX_addr() noinstr-safe
    5a52380b8193 rcu: Fix __this_cpu_read() lockdep warning in rcu_force_quiescent_state()
    906249381167 net: stream: purge sk_error_queue in sk_stream_kill_queues()
    7c3a20bfd23b myri10ge: Fix an error handling path in myri10ge_probe()
    3c973736909f rxrpc: Fix missing unlock in rxrpc_do_sendmsg()
    5c544c7c6afa net_sched: reject TCF_EM_SIMPLE case for complex ematch module
    a39b4de0804f mailbox: zynq-ipi: fix error handling while device_register() fails
    821be5a5ab09 skbuff: Account for tail adjustment during pull operations
    6736b61ecf23 openvswitch: Fix flow lookup to use unmasked key
    ea14220031b3 selftests: devlink: fix the fd redirect in dummy_reporter_test
    57ce1a36c060 rtc: mxc_v2: Add missing clk_disable_unprepare()
    1e2a27dab1e5 igc: Set Qbv start_time and end_time to end_time if not being configured in GCL
    edb995b5ec32 igc: Lift TAPRIO schedule restriction
    b48d3db89161 igc: recalculate Qbv end_time by considering cycle time
    3f2a944c23e8 igc: Add checking for basetime less than zero
    a0e2295c2aed igc: Use strict cycles for Qbv scheduling
    413fe82420aa igc: Enhance Qbv scheduling by using first flag bit
    a8f9698a05b5 net: add a helper to avoid issues with HW TX timestamping and SO_TXTIME
    ae5d96bae3cc net: igc: use skb_csum_is_sctp instead of protocol check
    4794d07fe635 net: add inline function skb_csum_is_sctp
    67349025f00d net: switch to storing KCOV handle directly in sk_buff
    3d5f83a62e82 r6040: Fix kmemleak in probe and remove
    aea9e64dec2c nfc: pn533: Clear nfc_target before being used
    6939f84e5369 mISDN: hfcmulti: don't call dev_kfree_skb/kfree_skb() under spin_lock_irqsave()
    b58c8719666d mISDN: hfcpci: don't call dev_kfree_skb/kfree_skb() under spin_lock_irqsave()
    30e0a066b611 mISDN: hfcsusb: don't call dev_kfree_skb/kfree_skb() under spin_lock_irqsave()
    2a930b75bf93 net: macsec: fix net device access prior to holding a lock
    c1207219a4bf nfsd: under NFSv4.1, fix double svc_xprt_put on rpc_create failure
    452e85cc3edf NFSD: Remove spurious cb_setup_err tracepoint
    09c007e23923 rtc: pcf85063: fix pcf85063_clkout_control
    e9453c13ae9c rtc: pic32: Move devm_rtc_allocate_device earlier in pic32_rtc_probe()
    34836c592345 rtc: st-lpc: Add missing clk_disable_unprepare in st_rtc_probe()
    8e65e707640b netfilter: flowtable: really fix NAT IPv6 offload
    1f5571cb1d7b powerpc/pseries/eeh: use correct API for error log size
    9dc96fee2648 powerpc/eeh: Drop redundant spinlock initialization
    12654b7d8deb remoteproc: qcom_q6v5_pas: Fix missing of_node_put() in adsp_alloc_memory_region()
    be5816b27bff remoteproc: qcom_q6v5_pas: detach power domains on remove
    582dd58a186c remoteproc: qcom_q6v5_pas: disable wakeup on probe fail or remove
    e4539eb5c0c3 remoteproc: sysmon: fix memory leak in qcom_add_sysmon_subdev()
    6a65f4644b65 pwm: sifive: Call pwm_sifive_update_clock() while mutex is held
    57f215a23167 iommu/sun50i: Remove IOMMU_DOMAIN_IDENTITY
    dc02d8e59d36 selftests/powerpc: Fix resource leaks
    464506de9bb3 powerpc/hv-gpci: Fix hv_gpci event list
    0abfe735be54 powerpc/83xx/mpc832x_rdb: call platform_device_put() in error case in of_fsl_spi_probe()
    da1a33795dfd powerpc/perf: callchain validate kernel stack pointer bounds
    8d2ff5b3e28d kbuild: refactor single builds of *.ko
    e3bdda22b49e kbuild: unify modules(_install) for in-tree and external modules
    e2155129599f kbuild: remove unneeded mkdir for external modules_install
    195cb98861dc powerpc/xive: add missing iounmap() in error path in xive_spapr_populate_irq_data()
    f0bd6504e580 powerpc/xmon: Fix -Wswitch-unreachable warning in bpt_cmds
    76957b6aed99 powerpc/xmon: Enable breakpoints on 8xx
    81c8bbf5b2b5 cxl: Fix refcount leak in cxl_calc_capp_routing
    40b4be399e0d powerpc/52xx: Fix a resource leak in an error handling path
    7fded04fbbb8 macintosh/macio-adb: check the return value of ioremap()
    2ac0a7059b7b macintosh: fix possible memory leak in macio_add_one_device()
    0d240ac0e4c3 iommu/fsl_pamu: Fix resource leak in fsl_pamu_probe()
    03f51c729975 iommu/amd: Fix pci device refcount leak in ppr_notifier()
    3929576f10ea rtc: pcf85063: Fix reading alarm
    aaed333e2237 rtc: snvs: Allow a time difference on clock register read
    f0c36ea4248a rtc: cmos: Disable ACPI RTC event on removal
    ca8cb20c2254 rtc: cmos: Rename ACPI-related functions
    9f9923baa291 rtc: cmos: Eliminate forward declarations of some functions
    462db582e8eb rtc: cmos: Call rtc_wake_setup() from cmos_do_probe()
    14ad1353c515 rtc: cmos: Call cmos_wake_setup() from cmos_do_probe()
    45b96601a6ec rtc: cmos: fix build on non-ACPI platforms
    f2ece2c722be rtc: cmos: Fix wake alarm breakage
    0bcfccb48696 rtc: cmos: Fix event handler registration ordering issue
    5814d77e2f72 rtc: rtc-cmos: Do not check ACPI_FADT_LOW_POWER_S0
    490b233677de dmaengine: idxd: Fix crc_val field for completion record
    a42e95547522 pwm: tegra: Improve required rate calculation
    ddd2bb08bd99 include/uapi/linux/swab: Fix potentially missing __always_inline
    c2a98433421e phy: usb: s2 WoL wakeup_count not incremented for USB->Eth devices
    ca31ad0932af iommu/sun50i: Fix flush size
    147af0c1e7fd iommu/sun50i: Fix R/W permission check
    3a63c4ff57bf iommu/sun50i: Consider all fault sources for reset
    160b92ab4a25 iommu/sun50i: Fix reset release
    aeef93416c09 RDMA/siw: Fix pointer cast warning
    5beadb55f4e3 power: supply: fix null pointer dereferencing in power_supply_get_battery_info
    72283ecfdc84 HSI: omap_ssi_core: Fix error handling in ssi_init()
    73ca3b19d902 perf symbol: correction while adjusting symbol
    c8e77bd7499f perf trace: Handle failure when trace point folder is missed
    bd29da58046a perf trace: Use macro RAW_SYSCALL_ARGS_NUM to replace number
    6364577ae225 perf trace: Return error if a system call doesn't exist
    1d6d90994a8d power: supply: fix residue sysfs file in error handle route of __power_supply_register()
    ae2eb995abb9 HSI: omap_ssi_core: fix possible memory leak in ssi_probe()
    6ba4b00f8837 HSI: omap_ssi_core: fix unbalanced pm_runtime_disable()
    ee13e2aec330 fbdev: uvesafb: Fixes an error handling path in uvesafb_probe()
    164857bc0223 fbdev: vermilion: decrease reference count in error path
    71bca42bc44f fbdev: via: Fix error in via_core_init()
    3922415e4c3f fbdev: pm2fb: fix missing pci_disable_device()
    f279a7af799d fbdev: ssd1307fb: Drop optional dependency
    c56c1449ccc3 thermal/drivers/imx8mm_thermal: Validate temperature range
    86fa7bb4e2d5 samples: vfio-mdev: Fix missing pci_disable_device() in mdpy_fb_probe()
    962f869b3678 tracing/hist: Fix issue of losting command info in error_log
    b7bf15aa1973 usb: storage: Add check for kcalloc
    9ac541a0898e i2c: ismt: Fix an out-of-bounds bug in ismt_access()
    61df25c41b8e i2c: mux: reg: check return value after calling platform_get_resource()
    6d79546622ba gpiolib: cdev: fix NULL-pointer dereferences
    aeee7ad0897f gpiolib: Get rid of redundant 'else'
    37d3de40c1ff vme: Fix error not catched in fake_init()
    b9fa01fb3140 staging: rtl8192e: Fix potential use-after-free in rtllib_rx_Monitor()
    daa8045a9913 staging: rtl8192u: Fix use after free in ieee80211_rx()
    46b3885c8cb4 i2c: pxa-pci: fix missing pci_disable_device() on error in ce4100_i2c_probe
    c46db6088bcc chardev: fix error handling in cdev_device_add()
    7b289b791a59 mcb: mcb-parse: fix error handing in chameleon_parse_gdd()
    0d1c2c8db289 drivers: mcb: fix resource leak in mcb_probe()
    e88b89a096af usb: gadget: f_hid: fix refcount leak on error path
    1b6a53e447ec usb: gadget: f_hid: fix f_hidg lifetime vs cdev
    52302c30b218 usb: gadget: f_hid: optional SETUP/SET_REPORT mode
    c3767f81056b usb: roles: fix of node refcount leak in usb_role_switch_is_parent()
    07905a92497c counter: stm32-lptimer-cnt: fix the check on arr and cmp registers update
    bb5e9402b24e iio: adis: add '__adis_enable_irq()' implementation
    3feb8fd8bf93 iio:imu:adis: Move exports into IIO_ADISLIB namespace
    83e321a2ec4d iio: adis: stylistic changes
    d1b73eebc70d iio: adis: handle devices that cannot unmask the drdy pin
    8eb2a679c603 iio:imu:adis: Use IRQF_NO_AUTOEN instead of irq request then disable
    50aaa6b1742c genirq: Add IRQF_NO_AUTOEN for request_irq/nmi()
    6b22e715bb5b iio: temperature: ltc2983: make bulk write buffer DMA-safe
    0f63c0ddc2ea cxl: fix possible null-ptr-deref in cxl_pci_init_afu|adapter()
    170e8c2d2b61 cxl: fix possible null-ptr-deref in cxl_guest_init_afu|adapter()
    d34742245e43 firmware: raspberrypi: fix possible memory leak in rpi_firmware_probe()
    0f67ed565f20 misc: sgi-gru: fix use-after-free error in gru_set_context_option, gru_fault and gru_handle_user_call_os
    57c857353d50 misc: tifm: fix possible memory leak in tifm_7xx1_switch_media()
    a40e1b0a922a ocxl: fix pci device refcount leak when calling get_function_0()
    7525741cb302 misc: ocxl: fix possible name leak in ocxl_file_register_afu()
    0b5a89e8bce1 test_firmware: fix memory leak in test_firmware_init()
    d7c4331c073a serial: sunsab: Fix error handling in sunsab_init()
    a26b13d158ae serial: altera_uart: fix locking in polling mode
    8ff88d007f1b tty: serial: altera_uart_{r,t}x_chars() need only uart_port
    af320d1a3cef tty: serial: clean up stop-tx part in altera_uart_tx_chars()
    07f4ca68b0f6 serial: pch: Fix PCI device refcount leak in pch_request_dma()
    46d08b0e0be5 serial: pl011: Do not clear RX FIFO & RX interrupt in unthrottle.
    d5b16eb076f4 serial: amba-pl011: avoid SBSA UART accessing DMACR register
    fab27438abe2 usb: typec: tipd: Fix spurious fwnode_handle_put in error path
    d3b6c28a71f1 usb: typec: tcpci: fix of node refcount leak in tcpci_register_port()
    1ca02df871ad usb: typec: Check for ops->exit instead of ops->enter in altmode_exit
    5d2b286eb034 staging: vme_user: Fix possible UAF in tsi148_dma_list_add
    775a6f8bed87 usb: fotg210-udc: Fix ages old endianness issues
    2fcb7c7d5219 uio: uio_dmem_genirq: Fix deadlock between irq config and handling
    9bf7a0b2b15c uio: uio_dmem_genirq: Fix missing unlock in irq configuration
    27b612bd09bd vfio: platform: Do not pass return buffer to ACPI _RST method
    18a720064695 class: fix possible memory leak in __class_register()
    7e74868a38b4 serial: tegra: Read DMA status before terminating
    fce9890e1be4 drivers: dio: fix possible memory leak in dio_init()
    d21714134505 IB/IPoIB: Fix queue count inconsistency for PKEY child interfaces
    aa96aff394a5 hwrng: geode - Fix PCI device refcount leak
    5998e5c30e83 hwrng: amd - Fix PCI device refcount leak
    38da26c8552e crypto: img-hash - Fix variable dereferenced before check 'hdev->req'
    15ca14894018 RDMA/hns: Fix page size cap from firmware
    83b2c33b53b2 RDMA/hns: Fix PBL page MTR find
    73ab1c956a32 orangefs: Fix sysfs not cleanup when dev init failed
    0c53bb661f0a RDMA/srp: Fix error return code in srp_parse_options()
    7cbf2fc276f7 RDMA/hfi1: Fix error return code in parse_platform_config()
    61c5b47c5b28 riscv/mm: add arch hook arch_clear_hugepage_flags
    09814c669d18 crypto: omap-sham - Use pm_runtime_resume_and_get() in omap_sham_probe()
    75c7b5d6b534 crypto: amlogic - Remove kcalloc without check
    357f3e175630 RDMA/nldev: Fix failure to send large messages
    25a8dabaabf6 f2fs: avoid victim selection from previous victim section
    d1b85d288345 RDMA/nldev: Add checks for nla_nest_start() in fill_stat_counter_qps()
    ad27f74e901f scsi: snic: Fix possible UAF in snic_tgt_create()
    22e8c7a56bb1 scsi: fcoe: Fix transport not deattached when fcoe_if_init() fails
    f4ba143b04a1 scsi: ipr: Fix WARNING in ipr_init()
    b520a3279681 scsi: scsi_debug: Fix possible name leak in sdebug_add_host_helper()
    9d0ad1e2bae7 scsi: fcoe: Fix possible name leak when device_register() fails
    2b142f6046ce scsi: scsi_debug: Fix a warning in resp_report_zones()
    eaa71cdae88a scsi: scsi_debug: Fix a warning in resp_verify()
    ac5cfe8bbbf9 scsi: hpsa: Fix possible memory leak in hpsa_add_sas_device()
    f671a3f2869d scsi: hpsa: Fix error handling in hpsa_add_sas_host()
    ce1a69cc8500 scsi: mpt3sas: Fix possible resource leaks in mpt3sas_transport_port_add()
    7ccfc2bb5879 padata: Fix list iterator in padata_do_serial()
    8e0681dd4eee padata: Always leave BHs disabled when running ->parallel()
    4a99e6a1049c crypto: tcrypt - Fix multibuffer skcipher speed test mem leak
    c808edbf580b scsi: hpsa: Fix possible memory leak in hpsa_init_one()
    6bb5a62bfd62 RDMA/rxe: Fix NULL-ptr-deref in rxe_qp_do_cleanup() when socket create failed
    164fa80330a8 RDMA/hns: fix memory leak in hns_roce_alloc_mr()
    3d47544ba0c7 crypto: ccree - Make cc_debugfs_global_fini() available for module init function
    34bab85c2e1f RDMA/hfi: Decrease PCI device reference count in error path
    d8f2a0bc52a8 PCI: Check for alloc failure in pci_request_irq()
    8b5f1af3352a RDMA/hns: Fix ext_sge num error when post send
    cc5e9153586a RDMA/hns: Repacing 'dseg_len' by macros in fill_ext_sge_inl_data()
    ed97ade655ea crypto: hisilicon/qm - add missing pci_dev_put() in q_num_set()
    2dfe1d221e1a crypto: cryptd - Use request context instead of stack for sub-request
    1ab9e15b1441 crypto: ccree - Remove debugfs when platform_driver_register failed
    33260f4c3ed3 scsi: scsi_debug: Fix a warning in resp_write_scat()
    917bf4c0a76d RDMA/siw: Set defined status for work completion with undefined status
    237a8936d621 RDMA/nldev: Return "-EAGAIN" if the cm_id isn't from expected port
    75af03fdf35a RDMA/siw: Fix immediate work request flush to completion queue
    ef8e236832fb f2fs: fix normal discard process
    9a32aa87a25d apparmor: Fix memleak in alloc_ns()
    417ef568a725 crypto: rockchip - rework by using crypto_engine
    6cd8bbb089be crypto: rockchip - delete unneeded variable initialization
    de041a2e7091 crypto: rockchip - remove non-aligned handling
    0971bc99d124 crypto: rockchip - better handle cipher key
    b0b9635f09e0 crypto: rockchip - add fallback for ahash
    fbd5f112dc9d crypto: rockchip - add fallback for cipher
    86f1e7f46ba9 crypto: rockchip - do not store mode globally
    a13c0ff862af crypto: rockchip - do not do custom power management
    f1acf7e69355 f2fs: Fix the race condition of resize flag between resizefs
    c42d8120bf47 PCI: pci-epf-test: Register notifier if only core_init_notifier is enabled
    16db9aaa4151 RDMA/core: Fix order of nldev_exit call
    9784b01eb46c PCI: dwc: Fix n_fts[] array overrun
    6962f682d0c3 apparmor: Use pointer to struct aa_label for lbs_cred
    f4c917a4b030 scsi: core: Fix a race between scsi_done() and scsi_timeout()
    3bebfa5f9345 crypto: nitrox - avoid double free on error path in nitrox_sriov_init()
    ee3cffc38efe crypto: sun8i-ss - use dma_addr instead u32
    bf4d7c66a18a apparmor: Fix abi check to include v8 abi
    78629ca972ac apparmor: fix lockdep warning when removing a namespace
    935d86b29093 apparmor: fix a memleak in multi_transaction_new()
    f694e627c603 stmmac: fix potential division by 0
    815b961c71af Bluetooth: RFCOMM: don't call kfree_skb() under spin_lock_irqsave()
    4002180e0761 Bluetooth: hci_core: don't call kfree_skb() under spin_lock_irqsave()
    82256faaeb3a Bluetooth: hci_bcsp: don't call kfree_skb() under spin_lock_irqsave()
    33af776a8d98 Bluetooth: hci_h5: don't call kfree_skb() under spin_lock_irqsave()
    5991402fe091 Bluetooth: hci_ll: don't call kfree_skb() under spin_lock_irqsave()
    0169acb41bc8 Bluetooth: hci_qca: don't call kfree_skb() under spin_lock_irqsave()
    f7dc27702b59 Bluetooth: btusb: don't call kfree_skb() under spin_lock_irqsave()
    214346a51724 sctp: sysctl: make extra pointers netns aware
    13286ad1c7c4 ntb_netdev: Use dev_kfree_skb_any() in interrupt context
    4df544f592ad net: lan9303: Fix read error execution path
    39b48a92edaf can: tcan4x5x: Remove invalid write in clear_interrupts
    334c9fb89232 net: amd-xgbe: Check only the minimum speed for active/passive cables
    03ea9ba5fd23 net: amd-xgbe: Fix logic around active and passive cables
    8eb5f8ae5132 net: amd: lance: don't call dev_kfree_skb() under spin_lock_irqsave()
    ee3b1364af26 hamradio: don't call dev_kfree_skb() under spin_lock_irqsave()
    b242358a27a7 net: ethernet: dnet: don't call dev_kfree_skb() under spin_lock_irqsave()
    decede59ea06 net: emaclite: don't call dev_kfree_skb() under spin_lock_irqsave()
    c43def060cae net: apple: bmac: don't call dev_kfree_skb() under spin_lock_irqsave()
    0e23250149f4 net: apple: mace: don't call dev_kfree_skb() under spin_lock_irqsave()
    91f09a776ae3 net/tunnel: wait until all sk_user_data reader finish before releasing the sock
    51e2d1b84aca net: farsync: Fix kmemleak when rmmods farsync
    0b3f452d0cf7 ethernet: s2io: don't call dev_kfree_skb() under spin_lock_irqsave()
    2b4af99b4486 of: overlay: fix null pointer dereferencing in find_dup_cset_node_entry() and find_dup_cset_prop()
    14b349a15c29 drivers: net: qlcnic: Fix potential memory leak in qlcnic_sriov_init()
    787d1bae7f11 net: stmmac: selftests: fix potential memleak in stmmac_test_arpoffload()
    8ed99944572b net: defxx: Fix missing err handling in dfx_init()
    e2227eee7ae1 net: vmw_vsock: vmci: Check memcpy_from_msg()
    3e8fd1d0fab4 clk: socfpga: Fix memory leak in socfpga_gate_init()
    4b672ee71c1c clk: socfpga: use clk_hw_register for a5/c5
    ae8190f19f96 clk: socfpga: clk-pll: Remove unused variable 'rc'
    782d0444eac9 blktrace: Fix output non-blktrace event when blk_classic option enabled
    2484f1596480 wifi: brcmfmac: Fix error return code in brcmf_sdio_download_firmware()
    f89c0fbb8bdb wifi: rtl8xxxu: Fix the channel width reporting
    d43003724879 wifi: rtl8xxxu: Add __packed to struct rtl8723bu_c2h
    7f3b4fa48222 spi: spi-gpio: Don't set MOSI as an input if not 3WIRE mode
    da13355bb996 clk: samsung: Fix memory leak in _samsung_clk_register_pll()
    d9b37ea8869e media: coda: Add check for kmalloc
    35ddd00b3658 media: coda: Add check for dcoda_iram_alloc
    6fdb8661b964 media: c8sectpfe: Add of_node_put() when breaking out of loop
    0b1e96d3fd6a mmc: mmci: fix return value check of mmc_add_host()
    1922def5cb13 mmc: wbsd: fix return value check of mmc_add_host()
    63400da6cd37 mmc: via-sdmmc: fix return value check of mmc_add_host()
    64b2c441171f mmc: meson-gx: fix return value check of mmc_add_host()
    fb3d596267a9 mmc: omap_hsmmc: fix return value check of mmc_add_host()
    00ac0f5f9592 mmc: atmel-mci: fix return value check of mmc_add_host()
    9bedf64dda84 mmc: wmt-sdmmc: fix return value check of mmc_add_host()
    3049a3b927a4 mmc: vub300: fix return value check of mmc_add_host()
    aabbedcb6c9a mmc: toshsd: fix return value check of mmc_add_host()
    7fa922c7a3dd mmc: rtsx_usb_sdmmc: fix return value check of mmc_add_host()
    b896a9b7a0c3 mmc: pxamci: fix return value check of mmc_add_host()
    3904eb97bb78 mmc: mxcmmc: fix return value check of mmc_add_host()
    7c3b301ca8b0 mmc: moxart: fix return value check of mmc_add_host()
    4a6e5d022280 mmc: alcor: fix return value check of mmc_add_host()
    81ea3d964f2b NFSv4.x: Fail client initialisation if state manager thread can't run
    3fbc3c78fa32 SUNRPC: Fix missing release socket in rpc_sockname()
    be7d90fc3a8f xprtrdma: Fix regbuf data not freed in rpcrdma_req_create()
    064912935921 ALSA: mts64: fix possible null-ptr-defer in snd_mts64_interrupt
    7df1fbe49bd2 media: saa7164: fix missing pci_disable_device()
    46a9b31369d7 ALSA: pcm: Set missing stop_operating flag at undoing trigger start
    be719496ae6a bpf, sockmap: fix race in sock_map_free()
    8c3ef38a0d58 hwmon: (jc42) Restore the min/max/critical temperatures on resume
    e7720ef53b23 hwmon: (jc42) Convert register access and caching to regmap/regcache
    6a03c31d08f9 regulator: core: fix resource leak in regulator_register()
    74ac7c9ee2d4 configfs: fix possible memory leak in configfs_create_dir()
    0cf92d235692 hsr: Synchronize sequence number updates.
    c671f2d10d83 hsr: Synchronize sending frames to have always incremented outgoing seq nr.
    28921ec555d5 hsr: Disable netpoll.
    8cee8543f002 net: hsr: generate supervision frame without HSR/PRP tag
    38d13a2a9e52 hsr: Add a rcu-read lock to hsr_forward_skb().
    ee4425e81d9b clk: qcom: clk-krait: fix wrong div2 functions
    6f25402d8a00 regulator: core: fix module refcount leak in set_supply()
    f532db69ab13 wifi: mt76: fix coverity overrun-call in mt76_get_txpower()
    4ecb7a6e61b1 wifi: cfg80211: Fix not unregister reg_pdev when load_builtin_regdb_keys() fails
    b2c0b94f4837 wifi: mac80211: fix memory leak in ieee80211_if_add()
    b0163248dbaf spi: spidev: mask SPI_CS_HIGH in SPI_IOC_RD_MODE
    ab19f402a12d bonding: uninitialized variable in bond_miimon_inspect()
    c58df40e3e67 bpf, sockmap: Fix data loss caused by using apply_bytes on ingress redirect
    28e4a763cd4a bpf, sockmap: Fix repeated calls to sock_put() when msg has more_data
    429a2a4258d5 netfilter: conntrack: set icmpv6 redirects as RELATED
    cd0e9ee50cb5 ASoC: pcm512x: Fix PM disable depth imbalance in pcm512x_probe
    7c1ddf7c664b drm/amdgpu: Fix PCI device refcount leak in amdgpu_atrm_get_bios()
    3991d98a8a07 drm/radeon: Fix PCI device refcount leak in radeon_atrm_get_bios()
    a012cdd4fd62 drm/amd/pm/smu11: BACO is supported when it's in BACO state
    57491967ad8f ASoC: mediatek: mt8173: Enable IRQ when pdata is ready
    52c9ad56c19d ASoC: mediatek: mt8173: Fix debugfs registration for components
    ae966649f665 wifi: iwlwifi: mvm: fix double free on tx path.
    ae66695aa1eb ALSA: asihpi: fix missing pci_disable_device()
    5458bc0f9df6 NFS: Fix an Oops in nfs_d_automount()
    bc60485b9347 NFSv4: Fix a deadlock between nfs4_open_recover_helper() and delegreturn
    d16d7870fd8f NFSv4.2: Fix initialisation of struct nfs4_label
    15feece7afcf NFSv4.2: Fix a memory stomp in decode_attr_security_label
    58a1023eb5f7 NFSv4.2: Clear FATTR4_WORD2_SECURITY_LABEL when done decoding
    193691ff5b76 ASoC: mediatek: mtk-btcvsd: Add checks for write and read of mtk_btcvsd_snd
    6013c3de9557 ASoC: dt-bindings: wcd9335: fix reset line polarity in example
    cf2cbca71472 drm/tegra: Add missing clk_disable_unprepare() in tegra_dc_probe()
    54ab1276001b media: s5p-mfc: Add variant data for MFC v7 hardware for Exynos 3250 SoC
    559891d430e3 media: dvb-usb: az6027: fix null-ptr-deref in az6027_i2c_xfer()
    e34cf6caccf5 media: dvb-core: Fix ignored return value in dvb_register_frontend()
    05be5d56f7ad pinctrl: pinconf-generic: add missing of_node_put()
    9916497a1239 clk: imx: replace osc_hdmi with dummy
    dabf7b675c16 media: imon: fix a race condition in send_packet()
    14d85b600bb1 media: vimc: Fix wrong function called when vimc_init() fails
    4518d7cc38b7 ASoC: qcom: Add checks for devm_kcalloc
    b73fac67f355 drbd: fix an invalid memory access caused by incorrect use of list iterator
    1d0c2b762dad mtd: maps: pxa2xx-flash: fix memory leak in probe
    7d1e0d237c4c bonding: fix link recovery in mode 2 when updelay is nonzero
    3725a8f26bdb drm/amdgpu: fix pci device refcount leak
    f4d70c139d31 clk: rockchip: Fix memory leak in rockchip_clk_register_pll()
    a065be02433e regulator: core: use kfree_const() to free space conditionally
    d7198b63cbee ALSA: seq: fix undefined behavior in bit shift for SNDRV_SEQ_FILTER_USE_EVENT
    88550b444647 ALSA: pcm: fix undefined behavior in bit shift for SNDRV_PCM_RATE_KNOT
    ad2d0a3dc224 HID: hid-sensor-custom: set fixed size for custom attributes
    0d6ae25da5cb bpf: Move skb->len == 0 checks into __bpf_redirect
    9920e87a84ec inet: add READ_ONCE(sk->sk_bound_dev_if) in inet_csk_bind_conflict()
    49aa080951aa media: videobuf-dma-contig: use dma_mmap_coherent
    847006001953 media: platform: exynos4-is: Fix error handling in fimc_md_init()
    49060c0da57a media: solo6x10: fix possible memory leak in solo_sysfs_init()
    0369af6fe33d media: vidtv: Fix use-after-free in vidtv_bridge_dvb_init()
    3afd738e7712 Input: elants_i2c - properly handle the reset GPIO when power is off
    0919982a1744 mtd: lpddr2_nvm: Fix possible null-ptr-deref
    effbf636162b wifi: ath10k: Fix return value in ath10k_pci_init()
    adf03c309968 ima: Fix misuse of dereference of pointer in template_desc_init_fields()
    3bd737289c26 integrity: Fix memory leakage in keyring allocation error path
    102df01caf5e drm/fourcc: Fix vsub/hsub for Q410 and Q401
    6f6a99fb620d drm/fourcc: Add packed 10bit YUV 4:2:0 format
    85273b4a7076 amdgpu/pm: prevent array underflow in vega20_odn_edit_dpm_table()
    f48c474efe05 regulator: core: fix unbalanced of node refcount in regulator_dev_lookup()
    21a1409e8cf7 ASoC: pxa: fix null-pointer dereference in filter()
    698bbaf0b4ed drm/mediatek: Modify dpi power on/off sequence.
    b4b30f56ec51 drm/radeon: Add the missed acpi_put_table() to fix memory leak
    cea79ae89b6b rxrpc: Fix ack.bufferSize to be 0 when generating an ack
    00fce49d142d net, proc: Provide PROC_FS=n fallback for proc_create_net_single_write()
    3d5cab726e3b media: camss: Clean up received buffers on failed start of streaming
    61c96d99d42c wifi: rsi: Fix handling of 802.3 EAPOL frames sent via control port
    624438195c32 Input: joystick - fix Kconfig warning for JOYSTICK_ADC
    330bc5533e8a mtd: Fix device name leak when register device failed in add_mtd_device()
    1a79539f4e8b clk: qcom: gcc-sm8250: Use retention mode for USB GDSCs
    e1989d808b86 bpf: propagate precision across all frames, not just the last one
    cdd73a5ed084 bpf: Check the other end of slot_type for STACK_SPILL
    42b2b7382aab bpf: propagate precision in ALU/ALU64 operations
    7fc38327fd64 media: platform: exynos4-is: fix return value check in fimc_md_probe()
    f9d19f3a044c media: vivid: fix compose size exceed boundary
    72e8d9c731a7 bpf: Fix slot type check in check_stack_write_var_off
    d959ff7fa9e5 drm/msm/hdmi: drop unused GPIO support
    b12f354fe61f drm/msm/hdmi: switch to drm_bridge_connector
    c4b035b1f036 ima: Handle -ESTALE returned by ima_filter_rule_match()
    d5b227f0d28d ima: Fix fall-through warnings for Clang
    576828e59a0e drm/panel/panel-sitronix-st7701: Remove panel on DSI attach failure
    f1aa976857a3 spi: Update reference to struct spi_controller
    dd958c7f3e77 clk: renesas: r9a06g032: Repair grave increment error
    110bf15825ed drm/rockchip: lvds: fix PM usage counter unbalance in poweron
    1874f9143fba can: kvaser_usb: Compare requested bittiming parameters with actual parameters in do_set_{,data}_bittiming
    669bdf121fa4 can: kvaser_usb: Add struct kvaser_usb_busparams
    a50ad6772f6f can: kvaser_usb_leaf: Fix bogus restart events
    cd56718e7cb6 can: kvaser_usb_leaf: Fix wrong CAN state after stopping
    f83742285f77 can: kvaser_usb_leaf: Fix improved state not being reported
    fbd155fe14c8 can: kvaser_usb_leaf: Set Warning state even without bus errors
    96af45b1b46e can: kvaser_usb: kvaser_usb_leaf: Handle CMD_ERROR_EVENT
    caea629409dc can: kvaser_usb: kvaser_usb_leaf: Rename {leaf,usbcan}_cmd_error_event to {leaf,usbcan}_cmd_can_error_event
    eafcf1b5997e can: kvaser_usb: kvaser_usb_leaf: Get capabilities from device
    cd50258e9c28 can: kvaser_usb: do not increase tx statistics when sending error message frames
    580c79fd57f3 media: exynos4-is: don't rely on the v4l2_async_subdev internals
    c93cac58a7e5 media: exynos4-is: Use v4l2_async_notifier_add_fwnode_remote_subdev
    4882492ad3f0 venus: pm_helpers: Fix error check in vcodec_domains_get()
    86d531c1d794 media: i2c: ad5820: Fix error path
    83f7e3c98871 media: coda: jpeg: Add check for kmalloc
    7e0ba56c7e5f pata_ipx4xx_cf: Fix unsigned comparison with less than zero
    85b297d7986c libbpf: Fix null-pointer dereference in find_prog_by_sec_insn()
    c61650b869e0 libbpf: Fix use-after-free in btf_dump_name_dups
    26ce3f0c8f61 drm/bridge: adv7533: remove dynamic lane switching from adv7533 bridge
    9b6851c18263 wifi: rtl8xxxu: Fix reading the vendor of combo chips
    98d9172822dc wifi: ath9k: hif_usb: Fix use-after-free in ath9k_hif_usb_reg_in_cb()
    c3fb3e9a2c0c wifi: ath9k: hif_usb: fix memory leak of urbs in ath9k_hif_usb_dealloc_tx_urbs()
    53915ecc43c5 rapidio: devices: fix missing put_device in mport_cdev_open
    cff9fefdfbf5 hfs: Fix OOB Write in hfs_asc2mac
    93cdd1263691 relay: fix type mismatch when allocating memory in relay_create_buf()
    bbaa9ca06329 eventfd: change int to __u64 in eventfd_signal() ifndef CONFIG_EVENTFD
    5ee850645e42 rapidio: fix possible UAF when kfifo_alloc() fails
    ad4842634d68 fs: sysv: Fix sysv_nblocks() returns wrong value
    6f8ef1de8c65 MIPS: OCTEON: warn only once if deprecated link status is being used
    7b88747d6d98 MIPS: BCM63xx: Add check for NULL for clk in clk_enable
    d4c38ee665a2 platform/x86: intel_scu_ipc: fix possible name leak in __intel_scu_ipc_register()
    17cd8c46cbec platform/x86: mxm-wmi: fix memleak in mxm_wmi_call_mx[ds|mx]()
    f983afc4326c PM: runtime: Do not call __rpm_callback() from rpm_idle()
    2cbbd78e08bc PM: runtime: Improve path in rpm_idle() when no callback
    46026bb057c3 xen/privcmd: Fix a possible warning in privcmd_ioctl_mmap_resource()
    70e7f308d7a8 x86/xen: Fix memory leak in xen_init_lock_cpu()
    fc134c355b52 x86/xen: Fix memory leak in xen_smp_intr_init{_pv}()
    95dbcb7e1c34 uprobes/x86: Allow to probe a NOP instruction with 0x66 prefix
    02617006b5a4 ACPICA: Fix use-after-free in acpi_ut_copy_ipackage_to_ipackage()
    7bc9c5ad522b clocksource/drivers/timer-ti-dm: Fix missing clk_disable_unprepare in dmtimer_systimer_init_clock()
    270700e7df96 cpu/hotplug: Make target_store() a nop when target == state
    fc89b8853aec futex: Resend potentially swallowed owner death notification
    4750cac4df68 futex: Move to kernel/futex/
    d8e7a44f488c clocksource/drivers/sh_cmt: Access registers according to spec
    0853787db28e clocksource/drivers/sh_cmt: Make sure channel clock supply is enabled
    97d9eb45ffa6 rapidio: rio: fix possible name leak in rio_register_mport()
    88fa351b20ca rapidio: fix possible name leaks when rio_add_device() fails
    2b7e59ed2e77 ocfs2: fix memory leak in ocfs2_mount_volume()
    45dabd8fe8a8 ocfs2: rewrite error handling of ocfs2_fill_super
    e403024c832b ocfs2: ocfs2_mount_volume does cleanup job before return error
    81d26aa9036a debugfs: fix error when writing negative value to atomic_t debugfs file
    f649e18c9c10 docs: fault-injection: fix non-working usage of negative values
    869a37ad6f78 lib/notifier-error-inject: fix error when writing -errno to debugfs file
    c39aa503f471 libfs: add DEFINE_SIMPLE_ATTRIBUTE_SIGNED for signed value
    0080461624e9 cpufreq: amd_freq_sensitivity: Add missing pci_dev_put()
    9346517ed2c2 genirq/irqdesc: Don't try to remove non-existing sysfs files
    d97e58f72875 nfsd: don't call nfsd_file_put from client states seqfile display
    2db53c705916 EDAC/i10nm: fix refcount leak in pci_get_dev_wrapper()
    f870d5863e8e irqchip: gic-pm: Use pm_runtime_resume_and_get() in gic_probe()
    5c0cacdd3549 platform/chrome: cros_usbpd_notify: Fix error handling in cros_usbpd_notify_init()
    0afcb759f6f6 perf/x86/intel/uncore: Fix reference count leak in __uncore_imc_init_box()
    d2afced51108 perf/x86/intel/uncore: Fix reference count leak in snr_uncore_mmio_map()
    c0539d5d474e perf/x86/intel/uncore: Fix reference count leak in hswep_has_limit_sbox()
    dac87e295cdd PNP: fix name memory leak in pnp_alloc_dev()
    e1049bf0ca5b selftests/efivarfs: Add checking of the test return value
    911773f08ce6 MIPS: vpe-cmp: fix possible memory leak while module exiting
    48d42f4464d7 MIPS: vpe-mt: fix possible memory leak while module exiting
    f5f2682d3a34 ocfs2: fix memory leak in ocfs2_stack_glue_init()
    c9a9aa02f0fa lib/fonts: fix undefined behavior in bit shift for get_default_font
    9f6ea28f295f proc: fixup uptime selftest
    d5bf025c5b71 timerqueue: Use rb_entry_safe() in timerqueue_getnext()
    2f2ae35c0012 platform/x86: huawei-wmi: fix return value calculation
    a1014fbc83e7 lib/debugobjects: fix stat count and optimize debug_objects_mem_init
    60a7a0aa9dd8 perf: Fix possible memleak in pmu_dev_alloc()
    294ed8bfc937 selftests/ftrace: event_triggers: wait longer for test_event_enable
    3ef12a4a8ef5 cpufreq: qcom-hw: Fix memory leak in qcom_cpufreq_hw_read_lut()
    aa5f2912bb2e fs: don't audit the capability check in simple_xattr_list()
    9e760e0cf28f PM: hibernate: Fix mistake in kerneldoc comment
    ef875e1c07dd alpha: fix syscall entry in !AUDUT_SYSCALL case
    1498d2723e74 cpuidle: dt: Return the correct numbers of parsed idle states
    2ff401441711 sched/uclamp: Fix relationship between uclamp and migration margin
    ca9ef12bf765 sched/fair: Cleanup task_util and capacity type
    6389c163c92b tpm/tpm_crb: Fix error message in __crb_relinquish_locality()
    5b217f4e79c0 tpm/tpm_ftpm_tee: Fix error handling in ftpm_mod_init()
    295f59cd2cde pstore: Avoid kcore oops by vmap()ing with VM_IOREMAP
    480bc6a165d6 ARM: mmp: fix timer_read delay
    d1b3164d0e11 pstore/ram: Fix error return code in ramoops_probe()
    4dad729f7c24 arm64: dts: armada-3720-turris-mox: Add missing interrupt for RTC
    872865db3b95 ARM: dts: turris-omnia: Add switch port 6 node
    c1322d5f6969 ARM: dts: turris-omnia: Add ethernet aliases
    d050513e6f59 ARM: dts: armada-39x: Fix assigned-addresses for every PCIe Root Port
    bac1a77b85e0 ARM: dts: armada-38x: Fix assigned-addresses for every PCIe Root Port
    ea907f303205 ARM: dts: armada-375: Fix assigned-addresses for every PCIe Root Port
    ea8e313bb9ba ARM: dts: armada-xp: Fix assigned-addresses for every PCIe Root Port
    697b92a648f2 ARM: dts: armada-370: Fix assigned-addresses for every PCIe Root Port
    73ab831afdc8 ARM: dts: dove: Fix assigned-addresses for every PCIe Root Port
    c2cb1683d121 arm64: dts: mediatek: mt6797: Fix 26M oscillator unit name
    126135283611 arm64: dts: mediatek: pumpkin-common: Fix devicetree warnings
    853d57e9612e arm64: dts: mt2712-evb: Fix usb vbus regulators unit names
    436ac713a4a3 arm64: dts: mt2712-evb: Fix vproc fixed regulators unit names
    148e77355797 arm64: dts: mt2712e: Fix unit address for pinctrl node
    a938c2a77492 arm64: dts: mt2712e: Fix unit_address_vs_reg warning for oscillators
    a455b0c509c9 arm64: dts: ti: k3-j721e-main: Drop dma-coherent in crypto node
    42d97a024ef6 arm64: dts: ti: k3-am65-main: Drop dma-coherent in crypto node
    359286f886fe perf/smmuv3: Fix hotplug callback leak in arm_smmu_pmu_init()
    9afac95b87fa perf: arm_dsu: Fix hotplug callback leak in dsu_pmu_init()
    5e88aec62e7f soc: ti: smartreflex: Fix PM disable depth imbalance in omap_sr_probe
    6a9a31c57887 soc: ti: knav_qmss_queue: Fix PM disable depth imbalance in knav_queue_probe
    e325b4ee414b soc: ti: knav_qmss_queue: Use pm_runtime_resume_and_get instead of pm_runtime_get_sync
    0542d56e6333 arm: dts: spear600: Fix clcd interrupt
    a8d4fb0bf10b soc: qcom: apr: Add check for idr_alloc and of_property_read_string_index
    6213df4f5fc2 soc: qcom: apr: make code more reuseable
    45d180a9f64b soc: qcom: llcc: make irq truly optional
    8fb204a4b5ac drivers: soc: ti: knav_qmss_queue: Mark knav_acc_firmwares as static
    6a2faf6fcefd ARM: dts: stm32: Fix AV96 WLAN regulator gpio property
    6d1b6dc38fe0 ARM: dts: stm32: Drop stm32mp15xc.dtsi from Avenger96
    933499bed78d objtool, kcsan: Add volatile read/write instrumentation to whitelist
    275a67e909f7 arm64: dts: qcom: msm8916: Drop MSS fallback compatible
    82baee2263b7 arm64: dts: qcom: sdm845-cheza: fix AP suspend pin bias
    82569f7e4044 arm64: dts: qcom: sdm630: fix UART1 pin bias
    4cef81dec2f1 ARM: dts: qcom: apq8064: fix coresight compatible
    5465b9a813fb arm64: dts: qcom: msm8996: fix GPU OPP table
    6cad948c9f4a arm64: dts: qcom: ipq6018-cp01-c1: use BLSPI1 pins
    60184b1437db usb: musb: remove extra check in musb_gadget_vbus_draw

(From OE-Core rev: 54b1771499f1b53d8e48b6ab85555902ac64fcf7)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-11 11:31:52 +01:00
Bruce Ashfield
5eddd6cd2e linux-yocto/5.10: update to v5.10.162
Updating  to the latest korg -stable release that comprises
the following commits:

    0fe4548663f7 Linux 5.10.162
    189556b05e17 io_uring: pass in EPOLL_URING_WAKE for eventfd signaling and wakeups
    4ef66581d7fd eventfd: provide a eventfd_signal_mask() helper
    2f093775022b eventpoll: add EPOLL_URING_WAKE poll wakeup flag
    b76c5373f084 Revert "proc: don't allow async path resolution of /proc/self components"
    87cb08dc6b4f Revert "proc: don't allow async path resolution of /proc/thread-self components"
    a3025359ffa7 net: remove cmsg restriction from io_uring based send/recvmsg calls
    6ef2b4728a00 task_work: unconditionally run task_work from get_signal()
    c91ab04781f9 signal: kill JOBCTL_TASK_WORK
    788d0824269b io_uring: import 5.15-stable io_uring
    ed3005032993 task_work: add helper for more targeted task_work canceling
    831cb78a2a5e kernel: don't call do_exit() for PF_IO_WORKER threads
    9ded44b69c71 kernel: stop masking signals in create_io_thread()
    f0a5f0dc0131 x86/process: setup io_threads more like normal user space threads
    dd26e2cec74f arch: ensure parisc/powerpc handle PF_IO_WORKER in copy_thread()
    320c8057eceb arch: setup PF_IO_WORKER threads like PF_KTHREAD
    000de389ad7b entry/kvm: Exit to user mode when TIF_NOTIFY_SIGNAL is set
    0f735cf52bd0 kernel: allow fork with TIF_NOTIFY_SIGNAL pending
    4b4d2c79921a coredump: Limit what can interrupt coredumps
    90a2c3821bbf kernel: remove checking for TIF_NOTIFY_SIGNAL
    61bdeb142e8f task_work: remove legacy TWA_SIGNAL path
    6e2bce21acb4 alpha: fix TIF_NOTIFY_SIGNAL handling
    db911277a2b3 ARC: unbork 5.11 bootup: fix snafu in _TIF_NOTIFY_SIGNAL handling
    a1240cc413eb ia64: don't call handle_signal() unless there's actually a signal queued
    e1402ba4df20 sparc: add support for TIF_NOTIFY_SIGNAL
    78a53ff02656 riscv: add support for TIF_NOTIFY_SIGNAL
    57e833a0a03d nds32: add support for TIF_NOTIFY_SIGNAL
    751fedb9ba5d ia64: add support for TIF_NOTIFY_SIGNAL
    48e9e35d33d6 h8300: add support for TIF_NOTIFY_SIGNAL
    c82617d9decc c6x: add support for TIF_NOTIFY_SIGNAL
    30b78a17ac8f alpha: add support for TIF_NOTIFY_SIGNAL
    bf0b619593cd xtensa: add support for TIF_NOTIFY_SIGNAL
    1bee9dbbcabb arm: add support for TIF_NOTIFY_SIGNAL
    02d383a59cbf microblaze: add support for TIF_NOTIFY_SIGNAL
    19f3e328b4c6 hexagon: add support for TIF_NOTIFY_SIGNAL
    c2037d61dec2 csky: add support for TIF_NOTIFY_SIGNAL
    12284aec880f openrisc: add support for TIF_NOTIFY_SIGNAL
    3fde31e96262 sh: add support for TIF_NOTIFY_SIGNAL
    dc808ffd9778 um: add support for TIF_NOTIFY_SIGNAL
    0aef2ec06394 s390: add support for TIF_NOTIFY_SIGNAL
    8ca2e5709922 mips: add support for TIF_NOTIFY_SIGNAL
    abab3d4444b5 powerpc: add support for TIF_NOTIFY_SIGNAL
    45b365bc6c1b parisc: add support for TIF_NOTIFY_SIGNAL
    cf3c64867319 nios32: add support for TIF_NOTIFY_SIGNAL
    fe137f46d41f m68k: add support for TIF_NOTIFY_SIGNAL
    79a9991e87fe arm64: add support for TIF_NOTIFY_SIGNAL
    2dbb0354517b arc: add support for TIF_NOTIFY_SIGNAL
    4b1dcf8ec9b2 x86: Wire up TIF_NOTIFY_SIGNAL
    eb42e7b30431 task_work: Use TIF_NOTIFY_SIGNAL if available
    3c295bd2ddae entry: Add support for TIF_NOTIFY_SIGNAL
    d2136fc145be fs: provide locked helper variant of close_fd_get_file()
    57b20530363d file: Rename __close_fd_get_file close_fd_get_file
    214f80e25176 fs: make do_renameat2() take struct filename
    52cfde6bbf64 signal: Add task_sigpending() helper
    ad0b0137953a net: add accept helper not installing fd
    069ac28d9243 net: provide __sys_shutdown_sock() that takes a socket
    0b8cd5d814cb tools headers UAPI: Sync openat2.h with the kernel sources
    5683caa7350f fs: expose LOOKUP_CACHED through openat2() RESOLVE_CACHED
    0cf0ce8fb5b1 Make sure nd->path.mnt and nd->path.dentry are always valid pointers
    146fe79fff13 fix handling of nd->depth on LOOKUP_CACHED failures in try_to_unlazy*
    c1fe7bd3e1aa fs: add support for LOOKUP_CACHED
    36ec31201a3d saner calling conventions for unlazy_child()
    e86db87191d8 iov_iter: add helper to save iov_iter state
    1500fed00878 kernel: provide create_io_thread() helper
    1a9148dfd8e0 Linux 5.10.161
    eec1c3ade48b net: loopback: use NET_NAME_PREDICTABLE for name_assign_type
    f3fe6817156a Bluetooth: L2CAP: Fix u8 overflow
    7c3a523c9b19 HID: uclogic: Add HID_QUIRK_HIDINPUT_FORCE quirk
    1d5db0c322ae HID: ite: Enable QUIRK_TOUCHPAD_ON_OFF_REPORT on Acer Aspire Switch V 10
    263a1782a618 HID: ite: Enable QUIRK_TOUCHPAD_ON_OFF_REPORT on Acer Aspire Switch 10E
    a20b5eec0742 HID: ite: Add support for Acer S1002 keyboard-dock
    f2479c3daaab igb: Initialize mailbox message for VF reset
    9ff7aff40ef5 xhci: Apply XHCI_RESET_TO_DEFAULT quirk to ADL-N
    c8bf31a00f4f USB: serial: f81534: fix division by zero on line-speed change
    5b75a0041674 USB: serial: f81232: fix division by zero on line-speed change
    9895ce5ea283 USB: serial: cp210x: add Kamstrup RF sniffer PIDs
    398215f78338 USB: serial: option: add Quectel EM05-G modem
    c79538f32df1 usb: gadget: uvc: Prevent buffer overflow in setup handler
    8b2f86f82c0e udf: Fix extending file within last block
    db873b770d8a udf: Do not bother looking for prealloc extents if i_lenExtents matches i_size
    1a075f4a5494 udf: Fix preallocation discarding at indirect extent boundary
    1f7f7365aee8 udf: Discard preallocation before extending file with a hole

(From OE-Core rev: d462705cd1053f841e5d06586384f7440f9ceb47)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-11 11:31:52 +01:00
Geoffrey GIRY
8064466b45 cve-check: Fix false negative version issue
NVD DB store version and update in the same value, separated by '_'.
The proposed patch check if the version from NVD DB contains a "_",
ie 9.2.0_p1 is convert to 9.2.0p1 before version comparison.

[YOCTO #14127]

Reviewed-by: Yoann CONGAL <yoann.congal@smile.fr>
(From OE-Core rev: f331c80df6c447d3073ebe3f00102c78ced242f3)

Signed-off-by: Geoffrey GIRY <geoffrey.giry@smile.fr>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 7d00f6ec578084a0a0e5caf36241d53036d996c4)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-11 11:31:52 +01:00
Siddharth Doshi
fd78b2c6ac openssl: Security fix for CVE-2023-0464, CVE-2023-0465, CVE-2023-0466
Upstream-Status:
- CVE-2023-0464: Backport from [https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=959c59c7a0164117e7f8366466a32bb1f8d77ff1]
- CVE-2023-0465: Backport from [https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=1dd43e0709fece299b15208f36cc7c76209ba0bb]
- CVE-2023-0466: Backport from [https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=51e8a84ce742db0f6c70510d0159dad8f7825908]

(From OE-Core rev: 699ed495ee65991bf4ab286070d72109e72b1f81)

Signed-off-by: Siddharth Doshi <sdoshi@mvista.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-11 11:31:52 +01:00
Sakib Sajal
7a9f4f7a29 go: fix CVE-2022-2879 and CVE-2022-41720
Backport appropriate patches to fix CVE-2022-2879 and CVE-2022-41720.

Modified the original fix for CVE-2022-2879 to remove a testdata tarball
and any references to it since git binary diffs are not supported in
quilt.

(From OE-Core rev: a896cebe1ce2363b501723475154350acf0e0783)

Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-11 11:31:52 +01:00
pawan
ce861f9dd0 Revert "qemu: fix CVE-2021-3507"
This reverts commit 66575e31b7.

Revert CVE-2021-3507 for qemu as it is not applicable for qemu6.2

Link: https://nvd.nist.gov/vuln/detail/CVE-2021-3507

Conflicts:
	meta/recipes-devtools/qemu/qemu.inc

(From OE-Core rev: b7d96c1e94f79044f86de5cdf4a0eaa61d4ee0b8)

Signed-off-by: pawan <badganchipv@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-11 11:31:52 +01:00
Robert Yang
c6939e8b7f bitbake: fetch/git: Fix local clone url to make it work with repo
The "git clone /path/to/git/objects_symlink" couldn't work after the following
change:

6f054f9fb3

But repo command manages the git repo as symlinks, so check whether the objects
is an symlink to fix the problem:

* Nothing is changed if git/objects is not a symlink
* Use "git clone file://" when git/objects is a symlink

(Bitbake rev: 2802adb572eb73a3eb2725a74a9bbdaafc543fa7)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit a0d8108eba8d542707740d00c66c1c5f5b963f18)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-04-11 11:31:52 +01:00
Piotr Łobacz
407c3e0237 systemd: fix wrong nobody-group assignment
The generated /etc/group file had a wrong group name for nobody-group
which was nobody with same id as nogroup groupd. This was leading to
duplcate groups, with same ids and different names.

More can be read on this link:
https://bugzilla.yoctoproject.org/show_bug.cgi?id=11766

(From OE-Core rev: 08ab1f02da65ee9815115e6a1cdb51ffed10a2dc)

Signed-off-by: Piotr Łobacz <p.lobacz@welotec.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit d69fccf2e5d108dd7c6059310924588d36a45865)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-28 22:31:54 +01:00
Tim Orling
d97b081c08 cracklib: update github branch to 'main'
(From OE-Core rev: 58dfc69f522a8f135575c85cc0e6b50405ed4acc)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit ab041ca5d036c2a1a1514893c6ffb5c7188ff00f)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-28 22:31:54 +01:00
Richard Purdie
0a1007f604 pybootchartui: Fix python syntax issue
Fix:

scripts/pybootchartgui/pybootchartgui/parsing.py:134: SyntaxWarning: "is" with a literal. Did you mean "=="?
  if pid is 0:

(From OE-Core rev: 2429ae83400af67b1cff2adb406ec84b3147ed5e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit c9a6511ae618035b8efad01646e37ba28ce1e3f8)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-28 22:31:54 +01:00
Martin Jansa
bd798707e8 tzcode-native: fix build with gcc-13 on host
* passing -std=c2x to avoid build failure with gcc-13 on host
  works as well, but the resulting zic then segfaults when
  used in tzdata, use a fix from upstream instead

* reported upstream in https://mm.icann.org/pipermail/tz/2023-March/032690.html

* fixes:
  http://errors.yoctoproject.org/Errors/Details/697913/

(From OE-Core rev: ac9550404d14e3676ffcbac0344ded27555adf9e)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 5dabf677f38c209fb6a8ba837d5a66fd89f57d4d)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-28 22:31:54 +01:00
Martin Jansa
768281bd91 tzdata: use separate B instead of WORKDIR for zic output
* avoid copying whole exec_prefix over base_prefix as there
  were only zoneinfo files anyway

(From OE-Core rev: cf96296296a71d0d164f4e528991f0946efe9b29)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 37846f8735683ed0fab5ef5c12d77c6041348801)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-28 22:31:54 +01:00
Martin Jansa
d8c397a3f2 timezone: use 'tz' subdir instead of ${WORKDIR} directly
(From OE-Core rev: 8e047570ca28be2f3761d0944eaa17b64142262b)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit bc53ccaf82c57826acac5f9c2557e403ec367807)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-28 22:31:54 +01:00
Ross Burton
14b55ab826 lib/resulttool: fix typo breaking resulttool log --ptest
ptestresult_get_log() looked for a key called 'ptestresuls.sections',
which should be 'ptestresult.sections'

(From OE-Core rev: 213ed03f5a15be639a97dca6f5bbf810f7ac2eb5)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 7c8c9f7283e54bf8b1521fbaad7dceb66a8fcdbb)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-28 22:31:54 +01:00
Mikko Rapeli
69d7c90091 oeqa rtc.py: skip if read-only-rootfs
hwclock command fails on read-only-rootfs:

AssertionError: 1 != 0 : Failed to reset RTC time, output: hwclock: cannot open /etc/adjtime: Read-only file system

(From OE-Core rev: b89abb0f4cc28c45a62c524a3e2f96795235e214)

Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 017bf8c160f6ab67d9f8e8d9e30b15bf84f73807)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-28 22:31:54 +01:00
Romuald Jeanne
32dd3d59c2 image_types: fix multiubi var init
Make sure to expand all MKUBIFS_ARGS_<label> and UBINIZE_ARGS_<label> vars
in 'do_image_multiubi' task to use them to init the local 'mkubifs_args'
and 'ubinize_args' vars.

See [YOCTO #15065]

(From OE-Core rev: 0fce158e59918172b9e42558fc63342384edf657)

Signed-off-by: Romuald JEANNE <romuald.jeanne@st.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 09d05215cf61981c7bc828cc0ff64c2fd5edc43c)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-28 22:31:53 +01:00
Khem Raj
0f33c73919 systemd.bbclass: Add /usr/lib/systemd to searchpaths as well
Some packages like lirc places its unit files into $systemd_user_unitdir
and also uses them in SYSTEMD_SERVICE list in recipe. This fails in
do_package

ERROR: Didn't find service unit 'lircmd.service', specified in SYSTEMD_SERVICE:lirc.

here lircmd.service is installed in /usr/lib/systemd/system/lircmd.service

(From OE-Core rev: 7582421fc3a711e5ed23add75ed49207e699c422)

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 12808a4159835b67d8d53d32bc9135811701a779)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-28 22:31:53 +01:00
Alexander Kanavin
58d232e126 devtool/upgrade: do not delete the workspace/recipes directory
If it exists, there is no need to delete it, and if it does not,
devtool prints an ugly traceback.

(From OE-Core rev: 4ad488d2453525b7196e6d2406ac526412e3c560)

Signed-off-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 af82e59e8f08369aabd5fa6eb43022982d4e59a7)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-28 22:31:53 +01:00
Chee Yang Lee
343ed537c3 git: ignore CVE-2023-22743
(From OE-Core rev: 8a8a86076f9eed36b7f4c831ad8882d07de62e8e)

Signed-off-by: Chee Yang Lee <chee.yang.lee@intel.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
(cherry picked from commit 70adf86b515934168a6185dcff4a8edb39a40017)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-28 22:31:53 +01:00
Peter Marko
9ad3d3344e systemd: fix CVE-2022-4415
Backport from v250-stable branch (v250.9)

(From OE-Core rev: 2e502df0610cd65c7e2897458ee8a25359614f1a)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-28 22:31:53 +01:00
Pawan Badganchi
64eba948a9 curl: Add fix for CVE-2023-23914, CVE-2023-23915
Add below patches to fix CVE-2023-23914 [1], CVE-2023-23915 [2]

CVE-2023-23914_5-1.patch
CVE-2023-23914_5-2.patch
CVE-2023-23914_5-3.patch
CVE-2023-23914_5-4.patch
CVE-2023-23914_5-5.patch

[1] https://curl.se/docs/CVE-2023-23914.html
[2] https://curl.se/docs/CVE-2023-23915.html

(From OE-Core rev: c80ede99b60cfbb0e7b339e1a7dc9f082f0da1f3)

Signed-off-by: Pawan Badganchi <Pawan.Badganchi@kpit.com>
Signed-off-by: pawan <badganchipv@gmail.com>
Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-28 22:31:53 +01:00
Richard Purdie
85661be8ff base-files: Drop localhost.localdomain from hosts file
This was likely something we took inspiration from elsewhere with.
It was added in:

https://git.openembedded.org/openembedded/commit/packages/netbase/netbase/hosts?id=c8e5702127e507e82e6f68a4b8c546803accea9d

in 2005. Debian added this entry around 2004 and discussed and dropped
it in 2005:

https://lists.debian.org/debian-devel/2005/10/msg00559.html

resulting in:

3c15ee521b

We should drop this for some of the reasons in those threads,
it doesn't seem to be doing anything too helpful and isn't what most
applications expect.

(From OE-Core rev: 7df46e003ea76cf7d5b7263f23bd6e6a781bd22c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit e730d005fa8aec07f9ae25c58d4566eaa92a6997)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-23 22:45:34 +00:00
Wang Mingyu
e77d98a992 dhcpcd: Fix install conflict when enable multilib.
Error: Transaction test error:
   file /usr/share/man/man8/dhcpcd.8 conflicts between attempted installs of dhcpcd-doc-9.4.1-r0.cortexa57 and lib32-dhcpcd-doc-9.4.1-r0.armv7ahf_neon

The differences between the two files are as follows:
@@ -821,7 +821,7 @@
 If you always use the same options, put them here.
 .It Pa /usr/libexec/dhcpcd-run-hooks
 Bourne shell script that is run to configure or de-configure an interface.
-.It Pa /usr/lib64/dhcpcd/dev
+.It Pa /usr/lib/dhcpcd/dev
 Linux
 .Pa /dev
 management modules.

(From OE-Core rev: 800ea13091216a59e21718fa0fada45b45bdca2c)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 65ca2c4b7349a4f7dcfcc580d926a99c673deb60)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-23 22:45:34 +00:00
Kenfe-Mickael Laventure
7a502f838a populate_sdk_ext: Handle spaces within user $PATH
The script generated by the sdk_ext_postinst function was not quoting
the user existing PATH when updating it causing the export command to
fail.

Add necessary double quotes around $PATH.

(From OE-Core rev: d2800e00bb4a1d169e0a91b758d3fb2ec5e35f74)

Signed-off-by: Kenfe-Mickael Laventure <mickael.laventure@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 00e96bf250eaaded839caf465dbc0af5b604aed7)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-23 22:45:34 +00:00
Kenfe-Mickael Laventure
faae923062 toolchain-scripts: Handle spaces within user $PATH
The environment-setup script generated by the recipe was not quoting the
user existing PATH when updating it causing the export command to fail.

Add necessary double quotes around $PATH.

(From OE-Core rev: 64dd672193b43b1364acc73918a54abaa93645e4)

Signed-off-by: Kenfe-Mickael Laventure <mickael.laventure@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 42177ff2d45ee70ad00917bb6fbabca49dae4f59)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-23 22:45:34 +00:00
Kenfe-Mickael Laventure
fe04865346 buildtools-tarball: Handle spaces within user $PATH
The environment-setup script generated by the recipe was not quoting the
user existing PATH when updating it causing the export command to fail.

Add necessary double quotes around $PATH.

(From OE-Core rev: c9bf05d819fc27cb2943d138e2376b69140727b4)

Signed-off-by: Kenfe-Mickael Laventure <mickael.laventure@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 2d4c032bf3187aaa953a0c33a999074e695f54bb)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-23 22:45:34 +00:00
Trevor Woerner
ee80e82197 cups: add/fix web interface packaging
cups includes a web server. Users can surf to port 631 (default) of a
machine running cups to (potentially, based on configuration, default off)
view jobs, add printers, and perform other forms of administration.

The location of the various resources that are used by the built-in web server
(e.g. index.html) are installed under ${datadir}/doc/cups. By default these
artifacts would be included in the ${PN}-doc package. The comments in this
recipe, however, would suggest an attempt was made to have them added to
${PN}; albeit unsuccessfully.

These resources add roughly 1.8M to an image.

Since cups does include a configuration option to disable the web interface
(--enable-webif), add a PACKAGECONFIG (default off) to allow the user to
decide whether or not they would like the web interface configured and its
pieces added to the image. Enabling this PACKAGECONFIG both enables the
web interface to be configured and built into cups, and also adds (by way
of a recommendation) the web interface package to the image. Considering
that the previous intention was not working, defaulting this option to off
preserves the existing behaviour. Previously in order to have the web
interface data included in an image, a user would have needed to explicitly
add the ${PN}-doc package to their image.

(From OE-Core rev: 18194378508beda1ca1fee84e10351b5bf0d86a5)

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 2c9bd267ec532cd86a4a1be1d4e499e2aae89aba)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-23 22:45:34 +00:00
Trevor Woerner
86ea4bde71 cups: check PACKAGECONFIG for pam feature
The cups' PACKAGECONFIG is populated based on DISTRO_FEATURES, but a user
is free to enable or disable PACKAGECONFIGs at will. In theory it is
possible that pam is enabled globally in DISTRO_FEATURES but disabled in
cups' PACKAGECONFIG. Checking the PACKAGECONFIG to determine whether or not
pam is enabled would be a safer check rather than relying on DISTRO_FEATURES.

(From OE-Core rev: 7b23927a72a1f8b91802f5b2ca10f2cea239bd47)

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit a053dd177ddc99ced11e68914079be0ffe261262)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-23 22:45:34 +00:00
Trevor Woerner
618e519a15 cups: use BUILDROOT instead of DESTDIR
The cups documentation is clear that the correct way to install into an
alternate root directory is to use the BUILDROOT variable. From INSTALL.md:

	Use the `BUILDROOT` variable to install to an alternate root directory:

	    make BUILDROOT=/some/other/root/directory install

DESTDIR works, but we should use the mechanism the project specifically
created for this purpose.

(From OE-Core rev: a42066657c002679adcb471f329f09c8996e1b64)

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit f8fc70674e0ea5df46969a06da62f8ed135cae4e)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-23 22:45:34 +00:00
Richard Purdie
c0cdf0dcf8 selftest/recipetool: Stop test corrupting tinfoil class
Running recipetool.RecipetoolTests.test_recipetool_handle_license_vars
followed by wic.Wic2.test_biosplusefi_plugin_qemu would show a failure of:

  File "/media/build/poky/meta/lib/oeqa/utils/commands.py", line 351, in runqemu
    qemu = oeqa.targetcontrol.QemuTarget(recipedata, targetlogger, image_fstype)
  File "/media/build/poky/meta/lib/oeqa/targetcontrol.py", line 116, in __init__
    use_kvm = oe.types.qemu_use_kvm(d.getVar('QEMU_USE_KVM'), d.getVar('TARGET_ARCH'))
  File "/media/build/poky/meta/lib/oe/types.py", line 182, in qemu_use_kvm
    if kvm and boolean(kvm):
  File "/media/build/poky/meta/lib/oe/types.py", line 128, in boolean
    raise ValueError("Invalid boolean value '%s'" % value)
ValueError: Invalid boolean value '/media/build/poky/meta/files/common-licenses'

which made no sense until you realise the recipetool test is corrupting
the tinfoil class. Work on a copy instead to avoid this.

(From OE-Core rev: af73a79f6d4e18e8cc81da19882b7125b92d2523)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 7fe76fe17f67c1bbd108d02836692fed20d24771)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-23 22:45:34 +00:00
Michael Halstead
7d475e03ad selftest/runtime_test/virgl: Disable for all Rocky Linux
RHEL compatible kernels do not support vgem so we disable virgl headless
testing.

(From OE-Core rev: 0f317a0533f20580e77a0d6d0b636c05b3230b1e)

Signed-off-by: Michael Halstead <mhalstead@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 78bc1ba2361249ec845d1b9e28d429a37dd83910)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-23 22:45:34 +00:00
Richard Purdie
0a35803265 glibc: Add missing binutils dependency
glibc has it's dependencies handled more manually due to it's place
in the toolchain bootstrap. It depends upon the compiler and indirectly
through that to binutils. This did mean that if binutils changes and the
compiler does not, sstate and hash equivalence could mean that glibc
wouldn't rebuild.

Add a direct dependency on binutils that if it changes, it forces glibc
to rebuild, as it should.

(From OE-Core rev: de967efc52b858fd51b857d8de731692287430d7)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit c4a7b3decff636292f5e76e95406a22b6fe4a994)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-23 22:45:34 +00:00
Richard Purdie
ffe8c02141 staging/multilib: Fix manifest corruption
The previous fix wasn't enough to address all the possible ways the
manifests might be ordered. Rework the previous fix so it is tied
to the multilib cross-canadian code which is causing the problem.

RECIPE_SYSROOT_MANIFEST_SUBDIR is not documented as I'd hope nobody
ever needs to use this outside the core multilib code.

(From OE-Core rev: 0aa703c06bf101114836ac701bbb524302c0753a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit beab42e00713880cd95a04729c892f8662fbcbed)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-23 22:45:34 +00:00
Richard Purdie
7767b14a34 staging: Separate out different multiconfig manifests
"""
require conf/multilib.conf
MACHINE = "qemuarm64"
MULTILIBS = "multilib:lib32"
DEFAULTTUNE:virtclass-multilib-lib32 = "armv7athf-neon"

bitbake gcc-cross-canadian-arm
"""

and then inspecting the lib32* manifest files under recipe-sysroot-native shows
them referencing lib32-recipe-sysroot instead of recipe-sysroot as used by
gcc-cross-canadian recipes.

To fix this separate out the manifest by multilib. It is caching mechanism to
optimise disk usage so this doesn't break anything, just separated out some files.

(From OE-Core rev: 29f7390add28d3a6fb6854bc750d1db3d969f027)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 891d3faa3ed3d1cc231da58e5fa1325f05d5ade5)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-23 22:45:34 +00:00
Mingli Yu
ce8b6e27a6 mdadm: Fix raid0 tests
Backport patches to fix raid0 tests:
  tests/00raid0
  tests/00readonly
  tests/03r0assem
  tests/04r0update
  tests/04update-metadata

(From OE-Core rev: a5c38968e1a188f7d186c42c38ee49fb749f2b97)

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-23 22:45:34 +00:00
Mingli Yu
1bf1d77db5 mdadm: fix tests/02lineargrow
Backport patch [1] to fix tests/02lineargrow.

[1] https://git.kernel.org/pub/scm/utils/mdadm/mdadm.git/commit/?id=a2c832465fc75202e244327b2081231dfa974617

(From OE-Core rev: 3c2d554f141eb64785e86c8d1e5d85c65caaf322)

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-23 22:45:34 +00:00
Mingli Yu
c69fb7bfe4 mdadm: Fix testcase 06wrmostly
Backport patch [1] to fix the failure of the 06wrmostly test.

[1] https://git.kernel.org/pub/scm/utils/mdadm/mdadm.git/commit/?id=41edf6f45895193f4a523cb0a08d639c9ff9ccc9

(From OE-Core rev: 9c73484cb12f39662a8f10027a55c63b95373066)

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-23 22:45:33 +00:00
Ross Burton
c0cf98d59c vim: set modified-by to the recipe MAINTAINER
Clause II.3 of the Vim license states that any distribution of Vim that
has been extended or modified must _at least_ indicate in the :version
output that this is the case.

Handily, Vim has a --with-modified-by argument to add a line in that
text, so use MAINTAINER.  This is the distribution maintainer contact,
by default it is OE-Core Developers
<openembedded-core@lists.openembedded.org>.

(From OE-Core rev: ec594fe190f0f41f8c0388904d72015fce0cfa55)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit acc007e23445aa53182e13902dd9509c39dd5645)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-23 22:45:33 +00:00
Ross Burton
580e027738 vim: upgrade to 9.0.1403
This incorporates fixes for CVE-2023-1127, CVE-2023-1170, CVE-2023-1175.

Also remove runtime/doc/uganda.txt from the license checksum: the Vim
license is also in the top-level LICENSE file so this is redundant.

(From OE-Core rev: 2d9a183467def574bf3c4a2e2f9bc59965797f6e)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 71111e6b62d37c5e6853d7940dec2993df127a35)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-23 22:45:33 +00:00
Kai Kang
ad4105820e python3-git: fix indent error
It fails to import anything from git/remote.py:

  File "/path_to/python3-git-native/3.1.27-r0/GitPython-3.1.27/git/remote.py", line 700
    url = Git.polish_url(url)
    ^
IndentationError: unexpected indent

(From OE-Core rev: 48633d8920210e55e0b9ee3004f0502f9f0eec48)

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-23 22:45:33 +00:00
Joe Slater
6af5a447a1 python3: fix CVE-2023-24329
Backport fix from cpython 3.11 branch.

(From OE-Core rev: 37defd828cc6a8267139928730d766167905d21a)

Signed-off-by: Joe Slater <joe.slater@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-23 22:45:33 +00:00
Hongxu Jia
a72bfe0e79 pkgconf: fix CVE-2023-24056
Backport from 628b2b2baf

(From OE-Core rev: 5c156d8c06267b7a733aca11c53c2905e03e4a58)

Signed-off-by: Hongxu Jia <hongxu.jia@eng.windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-23 22:45:33 +00:00
Wang Mingyu
2b49a8fbf0 vala: Fix install conflict when enable multilib.
Error: Transaction test error:
   file /usr/bin/vala-gen-introspect-0.56 conflicts between attempted installs of lib32-vala-0.56.3-r0.armv7ahf_neon and vala-0.56.3-r0.aarch64
   file /usr/bin/vapigen-wrapper conflicts between attempted installs
   of lib32-vala-0.56.3-r0.armv7ahf_neon and vala-0.56.3-r0.aarch64

The differences of vala-gen-introspect-0.56 are as follows:
@@ -2,7 +2,7 @@

 prefix=/usr
 exec_prefix=/usr
-libdir=/usr/lib64
+libdir=/usr/lib
 pkglibdir=${libdir}/vala-0.56

 if [ $# -ne 2 ]

The wrapper isn't used on target so we can simply delete it.

(From OE-Core rev: 8b41b5d2e423636942e34723ad940f6f143640c9)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 3cf894b8a9c4fa14fcc7c7445e85e9ae3192b398)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-20 17:20:44 +00:00
Wang Mingyu
6f01d6ba0c lua: Fix install conflict when enable multilib.
Error: Transaction test error:
  file /usr/include/luaconf.h conflicts between attempted installs of lua-dev-5.4.4-r0.aarch64 and lib32-lua-dev-5.4.4-r0.armv7ahf_neon

The differences between the two files are as follows:
@@ -219,7 +219,7 @@

 #define LUA_ROOT       "/usr/"
 #define LUA_LDIR       LUA_ROOT "share/lua/" LUA_VDIR "/"
-#define LUA_CDIR       LUA_ROOT "lib64/lua/" LUA_VDIR "/"
+#define LUA_CDIR       LUA_ROOT "lib/lua/" LUA_VDIR "/"

 #if !defined(LUA_PATH_DEFAULT)
 #define LUA_PATH_DEFAULT  \

(From OE-Core rev: b2892b3b6fa1d396f845539c0256ca0f71378b94)

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 b58d86f9902a7eb7a821a3e36ba298c082c0f1f1)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-20 17:20:44 +00:00
Ming Liu
747d12561a linux: inherit pkgconfig in kernel.bbclass
pkgconfig is being required to find dependencies for building kernel
native tools, move "inherit pkgconfig" to kernel.bbclass so BSP kernel
recipes can also benefit from it.

(From OE-Core rev: e09c50e01d0f5cf45b9622ab0ed33df12bdeb7ee)

Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 8a84bd98e3fbc16c782f83064801e469d086911e)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-20 17:20:44 +00:00
Tom Hochstein
128dfd839f oeqa/sdk: Improve Meson test
The meson wrapper setup command detection is broken in the case of an
implicit setup command with an option with a space-separated argument,
but the test was not detecting it since the case was not covered.

Add the option `--warnlevel 1` to the meson command line to cover this
case.

(From OE-Core rev: 3fbcaaa01304bbc645ddf01ef91805811e3c7f54)

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 54e9ee8a0c6c9fc89cbb743f0e4fc18607d503cf)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-20 17:20:44 +00:00
Tom Hochstein
f3e03ceeef meson: Fix wrapper handling of implicit setup command
From an SDK, running a meson setup build without an explicit setup
command can result in a native build when a cross build is expected.

The problem is in meson-wrapper where it tries to detect whether a
setup command is being used. The logic looks through all arguments for
a command, and the first argument it finds that doesn't start with a -
is treated as the command. This doesn't work for an implicit setup
command if any option with a space-separated argument exists. In this
case, the argument is incorrectly selected as the command, causing the
setup command options for the cross build to be excluded from the
command line, and thus a native build.

Improve the logic by just looking at the first argument. If it is
a known comand, then record it. Otherwise just assume it is the
implicit setup command.

Note that this fix does not address the possibility of a new meson
command. Two new echo statements are included to help the user in case
of trouble:

```
~/git/weston-imx$ meson --warnlevel 3 --prefix=/usr -Ddoc=false -Dbackend-drm-screencast-vaapi=false -Dcolor-management-lcms=false -Dpipewire=false -Dbackend-x11=false -Dxwayland=true -Dsimple-clients=all -Dbackend-wayland=false  -Dbackend-default=drm -Dbackend-rdp=false -Dtest-junit-xml=false -Dlauncher-libseat=false -Dimage-jpeg=false -Dimage-webp=false -Drenderer-g2d=true build
meson-wrapper: Implicit setup command assumed
meson-wrapper: Running meson with setup options: " --cross-file=/opt/fsl-imx-internal-xwayland/6.1-langdale/sysroots/x86_64-pokysdk-linux/usr/share/meson/aarch64-poky-linux-meson.cross --native-file=/opt/fsl-imx-internal-xwayland/6.1-langdale/sysroots/x86_64-pokysdk-linux/usr/share/meson/meson.native "
The Meson build system
Version: 0.63.3
```

(From OE-Core rev: 1f30dedee80669475557d9de5f130b7a23eaa7ec)

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 9338bd66a3c9ab5cb781f2ee588306c5b31a3cb5)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-20 17:20:44 +00:00
Ross Burton
9cf12249aa vim: add missing pkgconfig inherit
Vim uses pkgconfig to find dependencies but it wasn't present, so it
silently doesn't enable features like GTK+ UI.

[ YOCTO #15044 ]

(From OE-Core rev: 01eeabdd6f01c47fa637cee81e4ae3c61c2a9bb9)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 70900616298f5e70732a34e7406e585e323479ed)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-20 17:20:44 +00:00
Peter Marko
3a3b0c66e1 systemd: add group sgx to udev package
>From NEWS for v250:
* Device nodes for the Software Guard eXtension enclaves (sgx_vepc) are
  now also owned by the system group "sgx".

>From NEWS for v248:
* Intel SGX enclave device nodes (which expose a security feature of
  newer Intel CPUs) will now be owned by a new system group "sgx".

Fixes following journal error entry during startup:
  /lib/udev/rules.d/50-udev-default.rules:43 Unknown group 'sgx', ignoring
This is seen already on kirkstone.

(From OE-Core rev: 3fd47697df858d4093d9cb4c6a378fc07aa4d064)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit bab455cd9b1b82e778f8523a767eb281edf6689e)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-20 17:20:44 +00:00
Richard Purdie
c008ab3395 oeqa/selftest/prservice: Improve debug output for failure
We keep seeing this failure on the autobuilder but the output amounts
to "False is not True". Improve the debug message on the chance it may
make the issue clearer.

(From OE-Core rev: 9afb0e2f781720715fc6fd8595d6996465589892)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit d03f4cf19c2cc96e9d942252a451521dfec42ebc)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-20 17:20:44 +00:00
Poonam
b1bc5c8624 python3-setuptools-rust-native: Add direct dependency of native python3 modules
Add direct dependency of below native python3 modules
to fix the compile issue 

python3-semantic-version-native
python3-setuptools-native
python3-setuptools-scm-native
python3-toml-native
python3-typing-extensions-native
python3-wheel-native

This issue is not seen in the upstream yocto but in the project,
where the python modules are not built by any other dependency.
They have to be explicitly pulled.

This fixes below error:

  File "<path to file>/python3-setuptools-rust-native/1.1.2-r0/recipe-sysroot-native/usr/lib/python3.10/site-packages/setuptools/config.py", line 422, in _parse_attr
    module = importlib.import_module(module_name)
  File "<path to file>/python3-setuptools-rust-native/1.1.2-r0/recipe-sysroot-native/usr/lib/python3.10/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 883, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "<path to file>/python3-setuptools-rust-native/1.1.2-r0/setuptools-rust-1.1.2/setuptools_rust/__init__.py", line 1, in <module>
    from .build import build_rust
  File "<path to file>/python3-setuptools-rust-native/1.1.2-r0/setuptools-rust-1.1.2/setuptools_rust/build.py", line 23, in <module>
    from typing_extensions import Literal
ModuleNotFoundError: No module named 'typing_extensions'

(From OE-Core rev: 0ae1ed426e97d9d53fb31a9751de5a3f1898b16b)

Signed-off-by: Poonam Jadhav <Poonam.Jadhav@kpit.com>
Signed-off-by: Poonam Jadhav <ppjadhav456@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-20 17:20:44 +00:00
Richard Purdie
8a01eae89e binutils: Fix nativesdk ld.so search
Currently binutils in buildtools is searching for /etc/etc/ld.so.conf
which makes no sense. ld_sysconfdir already contains /etc so we need to
drop the /etc from the fixed string.

(From OE-Core rev: 47528fa2aa590b3e04e4cc2b66704143419a92d1)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit ccd28c418ab8390118d738fbe914395b5c2a1f75)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-20 17:20:44 +00:00
Wang Mingyu
cd8afdc181 iso-codes: upgrade 4.12.0 -> 4.13.0
Added
=========
- ISO 3166-1: Add missing common names for Laos, Iran, and Syria.
  Fixes #32

Changed
===========
- Translation updates for ISO 3166-1
  - Kazakh from Debian BTS. Closes: #1025423
  - Catalan from Debian BTS. Closes: #1026972
- Translation updates for ISO 3166-2
- Translation updates for ISO 3166-3
- Translation updates for ISO 639-2
- Translation updates for ISO 639-3
- Translation updates for ISO 639-5
- Translation updates for ISO 4217
- Translation updates for ISO 15924

Fixed
==========
- ISO 3166-3: Fix withdrawal dates of AN, CS and YU. Fixes #28

(From OE-Core rev: e2c6593b1e2bd004c233e6b9fd27170365e00c95)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit f2c8b9c9a97ba5ec9c5da94da84ebe216650d6cc)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-20 17:20:44 +00:00
Bruce Ashfield
29952cba14 linux-yocto-rt/5.15: update to -rt59
Integrating the following commit(s) to linux-yocto/5.15:

    4d335265c101 'Linux 5.15.94-rt59'
    c3b4464f5d2b 'Linux 5.15.93-rt58'
    c67bd325f576 'Linux 5.15.92-rt57'
    48e551ae0f55 'Linux 5.15.86-rt56'
    977a63a270ad 'Linux 5.15.85-rt55'
    adaa1d9e19a5 'Linux 5.15.79-rt54'
    ff3c61c5ead1 'Linux 5.15.76-rt53'
    e17260e8d340 'Linux 5.15.73-rt52'
    c83f436b7981 'Linux 5.15.71-rt51'
    e01c9e3ba82d 'Linux 5.15.70-rt50'
    debedeb4264e mm/memcg: Only perform the debug checks on !PREEMPT_RT
    1ef2cd0b8676 mm/memcg: Add a comment regarding the release `obj'.
    f8d153e08d42 mm/memcg: Add missing counter index which are not update in interrupt.
    11624404f67a mm/memcg: Disable migration instead of preemption in drain_all_stock().
    0a1f4de6ed4f mm/memcg: Protect memcg_stock with a local_lock_t
    3f15202f27da mm/memcg: Opencode the inner part of obj_cgroup_uncharge_pages() in drain_obj_stock()
    40dbbd2f9773 mm/memcg: Protect per-CPU counter by disabling preemption on PREEMPT_RT where needed.
    6269831106f5 mm/memcg: Disable threshold event handlers on PREEMPT_RT
    8da0e71b7b7d mm/memcg: Revert ("mm/memcg: optimize user context object stock access")

(From OE-Core rev: 7819b6b18dd7f77e8990644e42fb637095feb973)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit f318c27fdc4ac276743bd37c466e3fc7296bcfd5)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-20 17:20:44 +00:00
Bruce Ashfield
ccea7fda4e linux-yocto/5.15: update to v5.15.96
Updating  to the latest korg -stable release that comprises
the following commits:

    d383d0f28eca Linux 5.15.96
    49ce63694cae bpf: add missing header file include
    80569627ce46 Revert "net/sched: taprio: make qdisc_leaf() see the per-netdev-queue pfifo child qdiscs"
    0c168d7f36d5 lib/Kconfig.debug: Allow BTF + DWARF5 with pahole 1.21+
    6ba3de5a8a02 lib/Kconfig.debug: Use CONFIG_PAHOLE_VERSION
    0f59e08070ba scripts/pahole-flags.sh: Use pahole-version.sh
    3597fd5f9217 kbuild: Add CONFIG_PAHOLE_VERSION
    c98077f7598a ext4: Fix function prototype mismatch for ext4_feat_ktype
    43cb0369c84a audit: update the mailing list in MAINTAINERS
    b5ef61edb1e5 wifi: mwifiex: Add missing compatible string for SD8787
    a24eb3f99063 nbd: fix possible overflow on 'first_minor' in nbd_dev_add()
    d518ca02542f binder: Gracefully handle BINDER_TYPE_FDA objects with num_fds=0
    367d0456c792 binder: Address corner cases in deferred copy and fixup
    b345b2200288 binder: fix pointer cast warning
    c194fc351fec binder: defer copies of pre-patched txn data
    d107b4352284 binder: read pre-translated fds from sender buffer
    41d8b591d70a uaccess: Add speculation barrier to copy_from_user()
    0d3d5099a50b drm/i915/gvt: fix double free bug in split_2MB_gtt_entry
    d835f9c4ede2 powerpc/64s/radix: Fix RWX mapping with relocated kernel
    87b3e4f845a2 powerpc/64s/radix: Fix crash with unaligned relocated kernel
    0b0e9b5adc8e powerpc/vmlinux.lds: Add an explicit symbol for the SRWX boundary
    b6fff8fa4f5b powerpc/vmlinux.lds: Ensure STRICT_ALIGN_SIZE is at least page aligned
    e7f5e3b60c30 powerpc: use generic version of arch_is_kernel_initmem_freed()
    fc58616b198b powerpc: dts: t208x: Disable 10G on MAC1 and MAC2
    62302ac5777a can: kvaser_usb: hydra: help gcc-13 to figure out cmd_len
    6b539a7dbb49 KVM: VMX: Execute IBPB on emulated VM-exit when guest has IBRS
    78c1d35ed66c KVM: SVM: Skip WRMSR fastpath on VM-Exit if next RIP isn't valid
    676248836577 KVM: x86: Fail emulation during EMULTYPE_SKIP on any exception
    5456f0d53b4a random: always mix cycle counter in add_latent_entropy()
    d2edb20b003e clk: mxl: syscon_node_to_regmap() returns error pointers
    04d31929df12 powerpc: dts: t208x: Mark MAC1 and MAC2 as 10G
    8ae31d36516b clk: mxl: Fix a clk entry by adding relevant flags
    a0583edea4fd clk: mxl: Add option to override gate clks
    ef1219115128 clk: mxl: Remove redundant spinlocks
    e5580a805472 clk: mxl: Switch from direct readl/writel based IO to regmap based IO
    20ea32ad9c99 drm/edid: Fix minimum bpc supported with DSC1.2 for HDMI sink
    28985cd17ac7 wifi: rtl8xxxu: gen2: Turn on the rate control
    d04d19cf0ead drm/etnaviv: don't truncate physical page address
    60b502b3ffea Linux 5.15.95
    3f94c70333f6 platform/x86/amd: pmc: add CONFIG_SERIO dependency
    1c202909c8b0 net: sched: sch: Fix off by one in htb_activate_prios()
    180a1632b6c7 ASoC: SOF: Intel: hda-dai: fix possible stream_tag leak
    68c2db8ef56d alarmtimer: Prevent starvation by small intervals and SIG_IGN
    35351e3060d6 kvm: initialize all of the kvm_debugregs structure before sending it to userspace
    1cbb51d83f56 net/sched: tcindex: search key must be 16 bits
    cd9569062d8e i40e: Add checking for null for nlmsg_find_attr()
    290e7084926c net/sched: act_ctinfo: use percpu stats
    22d0cb47047a flow_offload: fill flags to action structure
    d53360d443be drm/i915/gen11: Wa_1408615072/Wa_1407596294 should be on GT list
    8174915c7bf3 drm/i915/gen11: Moving WAs to icl_gt_workarounds_init()
    43dd56f7bfcb mm/filemap: fix page end in filemap_get_read_batch
    a158782b56b0 nilfs2: fix underflow in second superblock position calculations
    13bc7dd5b365 ipv6: Fix tcp socket connection with DSCP.
    f3326fa5e480 ipv6: Fix datagram socket connection with DSCP.
    9c35c81fd6f0 ixgbe: add double of VLAN header when computing the max MTU
    59a74da8da75 net: mpls: fix stale pointer if allocation fails during device rename
    bf8b820ea0ca net: stmmac: Restrict warning on disabling DMA store and fwd mode
    269520bee744 bnxt_en: Fix mqprio and XDP ring checking logic
    0428aabbcc15 net: stmmac: fix order of dwmac5 FlexPPS parametrization sequence
    1563e998a938 net: openvswitch: fix possible memory leak in ovs_meter_cmd_set()
    338f826d3afe net/usb: kalmia: Don't pass act_len in usb_bulk_msg error path
    59e30d2bd309 dccp/tcp: Avoid negative sk_forward_alloc by ipv6_pinfo.pktoptions.
    becf55394f6a net/sched: tcindex: update imperfect hash filters respecting rcu
    3d5f95be49c5 sctp: sctp_sock_filter(): avoid list_entry() on possibly empty list
    fa56f164455e net: ethernet: ti: am65-cpsw: Add RX DMA Channel Teardown Quirk
    2603a5ca6223 net: bgmac: fix BCM5358 support by setting correct flags
    a5e4f2b284dc i40e: add double of VLAN header when computing the max MTU
    1f23ca5dba6c ixgbe: allow to increase MTU to 3K with XDP enabled
    65d07ae69bd3 revert "squashfs: harden sanity check in squashfs_read_xattr_id_table"
    50267cf35ba0 net: Fix unwanted sign extension in netdev_stats_to_stats64()
    3775c95ffbc6 Revert "mm: Always release pages to the buddy allocator in memblock_free_late()."
    57081f83849c selftest/lkdtm: Skip stack-entropy test if lkdtm is not available
    9197daee9eb6 of: reserved_mem: Have kmemleak ignore dynamically allocated reserved mem
    8b29a1866f64 hugetlb: check for undefined shift on 32 bit architectures
    cca2b3feb701 sched/psi: Fix use-after-free in ep_remove_wait_queue()
    c5f2151afb2a ALSA: hda/realtek - fixed wrong gpio assigned
    1a3f8c85cd2a ALSA: hda/conexant: add a new hda codec SN6180
    ecad2fafd424 mmc: mmc_spi: fix error handling in mmc_spi_probe()
    1e06cf04239e mmc: sdio: fix possible resource leaks in some error paths
    732e3b293ca3 mmc: jz4740: Work around bug on JZ4760(B)
    fdaf88531cfd tcp: Fix listen() regression in 5.15.88.
    9a1d92cbeac3 netfilter: nft_tproxy: restrict to prerouting hook
    3fc9dc0340e0 platform/x86/amd: pmc: Disable IRQ1 wakeup for RN/CZN
    c2cb2c71da50 platform/x86: amd-pmc: Correct usage of SMU version
    2dcf115681d4 platform/x86: amd-pmc: Fix compilation when CONFIG_DEBUGFS is disabled
    32e3a6c4a756 platform/x86: amd-pmc: Export Idlemask values based on the APU
    1723efa4c375 drm/amd/display: Fail atomic_check early on normalize_zpos error
    178993157e8c aio: fix mremap after fork null-deref
    3cfc5e84ac6f mptcp: do not wait for bare sockets' timeout
    e0e93c8599c5 xfs: don't leak btree cursor when insrec fails after a split
    294c022a070a xfs: purge dquots after inode walk fails during quotacheck
    96f0651a264b xfs: assert in xfs_btree_del_cursor should take into account error
    88ccad17784a xfs: don't assert fail on perag references on teardown
    ddf1e0fd43b2 xfs: avoid unnecessary runtime sibling pointer endian conversions
    5f0e21a4a885 xfs: validate v5 feature fields
    ea0ce7c13610 xfs: set XFS_FEAT_NLINK correctly
    0cc9f9cc8d91 xfs: detect self referencing btree sibling pointers
    4e96f5ace9ac xfs: fix potential log item leak
    8abef857eb91 xfs: zero inode fork buffer at allocation
    63b8e4cc31fd nvmem: core: fix return value
    eac1ad2f5e21 nvmem: core: fix registration vs use race
    8f9c4b2a3b13 nvmem: core: fix cleanup after dev_set_name()
    14eea6449473 nvmem: core: add error handling for dev_set_name
    36a5ae5cf90a platform/x86: touchscreen_dmi: Add Chuwi Vi8 (CWI501) DMI match
    f1cb549bcd0b drm/amd/display: Properly handle additional cases where DCN is not supported
    5ca46a04a5c3 nvme-fc: fix a missing queue put in nvmet_fc_ls_create_association
    9ed522143f95 s390/decompressor: specify __decompress() buf len to avoid overflow
    99875ea9b5b4 net: sched: sch: Bounds check priority
    5027084bc097 drm/nouveau/devinit/tu102-: wait for GFW_BOOT_PROGRESS == COMPLETED
    4fdc19e4fa23 net: stmmac: do not stop RX_CLK in Rx LPI state for qcs404 SoC
    6769cd8a7488 net/rose: Fix to not accept on connected socket
    2ddb9fa56665 tools/virtio: fix the vringh test for virtio ring changes
    a35c241065ee ASoC: cs42l56: fix DT probe
    f312367f5246 bpf, sockmap: Don't let sock_map_{close,destroy,unhash} call itself
    e909f5f2aa55 ALSA: hda: Do not unset preset when cleaning up codec
    5541d35f5d03 selftests/bpf: Verify copy_register_state() preserves parent/live fields
    7814e28c4183 ASoC: Intel: sof_cs42l42: always set dpcm_capture for amplifiers
    d15ab7320892 ASoC: Intel: sof_rt5682: always set dpcm_capture for amplifiers
    06f2a84d626a ACPI / x86: Add support for LPS0 callback handler
    14a2de5c16f3 riscv: kprobe: Fixup misaligned load text
    b5d5f1ad057e kprobes: treewide: Cleanup the error messages for kprobes
    2a6853c0ea03 mptcp: fix locking for in-kernel listener creation

(From OE-Core rev: 5f969d8a3b8d169a71b7a74da2eaf6f2e730c5d5)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 020944ef921ae2b6923b139bad5f7a79217dace1)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-20 17:20:44 +00:00
Bruce Ashfield
4094e62813 linux-yocto/5.15: update to v5.15.94
Updating  to the latest korg -stable release that comprises
the following commits:

    e2c1a934fd8e Linux 5.15.94
    17170acdc7c8 Documentation/hw-vuln: Add documentation for Cross-Thread Return Predictions
    5122e0e44363 KVM: x86: Mitigate the cross-thread return address predictions bug
    8f12dcab90e8 x86/speculation: Identify processors vulnerable to SMT RSB predictions
    e63c434de8b6 drm/i915: Fix VBT DSI DVO port handling
    fc88c6838183 drm/i915: Initialize the obj flags for shmem objects
    2e557c8ca2c5 drm/amdgpu/fence: Fix oops due to non-matching drm_sched init/fini
    3af734f3eac6 Fix page corruption caused by racy check in __free_pages
    c94ce5ea68dc arm64: dts: meson-axg: Make mmc host controller interrupts level-sensitive
    b796c02df37e arm64: dts: meson-g12-common: Make mmc host controller interrupts level-sensitive
    5d9b771f53c1 arm64: dts: meson-gx: Make mmc host controller interrupts level-sensitive
    ac39dce11912 rtmutex: Ensure that the top waiter is always woken up
    86f7e4239336 powerpc/64s/interrupt: Fix interrupt exit race with security mitigation switch
    2907cf3f2ec7 riscv: Fixup race condition on PG_dcache_clean in flush_icache_pte
    beb1cefa3ccd ceph: flush cap releases when the session is flushed
    86733ab23933 clk: ingenic: jz4760: Update M/N/OD calculation algorithm
    239e927eb2ea usb: typec: altmodes/displayport: Fix probe pin assign check
    48aecce116e4 usb: core: add quirk for Alcor Link AK9563 smartcard reader
    a8178bb1c776 btrfs: free device in btrfs_close_devices for a single device filesystem
    8d13f2c3e2ba mptcp: be careful on subflow status propagation on errors
    25141fb41191 net: USB: Fix wrong-direction WARNING in plusb.c
    d1fba1e096ff cifs: Fix use-after-free in rdata->read_into_pages()
    1b83e7e174d8 pinctrl: intel: Restore the pins that used to be in Direct IRQ mode
    f5f025b703e2 spi: dw: Fix wrong FIFO level setting for long xfers
    71668706fbe7 pinctrl: single: fix potential NULL dereference
    a2a1065739e9 pinctrl: aspeed: Fix confusing types in return value
    99450163bcf6 pinctrl: mediatek: Fix the drive register definition of some Pins
    9f0d2c268488 ASoC: topology: Return -ENOMEM on memory allocation failure
    1a52ef89e369 riscv: stacktrace: Fix missing the first frame
    5fb815433450 ALSA: pci: lx6464es: fix a debug loop
    105ea562f6cf selftests: forwarding: lib: quote the sysctl values
    528e3f3a4b53 rds: rds_rm_zerocopy_callback() use list_first_entry()
    48d6d8f2f609 igc: Add ndo_tx_timeout support
    62ff7dd961ab net/mlx5: Serialize module cleanup with reload and remove
    95d2394f84f1 net/mlx5: fw_tracer, Zero consumer index when reloading the tracer
    ab7f3f6a9d9b net/mlx5: fw_tracer, Clear load bit when freeing string DBs buffers
    193528646ed2 net/mlx5e: IPoIB, Show unknown speed instead of error
    7c6e8eb617c1 net/mlx5: Bridge, fix ageing of peer FDB entries
    49ece61a078f net/mlx5e: Update rx ring hw mtu upon each rx-fcs flag change
    31172267bab0 net/mlx5e: Introduce the mlx5e_flush_rq function
    e4e4e93d31b3 net/mlx5e: Move repeating clear_bit in mlx5e_rx_reporter_err_rq_cqe_recover
    3f18b9ed8c83 net: mscc: ocelot: fix VCAP filters not matching on MAC with "protocol 802.1Q"
    6acb5d853b41 net: dsa: mt7530: don't change PVC_EG_TAG when CPU port becomes VLAN-aware
    ca834a017851 ice: Do not use WQ_MEM_RECLAIM flag for workqueue
    70d48c7992ca uapi: add missing ip/ipv6 header dependencies for linux/stddef.h
    3cec44036f48 ionic: clean interrupt before enabling queue to avoid credit race
    fad12afe877a net: phy: meson-gxl: use MMD access dummy stubs for GXL, internal PHY
    d23385a200e6 bonding: fix error checking in bond_debug_reregister()
    11006d9d083f net: phylink: move phy_device_free() to correctly release phy device
    fb022d7b1c79 xfrm: fix bug with DSCP copy to v6 from v4 tunnel
    6fe1ad42afa8 RDMA/usnic: use iommu_map_atomic() under spin_lock()
    8f5fe1cd8e6a RDMA/irdma: Fix potential NULL-ptr-dereference
    1b4ef90cbcfa IB/IPoIB: Fix legacy IPoIB due to wrong number of queues
    5dc688fae6b7 xfrm/compat: prevent potential spectre v1 gadget in xfrm_xlate32_attr()
    9bae58d58b6b IB/hfi1: Restore allocated resources on failed copyout
    558b1fa01cdc xfrm: compat: change expression for switch in xfrm_xlate64
    238b38e89fff can: j1939: do not wait 250 ms if the same addr was already claimed
    d859184b60d4 of/address: Return an error when no valid dma-ranges are found
    70f37b3118de tracing: Fix poll() and select() do not work on per_cpu trace_pipe and trace_pipe_raw
    df017495039a ALSA: hda/realtek: Enable mute/micmute LEDs on HP Elitebook, 645 G9
    ca9d54220345 ALSA: hda/realtek: Fix the speaker output on Samsung Galaxy Book2 Pro 360
    706b6d86a6f8 ALSA: emux: Avoid potential array out-of-bound in snd_emux_xg_control()
    731fc29de6a2 ALSA: hda/realtek: Add Positivo N14KP6-TG
    b93805980714 btrfs: zlib: zero-initialize zlib workspace
    e65faa7e39a2 btrfs: limit device extents to the device size
    2e4dd07fda7a migrate: hugetlb: check for hugetlb shared PMD in node migration
    072e7412e857 mm/migration: return errno when isolate_huge_page failed
    85d7786c66b6 Linux 5.15.93
    6e2fac197de2 bpf: Skip invalid kfunc call in backtrack_insn
    46c9088cabd4 gfs2: Always check inode size of inline inodes
    8eb2e58a92e0 gfs2: Cosmetic gfs2_dinode_{in,out} cleanup
    e4991910f150 wifi: brcmfmac: Check the count value of channel spec to prevent out-of-bounds reads
    97ccfffcc061 f2fs: fix to do sanity check on i_extra_isize in is_alive()
    64fa364ad324 fbdev: smscufx: fix error handling code in ufx_usb_probe
    a77141a06367 ovl: Use "buf" flexible array for memcpy() destination
    1692fedd0f66 fs/ntfs3: Validate attribute data and valid sizes
    a5b9cb72769b powerpc/imc-pmu: Revert nest_init_lock to being a mutex
    3691f43a0959 iio:adc:twl6030: Enable measurement of VAC
    8c84f50390b2 bpf: Do not reject when the stack read size is different from the tracked scalar size
    14b6198abbd5 bpf: Fix incorrect state pruning for <8B spill/fill
    575a9f6fefd9 phy: qcom-qmp-combo: fix runtime suspend
    e58df87394be phy: qcom-qmp-combo: fix broken power on
    368ea32e0ad0 phy: qcom-qmp-usb: fix memleak on probe deferral
    2f27d3811a41 phy: qcom-qmp-combo: fix memleak on probe deferral
    0cb10ddab7df phy: qcom-qmp-combo: disable runtime PM on unbind
    0ef5ffe11682 serial: 8250_dma: Fix DMA Rx rearm race
    e30328f599b9 serial: 8250_dma: Fix DMA Rx completion race
    a5a171f61a04 nvmem: core: fix cell removal on error
    6d9fa3ff6548 nvmem: core: remove nvmem_config wp_gpio
    adf80e072c95 nvmem: core: initialise nvmem->id early
    e3ebc3e23bd9 drm/i915: Fix potential bit_17 double-free
    997bed0f3cde Squashfs: fix handling and sanity checking of xattr_ids count
    7a0cfaf9d457 highmem: round down the address passed to kunmap_flush_on_unmap()
    5dbe1ebd5647 mm/swapfile: add cond_resched() in get_swap_pages()
    daf82418045f fpga: stratix10-soc: Fix return value check in s10_ops_write_init()
    afd32b683154 x86/debug: Fix stack recursion caused by wrongly ordered DR7 accesses
    066ecbf1a53e kernel/irq/irqdomain.c: fix memory leak with using debugfs_lookup()
    481bf49f58bb usb: gadget: f_uac2: Fix incorrect increment of bNumEndpoints
    fdf40e582442 mm: hugetlb: proc: check for hugetlb shared PMD in /proc/PID/smaps
    6c300351c55d riscv: disable generation of unwind tables
    a5c275add96b parisc: Wire up PTRACE_GETREGS/PTRACE_SETREGS for compat case
    a964decd1307 parisc: Fix return code of pdc_iodc_print()
    488eaf0625d9 nvmem: qcom-spmi-sdam: fix module autoloading
    8569beb66fe6 iio: imu: fxos8700: fix MAGN sensor scale and unit
    8aa5cdcfaf6a iio: imu: fxos8700: remove definition FXOS8700_CTRL_ODR_MIN
    4112ba1ad5ca iio: imu: fxos8700: fix failed initialization ODR mode assignment
    abf7b2ba51f5 iio: imu: fxos8700: fix incorrect ODR mode readback
    412757741c22 iio: imu: fxos8700: fix swapped ACCEL and MAGN channels readback
    34909532b12e iio: imu: fxos8700: fix map label of channel type to MAGN sensor
    8346eb4987e5 iio: imu: fxos8700: fix IMU data bits returned to user space
    7567cdf3ce21 iio: imu: fxos8700: fix incomplete ACCEL and MAGN channels readback
    6969852220af iio: imu: fxos8700: fix ACCEL measurement range selection
    cdacfb220556 iio:adc:twl6030: Enable measurements of VUSB, VBAT and others
    9988063dcefd iio: adc: berlin2-adc: Add missing of_node_put() in error path
    c691a5c0fd03 iio: hid: fix the retval in gyro_3d_capture_sample
    ef80a34699cd iio: hid: fix the retval in accel_3d_capture_sample
    c4eae85c73be efi: Accept version 2 of memory attributes table
    710db8206351 ALSA: hda/realtek: Add Acer Predator PH315-54
    3fbddf86d924 watchdog: diag288_wdt: fix __diag288() inline assembly
    700dd5bc72d3 watchdog: diag288_wdt: do not use stack buffers for hardware data
    21bc51e29e66 net: qrtr: free memory on error path in radix_tree_insert()
    dccbd062d716 fbcon: Check font dimension limits
    5d7500d99164 Input: i8042 - add Clevo PCX0DX to i8042 quirk table
    fc9e27f3ba08 vc_screen: move load of struct vc_data pointer in vcs_read() to avoid UAF
    9ba1188a719a usb: gadget: f_fs: Fix unbalanced spinlock in __ffs_ep0_queue_wait
    fe86480e903f usb: dwc3: qcom: enable vbus override when in OTG dr-mode
    a412fe7baf40 iio: adc: stm32-dfsdm: fill module aliases
    994465939830 drm/amd/display: Fix timing not changning when freesync video is enabled
    a3967128bc65 net/x25: Fix to not accept on connected socket
    396ea318e7fa platform/x86: gigabyte-wmi: add support for B450M DS3H WIFI-CF
    1577524633c7 platform/x86: dell-wmi: Add a keymap for KEY_MUTE in type 0x0010 table
    540cea9f9b6d i2c: rk3x: fix a bunch of kernel-doc warnings
    0aaabdb900c7 scsi: iscsi_tcp: Fix UAF during login when accessing the shost ipaddress
    17b738590b97 scsi: iscsi_tcp: Fix UAF during logout when accessing the shost ipaddress
    8cd0499f9c33 perf/x86/intel: Add Emerald Rapids
    709351537096 scsi: target: core: Fix warning on RT kernels
    b7960f54362b i2c: mxs: suppress probe-deferral error message
    b9b87fc34b7f i2c: designware-pci: Add new PCI IDs for AMD NAVI GPU
    d8fc0b5fb3e8 efi: fix potential NULL deref in efi_mem_reserve_persistent
    f423c2efd51d net: openvswitch: fix flow memory leak in ovs_flow_cmd_new
    798502864789 virtio-net: Keep stop() to follow mirror sequence of open()
    5d884f9e80ff selftests: net: udpgso_bench_tx: Cater for pending datagrams zerocopy benchmarking
    63aa63af3a1e selftests: net: udpgso_bench: Fix racing bug between the rx/tx programs
    d41a3f9cc242 selftests: net: udpgso_bench_rx/tx: Stop when wrong CLI args are provided
    5af98283e554 selftests: net: udpgso_bench_rx: Fix 'used uninitialized' compiler warning
    89e0701e03c5 ata: libata: Fix sata_down_spd_limit() when no link speed is reported
    9ab896775f98 can: j1939: fix errant WARN_ON_ONCE in j1939_session_deactivate
    02d77d98e020 igc: return an error if the mac type is unknown in igc_ptp_systim_to_hwtstamp()
    04a735582095 riscv: kprobe: Fixup kernel panic when probing an illegal position
    206c367b6a2e ip/ip6_gre: Fix non-point-to-point tunnel not generating IPv6 link local address
    90178bc0f28f ip/ip6_gre: Fix changing addr gen mode not generating IPv6 link local address
    dfe2f0ea3851 net: phy: meson-gxl: Add generic dummy stubs for MMD register access
    b7398efe24a9 squashfs: harden sanity check in squashfs_read_xattr_id_table
    89a69216f170 netfilter: br_netfilter: disable sabotage_in hook after first suppression
    cdb444e73fdc drm/i915/adlp: Fix typo for reference clock
    960f20d8582e drm/i915/guc: Fix locking when searching for a hung request
    c27e0eac568a netrom: Fix use-after-free caused by accept on already connected socket
    511c922c5bf6 block, bfq: fix uaf for bfqq in bic_set_bfqq()
    a62c129dcbfa block, bfq: replace 0/1 with false/true in bic apis
    37a744a068c9 block/bfq-iosched.c: use "false" rather than "BLK_RW_ASYNC"
    2cd1e9c013ec net: phy: dp83822: Fix null pointer access on DP83825/DP83826 devices
    18c18c2110ea sfc: correctly advertise tunneled IPv6 segmentation
    878b06f60a08 dpaa2-eth: execute xdp_do_flush() before napi_complete_done()
    3b5774cd6b94 dpaa_eth: execute xdp_do_flush() before napi_complete_done()
    5a7040a649c8 virtio-net: execute xdp_do_flush() before napi_complete_done()
    94add5b27290 qede: execute xdp_do_flush() before napi_complete_done()
    a273f8e3ab90 ice: Prevent set_channel from changing queues while RDMA active
    b432e183c26e fix "direction" argument of iov_iter_kvec()
    d8b8306e963e fix iov_iter_bvec() "direction" argument
    389c7c0ef9cc READ is "data destination", not source...
    7a3649bf5bef WRITE is "data source", not destination...
    83cc6a7bb75c vhost/net: Clear the pending messages when the backend is removed
    7c7d344bc386 scsi: Revert "scsi: core: map PQ=1, PDT=other values to SCSI_SCAN_TARGET_PRESENT"
    4b199dc09416 drm/vc4: hdmi: make CEC adapter name unique
    dc1f8ab25a17 arm64: dts: imx8mm: Fix pad control for UART1_DTE_RX
    c681d7a4ed3d bpf, sockmap: Check for any of tcp_bpf_prots when cloning a listener
    34ad5d8885f5 bpf: Fix to preserve reg parent/live fields when copying range info
    7b86f9ab5692 bpf: Support <8-byte scalar spill and refill
    1b9256c96220 ALSA: hda/via: Avoid potential array out-of-bound in add_secret_dac_path()
    b7abeb691637 bpf: Fix a possible task gone issue with bpf_send_signal[_thread]() helpers
    cfcc2390dbc5 ASoC: Intel: bytcr_wm5102: Drop reference count of ACPI device after use
    b4b204565a45 ASoC: Intel: bytcr_rt5640: Drop reference count of ACPI device after use
    1f1e7635c54d ASoC: Intel: bytcr_rt5651: Drop reference count of ACPI device after use
    41d323c352ac ASoC: Intel: bytcht_es8316: Drop reference count of ACPI device after use
    6a9990e1d92b ASoC: Intel: bytcht_es8316: move comment to the right place
    ffcdf354555b ASoC: Intel: boards: fix spelling in comments
    bd0b17ab1b76 bus: sunxi-rsb: Fix error handling in sunxi_rsb_init()
    5f4543c9382a firewire: fix memory leak for payload of request subaction to IEC 61883-1 FCP region
    e515b9902f5f Linux 5.15.92
    c7caf669b89d net: mctp: purge receive queues on sk destruction
    046de74f9af9 net: fix NULL pointer in skb_segment_list
    7ab3376703ce selftests: Provide local define of __cpuid_count()
    e92e311ced6f selftests/vm: remove ARRAY_SIZE define from individual tests
    c9e52db90031 tools: fix ARRAY_SIZE defines in tools and selftests hdrs
    c1aa0dd52db4 Bluetooth: fix null ptr deref on hci_sync_conn_complete_evt
    02e61196c578 ACPI: processor idle: Practically limit "Dummy wait" workaround to old Intel systems
    79dd676b445f extcon: usbc-tusb320: fix kernel-doc warning
    c2bd60ef20de ext4: fix bad checksum after online resize
    4cd1e18bc04a cifs: fix return of uninitialized rc in dfs_cache_update_tgthint()
    43acd767bd90 dmaengine: imx-sdma: Fix a possible memory leak in sdma_transfer_init
    a54c5ad007ea HID: playstation: sanity check DualSense calibration data.
    6d7686cc11b7 blk-cgroup: fix missing pd_online_fn() while activating policy
    2144859229c1 erofs/zmap.c: Fix incorrect offset calculation
    0dfef5031335 bpf: Skip task with pid=1 in send_signal_common()
    e8bb772f745e firmware: arm_scmi: Clear stale xfer->hdr.status
    80cb9f1a76aa arm64: dts: imx8mq-thor96: fix no-mmc property for SDHCI
    162fad24d2e1 arm64: dts: freescale: Fix pca954x i2c-mux node names
    82ad105e1a55 ARM: dts: vf610: Fix pca9548 i2c-mux node names
    5aee5f33e03a ARM: dts: imx: Fix pca9547 i2c-mux node name

(From OE-Core rev: a8a3d9d246d06c5448078332c3a7a2d6d192a724)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit f5deb914ba17c131c4880da8d9a1184c2d2a3ef6)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-20 17:20:44 +00:00
Xiangyu Chen
92ce6413af sudo: update 1.9.12p2 -> 1.9.13p3
License-update: copyright years, formatting.

(From OE-Core rev: b307a79caff34c0b23c72a5349f6800c48527635)

Signed-off-by: Xiangyu Chen <xiangyu.chen@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-20 17:20:44 +00:00
Narpat Mali
caa3177c77 libmicrohttpd: upgrade 0.9.75 -> 0.9.76
Changelog:
============
Fix potential DoS vector in MHD_PostProcessor.(CVE-2023-27371)
Releasing GNU libmicrohttpd 0.9.76 hotfix.

https://github.com/Karlson2k/libmicrohttpd/blob/v0.9.76/ChangeLog

(From OE-Core rev: 017346be6c97d20b1b16d495ee9484f10973857c)

Signed-off-by: Narpat Mali <narpat.mali@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-20 17:20:44 +00:00
Ross Burton
015945091e shadow: ignore CVE-2016-15024
This recently got an updated CPE which matches this recipe, but the issue
is related to an entirely different shadow project so ignore it.

(From OE-Core rev: d0b1f61eb1fadf44b2e4fba13b6a94140cf029db)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 2331e98abb09cbcd56625d65c4e5d258dc29dd04)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-20 17:20:44 +00:00
Chee Yang Lee
857a8bdd9c tiff: fix multiple CVEs
import patch from debian to fix
CVE-2022-48281
http://security.debian.org/debian-security/pool/updates/main/t/tiff/tiff_4.2.0-1+deb11u4.debian.tar.xz

import patch from fedora to fix
CVE-2023-0800
CVE-2023-0801
CVE-2023-0802
CVE-2023-0803
CVE-2023-0804
91856895aa

(From OE-Core rev: f2782b4cac461909cf432db13516e443fee8c3de)

Signed-off-by: Chee Yang Lee <chee.yang.lee@intel.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
(cherry picked from commit d9ce9b37236f5c16ffba4572ad720aeb50edeee9)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-20 17:20:44 +00:00
Siddharth Doshi
b7da7c8996 harfbuzz: Security fix for CVE-2023-25193
Upstream-Status: Backport from [8708b9e081]
(From OE-Core rev: 58e212a6109a639ca0675e73967da74d6c4c5aa3)

Signed-off-by: Siddharth Doshi <sdoshi@mvista.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-20 17:20:44 +00:00
Vivek Kumbhar
347ea091f5 gnutls: fix CVE-2023-0361 timing side-channel in the TLS RSA key exchange code
Remove branching that depends on secret data.

since the `ok` variable isn't used any more, we can remove all code
used to calculate it

(From OE-Core rev: 05b1222815bec400d573f7b06c0ad6b7b2d78a80)

Signed-off-by: Vivek Kumbhar <vkumbhar@mvista.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-20 17:20:44 +00:00
Shubham Kulkarni
8b82794b62 glibc: Security fix for CVE-2023-0687
Backport from https://sourceware.org/git/?p=glibc.git;a=patch;h=801af9fafd4689337ebf27260aa115335a0cb2bc

(From OE-Core rev: eadf28a0640c9b714bfa8081626641a7d3d30537)

Signed-off-by: Shubham Kulkarni <skulkarni@mvista.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-20 17:20:44 +00:00
Siddharth Doshi
871137b986 epiphany: Security fix for CVE-2023-26081
Upstream-Status: Backport from [53363c3c81]
(From OE-Core rev: d5390008c3747073e4dfcc120b335d14dd0a08c9)

Signed-off-by: Siddharth Doshi <sdoshi@mvista.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-20 17:20:44 +00:00
Michael Opdenacker
2a15bb1af3 migration-guides: add 4.0.8 release notes
(From yocto-docs rev: 86d0b38a97941ad52b1af220c7b801a399d50e93)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-20 12:53:45 +00:00
Richard Purdie
432bef2a90 bitbake: cookerdata: Drop dubious exception handling code
This code appears to be dangerous, it swallows exceptions, turning them into
"handled" versions which then show no errors to the user. This is a pretty
poor user experience and I can't see why this code should be swallowing
such things. Drop the worst bits of code.

(Bitbake rev: a29ffcc12df24737e702e198aeb8f6892884932b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-14 15:05:30 +00:00
Richard Purdie
f8c7c22df8 bitbake: cookerdata: Improve early exception handling
Martin Jansa reported that if you put a syntax error into an imported
module such as qa.py in OE, no error is shown.

Part of the issue appears to be that the catch_parse_error() decorator only
catches certain exceptions and SyntaxError isn't one of them. As far as I can
tell we should remove all the special cases and use the more advanced code
in all cases, not just expansion errors.

I confirmed this now prints a proper error message for a qa.py syntax error.

(Bitbake rev: e66012bfda60ffe1658473e25879aa67909ae65f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-14 15:05:30 +00:00
Richard Purdie
b217614969 bitbake: cookerdata: Remove incorrect SystemExit usage
Calling SystemExit doesn't work well with server/client usage since the string
isn't printed to the right place. Use bb.fatal() instead which prints the right
log output and raises and handled exception which then shows correctly on the
UI.

(Bitbake rev: b9ae7164d9e744e8eb9aaff79218f57233a449b7)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-14 15:05:30 +00:00
Richard Purdie
02ad2ab205 bitbake: utils: Allow to_boolean to support int values
Some variables may be set as:

X = 1

as well the more usual

X = "1"

so add support to to_boolean to handle this case.

(Bitbake rev: e7df13a61911b7431802af2b4d7472b2aaf346fa)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-14 15:05:30 +00:00
Joe Slater
30656ea54d nghttp2: never build python bindings
This has already been done for oe-core/master.

(From OE-Core rev: 9e8cbf46fe6e4e257b76b228de56d4a891199896)

Signed-off-by: Joe Slater <joe.slater@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-09 13:19:03 +00:00
Mikko Rapeli
351110f0cf runqemu: kill qemu if it hangs
qemu doesn't always behave well and can hang too.
kill it with force if it was still alive. Move clean up
commands into cleanup() function.

(From OE-Core rev: 929e7679c1d9b21ac5130a9cbc83c415fb9f63f5)

Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 079c2935d2f585ce49e1c7daab2155fcf0094c48)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-09 13:19:03 +00:00
Mikko Rapeli
4cd4e6d9ba oeqa ssh.py: fix hangs in run()
When qemu machine hangs, the ssh commands done by tests
are not timing out. do_testimage() task has last logs like this:

DEBUG: time: 1673531086.3155053, endtime: 1673531686.315502

The test process is stuck for hours, or for ever if the
executing command or test case did not set a timeout correctly.
The default 300 second timeout is not working when target hangs.
Note that timeout is really a "inactive timeout" since data returned
by the process will reset the timeout.

Make the process stdout non-blocking so read() will always return
right away using os.set_blocking() available in python 3.5 and later.

Then change from python codec reader to plain read() and make
the ssh subprocess stdout non-blocking. Even with select()
making sure the file had input to be read, the codec reader was
trying to find more stuff and blocking for ever when process hangs.

While at it, add a small timeout to read data in larger chunks if
possible. This avoids reading data one or few characters at a time
and makes the debug logs more readable.

close() the stdout file in all cases after read loop is complete.

Then make sure to wait or kill the ssh subprocess in all cases.
Just reading the output stream and receiving EOF there does not mean
that the process exited, and wait() needs a timeout if the process
is hanging. In the end kill the process and return the return value
and captured output utf-8 encoded, just like before these changes.

This fixes ssh run() related deadlocks when a qemu target hangs
completely.

(From OE-Core rev: 04f080802b4a28709a105e4f0ead56a7a2da42b4)

Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 9c63970fce3a3d6029745252a6ec2bf9b9da862d)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-09 13:19:03 +00:00
Narpat Mali
8f33f65d60 libseccomp: fix for the ptest result format
The output of libseccomp ptest should follow a unified format as
per this https://wiki.yoctoproject.org/wiki/Ptest

Replaced the test results SUCCESS, FAILURE & SKIPPPED with PASS,
FAIL & SKIP and printing the ptest result with the below format
result: testname

(From OE-Core rev: 20f15c72ad7e52fb68669bce8be57bbe5a366ca3)

Signed-off-by: Narpat Mali <narpat.mali@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 30d025a8641cfcce5412b5f021478777620b55f1)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-09 13:19:03 +00:00
Ulrich Ölmann
7cabd3e23c kernel-yocto: fix kernel-meta data detection
Fixes: 7ef7af5c03ba ("kernel-yocto: restore kernel-meta data detection for SRC_URI elements")
(From OE-Core rev: c92593af46ef2ccbaaff89bb75eac46b3ac8b856)

Signed-off-by: Ulrich Ölmann <u.oelmann@pengutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit c77754f23e3fb49a62602a6c6a04d5525d1cf457)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-09 13:19:03 +00:00
Ross Burton
c6b64d2872 lib/buildstats: handle tasks that never finished
If a task is aborted the buildstats file isn't complete, so calculate
when the build finished and use that as a end time.

(From OE-Core rev: ffce2744f5833d1c30db7f50443503b3c1a1d119)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 23ebaec476dc46aebe5997f025661137f3e341bd)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-09 13:19:03 +00:00
Alexis Lothoré
e3a3b01549 oeqa/selftest/resulttooltests: fix minor typo
(From OE-Core rev: 2da6b6f231519b32fde61a64559aa105f2a9342f)

Signed-off-by: Alexis Lothoré <alexis.lothore@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 80cfa56d133bd3abbb1f37272607d8e15ce70861)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-09 13:19:03 +00:00
Richard Purdie
3bc80c214a libssh2: Clean up ptest patch/coverage
Martin Jansa spotted patchreview.py reports Malformed Upstream-Status in a
patch in this recipe. The patch is not being applied since there is no ptest
override.

The test in question was also disabled due to an issue with new versions of
openssh.

Add a workaround for the broken test, enable it, drop the broken patch.

(From OE-Core rev: 2c05ee17d58774fc628b8a5b55a14551590fadaa)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit e9f2cc084638ce9cb5339df611e473c30f0e40b1)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-09 13:19:03 +00:00
Bruce Ashfield
3c60e026d7 lttng-modules: fix for kernel 6.2+
Backporting a patching from the 2.13.x stable branch of lttng
to fix the build against kernel 6.2+.

(From OE-Core rev: d04dcd155fb8ce420c66b53ae61360680513ccf8)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 3aed7dfe5ff6f52497dcffa58bc2f06cf709ea18)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-09 13:19:03 +00:00
Xiangyu Chen
23d5c8a6bd dhcpcd: fix dhcpcd start failure on qemuppc64
Backport patch to fix dhcpcd start failed on qemuppc64.

(From OE-Core rev: 4b4f071fd178b4c8208fccf2e218d3945ed224e3)

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 a31d658198566de12cdd1aad18776b8da8065787)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-09 13:19:03 +00:00
Mateusz Marciniec
88ddcabcca sstatesig: Improve output hash calculation
Symbolic links to the files are included during the output hash
calculation but symlinks to the directories are missed.
So if the new symlink to a directory was the only change made,
then the output hash won't change,
and the Hash Equivalence server may change unihash.
In the next run bitbake may use an older package from sstate-cache.

To fix this followlinks=True flag could be set for os.walk
but it can lead to infinite recursion if link points
to a parent directory of itself.
Also, all files from a directory to which symlink points
would be included in depsig file.
Therefore another solution was applied, I added code that will loop
through directories and process those that are symlinks.

(From OE-Core rev: 477a4e816494e256b309fd7e84b2c3796708e6e8)

Signed-off-by: Mateusz Marciniec <mateuszmar2@gmail.com>
Signed-off-by: Tomasz Dziendzielski <tomasz.dziendzielski@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit ee729163f31f26b1462a47e1e53f7a0f9de9b464)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-09 13:19:03 +00:00
Saul Wold
45efd8bc44 busybox: Fix depmod patch
The original patch was actually allowing .debug modules
though which was in-correct. This change blocks the
parsing of .debug modules (which is correct). As noted in
[YOCTO #15022] this should address the empty modules.dep
when using the BusyBox depmod.

(From OE-Core rev: 49bddef864768bbf339513414b42a820f861bdb7)

Signed-off-by: Saul Wold <saul.wold@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 339c3c3abe8d405cfe7b3f34db9b3547bcaaf878)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-09 13:19:03 +00:00
Pavel Zhukov
9a832b4628 wic: Fix usage of fstype=none in wic
This allows to specify partition with fstype=none in the wks file
to have partition created but without following mkfs. The none fstype
is in the list already but the usage is not documented.

Example;
part /data --ondisk mmcblk0 --fstype=none  --align 4096 --fixed-size 512

will create a partition, filesystem may be created manualy on the host
or target and data will be preserved if the device is reflashed using
same wks. Works with bmaptool and probably does not work with dd.
Use case is persistent filesystem/data between reflashing of the image.

(From OE-Core rev: 9af61442c8bc2e0b447706734cb90b3f4bcb2d6b)

Signed-off-by: Pavel Zhukov <pavel@zhukoff.net>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 351cb64da37aa43113e5192605d04436652aa3b8)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-09 13:19:02 +00:00
Federico Pellegrin
3bfdb9bee0 curl: fix dependencies when building with ldap/ldaps
openldap is added as a dependency so the build will not fail,
as otherwise ldap headers are not found during configure phase

Note: due to upstream bug (now fixed) building LDAP/LDAPS support
with minimal configurations can sometimes not work, see details at:
https://github.com/curl/curl/pull/10445

(From OE-Core rev: e6a001c22ec1b0d5487027148dda099847474272)

Signed-off-by: Federico Pellegrin <fede@evolware.org>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit a999f62f5692687a5557f7a50c7c768c50f3d7d3)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-09 13:19:02 +00:00
Alexander Kanavin
0c39653c05 wireless-regdb: upgrade 2022.08.12 -> 2023.02.13
(From OE-Core rev: 2f5dfa6dac8f7e366c58e2d24a535b8a1e7e43f6)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit a8e8ea1b4b100b6f0ba5ca9441a8f3f1ac31fbfd)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-09 13:19:02 +00:00
Alexander Kanavin
7c8e375f40 linux-firmware: upgrade 20230117 -> 20230210
License-Update: additional firmwares

(From OE-Core rev: 2658aa90d07cbee2e1d94158bbab2e758b5ffd9f)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 8e6134d39b840d96e1c37d3df21a522afea8bc76)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-09 13:19:02 +00:00
Dmitry Baryshkov
f1c9241a16 linux-firmware: add yamato fw files to qcom-adreno-a2xx package
Newest linux-firmware release got firmware for Adreno A200. Add these
two files to the ${PN}-qcom-adreno-a2xx package. As these files are
licensed under a separate BSD-3-Clause license, add separate license
package too.

(From OE-Core rev: 97e0687455c91acbe57dbaf3cbfaed5d962e4ee6)

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 56e1b2b06ef7f22d4ac5899046f650ae8ec0d547)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-09 13:19:02 +00:00
Dmitry Baryshkov
7d49b9a4e5 linux-firmware: properly set license for all Qualcomm firmware
It is not enough to depend on the ${PN}-qcom-license package. Set
LICENSE variable for all the qcom packages to point to the proper
license.

(From OE-Core rev: bc41970a9a1f1e9227b24679aae935326cd4bf94)

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 9dc41e18dc138a7cce920f8e4c85eb3130c0d553)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-09 13:19:02 +00:00
Siddharth Doshi
849c086fb1 openssl: Upgrade 3.0.7 -> 3.0.8
OpenSSL 3.0.8 fixes 1 HIGH level security vulnerability and 7 MODERATE level security vulnerability [1].

Upgrade the recipe to point to 3.0.8.

CVE-2022-3996 is reported fixed in 3.0.8, so drop the patch for that as
well.

[1] https://www.openssl.org/news/vulnerabilities.html

CVEs Fixed:
https://www.openssl.org/news/secadv/20230207.txt

(From OE-Core rev: e356e203a72fc2062b63b0f744b15313e41e2880)

Signed-off-by: Siddharth Doshi <sdoshi@mvista.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 8461466f63200a0b1c9c247b70fdf5819651544c)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
(cherry picked from commit f5dce7274bfd65c05df932f36a5e43cfc884fd41)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-09 13:19:02 +00:00
Alexander Kanavin
e5532f1132 dbus: upgrade 1.14.4 -> 1.14.6
Denial of service fixes:

• Fix an incorrect assertion that could be used to crash dbus-daemon or
  other users of DBusServer prior to authentication, if libdbus was compiled
  with assertions enabled.
  We recommend that production builds of dbus, for example in OS distributions,
  should be compiled with checks but without assertions.
  (dbus#421, Ralf Habacker; thanks to Evgeny Vereshchagin)

Other fixes:

• When connected to a dbus-broker, stop dbus-monitor from incorrectly
  replying to Peer method calls that were sent to the dbus-broker with
  a NULL destination (dbus#301, Kai A. Hiller)

• Fix out-of-bounds varargs read in the dbus-daemon's config-parser.
  This is not attacker-triggerable and appears to be harmless in practice,
  but is technically undefined behaviour and is detected as such by
  AddressSanitizer. (dbus!357, Evgeny Vereshchagin)

• Avoid a data race in multi-threaded use of DBusCounter
  (dbus#426, Ralf Habacker)

• Fix a crash with some glibc versions when non-auditable SELinux events
  are logged (dbus!386, Jeremi Piotrowski)

• If dbus_message_demarshal() runs out of memory while validating a message,
  report it as NoMemory rather than InvalidArgs (dbus#420, Simon McVittie)

• Use C11 _Alignof if available, for better standards-compliance
  (dbus!389, Khem Raj)

• Stop including an outdated copy of pkg.m4 in the git tree
  (dbus!365, Simon McVittie)

• Documentation:
  · Consistently use Gitlab bug reporting URL (dbus!372, Marco Trevisan)

• Tests fixes:
  · Fix the test-apparmor-activation test after dbus#416
    (dbus!380, Dave Jones)

Internal changes:

• Fix CI builds with recent git versions (dbus#447, Simon McVittie)

(From OE-Core rev: be5d5919242d6d26bdb1e70b83aab88949ffe0eb)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 31245df3061c1a913bffe5e11ad6ac7fa9c83915)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
(cherry picked from commit 83e9bd1507fd5f79c680dde30b0f66df84cde6b0)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-09 13:19:02 +00:00
Wang Mingyu
2a90e5ffb0 xwayland: upgrade 22.1.7 -> 22.1.8
xwayland 22.1.8 - Security fix for CVE-2023-0494

(From OE-Core rev: c4f35a99a0f840ccd50fd3514a63ea5bb90784a8)

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 e0ca374267cce807d12d706564989900fe61bd97)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
(cherry picked from commit 964ca02debe1e85cb91789dee1d08344f4fcf33a)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-09 13:19:02 +00:00
Wang Mingyu
3947976294 libjpeg-turbo: upgrade 2.1.5 -> 2.1.5.1
Changelog:
==========
1. The SIMD dispatchers in libjpeg-turbo 2.1.4 and prior stored the list of
supported SIMD instruction sets in a global variable, which caused an innocuous
race condition whereby the variable could have been initialized multiple times
if 'jpeg_start_*compress()' was called simultaneously in multiple threads.
libjpeg-turbo 2.1.5 included an undocumented attempt to fix this race condition
by making the SIMD support variable thread-local.  However, that caused another
issue whereby, if 'jpeg_start_*compress()' was called in one thread and
'jpeg_read_*()' or 'jpeg_write_*()' was called in a second thread, the SIMD
support variable was never initialized in the second thread.  On x86 systems,
this led the second thread to incorrectly assume that AVX2 instructions were
always available, and when it attempted to use those instructions on older x86
CPUs that do not support them, an illegal instruction error occurred.  The SIMD
dispatchers now ensure that the SIMD support variable is initialized before
dispatching based on its value.

(From OE-Core rev: 195aae4fcb14c818629b04fc371910125a4b3277)

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 009a1b0390d791d614b8d4a1407e7479c261f60d)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
(cherry picked from commit d57de2a7169de369105ed9bce19a43dad68f350a)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-09 13:19:02 +00:00
Alexander Kanavin
07506c2d82 vim: update 9.0.1211 -> 9.0.1293 to resolve open CVEs
(From OE-Core rev: 5eb050c439d891188ded3e79bf1e5b5695f24872)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 6d77dbe499ee362b6e28902f1efcf52b961037a5)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-09 13:19:02 +00:00
Kai Kang
7c65a1b56a xserver-xorg: 21.1.6 -> 21.1.7
According to the ANNOUNCE of xorg-server 21.1.7[1]:

This release contains the fix for CVE-2023-0494 in today's security
advisory: https://lists.x.org/archives/xorg-announce/2023-February/003320.html
It also fixes a second possible OOB access during EnqueueEvent and a
crasher caused by ResourceClientBits not correctly honouring the
MaxClients value in the configuration file.

Finally, a bunch of Xquartz updates including the ability to correctly detect
ssh-tunneled clients as remote.

[1]: https://lists.x.org/archives/xorg-announce/2023-February/003321.html

(From OE-Core rev: b69011d194a39ea7812fdd8fc59ba12b6e0416a9)

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 60737bee6466e206d8f3c751910dfce00b60d703)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-09 13:19:02 +00:00
Saul Wold
d4d9aa02ea package.bbclase: Add check for /build in copydebugsources()
This is needed when the SDK or eSDK is installed in a /build top level
directory as it conflicts with the build directory within the existing
/usr/src/debug/build (which is really a link). Rename it and then do the
copy, this is not an issue with master currently due to some other
changes that occurred in master.

Fixes: [YOCTO #15026]

(From OE-Core rev: 80839835ec9fcb63069289225a3c1af257ffdef7)

Signed-off-by: Saul Wold <saul.wold@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-09 13:19:02 +00:00
Hitendra Prajapati
358d319cf5 less: backport the fix for CVE-2022-46663
Upstream-Status: Backport from a78e135111

(From OE-Core rev: 6cec065d795a562460c422947ac70c4a6f3f3175)

Signed-off-by: Hitendra Prajapati <hprajapati@mvista.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-09 13:19:02 +00:00
Changqing Li
bcbb64e7af libsdl2: fix CVE-2022-4743
(From OE-Core rev: 41e13e88dd1f9d251d1e86ee1de543165789a579)

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-09 13:19:02 +00:00
Yash Shinde
6a1554f16d binutils : Fix CVE-2023-22608
Upstream-Status: Backport [https://sourceware.org/git/?p=binutils-gdb.git;a=commitdiff;h=8af23b30edbaedf009bc9b243cd4dfa10ae1ac09]

(From OE-Core rev: 3dd27bbe8c19aa358916de940453de81d3831510)

Signed-off-by: Yash Shinde <Yash.Shinde@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-09 13:19:02 +00:00
Richard Purdie
a361fb3df9 build-appliance-image: Update to kirkstone head revision
(From OE-Core rev: b20e2134daec33fbb8ce358d984751d887752bd5)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-27 23:39:10 +00:00
Steve Sakoman
c3038cddbc poky.conf: bump version for 4.0.8
(From meta-yocto rev: 2903a4ac643f390bc0ca0899187b89ecd346d294)

Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-27 23:38:34 +00:00
Alexandre Belloni
7a0f35d63c oeqa/selftest/bbtests: Update message lookup for test_git_unpack_nonetwork_fail
bitbake's output changed, update the test

(From OE-Core rev: 6b50713cd51002584915f46eb366b8667db210ea)

Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 7e64b63f96dd1d71e263e7bbbe6591e51e98395a)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-24 16:41:46 +00:00
Mikko Rapeli
da91128b6d oeqa qemurunner.py: try to avoid reading one character at a time
Read from serial console with a small delay to bundle data to e.g.
full lines. Reading one character at a time is not needed and causes
busy looping.

(From OE-Core rev: e91a09702680b713293bcfcc851b27a73e884a8b)

Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
(cherry picked from commit 0049f6757f6f956fb4cc77b3df6a672c20b53cf4)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-24 16:41:46 +00:00
Mikko Rapeli
90fd95edad oeqa qemurunner.py: add timeout to QMP calls
When a qemu machine hangs, the QMP calls can hang for ever
too, and when this happens any failing test commands from ssh
runner may be followed by dump_monitor() calls which
then also hang. Hangs followed by hangs.

Use runqemutime at setup and run_monitor() specific timeout
for later calls.

(From OE-Core rev: 3b99d0ce6445084038f89dfa98605a7aec49107b)

Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
(cherry picked from commit 3a07bdf77dc6ecbf4c620b051dd032abaaf1e4ff)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-24 16:41:46 +00:00
Mikko Rapeli
7f36239b4e oeqa qemurunner: read more data at a time from serial
Use a short sleep to bundle serial console reads so that
we are not reading one character at a time which reduces busy
looping.

(From OE-Core rev: 3699e5bf2f9259266c49aaf69127183988b9d052)

Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
(cherry picked from commit cafe65d8cf7544edbd387f7f5f6d77c64c6b18fa)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-24 16:41:46 +00:00
Mikko Rapeli
519f3a7196 oeqa dump.py: add error counter and stop after 5 failures
If test target qemu machine hangs completely, dump_target() calls
over serial console are taking a long time to time out, possibly
for every failing ssh command execution and a lot of test cases,
and same with dump_monitor().

Instead of trying for ever, count errors and after 5 stop trying
to dump_target() and dump_monitor() completely.

These help to end testing earlier when a test target is completely
deadlocked and all ssh, serial and QMP communication with it are
failing.

(From OE-Core rev: 91bc1e03bc990c527d8aadbdcd7bf97217db124e)

Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
(cherry picked from commit d9ad0a055abba983c6cee1dca4d2f0a8a3c48782)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-24 16:41:46 +00:00
Mikko Rapeli
758c32745e oeqa ssh.py: add connection keep alive options to ssh client
Configure ssh client to test that connection with server is up.
If the server does not respond within a minute then the connection,
target machine or sshd daemon are stuck and it's better to exit
the command execution with errors.

Some tests can execute a long time without returning stdout/stderror
data and it's difficult to adjust timers for those cases if
connection to target machine or the target machine itself hangs
and output is not expected in minutes or even hours.

(From OE-Core rev: 94021c8571242dd491ee3c7c40144c5a12ca8e42)

Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
(cherry picked from commit ba68ff04c5786eca7cd8dd44056705867dea8ac4)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-24 16:41:46 +00:00
Mikko Rapeli
de82d38730 oeqa ssh.py: move output prints to new line
The output from is garbled otherwise and it's not
easy to remove debug output form real command output on target.

(From OE-Core rev: 36b572fbc5c88b9aaf4e146ecdb00c8d4ea6ff70)

Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
(cherry picked from commit 917a70cbc43ac1c70c477b220c4115735457ef04)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-24 16:41:46 +00:00
Peter Kjellerstedt
638294ca48 devshell: Do not add scripts/git-intercept to PATH
The use of scripts/git-intercept was introduced in commit 3266c327df
(install/devshell: Introduce git intercept script due to fakeroot
issues) and later reverted in commit af27c81eaf (scripts: Make git
intercept global).

(From OE-Core rev: 70ee5f9d50bec6e708cd2006c11ef3d0bd7cab42)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
(cherry picked from commit f6c260c8e2a33e282a35afc99de4ef8cc1791b08)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-24 16:41:46 +00:00
Mauro Queiros
eba3bebee0 image.bbclass: print all QA functions exceptions
For the QA checks in `image.bbclass`, all exceptions
other than `oe.utils.ImageQAFailed` always print the
following generic message:
"Image QA function func_name failed"

This can be very misleading, as it may hide
python syntax errors and other kind of issues that are
hard to detect without more explicit error messages.

This change makes sure that the error message of all
exceptions are displayed.

Before this change:
 "Image QA function func_name failed"

After this change:
 "Image QA function func_name failed: f-string: empty expression not allowed (<string>, line 13)"

(From OE-Core rev: 6c53d8d8c88fb06b19fbf5bdd754960b21531074)

Signed-off-by: Mauro Queiros <maurofrqueiros@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 3d85b30d8704d38b86f5b006748cebc74bd2a4fa)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-24 16:41:46 +00:00
Ulrich Ölmann
3ad697337d update-alternatives: fix typos
(From OE-Core rev: 6b6f3cfe8995663b31482e70285863266dfd9d80)

Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit d3ca05b072c152b76a86edaaddebabdef312ea95)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-24 16:41:46 +00:00
Kai Kang
486f0c93b6 qemu: fix compile error
Backport 2 patches and rebase
0001-hw-display-qxl-Pass-requested-buffer-size-to-qxl_phy.patch to fix
compile error:

../qemu-6.2.0/hw/display/qxl.c: In function 'qxl_phys2virt':
../qemu-6.2.0/hw/display/qxl.c:1477:67: error: 'size' undeclared (first use in this function); did you mean 'gsize'?
 1477 |         if (!qxl_get_check_slot_offset(qxl, pqxl, &slot, &offset, size)) {
      |                                                                   ^~~~
      |                                                                   gsize
../qemu-6.2.0/hw/display/qxl.c:1477:67: note: each undeclared identifier is reported only once for each function it appears in

(From OE-Core rev: b3f42317c1932253e7e6b2fd7a263bdbd6c2f69a)

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-24 16:41:46 +00:00
Steve Sakoman
95d0e4347b libgit2: upgrade 1.4.4 -> 1.4.5
Fixes:

libgit2, when compiled using the optional, included libssh2 backend, fails to verify SSH keys by default.

Description
When using an SSH remote with the optional, included libssh2 backend, libgit2 does not perform certificate checking by default. Prior versions of libgit2 require the caller to set the certificate_check field of libgit2's git_remote_callbacks structure - if a certificate check callback is not set, libgit2 does not perform any certificate checking. This means that by default - without configuring a certificate check callback, clients will not perform validation on the server SSH keys and may be subject to a man-in-the-middle attack.

Beginning in libgit2 v1.4.5 and v1.5.1, libgit2 will now perform host key checking by default. Users can still override the default behavior using the certificate_check function.

The libgit2 security team would like to thank the Julia and Rust security teams for responsibly disclosing this vulnerability and assisting with fixing the vulnerability.

(From OE-Core rev: 6c64dc88b5dac910f3760e9cd1003cc83df3ffad)

Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-24 16:41:46 +00:00
Steve Sakoman
b1d0c4f16e libgit2: uprade 1.4.3 -> 1.4.4
This is a security release with multiple changes.

This provides compatibility with git's changes to address CVE 2022-29187. As a follow up to CVE 2022-24765, now not only is the working directory of a non-bare repository examined for its ownership, but the .git directory and the .git file (if present) are also examined for their ownership.

A fix for compatibility with git's (new) behavior for CVE 2022-24765 allows users on POSIX systems to access a git repository that is owned by them when they are running in sudo.

A fix for further compatibility with git's (existing) behavior for CVE 2022-24765 allows users on Windows to access a git repository that is owned by the Administrator when running with escalated privileges (using runas Administrator).

The bundled zlib is updated to v1.2.12, as prior versions had memory corruption bugs. It is not known that there is a security vulnerability in libgit2 based on these bugs, but we are updating to be cautious.

(From OE-Core rev: 4bc31ac89eb0562bae37e2246e8001b4286f61da)

Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-24 16:41:46 +00:00
Alexander Kanavin
bce82f9d8f sudo: upgrade 1.9.12p1 -> 1.9.12p2
Changes:

Fixed a compilation error on Linux/aarch64. GitHub issue #197.

Fixed a potential crash introduced in the fix GitHub issue #134. If a user’s sudoers entry did not have any RunAs user’s set, running sudo -U otheruser -l would dereference a NULL pointer.

Fixed a bug introduced in sudo 1.9.12 that could prevent sudo from creating a I/O files when the iolog_file sudoers setting contains six or more Xs.

Fixed a compilation issue on AIX with the native compiler. GitHub issue #231.

Fixed CVE-2023-22809, a flaw in sudo’s -e option (aka sudoedit) that could allow a malicious user with sudoedit privileges to edit arbitrary files

(From OE-Core rev: fce9cdb15789778fe2525b99c968bbf9a84102ac)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 5a3f5f4f607f5e06af772287109b68579154fb2f)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
(cherry picked from commit cd1b6167242003c79b39d8761ea0f36db41f0671)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-24 16:41:46 +00:00
Sakib Sajal
cd38b687c4 git: upgrade 2.35.6 -> 2.35.7
Upgrade git to latest 2.37.x release to address
security issues CVE-2022-23521 and CVE-2022-41903.

(From OE-Core rev: 0e7de5066491bc9b860ad4d65965d6f848898aff)

Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-24 16:41:46 +00:00
Alexander Kanavin
0bfc45af67 linux-firmware: upgrade 20221214 -> 20230117
License-Update: additional firmwares, copyright years

(From OE-Core rev: 42246eb699bf9c96517bfc4e8788606cd4ba72fb)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit fdb8c12fc71b4a985372f5d02ce59a1402c14c4a)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-24 16:41:46 +00:00
Alexander Kanavin
ff33181447 libjpeg-turbo: upgrade 2.1.4 -> 2.1.5
Significant changes relative to 2.1.4

Fixed issues in the build system whereby, when using the Ninja Multi-Config CMake generator, a static build of libjpeg-turbo (a build in which ENABLE_SHARED is 0) could not be installed, a Windows installer could not be built, and the Java regression tests failed.

Fixed a regression introduced by 2.0 beta1[15] that caused a buffer overrun in the progressive Huffman encoder when attempting to transform a specially-crafted malformed 12-bit-per-component JPEG image into a progressive 12-bit-per-component JPEG image using a 12-bit-per-component build of libjpeg-turbo (-DWITH_12BIT=1.) Given that the buffer overrun was fully contained within the progressive Huffman encoder structure and did not cause a segfault or other user-visible errant behavior, given that the lossless transformer (unlike the decompressor) is not generally exposed to arbitrary data exploits, and given that 12-bit-per-component builds of libjpeg-turbo are uncommon, this issue did not likely pose a security risk.

Fixed an issue whereby, when using a 12-bit-per-component build of libjpeg-turbo (-DWITH_12BIT=1), passing samples with values greater than 4095 or less than 0 to jpeg_write_scanlines() caused a buffer overrun or underrun in the RGB-to-YCbCr color converter.

Fixed a floating point exception that occurred when attempting to use the jpegtran -drop and -trim options to losslessly transform a specially-crafted malformed JPEG image.

Fixed an issue in tjBufSizeYUV2() whereby it returned a bogus result, rather than throwing an error, if the align parameter was not a power of 2. Fixed a similar issue in tjCompressFromYUV() whereby it generated a corrupt JPEG image in certain cases, rather than throwing an error, if the align parameter was not a power of 2.

Fixed an issue whereby tjDecompressToYUV2(), which is a wrapper for tjDecompressToYUVPlanes(), used the desired YUV image dimensions rather than the actual scaled image dimensions when computing the plane pointers and strides to pass to tjDecompressToYUVPlanes(). This caused a buffer overrun and subsequent segfault if the desired image dimensions exceeded the scaled image dimensions.

Fixed an issue whereby, when decompressing a 12-bit-per-component JPEG image (-DWITH_12BIT=1) using an alpha-enabled output color space such as JCS_EXT_RGBA, the alpha channel was set to 255 rather than 4095.

Fixed an issue whereby the Java version of TJBench did not accept a range of quality values.

Fixed an issue whereby, when -progressive was passed to TJBench, the JPEG input image was not transformed into a progressive JPEG image prior to decompression.

(From OE-Core rev: 1ca7a15d7dece08e18cdb41f897ec37d1349ab70)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f779689c2c766b609be31222d71110c1a15145a8)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
(cherry picked from commit a5d15ae9f4671790d3c5fb3606ec0861c17ed6dd)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-24 16:41:46 +00:00
Alexander Kanavin
a2b16f537a bind: upgrade 9.18.10 -> 9.18.11
Stable branch update

License-update: copyright years

(From OE-Core rev: e9e54549426ccfac2c8da4053754f648e42a6c4a)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 63e8a8952c3d1b3b5c481be6bba52a3f4d65648e)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
(cherry picked from commit 54e2de8a589766c9a305c9bd0782afb5353fd109)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-24 16:41:46 +00:00
Alexander Kanavin
a65d579eb6 apr-util: update 1.6.1 -> 1.6.3
Changes with APR-util 1.6.3

  *) Correct a packaging issue in 1.6.2. The contents of the release were
     correct, but the top level directory was misnamed.

Changes with APR-util 1.6.2

  *) SECURITY: CVE-2022-25147 (cve.mitre.org)
     Integer Overflow or Wraparound vulnerability in apr_base64 functions
     of Apache Portable Runtime Utility (APR-util) allows an attacker to
     write beyond bounds of a buffer.

  *) Teach configure how to find and build against MariaDB 10.2. PR 61517
     [Kris Karas <bugs-a17 moonlit-rail.com>]

  *) apr_crypto_commoncrypto: Remove stray reference to -lcrypto that
     prevented commoncrypto being enabled. [Graham Leggett]

  *) Add --tag=CC to libtool invocations. PR 62640. [Michael Osipov]

  *) apr_dbm_gdbm: Fix handling of error codes. This makes gdbm 1.14 work.
     apr_dbm_gdbm will now also return error codes starting with
     APR_OS_START_USEERR, as apr_dbm_berkleydb does, instead of always
     returning APR_EGENERAL. [Stefan Fritsch]

Drop backport.

(From OE-Core rev: e24b38a14b3520648ec418783fb74fcf61df7ff2)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit dca707f9fecc805503e17f6db3e4c88069ac0125)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
(cherry picked from commit 43cd36b178ebb602edd5919c26f8b8642736a3a8)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-24 16:41:46 +00:00
Alexander Kanavin
d2e5098a8f apr: update 1.7.0 -> 1.7.2
Changes for APR 1.7.2

  *) Correct a packaging issue in 1.7.1. The contents of the release were
     correct, but the top level directory was misnamed.

Changes for APR 1.7.1

  *) SECURITY: CVE-2022-24963 (cve.mitre.org)
     Integer Overflow or Wraparound vulnerability in apr_encode functions of
     Apache Portable Runtime (APR) allows an attacker to write beyond bounds
     of a buffer.

  *) SECURITY: CVE-2022-28331 (cve.mitre.org)
     On Windows, Apache Portable Runtime 1.7.0 and earlier may write beyond
     the end of a stack based buffer in apr_socket_sendv(). This is a result
     of integer overflow.

  *) SECURITY: CVE-2021-35940 (cve.mitre.org)
     Restore fix for out-of-bounds array dereference in apr_time_exp*() functions.
     (This issue was addressed as CVE-2017-12613 in APR 1.6.3 and
     later 1.6.x releases, but was missing in 1.7.0.)  [Stefan Sperling]

  *) configure: Fix various build issues for compilers enforcing
     strict C99 compliance.  PR 66396, 66408, 66426.
     [Florian Weimer <fweimer redhat.com>, Sam James <sam gentoo.org>]

  *) apr_atomic_read64(): Fix non-atomic read on 32-bit Windows [Ivan Zhakov]

  *) configure: Prefer posix name-based shared memory over SysV IPC.
     [Jim Jagielski]

  *) configure: Add --disable-sctp argument to forcibly disable SCTP
     support, or --enable-sctp which fails if SCTP support is not
     detected.  [Lubos Uhliarik <luhliari redhat.com>, Joe Orton]

  *) Fix handle leak in the Win32 apr_uid_current implementation.
     PR 61165. [Ivan Zhakov]

  *) Add error handling for lseek() failures in apr_file_write() and
     apr_file_writev().  [Joe Orton]

  *) Don't silently set APR_FOPEN_NOCLEANUP for apr_file_mktemp() created file
     to avoid a fd and inode leak when/if later passed to apr_file_setaside().
     [Yann Ylavic]

  *) APR's configure script uses AC_TRY_RUN to detect whether the return type
     of strerror_r is int. When cross-compiling this defaults to no.

     This commit adds an AC_CACHE_CHECK so users who cross-compile APR may
     influence the outcome with a configure variable. [Sebastian Kemper
     <sebastian_ml gmx net>]

  *) Add a cache check with which users who cross-compile APR
     can influence the outcome of the /dev/zero test by setting the variable
     ac_cv_mmap__dev_zero=yes [Sebastian Kemper <sebastian_ml gmx net>]

  *) Trick autoconf into printing the correct default prefix in the help.
     [Stefan Fritsch]

  *) Don't try to use PROC_PTHREAD by default when cross compiling.
     [Yann Ylavic]

  *) Add the ability to cross compile APR. [Graham Leggett]

  *) While cross-compiling, the tools/gen_test_char could not
     be executed at build time, use AX_PROG_CC_FOR_BUILD to
     build native tools/gen_test_char

     Support explicit libtool by variable assigning before buildcheck.sh,
     it is helpful for cross-compiling (such as libtool=aarch64-linux-libtool)
     [Hongxu Jia <hongxu.jia windriver.com>]

  *) Avoid an overflow on 32 bit platforms. [René Hjortskov Nielsen
     <r... hjortskov.dk>]

  *) Use AC_CHECK_SIZEOF, so as to support cross compiling. PR 56053.
     [Mike Frysinger <vapier gentoo.org>]

  *) Add --tag=CC to libtool invocations. PR 62640. [Michael Osipov]

  *) apr_pools: Fix pool debugging output so that creation events are
     always emitted before allocation events and subpool destruction
     events are emitted on pool clear/destroy for proper accounting.
     [Brane Čibej]

  *) apr_socket_listen: Allow larger listen backlog values on Windows 8+.
     [Evgeny Kotkov <evgeny.kotkov visualsvn.com>]

  *) Fixed: apr_get_oslevel() was returning APR_WIN_XP on Windows 10

  *) Fix attempt to free invalid memory on exit when apr_app is used
     on Windows. [Ivan Zhakov]

  *) Fix double free on exit when apr_app is used on Windows. [Ivan Zhakov]

  *) Fix a regression in apr_stat() for root path on Windows. [Ivan Zhakov]

Dropped patches have all been merged, addressed separately or are backports.

(From OE-Core rev: c291aefb531431b9a256740766dcb03cbdf84481)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 3ffae93f24bb1e3954b232099153fd059cfd7daf)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
(cherry picked from commit e5326ea0ac7e55b2d671a27c1e035c43b8bbc70d)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-24 16:41:46 +00:00
Alexander Kanavin
ffa37959e8 lttng-tools: update 2.13.8 -> 2.13.9
2023-01-13 (National Sticker Day) LTTng modules 2.13.8
	* fix: jbd2: use the correct print format
	* Fix: in_x32_syscall was introduced in v4.7.0
	* Explicitly skip tracing x32 system calls
	* fix: kallsyms wrapper on ppc64el
	* fix: Adjust ranges for RHEL 8.6 kernels
	* fix: kvm-x86 requires CONFIG_KALLSYMS_ALL
	* fix: mm/slab_common: drop kmem_alloc & avoid dereferencing fields when not using (v6.1)

Drop determinism.patch as issue resolved upstream via linked ticket.

(From OE-Core rev: b2fecaaa59b29bae9c610195d1aa5be6c1878435)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit cd9e72a390efb778a6278e2e6c9604ab29d6feb9)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
(cherry picked from commit 812fb8f02b25bfd30f6d9640cf3b50131d68e0b1)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-24 16:41:46 +00:00
Alexander Kanavin
1eeda313f6 diffutils: update 3.8 -> 3.9
NEWS

* Noteworthy changes in release 3.9 (2023-01-15) [stable]

** Bug fixes

  diff -c and -u no longer output incorrect timezones in headers
  on platforms like Solaris where struct tm lacks tm_gmtoff.
  [bug#51228 introduced in 3.4]

Drop patch as issue fixed upstream.

(From OE-Core rev: 686bb89d7553f48c029b6f6d79c88304f2dc0c55)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit e5ec5de7217de28bccf3243496df6b41ca8a1d0b)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
(cherry picked from commit 6bf52987a82370a1353399a480271a76237e7619)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-24 16:41:46 +00:00
Rodolfo Quesada Zumbado
2a00f15354 tar: CVE-2022-48303
Fixes CVE-2022-48303 by checking Base-256 encoding is at least
2 bytes long. GNU Tar through 1.34 has a one-byte out-of-bounds
read that results in use of uninitialized memory for a conditional
jump. Exploitation to change the flow of control has not been
demonstrated. The issue occurs in from_header in list.c via a
V7 archive in which mtime has approximately 11 whitespace characters.

Reference:
https://nvd.nist.gov/vuln/detail/CVE-2022-48303

Upstream patch:
https://savannah.gnu.org/bugs/?62387
https://git.savannah.gnu.org/cgit/tar.git/patch/src/list.c?id=3da78400eafcccb97e2f2fd4b227ea40d794ede8

(From OE-Core rev: 231360a55bf1b96d6bb1cf94820b08788677c58b)

Signed-off-by: Rodolfo Quesada Zumbado <rodolfo.zumbado@windriver.com>
Signed-off-by: Joe Slater <joe.slater@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-24 16:41:46 +00:00
Martin Jansa
6505459809 bitbake: fetch2/git: show SRCREV and git repo in error message about fixed SRCREV
* in recipe with 17 git repos in SRC_URI I've accidentally pasted one SRCREV to
  be one character shorter and because fetcher uses:
    if not ud.revisions[name] or len(ud.revisions[name]) != 40  or (False in [c in "abcdef0123456789" for c in ud.revisions[name]]):
  to decide which SRCREV values are fixed SRCREVs this one was
  considered as tag or branch name, because it was only 39 chars long

  The original error message wasn't very helpful as it doesn't show
  which repo or which SRCREV was considered missing:

  do_fetch: Bitbake Fetcher Error: FetchError("Recipe uses a floating tag/branch without a fixed SRCREV yet doesn't call bb.fetch2.get_srcrev() (use SRCPV in PV for OE).", None)

  with SRCPV included in PV as error recomments it's a bit better:

  bb.data_smart.ExpansionError: Failure expanding variable SRCPV, expression was ${@bb.fetch2.get_srcrev(d)} which triggered exception FetchError: Fetcher failure: Unable to resolve '0a92994d729ff76a58f692d3028ca1b64b145d9' in upstream git repository in git ls-remote output for github.com/Maratyszcza/FP16
  The variable dependency chain for the failure is: SRCPV -> PV -> WORKDIR -> T

  with this change the first error will read:

  do_fetch: Bitbake Fetcher Error: FetchError("Recipe uses a floating tag/branch '0a92994d729ff76a58f692d3028ca1b64b145d9' for repo 'github.com/Maratyszcza/FP16' without a fixed SRCREV yet doesn't call bb.fetch2.get_srcrev() (use SRCPV in PV for OE).", None)

(Bitbake rev: 9bbdedc0ba7ca819b898e2a29a151d6a2014ca11)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-23 22:23:07 +00:00
Michael Opdenacker
f85edc197e dev-manual: common-tasks.rst: add link to FOSDEM 2023 video
(From yocto-docs rev: 16ecbe028f2b9cc021267817a5413054e070b563)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
CC: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-23 12:18:34 +00:00
Steve Sakoman
511507f0ce system-requirements.rst: add Fedora 36 and AlmaLinux 8.7 to list of supported distros
(From yocto-docs rev: 0a1257860ed41d526856dc71b36e7f96155c0844)

Signed-off-by: Steve Sakoman <steve@sakoman.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-23 08:17:02 +00:00
Steve Sakoman
b3dc6fe286 poky.conf: Update SANITY_TESTED_DISTROS to match autobuilder
The autobuilder workers change over time, update the sanity testing list
to match the current autobuilder workers OS list.

(From meta-yocto rev: b662ed3d7a40d7c96f67b8a2337fd1eaa3f179a9)

Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-22 11:22:24 +00:00
Schmidt, Adriaan
9940cd4d8d bitbake: bitbake-diffsigs: break on first dependent task difference
compare_sigfiles() recursively calculates differences on all dependent
tasks with changed hashes. This is done in arbitrary/alphabetical order, and
only the last of those results is returned, while everything else is discarded.

This changes the behavior to instead return the first difference and not calculate
any more, which significantly speeds up diffs of tasks with many dependencies.

(Bitbake rev: 89f13cd4a927a73de98998c27082c63b07671525)

Signed-off-by: Adriaan Schmidt <adriaan.schmidt@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit ea6a676c9aa2864c2eff40eea41ba09ce903a651)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-17 15:05:08 +00:00
Marius Kriegerowski
f0d06b5563 bitbake: bitbake-diffsigs: Make PEP8 compliant
This ignores flake8 rules:
  * E402 module level import not at top of file
  * E501 line too long

(Bitbake rev: 60e05043f83c73a34cd154193e5c40d18a3ed3db)

Signed-off-by: Marius Kriegerowski <marius.kriegerowski@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit e8b176de448dc387c7a578c92b52aef28591038f)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-17 15:05:08 +00:00
Mark Hatle
9627263689 bitbake: utils/ply: Update md5 to better report errors with hashlib
In the case where hashlib is not available, the try would fail and fall
through resulting in a backtrace on the usage of the 'sig'.  The backtrace
itself was confusing and made it difficult to determine what went wrong.

Update the import to be in it's own try block with an appropriate
message to indicate what went wrong.

Note, the current version of ply all of this code has been restructured
so this is not applicable upstream.

Additionally, some versions of hashlib don't appear to implement the
second FIPS related argument.  Detect this and support both versions.

(Bitbake rev: d26ed38c233583b35ad1451e521f07d9c2329f4e)

Signed-off-by: Mark Hatle <mark.hatle@amd.com>
Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
(cherry picked from commit 484ab42f440070c0369b81f5c69da860fa47a798)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-17 15:05:08 +00:00
Etienne Cordonnier
b643d2bc17 bitbake: siggen: Fix inefficient string concatenation
As discussed in https://stackoverflow.com/a/4435752/1710392 , CPython
has an optimization for statements in the form "a = a + b" or "a += b".
It seems that this line does not get optimized, because it has a form a = a + b + c:
data = data + "./" + f.split("/./")[1]

For that reason, it does a copy of data for each iteration, potentially copying megabytes
of data for each iteration.

Changing this line causes SignatureGeneratorBasic::get_taskhash to take 0.06 seconds
instead of 45 seconds on my test setup where SRC_URI points to a big directory.

Note that PEP8 recommends explicitely not to use this optimization which is specific to CPython:
"do not rely on CPython’s efficient implementation of in-place string concatenation for statements in the form a += b or a = a + b"

However, the PEP8 recommended form using "join()" also does not avoid the copy and takes 45 seconds in my test setup:
data = ''.join((data, "./", f.split("/./")[1]))

I have changed the other lines to also use += for consistency only, however those were in the form a = a + b
and were optimized already.

Co-authored-by: JJ Robertson <jrobertson@snap.com>
(Bitbake rev: 590ae6fde9da75db3a368e5c0d47920696c33ebf)

Signed-off-by: Etienne Cordonnier <ecordonnier@snap.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 195750f2ca355e29d51219c58ecb2c1d83692717)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-17 15:05:08 +00:00
Mikko Rapeli
a6623b4969 oeqa context.py: fix --target-ip comment to include ssh port number
Providing ssh port number is supported too with
"--target-ip 192.168.0.10:22".

(From OE-Core rev: 54c30e509074073b99a7a8890482ba1af2abbab9)

Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 637919b9df0abc06da5b2f9b389cf25376bd6b7c)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-15 21:46:56 +00:00
Ulrich Ölmann
9f8e335aea lsof: fix old override syntax
(From OE-Core rev: df20b7539b11140ac33eb2f45301b4db85d1ccae)

Signed-off-by: Ulrich Ölmann <u.oelmann@pengutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 052f767f85eddab9b6e5d78268d2732f4a65d446)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-15 21:46:56 +00:00
Ulrich Ölmann
8c2294a655 recipe_sanity: fix old override syntax
(From OE-Core rev: 381fcdba555d0b56fcd4525d82bec851b3da95ec)

Signed-off-by: Ulrich Ölmann <u.oelmann@pengutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 18eeea6fcd8ade49390a978134f51646da2f7764)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-15 21:46:56 +00:00
Harald Seiler
e08d3a4ff9 bootchart2: Fix usrmerge support
bootchart2 introduced a variable EARLY_PREFIX for supporting systems
with usrmerge [1].  Right now, the recipe here is sidestepping this
feature and trying to replicate it by overwriting other variables and
even patching the sources.  This wasn't enough, however, as there are
still problems:  For example, some setup code in the bootchart-collector
fails because it expects EARLY_PREFIX to be used [2].

Cleanup the recipe to set EARLY_PREFIX and remove the other workarounds.

[1]: 56a638ace1
[2]: 3d2136d033/collector/collector.c (L670-L672)

Fixes: 4157600d31 ("bootchart2: switch to add patch from change source in do_install")
(From OE-Core rev: 5d2e5abd098ae0b4f904cd7270daa1eb61708fa6)

Signed-off-by: Harald Seiler <hws@denx.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 7031bc65b10040877392ed774a0cdddef85c12e0)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-15 21:46:56 +00:00
Richard Purdie
b06c7eac7a libc-locale: Fix on target locale generation
If on target locale generation is used, it fails at first boot showing
errors about a missing directory. Ensure the directory exists.

(From OE-Core rev: 258115c2a7d78f0416f952122c9448a805dab08f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f2844c9f1bbb729562063d96a3d1cc9d44dafa0a)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-15 21:46:56 +00:00
Alejandro Hernandez Samaniego
a05eb327e1 testimage: Fix error message to reflect new syntax
(From OE-Core rev: 03eced200a69ee64cb0efdca164e0d287314beac)

Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandro@enedino.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit ec73d19d78e8f30ff9b817490c23bcdf8ea47c86)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-15 21:46:56 +00:00
Louis Rannou
c30a4e5a04 oeqa/selftest/locales: Add selftest for locale generation/presence
[YOCTO #9070]

Add a new selftest to validate locale generation. This selftest builds a
complete target with GLIBC_GENERATE_LOCALES, IMAGE_LINGUAS,
ENABLE_BINARY_LOCALE_GENERATION set.

(From OE-Core rev: 7b7a03a5cd8a5c14918f56e4dc00629d0a109a2e)

Signed-off-by: Louis Rannou <lrannou@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 53258fd810bea6475af9f908f7b712a13a02b628)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-15 21:46:56 +00:00
Changqing Li
2bc0220290 apt: fix do_package_qa failure
bitbake nativesdk-apt failed with error:
ERROR: nativesdk-apt-2.4.5-r0 do_package_qa: QA Issue: nativesdk-apt installs files in /usr/local/oe-sdk-hardcoded-buildpath/sysroots/x86_64-pokysdk-linux/var/volatile, but it is expected to be empty [empty-dirs]

an empty dir apt is installed under /var/log/, fix the failure
by removing the empty dir apt as what we have done for target.
apt will create it when it does not exist.

(From OE-Core rev: a7b4578296d584b53ae156cb23dbe5d2e0591569)

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 5b035a59d7915da784f1e6678ee130f30d7ceb8a)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-15 21:46:56 +00:00
Martin Jansa
54d0147307 meta: remove True option to getVar and getVarFlag calls (again)
* True is default since 2016 and most layers were already updated
  not to pass this parameter where not necessary, e.g. oe-core was
  updated couple times, first in:
  https://git.openembedded.org/openembedded-core/commit/?id=7c552996597faaee2fbee185b250c0ee30ea3b5f

  Updated with the same regexp as later oe-core update:
  https://git.openembedded.org/openembedded-core/commit/?id=9f551d588693328e4d99d33be94f26684eafcaba

  with small modification to replace not only d.getVar, but also data.getVar as in e.g.:
  e.data.getVar('ERR_REPORT_USERNAME', True)

  and for getVarFlag:
  sed -e 's|\(d\.getVarFlag \?\)( \?\([^,()]*, \?[^,()]*\), \?True)|\1(\2)|g' \
      -i $(git grep -E 'getVarFlag ?\( ?([^,()]*), ?([^,()]*), ?True\)' \
          | cut -d':' -f1 \
          | sort -u)

(From OE-Core rev: de7bf6689a19dc614ce4b39c84ffd825bee1b962)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 26c74fd10614582e177437608908eb43688ab510)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
(cherry picked from commit 24a86d0c55ee89ae0dc77975e1d0ee02898d2289)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-15 21:46:56 +00:00
Mingli Yu
f8183e4c6f glslang: branch rename master -> main
Branch name is changed from master to main.

(From OE-Core rev: 04b7643cda2c6d82b017767a537e53ce69a7703a)

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 65ee4c1067ee5d73c198eed8ed2f1c9a60d5df96)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-15 21:46:56 +00:00
Ross Burton
b20ea2780f httpserver: add error handler that write to the logger
(From OE-Core rev: dcf1dfc053c058a5e03051320845e278b9f81b75)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit a4bcca3123685f410fc99e5cc23f2b8f39fd0a63)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-15 21:46:56 +00:00
Ross Burton
7a94746939 sdkext/cases/devtool: pass a logger to HTTPService
Pass our logger to the HTTPService instance so we can see the requests
and any errors.

(From OE-Core rev: 032b0a834b7b1583d3d2bd4ac55414583ce8dfdc)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 3485df2ff61143aac03d92300b7bac4e5d6b2427)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-15 21:46:56 +00:00
Alexander Kanavin
58c692d246 oeqa/qemurunner: do not use Popen.poll() when terminating runqemu with a signal
This does not actually guarantee that the child runqemu process has completely exited:
poll() may return prematurely while the SIGTERM handler in runqemu is still running.
This thwarts the rest of the processing, and may terminate the handler before
it completes.

Use Popen.communicate() instead: this is what python documentation recommends as well:
https://docs.python.org/3/library/subprocess.html#subprocess.Popen.communicate

(From OE-Core rev: 88e7bac0f06d4f12cd6f078d37e4e9975871860f)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit cd3e55606c427287f37585c5d7cde936471e52f4)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-15 21:46:56 +00:00
Khem Raj
d2c1494bbf scons.bbclass: Make MAXLINELENGTH overridable
older scons do not support MAXLINELENGTH and some packages still may be
using older scons, these recipes can clear SCONS_MAXLINELENGTH in them
and get going. Set

SCONS_MAXLINELENGTH = ""

in such recipes.

(From OE-Core rev: b4eaa248077305b75c551acb94223dbc524fc7a3)

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 34de57d12c0a752f66c962d29e5335c1035db066)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-15 21:46:56 +00:00
Khem Raj
9eec094d2e scons: Pass MAXLINELENGTH to scons invocation
This helps in overcoming a problem when using scons with ccache enabled.
When commands get longer, then it resorts to using response files to do
the operations e.g. @/tmp/tmp96j6icra.lnk when this response file is
inboked by compiler it works ok, however, this does not when ccache is
used to invoke the complilation. We see errors e.g.

ccache @/tmp/tmppsyij_0v.lnk
ccache: error: execute_noreturn of @/tmp/tmppsyij_0v.lnk failed: No such file or directory

Using MAXLINELENGTH setting ensures that we can use ARG_MAX to extend
the length of commandline and hence avoid using response files. This
issue is also reported in mongodb [1]

[1] https://jira.mongodb.org/browse/SERVER-38389

(From OE-Core rev: b0e7777a911e236bda76e90258098057ed355953)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 29558f6218f4676b459f2c78f82d245339d51c8c)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-15 21:46:56 +00:00
Richard Purdie
69ef8ccae5 make-mod-scripts: Ensure kernel build output is deterministic
The definitions in linux-kernel-base are needed to ensure the generated headers
are consistent. This was a small step that was missing from the previous
changes to linux-kernel-base as both kernel-devsrc and make-mod-scripts
need this information defined consistently.

(From OE-Core rev: 5fbe4dd7dc45f8f219d5c7cd30b50928b69af26d)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 0d79d4883f924cef0d0ba361506ad75d441b9721)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-15 21:46:56 +00:00
Alexander Kanavin
60933752c0 gdk-pixbuf: do not use tools from gdk-pixbuf-native when building tests
The patch that allows to do so has not been accepted upstream, and wasn't correctly
working as it was running a native executable (gdk-pixbuf-query-loaders) with target .so plugins.

On the other hand, out of 20+ (currently 23) tests only three require
running binaries at build time to produce special test-specific input data:

cve-2015-4491
pixbuf-pixdata
pixbuf-resource

So let's simply omit these from the build: this can be done with a far
less invasive patch which has a chance of being accepted upstream.

gdk-pixbuf-print-mime-types is no longer installed
(the replaced patch was doing that).

(From OE-Core rev: d54e9eaff911fe834e3290a40924c7b3ca066216)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 0d926508e75095eb446699b612729d0243eacc91)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-15 21:46:56 +00:00
Pawel Zalewski
73aa76f3a1 classes/fs-uuid: Fix command output decoding issue
The default return value from subprocess.check_output is an encoded byte.
The applied fix will decode the value to a string.

(From OE-Core rev: ffa1de16fa82fbe7dfbed4c5ae0fc4e6d51e7ff3)

Signed-off-by: Pawel Zalewski <pzalewski@thegoodpenguin.co.uk>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 046769fa952a511865c416b80d10af6287147fb7)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-15 21:46:56 +00:00
Richard Purdie
e68aecd2a4 kernel/linux-kernel-base: Fix kernel build artefact determinism issues
With the 6.1 kernel we've seen reproducibility/determinism issues where the kernel
seems to rebuild headers referencing the hostname or local user. kernel-devsrc
building after the kernel seemed to trigger it in some cases.

Moving the definitions to the bbclass used by all the kernel recipe code including
kernel-devsrc seems to be the best way to ensure this doesn't happen.

(From OE-Core rev: 4c302827365903b99a517651c2a14661ce78f79b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 60681baa97daf4f3856453c34d6be08b6771a81b)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-15 21:46:56 +00:00
Ross Burton
50ee9f9c4e buildtools-tarball: set pkg-config search path
The buildtools-tarball includes a native sysroot with .pc files, and
in the case of buildtools-extended-tarball a pkg-config binary too.

If we're using the host pkg-config then it doesn't know to search in the
native sysroot.  If we're using our pkg-config then it searches in the
build-time prefix and not the actual SDK installation location.

Neither of these are correct, so set PKG_CONFIG_LIBDIR to search:
- The native sysroot
- The host pkg-config's default search path, if present
- Falling back to /usr/lib/pkgconfig, if not

In an ideal world this would be handled by the generic toolchain script,
but that is slightly more involved.

[ YOCTO #15007 ]

(From OE-Core rev: 9a110453f6b4b2c2d86af4ae20860037796a284d)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 8f768a3f4c7ff477e994d60800e5a1b83891615a)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-15 21:46:56 +00:00
Alexander Kanavin
a2b90bf37e vulkan-samples: branch rename master -> main
(From OE-Core rev: 986af8c9ae9d2cab0bc0376757f40b096448ae2a)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 74bf535ca5cbcfb38c18775ece863d53dd216008)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-15 21:46:56 +00:00
Bruce Ashfield
46875378fa linux-yocto/5.15: update to v5.15.91
Updating  to the latest korg -stable release that comprises
the following commits:

    9cf4111cdf94 Linux 5.15.91
    14cc13e433e1 perf/x86/amd: fix potential integer overflow on shift of a int
    033636b32258 netfilter: conntrack: unify established states for SCTP paths
    0b08201158f1 x86/i8259: Mark legacy PIC interrupts with IRQ_LEVEL
    b57740036792 block: fix and cleanup bio_check_ro
    1d152437e46f kbuild: Allow kernel installation packaging to override pkg-config
    a1964688582d cpufreq: governor: Use kobject release() method to free dbs_data
    7c513ced0dec cpufreq: Move to_gov_attr_set() to cpufreq.h
    cf7a08622d2b Revert "Input: synaptics - switch touchpad on HP Laptop 15-da3001TU to RMI mode"
    53c5d61198c1 tools: gpio: fix -c option of gpio-event-mon
    a7d1a303ff0f treewide: fix up files incorrectly marked executable
    046fe53907c5 net: mdio-mux-meson-g12a: force internal PHY off on mux switch
    86bdccde7842 net/tg3: resolve deadlock in tg3_reset_task() during EEH
    4364bf79d829 thermal: intel: int340x: Add locking to int340x_thermal_get_trip_type()
    e69c3a0d9d3d net: mctp: mark socks as dead on unhash, prevent re-add
    954cc215cd7a net: ravb: Fix possible hang if RIS2_QFF1 happen
    0f7218bf0a00 net: ravb: Fix lack of register setting after system resumed for Gen3
    3db4ca2938eb ravb: Rename "no_ptp_cfg_active" and "ptp_cfg_active" variables
    621f296f11cf gpio: mxc: Unlock on error path in mxc_flip_edge()
    071a8392869f nvme: fix passthrough csi check
    614471b7f7cd riscv/kprobe: Fix instruction simulation of JALR
    3391bd42351b sctp: fail if no bound addresses can be used for a given scope
    b0784860e145 net/sched: sch_taprio: do not schedule in taprio_reset()
    d2d3ab1b1de3 netrom: Fix use-after-free of a listening socket.
    9df5ab02c65e netfilter: conntrack: fix vtag checks for ABORT/SHUTDOWN_COMPLETE
    ca3cf947760d ipv4: prevent potential spectre v1 gadget in fib_metrics_match()
    d50e7348b44f ipv4: prevent potential spectre v1 gadget in ip_metrics_convert()
    ead06e3449f2 netlink: annotate data races around sk_state
    c4eb423c6b9b netlink: annotate data races around dst_portid and dst_group
    fac9b69a9370 netlink: annotate data races around nlk->portid
    8a13595600f7 netfilter: nft_set_rbtree: skip elements in transaction from garbage collection
    2bf1435fa19d netfilter: nft_set_rbtree: Switch to node list walk for overlap detection
    e481654426b6 drm/i915/selftest: fix intel_selftest_modify_policy argument types
    66689a72ba73 net: fix UaF in netns ops registration error path
    41b74e95f297 netlink: prevent potential spectre v1 gadgets
    2f29d780bd69 i2c: designware: use casting of u64 in clock multiplication to avoid overflow
    b03f7ed9af6e scsi: ufs: core: Fix devfreq deadlocks
    858d7e9218e1 net: mana: Fix IRQ name - add PCI and queue number
    bff5243bd326 EDAC/qcom: Do not pass llcc_driv_data as edac_device_ctl_info's pvt_info
    5eedf4568d34 EDAC/device: Respect any driver-supplied workqueue polling value
    4b7dfd0a6811 ARM: 9280/1: mm: fix warning on phys_addr_t to void pointer assignment
    7807871f28f8 ipv6: fix reachability confirmation with proxy_ndp
    f9a22f6fa187 thermal: intel: int340x: Protect trip temperature from concurrent updates
    036093c08d83 KVM: arm64: GICv4.1: Fix race with doorbell on VPE activation/deactivation
    c56683c0623e KVM: x86/vmx: Do not skip segment attributes if unusable bit is set
    e91308e63710 ovl: fail on invalid uid/gid mapping at copy up
    33a9657d67a4 ksmbd: limit pdu length size according to connection status
    8d83a758ee21 ksmbd: downgrade ndr version error message to debug
    87a7f38a9058 ksmbd: do not sign response to session request for guest login
    4210c3555db4 ksmbd: add max connections parameter
    cc6742b160fa ksmbd: add smbd max io size parameter
    3c8a5648a591 i2c: mv64xxx: Add atomic_xfer method to driver
    e619ab4fb3e9 i2c: mv64xxx: Remove shutdown method from driver
    4b83bc6f87ee cifs: Fix oops due to uncleared server->smbd_conn in reconnect
    89042d3d8542 ftrace/scripts: Update the instructions for ftrace-bisect.sh
    592ba7116fa6 trace_events_hist: add check for return value of 'create_hist_field'
    b0af180514ed tracing: Make sure trace_printk() can output as soon as it can be used
    91135d723388 module: Don't wait for GOING modules
    85ee9919add9 KVM: SVM: fix tsc scaling cache logic
    f0227eca972c scsi: hpsa: Fix allocation size for scsi_host_alloc()
    e5af9a458a13 drm/amdgpu: complete gfxoff allow signal during suspend without delay
    62b9e9f92109 Bluetooth: hci_sync: cancel cmd_timer if hci_open failed
    21998acd31fb exit: Use READ_ONCE() for all oops/warn limit reads
    e82b1598eb2c docs: Fix path paste-o for /sys/kernel/warn_count
    1c51698ad6f6 panic: Expose "warn_count" to sysfs
    0691ddae56cd panic: Introduce warn_limit
    7b98914a6c26 panic: Consolidate open-coded panic_on_warn checks
    fc636b136272 exit: Allow oops_limit to be disabled
    339f8a8e5211 exit: Expose "oops_count" to sysfs
    f80fb0001f11 exit: Put an upper limit on how often we can oops
    2857ce7f475f panic: Separate sysctl logic from CONFIG_SMP
    e156d4dcb036 ia64: make IA64_MCA_RECOVERY bool instead of tristate
    9024f772248e csky: Fix function name in csky_alignment() and die()
    2ea497d153da h8300: Fix build errors from do_exit() to make_task_dead() transition
    a452ca0228bb hexagon: Fix function name in die()
    3b39f47474a2 objtool: Add a missing comma to avoid string concatenation
    39a26d872178 exit: Add and use make_task_dead.
    b5c1acaa43b6 kasan: no need to unset panic_on_warn in end_report()
    b5c967dc6822 ubsan: no need to unset panic_on_warn in ubsan_epilogue()
    e4cd2100324e panic: unset panic_on_warn inside panic()
    191f1f1f6a42 kernel/panic: move panic sysctls to its own file
    654f6e851271 sysctl: add a new register_sysctl_init() interface
    3aa991cde94b fs: reiserfs: remove useless new_opts in reiserfs_remount
    d830531f8fff x86: ACPI: cstate: Optimize C3 entry on AMD CPUs
    1f5476223100 drm/i915: Remove unused variable
    6e1012709320 Revert "selftests/bpf: check null propagation only neither reg is PTR_TO_BTF_ID"
    619ee31b9641 drm/i915: Allow switching away via vga-switcheroo if uninitialized
    ea435ba9eb85 firmware: coreboot: Check size of table entry and use flex-array
    a4e70bcf2e87 lockref: stop doing cpu_relax in the cmpxchg loop
    b0ee61f5eeab platform/x86: asus-nb-wmi: Add alternate mapping for KEY_SCREENLOCK
    e8d2f7f56691 platform/x86: touchscreen_dmi: Add info for the CSL Panther Tab HD
    2e0a8bacbe1d r8152: add vendor/device ID pair for Microsoft Devkit
    d4b717e34dac scsi: hisi_sas: Set a port invalid only if there are no devices attached when refreshing port id
    e15750aa28a6 KVM: s390: interrupt: use READ_ONCE() before cmpxchg()
    9300c65207f3 spi: spidev: remove debug messages that access spidev->spi without locking
    48ff5d381298 ASoC: fsl-asoc-card: Fix naming of AC'97 CODEC widgets
    5001ffb31d63 ASoC: fsl_ssi: Rename AC'97 streams to avoid collisions with AC'97 CODEC
    b76120e20683 cpufreq: armada-37xx: stop using 0 as NULL pointer
    eda26fa8560d perf/x86/intel/uncore: Add Emerald Rapids
    544f9d4e9d8a perf/x86/msr: Add Emerald Rapids
    b1eb964d785f s390: expicitly align _edata and _end symbols on page boundary
    fb45ec279b00 s390/debug: add _ASM_S390_ prefix to header guard
    cd488abed97e drm: Add orientation quirk for Lenovo ideapad D330-10IGL
    ff7ab370b855 net: usb: cdc_ether: add support for Thales Cinterion PLS62-W modem
    d6935084e444 ASoC: fsl_micfil: Correct the number of steps on SX controls
    ac07316b2d57 cpufreq: Add SM6375 to cpufreq-dt-platdev blocklist
    f0e6dcae1491 kcsan: test: don't put the expect array on the stack
    c51c0b37543a cpufreq: Add Tegra234 to cpufreq-dt-platdev blocklist
    28e4e8ca9e95 scsi: iscsi: Fix multiple iSCSI session unbind events sent to userspace
    14b1df2004fe tcp: fix rate_app_limited to default to 1
    120b8e527e07 net: stmmac: enable all safety features by default
    a7d736cc3c6c thermal: core: call put_device() only after device_register() fails
    ed08f958e481 thermal/core: fix error code in __thermal_cooling_device_register()
    108a6f91e276 thermal: Validate new state in cur_state_store()
    bd0ea77edf46 thermal/core: Rename 'trips' to 'num_trips'
    521c6ebd4f6e thermal/core: Remove duplicate information when an error occurs
    6504afa2632a net: dsa: microchip: ksz9477: port map correction in ALU table entry register
    18346db1854a selftests/net: toeplitz: fix race on tpacket_v3 block close
    caa28c7c83e3 driver core: Fix test_async_probe_init saves device in wrong array
    89c62cee5d4d w1: fix WARNING after calling w1_process()
    3d0eafe413a7 w1: fix deadloop in __w1_remove_master_device()
    7701a4bd45c1 device property: fix of node refcount leak in fwnode_graph_get_next_endpoint()
    ed0d8f731e0b ptdma: pt_core_execute_cmd() should use spinlock
    29e9c67bf327 octeontx2-pf: Fix the use of GFP_KERNEL in atomic context on rt
    03bff5819ad3 tcp: avoid the lookup process failing to get sk in ehash table
    5bd69d2ea897 nvme-pci: fix timeout request state check
    39178dfe8677 drm/amd/display: fix issues with driver unload
    9a5a537e1444 phy: phy-can-transceiver: Skip warning if no "max-bitrate"
    4095065b59bc dmaengine: xilinx_dma: call of_node_put() when breaking out of for_each_child_of_node()
    5bd3c1c1bce1 cifs: fix potential deadlock in cache_refresh_path()
    1a2a47b85cab HID: betop: check shape of output reports
    b2a730974373 l2tp: prevent lockdep issue in l2tp_tunnel_register()
    edf0e509cedd virtio-net: correctly enable callback during start_xmit
    d3401c7624ec net: macb: fix PTP TX timestamp failure due to packet padding
    71c601965532 dmaengine: Fix double increment of client_count in dma_chan_get()
    1e7919f0b156 drm/panfrost: fix GENERIC_ATOMIC64 dependency
    a1b3e50e2140 net: mlx5: eliminate anonymous module_init & module_exit
    09e3fb6f53bc net/mlx5: E-switch, Fix setting of reserved fields on MODIFY_SCHEDULING_ELEMENT
    01a6e108101f net: ipa: disable ipa interrupt during suspend
    98aec50ff7f6 Bluetooth: Fix possible deadlock in rfcomm_sk_state_change
    0e59f60b74cd usb: gadget: f_fs: Ensure ep0req is dequeued before free_request
    ae8e136bcaae usb: gadget: f_fs: Prevent race during ffs_ep0_queue_wait
    f25cd2b731d7 HID: revert CHERRY_MOUSE_000C quirk
    39483511fd59 pinctrl: rockchip: fix mux route data for rk3568
    1dae88a0b4df net: stmmac: fix invalid call to mdiobus_get_phy()
    6716838bf801 HID: check empty report_list in bigben_probe()
    2b4956825436 HID: check empty report_list in hid_validate_values()
    ad67de330d83 net: mdio: validate parameter addr in mdiobus_get_phy()
    486912937933 net: usb: sr9700: Handle negative len
    2827c4eb429d octeontx2-pf: Avoid use of GFP_KERNEL in atomic context
    77e8ed776cdb l2tp: close all race conditions in l2tp_tunnel_register()
    af22d2c0b47f l2tp: convert l2tp_tunnel_list to idr
    22c7d45ca3d7 l2tp: Don't sleep and disable BH under writer-side sk_callback_lock
    87d9205d9a57 l2tp: Serialize access to sk_user_data with sk_callback_lock
    c53acbf2facf net/sched: sch_taprio: fix possible use-after-free
    40516d042b65 net: stmmac: Fix queue statistics reading
    620aa67f8059 pinctrl: rockchip: fix reading pull type on rk3568
    ddca674af1ba pinctrl/rockchip: add error handling for pull/drive register getters
    259ab8fb8c7e pinctrl/rockchip: Use temporary variable for struct device
    8cbf932c5c40 wifi: rndis_wlan: Prevent buffer overflow in rndis_query_oid
    f792d26e5ce7 gpio: mxc: Always set GPIOs used as interrupt source to INPUT mode
    8335f877efe7 gpio: mxc: Protect GPIO irqchip RMW with bgpio spinlock
    fb4fb3d267c9 gpio: use raw spinlock for gpio chip shadowed data
    52e3eebfe670 sch_htb: Avoid grafting on htb_destroy_class_offload when destroying htb
    8232e5a84d25 net: enetc: avoid deadlock in enetc_tx_onestep_tstamp()
    95347e41cac6 net: wan: Add checks for NULL for utdm in undo_uhdlc_init and unmap_si_regs
    7f129927feaf net: nfc: Fix use-after-free in local_cleanup()
    397aaac88469 phy: rockchip-inno-usb2: Fix missing clk_disable_unprepare() in rockchip_usb2phy_power_on()
    01bdcc73dbe7 bpf: Fix pointer-leak due to insufficient speculative store bypass mitigation
    261e2f12b653 amd-xgbe: Delay AN timeout during KR training
    a8cf4af5441f amd-xgbe: TX Flow Ctrl Registers are h/w ver dependent
    8e897cb67421 ARM: dts: at91: sam9x60: fix the ddr clock for sam9x60
    0a27dcd53430 NFSD: fix use-after-free in nfsd4_ssc_setup_dul()
    24af570c99b4 phy: ti: fix Kconfig warning and operator precedence
    631fc3668539 arm64: dts: qcom: msm8992-libra: Fix the memory map
    dda20ffec8fb arm64: dts: qcom: msm8992-libra: Add CPU regulators
    37ba5e929349 arm64: dts: qcom: msm8992: Don't use sfpb mutex
    bab87524f6d4 PM: AVS: qcom-cpr: Fix an error handling path in cpr_probe()
    b7a479c76481 affs: initialize fsdata in affs_truncate()
    623d1116898e IB/hfi1: Remove user expected buffer invalidate race
    47d5fc0dcd57 IB/hfi1: Immediately remove invalid memory from hardware
    85caef2cfd1d IB/hfi1: Fix expected receive setup error exit issues
    cb193984d424 IB/hfi1: Reserve user expected TIDs
    891ddfae39f1 IB/hfi1: Reject a zero-length user expected buffer
    362c9489720b RDMA/core: Fix ib block iterator counter overflow
    e26c571c3b0d tomoyo: fix broken dependency on *.conf.default
    7dfe83ecc341 firmware: arm_scmi: Harden shared memory access in fetch_notification
    a653dbb70cce firmware: arm_scmi: Harden shared memory access in fetch_response
    caffa7fed139 EDAC/highbank: Fix memory leak in highbank_mc_probe()
    95de286200b2 reset: uniphier-glue: Fix possible null-ptr-deref
    4773a8cf9a53 reset: uniphier-glue: Use reset_control_bulk API
    7b33accc8ff9 soc: imx8m: Fix incorrect check for of_clk_get_by_name()
    f07427f8d9c6 arm64: dts: imx8mm-venice-gw7901: fix USB2 controller OC polarity
    c4cb73febe35 HID: intel_ish-hid: Add check for ishtp_dma_tx_map
    25f97c9883bf ARM: imx: add missing of_node_put()
    3e9d79ded9d6 arm64: dts: imx8mm-beacon: Fix ecspi2 pinmux
    538135076191 ARM: dts: imx6qdl-gw560x: Remove incorrect 'uart-has-rtscts'
    0e4bba1656a4 ARM: dts: imx7d-pico: Use 'clock-frequency'
    108cf4c6d510 ARM: dts: imx6ul-pico-dwarf: Use 'clock-frequency'
    207c9e64edba arm64: dts: imx8mp-phycore-som: Remove invalid PMIC property
    7ce380fe7574 dmaengine: ti: k3-udma: Do conditional decrement of UDMA_CHAN_RT_PEER_BCNT_REG
    edba9b7a7037 memory: mvebu-devbus: Fix missing clk_disable_unprepare in mvebu_devbus_probe()
    e66f6949da63 memory: atmel-sdramc: Fix missing clk_disable_unprepare in atmel_ramc_probe()
    eda11ab55614 memory: tegra: Remove clients SID override programming
    aabd5ba7e9b0 Linux 5.15.90
    4b6f8263e931 io_uring/rw: remove leftover debug statement
    b10acfcd61b2 io_uring/rw: ensure kiocb_end_write() is always called
    124fb13cc757 io_uring: fix double poll leak on repolling
    e944f1e37b97 io_uring: Clean up a false-positive warning from GCC 9.3.0
    940e8922c1f5 mm/khugepaged: fix collapse_pte_mapped_thp() to allow anon_vma
    e83cc8a780e6 soc: qcom: apr: Make qcom,protection-domain optional again
    982c8b1e95c0 Revert "wifi: mac80211: fix memory leak in ieee80211_if_add()"
    40a4797e08ec block: mq-deadline: Rename deadline_is_seq_writes()
    3abf10b4c473 net/mlx5: fix missing mutex_unlock in mlx5_fw_fatal_reporter_err_work()
    1aab00aa4192 net/ulp: use consistent error code when blocking ULP
    2e4c95a404f3 io_uring/net: fix fast_iov assignment in io_setup_async_msg()
    311b298a3337 io_uring: io_kiocb_update_pos() should not touch file for non -1 offset
    487a086595b5 tracing: Use alignof__(struct {type b;}) instead of offsetof()
    430443f8565e x86/fpu: Use _Alignof to avoid undefined behavior in TYPE_ALIGN
    f114717dfa74 Revert "drm/amdgpu: make display pinning more flexible (v2)"
    7a993c1be595 efi: rt-wrapper: Add missing include
    de2af657cab9 arm64: efi: Execute runtime services from a dedicated stack
    9cca110cf8bb fs/ntfs3: Fix attr_punch_hole() null pointer derenference
    d4d112e5c458 drm/amdgpu: drop experimental flag on aldebaran
    c82fa690da7c drm/amd/display: Fix COLOR_SPACE_YCBCR2020_TYPE matrix
    88c33752248e drm/amd/display: Calculate output_color_space after pixel encoding adjustment
    87e605b16111 drm/amd/display: Fix set scaling doesn's work
    8687b8cdc3a3 drm/i915/display: Check source height is > 0
    5d961791663d drm/i915: re-disable RC6p on Sandy Bridge
    e9a7ec188b26 mei: me: add meteor lake point M DID
    eb0421d90f91 gsmi: fix null-deref in gsmi_get_variable
    b8d99cda526b serial: atmel: fix incorrect baudrate setup
    b85498385afc serial: amba-pl011: fix high priority character transmission in rs486 mode
    0f150134dd79 dmaengine: idxd: Let probe fail when workqueue cannot be enabled
    1e8c127c2e81 dmaengine: tegra210-adma: fix global intr clear
    473e2281f712 dmaengine: lgm: Move DT parsing after initialization
    73337724cbd8 serial: pch_uart: Pass correct sg to dma_unmap_sg()
    4307a41cbc44 dt-bindings: phy: g12a-usb3-pcie-phy: fix compatible string documentation
    c9d55f564a69 dt-bindings: phy: g12a-usb2-phy: fix compatible string documentation
    78aa45bb7a42 usb-storage: apply IGNORE_UAS only for HIKSEMI MD202 on RTL9210
    a69c8dfb85b4 usb: gadget: f_ncm: fix potential NULL ptr deref in ncm_bitrate()
    1ab67e87b178 usb: gadget: g_webcam: Send color matching descriptor per frame
    b08167d8f07c usb: typec: altmodes/displayport: Fix pin assignment calculation
    7fb1322e7a8c usb: typec: altmodes/displayport: Add pin assignment helper
    59f9ee379640 usb: typec: tcpm: Fix altmode re-registration causes sysfs create fail
    a1c8a5c2f8aa usb: host: ehci-fsl: Fix module alias
    f073d10cd5a7 usb: cdns3: remove fetched trb from cache before dequeuing
    73f4bde9730f USB: serial: cp210x: add SCALANCE LPE-9000 device id
    a2e075f40122 USB: gadgetfs: Fix race between mounting and unmounting
    2da67bff29ab tty: fix possible null-ptr-defer in spk_ttyio_release
    cb53a3366eb2 tty: serial: qcom-geni-serial: fix slab-out-of-bounds on RX FIFO buffer
    f322dd2e4a1c staging: mt7621-dts: change some node hex addresses to lower case
    6508788b2c3b bpf: restore the ebpf program ID for BPF_AUDIT_UNLOAD and PERF_BPF_EVENT_PROG_UNLOAD
    7b122c33bd31 riscv: dts: sifive: fu740: fix size of pcie 32bit memory
    701f9c3da692 thunderbolt: Use correct function to calculate maximum USB3 link rate
    5b1b03a3d3e4 cifs: do not include page data when checking signature
    64287cd456a2 btrfs: fix race between quota rescan and disable leading to NULL pointer deref
    f2e0e1615d65 btrfs: do not abort transaction on failure to write log tree when syncing log
    f653abe6195c mmc: sdhci-esdhc-imx: correct the tuning start tap and step setting
    9881436f01ce mmc: sunxi-mmc: Fix clock refcount imbalance during unbind
    33bd0db750fc ACPI: PRM: Check whether EFI runtime is available
    87e1ee6058e5 comedi: adv_pci1760: Fix PWM instruction handling
    b5d24a8e4a61 usb: core: hub: disable autosuspend for TI TUSB8041
    61a0890cb95a misc: fastrpc: Fix use-after-free race condition for maps
    1b7b7bb400dd misc: fastrpc: Don't remove map on creater_process and device_release
    e7e41fcf909f USB: misc: iowarrior: fix up header size for USB_DEVICE_ID_CODEMERCS_IOW100
    f3de34d90d90 staging: vchiq_arm: fix enum vchiq_status return types
    16d09c4bc99b USB: serial: option: add Quectel EM05CN modem
    34d769f0c607 USB: serial: option: add Quectel EM05CN (SG) modem
    768d56ed2411 USB: serial: option: add Quectel EC200U modem
    829916f069a7 USB: serial: option: add Quectel EM05-G (RS) modem
    eb8808f769c6 USB: serial: option: add Quectel EM05-G (CS) modem
    6e0430db195e USB: serial: option: add Quectel EM05-G (GR) modem
    f01aefe374d3 prlimit: do_prlimit needs to have a speculation check
    418e2c756d65 xhci: Detect lpm incapable xHC USB3 roothub ports from ACPI tables
    10cb7d53be5f usb: acpi: add helper to check port lpm capability using acpi _DSM
    1818e2a97dab xhci: Add a flag to disable USB3 lpm on a xhci root port level.
    8911ff796336 xhci: Add update_hub_device override for PCI xHCI hosts
    c462ac871f49 xhci: Fix null pointer dereference when host dies
    f39c813af0b6 usb: xhci: Check endpoint is valid before dereferencing it
    0f175cebc46c xhci-pci: set the dma max_seg_size
    89a410dbd0f1 io_uring/rw: defer fsnotify calls to task context
    05d69b372b3b io_uring: do not recalculate ppos unnecessarily
    ff8a070253d9 io_uring: update kiocb->ki_pos at execution time
    b7958caf415b io_uring: remove duplicated calls to io_kiocb_ppos
    86e2d6901a37 io_uring: ensure that cached task references are always put on exit
    30b90689344b io_uring: fix async accept on O_NONBLOCK sockets
    a79b13f24967 io_uring: allow re-poll if we made progress
    3c1a3d02690f io_uring: support MSG_WAITALL for IORING_OP_SEND(MSG)
    390b8816317f io_uring: add flag for disabling provided buffer recycling
    9b7b0f2116d5 io_uring: ensure recv and recvmsg handle MSG_WAITALL correctly
    cdc68e714d0b io_uring: improve send/recv error handling
    ccf06b5a981c io_uring: pass in EPOLL_URING_WAKE for eventfd signaling and wakeups
    77baf39227c0 eventfd: provide a eventfd_signal_mask() helper
    a2d8ff00a7b0 eventpoll: add EPOLL_URING_WAKE poll wakeup flag
    a9aa4aa7a5b2 io_uring: don't gate task_work run on TIF_NOTIFY_SIGNAL
    bd9a23a4bb8a hugetlb: unshare some PMDs when splitting VMAs
    393d9e3ed10c drm/amd: Delay removal of the firmware framebuffer
    865e244e06c7 drm/amdgpu: disable runtime pm on several sienna cichlid cards(v2)
    560373fb1e9a ALSA: hda/realtek: fix mute/micmute LEDs don't work for a HP platform
    26264260a80b ALSA: hda/realtek: fix mute/micmute LEDs for a HP ProBook
    1026756321bd efi: fix userspace infinite retry read efivars after EFI runtime services page fault
    45627a1a6450 nilfs2: fix general protection fault in nilfs_btree_insert()
    350d66d9e730 zonefs: Detect append writes at invalid locations
    5054d001ffaf Add exception protection processing for vd in axi_chan_handle_err function
    a12fd43bd175 wifi: mac80211: sdata can be NULL during AMPDU start
    f96a6c009ed9 wifi: brcmfmac: fix regression for Broadcom PCIe wifi devices
    908d1742b6e6 Bluetooth: hci_qca: Fix driver shutdown on closed serdev
    7530fbc05ff5 fbdev: omapfb: avoid stack overflow warning
    e1df7f0b27c2 perf/x86/rapl: Treat Tigerlake like Icelake
    2c129e868992 f2fs: let's avoid panic if extent_tree is not created
    58bac7440251 x86/asm: Fix an assembler warning with current binutils
    fdb4a70bb768 btrfs: always report error in run_one_delayed_ref()
    f641067ea2af RDMA/srp: Move large values to a new enum for gcc13
    793f8ac21874 r8169: move rtl_wol_enable_rx() and rtl_prepare_power_down()
    dc072762f900 net/ethtool/ioctl: return -EOPNOTSUPP if we have no phy stats
    308d24d87599 vduse: Validate vq_num in vduse_validate_config()
    8e1eb926a093 virtio_pci: modify ENOENT to EINVAL
    64a6f3689d0d tools/virtio: initialize spinlocks in vring_test.c
    95fc28a8e921 selftests/bpf: check null propagation only neither reg is PTR_TO_BTF_ID
    d4a9d2944f2e pNFS/filelayout: Fix coalescing test for single DS
    6a3319af6b36 btrfs: fix trace event name typo for FLUSH_DELAYED_REFS

(From OE-Core rev: 420863a6eb5f6aac1d6ddd0271ac8b7bfb46b465)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 60c0f2100303bce62711c05efe9c8b775a804045)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-15 21:46:56 +00:00
Bruce Ashfield
d2f4834fd6 linux-yocto/5.15: update to v5.15.89
Updating  to the latest korg -stable release that comprises
the following commits:

    3bcc86eb3ed9 Linux 5.15.89
    37c18ef49ec3 pinctrl: amd: Add dynamic debugging for active GPIOs
    a5841b81adfa Revert "usb: ulpi: defer ulpi_register on ulpi_read_id timeout"
    7ec9a45fc4ee block: handle bio_split_to_limits() NULL return
    ba86db02d408 io_uring/io-wq: only free worker if it was allocated for creation
    bb135bcc9499 io_uring/io-wq: free worker if task_work creation is canceled
    63c2fa09b856 scsi: mpt3sas: Remove scsi_dma_map() error messages
    e2ea55564229 efi: fix NULL-deref in init error path
    94b6cf84db42 arm64: cmpxchg_double*: hazard against entire exchange variable
    3891fa4982b9 arm64: atomics: remove LL/SC trampolines
    61e86339af2a arm64: atomics: format whitespace consistently
    ed4629d1e968 io_uring: lock overflowing for IOPOLL
    fbf501514182 KVM: x86: Do not return host topology information from KVM_GET_SUPPORTED_CPUID
    ee16841134be Documentation: KVM: add API issues section
    b8f3b3cffb4a mm: Always release pages to the buddy allocator in memblock_free_late().
    d2dc110deabe platform/surface: aggregator: Add missing call to ssam_request_sync_free()
    cfd5978411ed igc: Fix PPS delta between two synchronized end-points
    0bf52601ced1 perf build: Properly guard libbpf includes
    205f35eee7be net/mlx5e: Don't support encap rules with gbp option
    0526fc9330fe net/mlx5: Fix ptp max frequency adjustment range
    9e2c38827cdc net/sched: act_mpls: Fix warning during failed attribute validation
    e3bb44beafde tools/nolibc: fix the O_* fcntl/open macro definitions for riscv
    1e6ec75bb3b5 tools/nolibc: restore mips branch ordering in the _start block
    bd0431a66c39 tools/nolibc: Remove .global _start from the entry point code
    a77c54f5b50c tools/nolibc/arch: mark the _start symbol as weak
    da51e086d154 tools/nolibc/arch: split arch-specific code into individual files
    8591e788bea3 tools/nolibc/types: split syscall-specific definitions into their own files
    4fceecdeaa8a tools/nolibc/std: move the standard type definitions to std.h
    1792136f228e tools/nolibc: use pselect6 on RISCV
    487386a49e01 tools/nolibc: x86-64: Use `mov $60,%eax` instead of `mov $60,%rax`
    27af4f2260cd tools/nolibc: x86: Remove `r8`, `r9` and `r10` from the clobber list
    a60b24192b1f af_unix: selftest: Fix the size of the parameter to connect()
    39ae73e58111 nfc: pn533: Wait for out_urb's completion in pn533_usb_send_frame()
    f6003784b1f6 hvc/xen: lock console list traversal
    79c58b74244d octeontx2-af: Fix LMAC config in cgx_lmac_rx_tx_enable
    303d06288122 tipc: fix unexpected link reset due to discovery messages
    e79d0f97cc6e ALSA: usb-audio: Relax hw constraints for implicit fb sync
    c9557906bd3b ALSA: usb-audio: Make sure to stop endpoints before closing EPs
    83e758105bc8 ASoC: wm8904: fix wrong outputs volume after power reactivation
    7c26d218729b scsi: ufs: core: WLUN suspend SSU/enter hibern8 fail recovery
    513fdf0b8e20 scsi: ufs: Stop using the clock scaling lock in the error handler
    13259b60b71b scsi: mpi3mr: Refer CONFIG_SCSI_MPI3MR in Makefile
    470f6a9175f1 regulator: da9211: Use irq handler when ready
    24107ad469df x86/resctrl: Fix task CLOSID/RMID update race
    cd3da505fb35 EDAC/device: Fix period calculation in edac_device_reset_delay_period()
    ab0d02c53a60 x86/boot: Avoid using Intel mnemonics in AT&T syntax asm
    a90d339f1f66 powerpc/imc-pmu: Fix use of mutex in IRQs disabled section
    511cf17b2447 netfilter: ipset: Fix overflow before widen in the bitmap_ip_create() function.
    b22faa21b623 sched/core: Fix use-after-free bug in dup_user_cpus_ptr()
    d766ccadbe85 iommu/mediatek-v1: Fix an error handling path in mtk_iommu_v1_probe()
    c929a230c844 iommu/iova: Fix alloc iova overflows issue
    4b51aa263ae4 usb: ulpi: defer ulpi_register on ulpi_read_id timeout
    9a8bf443f6a2 bus: mhi: host: Fix race between channel preparation and M0 event
    456e3794e08a ipv6: raw: Deduct extension header length in rawv6_push_pending_frames
    4c93422a54cd ixgbe: fix pci device refcount leak
    e97da5d97a97 platform/x86: sony-laptop: Don't turn off 0x153 keyboard backlight during probe
    f3b1e04daf86 dt-bindings: msm/dsi: Don't require vcca-supply on 14nm PHY
    52a5f596c6cc dt-bindings: msm/dsi: Don't require vdds-supply on 10nm PHY
    984ad875db80 drm/msm/dp: do not complete dp_aux_cmd_fifo_tx() if irq is not for aux transfer
    92ae83665e9e platform/x86: ideapad-laptop: Add Legion 5 15ARH05 DMI id to set_fn_lock_led_list[]
    e38b5f81dfa8 dt-bindings: msm: dsi-phy-28nm: Add missing qcom, dsi-phy-regulator-ldo-mode
    bb32ab40cb7f dt-bindings: msm: dsi-controller-main: Fix description of core clock
    3fb8d10beef9 dt-bindings: msm: dsi-controller-main: Fix power-domain constraint
    dc5b651cad66 drm/msm/adreno: Make adreno quirks not overwrite each other
    757d665ee1fe dt-bindings: msm: dsi-controller-main: Fix operating-points-v2 constraint
    c90cf47d309a platform/x86: dell-privacy: Fix SW_CAMERA_LENS_COVER reporting
    25b5f693bc2d platform/surface: aggregator: Ignore command messages not intended for us
    ee7b8ce2cc28 platform/x86: dell-privacy: Only register SW_CAMERA_LENS_COVER if present
    e0072068adaf cifs: Fix uninitialized memory read for smb311 posix symlink create
    f3495b5e9e68 net/mlx5e: Set action fwd flag when parsing tc action goto
    1a8431cc202a drm/i915/gt: Reset twice
    011ecdbcd520 drm/virtio: Fix GEM handle creation UAF
    798dfeeae33d s390/percpu: add READ_ONCE() to arch_this_cpu_to_op_simple()
    a400593eb373 s390/cpum_sf: add READ_ONCE() semantics to compare and swap loops
    d4fa65960a9d ASoC: qcom: lpass-cpu: Fix fallback SD line index handling
    8400b91c11db s390/kexec: fix ipl report address for kdump
    c07e0babd1df perf auxtrace: Fix address filter duplicate symbol selection
    e81d82da619a net: stmmac: add aux timestamps fifo clearance wait
    44167b74a8a3 docs: Fix the docs build with Sphinx 6.0
    24176bf2a145 efi: tpm: Avoid READ_ONCE() for accessing the event log
    01b966b14c6e selftests: kvm: Fix a compile error in selftests/kvm/rseq_test.c
    c773ebe11c39 KVM: arm64: nvhe: Fix build with profile optimization
    c1d6a72fc810 KVM: arm64: Fix S1PTW handling on RO memslots
    e04e6cd8830f ALSA: hda/realtek: Enable mute/micmute LEDs on HP Spectre x360 13-aw0xxx
    b983c9a9714e ALSA: hda/realtek - Turn on power early
    9ab3696881ca ALSA: control-led: use strscpy in set_led_id()
    a8acfe2c6fb9 netfilter: nft_payload: incorrect arithmetics when fetching VLAN header bits
    90bb4f8f399f Linux 5.15.88
    cbd3e6d5e516 ALSA: hda - Enable headset mic on another Dell laptop with ALC3254
    b98dee474642 ALSA: hda/hdmi: Add a HP device 0x8715 to force connect list
    26350c21bc5e ALSA: pcm: Move rwsem lock inside snd_ctl_elem_read to prevent UAF
    dadd0dcaa67d net/ulp: prevent ULP without clone op from entering the LISTEN status
    04941c1d5bb5 net: sched: disallow noqueue for qdisc classes
    068b51219362 serial: fixup backport of "serial: Deassert Transmit Enable on probe in driver-specific way"
    46aa1557581f selftests/vm/pkeys: Add a regression test for setting PKRU through ptrace
    3c1940c54922 x86/fpu: Emulate XRSTOR's behavior if the xfeatures PKRU bit is not set
    3f1c81426a9f x86/fpu: Allow PKRU to be (once again) written by ptrace.
    b29773d6b0bb x86/fpu: Add a pkru argument to copy_uabi_to_xstate()
    9813c5fc22bc x86/fpu: Add a pkru argument to copy_uabi_from_kernel_to_xstate().
    fea26e83a196 x86/fpu: Take task_struct* in copy_sigframe_from_user_to_xstate()
    d4d152017e1d parisc: Align parisc MADV_XXX constants with all other architectures

(From OE-Core rev: 413a290b1a848bec1af67ba5e3343ce806f8b452)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 6398ae4f5c5d07500ffdf0ae1bc0ecf80b63dbca)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-15 21:46:56 +00:00
Ross Burton
aefb39658a git: ignore CVE-2022-41953
This is specific to Git-for-Windows.

(From OE-Core rev: 72438f0a54296a12cfd770c5c67b1e038f019dee)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit c8849af809e0213d43e18e5d01067eeeb61b330d)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-15 21:46:55 +00:00
Chee Yang Lee
21f5304a57 git: upgrade to 2.35.6
upgrade include fix for CVE-2022-23521 and CVE-2022-41903

(From OE-Core rev: d21b033c2f8890989729bc1468254c9298f9a518)

Signed-off-by: Chee Yang Lee <chee.yang.lee@intel.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-15 21:46:55 +00:00
Arnout Vandecappelle
ad85262351 python3-pytest: depend on python3-tomli instead of python3-toml
Since version 7.0.0 [1], pytest switched from the toml package to the
tomli package for parsing pyproject.toml configuration files [2].

This change is not immediately noticable during tests, because the
toml/tomli module is only important if a pyproject.toml is actually
present in a project.

[1] https://docs.pytest.org/en/latest/changelog.html#pytest-7-0-0rc1-2021-12-06
[2] https://github.com/pytest-dev/pytest/issues/8789

(From OE-Core rev: e5e590ed9e118283ad67bcfb059b3375cf847b33)

Signed-off-by: Arnout Vandecappelle <arnout@mind.be>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-15 21:46:55 +00:00
Narpat Mali
8809530bb0 python3-certifi: fix for CVE-2022-23491
Certifi is a curated collection of Root Certificates for validating the
trustworthiness of SSL certificates while verifying the identity of TLS
hosts. Certifi 2022.12.07 removes root certificates from "TrustCor" from
the root store. These are in the process of being removed from Mozilla's
trust store. TrustCor's root certificates are being removed pursuant to
an investigation prompted by media reporting that TrustCor's ownership
also operated a business that produced spyware. Conclusions of Mozilla's
investigation can be found in the linked google group discussion.

Reference: https://nvd.nist.gov/vuln/detail/CVE-2022-23491

(From OE-Core rev: 8ee4adb8675c690962e5820669098a95f74c07c7)

Signed-off-by: Narpat Mali <narpat.mali@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-15 21:46:55 +00:00
Michael Opdenacker
fc5364a032 manuals: update patchwork instance URL
https://patchwork.openembedded.org/ has been since long discontinued
Also better to mention https://patchwork.yoctoproject.org/
than the patchwork home page.

(From yocto-docs rev: e7dcd04a1a4f6db42e7469226623016dccd2186d)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-15 10:26:49 +00:00
Michael Opdenacker
e4e0dabc0d bsp-guide: fix broken git URLs and missing word
(From yocto-docs rev: 115793b87f922fe18b8e791f6cc09308a002eb29)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-15 10:26:49 +00:00
Michael Opdenacker
fd03545975 profile-manual: update WireShark hyperlinks
(From yocto-docs rev: c8de3cd057f3a72e8467a927edc5bd82183860f7)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-15 10:26:49 +00:00
Lee Chee Yang
7045fbd1f4 migration-guides: add release-notes for 4.0.7
(From yocto-docs rev: 65b2f85ff25fbf9d55ddf4be28b285dcf1bbaff0)

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Suggested-by: Takayasu Ito <ito@lineo.co.jp>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-15 10:26:49 +00:00
Michael Opdenacker
1b1ca97a25 ref-manual: document SSTATE_EXCLUDEDEPS_SYSROOT
Backport from master:
https://git.yoctoproject.org/yocto-docs/commit/?id=b6690011c14ce4bf30571f045152a9d324ad5039

(From yocto-docs rev: 0b0509d14742ad1cd050a79164718e6e17020c65)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-15 10:26:49 +00:00
Michael Opdenacker
86e9630511 dev-manual: fix old override syntax
(From yocto-docs rev: 48bd2ea8efe446b3694a3795b8083fe8783777aa)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Reported-by: Ulrich Ölmann <u.oelmann@pengutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-10 11:04:02 +00:00
Niko Mauno
4abffe76eb Fix missing leading whitespace with ':append'
Mitigate occurences where ':append' operator is used and leading
whitespace character is obviously missing, risking inadvertent
string concatenation.

(From OE-Core rev: fcd340ec53ff8352b8cae0eb351810072b025a08)

(From OE-Core rev: cb64ace13db85e143d99627c8803fbb13ba18617)

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>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-04 23:32:20 +00:00
Khem Raj
579047d4e6 libusb1: Strip trailing whitespaces
(From OE-Core rev: 6e981dc8df59ce0e2e85b25f240b6c5767ce22f6)

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 2b24ffade16fc23ddb77e26d8967c26d62f4ed6d)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-04 23:32:20 +00:00
Khem Raj
166a865b01 libusb1: Link with latomic only if compiler has no atomic builtins
This makes build use compiler to decide from where to get atomics
instead of assuming that it should always come from libatomic, helps
sharing build artifacts with OSes which may not have libatomic installed
because it is not required on those hosts.

(From OE-Core rev: c660d75211352a47797c3d400dd504759675a0f6)

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 a026d9afcbe07a8324ca951ba3439373dcb3771c)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-04 23:32:20 +00:00
Richard Purdie
4fe11a56a7 native: Drop special variable handling
Back when it was merged in https://git.yoctoproject.org/poky/commit/?id=c4257ed8b1040a5a0e9a95846d81961741239116
it appeared special handling in setVar was necessary. Likely due to
other fixes and improvements it no longer appears to be. The results of
"bitbake world -g" before and after this change are identical for oe-core
and meta-openembedded. Therefore drop the "parsing=True" special parameter to
setVar() meaning overrides can now be cleared.

This means that something like:

DEPENDS:append = " bash"

now functions as expected, adding bash to the target recipe and bash-native to
the native BBCLASSEXTENDED version.

Without this change, it would add bash to the native version as well as
bash-native which is clearly incorrect.

[YOCTO #15010]

(From OE-Core rev: 47a2634831f907d83ec40ad010351c923ef67f0d)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 99a5105f7b5303cd36077b5910c662a865c1782c)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-04 23:32:20 +00:00
Ross Burton
bbd0a48cf8 quilt: use upstreamed faildiff.test fix
(From OE-Core rev: 135a9094fc9e2a525b568960a909cb55ec1d25c5)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 50b81a263187af4452d3b99967bffd01c6ddb476)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-04 23:32:20 +00:00
Khem Raj
6e0e9c059a libtirpc: Check if file exists before operating on it
In some cases (e.g. mingw) this file may not be installed

(From OE-Core rev: f8dba1173dc42dd72c231fc291b2f7b44d828905)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 547f3a13ee9268bbdd439c96108ba1fe9ab78873)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-04 23:32:20 +00:00
Xiangyu Chen
1fab7be931 numactl: skip test case when target platform doesn't have 2 CPU node
when current test platform doesn't have 2 or more CPU node, the test
case would report FAIL, according to numa test script and numademo
code, when return code=77 should be skip test, so using SKIP instead
of FAIL in test script.

(From OE-Core rev: 218cf38bd3879df009e70f516c0dcb484376bf2e)

Signed-off-by: Xiangyu Chen <xiangyu.chen@windriver.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit fd0a82400d419bce8605a9445db9b20b8ddc01a7)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-04 23:32:20 +00:00
Thomas Roos
cc82bf667c devtool: fix devtool finish when gitmodules file is empty
When a .gitmodules file exists but is empty then devtool finish fails.
Add an additional check for this.

[YOCTO #14999]

(From OE-Core rev: 3c3b16ed1c2e74389d570fba8800ffdec62fdd48)

Signed-off-by: Thomas Roos <throos@amazon.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit b4f0f7c4934bade9e4d4a1086f9d8b29d8e9ad45)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-04 23:32:20 +00:00
Ross Burton
aa042d4b2e spirv-headers: set correct branch name
As of last week, the SPIRV repositories have renamed their master
branches to main:

https://github.com/KhronosGroup/SPIRV-Headers/issues/313

(From OE-Core rev: e7d0e6941c7e94f37eb43a3b5dae550513394cc0)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 2957da09f13607ac00ddd4a87ec9ad0014326507)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-04 23:32:20 +00:00
Ross Burton
6141816fc7 quilt: fix intermittent failure in faildiff.test
This test assumes that if a child process writes one line to stderr and
then another line to stdout, and stderr is redirected to stdout, that
the order the lines will be read is stable.

This isn't the case and occasionally the lines will be read in a
different order.  Change the test to ignore line ordering.

[ YOCTO #14469 ]

(From OE-Core rev: 9f72693736a3a7a06a83022d98b389f1218532f1)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 1ddbe4d2bd8d8da10dac8a054f130fcd1d242219)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-04 23:32:20 +00:00
Armin Kuster
a2b403f4db lttng-modules: Fix for 5.10.163 kernel version
(From OE-Core rev: 72851563e22b4b4c548a610a7e9f68fd2450daaa)

Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 4ad1f430abe1e7706b43b36405f036fa23a4e6fd)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-04 23:32:20 +00:00
Bruce Ashfield
6b46222fc4 linux-yocto/5.15: update to v5.15.87
Updating  to the latest korg -stable release that comprises
the following commits:

    d57287729e22 Linux 5.15.87
    24186c682288 drm/mgag200: Fix PLL setup for G200_SE_A rev >=4
    e326ee018a24 io_uring: Fix unsigned 'res' comparison with zero in io_fixup_rw_res()
    b2b6eefab43d efi: random: combine bootloader provided RNG seed with RNG protocol output
    99c0759495a0 mbcache: Avoid nesting of cache->c_list_lock under bit locks
    d50d6c193adb net: hns3: fix return value check bug of rx copybreak
    d4e6a13eb9a3 btrfs: make thaw time super block check to also verify checksum
    70a1dccd0e58 selftests: set the BUILD variable to absolute path
    58fef3ebc83c ext4: don't allow journal inode to have encrypt flag
    bd5dc96fea4e mptcp: use proper req destructor for IPv6
    78bd6ab52c03 mptcp: dedicated request sock for subflow in v6
    6e9c1aef3e32 Revert "ACPI: PM: Add support for upcoming AMD uPEP HID AMDI007"
    e32f867b37da ksmbd: check nt_len to be at least CIFS_ENCPWD_SIZE in ksmbd_decode_ntlmssp_auth_blob
    4136f1ac1ecd ksmbd: fix infinite loop in ksmbd_conn_handler_loop()
    f10defb0be6a hfs/hfsplus: avoid WARN_ON() for sanity check, use proper error handling
    48d9e2e6de01 hfs/hfsplus: use WARN_ON for sanity check
    f5a9bbf962e2 drm/i915/gvt: fix vgpu debugfs clean in remove
    ae9a61511736 drm/i915/gvt: fix gvt debugfs destroy
    eb3e943a3243 riscv, kprobes: Stricter c.jr/c.jalr decoding
    620a229f576a riscv: uaccess: fix type of 0 variable on error in get_user()
    8e05a993f8aa thermal: int340x: Add missing attribute for data rate base
    c3222fd28225 io_uring: fix CQ waiting timeout handling
    b7b9bc93055d block: don't allow splitting of a REQ_NOWAIT bio
    e1358c878711 fbdev: matroxfb: G200eW: Increase max memory from 1 MB to 16 MB
    682a7d064f35 nfsd: fix handling of readdir in v4root vs. mount upcall timeout
    cb42aa7b5f72 x86/bugs: Flush IBP in ib_prctl_set()
    554a880a1fff x86/kexec: Fix double-free of elf header buffer
    264241a61045 btrfs: check superblock to ensure the fs was not modified at thaw time
    69f4bda5f4e6 nvme: also return I/O command effects from nvme_command_effects
    a6a4b057cd47 nvmet: use NVME_CMD_EFFECTS_CSUPP instead of open coding it
    f9309dcaa9c0 io_uring: check for valid register opcode earlier
    4df413d46960 nvme: fix multipath crash caused by flush request when blktrace is enabled
    03ce7921285e ASoC: Intel: bytcr_rt5640: Add quirk for the Advantech MICA-071 tablet
    0dca7375e2b9 udf: Fix extension of the last extent in the file
    dc1bc903970b caif: fix memory leak in cfctrl_linkup_request()
    bce3680b48d2 drm/i915: unpin on error in intel_vgpu_shadow_mm_pin()
    da6a3653b82c perf stat: Fix handling of --for-each-cgroup with --bpf-counters to match non BPF mode
    11cd4ec6359d usb: rndis_host: Secure rndis_query check against int overflow
    6ea5273c71dd octeontx2-pf: Fix lmtst ID used in aura free
    4e5f2c74cbbf drivers/net/bonding/bond_3ad: return when there's no aggregator
    8414983c2e64 fs/ntfs3: don't hold ni_lock when calling truncate_setsize()
    a23e8376e613 drm/imx: ipuv3-plane: Fix overlay plane width
    a8f7fd322f56 perf tools: Fix resources leak in perf_data__open_dir()
    a1e1521b4639 netfilter: ipset: Rework long task execution when adding/deleting entries
    6f19a3848367 netfilter: ipset: fix hash:net,port,net hang with /0 subnet
    774d259749d7 net: sparx5: Fix reading of the MAC address
    04dc4003e5df net: sched: cbq: dont intepret cls results when asked to drop
    f02327a4877a net: sched: atm: dont intepret cls results when asked to drop
    95da1882ce93 gpio: sifive: Fix refcount leak in sifive_gpio_probe
    da9c9883ec96 ceph: switch to vfs_inode_has_locks() to fix file lock bug
    54e72ce5f1d7 filelock: new helper: vfs_inode_has_locks
    f34b03ce3a86 drm/meson: Reduce the FIFO lines held when AFBC is not used
    05a8410b0fce RDMA/mlx5: Fix validation of max_rd_atomic caps for DC
    8d89870d6375 RDMA/mlx5: Fix mlx5_ib_get_hw_stats when used for device
    4d112f001612 net: phy: xgmiitorgmii: Fix refcount leak in xgmiitorgmii_probe
    e5fbeb3d16b4 net: ena: Update NUMA TPH hint register upon NUMA node update
    7840b93cfd4c net: ena: Set default value for RX interrupt moderation
    d09b7a9d2f34 net: ena: Fix rx_copybreak value update
    0e7ad9b006d7 net: ena: Use bitmask to indicate packet redirection
    5d4964984b99 net: ena: Account for the number of processed bytes in XDP
    f17d9aec07de net: ena: Don't register memory info on XDP exchange
    a4aa727ad0b2 net: ena: Fix toeplitz initial hash value
    0bec17f1ce31 net: amd-xgbe: add missed tasklet_kill
    cb2f74685f76 net/mlx5e: Fix hw mtu initializing at XDP SQ allocation
    6c72abb78b01 net/mlx5e: Always clear dest encap in neigh-update-del
    b36783bc11d1 net/mlx5e: TC, Refactor mlx5e_tc_add_flow_mod_hdr() to get flow attr
    f8c10eeba31b net/mlx5e: IPoIB, Don't allow CQE compression to be turned on by default
    7227bbb7c140 net/mlx5: Avoid recovery in probe flows
    9369b9afa8b0 net/mlx5: Add forgotten cleanup calls into mlx5_init_once() error path
    d966f2ee4b8e net/mlx5: E-Switch, properly handle ingress tagged packets on VST
    6a37a01aba5d vdpa_sim: fix vringh initialization in vdpasim_queue_ready()
    e3462410c36d vhost: fix range used in translate_desc()
    13871f60ec2f vringh: fix range used in iotlb_translate()
    e05d4c8c287a vhost/vsock: Fix error handling in vhost_vsock_init()
    586e6fd7d581 vdpa_sim: fix possible memory leak in vdpasim_net_init() and vdpasim_blk_init()
    b63bc2db244c nfc: Fix potential resource leaks
    945e58bdaf6f net: dsa: mv88e6xxx: depend on PTP conditionally
    95df720e64a6 qlcnic: prevent ->dcb use-after-free on qlcnic_dcb_enable() failure
    6c55953e232e net: sched: fix memory leak in tcindex_set_parms
    d14a4b24d58e net: hns3: fix VF promisc mode not update when mac table full
    7ed205b9478d net: hns3: fix miss L3E checking for rx packet
    47868cb77f8f net: hns3: extract macro to simplify ring stats update code
    7457c5a7761a net: hns3: refactor hns3_nic_reuse_page()
    4a6e9fb534c5 net: hns3: add interrupts re-initialization while doing VF FLR
    5e48ed805c4f nfsd: shut down the NFSv4 state objects before the filecache
    7e2825f5fb84 veth: Fix race with AF_XDP exposing old or uninitialized descriptors
    ac95cdafaca8 netfilter: nf_tables: honor set timeout and garbage collection updates
    49677ea1513e vmxnet3: correctly report csum_level for encapsulated packet
    9d30cb442156 netfilter: nf_tables: perform type checking for existing sets
    c3bfb7784a09 netfilter: nf_tables: add function to create set stateful expressions
    996cd779c2a4 netfilter: nf_tables: consolidate set description
    4f1105ee72d8 drm/panfrost: Fix GEM handle creation ref-counting
    df493f676fb0 bpf: pull before calling skb_postpull_rcsum()
    d7e817e689b1 btrfs: fix an error handling path in btrfs_defrag_leaves()
    4d69cdba2c27 SUNRPC: ensure the matching upcall is in-flight upon downcall
    af0265dfeffa drm/i915/migrate: fix length calculation
    8b25a526a5e9 drm/i915/migrate: fix offset calculation
    a3d1e6f9b678 drm/i915/migrate: don't check the scratch page
    5bc0b2fda4b4 ext4: fix deadlock due to mbcache entry corruption
    a6e4094faf3c mbcache: automatically delete entries from cache on freeing
    187254912971 ext4: correct inconsistent error msg in nojournal mode
    761f88f82e0f ext4: goto right label 'failed_mount3a'
    eb16602140f0 ravb: Fix "failed to switch device to config mode" message during unbind
    4216995dbd93 perf probe: Fix to get the DW_AT_decl_file and DW_AT_call_file as unsinged data
    d8bbbf2b52b2 perf probe: Use dwarf_attr_integrate as generic DWARF attr accessor
    b131b5f1361e media: s5p-mfc: Fix in register read and write for H264
    ff27800c0a6d media: s5p-mfc: Clear workbit to handle error condition
    4653ba32adcd media: s5p-mfc: Fix to handle reference queue during finishing
    1bd7283dc0be x86/MCE/AMD: Clear DFR errors found in THR handler
    5ddcd349d9af x86/mce: Get rid of msr_ops
    b8e7ed42bc3c btrfs: fix extent map use-after-free when handling missing device in read_one_chunk
    9c3beebd21f3 btrfs: move missing device handling in a dedicate function
    7528b21cebe0 btrfs: replace strncpy() with strscpy()
    4cef44525f4f phy: qcom-qmp-combo: fix out-of-bounds clock access
    855edc4ec64c ARM: renumber bits related to _TIF_WORK_MASK
    18f28f13301d ext4: fix off-by-one errors in fast-commit block filling
    b205332b6b87 ext4: fix unaligned memory access in ext4_fc_reserve_space()
    9c197dcbacc4 ext4: add missing validation of fast-commit record lengths
    6220ec405571 ext4: don't set up encryption key during jbd2 transaction
    6482d42baff5 ext4: disable fast-commit of encrypted dir operations
    6969367c1500 ext4: fix potential out of bound read in ext4_fc_replay_scan()
    818175ae3bd2 ext4: factor out ext4_fc_get_tl()
    ffd84d0bc5dc ext4: introduce EXT4_FC_TAG_BASE_LEN helper
    37914e029bec ext4: use ext4_debug() instead of jbd_debug()
    b0ed9a032e52 ext4: remove unused enum EXT4_FC_COMMIT_FAILED
    394514ddf90e tracing: Fix issue of missing one synthetic field
    5234dd5d205b block: mq-deadline: Fix dd_finish_request() for zoned devices
    78623b10fc9f drm/amdgpu: make display pinning more flexible (v2)
    6363da2c854a drm/amdgpu: handle polaris10/11 overlap asics (v2)
    2771c7a0eedc ext4: allocate extended attribute value in vmalloc area
    e995ff918e66 ext4: avoid unaccounted block allocation when expanding inode
    877247222a0c ext4: initialize quota before expanding inode in setproject ioctl
    322cf639b0b7 ext4: fix inode leak in ext4_xattr_inode_create() on an error path
    6380a93b57db ext4: fix kernel BUG in 'ext4_write_inline_data_end()'
    dc3bbc9753f4 ext4: avoid BUG_ON when creating xattrs
    844c40555297 ext4: fix error code return to user-space in ext4_get_branch()
    b870b28e29f6 ext4: fix corruption when online resizing a 1K bigalloc fs
    d440d6427a5e ext4: fix delayed allocation bug in ext4_clu_mapped for bigalloc + inline
    def7a39091e6 ext4: init quota for 'old.inode' in 'ext4_rename'
    3c31d8d3ad95 ext4: fix uninititialized value in 'ext4_evict_inode'
    871800770d7f ext4: fix leaking uninitialized memory in fast-commit journal
    d480a49c15c4 ext4: fix bug_on in __es_tree_search caused by bad boot loader inode
    91009e361e8c ext4: check and assert if marking an no_delete evicting inode dirty
    820eacbc4e4f ext4: fix reserved cluster accounting in __es_remove_extent()
    0dcbf4dc3d54 ext4: fix bug_on in __es_tree_search caused by bad quota inode
    06a20a68bb6d ext4: add helper to check quota inums
    f7e6b5548f91 ext4: add EXT4_IGET_BAD flag to prevent unexpected bad inode
    205ac16628ac ext4: fix undefined behavior in bit shift for ext4_check_flag_values
    cf0e0817b0f9 ext4: fix use-after-free in ext4_orphan_cleanup
    970bfd7a4188 fs: ext4: initialize fsdata in pagecache_write()
    744bbde378a5 ext4: remove trailing newline from ext4_msg() message
    7192afa5e4bf ext4: add inode table check in __ext4_get_inode_loc to aovid possible infinite loop
    0d041b7251c1 ext4: silence the warning when evicting inode with dioread_nolock
    af4ceb00ebea drm/ingenic: Fix missing platform_driver_unregister() call in ingenic_drm_init()
    c919e1154b8c drm/i915/dsi: fix VBT send packet port selection for dual link DSI
    6948e570f54f drm/vmwgfx: Validate the box size for the snooped cursor
    5594fde1ef53 drm/connector: send hotplug uevent on connector cleanup
    317ebe61a6d4 device_cgroup: Roll back to original exceptions after copy failure
    ac838c663ba1 parisc: led: Fix potential null-ptr-deref in start_task()
    2c1881f0816a remoteproc: core: Do pm_relax when in RPROC_OFFLINE state
    9b615f957ca7 iommu/amd: Fix ivrs_acpihid cmdline parsing code
    35b792179b10 phy: qcom-qmp-combo: fix sc8180x reset
    dfd05a133556 driver core: Fix bus_type.match() error handling in __driver_attach()
    44618a339741 crypto: ccp - Add support for TEE for PCI ID 0x14CA
    c55507a94bc6 crypto: n2 - add missing hash statesize
    48307506964e riscv: mm: notify remote harts about mmu cache updates
    16b6d9525da6 riscv: stacktrace: Fixup ftrace_graph_ret_addr retp argument
    657b440a270c PCI/sysfs: Fix double free in error path
    67fd41bbb0f5 PCI: Fix pci_device_is_present() for VFs by checking PF
    bfce073089cb ipmi: fix use after free in _ipmi_destroy_user()
    3b4984035c40 ima: Fix a potential NULL pointer access in ima_restore_measurement_list
    a843699f1665 mtd: spi-nor: Check for zero erase size in spi_nor_find_best_erase_type()
    24f4649cd8fc ipmi: fix long wait in unload when IPMI disconnect
    fa6bbb4894b9 ipu3-imgu: Fix NULL pointer dereference in imgu_subdev_set_selection()
    cdb208b090f3 ASoC: jz4740-i2s: Handle independent FIFO flush bits
    2d0d083d8ae6 wifi: wilc1000: sdio: fix module autoloading
    2e4a088804c1 efi: Add iMac Pro 2017 to uefi skip cert quirk
    c49fb9b760d3 md/bitmap: Fix bitmap chunk size overflow issues
    94fe975d54ab block: mq-deadline: Do not break sequential write streams to zoned HDDs
    8e91679f7bd2 rtc: ds1347: fix value written to century register
    5eb8296d73da cifs: fix missing display of three mount options
    cfa9f66f9172 cifs: fix confusing debug message
    8b45a3b19a2e media: dvb-core: Fix UAF due to refcount races at releasing
    acf984a3718c media: dvb-core: Fix double free in dvb_register_device()
    5fac317bee18 ARM: 9256/1: NWFPE: avoid compiler-generated __aeabi_uldivmod
    ce50c6124580 staging: media: tegra-video: fix device_node use after free
    6b16758215f6 staging: media: tegra-video: fix chan->mipi value on error
    4f5de49d8c52 tracing: Fix infinite loop in tracing_read_pipe on overflowed print_trace_line
    17becbc4dd67 tracing/probes: Handle system names with hyphens
    2442e655a693 tracing/hist: Fix wrong return value in parse_action_params()
    2a81ff5ce893 tracing: Fix complicated dependency of CONFIG_TRACER_MAX_TRACE
    fe8c35c6ffa2 tracing: Fix race where eprobes can be called before the event
    eb20f6ed3733 x86/kprobes: Fix optprobe optimization check with CONFIG_RETHUNK
    3e0fbc06db12 x86/kprobes: Fix kprobes instruction boudary check with CONFIG_RETHUNK
    6268a0704b97 ftrace/x86: Add back ftrace_expected for ftrace bug reports
    c95cf30dd447 x86/microcode/intel: Do not retry microcode reloading on the APs
    f8fe2f41784b KVM: nVMX: Properly expose ENABLE_USR_WAIT_PAUSE control to L1
    ca3483d71bd5 KVM: nVMX: Inject #GP, not #UD, if "generic" VMXON CR0/CR4 check fails
    2c73b349fd78 KVM: VMX: Resume guest immediately when injecting #GP on ECREATE
    4a19f48bee09 of/kexec: Fix reading 32-bit "linux,initrd-{start,end}" values
    7eddcdb09f62 perf/core: Call LSM hook after copying perf_event_attr
    15697f653399 tracing/hist: Fix out-of-bound write on 'action_data.var_ref_idx'
    fd52b86a7248 dm cache: set needs_check flag after aborting metadata
    d2a0b298ebf8 dm cache: Fix UAF in destroy()
    856edd0e92f3 dm clone: Fix UAF in clone_dtr()
    9215b25f2e10 dm integrity: Fix UAF in dm_integrity_dtr()
    34cd15d83b72 dm thin: Fix UAF in run_timer_softirq()
    ac362c40e3e9 dm thin: resume even if in FAIL mode
    4b710e8481ad dm thin: Use last transaction's pmd->root when commit failed
    f8c26c33fef5 dm thin: Fix ABBA deadlock between shrink_slab and dm_pool_abort_metadata
    28d307f380df dm cache: Fix ABBA deadlock between shrink_slab and dm_cache_metadata_abort
    a9e89a567f48 mptcp: remove MPTCP 'ifdef' in TCP SYN cookies
    13b9fd0dee93 mptcp: mark ops structures as ro_after_init
    b2120ed7fd75 fs: dlm: retry accept() until -EAGAIN or error returns
    5b4478615f70 fs: dlm: fix sock release if listen fails
    b7ede8a63dd9 ALSA: hda/realtek: Apply dual codec fixup for Dell Latitude laptops
    dbd1f301915f ALSA: patch_realtek: Fix Dell Inspiron Plus 16
    8fb4c98f20df cpufreq: Init completion before kobject_init_and_add()
    876c6ab96782 PM/devfreq: governor: Add a private governor_data for governor
    0e945ea733ea selftests: Use optional USERCFLAGS and USERLDFLAGS
    31697c5953ff arm64: dts: qcom: sdm850-lenovo-yoga-c630: correct I2C12 pins drive strength
    163049866030 ARM: ux500: do not directly dereference __iomem
    99590f29b2b7 btrfs: fix resolving backrefs for inline extent followed by prealloc
    1f9cf4daf2d3 mmc: sdhci-sprd: Disable CLK_AUTO when the clock is less than 400K
    58d53ff30a00 arm64: dts: qcom: sdm845-db845c: correct SPI2 pins drive strength
    a777b90a0575 perf/x86/intel/uncore: Clear attr_update properly
    ca77ac238c1e perf/x86/intel/uncore: Disable I/O stacks to PMU mapping on ICX-D
    df06e7777cf9 jbd2: use the correct print format
    8e75b1dd4b16 ktest.pl minconfig: Unset configs instead of just removing them
    55e5e8b44561 kest.pl: Fix grub2 menu handling for rebooting
    823fed7c400f soc: qcom: Select REMAP_MMIO for LLCC driver
    8dabeeb1ff89 media: stv0288: use explicitly signed char
    d167ebea9086 net/af_packet: make sure to pull mac header
    9ff46c36df2e net/af_packet: add VLAN support for AF_PACKET SOCK_RAW GSO
    cd0f597c8aa8 rcu-tasks: Simplify trc_read_check_handler() atomic operations
    593ca696687c ASoC/SoundWire: dai: expand 'stream' concept beyond SoundWire
    a7874dac6ba6 ASoC: Intel/SOF: use set_stream() instead of set_tdm_slots() for HDAudio
    ae4f70b2fed4 kcsan: Instrument memcpy/memset/memmove with newer Clang
    d01fa993eb7f SUNRPC: Don't leak netobj memory when gss_read_proxy_verf() fails
    43135fb09812 tpm: tpm_tis: Add the missed acpi_put_table() to fix memory leak
    986cd9a9b954 tpm: tpm_crb: Add the missed acpi_put_table() to fix memory leak
    638cd298dfeb tpm: acpi: Call acpi_put_table() to fix memory leak
    d58289fc77f8 mmc: vub300: fix warning - do not call blocking ops when !TASK_RUNNING
    7eb57bc92f1b f2fs: allow to read node block after shutdown
    acc13987fdea f2fs: should put a page when checking the summary info
    35d8a89862e6 mm, compaction: fix fast_isolate_around() to stay within boundaries
    91bd504128a5 md: fix a crash in mempool_free
    29328fbce56c mfd: mt6360: Add bounds checking in Regmap read/write call-backs
    c24cc476acd8 pnode: terminate at peers of source
    0c9118e381ff ALSA: line6: fix stack overflow in line6_midi_transmit
    ac4b4fdf3262 ALSA: line6: correct midi status byte when receiving data from podxt
    83c44f0ebfd0 ovl: Use ovl mounter's fsuid and fsgid in ovl_link()
    fcb94283e014 binfmt: Fix error return code in load_elf_fdpic_binary()
    ed9947277b2d hfsplus: fix bug causing custom uid and gid being unable to be assigned with mount
    76d52b54127c pstore/zone: Use GFP_ATOMIC to allocate zone buffer
    74b0a2fcc31a pstore: Properly assign mem_type property
    d25aac3489af HID: plantronics: Additional PIDs for double volume key presses quirk
    9d4294545c1d HID: multitouch: fix Asus ExpertBook P2 P2451FA trackpoint
    7280fdb80bf0 powerpc/rtas: avoid scheduling in rtas_os_term()
    d8939315b734 powerpc/rtas: avoid device tree lookups in rtas_os_term()
    23a249b1185c objtool: Fix SEGFAULT
    ed686e7a26dd fs/ntfs3: Fix slab-out-of-bounds in r_page
    dd34665cb004 fs/ntfs3: Delete duplicate condition in ntfs_read_mft()
    a9847a11b683 fs/ntfs3: Use __GFP_NOWARN allocation at ntfs_fill_super()
    abd2ee2cf42f fs/ntfs3: Use __GFP_NOWARN allocation at wnd_init()
    d7ce7bb6881a fs/ntfs3: Validate index root when initialize NTFS security
    f29676cc3a46 soundwire: dmi-quirks: add quirk variant for LAPBC710 NUC15
    9c8471a17f1f fs/ntfs3: Fix slab-out-of-bounds read in run_unpack
    3a52f1786772 fs/ntfs3: Validate resident attribute name
    3cd9e5b41b83 fs/ntfs3: Validate buffer length while parsing index
    c878a915bcb9 fs/ntfs3: Validate attribute name offset
    f62506f5e45a fs/ntfs3: Add null pointer check for inode operations
    2dd9ccfb06bc fs/ntfs3: Fix memory leak on ntfs_fill_super() error path
    ea6b3598406c fs/ntfs3: Add null pointer check to attr_load_runs_vcn
    de5e0955248f fs/ntfs3: Validate data run offset
    d4489ba8fb80 fs/ntfs3: Add overflow check for attribute size
    af7a195deae3 fs/ntfs3: Validate BOOT record_size
    8e228ac90c39 nvmet: don't defer passthrough commands with trivial effects to the workqueue
    f068a7315a9e nvme: fix the NVME_CMD_EFFECTS_CSE_MASK definition
    576502f25f79 ata: ahci: Fix PCS quirk application for suspend
    7949b0df3dd9 block, bfq: fix uaf for bfqq in bfq_exit_icq_bfqq
    ff3d9ab51cd5 ACPI: resource: do IRQ override on Lenovo 14ALC7
    698a0813ce69 ACPI: resource: do IRQ override on XMG Core 15
    a9ac7633bbe5 ACPI: resource: do IRQ override on LENOVO IdeaPad
    5fe31f29501c ACPI: resource: Skip IRQ override on Asus Vivobook K3402ZA/K3502ZA
    4c5fee0d883a nvme-pci: fix page size checks
    9141144b37f3 nvme-pci: fix mempool alloc size
    f17cf8fa2c9d nvme-pci: fix doorbell buffer value endianness
    ead99ec669b5 Revert "selftests/bpf: Add test for unstable CT lookup API"
    bf0543b93740 cifs: fix oops during encryption
    56f6de394f0f usb: dwc3: qcom: Fix memory leak in dwc3_qcom_interconnect_init
    90ffbb727c51 Linux 5.15.86
    3082f8705e82 pwm: tegra: Fix 32 bit build
    caa40d1f8524 mfd: qcom_rpm: Use devm_of_platform_populate() to simplify code
    408dbaa06578 extcon: usbc-tusb320: Call the Type-C IRQ handler only if a port is registered
    2471a44769b5 media: dvbdev: fix refcnt bug
    579fb0a3320b media: dvbdev: fix build warning due to comments
    1115e77c4fdd net: stmmac: fix errno when create_singlethread_workqueue() fails
    d3871af13aa0 scsi: qla2xxx: Fix crash when I/O abort times out
    50f993da9450 btrfs: do not BUG_ON() on ENOMEM when dropping extent items for a range
    1c65d50315db ovl: fix use inode directly in rcu-walk mode
    88ec6d11052d fbdev: fbcon: release buffer when fbcon_do_set_font() failed
    ca8bcb348aa8 gcov: add support for checksum field
    f36d8c865150 floppy: Fix memory leak in do_floppy_init()
    4193a6745b83 regulator: core: fix deadlock on regulator enable
    ce5d0ef1cf56 iio: adc128s052: add proper .data members in adc128_of_match table
    aec1058f2a92 iio: adc: ad_sigma_delta: do not use internal iio_dev lock
    dc6afd6070f3 iio: fix memory leak in iio_device_register_eventset()
    38c257ee6a5a reiserfs: Add missing calls to reiserfs_security_free()
    8a4236456a3a security: Restrict CONFIG_ZERO_CALL_USED_REGS to gcc or clang > 15.0.6
    1cabce56626a 9p: set req refcount to zero to avoid uninitialized usage
    dd2157a98f92 loop: Fix the max_loop commandline argument treatment when it is set to 0
    fd03bd4c7b0a HID: mcp2221: don't connect hidraw
    6c886be1ff76 HID: wacom: Ensure bootloader PID is usable in hidraw mode
    4d640eb1129d xhci: Prevent infinite loop in transaction errors recovery for streams
    936c5f96c896 usb: dwc3: core: defer probe on ulpi_read_id timeout
    e6bf6c40225a usb: dwc3: Fix race between dwc3_set_mode and __dwc3_set_mode
    0e883f3bc897 arm64: dts: qcom: sm8250: fix USB-DP PHY registers
    ffb14aac2658 usb: xhci-mtk: fix leakage of shared hcd when fail to set wakeup irq
    fcacd970e011 usb: cdnsp: fix lack of ZLP for ep0
    bcac79df0838 ALSA: hda/hdmi: Add HP Device 0x8711 to force connect list
    50c23a110779 ALSA: hda/realtek: Add quirk for Lenovo TianYi510Pro-14IOB
    76574b34657e ALSA: usb-audio: add the quirk for KT0206 device
    9e787dab98b6 ima: Simplify ima_lsm_copy_rule
    2cd365029c23 pstore: Make sure CONFIG_PSTORE_PMSG selects CONFIG_RT_MUTEXES
    2068d41a3de9 afs: Fix lost servers_outstanding count
    0def8af038c1 perf debug: Set debug_peo_args and redirect_to_stderr variable to correct values in perf_quiet_option()
    41cccae10e10 pstore: Switch pmsg_lock to an rt_mutex to avoid priority inversion
    8877df8135b7 LoadPin: Ignore the "contents" argument of the LSM hooks
    584202b0f1a1 drm/i915/display: Don't disable DDI/Transcoder when setting phy test pattern
    b253e075b13d ASoC: rt5670: Remove unbalanced pm_runtime_put()
    59f797a913dc ASoC: rockchip: spdif: Add missing clk_disable_unprepare() in rk_spdif_runtime_resume()
    132844d92fed ASoC: wm8994: Fix potential deadlock
    82f7c814edda ASoC: mediatek: mt8183: fix refcount leak in mt8183_mt6358_ts3a227_max98357_dev_probe()
    e5d6bf3e5ad0 ASoC: rockchip: pdm: Add missing clk_disable_unprepare() in rockchip_pdm_runtime_resume()
    85eb5c952b7f ASoC: audio-graph-card: fix refcount leak of cpu_ep in __graph_for_each_link()
    9ff07316cad2 ASoC: mediatek: mt8173-rt5650-rt5514: fix refcount leak in mt8173_rt5650_rt5514_dev_probe()
    7643909cf06d ASoC: Intel: Skylake: Fix driver hang during shutdown
    33ff0f9f9cb5 ALSA: hda: add snd_hdac_stop_streams() helper
    78649a624dfa ALSA/ASoC: hda: move/rename snd_hdac_ext_stop_streams to hdac_stream.c
    98b0f50fec38 hwmon: (jc42) Fix missing unlock on error in jc42_write()
    5e6923350830 KVM: selftests: Fix build regression by using accessor function
    6215904fe295 tools/include: Add _RET_IP_ and math definitions to kernel.h
    c8853267289c orangefs: Fix kmemleak in orangefs_{kernel,client}_debug_init()
    39529b79b023 orangefs: Fix kmemleak in orangefs_prepare_debugfs_help_string()
    a075c21ee026 drm/sti: Fix return type of sti_{dvo,hda,hdmi}_connector_mode_valid()
    f3c14b99f33a drm/fsl-dcu: Fix return type of fsl_dcu_drm_connector_mode_valid()
    9a8862820cbf hugetlbfs: fix null-ptr-deref in hugetlbfs_parse_param()
    4f6b206998c5 scsi: elx: libefc: Fix second parameter type in state callbacks
    23f0e9f86303 scsi: ufs: Reduce the START STOP UNIT timeout
    2cf66428a254 scsi: lpfc: Fix hard lockup when reading the rx_monitor from debugfs
    2b3e3ecdb402 crypto: hisilicon/hpre - fix resource leak in remove process
    adf6a00859d0 clk: st: Fix memory leak in st_of_quadfs_setup()
    6c8aee0c8fcc media: si470x: Fix use-after-free in si470x_int_in_callback()
    58b6496a745f mmc: renesas_sdhi: better reset from HS400 mode
    c33c904124c4 mmc: f-sdh30: Add quirks for broken timeout clock capability
    69346de0eb95 wifi: mt76: do not run mt76u_status_worker if the device is not running
    feb847e6591e regulator: core: fix use_count leakage when handling boot-on
    474e70bd90cf libbpf: Avoid enum forward-declarations in public API in C++ mode
    62095428690c drm/amd/display: Use the largest vready_offset in pipe group
    eff45bfbc25a blk-mq: fix possible memleak when register 'hctx' failed
    d0af6220bb1e media: dvb-usb: fix memory leak in dvb_usb_adapter_init()
    88a6f8a72d16 media: dvbdev: adopts refcnt to avoid UAF
    438cd29fec3e media: dvb-frontends: fix leak of memory fw
    a96841f5aa45 ethtool: avoiding integer overflow in ethtool_phys_id()
    b327c68ace71 bpf: Prevent decl_tag from being referenced in func_proto arg
    4b8f3b939266 ppp: associate skb with a device at tx
    5d5a481a7fd0 mrp: introduce active flags to prevent UAF when applicant uninit
    222cc0435698 ipv6/sit: use DEV_STATS_INC() to avoid data-races
    8a3b0237107a net: add atomic_long_t to net_device_stats fields
    58dd11f62427 drm/amd/display: fix array index out of bound error in bios parser
    a3cc41e05e8a md/raid1: stop mdx_raid1 thread when raid1 array run failed
    b621d17fe8b0 drivers/md/md-bitmap: check the return value of md_bitmap_get_counter()
    5afac74f153b drm/mediatek: Fix return type of mtk_hdmi_bridge_mode_valid()
    072508e99dad drm/sti: Use drm_mode_copy()
    673a3e019908 drm/rockchip: Use drm_mode_copy()
    b9b07900d249 drm/msm: Use drm_mode_copy()
    5ad774fb823c s390/lcs: Fix return type of lcs_start_xmit()
    dfbf0122ea1b s390/netiucv: Fix return type of netiucv_tx()
    8131d1880c09 s390/ctcm: Fix return type of ctc{mp,}m_tx()
    f9084e9930db drm/amdgpu: Fix type of second parameter in odn_edit_dpm_table() callback
    b74580d6184e drm/amdgpu: Fix type of second parameter in trans_msg() callback
    314f7092b277 igb: Do not free q_vector unless new one was allocated
    0b12d2aa264b wifi: brcmfmac: Fix potential shift-out-of-bounds in brcmf_fw_alloc_request()
    19bb9e98e103 hamradio: baycom_epp: Fix return type of baycom_send_packet()
    a413ebb6049e net: ethernet: ti: Fix return type of netcp_ndo_start_xmit()
    5d3f4478d22b bpf: make sure skb->len != 0 when redirecting to a tunneling device
    be2803dd29bd qed (gcc13): use u16 for fid to be big enough
    a8bc0ac43833 Revert "drm/amd/display: Limit max DSC target bpp for specific monitors"
    cc8deb82cca5 drm/amd/display: prevent memory leak
    49dd0e8029e8 ipmi: fix memleak when unload ipmi driver
    68871c005f3c ASoC: codecs: rt298: Add quirk for KBL-R RVP platform
    3eca9697c2f3 wifi: ar5523: Fix use-after-free on ar5523_cmd() timed out
    c319196a0e34 wifi: ath9k: verify the expected usb_endpoints are present
    10c4b63d09a5 brcmfmac: return error when getting invalid max_flowrings from dongle
    ad31bc146f0e media: imx-jpeg: Disable useless interrupt to avoid kernel panic
    6e1a6880e1e9 drm/etnaviv: add missing quirks for GC300
    367296925c76 hfs: fix OOB Read in __hfs_brec_find
    ebe16676e1dc acct: fix potential integer overflow in encode_comp_t()
    8b6ef451b570 nilfs2: fix shift-out-of-bounds due to too large exponent of block size
    b47f5c579c81 nilfs2: fix shift-out-of-bounds/overflow in nilfs_sb2_bad_offset()
    5777432ebaaf ACPICA: Fix error code path in acpi_ds_call_control_method()
    10b87da8fae7 fs: jfs: fix shift-out-of-bounds in dbDiscardAG
    5059ea84a8a8 jfs: Fix fortify moan in symlink
    e7a6a53c8714 udf: Avoid double brelse() in udf_rename()
    0536f76a2bca fs: jfs: fix shift-out-of-bounds in dbAllocAG
    88cea1676a09 binfmt_misc: fix shift-out-of-bounds in check_special_flags
    cadb938a5e50 x86/hyperv: Remove unregister syscore call from Hyper-V cleanup
    659747f6f610 video: hyperv_fb: Avoid taking busy spinlock on panic path
    9d05c20b0ac9 arm64: make is_ttbrX_addr() noinstr-safe
    98a5b1265a36 rcu: Fix __this_cpu_read() lockdep warning in rcu_force_quiescent_state()
    d238f94b2b61 HID: amd_sfh: Add missing check for dma_alloc_coherent
    9da204cd67c4 net: stream: purge sk_error_queue in sk_stream_kill_queues()
    f47426250fc0 myri10ge: Fix an error handling path in myri10ge_probe()
    1ec0a7d5b020 rxrpc: Fix missing unlock in rxrpc_do_sendmsg()
    5478eb7adcc5 net_sched: reject TCF_EM_SIMPLE case for complex ematch module
    4f05d8e2fb3a mailbox: zynq-ipi: fix error handling while device_register() fails
    550f403e4604 mailbox: arm_mhuv2: Fix return value check in mhuv2_probe()
    28604a960c90 mailbox: mpfs: read the system controller's status
    8fb773eed490 skbuff: Account for tail adjustment during pull operations
    dc0f38957aa2 arm64: dts: mt8183: Fix Mali GPU clock
    790b396f6bde soc: mediatek: pm-domains: Fix the power glitch issue
    0133615a0600 openvswitch: Fix flow lookup to use unmasked key
    04e454bd97e2 selftests: devlink: fix the fd redirect in dummy_reporter_test
    d52646a46c4d rtc: mxc_v2: Add missing clk_disable_unprepare()
    ac95c4e35fb2 igc: Set Qbv start_time and end_time to end_time if not being configured in GCL
    af599851388e igc: Lift TAPRIO schedule restriction
    4d50d640eda4 igc: recalculate Qbv end_time by considering cycle time
    1ef941695715 igc: allow BaseTime 0 enrollment for Qbv
    c0df8e7ba6aa igc: Add checking for basetime less than zero
    5b46b53f45f9 igc: Use strict cycles for Qbv scheduling
    fd7d02943659 igc: Enhance Qbv scheduling by using first flag bit
    9b5b50329e2e r6040: Fix kmemleak in probe and remove
    1b428ba31b91 unix: Fix race in SOCK_SEQPACKET's unix_dgram_sendmsg()
    aae9c24ebd90 nfc: pn533: Clear nfc_target before being used
    bcf2c1dc5358 net: enetc: avoid buffer leaks on xdp_do_redirect() failure
    f463a1295c4f selftests/bpf: Add test for unstable CT lookup API
    094f3d9314d6 block, bfq: fix possible uaf for 'bfqq->bic'
    cf48cb8debb2 mISDN: hfcmulti: don't call dev_kfree_skb/kfree_skb() under spin_lock_irqsave()
    560735375165 mISDN: hfcpci: don't call dev_kfree_skb/kfree_skb() under spin_lock_irqsave()
    ada4022f4891 mISDN: hfcsusb: don't call dev_kfree_skb/kfree_skb() under spin_lock_irqsave()
    0578f9929fd3 net: macsec: fix net device access prior to holding a lock
    a472f069ced8 nfsd: under NFSv4.1, fix double svc_xprt_put on rpc_create failure
    f8f1d037d63d rtc: pcf85063: fix pcf85063_clkout_control
    35a174552bde rtc: pic32: Move devm_rtc_allocate_device earlier in pic32_rtc_probe()
    eea105c4e4b6 rtc: st-lpc: Add missing clk_disable_unprepare in st_rtc_probe()
    74248b556006 netfilter: flowtable: really fix NAT IPv6 offload
    5c940632cabf mfd: pm8008: Fix return value check in pm8008_probe()
    ec10848e2638 mfd: pm8008: Remove driver data structure pm8008_data
    38959417d350 mfd: qcom_rpm: Fix an error handling path in qcom_rpm_probe()
    b95ae3543e51 mfd: bd957x: Fix Kconfig dependency on REGMAP_IRQ
    615d3c8a469d powerpc/pseries/eeh: use correct API for error log size
    68de42e00821 powerpc/eeh: Drop redundant spinlock initialization
    2b157b4b13b4 remoteproc: qcom: q6v5: Fix missing clk_disable_unprepare() in q6v5_wcss_qcs404_power_on()
    4b191533f57f remoteproc: qcom_q6v5_pas: Fix missing of_node_put() in adsp_alloc_memory_region()
    d7628ebca817 remoteproc: qcom_q6v5_pas: detach power domains on remove
    fdf47f462ad0 remoteproc: qcom_q6v5_pas: disable wakeup on probe fail or remove
    098ebb9089c4 remoteproc: qcom: q6v5: Fix potential null-ptr-deref in q6v5_wcss_init_mmio()
    131c0a3ead78 remoteproc: sysmon: fix memory leak in qcom_add_sysmon_subdev()
    4507c6a67234 pwm: mediatek: always use bus clock for PWM on MT7622
    4fbbb14f0ea4 pwm: mtk-disp: Fix the parameters calculated by the enabled flag of disp_pwm
    eec59807a26b pwm: sifive: Call pwm_sifive_update_clock() while mutex is held
    37ea9a6c417f iommu/sun50i: Remove IOMMU_DOMAIN_IDENTITY
    8de2c29db68b selftests/powerpc: Fix resource leaks
    dd49c5031e85 powerpc/hv-gpci: Fix hv_gpci event list
    65d3469f3b91 powerpc/83xx/mpc832x_rdb: call platform_device_put() in error case in of_fsl_spi_probe()
    cf03db289640 powerpc/perf: callchain validate kernel stack pointer bounds
    5de190224445 powerpc/xive: add missing iounmap() in error path in xive_spapr_populate_irq_data()
    b31e9647f1a2 powerpc/xmon: Fix -Wswitch-unreachable warning in bpt_cmds
    6a310e8db540 cxl: Fix refcount leak in cxl_calc_capp_routing
    0accd460dc7b powerpc/52xx: Fix a resource leak in an error handling path
    be2b9b1a60b7 macintosh/macio-adb: check the return value of ioremap()
    19ded60b40e8 macintosh: fix possible memory leak in macio_add_one_device()
    e42b543d0805 iommu/fsl_pamu: Fix resource leak in fsl_pamu_probe()
    6e501b3fd7a2 iommu/amd: Fix pci device refcount leak in ppr_notifier()
    9383921e8b21 rtc: pcf85063: Fix reading alarm
    b66aa7b30608 rtc: snvs: Allow a time difference on clock register read
    7a6cc22eab18 rtc: cmos: Disable ACPI RTC event on removal
    689f757f0ab0 rtc: cmos: Rename ACPI-related functions
    1c74bbecdabc rtc: cmos: Eliminate forward declarations of some functions
    3a439a2cab30 rtc: cmos: Call rtc_wake_setup() from cmos_do_probe()
    9febdff75cef rtc: cmos: Call cmos_wake_setup() from cmos_do_probe()
    d9324fb3eed7 rtc: cmos: fix build on non-ACPI platforms
    fe46b9303e32 rtc: cmos: Fix wake alarm breakage
    60c6e563a843 rtc: cmos: Fix event handler registration ordering issue
    d3aa0834691f rtc: rtc-cmos: Do not check ACPI_FADT_LOW_POWER_S0
    6e98a93c7500 dmaengine: idxd: Fix crc_val field for completion record
    ab53749c32db fs/ntfs3: Fix slab-out-of-bounds read in ntfs_trim_fs
    1ba0968b3341 pwm: tegra: Improve required rate calculation
    c160505c9b57 include/uapi/linux/swab: Fix potentially missing __always_inline
    59463193b0dc phy: usb: s2 WoL wakeup_count not incremented for USB->Eth devices
    ae00848e5569 iommu/rockchip: fix permission bits in page table entries v2
    a7f6ad2c4251 iommu/sun50i: Fix flush size
    38ccb9b469c2 iommu/sun50i: Fix R/W permission check
    ae4ab47a0bcd iommu/sun50i: Consider all fault sources for reset
    84fee3ce8216 iommu/sun50i: Fix reset release
    6f9fe31a4823 fs/ntfs3: Harden against integer overflows
    30f20ceb87f7 overflow: Implement size_t saturating arithmetic helpers
    4b51f27d4448 fs/ntfs3: Avoid UBSAN error on true_sectors_per_clst()
    28f345bec785 RDMA/siw: Fix pointer cast warning
    01d925e2a556 perf stat: Do not delay the workload with --delay
    a273f1dd5d97 perf stat: Refactor __run_perf_stat() common code
    d21534ab4fd7 power: supply: fix null pointer dereferencing in power_supply_get_battery_info
    d4898d8de620 power: supply: ab8500: Fix error handling in ab8500_charger_init()
    30b191798fda HSI: omap_ssi_core: Fix error handling in ssi_init()
    a72fe8eb5555 power: supply: z2_battery: Fix possible memleak in z2_batt_probe()
    5ba0e8fa150c perf symbol: correction while adjusting symbol
    a34027b63d8c perf trace: Handle failure when trace point folder is missed
    60aeacce64a9 perf trace: Use macro RAW_SYSCALL_ARGS_NUM to replace number
    e4700f62dc83 perf trace: Return error if a system call doesn't exist
    870ad0917d83 power: supply: fix residue sysfs file in error handle route of __power_supply_register()
    1c2b9c810076 HSI: omap_ssi_core: fix possible memory leak in ssi_probe()
    c5f729d3d61d HSI: omap_ssi_core: fix unbalanced pm_runtime_disable()
    ea37831f8332 fbdev: uvesafb: Fixes an error handling path in uvesafb_probe()
    5bcae36b58f6 fbdev: uvesafb: don't build on UML
    07c1a3c2df5e fbdev: geode: don't build on UML
    ace8312b5d7d fbdev: ep93xx-fb: Add missing clk_disable_unprepare in ep93xxfb_probe()
    04946113fb57 fbdev: vermilion: decrease reference count in error path
    fc0d5034fa9b fbdev: via: Fix error in via_core_init()
    98272463338c fbdev: pm2fb: fix missing pci_disable_device()
    3aa4205134ac fbdev: ssd1307fb: Drop optional dependency
    4958316a6d19 thermal/drivers/qcom/lmh: Fix irq handler return value
    ad72205ac6d2 thermal/drivers/qcom/temp-alarm: Fix inaccurate warning for gen2
    37fb4e13d221 thermal/drivers/imx8mm_thermal: Validate temperature range
    95c18f4a3c99 samples: vfio-mdev: Fix missing pci_disable_device() in mdpy_fb_probe()
    31c1b5d3000c ksmbd: Fix resource leak in ksmbd_session_rpc_open()
    a44102d36a7a tracing/hist: Fix issue of losting command info in error_log
    8308ccfcbd2b usb: storage: Add check for kcalloc
    96c12fd0ec74 i2c: ismt: Fix an out-of-bounds bug in ismt_access()
    821280094399 i2c: mux: reg: check return value after calling platform_get_resource()
    46d8f63bb815 gpiolib: protect the GPIO device against being dropped while in use by user-space
    333a271dfd6b gpiolib: make struct comments into real kernel docs
    7c755a2d6df5 gpiolib: cdev: fix NULL-pointer dereferences
    b0a26e199964 gpiolib: Get rid of redundant 'else'
    4bc217b25ea8 vme: Fix error not catched in fake_init()
    31bfe024a957 staging: rtl8192e: Fix potential use-after-free in rtllib_rx_Monitor()
    b0aaec894a90 staging: rtl8192u: Fix use after free in ieee80211_rx()
    ed4580c3f8e4 i2c: pxa-pci: fix missing pci_disable_device() on error in ce4100_i2c_probe
    28dc61cc49c6 chardev: fix error handling in cdev_device_add()
    43bfc7c2402a mcb: mcb-parse: fix error handing in chameleon_parse_gdd()
    f3686e5e8de0 drivers: mcb: fix resource leak in mcb_probe()
    9d4a0aca8a75 usb: gadget: f_hid: fix refcount leak on error path
    d3136b79705c usb: gadget: f_hid: fix f_hidg lifetime vs cdev
    a41c2bba7f28 usb: roles: fix of node refcount leak in usb_role_switch_is_parent()
    18b9202188a4 coresight: trbe: remove cpuhp instance node before remove cpuhp state
    e854a4ab388a counter: stm32-lptimer-cnt: fix the check on arr and cmp registers update
    39a156715fb7 iio: adis: add '__adis_enable_irq()' implementation
    3a2dde8e5d6f iio:imu:adis: Move exports into IIO_ADISLIB namespace
    3c2e13025b54 iio: adis: stylistic changes
    de3e358912ec iio: adis: handle devices that cannot unmask the drdy pin
    994243de7a61 iio: temperature: ltc2983: make bulk write buffer DMA-safe
    22511eefa61d cxl: fix possible null-ptr-deref in cxl_pci_init_afu|adapter()
    e5021bbf11b0 cxl: fix possible null-ptr-deref in cxl_guest_init_afu|adapter()
    b308fdedef09 firmware: raspberrypi: fix possible memory leak in rpi_firmware_probe()
    d5c8f9003a28 misc: sgi-gru: fix use-after-free error in gru_set_context_option, gru_fault and gru_handle_user_call_os
    848c45964ded misc: tifm: fix possible memory leak in tifm_7xx1_switch_media()
    37a13b274e45 ocxl: fix pci device refcount leak when calling get_function_0()
    3299983a6bf6 misc: ocxl: fix possible name leak in ocxl_file_register_afu()
    357379d504c0 test_firmware: fix memory leak in test_firmware_init()
    07d547d74244 serial: sunsab: Fix error handling in sunsab_init()
    919e745fdd0d serial: altera_uart: fix locking in polling mode
    e1c4f18214e3 tty: serial: altera_uart_{r,t}x_chars() need only uart_port
    b133b45ba607 tty: serial: clean up stop-tx part in altera_uart_tx_chars()
    6f7d82380fbe serial: pch: Fix PCI device refcount leak in pch_request_dma()
    0dfc7dfe5b6e serial: stm32: move dma_request_chan() before clk_prepare_enable()
    926b0967f781 serial: pl011: Do not clear RX FIFO & RX interrupt in unthrottle.
    d71a611fca19 serial: amba-pl011: avoid SBSA UART accessing DMACR register
    f46f9d2e1664 extcon: usbc-tusb320: Update state on probe even if no IRQ pending
    ac067e75c4c2 extcon: usbc-tusb320: Add USB TYPE-C support
    9280761167f0 extcon: usbc-tusb320: Factor out extcon into dedicated functions
    05aa8ff22d4a usb: typec: Factor out non-PD fwnode properties
    31e9c2751035 extcon: usbc-tusb320: Add support for TUSB320L
    b9c8820d91e9 extcon: usbc-tusb320: Add support for mode setting and reset
    4524599a6a29 usb: typec: tipd: Fix spurious fwnode_handle_put in error path
    b0d86eacc849 usb: typec: tipd: Cleanup resources if devm_tps6598_psy_register fails
    ba75be6f0d9d usb: typec: tcpci: fix of node refcount leak in tcpci_register_port()
    154d5713a241 usb: typec: Check for ops->exit instead of ops->enter in altmode_exit
    1f5661388f43 staging: vme_user: Fix possible UAF in tsi148_dma_list_add
    a3c4bc261605 usb: fotg210-udc: Fix ages old endianness issues
    5e87d412219e uio: uio_dmem_genirq: Fix deadlock between irq config and handling
    79a4bdb6b992 uio: uio_dmem_genirq: Fix missing unlock in irq configuration
    3f22a273ef7c vfio: platform: Do not pass return buffer to ACPI _RST method
    417ef049e3fd class: fix possible memory leak in __class_register()
    f76824ab2bac serial: 8250_bcm7271: Fix error handling in brcmuart_init()
    6b4424efcfaa serial: tegra: Read DMA status before terminating
    a0ead7e8da84 drivers: dio: fix possible memory leak in dio_init()
    e8985caf0589 RISC-V: Align the shadow stack
    ca48174a7643 IB/IPoIB: Fix queue count inconsistency for PKEY child interfaces
    82bd423ed977 hwrng: geode - Fix PCI device refcount leak
    2b79a5e56077 hwrng: amd - Fix PCI device refcount leak
    42cbff35f475 crypto: img-hash - Fix variable dereferenced before check 'hdev->req'
    b9634f99b6d4 RDMA/hns: Fix error code of CMD
    b06bb747ce1f RDMA/hns: Fix page size cap from firmware
    4c05c7cf2581 RDMA/hns: Fix PBL page MTR find
    fa267c419216 RDMA/hns: Fix AH attr queried by query_qp
    e27fb26e75cf orangefs: Fix sysfs not cleanup when dev init failed
    3e9c395ef2d5 PCI: mt7621: Add sentinel to quirks table
    bcc65c2e2a06 PCI: mt7621: Rename mt7621_pci_ to mt7621_pcie_
    0a7eab1cc436 RDMA/srp: Fix error return code in srp_parse_options()
    63011001792c RDMA/hfi1: Fix error return code in parse_platform_config()
    339ca035af43 riscv/mm: add arch hook arch_clear_hugepage_flags
    20d363dcd6dc crypto: omap-sham - Use pm_runtime_resume_and_get() in omap_sham_probe()
    815b65d714f8 crypto: amlogic - Remove kcalloc without check
    af71199291db RDMA/nldev: Fix failure to send large messages
    bb895786a49d f2fs: avoid victim selection from previous victim section
    655e955debde RDMA/nldev: Add checks for nla_nest_start() in fill_stat_counter_qps()
    1895e908b3ae scsi: snic: Fix possible UAF in snic_tgt_create()
    09a60f908d8b scsi: fcoe: Fix transport not deattached when fcoe_if_init() fails
    e59da172059f scsi: ipr: Fix WARNING in ipr_init()
    c444f58fdad6 scsi: scsi_debug: Fix possible name leak in sdebug_add_host_helper()
    4e4968dfb5fa scsi: fcoe: Fix possible name leak when device_register() fails
    0f5006d7d13b scsi: scsi_debug: Fix a warning in resp_report_zones()
    2432719b1afc scsi: scsi_debug: Fix a warning in resp_verify()
    038359eeccff scsi: efct: Fix possible memleak in efct_device_init()
    23053a792647 scsi: hpsa: Fix possible memory leak in hpsa_add_sas_device()
    2ab6d5927c7b scsi: hpsa: Fix error handling in hpsa_add_sas_host()
    6a92129c8f99 scsi: mpt3sas: Fix possible resource leaks in mpt3sas_transport_port_add()
    26c0f7e1ac92 padata: Fix list iterator in padata_do_serial()
    17afa98bccec padata: Always leave BHs disabled when running ->parallel()
    221afb2a1b8d crypto: tcrypt - Fix multibuffer skcipher speed test mem leak
    bfe10a1d9fbc scsi: hpsa: Fix possible memory leak in hpsa_init_one()
    38ef0c0b0973 dt-bindings: visconti-pcie: Fix interrupts array max constraints
    83aad8111bcf dt-bindings: imx6q-pcie: Fix clock names for imx6sx and imx8mq
    f64f08b9e6fb RDMA/rxe: Fix NULL-ptr-deref in rxe_qp_do_cleanup() when socket create failed
    35f9cd060e68 RDMA/hns: fix memory leak in hns_roce_alloc_mr()
    6d5220a553de crypto: ccree - Make cc_debugfs_global_fini() available for module init function
    2e9cf3e78311 RDMA/hfi: Decrease PCI device reference count in error path
    7f476d639c89 PCI: Check for alloc failure in pci_request_irq()
    49bc2be89759 RDMA/hns: Fix ext_sge num error when post send
    0e6160d79db7 RDMA/hns: Repacing 'dseg_len' by macros in fill_ext_sge_inl_data()
    e5ea48788ed6 crypto: hisilicon/qm - add missing pci_dev_put() in q_num_set()
    442caec12f4f crypto: cryptd - Use request context instead of stack for sub-request
    ab677729fc5c crypto: ccree - Remove debugfs when platform_driver_register failed
    0328ca389a80 scsi: scsi_debug: Fix a warning in resp_write_scat()
    1ba8ecb66432 RDMA/siw: Set defined status for work completion with undefined status
    6e757005ba49 RDMA/nldev: Return "-EAGAIN" if the cm_id isn't from expected port
    f981c697b2f9 RDMA/core: Make sure "ib_port" is valid when access sysfs node
    13586753ae55 RDMA/restrack: Release MR restrack when delete
    6e78ca677fa2 PCI: vmd: Disable MSI remapping after suspend
    47e31b86edff IB/mad: Don't call to function that might sleep while in atomic context
    f8d8fbd3b6d6 RDMA/siw: Fix immediate work request flush to completion queue
    2a26849d793b scsi: qla2xxx: Fix set-but-not-used variable warnings
    799ed3755951 RDMA/irdma: Report the correct link speed
    d40d1b1c61a4 f2fs: fix to destroy sbi->post_read_wq in error path of f2fs_fill_super()
    847f725006e3 f2fs: fix normal discard process
    865bb7b5a7de f2fs: fix to invalidate dcc->f2fs_issue_discard in error path
    5f509fa740b1 apparmor: Fix memleak in alloc_ns()
    46f3cb83e480 crypto: rockchip - rework by using crypto_engine
    3ed0548d395f crypto: rockchip - remove non-aligned handling
    5562009f5f88 crypto: rockchip - better handle cipher key
    26f397135606 crypto: rockchip - add fallback for ahash
    34fe54af3cf5 crypto: rockchip - add fallback for cipher
    314217591ec6 crypto: rockchip - do not store mode globally
    853cd97d2bc1 crypto: rockchip - do not do custom power management
    d5100272e478 f2fs: Fix the race condition of resize flag between resizefs
    db72c5dffcba PCI: pci-epf-test: Register notifier if only core_init_notifier is enabled
    26ffeff67b9a RDMA/core: Fix order of nldev_exit call
    a00a7ac25114 PCI: dwc: Fix n_fts[] array overrun
    10ae636115b5 apparmor: Use pointer to struct aa_label for lbs_cred
    8d50ccfbe27b scsi: core: Fix a race between scsi_done() and scsi_timeout()
    9bdf3a59b3dd crypto: nitrox - avoid double free on error path in nitrox_sriov_init()
    7efc0d39ee06 crypto: sun8i-ss - use dma_addr instead u32
    aaef0bdd7ad2 crypto: hisilicon/qm - fix missing destroy qp_idr
    d567776ae289 apparmor: Fix abi check to include v8 abi
    bc9d2cbbdcd3 apparmor: fix lockdep warning when removing a namespace
    775a37ffa9f4 apparmor: fix a memleak in multi_transaction_new()
    09f30f394e83 net: dsa: tag_8021q: avoid leaking ctx on dsa_tag_8021q_register() error path
    86664b865239 i40e: Fix the inability to attach XDP program on downed interface
    0abd337acdd2 stmmac: fix potential division by 0
    93a4a0455871 Bluetooth: RFCOMM: don't call kfree_skb() under spin_lock_irqsave()
    8d6bbe5241e7 Bluetooth: hci_core: don't call kfree_skb() under spin_lock_irqsave()
    804de4e24a5a Bluetooth: hci_bcsp: don't call kfree_skb() under spin_lock_irqsave()
    1030c3aeeef9 Bluetooth: hci_h5: don't call kfree_skb() under spin_lock_irqsave()
    9fcb5b367e6c Bluetooth: hci_ll: don't call kfree_skb() under spin_lock_irqsave()
    14cc94a59852 Bluetooth: hci_qca: don't call kfree_skb() under spin_lock_irqsave()
    06467130d521 Bluetooth: btusb: don't call kfree_skb() under spin_lock_irqsave()
    e52b7d460a30 Bluetooth: btintel: Fix missing free skb in btintel_setup_combined()
    f7c9de3bcfcd Bluetooth: MGMT: Fix error report for ADD_EXT_ADV_PARAMS
    2addf3cb6381 sctp: sysctl: make extra pointers netns aware
    21296a52caa6 ntb_netdev: Use dev_kfree_skb_any() in interrupt context
    0fff763f110f net: lan9303: Fix read error execution path
    882bad40a008 can: tcan4x5x: Fix use of register error status mask
    d50092f662ec can: m_can: Call the RAM init directly from m_can_chip_config
    55064642aac1 can: tcan4x5x: Remove invalid write in clear_interrupts
    641eef876657 net: amd-xgbe: Check only the minimum speed for active/passive cables
    60b35e28dc2a net: amd-xgbe: Fix logic around active and passive cables
    d436bf39f47b af_unix: call proto_unregister() in the error path in af_unix_init()
    ee9d03bf8907 net: amd: lance: don't call dev_kfree_skb() under spin_lock_irqsave()
    6f1c4c01cc9b hamradio: don't call dev_kfree_skb() under spin_lock_irqsave()
    eb2c6a6e8f75 net: ethernet: dnet: don't call dev_kfree_skb() under spin_lock_irqsave()
    ef08e1082c45 net: emaclite: don't call dev_kfree_skb() under spin_lock_irqsave()
    2786ef4066d9 net: apple: bmac: don't call dev_kfree_skb() under spin_lock_irqsave()
    d81314e2dded net: apple: mace: don't call dev_kfree_skb() under spin_lock_irqsave()
    9a6544343bba net/tunnel: wait until all sk_user_data reader finish before releasing the sock
    998b4e54f517 net: farsync: Fix kmemleak when rmmods farsync
    71605c690621 ethernet: s2io: don't call dev_kfree_skb() under spin_lock_irqsave()
    ce1b3a41e796 of: overlay: fix null pointer dereferencing in find_dup_cset_node_entry() and find_dup_cset_prop()
    8399b9893548 drivers: net: qlcnic: Fix potential memory leak in qlcnic_sriov_init()
    96e50897029f net: stmmac: fix possible memory leak in stmmac_dvr_probe()
    ecaf934e4412 net: stmmac: selftests: fix potential memleak in stmmac_test_arpoffload()
    e1359bc90a49 net: defxx: Fix missing err handling in dfx_init()
    c65603abc389 net: vmw_vsock: vmci: Check memcpy_from_msg()
    9de42116fc45 clk: socfpga: Fix memory leak in socfpga_gate_init()
    e515881adeb1 bpf: Do not zero-extend kfunc return values
    ce61a877c79f blktrace: Fix output non-blktrace event when blk_classic option enabled
    f2ae56fa0b61 wifi: brcmfmac: Fix error return code in brcmf_sdio_download_firmware()
    23060daf3759 wifi: rtl8xxxu: Fix the channel width reporting
    6d0e00334e31 wifi: rtl8xxxu: Add __packed to struct rtl8723bu_c2h
    e69d38065080 spi: spi-gpio: Don't set MOSI as an input if not 3WIRE mode
    4e501a31af8e clk: samsung: Fix memory leak in _samsung_clk_register_pll()
    441c05485cf1 media: coda: Add check for kmalloc
    b99872178e74 media: coda: Add check for dcoda_iram_alloc
    fbf081ebe268 media: c8sectpfe: Add of_node_put() when breaking out of loop
    2a7330d8200e regulator: qcom-labibb: Fix missing of_node_put() in qcom_labibb_regulator_probe()
    ecf1b317a86b mmc: core: Normalize the error handling branch in sd_read_ext_regs()
    7fecca429e6e memstick/ms_block: Add check for alloc_ordered_workqueue
    b77ced3fce5c memstick: ms_block: Add error handling support for add_disk()
    ae00eb67792b mmc: renesas_sdhi: alway populate SCC pointer
    88fa6a4e39c1 mmc: mmci: fix return value check of mmc_add_host()
    29c3690969e7 mmc: wbsd: fix return value check of mmc_add_host()
    0959cc1685eb mmc: via-sdmmc: fix return value check of mmc_add_host()
    e0cfe7aa41f3 mmc: meson-gx: fix return value check of mmc_add_host()
    62005dfcc396 mmc: omap_hsmmc: fix return value check of mmc_add_host()
    1925472dec31 mmc: atmel-mci: fix return value check of mmc_add_host()
    58c3a8d0f1ab mmc: wmt-sdmmc: fix return value check of mmc_add_host()
    afc898019e7b mmc: vub300: fix return value check of mmc_add_host()
    6444079767b6 mmc: toshsd: fix return value check of mmc_add_host()
    df683201c7ff mmc: rtsx_usb_sdmmc: fix return value check of mmc_add_host()
    30dc645461df mmc: rtsx_pci: fix return value check of mmc_add_host()
    bc7e8744f581 mmc: pxamci: fix return value check of mmc_add_host()
    2d496050ded8 mmc: mxcmmc: fix return value check of mmc_add_host()
    f0502fe86a2d mmc: moxart: fix return value check of mmc_add_host()
    29c5b4da41f3 mmc: alcor: fix return value check of mmc_add_host()
    52e0d8a8dda3 riscv, bpf: Emit fixed-length instructions for BPF_PSEUDO_FUNC
    0de70ed675fa NFSv4.x: Fail client initialisation if state manager thread can't run
    7055c878a0ec SUNRPC: Fix missing release socket in rpc_sockname()
    79d4cd40da5a xprtrdma: Fix regbuf data not freed in rpcrdma_req_create()
    cba633b24a98 ALSA: mts64: fix possible null-ptr-defer in snd_mts64_interrupt
    9018550d96df media: saa7164: fix missing pci_disable_device()
    2df1e2a6ec52 ALSA: pcm: Set missing stop_operating flag at undoing trigger start
    a443c55d96de bpf, sockmap: fix race in sock_map_free()
    5229b9033713 hwmon: (jc42) Restore the min/max/critical temperatures on resume
    785f5c732ab8 hwmon: (jc42) Convert register access and caching to regmap/regcache
    c4c64d8abd65 regulator: core: fix resource leak in regulator_register()
    07f82dca1122 configfs: fix possible memory leak in configfs_create_dir()
    21a061772b08 hsr: Synchronize sequence number updates.
    a82f5b2e0864 hsr: Synchronize sending frames to have always incremented outgoing seq nr.
    bb3b40cd6ae5 hsr: Disable netpoll.
    8e148d981bcc hsr: Avoid double remove of a node.
    9387cbf7f7fd hsr: Add a rcu-read lock to hsr_forward_skb().
    a051e10bfc69 clk: qcom: clk-krait: fix wrong div2 functions
    8275c7465d9e clk: qcom: lpass-sc7180: Fix pm_runtime usage
    91657ec4d0e5 regulator: core: fix module refcount leak in set_supply()
    66976a3be9bc wifi: mt76: fix coverity overrun-call in mt76_get_txpower()
    a21e3f6f414b wifi: mt76: mt7921: fix reporting of TX AGGR histogram
    c8659018b630 mt76: stop the radar detector after leaving dfs channel
    ae19622e7ff8 wifi: cfg80211: Fix not unregister reg_pdev when load_builtin_regdb_keys() fails
    2e32f1299814 wifi: mac80211: fix memory leak in ieee80211_if_add()
    f58888434d75 spi: spidev: mask SPI_CS_HIGH in SPI_IOC_RD_MODE
    b6d27d9250e7 bonding: uninitialized variable in bond_miimon_inspect()
    7201e4f4f52e bpf, sockmap: Fix data loss caused by using apply_bytes on ingress redirect
    6105ed3598e1 bpf, sockmap: Fix missing BPF_F_INGRESS flag when using apply_bytes
    8786bde11a4f bpf, sockmap: Fix repeated calls to sock_put() when msg has more_data
    a222f992ce5b Input: wistron_btns - disable on UML
    d78649c21bbb netfilter: conntrack: set icmpv6 redirects as RELATED
    09fe3b139268 ASoC: pcm512x: Fix PM disable depth imbalance in pcm512x_probe
    8876793e56ec drm/amdkfd: Fix memory leakage
    8f2d2badf8ca drm/amdgpu: Fix PCI device refcount leak in amdgpu_atrm_get_bios()
    88c6e0995c04 drm/radeon: Fix PCI device refcount leak in radeon_atrm_get_bios()
    0af0ff9fc00d drm/amd/pm/smu11: BACO is supported when it's in BACO state
    27e7cf595d4a ASoC: mediatek: mt8173: Enable IRQ when pdata is ready
    905e5653756a ASoC: mediatek: mt8173: Fix debugfs registration for components
    d8e32f1bf1a9 wifi: iwlwifi: mvm: fix double free on tx path.
    d0bb44775c44 ALSA: asihpi: fix missing pci_disable_device()
    f12377abac15 NFS: Fix an Oops in nfs_d_automount()
    9a96aff53c21 NFSv4: Fix a deadlock between nfs4_open_recover_helper() and delegreturn
    c6aca4c7ba8f NFSv4: Fix a credential leak in _nfs4_discover_trunking()
    7f6607c88426 NFSv4.2: Fix initialisation of struct nfs4_label
    51899eefd1a6 NFSv4.2: Fix a memory stomp in decode_attr_security_label
    34dffc77ddf6 NFSv4.2: Clear FATTR4_WORD2_SECURITY_LABEL when done decoding
    d926611c89ac ASoC: mediatek: mtk-btcvsd: Add checks for write and read of mtk_btcvsd_snd
    f243ff92d6d3 ASoC: dt-bindings: wcd9335: fix reset line polarity in example
    41d7b8291c6d drm/tegra: Add missing clk_disable_unprepare() in tegra_dc_probe()
    2376d7fa08bb media: s5p-mfc: Add variant data for MFC v7 hardware for Exynos 3250 SoC
    210fcf64be4d media: dvb-usb: az6027: fix null-ptr-deref in az6027_i2c_xfer()
    b223cc15f922 media: dvb-core: Fix ignored return value in dvb_register_frontend()
    825a8af31d6b pinctrl: pinconf-generic: add missing of_node_put()
    eedc698d6610 clk: imx8mn: fix imx8mn_enet_phy_sels clocks list
    f86a432604c3 clk: imx8mn: fix imx8mn_sai2_sels clocks list
    5e98c3a34503 clk: imx: replace osc_hdmi with dummy
    9453e097b862 clk: imx8mn: rename vpu_pll to m7_alt_pll
    bffc80bac8c5 media: imon: fix a race condition in send_packet()
    9c9ff35d6869 media: vimc: Fix wrong function called when vimc_init() fails
    f849c116d320 ASoC: qcom: Add checks for devm_kcalloc
    16437645dd97 drbd: destroy workqueue when drbd device was freed
    cdaf45415c1e drbd: remove call to memset before free device/resource/connection
    f35981083cb3 mtd: maps: pxa2xx-flash: fix memory leak in probe
    87c750affd88 bonding: fix link recovery in mode 2 when updelay is nonzero
    02105f0b3021 drm/amdgpu: fix pci device refcount leak
    5b0a1f1247cd clk: rockchip: Fix memory leak in rockchip_clk_register_pll()
    27aac5c01246 regulator: core: use kfree_const() to free space conditionally
    a69b1faa9b14 ALSA: seq: fix undefined behavior in bit shift for SNDRV_SEQ_FILTER_USE_EVENT
    9c0f3617ba31 ALSA: pcm: fix undefined behavior in bit shift for SNDRV_PCM_RATE_KNOT
    6159424e2dd9 pinctrl: k210: call of_node_put()
    18a973fcb190 HID: hid-sensor-custom: set fixed size for custom attributes
    0fc4280dbec3 bpf: Move skb->len == 0 checks into __bpf_redirect
    8dbcb4c284bc mtd: spi-nor: Fix the number of bytes for the dummy cycles
    58e1a0ef5255 mtd: spi-nor: hide jedec_id sysfs attribute if not present
    348d95e39fec inet: add READ_ONCE(sk->sk_bound_dev_if) in inet_csk_bind_conflict()
    4451bef1a3dd media: videobuf-dma-contig: use dma_mmap_coherent
    b2781a862608 media: platform: exynos4-is: Fix error handling in fimc_md_init()
    7cf71bbe5d2e media: solo6x10: fix possible memory leak in solo_sysfs_init()
    c290aa527fd8 media: vidtv: Fix use-after-free in vidtv_bridge_dvb_init()
    648f3031025a Input: elants_i2c - properly handle the reset GPIO when power is off
    e0d3e46ac666 mtd: lpddr2_nvm: Fix possible null-ptr-deref
    ab4e42f51931 drm/msm/a6xx: Fix speed-bin detection vs probe-defer
    fea795f7c7cf wifi: ath10k: Fix return value in ath10k_pci_init()
    77482c4dd4a0 block: clear ->slave_dir when dropping the main slave_dir reference
    62251948e2e7 ima: Fix misuse of dereference of pointer in template_desc_init_fields()
    29d6c69ba4b9 integrity: Fix memory leakage in keyring allocation error path
    8e6df9571744 drm/fourcc: Fix vsub/hsub for Q410 and Q401
    ec1727f89ecd drm/fourcc: Add packed 10bit YUV 4:2:0 format
    f72608b8dd08 regulator: qcom-rpmh: Fix PMR735a S3 regulator spec
    63d011ad0505 nvme: return err on nvme_init_non_mdts_limits fail
    f289a38df0da amdgpu/pm: prevent array underflow in vega20_odn_edit_dpm_table()
    cda1895f3b7f regulator: core: fix unbalanced of node refcount in regulator_dev_lookup()
    1a5aaa5736eb nvmet: only allocate a single slab for bvecs
    cb3033a43263 libbpf: Fix uninitialized warning in btf_dump_dump_type_data
    83baa509396a ASoC: pxa: fix null-pointer dereference in filter()
    a06ba0f7f859 drm/mediatek: Modify dpi power on/off sequence.
    6d25bc637081 drm/radeon: Add the missed acpi_put_table() to fix memory leak
    4cf11e9d3144 bfq: fix waker_bfqq inconsistency crash
    55e822212e78 rxrpc: Fix ack.bufferSize to be 0 when generating an ack
    5ef8bf0df14d net, proc: Provide PROC_FS=n fallback for proc_create_net_single_write()
    d1c44928bb3c media: camss: Clean up received buffers on failed start of streaming
    3b4b4df3f8d8 wifi: rsi: Fix handling of 802.3 EAPOL frames sent via control port
    9e1440c858e6 Input: joystick - fix Kconfig warning for JOYSTICK_ADC
    71212d731848 mtd: Fix device name leak when register device failed in add_mtd_device()
    106311677b27 clk: qcom: gcc-sm8250: Use retention mode for USB GDSCs
    322c7415e77e bpf: propagate precision across all frames, not just the last one
    07c286c10a9c bpf: Check the other end of slot_type for STACK_SPILL
    fdbc363bc1d0 bpf: propagate precision in ALU/ALU64 operations
    b29e46610cfe media: platform: exynos4-is: fix return value check in fimc_md_probe()
    ab54081a2843 media: vivid: fix compose size exceed boundary
    3c58c83c6fc8 bpf: Fix slot type check in check_stack_write_var_off
    cffa75198ca1 drm/msm/hdmi: use devres helper for runtime PM management
    58d002b72e0a drm/msm/hdmi: drop unused GPIO support
    2d4bc60693c4 ima: Handle -ESTALE returned by ima_filter_rule_match()
    13fc167e1645 drm/panel/panel-sitronix-st7701: Remove panel on DSI attach failure
    c20672cfa097 spi: Update reference to struct spi_controller
    2858d038c5d3 clk: renesas: r9a06g032: Repair grave increment error
    f6ed73db3903 drm/rockchip: lvds: fix PM usage counter unbalance in poweron
    13fab6322b9f can: kvaser_usb: Compare requested bittiming parameters with actual parameters in do_set_{,data}_bittiming
    4e55d61e87f2 can: kvaser_usb: Add struct kvaser_usb_busparams
    fcfd4df200ff can: kvaser_usb_leaf: Fix bogus restart events
    51f07da38bae can: kvaser_usb_leaf: Fix wrong CAN state after stopping
    647c26887b5b can: kvaser_usb_leaf: Fix improved state not being reported
    9676d65a4ad3 can: kvaser_usb: make use of units.h in assignment of frequency
    c76110856281 can: kvaser_usb_leaf: Set Warning state even without bus errors
    a60bf9d81473 can: kvaser_usb: kvaser_usb_leaf: Handle CMD_ERROR_EVENT
    8aae6bddc1d3 can: kvaser_usb: kvaser_usb_leaf: Rename {leaf,usbcan}_cmd_error_event to {leaf,usbcan}_cmd_can_error_event
    972270be2452 can: kvaser_usb: kvaser_usb_leaf: Get capabilities from device
    e9e0d9945fd1 can: kvaser_usb: do not increase tx statistics when sending error message frames
    e39bce64e58e libbpf: Btf dedup identical struct test needs check for nested structs/arrays
    d4419f93e214 media: exynos4-is: don't rely on the v4l2_async_subdev internals
    8741792d8274 soreuseport: Fix socket selection for SO_INCOMING_CPU.
    094f56192c56 venus: pm_helpers: Fix error check in vcodec_domains_get()
    3c793a9ad9d3 media: i2c: ad5820: Fix error path
    07611f9e44e1 media: adv748x: afe: Select input port when initializing AFE
    aa81257dbf3b media: coda: jpeg: Add check for kmalloc
    9a402adc9f5e media: v4l2-ctrls: Fix off-by-one error in integer menu control check
    1caed03305b5 drm/amdgpu/powerplay/psm: Fix memory leak in power state init
    f66a8770832e ipmi: kcs: Poll OBF briefly to reduce OBE latency
    983320199e33 ata: libata: fix NCQ autosense logic
    a9caf71aeb48 ata: add/use ata_taskfile::{error|status} fields
    3483c3fb4877 ata: libata: move ata_{port,link,dev}_dbg to standard pr_XXX() macros
    67061355776e libbpf: Fix null-pointer dereference in find_prog_by_sec_insn()
    a733bf10198e libbpf: Fix use-after-free in btf_dump_name_dups
    b5ec2a04fed3 drm/bridge: adv7533: remove dynamic lane switching from adv7533 bridge
    6d40a49d0559 wifi: rtl8xxxu: Fix reading the vendor of combo chips
    355f16f756aa wifi: ath9k: hif_usb: Fix use-after-free in ath9k_hif_usb_reg_in_cb()
    d856f7574bcc wifi: ath9k: hif_usb: fix memory leak of urbs in ath9k_hif_usb_dealloc_tx_urbs()
    12229a2523f0 platform/mellanox: mlxbf-pmc: Fix event typo
    a0d93aac54ce rapidio: devices: fix missing put_device in mport_cdev_open
    7af9cb8cbb81 hfs: Fix OOB Write in hfs_asc2mac
    90962b3b1c3b relay: fix type mismatch when allocating memory in relay_create_buf()
    0d60b11f8fce eventfd: change int to __u64 in eventfd_signal() ifndef CONFIG_EVENTFD
    2f5cc7fd73fd rapidio: fix possible UAF when kfifo_alloc() fails
    337b68da6856 fs: sysv: Fix sysv_nblocks() returns wrong value
    95d42a8d3d4a lockd: set other missing fields when unlocking files
    318229b4d35b MIPS: OCTEON: warn only once if deprecated link status is being used
    5e6d37a93a38 MIPS: BCM63xx: Add check for NULL for clk in clk_enable
    50af0ba3e163 platform/x86: intel_scu_ipc: fix possible name leak in __intel_scu_ipc_register()
    3cf81501356c platform/x86: mxm-wmi: fix memleak in mxm_wmi_call_mx[ds|mx]()
    0ceadb5a3e45 platform/chrome: cros_ec_typec: zero out stale pointers
    49c98b568881 platform/chrome: cros_ec_typec: Cleanup switch handle return paths
    b55ef8508ac4 PM: runtime: Do not call __rpm_callback() from rpm_idle()
    0bf874183b32 xen/privcmd: Fix a possible warning in privcmd_ioctl_mmap_resource()
    70966d6b0f59 x86/xen: Fix memory leak in xen_init_lock_cpu()
    23aef94eea71 x86/xen: Fix memory leak in xen_smp_intr_init{_pv}()
    03ab1c5c2f0b uprobes/x86: Allow to probe a NOP instruction with 0x66 prefix
    6fde666278f9 ACPICA: Fix use-after-free in acpi_ut_copy_ipackage_to_ipackage()
    9cabd5f4f1ba clocksource/drivers/timer-ti-dm: Fix missing clk_disable_unprepare in dmtimer_systimer_init_clock()
    b73c76c3c445 cpu/hotplug: Do not bail-out in DYING/STARTING sections
    6eb1802184df cpu/hotplug: Make target_store() a nop when target == state
    cd130e2676dd futex: Resend potentially swallowed owner death notification
    fd8a10d44c11 futex: Move to kernel/futex/
    156144bd18c3 mips: ralink: mt7621: do not use kzalloc too early
    186d59bb6a54 mips: ralink: mt7621: soc queries and tests as functions
    8348da01e5c6 mips: ralink: mt7621: define MT7621_SYSC_BASE with __iomem
    0f8e6fe09cfa clocksource/drivers/sh_cmt: Access registers according to spec
    a47de2fd3f88 rapidio: rio: fix possible name leak in rio_register_mport()
    ec3f04f74f50 rapidio: fix possible name leaks when rio_add_device() fails
    4662d8e6ab20 debugfs: fix error when writing negative value to atomic_t debugfs file
    7e8e8cc13625 lib/notifier-error-inject: fix error when writing -errno to debugfs file
    39b5e6130b73 libfs: add DEFINE_SIMPLE_ATTRIBUTE_SIGNED for signed value
    19c202e6e55c cpufreq: amd_freq_sensitivity: Add missing pci_dev_put()
    93e3c803383a genirq/irqdesc: Don't try to remove non-existing sysfs files
    435cc7d18c96 nfsd: don't call nfsd_file_put from client states seqfile display
    5030d4d2bf8b NFSD: Finish converting the NFSv2 GETACL result encoder
    e498675e0684 SUNRPC: Return true/false (not 1/0) from bool functions
    3e255dc21031 EDAC/i10nm: fix refcount leak in pci_get_dev_wrapper()
    740efb64ca5e irqchip/wpcm450: Fix memory leak in wpcm450_aic_of_init()
    77b99b483f82 irqchip: gic-pm: Use pm_runtime_resume_and_get() in gic_probe()
    5139cbc0c6e4 thermal: core: fix some possible name leaks in error paths
    cab345f9d519 platform/chrome: cros_usbpd_notify: Fix error handling in cros_usbpd_notify_init()
    0358bc7cc21a perf/x86/intel/uncore: Fix reference count leak in __uncore_imc_init_box()
    433bd587dca5 perf/x86/intel/uncore: Fix reference count leak in snr_uncore_mmio_map()
    3485f1975180 perf/x86/intel/uncore: Fix reference count leak in hswep_has_limit_sbox()
    0021ef7dc612 perf/x86/intel/uncore: Fix reference count leak in sad_cfg_iio_topology()
    c12b314bb23d PNP: fix name memory leak in pnp_alloc_dev()
    f1c7a6af710c selftests/efivarfs: Add checking of the test return value
    46be3ee1cab9 MIPS: vpe-cmp: fix possible memory leak while module exiting
    e820a8192ff6 MIPS: vpe-mt: fix possible memory leak while module exiting
    61d68cf2ba79 ocfs2: fix memory leak in ocfs2_stack_glue_init()
    e83b47580a07 lib/fonts: fix undefined behavior in bit shift for get_default_font
    0df7d9ab6bce proc: fixup uptime selftest
    07b8659b8e5b timerqueue: Use rb_entry_safe() in timerqueue_getnext()
    413b18866b40 platform/x86: huawei-wmi: fix return value calculation
    4b469322830d lib/debugobjects: fix stat count and optimize debug_objects_mem_init
    f790dfe81629 perf: Fix possible memleak in pmu_dev_alloc()
    418d21c0df5b selftests/ftrace: event_triggers: wait longer for test_event_enable
    4ea765b10624 cpufreq: qcom-hw: Fix memory leak in qcom_cpufreq_hw_read_lut()
    c52d9c25d95c fs: don't audit the capability check in simple_xattr_list()
    e4d0d13b46c6 PM: hibernate: Fix mistake in kerneldoc comment
    1f62b8e50dd2 x86/sgx: Reduce delay and interference of enclave release
    f5b88170f09c alpha: fix syscall entry in !AUDUT_SYSCALL case
    a819ba80b99c alpha: fix TIF_NOTIFY_SIGNAL handling
    eb2a732ef451 cpuidle: dt: Return the correct numbers of parsed idle states
    3af4f5cb8ae7 sched/uclamp: Make asym_fits_capacity() use util_fits_cpu()
    23cb580e0c6b sched/core: Introduce sched_asym_cpucap_active()
    41c2dba3885e sched/fair: Removed useless update of p->recent_used_cpu
    55ffeab089aa sched/uclamp: Make select_idle_capacity() use util_fits_cpu()
    4639bfbb83bd sched/uclamp: Make task_fits_capacity() use util_fits_cpu()
    309e50cbfefc sched/uclamp: Fix relationship between uclamp and migration margin
    54a766e19681 sched/fair: Cleanup task_util and capacity type
    26bffaf6784a ovl: remove privs in ovl_fallocate()
    5dc34f9aaaf4 ovl: remove privs in ovl_copyfile()
    9636e70ee2d3 ovl: use ovl_copy_{real,upper}attr() wrappers
    a54843833caf ovl: store lower path in ovl_inode
    163c5bbe7d2f tpm/tpm_crb: Fix error message in __crb_relinquish_locality()
    fe880e9df97a tpm/tpm_ftpm_tee: Fix error handling in ftpm_mod_init()
    ebc73c4f2662 pstore: Avoid kcore oops by vmap()ing with VM_IOREMAP
    d4dcde11bff2 ARM: mmp: fix timer_read delay
    95916147dcc7 pstore/ram: Fix error return code in ramoops_probe()
    a31a647a3d10 seccomp: Move copy_seccomp() to no failure path.
    b8b76b8da66d arm64: dts: armada-3720-turris-mox: Add missing interrupt for RTC
    820a5ccca7c3 ARM: dts: turris-omnia: Add switch port 6 node
    b311f8e9f503 ARM: dts: turris-omnia: Add ethernet aliases
    48ebdd06c93c ARM: dts: armada-39x: Fix assigned-addresses for every PCIe Root Port
    f27dd04e44d8 ARM: dts: armada-38x: Fix assigned-addresses for every PCIe Root Port
    1e53c63da8df ARM: dts: armada-375: Fix assigned-addresses for every PCIe Root Port
    3af1a73e9e30 ARM: dts: armada-xp: Fix assigned-addresses for every PCIe Root Port
    e4ed8133c46d ARM: dts: armada-370: Fix assigned-addresses for every PCIe Root Port
    b335b6344ee1 ARM: dts: dove: Fix assigned-addresses for every PCIe Root Port
    5b3415e68336 arm64: dts: mediatek: mt6797: Fix 26M oscillator unit name
    93f5e6649619 arm64: dts: mediatek: pumpkin-common: Fix devicetree warnings
    debd938e21cd arm64: dts: mt2712-evb: Fix usb vbus regulators unit names
    b2c6397754f1 arm64: dts: mt2712-evb: Fix vproc fixed regulators unit names
    96c972f83593 arm64: dts: mt2712e: Fix unit address for pinctrl node
    2cd1391c28e8 arm64: dts: mt2712e: Fix unit_address_vs_reg warning for oscillators
    39877a3636cd arm64: dts: mt6779: Fix devicetree build warnings
    af431ce47ef0 ARM: dts: nuvoton: Remove bogus unit addresses from fixed-partition nodes
    0a616049ec03 arm64: dts: ti: k3-j721e-main: Drop dma-coherent in crypto node
    22a740824af8 arm64: dts: ti: k3-am65-main: Drop dma-coherent in crypto node
    b131304fe722 perf/smmuv3: Fix hotplug callback leak in arm_smmu_pmu_init()
    b99fbe8d949a perf/arm_dmc620: Fix hotplug callback leak in dmc620_pmu_init()
    9285b623bbe1 perf: arm_dsu: Fix hotplug callback leak in dsu_pmu_init()
    e6318a7e19f5 arm64: mm: kfence: only handle translation faults
    46ddfb9d1e46 arm64: Treat ESR_ELx as a 64-bit register
    681e3401286b soc: ti: smartreflex: Fix PM disable depth imbalance in omap_sr_probe
    6eca7a2535eb soc: ti: knav_qmss_queue: Fix PM disable depth imbalance in knav_queue_probe
    972f8fc0651e soc: ti: knav_qmss_queue: Use pm_runtime_resume_and_get instead of pm_runtime_get_sync
    fe53048f2adb arm: dts: spear600: Fix clcd interrupt
    75baeec4642f arm64: dts: qcom: sm6125: fix SDHCI CQE reg names
    0f9ac041911d soc: qcom: apr: Add check for idr_alloc and of_property_read_string_index
    6855dd02c55d soc: qcom: apr: make code more reuseable
    c9fb81a8355c arm64: dts: qcom: sm8250: drop bogus DP PHY clock
    53ffa5746415 arm64: dts: qcom: sm8350: fix UFS PHY registers
    d5a6bbd7a231 arm64: dts: qcom: sm8250: fix UFS PHY registers
    3a52ff845f12 arm64: dts: qcom: sm8150: fix UFS PHY registers
    800f8165e0ca arm64: dts: qcom: Correct QMP PHY child node name
    ee136f275bad soc: qcom: llcc: make irq truly optional
    aa7ffd41749b arm64: dts: qcom: sm8250: correct LPASS pin pull down
    f94bacc616f2 arm64: dts: qcom: pm660: Use unique ADC5_VCOIN address in node name
    d5bf1197817d drivers: soc: ti: knav_qmss_queue: Mark knav_acc_firmwares as static
    4707d5daf842 ARM: dts: stm32: Fix AV96 WLAN regulator gpio property
    33647d7a467d ARM: dts: stm32: Drop stm32mp15xc.dtsi from Avenger96
    9f271a866071 objtool, kcsan: Add volatile read/write instrumentation to whitelist
    51fe2dcba805 arm64: dts: qcom: msm8916: Drop MSS fallback compatible
    a9fff3524f2a arm64: dts: qcom: sdm845-cheza: fix AP suspend pin bias
    6487f48ea359 arm64: dts: qcom: sdm630: fix UART1 pin bias
    6c0c9c545857 ARM: dts: qcom: apq8064: fix coresight compatible
    0f9b088d68ba arm64: dts: qcom: msm8996: fix GPU OPP table
    270683fc7b3c arm64: dts: qcom: msm8996: fix supported-hw in cpufreq OPP tables
    5c5a62891434 arm64: dts: qcom: msm8996: Add MSM8996 Pro support
    3f14048ee419 arm64: dts: qcom: sm8250-sony-xperia-edo: fix touchscreen bias-disable
    89f79f8d7f30 arm64: dts: qcom: ipq6018-cp01-c1: use BLSPI1 pins
    9db5992e72ed usb: musb: remove extra check in musb_gadget_vbus_draw
    adc063a491a7 drm/amd/display: Manually adjust strobe for DCN303
    5827ddaf4534 Linux 5.15.85
    e22dbadac8d4 net: loopback: use NET_NAME_PREDICTABLE for name_assign_type
    314e7a7836c7 selftests: net: Use "grep -E" instead of "egrep"
    19a78143961a Bluetooth: L2CAP: Fix u8 overflow
    f692abf13940 HID: uclogic: Add HID_QUIRK_HIDINPUT_FORCE quirk
    5325a884e2c3 usb: dwc3: pci: Update PCIe device ID for USB3 controller on CPU sub-system for Raptor Lake
    367e1e3399db igb: Initialize mailbox message for VF reset
    a301742b35bc xhci: Apply XHCI_RESET_TO_DEFAULT quirk to ADL-N
    5e959f0c4c57 USB: serial: f81534: fix division by zero on line-speed change
    68fbe268d2cb USB: serial: f81232: fix division by zero on line-speed change
    3ec7f24b8bb8 USB: serial: cp210x: add Kamstrup RF sniffer PIDs
    2b092fab2340 USB: serial: option: add Quectel EM05-G modem
    6b41a35b41f7 usb: gadget: uvc: Prevent buffer overflow in setup handler
    828112571c92 udf: Fix extending file within last block
    df1a2596c775 udf: Do not bother looking for prealloc extents if i_lenExtents matches i_size
    63dbbd8f1499 udf: Fix preallocation discarding at indirect extent boundary
    79a97f08ae5d udf: Discard preallocation before extending file with a hole

(From OE-Core rev: 4d05613d34e590a1382fe0581cd25352890e899e)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 716a30060d8c1be02d9711204b5b001e71d7d890)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-04 23:32:20 +00:00
Ross Burton
66084e11e5 ppp: backport fix for CVE-2022-4603
(From OE-Core rev: 3ce605e701c516ee46b25fe5bdb0b8de9fc2a29d)

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 d5d787b44b102e3a69e28948326e39f83fc1d98d)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-04 23:32:20 +00:00
Marek Vasut
c0b0b9a862 bitbake: fetch2/git: Clarify the meaning of namespace
Namespace in this context means a branch, a tag, etc., clarify
it in the description. Also, fix a typo "a any", replace with
plain "any".

This patch is based of feedback on new applied patch
d32e5b0e ("fetch2/git: Prevent git fetcher from fetching gitlab repository metadata")

(Bitbake rev: 86f2fa5261da959cda706c794a0047e5e89d4d6b)

Signed-off-by: Marek Vasut <marex@denx.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit b4999425c812b25cb359d5163d11e3c1b030dc28)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-04 10:34:05 +00:00
Marek Vasut
f97a46b07f bitbake: fetch2/git: Prevent git fetcher from fetching gitlab repository metadata
The bitbake git fetcher currently fetches 'refs/*:refs/*', i.e. every
single object in the remote repository. This works poorly with gitlab
and github, which use the remote git repository to track its metadata
like merge requests, CI pipelines and such.

Specifically, gitlab generates refs/merge-requests/*, refs/pipelines/*
and refs/keep-around/* and they all contain massive amount of data that
are useless for the bitbake build purposes. The amount of useless data
can in fact be so massive (e.g. with FDO mesa.git repository) that some
proxies may outright terminate the 'git fetch' connection, and make it
appear as if bitbake got stuck on 'git fetch' with no output.

To avoid fetching all these useless metadata, tweak the git fetcher such
that it only fetches refs/heads/* and refs/tags/* . Avoid using negative
refspecs as those are only available in new git versions.

Per feedback on the ML, Gerrit may push commits outsides of branches or
tags during CI runs, which currently works with the 'nobranch=1' fetcher
parameter. To retain this functionality, keep fetching everything in case
the 'nobranch=1' is present. This still avoids fetching massive amount of
data in the common case, since 'nobranch=1' is rare. Update 'nobranch'
documentation.

Reviewed-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
(Bitbake rev: c17fc1468ab84663b919e2809606b1b8ea2bebd9)

Signed-off-by: Marek Vasut <marex@denx.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit d32e5b0ec2ab85ffad7e56ac5b3160860b732556)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-04 10:34:05 +00:00
Richard Purdie
18b45655b0 build-appliance-image: Update to kirkstone head revision
(From OE-Core rev: a8c82902384f7430519a31732a4bb631f21693ac)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-30 08:40:24 +00:00
Ross Burton
251869992f bitbake: bb/utils: include SSL certificate paths in export_proxies
bb.utils.export_proxies() is a poor-man's alternative for the
environment setup code in bb/fetch2, but it's used in several places
where recipes want to download manually (such as cve-update-db-native).

Notably, export_proxies() doesn't pass on the SSL certificate paths from
the original environment, so if SSL_CERT_FILE needs to be set (for
example, in a buildtools environment) then proxies work but SSL doesn't.

In an ideal world export_proxies and the same logic in fetch2 would
merge, but until then we can add the SSL_CERT_ variables and duplicate
the basic logic: check the datastore first and then the original
environment for variables.

Also remove the return value as nothing ever checked it.

[ YOCTO #15000 ]

(Bitbake rev: ed0dcc40f80c48839bac20298013d70043858a4e)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-30 08:40:24 +00:00
Steve Sakoman
65dafea220 poky.conf: bump version for 4.0.7
(From meta-yocto rev: 3db2e6e2faf1b38a9eb82ebed136ac0e53dccb76)

Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-26 23:39:09 +00:00
Vivek Kumbhar
f4153b1dc4 openssl: fix CVE-2022-3996 double locking leads to denial of service
(From OE-Core rev: ac5441f0ff6b3c33be2f62d060d9cf03458a51c4)

Signed-off-by: Vivek Kumbhar <vkumbhar@mvista.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-26 23:37:06 +00:00
Alexander Kanavin
cbd2312210 selftest/virgl: use pkg-config from the host
The check needs to report dri location on the host machine,
so pkg-config binary needs to be capable of finding the needed
dri.pc file on the host, and therefore needs to know where
host .pc files are located.

This may not be the case when using pkg-config from buildtools,
so this forces usage of host pkg-config.

runqemu already does the same PATH tweak, so this simply brings
the two in sync.

(From OE-Core rev: 07a1df271d47306a41cef8810db4dfb0646866e3)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit f0521f8a3ba7e15482756529ee7b0a95b3d53e7d)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-26 23:37:06 +00:00
Benoît Mauduit
93b4705b76 lib/oe/reproducible: Use git log without gpg signature
Previously, if "showSignature" is present in user gitconfig, parsing
of the timestamp will fail.

Ideally we should replace this command with a git plumbing command.

(From OE-Core rev: 3db6db22770515fe52d847bdafd6ec9809ab50e0)

Signed-off-by: Benoît Mauduit <bmauduit@beneth.fr>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 3bd6f78f79b3d3e87d8db1e11f58d8021f929843)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-26 23:37:05 +00:00
Saul Wold
ca564b9513 at: Change when files are copied
The create_spdx code relies on patched code, if files are changed
or added during the do_configure phase they will be missed by the
create_spdx process. So we need to ensure files modifications/additions
happen in the do_patch phase.

(From OE-Core rev: 6f44b146f0875c588252b5c3b2015a621eba86ab)

Signed-off-by: Saul Wold <saul.wold@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 227c46fe48b64de7574f7b6b407b8c13be71b392)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-26 23:37:05 +00:00
Jan Kircher
7b199d5083 toolchain-scripts: compatibility with unbound variable protection
Fixed an error when Bash's unbound variable protection is enabled (set -u) and variable "LD_LIBRARY_PATH" does not exist.

(From OE-Core rev: ad2b7b4d4138ac5f6f74f69d9d6d88a592b14c6f)

Signed-off-by: Jan Kircher <openembedded@hetsh.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 85685370b0ad93291cda59fb091a15eeecf5e0d5)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-26 23:37:05 +00:00
Chen Qi
82bd71e1cb libseccomp: fix typo in DESCRIPTION
Fix typo in DESCRIPTION: and -> an.

(From OE-Core rev: 44f59f5d8414cbe935addb57bd1ea9ffaf734fba)

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 349e63045298054f9454025d793c67284fce750b)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-26 23:37:05 +00:00
Chen Qi
b6f577e2e7 dhcpcd: backport two patches to fix runtime error
In case of nodistro, dhcpcd gives us 'Bad system call'
error and exits. This is because there are syscalls that
should be allowed but not in privsep. Backport two patches
to fix this issue.

(From OE-Core rev: a40acd3741069bb70283581d186e09d1d7df2a7a)

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 f1e6a0c16d6685096ec9313301aa431e73d02c07)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-26 23:37:05 +00:00
Petr Kubizňák
dc62b99bdf harfbuzz: remove bindir only if it exists
In some scenarios (e.g. when "glib" removed from PACKAGECONFIG),
"${D}${bindir}" might not exist which caused `rmdir` to fail.

(From OE-Core rev: b342790a37c891cf83f24d4f96060e2d0bd79c07)

Signed-off-by: Petr Kubizňák <kubiznak@2n.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 21261072cbe0056e85550a0710de142fab8943e4)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-26 23:37:05 +00:00
Khem Raj
9fecba6b89 tiff: Add packageconfig knob for webp
tiff-native otherwise falsely detects webp if its installed on build
host. This ensures deterministic behavior regardless of host.

(From OE-Core rev: dafd8cf38d6414ca3102695b5a55a8fd2718e584)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 718c44f282310b2ca85877fed706460ccc1eebea)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-26 23:37:05 +00:00
Sandeep Gundlupet Raju
738cb2a735 kernel-fitimage: Allow user to select dtb when multiple dtb exists
Allow user to select the default DTB for FIT image when multiple
dtb's exists.

From machine.conf or local.conf user can specify the default dtb
for FIT image as shown below.

FIT_CONF_DEFAULT_DTB = "board-default.dtb"

Also fallback to avaialable dtb when FIT_CONF_DEFAULT_DTB doesn't
exits or empty.

(From OE-Core rev: 678ad9458a17d9feebb2ea897be4b9bc0daf3391)

Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
(cherry picked from commit cd397284fa5f17de7e0a0d4b6b26fb8b56c3cd48)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-26 23:37:05 +00:00
Sandeep Gundlupet Raju
3edd7714c1 kernel-fitimage: Adjust order of dtb/dtbo files
The dtb files must be before the dtbo files, otherwise the overlays may
not be applied correctly.

From Bruce Ashfield:

  We can split between dtbs and dtbos, they just need to be sorted
  for reproducibility reasons.

  Of course, this was only working by luck previously (before the
  sort), since it has always been gathering dtbs and dtbo's with
  find, depending on filesystem ordering for the order in the
  fitimage).

(From OE-Core rev: ca91d226e3e1671872bea9de55510545598acf91)

Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
(cherry picked from commit 3df94d3c93707f03c501f8aa56450457d0f7fb71)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-26 23:37:05 +00:00
Antonin Godard
f26e5d7500 busybox: rm temporary files if do_compile was interrupted
To avoid working with undeterministic config files, remove all the
temporary files to start from scratch.

(From OE-Core rev: a1cd0c804b974ae100cfe8cb34ddd400e3c8206b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 74cd440c4e3df0ed3b81cf5c60a3f92e0dd3fe6c)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-26 23:37:05 +00:00
Antonin Godard
692ea97f20 busybox: always start do_compile with orig config files
When compiling busybox a second time (e.g. with `compile -f`), busybox
can use an altered autoconf.h file for compiling, which can ultimately
produces different and unwanted binaries.

This can produce errors like this one:

ERROR: busybox-1.35.0-r0 do_package: Error executing a python function in exec_func_python() autogenerated:
The stack trace of python calls that resulted in this exception/failure was:
File: 'exec_func_python() autogenerated', lineno: 2, function: <module>
     0001:
 *** 0002:ptest_update_alternatives(d)
     0003:
File: '…/poky/meta/classes/ptest.bbclass', lineno: 100, function: ptest_update_alternatives
     0096:        for alt_name, alt_link, alt_target, _ in alternatives:
     0097:            # Some alternatives are for man pages,
     0098:            # check if the alternative is in PATH
     0099:            if os.path.dirname(alt_link) in bin_paths:
 *** 0100:                os.symlink(alt_target, os.path.join(ptest_bindir, alt_name))
     0101:}
     0102:
     0103:do_configure_ptest_base[dirs] = "${B}"
     0104:do_compile_ptest_base[dirs] = "${B}"
Exception: FileExistsError: [Errno 17] File exists: '/bin/busybox.suid' -> '…/busybox/1.35.0-r0/package/usr/lib/busybox/ptest/bin/login'

This happens because ALTERNATIVE:busybox contains `/bin/login` twice,
initially that's because `/bin/login` is present in both
busybox.links.suid and busybox.links.nosuid. The reason for that is
because of the altered autoconf.h.

Steps to reproduce above error:

<add ptest to distro configs>
bitbake busybox -c clean
bitbake busybox -c package -f
bitbake busybox -c compile -f
bitbake busybox -c package -f

This patch guards against potential bugs by:

- making a backup of .config and autoconf.h that have matching
  timestamps.
- make sure do_compile always starts with these files.
- restore .config and autoconf.h at the end of do_compile.

(From OE-Core rev: 7e94d0563fadb858aca60d1b1cc3a23e995a500d)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 6b4a0f063edcfe0a5a4f418842e86ac0c46d9cad)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-26 23:37:05 +00:00
Alex Kiernan
2a693e5499 classes: image: Set empty weak default IMAGE_LINGUAS
This is already set in default-distrovars.inc and so this assignment
will almost never succeed. Rather than leaving it to confuse, set an
empty weak default.

(From OE-Core rev: bc620b0e241f9e1592cdb89e87d49a247bc69767)

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit eb402948158659da7de0fbbb1bb403c8dad06e2b)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-26 23:37:05 +00:00
Pavel Zhukov
2453dfa90a gcc: Refactor linker patches and fix linker on arm with usrmerge
Backport fix from master to allow gcc to use proper linker path for
musl [Yocto #14977].

Fixes:
| qemu-arm: Could not open '/lib/ld-musl-armhf.so.1': No such file or directory

(From OE-Core rev: d821a602c56a8d0c8171ee0d2ce31613121be3a6)

Signed-off-by: Pavel Zhukov <pavel@zhukoff.net>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-26 23:37:05 +00:00
Randy MacLeod
370c87ac60 vim: upgrade 9.0.0947 -> 9.0.1211
Includes fixes for:
   https://nvd.nist.gov/vuln/detail/CVE-2023-0049
   https://nvd.nist.gov/vuln/detail/CVE-2023-0051
   https://nvd.nist.gov/vuln/detail/CVE-2023-0054
   https://nvd.nist.gov/vuln/detail/CVE-2023-0288

(From OE-Core rev: d4887e2e43e3d66e0f64299a8189b26d5aff31ef)

Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 1c51068c78d12ee02789a6dbecf5e7e91d141af5)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-26 23:37:05 +00:00
Bruce Ashfield
74d5d34367 linux-yocto/5.15: powerpc: Fix reschedule bug in KUAP-unlocked user copy
Integrating the following commit(s) to linux-yocto/5.15:

    f100c753aa1f powerpc: Fix reschedule bug in KUAP-unlocked user copy

(From OE-Core rev: 9308cfbb6cff9fd38fcea8495803d71da821aec2)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit b457e6976e9e64a737517f9d9142ab290cdce214)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-26 23:37:05 +00:00
Bruce Ashfield
79a8d5e6b4 linux-yocto/5.15: update to v5.15.84
Updating  to the latest korg -stable release that comprises
the following commits:

    d68f50bfb00f Linux 5.15.84
    972707bae3d7 net: fec: properly guard irq coalesce setup
    289721fe0993 ASoC: ops: Correct bounds check for second channel on SX controls
    de0866b94a64 nvme-pci: clear the prp2 field when not used
    8bffa95ac19f perf: Fix perf_pending_task() UaF
    825bd2af4227 ASoC: cs42l51: Correct PGA Volume minimum value
    91582b3a1ab2 net: fec: don't reset irq coalesce settings to defaults on "ip link up"
    c772dab247f1 can: mcba_usb: Fix termination command argument
    aa822de7de3b can: sja1000: fix size of OCR_MODE_MASK define
    09e08740d78c pinctrl: meditatek: Startup with the IRQs disabled
    172a95026f06 libbpf: Use page size as max_entries when probing ring buffer map
    cf611d786796 ASoC: ops: Check bounds for second channel in snd_soc_put_volsw_sx()
    a74b88e17025 ASoC: fsl_micfil: explicitly clear CHnF flags
    afac1e7d78eb ASoC: fsl_micfil: explicitly clear software reset bit
    9d933af8fef3 nfp: fix use-after-free in area_cache_get()
    e1a4f5880d00 vfs: fix copy_file_range() averts filesystem freeze protection
    86e28ed25b00 x86/vdso: Conditionally export __vdso_sgx_enter_enclave()
    fd6d66840b42 Linux 5.15.83
    f895511de9d2 io_uring: Fix a null-ptr-deref in io_tctx_exit_cb()
    f435c66d2336 io_uring: move to separate directory
    d9e1e5d8a74c block: move CONFIG_BLOCK guard to top Makefile
    e5c0bc4ff5b0 can: esd_usb: Allow REC and TEC to return to zero
    db6343a5b0d9 s390/qeth: fix use-after-free in hsci
    a56c1cebe4a0 s390/qeth: fix various format strings
    a6dba316c93e macsec: add missing attribute validation for offload
    40500f1f4745 net: mvneta: Fix an out of bounds check
    b9274dbe3999 net: thunderbolt: fix memory leak in tbnet_open()
    7390c70bd431 ipv6: avoid use-after-free in ip6_fragment()
    1beb475892f7 net: plip: don't call kfree_skb/dev_kfree_skb() under spin_lock_irq()
    b08412a9cf26 net: phy: mxl-gpy: fix version reporting
    dec5abd91abc xen/netback: fix build warning
    54d830e24247 dpaa2-switch: Fix memory leak in dpaa2_switch_acl_entry_add() and dpaa2_switch_acl_entry_remove()
    c7adcbd0fd3f ethernet: aeroflex: fix potential skb leak in greth_init_rings()
    d962d42d6376 tipc: call tipc_lxc_xmit without holding node_read_lock
    f3b5dda26cd0 net: dsa: sja1105: fix memory leak in sja1105_setup_devlink_regions()
    5dab6fa068d7 ipv4: Fix incorrect route flushing when table ID 0 is used
    ac566bd5770f ipv4: Fix incorrect route flushing when source address is deleted
    af4ccae4b704 tipc: Fix potential OOB in tipc_link_proto_rcv()
    b8ce0e6f9f88 net: hisilicon: Fix potential use-after-free in hix5hd2_rx()
    16854177745a net: mdio: fix unbalanced fwnode reference count in mdio_device_release()
    6f4798ac9c9e net: hisilicon: Fix potential use-after-free in hisi_femac_rx()
    114e65a22189 net: thunderx: Fix missing destroy_workqueue of nicvf_rx_mode_wq
    51c04945756a net: microchip: sparx5: Fix missing destroy_workqueue of mact_queue
    99eec0a766f9 ip_gre: do not report erspan version on GRE interface
    2891957853f2 net: stmmac: fix "snps,axi-config" node property parsing
    5cb8f1a784fd gpio/rockchip: fix refcount leak in rockchip_gpiolib_register()
    b8c2f0392d1d nvme initialize core quirks before calling nvme_init_subsystem
    908b2da426fe NFC: nci: Bounds check struct nfc_target arrays
    d841cc156304 i40e: Disallow ip4 and ip6 l4_4_bytes
    625a13850b31 i40e: Fix for VF MAC address 0
    5538794dbd42 i40e: Fix not setting default xps_cpus after reset
    a6b30598fec8 net: mvneta: Prevent out of bounds read in mvneta_config_rss()
    e6e897d4fe2f xen-netfront: Fix NULL sring after live migration
    eefd8953a748 octeontx2-pf: Fix potential memory leak in otx2_init_tc()
    f88acaed07b1 net: mdiobus: fix double put fwnode in the error path
    cc62d76928e0 net: mdiobus: fwnode_mdiobus_register_phy() rework error handling
    ea113b570eee net: encx24j600: Fix invalid logic in reading of MISTAT register
    8aae746d065c net: encx24j600: Add parentheses to fix precedence
    a110287ef4a4 mac802154: fix missing INIT_LIST_HEAD in ieee802154_if_add()
    e046421bed5a selftests: rtnetlink: correct xfrm policy rule in kci_test_ipsec_offload
    4fa8988a36d5 net: dsa: sja1105: Check return value
    b35be171dfe6 net: dsa: hellcreek: Check return value
    a4c342e645d6 net: dsa: ksz: Check return value
    edf7284a9829 Bluetooth: Fix not cleanup led when bt_init fails
    3322193949ac Bluetooth: 6LoWPAN: add missing hci_dev_put() in get_l2cap_conn()
    6c88c764e0c4 vmxnet3: use correct intrConf reference when using extended queues
    5ad0d85757f8 vmxnet3: correctly report encapsulated LRO packet
    5c014eb0ed6c af_unix: Get user_ns from in_skb in unix_diag_get_exact().
    807a01a32979 drm: bridge: dw_hdmi: fix preference of RGB modes over YUV420
    eb96fd3983b2 net: broadcom: Add PTP_1588_CLOCK_OPTIONAL dependency for BCMGENET under ARCH_BCM2835
    16eb678bca8e igb: Allocate MSI-X vector when testing
    34c6367c946c e1000e: Fix TX dispatch condition
    4271515f189b gpio: amd8111: Fix PCI device reference count leak
    d57b60e9b355 drm/bridge: ti-sn65dsi86: Fix output polarity setting bug
    f8b29656013c netfilter: ctnetlink: fix compilation warning after data race fixes in ct mark
    246bcd05ba6c ca8210: Fix crash by zero initializing data
    80dad8df5fc2 ieee802154: cc2520: Fix error return code in cc2520_hw_init()
    dd9dcfb85c65 drm/vmwgfx: Fix race issue calling pin_user_pages
    7b09ba9036b2 netfilter: nft_set_pipapo: Actually validate intervals in fields after the first one
    6daaa84b6214 gpiolib: fix memory leak in gpiochip_setup_dev()
    1a1075d37108 gpiolib: check the 'ngpios' property in core gpiolib code
    70c5515c1c30 gpiolib: improve coding style for local variables
    3b714f25fc59 clk: Fix pointer casting to prevent oops in devm_clk_release()
    c142cba37de2 can: af_can: fix NULL pointer dereference in can_rcv_filter
    104bb1f67e3c HID: ite: Enable QUIRK_TOUCHPAD_ON_OFF_REPORT on Acer Aspire Switch V 10
    f755d11c55b2 HID: core: fix shift-out-of-bounds in hid_report_raw_event
    2d4b310c32d4 HID: hid-lg4ff: Add check for empty lbuf
    5e8021ae0865 HID: usbhid: Add ALWAYS_POLL quirk for some mice
    5e88c6f4aaa7 net: dsa: sja1105: avoid out of bounds access in sja1105_init_l2_policing()
    1074fefce9cc drm/shmem-helper: Avoid vm_open error paths
    83e3da8bb92f drm/shmem-helper: Remove errant put in error path
    249011f4c3b8 drm/amdgpu/sdma_v4_0: turn off SDMA ring buffer in the s2idle suspend
    1e4fe9a1546f drm/vmwgfx: Don't use screen objects when SEV is active
    f6550976fe22 KVM: s390: vsie: Fix the initialization of the epoch extension (epdx) field
    fe50a9bbeb1f net: mana: Fix race on per-CQ variable napi work_done
    a49894a5ac36 Bluetooth: Fix crash when replugging CSR fake controllers
    1dee2b504771 Bluetooth: btusb: Add debug message for CSR controllers
    3ac29732a2ff mm/gup: fix gup_pud_range() for dax
    aad8bbd17a1d memcg: fix possible use-after-free in memcg_write_event_control()
    6fb8bc29bfa8 media: v4l2-dv-timings.c: fix too strict blanking sanity checks
    a4c575541eeb Revert "ARM: dts: imx7: Fix NAND controller size-cells"
    28abc1145924 soundwire: intel: Initialize clock stop timeout
    22d800b378e4 media: videobuf2-core: take mmap_lock in vb2_get_unmapped_area()
    5d0fa6fc8899 xen/netback: don't call kfree_skb() with interrupts disabled
    4422241ceffc xen/netback: do some code cleanup
    0fe29bd92594 xen/netback: Ensure protocol headers don't fall in the non-linear area
    f01677be31d1 drm/bridge: anx7625: Fix edid_read break case in sp_tx_edid_read()
    ee2536830b16 cifs: fix use-after-free caused by invalid pointer `hostname`
    dc62f05f666c rtc: cmos: avoid UIP when reading alarm time
    48ea4199af85 rtc: cmos: avoid UIP when writing alarm time
    3f52afc6ed93 rtc: mc146818-lib: extract mc146818_avoid_UIP
    1a3f8c6cd29d mm/khugepaged: invoke MMU notifiers in shmem/file collapse paths
    79ad784c9d21 mm/khugepaged: fix GUP-fast interaction by sending IPI
    d15cd6de0123 mm/khugepaged: take the right locks for page table retraction
    26f084e55466 net: usb: qmi_wwan: add u-blox 0x1342 composition
    029a7f1c5d70 9p/xen: check logical size for buffer size
    b398832893c8 usb: dwc3: gadget: Disable GUSB2PHYCFG.SUSPHY for End Transfer
    e70a5724400a fbcon: Use kzalloc() in fbcon_prepare_logo()
    fd3768597d2a regulator: twl6030: fix get status of twl6032 regulators
    9f74b9aa8d58 ASoC: soc-pcm: Add NULL check in BE reparenting
    dae93f4168c4 btrfs: send: avoid unaligned encoded writes when attempting to clone range
    f54e1edf579d selftests/net: Find nettest in current directory
    fccd454129f6 ALSA: seq: Fix function prototype mismatch in snd_seq_expand_var_event
    542a563bb751 regulator: slg51000: Wait after asserting CS pin
    3d1b5fde360e 9p/fd: Use P9_HDRSZ for header size
    fe2d44e86e96 ASoC: rt711-sdca: fix the latency time of clock stop prepare state machine transitions
    e945f3d809ed ARM: dts: rockchip: disable arm_global_timer on rk3066 and rk3188
    c3b818c91a11 spi: mediatek: Fix DEVAPC Violation at KO Remove
    d9f0107be1a9 ASoC: wm8962: Wait for updated value of WM8962_CLOCKING1 register
    7ae0262748e5 ARM: 9266/1: mm: fix no-MMU ZERO_PAGE() implementation
    d81c62e3121f ARM: 9251/1: perf: Fix stacktraces for tracepoint events in THUMB2 kernels
    66717ad03b80 fs: use acquire ordering in __fget_light()
    1222e2364ac7 ARM: dts: rockchip: rk3188: fix lcdc1-rgb24 node name
    996fb29b06b6 arm64: dts: rockchip: fix ir-receiver node names
    752138ef89e8 ARM: dts: rockchip: fix ir-receiver node names
    8045971e40cd arm: dts: rockchip: remove clock-frequency from rtc
    5e9fb8013ac9 arm: dts: rockchip: fix node name for hym8563 rtc
    2ed7137e911a arm64: dts: rockchip: keep I2S1 disabled for GPIO function on ROCK Pi 4 series
    5a1122e1a896 mmc: mtk-sd: Fix missing clk_disable_unprepare in msdc_of_clock_parse()
    282f52c954a8 clk: Provide new devm_clk helpers for prepared and enabled clocks
    eb94a7a20f3c clk: generalize devm_clk_get() a bit
    d9790301361c Linux 5.15.82
    48642f94311b proc: proc_skip_spaces() shouldn't think it is working on C strings
    3eb9213f6612 proc: avoid integer type confusion in get_proc_long
    4a4073a2e2fe ipc/sem: Fix dangling sem_array access in semtimedop race
    53b9b1201e34 Input: raydium_ts_i2c - fix memory leak in raydium_i2c_send()
    571b6bbbf54d char: tpm: Protect tpm_pm_suspend with locks
    f39891cfe79b Revert "clocksource/drivers/riscv: Events are stopped during CPU suspend"
    a759057af728 ACPI: HMAT: Fix initiator registration for single-initiator systems
    da8a794d71ec ACPI: HMAT: remove unnecessary variable initialization
    2d16161a2c98 i2c: imx: Only DMA messages with I2C_M_DMA_SAFE flag set
    950a05cb15e3 i2c: npcm7xx: Fix error handling in npcm_i2c_init()
    db3f8da033d9 serial: stm32: Deassert Transmit Enable on ->rs485_config()
    45f628f4fd81 serial: stm32: Use TC interrupt to deassert GPIO RTS in RS485 mode
    c60eae5b1d0b serial: stm32: Factor out GPIO RTS toggling into separate function
    041f8dc88292 ipv4: Fix route deletion when nexthop info is not specified
    25174d91e4a3 ipv4: Handle attempt to delete multipath route when fib_info contains an nh reference
    a0ad247e55ea selftests: net: fix nexthop warning cleanup double ip typo
    532847b69c29 selftests: net: add delete nexthop route warning test
    e0783558817d Kconfig.debug: provide a little extra FRAME_WARN leeway when KASAN is enabled
    723fa02e0e0a parisc: Increase FRAME_WARN to 2048 bytes on parisc
    b951ab4b35ba mm: migrate: fix THP's mapcount on isolation
    c5eda6029cf9 mm: __isolate_lru_page_prepare() in isolate_migratepages_block()
    bdb613ef179a iommu/vt-d: Fix PCI device refcount leak in dmar_dev_scope_init()
    b6eea8b2e858 iommu/vt-d: Fix PCI device refcount leak in has_external_pci()
    787d81d4eb15 nvme: fix SRCU protection of nvme_ns_head list
    12f237200c16 riscv: kexec: Fixup irq controller broken in kexec crash path
    ac00301adb19 riscv: fix race when vmap stack overflow
    fa7a7d185ef3 riscv: Sync efi page table's kernel mappings before switching
    d86d69892545 pinctrl: single: Fix potential division by zero
    98b15c706644 ASoC: ops: Fix bounds check for _sx controls
    f88a6977f8b9 KVM: x86/mmu: Fix race condition in direct_page_fault
    df4b177b4851 io_uring/poll: fix poll_refs race with cancelation
    4b702b7d11ce io_uring: make poll refs more robust
    1d58849ac26f io_uring: cmpxchg for poll arm refs release
    cd1981a8c30d io_uring: fix tw losing poll events
    62321dc7b081 io_uring: update res mask in io_poll_check_events
    417d5ea6e735 tracing: Free buffers when a used dynamic event is removed
    52fc245d150c tracing: Fix race where histograms can be called before the event
    cb2b0612cd25 tracing/osnoise: Fix duration type
    615a996ff397 drm/i915: Never return 0 if not all requests retired
    01a2b25ef2cd drm/i915: Fix negative value passed as remaining time
    ff1591ba33b8 drm/amdgpu: enable Vangogh VCN indirect sram mode
    ac2d7fa90848 drm/amdgpu: temporarily disable broken Clang builds due to blown stack-frame
    57ee7bc4c60a mmc: sdhci: Fix voltage switch delay
    bb8f8095143e mmc: sdhci-sprd: Fix no reset data and command after voltage switch
    4c7681c1a52f mmc: sdhci-esdhc-imx: correct CQHCI exit halt state check
    01dbe4db590a mmc: core: Fix ambiguous TRIM and DISCARD arg
    738946e35504 mmc: mmc_test: Fix removal of debugfs file
    635d0517348e net: stmmac: Set MAC's flow control register to reflect current settings
    9132dcdf3bf6 v4l2: don't fall back to follow_pfn() if pin_user_pages_fast() fails
    76ad884be092 pinctrl: intel: Save and restore pins in "direct IRQ" mode
    41296b85fafa x86/bugs: Make sure MSR_SPEC_CTRL is updated properly upon resume from S3
    33021419fd81 nilfs2: fix NULL pointer dereference in nilfs_palloc_commit_free_entry()
    2e44dd9a8dd6 tools/vm/slabinfo-gnuplot: use "grep -E" instead of "egrep"
    b60a8ad771fd error-injection: Add prompt for function error injection
    757eb00c4c40 ALSA: dice: fix regression for Lexicon I-ONIX FW810S
    a1a96a6f302c riscv: mm: Proper page permissions after initmem free
    823df3607d8b riscv: vdso: fix section overlapping under some conditions
    6e035d5a2a6b hwmon: (coretemp) fix pci device refcount leak in nv1a_ram_new()
    7692700ac818 hwmon: (coretemp) Check for null before removing sysfs attrs
    9b5836b9c4b0 net: ethernet: renesas: ravb: Fix promiscuous mode after system resumed
    0dfb9a566327 sctp: fix memory leak in sctp_stream_outq_migrate()
    fcb3e0216156 packet: do not set TP_STATUS_CSUM_VALID on CHECKSUM_COMPLETE
    04b995e96322 net: tun: Fix use-after-free in tun_detach()
    43ca0adf79e5 afs: Fix fileserver probe RTT handling
    543d917f691a net: mdiobus: fix unbalanced node reference count
    dca370e575d9 net: hsr: Fix potential use-after-free
    1daec0815655 tipc: re-fetch skb cb after tipc_msg_validate
    16a64dc26545 dsa: lan9303: Correct stat name
    766086ea8ca7 net: wwan: iosm: fix dma_alloc_coherent incompatible pointer type
    c667751a4265 net: wwan: iosm: fix kernel test robot reported error
    9c584d6d9cfb net: ethernet: nixge: fix NULL dereference
    8782b32ef867 net/9p: Fix a potential socket leak in p9_socket_open
    6fc9425bff4b net: net_netdev: Fix error handling in ntb_netdev_init_module()
    3bc893ef36f9 net: ethernet: ti: am65-cpsw: fix error handling in am65_cpsw_nuss_probe()
    7730904f50c7 net: phy: fix null-ptr-deref while probe() failed
    59b54f0563b6 wifi: mac8021: fix possible oob access in ieee80211_get_rate_duration
    dc0853f8b502 wifi: cfg80211: don't allow multi-BSSID in S1G
    88a6fe370788 wifi: cfg80211: fix buffer overflow in elem comparison
    08fff7aaeb7e aquantia: Do not purge addresses when setting the number of rings
    2a7aa52573da qlcnic: fix sleep-in-atomic-context bugs caused by msleep
    7b734d26f037 can: m_can: Add check for devm_clk_get
    ea8dc27bb044 can: m_can: pci: add missing m_can_class_free_dev() in probe/remove methods
    b1d2a8e02acc can: etas_es58x: es58x_init_netdev(): free netdev when register_candev()
    e53da04e37e4 can: cc770: cc770_isa_probe(): add missing free_cc770dev()
    d452a71995cb can: sja1000_isa: sja1000_isa_probe(): add missing free_sja1000dev()
    372eb550faa0 net/mlx5e: Fix use-after-free when reverting termination table
    839eeab03c83 net/mlx5: Fix uninitialized variable bug in outlen_write()
    34feea3bfb37 net/mlx5: DR, Fix uninitialized var warning
    3485ef2aabeb net/mlx5: DR, Rename list field in matcher struct to list_node
    9fc27d22cdb9 e100: Fix possible use after free in e100_xmit_prepare
    0d9f5bd54b91 iavf: Fix error handling in iavf_init_module()
    b0b2b9050c17 iavf: remove redundant ret variable
    69501d820508 fm10k: Fix error handling in fm10k_init_module()
    5e3657dede36 i40e: Fix error handling in i40e_init_module()
    7109e9410992 ixgbevf: Fix resource leak in ixgbevf_init_module()
    196ea810e21c of: property: decrement node refcount in of_fwnode_get_reference_args()
    36164db278a8 nvmem: rmem: Fix return value check in rmem_read()
    e3761831674a bpf: Do not copy spin lock field from user in bpf_selem_alloc
    45f6e8186374 hwmon: (ibmpex) Fix possible UAF when ibmpex_register_bmc() fails
    a90251376c3e hwmon: (i5500_temp) fix missing pci_disable_device()
    eeb31b828daf hwmon: (ina3221) Fix shunt sum critical calculation
    9514b95cac51 hwmon: (ltc2947) fix temperature scaling
    0140e079a420 libbpf: Handle size overflow for ringbuf mmap
    06d5790e7df5 ARM: at91: rm9200: fix usb device clock id
    d074f173fbd1 scripts/faddr2line: Fix regression in name resolution on ppc64le
    ee3d37d79610 bpf, perf: Use subprog name when reporting subprog ksymbol
    ec02fc0a4101 iio: light: rpr0521: add missing Kconfig dependencies
    f7419fc42afc iio: health: afe4404: Fix oob read in afe4404_[read|write]_raw
    e7e76a77aabe iio: health: afe4403: Fix oob read in afe4403_read_raw
    ebdca90efbb5 drm/amdgpu: Partially revert "drm/amdgpu: update drm_display_info correctly when the edid is read"
    c365d3c3e512 drm/amdgpu: update drm_display_info correctly when the edid is read
    df5346466e51 drm/display/dp_mst: Fix drm_dp_mst_add_affected_dsc_crtcs() return code
    044da1a371a0 btrfs: qgroup: fix sleep from invalid context bug in btrfs_qgroup_inherit()
    da86809ab822 btrfs: move QUOTA_ENABLED check to rescan_should_stop from btrfs_qgroup_rescan_worker
    5d66eadc1cc3 spi: spi-imx: Fix spi_bus_clk if requested clock is higher than input clock
    6b4544a13179 btrfs: free btrfs_path before copying inodes to userspace
    c7ae3becee72 btrfs: sink iterator parameter to btrfs_ioctl_logical_to_ino
    acc2f40b980c erofs: fix order >= MAX_ORDER warning due to crafted negative i_size
    ca9f27448af0 drm/i915/gt: Use i915_vm_put on ppgtt_create error paths
    c2f2972889eb drm/i915: Create a dummy object for gen6 ppgtt
    918002bdbe43 arm64: mte: Avoid setting PG_mte_tagged if no tags cleared or restored
    e4a7232c917c Linux 5.15.81
    5c5c563a0817 cifs: fix missed refcounting of ipc tcon
    ee2d04f23bbb drm/i915: fix TLB invalidation for Gen12 video and compute engines
    bef834845d89 drm/amdgpu: always register an MMU notifier for userptr
    7901de7aa833 drm/amdgpu: Enable Aldebaran devices to report CU Occupancy
    e7bf1fe53817 drm/amd/display: No display after resume from WB/CB
    5033cba00c71 drm/amd/dc/dce120: Fix audio register mapping, stop triggering KASAN
    b8dc24590923 btrfs: sysfs: normalize the error handling branch in btrfs_init_sysfs()
    914baca57af7 btrfs: use kvcalloc in btrfs_get_dev_zone_info
    c1e6d4bfdee3 btrfs: zoned: fix missing endianness conversion in sb_write_pointer
    d88bf6be02de btrfs: free btrfs_path before copying subvol info to userspace
    f218b404fc0e btrfs: free btrfs_path before copying fspath to userspace
    fea9397101c1 btrfs: free btrfs_path before copying root refs to userspace
    7d0c25b5fe54 genirq: Take the proposed affinity at face value if force==true
    f17657cce069 irqchip/gic-v3: Always trust the managed affinity provided by the core code
    52a93f2dcf6c genirq: Always limit the affinity to online CPUs
    599cf4b84526 genirq/msi: Shutdown managed interrupts with unsatifiable affinities
    7aed1dd5d221 wifi: wilc1000: validate number of channels
    e9de501cf70d wifi: wilc1000: validate length of IEEE80211_P2P_ATTR_CHANNEL_LIST attribute
    143232cb5a4c wifi: wilc1000: validate length of IEEE80211_P2P_ATTR_OPER_CHANNEL attribute
    cd9c4869710b wifi: wilc1000: validate pairwise and authentication suite offsets
    f2fb18d429c3 fuse: lock inode unconditionally in fuse_fallocate()
    bb1c33bdf409 dm integrity: clear the journal on suspend
    20ad31b09e98 dm integrity: flush the journal on suspend
    5ca2110ba5e3 gpu: host1x: Avoid trying to use GART on Tegra20
    97f47617e813 scsi: iscsi: Fix possible memory leak when device_register() failed
    56ab7f237e7e net: usb: qmi_wwan: add Telit 0x103a composition
    e2e33f213dea tcp: configurable source port perturb table size
    269928e5c7bb platform/x86: ideapad-laptop: Fix interrupt storm on fn-lock toggle on some Yoga laptops
    17d995dc69c8 platform/x86: hp-wmi: Ignore Smart Experience App event
    e85bdc78720c zonefs: fix zone report size in __zonefs_io_error()
    982fcd83fb16 drm/amdgpu: disable BACO support on more cards
    ea11f8197dad platform/x86: acer-wmi: Enable SW_TABLET_MODE on Switch V 10 (SW5-017)
    09af15e69196 platform/x86: asus-wmi: add missing pci_dev_put() in asus_wmi_set_xusb2pr()
    ba040bea9deb xen/platform-pci: add missing free_irq() in error path
    6815b2087d23 xen-pciback: Allow setting PCI_MSIX_FLAGS_MASKALL too
    4c13ddb74f2c ASoC: stm32: dfsdm: manage cb buffers cleanup
    dd82295a23bc Input: i8042 - apply probe defer to more ASUS ZenBook models
    e12e121feb63 Input: soc_button_array - add Acer Switch V 10 to dmi_use_low_level_irq[]
    9f5c167074d3 Input: soc_button_array - add use_low_level_irq module parameter
    aaef86eac9e2 Input: goodix - try resetting the controller when no config is set
    e2223f5fbbb8 serial: 8250: 8250_omap: Avoid RS485 RTS glitch on ->set_termios()
    4e208294de45 tools: iio: iio_generic_buffer: Fix read size
    0d0e2545fa92 ASoC: Intel: bytcht_es8316: Add quirk for the Nanote UMPC-01
    e394cf9d7a83 Input: synaptics - switch touchpad on HP Laptop 15-da3001TU to RMI mode
    96b5d1177752 x86/ioremap: Fix page aligned size calculation in __ioremap_caller()
    d048f7481524 x86/pm: Add enumeration check before spec MSRs save/restore setup
    070e3560bf04 x86/tsx: Add a feature bit for TSX control MSR support
    1430c98ebbe7 KVM: x86: remove exit_int_info warning in svm_handle_exit
    27550a5930bb KVM: x86: add kvm_leave_nested
    3e87cb0caa25 KVM: x86: nSVM: harden svm_free_nested against freeing vmcb02 while still in use
    6425c590d0cc KVM: x86: forcibly leave nested mode on vCPU reset
    f42ebf972a9f KVM: x86: nSVM: leave nested mode on vCPU free
    7b3c9405b272 mm: vmscan: fix extreme overreclaim and swap floods
    feb2eda5e11f gcov: clang: fix the buffer overflow issue
    ea6aa25c9ac0 nilfs2: fix nilfs_sufile_mark_dirty() not set segment usage as dirty
    9d97a9fbfc11 usb: dwc3: gadget: Clear ep descriptor last
    02632ea4dfaa usb: dwc3: gadget: Return -ESHUTDOWN on ep disable
    765ca3e63f37 usb: dwc3: gadget: conditionally remove requests
    7945cbf8666a bus: ixp4xx: Don't touch bit 7 on IXP42x
    39c039018a2c iio: core: Fix entry not deleted when iio_register_sw_trigger_type() fails
    0791a5ddbac2 iio: light: apds9960: fix wrong register for gesture gain
    f0158b9bfcc2 arm64: dts: rockchip: lower rk3399-puma-haikou SD controller clock frequency
    277d19ec283d ext4: fix use-after-free in ext4_ext_shift_extents
    c9d133100bce usb: cdnsp: fix issue with ZLP - added TD_SIZE = 1
    c2ad434cd4b2 usb: cdnsp: Fix issue with Clear Feature Halt Endpoint
    1d91c648874e usb: dwc3: exynos: Fix remove() function
    0a216625c3ab KVM: arm64: pkvm: Fixup boot mode to reflect that the kernel resumes from EL1
    f0044a4a31c9 mmc: sdhci-brcmstb: Fix SDHCI_RESET_ALL for CQHCI
    8e6940979bb8 mmc: sdhci-brcmstb: Enable Clock Gating to save power
    24b46bfa9661 mmc: sdhci-brcmstb: Re-organize flags
    227543ccacf8 nios2: add FORCE for vmlinuz.gz
    6a4ea16a6734 init/Kconfig: fix CC_HAS_ASM_GOTO_TIED_OUTPUT test with dash
    c4a9046c2735 lib/vdso: use "grep -E" instead of "egrep"
    5fefdceafb78 s390/crashdump: fix TOD programmable field size
    592b6fd74afd net: thunderx: Fix the ACPI memory leak
    697eb30a3534 octeontx2-af: Fix reference count issue in rvu_sdp_init()
    6ba1687ea102 octeontx2-pf: Add check for devm_kcalloc
    26c31e7c73d4 net: enetc: preserve TX ring priority across reconfiguration
    0e16bbf616cc net: enetc: cache accesses to &priv->si->hw
    68de40f66a5a net: enetc: manage ENETC_F_QBV in priv->active_offloads only when enabled
    5c0858e1426b nfc: st-nci: fix incorrect sizing calculations in EVT_TRANSACTION
    e09243fb160b nfc: st-nci: fix memory leaks in EVT_TRANSACTION
    dca20b7a1959 nfc: st-nci: fix incorrect validating logic in EVT_TRANSACTION
    67d638f8efc4 s390/dasd: fix no record found for raw_track_access
    88277853cf8a arcnet: fix potential memory leak in com20020_probe()
    1d44ec8507b7 ipv4: Fix error return code in fib_table_insert()
    918e83c6bfa7 dccp/tcp: Reset saddr on failure after inet6?_hash_connect().
    8ce9b1c97fce fs: do not update freeing inode i_io_list
    8db9e60cdfda netfilter: flowtable_offload: add missing locking
    c1da3bfca111 netfilter: ipset: restore allowing 64 clashing elements in hash:net,iface
    606091b2f6dc dma-buf: fix racing conflict of dma_heap_add()
    8af9450befba bnx2x: fix pci device refcount leak in bnx2x_vf_is_pcie_pending()
    251bcf6cfb35 regulator: twl6030: re-add TWL6032_SUBCLASS
    6258a8f91304 NFC: nci: fix memory leak in nci_rx_data_packet()
    ffe6021154ea net: sched: allow act_ct to be built without NF_NAT
    a05c0f9511d0 net: sparx5: fix error handling in sparx5_port_open()
    182ef20f0f1c sfc: fix potential memleak in __ef100_hard_start_xmit()
    2da022fac96d net: wwan: iosm: use ACPI_FREE() but not kfree() in ipc_pcie_read_bios_cfg()
    a48b345b87f9 xfrm: Fix ignored return value in xfrm6_init()
    19989e163595 xfrm: Fix oops in __xfrm_state_delete()
    46d450067fc0 tipc: check skb_linearize() return value in tipc_disc_rcv()
    33fb115a76ae tipc: add an extra conn_get in tipc_conn_alloc
    4ae907c45fca tipc: set con sock in tipc_conn_alloc
    ef866d9ea922 net/mlx5: Fix handling of entry refcount when command is not issued to FW
    3101318939f5 net/mlx5: Fix FW tracer timestamp calculation
    1eaabb5bbbb6 net/mlx5: Do not query pci info while pci disabled
    8180099b2aea netfilter: ipset: regression in ip_set_hash_ip.c
    448b6273706c Drivers: hv: vmbus: fix possible memory leak in vmbus_device_register()
    082c31cb99d8 Drivers: hv: vmbus: fix double free in the error path of vmbus_add_channel_work()
    7fdd9daa5b12 macsec: Fix invalid error code set
    e8fb93a0792c nfp: add port from netdev validation for EEPROM access
    e44e424ed95f nfp: fill splittable of devlink_port_attrs correctly
    527046c13815 net: pch_gbe: fix pci device refcount leak while module exiting
    f77c84dd5b28 octeontx2-af: debugsfs: fix pci device refcount leak
    cd581ffd8dda net/qla3xxx: fix potential memleak in ql3xxx_send()
    a8976074e2cb net: mvpp2: fix possible invalid pointer dereference
    3a4cc56cd17d net/mlx4: Check retval of mlx4_bitmap_init
    c368220e1780 net: ethernet: mtk_eth_soc: fix error handling in mtk_open()
    d9729437b28f ARM: dts: imx6q-prti6q: Fix ref/tcxo-clock-frequency properties
    1c0b6a97c478 ARM: mxs: fix memory leak in mxs_machine_init()
    ecff08f3c469 iavf: Fix race condition between iavf_shutdown and iavf_remove
    31147d4e907c iavf: Do not restart Tx queues after reset task failure
    232942b26c54 iavf: Fix a crash during reset task
    0600615d010f netfilter: nf_tables: do not set up extensions for end interval
    60387731e69f netfilter: conntrack: Fix data-races around ct mark
    ee3ccd1abbe1 9p/fd: fix issue of list_del corruption in p9_fd_cancel()
    131c2eeabc72 net: pch_gbe: fix potential memleak in pch_gbe_tx_queue()
    f58df483ff37 nfc/nci: fix race with opening and closing
    da22d7410afd net: dsa: sja1105: disallow C45 transactions on the BASE-TX MDIO bus
    38fe0988bd51 rxrpc: Fix race between conn bundle lookup and bundle removal [ZDI-CAN-15975]
    d92151b4659b rxrpc: Use refcount_t rather than atomic_t
    3c33e41fa5b3 rxrpc: Allow list of in-use local UDP endpoints to be viewed in /proc
    46cefa268958 net: liquidio: simplify if expression
    95500ee0b3bd selftests: mptcp: fix mibit vs mbit mix up
    f8c4da198eed selftests: mptcp: more stable simult_flows tests
    1c0efab08c9b ARM: dts: at91: sam9g20ek: enable udc vbus gpio pinctrl
    ade662f3f242 tee: optee: fix possible memory leak in optee_register_device()
    d1dd119134ba bus: sunxi-rsb: Support atomic transfers
    b1ed61e7066b bus: sunxi-rsb: Remove the shutdown callback
    61a41d1abc7c regulator: core: fix UAF in destroy_regulator()
    a85c0db3f5ad spi: dw-dma: decrease reference count in dw_spi_dma_init_mfld()
    d9f9b3255b97 regulator: core: fix kobject release warning and memory leak in regulator_register()
    bd419c7c68bd ASoC: max98373: Add checks for devm_kcalloc
    f9bc4a18e7d5 scsi: storvsc: Fix handling of srb_status and capacity change events
    c2153fe2d0c6 x86/hyperv: Restore VP assist page after cpu offlining/onlining
    b2ddd7623712 ASoC: soc-pcm: Don't zero TDM masks in __soc_pcm_open()
    dd62cb7e6fd4 ASoC: sgtl5000: Reset the CHIP_CLK_CTRL reg on remove
    d80ffd4823b6 ASoC: hdac_hda: fix hda pcm buffer overflow issue
    10bee7eb2a2f ARM: dts: am335x-pcm-953: Define fixed regulators in root node
    8fe533c0f909 af_key: Fix send_acquire race with pfkey_register
    0c69a4658e94 xfrm: replay: Fix ESN wrap around for GSO
    ecc6ce4fdf0d xfrm: fix "disable_policy" on ipv4 early demux
    5a792c1d4d77 MIPS: pic32: treat port as signed integer
    144452b42143 RISC-V: vdso: Do not add missing symbols to version section in linker script
    799970b8cc45 ALSA: usb-audio: add quirk to fix Hamedal C20 disconnect issue
    38b09dc14f7c Revert "drm/amdgpu: Revert "drm/amdgpu: getting fan speed pwm for vega10 properly""
    44d50fccf889 nvmet: fix memory leak in nvmet_subsys_attr_model_store_locked
    5adc12d9e2b5 arm64/syscall: Include asm/ptrace.h in syscall_wrapper header.
    1340f02773ae block, bfq: fix null pointer dereference in bfq_bio_bfqg()
    86d4dca4a6ae drm: panel-orientation-quirks: Add quirk for Acer Switch V 10 (SW5-017)
    b90e6234f57e scsi: scsi_debug: Make the READ CAPACITY response compliant with ZBC
    cdbba6a4de39 scsi: ibmvfc: Avoid path failures during live migration
    6e8124a151bd platform/x86/intel/hid: Add some ACPI device IDs
    32735e24f47a platform/x86/intel/pmt: Sapphire Rapids PMT errata fix
    83a6823016f2 platform/x86: touchscreen_dmi: Add info for the RCA Cambio W101 v2 2-in-1
    f707986a1414 platform/x86: ideapad-laptop: Disable touchpad_switch
    5e38740ae545 Revert "net: macsec: report real_dev features when HW offloading is enabled"
    26b72202ee26 selftests/bpf: Add verifier test for release_reference()
    8395e3f98c4a spi: stm32: fix stm32_spi_prepare_mbr() that halves spi clk for every run
    d04722f2809c wifi: ath11k: Fix QCN9074 firmware boot on x86
    9cc96a20a92a wifi: mac80211: Fix ack frame idr leak when mesh has no route
    86f90014e767 wifi: airo: do not assign -1 to unsigned char
    f5558fbda022 audit: fix undefined behavior in bit shift for AUDIT_BIT
    af5de982ffc9 riscv: dts: sifive unleashed: Add PWM controlled LEDs
    ee34a19dbe2a wifi: mac80211_hwsim: fix debugfs attribute ps with rc table support
    3513785dc13f wifi: mac80211: fix memory free error when registering wiphy fail
    855485d31e2a ceph: fix NULL pointer dereference for req->r_session
    729c9ad2940e ceph: Use kcalloc for allocating multiple elements
    d276fb4a7eb8 binder: validate alloc->mm in ->mmap() handler
    5277e3d633a5 x86/sgx: Add overflow check in sgx_validate_offset_length()
    b5a838ba47f2 x86/sgx: Create utility to validate user provided offset and length
    2f6e2de3a528 ceph: avoid putting the realm twice when decoding snaps fails
    8bef55d7934d ceph: do not update snapshot context when there is no new snapshot
    cdee3136c966 iio: pressure: ms5611: fixed value compensation bug
    5d6696e79d94 iio: ms5611: Simplify IO callback parameters
    f0ee88e83ce9 nvme-pci: add NVME_QUIRK_BOGUS_NID for Netac NV7000
    a61716cd2401 nvme-pci: disable write zeroes on various Kingston SSD
    19b60f336317 nvme-pci: disable namespace identifiers for the MAXIO MAP1001
    d537e1930640 nvme-pci: add NVME_QUIRK_BOGUS_NID for Micron Nitro
    af03ce894c9c nvme: add a bogus subsystem NQN quirk for Micron MTFDKBA2T0TFH
    c6803faa6a6d drm/display: Don't assume dual mode adaptors support i2c sub-addressing
    d2284fe43c63 ata: libata-core: do not issue non-internal commands once EH is pending
    e09583e83e4a ata: libata-scsi: simplify __ata_scsi_queuecmd()
    a9059e338fc0 cifs: Fix connections leak when tlink setup failed
    81d583baa5f1 cifs: support nested dfs links over reconnect
    dbc0ea91be28 cifs: split out dfs code from cifs_reconnect()
    b3ce844d234f cifs: introduce new helper for cifs_reconnect()
    2ea600b598dd sctp: clear out_curr if all frag chunks of current msg are pruned
    1f9f346fbb78 sctp: remove the unnecessary sinfo_stream check in sctp_prsctp_prune_unsent
    e8915faa9f41 tty: serial: fsl_lpuart: don't break the on-going transfer when global reset
    bd19013935af serial: fsl_lpuart: Fill in rs485_supported
    87c81c19cda1 serial: Add rs485_supported to uart_port
    c08f4ea79f7a ASoC: fsl_asrc fsl_esai fsl_sai: allow CONFIG_PM=N
    d1e4288d2a63 ASoC: fsl_sai: use local device pointer
    71e496bd3382 Linux 5.15.80
    b63ddb3ba61e ntfs: check overflow when iterating ATTR_RECORDs
    ab6a1bb17e3c ntfs: fix out-of-bounds read in ntfs_attr_find()
    5330c423b862 ntfs: fix use-after-free in ntfs_attr_find()
    43bbadb7e463 net/9p: use a dedicated spinlock for trans_fd
    9357fca9dad7 mm: fs: initialize fsdata passed to write_begin/write_end interface
    b334ab4c3347 wifi: wext: use flex array destination for memcpy()
    0e07032b4b47 9p/trans_fd: always use O_NONBLOCK read/write
    7c7b7476b56e gfs2: Switch from strlcpy to strscpy
    28275a7c84d2 gfs2: Check sb_bsize_shift after reading superblock
    a4f1a01b2e81 9p: trans_fd/p9_conn_cancel: drop client lock earlier
    f7b0e95071bb kcm: close race conditions on sk_receive_queue
    27d706b0d394 kcm: avoid potential race in kcm_tx_work
    b49026d9c86f tcp: cdg: allow tcp_cdg_release() to be called multiple times
    e41cbf98df22 macvlan: enforce a consistent minimal mtu
    d5f7f6e63fed Input: i8042 - fix leaking of platform device on module removal
    c49cc2c059b5 kprobes: Skip clearing aggrprobe's post_handler in kprobe-on-ftrace case
    71beab7119d0 scsi: scsi_debug: Fix possible UAF in sdebug_add_host_helper()
    a636772988ba scsi: target: tcm_loop: Fix possible name leak in tcm_loop_setup_hba_bus()
    cb7893c85ea8 net: use struct_group to copy ip/ipv6 header addresses
    9b8c0c88f414 tracing: Fix warning on variable 'struct trace_array'
    73cf0ff9a393 ring-buffer: Include dropped pages in counting dirty patches
    35c60b4e8ca7 perf: Improve missing SIGTRAP checking
    2ac6276864de serial: 8250_lpss: Use 16B DMA burst with Elkhart Lake
    b1a27b2aad93 nvme: ensure subsystem reset is single threaded
    bccece3c3331 nvme: restrict management ioctls to admin
    8cddb0d96b9c perf/x86/intel/pt: Fix sampling using single range output
    8e2f33c59837 misc/vmw_vmci: fix an infoleak in vmci_host_do_receive_datagram()
    9a72a46cb01d docs: update mediator contact information in CoC doc
    a99a547658e5 mmc: sdhci-pci: Fix possible memory leak caused by missing pci_dev_put()
    4a1b6f7839d3 mmc: sdhci-pci-o2micro: fix card detect fail issue caused by CD# debounce timeout
    fd285d421563 mmc: core: properly select voltage range without power cycle
    8a9bae5f1b53 firmware: coreboot: Register bus in module init
    052d0e79efe5 iommu/vt-d: Set SRE bit only when hardware has SRS cap
    c31a792a825a iommu/vt-d: Preset Access bit for IOVA in FL non-leaf paging entries
    11edbdee4399 scsi: zfcp: Fix double free of FSF request when qdio send fails
    fdf87b5b3087 net: phy: marvell: add sleep time after enabling the loopback bit
    9648d760edf4 maccess: Fix writing offset in case of fault in strncpy_from_kernel_nofault()
    fdd57c20d440 Input: iforce - invert valid length check when fetching device IDs
    0cafb719bed5 serial: 8250_lpss: Configure DMA also w/o DMA filter
    59f6596697f1 serial: 8250: Flush DMA Rx on RLSI
    118b52c2ae08 serial: 8250: Fall back to non-DMA Rx if IIR_RDI occurs
    6ffce7a92ef5 dm ioctl: fix misbehavior if list_versions races with module loading
    2b104973f7fd iio: pressure: ms5611: changed hardcoded SPI speed to value limited
    1678d4abb2dc iio: adc: mp2629: fix potential array out of bound access
    bd22c232ead9 iio: adc: mp2629: fix wrong comparison of channel
    656f67061366 iio: trigger: sysfs: fix possible memory leak in iio_sysfs_trig_init()
    1bf8c0aff8fb iio: adc: at91_adc: fix possible memory leak in at91_adc_allocate_trigger()
    afc0aea70261 usb: typec: mux: Enter safe mode only when pins need to be reconfigured
    8236628a549d usb: cdns3: host: fix endless superspeed hub port reset
    ead83b0db81f usb: chipidea: fix deadlock in ci_otg_del_timer
    cc9e6d8c55c9 usb: add NO_LPM quirk for Realforce 87U Keyboard
    70eca1d261b2 USB: serial: option: add Fibocom FM160 0x0111 composition
    1b6a54885c40 USB: serial: option: add u-blox LARA-L6 modem
    b0467d0059bc USB: serial: option: add u-blox LARA-R6 00B modem
    95688a8a5735 USB: serial: option: remove old LARA-R6 PID
    53dee78ea382 USB: serial: option: add Sierra Wireless EM9191
    e7764e88e6c4 USB: bcma: Make GPIO explicitly optional
    a190a83db284 speakup: fix a segfault caused by switching consoles
    b3c6edbee48e slimbus: stream: correct presence rate frequencies
    6b35ac831555 slimbus: qcom-ngd: Fix build error when CONFIG_SLIM_QCOM_NGD_CTRL=y && CONFIG_QCOM_RPROC_COMMON=m
    0f847462fea1 Revert "usb: dwc3: disable USB core PHY management"
    23ad214a8665 ALSA: hda/realtek: Fix the speaker output on Samsung Galaxy Book Pro 360
    a36b505749c6 ALSA: hda/realtek: fix speakers for Samsung Galaxy Book Pro
    02b94885b2fd ALSA: usb-audio: Drop snd_BUG_ON() from snd_usbmidi_output_open()
    7176d6f3adb9 drm/amd/display: Add HUBP surface flip interrupt handler
    e57daa750369 tracing: kprobe: Fix potential null-ptr-deref on trace_array in kprobe_event_gen_test_exit()
    3a41c0f2a5c3 tracing: kprobe: Fix potential null-ptr-deref on trace_event_file in kprobe_event_gen_test_exit()
    7291dec4f2d1 tracing: Fix race where eprobes can be called before the event
    6517b97134f7 tracing: Fix wild-memory-access in register_synth_event()
    07ba4f0603ab tracing: Fix memory leak in test_gen_synth_cmd() and test_empty_synth_event()
    8b318f3032bf tracing/ring-buffer: Have polling block on watermark
    2c21ee020ce4 tracing: Fix memory leak in tracing_read_pipe()
    00f74b1a98a2 ring_buffer: Do not deactivate non-existant pages
    1bea037a1abb ftrace: Fix null pointer dereference in ftrace_add_mod()
    fadfcf39fbcd ftrace: Optimize the allocation for mcount entries
    5c5f2642898f ftrace: Fix the possible incorrect kernel message
    2ab249416244 cifs: add check for returning value of SMB2_set_info_init
    5783abda58d6 net: thunderbolt: Fix error handling in tbnet_init()
    80e590aeb132 net: microchip: sparx5: Fix potential null-ptr-deref in sparx_stats_init() and sparx5_start()
    4a55aec1425f cifs: Fix wrong return value checking when GETFLAGS
    c8baf1fc248b net/x25: Fix skb leak in x25_lapb_receive_frame()
    af4b57fa6bd0 net: ag71xx: call phylink_disconnect_phy if ag71xx_hw_enable() fail in ag71xx_open()
    61404a182eb5 cifs: add check for returning value of SMB2_close_init
    d3233f4bf3dd platform/surface: aggregator: Do not check for repeated unsequenced packets
    69691714035b platform/x86/intel: pmc: Don't unconditionally attach Intel PMC when virtualized
    7d93417d5964 drbd: use after free in drbd_create_device()
    fc16a2c81a3e bridge: switchdev: Fix memory leaks when changing VLAN protocol
    3d90a668c4bc net: hns3: fix setting incorrect phy link ksettings for firmware in resetting process
    3f7b2ef8fe92 net: ena: Fix error handling in ena_init()
    2540eea1bdc3 net: ionic: Fix error handling in ionic_init_module()
    c08c13cb13fa xen/pcpu: fix possible memory leak in register_pcpu()
    97009f07f217 net: dsa: make dsa_master_ioctl() see through port_hwtstamp_get() shims
    88da008e5e2f net: mhi: Fix memory leak in mhi_net_dellink()
    8f839715d032 bnxt_en: Remove debugfs when pci_register_driver failed
    b88713d92bd3 net: caif: fix double disconnect client in chnl_net_open()
    6d2403416089 net: macvlan: Use built-in RCU list checking
    596230471da3 mISDN: fix misuse of put_device() in mISDN_register_device()
    07a6a8cf1712 net: liquidio: release resources when liquidio driver open failed
    19feb6cf4136 soc: imx8m: Enable OCOTP clock before reading the register
    8c54d706d829 net: stmmac: ensure tx function is not running in stmmac_xdp_release()
    6219f46c2b9d net: hinic: Fix error handling in hinic_module_init()
    7a05e3929668 mISDN: fix possible memory leak in mISDN_dsp_element_register()
    0ee6455c9cfa net: bgmac: Drop free_netdev() from bgmac_enet_remove()
    7ff4fa179e4e bpf: Initialize same number of free nodes for each pcpu_freelist
    12f178cf05f3 MIPS: Loongson64: Add WARN_ON on kexec related kmalloc failed
    a4d6e024bea2 MIPS: fix duplicate definitions for exported symbols
    44142b652a28 nfp: change eeprom length to max length enumerators
    f23058dc2398 ata: libata-transport: fix error handling in ata_tdev_add()
    67b219314628 ata: libata-transport: fix error handling in ata_tlink_add()
    e7bb1b7a7bf2 ata: libata-transport: fix error handling in ata_tport_add()
    377ff82c33c0 ata: libata-transport: fix double ata_host_put() in ata_tport_add()
    494df0b0efe8 arm64: dts: imx8mn: Fix NAND controller size-cells
    7178d568f7cc arm64: dts: imx8mm: Fix NAND controller size-cells
    8ccf18c82a0a ARM: dts: imx7: Fix NAND controller size-cells
    e884a6c2d49a drm: Fix potential null-ptr-deref in drm_vblank_destroy_worker()
    07e56de8766f drm/drv: Fix potential memory leak in drm_dev_init()
    45c300613bee drm/panel: simple: set bpc field for logic technologies displays
    779f3f9e0cdc drm/vc4: kms: Fix IS_ERR() vs NULL check for vc4_kms
    97e5b508e961 pinctrl: devicetree: fix null pointer dereferencing in pinctrl_dt_to_map
    9a77b8557fdb parport_pc: Avoid FIFO port location truncation
    5d03c2911c52 siox: fix possible memory leak in siox_device_add()
    530e987a0226 arm64: Fix bit-shifting UB in the MIDR_CPU_MODEL() macro
    d4944497827a bpf: Fix memory leaks in __check_func_call
    25521fd2e217 block: sed-opal: kmalloc the cmd/resp buffers
    2f21d653c648 scsi: scsi_transport_sas: Fix error handling in sas_phy_add()
    7cd28bc410d2 pinctrl: rockchip: list all pins in a possible mux route for PX30
    ab79b8dbe21e ASoC: soc-utils: Remove __exit for snd_soc_util_exit()
    eaa8edd86514 bpf, test_run: Fix alignment problem in bpf_prog_test_run_skb()
    33cabe04d2c8 tty: n_gsm: fix sleep-in-atomic-context bug in gsm_control_send
    ae22294e213a serial: imx: Add missing .thaw_noirq hook
    26db1cd5191e serial: 8250: omap: Flush PM QOS work on remove
    e0db709a58bd serial: 8250: omap: Fix unpaired pm_runtime_put_sync() in omap8250_remove()
    83b6d4d6da67 serial: 8250_omap: remove wait loop from Errata i202 workaround
    76db05ab7092 serial: 8250: omap: Fix missing PM runtime calls for omap8250_set_mctrl()
    2aee616a6b11 ARM: at91: pm: avoid soft resetting AC DLL
    188546c78006 ASoC: tas2764: Fix set_tdm_slot in case of single slot
    5782896daf65 ASoC: tas2770: Fix set_tdm_slot in case of single slot
    34eee4189bce ASoC: core: Fix use-after-free in snd_soc_exit()
    aa6f8aecbbf2 ARM: dts: at91: sama7g5: fix signal name of pin PB2
    487fff700f5f spi: stm32: Print summary 'callbacks suppressed' message
    2cec2f65c1e7 arm64: dts: qcom: sm8350-hdk: Specify which LDO modes are allowed
    44dbe66bb3ea arm64: dts: qcom: sm8250-xperia-edo: Specify which LDO modes are allowed
    8b2eae7def2b arm64: dts: qcom: sm8150-xperia-kumano: Specify which LDO modes are allowed
    c8e76eeea77c arm64: dts: qcom: sa8155p-adp: Specify which LDO modes are allowed
    30571f28bb35 hugetlbfs: don't delete error page from pagecache
    14ddbb83c342 KVM: x86/pmu: Do not speculatively query Intel GP PMCs that don't exist yet
    a9b964ed7cf9 spi: intel: Use correct mask for flash and protected regions
    f4eb68642ed3 mtd: spi-nor: intel-spi: Disable write protection only if asked
    156d0c823c59 ASoC: codecs: jz4725b: Fix spelling mistake "Sourc" -> "Source", "Routee" -> "Route"
    5907ff9f2c8f x86/cpu: Add several Intel server CPU model numbers
    41e37d04e397 Bluetooth: L2CAP: Fix l2cap_global_chan_by_psm
    b02a025dd188 btrfs: remove pointless and double ulist frees in error paths of qgroup tests
    1c366c206ff2 drm/imx: imx-tve: Fix return type of imx_tve_connector_mode_valid
    1c8ded1b3879 i2c: i801: add lis3lv02d's I2C address for Vostro 5568
    b432581f19a0 i2c: tegra: Allocate DMA memory for DMA engine
    7b0ae4c7b918 firmware: arm_scmi: Cleanup the core driver removal callback
    1a8a2fef273d ACPI: x86: Add another system to quirk list for forcing StorageD3Enable
    8a03a4a5cf6d NFSv4: Retry LOCK on OLD_STATEID during delegation return
    49ca2227c47b btrfs: raid56: properly handle the error when unable to find the missing stripe
    0f7bd3a2dfe1 RDMA/efa: Add EFA 0xefa2 PCI ID
    a42d4363e78f ACPI: scan: Add LATT2021 to acpi_ignore_dep_ids[]
    004decd41b32 drm/amd/display: Remove wrong pipe control lock
    7779efbb99bf ASoC: rt1308-sdw: add the default value of some registers
    ef1e4ed85814 selftests/intel_pstate: fix build for ARCH=x86_64
    dfd3cc1ef3e2 selftests/futex: fix build for clang
    648467236c12 ASoC: Intel: sof_sdw: add quirk variant for LAPBC710 NUC15
    64ee750c29da ASoC: codecs: jz4725b: fix capture selector naming
    150b74cd0625 ASoC: codecs: jz4725b: use right control for Capture Volume
    5352d8b31572 ASoC: codecs: jz4725b: fix reported volume for Master ctl
    85134577a7f2 ASoC: codecs: jz4725b: add missed Line In power control bit
    5e61dffb16dc spi: intel: Fix the offset to get the 64K erase opcode
    c697cb2e6663 ASoC: wm8962: Add an event handler for TEMP_HP and TEMP_SPK
    569085124d75 ASoC: rt1019: Fix the TDM settings
    4160a515c75b ASoC: mt6660: Keep the pm_runtime enables before component stuff in mt6660_i2c_probe
    2963ec4535a1 ASoC: wm8997: Revert "ASoC: wm8997: Fix PM disable depth imbalance in wm8997_probe"
    30a2f9479c21 ASoC: wm5110: Revert "ASoC: wm5110: Fix PM disable depth imbalance in wm5110_probe"
    3bf6da38a292 ASoC: wm5102: Revert "ASoC: wm5102: Fix PM disable depth imbalance in wm5102_probe"
    94fa250ea55c mm: shmem: don't truncate page if memory failure happens
    003fa195911d mm: hwpoison: handle non-anonymous THP correctly
    a62b1bc603a1 mm: hwpoison: refactor refcount check handling
    3df0eeae4d9a Linux 5.15.79
    599b24eedf2a x86/cpu: Restore AMD's DE_CFG MSR after resume
    9132fa043f96 net: tun: call napi_schedule_prep() to ensure we own a napi
    1dea25e25acd drm/amdkfd: Migrate in CPU page fault use current mm
    a1c303fbd4dd marvell: octeontx2: build error: unknown type name 'u64'
    d948b228343a dmaengine: at_hdmac: Check return code of dma_async_device_register
    c556ecf32a07 dmaengine: at_hdmac: Fix impossible condition
    8a941ff34e53 dmaengine: at_hdmac: Don't allow CPU to reorder channel enable
    53831f7a13c3 dmaengine: at_hdmac: Fix completion of unissued descriptor in case of errors
    14f5462e4a00 dmaengine: at_hdmac: Fix descriptor handling when issuing it to hardware
    5482403228be dmaengine: at_hdmac: Fix concurrency over the active list
    82ca19414faa dmaengine: at_hdmac: Free the memset buf without holding the chan lock
    8fd36e069d65 dmaengine: at_hdmac: Fix concurrency over descriptor
    1ee012d452b1 dmaengine: at_hdmac: Fix concurrency problems by removing atc_complete_all()
    90c1b07406f0 dmaengine: at_hdmac: Protect atchan->status with the channel lock
    b5ee1fe06ad7 dmaengine: at_hdmac: Do not call the complete callback on device_terminate_all
    9bbf5df0fc8c dmaengine: at_hdmac: Fix premature completion of desc in issue_pending
    f7d1aaa90319 dmaengine: at_hdmac: Start transfer for cyclic channels in issue_pending
    e9777b4efcce dmaengine: at_hdmac: Don't start transactions at tx_submit level
    4e28674a0ecd dmaengine: at_hdmac: Fix at_lli struct definition
    49eba53137f5 cert host tools: Stop complaining about deprecated OpenSSL functions
    69e86c6268d5 can: j1939: j1939_send_one(): fix missing CAN header initialization
    81fc8f90b885 mm/shmem: use page_mapping() to detect page cache for uffd continue
    e91451af11f9 mm/memremap.c: map FS_DAX device memory as decrypted
    48998c1773a4 mm/damon/dbgfs: check if rm_contexts input is for a real context
    c736ed854160 udf: Fix a slab-out-of-bounds write bug in udf_find_entry()
    2e87eddf5736 mms: sdhci-esdhc-imx: Fix SDHCI_RESET_ALL for CQHCI
    91c38504e589 btrfs: zoned: initialize device's zone info for seeding
    432c30ba3f56 btrfs: selftests: fix wrong error check in btrfs_free_dummy_root()
    c9fe4719c662 btrfs: fix match incorrectly in dev_args_match_device
    f96fd3693631 wifi: ath11k: avoid deadlock during regulatory update in ath11k_regd_update()
    8e2b576caf91 platform/x86: hp_wmi: Fix rfkill causing soft blocked wifi
    cb3ab0e1e074 drm/amdgpu: disable BACO on special BEIGE_GOBY card
    dc066a78500a drm/i915/dmabuf: fix sg_table handling in map_dma_buf
    afbd1188382a nilfs2: fix use-after-free bug of ns_writer on remount
    abc082aac0d9 nilfs2: fix deadlock in nilfs_count_free_blocks()
    589da2288197 ata: libata-scsi: fix SYNCHRONIZE CACHE (16) command failure
    51ae4579a5d5 vmlinux.lds.h: Fix placement of '.data..decrypted' section
    1f8e08ab3269 ALSA: usb-audio: Add DSD support for Accuphase DAC-60
    c2451f62b2bd ALSA: usb-audio: Add quirk entry for M-Audio Micro
    031d1480a0f4 ALSA: usb-audio: Yet more regression for for the delayed card registration
    574f51e4aa40 ALSA: hda/realtek: Add Positivo C6300 model quirk
    7140d7aaf93d ALSA: hda: fix potential memleak in 'add_widget_node'
    f6d7a487aabd ALSA: hda/ca0132: add quirk for EVGA Z390 DARK
    1ccd55b3901b ALSA: hda/hdmi - enable runtime pm for more AMD display audio
    29100c674208 mmc: sdhci-esdhc-imx: use the correct host caps for MMC_CAP_8_BIT_DATA
    3dce99e2eb06 mmc: sdhci-tegra: Fix SDHCI_RESET_ALL for CQHCI
    9d6bd33e6aeb mmc: sdhci_am654: Fix SDHCI_RESET_ALL for CQHCI
    ad01f16ca90c mmc: sdhci-of-arasan: Fix SDHCI_RESET_ALL for CQHCI
    1aa78c1d013c mmc: cqhci: Provide helper for resetting both SDHCI and CQHCI
    c198524a99cb MIPS: jump_label: Fix compat branch range check
    9713ceffa40a arm64: efi: Fix handling of misaligned runtime regions and drop warning
    518e49f0590d riscv: fix reserved memory setup
    d07c3d7491b4 riscv: vdso: fix build with llvm
    cc36c7fa5d93 riscv: process: fix kernel info leakage
    a8d67367ab33 net: macvlan: fix memory leaks of macvlan_common_newlink
    7b194dd32b13 ethernet: tundra: free irq when alloc ring failed in tsi108_open()
    7de10342fe14 net: mv643xx_eth: disable napi when init rxq or txq failed in mv643xx_eth_open()
    88e1dd2d9291 ethernet: s2io: disable napi when start nic failed in s2io_card_up()
    3652f1f8d3ea net: atlantic: macsec: clear encryption keys from the stack
    fca3b0a1fd3e net: phy: mscc: macsec: clear encryption keys when freeing a flow
    60a0af8813fd stmmac: dwmac-loongson: fix missing of_node_put() while module exiting
    ee4a9bd2c7f4 stmmac: dwmac-loongson: fix missing pci_disable_device() in loongson_dwmac_probe()
    4a8770eebc39 stmmac: dwmac-loongson: fix missing pci_disable_msi() while module exiting
    83196d8dc5a8 cxgb4vf: shut down the adapter when t4vf_update_port_info() failed in cxgb4vf_open()
    49d8a6e24a34 mctp: Fix an error handling path in mctp_init()
    29961d2332a5 stmmac: intel: Update PCH PTP clock rate from 200MHz to 204.8MHz
    8604bebc5c32 stmmac: intel: Enable 2.5Gbps for Intel AlderLake-S
    7dec6dae2b61 net: cxgb3_main: disable napi when bind qsets failed in cxgb_up()
    960f9d30def3 net: cpsw: disable napi in cpsw_ndo_open()
    1360778fdb6f net/mlx5e: E-Switch, Fix comparing termination table instance
    f13e9ebd2925 net/mlx5: Allow async trigger completion execution on single CPU systems
    48b73b46a5b0 net/mlx5: Bridge, verify LAG state when adding bond to bridge
    13b1ea861e8a net: wwan: iosm: fix memory leak in ipc_pcie_read_bios_cfg
    7e4dcacb4dd6 net: nixge: disable napi when enable interrupts failed in nixge_open()
    409731df6310 net: marvell: prestera: fix memory leak in prestera_rxtx_switch_init()
    77ff31cba9a6 netfilter: Cleanup nft_net->module_list from nf_tables_exit_net()
    e62cb1c093d6 netfilter: nfnetlink: fix potential dead lock in nfnetlink_rcv_msg()
    0bd20318da08 perf tools: Add the include/perf/ directory to .gitignore
    a733671e388c perf stat: Fix printing os->prefix in CSV metrics output
    c36e9e2c4aff drivers: net: xgene: disable napi when register irq failed in xgene_enet_open()
    4689bd3a1b23 net: lapbether: fix issue of invalid opcode in lapbeth_open()
    1dd27541aa2b dmaengine: ti: k3-udma-glue: fix memory leak when register device fail
    992e966caf57 dmaengine: mv_xor_v2: Fix a resource leak in mv_xor_v2_remove()
    9766af75ba5a dmaengine: pxa_dma: use platform_get_irq_optional
    301caa06091a tipc: fix the msg->req tlv len check in tipc_nl_compat_name_table_dump_header
    6a264203dbdb net: broadcom: Fix BCMGENET Kconfig
    e7871b9a21ae net: stmmac: dwmac-meson8b: fix meson8b_devm_clk_prepare_enable()
    261178a1c262 can: af_can: fix NULL pointer dereference in can_rx_register()
    2acb2779b147 ipv6: addrlabel: fix infoleak when sending struct ifaddrlblmsg to network
    13ecaa6832fb tcp: prohibit TCP_REPAIR_OPTIONS if data was already sent
    bc79cb9fb006 drm/vc4: Fix missing platform_unregister_drivers() call in vc4_drm_register()
    2845bc9070ce net: wwan: mhi: fix memory leak in mhi_mbim_dellink
    2ce2348c2858 net: wwan: iosm: fix memory leak in ipc_wwan_dellink
    7b6bc50f65e9 hamradio: fix issue of dev reference count leakage in bpq_device_event()
    f59adebb8c28 net: lapbether: fix issue of dev reference count leakage in lapbeth_device_event()
    119407dc329a KVM: s390: pv: don't allow userspace to set the clock under PV
    500bcd3a99ea phy: ralink: mt7621-pci: add sentinel to quirks table
    151dc8087b56 capabilities: fix undefined behavior in bit shift for CAP_TO_MASK
    435c7ddfd510 net: fman: Unregister ethernet device on removal
    3a504d6d96ea bnxt_en: fix potentially incorrect return value for ndo_rx_flow_steer
    ac257c43fa61 bnxt_en: Fix possible crash in bnxt_hwrm_set_coal()
    d7569302a7a5 net: tun: Fix memory leaks of napi_get_frags
    430d1f4964dd octeontx2-pf: NIX TX overwrites SQ_CTX_HW_S[SQ_INT]
    ec0db81883b4 octeontx2-pf: Use hardware register for CQE count
    b89a0d8859ae macsec: clear encryption keys from the stack after setting up offload
    eeba7f07a0cb macsec: fix detection of RXSCs when toggling offloading
    3070a880eb03 macsec: fix secy->n_rx_sc accounting
    e957555a3694 macsec: delete new rxsc when offload fails
    ad25a115f508 net: gso: fix panic on frag_list with mixed head alloc types
    466ce46f251d bpf: Fix wrong reg type conversion in release_reference()
    35d8130f2ad0 bpf: Add helper macro bpf_for_each_reg_in_vstate
    61274498fbf8 bpf, sock_map: Move cancel_work_sync() out of sock lock
    32b5dd03beeb bpf: Fix sockmap calling sleepable function in teardown path
    e9915581899c bpf, sockmap: Fix sk->sk_forward_alloc warn_on in sk_stream_kill_queues
    5ad95d71344b HID: hyperv: fix possible memory leak in mousevsc_probe()
    6dcdd1b68b7f bpftool: Fix NULL pointer dereference when pin {PROG, MAP, LINK} without FILE
    2fc902245c82 wifi: mac80211: Set TWT Information Frame Disabled bit as 1
    95adbd2ac8de bpf, sockmap: Fix the sk->sk_forward_alloc warning of sk_stream_kill_queues
    06615967d488 bpf, verifier: Fix memory leak in array reallocation for stack state
    4335a82c4f7b soundwire: qcom: check for outanding writes before doing a read
    ae4dad2e5374 soundwire: qcom: reinit broadcast completion
    38c9fa2cc6bf wifi: cfg80211: fix memory leak in query_regdb_file()
    2c6ba0a7872b wifi: cfg80211: silence a sparse RCU warning
    921738c280ab phy: stm32: fix an error code in probe
    fa722006f762 hwspinlock: qcom: correct MMIO max register for newer SoCs
    3c1bb6187e56 drm/amdkfd: Fix NULL pointer dereference in svm_migrate_to_ram()
    b1f852277171 drm/amdkfd: handle CPU fault on COW mapping
    36770c045aba drm/amdkfd: avoid recursive lock in migrations back to RAM
    93a5de7e8843 fuse: fix readdir cache race
    1920cf94545a thunderbolt: Add DP OUT resource when DP tunnel is discovered
    47dbf2496990 thunderbolt: Tear down existing tunnels when resuming from hibernate

(From OE-Core rev: 0da091fb301cfc54297d716e2097360553bb8ae1)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit ee40eebc70d1d09c758eeba2ff6de969fb717a0b)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-26 23:37:05 +00:00
Bruce Ashfield
7dce079e09 linux-yocto/5.15: libbpf: Fix build warning on ref_ctr_off
Integrating the following commit(s) to linux-yocto/5.15:

    da5513f30187 libbpf: Fix build warning on ref_ctr_off

(From OE-Core rev: 422c3fee2364ae8376d0c4f601749b616a76fb03)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit eb75d561256c794baf6c89c1975967343145da87)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-26 23:37:05 +00:00
Bruce Ashfield
fd8bc329dc linux-yocto/5.15: fix perf build with clang
Integrating the following commit(s) to linux-yocto/5.15:

    4c5a089621a8 perf python: Account for multiple words in CC

(From OE-Core rev: 9125916666e1d160b10edcb31f4306d20ce9cdd3)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 1cf78a856beb42a2d68e6c49bfdbc33fea68ebb5)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-26 23:37:05 +00:00
Bruce Ashfield
35ade176ff linux-yocto/5.15: ltp and squashfs fixes
Integrating the following commit(s) to linux-yocto/5.15:

    1c5699ee85d4 fs: move S_ISGID stripping into the vfs_*() helpers
    838f5d0701d8 fs: add mode_strip_sgid() helper
    d97172683641 squashfs: provide backing_dev_info in order to disable read-ahead

(From OE-Core rev: 6dd61c0dc143e53acddd3a181298b18bb8bc789a)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 474ddb758dd1b327540e48ccfe1500fb4231f30b)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-26 23:37:05 +00:00
Alexander Kanavin
533b22a811 xserver-xorg: upgrade 21.1.4 -> 21.1.6
(From OE-Core rev: 9a0efa7ecc55b3f81be20ddc34c14c81ebea7634)

Signed-off-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 009e8d6a292690a0c355d12be2368a9677c701f5)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-26 23:37:05 +00:00
Alexander Kanavin
79814c6339 xwayland: upgrade 22.1.5 -> 22.1.7
(From OE-Core rev: 32bdbd7ec920ccc8bcc1a21d57fcd4af40b81fe5)

Signed-off-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 c37ec8b2d91605d6eb5228f0a447fb83f111edc3)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-26 23:37:05 +00:00
Alexander Kanavin
1fcc005666 linux-firmware: upgrade 20221109 -> 20221214
License-Update: additional files

(From OE-Core rev: 5386df31f130b1da4203102c9b830f611dc31219)

Signed-off-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 15f3a9f6c4406ddc00f7dc0ca7e1beafe9c71a9f)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-26 23:37:05 +00:00
Alexander Kanavin
067465faa1 libksba: update 1.6.2 -> 1.6.3
Noteworthy changes in version 1.6.3 (2022-12-06)

Fix another integer overflow in the CRL parser. [T6284,CVE-2022-47629]

(From OE-Core rev: 0c1829b0e7e085ba8aef0d47852abf520ef9d635)

Signed-off-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 83f3f21b1b84ab9e7b461ac966691c80f4ed4e97)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
(cherry picked from commit f098cb5073051eb371f4142678b4b3d5e7b52426)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-26 23:37:05 +00:00
Steve Sakoman
c8b7bd3158 Revert "libksba: fix CVE-2022-47629"
Prepare for stable version bump which includes this fix

This reverts commit e4cb0bf273ea556db91699594046a47514c8583c.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-26 23:37:05 +00:00
He Zhe
4aad4cc620 lttng-modules: update 2.13.7 -> 2.13.8
(From OE-Core rev: 39ef525391d2d39a3431d319a20a5b5fc9a916a3)

Signed-off-by: He Zhe <zhe.he@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-26 23:37:05 +00:00
Quentin Schulz
80880c552c cairo: fix CVE patches assigned wrong CVE number
CVE-2019-6461 and CVE-2019-6462 are fixed, but the reporting is
incorrect as the patch for CVE-2019-6461 is actually for CVE-2019-6462
and vice-versa.

This swaps both files and edit the CVE field to report the correct
identifier.

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

Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f12c2a5ac94cb29f473f3c7e335463c7fb6d8a6e)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-26 23:37:05 +00:00
Jermain Horsman
b899f258be cve-check: write the cve manifest to IMGDEPLOYDIR
When building an image cve_check_write_rootfs_manifest() would sometimes fail
with a FileNotFoundError when writing the manifest.cve due to the parent
directory (DEPLOY_DIR_IMAGE) not (yet) existing.

The image task will provide the manifest in the deploy directory afterwards,
so other recipes depending on the manifest being in DEPLOY_DIR_IMAGE should
continue to function properly.

(From OE-Core rev: 3e1ae171d89d0ac5487a8930bf6f8a97c43fdf57)

Signed-off-by: Jermain Horsman <jermain.horsman@nedap.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 00fb2aae22ce0d7ff5f3f8766fa770eeb4e73483)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-26 23:37:05 +00:00
Ross Burton
7aaba58845 cve-update-db-native: show IP on failure
We get random SSL failures when fetching the CVE database, and it's
notable that the NVD server is behind a DNS round-robin or geographically
diverse servers.

On a hunch that there is one misconfigured server, dump the IP that we
connected to.

(From OE-Core rev: 99f1a8971192f85fefad3cbc993b23a59627eb4c)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 91f46d431dc8f40e8c6475c800bb61cb08b82b0a)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-26 23:37:05 +00:00
Marta Rybczynska
876ff61388 cve-update-db-native: avoid incomplete updates
The database update has been done on the original file. In case of
network connection issues, temporary outage of the NVD server or
a similar situation, the function could exit with incomplete data
in the database. This patch solves the issue by performing the update
on a copy of the database. It replaces the main one only if the whole
update was successful.

See https://bugzilla.yoctoproject.org/show_bug.cgi?id=14929

Reported-by: Alberto Pianon <alberto@pianon.eu>
(From OE-Core rev: 878988a67b488a01f53658bcc528b5d0422672ae)

Signed-off-by: Marta Rybczynska <marta.rybczynska@linaro.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 8efe99214d8b005f0ecac690ce5ba17b31758f92)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-26 23:37:05 +00:00
Narpat Mali
bba70ce341 ffmpeg: fix for CVE-2022-3341
avformat/nutdec: Add check for avformat_new_stream
Check for failure of avformat_new_stream() and propagate
the error code.

(From OE-Core rev: e17ddd0fafb562ed7ebe7708dac9bcef2d6cecc1)

Signed-off-by: Narpat Mali <narpat.mali@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-26 23:37:05 +00:00
Hitendra Prajapati
db86e51343 go: fix CVE-2022-41717 Excessive memory use in got server
Upstream-Status: Backport from 618120c165

(From OE-Core rev: f4d179aab7c8f55669ac652a0668644859ec2eb7)

Signed-off-by: Hitendra Prajapati <hprajapati@mvista.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-26 23:37:05 +00:00
Daniel Gomez
0b4b2c007d gtk-icon-cache: Fix GTKIC_CMD if-else condition
GTKIC_CMD variable gets the wrong assignation leading into a post
install script error. Fix if-else condition in GTKIC_CMD variable
to assign gtk4-update-icon-cache when GTKIC_VERSION is 4 but
gtk-update-icon-cache when is 3.

Also, rename gtk-update-icon-cache-3.0.0 to gtk-update-icon-cache-3.0
to match the gtk-update-icon-cache binary name deployed in
meta/recipes-gnome/gtk+/gtk+3.inc.

(From OE-Core rev: 34de16fd86775c0f2ede1670fec90217e4d11776)

Signed-off-by: Daniel Gomez <daniel@qtec.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Robert Joslyn <robert.joslyn@redrectangle.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-26 23:37:05 +00:00
KARN JYE LAU
fdcaaeebb6 freetype:update mirror site.
update SAVANNAH_NONGNU_MIRROR to SAVANNAH_GNU_MIRROR
to resolve package fetching issues.

(From OE-Core rev: 8f1de2127bd8f3f2a182a8532102ec0d3d44be70)

Signed-off-by: KARN JYE LAU <karn.jye.lau@intel.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-26 23:37:05 +00:00
Yash Shinde
94e4412765 glibc: stable 2.35 branch updates.
Below commits on glibc-2.35 stable branch are updated.

293211b6fd time: Use 64 bit time on tzfile
26c8278889 nscd: Use 64 bit time_t on libc nscd routines (BZ# 29402)
f75f61b659 nis: Build libnsl with 64 bit time_t
ca97201c24 Apply asm redirections in syslog.h before first use [BZ #27087]
cad7947db7 elf: Fix wrong fscanf usage on tst-pldd
e9eb987894 Allow for unpriviledged nested containers
2636fbb7ef elf: Fix wrong fscanf usage on tst-pldd
e7019eeeb5 x86: Fix wcsnlen-avx2 page cross length comparison [BZ #29591]
fb73a40981 elf: Fix rtld-audit trampoline for aarch64

(From OE-Core rev: 4db5727a0b44d471382c95c3897b68af5ab1a3b4)

Signed-off-by: Yash Shinde <Yash.Shinde@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-26 23:37:05 +00:00
Yogita Urade
d65382908c libksba: fix CVE-2022-47629
Libksba before 1.6.3 is prone to an integer overflow vulnerability in the CRL signature parser.

CVE: CVE-2022-47926

References: https://nvd.nist.gov/vuln/detail/CVE-2022-47629

(From OE-Core rev: e4cb0bf273ea556db91699594046a47514c8583c)

Signed-off-by: Yogita Urade <yogita.urade@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-26 23:37:05 +00:00
Narpat Mali
07213601fd python3-git: fix for CVE-2022-24439
All versions of package gitpython are vulnerable to Remote Code Execution
(RCE) due to improper user input validation, which makes it possible to
inject a maliciously crafted remote URL into the clone command. Exploiting
this vulnerability is possible because the library makes external calls to
git without sufficient sanitization of input arguments.

CVE: CVE-2022-24439

Upstream-Status: Backport

Reference:
https://github.com/gitpython-developers/GitPython/discussions/1529
https://github.com/gitpython-developers/GitPython/pull/1518
https://github.com/gitpython-developers/GitPython/pull/1521

(From OE-Core rev: 55f93e3786290dfa5ac72b5969bb2793f6a98bde)

Signed-off-by: Narpat Mali <narpat.mali@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-26 23:37:05 +00:00
Narpat Mali
fd36d262b8 python3-wheel: fix for CVE-2022-40898
An issue discovered in Python Packaging Authority (PyPA) Wheel 0.37.1
and earlier allows remote attackers to cause a denial of service via
attacker controlled input to wheel cli.

CVE: CVE-2022-40898

Upstream-Status: Backport [88f02bc335]

(From OE-Core rev: 0974291e545aec68755dfb634c75dca37cca1ea9)

Signed-off-by: Narpat Mali <narpat.mali@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-26 23:37:05 +00:00
Narpat Mali
92b150b9f3 python3-setuptools: fix for CVE-2022-40897
Python Packaging Authority (PyPA) setuptools before 65.5.1 allows remote attackers
to cause a denial of service via HTML in a crafted package or custom PackageIndex
page. There is a Regular Expression Denial of Service (ReDoS) in package_index.py.

CVE: CVE-2022-40897

Upstream-Status: Backport [43a9c9bfa6]

(From OE-Core rev: f574d8d57ff3fbc38e350e7a90913993081c4fdf)

Signed-off-by: Narpat Mali <narpat.mali@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-26 23:37:05 +00:00
Bhabu Bindu
da271d70f0 qemu: Fix CVE-2022-4144
Add patch to fix CVE-2022-4144

Link: https://security-tracker.debian.org/tracker/CVE-2022-4144

(From OE-Core rev: 4cb3874abf4fdeb04337a48a14c765ba9b2269d4)

Signed-off-by: Bhabu Bindu <bhabu.bindu@kpit.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-26 23:37:05 +00:00
Martin Jansa
d95be1c7ed ffmpeg: refresh patches to apply cleanly
* the last patch added in:
  https://git.openembedded.org/openembedded-core/commit/?h=kirkstone&id=874b72fe259cd3a23f4613fccfe2e9cc3f79cd6a
  doesn't apply cleanly.

* fixes:
  ERROR: ffmpeg-5.0.1-r0 do_patch: Fuzz detected:

  Applying patch 0001-avcodec-vp3-Add-missing-check-for-av_malloc.patch
  patching file libavcodec/vp3.c
  Hunk #1 succeeded at 2677 with fuzz 1 (offset -2 lines).

(From OE-Core rev: 6060dec1fc9d215f6b2ff9d6571bac802ac6a09b)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-26 23:37:05 +00:00
Alexander Kanavin
0118853b5b devtool: process local files only for the main branch
devtool modify/upgrade are not currently equipped to handle conditional local files
in SRC_URI, and provide only the main no-override set in a workspace under
source/component/oe-local-files/ (this is done via meta/classes/devtool-source.bbclass).

On the other hand, updating the changes from workspace into a recipe
is run iteratively against all overrides; this works for patches (as they
all are directed into their own override branches in the workspace
git source tree), but breaks down when trying to match local files
in a workspace against local files in overridden SRC_URI lists, resulting in
bad recipe breakage.

(there's an additional twist here: existing code has a guard against this
but the guard relies on metadata in workspace .bbappend that is only there
in modify operations, but not upgrades. This commit replaces the guard
with a general check that will work everywhere).

Implementing multiple sets of local files is significant work; let's for now
simply not touch local files in recipes except when on the no-override variant.

Also, adjust the selftest cases to include conditional local files in sample
recipes, so the situation is covered by the tests.

(From OE-Core rev: 4760fac939a6204e3cb7dcd3699cd9a2508f9dee)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 3a8654b860fa98f94e80c3c3fff359ffed14bbe7)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-15 11:05:15 +00:00
Jose Quaresma
cb89546620 gstreamer1.0: Fix race conditions in gstbin tests
(From OE-Core rev: ae00dd1175263dbdc7c2de5cd98baa44d5ba837e)

Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit b57df3fe9c1623ba2f5a9a0e11a85dcdc77e76a5)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-15 11:05:15 +00:00
Jose Quaresma
73cbe478a5 Revert "gstreamer1.0: disable flaky gstbin:test_watch_for_state_change test"
This reverts commit 220a527d26.

- Drop this patch and use the upstream solution
  https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2643

(From OE-Core rev: 865ea5e122a0e6cbfab1c4fe722bb01509b1102a)

Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 9660045d07a2b492ac48a1f1b08aa4288b45d64a)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-15 11:05:15 +00:00
Pavel Zhukov
36209ca38f oeqa/rpm.py: Increase timeout and add debug output
[Yocto #14346]
Systemd may be slow in killing pam session sometimes [1][2]. It may cause rpm
test to fail because there's process (sd_pam) running and own by "test1" user
after timeout.
Increasing timeout to 2 mins and assert earlier with debug output if
there's such process(es). If increasing of timeout doesn't help we may
want to force deletion of the user as [2] suggests.

[1] https://github.com/systemd/systemd/issues/8598
[2] https://access.redhat.com/solutions/6969188

(From OE-Core rev: 36491639258c6f9f0bd1890ee68f8e2f44a77e72)

Signed-off-by: Pavel Zhukov <pavel@zhukoff.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 972fcc0ed1e0d36c3470071a9c667c5327c1ef78)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-15 11:05:15 +00:00
Luis
f8187daf0a rm_work.bbclass: use HOSTTOOLS 'rm' binary exclusively
The do_rm_work() task is using the first available 'rm' binary
available in PATH to remove files and folders.
However, depending on the PATH setup and RECIPE_SYSROOT_NATIVE
contents, the function can be using the 'rm' binary available
in RECIPE_SYSROOT_NATIVE, a folder that will get removed.
This causes a sporadic race-condition when trying to access the
'rm' binary of a folder already deleted.
Solve this by exclusively using the HOSTTOOLS 'rm' binary, as
this folder will not get removed.

(From OE-Core rev: 7ad7ba54916351f4fe2d0bd1542962539e5eb4bd)

Signed-off-by: Luis Martins <luis.pinto.martins@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit edcd9ad333bc4e504594e8af83e8cb7007d2e35c)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-15 11:05:15 +00:00
Changqing Li
d369e47a82 base.bbclass: Fix way to check ccache path
The previous code had 2 issues:
1. make hosttools/ccache always link to host's ccache (/usr/bin/ccache)
even we have one buildtools
2. make hosttools/gcc etc, link to host's gcc event we have one
buildtools when keyword ccache in buildtools's path, eg:
/mnt/ccache/bin/buildtools

This patch is for fix above issues.

(From OE-Core rev: 19f6849b161115161c025a0b435229d5097abb9e)

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 1b7c81414cf252a7203d95703810a770184d7e4d)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-15 11:05:15 +00:00
Wang Mingyu
7750385191 bind: upgrade 9.18.9 -> 9.18.10
Changelog:
==========
The key file IO locks objects would never get deleted from the hashtable due to
off-by-one error.

ANY responses could sometimes have the wrong TTL.

Speed up the named shutdown time by explicitly canceling all recursing ns_client
objects for

Removing a catalog zone from catalog-zones without also removing the referenced
zone could leave a dangling pointer. [GL #3683]

nslookup and host were not honoring the selected port in TCP mode. [GL #3721]

Deprecate alt-transfer-source, alt-transfer-source-v6 and
use-alt-transfer-source. [GL #3694]

Move the "final reference detached" log message from dns_zone unit to the
DEBUG(1) log level.

Fix assertion failure in isc_http API used by statschannel if the read callback
would be called on HTTP request that has been already closed.

Deduplicate time unit conversion factors.

Copy TLS identifier when setting up primaries for catalog member zones.

Deprecate 'auto-dnssec'. [GL #3667]

The decompression implementation in dns_name_fromwire() is now smaller and
faster. [GL #3655]

Use the current domain name when checking answers from a dual-stack-server.

Ensure 'named-checkconf -z' respects the check-wildcard option when loading a
zone.  [GL #1905]

Deprecate 'coresize', 'datasize', 'files', and 'stacksize' named.conf options.

The view's zone table was not locked when it should have been leading to race
conditions when external extensions that manipulate the zone table where in use.

Some browsers (Firefox) send more than 10 HTTP headers.  Bump the number of
allowed HTTP headers to 100. [GL #3670]

NXDOMAIN cache records are no longer retained in the cache after expiry,
even when serve-stale is in use. [GL #3386]

(From OE-Core rev: 932546383875692c4cc9e05c75a4be64a6c3f0c7)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 1c093c38e247b522f279f616d16373795a4cdf89)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
(cherry picked from commit 410d69c684ba4eb6dd279a40436043259f94b6b9)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-15 11:05:14 +00:00
Alexander Kanavin
60f1d08fa6 libarchive: upgrade 3.6.1 -> 3.6.2
Libarchive 3.6.2 is a bugfix and security release.

Important security fixes:

NULL pointer dereference vulnerability in archive_write.c (#1754, #1759, CVE-2022-36227)

Important bug fixes:

include ZSTD in Windows builds (#1688)
SSL fixes on Windows (#1714, #1723, #1724)
rar5 reader: fix possible garbled output with bsdtar -O (#1745)
mtree reader: support reading mtree files with tabs (#1783)
various small fixes for issues found by CodeQL

Use --without-iconv as otherwise autotools write a bogus iconv
dependency into .pc file.

(From OE-Core rev: 41e1b4c29e45a9022eea8f89dfb09b6eb2eae60b)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit edce1bce81fe2f47fb2c5e2b94ebda73f95cbaea)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
(cherry picked from commit 93b972845a28b62ea01ee0f4a1e043bd58fc0892)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-15 11:05:14 +00:00
Narpat Mali
fd2d945820 ffmpeg: fix for CVE-2022-3109
An issue was discovered in the FFmpeg package, where vp3_decode_frame in libavcodec/vp3.c lacks check of
the return value of av_malloc() and will cause a null pointer dereference, impacting availability.

CVE: CVE-2022-3109

Upstream-Status: Backport [656cb0450a]

(From OE-Core rev: 874b72fe259cd3a23f4613fccfe2e9cc3f79cd6a)

Signed-off-by: Narpat Mali <narpat.mali@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-15 11:05:14 +00:00
Martin Jansa
80dee2dad3 systemd: backport another change from v252 to fix build with CVE-2022-45873.patch
* CVE-2022-45873.patch was backported from systemd/main, but it doesn't
  build without another change from v252 when elfutils PACKAGECONFIG is
  enabled.

* fixes:
  | ../git/src/shared/elf-util.c: In function 'parse_elf_object':
  | ../git/src/shared/elf-util.c:792:27: error: void value not ignored as it ought to be
  |   792 |                         r = json_variant_dump(package_metadata, JSON_FORMAT_FLUSH, json_out, NULL);
  |       |                           ^

(From OE-Core rev: bc8501a5a2ffc5673bad50f744d78822525bea9d)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-15 11:05:14 +00:00
Hitendra Prajapati
9c9bb12c72 systemd: CVE-2022-45873 deadlock in systemd-coredump via a crash with a long backtrace
Upstream-Status: Backport from 076b807be4

(From OE-Core rev: 447d514037a234f181dbeca1a6e4af484461c9b6)

Signed-off-by: Hitendra Prajapati <hprajapati@mvista.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-15 11:05:14 +00:00
Michael Opdenacker
d3e3783973 manuals: document SPDX_PRETTY variable
Now that it has been backported to Kirkstone
https://git.yoctoproject.org/poky/commit/?h=kirkstone&id=99483cff5c358d847ceb077349321eb57d5143e4

(From yocto-docs rev: 5883e897c34f25401b358a597fb6e18d80f7f90b)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-10 14:21:45 +00:00
Quentin Schulz
ebfc6bdba4 docs: kernel-dev: faq: update tip on how to not include kernel in image
Since commit f6d963fa6d ("kernel: make kernel-base recommend
kernel-image, not depend"), present in Kirkstone 4.0, one should
set RRECOMMENDS and not RDEPENDS to avoid including the kernel in the
image, so let's update the documentation to reflect that.

Reported-by: Konstantin Kletschke <konstantin.kletschke@inside-m2m.de>
Cc: Quentin Schulz <foss+yocto@0leil.net>
(From yocto-docs rev: b94956c7d416879f9e4c46102145ef478270c440)

Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-06 17:33:45 +00:00
Quentin Schulz
cf42cc0ef0 docs: migration-4.0: specify variable name change for kernel inclusion in image recipe
Since commit f6d963fa6d ("kernel: make kernel-base recommend
kernel-image, not depend"), present in Kirkstone 4.0, one should
set RRECOMMENDS and not RDEPENDS to avoid including the kernel in the
image, so let's update the documentation to reflect that.

Reported-by: Konstantin Kletschke <konstantin.kletschke@inside-m2m.de>
Cc: Quentin Schulz <foss+yocto@0leil.net>
(From yocto-docs rev: 775a3c7c56562fa8dd6a426008bce06ca1140e04)

Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-06 17:33:45 +00:00
Michael Opdenacker
4641f83d93 manuals: add 4.0.5 and 4.0.6 release notes
(From yocto-docs rev: 61b2f039f09282a271abc1c41ea09765ea08a2cb)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-06 17:33:45 +00:00
Richard Purdie
e2c6d1436a oeqa/concurrencytest: Add number of failures to summary output
When running oe-selftest and seeing the end of a running log, it is
extremely helpful to know if there have been failures or not to save
looking at the rest of the log. Add the number of failures to the summary
line so that people monitoring builds have an easier time before the end
totals are printed.

(From OE-Core rev: 5fa9d58f59bebfc9eb495b50ef9a767a5c765b77)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 6b23996911d91f7f99774646c6db9f3490b4cb62)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-06 17:33:23 +00:00
Randy MacLeod
ffa4177a45 valgrind: skip the boost_thread test on arm
This test is failing on the arm workers only so skip there until the issue
can be worked on and resolved. The bug #14311 will remain open for tracking.

(From OE-Core rev: c35db8b7ac2eaeff36afb43a0c3f54b5866c8305)

Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit d98deec9e4aed9e05343d2758f3a3892e2044616)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-06 17:33:23 +00:00
Jagadeesh Krishnanjanappa
ea2fc2b81d qemuboot.bbclass: make sure runqemu boots bundled initramfs kernel image
The QB_DEFAULT_KERNEL is set to pick bundled initramfs kernel image
if the Linux kernel image is generated with INITRAMFS_IMAGE_BUNDLE="1".

This makes runqemu to automatically pick bundled initramfs kernel image
instead of explicitly mentioning bundled initramfs kernel image in
runqemu.

[YOCTO #14748]

(From OE-Core rev: ce673bc9f74aff1b6ba06e7b1d90da529894dce3)

Signed-off-by: Jagadeesh Krishnanjanappa <workjagadeesh@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 52371624313184e1a825519160c3833e282df8b9)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-06 17:33:23 +00:00
Alexander Kanavin
45f3a4fd63 devtool/upgrade: correctly handle recipes where S is a subdir of upstream tree
'devtool modify' writes additional settings to workspace .bbappend so that this
can be handled correctly, but 'devtool upgrade' does not. This adds the missing
settings.

In particular, local files should not anymore mysteriously disappear from
SRC_URIs on upgrades.

(From OE-Core rev: 22f210f9f4dfc9e13fdc229147fd1677db5a35ec)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 0817aa5537a8d7cc9591c53dfaa1d225f4c327f7)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-06 17:33:23 +00:00
Ovidiu Panait
24cdd5bb63 kernel.bbclass: remove empty module directories to prevent QA issues
Currently, allyesconfig test runs for x86_64 fail with:
ERROR: linux-yocto-5.19.17+gitAUTOINC+0cba9aa404_aaf4490d18-r0 do_package:
QA Issue: linux-yocto: Files/directories were installed but not shipped in any
package:
  /lib/modules/5.19.17/kernel/drivers/nvdimm

With CONFIG_NVDIMM_TEST_BUILD=m, an empty nvdimm directory is created during
modules_install, which triggers the QA issue.

Extend kernel_do_install() to also remove inner empty directories that might
get created by modules_install.

(From OE-Core rev: 2f2abcb6d2394cdfd3985499ed882f43a5d2a299)

Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 7120b09a33af4c9a18063c0f2e51fb598697e39c)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-06 17:33:23 +00:00
Martin Jansa
3902078452 libxml2: fix test data checksums
* switch from tar.gz to tar, because the tar.gz archives upstream are regular tar as well now
  https://www.w3.org/XML/Test/ still has 3 separate URLs for .zip, .tar
  and .tar.gz, but both tar links return the same file:

  xmlts20080827.tar:      POSIX tar archive (GNU)
  xmlts20080827.tar.gz:   POSIX tar archive (GNU)

  -rw-r--r--  1 martin martin 5.7M Sep  1  2008 xmlts20080827.tar
  -rw-r--r--  1 martin martin 5.7M Sep  1  2008 xmlts20080827.tar.gz

  9b2c865aba66c6429ca301a7ef048d7eca2cdb7a9106184416710853c7b37d0d  xmlts20080827.tar
  9b2c865aba66c6429ca301a7ef048d7eca2cdb7a9106184416710853c7b37d0d  xmlts20080827.tar.gz
  96151685cec997e1f9f3387e3626d61e6284d4d6e66e0e440c209286c03e9cc7  /OE/build/downloads/xmlts20080827.tar.gz

(From OE-Core rev: 55f37f90dc2039fda085c66bb8c6095374b2947f)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-06 17:33:23 +00:00
Joshua Watt
99483cff5c classes/create-spdx: Add SPDX_PRETTY option
Adds an option to make the SPDX more human-readable (at the expense of a
larger files)

(From OE-Core rev: e680a7402edec2803b03c56590c9d08d07497c73)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 4799594b26f77ed259dc661bf077519b338390c8)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-06 17:33:23 +00:00
Ross Burton
4f3a354071 libepoxy: remove upstreamed patch
This patch was upstreamed in 6b09a8bc, 1.5.5 onwards.

(From OE-Core rev: 50c27f5f98c6f1afca4893594c2c4950cf1b7b10)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 99b6e1ecb18d595e7b66344de882c1e1db6f35c3)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-06 17:33:23 +00:00
Robert Andersson
f4c7ae358e go-crosssdk: avoid host contamination by GOCACHE
By default GOCACHE is set to $HOME/.cache.

Same issue for all other go recipes had been fixed by commit 9a6d208b:
[ go: avoid host contamination by GOCACHE ]

but that commit missed go-crosssdk recipe.

(From OE-Core rev: 803b754c64c8ee923cc02c17cf80798c93e3811c)

Signed-off-by: Robert Andersson <robert.m.andersson@atlascopco.com>
Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit e5fd10c647ac4baad65f9efa964c3380aad7dd10)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-06 17:33:23 +00:00
Alejandro Hernandez Samaniego
dc189cf536 baremetal-image: Avoid overriding qemu variables from IMAGE_CLASSES
Since qemuboot is part of IMAGE_CLASSES via qemu.inc it is being
inherited before we set the QB_FOO variables.
Since our variables have conditional definitions and at that point
they've already been defined by qemuboot, we can no longer define
them in our class.

Move the IMAGE_CLASSES inherit to execute it after we set the
QB_FOO variables to fix booting via runqemu.

(From OE-Core rev: c588b05ed4bc6b46749e24e80300228df017c694)

Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandro@enedino.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 8ed78ec262b2502dc3b673b24a868a3eec616a20)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-06 17:33:23 +00:00
Xiangyu Chen
9cd4e36dd5 openssh: remove RRECOMMENDS to rng-tools for sshd package
It appears that rngd is not needed as of linux-5.6 and later[1]
and should not be installed by default since the purpose of rngd
is to provide additional trusted sources of entropy.

We did some testing on real hardware, the result seems to support that
we no longer need rngd by default on kernel v5.6 and later.

Testing result as below:

1. observing the crng init stage.
 the "random: crng init done" always available before fs being mounted.

2. generating random number without rngd.
 testing command: dd if=/dev/random of=/dev/null status=progress
   on Marvell CN96xx RDB board, speed almost 20.4 MB/s without block
   on NXP i.mx6q board, speed almost 31.9 MB/s without block
   on qemu x86-64, speed almost 2.6MB/s without block

3. using rngtest command without rngd
 testing command: rngtest -c 1000 </dev/random
   on Marvell CN96xx RDB board:
      rngtest: input channel speed: (min=4.340; avg=135.364; max=146.719)Mibits/s
      rngtest: FIPS tests speed: (min=8.197; avg=69.020; max=72.800)Mibits/s
      rngtest: Program run time: 418771 microseconds

   on NXP i.mx6q board:
      rngtest: input channel speed: (min=96.820; avg=326.769; max=340.598)Mibits/s
      rngtest: FIPS tests speed: (min=15.090; avg=37.543; max=40.324)Mibits/s
      rngtest: Program run time: 570229 microseconds

   on qemu x86-64:
      rngtest: input channel speed: (min=37.769; avg=101.136; max=136.239)Mibits/s
      rngtest: FIPS tests speed: (min=10.288; avg=30.682; max=40.155)Mibits/s
      rngtest: Program run time: 836800 microseconds

4. observing sshd service.
  using "systemctl disable rng-tools" disable service and reboot system.
  system boot up normal, sshd service also start in normal time without
  block.

Reference:
[1] 30c08efec8

(From OE-Core rev: 2ed579aa28194cf671e5d4f4c61dc38d05de4b0c)

Signed-off-by: Xiangyu Chen <xiangyu.chen@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 868dfb46d96a27ec9041cb902fb769330277257d)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-06 17:33:23 +00:00
Wang Mingyu
11555b5d2b gstreamer1.0: upgrade 1.20.4 -> 1.20.5
Changelog:
===========
systemclock waiting fixes for certain 32-bit platforms/libcs
alphacombine: robustness improvements for corner case scenarios
avfvideosrc: Report latency when doing screen capture
d3d11videosink: various thread-safety and stability fixes
decklink: fix performance issue when HDMI signal has been lost for a long time
flacparse: Fix handling of headers advertising 32 bits per sample
mpegts: Handle when iconv doesn't support ISO 6937 (e.g. musl libc)
opengl: fix automatic dispmanx detection for rpi4 and fix usage of eglCreate/DestroyImage
opusdec: Various channel-related fixes
textrender: event handling fixes, esp. for GAP event
subparse: Fix non-closed tag handling
videoscale: fix handling of unknown buffer metas
videosink: reverse playback handling fixes
qtmux: Prefill mode fixes, especially for raw audio
multiudpsink: allow binding to IPv6 address
rtspsrc: Fix usage of IPv6 connections in SETUP
rtspsrc: Only EOS on timeout if all streams are timed out/EOS
splitmuxsrc: fix playback stall if there are unlinked pads
v4l2: Fix SIGSEGV on state change during format changes
wavparse robustness fixes
Fix static linking on macOS (opengl, vulkan)
gstreamer-vaapi: fix headless build against mesa >= 22.3.0
GStreamer Editing Services library: Fix build with tools disabled
webrtc example/demo fixes
unit test fixes for aesdec and rtpjitterbuffer
Cerbero: Fix ios cross-compile with cmake on M1; some recipe updates and other build fixes
Binary packages: pkg-config file fixes for various recipes (ffmpeg, taglib, gstreamer)
Binary packages: Enable high bitdepth support for libvpx (VP8/VP9 encoding/decoding)
Binary packages: ship aes plugin
Miscellaneous bug fixes, memory leak fixes, and other stability and reliability improvements
Performance improvements

(From OE-Core rev: e9a05c026c6b1f39c4413abea9912542aa608cbe)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit fd8ab6052d88120c58cf84ad7d77d60c12ef3b8a)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-06 17:33:23 +00:00
Alexander Kanavin
85f60741c5 tzdata: update 2022d -> 2022g
(From OE-Core rev: e9f8a4ce08b7abe1232e807949cf8fbd06a929cc)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 2394a481db1b41ad4581e22ba901ac76fa7b3dcd)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-06 17:33:23 +00:00
Alexander Kanavin
1aa3cb0169 ruby: update 3.1.2 -> 3.1.3
(From OE-Core rev: 3e43f3925bce640999a25ceb855a77d8cd0afd26)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 402254a5f841520b132508c21465111d33b6eb1a)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-06 17:33:23 +00:00
Alexander Kanavin
754c0e4cc7 ruby: merge .inc into .bb
(From OE-Core rev: 22d6559bc30897a82f4519ac463f12f01fea18bc)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit d88ff809b2e78ee49d5da42bb08ff5244e6101af)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-06 17:33:23 +00:00
Alexander Kanavin
c033fb48e3 libnewt: update 0.52.21 -> 0.52.23
(From OE-Core rev: 95a1668668ad962a3cb8676f08d1bb568f12436f)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit ff12622451f1f8580f928c6771cd82daa632071c)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-06 17:33:23 +00:00
Kai Kang
99f1aa4736 webkitgtk: 2.36.7 -> 2.36.8
webkitgtk 2.36.8 is a bug fix release in the stable 2.36 series.

What’s new in the WebKitGTK 2.36.8 release?
* Fix jumpy elements when scrolling GitLab and other web sites.
* Fix WebKitWebView:web-process-terminated signal not being emitted for
  the first web view when sandboxing is enabled.
* Fix hang when opening HTML <select> elements in GTK4 builds.
* Fix kinetic scrolling with elements that use overflow scrolling.
* Fix several crashes and rendering issues.

It fixes CVES:
CVE: CVE-2022-32886
CVE: CVE-2022-32891
CVE: CVE-2022-32912

Refs:
* https://webkitgtk.org/2022/09/16/webkitgtk2.36.8-released.html
* https://webkitgtk.org/security/WSA-2022-0009.html

(From OE-Core rev: 94c4dc8d233a35270dfedd9739f36c7aca0a559f)

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-06 17:33:23 +00:00
Wang Mingyu
7af48055e3 libpng: upgrade 1.6.38 -> 1.6.39
Changelog:
==========
*  Changed the error handler of oversized chunks (i.e. larger than
   PNG_USER_CHUNK_MALLOC_MAX) from png_chunk_error to png_benign_error.
*  Fixed a buffer overflow error in contrib/tools/pngfix.
*  Fixed a memory leak (CVE-2019-6129) in contrib/tools/pngcp.
*  Disabled the ARM Neon optimizations by default in the CMake file,
   following the default behavior of the configure script.
*  Allowed configure.ac to work with the trunk version of autoconf.
*  Removed the support for "install" targets from the legacy makefiles;
   removed the obsolete makefile.cegcc.
*  Cleaned up the code and updated the internal documentation.

(From OE-Core rev: 63725065af4c74a352984cfe7563e4099199d24d)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 19799cb50a00561b318cba1c8c20737f20e4a47f)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-06 17:33:23 +00:00
Bruce Ashfield
3fd177d610 linux-yocto/5.10: update to v5.10.160
Updating  to the latest korg -stable release that comprises
the following commits:

    a2428a8dcb4f Linux 5.10.160
    54c15f67cb72 ASoC: ops: Correct bounds check for second channel on SX controls
    74b139c63f07 nvme-pci: clear the prp2 field when not used
    77ebf88e0031 ASoC: cs42l51: Correct PGA Volume minimum value
    4db1d19b74e0 can: mcba_usb: Fix termination command argument
    683837f2f69d can: sja1000: fix size of OCR_MODE_MASK define
    434b5236710f pinctrl: meditatek: Startup with the IRQs disabled
    5cb4abb0caa5 libbpf: Use page size as max_entries when probing ring buffer map
    50b5f6d4d9d2 ASoC: ops: Check bounds for second channel in snd_soc_put_volsw_sx()
    344739dc56f1 ASoC: fsl_micfil: explicitly clear CHnF flags
    a49c1a730775 ASoC: fsl_micfil: explicitly clear software reset bit
    75454b4bbfc7 io_uring: add missing item types for splice request
    17f386e6b769 fuse: always revalidate if exclusive create
    eb6313c12955 nfp: fix use-after-free in area_cache_get()
    965d93fb39b9 vfs: fix copy_file_range() averts filesystem freeze protection
    ed9673394979 vfs: fix copy_file_range() regression in cross-fs copies
    970862a96c0d x86/smpboot: Move rcu_cpu_starting() earlier
    931578be6987 Linux 5.10.159
    4fd6f84e0a0c can: esd_usb: Allow REC and TEC to return to zero
    cf0e42310648 macsec: add missing attribute validation for offload
    6b03e41767c7 net: mvneta: Fix an out of bounds check
    8208d7e56b1e ipv6: avoid use-after-free in ip6_fragment()
    3d59adad126d net: plip: don't call kfree_skb/dev_kfree_skb() under spin_lock_irq()
    a00444e25bbc xen/netback: fix build warning
    87277bdf2c37 ethernet: aeroflex: fix potential skb leak in greth_init_rings()
    cc668fddde42 tipc: call tipc_lxc_xmit without holding node_read_lock
    4be43e46c3f9 net: dsa: sja1105: fix memory leak in sja1105_setup_devlink_regions()
    8e3f9ac00956 ipv4: Fix incorrect route flushing when table ID 0 is used
    5211e5ff9ddc ipv4: Fix incorrect route flushing when source address is deleted
    36e248269a16 tipc: Fix potential OOB in tipc_link_proto_rcv()
    93aaa4bb72e3 net: hisilicon: Fix potential use-after-free in hix5hd2_rx()
    296a50aa8b29 net: hisilicon: Fix potential use-after-free in hisi_femac_rx()
    8d1aed7a117a net: thunderx: Fix missing destroy_workqueue of nicvf_rx_mode_wq
    a5cfbc199536 ip_gre: do not report erspan version on GRE interface
    696e34d54ca1 net: stmmac: fix "snps,axi-config" node property parsing
    ca26f45083d6 nvme initialize core quirks before calling nvme_init_subsystem
    27eb2d7a1b99 NFC: nci: Bounds check struct nfc_target arrays
    a2506b19d7a3 i40e: Disallow ip4 and ip6 l4_4_bytes
    8329b65e34ef i40e: Fix for VF MAC address 0
    215f3ac53b18 i40e: Fix not setting default xps_cpus after reset
    146ebee8fcdb net: mvneta: Prevent out of bounds read in mvneta_config_rss()
    e6860c889f4a xen-netfront: Fix NULL sring after live migration
    3d3b30718ae3 net: encx24j600: Fix invalid logic in reading of MISTAT register
    51ba1820e736 net: encx24j600: Add parentheses to fix precedence
    42c319635c0c mac802154: fix missing INIT_LIST_HEAD in ieee802154_if_add()
    4c693330cec2 selftests: rtnetlink: correct xfrm policy rule in kci_test_ipsec_offload
    bccda3ad0748 net: dsa: ksz: Check return value
    e7b950458156 Bluetooth: Fix not cleanup led when bt_init fails
    1717354d77f8 Bluetooth: 6LoWPAN: add missing hci_dev_put() in get_l2cap_conn()
    80c69b31aa5b vmxnet3: correctly report encapsulated LRO packet
    575a6266f63d af_unix: Get user_ns from in_skb in unix_diag_get_exact().
    6c788c0a2506 drm: bridge: dw_hdmi: fix preference of RGB modes over YUV420
    de918d9738c7 igb: Allocate MSI-X vector when testing
    6595c9208d97 e1000e: Fix TX dispatch condition
    5ee6413d3dd9 gpio: amd8111: Fix PCI device reference count leak
    b9aca69a6c82 drm/bridge: ti-sn65dsi86: Fix output polarity setting bug
    b46e8c50c386 netfilter: ctnetlink: fix compilation warning after data race fixes in ct mark
    0a8e66e37573 ca8210: Fix crash by zero initializing data
    27c71825ffc4 ieee802154: cc2520: Fix error return code in cc2520_hw_init()
    a0418d0a6b2d netfilter: nft_set_pipapo: Actually validate intervals in fields after the first one
    cb283cca1ddc rtc: mc146818-lib: fix signedness bug in mc146818_get_time()
    5c432383b687 rtc: mc146818-lib: fix locking in mc146818_set_time
    5e26531d8113 rtc: cmos: Disable irq around direct invocation of cmos_interrupt()
    fccee93eb20d mm/hugetlb: fix races when looking up a CONT-PTE/PMD size hugetlb page
    c42221efb115 can: af_can: fix NULL pointer dereference in can_rcv_filter
    bc03f809da78 HID: core: fix shift-out-of-bounds in hid_report_raw_event
    959a23a4d111 HID: hid-lg4ff: Add check for empty lbuf
    4dde75945a9c HID: usbhid: Add ALWAYS_POLL quirk for some mice
    11e95d85c3c9 drm/shmem-helper: Avoid vm_open error paths
    6a4da05acd06 drm/shmem-helper: Remove errant put in error path
    007f561f599f drm/vmwgfx: Don't use screen objects when SEV is active
    3cb78c39252e KVM: s390: vsie: Fix the initialization of the epoch extension (epdx) field
    549b46f8130e Bluetooth: Fix crash when replugging CSR fake controllers
    380d183e998b Bluetooth: btusb: Add debug message for CSR controllers
    f1cf856123ce mm/gup: fix gup_pud_range() for dax
    f1f7f36cf682 memcg: fix possible use-after-free in memcg_write_event_control()
    32f01f0306a9 media: v4l2-dv-timings.c: fix too strict blanking sanity checks
    043b2bc96ca2 Revert "ARM: dts: imx7: Fix NAND controller size-cells"
    abfb8ae69bdc media: videobuf2-core: take mmap_lock in vb2_get_unmapped_area()
    83632fc41449 xen/netback: don't call kfree_skb() with interrupts disabled
    3eecd2bc10e0 xen/netback: do some code cleanup
    49e07c0768db xen/netback: Ensure protocol headers don't fall in the non-linear area
    db44a9443e58 rtc: mc146818: Reduce spinlock section in mc146818_set_time()
    17293d630f5f rtc: cmos: Replace spin_lock_irqsave with spin_lock in hard IRQ
    acfd8ef683fb rtc: cmos: avoid UIP when reading alarm time
    949bae02827e rtc: cmos: avoid UIP when writing alarm time
    33ac73a41af6 rtc: mc146818-lib: extract mc146818_avoid_UIP
    8bb5fe58305f rtc: mc146818-lib: fix RTC presence check
    775d4661f145 rtc: Check return value from mc146818_get_time()
    b9a5c470e075 rtc: mc146818-lib: change return values of mc146818_get_time()
    94eaf9966e04 rtc: cmos: remove stale REVISIT comments
    f5b51f855036 rtc: mc146818: Dont test for bit 0-5 in Register D
    3736972360fa rtc: mc146818: Detect and handle broken RTCs
    7c7075c88da4 rtc: mc146818: Prevent reading garbage
    7f445ca2e0e5 mm/khugepaged: invoke MMU notifiers in shmem/file collapse paths
    4a1cdb49d0f2 mm/khugepaged: fix GUP-fast interaction by sending IPI
    cdfd3739b212 mm/khugepaged: take the right locks for page table retraction
    1c0eec6a1d17 net: usb: qmi_wwan: add u-blox 0x1342 composition
    a8c5ffb4dffd 9p/xen: check logical size for buffer size
    ec36ebae3667 usb: dwc3: gadget: Disable GUSB2PHYCFG.SUSPHY for End Transfer
    d9b53caf0191 fbcon: Use kzalloc() in fbcon_prepare_logo()
    8b130c770d00 regulator: twl6030: fix get status of twl6032 regulators
    f6f45e538328 ASoC: soc-pcm: Add NULL check in BE reparenting
    688a45aff2b2 btrfs: send: avoid unaligned encoded writes when attempting to clone range
    15c42ab8d43a ALSA: seq: Fix function prototype mismatch in snd_seq_expand_var_event
    d38e021416b2 regulator: slg51000: Wait after asserting CS pin
    1331bcfcac18 9p/fd: Use P9_HDRSZ for header size
    96b43f36a593 ARM: dts: rockchip: disable arm_global_timer on rk3066 and rk3188
    ddf58f59393b ASoC: wm8962: Wait for updated value of WM8962_CLOCKING1 register
    dbd78abd696d ARM: 9266/1: mm: fix no-MMU ZERO_PAGE() implementation
    bb1866cf1ee9 ARM: 9251/1: perf: Fix stacktraces for tracepoint events in THUMB2 kernels
    b1f40a0cdf00 ARM: dts: rockchip: rk3188: fix lcdc1-rgb24 node name
    5f9474d07b60 arm64: dts: rockchip: fix ir-receiver node names
    060d58924af6 ARM: dts: rockchip: fix ir-receiver node names
    3e0c4667713a arm: dts: rockchip: fix node name for hym8563 rtc
    3ada63a87654 arm64: dts: rockchip: keep I2S1 disabled for GPIO function on ROCK Pi 4 series
    592346d5dc9b Linux 5.10.158
    cc1b4718cc42 ipc/sem: Fix dangling sem_array access in semtimedop race
    d072a10c81d3 v4l2: don't fall back to follow_pfn() if pin_user_pages_fast() fails
    9ba389863ac6 proc: proc_skip_spaces() shouldn't think it is working on C strings
    4aa32aaef6c1 proc: avoid integer type confusion in get_proc_long
    5f2f77560591 block: unhash blkdev part inode when the part is deleted
    a82869ac52f3 Input: raydium_ts_i2c - fix memory leak in raydium_i2c_send()
    4e0d6c687c92 char: tpm: Protect tpm_pm_suspend with locks
    5a6f935ef34e Revert "clocksource/drivers/riscv: Events are stopped during CPU suspend"
    f075cf139f55 ACPI: HMAT: Fix initiator registration for single-initiator systems
    f3b76b4d38fd ACPI: HMAT: remove unnecessary variable initialization
    63e72417a1ad i2c: imx: Only DMA messages with I2C_M_DMA_SAFE flag set
    df7613659872 i2c: npcm7xx: Fix error handling in npcm_i2c_init()
    7462cd2443bc x86/pm: Add enumeration check before spec MSRs save/restore setup
    5e3d4a68e2e1 x86/tsx: Add a feature bit for TSX control MSR support
    b7f7a0402eb7 Revert "tty: n_gsm: avoid call of sleeping functions from atomic context"
    481f9ed8ebdc ipv4: Fix route deletion when nexthop info is not specified
    0b5394229eba ipv4: Handle attempt to delete multipath route when fib_info contains an nh reference
    4919503426c9 selftests: net: fix nexthop warning cleanup double ip typo
    7ca14c5f24db selftests: net: add delete nexthop route warning test
    f09ac62f0e3f Kconfig.debug: provide a little extra FRAME_WARN leeway when KASAN is enabled
    19d91d3798e7 parisc: Increase FRAME_WARN to 2048 bytes on parisc
    fcf20da09974 xtensa: increase size of gcc stack frame check
    a1877001ed6d parisc: Increase size of gcc stack frame check
    a5c65cd56aed iommu/vt-d: Fix PCI device refcount leak in dmar_dev_scope_init()
    10ed7655a17f iommu/vt-d: Fix PCI device refcount leak in has_external_pci()
    302edce1dd42 pinctrl: single: Fix potential division by zero
    b50c96418972 ASoC: ops: Fix bounds check for _sx controls
    a2efc465245e io_uring: don't hold uring_lock when calling io_run_task_work*
    be111ebd8868 tracing: Free buffers when a used dynamic event is removed
    648b92e57607 drm/i915: Never return 0 if not all requests retired
    8649c023c427 drm/amdgpu: temporarily disable broken Clang builds due to blown stack-frame
    940b774069f1 mmc: sdhci: Fix voltage switch delay
    ed1966245307 mmc: sdhci-sprd: Fix no reset data and command after voltage switch
    ef767907e77d mmc: sdhci-esdhc-imx: correct CQHCI exit halt state check
    46ee041cd655 mmc: core: Fix ambiguous TRIM and DISCARD arg
    b79be962b567 mmc: mmc_test: Fix removal of debugfs file
    d4fc344c0d9c net: stmmac: Set MAC's flow control register to reflect current settings
    549e24409ac5 pinctrl: intel: Save and restore pins in "direct IRQ" mode
    471fb7b735bf x86/bugs: Make sure MSR_SPEC_CTRL is updated properly upon resume from S3
    e858917ab785 nilfs2: fix NULL pointer dereference in nilfs_palloc_commit_free_entry()
    6ddf788400dd tools/vm/slabinfo-gnuplot: use "grep -E" instead of "egrep"
    c099d12c5502 error-injection: Add prompt for function error injection
    26b6f927bb86 riscv: vdso: fix section overlapping under some conditions
    2b1d8f27e205 net/mlx5: DR, Fix uninitialized var warning
    c40db1e5f316 hwmon: (coretemp) fix pci device refcount leak in nv1a_ram_new()
    f06e0cd01eab hwmon: (coretemp) Check for null before removing sysfs attrs
    d93522d04f84 net: ethernet: renesas: ravb: Fix promiscuous mode after system resumed
    176ee6c673cc sctp: fix memory leak in sctp_stream_outq_migrate()
    1c38c88acc96 packet: do not set TP_STATUS_CSUM_VALID on CHECKSUM_COMPLETE
    5f442e1d403e net: tun: Fix use-after-free in tun_detach()
    5fa0fc5876b5 afs: Fix fileserver probe RTT handling
    7ca81a161e40 net: hsr: Fix potential use-after-free
    a1ba595e35aa tipc: re-fetch skb cb after tipc_msg_validate
    4621bdfff5f8 dsa: lan9303: Correct stat name
    45752af02475 net: ethernet: nixge: fix NULL dereference
    e01c1542379f net/9p: Fix a potential socket leak in p9_socket_open
    b080d4668f3f net: net_netdev: Fix error handling in ntb_netdev_init_module()
    fe6bc99c27c2 net: phy: fix null-ptr-deref while probe() failed
    0184ede0ec61 wifi: mac8021: fix possible oob access in ieee80211_get_rate_duration
    e2ed90fd3ae0 wifi: cfg80211: don't allow multi-BSSID in S1G
    9e6b79a3cd17 wifi: cfg80211: fix buffer overflow in elem comparison
    6922948c2ec1 aquantia: Do not purge addresses when setting the number of rings
    fa59d49a49b0 qlcnic: fix sleep-in-atomic-context bugs caused by msleep
    d753f554f25d can: cc770: cc770_isa_probe(): add missing free_cc770dev()
    e74746bf0453 can: sja1000_isa: sja1000_isa_probe(): add missing free_sja1000dev()
    0d2f9d95d9fb net/mlx5e: Fix use-after-free when reverting termination table
    2cb84ff34938 net/mlx5: Fix uninitialized variable bug in outlen_write()
    b775f37d9439 e100: Fix possible use after free in e100_xmit_prepare
    086f656e447b e100: switch from 'pci_' to 'dma_' API
    971c55f0763b iavf: Fix error handling in iavf_init_module()
    d389a4c69877 iavf: remove redundant ret variable
    fd4960ea5362 fm10k: Fix error handling in fm10k_init_module()
    dd425cec79ba i40e: Fix error handling in i40e_init_module()
    f166c62cad79 ixgbevf: Fix resource leak in ixgbevf_init_module()
    8f7047f41810 of: property: decrement node refcount in of_fwnode_get_reference_args()
    be006212bd53 bpf: Do not copy spin lock field from user in bpf_selem_alloc
    90907cd4d113 hwmon: (ibmpex) Fix possible UAF when ibmpex_register_bmc() fails
    7649bba2633d hwmon: (i5500_temp) fix missing pci_disable_device()
    dddfc03f044b hwmon: (ina3221) Fix shunt sum critical calculation
    984fcd3ec1aa hwmon: (ltc2947) fix temperature scaling
    8a549ab67245 libbpf: Handle size overflow for ringbuf mmap
    cc140c729c68 ARM: at91: rm9200: fix usb device clock id
    592724b14da7 scripts/faddr2line: Fix regression in name resolution on ppc64le
    353c3aaaf3c4 bpf, perf: Use subprog name when reporting subprog ksymbol
    d48f6a578405 iio: light: rpr0521: add missing Kconfig dependencies
    5eb114f55b37 iio: health: afe4404: Fix oob read in afe4404_[read|write]_raw
    b1756af172fb iio: health: afe4403: Fix oob read in afe4403_read_raw
    01d7c41eac91 btrfs: qgroup: fix sleep from invalid context bug in btrfs_qgroup_inherit()
    d3f5be824669 drm/amdgpu: Partially revert "drm/amdgpu: update drm_display_info correctly when the edid is read"
    00570fafc2bc drm/amdgpu: update drm_display_info correctly when the edid is read
    44b204730bf3 drm/display/dp_mst: Fix drm_dp_mst_add_affected_dsc_crtcs() return code
    1faf21bdd111 btrfs: move QUOTA_ENABLED check to rescan_should_stop from btrfs_qgroup_rescan_worker
    6050872f9f31 spi: spi-imx: Fix spi_bus_clk if requested clock is higher than input clock
    7b020665d482 btrfs: free btrfs_path before copying inodes to userspace
    d5b7a34379fa btrfs: sink iterator parameter to btrfs_ioctl_logical_to_ino
    f4245f05389c Linux 5.10.157
    4801672fb076 fuse: lock inode unconditionally in fuse_fallocate()
    86f0082fb947 drm/i915: fix TLB invalidation for Gen12 video and compute engines
    feb97cf45e77 drm/amdgpu: always register an MMU notifier for userptr
    596b7d55d7c6 drm/amd/dc/dce120: Fix audio register mapping, stop triggering KASAN
    c86c1a7037cd btrfs: sysfs: normalize the error handling branch in btrfs_init_sysfs()
    1581830c0eca btrfs: free btrfs_path before copying subvol info to userspace
    0bdb8f7ef87d btrfs: free btrfs_path before copying fspath to userspace
    24a37ba2cb66 btrfs: free btrfs_path before copying root refs to userspace
    b56d6e55857b genirq: Take the proposed affinity at face value if force==true
    9d90a2b98e6e irqchip/gic-v3: Always trust the managed affinity provided by the core code
    e0d2c59ee995 genirq: Always limit the affinity to online CPUs
    f8f80d532f78 genirq/msi: Shutdown managed interrupts with unsatifiable affinities
    3eb6b89a4e9f wifi: wilc1000: validate number of channels
    5a068535c007 wifi: wilc1000: validate length of IEEE80211_P2P_ATTR_CHANNEL_LIST attribute
    905f886eae4b wifi: wilc1000: validate length of IEEE80211_P2P_ATTR_OPER_CHANNEL attribute
    7c6535fb4d67 wifi: wilc1000: validate pairwise and authentication suite offsets
    64b7f9a7ddfb dm integrity: clear the journal on suspend
    d306f73079f3 dm integrity: flush the journal on suspend
    79d9a1167978 gpu: host1x: Avoid trying to use GART on Tegra20
    a7f30b5b8d7c net: usb: qmi_wwan: add Telit 0x103a composition
    7e8eaa939eea tcp: configurable source port perturb table size
    0acc008cf98e platform/x86: hp-wmi: Ignore Smart Experience App event
    0964b77bab54 zonefs: fix zone report size in __zonefs_io_error()
    a5937dae662b platform/x86: acer-wmi: Enable SW_TABLET_MODE on Switch V 10 (SW5-017)
    52fb7bcea0c6 platform/x86: asus-wmi: add missing pci_dev_put() in asus_wmi_set_xusb2pr()
    4fa717ba2d25 xen/platform-pci: add missing free_irq() in error path
    f45a5a6c9f6d xen-pciback: Allow setting PCI_MSIX_FLAGS_MASKALL too
    9bbb58747243 Input: soc_button_array - add Acer Switch V 10 to dmi_use_low_level_irq[]
    4ea4316dffda Input: soc_button_array - add use_low_level_irq module parameter
    c1620e996d0a Input: goodix - try resetting the controller when no config is set
    f4db0509587a serial: 8250: 8250_omap: Avoid RS485 RTS glitch on ->set_termios()
    7c3e39ccf5bd ASoC: Intel: bytcht_es8316: Add quirk for the Nanote UMPC-01
    36e0b976196c Input: synaptics - switch touchpad on HP Laptop 15-da3001TU to RMI mode
    ae9e0cc973fb binder: Gracefully handle BINDER_TYPE_FDA objects with num_fds=0
    017de842533f binder: Address corner cases in deferred copy and fixup
    2e3c27f24173 binder: fix pointer cast warning
    c9d3f25a7f4e binder: defer copies of pre-patched txn data
    5204296fc766 binder: read pre-translated fds from sender buffer
    23e9d815fad8 binder: avoid potential data leakage when copying txn
    22870431cd25 x86/ioremap: Fix page aligned size calculation in __ioremap_caller()
    3fdeacf087ff KVM: x86: remove exit_int_info warning in svm_handle_exit
    7e5cb13091e6 KVM: x86: nSVM: leave nested mode on vCPU free
    d925dd3e444c mm: vmscan: fix extreme overreclaim and swap floods
    a4a62a23fadc gcov: clang: fix the buffer overflow issue
    e7f21d10e93e nilfs2: fix nilfs_sufile_mark_dirty() not set segment usage as dirty
    f06b7e6a77c1 usb: dwc3: gadget: Clear ep descriptor last
    cff7523ab8b8 usb: dwc3: gadget: Return -ESHUTDOWN on ep disable
    a32635528d65 usb: dwc3: gadget: conditionally remove requests
    ca3a08e9d9eb ceph: fix NULL pointer dereference for req->r_session
    00c004c070f2 ceph: Use kcalloc for allocating multiple elements
    69263bf781be ceph: fix possible NULL pointer dereference for req->r_session
    8e137ace5333 ceph: put the requests/sessions when it fails to alloc memory
    38993788f40c ceph: fix off by one bugs in unsafe_request_wait()
    8a31ae7f7794 ceph: flush the mdlog before waiting on unsafe reqs
    78b2f546f789 ceph: flush mdlog before umounting
    d94ba7b3b7e7 ceph: make iterate_sessions a global symbol
    9ac038d3c2f2 ceph: make ceph_create_session_msg a global symbol
    8382cdf0ab5d usb: cdns3: Add support for DRD CDNSP
    57112da86b1b mmc: sdhci-brcmstb: Fix SDHCI_RESET_ALL for CQHCI
    b5d770977b18 mmc: sdhci-brcmstb: Enable Clock Gating to save power
    049194538cb8 mmc: sdhci-brcmstb: Re-organize flags
    fbe955be268b nios2: add FORCE for vmlinuz.gz
    c0a9c9973d24 init/Kconfig: fix CC_HAS_ASM_GOTO_TIED_OUTPUT test with dash
    456e895fd0b8 iio: core: Fix entry not deleted when iio_register_sw_trigger_type() fails
    fa9efcbfbf77 iio: light: apds9960: fix wrong register for gesture gain
    bd1b8041c2f6 arm64: dts: rockchip: lower rk3399-puma-haikou SD controller clock frequency
    86ba9c859577 ext4: fix use-after-free in ext4_ext_shift_extents
    350e98a08af1 usb: dwc3: exynos: Fix remove() function
    d21d26e65b5f lib/vdso: use "grep -E" instead of "egrep"
    c0cf8bc259e0 net: enetc: preserve TX ring priority across reconfiguration
    de4dd4f9b3f6 net: enetc: cache accesses to &priv->si->hw
    1f080b8caae9 net: enetc: manage ENETC_F_QBV in priv->active_offloads only when enabled
    1d840c5d673d s390/crashdump: fix TOD programmable field size
    11052f118879 net: thunderx: Fix the ACPI memory leak
    b034fe2a0800 nfc: st-nci: fix memory leaks in EVT_TRANSACTION
    e14583073fc0 nfc: st-nci: fix incorrect validating logic in EVT_TRANSACTION
    9cc863d52399 arcnet: fix potential memory leak in com20020_probe()
    4d2be0cf27d9 net: arcnet: Fix RESET flag handling
    e61b00374a6e s390/dasd: fix no record found for raw_track_access
    aeebb0749972 ipv4: Fix error return code in fib_table_insert()
    c0af4d005a26 dccp/tcp: Reset saddr on failure after inet6?_hash_connect().
    b8e494240e69 netfilter: flowtable_offload: add missing locking
    af9de5cdcb10 dma-buf: fix racing conflict of dma_heap_add()
    c40b76dfa7e4 bnx2x: fix pci device refcount leak in bnx2x_vf_is_pcie_pending()
    f81e9c0510b0 regulator: twl6030: re-add TWL6032_SUBCLASS
    32b944b9c4b2 NFC: nci: fix memory leak in nci_rx_data_packet()
    68a7aec3f4b5 net: sched: allow act_ct to be built without NF_NAT
    8e2664e12bc6 sfc: fix potential memleak in __ef100_hard_start_xmit()
    6b638a16ead1 xfrm: Fix ignored return value in xfrm6_init()
    c7788361a645 tipc: check skb_linearize() return value in tipc_disc_rcv()
    4058e3b74ab3 tipc: add an extra conn_get in tipc_conn_alloc
    e87a077d09c0 tipc: set con sock in tipc_conn_alloc
    891daa95b0bb net/mlx5: Fix handling of entry refcount when command is not issued to FW
    e06ff9f8fedf net/mlx5: Fix FW tracer timestamp calculation
    5689eba90a20 netfilter: ipset: regression in ip_set_hash_ip.c
    e62e62ea912a netfilter: ipset: Limit the maximal range of consecutive elements to add/delete
    8dca384970ac Drivers: hv: vmbus: fix possible memory leak in vmbus_device_register()
    909186cf34de Drivers: hv: vmbus: fix double free in the error path of vmbus_add_channel_work()
    f42802e14a87 macsec: Fix invalid error code set
    72be055615e0 nfp: add port from netdev validation for EEPROM access
    ce41e03cacaa nfp: fill splittable of devlink_port_attrs correctly
    0b553ded3450 net: pch_gbe: fix pci device refcount leak while module exiting
    2c59ef9ab63d net/qla3xxx: fix potential memleak in ql3xxx_send()
    a24d5f6c8b7b net/mlx4: Check retval of mlx4_bitmap_init
    da86a63479e5 net: ethernet: mtk_eth_soc: fix error handling in mtk_open()
    756534f7cf53 ARM: dts: imx6q-prti6q: Fix ref/tcxo-clock-frequency properties
    290a71ff721b ARM: mxs: fix memory leak in mxs_machine_init()
    5c97af75f53c netfilter: conntrack: Fix data-races around ct mark
    459332f8dbfb 9p/fd: fix issue of list_del corruption in p9_fd_cancel()
    26bb8f6aaae3 net: pch_gbe: fix potential memleak in pch_gbe_tx_queue()
    398a860a4429 nfc/nci: fix race with opening and closing
    3535c632e6d1 rxrpc: Fix race between conn bundle lookup and bundle removal [ZDI-CAN-15975]
    23c03ee0eec4 rxrpc: Use refcount_t rather than atomic_t
    bddde342c62e rxrpc: Allow list of in-use local UDP endpoints to be viewed in /proc
    a2d5dba2fc69 net: liquidio: simplify if expression
    8124a02e1717 ARM: dts: at91: sam9g20ek: enable udc vbus gpio pinctrl
    b547bf71fa7e tee: optee: fix possible memory leak in optee_register_device()
    b76c5a99f44a bus: sunxi-rsb: Support atomic transfers
    0c059b7d2a6b regulator: core: fix UAF in destroy_regulator()
    fcb2d286362b spi: dw-dma: decrease reference count in dw_spi_dma_init_mfld()
    0b6441abfa5d regulator: core: fix kobject release warning and memory leak in regulator_register()
    26d3d3ffa82b scsi: storvsc: Fix handling of srb_status and capacity change events
    c34db0d6b88b ASoC: soc-pcm: Don't zero TDM masks in __soc_pcm_open()
    4f6c7344ab26 ASoC: sgtl5000: Reset the CHIP_CLK_CTRL reg on remove
    164a5b50d104 ASoC: hdac_hda: fix hda pcm buffer overflow issue
    7cfb4b8579d3 ARM: dts: am335x-pcm-953: Define fixed regulators in root node
    b7000254c125 af_key: Fix send_acquire race with pfkey_register
    51969d679ba4 xfrm: replay: Fix ESN wrap around for GSO
    497653f6d239 xfrm: fix "disable_policy" on ipv4 early demux
    836bbdfcf8ef MIPS: pic32: treat port as signed integer
    c0bb600f0768 RISC-V: vdso: Do not add missing symbols to version section in linker script
    81cc6d8400ac arm64/syscall: Include asm/ptrace.h in syscall_wrapper header.
    fa5f2c72d39f block, bfq: fix null pointer dereference in bfq_bio_bfqg()
    d29bde868945 drm: panel-orientation-quirks: Add quirk for Acer Switch V 10 (SW5-017)
    f7ce6fb04e04 scsi: scsi_debug: Make the READ CAPACITY response compliant with ZBC
    2574903ee260 scsi: ibmvfc: Avoid path failures during live migration
    7fc62181c1d4 platform/x86: touchscreen_dmi: Add info for the RCA Cambio W101 v2 2-in-1
    f54a11b6bf82 Revert "net: macsec: report real_dev features when HW offloading is enabled"
    f4b8c0710ab6 selftests/bpf: Add verifier test for release_reference()
    361a16509898 spi: stm32: fix stm32_spi_prepare_mbr() that halves spi clk for every run
    2c1ca23555ed wifi: mac80211: Fix ack frame idr leak when mesh has no route
    8d39913158ad wifi: airo: do not assign -1 to unsigned char
    8552e6048ec9 audit: fix undefined behavior in bit shift for AUDIT_BIT
    1c9eb641d13e riscv: dts: sifive unleashed: Add PWM controlled LEDs
    92ae6facd129 wifi: mac80211_hwsim: fix debugfs attribute ps with rc table support
    2fcc593b5047 wifi: mac80211: fix memory free error when registering wiphy fail
    044bc6d3c2c0 ceph: avoid putting the realm twice when decoding snaps fails
    d43219bb33d5 ceph: do not update snapshot context when there is no new snapshot
    49c71b68141e iio: pressure: ms5611: fixed value compensation bug
    879139bc7afb iio: ms5611: Simplify IO callback parameters
    80c825e1e33b nvme-pci: add NVME_QUIRK_BOGUS_NID for Micron Nitro
    f4066fb91021 nvme: add a bogus subsystem NQN quirk for Micron MTFDKBA2T0TFH
    4f0cea018e03 drm/display: Don't assume dual mode adaptors support i2c sub-addressing
    347f1793b573 bridge: switchdev: Fix memory leaks when changing VLAN protocol
    89a7f155e6b2 bridge: switchdev: Notify about VLAN protocol changes
    f5cbd86ebf28 ata: libata-core: do not issue non-internal commands once EH is pending
    4034d06a4dbe ata: libata-scsi: simplify __ata_scsi_queuecmd()
    03aabcb88aee scsi: scsi_transport_sas: Fix error handling in sas_phy_add()
    6d46ef50b123 Linux 5.10.156
    7be134eb691f Revert "net: broadcom: Fix BCMGENET Kconfig"
    957732a09c38 ntfs: check overflow when iterating ATTR_RECORDs
    6322dda48334 ntfs: fix out-of-bounds read in ntfs_attr_find()
    b825bfbbaafb ntfs: fix use-after-free in ntfs_attr_find()
    294ef12dccc6 mm: fs: initialize fsdata passed to write_begin/write_end interface
    a8e2fc8f7b41 9p/trans_fd: always use O_NONBLOCK read/write
    a5da76df467a gfs2: Switch from strlcpy to strscpy
    5fa30be7ba81 gfs2: Check sb_bsize_shift after reading superblock
    f14858bc77c5 9p: trans_fd/p9_conn_cancel: drop client lock earlier
    4154b6afa2bd kcm: close race conditions on sk_receive_queue
    7deb7a9d33e4 kcm: avoid potential race in kcm_tx_work
    35309be06b6f tcp: cdg: allow tcp_cdg_release() to be called multiple times
    e929ec98c0c3 macvlan: enforce a consistent minimal mtu
    95ebea5a15e4 uapi/linux/stddef.h: Add include guards
    3f25add5ecf8 Input: i8042 - fix leaking of platform device on module removal
    7d606ae1abcc kprobes: Skip clearing aggrprobe's post_handler in kprobe-on-ftrace case
    89ece5ff7dbe scsi: scsi_debug: Fix possible UAF in sdebug_add_host_helper()
    75205f1b47a8 scsi: target: tcm_loop: Fix possible name leak in tcm_loop_setup_hba_bus()
    6e9334436d78 net: use struct_group to copy ip/ipv6 header addresses
    9fd7bdaffe0e stddef: Introduce struct_group() helper macro
    47c3bdd95505 usbnet: smsc95xx: Fix deadlock on runtime resume
    8208c266fe27 ring-buffer: Include dropped pages in counting dirty patches
    36b5095b07ac net: fix a concurrency bug in l2tp_tunnel_register()
    023435a095d2 nvme: ensure subsystem reset is single threaded
    b9a5ecf24180 nvme: restrict management ioctls to admin
    5e2f14d77223 perf/x86/intel/pt: Fix sampling using single range output
    62634b43d3c4 misc/vmw_vmci: fix an infoleak in vmci_host_do_receive_datagram()
    c1eb46a65b09 docs: update mediator contact information in CoC doc
    4423866d31a0 mmc: sdhci-pci: Fix possible memory leak caused by missing pci_dev_put()
    440653a180f5 mmc: sdhci-pci-o2micro: fix card detect fail issue caused by CD# debounce timeout
    8e70b1413178 mmc: core: properly select voltage range without power cycle
    05b0f6624dda firmware: coreboot: Register bus in module init
    deda86a0d84d iommu/vt-d: Set SRE bit only when hardware has SRS cap
    d2c7d8f58e9c scsi: zfcp: Fix double free of FSF request when qdio send fails
    db744288af73 maccess: Fix writing offset in case of fault in strncpy_from_kernel_nofault()
    24cc679abbf3 Input: iforce - invert valid length check when fetching device IDs
    5f4611fe012f serial: 8250_lpss: Configure DMA also w/o DMA filter
    8679087e9357 serial: 8250: Flush DMA Rx on RLSI
    a5eaad87bfca serial: 8250: Fall back to non-DMA Rx if IIR_RDI occurs
    f59f5a269ca5 dm ioctl: fix misbehavior if list_versions races with module loading
    67a75a9480fc iio: pressure: ms5611: changed hardcoded SPI speed to value limited
    d95b85c5084a iio: adc: mp2629: fix potential array out of bound access
    46b8bc62c5ea iio: adc: mp2629: fix wrong comparison of channel
    8dddf2699da2 iio: trigger: sysfs: fix possible memory leak in iio_sysfs_trig_init()
    85d2a8b287a8 iio: adc: at91_adc: fix possible memory leak in at91_adc_allocate_trigger()
    85cc1a2fd8bf usb: typec: mux: Enter safe mode only when pins need to be reconfigured
    efaab055201b usb: chipidea: fix deadlock in ci_otg_del_timer
    143ba5c2d2a7 usb: add NO_LPM quirk for Realforce 87U Keyboard
    249cef723fee USB: serial: option: add Fibocom FM160 0x0111 composition
    5c44c60358da USB: serial: option: add u-blox LARA-L6 modem
    0e88a3cfa6ed USB: serial: option: add u-blox LARA-R6 00B modem
    de707957d9d4 USB: serial: option: remove old LARA-R6 PID
    878227a3ddb2 USB: serial: option: add Sierra Wireless EM9191
    25c652811ddd USB: bcma: Make GPIO explicitly optional
    eb3af3ea5bca speakup: fix a segfault caused by switching consoles
    8cbaf4ed530e slimbus: stream: correct presence rate frequencies
    15155f7c0e30 Revert "usb: dwc3: disable USB core PHY management"
    100d1e53bb3b ALSA: hda/realtek: Fix the speaker output on Samsung Galaxy Book Pro 360
    c7dcc8948279 ALSA: hda/realtek: fix speakers for Samsung Galaxy Book Pro
    a80369c8ca50 ALSA: usb-audio: Drop snd_BUG_ON() from snd_usbmidi_output_open()
    28a54854a959 tracing: kprobe: Fix potential null-ptr-deref on trace_array in kprobe_event_gen_test_exit()
    bb70fcae4115 tracing: kprobe: Fix potential null-ptr-deref on trace_event_file in kprobe_event_gen_test_exit()
    315b149f0822 tracing: Fix wild-memory-access in register_synth_event()
    65ba7e7c2411 tracing: Fix memory leak in test_gen_synth_cmd() and test_empty_synth_event()
    5d4cc7bc1a8d tracing/ring-buffer: Have polling block on watermark
    5fdebbeca5db ring_buffer: Do not deactivate non-existant pages
    6a14828cadda ftrace: Fix null pointer dereference in ftrace_add_mod()
    6ed60c60ec90 ftrace: Optimize the allocation for mcount entries
    9569eed79bc0 ftrace: Fix the possible incorrect kernel message
    5fc19c831320 cifs: add check for returning value of SMB2_set_info_init
    0aeb0de528ec net: thunderbolt: Fix error handling in tbnet_init()
    e13ef43813eb cifs: Fix wrong return value checking when GETFLAGS
    9f00da9c866d net/x25: Fix skb leak in x25_lapb_receive_frame()
    94822d23310a net: ag71xx: call phylink_disconnect_phy if ag71xx_hw_enable() fail in ag71xx_open()
    3aeb13bc3db2 cifs: add check for returning value of SMB2_close_init
    c24013273ed4 platform/x86/intel: pmc: Don't unconditionally attach Intel PMC when virtualized
    9ed51414aef6 drbd: use after free in drbd_create_device()
    6b23a4b25204 net: ena: Fix error handling in ena_init()
    2d5a49550135 net: ionic: Fix error handling in ionic_init_module()
    bb9924a6edd9 xen/pcpu: fix possible memory leak in register_pcpu()
    d6a561bd4c53 bnxt_en: Remove debugfs when pci_register_driver failed
    389738f5dbc5 net: caif: fix double disconnect client in chnl_net_open()
    fb5ee1560bab net: macvlan: Use built-in RCU list checking
    709aa1f73d3e mISDN: fix misuse of put_device() in mISDN_register_device()
    417f2d2edf30 net: liquidio: release resources when liquidio driver open failed
    4cba73f2d6fc net: hinic: Fix error handling in hinic_module_init()
    083a2c9ef82e mISDN: fix possible memory leak in mISDN_dsp_element_register()
    6b23993d5bef net: bgmac: Drop free_netdev() from bgmac_enet_remove()
    1f6a73b25dab bpf: Initialize same number of free nodes for each pcpu_freelist
    ef2ac07ab831 ata: libata-transport: fix error handling in ata_tdev_add()
    7377a14598f6 ata: libata-transport: fix error handling in ata_tlink_add()
    b5362dc1634d ata: libata-transport: fix error handling in ata_tport_add()
    ac471468f7c1 ata: libata-transport: fix double ata_host_put() in ata_tport_add()
    ac4f404c250b arm64: dts: imx8mn: Fix NAND controller size-cells
    30ece7dbeeca arm64: dts: imx8mm: Fix NAND controller size-cells
    f68a9efd7895 ARM: dts: imx7: Fix NAND controller size-cells
    1d160dfb3fdf drm: Fix potential null-ptr-deref in drm_vblank_destroy_worker()
    c47a823ea186 drm/drv: Fix potential memory leak in drm_dev_init()
    c776a49d099c drm/panel: simple: set bpc field for logic technologies displays
    777430aa4ddc pinctrl: devicetree: fix null pointer dereferencing in pinctrl_dt_to_map
    bce3e6fe8ba7 parport_pc: Avoid FIFO port location truncation
    a4b5423f88a1 siox: fix possible memory leak in siox_device_add()
    0679f571d3de arm64: Fix bit-shifting UB in the MIDR_CPU_MODEL() macro
    58636b5ff3f6 block: sed-opal: kmalloc the cmd/resp buffers
    e27458b18b35 sctp: clear out_curr if all frag chunks of current msg are pruned
    0b4c259b63ea sctp: remove the unnecessary sinfo_stream check in sctp_prsctp_prune_unsent
    7360e7c29d27 ASoC: soc-utils: Remove __exit for snd_soc_util_exit()
    e60f37a1d379 bpf, test_run: Fix alignment problem in bpf_prog_test_run_skb()
    b8fe1a5aa733 tty: n_gsm: fix sleep-in-atomic-context bug in gsm_control_send
    0a3160f4ffc7 serial: imx: Add missing .thaw_noirq hook
    7e1f908e65c5 serial: 8250: omap: Flush PM QOS work on remove
    d833cba201ad serial: 8250: omap: Fix unpaired pm_runtime_put_sync() in omap8250_remove()
    b0b6ea651ecf serial: 8250_omap: remove wait loop from Errata i202 workaround
    f14c312c2189 serial: 8250: omap: Fix missing PM runtime calls for omap8250_set_mctrl()
    85cdbf04b435 serial: 8250: Remove serial_rs485 sanitization from em485
    f5dedad4059b ASoC: tas2764: Fix set_tdm_slot in case of single slot
    9e82d78fbe54 ASoC: tas2770: Fix set_tdm_slot in case of single slot
    8d21554ec768 ASoC: core: Fix use-after-free in snd_soc_exit()
    38ca9bd336c8 spi: stm32: Print summary 'callbacks suppressed' message
    a180da5564b5 drm/amdgpu: disable BACO on special BEIGE_GOBY card
    f3adf0adf306 drm/amd/pm: disable BACO entry/exit completely on several sienna cichlid cards
    b0faeff69a0a drm/amd/pm: Read BIF STRAP also for BACO check
    6958556285ec drm/amd/pm: support power source switch on Sienna Cichlid
    7daab001a6f6 mmc: sdhci-esdhc-imx: use the correct host caps for MMC_CAP_8_BIT_DATA
    65ac4d1807d2 spi: intel: Use correct mask for flash and protected regions
    23793518a752 mtd: spi-nor: intel-spi: Disable write protection only if asked
    a326fffdc78b ALSA: hda/realtek: fix speakers and micmute on HP 855 G8
    24839d027c83 ASoC: codecs: jz4725b: Fix spelling mistake "Sourc" -> "Source", "Routee" -> "Route"
    bd487932408d Bluetooth: L2CAP: Fix l2cap_global_chan_by_psm
    ce75e9085988 btrfs: remove pointless and double ulist frees in error paths of qgroup tests
    16743c4bf3ef drm/imx: imx-tve: Fix return type of imx_tve_connector_mode_valid
    df2747f295ac i2c: i801: add lis3lv02d's I2C address for Vostro 5568
    959cb0fd6951 i2c: tegra: Allocate DMA memory for DMA engine
    6cb657722e37 NFSv4: Retry LOCK on OLD_STATEID during delegation return
    f0187227e2b8 drm/amd/display: Remove wrong pipe control lock
    bb3edbd09287 ASoC: rt1308-sdw: add the default value of some registers
    b1619f030776 selftests/intel_pstate: fix build for ARCH=x86_64
    fdf680760629 selftests/futex: fix build for clang
    c1f0defecbdc ASoC: codecs: jz4725b: fix capture selector naming
    aeb7e8bc0d3e ASoC: codecs: jz4725b: use right control for Capture Volume
    c87945c17385 ASoC: codecs: jz4725b: fix reported volume for Master ctl
    9aae00961ab3 ASoC: codecs: jz4725b: add missed Line In power control bit
    0b4d650f905c spi: intel: Fix the offset to get the 64K erase opcode
    6910e7279f5d ASoC: wm8962: Add an event handler for TEMP_HP and TEMP_SPK
    c7432616f6aa ASoC: mt6660: Keep the pm_runtime enables before component stuff in mt6660_i2c_probe
    a47606064cc0 ASoC: wm8997: Revert "ASoC: wm8997: Fix PM disable depth imbalance in wm8997_probe"
    f8f254c8b506 ASoC: wm5110: Revert "ASoC: wm5110: Fix PM disable depth imbalance in wm5110_probe"
    c73aa2cc4156 ASoC: wm5102: Revert "ASoC: wm5102: Fix PM disable depth imbalance in wm5102_probe"
    41217963b1d9 Linux 5.10.155
    0f544353fec8 io_uring: kill goto error handling in io_sqpoll_wait_sq()
    154d744fbefc x86/cpu: Restore AMD's DE_CFG MSR after resume
    e7294b01de40 mmc: sdhci-esdhc-imx: Convert the driver to DT-only
    534762e261c8 net: tun: call napi_schedule_prep() to ensure we own a napi
    367bc0fa988f dmaengine: at_hdmac: Check return code of dma_async_device_register
    85f97c97efc5 dmaengine: at_hdmac: Fix impossible condition
    f53a233eaad6 dmaengine: at_hdmac: Don't allow CPU to reorder channel enable
    f4512855223c dmaengine: at_hdmac: Fix completion of unissued descriptor in case of errors
    6be4ab08c863 dmaengine: at_hdmac: Fix descriptor handling when issuing it to hardware
    a35dd5dd98b6 dmaengine: at_hdmac: Fix concurrency over the active list
    0f603bf553a7 dmaengine: at_hdmac: Free the memset buf without holding the chan lock
    7f07cecc7411 dmaengine: at_hdmac: Fix concurrency over descriptor
    1582cc3b4805 dmaengine: at_hdmac: Fix concurrency problems by removing atc_complete_all()
    9b69060a725d dmaengine: at_hdmac: Protect atchan->status with the channel lock
    ee356822618e dmaengine: at_hdmac: Do not call the complete callback on device_terminate_all
    7078e935b410 dmaengine: at_hdmac: Fix premature completion of desc in issue_pending
    ad4cbe8e9c3a dmaengine: at_hdmac: Start transfer for cyclic channels in issue_pending
    24f9e93e506a dmaengine: at_hdmac: Don't start transactions at tx_submit level
    4b51cce72ab7 dmaengine: at_hdmac: Fix at_lli struct definition
    d37dfb9357e9 cert host tools: Stop complaining about deprecated OpenSSL functions
    f8e0edeaa0f2 can: j1939: j1939_send_one(): fix missing CAN header initialization
    0b692d41ee5c mm/memremap.c: map FS_DAX device memory as decrypted
    03f9582a6a2e udf: Fix a slab-out-of-bounds write bug in udf_find_entry()
    4ea3aa3b983b mms: sdhci-esdhc-imx: Fix SDHCI_RESET_ALL for CQHCI
    9c0accfa5a35 btrfs: selftests: fix wrong error check in btrfs_free_dummy_root()
    8fa0c22ef824 platform/x86: hp_wmi: Fix rfkill causing soft blocked wifi
    b5ee579fcb14 drm/i915/dmabuf: fix sg_table handling in map_dma_buf
    4feedde5486c nilfs2: fix use-after-free bug of ns_writer on remount
    1d4ff7306209 nilfs2: fix deadlock in nilfs_count_free_blocks()
    344ddbd688d8 ata: libata-scsi: fix SYNCHRONIZE CACHE (16) command failure
    516f9f23008b vmlinux.lds.h: Fix placement of '.data..decrypted' section
    f6896fb69d50 ALSA: usb-audio: Add DSD support for Accuphase DAC-60
    2032c2d32b2a ALSA: usb-audio: Add quirk entry for M-Audio Micro
    a414a6d6ef3c ALSA: hda/realtek: Add Positivo C6300 model quirk
    3a79f9568de0 ALSA: hda: fix potential memleak in 'add_widget_node'
    380d64168da4 ALSA: hda/ca0132: add quirk for EVGA Z390 DARK
    181cfff57bdc ALSA: hda/hdmi - enable runtime pm for more AMD display audio
    ea6787e482ad mmc: sdhci-tegra: Fix SDHCI_RESET_ALL for CQHCI
    0a8d4531a0d5 mmc: sdhci_am654: Fix SDHCI_RESET_ALL for CQHCI
    3f558930add7 mmc: sdhci-of-arasan: Fix SDHCI_RESET_ALL for CQHCI
    b55e64d0a3a3 mmc: cqhci: Provide helper for resetting both SDHCI and CQHCI
    4631cb040645 MIPS: jump_label: Fix compat branch range check
    475fd3991a0d arm64: efi: Fix handling of misaligned runtime regions and drop warning
    94ab8f88feb7 riscv: fix reserved memory setup
    0cf9cb061493 riscv: Separate memory init from paging init
    d7716240bca5 riscv: Enable CMA support
    ecf78af5141f riscv: vdso: fix build with llvm
    e56d18a976dd riscv: process: fix kernel info leakage
    956e0216a199 net: macvlan: fix memory leaks of macvlan_common_newlink
    59ec132386a0 ethernet: tundra: free irq when alloc ring failed in tsi108_open()
    dd7beaec8b48 net: mv643xx_eth: disable napi when init rxq or txq failed in mv643xx_eth_open()
    56d3b5531bf6 ethernet: s2io: disable napi when start nic failed in s2io_card_up()
    05b222843457 net: atlantic: macsec: clear encryption keys from the stack
    1a4e495edfe2 net: phy: mscc: macsec: clear encryption keys when freeing a flow
    4ad684ba028c cxgb4vf: shut down the adapter when t4vf_update_port_info() failed in cxgb4vf_open()
    38aa7ed8c2c3 net: cxgb3_main: disable napi when bind qsets failed in cxgb_up()
    fd52dd2d6e2f net: cpsw: disable napi in cpsw_ndo_open()
    3b27e20601ab net/mlx5e: E-Switch, Fix comparing termination table instance
    eb6fa0ac2a9c net/mlx5: Allow async trigger completion execution on single CPU systems
    bdd282bba72d net: nixge: disable napi when enable interrupts failed in nixge_open()
    5333cf1b7f68 net: marvell: prestera: fix memory leak in prestera_rxtx_switch_init()
    cf4853880e24 perf stat: Fix printing os->prefix in CSV metrics output
    3a4a3c3b1fe6 drivers: net: xgene: disable napi when register irq failed in xgene_enet_open()
    0b7ee3d50f32 dmaengine: mv_xor_v2: Fix a resource leak in mv_xor_v2_remove()
    6e2ffae69d17 dmaengine: pxa_dma: use platform_get_irq_optional
    f31dd1585809 tipc: fix the msg->req tlv len check in tipc_nl_compat_name_table_dump_header
    fbb4e8e6dc7b net: broadcom: Fix BCMGENET Kconfig
    cb6d639bb1ef net: stmmac: dwmac-meson8b: fix meson8b_devm_clk_prepare_enable()
    d68fa77ee3d0 can: af_can: fix NULL pointer dereference in can_rx_register()
    a033b86c7f76 ipv6: addrlabel: fix infoleak when sending struct ifaddrlblmsg to network
    02f8dfee7580 tcp: prohibit TCP_REPAIR_OPTIONS if data was already sent
    f3aa8a7d9550 drm/vc4: Fix missing platform_unregister_drivers() call in vc4_drm_register()
    bcb3bb10695f hamradio: fix issue of dev reference count leakage in bpq_device_event()
    bc4591a86b8f net: lapbether: fix issue of dev reference count leakage in lapbeth_device_event()
    2bf8b1c111ff KVM: s390: pv: don't allow userspace to set the clock under PV
    a60cc64db72f KVM: s390x: fix SCK locking
    fcbd2b336834 capabilities: fix undefined behavior in bit shift for CAP_TO_MASK
    8aae24b0ed76 net: fman: Unregister ethernet device on removal
    e2c5ee3b628f bnxt_en: fix potentially incorrect return value for ndo_rx_flow_steer
    38147073c96d bnxt_en: Fix possible crash in bnxt_hwrm_set_coal()
    3401f964028a net: tun: Fix memory leaks of napi_get_frags
    adaa0f180de5 macsec: clear encryption keys from the stack after setting up offload
    9dc7503bae33 macsec: fix detection of RXSCs when toggling offloading
    7f4456f0119b macsec: fix secy->n_rx_sc accounting
    3b05d9073ae2 macsec: delete new rxsc when offload fails
    50868de7dc4e net: gso: fix panic on frag_list with mixed head alloc types
    cedd4f01f67b bpf: Fix wrong reg type conversion in release_reference()
    9069db2579e9 bpf: Add helper macro bpf_for_each_reg_in_vstate
    95b6ec733752 bpf: Support for pointers beyond pkt_end.
    8597b59e3d22 HID: hyperv: fix possible memory leak in mousevsc_probe()
    8c80b2fca411 bpftool: Fix NULL pointer dereference when pin {PROG, MAP, LINK} without FILE
    cc21dc48a78c bpf, sockmap: Fix the sk->sk_forward_alloc warning of sk_stream_kill_queues
    e1e12180321f wifi: cfg80211: fix memory leak in query_regdb_file()
    914cb94e738b wifi: cfg80211: silence a sparse RCU warning
    72ea2fc29962 phy: stm32: fix an error code in probe
    925bf1ba7604 hwspinlock: qcom: correct MMIO max register for newer SoCs
    76eba54f0ddf fuse: fix readdir cache race

(From OE-Core rev: 3ea61d42282a41d1266a48ad3f4d922967a3baed)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-06 17:33:23 +00:00
Bruce Ashfield
dde151f3ad linux-yocto/5.10: update to v5.10.154
Updating  to the latest korg -stable release that comprises
the following commits:

    f5b40c0eb9ea Linux 5.10.154
    bf506e366da4 ipc: remove memcg accounting for sops objects in do_semtimedop()
    c6678c8f4f3f wifi: brcmfmac: Fix potential buffer overflow in brcmf_fweh_event_worker()
    a6c57adec567 drm/i915/sdvo: Setup DDC fully before output init
    b86830cc95af drm/i915/sdvo: Filter out invalid outputs more sensibly
    9f3b8678080a drm/rockchip: dsi: Force synchronous probe
    23f1fc7ce55f ext4,f2fs: fix readahead of verity data
    e5cef906cb40 KVM: x86: emulator: update the emulation mode after CR0 write
    ce9261accccd KVM: x86: emulator: introduce emulator_recalc_and_set_mode
    c8a2fd7a715d KVM: x86: emulator: em_sysexit should update ctxt->mode
    e0c7410378cd KVM: x86: Mask off reserved bits in CPUID.80000001H
    9302ebc1c21d KVM: x86: Mask off reserved bits in CPUID.80000008H
    cc40c5f3e921 KVM: x86: Mask off reserved bits in CPUID.8000001AH
    bd64a88f364c KVM: x86: Mask off reserved bits in CPUID.80000006H
    156451a67b93 ext4: fix BUG_ON() when directory entry has invalid rec_len
    5370b965b7a9 ext4: fix warning in 'ext4_da_release_space'
    c9598cf62953 parisc: Avoid printing the hardware path twice
    98f836e80d21 parisc: Export iosapic_serial_irq() symbol for serial port driver
    814af9a32b03 parisc: Make 8250_gsc driver dependend on CONFIG_PARISC
    29d106d086d2 perf/x86/intel: Add Cooper Lake stepping to isolation_ucodes[]
    98f6e7c33703 perf/x86/intel: Fix pebs event constraints for ICL
    3be2d66822a0 efi: random: Use 'ACPI reclaim' memory for random seed
    83294f7c7759 efi: random: reduce seed size to 32 bytes
    f8e8cda869fd fuse: add file_modified() to fallocate
    cdf01c807e97 capabilities: fix potential memleak on error path from vfs_getxattr_alloc()
    ff32d8a099dc tracing/histogram: Update document for KEYS_MAX size
    533bfacbacb8 tools/nolibc/string: Fix memcmp() implementation
    f100a0274861 kprobe: reverse kp->flags when arm_kprobe failed
    bef08acbe560 tracing: kprobe: Fix memory leak in test_gen_kprobe/kretprobe_cmd()
    2bf33b5ea46d tcp/udp: Make early_demux back namespacified.
    ea5f2fd4640e ftrace: Fix use-after-free for dynamic ftrace_ops
    06de93a47cec btrfs: fix type of parameter generation in btrfs_get_dentry
    e33ce54cef5d coresight: cti: Fix hang in cti_disable_hw()
    015ac18be7de binder: fix UAF of alloc->vma in race with munmap()
    836686e1a01d memcg: enable accounting of ipc resources
    e4e4b24b42e7 mtd: rawnand: gpmi: Set WAIT_FOR_READY timeout based on program/erase times
    818c36b988b8 tcp/udp: Fix memory leak in ipv6_renew_options().
    29997a6fa60d fscrypt: fix keyring memory leak on mount failure
    391cceee6d43 fscrypt: stop using keyrings subsystem for fscrypt_master_key
    092401142b95 fscrypt: simplify master key locking
    54c13d3520ef ALSA: usb-audio: Add quirks for MacroSilicon MS2100/MS2106 devices
    a0e2577cf3cc block, bfq: protect 'bfqd->queued' by 'bfqd->lock'
    26ca2ac091b4 Bluetooth: L2CAP: Fix attempting to access uninitialized memory
    6b6f94fb9a74 Bluetooth: L2CAP: Fix accepting connection request for invalid SPSM
    bfd5e62f9a7e i2c: piix4: Fix adapter not be removed in piix4_remove()
    fc3e2fa0a5fb arm64: dts: juno: Add thermal critical trip points
    b743ecf29ca7 firmware: arm_scmi: Make Rx chan_setup fail on memory errors
    29e8e9bfc2f2 firmware: arm_scmi: Suppress the driver's bind attributes
    d7b1e2cbe0a4 ARM: dts: imx6qdl-gw59{10,13}: fix user pushbutton GPIO offset
    160d8904b2b5 efi/tpm: Pass correct address to memblock_reserve
    c40b4d604b3e i2c: xiic: Add platform module alias
    5bf8c7798b1c drm/amdgpu: set vm_update_mode=0 as default for Sienna Cichlid in SRIOV case
    496eb203d046 HID: saitek: add madcatz variant of MMO7 mouse device ID
    ff06067b7086 scsi: core: Restrict legal sdev_state transitions via sysfs
    9edf20e5a1d8 ACPI: APEI: Fix integer overflow in ghes_estatus_pool_init()
    be6e22f54623 media: meson: vdec: fix possible refcount leak in vdec_probe()
    c5fd54a65c35 media: dvb-frontends/drxk: initialize err to 0
    7fdc58d8c213 media: cros-ec-cec: limit msg.len to CEC_MAX_MSG_SIZE
    1609231f8676 media: s5p_cec: limit msg.len to CEC_MAX_MSG_SIZE
    c46759e3703b media: rkisp1: Zero v4l2_subdev_format fields in when validating links
    3144ce557440 media: rkisp1: Initialize color space on resizer sink and source pads
    6b24d9c2acda s390/boot: add secure boot trailer
    efc6420d65ae xhci-pci: Set runtime PM as default policy on all xHC 1.2 or later devices
    37bb57908dd3 mtd: parsers: bcm47xxpart: Fix halfblock reads
    85e458369c0f mtd: parsers: bcm47xxpart: print correct offset on read error
    ec54104febdc fbdev: stifb: Fall back to cfb_fillrect() on 32-bit HCRX cards
    f8c86d782952 video/fbdev/stifb: Implement the stifb_fillrect() function
    e975d7aecad7 mmc: sdhci-pci-core: Disable ES for ASUS BIOS on Jasper Lake
    afeae13b8a3c mmc: sdhci-pci: Avoid comma separated statements
    a06721767cfc mmc: sdhci-esdhc-imx: Propagate ESDHC_FLAG_HS400* only on 8bit bus
    59400c9b0d07 drm/msm/hdmi: fix IRQ lifetime
    8225bdaec5b0 drm/msm/hdmi: Remove spurious IRQF_ONESHOT flag
    5dbb47ee8976 ipv6: fix WARNING in ip6_route_net_exit_late()
    1c89642e7f2b net, neigh: Fix null-ptr-deref in neigh_table_clear()
    634f066d02bd net: mdio: fix undefined behavior in bit shift for __mdiobus_register
    d9ec6e2fbd4a Bluetooth: L2CAP: fix use-after-free in l2cap_conn_del()
    cb1c012099ef Bluetooth: L2CAP: Fix use-after-free caused by l2cap_reassemble_sdu
    0a0dead4ad1a btrfs: fix ulist leaks in error paths of qgroup self tests
    61e061281137 btrfs: fix inode list leak during backref walking at find_parent_nodes()
    a52e24c7fcc3 btrfs: fix inode list leak during backref walking at resolve_indirect_refs()
    81204283ea13 isdn: mISDN: netjet: fix wrong check of device registration
    e77d213843e6 mISDN: fix possible memory leak in mISDN_register_device()
    f06186e5271b rose: Fix NULL pointer dereference in rose_send_frame()
    2c8d81bdb268 ipvs: fix WARNING in ip_vs_app_net_cleanup()
    931f56d59c85 ipvs: fix WARNING in __ip_vs_cleanup_batch()
    d69328cdb92f ipvs: use explicitly signed chars
    b2d7a92aff0f netfilter: nf_tables: release flow rule object from commit path
    3583826b443a net: tun: fix bugs for oversize packet when napi frags enabled
    5960b9081bac net: sched: Fix use after free in red_enqueue()
    24f9c41435a8 ata: pata_legacy: fix pdc20230_set_piomode()
    c85ee1c3cbc6 net: fec: fix improper use of NETDEV_TX_BUSY
    52438e734c15 nfc: nfcmrvl: Fix potential memory leak in nfcmrvl_i2c_nci_send()
    0acfcd2aed4f nfc: s3fwrn5: Fix potential memory leak in s3fwrn5_nci_send()
    9ae2c9a91ff0 nfc: nxp-nci: Fix potential memory leak in nxp_nci_send()
    eecea068bf11 NFC: nxp-nci: remove unnecessary labels
    e8c11ee2d07f nfc: fdp: Fix potential memory leak in fdp_nci_send()
    31b83d6990c8 nfc: fdp: drop ftrace-like debugging messages
    4e1e4485b252 RDMA/qedr: clean up work queue on failure in qedr_alloc_resources()
    d360e875c011 RDMA/core: Fix null-ptr-deref in ib_core_cleanup()
    37a098fc9b42 net: dsa: Fix possible memory leaks in dsa_loop_init()
    45aea4fbf61e nfs4: Fix kmemleak when allocate slot failed
    f0f1c74fa670 NFSv4.1: We must always send RECLAIM_COMPLETE after a reboot
    10c554d72275 NFSv4.1: Handle RECLAIM_COMPLETE trunking errors
    4813dd737dc4 NFSv4: Fix a potential state reclaim deadlock
    7c4260f8f188 IB/hfi1: Correctly move list in sc_disable()
    87ac93c8dd6d RDMA/cma: Use output interface for net_dev check
    4dbb739eb29c KVM: x86: Add compat handler for KVM_X86_SET_MSR_FILTER
    bb584caee895 KVM: x86: Copy filter arg outside kvm_vm_ioctl_set_msr_filter()
    9faacf442d11 KVM: x86: Protect the unused bits in MSR exiting flags
    5bdbccc79c86 x86/topology: Fix duplicated core ID within a package
    6c31fc028a65 x86/topology: Fix multiple packages shown on a single-package system
    f5ad52da145a x86/topology: Set cpu_die_id only if DIE_TYPE found
    570fa3bcd2f9 KVM: x86: Treat #DBs from the emulator as fault-like (code and DR7.GD=1)
    e5d7c6786bef KVM: x86: Trace re-injected exceptions
    8364786152d5 KVM: nVMX: Don't propagate vmcs12's PERF_GLOBAL_CTRL settings to vmcs02
    523e1dd9f8d4 KVM: nVMX: Pull KVM L0's desired controls directly from vmcs01
    028fcabd8a67 serial: ar933x: Deassert Transmit Enable on ->rs485_config()
    e6da7808c955 serial: 8250: Let drivers request full 16550A feature probing
    95aa34f72132 Linux 5.10.153
    26a2b9c468de serial: Deassert Transmit Enable on probe in driver-specific way
    4a230f65d6a8 serial: core: move RS485 configuration tasks from drivers into core
    eb69c07eca22 can: rcar_canfd: rcar_canfd_handle_global_receive(): fix IRQ storm on global FIFO receive
    d5924531dd8a arm64/kexec: Test page size support with new TGRAN range values
    c911f03f8d44 arm64/mm: Fix __enable_mmu() for new TGRAN range values
    d523384766fd scsi: sd: Revert "scsi: sd: Remove a local variable"
    52a43b82006d arm64: Add AMPERE1 to the Spectre-BHB affected list
    9889ca7efa12 net: enetc: survive memory pressure without crashing
    fdba224ab028 net/mlx5: Fix crash during sync firmware reset
    bbcc06933f35 net/mlx5: Fix possible use-after-free in async command interface
    16376ba5cfd7 net/mlx5e: Do not increment ESN when updating IPsec ESN state
    0d88359092dd nh: fix scope used to find saddr when adding non gw nh
    3519b5ddac21 net: ehea: fix possible memory leak in ehea_register_port()
    79631daa5a51 openvswitch: switch from WARN to pr_warn
    00d6f33f6782 ALSA: aoa: Fix I2S device accounting
    ce6fd1c382a3 ALSA: aoa: i2sbus: fix possible memory leak in i2sbus_add_dev()
    97262705c0cb net: fec: limit register access on i.MX6UL
    df67a8e625fc PM: domains: Fix handling of unavailable/disabled idle states
    1f262d80882a net: ksz884x: fix missing pci_disable_device() on error in pcidev_init()
    6170b4579f36 i40e: Fix flow-type by setting GL_HASH_INSET registers
    9abae363af5c i40e: Fix VF hang when reset is triggered on another VF
    23d5599058a0 i40e: Fix ethtool rx-flow-hash setting for X722
    44affe7ede59 ipv6: ensure sane device mtu in tunnels
    905f05c0ab19 media: vivid: set num_in/outputs to 0 if not supported
    b6c7446d0a38 media: videodev2.h: V4L2_DV_BT_BLANKING_HEIGHT should check 'interlaced'
    683015ae1634 media: v4l2-dv-timings: add sanity checks for blanking values
    147b8f1892aa media: vivid: dev->bitmap_cap wasn't freed in all cases
    1cf51d51581c media: vivid: s_fbuf: add more sanity checks
    3221c2701d19 PM: hibernate: Allow hybrid sleep to work with s2idle
    0eb19ecbd0a9 can: mcp251x: mcp251x_can_probe(): add missing unregister_candev() in error path
    6b2d07fc0b0a can: mscan: mpc5xxx: mpc5xxx_can_probe(): add missing put_clock() in error path
    1634d5d39cfd tcp: fix indefinite deferral of RTO with SACK reneging
    4f23cb2be530 tcp: fix a signed-integer-overflow bug in tcp_add_backlog()
    49713d7c3858 tcp: minor optimization in tcp_add_backlog()
    aab883bd60bc net: lantiq_etop: don't free skb when returning NETDEV_TX_BUSY
    c3edc6e80820 net: fix UAF issue in nfqnl_nf_hook_drop() when ops_init() failed
    e2a28807b1ce kcm: annotate data-races around kcm->rx_wait
    c325f92d8d9b kcm: annotate data-races around kcm->rx_psock
    af7879529e5a atlantic: fix deadlock at aq_nic_stop
    d7ccd49c4dd9 amd-xgbe: add the bit rate quirk for Molex cables
    17350734fdca amd-xgbe: fix the SFP compliance codes check for DAC cables
    b55d6ea965ba x86/unwind/orc: Fix unreliable stack dump with gcov
    0ce1ef335300 net: hinic: fix the issue of double release MBOX callback of VF
    6603843c80b1 net: hinic: fix the issue of CMDQ memory leaks
    bb01910763f9 net: hinic: fix memory leak when reading function table
    ce605b68db53 net: hinic: fix incorrect assignment issue in hinic_set_interrupt_cfg()
    62f0a08e82a6 net: netsec: fix error handling in netsec_register_mdio()
    32a3d4660b34 tipc: fix a null-ptr-deref in tipc_topsrv_accept
    fb94152aae88 perf/x86/intel/lbr: Use setup_clear_cpu_cap() instead of clear_cpu_cap()
    bfce73088682 ALSA: ac97: fix possible memory leak in snd_ac97_dev_register()
    2663b16c76d0 ASoC: qcom: lpass-cpu: Mark HDMI TX parity register as volatile
    a52755729956 arc: iounmap() arg is volatile
    648ac633e764 ASoC: qcom: lpass-cpu: mark HDMI TX registers as volatile
    6571f6ca8a21 drm/msm: Fix return type of mdp4_lvds_connector_mode_valid
    4953a989b72d media: v4l2: Fix v4l2_i2c_subdev_set_name function documentation
    9d00384270b1 net: ieee802154: fix error return code in dgram_bind()
    568e3812b177 mm,hugetlb: take hugetlb_lock before decrementing h->resv_huge_pages
    935a8b620210 mm/memory: add non-anonymous page check in the copy_present_page()
    49db6cb81400 xen/gntdev: Prevent leaking grants
    a3f2cc11d6b6 Xen/gntdev: don't ignore kernel unmapping error
    467230b9ef40 s390/pci: add missing EX_TABLE entries to __pcistg_mio_inuser()/__pcilg_mio_inuser()
    fe187c801a44 s390/futex: add missing EX_TABLE entry to __futex_atomic_op()
    449070996ce6 perf auxtrace: Fix address filter symbol name match for modules
    6f72a3977ba9 kernfs: fix use-after-free in __kernfs_remove
    0bcd1ab3e8b3 counter: microchip-tcb-capture: Handle Signal1 read and Synapse
    8bf037279b58 mmc: core: Fix kernel panic when remove non-standard SDIO card
    5684808b269b mmc: sdhci_am654: 'select', not 'depends' REGMAP_MMIO
    b686ffc0acb8 drm/msm/dp: fix IRQ lifetime
    08c7375fa27a drm/msm/hdmi: fix memory corruption with too many bridges
    21c4679af01f drm/msm/dsi: fix memory corruption with too many bridges
    44a86d96fac8 scsi: qla2xxx: Use transport-defined speed mask for supported_speeds
    c368f751da8e mac802154: Fix LQI recording
    9ba2990f4e80 exec: Copy oldsighand->action under spin-lock
    706215300411 fs/binfmt_elf: Fix memory leak in load_elf_binary()
    d9ddfeb01fb9 fbdev: smscufx: Fix several use-after-free bugs
    f19f1a75d378 iio: temperature: ltc2983: allocate iio channels once
    af236da8552e iio: light: tsl2583: Fix module unloading
    90ff5bef2bc7 tools: iio: iio_utils: fix digit calculation
    678d2cc2041c xhci: Remove device endpoints from bandwidth list when freeing the device
    3b250824b6d3 xhci: Add quirk to reset host back to default state at shutdown
    63c7df3c818e mtd: rawnand: marvell: Use correct logic for nand-keep-config
    228101fc832f usb: xhci: add XHCI_SPURIOUS_SUCCESS to ASM1042 despite being a V0.96 controller
    2bc4f99ee243 usb: bdc: change state when port disconnected
    e440957f9c8b usb: dwc3: gadget: Don't set IMI for no_interrupt
    fb074d622ccc usb: dwc3: gadget: Stop processing more requests on IMI
    c29fcef5791d USB: add RESET_RESUME quirk for NVIDIA Jetson devices in RCM
    4cc7a360ec3b ALSA: rme9652: use explicitly signed char
    895909230008 ALSA: au88x0: use explicitly signed char
    2bf5b1631569 ALSA: Use del_timer_sync() before freeing timer
    ca1034bff85a can: kvaser_usb: Fix possible completions during init_completion
    370be31cde50 can: j1939: transport: j1939_session_skb_drop_old(): spin_unlock_irqrestore() before kfree_skb()

(From OE-Core rev: ac6645ecd9e8770a4a6566b03f5c8f34348d5f14)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-06 17:33:23 +00:00
Bruce Ashfield
53360000fd linux-yocto/5.10: update to v5.10.152
Updating  to the latest korg -stable release that comprises
the following commits:

    7d51b4c67cfb Linux 5.10.152
    43d5109296fa udp: Update reuse->has_conns under reuseport_lock.
    a50ed2d28727 mm: /proc/pid/smaps_rollup: fix no vma's null-deref
    31b1570677e8 blk-wbt: fix that 'rwb->wc' is always set to 1 in wbt_init()
    e2f9b62ead9a mmc: core: Add SD card quirk for broken discard
    3a260e9844c9 Makefile.debug: re-enable debug info for .S files
    6ab2287b26f1 x86/Kconfig: Drop check for -mabi=ms for CONFIG_EFI_STUB
    67dafece56b6 ACPI: video: Force backlight native for more TongFang devices
    dcaf6313202a hv_netvsc: Fix race between VF offering and VF association message from host
    da54c5f4b5b5 perf/x86/intel/pt: Relax address filter validation
    79c3482fbe20 riscv: topology: fix default topology reporting
    a6e770733dc4 arm64: topology: move store_cpu_topology() to shared code
    cb1024d8a4d0 arm64: dts: qcom: sc7180-trogdor: Fixup modem memory region
    f687e2111b6f fcntl: fix potential deadlocks for &fown_struct.lock
    b1efc196446a fcntl: make F_GETOWN(EX) return 0 on dead owner task
    ca4c49838278 perf: Skip and warn on unknown format 'configN' attrs
    dea47fefa6aa perf pmu: Validate raw event with sysfs exported format bits
    86e995f964f6 riscv: always honor the CONFIG_CMDLINE_FORCE when parsing dtb
    0e4c06ae7c54 riscv: Add machine name to kernel boot log and stack dump output
    7fba4a389d07 mmc: sdhci-tegra: Use actual clock rate for SW tuning correction
    3c6a888e3522 xen/gntdev: Accommodate VMA splitting
    5232411f37d7 xen: assume XENFEAT_gnttab_map_avail_bits being set for pv guests
    ea82edad0aee tracing: Do not free snapshot if tracer is on cmdline
    bd6af07e7993 tracing: Simplify conditional compilation code in tracing_set_tracer()
    4e3a15ca24b3 dmaengine: mxs: use platform_driver_register
    1da5d2497046 dmaengine: mxs-dma: Remove the unused .id_table
    1414e9bf3c30 drm/virtio: Use appropriate atomic state in virtio_gpu_plane_cleanup_fb()
    d74196bb278b iommu/vt-d: Clean up si_domain in the init_dmars() error path
    ef11e8ec00b9 iommu/vt-d: Allow NVS regions in arch_rmrr_sanity_check()
    35c92435be76 net: phy: dp83822: disable MDI crossover status change interrupt
    7aa3d623c11b net: sched: fix race condition in qdisc_graft()
    2974f3b330ef net: hns: fix possible memory leak in hnae_ae_register()
    3032e316e0a9 sfc: include vport_id in filter spec hash and equal()
    ded86c4191a3 net: sched: sfb: fix null pointer access issue when sfb_init() fails
    305aa36b628e net: sched: delete duplicate cleanup of backlog and qlen
    ae48bee2830b net: sched: cake: fix null pointer access issue when cake_init() fails
    2008ad08a2ae nvme-hwmon: kmalloc the NVME SMART log buffer
    770b7e3a2c1f nvme-hwmon: consistently ignore errors from nvme_hwmon_init
    67106ac27243 nvme-hwmon: Return error code when registration fails
    bc17f727b005 nvme-hwmon: rework to avoid devm allocation
    191d71c6357e ionic: catch NULL pointer issue on reconfig
    ff7ba7667583 net: hsr: avoid possible NULL deref in skb_clone()
    7286f8755104 cifs: Fix xid leak in cifs_ses_add_channel()
    2d08311aa305 cifs: Fix xid leak in cifs_flock()
    bf49d4fe4ab7 cifs: Fix xid leak in cifs_copy_file_range()
    05cc22c0085e net: phy: dp83867: Extend RX strap quirk for SGMII mode
    118f412bedc5 net/atm: fix proc_mpc_write incorrect return value
    c8310a99e7e4 sfc: Change VF mac via PF as first preference if available.
    39d10f0dfb72 HID: magicmouse: Do not set BTN_MOUSE on double report
    ed5baf3d0a33 i40e: Fix DMA mappings leak
    e558e1489384 tipc: fix an information leak in tipc_topsrv_kern_subscr
    1f4ed95ce617 tipc: Fix recognition of trial period
    fc8c6b8bb294 ACPI: extlog: Handle multiple records
    57e157749ad9 btrfs: fix processing of delayed tree block refs during backref walking
    590929ef6972 btrfs: fix processing of delayed data refs during backref walking
    cc841a8a704c r8152: add PID for the Lenovo OneLink+ Dock
    51b96ecaedc0 arm64: errata: Remove AES hwcap for COMPAT tasks
    910ba49b3345 blk-wbt: call rq_qos_add() after wb_normal is initialized
    392536023da1 block: wbt: Remove unnecessary invoking of wbt_update_limits in wbt_init
    ab6aaa821024 media: venus: dec: Handle the case where find_format fails
    bce5808fc95d media: mceusb: set timeout to at least timeout provided
    6d725672ce85 KVM: arm64: vgic: Fix exit condition in scan_its_table()
    34db701dc65f kvm: Add support for arch compat vm ioctls
    e55feb31df3f cpufreq: qcom: fix memory leak in error path
    303d0f761431 ata: ahci: Match EM_MAX_SLOTS with SATA_PMP_MAX_PORTS
    6a2aadcb0186 ata: ahci-imx: Fix MODULE_ALIAS
    d9f0159da05d hwmon/coretemp: Handle large core ID value
    0fb04676c4fd x86/microcode/AMD: Apply the patch early on every logical thread
    6dcf1f0802cc i2c: qcom-cci: Fix ordering of pm_runtime_xx and i2c_add_adapter
    794ded0bc461 cpufreq: qcom: fix writes in read-only memory region
    2723875e9d67 selinux: enable use of both GFP_KERNEL and GFP_ATOMIC in convert_context()
    0d65f040fdbb ocfs2: fix BUG when iput after ocfs2_mknod fails
    b838dcfda164 ocfs2: clear dinode links count in case of error
    c34d1b22fef3 Linux 5.10.151
    ecad33121117 kbuild: Add skip_encoding_btf_enum64 option to pahole
    c5006abb80e2 kbuild: Unify options for BTF generation for vmlinux and modules
    f5f413cb3e8a kbuild: skip per-CPU BTF generation for pahole v1.18-v1.21
    06481cd9f7f6 kbuild: Quote OBJCOPY var to avoid a pahole call break the build
    bbaea0f1cd33 bpf: Generate BTF_KIND_FLOAT when linking vmlinux
    a10a57a224f3 Linux 5.10.150
    243c8f42ba10 Revert "drm/amdgpu: make sure to init common IP before gmc"
    8026d58b495a gcov: support GCC 12.1 and newer compilers
    cbf2c43b36e0 f2fs: fix wrong condition to trigger background checkpoint correctly
    7b19858803d7 thermal: intel_powerclamp: Use first online CPU as control_cpu
    f039b43cbaea inet: fully convert sk->sk_rx_dst to RCU rules
    67de22cb0b6c ext4: continue to expand file system when the target size doesn't reach
    357db159e965 Revert "drm/amdgpu: use dirty framebuffer helper"
    98ab15bfdcda Revert "drm/amdgpu: move nbio sdma_doorbell_range() into sdma code for vega"
    791489a5c563 net/ieee802154: don't warn zero-sized raw_sendmsg()
    a96336a5f28b Revert "net/ieee802154: reject zero-sized raw_sendmsg()"
    dc54ff9fc4a4 net: ieee802154: return -EINVAL for unknown addr type
    45c33966759e mm: hugetlb: fix UAF in hugetlb_handle_userfault
    c378c479c517 io_uring/af_unix: defer registered files gc to io_uring release
    67cbc8865a66 io_uring: correct pinned_vm accounting
    904f881b5736 arm64: topology: fix possible overflow in amu_fie_setup()
    b5dc2f25789d perf intel-pt: Fix segfault in intel_pt_print_info() with uClibc
    9b4e849777a9 clk: bcm2835: Make peripheral PLLC critical
    b8bbae3236ab usb: idmouse: fix an uninit-value in idmouse_open
    d5bb45f47b37 nvmet-tcp: add bounds check on Transfer Tag
    b79da0080d81 nvme: copy firmware_rev on each init
    e6cc39db24a6 staging: rtl8723bs: fix a potential memory leak in rtw_init_cmd_priv()
    3a5a34ed9d68 Revert "usb: storage: Add quirk for Samsung Fit flash"
    acf0006f2b2b usb: musb: Fix musb_gadget.c rxstate overflow bug
    91271a3e772e usb: host: xhci: Fix potential memory leak in xhci_alloc_stream_info()
    782b3e71c957 md/raid5: Wait for MD_SB_CHANGE_PENDING in raid5d
    dbcca76435a6 HID: roccat: Fix use-after-free in roccat_read()
    f00c049ede46 soundwire: intel: fix error handling on dai registration issues
    f04a673d4a27 soundwire: cadence: Don't overwrite msg->buf during write commands
    c263516c2c20 bcache: fix set_at_max_writeback_rate() for multiple attached devices
    fcad2ac86399 ata: libahci_platform: Sanity check the DT child nodes number
    19c010ae44f0 blk-throttle: prevent overflow while calculating wait time
    1b3cebeca99e staging: vt6655: fix potential memory leak
    89f305a71418 power: supply: adp5061: fix out-of-bounds read in adp5061_get_chg_type()
    b2700f98b3f4 nbd: Fix hung when signal interrupts nbd_start_device_ioctl()
    5942e5c63dc9 scsi: 3w-9xxx: Avoid disabling device if failing to enable it
    48727117bd62 usb: host: xhci-plat: suspend/resume clks for brcm
    c13d0d2f5a48 usb: host: xhci-plat: suspend and resume clocks
    12d31182de8d clk: zynqmp: pll: rectify rate rounding in zynqmp_pll_round_rate
    c2257c8a5015 media: cx88: Fix a null-ptr-deref bug in buffer_prepare()
    d9e2585c3bce clk: zynqmp: Fix stack-out-of-bounds in strncpy`
    70f8b48d0b61 btrfs: scrub: try to fix super block errors
    8f554dd23c18 arm64: dts: imx8mq-librem5: Add bq25895 as max17055's power supply
    451ce2521c21 kselftest/arm64: Fix validatation termination record after EXTRA_CONTEXT
    017cabfb3f86 ARM: dts: imx6sx: add missing properties for sram
    9d3ca48722d3 ARM: dts: imx6sll: add missing properties for sram
    9735f2b62be9 ARM: dts: imx6sl: add missing properties for sram
    2829b6ad30c2 ARM: dts: imx6qp: add missing properties for sram
    0c3a0b3d5e9c ARM: dts: imx6dl: add missing properties for sram
    2763a3b43ac3 ARM: dts: imx6q: add missing properties for sram
    82e0d91484f7 ARM: dts: imx7d-sdb: config the max pressure for tsc2046
    166feb964fc8 drm/amd/display: Remove interface for periodic interrupt 1
    1bb6f4a8db5a drm/dp: Don't rewrite link config when setting phy test pattern
    bb91c06b0be4 mmc: sdhci-msm: add compatible string check for sdm670
    8a427a22839d drm/meson: explicitly remove aggregate driver at module unload time
    1c7d957c5d81 drm/amdgpu: fix initial connector audio value
    69130888b226 ASoC: SOF: pci: Change DMI match info to support all Chrome platforms
    54f2585e2de0 platform/x86: msi-laptop: Change DMI match / alias strings to fix module autoloading
    a9d6a7c9b685 platform/chrome: cros_ec: Notify the PM of wake events during resume
    e29d20deaf9a drm: panel-orientation-quirks: Add quirk for Anbernic Win600
    bfdb391d57df drm/vc4: vec: Fix timings for VEC modes
    b70f8abc1a44 drm: bridge: dw_hdmi: only trigger hotplug event on link change
    bbe2f6f90310 udmabuf: Set ubuf->sg = NULL if the creation of sg table fails
    0a4fddc95c63 drm/amd/display: fix overflow on MIN_I64 definition
    3959e8faf8bf gpu: lontium-lt9611: Fix NULL pointer dereference in lt9611_connector_init()
    c28a8082b25c drm: Prevent drm_copy_field() to attempt copying a NULL pointer
    e7d701800365 drm: Use size_t type for len variable in drm_copy_field()
    3339a51bcd89 drm/nouveau/nouveau_bo: fix potential memory leak in nouveau_bo_alloc()
    484400d433ca r8152: Rate limit overflow messages
    0c108cf3ad38 Bluetooth: L2CAP: Fix user-after-free
    65029aaedd15 net: If sock is dead don't access sock's sk_wq in sk_stream_wait_memory
    4851303c8539 wifi: rt2x00: correctly set BBP register 86 for MT7620
    a01614447954 wifi: rt2x00: set SoC wmac clock register
    5aa0461d1180 wifi: rt2x00: set VGC gain for both chains of MT7620
    8d9c00979a7e wifi: rt2x00: set correct TX_SW_CFG1 MAC register for MT7620
    27ed98e8a9b0 wifi: rt2x00: don't run Rt5592 IQ calibration on MT7620
    3d67986e7208 can: bcm: check the result of can_send() in bcm_can_tx()
    7b674dce4162 Bluetooth: hci_sysfs: Fix attempting to call device_add multiple times
    e25ca9af8a13 Bluetooth: L2CAP: initialize delayed works at l2cap_chan_create()
    b051d9bf98bd regulator: core: Prevent integer underflow
    e01d96494a9d wifi: brcmfmac: fix use-after-free bug in brcmf_netdev_start_xmit()
    be81c44242b2 xfrm: Update ipcomp_scratches with NULL when freed
    9661724f6206 wifi: ath9k: avoid uninit memory read in ath9k_htc_rx_msg()
    0958e487e81b tcp: annotate data-race around tcp_md5sig_pool_populated
    129ca0db956e openvswitch: Fix overreporting of drops in dropwatch
    4398e8a7fd6a openvswitch: Fix double reporting of drops in dropwatch
    e3c9b9473453 bpftool: Clear errno after libcap's checks
    50e45034c580 wifi: brcmfmac: fix invalid address access when enabling SCAN log level
    bbacfcde5fff NFSD: fix use-after-free on source server when doing inter-server copy
    3de402a5248a NFSD: Return nfserr_serverfault if splice_ok but buf->pages have data
    1f730d4ae6f9 x86/entry: Work around Clang __bdos() bug
    513943bf879d thermal: intel_powerclamp: Use get_cpu() instead of smp_processor_id() to avoid crash
    708b9abe1b4a powercap: intel_rapl: fix UBSAN shift-out-of-bounds issue
    b434edb0e9d1 MIPS: BCM47XX: Cast memcmp() of function to (void *)
    6c61a37ea70e ACPI: video: Add Toshiba Satellite/Portege Z830 quirk
    0dd025483f15 rcu-tasks: Convert RCU_LOCKDEP_WARN() to WARN_ONCE()
    36d4ffbedff7 rcu: Back off upon fill_page_cache_func() allocation failure
    278d8ba2b288 selftest: tpm2: Add Client.__del__() to close /dev/tpm* handle
    b60aa21e2f3a f2fs: fix to account FS_CP_DATA_IO correctly
    0b8230d44ce7 f2fs: fix to avoid REQ_TIME and CP_TIME collision
    ecbd95958c48 f2fs: fix race condition on setting FI_NO_EXTENT flag
    110146ce8f84 ACPI: APEI: do not add task_work to kernel thread to avoid memory leak
    dce07e87ee1e thermal/drivers/qcom/tsens-v0_1: Fix MSM8939 fourth sensor hw_id
    3a720eb89026 crypto: cavium - prevent integer overflow loading firmware
    7bfa7d677353 crypto: marvell/octeontx - prevent integer overflows
    cdd42eb4689b kbuild: rpm-pkg: fix breakage when V=1 is used
    6d1aef17e7f2 kbuild: remove the target in signal traps when interrupted
    8d76dd508093 tracing: kprobe: Make gen test module work in arm and riscv
    c6512a6f0cb1 tracing: kprobe: Fix kprobe event gen test module on exit
    9e6ba62d418d iommu/iova: Fix module config properly
    426d5bc089e7 crypto: qat - fix DMA transfer direction
    a43babc059a7 crypto: qat - use pre-allocated buffers in datapath
    a91af5085027 crypto: qat - fix use of 'dma_map_single'
    8a4ed09ed816 crypto: inside-secure - Change swab to swab32
    d33935e66604 crypto: ccp - Release dma channels before dmaengine unrgister
    a1354bdd191d crypto: akcipher - default implementation for setting a private key
    2fee0dbfaeaa iommu/omap: Fix buffer overflow in debugfs
    cfde58a8e41f cgroup/cpuset: Enable update_tasks_cpumask() on top_cpuset
    ab2485eb5dfa hwrng: imx-rngc - Moving IRQ handler registering after imx_rngc_irq_mask_clear()
    d88b88514ef2 crypto: hisilicon/zip - fix mismatch in get/set sgl_sge_nr
    25f134247372 crypto: sahara - don't sleep when in softirq
    2d285164fbe4 powerpc: Fix SPE Power ISA properties for e500v1 platforms
    2bde4e1e4f01 powerpc/64s: Fix GENERIC_CPU build flags for PPC970 / G5
    7ae8bed9087a x86/hyperv: Fix 'struct hv_enlightened_vmcs' definition
    6315998170b4 powerpc/powernv: add missing of_node_put() in opal_export_attrs()
    434db6d17b6b powerpc/pci_dn: Add missing of_node_put()
    718e2d802388 powerpc/sysdev/fsl_msi: Add missing of_node_put()
    592d283a656d powerpc/math_emu/efp: Include module.h
    44c26ceffaa3 mailbox: bcm-ferxrm-mailbox: Fix error check for dma_map_sg
    b1616599c99a clk: ast2600: BCLK comes from EPLL
    6d01017247ee clk: ti: dra7-atl: Fix reference leak in of_dra7_atl_clk_probe
    9b65fd651334 clk: bcm2835: fix bcm2835_clock_rate_from_divisor declaration
    9a6087a438ef clk: baikal-t1: Add SATA internal ref clock buffer
    5f143f3bc2e0 clk: baikal-t1: Add shared xGMAC ref/ptp clocks internal parent
    823fd523912f clk: baikal-t1: Fix invalid xGMAC PTP clock divider
    2f19a1050e1b clk: vc5: Fix 5P49V6901 outputs disabling when enabling FOD
    92f52770a7af spmi: pmic-arb: correct duplicate APID to PPID mapping logic
    a01c0c160049 dmaengine: ioat: stop mod_timer from resurrecting deleted timer in __cleanup()
    1dd5148445eb clk: mediatek: mt8183: mfgcfg: Propagate rate changes to parent
    6e58f2469ec5 mfd: sm501: Add check for platform_driver_register()
    3469dd8e22ff mfd: fsl-imx25: Fix check for platform_get_irq() errors
    b425e03c9639 mfd: lp8788: Fix an error handling path in lp8788_irq_init() and lp8788_irq_init()
    f7b438863622 mfd: lp8788: Fix an error handling path in lp8788_probe()
    08d40518033d mfd: fsl-imx25: Fix an error handling path in mx25_tsadc_setup_irq()
    28868b940b53 mfd: intel_soc_pmic: Fix an error handling path in intel_soc_pmic_i2c_probe()
    382a5fc49e6e fsi: core: Check error number after calling ida_simple_get
    ed8e6011b953 clk: qcom: apss-ipq6018: mark apcs_alias0_core_clk as critical
    884a788f0655 scsi: iscsi: iscsi_tcp: Fix null-ptr-deref while calling getpeername()
    a9e5176ead6d scsi: libsas: Fix use-after-free bug in smp_execute_task_sg()
    8f740c11d891 serial: 8250: Fix restoring termios speed after suspend
    ab5a3e714437 firmware: google: Test spinlock on panic path to avoid lockups
    95ac62e8545b staging: vt6655: fix some erroneous memory clean-up loops
    878f9871668f phy: qualcomm: call clk_disable_unprepare in the error handling
    9a56ade124d4 tty: serial: fsl_lpuart: disable dma rx/tx use flags in lpuart_dma_shutdown
    572fb97fce35 serial: 8250: Toggle IER bits on only after irq has been set up
    3fbfa5e3cc0d serial: 8250: Add an empty line and remove some useless {}
    71ffe5111f0f drivers: serial: jsm: fix some leaks in probe
    7efdd91d54cb usb: gadget: function: fix dangling pnp_string in f_printer.c
    cc952e3bf61c xhci: Don't show warning for reinit on known broken suspend
    dac769dd7dc8 IB: Set IOVA/LENGTH on IB_MR in core/uverbs layers
    360386e11c8d RDMA/cm: Use SLID in the work completion as the DLID in responder side
    a1263294b55c md/raid5: Ensure stripe_fill happens on non-read IO with journal
    76694e9ce0b2 md: Replace snprintf with scnprintf
    7bd5f3b4a805 mtd: rawnand: meson: fix bit map use in meson_nfc_ecc_correct()
    f5325f3202b8 ata: fix ata_id_has_dipm()
    f5a6fa1877f4 ata: fix ata_id_has_ncq_autosense()
    3c34a91c8aa7 ata: fix ata_id_has_devslp()
    fc61a0c8200a ata: fix ata_id_sense_reporting_enabled() and ata_id_has_sense_reporting()
    e3917c85f41e RDMA/siw: Always consume all skbuf data in sk_data_ready() upcall.
    3a9d7d8dcf98 mtd: rawnand: fsl_elbc: Fix none ECC mode
    f87f72081132 mtd: devices: docg3: check the return value of devm_ioremap() in the probe
    d06cc0e11d5b dyndbg: drop EXPORTed dynamic_debug_exec_queries
    1d6598558914 dyndbg: let query-modname override actual module name
    c0e206da44e5 dyndbg: fix module.dyndbg handling
    5047bd3bd739 dyndbg: fix static_branch manipulation
    af12e209a9d5 dmaengine: hisilicon: Add multi-thread support for a DMA channel
    d3fd838536df dmaengine: hisilicon: Fix CQ head update
    d5065ca461a4 dmaengine: hisilicon: Disable channels when unregister hisi_dma
    f59861946fa5 fpga: prevent integer overflow in dfl_feature_ioctl_set_irq()
    7ba19a60c74f misc: ocxl: fix possible refcount leak in afu_ioctl()
    cf3bb86edd8f RDMA/rxe: Fix the error caused by qp->sk
    cdce36a88def RDMA/rxe: Fix "kernel NULL pointer dereference" error
    2630cc88327a media: xilinx: vipp: Fix refcount leak in xvip_graph_dma_init
    40aa0999a3e4 media: meson: vdec: add missing clk_disable_unprepare on error in vdec_hevc_start()
    551b87976a0c tty: xilinx_uartps: Fix the ignore_status
    28cdf6c6fb7a media: exynos4-is: fimc-is: Add of_node_put() when breaking out of loop
    1f683bff1a9c HSI: omap_ssi_port: Fix dma_map_sg error check
    962f22e7f769 HSI: omap_ssi: Fix refcount leak in ssi_probe
    70f0a0a27d79 clk: tegra20: Fix refcount leak in tegra20_clock_init
    c01bfd23cc13 clk: tegra: Fix refcount leak in tegra114_clock_init
    f487137a53b1 clk: tegra: Fix refcount leak in tegra210_clock_init
    59e90c4d9861 clk: sprd: Hold reference returned by of_get_parent()
    57141b1dd689 clk: berlin: Add of_node_put() for of_get_parent()
    dc190b46c63f clk: qoriq: Hold reference returned by of_get_parent()
    baadc6f58fa8 clk: oxnas: Hold reference returned by of_get_parent()
    b95f4f905461 clk: meson: Hold reference returned by of_get_parent()
    beec2f02555c usb: common: debug: Check non-standard control requests
    9d965a22f657 usb: common: move function's kerneldoc next to its definition
    20b63631a38a usb: common: add function to get interval expressed in us unit
    c1ef8c66a362 usb: common: Parse for USB SSP genXxY
    ffffb159e1e5 usb: ch9: Add USB 3.2 SSP attributes
    aa7aada4b7b8 iio: ABI: Fix wrong format of differential capacitance channel ABI.
    b9a0526cd02b iio: inkern: only release the device node when done with it
    44ec4b04fc99 iio: adc: at91-sama5d2_adc: disable/prepare buffer on suspend/resume
    513c72d76df6 iio: adc: at91-sama5d2_adc: lock around oversampling and sample freq
    d259b90f0c3d iio: adc: at91-sama5d2_adc: check return status for pressure and touch
    bc2b97e177a9 iio: adc: at91-sama5d2_adc: fix AT91_SAMA5D2_MR_TRACKTIM_MAX
    5b9bb0cbd9e7 ARM: dts: exynos: fix polarity of VBUS GPIO of Origen
    657de36c72f5 arm64: ftrace: fix module PLTs with mcount
    40e966a404c7 ARM: Drop CMDLINE_* dependency on ATAGS
    477dbf9d1bd5 ARM: dts: exynos: correct s5k6a3 reset polarity on Midas family
    5bbd3dd7f923 soc/tegra: fuse: Drop Kconfig dependency on TEGRA20_APB_DMA
    09c35f1520e7 ia64: export memory_add_physaddr_to_nid to fix cxl build error
    e31c0e14cfad ARM: dts: kirkwood: lsxl: remove first ethernet port
    df4f05b35634 ARM: dts: kirkwood: lsxl: fix serial line
    43faaedf3a7f ARM: dts: turris-omnia: Fix mpp26 pin name and comment
    d5c2051898fd soc: qcom: smem_state: Add refcounting for the 'state->of_node'
    39781c98ad46 soc: qcom: smsm: Fix refcount leak bugs in qcom_smsm_probe()
    1d312c12c91f memory: of: Fix refcount leak bug in of_lpddr3_get_ddr_timings()
    daaec4b3fe22 memory: of: Fix refcount leak bug in of_get_ddr_timings()
    fde46754d548 memory: pl353-smc: Fix refcount leak bug in pl353_smc_probe()
    2c442b0c0624 ALSA: hda/hdmi: Don't skip notification handling during PM operation
    f182de42d786 ASoC: mt6660: Fix PM disable depth imbalance in mt6660_i2c_probe
    37e3e01c9a78 ASoC: wm5102: Fix PM disable depth imbalance in wm5102_probe
    fb2356969935 ASoC: wm5110: Fix PM disable depth imbalance in wm5110_probe
    c1b269dda1e7 ASoC: wm8997: Fix PM disable depth imbalance in wm8997_probe
    71704c2e1b2c mmc: wmt-sdmmc: Fix an error handling path in wmt_mci_probe()
    c940636d9c74 ALSA: dmaengine: increment buffer pointer atomically
    4993c1511d66 ASoC: da7219: Fix an error handling path in da7219_register_dai_clks()
    ef59819976da drm/msm/dp: correct 1.62G link rate at dp_catalog_ctrl_config_msa()
    598d8f7d86f1 drm/msm/dpu: index dpu_kms->hw_vbif using vbif_idx
    a9a60d640572 ASoC: eureka-tlv320: Hold reference returned from of_find_xxx API
    ad0b8ed172a1 mmc: au1xmmc: Fix an error handling path in au1xmmc_probe()
    1f340e1c1c74 drm/omap: dss: Fix refcount leak bugs
    cbe37857dda1 ALSA: hda: beep: Simplify keep-power-at-enable behavior
    f0fb0817ebce ASoC: rsnd: Add check for rsnd_mod_power_on
    877e92e9b1bd drm/bridge: megachips: Fix a null pointer dereference bug
    c577b4e97227 drm: fix drm_mipi_dbi build errors
    804d8e59f34f platform/x86: msi-laptop: Fix resource cleanup
    c21c08fab716 platform/x86: msi-laptop: Fix old-ec check for backlight registering
    b77755f58ede ASoC: tas2764: Fix mute/unmute
    2e6b64df54cd ASoC: tas2764: Drop conflicting set_bias_level power setting
    c2c6022e1004 ASoC: tas2764: Allow mono streams
    868fc93b615b platform/chrome: fix memory corruption in ioctl
    84da5cdf43d2 platform/chrome: fix double-free in chromeos_laptop_prepare()
    5e25bfcd12d8 drm:pl111: Add of_node_put() when breaking out of for_each_available_child_of_node()
    ad06d6bed5f2 drm/dp_mst: fix drm_dp_dpcd_read return value checks
    3f5889fd6500 drm/bridge: parade-ps8640: Fix regulator supply order
    45120fa5e522 drm/mipi-dsi: Detach devices when removing the host
    050b65050741 drm/bridge: Avoid uninitialized variable warning
    7839f2b3495b drm: bridge: adv7511: fix CEC power down control register offset
    29f50bcf0f8b net: mvpp2: fix mvpp2 debugfs leak
    6cb54f21623d once: add DO_ONCE_SLOW() for sleepable contexts
    67cb80a9d2c8 net/ieee802154: reject zero-sized raw_sendmsg()
    6cc0e2afc6a1 bnx2x: fix potential memory leak in bnx2x_tpa_stop()
    da349221c4d2 net: rds: don't hold sock lock when cancelling work from rds_tcp_reset_callbacks()
    d9e25dc053f6 spi: Ensure that sg_table won't be used after being freed
    96a3ddb87031 tcp: fix tcp_cwnd_validate() to not forget is_cwnd_limited
    f65955340e00 sctp: handle the error returned from sctp_auth_asoc_init_active_key
    2a1d03632085 mISDN: fix use-after-free bugs in l1oip timer handlers
    b4a5905fd2ef vhost/vsock: Use kvmalloc/kvfree for larger packets.
    d2b5dc3a5394 wifi: rtl8xxxu: Fix AIFS written to REG_EDCA_*_PARAM
    17196f2f98ab spi: s3c64xx: Fix large transfers with DMA
    b284e1fe15c4 netfilter: nft_fib: Fix for rpath check with VRF devices
    b384e8fb1606 Bluetooth: hci_core: Fix not handling link timeouts propertly
    129f01116b8c i2c: mlxbf: support lock mechanism
    534909fe3c92 spi/omap100k:Fix PM disable depth imbalance in omap1_spi100k_probe
    9da61e7b5993 spi: dw: Fix PM disable depth imbalance in dw_spi_bt1_probe
    1ef5798638bd x86/cpu: Include the header of init_ia32_feat_ctl()'s prototype
    6ed7b05a3592 x86/microcode/AMD: Track patch allocation size explicitly
    07299e52e5b9 wifi: ath11k: fix number of VHT beamformee spatial streams
    d7cc0d51ffcb Bluetooth: hci_{ldisc,serdev}: check percpu_init_rwsem() failure
    ed403bcd979d bpf: Ensure correct locking around vulnerable function find_vpid()
    2a1c29dc9b7e net: fs_enet: Fix wrong check in do_pd_setup
    795954d75197 wifi: rtl8xxxu: Remove copy-paste leftover in gen2_update_rate_mask
    226e6f241258 wifi: rtl8xxxu: gen2: Fix mistake in path B IQ calibration
    0a60ac7a0dad bpf: btf: fix truncated last_member_type_id in btf_struct_resolve
    8398a45d3d72 spi: meson-spicc: do not rely on busy flag in pow2 clk ops
    351cf55595d3 wifi: rtl8xxxu: Fix skb misuse in TX queue selection
    1e911790576f spi: qup: add missing clk_disable_unprepare on error in spi_qup_pm_resume_runtime()
    7b83d11d48ff spi: qup: add missing clk_disable_unprepare on error in spi_qup_resume()
    557600830515 selftests/xsk: Avoid use-after-free on ctx
    c823df067941 wifi: rtl8xxxu: tighten bounds checking in rtl8xxxu_read_efuse()
    ea1b6b54098c Bluetooth: btusb: mediatek: fix WMT failure during runtime suspend
    07194ccbb14c Bluetooth: btusb: fix excessive stack usage
    cdadf95435ff Bluetooth: btusb: Fine-tune mt7663 mechanism.
    294395caacf1 x86/resctrl: Fix to restore to original value when re-enabling hardware prefetch register
    029a1de92ce2 spi: mt7621: Fix an error message in mt7621_spi_probe()
    2afb93e4e416 bpftool: Fix a wrong type cast in btf_dumper_int
    61905bbb6116 wifi: mac80211: allow bw change during channel switch in mesh
    75652070667f leds: lm3601x: Don't use mutex after it was destroyed
    08faf07717be wifi: ath10k: add peer map clean up for peer delete in ath10k_sta_state()
    e060c4b9f33c nfsd: Fix a memory leak in an error handling path
    730191a098d8 objtool: Preserve special st_shndx indexes in elf_update_symbol
    84837738d406 ARM: 9247/1: mm: set readonly for MT_MEMORY_RO with ARM_LPAE
    f1d6edeaa8d0 ARM: 9244/1: dump: Fix wrong pg_level in walk_pmd()
    da2aecef866b MIPS: SGI-IP27: Fix platform-device leak in bridge_platform_create()
    0c667858c026 MIPS: SGI-IP27: Free some unused memory
    35984456983b sh: machvec: Use char[] for section boundaries
    6e4be747f15f userfaultfd: open userfaultfds with O_RDONLY
    28d9b3973307 selinux: use "grep -E" instead of "egrep"
    d11e09953cc0 smb3: must initialize two ACL struct fields to zero
    abd13b21004d drm/i915: Fix watermark calculations for gen12+ MC CCS modifier
    fd37286f392a drm/i915: Fix watermark calculations for gen12+ RC CCS modifier
    5d6093c49c09 drm/nouveau: fix a use-after-free in nouveau_gem_prime_import_sg_table()
    57f1a89a8e4e drm/nouveau/kms/nv140-: Disable interlacing
    d0febad83e29 staging: greybus: audio_helper: remove unused and wrong debugfs usage
    ceeb8d4a43ac KVM: VMX: Drop bits 31:16 when shoving exception error code into VMCS
    83fe0b009bd0 KVM: nVMX: Unconditionally purge queued/injected events on nested "exit"
    085ca1d33b19 KVM: x86/emulator: Fix handing of POP SS to correctly set interruptibility
    bda8120e5b10 media: cedrus: Set the platform driver data earlier
    dbdd3b1448e5 efi: libstub: drop pointless get_memory_map() call
    68158654b583 thunderbolt: Explicitly enable lane adapter hotplug events at startup
    fc08f8438172 tracing: Disable interrupt or preemption before acquiring arch_spinlock_t
    0cf6c09dafee ring-buffer: Fix race between reset page and reading page
    588f02f8b9d9 ring-buffer: Add ring_buffer_wake_waiters()
    586f02c500b2 ring-buffer: Check pending waiters when doing wake ups as well
    6617e5132c44 ring-buffer: Have the shortest_full queue be the shortest not longest
    4a3bbd40e452 ring-buffer: Allow splice to read previous partially read pages
    f2ca4609d0c3 ftrace: Properly unset FTRACE_HASH_FL_MOD
    846f041203b9 livepatch: fix race between fork and KLP transition
    2189756eabbb ext4: update 'state->fc_regions_size' after successful memory allocation
    2cfb769d60a2 ext4: fix potential memory leak in ext4_fc_record_regions()
    c9ce7766dc4e ext4: fix potential memory leak in ext4_fc_record_modified_inode()
    d575fb52c466 ext4: fix miss release buffer head in ext4_fc_write_inode
    74d2a398d2d8 ext4: place buffer head allocation before handle start
    fbb0e601bd51 ext4: ext4_read_bh_lock() should submit IO if the buffer isn't uptodate
    0e1764ad71ab ext4: don't increase iversion counter for ea_inodes
    483831ad0440 ext4: fix check for block being out of directory size
    ac66db1a4365 ext4: make ext4_lazyinit_thread freezable
    f34ab9516276 ext4: fix null-ptr-deref in ext4_write_info
    fb98cb61efff ext4: avoid crash when inline data creation follows DIO write
    e65506ff181f jbd2: add miss release buffer head in fc_do_one_pass()
    1d4d16daec2a jbd2: fix potential use-after-free in jbd2_fc_wait_bufs
    7a33dde572fc jbd2: fix potential buffer head reference count leak
    eea3e455a3ae jbd2: wake up journal waiters in FIFO order, not LIFO
    ba52e685d29b hardening: Remove Clang's enable flag for -ftrivial-auto-var-init=zero
    bdcb1d7cf285 hardening: Avoid harmless Clang option under CONFIG_INIT_STACK_ALL_ZERO
    d621a87064fa hardening: Clarify Kconfig text for auto-var-init
    4a8e8bf28070 f2fs: fix to do sanity check on summary info
    73fb4bd2c055 f2fs: fix to do sanity check on destination blkaddr during recovery
    12014eaf1b3f f2fs: increase the limit for reserve_root
    47b5ffe86332 btrfs: fix race between quota enable and quota rescan ioctl
    e50472949604 fbdev: smscufx: Fix use-after-free in ufx_ops_open()
    9931bd05bb8d scsi: qedf: Populate sysfs attributes for vport
    102c4b6e8c4b powerpc/boot: Explicitly disable usage of SPE instructions
    7db60fd46e0c powercap: intel_rapl: Use standard Energy Unit for SPR Dram RAPL domain
    9119a92ad93e PCI: Sanitise firmware BAR assignments behind a PCI-PCI bridge
    a3c08c021778 mm/mmap: undo ->mmap() when arch_validate_flags() fails
    7d551b7d6114 block: fix inflight statistics of part0
    0a129790893b drm/udl: Restore display mode on resume
    f134f261d76a drm/virtio: Check whether transferred 2D BO is shmem
    303436e301ba nvme-pci: set min_align_mask before calculating max_hw_sectors
    6a73e6edcbf3 UM: cpuinfo: Fix a warning for CONFIG_CPUMASK_OFFSTACK
    1a053f597f42 riscv: Pass -mno-relax only on lld < 15.0.0
    d15dca1d46ab riscv: Make VM_WRITE imply VM_READ
    d8c6f9b2e194 riscv: Allow PROT_WRITE-only mmap()
    a6dcc6cfa293 parisc: fbdev/stifb: Align graphics memory size to 4MB
    2ce9fab94b8d RISC-V: Make port I/O string accessors actually work
    ffb571e1232f regulator: qcom_rpm: Fix circular deferral regression
    85909424a1f5 hwmon: (gsc-hwmon) Call of_node_get() before of_find_xxx API
    8ef0e1c0ae50 ASoC: wcd934x: fix order of Slimbus unprepare/disable
    9b2c82af65f7 ASoC: wcd9335: fix order of Slimbus unprepare/disable
    1c20d672e3a5 platform/chrome: cros_ec_proto: Update version on GET_NEXT_EVENT failure
    6b7ae4a904a4 quota: Check next/prev free block number after reading from quota file
    5b1a56beb6b8 HID: multitouch: Add memory barriers
    bfe60d7641b0 fs: dlm: handle -EBUSY first in lock arg validation
    0b2d8e4db40c fs: dlm: fix race between test_bit() and queue_work()
    057d5838c795 mmc: sdhci-sprd: Fix minimum clock limit
    448fffc1aea6 can: kvaser_usb_leaf: Fix CAN state after restart
    a3776e09b361 can: kvaser_usb_leaf: Fix TX queue out of sync after restart
    0f8c88978da4 can: kvaser_usb_leaf: Fix overread with an invalid command
    5d1cb7bfad21 can: kvaser_usb: Fix use of uninitialized completion
    b239a0993aa2 usb: add quirks for Lenovo OneLink+ Dock
    afbbf305dbac iio: pressure: dps310: Reset chip after timeout
    9daadd1d1015 iio: pressure: dps310: Refactor startup procedure
    ae49d80400e6 iio: adc: ad7923: fix channel readings for some variants
    ea4dcd3d6acc iio: ltc2497: Fix reading conversion results
    30e1bd0d3e66 iio: dac: ad5593r: Fix i2c read protocol requirements
    9312e04b6c6b cifs: Fix the error length of VALIDATE_NEGOTIATE_INFO message
    64f23e5430d3 cifs: destage dirty pages before re-reading them for cache=none
    50d3d895375c mtd: rawnand: atmel: Unmap streaming DMA mappings
    e8eb44eeee59 ALSA: hda/realtek: Add Intel Reference SSID to support headset keys
    4491fbd0a79c ALSA: hda/realtek: Add quirk for ASUS GV601R laptop
    4285d06d1296 ALSA: hda/realtek: Correct pin configs for ASUS G533Z
    768cd2cd1ae6 ALSA: hda/realtek: remove ALC289_FIXUP_DUAL_SPK for Dell 5530
    3e29645fbaa6 ALSA: usb-audio: Fix NULL dererence at error path
    bc1d16d282bc ALSA: usb-audio: Fix potential memory leaks
    ef1658bc482c ALSA: rawmidi: Drop register_mutex in snd_rawmidi_free()
    026fcb6336d6 ALSA: oss: Fix potential deadlock at unregistration

(From OE-Core rev: c344ea005c7a17b945f91ee0753081d8e356cf21)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-06 17:33:23 +00:00
Yash.Shinde@windriver.com
47edd3bbdd binutils : Fix CVE-2022-4285
Upstream-Status: Backport [https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=5c831a3c7f3ca98d6aba1200353311e1a1f84c70]

(From OE-Core rev: 1f269e532a8fd463de2869be2768feb79ad36bd7)

Signed-off-by: Yash Shinde <Yash.Shinde@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-06 17:33:23 +00:00
Quentin Schulz
89732f25f2 cairo: update patch for CVE-2019-6461 with upstream solution
Upstream went with something slightly different so let's update the
patch so we don't have to carry a patch that isn't going to be merged.

This patch is part of snapshot 1.17.6.

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

Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 19eb1e388fbbe5bfb8462710c745f2bb5446b5b5)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-06 17:33:23 +00:00
Hitendra Prajapati
2d58f993c3 libX11: CVE-2022-3554 & CVE-2022-3555 Fix memory leak
Upstream-Status: Backport from 1d11822601 && 8a368d808f

(From OE-Core rev: b0e0cf44fb4f6e1cf562860766a2915ee8718f77)

Signed-off-by: Hitendra Prajapati <hprajapati@mvista.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-06 17:33:23 +00:00
Ranjitsinh Rathod
192cb88c17 curl: Add patch to fix CVE-2022-43552
Add patch to fix the security issue "curl can be asked to tunnel
virtually all protocols it supports through an HTTP proxy. HTTP proxies
can (and often do) deny such tunnel operations using an appropriate HTTP
error response code." as per below link
Link: https://curl.se/docs/CVE-2022-43552.html

(From OE-Core rev: a0db3ddf6f2efe733271ff7f6c68fda4d215b1bb)

Signed-off-by: Ranjitsinh Rathod <ranjitsinh.rathod@kpit.com>
Signed-off-by: Ranjitsinh Rathod <ranjitsinhrathod1991@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-06 17:33:23 +00:00
Ranjitsinh Rathod
b6879ce896 curl: Add patch to fix CVE-2022-43551
Add patch to fix the security issue "curl's HSTS check could be bypassed
to trick it to keep using HTTP. Using its HSTS support, curl can be
instructed to use HTTPS instead of using an insecure clear-text HTTP
step even when HTTP is provided in the URL." as per below link
Link: https://curl.se/docs/CVE-2022-43551.html

(From OE-Core rev: baa18f2cf107af7a5e1c7b7befad46e6c48f4222)

Signed-off-by: Ranjitsinh Rathod <ranjitsinh.rathod@kpit.com>
Signed-off-by: Ranjitsinh Rathod <ranjitsinhrathod1991@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-06 17:33:23 +00:00
Ranjitsinh Rathod
18da62e637 curl: Correct LICENSE from MIT-open-group to curl
LICENSE for curl is set to MIT-open-group which is wrong and proper
license is 'curl'

I check below link and the line "Curl and libcurl are licensed under
the license below, which is inspired by MIT/X, but not identical." says
that the license is identical to MIT but actual license is identical
from the file "meta/files/common-licenses/curl"
Link: https://curl.se/docs/copyright.html

Also, I do not find the MIT-open-group license text in the entire
source-code

(From OE-Core rev: 34b228bd3a80a74bf4d84ef7ee362f4ab1e3a466)

(From OE-Core rev: 95b5df5c9e0bdef55d0f977fb814f9de74363e68)

Signed-off-by: Ranjitsinh Rathod <ranjitsinh.rathod@kpit.com>
Signed-off-by: Ranjitsinh Rathod <ranjitsinhrathod1991@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 4a246e06cb)
Signed-off-by: Ranjitsinh Rathod <ranjitsinhrathod1991@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-06 17:33:23 +00:00
Vivek Kumbhar
bbe38cd637 sqlite: fix CVE-2022-46908 safe mode authorizer callback allows disallowed UDFs.
(From OE-Core rev: 18641988caa131436f75dd3c279ce5af3380481a)

Signed-off-by: Vivek Kumbhar <vkumbhar@mvista.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-06 17:33:23 +00:00
Marta Rybczynska
2f4691f403 efibootmgr: update compilation with musl
Since the commit 005b6aba89eaf1b79fdd7565dd028fdd9bbfcc7d
(efivar: add musl libc compatibility) efibootmgr compiles with
musl too. Update the variable to take that into account.

(From OE-Core rev: ada5e64a97d5f269886772540e0bb0c324088b21)

Signed-off-by: Marta Rybczynska <marta.rybczynska@linaro.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-23 23:05:50 +00:00
Richard Purdie
5c7103d6c7 yocto-check-layer: Allow OE-Core to be tested
For unknown reasons we've never seemingly run the check layer script
against OE-Core itself. This isn't entirely straightforward as the core
layer is a bit of a special case, we can't for example compare signatures
against ourselve and we can't remove core from bblayers.conf.

Core does have distro, machine and software components too, in the case
of distro, our fallback default settings. Whilst the qemu machines could
be split into a seperate layer directory, core wouldn't then parse at all
standalone due to the lack of any machine so it seems a bit pointless to
do that.

These changes tweak the script to handle core's special cases, specifically
to allow distro and machine directories and to account for the README placed
a directory level higher than other layers.

(From OE-Core rev: 2d0641df27196ad029d95c52fb790122b2db3f9f)

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>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-23 23:05:50 +00:00
Ross Burton
6e1c131b2f combo-layer: add sync-revs command
When starting to use combo-layer, or if someone else is using it too,
the local last_revision may be incorrect.

This command will forcibly update the last_revision config values to the
latest SHA on the remote branch that is tracked.

(From OE-Core rev: ba24231de6a3826558c9fcd403b075fc6772fffa)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 2bb5d12ecd1b0273983f7c05699f34dd64b11c25)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-23 23:05:50 +00:00
Ross Burton
3cdbb5cc24 combo-layer: dont use bb.utils.rename
Bitbake may not be configured, and bb isn't imported anyway.

Instead just use os.rename(), and take the filename from the file object
instead of duplicating logic.

(From OE-Core rev: 87543ed6550f7e78b3ddcfed0ef088bea932ba57)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 528f4fb3683d048537604e4562ea758968060d62)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-23 23:05:50 +00:00
Ross Burton
f86718661a combo-layer: remove unused import
(From OE-Core rev: 240c7dcad2f2e25efa269618c3bd6c549289207e)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit ebfab6c3034d41252d19c6e1a0ba79072aa51146)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-23 23:05:50 +00:00
Peter Marko
319ccc97b4 oeqa/selftest/externalsrc: add test for srctree_hash_files
(From OE-Core rev: c3647c6beb04426774e4d99f2442f460d6a6b42c)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 7b9728e5b8bdf1193c1304ec3beeca4b5bf8d2da)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-23 23:05:50 +00:00
Peter Marko
a11a62209e externalsrc: fix lookup for .gitmodules
Commit 0533edac27 broke
bitbake parsing when bitbake is executed from directory with existing .gitmodules
and the recipe in externalsrc does not have .gitmodules

The check needs to search for .gitmodules in sources path, not cwd.

iParsing recipes...ERROR: ExpansionError during parsing <path to recipe>
...
bb.data_smart.ExpansionError: Failure expanding variable do_compile[file-checksums], expression was ${@srctree_hash_files(d)} which triggered exception CalledProcessError: Command '['git', 'config', '--file', '.gitmodules', '--get-regexp', 'path']' returned non-zero exit status 1.

(From OE-Core rev: 1f3b39c4d6828940934a341e9f8b73214dc67fdf)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 66ff3d1f65cd2e7f5319e98fa41f47a59b714c72)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-23 23:05:50 +00:00
Ross Burton
b627db0656 lib/buildstats: fix parsing of trees with reduced_proc_pressure directories
The /proc/pressure support in buildstats is creating directories in the
buildstats tree called reduced_proc_pressure, which confuses the parsing
logic as that cannot be parsed as a name-epoc-version-revision tuple.

Explicitly skip this directory to solve the problem.

(From OE-Core rev: 96cf8b322f4cdec31175cc2c1082e9e3bc488118)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 24f0331f0b7e51161b1fa43d4592b491d2037fe9)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-23 23:05:50 +00:00
Chen Qi
445a2069cd rm_work: adjust dependency to make do_rm_work_all depend on do_rm_work
For now, if we use rm_work and `bitbake core-image-minimal', some
recipes' WORKDIRs are not cleaned up, e.g., makedevs-native.

Adjust the dependency to make do_rm_work_all depend on do_rm_work
to solve this problem.

Below are the detailed explanation of why this would work.

Without this patch, the dependency chain is like:
[other deps] -> [do_rm_work] -+-> [do_build]
                              |
[do_rm_work_all] -------------+

With this patch, the depedency chain is like:
[other deps] -> [do_rm_work] -> [do_rm_work_all] -> [do_build]

Such dependency chain adjustment fixes the issue because do_rm_work_all
now depends on [other deps] and thus the [depends] of these [other deps].
Take core-image-minimal as an example. Before this adjustment,
do_rm_work_all does not have any relationship with do_rootfs, and we have
do_rootfs[depends] += "makedevs-native:do_populate_sysroot ..."
This essentially prevents 'recrdeptask' setting of do_rm_work_all extend
to makedevs-native. With this patch, the do_rm_work_all now depends
on do_rm_work which in turn depends on do_rootfs, and so do_rm_work_all's
recrdeptask could have effect on makedevs-native.

With this patch, all built recipes WORKDIR will be cleaned up with
a few expected exceptions such as kernel and qemu-helper-native.

(From OE-Core rev: 2565fe40514ac17d0c97e847bb9ff0ab90410e53)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit b25cc45c9b39f79ba0a03c4556cb2e2431677b4e)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-23 23:05:50 +00:00
Alex Stewart
41dbb14cb9 lsof: add update-alternatives logic
Some distributions (NI LinuxRT) provide both busybox-lsof and
full-featured lsof implementations. When users install the full-featured
lsof package, the full-binary fails to replace the bbox-binary in PATH,
because `lsof` contains no update-alternatives logic.

Inherit the update-alternatives bbclass and assert that the
full-featured lsof package has higher priority than the busybox
implementation.

Co-Authored-By: Kyle Roeschley <kyle.roeschley@ni.com>
(From OE-Core rev: 750f4e17f63cf957076c13c53139ddaab1617597)

Signed-off-by: Alex Stewart <alex.stewart@ni.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit e2893fa692a6e91eee09fc04c8c03fe27c718a58)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-23 23:05:50 +00:00
Carlos Alberto Lopez Perez
13d7119cdf xwayland: libxshmfence is needed when dri3 is enabled
* The build error happens already at configure time:

| meson.build: ERROR: Problem encountered: DRI3 requested, but xshmfence not found

(From OE-Core rev: 7a27f91670d6978433ecab5d3ef694303d5da79e)

Signed-off-by: Carlos Alberto Lopez Perez <clopez@igalia.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 451fe4a067432b432b9cd38d2fc78072f6ce5421)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-23 23:05:50 +00:00
Chen Qi
2bed21abab bc: extend to nativesdk
bc is needed for compiling kernel modules, more specifially
whenr running `make scripts prepare'.

In linux-yocto.inc, we have bc-native in DEPENDS. But we will
need nativesdk-bc in case we compile a kernel module inside
SDK.

(From OE-Core rev: 713ebd37cb740ebd1f3f57d14f4448ded8a5fe3c)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 95b5c89066baccb1e64bfba7d9a66feeeb086da9)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-23 23:05:50 +00:00
Florin Diaconescu
c4bbc6d9c5 python3: upgrade 3.10.8 -> 3.10.9
Security and bug fixes.

Drop patch for CVE-2022-42919 and CVE-2022-37454 which were merged in 3.10.9

Fixes:
* CVE-2022-45061 (gh-98433)
  https://nvd.nist.gov/vuln/detail/CVE-2022-45061

List of changes:
https://docs.python.org/3.10/whatsnew/changelog.html#python-3-10-9-final

(From OE-Core rev: f98b9c71686eb5ce5115ee73155a7d0389831ef0)

Signed-off-by: Florin Diaconescu <florin.diaconescu009@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-23 23:05:50 +00:00
Wang Mingyu
f7133e57f8 libxcrypt-compat: upgrade 4.4.30 -> 4.4.33
Changelog:
==========
* Fix -Werror=sign-conversion in lib/alg-yescrypt-platform.c.
  With commit 894aee75433b4dc8d9724b126da6e79fa5f6814b we introduced some
  changes to huge page handling, that show this error when building with
  GCC v12.2.1, and thus need a small fix.

(From OE-Core rev: fbad6f482d2c3213eff12bda4020d14bbe4df288)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 6918477ad121f9c7335c661433a909e948f66d51)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-23 23:05:50 +00:00
Wang Mingyu
531d6fe602 mpfr: upgrade 4.1.0 -> 4.1.1
Changelog:
=========
- Bug fixes (see <https://www.mpfr.org/mpfr-4.1.0/#fixed> and/or the
  ChangeLog file), in particular for macros implementing functions.
- Improved manual formatting.

(From OE-Core rev: 9977278a12d6bc0b811077fa19c64b80e793a33d)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit f733eddc428cf9537f97cb91025b73dd1fdea932)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-23 23:05:50 +00:00
Wang Mingyu
c5cdf68773 bind: upgrade 9.18.8 -> 9.18.9
Changelog:
===========
  Fix a crash that could happen when you change
  a dnssec-policy zone with NSEC3 to start using
  inline-signing. [GL #3591]

  Don't trust a placeholder KEYDATA from the managed-keys
  zone by adding it into secroots. [GL #2895]

  Fixed a race condition that could cause a crash
  in dns_zone_synckeyzone(). [GL #3617]

  Don't enforce the jemalloc use on NetBSD. [GL #3634]

  Fix an inheritance bug when setting the port on
  remote servers in configuration. [GL #3627]

  Fix a resolver prefetch bug when the record's TTL value
  is equal to the configured prefetch eligibility value,
  but the record was erroneously not treated as eligible
  for prefetching. [GL #3603]

  Always call dns_adb_endudpfetch() after calling
  dns_adb_beginudpfetch() for UDP queries in resolver.c,
  in order to adjust back the quota. [GL #3598]

  Fix a startup issue on Solaris systems with many
  (reportedly > 510) CPUs. Thanks to Stacey Marshall from
  Oracle for deep investigation of the problem. [GL #3563]

  rpz-ip rules could be ineffective in some scenarios
  with CD=1 queries. [GL #3247]

  The RecursClients statistics counter could overflow
  in certain resolution scenarios. [GL #3584]

  Less ceremonial UNEXPECTED_ERROR() and FATAL_ERROR()
  reporting macros. [GL !6914]

  Fix a couple of bugs in cfg_print_duration(), which
  could result in generating incomplete duration values
  when printing the configuration using named-checkconf.
  [GL !6880]

  Refactor the isc_httpd implementation used in the
  statistics channel. [GL !6879]

(From OE-Core rev: 38219ac0617eac1969e4535a7dd22bf4c1fa1463)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit e57fe26b3f85ebfabdc8b574caa5c97602e4d771)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-23 23:05:49 +00:00
Mathieu Dubois-Briand
8c4aa01b45 dbus: Add missing CVE product name
(From OE-Core rev: 655fc82974478b5986dc58f898d818bba692c2c6)

Signed-off-by: Mathieu Dubois-Briand <mbriand@witekio.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 67b2db202834f1213bed3580badda2a67655ab7d)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-23 23:05:49 +00:00
Hitendra Prajapati
f930572051 libxml2: Fix CVE-2022-40303 && CVE-2022-40304
Upstream-Status: Backport from c846986356 && 1b41ec4e94

(From OE-Core rev: b46d0b7a599ee5d3009cca302ad5322d64eb94b9)

Signed-off-by: Hitendra Prajapati <hprajapati@mvista.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-23 23:05:49 +00:00
Hitendra Prajapati
a00404e18e golang: CVE-2022-41715 regexp/syntax: limit memory used by parsing regexps
Upstream-Status: Backport from e9017c2416

(From OE-Core rev: d5a533b86ce68b4c3cd2d3c3dd198c2897d37587)

Signed-off-by: Hitendra Prajapati <hprajapati@mvista.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-23 23:05:49 +00:00
Richard Purdie
c4e08719a7 build-appliance-image: Update to kirkstone head revision
(From OE-Core rev: 45a8b4101b14453aa3020d3f2b8a76b4dc0ae3f2)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-13 15:59:45 +00:00
Steve Sakoman
937f92f351 poky.conf: bump version for 4.0.6
(From meta-yocto rev: ff1102a164e83bfa4e9529f573e2f198c3cda3b5)

Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-13 15:23:34 +00:00
Ravula Adhitya Siddartha
704a3e1b01 linux-yocto/5.15: update genericx86* machines to v5.15.72
(From meta-yocto rev: de97d5fa277093f2f50e81fe241d537d3a112f81)

Signed-off-by: Ravula Adhitya Siddartha <adhityax.siddartha.ravula@intel.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-13 15:23:34 +00:00
Ravula Adhitya Siddartha
b8ba5491ac linux-yocto/5.10: update genericx86* machines to v5.10.149
(From meta-yocto rev: 745f65fd733a9e7bf4f22cd2efb44d156916f32b)

Signed-off-by: Ravula Adhitya Siddartha <adhityax.siddartha.ravula@intel.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-13 15:23:34 +00:00
Richard Purdie
91de6ea10f oeqa/selftest/tinfoil: Add test for separate config_data with recipe_parse_file()
We've seen two different regressions in this API since it is used by
layer-index but not be the core code. Add a test for it to try and
ensure we don't break it again.

(From OE-Core rev: 2816c63240f21b175461e535d88943fc6bcd0b52)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit b07de5de43ec9c9a2c5d496a64940ccdc5b47cf8)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-13 15:23:34 +00:00
Chen Qi
a0614c91a7 psplash: consider the situation of psplash not exist for systemd
In current psplash framework, the psplash might not exist at all.
For example, in case DSITRO is set to nodistro, the psplash does
not exist.

In our psplash recipe, we have:
SPLASH_IMAGES = "file://psplash-poky-img.h;outsuffix=default"
This variable is parsed to if psplash-poky-img.h exists, a package
named psplash-default is created and is added to RDEPENDS:${PN}.

We can see that the psplash-poky-img.h resides in meta-poky,
and in psplash_git.bbappend file in meta-poky, we have:
FILESEXTRAPATHS:prepend:poky := "${THISDIR}/files:"
So this file is only available in case poky distro is used.

To fix this issue, add condition check in the corresponding systemd
services.

(From OE-Core rev: c1d57880c786b3650f29afb89530941797e85560)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 7a62ff9ed39c179d2b9b0c40f4f8423ced413063)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-13 15:23:34 +00:00
Alexey Smirnov
55f6aabf11 classes: make TOOLCHAIN more permissive for kernel
Currently TOOLCHAIN is strictly set to gcc in kernel-arch.bbclass.
And this prevents any TOOLCHAIN changes for any kernel recipe.
This change makes TOOLCHAIN configurable as usual.

(From OE-Core rev: 0fd2cd0b1f28e9c829efc105f70611a4eafd4f31)

Signed-off-by: Alexey Smirnov <pyih.soft@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit be1634fc35dcc81f0301d942064a6eed584e0704)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-13 15:23:34 +00:00
Joshua Watt
02f81ae7c5 scripts: convert-overrides: Allow command-line customizations
Adds argument parsing to the conversion script so that the fields that
the script uses to do conversions can be customized on the command line.
The intention is to allows easier customization without having to fork
the script, and allow automated checking on 3rd party layers via CI
without false positives

(From OE-Core rev: b4afe3c1aaf5e8296e410ef01960f48a09dd717c)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit b9551f9180bf9f13fb1c480b5b7892fdc831ffcd)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-13 15:23:34 +00:00
Qiu, Zheng
8351b9ed2f valgrind: remove most hidden tests for arm64
An earlier version of valgrind fixed the defunct processes bug, so those
tests that were skipped specifically for arm can pass now in master,
kirkstone, honister, hardknott, and dunfell.

Detailed test result with remove-for-aarch64 skipped on qemuarm64:

    Commit           Pass   Fail    Skip
    master           624    9       21
    kirkstone        618    10      20
    honister         616    10      19
    hardknott        609    13      18
    dunfell          598    16      17
    zeus             Out of memory: Killed (with many defunct processes)

There are now only 12 skipped by remove-for-aarch64 because 9 fail on
qemuarm64 and 3 more fail on raspberry pi. These are tracked by:
    https://bugzilla.yoctoproject.org/show_bug.cgi?id=14960

(From OE-Core rev: 1101e877d818144ac64bab3d50364a1343c09d16)

Signed-off-by: Zheng Qiu <zheng.qiu@windriver.com>
Signed-off-by: Randy MacLeod <randy.macleod@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit cbeb9418c43ec834868aa65b774dc09e983d26d9)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-13 15:23:34 +00:00
Harald Seiler
c8835a70d1 opkg: Set correct info_dir and status_file in opkg.conf
Distros can customize the location of OPKG data using OPKGLIBDIR.  In
OE-Core commit 11f1956cf5d7 ("package_manager.py: define info_dir and
status_file when OPKGLIBDIR isn't the default"), a fix was applied to
correctly set the info_dir and status_file options relative to
OPKGLIBDIR.

However, as the commit message notes, the opkg.conf file deployed as
part of the opkg package must also be adjusted to correctly reflect the
changed location.  Otherwise, opkg running inside the image cannot find
its data.

Fix this by also setting the info_dir and status_file options in
opkg.conf to the correct location relative to OPKGLIBDIR.

Fixes: 11f1956cf5d7 ("package_manager.py: define info_dir and status_file when OPKGLIBDIR isn't the default")
(From OE-Core rev: 658c9901be38a322770f3445ba2bc2fa01dc0aab)

Signed-off-by: Harald Seiler <hws@denx.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit adb939ae3635de6e02208859fbf29cf0ed39f565)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-13 15:23:34 +00:00
Joe Slater
eea9ca003f python3: advance to version 3.10.8
Fixes CVE-2022-37460.  Also add patch to fix CVE-2022-37454.

(From OE-Core rev: b446dd69b79783ea232514e1c5212595ec28e553)

Signed-off-by: Joe Slater <joe.slater@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-13 15:23:34 +00:00
Qiu, Zheng
d513c3043b vim: upgrade 9.0.0820 -> 9.0.0947
Includes fixes for CVE-2022-4141
https://nvd.nist.gov/vuln/detail/CVE-2022-4141

For a short list of important changes, see:
https://www.arp242.net/vimlog/

(From OE-Core rev: a7abc8754ab5fbefa23fc17571d272a77dcd2421)

Signed-off-by: Zheng Qiu <zheng.qiu@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 160f459febc7fb36cc0fe85c63eb26780ace3bfd)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-13 15:23:34 +00:00
Xiangyu Chen
0a773d5592 grub: backport patches to fix CVE-2022-28736
(From OE-Core rev: 01be69264e4bf66cd1cb5acf949263d955171fc4)

Signed-off-by: Xiangyu Chen <xiangyu.chen@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-13 15:23:34 +00:00
Xiangyu Chen
887faedb16 sysstat: fix CVE-2022-39377
(From OE-Core rev: caf40fd28424aa583c18f9235d6d28651cc419b9)

Signed-off-by: Xiangyu Chen <xiangyu.chen@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-13 15:23:34 +00:00
Hitendra Prajapati
873eb777a0 libarchive: CVE-2022-36227 NULL pointer dereference in archive_write.c
Upstream-Status: Backport from bff38efe8c

(From OE-Core rev: e723e791b4faa3d5c755b4669b0901ebd0c368c9)

Signed-off-by: Hitendra Prajapati <hprajapati@mvista.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-13 15:23:34 +00:00
Ross Burton
39c76401c0 xserver-xorg: backport fixes for CVE-2022-3550 and CVE-2022-3551
(From OE-Core rev: e40a8d939535bbb2f89aabd48c1cf843be5bb564)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit e32401d8bf44afcca88af7e4c5948d2c28e1813f)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-13 15:23:34 +00:00
Pavel Zhukov
ca83262bdd bitbake: gitsm: Fix regression in gitsm submodule path parsing
Commit 0361ecf7eb82c386a9842cf1f3cb706c0a112e77 introduced regression
in submodules path parsing. As the result gitsm fetcher fails on each
submodule which name begins from the name of the parent repo which is
totally valid usecase [Yocto #14045] [1]
Fix the code to error out only if submodule's name is equal to parent
name but not if it's part of it.

[1] https://bugzilla.yoctoproject.org/show_bug.cgi?id=14045#c4

(Bitbake rev: 7e268c107bb0240d583d2c34e24a71e373382509)

Signed-off-by: Pavel Zhukov <pavel@zhukoff.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 3ad27272c18f2bb9edd441f840167a3dabd5407b)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-09 13:02:50 +00:00
Michael Opdenacker
c883909950 SPDX and CVE documentation updates
Backporting from master the ones that are applicable to kirkstone.

(From yocto-docs rev: c10d65ef3bbdf4fe3abc03e3aef3d4ca8c2ad87f)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-07 15:04:15 +00:00
Tim Orling
be95d5f93a mirrors.bbclass: update CPAN_MIRROR
Both of these redirect to https://cpan.metacpan.org/:
http://cpan.metacpan.org/
http://search.cpan.org/CPAN/

(From OE-Core rev: c0f3da88a9646fc5e6d549b1a2327c0823c0e5a1)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit f1b74fc09f70d52d9ac629b04d81aa94fd97ff40)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-07 15:02:45 +00:00
Chen Qi
b23ea642aa dhcpcd: fix to work with systemd
Currently, dhcpcd does not work well with systemd. When using dhcpcd
to configure network, the /etc/resolv.conf contents are not correct.
This issue could easily be reproduced by using 'qemu + slirp' to
start a systemd based image and using dhcpcd to configure network.
The expected 'nameserver 10.0.2.3' is not in /etc/resolv.conf.

The root cause of this problem is that dhcpcd assumes the resolvconf
should recognize .protocol suffix[1]. But systemd's resolvconf (which
is a symlink to resolvectl) has a limited support for traditional
resolvconf interface[2], and "may not work with all clients"[3]. This
of cource includes the clients that use the .protocol suffix.

The current situation is:
1. systemd is not going to support the .protocol suffix in the foreseeable
   near future[4].
2. dhcpcd does not want to merge systemd specific patch and insists
   systemd needs to consider the .protocol suffix[5][6].

It's a normal thing that people have different opinions. As a build system
that supports such combination, however, we do need to come up with a
solution to fix this typical integration problem, making dhcpcd and systemd
work together.

This patch solves this integration problem by relying on dhcpcd's ability
to manage its own resolv.conf contents. But instead of letting it to write
to /etc/resolv.conf directly, we supply the generated contents to resolvconf.
In this way, the resolvconf still stands in the central place and dhcpcd remains
a supplier to it. And the /etc/resolv.conf can get the correct contents.
With this patch, dhcpcd could work with both sysvinit and systemd.

[1] https://man.archlinux.org/man/resolvconf.8.en
[2] https://man.archlinux.org/man/resolvectl.1#COMPATIBILITY_WITH_RESOLVCONF(8)
[3] https://wiki.archlinux.org/title/systemd-resolved
[4] https://github.com/systemd/systemd/issues/25032
[5] https://github.com/NetworkConfiguration/dhcpcd/pull/152
[6] https://github.com/NetworkConfiguration/dhcpcd/issues/146

(From OE-Core rev: 26c1338f5ad73488d80cdb97ae2efbf0652ee1ac)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 935ae419f51d911c73f5dc7b4a2e5e9a7b206985)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-07 15:02:45 +00:00
Chen Qi
617cbccdc2 resolvconf: make it work
The current resolvconf does not work. Make it work with the
following changes.
1. Install normalize-resolvconf, which is used by resolvconf.
2. Add dependencies: sed, util-linux-flock.
   util-linux-flock is needed by our busybox does not support '-w'
   by default. sed is needed because we want to avoid package
   QA issue complaining sed is needed by no one provides it.
3. Add a patch to replace 'readlink -m' with 'readlink -l'.
   This could avoid the runtime dependency on coreutils. The replacement
   is safe as /etc always exits in OE's system.
4. Remove allarch inheritage. This is because the above RDEPENDS
   change does not allow this any more. test_sstate_allarch_samesigs
   would fail if we don't do this.

(From OE-Core rev: 66d85b2d841e6d3281f47ef9a39aa5483aad35d0)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 1b0581fd241cc9de2feda896aefbf055dc0099dc)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-07 15:02:45 +00:00
Enrico Jörns
f8880f548e sstatesig: emit more helpful error message when not finding sstate manifest
Since oe-core commit 64b89f3c8fc31842256c482a3039d90d3f12c1cc
("sstatesig.py: make it fatal error when sstate manifest isn't found")
errors like:

| Manifest [..]/tmp/sstate-control/manifest-x86_64_x86_64-nativesdk-dbus.populate_sysroot not found in imx8mm_dummy cortexa53-mx8mm cortexa53 armv8a-crc armv8a aarch64 allarch x86_64_x86_64-nativesdk (variant '')?

are fatal now and cannot be ignored but must be debugged.

Unfortunately, the currently emitted error message is a bit imprecise
with telling the reader what has actually gone wrong.

This commit:

* adds the word 'sstate' to the error message to clarify the scope we
  are dealing with ('sstate manifests', since there are other manifests,
  too)
* does not randomly print the last manifest file searched for as THE
  manifest file that could not be found
  Instead, we print the name of the task the sstate was searched for
* adds the word 'multilib' to variant to make clear which variant we are
  talking about
* adds a separate line noting the searched pkgarchs and adds explicitly
  mentions this word ('pkgarchs')
* prints a list of ALL manifest file locations attempted
* removes the '?' at the end of the message since such errors indeed
  leave the question of what is the cause but the error message itself
  is more like a statement.

The result for the exact same issue as noted above then looks as
follows:

| The sstate manifest for task 'dbus:populate_sysroot' (multilib variant '') could not be found.
| The pkgarchs considered were: imx8mm_dummy, cortexa53-mx8mm, cortexa53, armv8a-crc, armv8a, aarch64, allarch, x86_64_x86_64-nativesdk.
| But none of these manifests exists:
|     [..]/tmp/sstate-control/manifest-imx8mm_dummy-dbus.populate_sysroot
|     [..]/tmp/sstate-control/manifest-cortexa53-mx8mm-dbus.populate_sysroot
|     [..]/tmp/sstate-control/manifest-cortexa53-dbus.populate_sysroot
|     [..]/tmp/sstate-control/manifest-armv8a-crc-dbus.populate_sysroot
|     [..]/tmp/sstate-control/manifest-armv8a-dbus.populate_sysroot
|     [..]/tmp/sstate-control/manifest-aarch64-dbus.populate_sysroot
|     [..]/tmp/sstate-control/manifest-allarch-dbus.populate_sysroot
|     [..]/tmp/sstate-control/manifest-x86_64_x86_64-nativesdk-dbus.populate_sysroot

(From OE-Core rev: cb4ad96a5d71c0a7e7a24fe12f12c2fbe06ae119)

Signed-off-by: Enrico Jorns <ejo@pengutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 735ec126ec219c7cb89cb05b0e433201bb7f59eb)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-07 15:02:45 +00:00
Dmitry Baryshkov
413ccb91b6 linux-firmware: add new fw file to ${PN}-qcom-adreno-a530
Extend the linux-firmware-qcom-adreno-a530 package with the squashed
Adreno 530 zap shader.

(From OE-Core rev: 6c477dffa8c83418d6e5c9635370e37d512885c3)

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 920bf119f35824a3531801f5e41158a8ad1bca4c)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-07 15:02:45 +00:00
Dmitry Baryshkov
343373b112 linux-firmware: upgrade 20221012 -> 20221109
License-Update: additional files
(From OE-Core rev: ce3381ea0db213b4bf13d2593d3d0ed7a7219f4d)

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 6940f297243a66bd58d6adee7d690bcee9b9ccb2)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-07 15:02:45 +00:00
Chen Qi
3dd024f384 kernel.bbclass: make KERNEL_DEBUG_TIMESTAMPS work at rebuild
Currently, the KERNEL_DEBUG_TIMESTAMPS is not working as expected
at rebuild. That is, even if we set it to "1", the kernel build time
is not changed. The problem could be reproduced by the following steps.
  1. bitbake core-image-minimal; start image and check `uname -a` output.
  2. set in local.conf: KERNEL_DEBUG_TIMESTAMPS = "1"
  3. bitbake core-image-minimal; start image and check `uname -a` output.

It's expected that after enabling KERNEL_DEBUG_TIMESTAMPS, the kernel
build time will be set to current date. But it's not. This is because
the compile.h was not re-generated when do_compile task was re-executed.

In mkcompile_h, we have:
"""
 # Only replace the real compile.h if the new one is different,
 # in order to preserve the timestamp and avoid unnecessary
 # recompilations.
 # We don't consider the file changed if only the date/time changed,
 # unless KBUILD_BUILD_TIMESTAMP was explicitly set (e.g. for
 # reproducible builds with that value referring to a commit timestamp).
 # A kernel config change will increase the generation number, thus
 # causing compile.h to be updated (including date/time) due to the
 # changed comment in the
 # first line.
"""
It has made it very clear that it will not be re-generated unless
we have KBUILD_BUILD_TIMESTAMP set explicitly. So we set this variable
explicitly in do_compile to fix this issue.

(From OE-Core rev: 640ac18b2daed698adbf849a5aef55f5de9e5db5)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 1b68c2d2d385013a1c535ef81172494302a36d74)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-07 15:02:45 +00:00
Bruce Ashfield
a1e6d60633 kern-tools: integrate ZFS speedup patch
Bumping the SRCREV to integrat the following kern-tools change:

   commit 2d01f24bc78256c709728eb3f204491bce13e0e5
   Author: Volodymyr Babchuk <Volodymyr_Babchuk@epam.com>
   Date:   Fri Nov 4 23:32:38 2022 +0000

       kconf_check: store some files in tmpdir

       Some file systems, like ZFS, are very slow at appending to existing
       files. Due to Copy-On-Write nature, they create a new copy of a file
       each time we do ">>" in a shell script. This becomes very noticeable
       if shell script does lots and lots of appends, like sanitize_fragment()
       function in kconf_check. On my setup, do_kernel_configcheck task takes
       literally hours to complete.

       To fix this issue, we can store sanitized_list and fragment_errors.txt
       files on tmpfs, which is extremely fast at writing. As most distros
       use tmpfs for /tmp, logical step is to use `mktemp` to create
       temporary files.

       After completing writing to temporary locations, we can move those two
       files back to ${LOGDIR}.

       Also, function 'cleanup' was added to remove temporary files in case
       of abnormal exit.

       With this patch, do_kernel_configcheck task completes in ~2 minutes on
       my setup, which is a great improvement.

       Signed-off-by: Volodymyr Babchuk <volodymyr_babchuk@epam.com>

(From OE-Core rev: a592314318509e6367a7625caf88837480570fcd)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 9d50e2606eb66019044ee176f355a84a65a1499c)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-07 15:02:45 +00:00
Bruce Ashfield
d127f9bb46 linux-yocto/5.15: fix CONFIG_CRYPTO_CCM mismatch warnings
Integrating the following commit(s) to linux-yocto/.:

    f475b1a9ded qat: fix CONFIG_CRYPTO_CCM mismatch warnings

(From OE-Core rev: 8d06b6b13051e85250bf480ea6e3c0201b28330e)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit a3417ce85e38d514c7dc43c2ddcdacf45996fc2a)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-07 15:02:45 +00:00
Bruce Ashfield
318af72088 linux-yocto/5.15: update to v5.15.78
Updating  to the latest korg -stable release that comprises
the following commits:

    509a32764e1a Linux 5.15.78
    7038af4ce951 wifi: brcmfmac: Fix potential buffer overflow in brcmf_fweh_event_worker()
    b66617cc3c2f drm/i915/sdvo: Setup DDC fully before output init
    73d52322c4af drm/i915/sdvo: Filter out invalid outputs more sensibly
    2219b6aad345 drm/rockchip: dsi: Force synchronous probe
    dd955eb4e616 drm/rockchip: dsi: Clean up 'usage_mode' when failing to attach
    cfa8a89af9f2 cifs: fix regression in very old smb1 mounts
    3189de0ac310 ext4,f2fs: fix readahead of verity data
    a663e6ab17a2 tee: Fix tee_shm_register() for kernel TEE drivers
    d46db722a0af KVM: x86: emulator: update the emulation mode after CR0 write
    942aec252b23 KVM: x86: emulator: update the emulation mode after rsm
    9df4bb7b3863 KVM: x86: emulator: introduce emulator_recalc_and_set_mode
    311f1e51a290 KVM: x86: emulator: em_sysexit should update ctxt->mode
    37a03de2d0c5 KVM: arm64: Fix bad dereference on MTE-enabled systems
    167dca5e210b KVM: VMX: fully disable SGX if SECONDARY_EXEC_ENCLS_EXITING unavailable
    19c2b2ffbeec KVM: x86: Mask off reserved bits in CPUID.8000001FH
    553fd40d3bf7 KVM: x86: Mask off reserved bits in CPUID.80000001H
    006366b96c16 KVM: x86: Mask off reserved bits in CPUID.80000008H
    fc796fd861fa KVM: x86: Mask off reserved bits in CPUID.8000001AH
    ef7716398a78 KVM: x86: Mask off reserved bits in CPUID.80000006H
    a88998446b6d x86/syscall: Include asm/ptrace.h in syscall_wrapper header
    999cff2b6ce3 ext4: fix BUG_ON() when directory entry has invalid rec_len
    0a43c015e981 ext4: fix warning in 'ext4_da_release_space'
    ada82803a773 parisc: Avoid printing the hardware path twice
    081ff43a7786 parisc: Export iosapic_serial_irq() symbol for serial port driver
    5daf985dd0f3 parisc: Make 8250_gsc driver dependend on CONFIG_PARISC
    425fe99771bf perf/x86/intel: Fix pebs event constraints for SPR
    4613a450172e perf/x86/intel: Add Cooper Lake stepping to isolation_ucodes[]
    7de3fe6a1354 perf/x86/intel: Fix pebs event constraints for ICL
    71d6c33fe223 arm64: entry: avoid kprobe recursion
    52be536155f5 efi: random: Use 'ACPI reclaim' memory for random seed
    83b5ec7ee82d efi: random: reduce seed size to 32 bytes
    0417f70b8588 fuse: add file_modified() to fallocate
    2de8eec8afb7 capabilities: fix potential memleak on error path from vfs_getxattr_alloc()
    bd07f8067b35 tracing/histogram: Update document for KEYS_MAX size
    27b4406f9c35 tools/nolibc/string: Fix memcmp() implementation
    b5074df412bf ring-buffer: Check for NULL cpu_buffer in ring_buffer_wake_waiters()
    85f3caa95579 kprobe: reverse kp->flags when arm_kprobe failed
    d1b6a8e3414a tracing: kprobe: Fix memory leak in test_gen_kprobe/kretprobe_cmd()
    828577e0baaf tcp/udp: Make early_demux back namespacified.
    88561a66777e ftrace: Fix use-after-free for dynamic ftrace_ops
    450d7480705e btrfs: fix type of parameter generation in btrfs_get_dentry
    007058eb8292 btrfs: fix tree mod log mishandling of reallocated nodes
    336fdd295c14 btrfs: fix lost file sync on direct IO write with nowait and dsync iocb
    cff805b1518f fscrypt: fix keyring memory leak on mount failure
    e6f4fd85ef1e fscrypt: stop using keyrings subsystem for fscrypt_master_key
    3975affcf55f af_unix: Fix memory leaks of the whole sk due to OOB skb.
    4302806dbfea block, bfq: protect 'bfqd->queued' by 'bfqd->lock'
    3e4697ffdfbb Bluetooth: L2CAP: Fix attempting to access uninitialized memory
    81035e1201e2 Bluetooth: L2CAP: Fix accepting connection request for invalid SPSM
    d78ccdce662e i2c: piix4: Fix adapter not be removed in piix4_remove()
    c76ff8ae113f arm64: dts: juno: Add thermal critical trip points
    7398435e616d firmware: arm_scmi: Fix devres allocation device in virtio transport
    3653cdc21b9e firmware: arm_scmi: Make Rx chan_setup fail on memory errors
    e514d67b2364 firmware: arm_scmi: Suppress the driver's bind attributes
    4e68c5da60cd block: Fix possible memory leak for rq_wb on add_disk failure
    bf822b6980a6 arm64: dts: ls208xa: specify clock frequencies for the MDIO controllers
    f2329886e567 arm64: dts: ls1088a: specify clock frequencies for the MDIO controllers
    33fcc55dbc5b arm64: dts: lx2160a: specify clock frequencies for the MDIO controllers
    f3429a1e4924 arm64: dts: imx8: correct clock order
    de2a83186ad3 ARM: dts: imx6qdl-gw59{10,13}: fix user pushbutton GPIO offset
    cb9ce8910a6f clk: qcom: Update the force mem core bit for GPU clocks
    bdc118249698 efi/tpm: Pass correct address to memblock_reserve
    3a4d6f165eac i2c: xiic: Add platform module alias
    62eea4014a9b drm/amdgpu: set vm_update_mode=0 as default for Sienna Cichlid in SRIOV case
    7a2547cac2e0 HID: saitek: add madcatz variant of MMO7 mouse device ID
    931c97a54cd1 scsi: core: Restrict legal sdev_state transitions via sysfs
    c50ec15725e0 ACPI: APEI: Fix integer overflow in ghes_estatus_pool_init()
    8ecd1db58b7a media: v4l: subdev: Fail graciously when getting try data for NULL state
    f96ad391d054 media: meson: vdec: fix possible refcount leak in vdec_probe()
    8b785cdcd3cb media: dvb-frontends/drxk: initialize err to 0
    73dfb6421338 media: cros-ec-cec: limit msg.len to CEC_MAX_MSG_SIZE
    cbfa26936f31 media: s5p_cec: limit msg.len to CEC_MAX_MSG_SIZE
    647c12c47ee0 media: rkisp1: Zero v4l2_subdev_format fields in when validating links
    abbeb8f7271b media: rkisp1: Use correct macro for gradient registers
    03b30e5a369d media: rkisp1: Initialize color space on resizer sink and source pads
    d58b6b665c88 media: rkisp1: Don't pass the quantization to rkisp1_csm_config()
    0e501fd0f38e s390/cio: fix out-of-bounds access on cio_ignore free
    c65cc569370c s390/cio: derive cdev information only for IO-subchannels
    c64be93f1e51 s390/boot: add secure boot trailer
    1cdaca8f00a7 s390/uaccess: add missing EX_TABLE entries to __clear_user()
    509cbbdec9d7 mtd: parsers: bcm47xxpart: Fix halfblock reads
    5b8797e9dbf7 mtd: parsers: bcm47xxpart: print correct offset on read error
    2f07635876bd fbdev: stifb: Fall back to cfb_fillrect() on 32-bit HCRX cards
    154934c74f97 video/fbdev/stifb: Implement the stifb_fillrect() function
    b524b41806e9 drm/msm/hdmi: fix IRQ lifetime
    c55dd6200131 drm/msm/hdmi: Remove spurious IRQF_ONESHOT flag
    d153d468c43d vsock: fix possible infinite sleep in vsock_connectible_wait_data()
    0ed71af4d017 ipv6: fix WARNING in ip6_route_net_exit_late()
    2b45d6d0c41c net, neigh: Fix null-ptr-deref in neigh_table_clear()
    61defd6450a9 net/smc: Fix possible leaked pernet namespace in smc_init()
    de889774273f stmmac: dwmac-loongson: fix invalid mdio_node
    535b78739ae7 ibmvnic: Free rwi on reset success
    985a88bf0b27 net: mdio: fix undefined behavior in bit shift for __mdiobus_register
    aa16cac06b75 Bluetooth: L2CAP: Fix memory leak in vhci_write
    a3a7b2ac64de Bluetooth: L2CAP: fix use-after-free in l2cap_conn_del()
    cf2719a21fdb Bluetooth: virtio_bt: Use skb_put to set length
    8278a87bb1ee Bluetooth: L2CAP: Fix use-after-free caused by l2cap_reassemble_sdu
    42d20d5e2457 netfilter: ipset: enforce documented limit to prevent allocating huge memory
    f46ea5fa3320 btrfs: fix ulist leaks in error paths of qgroup self tests
    222a3d533027 btrfs: fix inode list leak during backref walking at find_parent_nodes()
    6ba3479f9e96 btrfs: fix inode list leak during backref walking at resolve_indirect_refs()
    a80634f392af isdn: mISDN: netjet: fix wrong check of device registration
    029d5b7688a2 mISDN: fix possible memory leak in mISDN_register_device()
    3e2129c67dac rose: Fix NULL pointer dereference in rose_send_frame()
    06d7596d1872 ipvs: fix WARNING in ip_vs_app_net_cleanup()
    5ee2d6b726b0 ipvs: fix WARNING in __ip_vs_cleanup_batch()
    33e7783bc07e ipvs: use explicitly signed chars
    6044791b7be7 netfilter: nf_tables: release flow rule object from commit path
    1ffe7100411a netfilter: nf_tables: netlink notifier might race to release objects
    dcc79cf735b8 net: tun: fix bugs for oversize packet when napi frags enabled
    fc4b50adb400 net: sched: Fix use after free in red_enqueue()
    ab80025ea7ac ata: pata_legacy: fix pdc20230_set_piomode()
    dede9ba02705 net: fec: fix improper use of NETDEV_TX_BUSY
    5dfdac5e3f8d nfc: nfcmrvl: Fix potential memory leak in nfcmrvl_i2c_nci_send()
    7486f5c90078 nfc: s3fwrn5: Fix potential memory leak in s3fwrn5_nci_send()
    3cba1f061bfe nfc: nxp-nci: Fix potential memory leak in nxp_nci_send()
    44bc1868a4f5 nfc: fdp: Fix potential memory leak in fdp_nci_send()
    4bef9a89f2f5 net: dsa: fall back to default tagger if we can't load the one from DT
    06f9e0b37f7e RDMA/qedr: clean up work queue on failure in qedr_alloc_resources()
    6b3d5dcb1234 RDMA/core: Fix null-ptr-deref in ib_core_cleanup()
    9f555b1584fc net: dsa: Fix possible memory leaks in dsa_loop_init()
    24641993a7dc nfs4: Fix kmemleak when allocate slot failed
    0797c85433cc NFSv4.2: Fixup CLONE dest file size for zero-length count
    d59722d088a9 SUNRPC: Fix null-ptr-deref when xps sysfs alloc failed
    dea7ef05deea NFSv4.1: We must always send RECLAIM_COMPLETE after a reboot
    7b1c2458dec1 NFSv4.1: Handle RECLAIM_COMPLETE trunking errors
    4ec017e30089 NFSv4: Fix a potential state reclaim deadlock
    e3e53c5af563 RDMA/hns: Disable local invalidate operation
    85ab79ac9413 RDMA/hns: Use hr_reg_xxx() instead of remaining roce_set_xxx()
    be16cc7abdae RDMA/hns: Remove magic number
    ba95409d6b58 IB/hfi1: Correctly move list in sc_disable()
    484d9690370e RDMA/cma: Use output interface for net_dev check
    f7d9de8a0d33 KVM: x86: Add compat handler for KVM_X86_SET_MSR_FILTER
    b7b66f13ac09 KVM: x86: Copy filter arg outside kvm_vm_ioctl_set_msr_filter()
    0c60fa7f5518 KVM: x86: Protect the unused bits in MSR exiting flags
    ad8e4868dd16 HID: playstation: add initial DualSense Edge controller support
    3a44ae4afaa5 mm/hugetlb: fix races when looking up a CONT-PTE/PMD size hugetlb page
    8576d7edeaa5 drm/amd/display: explicitly disable psr_feature_enable appropriately
    058b3a11f748 KVM: x86: Treat #DBs from the emulator as fault-like (code and DR7.GD=1)
    9ee32892c767 KVM: x86: Trace re-injected exceptions
    0c9c1306d6bd serial: ar933x: Deassert Transmit Enable on ->rs485_config()
    21d65b351691 scsi: lpfc: Rework MIB Rx Monitor debug info logic
    d70705e131d6 scsi: lpfc: Adjust CMF total bytes and rxmonitor
    9ebc6e8ad13b scsi: lpfc: Adjust bytes received vales during cmf timer interval
    793d8378b74a Linux 5.15.77
    1401e9336beb tcp/udp: Fix memory leak in ipv6_renew_options().
    b079d3775237 serial: Deassert Transmit Enable on probe in driver-specific way
    63f75fea3a72 serial: core: move RS485 configuration tasks from drivers into core
    0753069d4431 can: rcar_canfd: rcar_canfd_handle_global_receive(): fix IRQ storm on global FIFO receive
    17ff99e2240c can: rcar_canfd: fix channel specific IRQ handling for RZ/G2L
    aad798a0b39c scsi: sd: Revert "scsi: sd: Remove a local variable"
    52c2329147cf arm64: Add AMPERE1 to the Spectre-BHB affected list
    5397ea6a08a5 net: enetc: survive memory pressure without crashing
    885a454e97c4 kcm: do not sense pfmemalloc status in kcm_sendpage()
    92b4c5c3fa81 net: do not sense pfmemalloc status in skb_append_pagefrags()
    ae1b08592edf net/mlx5: Fix crash during sync firmware reset
    37ada47d019b net/mlx5: Update fw fatal reporter state on PCI handlers successful recover
    9e6523d06a09 net/mlx5: Print more info on pci error handlers
    ab3de780c176 net/mlx5: Fix possible use-after-free in async command interface
    8bbff203e306 net/mlx5e: Extend SKB room check to include PTP-SQ
    ee1c0ca1af7c net/mlx5e: Do not increment ESN when updating IPsec ESN state
    eefa97a7a001 netdevsim: remove dir in nsim_dev_debugfs_init() when creating ports dir failed
    c9589e18a60c net: broadcom: bcm4908_enet: update TX stats after actual transmission
    9711616a4908 net: broadcom: bcm4908enet: remove redundant variable bytes
    b317d53680b1 nh: fix scope used to find saddr when adding non gw nh
    2ad284ac8866 net: bcmsysport: Indicate MAC is in charge of PHY PM
    d1cfa71d5b68 net: ehea: fix possible memory leak in ehea_register_port()
    588bdd7ee48f openvswitch: switch from WARN to pr_warn
    9a1c1df9255b ALSA: aoa: Fix I2S device accounting
    e81d7826b8f4 ALSA: aoa: i2sbus: fix possible memory leak in i2sbus_add_dev()
    77a754fcfec1 net: ethernet: ave: Fix MAC to be in charge of PHY PM
    bc2518ec710e net: fec: limit register access on i.MX6UL
    f710deeea73a perf vendor events arm64: Fix incorrect Hisi hip08 L3 metrics
    eb59cb2fabd4 PM: domains: Fix handling of unavailable/disabled idle states
    bde7c2acef30 net: ksz884x: fix missing pci_disable_device() on error in pcidev_init()
    8927d90d56e4 i40e: Fix flow-type by setting GL_HASH_INSET registers
    c39de3ae5075 i40e: Fix VF hang when reset is triggered on another VF
    250bf8ab78f7 i40e: Fix ethtool rx-flow-hash setting for X722
    ad3f1d9bf162 ipv6: ensure sane device mtu in tunnels
    e2ec5bb78ca8 perf vendor events power10: Fix hv-24x7 metric events
    f9df388ed6ea media: vivid: set num_in/outputs to 0 if not supported
    4cc7d8d42047 media: videodev2.h: V4L2_DV_BT_BLANKING_HEIGHT should check 'interlaced'
    491c0959f01d media: v4l2-dv-timings: add sanity checks for blanking values
    0f83edbe4fe9 media: vivid: dev->bitmap_cap wasn't freed in all cases
    5b1fb2a28d0a media: vivid: s_fbuf: add more sanity checks
    3436e5633776 PM: hibernate: Allow hybrid sleep to work with s2idle
    3cc8c4088fae can: mcp251x: mcp251x_can_probe(): add missing unregister_candev() in error path
    a3e09eff32d8 can: mscan: mpc5xxx: mpc5xxx_can_probe(): add missing put_clock() in error path
    304a10161696 drm/amdkfd: Fix memory leak in kfd_mem_dmamap_userptr()
    2fe6b24ce299 net-memcg: avoid stalls when under memory pressure
    9b171fdcbf0e tcp: fix indefinite deferral of RTO with SACK reneging
    a85d39f14aa8 tcp: fix a signed-integer-overflow bug in tcp_add_backlog()
    2437f3c5c6a6 tcp: minor optimization in tcp_add_backlog()
    ef27df75912d net: lantiq_etop: don't free skb when returning NETDEV_TX_BUSY
    a1e18acb0246 net: fix UAF issue in nfqnl_nf_hook_drop() when ops_init() failed
    62086d1c4602 kcm: annotate data-races around kcm->rx_wait
    342d918cf9a4 kcm: annotate data-races around kcm->rx_psock
    6bb23225bb70 atlantic: fix deadlock at aq_nic_stop
    4e2cbc1f0e18 drm/i915/dp: Reset frl trained flag before restarting FRL training
    3d92ab0865f1 amd-xgbe: add the bit rate quirk for Molex cables
    75a6d1ebf8b7 amd-xgbe: fix the SFP compliance codes check for DAC cables
    98bada8fa0e3 x86/unwind/orc: Fix unreliable stack dump with gcov
    88e879c9f595 nfc: virtual_ncidev: Fix memory leak in virtual_nci_send()
    18c60b383df3 net: macb: Specify PHY PM management done by MAC
    95c22fc1e80e net: hinic: fix the issue of double release MBOX callback of VF
    6016d96a6adf net: hinic: fix the issue of CMDQ memory leaks
    e6765fe8de37 net: hinic: fix memory leak when reading function table
    62aa78a0c3e5 net: hinic: fix incorrect assignment issue in hinic_set_interrupt_cfg()
    1e0bee973ef6 net: netsec: fix error handling in netsec_register_mdio()
    7a939503fc32 tipc: fix a null-ptr-deref in tipc_topsrv_accept
    c638b520ba4b perf/x86/intel/lbr: Use setup_clear_cpu_cap() instead of clear_cpu_cap()
    4fdf6f978c6b ALSA: ac97: fix possible memory leak in snd_ac97_dev_register()
    b68873690373 ASoC: qcom: lpass-cpu: Mark HDMI TX parity register as volatile
    eca851572df5 mtd: rawnand: intel: Add missing of_node_put() in ebu_nand_probe()
    08c246c7dfef arc: iounmap() arg is volatile
    739eac37ff9c sched/core: Fix comparison in sched_group_cookie_match()
    ca7b0a10287e perf: Fix missing SIGTRAPs
    eb77474a2a21 ASoC: qcom: lpass-cpu: mark HDMI TX registers as volatile
    9b6841ab7096 KVM: selftests: Fix number of pages for memory slot in memslot_modification_stress_test
    59de8738ed43 drm/msm: Fix return type of mdp4_lvds_connector_mode_valid
    a560aeac2f2d media: atomisp: prevent integer overflow in sh_css_set_black_frame()
    32f93e460861 media: v4l2: Fix v4l2_i2c_subdev_set_name function documentation
    5a93a8288c57 net: ieee802154: fix error return code in dgram_bind()
    138a13d8f5c8 ethtool: eeprom: fix null-deref on genl_info in dump
    1c2b1d3bba2e mmc: block: Remove error check of hw_reset on reset
    0b0d169723f4 Revert "scsi: lpfc: SLI path split: Refactor lpfc_iocbq"
    7a0fce24de60 Revert "scsi: lpfc: SLI path split: Refactor fast and slow paths to native SLI4"
    7a36c9de4324 Revert "scsi: lpfc: SLI path split: Refactor SCSI paths"
    eb8be2dbfbb4 Revert "scsi: lpfc: Fix locking for lpfc_sli_iocbq_lookup()"
    065bf71a8a53 Revert "scsi: lpfc: Fix element offset in __lpfc_sli_release_iocbq_s4()"
    97dc9076ea5e Revert "scsi: lpfc: Resolve some cleanup issues following SLI path refactoring"
    b32b766be44e s390/pci: add missing EX_TABLE entries to __pcistg_mio_inuser()/__pcilg_mio_inuser()
    1ad7213fcf49 s390/futex: add missing EX_TABLE entry to __futex_atomic_op()
    ae9398e837b9 perf auxtrace: Fix address filter symbol name match for modules
    14009ada5712 ARC: mm: fix leakage of memory allocated for PTE
    eb9ed3343ca7 pinctrl: Ingenic: JZ4755 bug fixes
    94d2643df1e7 kernfs: fix use-after-free in __kernfs_remove
    f1204dfc4cd7 counter: microchip-tcb-capture: Handle Signal1 read and Synapse
    6fb0106c64ee mmc: sdhci-esdhc-imx: Propagate ESDHC_FLAG_HS400* only on 8bit bus
    73e3901e7029 mmc: sdhci-pci-core: Disable ES for ASUS BIOS on Jasper Lake
    1e8cd93ae536 mmc: core: Fix kernel panic when remove non-standard SDIO card
    02e51e7cd1d3 mmc: sdhci_am654: 'select', not 'depends' REGMAP_MMIO
    4c365a0c21aa coresight: cti: Fix hang in cti_disable_hw()
    b32775e03969 drm/msm/dp: fix IRQ lifetime
    b48949ab451e drm/msm/hdmi: fix memory corruption with too many bridges
    9f035d1fb306 drm/msm/dsi: fix memory corruption with too many bridges
    986a89b3717e drm/amdgpu: disallow gfxoff until GC IP blocks complete s2idle resume
    a2f0934e6bdb scsi: qla2xxx: Use transport-defined speed mask for supported_speeds
    2b1a3172ee4d mac802154: Fix LQI recording
    46b4b1e11e52 exec: Copy oldsighand->action under spin-lock
    265b6fb780f5 fs/binfmt_elf: Fix memory leak in load_elf_binary()
    24030742a7b8 cpufreq: intel_pstate: hybrid: Use known scaling factor for P-cores
    3423a3417f4f cpufreq: intel_pstate: Read all MSRs on the target CPU
    cc6a7249842f fbdev: smscufx: Fix several use-after-free bugs
    1a8b22e3f394 iio: adxl372: Fix unsafe buffer attributes
    2f08cad21366 iio: temperature: ltc2983: allocate iio channels once
    1bfe97f49785 iio: light: tsl2583: Fix module unloading
    569709540e12 tools: iio: iio_utils: fix digit calculation
    c892a81c7424 xhci: Remove device endpoints from bandwidth list when freeing the device
    dfacb5c7f0a9 xhci-pci: Set runtime PM as default policy on all xHC 1.2 or later devices
    64058af657ba xhci: Add quirk to reset host back to default state at shutdown
    022f21e850e9 mtd: rawnand: marvell: Use correct logic for nand-keep-config
    f90897c0f634 usb: xhci: add XHCI_SPURIOUS_SUCCESS to ASM1042 despite being a V0.96 controller
    a0c54d5152d5 usb: bdc: change state when port disconnected
    e0fd70ab4815 usb: dwc3: gadget: Don't set IMI for no_interrupt
    ad538aea64dd usb: dwc3: gadget: Stop processing more requests on IMI
    f2f53be61714 usb: gadget: uvc: fix sg handling during video encode
    80ff4ef77737 usb: gadget: uvc: fix sg handling in error case
    555011f6b27b USB: add RESET_RESUME quirk for NVIDIA Jetson devices in RCM
    311428871ba1 ALSA: rme9652: use explicitly signed char
    fa8b39c7ed82 ALSA: au88x0: use explicitly signed char
    8af82d330d5d ALSA: usb-audio: Add quirks for M-Audio Fast Track C400/600
    259cb4dee1bb ALSA: Use del_timer_sync() before freeing timer
    33ddee2b95ab can: kvaser_usb: Fix possible completions during init_completion
    86da269c7567 can: j1939: transport: j1939_session_skb_drop_old(): spin_unlock_irqrestore() before kfree_skb()
    ead049562758 NFSv4: Add an fattr allocation to _nfs4_discover_trunking()
    eb1fe9600b86 NFSv4: Fix free of uninitialized nfs4_label on referral lookup.

(From OE-Core rev: 522ddd3600eaecf1ef3f3e7f771eef1fa4ef5f23)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 7514e04bf4dae3d3bbd20bb21b442f273f8d6c73)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-07 15:02:45 +00:00
Bruce Ashfield
b86ca621c6 linux-yocto/5.15: update to v5.15.76
Updating  to the latest korg -stable release that comprises
the following commits:

    4f5365f77018 Linux 5.15.76
    33fc9e26b7cb mm: /proc/pid/smaps_rollup: fix no vma's null-deref
    b9d8cbe90a0f mmc: core: Add SD card quirk for broken discard
    0ee2f0567a56 Makefile.debug: re-enable debug info for .S files
    117825e9bbb1 x86/Kconfig: Drop check for -mabi=ms for CONFIG_EFI_STUB
    0983205085fa ACPI: video: Force backlight native for more TongFang devices
    289b56715ba6 perf: Skip and warn on unknown format 'configN' attrs
    9d912a385368 mmc: sdhci-tegra: Use actual clock rate for SW tuning correction
    7aeda81191fd tracing: Do not free snapshot if tracer is on cmdline
    57252e7bd491 tracing: Simplify conditional compilation code in tracing_set_tracer()
    20bc6d23f7f6 ksmbd: fix incorrect handling of iterate_dir
    3c8cfcaa2d9a ksmbd: handle smb2 query dir request for OutputBufferLength that is too small
    8754fa5dbc6e arm64: mte: move register initialization to C
    ea7be82fd7e1 fs: dlm: fix invalid derefence of sb_lvbptr
    0365d6af75f9 iommu/vt-d: Clean up si_domain in the init_dmars() error path
    5c95d0c9d0eb iommu/vt-d: Allow NVS regions in arch_rmrr_sanity_check()
    209740fd132e net: phy: dp83822: disable MDI crossover status change interrupt
    ce1234573d18 net: sched: fix race condition in qdisc_graft()
    91f8f5342bee net: hns: fix possible memory leak in hnae_ae_register()
    50c31fa95230 wwan_hwsim: fix possible memory leak in wwan_hwsim_dev_new()
    d2fc83a6b55e sfc: include vport_id in filter spec hash and equal()
    c2e1e59d59fa net: sched: sfb: fix null pointer access issue when sfb_init() fails
    34f2a4eedc8e net: sched: delete duplicate cleanup of backlog and qlen
    154f4c06d9db net: sched: cake: fix null pointer access issue when cake_init() fails
    5efed7578dd4 nvmet: fix workqueue MEM_RECLAIM flushing dependency
    2f2b84b02088 nvme-hwmon: kmalloc the NVME SMART log buffer
    66c56b232839 nvme-hwmon: consistently ignore errors from nvme_hwmon_init
    d77f6908f9ce netfilter: nf_tables: relax NFTA_SET_ELEM_KEY_END set flags requirements
    efa9dd7e679e ionic: catch NULL pointer issue on reconfig
    35ece858660e net: hsr: avoid possible NULL deref in skb_clone()
    e326df21da25 dm: remove unnecessary assignment statement in alloc_dev()
    847301f0ee1c cifs: Fix xid leak in cifs_ses_add_channel()
    8905d13b9ede cifs: Fix xid leak in cifs_flock()
    27cfd3afaab0 cifs: Fix xid leak in cifs_copy_file_range()
    593d877c39aa cifs: Fix xid leak in cifs_create()
    a8df9d0428c7 udp: Update reuse->has_conns under reuseport_lock.
    9749595feb33 scsi: lpfc: Fix memory leak in lpfc_create_port()
    b9122e0e0ea8 net: phylink: add mac_managed_pm in phylink_config structure
    412db9b06d3c net: phy: dp83867: Extend RX strap quirk for SGMII mode
    5ce613051994 net/atm: fix proc_mpc_write incorrect return value
    0eb17faedce7 sfc: Change VF mac via PF as first preference if available.
    0f58940ca3c1 HID: magicmouse: Do not set BTN_MOUSE on double report
    94a171c982b8 i40e: Fix DMA mappings leak
    dbc01c0a4e20 tipc: fix an information leak in tipc_topsrv_kern_subscr
    b294cad6f02e tipc: Fix recognition of trial period
    6161c364e378 ACPI: extlog: Handle multiple records
    40e5fceddfd5 drm/vc4: Add module dependency on hdmi-codec
    6c5041a10324 btrfs: fix processing of delayed tree block refs during backref walking
    af67578d565c btrfs: fix processing of delayed data refs during backref walking
    c439cafce8cf x86/topology: Fix duplicated core ID within a package
    d31f4bc22596 x86/topology: Fix multiple packages shown on a single-package system
    fcc96e89b3ff media: venus: dec: Handle the case where find_format fails
    b22b4823a0a5 media: mceusb: set timeout to at least timeout provided
    5265cc1202a3 media: ipu3-imgu: Fix NULL pointer dereference in active selection access
    1e4e71f9e197 KVM: arm64: vgic: Fix exit condition in scan_its_table()
    5bf2fda26a72 kvm: Add support for arch compat vm ioctls
    112a005d1ded mm,hugetlb: take hugetlb_lock before decrementing h->resv_huge_pages
    2d508b4e6536 drm/amdgpu: fix sdma doorbell init ordering on APUs
    b5606e3ab1f7 cpufreq: qcom: fix memory leak in error path
    d866f5982c15 x86/resctrl: Fix min_cbm_bits for AMD
    8fbe13de1cc7 ata: ahci: Match EM_MAX_SLOTS with SATA_PMP_MAX_PORTS
    5d6a037b3a94 ata: ahci-imx: Fix MODULE_ALIAS
    30cf0dee372b hwmon/coretemp: Handle large core ID value
    2f7171465f26 x86/microcode/AMD: Apply the patch early on every logical thread
    93d7e2b47a72 i2c: qcom-cci: Fix ordering of pm_runtime_xx and i2c_add_adapter
    14d260f94ff8 cpufreq: qcom: fix writes in read-only memory region
    3006766d247b selinux: enable use of both GFP_KERNEL and GFP_ATOMIC in convert_context()
    1b31cb0065e2 ocfs2: fix BUG when iput after ocfs2_mknod fails
    e469db818ec9 ocfs2: clear dinode links count in case of error
    ded9d535be0d btrfs: enhance unsupported compat RO flags handling
    537412c54712 perf/x86/intel/pt: Relax address filter validation
    8ddc58e0e312 arm64: errata: Remove AES hwcap for COMPAT tasks
    738515cf8bb4 usb: gadget: uvc: improve sg exit condition
    db11d8c72a5d usb: gadget: uvc: giveback vb2 buffer on req complete
    aee340dccf5a usb: gadget: uvc: rework uvcg_queue_next_buffer to uvcg_complete_buffer
    2f54ce7392d7 usb: gadget: uvc: use on returned header len in video_encode_isoc_sg
    d80db2f1450c usb: gadget: uvc: consistently use define for headerlen
    f9681a67503e arm64/mm: Consolidate TCR_EL1 fields
    5b20aacff7ad r8152: add PID for the Lenovo OneLink+ Dock
    bd8a595958a5 Linux 5.15.75
    b6e2c54be37d io-wq: Fix memory leak in worker creation
    7c359e28492f gcov: support GCC 12.1 and newer compilers
    8418c1672c1f thermal: intel_powerclamp: Use first online CPU as control_cpu
    55c824b62067 ext4: continue to expand file system when the target size doesn't reach
    0e63de6d7e4c lib/Kconfig.debug: Add check for non-constant .{s,u}leb128 support to DWARF5
    84cd0b20fada Kconfig.debug: add toolchain checks for DEBUG_INFO_DWARF_TOOLCHAIN_DEFAULT
    371aaf6b48f5 Kconfig.debug: simplify the dependency of DEBUG_INFO_DWARF4/5
    e1591557e3a0 drm/amd/display: Fix build breakage with CONFIG_DEBUG_FS=n
    34f31a2b6679 net/ieee802154: don't warn zero-sized raw_sendmsg()
    de904d0fe1cb Revert "net/ieee802154: reject zero-sized raw_sendmsg()"
    9c65eef9d6c9 net: ethernet: ti: davinci_mdio: fix build for mdio bitbang uses
    d7eadffce032 blk-wbt: fix that 'rwb->wc' is always set to 1 in wbt_init()
    28787ff9fbea ALSA: usb-audio: Fix last interface check for registration
    b8989e95d74e net: ieee802154: return -EINVAL for unknown addr type
    0db2efb3bff8 mm: hugetlb: fix UAF in hugetlb_handle_userfault
    98aada6e2278 io_uring/rw: fix unexpected link breakage
    d6b7efc722a2 io_uring/rw: fix error'ed retry return values
    e857457c6f90 io_uring/rw: fix short rw error handling
    cd148d4e3183 io_uring: correct pinned_vm accounting
    813d8fe5d303 io_uring/af_unix: defer registered files gc to io_uring release
    c69a2324fc6b perf intel-pt: Fix segfault in intel_pt_print_info() with uClibc
    e81bf40b280b clk: bcm2835: Round UART input clock up
    da17cbb229af clk: bcm2835: Make peripheral PLLC critical
    20b8c456df58 usb: idmouse: fix an uninit-value in idmouse_open
    ec8adf767e1c nvmet-tcp: add bounds check on Transfer Tag
    1c6432884010 nvme: copy firmware_rev on each init
    b9b5560b342e ext2: Use kvmalloc() for group descriptor array
    8c067a3051cd scsi: tracing: Fix compile error in trace_array calls when TRACING is disabled
    39bef9c6a91b staging: rtl8723bs: fix a potential memory leak in rtw_init_cmd_priv()
    b4573a2bad3c staging: rtl8723bs: fix potential memory leak in rtw_init_drv_sw()
    eb24d93e3e01 Revert "usb: storage: Add quirk for Samsung Fit flash"
    3a38985d8bfd usb: dwc3: core: Enable GUCTL1 bit 10 for fixing termination error after resume bug
    9d4f84a15f9c arm64: dts: imx8mp: Add snps,gfladj-refclk-lpm-sel quirk to USB nodes
    3c84c7f592c4 usb: musb: Fix musb_gadget.c rxstate overflow bug
    fcd594da0b59 usb: host: xhci: Fix potential memory leak in xhci_alloc_stream_info()
    9e86dffd0b02 md/raid5: Wait for MD_SB_CHANGE_PENDING in raid5d
    f8e80792c1a8 eventfd: guard wake_up in eventfd fs calls as well
    c61786dc727d HID: roccat: Fix use-after-free in roccat_read()
    f7f425d61de9 soundwire: intel: fix error handling on dai registration issues
    093a5463aeec soundwire: cadence: Don't overwrite msg->buf during write commands
    1b4ed920b2ff bcache: fix set_at_max_writeback_rate() for multiple attached devices
    eecb5ccc84a1 ata: libahci_platform: Sanity check the DT child nodes number
    70b2adb1d698 blk-throttle: prevent overflow while calculating wait time
    ff8551d411f1 staging: vt6655: fix potential memory leak
    7c8bc374659d power: supply: adp5061: fix out-of-bounds read in adp5061_get_chg_type()
    3d6946180734 iommu/arm-smmu-v3: Make default domain type of HiSilicon PTT device to identity
    c0d73be0af8c nbd: Fix hung when signal interrupts nbd_start_device_ioctl()
    9d54de866062 scsi: 3w-9xxx: Avoid disabling device if failing to enable it
    d68da10b0cce dmaengine: ti: k3-udma: Reset UDMA_CHAN_RT byte counters to prevent overflow
    518a2a1cc361 usb: host: xhci-plat: suspend/resume clks for brcm
    f002aa7c0ac5 usb: host: xhci-plat: suspend and resume clocks
    6bcd745c87a0 clk: zynqmp: pll: rectify rate rounding in zynqmp_pll_round_rate
    5c32cbf6ccea media: platform: fix some double free in meson-ge2d and mtk-jpeg and s5p-mfc
    6f21976095c1 media: cx88: Fix a null-ptr-deref bug in buffer_prepare()
    0a07b13af04d clk: zynqmp: Fix stack-out-of-bounds in strncpy`
    3680442cbaee ARM: 9242/1: kasan: Only map modules if CONFIG_KASAN_VMALLOC=n
    4a89c0befca7 btrfs: don't print information about space cache or tree every remount
    39a07058c762 btrfs: scrub: try to fix super block errors
    f3857dd7c03a btrfs: dump extra info if one free space cache has more bitmaps than it should
    d3c6d5be46de arm64: dts: imx8mq-librem5: Add bq25895 as max17055's power supply
    82046b6a84e0 kselftest/arm64: Fix validatation termination record after EXTRA_CONTEXT
    35365417333d ARM: dts: imx6sx: add missing properties for sram
    602813650cbc ARM: dts: imx6sll: add missing properties for sram
    6a12e1e23cb1 ARM: dts: imx6sl: add missing properties for sram
    8c24dc621bb7 ARM: dts: imx6qp: add missing properties for sram
    47666b9a11a1 ARM: dts: imx6dl: add missing properties for sram
    19fe40c5185d ARM: dts: imx6q: add missing properties for sram
    9361ba779152 ARM: dts: imx7d-sdb: config the max pressure for tsc2046
    0f90671ff93f drm/amd/display: Remove interface for periodic interrupt 1
    88fd06740659 drm/dp: Don't rewrite link config when setting phy test pattern
    668806a8268b mmc: sdhci-msm: add compatible string check for sdm670
    587c7da87721 drm/meson: explicitly remove aggregate driver at module unload time
    d76ff04a72f9 drm/meson: reorder driver deinit sequence to fix use-after-free bug
    d894db35617f drm/amdgpu: fix initial connector audio value
    e3675f688d3b ASoC: SOF: pci: Change DMI match info to support all Chrome platforms
    f16e1b7b3968 platform/x86: msi-laptop: Change DMI match / alias strings to fix module autoloading
    39da49ffa2f3 platform/chrome: cros_ec: Notify the PM of wake events during resume
    74636047845c drm: panel-orientation-quirks: Add quirk for Anbernic Win600
    2810061452f9 drm/vc4: vec: Fix timings for VEC modes
    0506c4eae9a9 ALSA: usb-audio: Register card at the last interface
    39d7a81bbb7a drm: bridge: dw_hdmi: only trigger hotplug event on link change
    dfbed8c92eb8 udmabuf: Set ubuf->sg = NULL if the creation of sg table fails
    a47d92c74b1e drm/amd/display: fix overflow on MIN_I64 definition
    a29f7427041a gpu: lontium-lt9611: Fix NULL pointer dereference in lt9611_connector_init()
    5ff7bec678ca drm/komeda: Fix handling of atomic commits in the atomic_commit_tail hook
    ca163e389f0a drm: Prevent drm_copy_field() to attempt copying a NULL pointer
    df5ac9392648 drm: Use size_t type for len variable in drm_copy_field()
    5ab84b1596b2 drm/nouveau/nouveau_bo: fix potential memory leak in nouveau_bo_alloc()
    b3179865cf7e r8152: Rate limit overflow messages
    d1e894f950ad Bluetooth: L2CAP: Fix user-after-free
    124b7c773271 net: If sock is dead don't access sock's sk_wq in sk_stream_wait_memory
    5b94d48898d9 hwmon: (sht4x) do not overflow clamping operation on 32-bit platforms
    a269c3e39087 wifi: rt2x00: correctly set BBP register 86 for MT7620
    b5e6ada5a5d6 wifi: rt2x00: set SoC wmac clock register
    357c89074ae6 wifi: rt2x00: set VGC gain for both chains of MT7620
    92e2e04da567 wifi: rt2x00: set correct TX_SW_CFG1 MAC register for MT7620
    4304b8e07579 wifi: rt2x00: don't run Rt5592 IQ calibration on MT7620
    4a5eab200e43 can: bcm: check the result of can_send() in bcm_can_tx()
    3423a50fa018 Bluetooth: hci_sysfs: Fix attempting to call device_add multiple times
    3ac837cef1fb Bluetooth: L2CAP: initialize delayed works at l2cap_chan_create()
    af46b2b9b096 wifi: mt76: mt7921: reset msta->airtime_ac while clearing up hw value
    e33da263e965 regulator: core: Prevent integer underflow
    d58c8781c0d7 Bluetooth: btintel: Mark Intel controller to support LE_STATES quirk
    232d59eca07f wifi: brcmfmac: fix use-after-free bug in brcmf_netdev_start_xmit()
    37f15edba22d iavf: Fix race between iavf_close and iavf_reset_task
    03155680191e xfrm: Update ipcomp_scratches with NULL when freed
    716c526d666d thunderbolt: Add back Intel Falcon Ridge end-to-end flow control workaround
    b1b4144508ad wifi: ath9k: avoid uninit memory read in ath9k_htc_rx_msg()
    839f563c5dc5 x86/mce: Retrieve poison range from hardware
    1663629bc3ff tcp: annotate data-race around tcp_md5sig_pool_populated
    7b03296b4f7a openvswitch: Fix overreporting of drops in dropwatch
    ffd7a1dcae9a openvswitch: Fix double reporting of drops in dropwatch
    d449d00a8dce net: ethernet: ti: davinci_mdio: Add workaround for errata i2329
    624f03a027f2 ice: set tx_tstamps when creating new Tx rings via ethtool
    2e52d858de3a bpftool: Clear errno after libcap's checks
    75995ce1c926 wifi: brcmfmac: fix invalid address access when enabling SCAN log level
    83b94969751a NFSD: fix use-after-free on source server when doing inter-server copy
    118dc74b2bc0 NFSD: Return nfserr_serverfault if splice_ok but buf->pages have data
    066b1302f2a9 x86/entry: Work around Clang __bdos() bug
    06c56c9d5da8 ACPI: x86: Add a quirk for Dell Inspiron 14 2-in-1 for StorageD3Enable
    6733222f2cc9 ARM: decompressor: Include .data.rel.ro.local
    561490843445 thermal: intel_powerclamp: Use get_cpu() instead of smp_processor_id() to avoid crash
    139bbbd01114 powercap: intel_rapl: fix UBSAN shift-out-of-bounds issue
    a1387ae83e97 MIPS: BCM47XX: Cast memcmp() of function to (void *)
    c2790fede920 cpufreq: intel_pstate: Add Tigerlake support in no-HWP mode
    30eca146c89d ACPI: tables: FPDT: Don't call acpi_os_map_memory() on invalid phys address
    5374638222d0 ACPI: video: Add Toshiba Satellite/Portege Z830 quirk
    7ed95b080334 rcu-tasks: Convert RCU_LOCKDEP_WARN() to WARN_ONCE()
    cf38a05eb1d0 rcu: Back off upon fill_page_cache_func() allocation failure
    3e2d8b89f031 rcu: Avoid triggering strict-GP irq-work when RCU is idle
    27d3e646dd83 fs: dlm: fix race in lowcomms
    b6b87460f4eb selftest: tpm2: Add Client.__del__() to close /dev/tpm* handle
    497d736784e5 f2fs: fix to account FS_CP_DATA_IO correctly
    fb1dcc2a9e4b f2fs: fix race condition on setting FI_NO_EXTENT flag
    6ddbd411a00a ACPI: APEI: do not add task_work to kernel thread to avoid memory leak
    21f1ba52b88c thermal/drivers/qcom/tsens-v0_1: Fix MSM8939 fourth sensor hw_id
    172c8a24fc83 crypto: cavium - prevent integer overflow loading firmware
    12acfa1059ad crypto: marvell/octeontx - prevent integer overflows
    c963ce2fa05d kbuild: rpm-pkg: fix breakage when V=1 is used
    059ce6b68b76 kbuild: remove the target in signal traps when interrupted
    1e9c23db31b6 tracing/osnoise: Fix possible recursive locking in stop_per_cpu_kthreads
    84795de93e1f tracing: kprobe: Make gen test module work in arm and riscv
    867fce09aa20 tracing: kprobe: Fix kprobe event gen test module on exit
    a9990f24adfe iommu/iova: Fix module config properly
    f0cac6cc02a9 cifs: return correct error in ->calc_signature()
    1f1ab76e2515 crypto: qat - fix DMA transfer direction
    393307b99aac crypto: inside-secure - Change swab to swab32
    93538944ab0b crypto: ccp - Release dma channels before dmaengine unrgister
    779a9930f3e1 crypto: akcipher - default implementation for setting a private key
    0c7043a5b5c3 iommu/omap: Fix buffer overflow in debugfs
    046803b74d51 cgroup/cpuset: Enable update_tasks_cpumask() on top_cpuset
    771d8aa02dac crypto: hisilicon/qm - fix missing put dfx access
    9bf3ec61a246 crypto: qat - fix default value of WDT timer
    3bfc220e5ce3 hwrng: imx-rngc - Moving IRQ handler registering after imx_rngc_irq_mask_clear()
    507128a0e32d cgroup: Honor caller's cgroup NS when resolving path
    8ffe511b7de7 hwrng: arm-smccc-trng - fix NO_ENTROPY handling
    272093471305 crypto: hisilicon/zip - fix mismatch in get/set sgl_sge_nr
    e0b4ebf59834 crypto: sahara - don't sleep when in softirq
    8484023b5763 powerpc/pseries/vas: Pass hw_cpu_id to node associativity HCALL
    7f536a8cb62d powerpc/kprobes: Fix null pointer reference in arch_prepare_kprobe()
    1f98f8f43541 powerpc: Fix SPE Power ISA properties for e500v1 platforms
    72c5b7110fba powerpc/64s: Fix GENERIC_CPU build flags for PPC970 / G5
    399afe92f640 x86/hyperv: Fix 'struct hv_enlightened_vmcs' definition
    592b302d8bf6 powerpc: Fix fallocate and fadvise64_64 compat parameter combination
    61af84b3db81 powerpc/powernv: add missing of_node_put() in opal_export_attrs()
    5be9cb6c06fa powerpc/pci_dn: Add missing of_node_put()
    5a13d3f1af1c powerpc/sysdev/fsl_msi: Add missing of_node_put()
    b0c0490b3c57 powerpc/math_emu/efp: Include module.h
    93379dc92de0 powerpc/configs: Properly enable PAPR_SCM in pseries_defconfig
    25a4fb0e1a76 mailbox: bcm-ferxrm-mailbox: Fix error check for dma_map_sg
    b8fcd9ab0f65 mailbox: mpfs: account for mbox offsets while sending
    ba2264359525 mailbox: mpfs: fix handling of the reg property
    fad007a315fe clk: ast2600: BCLK comes from EPLL
    3441076f83aa clk: ti: dra7-atl: Fix reference leak in of_dra7_atl_clk_probe
    9209e6bab75d clk: imx: scu: fix memleak on platform_device_add() fails
    bdf72f2d649b clk: bcm2835: fix bcm2835_clock_rate_from_divisor declaration
    e338131e980b clk: baikal-t1: Add SATA internal ref clock buffer
    35b766027580 clk: baikal-t1: Add shared xGMAC ref/ptp clocks internal parent
    b2db8b2c5391 clk: baikal-t1: Fix invalid xGMAC PTP clock divider
    435a8a39c6ae clk: vc5: Fix 5P49V6901 outputs disabling when enabling FOD
    b0bc75fe6775 spmi: pmic-arb: correct duplicate APID to PPID mapping logic
    faabbb103d60 usb: mtu3: fix failed runtime suspend in host only mode
    57f66534a41a dmaengine: ioat: stop mod_timer from resurrecting deleted timer in __cleanup()
    8aa96c5bc393 clk: mediatek: mt8183: mfgcfg: Propagate rate changes to parent
    2dafc5afd9d6 mfd: sm501: Add check for platform_driver_register()
    d43d93dbd8aa mfd: fsl-imx25: Fix check for platform_get_irq() errors
    b940bb3c8154 mfd: lp8788: Fix an error handling path in lp8788_irq_init() and lp8788_irq_init()
    0715005c483e mfd: lp8788: Fix an error handling path in lp8788_probe()
    aec1f073f91f mfd: fsl-imx25: Fix an error handling path in mx25_tsadc_setup_irq()
    53bfc1c3c751 mfd: intel_soc_pmic: Fix an error handling path in intel_soc_pmic_i2c_probe()
    2f921d62c236 fsi: core: Check error number after calling ida_simple_get
    041c79f6aefb RDMA/rxe: Fix resize_finish() in rxe_queue.c
    959d4ee095e9 clk: qcom: gcc-sm6115: Override default Alpha PLL regs
    8e556f557368 clk: qcom: apss-ipq6018: mark apcs_alias0_core_clk as critical
    a26b0658751b scsi: iscsi: iscsi_tcp: Fix null-ptr-deref while calling getpeername()
    e87fb1fcf88f scsi: iscsi: Run recv path from workqueue
    c2af03a7c1b5 scsi: iscsi: Add recv workqueue helpers
    d6aafc21bef1 scsi: iscsi: Rename iscsi_conn_queue_work()
    e45a1516d293 scsi: libsas: Fix use-after-free bug in smp_execute_task_sg()
    6a54f769748b serial: 8250: Fix restoring termios speed after suspend
    a5dba0933834 firmware: google: Test spinlock on panic path to avoid lockups
    60d14575d0ba slimbus: qcom-ngd-ctrl: allow compile testing without QCOM_RPROC_COMMON
    f19e5b7df545 staging: vt6655: fix some erroneous memory clean-up loops
    433c33c554d7 phy: qualcomm: call clk_disable_unprepare in the error handling
    c4293def8860 tty: serial: fsl_lpuart: disable dma rx/tx use flags in lpuart_dma_shutdown
    a91a3c2d8db8 serial: 8250: Toggle IER bits on only after irq has been set up
    6be8e565a4a6 drivers: serial: jsm: fix some leaks in probe
    1d05df7757f4 usb: gadget: function: fix dangling pnp_string in f_printer.c
    ed2c66b75280 xhci: Don't show warning for reinit on known broken suspend
    4d7d8f5cb284 IB: Set IOVA/LENGTH on IB_MR in core/uverbs layers
    e221b4f16e9e RDMA/cm: Use SLID in the work completion as the DLID in responder side
    7a37c58ee72e md/raid5: Remove unnecessary bio_put() in raid5_read_one_chunk()
    b467d9460ec2 md/raid5: Ensure stripe_fill happens on non-read IO with journal
    5d8259c9d191 md: Replace snprintf with scnprintf
    9e92d5ca5424 mtd: rawnand: meson: fix bit map use in meson_nfc_ecc_correct()
    058833dbeb8d ata: fix ata_id_has_dipm()
    dad910a6d4a5 ata: fix ata_id_has_ncq_autosense()
    21faddeff7bf ata: fix ata_id_has_devslp()
    204cc767dcb5 ata: fix ata_id_sense_reporting_enabled() and ata_id_has_sense_reporting()
    5c75d608fad5 RDMA/siw: Fix QP destroy to wait for all references dropped.
    308cd50f174c RDMA/siw: Always consume all skbuf data in sk_data_ready() upcall.
    e58a0b9100ba RDMA/srp: Fix srp_abort()
    dc9e4ef6b072 RDMA/irdma: Align AE id codes to correct flush code and event
    84ce1a8e36bb mtd: rawnand: fsl_elbc: Fix none ECC mode
    be424a7d5374 mtd: rawnand: intel: Remove undocumented compatible string
    445395900b64 mtd: rawnand: intel: Read the chip-select line from the correct OF node
    cbbf9cca47ac phy: phy-mtk-tphy: fix the phy type setting issue
    e4be7c9495c8 phy: amlogic: phy-meson-axg-mipi-pcie-analog: Hold reference returned by of_get_parent()
    88263152ff56 mtd: devices: docg3: check the return value of devm_ioremap() in the probe
    a0e4ac698891 clk: qcom: sm6115: Select QCOM_GDSC
    aecb632674b7 dyndbg: drop EXPORTed dynamic_debug_exec_queries
    0d4421f2cb54 dyndbg: let query-modname override actual module name
    0c0d9f38b087 dyndbg: fix module.dyndbg handling
    49d85932f7d2 dyndbg: fix static_branch manipulation
    7cb9b20941e1 dmaengine: hisilicon: Add multi-thread support for a DMA channel
    b88630d9aac0 dmaengine: hisilicon: Fix CQ head update
    e84aeeafe8b3 dmaengine: hisilicon: Disable channels when unregister hisi_dma
    b94605f5cb99 fpga: prevent integer overflow in dfl_feature_ioctl_set_irq()
    11bd8bbdf8f6 misc: ocxl: fix possible refcount leak in afu_ioctl()
    c23c5e184550 RDMA/rxe: Fix the error caused by qp->sk
    f2f405af70e6 RDMA/rxe: Fix "kernel NULL pointer dereference" error
    2ea7caa96846 media: xilinx: vipp: Fix refcount leak in xvip_graph_dma_init
    23624abbc9c6 media: uvcvideo: Use entity get_cur in uvc_ctrl_set
    6c5da92103bd media: uvcvideo: Fix memory leak in uvc_gpio_parse
    4e2042f1adc7 media: meson: vdec: add missing clk_disable_unprepare on error in vdec_hevc_start()
    aeffca434426 tty: xilinx_uartps: Fix the ignore_status
    a8d772c7b853 media: exynos4-is: fimc-is: Add of_node_put() when breaking out of loop
    6225501072d3 HSI: omap_ssi_port: Fix dma_map_sg error check
    691f23a8475f HSI: omap_ssi: Fix refcount leak in ssi_probe
    d6e750535b46 clk: tegra20: Fix refcount leak in tegra20_clock_init
    e7a57fb92af5 clk: tegra: Fix refcount leak in tegra114_clock_init
    417ed4432b1b clk: tegra: Fix refcount leak in tegra210_clock_init
    ca5f338ef165 clk: sprd: Hold reference returned by of_get_parent()
    49343bdf95eb clk: berlin: Add of_node_put() for of_get_parent()
    857b719bede4 clk: qoriq: Hold reference returned by of_get_parent()
    a8cbce0305b2 clk: oxnas: Hold reference returned by of_get_parent()
    e0001a565c16 clk: meson: Hold reference returned by of_get_parent()
    e900ec4c4f74 usb: common: debug: Check non-standard control requests
    c11f48764c8b RDMA/mlx5: Don't compare mkey tags in DEVX indirect mkey
    cd35ad9a7d66 iio: magnetometer: yas530: Change data type of hard_offsets to signed
    23fafc2e2cf6 iio: ABI: Fix wrong format of differential capacitance channel ABI.
    8169da520e8f iio: inkern: fix return value in devm_of_iio_channel_get_by_name()
    504e8807fe5f iio: inkern: only release the device node when done with it
    b0d4fcc3ecb8 iio: adc: at91-sama5d2_adc: disable/prepare buffer on suspend/resume
    5db9b840ac88 iio: adc: at91-sama5d2_adc: lock around oversampling and sample freq
    c5c63736d2a1 iio: adc: at91-sama5d2_adc: check return status for pressure and touch
    5f1654a0e520 iio: adc: at91-sama5d2_adc: fix AT91_SAMA5D2_MR_TRACKTIM_MAX
    017cf3b0a628 ARM: dts: exynos: fix polarity of VBUS GPIO of Origen
    6c93b683ceda arm64: ftrace: fix module PLTs with mcount
    bbf64eb10273 ext4: don't run ext4lazyinit for read-only filesystems
    7a00a2320752 ARM: Drop CMDLINE_* dependency on ATAGS
    2af04fe87ea5 ARM: dts: exynos: correct s5k6a3 reset polarity on Midas family
    2134214bc403 arm64: dts: ti: k3-j7200: fix main pinmux range
    7247a1d7a46a soc/tegra: fuse: Drop Kconfig dependency on TEGRA20_APB_DMA
    4f7892f24281 ia64: export memory_add_physaddr_to_nid to fix cxl build error
    2ef01657b2d6 ARM: dts: kirkwood: lsxl: remove first ethernet port
    bf7caa3c5caf ARM: dts: kirkwood: lsxl: fix serial line
    42ce4c73a468 ARM: dts: turris-omnia: Fix mpp26 pin name and comment
    96d8f2b43e72 ARM: dts: imx6qdl-kontron-samx6i: hook up DDC i2c bus
    08ada28d1def soc: qcom: smem_state: Add refcounting for the 'state->of_node'
    96e0028debdd soc: qcom: smsm: Fix refcount leak bugs in qcom_smsm_probe()
    a29b6eb959bd locks: fix TOCTOU race when granting write lease
    7e053784c4c7 memory: of: Fix refcount leak bug in of_lpddr3_get_ddr_timings()
    2680690f9ce4 memory: of: Fix refcount leak bug in of_get_ddr_timings()
    566b143aa511 memory: pl353-smc: Fix refcount leak bug in pl353_smc_probe()
    10df962300c2 ALSA: hda/hdmi: Don't skip notification handling during PM operation
    cc756b79a5c9 ASoC: mt6660: Fix PM disable depth imbalance in mt6660_i2c_probe
    f9cb3bd55726 ASoC: wm5102: Fix PM disable depth imbalance in wm5102_probe
    b7dda65fa875 ASoC: wm5110: Fix PM disable depth imbalance in wm5110_probe
    b2bc9fc56a3e ASoC: wm8997: Fix PM disable depth imbalance in wm8997_probe
    3c3ef19a8870 mmc: wmt-sdmmc: Fix an error handling path in wmt_mci_probe()
    b14dc262274b ALSA: dmaengine: increment buffer pointer atomically
    f5f1f5ee5048 ASoC: da7219: Fix an error handling path in da7219_register_dai_clks()
    f910aca07625 ASoC: codecs: tx-macro: fix kcontrol put
    b47a37ad4a44 drm/vmwgfx: Fix memory leak in vmw_mksstat_add_ioctl()
    bdf54d4b0074 drm/msm/dp: correct 1.62G link rate at dp_catalog_ctrl_config_msa()
    635e7700c5b4 drm/msm/dpu: index dpu_kms->hw_vbif using vbif_idx
    4f859884673d ASoC: eureka-tlv320: Hold reference returned from of_find_xxx API
    64545b8a9690 mmc: au1xmmc: Fix an error handling path in au1xmmc_probe()
    3ba3814c00a4 drm/amdgpu: Fix memory leak in hpd_rx_irq_create_workqueue()
    a5ce83e85d79 drm/omap: dss: Fix refcount leak bugs
    f5f599daa0bc drm/bochs: fix blanking
    928ac9fc1ace ALSA: hda: beep: Simplify keep-power-at-enable behavior
    fbb88a7c84c1 ASoC: rsnd: Add check for rsnd_mod_power_on
    4610e7a4111f drm/bridge: megachips: Fix a null pointer dereference bug
    079c550c57ff drm/amdgpu: add missing pci_disable_device() in amdgpu_pmops_runtime_resume()
    c12daccc9017 platform/chrome: cros_ec_typec: Correct alt mode index
    c317d2b8a430 platform/x86: msi-laptop: Fix resource cleanup
    0e21d41bc768 platform/x86: msi-laptop: Fix old-ec check for backlight registering
    6bc81c1b6313 ASoC: tas2764: Fix mute/unmute
    e644497c5361 ASoC: tas2764: Drop conflicting set_bias_level power setting
    35bd912ed6c0 ASoC: tas2764: Allow mono streams
    fd1d3b265784 platform/chrome: fix memory corruption in ioctl
    27bb672c0437 platform/chrome: fix double-free in chromeos_laptop_prepare()
    57dfb855bc9e ASoC: mt6359: fix tests for platform_get_irq() failure
    8a475a7732a5 drm:pl111: Add of_node_put() when breaking out of for_each_available_child_of_node()
    56d2233cf573 drm/dp_mst: fix drm_dp_dpcd_read return value checks
    fe6eb3d0c874 drm/bridge: parade-ps8640: Fix regulator supply order
    60630834fad3 drm/virtio: Correct drm_gem_shmem_get_sg_table() error handling
    26c1b4cfe56f drm/mipi-dsi: Detach devices when removing the host
    652042135e08 drm/bridge: Avoid uninitialized variable warning
    f369fb4deed7 drm: bridge: adv7511: unregister cec i2c device after cec adapter
    20609125b8bd drm: bridge: adv7511: fix CEC power down control register offset
    a624161ebe0c net: mvpp2: fix mvpp2 debugfs leak
    7aef5082c56e once: add DO_ONCE_SLOW() for sleepable contexts
    77bfd26cbb61 net/ieee802154: reject zero-sized raw_sendmsg()
    dc4e9cd6d6a6 net: wwan: iosm: Call mutex_init before locking it
    0b6516a4e3eb bnx2x: fix potential memory leak in bnx2x_tpa_stop()
    30bfa5aa7228 net: rds: don't hold sock lock when cancelling work from rds_tcp_reset_callbacks()
    f828333ca90f hwmon: (pmbus/mp2888) Fix sensors readouts for MPS Multi-phase mp2888 controller
    c91b922b4170 spi: Ensure that sg_table won't be used after being freed
    49d429760df7 tcp: fix tcp_cwnd_validate() to not forget is_cwnd_limited
    19d636b663e0 sctp: handle the error returned from sctp_auth_asoc_init_active_key
    7bfa18b05f38 mISDN: fix use-after-free bugs in l1oip timer handlers
    6f1991a940b9 eth: alx: take rtnl_lock on resume
    e28a4e7f0296 vhost/vsock: Use kvmalloc/kvfree for larger packets.
    5dbdd690ed83 wifi: rtl8xxxu: Fix AIFS written to REG_EDCA_*_PARAM
    432eecffcf1b spi: s3c64xx: Fix large transfers with DMA
    1454a26cb1ab netfilter: nft_fib: Fix for rpath check with VRF devices
    7d98b26684cb xfrm: Reinject transport-mode packets through workqueue
    397e880acf44 Bluetooth: hci_core: Fix not handling link timeouts propertly
    1331d3e1f9b5 i2c: mlxbf: support lock mechanism
    9233ab8198d8 skmsg: Schedule psock work if the cached skb exists on the psock
    44f1dc2e821d spi/omap100k:Fix PM disable depth imbalance in omap1_spi100k_probe
    daa5239ea49f spi: dw: Fix PM disable depth imbalance in dw_spi_bt1_probe
    6b941151865e x86/cpu: Include the header of init_ia32_feat_ctl()'s prototype
    3c27a1380798 x86/microcode/AMD: Track patch allocation size explicitly
    3e2b805a68ab wifi: ath11k: fix number of VHT beamformee spatial streams
    5a6827cdc258 netfilter: conntrack: revisit the gc initial rescheduling bias
    9c39ca418ba3 netfilter: conntrack: fix the gc rescheduling delay
    b8917dce2134 Bluetooth: hci_{ldisc,serdev}: check percpu_init_rwsem() failure
    c087c35292ea bpf: Ensure correct locking around vulnerable function find_vpid()
    a0f15af17b7d net: fs_enet: Fix wrong check in do_pd_setup
    ee7c5e814fb2 Bluetooth: RFCOMM: Fix possible deadlock on socket shutdown/release
    57d4f2f8a67b wifi: mt76: mt7915: do not check state before configuring implicit beamform
    dea9093f24d6 wifi: mt76: mt7615: add mt7615_mutex_acquire/release in mt7615_sta_set_decap_offload
    817e8b75ae06 wifi: mt76: sdio: fix transmitting packet hangs
    5dc095a37fbd wifi: rtl8xxxu: Remove copy-paste leftover in gen2_update_rate_mask
    9973f78c19f3 wifi: rtl8xxxu: gen2: Fix mistake in path B IQ calibration
    5d9222c68022 bpf: btf: fix truncated last_member_type_id in btf_struct_resolve
    4ce47c5545d2 spi: meson-spicc: do not rely on busy flag in pow2 clk ops
    36c484bac9ed wifi: rtl8xxxu: Fix skb misuse in TX queue selection
    fefd2269e681 spi: qup: add missing clk_disable_unprepare on error in spi_qup_pm_resume_runtime()
    e22f6499183d spi: qup: add missing clk_disable_unprepare on error in spi_qup_resume()
    37005a948677 selftests/xsk: Avoid use-after-free on ctx
    69995c64e50e wifi: rtw88: add missing destroy_workqueue() on error path in rtw_core_init()
    6f9484e969cb wifi: rtl8xxxu: tighten bounds checking in rtl8xxxu_read_efuse()
    d091771f511d Bluetooth: btusb: mediatek: fix WMT failure during runtime suspend
    f91e25cfa553 bpf: Use this_cpu_{inc|dec|inc_return} for bpf_task_storage_busy
    0e1342510490 bpf: Propagate error from htab_lock_bucket() to userspace
    0b00c6130c1a bpf: Disable preemption when increasing per-cpu map_locked
    68ab7690332a xsk: Fix backpressure mechanism on Tx
    0559a6d96a99 x86/resctrl: Fix to restore to original value when re-enabling hardware prefetch register
    e962e458bf96 spi: mt7621: Fix an error message in mt7621_spi_probe()
    0a16bbc8b030 bpftool: Fix a wrong type cast in btf_dumper_int
    6e8eadfa9bb1 wifi: mac80211: allow bw change during channel switch in mesh
    4ed5155043c9 bpf: Fix reference state management for synchronous callbacks
    3d0a101e7139 leds: lm3601x: Don't use mutex after it was destroyed
    54a3201f3c1f wifi: ath10k: add peer map clean up for peer delete in ath10k_sta_state()
    714536ff6f6c wifi: rtlwifi: 8192de: correct checking of IQK reload
    80a474502ef5 NFSD: Fix handling of oversized NFSv4 COMPOUND requests
    dc7f225090c2 NFSD: Protect against send buffer overflow in NFSv2 READDIR
    cedaf73c8bda SUNRPC: Fix svcxdr_init_encode's buflen calculation
    6b55707ff8b2 SUNRPC: Fix svcxdr_init_decode's end-of-buffer calculation
    aed881630557 nfsd: Fix a memory leak in an error handling path
    5c4b234c44cb objtool: Preserve special st_shndx indexes in elf_update_symbol
    425a2a9469d2 ARM: 9247/1: mm: set readonly for MT_MEMORY_RO with ARM_LPAE
    2647b20e043c ARM: 9244/1: dump: Fix wrong pg_level in walk_pmd()
    93296e7ab774 MIPS: SGI-IP27: Fix platform-device leak in bridge_platform_create()
    993b13abde17 MIPS: SGI-IP27: Free some unused memory
    959855093f94 sh: machvec: Use char[] for section boundaries
    91fafd22f852 thermal: cpufreq_cooling: Check the policy first in cpufreq_cooling_register()
    81fb3ee298d5 ntfs3: rework xattr handlers and switch to POSIX ACL VFS helpers
    33d478eee2b5 userfaultfd: open userfaultfds with O_RDONLY
    10918ebecdc9 ima: fix blocking of security.ima xattrs of unsupported algorithms
    b7af9b8be891 selinux: use "grep -E" instead of "egrep"
    73b8218ef4aa smb3: must initialize two ACL struct fields to zero
    adf428ae46be drm/amd/display: Fix vblank refcount in vrr transition
    60a517452560 drm/i915: Fix watermark calculations for gen12+ CCS+CC modifier
    01bd3eaa5371 drm/i915: Fix watermark calculations for gen12+ MC CCS modifier
    20018a252f19 drm/i915: Fix watermark calculations for gen12+ RC CCS modifier
    861f085f81fd drm/nouveau: fix a use-after-free in nouveau_gem_prime_import_sg_table()
    446d40e2a8cb drm/nouveau/kms/nv140-: Disable interlacing
    4dab0d27a421 staging: greybus: audio_helper: remove unused and wrong debugfs usage
    28eb4bdb23e2 KVM: VMX: Drop bits 31:16 when shoving exception error code into VMCS
    4f7b1e7d0f36 KVM: nVMX: Don't propagate vmcs12's PERF_GLOBAL_CTRL settings to vmcs02
    be1a6a61f1b3 KVM: nVMX: Unconditionally purge queued/injected events on nested "exit"
    379de01906eb KVM: x86/emulator: Fix handing of POP SS to correctly set interruptibility
    e3e5baa36879 blk-wbt: call rq_qos_add() after wb_normal is initialized
    e8e0a6f4b8a2 media: cedrus: Fix endless loop in cedrus_h265_skip_bits()
    b76fac61c33f media: cedrus: Set the platform driver data earlier
    b19254eadab3 efi: libstub: drop pointless get_memory_map() call
    5cda4a11b490 thunderbolt: Explicitly enable lane adapter hotplug events at startup
    d9c79fbcbdb6 tracing: Fix reading strings from synthetic events
    b9ab154d22b8 tracing: Add "(fault)" name injection to kernel probes
    8ae88c4842c2 tracing: Move duplicate code of trace_kprobe/eprobe.c into header
    84f4be2093e1 tracing: Add ioctl() to force ring buffer waiters to wake up
    32eb54a986f4 tracing: Wake up waiters when tracing is disabled
    2475de2bc0de tracing: Wake up ring buffer waiters on closing of the file
    48272aa48d80 tracing: Disable interrupt or preemption before acquiring arch_spinlock_t
    d4ab9bc5f56e ring-buffer: Fix race between reset page and reading page
    be60f698c276 ring-buffer: Add ring_buffer_wake_waiters()
    5201dd81aef7 ring-buffer: Check pending waiters when doing wake ups as well
    bc6d4e9d6484 ring-buffer: Have the shortest_full queue be the shortest not longest
    e8d116738514 ring-buffer: Allow splice to read previous partially read pages
    fb96b7489fbd ftrace: Properly unset FTRACE_HASH_FL_MOD
    31dc1727c103 livepatch: fix race between fork and KLP transition
    36997b75bbb3 ext4: update 'state->fc_regions_size' after successful memory allocation
    417b0455a0b6 ext4: fix potential memory leak in ext4_fc_record_regions()
    9b5eb368a86f ext4: fix potential memory leak in ext4_fc_record_modified_inode()
    ef1607c99136 ext4: fix miss release buffer head in ext4_fc_write_inode
    d29fa1ab4e62 ext4: fix dir corruption when ext4_dx_add_entry() fails
    d12471b41674 ext4: place buffer head allocation before handle start
    46e5f470a144 ext4: ext4_read_bh_lock() should submit IO if the buffer isn't uptodate
    1f5e643b3829 ext4: don't increase iversion counter for ea_inodes
    dd366295d1ec ext4: fix check for block being out of directory size
    4a967fe8b043 ext4: make ext4_lazyinit_thread freezable
    533c60a0b97c ext4: fix null-ptr-deref in ext4_write_info
    d8e4af8314df ext4: avoid crash when inline data creation follows DIO write
    56fcd0788f0d jbd2: add miss release buffer head in fc_do_one_pass()
    d11d2ded2939 jbd2: fix potential use-after-free in jbd2_fc_wait_bufs
    e7385c868ee0 jbd2: fix potential buffer head reference count leak
    d87fe290a533 jbd2: wake up journal waiters in FIFO order, not LIFO
    7434626c5eaa hardening: Remove Clang's enable flag for -ftrivial-auto-var-init=zero
    095493833b18 hardening: Avoid harmless Clang option under CONFIG_INIT_STACK_ALL_ZERO
    73687c53919f f2fs: fix to do sanity check on summary info
    ed854f10e6af f2fs: fix to do sanity check on destination blkaddr during recovery
    7f10357c9046 f2fs: increase the limit for reserve_root
    0035b84223de f2fs: flush pending checkpoints when freezing super
    ab4958975490 f2fs: complete checkpoints during remount
    0a408c6212c1 btrfs: set generation before calling btrfs_clean_tree_block in btrfs_init_new_buffer
    4b996a3014ef btrfs: fix race between quota enable and quota rescan ioctl
    0d9423034308 fs: record I_DIRTY_TIME even if inode already has I_DIRTY_INODE
    95a520b591c9 ksmbd: Fix user namespace mapping
    a19f316406ea ksmbd: Fix wrong return value and message length check in smb2_ioctl()
    39b685562825 ksmbd: fix endless loop when encryption for response fails
    2b0897e33682 fbdev: smscufx: Fix use-after-free in ufx_ops_open()
    aa7b2c927e4e pinctrl: rockchip: add pinmux_ops.gpio_set_direction callback
    5d97378b3626 gpio: rockchip: request GPIO mux to pinctrl when setting direction
    e0b1c16fdadd scsi: qedf: Populate sysfs attributes for vport
    1d567179f277 slimbus: qcom-ngd: cleanup in probe error path
    fa0aab2e45f0 slimbus: qcom-ngd: use correct error in message of pdr_add_lookup() failure
    ba2159df1806 powerpc/boot: Explicitly disable usage of SPE instructions
    9df2a9cdad5b powercap: intel_rapl: Use standard Energy Unit for SPR Dram RAPL domain
    75d9de25a6f8 NFSD: Protect against send buffer overflow in NFSv3 READ
    2be9331ca606 NFSD: Protect against send buffer overflow in NFSv2 READ
    071a076fd1b7 NFSD: Protect against send buffer overflow in NFSv3 READDIR
    209a94c5192b serial: 8250: Request full 16550A feature probing for OxSemi PCIe devices
    63a3d75cf18c serial: 8250: Let drivers request full 16550A feature probing
    26e5c79e673c PCI: Sanitise firmware BAR assignments behind a PCI-PCI bridge
    7c16d0a4e6a4 xen/gntdev: Accommodate VMA splitting
    1cb73704cb47 xen/gntdev: Prevent leaking grants
    43bed0a13a5c mm/mmap: undo ->mmap() when arch_validate_flags() fails
    2b0072d33eb6 mm/damon: validate if the pmd entry is present before accessing
    91c4eb16e804 arm64: errata: Add Cortex-A55 to the repeat tlbi list
    fc0f921b7e6e drm/udl: Restore display mode on resume
    064093472524 drm/virtio: Use appropriate atomic state in virtio_gpu_plane_cleanup_fb()
    fb3910436be4 drm/virtio: Unlock reservations on virtio_gpu_object_shmem_init() error
    f122bcb34f1a drm/virtio: Check whether transferred 2D BO is shmem
    a95fb5d55af0 dmaengine: mxs: use platform_driver_register
    e7a3334e83f9 Revert "drm/amdgpu: use dirty framebuffer helper"
    4bdedc3b5341 nvme-pci: set min_align_mask before calculating max_hw_sectors
    32aa0b3f0c06 nvme-multipath: fix possible hang in live ns resize with ANA access
    9391cc3a787a nvmem: core: Fix memleak in nvmem_register()
    7efe61dc6aa4 UM: cpuinfo: Fix a warning for CONFIG_CPUMASK_OFFSTACK
    81ab826a285d riscv: Pass -mno-relax only on lld < 15.0.0
    7780bb02a069 riscv: always honor the CONFIG_CMDLINE_FORCE when parsing dtb
    c657b70e8074 riscv: Make VM_WRITE imply VM_READ
    3c3c4fa118a4 riscv: Allow PROT_WRITE-only mmap()
    af3aaee08df8 parisc: fbdev/stifb: Align graphics memory size to 4MB
    dc235db7b79a RISC-V: Make port I/O string accessors actually work
    8c487db000fd riscv: topology: fix default topology reporting
    d46c24f307fb arm64: topology: move store_cpu_topology() to shared code
    fcf0f6cbb653 regulator: qcom_rpm: Fix circular deferral regression
    78d81a8a8ce1 net: thunderbolt: Enable DMA paths only after rings are enabled
    3281e81ce90c hwmon: (gsc-hwmon) Call of_node_get() before of_find_xxx API
    e1ab98ec2bc9 ASoC: wcd934x: fix order of Slimbus unprepare/disable
    a2140a9922d1 ASoC: wcd9335: fix order of Slimbus unprepare/disable
    d0507b36da9f platform/chrome: cros_ec_proto: Update version on GET_NEXT_EVENT failure
    fcfeecca153d quota: Check next/prev free block number after reading from quota file
    17214cfab73b HID: multitouch: Add memory barriers
    219e4a0f9d68 fs: dlm: handle -EBUSY first in lock arg validation
    34ed22dd2860 fs: dlm: fix race between test_bit() and queue_work()
    7fa5304c4b5b i2c: designware: Fix handling of real but unexpected device interrupts
    f9effcefa8be mmc: sdhci-sprd: Fix minimum clock limit
    a4df91a88c3f can: kvaser_usb_leaf: Fix CAN state after restart
    0c28c2c0cfa2 can: kvaser_usb_leaf: Fix TX queue out of sync after restart
    b8c4f6345e0e can: kvaser_usb_leaf: Fix overread with an invalid command
    de4434d6823c can: kvaser_usb: Fix use of uninitialized completion
    354d768e315d usb: add quirks for Lenovo OneLink+ Dock
    103b459590e1 xhci: dbc: Fix memory leak in xhci_alloc_dbc()
    39f4c90b9995 iio: pressure: dps310: Reset chip after timeout
    bc493cd75466 iio: pressure: dps310: Refactor startup procedure
    5f6bfc1926bb iio: adc: ad7923: fix channel readings for some variants
    1be580ed8403 iio: ltc2497: Fix reading conversion results
    ef4018707df8 iio: dac: ad5593r: Fix i2c read protocol requirements
    60480291c1fc cifs: Fix the error length of VALIDATE_NEGOTIATE_INFO message
    0d814a2199cf cifs: destage dirty pages before re-reading them for cache=none
    15993e9a9b12 hv_netvsc: Fix race between VF offering and VF association message from host
    f9dc33f23153 io_uring/net: don't update msg_name if not provided
    a1bd289c10ac mtd: rawnand: atmel: Unmap streaming DMA mappings
    3e4d2375d154 ALSA: hda/realtek: Add Intel Reference SSID to support headset keys
    41e83faf036c ALSA: hda/realtek: Add quirk for ASUS GV601R laptop
    c01f385c70db ALSA: hda/realtek: Correct pin configs for ASUS G533Z
    0d50e05ecc2c ALSA: hda/realtek: remove ALC289_FIXUP_DUAL_SPK for Dell 5530
    ec439b97d983 ALSA: usb-audio: Fix NULL dererence at error path
    0672215994e2 ALSA: usb-audio: Fix potential memory leaks
    550ca3082ebd ALSA: rawmidi: Drop register_mutex in snd_rawmidi_free()
    45899fae65e5 ALSA: oss: Fix potential deadlock at unregistration
    5ca155aa79e9 Revert "fs: check FMODE_LSEEK to control internal pipe splicing"

(From OE-Core rev: 3660f67312ae8a320ba0c66b01e419e5957a36e7)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 865633976508a3af002a68f0c68d36a74ce6b53c)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-07 15:02:45 +00:00
Bruce Ashfield
2b18751127 linux-yocto/5.15: update to v5.15.74
Updating  to the latest korg -stable release that comprises
the following commits:

    a3f2f5ac9d61 Linux 5.15.74
    de124365a7d2 wifi: mac80211: fix MBSSID parsing use-after-free
    7d998f6b7365 mac80211: fix memory leaks with element parsing
    fee48f3bdd75 mac80211: always allocate struct ieee802_11_elems
    630060f11756 mac80211: mlme: find auth challenge directly
    21df3a583e8e mac80211: move CRC into struct ieee802_11_elems
    864f2d3482f4 mac80211: mesh: clean up rx_bcn_presp API
    e5ebcbb4f967 misc: pci_endpoint_test: Fix pci_endpoint_test_{copy,write,read}() panic
    cb9defecf381 misc: pci_endpoint_test: Aggregate params checking for xfer
    2c657a0cbd48 Input: xpad - fix wireless 360 controller breaking after suspend
    db4db28fccb4 Input: xpad - add supported devices as contributed on github
    d15bb1f6dabe wifi: cfg80211: update hidden BSSes to avoid WARN_ON
    93a3a3255407 wifi: mac80211: fix crash in beacon protection for P2P-device
    fff244e9171b wifi: mac80211_hwsim: avoid mac80211 warning on bad rate
    0a8ee682e4f9 wifi: cfg80211: avoid nontransmitted BSS list corruption
    bfe29873454f wifi: cfg80211: fix BSS refcounting bugs
    9e99ca59ed39 wifi: cfg80211: ensure length byte is present before access
    0a861bd25dad wifi: cfg80211/mac80211: reject bad MBSSID elements
    9a8ef2030510 wifi: cfg80211: fix u8 overflow in cfg80211_update_notlisted_nontrans()
    398e30b67092 random: use expired timer rather than wq for mixing fast pool
    984faa6fc759 random: avoid reading two cache lines on irq randomness
    a937c59863d7 Revert "crypto: qat - reduce size of mapped region"
    0e3ff69ee691 Revert "powerpc/rtas: Implement reentrant rtas call"
    e0295c43166b USB: serial: qcserial: add new usb-id for Dell branded EM7455
    76efb4897bc3 scsi: stex: Properly zero out the passthrough command structure
    5fbbe7e98e9b efi: Correct Macmini DMI match in uefi cert quirk
    8754dc846d03 ALSA: hda: Fix position reporting on Poulsbo
    14f143fb4268 random: clamp credited irq bits to maximum mixed
    be53fa6cf667 random: restore O_NONBLOCK support
    2f96da3fd18f ceph: don't truncate file in atomic_open
    c0c3d3d3ea41 nilfs2: replace WARN_ONs by nilfs_error for checkpoint acquisition failure
    44b1ee304bac nilfs2: fix leak of nilfs_root in case of writer thread creation failure
    cb602c2b654e nilfs2: fix use-after-free bug of struct nilfs_root
    1e512c65b4ad nilfs2: fix NULL pointer dereference at nilfs_bmap_lookup_at_level()
    17aac9b7af2b Linux 5.15.73
    f7b16f51753a Revert "clk: ti: Stop using legacy clkctrl names for omap4 and 5"
    d8b1b64a070e rpmsg: qcom: glink: replace strncpy() with strscpy_pad()
    d58eb80b723d USB: serial: ftdi_sio: fix 300 bps rate for SIO
    5ff80339cdc3 usb: mon: make mmapped memory read only
    278fefd29eea net/mlx5: Disable irq when locking lag_lock
    54f382d4b7f8 wifi: cfg80211: fix MCS divisor value
    0fa249414a6f mm/huge_memory: use pfn_to_online_page() in split_huge_pages_all()
    f1d6894159fc mm/huge_memory: minor cleanup for split_huge_pages_all
    7190afd4cd5f perf parse-events: Identify broken modifiers
    f6f740f6ca3b mmc: core: Terminate infinite loop in SD-UHS voltage switch
    9635e05e015a mmc: core: Replace with already defined values for readability
    f2af62d909ad drm/amd/display: skip audio setup when audio stream is enabled
    d444cfe6d047 drm/amd/display: update gamut remap if plane has changed
    4afcb53474ae drm/amd/display: Assume an LTTPR is always present on fixed_vs links
    5e76ff629a20 drm/amd/display: Fix double cursor on non-video RGB MPO
    e6590139ffa3 net: atlantic: fix potential memory leak in aq_ndev_close()
    005e368a61bc arch: um: Mark the stack non-executable to fix a binutils warning
    5f85191bedba um: Cleanup compiler warning in arch/x86/um/tls_32.c
    6827af886be8 um: Cleanup syscall_handler_t cast in syscalls_32.h
    f386b373e9f7 ALSA: hda/hdmi: Fix the converter reuse for the silent stream
    a36b2dc5c0da net: marvell: prestera: add support for for Aldrin2
    d2588ba1a338 net/ieee802154: fix uninit value bug in dgram_sendmsg
    1030659dac4e scsi: qedf: Fix a UAF bug in __qedf_probe()
    f7126aa3624c ARM: dts: fix Moxa SDIO 'compatible', remove 'sdhci' misnomer
    968299cd58b7 dmaengine: xilinx_dma: Report error in case of dma_set_mask_and_coherent API failure
    17f55255af4c dmaengine: xilinx_dma: cleanup for fetching xlnx,num-fstores property
    b2f275550136 dmaengine: xilinx_dma: Fix devm_platform_ioremap_resource error handling
    fd425b89d040 firmware: arm_scmi: Add SCMI PM driver remove routine
    e092fc3a2892 firmware: arm_scmi: Harden accesses to the sensor domains
    9f81dbb934fb firmware: arm_scmi: Improve checks in the info_get operations
    64b79e632869 fs: fix UAF/GPF bug in nilfs_mdt_destroy
    31bdba07f6b2 powerpc/64s/radix: don't need to broadcast IPI for radix pmd collapse flush
    46c22e7b094f mm: gup: fix the fast GUP race against THP collapse
    88ccea0a4458 xsk: Inherit need_wakeup flag for shared sockets
    f07fbefcea5b docs: update mediator information in CoC docs
    cf26ddb96b4f Makefile.extrawarn: Move -Wcast-function-type-strict to W=1

(From OE-Core rev: 6a53f59d89a0a02c95861b9e9ed98b39fae14f28)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit e4d9e5bb39700022cd428bb922a329101fc0f1b0)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-07 15:02:45 +00:00
Xiangyu Chen
4744f7895e dbus: upgrade 1.14.0 -> 1.14.4
License-Update: D-Bus changed to dbus.
1.14.4 has contians following CVEs, removing local patches:

CVE-2022-42012: 0001-dbus-marshal-byteswap-Byte-swap-Unix-fd-indexes-if-n.patch
[3fb065b075]

CVE-2022-42011: 0001-dbus-marshal-validate-Validate-length-of-arrays-of-f.patch
[b9e6a75230]

CVE-2022-42010: 0001-dbus-marshal-validate-Check-brackets-in-signature-ne.patch
[3e53a785de]

(From OE-Core rev: 300216ca357ae58fbe52e49c76832b66f15c6c13)

Signed-off-by: Xiangyu Chen <xiangyu.chen@eng.windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-07 15:02:45 +00:00
Polampalli, Archana
c241999880 libpam: fix CVE-2022-28321
The Linux-PAM package before 1.5.2-6.1 for openSUSE Tumbleweed allows
authentication bypass for SSH logins. The pam_access.so module doesn't
correctly restrict login if a user tries to connect from an IP address
that is not resolvable via DNS. In such conditions, a user with denied
access to a machine can still get access. NOTE: the relevance of this
issue is largely limited to openSUSE Tumbleweed and openSUSE Factory;
it does not affect Linux-PAM upstream.

References:
https://nvd.nist.gov/vuln/detail/CVE-2022-28321

Upstream patches:
08992030c5
23393bef92

(From OE-Core rev: 399d4986a7707c081dd5da1991647cb02cbea69c)

Signed-off-by: Archana Polampalli <archana.polampalli@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit b1fd799af0086347de1ec4b72d562b1fb490def1)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-07 15:02:45 +00:00
Chee Yang Lee
183f2ddcf6 dropbear: fix CVE-2021-36369
(From OE-Core rev: 212dd2ce833aaf7f19111e95fbc22fc8c6d63db4)

Signed-off-by: Chee Yang Lee <chee.yang.lee@intel.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-07 15:02:45 +00:00
Bhabu Bindu
bfec99ed33 curl: Fix CVE-2022-42915
HTTP proxy double-free

Link: https://security-tracker.debian.org/tracker/CVE-2022-42915

(From OE-Core rev: 4754f33d7ec96f72351853463540c8b1a3f4bc0c)

Signed-off-by: Bhabu Bindu <bhabu.bindu@kpit.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-07 15:02:45 +00:00
Bhabu Bindu
b1ea1218bd curl: Fix CVE-2022-42916
HSTS bypass via IDN

Link: https://security-tracker.debian.org/tracker/CVE-2022-42916

(From OE-Core rev: e6796b426503477620e0e5c5c9da50352269a593)

Signed-off-by: Bhabu Bindu <bhabu.bindu@kpit.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-07 15:02:45 +00:00
Bhabu Bindu
17c2b23373 curl: Fix CVE-2022-32221
POST following PUT confusion

Link: https://ubuntu.com/security/CVE-2022-32221

(From OE-Core rev: 518bea85c9496d77c70d703b818e442eda841554)

Signed-off-by: Bhabu Bindu <bhabu.bindu@kpit.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-07 15:02:45 +00:00
Martin Jansa
6c79f0424b tiff: add CVE tag to b258ed69a485a9cfb299d9f060eb2a46c54e5903.patch
* according to https://bugzilla.redhat.com/show_bug.cgi?id=2118863
  this commit should be the fix for CVE-2022-2868

* resolves false-possitive entry in:
  https://lists.yoctoproject.org/g/yocto-security/message/705

  CVE-2022-2868 (CVSS3: 8.1 HIGH): tiff https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2022-2868

(From OE-Core rev: 97ad71541996023075950337e8b133c1a8551e0f)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-07 15:02:45 +00:00
Qiu, Zheng
38f46024d7 tiff: Security fix for CVE-2022-3970
This patch contains a fix for CVE-2022-3970

Reference:
https://nvd.nist.gov/vuln/detail/CVE-2022-3970
https://security-tracker.debian.org/tracker/CVE-2022-3970

Patch generated from :
227500897d

(From OE-Core rev: d4b231e1baa0c4c6fa8eaa2e25170eeb29cd1cdf)

Signed-off-by: Zheng Qiu <zheng.qiu@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-07 15:02:45 +00:00
Ross Burton
0f37d51b2c tiff: fix a number of CVEs
Backport fixes from upstream for the following CVEs:
- CVE-2022-3599
- CVE-2022-3597
- CVE-2022-3626
- CVE-2022-3627
- CVE-2022-3570
- CVE-2022-3598

(From OE-Core rev: ad0780059a105b74313eb6a357360f5ad32333a4)

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>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-07 15:02:45 +00:00
Martin Jansa
809591e49c tiff: refresh with devtool
* so that they can be easily and cleanly applied with "git am"
* manually fix CVE-2022-2953.patch commit message not to use UTF-8
  quotes and replace it with human readable text from original commit:
  8fe3735942

(From OE-Core rev: 535c814259ec63916debb17a326fa328c4f6237b)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-07 15:02:45 +00:00
Xiangyu Chen
69908c22b3 grub2: backport patch to fix CVE-2022-2601 CVE-2022-3775
Backport patch from upstream to solve CVE-2022-2601 CVE-2022-3775 dependency:
font: Fix size overflow in grub_font_get_glyph_internal()
(https://git.savannah.gnu.org/cgit/grub.git/commit/?id=9c76ec09ae08155df27cd237eaea150b4f02f532)

Backport patch from upstream to fix following CVEs:
CVE-2022-2601: font: Fix several integer overflows in grub_font_construct_glyph()
(https://git.savannah.gnu.org/cgit/grub.git/commit/?id=768e1ef2fc159f6e14e7246e4be09363708ac39e)
CVE-2022-3775: font: Fix an integer underflow in blit_comb()
(https://git.savannah.gnu.org/cgit/grub.git/commit/?id=992c06191babc1e109caf40d6a07ec6fdef427af)

(From OE-Core rev: 0fc6693ab4f2f4b231b80c9675acea4e54b973f0)

Signed-off-by: Xiangyu Chen <xiangyu.chen@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-07 15:02:45 +00:00
Konrad Weihmann
2b2b8af7c0 create-spdx: default share_src for shared sources
if a source is using work-shared but isn't a kernel,
like for instance llvm-source from meta-clang, share_src was
previously undefined leading to a crash of the python code.
Default to WORKDIR and just override it in case the source being
a kernel recipe.
Additionally changes the variable names in the following, as
they imply that it's only about the kernel, which is not the case
in every case

(From OE-Core rev: 34fa68a0b07328c4ed4eef81f8cde80137a91f18)

(From OE-Core rev: 5b2ee67e3a5587b4c7d97d2a9bc00022d1eedae3)

Signed-off-by: Konrad Weihmann <kweihmann@witekio.com>
On-behalf-of: Avnet Embedded <AvnetEmbedded@avnet.eu>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-01 19:35:05 +00:00
Peter Marko
be6308ec75 meta-selftest/staticids: add render group for systemd
(From OE-Core rev: ba1db7f9189526b02e3d75d375ece53953c2e942)

Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 5b761270267063afb0462d1ebf99cabe32ff4e0a)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-01 19:35:05 +00:00
Peter Marko
7307525128 systemd: add group render to udev package
From NEWS for v236:
* The "uaccess" udev tag has been dropped from /dev/kvm and
  /dev/dri/renderD*.  These devices now have the 0666 permissions by
  default (but this may be changed at build-time). /dev/dri/renderD*
  will now be owned by the "render" group along with /dev/kfd.

Without the group systemd-udevd startup logs:
  /lib/udev/rules.d/50-udev-default.rules:39 Unknown group 'render', ignoring
  /lib/udev/rules.d/50-udev-default.rules:40 Unknown group 'render', ignoring

(From OE-Core rev: f902338f312cf5c55b2857e5c7e980cb11a26a9c)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 84efd72d48616405dbe4d73ec95917077144ed09)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-01 19:35:05 +00:00
Richard Purdie
d02e6be2d6 sanity: Drop data finalize call
This call was effectively like update_data and no longer did anything
in bitbake. Drop it as it is obsolete.

(From OE-Core rev: 06e088ef6e961f05ca600612adcc71bff91f09be)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit d3eb4531aae28a07cb7e52ed5fe1102445d2effd)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-01 19:35:05 +00:00
Jose Quaresma
75d5813df2 sstate: Allow optimisation of do_deploy_archives task dependencies
do_deploy_archives tasks don't need their dependencies so we can optimistion
this as we do for some other tasks.

(From OE-Core rev: 1e32ad0849f06aee92fe844e8eaee73c5935bfb0)

Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 3dd9f6e398844380d3765c54d35afe0d2ccf82e7)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-01 19:35:05 +00:00
Jose Quaresma
d97e4658e8 rm_work: exclude the SSTATETASKS from the rm_work tasks sinature
We can exclude the SSTATETASKS from the rm_work task signature
to avoid running the task when we remove some setscene tasks
from the dependencie chain.

The inject_rm_work handler on the rm_work bbclass triggers the
rm_work task running for any signature change in the dependencie
chain of the task do_build of each recipe.

i.e INHERIT:remove = "create-spdx" will trigger the do_rm_work
when we collect the sstate cache with INHERIT = "create-spdx"

(From OE-Core rev: c06df50b0c7e6ecb138f37c51196c57295649437)

Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 77729bea5b17d65dafb604fd1665c612091b28c7)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-01 19:35:05 +00:00
Jose Quaresma
39f3e183c1 sstatesig: skip the rm_work task signature
We can skip the rm_work task signature to avoid running the task
when we remove some tasks from the dependencie chain.

The inject_rm_work handler on the rm_work bbclass triggers the
rm_work task running for any signature change in the dependencie
chain of the task do_build of each recipe.

i.e INHERIT:remove = "create-spdx" will trigger the do_rm_work
when we collect the sstate cache with INHERIT = "create-spdx"

(From OE-Core rev: ad52bb4643eb8063ff4db6bcb86b9a593ad6ce7d)

Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 292305700e39d0ebd64763f5032c39ace5005fad)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-01 19:35:05 +00:00
Alexander Kanavin
a5ce03a162 gnomebase.bbclass: return the whole version for tarball directory if it is a number
E.g. if version is '43' without any dots, existing code would return ''.

(From OE-Core rev: f3dfc90b8d4e7735eedfeab99d0ebe2ba6e970a0)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 38c15322bdbb2423973939e861b5ad1ffb5c8b7f)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-01 19:35:05 +00:00
Alexander Kanavin
3888c2e844 vala: install vapigen-wrapper into /usr/bin/crosscripts and stage only that
Staging the whole /usr/bin is not correct, as it pulls in also
all the vala's cross binaries, which may be discovered by other recipes
and things will go wrong then.

(From OE-Core rev: 66bdef9f5cae941c5067d88b1d26b2d6236ec56d)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 52629d9db0344146ff4734632b17bd731e247fd5)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-01 19:35:05 +00:00
Ross Burton
f8dfd32247 linux-firmware: don't put the firmware into the sysroot
There's no need to have linux-firmware in the sysroot. The sysroot won't
ever be used anyway as nothing needs the firmware at build-time, but this
saves us building a ~900MB sysroot (~300MB sstate tarball).

(From OE-Core rev: a75f20f71b4dd964befbae2f517d0f41f02fb4fc)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 26ed998c4f201c5cacf330f52e51e416afbd300c)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-01 19:35:05 +00:00
Joshua Watt
f237fd313e qemu-helper-native: Correctly pass program name as argv[0]
The previous version of this wasn't correctly passing the program name
as argv[0], and was also over-complicated anyway because argv[] is
guaranteed to be terminated with a NULL pointer, so it can be passed
directly to the execv'd process without needing to be copied.

(From OE-Core rev: c8b7a0570903fc7916530c2fcffaee3b61f27301)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 6edf38add3c20c44efe0588e2815bb280d22e0c4)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-01 19:35:05 +00:00
Joshua Watt
69cf7cc720 qemu-helper-native: Re-write bridge helper as C program
The bridge helper program is invoked directly from QEMU when it needs to
attach to a network bridge. As such, it is subject to the environment of
QEMU itself. Specifically, if bridging is enabled with direct rendering
acceleration, QEMU is run with an LD_PRELOAD that attempts to preload
several uninative libraries; however /bin/sh doesn't use the uninative
loader which means it can fail to start with an error like:

 /bin/sh: symbol lookup error: sysroots-uninative/x86_64-linux/lib/librt.so.1: undefined symbol: __libc_unwind_link_get, version GLIBC_PRIVATE

Converting the helper program to a C program resolves this problem
because it will now use the uninative loader so the preload doesn't
cause errors.

(From OE-Core rev: 428a0be91eafb961f0fe92d2abccde5352c54c54)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit f698e98f2f09952b34488b8cf9e73e82bd7aea07)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-01 19:35:05 +00:00
Wang Mingyu
0a1f9f4d2c iso-codes: upgrade 4.11.0 -> 4.12.0
Changelog:
=========
- ISO 3166-1: Update name for TR. Fixes #38
- Translation updates for ISO 3166-1
- Translation updates for ISO 3166-2. Closes: #1020633
- Translation updates for ISO 3166-3
- Translation updates for ISO 639-2
- Translation updates for ISO 639-3
- Translation updates for ISO 639-5
- Translation updates for ISO 4217
- Translation updates for ISO 15924

(From OE-Core rev: 017abb138460978e87c84c509f9af7524a053e1b)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 99917b4b7d5642b292cb95c770871b95e411dfc5)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-01 19:35:05 +00:00
Wang Mingyu
60016e5b2a babeltrace: upgrade 1.5.8 -> 1.5.11
Changelog:
===========
* Fix: distutils removed in python 3.12
* Fix: use-after-free with popt 1.19
* configure.ac: Basic fixes for autoconf 2.70
* Add gerrit config for stable-1.5
* port: disable debug-info by default on FreeBSD
* port: add missing includes for FreeBSD compat
* bindings: try importing collections.abc first for forward compatibility
* man: fix typo in babeltrace.1

(From OE-Core rev: e1e74360ef3fe2adfac95b3c142ca31e1ee180b7)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit a8f3e4f92f968eb96df11203ff442e6e42634915)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-01 19:35:05 +00:00
Wang Mingyu
68cc06e5d0 mobile-broadband-provider-info: upgrade 20220725 -> 20221107
(From OE-Core rev: d9c986703568e115df7ce87b548879d1d732116f)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 7e12fa1e6250fc358ba159a6b626458d871f7ccf)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-01 19:35:05 +00:00
Alexander Kanavin
a409c33f2f libepoxy: update 1.5.9 -> 1.5.10
Changes since 1.5.9
- Fix for building with MSVC on non-English locale [Seungha Yang]
- Fix build on Android [Caolán McNamara]
- Add the right include paths for EGL and X11 headers [Alex Richardson]

(From OE-Core rev: 6a3e430a776866c05d354d272c0513dbf188ed34)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 436cb3c98c582e17e6ed2491cc6598c56976af46)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-01 19:35:05 +00:00
Alexander Kanavin
a283e779c5 libepoxy: convert to git
Latest version doesn't come with stable tarballs.

(From OE-Core rev: 1944a5dd84c3629c9c994383e2904731cf28ea87)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 4b6eed2bb323a3c7390ca3ad426afe27e9072bf0)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-01 19:35:05 +00:00
Alexander Kanavin
e4791eff39 gstreamer1.0: upgrade 1.20.3 -> 1.20.4
The fourth 1.20 bug-fix release (1.20.4) was released on 12 October 2022.

This release only contains bugfixes and it should be safe to upgrade from 1.20.x.

Highlighted bugfixes in 1.20.4

- avaudiodec: fix playback issue with WMA files, would throw an error at EOS with FFmpeg 5.x
- Fix deadlock when loading gst-editing-services plugin
- Fix input buffering capacity in live mode for aggregator, video/audio aggregator subclasses, muxers
- glimagesink: fix crash on Android
- subtitle handling and subtitle overlay fixes
- matroska-mux: allow width + height changes for avc3|hev1|vp8|vp9
- rtspsrc: fix control url handling for spec compliant servers and add fallback for incompliant servers
- WebRTC fixes
- RTP retransmission fixes
- video: fixes for formats with 4x subsampling and horizontal co-sited chroma (Y41B, YUV9, YVU9 and IYU9)
- macOS build and packaging fixes, in particular fix finding of gio modules on macOS for https/TLS support
- Fix consuming of the macOS package as a framework in XCode
- Performance improvements
- Miscellaneous bug fixes, memory leak fixes, and other stability and reliability improvements

(From OE-Core rev: cb8842b09959f4eefdc7d638a435db4361fd2441)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 58e4825328dafd7f593d9eb42be5506408627a31)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-01 19:35:05 +00:00
Alexander Kanavin
5fc715e89e gdk-pixbuf: upgrade 2.42.9 -> 2.42.10
2.42.10 (stable)
===

- Search for rst2man.py [!145, Matt Turner]
- Update the memory size limit for JPEG images [#216, #218]
- Translation updates

(From OE-Core rev: 58629c6c42f018b9faa200c39e819c2db38fd935)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 01e1828f8e5bcb0ad88b89fe783c2973480695bb)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-01 19:35:05 +00:00
Alexander Kanavin
2fd0c58c94 mtd-utils: upgrade 2.1.4 -> 2.1.5
Raw short log since the 2.1.4 release:

Alex Henrie (1):
       mkfs.jffs2: fix spelling of --compression-mode parameter in help text

Andrew Mellor (1):
       ubinfo: Fix --vol_id return code for absent volume id

Christophe Kerello (1):
       nandflipbits: fix corrupted oob

David Oberhollenzer (1):
       Release mtd-utils-2.1.5

Enrico Jorns (1):
       libmtd: do not ignore non-zero eraseblock size when MTD_NO_ERASE is set

Frederic Germain (2):
       .gitignore: add new ubiscan utility
       Fix warning about unaligned pointer in jffs2reader

Khem Raj (1):
       tests: Remove unused linux/fs.h header from includes

Michael Walle (1):
       mtd-utils: flash_otp_dump make offset optional

Mike Frysinger (1):
       fix test bashism

Rafał Miłecki (1):
       nandwrite: warn about writing 0xff blocks

Sascha Hauer (1):
       mtd-utils: nanddump: fix writing big images on 32bit machines

liaohua (1):
       nor-utils: fix memory leak

(From OE-Core rev: 7f2503ef132634431b28207c51b3fd18de076eb9)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit a3289c988764e5b864873b4adc7656c101a5b9c0)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-01 19:35:05 +00:00
Alexander Kanavin
54fc3e7d5d libical: upgrade 3.0.15 -> 3.0.16
Version 3.0.16 is a patch release.

- Fix regressions in 3.0.15 due to improperly tested fuzz fixes
- Fix argument guards in icaltime_as_timet to match documentation and tests.

(From OE-Core rev: 6d68985f1a7a55cda92c177c739e51cac3faf653)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 77d4557d6f6a1405d03bb5dc7ca23d7ee78c2037)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-01 19:35:04 +00:00
Alexander Kanavin
844f11d08d libffi: upgrade 3.4.2 -> 3.4.4
3.4.4 Oct-23-2022
    Important aarch64 fixes, including support for linux builds
      with Link Time Optimization (-flto).
    Fix x86 stdcall stack alignment.
    Fix x86 Windows msvc assembler compatibility.
    Fix moxie and or1k small structure args.

3.4.3 Sep-19-22
    All struct args are passed by value, regardless of size, as per ABIs.
    Enable static trampolines for Cygwin.
    Add support for Loongson's LoongArch64 architecture.
    Fix x32 static trampolines.
    Fix 32-bit x86 stdcall stack corruption.
    Fix ILP32 aarch64 support.

License-Update: copyright years

(From OE-Core rev: 6ad074b1caff63e90805aac25cca8a831b57273d)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 5b42ba98ef26a52bad8de1790b402938fec4a160)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-01 19:35:04 +00:00
Wang Mingyu
6856637a81 xwayland: upgrade 22.1.4 -> 22.1.5
(From OE-Core rev: 9c1fc7e6c3d96f17f3eed2d8665dd6388ddcf1c5)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 48ca760427f14ae291bf2ebf6f93f8d0fb27e3ab)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-01 19:35:04 +00:00
Alexander Kanavin
7634c6d954 xwayland: upgrade 22.1.3 -> 22.1.4
(From OE-Core rev: eafe1a235894790a28a8f951cff9ddc7913ba227)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 553c080e0e30c8f6b69b4c5fae72903ee45ef6ae)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-01 19:35:04 +00:00
Alexander Kanavin
d36db96610 linux-firmware: upgrade 20220913 -> 20221012
License-Update: copyright years, additional firmwares

(From OE-Core rev: bb690da6ee765c40230f9919b012ceb51b9152ea)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 9f658c724b6635e5745f30b25601bcc51a004be4)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-01 19:35:04 +00:00
Sakib Sajal
1028aacb58 go: fix CVE-2022-2880
Backport patch to fix CVE-2022-2880.

(From OE-Core rev: a38f8316fdd0c9fc6fc7af195973028370935ba3)

Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-01 19:35:04 +00:00
Vivek Kumbhar
9510218414 python3: fix CVE-2022-42919 local privilege escalation via the multiprocessing forkserver start method
Upstream-Status: Backport from eae692eed1

(From OE-Core rev: 9ed7184930707c98afabca8c6b712df874ad659f)

Signed-off-by: Vivek Kumbhar <vkumbhar@mvista.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-01 19:35:04 +00:00
Narpat Mali
b712955b3b ffmpeg: fix for CVE-2022-3965
A vulnerability classified as problematic was found in ffmpeg. This vulnerability affects the function
smc_encode_stream of the file libavcodec/smcenc.c of the component QuickTime Graphics Video Encoder. The
manipulation of the argument y_size leads to out-of-bounds read. The attack can be initiated remotely.
The name of the patch is 13c13109759090b7f7182480d075e13b36ed8edd. It is recommended to apply a patch to
fix this issue. The identifier of this vulnerability is VDB-213544.

Reference:
https://nvd.nist.gov/vuln/detail/CVE-2022-3965

Upstream Fix:
13c1310975

(From OE-Core rev: c1f1ab29b5e2911a15b072e7feb0133320bad976)

Signed-off-by: Narpat Mali <narpat.mali@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-01 19:35:04 +00:00
Narpat Mali
fbb6e14013 ffmpeg: fix for CVE-2022-3964
A vulnerability classified as problematic has been found in ffmpeg. This affects an unknown part of the file
libavcodec/rpzaenc.c of the component QuickTime RPZA Video Encoder. The manipulation of the argument y_size
leads to out-of-bounds read. It is possible to initiate the attack remotely. The name of the patch is
92f9b28ed84a77138105475beba16c146bdaf984. It is recommended to apply a patch to fix this issue. The associated
identifier of this vulnerability is VDB-213543.

Reference:
https://nvd.nist.gov/vuln/detail/CVE-2022-3964

Upstream Fix:
92f9b28ed8

(From OE-Core rev: 40a1c9d3c839df6479582ac27264fac851a0d4c3)

Signed-off-by: Narpat Mali <narpat.mali@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-01 19:35:04 +00:00
Xiangyu Chen
97a5932101 bash: backport patch to fix CVE-2022-3715
CVE Reference: https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2022-3715

(From OE-Core rev: 69a52a564f45dafeb65a93a45d3db9c1d178526a)

Signed-off-by: Xiangyu Chen <xiangyu.chen@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-01 19:35:04 +00:00
Martin Jansa
c505f3539d libsndfile1: Backport fix for CVE-2021-4156
CVE: CVE-2021-4156

(From OE-Core rev: 174e79299d815f0a7dbef0668dc488ce10e89d3d)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-01 19:35:04 +00:00
Mikko Rapeli
7a5685ad74 common-tasks.rst: fix oeqa runtime test path
It's "runtime/cases" in master and kirkstone.
If layer specific tests are in "runtime" directory,
they will not be found.

(From yocto-docs rev: 23dcf002eec5136427554112af8679fc2b98e61d)

Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-12-01 19:16:38 +00:00
Sergei Zhmylev
8a4021d237 wic: make ext2/3/4 images reproducible
Ext2/3/4 FS contains not only mtime, but also ctime, atime and crtime.
Currently, all the files are being added into the rootfs image using
mkfs -d functionality which affects all the timestamps excluding mtime.
This patch ensures these timestamps inside the FS image equal to
the SOURCE_DATE_EPOCH if it is set.

(From OE-Core rev: da2c64b3158c58eb0a484d3acbdf0419df2d34e8)

Signed-off-by: Sergei Zhmylev <s.zhmylev@yadro.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 75d2dd0ea7790db2e8ee921784ca373abff2df65)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-24 15:30:01 +00:00
Richard Purdie
9a3bc4c51a gcc-source: Ensure deploy_source_date_epoch sstate hash doesn't change
Currently if you switch machines, gcc-source do_deploy_source_date_epoch
would re-run as the stamps are tune specific. This hasn't caused much
of an issue until now, however if we fix the gcc recipes to reuse the
timestamp from this task, it does then create problems.

Copy code from allarch to ensure this task hash doesn't change between
machines/tunes.

(From OE-Core rev: 1511cb3bae2d6e2dad48269108e68967ae302efc)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 7e052d03464ba5e880a6c5a0e45ff2f467ef97e8)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-24 15:30:01 +00:00
Richard Purdie
cb85229e3d gcc-source: Drop gengtype manipulation
Whilst we patch gengtype.cc, we don't patch gengtype-lex.cc which would
be the file which would trigger regeneration of files.

The real bug that was likely the cause for this fix is probably SDE issues
with gcc shared workdir so this code can now be dropped.

(From OE-Core rev: 8a49626bb32b40a2cf97fd8b80564b494ae38698)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 7ab82b5db2a737c2a0266280b15d343a27c0e1d5)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-24 15:30:01 +00:00
Richard Purdie
6ad627fe87 gcc-source: Fix gengtypes race
gcc renamed .c files to .cc files:

https://gcc.gnu.org/git/?p=gcc.git;a=commitdiff;h=5c69acb32329d49e58c26fa41ae74229a52b9106

but we didn't fix this reference which meant we re-introduced a race around
gengtypes-lex.c. This lead to the race reappearing on the autobuilder. Fix
the naming to avoid the problem again.

[YOCTO #14953]

(From OE-Core rev: ac7d5ea832c880002fd466360294ffb357e9c56c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit dbca40ed399405b663dbc3894e35596a2615f47d)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-24 15:30:01 +00:00
Richard Purdie
58ca943f91 gcc-shared-source: Fix source date epoch handling
The source date epoch for gcc isn't being transferred from the shared
workdir to the current WORKDIR for the specific recipe. This results in
the clamping code within sstate.bbclass using a value from 2011 which
changes the timestamps of many files. Since this happens part way
through the build, if pieces of gcc haven't built, or build/rebuild
later, we see things rebuilding when they should not and for generated
files, races are possible.

Fix this by copying the SDE from the shared workdir into the recipe
workdir.

[YOCTO #14953]

(From OE-Core rev: 0511f24264bcc27d6b61edd2e16f899c985eb8ad)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit b996293b4c8ab7ff3ed852045d17290df29205df)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-24 15:30:01 +00:00
Diego Sueiro
2836daa4c8 kernel.bbclass: Include randstruct seed assets in STAGING_KERNEL_BUILDDIR
When building with CONFIG_MODVERSIONS=y and CONFIG_RANDSTRUCT=y we need
to copy the build assets generated for the randstrutc seed to
STAGING_KERNEL_BUILDDIR, otherwise the out-of-tree modules build will
generate those assets which will result in a different
RANDSTRUCT_HASHED_SEED.

(From OE-Core rev: d6cb9dce1ffb14f9db497e9bb0cb7265ea4064ec)

Signed-off-by: Diego Sueiro <diego.sueiro@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit b36303158b2e0273ff415bdedefb379f680b30fc)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-24 15:30:01 +00:00
Niko Mauno
d146636e7f systemd: Consider PACKAGECONFIG in RRECOMMENDS
Since RRECOMMENDS declaration implictly induces building the recipes
that provide the runtime recommended packages, conditionalize adding
such values according to associated PACKAGECONFIG settings in order
to avoid redundant building.

(From OE-Core rev: 41ecfff7a413fff178364d67c1bf96c8e6d31c30)

Signed-off-by: Niko Mauno <niko.mauno@vaisala.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit a1989add927f7805378fe4d5afbde780b747ba77)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-24 15:30:01 +00:00
Kai Kang
96bd7b811b libuv: fixup SRC_URI
Add the trailing '.git' to git repo uri in SRC_URI then it could share
source code repo on premirror with grpc which uses libuv as a git
submodule with fixed revision.

(From OE-Core rev: 8e5d2044ff27b54a8013fbf2ecf1cccd2cf76871)

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit cecdf616e7cf192cdc723a446be1d14c197c980d)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-24 15:30:01 +00:00
Richard Purdie
027a8802ac bitbake.conf: Drop export of SOURCE_DATE_EPOCH_FALLBACK
Whilst SDE definitely needs to be exported, the fallback does not as
it is only used in our python code via the datastore.

It was introduced as an export in 9a1dde74e794362399193dc3f81c9685a83d0776
but even then it doesn't look like it needed to be, likely just a copy and
paste mistake.

Drop the export.

(From OE-Core rev: 7a1555a0f4223f8ca4485b410de91098301d5896)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 74fb6539dd06acb0dd6a9af4809152975e8473e6)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-24 15:30:01 +00:00
Leon Anavi
f9679ac9f8 get_module_deps3.py: Check attribute '__file__'
Check if the module object has attribute '__file__' to fix and
avoid errors like:

AttributeError: module '_abc' has no attribute '__file__'. Did you mean: '__name__'?

(From OE-Core rev: 1684457df9fb7029a276df4438c8fc4a17e3e1e9)

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 8acce12c1a4cf37ac312c92d62a6ae93a349dddf)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-24 15:30:01 +00:00
Marek Vasut
0535ee1c7c bluez5: Point hciattach bcm43xx firmware search path to /lib/firmware
Currently the hciattach bcm43xx firmware loader looks up the firmware
blob in /etc/firmware . Change this to /lib/firmware instead, so that
the path is consistent with Linux kernel which also looks up firmware
for the WiFi part in /lib/firmware .

(From OE-Core rev: 67f6fe7d2cfb95c9a39a0d288daabf69babf6f17)

Signed-off-by: Marek Vasut <marex@denx.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 72b3b79ad8b980e8dd9470d16b72c2c70072bbc0)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-24 15:30:01 +00:00
Alexander Kanavin
b4f8b1b31c libffi: submit patch upstream
(From OE-Core rev: c8c8945ded40a36b42da4e95974cf76796c15cfb)

Signed-off-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 9555a7dc768c32a009333232e25cef041054b7f7)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-24 15:30:01 +00:00
Alexander Kanavin
91e62fe45e ovmf: correct patches status
(From OE-Core rev: 80280e06923b4adcf56d0726311da8d68f51ac57)

Signed-off-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 0f758719ad26fd7b23bbf21a37375f8de7068f0e)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-24 15:30:01 +00:00
Alexander Kanavin
47b7a18a5a kea: submit patch upstream
(From OE-Core rev: aba10f1c085110bd7c17e671aad23c3694980e52)

Signed-off-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 e8f0e3a01262ecb83185ec5e84e6f359d7d64d1d)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-24 15:30:01 +00:00
Alexander Kanavin
592d5be03a tcl: correct patch status
(From OE-Core rev: ccb7df0d61792bbc6fd5ef62848035207a63cf5d)

Signed-off-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 9f37e5b83db662bba92605c8741516108aad3c5e)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-24 15:30:01 +00:00
Alexander Kanavin
e2c63d84e5 groff: submit patches upstream
(From OE-Core rev: ce719e45e5c5a3f05969f18af9d30edc3c200aaa)

Signed-off-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 4269cfcd6c29be05964010d0406584b80822d1d1)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-24 15:30:01 +00:00
Alex Kiernan
3058b4d70c cargo_common.bbclass: Fix typos
(From OE-Core rev: 8c58aacba69f815261b3e4aa32ba7eebeb3f62ae)

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit c7a92180b21e75a84f632e4c16e63dc1f4861a00)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-24 15:30:00 +00:00
Jose Quaresma
4f42ee56ca archiver: avoid using machine variable as it breaks multiconfig
STAGING_KERNEL_DIR uses the MACHINE name so it breaks the multiconfig
and in this cases it will run the shared recipes twice, one for each
machine.

STAGING_KERNEL_DIR it's been introduced in commit 5487dee2e1

(From OE-Core rev: 8e65e5d9204cbc04587b7e90ff4ed8cd7bffdb65)

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 6050d1f74c02495490d982ead2993b6b3c9cc04a)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-24 15:30:00 +00:00
Nathan Rossi
896727f943 package: Fix handling of minidebuginfo with newer binutils
Newer versions of binutils (2.38+) have changed how the
"--only-keep-debug" of objcopy behaves when stripping non-debug sections
from an ELF.

  https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=68f543154e92ab0f5d6c569e0fa143f5e8bd2d80

This change causes associated sections to be correctly marked as NOBITS
with the section contents removed from the output. The side effect is
that this causes issues with objcopy's ability to perform symbol and
relocation stripping (-S/--strip-all) on the debug split ELF, such that
with some object files (e.g. kernel modules) objcopy fails to strip
symbols/relocations with an error like the following:

  .../.debug/nls_cp950.ko[.rodata]: file truncated

Because of this it is now problematic to generate minidebuginfo for
these types of ELF objects. However it is not typically useful to inject
minidebuginfo into these types of ELFs, and other distributions (e.g.
Fedora, referring to find-debuginfo.sh of debugedit) only insert
minidebuginfo into executables and shared libraries.

This change causes the minidebuginfo injection to only apply to EXEC/DYN
type ELFs, which limits the injection to executables and shared
libraires.

Additionally this change fixes the parsing of the sections from the
"readelf -W -S" output which was not accounting for the section index
column having leading spaces for single digit index values e.g. "[ 1]".

(From OE-Core rev: 9485559d269ed11bfcc90399c9282549ced35ce0)

Signed-off-by: Nathan Rossi <nathan.rossi@digi.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 2084cfcb3d15db3e02637f1cd63ab9c997f38a65)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-24 15:30:00 +00:00
Nathan Rossi
2f1ac269b1 glibc-locale: Do not INHIBIT_DEFAULT_DEPS
The glibc-locale recipe already partially depends on the base depends in
order to satisfy the do_package dependency on binutils. However since
commit d6ffd683bf6 NM has defaulted to gcc-nm, meaning do_package
depends on gcc (for minidebuginfo).

Whilst the do_package task could handle having the dependencies
explicitly defined (either in glibc-locale or in package.bbclass),
setting these would require some amount of conditional dependency
configuration (cross/crosssdk/etc.). Since both binutils and gcc are
already dependencies of virtual/libc (although compilerlibs is not),
having glibc-locale not inhibit the default depends simplifies the
handling of this situation for both glibc-locale and package.bbclass.

(From OE-Core rev: 97020ee9912663196a7e8a524a23b0b70d8cf686)

Signed-off-by: Nathan Rossi <nathan.rossi@digi.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 8a40d0a6039e87a5b4b26a0e84dd797fe5c75cba)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-24 15:30:00 +00:00
Nathan Rossi
ca97e3568e oeqa/selftest/minidebuginfo: Create selftest for minidebuginfo
Add a new selftest to validate minidebuginfo support. This selftest
builds a complete target image with PACKAGE_MINIDEBUGINFO enabled. ELFs
included in the image are expected to have minidebuginfo included in the
resulting executables and shared libraries, the self test validates this
by unpacking the image and checking for the associated ".gnu_debugdata"
section on busybox and libc ELFs.

(From OE-Core rev: e7b0b23fd8357456ba41fe8d222f10313536d2d3)

Signed-off-by: Nathan Rossi <nathan.rossi@digi.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 5063a31ad05b75ec6ac12158fe759e81fcdb1585)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-24 15:30:00 +00:00
Nathan Rossi
9cf631a083 oeqa/selftest/lic_checksum: Cleanup changes to emptytest include
Config written to the emptytest include file is invalid after the test
has cleaned up its temporary directories resulting in the emptytest
recipe potentially having invalid content when parsed by successive
bitbake runs.

This presents the following error in tests after lic_checksum execution,
e.g. 'oe-selftest -r lic_checksum recipetool'

  ERROR: .../emptytest.bb: Unable to get checksum for emptytest SRC_URI entry tmpn_nyosnq: file could not be found

Remove the recipe include content once the bitbake runs are completed in
each lic_checksum test case.

(From OE-Core rev: 63f4da1f46d4fdf0c244f0e52028087657fea7d4)

Signed-off-by: Nathan Rossi <nathan.rossi@digi.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 087df767a64b271b503d714df3df6d8b3caad1c0)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-24 15:30:00 +00:00
Xiangyu Chen
96c9557278 sudo: upgrade 1.9.10 -> sudo 1.9.12p1
(From OE-Core rev: 192735486932d64e949d3764629b3706efd1bbc6)

Signed-off-by: Xiangyu Chen <xiangyu.chen@eng.windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-24 15:30:00 +00:00
Wang Mingyu
0f84b94cee libxcrypt: upgrade 4.4.28 -> 4.4.30
Changelog:
==========
* configure: Restore ucontext api functionality check.
  In c3f01c72b303cbbb0cc8983120677edee2f3fa4b the use of the ucontext api
  in the main program was removed, and with it the configure check for it.
  However, the ucontext api is still used in the "explicit_bzero" test and
  thus this test still needs to be in place.
  See also: https://bugs.gentoo.org/838172
* configure: Restore the functionality of the '--disable-symvers' switch.
  Without this fix the build was simply broken, if symbol versioning was
  disabled for any reason, e.g. whether the compiler nor the linker
  supporting it, or if disabled on purpose by the user (issue #142).
* Fix variable name in crypt(3) for a datamember of 'struct crypt_data'
  (issue #153).
* Add glibc-on-loongarch-lp64 (Loongson LA464 / LA664) entry to
  libcrypt.minver.  This was added in GNU libc 2.36.

(From OE-Core rev: 061a969a6d7a8d3a7009190a18c1564cae4ad990)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 7da5dd3b43718b876645602b1a23c739cbe8016d)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-24 15:30:00 +00:00
Wang Mingyu
bc9b9e5359 socat: upgrade 1.7.4.3 -> 1.7.4.4
1.7.4.4 is a bug fix release

0001-configure.ac-check-getprotobynumber_r-with-AC_TRY_LI.patch
removed since it's included in 1.7.4.4

(From OE-Core rev: 42942e565870bd4d0753e0dc7bed9277a71bccf9)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit c00e9d66f0b8449ff1bf24546f232345eb6feebd)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-24 15:30:00 +00:00
Wang Mingyu
8a7a9c37e4 bind: upgrade 9.18.7 -> 9.18.8
Changelog:
https://gitlab.isc.org/isc-projects/bind9/-/blob/v9_18_8/CHANGES

	--- 9.18.7 released ---

5962.	[security]	Fix memory leak in EdDSA verify processing.
			(CVE-2022-38178) [GL #3487]

5960.	[security]	Fix serve-stale crash that could happen when
			stale-answer-client-timeout was set to 0 and there was
			a stale CNAME in the cache for an incoming query.
			(CVE-2022-3080) [GL #3517]

5959.	[security]	Fix memory leaks in the DH code when using OpenSSL 3.0.0
			and later versions. The openssldh_compare(),
			openssldh_paramcompare(), and openssldh_todns()
			functions were affected. (CVE-2022-2906) [GL #3491]

5958.	[security]	When an HTTP connection was reused to get
			statistics from the stats channel, and zlib
			compression was in use, each successive
			response sent larger and larger blocks of memory,
			potentially reading past the end of the allocated
			buffer. (CVE-2022-2881) [GL #3493]

5957.	[security]	Prevent excessive resource use while processing large
			delegations. (CVE-2022-2795) [GL #3394]

5956.	[func]		Make RRL code treat all QNAMEs that are subject to
			wildcard processing within a given zone as the same
			name. [GL #3459]

5955.	[port]		The libxml2 library has deprecated the usage of
			xmlInitThreads() and xmlCleanupThreads() functions. Use
			xmlInitParser() and xmlCleanupParser() instead.
			[GL #3518]

5954.	[func]		Fallback to IDNA2003 processing in dig when IDNA2008
			conversion fails. [GL #3485]

5953.	[bug]		Fix a crash on shutdown in delete_trace_entry(). Add
			mctx attach/detach pair to make sure that the memory
			context used by a memory pool is not destroyed before
			the memory pool itself. [GL #3515]

5952.	[bug]		Use quotes around address strings in YAML output.
			[GL #3511]

5951.	[bug]		In some cases, the dnstap query_message field was
			erroneously set when logging response messages.
			[GL #3501]

5948.	[bug]		Fix nsec3.c:dns_nsec3_activex() function, add a missing
			dns_db_detachnode() call. [GL #3500]

5947.	[func]		Change dnssec-policy to allow graceful transition from
			an NSEC only zone to NSEC3. [GL #3486]

5946.	[bug]		Fix statistics channel's handling of multiple HTTP
			requests in a single connection which have non-empty
			request bodies. [GL #3463]

5945.	[bug]		If parsing /etc/bind.key failed, delv could assert
			when trying to parse the built in trust anchors as
			the parser hadn't been reset. [GL !6468]

5944.	[bug]		Fix +http-plain-get and +http-plain-post options
			support in dig. Thanks to Marco Davids at SIDN for
			reporting the problem. [GL !6672]

5942.	[bug]		Fix tkey.c:buildquery() function's error handling by
			adding the missing cleanup code. [GL #3492]

5941.	[func]		Zones with dnssec-policy now require dynamic DNS or
			inline-siging to be configured explicitly. [GL #3381]

5938.	[bug]		An integer type overflow could cause an assertion
			failure when freeing memory. [GL #3483]

5936.	[bug]		Don't enable serve-stale for lookups that error because
			it is a duplicate query or a query that would be
			dropped. [GL #2982]

5935.	[bug]		Fix DiG lookup reference counting bug, which could
			be observed in NSSEARCH mode. [GL #3478]

(From OE-Core rev: ed4a32b9c6e25b09a2aa4eb0446bf0ea9ed37ca9)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 1d87d2652f7f6640dda85e037c580c83f99a8ba8)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-24 15:30:00 +00:00
Richard Purdie
b3fbe08078 lttng-modules: upgrade 2.13.5 -> 2.13.7
2022-09-30 (National Day for Truth and Reconciliation) LTTng modules 2.13.7
	* Fix: handle integer capture page faults as skip field

2022-09-30 (National Day for Truth and Reconciliation) LTTng modules 2.13.6
	* Fix: bytecode validator: reject specialized load field/context ref instructions
	* Fix: bytecode validator: reject specialized load instructions
	* Fix: honor "user" attribute for array/sequence of user integers
	* wrapper: powerpc64: fix kernel crash caused by do_get_kallsyms
	* Fix: event notification: Remove duplicate event enabled check
	* Fix: event notification capture: validate buffer length
	* Fix: handle capture page faults as skip field
	* Fix: event notification capture error handling
	* Fix: capture_sequence_element_{un,}signed: handle user-space input
	* Fix: notification capture: handle userspace strings
	* Implement lttng_msgpack_write_user_str
	* Fix: bytecode interpreter: LOAD_FIELD: handle user fields
	* Fix: move "user" attribute from field to type
	* Introduce lttng_copy_from_user_check_nofault
	* fix: adjust range v5.10.137 in block probe

Remove "fix: adjust range v5.10.137 in block probe" and "wrapper: powerpc64: fix kernel
crash caused by do_get_kallsyms" since they are  included in this version bump.

(From OE-Core rev: 7f5ec92b3865fcd094898f4cd2d7daba76464a5e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 1243d6afc075e3c89ca69af214e70c0d159cb832)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-24 15:30:00 +00:00
Alexander Kanavin
bb3757620c lttng-tools: submit determinism.patch upstream
(From OE-Core rev: a98c076bf29d1ee795cc6bdd6676aeb6dd751331)

Signed-off-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 bec62455d900a0d3e18a62ea7053c214bc545fb6)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-24 15:30:00 +00:00
Xiangyu Chen
32730ffb84 lttng-tools: Upgrade 2.13.4 -> 2.13.8
(From OE-Core rev: 07aba073681a494da09ae5227ccd22cd50bf520e)

Signed-off-by: Xiangyu Chen <xiangyu.chen@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-24 15:30:00 +00:00
Ross Burton
b17eb5180b expat: upgrade to 2.5.0
Release 2.5.0 Tue October 25 2022
        Security fixes:
  #616 #649 #650  CVE-2022-43680 -- Fix heap use-after-free after overeager
                    destruction of a shared DTD in function
                    XML_ExternalEntityParserCreate in out-of-memory situations.
                    Expected impact is denial of service or potentially
                    arbitrary code execution.

        Bug fixes:
       #612 #645  Fix curruption from undefined entities
       #613 #654  Fix case when parsing was suspended while processing nested
                    entities
  #616 #652 #653  Stop leaking opening tag bindings after a closing tag
                    mismatch error where a parser is reset through
                    XML_ParserReset and then reused to parse
            #656  CMake: Fix generation of pkg-config file
            #658  MinGW|CMake: Fix static library name

        Other changes:
            #663  Protect header expat_config.h from multiple inclusion
            #666  examples: Make use of XML_GetBuffer and be more
                    consistent across examples
            #648  Address compiler warnings
       #667 #668  Version info bumped from 9:9:8 to 9:10:8;
                    see https://verbump.de/ for what these numbers do

Includes a fix for CVE-2022-43680.

(From OE-Core rev: 8dda30a9c64a4ad1f8eee11deb2e5143ba5fd719)

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 a257a674272dc638f09167e9b9202adfb477ef1e)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-24 15:30:00 +00:00
Steve Sakoman
4c5ac60f32 Revert "expat: backport the fix for CVE-2022-43680"
Prepare for version bump which includes this fix

This reverts commit 791fe354e5887af3fa3d3f772fafacc5eaedca21.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-24 15:30:00 +00:00
Hitendra Prajapati
277e97deb2 systemd: CVE-2022-3821 Fix buffer overrun
Upstream-Status: Backport from 72d4c15a94

Affects "systemd <= 251"

(From OE-Core rev: 4a29ef039897e2d45e5c0b7416ce30a22b668453)

Signed-off-by: Hitendra Prajapati <hprajapati@mvista.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-24 15:30:00 +00:00
Xiangyu Chen
24f6bf271b dbus: fix CVE-2022-42012 dbus-marshal-byteswap: Byte-swap Unix fd indexes if needed
Backport a patch from upstream [1] to fix CVE-2022-42012
dbus-marshal-byteswap: Byte-swap Unix fd indexes if needed

[1] 3fb065b075

(From OE-Core rev: ad5c72d7f4c5ac2ad84eff8235d87f6c097af386)

Signed-off-by: Xiangyu Chen <xiangyu.chen@eng.windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-24 15:30:00 +00:00
Xiangyu Chen
5f78d205a1 dbus: fix CVE-2022-42011 dbus-daemon can be crashed by messages with array length inconsistent with element type
Backport a patch from upstream[1] to fix CVE-2022-42011 dbus-daemon can be crashed by messages with array length inconsistent with element type
[1] b9e6a75230

(From OE-Core rev: 5d96a3c244388623d87a2999dafaa25d0bd216b6)

Signed-off-by: Xiangyu Chen <xiangyu.chen@eng.windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-24 15:30:00 +00:00
Xiangyu Chen
bf03da983a dbus: fix CVE-2022-42010 Check brackets in signature nest correctly
(From OE-Core rev: 901e2d7e785cfbeee6dd01146dd5185d023e70d5)

Signed-off-by: Xiangyu Chen <xiangyu.chen@eng.windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-24 15:30:00 +00:00
Richard Purdie
6282ef6c7c bitbake: runqueue: Fix race issues around hash equivalence and sstate reuse
We identified a use case where a native recipe (autoconf-native) was
rebuilt with no change in output yet the sstate for do_package tasks
wasn't being used.

The issue is that do_package tasks have a hard dependency on
pseudo-native:do_populate_sysroot. That task was one of the many
tasks being rehashed when autoconf-native's hash was changed.

If update_tasks processed a recipe before it had processed pseudo-native,
that recipe would be marked as not possible from sstate and would
run the full tasks.

The fix is to split the processing into two passes, first to handle
the existing covered/notcovered updates, then in the second pass,
check whether there are "harddep" issues.

This defers the do_package tasks until after pseudo-native is installed
from sstate as expected and everything works well again.

(Bitbake rev: 72a3afd99e8b785cb2a2f687e71a58e08cdd9c74)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit e479d1e418a7d34f0a4663b4a0e22bb11503c8ab)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-24 15:25:19 +00:00
Ross Burton
f98db02718 qemu: add io_uring PACKAGECONFIG
io_uring is enabled or disabled depending on whether liburing is available,
so add a PACKAGECONFIG to make this explicit, disabled by default.

(From OE-Core rev: 3243b069db7629d15e4b8c25b4133f824d18520c)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit daee79639c39ac6278855b35e0ddf71e52dd13f8)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-20 08:19:17 +00:00
Michael Opdenacker
17fa50cd38 create-spdx.bbclass: remove unused SPDX_INCLUDE_PACKAGED
[YOCTO #14948]

(From OE-Core rev: 742c83402203ecc6ef9298b8a717e7a06cd2bd30)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 89f1abd5e00807cf179ddf658f74d48119523b0c)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-20 08:19:17 +00:00
ciarancourtney
f77e16ea7d wic: swap partitions are not added to fstab
- Regression in 7aa678ce804c21dc1dc51b9be442671bc33c4041

(From OE-Core rev: 397676b3ad152b209916b152f1b77e772a2af14b)

Signed-off-by: Ciaran Courtney <ciaran.courtney@activeenergy.ie>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit f1243572ad6b6303fe562e4eb7a9826fd51ea3c3)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-20 08:19:17 +00:00
Ross Burton
28787fba96 sanity: check for GNU tar specifically
We need the system tar to be GNU tar, as we reply on --xattrs.  Some
distributions may be using libarchive's tar binary, which is definitely
not as featureful, so check for this and abort early with a clear
message instead of later with mysterious errors.

(From OE-Core rev: 238993097826461a0f8bc2545c9383d8cfc0beea)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 7dd2b1cd1bb10e67485dab8600c0787df6c2eee7)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-20 08:19:17 +00:00
Alexander Kanavin
ed2c45964e quilt: backport a patch to address grep 3.8 failures
(From OE-Core rev: 97e522c83965777eb5faa1098ddee921e1c7fe79)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit b5001af5c711a373bd2f1ea108c8b597dd40faca)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-20 08:19:17 +00:00
Alexander Kanavin
636aea99f4 lttng-modules: upgrade 2.13.4 -> 2.13.5
2022-08-19 (National Potato Day) LTTng modules 2.13.5
	* Fix: incorrect stub prototypes when CONFIG_HAVE_SYSCALL_TRACEPOINTS=n
	* fix: mm/tracing: add 'accounted' entry into output of allocation tracepoints (v6.0)
	* fix: block: remove bdevname (v6.0)
	* fix: fs/jbd2: Fix the documentation of the jbd2_write_superblock() callers (v6.0)
	* fix: tie compaction probe build to CONFIG_COMPACTION
	* fix: net: skb: introduce kfree_skb_reason() (v5.15.58..v5.16)
	* fix: workqueue: Fix type of cpu in trace event (v5.19)
	* fix: fs: Remove flags parameter from aops->write_begin (v5.19)
	* fix: mm/page_alloc: fix tracepoint mm_page_alloc_zone_locked() (v5.19)

(From OE-Core rev: 43d9e154880909face6d3fc76c7e2d4310c17e7c)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 335c60e76b341014bd69eaac0a4b281036a94916)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-20 08:19:17 +00:00
Narpat Mali
848be11a43 python3-mako: backport fix for CVE-2022-40023
Sqlalchemy mako before 1.2.2 is vulnerable to Regular expression Denial of Service
when using the Lexer class to parse. This also affects babelplugin and linguaplugin.

Reference:
https://nvd.nist.gov/vuln/detail/CVE-2022-40023

Reference to Upstream Patch:
925760291d

(From OE-Core rev: 34727812b54fd52f85806f4f95702286d551b5fd)

Signed-off-by: Narpat Mali <narpat.mali@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-20 08:19:17 +00:00
Hitendra Prajapati
52e9ab5da1 QEMU: CVE-2022-3165 VNC: integer underflow in vnc_client_cut_text_ext leads to CPU exhaustion
Upstream-Status: Backport from https://gitlab.com/qemu-project/qemu/-/commit/d307040b18

(From OE-Core rev: c7eb6da6fa68caf2fb0becbbebeea5e8ea2c9c56)

Signed-off-by: Hitendra Prajapati <hprajapati@mvista.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-20 08:19:17 +00:00
Ross Burton
37595eeddf pixman: backport fix for CVE-2022-44638
(From OE-Core rev: 1d2e131d9ba55626354264d454b2808e84751600)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
(cherry picked from commit 23df4760ebc153c484d467e51b414910c570a6f8)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-20 08:19:17 +00:00
Etienne Cordonnier
1cb13d24b5 mirrors.bbclass: use shallow tarball for binutils-native
This is useful e.g. when using meta-clang, which introduces a dependency to binutils-native, and then a
full tarball of binutils is fetched additionally to a shallow tarball.

The original BB_GIT_SHALLOW lines were added because of https://www.mail-archive.com/yocto@lists.yoctoproject.org/msg08752.html

(From OE-Core rev: 0c0723757fbba9a4b88c0f98477a18d1e220da2e)

Signed-off-by: Etienne Cordonnier <ecordonnier@snap.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit bd83b8b502ae935c75b59aaf71bbb531c9771dcc)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-10 14:39:24 +00:00
Sean Anderson
21343a3b2d uboot-sign: Fix using wrong KEY_REQ_ARGS
When generating our SPL-verifying certificate, we use FIT_KEY_REQ_ARGS,
which is intended for the U-Boot-verifying certificate. Instead, use
UBOOT_FIT_KEY_REQ_ARGS.

Fixes: 0e6b0fefa0 ("u-boot: Use a different Key for SPL signing")
(From OE-Core rev: a066246170af979b29945c45b436228f5dbba121)

Signed-off-by: Sean Anderson <sean.anderson@seco.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit a2d939ccb182a1ad29280d236b9f9e1d09527af1)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-10 14:39:24 +00:00
Claus Stovgaard
c8002205ff gstreamer1.0-libav: fix errors with ffmpeg 5.x
Backport of patch already present upstream to fix issues with invalid
characters for GLIB when combining gstreamer1.0-libav with ffmpeg 5.x.

Remove when gstreamer1.0-libav is upgraded to 1.21.1 or above

(From OE-Core rev: d142cc8e6faf42c0a495c28c177061ffb9b1f793)

Signed-off-by: Claus Stovgaard <claus.stovgaard@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 703ff945557ad307bbe4ba0b0b7f1a2e5b4b847e)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-10 14:39:24 +00:00
John Edward Broadbent
1952d29345 externalsrc: git submodule--helper list unsupported
Git has removed support for "git submodule--helper list".
31955475d1

This change provides an alternate method for gathering the submodules
information.

Tested:
Build recipes with and without submodules

(From OE-Core rev: 0750fa73ea9ff08e844480865cc51db0c924ad0b)

Signed-off-by: Carson Labrado <clabrado@google.com>
Signed-off-by: John Edward Broadbent <jebr@google.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 6d9364e5f3535954f65cbbc694ee7933ac1d664f)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-10 14:39:24 +00:00
Peter Kjellerstedt
974cba7657 externalsrc.bbclass: Remove a trailing slash from ${B}
The trailing slash in ${B} caused -fdebug-prefix-map=${B}=... to not
match as intended, resulting in ${TMPDIR} ending up in files in
${PN}-dbg when externalsrc was in use, which in turn triggered buildpath
QA warnings.

(From OE-Core rev: e29509d855374995034d89b381e6ad9ffed90c23)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 9b5031ed5a0d102905fa75acc418246c23df6eef)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-10 14:39:24 +00:00
Martin Jansa
52f215fc73 externalsrc.bbclass: fix git repo detection
* fix issue introduced in:
  https://git.openembedded.org/openembedded-core/commit/?id=95fbac8dcad6c93f4c9737e9fe13e92ab6befa09

* it added check for s_dir + git-dir (typically '.git') isn't
  the same as ${TOPDIR} + git-dir, but due to copy-paste issue
  it was just comparing it with s_dir + git-dir again, resulting
  in most external repos (where git-dir is '.git') to be processed
  as regular directory (not taking advantage of git write-tree).

* normally this wouldn't be an issue, but for big repo with a lot of
  files this added a lot of checksums in:
  d.setVarFlag('do_compile', 'file-checksums', '${@srctree_hash_files(d)}')

  and I mean *a lot, e.g. in chromium build it was 380227 paths
  which still wouldn't that bad, but the checksum processing in
  siggen.py isn't trivial and just looping through all these
  checksums takes very long time (over 1000sec on fast NVME drive
  with warm cache) and then
  https://git.openembedded.org/bitbake/commit/?id=b4975d2ecf615ac4c240808fbc5a3f879a93846b
  made the processing a bit more complicated and the loop in
  get_taskhash() function took 6448sec and to make things worse
  there was no output from bitbake during that time, so even with -DDD
  it looks like this:

  DEBUG: virtual/libgles2 resolved to: mesa (langdale/oe-core/meta/recipes-graphics/mesa/mesa_22.2.0.bb)
  Bitbake still alive (no events for 600s). Active tasks:
  Bitbake still alive (no events for 1200s). Active tasks:
  Bitbake still alive (no events for 1800s). Active tasks:
  Bitbake still alive (no events for 2400s). Active tasks:
  Bitbake still alive (no events for 3000s). Active tasks:
  Bitbake still alive (no events for 3600s). Active tasks:
  Bitbake still alive (no events for 4200s). Active tasks:
  Bitbake still alive (no events for 4800s). Active tasks:
  Bitbake still alive (no events for 5400s). Active tasks:
  Bitbake still alive (no events for 6000s). Active tasks:
  DEBUG: Starting bitbake-worker

  without -DDD it will get stuck for almost 2 hours in:
  "Initialising tasks..."
  before it finally writes sstate summary like:
  "Sstate summary: Wanted 3102 Local 0 Mirrors 0 Missed 3102 Current 1483 (0% match, 32% complete)"

* fix the copy&paste typo to use git work-tree in most cases, but
  be aware that this issue still exists for huge local source
  trees not in git

[YOCTO #14942]

(From OE-Core rev: 1b1b9756c5e50a9b195f774b902881a9b0052f69)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 9102e5a94b8146cb1da27afbe41d3db999a914ff)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-10 14:39:24 +00:00
Sergei Zhmylev
7a31cf96eb wic: honor the SOURCE_DATE_EPOCH in case of updated fstab
In case user requested to build a binary repeatable package,
it's required to honor the SOURCE_DATE_EPOCH environment
variable. So forcefully set mtime inside all the routines
which modify fstab in case it is updated.

(From OE-Core rev: 2671667f33d0eac1425db3fc4dff56d4eed1eb3c)

Signed-off-by: Sergei Zhmylev <s.zhmylev@yadro.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 99719a3712a88dce8450994d995803e126e49115)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-10 14:39:24 +00:00
Keiya Nobuta
03a7c1df50 create-spdx: Remove ";name=..." for downloadLocation
(From OE-Core rev: 8a13c860338a4b1d7d971760c467f2f2d3ee393a)

Signed-off-by: Keiya Nobuta <nobuta.keiya@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit bbecab53d1b27f3bb8c5882cb0ec39b04ef300a3)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-10 14:39:24 +00:00
Thomas Perrot
1716159ede xserver-xorg: move some recommended dependencies in required
Otherwise, xserver will no longer start when NO_RECOMMENDATIONS = “1”,
because dependencies in XSERVER_RRECOMMENDS are missing.

(From OE-Core rev: a3607a035b4c9ab89232ccb1d0361791e5892b34)

Signed-off-by: Thomas Perrot <thomas.perrot@bootlin.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit bc7bd3953f3896af0db036250cda34bc9ecbb3ac)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-10 14:39:24 +00:00
Martin Jansa
02e90e8fc3 vulkan-samples: add lfs=0 to SRC_URI to avoid git smudge errors in do_unpack
* we don't need other_lib/ios/Debug-iphoneos/libSDL2.a from
  https://github.com/KhronosGroup/KTX-Software.git so we can explicitly
  disable LFS here to avoid do_unpack error, bitbake will then use
  GIT_LFS_SKIP_SMUDGE=1 to override smudge setting in gitconfig,
  otherwise we would need bitbake patch to fetch LFS objects from the
  submodules as well

* do_fetch won't fetch LFS objects without explicitly requesting lfs in SRC_URI
  then do_unpack might run git smudge when enabled in .gitconfig (or /etc/gitconfig) with:

[filter "lfs"]
       smudge = git-lfs smudge -- %f
       process = git-lfs filter-process
       required = true
       clean = git-lfs clean -- %f

  and do_unpack fails as in:
  http://errors.yoctoproject.org/Errors/Details/672888/

The default /etc/gitconfig in ubuntu has this added automatically by
git-lfs postinst:

  root@ljama:~# rm /etc/gitconfig
  root@ljama:~# git lfs install --skip-repo --system
  Git LFS initialized.
  root@ljama:~# cat /etc/gitconfig
  [filter "lfs"]
        clean = git-lfs clean -- %f
        smudge = git-lfs smudge -- %f
        process = git-lfs filter-process
        required = true
  root@ljama:~# cat /var/lib/dpkg/info/git-lfs.postinst

  set -e

  # Set up /etc/gitconfig for git-lfs. The --skip-repo option prevents failure if
  # / is a Git repository with existing non-git-lfs hooks.

  git lfs install --skip-repo --system > /dev/null 2>&1

according to
https://changelogs.ubuntu.com/changelogs/pool/universe/g/git-lfs/git-lfs_3.0.2-1/changelog
it was added in:

git-lfs (2.6.0-1) unstable; urgency=medium

  * New upstream release
  * Bump standards version to 4.2.1
  * Add postinst/prerm to set up/remove git-lfs gitconfig

FWIW: vulkan-samples still fail to build with DEBUG_BUILD enabled:
http://errors.yoctoproject.org/Errors/Details/672892/

(From OE-Core rev: ef035d9f49c9c974e24709e7824c661e92d819c0)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit b45b1f5dba02a626b7e9040d45198bd17dce4c99)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-10 14:39:24 +00:00
Sean Anderson
ec67581366 kernel: Clear SYSROOT_DIRS instead of replacing sysroot_stage_all
Replacing sysroot_stage_all by a no-op recipe makes it difficult for
bbappends to stage files intentionally. Instead, just clear
SYSROOT_DIRS, allowing other bbappends to easily add new directories.

(From OE-Core rev: 45ed53ec09e24956ce3d7d008e254bc759cf5f85)

Signed-off-by: Sean Anderson <sean.anderson@seco.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 849791e7086463a4c7c53c2c1ed9603a6c3a080d)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-10 14:39:24 +00:00
Jose Quaresma
541402f288 kernel-yocto: improve fatal error messages of symbol_why.py
Improve the fatal error message of the yocto-kernel-tools symbol_why.py
and shows the command that generate the error as it can help understand
the root cause of the error.

(From OE-Core rev: e09d98cb1f940119600f90045ed4525987f4f481)

Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 54ae08779071f2e97bff0ff6514ede3124312c3b)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-10 14:39:24 +00:00
Bruce Ashfield
f18032b98c kern-tools: fix relative path processing
The previous fix for processing of paths with relative components, broke
uses cases that were a mix of patches and configuration fragments.

Updating the SRCREV to include a simplied fix for relative paths, and
a cleanup patch from Jose:

[
  Author: Jose Quaresma <quaresma.jose@gmail.com>
  Date:   Thu Sep 29 16:37:23 2022 +0000

      scc: only look for error in scc_output_file if it has valid content

      When process_file function fails the output of the processed script is show to
      the user, some parsing is performed as well to look for common errors so we
      can point to the right input file.

      This can only be done when the scc_output_file have some valid content
      otherwise it will show invalid messages to the user.

      Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
      Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>

  Author: Bruce Ashfield <bruce.ashfield@gmail.com>
  Date:   Wed Oct 5 19:13:33 2022 +0000

      spp: ensure that prefix check uses absolute paths

      The previous fix for this issue was too broad, and impacted
      all calls to the prefix check and removal. With this change,
      we only expand the input on scc/spp operations that may
      execute with relative paths.

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

(From OE-Core rev: 110bcaf1629ee89d7117ea1d4f860fe9f61ce225)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 533720a1756454447341769c4a0969fce8d6f287)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-10 14:39:24 +00:00
Vincent Davis Jr
0505458a20 linux-firmware: package amdgpu firmware
Add packages for the firmware required by amdgpu kernel driver.

(From OE-Core rev: 55e74e86a8451decefbe4a9402b36ee4fbf235d8)

Signed-off-by: Vincent Davis Jr <vince@underview.tech>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 0d7aa21f120a756d1a4fc4ae0be3527b54a58247)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-10 14:39:24 +00:00
Christian Eggers
63d78c8a5d linux-firmware: split rtl8761 firmware
Realtek Bluetooth devices require binary firmware files. Package them
separately in order to avoid installing the full linux-firmware package
on embedded devices.

Affected (end user) products (incomplete list):
- TP-Link UB500
- Logilink BT0054

(From OE-Core rev: 8d6bb62e03d2c2d63d0d8659028bd8f745a36677)

Signed-off-by: Christian Eggers <ceggers@arri.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit fb44eb4feef54f2343c8186809a65dcb9b58a9b2)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-10 14:39:24 +00:00
Bruce Ashfield
bf4024b5df linux-yocto/5.15: update to v5.15.72
Updating  to the latest korg -stable release that comprises
the following commits:

    c68173b2012b Linux 5.15.72
    713fa3e4591f drm/i915/gem: Really move i915_gem_context.link under ref protection
    a00ed4e5d5ee x86/alternative: Fix race in try_get_desc()
    c3d4b8970c0d KVM: x86: Hide IA32_PLATFORM_DCA_CAP[31:0] from the guest
    ab5c5787ab5e clk: iproc: Do not rely on node name for correct PLL setup
    e748a084b51c clk: imx: imx6sx: remove the SET_RATE_PARENT flag for QSPI clocks
    19f4e1636626 fs: split off setxattr_copy and do_setxattr function from setxattr
    a0e3719e030a vdpa/ifcvf: fix the calculation of queuepair
    4755d9d2c9b0 selftests: Fix the if conditions of in test_extra_filter()
    c83a7606aa65 net: phy: Don't WARN for PHY_UP state in mdio_bus_phy_resume()
    a8cd7e1bc7cd net: stmmac: power up/down serdes in stmmac_open/release
    67c00bcf4231 wifi: mac80211: fix regression with non-QoS drivers
    520e434a082d nvme: Fix IOC_PR_CLEAR and IOC_PR_RELEASE ioctls for nvme devices
    e9d7d809022e net/mlxbf_gige: Fix an IS_ERR() vs NULL bug in mlxbf_gige_mdio_probe
    8b1b908507ce cxgb4: fix missing unlock on ETHOFLD desc collect fail path
    e99c7a61d89e net: sched: act_ct: fix possible refcount leak in tcf_ct_init()
    815381aeff95 usbnet: Fix memory leak in usbnet_disconnect()
    af91321b7372 gpio: mvebu: Fix check for pwm support on non-A8K platforms
    f592ccddac68 Input: melfas_mip4 - fix return value check in mip4_probe()
    ff982b1f325d Revert "drm: bridge: analogix/dp: add panel prepare/unprepare in suspend/resume time"
    bde7795794f4 drm/bridge: lt8912b: fix corrupted image output
    e103b0e83991 drm/bridge: lt8912b: set hdmi or dvi mode
    473f653a86ee drm/bridge: lt8912b: add vsync hsync
    6a12105d9d4f ASoC: tas2770: Reinit regcache on reset
    75ef73d7d2b3 arm64: dts: qcom: sm8350: fix UFS PHY serdes size
    5664dc84fc2e ASoC: imx-card: Fix refcount issue with of_node_put
    367403bc1cfe soc: sunxi: sram: Fix debugfs info for A64 SRAM C
    68d2f42cf4f6 soc: sunxi: sram: Fix probe function ordering issues
    2f82b5290078 soc: sunxi_sram: Make use of the helper function devm_platform_ioremap_resource()
    861adc2b2037 soc: sunxi: sram: Prevent the driver from being unbound
    8b07378ebe43 soc: sunxi: sram: Actually claim SRAM regions
    d50e0e2f3d94 ARM: dts: am5748: keep usb4_tm disabled
    c48e3db1df25 reset: imx7: Fix the iMX8MP PCIe PHY PERST support
    606229101290 ARM: dts: am33xx: Fix MMCHS0 dma properties
    bfe5dc2101ba swiotlb: max mapping size takes min align mask into account
    a6a3b6b11ac0 media: v4l2-compat-ioctl32.c: zero buffer passed to v4l2_compat_get_array_args()
    ab9d32844742 media: rkvdec: Disable H.264 error detection
    69379139ed78 media: dvb_vb2: fix possible out of bound access
    6287c9e00595 mm,hwpoison: check mm when killing accessing process
    f9aed3d8a029 mm: fix madivse_pageout mishandling on non-LRU page
    1299c1198878 mm/migrate_device.c: flush TLB while holding PTL
    e858f7ac7395 mm: fix dereferencing possible ERR_PTR
    d75ce115625e mm: prevent page_frag_alloc() from corrupting the memory
    23d17e2b04c7 mm/page_alloc: fix race condition between build_all_zonelists and page allocation
    fec2db7a434a mmc: hsq: Fix data stomping during mmc recovery
    4fef6e1fe07c mmc: moxart: fix 4-bit bus width and remove 8-bit bus width
    4f75d0cacd65 libata: add ATA_HORKAGE_NOLPM for Pioneer BDR-207M and BDR-205
    dc248ddf41ea vduse: prevent uninitialized memory accesses
    ea774829699a drm/amdgpu: Add amdgpu suspend-resume code path under SRIOV
    25759a7bc1f4 drm/i915/gt: Restrict forced preemption to the active context
    e0f576335d05 Revert "firmware: arm_scmi: Add clock management to the SCMI power domain"
    5de02ab84aec net: mt7531: only do PLL once after the reset
    56e3f8d56299 mm/damon/dbgfs: fix memory leak when using debugfs_lookup()
    149da9e60b8c ntfs: fix BUG_ON in ntfs_lookup_inode_by_name()
    dc8cdb988453 ARM: dts: integrator: Tag PCI host with device_type
    aa5c3aa3f197 x86/sgx: Do not fail on incomplete sanitization on premature stop of ksgxd
    476c188b9dbe clk: ingenic-tcu: Properly enable registers before accessing timers
    d134b0f7a9b9 can: c_can: don't cache TX messages for C_CAN cores
    6fff203793cb Input: snvs_pwrkey - fix SNVS_HPVIDR1 register address
    006a5085a3a8 net: usb: qmi_wwan: Add new usb-id for Dell branded EM7455
    81e759d71a6b thunderbolt: Explicitly reset plug events delay back to USB4 spec value
    85a70a259916 usb: typec: ucsi: Remove incorrect warning
    ac12a04c8e08 uas: ignore UAS for Thinkplus chips
    528aba78ee01 usb-storage: Add Hiksemi USB3-FW to IGNORE_UAS
    0a4e8f384e82 uas: add no-uas quirk for Hiksemi usb_disk
    8484a356cee8 cgroup: cgroup_get_from_id() must check the looked-up kn is a directory
    ae04dd5ef180 cgroup: reduce dependency on cgroup_mutex
    7a64e6dc6cb7 ALSA: hda/realtek: fix speakers and micmute on HP 855 G8
    6a3bee2ead9b ALSA: hda: Fix Nvidia dp infoframe
    f7392f93a2fb ALSA: hda: Fix hang at HD-audio codec unbinding due to refcount saturation
    de5deddfa7e7 ALSA: hda: Do disconnect jacks at codec unbind
    90c7e9b400c7 Linux 5.15.71
    214194610a18 ext4: use locality group preallocation for small closed files
    8a1ac4167dda ext4: avoid unnecessary spreading of allocations among groups
    fd8b82919549 ext4: make mballoc try target group first even with mb_optimize_scan
    21dada4ce19c ext4: limit the number of retries after discarding preallocations blocks
    be4df018c0be ext4: fix bug in extents parsing when eh_entries == 0 and eh_depth > 0
    90bc7b630c6c ext4: make directory inode spreading reflect flexbg size
    95d714d8ad3d devdax: Fix soft-reservation memory description
    27bf7a5d1198 NFSv4: Fixes for nfs4_inode_return_delegation()
    21b0301f2234 drm/amdgpu: don't register a dirty callback for non-atomic
    6eb08245da51 i2c: mlxbf: Fix frequency calculation
    dc2a0c587006 i2c: mlxbf: prevent stack overflow in mlxbf_i2c_smbus_start_transaction()
    621c6ab03ac3 i2c: mlxbf: incorrect base address passed during io write
    c242dbf2e36f i2c: imx: If pm_runtime_get_sync() returned 1 device access is possible
    c71ec39be45a workqueue: don't skip lockdep work dependency in cancel_work_sync()
    929ef155e1da fsdax: Fix infinite loop in dax_iomap_rw()
    9aac3819f099 drm/rockchip: Fix return type of cdn_dp_connector_mode_valid
    1c26968caf18 drm/amd/display: Mark dml30's UseMinimumDCFCLK() as noinline for stack usage
    492db4ffcff3 drm/amd/display: Reduce number of arguments of dml31's CalculateFlipSchedule()
    9539cfc74493 drm/amd/display: Reduce number of arguments of dml31's CalculateWatermarksAndDRAMSpeedChangeSupport()
    a541c0111818 drm/amd/display: Limit user regamma to a valid value
    33b128f790b6 drm/amdgpu: use dirty framebuffer helper
    f76d6f309a68 drm/amd/pm: disable BACO entry/exit completely on several sienna cichlid cards
    e5ae504c8623 drm/gma500: Fix BUG: sleeping function called from invalid context errors
    e07d9154bb81 Drivers: hv: Never allocate anything besides framebuffer from framebuffer memory region
    5f270b61ee8b drm/amd/amdgpu: fixing read wrong pf2vf data in SRIOV
    d3a67c21b18f s390/dasd: fix Oops in dasd_alias_get_start_dev due to missing pavgroup
    faf0e1b5d82b serial: tegra-tcu: Use uart_xmit_advance(), fixes icount.tx accounting
    0aada772fd16 serial: tegra: Use uart_xmit_advance(), fixes icount.tx accounting
    4c7e17270cab serial: Create uart_xmit_advance()
    4199425b1132 serial: fsl_lpuart: Reset prior to registration
    cc1504f6da2e KVM: x86/mmu: Fold rmap_recycle into rmap_add
    dddae48eabfb selftests: forwarding: add shebang for sch_red.sh
    08483e4c0c83 bnxt: prevent skb UAF after handing over to PTP worker
    f8162aed962b net: sched: fix possible refcount leak in tc_new_tfilter()
    bd29ca2b398c net: sunhme: Fix packet reception for len < RX_COPY_THRESHOLD
    ec3a6f4ffe55 bonding: fix NULL deref in bond_rr_gen_slave_id
    db145b8a04fc net/smc: Stop the CLC flow if no link to map buffers on
    5daef0042d2c drm/mediatek: dsi: Move mtk_dsi_stop() call back to mtk_dsi_poweroff()
    a08cba2f50d7 perf tools: Honor namespace when synthesizing build-ids
    1a83f39dc4e1 perf kcore_copy: Do not check /proc/modules is unchanged
    a3b923f449a3 perf jit: Include program header in ELF files
    39dc6ccdd5af perf stat: Fix BPF program section name
    c6d939639fe0 can: gs_usb: gs_can_open(): fix race dev->can.state condition
    e1676adedc17 net: sh_eth: Fix PHY state warning splat during system resume
    71200518bbbf net: ravb: Fix PHY state warning splat during system resume
    d5917b7af7ca netfilter: ebtables: fix memory leak when blob is malformed
    08d7524f366a netfilter: nf_tables: fix percpu memory leak at nf_tables_addchain()
    91aa52652f4b netfilter: nf_tables: fix nft_counters_enabled underflow at nf_tables_addchain()
    c721623efd09 net/sched: taprio: make qdisc_leaf() see the per-netdev-queue pfifo child qdiscs
    f58e43184226 net/sched: taprio: avoid disabling offload when it was never enabled
    510e703e4ed0 net: enetc: deny offload of tc-based TSN features on VF interfaces
    11eb9ed08856 net: enetc: move enetc_set_psfp() out of the common enetc_set_features()
    c60801e4e2b5 wireguard: netlink: avoid variable-sized memcpy on sockaddr
    3ebf690d1cde wireguard: ratelimiter: disable timings test by default
    c2dc533a7edb net: ipa: properly limit modem routing table use
    cbdab7d68f20 of: mdio: Add of_node_put() when breaking out of for_each_xx
    ca86577c10bc drm/hisilicon: Add depends on MMU
    68c4acee6328 drm/hisilicon/hibmc: Allow to be built if COMPILE_TEST is enabled
    8547c7bfc061 sfc: fix null pointer dereference in efx_hard_start_xmit
    360910b88d14 sfc: fix TX channel offset when using legacy interrupts
    bc750d7127a9 i40e: Fix set max_tx_rate when it is lower than 1 Mbps
    53220b99059a i40e: Fix VF set max MTU size
    7249a653fe5f iavf: Fix set max MTU size with port VLAN and jumbo frames
    030e0688b6b2 mlxbf_gige: clear MDIO gateway lock after read
    93859f6878e7 iavf: Fix bad page state
    e1dbe8a62098 um: fix default console kernel parameter
    7400e2edfc9e MIPS: Loongson32: Fix PHY-mode being left unspecified
    abea65fa7713 MIPS: lantiq: export clk_get_io() for lantiq_wdt.ko
    831cf63c043e drm/panel: simple: Fix innolux_g121i1_l01 bus_format
    408d5752b60f net: team: Unsync device addresses on ndo_stop
    f50265a4f3da net: bonding: Unsync device addresses on ndo_stop
    e6b277f7367e net: bonding: Share lacpdu_mcast_addr definition
    8b2ab46b6c63 scsi: mpt3sas: Fix return value check of dma_get_required_mask()
    89df49e561b4 scsi: qla2xxx: Fix memory leak in __qlt_24xx_handle_abts()
    5826a555f77c net: phy: aquantia: wait for the suspend/resume operations to finish
    4d2f1bc9067a net: core: fix flow symmetric hash
    8d06006c7eb7 ipvlan: Fix out-of-bound bugs caused by unset skb->mac_header
    dae9d2abe25b iavf: Fix cached head and tail value for iavf_get_tx_pending
    34447d64b8d2 ice: Don't double unplug aux on peer initiated reset
    816eab147e5c netfilter: nfnetlink_osf: fix possible bogus match in nf_osf_find()
    dc33ffbc361e netfilter: nf_conntrack_irc: Tighten matching on DCC message
    0606c5d5fefd netfilter: nf_conntrack_sip: fix ct_sip_walk_headers
    0babb5bc85ee arm64: dts: rockchip: Remove 'enable-active-low' from rk3399-puma
    dd5a6c5a0875 dmaengine: ti: k3-udma-private: Fix refcount leak bug in of_xudma_dev_get()
    1b0e46d970b4 arm64: dts: rockchip: Set RK3399-Gru PCLK_EDP to 24 MHz
    e352fea1d0fc drm/mediatek: dsi: Add atomic {destroy,duplicate}_state, reset callbacks
    43733b6c9fda arm64: dts: rockchip: Fix typo in lisense text for PX30.Core
    2929463a9eff arm64: dts: rockchip: Pull up wlan wake# on Gru-Bob
    166a332463b5 firmware: arm_scmi: Fix the asynchronous reset requests
    1f08a1b26cfc firmware: arm_scmi: Harden accesses to the reset domains
    9ec5a534d77c xfs: validate inode fork size against fork format
    5caa3a127953 xfs: fix xfs_ifree() error handling to not leak perag ref
    9e7b231687fd xfs: reorder iunlink remove operation in xfs_ifree
    28c7ef86b21b vmlinux.lds.h: CFI: Reduce alignment of jump-table to function alignment
    3c3edb82d67b arm64: topology: fix possible overflow in amu_fie_setup()
    2427a04bce86 KVM: x86: Inject #UD on emulated XSETBV if XSAVES isn't enabled
    61703b248be9 mm: slub: fix flush_cpu_slab()/__free_slab() invocations in task context.
    2d6e55e0c038 mm/slub: fix to return errno if kmalloc() fails
    71075d7d4632 net: mana: Add rmb after checking owner bits
    19aea370fd09 can: flexcan: flexcan_mailbox_read() fix return value for drop = true
    bf0197aea195 kasan: call kasan_malloc() from __kmalloc_*track_caller()
    c75288a4902b riscv: fix a nasty sigreturn bug...
    97da736cd11a gpiolib: cdev: Set lineevent_state::irq after IRQ register successfully
    9b26723e058f gpio: mockup: Fix potential resource leakage when register a chip
    18352095a0d5 gpio: mockup: fix NULL pointer dereference when removing debugfs
    2279e977405b wifi: mt76: fix reading current per-tid starting sequence number for aggregation
    b5bc5a274d54 efi: libstub: check Shim mode using MokSBStateRT
    ef43fee9f211 efi: x86: Wipe setup_data on pure EFI boot
    b173f1f8ef9e thunderbolt: Add support for Intel Maple Ridge single port controller
    65b13f951fe6 usb: dwc3: core: leave default DMA if the controller does not support 64-bit DMA
    7143f6cf58db media: flexcop-usb: fix endpoint type check
    d8a76a2e514f btrfs: fix hang during unmount when stopping a space reclaim worker
    46053262b5f5 btrfs: fix hang during unmount when stopping block group reclaim worker
    b02f86689a5a iommu/vt-d: Check correct capability for sagaw determination
    a963fe6d0eb6 ALSA: hda/realtek: Enable 4-speaker output Dell Precision 5530 laptop
    4b2fa20da623 ALSA: hda/realtek: Add quirk for ASUS GA503R laptop
    eb54e457c4ad ALSA: hda/realtek: Add pincfg for ASUS G533Z HP jack
    0898469913cd ALSA: hda/realtek: Add pincfg for ASUS G513 HP jack
    c6a746b4fca5 ALSA: hda/realtek: Re-arrange quirk table entries
    41e974cd6ecb ALSA: hda/realtek: Enable 4-speaker output Dell Precision 5570 laptop
    5421125bbda8 ALSA: hda/realtek: Add quirk for Huawei WRT-WX9
    84481d7a59a2 ALSA: hda: add Intel 5 Series / 3400 PCI DID
    04b5bd5702ab ALSA: hda/tegra: set depop delay for tegra
    e10425c5424b ALSA: core: Fix double-free at snd_card_new()
    10a8c5d7d393 Revert "ALSA: usb-audio: Split endpoint setups for hw_params and prepare"
    06c0204a6e80 USB: serial: option: add Quectel RM520N
    6cf9e8b7e67a USB: serial: option: add Quectel BG95 0x0203 composition
    369b008bbe36 USB: core: Fix RST error in hub.c
    d10d1e9d9f1e drivers/base: Fix unsigned comparison to -1 in CPUMAP_FILE_MAX_BYTES
    6eede01dfd0e Revert "usb: gadget: udc-xilinx: replace memcpy with memcpy_toio"
    c02431f43e12 Revert "usb: add quirks for Lenovo OneLink+ Dock"
    8de5e12f587b usb: gadget: udc-xilinx: replace memcpy with memcpy_toio
    2db7a7176c45 usb: add quirks for Lenovo OneLink+ Dock
    a72eee6d905e usb: dwc3: gadget: Avoid duplicate requests to enable Run/Stop
    f79a57d4091f usb: dwc3: gadget: Don't modify GEVNTCOUNT in pullup()
    1a9923999459 usb: dwc3: gadget: Refactor pullup()
    7604a210acbb usb: dwc3: gadget: Prevent repeat pullup()
    a0b5d22b0448 usb: dwc3: Issue core soft reset before enabling run/stop
    8d583ba79cde usb: dwc3: gadget: Avoid starting DWC3 gadget during UDC unbind
    167b18f25b96 staging: r8188eu: Add Rosewill USB-N150 Nano to device tables
    add40eda8258 staging: r8188eu: Remove support for devices with 8188FU chipset (0bda:f179)
    55653c548612 drm/amdgpu: make sure to init common IP before gmc
    25a90a11036b drm/amdgpu: Separate vf2pf work item init from virt data exchange
    3e98e33d345e Linux 5.15.70
    21f948cab866 ALSA: hda/sigmatel: Fix unused variable warning for beep power change
    5db17805b6ba cgroup: Add missing cpus_read_lock() to cgroup_attach_task_all()
    39b0235284c7 KVM: SEV: add cache flush to solve SEV cache incoherency issues
    d9bf46e74735 net: Find dst with sk's xfrm policy not ctl_sk
    ab5140c6ddd7 video: fbdev: pxa3xx-gcu: Fix integer overflow in pxa3xx_gcu_write
    9af7af862cb8 mksysmap: Fix the mismatch of 'L0' symbols in System.map
    2340f23c770d drm/panfrost: devfreq: set opp to the recommended one to configure regulator
    7e8df4920b2a MIPS: OCTEON: irq: Fix octeon_irq_force_ciu_mapping()
    af88da4c737a afs: Return -EAGAIN, not -EREMOTEIO, when a file already locked
    2dd0ae85fb3c net: usb: qmi_wwan: add Quectel RM520N
    a5e949e088bc ALSA: hda/tegra: Align BDL entry to 4KB boundary
    3d25aaf71fe0 ALSA: hda/sigmatel: Keep power up while beep is enabled
    d582756bfc71 wifi: mac80211_hwsim: check length for virtio packets
    17898c3b578a rxrpc: Fix calc of resend age
    1bbcd88c3c99 rxrpc: Fix local destruction being repeated
    87cd4c02bdb1 scsi: lpfc: Return DID_TRANSPORT_DISRUPTED instead of DID_REQUEUE
    f08a320b4b60 regulator: pfuze100: Fix the global-out-of-bounds access in pfuze100_regulator_probe()
    80c7be217ba7 ASoC: nau8824: Fix semaphore unbalance at error paths
    f1d57c4c99c2 arm64: dts: juno: Add missing MHU secure-irq
    59b756da49bf video: fbdev: i740fb: Error out if 'pixclock' equals zero
    899f4160b140 binder: remove inaccurate mmap_assert_locked()
    8c2bbfb0ded3 drm/amdgpu: move nbio sdma_doorbell_range() into sdma code for vega
    0a7d86f156fa drm/amdgpu: move nbio ih_doorbell_range() into ih code for vega
    dcef16f64969 drm/amdgpu: Don't enable LTR if not supported
    710ebf8f1a08 tools/include/uapi: Fix <asm/errno.h> for parisc and xtensa
    309e9f4a17cf parisc: Allow CONFIG_64BIT with ARCH=parisc
    9a72466fb61b cifs: always initialize struct msghdr smb_msg completely
    21c47a08f96a cifs: don't send down the destination address to sendmsg for a SOCK_STREAM
    e1aad8c56090 cifs: revalidate mapping when doing direct writes
    b04e0208d025 of/device: Fix up of_dma_configure_id() stub
    8fd27239ca92 parisc: ccio-dma: Add missing iounmap in error path in ccio_probe()
    5f285e4c47c3 block: blk_queue_enter() / __bio_queue_enter() must return -EAGAIN for nowait
    f86092d12fbb drm/meson: Fix OSD1 RGB to YCbCr coefficient
    d38eb1f37538 drm/meson: Correct OSD1 global alpha value
    89cfddd416ba gpio: mpc8xxx: Fix support for IRQ_TYPE_LEVEL_LOW flow_type in mpc85xx
    9a173db71a99 NFSv4: Turn off open-by-filehandle and NFS re-export for NFSv4.0
    cd358b2ee56f pinctrl: sunxi: Fix name for A100 R_PIO
    ca2b798e53d4 pinctrl: rockchip: Enhance support for IRQ_TYPE_EDGE_BOTH
    30fccb4fe449 pinctrl: qcom: sc8180x: Fix wrong pin numbers
    cbafdbb6f6ce pinctrl: qcom: sc8180x: Fix gpio_wakeirq_map
    ba6b9f7cc110 of: fdt: fix off-by-one error in unflatten_dt_nodes()
    c23065adf97f tty: serial: atmel: Preserve previous USART mode if RS485 disabled
    1d01d7beccba serial: atmel: remove redundant assignment in rs485_config
    f3450c33411b drm/tegra: vic: Fix build warning when CONFIG_PM=n
    820b689b4a7a Linux 5.15.69
    277674996dcf Input: goodix - add compatible string for GT1158
    b9b39f7332c5 RDMA/irdma: Use s/g array in post send only when its valid
    125c3ae8a936 usb: gadget: f_uac2: fix superspeed transfer
    fa7e0266c239 usb: gadget: f_uac2: clean up some inconsistent indenting
    07609e83c1b9 soc: fsl: select FSL_GUTS driver for DPIO
    3998dc50ebdc mm: Fix TLB flush for not-first PFNMAP mappings in unmap_region()
    cd698131ef5d usb: storage: Add ASUS <0x0b05:0x1932> to IGNORE_UAS
    6087747599ec platform/x86: acer-wmi: Acer Aspire One AOD270/Packard Bell Dot keymap fixes
    d4441b810bd8 perf/arm_pmu_platform: fix tests for platform_get_irq() failure
    55032fb14d4a net: dsa: hellcreek: Print warning only once
    985a5d3d491d drm/amd/amdgpu: skip ucode loading if ucode_size == 0
    a1347be8f0ff nvmet-tcp: fix unhandled tcp states in nvmet_tcp_state_change()
    3d380f9d1e2b Input: iforce - add support for Boeder Force Feedback Wheel
    b9682878abee ieee802154: cc2520: add rc code in cc2520_tx()
    3a10e8edee2b gpio: mockup: remove gpio debugfs when remove device
    b4ebcd6d48bc tg3: Disable tg3 device on system reboot to avoid triggering AER
    f715188c23fa hid: intel-ish-hid: ishtp: Fix ishtp client sending disordered message
    a86c8d1b36a9 HID: ishtp-hid-clientHID: ishtp-hid-client: Fix comment typo
    2e3aeb48995a dt-bindings: iio: gyroscope: bosch,bmg160: correct number of pins
    1b80691d5115 drm/msm/rd: Fix FIFO-full deadlock
    a9687a2dc7e1 platform/surface: aggregator_registry: Add support for Surface Laptop Go 2
    49801d5f8b67 Input: goodix - add support for GT1158
    709edbac4c45 iommu/vt-d: Fix kdump kernels boot failure with scalable mode
    90f922646f57 tracefs: Only clobber mode/uid/gid on remount if asked
    3c90af5a773a tracing: hold caller_addr to hardirq_{enable,disable}_ip
    64840a4a2d8e task_stack, x86/cea: Force-inline stack helpers
    0b009e5fd146 x86/mm: Force-inline __phys_addr_nodebug()
    f9571a969973 lockdep: Fix -Wunused-parameter for _THIS_IP_
    dee782da3937 ARM: dts: at91: sama7g5ek: specify proper regulator output ranges
    424ac5929d0a ARM: dts: at91: fix low limit for CPU regulator
    8be25fa7cfd6 ARM: dts: imx6qdl-kontron-samx6i: fix spi-flash compatible
    78eb5e326a0e ARM: dts: imx: align SPI NOR node name with dtschema
    3bb12efc5e4d ACPI: resource: skip IRQ override on AMD Zen platforms
    a68a734b19af NFS: Fix WARN_ON due to unionization of nfs_inode.nrequests

(From OE-Core rev: ce015f3e0d28bec21ba4aedcb489854e51e83735)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit fbc8840580fe008c2deda50c0d2d5a98e9b6c564)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-10 14:39:24 +00:00
wangmy
9caee9274b lighttpd: upgrade 1.4.66 -> 1.4.67
Changelog:
=============
  * Update comment about TCP_INFO on OpenBSD
  * [mod_ajp13] fix crash with bad response headers (fixes #3170)
  * [core] handle RDHUP when collecting chunked body
  * [core] tweak streaming request body to backends
  * [core] handle ENOSPC with pwritev() (#3171)
  * [core] manually calculate off_t max (fixes #3171)
  * [autoconf] force large file support (#3171)
  * [multiple] quiet coverity warnings using casts
  * [meson] add license keyword to project declaration

(From OE-Core rev: da59d2883b8b0af2e6e435c630e74ae3732a6ad0)

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 7a399862bb2e1503fbffa18e7ec0767643f76132)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-10 14:39:24 +00:00
wangmy
d53aec39a3 lttng-ust: upgrade 2.13.4 -> 2.13.5
Changelog:
==========
* Fix: bytecode validator: reject specialized load field/context ref instructions
* Fix: bytecode validator: reject specialized load instructions
* Fix: event notification capture: validate buffer length
* Fix: event notification capture error handling
* Fix: lttng-ust-comm: wait on wrong child process
* fix: 'make dist' without javah

(From OE-Core rev: 92408e3a14d7f3a8944131ae0cd24e5f1844aa6d)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 569d6c271bf782cb4a524603693adbbe3d020f92)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-10 14:39:24 +00:00
wangmy
47b06a90f0 lttng-ust: upgrade 2.13.3 -> 2.13.4
Bug fix release

(From OE-Core rev: 552c17a4c4a9f4efad3d113fe069b2624bcc73b3)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 0be632451f4e9a4a6a08d051e6f493715658c23b)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-10 14:39:24 +00:00
wangmy
85cb720810 libksba: upgrade 1.6.0 -> 1.6.2
New upstream release fixing CVE-2022-3515

(From OE-Core rev: b58fa75b4cb0cc75034be5f952224d4bcee9aff6)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 4bef6fc673de958dfbab80bcbc2e0159803b97ee)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
(cherry picked from commit 8e453d64255ce6a01b193c3735bb0aefbaa6fb38)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-10 14:39:24 +00:00
wangmy
13b5dc6ade wpebackend-fdo: upgrade 1.12.1 -> 1.14.0
Changelog:
==========
Fixed a crash caused by trying to deallocate already freed graphics buffers in certain situations.

(From OE-Core rev: d5269e53d936570c875ef743f4ac198bb3658b6e)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 0db4627fe8c6f8a0080248052dc06419774cba4f)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-10 14:39:24 +00:00
wangmy
2a041adc8d numactl: upgrade 2.0.15 -> 2.0.16
(From OE-Core rev: 5a51b44967fff256ec298f7c3cfae1c084bf1b32)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 6d9ed8d4b13c2d87dae482bbadef039de050bc9d)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-10 14:39:24 +00:00
Richard Purdie
7444db04e6 numactl: upgrade 2.0.14 -> 2.0.15
v2.0.15 changes

Various bug fixes and cleanups
Supported multiple preferred nodes
This release didn't include a release tarball. Furthermore, it had issues such as #135, #136 and #138 that got fixed in the follow up release. Please try to use v2.0.16 instead.
License checksum change from a typo fix.

(From OE-Core rev: c275a87794027b03fde68ee11fa2f5eddbf3c344)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 8829fe6ee093acc6fb990f9ca6cad67c2c7549d5)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-10 14:39:24 +00:00
wangmy
0f6128e969 libical: upgrade 3.0.14 -> 3.0.15
Changelog:
=========
 Add missing property parameters into libical-glib
 Fix CMake option USE_32BIT_TIME_T actually uses a 32-bit time_t value
 Fix icaltime_as_timet, which returned incorrect results for years >= 2100, to work properly between years 1902 and 10k.
 Fix x-property comma handling and escaping
 Built-in timezones updated to tzdata2022d (now with a VTIMEZONE for each time zone alias)
 Fix fuzzer issues
 Handle unreachable-code compile warnings with clang
 Ensure all vanew_foo() calls finish with (void*)0 (not 0)

(From OE-Core rev: d0882397cb37ab19543733535c3d01d09c3845a4)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 6092ae3cbe0eaf006db615c6cc3f1692e1cc1df8)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-10 14:39:24 +00:00
wangmy
69664b0ca9 libcap: upgrade 2.65 -> 2.66
RELEASE NOTES FOR 2.66

Fix documentation typos in cap_from_text.3 (Bug: 216514 reported by Paulo Andrade.)

Some getpcaps code clean up and a fix for PID argument parsing from Jakub Wilk.

Slightly more robust Makefiles to address an error with make -j48 test observed by Tomasz Kłoczko.

Include a simple Go program, captrace, to trace kernel capability validation checks

This program can be used to figure out what capabilities a program needs to operate.

captrace (a wrapper for bpftrace) uses BPF kprobes to monitor the kernel for capability checks and whether or not they succeed for the system, a specific PID or a program's direct execution.

Trim down the default file capabilities for contrib/sucap/su to those actually needed and set USER and HOME environment variables so bash doesn't complain about a sourcing error.

(From OE-Core rev: 003a81171366956c899305ca9adc352d3c99c964)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 9040e612084a561b1766bb86c9c002b811eea4c9)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-10 14:39:23 +00:00
Khem Raj
c842329786 perf: Depend on native setuptools3
perf has need for python setuptools when scripting is enabled
from 6.0.0 onwards it seems to throw an explicit error

(From OE-Core rev: e1c36bdfb3c31f359e58d1644c238b74410d6091)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit da3d00178809bbf7cc453401e0c5937796ebc2c1)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-09 17:42:08 +00:00
Xiangyu Chen
a8b7298d40 ltp: backport clock_gettime04 fix from upstream
This is to get rid of the intermittent failures in clock_gettime04,
which are likely caused by different clock tick rates on platforms.
Here give two thresholds (in milliseconds) for comparison, one for
COARSE clock and one for the rest.

(From OE-Core rev: 9452efd99299a5bf23cc6518e8900e58b3a2fff9)

Signed-off-by: Xiangyu Chen <xiangyu.chen@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-09 17:42:08 +00:00
Bernhard Rosenkränzer
994831eac1 cmake-native: Fix host tool contamination (Bug: 14951)
Trying to build cmake-native on a host system where curl was built with cmake
(resulting in CURLConfig.cmake and friends, which do not use the same naming
schemes expected by cmake-native's build process, being installed to a system
wide cmake directory like /usr/lib64/cmake/CURL) results in undefined
references to all libcurl symbols.

The problem is that cmake-native sees and uses the system wide
/usr/lib64/cmake/CURL/CURLConfig.cmake, which defines CURL::libcurl and
CURL::curl as opposed to setting ${CURL_LIBRARIES} as expected by
cmake-native.

find_package(CURL) (cmake-native's CMakeLists.txt, line 478) succeeds, but
incorrectly uses the system wide CURLConfig.cmake, resulting
CMAKE_CURL_LIBRARIES to be set to an empty string (cmake-native's
CMakeLists.txt, line 484), causing the cmake-native build to miss -lcurl.

The simplest fix is to let cmake know the right value for
CURL_LIBRARIES. Making it -lcurl should always work with libcurl-native
in recipe-sysroot-native.

(From OE-Core rev: 0896d76a167dc9a64d69717ba66f12e7e1c41a77)

Signed-off-by: Bernhard Rosenkränzer <bero@baylibre.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-09 17:42:08 +00:00
Vyacheslav Yurkov
75be860f34 overlayfs: Allow not used mount points
When machine configuration defines a mount point, which is not used in
any recipe, allow to fall through and only report a note in the logs.
This can be expected behavior, when a mount point is defined for several
machines, but not used in all of them

(From OE-Core rev: 89d83920dc7f80abb20fadde97b47aba9cd992cc)

Signed-off-by: Vyacheslav Yurkov <Vyacheslav.Yurkov@bruker.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
(cherry picked from commit a9c604b5e0d943b5b5f7c8bdd5be730c2abcf866)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
(cherry picked from commit c7c6b273656a3e2b8b959004b996e56d4086ce5e)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-09 17:42:08 +00:00
Joshua Watt
67b2d0267a runqemu: Fix gl-es argument from causing other arguments to be ignored
The code to parse arguments was inadvertently skipping all arguments in
the elif block after gl-es if it was specified on the command line.

(From OE-Core rev: 45356f2ef90e4b67b890ca745513fafa32a469cf)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 718bb8d56f6a24c86e67830a7d13af54df2ebb4e)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
(cherry picked from commit dd1dcfada1fa46ecb8227c2852769b35026875d3)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-09 17:42:08 +00:00
Joshua Watt
b9f2ebe163 runqemu: Do not perturb script environment
Instead of changing the script environment to affect the child
processes, make a copy of the environment with modifications and pass
that to subprocess.

Specifically, when dri rendering is enabled, LD_PRELOAD was being passed
to all processes created by the script which resulted in other commands
(e.g. stty) exiting with a failure like:

 /bin/sh: symbol lookup error: sysroots-uninative/x86_64-linux/lib/librt.so.1: undefined symbol: __libc_unwind_link_get, version GLIBC_PRIVATE

Making a copy of the environment fixes this because the LD_PRELOAD is
now only passed to qemu itself.

(From OE-Core rev: 74911cf7ea703c54920a6c58c344a22a46398b02)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 2232599d330bd5f2a9e206b490196569ad855de8)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-09 17:42:08 +00:00
Jeremy Puhlman
f2adbff03d qemu-native: Add PACKAGECONFIG option for jack
With libjack-devel or jack-audio-connection-kit-devel, qemu-native
detects the library/header and tries to build with it. Since its
missing from the sysroot, it fails to build.

 -O2 -fPIE -D_REENTRANT -Wno-undef -MD -MQ libcommon.fa.p/audio_jackaudio.c.o
-MF libcommon.fa.p/audio_jackaudio.c.o.d -o libcommon.fa.p/audio_jackaudio.c.o
-c ../qemu-6.2.0/audio/jackaudio.c
| ../qemu-6.2.0/audio/jackaudio.c:34:10: fatal error: jack/jack.h: No such file
or directory
|    34 | #include <jack/jack.h>
|       |          ^~~~~~~~~~~~~
| compilation terminated.

(From OE-Core rev: 05eb77bd1e9e1ba59032cbb49953cab8015e37a3)

Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 27260be388f7f9f324ff405e7d8e254925b4ae90)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-09 17:42:08 +00:00
Jan-Simon Moeller
261ab84169 buildtools-tarball: export certificates to python and curl
The custom path of the ca-certificates.crt within the buildtools-tarball requires more
environment variables to be exported. Namely REQUESTS_CA_BUNDLE for the python requests library
and CURL_CA_BUNDLE for curl.

(From OE-Core rev: a38eab48fa1ccd6ae3ba0bd8ed30f5a9bdf9b661)

Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
(cherry picked from commit 5c249db9de8ad8cfe0996ff4fee4c575a5ff1e34)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-09 17:42:08 +00:00
Liam Beguin
7c28b18ba7 meson: make wrapper options sub-command specific
The meson-wrapper adds setup options to facilitate cross-compilation.
The current options are exclusive to the setup sub-command and might
cause issues with other sub-commands.

Update the wrapper to make options sub-command specific.

(From OE-Core rev: 6f4764ae2ef06c54dbbf77bcbf07af9390a565c9)

Signed-off-by: Liam Beguin <liambeguin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 7bcda141f2019862b4fb5d8dec7956cd8344b420)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-09 17:42:08 +00:00
Keiya Nobuta
2d4e9d0d5b gnutls: Unified package names to lower-case
create-spdx can't detect the license properly if the case doesn't
match, so fix it.

(From OE-Core rev: a96cd0df052af00215796add25373daf12a0e5ed)

Signed-off-by: Keiya Nobuta <nobuta.keiya@fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 9c87828493784d996910d742006268a626ef0130)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-09 17:42:08 +00:00
Ross Burton
a6081883a3 glib-2.0: fix rare GFileInfo test case failure
If a access or creation timestamp has 0 microseconds, then the test
fails as it doesn't expect this to be a valid value.  Expand a previous
fix for modification times to cover these timestamps too.

[ YOCTO #14373 ]

(From OE-Core rev: a4e29fe2bd3f834f8253716790fbbf032aad9fcc)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 15715e6ad81c97cd50e288f3745615eb19be90d1)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-09 17:42:08 +00:00
Bartosz Golaszewski
a8ed5babd5 bluez5: add dbus to RDEPENDS
Unless we're using systemd, dbus is not pulled into the system
automatically. Bluez5 will not work without dbus so add it to RDEPENDS
explicitly.

(From OE-Core rev: eba53bb6663222d47e14d26a5f22d26ba198f019)

Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 377ef7009a8638efe688b6b61f67ae399eb1f23d)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-09 17:42:08 +00:00
Alex Kiernan
a4a236b6ec u-boot: Remove duplicate inherit of cml1
Splitting u-boot-configure.inc out of the base left duplicate
cml1.bbclass in the base include.

Fixes: fc9a17ad38 ("u-boot: Split do_configure logic into separate file")
(From OE-Core rev: a6506c2c0563820293031d3312c2405998c25287)

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 286f91f7659307bcdf0ba541b8d6b56db5604ceb)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-09 17:42:08 +00:00
Ross Burton
36bc011714 oe/packagemanager/rpm: don't leak file objects
(From OE-Core rev: 406abef218a7e743f7892eff4c13fa0f889aa7f2)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 28706c27680745c9f8df27713ce63ef5d611138c)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-09 17:42:08 +00:00
Mark Hatle
8c13777e74 insane.bbclass: Allow hashlib version that only accepts on parameter
Some versions of hashlib don't appear to implement the second FIPS
related argument.  Detect this and support both versions.

(From OE-Core rev: 01af6453baccc926c245c51dda81aba5e15725c5)

Signed-off-by: Mark Hatle <mark.hatle@amd.com>
Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 2bbabed51e3aca138486d3feef640f5d3249be40)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-09 17:42:08 +00:00
Ross Burton
38ae1b6e5f opkg-utils: use a git clone, not a dynamic snapshot
opkg-utils fetches using a cgit snapshot of a tag, which is not
reproducible as the tag could move, not reliable as a future dynamic
snapshot could have a different checksum, and a waste of CPU load as
these tarballs are built on demand.

Switch opkg-utils to use a proper git clone of the relevant SHA.

(From OE-Core rev: 6ff0464d2fb21dea438e44538195dd9ff464a67c)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit dafd2631a20ffd94e6f21c46938a010e92b57da4)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-09 17:42:08 +00:00
Thomas Perrot
07e22747d6 psplash: add psplash-default in rdepends
Otherwise when the installation of recommended packages is prevented
(NO_RECOMMENDATIONS = "1"), then splash screen will not be cast.

(From OE-Core rev: 15342afa50de81bb882bc879892efa6ba63e75ff)

Signed-off-by: Thomas Perrot <thomas.perrot@bootlin.com>
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 2a0928532b8303858980d6df6271669dbb69e224)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-09 17:42:08 +00:00
Ross Burton
0893b67988 scripts/oe-check-sstate: force build to run for all targets, specifically populate_sysroot
Since the commit "populate_sdk_base/images: Drop use of 'meta' class and
hence do_build dependencies"[1], builds of images or SDKs don't
recursively depend on the top-level do_build target.  This is typically
a good thing: images just depend on the packages themselves and those
dependencies already exist, but they don't need each recipes sysroot to
be populated.

However, eSDK generation is partly done via the script oe-check-sstate,
which does a 'dry-run' build of the target and collates all of the
sstate that is used.  With this commit the sstate that is used is a
fraction of what would be needed in the SDK, specifically there are no
sysroots populated during the build, so there are no sysroots in the
SDK.

This is obviously a problem, as the entire point of an eSDK is to
contain a sysroot.  Resolve this problem by forcing bitbake to run the
build task for all targets, so that all potentially needed sstate is
collated.

[YOCTO #14626]

[1] 41d7f1aa2c

Tested-by: Andrej Valek <andrej.valek@siemens.com>
(From OE-Core rev: c6b8543fbd0e840483cbcdca93116cc9c994a9f2)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 1b62344f919b5122f048b6409d09386d7d6dd3cd)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-09 17:42:08 +00:00
Ross Burton
ea5e17bf05 scripts/oe-check-sstate: cleanup
The scriptutils import isn't used, there's no need to run bitbake
in a shell environment, and invoke bitbake as a list instead of a
string.

(From OE-Core rev: 4b9946bd3961679048e1460bdfc74b286c386feb)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 663aa284adf312eb5c8a471e5dbff2634e87897d)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-09 17:42:08 +00:00
wangmy
d9f78277fc ifupdown: upgrade 0.8.37 -> 0.8.39
(From OE-Core rev: acd017d7b7af29508212798224ba559bb47ddcae)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit f0462e3336c7134aeeb2684692732c187971b330)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-09 17:42:08 +00:00
Frank de Brabander
1e35d3a86b cve-update-db-native: add timeout to urlopen() calls
The urlopen() call can block indefinitely under some circumstances.
This can result in the bitbake process to run endlessly because of
the 'do_fetch' task of cve-update-bb-native to remain active.

This adds a default timeout of 60 seconds to avoid this hang, while
being large enough to minimize the risk of unwanted timeouts.

(From OE-Core rev: 28497b96346a669ba0ed3873cc40bc3ade611251)

Signed-off-by: Frank de Brabander <debrabander@gmail.com>
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit e5f6652854f544106b40d860de2946954de642f3)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-09 17:42:08 +00:00
Tim Orling
94d9172199 vim: upgrade 9.0.0614 -> 9.0.0820
Includes fixes for CVE-2022-3705
https://nvd.nist.gov/vuln/detail/CVE-2022-3705

For a short list of important changes, see:
https://www.arp242.net/vimlog/

(From OE-Core rev: 555fd2848b970fd38c20651b5e98cabb7f31287c)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f6d917bd0f8810b5ed8d403ad25d59cda2fc9574)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-04 13:13:31 +00:00
Teoh Jay Shen
c0a61b5e5d vim: Upgrade 9.0.0598 -> 9.0.0614
Include fixes for CVE-2022-3352.

(From OE-Core rev: 1104d02f9bac2fdd540da5ccb5dd6690e025ef33)

Signed-off-by: Teoh Jay Shen <jay.shen.teoh@intel.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
(cherry picked from commit 8aa707f80ae1cfe89d5e20ec1f1632a65149aed4)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-04 13:13:31 +00:00
Narpat Mali
305b505557 wayland: fix CVE-2021-3782
An internal reference count is held on the buffer pool,
incremented every time a new buffer is created from the pool.
The reference count is maintained as an int;
on LP64 systems this can cause thereference count to overflow if
the client creates a large number of wl_shm buffer objects,
or if it can coerce the server to create a large number of external references
to the buffer storage. With the reference count overflowing, a use-after-free
can be constructed on the wl_shm_pool tracking structure,
where values may be incremented or decremented;
it may also be possible to construct a limited oracle to leak 4 bytes of
server-side memory to the attacking client at a time.

Reference:
https://nvd.nist.gov/vuln/detail/CVE-2021-3782

Upstream patch:
b19488c715

(From OE-Core rev: 09b8ff8d2361b2db001bc963f481db294ccf2170)

Signed-off-by: Narpat Mali <narpat.mali@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-04 13:13:31 +00:00
Ross Burton
d30ae5d97f expat: backport the fix for CVE-2022-43680
(From OE-Core rev: 791fe354e5887af3fa3d3f772fafacc5eaedca21)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-04 13:13:31 +00:00
Zheng Qiu
fc1c036d4a tiff: fix CVE-2022-2953
While this does not happen with the tiff 4.3.0 release, it does happen with
the series of patches we have, so backport the two simple changes that
restrict the tiffcrop options to avoid the vulnerability.

CVE-2022-2953.patch was taken from upstream, and a small typo was fixed
for the CVE number. The other patch is included in tiff 4.4.0 but not
4.3.0, so add it as well.

(From OE-Core rev: cd94ed01214251027d1076b67cf65c3058f51dad)

Signed-off-by: Randy MacLeod <randy.macleod@windriver.com>
Signed-off-by: Zheng Qiu <zheng.qiu@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-04 13:13:31 +00:00
Ross Burton
bd400c76a6 lighttpd: fix CVE-2022-41556
Backport the fix from upstream to fix this CVE.

(From OE-Core rev: 88e1917dbf1e1bce5713c88d97adceb28ac0da05)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 59f69125fb00dc8fd335f32fe6898e7a480141e4)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-04 13:13:31 +00:00
Ed Tanous
0bfaca565e openssl: Upgrade 3.0.5 -> 3.0.7
OpenSSL 3.0.5 includes a HIGH level security vulnerability [1].

Upgrade the recipe to point to 3.0.7.

CVE-2022-3358 is reported fixed in 3.0.6, so drop the patch for that as
well.

[1] https://www.openssl.org/news/vulnerabilities.html

Fixes CVE-2022-3786 and CVE-2022-3602: X.509 Email Address Buffer Overflows
https://www.openssl.org/blog/blog/2022/11/01/email-address-overflows/

(From OE-Core rev: 78220bd59d98c1713336baf06b4babc6390a07c4)

Signed-off-by: Ed Tanous <edtanous@google.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit a69ea1f7db96ec8b853573bd581438edd42ad6e0)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-04 13:13:31 +00:00
Hitendra Prajapati
32e1f2be0f openssl: CVE-2022-3358 Using a Custom Cipher with NID_undef may lead to NULL encryption
Upstream-Status: Backport from https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=5485c56679d7c49b96e8fc8ca708b0b7e7c03c4b]
Description:
	CVE-2022-3358 openssl: Using a Custom Cipher with NID_undef may lead to NULL encryption.
Affects "openssl < 3.0.6"

(From OE-Core rev: 098e89e89eb58f7d0a6004d4672f3d7365c329dc)

Signed-off-by: Hitendra Prajapati <hprajapati@mvista.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit f98b2273c6f03f8f6029a7a409600ce290817e27)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
(cherry picked from commit 08b32d2b35c2ba63774d098af467d1c723b1b6e6)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-04 13:13:31 +00:00
Richard Purdie
fc2b5af5e0 openssl: Fix SSL_CERT_FILE to match ca-certs location
In OE-Core d6b15d1e70b99185cf245d829ada5b6fb99ec1af,
"openssl: export necessary env vars in SDK", the value added for
SSL_CERT_FILE was in conflict with the value used elsewhere, such as
in buildtools. This makes them match and fixes buildtools testsdk
failures.

(From OE-Core rev: 850ccc2a303f940f3a13ea6b2581081162f014e4)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 7d383a7fc6da666c80f2fc037af5f49a3388eb2b)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
(cherry picked from commit a9a50f2216951e26b62ed2f86f341d9ad13acf48)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-04 13:13:31 +00:00
Chen Qi
e9bbee956b openssl: export necessary env vars in SDK
In current SDK, when running the following command in python
shell, we get an error.

$ python3
>>> from cryptography.hazmat.backends import openssl

The error message is as below:

  cryptography.exceptions.InternalError: Unknown OpenSSL error.

We could set OPENSSL_MODULES explicitly in nativesdk-openssl package
so that when SDK is set up, it's in environment and we can
get rid of the above error.

Also, there are other env vars that need to be exported. And we export
all of them to keep sync with openssl-native.bbclass.

(From OE-Core rev: f51c9af925ab4cf338ec9ba3e4bebdae25113a3a)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit d6b15d1e70b99185cf245d829ada5b6fb99ec1af)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
(cherry picked from commit 69030b368773baae65d95e39d3587913b8401bc7)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-04 13:13:31 +00:00
Richard Purdie
2e79b19911 build-appliance-image: Update to kirkstone head revision
(From OE-Core rev: fbdf93f43ff4b876487e1f26752598ec8abcb46e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-10-29 16:33:03 +01:00
Steve Sakoman
4a88ada88f poky.conf: bump version for 4.0.5
(From meta-yocto rev: 8f216dca2fda2c8862f81dacdcf11df3118b31b7)

Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-10-29 16:32:24 +01:00
Steve Sakoman
39eafaa95f Revert "lttng-tools: Upgrade 2.13.4 -> 2.13.8"
Unfortunately this version upgrade results in failing ptests:

AssertionError: Failed ptests:
{'lttng-tools': ['kernel/test_callstack_11_-_Validate_userspace_callstack',
                 'kernel/test_userspace_probe_94_-_Enable_kernel_userspace_probe_event_for_session_test_userprobe_elf_cxx_function',
                 'kernel/test_userspace_probe_95_-_Start_tracing_for_session_test_userprobe_elf_cxx_function',
                 'kernel/test_userspace_probe_96_-_Stop_lttng_tracing_for_session_test_userprobe_elf_cxx_function',
                 'kernel/test_userspace_probe_97_-_Validate_trace_for_event_userspace_probe_test_event',
                 'kernel/test_userspace_probe_100_-_Enable_kernel_userspace_probe_event_for_session_test_userprobe_elf_cxx_method',
                 'kernel/test_userspace_probe_101_-_Start_tracing_for_session_test_userprobe_elf_cxx_method',
                 'kernel/test_userspace_probe_102_-_Stop_lttng_tracing_for_session_test_userprobe_elf_cxx_method',
                 'kernel/test_userspace_probe_103_-_Validate_trace_for_event_userspace_probe_test_event']}

This reverts commit 17d18936d201a61b16bbc24c9f10af6ef54620fc.

(cherry picked from commit 01cea6f046a6ec018c94ca88b6f8851c2baf43eb)
(From OE-Core rev: 82237927dbbf9ae19dd63622dd02beec3622575e)

Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-10-29 16:32:24 +01:00
Vyacheslav Yurkov
ff28239bbf classes: files: Extend overlayfs-etc class
Add the ability to expose the lower layer of /etc when mounting overlay.
This is the similar to what overlayroot script from initramfs-framework does.

By default, this option is turned off to keep an old behavior intact.

(From OE-Core rev: 6ad25304abefcbe538db7745e17ac213fa7d0719)

Signed-off-by: Vyacheslav Yurkov <v.yurkov@precitec.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 791e8a8bacce5a7f31f4d7bcbfb17df2967fd258)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-10-29 16:32:24 +01:00
Vyacheslav Yurkov
80092ba3ab files: overlayfs-etc: refactor preinit template
(From OE-Core rev: a1e0ddbb7bc2c63845af67d5fd38f12be44e8775)

Signed-off-by: Vyacheslav Yurkov <v.yurkov@precitec.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit ad5b2bffbee6ddcf51bc146d1e76c980b498b399)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-10-29 16:32:24 +01:00
Tim Orling
35d24e6713 git: upgrade 2.35.4 -> 2.35.5
This release addresses the security issues CVE-2022-39253 and
CVE-2022-39260.

 * CVE-2022-39253:
   When relying on the `--local` clone optimization, Git dereferences
   symbolic links in the source repository before creating hardlinks
   (or copies) of the dereferenced link in the destination repository.
   This can lead to surprising behavior where arbitrary files are
   present in a repository's `$GIT_DIR` when cloning from a malicious
   repository.

   Git will no longer dereference symbolic links via the `--local`
   clone mechanism, and will instead refuse to clone repositories that
   have symbolic links present in the `$GIT_DIR/objects` directory.

   Additionally, the value of `protocol.file.allow` is changed to be
   "user" by default.

 * CVE-2022-39260:
   An overly-long command string given to `git shell` can result in
   overflow in `split_cmdline()`, leading to arbitrary heap writes and
   remote code execution when `git shell` is exposed and the directory
   `$HOME/git-shell-commands` exists.

   `git shell` is taught to refuse interactive commands that are
   longer than 4MiB in size. `split_cmdline()` is hardened to reject
   inputs larger than 2GiB.

Credit for finding CVE-2022-39253 goes to Cory Snider of Mirantis. The
fix was authored by Taylor Blau, with help from Johannes Schindelin.

Credit for finding CVE-2022-39260 goes to Kevin Backhouse of GitHub.
The fix was authored by Kevin Backhouse, Jeff King, and Taylor Blau.

(From OE-Core rev: 43badfadb92a1d6684801f81fa2ed9c8b5652bb6)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-10-29 16:32:24 +01:00
Yash Shinde
d898bbc701 glibc: stable 2.35 branch updates.
Below commits on glibc-2.35 stable branch are updated.
8d125a1f91 (HEAD -> release/2.35/master, origin/release/2.35/master) elf: Do not completely clear reused namespace in dlmopen (bug 29600)
f8730697d2 nss: Use shared prefix in IPv4 address in tst-reload1
135c29bf9c nss: Fix tst-nss-files-hosts-long on single-stack hosts (bug 24816)
767c99850b nss: Implement --no-addrconfig option for getent
bca80a916e nscd: Drop local address tuple variable [BZ #29607]
20152a849b x86-64: Require BMI1/BMI2 for AVX2 strrchr and wcsrchr implementations
02aa1f4a5b x86-64: Require BMI2 and LZCNT for AVX2 memrchr implementation
c85a45acac x86-64: Require BMI2 for AVX2 (raw|w)memchr implementations
1523fbedff x86-64: Require BMI2 for AVX2 wcs(n)cmp implementations
7e1326c43a x86-64: Require BMI2 for AVX2 strncmp implementation
6260de8867 x86-64: Require BMI2 for AVX2 strcmp implementation
0161ebf15b x86-64: Require BMI2 for AVX2 str(n)casecmp implementations
97ff96b0e1 x86: include BMI1 and BMI2 in x86-64-v3 level
a6d2e2c192 hppa: undef __ASSUME_SET_ROBUST_LIST
562e5b2821 hppa: Fix initialization of dp register [BZ 29635]
e36aeeaf08 nptl: Add backoff mechanism to spinlock loop
4f3c6dcd20 sysdeps: Add 'get_fast_jitter' interace in fast-jitter.h
a7d5383328 m68k: Enforce 4-byte alignment on internal locks (BZ #29537)
dee4146cec gconv: Use 64-bit interfaces in gconv_parseconfdir (bug 29583)
6fea8e6b94 resolv: Fix building tst-resolv-invalid-cname for earlier C standards
649213ae27 nss_dns: Rewrite _nss_dns_gethostbyname4_r using current interfaces
4a214c7448 resolv: Add new tst-resolv-invalid-cname
519e1b0251 nss_dns: In gaih_getanswer_slice, skip strange aliases (bug 12154)
ee74c14325 nss_dns: Rewrite getanswer_r to match getanswer_ptr (bug 12154, bug 29305)
692fc980eb nss_dns: Remove remnants of IPv6 address mapping
def97e7f71 nss_dns: Rewrite _nss_dns_gethostbyaddr2_r and getanswer_ptr
51b6c3c28b nss_dns: Split getanswer_ptr from getanswer_r
492d259ebc resolv: Add DNS packet parsing helpers geared towards wire format
a333ba1d50 resolv: Add internal __ns_name_length_uncompressed function
d7c22ec359 resolv: Add the __ns_samebinaryname function
83b09a8e86 resolv: Add internal __res_binary_hnok function
6e56f918a8 resolv: Add tst-resolv-aliases
fae10fcb3b resolv: Add tst-resolv-byaddr for testing reverse lookup
d883d02008 elf: Implement force_first handling in _dl_sort_maps_dfs (bug 28937)
c15c0f1985 elf: Rename _dl_sort_maps parameter from skip to force_first
ff344711ea scripts/dso-ordering-test.py: Generate program run-time dependencies
f4687bb416 elf: Fix hwcaps string size overestimation
55a636430b Use __ehdr_start rather than _begin in _dl_start_final
61e15f6815 elf: Run tst-audit-tlsdesc, tst-audit-tlsdesc-dlopen everywhere

(From OE-Core rev: ab154b24419782bdf281d038e093003909e698fe)

Signed-off-by: Yash Shinde <yashinde145@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-10-29 16:32:24 +01:00
Yash Shinde
7b6d1acff1 binutils: stable 2.38 branch updates
Below commits on binutils-2.38 stable branch are updated.
dc2474e7d20 (HEAD -> binutils-2_38-branch, origin/binutils-2_38-branch) elf: Reset alignment for each PT_LOAD segment
f184ba116ed Re: PowerPC64 pcrel got relocs against local symbols
737e29d05eb PowerPC64 pcrel got relocs against local symbols

(From OE-Core rev: 3ea33ca1a83d8621f1feee78f2c63850c1bc73e3)

Signed-off-by: Yash Shinde <yashinde145@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-10-29 16:32:24 +01:00
Bruce Ashfield
a7718c54a1 linux-yocto/5.10: update to v5.10.149
Updating  to the latest korg -stable release that comprises
the following commits:

    09be132bfe3a Linux 5.10.149
    31ce5da48a84 wifi: mac80211: fix MBSSID parsing use-after-free
    353b5c8d4bea wifi: mac80211: don't parse mbssid in assoc response
    66dacdbc2e83 mac80211: mlme: find auth challenge directly
    a07708a84355 Revert "fs: check FMODE_LSEEK to control internal pipe splicing"
    3783e64fee4a Linux 5.10.148
    0df206bdc620 misc: pci_endpoint_test: Fix pci_endpoint_test_{copy,write,read}() panic
    40a29e58f639 misc: pci_endpoint_test: Aggregate params checking for xfer
    9c13b1a044c9 Input: xpad - fix wireless 360 controller breaking after suspend
    19dba9c3b5a3 Input: xpad - add supported devices as contributed on github
    b2b9386667e6 wifi: cfg80211: update hidden BSSes to avoid WARN_ON
    58c0306d0bcd wifi: mac80211: fix crash in beacon protection for P2P-device
    3539e75abe3c wifi: mac80211_hwsim: avoid mac80211 warning on bad rate
    b0e5c5deb788 wifi: cfg80211: avoid nontransmitted BSS list corruption
    6b9448450313 wifi: cfg80211: fix BSS refcounting bugs
    6144c97f96f5 wifi: cfg80211: ensure length byte is present before access
    e7aa7fd10eba wifi: cfg80211/mac80211: reject bad MBSSID elements
    a6408e0b694c wifi: cfg80211: fix u8 overflow in cfg80211_update_notlisted_nontrans()
    b0c37581be9a random: use expired timer rather than wq for mixing fast pool
    c1a4423fd30f random: avoid reading two cache lines on irq randomness
    638f84a718d9 USB: serial: qcserial: add new usb-id for Dell branded EM7455
    36b33c63515a scsi: stex: Properly zero out the passthrough command structure
    438994b8cd6a efi: Correct Macmini DMI match in uefi cert quirk
    2fd1caa0c64b ALSA: hda: Fix position reporting on Poulsbo
    011399a3f926 random: clamp credited irq bits to maximum mixed
    fc87c413f272 random: restore O_NONBLOCK support
    c04b67c54472 Revert "clk: ti: Stop using legacy clkctrl names for omap4 and 5"
    0a49bfa8f82f rpmsg: qcom: glink: replace strncpy() with strscpy_pad()
    3451df3a514c USB: serial: ftdi_sio: fix 300 bps rate for SIO
    1b257f97fec4 usb: mon: make mmapped memory read only
    3ba555d8e12f mmc: core: Terminate infinite loop in SD-UHS voltage switch
    068465836652 mmc: core: Replace with already defined values for readability
    4f32f266b108 drm/amd/display: skip audio setup when audio stream is enabled
    a6fe179ba03f drm/amd/display: update gamut remap if plane has changed
    73e1b27b58a6 net: atlantic: fix potential memory leak in aq_ndev_close()
    3287f0d72710 arch: um: Mark the stack non-executable to fix a binutils warning
    aeb8315593a6 um: Cleanup compiler warning in arch/x86/um/tls_32.c
    6d4deaba063d um: Cleanup syscall_handler_t cast in syscalls_32.h
    6d7a47e84913 ALSA: hda/hdmi: Fix the converter reuse for the silent stream
    c1337f8ea861 net/ieee802154: fix uninit value bug in dgram_sendmsg
    034b30c31146 scsi: qedf: Fix a UAF bug in __qedf_probe()
    29461bbe2d7f ARM: dts: fix Moxa SDIO 'compatible', remove 'sdhci' misnomer
    dae0b77cb8b2 dmaengine: xilinx_dma: Report error in case of dma_set_mask_and_coherent API failure
    e0ca2998dfba dmaengine: xilinx_dma: cleanup for fetching xlnx,num-fstores property
    789e590cb8c4 dmaengine: xilinx_dma: Fix devm_platform_ioremap_resource error handling
    64e240934c31 firmware: arm_scmi: Add SCMI PM driver remove routine
    6df7c6d141ec compiler_attributes.h: move __compiletime_{error|warning}
    1e555c3ed1fc fs: fix UAF/GPF bug in nilfs_mdt_destroy
    acf05d61d39b powerpc/64s/radix: don't need to broadcast IPI for radix pmd collapse flush
    377c60dd32d3 mm: gup: fix the fast GUP race against THP collapse
    fce793a056c6 ALSA: pcm: oss: Fix race at SNDCTL_DSP_SYNC
    132590d776e2 xsk: Inherit need_wakeup flag for shared sockets
    beffc38dc6b2 perf tools: Fixup get_current_dir_name() compilation
    fb380f548c44 docs: update mediator information in CoC docs
    c7f4af575b1d Makefile.extrawarn: Move -Wcast-function-type-strict to W=1
    b23b0cd57e2c ceph: don't truncate file in atomic_open
    8a18fdc5ae8e nilfs2: replace WARN_ONs by nilfs_error for checkpoint acquisition failure
    aad4c997857f nilfs2: fix leak of nilfs_root in case of writer thread creation failure
    21ee3cffed8f nilfs2: fix use-after-free bug of struct nilfs_root
    3f840480e314 nilfs2: fix NULL pointer dereference at nilfs_bmap_lookup_at_level()

(From OE-Core rev: de59742490f649f2e66924313e21b3142314a1d3)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-10-29 16:32:24 +01:00
Bruce Ashfield
68559c8a62 linux-yocto/5.10: update to v5.10.147
Updating  to the latest korg -stable release that comprises
the following commits:

    014862eecf03 Linux 5.10.147
    98f722cc2438 ALSA: hda/hdmi: fix warning about PCM count when used with SOF
    b12d0489e402 x86/alternative: Fix race in try_get_desc()
    374d4c307534 KVM: x86: Hide IA32_PLATFORM_DCA_CAP[31:0] from the guest
    a8e6cde5062f clk: iproc: Do not rely on node name for correct PLL setup
    cf41711aa4a7 clk: imx: imx6sx: remove the SET_RATE_PARENT flag for QSPI clocks
    83db457b41a8 selftests: Fix the if conditions of in test_extra_filter()
    84cab3531ff7 net: stmmac: power up/down serdes in stmmac_open/release
    743a6e53cf1c nvme: Fix IOC_PR_CLEAR and IOC_PR_RELEASE ioctls for nvme devices
    469dc5fd9a58 nvme: add new line after variable declatation
    2c248c468162 cxgb4: fix missing unlock on ETHOFLD desc collect fail path
    fde656dbc372 net: sched: act_ct: fix possible refcount leak in tcf_ct_init()
    fa065e60811a usbnet: Fix memory leak in usbnet_disconnect()
    57959392f7f0 Input: melfas_mip4 - fix return value check in mip4_probe()
    330b77578168 Revert "drm: bridge: analogix/dp: add panel prepare/unprepare in suspend/resume time"
    359e73edd3be ASoC: tas2770: Reinit regcache on reset
    8884a192f95e soc: sunxi: sram: Fix debugfs info for A64 SRAM C
    4e2ede7cb9b5 soc: sunxi: sram: Fix probe function ordering issues
    50fbc81f80d2 soc: sunxi_sram: Make use of the helper function devm_platform_ioremap_resource()
    0fdc3ab9b438 soc: sunxi: sram: Prevent the driver from being unbound
    3e0405c69bc9 soc: sunxi: sram: Actually claim SRAM regions
    a658f0bc72cb reset: imx7: Fix the iMX8MP PCIe PHY PERST support
    8934aea1a46c ARM: dts: am33xx: Fix MMCHS0 dma properties
    cce5dc03338e scsi: hisi_sas: Revert "scsi: hisi_sas: Limit max hw sectors for v3 HW"
    625899cd06e1 swiotlb: max mapping size takes min align mask into account
    6f478fe8c3fb media: rkvdec: Disable H.264 error detection
    ac828e241691 media: dvb_vb2: fix possible out of bound access
    be2cd261ca51 mm: fix madivse_pageout mishandling on non-LRU page
    1002d5fef406 mm/migrate_device.c: flush TLB while holding PTL
    a54fc5369113 mm: prevent page_frag_alloc() from corrupting the memory
    466a26af2d10 mm/page_alloc: fix race condition between build_all_zonelists and page allocation
    9b751b4dc350 mmc: hsq: Fix data stomping during mmc recovery
    36b10cde0c44 mmc: moxart: fix 4-bit bus width and remove 8-bit bus width
    02d55a837e1a libata: add ATA_HORKAGE_NOLPM for Pioneer BDR-207M and BDR-205
    e72a435fa30c net: mt7531: only do PLL once after the reset
    a48daecd0994 ntfs: fix BUG_ON in ntfs_lookup_inode_by_name()
    1d71422bd483 ARM: dts: integrator: Tag PCI host with device_type
    dab144c5dd07 clk: ingenic-tcu: Properly enable registers before accessing timers
    6c5742372b2d Input: snvs_pwrkey - fix SNVS_HPVIDR1 register address
    8cf377baf0c3 net: usb: qmi_wwan: Add new usb-id for Dell branded EM7455
    0695e590de3c thunderbolt: Explicitly reset plug events delay back to USB4 spec value
    efdff5339462 usb: typec: ucsi: Remove incorrect warning
    e5ee7b77ac9b uas: ignore UAS for Thinkplus chips
    5f91ceea6c14 usb-storage: Add Hiksemi USB3-FW to IGNORE_UAS
    1e4b856fc0bb uas: add no-uas quirk for Hiksemi usb_disk
    6ac5b52e3f35 btrfs: fix hang during unmount when stopping a space reclaim worker
    29d849c3de57 ALSA: hda: Fix Nvidia dp infoframe
    24070d32c6ec ALSA: hda/hdmi: let new platforms assign the pcm slot dynamically
    c1256c531d67 ALSA: hda/tegra: Reset hardware
    ded9e8964d00 ALSA: hda/tegra: Use clk_bulk helpers
    b2ad53fbc0e1 thunderbolt: Add support for Intel Maple Ridge single port controller
    53e6282dde62 thunderbolt: Add support for Intel Maple Ridge
    62aea694445d Linux 5.10.146
    c18383218c31 ext4: make directory inode spreading reflect flexbg size
    a968542d7e24 ext4: limit the number of retries after discarding preallocations blocks
    958b0ee23f5a ext4: fix bug in extents parsing when eh_entries == 0 and eh_depth > 0
    25117265152e devdax: Fix soft-reservation memory description
    0fa11239c4d3 i2c: mlxbf: Fix frequency calculation
    48ee0a864d1a i2c: mlxbf: prevent stack overflow in mlxbf_i2c_smbus_start_transaction()
    4f6db1f9219e i2c: mlxbf: incorrect base address passed during io write
    2f58c47c36d3 i2c: imx: If pm_runtime_get_sync() returned 1 device access is possible
    90f1c0025be0 workqueue: don't skip lockdep work dependency in cancel_work_sync()
    4dfc96d8d730 drm/rockchip: Fix return type of cdn_dp_connector_mode_valid
    58101a9cfc5f drm/amd/display: Mark dml30's UseMinimumDCFCLK() as noinline for stack usage
    3ae1dede22e3 drm/amd/display: Limit user regamma to a valid value
    867b2b2b6802 drm/amdgpu: use dirty framebuffer helper
    c5812807e416 drm/gma500: Fix BUG: sleeping function called from invalid context errors
    ec2bf249bdff Drivers: hv: Never allocate anything besides framebuffer from framebuffer memory region
    2a2e503a62e5 cifs: always initialize struct msghdr smb_msg completely
    877231b0e678 cifs: use discard iterator to discard unneeded network data more efficiently
    09867977fcc2 drm/amdgpu: Fix check for RAS support
    8c6fd05cf887 vfio/type1: fix vaddr_get_pfns() return in vfio_pin_page_external()
    f31ea57c1183 usb: xhci-mtk: fix issue of out-of-bounds array access
    f5fcc9d6d71d s390/dasd: fix Oops in dasd_alias_get_start_dev due to missing pavgroup
    fb189aa1be09 serial: tegra-tcu: Use uart_xmit_advance(), fixes icount.tx accounting
    e1993864a935 serial: tegra: Use uart_xmit_advance(), fixes icount.tx accounting
    7f11386733ab serial: Create uart_xmit_advance()
    fda04a0bab7f drm/amd/amdgpu: fixing read wrong pf2vf data in SRIOV
    4bc4b6419e65 selftests: forwarding: add shebang for sch_red.sh
    8844c750eeb0 net: sched: fix possible refcount leak in tc_new_tfilter()
    75ca7f44dab6 net: sunhme: Fix packet reception for len < RX_COPY_THRESHOLD
    d76151a8131e net/smc: Stop the CLC flow if no link to map buffers on
    fd938b4ce0fb drm/mediatek: dsi: Move mtk_dsi_stop() call back to mtk_dsi_poweroff()
    c99062160688 perf kcore_copy: Do not check /proc/modules is unchanged
    28d185095e51 perf jit: Include program header in ELF files
    78926cf76291 can: gs_usb: gs_can_open(): fix race dev->can.state condition
    ebd97dbe3c55 netfilter: ebtables: fix memory leak when blob is malformed
    b043a525a3f5 netfilter: nf_tables: fix percpu memory leak at nf_tables_addchain()
    710e3f526bd2 netfilter: nf_tables: fix nft_counters_enabled underflow at nf_tables_addchain()
    1e7e55374d01 net/sched: taprio: make qdisc_leaf() see the per-netdev-queue pfifo child qdiscs
    586def6ebed1 net/sched: taprio: avoid disabling offload when it was never enabled
    aa400ccadf59 net: socket: remove register_gifconf
    8bd98cfbfcb0 net: enetc: move enetc_set_psfp() out of the common enetc_set_features()
    f0a057f49b8d wireguard: netlink: avoid variable-sized memcpy on sockaddr
    b7b385959894 wireguard: ratelimiter: disable timings test by default
    ddd47f1cd67d net: ipa: properly limit modem routing table use
    8c1454d5493b net: ipa: kill IPA_TABLE_ENTRY_SIZE
    53b1715e283e net: ipa: DMA addresses are nicely aligned
    48afea293a89 net: ipa: avoid 64-bit modulus
    3ae25aca3f89 net: ipa: fix table alignment requirement
    c2cf0613d1ff net: ipa: fix assumptions about DMA address size
    d58815af8979 of: mdio: Add of_node_put() when breaking out of for_each_xx
    9101e54c95cf drm/hisilicon: Add depends on MMU
    bac7328fc0d7 drm/hisilicon/hibmc: Allow to be built if COMPILE_TEST is enabled
    b3b41d4d95d3 sfc: fix null pointer dereference in efx_hard_start_xmit
    b4afd3878f96 sfc: fix TX channel offset when using legacy interrupts
    2dbf487d6b38 i40e: Fix set max_tx_rate when it is lower than 1 Mbps
    65ee2bcc8990 i40e: Fix VF set max MTU size
    15e9724f6bb3 iavf: Fix set max MTU size with port VLAN and jumbo frames
    ccddb1db4b3c iavf: Fix bad page state
    21b535fe5ecb MIPS: Loongson32: Fix PHY-mode being left unspecified
    a4121785a3a3 MIPS: lantiq: export clk_get_io() for lantiq_wdt.ko
    1ac50c1ad40f drm/panel: simple: Fix innolux_g121i1_l01 bus_format
    90fbcb26d666 net: team: Unsync device addresses on ndo_stop
    e2b94a11223a net: bonding: Unsync device addresses on ndo_stop
    dc209962c093 net: bonding: Share lacpdu_mcast_addr definition
    2b9aba0c5d58 scsi: mpt3sas: Fix return value check of dma_get_required_mask()
    e7fafef9830c scsi: mpt3sas: Force PCIe scatterlist allocations to be within same 4 GB region
    351f2d2c357f net: phy: aquantia: wait for the suspend/resume operations to finish
    d298fc2eefd6 net: core: fix flow symmetric hash
    e90001e1dd96 net: let flow have same hash in two directions
    ab4a733874ea ipvlan: Fix out-of-bound bugs caused by unset skb->mac_header
    14446a1bc2a8 iavf: Fix cached head and tail value for iavf_get_tx_pending
    5d75fef3e61e netfilter: nfnetlink_osf: fix possible bogus match in nf_osf_find()
    9a5d7e0acb41 netfilter: nf_conntrack_irc: Tighten matching on DCC message
    369ec4dab097 netfilter: nf_conntrack_sip: fix ct_sip_walk_headers
    66f9470ffe42 arm64: dts: rockchip: Remove 'enable-active-low' from rk3399-puma
    aa11dae059a4 dmaengine: ti: k3-udma-private: Fix refcount leak bug in of_xudma_dev_get()
    1cc871fe6d31 arm64: dts: rockchip: Set RK3399-Gru PCLK_EDP to 24 MHz
    3ca272b231d6 drm/mediatek: dsi: Add atomic {destroy,duplicate}_state, reset callbacks
    39f97714f3e2 arm64: dts: rockchip: Pull up wlan wake# on Gru-Bob
    dce466286944 xfs: validate inode fork size against fork format
    a6bfdc157f85 xfs: reorder iunlink remove operation in xfs_ifree
    e811a534ec2f xfs: fix up non-directory creation in SGID directories
    4e74179a164d interconnect: qcom: icc-rpmh: Add BCMs to commit list in pre_aggregate
    a60babeb60ff KVM: SEV: add cache flush to solve SEV cache incoherency issues
    379ac7905ff3 mm/slub: fix to return errno if kmalloc() fails
    fa57bb9b1ab5 can: flexcan: flexcan_mailbox_read() fix return value for drop = true
    12fda27a412b riscv: fix a nasty sigreturn bug...
    657803b918e0 gpiolib: cdev: Set lineevent_state::irq after IRQ register successfully
    bdea98b98f84 gpio: mockup: fix NULL pointer dereference when removing debugfs
    bd5958ccfc45 wifi: mt76: fix reading current per-tid starting sequence number for aggregation
    85f9a2d51e72 efi: libstub: check Shim mode using MokSBStateRT
    3490ebe43505 efi: x86: Wipe setup_data on pure EFI boot
    c5ee36018d32 media: flexcop-usb: fix endpoint type check
    0d99b180ce68 iommu/vt-d: Check correct capability for sagaw determination
    213cdb2901e9 ALSA: hda/realtek: Enable 4-speaker output Dell Precision 5530 laptop
    10c7e52d9585 ALSA: hda/realtek: Add quirk for ASUS GA503R laptop
    4cd84a9518e0 ALSA: hda/realtek: Add pincfg for ASUS G533Z HP jack
    2f7cad4ecd0b ALSA: hda/realtek: Add pincfg for ASUS G513 HP jack
    62ce31979fd5 ALSA: hda/realtek: Re-arrange quirk table entries
    d4bad13828f0 ALSA: hda/realtek: Enable 4-speaker output Dell Precision 5570 laptop
    62b0824c2c69 ALSA: hda/realtek: Add quirk for Huawei WRT-WX9
    c78bce842d47 ALSA: hda: add Intel 5 Series / 3400 PCI DID
    f109dd1607f8 ALSA: hda/tegra: set depop delay for tegra
    a1926f11d9aa USB: serial: option: add Quectel RM520N
    4d1d91a6343e USB: serial: option: add Quectel BG95 0x0203 composition
    3a26651a7856 USB: core: Fix RST error in hub.c
    381f77b6a69a arm64/bti: Disable in kernel BTI when cross section thunks are broken
    050de2898039 arm64: Restrict ARM64_BTI_KERNEL to clang 12.0.0 and newer
    561d86bd0e28 Revert "usb: gadget: udc-xilinx: replace memcpy with memcpy_toio"
    578d644edc7d vfio/type1: Unpin zero pages
    abb560abdf47 vfio/type1: Prepare for batched pinning with struct vfio_batch
    38cb9b868369 vfio/type1: Change success value of vaddr_get_pfn()
    c4adbfa9cea7 Revert "usb: add quirks for Lenovo OneLink+ Dock"
    905e8be5284b usb: cdns3: fix issue with rearming ISO OUT endpoint
    8fcb5f027b39 usb: cdns3: fix incorrect handling TRB_SMM flag for ISOC transfer
    f457bb21984b usb: gadget: udc-xilinx: replace memcpy with memcpy_toio
    b9e5c47e3357 usb: add quirks for Lenovo OneLink+ Dock
    345bdea212e3 tty: serial: atmel: Preserve previous USART mode if RS485 disabled
    730f78c51bdc serial: atmel: remove redundant assignment in rs485_config
    b3f2adf42621 mmc: core: Fix inconsistent sd3_bus_mode at UHS-I SD voltage switch failure
    7780b3dda212 usb: xhci-mtk: relax TT periodic bandwidth allocation
    99f48a3a6eec usb: xhci-mtk: allow multiple Start-Split in a microframe
    b19f9f412216 usb: xhci-mtk: add some schedule error number
    402fa9214e12 usb: xhci-mtk: add a function to (un)load bandwidth info
    c2e7000b137b usb: xhci-mtk: use @sch_tt to check whether need do TT schedule
    a2566a8dc5da usb: xhci-mtk: add only one extra CS for FS/LS INTR
    b1e11bc66cfd usb: xhci-mtk: get the microframe boundary for ESIT
    9c28189bb654 usb: dwc3: gadget: Avoid duplicate requests to enable Run/Stop
    ff23c7277fb4 usb: dwc3: gadget: Don't modify GEVNTCOUNT in pullup()
    ab046365c91c usb: dwc3: gadget: Refactor pullup()
    db27874477fd usb: dwc3: gadget: Prevent repeat pullup()
    6bd182beef5d usb: dwc3: Issue core soft reset before enabling run/stop
    b83692feb09c usb: dwc3: gadget: Avoid starting DWC3 gadget during UDC unbind
    2a358ad19c3e usb: typec: intel_pmc_mux: Add new ACPI ID for Meteor Lake IOM device
    c267bb83340e usb: typec: intel_pmc_mux: Update IOM port status offset for AlderLake
    7b0db849ea03 drm/amdgpu: make sure to init common IP before gmc
    9d18013dac86 drm/amdgpu: Separate vf2pf work item init from virt data exchange
    87a4e51fb8d6 drm/amdgpu: indirect register access for nv12 sriov
    9f55f36f749a drm/amdgpu: move nbio sdma_doorbell_range() into sdma code for vega
    4a77e6ef2057 Linux 5.10.145
    ca5539d42164 ALSA: hda/sigmatel: Fix unused variable warning for beep power change
    9f267393b036 cgroup: Add missing cpus_read_lock() to cgroup_attach_task_all()
    06e194e1130c video: fbdev: pxa3xx-gcu: Fix integer overflow in pxa3xx_gcu_write
    3fefe614ed80 mksysmap: Fix the mismatch of 'L0' symbols in System.map
    3e6d2eff5661 MIPS: OCTEON: irq: Fix octeon_irq_force_ciu_mapping()
    72602bc62013 afs: Return -EAGAIN, not -EREMOTEIO, when a file already locked
    517a0324db6e net: usb: qmi_wwan: add Quectel RM520N
    a36fd2d8d69c ALSA: hda/tegra: Align BDL entry to 4KB boundary
    e41b97a27780 ALSA: hda/sigmatel: Keep power up while beep is enabled
    b95a5ef4c054 wifi: mac80211_hwsim: check length for virtio packets
    c505fee07b3d rxrpc: Fix calc of resend age
    35da670ed13e rxrpc: Fix local destruction being repeated
    891d5c46f282 regulator: pfuze100: Fix the global-out-of-bounds access in pfuze100_regulator_probe()
    c2ef959e33b2 ASoC: nau8824: Fix semaphore unbalance at error paths
    107c6b60582c Revert "serial: 8250: Fix reporting real baudrate value in c_ospeed field"
    e00582a36198 video: fbdev: i740fb: Error out if 'pixclock' equals zero
    f63ddf62d0c8 tools/include/uapi: Fix <asm/errno.h> for parisc and xtensa
    331eba80cbd7 cifs: don't send down the destination address to sendmsg for a SOCK_STREAM
    f3fbd08e7ca3 cifs: revalidate mapping when doing direct writes
    a9398cb81cdc of/device: Fix up of_dma_configure_id() stub
    6a27acda3d6a tracing: hold caller_addr to hardirq_{enable,disable}_ip
    65dd251c516d parisc: ccio-dma: Add missing iounmap in error path in ccio_probe()
    1f24b0a7ca41 drm/meson: Fix OSD1 RGB to YCbCr coefficient
    4d3d2e384b22 drm/meson: Correct OSD1 global alpha value
    24196210b198 gpio: mpc8xxx: Fix support for IRQ_TYPE_LEVEL_LOW flow_type in mpc85xx
    4d065f835658 NFSv4: Turn off open-by-filehandle and NFS re-export for NFSv4.0
    2f16f5b582cd pinctrl: sunxi: Fix name for A100 R_PIO
    ee4369260e77 of: fdt: fix off-by-one error in unflatten_dt_nodes()
    cae6172a9464 net: dsa: mv88e6xxx: allow use of PHYs on CPU and DSA ports
    4a6c6041e8d8 platform/x86/intel: hid: add quirk to support Surface Go 3
    8faabaf112c9 usb: cdns3: gadget: fix new urb never complete if ep cancel previous requests
    cd226d8c1b4a powerpc/pseries/mobility: ignore ibm, platform-facilities updates
    d5ee5a9e47f3 powerpc/pseries/mobility: refactor node lookup during DT update
    4dbe84b9b66c dmaengine: bestcomm: fix system boot lockups
    7bbdf49e2624 parisc: Flush kernel data mapping in set_pte_at() when installing pte for user page
    b00a56e64713 parisc: Optimize per-pagetable spinlocks
    59819f0aafd0 serial: 8250: Fix reporting real baudrate value in c_ospeed field
    9230af9188a2 KVM: PPC: Tick accounting should defer vtime accounting 'til after IRQ handling
    6bae47548188 KVM: PPC: Book3S HV: Context tracking exit guest context before enabling irqs
    99c2dfe47a9c Linux 5.10.144
    744f98f71dc6 Input: goodix - add compatible string for GT1158
    c7f4c203d18c soc: fsl: select FSL_GUTS driver for DPIO
    35371fd68807 x86/ftrace: Use alternative RET encoding
    4586df06a020 x86/ibt,ftrace: Make function-graph play nice
    33015556a943 Revert "x86/ftrace: Use alternative RET encoding"
    891f03f688de mm: Fix TLB flush for not-first PFNMAP mappings in unmap_region()
    dd3aa77d5d72 usb: storage: Add ASUS <0x0b05:0x1932> to IGNORE_UAS
    5ce017619c30 platform/x86: acer-wmi: Acer Aspire One AOD270/Packard Bell Dot keymap fixes
    fc2c14c2cde9 perf/arm_pmu_platform: fix tests for platform_get_irq() failure
    187908079d94 drm/amd/amdgpu: skip ucode loading if ucode_size == 0
    c598e2704c3b nvmet-tcp: fix unhandled tcp states in nvmet_tcp_state_change()
    1cae6f8e1765 Input: iforce - add support for Boeder Force Feedback Wheel
    de2aa495230b ieee802154: cc2520: add rc code in cc2520_tx()
    3815e66c2183 gpio: mockup: remove gpio debugfs when remove device
    1b8b5384e83a tg3: Disable tg3 device on system reboot to avoid triggering AER
    704d1f2ac6dc hid: intel-ish-hid: ishtp: Fix ishtp client sending disordered message
    ef033e619e4d HID: ishtp-hid-clientHID: ishtp-hid-client: Fix comment typo
    cff2b3a50c69 drm/msm/rd: Fix FIFO-full deadlock
    fac2c299efc6 Input: goodix - add support for GT1158
    218b71e32f9a tracefs: Only clobber mode/uid/gid on remount if asked
    0a81ddfc20cc iommu/vt-d: Correctly calculate sagaw value of IOMMU
    5ce1b0a0c27c ARM: dts: imx6qdl-kontron-samx6i: fix spi-flash compatible
    a381cac2ab08 ARM: dts: imx: align SPI NOR node name with dtschema

(From OE-Core rev: 68f28c7cba5e9d111668f26fe6486ceda07cdce9)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-10-29 16:32:24 +01:00
Richard Purdie
886f8ebbe3 bitbake: tests/fetch: Allow handling of a file:// url within a submodule
CVE-2022-39253 in git meant file:// urls within submodules were disabled. Add
a parameter to the commands in the tests to allow this to continue to work.

(Bitbake rev: c90d57497b9bcd237c3ae810ee8edb5b0d2d575a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-10-27 16:39:20 +01:00
Alexander Kanavin
24a3f7b364 local.conf.sample: correct the location of public hashserv
(From meta-yocto rev: b5cf7a6501d954ac76b18d7ef91376b5a046a522)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit d1840499ff5b9551b3178cd2777ec9fe8666c96b)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-10-20 15:36:02 +01:00
He Zhe
59d2aeb3b1 lttng-modules: Fix crash on powerpc64
Backport a patch to fix the following on powerpc64 ABIv2.

root@qemuppc64:~# lttng create trace_session --live -U net://127.0.0.1
Spawning a session daemon
lttng_kretprobes: loading out-of-tree module taints kernel.
BUG: Unable to handle kernel data access on read at 0xfffffffffffffff8
Faulting instruction address: 0xc0000000001f6fd0
Oops: Kernel access of bad area, sig: 11 [#1]
<snip>

(From OE-Core rev: 4781fee6aea9512b7cb390b76e6f9f0a86a5bd11)

Signed-off-by: He Zhe <zhe.he@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-10-20 15:36:02 +01:00
Adrian Freihofer
96a316068f own-mirrors: add crate
Support downloading crate files from a mirror at SOURCE_MIRROR_URL.

(From OE-Core rev: d1edc5882955508827a19c4f507d97dca398f3fa)

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-10-20 15:36:02 +01:00
Xiangyu Chen
90cc9c24cd linux-yocto-dev: add qemuarm64
Mark the qemuarm64 as compatible

(From OE-Core rev: 793c2639431ca0d29fcf12d08bba1288de9ca7db)

Signed-off-by: Xiangyu Chen <xiangyu.chen@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-10-20 15:36:02 +01:00
Chen Qi
eee930bbc3 image_types_wic.bbclass: fix cross binutils dependency
Enable multilib and wic at the same time and we'll meet the
following error.

  ERROR: Nothing PROVIDES 'virtual/i686-wrsmllib32-linux-binutils'

Adjust the dependency to take multilib into consideration.

(From OE-Core rev: f5713addbe47eb6c998cfe1514a537acbd367c3e)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
(cherry picked from commit 958ee0eede859bdba659e3343856b1c226207854)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-10-20 15:36:02 +01:00
Michael Halstead
18f15c7396 uninative: Upgrade to 3.7 to work with glibc 2.36
Update uninative to work with the new glibc 2.36 version

(From OE-Core rev: bfbd86a8acda86048cac48e8b4759f644a24d4a4)

Signed-off-by: Michael Halstead <mhalstead@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 410226b053e14e32add1f9b4b811f84a1c445a7c)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-10-20 15:36:02 +01:00
He Zhe
211cde81ed lttng-tools: Upgrade 2.13.4 -> 2.13.8
(From OE-Core rev: 17d18936d201a61b16bbc24c9f10af6ef54620fc)

Signed-off-by: He Zhe <zhe.he@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-10-20 15:36:02 +01:00
Tim Orling
6a3c365332 python3: upgrade 3.10.4 -> 3.10.7
Security and bug fixes.

Drop patch for gh-92036 which was merged in 3.10.5
Refresh 0017-setup.py-do-not-report-missing-dependencies-for-disa.pathc

Fixes:
* CVE-2020-10735
  https://nvd.nist.gov/vuln/detail/CVE-2020-10735
* CVE-2021-28861
  https://nvd.nist.gov/vuln/detail/CVE-2021-28861
* CVE-2018-25032
  https://nvd.nist.gov/vuln/detail/CVE-2018-25032

For a list of changes see:
https://docs.python.org/3.10/whatsnew/changelog.html#python-3-10-7-final
https://docs.python.org/3.10/whatsnew/changelog.html#python-3-10-6-final
https://docs.python.org/3.10/whatsnew/changelog.html#python-3-10-6-final

(From OE-Core rev: 3efae85283b19fa1b30af7fed7fa89d7a50337db)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-10-20 15:36:02 +01:00
Xiangyu Chen
855084fcbb qemu: Backport patches from upstream to support float128 on qemu-ppc64
Background:
Due to current qemu 6.2 doesn't support float128, this cause some POSIX APIs(e.g. double difftime()..)
return a wrong value, this issue can be reproduced by open_posix_testsuit difftime case[1].

The qemu upstream has already supported ppc64 float128, but need to update to qemu 7.0 or later.
We backport the commits[2] from upstream to support that in qemu-ppc64 6.2.0.

[1] difftime test case:
https://github.com/linux-test-project/ltp/tree/master/testcases/open_posix_testsuite/conformance/interfaces/difftime

[2] commits link:
LINK: https://git.qemu.org/?p=qemu.git;a=commit;h=149a48f6e6ccedfa01307d45884aa480f5bf77c5
      https://git.qemu.org/?p=qemu.git;a=commit;h=ba11446c40903b9d97fb75a078d43fee6444d3b6
      https://git.qemu.org/?p=qemu.git;a=commit;h=bead3c9b0ff8efd652afb27923d8ab4458b3bbd9
      https://git.qemu.org/?p=qemu.git;a=commit;h=10cc964030fca459591d9353571f3b1b4e1b5aec
      https://git.qemu.org/?p=qemu.git;a=commit;h=e706d4455b8d54252b11fc504c56df060151cb89
      https://git.qemu.org/?p=qemu.git;a=commit;h=941298ecd7e3103d3789d2dd87dd0f119e81c69e
      https://git.qemu.org/?p=qemu.git;a=commit;h=4edf55698fc2ea30903657c63ed95db0d5548943
      https://git.qemu.org/?p=qemu.git;a=commit;h=c07f82416cb7973c64d1e21c09957182b4b033dc
      https://git.qemu.org/?p=qemu.git;a=commit;h=e4052bb773cc829a27786d68caa22f28cff19d39
      https://git.qemu.org/?p=qemu.git;a=commit;h=ffdaff8e9c698061f57a6b1827570562c5a1c909
      https://git.qemu.org/?p=qemu.git;a=commit;h=201fc774e0e1cc76ec23b595968004a7b14fb6e8
      https://git.qemu.org/?p=qemu.git;a=commit;h=c5df1898a147c232f0502cda5dac8df6074070fc
      https://git.qemu.org/?p=qemu.git;a=commit;h=38d4914c5065e14f0969161274793ded448f067f
      https://git.qemu.org/?p=qemu.git;a=commit;h=caf6f9b568479bea6f6d97798be670f21641a006
      https://git.qemu.org/?p=qemu.git;a=commit;h=25ee608d79c1890c0f4e8c495ec8629d5712de45
      https://git.qemu.org/?p=qemu.git;a=commit;h=19f0862dd8fa6510b2f5b3aff4859363602cd0cf
      https://git.qemu.org/?p=qemu.git;a=commit;h=5f1470b091007f24035d6d33149df49a6dd61682
      https://git.qemu.org/?p=qemu.git;a=commit;h=17868d81e0074905b2c1e414af6618570e8059eb
      https://git.qemu.org/?p=qemu.git;a=commit;h=9193eaa901c54dbff4a91ea0b12a99e0135dbca1
      https://git.qemu.org/?p=qemu.git;a=commit;h=e4318ab2e423c4caf9a88a4e99b5e234096b81a9
      https://git.qemu.org/?p=qemu.git;a=commit;h=3bb1aed246d7b59ceee625a82628f7369d492a8f

(From OE-Core rev: 5ed94b1d155a7d5597358a93c65dfe98ac07ea15)

Signed-off-by: Xiangyu Chen <xiangyu.chen@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-10-20 15:36:02 +01:00
Ross Burton
80976dc339 qemu: fix CVE-2022-2962
Backport the fix for CVE-2022-2962.

(From OE-Core rev: 943d28a3395455fd475cb6c84247d106adf5fca3)

(From OE-Core rev: 8ad129d079ea53ca66a91ec9fe36bb95f2648112)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit ddc4258012)
Signed-off-by: Bhabu Bindu <bhabu.bindu@kpit.com>

Signed-off-by: virendra thakur <thakur.virendra1810@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-10-20 15:36:02 +01:00
Bhabu Bindu
837a0b1c8d qemu: Fix CVE-2021-3611
As per the ubuntu community [https://ubuntu.com/security/CVE-2021-3611]
To fix CVE-2021-3611 we need to backport the below support patches as well
Link: https://git.qemu.org/?p=qemu.git;a=commit;h=41d5e8da3d5e0a143a9fb397c9f34707ec544997
      https://git.qemu.org/?p=qemu.git;a=commit;h=7ccb391ccd594b3f33de8deb293ff8d47bb4e219
      https://git.qemu.org/?p=qemu.git;a=commit;h=7a36e42d9114474278ce30ba36945cc62292eb60
      https://git.qemu.org/?p=qemu.git;a=commit;h=4afd0f2f220ec3dc8518b8de0d66cbf8d2fd1be7
      https://git.qemu.org/?p=qemu.git;a=commit;h=23faf5694ff8054b847e9733297727be4a641132
      https://git.qemu.org/?p=qemu.git;a=commit;h=ba06fe8add5b788956a7317246c6280dfc157040
      https://git.qemu.org/?p=qemu.git;a=commit;h=a1d4b0a3051b3079c8db607f519bc0fcb30e17ec
      https://git.qemu.org/?p=qemu.git;a=commit;h=c0ee1527358474c75067993d1bb233ad3a4ee081
      https://git.qemu.org/?p=qemu.git;a=commit;h=5e468a36dcdd8fd5eb04282842b72967a29875e4
      https://git.qemu.org/?p=qemu.git;a=commit;h=e2d784b67dc724a9b0854b49255ba0ee8ca46543
      https://git.qemu.org/?p=qemu.git;a=commit;h=959384e74e1b508acc3af6e806b3d7b87335fc2a
      https://git.qemu.org/?p=qemu.git;a=commit;h=392e48af3468d7f8e49db33fdc9e28b5f99276ce
      https://git.qemu.org/?p=qemu.git;a=commit;h=1e5a3f8b2a976054da96cbbb9de6cbac7c2efb79
      https://git.qemu.org/?p=qemu.git;a=commit;h=292e13142d277c15bdd68331abc607e46628b7e1
      https://git.qemu.org/?p=qemu.git;a=commit;h=2280c27afc65bb2af95dd44a88e3b7117bfe240a
      https://git.qemu.org/?p=qemu.git;a=commit;h=34cdea1db600540a5261dc474e986f28b637c8e6
      https://git.qemu.org/?p=qemu.git;a=commit;h=24aed6bcb6b6d266149591f955c2460c28759eb4
      https://git.qemu.org/?p=qemu.git;a=commit;h=cd1db8df7431edd2210ed0123e2e09b9b6d1e621
      https://git.qemu.org/?p=qemu.git;a=commit;h=a423a1b523296f8798a5851aaaba64dd166c0a74
      https://git.qemu.org/?p=qemu.git;a=commit;h=398f9a84ac7132e38caf7b066273734b3bf619ff
      https://git.qemu.org/?p=qemu.git;a=commit;h=6bebb270731758fae3114b7d24c2b12b7c325cc5
      https://git.qemu.org/?p=qemu.git;a=commit;h=4a63054bce23982b99f4d3c65528e47e614086b2

Add patches to fix CVE-2021-3611
Link: https://git.qemu.org/?p=qemu.git;a=patch;h=be5a8cf347d0c47ee3e933dde075526fd8bd5c40
      https://git.qemu.org/?p=qemu.git;a=patch;h=79fa99831debc9782087e834382c577215f2f511

(From OE-Core rev: 388ce95cdf17b829663764061e686bcb3a56d096)

Signed-off-by: Bhabu Bindu <bhabu.bindu@kpit.com>
Signed-off-by: virendra thakur <thakur.virendra1810@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-10-20 15:36:02 +01:00
Virendra Thakur
f30135af3a qemu: Fix CVE-2021-3750 for qemu
Add patch to fix CVE-2021-3750

(From OE-Core rev: e9e945a1d22b06d10ac07345b7cebcf232a809bb)

Signed-off-by: Virendra Thakur <virendra.thakur@kpit.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-10-20 15:36:02 +01:00
pgowda
1b2fb9a1a5 binutils : Fix CVE-2022-38128
Upstream-Status: Backport [https://sourceware.org/git/?p=binutils-gdb.git;a=commitdiff;h=f07c08e115e27cddf5a0030dc6332bbee1bd9c6a]
Upstream-Status: Backport [https://sourceware.org/git/?p=binutils-gdb.git;a=commitdiff;h=175b91507b83ad42607d2f6dadaf55b7b511bdbe]
Upstream-Status: Backport [https://sourceware.org/git/?p=binutils-gdb.git;a=patch;h=695c6dfe7e85006b98c8b746f3fd5f913c94ebff]

(From OE-Core rev: 21fb0b441096ec8b5cfa1d5b645f9a3a2ace1e09)

Signed-off-by: pgowda <pgowda.cve@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-10-20 15:36:01 +01:00
Teoh Jay Shen
6d80584e9f tiff: Security fixes CVE-2022-2867,CVE-2022-2868 and CVE-2022-2869
This series of patches include fixes for CVE-2022-2867,CVE-2022-2868 and CVE-2022-2869.
These patches are modified using devtool and a review was conducted to make sure they all get applied in the correct location.

References:

https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2022-2867
https://security-tracker.debian.org/tracker/CVE-2022-2867

https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2022-2868
https://security-tracker.debian.org/tracker/CVE-2022-2868

https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2022-2869
https://security-tracker.debian.org/tracker/CVE-2022-2869

Merge request:

https://gitlab.com/libtiff/libtiff/-/merge_requests/294/diffs?commit_id=7d7bfa4416366ec64068ac389414241ed4730a54

Patches from:

bcf28bb7f6
7d7bfa4416
b258ed69a4

Notes:
These CVEs are fixed in tiff v4.4.0

(From OE-Core rev: 90a65fbefee1b7f615933f1bbbf5f83b6f928e8d)

Signed-off-by: Teoh Jay Shen <jay.shen.teoh@intel.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-10-20 15:36:01 +01:00
Michael Opdenacker
eaf8ce9d39 dev-manual: fix reference to BitBake user manual
Fix a wrong reference no longer tolerated by Sphinx 5.x
(missing "bitbake:" prefix)

(From yocto-docs rev: 8c2f9f54e29781f4ee72e81eeaa12ceaa82dc2d3)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-10-11 21:57:49 +01:00
Richard Purdie
67e4012e62 bitbake: asyncrpc/client: Fix unix domain socket chdir race issues
The connect_unix() call had a bug where if a relative path to a socket
was passed (which the non-async client always does), and the current
working directory was changed after the initial call, it would fail to
reconnect if it became disconnected, since the socket couldn't be found
relative to the new current working directory.

To work around this, change the socket connection for UNIX domain
sockets to be synchronous and change current working before connecting.
This isn't ideal since the connection could block the entire event loop,
but in practice this shouldn't happen since the socket are local files
anyway.

Help debugging and resolving from Joshua Watt.

(Bitbake rev: 6603c3e39f1cf746669ec6c9f0be8c6e6ece426e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 5964bb67bb20df7f411ee0650cf189504a05cf25)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-10-11 21:57:28 +01:00
Pavel Zhukov
189a6d452e bitbake: gitsm: Error out if submodule refers to parent repo
If submodule refers to specific revision of the parent repository it
causes deadlock in bitbake locking mechanism (lock is acquired to fetch
the parent and cannot be released before all submodules are fetched).
raise FetchError in such situation to prevent deadlocking.

[Yocto 14045]

(Bitbake rev: 987712c4c8fefd86a1f5116c11ee86e296e852ee)

Signed-off-by: Pavel Zhukov <pavel@zhukoff.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 0361ecf7eb82c386a9842cf1f3cb706c0a112e77)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-10-11 21:57:28 +01:00
Neil Horman
4b9ac6d5aa bitbake: Fix npm to use https rather than http
Hit this error while building nlf-native recently:
{
  "error": {
    "summary": "URI malformed",
    "detail": ""
  }
}

Some poking about led me to discover that:
1) The npm.py tool replaces npm:// with http://, not https://
2) Some versions of the npm tool don't handle 301 redirects properly,
   choosing to display the above error instead when using the default
   nodejs registry

It would be good to go fix npm to handle the redirect properly, but it
seems like it would also be good to assume secure http when contacting a
registry, hence, this patch

(Bitbake rev: bb5c43220f5f1c3d82334c65aff1ce13008db8d9)

Signed-off-by: Neil Horman <nhorman@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 2cd76e8aabe4e803c760e60f06cfe1f470714ec7)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-10-11 21:57:28 +01:00
Richard Purdie
0ac71c5480 bitbake: bitbake: Add copyright headers where missing
Where copyright headers were not present, add them to make things
clear.

(Bitbake rev: e591325b2bd901c381003deb96a7b32a7148e93e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 1aa338a216350a2751fff52f866039343e9ac013)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-10-11 21:57:28 +01:00
Joshua Watt
ace871c199 bitbake: siggen: Fix insufficent entropy in sigtask file names
Signature generation uses mkstemp() to get a file descriptor to a unique
file and then write the signature into it. However, the unique file name
generation in glibc is based on the system timestamp, which means that
with highly parallel builds it is more likely than one might expect
expected that a conflict will occur between two different builder nodes.
When operating over NFS (such as a shared sstate cache), this can cause
race conditions and rare failures (particularly with NFS servers that
may not correctly implement O_EXCL).

The signature generation code is particularly susceptible to races since
a single "sigtask." prefix used for all signatures from all tasks, which
makes collision even more likely.

To work around this, add an internal implementation of mkstemp() that
adds additional truly random entropy to the file name to eliminate
conflicts.

(Bitbake rev: 63bb5591e833de0e7b552963ad9bc4b39e56fda9)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
(cherry picked from commit 97955f3c1c738aa4b4478a6ec10a08094ffc689d)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-10-11 21:57:28 +01:00
Richard Purdie
c4745d9c7d bitbake: runqueue: Drop deadlock breaking force fail
I'm 99% certain this failing of a scenequeue task corrupts runqueue and
causes all kinds of breakage. I'd rather runqueue deadlocked than corrupted
and did weird things so drop this code.

We've seen builds where the deadlock triggers and it then tries to run tasks
where the SQ task already ran with very confusing failures. It is likely it
is this code causing it.

(Bitbake rev: f386298fc056ef130c2eb6dabf25eafbd55f55ca)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 8efced47fcb47851a370fd6786df6fb377f99963)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-10-11 21:57:28 +01:00
Richard Purdie
6d753d6cbe bitbake: runqueue: Improve deadlock warning messages
Tweak the deadlock breaking messages to be explict about which task is
blocked on which other task. The messages currently imply it is "freeing"
the blocking task which is confusing.

(Bitbake rev: d1b84e3cfe9fb8d282d4b700a9fe31891e00d837)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit cf7f60b83adaded180f6717cb4681edc1d65b66d)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-10-11 21:57:28 +01:00
Richard Purdie
77dd727549 bitbake: runqueue: Ensure deferred tasks are sorted by multiconfig
We have to prefer one multiconfig over another when deferring tasks, else
we'll have cross-linked build trees and nothing will be able to build.

In the original population code, we sort like this but we don't after
rehashing. Ensure we have the same sorting after rehashing toa void
deadlocks.

(Bitbake rev: 513bfd771d9095fcb6a8bf93806673dbf988a4de)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 27228c7f026acb8ae9e1211d0486ffb7338123a2)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-10-11 21:57:28 +01:00
Daniel McGregor
697d4abaf3 coreutils: add openssl PACKAGECONFIG
coreutils-native will pick up openssl on the host if it's GPL
compatible (version >= 3), which causes uninative failures with hosts
that don't have openssl3.

Add a PACKAGECONFIG entry for openssl so it can be enabled, but isn't
by default.

(From OE-Core rev: e728d0965d6fda8ac54e065ca7bf7eb9da9a8170)

Signed-off-by: Daniel McGregor <daniel.mcgregor@vecima.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 9859a8124a0c09ac38d476445e7df7097f41d153)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-10-11 21:56:13 +01:00
Denys Dmytriyenko
d848c5d6aa glibc-locale: explicitly remove empty dirs in ${libdir}
glibc-locale defaults to ENABLE_BINARY_LOCALE_GENERATION ?= "0", but gets
changed to "1" in the default-distrovars.inc

When it is explicitly set back to "0", it fails with this error:

ERROR: glibc-locale-2.35-r0 do_package: QA Issue: glibc-locale: Files/directories were installed but not shipped in any package:
  /usr/lib/locale
Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install.
glibc-locale: 1 installed and not shipped files. [installed-vs-shipped]
ERROR: glibc-locale-2.35-r0 do_package: Fatal QA errors were found, failing task.

There's a code to remove empty dirs in ${libdir}, but it's keyed off of
PACKAGE_NO_GCONV to clean up $[libdir]/gconv, just extend it to also cover
other empty dirs, including ${libdir}/locale.

(From OE-Core rev: 46b703dbbddf612f70d9fd402b8538fca9c757e4)

Signed-off-by: Denys Dmytriyenko <denis@denix.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-10-11 21:56:13 +01:00
He Zhe
b53a665beb lttng-tools: Disable on riscv32
As a bunch of other assignments did, let this cover all riscv32 architectures,
not just qemuriscv32.

(From OE-Core rev: b1883d725e2ee833b6bcbc2036df8c8287bed547)

Signed-off-by: He Zhe <zhe.he@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 976fe5e3fb630e9daf5bbde79ee2148a7a97694a)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-10-11 21:56:13 +01:00
He Zhe
e0e7f36ce5 stress-cpu: disable float128 math on powerpc64 to avoid SIGILL
float128 requires instructions of xsmaddqp and xsmsubqp which are added to
qemu since v7.0 by the following commit.
3bb1aed246

While kirkstone is still at v6.2 and thus experiences SIGILL as follow
root@qemuppc64:~# stress-ng --cpu 2 --timeout 30s
stress-ng: info: [972] setting to a 30 second run per stressor
stress-ng: info: [972] dispatching hogs: 2 cpu
stress-ng: info: [973] stressor terminated with unexpected signal signal 4 'SIGILL'
<snip>

This is specific to kirkstone since qemu on master branch has upgraded to v7.1.

(From OE-Core rev: a3d6742ac066c6dd323c5efd95bed36c30f69127)

Signed-off-by: He Zhe <zhe.he@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-10-11 21:56:13 +01:00
Martin Jansa
a0b0b25a82 create-pull-request: don't switch the git remote protocol to git://
Many git repos prefer https:// nowadays and many removed support
for git://.

This breaks the script when using github.com even when selected remote
is ssh (git@github.com:openembedded/...), it will re-write it to git://
before calling git pull-request causing:

openembedded-core $ scripts/create-pull-request -u github -b jansa/artifacts -o pull-kernel
NOTE: Assuming local branch HEAD, use -l to override.
fatal: unable to connect to github.com:
github.com[0: 140.82.121.3]: errno=Connection timed out

warn: No match for commit ea003bd026aa24bb4c8b7562f44ed6512e921259 found at git://github.com/shr-distribution/oe-core
warn: Are you sure you pushed 'jansa/artifacts' there?
ERROR: git request-pull reported an error

(From OE-Core rev: 5aac691040502e6f578316dfc090643d341dd3cb)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 64c466920b808c35d1ac87b47cf438bc79becea7)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-10-11 21:56:13 +01:00
He Zhe
6366d8b2f3 lttng-tools: Disable on qemuriscv32
lttng-tools requires SYS_ppoll and SYS_pselect6 which are not supported on
riscv32. This has been confirmed by lttng-tools upstream.
https://github.com/lttng/lttng-tools/pull/162

It's also turned off for riscv32 in meta-riscv.
https://github.com/riscv/meta-riscv/blob/master/conf/layer.conf

(From OE-Core rev: 035fddfa35ccf17d3f1636f6410e626240fe527d)

Signed-off-by: He Zhe <zhe.he@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 68b07bb7f0f01925f9da1cb966239ee49d5c84e3)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-10-11 21:56:13 +01:00
Alexander Kanavin
156202f332 tzdata: update to 2022d
(From OE-Core rev: cc3d1034d5635fe8270eb532b586c8fb84d851bc)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit ceac0492e75baa63a46365d8b63275437ad5671f)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-10-11 21:56:13 +01:00
Teoh Jay Shen
50ad64b4d5 bind: upgrade 9.18.6 -> 9.18.7
CVE fixed :
-CVE-2022-2795
-CVE-2022-2881
-CVE-2022-2906
-CVE-2022-3080
-CVE-2022-38178

Notes for BIND 9.18.7 [https://downloads.isc.org/isc/bind9/9.18.7/doc/arm/html/notes.html#notes-for-bind-9-18-7]

(From OE-Core rev: 5b87b79c6bb155d23ad4eab3243118b98a3b5906)

(From OE-Core rev: 01710ddade6cf20a5ddbbf9599843e8753baff51)

Signed-off-by: Teoh Jay Shen <jay.shen.teoh@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-10-11 21:56:13 +01:00
wangmy
735ce41e46 bind: upgrade 9.18.5 -> 9.18.6
(From OE-Core rev: f7061fc14cbc4388b1fd0cf6233b1a2e743e20e5)

(From OE-Core rev: daae4cada71b197a353b7f0446d43f98e17bcbaa)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-10-11 21:56:13 +01:00
Khem Raj
1a0d480ec2 rpm: Remove -Wimplicit-function-declaration warnings
(From OE-Core rev: 9f2dbfc51ef2faf1b6154856adb69ca9f764573b)

(From OE-Core rev: b2be1f5e7e858056cd5bf3273dca312a5ea8cf92)

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>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-10-11 21:56:13 +01:00
Alexander Kanavin
2c28c2bd4f rpm: update 4.17.0 -> 4.17.1
(From OE-Core rev: 826eb17fe741d38be24d31f3bba35074e404a414)

(From OE-Core rev: 49a875322110e5c9d90d99473a0e3f874e42739c)

Signed-off-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>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-10-11 21:56:13 +01:00
Florin Diaconescu
f7bab6a01a rsync: update 3.2.4 -> 3.2.5
Changelog: https://download.samba.org/pub/rsync/NEWS#3.2.5

(From OE-Core rev: 9431be33d8107e7c861b5b41411aae1532fb2c8c)

Signed-off-by: Florin Diaconescu <florin.diaconescu009@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-10-11 21:56:13 +01:00
Florin Diaconescu
050f24e279 rsync: update 3.2.3 -> 3.2.4
Drop configure options that have been removed upstream.

License-Update: formatting

Changelog: https://download.samba.org/pub/rsync/NEWS#3.2.4

(From OE-Core rev: 4a4097ed1db8ecedbcf12388207c546d4d106e17)

Signed-off-by: Florin Diaconescu <florin.diaconescu009@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-10-11 21:56:13 +01:00
Khem Raj
1367c472db webkitgtk: Update to 2.36.7
including fixes for CVE-2022-32893
(From OE-Core rev: edbfd06927ef4a9bb1ea1ff80fbc901ede89ce42)

(From OE-Core rev: d95303abef02f3f0e479c3b007f47fc72a9d2d49)

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: Teoh Jay Shen <jay.shen.teoh@intel.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-10-11 21:56:13 +01:00
Khem Raj
4ad354b9f6 webkitgtk: Upgrade to 2.36.6 minor update
(From OE-Core rev: bee36428a45c6c0c24d4c0fcf64bd890f3481c4a)

(From OE-Core rev: 342a05cc65aaff83f738988211f291e377b1ab87)

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: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-10-11 21:56:13 +01:00
Richard Purdie
8b6a66b029 vim: Upgrade 9.0.0541 -> 9.0.0598
Includes a fix for CVE-2022-3278.

(From OE-Core rev: 9837a62cc42de4120794d4ae8d0264109b8308dc)

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 98c40271692147873a622e168e8b2e90a9fcc54c)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-10-11 21:56:13 +01:00
pgowda
401ced2671 binutils : Fix CVE-2022-38127
Upstream-Status: Backport [https://sourceware.org/git/?p=binutils-gdb.git;a=commitdiff;h=19c26da69d68d5d863f37c06ad73ab6292d02ffa]
Upstream-Status: Backport [https://sourceware.org/git/?p=binutils-gdb.git;a=commitdiff;h=ec41dd75c866599fc03c390c6afb5736c159c0ff]
Upstream-Status: Backport [https://sourceware.org/git/?p=binutils-gdb.git;a=commitdiff;h=f18acc9c4e5d18f4783f3a7d59e3ec95d7af0199]
Upstream-Status: Backport
[https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=e98e7d9a70dcc987bff0e925f20b78cd4a2979ed]

(From OE-Core rev: e384b754eb0223928c239db42ece93c06dce6daa)

Signed-off-by: pgowda <pgowda.cve@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-10-11 21:56:13 +01:00
Michael Opdenacker
c615d00a36 migration-guides: add 4.0.4 release notes
(From yocto-docs rev: df129c47f866b933af722b1214f3296a8cfe483b)

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-10-07 10:54:51 +01:00
Michael Opdenacker
4837160315 poky.yaml.in: update version requirements
According to meta/classes/sanity.bbclass in Poky

(From yocto-docs rev: 2c6207606329c2b4ec56b7af538182ebf3c92792)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Reported-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-10-05 08:47:28 +01:00
Mingli Yu
e81e703fb6 busybox: add devmem 128-bit support
Add devmem 128-bit support [1].

[1] https://git.busybox.net/busybox/commit/?id=d432049f288c9acdc4a7caa729c68ceba3c5dca1

(From OE-Core rev: d19cd09b43a7009d660b28ac9dcb21b8038e399f)

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit d0d78aa7a34fbd7065b31ffc224be8e1984cb7aa)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-09-28 08:02:11 +01:00
Alexandre Belloni
18fab7402a oeqa/runtime/dnf: fix typo
(From OE-Core rev: 7bd92a0fac5f83c5c8b38591901760753192e586)

Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 454b85fc612bd060b51ac2b94e36698ed1b76d56)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-09-28 08:02:11 +01:00
Ruiqiang Hao
5fd12627d0 tune-neoversen2: support tune-neoversen2 base on armv9a
We supported neoversen2 base on armv8.5a in the past, add tune include
for armv9a and support neoversen2 base on armv9a.

(From OE-Core rev: 278c50d18ac6b92d43778f9b797ab5999ae869ad)

Signed-off-by: Ruiqiang Hao <Ruiqiang.Hao@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-09-28 08:02:11 +01:00
Ruiqiang Hao
1e779dbf2a gcc: add arm-v9 support
Backport some patches from GCC 12 to support arm-v9.

(From OE-Core rev: 450639bf4b46b963480b2ab4efe72e443d0524b3)

Signed-off-by: Ruiqiang Hao <Ruiqiang.Hao@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-09-28 08:02:11 +01:00
Xiangyu Chen
5385ece02d ltp: Fix pread02 case trigger the glibc overflow detection
Backport a patch to fix the pread02 case trigger the glibc overflow
detection.

(From OE-Core rev: 2d32385490344db529de7eca33bb0ab9a14e0555)

Signed-off-by: Xiangyu Chen <xiangyu.chen@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-09-28 08:02:11 +01:00
Samuli Piippo
864e65f0f1 gcc-cross-canadian: add default plugin linker
Fix multilib sdk issue where gcc is unable to find linker. Previous
fix was in cdd86896c8d29135f937968e9aa07f919cf543d3 using real-ld
symlink, but that prevented switching between bfd and gold linkers.

Running compiler with debug arguments shows that collect2 tries and
fails to find linker using the multilib triples:

  $ $CC -v -Wl,-debug
  ...
  Looking for 'real-ld'
  Looking for 'collect-ld'
  Looking for 'mips-oemllib32-linux-ld'
  Looking for 'mips-oe-linux-mips-oemllib32-linux-ld'
  ...
  collect2 version 12.2.0
  ld_file_name        = not found
  ...
  collect2: fatal error: cannot find ‘ld’

Using --with-plugin-ld=ld in gcc-cross-canadian builds to set default
linker name for collect2, lets it find the linker correctly:

  Looking for 'real-ld'
  Looking for 'collect-ld'
  Looking for 'ld'
  ...
  collect2 version 12.2.0
  ld_file_name        = /usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/usr/libexec/mips-oe-linux/gcc/mips-oe-linux/12.2.0/ld

Swith between bfd and gold linker works as expected now:

  $ $CC -v -Wl,-debug -fuse-ld=gold
  ...
  Looking for 'real-ld'
  Looking for 'collect-ld'
  Looking for 'ld.gold'
  ...
  collect2 version 12.2.0
  ld_file_name        = /usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/usr/libexec/i686-oe-linux/gcc/i686-oe-linux/12.2.0/ld.gold

(From OE-Core rev: f4174b3bde5ec91293619fac3258f35153363c51)

Signed-off-by: Samuli Piippo <samuli.piippo@qt.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit cf1bb16b7f9f81514feaf1e4ecffd9039387bb89)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-09-28 08:02:11 +01:00
Samuli Piippo
27086f89c8 Revert "gcc-cross-canadian: Add symlink to real-ld alongside other symlinks"
This reverts commit cdd86896c8d29135f937968e9aa07f919cf543d3.

real-ld is always used if that is found, which means you cannot
switch between bfd and gold linkers using -fuse-ld gcc option.

(From OE-Core rev: 3d13ef9e457ad3854c5e9bc37f8ea9a6b0e6c54f)

Signed-off-by: Samuli Piippo <samuli.piippo@qt.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 53ae417c63a4a7ff4a729d3653a31cf1c0758f10)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-09-28 08:02:11 +01:00
Mikko Rapeli
8fc71a7603 linux-libc-headers: switch from SRC_URI:append to SRC_URI +=
The :append can not be removed via bbappends in custom layers so it's
better to use += appends when ever possible.

(From OE-Core rev: 6604795a3f7e53fd748d4103b521d8baf35cf7be)

(From OE-Core rev: e754bc0f2562a0fe83b89864a4a897233887d99d)

Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit ab9f6d205f)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-09-28 08:02:11 +01:00
Mikko Rapeli
3842e222e9 python3-rfc3986-validator: switch from SRC_URI:append to SRC_URI +=
The :append can not be removed via bbappends if needed. Thus it's better
for open source layers to use += append if possible.

(From OE-Core rev: 1e09be9455fb054b3f74f088b355116828cb4626)

(From OE-Core rev: 15ac2f4f2873a3c7b9f5bd0385d570e7b64fc643)

Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 4546b5186e)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-09-28 08:02:11 +01:00
Mikko Rapeli
74c8251393 go-native: switch from SRC_URI:append to SRC_URI +=
The :append can not be removed if needed in other layers.

(From OE-Core rev: e129d2f7e3ba312ab5383397eeabf7273d23a529)

(From OE-Core rev: 905062ef53c016091c36690b36ed9ed5203175e5)

Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 09ed655c2a)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-09-28 08:02:11 +01:00
Mikko Rapeli
47f8f11dae glibc-tests: use += instead of :append
:append can not be modified in bbappends and thus += is
better in re-usable, generic layers and recipes.

(From OE-Core rev: da88406ba592504a718f516b985adc0d4553080d)

(From OE-Core rev: 98513137092ff259b163556167f034971b89fe64)

Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit c9676445c9)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-09-28 08:02:11 +01:00
Mikko Rapeli
b3fd3f600d u-boot: switch from append to += in SRC_URI
+= allows custom layers to change the SRC_URI e.g. when
updating the whole recipe to newer u-boot version.
With :append, there is no way to change the variable
from a bbappend.

(From OE-Core rev: be96b384ce964ff14536d3bc40c89851a12dfb60)

(From OE-Core rev: aa0e319fe07c0ac807a6963ac47fe5e70a0b6fff)

Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit be267f6169)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-09-28 08:02:11 +01:00
Robert Joslyn
ae4ff6139a tzdata: Update from 2022b to 2022c
(From OE-Core rev: 45540e1b5ef1e590ecfecefa513094b81585a934)

Signed-off-by: Robert Joslyn <robert.joslyn@redrectangle.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit ecf88d151f265e5efb8e1dde5aba3ee2a8b76d8d)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-09-28 08:02:11 +01:00
Dmitry Baryshkov
41b7466e6f linux-firmware: package new Qualcomm firmware
Add packages for the new Qualcomm firmware released for Lenovo X13s
laptop.

The INSANE_SKIP:${PN} has to be provided to silent following warnings:

WARNING: File '/lib/firmware/qcom/sc8280xp/LENOVO/21BX/qcadsp8280.mbn' from linux-firmware was already stripped, this will prevent future debugging!
WARNING: File '/lib/firmware/qcom/sc8280xp/LENOVO/21BX/qcdxkmsuc8280.mbn' from linux-firmware was already stripped, this will prevent future debugging!
WARNING: File '/lib/firmware/qcom/sc8280xp/LENOVO/21BX/qccdsp8280.mbn' from linux-firmware was already stripped, this will prevent future debugging!
WARNING: File '/lib/firmware/qcom/sc8280xp/LENOVO/21BX/qcslpi8280.mbn' from linux-firmware was already stripped, this will prevent future debugging!

(From OE-Core rev: 178441fcbb54bb70374fa231a6b5870ef52266fa)

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit af9924a3da0569e90c2d3abe030584456e66229b)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-09-28 08:02:10 +01:00
Dmitry Baryshkov
2be6d5c029 linux-firmware: upgrade 20220708 -> 20220913
License-Update: additional files
(From OE-Core rev: 5f04af95019926970dcabe755645d167ae46189f)

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 68ce822b765a7b67f8cc8590688860cc2530cf04)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-09-28 08:02:10 +01:00
Richard Purdie
d63a016748 perf: Fix for recent kernel upgrades
With recent kernel changes in stable, the full path to python was being
encoded into binaries and python install files. Add some workarounds
for both issues to fix build reproducibility issues.

(From OE-Core rev: 35dbd02b73a586db9e09c6a6d36252244ea5e91f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit cf33e2ab2693eafaf0e5fc45666355d60e084281)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-09-28 08:02:10 +01:00
Bruce Ashfield
8ab37a166f kern-tools: allow 'y' or 'm' to avoid config audit warnings
commit b627b8bd17501400649d38bf61c8a3d2121a1b8f (HEAD -> master,
   origin/master, origin/HEAD)
   Author: Bruce Ashfield <bruce.ashfield@gmail.com>
   Date:   Sun Sep 18 16:36:43 2022 -0400

       symbol_why: allow options to be flagged as built-in or module

       Some options that are hardware related, can either be built in or
       modules, and meet the criteria of being acceptable for a BSP.

       To allow these options to not throw warnings, we create a new
       configuration fragment to go along with the 'hardware.cfg' and
       'nonhardware.cfg' special fragments.

       This new fragment is called 'y_or_m_enabled.cfg' and is effective
       for the fragments in its directory. The format is the same as
       hardware/nonhardware.cfg, is simply a list of CONFIG_ options.

(From OE-Core rev: 35c2debe35103f92993d9d7bb164b7bd64629c67)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 9cd0623f89d8ff5ea95d6ab713dd4bf45742a8b1)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-09-28 08:02:10 +01:00
Bruce Ashfield
7d49ec7abe kern-tools: fix queue processing in relative TOPDIR configurations
As reported by Peter Hoyes, in some very specific configurations
the processing done by the kern-tools results in errors. This is
due to the bad creation of relative paths to patches and configuration.

This is fixed by the following kern-tools commit (based on a similar
suggestion by Peter):

    spp: ensure that relocations and patch paths are absolute

    If include directories (locations of layers) have relative
    components, and the path to a patch doesn't share that relative
    location, the detection of a common prefix can fail.

    When the common prefix is incorrectly specified, it can be the
    entire path to a patch. This results in everything being removed
    and subtle errors (as this shouldn't happen).

    By ensuring that both the relocation directories and patch path
    are absolute, we can avoid this issue.

(From OE-Core rev: 8f76f9f04bf50d9c80ed23bd8297c5c9236b90bb)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit b9681ad7c5c72aa1e68b3cdc93788a03b3781d63)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-09-28 08:02:10 +01:00
Bruce Ashfield
d696edd8d1 kernel-yocto: allow patch author date to be commit date
In situations where a buid needs to be reproducible, it is
sometimes desireable to use a patches author date, versus the
time when it is applied. This generates a consistent hash
between different patch applications.

We leverage the existing KERNEL_DEBUG_TIMESTAMPS to trigger
the use of a new option to kgit-s2q. This allows us to use
the author date in a reproducible configuration, but disable
it if we need the current time/date.

(From OE-Core rev: 8dbce9b13960acfd6889567c11456e3c73a783b5)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit ebe2411ce78d5e4ea49b9b4cb732b461ecc32ca6)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-09-28 08:02:10 +01:00
Bruce Ashfield
49f308a414 linux-yocto/5.15: cfg: fix ACPI warnings for -tiny
Integrating the following commit(s) to linux-yocto/.:

    1128d7bcdcd acpi: fix defaults for x86 and qemuarm64

(From OE-Core rev: 5eb09877b278b22e1aa1e3d3b8f9f3821ab5c8db)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-09-28 08:02:10 +01:00
Bruce Ashfield
6f35f47564 linux-yocto/5.15: update to v5.15.68
Updating  to the latest korg -stable release that comprises
the following commits:

    dd20085f2a88 Linux 5.15.68
    e04b25638aef ARM: at91: ddr: remove CONFIG_SOC_SAMA7 dependency
    154e72a4b381 perf machine: Use path__join() to compose a path instead of snprintf(dir, '/', filename)
    590b4f10e3a4 drm/bridge: display-connector: implement bus fmts callbacks
    e084c6ab37d2 arm64: errata: add detection for AMEVCNTR01 incrementing incorrectly
    4740910867ea iommu/vt-d: Correctly calculate sagaw value of IOMMU
    f9e792035a0b arm64/bti: Disable in kernel BTI when cross section thunks are broken
    a8a007c5b10f Revert "arm64: kasan: Revert "arm64: mte: reset the page tag in page->flags""
    7aa57d869e4a hwmon: (mr75203) enable polling for all VM channels
    5e0fddad7100 hwmon: (mr75203) fix multi-channel voltage reading
    948b7beb0073 hwmon: (mr75203) fix voltage equation for negative source input
    a02267ebb247 hwmon: (mr75203) update pvt->v_num and vm_num to the actual number of used sensors
    000f3353231e hwmon: (mr75203) fix VM sensor allocation when "intel,vm-map" not defined
    4b198c41d736 s390/boot: fix absolute zero lowcore corruption on boot
    a557ae094207 iommu/amd: use full 64-bit value in build_completion_wait()
    4f8d65884808 swiotlb: avoid potential left shift overflow
    df82f5ce4f50 i40e: Fix ADQ rate limiting for PF
    39d9de5872b6 i40e: Refactor tc mqprio checks
    657d9d8ac3e6 kbuild: disable header exports for UML in a straightforward way
    12202e0f74fd MIPS: loongson32: ls1c: Fix hang during startup
    166ae43f02fb ASoC: mchp-spdiftx: Fix clang -Wbitfield-constant-conversion
    4643fbc79ded ASoC: mchp-spdiftx: remove references to mchp_i2s_caps
    30a455ac385e hwmon: (tps23861) fix byte order in resistance register
    159d35a87ec3 perf script: Fix Cannot print 'iregs' field for hybrid systems
    4519d4e32f98 sch_sfb: Also store skb len before calling child enqueue
    a600a9babad6 RDMA/irdma: Report RNR NAK generation in device caps
    3ca173b217f4 RDMA/irdma: Return correct WC error for bind operation failure
    c1872dfde6f7 RDMA/irdma: Report the correct max cqes from query device
    a1d7c8647c18 nvmet: fix mar and mor off-by-one errors
    a96b1d33ec71 tcp: fix early ETIMEDOUT after spurious non-SACK RTO
    8589bbfad2b4 nvme-tcp: fix regression that causes sporadic requests to time out
    13c80a6c1124 nvme-tcp: fix UAF when detecting digest errors
    8ddd001cef5e erofs: fix pcluster use-after-free on UP platforms
    5fbe35c94abc RDMA/mlx5: Set local port to one when accessing counters
    819110054b14 IB/core: Fix a nested dead lock as part of ODP flow
    55195563ec29 ipv6: sr: fix out-of-bounds read when setting HMAC data.
    4c4eda136410 RDMA/siw: Pass a pointer to virt_to_page()
    595e3616f8e0 xen-netback: only remove 'hotplug-status' when the vif is actually destroyed
    c3efe896f13b iavf: Detach device during reset task
    2ed94383f3a2 i40e: Fix kernel crash during module removal
    3e245b0e2168 ice: use bitmap_free instead of devm_kfree
    8527c9a6bf8e tcp: TX zerocopy should not sense pfmemalloc status
    cd5f1a69d0b6 net: introduce __skb_fill_page_desc_noacc
    7eb9bf4edd1c tipc: fix shift wrapping bug in map_get()
    1a889da60afc sch_sfb: Don't assume the skb is still around after enqueueing to child
    b0b35b455ece Revert "net: phy: meson-gxl: improve link-up behavior"
    2f6640b19edf afs: Use the operation issue time instead of the reply time for callbacks
    e28eb3519d5f rxrpc: Fix an insufficiently large sglist in rxkad_verify_packet_2()
    24a4e79d92e0 rxrpc: Fix ICMP/ICMP6 error handling
    59f1c62d91ca ALSA: usb-audio: Register card again for iface over delayed_register option
    4dc401ef8b23 ALSA: usb-audio: Inform the delayed registration more properly
    a8edd49c94b4 RDMA/srp: Set scmnd->result only when scmnd is not NULL
    451c9ce1e2fc netfilter: nf_conntrack_irc: Fix forged IP logic
    1ce55ec5cb7c netfilter: nf_tables: clean up hook list when offload flags check fails
    92837ac04779 netfilter: br_netfilter: Drop dst references before setting.
    940e58f2ccc0 ARM: dts: at91: sama5d2_icp: don't keep vdd_other enabled all the time
    86706fa90be6 ARM: dts: at91: sama5d27_wlsom1: don't keep ldo2 enabled all the time
    d6015c56f477 ARM: dts: at91: sama5d2_icp: specify proper regulator output ranges
    a8ab10c3f137 ARM: dts: at91: sama5d27_wlsom1: specify proper regulator output ranges
    6fbff44cba17 ARM: at91: pm: fix DDR recalibration when resuming from backup and self-refresh
    e11d08c825f2 ARM: at91: pm: fix self-refresh for sama7g5
    32dd0b22a5ba wifi: wilc1000: fix DMA on stack objects
    6f7aa1029f8e RDMA/hns: Fix wrong fixed value of qp->rq.wqe_shift
    c1796dd54259 RDMA/hns: Fix supported page size
    43245c77d9ef soc: brcmstb: pm-arm: Fix refcount leak and __iomem leak bugs
    d3eb252d7636 RDMA/cma: Fix arguments order in net device validation
    e2ec1064a47d tee: fix compiler warning in tee_shm_register()
    eb53e84dc1ac regulator: core: Clean up on enable failure
    a53b30716c60 soc: imx: gpcv2: Assert reset before ungating clock
    83a7e5d2f14e ARM: dts: imx6qdl-kontron-samx6i: remove duplicated node
    ae8e70e31763 RDMA/rtrs-srv: Pass the correct number of entries for dma mapped SGL
    ad69caa47861 RDMA/rtrs-clt: Use the right sg_cnt after ib_dma_map_sg
    237f16395304 ASoC: qcom: sm8250: add missing module owner
    3bf4bf54069f cgroup: Fix threadgroup_rwsem <-> cpus_read_lock() deadlock
    509e3456d363 cgroup: Elide write-locking threadgroup_rwsem when updating csses on an empty subtree
    3b97deb4abf5 NFS: Fix another fsync() issue after a server reboot
    31b992b3c39b NFS: Save some space in the inode
    88d24e83a268 NFS: Further optimisations for 'ls -l'
    1dcc308898e7 scsi: lpfc: Add missing destroy_workqueue() in error path
    6229fa494a59 scsi: mpt3sas: Fix use-after-free warning
    d2ca79dd0b54 drm/i915: Implement WaEdpLinkRateDataReload
    ebf46da50beb nvmet: fix a use-after-free
    58acd2ebae03 drm/amd/display: fix memory leak when using debugfs_lookup()
    26e9a1ded892 sched/debug: fix dentry leak in update_sched_domain_debugfs
    94c84128adb1 debugfs: add debugfs_lookup_and_remove()
    8875d606761e kprobes: Prohibit probes in gate area
    5321908ef74f vfio/type1: Unpin zero pages
    7da1afa444a1 btrfs: zoned: set pseudo max append zone limit in zone emulation mode
    75082adeb414 tracing: Fix to check event_mutex is held while accessing trigger list
    98e8e67395cc ALSA: usb-audio: Fix an out-of-bounds bug in __snd_usb_parse_audio_interface()
    df5ec554e9e3 ALSA: usb-audio: Split endpoint setups for hw_params and prepare
    d1118465ae2e ALSA: aloop: Fix random zeros in capture data when using jiffies timer
    45814a53514e ALSA: emu10k1: Fix out of bounds access in snd_emu10k1_pcm_channel_alloc()
    8015ef9e8a0e ALSA: pcm: oss: Fix race at SNDCTL_DSP_SYNC
    ad5ef763dbbe drm/amdgpu: mmVM_L2_CNTL3 register not initialized correctly
    fc5a2a9616f3 fbdev: chipsfb: Add missing pci_disable_device() in chipsfb_pci_init()
    c3abfd6ce2f3 fbdev: fbcon: Destroy mutex on freeing struct fb_info
    a7dff6f41e16 md: Flush workqueue md_rdev_misc_wq in md_alloc()
    0b7058067eb8 net/core/skbuff: Check the return value of skb_copy_bits()
    bd1b769564eb cpufreq: check only freq_table in __resolve_freq()
    e928cf258910 netfilter: conntrack: work around exceeded receive window
    29906311b351 arm64: cacheinfo: Fix incorrect assignment of signed error value to unsigned fw_level
    27092358e9c6 parisc: Add runtime check to prevent PA2.0 kernels on PA1.x machines
    deb2c9c0770b parisc: ccio-dma: Handle kmalloc failure in ccio_init_resources()
    c63ff388e7d4 Revert "parisc: Show error if wrong 32/64-bit compiler is being used"
    c50189129374 scsi: ufs: core: Reduce the power mode change timeout
    5a7a5b2edac4 drm/radeon: add a force flush to delay work when radeon
    622a557b28b7 drm/amdgpu: Check num_gfx_rings for gfx v9_0 rb setup.
    c15c2c2c0896 drm/amdgpu: Move psp_xgmi_terminate call from amdgpu_xgmi_remove_device to psp_hw_fini
    1f574fbe9c2b drm/gem: Fix GEM handle release errors
    bbfd857abbd2 scsi: megaraid_sas: Fix double kfree()
    8179f0e08578 scsi: qla2xxx: Disable ATIO interrupt coalesce for quad port ISP27XX
    625c78e1ae35 Revert "mm: kmemleak: take a full lowmem check in kmemleak_*_phys()"
    7c6333411acf fs: only do a memory barrier for the first set_buffer_uptodate()
    44b402da7b24 wifi: iwlegacy: 4965: corrected fix for potential off-by-one overflow in il4965_rs_fill_link_cmd()
    dd291e070be0 efi: capsule-loader: Fix use-after-free in efi_capsule_write
    ee06f08139e7 efi: libstub: Disable struct randomization
    6427605fa781 net: wwan: iosm: remove pointless null check
    e1ad7a011591 Linux 5.15.67
    096e34b05a43 kbuild: fix up permissions on scripts/pahole-flags.sh
    bcecd2ee19ef Linux 5.15.66
    e1779c25e48b USB: serial: ch341: fix disabled rx timer on older devices
    e0923b4f38df USB: serial: ch341: fix lost character on LCR updates
    55d328924347 usb: dwc3: disable USB core PHY management
    121c6e37da76 usb: dwc3: qcom: fix use-after-free on runtime-PM wakeup
    9d6a2d022010 usb: dwc3: fix PHY disable sequence
    b775fbf532dc kbuild: Add skip_encoding_btf_enum64 option to pahole
    0baced0e0938 kbuild: Unify options for BTF generation for vmlinux and modules
    309aea4b6b81 tty: n_gsm: add sanity check for gsm->receive in gsm_receive_buf()
    1787ec7dcc37 drm/i915: Skip wm/ddb readout for disabled pipes
    f9a0f49be767 drm/i915/glk: ECS Liva Q2 needs GLK HDMI port timing quirk
    301be8985e87 ALSA: seq: Fix data-race at module auto-loading
    9b7a07fcc5d4 ALSA: seq: oss: Fix data-race for max_midi_devs access
    b2c973b52f14 ALSA: hda/realtek: Add speaker AMP init for Samsung laptops with ALC298
    c5652d5d71cf net: mac802154: Fix a condition in the receive path
    4b9f3743a822 net: Use u64_stats_fetch_begin_irq() for stats fetch.
    57f1407ca166 ip: fix triggering of 'icmp redirect'
    5d20c6f932f2 wifi: mac80211: Fix UAF in ieee80211_scan_rx()
    552ba102a689 wifi: mac80211: Don't finalize CSA in IBSS mode if state is disconnected
    253ec5fb8405 driver core: Don't probe devices after bus_type.match() probe deferral
    7da29a2cc514 usb: gadget: mass_storage: Fix cdrom data transfers on MAC-OS
    299f4f420f23 usb: xhci-mtk: fix bandwidth release issue
    27102b39b6d0 usb: xhci-mtk: relax TT periodic bandwidth allocation
    c548b99e1c37 USB: core: Prevent nested device-reset calls
    4e22a43ec717 s390: fix nospec table alignments
    047a4d0f7924 s390/hugetlb: fix prepare_hugepage_range() check for 2 GB hugepages
    efdfa236a085 usb-storage: Add ignore-residue quirk for NXP PN7462AU
    0f8b5d706dcd USB: cdc-acm: Add Icom PMR F3400 support (0c26:0020)
    bf6e4243f80b usb: cdns3: fix incorrect handling TRB_SMM flag for ISOC transfer
    f1eb9e5d2f6e usb: cdns3: fix issue with rearming ISO OUT endpoint
    48917032c702 usb: dwc2: fix wrong order of phy_power_on and phy_init
    ea72b22a05ea usb: typec: tcpm: Return ENOTSUPP for power supply prop writes
    4be500c63911 usb: typec: intel_pmc_mux: Add new ACPI ID for Meteor Lake IOM device
    b201f6203197 usb: typec: altmodes/displayport: correct pin assignment for UFP receptacles
    577f84a6f120 USB: serial: option: add support for Cinterion MV32-WA/WB RmNet mode
    6415953963a9 USB: serial: option: add Quectel EM060K modem
    93c283a09959 USB: serial: option: add support for OPPO R11 diag port
    2bb1ad8c957d USB: serial: cp210x: add Decagon UCA device id
    3a6c5c5ab734 xhci: Add grace period after xHC start to prevent premature runtime suspend.
    75913c562f5b media: mceusb: Use new usb_control_msg_*() routines
    2c948dd68b9e usb: dwc3: pci: Add support for Intel Raptor Lake
    23987d01de44 thunderbolt: Use the actual buffer in tb_async_error()
    e31db376f6d1 xen-blkfront: Cache feature_persistent value before advertisement
    895a90ad7b3e xen-blkfront: Advertise feature-persistent as user requested
    3e8107d69fc3 xen-blkback: Advertise feature-persistent as user requested
    c235c4fc521f mm: pagewalk: Fix race between unmap and page walker
    763d77241d8f xen/grants: prevent integer overflow in gnttab_dma_alloc_pages()
    03b1870fbc5e KVM: x86: Mask off unsupported and unknown bits of IA32_ARCH_CAPABILITIES
    111a3586ed4a gpio: pca953x: Add mutex_lock for regcache sync in PM
    53196e037620 hwmon: (gpio-fan) Fix array out of bounds access
    7b8a284ffe7a clk: bcm: rpi: Add missing newline
    ff0b144d4b0a clk: bcm: rpi: Prevent out-of-bounds access
    e827a5f32a0d clk: bcm: rpi: Use correct order for the parameters of devm_kcalloc()
    237b4ef4c088 clk: bcm: rpi: Fix error handling of raspberrypi_fw_get_rate
    5ba6155d3b2f Input: rk805-pwrkey - fix module autoloading
    9766749a30f6 clk: core: Fix runtime PM sequence in clk_core_unprepare()
    c13b0be5ade0 Revert "clk: core: Honor CLK_OPS_PARENT_ENABLE for clk gate ops"
    519cd9c4b56e clk: core: Honor CLK_OPS_PARENT_ENABLE for clk gate ops
    0522550aeed4 drm/i915/reg: Fix spelling mistake "Unsupport" -> "Unsupported"
    fec48eba4783 KVM: VMX: Heed the 'msr' argument in msr_write_intercepted()
    9e3c9efa7caf cifs: fix small mempool leak in SMB2_negotiate()
    81203ab7a6ef binder: fix alloc->vma_vm_mm null-ptr dereference
    c2a4b5dc8fa7 binder: fix UAF of ref->proc caused by race condition
    da3c6d0708e6 mmc: core: Fix inconsistent sd3_bus_mode at UHS-I SD voltage switch failure
    8bca22970e1c mmc: core: Fix UHS-I SD 1.8V workaround branch
    fc9b5b3f2ccc USB: serial: ftdi_sio: add Omron CS1W-CIF31 device id
    cf20c3533efc misc: fastrpc: fix memory corruption on open
    0e33b0f322fe misc: fastrpc: fix memory corruption on probe
    95ac9601feb5 iio: adc: mcp3911: use correct formula for AD conversion
    6e933a26e6a2 iio: ad7292: Prevent regulator double disable
    df1b53bc799d Input: iforce - wake up after clearing IFORCE_XMIT_RUNNING flag
    9f185ca8e019 tty: serial: lpuart: disable flow control while waiting for the transmit engine to complete
    532b255af195 musb: fix USB_MUSB_TUSB6010 dependency
    2535431ae967 vt: Clear selection before changing the font
    a19846f0f45b powerpc: align syscall table for ppc32
    f12afb4b5db0 staging: r8188eu: add firmware dependency
    dc02aaf95001 staging: rtl8712: fix use after free bugs
    01fd7e12f8fb serial: fsl_lpuart: RS485 RTS polariy is inverse
    839ca7969fcf soundwire: qcom: fix device status array range
    fdc69b070071 net/smc: Remove redundant refcount increase
    6ce0d73b2fbd Revert "sch_cake: Return __NET_XMIT_STOLEN when consuming enqueued skb"
    aca9d0acda9e tcp: annotate data-race around challenge_timestamp
    1c472d671d9c sch_cake: Return __NET_XMIT_STOLEN when consuming enqueued skb
    55fb8c3baa80 kcm: fix strp_init() order and cleanup
    660df4411ef4 mlxbf_gige: compute MDIO period based on i1clk
    a4c08cbfbcf9 ethernet: rocker: fix sleep in atomic context bug in neigh_timer_handler
    a420d5872601 net/sched: fix netdevice reference leaks in attach_default_qdiscs()
    ce881ddbdc02 net: sched: tbf: don't call qdisc_put() while holding tree lock
    d6ec2f711c94 net: dsa: xrs700x: Use irqsave variant for u64 stats update
    ca54b2bfaab3 openvswitch: fix memory leak at failed datapath creation
    8eeba7ef4d1d net: smsc911x: Stop and start PHY during suspend and resume
    cc2b9170aa34 net: sparx5: fix handling uneven length packets in manual extraction
    5359524251d2 Revert "xhci: turn off port power in shutdown"
    ee19bbed4b03 wifi: cfg80211: debugfs: fix return type in ht40allow_map_read()
    20b2d5be85e9 ALSA: hda: intel-nhlt: Correct the handling of fmt_config flexible array
    59a711467e8d ALSA: hda: intel-nhlt: remove use of __func__ in dev_dbg
    7828b5d0080a drm/i915/display: avoid warnings when registering dual panel backlight
    630ab29120b5 drm/i915/backlight: extract backlight code to a separate file
    9f8558c5c642 ieee802154/adf7242: defer destroy_workqueue call
    222bd95c89b1 bpf, cgroup: Fix kernel BUG in purge_effective_progs
    1c518476ceb4 bpf: Restrict bpf_sys_bpf to CAP_PERFMON
    de22cba333d8 skmsg: Fix wrong last sg check in sk_msg_recvmsg()
    7497f9766f08 iio: adc: mcp3911: make use of the sign bit
    9e1f74294d53 platform/x86: pmc_atom: Fix SLP_TYPx bitfield mask
    1a785b435276 drm/msm/dsi: Fix number of regulators for SDM660
    ab8533946db7 drm/msm/dsi: Fix number of regulators for msm8996_dsi_cfg
    0a4f633548c4 drm/msm/dp: delete DP_RECOVERED_CLOCK_OUT_EN to fix tps4
    e8bd54b0664b drm/msm/dsi: fix the inconsistent indenting

(From OE-Core rev: c20e9c6f4ec19d2e1dca443ea945e5c4e3d4d11f)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit a15a61c801e1a3014ac228e7e100a1867dd498f9)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-09-28 08:02:10 +01:00
Bruce Ashfield
7e32ade9e0 linux-yocto/5.15: update to v5.15.65
Updating  to the latest korg -stable release that comprises
the following commits:

    633c3b4c71bb Linux 5.15.65
    572b646c8d93 net: neigh: don't call kfree_skb() under spin_lock_irqsave()
    facf99bc3a95 net/af_packet: check len when min_header_len equals to 0
    591a98b823fb android: binder: fix lockdep check on clearing vma
    92dc4c1a8e58 btrfs: fix space cache corruption and potential double allocations
    55c7a9152734 kprobes: don't call disarm_kprobe() for disabled kprobes
    6a27997cf44e btrfs: tree-checker: check for overlapping extent items
    1b2a7ddeaa77 btrfs: fix lockdep splat with reloc root extent buffers
    98dfad7fb688 btrfs: move lockdep class helpers to locking.c
    a74fc94fb1a9 testing: selftests: nft_flowtable.sh: use random netns names
    1d8b5d251994 netfilter: conntrack: NF_CONNTRACK_PROCFS should no longer default to y
    85dd24ff77c1 drm/amd/display: avoid doing vm_init multiple time
    898467ac9bcb drm/amdgpu: Increase tlb flush timeout for sriov
    4df54c493e76 drm/amd/display: Fix pixel clock programming
    a89e753d5a9f drm/amd/pm: add missing ->fini_microcode interface for Sienna Cichlid
    a2ede313fbf0 ksmbd: don't remove dos attribute xattr on O_TRUNC open
    a7ada939712a s390/hypfs: avoid error message under KVM
    db6fa03d80ab neigh: fix possible DoS due to net iface start/stop loop
    857048ea1d28 ksmbd: return STATUS_BAD_NETWORK_NAME error status if share is not configured
    5ee30bcfdb32 drm/amd/display: clear optc underflow before turn off odm clock
    e407e04a93d7 drm/amd/display: For stereo keep "FLIP_ANY_FRAME"
    2cddd3d0b049 drm/amd/display: Fix HDMI VSIF V3 incorrect issue
    0c8abeceee0f drm/amd/display: Avoid MPC infinite loop
    061ffb1e419b ASoC: sh: rz-ssi: Improve error handling in rz_ssi_probe() error path
    d347d66b1972 fs/ntfs3: Fix work with fragmented xattr
    bf216c168f9e btrfs: fix warning during log replay when bumping inode link count
    985bbad18408 btrfs: add and use helper for unlinking inode during log replay
    968815211212 btrfs: remove no longer needed logic for replaying directory deletes
    7697ca60db06 btrfs: remove root argument from btrfs_unlink_inode()
    71beead997f5 mmc: sdhci-of-dwcmshc: Re-enable support for the BlueField-3 SoC
    68b6cbaa318e mmc: sdhci-of-dwcmshc: rename rk3568 to rk35xx
    c038e4094ba2 mmc: sdhci-of-dwcmshc: add reset call back for rockchip Socs
    d6a74ee2a7b2 mmc: mtk-sd: Clear interrupts when cqe off/disable
    4676773ea117 drm/i915/gt: Skip TLB invalidations once wedged
    f0582f5ac1ea HID: thrustmaster: Add sparco wheel and fix array length
    77f8e40a3cbb HID: asus: ROG NKey: Ignore portion of 0x5a report
    d74ce3ece402 HID: AMD_SFH: Add a DMI quirk entry for Chromebooks
    a569d41c5aba HID: add Lenovo Yoga C630 battery quirk
    b08469874a16 ALSA: usb-audio: Add quirk for LH Labs Geek Out HD Audio 1V5
    c18a209b56e3 mm/rmap: Fix anon_vma->degree ambiguity leading to double-reuse
    a75987714bd2 bpf: Don't redirect packets with invalid pkt_len
    e4ae97295984 ftrace: Fix NULL pointer dereference in is_ftrace_trampoline when ftrace is dead
    34c3dea11895 fbdev: fb_pm2fb: Avoid potential divide by zero error
    a5d1cb908131 net: fix refcount bug in sk_psock_get (2)
    dfd27a737283 HID: hidraw: fix memory leak in hidraw_release()
    f2f6e6752291 media: pvrusb2: fix memory leak in pvr_probe
    e658538c610c udmabuf: Set the DMA mask for the udmabuf device (v2)
    989560b6d9e0 HID: steam: Prevent NULL pointer dereference in steam_{recv,send}_report
    67216f47922d Revert "PCI/portdrv: Don't disable AER reporting in get_port_device_capability()"
    9e38a363dc63 Bluetooth: L2CAP: Fix build errors in some archs
    2e0ffef17308 kbuild: Fix include path in scripts/Makefile.modpost
    e9d7ca0c4640 io_uring: fix UAF due to missing POLLFREE handling
    182dc3aa5ae2 io_uring: fix wrong arm_poll error handling
    6c7259c83773 io_uring: fail links when poll fails
    c41e79a0c464 io_uring: bump poll refs to full 31-bits
    7524ec52caa8 io_uring: remove poll entry from list when canceling all
    95a004a223f8 io_uring: Remove unused function req_ref_put
    f770fba096a6 io_uring: poll rework
    8dc669632f0d io_uring: inline io_poll_complete
    20bbcc316314 io_uring: kill poll linking optimisation
    a85d7ac14f22 io_uring: move common poll bits
    040e58f51c0b io_uring: refactor poll update
    b850d6ddc788 io_uring: clean cqe filling functions
    5c0ea4c8e54b io_uring: correct fill events helpers types
    285e77dbb36f arm64: errata: Add Cortex-A510 to the repeat tlbi list
    da60ddd80d09 mm/hugetlb: avoid corrupting page->mapping in hugetlb_mcopy_atomic_pte
    e7a792dcd6a7 Drivers: hv: balloon: Support status report for larger page sizes
    2edbdfc89d9f crypto: lib - remove unneeded selection of XOR_BLOCKS
    6db913f5e449 firmware: tegra: bpmp: Do only aligned access to IPC memory area
    80d46e73e8d3 drm/vc4: hdmi: Depends on CONFIG_PM
    3d2d12fb7815 drm/vc4: hdmi: Rework power up
    8468ccbf4c44 ACPI: thermal: drop an always true check
    f8b07c05b699 drm/bridge: Add stubs for devm_drm_of_get_bridge when OF is disabled
    3ffb97fce282 mm: Force TLB flush for PFNMAP mappings before unlink_file_vma()
    1ded0ef2419e Linux 5.15.64
    4f672112f866 bpf: Don't use tnum_range on array range checking for poke descriptors
    cd2a50d0a097 scsi: storvsc: Remove WQ_MEM_RECLAIM from storvsc_error_wq
    2c72bead9bc6 scsi: ufs: core: Enable link lost interrupt
    da86f80da31a perf stat: Clear evsel->reset_group for each stat run
    b5f5fee03d17 perf/x86/intel/ds: Fix precise store latency handling
    83bd6d121245 perf/x86/intel/uncore: Fix broken read_counter() for SNB IMC PMU
    a38e7ab46740 perf python: Fix build when PYTHON_CONFIG is user supplied
    77864ed6c6ce blk-mq: fix io hung due to missing commit_rqs
    4428d15cddd5 Documentation/ABI: Mention retbleed vulnerability info file for sysfs
    992d2fc2fe7f x86/nospec: Fix i386 RSB stuffing
    577d9c05cc48 binder_alloc: add missing mmap_lock calls when using the VMA
    1ed630bc530a arm64: Fix match_list for erratum 1286807 on Arm Cortex-A76
    af61a8f76039 mptcp: Fix crash due to tcp_tsorted_anchor was initialized before release skb
    661c01b2181d md: call __md_stop_writes in md_stop
    ee0c613bfe83 Revert "md-raid: destroy the bitmap after destroying the thread"
    0038f8593325 mm/hugetlb: fix hugetlb not supporting softdirty tracking
    6ee82524b0aa Revert "usbnet: smsc95xx: Forward PHY interrupts to PHY driver to avoid polling"
    7ae43647f499 Revert "usbnet: smsc95xx: Fix deadlock on runtime resume"
    295219ab7d62 io_uring: fix issue with io_write() not always undoing sb_start_write()
    f8aafb25ec38 riscv: traps: add missing prototype
    c2b7bae7c900 xen/privcmd: fix error exit of privcmd_ioctl_dm_op()
    0351fdbd8cb4 smb3: missing inode locks in punch hole
    3640cdccbe75 nouveau: explicitly wait on the fence in nouveau_bo_move_m2mf
    b490dfcbb921 ACPI: processor: Remove freq Qos request for all CPUs
    f1aedd2ffead Revert "memcg: cleanup racy sum avoidance code"
    ebd6f886aa24 fbdev: fbcon: Properly revert changes when vc_resize() failed
    8195e065abf3 s390: fix double free of GS and RI CBs on fork() failure
    16a12ee619e3 bootmem: remove the vmemmap pages from kmemleak in put_page_bootmem
    9227599cd987 s390/mm: do not trigger write fault when vma does not allow VM_WRITE
    ddcb0696136b mm/damon/dbgfs: avoid duplicate context directory creation
    95587037ea58 asm-generic: sections: refactor memory_intersects
    f96b9f7c1676 writeback: avoid use-after-free after removing device
    0455bef69028 loop: Check for overflow while configuring loop
    500195a109bc x86/nospec: Unwreck the RSB stuffing
    75fa6c733b85 x86/bugs: Add "unknown" reporting for MMIO Stale Data
    a7484eb9f3e0 x86/unwind/orc: Unwind ftrace trampolines with correct ORC entry
    1cdfef6cd296 perf/x86/lbr: Enable the branch type for the Arch LBR by default
    5f52402c7701 btrfs: fix possible memory leak in btrfs_get_dev_args_from_path()
    793505888d60 btrfs: check if root is readonly while setting security xattr
    2aa1a1cff81d btrfs: add info when mount fails due to stale replace target
    17343a515fa5 btrfs: replace: drop assert for suspended replace
    34cab3bba8ca btrfs: fix silent failure when deleting root reference
    50396e19d9d8 net: stmmac: work around sporadic tx issue on link-up
    48f4d54ccc4d ionic: VF initial random MAC address if no assigned mac
    bcbf1d959933 ionic: fix up issues with handling EAGAIN on FW cmds
    9a41433cc73b ionic: clear broken state on generation change
    8d2761dbfcb9 ionic: widen queue_lock use around lif init and deinit
    2bc769b8edb1 rxrpc: Fix locking in rxrpc's sendmsg
    0c3fd13b9c6d i40e: Fix incorrect address type for IPv6 flow rules
    bda3e3892434 ixgbe: stop resetting SYSTIME in ixgbe_ptp_start_cyclecounter
    cb9eaedd9fc0 net: Fix a data-race around sysctl_somaxconn.
    b340f83dafba net: Fix data-races around sysctl_devconf_inherit_init_net.
    181bae6dff66 net: Fix data-races around sysctl_fb_tunnels_only_for_init_net.
    ed14f10e13f6 net: Fix a data-race around netdev_budget_usecs.
    70564ad8d190 net: Fix data-races around sysctl_max_skb_frags.
    289f2f582667 mptcp: stop relying on tcp_tx_skb_cache
    a07f3af6393a tcp: expose the tcp_mark_push() and tcp_skb_entail() helpers
    2baeaef4dd73 net: Fix a data-race around netdev_budget.
    8e9e124aeb9c net: Fix a data-race around sysctl_net_busy_read.
    4e12829fd3b9 net: Fix a data-race around sysctl_net_busy_poll.
    f6b5be42ce4b net: Fix a data-race around sysctl_tstamp_allow_data.
    d39a02760bf2 net: Fix data-races around sysctl_optmem_max.
    0db9ce822f13 ratelimit: Fix data-races in ___ratelimit().
    cd755a7e4062 net: Fix data-races around netdev_tstamp_prequeue.
    4d2c808d0983 net: Fix data-races around netdev_max_backlog.
    572d4cdf907f net: Fix data-races around weight_p and dev_weight_[rt]x_bias.
    33372f2b6c6d net: Fix data-races around sysctl_[rw]mem_(max|default).
    8fbdec08dbf7 netfilter: flowtable: fix stuck flows on cleanup due to pending work
    eb6645a0f2ca netfilter: flowtable: add function to invoke garbage collection immediately
    51f192ae71c3 netfilter: nf_tables: disallow binding to already bound chain
    7196f4577f1c netfilter: nf_tables: disallow jump to implicit chain from set element
    4097749aec54 netfilter: nf_tables: upfront validation of data via nft_data_init()
    cc311eae1f30 netfilter: bitwise: improve error goto labels
    9bf98120a943 netfilter: nft_cmp: optimize comparison for 16-bytes
    c5ba86cde6bb netfilter: nf_tables: consolidate rule verdict trace call
    b6d601211ce4 netfilter: nft_tunnel: restrict it to netdev family
    530f4bb9ed58 netfilter: nft_osf: restrict osf to ipv4, ipv6 and inet families
    6d7ddee50395 netfilter: nf_tables: do not leave chain stats enabled on error
    cafe94e8d685 netfilter: nft_payload: do not truncate csum_offset and csum_type
    fbbecf068a3f netfilter: nft_payload: report ERANGE for too long offset and length
    fbaeb8046e7d netfilter: nf_tables: make table handle allocation per-netns friendly
    9f4b32890768 netfilter: nf_tables: disallow updates of implicit chain
    acca44ec232a bnxt_en: fix NQ resource accounting during vf creation on 57500 chips
    1b2c5428f773 netfilter: ebtables: reject blobs that don't provide all entry points
    7a5d10afeb1b net: ipvtap - add __init/__exit annotations to module init/exit funcs
    fec37fe2f278 bonding: 802.3ad: fix no transmission of LACPDUs
    aa108c97acf1 net: moxa: get rid of asymmetry in DMA mapping/unmapping
    c9dabd1f0410 net: phy: Don't WARN for PHY_READY state in mdio_bus_phy_resume()
    c4b38473b18e net: ipa: don't assume SMEM is page-aligned
    f7de12f247bb net/mlx5e: Fix wrong tc flag used when set hw-tc-offload off
    3f8608199640 net/mlx5e: Fix wrong application of the LRO state
    e161c24a92ef net/mlx5: Avoid false positive lockdep warning by adding lock_class_key
    0782959b92eb net/mlx5e: Properly disable vlan strip on non-UL reps
    fe76b3e67466 ice: xsk: prohibit usage of non-balanced queue id
    141b795ee39e ice: xsk: Force rings to be sized to power of 2
    9c34c33893db nfc: pn533: Fix use-after-free bugs caused by pn532_cmd_timeout
    2e8b65fda933 r8152: fix the RX FIFO settings when suspending
    59cfae681ffb r8152: fix the units of some registers for RTL8156A
    9cf85759e104 rose: check NULL rose_loopback_neigh->loopback
    e1ae035a5663 ntfs: fix acl handling
    d28f319043f0 mm/smaps: don't access young/dirty bit if pte unpresent
    28dccc4eaf98 SUNRPC: RPC level errors should set task->tk_rpc_status
    5626f9535611 NFSv4.2 fix problems with __nfs42_ssc_open
    519543a64650 NFS: Don't allocate nfs_fattr on the stack in __nfs42_ssc_open()
    84dc68c6140c Revert "net: macsec: update SCI upon MAC address change."
    c3f4f07a9eb1 net: use eth_hw_addr_set() instead of ether_addr_copy()
    770afc6e262b fs: require CAP_SYS_ADMIN in target namespace for idmapped mounts
    96f2758a6d02 xfrm: policy: fix metadata dst->dev xmit null pointer dereference
    103bd319c0fc af_key: Do not call xfrm_probe_algs in parallel
    4edd868acd23 xfrm: clone missing x->lastused in xfrm_do_migrate
    26ad2398fe49 xfrm: fix refcount leak in __xfrm_policy_check()
    044f8ff30e62 riscv: lib: uaccess: fix CSR_STATUS SR_SUM bit
    093cb743dcad riscv: lib: uaccess: fold fixups into body
    9de35edff035 btrfs: remove unnecessary parameter delalloc_start for writepage_delalloc()
    da7ad2ec580b btrfs: pass the dentry to btrfs_log_new_name() instead of the inode
    90b9e4892704 btrfs: put initial index value of a directory in a constant
    4438d54ce7a8 scsi: qla2xxx: edif: Fix dropped IKE message
    bcfe37c78854 scsi: qla2xxx: Fix response queue handler reading stale packets
    799e39edb0a8 drivers/base: fix userspace break from using bin_attributes for cpumap and cpulist
    75260fa268e1 Input: i8042 - add additional TUXEDO devices to i8042 quirk tables
    d6351dfe846c Input: i8042 - add TUXEDO devices to i8042 quirk tables
    e7d46453410d Input: i8042 - merge quirk tables
    0b0ee46bf65e Input: i8042 - move __initconst to fix code styling warning
    057238cdce45 btrfs: convert count_max_extents() to use fs_info->max_extent_size
    1aa262c1d056 btrfs: replace BTRFS_MAX_EXTENT_SIZE with fs_info->max_extent_size
    f675e3ae67e4 btrfs: zoned: revive max_zone_append_bytes
    1815305d8199 block: add bdev_max_segments() helper
    dd2ee2fd1fcb block: add a bdev_max_zone_append_sectors helper
    a50d9fde4616 x86/entry: Move CLD to the start of the idtentry macro
    108fb7e99bbf kernel/sys_ni: add compat entry for fadvise64_64
    7c83923031cd parisc: Fix exception handler for fldw and fstw instructions
    6efe7754e05d parisc: Make CONFIG_64BIT available for ARCH=parisc64 only
    f49fd5fe2399 cgroup: Fix race condition at rebind_subsystems()
    5c192867ae57 audit: fix potential double free on error path from fsnotify_add_inode_mark
    edd6e98a752c eth: sun: cassini: remove dead code
    b51ca7326d16 wifi: rtlwifi: remove always-true condition pointed out by GCC 12

(From OE-Core rev: 28d1483d33797404deee4cbc28b19b1b52b822ad)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 104217e05ea494d46e3cc22bb4b3bf2379004882)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-09-28 08:02:10 +01:00
Bruce Ashfield
6a25979bcc linux-yocto/5.15: update to v5.15.63
Updating  to the latest korg -stable release that comprises
the following commits:

    addc9003c2e8 Linux 5.15.63
    b92be74cb2da xfs: reject crazy array sizes being fed to XFS_IOC_GETBMAP*
    1350a4cdfbe6 xfs: revert "xfs: actually bump warning counts when we send warnings"
    12689d950d75 xfs: fix soft lockup via spinning in filestream ag selection loop
    bbc256bf904d xfs: fix overfilling of reserve pool
    90f414686bc4 xfs: always succeed at setting the reserve pool size
    07e17dcd03e0 xfs: remove infinite loop when reserving free block pool
    130b5965da3a xfs: reserve quota for target dir expansion when renaming files
    5e7f687ca727 xfs: reserve quota for dir expansion when linking/unlinking files
    139e6fc6e7a7 xfs: flush inodegc workqueue tasks before cancel
    d66d392c72a6 scsi: ufs: ufs-mediatek: Fix build error and type mismatch
    1a9f5411837a can: j1939: j1939_sk_queue_activate_next_locked(): replace WARN_ON_ONCE with netdev_warn_once()
    e7403632c015 MIPS: tlbex: Explicitly compare _PAGE_NO_EXEC against 0
    e740e787f066 video: fbdev: i740fb: Check the argument of i740_calc_vclk()
    0bdec5eed69c venus: pm_helpers: Fix warning in OPP during probe
    e3c9e9452a8e powerpc/64: Init jump labels before parse_early_param()
    ecdba236bc35 smb3: check xattr value length earlier
    3c201130cc81 f2fs: fix to do sanity check on segment type in build_sit_entries()
    5a01e45b925a f2fs: fix to avoid use f2fs_bug_on() in f2fs_new_node_page()
    3895d353f45a ALSA: control: Use deferred fasync helper
    409e6a799283 ALSA: timer: Use deferred fasync helper
    60110fd26623 ALSA: core: Add async signal helpers
    a5ec4cd45b52 powerpc/ioda/iommu/debugfs: Generate unique debugfs entries
    8641e0bbb5ef ovl: warn if trusted xattr creation fails
    0480540da5a2 powerpc/32: Don't always pass -mcpu=powerpc to the compiler
    3d5d2dc1dc08 powerpc/32: Set an IBAT covering up to _einittext during init
    6568e52b281c watchdog: export lockup_detector_reconfigure
    c5a8d0512018 RISC-V: Add fast call path of crash_kexec()
    64f94e6e1fab riscv: mmap with PROT_WRITE but no PROT_READ is invalid
    e751030eb844 riscv: dts: canaan: Add k210 topology information
    23069475daeb riscv: dts: sifive: Add fu740 topology information
    21d784398a04 ASoC: rsnd: care default case on rsnd_ssiu_busif_err_irq_ctrl()
    9774b96bce7d modules: Ensure natural alignment for .altinstructions and __bug_table sections
    2097c7835162 iommu/io-pgtable-arm-v7s: Add a quirk to allow pgtable PA up to 35bit
    7822d994eb95 mips: cavium-octeon: Fix missing of_node_put() in octeon2_usb_clocks_start
    c983edb06239 vfio: Clear the caps->buf to NULL after free
    a1d8021d2130 KVM: PPC: Book3S HV: Fix "rm_exit" entry in debugfs timings
    17c32546166d tty: serial: Fix refcount leak bug in ucc_uart.c
    ce0432aa8944 lib/list_debug.c: Detect uninitialized lists
    72b850a2a996 ext4: avoid resizing to a partial cluster size
    0e734f91cb1c ext4: avoid remove directory when directory is corrupted
    d9b94c3ace54 drivers:md:fix a potential use-after-free bug
    a600ed25e3d9 nvmet-tcp: fix lockdep complaint on nvmet_tcp_wq flush during queue teardown
    e59ef9b07130 md: Notify sysfs sync_completed in md_reap_sync_thread()
    2dc9615abfbc phy: samsung: phy-exynos-pcie: sanitize init/power_on callbacks
    405ea6d70684 openrisc: io: Define iounmap argument as volatile
    d1fc64bf4526 dmaengine: sprd: Cleanup in .remove() after pm_runtime_get_sync() failed
    d0e2b8e36911 selftests/kprobe: Do not test for GRP/ without event failures
    3645ed60ac07 csky/kprobe: reclaim insn_slot on kprobe unregistration
    fda4bff43bcd RDMA/rxe: Limit the number of calls to each tasklet
    54aa6c49361b dmaengine: dw-axi-dmac: ignore interrupt if no descriptor
    af76e6fdcf92 dmaengine: dw-axi-dmac: do not print NULL LLI during error
    e799817b67b3 um: add "noreboot" command line option for PANIC_TIMEOUT=-1 setups
    405f655ee7f6 PCI/ACPI: Guard ARM64-specific mcfg_quirks
    addff638c417 cxl: Fix a memory leak in an error handling path
    5e24cd70355e pinctrl: intel: Check against matching data instead of ACPI companion
    67b5870a35bb mmc: tmio: avoid glitches when resetting
    0f5916516d86 habanalabs/gaudi: mask constant value before cast
    b09e5ab18c9f habanalabs/gaudi: fix shift out of bounds
    1693fe9ba2ef coresight: etm4x: avoid build failure with unrolled loops
    94aadba8d000 gadgetfs: ep_io - wait until IRQ finishes
    9c8e2e607270 scsi: lpfc: Fix possible memory leak when failing to issue CMF WQE
    b92506dc51f8 scsi: lpfc: Prevent buffer overflow crashes in debugfs with malformed user input
    0af01d2c5edd clk: qcom: clk-alpha-pll: fix clk_trion_pll_configure description
    25041029389b zram: do not lookup algorithm in backends table
    50de5045815e uacce: Handle parent device removal or parent driver module rmmod
    17d58499dc9c clk: qcom: ipq8074: dont disable gcc_sleep_clk_src
    348274a6bb7f vboxguest: Do not use devm for irq
    b9c31d4ae9be usb: dwc2: gadget: remove D+ pull-up while no vbus with usb-role-switch
    fbdbd61a36d8 usb: renesas: Fix refcount leak bug
    0fc62bbc9531 usb: host: ohci-ppc-of: Fix refcount leak bug
    4d6bab8d366a scsi: ufs: ufs-mediatek: Fix the timing of configuring device regulators
    35c3ec7d7a51 clk: ti: Stop using legacy clkctrl names for omap4 and 5
    00c274bc5bfa drm/meson: Fix overflow implicit truncation warnings
    b01d6bfdf2e4 irqchip/tegra: Fix overflow implicit truncation warnings
    49968090f921 PCI: aardvark: Fix reporting Slot capabilities on emulated bridge
    fb76cdd21662 usb: gadget: uvc: call uvc uvcg_warn on completed status instead of uvcg_info
    de6aa7abfebf usb: gadget: uvc: calculate the number of request depending on framesize
    8e142744f0e9 usb: cdns3: fix random warning message when driver load
    c3c1dbad3a2d usb: cdns3 fix use-after-free at workaround 2
    08c0a77b2aec platform/chrome: cros_ec_proto: don't show MKBP version if unsupported
    da56759a4a35 PCI: Add ACS quirk for Broadcom BCM5750x NICs
    6fc955b58acf HID: multitouch: new device class fix Lenovo X12 trackpad sticky
    57b5be2bd1e0 KVM: arm64: Reject 32bit user PSTATE on asymmetric systems
    cb332a666e3f KVM: arm64: Treat PMCR_EL1.LC as RES1 on asymmetric systems
    c682fb70a7df net: qrtr: start MHI channel after endpoit creation
    98e28de472ef drm/sun4i: dsi: Prevent underflow when computing packet sizes
    fe71d84c1a6c drm/meson: Fix refcount bugs in meson_vpu_has_available_connectors()
    6ee1310f4d14 ASoC: SOF: Intel: hda: Fix potential buffer overflow by snprintf()
    3142b5f09e55 ASoC: SOF: Intel: hda: Define rom_status_reg in sof_intel_dsp_desc
    88db4a22d954 drm/imx/dcss: get rid of HPD warning message
    1c7e569c0ece tracing/eprobes: Fix reading of string fields
    830426469f77 gcc-plugins: Undefine LATENT_ENTROPY_PLUGIN when plugin disabled for a file
    a2cafe242874 kbuild: fix the modules order between drivers and libs
    8ee44abe4cae igb: Add lock to avoid data race
    471295311960 stmmac: intel: Add a missing clk_disable_unprepare() call in intel_eth_pci_remove()
    334554aab154 fec: Fix timer capture timing in `fec_ptp_enable_pps()`
    c56e1fcb3091 i40e: Fix to stop tx_timeout recovery if GLOBR fails
    bd1fd0a02e9a regulator: pca9450: Remove restrictions for regulator-name
    09e512a659e4 i2c: imx: Make sure to unregister adapter on remove()
    b4ac11967e8c ice: Ignore EEXIST when setting promisc mode
    e84c6321f357 net: dsa: sja1105: fix buffer overflow in sja1105_setup_devlink_regions()
    caa80c1f8316 net: dsa: don't warn in dsa_port_set_state_now() when driver doesn't support it
    b0672895d8be net: genl: fix error path memory leak in policy dumping
    232fab59a65a net: dsa: felix: fix ethtool 256-511 and 512-1023 TX packet counters
    29c5956061c9 net: dsa: microchip: ksz9477: fix fdb_dump last invalid entry
    ffb155944333 net: fix potential refcount leak in ndisc_router_discovery()
    c7118a579106 net: moxa: pass pdev instead of ndev to DMA functions
    a44a1a14211d mlxsw: spectrum: Clear PTP configuration after unregistering the netdevice
    dd236b62d25e net: dsa: mv88e6060: prevent crash on an unused port
    c0434f0e0586 net/sunrpc: fix potential memory leaks in rpc_sysfs_xprt_state_change()
    dd32ea395658 spi: meson-spicc: add local pow2 clock ops to preserve rate between messages
    1d9e75c3d8cd powerpc/pci: Fix get_phb_number() locking
    e58d1a96e93b netfilter: nf_tables: check NFT_SET_CONCAT flag if field_count is specified
    7ac21b920ee6 netfilter: nf_tables: disallow NFT_SET_ELEM_CATCHALL and NFT_SET_ELEM_INTERVAL_END
    0df32f45be40 netfilter: nf_tables: NFTA_SET_ELEM_KEY_END requires concat and interval flags
    46f64e6325ee netfilter: nf_tables: validate NFTA_SET_ELEM_OBJREF based on NFT_SET_OBJECT flag
    8a6775ede639 netfilter: nf_tables: really skip inactive sets when allocating name
    b59bee8b05b0 netfilter: nf_tables: possible module reference underflow in error path
    3be4d59808bb netfilter: nf_tables: disallow NFTA_SET_ELEM_KEY_END with NFT_SET_ELEM_INTERVAL_END flag
    81dcb3b80475 fs/ntfs3: uninitialized variable in ntfs_set_acl_ex()
    8a38a73cb406 netfilter: nf_tables: use READ_ONCE and WRITE_ONCE for shared generation id access
    cacdddfefe8d ASoC: codec: tlv320aic32x4: fix mono playback via I2S
    18b5a57e7d96 ASoC: tas2770: Fix handling of mute/unmute
    8eab21065492 ASoC: tas2770: Drop conflicting set_bias_level power setting
    0a63bc250cc1 ASoC: tas2770: Allow mono streams
    480bf1e299a4 ASoC: tas2770: Set correct FSYNC polarity
    b318b9dd2ac6 ASoC: SOF: debug: Fix potential buffer overflow by snprintf()
    743dc4377bba iavf: Fix reset error handling
    dab6b551f5ba iavf: Fix adminq error handling
    8af269e5bdf4 nios2: add force_successful_syscall_return()
    c9f78def8856 nios2: restarts apply only to the first sigframe we build...
    3bee7b77d917 nios2: fix syscall restart checks
    f794d1fe6e52 nios2: traced syscall does need to check the syscall number
    80cae5d810d2 nios2: don't leave NULLs in sys_call_table[]
    35d5fd70e8c8 nios2: page fault et.al. are *not* restartable syscalls...
    c293e8abc09e fs/ntfs3: Fix missing i_op in ntfs_read_mft
    efdcf4df7a36 fs/ntfs3: Do not change mode if ntfs_set_ea failed
    78e4aebc35b3 fs/ntfs3: Fix double free on remount
    8feb84857915 fs/ntfs3: Don't clear upper bits accidentally in log_replay()
    8e8e1a84dac7 fs/ntfs3: Fix NULL deref in ntfs_update_mftmirr
    ecda80a345ca fs/ntfs3: Fix using uninitialized value n when calling indx_read
    69979b5e308f dpaa2-eth: trace the allocated address instead of page struct
    f39b424b4301 perf tests: Fix Track with sched_switch test for hybrid case
    5958ef867b9d perf parse-events: Fix segfault when event parser gets an error
    e8ab87549bbe perf probe: Fix an error handling path in 'parse_perf_probe_command()'
    51471b697303 geneve: fix TOS inheriting for ipv4
    a5d7ce086fe9 atm: idt77252: fix use-after-free bugs caused by tst_timer
    75b810104e40 xen/xenbus: fix return type in xenbus_file_read()
    d98b50d5b72d nfp: ethtool: fix the display error of `ethtool -m DEVNAME`
    5c21186c5f3a NTB: ntb_tool: uninitialized heap data in tool_fn_write()
    cffd1cefcdd7 tools build: Switch to new openssl API for test-libcrypto
    86ff5446b4da kbuild: dummy-tools: avoid tmpdir leak in dummy gcc
    f546faa216d0 ceph: don't leak snap_rwsem in handle_cap_grant
    3e7ee4dd1ea4 tools/vm/slabinfo: use alphabetic order when two values are equal
    d27e1834dee2 ceph: use correct index when encoding client supported features
    e49c17867c61 spi: dt-bindings: zynqmp-qspi: add missing 'required'
    b847ea541b1f spi: dt-bindings: cadence: add missing 'required'
    506fc3cab986 dt-bindings: clock: qcom,gcc-msm8996: add more GCC clock sources
    4e96aa5b46d4 dt-bindings: arm: qcom: fix MSM8994 boards compatibles
    5aa6548c0803 dt-bindings: arm: qcom: fix MSM8916 MTP compatibles
    e7a0e9ee5b12 dt-bindings: arm: qcom: fix Longcheer L8150 compatibles
    3632c642cacc dt-bindings: gpio: zynq: Add missing compatible strings
    52d8f48f85f7 vsock: Set socket state back to SS_UNCONNECTED in vsock_connect_timeout()
    e4c0428f8a6f vsock: Fix memory leak in vsock_connect()
    38b2ab9adf50 plip: avoid rcu debug splat
    133a08a3093b ipv6: do not use RT_TOS for IPv6 flowlabel
    5c9e5c44f89d mlx5: do not use RT_TOS for IPv6 flowlabel
    02b2b7372727 geneve: do not use RT_TOS for IPv6 flowlabel
    f150c1f84775 ACPI: property: Return type of acpi_add_nondev_subnodes() should be bool
    06337b9c255d octeontx2-af: Fix key checking for source mac
    dc5be2d4f928 octeontx2-af: Fix mcam entry resource leak
    f9a36fa5367e octeontx2-af: suppress external profile loading warning
    e0fe6aa19a80 octeontx2-af: Apply tx nibble fixup always
    17c3ea739979 octeontx2-pf: Fix NIX_AF_TL3_TL2X_LINKX_CFG register configuration
    0a02159ae636 Input: exc3000 - fix return value check of wait_for_completion_timeout
    a4a945641aca pinctrl: qcom: sm8250: Fix PDC map
    fed2247253dc pinctrl: sunxi: Add I/O bias setting for H6 R-PIO
    be82dc052155 pinctrl: amd: Don't save/restore interrupt status and wake status bits
    c1c7a7c950e6 pinctrl: qcom: msm8916: Allow CAMSS GP clocks to be muxed
    9272265f2f76 pinctrl: nomadik: Fix refcount leak in nmk_pinctrl_dt_subnode_to_map
    79eb8e9e38f3 dt-bindings: arm: qcom: fix Alcatel OneTouch Idol 3 compatibles
    8b7bf35d301d selftests: forwarding: Fix failing tests with old libnet
    c506c9a97120 net: bgmac: Fix a BUG triggered by wrong bytes_compl
    eb2d9dc79f5f net: bcmgenet: Indicate MAC is in charge of PHY PM
    47ac7b2f6a1f net: phy: Warn about incorrect mdio_bus_phy_resume() state
    c4d09fd1e18b devlink: Fix use-after-free after a failed reload
    d3723eab1119 virtio_net: fix memory leak inside XPD_TX with mergeable
    9721e238c24c SUNRPC: Reinitialise the backchannel request buffers before reuse
    d3c262f584df SUNRPC: Fix xdr_encode_bool()
    63e921d4edb3 sunrpc: fix expiry of auth creds
    3f16630fa23b m68k: coldfire/device.c: protect FLEXCAN blocks
    422a02a77159 net: atlantic: fix aq_vec index out of range error
    98dc8fb08299 can: j1939: j1939_session_destroy(): fix memory leak of skbs
    890aba507802 can: mcp251x: Fix race condition on receive interrupt
    6648647599e0 bpf: Check the validity of max_rdwr_access for sock local storage map iterator
    03ca12e583f1 bpf: Acquire map uref in .init_seq_private for sock{map,hash} iterator
    e51b568ea2c8 bpf: Acquire map uref in .init_seq_private for sock local storage map iterator
    2f56304a0cf9 bpf: Acquire map uref in .init_seq_private for hash map iterator
    370805f0e72b bpf: Acquire map uref in .init_seq_private for array map iterator
    18a994e0661c bpf: Don't reinit map value in prealloc_lru_pop
    41fd6cc88aaf BPF: Fix potential bad pointer dereference in bpf_sys_bpf()
    a4cf3dadd1fa NFSv4/pnfs: Fix a use-after-free bug in open
    1e9fd95c27d8 NFSv4.1: RECLAIM_COMPLETE must handle EACCES
    281c6a47416b NFSv4: Fix races in the legacy idmapper upcall
    b32780cda567 NFSv4.1: Handle NFS4ERR_DELAY replies to OP_SEQUENCE correctly
    0696115a3230 NFSv4.1: Don't decrease the value of seq_nr_highest_sent
    6aea903916c1 Documentation: ACPI: EINJ: Fix obsolete example
    bf7ebebce2c2 apparmor: Fix memleak in aa_simple_write_to_buffer()
    64103ea35773 apparmor: fix reference count leak in aa_pivotroot()
    c62f2f56e086 apparmor: fix overlapping attachment computation
    e89b95f91e63 apparmor: fix setting unconfined mode on a loaded profile
    3104c8a0dc5f apparmor: fix aa_label_asxprint return check
    a683a0d87a22 apparmor: Fix failed mount permission check error message
    31b35b689123 apparmor: fix absroot causing audited secids to begin with =
    017b0ea49262 apparmor: fix quiet_denied for file rules
    8bc5ed70ef58 can: ems_usb: fix clang's -Wunaligned-access warning
    43ae96645898 dt-bindings: usb: mtk-xhci: Allow wakeup interrupt-names to be optional
    2294f43a07ea ALSA: usb-audio: More comprehensive mixer map for ASUS ROG Zenith II
    2fb8f62ee335 tracing: Have filter accept "common_cpu" to be consistent
    dac2b60345ef tracing/probes: Have kprobes and uprobes use $COMM too
    b489aca082a2 tracing/eprobes: Have event probes be consistent with kprobes and uprobes
    a11ce7bfbdb7 tracing/eprobes: Do not hardcode $comm as a string
    ba53c21ce977 tracing/eprobes: Do not allow eprobes to use $stack, or % for regs
    0d7970e8702b tracing/perf: Fix double put of trace event when init fails
    14674e47ff49 x86/kprobes: Fix JNG/JNLE emulation
    860efae12788 cifs: Fix memory leak on the deferred close
    6379a9af7cfc btrfs: fix lost error handling when looking up extended ref on log replay
    7ac430e319e9 btrfs: reset RO counter on block group if we fail to relocate
    78f8c2370e3d btrfs: unset reloc control if transaction commit fails in prepare_to_relocate()
    d8fc9df94b88 mmc: meson-gx: Fix an error handling path in meson_mmc_probe()
    6c4541d6b881 mmc: pxamci: Fix an error handling path in pxamci_probe()
    8b7ed38c38e1 mmc: pxamci: Fix another error handling path in pxamci_probe()
    23179d5b7c39 ata: libata-eh: Add missing command name
    82a27c185544 drm/amd/display: Check correct bounds for stream encoder instances for DCN303
    76672cd326c1 drm/ttm: Fix dummy res NULL ptr deref bug
    016b71479f46 drm/nouveau: recognise GA103
    1b7e0482abd0 locking/atomic: Make test_and_*_bit() ordered on failure
    852f6a784a4b rds: add missing barrier to release_refill
    d26beb910904 x86/mm: Use proper mask when setting PUD mapping
    177bf3542009 KVM: Unconditionally get a ref to /dev/kvm module when creating a VM
    e9a6a3bd97c7 ALSA: hda/realtek: Add quirk for Clevo NS50PU, NS70PU
    5d396df4631a ALSA: info: Fix llseek return value when using callback

(From OE-Core rev: c9f8710a0f549c5fd9439a7aedf3ae715e3fdd49)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 0b9b7454269bafe33bbbfae324e7ada28f589e0f)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-09-28 08:02:10 +01:00
Bruce Ashfield
5fce24b840 linux-yocto/5.10: update to v5.10.143
Updating  to the latest korg -stable release that comprises
the following commits:

    f1101295c145 Linux 5.10.143
    71d3adbb2890 arm64: errata: add detection for AMEVCNTR01 incrementing incorrectly
    202341395ce3 hwmon: (mr75203) enable polling for all VM channels
    c9da73ae78cb hwmon: (mr75203) fix multi-channel voltage reading
    19841592aea6 hwmon: (mr75203) fix voltage equation for negative source input
    8e8dc8fc53a8 hwmon: (mr75203) update pvt->v_num and vm_num to the actual number of used sensors
    13521c94b9b1 hwmon: (mr75203) fix VM sensor allocation when "intel,vm-map" not defined
    5e17967c7ea2 iommu/amd: use full 64-bit value in build_completion_wait()
    1a2742552372 swiotlb: avoid potential left shift overflow
    586f8c8330b7 MIPS: loongson32: ls1c: Fix hang during startup
    a9453be390b6 ASoC: mchp-spdiftx: Fix clang -Wbitfield-constant-conversion
    9dacdc1d47ed ASoC: mchp-spdiftx: remove references to mchp_i2s_caps
    2ead78fbe6b5 sch_sfb: Also store skb len before calling child enqueue
    d47475d4e502 tcp: fix early ETIMEDOUT after spurious non-SACK RTO
    6a2a34484462 nvme-tcp: fix regression that causes sporadic requests to time out
    5914fa32ef1b nvme-tcp: fix UAF when detecting digest errors
    a00b1b10e0a6 RDMA/mlx5: Set local port to one when accessing counters
    e8de6cb5755e IB/core: Fix a nested dead lock as part of ODP flow
    076f2479fc5a ipv6: sr: fix out-of-bounds read when setting HMAC data.
    047e66867eb6 RDMA/siw: Pass a pointer to virt_to_page()
    0f1e7977e1f2 xen-netback: only remove 'hotplug-status' when the vif is actually destroyed
    342d77769a6c i40e: Fix kernel crash during module removal
    9d11d06e50bb ice: use bitmap_free instead of devm_kfree
    22922da7373c tipc: fix shift wrapping bug in map_get()
    2ee85ac1b29d sch_sfb: Don't assume the skb is still around after enqueueing to child
    63677a09238a afs: Use the operation issue time instead of the reply time for callbacks
    fbbd5d05ea63 rxrpc: Fix an insufficiently large sglist in rxkad_verify_packet_2()
    6ccbb74801bb ALSA: usb-audio: Register card again for iface over delayed_register option
    1d29a63585b3 ALSA: usb-audio: Inform the delayed registration more properly
    e12ce30fe593 netfilter: nf_conntrack_irc: Fix forged IP logic
    910891a2a44c netfilter: nf_tables: clean up hook list when offload flags check fails
    908180f633d0 netfilter: br_netfilter: Drop dst references before setting.
    7d29f2bdd167 ARM: dts: at91: sama5d2_icp: don't keep vdd_other enabled all the time
    0796953300f5 ARM: dts: at91: sama5d27_wlsom1: don't keep ldo2 enabled all the time
    360dd120eb11 ARM: dts: at91: sama5d2_icp: specify proper regulator output ranges
    6bbef2694a06 ARM: dts: at91: sama5d27_wlsom1: specify proper regulator output ranges
    e198c0857032 RDMA/hns: Fix wrong fixed value of qp->rq.wqe_shift
    b2e82e325a84 RDMA/hns: Fix supported page size
    6dc0251638a4 soc: brcmstb: pm-arm: Fix refcount leak and __iomem leak bugs
    e9ea271c2e43 RDMA/cma: Fix arguments order in net device validation
    465eecd2b3a4 tee: fix compiler warning in tee_shm_register()
    75c961d01199 regulator: core: Clean up on enable failure
    bb4bee3eca78 ARM: dts: imx6qdl-kontron-samx6i: remove duplicated node
    015c2ec053f3 smb3: missing inode locks in punch hole
    98127f140bc4 cifs: remove useless parameter 'is_fsctl' from SMB2_ioctl()
    dee1e2b18cf5 cgroup: Fix threadgroup_rwsem <-> cpus_read_lock() deadlock
    bfbacc2ef7b5 cgroup: Elide write-locking threadgroup_rwsem when updating csses on an empty subtree
    a5620d3e0cf9 scsi: lpfc: Add missing destroy_workqueue() in error path
    ea10a652ad2a scsi: mpt3sas: Fix use-after-free warning
    de572edecc29 drm/i915: Implement WaEdpLinkRateDataReload
    be01f1c98875 nvmet: fix a use-after-free
    68f22c80c181 debugfs: add debugfs_lookup_and_remove()
    ab60010225ce kprobes: Prohibit probes in gate area
    6123bec8480d ALSA: usb-audio: Fix an out-of-bounds bug in __snd_usb_parse_audio_interface()
    ab730d3c4491 ALSA: aloop: Fix random zeros in capture data when using jiffies timer
    39a90720f3ab ALSA: emu10k1: Fix out of bounds access in snd_emu10k1_pcm_channel_alloc()
    dfb27648eea5 drm/amdgpu: mmVM_L2_CNTL3 register not initialized correctly
    2078e326b64e fbdev: chipsfb: Add missing pci_disable_device() in chipsfb_pci_init()
    9d040a629e7e net/core/skbuff: Check the return value of skb_copy_bits()
    43b9af72751a arm64: cacheinfo: Fix incorrect assignment of signed error value to unsigned fw_level
    96d206d0a14e parisc: Add runtime check to prevent PA2.0 kernels on PA1.x machines
    44739b5aae3a parisc: ccio-dma: Handle kmalloc failure in ccio_init_resources()
    826b46fd5974 drm/radeon: add a force flush to delay work when radeon
    04102568671e drm/amdgpu: Check num_gfx_rings for gfx v9_0 rb setup.
    c19656cd951a drm/amdgpu: Move psp_xgmi_terminate call from amdgpu_xgmi_remove_device to psp_hw_fini
    67bf86ff81fe drm/gem: Fix GEM handle release errors
    a175aed83eb4 scsi: megaraid_sas: Fix double kfree()
    004e26ef056c scsi: qla2xxx: Disable ATIO interrupt coalesce for quad port ISP27XX
    a14f1799ce37 Revert "mm: kmemleak: take a full lowmem check in kmemleak_*_phys()"
    13c8f561be38 fs: only do a memory barrier for the first set_buffer_uptodate()
    2946d2ae5ace wifi: iwlegacy: 4965: corrected fix for potential off-by-one overflow in il4965_rs_fill_link_cmd()
    918d9c4a4bdf efi: capsule-loader: Fix use-after-free in efi_capsule_write
    94f0f30b2d9d efi: libstub: Disable struct randomization
    eb75efdec8dd tty: n_gsm: avoid call of sleeping functions from atomic context
    fb6cadd2a30f tty: n_gsm: initialize more members at gsm_alloc_mux()
    186cb020bd3a xen-blkfront: Cache feature_persistent value before advertisement
    d3d885507b52 NFSD: Fix verifier returned in stable WRITEs
    281e81a5e2b2 Linux 5.10.142
    2058aab4e306 USB: serial: ch341: fix disabled rx timer on older devices
    2a4c619a87dd USB: serial: ch341: fix lost character on LCR updates
    06a84bda0a08 usb: dwc3: disable USB core PHY management
    451fa90150f2 usb: dwc3: qcom: fix use-after-free on runtime-PM wakeup
    8984ca41de16 usb: dwc3: fix PHY disable sequence
    cb2718936022 mmc: core: Fix UHS-I SD 1.8V workaround branch
    7f73a9dea009 btrfs: harden identification of a stale device
    3c63a22d0243 drm/i915/glk: ECS Liva Q2 needs GLK HDMI port timing quirk
    1079d095725a ALSA: seq: Fix data-race at module auto-loading
    f19a209f6156 ALSA: seq: oss: Fix data-race for max_midi_devs access
    7565c1503074 ALSA: hda/realtek: Add speaker AMP init for Samsung laptops with ALC298
    ab9f890377d1 net: mac802154: Fix a condition in the receive path
    d71a1c9fce18 net: Use u64_stats_fetch_begin_irq() for stats fetch.
    685f4e56717e ip: fix triggering of 'icmp redirect'
    4abc8c07a065 wifi: mac80211: Fix UAF in ieee80211_scan_rx()
    dd649b49219a wifi: mac80211: Don't finalize CSA in IBSS mode if state is disconnected
    742e222dd556 driver core: Don't probe devices after bus_type.match() probe deferral
    6202637fdef0 usb: gadget: mass_storage: Fix cdrom data transfers on MAC-OS
    abe3cfb7a7c8 USB: core: Prevent nested device-reset calls
    b0d4993c4baa s390: fix nospec table alignments
    0361d50e86c0 s390/hugetlb: fix prepare_hugepage_range() check for 2 GB hugepages
    b9097c5e107d usb-storage: Add ignore-residue quirk for NXP PN7462AU
    5f0d11796aa5 USB: cdc-acm: Add Icom PMR F3400 support (0c26:0020)
    d608c131df99 usb: dwc2: fix wrong order of phy_power_on and phy_init
    95791d51f7af usb: typec: altmodes/displayport: correct pin assignment for UFP receptacles
    89b01a88ef7d USB: serial: option: add support for Cinterion MV32-WA/WB RmNet mode
    7f1f17671517 USB: serial: option: add Quectel EM060K modem
    efcc3e1e6a5a USB: serial: option: add support for OPPO R11 diag port
    e547c07c2848 USB: serial: cp210x: add Decagon UCA device id
    5a603f4c1273 xhci: Add grace period after xHC start to prevent premature runtime suspend.
    587f793c64d9 media: mceusb: Use new usb_control_msg_*() routines
    07fb6b10b64a thunderbolt: Use the actual buffer in tb_async_error()
    f210912d1aa9 xen-blkfront: Advertise feature-persistent as user requested
    aa45c507037a xen-blkback: Advertise feature-persistent as user requested
    47a73e5e6ba4 mm: pagewalk: Fix race between unmap and page walker
    5d0d46e6255a xen/grants: prevent integer overflow in gnttab_dma_alloc_pages()
    eb0c614c426c KVM: x86: Mask off unsupported and unknown bits of IA32_ARCH_CAPABILITIES
    7efcbac55aad gpio: pca953x: Add mutex_lock for regcache sync in PM
    517dba798793 hwmon: (gpio-fan) Fix array out of bounds access
    a971343557ff clk: bcm: rpi: Add missing newline
    fcae47b2d23c clk: bcm: rpi: Prevent out-of-bounds access
    8c90a3e0d382 clk: bcm: rpi: Use correct order for the parameters of devm_kcalloc()
    00d8bc0c16ed clk: bcm: rpi: Fix error handling of raspberrypi_fw_get_rate
    e32982115d48 Input: rk805-pwrkey - fix module autoloading
    e2945f936cc4 clk: core: Fix runtime PM sequence in clk_core_unprepare()
    4ff599df312f Revert "clk: core: Honor CLK_OPS_PARENT_ENABLE for clk gate ops"
    c0f0ed9ef9b6 clk: core: Honor CLK_OPS_PARENT_ENABLE for clk gate ops
    5f1aee7f05d8 drm/i915/reg: Fix spelling mistake "Unsupport" -> "Unsupported"
    9629f2dfdb1d binder: fix UAF of ref->proc caused by race condition
    08fa8cb6df88 USB: serial: ftdi_sio: add Omron CS1W-CIF31 device id
    5cf2a57c7a01 misc: fastrpc: fix memory corruption on open
    c99bc901d5eb misc: fastrpc: fix memory corruption on probe
    30fd0e23e373 iio: adc: mcp3911: use correct formula for AD conversion
    89aa443437c6 iio: ad7292: Prevent regulator double disable
    b271090eea38 Input: iforce - wake up after clearing IFORCE_XMIT_RUNNING flag
    b202400c9c9e tty: serial: lpuart: disable flow control while waiting for the transmit engine to complete
    989201bb8c00 vt: Clear selection before changing the font
    7fd8d33adbba powerpc: align syscall table for ppc32
    19e3f69d1980 staging: rtl8712: fix use after free bugs
    6ccd69141b9f serial: fsl_lpuart: RS485 RTS polariy is inverse
    e416fe7f16c1 net/smc: Remove redundant refcount increase
    d73b89c3b3f7 Revert "sch_cake: Return __NET_XMIT_STOLEN when consuming enqueued skb"
    f3d1554d0f67 tcp: annotate data-race around challenge_timestamp
    870b6a15619c sch_cake: Return __NET_XMIT_STOLEN when consuming enqueued skb
    1b6666964ca1 kcm: fix strp_init() order and cleanup
    406d554844cc ethernet: rocker: fix sleep in atomic context bug in neigh_timer_handler
    44dfa645895a net/sched: fix netdevice reference leaks in attach_default_qdiscs()
    699d82e9a6db net: sched: tbf: don't call qdisc_put() while holding tree lock
    c0cb63ee2e22 Revert "xhci: turn off port power in shutdown"
    6855efbaf54a wifi: cfg80211: debugfs: fix return type in ht40allow_map_read()
    ddcb56e84130 ALSA: hda: intel-nhlt: Correct the handling of fmt_config flexible array
    9276eb98cd08 ALSA: hda: intel-nhlt: remove use of __func__ in dev_dbg
    23a29932715c ieee802154/adf7242: defer destroy_workqueue call
    c5f975e3ebfa bpf, cgroup: Fix kernel BUG in purge_effective_progs
    e6aeb8be8571 iio: adc: mcp3911: make use of the sign bit
    b69e05b1e830 platform/x86: pmc_atom: Fix SLP_TYPx bitfield mask
    f040abf62e62 drm/msm/dsi: Fix number of regulators for SDM660
    43e523a4070e drm/msm/dsi: Fix number of regulators for msm8996_dsi_cfg
    1487e8fc16f7 drm/msm/dp: delete DP_RECOVERED_CLOCK_OUT_EN to fix tps4
    631fbefd8777 drm/msm/dsi: fix the inconsistent indenting

(From OE-Core rev: eee473e1442b427ca49e7717991cdf4cc6b2fd87)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-09-28 08:02:10 +01:00
Bruce Ashfield
c3047eb4c7 linux-yocto/5.10: update to v5.10.141
Updating  to the latest korg -stable release that comprises
the following commits:

    0b8e37cbaa76 Linux 5.10.141
    bdc786d737ec net: neigh: don't call kfree_skb() under spin_lock_irqsave()
    4931af31c402 net/af_packet: check len when min_header_len equals to 0
    64f6da455b66 xfs: revert "xfs: actually bump warning counts when we send warnings"
    d34798d846d7 xfs: fix soft lockup via spinning in filestream ag selection loop
    f168801da95f xfs: fix overfilling of reserve pool
    72a259bdd50d xfs: always succeed at setting the reserve pool size
    cb41f22df3ec xfs: remove infinite loop when reserving free block pool
    28d8d2737e82 io_uring: disable polling pollfree files
    744b0d308070 kprobes: don't call disarm_kprobe() for disabled kprobes
    8c70cce89231 lib/vdso: Mark do_hres_timens() and do_coarse_timens() __always_inline()
    6ba9e8fb47f6 netfilter: conntrack: NF_CONNTRACK_PROCFS should no longer default to y
    afa169f79d47 drm/amdgpu: Increase tlb flush timeout for sriov
    f08a3712bac8 drm/amd/display: Fix pixel clock programming
    60d522f31707 drm/amd/pm: add missing ->fini_microcode interface for Sienna Cichlid
    f2b7b8b1c413 s390/hypfs: avoid error message under KVM
    c35adafe42bd neigh: fix possible DoS due to net iface start/stop loop
    3c1dfeaeb3b4 drm/amd/display: clear optc underflow before turn off odm clock
    4e5e67b13a04 drm/amd/display: For stereo keep "FLIP_ANY_FRAME"
    828b2a5399aa drm/amd/display: Avoid MPC infinite loop
    9d36e2c264f7 mmc: mtk-sd: Clear interrupts when cqe off/disable
    98f401d36396 mm/rmap: Fix anon_vma->degree ambiguity leading to double-reuse
    6204bf78b2a9 bpf: Don't redirect packets with invalid pkt_len
    dbd8c8fc6048 ftrace: Fix NULL pointer dereference in is_ftrace_trampoline when ftrace is dead
    8fc778ee2fb2 fbdev: fb_pm2fb: Avoid potential divide by zero error
    61cc798591a3 net: fix refcount bug in sk_psock_get (2)
    7e2fa7922658 HID: hidraw: fix memory leak in hidraw_release()
    bacb37bdc2a2 media: pvrusb2: fix memory leak in pvr_probe
    872875c9ecf8 udmabuf: Set the DMA mask for the udmabuf device (v2)
    dc815761948a HID: steam: Prevent NULL pointer dereference in steam_{recv,send}_report
    412b844143e3 Revert "PCI/portdrv: Don't disable AER reporting in get_port_device_capability()"
    38267d266336 Bluetooth: L2CAP: Fix build errors in some archs
    ad697ade5939 kbuild: Fix include path in scripts/Makefile.modpost
    b9feeb610099 s390/mm: do not trigger write fault when vma does not allow VM_WRITE
    0dea6b3e22c6 crypto: lib - remove unneeded selection of XOR_BLOCKS
    e5796ff9acc5 x86/nospec: Fix i386 RSB stuffing
    adee8f3082b0 x86/nospec: Unwreck the RSB stuffing
    895428ee124a mm: Force TLB flush for PFNMAP mappings before unlink_file_vma()
    18ed766f3642 Linux 5.10.140
    e89798071784 bpf: Don't use tnum_range on array range checking for poke descriptors
    46fcb0fc884d scsi: storvsc: Remove WQ_MEM_RECLAIM from storvsc_error_wq
    8d5c106fe216 scsi: ufs: core: Enable link lost interrupt
    c0ba9aa95bf7 perf/x86/intel/uncore: Fix broken read_counter() for SNB IMC PMU
    5a768c977085 perf python: Fix build when PYTHON_CONFIG is user supplied
    3ddbd0907f6d blk-mq: fix io hung due to missing commit_rqs
    7ca73d0a16e3 Documentation/ABI: Mention retbleed vulnerability info file for sysfs
    189623261994 arm64: Fix match_list for erratum 1286807 on Arm Cortex-A76
    a5a58fab556b md: call __md_stop_writes in md_stop
    f68f025c7e69 Revert "md-raid: destroy the bitmap after destroying the thread"
    62af37c5cd7f mm/hugetlb: fix hugetlb not supporting softdirty tracking
    6de50db104af xen/privcmd: fix error exit of privcmd_ioctl_dm_op()
    8d5f8a4f25b1 ACPI: processor: Remove freq Qos request for all CPUs
    297ae7e87a87 s390: fix double free of GS and RI CBs on fork() failure
    c60ae878782d asm-generic: sections: refactor memory_intersects
    6858933131d0 loop: Check for overflow while configuring loop
    14cbbb9c9914 x86/bugs: Add "unknown" reporting for MMIO Stale Data
    e3e0d117294d x86/unwind/orc: Unwind ftrace trampolines with correct ORC entry
    090f0ac167a0 perf/x86/lbr: Enable the branch type for the Arch LBR by default
    d2bd18d50c1e btrfs: check if root is readonly while setting security xattr
    dcac6293f571 btrfs: add info when mount fails due to stale replace target
    b2d352ed4d48 btrfs: replace: drop assert for suspended replace
    2fc3c168d5b6 btrfs: fix silent failure when deleting root reference
    3a351b567e20 ionic: fix up issues with handling EAGAIN on FW cmds
    79e2ca7aa96e rxrpc: Fix locking in rxrpc's sendmsg
    c3a6e863d51b ixgbe: stop resetting SYSTIME in ixgbe_ptp_start_cyclecounter
    23cf93bb32e5 net: Fix a data-race around sysctl_somaxconn.
    9fcc4f406620 net: Fix data-races around sysctl_devconf_inherit_init_net.
    371a3bcf3144 net: Fix data-races around sysctl_fb_tunnels_only_for_init_net.
    c3bda708e9c4 net: Fix a data-race around netdev_budget_usecs.
    12a34d7f0463 net: Fix a data-race around netdev_budget.
    410c88314ce3 net: Fix a data-race around sysctl_net_busy_read.
    2c7dae6c4511 net: Fix a data-race around sysctl_net_busy_poll.
    8db070463e3e net: Fix a data-race around sysctl_tstamp_allow_data.
    ed48223f87c5 net: Fix data-races around sysctl_optmem_max.
    27e8ade79265 bpf: Folding omem_charge() into sk_storage_charge()
    4d4e39245dd5 ratelimit: Fix data-races in ___ratelimit().
    e73009ebc123 net: Fix data-races around netdev_tstamp_prequeue.
    3850060352f4 net: Fix data-races around netdev_max_backlog.
    b498a1b0171e net: Fix data-races around weight_p and dev_weight_[rt]x_bias.
    fb442c72db38 net: Fix data-races around sysctl_[rw]mem_(max|default).
    613fd026209e net: Fix data-races around sysctl_[rw]mem(_offset)?.
    e73a29554f0b tcp: tweak len/truesize ratio for coalesce candidates
    c08a104a8bce netfilter: nf_tables: disallow binding to already bound chain
    6301a73bd83d netfilter: nf_tables: disallow jump to implicit chain from set element
    98827687593b netfilter: nf_tables: upfront validation of data via nft_data_init()
    8790eecdea01 netfilter: bitwise: improve error goto labels
    2267d38520c4 netfilter: nft_cmp: optimize comparison for 16-bytes
    1d7d74a8240e netfilter: nf_tables: consolidate rule verdict trace call
    cd962806c449 netfilter: nftables: remove redundant assignment of variable err
    35519ce7bac9 netfilter: nft_tunnel: restrict it to netdev family
    9a67c2c89c32 netfilter: nft_osf: restrict osf to ipv4, ipv6 and inet families
    c907dfe4eaca netfilter: nf_tables: do not leave chain stats enabled on error
    ea358cfc8e25 netfilter: nft_payload: do not truncate csum_offset and csum_type
    93a46d6c72b1 netfilter: nft_payload: report ERANGE for too long offset and length
    e0f8cf01927d bnxt_en: fix NQ resource accounting during vf creation on 57500 chips
    624c30521233 netfilter: ebtables: reject blobs that don't provide all entry points
    f82a6b85e0ae net: ipvtap - add __init/__exit annotations to module init/exit funcs
    7e7e88e8b5b4 bonding: 802.3ad: fix no transmission of LACPDUs
    14ef913a9582 net: moxa: get rid of asymmetry in DMA mapping/unmapping
    faa8bf845106 net: ipa: don't assume SMEM is page-aligned
    29accb2d96e6 net/mlx5e: Properly disable vlan strip on non-UL reps
    1bfdcde723d8 ice: xsk: prohibit usage of non-balanced queue id
    d29d7108e19e ice: xsk: Force rings to be sized to power of 2
    50403ee6dadd nfc: pn533: Fix use-after-free bugs caused by pn532_cmd_timeout
    de3deadd1198 rose: check NULL rose_loopback_neigh->loopback
    e9fe1283a88c mm/smaps: don't access young/dirty bit if pte unpresent
    c7c77185fa3e mm/huge_memory.c: use helper function migration_entry_to_page()
    8be096f018e4 SUNRPC: RPC level errors should set task->tk_rpc_status
    5e49ea099850 NFSv4.2 fix problems with __nfs42_ssc_open
    23c6f25a6043 NFS: Don't allocate nfs_fattr on the stack in __nfs42_ssc_open()
    2761612bcde9 xfrm: policy: fix metadata dst->dev xmit null pointer dereference
    c5c4d4c9806d af_key: Do not call xfrm_probe_algs in parallel
    4379a10c1db7 xfrm: clone missing x->lastused in xfrm_do_migrate
    1305d7d4f35c xfrm: fix refcount leak in __xfrm_policy_check()
    c30c0f720533 kernel/sched: Remove dl_boosted flag comment
    70d560e2fb5e xfs: only bother with sync_filesystem during readonly remount
    37837bc3ef31 xfs: return errors in xfs_fs_sync_fs
    76a51e49da9c vfs: make sync_filesystem return errors from ->sync_fs
    9255a42fe7ab fs: remove __sync_filesystem
    1b9b4139d794 xfs: reject crazy array sizes being fed to XFS_IOC_GETBMAP*
    6a564bad3a64 xfs: prevent a WARN_ONCE() in xfs_ioc_attr_list()
    a5757df6128b pinctrl: amd: Don't save/restore interrupt status and wake status bits
    665433b5ddc2 kernel/sys_ni: add compat entry for fadvise64_64
    df1d445e7fcf parisc: Fix exception handler for fldw and fstw instructions
    e10bb2f2e99b audit: fix potential double free on error path from fsnotify_add_inode_mark
    665ee746071b Linux 5.10.139
    37c7f25fe2b7 kbuild: dummy-tools: avoid tmpdir leak in dummy gcc
    fa3303d70b42 Linux 5.10.138
    606fe84a4185 tee: fix memory leak in tee_shm_register()
    3527e3cbb84d bpf: Fix KASAN use-after-free Read in compute_effective_progs
    4f7286422a78 qrtr: Convert qrtr_ports from IDR to XArray
    1daa7629d2a2 PCI/ERR: Retain status from error notification
    a220ff343396 can: j1939: j1939_session_destroy(): fix memory leak of skbs
    05b9b0a7a7cd can: j1939: j1939_sk_queue_activate_next_locked(): replace WARN_ON_ONCE with netdev_warn_once()
    184e73f12cba tracing/probes: Have kprobes and uprobes use $COMM too
    3debec96cae1 netfilter: nf_tables: fix audit memory leak in nf_tables_commit
    f3d0db3b435a netfilter: nftables: fix a warning message in nf_tables_commit_audit_collect()
    059f47b3a433 MIPS: tlbex: Explicitly compare _PAGE_NO_EXEC against 0
    4b20c6136514 video: fbdev: i740fb: Check the argument of i740_calc_vclk()
    dac28dff9084 powerpc/64: Init jump labels before parse_early_param()
    52a408548ab3 smb3: check xattr value length earlier
    336936f72ab3 f2fs: fix to do sanity check on segment type in build_sit_entries()
    800ba8979111 f2fs: fix to avoid use f2fs_bug_on() in f2fs_new_node_page()
    857ccedcf569 ALSA: control: Use deferred fasync helper
    658bc550a4ec ALSA: timer: Use deferred fasync helper
    be094c417a0e ALSA: core: Add async signal helpers
    6ed3e280c7a1 powerpc/32: Don't always pass -mcpu=powerpc to the compiler
    63671b2bdf5f watchdog: export lockup_detector_reconfigure
    399d24577567 RISC-V: Add fast call path of crash_kexec()
    d881c98d0a49 riscv: mmap with PROT_WRITE but no PROT_READ is invalid
    333bdb72be13 modules: Ensure natural alignment for .altinstructions and __bug_table sections
    1e39037e44d7 mips: cavium-octeon: Fix missing of_node_put() in octeon2_usb_clocks_start
    5e034e03f416 vfio: Clear the caps->buf to NULL after free
    81939c4fbc2d tty: serial: Fix refcount leak bug in ucc_uart.c
    58275db3c7d2 lib/list_debug.c: Detect uninitialized lists
    80288883294c ext4: avoid resizing to a partial cluster size
    285447b81925 ext4: avoid remove directory when directory is corrupted
    5d8325fd1589 drivers:md:fix a potential use-after-free bug
    534e96302ad2 nvmet-tcp: fix lockdep complaint on nvmet_tcp_wq flush during queue teardown
    6d7aabdba60c md: Notify sysfs sync_completed in md_reap_sync_thread()
    f43a72d4da91 dmaengine: sprd: Cleanup in .remove() after pm_runtime_get_sync() failed
    b30aa4ff11a1 selftests/kprobe: Do not test for GRP/ without event failures
    fa45327d8c52 csky/kprobe: reclaim insn_slot on kprobe unregistration
    18f62a453b72 RDMA/rxe: Limit the number of calls to each tasklet
    9a6178c225e9 um: add "noreboot" command line option for PANIC_TIMEOUT=-1 setups
    e4c9f162193a PCI/ACPI: Guard ARM64-specific mcfg_quirks
    4be138bcd6d6 cxl: Fix a memory leak in an error handling path
    84d94619c7cf pinctrl: intel: Check against matching data instead of ACPI companion
    9ac14f973cb9 gadgetfs: ep_io - wait until IRQ finishes
    c29a4baaad38 scsi: lpfc: Prevent buffer overflow crashes in debugfs with malformed user input
    eb01065fd337 clk: qcom: clk-alpha-pll: fix clk_trion_pll_configure description
    56a4bccab9c8 zram: do not lookup algorithm in backends table
    09c90f89b2e6 uacce: Handle parent device removal or parent driver module rmmod
    6b90ab952401 clk: qcom: ipq8074: dont disable gcc_sleep_clk_src
    eddb352a807d vboxguest: Do not use devm for irq
    9a87f33f1dd0 usb: dwc2: gadget: remove D+ pull-up while no vbus with usb-role-switch
    9790a5a4f07f usb: renesas: Fix refcount leak bug
    cb5dd65e8891 usb: host: ohci-ppc-of: Fix refcount leak bug
    d86c6447ee25 clk: ti: Stop using legacy clkctrl names for omap4 and 5
    152c94c10bc4 drm/meson: Fix overflow implicit truncation warnings
    da6b37983a39 irqchip/tegra: Fix overflow implicit truncation warnings
    24304c6f9c11 usb: gadget: uvc: call uvc uvcg_warn on completed status instead of uvcg_info
    6d7ac60098b2 usb: cdns3 fix use-after-free at workaround 2
    0a0da5ef5b4e platform/chrome: cros_ec_proto: don't show MKBP version if unsupported
    e2ab7afe6665 PCI: Add ACS quirk for Broadcom BCM5750x NICs
    a1e7908f78f5 drm/sun4i: dsi: Prevent underflow when computing packet sizes
    bd6165b80232 netfilter: add helper function to set up the nfnetlink header and use it
    06fde3cd0b53 netfilter: nftables: add helper function to set the base sequence number
    e2a49009ba03 audit: log nftables configuration change events once per table
    3aa710e96747 drm/meson: Fix refcount bugs in meson_vpu_has_available_connectors()
    1bfdb1912cb3 ASoC: SOF: intel: move sof_intel_dsp_desc() forward
    823280a8fba3 locking/atomic: Make test_and_*_bit() ordered on failure
    0bd35968bcd0 gcc-plugins: Undefine LATENT_ENTROPY_PLUGIN when plugin disabled for a file
    9112826f28ee kbuild: fix the modules order between drivers and libs
    0f516dcd1456 igb: Add lock to avoid data race
    02f3642d8e65 stmmac: intel: Add a missing clk_disable_unprepare() call in intel_eth_pci_remove()
    efae1735ff15 fec: Fix timer capture timing in `fec_ptp_enable_pps()`
    668f38fb9a8c i40e: Fix to stop tx_timeout recovery if GLOBR fails
    bbd6723d7584 regulator: pca9450: Remove restrictions for regulator-name
    b5ba5c36694d i2c: imx: Make sure to unregister adapter on remove()
    19cb691faf47 ice: Ignore EEXIST when setting promisc mode
    7983e1e44cb3 net: dsa: sja1105: fix buffer overflow in sja1105_setup_devlink_regions()
    83411c9f05d5 net: genl: fix error path memory leak in policy dumping
    af1748ee51b3 net: dsa: felix: fix ethtool 256-511 and 512-1023 TX packet counters
    9900af65f2d1 net: dsa: microchip: ksz9477: fix fdb_dump last invalid entry
    7d51385ae019 net: moxa: pass pdev instead of ndev to DMA functions
    92dc64e8f591 net: dsa: mv88e6060: prevent crash on an unused port
    aa16c8c4e830 spi: meson-spicc: add local pow2 clock ops to preserve rate between messages
    a868f771ee41 powerpc/pci: Fix get_phb_number() locking
    3561f4d12fb9 netfilter: nf_tables: check NFT_SET_CONCAT flag if field_count is specified
    01b0cae6b74f netfilter: nf_tables: validate NFTA_SET_ELEM_OBJREF based on NFT_SET_OBJECT flag
    8d2fe4b9ed4e netfilter: nf_tables: really skip inactive sets when allocating name
    330f0a552bcf ASoC: tas2770: Fix handling of mute/unmute
    353cc4cb97d9 ASoC: tas2770: Drop conflicting set_bias_level power setting
    dffe1c4780e0 ASoC: tas2770: Allow mono streams
    fc57e3fde219 ASoC: tas2770: Set correct FSYNC polarity
    4fe80492d539 iavf: Fix adminq error handling
    63684e467b19 nios2: add force_successful_syscall_return()
    600ff4b13b0e nios2: restarts apply only to the first sigframe we build...
    f20bc59ccf9e nios2: fix syscall restart checks
    8d0118a027e3 nios2: traced syscall does need to check the syscall number
    1d2c89dc4837 nios2: don't leave NULLs in sys_call_table[]
    d29cdf865ae1 nios2: page fault et.al. are *not* restartable syscalls...
    76be98188203 dpaa2-eth: trace the allocated address instead of page struct
    787511c768b5 perf probe: Fix an error handling path in 'parse_perf_probe_command()'
    2c746ec91de7 geneve: fix TOS inheriting for ipv4
    a0ae122e9aec atm: idt77252: fix use-after-free bugs caused by tst_timer
    291cba960bb8 xen/xenbus: fix return type in xenbus_file_read()
    3c555a0599bf nfp: ethtool: fix the display error of `ethtool -m DEVNAME`
    76f3b97e56c6 NTB: ntb_tool: uninitialized heap data in tool_fn_write()
    7ef9f0efbeb1 tools build: Switch to new openssl API for test-libcrypto
    7ef0645ebecf kbuild: dummy-tools: avoid tmpdir leak in dummy gcc
    aee18421bda6 ceph: don't leak snap_rwsem in handle_cap_grant
    eea0d84a4fc7 tools/vm/slabinfo: use alphabetic order when two values are equal
    97cea2cb7c86 ceph: use correct index when encoding client supported features
    7a327285a7b0 dt-bindings: clock: qcom,gcc-msm8996: add more GCC clock sources
    87c4b359e343 dt-bindings: arm: qcom: fix MSM8916 MTP compatibles
    55fdefcb52c5 vsock: Set socket state back to SS_UNCONNECTED in vsock_connect_timeout()
    38ddccbda5e8 vsock: Fix memory leak in vsock_connect()
    549822e0dc9e plip: avoid rcu debug splat
    0c4542cb6ac8 ipv6: do not use RT_TOS for IPv6 flowlabel
    38b83883ce4e geneve: do not use RT_TOS for IPv6 flowlabel
    b0c3eec4ac69 ACPI: property: Return type of acpi_add_nondev_subnodes() should be bool
    cc0bfd933c81 pinctrl: qcom: sm8250: Fix PDC map
    d35d9bba2940 pinctrl: sunxi: Add I/O bias setting for H6 R-PIO
    e8f5699a82f2 pinctrl: qcom: msm8916: Allow CAMSS GP clocks to be muxed
    78d05103891d pinctrl: nomadik: Fix refcount leak in nmk_pinctrl_dt_subnode_to_map
    ab2b55bb25db net: bgmac: Fix a BUG triggered by wrong bytes_compl
    0e28678a770d devlink: Fix use-after-free after a failed reload
    faafa2a87f69 virtio_net: fix memory leak inside XPD_TX with mergeable
    fd70ebf2999b SUNRPC: Reinitialise the backchannel request buffers before reuse
    59d2e8fa4127 sunrpc: fix expiry of auth creds
    df60c534d4c5 net: atlantic: fix aq_vec index out of range error
    cc25abcec82c can: mcp251x: Fix race condition on receive interrupt
    b9d9cf88c828 bpf: Check the validity of max_rdwr_access for sock local storage map iterator
    f7d844df5e20 bpf: Acquire map uref in .init_seq_private for sock{map,hash} iterator
    d7ad7e65aa2f bpf: Acquire map uref in .init_seq_private for sock local storage map iterator
    bda6fe3ea893 bpf: Acquire map uref in .init_seq_private for hash map iterator
    30d7198da84f bpf: Acquire map uref in .init_seq_private for array map iterator
    76ffd2042438 NFSv4/pnfs: Fix a use-after-free bug in open
    f2bd1cc1fe7a NFSv4.1: RECLAIM_COMPLETE must handle EACCES
    cfde64bd315d NFSv4: Fix races in the legacy idmapper upcall
    060c111373ee NFSv4.1: Handle NFS4ERR_DELAY replies to OP_SEQUENCE correctly
    a351a73d9064 NFSv4.1: Don't decrease the value of seq_nr_highest_sent
    a408f135c4c2 Documentation: ACPI: EINJ: Fix obsolete example
    8aab4295582e apparmor: Fix memleak in aa_simple_write_to_buffer()
    2ceeb3296e9d apparmor: fix reference count leak in aa_pivotroot()
    2672f3eb7a7f apparmor: fix overlapping attachment computation
    1ac89741a2e7 apparmor: fix setting unconfined mode on a loaded profile
    4188f91c82e3 apparmor: fix aa_label_asxprint return check
    e0ca0156a786 apparmor: Fix failed mount permission check error message
    08f8128bc9f2 apparmor: fix absroot causing audited secids to begin with =
    bca03f0bbc3b apparmor: fix quiet_denied for file rules
    2b74344135fc can: ems_usb: fix clang's -Wunaligned-access warning
    7f06c7821187 ALSA: usb-audio: More comprehensive mixer map for ASUS ROG Zenith II
    5d3b02b80d93 tracing: Have filter accept "common_cpu" to be consistent
    6359850f9d8f btrfs: fix lost error handling when looking up extended ref on log replay
    79895cefa4c6 mmc: meson-gx: Fix an error handling path in meson_mmc_probe()
    13a497c3c598 mmc: pxamci: Fix an error handling path in pxamci_probe()
    4a211dd4856e mmc: pxamci: Fix another error handling path in pxamci_probe()
    a785d8417812 ata: libata-eh: Add missing command name
    fb1857c2e41a rds: add missing barrier to release_refill
    6876b4804b04 x86/mm: Use proper mask when setting PUD mapping
    b68e40b52f17 ALSA: hda/realtek: Add quirk for Clevo NS50PU, NS70PU
    e14e2fec35d3 ALSA: info: Fix llseek return value when using callback

(From OE-Core rev: 6dceeaf73b7e5c2fc58f3f5d17480ed37d64c6cc)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-09-28 08:02:10 +01:00
Richard Purdie
f160f3e7f3 vim: Upgrade 9.0.453 -> 9.0.541
Includes a fix for CVE-2022-3234.

(From OE-Core rev: 650ae29fc567e033205558fa85cc1c156d9f72a7)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit d6b54f37aa4db1457296b8981b630a49d251ceb5)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-09-28 08:02:10 +01:00
Richard Purdie
5059b26559 libpng: upgrade 1.6.37 -> 1.6.38
Changes since the previous public release (version 1.6.37)
----------------------------------------------------------

 * Added configurations and scripts for continuous integration.
 * Fixed various errors in the handling of tRNS, hIST and eXIf.
 * Implemented many stability improvements across all platforms.
 * Updated the internal documentation.

License checksum changed to to copyright year changes.

(From OE-Core rev: 5aeaace87675789a51f3ebb8814c390069dfd3be)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 47719f3195156aadc23dd4abdba38acfa3f77a1f)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-09-28 08:02:10 +01:00
Sundeep KOKKONDA
758a875932 glibc: stable 2.35 branch updates.
Below commits on glibc-2.35 development branch are updated.

f8ad66a4ca nscd: Fix netlink cache invalidation if epoll is used [BZ #29415]
9e960717e1 Apply asm redirections in wchar.h before first use
577c2fc7f3 elf: Call __libc_early_init for reused namespaces (bug 29528)
83f1d9851e NEWS: Add entry for bug 28846
cbd8685e82 socket: Check lengths before advancing pointer in CMSG_NXTHDR
4bafc4001d alpha: Fix generic brk system call emulation in __brk_call (bug 29490)
37fd2ac665 stdlib: Fixup mbstowcs NULL __dst handling. [BZ #29279]
a1ec4157bc stdlib: Remove attr_write from mbstows if dst is NULL [BZ: 29265]
813a8d0171 Update syscall lists for Linux 5.19
e200127c6c riscv: Update rv64 libm test ulps
8c172a6cb0 dlfcn: Pass caller pointer to static dlopen implementation (bug 29446)

(From OE-Core rev: 0b75397a554c51d4fdfaff1641095615d14fd4e0)

Signed-off-by: Sundeep KOKKONDA <sundeep.kokkonda@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-09-28 08:02:10 +01:00
Florin Diaconescu
f6e9746899 expat: upgrade 2.4.8 -> 2.4.9
Changelog:
=========
        Security fixes:
       #629 #640  CVE-2022-40674 -- Heap use-after-free vulnerability in
                    function doContent. Expected impact is denial of service
                    or potentially arbitrary code execution.

        Bug fixes:
            #634  MinGW: Fix mis-compilation for -D__USE_MINGW_ANSI_STDIO=0
            #614  docs: Fix documentation on effect of switch XML_DTD on
                    symbol visibility in doc/reference.html

        Other changes:
            #638  MinGW: Make fix-xmltest-log.sh drop more Wine bug output
       #596 #625  Autotools: Sync CMake templates with CMake 3.22
            #608  CMake: Migrate from use of CMAKE_*_POSTFIX to
                    dedicated variables EXPAT_*_POSTFIX to stop affecting
                    other projects
       #597 #599  Windows|CMake: Add missing -DXML_STATIC to test runners
                    and fuzzers
       #512 #621  Windows|CMake: Render .def file from a template to fix
                    linking with -DEXPAT_DTD=OFF and/or -DEXPAT_ATTR_INFO=ON
       #611 #621  MinGW|CMake: Apply MSVC .def file when linking
       #622 #624  MinGW|CMake: Sync library name with GNU Autotools,
                    i.e. produce libexpat-1.dll rather than libexpat.dll
                    by default.  Filename libexpat.dll.a is unaffected.
            #632  MinGW|CMake: Set missing variable CMAKE_RC_COMPILER in
                    toolchain file "cmake/mingw-toolchain.cmake" to avoid
                    error "windres: Command not found" on e.g. Ubuntu 20.04
       #597 #627  CMake: Unify inconsistent use of set() and option() in
                    context of public build time options to take need for
                    set(.. FORCE) in projects using Expat by means of
                    add_subdirectory(..) off Expat's users' shoulders
       #626 #641  Stop exporting API symbols when building a static library
            #644  Resolve use of deprecated "fgrep" by "grep -F"
            #620  CMake: Make documentation on variables a bit more consistent
            #636  CMake: Drop leading whitespace from a #cmakedefine line in
                    file expat_config.h.cmake
            #594  xmlwf: Fix harmless variable mix-up in function nsattcmp
  #592 #593 #610  Address Cppcheck warnings
            #643  Address Clang 15 compiler warnings
       #642 #644  Version info bumped from 9:8:8 to 9:9:8;
                    see https://verbump.de/ for what these numbers do

        Infrastructure:
       #597 #598  CI: Windows: Start covering MSVC 2022
            #619  CI: macOS: Migrate off deprecated macOS 10.15
            #632  CI: Linux: Make migration off deprecated Ubuntu 18.04 work
            #643  CI: Upgrade Clang from 14 to 15
            #637  apply-clang-format.sh: Add support for BSD find
            #633  coverage.sh: Exclude MinGW headers
            #635  coverage.sh: Fix name collision for -funsigned-char

        Special thanks to:
            David Faure
            Felix Wilhelm
            Frank Bergmann
            Rhodri James
            Rosen Penev
            Thijs Schreijer
            Vincent Torri
                 and
            Google Project Zero

(From OE-Core rev: 88e3b16da11c900b1fab09a46a94581285c01027)

Signed-off-by: Florin Diaconescu <florin.diaconescu009@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-09-28 08:02:10 +01:00
Florin Diaconescu
8f99699281 expat: upgrade 2.4.7 -> 2.4.8
Changelog:
=========
 Other changes:
     #587  pkg-config: Move "-lm" to section "Libs.private"
     #587  CMake|MSVC: Fix pkg-config section "Libs"
 #55 #582  CMake|macOS: Start using linker arguments
             "-compatibility_version <version>" and
             "-current_version <version>" in a way compatible with
             GNU Libtool
             see https://verbump.de/ for what these numbers do

 Infrastructure:
     #589  CI: Upgrade Clang from 13 to 14

 Special thanks to:
     evpobr
     Kai Pastor
     Sam James

(From OE-Core rev: f1b9dd6ed98c1dbd5f3347423f49d25914e55526)

Signed-off-by: Florin Diaconescu <florin.diaconescu009@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-09-28 08:02:10 +01:00
pgowda
7935b3f5a1 binutils: fix CVE-2022-38126
Upstream-Status: Backport [https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=e3e5ae049371a27fd1737aba946fe26d06e029b5]

(From OE-Core rev: 1c3eaf29fc21579a8e4aa8ab6c356d773f8a38f5)

Signed-off-by: pgowda <pgowda.cve@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-09-28 08:02:10 +01:00
Teoh Jay Shen
b7925d6994 inetutils: fix CVE-2022-39028 - remote DoS vulnerability in inetutils-telnetd
(From OE-Core rev: 12740b58ce1f700ff271a9891a92de6e04e325f2)

Signed-off-by: Teoh Jay Shen <jay.shen.teoh@intel.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-09-28 08:02:10 +01:00
Teoh Jay Shen
b19e6f936f go: fix CVE-2022-27664
Upstream-Status: Backport [5bc9106458]
(From OE-Core rev: fecad1b8e0f006c0186941706219d39c6c8ba5eb)

Signed-off-by: Teoh Jay Shen <jay.shen.teoh@intel.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-09-28 08:02:10 +01:00
Richard Purdie
4766aaa528 build-appliance-image: Update to kirkstone head revision
(From OE-Core rev: f7766da462905ec67bf549d46b8017be36cd5b2a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-09-28 08:02:10 +01:00
Richard Purdie
d64bef1c7d vim: Upgrade 9.0.0341 -> 9.0.0453
Includes fixes for CVE-2022-3099 and CVE-2022-3134.

(From OE-Core rev: bc2e5e961e88eb9f4d8cd1f2ee0ed56ab00774a9)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit d042923262130b6b96f703b5cd4184f659caeb92)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-09-17 19:12:55 +01:00
Alexander Kanavin
1fb96d590d lighttpd: upgrade 1.4.65 -> 1.4.66
(From OE-Core rev: ce5d088d2f8780e16f271a79d6718dc90b351855)

Signed-off-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 3163134b0f58c58aaabe4e957c30109e63b2d60f)
Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-09-17 19:12:55 +01:00
wangmy
ff64f3557e lighttpd: upgrade 1.4.64 -> 1.4.65
Changelog:
==========
  * [build] meson: fix typo in variable name
  * [build] autoconf: report if building with zstd
  * [build] meson -Dlua_version=... to specify lua ver
  * [core] avoid CCRandomGenerateBytes on MacOS <10.12 (fixes #3140)
  * [core] use diff var name w/ CCRandomGenerateBytes (fixes #3141)
  * [core] parse conf cmds with SHELL or /bin/sh
  * [core] fix HMAC with openssl 3.0
  * [mod_webdav] no COPYFILE_CLONE_FORCE on OSX <10.12 (fixes #3142)
  * [mod_deflate] fix to return 304 with If-None-Match (fixes #3143)
  * [core] Illumos epoll incompatible w/ lighttpd impl
  * [core] feature flag to allow Range w/ HTTP/1.0
  * [mod_mbedtls] set usekeysize for mbedtls 3.2.0+
  * [mod_deflate] collect mmap code
  * [mod_deflate] prototype using libdeflate w/ mmap
  * [mod_deflate] --with-libdeflate to use libdeflate
  * [mod_deflate] mark input bytes const
  * [core] sys-setjmp.[ch]
  * [mod_magnet] check lighty.result.content b4 setjmp
  * [core] include guard consistency in sys-time.h
  * [core] network_write_file_chunk_remap separate fn
  * [multiple] use new sys_setjmp_eval3() interface
  * [multiple] pedantic chunk.c checks for 0-len chunk
  * [multiple] shared code for struct chunk and mmap
  * [mod_deflate] use pread if available
  * [mod_deflate] improve loop compressing file chunk
  * [core] prep server_tag at startup for h2 resp hdr
  * [mod_magnet] defer req_env init unless needed
  * [mod_magnet] reset after error attaching content
  * [mod_magnet] lua_tointegerx() avoids raising error
  * [mod_mbedtls] use newer mbedtls 3.2.0+ interfaces
  * [mod_magnet] adjust hot path for more inlining
  * [mod_magnet] collect chk for magnet lua_State init
  * [mod_magnet] use type returned from lua_getfield()
  * [core] chunk_file_pread() to wrap pread()
  * [core] disable keep-alive if forcing HTTP/1.0 resp
  * [mod_magnet] use lua_getextraspace() to store r
  * [core] fall back to getauxval(AT_RANDOM), if avail
  * [mod_magnet] keep message handler on stack
  * [doc] update external links
  * [mod_magnet] pass lighty table index, defer pops
  * [mod_magnet] clear and reuse script-env table
  * [mod_magnet] clear stack when reloading script
  * [mod_magnet] use lua_isnoneornil() in interfaces
  * [mod_magnet] fix lighty.c.cookie_tokens()
  * [mod_magnet] fix lighty.c.urldec_query()
  * [mod_magnet] remove duplicated NULL checks
  * [mod_magnet] adjust magnet_lighty_result_get()
  * [mod_magnet] magnet_tmpbuf_acquire(),release()
  * [mod_magnet] lighty.c.quotedenc(),dec() funcs
  * [mod_magnet] fix header,content legacy table clear
  * [mod_cgi] cgi.local-redir request_reset thru fnptr
  * [core] isolate plugins_*() funcs to main server
  * [mod_wolfssl] wolfssl v5.0.0 defines DH_set0_pqg()
  * [mod_auth] save letter-case diff in require config
  * [mod_magnet] magnet_push_quoted_string shared code
  * [mod_magnet] lighty.c.header_tokens convenience fn
  * [core] fill in un.sun_path after accept() (fixes #3147)
  * [mod_extforward] adjust trust check for HTTP/2
  * [mod_proxy] adjust handling of legacy X-* headers
  * [core] permit env w/ blank value (fix regression)
  * [TLS] consistent debug.log-ssl-noise config type
  * [mod_magnet] allow removal of req_env elt via nil
  * [core] compiler workarounds for very old gcc,glibc
  * [mod_mbedtls] use newer mbedtls 3.2.0+ interfaces
  * [mod_ssi] check http_chunk_transfer_cqlen for err
  * [core] chunkqueue_steal() handle unexpected 0 len
  * [core] discard DATA from REFUSED_STREAM at h2 init
  * [multiple] WebSockets over HTTP/2 (fixes #3151)
  * [multiple] immed connect to backend for streaming
  * [core] ensure socket ready before checking connect
  * [core] reduce trace on Upgrade backend connection
  * [core] adjust when TCP_CORK used on TLS connection
  * [mod_cgi] disable input optim if might Upgrade
  * [mod_cgi] immed start CGI if Upgrade
  * [mod_wolfssl] wolfssl v5.0.0 adds ASN1_TIME_diff()
  * [mod_openssl] libressl v3.5.0 adds ASN1_TIME_diff
  * [TLS] warn if leaf cert read is inactive/expired
  * [core] stricter conformance w/ upcoming HTTP/2 rev
  * [build] -D_DEFAULT_SOURCE consistency in builds
  * [mod_extforward] support addtl IPv6 syntax w/ "[]"
  * [core] build fix for cygwin and lmingw
  * [core] short-circuit earlier parsing h2 trailers
  * [core] reformat h2.h for cleaner enum additions
  * [core] consolidate trace for log-state-handling
  * [core] request_config bitmasks for smaller struct
  * [core] prefix (=^), suffix (=$) config conditions (fixes #3153)
  * [core] tighten config parsing loop
  * [core] convert simple config cond regex to pre/sfx
  * [tests] able to run tests when built w/o pcre
  * [core] allow redirect,rewrite ext subst w/o pcre
  * [mod_sockproxy] reset http vers, avoid rare crash (fixes #3152)
  * [core] HTTP/2 PRIORITY_UPDATE frame (experimental)
  * [core] send HTTP/2 SETTINGS_NO_RFC7540_PRIORITIES
  * [core] stricter check of HTTP/2 GOAWAY frame size
  * [mod_mbedtls] use newer mbedtls 3.2.0+ interfaces
  * [mod_webdav] opt for partial PUT via copy/rename
  * [core] quiet compiler warning
  * [multiple] recognize HTTP QUERY method
  * [multiple] limit scope of socket config options
  * [core] fix config typo reading large int from str
  * [core] h2 prio sort urgency, incr, then stream id
  * [core] send Priority resp hdr w/ .css, .js re-prio
  * [multiple] reset http vers, avoid rare crash (fixes #3152)
  * [core] delay response to http auth invalid creds
  * [core] connection_state_machine_h2 only if con->h2
  * [core] default server.max-keep-alive-requests 1000
  * [mod_magnet] set script env in func first upvalue
  * [mod_magnet] rewrite lighty.r as table of userdata
  * [mod_status] con->h2 instead of r->http_version
  * [mod_setenv] cleanup user-provided hdr sloppiness
  * [core] remove func decls duplicated in plugin.h
  * [mod_status] fix counting of HTTP/2 bytes written
  * [mod_magnet] no local server port on unix domain
  * [mod_extforward] unix domain socket pedantic chks
  * [core] sketch support for abstract sockets
  * [mod_magnet] magnet_plugin_stats_table() fn
  * [mod_magnet] magnet_script_setup_global_state() fn
  * [mod_magnet] lighty.server.* table w/ new function
  * [mod_accesslog] do not double-count hdr len in %I
  * [mod_magnet] reduce magnet_env_get_id() scanning
  * [mod_magnet] tighten magnet_env_get_buffer_by_id()
  * [mod_status] reusable code for r->state strings
  * [core] reusable code for r->state strings
  * [mod_magnet] expose r->state to lua scripts
  * [mod_magnet] tighten magnet_env_set()
  * [mod_magnet] lighty.r.req_item[] accessors
  * [mod_magnet] expose r->keep_alive to lua scripts
  * [mod_magnet] lighty.c.hrtime high-resolution time
  * [mod_magnet] lighty.r.resp_body.get
  * [mod_magnet] deprecate r.req_attr["response.*]
  * [mod_magnet] separate funcs for uri_path_raw
  * [mod_magnet] lighty.c.stat high precision time
  * [mod_magnet] format multiline err traceback
  * [mod_magnet] adjust p->conf.stage checks
  * [mod_magnet] further isolate legacy API result tbl
  * [core] buffer_append_char() convenience func
  * [mod_accesslog] accesslog.escaping = "json"
  * [multiple] use buffer_append_char()
  * [mod_accesslog] remove begin/end tags from %{}t
  * [core] fix configparser_simplify_regex() comment
  * [multiple] simplify bytes_in/bytes_out accounting
  * [mod_accesslog] reorder fields in switch()
  * [core] remove unused srv->con_* counters
  * [mod_magnet] read-only access to r->server_name
  * [core] buffer_append_bs_escaped()
  * [core] buffer_append_string_c_escaped ASCII optim
  * [mod_magnet] backspace-escape encode/decode
  * [mod_status] display HTTP/2 control stream w/ reqs
  * [multiple] use preferred syntax for Content-Type
  * [doc] regenerate doc/config/conf.d/mime.conf
  * [multiple] rename status_counter -> plugin_stats
  * [core] feature-flag server.metrics-high-precision
  * [mod_magnet] quiet coverity false positive
  * [mod_wolfssl] compile fix for OpenWRT
  * [mod_webdav] If-None-Match: * on non-existent
  * [mod_magnet] r.req_body .collect .get .set .add
  * [mod_cgi] fix detection of failing error handler (fixes #3157)
  * [core] "url-invalid-utf8-reject" normalization opt
  * [mod_magnet] skip req body collect warn if modsec3
  * [build] update descriptions to remove old lua ver
  * [core] use current dir if context->basedir blank
  * [multiple] application/javascript text/javascript
  * [core] reset internal flags after graceful restart
  * [TLS] inherit ssl.engine from global scope
  * [core] avoid server.use-ipv6 warning after SIGUSR1
  * [mod_webdav] alt handling PROPFIND on collection
  * [mod_mbedtls] fix crt chain construction logic
  * [core] h2 SETTINGS_INITIAL_WINDOW_SIZE 64k (fixes #3089)
  * [core] increase session window size to 256k
  * [core] h2: avoid sending small WINDOW_UPDATE frames
  * [core] h2: avoid sending tiny DATA frames
  * [core] update cached tables with Priority header
  * [tests] test stubs for http_header.c and http_kv.c

(From OE-Core rev: da8fc1ce551be05f7745175ea52a8e7ee401b054)

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 47188fa0dc19f160085554360c81bd9f363837d5)
Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-09-17 19:12:55 +01:00
niko.mauno@vaisala.com
e2d34871f3 systemd: Add 'no-dns-fallback' PACKAGECONFIG option
systemd defines a default set of fallback DNS servers in
https://github.com/systemd/systemd/blob/v251/meson_options.txt#L328-L330

By adding a PACKAGECONFIG knob providing a convenient way to opt out,
and then adding that value to systemd's PACKAGECONFIG, the output from
runtime 'resolvectl status' command no longer contains the following
line:

  Fallback DNS Servers: 1.1.1.1#cloudflare-dns.com 8.8.8.8#dns.google 1.0.0.1#cloudflare-dns.com 8.8.4.4#dns.google 2606:4700:4700::1111#cloudflare-dns.com 2001:4860:4860::8888#dns.google 2606:4700:4700::1001#cloudflare-dns.com 2001:4860:4860::8844#dns.google

(From OE-Core rev: 2b300d6b9ec6288a99d9dacb24a86949caf99e55)

(From OE-Core rev: 71f09bc00029acb3f368244bceb1e20b02cd9129)

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>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-09-17 19:12:54 +01:00
niko.mauno@vaisala.com
c83b189cee systemd: Fix unwritable /var/lock when no sysvinit handling
Commit 8089cefed8 ("systemd: Add
PACKAGECONFIG for sysvinit") decoupled enabling of systemd's sysvinit
handling behavior behind a distinct PACKAGECONFIG feature.

This new option affects among other things the installing of
tmpfiles.d/legacy.conf, which is responsible for creating /run/lock
directory, which is pointed to by /var/lock symlink provided by
base-files package.

In case the option is not enabled, then base-files provided /var/lock
is a dangling symlink on resulting rootfs, causing problems with
certain Linux userspace components that rely on existence of writable
/var/lock directory. As an example:

  # fw_printenv
  Error opening lock file /var/lock/fw_printenv.lock

Since Filesystem Hierarchy Standard Version 3.0 states in
https://refspecs.linuxfoundation.org/FHS_3.0/fhs/ch05s09.html that

  Lock files should be stored within the /var/lock directory structure.

Ensure the /run/lock directory is always created, so that lock files
can be stored under /var/lock also when 'sysvinit' handling is
disabled.

(From OE-Core rev: 85e5ee2c35cf5778c3aefda45f526e8f6a511131)

(From OE-Core rev: d8ade58dc21d8f852c3253c8af02e00489e8802c)

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>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-09-17 19:12:54 +01:00
Steve Sakoman
32ca0ff8fa system-requirements.rst: Add Ubuntu 22.04 to list of supported distros
(From yocto-docs rev: f632dad24c39778f948014029e74db3c871d9d21)

Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-09-16 17:55:51 +01:00
Steve Sakoman
c1989b6dfb poky.conf: bump version for 4.0.4
(From meta-yocto rev: ca9c465e37b693ab768ee8e21a929d1c18956e98)

Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-09-16 17:53:23 +01:00
Anuj Mittal
040e3372ae poky.conf: add ubuntu-22.04 to tested distros
(From meta-yocto rev: 26683a6843204e2863ec5b8939188459121d6a0e)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit b058ef713f9d2e4bf8822c391a72ee64bdf5e43b)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-09-16 17:53:23 +01:00
Alexandre Belloni
a5eeb959bf runqemu: display host uptime when starting
In order to be able to debug issues on the host that have an impact on the
guest, it is useful to get the uptime of the host while starting so we can
match with the events in dmesg. Also include the uptime when cleaning up.

(From OE-Core rev: 08406e03abddc7290c0c2296aa179725a58155d3)

Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 2d96499823f7de6e16a461426491e015ba63c1ec)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-09-16 17:53:23 +01:00
Joshua Watt
baae738409 oeqa: qemurunner: Report UNIX Epoch timestamp on login
Updates the log message printed when login banner is seen in QEMU to
report the UNIX Epoch time in addition to the human readable time. This
makes it much easier and accurate to correlate logs with the guest, in
particular with the guest journalctl which prints log timestamps in
human readable format and the oeqa SSH debug logging which prints the
UNIX Epoch.

(From OE-Core rev: 2a860de611bebae2e1100380b975b7648b8560d9)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 275b6f3c8d0eeafa3902c48a49655491a89c47bc)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-09-16 17:53:23 +01:00
Kristian Amlie
5ae57d4c9b externalsrc: Don't wipe out src dir when EXPORT_FUNCTIONS is used.
When 73fa855f6a was introduced, the "cleandirs" variable flag
started applying to functions exported using EXPORT_FUNCTIONS.
The externalsrc class is supposed to remove cleandirs in order to
prevent wiping out an external src folder (home directory?), but
doesn't take the previous point into account. The result is that
cleandirs is still in effect.

To fix this, apply the cleandirs manipulation to all variables, not
just predefined ones. This is expensive, but since it executes inside
an `if externalsrc` clause, and EXTERNALSRC is usually only set for
specific single recipes, it won't affect most recipes.

Richard Purdie <richard.purdie@linuxfoundation.org> is the original
author of this patch. I just submitted it under my name for blame
purposes, and also we have been testing it a lot in my company.

This is the original discussion:
https://lists.openembedded.org/g/openembedded-core/topic/91374926

(From OE-Core rev: 70f7575bfe7e3b136125b1db7ad5549074e7fd1c)

Signed-off-by: Kristian Amlie <kristian.amlie@northern.tech>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 74ad497a55007960a4869905878e3ccbd11e4369)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-09-16 17:53:23 +01:00
Alejandro Hernandez Samaniego
26dbc1f641 rootfs.py: dont try to list installed packages for baremetal images
Theres not a rootfs for baremetal images, hence we should avoid
trying to list rootfs packages for them.

This fixes an issue where some classes (e.g. license_image) rely on
rootfs functionality when included for baremetal images even if its
nonexistent

(From OE-Core rev: e713e118b46aa0c8a5015b915a93718b7aa20a74)

Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandro@enedino.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 5a7e13f46083ce3b08aa762238c1e93b7626dda4)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-09-16 17:53:23 +01:00
Peter Kjellerstedt
2386037b33 cairo: Adapt the license information based on what is being built
If the "trace" PACKAGECONFIG is removed to disable cairo-trace (the
only part of the code licensed as GPL-3.0), we can adapt the licenses
for cairo-dbg and cairo-src so that they do not include
"GPL-3.0-or-later" and thus they can be used also when, e.g., GPL-3.0
is blacklisted in INCOMPATIBLE_LICENSE. Also drop the GPL-3.0 license
text from LIC_FILES_CHKSUM in this case.

(From OE-Core rev: 654d3542afa8082ef8ec9c34e3f27bc9f22ba2b4)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 4f0ea44c80f297d00349b7d3cf9438145aec8a74)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-09-16 17:53:23 +01:00
Peter Bergin
2355735060 rootfs-postcommands.bbclass: avoid moving ssh host keys if etc is writable
When using IMAGE_FEATURE read-only-rootfs ssh host keys are moved to volatile
storage. If the feature overlayfs-etc is used in addition to read-only-rootfs
/etc is writable and the move is not wanted. But in the case also the IMAGE_FEATURE
stateless-rootfs is used the keys will be moved as storage of keys should not
be wanted in a stateless-rootfs.

This change only takes effect in the case IMAGE_FEATURE contains read-only-rootfs.
In adddition the following cases are handled:

  IMAGE_FEATURES = "read-only-rootfs" --> ssh keys/config handled as ro root
  IMAGE_FEATURES = "read-only-rootfs overlayfs-etc" --> ssh keys/config handled as rw root
  IMAGE_FEATURES = "read-only-rootfs stateless-rootfs" --> ssh keys/config handled as ro root
  IMAGE_FEATURES = "read-only-rootfs overlayfs-etc stateless-rootfs" --> ssh keys/config handled as ro root

(From OE-Core rev: 31cff4d182faed31747d00cc82c1cf0a05a81431)

Signed-off-by: Peter Bergin <peter@berginkonsult.se>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit d2ad7aa1f2153955adc044ea4eb11c48086a01d1)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-09-16 17:53:22 +01:00
Pavel Zhukov
f604ff9de4 core-image.bbclass: Exclude openssh complementary packages
Openssh (main) package may be marked for installation via complementary
packages mechanism if sftp-server is installed
and this causes conflict with dropbear [Yocto #14858] [1].
Excluding openssh complementary packages if packagegroup-core-ssh-dropbear
is in PACKAGE_INSTALL fixes this issue.
To install openssh complementary packages in the images with
ssh-server-dropbear they may be added manually into the list because
they will be excluded from the installation even if corresonding class
(dev-pkg or dbg-pkgs) inherited.

[1]
Error:
 Problem: problem with installed package dropbear-2020.81-r0.core2_64
  - package dropbear-2020.81-r0.core2_64 conflicts with openssh provided by openssh-8.9p1-r0.core2_64
  - package openssh-8.9p1-r0.core2_64 conflicts with dropbear provided by dropbear-2020.81-r0.core2_64
  - package openssh-ptest-8.9p1-r0.core2_64 requires openssh, but none of the providers can be installed
  - conflicting requests
(try to add '--allowerasing' to command line to replace conflicting packages or '--skip-broken' to skip uninstallable packages)

(From OE-Core rev: a09725442d4b53bb9d417ef9f43b12db2545aa54)

Signed-off-by: Pavel Zhukov <pavel@zhukoff.net>
Signed-off-by: Pavel Zhukov <pavel.zhukov@huawei.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit fa08030b32c2bf77889c23f964892f46e84994a3)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-09-16 17:53:22 +01:00
Martin Jansa
5367b62d7c libxml2: Port gentest.py to Python-3
* but it still won't work well on hosts without libxml2, make
  sure to use pre-generated testapi.c in do_compile_ptest

* this is reproducible with SOURCE_DATE_EPOCH set to 0 which
  e.g. meta-updater still sets by default for DISTROs which
  use it :(, see https://github.com/uptane/meta-updater/pull/35

(From OE-Core rev: 8bf4356b1dbaf68f0e6bba3440c9fcf59a525063)

Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 178cea1593dc6e9a7eb74842615356d90d79f78f)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-09-16 17:53:22 +01:00
Khem Raj
d67a572a42 autoconf: Update K & R stype functions
This replaces the proposed patch with a backport of what got accepted upstream

(From OE-Core rev: 0edeb22a8d4f77ece938b1f0e4cc8f06c6265e6c)

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 f3e92b7cb5833f61ff13a66f03be513d97a69894)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-09-16 17:53:22 +01:00
Khem Raj
17d6955673 autoconf: Fix strict prototype errors in generated tests
This will fix issues with autoconf tests which fail due to lacking
prototypes

(From OE-Core rev: 7863774e4f436a5aefa86f7fe0d4dec6c336e8db)

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 eb477854ba230d8a8370f24880bd421607399e5a)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-09-16 17:53:22 +01:00
Richard Purdie
7c17784fcc kernel: Use consistent make flags for menuconfig
We're currently only passing in a subset of the kernel make flags to
menuconfig. Fix this to be consistent with all the other kernel
operations since these are becomming increasingly reliant on host
compilers and flags and target toolchains as well.

(From OE-Core rev: e36f3c3c7de052945edbb62bb2d6de7639360c47)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 8c616bc090d1834a21073a33209323220c05d2e5)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-09-16 17:53:22 +01:00
Richard Purdie
9df448f843 kernel: Always set CC and LD for the kernel build
It as been bothering me a bit that we don't set CC and LD consistently
for the kernel make calls and this can lead to interesting bugs as the
kernel increases in complexity. Add them to EXTRA_OEMAKE so they're
always passed in. This makes everything slightly more consistent and
less likely to break in future.

(From OE-Core rev: 0872e11ede2469a7d176c791395b139158bd22a3)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit afe8c318843e4033dcc07e4f10198df241d8e4f6)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-09-16 17:53:22 +01:00
Richard Purdie
1cee07e8e9 gcc-multilib-config: Fix i686 toolchain relocation issues
This code wasn't changing the linux.h on i686. Make the entry match that
for i586 which was correct.

This fixes problems where the wrong dynamic loader path was used by
nativesdk-gcc on i686 SDK targets by ensuring SYSTEMLIBS_DIR is replaced
by %r in the correct header files.

(From OE-Core rev: 47f6d0da703a9d25fa7dd36793ba332ae8d7ee9e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit d30eb681f41bf9e921f7f0d42747fff7a4be9229)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-09-16 17:53:22 +01:00
Alexandre Belloni
10ed98e50f ruby: drop capstone support
Upstream dropped capstone support and this also causing us
reproducibility issues.

(From OE-Core rev: fe8e54576e97ef7c4845889f3e8bb53f524c0611)

Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit d2496a904a7099ef0de818180820ad7b40843a08)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-09-16 17:53:22 +01:00
wangmy
c74ea5f844 vala: upgrade 0.56.2 -> 0.56.3
Changelog:
==========
 * Various improvements and bug fixes:
  - vala: Don't unconditionally expect ObjectType of Class [#1341]
  - vala: Make try-statement parsing more resilient [#1304]
  - vala: Avoid problems with '\' in #line directives on Windows [#1353]
  - gidlparser: Set source reference of parameters

 * Bindings:
  - atspi-2: Fix a few binding errors
  - glib-2.0: Use g_abort for GLib.Process.abort() beginning with 2.50 [#1350]
  - gtk+-3.0: Correctly unhide BindingSet.by_class to avoid Version attribute

(From OE-Core rev: 90b0762aff8b11e781f2d492fd7af7707bc623a1)

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 29d2f8241312a7f0bda39805d41cd6789d369ce9)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-09-16 17:53:22 +01:00
wangmy
4b608efe9a cracklib: upgrade 2.9.7 -> 2.9.8
v2.9.8 Correct parameter types to Debug() calls
       rules: Drop using register keyword
       remove needless use of %defattr per fedora project
       add exec perms
       translation updates
       Use what's in the build environment and use a current autoconf
       util/Makefile.am: fix link with lintl
       Force grep to treat the input as text when formatting word files

0001-rules-Drop-using-register-keyword.patch
0002-rules-Correct-parameter-types-to-Debug-calls.patch
removed since they're included in 2.9.8

(From OE-Core rev: db2c661fa421ce18d78b022c63be99de493184ee)

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 7477178a4c60c02c2d1638746148dd3d2941dc28)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-09-16 17:53:22 +01:00
Michael Opdenacker
18d0f1011c bitbake: bitbake-user-manual: npm fetcher: improve description of SRC_URI format
Using the term "Parameter" which is consistent with the
description of SRC_URI parameters in the following text.

(Bitbake rev: ac576d6fad6bba0cfea931883f25264ea83747ca)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Reported-by: Quentin Schulz <foss@0leil.net>
Reviewed-by: Quentin Schulz <foss+yocto@0leil.net>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
(cherry picked from commit 87e42f1202162152c779ccc8bbd06f88f0bdab96)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-09-16 17:53:22 +01:00
Jose Quaresma
6253950998 bitbake: bb/utils: movefile: use the logger for printing
(Bitbake rev: a5fff68c8c83fed52dae0bdcf2c1713566a5a53e)

Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 274b2d7a2fa0b43b0b542cb5471ff832e692ea93)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-09-16 17:53:22 +01:00
Jose Quaresma
fe2c27108a bitbake: bb/utils: remove: check the path again the expand python glob
When we call the remove with recurse=True we first check if the
remove operation is safe in _check_unsafe_delete_path.
But the check is been done on the path instaed of the expanded
python glog.

(Bitbake rev: 280ea5a776436eab7e664fccea2df2e7ce47e586)

Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 7236488b898309ec5f1880936ddae22a28ccf5d3)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-09-16 17:53:22 +01:00
Jose Quaresma
957522d50f bitbake: bitbake: bitbake-user-manual: hashserv can be accessed on a dedicated domain
(Bitbake rev: b7967aa086ee3f3716a17431af0eef05452fb46f)

Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit b171aa45fb8518dcfbba315b303a4fe9bf2180c6)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-09-16 17:53:22 +01:00
Richard Purdie
9c26cd5d70 bitbake: fetch2: Ensure directory exists before creating symlink
If the mirrors code is trying to create a symlink and the
parent directory doesn't exist, as might be the case for sstate
mirrors where the fetch is into a subdir, it can silently fail.

Ensure the directory exists in this case to avoid issues.

(Bitbake rev: ff3afb1c1bb236c4a52c62a74f2917071e0af55b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit eff16e474ee7dc49ae433420a4c8d15d3314a618)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-09-16 17:53:22 +01:00
Richard Purdie
34ce187491 bitbake: ConfHandler/BBHandler: Improve comment error messages and add tests
Currently if you trigger one of the comment errors, the newline characters
are stripped and the line numbers are incorrect. In one case it prints
the empty line which is also unhelpful.

Rework the code around these errors so the line numbers are correct
and the lines in question are more clearly displayed complete with newlines
so the user can more clearly see the error.

I also added a couple of simplistic test cases to ensure that errors
are raised by the two known comment format errors.

[YOCTO #11904]

(Bitbake rev: 01d27562c11d4b05eb30c7f9fefd58b6599fdd15)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 712da71b24445c814d79a206ce26188def8fce0a)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-09-16 17:53:22 +01:00
Gennaro Iorio
43e98fb455 bitbake: fetch2: gitsm: fix incorrect handling of git submodule relative urls
As specified by git submodule manual relative urls can start either
with '..' or './', second case was incorrectly managed leading to an
interpretation of urls starting with './' as absoulte urls.

(Bitbake rev: d828cd2a16ddf4f084e61ffe44471483e132653a)

Signed-off-by: Gennaro Iorio <gennaro.iorio@schindler.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 4a0bd3bcd1f7fc25364df8bbf185ff64881c015b)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-09-16 17:53:22 +01:00
Michael Opdenacker
e3fd45f0cf bitbake: doc: bitbake-user-manual: document npm and npmsw fetchers
This addresses bug [YOCTO #10098]

(Bitbake rev: 04fdbca2005702e79d69aa56861a085f845178e2)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit cca7999586317435d79bf53df4359cdd8bfadff4)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-09-16 17:53:22 +01:00
Michael Opdenacker
7fe30a0445 bitbake: doc: bitbake-user-manual: add explicit target for crates fetcher
Like in other sections describing fetchers

(Bitbake rev: bcbe78bbaea0312d61f31f4a51b2bc9e672f1cb7)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit c9bab35f6aecbf85ee1a19a7b70e15a80b42471f)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-09-16 17:53:22 +01:00
Jacob Kroon
df626c9cc0 bitbake: bitbake-user-manual: Correct description of the ??= operator
Stating that the assignment is done at the end of parsing is misleading.
The weak default value is the value which a variable will expand to if no value
has been assigned to it using any of the assignment operators.

(Bitbake rev: f28dbdf80a7fc2febca227f8cb2b474f5058281e)

Signed-off-by: Jacob Kroon <jacob.kroon@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 8189f58d0449d16f162b6e8d98c4e5edc6bff875)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-09-16 17:53:22 +01:00
Ola x Nilsson
f58e385b99 bitbake: ConfHandler: Remove lingering close
The f.close() statement should have been removed in
459ad524756a3f9b50feeedf31e33502dceae8d5.

(Bitbake rev: 23221378ff0d8c6908d75d1be3219aae0beee406)

Signed-off-by: Ola x Nilsson <ola.x.nilsson@axis.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 9fc1bab6b7e3c0fca3ddec4bc8c7763d2aff8bab)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-09-16 17:53:22 +01:00
Mikko Rapeli
870d4c950b bitbake: event.py: ignore exceptions from stdout and sterr operations in atexit
When atexit functions run, stdout and stderr operations may fail, e.g.
when output is piped to less but has been exited by the user.
This removes error print from output of "bitbake -e sqlite3 | less"
if user presses "q" before bitbake has finished processing:

[Errno 32] Broken pipeError in atexit._run_exitfuncs:
Traceback (most recent call last):
  File "/home/builder/src/poky/bitbake/lib/bb/event.py", line 135, in print_ui_queue
    sys.stdout.flush()

(Bitbake rev: 65cee11967f60c74fa89bb6d72f32135968a6b87)

Signed-off-by: Mikko Rapeli <mikko.rapeli@bmw.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 35167536c163eb6b7653cbcaad9f65b834d3e2f8)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-09-16 17:53:22 +01:00
Richard Purdie
a18a014511 bitbake: cooker: Drop sre_constants usage
As reported by Martin Jansa <Martin.Jansa@gmail.com>:

bitbake/lib/bb/cooker.py:16: DeprecationWarning: module 'sre_constants' is deprecated
  import sre_constants

it's deprecated since 3.11 with:

  https://github.com/python/cpython/issues/91308

The correct replacement for our usage is re.error so use that instead.

(Bitbake rev: c98007217b8e40f1abfdcba709185dc5ddbcd0c2)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 3c0cd401472ffee06d5a93bdba566cb033851fcf)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-09-16 17:53:22 +01:00
Richard Purdie
74883eca07 bitbake: runqueue: Fix unihash cache mismatch issues
Very occasionally we see errors in eSDK testing on the autobuilder where the task
hashes in the eSDK don't match what was just built. I was able to inspect one of
these build directories and noticed that the bb_unihashes.dat file in the eSDK
was zero sized. Whilst inspecting the code to understand the cause, I noticed that
updated hashes are not saved out in subsequent updates of the values in the rehash
process.

Add a missing sync call to ensure this happens.

(Bitbake rev: 81a6f490dd1f5f669c75cd2ceb1105ce7a09c6e4)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 7912dabbcf444a3c3d971cca4a944a8b931e301b)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-09-16 17:53:22 +01:00
Enrico Scholz
b53aff215e npm: use npm_registry to cache package
With nodejs 16, the simple 'npm cache add' approach does not work
anymore because its fetcher implementation downloads also meta
information from the registry.

We have to generate these information and add them to the cache.
There is no direct support in 'npm' for task so we have to implement
it manually.

This implementation consists of a openembedded python module (in
oe-core) and a nodejs version specific helper (in oe-meta).

(From OE-Core rev: bfce90b1260d07f01a8dc2998c9e63ca36d4ebbe)

Signed-off-by: Enrico Scholz <enrico.scholz@sigma-chemnitz.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 019b9c341d539939098962c228c1fd5c99331312)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-09-12 08:41:48 +01:00
Enrico Scholz
bf1987dbe5 lib:npm_registry: initial checkin
Helper module to:

- generate meta information from package.json content.  This data has
  a format as provided by https://registry.npmjs.org

- put this meta information and the corresponding tarball in the
  nodejs cache.  This uses an external, nodejs version specific helper
  script (oe-npm-cache) shipped in oe-meta

To avoid further nodejs version dependencies, future versions of this
module might omit the caching completely and serve meta information
and tarball by an http server.

(From OE-Core rev: 17132402031f4659db5cc1f84263278b82b27ffa)

Signed-off-by: Enrico Scholz <enrico.scholz@sigma-chemnitz.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 6cd5886ad05fee704e8a5892bd370c360c8c3b54)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-09-12 08:41:48 +01:00
Enrico Scholz
dcf593b7a6 npm: take 'version' directly from 'package.json'
We know the content of 'package.json' from earlier patches; there is
no need to parse the tarball name to extract the version.

(From OE-Core rev: 81ad70619017570779adbc1ca928b2412ad9bce7)

Signed-off-by: Enrico Scholz <enrico.scholz@sigma-chemnitz.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f553e528e76f7e3925ed1c0950d96e73aec37da9)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-09-12 08:41:48 +01:00
Enrico Scholz
54962ac3a9 npm: return content of 'package.json' in 'npm_pack'
We have to read 'package.json' to calculate the name of the tarball.
This content is interesting for later patches.

(From OE-Core rev: 2f5c53745b4420dac9198ec013c6653b3e339a6b)

Signed-off-by: Enrico Scholz <enrico.scholz@sigma-chemnitz.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit d67367e389c492ae90f9021066d6a4d5ebcf68e5)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-09-12 08:41:48 +01:00
Enrico Scholz
c5feaa5120 npm: replace 'npm pack' call by 'tar czf'
'npm pack' is a maintainer tool which tries to execute 'prepare'
and similar scripts.  This fails usually in OE because it requires
completely installed 'node_modules'.

Earlier nodejs versions supported an undocumented 'ignore-scripts'
option.  This has been removed in nodejs 16.

We could patch 'package.json' and remove the unwanted scripts.  But
this might complicate local workflows (applying patches) and installed
packages will contain the modified 'package.json'.

Instead of, package it manually by 'tar czf'.  As a sideeffect,
'do_configure' is running much faster now.

(From OE-Core rev: 8a83fbca45a74c30265168767a716e1a272df89b)

Signed-off-by: Enrico Scholz <enrico.scholz@sigma-chemnitz.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 68b480d64ffb6750699cc8fa00d2ac0bc6a2e58a)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-09-12 08:41:48 +01:00
LUIS ENRIQUEZ
b7d5addf56 kernel-fitimage.bbclass: add padding algorithm property in config nodes
This allows choosing padding algorithm when building fitImage. It may be pkcs-1.5 or pss.

(From OE-Core rev: 149f61eef11b2e1e20aabed7054df237272ad7f4)

Signed-off-by: LUIS ENRIQUEZ <luis.enriquez@se.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 29d5336c728b28890bbaadebf0ccff00ad90a64d)
Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-09-12 08:41:48 +01:00
Ming Liu
ce82f937d8 meta: introduce UBOOT_MKIMAGE_KERNEL_TYPE
Sometimes an end user might want to choose another kernel type argument
for uboot-mkimage other than "kernel", for instance: "kernel_noload".

Let's introduce a variable UBOOT_MKIMAGE_KERNEL_TYPE to support that,
and it could be used by BSP layers as well.

(From OE-Core rev: e288686e97de1265eeeaf452141e1473867efb1b)

(From OE-Core rev: a4dfcb15ee2c1349718425eef333f3bc84c2de41)

Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 4eb7bbcc2f08b25387a15b7e4a89ef199783c973)
Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-09-12 08:41:48 +01:00
Ulrich Ölmann
2a82c3d93a scripts/runqemu.README: fix typos and trailing whitespaces
(From OE-Core rev: b765d234c9d9d1e5e6bb02b074f42cea8fb48df2)

Signed-off-by: Ulrich Ölmann <u.oelmann@pengutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 217b00d378f359689613ca4c0666bb2eed040f69)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-09-12 08:41:48 +01:00
Richard Purdie
5cc976671b pseudo: Update to include recent upstream minor fixes
Pull in some minor fixes:

 pseudo_util: Silence symlink errors and fix resolution bug
 ports/linux: Remove build dependency on libattr
 Minor build fixes
 pseudo_util: Fix resolving relative paths from "/"

(From OE-Core rev: fa5e99a57093877cb2332826ac8e9dae21d30b74)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit c57d0c57d00cdef622dab3bf783a10d52f8d9ffb)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-09-12 08:41:48 +01:00
Rasmus Villemoes
bdc6dfc12f bitbake.conf: set BB_DEFAULT_UMASK using ??=
Currently, there's no way for the user's site.conf, local.conf or
similar to set BB_DEFAULT_UMASK, because those files are included by
bitbake.conf prior to the unconditional assignment of
BB_DEFAULT_UMASK. To make that possible, use a weak default assignment
instead. This is also consistent with most other variable assignments
in the lower half of bitbake.conf.

I believe the risk of a regression is very small; it would require
something like somebody having a definition of BB_DEFAULT_UMASK in a
local configuration file, and having been relying on that _not_ taking
effect.

(From OE-Core rev: 4d603ccf0713ade69d98e452b991a4d1d71c144a)

Signed-off-by: Rasmus Villemoes <rasmus.villemoes@prevas.dk>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
(cherry picked from commit e3dbded499f0bd1e71abb0650ae98fd9ade94250)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-09-12 08:41:47 +01:00
Khem Raj
2723b8dae8 apr: Cache configure tests which use AC_TRY_RUN
AC_TRY_RUN macro means the test needs to run to find the result and we
are cross compiling so this will always get wrong results, this results
in miscompiling apache2 on musl because it disables rlimit
(ac_cv_struct_rlimit) wrongly.

All these variables are determined with AC_TRY_RUN checks

(From OE-Core rev: 8784e3712add2fbdf684d442a14fb94e5a7fc61f)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
(cherry picked from commit 504eb0ff1cae200ee85ec18ebae564cae9bf9c8c)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-09-12 08:41:47 +01:00
Alex Stewart
4bca2a8318 maintainers: update opkg maintainer
Alex Stewart assumed maintainership of the yocto project's opkg fork,
and opkg recipes, from Alejandro Del Castilo back in Q1 of 2020.

Update maintainership of the opkg recipes.

(From OE-Core rev: 371e574acaab78b44ac171de92b668157df787de)

Signed-off-by: Alex Stewart <alex.stewart@ni.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
(cherry picked from commit fd0511080fb5744b4b58df43184fa2561cc37134)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-09-12 08:41:47 +01:00
Yang Xu
164d127e11 insane.bbclass: Skip patches not in oe-core by full path
The full path of patch may contain '/meta/' but not in oe-core, skip
patches by checking it starts with oe-core full path or not.

(From OE-Core rev: f29dd96233bf9c323ab1b3887d2357f3c7312f94)

Signed-off-by: Yang Xu <yang.xu@mediatek.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit d8a525afdfb5d371e76b09301c8b2741d23d1d10)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-09-12 08:41:47 +01:00
wangmy
2d582eaef4 lz4: upgrade 1.9.3 -> 1.9.4
CVE-2021-3520.patch
removed since it's included in 1.9.4

License-Update:
  Copyright year updated to 2020
  description of 3rd party applications changed

(From OE-Core rev: 8883d3992078ae24c2601ebf844223fa6e056ded)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit f95c66050bc69af7769d1868b0118cefb24e5b0d)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-09-12 08:41:47 +01:00
wangmy
634e86bc24 libatomic-ops: upgrade 7.6.12 -> 7.6.14
License-Update:  Adjust/reformat content of LICENSING.txt
=========================================================
 "libatomic_ops_gpl.a" changed to "libatomic_ops_gpl.a file"
 "sysdeps" changed to "atomic_ops/sysdeps"
 "This applies only to test code, sample applications," changed to
 "This applies only to the test code"

Changelog:
==========
 Add note to README that AO malloc code has same license as AO stack
 Adjust/reformat content of LICENSING.txt
 Avoid AO_stack_t to cross CPU cache line boundary
 Do not assume 'ordered except earlier write' for UWP/arm64
 Do not name GCC intrinsics as C11 ones in ChangeLog and configure
 Eliminate '-pedantic is not option that controls warnings' GCC-6.3 message
 Ensure result of AO_test_and_set is always AO_TS_CLEAR or AO_TS_SET
 Fix 'AO_malloc redefinition' MS VC warning caused by attributes mismatch
 Fix 'use of undeclared SIG_BLOCK' Clang error if -std=c89 on Cygwin
 Fix AO_compare_and_swap_full asm code for clang on sparc
 Fix a typo in comment of AO_stack_push_explicit_aux_release
 Fix code indentation in main() of test_stack.c
 Refine AO_UNIPROCESSOR macro description in configure
 Remove outdated comment about unsupported Win64 in atomic_ops_stack.h
 Repeat black list check on CAS fail in stack_push_explicit_aux_release

(From OE-Core rev: 8bcf5d5885abbc405f17a56027aa19f826dcdb71)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit a0f177ef7f52bab06d8fff752ba8390defd71ed5)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-09-12 08:41:47 +01:00
wangmy
668db84982 libwpe: upgrade 1.12.2 -> 1.12.3
Changelog:
  Fix the build when using Clang's libc++ or the Musl libc.

0001-Fix-build-failure-due-to-libc-using-libc-functions.patch
removed since it's included in 1.12.3

(From OE-Core rev: f10345e445dd2b7bee1cc3dda6a80e8ab1a5e5f9)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit f8d8cc58c9b9c221158414be186bc12aa5d80e91)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-09-12 08:41:47 +01:00
wangmy
46a7341426 liburcu: upgrade 0.13.1 -> 0.13.2
2022-08-18 Userspace RCU 0.13.2
	* Revert "Fix: remove type constness in URCU_FORCE_CAST's C++ version"
	* Fix: futex.h: include headers outside extern C
	* Fix: add missing unused attribute to _rcu_dereference
	* Fix: change method used by _rcu_dereference to strip type constness
	* Fix: remove type constness in URCU_FORCE_CAST's C++ version
	* Move extern "C" down in include/urcu/urcu-bp.h
	* fix: ifdef linux specific cpu count compat
	* Set git-review branch to stable-0.13
	* fix: sysconf(_SC_NPROCESSORS_CONF) can be less than max cpu id
	* Fix: revise obsolete command in README.md
	* Fix: workqueue: remove unused variable "ret"
	* Fix: urcu-qsbr: futex wait: handle spurious futex wakeups
	* Fix: urcu: futex wait: handle spurious futex wakeups
	* Fix: urcu-wait: futex wait: handle spurious futex wakeups
	* Fix: defer_rcu: futex wait: handle spurious futex wakeups
	* Fix: call_rcu: futex wait: handle spurious futex wakeups
	* Fix: workqueue: futex wait: handle spurious futex wakeups
	* Fix: Use %lu rather than %ld to print count

(From OE-Core rev: 2852ebcba6c718640b306adfd33907411ac02d21)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit b9ce9d9ab53baab7ba84187d17b34e48ff9eb16e)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-09-12 08:41:47 +01:00
wangmy
fdee7be50f libtasn1: upgrade 4.18.0 -> 4.19.0
Changelog:
===========
- Clarify libtasn1.map license.  Closes: #38.
- Fix ETYPE_OK out of bounds read.  Closes: #32.
- Update gnulib files and various maintenance fixes.

(From OE-Core rev: 005bfa0639724248f2a257cae0108ecd16e7314b)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit b8f2c6ec61ffcc607a35bd5c11f5020c9b676226)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-09-12 08:41:47 +01:00
Richard Purdie
df6c07aa0e vim: Upgrade 9.0.0242 -> 9.0.0341
Addresses CVE-2022-2980, CVE-2022-2946 and CVE-2022-2982.

(From OE-Core rev: b6eb009351d2bb04ae7ea828800e0e1b6934213e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 01c08d47ecfcc7aefacc8280e0055c75b13795b2)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-09-12 08:41:47 +01:00
Ross Burton
4384b8a13a cve-check: close cursors as soon as possible
We can have multiple processes reading the database at the same time, and
cursors only release their locks when they're garbage collected.

This might be the cause of random sqlite errors on the autobuilder, so
explicitly close the cursors when we're done with them.

(From OE-Core rev: 90917cadeb7201e56c74294e9156fe899d5455d7)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
(cherry picked from commit 5d2e90e4a58217a943ec21140bc2ecdd4357a98a)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-09-12 08:41:47 +01:00
Joshua Watt
8856232de4 classes: cve-check: Get shared database lock
The CVE check database needs to have a shared lock acquired on it before
it is accessed. This to prevent cve-update-db-native from deleting the
database file out from underneath it.

[YOCTO #14899]

(From OE-Core rev: 655bc5acdebdee9b4dfd3c964104a84b6845b2d4)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 20a9911b73df62a0d0d1884e57085f13ac5016dd)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-09-12 08:41:47 +01:00
pgowda
72aa63fcf5 binutils : CVE-2022-38533
Upstream-Status: Backport
[https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=ef186fe54aa6d281a3ff8a9528417e5cc614c797]

(From OE-Core rev: 9644d9a38dac8d2c0263f4e8a67624da7a8bc55b)

Signed-off-by: pgowda <pgowda.cve@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-09-12 08:41:47 +01:00
Robert Joslyn
68dfce5f52 curl: Backport patch for CVE-2022-35252
https://curl.se/docs/CVE-2022-35252.html

(From OE-Core rev: 40bbdb43b247ffc5dd1990f51fb824a089c0987f)

Signed-off-by: Robert Joslyn <robert.joslyn@redrectangle.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-09-12 08:41:47 +01:00
Chee Yang Lee
2c42fa484a sqlite: add CVE-2022-35737 patch to SRC_URI
SRC_URI include patch introduced in oe-core commit
fdc82b2314b580c0135c16b7278ebf8786311dec

(From OE-Core rev: f28dc527d4a3e3aa6ef2b446e863264c0e874fa1)

Signed-off-by: Chee Yang Lee <chee.yang.lee@intel.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-09-12 08:41:47 +01:00
Otavio Salvador
12e2869bcf bitbake: toaster: fix kirkstone version
(Bitbake rev: 7d3b766ef26361c44abc2b8175bc5c44e29c3955)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-09-07 08:33:43 +01:00
Khem Raj
9ccb0bd0d5 gcr: Define _GNU_SOURCE
This ensures that definitions of functions e.g. getpass() are correctly
sourced from system headers, since it depends on feature test macros

(From OE-Core rev: 2363d69d687fc8e53a7c97bf5300e59c9a04f22e)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 0d117e5d17c491e1d26aefb4b919410b07fd5347)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-09-03 13:09:49 +01:00
Khem Raj
93a0fcc7c9 apr: Use correct strerror_r implementation based on libc type
musl does not implement GNU extention of strerror_r but XSI compliant
version, therefore add it via a packageconfig to set right variables
during configure to cache the value.

configure detection logic depends on runtime test which will always be
wrong on cross compiles therefore backport a patch to make it possible
to cache the needed configure variable.

(From OE-Core rev: b59027f32e4b2896dccced6d9cb75fbb41651abe)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit ded3d76a844dd1aef9ac610fbe506bf76285369b)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-09-03 13:09:49 +01:00
Khem Raj
7b0a2f46f7 pinentry: enable _XOPEN_SOURCE on musl for wchar usage in curses
This is defined for glibc automatically with _GNU_SOURCE but not for
musl

(From OE-Core rev: 9c9dd76aee4f9d9e25e8e46bd84fe802007e9c0c)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 84375186570af548b49e44e884925f4feaddcc7a)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-09-03 13:09:49 +01:00
Khem Raj
fa2cc0b97b watchdog: Include needed system header for function decls
These headers are needed on musl too.

(From OE-Core rev: 9cc6d5760febcafc19739a73a80c49fb3ee393df)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit a53722b962e79e0831c0fba24ef7c1cfda24971a)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-09-03 13:09:49 +01:00
Khem Raj
079ccabcaf xinetd: Pass missing -D_GNU_SOURCE
We do not get proper function definitions otherwise e.g. fcvt()

(From OE-Core rev: 37322e0009ff2d1b17590285e3164afe141e6187)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 21dd5bae177b64e314a6423e5ffbd7b28b6b5891)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-09-03 13:09:49 +01:00
Pavel Zhukov
328e343baa parselogs: Ignore xf86OpenConsole error
[Yocto #13854]

If VT argument was not specified Xorg server tries to bind to VT1, then
VT2 and so on. In some cases (runqemu with nographics or serial options
for example) VT1 can be taken by systemd getty service which generates
error message. Do not fail on this message if Xorg is running. (covered
by test_xorg_running test)

(From OE-Core rev: 60b55c1dde6f185ed0ae66d4168b293e32971a66)

Signed-off-by: Pavel Zhukov <pavel@zhukoff.net>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit d047f493e0c7f341dd307a4d8dd0db08a22824f1)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-09-03 13:09:49 +01:00
Mateusz Marciniec
df982d1058 util-linux: Remove --enable-raw from EXTRA_OECONF
Having both enable and disable flags for raw is confusing.
Raw should be disabled so --enable-raw flag can be removed.

(From OE-Core rev: 8acf5a1b5dd7827e72a722ef9ce35bf6bbc0df6b)

Signed-off-by: Mateusz Marciniec <mateuszmar2@gmail.com>
Signed-off-by: Tomasz Dziendzielski <tomasz.dziendzielski@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 011c549e2b005205923db6f69b60f8b29bee415f)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-09-03 13:09:49 +01:00
Andrei Gherzan
5f3999c41a shadow: Avoid nss warning/error with musl
The libnss configuration file is only installed when glibc is used. The
inexistence of it on a musl-based rootfs, will make shadow complain
about it:

Failed opening /etc/nsswitch.conf

This is because shadow will try to use nsswich when dealing with
subordinate IDs and the message is just a warning as the tool will still
generate them correctly in subuid/subgid files.

We drop this log message for class native to avoid an error when rootfs
logs are checked ('Failed' will match the regex bitbake is using to
check for rootfs generation errors).

(From OE-Core rev: e5ce33228858fcc12051548399c71ce10346bf5b)

Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-09-03 13:09:49 +01:00
Andrei Gherzan
c917d00ea3 rootfspostcommands.py: Cleanup subid backup files generated by shadow-utils
When creating users, shadow-utils might create backup files for
subordinate ID files (subid, subgid). Make sure we clean them up
similarly to the other backup files shadow-utils creates.

This is a backport from master that brings in only the cleanup of the
subid backup files without the code restructure.

(From OE-Core rev: 84b2e9a6c17278cbcc08020aa78759004a7b60bf)

Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-09-03 13:09:49 +01:00
Andrei Gherzan
5ec20bf952 shadow: Enable subid support
shadow utils are used when creating users at image creation time. The
useradd/usermod tools will only try to add a default configuration for
subid files if they exist.

(From OE-Core rev: 5cdc9c1809ef169b8af7ce3085f316d1e68eb7ec)

Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-09-03 13:09:49 +01:00
Steve Sakoman
b74a9df462 lttng-modules: fix build for kernel 5.10.137
Backport patch from upstream "fix: adjust range v5.10.137 in block probe":

5dab3d515b

(From OE-Core rev: cb51e97f66285d64d188379aff6282ba597c49e9)

Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-09-03 13:09:49 +01:00
Bruce Ashfield
ff17c6bc7a linux-yocto/5.10: update to v5.10.137
Updating  to the latest korg -stable release that comprises
the following commits:

    74ded189e5e4 Linux 5.10.137
    fb4e220e1b2b btrfs: raid56: don't trust any cached sector in __raid56_parity_recover()
    1e1a039f44b7 btrfs: only write the sectors in the vertical stripe which has data stripes
    8f317cd88805 sched/fair: Fix fault in reweight_entity
    aa318d35bedc net_sched: cls_route: disallow handle of 0
    5a2a00b60458 net/9p: Initialize the iounit field during fid creation
    578c349570d2 tee: add overflow check in register_shm_helper()
    98b20e1612e6 kvm: x86/pmu: Fix the compare function used by the pmu event filter
    705dfc4575d6 mtd: rawnand: arasan: Prevent an unsupported configuration
    c898e917d8bb Bluetooth: L2CAP: Fix l2cap_global_chan_by_psm regression
    e81046da1d9b Revert "net: usb: ax88179_178a needs FLAG_SEND_ZLP"
    a60996dc027a drm/vc4: change vc4_dma_range_matches from a global to static
    3422e24af9ba drm/bridge: tc358767: Fix (e)DP bridge endpoint parsing in dedicated function
    2223b35c5752 Revert "mwifiex: fix sleep in atomic context bugs caused by dev_coredumpv"
    8338305317df tcp: fix over estimation in sk_forced_mem_schedule()
    c35c01a7cb30 mac80211: fix a memory leak where sta_info is not freed
    ac7de8c2ba12 KVM: x86: Avoid theoretical NULL pointer dereference in kvm_irq_delivery_to_apic_fast()
    4c85e207c1b5 KVM: x86: Check lapic_in_kernel() before attempting to set a SynIC irq
    a4c94205ba79 KVM: Add infrastructure and macro to mark VM as bugged
    7018f03d97da net_sched: cls_route: remove from list when handle is 0
    49dba30638e0 dm raid: fix address sanitizer warning in raid_status
    c2d47bef93fb dm raid: fix address sanitizer warning in raid_resume
    d0b495aa2692 ext4: correct the misjudgment in ext4_iget_extra_inode
    603fb7bd744a ext4: correct max_inline_xattr_value_size computing
    e8c747496f23 ext4: fix extent status tree race in writeback error recovery path
    ac8cc061145a ext4: update s_overhead_clusters in the superblock during an on-line resize
    bb8592efcf8e ext4: fix use-after-free in ext4_xattr_set_entry
    69d1a36eb4b2 ext4: make sure ext4_append() always allocates new block
    e1682c7171a6 ext4: fix warning in ext4_iomap_begin as race between bmap and write
    2da44a2927a7 ext4: add EXT4_INODE_HAS_XATTR_SPACE macro in xattr.h
    1571c4613059 ext4: check if directory block is within i_size
    e99da0f92142 tracing: Use a struct alignof to determine trace event field alignment
    35508b60b54a tpm: eventlog: Fix section mismatch for DEBUG_SECTION_MISMATCH
    0e48eaf75d18 KEYS: asymmetric: enforce SM2 signature use pkey algo
    135d9e071099 xen-blkfront: Apply 'feature_persistent' parameter when connect
    d4fb08e5a4b4 xen-blkback: Apply 'feature_persistent' parameter when connect
    9e8408845276 xen-blkback: fix persistent grants negotiation
    b788508a0990 KVM: x86/pmu: Ignore pmu->global_ctrl check if vPMU doesn't support global_ctrl
    6b4addec2f2d KVM: VMX: Mark all PERF_GLOBAL_(OVF)_CTRL bits reserved if there's no vPMU
    46ec3d8e9094 KVM: x86/pmu: Introduce the ctrl_mask value for fixed counter
    2ba1feb14363 KVM: x86/pmu: Use different raw event masks for AMD and Intel
    4bbfc055d3a7 KVM: x86/pmu: Use binary search to check filtered events
    441726394efa KVM: x86/pmu: preserve IA32_PERF_CAPABILITIES across CPUID refresh
    a7d0b21c6b40 KVM: nVMX: Inject #UD if VMXON is attempted with incompatible CR0/CR4
    c72a9b1d0dad KVM: x86: Move vendor CR4 validity check to dedicated kvm_x86_ops hook
    2f04a04d0650 KVM: SVM: Drop VMXE check from svm_set_cr4()
    da7f731f2ed5 KVM: VMX: Drop explicit 'nested' check from vmx_set_cr4()
    8b8b376903b3 KVM: VMX: Drop guest CPUID check for VMXE in vmx_set_cr4()
    5f3c8352cc22 ACPI: CPPC: Do not prevent CPPC from working in the future
    40d28ae57672 btrfs: reset block group chunk force if we have to wait
    e2f150730316 btrfs: reject log replay if there is unsupported RO compat flag
    b58294ce1a8a um: Allow PM with suspend-to-idle
    c6cf21d8d520 timekeeping: contribute wall clock to rng on time change
    5e2cf705155a dm thin: fix use-after-free crash in dm_sm_register_threshold_callback
    539c20ad260e kexec, KEYS, s390: Make use of built-in and secondary keyring for signature verification
    782e73acdba8 dm writecache: set a default MAX_WRITEBACK_JOBS
    e41b3b883179 serial: 8250: Fold EndRun device support into OxSemi Tornado code
    194dc559e6b2 serial: 8250_pci: Replace dev_*() by pci_*() macros
    297e2fd08a58 serial: 8250_pci: Refactor the loop in pci_ite887x_init()
    3110e5a49b87 serial: 8250: Correct the clock for OxSemi PCIe devices
    3e9baedb3237 serial: 8250: Dissociate 4MHz Titan ports from Oxford ports
    85d6306a87c5 PCI/AER: Iterate over error counters instead of error strings
    d83d886e69bd PCI/ERR: Recover from RCEC AER errors
    bb6990fd3729 PCI/ERR: Add pci_walk_bridge() to pcie_do_recovery()
    7730ba6151b7 PCI/ERR: Avoid negated conditional for clarity
    078d79fad521 PCI/ERR: Use "bridge" for clarity in pcie_do_recovery()
    2e3458b995aa PCI/ERR: Simplify by computing pci_pcie_type() once
    f236fa38508b PCI/ERR: Simplify by using pci_upstream_bridge()
    de4534ac28c4 PCI/ERR: Rename reset_link() to reset_subordinates()
    78d431e8a56c PCI/ERR: Bind RCEC devices to the Root Port driver
    dce8d7427c6a PCI/AER: Write AER Capability only when we control it
    5659efdadf04 iommu/vt-d: avoid invalid memory access via node_online(NUMA_NO_NODE)
    e7ccee2f09b0 KVM: x86: Signal #GP, not -EPERM, on bad WRMSR(MCi_CTL/STATUS)
    f5385a590df7 KVM: set_msr_mce: Permit guests to ignore single-bit ECC errors
    6a84dae3a7ec intel_th: pci: Add Raptor Lake-S CPU support
    581f7eb8ae3d intel_th: pci: Add Raptor Lake-S PCH support
    36f5ddde6776 intel_th: pci: Add Meteor Lake-P support
    08272646cd7c firmware: arm_scpi: Ensure scpi_info is not assigned if the probe fails
    bc945ca49613 usbnet: smsc95xx: Avoid link settings race on interrupt reception
    e9733561e966 usbnet: smsc95xx: Don't clear read-only PHY interrupt
    04c9d23ac352 mtd: rawnand: arasan: Fix clock rate in NV-DDR
    dc0e4a10b49d mtd: rawnand: arasan: Support NV-DDR interface
    87d1266b4cd4 mtd: rawnand: arasan: Fix a macro parameter
    d4f7bcce9002 mtd: rawnand: Add NV-DDR timings
    72fae7e7f7f5 mtd: rawnand: arasan: Check the proposed data interface is supported
    c91e5215a413 mtd: rawnand: Add a helper to clarify the interface configuration
    ae1e2bc7bfaa drm/vc4: drv: Adopt the dma configuration from the HVS or V3D component
    fe695a2b469b HID: hid-input: add Surface Go battery quirk
    434c4aad53fd HID: Ignore battery for Elan touchscreen on HP Spectre X360 15-df0xxx
    2d05cf10695e drm/mediatek: Keep dsi as LP00 before dcs cmds transfer
    311728757821 drm/mediatek: Allow commands to be sent during video mode
    a3a85c045aa0 drm/i915/dg1: Update DMC_DEBUG3 register
    dd02510fb431 spmi: trace: fix stack-out-of-bound access in SPMI tracing functions
    bc8c5b3b3eb9 __follow_mount_rcu(): verify that mount_lock remains unchanged
    bda7046d4d59 Input: gscps2 - check return value of ioremap() in gscps2_probe()
    541840859ace posix-cpu-timers: Cleanup CPU timers before freeing them during exec
    ce19182b43a5 x86/olpc: fix 'logical not is only applied to the left hand side'
    43e059d01628 ftrace/x86: Add back ftrace_expected assignment
    fd96b61389f8 x86/bugs: Enable STIBP for IBPB mitigated RETBleed
    1118020b3b7a scsi: qla2xxx: Fix losing FCP-2 targets during port perturbation tests
    912408ba0bdc scsi: qla2xxx: Fix losing FCP-2 targets on long port disable with I/Os
    82cb0ebe5bd1 scsi: qla2xxx: Fix erroneous mailbox timeout after PCI error injection
    7941ca578c4d scsi: qla2xxx: Turn off multi-queue for 8G adapters
    2ffe5285ea5d scsi: qla2xxx: Fix discovery issues in FC-AL topology
    b8aad5eba738 scsi: zfcp: Fix missing auto port scan and thus missing target ports
    5e0da18956d3 video: fbdev: s3fb: Check the size of screen before memset_io()
    09e733d6ac94 video: fbdev: arkfb: Check the size of screen before memset_io()
    bd8269e57621 video: fbdev: vt8623fb: Check the size of screen before memset_io()
    a9943942a501 x86/entry: Build thunk_$(BITS) only if CONFIG_PREEMPTION=y
    e6c228b950d0 sched: Fix the check of nr_running at queue wakelist
    bd1ebcbbf08e tools/thermal: Fix possible path truncations
    0288fa799e27 video: fbdev: arkfb: Fix a divide-by-zero bug in ark_set_pixclock()
    94398c1fec34 x86/numa: Use cpumask_available instead of hardcoded NULL check
    336626564b58 sched, cpuset: Fix dl_cpu_busy() panic due to empty cs->cpus_allowed
    0039189a3b15 sched/deadline: Merge dl_task_can_attach() and dl_cpu_busy()
    e695256d4604 scripts/faddr2line: Fix vmlinux detection on arm64
    232f4aca400a genelf: Use HAVE_LIBCRYPTO_SUPPORT, not the never defined HAVE_LIBCRYPTO
    cadeb5186e25 powerpc/pci: Fix PHB numbering when using opal-phbid
    2a49b025c36a kprobes: Forbid probing on trampoline and BPF code areas
    4296089f61aa perf symbol: Fail to read phdr workaround
    00dc7cbbb558 powerpc/cell/axon_msi: Fix refcount leak in setup_msi_msg_address
    6d1e53f7f181 powerpc/xive: Fix refcount leak in xive_get_max_prio
    85aff6a9b7b7 powerpc/spufs: Fix refcount leak in spufs_init_isolated_loader
    50e7896c8e0a f2fs: fix to remove F2FS_COMPR_FL and tag F2FS_NOCOMP_FL at the same time
    ec769406d06d f2fs: write checkpoint during FG_GC
    d0311057395b f2fs: don't set GC_FAILURE_PIN for background GC
    47a8fe1b154a powerpc/pci: Prefer PCI domain assignment via DT 'linux,pci-domain' and alias
    7ac58a83d8f1 powerpc/32: Do not allow selection of e5500 or e6500 CPUs on PPC32
    2d2b6adb22c8 ASoC: mchp-spdifrx: disable end of block interrupt on failures
    ca326aff6bf3 video: fbdev: sis: fix typos in SiS_GetModeID()
    da276dc288bf video: fbdev: amba-clcd: Fix refcount leak bugs
    345208581c4a watchdog: armada_37xx_wdt: check the return value of devm_ioremap() in armada_37xx_wdt_probe()
    d3e6460619d4 ASoC: audio-graph-card: Add of_node_put() in fail path
    92644d505b4e fuse: Remove the control interface for virtio-fs
    60e494b4d578 ASoC: qcom: q6dsp: Fix an off-by-one in q6adm_alloc_copp()
    5682b4f84aab ASoC: fsl_easrc: use snd_pcm_format_t type for sample_format
    9c2ad32ed916 s390/zcore: fix race when reading from hardware system area
    ae921d176b6f s390/dump: fix old lowcore virtual vs physical address confusion
    b002a71d45bd perf tools: Fix dso_id inode generation comparison
    2ada6b4a8007 iommu/arm-smmu: qcom_iommu: Add of_node_put() when breaking out of loop
    afdbadbf18c1 mfd: max77620: Fix refcount leak in max77620_initialise_fps
    52ae9c159972 mfd: t7l66xb: Drop platform disable callback
    5a0e3350c29e remoteproc: sysmon: Wait for SSCTL service to come up
    3487aa558a66 lib/smp_processor_id: fix imbalanced instrumentation_end() call
    483ad8a16fde kfifo: fix kfifo_to_user() return type
    9715809b9eeb rpmsg: qcom_smd: Fix refcount leak in qcom_smd_parse_edge
    0ce20194b4a6 iommu/exynos: Handle failed IOMMU device registration properly
    8fd063a6085a tty: n_gsm: fix missing corner cases in gsmld_poll()
    01c8094bed8e tty: n_gsm: fix DM command
    6737d4f5f513 tty: n_gsm: fix wrong T1 retry count handling
    b16d653bc7bb vfio/ccw: Do not change FSM state in subchannel event
    db574d3bb6e5 vfio/mdev: Make to_mdev_device() into a static inline
    a2fbf4acd280 vfio: Split creation of a vfio_device into init and register ops
    f54fa910e6cb vfio: Simplify the lifetime logic for vfio_device
    0abdb80e812a vfio: Remove extra put/gets around vfio_device->group
    cb83b12320ea remoteproc: qcom: wcnss: Fix handling of IRQs
    2f735069cdc1 ASoC: qcom: Fix missing of_node_put() in asoc_qcom_lpass_cpu_platform_probe()
    273d41217721 tty: n_gsm: fix race condition in gsmld_write()
    2466486cae0a tty: n_gsm: fix packet re-transmission without open control channel
    34c9fe392d26 tty: n_gsm: fix non flow control frames during mux flow off
    006e9d5a9877 tty: n_gsm: fix wrong queuing behavior in gsm_dlci_data_output()
    c45b5d24fe06 tty: n_gsm: fix user open not possible at responder until initiator open
    9e38020f1700 tty: n_gsm: Delete gsmtty open SABM frame when config requester
    d94a552183c0 ASoC: samsung: change gpiod_speaker_power and rx1950_audio from global to static variables
    875b2bf469d0 powerpc/perf: Optimize clearing the pending PMI and remove WARN_ON for PMI check in power_pmu_disable
    ba889da9a0e1 ASoC: samsung: h1940_uda1380: include proepr GPIO consumer header
    4046f3ef3bb6 profiling: fix shift too large makes kernel panic
    3bf64b9cc640 selftests/livepatch: better synchronize test_klp_callbacks_busy
    75358732af9b remoteproc: k3-r5: Fix refcount leak in k3_r5_cluster_of_init
    2aa8737d49a9 rpmsg: mtk_rpmsg: Fix circular locking dependency
    1d5fc40382c5 ASoC: codecs: wcd9335: move gains from SX_TLV to S8_TLV
    4181b214184b ASoC: codecs: msm8916-wcd-digital: move gains from SX_TLV to S8_TLV
    4b171ac88cb7 serial: 8250_dw: Store LSR into lsr_saved_flags in dw8250_tx_wait_empty()
    d98dd16d3dfd serial: 8250: Export ICR access helpers for internal use
    403d46971936 ASoC: mediatek: mt8173-rt5650: Fix refcount leak in mt8173_rt5650_dev_probe
    132b2757c52f ASoC: codecs: da7210: add check for i2c_add_driver
    a0381a9f3e59 ASoC: mt6797-mt6351: Fix refcount leak in mt6797_mt6351_dev_probe
    aa1214ece379 ASoC: mediatek: mt8173: Fix refcount leak in mt8173_rt5650_rt5676_dev_probe
    ec0c272b1868 ASoC: samsung: Fix error handling in aries_audio_probe
    bae95c5aee1f ASoC: cros_ec_codec: Fix refcount leak in cros_ec_codec_platform_probe
    e2a4e46f5258 opp: Fix error check in dev_pm_opp_attach_genpd()
    3b973703229a usb: cdns3: Don't use priv_dev uninitialized in cdns3_gadget_ep_enable()
    f7161d0da975 jbd2: fix assertion 'jh->b_frozen_data == NULL' failure when journal aborted
    a6d7f224730e ext4: recover csum seed of tmp_inode after migrating to extents
    914bf4aa2d5b jbd2: fix outstanding credits assert in jbd2_journal_commit_transaction()
    706960d328f5 nvme: use command_id instead of req->tag in trace_nvme_complete_rq()
    7a4b46784a7b null_blk: fix ida error handling in null_add_dev()
    3ef491b26c72 RDMA/rxe: Fix error unwind in rxe_create_qp()
    53da1f0fa0e2 RDMA/mlx5: Add missing check for return value in get namespace flow
    c0ba87f3e7b4 selftests: kvm: set rax before vmcall
    4ffa6cecb53d mm/mmap.c: fix missing call to vm_unacct_memory in mmap_region
    de95b52d9aab RDMA/srpt: Fix a use-after-free
    d14a44cf2919 RDMA/srpt: Introduce a reference count in struct srpt_device
    204a8486d775 RDMA/srpt: Duplicate port name members
    5ba56d9bd0d0 platform/olpc: Fix uninitialized data in debugfs write
    7af83bb516d7 usb: cdns3: change place of 'priv_ep' assignment in cdns3_gadget_ep_dequeue(), cdns3_gadget_ep_enable()
    a916e8036079 USB: serial: fix tty-port initialized comments
    b1124a2f478f PCI: tegra194: Fix link up retry sequence
    88a694d9c870 PCI: tegra194: Fix Root Port interrupt handling
    e2d132ca7fab HID: alps: Declare U1_UNICORN_LEGACY support
    74e57439e21f mmc: cavium-thunderx: Add of_node_put() when breaking out of loop
    3bed7b981175 mmc: cavium-octeon: Add of_node_put() when breaking out of loop
    66c8e816f2f2 HID: mcp2221: prevent a buffer overflow in mcp_smbus_write()
    26975d8ea96b gpio: gpiolib-of: Fix refcount bugs in of_mm_gpiochip_add_data()
    a85c7dd1edad RDMA/hfi1: fix potential memory leak in setup_base_ctxt()
    9ade92ddaf23 RDMA/siw: Fix duplicated reported IW_CM_EVENT_CONNECT_REPLY event
    0ecc91cf9645 RDMA/hns: Fix incorrect clearing of interrupt status register
    79ce50dddaf2 RDMA/qedr: Fix potential memory leak in __qedr_alloc_mr()
    aaa1a8150657 RDMA/qedr: Improve error logs for rdma_alloc_tid error return
    84f83a26194a RDMA/rtrs-srv: Fix modinfo output for stringify
    50a249ad1db7 RDMA/rtrs: Avoid Wtautological-constant-out-of-range-compare
    2b3dcfbece1c RDMA/rtrs: Define MIN_CHUNK_SIZE
    993cd1621180 um: random: Don't initialise hwrng struct with zero
    a6a7f80e6267 interconnect: imx: fix max_node_id
    5bcc37dc2463 eeprom: idt_89hpesx: uninitialized data in idt_dbgfs_csr_write()
    4ab5662cc3ce usb: dwc3: qcom: fix missing optional irq warnings
    d376ca671683 usb: dwc3: core: Do not perform GCTL_CORE_SOFTRESET during bootup
    251572a26dea usb: dwc3: core: Deprecate GCTL.CORESOFTRESET
    e6db5780c2bf usb: aspeed-vhub: Fix refcount leak bug in ast_vhub_init_desc()
    c818fa991c51 usb: gadget: udc: amd5536 depends on HAS_DMA
    d6d344eeef7a xtensa: iss: fix handling error cases in iss_net_configure()
    fb4c1555f93f xtensa: iss/network: provide release() callback
    2fe0b06c166c scsi: smartpqi: Fix DMA direction for RAID requests
    7542130af1b7 PCI: qcom: Set up rev 2.1.0 PARF_PHY before enabling clocks
    ee70aa214a2d PCI/portdrv: Don't disable AER reporting in get_port_device_capability()
    9d216035d173 KVM: s390: pv: leak the topmost page table when destroy fails
    59fd7c0b41e0 mmc: block: Add single read for 4k sector cards
    2985acdaf27d mmc: sdhci-of-at91: fix set_uhs_signaling rewriting of MC1R
    9260a154b3b5 memstick/ms_block: Fix a memory leak
    ae2369ac4247 memstick/ms_block: Fix some incorrect memory allocation
    b305475df756 mmc: sdhci-of-esdhc: Fix refcount leak in esdhc_signal_voltage_switch
    028c8632a2dc staging: rtl8192u: Fix sleep in atomic context bug in dm_fsync_timer_callback
    6ae2881c1d1f intel_th: msu: Fix vmalloced buffers
    81222cfda686 intel_th: msu-sink: Potential dereference of null pointer
    a8f3b78b1f8e intel_th: Fix a resource leak in an error handling path
    ab3b82435f14 PCI: endpoint: Don't stop controller when unbinding endpoint function
    b9b4992f897b dmaengine: sf-pdma: Add multithread support for a DMA channel
    37e1d474a3fb dmaengine: sf-pdma: apply proper spinlock flags in sf_pdma_prep_dma_memcpy()
    38715a0ccb55 KVM: arm64: Don't return from void function
    fbd7b564f930 soundwire: bus_type: fix remove and shutdown support
    ed457b0029ab PCI: dwc: Always enable CDM check if "snps,enable-cdm-check" exists
    e7599a5974d4 PCI: dwc: Deallocate EPC memory on dw_pcie_ep_init() errors
    80d9f6541ee2 PCI: dwc: Add unroll iATU space support to dw_pcie_disable_atu()
    2293b23d274b clk: qcom: camcc-sdm845: Fix topology around titan_top power domain
    b28ebe7d2f10 clk: qcom: ipq8074: set BRANCH_HALT_DELAY flag for UBI clocks
    b83af7b4ec1d clk: qcom: ipq8074: fix NSS port frequency tables
    58023f5291b4 clk: qcom: ipq8074: SW workaround for UBI32 PLL lock
    e2330494f0f8 clk: qcom: ipq8074: fix NSS core PLL-s
    b840c2926de2 usb: host: xhci: use snprintf() in xhci_decode_trb()
    42f182709663 clk: qcom: clk-krait: unlock spin after mux completion
    a93f33aeef4e driver core: fix potential deadlock in __driver_attach
    2593f971f043 misc: rtsx: Fix an error handling path in rtsx_pci_probe()
    267c5f17a001 dmaengine: dw-edma: Fix eDMA Rd/Wr-channels and DMA-direction semantics
    956b79c20665 mwifiex: fix sleep in atomic context bugs caused by dev_coredumpv
    803526555b2a mwifiex: Ignore BTCOEX events from the 88W8897 firmware
    dceedbb5aba0 KVM: Don't set Accessed/Dirty bits for ZERO_PAGE
    02d203f48821 clk: mediatek: reset: Fix written reset bit offset
    4f51a09f3d7b iio: accel: bma400: Reordering of header files
    ab831a12c8a7 platform/chrome: cros_ec: Always expose last resume result
    366d0123c387 iio: accel: bma400: Fix the scale min and max macro values
    edfa0851d8c9 netfilter: xtables: Bring SPDX identifier back
    9feb3ecd0709 usb: xhci: tegra: Fix error check
    bb5e59f00f7d usb: gadget: tegra-xudc: Fix error check in tegra_xudc_powerdomain_init()
    d35903e9650f usb: ohci-nxp: Fix refcount leak in ohci_hcd_nxp_probe
    585d22a5624e usb: host: Fix refcount leak in ehci_hcd_ppc_of_probe
    474f12deaa19 fpga: altera-pr-ip: fix unsigned comparison with less than zero
    175428c86fb8 mtd: st_spi_fsm: Add a clk_disable_unprepare() in .probe()'s error path
    55d0f7da66de mtd: partitions: Fix refcount leak in parse_redboot_of
    b4e150d295ba mtd: sm_ftl: Fix deadlock caused by cancel_work_sync in sm_release
    ebda3d6b004b HID: cp2112: prevent a buffer overflow in cp2112_xfer()
    cdf92a0aee97 PCI: tegra194: Fix PM error handling in tegra_pcie_config_ep()
    b0e82f95fded mtd: rawnand: meson: Fix a potential double free issue
    941ef6997f9d mtd: maps: Fix refcount leak in ap_flash_init
    52ae2b14f76e mtd: maps: Fix refcount leak in of_flash_probe_versatile
    6471c83894c1 clk: renesas: r9a06g032: Fix UART clkgrp bitsel
    38c9cc68e36f wireguard: allowedips: don't corrupt stack when detecting overflow
    17541a4aab81 wireguard: ratelimiter: use hrtimer in selftest
    aa8f5593367a dccp: put dccp_qpolicy_full() and dccp_qpolicy_push() in the same lock
    5b69f34daccc net: ionic: fix error check for vlan flags in ionic_set_nic_features()
    9a070a441766 net: rose: fix netdev reference changes
    397e52dec168 netdevsim: Avoid allocation warnings triggered from user space
    692751f26099 iavf: Fix max_rate limiting
    b0d67ef5b43a net: allow unbound socket for packets in VRF when tcp_l3mdev_accept set
    1d9c81833dec tcp: Fix data-races around sysctl_tcp_l3mdev_accept.
    0de9b3f81e01 ipv6: add READ_ONCE(sk->sk_bound_dev_if) in INET6_MATCH()
    b7325b27d869 tcp: sk->sk_bound_dev_if once in inet_request_bound_dev_if()
    f7884d95000a inet: add READ_ONCE(sk->sk_bound_dev_if) in INET_MATCH()
    c206177ca8a9 crypto: hisilicon/sec - fix auth key size error
    9524edb1a782 crypto: inside-secure - Add missing MODULE_DEVICE_TABLE for of
    cb6277507998 crypto: hisilicon/hpre - don't use GFP_KERNEL to alloc mem during softirq
    e6cbd15950cf net/mlx5e: Fix the value of MLX5E_MAX_RQ_NUM_MTTS
    1f7ffdea19f2 net/mlx5e: Remove WARN_ON when trying to offload an unsupported TLS cipher/version
    420cf3b781b2 media: cedrus: hevc: Add check for invalid timestamp
    97e5d3e46a3a wifi: libertas: Fix possible refcount leak in if_usb_probe()
    38d71acc15a2 wifi: iwlwifi: mvm: fix double list_add at iwl_mvm_mac_wake_tx_queue
    6c5fee83bdbe wifi: wil6210: debugfs: fix uninitialized variable use in `wil_write_file_wmi()`
    c040a02e4c21 i2c: mux-gpmux: Add of_node_put() when breaking out of loop
    353d55ff1bfc i2c: cadence: Support PEC for SMBus block read
    0c5dbac1ce7f Bluetooth: hci_intel: Add check for platform_driver_register
    a7a7488cb15a can: pch_can: pch_can_error(): initialize errc before using it
    4c036be75774 can: error: specify the values of data[5..7] of CAN error frames
    f0ef21b73978 can: usb_8dev: do not report txerr and rxerr during bus-off
    ca1a2c538834 can: kvaser_usb_leaf: do not report txerr and rxerr during bus-off
    9e6ceba6be36 can: kvaser_usb_hydra: do not report txerr and rxerr during bus-off
    cddef4bbebea can: sun4i_can: do not report txerr and rxerr during bus-off
    22e382d47de0 can: hi311x: do not report txerr and rxerr during bus-off
    06e355b46c30 can: sja1000: do not report txerr and rxerr during bus-off
    6ec509679beb can: rcar_can: do not report txerr and rxerr during bus-off
    5d85a89875e8 can: pch_can: do not report txerr and rxerr during bus-off
    d2b9e664bbfd selftests/bpf: fix a test for snprintf() overflow
    a06c98c47e45 wifi: p54: add missing parentheses in p54_flush()
    56924fc19d31 wifi: p54: Fix an error handling path in p54spi_probe()
    05ceda14ef7c wifi: wil6210: debugfs: fix info leak in wil_write_file_wmi()
    36ba38996001 fs: check FMODE_LSEEK to control internal pipe splicing
    7430e587643a bpf: Fix subprog names in stack traces.
    990ca39e78cf selftests: timers: clocksource-switch: fix passing errors from child
    ee3cc4c76121 selftests: timers: valid-adjtimex: build fix for newer toolchains
    f29cf37698db libbpf: Fix the name of a reused map
    799cfed1b1a8 tcp: make retransmitted SKB fit into the send window
    5713b0be6dd9 drm/exynos/exynos7_drm_decon: free resources when clk_set_parent() failed.
    9aa4ad5ccabc mediatek: mt76: mac80211: Fix missing of_node_put() in mt76_led_init()
    3ad958bc488e mt76: mt76x02u: fix possible memory leak in __mt76x02u_mcu_send_msg
    b1812f6500dd media: platform: mtk-mdp: Fix mdp_ipi_comm structure alignment
    1008c6d98b6d crypto: hisilicon - Kunpeng916 crypto driver don't sleep when in softirq
    16e18a8ac7c9 crypto: hisilicon/sec - don't sleep when in softirq
    1f697d795290 crypto: hisilicon/sec - fixes some coding style
    bf386c955f35 drm/msm/mdp5: Fix global state lock backoff
    e74f3097a9c7 net: hinic: avoid kernel hung in hinic_get_stats64()
    e286a882f227 net: hinic: fix bug that ethtool get wrong stats
    8369a39b529d hinic: Use the bitmap API when applicable
    26a10aef28d9 lib: bitmap: provide devm_bitmap_alloc() and devm_bitmap_zalloc()
    1238da5f32b7 lib: bitmap: order includes alphabetically
    7f29d75693dc drm: bridge: sii8620: fix possible off-by-one
    8bb0be3186b1 drm/mediatek: dpi: Only enable dpi after the bridge is enabled
    c47d69ed5667 drm/mediatek: dpi: Remove output format of YUV
    fc85cb33f6aa drm/rockchip: Fix an error handling path rockchip_dp_probe()
    9f416e32eda9 drm/rockchip: vop: Don't crash for invalid duplicate_state()
    e2d2dcab19f6 selftests/xsk: Destroy BPF resources only when ctx refcount drops to 0
    64b1e3f90491 crypto: arm64/gcm - Select AEAD for GHASH_ARM64_CE
    2e306d74adcf drm/vc4: hdmi: Correct HDMI timing registers for interlaced modes
    36f797a10f30 drm/vc4: hdmi: Fix timings for interlaced modes
    717325e814d0 drm/vc4: hdmi: Limit the BCM2711 to the max without scrambling
    c015d12317c5 drm/vc4: hdmi: Don't access the connector state in reset if kmalloc fails
    ba8ffdb450d4 drm/vc4: hdmi: Avoid full hdmi audio fifo writes
    b161b2706776 drm/vc4: hdmi: Remove firmware logic for MAI threshold setting
    cefc8e7e0ea4 drm/vc4: dsi: Add correct stop condition to vc4_dsi_encoder_disable iteration
    acfca24ec0b7 drm/vc4: dsi: Fix dsi0 interrupt support
    97c2fa3a7b9e drm/vc4: dsi: Register dsi0 as the correct vc4 encoder type
    6cc1edddcf02 drm/vc4: dsi: Introduce a variant structure
    79374da86285 drm/vc4: dsi: Use snprintf for the PHY clocks instead of an array
    1f98187a7c15 drm/vc4: drv: Remove the DSI pointer in vc4_drv
    ed2f42bd8021 drm/vc4: dsi: Correct pixel order for DSI0
    ddf6af3b0b3f drm/vc4: dsi: Correct DSI divider calculations
    f517da5234f8 drm/vc4: plane: Fix margin calculations for the right/bottom edges
    5aec7cb08bb7 drm/vc4: plane: Remove subpixel positioning check
    611f86965df0 media: tw686x: Fix memory leak in tw686x_video_init
    7f7336ce3568 media: v4l2-mem2mem: prevent pollerr when last_buffer_dequeued is set
    bb480bffc1fd media: hdpvr: fix error value returns in hdpvr_read
    f57699a9b66e drm/mcde: Fix refcount leak in mcde_dsi_bind
    6a43236ebcfb drm: bridge: adv7511: Add check for mipi_dsi_driver_register
    87af9b0b4566 crypto: ccp - During shutdown, check SEV data pointer before using
    5f8a6e8f14d6 test_bpf: fix incorrect netdev features
    45e1dbe5f6e1 drm/radeon: fix incorrrect SPDX-License-Identifiers
    e7d6cac69675 wifi: iwlegacy: 4965: fix potential off-by-one overflow in il4965_rs_fill_link_cmd()
    eccd7c3e2596 ath9k: fix use-after-free in ath9k_hif_usb_rx_cb
    918f42ca1d3f media: tw686x: Register the irq at the end of probe
    d45eaf41140c crypto: sun8i-ss - fix infinite loop in sun8i_ss_setup_ivs()
    81cb31756888 i2c: Fix a potential use after free
    d0412d8f693e net: fix sk_wmem_schedule() and sk_rmem_schedule() errors
    0e70bb9cdb0e crypto: sun8i-ss - fix error codes in allocate_flows()
    e8673fbc10ff crypto: sun8i-ss - do not allocate memory when handling hash requests
    648b1bb29a46 drm: adv7511: override i2c address of cec before accessing it
    259773fc8742 virtio-gpu: fix a missing check to avoid NULL dereference
    e28aa4f4674d i2c: npcm: Correct slave role behavior
    385f6ef4de3d i2c: npcm: Remove own slave addresses 2:10
    5ce9cff37181 drm/mediatek: Add pull-down MIPI operation in mtk_dsi_poweroff function
    b54bc0013d7b drm/mediatek: Separate poweron/poweroff from enable/disable and define new funcs
    0cb658988511 drm/mediatek: Modify dsi funcs to atomic operations
    8508d6d23a24 drm/radeon: fix potential buffer overflow in ni_set_mc_special_registers()
    ac225376438c ath11k: Fix incorrect debug_mask mappings
    648d3c87141f drm/mipi-dbi: align max_chunk to 2 in spi_transfer
    a2c45f8c3d18 ath11k: fix netdev open race
    58fd794675f0 wifi: rtlwifi: fix error codes in rtl_debugfs_set_write_h2c()
    71426d31d0ee drm/st7735r: Fix module autoloading for Okaya RH128128T
    fd98ccda50a4 ath10k: do not enforce interrupt trigger type
    bcc05372a2c2 drm/bridge: tc358767: Make sure Refclk clock are enabled
    c038b9b73389 drm/bridge: tc358767: Move (e)DP bridge endpoint parsing into dedicated function
    f312bc33caa0 pwm: lpc18xx-sct: Convert to devm_platform_ioremap_resource()
    6aaac1d9243b pwm: sifive: Shut down hardware only after pwmchip_remove() completed
    9073dbec8879 pwm: sifive: Ensure the clk is enabled exactly once per running PWM
    47902de24a46 pwm: sifive: Simplify offset calculation for PWMCMP registers
    6d7f7ffbcdb9 pwm: sifive: Don't check the return code of pwmchip_remove()
    b7e2d64d673a dm: return early from dm_pr_call() if DM device is suspended
    b3f5cc0cc0de thermal/tools/tmon: Include pthread and time headers in tmon.h
    7aa3a2559915 selftests/seccomp: Fix compile warning when CC=clang
    e06a31e61f96 nohz/full, sched/rt: Fix missed tick-reenabling bug in dequeue_task_rt()
    298417471e82 drivers/perf: arm_spe: Fix consistency of SYS_PMSCR_EL1.CX
    a1891d3df719 arm64: dts: qcom: qcs404: Fix incorrect USB2 PHYs assignment
    a7753a260e53 soc: qcom: Make QCOM_RPMPD depend on PM
    332e555dca07 regulator: of: Fix refcount leak bug in of_get_regulation_constraints()
    1ed71e6bcedb blktrace: Trace remapped requests correctly
    1cb303240642 block: remove the request_queue to argument request based tracepoints
    d125b13a6682 hwmon: (drivetemp) Add module alias
    ed6ae2381150 blk-mq: don't create hctx debugfs dir until q->debugfs_dir is created
    0ca556256fb4 erofs: avoid consecutive detection for Highmem memory
    8dee22b4576d arm64: tegra: Fix SDMMC1 CD on P2888
    a1e238690916 arm64: dts: mt7622: fix BPI-R64 WPS button
    7eafa9a1aa52 bus: hisi_lpc: fix missing platform_device_put() in hisi_lpc_acpi_probe()
    7fcf4401d539 ARM: dts: qcom: pm8841: add required thermal-sensor-cells
    97713ed9b6cc soc: qcom: aoss: Fix refcount leak in qmp_cooling_devices_register
    07aea6819d56 soc: qcom: ocmem: Fix refcount leak in of_get_ocmem
    71042279b161 ACPI: APEI: Fix _EINJ vs EFI_MEMORY_SP
    5f29b045da22 regulator: qcom_smd: Fix pm8916_pldo range
    22e6d8bcde8e cpufreq: zynq: Fix refcount leak in zynq_get_revision
    d294d60dc685 ARM: OMAP2+: Fix refcount leak in omap3xxx_prm_late_init
    14bac0c7035b ARM: OMAP2+: Fix refcount leak in omapdss_init_of
    fdcb1fdbdc15 ARM: dts: qcom: mdm9615: add missing PMIC GPIO reg
    c32d5491c841 block: fix infinite loop for invalid zone append
    2d9a1a96eb0a soc: fsl: guts: machine variable might be unset
    4cea8391778a locking/lockdep: Fix lockdep_init_map_*() confusion
    87e415aec4e6 arm64: cpufeature: Allow different PMU versions in ID_DFR0_EL1
    30119131e3ac hexagon: select ARCH_WANT_LD_ORPHAN_WARN
    9d744229cdbe ARM: dts: ast2600-evb: fix board compatible
    75a24da2b9fe ARM: dts: ast2500-evb: fix board compatible
    2c07688d3e89 x86/pmem: Fix platform-device leak in error path
    6a28f363d390 arm64: dts: renesas: Fix thermal-sensors on single-zone sensors
    80c469e63bfa soc: amlogic: Fix refcount leak in meson-secure-pwrc.c
    6cd8ba0c0b06 soc: renesas: r8a779a0-sysc: Fix A2DP1 and A2CV[2357] PDR values
    6771609e1933 Input: atmel_mxt_ts - fix up inverted RESET handler
    11903c5457fd ARM: dts: imx7d-colibri-emmc: add cpu1 supply
    b8b1f0d74ff2 ACPI: processor/idle: Annotate more functions to live in cpuidle section
    91e7f04f53e6 ARM: bcm: Fix refcount leak in bcm_kona_smc_init
    f6a6cc6d577a arm64: dts: renesas: beacon: Fix regulator node names
    2691b8780f88 meson-mx-socinfo: Fix refcount leak in meson_mx_socinfo_init
    ccf56ea52b3e ARM: findbit: fix overflowing offset
    71fc6e0dcaca spi: spi-rspi: Fix PIO fallback on RZ platforms
    4234c5f34e71 powerpc/64s: Disable stack variable initialisation for prom_init
    adbfdaacde18 selinux: Add boundary check in put_entry()
    003a456ae6f7 PM: hibernate: defer device probing when resuming from hibernation
    70bccff899cf firmware: tegra: Fix error check return value of debugfs_create_file()
    c2e53a1b0746 ARM: shmobile: rcar-gen2: Increase refcount for new reference
    f48cec57367a arm64: dts: allwinner: a64: orangepi-win: Fix LED node name
    fcdc1e13e0db arm64: dts: qcom: ipq8074: fix NAND node name
    931d0a574caf ACPI: LPSS: Fix missing check in register_device_clock()
    d257d9b0a44c ACPI: PM: save NVS memory for Lenovo G40-45
    85bc8689a702 ACPI: EC: Drop the EC_FLAGS_IGNORE_DSDT_GPE quirk
    def469523dfb ACPI: EC: Remove duplicate ThinkPad X1 Carbon 6th entry from DMI quirks
    88d556029a78 ARM: OMAP2+: display: Fix refcount leak bug
    43157bc5f9dc spi: synquacer: Add missing clk_disable_unprepare()
    607570808af2 ARM: dts: BCM5301X: Add DT for Meraki MR26
    9213e5a397ba ARM: dts: imx6ul: fix qspi node compatible
    976db15fee3a ARM: dts: imx6ul: fix lcdif node compatible
    6045ac40e323 ARM: dts: imx6ul: fix csi node compatible
    c7ce841f48df ARM: dts: imx6ul: fix keypad compatible
    15af2deb19e4 ARM: dts: imx6ul: change operating-points to uint32-matrix
    278aa4c73dad ARM: dts: imx6ul: add missing properties for sram
    695a3c2a8273 wait: Fix __wait_event_hrtimeout for RT/DL tasks
    2b8c55900d46 irqchip/mips-gic: Check the return value of ioremap() in gic_of_init()
    8dfb4a99b1c8 genirq: GENERIC_IRQ_IPI depends on SMP
    f460141f29f0 irqchip/mips-gic: Only register IPI domain when SMP is enabled
    4aba3247af12 genirq: Don't return error on missing optional irq_request_resources()
    d08bb199a406 ext2: Add more validity checks for inode counts
    353b4673d01c arm64: fix oops in concurrently setting insn_emulation sysctls
    913f1732377c arm64: Do not forget syscall when starting a new thread.
    fb086aea3910 x86: Handle idle=nomwait cmdline properly for x86_idle
    48c390021058 epoll: autoremove wakers even more aggressively
    80977126bc20 netfilter: nf_tables: fix null deref due to zeroed list head
    0cc5c6b7567d netfilter: nf_tables: do not allow RULE_ID to refer to another chain
    9e7dcb88ec8e netfilter: nf_tables: do not allow CHAIN_ID to refer to another table
    1a4b18b1ff11 netfilter: nf_tables: do not allow SET_ID to refer to another table
    19bf7199c3a9 lockdep: Allow tuning tracing capacity constants.
    f294829fb47e usb: dwc3: gadget: fix high speed multiplier setting
    fc2a039cdb3d usb: dwc3: gadget: refactor dwc3_repare_one_trb
    9a3a61bd730c arm64: dts: uniphier: Fix USB interrupts for PXs3 SoC
    63228d832832 ARM: dts: uniphier: Fix USB interrupts for PXs2 SoC
    4d7da7e565c3 USB: HCD: Fix URB giveback issue in tasklet function
    37c7fe9b3175 usb: typec: ucsi: Acknowledge the GET_ERROR_STATUS command completion
    847b9273dd61 coresight: Clear the connection field properly
    807adf6ffa8c MIPS: cpuinfo: Fix a warning for CONFIG_CPUMASK_OFFSTACK
    26d767990e16 powerpc/powernv: Avoid crashing if rng is NULL
    3db593ab8e42 powerpc/ptdump: Fix display of RW pages on FSL_BOOK3E
    b326b8d6ae4c powerpc/fsl-pci: Fix Class Code of PCIe Root Port
    39c51471efd2 PCI: Add defines for normal and subtractive PCI bridges
    23c2f921f246 ia64, processor: fix -Wincompatible-pointer-types in ia64_get_irr()
    2f36ba13cb5b media: [PATCH] pci: atomisp_cmd: fix three missing checks on list iterator
    5fd4ffa2372a md-raid10: fix KASAN warning
    e0bdaed154e5 md-raid: destroy the bitmap after destroying the thread
    3bdda8656a1b serial: mvebu-uart: uart2 error bits clearing
    cfe17ae313aa fuse: limit nsec
    e63ea5814ba1 scsi: qla2xxx: Zero undefined mailbox IN registers
    6f18b5ad2d55 scsi: qla2xxx: Fix incorrect display of max frame size
    408bfa1489a3 scsi: sg: Allow waiting for commands to complete on removed device
    fb1888205c07 iio: light: isl29028: Fix the warning in isl29028_remove()
    fb7eea3946d3 mtd: rawnand: arasan: Update NAND bus clock instead of system clock
    15d0aeb01785 drm/amdgpu: Check BO's requested pinning domains against its preferred_domains
    55f558442742 drm/nouveau/acpi: Don't print error when we get -EINPROGRESS from pm_runtime
    92050011e09d drm/nouveau: Don't pm_runtime_put_sync(), only pm_runtime_put_autosuspend()
    ca0742a8ed54 drm/nouveau: fix another off-by-one in nvbios_addr
    de63dbc29681 drm/vc4: hdmi: Disable audio if dmas property is present but empty
    1ff71d4f532b drm/gem: Properly annotate WW context on drm_gem_lock_reservations() error
    043f4642c168 parisc: io_pgetevents_time64() needs compat syscall in 32-bit compat mode
    fc3918d70bbe parisc: Check the return value of ioremap() in lba_driver_probe()
    b0dfba6d3bf2 parisc: Fix device names in /proc/iomem
    542d2e799d53 ovl: drop WARN_ON() dentry is NULL in ovl_encode_fh()
    135199a2edd4 usbnet: Fix linkwatch use-after-free on disconnect
    d65c3fcd6dfa fbcon: Fix accelerated fbdev scrolling while logo is still shown
    16badd998736 fbcon: Fix boundary checks for fbcon=vc:n1-n2 parameters
    826955eebc47 thermal: sysfs: Fix cooling_device_stats_setup() error code path
    60a8f0e62aeb fs: Add missing umask strip in vfs_tmpfile
    cf65b5bfac3d vfs: Check the truncate maximum size in inode_newsize_ok()
    5c6c65681f39 tty: vt: initialize unicode screen buffer
    f9b244e54111 ALSA: hda/realtek: Add a quirk for HP OMEN 15 (8786) mute LED
    7b9ee47c285f ALSA: hda/realtek: Add quirk for another Asus K42JZ model
    c366ccad5bce ALSA: hda/cirrus - support for iMac 12,1 model
    f2b72c51c2cf ALSA: hda/conexant: Add quirk for LENOVO 20149 Notebook model
    2613baa3ab21 mm/mremap: hold the rmap lock in write mode when moving page table entries.
    0a69f1f84207 xfs: fix I_DONTCACHE
    e32bb2428104 xfs: only set IOMAP_F_SHARED when providing a srcmap to a write
    f5f3e54f8116 mm: Add kvrealloc()
    3ff605513f31 riscv: set default pm_power_off to NULL
    230e369d4997 KVM: x86: Tag kvm_mmu_x86_module_init() with __init
    0dd8ba6670f4 KVM: x86: Set error code to segment selector on LLDT/LTR non-canonical #GP
    68ba319b8888 KVM: x86: Mark TSS busy during LTR emulation _after_ all fault checks
    b670a585498e KVM: nVMX: Let userspace set nVMX MSR to any _host_ supported value
    e9c55562b393 KVM: s390: pv: don't present the ecall interrupt twice
    8bb683490278 KVM: SVM: Don't BUG if userspace injects an interrupt with GIF=0
    860e3343958a KVM: nVMX: Snapshot pre-VM-Enter DEBUGCTL for !nested_run_pending case
    ab4805c2638c KVM: nVMX: Snapshot pre-VM-Enter BNDCFGS for !nested_run_pending case
    40593c589888 HID: wacom: Don't register pad_input for touch switch
    0ba645def77b HID: wacom: Only report rotation for art pen
    57f2ee517dec add barriers to buffer_uptodate and set_buffer_uptodate
    6dece5ad6e1e wifi: mac80211_hwsim: use 32-bit skb cookie
    d400222f4959 wifi: mac80211_hwsim: add back erroneously removed cast
    eb8fc4277b62 wifi: mac80211_hwsim: fix race condition in pending packet
    9a22b1f7daa6 ALSA: hda/realtek: Add quirk for HP Spectre x360 15-eb0xxx
    d909d9bdc882 ALSA: hda/realtek: Add quirk for Clevo NV45PZ
    348620464a5c ALSA: bcd2000: Fix a UAF bug on the error path of probing
    101e0c052d4f scsi: Revert "scsi: qla2xxx: Fix disk failure to rediscover"
    14eb40fd79c4 Revert "pNFS: nfs3_set_ds_client should set NFS_CS_NOPING"
    4ad6a94c68a1 x86: link vdso and boot with -z noexecstack --no-warn-rwx-segments
    8f4f2c9b98e4 Makefile: link with -z noexecstack --no-warn-rwx-segments

(From OE-Core rev: cfa124b8a4596a1cd9f9c2d1f1c21356b0bc2e60)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-09-03 13:09:49 +01:00
Bruce Ashfield
7cb1e0c999 linux-yocto/5.10: update to v5.10.136
Updating  to the latest korg -stable release that comprises
the following commits:

    6eae1503ddf9 Linux 5.10.136
    1bea03b44ea2 x86/speculation: Add LFENCE to RSB fill sequence
    509c2c9fe75e x86/speculation: Add RSB VM Exit protections
    e5b556a7b271 macintosh/adb: fix oob read in do_adb_query() function
    75742ffc3630 Bluetooth: btusb: Add Realtek RTL8852C support ID 0x13D3:0x3586
    40e2e7f1bf03 Bluetooth: btusb: Add Realtek RTL8852C support ID 0x13D3:0x3587
    9c45bb363e26 Bluetooth: btusb: Add Realtek RTL8852C support ID 0x0CB8:0xC558
    3a292cb18132 Bluetooth: btusb: Add Realtek RTL8852C support ID 0x04C5:0x1675
    1a2a2e34569c Bluetooth: btusb: Add Realtek RTL8852C support ID 0x04CA:0x4007
    e81f95d03060 Bluetooth: btusb: Add support of IMC Networks PID 0x3568
    918ce738e28b Bluetooth: hci_bcm: Add DT compatible for CYW55572
    033a4455d9d6 Bluetooth: hci_bcm: Add BCM4349B1 variant
    50763f0ac070 selftests: KVM: Handle compiler optimizations in ucall
    a56e1ccdb7bb tools/kvm_stat: fix display of error when multiple processes are found
    3c77292d52b3 crypto: arm64/poly1305 - fix a read out-of-bound
    e2c63e1afdb3 ACPI: APEI: Better fix to avoid spamming the console with old error logs
    6ccff35588d2 ACPI: video: Shortening quirk list by identifying Clevo by board_name only
    a2b472b152f9 ACPI: video: Force backlight native for some TongFang devices
    a01a4e9f5dc9 tun: avoid double free in tun_free_netdev
    1069087e2fb1 selftests/bpf: Check dst_port only on the client socket
    042fb1c281f3 selftests/bpf: Extend verifier and bpf_sock tests for dst_port loads
    78c8397132dd ath9k_htc: fix NULL pointer dereference at ath9k_htc_tx_get_packet()
    4f3b85233660 ath9k_htc: fix NULL pointer dereference at ath9k_htc_rxep()
    45b69848a2fe x86/speculation: Make all RETbleed mitigations 64-bit only

(From OE-Core rev: 3dbf621c295be2bdf1009dd52f1a4bfe55806173)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-09-03 13:09:49 +01:00
Andrei Gherzan
2823418c13 linux-yocto: Fix COMPATIBLE_MACHINE regex match
With the current regex expression, a machine that is not part of the
compatible could match the regex expression.

For example, consider the following COMPATIBLE_MACHINE:

COMPATIBLE_MACHINE = "qemuarm|qemuarm64"

A machine definition bringing in "qemuarm-foo" would match against the
COMPATIBLE_MACHINE pattern above (see base.bbclass for implementation
details).

Fix this by matching the start and the end of the string.

(From OE-Core rev: 26a6fdef2a6c91c7ad3dde932596a17ffed6ca7b)

Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-09-03 13:09:49 +01:00
Bruce Ashfield
520fca8908 linux-yocto/5.15: update to v5.15.62
Updating  to the latest korg -stable release that comprises
the following commits:

    a0a7e0b2b8b2 Linux 5.15.62
    2a9114b3ec6f btrfs: raid56: don't trust any cached sector in __raid56_parity_recover()
    0d9c713cc30f btrfs: only write the sectors in the vertical stripe which has data stripes
    3eb602ad6a94 x86/ftrace: Use alternative RET encoding
    543138c55518 x86/ibt,ftrace: Make function-graph play nice
    f6632763484c Revert "x86/ftrace: Use alternative RET encoding"
    cb69d4d6f709 ksmbd: fix heap-based overflow in set_ntacl_dacl()
    c76b216753c9 ksmbd: prevent out of bound read for SMB2_WRITE
    5430db94434f net_sched: cls_route: disallow handle of 0
    c12f0e6126ad tee: add overflow check in register_shm_helper()
    3746d62ecf1c io_uring: use original request task for inflight tracking
    374bf3fc1f53 Linux 5.15.61
    17bf429b913b scsi: lpfc: Resolve some cleanup issues following SLI path refactoring
    6e99860de6f4 scsi: lpfc: Fix element offset in __lpfc_sli_release_iocbq_s4()
    9a570069cdbb scsi: lpfc: Fix locking for lpfc_sli_iocbq_lookup()
    f27259515797 drm/bridge: Move devm_drm_of_get_bridge to bridge/panel.c
    2711bedab26c Bluetooth: L2CAP: Fix l2cap_global_chan_by_psm regression
    449928869475 Revert "net: usb: ax88179_178a needs FLAG_SEND_ZLP"
    fa3040688d75 io_uring: mem-account pbuf buckets
    50446ac34545 drm/meson: Fix refcount leak in meson_encoder_hdmi_init
    a8278cf3f00d drm/msm: Fix dirtyfb refcounting
    3cfd07084b7e tracing/perf: Avoid -Warray-bounds warning for __rel_loc macro
    1889f4135fb2 drm/vc4: change vc4_dma_range_matches from a global to static
    3131a20eee20 net: phy: smsc: Disable Energy Detect Power-Down in interrupt mode
    a25f45ff8856 drm/bridge: tc358767: Fix (e)DP bridge endpoint parsing in dedicated function
    276e1cac8085 Revert "s390/smp: enforce lowcore protection on CPU restart"
    93d28e50cf72 Revert "mwifiex: fix sleep in atomic context bugs caused by dev_coredumpv"
    621b596b29e5 crypto: lib/blake2s - reduce stack frame usage in self test
    aa480f7d74b9 tcp: fix over estimation in sk_forced_mem_schedule()
    4db561ae4a90 mac80211: fix a memory leak where sta_info is not freed
    57bbb691a93b net_sched: cls_route: remove from list when handle is 0
    f467478d15fa tracing: Use a struct alignof to determine trace event field alignment
    5bafa7df79de powerpc: Fix eh field when calling lwarx on PPC32
    c98e956ef489 xen-blkfront: Apply 'feature_persistent' parameter when connect
    ef26b5d530d4 xen-blkback: Apply 'feature_persistent' parameter when connect
    7304be4c985d xen-blkback: fix persistent grants negotiation
    9e7dab7edabd tpm: eventlog: Fix section mismatch for DEBUG_SECTION_MISMATCH
    84075af9fb4a KEYS: asymmetric: enforce SM2 signature use pkey algo
    1be97463696c ext4: fix race when reusing xattr blocks
    470f0a5ef519 ext4: unindent codeblock in ext4_xattr_block_set()
    51877de35d21 ext4: use kmemdup() to replace kmalloc + memcpy
    0b885394fd00 ext4: remove EA inode entry from mbcache on inode eviction
    19dac09bd956 ext4: make sure ext4_append() always allocates new block
    ef6e69026d88 ext4: check if directory block is within i_size
    30dfb75e1f86 ext4: fix warning in ext4_iomap_begin as race between bmap and write
    9a080f8b085a ext4: correct the misjudgment in ext4_iget_extra_inode
    7dbba7916920 ext4: correct max_inline_xattr_value_size computing
    21f6bd5cbdab ext4: fix use-after-free in ext4_xattr_set_entry
    e6321fda51e5 ext4: add EXT4_INODE_HAS_XATTR_SPACE macro in xattr.h
    133b80d5582e ext4: fix extent status tree race in writeback error recovery path
    88bcc518e4ad ext4: update s_overhead_clusters in the superblock during an on-line resize
    3c0a5a0e1c66 tracing: Avoid -Warray-bounds warning for __rel_loc macro
    994dea8549f2 tracing: Add '__rel_loc' using trace event macros
    50235d9a1f1f dm raid: fix address sanitizer warning in raid_resume
    4c233811a495 dm raid: fix address sanitizer warning in raid_status
    34bef00a325a KVM: nVMX: Attempt to load PERF_GLOBAL_CTRL on nVMX xfer iff it exists
    e365c817beef KVM: VMX: Add helper to check if the guest PMU has PERF_GLOBAL_CTRL
    1eedac05b2f3 KVM: x86/pmu: Ignore pmu->global_ctrl check if vPMU doesn't support global_ctrl
    9f1a17222a8b KVM: VMX: Mark all PERF_GLOBAL_(OVF)_CTRL bits reserved if there's no vPMU
    81f723a006e7 KVM: x86/pmu: Introduce the ctrl_mask value for fixed counter
    0ceef1c56875 powerpc/powernv/kvm: Use darn for H_RANDOM on Power9
    0eeb7037a479 ACPI: CPPC: Do not prevent CPPC from working in the future
    2cc23122653f btrfs: properly flag filesystem with BTRFS_FEATURE_INCOMPAT_BIG_METADATA
    b5c541758650 btrfs: reset block group chunk force if we have to wait
    b367f125c80f btrfs: ensure pages are unlocked on cow_file_range() failure
    0b7f5d7a4d2a block: don't allow the same type rq_qos add more than once
    b055781dd947 block: remove the struct blk_queue_ctx forward declaration
    d2cbdbe22b5f locking/csd_lock: Change csdlock_debug from early_param to __setup
    96ba981f09a9 timekeeping: contribute wall clock to rng on time change
    6b841a891d28 ARM: remove some dead code
    7a7188df3eae net/9p: Initialize the iounit field during fid creation
    f83131a3071a dm thin: fix use-after-free crash in dm_sm_register_threshold_callback
    779fd8cb621e kexec, KEYS, s390: Make use of built-in and secondary keyring for signature verification
    9769bd964d54 dm writecache: set a default MAX_WRITEBACK_JOBS
    10bc71642fad tty: 8250: Add support for Brainboxes PX cards.
    6f47a7594bcf serial: 8250: Add proper clock handling for OxSemi PCIe devices
    96f2c1685b1c serial: 8250: Fold EndRun device support into OxSemi Tornado code
    b49c3b3a911d serial: 8250_pci: Replace dev_*() by pci_*() macros
    5baacb540c5a serial: 8250_pci: Refactor the loop in pci_ite887x_init()
    55e5487ae294 PCI: qcom: Power on PHY before IPQ8074 DBI register accesses
    c5d3873d3e1c PCI/AER: Iterate over error counters instead of error strings
    0b4c0003aeda iommu/vt-d: avoid invalid memory access via node_online(NUMA_NO_NODE)
    f2145a1bf7ab KVM: x86: Signal #GP, not -EPERM, on bad WRMSR(MCi_CTL/STATUS)
    1f71d1f7f491 KVM: set_msr_mce: Permit guests to ignore single-bit ECC errors
    925cc6d6ff8a intel_th: pci: Add Raptor Lake-S CPU support
    6d3c02fd9600 intel_th: pci: Add Raptor Lake-S PCH support
    df6faa9798eb intel_th: pci: Add Meteor Lake-P support
    2b5ef6430c21 scsi: lpfc: Remove extra atomic_inc on cmd_pending in queuecommand after VMID
    b4543dbea84c scsi: lpfc: SLI path split: Refactor SCSI paths
    c56cc7fefc31 scsi: lpfc: SLI path split: Refactor fast and slow paths to native SLI4
    1c5e670d6a5a scsi: lpfc: SLI path split: Refactor lpfc_iocbq
    eb36ec3039ce scsi: lpfc: Fix EEH support for NVMe I/O
    0c29e149b6bb firmware: arm_scpi: Ensure scpi_info is not assigned if the probe fails
    b574d1e3e9a2 usbnet: smsc95xx: Fix deadlock on runtime resume
    eaf3a094d892 usbnet: smsc95xx: Forward PHY interrupts to PHY driver to avoid polling
    09201006dac9 usbnet: smsc95xx: Avoid link settings race on interrupt reception
    048872438876 usbnet: smsc95xx: Don't clear read-only PHY interrupt
    c232db672713 drm/vc4: drv: Adopt the dma configuration from the HVS or V3D component
    4a54c13786c5 drm/dp/mst: Read the extended DPCD capabilities during system resume
    3dd33a09f5dc crypto: blake2s - remove shash module
    f96a9815b466 drm/mediatek: Keep dsi as LP00 before dcs cmds transfer
    8aa68065a877 drm/mediatek: Allow commands to be sent during video mode
    1e0ca3d809c3 spmi: trace: fix stack-out-of-bound access in SPMI tracing functions
    8cbc36e7e37a __follow_mount_rcu(): verify that mount_lock remains unchanged
    60c981f4b787 Input: gscps2 - check return value of ioremap() in gscps2_probe()
    9e255ed238fc posix-cpu-timers: Cleanup CPU timers before freeing them during exec
    c9c965fa1974 SMB3: fix lease break timeout when multiple deferred close handles for the same file.
    c273671ae826 x86/olpc: fix 'logical not is only applied to the left hand side'
    1cbf3882cb37 x86/kprobes: Update kcb status flag after singlestepping
    7c91c8da431d ftrace/x86: Add back ftrace_expected assignment
    0b00cb428f74 x86/bugs: Enable STIBP for IBPB mitigated RETBleed
    15f67058a1ee scsi: qla2xxx: Fix losing FCP-2 targets during port perturbation tests
    6f1d5e6979c1 scsi: qla2xxx: Fix losing target when it reappears during delete
    420e449e21b9 scsi: qla2xxx: Fix losing FCP-2 targets on long port disable with I/Os
    3f1102898b7b scsi: qla2xxx: Wind down adapter after PCIe error
    3b38c7f0c6ac scsi: qla2xxx: Fix erroneous mailbox timeout after PCI error injection
    1209da5278eb scsi: qla2xxx: Fix excessive I/O error messages by default
    b7bae3886a30 scsi: qla2xxx: Fix crash due to stale SRB access around I/O timeouts
    a76a155851fc scsi: qla2xxx: Turn off multi-queue for 8G adapters
    505fb1cc4328 scsi: qla2xxx: Fix discovery issues in FC-AL topology
    27a7805a19a7 scsi: qla2xxx: Fix imbalance vha->vref_count
    781a7dabeac2 scsi: zfcp: Fix missing auto port scan and thus missing target ports
    f5183d66c4f4 scsi: ufs: core: Correct ufshcd_shutdown() flow
    ce50d94afcb8 video: fbdev: s3fb: Check the size of screen before memset_io()
    0701df594bc1 video: fbdev: arkfb: Check the size of screen before memset_io()
    4a3cef1eaced video: fbdev: vt8623fb: Check the size of screen before memset_io()
    fff6bb19d56c f2fs: do not allow to decompress files have FI_COMPRESS_RELEASED
    05244b62ae94 f2fs: allow compression for mmap files in compress_mode=user
    608d4c5f9f4d x86/entry: Build thunk_$(BITS) only if CONFIG_PREEMPTION=y
    748d2e9585ae sched/core: Do not requeue task on CPU excluded from cpus_mask
    dd960a0ddd43 sched: Remove the limitation of WF_ON_CPU on wakelist if wakee cpu is idle
    f9ab9bcf53b6 sched: Fix the check of nr_running at queue wakelist
    1584dc3da7b4 tools/thermal: Fix possible path truncations
    236c1502520b video: fbdev: arkfb: Fix a divide-by-zero bug in ark_set_pixclock()
    3bb94ff1e794 x86/numa: Use cpumask_available instead of hardcoded NULL check
    147f66d22f58 sched, cpuset: Fix dl_cpu_busy() panic due to empty cs->cpus_allowed
    e51b98166334 sched/deadline: Merge dl_task_can_attach() and dl_cpu_busy()
    8fb62a576178 scripts/faddr2line: Fix vmlinux detection on arm64
    7f060ad6cb86 genelf: Use HAVE_LIBCRYPTO_SUPPORT, not the never defined HAVE_LIBCRYPTO
    e1c355ec7df1 powerpc/pci: Fix PHB numbering when using opal-phbid
    31dad89b16ed x86/bus_lock: Don't assume the init value of DEBUGCTLMSR.BUS_LOCK_DETECT to be zero
    a1edb85e60fd kprobes: Forbid probing on trampoline and BPF code areas
    533a06858b01 perf symbol: Fail to read phdr workaround
    5eaa93caa63a powerpc/cell/axon_msi: Fix refcount leak in setup_msi_msg_address
    ea494e8a9852 powerpc/xive: Fix refcount leak in xive_get_max_prio
    69e9fa07b229 powerpc/spufs: Fix refcount leak in spufs_init_isolated_loader
    74715fe0726c f2fs: fix to remove F2FS_COMPR_FL and tag F2FS_NOCOMP_FL at the same time
    9536d5451cf4 s390/smp: enforce lowcore protection on CPU restart
    70caac180f14 s390/maccess: rework absolute lowcore accessors
    ac0a3e2131bd s390/smp: cleanup control register update routines
    a002b8641254 s390/smp: cleanup target CPU callback starting
    9287df436294 s390/dump: fix os_info virtual vs physical address confusion
    cf0e42eb04c7 tty: serial: fsl_lpuart: correct the count of break characters
    ef0f4eeaba24 powerpc/pci: Prefer PCI domain assignment via DT 'linux,pci-domain' and alias
    df466a61f699 powerpc/iommu: Fix iommu_table_in_use for a small default DMA window case
    5414409ada0c powerpc/32: Do not allow selection of e5500 or e6500 CPUs on PPC32
    14965b8e2952 powerpc/32: Call mmu_mark_initmem_nx() regardless of data block mapping.
    96ead6679803 ASoC: mchp-spdifrx: disable end of block interrupt on failures
    8301c204db28 video: fbdev: sis: fix typos in SiS_GetModeID()
    29f06f1905c3 video: fbdev: amba-clcd: Fix refcount leak bugs
    f28764d10e9f watchdog: armada_37xx_wdt: check the return value of devm_ioremap() in armada_37xx_wdt_probe()
    84ddf527f907 watchdog: sp5100_tco: Fix a memory leak of EFCH MMIO resource
    27d0c621225d ASoC: audio-graph-card: Add of_node_put() in fail path
    642ebdd9579d fuse: Remove the control interface for virtio-fs
    509a5cb39019 ASoC: qcom: q6dsp: Fix an off-by-one in q6adm_alloc_copp()
    2e1b17ec0423 ASoC: imx-card: use snd_pcm_format_t type for asrc_format
    8ea7f75b87fa ASoC: fsl_easrc: use snd_pcm_format_t type for sample_format
    78263868dbe5 ASoC: fsl-asoc-card: force cast the asrc_format type
    10961cbaea2a ASoC: fsl_asrc: force cast the asrc_format type
    b08c3473ee1e s390/zcore: fix race when reading from hardware system area
    f1415771f6a1 s390/crash: fix incorrect number of bytes to copy to user space
    2165fd2bae8a s390/maccess: fix semantics of memcpy_real() and its callers
    ceea1bc15310 s390/dump: fix old lowcore virtual vs physical address confusion
    3ea02fc5d488 perf tools: Fix dso_id inode generation comparison
    c7d4e6cdd14f iommu/arm-smmu: qcom_iommu: Add of_node_put() when breaking out of loop
    facd31bbc799 mfd: max77620: Fix refcount leak in max77620_initialise_fps
    a8aa2a76eec7 mfd: t7l66xb: Drop platform disable callback
    0386a985a802 remoteproc: sysmon: Wait for SSCTL service to come up
    48042b342eae remoteproc: qcom: pas: Check if coredump is enabled
    3336e7c0767f proc: fix a dentry lock race between release_task and lookup
    f28e4d214839 lib/smp_processor_id: fix imbalanced instrumentation_end() call
    74824db8b2fa kfifo: fix kfifo_to_user() return type
    ece6cfe62a10 rpmsg: qcom_smd: Fix refcount leak in qcom_smd_parse_edge
    f543a9d19c29 MIPS: Fixed __debug_virt_addr_valid()
    8324649b0035 net: 9p: fix refcount leak in p9_read_work() error handling
    273c16d93f86 9p: Add client parameter to p9_req_put()
    3ac76cdab956 9p: Drop kref usage
    eb3eed52a77c 9p: fix a bunch of checkpatch warnings
    79f1a945bcaf iommu/exynos: Handle failed IOMMU device registration properly
    9a06340c9d95 serial: 8250_bcm7271: Save/restore RTS in suspend/resume
    3d69d86b3e9d ASoC: mt6359: Fix refcount leak bug
    1008e81163e8 swiotlb: fail map correctly with failed io_tlb_default_mem
    80f697b57f57 MIPS: vdso: Utilize __pa() for gic_pfn
    447e0f4be850 tty: n_gsm: fix missing corner cases in gsmld_poll()
    c94ea1a49eb8 tty: n_gsm: fix DM command
    fdcd4b065224 tty: n_gsm: fix wrong T1 retry count handling
    583cba5004f0 serial: 8250_fsl: Don't report FE, PE and OE twice
    79ed8856445b vfio/ccw: Do not change FSM state in subchannel event
    2ebb5a55d526 remoteproc: qcom: wcnss: Fix handling of IRQs
    fd3adcb84f7f ASoC: imx-card: Fix DSD/PDM mclk frequency
    7c69f70dc515 ASoC: qcom: Fix missing of_node_put() in asoc_qcom_lpass_cpu_platform_probe()
    e46bc8cacdb6 tty: n_gsm: fix resource allocation order in gsm_activate_mux()
    c9754e10f1a5 tty: n_gsm: fix race condition in gsmld_write()
    a7fa41552407 tty: n_gsm: fix packet re-transmission without open control channel
    ace28afbc63f tty: n_gsm: fix non flow control frames during mux flow off
    dd37f6573878 tty: n_gsm: fix missing timer to handle stalled links
    1018139cbb48 tty: n_gsm: fix wrong queuing behavior in gsm_dlci_data_output()
    dfa9b6d34aac tty: n_gsm: fix tty registration before control channel open
    3c8d5fdca881 tty: n_gsm: fix user open not possible at responder until initiator open
    794604fbd716 tty: n_gsm: Delete gsmtty open SABM frame when config requester
    76385916d093 ASoC: samsung: change gpiod_speaker_power and rx1950_audio from global to static variables
    87b1a9175f08 powerpc/perf: Optimize clearing the pending PMI and remove WARN_ON for PMI check in power_pmu_disable
    b01b18cd3d92 ASoC: samsung: h1940_uda1380: include proepr GPIO consumer header
    0dc1663e3fc2 remoteproc: imx_rproc: Fix refcount leak in imx_rproc_addr_init
    f0c151602f9b profiling: fix shift too large makes kernel panic
    49929f3ee8d3 selftests/livepatch: better synchronize test_klp_callbacks_busy
    cf112a52d758 remoteproc: k3-r5: Fix refcount leak in k3_r5_cluster_of_init
    2a7d605d74a2 rpmsg: mtk_rpmsg: Fix circular locking dependency
    f061773b7b55 rpmsg: char: Add mutex protection for rpmsg_eptdev_open()
    c81935d0e056 ASoC: codecs: wcd9335: move gains from SX_TLV to S8_TLV
    a24bb7fe7bab ASoC: codecs: msm8916-wcd-digital: move gains from SX_TLV to S8_TLV
    372b49ba0775 serial: 8250_dw: Store LSR into lsr_saved_flags in dw8250_tx_wait_empty()
    ad7fd9f652bc serial: 8250: dma: Allow driver operations before starting DMA transfers
    f945b12e65c5 serial: 8250: Export ICR access helpers for internal use
    994f2edeeb21 ASoC: mediatek: mt8173-rt5650: Fix refcount leak in mt8173_rt5650_dev_probe
    542861e5e2fa ASoC: codecs: da7210: add check for i2c_add_driver
    7dee72b1bcec ASoC: mt6797-mt6351: Fix refcount leak in mt6797_mt6351_dev_probe
    540c7b7385fb ASoC: mediatek: mt8173: Fix refcount leak in mt8173_rt5650_rt5676_dev_probe
    349242e6445a ASoC: imx-audmux: Silence a clang warning
    d69244d0ff1e ASoC: samsung: Fix error handling in aries_audio_probe
    1065c3853258 ASoC: cros_ec_codec: Fix refcount leak in cros_ec_codec_platform_probe
    13741bb88a93 opp: Fix error check in dev_pm_opp_attach_genpd()
    0edd9f8d13a8 usb: cdns3: Don't use priv_dev uninitialized in cdns3_gadget_ep_enable()
    e62f79827784 jbd2: fix assertion 'jh->b_frozen_data == NULL' failure when journal aborted
    5f9c70833ba6 ext4: recover csum seed of tmp_inode after migrating to extents
    b0e1268a8efd jbd2: fix outstanding credits assert in jbd2_journal_commit_transaction()
    70f70d54f06b block: ensure iov_iter advances for added pages
    a24f05f7ced7 block/bio: remove duplicate append pages code
    54e5b14c9b7f nvme: catch -ENODEV from nvme_revalidate_zones again
    a3f6aeba670e nvme: don't return an error from nvme_configure_metadata
    92a6233585dc nvme: disable namespace access for unsupported metadata
    52cd55a4fb2d nvme: define compat_ioctl again to unbreak 32-bit userspace.
    34552bf35f91 nvme: use command_id instead of req->tag in trace_nvme_complete_rq()
    87e7ba8b0b5b null_blk: fix ida error handling in null_add_dev()
    06f39bc5a7e9 block/rnbd-srv: Set keep_id to true after mutex_trylock
    2ceeb04252e6 RDMA/rxe: Fix error unwind in rxe_create_qp()
    bfb54ad9581d RDMA/rxe: Remove the is_user members of struct rxe_sq/rxe_rq/rxe_srq
    66c735c9a747 RDMA/rxe: Add memory barriers to kernel queues
    931990c820bb RDMA/mlx5: Add missing check for return value in get namespace flow
    0911cadd4f59 of/fdt: declared return type does not match actual return type
    128eeac87618 selftests: kvm: set rax before vmcall
    9fc8d3bee714 mm/mmap.c: fix missing call to vm_unacct_memory in mmap_region
    622ef885a89a android: binder: stop saving a pointer to the VMA
    e60d7e2462bf RDMA/srpt: Fix a use-after-free
    e7e853cdde17 RDMA/srpt: Introduce a reference count in struct srpt_device
    ca120c04bfa8 RDMA/srpt: Duplicate port name members
    28621b38ac57 platform/olpc: Fix uninitialized data in debugfs write
    e389e927e8f1 KVM: nVMX: Set UMIP bit CR4_FIXED1 MSR when emulating UMIP
    ee890b463398 mtd: spi-nor: fix spi_nor_spimem_setup_op() call in spi_nor_erase_{sector,chip}()
    bfa020146858 usb: cdns3: change place of 'priv_ep' assignment in cdns3_gadget_ep_dequeue(), cdns3_gadget_ep_enable()
    477c95578c3a USB: serial: fix tty-port initialized comments
    2988443802fc HID: amd_sfh: Handle condition of "no sensors"
    0d265155501e PCI: tegra194: Fix link up retry sequence
    472db7de9ff5 PCI: tegra194: Fix Root Port interrupt handling
    e4adb10bc5c6 RDMA/rxe: For invalidate compare according to set keys in mr
    3695aa94d789 HID: alps: Declare U1_UNICORN_LEGACY support
    71fdd63bfdbc mmc: cavium-thunderx: Add of_node_put() when breaking out of loop
    209b5d06e989 mmc: cavium-octeon: Add of_node_put() when breaking out of loop
    022c8d3f45fc RDMA/rxe: Fix mw bind to allow any consumer key portion
    45382d69074a scripts/gdb: fix 'lx-dmesg' on 32 bits arch
    9227a870b8e2 scripts/gdb: lx-dmesg: read records individually
    3adcd80b5e10 dmaengine: imx-dma: Cast of_device_get_match_data() with (uintptr_t)
    118e05368e27 HID: amd_sfh: Add NULL check for hid device
    91443c669d28 HID: mcp2221: prevent a buffer overflow in mcp_smbus_write()
    eafb19c8fe04 gpio: gpiolib-of: Fix refcount bugs in of_mm_gpiochip_add_data()
    e25b828553ae RDMA/hfi1: fix potential memory leak in setup_base_ctxt()
    5870343eabea clk: qcom: gcc-msm8939: Fix weird field spacing in ftbl_gcc_camss_cci_clk
    c41664346aa6 iio: cros: Register FIFO callback after sensor is registered
    f6e26e1a5f60 RDMA/siw: Fix duplicated reported IW_CM_EVENT_CONNECT_REPLY event
    9fc44cfd1866 RDMA/hns: Fix incorrect clearing of interrupt status register
    7e647a8d5fc0 RDMA/qedr: Fix potential memory leak in __qedr_alloc_mr()
    f851d8097fd9 RDMA/rtrs-clt: Replace list_next_or_null_rr_rcu with an inline function
    527df029be34 RDMA/rtrs-clt: Rename rtrs_clt_sess to rtrs_clt_path
    bab17b761c89 RDMA/rtrs-srv: Rename rtrs_srv_sess to rtrs_srv_path
    f706fcd56858 RDMA/rtrs: Rename rtrs_sess to rtrs_path
    e44928f2db0f RDMA/rtrs: Do not allow sessname to contain special symbols / and .
    8b6dba78922d RDMA/rtrs: Introduce destroy_cq helper
    001f93b39ef7 RDMA/rtrs: Replace duplicate check with is_pollqueue helper
    9c663e73f556 RDMA/rtrs: Fix warning when use poll mode on client side.
    08ff62fff0b1 RDMA/rtrs-srv: Fix modinfo output for stringify
    b801e80e1162 RDMA/irdma: Fix setting of QP context err_rq_idx_valid field
    9f9ef6cb72a3 RDMA/irdma: Fix VLAN connection with wildcard address
    92520864ef9f RDMA/irdma: Fix a window for use-after-free
    62d610cfc16f um: random: Don't initialise hwrng struct with zero
    3bf1085657f8 interconnect: imx: fix max_node_id
    52537ea892a5 phy: stm32: fix error return in stm32_usbphyc_phy_init
    3f2989ed9570 eeprom: idt_89hpesx: uninitialized data in idt_dbgfs_csr_write()
    edd22e6ad249 usb: dwc3: qcom: fix missing optional irq warnings
    116540c1052e usb: dwc3: core: Do not perform GCTL_CORE_SOFTRESET during bootup
    92728470a952 usb: dwc3: core: Deprecate GCTL.CORESOFTRESET
    4070f3c83cd2 usb: aspeed-vhub: Fix refcount leak bug in ast_vhub_init_desc()
    120538461985 usb: gadget: udc: amd5536 depends on HAS_DMA
    7689427e238d xtensa: iss: fix handling error cases in iss_net_configure()
    758145c84fe1 xtensa: iss/network: provide release() callback
    c5641494cd7e scsi: smartpqi: Fix DMA direction for RAID requests
    80f876b26dab PCI: qcom: Set up rev 2.1.0 PARF_PHY before enabling clocks
    c968af565ca6 PCI/portdrv: Don't disable AER reporting in get_port_device_capability()
    81ea65c9aefe KVM: s390: pv: leak the topmost page table when destroy fails
    d795bbde3ff0 mmc: block: Add single read for 4k sector cards
    f8585cad6dea of: device: Fix missing of_node_put() in of_dma_set_restricted_buffer
    5325975c19e3 mmc: sdhci-of-at91: fix set_uhs_signaling rewriting of MC1R
    961d7d12080f memstick/ms_block: Fix a memory leak
    2b12af05848f memstick/ms_block: Fix some incorrect memory allocation
    125534d2591f mmc: renesas_sdhi: Get the reset handle early in the probe
    268afd446ace mmc: mxcmmc: Silence a clang warning
    352377cf7471 mmc: sdhci-of-esdhc: Fix refcount leak in esdhc_signal_voltage_switch
    e3a1eaea6631 staging: rtl8192u: Fix sleep in atomic context bug in dm_fsync_timer_callback
    2c254fe3c5fc binder: fix redefinition of seq_file attributes
    566887bad7ff intel_th: msu: Fix vmalloced buffers
    08ec393b1d30 intel_th: msu-sink: Potential dereference of null pointer
    9b5469573a27 intel_th: Fix a resource leak in an error handling path
    0b154b745d11 scsi: qla2xxx: Check correct variable in qla24xx_async_gffid()
    1a8cc2ed9547 PCI: endpoint: Don't stop controller when unbinding endpoint function
    5ab2782c944e dmaengine: sf-pdma: Add multithread support for a DMA channel
    ebea637e9f4b KVM: arm64: Don't return from void function
    250b46505175 soundwire: revisit driver bind/unbind and callbacks
    3abe387e759a soundwire: bus_type: fix remove and shutdown support
    06a949457a8d PCI: dwc: Always enable CDM check if "snps,enable-cdm-check" exists
    b03a8f1264ea PCI: dwc: Deallocate EPC memory on dw_pcie_ep_init() errors
    981f451f3708 PCI: dwc: Set INCREASE_REGION_SIZE flag based on limit address
    0f5e892c41b9 PCI: dwc: Disable outbound windows only for controllers using iATU
    68c2cda90522 PCI: dwc: Add unroll iATU space support to dw_pcie_disable_atu()
    dbbfb410a3dd PCI: dwc: Stop link on host_init errors and de-initialization
    44652154484e mm/mempolicy: fix get_nodes out of bound access
    0b9f2f2a0488 clk: qcom: clk-rcg2: Make sure to not write d=0 to the NMD register
    522e13ebbf48 clk: qcom: clk-rcg2: Fail Duty-Cycle configuration if MND divider is not enabled.
    433a22104012 clk: qcom: camcc-sm8250: Fix topology around titan_top power domain
    123c76fbc2dd clk: qcom: camcc-sdm845: Fix topology around titan_top power domain
    93ff4172b9b2 clk: qcom: ipq8074: set BRANCH_HALT_DELAY flag for UBI clocks
    fd60d861624d clk: qcom: ipq8074: fix NSS port frequency tables
    7616ebecd358 clk: qcom: ipq8074: SW workaround for UBI32 PLL lock
    6f74519efa6a clk: qcom: ipq8074: fix NSS core PLL-s
    3b4934a635d9 RDMA/rxe: Fix deadlock in rxe_do_local_ops()
    dac3ecbd1ab8 usb: host: xhci: use snprintf() in xhci_decode_trb()
    26b305f01d62 clk: qcom: gcc-msm8939: Point MM peripherals to system_mm_noc clock
    d605b4125e77 clk: qcom: gcc-msm8939: Add missing system_mm_noc_bfdcd_clk_src
    558b097f8cdb clk: qcom: gcc-msm8939: Fix bimc_ddr_clk_src rcgr base address
    0c787dfc2238 clk: qcom: gcc-msm8939: Add missing SYSTEM_MM_NOC_BFDCD_CLK_SRC
    9ed2640eb883 clk: qcom: clk-krait: unlock spin after mux completion
    733ab0c19bf1 driver core: fix potential deadlock in __driver_attach
    80169b136c89 misc: rtsx: Fix an error handling path in rtsx_pci_probe()
    30f44ddfdb49 clk: qcom: camcc-sm8250: Fix halt on boot by reducing driver's init level
    2e79153d2ce9 mtd: dataflash: Add SPI ID table
    7837281f83bc dmaengine: dw-edma: Fix eDMA Rd/Wr-channels and DMA-direction semantics
    3e541526aab6 scsi: iscsi: Fix session removal on shutdown
    ca8936581506 scsi: iscsi: Add helper to remove a session from the kernel
    49f7414a1982 scsi: iscsi: Allow iscsi_if_stop_conn() to be called from kernel
    a78b882c1a9f mwifiex: fix sleep in atomic context bugs caused by dev_coredumpv
    358fbfc1322b mwifiex: Ignore BTCOEX events from the 88W8897 firmware
    26cdeedbb616 KVM: Don't set Accessed/Dirty bits for ZERO_PAGE
    d56c5eac8476 mm/memremap: fix memunmap_pages() race with get_dev_pagemap()
    d18a9085654b memremap: remove support for external pgmap refcounts
    d1e0ceeec04a lib/test_hmm: avoid accessing uninitialized pages
    81b64a9da38f clk: mediatek: reset: Fix written reset bit offset
    31c1072e6b55 iio: accel: bma400: Reordering of header files
    363c82a63478 platform/chrome: cros_ec: Always expose last resume result
    95faac56051b iio: accel: bma400: Fix the scale min and max macro values
    17d7a36dcd46 scsi: qla2xxx: edif: Fix no logout on delete for N2N
    3db6a63bae5f scsi: qla2xxx: edif: Fix session thrash
    4c35b8eb3dc2 scsi: qla2xxx: edif: Tear down session if keys have been removed
    58277fa8333f scsi: qla2xxx: edif: Fix no login after app start
    1138e2da4244 scsi: qla2xxx: edif: Reduce disruption due to multiple app start
    cc5745f2ee40 scsi: qla2xxx: edif: Send LOGO for unexpected IKE message
    154bf040ba53 netfilter: xtables: Bring SPDX identifier back
    8cffaf09336b usb: xhci: tegra: Fix error check
    4240b6e0f3b3 usb: gadget: tegra-xudc: Fix error check in tegra_xudc_powerdomain_init()
    59026d5cc615 usb: ohci-nxp: Fix refcount leak in ohci_hcd_nxp_probe
    c0a4b454486b usb: host: Fix refcount leak in ehci_hcd_ppc_of_probe
    1e5ec5e90e77 fpga: altera-pr-ip: fix unsigned comparison with less than zero
    0675fe20da7f PCI: mediatek-gen3: Fix refcount leak in mtk_pcie_init_irq_domains()
    c99dca4ebc78 mtd: st_spi_fsm: Add a clk_disable_unprepare() in .probe()'s error path
    762475464982 mtd: parsers: ofpart: Fix refcount leak in bcm4908_partitions_fw_offset
    8ea607579d30 mtd: partitions: Fix refcount leak in parse_redboot_of
    1ef96afd4f5a mtd: sm_ftl: Fix deadlock caused by cancel_work_sync in sm_release
    8489a20ac481 HID: cp2112: prevent a buffer overflow in cp2112_xfer()
    879bcbbec3e0 PCI: tegra194: Fix PM error handling in tegra_pcie_config_ep()
    c0ad5c7e68d1 PCI: microchip: Fix refcount leak in mc_pcie_init_irq_domains()
    ff1e7aea3ef7 phy: samsung: exynosautov9-ufs: correct TSRV register configurations
    7840dce7966a KVM: SVM: Stuff next_rip on emulated INT3 injection if NRIPS is supported
    2adc7032ec84 KVM: SVM: Unwind "speculative" RIP advancement if INTn injection "fails"
    473ba2ee7641 scsi: qla2xxx: edif: Fix n2n login retry for secure device
    fd2c194089eb scsi: qla2xxx: edif: Fix n2n discovery issue with secure target
    ba051e1fe739 scsi: qla2xxx: edif: Add retry for ELS passthrough
    703e1ccf6ff9 scsi: qla2xxx: edif: Synchronize NPIV deletion with authentication application
    d7d254cc1348 scsi: qla2xxx: edif: Fix inconsistent check of db_flags
    aa7269ee63ec scsi: qla2xxx: edif: Reduce connection thrash
    7b2fbfa4b2cd scsi: qla2xxx: edif: Fix potential stuck session in sa update
    bf890f1408b2 scsi: qla2xxx: edif: Reduce Initiator-Initiator thrashing
    beb5bba5dd13 of: check previous kernel's ima-kexec-buffer against memory bounds
    098b7e83b318 mtd: rawnand: meson: Fix a potential double free issue
    d5730780e9ea mtd: maps: Fix refcount leak in ap_flash_init
    4d67c8f74d80 mtd: maps: Fix refcount leak in of_flash_probe_versatile
    f74bd76a7524 clk: renesas: r9a06g032: Fix UART clkgrp bitsel
    36c27d813e75 HID: amd_sfh: Don't show client init failed as error when discovery fails
    c36369f7db87 wireguard: allowedips: don't corrupt stack when detecting overflow
    73ccc2b153a2 wireguard: ratelimiter: use hrtimer in selftest
    1618e0f1ed59 net: usb: make USB_RTL8153_ECM non user configurable
    8890bdb93ff5 dccp: put dccp_qpolicy_full() and dccp_qpolicy_push() in the same lock
    d4249d465da3 net: ionic: fix error check for vlan flags in ionic_set_nic_features()
    857f390dfdac net: rose: fix netdev reference changes
    bde545304f3d netdevsim: Avoid allocation warnings triggered from user space
    c9d901e17142 iavf: Fix 'tc qdisc show' listing too many queues
    d70ecd933042 iavf: Fix max_rate limiting
    f1974d3042d6 wifi: rtw88: check the return value of alloc_workqueue()
    f671cf48f383 netdevsim: fib: Fix reference count leak on route deletion failure
    51dd6d3beb7f net: allow unbound socket for packets in VRF when tcp_l3mdev_accept set
    8fd69d3df9f4 ipv6: add READ_ONCE(sk->sk_bound_dev_if) in INET6_MATCH()
    68bf74ec95c3 inet: add READ_ONCE(sk->sk_bound_dev_if) in INET_MATCH()
    c8b1baca99cf crypto: hisilicon/sec - fix auth key size error
    996be53de07b crypto: inside-secure - Add missing MODULE_DEVICE_TABLE for of
    0d11ab3db14b crypto: hisilicon/hpre - don't use GFP_KERNEL to alloc mem during softirq
    e5697a0a4529 net/mlx5: Adjust log_max_qp to be 18 at most
    2d800deb8766 net/mlx5e: Fix the value of MLX5E_MAX_RQ_NUM_MTTS
    2109cba576c5 net/mlx5e: Remove WARN_ON when trying to offload an unsupported TLS cipher/version
    22ae7f434f1f media: cedrus: hevc: Add check for invalid timestamp
    d7365590d15b wifi: libertas: Fix possible refcount leak in if_usb_probe()
    4a40af2b0b95 wifi: iwlwifi: mvm: fix double list_add at iwl_mvm_mac_wake_tx_queue
    689e5caf63e9 wifi: wil6210: debugfs: fix uninitialized variable use in `wil_write_file_wmi()`
    b50f5aa9f527 i2c: mux-gpmux: Add of_node_put() when breaking out of loop
    4fc616e25b66 i2c: cadence: Support PEC for SMBus block read
    aa6da8c32acb Bluetooth: hci_intel: Add check for platform_driver_register
    d1bedcd7947b can: pch_can: pch_can_error(): initialize errc before using it
    5793da4db3a9 can: error: specify the values of data[5..7] of CAN error frames
    3d70b6605a94 can: usb_8dev: do not report txerr and rxerr during bus-off
    bbe42d5dc486 can: kvaser_usb_leaf: do not report txerr and rxerr during bus-off
    0b328f9c7912 can: kvaser_usb_hydra: do not report txerr and rxerr during bus-off
    4b71a3c2a29c can: sun4i_can: do not report txerr and rxerr during bus-off
    dcfcd5fc999b can: hi311x: do not report txerr and rxerr during bus-off
    715ced011394 can: sja1000: do not report txerr and rxerr during bus-off
    b8c29e29059e can: rcar_can: do not report txerr and rxerr during bus-off
    ba0110c2dd03 can: pch_can: do not report txerr and rxerr during bus-off
    cbfcc7c4cc61 libbpf: fix an snprintf() overflow check
    ad3e3212492c selftests/bpf: fix a test for snprintf() overflow
    4388ea680346 wifi: p54: add missing parentheses in p54_flush()
    71fc0615c91e wifi: p54: Fix an error handling path in p54spi_probe()
    074e865b37da wifi: wil6210: debugfs: fix info leak in wil_write_file_wmi()
    05f3b437c962 media: staging: media: hantro: Fix typos
    6b593bcc6e6d media: hevc: Embedded indexes in RPS
    223b977c1cd4 media: hantro: Simplify postprocessor
    9d36596b5f71 media: hantro: postproc: Fix motion vector space size
    b1385d437e90 media: cedrus: h265: Fix flag name
    f29659bad1d5 fs: check FMODE_LSEEK to control internal pipe splicing
    c9a8a448e5e4 bpf: Fix subprog names in stack traces.
    8ff5be75ae31 selftests: timers: clocksource-switch: fix passing errors from child
    4d3481398287 selftests: timers: valid-adjtimex: build fix for newer toolchains
    070527cc3124 libbpf: Fix the name of a reused map
    273c11d9a900 tcp: make retransmitted SKB fit into the send window
    68f9f522ddf1 drm/exynos/exynos7_drm_decon: free resources when clk_set_parent() failed.
    293c53b7dbf9 skmsg: Fix invalid last sg check in sk_msg_recvmsg()
    c4ff3cef5d96 mediatek: mt76: eeprom: fix missing of_node_put() in mt76_find_power_limits_node()
    f646d94d7aec mediatek: mt76: mac80211: Fix missing of_node_put() in mt76_led_init()
    2837f4e90b13 mt76: mt7921: enlarge maximum VHT MPDU length to 11454
    6e83b10d8c7a mt76: mt7921: fix aggregation subframes setting to HE max
    0fb9387b8584 ieee80211: add EHT 1K aggregation definitions
    67cd6261d38a mt76: mt7615: do not update pm stats in case of error
    f1609c4f4a21 mt76: mt76x02u: fix possible memory leak in __mt76x02u_mcu_send_msg
    1a63d33006dc drm/msm/dpu: Fix for non-visible planes
    340bfec294d5 drm/msm: Avoid dirtyfb stalls on video mode displays (v2)
    7404d09455a0 media: platform: mtk-mdp: Fix mdp_ipi_comm structure alignment
    d6aee36c2f6f crypto: hisilicon - Kunpeng916 crypto driver don't sleep when in softirq
    aa495dfe7122 crypto: hisilicon/sec - don't sleep when in softirq
    f4e3a8c7e890 drm/msm/mdp5: Fix global state lock backoff
    693f31dc9156 net: hinic: avoid kernel hung in hinic_get_stats64()
    e850a4fc89b0 net: hinic: fix bug that ethtool get wrong stats
    8757ef67ce6b hinic: Use the bitmap API when applicable
    3052197b1175 drm: bridge: sii8620: fix possible off-by-one
    371331ede81d drm/mediatek: dpi: Only enable dpi after the bridge is enabled
    4f541100fb28 drm/mediatek: dpi: Remove output format of YUV
    23b1133bd33b drm/rockchip: Fix an error handling path rockchip_dp_probe()
    703d706b23ac drm/rockchip: vop: Don't crash for invalid duplicate_state()
    668fd740f8a6 selftests/xsk: Destroy BPF resources only when ctx refcount drops to 0
    1fc6ba6d0dae crypto: arm64/gcm - Select AEAD for GHASH_ARM64_CE
    8dc3b5d150b2 drm/vc4: hdmi: Correct HDMI timing registers for interlaced modes
    bbb4c0deae82 drm/vc4: hdmi: Fix timings for interlaced modes
    6ffe6a64ef24 drm/vc4: hdmi: Reset HDMI MISC_CONTROL register
    43d393e7cbb9 drm/vc4: hdmi: Avoid full hdmi audio fifo writes
    f30480775a6b drm/vc4: hdmi: Fix HPD GPIO detection
    07d7d4330403 drm/vc4: dsi: Add correct stop condition to vc4_dsi_encoder_disable iteration
    21febebc4fcc drm/vc4: dsi: Fix dsi0 interrupt support
    b096779a8276 drm/vc4: dsi: Register dsi0 as the correct vc4 encoder type
    fe6ebdb61559 drm/vc4: dsi: Correct pixel order for DSI0
    62b6d4308c2c drm/vc4: dsi: Correct DSI divider calculations
    80e2db799b38 drm/vc4: dsi: Release workaround buffer and DMA
    3d722c01d628 drm/vc4: Use of_device_get_match_data()
    c653b2c6a247 drm/vc4: dsi: Switch to devm_drm_of_get_bridge
    ed486d15084f drm/bridge: Add a function to abstract away panels
    b6fea72ea1aa drm/vc4: plane: Fix margin calculations for the right/bottom edges
    645b294e9bf7 drm/vc4: plane: Remove subpixel positioning check
    0597bcf77489 media: tw686x: Fix memory leak in tw686x_video_init
    ad1a66b40bf8 media: driver/nxp/imx-jpeg: fix a unexpected return value problem
    db01d107c21f media: v4l2-mem2mem: prevent pollerr when last_buffer_dequeued is set
    7ca91b2d870f media: hdpvr: fix error value returns in hdpvr_read
    3123ae6fdd40 drm/mcde: Fix refcount leak in mcde_dsi_bind
    375a6fdf7d54 media: imx-jpeg: Disable slot interrupt when frame done
    54f1c0606695 drm: bridge: adv7511: Add check for mipi_dsi_driver_register
    f831d2882c84 crypto: ccp - During shutdown, check SEV data pointer before using
    8f458e34a804 test_bpf: fix incorrect netdev features
    621595f771a6 rcutorture: Fix ksoftirqd boosting timing and iteration
    489b93ac63d2 rcutorture: Don't cpuhp_remove_state() if cpuhp_setup_state() failed
    5a6ff3e32a0c rcutorture: Warn on individual rcu_torture_init() error conditions
    e32f8c51a650 drm/radeon: fix incorrrect SPDX-License-Identifiers
    88b551561ded wifi: iwlegacy: 4965: fix potential off-by-one overflow in il4965_rs_fill_link_cmd()
    03ca957c5f7b ath9k: fix use-after-free in ath9k_hif_usb_rx_cb
    ebde990e2436 media: imx-jpeg: Implement drain using v4l2-mem2mem helpers
    9ae2d729de63 media: imx-jpeg: Align upwards buffer size
    88355f7b682b media: imx-jpeg: Support dynamic resolution change
    07888b84f370 media: imx-jpeg: Handle source change in a function
    8fcbb2e91e26 media: imx-jpeg: Identify and handle precision correctly
    24eef33c384e media: imx-jpeg: Refactor function mxc_jpeg_parse
    cab2a15969d0 media: imx-jpeg: Set V4L2_BUF_FLAG_LAST at eos
    5709766b078a media: imx-jpeg: use NV12M to represent non contiguous NV12
    cbc257317106 media: imx-jpeg: Add pm-runtime support for imx-jpeg
    c0d98e53e921 media: imx-jpeg: Leave a blank space before the configuration data
    2c784c14938a media: imx-jpeg: Correct some definition according specification
    33196a7ac6fa media: tw686x: Register the irq at the end of probe
    f61c0d97bdc8 media: atmel: atmel-sama7g5-isc: fix warning in configs without OF
    85c317a626b8 crypto: sun8i-ss - fix infinite loop in sun8i_ss_setup_ivs()
    35927d7509ab i2c: Fix a potential use after free
    8b4bba610f52 can: netlink: allow configuring of fixed data bit rates without need for do_set_data_bittiming callback
    d9bd6a965908 can: netlink: allow configuring of fixed bit rates without need for do_set_bittiming callback
    ab5a4e0cbfe3 net: fix sk_wmem_schedule() and sk_rmem_schedule() errors
    d806f3ae4b3c crypto: sun8i-ss - fix error codes in allocate_flows()
    b3cb6006857c crypto: sun8i-ss - do not allocate memory when handling hash requests
    aeecc92f5a68 drm: adv7511: override i2c address of cec before accessing it
    72893aadc001 drm/virtio: Fix NULL vs IS_ERR checking in virtio_gpu_object_shmem_init
    ff0087df198d drm/shmem-helper: Pass GEM shmem object in public interfaces
    4109ff9e7b95 drm/shmem-helper: Export dedicated wrappers for GEM object functions
    a3f82087b768 drm/shmem-helper: Unexport drm_gem_shmem_create_with_handle()
    39caef09666c virtio-gpu: fix a missing check to avoid NULL dereference
    c3a1cfd16445 i2c: mxs: Silence a clang warning
    73778e237003 i2c: npcm: Correct slave role behavior
    cdd51152a100 i2c: npcm: Remove own slave addresses 2:10
    a42f0c4c64fe drm/bridge: lt9611uxc: Cancel only driver's work
    275fed7142ff drm/meson: encoder_hdmi: Fix refcount leak in meson_encoder_hdmi_init
    e098989a9219 drm/meson: encoder_hdmi: switch to bridge DRM_BRIDGE_ATTACH_NO_CONNECTOR
    c901a385b7a1 drm/mediatek: Add pull-down MIPI operation in mtk_dsi_poweroff function
    87c251d960dc drm/mediatek: Separate poweron/poweroff from enable/disable and define new funcs
    2ec80289a7ff drm/mediatek: Modify dsi funcs to atomic operations
    deb603c5928e drm/radeon: fix potential buffer overflow in ni_set_mc_special_registers()
    166b0a6171ab ath11k: Fix incorrect debug_mask mappings
    2dc78843fe98 drm/mipi-dbi: align max_chunk to 2 in spi_transfer
    eaff3946a86f ath11k: fix netdev open race
    90b4ec83ef15 wifi: rtlwifi: fix error codes in rtl_debugfs_set_write_h2c()
    438ac9f4f7e4 drm/panel: Fix build error when CONFIG_DRM_PANEL_SAMSUNG_ATNA33XC20=y && CONFIG_DRM_DISPLAY_HELPER=m
    c2af61bd0404 drm/st7735r: Fix module autoloading for Okaya RH128128T
    d2d2789fb956 ath10k: do not enforce interrupt trigger type
    037844355198 drm/bridge: tc358767: Move (e)DP bridge endpoint parsing into dedicated function
    3f4829cd4784 drm/dp: Export symbol / kerneldoc fixes for DP AUX bus
    0491709eb3a6 pwm: lpc18xx: Fix period handling
    3475e55bc54d pwm: lpc18xx-sct: Simplify driver by not using pwm_[gs]et_chip_data()
    d0c79cda85b6 pwm: lpc18xx-sct: Reduce number of devm memory allocations
    009b384092ba pwm: sifive: Shut down hardware only after pwmchip_remove() completed
    53d784838a38 pwm: sifive: Ensure the clk is enabled exactly once per running PWM
    5c86cf45f551 pwm: sifive: Simplify offset calculation for PWMCMP registers
    87efb79c5f9e dm: return early from dm_pr_call() if DM device is suspended
    f28d733c318e thermal/tools/tmon: Include pthread and time headers in tmon.h
    226935eabe33 selftests/seccomp: Fix compile warning when CC=clang
    7bc43ab2b90a x86/extable: Fix ex_handler_msr() print condition
    b3d3069a6fc8 nohz/full, sched/rt: Fix missed tick-reenabling bug in dequeue_task_rt()
    4125108ec842 drivers/perf: arm_spe: Fix consistency of SYS_PMSCR_EL1.CX
    9d2a0422dedc irqdomain: Report irq number for NOMAP domains
    a815cb1088e7 arm64: dts: qcom: qcs404: Fix incorrect USB2 PHYs assignment
    7c432710198e soc: qcom: Make QCOM_RPMPD depend on PM
    c9df8ff29009 regulator: of: Fix refcount leak bug in of_get_regulation_constraints()
    a638fa974512 dm writecache: count number of blocks discarded, not number of discard bios
    fc988f1ca265 dm writecache: count number of blocks written, not number of write bios
    3a2500b73a17 dm writecache: count number of blocks read, not number of read bios
    880c4513eb33 dm writecache: return void from functions
    764b8892d7da PM: domains: Ensure genpd_debugfs_dir exists before remove
    b4439abfd77e blktrace: Trace remapped requests correctly
    c1a21bf5d012 hwmon: (drivetemp) Add module alias
    415b4ce61308 spi: tegra20-slink: fix UAF in tegra_slink_remove()
    445fb9c19cf4 spi: Fix simplification of devm_spi_register_controller
    6d8e185bf9de blk-mq: don't create hctx debugfs dir until q->debugfs_dir is created
    1c350a597c2d erofs: avoid consecutive detection for Highmem memory
    a34982fd219e arm64: tegra: Fix SDMMC1 CD on P2888
    a7f751d4e830 arm64: tegra: Mark BPMP channels as no-memory-wc
    778b6531fe24 arm64: tegra: Update Tegra234 BPMP channel addresses
    09da10968581 arm64: tegra: Fixup SYSRAM references
    40d72c485a85 arm64: dts: mt7622: fix BPI-R64 WPS button
    759fa566f433 arm64: dts: qcom: sm8250: add missing PCIe PHY clock-cells
    650d2e76a317 arm64: dts: qcom: sm6125: Append -state suffix to pinctrl nodes
    7847ebb6fcec arm64: dts: qcom: sm6125: Move sdc2 pinctrl from seine-pdx201 to sm6125
    c24bbe45965d ACPI: VIOT: Fix ACS setup
    273a7fbb06d6 drivers/iio: Remove all strcpy() uses
    335852f7a976 ACPI: APEI: explicit init of HEST and GHES in apci_init()
    6dc72d0181b4 arm64: dts: qcom: msm8916: Fix typo in pronto remoteproc node
    1c84883e79a3 stack: Declare {randomize_,}kstack_offset to fix Sparse warnings
    4a020202c391 bus: hisi_lpc: fix missing platform_device_put() in hisi_lpc_acpi_probe()
    a0a9813f1e09 ARM: dts: qcom: pm8841: add required thermal-sensor-cells
    053543ac1d09 soc: qcom: aoss: Fix refcount leak in qmp_cooling_devices_register
    84a928b44cb3 soc: qcom: ocmem: Fix refcount leak in of_get_ocmem
    e89261b18c4e ARM: dts: qcom-msm8974: fix irq type on blsp2_uart1
    c1fdcd13a610 ACPI: APEI: Fix _EINJ vs EFI_MEMORY_SP
    fc6dbc57f9d1 regulator: qcom_smd: Fix pm8916_pldo range
    179034fb108e cpufreq: zynq: Fix refcount leak in zynq_get_revision
    78ed18a5aa7f arm64: dts: qcom: sdm636-sony-xperia-ganges-mermaid: correct sdc2 pinconf
    0a8d15d85b19 arm64: dts: qcom: sdm630: fix gpu's interconnect path
    cd6bd95e9b02 arm64: dts: qcom: sdm630: fix the qusb2phy ref clock
    9f3b0a0b87e6 arm64: dts: qcom: sdm630: disable GPU by default
    1bf747824a8c ARM: OMAP2+: Fix refcount leak in omap3xxx_prm_late_init
    230ad40a59c9 ARM: OMAP2+: Fix refcount leak in omapdss_init_of
    ddad68dd9742 ARM: dts: qcom: mdm9615: add missing PMIC GPIO reg
    925a0117ac68 block: fix infinite loop for invalid zone append
    9abd50506fe4 soc: fsl: guts: machine variable might be unset
    4d6f33865e21 arm64: dts: qcom: sc7180: Remove ipa_fw_mem node on trogdor
    e0067e6d5475 locking/lockdep: Fix lockdep_init_map_*() confusion
    5b418289b060 arm64: cpufeature: Allow different PMU versions in ID_DFR0_EL1
    c66b3b49fe03 arm64: select TRACE_IRQFLAGS_NMI_SUPPORT
    e94388f78e65 arm64: dts: mt8192: Fix idle-states entry-method
    2fe4c39aa379 arm64: dts: mt8192: Fix idle-states nodes naming scheme
    e50541493882 ARM: dts: ast2600-evb-a1: fix board compatible
    5f73deb9afa6 ARM: dts: ast2600-evb: fix board compatible
    6fa1cf1b92f0 ARM: dts: ast2500-evb: fix board compatible
    377a4c5cb7ab x86/pmem: Fix platform-device leak in error path
    5a73493f0d6a arm64: dts: renesas: Fix thermal-sensors on single-zone sensors
    f370fbbd3151 soc: amlogic: Fix refcount leak in meson-secure-pwrc.c
    cb119a1dd929 dt-bindings: iio: accel: Add DT binding doc for ADXL355
    7bbcbfbc314d scsi: hisi_sas: Use managed PCI functions
    c010048e3f71 soc: renesas: r8a779a0-sysc: Fix A2DP1 and A2CV[2357] PDR values
    e7e4f1cb915e ARM: dts: imx7d-colibri-emmc: add cpu1 supply
    4bd8bc5c77a0 ACPI: processor/idle: Annotate more functions to live in cpuidle section
    bc7f487395f2 ARM: bcm: Fix refcount leak in bcm_kona_smc_init
    1f4bc0604dff spi: spi-altera-dfl: Fix an error handling path
    ebbd1412ce4f arm64: dts: renesas: beacon: Fix regulator node names
    e21744c6a0d4 meson-mx-socinfo: Fix refcount leak in meson_mx_socinfo_init
    a7c16b8966d4 ARM: findbit: fix overflowing offset
    0ff7f81559fa spi: spi-rspi: Fix PIO fallback on RZ platforms
    8e3407e0f5e1 powerpc/64s: Disable stack variable initialisation for prom_init
    e45491556e2a drm/amdgpu: Remove one duplicated ef removal
    abd3622f657e kasan: test: Silence GCC 12 warnings
    7363a69d8ca8 selinux: Add boundary check in put_entry()
    c877c5217145 selinux: fix memleak in security_read_state_kernel()
    2f0e18e0db42 PM: hibernate: defer device probing when resuming from hibernation
    d68601914e00 hwmon: (sht15) Fix wrong assumptions in device remove callback
    fb98663448cb hwmon: (dell-smm) Add Dell XPS 13 7390 to fan control whitelist
    c5a73bd9f11a firmware: tegra: Fix error check return value of debugfs_create_file()
    c53d904973cb ARM: shmobile: rcar-gen2: Increase refcount for new reference
    ef94e7897744 arm64: dts: allwinner: a64: orangepi-win: Fix LED node name
    3a4b3a0ff064 arm64: dts: qcom: ipq8074: fix NAND node name
    c0b8dcbaf37f ARM: dts: qcom: sdx55: Fix the IRQ trigger type for UART
    01d539d9f538 ACPI: LPSS: Fix missing check in register_device_clock()
    30abb8735892 ACPI: PM: save NVS memory for Lenovo G40-45
    f450635d781f ACPI: EC: Drop the EC_FLAGS_IGNORE_DSDT_GPE quirk
    730b9eb8fb88 ACPI: EC: Remove duplicate ThinkPad X1 Carbon 6th entry from DMI quirks
    75f23d72b6e0 ARM: OMAP2+: pdata-quirks: Fix refcount leak bug
    a89a865dc9f0 ARM: OMAP2+: display: Fix refcount leak bug
    b856645c1849 spi: synquacer: Add missing clk_disable_unprepare()
    cbfe9a2303c8 ARM: dts: ux500: Fix Gavini accelerometer mounting matrix
    e2d106b28460 ARM: dts: ux500: Fix Codina accelerometer mounting matrix
    ceafabd1d4ff ARM: dts: BCM5301X: Add DT for Meraki MR26
    0e4c38c795e7 ARM: dts: imx6ul: fix qspi node compatible
    95ba9c53999e ARM: dts: imx6ul: fix lcdif node compatible
    2db26fa7b9a1 ARM: dts: imx6ul: fix csi node compatible
    5357c3b24cfe ARM: dts: imx6ul: fix keypad compatible
    135155585647 ARM: dts: imx6ul: change operating-points to uint32-matrix
    ca367834a787 ARM: dts: imx6ul: add missing properties for sram
    8df06a275338 wait: Fix __wait_event_hrtimeout for RT/DL tasks
    f0d66189d161 irqchip/mips-gic: Check the return value of ioremap() in gic_of_init()
    f066e015821c sched/core: Always flush pending blk_plug
    f116c621dd1e genirq: GENERIC_IRQ_IPI depends on SMP
    00ffa95ed649 irqchip/mips-gic: Only register IPI domain when SMP is enabled
    f9842ec6839a genirq: Don't return error on missing optional irq_request_resources()
    079651c6cfdc sched/fair: Introduce SIS_UTIL to search idle CPU based on sum of util_avg
    96b18d3a1be0 ext2: Add more validity checks for inode counts
    add4bc9281e8 arm64: kasan: Revert "arm64: mte: reset the page tag in page->flags"
    cc69ef95988b arm64: fix oops in concurrently setting insn_emulation sysctls
    42eede3ae05b arm64: Do not forget syscall when starting a new thread.
    d1e812beae86 arch: make TRACE_IRQFLAGS_NMI_SUPPORT generic
    932b5e65245c x86: Handle idle=nomwait cmdline properly for x86_idle
    9ccb5d391c51 epoll: autoremove wakers even more aggressively
    8a2df34b5bf6 netfilter: nf_tables: fix null deref due to zeroed list head
    257b944464be netfilter: nf_tables: do not allow RULE_ID to refer to another chain
    915015130169 netfilter: nf_tables: do not allow CHAIN_ID to refer to another table
    faafd9286f13 netfilter: nf_tables: do not allow SET_ID to refer to another table
    5ea18ddc1703 usb: dwc3: gadget: fix high speed multiplier setting
    332a8c027aa3 usb: dwc3: gadget: refactor dwc3_repare_one_trb
    f0782cf2dce0 arm64: dts: uniphier: Fix USB interrupts for PXs3 SoC
    148a7fe3cdfc ARM: dts: uniphier: Fix USB interrupts for PXs2 SoC
    b76ea430e94f USB: HCD: Fix URB giveback issue in tasklet function
    269c917837c4 usb: typec: ucsi: Acknowledge the GET_ERROR_STATUS command completion
    b49b29ee113a coresight: Clear the connection field properly
    e41db8a9ce69 MIPS: cpuinfo: Fix a warning for CONFIG_CPUMASK_OFFSTACK
    db68d474cf09 powerpc/powernv: Avoid crashing if rng is NULL
    552a29e47174 powerpc/ptdump: Fix display of RW pages on FSL_BOOK3E
    79da7a5f8f0b powerpc/fsl-pci: Fix Class Code of PCIe Root Port
    fdf759059164 PCI: Add defines for normal and subtractive PCI bridges
    ae6620a39748 ia64, processor: fix -Wincompatible-pointer-types in ia64_get_irr()
    74d64284538e media: [PATCH] pci: atomisp_cmd: fix three missing checks on list iterator
    ddc7fadd0504 mbcache: add functions to delete entry if unused
    1250557d3bf3 mbcache: don't reclaim used entries
    0f4d18cbea4a md-raid10: fix KASAN warning
    c5e4cdd44387 md-raid: destroy the bitmap after destroying the thread
    351ec3d68ce0 serial: mvebu-uart: uart2 error bits clearing
    ec8e701f9e20 fuse: ioctl: translate ENOSYS
    daa9cfb86221 fuse: limit nsec
    a54c509c32ad ksmbd: fix use-after-free bug in smb2_tree_disconect
    577619605556 ksmbd: prevent out of bound read for SMB2_TREE_CONNNECT
    dd4e4c811898 ksmbd: fix memory leak in smb2_handle_negotiate
    dead7f484a3b soundwire: qcom: Check device status before reading devid
    71bc3b75e941 scsi: qla2xxx: Zero undefined mailbox IN registers
    a659c7f8114d scsi: qla2xxx: Fix incorrect display of max frame size
    8c004b7dbb34 scsi: sg: Allow waiting for commands to complete on removed device
    fac589fb7646 iio: light: isl29028: Fix the warning in isl29028_remove()
    a76771da2156 iio: fix iio_format_avail_range() printing for none IIO_VAL_INT
    cac7ead0b3ab um: seed rng using host OS rng
    5d096e2dc20b um: Remove straying parenthesis
    2e88f5003399 mtd: rawnand: arasan: Update NAND bus clock instead of system clock
    2ffe64acf7d6 mtd: rawnand: arasan: Fix clock rate in NV-DDR
    89f3a8bbb4a7 btrfs: reject log replay if there is unsupported RO compat flag
    1f8ca9c40e62 bpf: Fix KASAN use-after-free Read in compute_effective_progs
    27f8f5219fe4 drm/amdgpu: fix check in fbdev init
    eb3c69c7c777 drm/amdgpu: Check BO's requested pinning domains against its preferred_domains
    f792acb67deb drm/nouveau/kms: Fix failure path for creating DP connectors
    67cb7be1561a drm/nouveau/acpi: Don't print error when we get -EINPROGRESS from pm_runtime
    f522c189e465 drm/nouveau: Don't pm_runtime_put_sync(), only pm_runtime_put_autosuspend()
    dcf37f58827e drm/nouveau: fix another off-by-one in nvbios_addr
    2806b02bac9c drm/hyperv-drm: Include framebuffer and EDID headers
    97049e69f5a8 drm/vc4: hdmi: Disable audio if dmas property is present but empty
    8589a83c0ae9 drm/shmem-helper: Add missing vunmap on error
    da2a1aa058ac drm/gem: Properly annotate WW context on drm_gem_lock_reservations() error
    3ef94852bb33 rtc: rx8025: fix 12/24 hour mode detection on RX-8035
    bb3b601f1414 RISC-V: Add modules to virtual kernel memory layout dump
    150573c60c02 RISC-V: Fixup schedule out issue in machine_crash_shutdown()
    111a049cacc6 RISC-V: Fixup get incorrect user mode PC for kernel mode regs
    22ae2fe45516 RISC-V: kexec: Fixup use of smp_processor_id() in preemptible context
    63fbab985a16 dt-bindings: riscv: fix SiFive l2-cache's cache-sets
    c71e000db853 riscv:uprobe fix SR_SPIE set/clear handling
    7df75cbd1bec parisc: io_pgetevents_time64() needs compat syscall in 32-bit compat mode
    9b67131162dc parisc: Check the return value of ioremap() in lba_driver_probe()
    68949e725c39 parisc: Drop pa_swapper_pg_lock spinlock
    422421cbf39a parisc: Fix device names in /proc/iomem
    35ef2ee74d95 ovl: drop WARN_ON() dentry is NULL in ovl_encode_fh()
    f2a920daa780 crypto: ccp - Use kzalloc for sev ioctl interfaces to prevent kernel memory leak
    4228c037f88e fix short copy handling in copy_mc_pipe_to_iter()
    635fd8953e43 usbnet: Fix linkwatch use-after-free on disconnect
    d0d6186eae61 fbcon: Fix accelerated fbdev scrolling while logo is still shown
    c1e09ee98f3a fbcon: Fix boundary checks for fbcon=vc:n1-n2 parameters
    06d6eb948e53 thermal: sysfs: Fix cooling_device_stats_setup() error code path
    cd28cf0f69b4 fs: Add missing umask strip in vfs_tmpfile
    5efc5b3baf13 vfs: Check the truncate maximum size in inode_newsize_ok()
    446f123aa602 tty: vt: initialize unicode screen buffer
    6b8d61a9fd96 ALSA: hda/realtek: Add a quirk for HP OMEN 15 (8786) mute LED
    7ad08c1e18c7 ALSA: hda/realtek: Add quirk for another Asus K42JZ model
    5d5b2d1d3663 ALSA: hda/cirrus - support for iMac 12,1 model
    e4b337fb82bf ALSA: hda/conexant: Add quirk for LENOVO 20149 Notebook model
    c840d626472e riscv: set default pm_power_off to NULL
    abedd69baf6e KVM: x86: revalidate steal time cache if MSR value changes
    77e26cdf5ced KVM: x86: do not report preemption if the steal time cache is stale
    69704ca43e08 KVM: x86: Tag kvm_mmu_x86_module_init() with __init
    439fcac3d0e0 KVM: nVMX: Always enable TSC scaling for L2 when it was enabled for L1
    14aebe952f86 KVM: x86: Set error code to segment selector on LLDT/LTR non-canonical #GP
    ccbf3f955ccd KVM: x86: Mark TSS busy during LTR emulation _after_ all fault checks
    2a117667f32f KVM: nVMX: Inject #UD if VMXON is attempted with incompatible CR0/CR4
    3868687afae1 KVM: nVMX: Account for KVM reserved CR4 bits in consistency checks
    76e6038cfa9b KVM: nVMX: Let userspace set nVMX MSR to any _host_ supported value
    9953f86a67e5 KVM: x86: Split kvm_is_valid_cr4() and export only the non-vendor bits
    aeb4c3e1c46f KVM: s390: pv: don't present the ecall interrupt twice
    6afe88fbb40e KVM: SVM: Don't BUG if userspace injects an interrupt with GIF=0
    1f27ca6534f3 KVM: nVMX: Snapshot pre-VM-Enter DEBUGCTL for !nested_run_pending case
    b69b7c1a0d21 KVM: nVMX: Snapshot pre-VM-Enter BNDCFGS for !nested_run_pending case
    5138b0f7cb5b HID: wacom: Don't register pad_input for touch switch
    c5ec7920b566 HID: wacom: Only report rotation for art pen
    109f0544a518 HID: hid-input: add Surface Go battery quirk
    e9ba81ee1cbd lockd: detect and reject lock arguments that overflow
    b437275e894b add barriers to buffer_uptodate and set_buffer_uptodate
    594f1b923813 wifi: mac80211_hwsim: use 32-bit skb cookie
    6b6ed18432ea wifi: mac80211_hwsim: add back erroneously removed cast
    879f766eaa31 wifi: mac80211_hwsim: fix race condition in pending packet
    14acf0290d2d ALSA: hda/realtek: Add quirk for HP Spectre x360 15-eb0xxx
    196d8d34de95 ALSA: hda/realtek: Add quirk for Clevo NV45PZ
    64ca7f50ad96 ALSA: bcd2000: Fix a UAF bug on the error path of probing
    30e8b553e029 ALSA: usb-audio: Add quirk for Behringer UMC202HD
    6a463eb6dfcc nfsd: eliminate the NFSD_FILE_BREAK_* flags
    8eedc616f327 NFSD: Clean up the show_nf_flags() macro
    94d0dd56f817 pNFS/flexfiles: Report RDMA connection errors to the server
    661714de2403 scsi: Revert "scsi: qla2xxx: Fix disk failure to rediscover"
    3593f251f973 Revert "pNFS: nfs3_set_ds_client should set NFS_CS_NOPING"
    b6c05de137c3 x86: link vdso and boot with -z noexecstack --no-warn-rwx-segments
    4c7ee827da2c Makefile: link with -z noexecstack --no-warn-rwx-segments

(From OE-Core rev: 6b41953720a47fab28668f4442b1583b787f02c5)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 941ab942c1cb2cf984f1d2e27b73c566364c8f9e)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-09-03 13:09:49 +01:00
Bruce Ashfield
0ee1456ab2 linux-yocto/5.15: update to v5.15.60
Updating  to the latest korg -stable release that comprises
the following commits:

    7217df812798 Linux 5.15.60
    5c5c77746ce1 x86/speculation: Add LFENCE to RSB fill sequence
    7fcd99e889c0 x86/speculation: Add RSB VM Exit protections
    c81d1bb58c88 macintosh/adb: fix oob read in do_adb_query() function
    d98cf2b40c20 Bluetooth: btusb: Add Realtek RTL8852C support ID 0x13D3:0x3586
    ee421ad8973b Bluetooth: btusb: Add Realtek RTL8852C support ID 0x13D3:0x3587
    59689a843bc9 Bluetooth: btusb: Add Realtek RTL8852C support ID 0x0CB8:0xC558
    b653eeaa8cf8 Bluetooth: btusb: Add Realtek RTL8852C support ID 0x04C5:0x1675
    d4f921efb4bf Bluetooth: btusb: Add Realtek RTL8852C support ID 0x04CA:0x4007
    04e3388eeb47 Bluetooth: btusb: Add support of IMC Networks PID 0x3568
    6a5ec48fb752 dt-bindings: bluetooth: broadcom: Add BCM4349B1 DT binding
    88e088e29487 Bluetooth: hci_bcm: Add DT compatible for CYW55572
    2aa38f0af306 Bluetooth: hci_bcm: Add BCM4349B1 variant
    37b385c78cd5 btrfs: zoned: fix critical section of relocation inode writeback
    5e04c8bf42d8 btrfs: zoned: prevent allocation from previous data relocation BG
    775871d4be0d arm64: set UXN on swapper page tables
    a619a0312099 KVM: x86/svm: add __GFP_ACCOUNT to __sev_dbg_{en,de}crypt_user()
    e423893fe320 selftests: KVM: Handle compiler optimizations in ucall
    bc2cee443c74 tools/kvm_stat: fix display of error when multiple processes are found
    9acd899d2feb KVM: selftests: Make hyperv_clock selftest more stable
    ad6fd99d5feb KVM: x86: do not set st->preempted when going back to user space
    92343314d34e KVM: x86: do not report a vCPU as preempted outside instruction boundaries
    3d4c28475ee3 crypto: arm64/poly1305 - fix a read out-of-bound
    397c2116cbe2 ACPI: APEI: Better fix to avoid spamming the console with old error logs
    e7170bcda613 ACPI: video: Shortening quirk list by identifying Clevo by board_name only
    3a5fab5c4505 ACPI: video: Force backlight native for some TongFang devices
    9894717519cc tools/vm/slabinfo: Handle files in debugfs
    7ad47f414b40 block: fix default IO priority handling again
    e889a4c440eb selftests/bpf: Check dst_port only on the client socket
    119debdb9f25 selftests/bpf: Extend verifier and bpf_sock tests for dst_port loads
    df9692b8a319 x86/speculation: Make all RETbleed mitigations 64-bit only

(From OE-Core rev: 9d8d44dc6cc882d45004711cebe6f47f0bba4ffd)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 04d334d8881921a1a20407bc8428c7b9c9c80d2d)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-09-03 13:09:49 +01:00
Alexander Kanavin
50599a4377 bind: upgrade 9.18.4 -> 9.18.5
BIND 9.18 is a stable branch, suitable for production use.

Notes for BIND 9.18.5

Feature Changes

The dnssec-signzone -H default value has been changed to 0 additional NSEC3
iterations. This change aligns the dnssec-signzone default with the default
used by the dnssec-policy feature. At the same time, documentation about
NSEC3 has been aligned with the Best Current Practice. [GL #3395]

Bug Fixes

- An assertion failure caused by a TCP connection closing between a connect
(or accept) and a read from a socket has been fixed. [GL #3400]

- When grafting non-delegated namespace onto delegated namespace,
synth-from-dnssec could incorrectly synthesize non-existence of records
within the non-delegated namespace using NSEC records from higher zones. [GL #3402]

- Previously, named immediately returned a SERVFAIL response to the client
when it received a FORMERR response from an authoritative server during
recursive resolution. This has been fixed: named acting as a resolver
now attempts to contact other authoritative servers for a given domain
when it receives a FORMERR response from one of them. [GL #3152]

- Previously, rndc reconfig did not pick up changes to endpoints statements
in http blocks. This has been fixed. [GL #3415]

- It was possible for a catalog zone consumer to process a catalog zone
member zone when there was a configured pre-existing forward-only forward
zone with the same name. This has been fixed. [GL #2506]

(From OE-Core rev: 75c4b8361ef2d3a39e192ed8318d1038a3ff0999)

Signed-off-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 0a419b730ca87daa4e07daf022a550fb4112b9b0)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-09-03 13:09:49 +01:00
ghassaneben
51fa770857 sqlite: fix CVE-2022-35737
Increase the size of loop variables in the printf() implementation to avoid integer overflow on multi-gigabyte string arguments. CVE-2022-35737.

This bug fix refers to: CVE-2022-35737 and it's a backport of a fix added in sqlite 3.39.2 (2022-07-21).

(From OE-Core rev: fdc82b2314b580c0135c16b7278ebf8786311dec)

Signed-off-by: Ghassane Ben El Aattar <ghassaneb.aattar@huawei.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-09-03 13:09:49 +01:00
Joshua Watt
a6fe1dab21 bitbake: utils: Pass lock argument in fileslocked
Pass additional arguments in the fileslocked() context manager to the
underlying lockfile() function. This allows the context manager to be
used for any types of locks (non-blocking, shared, etc.) that the
lockfile() function supports.

(Bitbake rev: ce9fe70156e8f909a3a81da017b89ea61bc6fe38)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-09-02 11:45:32 +01:00
Ross Burton
366fde882f wic: depend on cross-binutils
Wic can build an unified kernel image, but this needs the cross-objcopy
from binutils.

(From OE-Core rev: 7c7a488116f49083ca42d3628ebc0870585110c3)

(From OE-Core rev: 92f122e0c1a7589bec3b628474548aad7fe159b4)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-31 16:54:17 +01:00
Ross Burton
cd88865fd2 wic/bootimg-efi: use cross objcopy when building unified kernel image
We can't rely on the host objcopy knowing how to process target binaries,
so use the cross objcopy in the sysroot instead.

Also construct the command argument-by-argument as the format expression
was getting unwieldy.

(From OE-Core rev: 0264aeedbf21e9e7a104243c11b3b57f00e38bda)

(From OE-Core rev: 4e8b803d7efa13c950353bb00ab65be22eb61736)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-31 16:54:17 +01:00
Ross Burton
8191b79123 wic: add target tools to PATH when executing native commands
We might want to run a cross tool, such as objcopy, in wic.  These are
in a TARGET_SYS/ subdirectory under /usr/bin, so add that directory to
the search path too.

(From OE-Core rev: c523549141e5c31edc75281f581d97867b7d251d)

(From OE-Core rev: f8e0512503410ca5137fcf114fbffb52aa98be07)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-31 16:54:17 +01:00
Ross Burton
79668237c9 oeqa/gotoolchain: set CGO_ENABLED=1
In cross-compiles CGO_ENABLED=1 needs to be set explicitly, as otherwise
Go refuses to use it even if CC is already set.

This fixes the selftest on setups where the host and the SDK target
don't have matching architectures.

[ YOCTO #14859 ]

(From OE-Core rev: 19be072619d39267df44f23c4c8b64f3808f6148)

(From OE-Core rev: ebdc76b3c29fd4915bee39026f780172fdf8fa1a)

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>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-31 16:54:17 +01:00
Ross Burton
d45b3be4bf oeqa/gotoolchain: put writable files in the Go module cache
By default 'go mod' creates read-only files, but that just complicates
things.  Add -modcacherw to make the cache read/write, so it can be
cleaned up without needing to chmod.

(From OE-Core rev: 7ff30e0d9fe8527cbc2f8ca84e0300fdc84663b6)

(From OE-Core rev: 3527149662d483ea9c80a649d6953f4ba1e44224)

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>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-31 16:54:17 +01:00
Ross Burton
00e2ab0852 oeqa/selftest: rename git.py to intercept.py
By naming this test class git.py, any attempt to import GitPython (as
needed by oelib.buildhistory) failed.

As this class exercises the intercepts, rename it to intercept.py.

(From OE-Core rev: d557cbbf86767bc2ebf2beb3d70af3b3ca5e0529)

(From OE-Core rev: b4ec76c699f8d20de7d6d2b51b062d8ec41e2486)

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>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-31 16:54:17 +01:00
Ross Burton
672187ff65 oeqa/qemurunner: add run_serial() comment
Add a comment explaining the non-obvious return codes.

(From OE-Core rev: cdf3a1a20f02f43451f86a321c001e6b049a4ffc)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 6572baffa02ba6b8a686490d55af17cacb528920)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-31 16:54:17 +01:00
Shubham Kulkarni
7712782d90 sanity: add a comment to ensure CONNECTIVITY_CHECK_URIS is correct
In sanity.bbclass, in function check_connectivity :
Connectivity is tested by fetching URIs in variable CONNECTIVITY_CHECK_URIS.
If none is accessible, the status error is ambiguous.

It says to ensure the host's network is correctly configured but
never if the remote is available.

(From OE-Core rev: da97905d20454b90b4513a1f49b55cc89f9260d2)

Signed-off-by: Shubham Kulkarni <skulkarni@mvista.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 9865176df6b6362a410b0fc3c115d942462dc338)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-31 16:54:17 +01:00
Pavel Zhukov
ed9a6adb5d package_rpm: Do not replace square brackets in %files
This reverts commit f95adb749619e70920c6cc6cd01c6d02cd348fd8.
At some point RPM stopped treating "[]?" characters in quoted text as a glob
This causes rpmbuild error [1] in oe-core if package contains filenames
with such characters [Yocto #13746]. Reverting commit which replaces "[]" with "?"
fixes the issue.
It should be safe now becuase rpm tries to use filename directly if not
found by glob [2].

[1]
| error: File not found: /mnt/builds/yocto/build/build/tmp/work/core2-64-poky-linux/testrpm/0.0.1-r0/package/42 All-Time Classics (E) ?v1.1?.cht
|     File not found: /mnt/builds/yocto/build/build/tmp/work/core2-64-poky-linux/testrpm/0.0.1-r0/package/42 All-Time Classics (E) ?v1.1?.cht
|

[2] c16c70cbd6

(From OE-Core rev: c17806bcd3b16b7c13606325195270d7c799a5c9)

Signed-off-by: Pavel Zhukov <pavel.zhukov@huawei.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 9916212b4810280108107d94cd2c0cd3e07ae6ed)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-31 16:54:17 +01:00
Jon Mason
1983fc67f5 oeqa/parselogs: add qemuarmv5 arm-charlcd masking
On qemuarmv5, arm-charlcd is logging an error because the device isn't
present on the virtual machine.  Mask it off, as that device could be
present on the physical hardware (and we want to use the same kernel
config as the real hardware).

(From OE-Core rev: 752667a50f81fa6aeb1312667b6c0efe883f8564)

Signed-off-by: Jon Mason <jdmason@kudzu.us>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit c03c33a4032f995a288f7287e79f43fcd3140aa1)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-31 16:54:17 +01:00
Awais Belal
371147d7c0 kernel-fitimage.bbclass: only package unique DTBs
The KERNEL_DEVICETREE and related variables could potentially have a device
tree listed multiple times and this works okay for most scenarios. However,
when we create FIT entries for these we get duplicate nodes and uboot-mkimage
fails with

fit-image-initramfs-image.its:219.58-229.19: ERROR (duplicate_node_names): /images/fdt-freescale_imx8mp-evk-ecspi-slave.dtb: Duplicate node name
fit-image-initramfs-image.its:307.50-317.19: ERROR (duplicate_node_names): /images/fdt-freescale_imx8mp-evk-ndm.dtb: Duplicate node name
fit-image-initramfs-image.its:362.54-372.19: ERROR (duplicate_node_names): /images/fdt-freescale_imx8mp-evk-rm67199.dtb: Duplicate node name
fit-image-initramfs-image.its:417.56-427.19: ERROR (duplicate_node_names): /images/fdt-freescale_imx8mp-evk-usdhc1-m2.dtb: Duplicate node name
fit-image-initramfs-image.its:648.59-658.19: ERROR (duplicate_node_names): /configurations/conf-freescale_imx8mp-evk-ecspi-slave.dtb: Duplicate node name
fit-image-initramfs-image.its:744.51-754.19: ERROR (duplicate_node_names): /configurations/conf-freescale_imx8mp-evk-ndm.dtb: Duplicate node name
fit-image-initramfs-image.its:804.55-814.19: ERROR (duplicate_node_names): /configurations/conf-freescale_imx8mp-evk-rm67199.dtb: Duplicate node name
fit-image-initramfs-image.its:864.57-874.19: ERROR (duplicate_node_names): /configurations/conf-freescale_imx8mp-evk-usdhc1-m2.dtb: Duplicate node name
ERROR: Input tree has errors, aborting (use -f to force output)
uboot-mkimage: Can't open arch/arm64/boot/fitImage.tmp: No such file or directory

We fix this by tracking the DTBs we're compiling in the FIT and only picking
up unique ones.

(From OE-Core rev: c8a24ad8648e0e93342efa35fae35df30be3091f)

Signed-off-by: Awais Belal <awais_belal@mentor.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 98acfea1e82a90c920bdd636033f930ac034b318)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-31 16:54:17 +01:00
Bertrand Marquis
bb8d474166 sysvinit-inittab/start_getty: Fix respawn too fast
When an entry in /dev does not exist, start_getty is returning directly.
As it is started from init in a respawn mode, it will loop infinitely.
In this case add a sleep inside start_getty to prevent the "Respawning
too fast" message popping up every 5 minutes.

This case is happening quite often when the system is started as an
hypervisor guest as the standard serial line is usually taken by it and
removed from the configuration.

This was triggered quite often running linux as dom0 on top of Xen on
arm as the serial line is taken by Xen and removed from the device tree.

Use the opportunity to replace one tab with spaces as the rest of the
file is using spaces.

(From OE-Core rev: 8b95138b09256df61578ddf7df16ef13bced1847)

Signed-off-by: Bertrand Marquis <bertrand.marquis@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 5a704d0ff4d95b6d3a67b80a0db2be66253e7d61)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-31 16:54:17 +01:00
Alexander Kanavin
af01a36c23 wpebackend-fdo: upgrade 1.12.0 -> 1.12.1
This is the first bug fix release in the stable 1.12 series.

Fixed a crash caused by trying to deallocate already freed graphics
buffers in certain situations.

(From OE-Core rev: 1c7eab82f45ecabe21de3759f1ab97897250fc50)

Signed-off-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 a614bb96fab31049614d8cb24062fe77c76c8e30)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-31 16:54:17 +01:00
Alexander Kanavin
38874f5090 wireless-regdb: upgrade 2022.06.06 -> 2022.08.12
(From OE-Core rev: a46a5f3155f25e8f91c1f42df0da7d71726d35ba)

Signed-off-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 75386480abd1660a50c79d5987b77ccc43295511)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-31 16:54:17 +01:00
Alexander Kanavin
64113a4832 libwebp: upgrade 1.2.3 -> 1.2.4
- 8/4/2022: version 1.2.4
  This is a binary compatible release.
  * restore CMake libwebpmux target name for compatibility with 1.2.2 (#575)
  * fix lossless crunch mode encoding with WEBP_REDUCE_SIZE
    (chromium: #1345547, #1345595, #1345772, #1345804)

(From OE-Core rev: f6c1c16b7e85b804d5ee22462dda9171431e1556)

Signed-off-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 efabd3d0d72220f17249abc13d2ca758bdd0141a)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-31 16:54:17 +01:00
Alexander Kanavin
74e8b2e140 libjpeg-turbo: upgrade 2.1.3 -> 2.1.4
Significant changes relative to 2.1.3

- Fixed a regression introduced in 2.1.3 that caused build failures with Visual Studio 2010.

- The tjDecompressHeader3() function in the TurboJPEG C API and the TJDecompressor.setSourceImage()
method in the TurboJPEG Java API now accept "abbreviated table specification" (AKA "tables-only")
datastreams, which can be used to prime the decompressor with quantization and Huffman tables that
can be used when decompressing subsequent "abbreviated image" datastreams.

- libjpeg-turbo now performs run-time detection of AltiVec instructions on OS X/PowerPC systems if
AltiVec instructions are not enabled at compile time. This allows both AltiVec-equipped (PowerPC G4
and G5) and non-AltiVec-equipped (PowerPC G3) CPUs to be supported using the same build of libjpeg-turbo.

- Fixed an error ("Bogus virtual array access") that occurred when attempting to decompress a progressive
JPEG image with a height less than or equal to one iMCU (8 * the vertical sampling factor) using
buffered-image mode with interblock smoothing enabled. This was a regression introduced by 2.1 beta1[6(b)].

- Fixed two issues that prevented partial image decompression from working properly with buffered-image mode:
  * Attempting to call jpeg_crop_scanline() after jpeg_start_decompress() but before jpeg_start_output() resulted
    in an error ("Improper call to JPEG library in state 207".)
  * Attempting to use jpeg_skip_scanlines() resulted in an error ("Bogus virtual array access") under
    certain circumstances.

(From OE-Core rev: cf3e5805ff955e639fa9d9f6a36f75e3f34b4dda)

Signed-off-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 ec92b905bca2ea773966672283d5f45872091b31)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-31 16:54:17 +01:00
Alexander Kanavin
edc290cddf glib-networking: upgrade 2.72.1 -> 2.72.2
2.72.2 - August 5, 2022
=======================

 - Drop environment proxy resolver to lowest priority (#190)

(From OE-Core rev: 932d5a40b14d79e57ac21dc9a26eb2a51afebbb7)

Signed-off-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 10d01291e67d7308e1758590ac020af24ed0a42f)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-31 16:54:17 +01:00
Alexander Kanavin
a0c8c576a3 epiphany: upgrade 42.3 -> 42.4
Release notes:

Fix crashes and misbehavior when importing bookmarks (#1800)
Fix desktop notification priority (!1179)

(From OE-Core rev: c9cdce6e22032f09b6f20774acf4a8861b72f51e)

Signed-off-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 de741b26b23406e30d064685be1254b0d6caed84)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-31 16:54:17 +01:00
Alexander Kanavin
12c38aea92 gdk-pixbuf: update 2.42.8 -> 2.42.9
2.42.9 (stable)
===

- Fix the check for maximum value of LZW initial code size [#136, Robert Ancell]
- Use CMake for dependencies on Windows/MSVC [!131, Chun-Wei Fan]
- Add option for building tests [!132]
- Move man pages to reStructuredText [!134]
- Disable relocation when built as a static libary on Windows [!136, Hesham Essam]
- Update wrap file for libjpeg-turbo [!138, Georges Basile Stavracas Neto]
- Limit the memory size when loading image data [#205, Sam Ezeh]

Disable manpages, as they require rst2man.

(From OE-Core rev: 3fb95a8092fa54067228b0fc0874e717dd87709d)

Signed-off-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 06fc6230823753f2325da7e0916eccc4daac5c6a)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-31 16:54:17 +01:00
Alexander Kanavin
6ee4d6ed71 gdk-pixbuf: upgrade 2.42.6 -> 2.42.8
2.42.8 (stable)
===

- Clear the pixbuf's memory buffer to avoid returning uninitialized memory [#199]
- Turn GdkPixbufModule functions into typed callbacks [!123]
- tiff: Use non-deprecated C99 integer types [!124]
- gif: Check for overflow when compositing or clearing frames [#190]
- Change png/jpeg/tiff build options from boolean to feature [!118]
- jpeg: Do not rely on UB around setjmp/longjmp [#143]
- Build fixes [!114, #185, #182]
- Documentation fixes [!120, !125]
- Translation updates

(From OE-Core rev: 5300fb52646afe93ad8c24e132789167a6b339ce)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit d8398c88c6d950781709a112446d6a320e624346)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-31 16:54:17 +01:00
Hitendra Prajapati
992a4cfd10 Revert "gdk-pixbuf: CVE-2021-46829 a heap-based buffer overflow"
CVE will be fixed in subsequent stable release update

This reverts commit 978bc910ac326e34ec4f99c4645a80ed09c65407.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-31 16:54:17 +01:00
Alexander Kanavin
bc3ef76f40 xz: update 5.2.5 -> 5.2.6
5.2.6 (2022-08-12)

    * xz:

        - The --keep option now accepts symlinks, hardlinks, and
          setuid, setgid, and sticky files. Previously this required
          using --force.

        - When copying metadata from the source file to the destination
          file, don't try to set the group (GID) if it is already set
          correctly. This avoids a failure on OpenBSD (and possibly on
          a few other OSes) where files may get created so that their
          group doesn't belong to the user, and fchown(2) can fail even
          if it needs to do nothing.

        - Cap --memlimit-compress to 2000 MiB instead of 4020 MiB on
          MIPS32 because on MIPS32 userspace processes are limited
          to 2 GiB of address space.

    * liblzma:

        - Fixed a missing error-check in the threaded encoder. If a
          small memory allocation fails, a .xz file with an invalid
          Index field would be created. Decompressing such a file would
          produce the correct output but result in an error at the end.
          Thus this is a "mild" data corruption bug. Note that while
          a failed memory allocation can trigger the bug, it cannot
          cause invalid memory access.

        - The decoder for .lzma files now supports files that have
          uncompressed size stored in the header and still use the
          end of payload marker (end of stream marker) at the end
          of the LZMA stream. Such files are rare but, according to
          the documentation in LZMA SDK, they are valid.
          doc/lzma-file-format.txt was updated too.

        - Improved 32-bit x86 assembly files:
            * Support Intel Control-flow Enforcement Technology (CET)
            * Use non-executable stack on FreeBSD.

        - Visual Studio: Use non-standard _MSVC_LANG to detect C++
          standard version in the lzma.h API header. It's used to
          detect when "noexcept" can be used.

    * xzgrep:

        - Fixed arbitrary command injection via a malicious filename
          (CVE-2022-1271, ZDI-CAN-16587). A standalone patch for
          this was released to the public on 2022-04-07. A slight
          robustness improvement has been made since then and, if
          using GNU or *BSD grep, a new faster method is now used
          that doesn't use the old sed-based construct at all. This
          also fixes bad output with GNU grep >= 3.5 (2020-09-27)
          when xzgrepping binary files.

          This vulnerability was discovered by:
          cleemy desu wayo working with Trend Micro Zero Day Initiative

        - Fixed detection of corrupt .bz2 files.

        - Improved error handling to fix exit status in some situations
          and to fix handling of signals: in some situations a signal
          didn't make xzgrep exit when it clearly should have. It's
          possible that the signal handling still isn't quite perfect
          but hopefully it's good enough.

        - Documented exit statuses on the man page.

        - xzegrep and xzfgrep now use "grep -E" and "grep -F" instead
          of the deprecated egrep and fgrep commands.

        - Fixed parsing of the options -E, -F, -G, -P, and -X. The
          problem occurred when multiple options were specied in
          a single argument, for example,

              echo foo | xzgrep -Fe foo

          treated foo as a filename because -Fe wasn't correctly
          split into -F -e.

        - Added zstd support.

    * xzdiff/xzcmp:

        - Fixed wrong exit status. Exit status could be 2 when the
          correct value is 1.

        - Documented on the man page that exit status of 2 is used
          for decompression errors.

        - Added zstd support.

    * xzless:

        - Fix less(1) version detection. It failed if the version number
          from "less -V" contained a dot.

    * Translations:

        - Added new translations: Catalan, Croatian, Esperanto,
          Korean, Portuguese, Romanian, Serbian, Spanish, Swedish,
          and Ukrainian

        - Updated the Brazilian Portuguese translation.

        - Added French man page translation. This and the existing
          German translation aren't complete anymore because the
          English man pages got a few updates and the translators
          weren't reached so that they could update their work.

    * Build systems:

        - Windows: Fix building of resource files when config.h isn't
          used. CMake + Visual Studio can now build liblzma.dll.

        - Various fixes to the CMake support. Building static or shared
          liblzma should work fine in most cases. In contrast, building
          the command line tools with CMake is still clearly incomplete
          and experimental and should be used for testing only.

(From OE-Core rev: b2af2fd0dbb3edac0257adc4edfa9bcab4941f92)

Signed-off-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 7e3782f4d66973cb7ab922d4bbc6ef6241756ed2)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-31 16:54:17 +01:00
Alexander Kanavin
2c91043290 tzdata: upgrade 2022a -> 2022b
(From OE-Core rev: bca81bb4bcc46237bd4d2cfe8b2f74f527d531bd)

Signed-off-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 b301d5203a4da0a0985670848126c5db762ddc86)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-31 16:54:17 +01:00
Rajesh Dangi
79730b06c8 linux-yocto/5.10: update genericx86* machines to v5.10.135
(From meta-yocto rev: 5e550e79ac133e520e042662c9bef486cbfc26db)

Signed-off-by: Rajesh Dangi <rajeshx.dangi@intel.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-31 14:37:06 +01:00
Rajesh Dangi
7f1145b315 linux-yocto/5.15: update genericx86* machines to v5.15.59
(From meta-yocto rev: 2c46500f5be75aec04e9376869efa98504e8f3fa)

Signed-off-by: Rajesh Dangi <rajeshx.dangi@intel.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-31 14:37:06 +01:00
Michael Opdenacker
e0c806a65c migration guides: add missing release notes
(From yocto-docs rev: 23d3687c4cf71e878619a7bd7b95a9df944ca76c)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-31 12:17:41 +01:00
Jon Mason
b051dc5d4f ref-manual: add numa to machine features
numa is an existing machine feature, add it to the list so that users
are aware of it.

(From yocto-docs rev: 7794a3449e1b92a57a551395a65e7083eefff227)

Signed-off-by: Jon Mason <jdmason@kudzu.us>
Reviewed-by: Quentin Schulz <foss+yocto@0leil.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-31 12:17:41 +01:00
Richard Purdie
2140cd390f vim: Upgrade 9.0.0115 -> 9.0.0242
Includes fixes for:

CVE-2022-2816
CVE-2022-2817
CVE-2022-2819
CVE-2022-2845
CVE-2022-2849
CVE-2022-2862
CVE-2022-2874
CVE-2022-2889

(From OE-Core rev: 54ee67b1a805a07288925d56e9956aabc23b6ab2)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 3ec2d27d09444213ec1c9b91c6f8c4363f297294)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-28 07:52:28 +01:00
Kai Kang
29ed4d5025 packagegroup-self-hosted: update for strace
strace has been set imcompatible with riscv32, so update in
packagegroup-self-hosted.bb accordingly.

(From OE-Core rev: 7709a8c1c1b2dcf05678f1a2a1fd579a95e492f2)

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit d326c561f90666f292d55b029e358c86b765b7c4)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-28 07:51:30 +01:00
Peter Marko
df99f61e05 create-spdx: handle links to inaccessible locations
When a link is pointing to location inaccessible to build user (e.g. "/root/something"),
filepath.is_file() throws "PermissionError: [Errno 13] Permission denied".
Fix this by first checking if it is a link.

(From OE-Core rev: 9661656987e547290cecb94cbf9b34335ae9d903)

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 e105befbe4ee0d85e94c2048a744f0373e2dbcdf)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-28 07:51:30 +01:00
Jose Quaresma
4084c93c6a linux-yocto: prepend the the value with a space when append to KERNEL_EXTRA_ARGS
(From OE-Core rev: 099e000999383c464d38e5d6b044994e5d08a1ea)

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 f6183b2d2f625515ea767dba3d8076a53a246874)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-28 07:51:30 +01:00
Changqing Li
9e3f81eac0 apt: fix nativesdk-apt build failure during the second time build
Run following commands:
bitbake nativesdk-apt
bitbake nativesdk-apt -c install -f

The second command's do_install will fail with following error:
| /build/tmp-glibc/work/x86_64-nativesdk-wrlinuxsdk-linux/nativesdk-apt/2.4.5-r0/recipe-sysroot-native/usr/bin/x86_64-wrlinuxsdk-linux/x86_64-wrlinuxsdk-linux-g++ -D_WITH_GETLINE=1 -Dapt_pkg_EXPORTS -I/build/tmp-glibc/work/x86_64-nativesdk-wrlinuxsdk-linux/nativesdk-apt/2.4.5-r0/build/include -I/build/tmp-glibc/work/x86_64-nativesdk-wrlinuxsdk-linux/nativesdk-apt/2.4.5-r0/build/include/apt-pkg --sysroot=/build/tmp-glibc/work/x86_64-nativesdk-wrlinuxsdk-linux/nativesdk-apt/2.4.5-r0/recipe-sysroot  -O2 -pipe -fmacro-prefix-map=/build/tmp-glibc/work/x86_64-nativesdk-wrlinuxsdk-linux/nativesdk-apt/2.4.5-r0=/usr/src/debug/nativesdk-apt/2.4.5-r0                      -fdebug-prefix-map=/build/tmp-glibc/work/x86_64-nativesdk-wrlinuxsdk-linux/nativesdk-apt/2.4.5-r0=/usr/src/debug/nativesdk-apt/2.4.5-r0                      -fdebug-prefix-map=/build/tmp-glibc/work/x86_64-nativesdk-wrlinuxsdk-linux/nativesdk-apt/2.4.5-r0/recipe-sysroot=                      -fdebug-prefix-map=/build/tmp-glibc/work/x86_64-nativesdk-wrlinuxsdk-linux/nativesdk-apt/2.4.5-r0/recipe-sysroot-native=  -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -Wall -Wextra -Wcast-align -Wlogical-op -Wredundant-decls -Wmissing-declarations -Wunsafe-loop-optimizations -Wctor-dtor-privacy -Wdisabled-optimization -Winit-self -Wmissing-include-dirs -Wnoexcept -Wsign-promo -Wundef -Wdouble-promotion -Wsuggest-override -Werror=suggest-override -Werror=return-type -std=gnu++17 -MD -MT apt-pkg/CMakeFiles/apt-pkg.dir/tagfile-keys.cc.o -MF apt-pkg/CMakeFiles/apt-pkg.dir/tagfile-keys.cc.o.d -o apt-pkg/CMakeFiles/apt-pkg.dir/tagfile-keys.cc.o -c /build/tmp-glibc/work/x86_64-nativesdk-wrlinuxsdk-linux/nativesdk-apt/2.4.5-r0/build/apt-pkg/tagfile-keys.cc
| /build/tmp-glibc/work/x86_64-nativesdk-wrlinuxsdk-linux/nativesdk-apt/2.4.5-r0/build/apt-pkg/tagfile-keys.cc:1:10: fatal error: /include/apt-pkg/tagfile-keys.h: No such file or directory
|     1 | #include "/include/apt-pkg/tagfile-keys.h"
0/build/tmp-glibc/work/x86_64-nativesdk-wrlinuxsdk-linux/nativesdk-apt/2.4.5-r0/build/apt-pkg/tagfile-keys.cc

During the first command, do_install task changed tagfile-keys.cc, this
will make tagfile-keys.cc is newer than the built tagfile-keys.cc.o. So the second
do_install will rebuild tagfile-keys.cc.o. But the header path is
replaced wrongly, so fix the header path

(From OE-Core rev: 00337a5426aaece57ecbdc2f601b0c8272e2c5b9)

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 3e18bd4dbddacfd878317ebcf0a039b46d6d6342)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-28 07:51:30 +01:00
Jose Quaresma
20ebf63217 archiver.bbclass: some recipes that uses the kernelsrc bbclass uses the shared source
This fix a race that happens when building some of the followning recipes
with kernel at same time.

The kernelsrc uses the kernel shared source dir as their source
S = "${STAGING_KERNEL_DIR}" and this will cause a race in the
do_unpack_and_patch task, when bitbake runs the
bb.build.exec_func('do_unpack', d) because do_unpack will
clean the source dir on startup.

| ok: note that S != "${STAGING_KERNEL_DIR} for this ones
openembedded-core/meta/recipes-kernel/perf/perf.bb:inherit kernelsrc
meta-openembedded/meta-oe/recipes-kernel/usbip-tools/usbip-tools.bb:inherit kernelsrc autotools-brokensep

| broken
meta-openembedded/meta-oe/recipes-kernel/cpupower/cpupower.bb:inherit kernelsrc kernel-arch bash-completion
meta-openembedded/meta-oe/recipes-kernel/spidev-test/spidev-test.bb:inherit bash-completion kernelsrc kernel-arch
meta-openembedded/meta-oe/recipes-kernel/intel-speed-select/intel-speed-select.bb:inherit kernelsrc
meta-openembedded/meta-oe/recipes-kernel/bpftool/bpftool.bb:inherit bash-completion kernelsrc kernel-arch

The issue can be replicated with:

INHERIT += "archiver"
ARCHIVER_MODE[src] = "original"
ARCHIVER_MODE[diff] = "1"

And:

R=<recipe> bitbake -c cleansstate virtual/kernel $R && bitbake $R

(From OE-Core rev: 2556d0bd85039d45cc4b0f9b5d7c4ec50fcbb712)

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 5487dee2e1237fb57c5e59b2bbbfbcdfc8c97ab6)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-28 07:51:30 +01:00
Richard Purdie
6cde70a085 perf: Fix reproducibility issues with 5.19 onwards
In 5.19 onwards the build process changed and encoded full build paths
into the output. Adapt the code to look more like our setuptools class
calls. This seems to work ok with older kernels too.

(From OE-Core rev: 6d1bedab94e5ffa1b6fefcf181b09fcf4127bdc7)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 138673f833a72c636a7fa185089f25dda350dc54)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-28 07:51:30 +01:00
Beniamin Sandu
2900394c89 libpam: use /run instead of /var/run in systemd tmpfiles
Update the deprecated path to remove the systemd warning:

/etc/tmpfiles.d/pam.conf:2: Line references path below
legacy directory /var/run/, updating /var/run/console
/run/console; please update the tmpfiles.d/

(From OE-Core rev: ed0cbea49e0bad6ed8b23a469fecfeb09fc3cd5f)

Signed-off-by: Beniamin Sandu <beniaminsandu@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 7865234fadf01a434d1f7097881b70905c1b8aa2)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-28 07:51:30 +01:00
Khem Raj
81eb70494a tcp-wrappers: Fix implicit-function-declaration warnings
This is seen with clang-15+

(From OE-Core rev: a5555a2d38521ef1c8d93676fbc2f6fec3558160)

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 4b882afd6c1a67b48cf4e7ace95d46ca2ff12aa0)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-28 07:51:30 +01:00
Khem Raj
b331a33241 cracklib: Drop using register keyword
Fixes
incompatible integer to pointer conversion passing

These errors are found with newer compilers e.g. clang-15

(From OE-Core rev: 123f04be2a6df0d7c388a359174d4c185080bdc8)

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 71eb15c474d891855a5b18e6835993848ffa7c51)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-28 07:51:30 +01:00
Daiane Angolini
e25377627d python3-pip: Fix RDEPENDS after the update
Fix the following error messages:

   ModuleNotFoundError: No module named 'distutils'

   ModuleNotFoundError: No module named 'colorsys'

(From OE-Core rev: 3e1c254f71a4d22ebde063e23242cd838fb917f9)

Signed-off-by: Daiane Angolini <daiane.angolini@foundries.io>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 8beef93e6e341566eba8a125f75ad836ac6a3d69)
Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-28 07:51:30 +01:00
Alexander Kanavin
3e3e985aba weston: upgrade 10.0.1 -> 10.0.2
This is a bugfix release

Full commit history below.

Daniel Stone (1):
      tests: Use test-desktop-shell for devices-test

Pekka Paalanen (1):
      tests: preserve ivi runner section

Simon Ser (1):
      build: bump to version 10.0.2 for the point release

Drop dont-use-plane-add-prop.patch as issue is fixed elsewhere
(see the link in the patch).

(From OE-Core rev: 457900220ca6bfbda8b3e7485bac3c0c92d05a7f)

Signed-off-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 ed54ef8f094fb6759316781a5ac626af40ad8ffc)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-28 07:51:30 +01:00
Alexander Kanavin
430ad987d4 webkitgtk: upgrade 2.36.4 -> 2.36.5
This is a bug fix release in the stable 2.36 series.

What’s new in the WebKitGTK 2.36.5 release?

- Add support for PAC proxy in the WebDriver implementation.
- Fix video playback when loaded through custom URIs, this fixes video playback in the Yelp documentation browser.
- Fix WebKitWebView::context-menu when using GTK4.
- Fix LTO builds with GCC.
- Fix several crashes and rendering issues.

(From OE-Core rev: c13a40b162fba43f167e5841f6cd15c2c1ed1ab6)

Signed-off-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 31e57deaed0fd46396d22dd6fcb75e955c1aa2f6)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-28 07:51:30 +01:00
Alexander Kanavin
fa705f6a8b mobile-broadband-provider-info: upgrade 20220511 -> 20220725
(From OE-Core rev: 63b38e57618d6c18c71d1b2b35fb16c63041ddfc)

Signed-off-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 96185dac787e14fa9eb77d009653a2fd4d926e3f)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-28 07:51:30 +01:00
Alexander Kanavin
7a44d09399 libwebp: upgrade 1.2.2 -> 1.2.3
- 6/30/2022: version 1.2.3
  This is a binary compatible release.
  * security fix for lossless encoder (#565, chromium:1313709)
  * improved progress granularity in WebPReportProgress() when using lossless
  * improved precision in Sharp YUV (-sharp_yuv) conversion
  * many corrections to webp-lossless-bitstream-spec.txt (#551)
  * crash/leak fixes on error/OOM and other bug fixes (#558, #563, #569, #573)

(From OE-Core rev: 8dc75fd36bb523a2d10305fd1fec91081d4ce274)

Signed-off-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 1ab7d3bd94f8aeffc1e126a1ef80d5ca6bd3d6c1)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-28 07:51:30 +01:00
Alexander Kanavin
7f288475f5 libcap: upgrade 2.64 -> 2.65
CHanges from 2.64:

- Fix syntax error in DEBUG build of protected code in setcap.c. (Bug reported by yixiangzhike.)
- Prevent bash from reading the wrong startup files when the capsh --user=xxx argument is used to invoke a shell as the user xxx. (Bug: 215926)
- Man page info for cap_get_pid() and cap_reset_ambient(). (Bug reports from nomonemo and Tinkerer One.)
- Improve documentation and help for the captree program.
- Updated go/Makefile comment about an unfixed Go runtime bug in go1.16 and go1.17 (resolved in go1.18+), and the deadlock behavior of the psx-fd test.
- Refresh the signatures on the two GPG keys morgan@ uses. The 4096 bit one is preferred, but the older one is also used for continuity reasons. This set of signatures should also be available from the various key servers out there.

(From OE-Core rev: 70cd3c073512084fccb85b311911794ea895d3f2)

Signed-off-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 c3b16a6d0d0d4246b44dec3b1818f435d32d04e5)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-28 07:51:29 +01:00
wangmy
407bb73387 libcap: upgrade 2.63 -> 2.64
Changes from 2.63:

- Fix memory leak in libpsx at program exit. (Bug: 215551 reported by Kalen Hall)
- Be more resilient to CGo configuration with Go compiler when building tests. (Bug: 215603)
- Fix cap_*prctl() return code/errno handling.  (Bug: 215772 reported by Anderson Toshiyuki Sasaki)
- Minor clarification to cap_get_pid() man page concerning pid value within namespaces. (Bug: 215812)

(From OE-Core rev: b23e43ea7c677b5450969d3586d1f68cc278fc73)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit bfbf8f05d1789b8a8a6826b83a21fd09b8e903ad)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-28 07:51:29 +01:00
Alexander Kanavin
a3e099e8a0 iso-codes: upgrade 4.10.0 -> 4.11.0
Changes from 4.10.0:

- Update ISO 639-3 codes from SIL website. Fixes #40
- Translation updates for ISO 3166-1
- Translation updates for ISO 3166-2
- Translation updates for ISO 3166-3
- Translation updates for ISO 639-2
- Translation updates for ISO 639-3
- Translation updates for ISO 639-5
- Translation updates for ISO 4217
- Translation updates for ISO 15924

(From OE-Core rev: 2d0254acde343c2d9cdcb94b488dc1308bae319f)

Signed-off-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 a269e59a960a56ac038f4e96c199a7577202b186)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-28 07:51:29 +01:00
Alexander Kanavin
467b0536aa ell: upgrade 0.49 -> 0.50
ver 0.50:
	Fix issue with D-Bus use-after-free crash when removing objects.
	Fix issue with DHCP lease expiry based on frame reception times.

(From OE-Core rev: 56b8dbfa7a0d70306d61c7f21125232bc6a2e34c)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 9a9c78fb94d04c1b38d8d0f2cb283e19ed513a12)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-28 07:51:29 +01:00
Alexander Kanavin
8cc22b745e libwpe: upgrade 1.12.0 -> 1.12.2
What’s new in libwpe 1.12.1?
- Fix pasteboard to use the generic interface by default.
- Fix memory allocation to always abort execution on failure.

What’s new in libwpe 1.12.1?
- Fix pasteboard to use the generic interface by default.
- Fix memory allocation to always abort execution on failure.

(From OE-Core rev: 89feb5d2c39bf6b01f996bba522948ebb99863c7)

Signed-off-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 03b7bfb0f011ba812808fa353611178cd5618e81)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-28 07:51:29 +01:00
Alexander Kanavin
e0df847541 bluez5: update 5.64 -> 5.65
ver 5.65 changes:
	Fix issue with A2DP cache invalidation handling.
	Fix issue with A2DP and not initialized SEP codec.
	Fix issue with A2DP and multiple SetConfiguration to same SEP
	Fix issue with AVRCP and not properly initialized volume.
	Fix issue with SDP records when operating in LE only mode.
	Fix issue with HoG and not reading report map of instances.
	Fix issue with GATT server crashing while disconnecting.
	Fix issue with not removing connected devices.
	Fix issue with enabling wake support without RPA Resolution.
	Fix issue with pairing failed due to the error of Already Paired.
	Add support for CONFIGURATION_DIRECTORY environment variable.
	Add support for STATE_DIRECTORY environment variable.
	Add support for "Bonded" property with Device API.
	Add experimental support for ISO socket.

Drop fix_service.patch as it is merged upstream.

(From OE-Core rev: 4fdb3d4e031e22c03d03c6cc7713ec45d7498555)

Signed-off-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 10374b5ed4b5550eadacbcd71ae20b751ce5c038)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-28 07:51:29 +01:00
Sakib Sajal
55139508f2 go: update v1.17.12 -> v1.17.13
Update to latest v1.17.x release.
Contains fix for CVE-2022-32189.

go.git$ git log --oneline go1.17.12^..go1.17.13
    15da892a49 (tag: go1.17.13, origin/release-branch.go1.17) [release-branch.go1.17] go1.17.13
    703c8ab7e5 [release-branch.go1.17] math/big: check buffer lengths in GobDecode
    d9242f7a8c [release-branch.go1.17] cmd/compile: do not use special literal assignment if LHS is address-taken
    489c148578 [release-branch.go1.17] cmd/compile: fix prove pass when upper condition is <= maxint
    66c60f076c [release-branch.go1.17] runtime: clear timerModifiedEarliest when last timer is deleted
    c25b12fb81 [release-branch.go1.17] runtime: use saved LR when unwinding through morestack
    1ed3c127da (tag: go1.17.12) [release-branch.go1.17] go1.17.12

(From OE-Core rev: 5acea6ee55d36987609bfa38b579ba86ca1879d1)

Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-28 07:51:29 +01:00
Ernst Sjöstrand
6413ed11f8 cve-check: Don't use f-strings
Since we're keeping cve-check aligned between the active branches,
and dunfell is supported on Python 3.5, we can't use f-strings.

(From OE-Core rev: 057a6f826bd45ebf240df47f0baf7c8027f5711c)

Signed-off-by: Ernst Sjöstrand <ernstp@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 1821cf7464cbba521b55a9c128fe8812c0cc5eca)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-28 07:51:29 +01:00
Yongxin Liu
aa1c8a2b70 grub2: fix several CVEs
Backport CVE patches from upstream to fix:
  CVE-2021-3695
  CVE-2021-3696
  CVE-2021-3697
  CVE-2022-28733
  CVE-2022-28734
  CVE-2022-28735

Backport the following 5 patches to make CVE patches be applied smoothly.
  video-Remove-trailing-whitespaces.patch
  video-readers-jpeg-Abort-sooner-if-a-read-operation-.patch
  video-readers-jpeg-Refuse-to-handle-multiple-start-o.patch

(From OE-Core rev: 5e99aaaa4f36aacaf005d9721c3b6cd7c9526943)

Signed-off-by: Yongxin Liu <yongxin.liu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit db43401a3a4c201f02f4128fa4bac8ce993bfec0)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-28 07:51:29 +01:00
Sakib Sajal
a46516486f u-boot: fix CVE-2022-33967
Backport patch to fix CVE-2022-33967.

(From OE-Core rev: 8123b22735d33f8c0bf71ad41877f968e1c16302)

Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-28 07:51:29 +01:00
Sakib Sajal
c78d028649 u-boot: fix CVE-2022-30552
Backport patch to fix CVE-2022-30552.

(From OE-Core rev: db5212cbe7537036108682f0f3a9316ca3c06fc1)

Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-28 07:51:29 +01:00
Khem Raj
ee16bcef39 connman: Backports for security fixes
Fixes
CVE: CVE-2022-32292, CVE-2022-32293

(From OE-Core rev: ea0d6f29d65889adc1d1080c5cd0cff4ae584900)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 4b3caa1541d69826c14e010ce3ac1a1ca34f3c62)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-28 07:51:29 +01:00
Khem Raj
a6065e7120 libxml2: Ignore CVE-2016-3709
This is fixed via a revert in 2.9.11 [1]

[1] c1ba6f54d3

(From OE-Core rev: a2806f24b95dd8cb1e687655e202bd7e053d0ac7)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 131b7010ae45b0c4e1c6a29dfc56b225d2ad2a69)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-28 07:51:29 +01:00
Hitendra Prajapati
c87dd3d310 libtiff: CVE-2022-34526 A stack overflow was discovered
Source: https://gitlab.com/libtiff/libtiff
MR: 120544
Type: Security Fix
Disposition: Backport from 275735d035
ChangeID: 2f9df449974f5436c1690f3ace5d74b1ab4670c9
Description:
          CVE-2022-34526 libtiff: A stack overflow was discovered in the _TIFFVGetField function of Tiffsplit.

(From OE-Core rev: 4ad7470bc772e33e579947c894ed74a513fbcb39)

Signed-off-by: Hitendra Prajapati <hprajapati@mvista.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-28 07:51:29 +01:00
Richard Purdie
1fc9f7da25 bitbake: runqueue: Change pressure file warning to a note
The user does need to be told about this but it isn't really a warning,
just something they may need to be aware of. Drop the level accordingly.

(Bitbake rev: bc85c044ec250001855f2f9f0717ac031feab7c2)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-24 15:43:34 +01:00
Aryaman Gupta
2e193726bd bitbake: bitbake: runqueue: add memory pressure regulation
Prevent new tasks from being scheduled if the memory pressure is above
a certain threshold, specified through the "BB_MAX_PRESSURE_MEMORY"
variable in the conf/local.conf file. This is an extension to the
following commit and hence regulates pressure in the same way:
   48a6d84de1 bitbake: runqueue: add cpu/io pressure regulation

Memory pressure is experienced when time is spent swapping, refaulting
pages from the page cache or performing direct reclaim. This is why
memory pressure is rarely seen but might be useful as a last resort to
prevent OOM errors.

(Bitbake rev: 44c395434c7be8dab968630a610c8807f512920c)

(Bitbake rev: 4ada86cb6b05e6e3aabc8015a6e73aacb14a3388)

Signed-off-by: Aryaman Gupta <aryaman.gupta@windriver.com>
Signed-off-by: Randy Macleod <Randy.Macleod@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-23 15:55:45 +01:00
Aryaman Gupta
3b18438166 bitbake: bitbake: runqueue: add cpu/io pressure regulation
Prevent the scheduler from starting new tasks if the current cpu or io
pressure is above a certain threshold and there is at least one active
task. This threshold can be specified through the
"BB_PRESSURE_MAX_{CPU|IO}" variables in conf/local.conf.

The threshold represents the difference in "total" pressure from the
previous second. The pressure data is discussed in this oe-core commit:
   061931520b buildstats.py: enable collection of /proc/pressure data
where one can see that the average and "total" values are available.
From tests, it was seen that while using the averaged data was somewhat
useful, the latency in regulating builds was too high. By taking the
difference between the current pressure and the pressure seen in the
previous second, better regulation occurs. Using a shorter time period
is appealing but due to fluctations in pressure, comparing the current
pressure to 1 second ago achieves a reasonable compromise. One can look
at the buildstats logs, that usually sample once per second, to decide a
sensible threshold.

If the thresholds aren't specified, pressure is not monitored and hence
there is no impact on build times. Arbitary lower limit of 1.0 results
in a fatal error to avoid extremely long builds. If the limits are higher
than 1,000,000, then warnings are issued to inform users that the specified
limit is very high and unlikely to result in any regulation.

The current bitbake scheduling algorithm requires that at least one
task be active. This means that if high pressure is seen, then new tasks
will not be started and pressure will be checked only for as long as at
least one task is active. When there are no active tasks, an additional task
will be started and pressure checking resumed. This behaviour means that
if an external source is causing the pressure to exceed the threshold,
bitbake will continue to make some progress towards the requested target.
This violates the intent of limiting pressure but, given the current
scheduling algorithm as described above, there seems to be no other option.
In the case where only one bitbake build is running, the implications of
the scheduler requirement will likely result in pressure being higher
than the threshold. More work would be required to ensure that
the pressure threshold is never exceeded, for example by adding pressure
monitoring to make and ninja.

(Bitbake rev: 502e05cbe67fb7a0e804dcc2cc0764a2e05c014f)

(Bitbake rev: f4954b878d404a72156fe98609387aa9c5747af0)

Signed-off-by: Aryaman Gupta <aryaman.gupta@windriver.com>
Signed-off-by: Randy Macleod <randy.macleod@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-23 15:55:45 +01:00
Bruce Ashfield
744d68c369 lttng-modules: replace mips compaction fix with upstream change
lttng upstream had a different solution to the compaction build isses
seen on mips.

We switch our patch for a backport of the upstream solution.

(From OE-Core rev: 459f746a198a8ae7840d783f5824fc14a44a8488)

(From OE-Core rev: 10891d4d955f347c328cf8c099031f05f5c855a2)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-23 15:22:52 +01:00
Bruce Ashfield
848585c96f lttng-modules: fix build against mips and v5.19 kernel
When building against a v5.19 mips kernel, the following errors
were triggered:

  | lttng-modules-2.13.4/src/probes/../../include/instrumentation/events/compaction.h:105:42: note: expected 'struct compact_control *' but argument is of type 'struct compact_control *'
  |   105 |         TP_PROTO(struct compact_control *cc,
  |       |                  ~~~~~~~~~~~~~~~~~~~~~~~~^~
  | lttng-modules-2.13.4/src/probes/../../include/lttng/tracepoint-event-impl.h:779:68: note: in definition of macro 'LTTNG_TRACEPOINT_EVENT_CLASS_CODE'
  |   779 | static inline size_t __event_get_align__##_name(void *__tp_locvar, _proto)    \
  |       |                                                                    ^~~~~~
  | lttng-modules-2.13.4/src/probes/../../include/lttng/tracepoint-event-impl.h:106:50: note: in expansion of macro 'PARAMS'
  |   106 |         LTTNG_TRACEPOINT_EVENT_CLASS_CODE(_name, PARAMS(_proto), PARAMS(_args), , , \
  |       |                                                  ^~~~~~
  | lttng-modules-2.13.4/src/probes/../../include/lttng/tracepoint-event-impl.h:41:9: note: in expansion of macro 'LTTNG_TRACEPOINT_EVENT_CLASS'
  |    41 |         LTTNG_TRACEPOINT_EVENT_CLASS(map,                               \
  |       |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
  | lttng-modules-2.13.4/src/probes/../../include/lttng/tracepoint-event-impl.h:42:30: note: in expansion of macro 'PARAMS'
  |    42 |                              PARAMS(proto),                             \
  |       |                              ^~~~~~
  | lttng-modules-2.13.4/src/probes/../../include/instrumentation/events/compaction.h:101:1: note: in expansion of macro 'LTTNG_TRACEPOINT_EVENT_MAP'
  |   101 | LTTNG_TRACEPOINT_EVENT_MAP(mm_compaction_migratepages,
  |       | ^~~~~~~~~~~~~~~~~~~~~~~~~~
  | lttng-modules-2.13.4/src/probes/../../include/instrumentation/events/compaction.h:105:9: note: in expansion of macro 'TP_PROTO'
  |   105 |         TP_PROTO(struct compact_control *cc,
  |       |         ^~~~~~~~
  | lttng-modules-2.13.4/src/probes/../../include/instrumentation/events/compaction.h:112:57: error: invalid use of undefined type 'struct compact_control'

...

  | lttng-modules-2.13.4/src/probes/../../include/instrumentation/events/compaction.h:108:25: warning: 'struct compact_control' declared inside parameter list will not be visible outside of this definition or declaration
  |   108 |         TP_PROTO(struct compact_control *cc,
  |       |                         ^~~~~~~~~~~~~~~
  | lttng-modules-2.13.4/src/probes/../../include/lttng/tracepoint-event-impl.h:159:43: note: in definition of macro 'LTTNG_TRACEPOINT_EVENT_INSTANCE_MAP'
  |   159 | void __event_template_proto___##_template(_proto);
  |       |                                           ^~~~~~
  | lttng-modules-2.13.4/src/probes/../../include/lttng/tracepoint-event-impl.h:45:61: note: in expansion of macro 'PARAMS'
  |    45 |         LTTNG_TRACEPOINT_EVENT_INSTANCE_MAP(map, name, map, PARAMS(proto), PARAMS(args))
  |       |                                                             ^~~~~~
  | lttng-modules-2.13.4/src/probes/../../include/instrumentation/events/compaction.h:104:1: note: in expansion of macro 'LTTNG_TRACEPOINT_EVENT_MAP'
  |   104 | LTTNG_TRACEPOINT_EVENT_MAP(mm_compaction_migratepages,
  |       | ^~~~~~~~~~~~~~~~~~~~~~~~~~
  | lttng-modules-2.13.4/src/probes/../../include/instrumentation/events/compaction.h:108:9: note: in expansion of macro 'TP_PROTO'
  |   108 |         TP_PROTO(struct compact_control *cc,
  |       |         ^~~~~~~~
  | lttng-modules-2.13.4/src/probes/../../include/lttng/tracepoint-event-impl.h:159:6: error: conflicting types for '__event_template_proto___compaction_migratepages'; have 'void(struct compact_control *, unsigned int)'
  |   159 | void __event_template_proto___##_template(_proto);
  |       |      ^~~~~~~~~~~~~~~~~~~~~~~~~
  | lttng-modules-2.13.4/src/probes/../../include/lttng/tracepoint-event-impl.h:45:9: note: in expansion of macro 'LTTNG_TRACEPOINT_EVENT_INSTANCE_MAP'
  |    45 |         LTTNG_TRACEPOINT_EVENT_INSTANCE_MAP(map, name, map, PARAMS(proto), PARAMS(args))
  |       |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

The root cause appears to be that this particular mips kernel does not
have CONFIG_COMPACTION avaiable, and hence we end up with the struct
declaration within this tracepoint, and then conflicting types.

While putting the conditional around only compaction_migratepages seemed
sufficient to get the build working, it doesn't look like any of the
tracepoints should be valid, so we extend it to all definitions.

Upstream-Status: Submitted [https://lists.lttng.org/pipermail/lttng-dev/2022-August/030246.html]

(From OE-Core rev: e25f7b5ca83d3f025ef2235f2ebd8233013eb406)

(From OE-Core rev: 86c10960e27efaa2958abcb0ca5cb2d6eea0480f)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-23 15:22:52 +01:00
Bruce Ashfield
6d8c1d0a94 lttng-modules: fix 5.19+ build
We need to backport three patches from the lttng upstream tree to
fix the build against 5.19+.

Obviously we'll drop these once the next lttng-modules release is
available.

(From OE-Core rev: dce3c772efab4e51a82fb9c8fb74bc614ee3a82e)

(From OE-Core rev: a69cb04d0bcd051a43cded7e0caf9882b8b3aaaf)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-23 15:22:52 +01:00
Richard Purdie
778241eff5 selftest/wic: Tweak test case to not depend on kernel size
The current test assumes the kernel size leaves a certain amount of whitespace
in the output. Improve this constraint so a slightly larger kernel doesn't fail
the test.

(From OE-Core rev: a894fda2d0083d4aba80652946dec2c8f04f65f2)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit bd60c44bef4a1b5d3c8fe77a9e6d3a8f43b0dea4)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-23 15:22:52 +01:00
Paul Eggleton
84eb7f3b98 relocate_sdk.py: ensure interpreter size error causes relocation to fail
If there is insufficent space to change the interpreter, we were
printing an error here but the overall script did not return an error
code, and thus the SDK installation appeared to succeed - but some of
the binaries will not be in a working state. Allow the relocation to
proceed (so we still get a full list of the failures) but error out at
the end so that the installation is halted.

(From OE-Core rev: 3f258378bcaebb9c42c0011c7c424c920ef71d22)

Signed-off-by: Paul Eggleton <paul.eggleton@microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit c5a9a448e462d3e5457e8403c5a1a54148ecd224)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-23 15:22:52 +01:00
Richard Purdie
36eb09d20e nativesdk: Clear TUNE_FEATURES
Similarly to what native.bbclass does, clear TUNE_FEATURES since these
aren't appropriate to the nativesdk build. This saves us having to change
down signature issues due to data in this variable.

(From OE-Core rev: 394c1bb8c8148d65b6188586fd4b6d8edc39ab88)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 2e5079e434504a3a22b609f7ddbb7f4c533c4cdb)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-23 15:22:52 +01:00
Alexander Kanavin
ac8186042d scripts/oe-setup-builddir: make it known where configurations come from
"with some default values" isn't clear; if the user wants to change or
inspect the default values and their history, we should help them find
where they are. This becomes especially important when using template
configs other than poky's.

(From OE-Core rev: b60f4c7f3205b354469c1aa8b56ceaacc11d486b)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
(cherry picked from commit ec34783ffc34eb9e9697f1b192c5a0043f1ca2c6)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-23 15:22:52 +01:00
Martin Beeger
d73e6bf015 cmake: remove CMAKE_ASM_FLAGS variable in toolchain file
As discussied in [YOCTO #14717] cmake contains a OEToolchainConfig.cmake
file to configure the toolchain correctly in cross-compile build for recipes
using cmake. The CMAKE_ASM_FLAGS are the configuration are meant for  assembly,
but the spelling is incorrect and the Flag is ASFLAGS for gcc and other compilers.
So this variable might neever have worked and it is better for
recipes to specify their own.

(From OE-Core rev: aeec7cc3081a7b21dc0e38b404547463796bfa0e)

Signed-off-by: Martin Beeger <martin.beeger@online.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
(cherry picked from commit 72729ffbab53f95ee9dd1bc22913d9b864495930)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-23 15:22:52 +01:00
Mikko Rapeli
d4dc48175a boost: fix install of fiber shared libraries
For fiber, only CMake modules were installed in boost 1.78.0.
In 1.79.0 and versions before 1.78.0 also the shared libraries
are installed. This upstream patch fixes the issue in 1.78.0.

Note that boost git repo does not show changes in tools/build
directory between 1.78.0 and 1.79.0 tags but the release tar balls
contain a large update of which this one is needed to fix the missing
shared libraries.

Only kirkstone is affected.

buildhistory shows the difference in metadata boost-fiber binary package
without and with this patch:

 --- a/packages/core2-64-poky-linux/boost/boost-fiber/latest
 +++ b/packages/core2-64-poky-linux/boost/boost-fiber/latest
@@ -1,8 +1,9 @@
 PV = 1.78.0
 PR = r0
-RPROVIDES =
-RDEPENDS =
+PKG = libboost-fiber1.78.0
+RPROVIDES = boost-fiber (=1.78.0)
+RDEPENDS = boost-context (>= 1.78.0) glibc (>= 2.35) libgcc (>= 11.3.0) libstdc++ (>= 11.3.0)
 RRECOMMENDS =
-PKGSIZE = 0
+PKGSIZE = 80032
 FILES = /usr/lib/libboost_fiber*.so.*
-FILELIST =
+FILELIST = /usr/lib/libboost_fiber.so.1.78.0

(From OE-Core rev: f5952401a89a84b40f98c1c946daba2d83a2b18a)

Signed-off-by: Mikko Rapeli <mikko.rapeli@bmw.de>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-23 15:22:52 +01:00
Jose Quaresma
4d51fda543 create-spdx: ignore packing control files from ipk and deb
Otherwise spdx can have references for data that is not packed
in the package delivered because this contol data is temporarly
and only exist while the package is been write.

During do_package_write_ipk task in do_package_ipk the control
files is cleaned up at the end. This can create a race condiction
when the do_create_spdx task runs the add_package_files function
and these files is been deleted at same time in the
task do_package_write_ipk.

ERROR: alsa-topology-conf-1.2.5.1-r0 do_create_spdx: Error executing a python function in exec_func_python() autogenerated:

The stack trace of python calls that resulted in this exception/failure was:
File: 'exec_func_python() autogenerated', lineno: 2, function: <module>
     0001:
 *** 0002:do_create_spdx(d)
     0003:
File: '/srv/oe/build/conf/../../layers/openembedded-core/meta/classes/create-spdx.bbclass', lineno: 567, function: do_create_spdx
     0563:            package_doc.add_relationship(package_doc, "DESCRIBES", spdx_package)
     0564:
     0565:            package_archive = deploy_dir_spdx / "packages" / (package_doc.name + ".tar.zst")
     0566:            with optional_tarfile(package_archive, archive_packaged) as archive:
 *** 0567:                package_files = add_package_files(
     0568:                    d,
     0569:                    package_doc,
     0570:                    spdx_package,
     0571:                    pkgdest / package,
File: '/srv/oe/build/conf/../../layers/openembedded-core/meta/classes/create-spdx.bbclass', lineno: 234, function: add_package_files
     0230:                            info.mtime = source_date_epoch
     0231:
     0232:                        archive.addfile(info, f)
     0233:
 *** 0234:                sha1 = bb.utils.sha1_file(filepath)
     0235:                sha1s.append(sha1)
     0236:                spdx_file.checksums.append(oe.spdx.SPDXChecksum(
     0237:                        algorithm="SHA1",
     0238:                        checksumValue=sha1,
File: '/srv/oe/bitbake/lib/bb/utils.py', lineno: 559, function: sha1_file
     0555:    """
     0556:    Return the hex string representation of the SHA1 checksum of the filename
     0557:    """
     0558:    import hashlib
 *** 0559:    return _hasher(hashlib.sha1(), filename)
     0560:
     0561:def sha384_file(filename):
     0562:    """
     0563:    Return the hex string representation of the SHA384 checksum of the filename
File: '/srv/oe/bitbake/lib/bb/utils.py', lineno: 528, function: _hasher
     0524:
     0525:def _hasher(method, filename):
     0526:    import mmap
     0527:
 *** 0528:    with open(filename, "rb") as f:
     0529:        try:
     0530:            with mmap.mmap(f.fileno(), 0, access=mmap.ACCESS_READ) as mm:
     0531:                for chunk in iter(lambda: mm.read(8192), b''):
     0532:                    method.update(chunk)
Exception: FileNotFoundError: [Errno 2] No such file or directory: '/srv/oe/build/tmp-lmp/work/all-lmp-linux/alsa-topology-conf/1.2.5.1-r0/packages-split/alsa-topology-conf/CONTROL/control'

ERROR: Logfile of failure stored in: /srv/oe/build/tmp-lmp/work/all-lmp-linux/alsa-topology-conf/1.2.5.1-r0/temp/log.do_create_spdx.998864
INFO: recipe alsa-topology-conf-1.2.5.1-r0: task do_create_spdx: Failed

(From OE-Core rev: 90799920339e121c9fdf385258927f8d6a6405eb)

Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
(cherry picked from commit 0bfe403f46fd568910a727982c3ff528e3d5c8bc)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-23 15:22:52 +01:00
Mihai Lindner
d8c792f12c create-spdx: Fix supplier field
The correct field name is "supplier" according to SPDX schema.
The "supplier" field translates to "PackageSupplier", but that's for
tag-value format.

(From OE-Core rev: 504b50aec662f177fea452e05e29af8b36ca69fc)

Signed-off-by: Mihai Lindner <mihai.lindner@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit ca8db0e0a2860ac1e3f537471fa71b43c3be0a58)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-23 15:22:52 +01:00
Jose Quaresma
23ebe69676 archiver.bbclass: remove unsed do_deploy_archives[dirs]
Remove as commit b3afe7d redifines it.

https://git.openembedded.org/openembedded-core/commit/?id=b3afe7d9bd25a943e947de3ec064ea245173c5a8

(From OE-Core rev: 31ed9d68cca4788c48e1e7c470218b80df61baa4)

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 cf5e155a9c76a6e4ed7145118e7367ab6f2f53f2)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-23 15:22:52 +01:00
Mark Hatle
cb87867c47 runqemu: Add missing space on default display option
(From OE-Core rev: fcb55a198eddf4110fd4baf67614a7598441d952)

Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit ee9428611fc38bc711b5b3e12cf0d3257b1b5680)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-23 15:22:52 +01:00
Alexander Kanavin
0ff2b0bbf8 devtool/upgrade: catch bb.fetch2.decodeurl errors
Otherwise, workspace cleanup (removing bogus recipe and source tree)
will not happen, leaving breakage behind.

(From OE-Core rev: 72bfdca08029c031cedc9dbbf366663632c1c8db)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
(cherry picked from commit 74774f9b67580a8c56f605dfd4cc7b856bbeeae8)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-23 15:22:52 +01:00
Alexander Kanavin
53019423e4 devtool/upgrade: correctly clean up when recipe filename isn't yet known
There is a coding error in the second invocation of _upgrade_error:
rf is passed into it before it is initialized in the try: block. And so
bogus recipes are left behind in the workspace, causing breakage.

Instead, rewrite the functions to take the recipe directory name in the
workspace layer, which can be calculated in advance.

(From OE-Core rev: a7d406dce577192f98d76dbae411c72a8b7f07d4)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
(cherry picked from commit e653996369c1d2b5ac8367ad85f4816d679b6c98)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-23 15:22:52 +01:00
Roland Hieber
58d3e1b897 devtool: error out when workspace is using old override syntax
When the workspace bbappends are still using the old override syntax
with EXTERNALSRC_pn-*, externalsrc_re will not match, and pn will never
be assigned, leading to a nondescript UnboundLocalError being raised on
the user's terminal. Try to detect that situation and give the user a
hint how to solve it.

(From OE-Core rev: 3aee3425956020166d99ec085e35e21b3daf625f)

Signed-off-by: Roland Hieber <rhi@pengutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit d42ea8e849cf2df3708406418b961168268b316a)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-23 15:22:52 +01:00
Randy MacLeod
73618dee22 vim: update from 9.0.0063 to 9.0.0115
Drop crosscompile.patch which was merged as part of:
   509695c1c (tag: v9.0.0065) patch 9.0.0065: \
      cross-compiling doesn't work because of timer_create check

Also drop: racefix.patch which may have been fixed upstream
and is being tracked by:
   https://github.com/vim/vim/pull/10776
where upstream is asking if the different approach resolves the
race condition. Let's see what's out there!

(From OE-Core rev: 27e4c6f98be296fb5f67ac7775461854d48f6c9a)

Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
(cherry picked from commit 6996472cd33d2d4b91821f2dfe24a27a697e4afe)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-23 15:22:52 +01:00
Hitendra Prajapati
b65989b835 zlib: CVE-2022-37434 a heap-based buffer over-read
Source: https://github.com/madler/zlib
MR: 120525
Type: Security Fix
Disposition: Backport from eff308af42 & 1eb7682f84
ChangeID: 94d9b7d372b83cc1022c0a15046c5449d39208c3
Description:
          CVE-2022-37434 zlib: a heap-based buffer over-read or buffer overflow in inflate in inflate.c via a large gzip header extra field.

(From OE-Core rev: 46ac4a9dc832edb1b3e75bb4003930085b086bef)

Signed-off-by: Hitendra Prajapati <hprajapati@mvista.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-23 15:22:52 +01:00
Hitendra Prajapati
33e296554e gnutls: CVE-2022-2509 Double free during gnutls_pkcs7_verify
Source: https://gitlab.com/gnutls/gnutls
MR: 120416
Type: Security Fix
Disposition: Backport from ce37f9eb26
ChangeID: 703e01956915cf9543fdc47cfd5edb87403294f9
Description:
          CVE-2022-2509 gnutls: Double free during gnutls_pkcs7_verify.

(From OE-Core rev: 49781a79fd7764ef2e0d61ffa793acd59f210ecf)

Signed-off-by: Hitendra Prajapati <hprajapati@mvista.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-23 15:22:52 +01:00
Sakib Sajal
ee5b810f66 u-boot: fix CVE-2022-33103
Backport patch to resolve CVE-2022-33103.

(From OE-Core rev: af701fde05f6c225a65223fddc6008c4d6444af1)

Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-23 15:22:52 +01:00
Sakib Sajal
1d9d4e54c9 qemu: fix CVE-2022-0216
Backport relevant patches to fix CVE-2022-0216.

(From OE-Core rev: f2ebd772edd9508af9b557b184d7716a7004f46d)

Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-23 15:22:52 +01:00
Sakib Sajal
29ee816927 qemu: fix CVE-2022-0358
Backport patch to fix CVE-2022-0358.

(From OE-Core rev: 99c4b60bc0266d131307e689ad3651497b3bca29)

Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-23 15:22:52 +01:00
Sakib Sajal
c2c7ab0741 qemu: fix CVE-2021-4158
Backport patch to fix CVE-2021-4158.

(From OE-Core rev: a171d1fa795ea41ef073f1ed34894d0c43989e6a)

Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-23 15:22:52 +01:00
Sakib Sajal
73080b3372 qemu: fix CVE-2021-3929
Backport patch to fix CVE-2021-3929.

(From OE-Core rev: 3be3101ab1be2be58b6f27a28ca8e1ade3aff853)

Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-23 15:22:52 +01:00
Sakib Sajal
66575e31b7 qemu: fix CVE-2021-3507
Backport relevant patches to fix CVE-2021-3507.

(From OE-Core rev: 8ad9e87ac78d5dab816e489c3e5581bbdc0d297c)

Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-23 15:22:52 +01:00
Hitendra Prajapati
d7e5f28f51 gdk-pixbuf: CVE-2021-46829 a heap-based buffer overflow
Source: https://gitlab.gnome.org/GNOME/gdk-pixbuf
MR: 120379
Type: Security Fix
Disposition: Backport from 5398f04d77
ChangeID: 37f962b51bdb0c522b2a991c549fd29e3d2e58d7
Description:
         CVE-2021-46829 gdk-pixbuf: a heap-based buffer overflow when compositing or clearing frames in GIF files.

(From OE-Core rev: 978bc910ac326e34ec4f99c4645a80ed09c65407)

Signed-off-by: Hitendra Prajapati <hprajapati@mvista.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-23 15:22:52 +01:00
Richard Purdie
387ab5f18b build-appliance-image: Update to kirkstone head revision
(From OE-Core rev: 2cafa6ed5f0aa9df5a120b6353755d56c7c7800d)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-10 14:59:54 +01:00
He Zhe
6017120080 lttng-modules: Fix build failure for kernel v5.15.58
Backport from upstream d8254360c7f2ff9b3f945e9668d89c0b56b9bd91
("fix: net: skb: introduce kfree_skb_reason() (v5.15.58..v5.16)")

tmp-glibc/work/qemuarm-wrs-linux-gnueabi/lttng-modules/2.13.3-r0/
lttng-modules-2.13.3/src/probes/../../include/lttng/
tracepoint-event-impl.h:133:6:
error: conflicting types for 'trace_kfree_skb'; have 'void(struct sk_buff *, void *)'
  133 | void trace_##_name(_proto);
      |      ^~~~~~

(From OE-Core rev: 455acda350dffb9d3e0ea0dabcaab1ec8d4ace86)

Signed-off-by: He Zhe <zhe.he@windriver.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
(cherry picked from commit c6f49f42bb6ffe53c56ef1710e3ea90d8a18fe9d)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-10 14:59:10 +01:00
Alexander Kanavin
53916c4a63 lttng-modules: update 2.13.3 -> 2.13.4
Drop backports; one of them (0009) is present only
on the master branch and not on 2.13 branch, and so
stays in the recipe.

(From OE-Core rev: 5fb62be8e66bca60257fbec80ff70aad6175217c)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 1002941b76e0a0351e85a20e3e8d0a6a2254449c)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-10 14:59:10 +01:00
Bruce Ashfield
9031d7e8c1 linux-yocto/5.15: fix reproducibility issues
Integrating the following commit(s) to linux-yocto/5.15:

    efe20512212b init/Kconfig: fix CC_HAS_ASM_GOTO_TIED_OUTPUT test with dash

Fixes: 1aa0e8b144b6 ("Kconfig: Add option for asm goto w/ tied outputs to workaround clang-13 bug")
(From OE-Core rev: 6216cc2fb8ec6ddc12a02c45af5b3508a4e809fc)

Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 4991b638eaf243a531731ecfee0681c3ada93583)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-10 14:59:10 +01:00
Bruce Ashfield
a8350d7a16 linux-yocto/5.15: update to v5.15.59
Updating  to the latest korg -stable release that comprises
the following commits:

    d676d6149a2f Linux 5.15.59
    f0e42e43795d x86/bugs: Do not enable IBPB at firmware entry when IBPB is not available
    d10e819d13f7 locking/rwsem: Allow slowpath writer to ignore handoff bit if not set by first waiter
    66d31cef4806 docs/kernel-parameters: Update descriptions for "mitigations=" param with retbleed
    7bada8b0bdf1 EDAC/ghes: Set the DIMM label unconditionally
    30dc2effc74a ARM: 9216/1: Fix MAX_DMA_ADDRESS overflow
    86e83233dd01 page_alloc: fix invalid watermark check on a negative value
    51a772c34ea4 mm/hmm: fault non-owner device private entries
    350fcb5e7bbb ARM: crypto: comment out gcc warning that breaks clang builds
    e796e1fe20ec sctp: leave the err path free in sctp_stream_init to sctp_stream_free
    f7c2a9c5435a sfc: disable softirqs for ptp TX
    fe0e602f0502 perf symbol: Correct address for bss symbols
    871168abe6d8 virtio-net: fix the race between refill work and close
    91c11008aab0 netfilter: nf_queue: do not allow packet truncation below transport header offset
    be5cd347ba22 octeontx2-pf: cn10k: Fix egress ratelimit configuration
    3688939cd3e8 sctp: fix sleep in atomic context bug in timer handlers
    186fcdb68f42 i40e: Fix interface init with MSI interrupts (no MSI-X)
    4685f16b3a5d ipv4: Fix data-races around sysctl_fib_notify_on_flag_change.
    eaccca7a0bb8 tcp: Fix data-races around sysctl_tcp_reflect_tos.
    4cc070e0ef2d tcp: Fix a data-race around sysctl_tcp_comp_sack_nr.
    34c9977b4dca tcp: Fix a data-race around sysctl_tcp_comp_sack_slack_ns.
    6842c94de9d5 tcp: Fix a data-race around sysctl_tcp_comp_sack_delay_ns.
    618116a273b7 net: Fix data-races around sysctl_[rw]mem(_offset)?.
    a610feb170bf tcp: Fix data-races around sk_pacing_rate.
    b01b4f5b45ff net: mld: fix reference count leak in mld_{query | report}_work()
    5831ccf37a31 net: macsec: fix potential resource leak in macsec_add_rxsa() and macsec_add_txsa()
    2959a86a472f macsec: always read MACSEC_SA_ATTR_PN as a u64
    a706a40d42f4 macsec: limit replay window size with XPN
    6ad56d5c4f98 macsec: fix error message in macsec_add_rxsa and _txsa
    8991687d3bcf macsec: fix NULL deref in macsec_add_rxsa
    830582c16be1 Documentation: fix sctp_wmem in ip-sysctl.rst
    dac5644a823e tcp: Fix a data-race around sysctl_tcp_invalid_ratelimit.
    6f446677ebb3 tcp: Fix a data-race around sysctl_tcp_autocorking.
    bd07f2e70a4b tcp: Fix a data-race around sysctl_tcp_min_rtt_wlen.
    922ca9fd221b tcp: Fix a data-race around sysctl_tcp_min_tso_segs.
    777d18e65d09 net: sungem_phy: Add of_node_put() for reference returned by of_get_parent()
    40f4739bbd36 net: pcs: xpcs: propagate xpcs_read error to xpcs_get_state_c37_sgmii
    c721324afc58 igmp: Fix data-races around sysctl_igmp_qrv.
    ad6d6ae4a34c net/tls: Remove the context from the list in tls_device_down
    189e370b8250 ipv6/addrconf: fix a null-ptr-deref bug for ip6_ptr
    4845d3ef6445 net: ping6: Fix memleak in ipv6_renew_options().
    6a4a1c70e446 scsi: mpt3sas: Stop fw fault watchdog work item during system shutdown
    3d3e41069b65 scsi: core: Fix warning in scsi_alloc_sgtables()
    ff2932ac8ee1 tcp: Fix a data-race around sysctl_tcp_challenge_ack_limit.
    a88de75673e4 tcp: Fix a data-race around sysctl_tcp_limit_output_bytes.
    664a3311e671 tcp: Fix data-races around sysctl_tcp_moderate_rcvbuf.
    59e2332846d8 octeontx2-pf: Fix UDP/TCP src and dst port tc filters
    927c5cf0ba3e Revert "tcp: change pingpong threshold to 3"
    bdaf56e0df15 scsi: ufs: host: Hold reference returned by of_parse_phandle()
    7f0a36506809 ice: do not setup vlan for loopback VSI
    cef4c1d0fb48 ice: check (DD | EOF) bits on Rx descriptor rather than (EOP | RS)
    62e721dee8cc tcp: Fix data-races around sysctl_tcp_no_ssthresh_metrics_save.
    aa2ca5b5629d tcp: Fix a data-race around sysctl_tcp_nometrics_save.
    6e167ed68999 tcp: Fix a data-race around sysctl_tcp_frto.
    0d8fa3c2a442 tcp: Fix a data-race around sysctl_tcp_adv_win_scale.
    74753ec663d7 tcp: Fix a data-race around sysctl_tcp_app_win.
    807b028115eb tcp: Fix data-races around sysctl_tcp_dsack.
    c9c01dd38975 watch_queue: Fix missing locking in add_watch_to_object()
    093610f216d0 watch_queue: Fix missing rcu annotation
    11c1cc3f6e42 drm/simpledrm: Fix return type of simpledrm_simple_display_pipe_mode_valid()
    121c8993d4f3 nouveau/svm: Fix to migrate all requested pages
    8bd9747d3066 s390/archrandom: prevent CPACF trng invocations in interrupt context
    71f71150115a asm-generic: remove a broken and needless ifdef conditional
    dc124c849c72 hugetlb: fix memoryleak in hugetlb_mcopy_atomic_pte
    2722fb0f7028 mm: fix page leak with multiple threads mapping the same page
    70d0ce332d26 secretmem: fix unhandled fault in truncate
    3ef8040afce7 fs: sendfile handles O_NONBLOCK of out_fd
    518df26b5238 ntfs: fix use-after-free in ntfs_ucsncmp()
    46f6301fb4f1 Revert "ocfs2: mount shared volume without ha stack"
    f32d5615a78a Bluetooth: L2CAP: Fix use-after-free caused by l2cap_chan_put

(From OE-Core rev: f9c284ce5b6a8d2d6f2616c67a1f450d165db528)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 16eb9cd4354cbdbcf216c2fbe268b9f9d57acb5c)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-10 14:59:10 +01:00
Bruce Ashfield
ce80226252 linux-yocto-rt/5.15: update to -rt48 (and fix -stable merge)
Integrating the following commit(s) to linux-yocto/5.15:

    6bc08dd702bb 'Linux 5.15.55-rt48'
    9a1a3c0162ef sched/core: Always flush pending blk_plug
    f178a16e9368 crypto/cryptd: fix leftover hunks from 2a30446f4
    0e01a5c5a80e 'Linux 5.15.49-rt47'
    2aa2253a0595 'Linux 5.15.44-rt46'
    c94ef3468bef 'Linux 5.15.43-rt45'
    264141c33af3 'Linux 5.15.41-rt44'
    9934b33b68d9 'Linux 5.15.40-rt43'
    ca63907ee4b7 'Linux 5.15.39-rt42'
    238b266d7aa8 sched/deadline: fixup -stable / -rt merge

(From OE-Core rev: 2bca0a8c74359359308a4569ce0476f170053f8d)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit a95f9299cc178b2b7607c312086b768ddf322a56)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-10 14:59:10 +01:00
Bruce Ashfield
fe74221b78 linux-yocto/5.15: update to v5.15.58
Updating  to the latest korg -stable release that comprises
the following commits:

    7d8048d4e064 Linux 5.15.58
    c6e4817ab622 drm/amd/display: Fix wrong format specifier in amdgpu_dm.c
    198a6f40822e x86/entry_32: Fix segment exceptions
    ec9ec3bc08b1 drm/amdgpu: Off by one in dm_dmub_outbox1_low_irq()
    e4481000ac68 x86: drop bogus "cc" clobber from __try_cmpxchg_user_asm()
    9444462d6343 KVM: x86: fix typo in __try_cmpxchg_user causing non-atomicness
    b6c24afba608 x86/extable: Prefer local labels in .set directives
    f85a6046f771 drm/amd/display: invalid parameter check in dmub_hpd_callback
    760fe3203493 drm/amd/display: Don't lock connection_mutex for DMUB HPD
    d026ed6eda29 watch-queue: remove spurious double semicolon
    b34229f4b212 net: usb: ax88179_178a needs FLAG_SEND_ZLP
    b2d1e4cd558c tty: use new tty_insert_flip_string_and_push_buffer() in pty_write()
    816c301b6a73 tty: extract tty_flip_buffer_commit() from tty_flip_buffer_push()
    35545303454a tty: drop tty_schedule_flip()
    6219f5b54ad8 tty: the rest, stop using tty_schedule_flip()
    ea255921c4b5 tty: drivers/tty/, stop using tty_schedule_flip()
    ba3a8af8a21a watchqueue: make sure to serialize 'wqueue->defunct' properly
    49338b651f5a x86/alternative: Report missing return thunk details
    8842d5d70713 x86/amd: Use IBPB for firmware calls
    c2b484d784c8 drm/amd/display: Fix surface optimization regression on Carrizo
    958151194858 drm/amd/display: Optimize bandwidth on following fast update
    b3f16976b9ed drm/amd/display: Reset DMCUB before HW init
    4b4b1f8dfeb7 exfat: use updated exfat_chain directly during renaming
    000473ac997a Bluetooth: Fix bt_skb_sendmmsg not allocating partial chunks
    d01605a01f01 Bluetooth: SCO: Fix sco_send_frame returning skb->len
    5ae749f40d01 Bluetooth: Fix passing NULL to PTR_ERR
    367becefb8a1 Bluetooth: RFCOMM: Replace use of memcpy_from_msg with bt_skb_sendmmsg
    1864e820a5ac Bluetooth: SCO: Replace use of memcpy_from_msg with bt_skb_sendmsg
    cb7ed8c7fe5b Bluetooth: Add bt_skb_sendmmsg helper
    a4e8071be337 Bluetooth: Add bt_skb_sendmsg helper
    59f132fda50d um: virtio_uml: Fix broken device handling in time-travel
    38a28bb80f00 um: virtio_uml: Allow probing from devicetree
    d8413b16feee tracing: Fix return value of trace_pid_write()
    d9777061727b tracing: Place trace_pid_list logic into abstract functions
    6107b014163f tracing: Have event format check not flag %p* on __get_dynamic_array()
    621c1d8c1bd1 exfat: fix referencing wrong parent directory information after renaming
    72e0ec16f172 crypto: qat - re-enable registration of algorithms
    e7f979ed51f9 crypto: qat - add param check for DH
    4d6d2adce087 crypto: qat - add param check for RSA
    2488286d3e77 crypto: qat - remove dma_free_coherent() for DH
    6e8606e7ae40 crypto: qat - remove dma_free_coherent() for RSA
    a843925e0287 crypto: qat - fix memory leak in RSA
    ef5594895df2 crypto: qat - add backlog mechanism
    9cac903b6303 crypto: qat - refactor submission logic
    f576c7e01a6a crypto: qat - use pre-allocated buffers in datapath
    343cee3eafda crypto: qat - set to zero DH parameters before free
    c1f6637fe1c2 iwlwifi: fw: uefi: add missing include guards
    4448327b4173 mt76: fix use-after-free by removing a non-RCU wcid pointer
    829baf398f2c xhci: Set HCD flag to defer primary roothub registration
    813f4b49e81c xhci: dbc: Rename xhci_dbc_init and xhci_dbc_exit
    413c5f751f7c xhci: dbc: create and remove dbc structure in dbgtty driver.
    d7afb4a13f6c xhci: dbc: refactor xhci_dbc_init()
    d97c0667c1e6 KVM: x86: Use __try_cmpxchg_user() to emulate atomic accesses
    88eded8104d2 x86/futex: Remove .fixup usage
    6875d2425be8 x86/msr: Remove .fixup usage
    f637fbc7bda6 x86/extable: Extend extable functionality
    4bbc9a07e050 x86/entry_32: Remove .fixup usage
    e89d805e77f2 bitfield.h: Fix "type of reg too small for mask" test
    a86201c3ae79 x86/extable: Provide EX_TYPE_DEFAULT_MCE_SAFE and EX_TYPE_FAULT_MCE_SAFE
    3461326e1a9e x86/extable: Rework the exception table mechanics
    ad2d98ea72d2 x86/mce: Deduplicate exception handling
    3e6392ba3dce x86/extable: Get rid of redundant macros
    d3135da29e1a x86/extable: Tidy up redundant handler functions
    823424905d03 x86/uaccess: Implement macros for CMPXCHG on user addresses
    1062cfb47e56 dlm: fix pending remove if msg allocation fails
    765f802e0d25 x86/bugs: Warn when "ibrs" mitigation is selected on Enhanced IBRS parts
    46d5575df8a1 sched/deadline: Fix BUG_ON condition for deboosted tasks
    bc1fb3c53afd bpf: Make sure mac_header was set before using it
    8c5429a04ccd mm/mempolicy: fix uninit-value in mpol_rebind_policy()
    e91665fbbf3c KVM: Don't null dereference ops->destroy
    58466e053900 spi: bcm2835: bcm2835_spi_handle_err(): fix NULL pointer deref for non DMA transfers
    cd9f96aa8f57 KVM: selftests: Fix target thread to be migrated in rseq_test
    e129e5486b98 gpio: gpio-xilinx: Fix integer overflow
    ce3731c61589 tcp: Fix data-races around sysctl_tcp_max_reordering.
    84cee470f77c tcp: Fix a data-race around sysctl_tcp_abort_on_overflow.
    46d05dab1b4f tcp: Fix a data-race around sysctl_tcp_rfc1337.
    d46d55e3f9f8 tcp: Fix a data-race around sysctl_tcp_stdurg.
    1a1aedbb7605 tcp: Fix a data-race around sysctl_tcp_retrans_collapse.
    41aeba4506f6 tcp: Fix data-races around sysctl_tcp_slow_start_after_idle.
    404c53ccdebd tcp: Fix a data-race around sysctl_tcp_thin_linear_timeouts.
    a31e2d0cb5cf tcp: Fix data-races around sysctl_tcp_recovery.
    5037ca9e4b16 tcp: Fix a data-race around sysctl_tcp_early_retrans.
    329de75b9e16 tcp: Fix data-races around sysctl knobs related to SYN option.
    3f2ac2d6511b udp: Fix a data-race around sysctl_udp_l3mdev_accept.
    95724fe897a4 ip: Fix data-races around sysctl_ip_prot_sock.
    36f5b86f309b ipv4: Fix data-races around sysctl_fib_multipath_hash_fields.
    21fb844bc1dc ipv4: Fix data-races around sysctl_fib_multipath_hash_policy.
    b8d345db03b4 ipv4: Fix a data-race around sysctl_fib_multipath_use_neigh.
    94e4b855e22b drm/imx/dcss: Add missing of_node_put() in fail path
    3d13bf301e06 net: dsa: vitesse-vsc73xx: silent spi_device_id warnings
    25e1d782c9c3 net: dsa: sja1105: silent spi_device_id warnings
    aba8ff847f4f be2net: Fix buffer overflow in be_get_module_eeprom
    caae64d3e91b gpio: pca953x: use the correct register address when regcache sync during init
    dfb4b67ff4df gpio: pca953x: use the correct range when do regmap sync
    9726ed46b9b7 gpio: pca953x: only use single read/write for No AI mode
    e6fc5472b850 net: stmmac: remove redunctant disable xPCS EEE call
    16f929a5e76f ixgbe: Add locking to prevent panic when setting sriov_numvfs to zero
    893ea2b35bb9 i40e: Fix erroneous adapter reinitialization during recovery process
    fad55088ad73 pinctrl: armada-37xx: use raw spinlocks for regmap to avoid invalid wait context
    9d674108fe76 pinctrl: armada-37xx: Convert to use dev_err_probe()
    47c9f6bfc234 pinctrl: armada-37xx: Make use of the devm_platform_ioremap_resource()
    2cbb16513176 pinctrl: armada-37xx: Use temporary variable for struct device
    2918419c0608 iavf: Fix handling of dummy receive descriptors
    a77a75a0e7f3 tcp: Fix data-races around sysctl_tcp_fastopen_blackhole_timeout.
    539d9ab79eba tcp: Fix data-races around sysctl_tcp_fastopen.
    3ae85dc62a02 tcp: Fix data-races around sysctl_max_syn_backlog.
    58d5ea71aaa6 tcp: Fix a data-race around sysctl_tcp_tw_reuse.
    80d4d0c46167 tcp: Fix a data-race around sysctl_tcp_notsent_lowat.
    e816f8024617 tcp: Fix data-races around some timeout sysctl knobs.
    f6ce6556958c tcp: Fix data-races around sysctl_tcp_reordering.
    fcf6c6d8aeff tcp: Fix data-races around sysctl_tcp_migrate_req.
    10a9ba97a404 tcp: Fix data-races around sysctl_tcp_syncookies.
    78522951d718 tcp: Fix data-races around sysctl_tcp_syn(ack)?_retries.
    906beda70c2f tcp: Fix data-races around keepalive sysctl knobs.
    849450279dfc igmp: Fix data-races around sysctl_igmp_max_msf.
    2a408a4f423e igmp: Fix a data-race around sysctl_igmp_max_memberships.
    260446eb8e55 igmp: Fix data-races around sysctl_igmp_llm_reports.
    2e8c8309329d net/tls: Fix race in TLS device down flow
    7c687a893f5c net: stmmac: fix dma queue left shift overflow issue
    34e98fce9a9b perf tests: Fix Convert perf time to TSC test for hybrid
    196c21deb08a i2c: cadence: Change large transfer count reset logic to be unconditional
    66b73ef38d80 i2c: mlxcpld: Fix register setting for 400KHz frequency
    b8e68fce6f0e net: ipv4: use kfree_skb_reason() in ip_rcv_finish_core()
    ad5a78ed1356 net: ipv4: use kfree_skb_reason() in ip_rcv_core()
    82cda9918473 net: netfilter: use kfree_drop_reason() for NF_DROP
    f3ed670ef850 net: skb_drop_reason: add document for drop reasons
    8ac90de3d137 net: socket: rename SKB_DROP_REASON_SOCKET_FILTER
    b7adefdae236 net: skb: use kfree_skb_reason() in __udp4_lib_rcv()
    1629144da383 net: skb: use kfree_skb_reason() in tcp_v4_rcv()
    5158e18225c0 net: skb: introduce kfree_skb_reason()
    88ec2ff42da3 net: dsa: microchip: ksz_common: Fix refcount leak bug
    212a5360ef40 mtd: rawnand: gpmi: Set WAIT_FOR_READY timeout based on program/erase times
    0156b402a5be mtd: rawnand: gpmi: validate controller clock rate
    f53c6ee5e7eb net: stmmac: fix unbalanced ptp clock issue in suspend/resume flow
    f784d232565b net: stmmac: fix pm runtime issue in stmmac_dvr_remove()
    e6b6f027e285 tcp: Fix a data-race around sysctl_tcp_probe_interval.
    f524c3e7f6cd tcp: Fix a data-race around sysctl_tcp_probe_threshold.
    cc36c37f5fe0 tcp: Fix a data-race around sysctl_tcp_mtu_probe_floor.
    0fc9357282df tcp: Fix data-races around sysctl_tcp_min_snd_mss.
    4d7dea651b7f tcp: Fix data-races around sysctl_tcp_base_mss.
    aabe9438fdfe tcp: Fix data-races around sysctl_tcp_mtu_probing.
    9ba9cd43b577 tcp: Fix data-races around sysctl_tcp_l3mdev_accept.
    b8e29f644583 tcp: sk->sk_bound_dev_if once in inet_request_bound_dev_if()
    bf3134feffe6 tcp/dccp: Fix a data-race around sysctl_tcp_fwmark_accept.
    dccf8a67f30e ip: Fix a data-race around sysctl_fwmark_reflect.
    87ceaa199a72 ip: Fix a data-race around sysctl_ip_autobind_reuse.
    4fdf9bdb2883 ip: Fix data-races around sysctl_ip_nonlocal_bind.
    351f81f7d718 ip: Fix data-races around sysctl_ip_fwd_update_priority.
    93fbc06da1d8 ip: Fix data-races around sysctl_ip_fwd_use_pmtu.
    01083e3f9868 ip: Fix data-races around sysctl_ip_no_pmtu_disc.
    e75b73081f1e igc: Reinstate IGC_REMOVED logic and implement it properly
    a4f7a9fbe24b Revert "e1000e: Fix possible HW unit hang after an s0ix exit"
    63aa107bce83 e1000e: Enable GPT clock before sending message to CSME
    98d81b2b154d nvme: fix block device naming collision
    321abf90c576 nvme: check for duplicate identifiers earlier
    dbedad96f416 scsi: ufs: core: Drop loglevel of WriteBoost message
    04ae8518745c scsi: megaraid: Clear READ queue map's nr_queues
    c7720f23bb93 drm/amd/display: Ignore First MST Sideband Message Return Error
    8bae037b0fb4 drm/amdgpu/display: add quirk handling for stutter mode
    e980e1d978e0 drm/amd/display: Fork thread to offload work of hpd_rx_irq
    54740bc4b182 drm/amd/display: Add option to defer works of hpd_rx_irq
    734d5ce02cb0 drm/amd/display: Support for DMUB HPD interrupt handling
    d1e0bbe08171 tcp: Fix data-races around sysctl_tcp_ecn.
    9cb4959493cd sysctl: move some boundary constants from sysctl.c to sysctl_vals
    e2b6c5f7ee95 mm/pagealloc: sysctl: change watermark_scale_factor max limit to 30%
    d2dba226acb9 net: tun: split run_ebpf_filter() and pskb_trim() into different "if statement"
    f52af853be7a ipv4/tcp: do not use per netns ctl sockets
    da3c256e2d0e perf/core: Fix data race between perf_event_set_output() and perf_mmap_close()
    44016a85419c pinctrl: ralink: Check for null return of devm_kcalloc
    e4e3187750f8 pinctrl: ralink: rename pinctrl-rt2880 to pinctrl-ralink
    d40def7cd05c pinctrl: ralink: rename MT7628(an) functions to MT76X8
    a4c5115140ed RDMA/irdma: Fix sleep from invalid context BUG
    03fd151bdff0 RDMA/irdma: Do not advertise 1GB page size for x722
    71ab83ac65e2 power/reset: arm-versatile: Fix refcount leak in versatile_reboot_probe
    c8e32bca0676 xfrm: xfrm_policy: fix a possible double xfrm_pols_put() in xfrm_bundle_lookup()
    1d3eeb199970 ip: Fix data-races around sysctl_ip_default_ttl.
    6bf450d92d0c r8152: fix a WOL issue
    44addae95ed7 xfs: prevent a WARN_ONCE() in xfs_ioc_attr_list()
    1da0b50ea071 xfs: fix perag reference leak on iteration race with growfs
    768bfde1cf3e xfs: terminate perag iteration reliably on agcount
    2991d51b42a3 xfs: rename the next_agno perag iteration variable
    4d6f22f6cc58 xfs: fold perag loop iteration logic into helper function
    67cb74213a52 xfs: fix maxlevels comparisons in the btree staging code
    cf719adb6fa9 mt76: mt7921: Fix the error handling path of mt7921_pci_probe()
    22b910a7a378 mt76: mt7921e: fix possible probe failure after reboot
    c3bcf1f959f6 mt76: mt7921: use physical addr to unify register access
    191c16f921ad Revert "mt76: mt7921e: fix possible probe failure after reboot"
    4666a6eb390c Revert "mt76: mt7921: Fix the error handling path of mt7921_pci_probe()"
    0cac1c84e1cc batman-adv: Use netif_rx_any_context() any.
    be56f007c414 serial: mvebu-uart: correctly report configured baudrate value
    92dcb50f7f09 PCI: hv: Fix interrupt mapping for multi-MSI
    2b77425d0ae4 PCI: hv: Reuse existing IRTE allocation in compose_msi_msg()
    35d24b115a40 PCI: hv: Fix hv_arch_irq_unmask() for multi-MSI
    5c676a214d63 PCI: hv: Fix multi-MSI to allow more than one MSI vector
    0791309aa0eb Revert "selftest/vm: verify mmap addr in mremap_test"
    cfd3a9be0ac4 Revert "selftest/vm: verify remap destination address in mremap_test"
    d7c4f9b8ed62 bus: mhi: host: pci_generic: add Telit FN990
    38b7bbe0ef1d bus: mhi: host: pci_generic: add Telit FN980 v1 hardware revision
    60e536b0a564 drm/ttm: fix locking in vmap/vunmap TTM GEM helpers
    0e66932a9dc9 lockdown: Fix kexec lockdown bypass with ima policy
    25ba5b824a72 mlxsw: spectrum_router: Fix IPv4 nexthop gateway indication
    73846553bcde riscv: add as-options for modules with assembly compontents
    aff42cea285f pinctrl: stm32: fix optional IRQ support to gpios
    a9e2d8e52e1c Linux 5.15.57
    b4296a7b863f x86: Use -mindirect-branch-cs-prefix for RETPOLINE builds
    06741ef8e7cc um: Add missing apply_returns()
    320fc994f0c8 x86/bugs: Remove apostrophe typo
    ac8edadc2b1e tools headers cpufeatures: Sync with the kernel sources
    1dd6c13b437c tools arch x86: Sync the msr-index.h copy with the kernel sources
    5f4e77cc9abf KVM: emulate: do not adjust size of fastop and setcc subroutines
    198685e58b13 x86/kvm: fix FASTOP_SIZE when return thunks are enabled
    554cf28b104d efi/x86: use naked RET on mixed mode call wrapper
    d0caa861a836 x86/speculation: Use DECLARE_PER_CPU for x86_spec_ctrl_current
    67040d1d922b x86/asm/32: Fix ANNOTATE_UNRET_SAFE use on 32-bit
    96907c5d3927 x86/xen: Fix initialisation in hypercall_page after rethunk
    86ccf19a91be x86/static_call: Serialize __static_call_fixup() properly
    73ad137d1146 x86/speculation: Disable RRSBA behavior
    db0128b8243f x86/kexec: Disable RET on kexec
    3653093b7bbf x86/bugs: Do not enable IBPB-on-entry when IBPB is not supported
    925340f99bdf x86/entry: Move PUSH_AND_CLEAR_REGS() back into error_entry
    2f8967e22322 x86/bugs: Add Cannon lake to RETBleed affected CPU list
    cc3011cdbe5f x86/retbleed: Add fine grained Kconfig knobs
    12a13570054f x86/cpu/amd: Enumerate BTC_NO
    d7a5c08b46b6 x86/common: Stamp out the stepping madness
    8d5cff499a6d x86/speculation: Fill RSB on vmexit for IBRS
    4207d7b645b8 KVM: VMX: Fix IBRS handling after vmexit
    0cbd5905c8f3 KVM: VMX: Prevent guest RSB poisoning attacks with eIBRS
    5fde25284dfe KVM: VMX: Convert launched argument to flags
    852fe53040b9 KVM: VMX: Flatten __vmx_vcpu_run()
    c590fa2d2dac objtool: Re-add UNWIND_HINT_{SAVE_RESTORE}
    66b37dccbc25 x86/speculation: Remove x86_spec_ctrl_mask
    b55663e7521f x86/speculation: Use cached host SPEC_CTRL value for guest entry/exit
    2069bd0e6f5b x86/speculation: Fix SPEC_CTRL write on SMT state change
    e898e28762f8 x86/speculation: Fix firmware entry SPEC_CTRL handling
    d427c1f83e8c x86/speculation: Fix RSB filling with CONFIG_RETPOLINE=n
    75d4fc2e965f x86/cpu/amd: Add Spectral Chicken
    dab72c3c32cc objtool: Add entry UNRET validation
    469d9b157017 x86/bugs: Do IBPB fallback check only once
    fd17a4254965 x86/bugs: Add retbleed=ibpb
    8894f699f187 x86/xen: Add UNTRAIN_RET
    87e6270183a4 x86/xen: Rename SYS* entry points
    e894b7817e08 objtool: Update Retpoline validation
    a1d912d7ac04 intel_idle: Disable IBRS during long idle
    e51769df6228 x86/bugs: Report Intel retbleed vulnerability
    b9349805e653 x86/bugs: Split spectre_v2_select_mitigation() and spectre_v2_user_select_mitigation()
    347d0bf6b0c0 x86/speculation: Add spectre_v2=ibrs option to support Kernel IBRS
    e03415eeba78 x86/bugs: Optimize SPEC_CTRL MSR writes
    62b4db57eefe x86/entry: Add kernel IBRS implementation
    fac1b0007cec x86/bugs: Keep a per-CPU IA32_SPEC_CTRL value
    b4e05ea71eda x86/bugs: Enable STIBP for JMP2RET
    89eba42632fc x86/bugs: Add AMD retbleed= boot parameter
    82e92fe936db x86/bugs: Report AMD retbleed vulnerability
    a9c0926fc754 x86: Add magic AMD return-thunk
    07f5c5e36236 objtool: Treat .text.__x86.* as noinstr
    1f068f9da743 x86/entry: Avoid very early RET
    1d61a2988612 x86: Use return-thunk in asm code
    6c45176bc2ae x86/sev: Avoid using __x86_return_thunk
    f3d9f990586c x86/vsyscall_emu/64: Don't use RET in vsyscall emulation
    5b43965d58ef x86/kvm: Fix SETcc emulation for return thunks
    0bfe8be824aa x86/bpf: Use alternative RET encoding
    e54fcb0812fa x86/ftrace: Use alternative RET encoding
    c1c80aabc7b9 x86,static_call: Use alternative RET encoding
    b0fb9784cf80 objtool: skip non-text sections when adding return-thunk sites
    1920e4be8a97 x86,objtool: Create .return_sites
    7bf553d9eebd x86: Undo return-thunk damage
    023a2b07d5c3 x86/retpoline: Use -mfunction-return
    bb81f3ac69f8 x86/retpoline: Swizzle retpoline thunk
    545b45c36a2f x86/retpoline: Cleanup some #ifdefery
    eee4f31fa2eb x86/cpufeatures: Move RETPOLINE flags to word 11
    ccb25d7db1a2 x86/kvm/vmx: Make noinstr clean
    2cd972ae337f x86/realmode: build with -D__DISABLE_EXPORTS
    6834878ace6e x86/entry: Remove skip_r11rcx
    40265bcd1bd3 objtool: Default ignore INT3 for unreachable
    32b2cd6060e7 bpf,x86: Respect X86_FEATURE_RETPOLINE*
    74b5a9f8edfe bpf,x86: Simplify computing label offsets
    1c2e7b40752a x86/alternative: Add debug prints to apply_retpolines()
    b93a0a740bca x86/alternative: Try inline spectre_v2=retpoline,amd
    a40925e2efd8 x86/alternative: Handle Jcc __x86_indirect_thunk_\reg
    86900f95fb06 x86/alternative: Implement .retpoline_sites support
    936c8fcb4995 x86/retpoline: Create a retpoline thunk array
    90ca76c83044 x86/retpoline: Move the retpoline thunk declarations to nospec-branch.h
    6a6fcb256301 x86/asm: Fixup odd GEN-for-each-reg.h usage
    71e578e1bd74 x86/asm: Fix register order
    18576e45b12a x86/retpoline: Remove unused replacement symbols
    655d4097039c objtool: Introduce CFI hash
    503882b5aeb6 objtool,x86: Replace alternatives with .retpoline_sites
    cad0e43a8c30 objtool: Shrink struct instruction
    c9fd00d8e622 objtool: Explicitly avoid self modifying code in .altinstr_replacement
    29e6b52efca1 objtool: Classify symbols
    1fd333eb3377 x86/entry: Don't call error_entry() for XENPV
    cac414684be9 x86/entry: Move PUSH_AND_CLEAR_REGS out of error_entry()
    19ac6c99a17e x86/entry: Switch the stack after error_entry() returns
    01bc8bd64c19 x86/traps: Use pt_regs directly in fixup_bad_iret()
    760adb59f621 Linux 5.15.56
    31f351eb534e drm/aperture: Run fbdev removal before internal helpers
    eac7fd3ca397 x86/pat: Fix x86_has_pat_wp()
    190ce5cdc55d serial: 8250: Fix PM usage_count for console handover
    2db3b95166f7 serial: pl011: UPSTAT_AUTORTS requires .throttle/unthrottle
    8ef116a2a738 serial: stm32: Clear prev values before setting RTS delays
    10b27fa2d67c serial: 8250: fix return error code in serial8250_request_std_resource()
    57964a571025 vt: fix memory overlapping when deleting chars in the buffer
    8b07c2998720 tty: serial: samsung_tty: set dma burst_size to 1
    3cb692555a0b usb: dwc3: gadget: Fix event pending check
    ea42ef3ef678 usb: typec: add missing uevent when partner support PD
    aa96257867c0 USB: serial: ftdi_sio: add Belimo device ids
    ec0c62a23c50 signal handling: don't use BUG_ON() for debugging
    c01793517d8d nvme-pci: phison e16 has bogus namespace ids
    15ef4d686a58 ALSA: usb-audio: Add quirk for Fiero SC-01 (fw v1.0.0)
    df982f9d094d ALSA: usb-audio: Add quirk for Fiero SC-01
    9d90a21f0cb7 ALSA: usb-audio: Add quirks for MacroSilicon MS2100/MS2106 devices
    2483ba7afa59 Revert "can: xilinx_can: Limit CANFD brp to 2"
    bd87cf2ed609 ARM: dts: stm32: use the correct clock source for CEC on stm32mp151
    c0cba036bfe8 soc: ixp4xx/npe: Fix unused match warning
    26bb7afc027c x86: Clear .brk area at early boot
    ee1da3d59674 irqchip: or1k-pic: Undefine mask_ack for level triggered hardware
    9c9869c308a3 ASoC: madera: Fix event generation for rate controls
    66cc34f2e493 ASoC: madera: Fix event generation for OUT1 demux
    74ead64cbf0d ASoC: cs47l15: Fix event generation for low power mux control
    ab2f5e5f3ce1 ASoC: dapm: Initialise kcontrol data for mux/demux controls
    269be8b29073 ASoC: rt711-sdca: fix kernel NULL pointer dereference when IO error
    44975751bef0 ASoC: wm5110: Fix DRE control
    bc9067062600 ASoC: Intel: bytcr_wm5102: Fix GPIO related probe-ordering problem
    dd70da2a5816 ASoC: wcd938x: Fix event generation for some controls
    05708fb473ce ASoC: SOF: Intel: hda-loader: Clarify the cl_dsp_init() flow
    e71d0e1370b1 ASoC: codecs: rt700/rt711/rt711-sdca: initialize workqueues in probe
    07a606e1389a ASoC: rt7*-sdw: harden jack_detect_handler
    b054614dd3fd ASoC: rt711: fix calibrate mutex initialization
    f2556ce6b35a ASoC: Intel: sof_sdw: handle errors on card registration
    42664a97f2b5 ASoC: rt711-sdca-sdw: fix calibrate mutex initialization
    4e81b38d9426 ASoC: Realtek/Maxim SoundWire codecs: disable pm_runtime on remove
    3cb392b64304 pinctrl: aspeed: Fix potential NULL dereference in aspeed_pinmux_set_mux()
    0c6c7d57ed00 ASoC: ops: Fix off by one in range control validation
    204543581a2f net: sfp: fix memory leak in sfp_probe()
    7a2294c5f2e5 nvme: fix regression when disconnect a recovering ctrl
    1e4427aa2fc8 nvme-tcp: always fail a request when sending it failed
    8ab067462e09 NFC: nxp-nci: don't print header length mismatch on i2c error
    833ecd0eae76 net: tipc: fix possible refcount leak in tipc_sk_create()
    13d28e0c79cb fbdev: Disable sysfb device registration when removing conflicting FBs
    b952569e0316 firmware: sysfb: Add sysfb_disable() helper function
    2ef4c6d66f7d firmware: sysfb: Make sysfb_create_simplefb() return a pdev pointer
    f57c76104c74 platform/x86: hp-wmi: Ignore Sanitization Mode event
    57289b6601fe cpufreq: pmac32-cpufreq: Fix refcount leak bug
    06f818de1621 scsi: hisi_sas: Limit max hw sectors for v3 HW
    03a400a64050 netfilter: br_netfilter: do not skip all hooks with 0 priority
    bf5307924563 virtio_mmio: Restore guest page size on resume
    26d824d1316f virtio_mmio: Add missing PM calls to freeze/restore
    65d7a723fdda vduse: Tie vduse mgmtdev and its device
    b34dbeb2b0ec vdpa/mlx5: Initialize CVQ vringh only once
    10f2cd373e65 powerpc/xive/spapr: correct bitmap allocation size
    4e69750549b8 ksmbd: use SOCK_NONBLOCK type for kernel_accept()
    d300ced12889 btrfs: zoned: fix a leaked bioc in read_zone_info
    d2faf8ed1dc2 btrfs: rename btrfs_bio to btrfs_io_context
    a06248fa62ef mm: sysctl: fix missing numa_stat when !CONFIG_HUGETLB_PAGE
    204d12228697 ACPI: video: Fix acpi_video_handles_brightness_key_presses()
    724ec407f997 net/tls: Check for errors in tls_device_init
    a0706d7c1429 KVM: x86: Fully initialize 'struct kvm_lapic_irq' in kvm_pv_kick_cpu_op()
    58c90993933e net: atlantic: remove aq_nic_deinit() when resume
    9b1cb795a7ab net: atlantic: remove deep parameter on suspend/resume functions
    68e5f32f0de9 sfc: fix kernel panic when creating VF
    2d84fcb6e6f7 seg6: bpf: fix skb checksum in bpf_push_seg6_encap()
    15e8b6274c49 seg6: fix skb checksum in SRv6 End.B6 and End.B6.Encaps behaviors
    859081fb60e6 seg6: fix skb checksum evaluation in SRH encapsulation/insertion
    5464c8987ddf ceph: switch netfs read ops to use rreq->inode instead of rreq->mapping->host
    58d93e9d160c sfc: fix use after free when disabling sriov
    8c37e7a2000d drm/amd/pm: Prevent divide by zero
    cded1186f7e9 drm/amd/display: Only use depth 36 bpp linebuffers on DCN display engines.
    601ae26aa280 ima: Fix potential memory leak in ima_init_crypto()
    2340428c90d4 ima: force signature verification when CONFIG_KEXEC_SIG is configured
    f4bd3202a2b4 net: stmmac: fix leaks in probe
    4225a78eb4d7 net: ftgmac100: Hold reference returned by of_get_child_by_name()
    0d17723afea3 nexthop: Fix data-races around nexthop_compat_mode.
    6b26fb2fe227 ipv4: Fix data-races around sysctl_ip_dynaddr.
    8bcf7339f2cf tcp: Fix a data-race around sysctl_tcp_ecn_fallback.
    46e9c46203fd raw: Fix a data-race around sysctl_raw_l3mdev_accept.
    8d7a13654a98 icmp: Fix a data-race around sysctl_icmp_ratemask.
    7c1b6e453481 icmp: Fix a data-race around sysctl_icmp_ratelimit.
    de9490c32bc1 icmp: Fix a data-race around sysctl_icmp_errors_use_inbound_ifaddr.
    44021c2929cf icmp: Fix a data-race around sysctl_icmp_ignore_bogus_error_responses.
    cce955efa0ab icmp: Fix data-races around sysctl_icmp_echo_enable_probe.
    a716a3846c5f sysctl: Fix data-races in proc_dointvec_ms_jiffies().
    e58b02e44546 sysctl: Fix data-races in proc_dou8vec_minmax().
    3852f048be60 bnxt_en: Fix bnxt_refclk_read()
    0260a9aa5d5c bnxt_en: Fix bnxt_reinit_after_abort() code path
    a6cecaf058c4 drm/i915: Require the vm mutex for i915_vma_bind()
    60d1bb301ea5 drm/i915/uc: correctly track uc_fw init failure
    86062ca5edf1 drm/i915/gt: Serialize TLB invalidates with GT resets
    0ee5874dad61 drm/i915/gt: Serialize GRDOM access between multiple engine resets
    f8ba02531476 drm/i915/dg2: Add Wa_22011100796
    40c12fc52023 drm/i915/selftests: fix a couple IS_ERR() vs NULL tests
    af515a633942 tracing: Fix sleeping while atomic in kdb ftdump
    62a6a708f392 lockd: fix nlm_close_files
    9c3eef773cf4 lockd: set fl_owner when unlocking files
    1e92426e2b3a xen/gntdev: Ignore failure to unmap INVALID_GRANT_HANDLE
    f6e3ced9c60f drm/i915/gvt: IS_ERR() vs NULL bug in intel_gvt_update_reg_whitelist()
    5a4bb158f4c6 netfilter: nf_tables: replace BUG_ON by element length check
    b97aa619a3cb netfilter: nf_log: incorrect offset to network header
    dc2ec80bc949 arm64: dts: broadcom: bcm4908: Fix cpu node for smp boot
    1d49665a93b1 arm64: dts: broadcom: bcm4908: Fix timer node for BCM4906 SoC
    f0ccff1c89ba ARM: dts: sunxi: Fix SPI NOR campatible on Orange Pi Zero
    c0dd77cede0a ARM: dts: at91: sama5d2: Fix typo in i2s1 node
    9be8aac91960 ipv4: Fix a data-race around sysctl_fib_sync_mem.
    e2828e8c6058 icmp: Fix data-races around sysctl.
    07b0caf8aeb9 cipso: Fix data-races around sysctl.
    a5796154b56f net: Fix data-races around sysctl_mem.
    82d07170290d inetpeer: Fix data-races around sysctl.
    2dfff4b607c4 tcp: Fix a data-race around sysctl_tcp_max_orphans.
    67623d290d45 sysctl: Fix data races in proc_dointvec_jiffies().
    dcdf3c3c587a sysctl: Fix data races in proc_doulongvec_minmax().
    40e0477a7371 sysctl: Fix data races in proc_douintvec_minmax().
    32d7f8da8244 sysctl: Fix data races in proc_dointvec_minmax().
    d335db59f7fb sysctl: Fix data races in proc_douintvec().
    279bf2a909e6 sysctl: Fix data races in proc_dointvec().
    ad3014b0f6b2 net: ethernet: ti: am65-cpsw: Fix devlink port register sequence
    d5c315a78765 net: stmmac: dwc-qos: Disable split header for Tegra194
    750a5e2e5368 ASoC: Intel: Skylake: Correct the handling of fmt_config flexible array
    0d083ea282e5 ASoC: Intel: Skylake: Correct the ssp rate discovery in skl_get_ssp_clks()
    dfe3ce23217c ASoC: tas2764: Fix amp gain register offset & default
    a92e7564c540 ASoC: tas2764: Correct playback volume range
    1230d3e4b884 ASoC: tas2764: Fix and extend FSYNC polarity handling
    7dc0ae04c04e ASoC: tas2764: Add post reset delays
    9b9773cc55d8 ASoC: sgtl5000: Fix noise on shutdown/remove
    c8d5d8194093 ima: Fix a potential integer overflow in ima_appraise_measurement
    505114dda5bb drm/i915: fix a possible refcount leak in intel_dp_add_mst_connector()
    c6e1c5c0c19d net/mlx5e: Ring the TX doorbell on DMA errors
    663a06e96203 net/mlx5e: Fix capability check for updating vnic env counters
    3a5e734ec002 net/mlx5e: Fix enabling sriov while tc nic rules are offloaded
    5adcc5ded58a net/mlx5e: kTLS, Fix build time constant test in RX
    2ee2ef846fa3 net/mlx5e: kTLS, Fix build time constant test in TX
    ba27a912f99e ARM: 9210/1: Mark the FDT_FIXED sections as shareable
    443838e6ff0f ARM: 9209/1: Spectre-BHB: avoid pr_info() every time a CPU comes out of idle
    2bcb2e42a500 spi: amd: Limit max transfer and message size
    28ad09b0d7b1 ARM: dts: imx6qdl-ts7970: Fix ngpio typo and count
    3bbe6437c1d5 reset: Fix devm bulk optional exclusive control getter
    d8124f111b67 xfs: drop async cache flushes from CIL commits.
    d4dab8b405c6 xfs: run callbacks before waking waiters in xlog_state_shutdown_callbacks
    88beb994eae1 xfs: don't include bnobt blocks when reserving free block pool
    ea22fcd0324d xfs: only run COW extent recovery when there are no live extents
    fb593531571c Revert "evm: Fix memleak in init_desc"
    d69f9ff4c8ab sh: convert nommu io{re,un}map() to static inline functions
    bb676a80c6eb nilfs2: fix incorrect masking of permission flags for symlinks
    ca58387e7ad1 fs/remap: constrain dedupe of EOF blocks
    1807d8867402 drm/panfrost: Fix shrinker list corruption by madvise IOCTL
    fbe7451a3ada drm/panfrost: Put mapping instead of shmem obj on panfrost_mmu_map_fault_addr() error
    531a140e269d btrfs: return -EAGAIN for NOWAIT dio reads/writes on compressed and inline extents
    54aee4e5ce8c cgroup: Use separate src/dst nodes when preloading css_sets for migration
    5a9df3101799 wifi: mac80211: fix queue selection for mesh/OCB interfaces
    2a098504d7a0 ARM: 9214/1: alignment: advance IT state after emulating Thumb instruction
    a4f5e3a22fbd ARM: 9213/1: Print message about disabled Spectre workarounds only once
    6f497564bf6a ip: fix dflt addr selection for connected nexthop
    1eb4bea3af81 net: sock: tracing: Fix sock_exceed_buf_limit not to dereference stale pointer
    22eeff55679d tracing/histograms: Fix memory leak problem
    e4967d22882b mm: split huge PUD on wp_huge_pud fallback
    27056f20d753 mm: userfaultfd: fix UFFDIO_CONTINUE on fallocated shmem pages
    b856e5738b1c fix race between exit_itimers() and /proc/pid/timers
    b99174ac57fe xen/netback: avoid entering xenvif_rx_next_skb() with an empty rx queue
    9d3243d774f5 ALSA: hda/realtek - Enable the headset-mic on a Xiaomi's laptop
    cd2731b3efe8 ALSA: hda/realtek - Fix headset mic problem for a HP machine with alc221
    dd9746cf6da3 ALSA: hda/realtek: fix mute/micmute LEDs for HP machines
    7d0c5005c580 ALSA: hda/realtek - Fix headset mic problem for a HP machine with alc671
    32fad77c4cd2 ALSA: hda/realtek: Fix headset mic for Acer SF313-51
    6744faa1d810 ALSA: hda/conexant: Apply quirk for another HP ProDesk 600 G3 model
    d60bb64d3263 ALSA: hda - Add fixup for Dell Latitidue E5430
    baefa2315cb1 Linux 5.15.55
    c80b15105a08 Revert "mtd: rawnand: gpmi: Fix setting busy timeout setting"

(From OE-Core rev: 5a6bc91cf3b8491ddb2abf2c28f5e56cba8409f3)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 845cc9d5a13060eb67adbb0593c8e226067dacd3)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-10 14:59:10 +01:00
Bruce Ashfield
4a5dba835a linux-yocto/5.10: update to v5.10.135
Updating  to the latest korg -stable release that comprises
the following commits:

    4fd9cb57a3f5 Linux 5.10.135
    4bfc9dc60873 selftests: bpf: Don't run sk_lookup in verifier tests
    6d3fad2b44eb bpf: Add PROG_TEST_RUN support for sk_lookup programs
    6aad811b37ee bpf: Consolidate shared test timing code
    545fc3524ccc x86/bugs: Do not enable IBPB at firmware entry when IBPB is not available
    14b494b7aaf2 xfs: Enforce attr3 buffer recovery order
    e5f9d4e0f895 xfs: logging the on disk inode LSN can make it go backwards
    c1268acaa0dd xfs: remove dead stale buf unpin handling code
    c85cbb0b21a1 xfs: hold buffer across unpin and potential shutdown processing
    d8f5bb0a09b7 xfs: force the log offline when log intent item recovery fails
    eccacbcbfd70 xfs: fix log intent recovery ENOSPC shutdowns when inactivating inodes
    17c8097fb041 xfs: prevent UAF in xfs_log_item_in_current_chkpt
    6d3605f84edd xfs: xfs_log_force_lsn isn't passed a LSN
    41fbfdaba94a xfs: refactor xfs_file_fsync
    aadc39fd5b6d docs/kernel-parameters: Update descriptions for "mitigations=" param with retbleed
    c4cd52ab1e6d EDAC/ghes: Set the DIMM label unconditionally
    c45463917205 ARM: 9216/1: Fix MAX_DMA_ADDRESS overflow
    e500aa9f2d76 mt7601u: add USB device ID for some versions of XiaoDu WiFi Dongle.
    2670f76a5631 page_alloc: fix invalid watermark check on a negative value
    8014246694bb ARM: crypto: comment out gcc warning that breaks clang builds
    6f3505588d66 sctp: leave the err path free in sctp_stream_init to sctp_stream_free
    510e5b3791f6 sfc: disable softirqs for ptp TX
    3ec42508a67b perf symbol: Correct address for bss symbols
    6807897695d4 virtio-net: fix the race between refill work and close
    440dccd80f62 netfilter: nf_queue: do not allow packet truncation below transport header offset
    aeb2ff9f9f70 sctp: fix sleep in atomic context bug in timer handlers
    fad6caf9b19f i40e: Fix interface init with MSI interrupts (no MSI-X)
    e4a7acd6b443 tcp: Fix data-races around sysctl_tcp_reflect_tos.
    f310fb69a0a8 tcp: Fix a data-race around sysctl_tcp_comp_sack_nr.
    d2476f2059c2 tcp: Fix a data-race around sysctl_tcp_comp_sack_slack_ns.
    483239789127 tcp: Fix a data-race around sysctl_tcp_comp_sack_delay_ns.
    530a4da37ece net: macsec: fix potential resource leak in macsec_add_rxsa() and macsec_add_txsa()
    6e0e0464f1da macsec: always read MACSEC_SA_ATTR_PN as a u64
    2daf0a1261c7 macsec: limit replay window size with XPN
    0755c9d05ab2 macsec: fix error message in macsec_add_rxsa and _txsa
    54c295a30f00 macsec: fix NULL deref in macsec_add_rxsa
    034bfadc8f51 Documentation: fix sctp_wmem in ip-sysctl.rst
    4aea33f40459 tcp: Fix a data-race around sysctl_tcp_invalid_ratelimit.
    c4e6029a85c8 tcp: Fix a data-race around sysctl_tcp_autocorking.
    83edb788e69a tcp: Fix a data-race around sysctl_tcp_min_rtt_wlen.
    f47e7e5b49e3 tcp: Fix a data-race around sysctl_tcp_min_tso_segs.
    5584fe9718a4 net: sungem_phy: Add of_node_put() for reference returned by of_get_parent()
    b399ffafffba igmp: Fix data-races around sysctl_igmp_qrv.
    4c1318dabeb9 net/tls: Remove the context from the list in tls_device_down
    8008e797ec6f ipv6/addrconf: fix a null-ptr-deref bug for ip6_ptr
    a84b8b53a50b net: ping6: Fix memleak in ipv6_renew_options().
    c37c7f35d7b7 tcp: Fix a data-race around sysctl_tcp_challenge_ack_limit.
    9ffb4fdfd80a tcp: Fix a data-race around sysctl_tcp_limit_output_bytes.
    3e933125830a tcp: Fix data-races around sysctl_tcp_moderate_rcvbuf.
    77ac046a9ad3 Revert "tcp: change pingpong threshold to 3"
    54a73d65440e scsi: ufs: host: Hold reference returned by of_parse_phandle()
    160f79561e87 ice: do not setup vlan for loopback VSI
    9ed6f97c8d77 ice: check (DD | EOF) bits on Rx descriptor rather than (EOP | RS)
    2b4b373271e5 tcp: Fix data-races around sysctl_tcp_no_ssthresh_metrics_save.
    3fb21b67c0fc tcp: Fix a data-race around sysctl_tcp_nometrics_save.
    81c45f49e678 tcp: Fix a data-race around sysctl_tcp_frto.
    312ce3901fd8 tcp: Fix a data-race around sysctl_tcp_adv_win_scale.
    3cddb7a7a5d5 tcp: Fix a data-race around sysctl_tcp_app_win.
    f10a5f905a97 tcp: Fix data-races around sysctl_tcp_dsack.
    7fa8999b3167 watch_queue: Fix missing locking in add_watch_to_object()
    45a84f04a9a0 watch_queue: Fix missing rcu annotation
    b38a8802c52d nouveau/svm: Fix to migrate all requested pages
    bd46ca41461b s390/archrandom: prevent CPACF trng invocations in interrupt context
    1228934cf259 ntfs: fix use-after-free in ntfs_ucsncmp()
    5528990512a2 Revert "ocfs2: mount shared volume without ha stack"
    de5d4654ac6c Bluetooth: L2CAP: Fix use-after-free caused by l2cap_chan_put
    7a62a4b6212a Linux 5.10.134
    bb1990a3005e watch-queue: remove spurious double semicolon
    f7c1fc0dec97 net: usb: ax88179_178a needs FLAG_SEND_ZLP
    08afa87f58d8 tty: use new tty_insert_flip_string_and_push_buffer() in pty_write()
    a4bb7ef2d6f6 tty: extract tty_flip_buffer_commit() from tty_flip_buffer_push()
    c84986d09745 tty: drop tty_schedule_flip()
    4d374625cca2 tty: the rest, stop using tty_schedule_flip()
    6a8184825286 tty: drivers/tty/, stop using tty_schedule_flip()
    0adf21eec590 watchqueue: make sure to serialize 'wqueue->defunct' properly
    c0a3a9eb262a x86/alternative: Report missing return thunk details
    b7b9e5cc8b24 x86/amd: Use IBPB for firmware calls
    14fc9233aa73 Bluetooth: Fix bt_skb_sendmmsg not allocating partial chunks
    f44e65e6f0ee Bluetooth: SCO: Fix sco_send_frame returning skb->len
    a8feae8bd227 Bluetooth: Fix passing NULL to PTR_ERR
    5283591c84fa Bluetooth: RFCOMM: Replace use of memcpy_from_msg with bt_skb_sendmmsg
    341a029cf39c Bluetooth: SCO: Replace use of memcpy_from_msg with bt_skb_sendmsg
    3cce0e771fb5 Bluetooth: Add bt_skb_sendmmsg helper
    c87b2bc9d74a Bluetooth: Add bt_skb_sendmsg helper
    4faf4bbc2d60 ALSA: memalloc: Align buffer allocations in page size
    d1dc861cd68c bitfield.h: Fix "type of reg too small for mask" test
    f62ffdb5e2ee drm/imx/dcss: fix unused but set variable warnings
    577b624689aa dlm: fix pending remove if msg allocation fails
    cdcd20aa2cd4 x86/bugs: Warn when "ibrs" mitigation is selected on Enhanced IBRS parts
    26d5eb3c25c3 sched/deadline: Fix BUG_ON condition for deboosted tasks
    0c722a32f29a bpf: Make sure mac_header was set before using it
    ddb3f0b68863 mm/mempolicy: fix uninit-value in mpol_rebind_policy()
    3616776bc51c KVM: Don't null dereference ops->destroy
    684896e675ed spi: bcm2835: bcm2835_spi_handle_err(): fix NULL pointer deref for non DMA transfers
    064852663308 tcp: Fix data-races around sysctl_tcp_max_reordering.
    805f1c7ce470 tcp: Fix a data-race around sysctl_tcp_rfc1337.
    03bb3892f3f1 tcp: Fix a data-race around sysctl_tcp_stdurg.
    daa8b5b8694c tcp: Fix a data-race around sysctl_tcp_retrans_collapse.
    0e3f82a03ec8 tcp: Fix data-races around sysctl_tcp_slow_start_after_idle.
    cc133e4f4bc2 tcp: Fix a data-race around sysctl_tcp_thin_linear_timeouts.
    d8781f7cd040 tcp: Fix data-races around sysctl_tcp_recovery.
    11e8b013d16e tcp: Fix a data-race around sysctl_tcp_early_retrans.
    ffc388f6f0d6 tcp: Fix data-races around sysctl knobs related to SYN option.
    fcaef69c79ec udp: Fix a data-race around sysctl_udp_l3mdev_accept.
    9add240f76af ip: Fix data-races around sysctl_ip_prot_sock.
    e045d672ba06 ipv4: Fix a data-race around sysctl_fib_multipath_use_neigh.
    36f1d9c607f9 drm/imx/dcss: Add missing of_node_put() in fail path
    665cbe91de2f be2net: Fix buffer overflow in be_get_module_eeprom
    47523928557e gpio: pca953x: use the correct register address when regcache sync during init
    a941e6d5ba3b gpio: pca953x: use the correct range when do regmap sync
    928ded3fc1b9 gpio: pca953x: only use single read/write for No AI mode
    b82de63f8f81 ixgbe: Add locking to prevent panic when setting sriov_numvfs to zero
    6f949e5615f8 i40e: Fix erroneous adapter reinitialization during recovery process
    c6af94324911 iavf: Fix handling of dummy receive descriptors
    0dc2f19d8c26 tcp: Fix data-races around sysctl_tcp_fastopen_blackhole_timeout.
    22938534c611 tcp: Fix data-races around sysctl_tcp_fastopen.
    b3ce32e33ab7 tcp: Fix data-races around sysctl_max_syn_backlog.
    b6c189aa801a tcp: Fix a data-race around sysctl_tcp_tw_reuse.
    fd6f1284e380 tcp: Fix a data-race around sysctl_tcp_notsent_lowat.
    768e42460720 tcp: Fix data-races around some timeout sysctl knobs.
    474510e174fb tcp: Fix data-races around sysctl_tcp_reordering.
    dc1a78a2b274 tcp: Fix data-races around sysctl_tcp_syncookies.
    fc489055e7e8 tcp: Fix data-races around keepalive sysctl knobs.
    f85119fb3fd6 igmp: Fix data-races around sysctl_igmp_max_msf.
    7d26db005354 igmp: Fix a data-race around sysctl_igmp_max_memberships.
    473aad9ad57f igmp: Fix data-races around sysctl_igmp_llm_reports.
    e80ff0b96613 net/tls: Fix race in TLS device down flow
    a3ac79f38d35 net: stmmac: fix dma queue left shift overflow issue
    f3da643d8763 i2c: cadence: Change large transfer count reset logic to be unconditional
    dd7b5ba44b67 net: stmmac: fix unbalanced ptp clock issue in suspend/resume flow
    c61aede097d3 tcp: Fix a data-race around sysctl_tcp_probe_interval.
    d452ce36f2d4 tcp: Fix a data-race around sysctl_tcp_probe_threshold.
    d5bece4df609 tcp: Fix a data-race around sysctl_tcp_mtu_probe_floor.
    97992e8feff3 tcp: Fix data-races around sysctl_tcp_min_snd_mss.
    514d2254c7b8 tcp: Fix data-races around sysctl_tcp_base_mss.
    77a04845f0d2 tcp: Fix data-races around sysctl_tcp_mtu_probing.
    d4f65615db7f tcp/dccp: Fix a data-race around sysctl_tcp_fwmark_accept.
    0ee76fe01ff3 ip: Fix a data-race around sysctl_fwmark_reflect.
    611ba70e5aca ip: Fix a data-race around sysctl_ip_autobind_reuse.
    94269132d0fc ip: Fix data-races around sysctl_ip_nonlocal_bind.
    11038fa781ab ip: Fix data-races around sysctl_ip_fwd_update_priority.
    b96ed5ccb09a ip: Fix data-races around sysctl_ip_fwd_use_pmtu.
    5e343e3ef464 ip: Fix data-races around sysctl_ip_no_pmtu_disc.
    77836dbe3538 igc: Reinstate IGC_REMOVED logic and implement it properly
    fb6031203ebb drm/amdgpu/display: add quirk handling for stutter mode
    43128b3eee33 perf/core: Fix data race between perf_event_set_output() and perf_mmap_close()
    5694b162f275 pinctrl: ralink: Check for null return of devm_kcalloc
    493ceca32713 power/reset: arm-versatile: Fix refcount leak in versatile_reboot_probe
    47b696dd6544 xfrm: xfrm_policy: fix a possible double xfrm_pols_put() in xfrm_bundle_lookup()
    3777ea39f05a serial: mvebu-uart: correctly report configured baudrate value
    e744aad0c442 PCI: hv: Fix interrupt mapping for multi-MSI
    522bd31d6b4b PCI: hv: Reuse existing IRTE allocation in compose_msi_msg()
    73bf070408a7 PCI: hv: Fix hv_arch_irq_unmask() for multi-MSI
    f1d2f1ce0535 PCI: hv: Fix multi-MSI to allow more than one MSI vector
    b07240ce4a09 Revert "m68knommu: only set CONFIG_ISA_DMA_API for ColdFire sub-arch"
    4f900c37f13e net: inline rollback_registered_many()
    bf2f3d1970c0 net: move rollback_registered_many()
    672fac0a4372 net: inline rollback_registered()
    b1158677d46b net: move net_set_todo inside rollback_registered()
    2e11856ec379 net: make sure devices go through netdev_wait_all_refs
    ed6964ff4714 net: make free_netdev() more lenient with unregistering devices
    2686f62fa78c docs: net: explain struct net_device lifetime
    7a99c7c32c85 xen/gntdev: Ignore failure to unmap INVALID_GRANT_HANDLE
    2ee0cab11f66 io_uring: Use original task for req identity in io_identity_cow()
    ab5050fd7430 lockdown: Fix kexec lockdown bypass with ima policy
    426336de3557 mlxsw: spectrum_router: Fix IPv4 nexthop gateway indication
    15155fa898cb riscv: add as-options for modules with assembly compontents
    31f3bb363a89 pinctrl: stm32: fix optional IRQ support to gpios
    503493453643 Linux 5.10.133
    2fc7f18ba2f9 tools headers: Remove broken definition of __LITTLE_ENDIAN
    060e39b8c21c tools arch: Update arch/x86/lib/mem{cpy,set}_64.S copies used in 'perf bench mem memcpy' - again
    fbf60f83e241 objtool: Fix elf_create_undef_symbol() endianness
    39065d54347f kvm: fix objtool relocation warning
    6849ed81a33a x86: Use -mindirect-branch-cs-prefix for RETPOLINE builds
    8e2774270aa3 um: Add missing apply_returns()
    725da3e67cec x86/bugs: Remove apostrophe typo
    81604506c26a tools headers cpufeatures: Sync with the kernel sources
    3f93b8630a91 tools arch x86: Sync the msr-index.h copy with the kernel sources
    2ef1b06ceacf KVM: emulate: do not adjust size of fastop and setcc subroutines
    8e31dfd6306e x86/kvm: fix FASTOP_SIZE when return thunks are enabled
    5779e2f0cc24 efi/x86: use naked RET on mixed mode call wrapper
    abf88ff13414 x86/speculation: Use DECLARE_PER_CPU for x86_spec_ctrl_current
    ecc0d92a9f6c x86/asm/32: Fix ANNOTATE_UNRET_SAFE use on 32-bit
    95d89ec7dba5 x86/ftrace: Add UNWIND_HINT_FUNC annotation for ftrace_stub
    668cb1ddf0ae x86/xen: Fix initialisation in hypercall_page after rethunk
    81f20e5000ec x86, kvm: use proper ASM macros for kvm_vcpu_is_preempted
    844947eee36c tools/insn: Restore the relative include paths for cross building
    c035ca88b074 x86/static_call: Serialize __static_call_fixup() properly
    eb38964b6ff8 x86/speculation: Disable RRSBA behavior
    c2ca99214428 x86/kexec: Disable RET on kexec
    51552b6b52fc x86/bugs: Do not enable IBPB-on-entry when IBPB is not supported
    609336351d08 x86/bugs: Add Cannon lake to RETBleed affected CPU list
    b24fdd0f1c33 x86/retbleed: Add fine grained Kconfig knobs
    f7851ed697be x86/cpu/amd: Enumerate BTC_NO
    a74f5d23e68d x86/common: Stamp out the stepping madness
    4d7f72b6e1bc x86/speculation: Fill RSB on vmexit for IBRS
    47ae76fb2739 KVM: VMX: Fix IBRS handling after vmexit
    5269be9111e2 KVM: VMX: Prevent guest RSB poisoning attacks with eIBRS
    84061fff2ad9 KVM: VMX: Convert launched argument to flags
    07401c2311f6 KVM: VMX: Flatten __vmx_vcpu_run()
    df93717a32f5 objtool: Re-add UNWIND_HINT_{SAVE_RESTORE}
    1dbefa577252 x86/speculation: Remove x86_spec_ctrl_mask
    ce11f91b21c2 x86/speculation: Use cached host SPEC_CTRL value for guest entry/exit
    aad83db22e99 x86/speculation: Fix SPEC_CTRL write on SMT state change
    d29c07912a49 x86/speculation: Fix firmware entry SPEC_CTRL handling
    f1b01ace814b x86/speculation: Fix RSB filling with CONFIG_RETPOLINE=n
    ea1aa926f423 x86/cpu/amd: Add Spectral Chicken
    0d1a8a16e62c objtool: Add entry UNRET validation
    fbab1c94eb1a x86/bugs: Do IBPB fallback check only once
    c8845b875437 x86/bugs: Add retbleed=ibpb
    f728eff26339 x86/xen: Rename SYS* entry points
    28aa3fa0b2c9 objtool: Update Retpoline validation
    55bba093fd91 intel_idle: Disable IBRS during long idle
    e8142e2d6cb6 x86/bugs: Report Intel retbleed vulnerability
    a0f8ef71d762 x86/bugs: Split spectre_v2_select_mitigation() and spectre_v2_user_select_mitigation()
    dabc2a1b406a x86/speculation: Add spectre_v2=ibrs option to support Kernel IBRS
    6d7e13ccc4d7 x86/bugs: Optimize SPEC_CTRL MSR writes
    3dddacf8c3cc x86/entry: Add kernel IBRS implementation
    9e727e0d9486 x86/bugs: Keep a per-CPU IA32_SPEC_CTRL value
    a989e7513619 x86/bugs: Enable STIBP for JMP2RET
    3f29791d56d3 x86/bugs: Add AMD retbleed= boot parameter
    876750cca4f0 x86/bugs: Report AMD retbleed vulnerability
    df748593c553 x86: Add magic AMD return-thunk
    c70d6f82141b objtool: Treat .text.__x86.* as noinstr
    c9eb5dcdc8f4 x86: Use return-thunk in asm code
    5b2edaf709b5 x86/sev: Avoid using __x86_return_thunk
    d6eb50e9b724 x86/vsyscall_emu/64: Don't use RET in vsyscall emulation
    ee4996f07d86 x86/kvm: Fix SETcc emulation for return thunks
    e0e06a922706 x86/bpf: Use alternative RET encoding
    00b136bb6254 x86/ftrace: Use alternative RET encoding
    7723edf5edfd x86,static_call: Use alternative RET encoding
    446eb6f08936 objtool: skip non-text sections when adding return-thunk sites
    8bdb25f7aee3 x86,objtool: Create .return_sites
    716410960ba0 x86: Undo return-thunk damage
    270de63cf4a3 x86/retpoline: Use -mfunction-return
    37b9bb094123 Makefile: Set retpoline cflags based on CONFIG_CC_IS_{CLANG,GCC}
    3e519ed8d509 x86/retpoline: Swizzle retpoline thunk
    6a2b142886c5 x86/retpoline: Cleanup some #ifdefery
    feec5277d5aa x86/cpufeatures: Move RETPOLINE flags to word 11
    7070bbb66c53 x86/kvm/vmx: Make noinstr clean
    accb8cfd506d x86/realmode: build with -D__DISABLE_EXPORTS
    236b959da9d1 objtool: Fix objtool regression on x32 systems
    148811a84292 x86/entry: Remove skip_r11rcx
    e1db6c8a69ec objtool: Fix symbol creation
    3e8afd072d09 objtool: Fix type of reloc::addend
    42ec4d71353f objtool: Fix code relocs vs weak symbols
    831d5c07b7e7 objtool: Fix SLS validation for kcov tail-call replacement
    9728af8857df crypto: x86/poly1305 - Fixup SLS
    03c5c33e043e objtool: Default ignore INT3 for unreachable
    bef21f88b47e kvm/emulate: Fix SETcc emulation function offsets with SLS
    494ed76c1446 tools arch: Update arch/x86/lib/mem{cpy,set}_64.S copies used in 'perf bench mem memcpy'
    e9925a4584dc x86: Add straight-line-speculation mitigation
    0f8532c28377 objtool: Add straight-line-speculation validation
    1f6e6683c466 x86/alternative: Relax text_poke_bp() constraint
    277f4ddc36c5 x86: Prepare inline-asm for straight-line-speculation
    3c91e2257622 x86: Prepare asm files for straight-line-speculation
    a512fcd881c1 x86/lib/atomic64_386_32: Rename things
    c2746d567dcd bpf,x86: Respect X86_FEATURE_RETPOLINE*
    1713e5c4f852 bpf,x86: Simplify computing label offsets
    38a80a3ca2cb x86/alternative: Add debug prints to apply_retpolines()
    3d13ee0d411a x86/alternative: Try inline spectre_v2=retpoline,amd
    b0e2dc950654 x86/alternative: Handle Jcc __x86_indirect_thunk_\reg
    381fd04c97b4 x86/alternative: Implement .retpoline_sites support
    6eb95718f3ea x86/retpoline: Create a retpoline thunk array
    0de47ad5b9d5 x86/retpoline: Move the retpoline thunk declarations to nospec-branch.h
    41ef95807000 x86/asm: Fixup odd GEN-for-each-reg.h usage
    8ef808b3f406 x86/asm: Fix register order
    ccb8fc65a3e8 x86/retpoline: Remove unused replacement symbols
    908bd980a80e objtool,x86: Replace alternatives with .retpoline_sites
    023e78bbf13c objtool: Explicitly avoid self modifying code in .altinstr_replacement
    6e4676f438f8 objtool: Classify symbols
    acc0be56b415 objtool: Handle __sanitize_cov*() tail calls
    9d7ec2418a3a objtool: Introduce CFI hash
    e8b1128fb0d6 objtool: Make .altinstructions section entry size consistent
    1afa44480b62 objtool: Remove reloc symbol type checks in get_alt_entry()
    e7118a25a87f objtool: print out the symbol type when complaining about it
    7ea073195745 objtool: Teach get_alt_entry() about more relocation types
    364e463097a7 objtool: Don't make .altinstructions writable
    f231b2ee8533 objtool/x86: Ignore __x86_indirect_alt_* symbols
    e32542e9ed36 objtool: Only rewrite unconditional retpoline thunk calls
    a0319253825e objtool: Fix .symtab_shndx handling for elf_create_undef_symbol()
    76474a9dd34a x86/alternative: Optimize single-byte NOPs at an arbitrary position
    f3fe1b141d2c objtool: Support asm jump tables
    0b2c8bf4983b objtool/x86: Rewrite retpoline thunk calls
    ed7783dca5ba objtool: Skip magical retpoline .altinstr_replacement
    e87c18c4a951 objtool: Cache instruction relocs
    33092b486686 objtool: Keep track of retpoline call sites
    8a6d73f7db7f objtool: Add elf_create_undef_symbol()
    b69e1b4b689f objtool: Extract elf_symbol_add()
    da962cd0a2fe objtool: Extract elf_strtab_concat()
    b37c43925011 objtool: Create reloc sections implicitly
    fcdb7926d399 objtool: Add elf_create_reloc() helper
    c9049cf4804a objtool: Rework the elf_rebuild_reloc_section() logic
    d42fa5bf19fc objtool: Handle per arch retpoline naming
    6e95f8caffb3 objtool: Correctly handle retpoline thunk calls
    28ca35129674 x86/retpoline: Simplify retpolines
    e68db6f780c6 x86/alternatives: Optimize optimize_nops()
    9a6471666b73 x86: Add insn_decode_kernel()
    d9cd21911498 x86/alternative: Use insn_decode()
    e6f8dc86a1c1 x86/insn-eval: Handle return values from the decoder
    6bc6875b82a0 x86/insn: Add an insn_decode() API
    76c513c87f59 x86/insn: Add a __ignore_sync_check__ marker
    a3d96c74395e x86/insn: Rename insn_decode() to insn_decode_from_regs()
    fd80da64cffe x86/alternative: Use ALTERNATIVE_TERNARY() in _static_cpu_has()
    341e6178c1cf x86/alternative: Support ALTERNATIVE_TERNARY
    0c4c69856996 x86/alternative: Support not-feature
    c9cf908b89ca x86/alternative: Merge include files
    5f93d900b9d3 x86/xen: Support objtool vmlinux.o validation in xen-head.S
    b626e17c11f5 x86/xen: Support objtool validation in xen-asm.S
    3116dee2704b objtool: Combine UNWIND_HINT_RET_OFFSET and UNWIND_HINT_FUNC
    53e89bc78e43 objtool: Assume only ELF functions do sibling calls
    3e674f265289 objtool: Support retpoline jump detection for vmlinux.o
    917a4f6348d9 objtool: Support stack layout changes in alternatives
    e9197d768f97 objtool: Add 'alt_group' struct
    1d516bd72a68 objtool: Refactor ORC section generation
    dd87aa5f610b KVM/nVMX: Use __vmx_vcpu_run in nested_vmx_check_vmentry_hw
    0ca2ba6e4d13 KVM/VMX: Use TEST %REG,%REG instead of CMP $0,%REG in vmenter.S
    7748091a3127 Linux 5.10.132
    06a5dc3911a3 x86/pat: Fix x86_has_pat_wp()
    d9cb6fabc901 serial: 8250: Fix PM usage_count for console handover
    e1bd94dd9e5c serial: pl011: UPSTAT_AUTORTS requires .throttle/unthrottle
    b8c466112656 serial: stm32: Clear prev values before setting RTS delays
    039ffe436ae5 serial: 8250: fix return error code in serial8250_request_std_resource()
    bfee93c9a6c3 vt: fix memory overlapping when deleting chars in the buffer
    5450430199e3 tty: serial: samsung_tty: set dma burst_size to 1
    0e5668ed7b7a usb: dwc3: gadget: Fix event pending check
    f1e01a42dcbd usb: typec: add missing uevent when partner support PD
    61ab5d644e16 USB: serial: ftdi_sio: add Belimo device ids
    58b94325ee80 signal handling: don't use BUG_ON() for debugging
    e75f692b79b4 nvme-pci: phison e16 has bogus namespace ids
    54bf0b8c75af Revert "can: xilinx_can: Limit CANFD brp to 2"
    35ce2c64e57e ARM: dts: stm32: use the correct clock source for CEC on stm32mp151
    227ee155eaf5 soc: ixp4xx/npe: Fix unused match warning
    136d7987fcfd x86: Clear .brk area at early boot
    fd830d8dd59a irqchip: or1k-pic: Undefine mask_ack for level triggered hardware
    dae43b37925c ASoC: madera: Fix event generation for rate controls
    cae4b78f3c7d ASoC: madera: Fix event generation for OUT1 demux
    a7634527cb23 ASoC: cs47l15: Fix event generation for low power mux control
    41f97b0ecfb3 ASoC: dapm: Initialise kcontrol data for mux/demux controls
    11a14e4f31b7 ASoC: wm5110: Fix DRE control
    6cbbe59fdc7e ASoC: SOF: Intel: hda-loader: Clarify the cl_dsp_init() flow
    ef1e38532f4b pinctrl: aspeed: Fix potential NULL dereference in aspeed_pinmux_set_mux()
    13fb9105cfc9 ASoC: ops: Fix off by one in range control validation
    67dc32542a1f net: sfp: fix memory leak in sfp_probe()
    104594de2778 nvme: fix regression when disconnect a recovering ctrl
    5504e63832e7 nvme-tcp: always fail a request when sending it failed
    de876f36f9a3 NFC: nxp-nci: don't print header length mismatch on i2c error
    efa78f2ae363 net: tipc: fix possible refcount leak in tipc_sk_create()
    bacfef0bf2fa platform/x86: hp-wmi: Ignore Sanitization Mode event
    3ea9dbf7c2f4 cpufreq: pmac32-cpufreq: Fix refcount leak bug
    24cd0b9bfdff scsi: hisi_sas: Limit max hw sectors for v3 HW
    c458ebd6591e netfilter: br_netfilter: do not skip all hooks with 0 priority
    93135dca8c4c virtio_mmio: Restore guest page size on resume
    d6115800325c virtio_mmio: Add missing PM calls to freeze/restore
    31e16a5e113f mm: sysctl: fix missing numa_stat when !CONFIG_HUGETLB_PAGE
    c713de1d80a5 net/tls: Check for errors in tls_device_init
    eb58fd350a85 KVM: x86: Fully initialize 'struct kvm_lapic_irq' in kvm_pv_kick_cpu_op()
    c2978d0124f2 net: atlantic: remove aq_nic_deinit() when resume
    38e081ee06cb net: atlantic: remove deep parameter on suspend/resume functions
    b82e4ad58a7f sfc: fix kernel panic when creating VF
    2d4efc9a0e85 seg6: bpf: fix skb checksum in bpf_push_seg6_encap()
    7b38df59a8f4 seg6: fix skb checksum in SRv6 End.B6 and End.B6.Encaps behaviors
    834fa0a22fe8 seg6: fix skb checksum evaluation in SRH encapsulation/insertion
    c2240500817b sfc: fix use after free when disabling sriov
    c1d9702ceb4a ima: Fix potential memory leak in ima_init_crypto()
    eb360267e1e9 ima: force signature verification when CONFIG_KEXEC_SIG is configured
    29c6a632f819 net: ftgmac100: Hold reference returned by of_get_child_by_name()
    a51040d4b120 nexthop: Fix data-races around nexthop_compat_mode.
    2c56958de89b ipv4: Fix data-races around sysctl_ip_dynaddr.
    038a87b3e460 raw: Fix a data-race around sysctl_raw_l3mdev_accept.
    38d78c7b4be7 icmp: Fix a data-race around sysctl_icmp_ratemask.
    4ebf26153215 icmp: Fix a data-race around sysctl_icmp_ratelimit.
    b8871d918602 sysctl: Fix data-races in proc_dointvec_ms_jiffies().
    2744e302e752 drm/i915/gt: Serialize TLB invalidates with GT resets
    636e5dbaf097 drm/i915/selftests: fix a couple IS_ERR() vs NULL tests
    359f2bca7989 ARM: dts: sunxi: Fix SPI NOR campatible on Orange Pi Zero
    e1aa73454ab4 ARM: dts: at91: sama5d2: Fix typo in i2s1 node
    418b191d5f22 ipv4: Fix a data-race around sysctl_fib_sync_mem.
    e088ceb73c24 icmp: Fix data-races around sysctl.
    fe2a35fa2c4f cipso: Fix data-races around sysctl.
    f5811b8df2b9 net: Fix data-races around sysctl_mem.
    d54b6ef53cbc inetpeer: Fix data-races around sysctl.
    6481a8a72a74 tcp: Fix a data-race around sysctl_tcp_max_orphans.
    609ce7ff75a7 sysctl: Fix data races in proc_dointvec_jiffies().
    a5ee448d388c sysctl: Fix data races in proc_doulongvec_minmax().
    e3a2144b3b6b sysctl: Fix data races in proc_douintvec_minmax().
    71ddde27c2eb sysctl: Fix data races in proc_dointvec_minmax().
    d5d54714e329 sysctl: Fix data races in proc_douintvec().
    80cc28a4b484 sysctl: Fix data races in proc_dointvec().
    9cc8edc571b8 net: stmmac: dwc-qos: Disable split header for Tegra194
    cd201332cc39 ASoC: Intel: Skylake: Correct the handling of fmt_config flexible array
    fbb87a0ed216 ASoC: Intel: Skylake: Correct the ssp rate discovery in skl_get_ssp_clks()
    bb8bf8038771 ASoC: tas2764: Fix amp gain register offset & default
    f1cd988de463 ASoC: tas2764: Correct playback volume range
    52d1b4250ca9 ASoC: tas2764: Fix and extend FSYNC polarity handling
    249fe2d20d55 ASoC: tas2764: Add post reset delays
    f160a1f97091 ASoC: sgtl5000: Fix noise on shutdown/remove
    831e190175f1 ima: Fix a potential integer overflow in ima_appraise_measurement
    592f3bad00b7 drm/i915: fix a possible refcount leak in intel_dp_add_mst_connector()
    4cb5c1950b7a net/mlx5e: Fix capability check for updating vnic env counters
    6eb1d0c370af net/mlx5e: kTLS, Fix build time constant test in RX
    c87d5211be84 net/mlx5e: kTLS, Fix build time constant test in TX
    d6cab2e06c33 ARM: 9210/1: Mark the FDT_FIXED sections as shareable
    3d82fba7d363 ARM: 9209/1: Spectre-BHB: avoid pr_info() every time a CPU comes out of idle
    0c300e294d1c spi: amd: Limit max transfer and message size
    d8d42c92fe56 ARM: dts: imx6qdl-ts7970: Fix ngpio typo and count
    91f90b571f1a ext4: fix race condition between ext4_write and ext4_convert_inline_data
    9d883b3f000d Revert "evm: Fix memleak in init_desc"
    41007669fc3b sh: convert nommu io{re,un}map() to static inline functions
    ea4dbcfb9532 nilfs2: fix incorrect masking of permission flags for symlinks
    14e63942d63e fs/remap: constrain dedupe of EOF blocks
    0581613df7f9 drm/panfrost: Fix shrinker list corruption by madvise IOCTL
    2e760fe05d3e drm/panfrost: Put mapping instead of shmem obj on panfrost_mmu_map_fault_addr() error
    c1ea39a77cbd btrfs: return -EAGAIN for NOWAIT dio reads/writes on compressed and inline extents
    7657e3958535 cgroup: Use separate src/dst nodes when preloading css_sets for migration
    e013ea2a51a9 wifi: mac80211: fix queue selection for mesh/OCB interfaces
    db6e8c30154f ARM: 9214/1: alignment: advance IT state after emulating Thumb instruction
    f851e4f40253 ARM: 9213/1: Print message about disabled Spectre workarounds only once
    fa40bb3a5f0c ip: fix dflt addr selection for connected nexthop
    4d3e0fb05eec net: sock: tracing: Fix sock_exceed_buf_limit not to dereference stale pointer
    78a1400c42ee tracing/histograms: Fix memory leak problem
    931dbcc2e02f mm: split huge PUD on wp_huge_pud fallback
    91530f675e88 fix race between exit_itimers() and /proc/pid/timers
    b9c32a6886af xen/netback: avoid entering xenvif_rx_next_skb() with an empty rx queue
    782a6b07b127 ALSA: hda/realtek - Enable the headset-mic on a Xiaomi's laptop
    cacac3e13a81 ALSA: hda/realtek - Fix headset mic problem for a HP machine with alc221
    08ab39027a88 ALSA: hda/realtek - Fix headset mic problem for a HP machine with alc671
    4d0d15d18467 ALSA: hda/realtek: Fix headset mic for Acer SF313-51
    b642a3476a34 ALSA: hda/conexant: Apply quirk for another HP ProDesk 600 G3 model
    4486bbe92840 ALSA: hda - Add fixup for Dell Latitidue E5430
    8f95261a0064 Linux 5.10.131
    cc5ee0e0eed0 Revert "mtd: rawnand: gpmi: Fix setting busy timeout setting"

(From OE-Core rev: 373f85777564f4bdd40b0da32dd1799d77f11cc6)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-10 14:59:10 +01:00
Martin Jansa
20bcde8f69 glibc: revert one upstream change to work around broken DEBUG_BUILD build
* work around for build failure with DEBUG_BUILD:
  http://errors.yoctoproject.org/Errors/Details/661468/

  TOPDIR/tmp-glibc/work/core2-64-oe-linux/glibc/2.35-r0/recipe-sysroot-native/usr/bin/x86_64-oe-linux/../../libexec/x86_64-oe-linux/gcc/x86_64-oe-linux/11.3.0/ld.bfd:
  TOPDIR/tmp-glibc/work/core2-64-oe-linux/glibc/2.35-r0/build-x86_64-oe-linux/libc.a(libc-tls.o):
  in function `__libc_setup_tls':
  /usr/src/debug/glibc/2.35-r0/git/csu/libc-tls.c:202: undefined reference to `_startup_fatal_not_constant'

  introduced in:
  https://git.openembedded.org/openembedded-core/commit/?id=50ca0eea5424c89c9b39cf69d8bd73fd65f06e95
  with:
  https://sourceware.org/git/?p=glibc.git;a=commitdiff;h=a2a6bce7d7e52c1c34369a7da62c501cc350bc31

  Temporary reverting as discussed in:
  https://lists.openembedded.org/g/openembedded-core/message/168463
  (it's also reverted in buildroot now with: https://lore.kernel.org/buildroot/20220720213853.1A27184110@busybox.osuosl.org/t/)

  instead of revert we can use -fexpensive-optimizations which
  will optimize-out the symbol, but that works only with -O1 and
  not -Og used by DEBUG_BUILD

  upstream report:
  https://sourceware.org/bugzilla/show_bug.cgi?id=29249

(From OE-Core rev: c6435f0fad9477aa83b04ef15e1939e9ed2b3c4e)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 642348f9b4656a090b5a272c18a6723c60100e08)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-10 14:59:10 +01:00
Sundeep KOKKONDA
e96e1d8f99 glibc : stable 2.35 branch updates
Below commits on glibc-2.35 development branch are updated.

glibc:
0e5b239f45 malloc: Simplify implementation of __malloc_assert
dc2d843045 Update syscall-names.list for Linux 5.18
d56c7e0965 Apply asm redirections in stdio.h before first use [BZ #27087]
c4050b2552 x86: Add missing IS_IN (libc) check to strncmp-sse4_2.S
fdf699edea x86: Move mem{p}{mov|cpy}_{chk_}erms to its own file
de6f7bb873 x86: Move and slightly improve memset_erms
210e9728ff x86: Add definition for __wmemset_chk AVX2 RTM in ifunc impl list
c77cde8172 x86: Put wcs{n}len-sse4.1 in the sse4.1 text section
3eb17048c4 x86: Align entry for memrchr to 64-bytes.
dd3b6857ee x86: Add BMI1/BMI2 checks for ISA_V3 check
ce32ad91eb x86: Cleanup bounds checking in large memcpy case
863987a6ef x86: Add bounds `x86_non_temporal_threshold`
232b7adb14 x86: Add sse42 implementation to strcmp's ifunc
7f7a728b71 x86: Fix misordered logic for setting `rep_movsb_stop_threshold`
6b4a2ab7e0 x86: Align varshift table to 32-bytes
e74385736c x86: ZERO_UPPER_VEC_REGISTERS_RETURN_XTEST expect no transactions
b4744d4414 x86: Shrink code size of memchr-evex.S
5321a217cf x86: Shrink code size of memchr-avx2.S
c536b318f0 x86: Optimize memrchr-avx2.S
f8ba0e0452 x86: Optimize memrchr-evex.S
7001d558a0 x86: Optimize memrchr-sse2.S
54486f520a x86: Add COND_VZEROUPPER that can replace vzeroupper if no `ret`
82560fe43e x86: Create header for VEC classes in x86 strings library
b1f23b6128 x86_64: Add strstr function with 512-bit EVEX
f9f0fbbf7b x86-64: Ignore r_addend for R_X86_64_GLOB_DAT/R_X86_64_JUMP_SLOT
650bf51c78 x86_64: Implement evex512 version of strlen, strnlen, wcslen and wcsnlen
e0cb101d1b x86_64: Remove bzero optimization
51e2d3b53b nptl: Fix ___pthread_unregister_cancel_restore asynchronous restore
cd4f43be3d linux: Fix mq_timereceive check for 32 bit fallback code (BZ 29304)

(From OE-Core rev: ec5de254e40d188cd0cce75568851b0c130533e6)

Signed-off-by: Sundeep KOKKONDA <sundeep.kokkonda@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 7d70ccb320459faf356b51d38e62c5dc3955393b)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-10 14:59:10 +01:00
Steve Sakoman
38cbb4015d poky.conf: bump version for 4.0.3
(From meta-yocto rev: e95bbf710c397bf643c66a6454d57628d2c723e5)

Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-10 14:57:50 +01:00
Bruce Ashfield
7bd3375697 yocto-bsps: update to v5.10.130
Updating linux-yocto/5.10 to the latest korg -stable release that comprises
the following commits:

    26ae9c361414 Linux 5.10.130
    8365b151fd50 dmaengine: ti: Add missing put_device in ti_dra7_xbar_route_allocate
    37147e22cd8d dmaengine: ti: Fix refcount leak in ti_dra7_xbar_route_allocate
    1be247db203e dmaengine: at_xdma: handle errors of at_xdmac_alloc_desc() correctly
    7b721f5aec92 dmaengine: pl330: Fix lockdep warning about non-static key
    e23cfb3fdcbb ida: don't use BUG_ON() for debugging
    37995f034ff2 dt-bindings: dma: allwinner,sun50i-a64-dma: Fix min/max typo
    ca4a91958466 misc: rtsx_usb: set return value in rsp_buf alloc err path
    ff79e0ca2bea misc: rtsx_usb: use separate command and response buffers
    af7d9d4abe84 misc: rtsx_usb: fix use of dma mapped buffer for usb bulk transfer
    86884017bb63 dmaengine: imx-sdma: Allow imx8m for imx7 FW revs
    9b329edd77ca i2c: cadence: Unregister the clk notifier in error path
    26938bd28c0c r8169: fix accessing unset transport header
    904f622ec78e selftests: forwarding: fix error message in learning_test
    9906c223400f selftests: forwarding: fix learning_test when h1 supports IFF_UNICAST_FLT
    859b889029fc selftests: forwarding: fix flood_unicast_test when h2 supports IFF_UNICAST_FLT
    23cdc57d88d1 ibmvnic: Properly dispose of all skbs during a failover.
    2b4659c145ba i40e: Fix dropped jumbo frames statistics
    5561bddd0599 xsk: Clear page contiguity bit when unmapping pool
    87d2bb888259 ARM: dts: at91: sama5d2_icp: fix eeprom compatibles
    9b7d8e28b686 ARM: dts: at91: sam9x60ek: fix eeprom compatible and size
    ade03e5ea778 ARM: at91: pm: use proper compatibles for sam9x60's rtc and rtt
    b40ac801cbb1 ARM: at91: pm: use proper compatible for sama5d2's rtc
    4c3e73a66a27 arm64: dts: qcom: msm8992-*: Fix vdd_lvs1_2-supply typo
    1d0c3ced2d1c pinctrl: sunxi: sunxi_pconf_set: use correct offset
    e1cda2a03d81 arm64: dts: imx8mp-evk: correct I2C3 pad settings
    2ade1b1d92f6 arm64: dts: imx8mp-evk: correct gpio-led pad settings
    17b3883ba55f arm64: dts: imx8mp-evk: correct the uart2 pinctl value
    43319ee6a075 arm64: dts: imx8mp-evk: correct mmc pad settings
    6bf74a1e748f arm64: dts: qcom: msm8994: Fix CPU6/7 reg values
    2c0d10ce002a pinctrl: sunxi: a83t: Fix NAND function name for some pins
    3d90607e7e6a ARM: meson: Fix refcount leak in meson_smp_prepare_cpus
    e14930e9f9c6 xfs: remove incorrect ASSERT in xfs_rename
    852952ea0e15 can: kvaser_usb: kvaser_usb_leaf: fix bittiming limits
    a741e762e199 can: kvaser_usb: kvaser_usb_leaf: fix CAN clock frequency regression
    f439d08ef1a2 can: kvaser_usb: replace run-time checks with struct kvaser_usb_driver_info
    79af7be44ccb powerpc/powernv: delay rng platform device creation until later in boot
    19104425c962 video: of_display_timing.h: include errno.h
    96fa24eb1a38 memregion: Fix memregion_free() fallback definition
    d6931bff1cc1 PM: runtime: Redefine pm_runtime_release_supplier()
    cecb806c766c fbcon: Prevent that screen size is smaller than font size
    b727561ddc93 fbcon: Disallow setting font bigger than screen size
    b81212828ad1 fbmem: Check virtual screen sizes in fb_set_var()
    d03e8ed72d7d fbdev: fbmem: Fix logo center image dx issue
    963c80f070ed iommu/vt-d: Fix PCI bus rescan device hot add
    0a5e36dbcb44 netfilter: nf_tables: stricter validation of element data
    4a6430b99f67 netfilter: nft_set_pipapo: release elements in clone from abort path
    4f59d12efe30 net: rose: fix UAF bug caused by rose_t0timer_expiry
    0085da9df3dc usbnet: fix memory leak in error case
    e917be1f83ea bpf: Fix insufficient bounds propagation from adjust_scalar_min_max_vals
    9adec7334969 bpf: Fix incorrect verifier simulation around jmp32's jeq/jne
    d0b8e2239988 can: gs_usb: gs_usb_open/close(): fix memory leak
    b6f4b347a1fb can: grcan: grcan_probe(): remove extra of_node_get()
    85cd41070df9 can: bcm: use call_rcu() instead of costly synchronize_rcu()
    b75d4bec85b8 ALSA: hda/realtek: Add quirk for Clevo L140PU
    6c32496964da mm/slub: add missing TID updates on slab deactivation
    7208d1236f72 Linux 5.10.129
    0e21ef18019c clocksource/drivers/ixp4xx: remove EXPORT_SYMBOL_GPL from ixp4xx_timer_setup()
    7055e3446244 net: usb: qmi_wwan: add Telit 0x1070 composition
    f1a53bb27f17 net: usb: qmi_wwan: add Telit 0x1060 composition
    43c8d33ce353 xen/arm: Fix race in RB-tree based P2M accounting
    547b7c640df5 xen-netfront: restore __skb_queue_tail() positioning in xennet_get_responses()
    cbbd2d253153 xen/blkfront: force data bouncing when backend is untrusted
    4923217af574 xen/netfront: force data bouncing when backend is untrusted
    728d68bfe68d xen/netfront: fix leaking data in shared pages
    cfea428030be xen/blkfront: fix leaking data in shared pages
    d341e5a75480 selftests/rseq: Change type of rseq_offset to ptrdiff_t
    7e617278bf3a selftests/rseq: x86-32: use %gs segment selector for accessing rseq thread area
    27f6361cb415 selftests/rseq: x86-64: use %fs segment selector for accessing rseq thread area
    a4312e2d8192 selftests/rseq: Fix: work-around asm goto compiler bugs
    7e1a0a9a4442 selftests/rseq: Remove arm/mips asm goto compiler work-around
    ba4d79af7101 selftests/rseq: Fix warnings about #if checks of undefined tokens
    35c6f5047ff3 selftests/rseq: Fix ppc32 offsets by using long rather than off_t
    dbc1f0ee6044 selftests/rseq: Fix ppc32 missing instruction selection "u" and "x" for load/store
    d4f631ea2dd6 selftests/rseq: Fix ppc32: wrong rseq_cs 32-bit field pointer on big endian
    e85fdae4df72 selftests/rseq: Uplift rseq selftests for compatibility with glibc-2.35
    c79e564535c0 selftests/rseq: Introduce thread pointer getters
    4a78bf83e226 selftests/rseq: Introduce rseq_get_abi() helper
    3c2a416c80cc selftests/rseq: Remove volatile from __rseq_abi
    68e1232c6e93 selftests/rseq: Remove useless assignment to cpu variable
    3e77ed4f9052 selftests/rseq: introduce own copy of rseq uapi header
    54cd556487d4 selftests/rseq: remove ARRAY_SIZE define from individual tests
    14894cf6925c hwmon: (ibmaem) don't call platform_device_del() if platform_device_add() fails
    f72d410dbf8d ipv6/sit: fix ipip6_tunnel_get_prl return value
    25055da22a0f sit: use min
    652fd40eb01c drivers: cpufreq: Add missing of_node_put() in qoriq-cpufreq.c
    79963021fd71 xen/gntdev: Avoid blocking in unmap_grant_pages()
    5f614f5f70bf tcp: add a missing nf_reset_ct() in 3WHS handling
    9203dfb3ed6b xfs: fix xfs_reflink_unshare usage of filemap_write_and_wait_range
    f874e16870cc xfs: update superblock counters correctly for !lazysbcount
    7ab7458d7af7 xfs: fix xfs_trans slab cache name
    f12968a5a4be xfs: ensure xfs_errortag_random_default matches XFS_ERRTAG_MAX
    da61388f9a75 xfs: Skip repetitive warnings about mount options
    6b7dab812cba xfs: rename variable mp to parsing_mp
    b261cd005ab9 xfs: use current->journal_info for detecting transaction recursion
    c36d41b65e57 net: tun: avoid disabling NAPI twice
    59c51c3b5451 tunnels: do not assume mac header is set in skb_tunnel_check_pmtu()
    c9fc52c1739e io_uring: ensure that send/sendmsg and recv/recvmsg check sqe->ioprio
    b8def021ac70 epic100: fix use after free on rmmod
    456bc338871c tipc: move bc link creation back to tipc_node_create
    09f994623530 NFC: nxp-nci: Don't issue a zero length i2c_master_read()
    7d363362e006 nfc: nfcmrvl: Fix irq_of_parse_and_map() return value
    63b2fe509f69 net: bonding: fix use-after-free after 802.3ad slave unbind
    7597ed348e62 net: bonding: fix possible NULL deref in rlb code
    ac12337229ea net/sched: act_api: Notify user space if any actions were flushed before error
    91d3bb82c43e netfilter: nft_dynset: restore set element counter when failing to update
    4b480a7940ff s390: remove unneeded 'select BUILD_BIN2C'
    e65027fdebba PM / devfreq: exynos-ppmu: Fix refcount leak in of_get_devfreq_events
    653bdcd833b7 caif_virtio: fix race between virtio_device_ready() and ndo_open()
    208ff7967534 NFSD: restore EINVAL error translation in nfsd_commit()
    db82bb605404 net: ipv6: unexport __init-annotated seg6_hmac_net_init()
    eb1757ca20b8 usbnet: fix memory allocation in helpers
    fae2a9fb1eaf linux/dim: Fix divide by 0 in RDMA DIM
    b0cab8b517ae RDMA/cm: Fix memory leak in ib_cm_insert_listen
    9de276dfb20c RDMA/qedr: Fix reporting QP timeout attribute
    a42bd00f0035 net: dp83822: disable rx error interrupt
    9c06d84855bd net: dp83822: disable false carrier interrupt
    c70ca16f72b2 net: tun: stop NAPI when detaching queues
    bec1be0a745a net: tun: unlink NAPI from device on destruction
    0b2499c8014f net: dsa: bcm_sf2: force pause link settings
    3f55912a1a98 selftests/net: pass ipv6_args to udpgso_bench's IPv6 TCP test
    f7b8fb458445 virtio-net: fix race between ndo_open() and virtio_device_ready()
    c0a28f2ddf9a net: usb: ax88179_178a: Fix packet receiving
    8f74cb27c2b4 net: rose: fix UAF bugs caused by timer handler
    6a0b9512a6aa SUNRPC: Fix READ_PLUS crasher
    ed03a650fb57 s390/archrandom: simplify back to earlier design and initialize earlier
    d8bca518d527 dm raid: fix KASAN warning in raid5_add_disks
    9bf2b0757b04 dm raid: fix accesses beyond end of raid member array
    213c550deb6b powerpc/bpf: Fix use of user_pt_regs in uapi
    68a34e478ad5 powerpc/book3e: Fix PUD allocation size in map_kernel_page()
    e188bbdb9229 powerpc/prom_init: Fix kernel config grep
    e6a7d30b650a nvdimm: Fix badblocks clear off-by-one error
    0b99c4a18936 nvme-pci: add NVME_QUIRK_BOGUS_NID for ADATA XPG SX6000LNP (AKA SPECTRIX S40G)
    e77804158b30 ipv6: take care of disable_policy when restoring routes
    03b9e016598f drm/amdgpu: To flush tlb for MMHUB of RAVEN series

(From meta-yocto rev: f2dcbda76a2a7a541db99e7cf5f6c3bd34ad1585)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 9aae71c8b6cf2545b363704f978be7d88e33c12a)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-10 14:57:50 +01:00
Bruce Ashfield
794cc6e163 yocto-bsps: update to v5.15.54
Updating linux-yocto/5.15 to the latest korg -stable release that comprises
the following commits:

    843dae1756d9 Linux 5.15.54
    c0c041a60cac selftests/net: fix section name when using xdp_dummy.o
    a5fe76328ea5 dmaengine: idxd: force wq context cleanup on device disable path
    568b2bd79b59 dmaengine: ti: Add missing put_device in ti_dra7_xbar_route_allocate
    2f6ded79068c dmaengine: qcom: bam_dma: fix runtime PM underflow
    cb9813d7eae9 dmaengine: ti: Fix refcount leak in ti_dra7_xbar_route_allocate
    e08ccbaa5fb3 dmaengine: at_xdma: handle errors of at_xdmac_alloc_desc() correctly
    c787908bee3f dmaengine: lgm: Fix an error handling path in intel_ldma_probe()
    0bbb30d077f2 dmaengine: pl330: Fix lockdep warning about non-static key
    8b07022de2d3 ida: don't use BUG_ON() for debugging
    9839d89112d4 dt-bindings: dma: allwinner,sun50i-a64-dma: Fix min/max typo
    e99bad0d76cf Revert "serial: 8250_mtk: Make sure to select the right FEATURE_SEL"
    2fa22e7906c1 Revert "mm/memory-failure.c: fix race with changing page compound again"
    c1c98764c3c3 misc: rtsx_usb: set return value in rsp_buf alloc err path
    bab1a05a1141 misc: rtsx_usb: use separate command and response buffers
    378080b7d8dd misc: rtsx_usb: fix use of dma mapped buffer for usb bulk transfer
    d76704f8ccbb dmaengine: imx-sdma: Allow imx8m for imx7 FW revs
    530ee8d3c6a4 i2c: cadence: Unregister the clk notifier in error path
    941d77b795d1 r8169: fix accessing unset transport header
    3abec0b38173 selftests: forwarding: fix error message in learning_test
    1b74fe2e8f5c selftests: forwarding: fix learning_test when h1 supports IFF_UNICAST_FLT
    8e5fcfecd99a selftests: forwarding: fix flood_unicast_test when h2 supports IFF_UNICAST_FLT
    3fdca34e7811 ibmvnic: Properly dispose of all skbs during a failover.
    5912e5e47ac9 ARM: dts: stm32: add missing usbh clock and fix clk order on stm32mp15
    d5670adf5cff ARM: dts: stm32: use usbphyc ck_usbo_48m as USBH OHCI clock on stm32mp151
    ddec6cbbe227 i40e: Fix VF's MAC Address change on VM
    9d1e322a9103 i40e: Fix dropped jumbo frames statistics
    d2bf1a6480e8 i2c: piix4: Fix a memory leak in the EFCH MMIO support
    e7a1d5100921 xsk: Clear page contiguity bit when unmapping pool
    a2b92fffd51b ARM: at91: fix soc detection for SAM9X60 SiPs
    e3ee4ffa3c92 ARM: dts: at91: sama5d2_icp: fix eeprom compatibles
    f5b0e6d7b453 ARM: dts: at91: sam9x60ek: fix eeprom compatible and size
    a65b92628ae0 ARM: at91: pm: use proper compatibles for sama7g5's rtc and rtt
    cfd0e717bd93 ARM: at91: pm: use proper compatibles for sam9x60's rtc and rtt
    9ec5fe55ba75 ARM: at91: pm: use proper compatible for sama5d2's rtc
    ec5533b2ce26 arm64: dts: qcom: msm8992-*: Fix vdd_lvs1_2-supply typo
    76292cf4b3bc pinctrl: sunxi: sunxi_pconf_set: use correct offset
    c041165d8f04 arm64: dts: imx8mp-phyboard-pollux-rdk: correct i2c2 & mmc settings
    44826474a39a arm64: dts: imx8mp-phyboard-pollux-rdk: correct eqos pad settings
    ea8dbe870c84 arm64: dts: imx8mp-phyboard-pollux-rdk: correct uart pad settings
    67a21eb8c48e arm64: dts: imx8mp-evk: correct I2C3 pad settings
    b34da817e3fa arm64: dts: imx8mp-evk: correct I2C1 pad settings
    37413a0ea090 arm64: dts: imx8mp-evk: correct eqos pad settings
    ebad4d73ab1c arm64: dts: imx8mp-evk: correct vbus pad settings
    f1571c8c8724 arm64: dts: imx8mp-evk: correct gpio-led pad settings
    637b3dab51f7 arm64: dts: imx8mp-evk: correct the uart2 pinctl value
    401d27fec614 arm64: dts: imx8mp-evk: correct mmc pad settings
    ee1ced3dd863 ARM: mxs_defconfig: Enable the framebuffer
    89a718d1d080 arm64: dts: qcom: sdm845: use dispcc AHB clock for mdss node
    216094007699 arm64: dts: qcom: msm8994: Fix CPU6/7 reg values
    4157343a6a1a ASoC: codecs: rt700/rt711/rt711-sdca: resume bus/codec in .set_jack_detect
    ac80a45ddb62 ASoC: rt711-sdca: Add endianness flag in snd_soc_component_driver
    25e61636a5c3 ASoC: rt711: Add endianness flag in snd_soc_component_driver
    29029ca6eed7 pinctrl: sunxi: a83t: Fix NAND function name for some pins
    7208101ded1e ARM: meson: Fix refcount leak in meson_smp_prepare_cpus
    9c26be2c3e69 tty: n_gsm: fix encoding of command/response bit
    3b9f49138669 btrfs: fix use of uninitialized variable at rm device ioctl
    cb91c0548ff2 virtio-blk: modify the value type of num in virtio_queue_rq()
    d35b78cb053a btrfs: fix error pointer dereference in btrfs_ioctl_rm_dev_v2()
    f88e79727fba Revert "serial: sc16is7xx: Clear RS485 bits in the shutdown"
    83d3449e8ae5 xfs: remove incorrect ASSERT in xfs_rename
    63a3d2377715 can: kvaser_usb: kvaser_usb_leaf: fix bittiming limits
    420b99306b7e can: kvaser_usb: kvaser_usb_leaf: fix CAN clock frequency regression
    baffaed7fab3 can: kvaser_usb: replace run-time checks with struct kvaser_usb_driver_info
    188c798f3c25 net: dsa: qca8k: reset cpu port on MTU change
    c79726aba6af powerpc/powernv: delay rng platform device creation until later in boot
    cc409f88e8f7 video: of_display_timing.h: include errno.h
    6c9c8a7a9a54 memregion: Fix memregion_free() fallback definition
    79827e53b069 PM: runtime: Redefine pm_runtime_release_supplier()
    9c9e44bb3dd5 fbcon: Prevent that screen size is smaller than font size
    688632778025 fbcon: Disallow setting font bigger than screen size
    738d06ef99cb fbmem: Check virtual screen sizes in fb_set_var()
    989b2c40322e fbdev: fbmem: Fix logo center image dx issue
    e5fde29135a4 iommu/vt-d: Fix PCI bus rescan device hot add
    09cb6663618a module: fix [e_shstrndx].sh_size=0 OOB access
    e9f331bb5d43 module: change to print useful messages from elf_validity_check()
    82b50219c85d dt-bindings: soc: qcom: smd-rpm: Fix missing MSM8936 compatible
    93dfb9c6deeb dt-bindings: soc: qcom: smd-rpm: Add compatible for MSM8953 SoC
    8371666ef44c rxrpc: Fix locking issue
    d74b09b933b9 irqchip/gic-v3: Refactor ISB + EOIR at ack time
    b82dfacba576 irqchip/gic-v3: Ensure pseudo-NMIs have an ISB between ack and handling
    51ebf1b6a077 io_uring: avoid io-wq -EAGAIN looping for !IOPOLL
    b3cec8a42fcd Bluetooth: btmtksdio: fix use-after-free at btmtksdio_recv_event
    5781bb8a3191 Bluetooth: protect le accept and resolv lists with hdev->lock
    8a2dbdeccef6 drm/mediatek: Add vblank register/unregister callback functions
    2c4396693698 drm/mediatek: Add cmdq_handle in mtk_crtc
    d3f153557045 drm/mediatek: Detect CMDQ execution timeout
    6f77386ddb1c drm/mediatek: Remove the pointer of struct cmdq_client
    d953c679022c drm/mediatek: Use mailbox rx_callback instead of cmdq_task_cb
    51a405dea0ae drm/i915: Fix a race between vma / object destruction and unbinding
    7a9e13b86536 drm/amdgpu: vi: disable ASPM on Intel Alder Lake based systems
    0a9a60dcedaa drm/amd: Refactor `amdgpu_aspm` to be evaluated per device
    00fa5cbbb6a7 tty: n_gsm: fix invalid gsmtty_write_room() result
    156f2c2378e1 serial: 8250_mtk: Make sure to select the right FEATURE_SEL
    e58094e2b516 tty: n_gsm: fix sometimes uninitialized warning in gsm_dlci_modem_output()
    b952aa508786 tty: n_gsm: fix invalid use of MSC in advanced option
    62d1655b9229 mm/hwpoison: fix race between hugetlb free/demotion and memory_failure_hugetlb()
    5429eb5502fc mm/memory-failure.c: fix race with changing page compound again
    7a07875fabcc mm/hwpoison: avoid the impact of hwpoison_filter() return value on mce handler
    d04b62b64056 mm/hwpoison: mf_mutex for soft offline and unpoison
    a0f4fd486896 KVM: Initialize debugfs_dentry when a VM is created to avoid NULL deref
    70e2e87ea878 btrfs: zoned: use dedicated lock for data relocation
    1519e6e28478 btrfs: zoned: encapsulate inode locking for zoned relocation
    920e849b7d23 tty: n_gsm: fix missing update of modem controls after DLCI open
    4db0a8dd9067 ALSA: usb-audio: add mapping for MSI MAG X570S Torpedo MAX.
    a7fe6934ce7c ALSA: usb-audio: add mapping for MSI MPG X570S Carbon Max Wifi.
    6dcf1e5581b4 tty: n_gsm: fix frame reception handling
    375dfcfca4a1 tty: n_gsm: Save dlci address open status when config requester
    88a4fb1346b3 tty: n_gsm: Modify CR,PF bit when config requester
    e73c0eaf7f35 KVM: Don't create VM debugfs files outside of the VM directory
    f3647c369c17 drm/amd/vcn: fix an error msg on vcn 3.0
    a976456c797c ASoC: rt5682: fix an incorrect NULL check on list iterator
    c0058893a4a9 ASoC: rt5682: move clk related code to rt5682_i2c_probe
    121af0231f82 uapi/linux/stddef.h: Add include guards
    1d9bd723e7b4 stddef: Introduce DECLARE_FLEX_ARRAY() helper
    c2f3dab1ac54 bus: mhi: Fix pm_state conversion to string
    3f6d5cb0a5e5 bus: mhi: core: Use correctly sized arguments for bit field
    170a08ad3d1a serial: sc16is7xx: Clear RS485 bits in the shutdown
    5dce84f475d1 powerpc/tm: Fix more userspace r13 corruption
    ed8a5d63a0da powerpc: flexible GPR range save/restore macros
    0a80e66a10af powerpc/32: Don't use lmw/stmw for saving/restoring non volatile regs
    b342feb49141 scsi: qla2xxx: Fix loss of NVMe namespaces after driver reload test
    31c60d15ccd1 KVM: s390x: fix SCK locking
    83772314e1e0 btrfs: don't access possibly stale fs_info data in device_list_add
    6784b694ecd8 KVM: use __vcalloc for very large allocations
    c33904fd1ef4 mm: vmalloc: introduce array allocation functions
    ff41804632e5 Compiler Attributes: add __alloc_size() for better bounds checking
    a1e69c36de17 mtd: spi-nor: Skip erase logic when SPI_NOR_NO_ERASE is set
    e65d78b12fbc batman-adv: Use netif_rx().
    4c0bb583a444 iio: accel: mma8452: use the correct logic to get mma8452_data
    ffd3e67f0dfb riscv/mm: Add XIP_FIXUP for riscv_pfn_base
    d6f1651ddf91 NFSD: COMMIT operations must not return NFS?ERR_INVAL
    c2a9881bc2ca NFSD: De-duplicate net_generic(nf->nf_net, nfsd_net_id)
    59bf2aca4b1c drm/amd/display: Fix by adding FPU protection for dcn30_internal_validate_bw
    f276634b12fa drm/amd/display: Set min dcfclk if pipe count is 0
    f799df4569c1 drbd: fix an invalid memory access caused by incorrect use of list iterator
    5bb1df0bfd46 drbd: Fix double free problem in drbd_create_device
    dbbcf21ad6a8 drbd: add error handling support for add_disk()
    72fa2ea3e0ab btrfs: remove device item and update super block in the same transaction
    f75534a71abf btrfs: use btrfs_get_dev_args_from_path in dev removal ioctls
    321a81835b4a btrfs: add a btrfs_get_dev_args_from_path helper
    5578b681fbf2 btrfs: handle device lookup with btrfs_dev_lookup_args
    09674bfd8054 vdpa/mlx5: Avoid processing works if workqueue was destroyed
    008e29d172ca gfs2: Fix gfs2_file_buffered_write endless loop workaround
    9b7eb92dac24 scsi: qla2xxx: Fix crash during module load unload test
    72806635ee63 scsi: qla2xxx: edif: Replace list_for_each_safe with list_for_each_entry_safe
    d4510119911c scsi: qla2xxx: Fix laggy FC remote port session recovery
    241afac69b96 scsi: qla2xxx: Move heartbeat handling from DPC thread to workqueue
    1e9d6854951a KVM: x86/mmu: Use common TDP MMU zap helper for MMU notifier unmap hook
    eabbe74e7de5 KVM: x86/mmu: Use yield-safe TDP MMU root iter in MMU notifier unmapping
    0855054fa889 clk: renesas: r9a07g044: Update multiplier and divider values for PLL2/3
    518bb9636712 cxl/port: Hold port reference until decoder release
    8b5ce83872b4 mt76: mt7921: do not always disable fw runtime-pm
    9d721a17505b mt76: mt76_connac: fix MCU_CE_CMD_SET_ROC definition error
    6512c3c39cb6 media: davinci: vpif: fix use-after-free on driver unbind
    2823225fbba0 media: omap3isp: Use struct_group() for memcpy() region
    d57ab893cdf8 stddef: Introduce struct_group() helper macro
    af9452dfdba4 block: fix rq-qos breakage from skipping rq_qos_done_bio()
    13141cceadd0 block: only mark bio as tracked if it really is tracked
    eb79d1353cd0 block: use bdev_get_queue() in bio.c
    df1ec53252d5 io_uring: ensure that fsnotify is always called
    5c82c94b0be7 virtio-blk: avoid preallocating big SGL for data
    32ac44b70e17 ibmvnic: Allow queueing resets during probe
    85996ef17952 ibmvnic: clear fop when retrying probe
    4fe1439ef2e0 ibmvnic: init init_done_rc earlier
    a29c71f3a4b1 s390/setup: preserve memory at OLDMEM_BASE and OLDMEM_SIZE
    06de5cf61538 s390/setup: use physical pointers for memblock_reserve()
    6ed826c949cf s390/boot: allocate amode31 section in decompressor
    aa1f19606558 netfilter: nft_payload: don't allow th access for fragments
    5445819e76a6 netfilter: nft_payload: support for inner header matching / mangling
    0d9bd7e6ac3a netfilter: nf_tables: convert pktinfo->tprot_set to flags field
    25ca15fed4bb ASoC: rt5682: Fix deadlock on resume
    f536e0df64b8 ASoC: rt5682: Re-detect the combo jack after resuming
    4b72179e53bd ASoC: rt5682: Avoid the unexpected IRQ event during going to suspend
    301ebfa578e3 net/mlx5e: TC, Reject rules with forward and drop actions
    6d1ac7f882da net/mlx5e: TC, Reject rules with drop and modify hdr action
    aa944fefb396 net/mlx5e: Split actions_match_supported() into a sub function
    f1c36a47a3b4 net/mlx5e: Check action fwd/drop flag exists also for nic flows
    910349170ac0 RISC-V: defconfigs: Set CONFIG_FB=y, for FB console
    49ae6abd617f riscv: defconfig: enable DRM_NOUVEAU
    feacd73fd8b2 bpf, arm64: Use emit_addr_mov_i64() for BPF_PSEUDO_FUNC
    d53c8fe9ee29 bpf: Stop caching subprog index in the bpf_pseudo_func insn
    d3688bfa5af4 mt76: mt7921: fix a possible race enabling/disabling runtime-pm
    281a194f5a67 mt76: mt7921: introduce mt7921_mcu_set_beacon_filter utility routine
    09aee8375b0c mt76: mt7921: get rid of mt7921_mac_set_beacon_filter
    9846b9e4bba7 platform/x86: wmi: Fix driver->notify() vs ->probe() race
    4b5356231989 platform/x86: wmi: Replace read_takes_no_args with a flags field
    789382ce7359 platform/x86: wmi: introduce helper to convert driver to WMI driver
    a9a101842420 qed: Improve the stack space of filter_config()
    8a29aec244ae ath11k: add hw_param for wakeup_mhi
    16b7cb2803bf memory: renesas-rpc-if: Avoid unaligned bus access for HyperFlash
    a4ac45aff8d3 media: ir_toy: prevent device from hanging during transmit
    e1716b0ff925 PCI: pciehp: Ignore Link Down/Up caused by error-induced Hot Reset
    006d00d826fb PCI/portdrv: Rename pm_iter() to pcie_port_device_iter()
    b33035945b0a drm/i915: Replace the unconditional clflush with drm_clflush_virt_range()
    9cf3a1c1288e drm/i915/gt: Register the migrate contexts with their engines
    d839d15b5074 drm/i915: Disable bonding on gen12+ platforms
    70fc07e30817 btrfs: fix deadlock between chunk allocation and chunk btree modifications
    3fb11d13220d dma-buf/poll: Get a file reference for outstanding fence callbacks
    140395211626 Input: goodix - try not to touch the reset-pin on x86/ACPI devices
    8422a9b306f1 Input: goodix - refactor reset handling
    f5b1c6d526d8 Input: goodix - add a goodix.h header file
    1354ceb1b6bf Input: goodix - change goodix_i2c_write() len parameter type to int
    8d1d6b29baa9 Input: cpcap-pwrbutton - handle errors from platform_get_irq()
    48f8f198a2ab btrfs: fix warning when freeing leaf after subvolume creation failure
    9bc53f5a3932 btrfs: fix invalid delayed ref after subvolume creation failure
    661820504717 btrfs: add additional parameters to btrfs_init_tree_ref/btrfs_init_data_ref
    bb5c24715501 btrfs: rename btrfs_alloc_chunk to btrfs_create_chunk
    c1784d207513 netfilter: nf_tables: stricter validation of element data
    5ccecafc728b netfilter: nft_set_pipapo: release elements in clone from abort path
    75e9009edabc net: rose: fix UAF bug caused by rose_t0timer_expiry
    db89582ff330 usbnet: fix memory leak in error case
    a7de8d436db9 bpf: Fix insufficient bounds propagation from adjust_scalar_min_max_vals
    a703cbdd791b bpf: Fix incorrect verifier simulation around jmp32's jeq/jne
    f7c9b38cc5a2 can: mcp251xfd: mcp251xfd_regmap_crc_read(): update workaround broken CRC on TBC register
    0cab3fb917c5 can: mcp251xfd: mcp251xfd_regmap_crc_read(): improve workaround handling for mcp2517fd
    c7333f798884 can: m_can: m_can_{read_fifo,echo_tx_event}(): shift timestamp to full 32 bits
    f4d90e9c95d4 can: m_can: m_can_chip_config(): actually enable internal timestamping
    0e60230bc643 can: gs_usb: gs_usb_open/close(): fix memory leak
    8cfa1a33b0fb can: grcan: grcan_probe(): remove extra of_node_get()
    f34f2a18e47b can: bcm: use call_rcu() instead of costly synchronize_rcu()
    51aab37a66a2 ALSA: cs46xx: Fix missing snd_card_free() call at probe error
    f768f3ca5f38 ALSA: hda/realtek: Add quirk for Clevo L140PU
    f62c53c6e70d ALSA: usb-audio: Workarounds for Behringer UMC 204/404 HD
    e63b94b8dd5f Revert "selftests/bpf: Add test for bpf_timer overwriting crash"
    066a5b678472 mm/filemap: fix UAF in find_lock_entries
    0515cc9b6b24 mm/slub: add missing TID updates on slab deactivation
    eb18ccd14633 Linux 5.15.53
    6b316eedff44 hwmon: (ibmaem) don't call platform_device_del() if platform_device_add() fails
    8848842f0a9b hwmon: (occ) Prevent power cap command overwriting poll response
    38920480329f hwmon: (occ) Remove sequence numbering and checksum calculation
    5b458d3de9cf drm/fourcc: fix integer type usage in uapi header
    f2def2643350 platform/x86: panasonic-laptop: filter out duplicate volume up/down/mute keypresses
    b9b7a115dfd1 platform/x86: panasonic-laptop: don't report duplicate brightness key-presses
    6201123ca5bc platform/x86: panasonic-laptop: revert "Resolve hotkey double trigger bug"
    484e10843a74 platform/x86: panasonic-laptop: sort includes alphabetically
    b619348d9d69 platform/x86: panasonic-laptop: de-obfuscate button codes
    8547315c1377 drivers: cpufreq: Add missing of_node_put() in qoriq-cpufreq.c
    68aa6f13dc43 drm/msm/gem: Fix error return on fence id alloc fail
    a13ea254268c drm/i915/gem: add missing else
    4dc036ddf4bf net: fix IFF_TX_SKB_NO_LINEAR definition
    25daf14eacd1 fsi: occ: Force sequence numbering per OCC
    8169198652b9 clocksource/drivers/ixp4xx: remove EXPORT_SYMBOL_GPL from ixp4xx_timer_setup()
    74acf9cc87c7 net: usb: qmi_wwan: add Telit 0x1070 composition
    9f83c8f6ab14 xen/arm: Fix race in RB-tree based P2M accounting
    1052fc2b7391 xen-netfront: restore __skb_queue_tail() positioning in xennet_get_responses()
    6d0a9127279a xen/blkfront: force data bouncing when backend is untrusted
    ed3cfc690675 xen/netfront: force data bouncing when backend is untrusted
    5dd0993c3683 xen/netfront: fix leaking data in shared pages
    7ed65a4ad8fa xen/blkfront: fix leaking data in shared pages
    472863c7b523 selftests/rseq: Change type of rseq_offset to ptrdiff_t
    df2e933a5348 selftests/rseq: x86-32: use %gs segment selector for accessing rseq thread area
    f5a656b4ab48 selftests/rseq: x86-64: use %fs segment selector for accessing rseq thread area
    4633aa6fadc6 selftests/rseq: Fix: work-around asm goto compiler bugs
    786bd3511934 selftests/rseq: Remove arm/mips asm goto compiler work-around
    33307f2afd85 selftests/rseq: Fix warnings about #if checks of undefined tokens
    21199d90428e selftests/rseq: Fix ppc32 offsets by using long rather than off_t
    56cbd6e40e41 selftests/rseq: Fix ppc32 missing instruction selection "u" and "x" for load/store
    1969c5eff964 selftests/rseq: Fix ppc32: wrong rseq_cs 32-bit field pointer on big endian
    b9a8ebe29636 selftests/rseq: Uplift rseq selftests for compatibility with glibc-2.35
    e49d1c413d28 selftests/rseq: Introduce thread pointer getters
    d471088d078b selftests/rseq: Introduce rseq_get_abi() helper
    c9a96b4231c3 selftests/rseq: Remove volatile from __rseq_abi
    3c35d9cbd99b selftests/rseq: Remove useless assignment to cpu variable
    94a913fe6271 selftests/rseq: introduce own copy of rseq uapi header
    58f64962a697 selftests/rseq: remove ARRAY_SIZE define from individual tests
    34ec62bc44b0 selftests/bpf: Add test_verifier support to fixup kfunc call insns
    e11cdd74519e tcp: add a missing nf_reset_ct() in 3WHS handling
    010d7c422296 MAINTAINERS: add Leah as xfs maintainer for 5.15.y
    c28f95515503 net: tun: avoid disabling NAPI twice
    9db9e649f88f mlxsw: spectrum_router: Fix rollback in tunnel next hop init
    2930ee1a166d ipv6: fix lockdep splat in in6_dump_addrs()
    d6371303b4db ipv6/sit: fix ipip6_tunnel_get_prl return value
    674a641e5b67 tunnels: do not assume mac header is set in skb_tunnel_check_pmtu()
    b43a47c1c5c7 ACPI: video: Change how we determine if brightness key-presses are handled
    50fefe57f45e io_uring: ensure that send/sendmsg and recv/recvmsg check sqe->ioprio
    c8fb40fd7bb7 epic100: fix use after free on rmmod
    35fcb2ba35b4 tipc: move bc link creation back to tipc_node_create
    eaf7e6fe4b07 NFC: nxp-nci: Don't issue a zero length i2c_master_read()
    d13a5b86e284 nfc: nfcmrvl: Fix irq_of_parse_and_map() return value
    89296ac435e2 powerpc/memhotplug: Add add_pages override for PPC
    ef0af7d08d26 net: bonding: fix use-after-free after 802.3ad slave unbind
    7227bc7bd103 net: phy: ax88772a: fix lost pause advertisement configuration
    0d139145cc0f net: bonding: fix possible NULL deref in rlb code
    efafb28ff39f net: asix: fix "can't send until first packet is send" issue
    ed303cc7aab9 net/sched: act_api: Notify user space if any actions were flushed before error
    1d776f085006 net/dsa/hirschmann: Add missing of_node_get() in hellcreek_led_setup()
    031561caa38a netfilter: nft_dynset: restore set element counter when failing to update
    a6c5c65f4c37 s390: remove unneeded 'select BUILD_BIN2C'
    10f88306f9f3 vdpa/mlx5: Update Control VQ callback information
    01121e39ef53 PM / devfreq: exynos-ppmu: Fix refcount leak in of_get_devfreq_events
    7cf7ed8f23c4 caif_virtio: fix race between virtio_device_ready() and ndo_open()
    4d5055873e24 vfs: fix copy_file_range() regression in cross-fs copies
    115d94191691 NFSD: restore EINVAL error translation in nfsd_commit()
    c9f8f94d3ca9 net: ipv6: unexport __init-annotated seg6_hmac_net_init()
    0b842b9e84cd selftests: mptcp: more stable diag tests
    536d2a6a4fd6 usbnet: fix memory allocation in helpers
    f7eaa228b0fa net: usb: asix: do not force pause frames support
    0b6e0eb5c45e linux/dim: Fix divide by 0 in RDMA DIM
    889000874c12 RDMA/cm: Fix memory leak in ib_cm_insert_listen
    732e73bd81c7 RDMA/qedr: Fix reporting QP timeout attribute
    c16404122a7c net: dp83822: disable rx error interrupt
    7191cecb99b2 net: dp83822: disable false carrier interrupt
    92e4f3ee5831 net: tun: stop NAPI when detaching queues
    8145f77d38de net: tun: unlink NAPI from device on destruction
    1e2327ba0fe9 net: dsa: bcm_sf2: force pause link settings
    cc38c1eaa2e0 selftests/net: pass ipv6_args to udpgso_bench's IPv6 TCP test
    4db9730360ab virtio-net: fix race between ndo_open() and virtio_device_ready()
    aa0806efb8f0 net: usb: ax88179_178a: Fix packet receiving
    659d39545260 net: rose: fix UAF bugs caused by timer handler
    6437d3deee28 SUNRPC: Fix READ_PLUS crasher
    0222575395bd s390/archrandom: simplify back to earlier design and initialize earlier
    d5b06039b195 dm raid: fix KASAN warning in raid5_add_disks
    6352b2f4d8e9 dm raid: fix accesses beyond end of raid member array
    bdb4d98d6d95 powerpc/bpf: Fix use of user_pt_regs in uapi
    e646baf1a4fd powerpc/book3e: Fix PUD allocation size in map_kernel_page()
    0c1d781d6b08 powerpc/prom_init: Fix kernel config grep
    be74e588f1a5 nvdimm: Fix badblocks clear off-by-one error
    526b53192d09 nvme-pci: add NVME_QUIRK_BOGUS_NID for ADATA IM2P33F8ABR1
    58caf60ce217 nvme-pci: add NVME_QUIRK_BOGUS_NID for ADATA XPG SX6000LNP (AKA SPECTRIX S40G)
    25fab798784b net: phy: Don't trigger state machine while in suspend
    159f2454ab12 ipv6: take care of disable_policy when restoring routes
    e33f5b581574 ksmbd: use vfs_llseek instead of dereferencing NULL
    9d48194d3e49 ksmbd: check invalid FileOffset and BeyondFinalZero in FSCTL_ZERO_DATA
    6791b57284f5 ksmbd: set the range of bytes to zero without extending file size in FSCTL_ZERO_DATA
    31c371b61d13 drm/amdgpu: To flush tlb for MMHUB of RAVEN series
    990132bebcc8 Revert "drm/amdgpu/display: set vblank_disable_immediate for DC"

(From meta-yocto rev: b21057fca2c2d718a7c63a74e774d1ffbfbe3087)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 755913ad1e13959ae65d007637af649156a712aa)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-10 14:57:50 +01:00
Bruce Ashfield
cbc6cf9c5b yocto-bsps/5.15: fix buildpaths issue with pnmtologo
Integrating the following commit(s) to linux-yocto/5.15:

    a40d2daf2795 pnmtologo: use relocatable file name

(From meta-yocto rev: d39d28921275f2356871b6886fa5b77def50fc1e)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 99d4cbd3cbf36abb49a6ae5e0d7c915e05deb8d0)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-10 14:57:50 +01:00
Bruce Ashfield
a9427315d9 yocto-bsps/5.10: fix buildpaths issue with pnmtologo
Integrating the following commit(s) to linux-yocto/5.10:

    2883e69e202d pnmtologo: use relocatable file name

(From meta-yocto rev: 242e78cb85fa78ec6dc7aab8dcb68d3f3b7bb5c6)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 39ba1201ca46f0b1e8fcec29dd885cfabf4fc89a)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-10 14:57:50 +01:00
Bruce Ashfield
1c171b7861 yocto-bsps/5.15: fix buildpaths issue with gen-mach-types
Integrating the following commit(s) to linux-yocto/5.15:

    6c085baf1838 tools: use basename to identify file in gen-mach-types

(From meta-yocto rev: 1b5673657706d69f0c48f27af6410099b83bbfbb)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit b1671e7ba47f3b64e1385c5dbceb38bef5c8aa7c)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-10 14:57:50 +01:00
Bruce Ashfield
169b7ab017 yocto-bsps/5.10: fix buildpaths issue with gen-mach-types
Integrating the following commit(s) to linux-yocto/5.10:

    80f5207b5abd tools: use basename to identify file in gen-mach-types

(From meta-yocto rev: bb4f4f47f4f95ada5edf55f657fdb215026e8ab5)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f4f6c7812f81ba35165f50ab9ac5f2a3b08ba483)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-10 14:57:50 +01:00
Bruce Ashfield
31de9a4fb7 yocto-bsps: update to v5.15.52 and buildpaths fixes
Updating linux-yocto/5.15 to the latest korg -stable release that comprises
the following commits:

    545aecd22961 Linux 5.15.52
    ea512d540a55 io_uring: fix not locked access to fixed buf table
    5696f7983d5d net: mscc: ocelot: allow unregistered IP multicast flooding to CPU
    810962c79417 rtw88: rtw8821c: enable rfe 6 devices
    d52f1c588824 rtw88: 8821c: support RFE type4 wifi NIC
    e8d4878dcd00 fs: account for group membership
    dc85bc24fbf1 fs: fix acl translation
    38753e9173a5 fs: support mapped mounts of mapped filesystems
    968e66f8ff70 fs: add i_user_ns() helper
    21c6c720be75 fs: port higher-level mapping helpers
    7d0536a8fab7 fs: remove unused low-level mapping helpers
    f895d0ff47be fs: use low-level mapping helpers
    1c62e0186d94 docs: update mapping documentation
    b20dcf603b8d fs: account for filesystem mappings
    3374eb1b0afc fs: tweak fsuidgid_has_mapping()
    7bc23abcb414 fs: move mapping helpers
    b3679e8b5996 fs: add is_idmapped_mnt() helper
    ab0b6dc5e16b powerpc/ftrace: Remove ftrace init tramp once kernel init is complete
    ce6bfe55237e xfs: only bother with sync_filesystem during readonly remount
    3465b167831e xfs: prevent UAF in xfs_log_item_in_current_chkpt
    4f0c91ab4c7d xfs: check sb_meta_uuid for dabuf buffer recovery
    c4f376ba8be8 xfs: remove all COW fork extents when remounting readonly
    40de647b2bab xfs: Fix the free logic of state in xfs_attr_node_hasname
    0e84e17c16a3 xfs: punch out data fork delalloc blocks on COW writeback failure
    71a218ca4fde xfs: use kmem_cache_free() for kmem_cache objects
    1cdcd496b7ca bcache: memset on stack variables in bch_btree_check() and bch_sectors_dirty_init()
    edbaf6e5e93a x86, kvm: use proper ASM macros for kvm_vcpu_is_preempted
    f4a80ec8c51d tick/nohz: unexport __init-annotated tick_nohz_full_setup()
    37238449af78 Linux 5.15.51
    7fc188a9a9cc powerpc/pseries: wire up rng during setup_arch()
    17aa69b458fd kbuild: link vmlinux only once for CONFIG_TRIM_UNUSED_KSYMS (2nd attempt)
    cced9ce619ef dma-direct: use the correct size for dma_set_encrypted()
    a8bbb4c26460 perf build-id: Fix caching files with a wrong build ID
    46a78d141335 random: update comment from copy_to_user() -> copy_to_iter()
    7a3a4683562e ARM: dts: bcm2711-rpi-400: Fix GPIO line names
    bcf2087ce4de modpost: fix section mismatch check for exported init/exit sections
    da3ee7cd2f15 ARM: cns3xxx: Fix refcount leak in cns3xxx_init
    cde4480b5ab0 memory: samsung: exynos5422-dmc: Fix refcount leak in of_get_dram_timings
    4d9c60e868f7 ARM: Fix refcount leak in axxia_boot_secondary
    10ba9d499a9f soc: bcm: brcmstb: pm: pm-arm: Fix refcount leak in brcmstb_pm_probe
    d23f76018e17 ARM: exynos: Fix refcount leak in exynos_map_pmu
    5e00d3d4023c arm64: dts: ti: k3-am64-main: Remove support for HS400 speed mode
    4b5047643466 ARM: dts: imx6qdl: correct PU regulator ramp delay
    c845b98be950 ARM: dts: imx7: Move hsic_phy power domain to HSIC PHY node
    93f7d2a7fcf3 drm/msm/dp: Always clear mask bits to disable interrupts at dp_ctrl_reset_irq_ctrl()
    1ad385647bf3 powerpc/powernv: wire up rng during setup_arch
    c1cfae46c5dc powerpc/rtas: Allow ibm,platform-dump RTAS call with null buffer address
    fe643b5afde6 powerpc: Enable execve syscall exit tracepoint
    416d16b7dc0b powerpc/microwatt: wire up rng during setup_arch()
    6b28ca2cf344 parisc: Enable ARCH_HAS_STRICT_MODULE_RWX
    cb4d52085c8b parisc/stifb: Fix fb_is_primary_device() only available with CONFIG_FB_STI
    0dcc1dd8a5dd xtensa: Fix refcount leak bug in time.c
    016245172317 xtensa: xtfpga: Fix refcount leak bug in setup
    711591bf1dab iio: adc: ti-ads131e08: add missing fwnode_handle_put() in ads131e08_alloc_channels()
    ab7bf025cee8 iio: adc: adi-axi-adc: Fix refcount leak in adi_axi_adc_attach_client
    4358bf6b1aad iio: adc: rzg2l_adc: add missing fwnode_handle_put() in rzg2l_adc_parse_properties()
    bb6f853289fe iio: adc: axp288: Override TS pin bias current for some models
    4f89730288ee iio: adc: stm32: Fix IRQs on STM32F4 by removing custom spurious IRQs message
    d361b3cc1cf8 iio: adc: stm32: Fix ADCs iteration in irq handler
    148bab179f04 iio: afe: rescale: Fix boolean logic bug
    80e80577043f iio: imu: inv_icm42600: Fix broken icm42600 (chip id 0 value)
    2a2d448a74ab iio: adc: stm32: fix maximum clock rate for stm32mp15x
    4687c3f95524 iio: trigger: sysfs: fix use-after-free on remove
    f359c4751de1 iio: gyro: mpu3050: Fix the error handling in mpu3050_power_up()
    005cb02224a9 iio: accel: mma8452: ignore the return value of reset operation
    cb0d87f2519d iio:accel:mxc4005: rearrange iio trigger get and register
    3357fb9da21a iio:accel:bma180: rearrange iio trigger get and register
    240fb3913f18 iio:accel:kxcjk-1013: rearrange iio trigger get and register
    a1356318042e iio:chemical:ccs811: rearrange iio trigger get and register
    974e69beebb3 iio:humidity:hts221: rearrange iio trigger get and register
    f650029de357 f2fs: attach inline_data after setting compression
    d98b5032c9d0 btrfs: fix deadlock with fsync+fiemap+transaction commit
    1238f580cd81 btrfs: don't set lock_owner when locking extent buffer for reading
    46336a59a4a7 dt-bindings: usb: ehci: Increase the number of PHYs
    9a0b865d8b4c dt-bindings: usb: ohci: Increase the number of PHYs
    308df8d4e41b usb: chipidea: udc: check request status before setting device address
    07f1d9a6b75d USB: gadget: Fix double-free bug in raw_gadget driver
    61c3a21ba6f6 usb: gadget: Fix non-unique driver names in raw-gadget driver
    da57f113e817 xhci-pci: Allow host runtime PM as default for Intel Meteor Lake xHCI
    cfa16dd21be0 xhci-pci: Allow host runtime PM as default for Intel Raptor Lake xHCI
    c1c78d4d9b0a xhci: turn off port power in shutdown
    9509a175a560 usb: typec: wcove: Drop wrong dependency to INTEL_SOC_PMIC
    288f30e17513 iio: adc: vf610: fix conversion mode sysfs node name
    466e15f845d7 iio: magnetometer: yas530: Fix memchr_inv() misuse
    490dd2dd2a79 iio: mma8452: fix probe fail when device tree compatible is used.
    ff3e50ca9250 s390/cpumf: Handle events cycles and instructions identical
    09dd5630fea6 gpio: winbond: Fix error code in winbond_gpio_get()
    e3ea126c513c nvme: move the Samsung X5 quirk entry to the core quirks
    1057d42602cb nvme-pci: add NO APST quirk for Kioxia device
    72fa0f65b566 sock: redo the psock vs ULP protection check
    eb9399970565 Revert "net/tls: fix tls_sk_proto_close executed repeatedly"
    8d7fe9ad6fdd virtio_net: fix xdp_rxq_info bug after suspend/resume
    8eb0223631f8 igb: Make DMA faster when CPU is active on the PCIe link
    60fd29f1ff46 regmap-irq: Fix offset/index mismatch in read_sub_irq_data()
    b0581f93cf05 regmap-irq: Fix a bug in regmap_irq_enable() for type_in_mask chips
    20229bb99545 ice: ethtool: advertise 1000M speeds properly
    2b2bba96526f afs: Fix dynamic root getattr
    ab150a2bf6c5 MIPS: Remove repetitive increase irq_err_count
    3e2c9ee9c1e6 x86/xen: Remove undefined behavior in setup_features()
    ffa12a326415 xen-blkfront: Handle NULL gendisk
    0315bd8ad0dd selftests: netfilter: correct PKTGEN_SCRIPT_PATHS in nft_concat_range.sh
    5b45535865d6 udmabuf: add back sanity check
    be64f54a0db2 net/tls: fix tls_sk_proto_close executed repeatedly
    a3b2470399f6 erspan: do not assume transport header is always set
    26e70f8989cb perf arm-spe: Don't set data source if it's not a memory operation
    e24709e89b1b drm/msm/dp: force link training for display resolution change
    796d3acd7d9e drm/msm/dp: do not initialize phy until plugin interrupt received
    40e9efdc2ef9 drm/msm/dp: dp_link_parse_sink_count() return immediately if aux read failed
    2ecf5ff9aa14 drm/msm/dp: Drop now unused hpd_high member
    d0b4a61f8713 drm/msm/dp: check core_initialized before disable interrupts at dp_display_unbind()
    3c39a1719773 drm/msm/mdp4: Fix refcount leak in mdp4_modeset_init_intf
    45bd293bbcd8 net/sched: sch_netem: Fix arithmetic in netem_dump() for 32-bit platforms
    efb10d2a047d ethtool: Fix get module eeprom fallback
    6386fdde8df0 bonding: ARP monitor spams NETDEV_NOTIFY_PEERS notifiers
    2af944210dc2 igb: fix a use-after-free issue in igb_clean_tx_ring
    cd7789e659e8 tipc: fix use-after-free Read in tipc_named_reinit
    ad10d61c55aa net: fix data-race in dev_isalive()
    f617cef46552 net: Write lock dev_base_lock without disabling bottom halves.
    638be56ae9cc KVM: arm64: Prevent kmemleak from accessing pKVM memory
    d7fe6be43cfa phy: aquantia: Fix AN when higher speeds than 1G are not advertised
    8e74f5ceea52 scsi: storvsc: Correct reporting of Hyper-V I/O size limits
    b28e4e3fd34c bpf, x86: Fix tail call count offset calculation on bpf2bpf call
    0eef1dcb9774 drm/sun4i: Fix crash during suspend after component bind failure
    b03607437ea8 bpf: Fix request_sock leak in sk lookup helpers
    7154e4df56d4 drm/msm: use for_each_sgtable_sg to iterate over scatterlist
    64e6ba7f2d2f xsk: Fix generic transmit when completion queue reservation fails
    54abcc525269 scsi: iscsi: Exclude zero from the endpoint ID range
    0a7a5261705f drm/msm: Switch ordering of runpm put vs devfreq_idle
    7d5fe94333a9 scsi: scsi_debug: Fix zone transition to full condition
    d0906b0fffc9 netfilter: use get_random_u32 instead of prandom
    f7fa3263079c drm/msm: Fix double pm_runtime_disable() call
    c6f6c9668609 drm/msm: Ensure mmap offset is initialized
    45dc151ca0b9 USB: serial: option: add Quectel RM500K module support
    d5eb7d6baed5 USB: serial: option: add Quectel EM05-G modem
    b919ece13b6b USB: serial: option: add Telit LE910Cx 0x1250 composition
    e5b0f42edda2 USB: serial: pl2303: add support for more HXN (G) types
    0895a2235bae drm/i915: Implement w/a 22010492432 for adl-s
    bae4d6a2dd9e tracing/kprobes: Check whether get_kretprobe() returns NULL in kretprobe_dispatcher()
    c3f51b28a8bc dm mirror log: clear log bits up to BITS_PER_LONG boundary
    ac0a5f701f4d dm era: commit metadata in postsuspend after worker stops
    c477de4c7d43 ata: libata: add qc->flags in ata_qc_complete_template tracepoint
    0af674e7a764 mtd: rawnand: gpmi: Fix setting busy timeout setting
    0f6f66b4ef27 MAINTAINERS: Add new IOMMU development mailing list
    87a54feba68f xen/gntdev: Avoid blocking in unmap_grant_pages()
    fe9ba4f29320 mmc: mediatek: wait dma stop bit reset to 0
    7df8c497214b mmc: sdhci-pci-o2micro: Fix card detect by dealing with debouncing
    161ec2a0807d scsi: ibmvfc: Allocate/free queue resource only during probe/remove
    8540f66196ca scsi: ibmvfc: Store vhost pointer during subcrq allocation
    4a19c1cee0de btrfs: add error messages to all unrecognized mount options
    82e3769c0257 btrfs: prevent remounting to v1 space cache for subpage mount
    341d33128a94 btrfs: fix hang during unmount when block group reclaim task is running
    f0126bcaee81 9p: fix fid refcount leak in v9fs_vfs_get_link
    22832ac3eb5b 9p: fix fid refcount leak in v9fs_vfs_atomic_open_dotl
    10629c04b3a8 9p: Fix refcounting during full path walks for fid lookups
    cbf585269510 net: openvswitch: fix parsing of nw_proto for IPv6 fragments
    56c6f1fcd594 ALSA: hda/realtek: Add quirk for Clevo NS50PU
    48e3b93cda56 ALSA: hda/realtek: Add quirk for Clevo PD70PNT
    dffaf580c3c2 ALSA: hda/realtek: Apply fixup for Lenovo Yoga Duet 7 properly
    c478ceb4342b ALSA: hda/realtek - ALC897 headset MIC no sound
    82e29e99f2ab ALSA: hda/realtek: Add mute LED quirk for HP Omen laptop
    d12a5d1b5053 ALSA: hda/conexant: Fix missing beep setup
    535abf6207ef ALSA: hda/via: Fix missing beep setup
    eb4c99d089c0 random: quiet urandom warning ratelimit suppression message
    7a42647f7037 random: schedule mix_interrupt_randomness() less often

(From meta-yocto rev: fbeef2e80a11d91bfe6ce3b8b4d8af70f67b5341)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 3dea60e5c423c2324085dfafd0954d4f4759724e)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-10 14:57:50 +01:00
Bruce Ashfield
5f1ede2720 yocto-bsps: update to v5.10.128 and buildpaths fixes
Updating linux-yocto/5.10 to the latest korg -stable release that comprises
the following commits:

    ea86c1430c83 Linux 5.10.128
    2d10984d99ac net: mscc: ocelot: allow unregistered IP multicast flooding
    6a656280e775 powerpc/ftrace: Remove ftrace init tramp once kernel init is complete
    6b734f7b7071 xfs: check sb_meta_uuid for dabuf buffer recovery
    071e750ffb3d xfs: remove all COW fork extents when remounting readonly
    1e76bd4c6722 xfs: Fix the free logic of state in xfs_attr_node_hasname
    0cdccc05da76 xfs: punch out data fork delalloc blocks on COW writeback failure
    db3f8110c3b0 xfs: use kmem_cache_free() for kmem_cache objects
    09c9902cd80a bcache: memset on stack variables in bch_btree_check() and bch_sectors_dirty_init()
    c4ff3ffe0138 tick/nohz: unexport __init-annotated tick_nohz_full_setup()
    069fff50d400 drm: remove drm_fb_helper_modinit
    52dc7f3f6fa1 MAINTAINERS: add Amir as xfs maintainer for 5.10.y
    deb587b1a48d Linux 5.10.127
    1cca46c20541 powerpc/pseries: wire up rng during setup_arch()
    95d73d510b8a kbuild: link vmlinux only once for CONFIG_TRIM_UNUSED_KSYMS (2nd attempt)
    feb5ab798698 random: update comment from copy_to_user() -> copy_to_iter()
    959bbaf5b7a9 modpost: fix section mismatch check for exported init/exit sections
    c980392af147 ARM: cns3xxx: Fix refcount leak in cns3xxx_init
    889aad2203e0 memory: samsung: exynos5422-dmc: Fix refcount leak in of_get_dram_timings
    44a5b3a073e5 ARM: Fix refcount leak in axxia_boot_secondary
    30bbfeb480ae soc: bcm: brcmstb: pm: pm-arm: Fix refcount leak in brcmstb_pm_probe
    68f28d52e6cb ARM: exynos: Fix refcount leak in exynos_map_pmu
    59fdf108144c ARM: dts: imx6qdl: correct PU regulator ramp delay
    fb70bd86751a ARM: dts: imx7: Move hsic_phy power domain to HSIC PHY node
    f78acc4288ed powerpc/powernv: wire up rng during setup_arch
    7db1ba660b07 powerpc/rtas: Allow ibm,platform-dump RTAS call with null buffer address
    1f5a9205a3be powerpc: Enable execve syscall exit tracepoint
    ca144919afd4 parisc: Enable ARCH_HAS_STRICT_MODULE_RWX
    a1c902349ad5 parisc/stifb: Fix fb_is_primary_device() only available with CONFIG_FB_STI
    af0ff2da0152 xtensa: Fix refcount leak bug in time.c
    6c0839cf1b9e xtensa: xtfpga: Fix refcount leak bug in setup
    501652a2ad54 iio: adc: adi-axi-adc: Fix refcount leak in adi_axi_adc_attach_client
    d40514d4403a iio: adc: axp288: Override TS pin bias current for some models
    d579c893dd6c iio: adc: stm32: Fix IRQs on STM32F4 by removing custom spurious IRQs message
    62284d45e26d iio: adc: stm32: Fix ADCs iteration in irq handler
    e3ebb9d16ce1 iio: imu: inv_icm42600: Fix broken icm42600 (chip id 0 value)
    3e0af68b99b8 iio: adc: stm32: fix maximum clock rate for stm32mp15x
    b07a30a774b3 iio: trigger: sysfs: fix use-after-free on remove
    399788e819a1 iio: gyro: mpu3050: Fix the error handling in mpu3050_power_up()
    c1ec7d52a218 iio: accel: mma8452: ignore the return value of reset operation
    42caf44906d6 iio:accel:mxc4005: rearrange iio trigger get and register
    e26dcf627971 iio:accel:bma180: rearrange iio trigger get and register
    f26379e19958 iio:chemical:ccs811: rearrange iio trigger get and register
    4b6cdcff7cb8 f2fs: attach inline_data after setting compression
    2d7bdb6a5a37 usb: chipidea: udc: check request status before setting device address
    656eca37aae1 USB: gadget: Fix double-free bug in raw_gadget driver
    54604108be64 usb: gadget: Fix non-unique driver names in raw-gadget driver
    d87dec22fdf5 xhci-pci: Allow host runtime PM as default for Intel Meteor Lake xHCI
    114080d04ae4 xhci-pci: Allow host runtime PM as default for Intel Raptor Lake xHCI
    b8142a84657e xhci: turn off port power in shutdown
    116c3e81b053 usb: typec: wcove: Drop wrong dependency to INTEL_SOC_PMIC
    a547662534ca iio: adc: vf610: fix conversion mode sysfs node name
    58c3a27e9c23 iio: mma8452: fix probe fail when device tree compatible is used.
    5ee016f6120a s390/cpumf: Handle events cycles and instructions identical
    abe487a88a5d gpio: winbond: Fix error code in winbond_gpio_get()
    30531e0d7b5d nvme: move the Samsung X5 quirk entry to the core quirks
    169f7d770552 nvme-pci: add NO APST quirk for Kioxia device
    938f594266a6 nvme-pci: allocate nvme_command within driver pdu
    ba388d4e9a68 nvme: don't check nvme_req flags for new req
    e7ccaa1abacf nvme: mark nvme_setup_passsthru() inline
    3ee62a1f0701 nvme: split nvme_alloc_request()
    fe06c692cd7e nvme: centralize setting the timeout in nvme_alloc_request
    afbc954e7896 Revert "net/tls: fix tls_sk_proto_close executed repeatedly"
    340fbdc8011f virtio_net: fix xdp_rxq_info bug after suspend/resume
    3bccf82169c5 igb: Make DMA faster when CPU is active on the PCIe link
    7d7450363fdf regmap-irq: Fix a bug in regmap_irq_enable() for type_in_mask chips
    40b3815b2c90 ice: ethtool: advertise 1000M speeds properly
    7b564e3254b7 afs: Fix dynamic root getattr
    3c22192db06e MIPS: Remove repetitive increase irq_err_count
    cc649a78654a x86/xen: Remove undefined behavior in setup_features()
    b60c375ad140 selftests: netfilter: correct PKTGEN_SCRIPT_PATHS in nft_concat_range.sh
    20119c1e0fff udmabuf: add back sanity check
    e82376b63247 net/tls: fix tls_sk_proto_close executed repeatedly
    cec9867ee554 erspan: do not assume transport header is always set
    acf76125bb2b drm/msm/dp: fix connect/disconnect handled at irq_hpd
    61f8f4034c04 drm/msm/dp: promote irq_hpd handle to handle link training correctly
    d11cb082151f drm/msm/dp: deinitialize mainlink if link training failed
    3d67cb00cbbb drm/msm/dp: fixes wrong connection state caused by failure of link train
    efb2b6916050 drm/msm/dp: check core_initialized before disable interrupts at dp_display_unbind()
    d16a4339825e drm/msm/mdp4: Fix refcount leak in mdp4_modeset_init_intf
    363fd6e34618 net/sched: sch_netem: Fix arithmetic in netem_dump() for 32-bit platforms
    2e3216b929bb bonding: ARP monitor spams NETDEV_NOTIFY_PEERS notifiers
    c12a2c9b1b46 igb: fix a use-after-free issue in igb_clean_tx_ring
    361c5521c1e4 tipc: fix use-after-free Read in tipc_named_reinit
    f299d3fbe431 tipc: simplify the finalize work queue
    ab7f565ac705 phy: aquantia: Fix AN when higher speeds than 1G are not advertised
    a51c199e4d2b bpf, x86: Fix tail call count offset calculation on bpf2bpf call
    4ae116428e81 drm/sun4i: Fix crash during suspend after component bind failure
    516760f1d297 bpf: Fix request_sock leak in sk lookup helpers
    505a375eea11 drm/msm: use for_each_sgtable_sg to iterate over scatterlist
    10eb239e2935 scsi: scsi_debug: Fix zone transition to full condition
    15cc30ac2a8d netfilter: use get_random_u32 instead of prandom
    95f80c88436f netfilter: nftables: add nft_parse_register_store() and use it
    ec9b0a8d307e netfilter: nftables: add nft_parse_register_load() and use it
    8adedb4711dc drm/msm: Fix double pm_runtime_disable() call
    8682335375bd USB: serial: option: add Quectel RM500K module support
    9e6e063e548b USB: serial: option: add Quectel EM05-G modem
    0b3006a862fb USB: serial: option: add Telit LE910Cx 0x1250 composition
    f6a266e0dc6f dm mirror log: clear log bits up to BITS_PER_LONG boundary
    03d1874b8295 dm era: commit metadata in postsuspend after worker stops
    273106c2df43 ata: libata: add qc->flags in ata_qc_complete_template tracepoint
    156427b3123c mtd: rawnand: gpmi: Fix setting busy timeout setting
    07e56884cd95 mmc: sdhci-pci-o2micro: Fix card detect by dealing with debouncing
    0ae82e1ccb66 btrfs: add error messages to all unrecognized mount options
    49e3e449bc4e net: openvswitch: fix parsing of nw_proto for IPv6 fragments
    1508658aec4e ALSA: hda/realtek: Add quirk for Clevo NS50PU
    6e8e5031592d ALSA: hda/realtek: Add quirk for Clevo PD70PNT
    80307458a1ee ALSA: hda/realtek: Apply fixup for Lenovo Yoga Duet 7 properly
    7fcbc89d4722 ALSA: hda/realtek - ALC897 headset MIC no sound
    f5ea433d56d4 ALSA: hda/realtek: Add mute LED quirk for HP Omen laptop
    64373290601f ALSA: hda/conexant: Fix missing beep setup
    12a6be5d11d0 ALSA: hda/via: Fix missing beep setup
    5e80f923b8dd random: quiet urandom warning ratelimit suppression message
    310ebbd9f5cd random: schedule mix_interrupt_randomness() less often
    3acb7dc242ca vt: drop old FONT ioctls
    9cae50bdfafa Linux 5.10.126
    fb2fbb3c10d7 io_uring: use separate list entry for iopoll requests

(From meta-yocto rev: fbe59222b592b6bb50675ad1f87906b7a7b14797)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 793cf819f19b7d66cf48139e839fed7582cb7bb1)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-10 14:57:50 +01:00
Bruce Ashfield
2b62807938 yocto-bsps: update to v5.10.113
Updating linux-yocto/5.10 to the latest korg -stable release that comprises
the following commits:

    54af9dd2b958 Linux 5.10.113
    7992fdb045fb Revert "net: micrel: fix KS8851_MLL Kconfig"
    8bedbc8f7f35 block/compat_ioctl: fix range check in BLKGETSIZE
    fea24b07edfc staging: ion: Prevent incorrect reference counting behavour
    dccee748af17 spi: atmel-quadspi: Fix the buswidth adjustment between spi-mem and controller
    572761645b88 jbd2: fix a potential race while discarding reserved buffers after an abort
    50aac4427360 can: isotp: stop timeout monitoring when no first frame was sent
    e1e96e372721 ext4: force overhead calculation if the s_overhead_cluster makes no sense
    4789149b9ea2 ext4: fix overhead calculation to account for the reserved gdt blocks
    0c54b093766b ext4, doc: fix incorrect h_reserved size
    22c450d39f89 ext4: limit length to bitmap_maxbytes - blocksize in punch_hole
    75ac724684b7 ext4: fix use-after-free in ext4_search_dir
    a46b3d849864 ext4: fix symlink file size not match to file content
    f6038d43b25b ext4: fix fallocate to use file_modified to update permissions consistently
    19590bbc691d perf report: Set PERF_SAMPLE_DATA_SRC bit for Arm SPE event
    e012f9d1af54 powerpc/perf: Fix power9 event alternatives
    0a2cef65b329 drm/vc4: Use pm_runtime_resume_and_get to fix pm_runtime_get_sync() usage
    f8f8b3124b89 KVM: PPC: Fix TCE handling for VFIO
    405d98427416 drm/panel/raspberrypi-touchscreen: Initialise the bridge in prepare
    231381f52116 drm/panel/raspberrypi-touchscreen: Avoid NULL deref if not initialised
    51d9cbbb0f5a perf/core: Fix perf_mmap fail when CONFIG_PERF_USE_VMALLOC enabled
    88fcfd6ee6c5 sched/pelt: Fix attach_entity_load_avg() corner case
    c55327bc3712 arm_pmu: Validate single/group leader events
    5580b974a84b ARC: entry: fix syscall_trace_exit argument
    7082650eb826 e1000e: Fix possible overflow in LTR decoding
    43a2a3734aa3 ASoC: soc-dapm: fix two incorrect uses of list iterator
    54e6180c8c2d gpio: Request interrupts after IRQ is initialized
    0837ff17d052 openvswitch: fix OOB access in reserve_sfa_size()
    19f6dcb1f0f0 xtensa: fix a7 clobbering in coprocessor context load/store
    f399ab11dd6c xtensa: patch_text: Fixup last cpu should be master
    ba2716da2336 net: atlantic: invert deep par in pm functions, preventing null derefs
    358a3846f6a9 dma: at_xdmac: fix a missing check on list iterator
    cf23a960c5c6 ata: pata_marvell: Check the 'bmdma_addr' beforing reading
    9ca66d791439 mm/mmu_notifier.c: fix race in mmu_interval_notifier_remove()
    ed5d4efb4df1 oom_kill.c: futex: delay the OOM reaper to allow time for proper futex cleanup
    6b932920b96f mm, hugetlb: allow for "high" userspace addresses
    50cbc583fa83 EDAC/synopsys: Read the error count from the correct register
    7ec6e06ee405 nvme-pci: disable namespace identifiers for Qemu controllers
    316bd86c2261 nvme: add a quirk to disable namespace identifiers
    76101c8e0c31 stat: fix inconsistency between struct stat and struct compat_stat
    bf28bba30410 scsi: qedi: Fix failed disconnect handling
    a284cca3d81a net: macb: Restart tx only if queue pointer is lagging
    9581e07b549b drm/msm/mdp5: check the return of kzalloc()
    8d71edabb0ab dpaa_eth: Fix missing of_node_put in dpaa_get_ts_info()
    b3afe5a7fd75 brcmfmac: sdio: Fix undefined behavior due to shift overflowing the constant
    202748f44148 mt76: Fix undefined behavior due to shift overflowing the constant
    0de9c104d04a net: atlantic: Avoid out-of-bounds indexing
    5bef9fc38ffa cifs: Check the IOCB_DIRECT flag, not O_DIRECT
    e129c55153c8 vxlan: fix error return code in vxlan_fdb_append
    8e7ea1136475 arm64: dts: imx: Fix imx8*-var-som touchscreen property sizes
    cd227ac03f2a ALSA: usb-audio: Fix undefined behavior due to shift overflowing the constant
    490815f0b50e platform/x86: samsung-laptop: Fix an unsigned comparison which can never be negative
    cb17b56a9b4d reset: tegra-bpmp: Restore Handle errors in BPMP response
    d513ea9b7ef8 ARM: vexpress/spc: Avoid negative array index when !SMP
    052e4a661f90 arm64: mm: fix p?d_leaf()
    18ff7a2efa4e arm64/mm: Remove [PUD|PMD]_TABLE_BIT from [pud|pmd]_bad()
    3bf8ca350170 selftests: mlxsw: vxlan_flooding: Prevent flooding of unwanted packets
    520aab8b723c dmaengine: idxd: add RO check for wq max_transfer_size write
    9a3c026dc3a5 dmaengine: idxd: add RO check for wq max_batch_size write
    f593f49fcd17 net: stmmac: Use readl_poll_timeout_atomic() in atomic state
    3d55b195747c netlink: reset network and mac headers in netlink_dump()
    49516e6ed914 ipv6: make ip6_rt_gc_expire an atomic_t
    078d839f11ac l3mdev: l3mdev_master_upper_ifindex_by_index_rcu should be using netdev_master_upper_dev_get_rcu
    0ac8f83d8f64 net/sched: cls_u32: fix possible leak in u32_init_knode()
    93366275be72 ip6_gre: Fix skb_under_panic in __gre6_xmit()
    200f96ebb389 ip6_gre: Avoid updating tunnel->tun_hlen in __gre6_xmit()
    8fb76adb89f0 net/packet: fix packet_sock xmit return value checking
    a499cb5f3ef9 net/smc: Fix sock leak when release after smc_shutdown()
    60592f16a456 rxrpc: Restore removed timer deletion
    fc7116a79a86 igc: Fix BUG: scheduling while atomic
    46b0e4f998ce igc: Fix infinite loop in release_swfw_sync
    c075c3ea0317 esp: limit skb_page_frag_refill use to a single page
    3f7914dbeacd spi: spi-mtk-nor: initialize spi controller after resume
    f714abf28f81 dmaengine: mediatek:Fix PM usage reference leak of mtk_uart_apdma_alloc_chan_resources
    9bc949a181ba dmaengine: imx-sdma: Fix error checking in sdma_event_remap
    12aa8021c7a7 ASoC: codecs: wcd934x: do not switch off SIDO Buck when codec is in use
    b6f474cd3097 ASoC: msm8916-wcd-digital: Check failure for devm_snd_soc_register_component
    608fc58858bf ASoC: atmel: Remove system clock tree configuration for at91sam9g20ek
    d29c78d3f9c5 dm: fix mempool NULL pointer race when completing IO
    cf9b19546494 ALSA: hda/realtek: Add quirk for Clevo NP70PNP
    8ce3820fc9d4 ALSA: usb-audio: Clear MIDI port active flag after draining
    43ce33a68e2b net/sched: cls_u32: fix netns refcount changes in u32_change()
    04dd45d9776e gfs2: assign rgrp glock before compute_bitstructs
    378061c9b886 perf tools: Fix segfault accessing sample_id xyarray
    5e8446e3820c tracing: Dump stacktrace trigger to the corresponding instance
    69848f9488bc mm: page_alloc: fix building error on -Werror=array-compare
    08ad7a770efa etherdevice: Adjust ether_addr* prototypes to silence -Wstringop-overead
    1052f9bce629 Linux 5.10.112
    5c62d3bf1410 ax25: Fix UAF bugs in ax25 timers
    f934fa478dd1 ax25: Fix NULL pointer dereferences in ax25 timers
    145ea8d213e8 ax25: fix NPD bug in ax25_disconnect
    a4942c6fea87 ax25: fix UAF bug in ax25_send_control()
    b20a5ab0f5fb ax25: Fix refcount leaks caused by ax25_cb_del()
    57cc15f5fd55 ax25: fix UAF bugs of net_device caused by rebinding operation
    5ddae8d06441 ax25: fix reference count leaks of ax25_dev
    5ea00fc60676 ax25: add refcount in ax25_dev to avoid UAF bugs
    361288633bfa scsi: iscsi: Fix unbound endpoint error handling
    129db30599bc scsi: iscsi: Fix endpoint reuse regression
    26f827e095ab dma-direct: avoid redundant memory sync for swiotlb
    9a5a4d23e24d timers: Fix warning condition in __run_timers()
    84837f43e56f i2c: pasemi: Wait for write xfers to finish
    89496d80bf84 smp: Fix offline cpu check in flush_smp_call_function_queue()
    cd02b2687d66 dm integrity: fix memory corruption when tag_size is less than digest size
    0a312ec66a03 ARM: davinci: da850-evm: Avoid NULL pointer dereference
    0806f1930562 tick/nohz: Use WARN_ON_ONCE() to prevent console saturation
    0275c75955d1 genirq/affinity: Consider that CPUs on nodes can be unbalanced
    1fcfe37d170a drm/amdgpu: Enable gfxoff quirk on MacBook Pro
    68ae52efa132 drm/amd/display: don't ignore alpha property on pre-multiplied mode
    a263712ba8c9 ipv6: fix panic when forwarding a pkt with no in6 dev
    659214603bf2 nl80211: correctly check NL80211_ATTR_REG_ALPHA2 size
    912797e54c99 ALSA: pcm: Test for "silence" field in struct "pcm_format_data"
    48d070ca5e7e ALSA: hda/realtek: add quirk for Lenovo Thinkpad X12 speakers
    163e16247130 ALSA: hda/realtek: Add quirk for Clevo PD50PNT
    5e4dd1799883 btrfs: mark resumed async balance as writing
    1d2eda18f6ff btrfs: fix root ref counts in error handling in btrfs_get_root_ref
    9b7ec35253c9 ath9k: Fix usage of driver-private space in tx_info
    0f65cedae500 ath9k: Properly clear TX status area before reporting to mac80211
    cc21ae932656 gcc-plugins: latent_entropy: use /dev/urandom
    c089ffc846c8 memory: renesas-rpc-if: fix platform-device leak in error path
    342454231ee5 KVM: x86/mmu: Resolve nx_huge_pages when kvm.ko is loaded
    06c348fde545 mm: kmemleak: take a full lowmem check in kmemleak_*_phys()
    20ed94f8181a mm: fix unexpected zeroed page mapping with zram swap
    192e507ef894 mm, page_alloc: fix build_zonerefs_node()
    000b3921b4d5 perf/imx_ddr: Fix undefined behavior due to shift overflowing the constant
    ca24c5e8f0ac drivers: net: slip: fix NPD bug in sl_tx_timeout()
    e8cf1e4d953d scsi: megaraid_sas: Target with invalid LUN ID is deleted during scan
    5b7ce74b6bc8 scsi: mvsas: Add PCI ID of RocketRaid 2640
    4b44cd584057 drm/amd/display: Fix allocate_mst_payload assert on resume
    34ea097fb63d drm/amd/display: Revert FEC check in validation
    fa5ee7c4232c myri10ge: fix an incorrect free for skb in myri10ge_sw_tso
    d90df6da50c5 net: usb: aqc111: Fix out-of-bounds accesses in RX fixup
    9c12fcf1d864 net: axienet: setup mdio unconditionally
    b643807a735e tlb: hugetlb: Add more sizes to tlb_remove_huge_tlb_entry
    98973d2bdd4a arm64: alternatives: mark patch_alternative() as `noinstr`
    2462faffbfa5 regulator: wm8994: Add an off-on delay for WM8994 variant
    aa8cdedaf760 gpu: ipu-v3: Fix dev_dbg frequency output
    150fe861c57c ata: libata-core: Disable READ LOG DMA EXT for Samsung 840 EVOs
    1ff5359afa5e net: micrel: fix KS8851_MLL Kconfig
    d3478709edf2 scsi: ibmvscsis: Increase INITIAL_SRP_LIMIT to 1024
    b9a110fa755b scsi: lpfc: Fix queue failures when recovering from PCI parity error
    aec36b98a1bb scsi: target: tcmu: Fix possible page UAF
    43666798059c Drivers: hv: vmbus: Prevent load re-ordering when reading ring buffer
    1d7a5aae884c drm/amdkfd: Check for potential null return of kmalloc_array()
    e5afacc826a8 drm/amdgpu/vcn: improve vcn dpg stop procedure
    d2e0931e6d84 drm/amdkfd: Fix Incorrect VMIDs passed to HWS
    7fc0610ad818 drm/amd/display: Update VTEM Infopacket definition
    6906e05cf3ad drm/amd/display: FEC check in timing validation
    756c61c1680f drm/amd/display: fix audio format not updated after edid updated
    76e086ce7b2d btrfs: do not warn for free space inode in cow_file_range
    217190dc66ef btrfs: fix fallocate to use file_modified to update permissions consistently
    9b5d1b3413d7 drm/amd: Add USBC connector ID
    6f9c06501d28 net: bcmgenet: Revert "Use stronger register read/writes to assure ordering"
    504c15f07f54 dm mpath: only use ktime_get_ns() in historical selector
    4e166a41180b cifs: potential buffer overflow in handling symlinks
    67677050cecb nfc: nci: add flush_workqueue to prevent uaf
    bfba9722cf2e perf tools: Fix misleading add event PMU debug message
    280f721edc54 testing/selftests/mqueue: Fix mq_perf_tests to free the allocated cpu set
    eb8873b324d9 sctp: Initialize daddr on peeled off socket
    45226fac4d31 scsi: iscsi: Fix conn cleanup and stop race during iscsid restart
    73805795c99f scsi: iscsi: Fix offload conn cleanup when iscsid restarts
    699bd835c36e scsi: iscsi: Move iscsi_ep_disconnect()
    46f37a34a53d scsi: iscsi: Fix in-kernel conn failure handling
    812573896711 scsi: iscsi: Rel ref after iscsi_lookup_endpoint()
    22608545b834 scsi: iscsi: Use system_unbound_wq for destroy_work
    4029a1e992fc scsi: iscsi: Force immediate failure during shutdown
    17d14456f626 scsi: iscsi: Stop queueing during ep_disconnect
    da9cf24aa739 scsi: pm80xx: Enable upper inbound, outbound queues
    e08d26971237 scsi: pm80xx: Mask and unmask upper interrupt vectors 32-63
    35b91e49bc80 net/smc: Fix NULL pointer dereference in smc_pnet_find_ib()
    98a7f6c4ada4 drm/msm/dsi: Use connector directly in msm_dsi_manager_connector_init()
    5f78ad93837c drm/msm: Fix range size vs end confusion
    5513f9a0b068 cfg80211: hold bss_lock while updating nontrans_list
    a44938950e5e net/sched: taprio: Check if socket flags are valid
    08d5e3e95453 net: ethernet: stmmac: fix altr_tse_pcs function when using a fixed-link
    2ad9d890d850 net: dsa: felix: suppress -EPROBE_DEFER errors
    f2cc341fcc42 net/sched: fix initialization order when updating chain 0 head
    7a7cf8414841 mlxsw: i2c: Fix initialization error flow
    43e58e119a2b net: mdio: Alphabetically sort header inclusion
    9709c8b5cdc8 gpiolib: acpi: use correct format characters
    d67c900f1947 veth: Ensure eth header is in skb's linear part
    845f44ce3d9f net/sched: flower: fix parsing of ethertype following VLAN header
    85ee17ca21cf SUNRPC: Fix the svc_deferred_event trace class
    af12dd71235c media: rockchip/rga: do proper error checking in probe
    563712971202 firmware: arm_scmi: Fix sorting of retrieved clock rates
    16c628b0c6fa memory: atmel-ebi: Fix missing of_node_put in atmel_ebi_probe
    cb66641f8106 drm/msm: Add missing put_task_struct() in debugfs path
    921fdc45a084 btrfs: remove unused variable in btrfs_{start,write}_dirty_block_groups()
    5d131318bb87 ACPI: processor idle: Check for architectural support for LPI
    503934df3108 cpuidle: PSCI: Move the `has_lpi` check to the beginning of the function
    cfa98ffc42f1 hamradio: remove needs_free_netdev to avoid UAF
    80a4df14643f hamradio: defer 6pack kfree after unregister_netdev
    f0c31f192f38 drm/amdkfd: Use drm_priv to pass VM from KFD to amdgpu
    6c8e5cb264df Linux 5.10.111
    d36febbcd537 powerpc: Fix virt_addr_valid() for 64-bit Book3E & 32-bit
    5c672073bcca mm/sparsemem: fix 'mem_section' will never be NULL gcc 12 warning
    5973f7507a73 irqchip/gic, gic-v3: Prevent GSI to SGI translations
    000e09462f85 Drivers: hv: vmbus: Replace smp_store_mb() with virt_store_mb()
    e1f540b752cb arm64: module: remove (NOLOAD) from linker script
    919823bd6738 selftests: cgroup: Test open-time cgroup namespace usage for migration checks
    637eca44b8f7 selftests: cgroup: Test open-time credential usage for migration checks
    9dd39d2c6572 selftests: cgroup: Make cg_create() use 0755 for permission instead of 0644
    e74da71e6614 selftests/cgroup: Fix build on older distros
    4665722d36ad cgroup: Use open-time credentials for process migraton perm checks
    f089471d1b75 mm: don't skip swap entry even if zap_details specified
    58823a9b097c ubsan: remove CONFIG_UBSAN_OBJECT_SIZE
    03b39bbbec8b dmaengine: Revert "dmaengine: shdma: Fix runtime PM imbalance on error"
    40e00885a61f tools build: Use $(shell ) instead of `` to get embedded libperl's ccopts
    75c8558d410f tools build: Filter out options and warnings not supported by clang
    6374faf49e89 perf python: Fix probing for some clang command line options
    79abc219bafd perf build: Don't use -ffat-lto-objects in the python feature test when building with clang-13
    82e43950143c drm/amdkfd: Create file descriptor after client is added to smi_clients list
    326b408e7ec7 drm/nouveau/pmu: Add missing callbacks for Tegra devices
    786ae8de3a5e drm/amdgpu/smu10: fix SoC/fclk units in auto mode
    ff24114bb08d irqchip/gic-v3: Fix GICR_CTLR.RWP polling
    451214b266e9 perf: qcom_l2_pmu: fix an incorrect NULL check on list iterator
    fc629224aa62 ata: sata_dwc_460ex: Fix crash due to OOB write
    7e88a50704b0 gpio: Restrict usage of GPIO chip irq members before initialization
    5f54364ff6cf RDMA/hfi1: Fix use-after-free bug for mm struct
    8bb41682911f arm64: patch_text: Fixup last cpu should be master
    a044bca8ef31 btrfs: prevent subvol with swapfile from being deleted
    82ae73ac963c btrfs: fix qgroup reserve overflow the qgroup limit
    fc4bdaed4d4e x86/speculation: Restore speculation related MSRs during S3 resume
    8c9e26c890ba x86/pm: Save the MSR validity status at context setup
    2827328e646d io_uring: fix race between timeout flush and removal
    f7e183b0a713 mm/mempolicy: fix mpol_new leak in shared_policy_replace
    7d659cb1763f mmmremap.c: avoid pointless invalidate_range_start/end on mremap(old_size=0)
    6adc01a7aa37 lz4: fix LZ4_decompress_safe_partial read out of bound
    8b6f04b4c9d9 mmc: renesas_sdhi: don't overwrite TAP settings when HS400 tuning is complete
    029b4170737f mmc: mmci: stm32: correctly check all elements of sg list
    41a519c05bee Revert "mmc: sdhci-xenon: fix annoying 1.8V regulator warning"
    9de98470db6e arm64: Add part number for Arm Cortex-A78AE
    4604b5738d5b perf session: Remap buf if there is no space for event
    362ced37690d perf tools: Fix perf's libperf_print callback
    65210fac639e perf: arm-spe: Fix perf report --mem-mode
    bd905fed87ce iommu/omap: Fix regression in probe for NULL pointer dereference
    b3c00be2ff8b SUNRPC: svc_tcp_sendmsg() should handle errors from xdr_alloc_bvec()
    9a45e08636bb SUNRPC: Handle low memory situations in call_status()
    132cbe2f182a SUNRPC: Handle ENOMEM in call_transmit_status()
    aed30a205406 io_uring: don't touch scm_fp_list after queueing skb
    594205b49367 drbd: Fix five use after free bugs in get_initial_state
    970a6bb72912 bpf: Support dual-stack sockets in bpf_tcp_check_syncookie
    6c17f4ef3c4f spi: bcm-qspi: fix MSPI only access with bcm_qspi_exec_mem_op()
    8928239e5e2e qede: confirm skb is allocated before using
    b7893388bb88 net: phy: mscc-miim: reject clause 45 register accesses
    08ff0e74fab5 rxrpc: fix a race in rxrpc_exit_net()
    5ae05b5eb587 net: openvswitch: fix leak of nested actions
    42ab401d22de net: openvswitch: don't send internal clone attribute to the userspace.
    e54ea8fc51ca ice: synchronize_rcu() when terminating rings
    e3dd1202ab2e ipv6: Fix stats accounting in ip6_pkt_drop
    ffce126c952e ice: Do not skip not enabled queues in ice_vc_dis_qs_msg
    b003fc4913ea ice: Set txq_teid to ICE_INVAL_TEID on ring creation
    ebd1e3458dbf dpaa2-ptp: Fix refcount leak in dpaa2_ptp_probe
    43c2d7890eca IB/rdmavt: add lock to call to rvt_error_qp to prevent a race condition
    3a57babfb6e9 RDMA/mlx5: Don't remove cache MRs when a delay is needed
    d8992b393f97 sfc: Do not free an empty page_ring
    0ac74169ebc3 bnxt_en: reserve space inside receive page for skb_shared_info
    f8b0ef0a5889 drm/imx: Fix memory leak in imx_pd_connector_get_modes
    25bc9fd4c8d1 drm/imx: imx-ldb: Check for null pointer after calling kmemdup
    02ab4abe5bbf net: stmmac: Fix unset max_speed difference between DT and non-DT platforms
    63ea57478aaa net: ipv4: fix route with nexthop object delete warning
    4be6ed03107b ice: Clear default forwarding VSI during VSI release
    589154d0f189 net/tls: fix slab-out-of-bounds bug in decrypt_internal
    c5f77b595379 scsi: zorro7xx: Fix a resource leak in zorro7xx_remove_one()
    45b9932b4daa NFSv4: fix open failure with O_ACCMODE flag
    c688705a3978 Revert "NFSv4: Handle the special Linux file open access mode"
    cf580d2e3884 Drivers: hv: vmbus: Fix potential crash on module unload
    0c122eb3a109 drm/amdgpu: fix off by one in amdgpu_gfx_kiq_acquire()
    84e5dfc05f37 Revert "hv: utils: add PTP_1588_CLOCK to Kconfig to fix build"
    3c3fbfa6dddb mm: fix race between MADV_FREE reclaim and blkdev direct IO read
    1753a49e266d parisc: Fix patch code locking and flushing
    f7c35220305f parisc: Fix CPU affinity for Lasi, WAX and Dino chips
    c74e2f6ecc51 NFS: Avoid writeback threads getting stuck in mempool_alloc()
    34681aeddcfc NFS: nfsiod should not block forever in mempool_alloc()
    7a506fabcfe1 SUNRPC: Fix socket waits for write buffer space
    b9c5ac0a15f2 jfs: prevent NULL deref in diFree
    c69b442125bf virtio_console: eliminate anonymous module_init & module_exit
    3309b3221711 serial: samsung_tty: do not unlock port->lock for uart_write_wakeup()
    9cb90f9ad597 x86/Kconfig: Do not allow CONFIG_X86_X32_ABI=y with llvm-objcopy
    b3882e78aa0a NFS: swap-out must always use STABLE writes.
    d4170a28217a NFS: swap IO handling is slightly different for O_DIRECT IO
    4b6f122bdfdc SUNRPC: remove scheduling boost for "SWAPPER" tasks.
    f4fc47e71e32 SUNRPC/xprt: async tasks mustn't block waiting for memory
    f9244d31e05a SUNRPC/call_alloc: async tasks mustn't block waiting for memory
    e2b2542f7452 clk: Enforce that disjoints limits are invalid
    1e9b5538cf16 clk: ti: Preserve node in ti_dt_clocks_register()
    a2a0e04f6478 xen: delay xen_hvm_init_time_ops() if kdump is boot on vcpu>=32
    4a2544ce244b NFSv4: Protect the state recovery thread against direct reclaim
    9b9feec97c1f NFSv4.2: fix reference count leaks in _nfs42_proc_copy_notify()
    2e16895d06e6 w1: w1_therm: fixes w1_seq for ds28ea00 sensors
    93498c6e775a staging: wfx: fix an error handling in wfx_init_common()
    8f1d24f85ffd phy: amlogic: meson8b-usb2: Use dev_err_probe()
    aa0b72967853 staging: vchiq_core: handle NULL result of find_service_by_handle
    be4ecca95819 clk: si5341: fix reported clk_rate when output divider is 2
    c9cf6baabf78 minix: fix bug when opening a file with O_DIRECT
    8d9efd4434e3 init/main.c: return 1 from handled __setup() functions
    f44297861296 ceph: fix memory leak in ceph_readdir when note_last_dentry returns error
    d745512d54fd netlabel: fix out-of-bounds memory accesses
    2cc803804ec9 Bluetooth: Fix use after free in hci_send_acl
    789621df1963 MIPS: ingenic: correct unit node address
    61e25021e67a xtensa: fix DTC warning unit_address_format
    f6b9550f5367 usb: dwc3: omap: fix "unbalanced disables for smps10_out1" on omap5evm
    a4dd3e9e5ae8 net: sfp: add 2500base-X quirk for Lantech SFP module
    278b652f0ad9 net: limit altnames to 64k total
    423e7107f61f net: account alternate interface name memory
    74c4d5025551 can: isotp: set default value for N_As to 50 micro seconds
    1d7effe5fff9 scsi: libfc: Fix use after free in fc_exch_abts_resp()
    02222bf4f0a2 powerpc/secvar: fix refcount leak in format_show()
    fd416c3f5a4c MIPS: fix fortify panic when copying asm exception handlers
    7c657c0694ff PCI: endpoint: Fix misused goto label
    79cfc0052f39 bnxt_en: Eliminate unintended link toggle during FW reset
    9567d54e70ff Bluetooth: use memset avoid memory leaks
    f9b183f1332a Bluetooth: Fix not checking for valid hdev on bt_dev_{info,warn,err,dbg}
    647b35aaf454 tuntap: add sanity checks about msg_controllen in sendmsg
    797b4ea9515e macvtap: advertise link netns via netlink
    142ae7d4f215 mips: ralink: fix a refcount leak in ill_acc_of_setup()
    f2565cb40e9b net/smc: correct settings of RMB window update limit
    224903cc60d0 scsi: hisi_sas: Free irq vectors in order for v3 HW
    f49ffaa85d2c scsi: aha152x: Fix aha152x_setup() __setup handler return value
    91ee8a14efb6 mt76: mt7615: Fix assigning negative values to unsigned variable
    d83574666bac scsi: pm8001: Fix memory leak in pm8001_chip_fw_flash_update_req()
    a0bb65eadbf9 scsi: pm8001: Fix tag leaks on error
    2051044d7901 scsi: pm8001: Fix task leak in pm8001_send_abort_all()
    3bd9a28798ca scsi: pm8001: Fix pm8001_mpi_task_abort_resp()
    ef969095c442 scsi: pm8001: Fix pm80xx_pci_mem_copy() interface
    fe4b6d5a0dd7 drm/amdkfd: make CRAT table missing message informational only
    2f2f017ea873 dm: requeue IO if mapping table not yet available
    71c8df33fd77 dm ioctl: prevent potential spectre v1 gadget
    f655b724b440 ipv4: Invalidate neighbour for broadcast address upon address addition
    bae03957e8ca iwlwifi: mvm: Correctly set fragmented EBS
    9538563d31a2 power: supply: axp288-charger: Set Vhold to 4.4V
    c66cc0404367 PCI: pciehp: Add Qualcomm quirk for Command Completed erratum
    b1b27b0e8d48 tcp: Don't acquire inet_listen_hashbucket::lock with disabled BH.
    b02a1a65023f PCI: endpoint: Fix alignment fault error in copy tests
    4820847e8bc2 usb: ehci: add pci device support for Aspeed platforms
    0b9cf0b59925 iommu/arm-smmu-v3: fix event handling soft lockup
    e07e420a0056 PCI: aardvark: Fix support for MSI interrupts
    6694b8643bde drm/amdgpu: Fix recursive locking warning
    ea21eaea7f5f powerpc: Set crashkernel offset to mid of RMA region
    fb5ac62fbe16 ipv6: make mc_forwarding atomic
    5baf92a2c46c libbpf: Fix build issue with llvm-readelf
    26a1e4739e44 cfg80211: don't add non transmitted BSS to 6GHz scanned channels
    9a56e2b271bc mt76: dma: initialize skip_unmap in mt76_dma_rx_fill
    b42b6d0ec358 power: supply: axp20x_battery: properly report current when discharging
    de9505936c47 scsi: bfa: Replace snprintf() with sysfs_emit()
    ed7db959203e scsi: mvsas: Replace snprintf() with sysfs_emit()
    995f51788868 bpf: Make dst_port field in struct bpf_sock 16-bit wide
    339bd0b55ecd ath11k: mhi: use mhi_sync_power_up()
    c6a815f5abdf ath11k: fix kernel panic during unload/load ath11k modules
    e4d2d7201356 powerpc: dts: t104xrdb: fix phy type for FMAN 4/5
    02e2ee861984 ptp: replace snprintf with sysfs_emit
    9ea17b9f1dd0 usb: gadget: tegra-xudc: Fix control endpoint's definitions
    07971b818e18 usb: gadget: tegra-xudc: Do not program SPARAM
    927beb05aaa4 drm/amd/amdgpu/amdgpu_cs: fix refcount leak of a dma_fence obj
    85313d9bc7bd drm/amd/display: Add signal type check when verify stream backends same
    9d7d83d0399e ath5k: fix OOB in ath5k_eeprom_read_pcal_info_5111
    850c4351e895 drm: Add orientation quirk for GPD Win Max
    a24479c5e9f4 KVM: x86/emulator: Emulate RDPID only if it is enabled in guest
    66b0fa6b2218 KVM: x86/svm: Clear reserved bits written to PerfEvtSeln MSRs
    2e52a294700b rtc: wm8350: Handle error for wm8350_register_irq
    0777fe98a44c gfs2: gfs2_setattr_size error path fix
    f349d7f9ee6d gfs2: Fix gfs2_release for non-writers regression
    3f53715fd55c gfs2: Check for active reservation in gfs2_release
    2dc49f58a29c ubifs: Rectify space amount budget for mkdir/tmpfile operations

(From meta-yocto rev: f7f71ddda5abac1130406c800f06182feafca052)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 184595145167adebf167368639d0258c13c064cc)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-10 14:57:50 +01:00
Alex Kiernan
ee75b4c5c9 openssh: Add openssh-sftp-server to openssh RDEPENDS
OpenSSH 9.0 uses sftp by default as the transport for scp, add in
sftp-server so that this works as expected for users, rather than being
left with a confusing "scp: Connection closed" message.

(From OE-Core rev: c33eb7fb1d1e91a005b22b65d221d4b899ec69dc)

Signed-off-by: Alex Kiernan <alexk@zuma.ai>
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit be61b9dac78f0d85c870a0d8304fb4b536ec4bc8)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-08 16:23:37 +01:00
Mingli Yu
948f4dd1d3 strace: set COMPATIBLE_HOST for riscv32
Disable the build on riscv32 as it's not supported on riscv32 [1].

[1] 69ff62ea50

(From OE-Core rev: 4d6b260bd356dab6d74cf771e52649e0a41cb7ce)

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 5276a9a845d0277936e9321ada296818f7bfd84b)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-08 16:23:37 +01:00
Martin Jansa
35f82bb72e kernel.bbclass: pass LD also in savedefconfig
* similar to:
  https://git.openembedded.org/openembedded-core/commit/?id=66c1f4b0abd3483759f9e4141a80f982eaf8ccfd
  https://git.openembedded.org/openembedded-core/commit/?id=36fe2efc91fec5a52374a2dc4814a69076a2d28e
  but for savedefconfig task
* otherwise with ld-is-gold it will fail with:
  gold linker is not supported as it is not capable of linking the kernel proper.

(From OE-Core rev: 9d2f5c11c71a39db8d488644e9d3c338811e86d9)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f0c9e1bf35289afa63f040bbc13ca1755e4db0f9)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-08 16:23:37 +01:00
Dmitry Baryshkov
8fd330d520 linux-firwmare: restore WHENCE_CHKSUM variable
Restore WHENCE_CHKSUM variable which is used to hold the WHENCE file
checksum. It is necessary to allow easily overriding it from local.conf
if the devupstream version is selected:

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

Without the WHENCE_CHECKSUM one would need to manually patch the
LIC_FILES_CHKSUM variable to change the checksum of WHENC (e.g. using
the anonymous python function or remove expression).

(From OE-Core rev: 10bc3153effd8c74c541daa00c9c21d0d67165d6)

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 554be2af1e0a03a2d23032d48afbbe0913a45409)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-08 16:23:37 +01:00
Khem Raj
33a1bfc66b libgcc: Fix standalone target builds with usrmerge distro feature
Ignore the rmdir cmd if using usrmerge distro feature since the
intention is to delete /lib or /lib64 but not libdir under /usr and
base_libdir = libdir when usrmerge is enabled in distro

(From OE-Core rev: 38fb876253e28577b8fcf4dd47fbb1d0673c6220)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 3b7f6b0e0f1f16f89cd924aac001b4f661c145ca)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-08 16:23:37 +01:00
Shruthi Ravichandran
f6bc8dfadb package_manager/ipk: do not pipe stderr to stdout
Some opkg commands print an error during cleanup when the tmp_dir
does not exist and an attempt is made to delete it. The error messages
are harmless and the opkg commands eventually succeed.
When these commands are run and stderr is piped to stdout, the error
messages may clobber the stdout and cause unexpected results while
parsing the output of the command. Therefore, when parsing the output
of a command, do not pipe stderr to stdout. Instead, capture stderr
and stdout separately, and upon success, send stderr to bb.note().

(From OE-Core rev: fd5689696731fefa0d035fde86f27a0135dc31f1)

Signed-off-by: Shruthi Ravichandran <shruthi.ravichandran@ni.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f2167ae80258253eb47a5b148546b265320284cc)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-08 16:23:37 +01:00
Sundeep KOKKONDA
03e778a636 binutils: stable 2.38 branch updates
Below commits on Binutils-2.38 development branch are updated.
5c0b4ee4060 i386: Don't allow GOTOFF relocation against IFUNC symbol for PIC
19892fedb7b x86: Properly check invalid relocation against protected symbol
b8a2baa80b1 libctf: tests: prune warnings from compiler output
7f9a495a167 libctf: fix linking together multiple objects derived from the same source
97dd8079feb PowerPC64: fix assertion in ppc_build_one_stub with -Os code

(From OE-Core rev: 4eb53b33bc46a8131653354bd077229ee7ee42ed)

Signed-off-by: Sundeep KOKKONDA <sundeep.kokkonda@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-08 16:23:37 +01:00
Shruthi Ravichandran
602922d492 initscripts: run umountnfs as a KILL script
`rc` runs all the KILL scripts in a runlevel before the START scripts.
The umountnfs script is currently configured as a START script, and
runs after the networking KILL script. During shutdown, this causes a
~3 minute timeout after networking is shutdown when the system tries
to connect to and unmount any mounted network shares.
Fix this by changing the script configuration to "stop" so that it can
run before networking is stopped and unmount any network shares
safely.

(From OE-Core rev: 3564ce3d9b2030dd420362c66147bd327090915c)

Signed-off-by: Shruthi Ravichandran <shruthi.ravichandran@ni.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit c419bd4537756e9f6c2fe6da3a9b798526e27eca)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-04 16:29:15 +01:00
Alex Kiernan
948dc51201 bind: Remove legacy python3 PACKAGECONFIG code
Python support was dropped upstream and removed in 8a9a5885995c ("bind:
update 9.16.26 -> 9.18.1"), clean up the remaining pieces of python3 in
the recipe.

(From OE-Core rev: acda23e0d985049ae83e9516315c33afae763ad9)

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit ee4e4eb16a3729dcafad075c42aec1695b8ea15f)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-04 16:29:15 +01:00
gr embeter
bef92ca0ce efivar: fix import functionality
"efivar --import" is broken in v38:

 # efivar -i /8be4df61-93ca-11d2-aa0d-00e098032b8c-Timeout
free(): invalid pointer
Aborted

Backport upstream patch to fix it.

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

(From OE-Core rev: 7d63a9d4f482276a4431c47cc4407ac2ad855b42)

Signed-off-by: Grygorii Tertychnyi <grygorii.tertychnyi@leica-geosystems.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 27f263a9c69b711f39287c0dc8970ad41758fbb9)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-04 16:29:15 +01:00
Richard Purdie
a78211a182 base/reproducible: Change Source Date Epoch generation methods
In bc, we found that there are files newer than Changelog (e.g. scan.l)
which means after install runs, the timestamp is clamped to SDE which means
"bitbake bc -C compile" would then try and regenerate generated files and
complain flex was missing.

Rather than assuming Changelog/NEWS are magic for dates, drop that scan
method and scan all unpacked files. This shouldn't be that slow as they'd
be in the disk cache already after an unpack.

For bc, this changes SDE by about two minutes and avoids the problems
rebuilding.

Add a version comment to the task definition as changes in python library
code won't trigger a rebuild and we need one here.

(From OE-Core rev: 400ed3bc77232b9d67594fa012b1278a6c8be3c6)

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 32dda0ad91a9e7946351c897578b4c97ae142341)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-04 16:29:15 +01:00
Ross Burton
ed19336407 perf: fix reproduciblity in older releases of Linux
If you build perf from Linux 5.4 it still contains buildpaths (pointing
to the sysroot's Python) as the existing fixes don't apply to the lines
in that old release.

Add further expressions to remove the final buildpaths.

(From OE-Core rev: a4326da742c41f69c2d1d49cc8fdc2fda74aaa0d)

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 6783c1e295e5afafd73a02fd986ca8956a89dda7)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-04 16:29:15 +01:00
Ming Liu
3078173219 udev-extraconf:mount.sh: fix a umount issue
Only touching /tmp/.automount-$name is not good enough, it must contain
the mount name, otherwise umount could not get the path from it.

(From OE-Core rev: aa6621dc1bc37d3e9a2aae3819619bf4e6c33bc4)

Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit ccea69032329f3ba43c727d9eb71b1d063b89824)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-04 16:29:15 +01:00
leimaohui
f16409bdfb systemd: Added base_bindir into pkg_postinst:udev-hwdb.
Otherwise in sdk environment, the base_bindir is empty and the path of UDEVADM="${base_bindir}/udevadm" is not correct.

(From OE-Core rev: abff988d33dd6ac03eedb34c1f48c83b4502ee1b)

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>
(cherry picked from commit 235b6fccd2a9ce4eb9bfb3be8ac271cff0ea5fea)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-04 16:29:15 +01:00
Mihai Lindner
f327cf1077 wic/plugins/rootfs: Fix NameError for 'orig_path'
Fix "NameError: name 'orig_path' is not defined".
It's a typo from when this error was handled outside this function.

(From OE-Core rev: 15015dda2cfccb9d2894f8d9d8f04043604b7a5e)

Signed-off-by: Mihai Lindner <mihai.lindner@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 2124ec0d9f9de2da476f0024a0ccf70da987420f)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-04 16:29:15 +01:00
Ross Burton
1e3f924eb7 oeqa/runtime: add test that the kernel has CONFIG_PREEMPT_RT enabled
This is the absolute bare minimum for testing the RT patches, but it
does mean we if we build and boot a RT kernel we can verify that it is
what we expect.

(From OE-Core rev: de7bd5b616b9af3a88d718c79e85a4b53efb3280)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 0301d5845115d09299f87683b3efa46f3b4c7be9)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-04 16:29:15 +01:00
Alexander Kanavin
51acc9c217 epiphany: upgrade 42.2 -> 42.3
Changes:

 * Fix crash when deleting all passwords (#1773)
 * Fix memory corruption caused by Sync failure (!1115)

(From OE-Core rev: 492e5659220c1d1cd90810749ca9bac2356cb916)

Signed-off-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 34ebcfe23c065718be4e392673f6e1b489d2eb98)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-04 16:29:15 +01:00
Alexander Kanavin
eb2a6ff19e xwayland: upgrade 22.1.2 -> 22.1.3
Changes:

       os: print <signal handler called> if unw_is_signal_frame()
       os: print registers in the libunwind version of xorg_backtrace()
       xwayland/present: Do not send two idle notify events for flip pixmaps
       xwayland: Fix check logic in sprite_check_lost_focus()
       xkb: switch to array index loops to moving pointers
       xkb: swap XkbSetDeviceInfo and XkbSetDeviceInfoCheck
       xkb: add request length validation for XkbSetGeometry
       xwayland: Change randr_output status when call xwl_output_remove()

(From OE-Core rev: df37259b600a3458957ddc7c90418d85021a107b)

Signed-off-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 229e3ad289a5e2c890b25497857140952acc3d67)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-04 16:29:15 +01:00
Richard Purdie
820d82eccb xwayland: upgrade 22.1.1 -> 22.1.2
Changes:

Olivier Fourdan (3):
      randr: Add "RANDR Emulation" property
      xwayland/output: Set the "RANDR Emulation" property
      xwayland: Fix invalid pointer access in drm_lease_device_handle_released.

(From OE-Core rev: d626b8cc6483bd92229d8a0807eebef0e361fd26)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 0fd8934f51080313f54326b634593d11385b3338)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-04 16:29:15 +01:00
Alexander Kanavin
8b3cb4287c webkitgtk: upgrade 2.36.3 -> 2.36.4
Changes:

Fix the new ATSPI accessibility implementation to add the missing Collection interface for the loaded document.
Fix the MediaSession implementation to make the MPRIS object names more sandbox friendly, which plays better with Flatpak and WebKit’s own Bubblwrap-based sandboxing.
Fix leaked Web Processes in some particular situations.
Fix the build with media capture support enabled.
Fix cross-compilation when targeting 64-bit ARM.
Fix several crashes and rendering issues.

(From OE-Core rev: fde20b5b6bb030b6c5538938ac9a6e178576d9dd)

Signed-off-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 2396f8de9b6b9690dd70961084514da7d237f2ad)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-04 16:29:15 +01:00
Alexander Kanavin
12e12eeee0 vala: upgrade 0.56.1 -> 0.56.2
Changes in 0.56.2 LTS release:

  - codegen: Correctly set array-length for NoAccessorMethods properties [#1316]
  - codegen: Detect usage of static type-parameter in runtime context [#1326]
  - vala: Avoid critical in SourceFile.get_mapped_length() [#1330]
  - codegen: Make sure to initialize static collections
  - codegen: Split reserved identifiers for C and Vala
  - codegen: Check cname of fields and methods against reserved identfiers [#1329]
  - glib2.0: Add abs() to int8/int16/int32/ssize_t [#1328]
  - Add initial wayland-client binding
  - Add geocode-glib-2.0 binding
  - Add rest-1.0 bindings

(From OE-Core rev: b29546561f8e518cd59043a563f8783ada6f3053)

Signed-off-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 21913b732953a1b85ae89721f8337eb9f75d1798)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-04 16:29:15 +01:00
Alexander Kanavin
40d98b7810 vala: upgrade 0.56.0 -> 0.56.1
Changes in 0.56.1 LTS relase:

  - vala: Improve accessibility check inside member initializer [#1300]
  - vala: Don't allow nullable enum value as real GObject property [#1074]
  - valadoc: Include path to doclet in error message
  - manual: Update from wiki.gnome.org
  - gtk4: Fix GLib.Value parameter in ContentProvider.get_value()
  - gtk4: Split out gtk4-wayland and gtk4-x11 into separate bindings [#1308]
  - gstreamer: Update from 1.21+ git main
  - vapi: Update GIR-based bindings

(From OE-Core rev: b19e2022184c567b53858981c77ebf3b1d283a8b)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 0d78d6d6122b776f9abac27e3a71a3196999bebd)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-04 16:29:15 +01:00
Alexander Kanavin
b1648bd505 log4cplus: upgrade 2.0.7 -> 2.0.8
Changes:

Add CMake alias libraries
Add an option to disable tests to configure script
Fix C++11 compatibility: C++11 does not have basic_string_view.
Look for Android's log library
Fix handling of ,aux extension for FileAppender
filename should not be empty for TimeBasedRollingFileAppender

(From OE-Core rev: 1dae5b5482b0d8c1c7832fc69d9e2998e5311dca)

Signed-off-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 e09ffe4ec692329502165282ac80cf552113a4d5)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-04 16:29:15 +01:00
Alexander Kanavin
e702d809e5 libuv: upgrade 1.44.1 -> 1.44.2
Important bugs fixed

loop: better align order-of-events behavior between platforms #3598
zos: fix fs event not fired if the watched file is moved/removed/recreated #3540
win: Fix pipe resource leak if closed during connect (and other bugs) #3611
zos: don't error when killing a zombie process #3625

Regressions fixed

macos: avoid posix_spawnp() cwd bug #3597
kqueue: skip EVFILT_PROC events when invalidating events for an fd. #3629

(From OE-Core rev: c785f1d3a7f8ef2c7047fad7a2a483c5ebd658e0)

Signed-off-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 ccd589604c2d7648dcd3541c61a2b48e692ca258)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-04 16:29:15 +01:00
Alexander Kanavin
f1e0068931 linux-firmware: update 20220610 -> 20220708
License-Update: a few obsolete firmware were dropped
(particularly i2400m and tda7706), file list updates.

(From OE-Core rev: c74c2658e5451488fe3c38c7787bdfee075ab52c)

Signed-off-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 e89fb37e13fcb832ee7d35e7d92d45eaca20689e)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-04 16:29:15 +01:00
Alexander Kanavin
188a59b06a xserver-xorg: update 21.1.3 -> 21.1.4
Security update

CVE fixed in this release:

CVE-2022-2319/ZDI-CAN-16062: X.Org Server ProcXkbSetGeometry Out-Of-Bounds Access
CVE-2022-2320/ZDI-CAN-16070: X.Org Server ProcXkbSetDeviceInfo Out-Of-Bounds Access

Changes:

present: Check for NULL to prevent crash
rootless: Dead code removal (ROOTLESS_REDISPLAY_DELAY is already defined)
X11Application: Ensure TIS operations are done on the main thread
os/connection: Improve abstraction for launchd secure sockets
xquartz: Create a separate category for organizing user preferences
xquartz pbproxy: Adopt NSUserDefaults+XQuartzDefaults for preferences
xquartz: Fold spaces related preferences into NSUserDefaults+XQuartzDefaults
XQuartz: Ensure scroll events are delivered to a single window (not both X11 and AppKit)
meson: Bump requirement to meson-0.50.0
xquartz: Update Sparkle configuration to use SUPublicEDKey
xquartz: Update copyright for 2022
meson: Provide options to set CFBundleVersion and CFBundleVersionString in XQuartz
Revert "meson: Bump requirement to meson-0.50.0"
xquartz: Update autotools-based builds of XQuartz to account for recent changes
print_edid: Fix a format string error
xf86-input-inputtest: Fix build on systems without SOCK_NONBLOCK
tests: Fix build failure from missing micmap.c
meson: Support building Xnest and Xorg on darwin
XQuartz: Build the bundle trampoline when using meson
XQuartz: Add TCC reason keys to Info.plist
xquartz: Use correct defines when building to support Sparkle updates
xquartz: Fix a possible crash when editing the Application menu due to mutaing immutable arrays
XQuartz: Improve type safety for X11Controller's application menu editor
xquartz: Add missing files to distribution tarball
render: Fix build with gcc 12
xkb: switch to array index loops to moving pointers
xkb: swap XkbSetDeviceInfo and XkbSetDeviceInfoCheck
xkb: add request length validation for XkbSetGeometry
Revert "os: Try to discover the current seat with the XDG_SEAT var first"
dix: Correctly save replayed event into GrabInfoRec
dix: Don't send touch end to clients that do async grab without touches
xfree86: Fix event data alignment in inputtest driver
xkb: fix XkbSetMap when changing a keysym without changing a keytype

(From OE-Core rev: 75503a13cb2a2266f311477a605389bbac7676e2)

Signed-off-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 d683f2a1fbe65b52d82f55a2e38aa75fc105a338)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-04 16:29:15 +01:00
Alexander Kanavin
3862180369 font-util: update 1.3.2 -> 1.3.3
Changes:

      ucs2any: avoid segfaults if SLANT property is missing
      ucs2any: handle NULL returns from zquotedcpy()
      gitlab CI: add a basic build test
      Build xz tarballs instead of bzip2
      Fix spelling/wording issues

(From OE-Core rev: cf4e2a091ea18fff45a4444759fe3d70f751887f)

Signed-off-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 461b464eafa14719e1dbc087aad8cfbc8d1cf62e)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-04 16:29:15 +01:00
Alexander Kanavin
d74f1d1464 encodings: update 1.0.5 -> 1.0.6
CHanges:

      gitlab CI: add a basic build test
      Build xz tarballs instead of bzip2
      adjust descriptions for the Unicode mapping to match the Unicode.org data file.
      add mapping for 0x80-0x9f, as per Unicode.org data files.
      use descriptions from UnicodeData.txt except for two obsolete or incorrect maps
      correct a typo (in original), and use appropriate description
      use Armenian eternity symbol from Unicode 6.
      whitespace-only changes for consistency, using luit's annotate-enc script
      add descriptions from UnicodeData.txt, using annotate-enc
      add descriptions from UnicodeData.txt, using annotate-enc
      add descriptions from UnicodeData.txt, using annotate-enc
      add descriptions from UnicodeData.txt, with annotate-enc
      add descriptions from UnicodeData.txt, with annotate-enc
      whitespace-only, reformat with annotate-enc

Add ability to tweak compressor suffix in filenames, similar
to xorg apps and drivers.

(From OE-Core rev: 73ca8c3e8639929ed78a3c605056f7fd42e500cf)

Signed-off-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 b1fb0fbfbf0bcf50906a26421435d7165be64281)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-04 16:29:15 +01:00
Alexander Kanavin
f51f73db49 xf86-input-synaptics: update 1.9.1 -> 1.9.2
Changes:

Convert remaining source files from ISO-8859-1 to UTF-8
gitlab CI: add a basic build test
Fix spelling/wording issues
Build xz tarballs instead of bzip2
synclient: allow negative/large values for AreaLeftEdge etc.
eventcomm: fix compile with pre-time64 kernels
eventcomm: use 64-bit time safe accessors instead of timeval directly
Use fabs() instead of abs() on double values.
Update configure.ac bug URL for gitlab migration
Update README for gitlab migration

Drop 64bit_time_t_support.patch as issue fixed upstream:
073b1b40bd

(From OE-Core rev: d083da164ddd8ebe73db5b97e4e4b8b7078ba21a)

Signed-off-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 9d4d2c176cf33ced4d7d5c20178066abe1e9c4d3)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-04 16:29:15 +01:00
Alexander Kanavin
4c0dae9d22 xmodmap: update 1.0.10 -> 1.0.11
Changes:

      gitlab CI: add a basic build test
      Build xz tarballs instead of bzip2
      handle.c: avoid leaks when realloc() fails
      PrintModifierMapping: stop leaking the map returned by XGetKeyboardMapping
      Fix warning about number of mouse buttons

(From OE-Core rev: 571736f7f1065674b8a90285868934d0a4ff1e51)

Signed-off-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 162f117428be2da12f2599870e980cbbc12ac2c4)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-04 16:29:15 +01:00
Alexander Kanavin
407488a4c7 xev: update 1.2.4 -> 1.2.5
Changes:

      gitlab CI: add a basic build test
      Build xz tarballs instead of bzip2
      man page: remove out-of-date reference to X(7)
      xev: fix KeymapNotify event printing

(From OE-Core rev: 2f9ab1a77a170fe7d1d493470a448e42b1750c19)

Signed-off-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 83c9b5aead195d933a43a4782428fdfa3eb51967)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-04 16:29:15 +01:00
Richard Purdie
bd108838fa xorg-app: Tweak handling of compression changes in SRC_URI
Rather than duplicating SRC_URI, change the compression to a variable.

(From OE-Core rev: 5f3d70970746ee6d9ad68f16419a016331b45df4)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 21547dd5319f27a8f7f20a80e39478f816b4bbe0)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-04 16:29:15 +01:00
wangmy
398b1256fe xdpyinfo: upgrade 1.3.2 -> 1.3.3
Changes:

      xdpyinfo: Fix printing the X.Org release version for xserver >= 21
      Update README for gitlab migration
      Update configure.ac bug URL for gitlab migration
      Only check for XFree86 if vendor string doesn't match X.Org
      Add explicit casts to clear implicit conversion warnings
      Disable DMX support by default, leave --with-dmx to enable it
      gitlab CI: add a basic build test
      Build xz tarballs instead of bzip2
      Fix spelling/wording issues
      gitlab CI: stop requiring Signed-off-by in commits
      autogen.sh: use quoted string variables
      autogen: add default patch prefix
      autogen.sh: use exec instead of waiting for configure to finish
      fix -Wunused-[...] compiler warnings

temporarily override SRC_URI which is hard-coded in xorg-app-common.inc
since new versions of packages use a new compression format - .tar.xz

(From OE-Core rev: cde61983f3cdae55c78466d6e9975a19bff04ccf)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 712552b5cc427d7be1258c45886de9b57f7272c9)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-04 16:29:15 +01:00
wangmy
60c24eaf19 mkfontscale: upgrade 1.2.1 -> 1.2.2
CHanges:

Fix spelling/wording issues
gitlab CI: add a basic build test
Build xz tarballs instead of bzip2
Use case insensitive comparison for T1 font weight
Add "ExtraBold" as a valid T1 font weight.

temporarily override SRC_URI which is hard-coded in xorg-app-common.inc
since new versions of packages use a new compression format - .tar.xz

(From OE-Core rev: 01f6eff02b872c9179b654a87857ba573a194f8a)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 7ac5e224fe55db17651988435a569a8a25b6b09f)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-04 16:29:15 +01:00
Hitendra Prajapati
d9fc656678 libtirpc: CVE-2021-46828 DoS vulnerability with lots of connections
Source: http://git.linux-nfs.org/?p=steved/libtirpc.git;
MR: 120225
Type: Security Fix
Disposition: Backport from http://git.linux-nfs.org/?p=steved/libtirpc.git;a=commit;h=86529758570cef4c73fb9b9c4104fdc510f701ed
ChangeID: 29c32ee171a6a47e06c788e5c608fac9bb3a64b2
Description:
        CVE-2021-46828 libtirpc: DoS vulnerability with lots of connections.

(From OE-Core rev: 7eeaf4e400bf57fc9d0a376085d1788bc5c146b3)

Signed-off-by: Hitendra Prajapati <hprajapati@mvista.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-04 16:29:15 +01:00
Hitendra Prajapati
caae799d63 qemu: CVE-2022-35414 can perform an uninitialized read on the translate_fail path, leading to an io_readx or io_writex crash
Source: https://github.com/qemu/qemu
MR: 119830
Type: Security Fix
Disposition: Backport from 418ade7849
ChangeID: 41d6646e06319e629da574b9b2e8a3a197a73441
Description:
        CVE-2022-35414 qemu: can perform an uninitialized read on the translate_fail path, leading to an io_readx or io_writex crash.

(From OE-Core rev: 5f236e744b5b528bdf8d95c9580c273f63c04452)

Signed-off-by: Hitendra Prajapati <hprajapati@mvista.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-04 16:29:15 +01:00
Khem Raj
27fde9cc2a gcc-runtime: Pass -nostartfiles when building dummy libstdc++.so
This is a dummy shared object therefore reduce dependencies further by
not requiring the C startup files, we wont use this shared library for
anything useful anyway

(From OE-Core rev: 2bc86c029fb82ae572f6a89407ccfe332972568c)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Pavel Zhukov <pavel.zhukov@huawei.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-01 16:27:30 +01:00
Naveen
35b74ace9c gcc: Backport a fix for gcc bug 105039
Backport a fix from:
https://gcc.gnu.org/git/gitweb.cgi?p=gcc.git;h=9234cdca6ee88badfc00297e72f13dac4e540c79

which fixes rust recursion issues in the demangler.

(From OE-Core rev: 943760dfb8036bd2f5e075bf0696f820fd6dc79d)

Signed-off-by: Naveen <naveen.gowda@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-01 16:27:30 +01:00
Tom Hochstein
ba0c2df27e gobject-introspection-data: Disable cache for g-ir-scanner
An intermittent failure occurs in libical-native do_compile:

| Traceback (most recent call last):
|   File "/.../build/tmp/work/x86_64-linux/libical-native/3.0.14-r0/recipe-sysroot-native/usr/lib/python3.10/shutil.py", line 813, in move
|     os.rename(src, real_dst)
| OSError: [Errno 18] Invalid cross-device link: '/tmp/g-ir-scanner-cache-adxo_2bq' -> '/home/bamboo/.cache/g-ir-scanner/bab9a83d2cd93e62ed005a2c1d4f89ae75c67251'
|
| During handling of the above exception, another exception occurred:
|
| Traceback (most recent call last):
|   File "/.../tmp/work/x86_64-linux/libical-native/3.0.14-r0/recipe-sysroot-native/usr/lib/pkgconfig/../../../usr/bin/g-ir-scanner", line 99, in <module>
|     sys.exit(scanner_main(sys.argv))
|   File "/.../tmp/work/x86_64-linux/libical-native/3.0.14-r0/recipe-sysroot-native/usr/lib/gobject-introspection/giscanner/scannermain.py", line 590, in scanner_main
|     transformer = create_transformer(namespace, options)
|   File "/.../tmp/work/x86_64-linux/libical-native/3.0.14-r0/recipe-sysroot-native/usr/lib/gobject-introspection/giscanner/scannermain.py", line 409, in create_transformer
|     transformer.register_include(include_obj)
|   File "/.../tmp/work/x86_64-linux/libical-native/3.0.14-r0/recipe-sysroot-native/usr/lib/gobject-introspection/giscanner/transformer.py", line 140, in register_include
|     self._parse_include(filename)
|   File "/.../tmp/work/x86_64-linux/libical-native/3.0.14-r0/recipe-sysroot-native/usr/lib/gobject-introspection/giscanner/transformer.py", line 230, in _parse_include
|     self._parse_include(dep_filename)
|   File "/.../tmp/work/x86_64-linux/libical-native/3.0.14-r0/recipe-sysroot-native/usr/lib/gobject-introspection/giscanner/transformer.py", line 225, in _parse_include
|     self._cachestore.store(filename, parser)
|   File "/.../tmp/work/x86_64-linux/libical-native/3.0.14-r0/recipe-sysroot-native/usr/lib/gobject-introspection/giscanner/cachestore.py", line 153, in store
|     shutil.move(tmp_filename, store_filename)
|   File "/.../tmp/work/x86_64-linux/libical-native/3.0.14-r0/recipe-sysroot-native/usr/lib/python3.10/shutil.py", line 833, in move
|     copy_function(src, real_dst)
|   File "/.../tmp/work/x86_64-linux/libical-native/3.0.14-r0/recipe-sysroot-native/usr/lib/python3.10/shutil.py", line 435, in copy2
|     copystat(src, dst, follow_symlinks=follow_symlinks)
|   File "/.../tmp/work/x86_64-linux/libical-native/3.0.14-r0/recipe-sysroot-native/usr/lib/python3.10/shutil.py", line 374, in copystat
|     lookup("utime")(dst, ns=(st.st_atime_ns, st.st_mtime_ns),
| FileNotFoundError: [Errno 2] No such file or directory

A similar issue is described in a fix for gobject-introspection-native.

d3c48ff7d1

The problem was fixed there by setting the environment variable
GI_SCANNER_DISABLE_CACHE to disable the use of $HOME/.cache.

Extend the fix to users of gobject-instropection by promoting the fix
to the bbclass.

(From OE-Core rev: bb1dc2bbfe268e73008dc37d6b1f83a861b48915)

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 35d5f707f6bb2ce5e9ab908e66e1ea9eeac754b1)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-01 16:27:30 +01:00
Ming Liu
b581f10189 rootfs-postcommands.bbclass: move host-user-contaminated.txt to ${S}
This is to ensure host-user-contaminated.txt would be removed before
do_rootfs runs, since ${S} is in cleandirs of do_rootfs, otherwise, a
host-user-contaminated.txt file that generated from previous builds
could be used which is wrong.

(From OE-Core rev: 96215d6d45d2cae59c9e36e6a77bbbada410b259)

Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 54a3fd63e684d070fad962be97e549f3af7ac111)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-01 16:27:30 +01:00
Joshua Watt
ca3a1f17cc sstatesig: Include all dependencies in SPDX task signatures
SDPX generation involves looking through BB_TASKDEPDATA for
dependencies, then linking to the generated documents for those
dependencies. These document links use a checksum to validate the
document, which means that if a upstream document changes, all
downstream documents must be regenerated to get the new checksum,
otherwise the compendium of documents produced by the build will have
broken links; therefore all dependent task should be included in the
signature (even from "ABI safe" recipes).

(From OE-Core rev: 7549429fc93218dee33b216010b2c36a9f814091)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 5fe543b9ceec971cf0297ff0ae3b0ccc4703cece)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-01 16:27:30 +01:00
Sakib Sajal
db4ce356a8 git: upgrade v2.35.3 -> v2.35.4
Minor upgrade which includes fix for CVE-2022-29187.

(From OE-Core rev: 11943acaacd9b81b09ca378f40b17c393d33cb4b)

Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-01 16:27:30 +01:00
Sakib Sajal
2f95354b2b go: update v1.17.10 -> v1.17.12
go.git$ git log --oneline go1.17.10..go1.17.12
1ed3c127da (tag: go1.17.12) [release-branch.go1.17] go1.17.12
cd54600b86 [release-branch.go1.17] encoding/gob: add a depth limit for ignored fields
76f8b7304d [release-branch.go1.17] path/filepath: fix stack exhaustion in Glob
8c1d8c8362 [release-branch.go1.17] io/fs: fix stack exhaustion in Glob
0117dee7dc [release-branch.go1.17] compress/gzip: fix stack exhaustion bug in Reader.Read
ba8788ebce [release-branch.go1.17] go/parser: limit recursion depth
2678d0c957 [release-branch.go1.17] encoding/xml: limit depth of nesting in unmarshal
58facfbe7d [release-branch.go1.17] encoding/xml: use iterative Skip, rather than recursive
ed2f33e1a7 [release-branch.go1.17] net/http: preserve nil values in Header.Clone
d13431c37a [release-branch.go1.17] net/http: don't strip whitespace from Transfer-Encoding headers
ae2dfcc1c8 [release-branch.go1.17] runtime: add race annotations to cbs.lock
fc07039e23 [release-branch.go1.17] runtime: add race annotations to metricsSema
9ef614f5aa [release-branch.go1.17] cmd/compile: allow 128-bit values to be spilled
b1be664d64 [release-branch.go1.17] runtime: store consistent total allocation stats as uint64
77cc1c0def [release-branch.go1.17] cmd/go: pass --no-decorate when listing git tags for a commit
8d2935ab7c [release-branch.go1.17] cmd/dist: test cgo internal linking on darwin-arm64
651a8d81ba [release-branch.go1.17] cmd/dist: skip internal linking tests on arm64
26cdea3acc (tag: go1.17.11) [release-branch.go1.17] go1.17.11
4c69fd51a9 [release-branch.go1.17] path/filepath: do not remove prefix "." when following path contains ":".
909881db03 [release-branch.go1.17] misc/cgo/testsanitizers: buffer the signal channel in TestTSAN/tsan11
03c2e56f68 [release-branch.go1.17] crypto/tls: avoid extra allocations in steady-state Handshake calls
c15a8e2dbb [release-branch.go1.17] crypto/tls: randomly generate ticket_age_add
590b53fac9 [release-branch.go1.17] os/exec: return clear error for missing cmd.Path
2be03d789d [release-branch.go1.17] crypto/rand: properly handle large Read on windows
65701ad2b4 [release-branch.go1.17] misc/cgo/testsanitizers: use buffered channel in tsan12.go
e846f3f2d6 [release-branch.go1.17] runtime: skip TestGdbBacktrace flakes matching a known GDB internal error
a9003376d5 [release-branch.go1.17] cmd/dist: consistently set PWD when executing a command in a different directory
0e7138a102 [release-branch.go1.17] runtime: mark TestGcSys as flaky

(From OE-Core rev: 4c3591cd31b61c4008af80701dfc1bcd6339e0e8)

Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-01 16:27:29 +01:00
Richard Purdie
6a0d24ba1c vim: Upgrade 9.0.0021 -> 9.0.0063
Pulls in several CVE fixes.
Added a patch to avoid timer_create cross compile issue (and submitted upstream).
Also submit the race fix upstream.
We disable timer_create in the native case since some systems have it
and some don't so this makes us consistent.

(From OE-Core rev: 8b42e405fc630537398116a1429a9bc7cb2152ab)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit d0c1de084c7ce030d47a428e4bbfbc4ce2996057)
Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-01 16:27:29 +01:00
Yue Tao
1630dbb40b gnupg: upgrade to 2.3.7 to fix CVE-2022-34903
(From OE-Core rev: c0c7214f8bdc1942a53f9a86b937eb4977e09452)

Signed-off-by: Yue Tao <yue.tao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-01 16:27:29 +01:00
Alexander Kanavin
4f2f861895 gnupg: update 2.3.4 -> 2.3.6
Remove 0003-dirmngr-uses-libgpg-error.patch
(upstream addressed the issue).

(From OE-Core rev: 4e9c180baf5fea79a2ca472651b782038051b837)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Yue Tao <yue.tao@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-01 16:27:29 +01:00
wangmy
63aeff6e16 bind: upgrade 9.18.3 -> 9.18.4
Changelog:
==========
[func]          Don't try to process DNSSEC-related and ZONEMD records
                in catz. [GL #3380]

[func]          Add some more dnssec-policy checks to detect weird
                policies. [GL #1611]

[test]          Add new set of unit test macros and move the unit
                tests under single namespace in /tests/. [GL !6243]

[func]          Key timing options for 'dnssec-settime' and related
                utilities now accept "UNSET" times as printed by
                'dnssec-settime -p'. [GL #3361]

[bug]           When the fetches-per-server quota was adjusted
                because of an authoritative server timing out more
                or less frequently, it was incorrectly set to 1
                rather than the intended value.  This has been
                fixed. [GL #3327]

[bug]           Only write key files if the dnssec-policy keymgr has
                changed the metadata. [GL #3302]

[func]          Key timing options for 'dnssec-keygen' and
                'dnssec-settime' now accept times as printed by
                'dnssec-settime -p'. [GL !2947]

(From OE-Core rev: 5bfb44bff5d296b8fd447acb7bdb29b544bd1c20)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit d5a12d549209f01324d03963db96449ee43452eb)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-01 16:27:29 +01:00
wangmy
9495687da9 bind: upgrade 9.18.2 -> 9.18.3
Changelog:
==========
[security]
 Fix a crash in DNS-over-HTTPS (DoH) code caused by
 premature TLS stream socket object deletion.
 (CVE-2022-1183) [GL #3216]

[bug]
 RPZ NSIP and NSDNAME rule processing didn't handle stub
 and static-stub zones at or above the query name.  This
 has now been addressed. [GL #3232]
 Fixed a deadlock that could occur if an rndc
 connection arrived during the shutdown of network
 interfaces. [GL #3272]

 Refactor the fctx_done() function to set fctx to
 NULL after detaching, so that reference counting
 errors will be easier to avoid. [GL #2969]

 udp_recv() in dispatch could trigger an INSIST when the
 callback's result indicated success but the response
 was canceled in the meantime. [GL #3300]

 Work around a jemalloc quirk which could trigger an
 out-of-memory condition in named over time. [GL #3287]

 If there was a pending negative cache DS entry,
 validations depending upon it could fail. [GL #3279]

 dig returned a 0 exit status on UDP connection failure.
 [GL #3235]

 Fix an assertion failure when using dig with +nssearch
 and +tcp options by starting the next query in the
 send_done() callback (like in the UDP mode) instead
 of doing that recursively in start_tcp(). Also
 ensure that queries interrupted while connecting
 are detached properly. [GL #3144]

 Don't remove CDS/CDNSKEY DELETE records on zone sign
 when using 'auto-dnssec maintain;'. [GL #2931]

[contrib]
 Avoid name space collision in dlz modules by prefixing
 functions with 'dlz_'. [GL !5778]

 dlz: Add FALLTHROUGH and UNREACHABLE macros. [GL #3306]

[func]
 Add new named command-line option -C to print built-in
 defaults. [GL #1326]

 Introduce the concept of broken catalog zones described
 in the DNS catalog zones draft version 5 document.
 [GL #3224]

 Add DNS Extended Errors when stale answers are returned
 from cache. [GL #2267]

 Implement support for catalog zones change of ownership
 (coo) mechanism described in the DNS catalog zones draft
 version 5 document. [GL #3223]

 Implement support for catalog zones options new syntax
 based on catalog zones custom properties with "ext"
 suffix described in the DNS catalog zones draft version
 5 document. [GL #3222]

 Implement reference counting for TLS contexts and
 allow reloading of TLS certificates on reconfiguration
 without destroying the underlying TCP listener sockets
 for TLS-based DNS transports. [GL #3122]
 Add support for remote TLS certificates
 verification, both to BIND and dig, making it possible
 to implement Strict and Mutual TLS authentication,
 as described in RFC 9103, Section 9.3. [GL #3163]

[cleanup]
 Remove use of exclusive mode in ns_interfacemgr in
 favor of rwlocked access to localhost and localnets
 members of dns_aclenv_t structure. [GL #3229]

 Remove the task exclusive mode use in ns_clientmgr.
 [GL #3230]

(From OE-Core rev: 1bbedc1c6f9b1d431a7d72b9e8e2871d0fe988f5)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit d2ae8b85c71be2e9e332b1ef0a2d3083b30c63e6)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-01 16:27:29 +01:00
Sakib Sajal
892bc9abc5 dpkg: fix CVE-2022-1664
Backport patch to fix CVE-2022-1664.

(From OE-Core rev: e22b7b2a30c4c688b9c4414824c93ae8a884496c)

Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-01 16:27:29 +01:00
Yi Zhao
7ac005ba75 tiff: Security fixes CVE-2022-1354 and CVE-2022-1355
References:
https://nvd.nist.gov/vuln/detail/CVE-2022-1354
https://security-tracker.debian.org/tracker/CVE-2022-1354

https://nvd.nist.gov/vuln/detail/CVE-2022-1355
https://security-tracker.debian.org/tracker/CVE-2022-1355

Patches from:

CVE-2022-1354:
87f580f390

CVE-2022-1355:
c1ae29f9eb

(From OE-Core rev: 6c373c041f1dd45458866408d1ca16d47cacbd86)

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-01 16:27:29 +01:00
Khem Raj
43ff43bd86 lua: Backport fix for CVE-2022-33099
Fixes stack overflow while handling recurring errors in Lua-stack

(From OE-Core rev: 16be6e3b750c66aab3ef68eaa805b71abd50319a)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit caad9d5f7184f0fa60fa7770e5d3da3f533647cb)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-01 16:27:29 +01:00
Ross Burton
e4b5c35fd4 pulseaudio: add m4-native to DEPENDS
Normally m4-native ends up in the sysroot via the toolchain, but if a
non-standard toolchain is used them m4-native may not be installed.

However Pulseaudio explicitly checks for m4 in the meson.build, so add
it to DEPENDS.

(From OE-Core rev: f1c2e21a28f8ad5dc6ff7b0db877aa22e01a9e00)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit ddf846635783923d43520c9dd6f63ca59ed6e3b8)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-07-25 15:11:46 +01:00
Chanho Park
4146e3c6a8 externalsrc.bbclass: support crate fetcher on externalsrc
To support crate:// fetcher on externalsrc, we need to make pass-through
the URIs in SRC_URI.

(From OE-Core rev: 73cc5a1cc62df616c2705280c8de27c38bb2ff0f)

Signed-off-by: Chanho Park <chanho61.park@samsung.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Richard Pastrick <ripastri@linux.microsoft.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-07-25 15:11:46 +01:00
Chanho Park
2355f5dc1e cargo_common.bbclass: enable bitbake vendoring for externalsrc
To support crate:// fetcher on externalsrc, we need to remove "-z
${EXTERNALSRC} check of bitbake vendoring. It is possible to disable
vendoring by CARGO_DISABLE_BITBAKE_VENDORING = "1" if externalsrc-ed
project does not want to enablt it.

(From OE-Core rev: 9b2f7eb0e2108392a849dff663767f1f32552241)

Signed-off-by: Chanho Park <chanho61.park@samsung.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Richard Pastrick <ripastri@linux.microsoft.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-07-25 15:11:46 +01:00
Richard Purdie
0d806a3af4 selftest/runtime_test/virgl: Disable for all almalinux
We can't support vgem on RHEL derived distros so disable this test for
all almalinux hosts rather than specific versions.

(From OE-Core rev: b418b969b4d44e347d95c6ed8c86703b977d90a3)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit e921f3c1b917072e4c5a110c7dfeeadd2e571bde)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-07-25 15:11:46 +01:00
Richard Purdie
17421c1fe2 gcc-runtime: Fix missing MLPREFIX in debug mappings
This fixes reproducibility issues with multilibs were a different recipe
specific sysroot is used which was leaking into debug symbols in libraries.

(From OE-Core rev: 3bb7abe545be6c92b2bd4f184536b0b0e871aac6)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f442edf51e256bd315bd8e4ac4d9fa12b8e9e092)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-07-25 15:11:46 +01:00
Richard Purdie
3af7f4ba99 gcc-runtime: Fix build when using gold
If gold is enabled as the default linker, it errors trying to link
to our dummy library empty file and this turns off things which should
be present in libstdc++.

For example, _GLIBCXX_HAVE_S_ISREG isn't defined and HAVE_S_ISREG in
libstdc++-v3/config.h isn't set properly.

Instead of just creating an empty file, create an empty elf binary
instead which addresses the issue.

(From OE-Core rev: f842dbc478cb007b5f3e2f016959e2b597a4d0be)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 2070bcd10aa3a05c96c8501c6a8c1e129fb1d440)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-07-25 15:11:46 +01:00
Paul Eggleton
eabdc02b76 oe-selftest: devtool: test modify git recipe building from a subdir
Add a test that verifies that devtool modify + devtool finish do the
right thing on a recipe that fetches from git and sets S to point to
a subdirectory of the source tree. We have a few examples among the core
recipes, dos2unix is a convenient one so let's use that. (The test first
verifies that that is still true in case the recipe is changed in
future.)

(From OE-Core rev: a994dbe517246cbc0bf359cd990efd6437e07a56)

Signed-off-by: Paul Eggleton <paul.eggleton@microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit a84d9ed14173b0bf467ea78dff4f0f7bae0bc082)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-07-25 15:11:46 +01:00
Paul Eggleton
ee60960da3 devtool: finish: handle patching when S points to subdir of a git repo
If devtool finish needs to create a patch and have it applied to the
sources for a recipe where S points to a subdirectory of the sources,
then the patch needs to be applied at the root of the repo i.e. we need
to add a patchdir= parameter to the SRC_URI entry.

(From OE-Core rev: 7cf53810b1dc3d14c4838a610b3d53170f552c19)

Signed-off-by: Paul Eggleton <paul.eggleton@microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit ad3736d9ca14cac14a7da22c1cfdeda219665e6f)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-07-25 15:11:46 +01:00
Paul Eggleton
9e7a56bef7 patch: handle if S points to a subdirectory of a git repo
If PATCHTOOL = "git", SRC_URI fetches from a git repo and S points to
a subdirectory of the checked out sources, then we were erroneously
initialising the subdirectory as its own git repo. Check if the returned
top-level repo directory is a subdirectory of WORKDIR and do not
run initialise the source directory if that is the case.

(This was a regression introduced with OE-Core revision
6184b56a7a0fc6f5d19fdfb81e7453667f7da940, however we didn't have a test
that verified the behaviour.)

(From OE-Core rev: 577a69137eac6a44869d384b9027fbfdfea5740e)

Signed-off-by: Paul Eggleton <paul.eggleton@microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 9cca53a2bcbf6809615ce5626c86c6ee481a7a76)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-07-25 15:11:46 +01:00
Pascal Bach
dd1fac1e11 bin_package: install into base_prefix
This makes the bin_package.bbclass work properly with the native class.

(From OE-Core rev: 58029ca7beb6cda1c7a97f2f2cfae64888587cd6)

Signed-off-by: Pascal Bach <pascal.bach@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit ad330b6d4b6e2ba051b5c6c437e07a183831f757)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-07-25 15:11:46 +01:00
Paul Eggleton
de0d04dfa3 devtool: ignore pn- overrides when determining SRC_URI overrides
If (perhaps foolishly) at your configuration level you have e.g.

  SRC_URI_append_pn-recipename = " file://patchname.patch"

and then run devtool modify on a different recipe, an error occurs:

  INFO: SRC_URI contains some conditional appends/prepends - will create branches to represent these
  ...
  ERROR: [Errno 2] No such file or directory: '/path/to/downloads/patchname.patch'

pn- overrides would not constitute an alternative configuration that we
should handle in this context, so just ignore them to avoid the issue.

(From OE-Core rev: 9beb3472624050593fc30d5a00d3d13fec4441df)

Signed-off-by: Paul Eggleton <paul.eggleton@microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 3f2a812ade42ece0bb59b2d303125a91b29936dd)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-07-25 15:11:46 +01:00
Richard Purdie
a21c4df12f kernel-arch: Fix buildpaths leaking into external module compiles
Building external kernel modules like lttng-modules was showing build paths
inside the debug symbols for the modules and breaking build reproducibility.

Fix this by adding in the mapping needed to map the kernel build directory
to something more approriate on target.

(From OE-Core rev: 7acc1b9b572789015619e4baea2642197b8b1950)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit b56dc9009ba93174de6bf4c01e17808ef249dc5c)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-07-25 15:11:46 +01:00
Peter Marko
4006a03674 alsa-state: correct license
* add GPL license because of alsa-state-init file
* gpl link points to gpl3, but at time of adding this file was actually
  pointing to gpl2, so should correspond to SPDX GPL-2.0-or-later
* remove date as the file was already changed several times since then

(From OE-Core rev: 7c3d9c5d72f1e832697b51a89e284e0b1e041f38)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit ca73ff0d9930d545ce8cb8a62e259c0b43310f99)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-07-25 15:11:46 +01:00
Ross Burton
ae5fb5a00d perl: don't install Makefile.old into perl-ptest
We already exclude Makefile, makefile, and makefile.old from copy of the
perl source tree that is used by perl-ptest, but Makefile.old is not
being excluded.  In a rebuild of perl with an existing source tree these
files now exist but have build paths in. As they're backup files, they
can just be excluded from the packages.

Use range globs to clean up the expressions, and exclude Makefile.old.

(From OE-Core rev: d6ec3784c530714182a1cf1ac693ca35ef0b4f57)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 30a99affca7930f7fe0ddeb016b6183240b5f13c)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-07-25 15:11:46 +01:00
Richard Purdie
9489baf011 gtk-doc: Remove hardcoded buildpath
When api-documentation is enabled, we see a hardcoded build path to xsltproc in
the target python configuration file. We curate PATH carefully so we don't
need the path there, tweak configure to remove it and solve the issue.

(From OE-Core rev: d3149c9ea98f4d4252ff0822d062c32d94ca75c5)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f7924a85de548f9403d561b15c1f2c33d9912393)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-07-25 15:11:46 +01:00
Khem Raj
78b9ca277c libmodule-build-perl: Use env utility to find perl interpreter
Fixes
ERROR: QA Issue: : /work/x86_64-linux/libmodule-build-perl-native/0.4231-r0/sysroot-destdir/work/x86_64-linux/libmodule-build-perl-native/0.4231-r0/recipe-sysroot-native/usr/bin/config_data maximum shebang size exceeded, the maximum size is 128. [shebang-size]

(From OE-Core rev: 3829ac3bca34a1aa5c54ba1d24d23af7a6630215)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 54ecb2d3f2523293383103cbe590ebdd037ee483)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-07-25 15:11:46 +01:00
Richard Purdie
6ad0dc29c4 vala: Fix on target wrapper buildpaths issue
The on target wrapper contains paths from the host build. Remove them.

(From OE-Core rev: cd3821fd52115d0eacdad4ba37f5c51a49b6990e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 10980ae59f18679413f2d3fd428a9386e4d6fc3a)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-07-25 15:11:46 +01:00
Richard Purdie
d9f2186c1e lua: Fix multilib buildpath reproducibility issues
The .pc we install ourselves for lua has hardcoded /lib assumptions in it
which means in a multilib environment, full build paths end up in users
like rpm's configuration.

Fix the .pc file to use a correct includedir and libdir to resolve
those reproducibility issues.

(From OE-Core rev: dfe0a723bc76f6f98b8edcaf84563a39a64e2c3c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 93bee5c74b8d181adf93de4b4101e25d24780603)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-07-25 15:11:46 +01:00
Alexander Kanavin
5b4699fc90 waffle: correctly request wayland-scanner executable
(From OE-Core rev: 05457e7f2a4c379082f8f39480f16b90141dc54f)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit cd05e2543bde4175da67781ec6f3eebc143d95d0)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-07-25 15:11:46 +01:00
Richard Purdie
bf3232255d insane: Fix buildpaths test to work with special devices
If enabled, the buildpaths test hangs in psplash as it tries to open
a fifo and read from it, hanging indefinitely.

Tweak the test to ignore fifo/socket/device files.

(From OE-Core rev: 1837c175d997ced1455537bb82fb86286711025c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 2567edb7e0a8c5ca9a88d6940491bf33bfe0eff9)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-07-25 15:11:46 +01:00
Alejandro Hernandez Samaniego
4fd8f9b863 package.bbclass: Fix kernel source handling when not using externalsrc
Previous commit c725bdb29b broke kernel source handling, this was due
to the code expecting the sources to be in a different directory, this did
not happen when using externalsrc since sources were found in the expected
directories.

Pass work-shared to the check to allow sources to be found in the proper
directory, allowing these to be packaged in the next step.

To test this we grabbed a commit where we knew the buildpaths
QA test should flag a file inside the kernel sources, with the previous
commit the QA warning wasnt flagged since no sources where there, with
this fix the buildpaths QA warning gets flagged properly.

(From OE-Core rev: 8efd5e31670235f7c59af2a5ee14646f029f4d18)

Signed-off-by: Alejandro Enedino Hernandez Samaniego <alhe@linux.microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 2714a8ef8c7b3c66d50f27f4f52fe2fe4db39b00)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-07-25 15:11:46 +01:00
Christoph Lauer
f1d0a3c7c6 package.bbclass: Avoid stripping signed kernel modules in splitdebuginfo
Since commit d756b346f2 kernel modules are stripped by the functions 'runstrip' and 'splitdebuginfo'. Signed modules must not be stripped. Function 'runstrip' avoids this by running is_kernel_module_signed. Apply the same check to splitdebuginfo.

(From OE-Core rev: 6859226652339b19cbc7bdfec074fe2016cdee60)

(From OE-Core rev: cefc6ec245ac1ca7a1a47d55aaec793e730a24a5)

Signed-off-by: Christoph Lauer <christoph.lauer@xtronic.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit dc0f0413eabfd50f78d887f73f808d40a314fbd8)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-07-25 15:11:46 +01:00
Alejandro Hernandez Samaniego
195b61756b package.bbclass: Fix base directory for debugsource files when using externalsrc
While executing do_package, bitbake checks for a list of
debug source files and uses a pattern to match the ones
to be included in copydebugsources.

Previously when externalsrc was in use either directly or by
using devtool, the source location changed and this pattern
no longer matched, hence debug source files failed to be
included in the corresponding package.

Check when the source directory isnt the default (based on
WORKDIR), and change the pattern used to match debug source
files if that is the case, allowing us to perform do_package
properly.

Workaround debugsource.list containing paths from the host by
moving debug source files away from the host directory
structure  to avoid host contamination (this seems to happen
when packages use $TMPDIR/work-shared and externalsrc is
in use).

Test matrix included using:
- devtool to use externalsrc automatically
- externalsrc with a non-devtool based source directory
- No externalsrc at all
Tested the following packages to be working:
- glibc ($TMPDIR/work-shared based)
- libxcrypt ($TMPDIR/work based)

[YOCTO 8015]

(From OE-Core rev: 2772b77c0e3d0f6226a2d7c40a59900a6d7c942f)

Signed-off-by: Alejandro Enedino Hernandez Samaniego <alhe@linux.microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit a887bd96fd0a15398e8077ea79df5070971866e4)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-07-25 15:11:46 +01:00
Markus Volk
8fa95bb599 python3: Backport patch to fix an issue in subinterpreters
This adds a backport patch that fixes a problem in subinterpreters related
to the garbagecollector. Without the patch, there are random segfaults in
several Kodi addons that use python3-sqlite3. Presumably there are real world
issues in other programs as well.

(From OE-Core rev: 39d57ef7e341a048b94bc5dd9c29d58f57e06f19)

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-07-25 15:11:46 +01:00
Ming Liu
66f67f397e udev-extraconf:mount.sh: fix path mismatching issues
Since commit f077befd5f36ad88623aaf6a38b1a837ecb18650:
[ udev-extraconf: let automount base directory configurable ]

the mount base directory was configurable, we need drop 'run-media'
usage as well, change to figure it out from MOUNT_BASE.

Also 'get_label_name' function needs to be called ealier in
automount_systemd before checking '/tmp/.automount-$name', otherwise
they would never match.

(From OE-Core rev: c013b33162546fb5bd4bcc1daac75aa65d0be1a3)

(From OE-Core rev: cb37eebf477e9907363b195c3d460b14717c5fea)

Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 7ed210054b3e253d5a67075bb9d4768d1661bef1)
Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-07-25 15:11:46 +01:00
Ming Liu
342745ce67 udev-extraconf: fix some systemd automount issues
The '.include' syntax has been dropped from latest systemd releases,
we need drop the systemd-udevd.service here, introduce a postinst
function to add "MountFlags=shared" to systemd-udevd.service.

Also lsblk binary is being called in mount.sh automount_systemd
function, add it to RDEPENDS.

(From OE-Core rev: a3c93ec301a34413f91e3edb70c16454ebcdcdf2)

Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 356520d60b9429c6f62124821e42468ff2b7b1d6)
Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-07-25 15:11:46 +01:00
Muhammad Hamza
a19f966ef5 udev-extraconf/mount.sh: ignore lvm in automount
Failure message is shown in boot logs when trying to
mount lvm as automounter does not handle cases where
lvm is mounted. This simply skips lvm while automounting
to avoid failure message in boot logs.

(From OE-Core rev: 9d90c89bd964bfabb31e64424e7000ac88a2697b)

Signed-off-by: Ansar Rasool <ansar_rasool@mentor.com>
Signed-off-by: Muhammad Hamza <muhammad_hamza@mentor.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
(cherry picked from commit b1d18072ed9a8b0bca0f20f8e5deefa73ab6acbe)
Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-07-25 15:11:46 +01:00
Muhammad Hamza
c993a88c3f udev-extraconf: force systemd-udevd to use shared MountFlags
Automounting does not work cleanly in case systemd as well as
udev rules are being used simultaneously and in most cases
race conditions and unknown behavior can come up.
In case we're running on top of systemd we need to make sure
that systemd-udevd knows that udev is in play as well and
mounting should be done using shared flags. Also as we're
using mount from sources other than systemd-mount in current
scripts this is the most manageable fix to automounting
problems.

(From OE-Core rev: 00ea4314feb51d82f9027bf53ff627541180daca)

Signed-off-by: Awais Belal <awais_belal@mentor.com>
Signed-off-by: Muhammad Hamza <muhammad_hamza@mentor.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
(cherry picked from commit 1e770416b4c9a0468404fb64d55114d93e84763b)
Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-07-25 15:11:46 +01:00
Muhammad Hamza
8eafba72be udev-extraconf/mount.sh: only mount devices on hotplug
fdisk from util-linux (2.31.1) and above allows the user to
manipulate an already mounted device. In order to achieve this
functionality it issues a BLKRRPART (block device re-read part)
ioctl and in response the kernel generates remove/change/add
events if the device is not mounted (manually unmounted etc)
which are caught and processed by udev. This causes our auto-mounter
to remount everything because it does not keep track and things
go out of control.
Differentiating between types of remove events such as the one
described above (generated by BLKRRPART) and one where the device
is physically plugged out is only possible using the DEVPATH variable
which is cleaned up only when the device is actually plugged-out.
This fixes the above anomaly by only mounting a device in add event
which is cleaned up properly (tmp cache deleted) in the remove event
or is not present in the tmp cache while making use of the DEVPATH
variable during the remove action.

(From OE-Core rev: 35b18c5721cae13eb206631ee1dc0c14d3d52046)

Signed-off-by: Awais Belal <awais_belal@mentor.com>
Signed-off-by: Muhammad Hamza <muhammad_hamza@mentor.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
(cherry picked from commit 11a5e6c17535438ea1e7a8403ed260c8b3a22bc8)
Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-07-25 15:11:46 +01:00
Muhammad Hamza
40af8a94d8 udev-extraconf/mount.sh: save mount name in our tmp filecache
Doing this will allow to fetch the exact name created by the
auto-mounter during the remove action where depending on the
scenario utilities such as the blkid might not be usable due
to actual device not being present on the system.

(From OE-Core rev: 55c2de8963cbaffdde4e527b044c3c3e3658924e)

Signed-off-by: Awais Belal <awais_belal@mentor.com>
Signed-off-by: Muhammad Hamza <muhammad_hamza@mentor.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
(cherry picked from commit 496b76f8775a620c1d449eb6f62a41656abf2a9b)
Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-07-25 15:11:46 +01:00
Muhammad Hamza
2d0aed6469 udev-extraconf/mount.sh: add LABELs to mountpoints
This alters the mountpoints such that if a device has a LABEL or
a PARTLABEL, it will be mounted at e.g.:

  /run/media/$LABEL-<device-node>
  /run/media/$PARTLABEL-<device-node>
  /run/media/rootfs-sda2

otherwise the device will be mounted at e.g.:

  /run/media/<device-node>
  /run/media/sda1

The <device-node> appended with LABEL or PARTLABEL makes sure that
the mountpoint is unique, therefore, avoids overlapping mounts.

(From OE-Core rev: 229e7a911a8b1e0223cfee0bdc2f5fc79cf300fe)

Signed-off-by: Arsalan H. Awan <Arsalan_Awan@mentor.com>
Signed-off-by: Muhammad Hamza <muhammad_hamza@mentor.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
(cherry picked from commit a9a0a0967832445f1bcc65d58f95343d1b562e1b)
Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-07-25 15:11:46 +01:00
Ming Liu
88bc9d2b93 udev-extraconf: let automount base directory configurable
Dont hard-code automount base directory to '/run/media', introduce a
variable MOUNT_BASE to let it configurable, like in udisks2 the mount
base is also configurable by setting option: --enable-fhs-media.

(From OE-Core rev: c021f5592c3d920eda1bfc10c099ad1484e9c0ce)

Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f077befd5f36ad88623aaf6a38b1a837ecb18650)
Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-07-25 15:11:46 +01:00
Richard Purdie
f884ab8ffc udev-extraconf/initrdscripts/parted: Rename mount.blacklist -> mount.ignorelist
(From OE-Core rev: 99d9dc7c6b5149f19a315bce78784aa1753ea7be)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 69e486ddb3059f80ba538e1f59c2ca8a8df0faf9)
Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-07-25 15:11:46 +01:00
Pavel Zhukov
c82f38999b harfbuzz: Fix compilation with clang
Fixup commit for prevous CVE-2022-33068 fix.

Fixes:
| In file included from ../harfbuzz-4.0.1/src/hb-ot-face.cc:39:
4429| ../harfbuzz-4.0.1/src/hb-ot-color-sbix-table.hh:301:11: error: use of bitwise '|' with boolean operands [-Werror,-Wbitwise-instead-of-logical]
4430|       if (png.IHDR.height >= 65536 | png.IHDR.width >= 65536)
4431|           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
4432|                                    ||
4433| ../harfbuzz-4.0.1/src/hb-ot-color-sbix-table.hh:301:11: note: cast one or both operands to int to silence this warning
4434| 1 error generated.

(From OE-Core rev: 7505ac6da37ba00d4dad74a0312ca20fc17e64df)

Signed-off-by: Pavel Zhukov <pavel.zhukov@huawei.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-07-25 15:11:46 +01:00
Robert Joslyn
702cf1e964 curl: Fix multiple CVEs
Backport fixes for:
 * CVE-2022-32205 - https://curl.se/docs/CVE-2022-32205.html
 * CVE-2022-32206 - https://curl.se/docs/CVE-2022-32206.html
 * CVE-2022-32207 - https://curl.se/docs/CVE-2022-32207.html
 * CVE-2022-32208 - https://curl.se/docs/CVE-2022-32208.html

(From OE-Core rev: 2749916ff534aecfd2a7871268b1166e5bb5bca4)

Signed-off-by: Robert Joslyn <robert.joslyn@redrectangle.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-07-25 15:11:46 +01:00
Bruce Ashfield
1db72445e3 perf: fix reproducibility in 5.19+
kernels with upstream commit 630af16eee495f583db5202c3613d1b191f10694
[perf tools: Use Python devtools for version autodetection rather than
runtime], or -stable backports of that commmit, evade our substitutions
for reproducibility.

We add a second sed expression to ensure that our definition of python
is used, as we have the proper environement setup and don't need the
full path of python, which eventually will be captured by the perf
binaries.

(From OE-Core rev: 171415e38e526033a0423f4dc39e9d8e9dc4e5f6)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit b24e73fb34049061ea03a6f2b6a54cdbee7b406b)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-07-25 15:11:46 +01:00
Richard Purdie
dd826b85ae gperf: Switch to upstream patch
Upstream merged a patch to handle the reproducibility issue, switch to
their patch which is functionally equivalent.

(From OE-Core rev: 873ac23a4958b4abbc124baa4ad7c973ee9dd5a8)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit db28cd0e1540e44db963108430205c8c0c817774)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-07-25 15:11:46 +01:00
Richard Purdie
eaa86c8681 gperf: Add a patch to work around reproducibility issues
Add a patch to avoid writing the full pathname to gperf into source
files which leads to reproducibility issues.

This fixes issues with systemd reproducibility in particular.

(From OE-Core rev: 21f36f1df42829eec0ea7b5441513d31dece960c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit dea3c7ee2a413f7dc5f13ec006592084f7fb266c)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-07-25 15:11:46 +01:00
Bruce Ashfield
1c8f219ec6 kernel-devsrc: ppc32: fix reproducibility
In a similar manner to the arm/arm32 reprodicibility fixes,
we can also fix ppc32.

The file .vdso32-offsets.h.cmd has captured paths, but we don't
need it on target or SDKs to regenerate a build enviroment.

We add it to our vdso-offsets list of files to delete and we
no longer have files patckaged with buildpaths.

(From OE-Core rev: 3480149a102737a198ba1929c6cdd4ea5a966739)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 2a142b68b232ff7728f4eb945eea923c64e7ebd5)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-07-25 15:11:46 +01:00
Bruce Ashfield
3e6f03797c kernel-devsrc: fix reproducibility and buildpaths QA warning
We've been removing .vdso-offsets.h.cmd for quite some time, as it
is not required to regenerate scripts or to satisfy the prepare
target in the kernel source.

That being said, there is a secondary location that this file may
be found, and since we aren't detecting or removing it, we end up
with embedded build paths, which cause both reproducibility and
buildpaths QA warnings.

We can test for both files, and force remove them if present, and
we'll fix this new location of the file and not risk breaking
any old kernels.

(From OE-Core rev: ff5b50458a7018c157df9b5f039d80434b0e6e24)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit e0a9433685397b716920fa9ad5d5a7be95c496f7)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-07-25 15:11:46 +01:00
Bruce Ashfield
083616689f linux-yocto/5.15: fix buildpaths issue with pnmtologo
Integrating the following commit(s) to linux-yocto/5.15:

    a40d2daf2795 pnmtologo: use relocatable file name

(From OE-Core rev: f64ad686324f1014d258f3381774608def04cba0)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 3c2bd1b975b05df30af21475b33aaf3d6fb192e6)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-07-25 15:11:46 +01:00
Bruce Ashfield
ada3d3741a linux-yocto/5.15: update to v5.15.54
Updating  to the latest korg -stable release that comprises
the following commits:

    843dae1756d9 Linux 5.15.54
    c0c041a60cac selftests/net: fix section name when using xdp_dummy.o
    a5fe76328ea5 dmaengine: idxd: force wq context cleanup on device disable path
    568b2bd79b59 dmaengine: ti: Add missing put_device in ti_dra7_xbar_route_allocate
    2f6ded79068c dmaengine: qcom: bam_dma: fix runtime PM underflow
    cb9813d7eae9 dmaengine: ti: Fix refcount leak in ti_dra7_xbar_route_allocate
    e08ccbaa5fb3 dmaengine: at_xdma: handle errors of at_xdmac_alloc_desc() correctly
    c787908bee3f dmaengine: lgm: Fix an error handling path in intel_ldma_probe()
    0bbb30d077f2 dmaengine: pl330: Fix lockdep warning about non-static key
    8b07022de2d3 ida: don't use BUG_ON() for debugging
    9839d89112d4 dt-bindings: dma: allwinner,sun50i-a64-dma: Fix min/max typo
    e99bad0d76cf Revert "serial: 8250_mtk: Make sure to select the right FEATURE_SEL"
    2fa22e7906c1 Revert "mm/memory-failure.c: fix race with changing page compound again"
    c1c98764c3c3 misc: rtsx_usb: set return value in rsp_buf alloc err path
    bab1a05a1141 misc: rtsx_usb: use separate command and response buffers
    378080b7d8dd misc: rtsx_usb: fix use of dma mapped buffer for usb bulk transfer
    d76704f8ccbb dmaengine: imx-sdma: Allow imx8m for imx7 FW revs
    530ee8d3c6a4 i2c: cadence: Unregister the clk notifier in error path
    941d77b795d1 r8169: fix accessing unset transport header
    3abec0b38173 selftests: forwarding: fix error message in learning_test
    1b74fe2e8f5c selftests: forwarding: fix learning_test when h1 supports IFF_UNICAST_FLT
    8e5fcfecd99a selftests: forwarding: fix flood_unicast_test when h2 supports IFF_UNICAST_FLT
    3fdca34e7811 ibmvnic: Properly dispose of all skbs during a failover.
    5912e5e47ac9 ARM: dts: stm32: add missing usbh clock and fix clk order on stm32mp15
    d5670adf5cff ARM: dts: stm32: use usbphyc ck_usbo_48m as USBH OHCI clock on stm32mp151
    ddec6cbbe227 i40e: Fix VF's MAC Address change on VM
    9d1e322a9103 i40e: Fix dropped jumbo frames statistics
    d2bf1a6480e8 i2c: piix4: Fix a memory leak in the EFCH MMIO support
    e7a1d5100921 xsk: Clear page contiguity bit when unmapping pool
    a2b92fffd51b ARM: at91: fix soc detection for SAM9X60 SiPs
    e3ee4ffa3c92 ARM: dts: at91: sama5d2_icp: fix eeprom compatibles
    f5b0e6d7b453 ARM: dts: at91: sam9x60ek: fix eeprom compatible and size
    a65b92628ae0 ARM: at91: pm: use proper compatibles for sama7g5's rtc and rtt
    cfd0e717bd93 ARM: at91: pm: use proper compatibles for sam9x60's rtc and rtt
    9ec5fe55ba75 ARM: at91: pm: use proper compatible for sama5d2's rtc
    ec5533b2ce26 arm64: dts: qcom: msm8992-*: Fix vdd_lvs1_2-supply typo
    76292cf4b3bc pinctrl: sunxi: sunxi_pconf_set: use correct offset
    c041165d8f04 arm64: dts: imx8mp-phyboard-pollux-rdk: correct i2c2 & mmc settings
    44826474a39a arm64: dts: imx8mp-phyboard-pollux-rdk: correct eqos pad settings
    ea8dbe870c84 arm64: dts: imx8mp-phyboard-pollux-rdk: correct uart pad settings
    67a21eb8c48e arm64: dts: imx8mp-evk: correct I2C3 pad settings
    b34da817e3fa arm64: dts: imx8mp-evk: correct I2C1 pad settings
    37413a0ea090 arm64: dts: imx8mp-evk: correct eqos pad settings
    ebad4d73ab1c arm64: dts: imx8mp-evk: correct vbus pad settings
    f1571c8c8724 arm64: dts: imx8mp-evk: correct gpio-led pad settings
    637b3dab51f7 arm64: dts: imx8mp-evk: correct the uart2 pinctl value
    401d27fec614 arm64: dts: imx8mp-evk: correct mmc pad settings
    ee1ced3dd863 ARM: mxs_defconfig: Enable the framebuffer
    89a718d1d080 arm64: dts: qcom: sdm845: use dispcc AHB clock for mdss node
    216094007699 arm64: dts: qcom: msm8994: Fix CPU6/7 reg values
    4157343a6a1a ASoC: codecs: rt700/rt711/rt711-sdca: resume bus/codec in .set_jack_detect
    ac80a45ddb62 ASoC: rt711-sdca: Add endianness flag in snd_soc_component_driver
    25e61636a5c3 ASoC: rt711: Add endianness flag in snd_soc_component_driver
    29029ca6eed7 pinctrl: sunxi: a83t: Fix NAND function name for some pins
    7208101ded1e ARM: meson: Fix refcount leak in meson_smp_prepare_cpus
    9c26be2c3e69 tty: n_gsm: fix encoding of command/response bit
    3b9f49138669 btrfs: fix use of uninitialized variable at rm device ioctl
    cb91c0548ff2 virtio-blk: modify the value type of num in virtio_queue_rq()
    d35b78cb053a btrfs: fix error pointer dereference in btrfs_ioctl_rm_dev_v2()
    f88e79727fba Revert "serial: sc16is7xx: Clear RS485 bits in the shutdown"
    83d3449e8ae5 xfs: remove incorrect ASSERT in xfs_rename
    63a3d2377715 can: kvaser_usb: kvaser_usb_leaf: fix bittiming limits
    420b99306b7e can: kvaser_usb: kvaser_usb_leaf: fix CAN clock frequency regression
    baffaed7fab3 can: kvaser_usb: replace run-time checks with struct kvaser_usb_driver_info
    188c798f3c25 net: dsa: qca8k: reset cpu port on MTU change
    c79726aba6af powerpc/powernv: delay rng platform device creation until later in boot
    cc409f88e8f7 video: of_display_timing.h: include errno.h
    6c9c8a7a9a54 memregion: Fix memregion_free() fallback definition
    79827e53b069 PM: runtime: Redefine pm_runtime_release_supplier()
    9c9e44bb3dd5 fbcon: Prevent that screen size is smaller than font size
    688632778025 fbcon: Disallow setting font bigger than screen size
    738d06ef99cb fbmem: Check virtual screen sizes in fb_set_var()
    989b2c40322e fbdev: fbmem: Fix logo center image dx issue
    e5fde29135a4 iommu/vt-d: Fix PCI bus rescan device hot add
    09cb6663618a module: fix [e_shstrndx].sh_size=0 OOB access
    e9f331bb5d43 module: change to print useful messages from elf_validity_check()
    82b50219c85d dt-bindings: soc: qcom: smd-rpm: Fix missing MSM8936 compatible
    93dfb9c6deeb dt-bindings: soc: qcom: smd-rpm: Add compatible for MSM8953 SoC
    8371666ef44c rxrpc: Fix locking issue
    d74b09b933b9 irqchip/gic-v3: Refactor ISB + EOIR at ack time
    b82dfacba576 irqchip/gic-v3: Ensure pseudo-NMIs have an ISB between ack and handling
    51ebf1b6a077 io_uring: avoid io-wq -EAGAIN looping for !IOPOLL
    b3cec8a42fcd Bluetooth: btmtksdio: fix use-after-free at btmtksdio_recv_event
    5781bb8a3191 Bluetooth: protect le accept and resolv lists with hdev->lock
    8a2dbdeccef6 drm/mediatek: Add vblank register/unregister callback functions
    2c4396693698 drm/mediatek: Add cmdq_handle in mtk_crtc
    d3f153557045 drm/mediatek: Detect CMDQ execution timeout
    6f77386ddb1c drm/mediatek: Remove the pointer of struct cmdq_client
    d953c679022c drm/mediatek: Use mailbox rx_callback instead of cmdq_task_cb
    51a405dea0ae drm/i915: Fix a race between vma / object destruction and unbinding
    7a9e13b86536 drm/amdgpu: vi: disable ASPM on Intel Alder Lake based systems
    0a9a60dcedaa drm/amd: Refactor `amdgpu_aspm` to be evaluated per device
    00fa5cbbb6a7 tty: n_gsm: fix invalid gsmtty_write_room() result
    156f2c2378e1 serial: 8250_mtk: Make sure to select the right FEATURE_SEL
    e58094e2b516 tty: n_gsm: fix sometimes uninitialized warning in gsm_dlci_modem_output()
    b952aa508786 tty: n_gsm: fix invalid use of MSC in advanced option
    62d1655b9229 mm/hwpoison: fix race between hugetlb free/demotion and memory_failure_hugetlb()
    5429eb5502fc mm/memory-failure.c: fix race with changing page compound again
    7a07875fabcc mm/hwpoison: avoid the impact of hwpoison_filter() return value on mce handler
    d04b62b64056 mm/hwpoison: mf_mutex for soft offline and unpoison
    a0f4fd486896 KVM: Initialize debugfs_dentry when a VM is created to avoid NULL deref
    70e2e87ea878 btrfs: zoned: use dedicated lock for data relocation
    1519e6e28478 btrfs: zoned: encapsulate inode locking for zoned relocation
    920e849b7d23 tty: n_gsm: fix missing update of modem controls after DLCI open
    4db0a8dd9067 ALSA: usb-audio: add mapping for MSI MAG X570S Torpedo MAX.
    a7fe6934ce7c ALSA: usb-audio: add mapping for MSI MPG X570S Carbon Max Wifi.
    6dcf1e5581b4 tty: n_gsm: fix frame reception handling
    375dfcfca4a1 tty: n_gsm: Save dlci address open status when config requester
    88a4fb1346b3 tty: n_gsm: Modify CR,PF bit when config requester
    e73c0eaf7f35 KVM: Don't create VM debugfs files outside of the VM directory
    f3647c369c17 drm/amd/vcn: fix an error msg on vcn 3.0
    a976456c797c ASoC: rt5682: fix an incorrect NULL check on list iterator
    c0058893a4a9 ASoC: rt5682: move clk related code to rt5682_i2c_probe
    121af0231f82 uapi/linux/stddef.h: Add include guards
    1d9bd723e7b4 stddef: Introduce DECLARE_FLEX_ARRAY() helper
    c2f3dab1ac54 bus: mhi: Fix pm_state conversion to string
    3f6d5cb0a5e5 bus: mhi: core: Use correctly sized arguments for bit field
    170a08ad3d1a serial: sc16is7xx: Clear RS485 bits in the shutdown
    5dce84f475d1 powerpc/tm: Fix more userspace r13 corruption
    ed8a5d63a0da powerpc: flexible GPR range save/restore macros
    0a80e66a10af powerpc/32: Don't use lmw/stmw for saving/restoring non volatile regs
    b342feb49141 scsi: qla2xxx: Fix loss of NVMe namespaces after driver reload test
    31c60d15ccd1 KVM: s390x: fix SCK locking
    83772314e1e0 btrfs: don't access possibly stale fs_info data in device_list_add
    6784b694ecd8 KVM: use __vcalloc for very large allocations
    c33904fd1ef4 mm: vmalloc: introduce array allocation functions
    ff41804632e5 Compiler Attributes: add __alloc_size() for better bounds checking
    a1e69c36de17 mtd: spi-nor: Skip erase logic when SPI_NOR_NO_ERASE is set
    e65d78b12fbc batman-adv: Use netif_rx().
    4c0bb583a444 iio: accel: mma8452: use the correct logic to get mma8452_data
    ffd3e67f0dfb riscv/mm: Add XIP_FIXUP for riscv_pfn_base
    d6f1651ddf91 NFSD: COMMIT operations must not return NFS?ERR_INVAL
    c2a9881bc2ca NFSD: De-duplicate net_generic(nf->nf_net, nfsd_net_id)
    59bf2aca4b1c drm/amd/display: Fix by adding FPU protection for dcn30_internal_validate_bw
    f276634b12fa drm/amd/display: Set min dcfclk if pipe count is 0
    f799df4569c1 drbd: fix an invalid memory access caused by incorrect use of list iterator
    5bb1df0bfd46 drbd: Fix double free problem in drbd_create_device
    dbbcf21ad6a8 drbd: add error handling support for add_disk()
    72fa2ea3e0ab btrfs: remove device item and update super block in the same transaction
    f75534a71abf btrfs: use btrfs_get_dev_args_from_path in dev removal ioctls
    321a81835b4a btrfs: add a btrfs_get_dev_args_from_path helper
    5578b681fbf2 btrfs: handle device lookup with btrfs_dev_lookup_args
    09674bfd8054 vdpa/mlx5: Avoid processing works if workqueue was destroyed
    008e29d172ca gfs2: Fix gfs2_file_buffered_write endless loop workaround
    9b7eb92dac24 scsi: qla2xxx: Fix crash during module load unload test
    72806635ee63 scsi: qla2xxx: edif: Replace list_for_each_safe with list_for_each_entry_safe
    d4510119911c scsi: qla2xxx: Fix laggy FC remote port session recovery
    241afac69b96 scsi: qla2xxx: Move heartbeat handling from DPC thread to workqueue
    1e9d6854951a KVM: x86/mmu: Use common TDP MMU zap helper for MMU notifier unmap hook
    eabbe74e7de5 KVM: x86/mmu: Use yield-safe TDP MMU root iter in MMU notifier unmapping
    0855054fa889 clk: renesas: r9a07g044: Update multiplier and divider values for PLL2/3
    518bb9636712 cxl/port: Hold port reference until decoder release
    8b5ce83872b4 mt76: mt7921: do not always disable fw runtime-pm
    9d721a17505b mt76: mt76_connac: fix MCU_CE_CMD_SET_ROC definition error
    6512c3c39cb6 media: davinci: vpif: fix use-after-free on driver unbind
    2823225fbba0 media: omap3isp: Use struct_group() for memcpy() region
    d57ab893cdf8 stddef: Introduce struct_group() helper macro
    af9452dfdba4 block: fix rq-qos breakage from skipping rq_qos_done_bio()
    13141cceadd0 block: only mark bio as tracked if it really is tracked
    eb79d1353cd0 block: use bdev_get_queue() in bio.c
    df1ec53252d5 io_uring: ensure that fsnotify is always called
    5c82c94b0be7 virtio-blk: avoid preallocating big SGL for data
    32ac44b70e17 ibmvnic: Allow queueing resets during probe
    85996ef17952 ibmvnic: clear fop when retrying probe
    4fe1439ef2e0 ibmvnic: init init_done_rc earlier
    a29c71f3a4b1 s390/setup: preserve memory at OLDMEM_BASE and OLDMEM_SIZE
    06de5cf61538 s390/setup: use physical pointers for memblock_reserve()
    6ed826c949cf s390/boot: allocate amode31 section in decompressor
    aa1f19606558 netfilter: nft_payload: don't allow th access for fragments
    5445819e76a6 netfilter: nft_payload: support for inner header matching / mangling
    0d9bd7e6ac3a netfilter: nf_tables: convert pktinfo->tprot_set to flags field
    25ca15fed4bb ASoC: rt5682: Fix deadlock on resume
    f536e0df64b8 ASoC: rt5682: Re-detect the combo jack after resuming
    4b72179e53bd ASoC: rt5682: Avoid the unexpected IRQ event during going to suspend
    301ebfa578e3 net/mlx5e: TC, Reject rules with forward and drop actions
    6d1ac7f882da net/mlx5e: TC, Reject rules with drop and modify hdr action
    aa944fefb396 net/mlx5e: Split actions_match_supported() into a sub function
    f1c36a47a3b4 net/mlx5e: Check action fwd/drop flag exists also for nic flows
    910349170ac0 RISC-V: defconfigs: Set CONFIG_FB=y, for FB console
    49ae6abd617f riscv: defconfig: enable DRM_NOUVEAU
    feacd73fd8b2 bpf, arm64: Use emit_addr_mov_i64() for BPF_PSEUDO_FUNC
    d53c8fe9ee29 bpf: Stop caching subprog index in the bpf_pseudo_func insn
    d3688bfa5af4 mt76: mt7921: fix a possible race enabling/disabling runtime-pm
    281a194f5a67 mt76: mt7921: introduce mt7921_mcu_set_beacon_filter utility routine
    09aee8375b0c mt76: mt7921: get rid of mt7921_mac_set_beacon_filter
    9846b9e4bba7 platform/x86: wmi: Fix driver->notify() vs ->probe() race
    4b5356231989 platform/x86: wmi: Replace read_takes_no_args with a flags field
    789382ce7359 platform/x86: wmi: introduce helper to convert driver to WMI driver
    a9a101842420 qed: Improve the stack space of filter_config()
    8a29aec244ae ath11k: add hw_param for wakeup_mhi
    16b7cb2803bf memory: renesas-rpc-if: Avoid unaligned bus access for HyperFlash
    a4ac45aff8d3 media: ir_toy: prevent device from hanging during transmit
    e1716b0ff925 PCI: pciehp: Ignore Link Down/Up caused by error-induced Hot Reset
    006d00d826fb PCI/portdrv: Rename pm_iter() to pcie_port_device_iter()
    b33035945b0a drm/i915: Replace the unconditional clflush with drm_clflush_virt_range()
    9cf3a1c1288e drm/i915/gt: Register the migrate contexts with their engines
    d839d15b5074 drm/i915: Disable bonding on gen12+ platforms
    70fc07e30817 btrfs: fix deadlock between chunk allocation and chunk btree modifications
    3fb11d13220d dma-buf/poll: Get a file reference for outstanding fence callbacks
    140395211626 Input: goodix - try not to touch the reset-pin on x86/ACPI devices
    8422a9b306f1 Input: goodix - refactor reset handling
    f5b1c6d526d8 Input: goodix - add a goodix.h header file
    1354ceb1b6bf Input: goodix - change goodix_i2c_write() len parameter type to int
    8d1d6b29baa9 Input: cpcap-pwrbutton - handle errors from platform_get_irq()
    48f8f198a2ab btrfs: fix warning when freeing leaf after subvolume creation failure
    9bc53f5a3932 btrfs: fix invalid delayed ref after subvolume creation failure
    661820504717 btrfs: add additional parameters to btrfs_init_tree_ref/btrfs_init_data_ref
    bb5c24715501 btrfs: rename btrfs_alloc_chunk to btrfs_create_chunk
    c1784d207513 netfilter: nf_tables: stricter validation of element data
    5ccecafc728b netfilter: nft_set_pipapo: release elements in clone from abort path
    75e9009edabc net: rose: fix UAF bug caused by rose_t0timer_expiry
    db89582ff330 usbnet: fix memory leak in error case
    a7de8d436db9 bpf: Fix insufficient bounds propagation from adjust_scalar_min_max_vals
    a703cbdd791b bpf: Fix incorrect verifier simulation around jmp32's jeq/jne
    f7c9b38cc5a2 can: mcp251xfd: mcp251xfd_regmap_crc_read(): update workaround broken CRC on TBC register
    0cab3fb917c5 can: mcp251xfd: mcp251xfd_regmap_crc_read(): improve workaround handling for mcp2517fd
    c7333f798884 can: m_can: m_can_{read_fifo,echo_tx_event}(): shift timestamp to full 32 bits
    f4d90e9c95d4 can: m_can: m_can_chip_config(): actually enable internal timestamping
    0e60230bc643 can: gs_usb: gs_usb_open/close(): fix memory leak
    8cfa1a33b0fb can: grcan: grcan_probe(): remove extra of_node_get()
    f34f2a18e47b can: bcm: use call_rcu() instead of costly synchronize_rcu()
    51aab37a66a2 ALSA: cs46xx: Fix missing snd_card_free() call at probe error
    f768f3ca5f38 ALSA: hda/realtek: Add quirk for Clevo L140PU
    f62c53c6e70d ALSA: usb-audio: Workarounds for Behringer UMC 204/404 HD
    e63b94b8dd5f Revert "selftests/bpf: Add test for bpf_timer overwriting crash"
    066a5b678472 mm/filemap: fix UAF in find_lock_entries
    0515cc9b6b24 mm/slub: add missing TID updates on slab deactivation
    eb18ccd14633 Linux 5.15.53
    6b316eedff44 hwmon: (ibmaem) don't call platform_device_del() if platform_device_add() fails
    8848842f0a9b hwmon: (occ) Prevent power cap command overwriting poll response
    38920480329f hwmon: (occ) Remove sequence numbering and checksum calculation
    5b458d3de9cf drm/fourcc: fix integer type usage in uapi header
    f2def2643350 platform/x86: panasonic-laptop: filter out duplicate volume up/down/mute keypresses
    b9b7a115dfd1 platform/x86: panasonic-laptop: don't report duplicate brightness key-presses
    6201123ca5bc platform/x86: panasonic-laptop: revert "Resolve hotkey double trigger bug"
    484e10843a74 platform/x86: panasonic-laptop: sort includes alphabetically
    b619348d9d69 platform/x86: panasonic-laptop: de-obfuscate button codes
    8547315c1377 drivers: cpufreq: Add missing of_node_put() in qoriq-cpufreq.c
    68aa6f13dc43 drm/msm/gem: Fix error return on fence id alloc fail
    a13ea254268c drm/i915/gem: add missing else
    4dc036ddf4bf net: fix IFF_TX_SKB_NO_LINEAR definition
    25daf14eacd1 fsi: occ: Force sequence numbering per OCC
    8169198652b9 clocksource/drivers/ixp4xx: remove EXPORT_SYMBOL_GPL from ixp4xx_timer_setup()
    74acf9cc87c7 net: usb: qmi_wwan: add Telit 0x1070 composition
    9f83c8f6ab14 xen/arm: Fix race in RB-tree based P2M accounting
    1052fc2b7391 xen-netfront: restore __skb_queue_tail() positioning in xennet_get_responses()
    6d0a9127279a xen/blkfront: force data bouncing when backend is untrusted
    ed3cfc690675 xen/netfront: force data bouncing when backend is untrusted
    5dd0993c3683 xen/netfront: fix leaking data in shared pages
    7ed65a4ad8fa xen/blkfront: fix leaking data in shared pages
    472863c7b523 selftests/rseq: Change type of rseq_offset to ptrdiff_t
    df2e933a5348 selftests/rseq: x86-32: use %gs segment selector for accessing rseq thread area
    f5a656b4ab48 selftests/rseq: x86-64: use %fs segment selector for accessing rseq thread area
    4633aa6fadc6 selftests/rseq: Fix: work-around asm goto compiler bugs
    786bd3511934 selftests/rseq: Remove arm/mips asm goto compiler work-around
    33307f2afd85 selftests/rseq: Fix warnings about #if checks of undefined tokens
    21199d90428e selftests/rseq: Fix ppc32 offsets by using long rather than off_t
    56cbd6e40e41 selftests/rseq: Fix ppc32 missing instruction selection "u" and "x" for load/store
    1969c5eff964 selftests/rseq: Fix ppc32: wrong rseq_cs 32-bit field pointer on big endian
    b9a8ebe29636 selftests/rseq: Uplift rseq selftests for compatibility with glibc-2.35
    e49d1c413d28 selftests/rseq: Introduce thread pointer getters
    d471088d078b selftests/rseq: Introduce rseq_get_abi() helper
    c9a96b4231c3 selftests/rseq: Remove volatile from __rseq_abi
    3c35d9cbd99b selftests/rseq: Remove useless assignment to cpu variable
    94a913fe6271 selftests/rseq: introduce own copy of rseq uapi header
    58f64962a697 selftests/rseq: remove ARRAY_SIZE define from individual tests
    34ec62bc44b0 selftests/bpf: Add test_verifier support to fixup kfunc call insns
    e11cdd74519e tcp: add a missing nf_reset_ct() in 3WHS handling
    010d7c422296 MAINTAINERS: add Leah as xfs maintainer for 5.15.y
    c28f95515503 net: tun: avoid disabling NAPI twice
    9db9e649f88f mlxsw: spectrum_router: Fix rollback in tunnel next hop init
    2930ee1a166d ipv6: fix lockdep splat in in6_dump_addrs()
    d6371303b4db ipv6/sit: fix ipip6_tunnel_get_prl return value
    674a641e5b67 tunnels: do not assume mac header is set in skb_tunnel_check_pmtu()
    b43a47c1c5c7 ACPI: video: Change how we determine if brightness key-presses are handled
    50fefe57f45e io_uring: ensure that send/sendmsg and recv/recvmsg check sqe->ioprio
    c8fb40fd7bb7 epic100: fix use after free on rmmod
    35fcb2ba35b4 tipc: move bc link creation back to tipc_node_create
    eaf7e6fe4b07 NFC: nxp-nci: Don't issue a zero length i2c_master_read()
    d13a5b86e284 nfc: nfcmrvl: Fix irq_of_parse_and_map() return value
    89296ac435e2 powerpc/memhotplug: Add add_pages override for PPC
    ef0af7d08d26 net: bonding: fix use-after-free after 802.3ad slave unbind
    7227bc7bd103 net: phy: ax88772a: fix lost pause advertisement configuration
    0d139145cc0f net: bonding: fix possible NULL deref in rlb code
    efafb28ff39f net: asix: fix "can't send until first packet is send" issue
    ed303cc7aab9 net/sched: act_api: Notify user space if any actions were flushed before error
    1d776f085006 net/dsa/hirschmann: Add missing of_node_get() in hellcreek_led_setup()
    031561caa38a netfilter: nft_dynset: restore set element counter when failing to update
    a6c5c65f4c37 s390: remove unneeded 'select BUILD_BIN2C'
    10f88306f9f3 vdpa/mlx5: Update Control VQ callback information
    01121e39ef53 PM / devfreq: exynos-ppmu: Fix refcount leak in of_get_devfreq_events
    7cf7ed8f23c4 caif_virtio: fix race between virtio_device_ready() and ndo_open()
    4d5055873e24 vfs: fix copy_file_range() regression in cross-fs copies
    115d94191691 NFSD: restore EINVAL error translation in nfsd_commit()
    c9f8f94d3ca9 net: ipv6: unexport __init-annotated seg6_hmac_net_init()
    0b842b9e84cd selftests: mptcp: more stable diag tests
    536d2a6a4fd6 usbnet: fix memory allocation in helpers
    f7eaa228b0fa net: usb: asix: do not force pause frames support
    0b6e0eb5c45e linux/dim: Fix divide by 0 in RDMA DIM
    889000874c12 RDMA/cm: Fix memory leak in ib_cm_insert_listen
    732e73bd81c7 RDMA/qedr: Fix reporting QP timeout attribute
    c16404122a7c net: dp83822: disable rx error interrupt
    7191cecb99b2 net: dp83822: disable false carrier interrupt
    92e4f3ee5831 net: tun: stop NAPI when detaching queues
    8145f77d38de net: tun: unlink NAPI from device on destruction
    1e2327ba0fe9 net: dsa: bcm_sf2: force pause link settings
    cc38c1eaa2e0 selftests/net: pass ipv6_args to udpgso_bench's IPv6 TCP test
    4db9730360ab virtio-net: fix race between ndo_open() and virtio_device_ready()
    aa0806efb8f0 net: usb: ax88179_178a: Fix packet receiving
    659d39545260 net: rose: fix UAF bugs caused by timer handler
    6437d3deee28 SUNRPC: Fix READ_PLUS crasher
    0222575395bd s390/archrandom: simplify back to earlier design and initialize earlier
    d5b06039b195 dm raid: fix KASAN warning in raid5_add_disks
    6352b2f4d8e9 dm raid: fix accesses beyond end of raid member array
    bdb4d98d6d95 powerpc/bpf: Fix use of user_pt_regs in uapi
    e646baf1a4fd powerpc/book3e: Fix PUD allocation size in map_kernel_page()
    0c1d781d6b08 powerpc/prom_init: Fix kernel config grep
    be74e588f1a5 nvdimm: Fix badblocks clear off-by-one error
    526b53192d09 nvme-pci: add NVME_QUIRK_BOGUS_NID for ADATA IM2P33F8ABR1
    58caf60ce217 nvme-pci: add NVME_QUIRK_BOGUS_NID for ADATA XPG SX6000LNP (AKA SPECTRIX S40G)
    25fab798784b net: phy: Don't trigger state machine while in suspend
    159f2454ab12 ipv6: take care of disable_policy when restoring routes
    e33f5b581574 ksmbd: use vfs_llseek instead of dereferencing NULL
    9d48194d3e49 ksmbd: check invalid FileOffset and BeyondFinalZero in FSCTL_ZERO_DATA
    6791b57284f5 ksmbd: set the range of bytes to zero without extending file size in FSCTL_ZERO_DATA
    31c371b61d13 drm/amdgpu: To flush tlb for MMHUB of RAVEN series
    990132bebcc8 Revert "drm/amdgpu/display: set vblank_disable_immediate for DC"

(From OE-Core rev: 3e15a9899ef181ee06cbb550a3a0d5c55026ab90)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 05457334a7344cabd9b7973834c9f02484fe99a7)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-07-25 15:11:46 +01:00
Bruce Ashfield
a3b94334e9 linux-yocto/5.15: fix buildpaths issue with gen-mach-types
Integrating the following commit(s) to linux-yocto/5.15:

    6c085baf1838 tools: use basename to identify file in gen-mach-types

(From OE-Core rev: 267576eb2488aad3e41ee7e1e42f212727878bb4)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit d5db9594da2bdc6d13be2190d10739b51de57890)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-07-25 15:11:46 +01:00
Bruce Ashfield
c3f8a6f93b linux-yocto/5.15: fix build_OID_registry buildpaths warning
Integrating the following commit(s) to linux-yocto/5.15:

 Author: Bruce Ashfield <bruce.ashfield@gmail.com>
 Date:   Sun Jul 10 22:56:53 2022 -0400

    lib/build_OID_registry: fix reproducibility issues

    The script build_OID_registry captures the full path of itself
    in the generated data. This causes reproduciblity issues as the
    path is captured and packaged.

    We use the basename of the script instead, and that allows us
    to be reprodicible, with slightly less information captured in
    the output data (but the generating script can still easily
    be found).

(From OE-Core rev: e1c1ad4c1ff57acff0a841a5bcf42494fe67302f)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 708421238ed149b1eabf463bd563a37480ad1169)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-07-25 15:11:46 +01:00
Bruce Ashfield
a706523d41 linux-yocto/5.15: fix qemuppc buildpaths warning
Integrating the following commit(s) to linux-yocto/5.15:

  Author: Bruce Ashfield <bruce.ashfield@gmail.com>
  Date:   Sun Jul 10 21:37:07 2022 -0400

    vt/conmakehash: improve reproducibility

    The file generated by conmakehash capture the application
    path used to generate the file. While that can be informative,
    it varies based on where the kernel was built, as the full
    path is captured.

    We tweak the application to use a second input as the "capture
    name", and then modify the Makefile to pass the basename of
    the source, making it reproducible.

    This could be improved by using some sort of path mapping,
    or the application manipualing argv[1] itself, but for now
    this solves the reprodicibility issue.

(From OE-Core rev: 736271db81514da980d282e0ddce049701dfd745)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 1d63f8103cacd81dc631bbf87c612efff030c347)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-07-25 15:11:46 +01:00
Bruce Ashfield
8bed8f4284 linux-yocto/5.15: update to v5.15.52
Updating  to the latest korg -stable release that comprises
the following commits:

    545aecd22961 Linux 5.15.52
    ea512d540a55 io_uring: fix not locked access to fixed buf table
    5696f7983d5d net: mscc: ocelot: allow unregistered IP multicast flooding to CPU
    810962c79417 rtw88: rtw8821c: enable rfe 6 devices
    d52f1c588824 rtw88: 8821c: support RFE type4 wifi NIC
    e8d4878dcd00 fs: account for group membership
    dc85bc24fbf1 fs: fix acl translation
    38753e9173a5 fs: support mapped mounts of mapped filesystems
    968e66f8ff70 fs: add i_user_ns() helper
    21c6c720be75 fs: port higher-level mapping helpers
    7d0536a8fab7 fs: remove unused low-level mapping helpers
    f895d0ff47be fs: use low-level mapping helpers
    1c62e0186d94 docs: update mapping documentation
    b20dcf603b8d fs: account for filesystem mappings
    3374eb1b0afc fs: tweak fsuidgid_has_mapping()
    7bc23abcb414 fs: move mapping helpers
    b3679e8b5996 fs: add is_idmapped_mnt() helper
    ab0b6dc5e16b powerpc/ftrace: Remove ftrace init tramp once kernel init is complete
    ce6bfe55237e xfs: only bother with sync_filesystem during readonly remount
    3465b167831e xfs: prevent UAF in xfs_log_item_in_current_chkpt
    4f0c91ab4c7d xfs: check sb_meta_uuid for dabuf buffer recovery
    c4f376ba8be8 xfs: remove all COW fork extents when remounting readonly
    40de647b2bab xfs: Fix the free logic of state in xfs_attr_node_hasname
    0e84e17c16a3 xfs: punch out data fork delalloc blocks on COW writeback failure
    71a218ca4fde xfs: use kmem_cache_free() for kmem_cache objects
    1cdcd496b7ca bcache: memset on stack variables in bch_btree_check() and bch_sectors_dirty_init()
    edbaf6e5e93a x86, kvm: use proper ASM macros for kvm_vcpu_is_preempted
    f4a80ec8c51d tick/nohz: unexport __init-annotated tick_nohz_full_setup()
    37238449af78 Linux 5.15.51
    7fc188a9a9cc powerpc/pseries: wire up rng during setup_arch()
    17aa69b458fd kbuild: link vmlinux only once for CONFIG_TRIM_UNUSED_KSYMS (2nd attempt)
    cced9ce619ef dma-direct: use the correct size for dma_set_encrypted()
    a8bbb4c26460 perf build-id: Fix caching files with a wrong build ID
    46a78d141335 random: update comment from copy_to_user() -> copy_to_iter()
    7a3a4683562e ARM: dts: bcm2711-rpi-400: Fix GPIO line names
    bcf2087ce4de modpost: fix section mismatch check for exported init/exit sections
    da3ee7cd2f15 ARM: cns3xxx: Fix refcount leak in cns3xxx_init
    cde4480b5ab0 memory: samsung: exynos5422-dmc: Fix refcount leak in of_get_dram_timings
    4d9c60e868f7 ARM: Fix refcount leak in axxia_boot_secondary
    10ba9d499a9f soc: bcm: brcmstb: pm: pm-arm: Fix refcount leak in brcmstb_pm_probe
    d23f76018e17 ARM: exynos: Fix refcount leak in exynos_map_pmu
    5e00d3d4023c arm64: dts: ti: k3-am64-main: Remove support for HS400 speed mode
    4b5047643466 ARM: dts: imx6qdl: correct PU regulator ramp delay
    c845b98be950 ARM: dts: imx7: Move hsic_phy power domain to HSIC PHY node
    93f7d2a7fcf3 drm/msm/dp: Always clear mask bits to disable interrupts at dp_ctrl_reset_irq_ctrl()
    1ad385647bf3 powerpc/powernv: wire up rng during setup_arch
    c1cfae46c5dc powerpc/rtas: Allow ibm,platform-dump RTAS call with null buffer address
    fe643b5afde6 powerpc: Enable execve syscall exit tracepoint
    416d16b7dc0b powerpc/microwatt: wire up rng during setup_arch()
    6b28ca2cf344 parisc: Enable ARCH_HAS_STRICT_MODULE_RWX
    cb4d52085c8b parisc/stifb: Fix fb_is_primary_device() only available with CONFIG_FB_STI
    0dcc1dd8a5dd xtensa: Fix refcount leak bug in time.c
    016245172317 xtensa: xtfpga: Fix refcount leak bug in setup
    711591bf1dab iio: adc: ti-ads131e08: add missing fwnode_handle_put() in ads131e08_alloc_channels()
    ab7bf025cee8 iio: adc: adi-axi-adc: Fix refcount leak in adi_axi_adc_attach_client
    4358bf6b1aad iio: adc: rzg2l_adc: add missing fwnode_handle_put() in rzg2l_adc_parse_properties()
    bb6f853289fe iio: adc: axp288: Override TS pin bias current for some models
    4f89730288ee iio: adc: stm32: Fix IRQs on STM32F4 by removing custom spurious IRQs message
    d361b3cc1cf8 iio: adc: stm32: Fix ADCs iteration in irq handler
    148bab179f04 iio: afe: rescale: Fix boolean logic bug
    80e80577043f iio: imu: inv_icm42600: Fix broken icm42600 (chip id 0 value)
    2a2d448a74ab iio: adc: stm32: fix maximum clock rate for stm32mp15x
    4687c3f95524 iio: trigger: sysfs: fix use-after-free on remove
    f359c4751de1 iio: gyro: mpu3050: Fix the error handling in mpu3050_power_up()
    005cb02224a9 iio: accel: mma8452: ignore the return value of reset operation
    cb0d87f2519d iio:accel:mxc4005: rearrange iio trigger get and register
    3357fb9da21a iio:accel:bma180: rearrange iio trigger get and register
    240fb3913f18 iio:accel:kxcjk-1013: rearrange iio trigger get and register
    a1356318042e iio:chemical:ccs811: rearrange iio trigger get and register
    974e69beebb3 iio:humidity:hts221: rearrange iio trigger get and register
    f650029de357 f2fs: attach inline_data after setting compression
    d98b5032c9d0 btrfs: fix deadlock with fsync+fiemap+transaction commit
    1238f580cd81 btrfs: don't set lock_owner when locking extent buffer for reading
    46336a59a4a7 dt-bindings: usb: ehci: Increase the number of PHYs
    9a0b865d8b4c dt-bindings: usb: ohci: Increase the number of PHYs
    308df8d4e41b usb: chipidea: udc: check request status before setting device address
    07f1d9a6b75d USB: gadget: Fix double-free bug in raw_gadget driver
    61c3a21ba6f6 usb: gadget: Fix non-unique driver names in raw-gadget driver
    da57f113e817 xhci-pci: Allow host runtime PM as default for Intel Meteor Lake xHCI
    cfa16dd21be0 xhci-pci: Allow host runtime PM as default for Intel Raptor Lake xHCI
    c1c78d4d9b0a xhci: turn off port power in shutdown
    9509a175a560 usb: typec: wcove: Drop wrong dependency to INTEL_SOC_PMIC
    288f30e17513 iio: adc: vf610: fix conversion mode sysfs node name
    466e15f845d7 iio: magnetometer: yas530: Fix memchr_inv() misuse
    490dd2dd2a79 iio: mma8452: fix probe fail when device tree compatible is used.
    ff3e50ca9250 s390/cpumf: Handle events cycles and instructions identical
    09dd5630fea6 gpio: winbond: Fix error code in winbond_gpio_get()
    e3ea126c513c nvme: move the Samsung X5 quirk entry to the core quirks
    1057d42602cb nvme-pci: add NO APST quirk for Kioxia device
    72fa0f65b566 sock: redo the psock vs ULP protection check
    eb9399970565 Revert "net/tls: fix tls_sk_proto_close executed repeatedly"
    8d7fe9ad6fdd virtio_net: fix xdp_rxq_info bug after suspend/resume
    8eb0223631f8 igb: Make DMA faster when CPU is active on the PCIe link
    60fd29f1ff46 regmap-irq: Fix offset/index mismatch in read_sub_irq_data()
    b0581f93cf05 regmap-irq: Fix a bug in regmap_irq_enable() for type_in_mask chips
    20229bb99545 ice: ethtool: advertise 1000M speeds properly
    2b2bba96526f afs: Fix dynamic root getattr
    ab150a2bf6c5 MIPS: Remove repetitive increase irq_err_count
    3e2c9ee9c1e6 x86/xen: Remove undefined behavior in setup_features()
    ffa12a326415 xen-blkfront: Handle NULL gendisk
    0315bd8ad0dd selftests: netfilter: correct PKTGEN_SCRIPT_PATHS in nft_concat_range.sh
    5b45535865d6 udmabuf: add back sanity check
    be64f54a0db2 net/tls: fix tls_sk_proto_close executed repeatedly
    a3b2470399f6 erspan: do not assume transport header is always set
    26e70f8989cb perf arm-spe: Don't set data source if it's not a memory operation
    e24709e89b1b drm/msm/dp: force link training for display resolution change
    796d3acd7d9e drm/msm/dp: do not initialize phy until plugin interrupt received
    40e9efdc2ef9 drm/msm/dp: dp_link_parse_sink_count() return immediately if aux read failed
    2ecf5ff9aa14 drm/msm/dp: Drop now unused hpd_high member
    d0b4a61f8713 drm/msm/dp: check core_initialized before disable interrupts at dp_display_unbind()
    3c39a1719773 drm/msm/mdp4: Fix refcount leak in mdp4_modeset_init_intf
    45bd293bbcd8 net/sched: sch_netem: Fix arithmetic in netem_dump() for 32-bit platforms
    efb10d2a047d ethtool: Fix get module eeprom fallback
    6386fdde8df0 bonding: ARP monitor spams NETDEV_NOTIFY_PEERS notifiers
    2af944210dc2 igb: fix a use-after-free issue in igb_clean_tx_ring
    cd7789e659e8 tipc: fix use-after-free Read in tipc_named_reinit
    ad10d61c55aa net: fix data-race in dev_isalive()
    f617cef46552 net: Write lock dev_base_lock without disabling bottom halves.
    638be56ae9cc KVM: arm64: Prevent kmemleak from accessing pKVM memory
    d7fe6be43cfa phy: aquantia: Fix AN when higher speeds than 1G are not advertised
    8e74f5ceea52 scsi: storvsc: Correct reporting of Hyper-V I/O size limits
    b28e4e3fd34c bpf, x86: Fix tail call count offset calculation on bpf2bpf call
    0eef1dcb9774 drm/sun4i: Fix crash during suspend after component bind failure
    b03607437ea8 bpf: Fix request_sock leak in sk lookup helpers
    7154e4df56d4 drm/msm: use for_each_sgtable_sg to iterate over scatterlist
    64e6ba7f2d2f xsk: Fix generic transmit when completion queue reservation fails
    54abcc525269 scsi: iscsi: Exclude zero from the endpoint ID range
    0a7a5261705f drm/msm: Switch ordering of runpm put vs devfreq_idle
    7d5fe94333a9 scsi: scsi_debug: Fix zone transition to full condition
    d0906b0fffc9 netfilter: use get_random_u32 instead of prandom
    f7fa3263079c drm/msm: Fix double pm_runtime_disable() call
    c6f6c9668609 drm/msm: Ensure mmap offset is initialized
    45dc151ca0b9 USB: serial: option: add Quectel RM500K module support
    d5eb7d6baed5 USB: serial: option: add Quectel EM05-G modem
    b919ece13b6b USB: serial: option: add Telit LE910Cx 0x1250 composition
    e5b0f42edda2 USB: serial: pl2303: add support for more HXN (G) types
    0895a2235bae drm/i915: Implement w/a 22010492432 for adl-s
    bae4d6a2dd9e tracing/kprobes: Check whether get_kretprobe() returns NULL in kretprobe_dispatcher()
    c3f51b28a8bc dm mirror log: clear log bits up to BITS_PER_LONG boundary
    ac0a5f701f4d dm era: commit metadata in postsuspend after worker stops
    c477de4c7d43 ata: libata: add qc->flags in ata_qc_complete_template tracepoint
    0af674e7a764 mtd: rawnand: gpmi: Fix setting busy timeout setting
    0f6f66b4ef27 MAINTAINERS: Add new IOMMU development mailing list
    87a54feba68f xen/gntdev: Avoid blocking in unmap_grant_pages()
    fe9ba4f29320 mmc: mediatek: wait dma stop bit reset to 0
    7df8c497214b mmc: sdhci-pci-o2micro: Fix card detect by dealing with debouncing
    161ec2a0807d scsi: ibmvfc: Allocate/free queue resource only during probe/remove
    8540f66196ca scsi: ibmvfc: Store vhost pointer during subcrq allocation
    4a19c1cee0de btrfs: add error messages to all unrecognized mount options
    82e3769c0257 btrfs: prevent remounting to v1 space cache for subpage mount
    341d33128a94 btrfs: fix hang during unmount when block group reclaim task is running
    f0126bcaee81 9p: fix fid refcount leak in v9fs_vfs_get_link
    22832ac3eb5b 9p: fix fid refcount leak in v9fs_vfs_atomic_open_dotl
    10629c04b3a8 9p: Fix refcounting during full path walks for fid lookups
    cbf585269510 net: openvswitch: fix parsing of nw_proto for IPv6 fragments
    56c6f1fcd594 ALSA: hda/realtek: Add quirk for Clevo NS50PU
    48e3b93cda56 ALSA: hda/realtek: Add quirk for Clevo PD70PNT
    dffaf580c3c2 ALSA: hda/realtek: Apply fixup for Lenovo Yoga Duet 7 properly
    c478ceb4342b ALSA: hda/realtek - ALC897 headset MIC no sound
    82e29e99f2ab ALSA: hda/realtek: Add mute LED quirk for HP Omen laptop
    d12a5d1b5053 ALSA: hda/conexant: Fix missing beep setup
    535abf6207ef ALSA: hda/via: Fix missing beep setup
    eb4c99d089c0 random: quiet urandom warning ratelimit suppression message
    7a42647f7037 random: schedule mix_interrupt_randomness() less often
    18a33c8dabb8 Linux 5.15.50
    f1304f976395 arm64: mm: Don't invalidate FROM_DEVICE buffers at start of DMA transfer
    7c622181faeb serial: core: Initialize rs485 RTS polarity already on probe
    8e57da591f63 selftests/bpf: Add selftest for calling global functions from freplace
    5c0ab17c5360 bpf: Fix calling global functions from BPF_PROG_TYPE_EXT programs
    cfb68b072cbf usb: gadget: u_ether: fix regression in setting fixed MAC address
    c2f71b9bb398 zonefs: fix zonefs_iomap_begin() for reads
    04dcef44f6f4 net: mana: Add handling of CQE_RX_TRUNCATED
    7fd1d002852f drm/amd/display: Don't reinitialize DMCUB on s0ix resume
    48543509f4c5 s390/mm: use non-quiescing sske for KVM switch to keyed guest
    ee039006371a Linux 5.15.49
    c5559147766c clk: imx8mp: fix usb_root_clk parent
    d807e0dfb471 powerpc/book3e: get rid of #include <generated/compile.h>
    870179c053ce virtio-pci: Remove wrong address verification in vp_del_vqs()
    c64dfc63c422 ALSA: hda/realtek: fix right sounds and mute/micmute LEDs for HP machine
    ac0899da0ed1 KVM: arm64: Don't read a HW interrupt pending state in user context
    33b1bba31f4c ext4: add reserved GDT blocks check
    4fadac8c7376 ext4: make variable "count" signed
    90f0f9d45dff ext4: fix bug_on ext4_mb_use_inode_pa
    38db3b696f27 ext4: fix super block checksum incorrect after mount
    75f3a5fa2ad0 cfi: Fix __cfi_slowpath_diag RCU usage with cpuidle
    8720414b51d4 drm/amd/display: Cap OLED brightness per max frame-average luminance
    0d2209b54f1d dm mirror log: round up region bitmap size to BITS_PER_LONG
    ccd175109234 bus: fsl-mc-bus: fix KASAN use-after-free in fsl_mc_bus_remove()
    9b5a3b16c4aa serial: 8250: Store to lsr_save_flags after lsr read
    a567426d1449 tty: n_gsm: Debug output allocation must use GFP_ATOMIC
    4baa493636b6 usb: gadget: f_fs: change ep->ep safe in ffs_epfile_io()
    20ac0adece7b usb: gadget: f_fs: change ep->status safe in ffs_epfile_io()
    46da1e4a8b63 usb: gadget: lpc32xx_udc: Fix refcount leak in lpc32xx_udc_probe
    492d82d5ffcd usb: cdnsp: Fixed setting last_trb incorrectly
    701d8ec01e0f usb: dwc2: Fix memory leak in dwc2_hcd_init
    b71eed408e58 USB: serial: io_ti: add Agilent E5805A support
    79ea90c9588f USB: serial: option: add support for Cinterion MV31 with new baseline
    795aa0cfd38d crypto: memneq - move into lib/
    31ac1cffa76b comedi: vmk80xx: fix expression for tx buffer size
    57199e4ee958 mei: me: add raptor lake point S DID
    2399481a13a7 mei: hbm: drop capability response on early shutdown
    93e6c2cbcd08 i2c: designware: Use standard optional ref clock implementation
    668a1f5e75d5 sched: Fix balance_push() vs __sched_setscheduler()
    e85b1b797de0 irqchip/realtek-rtl: Fix refcount leak in map_interrupts
    cc5984cf270b irqchip/gic-v3: Fix refcount leak in gic_populate_ppi_partitions
    0b325d993995 irqchip/gic-v3: Fix error handling in gic_populate_ppi_partitions
    5d38720661a4 irqchip/gic/realview: Fix refcount leak in realview_gic_of_init
    3a72ed60af9d i2c: npcm7xx: Add check for platform_driver_register
    c06ebe20ba9f faddr2line: Fix overlapping text section failures, the sequel
    b5e65ef044d6 block: Fix handling of offline queues in blk_mq_alloc_request_hctx()
    ca67881dcef0 init: Initialize noop_backing_dev_info early
    04cdec418626 certs/blacklist_hashes.c: fix const confusion in certs blacklist
    db73aa946633 arm64: ftrace: consistently handle PLTs.
    a39d42b0f7c9 arm64: ftrace: fix branch range checks
    b764bb8dd474 net: ax25: Fix deadlock caused by skb_recv_datagram in ax25_recvmsg
    ed66c8612bb4 net: bgmac: Fix an erroneous kfree() in bgmac_remove()
    32df93bd9d12 mlxsw: spectrum_cnt: Reorder counter pools
    fce5e847b6ef nvme: add device name to warning in uuid_show()
    21dda97d095c net: hns3: fix tm port shapping of fibre port is incorrect after driver initialization
    36c95d9bd2ad net: hns3: don't push link state to VF if unalive
    384ffa1dee40 net: hns3: set port base vlan tbl_sta to false before removing old vlan
    23de00c1304a net: hns3: split function hclge_update_port_base_vlan_cfg()
    f4c5eba87675 drm/i915/reset: Fix error_state_read ptr + offset use
    91f5a60a8398 io_uring: fix races with buffer table unregister
    b1e7cade3caf io_uring: fix races with file table unregister
    d460a8a3b980 misc: atmel-ssc: Fix IRQ check in ssc_probe
    fb15e79cacdd tty: goldfish: Fix free_irq() on remove
    2cd5117ce64e Drivers: hv: vmbus: Release cpu lock in error case
    0a4e5a3dc5e4 i40e: Fix call trace in setup_tx_descriptors
    f015e9929cca i40e: Fix calculating the number of queue pairs
    e04448d388be i40e: Fix adding ADQ filter to TC0
    0414eab7c78f clocksource: hyper-v: unexport __init-annotated hv_init_clocksource()
    5967a6900873 sunrpc: set cl_max_connect when cloning an rpc_clnt
    ec23a86e060c pNFS: Avoid a live lock condition in pnfs_update_layout()
    b2bb8b6ec81b pNFS: Don't keep retrying if the server replied NFS4ERR_LAYOUTUNAVAILABLE
    9c8fc4b323dd staging: r8188eu: Fix warning of array overflow in ioctl_linux.c
    2595e803130b staging: r8188eu: Use zeroing allocator in wpa_set_encryption()
    d56bc9e8760a staging: r8188eu: fix rtw_alloc_hwxmits error detection for now
    6a816a0b6cc3 platform/x86/intel: hid: Add Surface Go to VGBS allow list
    7f3746461832 platform/x86: gigabyte-wmi: Add support for B450M DS3H-CF
    9352e7f0f06b platform/x86: gigabyte-wmi: Add Z690M AORUS ELITE AX DDR4 support
    76ac3964a22a gpio: dwapb: Don't print error on -EPROBE_DEFER
    eeadd7db8c3f random: credit cpu and bootloader seeds by default
    8be6646cdbe9 MIPS: Loongson-3: fix compile mips cpu_hwmon as module build error.
    5cecc6e56b85 mellanox: mlx5: avoid uninitialized variable warning with gcc-12
    f7d63b508981 gcc-12: disable '-Wdangling-pointer' warning for now
    fcba12a43081 net: ethernet: mtk_eth_soc: fix misuse of mem alloc interface netdev[napi]_alloc_frag
    27a37755ceb4 ipv6: Fix signed integer overflow in l2tp_ip6_sendmsg
    6616872cfe7f nfc: nfcmrvl: Fix memory leak in nfcmrvl_play_deferred
    af6bc0dcb16a virtio-mmio: fix missing put_device() when vm_cmdline_parent registration failed
    6759554f351a ALSA: hda/realtek - Add HW8326 support
    41b2185bcb2f scsi: pmcraid: Fix missing resource cleanup in error case
    d3b3950b00a1 scsi: ipr: Fix missing/incorrect resource cleanup in error case
    cb8aa5b92a31 scsi: mpt3sas: Fix out-of-bounds compiler warning
    4b5020fc23c8 scsi: lpfc: Allow reduced polling rate for nvme_admin_async_event cmd completion
    6782a2ccd56b scsi: lpfc: Fix port stuck in bypassed state after LIP in PT2PT topology
    5e83869e2944 scsi: lpfc: Resolve NULL ptr dereference after an ELS LOGO is aborted
    d152ce4ffecc scsi: vmw_pvscsi: Expand vcpuHint to 16 bits
    332d76dd9a3e Input: soc_button_array - also add Lenovo Yoga Tablet2 1051F to dmi_use_low_level_irq
    d6d1c0990191 ASoC: wm_adsp: Fix event generation for wm_adsp_fw_put()
    606b0226de01 ASoC: es8328: Fix event generation for deemphasis control
    d733ac5e8110 ASoC: wm8962: Fix suspend while playing music
    38ed8ab3171d quota: Prevent memory allocation recursion while holding dq_lock
    ff128fbea720 ata: libata-core: fix NULL pointer deref in ata_host_alloc_pinfo()
    4a0d2797918c drm/amdkfd: add pinned BOs to kfd_bo_list
    6d235ef00d82 ASoC: cs42l51: Correct minimum value for SX volume control
    47fc26b197aa ASoC: cs42l56: Correct typo in minimum level for SX volume controls
    b3ecd030ab28 ASoC: cs42l52: Correct TLV for Bypass Volume
    d5e7be00d128 ASoC: cs53l30: Correct number of volume levels on SX controls
    2bdfe9a32e0f ASoC: cs35l36: Update digital volume TLV
    f53212791602 ASoC: cs42l52: Fix TLV scales for mixer controls
    e4e166f10e70 dma-debug: make things less spammy under memory pressure
    09c5cdbc62d9 drm/amdkfd: Use mmget_not_zero in MMU notifier
    a2010538c9d2 drm/amd/display: Read Golden Settings Table from VBIOS
    96c22385c25b ASoC: nau8822: Add operation for internal PLL off and on
    70d6d6874db3 powerpc/kasan: Silence KASAN warnings in __get_wchan()
    9cada4a06df9 arm64: dts: imx8mn-beacon: Enable RTS-CTS on UART3
    5628b9febd78 arm64: dts: imx8mm-beacon: Enable RTS-CTS on UART3
    3145fe0ebb16 nfsd: Replace use of rwsem with errseq_t
    22fbef00c9a3 Revert "drm/amd/display: Fix DCN3 B0 DP Alt Mapping"

(From OE-Core rev: a8a7765d980442f2e5afe7e23296e5d77afe6104)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit b4d235eda915a3f21e75a24d0a23a8c094d8025d)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-07-25 15:11:46 +01:00
Bruce Ashfield
869134924a linux-yocto/5.15: drop obselete GPIO sysfs ABI
Integrating the following commit(s) to linux-yocto/.:

    6778005b9fa treewide: Drop the obsolete GPIO sysfs ABI

(From OE-Core rev: 4b896df4311b2255253280f51240dd08f2b1dc60)

Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 2c499f598fd3651c356cc218d7b1a9858467fc7c)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-07-25 15:11:46 +01:00
Bruce Ashfield
bf95167f7a linux-yocto/5.15: update to v5.15.48
Updating  to the latest korg -stable release that comprises
the following commits:

    e1dd58c995da Linux 5.15.48
    147ae04a7c52 x86/speculation/mmio: Print SMT warning
    59d665a709b0 KVM: x86/speculation: Disable Fill buffer clear within guests
    ebd0f558b480 x86/speculation/mmio: Reuse SRBDS mitigation for SBDS
    30120b433c1f x86/speculation/srbds: Update SRBDS mitigation selection
    531eb5fe3171 x86/speculation/mmio: Add sysfs reporting for Processor MMIO Stale Data
    2044838ab228 x86/speculation/mmio: Enable CPU Fill buffer clearing on idle
    407d97b99f27 x86/bugs: Group MDS, TAA & Processor MMIO Stale Data mitigations
    d74f4eb1ddf0 x86/speculation/mmio: Add mitigation for Processor MMIO Stale Data
    8b9521e71179 x86/speculation: Add a common function for MD_CLEAR mitigation update
    d822b10f97f6 x86/speculation/mmio: Enumerate Processor MMIO Stale Data bug
    1fcc3d646f0b Documentation: Add documentation for Processor MMIO Stale Data
    3a0f70149324 Linux 5.15.47
    f7019562f142 xsk: Fix possible crash when multiple sockets are created
    90385f2b65d0 tcp: fix tcp_mtup_probe_success vs wrong snd_cwnd
    cfe3dd8bd526 dmaengine: idxd: add missing callback function to support DMA_INTERRUPT
    fb5e51c0aa97 iov_iter: fix build issue due to possible type mis-match
    7f36e2e13e29 zonefs: fix handling of explicit_open option on mount
    9e4810b4e1ab PCI: qcom: Fix pipe clock imbalance
    42c0160d27f6 net/sched: act_police: more accurate MTU policing
    4c106eb89534 md/raid0: Ignore RAID0 layout if the second zone has only one device
    51e557272482 random: account for arch randomness in bits
    e59a120f2d43 random: mark bootloader randomness code as __init
    ce49b94ddb70 random: avoid checking crng_ready() twice in random_init()
    32ca45300fd9 drm/ast: Create threshold values for AST2600
    82a2059a11b4 powerpc/mm: Switch obsolete dssall to .long
    2a0165d27897 powerpc/32: Fix overread/overwrite of thread_struct via ptrace
    2b7d9fd0f372 drm/amdgpu: update VCN codec support for Yellow Carp
    cab7cd86f9e8 drm/atomic: Force bridge self-refresh-exit on CRTC switch
    142bebf827b3 drm/bridge: analogix_dp: Support PSR-exit to disable transition
    84280ab2245c powerpc: Don't select HAVE_IRQ_EXIT_ON_IRQ_STACK
    3a7a81f4835d vduse: Fix NULL pointer dereference on sysfs access
    614ad9d24f9c Input: bcm5974 - set missing URB_NO_TRANSFER_DMA_MAP urb flag
    3eb91b7bc252 ixgbe: fix unexpected VLAN Rx in promisc mode on VF
    dc2673462e3d ixgbe: fix bcast packets Rx on VF after promisc removal
    a5989ae3c53b nfc: st21nfca: fix incorrect sizing calculations in EVT_TRANSACTION
    f444ecd3f57f nfc: st21nfca: fix memory leaks in EVT_TRANSACTION handling
    73b28763050f nfc: st21nfca: fix incorrect validating logic in EVT_TRANSACTION
    bafbc134f5b0 writeback: Fix inode->i_io_list not be protected by inode->i_lock error
    cba7c76ea1e1 net: openvswitch: fix misuse of the cached connection on tuple changes
    50ca4e7f91ff net: phy: dp83867: retrigger SGMII AN when link change
    0efa89742fd8 mmc: block: Fix CQE recovery reset success
    63af49e0881c ata: libata-transport: fix {dma|pio|xfer}_mode sysfs files
    0dcc35c1c23a KEYS: trusted: tpm2: Fix migratable logic
    0cd4a1766759 cifs: fix reconnect on smb3 mount types
    7aa4b31291f1 cifs: return errors during session setup during reconnects
    700484081ea7 ALSA: hda/realtek: Add quirk for HP Dev One
    0179650a13f9 ALSA: hda/realtek: Fix for quirk to enable speaker output on the Lenovo Yoga DuetITL 2021
    7fea196ccb4e ALSA: hda/conexant - Fix loopback issue with CX20632
    04f79360c69a ALSA: usb-audio: Set up (implicit) sync for Saffire 6
    2ee0b454fda7 ALSA: usb-audio: Skip generic sync EP parse for secondary EP
    8fe1ee581846 scripts/gdb: change kernel config dumping method
    d3e38fdf9e10 vringh: Fix loop descriptors check in the indirect cases
    f293dfc18404 nodemask: Fix return values to be unsigned
    b2d359f09588 drm/amd/pm: use bitmap_{from,to}_arr32 where appropriate
    dc105d20122d cifs: version operations for smb20 unneeded when legacy support disabled
    12eb4e7db22a s390/gmap: voluntarily schedule during key setting
    c4ba982bd508 nbd: fix io hung while disconnecting device
    71c142f910da nbd: fix race between nbd_alloc_config() and module removal
    cbeafa7a79d0 nbd: call genl_unregister_family() first in nbd_cleanup()
    38d432f4b391 jump_label,noinstr: Avoid instrumentation for JUMP_LABEL=n builds
    0853f905e48b x86/cpu: Elide KCSAN for cpu_has() and friends
    4adc7d7ee640 modpost: fix undefined behavior of is_arm_mapping_symbol()
    5877390da911 um: line: Use separate IRQs per line
    e0199ce728fb drm/amd/pm: Fix missing thermal throttler status
    7b7fba107b2c drm/radeon: fix a possible null pointer dereference
    10ef82d6e0af drm/amd/display: Check if modulo is 0 before dividing.
    1daf72982efe ceph: flush the mdlog for filesystem sync
    cc983cf9ee39 ceph: allow ceph.dir.rctime xattr to be updatable
    729fea8aaf2c Revert "net: af_key: add check for pfkey_broadcast in function pfkey_process"
    2cd1adcb8c08 scsi: myrb: Fix up null pointer access on myrb_cleanup()
    b5a0f17b03df md: protect md_unregister_thread from reentrancy
    0b4a66eb96de watchdog: wdat_wdt: Stop watchdog when rebooting the system
    e369420e1234 kernfs: Separate kernfs_pr_cont_buf and rename_lock.
    d21ffa548737 serial: msm_serial: disable interrupts in __msm_console_write()
    f36e754a1f0b staging: rtl8712: fix uninit-value in r871xu_drv_init()
    95b0f54f8a89 staging: rtl8712: fix uninit-value in usb_read8() and friends
    55bfe858d019 clocksource/drivers/sp804: Avoid error on multiple instances
    368e68ad6da4 extcon: Modify extcon device to be created after driver data is set
    4785574f0caf extcon: Fix extcon_get_extcon_dev() error handling
    e7686d80fc3c misc: rtsx: set NULL intfdata when probe fails
    89401b5e9cf3 soundwire: qcom: adjust autoenumeration timeout
    547ebdc200b8 usb: dwc2: gadget: don't reset gadget's driver->bus
    98cf0cd959ef sysrq: do not omit current cpu when showing backtrace of all active CPUs
    bc8fceda3b89 char: xillybus: fix a refcount leak in cleanup_dev()
    feb0fb39695b USB: hcd-pci: Fully suspend across freeze/thaw cycle
    d88875387219 drivers: usb: host: Fix deadlock in oxu_bus_suspend()
    2cbfc38df580 drivers: tty: serial: Fix deadlock in sa1100_set_termios()
    3592cfd8b848 USB: host: isp116x: check return value after calling platform_get_resource()
    fef451f0fbbe drivers: staging: rtl8192e: Fix deadlock in rtllib_beacons_stop()
    042915c1bfed drivers: staging: rtl8192u: Fix deadlock in ieee80211_beacons_stop()
    04a8e39c8c9b thunderbolt: Use different lane for second DisplayPort tunnel
    5f9b2e4ca88c tty: Fix a possible resource leak in icom_probe
    8a95696bdc0e tty: synclink_gt: Fix null-pointer-dereference in slgt_clean()
    ae60744d5fad drivers: staging: rtl8192bs: Fix deadlock in rtw_joinbss_event_prehandle()
    f89f6c3ebf69 drivers: staging: rtl8723bs: Fix deadlock in rtw_surveydone_event_callback()
    b10e1171341c lkdtm/usercopy: Expand size of "out of frame" object
    3692f17e7036 iio: st_sensors: Add a local lock for protecting odr
    8eb42d6d10f8 staging: rtl8712: fix a potential memory leak in r871xu_drv_init()
    9f9ed31de4dd iio: dummy: iio_simple_dummy: check the return value of kstrdup()
    bd08704b8a4d iov_iter: Fix iter_xarray_get_pages{,_alloc}()
    614d81bba75d nfp: flower: restructure flow-key for gre+vlan combination
    f1fec5ccbe70 drm: imx: fix compiler warning with gcc-12
    9c1fb2e93844 tcp: use alloc_large_system_hash() to allocate table_perturb
    9b18f01a5120 net: dsa: mv88e6xxx: use BMSR_ANEGCOMPLETE bit for filling an_complete
    e31d9ba16986 net: altera: Fix refcount leak in altera_tse_mdio_create
    e6b6f98fc760 ip_gre: test csum_start instead of transport header
    356f3d808e77 net/mlx5: fs, fail conflicting actions
    0e92af67f051 net/mlx5: Rearm the FW tracer after each tracer event
    d2ebc436aab9 net/mlx5: Fix mlx5_get_next_dev() peer device matching
    65a5ea7cb9c7 net/mlx5: Lag, filter non compatible devices
    1084716f76c8 net: ipv6: unexport __init-annotated seg6_hmac_init()
    85a055c03691 net: xfrm: unexport __init-annotated xfrm4_protocol_init()
    59fa94cddf9e net: mdio: unexport __init-annotated mdio_bus_init()
    6dda4426fa77 SUNRPC: Fix the calculation of xdr->end in xdr_get_next_encode_buffer()
    71afd0ceb5b0 xsk: Fix handling of invalid descriptors in XSK TX batching API
    761b4fa75205 i40e: xsk: Move tmp desc array from driver to pool
    403659df77b6 net/mlx4_en: Fix wrong return value on ioctl EEPROM query failure
    54d6802c4d83 net: dsa: lantiq_gswip: Fix refcount leak in gswip_gphy_fw_list
    3f4d5e727aea bpf, arm64: Clear prog->jited_len along prog->jited
    c926ae58f24f af_unix: Fix a data-race in unix_dgram_peer_wake_me().
    39475043ffbc stmmac: intel: Fix an error handling path in intel_eth_pci_probe()
    40e6078fcf18 xen: unexport __init-annotated xen_xlate_map_ballooned_pages()
    23cb1fef93d2 netfilter: nf_tables: bail out early if hardware offload is not supported
    e33d9bd563e7 netfilter: nf_tables: memleak flow rule from commit path
    fb2962f9a1b4 netfilter: nf_tables: release new hooks on unsupported flowtable flags
    888312dc297a ata: pata_octeon_cf: Fix refcount leak in octeon_cf_probe
    77b68c59f6c9 netfilter: nf_tables: always initialize flowtable hook list in transaction
    ea26bf5eca14 SUNRPC: Trap RDMA segment overflows
    7a60594efdd5 powerpc/kasan: Force thread size increase with KASAN
    f275989ad041 netfilter: nf_tables: delete flowtable hooks via transaction list
    73629859a997 netfilter: nf_tables: use kfree_rcu(ptr, rcu) to release hooks in clean_net path
    bf65364cd74c netfilter: nat: really support inet nat without l3 address
    291efcb6ff49 drm/bridge: ti-sn65dsi83: Handle dsi_lanes == 0 as invalid
    fde5ff6ab6c7 drm/bridge: sn65dsi83: Fix an error handling path in sn65dsi83_probe()
    a3fc8051ee06 xprtrdma: treat all calls not a bcall when bc_serv is NULL
    21c6ee673401 f2fs: fix to tag gcing flag on page during file defragment
    b382115016c8 m68knommu: fix undefined reference to `mach_get_rtc_pll'
    4211742f0f9e RISC-V: use memcpy for kexec_file mode
    ca02b9675532 video: fbdev: pxa3xx-gcu: release the resources correctly in pxa3xx_gcu_probe/remove()
    e4cf9982ff3e video: fbdev: hyperv_fb: Allow resolutions with size > 64 MB for Gen1
    d4c2a041ed3b NFSv4: Don't hold the layoutget locks across multiple RPC calls
    7b5488f4721f dmaengine: zynqmp_dma: In struct zynqmp_dma_chan fix desc_size data type
    ed9b34f616f9 m68knommu: fix undefined reference to `_init_sp'
    40426b4f08bc m68knommu: set ZERO_PAGE() to the allocated zeroed page
    015e9831547e i2c: cadence: Increase timeout per message if necessary
    99c09b298e47 f2fs: remove WARN_ON in f2fs_is_valid_blkaddr
    fb0f1c5eb8d6 iommu/arm-smmu-v3: check return value after calling platform_get_resource()
    98dd53a92825 iommu/arm-smmu: fix possible null-ptr-deref in arm_smmu_device_probe()
    6eb85cbd9ef8 tracing: Avoid adding tracer option before update_tracer_options
    9b534640a2c6 tracing: Fix sleeping function called from invalid context on RT kernel
    c1c62c5fa9a3 tracing: Make tp_printk work on syscall tracepoints
    e8864a3c9da9 bootconfig: Make the bootconfig.o as a normal object file
    1699ec1bfb59 mips: cpc: Fix refcount leak in mips_cpc_default_phys_base
    0a0539c524fa dmaengine: idxd: set DMA_INTERRUPT cap bit
    340cf8272540 perf c2c: Fix sorting in percent_rmt_hitm_cmp()
    29357883a891 driver core: Fix wait_for_device_probe() & deferred_probe_timeout interaction
    92a930fcf425 tipc: check attribute length for bearer name
    0fcb0b131cc9 scsi: sd: Fix potential NULL pointer dereference
    73647a1f92d1 afs: Fix infinite loop found by xfstest generic/676
    0c6cd71caa7c gpio: pca953x: use the correct register address to do regcache sync
    cedca5b2f08b regulator: mt6315-regulator: fix invalid allowed mode
    66e2bf4b2cef s390/mcck: isolate SIE instruction when setting CIF_MCCK_GUEST flag
    a96cae49dcbb octeontx2-af: fix error code in is_valid_offset()
    9983f49a994e vdpa: ifcvf: set pci driver data in probe
    88cd23214620 tcp: tcp_rtx_synack() can be called from process context
    f7ca1989fd21 net: sched: add barrier to fix packet stuck problem for lockless qdisc
    4ddcfb7870cf net/mlx5e: Update netdev features after changing XDP state
    a6d0af6d329d net/mlx5: correct ECE offset in query qp output
    e5a1557906da net/mlx5: CT: Fix header-rewrite re-use for tupels
    4a333ec73dee net/mlx5e: TC NIC mode, fix tc chains miss table
    29e0872acbd1 net/mlx5: Don't use already freed action pointer
    e3b9204c08a7 virtio: pci: Fix an error handling path in vp_modern_probe()
    655aafaa80ca vdpa: Fix error logic in vdpa_nl_cmd_dev_get_doit
    4a45a7dcc55e block: make bioset_exit() fully resilient against being called twice
    06cb7e134f8f sfc: fix wrong tx channel offset with efx_separate_tx_channels
    5567d69b95b9 sfc: fix considering that all channels have TX queues
    7768d102b143 nfp: only report pause frame configuration for physical device
    3308676ec525 tcp: add accessors to read/set tp->snd_cwnd
    4d481469137d net/smc: fixes for converting from "struct smc_cdc_tx_pend **" to "struct smc_wr_tx_pend_priv *"
    6005d36fbc82 riscv: read-only pages should not be writable
    33a5c6009ab8 block: take destination bvec offsets into account in bio_copy_data_iter
    f95e24bf19e2 bpf: Fix probe read error in ___bpf_prog_run()
    d03edc02a752 selftests/bpf: fix stacktrace_build_id with missing kprobe/urandom_read
    8969c3b1051e selftests/bpf: fix selftest after random: Urandom_read tracepoint removal
    5ff2514e4fb5 ubi: ubi_create_volume: Fix use-after-free when volume creation failed
    f61b9c8760af ubi: fastmap: Fix high cpu usage of ubi_bgt by making sure wl_pool not empty
    ecc53e585965 jffs2: fix memory leak in jffs2_do_fill_super
    a53131a69515 modpost: fix removing numeric suffixes
    c1df9cb756e5 net: dsa: mv88e6xxx: Fix refcount leak in mv88e6xxx_mdios_register
    a4b7ef3b1598 net: ethernet: ti: am65-cpsw-nuss: Fix some refcount leaks
    b24ca1cf8462 net: ethernet: mtk_eth_soc: out of bounds read in mtk_hwlro_get_fdir_entry()
    1e853f235a01 net: sched: fixed barrier to prevent skbuff sticking in qdisc backlog
    a67b46468ae9 s390/crypto: fix scatterwalk_unmap() callers in AES-GCM
    8a04477f3be9 clocksource/drivers/oxnas-rps: Fix irq_of_parse_and_map() return value
    f3274083975b ASoC: fsl_sai: Fix FSL_SAI_xDR/xFR definition
    460aa288c5cd blk-mq: don't touch ->tagset in blk_mq_get_sq_hctx
    7a4afd8a003d watchdog: ts4800_wdt: Fix refcount leak in ts4800_wdt_probe
    5487a135c903 watchdog: rti-wdt: Fix pm_runtime_get_sync() error checking
    df6de52b80aa driver core: fix deadlock in __device_attach
    cdf1a683a015 driver: base: fix UAF when driver_attach failed
    40960520a940 bus: ti-sysc: Fix warnings for unbind for serial
    fdffa4ad8f6b firmware: dmi-sysfs: Fix memory leak in dmi_sysfs_register_handle
    002949a3aedb serial: stm32-usart: Correct CSIZE, bits, and parity
    8137c0e48bca serial: st-asc: Sanitize CSIZE and correct PARENB for CS7
    c11c1cdd4f0e serial: sifive: Sanitize CSIZE and c_iflag
    b1ca16ac17ad serial: sh-sci: Don't allow CS5-6
    da689ae549c5 serial: txx9: Don't allow CS5-6
    954a7194b164 serial: rda-uart: Don't allow CS5-6
    899c5aabd0a9 serial: digicolor-usart: Don't allow CS5-6
    899938f18093 serial: cpm_uart: Fix build error without CONFIG_SERIAL_CPM_CONSOLE
    8303f34e733f serial: 8250_fintek: Check SER_RS485_RTS_* only with RS485
    4c96e6aeacf5 serial: meson: acquire port->lock in startup()
    9a63ef418a4e tty: n_gsm: Fix packet data hex dump output
    80dfe1798aa0 tty: n_gsm: Don't ignore write return value in gsmld_output()
    029983ea88e5 staging: r8188eu: add check for kzalloc
    e1928887219b rtc: ftrtc010: Fix error handling in ftrtc010_rtc_probe
    49f698e22052 rtc: ftrtc010: Use platform_get_irq() to get the interrupt
    865051de2d9e rtc: mt6397: check return value after calling platform_get_resource()
    fb60291c0fde ARM: dts: aspeed: ast2600-evb: Enable RX delay for MAC0/MAC1
    604e35f70475 clocksource/drivers/riscv: Events are stopped during CPU suspend
    aab25b669cb9 soc: rockchip: Fix refcount leak in rockchip_grf_init
    a6061695bb2b extcon: ptn5150: Add queue work sync before driver release
    cf824b95c12a ksmbd: fix reference count leak in smb_check_perm_dacl()
    fffde6d1c679 coresight: cpu-debug: Replace mutex with mutex_trylock on panic notifier
    fd18fb38d6a4 soundwire: intel: prevent pm_runtime resume prior to system suspend
    b3983b1042e4 export: fix string handling of namespace in EXPORT_SYMBOL_NS
    cbf9172eb657 serial: sifive: Report actual baud base rather than fixed 115200
    5157979d8c79 power: supply: axp288_fuel_gauge: Drop BIOS version check from "T3 MRD" DMI quirk
    90e2993c8d88 phy: qcom-qmp: fix pipe-clock imbalance on power-on failure
    ede251293753 misc/pvpanic: Convert regular spinlock into trylock on panic path
    ee94d7468679 pvpanic: Fix typos in the comments
    d2ba56d55cea rpmsg: qcom_smd: Fix returning 0 if irq_of_parse_and_map() fails
    276f7c6165bf iio: adc: sc27xx: Fine tune the scale calibration values
    31f3f2a598f6 iio: adc: sc27xx: fix read big scale voltage not right
    7c7bc8b82fff iio: proximity: vl53l0x: Fix return value check of wait_for_completion_timeout
    79f83f388ba3 iio: adc: stmpe-adc: Fix wait_for_completion_timeout return value check
    4ff1449e8fd9 rpmsg: virtio: Fix the unregistration of the device rpmsg_ctrl
    b94d40c792de rpmsg: virtio: Fix possible double free in rpmsg_virtio_add_ctrl_dev()
    eaf37bb6b4f7 rpmsg: virtio: Fix possible double free in rpmsg_probe()
    12452c776090 usb: typec: mux: Check dev_set_name() return value
    3b687b407179 firmware: stratix10-svc: fix a missing check on list iterator
    c25feda42f14 misc: fastrpc: fix an incorrect NULL check on list iterator
    c8eb1ea6e839 usb: dwc3: pci: Fix pm_runtime_get_sync() error checking
    1c6e5dc3b639 usb: dwc3: gadget: Replace list_for_each_entry_safe() if using giveback
    603efacb71e3 rpmsg: qcom_smd: Fix irq_of_parse_and_map() return value
    c49c6a1bf02d pwm: raspberrypi-poe: Fix endianness in firmware struct
    2c0079979df6 pwm: lp3943: Fix duty calculation in case period was clamped
    52e848568aa3 staging: fieldbus: Fix the error handling path in anybuss_host_common_probe()
    10243224fd45 usb: musb: Fix missing of_node_put() in omap2430_probe
    09ad026dac0e USB: storage: karma: fix rio_karma_init return
    90ab34df6654 usb: usbip: add missing device lock on tweak configuration cmd
    51422046be50 usb: usbip: fix a refcount leak in stub_probe()
    433a689cadea remoteproc: imx_rproc: Ignore create mem entry for resource table
    b62bbf8a4753 tty: serial: fsl_lpuart: fix potential bug when using both of_alias_get_id and ida_simple_get
    923d34ce069e serial: 8250_aspeed_vuart: Fix potential NULL dereference in aspeed_vuart_probe
    c84fa729f8db tty: n_tty: Restore EOF push handling behavior
    f307bdb67018 tty: serial: owl: Fix missing clk_disable_unprepare() in owl_uart_probe
    da64f419d7f7 tty: goldfish: Use tty_port_destroy() to destroy port
    20e75f3c6e09 lkdtm/bugs: Don't expect thread termination without CONFIG_UBSAN_TRAP
    1aeeca2b8397 lkdtm/bugs: Check for the NULL pointer after calling kmalloc
    1deb5f87053e iio: adc: ad7124: Remove shift from scan_type
    b34163bf9967 staging: greybus: codecs: fix type confusion of list iterator variable
    9d919665a089 pcmcia: db1xxx_ss: restrict to MIPS_DB1XXX boards

(From OE-Core rev: cf7921ae622025cfbddf080c16576c63771fd693)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 032c682d0f026ba664f289681d1a76b0f56c4b23)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-07-25 15:11:46 +01:00
Bruce Ashfield
feb63e3c9f linux-yocto/5.15: update to v5.15.46
Updating  to the latest korg -stable release that comprises
the following commits:

    aed23654e8ed Linux 5.15.46
    c24cff012420 block: fix bio_clone_blkg_association() to associate with proper blkcg_gq
    97a40c22013a pinctrl/rockchip: support setting input-enable param
    2027647245ef md: bcache: check the return value of kzalloc() in detached_dev_do_request()
    36a2fc44c574 md: fix double free of io_acct_set bioset
    f63fd1e0e0fc md: Don't set mddev private to NULL in raid0 pers->free
    61decb58486d fs/ntfs3: Fix invalid free in log_replay
    00f1de9cffec exportfs: support idmapped mounts
    e5b310b512e7 fs: add two trivial lookup helpers
    b175e8c46d93 interconnect: qcom: icc-rpmh: Add BCMs to commit list in pre_aggregate
    8e79bf98061c interconnect: qcom: sc7180: Drop IP0 interconnects
    d973bc80e7d4 ext4: only allow test_dummy_encryption when supported
    cd2086394f04 MIPS: IP30: Remove incorrect `cpu_has_fpu' override
    bfa8e0dfa2ff MIPS: IP27: Remove incorrect `cpu_has_fpu' override
    9262f0ce3c76 RDMA/rxe: Generate a completion for unsupported/invalid opcode
    83f4a22ca6ec RDMA/hns: Remove the num_cqc_timer variable
    fdcb03632ab6 staging: r8188eu: delete rtw_wx_read/write32()
    6004fccaf82f Revert "random: use static branch for crng_ready()"
    358f12ae2e53 list: test: Add a test for list_is_head()
    85a2806c40da kseltest/cgroup: Make test_stress.sh work if run interactively
    1810bafaca2b net: ipa: fix page free in ipa_endpoint_replenish_one()
    f654596e3a08 net: ipa: fix page free in ipa_endpoint_trans_release()
    ba173a6f8d8d phy: qcom-qmp: fix reset-controller leak on probe errors
    e9f53bfcd4ae coresight: core: Fix coresight device probe failure issue
    a30acbb5dfb7 blk-iolatency: Fix inflight count imbalances and IO hangs on offline
    501c5eae2697 vdpasim: allow to enable a vq repeatedly
    bd56db7cb81e dt-bindings: gpio: altera: correct interrupt-cells
    5b726ed6a54c docs/conf.py: Cope with removal of language=None in Sphinx 5.0.0
    b5cb51cf21f5 SMB3: EBADF/EIO errors in rename/open caused by race condition in smb2_compound_op
    54de256d35b0 ARM: pxa: maybe fix gpio lookup tables
    2c3dd5badde8 ARM: dts: s5pv210: Remove spi-cs-high on panel in Aries
    b246695636a8 phy: qcom-qmp: fix struct clk leak on probe errors
    ebc56b0f737b clk: tegra: Add missing reset deassertion
    c465cf934bb1 arm64: tegra: Add missing DFLL reset on Tegra210
    977cc97b2e50 arm64: dts: qcom: ipq8074: fix the sleep clock frequency
    99367bf45dc6 gma500: fix an incorrect NULL check on list iterator
    9a1f41d77bb4 tilcdc: tilcdc_external: fix an incorrect NULL check on list iterator
    339ddef25f86 serial: pch: don't overwrite xmit->buf[0] by x_char
    5607652823ac bcache: avoid journal no-space deadlock by reserving 1 journal bucket
    cc7ff57a0acf bcache: remove incremental dirty sector counting for bch_sectors_dirty_init()
    df973468f9ce bcache: improve multithreaded bch_sectors_dirty_init()
    a5580b90d378 bcache: improve multithreaded bch_btree_check()
    2037d8cf8ceb stm: ltdc: fix two incorrect NULL checks on list iterator
    9161ae1c04cd carl9170: tx: fix an incorrect use of list iterator
    91d973aa0d69 ASoC: rt5514: Fix event generation for "DSP Voice Wake Up" control
    6ad81ad0cf57 rtl818x: Prevent using not initialized queues
    4b02493838d9 xtensa/simdisk: fix proc_read_simdisk()
    fd9a5081ee33 mm/memremap: fix missing call to untrack_pfn() in pagemap_range()
    715455ca5e81 hugetlb: fix huge_pmd_unshare address update
    0a561368ceca nodemask.h: fix compilation error with GCC12
    fb49bd85dfac mm/page_alloc: always attempt to allocate at least one page during bulk allocation
    c142bddf3706 Revert "mm/cma.c: remove redundant cma_mutex lock"
    f81e67efa712 iommu/dma: Fix iova map result check bug
    a3f98e4331e0 iommu/msm: Fix an incorrect NULL check on list iterator
    69c14d29727c ksmbd: fix outstanding credits related bugs
    cae2978d6907 ftrace: Clean up hash direct_functions on register failures
    53b858c80753 kexec_file: drop weak attribute from arch_kexec_apply_relocations[_add]
    10995a382271 um: Fix out-of-bounds read in LDT setup
    06ebe1bd3071 um: chan_user: Fix winch_tramp() return value
    b012254ad018 um: Use asm-generic/dma-mapping.h
    92dce560a809 mac80211: upgrade passive scan to active scan on DFS channels after beacon rx
    9cf980092286 cfg80211: declare MODULE_FIRMWARE for regulatory.db
    8e354518f576 thermal: devfreq_cooling: use local ops instead of global ops
    de23a6a1a31f irqchip: irq-xtensa-mx: fix initial IRQ affinity
    297c9c640d6e irqchip/armada-370-xp: Do not touch Performance Counter Overflow on A375, A38x, A39x
    ba810df878b0 csky: patch_text: Fixup last cpu should be master
    f828af2c527d mmc: core: Allows to override the timeout value for ioctl() path
    3f09ec80f115 RDMA/hfi1: Fix potential integer multiplication overflow errors
    64639d11186e Kconfig: Add option for asm goto w/ tied outputs to workaround clang-13 bug
    3892794a1813 ima: remove the IMA_TEMPLATE Kconfig option
    5fd1717439ea media: coda: Add more H264 levels for CODA960
    dc2672109c86 media: coda: Fix reported H264 profile
    c925d688e4dc mtd: cfi_cmdset_0002: Use chip_ready() for write on S29GL064N
    b974364bda19 mtd: cfi_cmdset_0002: Move and rename chip_check/chip_ready/chip_good_for_write
    a105177c0510 md: fix an incorrect NULL check in md_reload_sb
    7907930218a6 md: fix an incorrect NULL check in does_sb_need_changing
    35511d4fdd6b drm/i915/dsi: fix VBT send packet port selection for ICL+
    df1f9631eb6d drm/bridge: analogix_dp: Grab runtime PM reference for DP-AUX
    a810f54d0576 drm/nouveau/kms/nv50-: atom: fix an incorrect NULL check on list iterator
    d1efc36beaaa drm/nouveau/clk: Fix an incorrect NULL check on list iterator
    03bd455a79f6 drm/etnaviv: check for reaped mapping in etnaviv_iommu_unmap_gem
    6e842e680bf0 drm/nouveau/subdev/bus: Ratelimit logging for fault errors
    70276460e914 drm/amdgpu/cs: make commands with 0 chunks illegal behaviour.
    f55f9e7ce63b landlock: Fix same-layer rule unions
    f859580c2738 landlock: Create find_rule() from unmask_layers()
    f7d62cb59f6d landlock: Reduce the maximum number of layers to 16
    f4cd27b8466a landlock: Define access_mask_t to enforce a consistent access mask size
    90136f20a3d4 selftests/landlock: Test landlock_create_ruleset(2) argument check ordering
    c1d9c0d0c7a9 landlock: Change landlock_restrict_self(2) check ordering
    1707df9edaed landlock: Change landlock_add_rule(2) argument check ordering
    bb416965dbb8 selftests/landlock: Add tests for O_PATH
    e3e10606ba50 selftests/landlock: Fully test file rename with "remove" access
    df2af378bc0c selftests/landlock: Extend access right tests to directories
    1d6722353be7 selftests/landlock: Add tests for unknown access rights
    d709e275a05b selftests/landlock: Extend tests for minimal valid attribute size
    a6d127b86916 selftests/landlock: Make tests build with old libc
    e42fd0775536 landlock: Fix landlock_add_rule(2) documentation
    ef350611729b samples/landlock: Format with clang-format
    ace624691974 samples/landlock: Add clang-format exceptions
    de7a39e84588 selftests/landlock: Format with clang-format
    43c3014c6fd4 selftests/landlock: Normalize array assignment
    f5c70d9deab0 selftests/landlock: Add clang-format exceptions
    695c7c06162a landlock: Format with clang-format
    58f52ad1d0ad landlock: Add clang-format exceptions
    1be49ae16f53 scsi: ufs: qcom: Add a readl() to make sure ref_clk gets enabled
    a078e6e8f4e3 scsi: dc395x: Fix a missing check on list iterator
    9c96238fac04 ocfs2: dlmfs: fix error handling of user_dlm_destroy_lock
    e70f0582805b dlm: fix missing lkb refcount handling
    697b45d5f06a dlm: uninitialized variable on error in dlm_listen_for_all()
    acdad5bc9827 dlm: fix plock invalid read
    f19e2e1d8528 s390/stp: clock_delta should be signed
    42b2f5ddc220 s390/perf: obtain sie_block from the right address
    20e6ec76aed4 mm, compaction: fast_find_migrateblock() should return pfn in the target zone
    ac2eab7de458 staging: r8188eu: prevent ->Ssid overflow in rtw_wx_set_scan()
    a7daaaa84548 PCI: qcom: Fix unbalanced PHY init on probe errors
    4f9d6407b607 PCI: qcom: Fix runtime PM imbalance on probe errors
    0db67767ff3a PCI/PM: Fix bridge_d3_blacklist[] Elo i2 overwrite of Gigabyte X299
    283bda02d0c1 drm/amdgpu: add beige goby PCI ID
    4ef5ab5344ba tracing: Initialize integer variable to prevent garbage return value
    37443b3508b8 tracing: Fix potential double free in create_var_ref()
    0b011b408f34 tty: goldfish: Introduce gf_ioread32()/gf_iowrite32()
    b3485d2b09e9 ACPI: property: Release subnode properties with data nodes
    3a3ce9416454 ext4: avoid cycles in directory h-tree
    ca17db384762 ext4: verify dir block before splitting it
    3c617827cd51 ext4: fix bug_on in __es_tree_search
    b99fd7341835 ext4: filter out EXT4_FC_REPLAY from on-disk superblock field s_state
    18a759f7f99f ext4: fix bug_on in ext4_writepages
    b81d2ff6885e ext4: fix warning in ext4_handle_inode_extension
    14602353b350 ext4: fix race condition between ext4_write and ext4_convert_inline_data
    364380c00912 ext4: fix use-after-free in ext4_rename_dir_prepare
    3e4b684f1e32 ext4: mark group as trimmed only if it was fully scanned
    6ee0868b0c3c bfq: Make sure bfqg for which we are queueing requests is online
    86defc542441 bfq: Get rid of __bio_blkcg() usage
    54c08ef2d296 bfq: Track whether bfq_group is still online
    2b802c0cb872 bfq: Remove pointless bfq_init_rq() calls
    a107df383c16 bfq: Drop pointless unlock-lock pair
    e8821f45612f bfq: Update cgroup information before merging bio
    81b7d0c717a4 bfq: Split shared queues on move between cgroups
    5ee21edaed09 bfq: Avoid merging queues with different parents
    d639a4c0df2b bfq: Avoid false marking of bic as stably merged
    65237307f88f efi: Do not import certificates from UEFI Secure Boot for T2 Macs
    9bc601c6642c fs-writeback: writeback_sb_inodes:Recalculate 'wrote' according skipped pages
    87737ee52963 iwlwifi: mvm: fix assert 1F04 upon reconfig
    b79110f2bf60 wifi: mac80211: fix use-after-free in chanctx code
    4a6ca6f8a3a0 objtool: Fix symbol creation
    c49238245dd9 objtool: Fix objtool regression on x32 systems
    7cfe2d43beca f2fs: fix to do sanity check for inline inode
    59f42b415002 f2fs: fix fallocate to use file_modified to update permissions consistently
    6bde47f4e813 f2fs: don't use casefolded comparison for "." and ".."
    c9e4cd5b0ccd f2fs: fix to do sanity check on total_data_blocks
    01572a3cb59f f2fs: don't need inode lock for system hidden quota
    7fc40280103f f2fs: fix deadloop in foreground GC
    c9196d21359b f2fs: fix to clear dirty inode in f2fs_evict_inode()
    f2e1c38b5ac6 f2fs: fix to do sanity check on block address in f2fs_do_zero_range()
    bce859358d3d f2fs: fix to avoid f2fs_bug_on() in dec_valid_node_count()
    54c408800f3f NFSv4.1 mark qualified async operations as MOVEABLE tasks
    c5665c29dd41 NFS: Convert GFP_NOFS to GFP_KERNEL
    29b51ae02df5 NFS: Create a new nfs_alloc_fattr_with_label() function
    00fa80189c97 NFS: Always initialise fattr->label in nfs_fattr_alloc()
    0fac5f8fb1bc video: fbdev: vesafb: Fix a use-after-free due early fb_info cleanup
    7654c4563501 perf jevents: Fix event syntax error caused by ExtSel
    590df0a151d3 perf c2c: Use stdio interface if slang is not supported
    06e4fa5a5cbf perf build: Fix btf__load_from_kernel_by_id() feature check
    b52e192ffda8 i2c: rcar: fix PM ref counts in probe error paths
    c06cfe582f42 i2c: npcm: Handle spurious interrupts
    708c34bc723d i2c: npcm: Correct register access width
    84721299cb9f i2c: npcm: Fix timeout calculation
    7e4bfd3b9a59 iommu/amd: Increase timeout waiting for GA log enablement
    85c2d1bb73de dmaengine: stm32-mdma: fix chan initialization in stm32_mdma_irq_handler()
    33b5d6add852 dmaengine: stm32-mdma: remove GISR1 register
    f2dfb4ab887d video: fbdev: clcdfb: Fix refcount leak in clcdfb_of_vram_setup
    08b9d374c84a NFS: Further fixes to the writeback error handling
    eaf407d5b5fe NFSv4/pNFS: Do not fail I/O when we fail to allocate the pNFS layout
    471577e926eb NFS: Don't report errors from nfs_pageio_complete() more than once
    a3bbd8b1aa4c NFS: Do not report flush errors in nfs_write_end()
    3a2d62ec419b NFS: Don't report ENOSPC write errors twice
    0d548c0c7082 NFS: fsync() should report filesystem errors over EINTR/ERESTARTSYS
    79e0b7436bc4 NFS: Do not report EINTR/ERESTARTSYS as mapping errors
    b3c7b5d08e9d dmaengine: idxd: Fix the error handling path in idxd_cdev_register()
    b9c9b4584b4b i2c: at91: Initialize dma_buf in at91_twi_xfer()
    c3c2734e28d7 iommu/mediatek: Fix NULL pointer dereference when printing dev_name
    646070b64836 MIPS: Loongson: Use hwmon_device_register_with_groups() to register hwmon
    fc90f13ea0dc iommu/arm-smmu-v3-sva: Fix mm use-after-free
    2f124280f0ae cpufreq: mediatek: Unregister platform device on exit
    4477a67d0b56 cpufreq: mediatek: Use module_init and add module_exit
    8d27c2186eea i2c: at91: use dma safe buffers
    596f59d33691 iommu/mediatek: Add mutex for m4u_group and m4u_dom in data
    053465ab20dc iommu/mediatek: Remove clk_disable in mtk_iommu_remove
    a216539403ca iommu/mediatek: Add list_del in mtk_iommu_remove
    bf45d764616a iommu/mediatek: Fix 2 HW sharing pgtable issue
    9e53c25f3266 iommu/amd: Enable swiotlb in all cases
    45b2b7d7108a f2fs: fix dereference of stale list iterator after loop body
    250e5a6be52a f2fs: fix to do sanity check on inline_dots inode
    2646992ddf3e f2fs: support fault injection for dquot_initialize()
    24705fd3f390 OPP: call of_node_put() on error path in _bandwidth_supported()
    64522155ea73 Input: stmfts - do not leave device disabled in stmfts_input_open
    4f1c4fa37f8b KVM: LAPIC: Drop pending LAPIC timer injection when canceling the timer
    ca55150bff58 RDMA/hfi1: Prevent use of lock before it is initialized
    119f99209d85 mailbox: forward the hrtimer if not queued and under a lock
    075564ed4089 nfsd: destroy percpu stats counters after reply cache shutdown
    5289795824b7 mfd: davinci_voicecodec: Fix possible null-ptr-deref davinci_vc_probe()
    7b668a59ddfb powerpc/fsl_rio: Fix refcount leak in fsl_rio_setup
    65f11ccdd746 powerpc/xive: Fix refcount leak in xive_spapr_init
    fd7a3548af09 powerpc/xive: Add some error handling code to 'xive_spapr_init()'
    f04604987c7b macintosh: via-pmu and via-cuda need RTC_LIB
    bd89ccd736bf powerpc/perf: Fix the threshold compare group constraint for power9
    42063c1c1fb1 powerpc/perf: Fix the threshold compare group constraint for power10
    5a8849d3cb80 powerpc/64: Only WARN if __pa()/__va() called with bad addresses
    2530a7c23643 hwrng: omap3-rom - fix using wrong clk_disable() in omap_rom_rng_runtime_resume()
    bb1030d3de10 PCI: microchip: Fix potential race in interrupt handling
    acb748fdc59e PCI/AER: Clear MULTI_ERR_COR/UNCOR_RCV bits
    418b6a3e12f7 Input: sparcspkr - fix refcount leak in bbc_beep_probe
    35972ce3fb7a hugetlbfs: fix hugetlbfs_statfs() locking
    cd4815c5c97f ARM: dts: at91: sama7g5: remove interrupt-parent from gic node
    2a30446f4014 crypto: cryptd - Protect per-CPU resource by disabling BH.
    de5b734db295 crypto: sun8i-ss - handle zero sized sg
    bbfc612ac579 crypto: sun8i-ss - rework handling of IV
    18ca0d55e863 tty: fix deadlock caused by calling printk() under tty_port->lock
    518fa6bc7a52 PCI: imx6: Fix PERST# start-up sequence
    6df8af611d60 ipc/mqueue: use get_tree_nodev() in mqueue_get_tree()
    f588b925915a proc: fix dentry/inode overinstantiating under /proc/${pid}/net
    eb610fdf4916 ASoC: atmel-classd: Remove endianness flag on class d component
    7553130725eb ASoC: atmel-pdmic: Remove endianness flag on pdmic component
    dd0ee5549368 arm64: dts: marvell: espressobin-ultra: enable front USB3 port
    4ece24db394c arm64: dts: marvell: espressobin-ultra: fix SPI-NOR config
    e42ceeca700a RDMA/hns: Add the detection for CMDQ status in the device initialization process
    4237eb9bdf59 powerpc/4xx/cpm: Fix return value of __setup() handler
    c8a9b3defaad powerpc/idle: Fix return value of __setup() handler
    5ed0519d4256 pinctrl: renesas: core: Fix possible null-ptr-deref in sh_pfc_map_resources()
    6a9992f80c0f pinctrl: renesas: r8a779a0: Fix GPIO function on I2C-capable pins
    6cc90d5d449e powerpc/8xx: export 'cpm_setbrg' for modules
    878f89e7261e drm/msm/dpu: fix error check return value of irq_of_parse_and_map()
    5d5d993f16be list: fix a data-race around ep->rdllist
    8be32624f457 list: introduce list_is_head() helper and re-use it in list.h
    b53f6ba21b94 firmware: arm_ffa: Remove incorrect assignment of driver_data
    b5c203ea0b96 firmware: arm_ffa: Fix uuid parameter to ffa_partition_probe
    eca2c185bbbf drivers/base/memory: fix an unlikely reference counting issue in __add_memory_block()
    42ff63c485eb dax: fix cache flush on PMD-mapped pages
    b3fcf1f583b1 drivers/base/node.c: fix compaction sysfs file leak
    05f34867b616 pinctrl: mvebu: Fix irq_of_parse_and_map() return value
    638d39ed2ce6 nvdimm: Allow overwrite in the presence of disabled dimms
    2f97ebc58d5f nvdimm: Fix firmware activation deadlock scenarios
    98342148a8cd firmware: arm_scmi: Fix list protocols enumeration in the base protocol
    cff2553569f3 ASoC: sh: rz-ssi: Release the DMA channels in rz_ssi_probe() error path
    b7c13643e1f6 ASoC: sh: rz-ssi: Propagate error codes returned from platform_get_irq_byname()
    94241e74b79c ASoC: sh: rz-ssi: Check return value of pm_runtime_resume_and_get()
    d5e9dd4f651e arm64: dts: ti: k3-am64-mcu: remove incorrect UART base clock rates
    5650e103bfc7 soc: bcm: Check for NULL return of devm_kzalloc()
    45f1920e26eb scsi: fcoe: Fix Wstringop-overflow warnings in fcoe_wwn_from_mac()
    c762c4206bb4 mfd: ipaq-micro: Fix error check return value of platform_get_irq()
    2db3a8f54184 powerpc/fadump: fix PT_LOAD segment for boot memory area
    40c84e778e5f Drivers: hv: vmbus: Fix handling of messages with transaction ID of zero
    c43efa63a610 arm64: dts: qcom: qrb5165-rb5: Fix can-clock node name
    01d4fe0380f9 pinctrl: mediatek: mt8195: enable driver on mtk platforms
    dbd72f452e21 pinctrl/rockchip: support deferring other gpio params
    ffea838686b8 arm: mediatek: select arch timer for mt7629
    2b9f355ad891 pinctrl: bcm2835: implement hook for missing gpio-ranges
    20340be21699 gpiolib: of: Introduce hook for missing gpio-ranges
    ef1e9def63e4 crypto: marvell/cesa - ECB does not IV
    8fb674216835 misc: ocxl: fix possible double free in ocxl_file_register_afu
    11ee8e960007 ARM: dts: bcm2835-rpi-b: Fix GPIO line names
    fafc8daf0a24 ARM: dts: bcm2837-rpi-3-b-plus: Fix GPIO line name of power LED
    fdafe0bb000e ARM: dts: bcm2837-rpi-cm3-io3: Fix GPIO line names for SMPS I2C
    a444bafd72f3 ARM: dts: bcm2835-rpi-zero-w: Fix GPIO line name for Wifi/BT
    775992b4cb1d ARM: dts: stm32: Fix PHY post-reset delay on Avenger96
    ec65a8d8ca30 can: xilinx_can: mark bit timing constants as const
    6830891ed5e4 platform/chrome: Re-introduce cros_ec_cmd_xfer and use it for ioctls
    fc1e9dd97cec ARM: dts: imx6dl-colibri: Fix I2C pinmuxing
    9816480848c3 platform/chrome: cros_ec: fix error handling in cros_ec_register()
    55e1c42d968f crypto: qat - set COMPRESSION capability for DH895XCC
    7829a8595825 crypto: qat - set CIPHER capability for DH895XCC
    bb170dac3b7f crypto: qat - set COMPRESSION capability for QAT GEN2
    69f4641ad492 crypto: qat - set CIPHER capability for QAT GEN2
    99ace864e53e KVM: nVMX: Clear IDT vectoring on nested VM-Exit for double/triple fault
    a1d52910a0f4 KVM: nVMX: Leave most VM-Exit info fields unmodified on failed VM-Entry
    854904552ee7 soc: qcom: llcc: Add MODULE_DEVICE_TABLE()
    940808971b19 ARM: dts: ci4x10: Adapt to changes in imx6qdl.dtsi regarding fec clocks
    16c25287acd0 PCI: dwc: Fix setting error return on MSI DMA mapping failure
    ad1c9d13e045 PCI: mediatek: Fix refcount leak in mtk_pcie_subsys_powerup()
    d41a739cc7c1 PCI: rockchip: Fix find_first_zero_bit() limit
    d3c684749f87 PCI: cadence: Fix find_first_zero_bit() limit
    c0730d8658c0 soc: qcom: smsm: Fix missing of_node_put() in smsm_parse_ipc
    e13ad5f23049 soc: qcom: smp2p: Fix missing of_node_put() in smp2p_parse_ipc
    3f4c0083dd9a ARM: dts: suniv: F1C100: fix watchdog compatible
    86a8ed8793f8 ARM: dts: BCM5301X: Update pin controller node name
    5151f24ac937 ARM: dts: BCM5301X: update CRU block description
    cd1d22174175 memory: samsung: exynos5422-dmc: Avoid some over memory allocation
    4cb6687016b4 PCI/ACPI: Allow D3 only if Root Port can signal and wake from D3
    364f93243355 arm64: dts: mt8192: Fix nor_flash status disable typo
    e1d36fb7e70c arm64: dts: rockchip: Move drive-impedance-ohm to emmc phy on rk3399
    a48a7f89494f dma-direct: don't over-decrypt memory
    5beb74d11eab dma-direct: always leak memory that can't be re-encrypted
    9ba801c80c47 dma-direct: don't call dma_set_decrypted for remapped allocations
    82b3f045aff5 dma-direct: factor out dma_set_{de,en}crypted helpers
    8eb0e5a2659c net/smc: postpone sk_refcnt increment in connect()
    23a576718345 net: dsa: restrict SMSC_LAN9303_I2C kconfig
    90920566df88 hinic: Avoid some over memory allocation
    2ba52ad365c1 net: huawei: hinic: Use devm_kcalloc() instead of devm_kzalloc()
    d8642575a55d rxrpc: Fix decision on when to generate an IDLE ACK
    12098cebf07b rxrpc: Don't let ack.previousPacket regress
    9d5c62e63ae7 rxrpc: Fix overlapping ACK accounting
    cea2196643b2 rxrpc: Don't try to resend the request if we're receiving the reply
    b3a9b227d5e7 rxrpc: Fix listen() setting the bar too high for the prealloc rings
    1047d4ac6677 hwmon: (pmbus) Check PEC support before reading other registers
    a459bd84ad41 hv_netvsc: Fix potential dereference of NULL pointer
    651c6b2d1dac net: stmmac: fix out-of-bounds access in a selftest
    41f3571616ac net: stmmac: selftests: Use kcalloc() instead of kzalloc()
    38acee9e1453 ASoC: max98090: Move check for invalid values before casting in max98090_put_enab_tlv()
    a89ca82d6bf2 NFC: hci: fix sleep in atomic context bugs in nfc_hci_hcp_message_tx
    aa5b6d09ff66 net: macb: Fix PTP one step sync support
    37fd61fc7020 PM: domains: Fix initialization of genpd's next_wakeup
    85a18d128d18 ASoC: wm2000: fix missing clk_disable_unprepare() on error in wm2000_anc_transition()
    cf9c07d8f7e9 bfq: Allow current waker to defend against a tentative one
    9de82bfc0514 bfq: Relax waker detection for shared queues
    3ade442ea5d3 thermal/drivers/imx_sc_thermal: Fix refcount leak in imx_sc_thermal_probe
    21ccc58b671a thermal/core: Fix memory leak in __thermal_cooling_device_register()
    ef1235c6514a thermal/drivers/broadcom: Fix potential NULL dereference in sr_thermal_probe
    c4e1280abead thermal/drivers/bcm2711: Don't clamp temperature at zero
    d50d1c703bbd drm/i915: Fix CFI violation with show_dynamic_id()
    a1bcaea4afca drm/msm/dpu: handle pm_runtime_get_sync() errors in bind path
    3e6a23ce7460 selftests/bpf: Add missed ima_setup.sh in Makefile
    beb81c13d020 drm/msm: don't free the IRQ if it was not requested
    00fcd8552cce x86/sev: Annotate stack change in the #VC handler
    33546183c16c drm: msm: fix possible memory leak in mdp5_crtc_cursor_set()
    edff4c1af831 drm/msm/a6xx: Fix refcount leak in a6xx_gpu_init
    a11f4f01885a ext4: reject the 'commit' option on ext2 filesystems
    9ebbfa73d699 regulator: scmi: Fix refcount leak in scmi_regulator_probe
    692c8de5bdbc media: rkvdec: h264: Fix bit depth wrap in pps packet
    9031ef386621 media: rkvdec: h264: Fix dpb_valid implementation
    3c90fdbac6b2 media: staging: media: rkvdec: Make use of the helper function devm_platform_ioremap_resource()
    54d6fdf66dd4 media: i2c: ov5648: fix wrong pointer passed to IS_ERR() and PTR_ERR()
    8329361a3eba media: ov7670: remove ov7670_power_off from ov7670_remove
    018b0292c180 kselftest/arm64: bti: force static linking
    2a3966b950b3 ASoC: ti: j721e-evm: Fix refcount leak in j721e_soc_probe_*
    cf31d1ef3839 net: hinic: add missing destroy_workqueue in hinic_pf_to_mgmt_init
    9b01252e6c20 sctp: read sk->sk_bound_dev_if once in sctp_rcv()
    d17b01588e0c m68k: math-emu: Fix dependencies of math emulation support
    b5518b9b41f1 nvme: set dma alignment to dword
    ce237c1e252d Bluetooth: use hdev lock for accept_list and reject_list in conn req
    ab00f8c6b14e Bluetooth: use hdev lock in activate_scan for hci_is_adv_monitoring
    65d347cb39e2 Bluetooth: fix dangling sco_conn and use-after-free in sco_sock_timeout
    dd646f51808e media: hantro: HEVC: Fix tile info buffer value computation
    1207ddc93b9e media: atmel: atmel-sama5d2-isc: fix wrong mask in YUYV format check
    a4cd52464bf2 media: vsp1: Fix offset calculation for plane cropping
    3309c2c574e1 media: pvrusb2: fix array-index-out-of-bounds in pvr2_i2c_core_init
    2f6ced0e8fa5 media: exynos4-is: Change clk_disable to clk_disable_unprepare
    b6db1bbeaf79 media: i2c: rdacm2x: properly set subdev entity function
    f0d9105f2843 media: atmel: atmel-isc: Fix PM disable depth imbalance in atmel_isc_probe
    204e53586b36 media: st-delta: Fix PM disable depth imbalance in delta_probe
    0d2127608348 mt76: do not attempt to reorder received 802.3 packets without agg session
    663457f421d4 mt76: mt7921: Fix the error handling path of mt7921_pci_probe()
    8ffc866d2f18 media: exynos4-is: Fix PM disable depth imbalance in fimc_is_probe
    819c8af5e572 media: aspeed: Fix an error handling path in aspeed_video_probe()
    795cc5b2b5a2 scripts/faddr2line: Fix overlapping text section failures
    7fc8f4717e39 kselftest/cgroup: fix test_stress.sh to use OUTPUT dir
    d63ffecd1136 block: Fix the bio.bi_opf comment
    85d899f39662 ASoC: samsung: Fix refcount leak in aries_audio_probe
    e2fa42e4c231 ASoC: samsung: Use dev_err_probe() helper
    6635e6ba1649 dma-direct: don't fail on highmem CMA pages in dma_direct_alloc_pages
    639518f8e0d3 dma-direct: factor out a helper for DMA_ATTR_NO_KERNEL_MAPPING allocations
    56ab0c010274 regulator: pfuze100: Fix refcount leak in pfuze_parse_regulators_dt
    244911244066 ASoC: mxs-saif: Fix refcount leak in mxs_saif_probe
    cf760e494ee5 ASoC: imx-hdmi: Fix refcount leak in imx_hdmi_probe
    922bccdb1796 ASoC: fsl: Fix refcount leak in imx_sgtl5000_probe
    8737b5163f4e ASoC: fsl: Use dev_err_probe() helper
    319d60b74860 HID: amd_sfh: Modify the hid name
    21e8fc0c574c HID: amd_sfh: Modify the bus name
    7fef8ec5b1d8 wilc1000: fix crash observed in AP mode with cfg80211_register_netdevice()
    1eb4f56f8ff9 ath11k: Don't check arvif->is_started before sending management frames
    84e92386d12d perf/amd/ibs: Use interrupt regs ip for stack unwinding
    a532b341d704 samples: bpf: Don't fail for a missing VMLINUX_BTF when VMLINUX_H is provided
    0480f70d13c6 regulator: qcom_smd: Fix up PM8950 regulator configuration
    ca3fd5ff7b80 Revert "cpufreq: Fix possible race in cpufreq online error path"
    10f537219629 spi: spi-fsl-qspi: check return value after calling platform_get_resource_byname()
    76f5bd1eed01 iomap: iomap_write_failed fix
    e7308391df97 arm64: stackleak: fix current_top_of_stack()
    29d441903f22 media: uvcvideo: Fix missing check to determine if element is found in list
    3aece8b03c08 drm/msm: return an error pointer in msm_gem_prime_get_sg_table()
    09bdeedc1fc5 drm/msm/mdp5: Return error code in mdp5_mixer_release when deadlock is detected
    04bef5f1ba8e drm/msm/mdp5: Return error code in mdp5_pipe_release when deadlock is detected
    c063df41227d drm/msm/dp: fix event thread stuck in wait_event after kthread_stop()
    f5947118e729 drm/msm/dsi: fix address for second DSI PHY on SDM660
    81180f6d74c2 regulator: core: Fix enable_count imbalance with EXCLUSIVE_GET
    75868ee93b1d arm64: fix types in copy_highpage()
    381a1e274872 x86/mm: Cleanup the control_va_addr_alignment() __setup handler
    49887ad6ba63 irqchip/aspeed-scu-ic: Fix irq_of_parse_and_map() return value
    89a223d81114 irqchip/aspeed-i2c-ic: Fix irq_of_parse_and_map() return value
    c1cfb6f65238 irqchip/exiu: Fix acknowledgment of edge triggered interrupts
    737b14e49070 x86: Fix return value of __setup handlers
    20b946ef8496 nl80211: don't hold RTNL in color change request
    bd85a268bf82 virtio_blk: fix the discard_granularity and discard_alignment queue limits
    18f2967418d0 perf tools: Use Python devtools for version autodetection rather than runtime
    ac3319c4ccf4 spi: cadence-quadspi: fix Direct Access Mode disable for SoCFPGA
    b54926bd558d drm/rockchip: vop: fix possible null-ptr-deref in vop_bind()
    bd14de73644e kunit: fix debugfs code to use enum kunit_status, not bool
    ee21431e3022 drm/panel: panel-simple: Fix proper bpc for AM-1280800N3TZQW-T00H
    4d6582938ad3 drm/msm: add missing include to msm_drv.c
    e5d7cb9a18f1 drm/msm/hdmi: fix error check return value of irq_of_parse_and_map()
    4cd66a8016b8 drm/msm/hdmi: check return value after calling platform_get_resource_byname()
    212ecbeaf10a drm/msm/dsi: fix error checks and return values for DSI xmit functions
    f7e3daef5e23 drm/msm/dp: do not stop transmitting phy test pattern during DP phy compliance test
    bac5ff8594cb drm/msm/dp: reset DP controller before transmit phy test pattern
    75ec09a929dd drm/msm/dp: fix error check return value of irq_of_parse_and_map()
    d5e7956d8f5b drm/msm/dp: stop event kernel thread when DP unbind
    ef4bdaac7cb5 drm/msm/disp/dpu1: set vbif hw config to NULL to avoid use after memory free during pm runtime resume
    4ae67e8494e1 perf tools: Add missing headers needed by util/data.h
    79c431eefd08 ASoC: rk3328: fix disabling mclk on pclk probe failure
    32f8691dd789 x86/speculation: Add missing prototype for unpriv_ebpf_notify()
    e5b1e419cdb6 mtd: rawnand: intel: fix possible null-ptr-deref in ebu_nand_probe()
    0cfee868b89f mtd: rawnand: cadence: fix possible null-ptr-deref in cadence_nand_dt_probe()
    6a97103fe022 x86/pm: Fix false positive kmemleak report in msr_build_context()
    fad41a8f8856 mtd: spi-nor: core: Check written SR value in spi_nor_write_16bit_sr_and_check()
    32c7cbb75b36 libbpf: Fix logic for finding matching program for CO-RE relocation
    2324985aa700 selftests/resctrl: Fix null pointer dereference on open failed
    4be045434923 drm/v3d: Fix null pointer dereference of pointer perfmon
    663d326bcf3a scsi: ufs: core: Exclude UECxx from SFR dump list
    f265dea6b8b8 scsi: ufs: qcom: Fix ufs_qcom_resume()
    90e9c14206e3 scsi: iscsi: Fix harmless double shift bug
    fbe55bc9ab7b drm/msm/dpu: adjust display_v_end for eDP and DP
    6411d0c45878 drm/msm/hdmi: switch to drm_bridge_connector
    181ec5b45a22 drm/msm/dp: Modify prototype of encoder based API
    9ea7148f61cd selftests/damon: add damon to selftests root Makefile
    6fbd040cae20 of: overlay: do not break notify on NOTIFY_{OK|STOP}
    9b2aa765fb29 spi: rockchip: fix missing error on unsupported SPI_CS_HIGH
    3359a48495ac spi: rockchip: Preset cs-high and clk polarity in setup progress
    523f6fe7b034 spi: rockchip: Stop spi slave dma receiver when cs inactive
    eb57de933e4a fsnotify: fix wrong lockdep annotations
    4ab1195c213d inotify: show inotify mask flags in proc fdinfo
    f41c9418c589 mtdblock: warn if opened on NAND
    7784d22f81a2 ALSA: pcm: Check for null pointer of pointer substream before dereferencing it
    260cd3146fc4 drm/panel: simple: Add missing bus flags for Innolux G070Y2-L01
    1911bc6e6d24 media: hantro: Empty encoder capture buffers by default
    a4ec75df7057 media: i2c: max9286: fix kernel oops when removing module
    678c63978e09 media: i2c: max9286: Use "maxim,gpio-poc" property
    d7678a7a55d0 media: i2c: max9286: Use dev_err_probe() helper
    7f6defe0fabc ath9k_htc: fix potential out of bounds access with invalid rxstatus->rs_keyix
    5c7957948c58 printk: wake waiters for safe and NMI contexts
    3b336d607b78 printk: add missing memory barrier to wake_up_klogd()
    195cb7826a47 printk: use atomic updates for klogd work
    bf422b68e772 cpufreq: Fix possible race in cpufreq online error path
    7ba2bb87e9e9 spi: img-spfi: Fix pm_runtime_get_sync() error checking
    dc4d1f3b53f8 sched/psi: report zeroes for CPU full at the system level
    36f416fdda1e sched/fair: Fix cfs_rq_clock_pelt() for throttled cfs_rq
    60768ffcede2 signal: Deliver SIGTRAP on perf event asynchronously if blocked
    4c2122a3d07e drm/mediatek: dpi: Use mt8183 output formats for mt8192
    be96baa0c795 regulator: da9121: Fix uninit-value in da9121_assign_chip_model()
    c731d18a399e drm/bridge: Fix error handling in analogix_dp_probe
    24f9dfdaece9 HID: elan: Fix potential double free in elan_input_configured
    2573a45b5176 HID: hid-led: fix maximum brightness for Dream Cheeky
    3830dbdfb9a4 mtd: rawnand: denali: Use managed device resources
    814706376f36 EDAC/dmc520: Don't print an error for each unconfigured interrupt line
    4400e542b80f drbd: fix duplicate array initializer
    ae42074b409f target: remove an incorrect unmap zeroes data deduction
    c16539ef982c device property: Allow error pointer to be passed to fwnode APIs
    ecc7b8dedf73 device property: Check fwnode->secondary when finding properties
    b61f1f3a0ea7 efi: Add missing prototype for efi_capsule_setup_info
    1632be63862f NFC: NULL out the dev->rfkill to prevent UAF
    0377e8f544a3 ixp4xx_eth: fix error check return value of platform_get_irq()
    ffd4ae87a9f6 net: dsa: mt7530: 1G can also support 1000BASE-X link mode
    79e852bf8fd0 scftorture: Fix distribution of short handler delays
    da840f354836 spi: spi-ti-qspi: Fix return value handling of wait_for_completion_timeout
    4cb37f715f60 drm: mali-dp: potential dereference of null pointer
    7e6ad65b6dc5 drm/komeda: Fix an undefined behavior bug in komeda_plane_add()
    48bd4e97dbfd nl80211: show SSID for P2P_GO interfaces
    c07f6772a058 mptcp: reset the packet scheduler on PRIO change
    4b92cfc4446d x86/PCI: Fix ALi M1487 (IBC) PIRQ router link value interpretation
    049a44dfd6df libbpf: Don't error out on CO-RE relos for overriden weak subprogs
    d47f85cc0171 drm/vc4: txp: Force alpha to be 0xff if it's disabled
    01c9020b2e7c drm/vc4: txp: Don't set TXP_VSTART_AT_EOF
    0e26a6da02e6 drm/vc4: hvs: Reset muxes at probe time
    fdb3da70ad02 drm/mediatek: Fix mtk_cec_mask()
    08465a1889cb drm/vc4: hvs: Fix frame count register readout
    7c7a1f717327 x86/delay: Fix the wrong asm constraint in delay_loop()
    61a85a20e8df ASoC: mediatek: Fix missing of_node_put in mt2701_wm8960_machine_probe
    48889eb3cce9 ASoC: mediatek: Fix error handling in mt8173_max98090_dev_probe
    56846d96cce0 spi: qcom-qspi: Add minItems to interconnect-names
    d5b66645305c mtd: spinand: gigadevice: fix Quad IO for GD5F1GQ5UExxG
    adb1ff124a2a drm: bridge: icn6211: Fix HFP_HSW_HBP_HI and HFP_MIN handling
    495f08380e84 drm: bridge: icn6211: Fix register layout
    faeb95b4adaa drm/bridge: adv7511: clean up CEC adapter when probe fails
    96db9afa4958 drm/edid: fix invalid EDID extension block filtering
    996409ee9716 ath9k: fix ar9003_get_eepmisc
    b0bc3af3f09d drm: bridge: it66121: Fix the register page length
    384b9eeb9f29 ath11k: acquire ab->base_lock in unassign when finding the peer by addr
    2525e264ce5b drm/vmwgfx: Fix an invalid read
    97c8a8583464 dt-bindings: display: sitronix, st7735r: Fix backlight in example
    4399781c49b2 drm/bridge_connector: enable HPD by default if supported
    710051ebb77b drm: fix EDID struct for old ARM OABI format
    96c460687813 Input: gpio-keys - cancel delayed work only in case of GPIO
    32e6aea33944 RDMA/hfi1: Prevent panic when SDMA is disabled
    9e5b03ca0214 smb3: check for null tcon
    df6d8b689252 powerpc/iommu: Add missing of_node_put in iommu_init_early_dart
    787255e6190a macintosh/via-pmu: Fix build failure when CONFIG_INPUT is disabled
    a4a6a3826943 powerpc/powernv: fix missing of_node_put in uv_init()
    df802880a7f9 powerpc/xics: fix refcount leak in icp_opal_init()
    ce29ea35402d powerpc/powernv/vas: Assign real address to rx_fifo in vas_rx_win_attr
    5eed36dc775e tracing: incorrect isolate_mote_t cast in mm_vmscan_lru_isolate
    72f58a176a02 alpha: fix alloc_zeroed_user_highpage_movable()
    6cd8b30790d0 KVM: PPC: Book3S HV Nested: L2 LPCR should inherit L1 LPES setting
    2cdd52840353 PCI: Avoid pci_dev_lock() AB/BA deadlock with sriov_numvfs_store()
    5ca40fcf0da0 powerpc/rtas: Keep MSR[RI] set when calling RTAS
    4668e18bc299 cpufreq: Avoid unnecessary frequency updates due to mismatch
    a3265a944003 ARM: hisi: Add missing of_node_put after of_find_compatible_node
    80b06c4afc14 ARM: dts: exynos: add atmel,24c128 fallback to Samsung EEPROM
    83c329b980bd ARM: versatile: Add missing of_node_put in dcscb_init
    c16b59d44513 pinctrl: renesas: rzn1: Fix possible null-ptr-deref in sh_pfc_map_resources()
    50c292b469d4 fat: add ratelimit to fat*_ent_bread()
    a0f7180a2c1c powerpc/fadump: Fix fadump to work with a different endian capture kernel
    de8f0b173d07 ARM: OMAP1: clock: Fix UART rate reporting algorithm
    035ce4ffe0fe ALSA: usb-audio: Move generic implicit fb quirk entries into quirks.c
    07ddf6fbfea1 ALSA: usb-audio: Add quirk bits for enabling/disabling generic implicit fb
    4b9185fbdbfb arm64: dts: qcom: sdm845-xiaomi-beryllium: fix typo in panel's vddio-supply property
    4b9380d92c66 fs: jfs: fix possible NULL pointer dereference in dbFree()
    7cef9274fa1b soc: ti: ti_sci_pm_domains: Check for null return of devm_kcalloc
    eee44c726842 crypto: ccree - use fine grained DMA mapping dir
    cb1be1d4be18 PM / devfreq: rk3399_dmc: Disable edev on remove()
    5d44a053594c arm64: dts: qcom: msm8994: Fix BLSP[12]_DMA channels count
    8337956649ee arm64: dts: qcom: msm8994: Fix the cont_splash_mem address
    fccd667c9c57 ARM: dts: s5pv210: align DMA channels with dtschema
    5712f029726e ARM: dts: socfpga: align interrupt controller node name with dtschema
    531156e1712f ARM: dts: ox820: align interrupt controller node name with dtschema
    b6c6b398629d IB/rdmavt: add missing locks in rvt_ruc_loopback
    ff876b6cf578 scsi: target: tcmu: Avoid holding XArray lock when calling lock_page
    b897da780fd4 gfs2: use i_lock spin_lock for inode qadata
    da6b6b4eab55 selftests/bpf: fix btf_dump/btf_dump due to recent clang change
    f8bd7f369bb8 char: tpm: cr50_i2c: Suppress duplicated error message in .remove()
    4bcd926d787e eth: tg3: silence the GCC 12 array-bounds warning
    dd0728692413 afs: Adjust ACK interpretation to try and cope with NAT
    65b578726d48 rxrpc, afs: Fix selection of abort codes
    a6e80df4f02c rxrpc: Return an error to sendmsg if call failed
    16195406211b m68k: atari: Make Atari ROM port I/O write macros return void
    d295f28cb6eb net: ipa: ignore endianness if there is no header
    6f516847427c x86/microcode: Add explicit CPU vendor dependency
    28beef47f18b can: mcp251xfd: silence clang's -Wunaligned-access warning
    980b79d0be56 nvme: set non-mdts limits in nvme_scan_work
    d9c96e05574f ACPI: CPPC: Assume no transition latency if no PCCT
    649689f49ad9 ASoC: rt1015p: remove dependency on GPIOLIB
    f8ceb9745ba7 ASoC: max98357a: remove dependency on GPIOLIB
    bdd577016943 media: hantro: Stop using H.264 parameter pic_num
    16cae5d85802 media: exynos4-is: Fix compile warning
    660dfa033ccc net: phy: micrel: Allow probing without .driver_data
    5005002b2e12 drm/amd/pm: update smartshift powerboost calc for smu13
    c525d3385f6d drm/amd/pm: update smartshift powerboost calc for smu12
    c2673b86b419 nbd: Fix hung on disconnect request if socket is closed before
    061a6159cea5 ASoC: rt5645: Fix errorenous cleanup order
    906c81dba8ee nvme-pci: fix a NULL pointer dereference in nvme_alloc_admin_tags
    48d32e41bbfe openrisc: start CPU timer early in boot
    6d5deb242874 usbnet: Run unregister_netdev() before unbind() again
    35121d0bb7ad media: cec-adap.c: fix is_configuring state
    32c7b04d535a media: imon: reorganize serialization
    271bea32acc4 media: ccs-core.c: fix failure to call clk_disable_unprepare
    c16cfcac77ec media: hantro: HEVC: unconditionnaly set pps_{cb/cr}_qp_offset values
    a1f2cb0a2613 media: coda: limit frame interval enumeration to supported encoder frame sizes
    eeb4819e94aa media: rga: fix possible memory leak in rga_probe
    4b6807b1cfb8 mt76: fix encap offload ethernet type check
    bf5572fb3fc4 mt76: mt7921: accept rx frames with non-standard VHT MCS10-11
    03755410a8f6 rtlwifi: Use pr_warn instead of WARN_ONCE
    25929a5a69cf ipmi: Fix pr_fmt to avoid compilation issues
    98a0c0dea51d ipmi:ssif: Check for NULL msg when handling events and messages
    717c6f4570a6 ACPI: PM: Block ASUS B1400CEAE from suspend to idle by default
    e202dad51908 dma-debug: change allocation mode from GFP_NOWAIT to GFP_ATIOMIC
    bab459663250 spi: stm32-qspi: Fix wait_cmd timeout in APM mode
    aeca695a19f8 sched/core: Avoid obvious double update_rq_clock warning
    cab410da48c2 perf/amd/ibs: Cascade pmu init functions' return value
    69b296597656 s390/preempt: disable __preempt_count_add() optimization for PROFILE_ALL_BRANCHES
    6320ae1b5876 net: remove two BUG() from skb_checksum_help()
    db6da340d66b scsi: lpfc: Alter FPIN stat accounting logic
    2200453e8910 ASoC: tscs454: Add endianness flag in snd_soc_component_driver
    db6d83e09f76 of: Support more than one crash kernel regions for kexec -s
    22e0b0b84c53 HID: bigben: fix slab-out-of-bounds Write in bigben_probe
    4262a0e46b08 regulator: mt6315: Enforce regulator-compatible, not name
    b305469ed004 drm/amdgpu/ucode: Remove firmware load type check in amdgpu_ucode_free_bo
    a2c87348aceb drm/amdgpu/psp: move PSP memory alloc from hw_init to sw_init
    da3b69a56454 mlxsw: Treat LLDP packets as control
    1377b79917e9 mlxsw: spectrum_dcb: Do not warn about priority changes
    9bb5de6e0b1a ASoC: dapm: Don't fold register value changes into notifications
    77d7fb14890f net/mlx5: fs, delete the FTE when there are no rules attached to it
    87402434ea84 ipv6: Don't send rs packets to the interface of ARPHRD_TUNNEL
    04be468ec13f scsi: target: tcmu: Fix possible data corruption
    903d01a220ef drm: msm: fix error check return value of irq_of_parse_and_map()
    621916afe8cd arm64: compat: Do not treat syscall number as ESR_ELx for a bad syscall
    c2272428090d ath10k: skip ath10k_halt during suspend for driver state RESTARTING
    ae488dafe074 drm/amd/pm: fix the compile warning
    978e3d023256 drm/plane: Move range check for format_count earlier
    47187f617791 ASoC: Intel: bytcr_rt5640: Add quirk for the HP Pro Tablet 408
    451b9076903a ath11k: disable spectral scan during spectral deinit
    40cf4ea4d2d4 scsi: lpfc: Fix resource leak in lpfc_sli4_send_seq_to_ulp()
    3ab08d7c1653 scsi: ufs: Use pm_runtime_resume_and_get() instead of pm_runtime_get_sync()
    7719a8044bf6 drm/amdgpu/sdma: Fix incorrect calculations of the wptr of the doorbells
    942ce0cba14c scsi: megaraid: Fix error check return value of register_chrdev()
    7eb8e4787b43 drivers: mmc: sdhci_am654: Add the quirk to set TESTCD bit
    353298cadbd4 mmc: jz4740: Apply DMA engine limits to maximum segment size
    27f672af28a8 md/bitmap: don't set sb values if can't pass sanity check
    1f0fc1dfb5fd media: cx25821: Fix the warning when removing the module
    98106f100f50 media: pci: cx23885: Fix the error handling in cx23885_initdev()
    9c385b961d4c media: venus: hfi: avoid null dereference in deinit
    84bf55461d2b ath9k: fix QCA9561 PA bias level
    4374b8d71ce8 ASoC: rsnd: care return value from rsnd_node_fixed_index()
    24632913453f ASoC: rsnd: care default case on rsnd_ssiu_busif_err_status_clear()
    a5ce7051db04 drm/amd/pm: fix double free in si_parse_power_table()
    2bcec28ac0b3 cpuidle: PSCI: Improve support for suspend-to-RAM for PSCI OSI mode
    ae373d66c427 scsi: lpfc: Fix call trace observed during I/O with CMF enabled
    7625e81de216 scsi: lpfc: Fix SCSI I/O completion and abort handler deadlock
    271725e40285 scsi: lpfc: Move cfg_log_verbose check before calling lpfc_dmp_dbg()
    fcd1893ef57b tools/power turbostat: fix ICX DRAM power numbers
    30be187da579 spi: spi-rspi: Remove setting {src,dst}_{addr,addr_width} based on DMA direction
    ecfe184509a5 rtw88: 8821c: fix debugfs rssi value
    5cc6f623f481 ALSA: jack: Access input_dev under mutex
    64e9f4f65c94 sfc: ef10: Fix assigning negative value to unsigned variable
    2da36b14af94 rcu: Make TASKS_RUDE_RCU select IRQ_WORK
    ba722d061bc4 rcu-tasks: Fix race in schedule and flush work
    d0d266c2f689 drm/amd/display: Disabling Z10 on DCN31
    3f2dc8106345 drm/komeda: return early if drm_universal_plane_init() fails.
    042f8d5a13d2 mac80211: minstrel_ht: fix where rate stats are stored (fixes debugfs output)
    a425d18a131f ACPICA: Avoid cache flush inside virtual machines
    063ed7dbf9d3 x86/platform/uv: Update TSC sync state for UV5
    0781b564048b fbcon: Consistently protect deferred_takeover with console_lock()
    7665af570b84 ipv6: fix locking issues with loops over idev->addr_list
    48d4a820fd33 ipw2x00: Fix potential NULL dereference in libipw_xmit()
    9547e5ed9c59 b43: Fix assigning negative value to unsigned variable
    e7823a60f339 b43legacy: Fix assigning negative value to unsigned variable
    07ea9293330d mwifiex: add mutex lock for call in mwifiex_dfs_chan_sw_work_queue
    2485af5ca4bb selftests/bpf: Fix parsing of prog types in UAPI hdr for bpftool sync
    3117e7a0de6f selftests/bpf: Fix vfs_link kprobe definition
    32e10aabc287 drm/virtio: fix NULL pointer dereference in virtio_gpu_conn_get_modes
    079164db407c drm/vmwgfx: validate the screen formats
    4475d3c3b224 iommu/vt-d: Add RPLS to quirk list to skip TE disabling
    08128d6cac4e btrfs: fix the error handling for submit_extent_page() for btrfs_do_readpage()
    80e2340d1f80 btrfs: repair super block num_devices automatically
    b17dada226ab btrfs: return correct error number for __extent_writepage_io()
    018110b5daa8 btrfs: add "0x" prefix for unsupported optional features
    83d0ed00cca8 ptrace: Reimplement PTRACE_KILL by always sending SIGKILL
    7400a7e0a7ae ptrace/xtensa: Replace PT_SINGLESTEP with TIF_SINGLESTEP
    e1c91672c5c8 ptrace/um: Replace PT_DTRACE with TIF_SINGLESTEP
    260650ddc864 x86/sgx: Set active memcg prior to shmem allocation
    8765a423a87d x86/kexec: fix memory leak of elf header buffer
    7aef4ecc3150 perf/x86/intel: Fix event constraints for ICL
    cc0dd4456f95 x86/MCE/AMD: Fix memory leak when threshold_create_bank() fails
    d9a04bc7d1b8 platform/x86: intel-hid: fix _DSM function index handling
    dfe5921112cf xhci: Allow host runtime PM as default for Intel Alder Lake N xHCI
    791f532de70d cifs: when extending a file with falloc we should make files not-sparse
    ce0008a0e410 cifs: fix potential double free during failed mount
    d7b5577272c2 fs/ntfs3: Restore ntfs_xattr_get_acl and ntfs_xattr_set_acl functions
    79f44f05e756 fs/ntfs3: Update i_ctime when xattr is added
    d8be98ab8825 fs/ntfs3: Fix some memory leaks in an error handling path of 'log_replay()'
    8bac05d61f26 fs/ntfs3: In function ntfs_set_acl_ex do not change inode->i_mode if called from function ntfs_init_acl
    f45bd2922d66 fs/ntfs3: Check new size for limits
    dc05aa14d311 fs/ntfs3: Keep preallocated only if option prealloc enabled
    3eb42b847e43 fs/ntfs3: Fix fiemap + fix shrink file size (to remove preallocated space)
    87e9cd4b8692 fs/ntfs3: Update valid size if -EIOCBQUEUED
    0cebad7ee61a usb: core: hcd: Add support for deferring roothub registration
    5a3eec6f67d3 usb: dwc3: gadget: Move null pinter check to proper place
    bf2558bbdce3 usb: isp1760: Fix out-of-bounds array access
    fdcb8a893aec USB: new quirk for Dell Gen 2 devices
    c2dd96835fbb USB: serial: option: add Quectel BG95 modem
    2514cc471b40 USB: serial: pl2303: fix type detection for odd device
    11868ca21585 ALSA: usb-audio: Cancel pending work at closing a MIDI substream
    3e7e75378de5 ALSA: hda/realtek - Fix microphone noise on ASUS TUF B550M-PLUS
    99137afd8445 ALSA: hda/realtek: Enable 4-speaker output for Dell XPS 15 9520 laptop
    0e06c3b43ddc ALSA: hda/realtek - Add new type for ALC245
    7b50d7cc2895 riscv: Move alternative length validation into subsection
    c64d777c91e0 riscv: Wire up memfd_secret in UAPI header
    0179777e29d4 riscv: Fix irq_work when SMP is disabled
    1b1dfd94b2a5 riscv: Initialize thread pointer before calling C functions
    87fd2d27c9ea RISC-V: Mark IORESOURCE_EXCLUSIVE for reserved mem instead of IORESOURCE_BUSY
    e639a66ca9b8 parisc/stifb: Keep track of hardware path of graphics card
    8b8fe78cae1d parisc/stifb: Implement fb_is_primary_device()
    fced6c0622da binfmt_flat: do not stop relocating GOT entries prematurely on riscv
    207ca688162d Linux 5.15.45
    37fad50e16ff ALSA: usb-audio: Optimize TEAC clock quirk
    6099a6c8a749 bpf: Check PTR_TO_MEM | MEM_RDONLY in check_helper_mem_access
    5d0bba8232bf bpf: Reject writes for PTR_TO_MAP_KEY in check_helper_mem_access
    51f6657e9443 bpf: Fix excessive memory allocation in stack_map_alloc()
    77f8c4a5f3d0 bpf: Enlarge offset check value to INT_MAX in bpf_skb_{load,store}_bytes
    e36452d5da63 bpf: Fix potential array overflow in bpf_trampoline_get_progs()
    e2fc17fcc503 NFSD: Fix possible sleep during nfsd4_release_lockowner()
    fa1c51c82c0e NFS: Memory allocation failures are not server fatal errors
    9bc73bbd5597 docs: submitting-patches: Fix crossref to 'The canonical patch format'
    581b2ed60535 tpm: ibmvtpm: Correct the return value in tpm_ibmvtpm_probe()
    b5745954a993 tpm: Fix buffer access in tpm2_get_tpm_pt()
    718ff5fc7e1c media: i2c: imx412: Fix power_off ordering
    d207a2e2080b media: i2c: imx412: Fix reset GPIO polarity
    9ebed8d283e5 x86/sgx: Ensure no data in PCMD page after truncate
    cd6947942511 x86/sgx: Fix race between reclaimer and page fault handler
    b070e97fbd14 x86/sgx: Obtain backing storage page with enclave mutex held
    fd55a1707750 x86/sgx: Mark PCMD page as dirty when modifying contents
    cdf828c11c12 x86/sgx: Disconnect backing page references from dirty status
    12b635b4e349 HID: multitouch: add quirks to enable Lenovo X12 trackpoint
    18242f342838 HID: multitouch: Add support for Google Whiskers Touchpad
    58cf68a1886d fs/ntfs3: validate BOOT sectors_per_clusters
    6e5bc6f7fef0 raid5: introduce MD_BROKEN
    69712b170237 dm verity: set DM_TARGET_IMMUTABLE feature flag
    40aaeb41dde0 dm stats: add cond_resched when looping over entries
    fd77cb622074 dm crypt: make printing of the key constant-time
    ed0712361a91 dm integrity: fix error code in dm_integrity_ctr()
    a485b32de799 ARM: dts: s5pv210: Correct interrupt name for bluetooth in Aries
    db03727b4bbb Bluetooth: hci_qca: Use del_timer_sync() before freeing
    f18aa2fc00bf ALSA: usb-audio: Configure sync endpoints before data
    8d1f71573089 ALSA: usb-audio: Add missing ep_idx in fixed EP quirks
    8c9a54eed738 ALSA: usb-audio: Workaround for clock setup on TEAC devices
    3ec459c8810e zsmalloc: fix races between asynchronous zspage free and page migration
    5763176f6954 crypto: ecrdsa - Fix incorrect use of vli_cmp
    dd36037d4ae7 crypto: caam - fix i.MX6SX entropy delay value
    d8fdb4b24097 KVM: SVM: Use kzalloc for sev ioctl interfaces to prevent kernel data leak
    8d3a2aa0976f KVM: x86: Drop WARNs that assert a triple fault never "escapes" from L2
    531d1070d864 KVM: x86: avoid calling x86 emulator without a decoded instruction
    eea9755a04e0 x86, kvm: use correct GFP flags for preemption disabled
    7b54eb631934 x86/kvm: Alloc dummy async #PF token outside of raw spinlock
    1b6bcda5df8c KVM: PPC: Book3S HV: fix incorrect NULL check on list iterator
    01989d7eebb6 netfilter: conntrack: re-fetch conntrack after insertion
    9c413a8c8bb4 netfilter: nf_tables: double hook unregistration in netns path
    9ea55b9f4353 netfilter: nf_tables: hold mutex on netns pre_exit path
    89ef50fe03a5 netfilter: nf_tables: sanitize nft_set_desc_concat_parse()
    e61717947af5 crypto: drbg - make reseeding from get_random_bytes() synchronous
    da208708f4c5 crypto: drbg - move dynamic ->reseed_threshold adjustments to __drbg_seed()
    585f6b76d354 crypto: drbg - track whether DRBG was seeded with !rng_is_initialized()
    fa996803b9d6 crypto: drbg - prepare for more fine-grained tracking of seeding state
    e16cc79b0f91 lib/crypto: add prompts back to crypto libraries
    c504167adc32 exfat: check if cluster num is valid
    195fffbf8291 drm/i915: Fix -Wstringop-overflow warning in call to intel_read_wm_latency()
    23cb9eff90b1 net: ipa: compute proper aggregation limit
    cf2fbc56c478 pipe: Fix missing lock in pipe_resize_ring()
    e6acf868ff0e pipe: make poll_usage boolean and annotate its access
    8a3db00ab0e2 assoc_array: Fix BUG_ON during garbage collect
    24c6fc6e7453 i2c: ismt: prevent memory corruption in ismt_access()
    f692bcffd1f2 netfilter: nf_tables: disallow non-stateful expression in sets earlier
    f55c75cf73c0 drivers: i2c: thunderx: Allow driver to work with ACPI defined TWSI controllers
    71475936e647 i2c: ismt: Provide a DMA buffer for Interrupt Cause Logging
    731561de2aeb net: ftgmac100: Disable hardware checksum on AST2600
    49651497b637 nfc: pn533: Fix buggy cleanup order
    7e18fd12489b net: af_key: check encryption module availability consistency
    20b413c38b7c percpu_ref_init(): clean ->percpu_count_ref on failure
    8243f5768dea KVM: arm64: Don't hypercall before EL2 init
    8ff411998a33 pinctrl: sunxi: fix f1c100s uart2 function
    09901136e79d ALSA: usb-audio: Don't get sample rate for MCT Trigger 5 USB-to-HDMI

(From OE-Core rev: 5e5dee3c23d216459148afb6631cbe72a96a7bea)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 7e86b1cf7458eed10b27b2b3b213bf1a5f420747)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-07-25 15:11:46 +01:00
Bruce Ashfield
9f0809cf27 linux-yocto/5.10: fix buildpaths issue with pnmtologo
Integrating the following commit(s) to linux-yocto/5.10:

    2883e69e202d pnmtologo: use relocatable file name

(From OE-Core rev: 1d8a9a33dc866914b5770b492890248b4c50326b)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 73bc3bfaf06fedff71fcd54d172c4e8df17467a7)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-07-25 15:11:46 +01:00
Bruce Ashfield
bdfdd75540 linux-yocto/5.10: update to v5.10.130
Updating  to the latest korg -stable release that comprises
the following commits:

    26ae9c361414 Linux 5.10.130
    8365b151fd50 dmaengine: ti: Add missing put_device in ti_dra7_xbar_route_allocate
    37147e22cd8d dmaengine: ti: Fix refcount leak in ti_dra7_xbar_route_allocate
    1be247db203e dmaengine: at_xdma: handle errors of at_xdmac_alloc_desc() correctly
    7b721f5aec92 dmaengine: pl330: Fix lockdep warning about non-static key
    e23cfb3fdcbb ida: don't use BUG_ON() for debugging
    37995f034ff2 dt-bindings: dma: allwinner,sun50i-a64-dma: Fix min/max typo
    ca4a91958466 misc: rtsx_usb: set return value in rsp_buf alloc err path
    ff79e0ca2bea misc: rtsx_usb: use separate command and response buffers
    af7d9d4abe84 misc: rtsx_usb: fix use of dma mapped buffer for usb bulk transfer
    86884017bb63 dmaengine: imx-sdma: Allow imx8m for imx7 FW revs
    9b329edd77ca i2c: cadence: Unregister the clk notifier in error path
    26938bd28c0c r8169: fix accessing unset transport header
    904f622ec78e selftests: forwarding: fix error message in learning_test
    9906c223400f selftests: forwarding: fix learning_test when h1 supports IFF_UNICAST_FLT
    859b889029fc selftests: forwarding: fix flood_unicast_test when h2 supports IFF_UNICAST_FLT
    23cdc57d88d1 ibmvnic: Properly dispose of all skbs during a failover.
    2b4659c145ba i40e: Fix dropped jumbo frames statistics
    5561bddd0599 xsk: Clear page contiguity bit when unmapping pool
    87d2bb888259 ARM: dts: at91: sama5d2_icp: fix eeprom compatibles
    9b7d8e28b686 ARM: dts: at91: sam9x60ek: fix eeprom compatible and size
    ade03e5ea778 ARM: at91: pm: use proper compatibles for sam9x60's rtc and rtt
    b40ac801cbb1 ARM: at91: pm: use proper compatible for sama5d2's rtc
    4c3e73a66a27 arm64: dts: qcom: msm8992-*: Fix vdd_lvs1_2-supply typo
    1d0c3ced2d1c pinctrl: sunxi: sunxi_pconf_set: use correct offset
    e1cda2a03d81 arm64: dts: imx8mp-evk: correct I2C3 pad settings
    2ade1b1d92f6 arm64: dts: imx8mp-evk: correct gpio-led pad settings
    17b3883ba55f arm64: dts: imx8mp-evk: correct the uart2 pinctl value
    43319ee6a075 arm64: dts: imx8mp-evk: correct mmc pad settings
    6bf74a1e748f arm64: dts: qcom: msm8994: Fix CPU6/7 reg values
    2c0d10ce002a pinctrl: sunxi: a83t: Fix NAND function name for some pins
    3d90607e7e6a ARM: meson: Fix refcount leak in meson_smp_prepare_cpus
    e14930e9f9c6 xfs: remove incorrect ASSERT in xfs_rename
    852952ea0e15 can: kvaser_usb: kvaser_usb_leaf: fix bittiming limits
    a741e762e199 can: kvaser_usb: kvaser_usb_leaf: fix CAN clock frequency regression
    f439d08ef1a2 can: kvaser_usb: replace run-time checks with struct kvaser_usb_driver_info
    79af7be44ccb powerpc/powernv: delay rng platform device creation until later in boot
    19104425c962 video: of_display_timing.h: include errno.h
    96fa24eb1a38 memregion: Fix memregion_free() fallback definition
    d6931bff1cc1 PM: runtime: Redefine pm_runtime_release_supplier()
    cecb806c766c fbcon: Prevent that screen size is smaller than font size
    b727561ddc93 fbcon: Disallow setting font bigger than screen size
    b81212828ad1 fbmem: Check virtual screen sizes in fb_set_var()
    d03e8ed72d7d fbdev: fbmem: Fix logo center image dx issue
    963c80f070ed iommu/vt-d: Fix PCI bus rescan device hot add
    0a5e36dbcb44 netfilter: nf_tables: stricter validation of element data
    4a6430b99f67 netfilter: nft_set_pipapo: release elements in clone from abort path
    4f59d12efe30 net: rose: fix UAF bug caused by rose_t0timer_expiry
    0085da9df3dc usbnet: fix memory leak in error case
    e917be1f83ea bpf: Fix insufficient bounds propagation from adjust_scalar_min_max_vals
    9adec7334969 bpf: Fix incorrect verifier simulation around jmp32's jeq/jne
    d0b8e2239988 can: gs_usb: gs_usb_open/close(): fix memory leak
    b6f4b347a1fb can: grcan: grcan_probe(): remove extra of_node_get()
    85cd41070df9 can: bcm: use call_rcu() instead of costly synchronize_rcu()
    b75d4bec85b8 ALSA: hda/realtek: Add quirk for Clevo L140PU
    6c32496964da mm/slub: add missing TID updates on slab deactivation
    7208d1236f72 Linux 5.10.129
    0e21ef18019c clocksource/drivers/ixp4xx: remove EXPORT_SYMBOL_GPL from ixp4xx_timer_setup()
    7055e3446244 net: usb: qmi_wwan: add Telit 0x1070 composition
    f1a53bb27f17 net: usb: qmi_wwan: add Telit 0x1060 composition
    43c8d33ce353 xen/arm: Fix race in RB-tree based P2M accounting
    547b7c640df5 xen-netfront: restore __skb_queue_tail() positioning in xennet_get_responses()
    cbbd2d253153 xen/blkfront: force data bouncing when backend is untrusted
    4923217af574 xen/netfront: force data bouncing when backend is untrusted
    728d68bfe68d xen/netfront: fix leaking data in shared pages
    cfea428030be xen/blkfront: fix leaking data in shared pages
    d341e5a75480 selftests/rseq: Change type of rseq_offset to ptrdiff_t
    7e617278bf3a selftests/rseq: x86-32: use %gs segment selector for accessing rseq thread area
    27f6361cb415 selftests/rseq: x86-64: use %fs segment selector for accessing rseq thread area
    a4312e2d8192 selftests/rseq: Fix: work-around asm goto compiler bugs
    7e1a0a9a4442 selftests/rseq: Remove arm/mips asm goto compiler work-around
    ba4d79af7101 selftests/rseq: Fix warnings about #if checks of undefined tokens
    35c6f5047ff3 selftests/rseq: Fix ppc32 offsets by using long rather than off_t
    dbc1f0ee6044 selftests/rseq: Fix ppc32 missing instruction selection "u" and "x" for load/store
    d4f631ea2dd6 selftests/rseq: Fix ppc32: wrong rseq_cs 32-bit field pointer on big endian
    e85fdae4df72 selftests/rseq: Uplift rseq selftests for compatibility with glibc-2.35
    c79e564535c0 selftests/rseq: Introduce thread pointer getters
    4a78bf83e226 selftests/rseq: Introduce rseq_get_abi() helper
    3c2a416c80cc selftests/rseq: Remove volatile from __rseq_abi
    68e1232c6e93 selftests/rseq: Remove useless assignment to cpu variable
    3e77ed4f9052 selftests/rseq: introduce own copy of rseq uapi header
    54cd556487d4 selftests/rseq: remove ARRAY_SIZE define from individual tests
    14894cf6925c hwmon: (ibmaem) don't call platform_device_del() if platform_device_add() fails
    f72d410dbf8d ipv6/sit: fix ipip6_tunnel_get_prl return value
    25055da22a0f sit: use min
    652fd40eb01c drivers: cpufreq: Add missing of_node_put() in qoriq-cpufreq.c
    79963021fd71 xen/gntdev: Avoid blocking in unmap_grant_pages()
    5f614f5f70bf tcp: add a missing nf_reset_ct() in 3WHS handling
    9203dfb3ed6b xfs: fix xfs_reflink_unshare usage of filemap_write_and_wait_range
    f874e16870cc xfs: update superblock counters correctly for !lazysbcount
    7ab7458d7af7 xfs: fix xfs_trans slab cache name
    f12968a5a4be xfs: ensure xfs_errortag_random_default matches XFS_ERRTAG_MAX
    da61388f9a75 xfs: Skip repetitive warnings about mount options
    6b7dab812cba xfs: rename variable mp to parsing_mp
    b261cd005ab9 xfs: use current->journal_info for detecting transaction recursion
    c36d41b65e57 net: tun: avoid disabling NAPI twice
    59c51c3b5451 tunnels: do not assume mac header is set in skb_tunnel_check_pmtu()
    c9fc52c1739e io_uring: ensure that send/sendmsg and recv/recvmsg check sqe->ioprio
    b8def021ac70 epic100: fix use after free on rmmod
    456bc338871c tipc: move bc link creation back to tipc_node_create
    09f994623530 NFC: nxp-nci: Don't issue a zero length i2c_master_read()
    7d363362e006 nfc: nfcmrvl: Fix irq_of_parse_and_map() return value
    63b2fe509f69 net: bonding: fix use-after-free after 802.3ad slave unbind
    7597ed348e62 net: bonding: fix possible NULL deref in rlb code
    ac12337229ea net/sched: act_api: Notify user space if any actions were flushed before error
    91d3bb82c43e netfilter: nft_dynset: restore set element counter when failing to update
    4b480a7940ff s390: remove unneeded 'select BUILD_BIN2C'
    e65027fdebba PM / devfreq: exynos-ppmu: Fix refcount leak in of_get_devfreq_events
    653bdcd833b7 caif_virtio: fix race between virtio_device_ready() and ndo_open()
    208ff7967534 NFSD: restore EINVAL error translation in nfsd_commit()
    db82bb605404 net: ipv6: unexport __init-annotated seg6_hmac_net_init()
    eb1757ca20b8 usbnet: fix memory allocation in helpers
    fae2a9fb1eaf linux/dim: Fix divide by 0 in RDMA DIM
    b0cab8b517ae RDMA/cm: Fix memory leak in ib_cm_insert_listen
    9de276dfb20c RDMA/qedr: Fix reporting QP timeout attribute
    a42bd00f0035 net: dp83822: disable rx error interrupt
    9c06d84855bd net: dp83822: disable false carrier interrupt
    c70ca16f72b2 net: tun: stop NAPI when detaching queues
    bec1be0a745a net: tun: unlink NAPI from device on destruction
    0b2499c8014f net: dsa: bcm_sf2: force pause link settings
    3f55912a1a98 selftests/net: pass ipv6_args to udpgso_bench's IPv6 TCP test
    f7b8fb458445 virtio-net: fix race between ndo_open() and virtio_device_ready()
    c0a28f2ddf9a net: usb: ax88179_178a: Fix packet receiving
    8f74cb27c2b4 net: rose: fix UAF bugs caused by timer handler
    6a0b9512a6aa SUNRPC: Fix READ_PLUS crasher
    ed03a650fb57 s390/archrandom: simplify back to earlier design and initialize earlier
    d8bca518d527 dm raid: fix KASAN warning in raid5_add_disks
    9bf2b0757b04 dm raid: fix accesses beyond end of raid member array
    213c550deb6b powerpc/bpf: Fix use of user_pt_regs in uapi
    68a34e478ad5 powerpc/book3e: Fix PUD allocation size in map_kernel_page()
    e188bbdb9229 powerpc/prom_init: Fix kernel config grep
    e6a7d30b650a nvdimm: Fix badblocks clear off-by-one error
    0b99c4a18936 nvme-pci: add NVME_QUIRK_BOGUS_NID for ADATA XPG SX6000LNP (AKA SPECTRIX S40G)
    e77804158b30 ipv6: take care of disable_policy when restoring routes
    03b9e016598f drm/amdgpu: To flush tlb for MMHUB of RAVEN series

(From OE-Core rev: ea72e5ed56c9338849d973da13581441c8d84afa)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit d0f5a8d1c8fba0ae1c6c7ed0e2c602feb97c7983)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-07-25 15:11:46 +01:00
Bruce Ashfield
b16abf35d0 linux-yocto/5.10: fix buildpaths issue with gen-mach-types
Integrating the following commit(s) to linux-yocto/5.10:

    80f5207b5abd tools: use basename to identify file in gen-mach-types

(From OE-Core rev: 6e2676afa53b17fa08372f0145e574456600512f)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 78dbf81b9951b1b49ec1546d6eb9ed7240507515)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-07-25 15:11:46 +01:00
Bruce Ashfield
f4b26272a8 linux-yocto/5.10: fix build_OID_registry/conmakehash buildpaths warning
Integrating the following commit(s) to linux-yocto/5.10:

    4d201ec392f1 vt/conmakehash: improve reproducibility
    ae24d013888f lib/build_OID_registry: fix reproducibility issues

(From OE-Core rev: bbf858692f4d84aa45cc2824689ad6950f6759f6)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit db22dbc1f66d2f76dab719597986cfd96cf18d71)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-07-25 15:11:45 +01:00
Bruce Ashfield
2ff94a99d6 linux-yocto/5.10: update to v5.10.128
Updating  to the latest korg -stable release that comprises
the following commits:

    ea86c1430c83 Linux 5.10.128
    2d10984d99ac net: mscc: ocelot: allow unregistered IP multicast flooding
    6a656280e775 powerpc/ftrace: Remove ftrace init tramp once kernel init is complete
    6b734f7b7071 xfs: check sb_meta_uuid for dabuf buffer recovery
    071e750ffb3d xfs: remove all COW fork extents when remounting readonly
    1e76bd4c6722 xfs: Fix the free logic of state in xfs_attr_node_hasname
    0cdccc05da76 xfs: punch out data fork delalloc blocks on COW writeback failure
    db3f8110c3b0 xfs: use kmem_cache_free() for kmem_cache objects
    09c9902cd80a bcache: memset on stack variables in bch_btree_check() and bch_sectors_dirty_init()
    c4ff3ffe0138 tick/nohz: unexport __init-annotated tick_nohz_full_setup()
    069fff50d400 drm: remove drm_fb_helper_modinit
    52dc7f3f6fa1 MAINTAINERS: add Amir as xfs maintainer for 5.10.y
    deb587b1a48d Linux 5.10.127
    1cca46c20541 powerpc/pseries: wire up rng during setup_arch()
    95d73d510b8a kbuild: link vmlinux only once for CONFIG_TRIM_UNUSED_KSYMS (2nd attempt)
    feb5ab798698 random: update comment from copy_to_user() -> copy_to_iter()
    959bbaf5b7a9 modpost: fix section mismatch check for exported init/exit sections
    c980392af147 ARM: cns3xxx: Fix refcount leak in cns3xxx_init
    889aad2203e0 memory: samsung: exynos5422-dmc: Fix refcount leak in of_get_dram_timings
    44a5b3a073e5 ARM: Fix refcount leak in axxia_boot_secondary
    30bbfeb480ae soc: bcm: brcmstb: pm: pm-arm: Fix refcount leak in brcmstb_pm_probe
    68f28d52e6cb ARM: exynos: Fix refcount leak in exynos_map_pmu
    59fdf108144c ARM: dts: imx6qdl: correct PU regulator ramp delay
    fb70bd86751a ARM: dts: imx7: Move hsic_phy power domain to HSIC PHY node
    f78acc4288ed powerpc/powernv: wire up rng during setup_arch
    7db1ba660b07 powerpc/rtas: Allow ibm,platform-dump RTAS call with null buffer address
    1f5a9205a3be powerpc: Enable execve syscall exit tracepoint
    ca144919afd4 parisc: Enable ARCH_HAS_STRICT_MODULE_RWX
    a1c902349ad5 parisc/stifb: Fix fb_is_primary_device() only available with CONFIG_FB_STI
    af0ff2da0152 xtensa: Fix refcount leak bug in time.c
    6c0839cf1b9e xtensa: xtfpga: Fix refcount leak bug in setup
    501652a2ad54 iio: adc: adi-axi-adc: Fix refcount leak in adi_axi_adc_attach_client
    d40514d4403a iio: adc: axp288: Override TS pin bias current for some models
    d579c893dd6c iio: adc: stm32: Fix IRQs on STM32F4 by removing custom spurious IRQs message
    62284d45e26d iio: adc: stm32: Fix ADCs iteration in irq handler
    e3ebb9d16ce1 iio: imu: inv_icm42600: Fix broken icm42600 (chip id 0 value)
    3e0af68b99b8 iio: adc: stm32: fix maximum clock rate for stm32mp15x
    b07a30a774b3 iio: trigger: sysfs: fix use-after-free on remove
    399788e819a1 iio: gyro: mpu3050: Fix the error handling in mpu3050_power_up()
    c1ec7d52a218 iio: accel: mma8452: ignore the return value of reset operation
    42caf44906d6 iio:accel:mxc4005: rearrange iio trigger get and register
    e26dcf627971 iio:accel:bma180: rearrange iio trigger get and register
    f26379e19958 iio:chemical:ccs811: rearrange iio trigger get and register
    4b6cdcff7cb8 f2fs: attach inline_data after setting compression
    2d7bdb6a5a37 usb: chipidea: udc: check request status before setting device address
    656eca37aae1 USB: gadget: Fix double-free bug in raw_gadget driver
    54604108be64 usb: gadget: Fix non-unique driver names in raw-gadget driver
    d87dec22fdf5 xhci-pci: Allow host runtime PM as default for Intel Meteor Lake xHCI
    114080d04ae4 xhci-pci: Allow host runtime PM as default for Intel Raptor Lake xHCI
    b8142a84657e xhci: turn off port power in shutdown
    116c3e81b053 usb: typec: wcove: Drop wrong dependency to INTEL_SOC_PMIC
    a547662534ca iio: adc: vf610: fix conversion mode sysfs node name
    58c3a27e9c23 iio: mma8452: fix probe fail when device tree compatible is used.
    5ee016f6120a s390/cpumf: Handle events cycles and instructions identical
    abe487a88a5d gpio: winbond: Fix error code in winbond_gpio_get()
    30531e0d7b5d nvme: move the Samsung X5 quirk entry to the core quirks
    169f7d770552 nvme-pci: add NO APST quirk for Kioxia device
    938f594266a6 nvme-pci: allocate nvme_command within driver pdu
    ba388d4e9a68 nvme: don't check nvme_req flags for new req
    e7ccaa1abacf nvme: mark nvme_setup_passsthru() inline
    3ee62a1f0701 nvme: split nvme_alloc_request()
    fe06c692cd7e nvme: centralize setting the timeout in nvme_alloc_request
    afbc954e7896 Revert "net/tls: fix tls_sk_proto_close executed repeatedly"
    340fbdc8011f virtio_net: fix xdp_rxq_info bug after suspend/resume
    3bccf82169c5 igb: Make DMA faster when CPU is active on the PCIe link
    7d7450363fdf regmap-irq: Fix a bug in regmap_irq_enable() for type_in_mask chips
    40b3815b2c90 ice: ethtool: advertise 1000M speeds properly
    7b564e3254b7 afs: Fix dynamic root getattr
    3c22192db06e MIPS: Remove repetitive increase irq_err_count
    cc649a78654a x86/xen: Remove undefined behavior in setup_features()
    b60c375ad140 selftests: netfilter: correct PKTGEN_SCRIPT_PATHS in nft_concat_range.sh
    20119c1e0fff udmabuf: add back sanity check
    e82376b63247 net/tls: fix tls_sk_proto_close executed repeatedly
    cec9867ee554 erspan: do not assume transport header is always set
    acf76125bb2b drm/msm/dp: fix connect/disconnect handled at irq_hpd
    61f8f4034c04 drm/msm/dp: promote irq_hpd handle to handle link training correctly
    d11cb082151f drm/msm/dp: deinitialize mainlink if link training failed
    3d67cb00cbbb drm/msm/dp: fixes wrong connection state caused by failure of link train
    efb2b6916050 drm/msm/dp: check core_initialized before disable interrupts at dp_display_unbind()
    d16a4339825e drm/msm/mdp4: Fix refcount leak in mdp4_modeset_init_intf
    363fd6e34618 net/sched: sch_netem: Fix arithmetic in netem_dump() for 32-bit platforms
    2e3216b929bb bonding: ARP monitor spams NETDEV_NOTIFY_PEERS notifiers
    c12a2c9b1b46 igb: fix a use-after-free issue in igb_clean_tx_ring
    361c5521c1e4 tipc: fix use-after-free Read in tipc_named_reinit
    f299d3fbe431 tipc: simplify the finalize work queue
    ab7f565ac705 phy: aquantia: Fix AN when higher speeds than 1G are not advertised
    a51c199e4d2b bpf, x86: Fix tail call count offset calculation on bpf2bpf call
    4ae116428e81 drm/sun4i: Fix crash during suspend after component bind failure
    516760f1d297 bpf: Fix request_sock leak in sk lookup helpers
    505a375eea11 drm/msm: use for_each_sgtable_sg to iterate over scatterlist
    10eb239e2935 scsi: scsi_debug: Fix zone transition to full condition
    15cc30ac2a8d netfilter: use get_random_u32 instead of prandom
    95f80c88436f netfilter: nftables: add nft_parse_register_store() and use it
    ec9b0a8d307e netfilter: nftables: add nft_parse_register_load() and use it
    8adedb4711dc drm/msm: Fix double pm_runtime_disable() call
    8682335375bd USB: serial: option: add Quectel RM500K module support
    9e6e063e548b USB: serial: option: add Quectel EM05-G modem
    0b3006a862fb USB: serial: option: add Telit LE910Cx 0x1250 composition
    f6a266e0dc6f dm mirror log: clear log bits up to BITS_PER_LONG boundary
    03d1874b8295 dm era: commit metadata in postsuspend after worker stops
    273106c2df43 ata: libata: add qc->flags in ata_qc_complete_template tracepoint
    156427b3123c mtd: rawnand: gpmi: Fix setting busy timeout setting
    07e56884cd95 mmc: sdhci-pci-o2micro: Fix card detect by dealing with debouncing
    0ae82e1ccb66 btrfs: add error messages to all unrecognized mount options
    49e3e449bc4e net: openvswitch: fix parsing of nw_proto for IPv6 fragments
    1508658aec4e ALSA: hda/realtek: Add quirk for Clevo NS50PU
    6e8e5031592d ALSA: hda/realtek: Add quirk for Clevo PD70PNT
    80307458a1ee ALSA: hda/realtek: Apply fixup for Lenovo Yoga Duet 7 properly
    7fcbc89d4722 ALSA: hda/realtek - ALC897 headset MIC no sound
    f5ea433d56d4 ALSA: hda/realtek: Add mute LED quirk for HP Omen laptop
    64373290601f ALSA: hda/conexant: Fix missing beep setup
    12a6be5d11d0 ALSA: hda/via: Fix missing beep setup
    5e80f923b8dd random: quiet urandom warning ratelimit suppression message
    310ebbd9f5cd random: schedule mix_interrupt_randomness() less often
    3acb7dc242ca vt: drop old FONT ioctls
    9cae50bdfafa Linux 5.10.126
    fb2fbb3c10d7 io_uring: use separate list entry for iopoll requests
    6a7c3bcc3c2e Linux 5.10.125
    df3f3bb5059d io_uring: add missing item types for various requests
    1a264b3a6940 arm64: mm: Don't invalidate FROM_DEVICE buffers at start of DMA transfer
    a1508d164e58 serial: core: Initialize rs485 RTS polarity already on probe
    7ccb026ecb99 tcp: drop the hash_32() part from the index calculation
    9429b75bc271 tcp: increase source port perturb table to 2^16
    24b922a5da00 tcp: dynamically allocate the perturb table used by source ports
    d28e64b1c63e tcp: add small random increments to the source port
    dd46a868fcfd tcp: use different parts of the port_offset for index and offset
    743acb520799 tcp: add some entropy in __inet_hash_connect()
    16b1994679a0 usb: gadget: u_ether: fix regression in setting fixed MAC address
    355be6131164 zonefs: fix zonefs_iomap_begin() for reads
    ee4677b78eca s390/mm: use non-quiescing sske for KVM switch to keyed guest
    4f3fee72a74c Linux 5.10.124
    e0b6018894b8 clk: imx8mp: fix usb_root_clk parent
    a3e50506ea0d powerpc/book3e: get rid of #include <generated/compile.h>
    ff4443f3fc53 igc: Enable PCIe PTM
    f0a7adff635a Revert "PCI: Make pci_enable_ptm() private"
    e1513a714de6 net: openvswitch: fix misuse of the cached connection on tuple changes
    09b55dc90b4d net/sched: act_police: more accurate MTU policing
    73bc8a5e8e3a dma-direct: don't over-decrypt memory
    aa9a001efa9c virtio-pci: Remove wrong address verification in vp_del_vqs()
    be9864103408 ALSA: hda/realtek: fix right sounds and mute/micmute LEDs for HP machine
    401bef1f95de KVM: SVM: Use kzalloc for sev ioctl interfaces to prevent kernel data leak
    d6be031a2f5e KVM: x86: Account a variety of miscellaneous allocations
    d74d7865e2a8 KVM: arm64: Don't read a HW interrupt pending state in user context
    bfd004a1d3a0 ext4: add reserved GDT blocks check
    0ca74dacfd47 ext4: make variable "count" signed
    6fdaf31ad5f3 ext4: fix bug_on ext4_mb_use_inode_pa
    e27430c1f1ed drm/amd/display: Cap OLED brightness per max frame-average luminance
    ba751f0d25f0 dm mirror log: round up region bitmap size to BITS_PER_LONG
    33ba36351eec serial: 8250: Store to lsr_save_flags after lsr read
    57901c658f77 usb: gadget: lpc32xx_udc: Fix refcount leak in lpc32xx_udc_probe
    a44a8a762f7f usb: dwc2: Fix memory leak in dwc2_hcd_init
    791da3e6c883 USB: serial: io_ti: add Agilent E5805A support
    0e13274bc642 USB: serial: option: add support for Cinterion MV31 with new baseline
    d721986e967b crypto: memneq - move into lib/
    308b8f31c069 comedi: vmk80xx: fix expression for tx buffer size
    9308be3d9a74 mei: me: add raptor lake point S DID
    9ea9c92275b3 i2c: designware: Use standard optional ref clock implementation
    506a88a5bf26 irqchip/gic-v3: Fix refcount leak in gic_populate_ppi_partitions
    7c9dd9d23f26 irqchip/gic-v3: Fix error handling in gic_populate_ppi_partitions
    e52a58b79f11 irqchip/gic/realview: Fix refcount leak in realview_gic_of_init
    716587a57a28 i2c: npcm7xx: Add check for platform_driver_register
    b559ef9dfc8f faddr2line: Fix overlapping text section failures, the sequel
    7fa28a7c3d74 block: Fix handling of offline queues in blk_mq_alloc_request_hctx()
    2d825fb53b9a certs/blacklist_hashes.c: fix const confusion in certs blacklist
    bc28fde90937 arm64: ftrace: consistently handle PLTs.
    e177f17fe46b arm64: ftrace: fix branch range checks
    64072389beb8 net: ax25: Fix deadlock caused by skb_recv_datagram in ax25_recvmsg
    28069e026e64 net: bgmac: Fix an erroneous kfree() in bgmac_remove()
    984793f25573 mlxsw: spectrum_cnt: Reorder counter pools
    b90ae84a8a9c nvme: add device name to warning in uuid_show()
    42f7cbe2c2c9 nvme: use sysfs_emit instead of sprintf
    63b26fe0252f drm/i915/reset: Fix error_state_read ptr + offset use
    2b2180449ae0 misc: atmel-ssc: Fix IRQ check in ssc_probe
    65ca4db68b68 tty: goldfish: Fix free_irq() on remove
    5334455067d5 Drivers: hv: vmbus: Release cpu lock in error case
    814092927a21 i40e: Fix call trace in setup_tx_descriptors
    43dfd1169cc0 i40e: Fix calculating the number of queue pairs
    ef4d73da0a5c i40e: Fix adding ADQ filter to TC0
    db965e2757d9 clocksource: hyper-v: unexport __init-annotated hv_init_clocksource()
    8acc3e228e1c pNFS: Avoid a live lock condition in pnfs_update_layout()
    03ea83324aa0 pNFS: Don't keep retrying if the server replied NFS4ERR_LAYOUTUNAVAILABLE
    4603a37f6eae random: credit cpu and bootloader seeds by default
    9d667348dc33 gpio: dwapb: Don't print error on -EPROBE_DEFER
    f3c8bfd6dc4f MIPS: Loongson-3: fix compile mips cpu_hwmon as module build error.
    85340c063450 mellanox: mlx5: avoid uninitialized variable warning with gcc-12
    38c519df8ecf net: ethernet: mtk_eth_soc: fix misuse of mem alloc interface netdev[napi]_alloc_frag
    b8879ca1fd73 ipv6: Fix signed integer overflow in l2tp_ip6_sendmsg
    0eeec1a8b0cd nfc: nfcmrvl: Fix memory leak in nfcmrvl_play_deferred
    6c18f47f47d4 virtio-mmio: fix missing put_device() when vm_cmdline_parent registration failed
    d539feb6df5e ALSA: hda/realtek - Add HW8326 support
    16dd002eb871 scsi: pmcraid: Fix missing resource cleanup in error case
    410b69262173 scsi: ipr: Fix missing/incorrect resource cleanup in error case
    85acc5bf0515 scsi: lpfc: Allow reduced polling rate for nvme_admin_async_event cmd completion
    916145bf9df7 scsi: lpfc: Fix port stuck in bypassed state after LIP in PT2PT topology
    f416fee125d4 scsi: vmw_pvscsi: Expand vcpuHint to 16 bits
    0e9994b86580 Input: soc_button_array - also add Lenovo Yoga Tablet2 1051F to dmi_use_low_level_irq
    2e640e5e44a7 ASoC: wm_adsp: Fix event generation for wm_adsp_fw_put()
    a572c7440251 ASoC: es8328: Fix event generation for deemphasis control
    c7b8c3758f13 ASoC: wm8962: Fix suspend while playing music
    8656623bdc0d quota: Prevent memory allocation recursion while holding dq_lock
    36cd19e7d4e5 ata: libata-core: fix NULL pointer deref in ata_host_alloc_pinfo()
    440b2a62da2e ASoC: cs42l51: Correct minimum value for SX volume control
    f93d8fe3dce8 ASoC: cs42l56: Correct typo in minimum level for SX volume controls
    13e5b76d3d71 ASoC: cs42l52: Correct TLV for Bypass Volume
    b8a47bcc4d14 ASoC: cs53l30: Correct number of volume levels on SX controls
    70e355867dc2 ASoC: cs35l36: Update digital volume TLV
    cb6a0b83f1bc ASoC: cs42l52: Fix TLV scales for mixer controls
    d7be05aff272 dma-debug: make things less spammy under memory pressure
    1b54c0065763 ASoC: nau8822: Add operation for internal PLL off and on
    2c9548bc2650 powerpc/kasan: Silence KASAN warnings in __get_wchan()
    b5699bff1da6 arm64: dts: imx8mm-beacon: Enable RTS-CTS on UART3
    28bbdca6a7a4 bpf: Fix incorrect memory charge cost calculation in stack_map_alloc()
    f14816f2f928 nfsd: Replace use of rwsem with errseq_t
    56a7f57da5d0 9p: missing chunk of "fs/9p: Don't update file type when updating file attributes"

(From OE-Core rev: 024056a239a914518f15678530120b60c7fe67a9)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit b63a1987de7e8e7de3f6656bfbb38bbd847ab500)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-07-25 15:11:45 +01:00
Bruce Ashfield
d20597c276 linux-yocto/5.10: update to v5.10.123
Updating  to the latest korg -stable release that comprises
the following commits:

    2a59239b22e0 Linux 5.10.123
    aa238a92cc94 x86/speculation/mmio: Print SMT warning
    bde15fdcce44 KVM: x86/speculation: Disable Fill buffer clear within guests
    6df693dca312 x86/speculation/mmio: Reuse SRBDS mitigation for SBDS
    cf1c01a5e4c3 x86/speculation/srbds: Update SRBDS mitigation selection
    001415e4e626 x86/speculation/mmio: Add sysfs reporting for Processor MMIO Stale Data
    3eb1180564fa x86/speculation/mmio: Enable CPU Fill buffer clearing on idle
    56f0bca5e9c8 x86/bugs: Group MDS, TAA & Processor MMIO Stale Data mitigations
    26f6f231f6a5 x86/speculation/mmio: Add mitigation for Processor MMIO Stale Data
    f83d4e5be4a3 x86/speculation: Add a common function for MD_CLEAR mitigation update
    e66310bc96b7 x86/speculation/mmio: Enumerate Processor MMIO Stale Data bug
    f8a85334a57e Documentation: Add documentation for Processor MMIO Stale Data
    5754c570a569 Linux 5.10.122
    9ba2b4ac3593 tcp: fix tcp_mtup_probe_success vs wrong snd_cwnd
    5e34b4975669 dmaengine: idxd: add missing callback function to support DMA_INTERRUPT
    b8c17121f05b zonefs: fix handling of explicit_open option on mount
    ef51997771d6 PCI: qcom: Fix pipe clock imbalance
    63bcb9da91eb md/raid0: Ignore RAID0 layout if the second zone has only one device
    418db40cc753 interconnect: Restore sync state by ignoring ipa-virt in provider count
    bcae8f8338ab interconnect: qcom: sc7180: Drop IP0 interconnects
    fe6caf512261 powerpc/mm: Switch obsolete dssall to .long
    3be74fc0afbe powerpc/32: Fix overread/overwrite of thread_struct via ptrace
    fa0d3d71dc08 drm/atomic: Force bridge self-refresh-exit on CRTC switch
    dbe04e874d4f drm/bridge: analogix_dp: Support PSR-exit to disable transition
    61297ee0c329 Input: bcm5974 - set missing URB_NO_TRANSFER_DMA_MAP urb flag
    2dba96d19d25 ixgbe: fix unexpected VLAN Rx in promisc mode on VF
    91620cded92d ixgbe: fix bcast packets Rx on VF after promisc removal
    cdd9227373f2 nfc: st21nfca: fix incorrect sizing calculations in EVT_TRANSACTION
    54423649bc0e nfc: st21nfca: fix memory leaks in EVT_TRANSACTION handling
    4f0a2c46f588 nfc: st21nfca: fix incorrect validating logic in EVT_TRANSACTION
    c4e4c07d86db net: phy: dp83867: retrigger SGMII AN when link change
    133c9870cd6b mmc: block: Fix CQE recovery reset success
    0248a8c844a4 ata: libata-transport: fix {dma|pio|xfer}_mode sysfs files
    471a41320170 cifs: fix reconnect on smb3 mount types
    9023ecfd3378 cifs: return errors during session setup during reconnects
    b423cd2a81e8 ALSA: hda/realtek: Fix for quirk to enable speaker output on the Lenovo Yoga DuetITL 2021
    94bd216d1718 ALSA: hda/conexant - Fix loopback issue with CX20632
    13639c970fdb scripts/gdb: change kernel config dumping method
    b6ea26873edb vringh: Fix loop descriptors check in the indirect cases
    362e3b3a5953 nodemask: Fix return values to be unsigned
    a262e1255b91 cifs: version operations for smb20 unneeded when legacy support disabled
    01137d898039 s390/gmap: voluntarily schedule during key setting
    f72df77600a4 nbd: fix io hung while disconnecting device
    122e4adaff24 nbd: fix race between nbd_alloc_config() and module removal
    c0868f6e728c nbd: call genl_unregister_family() first in nbd_cleanup()
    cb8da20d71f9 jump_label,noinstr: Avoid instrumentation for JUMP_LABEL=n builds
    320acaf84a64 x86/cpu: Elide KCSAN for cpu_has() and friends
    82876878210a modpost: fix undefined behavior of is_arm_mapping_symbol()
    fee8ae0a0bb6 drm/radeon: fix a possible null pointer dereference
    3e5768683022 ceph: allow ceph.dir.rctime xattr to be updatable
    7fa8312879f7 Revert "net: af_key: add check for pfkey_broadcast in function pfkey_process"
    ebfe2797253f scsi: myrb: Fix up null pointer access on myrb_cleanup()
    7eb32f286e68 md: protect md_unregister_thread from reentrancy
    668c3f9fa2dd watchdog: wdat_wdt: Stop watchdog when rebooting the system
    e20bc8b5a292 kernfs: Separate kernfs_pr_cont_buf and rename_lock.
    1e3b3a5762a9 serial: msm_serial: disable interrupts in __msm_console_write()
    ff727ab0b7d7 staging: rtl8712: fix uninit-value in r871xu_drv_init()
    33ef21d55418 staging: rtl8712: fix uninit-value in usb_read8() and friends
    f3f754d72d2d clocksource/drivers/sp804: Avoid error on multiple instances
    abf3b222614f extcon: Modify extcon device to be created after driver data is set
    41ec9466944f misc: rtsx: set NULL intfdata when probe fails
    5b0c0298f7c3 usb: dwc2: gadget: don't reset gadget's driver->bus
    468fe959eab3 sysrq: do not omit current cpu when showing backtrace of all active CPUs
    f4cb24706ca4 USB: hcd-pci: Fully suspend across freeze/thaw cycle
    ffe9440d6982 drivers: usb: host: Fix deadlock in oxu_bus_suspend()
    6e2273eefab5 drivers: tty: serial: Fix deadlock in sa1100_set_termios()
    ee105039d365 USB: host: isp116x: check return value after calling platform_get_resource()
    0f69d7d5e918 drivers: staging: rtl8192e: Fix deadlock in rtllib_beacons_stop()
    66f769762f65 drivers: staging: rtl8192u: Fix deadlock in ieee80211_beacons_stop()
    cb7147afd328 tty: Fix a possible resource leak in icom_probe
    d68d5e68b7f6 tty: synclink_gt: Fix null-pointer-dereference in slgt_clean()
    61ca1b97adb9 lkdtm/usercopy: Expand size of "out of frame" object
    7821d743abb3 iio: st_sensors: Add a local lock for protecting odr
    5a89a92efc34 staging: rtl8712: fix a potential memory leak in r871xu_drv_init()
    8caa4b7d411c iio: dummy: iio_simple_dummy: check the return value of kstrdup()
    f091e29ed872 drm: imx: fix compiler warning with gcc-12
    96bf5ed057df net: altera: Fix refcount leak in altera_tse_mdio_create
    fbeb8dfa8b87 ip_gre: test csum_start instead of transport header
    1981cd7a774e net/mlx5: fs, fail conflicting actions
    652418d82b7d net/mlx5: Rearm the FW tracer after each tracer event
    5d9c1b081ad2 net: ipv6: unexport __init-annotated seg6_hmac_init()
    be3884d5cd04 net: xfrm: unexport __init-annotated xfrm4_protocol_init()
    7759c3222815 net: mdio: unexport __init-annotated mdio_bus_init()
    b585b87fd5c7 SUNRPC: Fix the calculation of xdr->end in xdr_get_next_encode_buffer()
    3d8122e1692b net/mlx4_en: Fix wrong return value on ioctl EEPROM query failure
    c2ae49a113a5 net: dsa: lantiq_gswip: Fix refcount leak in gswip_gphy_fw_list
    0cf7aaff290c bpf, arm64: Clear prog->jited_len along prog->jited
    c61848500a3f af_unix: Fix a data-race in unix_dgram_peer_wake_me().
    be9581f4fda7 xen: unexport __init-annotated xen_xlate_map_ballooned_pages()
    86c87d2c0338 netfilter: nf_tables: bail out early if hardware offload is not supported
    330c0c6cd215 netfilter: nf_tables: memleak flow rule from commit path
    67e2d448733c netfilter: nf_tables: release new hooks on unsupported flowtable flags
    19cb3ece1454 ata: pata_octeon_cf: Fix refcount leak in octeon_cf_probe
    ec5548066d34 netfilter: nf_tables: always initialize flowtable hook list in transaction
    7fd03e34f01f powerpc/kasan: Force thread size increase with KASAN
    7a248f9c74f9 netfilter: nf_tables: delete flowtable hooks via transaction list
    9edafbc7ec29 netfilter: nat: really support inet nat without l3 address
    8dbae5affbdb xprtrdma: treat all calls not a bcall when bc_serv is NULL
    8b3d5bafb188 video: fbdev: pxa3xx-gcu: release the resources correctly in pxa3xx_gcu_probe/remove()
    c09b873f3f39 video: fbdev: hyperv_fb: Allow resolutions with size > 64 MB for Gen1
    0ee5b9644f06 NFSv4: Don't hold the layoutget locks across multiple RPC calls
    95a0ba85c1b5 dmaengine: zynqmp_dma: In struct zynqmp_dma_chan fix desc_size data type
    2c08cae19d5d m68knommu: fix undefined reference to `_init_sp'
    d99f04df3236 m68knommu: set ZERO_PAGE() to the allocated zeroed page
    344a55ccf5ec i2c: cadence: Increase timeout per message if necessary
    32bea51fe4c6 f2fs: remove WARN_ON in f2fs_is_valid_blkaddr
    54c1e0e3bbca iommu/arm-smmu-v3: check return value after calling platform_get_resource()
    3660db29b030 iommu/arm-smmu: fix possible null-ptr-deref in arm_smmu_device_probe()
    9e801c891aa2 tracing: Avoid adding tracer option before update_tracer_options
    1788e6dbb612 tracing: Fix sleeping function called from invalid context on RT kernel
    2f452a33067d bootconfig: Make the bootconfig.o as a normal object file
    c667b3872a4c mips: cpc: Fix refcount leak in mips_cpc_default_phys_base
    76b226eaf055 dmaengine: idxd: set DMA_INTERRUPT cap bit
    32be2b805a1a perf c2c: Fix sorting in percent_rmt_hitm_cmp()
    71cbce75031a driver core: Fix wait_for_device_probe() & deferred_probe_timeout interaction
    b8fac8e32104 tipc: check attribute length for bearer name
    c1f018702590 scsi: sd: Fix potential NULL pointer dereference
    d2e297eaf456 afs: Fix infinite loop found by xfstest generic/676
    04622d631826 gpio: pca953x: use the correct register address to do regcache sync
    0a0f7f841484 tcp: tcp_rtx_synack() can be called from process context
    e05dd93826e1 net: sched: add barrier to fix packet stuck problem for lockless qdisc
    e9fe72b95d7f net/mlx5e: Update netdev features after changing XDP state
    b50eef7a38ed net/mlx5: correct ECE offset in query qp output
    ea5edd015feb net/mlx5: Don't use already freed action pointer
    bf2af9b24313 sfc: fix wrong tx channel offset with efx_separate_tx_channels
    8f81a4113e1e sfc: fix considering that all channels have TX queues
    7ac3a034d96a nfp: only report pause frame configuration for physical device
    630e0a10c020 net/smc: fixes for converting from "struct smc_cdc_tx_pend **" to "struct smc_wr_tx_pend_priv *"
    b97550e380ca riscv: read-only pages should not be writable
    8f49e1694cbc bpf: Fix probe read error in ___bpf_prog_run()
    6d8d3f68cbec ubi: ubi_create_volume: Fix use-after-free when volume creation failed
    f413e4d7cdf3 ubi: fastmap: Fix high cpu usage of ubi_bgt by making sure wl_pool not empty
    3252d327f977 jffs2: fix memory leak in jffs2_do_fill_super
    741e49eacdcd modpost: fix removing numeric suffixes
    42658e47f1ab net: dsa: mv88e6xxx: Fix refcount leak in mv88e6xxx_mdios_register
    f7ba2cc57f40 net: ethernet: ti: am65-cpsw-nuss: Fix some refcount leaks
    71ae30662ec6 net: ethernet: mtk_eth_soc: out of bounds read in mtk_hwlro_get_fdir_entry()
    503a3fd6466d net: sched: fixed barrier to prevent skbuff sticking in qdisc backlog
    ee89d7fd49de s390/crypto: fix scatterwalk_unmap() callers in AES-GCM
    e892a7e60f1f clocksource/drivers/oxnas-rps: Fix irq_of_parse_and_map() return value
    1d7361679f0a ASoC: fsl_sai: Fix FSL_SAI_xDR/xFR definition
    910b1cdf6c50 watchdog: ts4800_wdt: Fix refcount leak in ts4800_wdt_probe
    b3354f2046cc watchdog: rti-wdt: Fix pm_runtime_get_sync() error checking
    36ee9ffca8ef driver core: fix deadlock in __device_attach
    823f24f2e329 driver: base: fix UAF when driver_attach failed
    7a6337bfedc5 bus: ti-sysc: Fix warnings for unbind for serial
    985706bd3bbe firmware: dmi-sysfs: Fix memory leak in dmi_sysfs_register_handle
    94acaaad470e serial: stm32-usart: Correct CSIZE, bits, and parity
    b7e560d2ffbe serial: st-asc: Sanitize CSIZE and correct PARENB for CS7
    afcfc3183cfd serial: sifive: Sanitize CSIZE and c_iflag
    a9f6bee486e7 serial: sh-sci: Don't allow CS5-6
    00456b932e16 serial: txx9: Don't allow CS5-6
    22e975796f89 serial: rda-uart: Don't allow CS5-6
    ff4ce2979b5d serial: digicolor-usart: Don't allow CS5-6
    5cd331bcf094 serial: 8250_fintek: Check SER_RS485_RTS_* only with RS485
    260792d5c9d6 serial: meson: acquire port->lock in startup()
    82bfea344e8f rtc: mt6397: check return value after calling platform_get_resource()
    d54a51b51851 clocksource/drivers/riscv: Events are stopped during CPU suspend
    5b3e990f85eb soc: rockchip: Fix refcount leak in rockchip_grf_init
    cfe8a0967d6e extcon: ptn5150: Add queue work sync before driver release
    96414e2cdc28 coresight: cpu-debug: Replace mutex with mutex_trylock on panic notifier
    47ebc50dc2a7 serial: sifive: Report actual baud base rather than fixed 115200
    ab35308bbd33 phy: qcom-qmp: fix pipe-clock imbalance on power-on failure
    52f327a45c5b rpmsg: qcom_smd: Fix returning 0 if irq_of_parse_and_map() fails
    c10333c4519a iio: adc: sc27xx: Fine tune the scale calibration values
    3747429834d2 iio: adc: sc27xx: fix read big scale voltage not right
    b30f2315a3a6 iio: proximity: vl53l0x: Fix return value check of wait_for_completion_timeout
    43823ceb26e6 iio: adc: stmpe-adc: Fix wait_for_completion_timeout return value check
    6f01c0fb8e44 usb: typec: mux: Check dev_set_name() return value
    7027c890ff6b firmware: stratix10-svc: fix a missing check on list iterator
    70ece3c5ec4f misc: fastrpc: fix an incorrect NULL check on list iterator
    2a1bf8e5ad61 usb: dwc3: pci: Fix pm_runtime_get_sync() error checking
    8ae4fed195c0 rpmsg: qcom_smd: Fix irq_of_parse_and_map() return value
    572211d631d7 pwm: lp3943: Fix duty calculation in case period was clamped
    f9782b26d6f1 staging: fieldbus: Fix the error handling path in anybuss_host_common_probe()
    b382c0c3b8cc usb: musb: Fix missing of_node_put() in omap2430_probe
    6b7cf2212223 USB: storage: karma: fix rio_karma_init return
    e100742823c3 usb: usbip: add missing device lock on tweak configuration cmd
    bcbb795a9e78 usb: usbip: fix a refcount leak in stub_probe()
    4e3a2d77bd0b tty: serial: fsl_lpuart: fix potential bug when using both of_alias_get_id and ida_simple_get
    e27376f5aade tty: n_tty: Restore EOF push handling behavior
    11bc6eff3abc tty: serial: owl: Fix missing clk_disable_unprepare() in owl_uart_probe
    ee6c33b29e62 tty: goldfish: Use tty_port_destroy() to destroy port
    56ac04f35fc5 lkdtm/bugs: Check for the NULL pointer after calling kmalloc
    03efa70eb0ee iio: adc: ad7124: Remove shift from scan_type
    4610b067615f staging: greybus: codecs: fix type confusion of list iterator variable
    1509d2335db8 pcmcia: db1xxx_ss: restrict to MIPS_DB1XXX boards

(From OE-Core rev: 445bbe02edd2c65a6cddef6d183f9dc2c5c50c9a)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 05f9a3e20222afefdb960a8162a8d69e3658dfac)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-07-25 15:11:45 +01:00
Bruce Ashfield
04cab26956 linux-yocto/5.10: update to v5.10.121
Updating  to the latest korg -stable release that comprises
the following commits:

    e2e52b40ef1a Linux 5.10.121
    47c1680e51ef md: bcache: check the return value of kzalloc() in detached_dev_do_request()
    a67100f42665 ext4: only allow test_dummy_encryption when supported
    96662c77466d MIPS: IP30: Remove incorrect `cpu_has_fpu' override
    57e561573f2e MIPS: IP27: Remove incorrect `cpu_has_fpu' override
    bb55ca161292 RDMA/rxe: Generate a completion for unsupported/invalid opcode
    72268945b124 Revert "random: use static branch for crng_ready()"
    6b03dc67dde3 block: fix bio_clone_blkg_association() to associate with proper blkcg_gq
    51f724bffa34 bfq: Make sure bfqg for which we are queueing requests is online
    0285718e2825 bfq: Get rid of __bio_blkcg() usage
    80b0a2b3dfea bfq: Remove pointless bfq_init_rq() calls
    13599aac1b98 bfq: Drop pointless unlock-lock pair
    7d172b9dc913 bfq: Avoid merging queues with different parents
    54cdc10ac718 thermal/core: Fix memory leak in the error path
    b132abaa6515 thermal/core: fix a UAF bug in __thermal_cooling_device_register()
    ec1378f2fa36 kseltest/cgroup: Make test_stress.sh work if run interactively
    82b2b60b6745 xfs: assert in xfs_btree_del_cursor should take into account error
    f1916a88c89e xfs: consider shutdown in bmapbt cursor delete assert
    e3ffe7387c70 xfs: force log and push AIL to clear pinned inodes when aborting mount
    0b229d03d05f xfs: restore shutdown check in mapped write fault path
    3d05a855dcf7 xfs: fix incorrect root dquot corruption error when switching group/project quota types
    893cf5f68a4c xfs: fix chown leaking delalloc quota blocks when fssetxattr fails
    643ceee253a4 xfs: sync lazy sb accounting on quiesce of read-only mounts
    af26bfb04a17 xfs: set inode size after creating symlink
    d27f0000d7d4 net: ipa: fix page free in ipa_endpoint_replenish_one()
    70124d94f4c9 net: ipa: fix page free in ipa_endpoint_trans_release()
    2156dc390402 phy: qcom-qmp: fix reset-controller leak on probe errors
    67e3404889cf coresight: core: Fix coresight device probe failure issue
    77692c02e151 blk-iolatency: Fix inflight count imbalances and IO hangs on offline
    19e5aac38abc vdpasim: allow to enable a vq repeatedly
    ec029087dfef dt-bindings: gpio: altera: correct interrupt-cells
    0ac587c61fc1 docs/conf.py: Cope with removal of language=None in Sphinx 5.0.0
    6182c71a0c04 SMB3: EBADF/EIO errors in rename/open caused by race condition in smb2_compound_op
    d6b9b220d10e ARM: pxa: maybe fix gpio lookup tables
    39c61f4f7f6f ARM: dts: s5pv210: Remove spi-cs-high on panel in Aries
    6f3673c8d8ef phy: qcom-qmp: fix struct clk leak on probe errors
    09a84dad95fa arm64: dts: qcom: ipq8074: fix the sleep clock frequency
    591c3481b13f gma500: fix an incorrect NULL check on list iterator
    c521f42dd241 tilcdc: tilcdc_external: fix an incorrect NULL check on list iterator
    10c5088a312d serial: pch: don't overwrite xmit->buf[0] by x_char
    59afd4f28790 bcache: avoid journal no-space deadlock by reserving 1 journal bucket
    0cf22f234ebc bcache: remove incremental dirty sector counting for bch_sectors_dirty_init()
    3f686b249b1c bcache: improve multithreaded bch_sectors_dirty_init()
    46c2b5f81c9e bcache: improve multithreaded bch_btree_check()
    4e2fbe8cda17 stm: ltdc: fix two incorrect NULL checks on list iterator
    dc12a64cf850 carl9170: tx: fix an incorrect use of list iterator
    8f1bc0edf53c ASoC: rt5514: Fix event generation for "DSP Voice Wake Up" control
    769ec2a824de rtl818x: Prevent using not initialized queues
    d787a57a17cf xtensa/simdisk: fix proc_read_simdisk()
    63758dd9595f hugetlb: fix huge_pmd_unshare address update
    90ad54714e14 nodemask.h: fix compilation error with GCC12
    e9514bce2fb7 iommu/msm: Fix an incorrect NULL check on list iterator
    82c888e51c21 ftrace: Clean up hash direct_functions on register failures
    c26ccbaeb8d8 kexec_file: drop weak attribute from arch_kexec_apply_relocations[_add]
    cf0dabc37446 um: Fix out-of-bounds read in LDT setup
    7f8fd5dd43cd um: chan_user: Fix winch_tramp() return value
    873069e393c5 mac80211: upgrade passive scan to active scan on DFS channels after beacon rx
    22741dd048ef cfg80211: declare MODULE_FIRMWARE for regulatory.db
    e87fedad4a00 irqchip: irq-xtensa-mx: fix initial IRQ affinity
    be7ae7cd1c2d irqchip/armada-370-xp: Do not touch Performance Counter Overflow on A375, A38x, A39x
    df7f0f8be301 csky: patch_text: Fixup last cpu should be master
    31dca00d0cc9 RDMA/hfi1: Fix potential integer multiplication overflow errors
    09408080adb1 Kconfig: Add option for asm goto w/ tied outputs to workaround clang-13 bug
    b67adaec347d ima: remove the IMA_TEMPLATE Kconfig option
    577a959cb0bd media: coda: Add more H264 levels for CODA960
    4005f6a25c05 media: coda: Fix reported H264 profile
    d09dad00574b mtd: cfi_cmdset_0002: Use chip_ready() for write on S29GL064N
    08788b917b79 mtd: cfi_cmdset_0002: Move and rename chip_check/chip_ready/chip_good_for_write
    b2b01444228d md: fix an incorrect NULL check in md_reload_sb
    2401f1cf3dee md: fix an incorrect NULL check in does_sb_need_changing
    e28321e01365 drm/i915/dsi: fix VBT send packet port selection for ICL+
    495ac7757663 drm/bridge: analogix_dp: Grab runtime PM reference for DP-AUX
    addf0ae79258 drm/nouveau/kms/nv50-: atom: fix an incorrect NULL check on list iterator
    97a9ec86ccb4 drm/nouveau/clk: Fix an incorrect NULL check on list iterator
    436cff507f2a drm/etnaviv: check for reaped mapping in etnaviv_iommu_unmap_gem
    be585921f29d drm/amdgpu/cs: make commands with 0 chunks illegal behaviour.
    556e404691ed scsi: ufs: qcom: Add a readl() to make sure ref_clk gets enabled
    f297dc2364b9 scsi: dc395x: Fix a missing check on list iterator
    337e36550788 ocfs2: dlmfs: fix error handling of user_dlm_destroy_lock
    4ca3ac06e77d dlm: fix missing lkb refcount handling
    899bc4429174 dlm: fix plock invalid read
    74114d26e9db s390/perf: obtain sie_block from the right address
    7994d890123a mm, compaction: fast_find_migrateblock() should return pfn in the target zone
    99fd821f567e PCI: qcom: Fix unbalanced PHY init on probe errors
    c0e129dafce2 PCI: qcom: Fix runtime PM imbalance on probe errors
    2b4c6ad38228 PCI/PM: Fix bridge_d3_blacklist[] Elo i2 overwrite of Gigabyte X299
    058cb6d86b97 tracing: Fix potential double free in create_var_ref()
    a2b9edc3f894 ACPI: property: Release subnode properties with data nodes
    ff4cafa51762 ext4: avoid cycles in directory h-tree
    da2f05919238 ext4: verify dir block before splitting it
    4fd58b5cf118 ext4: fix bug_on in __es_tree_search
    cc5b09cb6dac ext4: filter out EXT4_FC_REPLAY from on-disk superblock field s_state
    1b061af03764 ext4: fix bug_on in ext4_writepages
    adf490083ca5 ext4: fix warning in ext4_handle_inode_extension
    dd887f83ea54 ext4: fix use-after-free in ext4_rename_dir_prepare
    70a7dea84639 bfq: Track whether bfq_group is still online
    b06691af08b4 bfq: Update cgroup information before merging bio
    4dfc12f8c94c bfq: Split shared queues on move between cgroups
    c072cab98bac efi: Do not import certificates from UEFI Secure Boot for T2 Macs
    9a9dc60da79a fs-writeback: writeback_sb_inodes:Recalculate 'wrote' according skipped pages
    c1ad58de1300 iwlwifi: mvm: fix assert 1F04 upon reconfig
    6118bbdf69f4 wifi: mac80211: fix use-after-free in chanctx code
    efdefbe8b756 f2fs: fix to do sanity check for inline inode
    2221a2d41018 f2fs: fix fallocate to use file_modified to update permissions consistently
    ef221b738b26 f2fs: fix to do sanity check on total_data_blocks
    196f72e089b7 f2fs: don't need inode lock for system hidden quota
    2e790aa37858 f2fs: fix deadloop in foreground GC
    ccd58045beb9 f2fs: fix to clear dirty inode in f2fs_evict_inode()
    a34d7b49894b f2fs: fix to do sanity check on block address in f2fs_do_zero_range()
    2766ddaf45b6 f2fs: fix to avoid f2fs_bug_on() in dec_valid_node_count()
    d8b6aaeb9a91 perf jevents: Fix event syntax error caused by ExtSel
    c8c2802407aa perf c2c: Use stdio interface if slang is not supported
    c9542f5f901b i2c: rcar: fix PM ref counts in probe error paths
    ebd4f37ac1e6 i2c: npcm: Handle spurious interrupts
    5c0dfca6b9cc i2c: npcm: Correct register access width
    06cb0f056ba1 i2c: npcm: Fix timeout calculation
    de6f6b5400be iommu/amd: Increase timeout waiting for GA log enablement
    3cfb54643987 dmaengine: stm32-mdma: fix chan initialization in stm32_mdma_irq_handler()
    13d8d11dfaf9 dmaengine: stm32-mdma: rework interrupt handler
    0f87bd8b5fbf dmaengine: stm32-mdma: remove GISR1 register
    c1c4405222b6 video: fbdev: clcdfb: Fix refcount leak in clcdfb_of_vram_setup
    96fdbb1c8563 NFSv4/pNFS: Do not fail I/O when we fail to allocate the pNFS layout
    83839a333fbf NFS: Don't report errors from nfs_pageio_complete() more than once
    040242365c9e NFS: Do not report flush errors in nfs_write_end()
    c5a0e59bbe05 NFS: fsync() should report filesystem errors over EINTR/ERESTARTSYS
    418b9fa4349a NFS: Do not report EINTR/ERESTARTSYS as mapping errors
    6073af78156b dmaengine: idxd: Fix the error handling path in idxd_cdev_register()
    f57696bc6341 i2c: at91: Initialize dma_buf in at91_twi_xfer()
    8e49773a7596 MIPS: Loongson: Use hwmon_device_register_with_groups() to register hwmon
    ec5ded7acb38 cpufreq: mediatek: Unregister platform device on exit
    9d91400fff46 cpufreq: mediatek: Use module_init and add module_exit
    c7b0ec974457 cpufreq: mediatek: add missing platform_driver_unregister() on error in mtk_cpufreq_driver_init
    fb02d6b5432d i2c: at91: use dma safe buffers
    da748d263a64 iommu/mediatek: Add list_del in mtk_iommu_remove
    51d584704d18 f2fs: fix dereference of stale list iterator after loop body
    0e0faa14316b OPP: call of_node_put() on error path in _bandwidth_supported()
    baf86afed745 Input: stmfts - do not leave device disabled in stmfts_input_open
    fc0750e659db RDMA/hfi1: Prevent use of lock before it is initialized
    bb2220e0672b mailbox: forward the hrtimer if not queued and under a lock
    a1d4941d9a24 mfd: davinci_voicecodec: Fix possible null-ptr-deref davinci_vc_probe()
    46fd994763cf powerpc/fsl_rio: Fix refcount leak in fsl_rio_setup
    b8ef79697b62 macintosh: via-pmu and via-cuda need RTC_LIB
    cca915d69127 powerpc/perf: Fix the threshold compare group constraint for power9
    7620a280dade powerpc/64: Only WARN if __pa()/__va() called with bad addresses
    9b2851564189 hwrng: omap3-rom - fix using wrong clk_disable() in omap_rom_rng_runtime_resume()
    40d428b528c5 PCI/AER: Clear MULTI_ERR_COR/UNCOR_RCV bits
    6e07ccc7d561 Input: sparcspkr - fix refcount leak in bbc_beep_probe
    76badb0a4d94 crypto: cryptd - Protect per-CPU resource by disabling BH.
    40c41a7bfd59 crypto: sun8i-ss - handle zero sized sg
    5bea8f700a69 crypto: sun8i-ss - rework handling of IV
    9834b13e8b96 tty: fix deadlock caused by calling printk() under tty_port->lock
    a21d4dab776a PCI: imx6: Fix PERST# start-up sequence
    2a9d3b51185b ipc/mqueue: use get_tree_nodev() in mqueue_get_tree()
    f061ddfed9a7 proc: fix dentry/inode overinstantiating under /proc/${pid}/net
    ab0c26e44139 ASoC: atmel-classd: Remove endianness flag on class d component
    b716e4168df9 ASoC: atmel-pdmic: Remove endianness flag on pdmic component
    456105105e78 powerpc/4xx/cpm: Fix return value of __setup() handler
    de5bc923186c powerpc/idle: Fix return value of __setup() handler
    f99187976239 pinctrl: renesas: core: Fix possible null-ptr-deref in sh_pfc_map_resources()
    f7c290eac8f2 powerpc/8xx: export 'cpm_setbrg' for modules
    49a5b1735cd9 drivers/base/memory: fix an unlikely reference counting issue in __add_memory_block()
    c1219429179d dax: fix cache flush on PMD-mapped pages
    d8a5bdc767f1 drivers/base/node.c: fix compaction sysfs file leak
    84958f066dec pinctrl: mvebu: Fix irq_of_parse_and_map() return value
    8a8b40d00753 nvdimm: Allow overwrite in the presence of disabled dimms
    641649f31e20 nvdimm: Fix firmware activation deadlock scenarios
    1052f22e127d firmware: arm_scmi: Fix list protocols enumeration in the base protocol
    7a55a5159dae scsi: fcoe: Fix Wstringop-overflow warnings in fcoe_wwn_from_mac()
    17d9d7d26406 mfd: ipaq-micro: Fix error check return value of platform_get_irq()
    82c6c8a66c2e powerpc/fadump: fix PT_LOAD segment for boot memory area
    08b053d32b16 arm: mediatek: select arch timer for mt7629
    ceb61ab22dbd pinctrl: bcm2835: implement hook for missing gpio-ranges
    cda45b715d70 gpiolib: of: Introduce hook for missing gpio-ranges
    a26dfdf0a63b crypto: marvell/cesa - ECB does not IV
    ee89d8dee55a misc: ocxl: fix possible double free in ocxl_file_register_afu
    22c3fea20a94 ARM: dts: bcm2835-rpi-b: Fix GPIO line names
    0a4ee6cdaa14 ARM: dts: bcm2837-rpi-3-b-plus: Fix GPIO line name of power LED
    bd7ffc171ca5 ARM: dts: bcm2837-rpi-cm3-io3: Fix GPIO line names for SMPS I2C
    daffdb08306e ARM: dts: bcm2835-rpi-zero-w: Fix GPIO line name for Wifi/BT
    95000ae68025 ARM: dts: stm32: Fix PHY post-reset delay on Avenger96
    b439f7addd2b can: xilinx_can: mark bit timing constants as const
    875a17c3adb4 platform/chrome: Re-introduce cros_ec_cmd_xfer and use it for ioctls
    b0bf87b1b388 ARM: dts: imx6dl-colibri: Fix I2C pinmuxing
    acd2313bd99d platform/chrome: cros_ec: fix error handling in cros_ec_register()
    e690350d3d9f KVM: nVMX: Clear IDT vectoring on nested VM-Exit for double/triple fault
    fd7dca68a69b KVM: nVMX: Leave most VM-Exit info fields unmodified on failed VM-Entry
    259c1fad9fb0 soc: qcom: llcc: Add MODULE_DEVICE_TABLE()
    ca7ce579a717 ARM: dts: ci4x10: Adapt to changes in imx6qdl.dtsi regarding fec clocks
    acd99f384cb3 PCI: dwc: Fix setting error return on MSI DMA mapping failure
    92b7cab3076d PCI: rockchip: Fix find_first_zero_bit() limit
    266f5cf6928a PCI: cadence: Fix find_first_zero_bit() limit
    a409d0b1f929 soc: qcom: smsm: Fix missing of_node_put() in smsm_parse_ipc
    7cbe94d296c0 soc: qcom: smp2p: Fix missing of_node_put() in smp2p_parse_ipc
    83653417988c ARM: dts: suniv: F1C100: fix watchdog compatible
    ea4f1c6bb966 memory: samsung: exynos5422-dmc: Avoid some over memory allocation
    3960629bb584 arm64: dts: rockchip: Move drive-impedance-ohm to emmc phy on rk3399
    0c5f04da02b4 net/smc: postpone sk_refcnt increment in connect()
    8096e2d7c0f9 hinic: Avoid some over memory allocation
    dc7753d60097 net: huawei: hinic: Use devm_kcalloc() instead of devm_kzalloc()
    4790963ef433 rxrpc: Fix decision on when to generate an IDLE ACK
    3eef677a25c7 rxrpc: Don't let ack.previousPacket regress
    573de88fc107 rxrpc: Fix overlapping ACK accounting
    4f1c34ee6057 rxrpc: Don't try to resend the request if we're receiving the reply
    5b4826657d36 rxrpc: Fix listen() setting the bar too high for the prealloc rings
    541224201e1d hv_netvsc: Fix potential dereference of NULL pointer
    deb16df5254d net: stmmac: fix out-of-bounds access in a selftest
    5c2b34d072c4 net: stmmac: selftests: Use kcalloc() instead of kzalloc()
    7386f6904159 ASoC: max98090: Move check for invalid values before casting in max98090_put_enab_tlv()
    d015f6f694ec NFC: hci: fix sleep in atomic context bugs in nfc_hci_hcp_message_tx
    7a5e6a48980e ASoC: wm2000: fix missing clk_disable_unprepare() on error in wm2000_anc_transition()
    8bbf522a2c51 thermal/drivers/imx_sc_thermal: Fix refcount leak in imx_sc_thermal_probe
    18530bedd221 thermal/core: Fix memory leak in __thermal_cooling_device_register()
    dcf5ffc91c91 thermal/drivers/core: Use a char pointer for the cooling device name
    79098339ac20 thermal/drivers/broadcom: Fix potential NULL dereference in sr_thermal_probe
    836038029540 thermal/drivers/bcm2711: Don't clamp temperature at zero
    3161044e75b7 drm/i915: Fix CFI violation with show_dynamic_id()
    ffbcfb1688f6 drm/msm/dpu: handle pm_runtime_get_sync() errors in bind path
    2679de7d046f x86/sev: Annotate stack change in the #VC handler
    656aa3c51fc6 drm: msm: fix possible memory leak in mdp5_crtc_cursor_set()
    48e82ce8cdb1 drm/msm/a6xx: Fix refcount leak in a6xx_gpu_init
    d54ac6ca48c1 ext4: reject the 'commit' option on ext2 filesystems
    63b7c0899564 media: rkvdec: h264: Fix bit depth wrap in pps packet
    b4805a77d525 media: rkvdec: h264: Fix dpb_valid implementation
    82239e30ab04 media: staging: media: rkvdec: Make use of the helper function devm_platform_ioremap_resource()
    5c2456629433 media: ov7670: remove ov7670_power_off from ov7670_remove
    510e879420b4 ASoC: ti: j721e-evm: Fix refcount leak in j721e_soc_probe_*
    33411945c9ad net: hinic: add missing destroy_workqueue in hinic_pf_to_mgmt_init
    8113eedbab85 sctp: read sk->sk_bound_dev_if once in sctp_rcv()
    6950ee32c187 lsm,selinux: pass flowi_common instead of flowi to the LSM hooks
    a67a1661cf8a m68k: math-emu: Fix dependencies of math emulation support
    4dcae15ff84f nvme: set dma alignment to dword
    8ace1e63550a Bluetooth: use hdev lock for accept_list and reject_list in conn req
    792f8b0e748c Bluetooth: use inclusive language when filtering devices
    d763aa352cfc Bluetooth: use inclusive language in HCI role comments
    c024f6f11d4d Bluetooth: LL privacy allow RPA
    394df9f17e15 Bluetooth: L2CAP: Rudimentary typo fixes
    5702c3c6576d Bluetooth: Interleave with allowlist scan
    36c644c63bfc Bluetooth: fix dangling sco_conn and use-after-free in sco_sock_timeout
    fc68385fcbac media: vsp1: Fix offset calculation for plane cropping
    a3304766d938 media: pvrusb2: fix array-index-out-of-bounds in pvr2_i2c_core_init
    7d792640d3e9 media: exynos4-is: Change clk_disable to clk_disable_unprepare
    b3e483735847 media: st-delta: Fix PM disable depth imbalance in delta_probe
    8e4e0c4ac55e media: exynos4-is: Fix PM disable depth imbalance in fimc_is_probe
    0572a5bd38e3 media: aspeed: Fix an error handling path in aspeed_video_probe()
    34feaea3aa4f scripts/faddr2line: Fix overlapping text section failures
    1472fb1c7447 kselftest/cgroup: fix test_stress.sh to use OUTPUT dir
    cacea459f95b ASoC: samsung: Fix refcount leak in aries_audio_probe
    c1b08aa568e8 ASoC: samsung: Use dev_err_probe() helper
    9f564e29a512 regulator: pfuze100: Fix refcount leak in pfuze_parse_regulators_dt
    2a0da7641e1f ASoC: mxs-saif: Fix refcount leak in mxs_saif_probe
    e84aaf23ca82 ASoC: fsl: Fix refcount leak in imx_sgtl5000_probe
    4024affd53e2 ath11k: Don't check arvif->is_started before sending management frames
    779d41c80b10 perf/amd/ibs: Use interrupt regs ip for stack unwinding
    37a9db0ee7e7 regulator: qcom_smd: Fix up PM8950 regulator configuration
    e2786db0a7eb Revert "cpufreq: Fix possible race in cpufreq online error path"
    560dcbe1c7a7 spi: spi-fsl-qspi: check return value after calling platform_get_resource_byname()
    f40549ce20e8 iomap: iomap_write_failed fix
    7a79ab259684 media: uvcvideo: Fix missing check to determine if element is found in list
    d50b26221fba drm/msm: return an error pointer in msm_gem_prime_get_sg_table()
    883f1d52a57b drm/msm/mdp5: Return error code in mdp5_mixer_release when deadlock is detected
    49dc28b4b2e2 drm/msm/mdp5: Return error code in mdp5_pipe_release when deadlock is detected
    a10092dabae6 drm/msm/dp: fix event thread stuck in wait_event after kthread_stop()
    369a712442f9 regulator: core: Fix enable_count imbalance with EXCLUSIVE_GET
    018ebe4c1810 arm64: fix types in copy_highpage()
    49bfbaf6a039 x86/mm: Cleanup the control_va_addr_alignment() __setup handler
    0d5c8ac9229a irqchip/aspeed-scu-ic: Fix irq_of_parse_and_map() return value
    f4b503b4ef59 irqchip/aspeed-i2c-ic: Fix irq_of_parse_and_map() return value
    5e76e5163392 irqchip/exiu: Fix acknowledgment of edge triggered interrupts
    35abf2081fa9 x86: Fix return value of __setup handlers
    940b12435bff virtio_blk: fix the discard_granularity and discard_alignment queue limits
    23716d761415 perf tools: Use Python devtools for version autodetection rather than runtime
    345185231230 drm/rockchip: vop: fix possible null-ptr-deref in vop_bind()
    e19ece6f248a drm/panel: panel-simple: Fix proper bpc for AM-1280800N3TZQW-T00H
    5a26a4947031 drm/msm: add missing include to msm_drv.c
    7b815e91ff51 drm/msm/hdmi: fix error check return value of irq_of_parse_and_map()
    d9cb951d11a4 drm/msm/hdmi: check return value after calling platform_get_resource_byname()
    e99755e6a992 drm/msm/dsi: fix error checks and return values for DSI xmit functions
    3574e0b2904c drm/msm/dp: fix error check return value of irq_of_parse_and_map()
    04204612dd87 drm/msm/dp: stop event kernel thread when DP unbind
    134760263f64 drm/msm/disp/dpu1: set vbif hw config to NULL to avoid use after memory free during pm runtime resume
    d5773db56ce9 perf tools: Add missing headers needed by util/data.h
    e251a33fe879 ASoC: rk3328: fix disabling mclk on pclk probe failure
    e2fef34d7806 x86/speculation: Add missing prototype for unpriv_ebpf_notify()
    81f1ddffdc22 mtd: rawnand: cadence: fix possible null-ptr-deref in cadence_nand_dt_probe()
    b6ecf2b7e691 x86/pm: Fix false positive kmemleak report in msr_build_context()
    0e1cd4edefc8 mtd: spi-nor: core: Check written SR value in spi_nor_write_16bit_sr_and_check()
    ab88c8d906c6 libbpf: Fix logic for finding matching program for CO-RE relocation
    97b56f17b355 selftests/resctrl: Fix null pointer dereference on open failed
    c54d66c51475 scsi: ufs: core: Exclude UECxx from SFR dump list
    02192ee93684 scsi: ufs: qcom: Fix ufs_qcom_resume()
    328cfeac735c drm/msm/dpu: adjust display_v_end for eDP and DP
    cc68e53f9a7f of: overlay: do not break notify on NOTIFY_{OK|STOP}
    f929416d5c9c fsnotify: fix wrong lockdep annotations
    94845fc422f9 inotify: show inotify mask flags in proc fdinfo
    f2c68c52898f ALSA: pcm: Check for null pointer of pointer substream before dereferencing it
    d764a7d647f7 drm/panel: simple: Add missing bus flags for Innolux G070Y2-L01
    b6b70cd3ddfa media: hantro: Empty encoder capture buffers by default
    461e4c1f1990 ath9k_htc: fix potential out of bounds access with invalid rxstatus->rs_keyix
    96c848afbddc cpufreq: Fix possible race in cpufreq online error path
    172789fd9532 spi: img-spfi: Fix pm_runtime_get_sync() error checking
    147a376c1afe sched/fair: Fix cfs_rq_clock_pelt() for throttled cfs_rq
    f35c3f237408 drm/bridge: Fix error handling in analogix_dp_probe
    6d0726725c7c HID: elan: Fix potential double free in elan_input_configured
    39d4bd3f5991 HID: hid-led: fix maximum brightness for Dream Cheeky
    3c68daf4a368 mtd: rawnand: denali: Use managed device resources
    dd2b1d70ef20 EDAC/dmc520: Don't print an error for each unconfigured interrupt line
    bea698509934 drbd: fix duplicate array initializer
    3eba802d47fb target: remove an incorrect unmap zeroes data deduction
    e7681199bbe4 efi: Add missing prototype for efi_capsule_setup_info
    2a1b5110c95e NFC: NULL out the dev->rfkill to prevent UAF
    8e357f086d40 net: dsa: mt7530: 1G can also support 1000BASE-X link mode
    4565d5be8be2 scftorture: Fix distribution of short handler delays
    58eff5b73f6c spi: spi-ti-qspi: Fix return value handling of wait_for_completion_timeout
    b4c7dd0037e6 drm: mali-dp: potential dereference of null pointer
    78a3e9fcdb7b drm/komeda: Fix an undefined behavior bug in komeda_plane_add()
    3cea0259edd1 nl80211: show SSID for P2P_GO interfaces
    6c0a8c771a71 bpf: Fix excessive memory allocation in stack_map_alloc()
    7ff76dc2d8bd libbpf: Don't error out on CO-RE relos for overriden weak subprogs
    84b0e23e107e drm/vc4: txp: Force alpha to be 0xff if it's disabled
    ac904216b8b8 drm/vc4: txp: Don't set TXP_VSTART_AT_EOF
    15cec7dfd3df drm/vc4: hvs: Reset muxes at probe time
    2268f190af20 drm/mediatek: Fix mtk_cec_mask()
    032f8c67fe95 drm/ingenic: Reset pixclock rate when parent clock rate changes
    58c7c0157714 x86/delay: Fix the wrong asm constraint in delay_loop()
    f279c49f17ce ASoC: mediatek: Fix missing of_node_put in mt2701_wm8960_machine_probe
    fb66e0512e5c ASoC: mediatek: Fix error handling in mt8173_max98090_dev_probe
    35db6e2e9988 spi: qcom-qspi: Add minItems to interconnect-names
    187ecfc3b70e drm/bridge: adv7511: clean up CEC adapter when probe fails
    9072d627857d drm/edid: fix invalid EDID extension block filtering
    0d6dc3efb1fb ath9k: fix ar9003_get_eepmisc
    822dac24b4f9 ath11k: acquire ab->base_lock in unassign when finding the peer by addr
    3ed327b77d65 dt-bindings: display: sitronix, st7735r: Fix backlight in example
    61bbbde9b6d2 drm: fix EDID struct for old ARM OABI format
    cc80d3c37cec RDMA/hfi1: Prevent panic when SDMA is disabled
    dfc308d6f29a powerpc/iommu: Add missing of_node_put in iommu_init_early_dart
    b4e14e9beb5c macintosh/via-pmu: Fix build failure when CONFIG_INPUT is disabled
    0230055fa631 powerpc/powernv: fix missing of_node_put in uv_init()
    6a61a9710627 powerpc/xics: fix refcount leak in icp_opal_init()
    8a665c2791bc powerpc/powernv/vas: Assign real address to rx_fifo in vas_rx_win_attr
    5a3767ac79bc tracing: incorrect isolate_mote_t cast in mm_vmscan_lru_isolate
    eff3587b9c01 PCI: Avoid pci_dev_lock() AB/BA deadlock with sriov_numvfs_store()
    21a3effe446d ARM: hisi: Add missing of_node_put after of_find_compatible_node
    d2b3b380c164 ARM: dts: exynos: add atmel,24c128 fallback to Samsung EEPROM
    d146e2a9864a ARM: versatile: Add missing of_node_put in dcscb_init
    b646e0cfeb38 pinctrl: renesas: rzn1: Fix possible null-ptr-deref in sh_pfc_map_resources()
    c16f1b3d72e4 fat: add ratelimit to fat*_ent_bread()
    f20c7cd2b24c powerpc/fadump: Fix fadump to work with a different endian capture kernel
    039966775ca0 ARM: OMAP1: clock: Fix UART rate reporting algorithm
    9dfa8d087bb8 fs: jfs: fix possible NULL pointer dereference in dbFree()
    05efc4591f80 soc: ti: ti_sci_pm_domains: Check for null return of devm_kcalloc
    0f9091f202b3 crypto: ccree - use fine grained DMA mapping dir
    86b091b6894c PM / devfreq: rk3399_dmc: Disable edev on remove()
    7e391ec93966 arm64: dts: qcom: msm8994: Fix BLSP[12]_DMA channels count
    c400439adc36 ARM: dts: s5pv210: align DMA channels with dtschema
    0521c5297885 ARM: dts: ox820: align interrupt controller node name with dtschema
    968a6683761d IB/rdmavt: add missing locks in rvt_ruc_loopback
    6a2e275834c4 gfs2: use i_lock spin_lock for inode qadata
    92ef7a87192c selftests/bpf: fix btf_dump/btf_dump due to recent clang change
    340cf91293a3 eth: tg3: silence the GCC 12 array-bounds warning
    cb2ca93f8fe3 rxrpc, afs: Fix selection of abort codes
    4a4e2e90ecec rxrpc: Return an error to sendmsg if call failed
    6c18a0fcd660 m68k: atari: Make Atari ROM port I/O write macros return void
    76744a016e78 x86/microcode: Add explicit CPU vendor dependency
    f29fb4623296 can: mcp251xfd: silence clang's -Wunaligned-access warning
    ff383c18799d ASoC: rt1015p: remove dependency on GPIOLIB
    c73aee194680 ASoC: max98357a: remove dependency on GPIOLIB
    86c02171bded media: exynos4-is: Fix compile warning
    abb5594ae2ba net: phy: micrel: Allow probing without .driver_data
    8d33585ffa2e nbd: Fix hung on disconnect request if socket is closed before
    1a5a3dfd9f17 ASoC: rt5645: Fix errorenous cleanup order
    af98940dd33c nvme-pci: fix a NULL pointer dereference in nvme_alloc_admin_tags
    8671aeeef29d openrisc: start CPU timer early in boot
    22cdbb135498 media: cec-adap.c: fix is_configuring state
    4cf6ba93678a media: imon: reorganize serialization
    f3915b46651a media: coda: limit frame interval enumeration to supported encoder frame sizes
    8ddc89437cce media: rga: fix possible memory leak in rga_probe
    f9413b90230d rtlwifi: Use pr_warn instead of WARN_ONCE
    eb7a71b7b2b8 ipmi: Fix pr_fmt to avoid compilation issues
    fa390c8b6256 ipmi:ssif: Check for NULL msg when handling events and messages
    0b7c1dc7ee67 ACPI: PM: Block ASUS B1400CEAE from suspend to idle by default
    1ecd01d77c9b dma-debug: change allocation mode from GFP_NOWAIT to GFP_ATIOMIC
    a61583744ef6 spi: stm32-qspi: Fix wait_cmd timeout in APM mode
    0c05c03c51e5 perf/amd/ibs: Cascade pmu init functions' return value
    460545839883 s390/preempt: disable __preempt_count_add() optimization for PROFILE_ALL_BRANCHES
    312c43e98ed1 net: remove two BUG() from skb_checksum_help()
    4f99bde59eef ASoC: tscs454: Add endianness flag in snd_soc_component_driver
    296f8ca0f73f HID: bigben: fix slab-out-of-bounds Write in bigben_probe
    3ee67465f711 drm/amdgpu/ucode: Remove firmware load type check in amdgpu_ucode_free_bo
    6f19abe031e3 mlxsw: Treat LLDP packets as control
    b30e727f0916 mlxsw: spectrum_dcb: Do not warn about priority changes
    d68a5eb7b3e0 ASoC: dapm: Don't fold register value changes into notifications
    9b42659cb3c4 net/mlx5: fs, delete the FTE when there are no rules attached to it
    4d85201adb65 ipv6: Don't send rs packets to the interface of ARPHRD_TUNNEL
    0325c08ae202 drm: msm: fix error check return value of irq_of_parse_and_map()
    ad97425d23af arm64: compat: Do not treat syscall number as ESR_ELx for a bad syscall
    8aa3750986ff ath10k: skip ath10k_halt during suspend for driver state RESTARTING
    20ad91d08a80 drm/amd/pm: fix the compile warning
    b5cd10814351 drm/plane: Move range check for format_count earlier
    8c3fe9ff807e ASoC: Intel: bytcr_rt5640: Add quirk for the HP Pro Tablet 408
    60afa4f4e135 ath11k: disable spectral scan during spectral deinit
    fa1b509d41c5 scsi: lpfc: Fix resource leak in lpfc_sli4_send_seq_to_ulp()
    1869f9bfafe1 scsi: ufs: Use pm_runtime_resume_and_get() instead of pm_runtime_get_sync()
    508add11af09 scsi: megaraid: Fix error check return value of register_chrdev()
    95050b984715 drivers: mmc: sdhci_am654: Add the quirk to set TESTCD bit
    90281cadf507 mmc: jz4740: Apply DMA engine limits to maximum segment size
    e69e93120f62 md/bitmap: don't set sb values if can't pass sanity check
    3f94169affa3 media: cx25821: Fix the warning when removing the module
    ca17e7a532d1 media: pci: cx23885: Fix the error handling in cx23885_initdev()
    27ad46da4417 media: venus: hfi: avoid null dereference in deinit
    e68270a78681 ath9k: fix QCA9561 PA bias level
    ca1ce206894d drm/amd/pm: fix double free in si_parse_power_table()
    3102e9d7e519 tools/power turbostat: fix ICX DRAM power numbers
    fbfeb9bc9479 spi: spi-rspi: Remove setting {src,dst}_{addr,addr_width} based on DMA direction
    e2b8681769f6 ALSA: jack: Access input_dev under mutex
    005990e30d14 sfc: ef10: Fix assigning negative value to unsigned variable
    10f30cba8f6c rcu: Make TASKS_RUDE_RCU select IRQ_WORK
    1c6c3f233664 rcu-tasks: Fix race in schedule and flush work
    c977d63b8cc4 drm/komeda: return early if drm_universal_plane_init() fails.
    cd97a481ea89 ACPICA: Avoid cache flush inside virtual machines
    29cb802966c7 x86/platform/uv: Update TSC sync state for UV5
    59dd1a07eecf fbcon: Consistently protect deferred_takeover with console_lock()
    5bfb65e92ff3 ipv6: fix locking issues with loops over idev->addr_list
    98d1dc32f890 ipw2x00: Fix potential NULL dereference in libipw_xmit()
    cc575b855809 b43: Fix assigning negative value to unsigned variable
    4ae5a2ccf5da b43legacy: Fix assigning negative value to unsigned variable
    74ad0d745020 mwifiex: add mutex lock for call in mwifiex_dfs_chan_sw_work_queue
    fadc626cae99 drm/virtio: fix NULL pointer dereference in virtio_gpu_conn_get_modes
    c6380d9d2d69 iommu/vt-d: Add RPLS to quirk list to skip TE disabling
    509e9710b802 btrfs: repair super block num_devices automatically
    4093eea47d9c btrfs: add "0x" prefix for unsupported optional features
    b49516583f00 ptrace: Reimplement PTRACE_KILL by always sending SIGKILL
    f8ef79687b2e ptrace/xtensa: Replace PT_SINGLESTEP with TIF_SINGLESTEP
    6580673b17e0 ptrace/um: Replace PT_DTRACE with TIF_SINGLESTEP
    92fb46536aec perf/x86/intel: Fix event constraints for ICL
    b4acb8e7f159 x86/MCE/AMD: Fix memory leak when threshold_create_bank() fails
    860e44f21f26 parisc/stifb: Keep track of hardware path of graphics card
    78e008dca225 Fonts: Make font size unsigned in font_desc
    c5b9b7fb123d xhci: Allow host runtime PM as default for Intel Alder Lake N xHCI
    c9ac773715fc cifs: when extending a file with falloc we should make files not-sparse
    ce4627f09e66 usb: core: hcd: Add support for deferring roothub registration
    a2532c441705 usb: dwc3: gadget: Move null pinter check to proper place
    0420275d643e USB: new quirk for Dell Gen 2 devices
    19b3fe8a7cb1 USB: serial: option: add Quectel BG95 modem
    40bdb5ec957a ALSA: usb-audio: Cancel pending work at closing a MIDI substream
    1cf70d5c15bc ALSA: hda/realtek - Fix microphone noise on ASUS TUF B550M-PLUS
    223368eaf60c ALSA: hda/realtek: Enable 4-speaker output for Dell XPS 15 9520 laptop
    d2f3acde3d52 riscv: Fix irq_work when SMP is disabled
    4a5c7a61ff50 riscv: Initialize thread pointer before calling C functions
    6b45437959dc parisc/stifb: Implement fb_is_primary_device()
    9cef71eceaa8 binfmt_flat: do not stop relocating GOT entries prematurely on riscv
    70dd2d169d08 Linux 5.10.120
    886eeb046096 bpf: Enlarge offset check value to INT_MAX in bpf_skb_{load,store}_bytes
    7f845de28633 bpf: Fix potential array overflow in bpf_trampoline_get_progs()
    3097f38e9126 NFSD: Fix possible sleep during nfsd4_release_lockowner()
    78a62e09d885 NFS: Memory allocation failures are not server fatal errors
    1d100fcc1da7 docs: submitting-patches: Fix crossref to 'The canonical patch format'
    ebbbffae71e2 tpm: ibmvtpm: Correct the return value in tpm_ibmvtpm_probe()
    5933a191ac3d tpm: Fix buffer access in tpm2_get_tpm_pt()
    0c56e5d0e655 HID: multitouch: add quirks to enable Lenovo X12 trackpoint
    d6822d82c0e8 HID: multitouch: Add support for Google Whiskers Touchpad
    0f03885059c1 raid5: introduce MD_BROKEN
    8df42bcd364c dm verity: set DM_TARGET_IMMUTABLE feature flag
    e39b536d70ed dm stats: add cond_resched when looping over entries
    4617778417d0 dm crypt: make printing of the key constant-time
    bb64957c472a dm integrity: fix error code in dm_integrity_ctr()
    8845027e55fc ARM: dts: s5pv210: Correct interrupt name for bluetooth in Aries
    4989bb033429 Bluetooth: hci_qca: Use del_timer_sync() before freeing
    fae05b2314b1 zsmalloc: fix races between asynchronous zspage free and page migration
    6a1cc2549405 crypto: ecrdsa - Fix incorrect use of vli_cmp
    c013f7d1cd92 crypto: caam - fix i.MX6SX entropy delay value
    3d8fc6e28f32 KVM: x86: avoid calling x86 emulator without a decoded instruction
    a2a3fa5b616a x86, kvm: use correct GFP flags for preemption disabled
    4a9f3a9c28a6 x86/kvm: Alloc dummy async #PF token outside of raw spinlock
    4c4a11c74ada KVM: PPC: Book3S HV: fix incorrect NULL check on list iterator
    91a36ec160ec netfilter: conntrack: re-fetch conntrack after insertion
    c0aff1faf66b netfilter: nf_tables: sanitize nft_set_desc_concat_parse()
    44f1ce55308d crypto: drbg - make reseeding from get_random_bytes() synchronous
    e744e34a3c35 crypto: drbg - move dynamic ->reseed_threshold adjustments to __drbg_seed()
    54700e82a7a7 crypto: drbg - track whether DRBG was seeded with !rng_is_initialized()
    b2bef5500e0d crypto: drbg - prepare for more fine-grained tracking of seeding state
    630192aa4523 lib/crypto: add prompts back to crypto libraries
    82f723b8a5ad exfat: check if cluster num is valid
    1f0681f3bd56 drm/i915: Fix -Wstringop-overflow warning in call to intel_read_wm_latency()
    2728d95c6c95 xfs: Fix CIL throttle hang when CIL space used going backwards
    a9e7f19a5577 xfs: fix an ABBA deadlock in xfs_rename
    72464fd2b4b7 xfs: fix the forward progress assertion in xfs_iwalk_run_callbacks
    45d97f70da4d xfs: show the proper user quota options
    f20e67b455e4 xfs: detect overflows in bmbt records
    ffc8d613876f net: ipa: compute proper aggregation limit
    8adb751d294e io_uring: fix using under-expanded iters
    57d01bcae704 io_uring: don't re-import iovecs from callbacks
    6029f86740c9 assoc_array: Fix BUG_ON during garbage collect
    b96b4aa65bbc cfg80211: set custom regdomain after wiphy registration
    8fbd54ab06c9 pipe: Fix missing lock in pipe_resize_ring()
    cd720fad8b57 pipe: make poll_usage boolean and annotate its access
    ea62d169b6e7 netfilter: nf_tables: disallow non-stateful expression in sets earlier
    5525af175be2 drivers: i2c: thunderx: Allow driver to work with ACPI defined TWSI controllers
    f0749aecb20b i2c: ismt: Provide a DMA buffer for Interrupt Cause Logging
    828309eee5b6 net: ftgmac100: Disable hardware checksum on AST2600
    640397afdf6e nfc: pn533: Fix buggy cleanup order
    ac8d5eb26c9e net: af_key: check encryption module availability consistency
    d007f49ab789 percpu_ref_init(): clean ->percpu_count_ref on failure
    75e35951d6ec pinctrl: sunxi: fix f1c100s uart2 function

(From OE-Core rev: 62d3fc82089566ff040aaed41d24e08521581304)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 01af08d12495de711c9cf6928ca8650eca28feb4)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-07-25 15:11:45 +01:00
Richard Purdie
d7006757c0 qemu: Add PACKAGECONFIG for brlapi
(From OE-Core rev: 5a892e2202c70939944bc99ce192a4e4462ba2c8)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 482471a617e5f682416b7ec1a920dfaeac65f1a3)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-07-25 15:11:45 +01:00
Richard Purdie
6d48a8cd43 qemu: Fix slirp determinism issue
Add a PACKAGECONFIG option for slirp, defaulting to internal. This avoids
the presence of libslirp on the host causing qemu to link against that
instead breaking reproducibility and usability of the binary on hosts
where the library isn't present.

We need to add it to PACKAGECONFIG by default since users do expect slirp
to be enabled in the wider community.

(From OE-Core rev: 9637a46258a596ccb0a7ddc350b33a5fc6c7872e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 5a9a64132bf5ecac9d611d29751226a466c4a2c1)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-07-25 15:11:45 +01:00
Michael Opdenacker
236f30b8a9 ref-manual: variables: remove sphinx directive from literal block
Literal blocks make sphinx take their text verbatim. This means that
directives cannot be used in literal blocks. This means :term:`S` was
printed as-is, without actually creating a link to the S variable
definition as would be expected outside of literal blocks.

Initially contributed to the master branch by Quentin Schulz.

(From yocto-docs rev: d9b3dcf65ef25c06f552482aba460dd16862bf96)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Reported-by: Quentin Schulz <foss@0leil.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-07-20 15:52:51 +01:00
Michael Opdenacker
b373ad8405 docs: BB_HASHSERVE_UPSTREAM: update to new host
(From yocto-docs rev: f9a9c5cc721a79df7a39a6df8441739e3377fdc4)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-07-20 15:52:51 +01:00
Alexander Kanavin
e8af53db95 libsoup: upgrade 3.0.6 -> 3.0.7
Changes in libsoup from 3.0.6 to 3.0.7:

* Fix leak in SoupAuthNTLM [Milan Crha]
* Fix constructing SoupAuthNTLM objects [Milan Crha]
* Disable mutual negotiation in SoupAuthNegotiate [Michael Catanzaro]
* http2: Do not advertise the `h2` protocool for proxy connections [Carlos Garcia Campos]
* http2: Remove left-over headers when HTTP/1 redirects to HTTP/2 [Carlos Garcia Campos]
* http2: Handle HTTP_1_1_REQUIRED error [Carlos Garcia Campos]
* http2: Read request bodies synchronously for sync requests [Carlos Garcia Campos]
* http2: Properly handle server sending shut down GOAWAY [Carlos Garcia Campos]
* tests: Remove dependency on Apache's PHP module [Carlos Garcia Campos]
* tests: Depend upon Apache's http2 module [Carlos Garcia Campos]

(From OE-Core rev: a4bfb5ceb5cf8c0c6d27225b27ef10c0b9dceccb)

Signed-off-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 800e0d32db86dccfe1b54111d01034e4a315cce9)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-07-16 06:52:45 +01:00
Alexander Kanavin
46378a82ed glib-networking: upgrade 2.72.0 -> 2.72.1
2.72.1 - June 29, 2022
======================

 - Discard empty proxy environment variables (#189)

(From OE-Core rev: a2871b43e3f976b4e3254375e0b239b29faa3361)

Signed-off-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 49827652371ca9836e58c0d5883dbd59d08cde72)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-07-16 06:52:45 +01:00
Alexander Kanavin
fae45052cf glib-2.0: upgrade 2.72.2 -> 2.72.3
Bugs fixed:

1941 disposing a non-cancelled inotify GFileMonitor causes deadlocks
2597 Crash in g_socket_client_enumerator_callback when proxy resolving
2639 xdgmime update breaks webkit2gtk file:// requests
2670 Growing memory when using cancellable in g_socket_client_connect_async
2703 glocalfilemonitor: Avoid file monitor destruction from event thread
2709 Backport !2707 “credentials: macos: check for existence of LOCAL_PEERPID” to glib-2-72
2720 Backport !2708 “xdgmime: Fix broken file:// content type lookups for webkitgtk” to glib-2-72
2750 Backport !2745 “gsocketclient: Fix still-reachable references to cancellables” to glib-2-72
2787 Backport !2742 “proxyaddressenumerator: set error parameter more thoughtfully” to glib-2-72

(From OE-Core rev: 0d9a2d4d659acf1747bf4ad328754579143fa07a)

Signed-off-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 3c4b0196be98fa2dad92f59ead6dd74b26be8ffd)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-07-16 06:52:45 +01:00
Alexander Kanavin
742176bf5d weston: update 10.0.0 -> 10.0.1
The bug-fix release includes the following changes:

In some cases we couldn't assign outputs to clients in kiosk-shell. This would affect clients who perform an initial commit and afterwards set the window property.
Fixed a couple of issues with output assignment in multiple outputs setups on kiosk-shell.
Fixed sub-surfaces that were not updated on commit, by caching buffer damage for synced sub-surfaces.
Fixed an issue with sub-surfaces, which in some circumstances would show them of, even if unmapped.
Fixed build issue related to deprecated fbdev back-end.
Re-worked some previous fixes in desktop-shell to address closing/destroying of client's windows, which is particularly problematic when having close animation enabled.
Minor fixes to the simple-egl client to defer the creation of the EGL window after the initial wl_surface commit.
Multiple fixes to the simple-dmabuf-feedback client to support multi-tranche feedbacks: improved buffer status tracking, added a fallback print method for unknown formats, and resort to using a time slot instead of using a number of redraws.
Increased buffer limit to four for simple-dmabuf-* clients.
Improved debugging support when KMS import failed. - optimized surface feedback creation on demand.
Fix performance regression in fragment shader brought in by previous color management work.

(From OE-Core rev: 3903a248e1b861d0a3826b35d61666c6a3bb7ad5)

Signed-off-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 682594b7827d15813c3bc4980a561ad7e89ea8b4)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-07-16 06:52:45 +01:00
wangmy
3e70a9cbb0 gstreamer1.0-vaapi: upgrade 1.20.2 -> 1.20.3
Changes from version 1.20.2

vaapi: Do not disable the whole vpp when some va operations not available
vaapidecode, vaapipostproc: Disable DMAbuf from caps negotiation
scrambled video with some Intel graphics cards

(From OE-Core rev: e0086979006dafbbc21f062e5fcb10c4908b1309)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit c363ae6f797460654a7884402f7f98181a7d688f)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-07-16 06:52:45 +01:00
wangmy
c7fee3136b gstreamer1.0-rtsp-server: upgrade 1.20.2 -> 1.20.3
No changes from version 1.20.2

(From OE-Core rev: 4f00cdf81529ddbc3b9f440a9f384358811db283)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 71baf93a42ce719b143c863beae07200a1f82361)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-07-16 06:52:45 +01:00
wangmy
90ab0b6a5e gstreamer1.0-python: upgrade 1.20.2 -> 1.20.3
No changes from version 1.20.2

(From OE-Core rev: 05f62a8fbbff52f394192944855ed4f4dca378cc)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 4adb5263d31f6b23a9219b590d260ad59b64d270)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-07-16 06:52:45 +01:00
wangmy
b2327c81d9 gstreamer1.0-plugins-ugly: upgrade 1.20.2 -> 1.20.3
No changes from version 1.20.2

(From OE-Core rev: e1dd7d56f54bb6d98a3f25103dc9697dc93a0d6c)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 7e673f87339426eb952e035407c36e4dbaa133fd)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-07-16 06:52:45 +01:00
wangmy
ac40ccb378 gstreamer1.0-plugins-good: upgrade 1.20.2 -> 1.20.3
Changes from version 1.20.2

aacparse: Avoid mismatch between src_caps and output_header_type
avidemux: Fix integer overflow resulting in heap corruption in DIB buffer inversion code (Security fix)
deinterlace: Clean up error handling code
flvdemux: Actually make use of the debug category
gtkglsink: Fix double-free when OpenGL can't be initialised
jack: Add support for detecting libjack on Windows
matroskademux: Avoid integer-overflow resulting in heap corruption in WavPack header handling code (Security fix)
matroskademux, qtdemux: Fix integer overflows in zlib/bz2/etc decompression code (Security fix)
qtdemux: Don't use tfdt for parsing subsequent trun boxes
rtpbin: Avoid holding GST_RTP_BIN_LOCK when emitting pad-added signal (to avoid deadlocks)
rtpptdemux: Don't GST_FLOW_ERROR when ignoring invalid packets
smpte: Fix integer overflow with possible heap corruption in GstMask creation. (Security fix)
smpte: integer overflow with possible heap corruption in GstMask creation (Security fix)
soup: fix soup debug category initialisation
soup: Fix plugin/element init
v4l2: Reset transfer in gst_v4l2_object_acquire_format()
vpxenc: fix crash if encoder produces unmatching timestamp
wavparse: ensure that any pending segment is sent before an EOS event is sent

(From OE-Core rev: 4aee173335f8d0d0723d629a0dd16a0d1c4ce463)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 66ba273c10b7d738f18620b5a2883d735fff3162)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-07-16 06:52:45 +01:00
wangmy
d4d14e04ba gstreamer1.0-plugins-base: upgrade 1.20.2 -> 1.20.3
Changes from version 1.20.2

audioconvert: If no channel-mask can be fixated then use a NONE channel layout
playbin3: Configure combiner on pad-added if needed
parsebin: Fix assertions/regression when dealing with un-handled streams (fixes regression in 1.20.2)
appsink: Fix race condition on caps handling
oggdemux: Protect against invalid framerates
rtcpbuffer: Allow padding on first reduced size packets
gl: check for xlib-xcb.h header to fix build of tests on macOS with homebrew
videoaggregator: unref temporary caps
v4l2videoenc: Setup crop rectangle if needed

(From OE-Core rev: c827ede3d6b9859b46e487ef60aa3259a45bd45e)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit e9d5f5f88947efb8fbdfaa90676db82526e22093)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-07-16 06:52:45 +01:00
wangmy
f6e2a22000 gstreamer1.0-plugins-bad: upgrade 1.20.2 -> 1.20.3
Changes from version 1.20.2:

androidmedia: Add H.265 encoder mapping
avfvideosrc: fix wrong framerate selected for caps
d3d11decoder: Fix for alternate interlacing signalling
d3d11decoder: Do not preallocate texture using downstream d3d11 buffer pool
d3d11decoder: Copy HDR10 related caps field manually
d3d11decoder: Work around Intel DXVA driver crash
d3d11screencapture: Set viewport when drawing mouse cursor
d3d11screencapture: Fix missing/outdated cursor shape
d3d11screencapturesrc: Fix crash when d3d11 device is different from owned one
h264decoder: Fix for unhandled low-delay decoding case
matroskademux, qtdemux: Fix integer overflows in zlib/bz2/etc decompression code (Security fix)
mpegtsmux: Make sure to set srcpad caps under all conditions before outputting the first buffer
mpegtsmux: sends segment before caps
mxfdemux: Handle files produced by legacy FFmpeg
nvh264dec,nvh265dec: Don't realloc bitstream buffer per slice
nvcodec: cuda-converter: fix nvrtc compilation on non-English locale systems
opencv: Allow building against 4.6.x
pcapparse: Set timestamp in DTS, not PTS
rtmp2: fix allocation of GstRtmpMeta which caused crashes on 32-bit platforms
rtmp2sink crash on Android arm 32 - cerbero 1.20.2.0
sdpdemux: Release request pads from rtpbin when freeing a stream
va: Add O_CLOEXEC flag at opening drm device (so subprocesses won't have access to it)
webrtcbin: Reject answers that don't contain the same number of m-line as offer
webrtc: datachannel: Notify low buffered amount according to spec

(From OE-Core rev: 0ead6c03c2594158200ee2c490ec683570310036)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 200c8b77e86e6bd23954c3b4e48d4d069cb16f37)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-07-16 06:52:45 +01:00
wangmy
b23fb8bc91 gstreamer1.0-omx: upgrade 1.20.2 -> 1.20.3
No changes from version 1.20.2

(From OE-Core rev: e190d67fedd728066de9b941b5aaf9ec54cc2ff5)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f63d78d68258d68bfa24a13ea3b023b198499929)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-07-16 06:52:45 +01:00
wangmy
ccaf9222e5 gstreamer1.0-libav: upgrade 1.20.2 -> 1.20.3
No changes from version 1.20.2

(From OE-Core rev: 9b8a62dd3987280debba1fa11e9a1387fc341f4e)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 671a2ebab778393207bf95db88445bded3a4ef54)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-07-16 06:52:45 +01:00
wangmy
3bbefb5b76 gst-devtools: upgrade 1.20.2 -> 1.20.3
The third 1.20 bug-fix release (1.20.3) was released on 15 June 2022.

This release only contains bugfixes and it should be safe to upgrade from 1.20.x.

(From OE-Core rev: 84b2d193fa4d22c012a8032b4de6f581406a2720)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 74bc037120fa9f00def7e8df6b3a77bba9c9031e)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-07-16 06:52:45 +01:00
Alexander Kanavin
7f7a89a573 gstreamer1.0: upgrade 1.20.2 -> 1.20.3
The third 1.20 bug-fix release (1.20.3) was released on 15 June 2022.

This release only contains bugfixes and it should be safe to upgrade from 1.20.x.

gstreamer
clock: Avoid creating a weakref with every entry (performance improvement)
plugin: add Apache 2 license to list of known licenses to avoid warning
gst_plugin_load_file: force plugin reload if filename differs
Add support for LoongArch

Base Libraries
aggregator: Only send events up to CAPS event from gst_aggregator_set_src_caps(), don't send multiple caps events with the same caps and fix negotiation in muxers
basetransform: handle gst_base_transform_query_caps() returning NULL
basetransform: fix critical if transform_caps() returned NULL
queuearray: Fix potential heap overflow when expanding GstQueueArray

Core Elements
multiqueue: fix potential crash on shutdown
multiqueue: fix warning: ‘is_query’ may be used uninitialized in this function
multiqueue: SegFault during flushing with gcc11

(From OE-Core rev: 2c177d00e1e839593757da5985b411f2770da009)

Signed-off-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 1b1e4ad9b31f9f6e34dae1d0b73d36adca58eb59)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-07-16 06:52:45 +01:00
Sundeep KOKKONDA
ff1b9910c8 binutils : stable 2.38 branch updates
Below commits on Binutils-2.38 development branch are updated.

binutils:
e1ea1dafff6 x86: Properly handle IFUNC function pointer reference
ffc7aa903b9 AArch64: Enable FP16 by default for Armv9-A.

(From OE-Core rev: 2023e334efa325bcd08b7bcc92455afdbf4e66d7)

Signed-off-by: Sundeep KOKKONDA <sundeep.kokkonda@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-07-16 06:52:45 +01:00
Richard Purdie
c0b6724170 glibc-tests: Avoid reproducibility issues
Currently, there are hardcoded paths in the binaries installed by this
recipe, at least one some architectures. Change the compile definitions to
point to more appropriate paths. Ideally we'd rework this patch into a form
acceptable to upstream but I'm not entirely sure what that would look like
right now.

(From OE-Core rev: 96f6badee73f35ededcb7d0172db07fcc305df0d)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit ede7ab3bbf87cc7d7e713d435ea8a88035c2e46e)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-07-16 06:52:45 +01:00
Sundeep KOKKONDA
652801de54 glibc: stable 2.35 branch updates
Below commits on Glibc-2.35 development branch are updated.

glibc:
b6aade18a7 nss: handle stat failure in check_reload_and_get (BZ #28752)
ccac2d6d95 nss: add assert to DB_LOOKUP_FCT (BZ #28752)
9d8ae95604 nios2: Remove _dl_skip_args usage (BZ# 29187)
8468be8433 hppa: Remove _dl_skip_args usage (BZ# 29165)
99978cd42c NEWS: Add a bug fix entry for BZ #29225
97dd8b3f70 nptl: Fix __libc_cleanup_pop_restore asynchronous restore (BZ#29214)
0a1572b8bb powerpc: Fix VSX register number on __strncpy_power9 [BZ #29197]
fe9ca732ac socket: Fix mistyped define statement in socket/sys/socket.h (BZ #29225)
d7d1eebd4d iconv: Use 64 bit stat for gconv_parseconfdir (BZ# 29213)
c5a75ecec8 catgets: Use 64 bit stat for __open_catalog (BZ# 29211)
e429695805 inet: Use 64 bit stat for ruserpass (BZ# 29210)
6ea3c0aba4 socket: Use 64 bit stat for isfdtype (BZ# 29209)
9bcf5b12f8 posix: Use 64 bit stat for fpathconf (_PC_ASYNC_IO) (BZ# 29208)
45e5d0f533 posix: Use 64 bit stat for posix_fallocate fallback (BZ# 29207)
37c94dc999 misc: Use 64 bit stat for getusershell (BZ# 29204)
cb49c14183 misc: Use 64 bit stat for daemon (BZ# 29203)
6abb4002df Fix deadlock when pthread_atfork handler calls pthread_atfork or dlclose
ac87df8d75 x86: Fallback {str|wcs}cmp RTM in the ncmp overflow case [BZ #29127]
478cd506ea string.h: fix __fortified_attr_access macro call [BZ #29162]
2b128a7d30 linux: Add a getauxval test [BZ #23293]
f5f7144dfc rtld: Use generic argv adjustment in ld.so [BZ #23293]
04892c543e S390: Enable static PIE
72d9dcfd16 csu: Implement and use _dl_early_allocate during static startup
b5ddf33c6e Linux: Introduce __brk_call for invoking the brk system call
2d05ba7f8e Linux: Implement a useful version of _startup_fatal
55ee3afa0d ia64: Always define IA64_USE_NEW_STUB as a flag macro
d66cca3fbb Linux: Define MMAP_CALL_INTERNAL
a7b122a7b4 i386: Honor I386_USE_SYSENTER for 6-argument Linux system calls
d1772c9376 i386: Remove OPTIMIZE_FOR_GCC_5 from Linux libc-do-syscall.S
58bb3aeaae elf: Remove __libc_init_secure
0a5c6c9d99 Linux: Consolidate auxiliary vector parsing (redo)
76304dfdaf Linux: Include <dl-auxv.h> in dl-sysdep.c only for SHARED
788eb21ff0 Revert "Linux: Consolidate auxiliary vector parsing"
150039ff07 Linux: Consolidate auxiliary vector parsing
3948c6ca89 Linux: Assume that NEED_DL_SYSINFO_DSO is always defined
29f833f5ab Linux: Remove DL_FIND_ARG_COMPONENTS
1695c5e0f6 Linux: Remove HAVE_AUX_SECURE, HAVE_AUX_XID, HAVE_AUX_PAGESIZE
756d583c9e elf: Merge dl-sysdep.c into the Linux version
2c4fc8e5ca x86: Optimize {str|wcs}rchr-evex
fdbc8439ac x86: Optimize {str|wcs}rchr-avx2
b05c0c8b28 x86: Optimize {str|wcs}rchr-sse2
bc35e22be4 x86-64: Fix SSE2 memcmp and SSSE3 memmove for x32
4d1841deb7 x86: Fix missing __wmemcmp def for disable-multiarch build
cee9939f67 x86: Cleanup page cross code in memcmp-avx2-movbe.S
0909286ffa x86: Remove memcmp-sse4.S
5a8df6485c x86: Optimize memcmp SSE2 in memcmp.S
af0865571a x86: Small improvements for wcslen
3b710e32d8 x86: Remove AVX str{n}casecmp
fc5d42bf82 x86: Add EVEX optimized str{n}casecmp
33fcf8344f x86: Add AVX2 optimized str{n}casecmp
3496d64d69 x86: Optimize str{n}casecmp TOLOWER logic in strcmp-sse42.S
283982b362 x86: Optimize str{n}casecmp TOLOWER logic in strcmp.S
420cd6f155 x86: Remove strspn-sse2.S and use the generic implementation
4b61d76521 x86: Remove strpbrk-sse2.S and use the generic implementation
2fef1961a7 x86: Remove strcspn-sse2.S and use the generic implementation
1ed2813eb1 x86: Optimize strspn in strspn-c.c
3214c878f2 x86: Optimize strcspn and strpbrk in strcspn-c.c
ff9772ac19 x86: Code cleanup in strchr-evex and comment justifying branch
424bbd4d25 x86: Code cleanup in strchr-avx2 and comment justifying branch
0a10b8b181 x86_64: Remove bcopy optimizations
f0a53588da x86-64: Define __memcmpeq in ld.so
a133623048 x86-64: Remove bzero weak alias in SS2 memset
18baf86f51 x86_64/multiarch: Sort sysdep_routines and put one entry per line
d422197a69 x86: Improve L to support L(XXX_SYMBOL (YYY, ZZZ))
58947e1fa5 fortify: Ensure that __glibc_fortify condition is a constant [BZ #29141]
28ea43f8d6 dlfcn: Implement the RTLD_DI_PHDR request type for dlinfo
78f82ab4ef manual: Document the dlinfo function
bbb017a2bb NEWS: Add a bug fix entry for BZ #29109
5c0d94d780 linux: Fix posix_spawn return code if clone fails (BZ#29109)
059e36d9ed x86: Fix fallback for wcsncmp_avx2 in strcmp-avx2.S [BZ #28896]
676f7bcf11 x86: Fix bug in strncmp-evex and strncmp-avx2 [BZ #28895]
c394d7e11a x86: Set .text section in memset-vec-unaligned-erms
de0cd691b2 x86-64: Optimize bzero
0bf9c8b5fe x86: Remove SSSE3 instruction for broadcast in memset.S (SSE2 Only)
58596411ad x86: Improve vec generation in memset-vec-unaligned-erms.S
36766c02af x86-64: Fix strcmp-evex.S
250e277797 x86-64: Fix strcmp-avx2.S
34ef810945 x86: Optimize strcmp-evex.S
b68e782f8e x86: Optimize strcmp-avx2.S
ec5b79aac7 manual: Clarify that abbreviations of long options are allowed
0bcba53020 Add HWCAP2_AFP, HWCAP2_RPRES from Linux 5.17 to AArch64 bits/hwcap.h
95759abbf3 Add SOL_MPTCP, SOL_MCTP from Linux 5.16 to bits/socket.h
eed29011f9 Update kernel version to 5.17 in tst-mman-consts.py
e72c363a15 Update kernel version to 5.16 in tst-mman-consts.py
edc06fdd62 Update syscall lists for Linux 5.17
dde291ab53 posix/glob.c: update from gnulib
7d96aa2d7d linux: Fix fchmodat with AT_SYMLINK_NOFOLLOW for 64 bit time_t (BZ#29097)
14b1e32a4d i386: Regenerate ulps
ef87599348 linux: Fix missing internal 64 bit time_t stat usage
10fe3cd309 elf: Fix DFS sorting algorithm for LD_TRACE_LOADED_OBJECTS with missing libraries (BZ #28868)
cb4d670d8f scripts/glibcelf.py: Mark as UNSUPPORTED on Python 3.5 and earlier
106b7e0e45 dlfcn: Do not use rtld_active () to determine ld.so state (bug 29078)
e5cf8ccca6 INSTALL: Rephrase -with-default-link documentation
c8ee1c85c0 misc: Fix rare fortify crash on wchar funcs. [BZ 29030]
499a601796 Default to --with-default-link=no (bug 25812)
70f1eecdc1 scripts: Add glibcelf.py module
d3feff2232 m68k: Handle fewer relocations for RTLD_BOOTSTRAP (#BZ29071)
68d3a9a696 nptl: Fix pthread_cancel cancelhandling atomic operations
8e8d46d598 mips: Fix mips64n32 64 bit time_t stat support (BZ#29069)
bd415684df hurd: Fix arbitrary error code
ba9c42ac0e nptl: Handle spurious EINTR when thread cancellation is disabled (BZ#29029)
6583d53445 S390: Add new s390 platform z16.
cc9a4a664f elf: Fix memory leak in _dl_find_object_update (bug 29062)
db03235895 NEWS: Move PLT tracking slowdown to glibc 2.35.
9be62976af hppa: Use END instead of PSEUDO_END in swapcontext.S
01d5214bb4 hppa: Implement swapcontext in assembler (bug 28960)
123bd1ec66 nss: Protect against errno changes in function lookup (bug 28953)
c54c5cd8e3 nss: Do not mention NSS test modules in <gnu/lib-names.h>
3149f47b80 io: Add fsync call in tst-stat
e30c1c73da nptl: Fix cleanups for stack grows up [BZ# 28899]
ca0570fee3 hppa: Fix warnings from _dl_lookup_address
d82d9cdff4 hppa: Revise gettext trampoline design
2631d3b3a6 hppa: Fix swapcontext
1f77081178 Fix elf/tst-audit2 on hppa
c60e6a458b hppa: Fix bind-now audit (BZ #28857)
90797f4972 localedef: Handle symbolic links when generating locale-archive
732dd3a63d localedata: Do not generate output if warnings were present.
3feecd8001 localedef: Update LC_MONETARY handling (Bug 28845)
a787325e83 NEWS: Add a bug fix entry for BZ #28688
264ad5d7d6 resolv: Fix tst-resolv tests for 2.35 ABIs and later
e247a3b118 elf: Replace tst-audit24bmod2.so with tst-audit24bmod2
1dd783fafd elf: Check invalid hole in PT_LOAD segments [BZ #28838]
3226ffde07 NEWS: Add a bug fix entry for BZ #28896
676f85759c x86: Fix TEST_NAME to make it a string in tst-strncmp-rtm.c
d001088e22 x86: Test wcscmp RTM in the wcsncmp overflow case [BZ #28896]
fd412fff6d x86: Fallback {str|wcs}cmp RTM in the ncmp overflow case [BZ #28896]
a30807b7db string: Add a testcase for wcsncmp with SIZE_MAX [BZ #28755]
f055faf801 linux: Use socket-constants-time64.h on tst-socket-timestamp-compat
491f2ef1f0 linux: fix accuracy of get_nprocs and get_nprocs_conf [BZ #28865]

(From OE-Core rev: 05760b29576aa8797bbae2e9a1a6a44d3c6aa97e)

Signed-off-by: Sundeep KOKKONDA <sundeep.kokkonda@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-07-16 06:52:45 +01:00
Alexander Kanavin
07d4a34af0 openssl: update 3.0.4 -> 3.0.5
CVEs fixed:
https://www.openssl.org/news/secadv/20220705.txt

(From OE-Core rev: 76162757033437507fb7309ce9f41fcaaf996ca9)

Signed-off-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 84204dea7dec05e053cce5be0071cd9c1fb4ff6f)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-07-16 06:52:45 +01:00
Ross Burton
97e48b17b9 vim: upgrade to 9.0.0021
This fixes the following CVEs:
- CVE-2022-2257
- CVE-2022-2264
- CVE-2022-2284
- CVE-2022-2285
- CVE-2022-2286
- CVE-2022-2287

(From OE-Core rev: 640ccea3110408985ef5cf76fbe8dc9f4c3fd22c)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 03c044a81a76b7505b9d5bf0d936dde75b51905e)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-07-16 06:52:45 +01:00
Sakib Sajal
10554d45a5 u-boot: fix CVE-2022-34835
Backport patch to fix CVE-2022-34835.

(From OE-Core rev: 21b66e6ffe440d819483899d191ffe9ab70534fd)

Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-07-16 06:52:45 +01:00
Ross Burton
39e1584719 tiff: backport the fix for CVE-2022-2056, CVE-2022-2057, and CVE-2022-2058
(From OE-Core rev: dc627cea881a98e451766a8fa3a5edf82f7477c0)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit a84538dbe760fed94cfe22a39b0a6f95c61c307d)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-07-16 06:52:45 +01:00
Wentao Zhang
917569e54b harfbuzz: fix CVE-2022-33068
Backport patch from
62e803b361

The 'tff' file in upstream patch is for testing only which cause error during do_patch so need be dropped.
File test/fuzzing/fonts/sbix-extents.ttf: git binary diffs are not supported.

(From OE-Core rev: 537e7d323f57a0484c279c3b52ad5bb45eb44a10)

Signed-off-by: Wentao Zhang <wentao.zhang@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-07-16 06:52:45 +01:00
Steve Sakoman
b7a414eaf0 qemu: Avoid accidental libvdeplug linkage
Avoid accidentally linking to the vde library from the host by
adding a PACKAGECONFIG for the option.

(From OE-Core rev: 83ab9f51f45b73ff595fbb8d519eee4f4d48e308)

Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-07-16 06:52:45 +01:00
Richard Purdie
85eb363d3a qemu: Avoid accidental librdmacm linkage
Avoid accidentally linking to the rdma library from the host by
adding a PACKAGECONFIG for the option. This was found on new
Fedora 36 autobuilder workers.

(From OE-Core rev: 84390c353d8fee55ae0eeb6a698e45d350f8141b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 2a0f3cb225e4d5471155abbcd05d09bd6bf1620f)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-07-16 06:52:45 +01:00
Steve Sakoman
073c1432a0 qemu: add PACKAGECONFIG for capstone
Autobuilder workers were non-deterministically enabling capstone
depending on whether the worker had libcapstone installed.

Add PACKAGECONFIG for capstone with default off, since qemu does not
require capstone support.

Qemu version in dunfell has capstone in the source tree as a submodule
and has configure options to enable it using that source code or using
the system libcapstone.

Qemu versions in master and kirkstone have removed the capstone
submodule and configure options, but added libcapstone autodetection to
meson.

In all cases using PACKAGECONFIG will allow a deterministic build.

(From OE-Core rev: 171fa2d7092db896ba0816074a435a883447fdb8)

Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 052ef1f14d1e6a5ee34f742f65e51b20b416f79f)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-07-16 06:52:45 +01:00
Steve Sakoman
b444cac69e ruby: add PACKAGECONFIG for capstone
Autobuilder workers were non-deterministically enabling capstone
depending on whether the worker had libcapstone installed.

Add PACKAGECONFIG for capstone with default off, since ruby does not
require capstone support.

(From OE-Core rev: 6db1eb67e7abb5c1c655ab5d2b4eeb73ae4af576)

Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-07-16 06:52:45 +01:00
Steve Sakoman
88fe015a63 dropbear: break dependency on base package for -dev package
Otherwise the SDK fails to build as the main openssh and dropbear packages
conflict with each other

(From OE-Core rev: 4667abcc925ae0c430cccb480ec530506f6201ae)

Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-07-08 08:27:16 +01:00
Steve Sakoman
523a19e0b0 openssh: break dependency on base package for -dev package
Otherwise the SDK fails to build as the main openssh and dropbear packages
conflict with each other

(From OE-Core rev: f90647e9dd95cfd29b5bdb8d7dcd688a10fc060c)

Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-07-08 08:27:16 +01:00
Richard Purdie
af092f2d12 oe-selftest-image: Ensure the image has sftp as well as dropbear
We need sftp so that scp works with recent openssh. Use the packagegroup
instead of a direct dependency to ensure this.

(From OE-Core rev: d6344cca6c76f0f8a89b576babe2ce36ce5ed049)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 2b76c8e5fc8802bbe54371119e6bf6312bf2a8ec)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-07-08 08:27:16 +01:00
Richard Purdie
1d537a6d63 packagegroup-core-ssh-dropbear: Add openssh-sftp-server recommendation
Seems sad to have to do this but openssh is moving to use sftp instead
of scp to move files. This means scp from Fedora 36 will no longer be
able to move files to/from a dropbear based image. This breaks a number
of our key QA tests and I suspect will cause users pain too.

The sftp server from openssh is small (200kb uncompressed) and standalone
so adding it to the packagegroup seems to be the best way to preserve user
sanity. If people really don't want it, they can just use dropbear instead
of the packageground.

(From OE-Core rev: e2dfd3b72845bd645b077f34a1da05ef94f6825e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit a98188e83b2c027d99cc38e3367e1ec2a98efbb0)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-07-08 08:27:16 +01:00
Richard Purdie
7766d54651 oeqa/runtime/scp: Disable scp test for dropbear
Fedora is switching to use sftp as the backend for scp. This means the
scp test fails on Fedora 36 hosts with a dropbear target as dropbear
doesn't support sftp. This change is in the upstream openssh code, other
distros have not yet changed the default but probably will follow.

The easiest way to resolve test failures in dropbear images is to stop
testing this against dropbear as it is no longer expected to work and will
likely spread as the change filters through other distros.

(From OE-Core rev: a7ae2ad652546470be552bc53ce41d25850b94ec)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit a71fc7d455400f406b0d607be712a1133fe91166)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-07-08 08:27:16 +01:00
Jose Quaresma
91df5c1c7b curl: backport openssl fix CN check error code
Fix out of memory [1]

OpenSSL host verification + hostname in certificate CN only seems broken in 7.82.0

[1] https://github.com/curl/curl/issues/8559

(From OE-Core rev: 7a8d374a3d4bbef336be2b273afc00c93c637ae6)

Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-07-08 08:27:16 +01:00
Kai Kang
cacf2eac3d glibc-tests: not clear BBCLASSEXTEND
It clears BBCLASSEXTEND in glibc-tests recipe to remove 'nativesdk'
which is set in glibc recipe. The side effect is that it removes
"${MULTILIBS}" at same time if multilib enabled. Then there will no
multilib version glibc-tests. So only remove 'nativesdk' from
BBCLASSEXTEND rather than clear it.

(From OE-Core rev: 1a6396c431a454a293be102c8c0e8b10f247404b)

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit d15975441471c9367b6d8cfa094f093e80f910d4)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-07-08 08:27:16 +01:00
Thomas Roos
0b047cb6e7 recipetool/devtool: Fix python egg whitespace issues in PACKAGECONFIG
Substitute expressions or whitespace from python egg requires.txt when
generating PACKAGECONFIG

Pysetuptools sees the uvicorn.egg-info/requires.txt as extra requirements.
Recipetool parses this information to generate the PACKAGECONFIG.
These extra requirements contain expressions and whitespace, which are not allowed in PACKGAGECONFIG.
This patch substitute them by hyphens to make PACKAGECONFIG parsable and readable.
Also adding an oe-selftest for this.

[YOCTO #14446]

(From OE-Core rev: 5a1fd88439c28c473a1723a040d780f100d6295e)

Signed-off-by: Thomas Roos <throos@amazon.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit a854d95a79e64f3f82abfa4cc1daec750abf4249)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-07-08 08:27:16 +01:00
Peter Bergin
b2dba5ca25 rust: fix issue building cross-canadian tools for aarch64 on x86_64
Commit bd36593ba3db758b3eacc974e48468a665967961 did introduce a
regression when building package rust-cross-canadian-aarch64
on a x86_64 host. This commit will fix that configuration.

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

(From OE-Core rev: dc179854b7ac9e19c9fcdb45ac74c6fdeefbe289)

Signed-off-by: Peter Bergin <peter@berginkonsult.se>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit ef566af964e9f9d2c440a3b5771ed801216f30f9)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-07-08 08:27:16 +01:00
Alexander Kanavin
a224001daa at: take tarballs from debian
The original site went down, and at is more or less
maintained in Debian anyway; the tarballs are identical in name
and content.

(From OE-Core rev: e52deac4f3a4fc7c064d9fc67bdae314efd329f1)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 5fcf9e5c368188e920a995492b342012cbc7016d)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-07-08 08:27:16 +01:00
Richard Purdie
8ef42d5532 coreutils: Tweak packaging variable names for coreutils-dev
PACKAGES uses ${PN}-dev so be consistent with the addition to the
variable to avoid weird variable conflicts.

The flags variable used here is messy, key expansion and overrides are
not supported by flags. The plain variable access does happen to work
though, so leave it as is for now and note.

(From OE-Core rev: aa1c109283913ddb1aae0adc731ea67709bf50b9)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit a5edae117d0d2a59fd3456ccbeeb6cd35dd1951f)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-07-08 08:27:16 +01:00
Peter Kjellerstedt
20646e140c base.bbclass: Correct the test for obsolete license exceptions
The test for obsolete licenses used in INCOMPATIBLE_LICENSE_EXCEPTIONS
tried to match the "<package>:<license>" tuples with the obsolete
licenses and thus never matched anything.

(From OE-Core rev: fb9e4559ed1357b65a016a3ddc73144dd7a9326d)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 3ad994d95815eefed2a72b675c7a323b3ed38191)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-07-08 08:27:16 +01:00
Alexander Kanavin
ec6149d000 oeqa/sdk: drop the nativesdk-python 2.x test
Python 2.x has been EOL for a while, and so this test
never runs.

(From OE-Core rev: 53eca714b874d2cd323ab6d3e11641fdf746a980)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit b687627e9cffb8123c156413f55ea1929f1a7831)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-07-08 08:27:16 +01:00
David Bagonyi
2fa6cb826f sanity.bbclass: Add ftps to accepted URI protocols for mirrors sanity
(From OE-Core rev: a9debe6e606ac389124cca032a902e99bd48b1e6)

Signed-off-by: David Bagonyi <david.bagonyi@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
(cherry picked from commit 10f3a9d5173ef4bf92ff4a7d8aef0cd2cb23e4d4)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-07-08 08:27:16 +01:00
Ahmed Hossam
5ef41c8eb0 insane.bbclass: host-user-contaminated: Correct per package home path
The current home path that is compared against is incorrect as it is missing the
package name, this patch adds it.

[YOCTO #14553]

(From OE-Core rev: 3aaf9708be7b7ce67513af4e332733ea58403517)

Signed-off-by: Ahmed Hossam <Ahmed.Hossam@opensynergy.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
(cherry picked from commit ae8f22d9e2694eea5ede3b31c6f3bca404ea4a5a)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-07-08 08:27:16 +01:00
Raju Kumar Pothuraju
9ef7d8daad kernel-uboot.bbclass: Use vmlinux.initramfs when INITRAMFS_IMAGE_BUNDLE set
vmlinux file doesnot have the initramfs image when INITRAMFS_IMAGE_BUNDLE was set.
Use vmlinux.initramfs in uboot_prep_kimage when INITRAMFS_IMAGE_BUNDLE set
based on the implementation in kernel.bbclass do_bundle_initramfs function,
https://github.com/openembedded/openembedded-core/blob/master/meta/classes/kernel.bbclass#L316-L317
to be able to use proper linux.bin file in creation of fitImage.

(From OE-Core rev: 3f8a49c4f276c65ccec149e3dc2e06d74c3c5a80)

Signed-off-by: Raju Kumar Pothuraju <raju.kumar-pothuraju@xilinx.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
(cherry picked from commit e0a4e45e067d9fdb67a7d223aea463f259469035)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-07-08 08:27:16 +01:00
Lucas Stach
a6987c6eb1 perf: sort-pmuevents: really keep array terminators
Commit e1382583cd50 ("perf: sort-pmuevents: don't drop elements") tried
to fix a case where the array terminator elements were dropped from the
sorted list breaking the build, but it only worked for the case where
the terminator is the only element of the array. When the array has other
elements the terminator will still be silently dropped, causing invalid
memory accesses at runtime when the perf utility iterates over the array.

Fix this by treating any unmatched entry as an array terminator and also
add a comment to make it a little more clear how things are ending up at
the right position in the sorted list.

(From OE-Core rev: 70d4a09c1f9fada1a02cf7b3886ffaf39d1b9baf)

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 69c35a48c5100b884f1b633142b07222b9390e92)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-07-08 08:27:16 +01:00
Martin Jansa
2fd4a20088 wic: fix WicError message
* add missing % to print the values instead of:
  | INFO: Build artifacts not found, exiting.
  | INFO:   (Please check that the build artifacts for the machine
  | INFO:    selected in local.conf actually exist and that they
  | INFO:    are the correct artifacts for the image (.wks file)).
  |
  | ERROR: ("The artifact that couldn't be found was %s:\n  %s", 'kernel-dir', '/OE/build/deploy/images/qemux86-64')

(From OE-Core rev: 772c9f66633e85c5059670d328e1b5fad407457f)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit e104c2b1273d8c5bd97893f318bf2a2699ef7f2d)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-07-08 08:27:16 +01:00
Maxime Roussin-Bélanger
cc75d77bc9 libffi: fix native build being not portable
Without `--with-gcc-arch=generic` libffi looks up the cpuid to automatically determine
which mtune/march to use. This makes the native sstate-cache unuseable since it's
possible to have a newer cpu building the recipe and the library being pulled from
another older cpu which doesn't have the instruction.

(From OE-Core rev: 58804e0051e3b77e0378aa4accbd26b2588b68e7)

Signed-off-by: Maxime Roussin-Bélanger <maxime.roussinbelanger@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit cddaecac1fdd4d033c2ff8ccaf1d60e1c598d5b7)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-07-08 08:27:16 +01:00
Muhammad Hamza
ac874996c9 initramfs-framework: move storage mounts to actual rootfs
Operations such as mkfs fail on devices that are not
switched to the actual rootfs before switch_root is
called. The kernel interprets these devices as still
being used even after unmounting and errors such as
below are seen when the target is fully booted

root@v1000:~# umount /dev/sdb1
root@v1000:~# mkfs.ext4 /dev/sdb1
mke2fs 1.43.8 (1-Jan-2018)
/dev/sdb1 contains a ext4 file system
        last mounted on Wed Nov 28 07:33:54 2018
Proceed anyway? (y,N) y
/dev/sdb1 is apparently in use by the system; will not make a filesystem here!

(From OE-Core rev: 0a3ebc5584384e4bf7d9c7ba4c827db587ef3bee)

Signed-off-by: Awais Belal <awais_belal@mentor.com>
Signed-off-by: Muhammad Hamza <muhammad_hamza@mentor.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit ec53ffd01972d1be2d6a28de828b3f0b80dc1e61)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-07-08 08:27:16 +01:00
Richard Purdie
327f55e298 openssl: Upgrade 3.0.3 -> 3.0.4
Includes a fix for CVE-2022-2068.

(From OE-Core rev: e5b48730a9916eeda37c34d6d2b41c903a3dcdeb)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f034faebd45e63385849078e6ee4b51257763e99)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-07-08 08:27:16 +01:00
Richard Purdie
ac087037fe vim: 8.2.5083 -> 9.0.0005
The license checksum changed due to a major version change in the referenced file.

(From OE-Core rev: a290032fe88b6bac5e789da20f88fd72febe1780)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 89f34d8aa4f4572d048dbb732ca4c83d443157fb)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-07-08 08:27:16 +01:00
Alexander Kanavin
231e6f6772 wireless-regdb: upgrade 2022.04.08 -> 2022.06.06
(From OE-Core rev: 681df7c4a761cc92234baf08fbd3d82f83b4bf10)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 4c27711292f93dfad1ffdeab6d715becad32a4ff)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-07-08 08:27:16 +01:00
Ross Burton
611d7ed2ac cve-check: hook cleanup to the BuildCompleted event, not CookerExit
The cve-check class writes temporary files to preserve state across the
build, and cleans them up in a CookerExit handler.

However, in memory-resident builds the cooker won't exit in between
builds, so the state isn't cleared and the CVE report generation fails:

NOTE: Generating JSON CVE summary
ERROR: Error adding the same package twice

Easily solved by hooking to BuildCompleted, instead of CookerExit.

(From OE-Core rev: 6f9c806dd1580a80856a687a2ad3a0b32d74dd17)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit fccdcfd301de281a427bfee48d8ff47fa07b7259)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-07-08 08:27:16 +01:00
Richard Purdie
e6116b7ae0 cve-extra-exclusions: Clean up and ignore three CVEs (2xqemu and nasm)
Remove obsolete comments/data from the file. Add in three CVEs to ignore.
Two are qemu CVEs which upstream aren't particularly intersted in and aren't
serious issues. Also ignore the nasm CVE found from fuzzing as this isn't
a issue we'd expose from OE.

(From OE-Core rev: 94fad58c6f10d0dfc42be816b0a7f6b108bd03e6)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 68291026aab2fa6ee1260ca95198dd1d568521e5)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-07-08 08:27:16 +01:00
Ross Burton
0014fd43f3 busybox: fix CVE-2022-30065
(From OE-Core rev: aacc1091d8d17b817c6ad1108d9ab44b234bc08e)

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 bf3d981b0303eab91d4cb19092ac27b489c8ad27)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-07-08 08:27:16 +01:00
Ross Burton
fcfda2b40e cups: ignore CVE-2022-26691
This is fixed in 2.4.2, which we have, but the complex CPE in that CVE
isn't parsed by cve-check correctly so it thinks that we're vulnerable.

(From OE-Core rev: 8eb224d3160e8483c2bc6ffa207a2b6fc8644c6f)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit b40dd920f8b40eabe78db363249257818c63c074)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-07-08 08:27:16 +01:00
Pgowda
2a59abcb90 binutils : CVE-2019-1010204
Upstream-Status: Backport [https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=2a4fc266dbf77ed7ab83da16468e9ba627b8bc2d]

(From OE-Core rev: 4bc6bb36dba96a534998928959acf637f9360775)

Signed-off-by: Pgowda <pgowda.cve@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 0c55355a83130c2c0a59e9fb94f8914499943dd4)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-07-08 08:27:15 +01:00
Lee Chee Yang
0a954bf5d7 ghostscript: fix CVE-2022-2085
(From OE-Core rev: 645a619524d04aa6a2029a2810e2d84dc751fc48)

Signed-off-by: Chee Yang Lee <chee.yang.lee@intel.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-07-08 08:27:15 +01:00
Richard Purdie
6ca152967b unzip: Port debian fixes for two CVEs
Add two fixes from debian for two CVEs. From:

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1010355

I wans't able to get the reproducers to work but the added error
checking isn't probably a bad thing.

(From OE-Core rev: 6a277ba7964c0ce029e1097f061007484f63bcf5)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 054be00a632c2918dd1f973e76514e459fc6f017)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-07-08 08:27:15 +01:00
Richard Purdie
a5ea426b1d build-appliance-image: Update to kirkstone head revision
(From OE-Core rev: eea52e0c3d24c79464f4afdbc3c397e1cb982231)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-06-29 07:48:26 +01:00
Steve Sakoman
213f174999 poky.conf: bump version for 4.0.2
(From meta-yocto rev: 7e21de293e2a36d7f931201fe5fa54954a09e6ee)

Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-06-29 07:48:18 +01:00
Michael Opdenacker
c00f584817 manuals: switch to the sstate mirror shared between all versions
Following https://git.yoctoproject.org/poky/commit/?id=cf7d8894545b83f55420fa33f7848e1bfc6754ff

(From yocto-docs rev: 662294dccd028828d5c7e9fd8f5c8e14df53df4b)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-06-28 23:58:39 +01:00
Richard Purdie
759a3eb9b5 bitbake: server/process: Fix logging issues where only the first message was displayed
I realised only the first logging message was being displayed in a given
parsing process. The reason turned out to be the UI handler failing
with a "pop from empty list". The default handler was then lost and
no further messages were processed.

Fix this by catching the exception correctly in the connection writer code.

(Bitbake rev: b8fd6f5d9959d27176ea016c249cf6d35ac8ba03)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit d3e64f64525187f1409531a0bd99df576e627f7f)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-06-26 22:55:39 +01:00
Martin Jansa
467964601a mesa: backport a patch to support compositors without zwp_linux_dmabuf_v1 again
* the same will be needed for kirkstone

(From OE-Core rev: a5919cb8bcb8f3fe66519c80aa8730b16cf987ac)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 3857066550d77c2c8134326f7e9b28d0f4d78b7a)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-06-24 23:57:42 +01:00
Michael Opdenacker
460dd9529d rootfs-postcommands.bbclass: correct comments
(From OE-Core rev: f0770686b36c08d99915a8d1b4d0e4450e831be4)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 41ade8e9a14c867e146a545be8d2d9c151b6855f)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-06-24 23:57:42 +01:00
Paulo Neves
85856cea84 gtk-doc: Fix potential shebang overflow on gtkdoc-mkhtml2
A native path can cause a shebang overflow on gtkdoc-mkhtml.
Replace it with /usr/bin/env.

(From OE-Core rev: bffe06fca6b31914289fdd441a6dcae94b3902fe)

Signed-off-by: Paulo Neves <ptsneves@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f018d3f77f27b73206a26c78228fed563950bd9d)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-06-24 23:57:42 +01:00
Nick Potenski
e056477ce0 systemd: systemd-systemctl: Support instance conf files during enable
Add ability to parse instance-specific conf files when
enabling an instance of a templated unit during postinstall.

(From OE-Core rev: 8d646cc4eec154e051f315de8736356c870a5ad5)

Signed-off-by: Nick Potenski <nick.potenski@garmin.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit baa0ecf3271008cf60cd830c54a71f191aebb81c)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-06-24 23:57:42 +01:00
Davide Gardenal
284cd917f8 efivar: add musl libc compatibility
Backport patch to get efivar working with musl.

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

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

(From OE-Core rev: a121d2dd5d1e47072cb1419c9cbe9ef345de8e02)

Signed-off-by: Davide Gardenal <davide.gardenal@huawei.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 005b6aba89eaf1b79fdd7565dd028fdd9bbfcc7d)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-06-24 23:57:42 +01:00
Paulo Neves
141de70a39 python: Avoid shebang overflow on python-config.py
The native path may be too big, leading to shebang
overflow. Just use the #!/usr/bin/env python3.

(From OE-Core rev: 8a86bd88f0b46b0f413b98df20891cb9aa84c271)

Signed-off-by: Paulo Neves <ptsneves@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 84783dee09e48cb930c7cd27944eaf3f03997237)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-06-24 23:57:42 +01:00
Richard Purdie
daa47a6171 python3: Ensure stale empty python module directories don't break the build
There are two issues inside importlib. Firstly, the modules are accessed in
on disk order. This means behaviour seen on one system might not reproduce
on another and is a real headache.

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

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

[YOCTO #14816]

(From OE-Core rev: cdb6879b49d4f6dc2bea8ff064a5b1e62db34781)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit e5944a38db513e033c3a3e9313267055f7254be7)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-06-24 23:57:42 +01:00
Richard Purdie
d841c3524b python3: Remove problematic paths from sysroot files
In the native sysroot we should never have paths to the python3-native
build directory. These may or may not exist at the time some dependency
is building and nothing should rely upon them.

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

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

(From OE-Core rev: 2f93d30fee0698e3cf13be17f1691e85d2122b0e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit ae9e6249ded8fc063d6333231c391cfa2d594567)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-06-24 23:57:42 +01:00
Alexander Kanavin
88c069b8bf python3: use built-in distutils for ptest, rather than setuptools' 'fork'
The setuptools version is now used by default when setuptools is installed,
but it  is incompatible with some of python's own tests.

(From OE-Core rev: 8e34686911269e461dc646068f7a4d7c0e5da53f)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit c0c1ee33781733d712cd983be460001cd7938014)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-06-24 23:57:42 +01:00
Dmitry Baryshkov
dea39dd27e linux-firmware: upgrade 20220509 -> 20220610
Drop 0001-Makefile-replace-mkdir-by-install.patch merged upstream.

License-Update: additional files
(From OE-Core rev: bcc5a22cd2b25c777315fe9d677fc0338ae2ab68)

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 91cd99267157e860a108282aee13e162e8c10572)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-06-24 23:57:42 +01:00
Dmitry Baryshkov
b7e0663dde linux-firmware: add support for building snapshots
In some cases it is useful to be able to test the snapshot of
linux-firmware (e.g. to test if the updated firmware works on the
particular hardware). Allow building the linux-firmware snapshots.

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

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

(From OE-Core rev: 96cd37cff9caaf3e92cbf63660e9b6bc73fa9744)

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit b023570ae1d239de14b50a0e827582d0e84ddf81)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-06-24 23:57:42 +01:00
Marta Rybczynska
4c7c684507 oeqa/selftest/cve_check: add tests for Ignored and partial reports
Add testcases for partial reports with CVE_CHECK_REPORT_PATCHED and
Ignored CVEs.

(From OE-Core rev: feabc35372e78575ff04ea207b34f2d278a75d00)

Signed-off-by: Marta Rybczynska <marta.rybczynska@huawei.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 3f7639b90004973782a2e74925fd2e9a764c1090)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-06-24 23:57:42 +01:00
Marta Rybczynska
c086c4b35a cve-check: add support for Ignored CVEs
Ignored CVEs aren't patched, but do not apply in our configuration
for some reason. Up till now they were only partially supported
and reported as "Patched".

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

(From OE-Core rev: d76957e4257a3bf934bdb94d65aa43267b8d9766)

Signed-off-by: Marta Rybczynska <marta.rybczynska@huawei.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit c773102d4828fc4ddd1024f6115d577e23f1afe4)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-06-24 23:57:42 +01:00
Richard Purdie
0c3b92901c liberror-perl: Update sstate/equiv versions to clean cache
There are cached reproducibility issues on the autobuilder due to the PRServ
sstate checksum issues, flush the bad data out the system by bumping the
versions.

(From OE-Core rev: b2d10487f80deb04a0893325a1ae79c8629a7655)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit b12e6cfe3bb34e426c8bb74183d041948cb2ed89)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-06-22 23:46:29 +01:00
Pavel Zhukov
93e32bf474 systemd: update 0008-add-missing-FTW_-macros-for-musl.patch
Fixes fuzz warning with insane class ihnerited introduced in 4c3f51142b
Kirkstone specific, master has been updated to 251.2 and FTBFS with musl [Yocto 14838]

(From OE-Core rev: 7cdaac4a5a30e8705fb725fd0d69629f268e7da3)

Signed-off-by: Pavel Zhukov <pavel.zhukov@huawei.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-06-22 23:46:29 +01:00
Jose Quaresma
9cfff7329a archiver: don't use machine variables in shared recipes
When using multiconfig with the same TMP folder we can have
races because the shared recipes like gcc-source run twice.

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

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

(From OE-Core rev: 6fa49ffcf2d77aaae5c348b6eb1f0117aa93eeaf)

Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 5abe497aad39a6ce8d72556fcdda1938a0f8c1bc)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-06-22 23:46:29 +01:00
Richard Purdie
7139d8d63b gcc-source: Fix incorrect task dependencies from ${B}
Some tasks may reference ${B} for gcc-source which in general would not exist.
It has dependencies on HOST_SYS and TARGET_SYS which are not appropriate for a
shared recipe like gcc-source. This causes problems for the archiver and
multiconfigs in particlar.

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

Acked-by: Jose Quaresma <jose.quaresma@foundries.io>
(From OE-Core rev: 7211a6fb51ef0e7f5c919f98a33eaf8094b9c814)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit beb2a76c591e985c6fc7ed473abd1bee27f955a2)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-06-22 23:46:29 +01:00
Yi Zhao
53e89f5499 git: fix override syntax in RDEPENDS
RDEPENDS_${PN}-tk -> RDEPENDS:${PN}-tk

(From OE-Core rev: 025d22e9c90ec0a46c1295149f1d43187c76cbe9)

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 1ed9267a318d53a302991a8ec7259d3bb809eaaa)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-06-22 23:46:29 +01:00
Yi Zhao
d37d6ad960 popt: fix override syntax in RDEPENDS
RDEPENDS_${PN}-ptest -> RDEPENDS:${PN}-ptest

(From OE-Core rev: 6168dbc9b27da1ed88c277bab6f024e6e068e685)

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 37a47bfced900c2f1e239b216d8614eb290f2f0c)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-06-22 23:46:29 +01:00
Rasmus Villemoes
1cc03505ce e2fsprogs: add alternatives handling of lsattr as well
Building busybox with CONFIG_LSATTR=y and installing that in the same
filesystem as e2fsprogs breaks:

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

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

(From OE-Core rev: 8876f33f08e07480c93803c19b517b2bed4dfe4c)

Signed-off-by: Rasmus Villemoes <rasmus.villemoes@prevas.dk>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 96703961eeb3460e9da26503d7942cc965d1e573)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-06-22 23:46:29 +01:00
Mingli Yu
cb1444e7bd oescripts: change compare logic in OEListPackageconfigTests
When multilib enabled and add layers/meta-openembedded/meta-oe in
conf/bblayers.conf, it reports below error when run oe-selftest.
 $ oe-selftest -r  oescripts
 [snip]
 [20:36:33-0700] 2022-05-16 03:36:33,494 - oe-selftest - INFO - RESULTS - oescripts.OEListPackageconfigTests.test_packageconfig_flags_option_flags: FAILED (585.37s)
 [snip]

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

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

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

        self.check_endlines(results, expected_endlines)

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

So change the compare logic to fix the gap.

(From OE-Core rev: 8c74bca4d652af93c7e36a2a8847d8010b8cc009)

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 239f22847bcae0cb31769adb0a42b5440173a7c5)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-06-22 23:46:29 +01:00
Kai Kang
62fdfa45ab xxhash: fix build with gcc 12
It fails to compile xxhash when '-Og' is set in CFLAGS via such as set
DEBUG_BUILD = '1' in local.conf. Check and disable inline when '-Og'
exists.

(From OE-Core rev: d8e454b370089e4a33c8373742178ef4d540e848)

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 3464c67cd34acbb1a6705369e34dee8af7e348ac)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-06-22 23:46:29 +01:00
Jose Quaresma
c56f8142a1 archiver: use bb.note instead of echo
(From OE-Core rev: d8cb65b2aee311cad4d174e0770bcb6ef51bedf5)

Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 6420c8a6a8143f53ccad7ab2d56b2ba06db83099)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-06-22 23:46:28 +01:00
Jack Mitchell
16edf84ea8 meson.bbclass: add cython binary to cross/native toolchain config
This allows building Cython based Python modules with the native
meson support which has been present since meson version 0.59.

https://mesonbuild.com/Cython.html

(From OE-Core rev: 3beb0f1d44b52e27adf9687d0240883bd9066db5)

Signed-off-by: Jack Mitchell <ml@embed.me.uk>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit b1dcb1eb69032c30f5a8faf4d7120fc6c4ecd051)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-06-22 23:46:28 +01:00
Xiaobing Luo
38f2a77176 devtool: Fix _copy_file() TypeError
when devtool finish, the _copy_file() failed.
--------------------------------------------
TypeError: _copy_file() got an unexpected keyword argument
'base_outdir'
--------------------------------------------

Fixes: 05f2d5d2ce00 ("devtool: finish: add dry-run option")

(From OE-Core rev: 5e6f4d0d3d314897b8ab2f45b3a78b0da9df99ab)

Signed-off-by: Xiaobing Luo <luoxiaobing0926@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit a45d9dc089fb2719ca69b92870917f8c0925f632)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-06-22 23:46:28 +01:00
Richard Purdie
e6617042c1 selftest/multiconfig: Test that multiconfigs in separate layers works
We should test that mutliconfigs from a layer work, not just build/conf.
This adds such a test.

[YOCTO #13566]

(From OE-Core rev: e15044370169cb2b0cac99056d60ce648807912a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 2306261fb85d5d03145989c3af9c6897111644ae)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-06-22 23:46:28 +01:00
Richard Purdie
60774248a5 uboot-sign: Fix potential index error issues
Someone reported that if some other shell function has left i or j set,
the concat_dtb_helper function could fail. Add a small tweak to avoid this.

[YOCTO #14815]

(From OE-Core rev: ea280917fc16a61b50738ddd03a6f85305f82cb0)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit d219c97bdf5d30be89795fbf9b66ddc367bef384)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-06-22 23:46:28 +01:00
Richard Purdie
a6344dc61a vim: Upgrade 8.2.5034 -> 8.2.5083
Includes fixes for CVE-2022-1927, CVE-2022-1942.

(From OE-Core rev: b85e29de4bca17834b003d499db5129fc5dee75e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 1e740b5c2227c0040621ae63436d06db4873670f)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-06-22 23:46:28 +01:00
Martin Jansa
4aeda14352 rootfs.py: close kernel_abi_ver_file
* fixes:
  oe-core/meta/lib/oe/rootfs.py:331: ResourceWarning: unclosed file <_io.TextIOWrapper name='pkgdata/mach/kernel-depmod/kernel-abiversion' mode='r' encoding='UTF-8'>
  kernel_ver = open(kernel_abi_ver_file).read().strip(' \n')

(From OE-Core rev: 0f7a8359ba370c7f5d5153453ed699e9566f5b1d)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f9dd8ee063c1132265248457fcd628e1e93727be)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-06-18 16:34:41 +01:00
Martin Jansa
70fabbb2d0 buildhistory.bbclass: fix shell syntax when using dash
* fix:
  run.buildhistory_get_image_installed.791888: 198: [: unexpected operator

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

    buildhistory: Fix package output files for SDKs

(From OE-Core rev: 9478e53995cbb25744b5ffd45e38f0abd53adba0)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 9852bedcb9eb8306a3f82f805ec4f76abbbbdd0f)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-06-18 16:34:41 +01:00
Jiaqing Zhao
ccd816b865 systemd: Correct 0001-pass-correct-parameters-to-getdents64.patch
Current patch removes the uint8_t* cast in src/basic/recurse-dir.c:57
to fix musl build, but it changes the value here as pointer arithmetic
is type-depended in C. This patch corrects the behavior by adding an
extra cast to struct dirent*.

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

(From OE-Core rev: 741030ce3251d0f6084b6c58904760316ac84487)

Signed-off-by: Jiaqing Zhao <jiaqing.zhao@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit e9e43d7f7488c4da8598759c4882cceeda9d2095)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-06-18 16:34:41 +01:00
Martin Jansa
ccb4acab44 lttng-modules: fix shell syntax
* add missing space to fix:
  /bin/sh: 1: [: Illegal number: 119)
  shown in the log.do_compile (isn't fatal for the build)

(From OE-Core rev: 92a5fb9138ee0a2a1b9926217647a23d1c1d73b4)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 8f785f35c8a9cdc0107fbaa76b20df5199159ee0)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-06-18 16:34:41 +01:00
He Zhe
aa01d3f0f7 lttng-modules: Fix build failure for 5.10.119+ and 5.15.44+ kernel
The following kernel commit has been back ported to v5.10.119 and v5.15.44.

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

  random: remove unused tracepoints

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

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

(From OE-Core rev: 48aad396d902b36ece414b0adb9cce4aebb093d7)

Signed-off-by: He Zhe <zhe.he@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit c8effd12cae7c7024f8e6c8f6ef70ed602d380ed)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-06-18 16:34:41 +01:00
Bruce Ashfield
7cdf493ae7 lttng-modules: fix build against 5.18-rc7+
lttng-modules fails to build against 5.18-rc7, the details of the fix
are as follows:

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

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

          sched/tracing: Append prev_state to tp args instead

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

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

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

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

   By reordering the parameters (again) we can get back up and building.

Upstream-Status: Backport

(From OE-Core rev: 6c689e1b6f5501b0db8b24552fe4eae033fee289)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit fb69e5cfb043a15354beb2d613772aa0233d12ae)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-06-18 16:34:41 +01:00
Bruce Ashfield
57962911f2 linux-yocto/5.10: update to v5.10.119
Updating  to the latest korg -stable release that comprises
the following commits:

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

(From OE-Core rev: a4b49bdba4fa69f365e18ca6d45d7b414b697a1f)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit e03685b0263e127777baa3440c15db0de9fff523)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-06-18 16:34:41 +01:00
Bruce Ashfield
eacca888d4 linux-yocto/5.15: update to v5.15.44
Updating  to the latest korg -stable release that comprises
the following commits:

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

(From OE-Core rev: 87f0b01ea3a920eb881f9ef58e8d6a4f0606231b)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 20bd31326564cfb29e1442e8bbe2f9765aad5992)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-06-18 16:34:41 +01:00
Bruce Ashfield
e939a933d3 linux-yocto/5.15: cfg/xen: Move x86 configs to separate file
Integrating the following commit(s) to linux-yocto/.:

    ad633e22764 features/xen: Move x86 configs to separate file

(From OE-Core rev: 6b82997af3b2dae330c804e5bb3da973cf8fdb28)

Signed-off-by: Kamil Dziezyk <kamil.dziezyk@arm.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit a13622703747eb1d7bc4085693d468c2772441b5)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-06-18 16:34:40 +01:00
Bruce Ashfield
cc852b651e linux-yocto/5.15: Enable MDIO bus config
Integrating the following commit(s) to linux-yocto/.:

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

(From OE-Core rev: 10bb8f03097cb8a5f5c80a472dd6fccb66c47721)

Signed-off-by: Potin Lai <potin.lai.pt@gmail.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 161888872b8c02c77733c7b74d11db3ec59c93e5)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-06-18 16:34:40 +01:00
Bruce Ashfield
7706f5ac77 linux-yocto/5.10: update to v5.10.118
Updating  to the latest korg -stable release that comprises
the following commits:

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

(From OE-Core rev: 88ce6da03c436fef8cced4857d690210293fc793)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit ef232218c488c54ffe0270552be03424e04c4526)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-06-18 16:34:40 +01:00
Bruce Ashfield
c5371ad452 linux-yocto/5.15: update to v5.15.43
Updating  to the latest korg -stable release that comprises
the following commits:

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

(From OE-Core rev: 3fb0fd6630316ad82063b72fb577f35202dd1a17)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit c587bacddfc5d217638c8f97ac665d7baae60e4d)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-06-18 16:34:40 +01:00
Bruce Ashfield
b23a467255 linux-yocto/5.15: bpf: explicitly disable unpriv eBPF by default
Integrating the following commit(s) to linux-yocto/.:

    5371fc3b2a2 bpf: explicitly disable unpriv eBPF by default

(From OE-Core rev: 8f04684552b541d5a099ce8894e8bc67b898b68b)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 3da9b7882a397b204f63fac5fef04d79ba0a01f2)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-06-18 16:34:40 +01:00
wangmy
001a2245cf lttng-ust: upgrade 2.13.2 -> 2.13.3
Changelog:
==========
* Document ust lock async-signal-safety
* Fix: don't use strerror() from ust lock nocheck
* Fix: remove non-async-signal-safe fflush from ERR()
* Fix: Pointers are rejected by integer element compile time assertion for array and sequence
* Fix: statedump: invalid read during iter_end
* Fix: bytecode interpreter context_get_index() leaves byte order uninitialized

(From OE-Core rev: 64ac42262dc3fae0d92e667b2dbf86e6f1097088)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit d9d7b5d9fd8366bc4d2720e3396ab10f8b1ab6a0)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-06-18 16:34:40 +01:00
wangmy
cf73ba2e31 iso-codes: upgrade 4.9.0 -> 4.10.0
Changelog:
==========
Added
--------
Update ISO 639-2 codes to include Montenegrin (cnr) added in 2017.
Update ISO 4217. Fixes #24
ISO 639-3: New translation for Friulian
ISO 639-5: New translations for Esperanto, Hindi, Russian
ISO 4217: New translation for Esperanto

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

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

(From OE-Core rev: c4114d9bfbdb3be7815d15b98edd666e62056ddc)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit eb771fa7740f9749d26a4d3f74a926eb1e564ee5)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-06-18 16:34:40 +01:00
Davide Gardenal
ef1df297f1 baremetal-image: fix broken symlink in do_rootfs
If IMAGE_LINK_NAME and IMAGE_MANIFEST are equal
don't create a link otherwise it will create it
to itself.

(From OE-Core rev: fb4672a8b4090d0ea9b7931d1b04bccf7a81548c)

Signed-off-by: Davide Gardenal <davide.gardenal@huawei.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 8fd1a37c38dbfc688d840d12c61d76f151f9f605)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-06-18 16:34:40 +01:00
Pavel Zhukov
ff7a7dec9b bitbake.conf: Make TCLIBC and TCMODE lazy assigned
This allows two level of overriding (distro level and local.conf/shell
variable). Previous settings blocked shell variables overring
if it was overriden on distro level.

(From OE-Core rev: e30ef926e440b505e93e404c056034d86364a241)

Signed-off-by: Pavel Zhukov <pavel.zhukov@huawei.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit de6c3f9cb2c589aecbf8d9d25fa83cd18bf80891)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-06-18 16:34:40 +01:00
Richard Purdie
8e44728420 glibc: Drop make-native dependency
Now that our make version is a minmum of 4.0 we can drop this dependency.

(From OE-Core rev: e36a8a22bd47884a8ecbaf2091560f08c22346f3)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 7a0c52fd44332abb24e0dea608229ab7c472d94e)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-06-18 16:34:40 +01:00
Richard Purdie
c9cf0084c4 perl: Add dependency on make-native to avoid race issues
Make 4.1 has race issues with double colon usage in makefiles which are common
in MakeMaker generated code in perl. Add a dependency on make-native to avoid
this as it is relaitvely low overhead.

(From OE-Core rev: 6b1bc1366bf88ec3b77fe9db44813c4dfd545a7d)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 692b7c518637c77804caf7b3cfc60a83afa2e4f4)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-06-18 16:34:40 +01:00
Richard Purdie
068aad9f1d sanity: Switch to make 4.0 as a minimum version
We can't build glibc without make 4.0 and we don't work on older distros with
older versions of make without buildtools tarball so increase the minimum
version to 4.0.

(From OE-Core rev: 4b694ded86877cce06af65a0f542027d7408c111)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit e9a449aeec72a698206323c3471c9268f949b1ae)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-06-18 16:34:40 +01:00
Richard Purdie
d87cbd6f16 local.conf.sample: Update sstate url to new 'all' path
(From meta-yocto rev: 4b5e57cfbe8523090d0547371da8d245aa9eb824)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-06-15 17:12:37 +01:00
Sean Anderson
6c51379206 rootfs.py: find .ko.zst kernel modules
With CONFIG_MODULE_COMPRESS_ZSTD enabled, kernel modules will have a
.ko.zst extension. This fixes depmod not being run.

Fixes: 1b696a45ddb ("rootfs.py: Add check for kernel modules before running depmod")
(From OE-Core rev: 6ade2bfdd9297896b9f251dd62f55e461fef1a3e)

Signed-off-by: Sean Anderson <sean.anderson@seco.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 425efac7110f0f42d70643e0a448e834d0f01a7a)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-06-11 10:06:13 +01:00
Peter Kjellerstedt
a04b59c40b license.bbclass: Bound beginline and endline in copy_license_files()
Ensure that begin_idx (i.e., beginline - 1) and end_idx (i.e.,
endline) are positive numbers in copy_license_files(). This makes sure
the same lines are copied as populate_lic_qa_checksum() uses when it
calculates the checksum. Before, beginline=0 would typically lead to
that no lines were copied at all.

(From OE-Core rev: 3001199ca8da38208649e8016e77880690835706)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit ab3cc3651d08d226675c461da760cda0bb6c0ce0)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-06-11 10:06:13 +01:00
Peter Kjellerstedt
5c04e06d76 libseccomp: Correct LIC_FILES_CHKSUM
Previously, only the first line of the LICENSE file was included,
which only covered the license name and thus would not detect a change
to the version (or anything else for that matter).

(From OE-Core rev: f9f1e7fa6b895cf810887b6c5ddb07b521371f20)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 3ac45755dffc611fb46f5cd1c07f4876d3094893)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-06-11 10:06:13 +01:00
Marcel Ziswiler
ece8d4cfcb alsa-plugins: fix libavtp vs. avtp packageconfig
Fix PACKAGECONFIG to refer to libavtp instead of avtp as this is what
the project and everything is really called everywhere.

(From OE-Core rev: daa6eb4deeb1650b63b712f4c25010819fe5d3f7)

Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 8824d91fe2063195014c38c134b97946d3b429c2)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-06-11 10:06:13 +01:00
Stefan Wiehler
bced754b56 kernel-yocto.bbclass: Reset to exiting on non-zero return code at end of task
Several tasks deactivate exiting on non-zero return codes via set +e because
they run subcommands that have legitimate non-zero return codes. However when
appending to those tasks, this behavior is not expected and can lead to builds
silently proceeding in case of an error. Therefore reset the default behavior
at the end of the respective tasks via set -e.

(From OE-Core rev: 45b4597db37e3ad50ff84cda39fd14a25d6d2680)

Signed-off-by: Stefan Wiehler <stefan.wiehler@nokia.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 83a6f28d2e464f00202090e998a63045adba9e4e)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-06-11 10:06:13 +01:00
Mingli Yu
a4ee07275c perl: Fix build with gcc-12
Fix the build failure when debug build is enabled.
Add DEBUG_BUILD = "1" in conf/local.conf.
 $ bitbake perl
  | In function 'dynprep',
    inlined from 'S_sortsv_flags_impl' at pp_sort.c:358:20,
    inlined from 'sortsv_amagic_i_ncmp' at pp_sort.c:572:5:
  |  pp_sort.c:1232:1: error: inlining failed in call to 'always_inline' 'S_amagic_i_ncmp': function not considered for inlining
  | 1232 | S_amagic_i_ncmp(pTHX_ SV *const a, SV *const b)

(From OE-Core rev: 4eb85dbace4d6d2cccdeed96b4aee80a8fc24e37)

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 880296e68cfd92cfd4c9474972c8d8e6f21a2a40)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-06-11 10:06:13 +01:00
Richard Purdie
8c33c7efbe gcc-cross-canadian: Add nativesdk-zstd dependency
To match the changes to gcc-cross, add a nativesdk-zstd dependency to ensure
our configurations match.

(From OE-Core rev: be70f51806d66daf1994a492dc446062838c0e21)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit c145e00710fe557b5a3832fdc556ad53434b3615)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-06-11 10:06:13 +01:00
Jeremy Puhlman
94ea8b8461 gcc: depend on zstd-native
Sharing sstate cache binaries between two systems, one with libzstd installed
and the other without, leads to various gcc components being linked against
the system libzstd and failing to run on the system with out it installed.

Make zstd-native from our system available.

(From OE-Core rev: 0efcba381d51a9ab8519c3d50a8b48181a0e38e4)

Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 2b0a6f03137f24b211c8881cebf65732e550a942)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-06-11 10:06:13 +01:00
Richard Purdie
da9e2bb836 openssl: Backport fix for ptest cert expiry
ptests in in openssl have started failing as one of the test certificates has
expired. Backport a fix for this from upstream, replacing the test
certificate to allow the ptests to pass again.

(From OE-Core rev: c3b7f7a9184188db5ce9ac665e6c2f3e22065fec)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f26f0b34f12bbca2beed153da402a3594d127374)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-06-11 10:06:13 +01:00
Martin Jansa
411fbde5ac patch.py: make sure that patches/series file exists before quilt pop
* Since quilt upgrade to 0.67 some recipes sometimes fail in do_patch with
  errors like:

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

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

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

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

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

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

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

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

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

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

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

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

(From OE-Core rev: 5323f0951923f201b0ad8f78aa3f42b8c3c97a17)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit c9d36882044b1c633d8611a77df54cd68c9bee25)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-06-11 10:06:13 +01:00
Dmitry Baryshkov
6a5e26dad5 linux-firmware: split ath3k firmware
Atheros AR3011 Bluetooth devices require special ath3k-1.fw firmware
file. Package it separately from the main linux-firmware package to
allow deploying this firmware on embedded devices.

(From OE-Core rev: 324e4f598c0e59ba2376d5fd76068eedac17b0d3)

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
(cherry picked from commit a12a5606f4c7003d9a90c493380c656ee557dea5)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-06-11 10:06:13 +01:00
Dmitry Baryshkov
7e7dca9844 linux-firmware: package new Qualcomm firmware
Create separate packages with firmware files for APQ8096 SoC and for
Adreno 2xx/4xx. Include A330 firmware into the 3xx package.

(From OE-Core rev: 99c0d4b8f91c647f53b778a1802b856a64617a40)

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 1a0cb8f9131d1f238dc150e583a7ff816645765f)
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-06-11 10:06:13 +01:00
Richard Purdie
ba399cc6ba webkitgtk: upgrade 2.36.1 -> 2.36.3
This is a bug fix release in the stable 2.36 series.

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

(From OE-Core rev: 4e5437696e422631a1ae042f18412461242ef62e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 69e1c72417a4ea5594c17ead7bff2f9a0298e6c5)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-06-11 10:06:13 +01:00
Richard Purdie
ca619ca25b gtk+3: upgrade 3.24.33 -> 3.24.34
Overview of Changes in GTK+ 3.24.34, 05-18-2022
===============================================
* Include legacy hicolor icons
* Fix the build with gcc 12
* MacOS:
 - Restore QUARTZ_RELOCATION support
* X11:
 - Trap errors when getting output properties
* Wayland:
 - Ignore empty preedit updates This fixes a problem with
   textview scrolling
* Translation updates
 Danish
 Dutch
 French
 German
 Hungarian
 Italian
 Kazakh
 Latvian
 Lithuanian
 Norwegian Bokmål
 Swedish

(From OE-Core rev: daf12b551c7bb43c5a3245e8d90ab7908b5fecf8)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit a652d392a47aa7c0652aac941fb7d550aea192ae)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-06-11 10:06:13 +01:00
Richard Purdie
c09b41fb91 libxkbcommon: upgrade 1.4.0 -> 1.4.1
libxkbcommon 1.4.1 - 2022-05-21
==================

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

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

(From OE-Core rev: 9311e798437c44f64f0256dd894a8173cb8b465d)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 75655c8b48b425beb42b23d8e596d3c987047792)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-06-11 10:06:13 +01:00
Richard Purdie
fa2e8b8183 glib-2.0: upgrade 2.72.1 -> 2.72.2
Bugs fixed:

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

Translation updates:

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

(From OE-Core rev: a471cc829ced8d15a5b008514caf7b0f6839382c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 780d40c9cc98fd5e9369be974acbbb60d7531a60)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-06-11 10:06:13 +01:00
wangmy
8c9ea9f6b9 logrotate: upgrade 3.19.0 -> 3.20.1
Changelog:
=========
drop world-readable permission on state file even when ACLs are enabled (#446)
fix potential DoS from unprivileged users via the state file (CVE-2022-1348)
fix a misleading debug message with copytruncate and rotate 0 (#443)
add support for unsigned time_t (#438)
do not lock state file /dev/null (#433)

(From OE-Core rev: 190457be2ee24a99da3a6383233ccc4b76dd2b0c)

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

(From OE-Core rev: af7048c4b7daabc237b1b8f2982d67cb1fd88b4c)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 6f4131e73553f47709e19871c23a411275ab3857)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-06-11 10:06:13 +01:00
Marta Rybczynska
9661c7eb07 cve-update-db-native: make it possible to disable database updates
Make it possible to disable the database update completely by using
a negative update interval CVE_DB_UPDATE_INTERVAL.

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

(From OE-Core rev: ac6b4900bc0d8b4554f666de8d9d041653935a03)

Signed-off-by: Marta Rybczynska <marta.rybczynska@huawei.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit b5c2269240327c2a8f93b9e55354698f52c976f3)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-06-11 10:06:13 +01:00
Marta Rybczynska
50ee11d88f cve-check: fix return type in check_cves
Make empty return types in check_cvs the same for all code paths.

(From OE-Core rev: 2fc716ad75dcc59000dcc18143f06bcdf43be242)

Signed-off-by: Marta Rybczynska <marta.rybczynska@huawei.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f86393c93dec47b24e837d0c4c5761a716ecdbb6)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-06-11 10:06:13 +01:00
Marta Rybczynska
34eecaa053 cve-check: write empty fragment files in the text mode
In the cve-check text mode output, we didn't write fragment
files if there are no CVEs (if CVE_CHECK_REPORT_PATCHED is 1),
or no unpached CVEs otherwise.

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

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

(From OE-Core rev: 79c02facd3f248122b4b7a6bd00192151e4a6406)

Signed-off-by: Marta Rybczynska <marta.rybczynska@huawei.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f1b7877acd0f6e3626faa57d9f89809cfcdfd0f1)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-06-11 10:06:13 +01:00
Marta Rybczynska
7f22fb48eb cve-check: move update_symlinks to a library
Move the function to a library, it could be useful in other places.

(From OE-Core rev: 66bf08f2df478a909a12756c650dcc2ae09a0a47)

Signed-off-by: Marta Rybczynska <marta.rybczynska@huawei.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit debd37abcdde8788761ebdb4a05bc61f7394cbb8)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-06-11 10:06:13 +01:00
Richard Purdie
2d031b7e2a lzo: Add further info to a patch and mark as Inactive-Upstream
Add some further info to the patch based on upstream changes. Given the last release
in 2017 and glaring issues on at least armv5, it does raise the question on whether
we should drop this. There are probably better compression tools now.

(From OE-Core rev: 27815774c983f7c2c849513efe087a6d77eaf443)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 241309c6dec364445093fa5973cc8998431cbed9)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-06-11 10:06:13 +01:00
Alexander Kanavin
6709d49f1e zip/unzip: mark all submittable patches as Inactive-Upstream
(From OE-Core rev: 0c63c7aaab9b74e9e069c2bc2395414c4a69a0f5)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit df78f7bb461c7d3eccac469fd01a77a3d0b800df)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-06-11 10:06:13 +01:00
Martin Jansa
6ef864a43e makedevs: Don't use COPYING.patch just to add license file into ${S}
* as it uses S = "${WORKDIR}" it's another possible reproducer for
  do_patch issue mentioned here:
  https://lists.yoctoproject.org/g/yocto/message/56602

(From OE-Core rev: ce83aed5456ced17251f448531103a07fea6a4e4)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 4d5c5af4dc69df39934fe54500b3dac2fb7b8ae7)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-06-11 10:06:13 +01:00
Alexander Kanavin
339af910c3 valgrind: submit arm patches upstream
(From OE-Core rev: 70ce538164480d739bbee88d6065d6c7e8ed01fb)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 118a68bbe8c87eac77e87db409ce419749b211bb)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-06-11 10:06:13 +01:00
Alexander Kanavin
b0791dc9fa bash: submit patch upstream
(From OE-Core rev: b2ad59506c6083d12bbfa9491992200c9ea1c4b5)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 424f1c24c569afd245463b02ca10c40dad3f8a0c)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-06-11 10:06:13 +01:00
Jiaqing Zhao
09007ea722 systemd: Correct path returned in sd_path_lookup()
In oe-core, sysusers.d/sysctl.d/binfmt.d/modules-load.d are still kept
under /usr/lib instead of /lib changed in systemd v246. This patch
corrects the SD_PATH_{SYSUSERS,SYSCTL,BINFMT,MODULES_LOAD} returned
in sd_path_lookup() back to the /usr/lib ones.

Also updates the patch description and upstream status.

(From OE-Core rev: 4851c836529a47210934d865ed6bdc724ed50a2f)

Signed-off-by: Jiaqing Zhao <jiaqing.zhao@linux.intel.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
(cherry picked from commit 8d913ab6db3ae4b2786a64a086d519a40dcb8c4d)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-06-11 10:06:13 +01:00
Jiaqing Zhao
fc3f326706 systemd: Drop 0002-don-t-use-glibc-specific-qsort_r.patch
musl 1.2.3 implements qsort_r function.

(From OE-Core rev: 80980314ec2181e0716964b66867e8bb8a873214)

Signed-off-by: Jiaqing Zhao <jiaqing.zhao@linux.intel.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
(cherry picked from commit 0c2bbf66c7a00268457ac10fed4bef3714da8651)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-06-11 10:06:13 +01:00
Jiaqing Zhao
4c3f51142b systemd: Remove __compare_fn_t type in musl-specific patch
Since systemd v250, commit d8f16737005e ("sort-util: avoid using
glibc's internal __compar_d_fn_t type"), __compare_fn_t type is no
longer used. This patch removes that type in the musl-specific patch.

(From OE-Core rev: 2b09a567117be0c048ac9a1c27cfae8cc1418b66)

Signed-off-by: Jiaqing Zhao <jiaqing.zhao@linux.intel.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
(cherry picked from commit 89c8a3f96dfeb444213fd6c523e1495c49065ccc)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-06-11 10:06:13 +01:00
Jiaqing Zhao
94095275b5 systemd: Drop 0001-test-parse-argument-Include-signal.h.patch
This patch has already been upstreamed in commit systemd/850f0008bff7
("test-parse-argument: Include signal.h") since v249 stable release.

(From OE-Core rev: 752f51e0a5960a0105b7c1a300406d1aa5049b5a)

Signed-off-by: Jiaqing Zhao <jiaqing.zhao@linux.intel.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
(cherry picked from commit 25d8defc806ed760d371423a7ef99bd872462d1e)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-06-11 10:06:13 +01:00
Khem Raj
3a8430281d systemd: Update patch status
(From OE-Core rev: 06c8bdec050e791b7eb4be0f13b8e91fdc193253)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 2cdfc505ce4e00ae9b4abd962c60c9fec6c3db6c)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-06-11 10:06:13 +01:00
Khem Raj
6cd66bd9fb systemd: Drop 0016-Hide-__start_BUS_ERROR_MAP-and-__stop_BUS_ERROR_MAP.patch
This patch was effectively needed when usng gold linker but it has been
fixed in binutils [1], it was seen in systemd as well [2]

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

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

(From OE-Core rev: afedd8aad2e4c6759bda6002f6af4c2378d15a03)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit e57707e820f548b3ad940ee6de9e45b4de869565)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-06-11 10:06:13 +01:00
Khem Raj
5a316a07e2 systemd: Document future actions needed for set of musl patches
(From OE-Core rev: d95e9e144b3cb594f7352fb6892c839478692157)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 433d51c3840d03623509ce8e3a1b3679f8771164)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-06-11 10:06:13 +01:00
Khem Raj
48713ac1c3 systemd: Drop redundant musl patches
These patches are no longer needed in version 250, they have been
dragged along rebasing over releases unnessarily. Lets remove them

(From OE-Core rev: 5420919e3e5c1e4b816c60a5b1ddd7da44cd6905)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 216fe2b8e53640ae5794e9426de56cd87637dde4)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-06-11 10:06:13 +01:00
Khem Raj
45d7615dfe gcc: Upgrade to 11.3 release
This is a bugfix release on gcc-11 series, fixes 189 bugs [1]
Drop backported patches already included in 11.3 release

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

(From OE-Core rev: e63013cc38b82659658365da53b14952711d6701)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-06-07 11:53:26 +01:00
Richard Purdie
c29718ee73 rust-common: Fix native signature dependency issues
The previous changes cause sstatetests.SStateTests.test_sstate_32_64_same_hash
to fail since RUST_XXX_SYS changes depending on the native architecture. This
is correct but these are accounted for in the layout of paths in TMPDIR so
they should be excluded from the task signatures for the correct behaviour.

(From OE-Core rev: 1887a69a1738cdf34d27f396943bce6a7e4f8e39)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 2b9bb4c07d0ab53f58cbdd8a96896780a90be9a8)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-06-07 11:53:26 +01:00
Richard Purdie
4e05a17616 rust-common: Drop LLVM_TARGET and simplify
This all seems over complicated for something which is basically always
one of two values. This might even help cross-canadian work on something
which isn't x86-64.

(From OE-Core rev: cf7c1cde3a3949498d0566e1ac524f8468b91380)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit bd36593ba3db758b3eacc974e48468a665967961)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-06-07 11:53:26 +01:00
Sundeep KOKKONDA
a0d3dde7c0 rust-common: Fix for target definitions returning 'NoneType' for arm
[YOCTO #14742]

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

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

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

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

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

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

(From OE-Core rev: a4886f02dfb78e861fd7afe07b4a25c262bf0421)

Signed-off-by: Sundeep KOKKONDA <sundeep.kokkonda@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 8ed000debb026477abd86ea3bf72adaf21d69f39)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-06-07 11:53:26 +01:00
Sundeep KOKKONDA
a394d454f8 rust-common: Ensure sstate signatures have correct dependencues for do_rust_gen_targets
The do_rust_gen_targets task was not rerunning when the configuration variables it
uses were changed. Add the missing variable dependencies to fix this.

[RP: Split to separate patch and add commit message]
(From OE-Core rev: 84e891d812874311b4afa20fd7d3dc4c457009f6)

Signed-off-by: Sundeep KOKKONDA <sundeep.kokkonda@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 65ce2d129154d4540cb8ec960971bcf6aa5a9480)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-06-07 11:53:26 +01:00
Richard Purdie
8286eaeff1 rust-common: Fix sstate signatures between arm hf and non-hf
Building with MACHINE=qemuarm and MACHINE=qemux86-64 causes rust-native
to rebuild. The reason is all the ingredients into the RUST_*_SYS
variables are being tracked but that doesn't really make sense in this
case:

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

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

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

(From OE-Core rev: 424b81ae680057a8c285157ea081f167381b6c62)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 38b61aeaf877f6a34c3c0060c175119975ebd782)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-06-07 11:53:26 +01:00
Khem Raj
cd23b8349e ovmf: Fix native build with gcc-12
Host distros have started deploying gcc12 as well e.g. archlinux
this build failure shows up which has been fixed upstream

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

(From OE-Core rev: d28d84c5b43ffcc312808af085d949e403805aca)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 7b67f19d353d88107f52cceda3c858730ac1db54)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-06-07 11:53:26 +01:00
Naveen Saini
c9b490e162 pciutils: avoid lspci conflict with busybox
if virtualization is enabled as DISTRO_FEATURES, then meta-virtualization layer
enables CONFIG_LSPCI=y for busybox, which in result have conflicts with pciutils

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

So marking it as ALTERNATIVE with ALTERNATIVE_PRIORITY set to 100

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

(From OE-Core rev: bbb7dcb461c09409b556571cf645bcadf12f397c)

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 257e7620a79ea50c0c59746ff9a3817d43411e39)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-06-07 11:53:26 +01:00
Martin Jansa
87d7e9d703 insane.bbclass: make sure to close .patch files
* fixes:
  DEBUG: Executing python function do_qa_patch
  /OE/build/oe-core/openembedded-core/meta/classes/insane.bbclass:1189: ResourceWarning: unclosed file <_io.TextIOWrapper name='/OE/build/oe-core/openembedded-core/meta/recipes-bsp/keymaps/files/GPLv2.patch' mode='r' encoding='utf-8'>
    content = open(fullpath, encoding='utf-8', errors='ignore').read()
  ResourceWarning: Enable tracemalloc to get the object allocation traceback
  DEBUG: Python function do_qa_patch finished

(From OE-Core rev: d96022a38908fbcf0583ed3388d5667bff38087b)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 61be3668d866834adfff688620aee7e29f6d8c44)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-06-07 11:53:26 +01:00
Joerg Vehlow
9437dc2783 libseccomp: Add missing files for ptests
pfc files are used e.g. in 38-basic-pfc_coverage.sh
valgrind_test.supp is required, when valgrind is installed, otherwise
all valgrind tests fail

(From OE-Core rev: b34aaa9acbe865f61be0a598b8df2735b1bc76cd)

Signed-off-by: Joerg Vehlow <joerg.vehlow@aox.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 32ba67bc37b5ca73f7d29cb6c7de281ab8f824bd)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-06-07 11:53:26 +01:00
Martin Jansa
57e088cfe3 staging.bbclass: process direct dependencies in deterministic order
* this doesn't fix any issue (at least AFAIK),
  just keeps the log files more deterministic to avoid unnecessary churn like in:

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

(From OE-Core rev: bd72b15e9a4c9bb4f155d19c84bcf20d788bd568)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit d3ebb37b97da15166d452bf51f5f7e0c312ae42e)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-06-07 11:53:26 +01:00
Markus Volk
1ec2bdeff6 mesa.inc: package 00-radv-defaults.conf
this fixes:

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

(From OE-Core rev: 8d5f5823b357e5bba107511f62cfd0777da2e401)

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit e306dd7d300727852a2794cd78f3097d5999eb58)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-06-07 11:53:26 +01:00
Davide Gardenal
e13ce12e4a ncurses: update to patchlevel 20220423
CVE: CVE-2022-29458

(From OE-Core rev: 862c1b109cf8f31522a250cc9ff4146fe526450c)

Signed-off-by: Davide Gardenal <davide.gardenal@huawei.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-06-07 11:53:26 +01:00
Davide Gardenal
8de0650a97 libpcre2: upgrade 10.39 -> 10.40
Security fixes and update to Unicode property handling.

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

CVE: CVE-2022-1587

(From OE-Core rev: 9cf49b4f07afcf48a5e6d1ed12d0959d5d040e00)

Signed-off-by: Davide Gardenal <davide.gardenal@huawei.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-06-07 11:53:26 +01:00
Bruce Ashfield
d1b92a322a linux-yocto/5.10: update to v5.10.114
Updating  to the latest korg -stable release that comprises
the following commits:

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

(From OE-Core rev: 02982668ac4199b9c3a2680b6d0989a7a9b0eee4)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit e222f60784034809b4d81a77fcca54669237915b)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-06-07 11:53:26 +01:00
Bruce Ashfield
d0f237a311 linux-yocto/5.15: update to v5.15.38
Updating  to the latest korg -stable release that comprises
the following commits:

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

(From OE-Core rev: 7d734c95baef7cb6dfbedfbad21edd86754d3ba1)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 8017b8b05ad8c071f7fb56bfd8e983d9361b8c46)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-06-07 11:53:26 +01:00
Bruce Ashfield
3cd1e83f9b linux-yocto/5.10: update to v5.10.113
Updating  to the latest korg -stable release that comprises
the following commits:

    54af9dd2b958 Linux 5.10.113
    7992fdb045fb Revert "net: micrel: fix KS8851_MLL Kconfig"
    8bedbc8f7f35 block/compat_ioctl: fix range check in BLKGETSIZE
    fea24b07edfc staging: ion: Prevent incorrect reference counting behavour
    dccee748af17 spi: atmel-quadspi: Fix the buswidth adjustment between spi-mem and controller
    572761645b88 jbd2: fix a potential race while discarding reserved buffers after an abort
    50aac4427360 can: isotp: stop timeout monitoring when no first frame was sent
    e1e96e372721 ext4: force overhead calculation if the s_overhead_cluster makes no sense
    4789149b9ea2 ext4: fix overhead calculation to account for the reserved gdt blocks
    0c54b093766b ext4, doc: fix incorrect h_reserved size
    22c450d39f89 ext4: limit length to bitmap_maxbytes - blocksize in punch_hole
    75ac724684b7 ext4: fix use-after-free in ext4_search_dir
    a46b3d849864 ext4: fix symlink file size not match to file content
    f6038d43b25b ext4: fix fallocate to use file_modified to update permissions consistently
    19590bbc691d perf report: Set PERF_SAMPLE_DATA_SRC bit for Arm SPE event
    e012f9d1af54 powerpc/perf: Fix power9 event alternatives
    0a2cef65b329 drm/vc4: Use pm_runtime_resume_and_get to fix pm_runtime_get_sync() usage
    f8f8b3124b89 KVM: PPC: Fix TCE handling for VFIO
    405d98427416 drm/panel/raspberrypi-touchscreen: Initialise the bridge in prepare
    231381f52116 drm/panel/raspberrypi-touchscreen: Avoid NULL deref if not initialised
    51d9cbbb0f5a perf/core: Fix perf_mmap fail when CONFIG_PERF_USE_VMALLOC enabled
    88fcfd6ee6c5 sched/pelt: Fix attach_entity_load_avg() corner case
    c55327bc3712 arm_pmu: Validate single/group leader events
    5580b974a84b ARC: entry: fix syscall_trace_exit argument
    7082650eb826 e1000e: Fix possible overflow in LTR decoding
    43a2a3734aa3 ASoC: soc-dapm: fix two incorrect uses of list iterator
    54e6180c8c2d gpio: Request interrupts after IRQ is initialized
    0837ff17d052 openvswitch: fix OOB access in reserve_sfa_size()
    19f6dcb1f0f0 xtensa: fix a7 clobbering in coprocessor context load/store
    f399ab11dd6c xtensa: patch_text: Fixup last cpu should be master
    ba2716da2336 net: atlantic: invert deep par in pm functions, preventing null derefs
    358a3846f6a9 dma: at_xdmac: fix a missing check on list iterator
    cf23a960c5c6 ata: pata_marvell: Check the 'bmdma_addr' beforing reading
    9ca66d791439 mm/mmu_notifier.c: fix race in mmu_interval_notifier_remove()
    ed5d4efb4df1 oom_kill.c: futex: delay the OOM reaper to allow time for proper futex cleanup
    6b932920b96f mm, hugetlb: allow for "high" userspace addresses
    50cbc583fa83 EDAC/synopsys: Read the error count from the correct register
    7ec6e06ee405 nvme-pci: disable namespace identifiers for Qemu controllers
    316bd86c2261 nvme: add a quirk to disable namespace identifiers
    76101c8e0c31 stat: fix inconsistency between struct stat and struct compat_stat
    bf28bba30410 scsi: qedi: Fix failed disconnect handling
    a284cca3d81a net: macb: Restart tx only if queue pointer is lagging
    9581e07b549b drm/msm/mdp5: check the return of kzalloc()
    8d71edabb0ab dpaa_eth: Fix missing of_node_put in dpaa_get_ts_info()
    b3afe5a7fd75 brcmfmac: sdio: Fix undefined behavior due to shift overflowing the constant
    202748f44148 mt76: Fix undefined behavior due to shift overflowing the constant
    0de9c104d04a net: atlantic: Avoid out-of-bounds indexing
    5bef9fc38ffa cifs: Check the IOCB_DIRECT flag, not O_DIRECT
    e129c55153c8 vxlan: fix error return code in vxlan_fdb_append
    8e7ea1136475 arm64: dts: imx: Fix imx8*-var-som touchscreen property sizes
    cd227ac03f2a ALSA: usb-audio: Fix undefined behavior due to shift overflowing the constant
    490815f0b50e platform/x86: samsung-laptop: Fix an unsigned comparison which can never be negative
    cb17b56a9b4d reset: tegra-bpmp: Restore Handle errors in BPMP response
    d513ea9b7ef8 ARM: vexpress/spc: Avoid negative array index when !SMP
    052e4a661f90 arm64: mm: fix p?d_leaf()
    18ff7a2efa4e arm64/mm: Remove [PUD|PMD]_TABLE_BIT from [pud|pmd]_bad()
    3bf8ca350170 selftests: mlxsw: vxlan_flooding: Prevent flooding of unwanted packets
    520aab8b723c dmaengine: idxd: add RO check for wq max_transfer_size write
    9a3c026dc3a5 dmaengine: idxd: add RO check for wq max_batch_size write
    f593f49fcd17 net: stmmac: Use readl_poll_timeout_atomic() in atomic state
    3d55b195747c netlink: reset network and mac headers in netlink_dump()
    49516e6ed914 ipv6: make ip6_rt_gc_expire an atomic_t
    078d839f11ac l3mdev: l3mdev_master_upper_ifindex_by_index_rcu should be using netdev_master_upper_dev_get_rcu
    0ac8f83d8f64 net/sched: cls_u32: fix possible leak in u32_init_knode()
    93366275be72 ip6_gre: Fix skb_under_panic in __gre6_xmit()
    200f96ebb389 ip6_gre: Avoid updating tunnel->tun_hlen in __gre6_xmit()
    8fb76adb89f0 net/packet: fix packet_sock xmit return value checking
    a499cb5f3ef9 net/smc: Fix sock leak when release after smc_shutdown()
    60592f16a456 rxrpc: Restore removed timer deletion
    fc7116a79a86 igc: Fix BUG: scheduling while atomic
    46b0e4f998ce igc: Fix infinite loop in release_swfw_sync
    c075c3ea0317 esp: limit skb_page_frag_refill use to a single page
    3f7914dbeacd spi: spi-mtk-nor: initialize spi controller after resume
    f714abf28f81 dmaengine: mediatek:Fix PM usage reference leak of mtk_uart_apdma_alloc_chan_resources
    9bc949a181ba dmaengine: imx-sdma: Fix error checking in sdma_event_remap
    12aa8021c7a7 ASoC: codecs: wcd934x: do not switch off SIDO Buck when codec is in use
    b6f474cd3097 ASoC: msm8916-wcd-digital: Check failure for devm_snd_soc_register_component
    608fc58858bf ASoC: atmel: Remove system clock tree configuration for at91sam9g20ek
    d29c78d3f9c5 dm: fix mempool NULL pointer race when completing IO
    cf9b19546494 ALSA: hda/realtek: Add quirk for Clevo NP70PNP
    8ce3820fc9d4 ALSA: usb-audio: Clear MIDI port active flag after draining
    43ce33a68e2b net/sched: cls_u32: fix netns refcount changes in u32_change()
    04dd45d9776e gfs2: assign rgrp glock before compute_bitstructs
    378061c9b886 perf tools: Fix segfault accessing sample_id xyarray
    5e8446e3820c tracing: Dump stacktrace trigger to the corresponding instance
    69848f9488bc mm: page_alloc: fix building error on -Werror=array-compare
    08ad7a770efa etherdevice: Adjust ether_addr* prototypes to silence -Wstringop-overead

(From OE-Core rev: 96ed22ed1e6b9fa1cbb7e232c17d1e558cdc4260)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 8be43ceaf742c4c1b59522ac75df4846cc271461)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-06-07 11:53:26 +01:00
Bruce Ashfield
3dc0acd18f linux-yocto/5.15: update to v5.15.37
Updating  to the latest korg -stable release that comprises
the following commits:

    4bf7f350c163 Linux 5.15.37
    f59e6886cafb selftests/bpf: Add test for reg2btf_ids out of bounds access
    dcecd95a1357 mm: gup: make fault_in_safe_writeable() use fixup_user_fault()
    4a0123bdb064 btrfs: fallback to blocking mode when doing async dio over multiple extents
    c81c4f566660 btrfs: fix deadlock due to page faults during direct IO reads and writes
    640a6be8e861 gfs2: Fix mmap + page fault deadlocks for direct I/O
    f86f8d27840a iov_iter: Introduce nofault flag to disable page faults
    6e213bc61446 gup: Introduce FOLL_NOFAULT flag to disable page faults
    d3b744791bf0 iomap: Add done_before argument to iomap_dio_rw
    ea7a57858875 iomap: Support partial direct I/O on user copy failures
    a00cc46f97b9 iomap: Fix iomap_dio_rw return value for user copies
    81a7fc397a62 gfs2: Fix mmap + page fault deadlocks for buffered I/O
    38b58498819a gfs2: Eliminate ip->i_gh
    8d363d817353 gfs2: Move the inode glock locking to gfs2_file_buffered_write
    416a705304e5 gfs2: Introduce flag for glock holder auto-demotion
    b25cfbc0e7de gfs2: Clean up function may_grant
    b88b998579ee gfs2: Add wrapper for iomap_file_buffered_write
    1d91c912e7d1 iov_iter: Introduce fault_in_iov_iter_writeable
    30e66b1dfcbb iov_iter: Turn iov_iter_fault_in_readable into fault_in_iov_iter_readable
    923f05a660e6 gup: Turn fault_in_pages_{readable,writeable} into fault_in_{readable,writeable}
    19cbd78fb26a mm: kfence: fix objcgs vector allocation
    10033fa72d41 ARM: dts: socfpga: change qspi to "intel,socfpga-qspi"
    e8749d608847 spi: cadence-quadspi: fix write completion support
    8c39925e98d4 bpf: Fix crash due to out of bounds access into reg2btf_ids.
    379382b347db bpf/selftests: Test PTR_TO_RDONLY_MEM
    2a77c58726ab bpf: Add MEM_RDONLY for helper args that are pointers to rdonly mem.
    15166bb3000f bpf: Make per_cpu_ptr return rdonly PTR_TO_MEM.
    b710f73704d6 bpf: Convert PTR_TO_MEM_OR_NULL to composable types.
    b453361384c2 bpf: Introduce MEM_RDONLY flag
    8d38cde47a7e bpf: Replace PTR_TO_XXX_OR_NULL with PTR_TO_XXX | PTR_MAYBE_NULL
    3c141c82b958 bpf: Replace RET_XXX_OR_NULL with RET_XXX | PTR_MAYBE_NULL
    d58a396fa6c9 bpf: Replace ARG_XXX_OR_NULL with ARG_XXX | PTR_MAYBE_NULL
    a76020980b9f bpf: Introduce composable reg, ret and arg types.
    e52da8e4632f floppy: disable FDRAWCMD by default

(From OE-Core rev: 90628b9bbcf4ed6f23e880248c92403b29ce20f3)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 786e668bdda1181438cbe570fa1155ad3b7f06d9)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-06-07 11:53:26 +01:00
Richard Purdie
cd12e92aab cve-check: Allow warnings to be disabled
When running CVE checks in CI we're usually not interested in warnings on the
console for any CVEs present. Add a configuration option CVE_CHECK_SHOW_WARNINGS
to allow this to be disabled (it is left enabled by default).

(From OE-Core rev: 8fd6a9f521ea6b1e10c80fe33968943db30991ba)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 1054d3366ba528f2ad52585cf951e508958c5c68)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-06-07 11:53:26 +01:00
Richard Purdie
5ab5cedbc5 cve-extra-exclusions: Add kernel CVEs
For OE-Core our policy is to stay as close to the kernel stable releases
as we can. This should ensure the bulk of the major kernel CVEs are fixed
and we don't dive into each individual issue as the stable maintainers are
much more able to do that.

Rather than just ignore all kernel CVEs which is what we have been doing,
list the ones we ignore on this basis here, allowing new issues to be
visible. If anyone wishes to clean up CPE entries with NIST for these, we'd
welcome than and then entries can likely be removed from here.

(From OE-Core rev: 726ce5bf1ea64d31f523ec5aff905407480c1095)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 319d465d44328b5f062d2da0526c0e8b189b4239)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-06-07 11:53:26 +01:00
Ernst Sjöstrand
e72a868593 cve-check: Only include installed packages for rootfs manifest
Before this the rootfs manifest and the summary were identical.
We should separate the summary and rootfs manifest more clearly,
now the summary is for all CVEs and the rootfs manifest is only for
things in that image. This is even more useful if you build multiple
images.

(From OE-Core rev: 65498411d73e8008d5550c2d0a1148f990717587)

Signed-off-by: Ernst Sjöstrand <ernstp@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 3b8cc6fc45f0ea5677729ee2b1819bdc7a441ab1)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-06-07 11:53:26 +01:00
Ernst Sjöstrand
ecac8cb4f7 cve-check: Add helper for symlink handling
(From OE-Core rev: af227e0c624c74ba90509829000cca607583e929)

Signed-off-by: Ernst Sjöstrand <ernstp@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 5046d54df2c3057be2afa4143a2833183fca0d67)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-06-07 11:53:26 +01:00
leimaohui
edf2b57a6b cve-check.bbclass: Added do_populate_sdk[recrdeptask].
As product, sdk should do cve check as well as rootfs.

(From OE-Core rev: 637d6ff44bc17565edae5466addbbe251f0cdadc)

Signed-off-by: Lei Maohui <leimaohui@fujitsu.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
(cherry picked from commit cc17753935c5f9e08aaa6c5886f059303147c07b)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-06-07 11:53:26 +01:00
Richard Purdie
01e54e3b62 libxslt: Mark CVE-2022-29824 as not applying
We have libxml2 2.9.14 and we don't link statically against libxml2 anyway
so the CVE doesn't apply to libxslt.

(From OE-Core rev: 82f4186ec0b16d4c1d9a8612fc3b6c6701fee8ea)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit c6315d8a2a1429a0fb7563b1d6352ceee7bc222c)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-06-07 11:53:26 +01:00
Richard Purdie
4a13afb27e tiff: Add jbig PACKAGECONFIG and clarify CVE-2022-1210
We never depended upon libjbig so this was never present. Add the
PACKAGECONFIG to make this explict.

CVE-2022-1210 is an issue in libjbig so we don't have a problem there,
mark as such.

(From OE-Core rev: 95f1c5d0bb7bc7cae2715d0c9b569fa369a64575)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 34e6a19f2430ee2fd0fec4bec1891e898a0d9766)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-06-07 11:53:25 +01:00
Richard Purdie
fd6b78f90c vim: Upgrade 8.2.4912 -> 8.2.5034 to fix 9 CVEs
Address CVE-2022-1621, CVE-2022-1629, CVE-2022-1674, CVE-2022-1733, CVE-2022-1735
CVE-2022-1769, CVE-2022-1771, CVE-2022-1785, CVE-2022-1796

(From OE-Core rev: c703b970f614ede46f9d3e24bb33cb4eb77d38a2)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit fafce97bd440150ac5c586b53b887ee70a5b66bd)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-06-07 11:53:25 +01:00
Ross Burton
00c04394cb tiff: mark CVE-2022-1622 and CVE-2022-1623 as invalid
These issues only affect libtiff post-4.3.0 but before 4.4.0, caused by
3079627e and fixed by b4e79bfa.

(From OE-Core rev: 4eb0b7468383a1d0314b3bfd43ea37c95de464d9)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-28 10:38:17 +01:00
Peter Kjellerstedt
269f457a62 license_image.bbclass: Make QA errors fail the build
If, e.g., license-file-missing is added to ERROR_QA, then the build
should fail if any licenses are missing.

(From OE-Core rev: 72aa42425e456ab0210129df01d829465acadb6d)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit dd91c4bec8335cab2bbd0b33caf50d314ca72bdc)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-28 10:38:17 +01:00
Alexander Kanavin
354e778709 sqlite3: upgrade 3.38.3 -> 3.38.5
Additional changes in version 3.38.4 (2022-05-04):

Fix a byte-code problem in the Bloom filter pull-down optimization added by release 3.38.0 in which an error in the byte code causes the byte code engine to enter an infinite loop when the pull-down optimization encounters a NULL key. Forum thread 2482b32700384a0f.
Other minor patches. See the timeline for details.

Additional changes in version 3.38.5 (2022-05-06):

Fix a blunder in the CLI of the 3.38.4 release.

(From OE-Core rev: c762a5c97b61b4d560cda33ba4a7c329df0fc9f8)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit e1bd414792ae2576685b2a352a5cc93343f06985)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-28 10:38:17 +01:00
Alexander Kanavin
f38c8c7ad0 mobile-broadband-provider-info: upgrade 20220315 -> 20220511
(From OE-Core rev: bbfce5f1c2ec4cb22efdffb1be41d147f4fe1467)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f14c8094e7a049ac1b04c45b76855d0503559932)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-28 10:38:17 +01:00
Alexander Kanavin
74db0dc428 mesa: upgrade 22.0.2 -> 22.0.3
Mesa 22.0.3 is a bug fix release

New features:

None

Bug fixes:

freedreno: fragile location packing can break cull/clip distance
turnip: dEQP-VK.spirv_assembly.instruction.compute.float_controls.fp16.generated_args.* failures
piglit ext_image_dma_buf_import.ext_image_dma_buf_import* regression
piglit ext_image_dma_buf_import.ext_image_dma_buf_import* regression
Grid Autosport via proton/vulkan: glitches on the grass on amdgpu, fine on amdgpu-pro
[Bisected] r600: Big performance regression on some games
Huge amount of anon_inode:sync_file file descriptor created
anv regressions from commit 57445adc891 “anv: Re-enable CCS_E on TGL+”
NIR validation failed after nir_opt_if
intel: integer_mad_hi / integer_mad_sat / integer_mul_hi produce invalid results
Aperture Desk Job rendering artifacts Intel TGL
intel: integer_sub_sat produces stack corruption / OpISubBorrow compilation issue
r300/rv530: “Black rendering” of Baldur’s Gate Dark Alliance in Xbox emulator CXBX-R under wine with Gallium Nine and RADEON_DEBUG=use_tgsi
radv/aco: xfb bug
Occasional flicker corruption in Rage 2, e.g. after loading, with ACO on RX 5700 XT
RADV: Quake 2 RTX v1.6.0 Corrupted Graphics
‘../src/amd/common/ac_surface.c:1575: void ac_copy_dcc_equation(const struct radeon_info *, ADDR2_COMPUTE_DCCINFO_OUTPUT *, struct gfx9_meta_equation *): assertion “dcc->equation.gfx9.num_bits <= ARRAY_SIZE(equation->u.gfx9.bit)” failed’

(From OE-Core rev: 4bd58b513132cbc855df644faf8be3728c242ae9)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 2f5831ec66c6a7e7b0f21a63cc46307aa68c5b96)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-28 10:38:17 +01:00
Alexander Kanavin
ddec31a801 libcgroup: upgrade 2.0.1 -> 2.0.2
Bug fix release:

Fix extra spaces in configure.ac's --enable-bindings
Fix potential segfault if there are more than 100 cgroup mount points

(From OE-Core rev: 6588c45d6c39f3cd1a6a58a53086bee8908ff7cd)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 2139fd56da0d8e3769bcc0b337c446e7e4b98f90)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-28 10:38:17 +01:00
Alexander Kanavin
e3de9ae200 gstreamer1.0-vaapi: upgrade 1.20.1 -> 1.20.2
No changes in vaapi between 1.20.1 -> 1.20.2

(From OE-Core rev: 5b2f2ff633fcb5742ebaf309d86bba70c3eab398)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 423d901d58e7f14d65b657d2cc61245ed9210daa)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-28 10:38:17 +01:00
Alexander Kanavin
7660a5d019 gstreamer1.0: upgrade 1.20.1 -> 1.20.2
Bug fix release:

devicemonitor: clean up signal handlers and hidden providers list
Leaks tracer: fix pthread_atfork return value check leading to bogus warning in log
Rust plugins: Not picked up by the plugin loader on macOS
Failed to use plugins of latest GStreamer version 1.20.x installed by brew on macOS
ptpclock: Allow at least 100ms delay between Sync/Follow_Up and Delay_Req/Delay_Resp messages. Fixes problems acquiring initial sync with certain devices
meson: Add -Wl,-rpath,${libdir} on macOS
registry: skip Rust dep builddirs when searching for plugins recursively

(From OE-Core rev: e779fb1773b2b6e63739e668cd892e196be224e8)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit bb113caee72db30124f6cf8aa12fbaa14277fab5)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-28 10:38:17 +01:00
Alexander Kanavin
4c4b14f0da gstreamer1.0-rtsp-server: upgrade 1.20.1 -> 1.20.2
Bug fix release:

rtspclientsink: fix possible shutdown deadlock in collect_streams()
Minor spelling fixes

(From OE-Core rev: cdafe69411554e5cdc835fe7b83afb39dab28d11)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f6c2cb116bf41312673afbbd71076a2ca8f59cf0)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-28 10:38:17 +01:00
Alexander Kanavin
3951888a09 gstreamer1.0-python: upgrade 1.20.1 -> 1.20.2
Bug fix release:

Fix build on systems without C++ compiler

(From OE-Core rev: 5ce15470ae6957bb65a63762bb9170efb85a04b3)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 762c930a49022ee7f56e746d3e768087eafd2ac1)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-28 10:38:17 +01:00
Alexander Kanavin
e2a382ffc1 gstreamer1.0-plugins-ugly: upgrade 1.20.1 -> 1.20.2
Bug fix release:

x264enc: Don't try to fixate ANY allowed caps

(From OE-Core rev: 038cbfa1ae1ae79d09991235c23188f9477e185f)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 49c5fdf15c70862c867bf7f17ed1f4ca57de2307)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-28 10:38:17 +01:00
Alexander Kanavin
46030ac6c8 gstreamer1.0-plugins-good: upgrade 1.20.1 -> 1.20.2
Bug fix release:

deinterlace: silence unused-but-set werror from imported code
qtdemux: fix leak of channel_mapping
rtpopusdepay: missing sprop-stereo should not assume mono
rtpjitterbuffer: Fix invalid memory access in rtp_jitter_buffer_pop()
rtpptdemux: fix leak of caps when ignoring a pt
rtpredenc: quieten warning about ignoring header extensions
soup: Fix pre-processor macros in souploader for libsoup-3.0
twcc: Note that twcc-stats packet loss counts reordering as loss + add some logging
video4linux2: Manual backports for RPi users
wavparse: handle URI query in any parse state, fixing audio track selection issue in GES
wavparse: Unset DISCONT buffer flag for divided into multiple buffers in push mode

(From OE-Core rev: 9472f0fe643c34a70139fd3967564a7e6cc0ded0)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 3594cbc054d0f0eb3342282f8100a0285fc9d1fd)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-28 10:38:17 +01:00
Alexander Kanavin
b2ba5f738a gstreamer1.0-plugins-base: upgrade 1.20.1 -> 1.20.2
Bug fix release:

appsrc: Clarify buffer ref semantics in signals documentation
appsrc: fix annotations for bindings
typefind: Skip extension parsing for data:// URIs, fixing regression with mp4 files serialised to data uris
playbin3: various fixes
playbin3: fix missing lock when unknown stream type in pad-removed cb
decodebin3: fix collection leaks
decodebin3: Don't duplicate stream selections
discoverer: chain up to parent finalize methods in all our types to fix memory leaks
glmixerbin: slightly better pad/element creation
gltransformation: let graphene alloc its structures memory aligned
ogg: fix possible buffer overrun
rtpbasepayload: Don't write header extensions if there's no corresponding...
rtpbasepayload: always store input buffer meta before negotiation
rtpbasepayload: fix transfer annotation for push and push_list
subparse: don't try to index string with -1
riff-media: fix memory leak after usage for g_strjoin()
playbin/playbin3: Allow setting a NULL URI
playsink: Complete reconfiguration on pad release.
parsebin: Expose streams of unknown type
pbutils: Fix wmv screen description detection
subparse: don't deref a potentially NULL variable
rawvideoparse: set format from caps in gst_raw_video_parse_set_config_from_caps
videodecoder: release stream lock after handling gap events
videorate: fix assertion when pushing last and only buffer without duration
videorate: Revert "don't reset on segment update" to fix segment handling regressions
gst-play-1.0, gst-launch-1.0: Enable win32 high-resolution timer also for MinGW build

(From OE-Core rev: 19e9c0b2ac92f9ffc3bcea8ce4761c81326ea4a7)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 905766e63a6159535b9da86c4f0af62956285199)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-28 10:38:17 +01:00
Alexander Kanavin
ce55294b63 gstreamer1.0-plugins-bad: upgrade 1.20.1 -> 1.20.2
Bug fix release:

av1parse: Fix several issues about the colorimetry.
av1parse: fix up various possible logic errors
dashsink: fix missing mutex unlock in error code path when failing to get content
d3d11videosink: Fix for unhandled mouse double click events
interlace: Also handle a missing "interlace-mode" field as progressive
msdk: fix build with MSVC
mxfdemux: Fix issues at EOS
mxfdemux: Handle empty VANC packets
nvh264dec, nvh265dec: Fix broken key-unit trick and reverse playback
nvvp9sldec: Increase DPB size to cover render delay
rvsg: fix cairo include
tsdemux: Fix AC-4 detection in MPEG-TS
tsdemux: Handle "empty" PMT gracefully
va: pool: don't advertise the GST_BUFFER_POOL_OPTION_VIDEO_ALIGNMENT option any more
v4l2codecs: Fix memory leak
v4l2videodec: set frame duration according to framerate
webrtcbin: Update documentation of 'get-stats' action signal
webrtcbin: Check data channel transport for notifying 'ice-gathering-state'
webrtcbin: Avoid access of freed memory
wpe: Reintroduce persistent WebContext
Build: use CMake to find some openssl and exr deps
Fix multiple "unused-but-set variable" compiler warnings

(From OE-Core rev: 8dca7bae0b16c7db820f0d7d60592a7d1d868a8d)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 70ff1c8f54bfb47307cce4d2cb731cc775cd7e21)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-28 10:38:17 +01:00
Alexander Kanavin
8499251928 gstreamer1.0-omx: upgrade 1.20.1 -> 1.20.2
No changes in omx from 1.20.1 -> 1.20.2

(From OE-Core rev: 2f8bf9e800e5fa893c89cd4d8b9a63f02db842b1)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 2f9b5b0d8274b5a4990c93edb30c3170de3f87a4)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-28 10:38:17 +01:00
Alexander Kanavin
9f8aea1017 gstreamer1.0-libav: upgrade 1.20.1 -> 1.20.2
Bug fix only release:

video decoders: fix frame leak on negotiation error
Fix build on systems without C++ compiler
avviddec: Remove vc1/wmv3 override (fixing crash with FFmpeg 5
Segfaults on ASF/WMV files with FFMPEG 5.0+

(From OE-Core rev: b796e337ac4ce189525b5af942226c0b4ab42ca3)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 208ddca121bb213a9e79d21b448547df58b9a511)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-28 10:38:17 +01:00
Alexander Kanavin
cf49b3984a gst-devtools: upgrade 1.20.1 -> 1.20.2
The second 1.20 bug-fix release (1.20.2) was released on 2 May 2022.

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

(From OE-Core rev: a16fd1683d5518096c5b0aa651fcb4b2afe0f2ff)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit b4c976ea07ff276ae705110769c8e9741827615b)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-28 10:38:17 +01:00
Steve Sakoman
54a7fff2f5 go: upgrade 1.17.8 -> 1.17.10
go1.17.9 (released 2022-04-12) includes security fixes to the crypto/elliptic and
encoding/pem packages, as well as bug fixes to the linker and runtime.

go1.17.10 (released 2022-05-10) includes security fixes to the syscall package,
as well as bug fixes to the compiler, runtime, and the crypto/x509 and
net/http/httptest packages.

(From OE-Core rev: bcbfff47e212627b355c54ab782f38708ed12d4c)

Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-28 10:38:17 +01:00
Ross Burton
b2e5a0b9cb oeqa/selftest/cve_check: add tests for recipe and image reports
Add a test to verify that the JSON reports are generated correctly for
both single recipe builds and image builds.

More tests are needed, but this is better than nothing.

(From OE-Core rev: 61e8e3c7f0b7161ff678a0ef4992261c7a1b96b0)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit df0f35555b09c4bc75470eb45ec9c74e6587d460)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-28 10:38:17 +01:00
Hitendra Prajapati
ce9e354ebd pcre2: CVE-2022-1586 Out-of-bounds read
Backport from 50a51cb7e6
CVE-2022-1586: pcre2: Out-of-bounds read in compile_xclass_matchingpath in pcre2_jit_compile.c.

(From OE-Core rev: fb6c980105ffd0262517299ab366218c61cc0665)

Signed-off-by: Hitendra Prajapati <hprajapati@mvista.com>
Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com>
(cherry picked from commit 7519eb1cb624bb576cfe60f7470d40c566818ac3)
Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-28 10:38:17 +01:00
Richard Purdie
8d27f1fea9 selftest/imagefeatures/overlayfs: Always append to DISTRO_FEATURES
Using += unintentionally removes all other entries from DISTRO_FEATURES
if DISTRO_FEATURES was set by ?= such as by poky.conf. This reduces
sstate reusage on the autobuilder. Fix this to speed up builds.

(From OE-Core rev: d3beac233558242ab6895e9ba8536a6df9df8eb3)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 124b82c32c4545bb216a8249954817f692f9795a)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-25 22:45:50 +01:00
Richard Purdie
2c363c2333 staging: Fix rare sysroot corruption issue
We've seen failures on the autobuilder in oe-selftest where things which should
be in the sysroot aren't. The exact steps to reproduce the exact failure are
elusive and probably hash equivalance dependency but this set of steps does
reproduce corruption which is probably of the same origin:

Add DISTRO_FEATURES += "systemd"

  bitbake dbus

Remove DISTRO_FEATURES += "systemd"

  bitbake dbus
  bitbake dbus -c clean
  bitbake dbus -c configure

Add DISTRO_FEATURES += "systemd"

  bitbake quilt-native
  bitbake dbus -c populate_sysroot

Remove DISTRO_FEATURES += "systemd"

  bitbake dbus -c compile

Where dbus will now fail as the compiler was no longer in the sysroot.

This works by clearing x11 and other values out of DISTRO_FEATURES so the x11
dependencies are removed from the sysroot. The configure stamp remains valid so
when the original configuration is restored, it becomes valid again but a load
of the sysroot disappeared and build failures result.

Fix this by removing stamps when we remove things from the sysroot.

Depends on a change to bitbake build.py to add the clean_stamp API.

[YOCTO #14790]

(From OE-Core rev: 927837e29a1e79e8eeecaacc6de6b8f9e6aa6f70)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f4b1cecc82435b71135d7b65f6ea67be0e4f8c66)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-25 22:45:50 +01:00
Claudius Heine
ec7da0e068 classes: rootfs-postcommands: add skip option to overlayfs_qa_check
The overlayfs_qa_check checks if the current root file system has a
mount configured for each overlayfs, when the overlayfs class is used.

However there are certain instances where this mount point is created at
runtime and not static in a fstab entry or systemd mount unit.

One such case would be if overlayfs-etc is used, where the device is
mounted in the preinit script and not via a mount unit or fstab entry.

However there are other possibilities for this as well, like startup
scripts that support a dynamic partition layout. For instance when
systemd-repart is used.

This adds the `OVERLAYFS_QA_SKIP` variable, which allows to define QA
skips via its flags. In principle it supports multiple QA skip flags
separated by whitespace, but only one (`mount-configured`) is
implemented here. To skip this QA check simply add `mount-configured` to
the flag of `OVERLAYFS_QA_SKIP` with the same name. For instance if a
overlayfs is configured as:

	OVERLAYFS_MOUNT_POINT[data] = "/data"

Skipping this QA check can be done by setting:

	OVERLAYFS_QA_SKIP[data] = "mount-configured"

Also add a testcase and fix a typo (fstat -> fstab).

(From OE-Core rev: 34b6d6b5f078c6948e53815af3c7b61de43d851c)

Signed-off-by: Claudius Heine <ch@denx.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 2ce9173169a2a86392c4a85fe9be7fbbd7353b7f)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-25 22:45:50 +01:00
Samuli Piippo
cf6699a5cb binutils: Bump to latest 2.38 release branch
Fixes Qt build with GCC 12.1.

Brings following fixes

 * 3d549e5ccc0 PR29142, segv in ar with empty archive and libdeps specified
 * c473aa1b9d8 M68K: avoid quadratic slowdlow in label alignment check
 * 8d1187516e3 Adjust ld ctf test for 32-bit targets
 * 9c67f6382ac x86: Properly handle function pointer reference
 * 9a01457e02e s390: Add DT_JMPREL pointing to .rela.[i]plt with static-pie
 * 82a5bb730a1 s390: Avoid dynamic TLS relocs in PIE
 * d54081c642a LoongArch: Update ABI eflag in elf header.
 * fb4d148004f IBM zSystems: Add support for z16 as CPU name.
 * 975b5540232 libctf, ld: diagnose corrupted CTF header cth_strlen
 * 99852365513 dlltool: Use the output name as basis for deterministic temp prefixes
 * 210bf1d6225 Updated Serbian (for binutils/) and Russian (for gprof/) translations
 * fcf60fe8482 PR28959, obdump doesn't disassemble mftb instruction
 * e4a35c73196 PowerPC64 DT_RELR relative reloc addresses
 * 7183434818e Work around gcc-4 warnings in elf64-ppc.c

(From OE-Core rev: cefc45625535972d20b252ed0a2f497dff7d5fe5)

Signed-off-by: Samuli Piippo <samuli.piippo@qt.io>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit c007a7251e697836a29bd1aebe49d4f2433a5e6e)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-25 22:45:50 +01:00
wangmy
4f32541b2d librepo: upgrade 1.14.2 -> 1.14.3
Minor bug fix release with a single commit:

Make error messages about repodata and rpm mismatch more user friendly

This should help users to recognize the error is not on dnf side but
instead on the server (in the repository).

(From OE-Core rev: cd16ecd4412708731968b25585d85217fa83858b)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 2b41ae2900dc308e005d3f0e8a4d3912be35bc01)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-25 22:45:50 +01:00
Alexander Kanavin
fbbbd289b6 mmc-utils: upgrade to latest revision
Fixes build error: when using Linux 5.4 kernel:

In function read_extcsd: mmc_cmds.c:72:18: error: MMC_BLOCK_MAJOR
undeclared (first use in this function)

This SRCREV bump includes two commits:

b7e4d5a mmc-utils: Add General command CMD56 read support
0d493fb mmc-utils: Fix build error MMC_BLOCK_MAJOR undeclared

(From OE-Core rev: a0f25374ea938bcc82396357bd029abc12a6ef0c)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit d98b06c9c6f480de1e5167bfe8392e39300fc02c)
Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-25 22:45:50 +01:00
Steve Sakoman
d691ddf6ad python3: fix reproducibility issue with python3-core
traceback.cpython-310.pyc is non-deterministic due to 'frozenset'
being written without strict ordering.  For now let's just not
install the problematic file.

(From OE-Core rev: 00b62965bd4c9eb6fd8c016f83126da2a107a5c5)

Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 4b1f0f7542abcb8606688c974695a6c8a142e7a2)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-25 22:45:50 +01:00
Marta Rybczynska
31909cc347 cve-check: Fix report generation
The addition of summary output caused two issues: error when building
an image and the fact that JSON output was generated even when
CVE_CHECK_FORMAT_JSON.

When generating an image it caused an error like:
ERROR: core-image-minimal-1.0-r0 do_rootfs: 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:cve_check_write_rootfs_manifest(d)
       0003:
  File: '/home/alexk/poky/meta/classes/cve-check.bbclass', lineno: 213, function: cve_check_write_rootfs_manifest
       0209:
       0210:        link_path = os.path.join(deploy_dir, "%s.json" % link_name)
       0211:        manifest_path = d.getVar("CVE_CHECK_MANIFEST_JSON")
       0212:        bb.note("Generating JSON CVE manifest")
   *** 0213:        generate_json_report(json_summary_name, json_summary_link_name)
       0214:        bb.plain("Image CVE JSON report stored in: %s" % link_path)
       0215:}
       0216:
       0217:ROOTFS_POSTPROCESS_COMMAND:prepend = "${@'cve_check_write_rootfs_manifest; ' if d.getVar('CVE_CHECK_CREATE_MANIFEST') == '1' else ''}"
  Exception: NameError: name 'json_summary_name' is not defined

The fix is to pass the d variable to the pure python function generate_json_report
to get correct values of variables and add conditions for the JSON
output where needed.

In addition clarify the message presenting the summary JSON file,
which isn't related to an image.

Uses partial fixes from Alex Kiernan, Ernst Sjöstrand (ernstp),
and Davide Gardenal.

Fixes: f2987891d315 ("cve-check: add JSON format to summary output")

(From OE-Core rev: 2fcc696e27d7f8c70ba60f5c7de8c48030a938d3)

Signed-off-by: Marta Rybczynska <marta.rybczynska@huawei.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 9015dec93233c7d45fd0c9885ff5d4ec23ad377d)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-25 22:45:50 +01:00
Robert Joslyn
ee8d859d05 curl: Backport CVE fixes
Backport patches to address the following CVEs:
 * https://curl.se/docs/CVE-2022-22576.html
 * https://curl.se/docs/CVE-2022-27775.html
 * https://curl.se/docs/CVE-2022-27776.html
 * https://curl.se/docs/CVE-2022-27774.html
 * https://curl.se/docs/CVE-2022-30115.html
 * https://curl.se/docs/CVE-2022-27780.html
 * https://curl.se/docs/CVE-2022-27781.html
 * https://curl.se/docs/CVE-2022-27779.html
 * https://curl.se/docs/CVE-2022-27782.html

(From OE-Core rev: b83c7ae43c372c1870d13ae25ebfad9c68a0928d)

Signed-off-by: Robert Joslyn <robert.joslyn@redrectangle.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-25 22:45:50 +01:00
Richard Purdie
03cc5f63bc bitbake: build: Add clean_stamp API function to allow removal of task stamps
We currently have no API to be able to remove all the potential stamps of a
task. It is unusual to need to do this, particularly as you could race against
other things happening in the system but we do have a use case for this in
cleaning up sysroots in OE-Core. The alternative is to mess with CLEANMASK in
OE-Core but that is just going to add potential for errors.

We need the first part of the make_stamp() function so separate that out so
it can be called seperately.

(Bitbake rev: 494fcfcb7c4469915c67f544997104d81c417266)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 4d671504a25863018ac51c21c005cef0a4d8f05c)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-25 18:00:44 +01:00
Tomasz Dziendzielski
2fd92929c2 bitbake: data: Do not depend on vardepvalueexclude flag
If SRC_URI contains python function that extends vardepvalueexclude its
value is being tracked by sstate-cache, which can lead to rebuilds if
value is set dynamically (for example gerrit replicas).

Return empty string if vardepvalueexclude is checked to fix this
behaviour.

(Bitbake rev: 943701ee8cb55307996545f0237721413edfb168)

Signed-off-by: Tomasz Dziendzielski <tomasz.dziendzielski@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f5f9a7b89a7d8321f03184e61ad6d5ed8d0f840e)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-25 18:00:44 +01:00
Gunjan Gupta
7c0dd56d28 bitbake: fetch2/osc: Small fixes for osc fetcher
The current fetcher seemed to have some issues that made it difficult when
trying to use the same. This patch fixes the following

* Make consistent use of the path that needs to be used as oscdir
* The path mentioned in os.access in download function was not same as
  ud.moddir which would result into invoking of fetch command instead of
  update command even if directory already existed
* Before creating oscrc, make sure oscdir exists and create it if it does
  not exist
* Updated the configuration to use apiurl and added a new parameter to
  control whether http or https needs to be used to connect to apiurl

(Bitbake rev: 8ac6e09447d884e658c556388d6014279c50f202)

Signed-off-by: Gunjan Gupta <viraniac@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 3ec78686f3c0ea2304097b86a965f9be4b0cb879)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-25 18:00:44 +01:00
Davide Gardenal
453be4d258 base-passwd: Disable shell for default users
Change the shell of all global static users other than root (which
retains /bin/sh) and sync (as /bin/sync is rather harmless) to
/sbin/nologin (as /usr/sbin/nologin does not exist in openembedded)

Upstream-Status: Backport [https://launchpad.net/ubuntu/+source/base-passwd/3.5.30]
(From OE-Core rev: ec9e9497730f0a9c8ad3d696c8cdcec06267aacf)

Signed-off-by: Jiaqing Zhao <jiaqing.zhao@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit ba3bc4d7a0a39a96f6e8d340e1b2654d47475f07)
Signed-off-by: Davide Gardenal <davide.gardenal@huawei.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-20 10:08:06 +01:00
Jiaqing Zhao
51e3b63427 strace: Don't run ptest as "nobody"
strace ptests can run successfully with root user, there is no need to
run as "nobody". The ptest results are the same.

(From OE-Core rev: c20a5f83e9f0483f5458513eeaaec60436dd9d68)

Signed-off-by: Jiaqing Zhao <jiaqing.zhao@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 5ab213178c011152e29dfb0a80251c5e5ab79900)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-20 10:08:06 +01:00
Jiaqing Zhao
d7f2bec47a sed: Specify shell for "nobody" user in run-ptest
ptest testsuite/panic-tests.sh of sed need to be run as a non-root user
so that the expected "sed: couldn't open temporary file <filename>:
Permission denied" error can be generated. After disabling default
shell for "nobody", a shell needs to be specified for running ptest.

(From OE-Core rev: 175001feb3b0e5b29cba94a8cdac18b429f84645)

Signed-off-by: Jiaqing Zhao <jiaqing.zhao@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit c6d7216772f76af4429fdaaca518858cf014293f)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-20 10:08:06 +01:00
Richard Purdie
c4668d6424 sanity: Don't warn about make 4.2.1 for mint
Whilst not a supported distro, we can exclude this from the warning as it
is debian derived and doesn't have the issue.

(From OE-Core rev: eeba7fdc2878b3c1e90c0babbcaf7711a2e42fc1)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit b561e40f906737eec81245c6a12e78501311f667)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-20 10:08:06 +01:00
Dmitry Baryshkov
3009af101b image.bbclass: allow overriding dependency on virtual/kernel:do_deploy
Since the commit fe26b2379ecd ("image.bbclass: Depend on
virtual/kernel:do_deploy"), the image.bbclass made building images
depend on virtual/kernel. For some images, including small initramfs,
this is not the case. Allow overriding this dependency in case
developers knows what they are doing.

(From OE-Core rev: 4caf244256e150fea19cd4f2ca04c13d95d49fee)

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 55875f68212657167ac6dc26f5fd93eac24b098e)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-20 10:08:06 +01:00
Claudius Heine
0af576a3b0 overlayfs: add docs about skipping QA check & service dependencies
Add some documentation about skipping the QA check related to missing
fstab entries or mount units for base mount points where the overlayfs
is mounted from.

Also add a short paragraph about adding a systemd unit dependency to
services in recipes, so that they are started only after the overlayfs
is mounted and ready.

No functional change.

(From OE-Core rev: 4611cbab3e9593937b64b6db48ef269de37c74db)

Signed-off-by: Claudius Heine <ch@denx.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 7adc49fa6fdbdf118f74e95193e80ae7ef019e27)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-20 10:08:06 +01:00
Aryaman Gupta
0c68e5f599 e2fsprogs: update upstream status
Status updated but using the existing patch since it is functionally identical.

(From OE-Core rev: 9f2d85b383daeca5bbed601e4ff9ff01a8c3403f)

Signed-off-by: Aryaman Gupta <aryaman.gupta@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit aab854a94e73e5035eb82fe1aafe970aaa296a54)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-20 10:08:06 +01:00
Felix Moessbauer
a8a094e511 wic/plugins/rootfs: Fix permissions when splitting rootfs folders across partitions
This patches makes locating the file database containing the file and
folder usernames and permissions more reliable.
In addition to locating it relative to the partition directory, we also
try to locate it relative to the IMAGE_ROOTFS.

Prior to this patch, the database was not found when using
--rootfs-dir=${IMAGE_ROOTFS}/<x> in the WIC script, leading to erronous file
permissions and ownership.

(From OE-Core rev: a5406116ef647ff0cabc6b9466aa0e34e6a20750)

Signed-off-by: Felix Moessbauer <felix.moessbauer@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 09e18ee246da8b56f446c4db548fb9c7e895142b)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-20 10:08:06 +01:00
Alex Kiernan
524a41059d pypi.bbclass: Set CVE_PRODUCT to PYPI_PACKAGE
The CVE product name for PyPI packages is (usually) the same as the PyPI
package name (and not our recipe name), so use that as the default.

(From OE-Core rev: 80a1de36bc86a864d52292ef9770b77480f3c67b)

Signed-off-by: Alex Kiernan <alexk@zuma.ai>
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 61f6b0ad09bf87cdc2d3f08770b7c44cad1d0e58)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-20 10:08:06 +01:00
Richard Purdie
718700b20e cairo: Add missing GPLv3 license checksum entry
The trace tools are licensed under GPL-3.0-or-later but this wasn't
listed in LIC_FILES_CHKSUM. Fix that.

Ultimately we could disable that license if the trace PACKAGECONFIG is
disabled but I'll leave that to someone else if they're keen.

(From OE-Core rev: a27a0c3bceedf06de7ff8cae4a8fe4d2f6f514b8)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f763b906ea10705d519c9eebb5ef1ebe87d49d7c)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-20 10:08:06 +01:00
Dmitry Baryshkov
eedfa5ace3 linux-firmware: upgrade 20220411 -> 20220509
License-Update: additional files
(From OE-Core rev: 9002274362b512142f66ea68ff9837a7dde8f830)

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 85b1fef733683be09a1efdb2d8b8ffe543053ace)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-20 10:08:06 +01:00
Konrad Weihmann
98481ac1de linux-firmware: replace mkdir by install
if a setup is using RPM for packaging and there are multiple
recipes that install to ${nonarch_base_libdir}/firmware by using
install -d ${nonarch_base_libdir}/firmware, it will create installation
clashes on image install, as linux-firmware in before this patch
used mkdir -p, which creates different file mode bits (depending
on the current user's settings).

In a particular example
linux-fimware created /lib/firmware with 0600
while other-firmware-package created it with 0644
making the combination not installable by rpm backend

(From OE-Core rev: e16b9768a2e3eb931d11558f448149c16afa490b)

Signed-off-by: Konrad Weihmann <kweihmann@outlook.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 98bf3f427702687bf81ed759e7cde5d6d15e77eb)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-20 10:08:06 +01:00
Richard Purdie
0070210dee vim: Upgrade 8.2.4681 -> 8.2.4912
Includes fixes for CVE-2022-1381, CVE-2022-1420.

(From OE-Core rev: d1c0db32383812531b857729c585b3305e781cd9)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 77d745bd49c979de987c75fd7a3af116e99db82b)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-20 10:08:06 +01:00
Jiaqing Zhao
708d015124 libxml2: Upgrade 2.9.13 -> 2.9.14
Security

[CVE-2022-29824] Integer overflow in xmlBuf and xmlBuffer
Fix potential double-free in xmlXPtrStringRangeFunction
Fix memory leak in xmlFindCharEncodingHandler
Normalize XPath strings in-place
Prevent integer-overflow in htmlSkipBlankChars() and xmlSkipBlankChars() (David Kilzer)
Fix leak of xmlElementContent (David Kilzer)

Bug fixes

Fix parsing of subtracted regex character classes
Fix recursion check in xinclude.c
Reset last error in xmlCleanupGlobals
Fix certain combinations of regex range quantifiers
Fix range quantifier on subregex

Improvements

Fix recovery from invalid HTML start tags

Build system, portability

Define LFS macros before including system headers
Initialize XPath floating-point globals
configure: check for icu DEFS (James Hilliard)
configure.ac: produce tar.xz only (GNOME policy) (David Seifert)
CMakeLists.txt: Fix LIBXML_VERSION_NUMBER
Fix build with older Python versions
Fix --without-valid build

(From OE-Core rev: 393b81058f3b970eb906a7f9daa842d8a0747700)

Signed-off-by: Jiaqing Zhao <jiaqing.zhao@linux.intel.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit c4ba21f4012e8859fc793bec7df76e56eb8058ec)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-20 10:08:06 +01:00
Alexander Kanavin
21da7a4def xwayland: upgrade 22.1.0 -> 22.1.1
Changes in XWayland 22.1.1 include:

- Not mapping the composite overlay window by default when running in rootless
  mode. This is being done since a client trying to get the COW, the X Server
  will map the window and block all pointer events.

- A change to the XWayland present queue code due to some Vulkan games/apps
  running in windowed mode only running at 58 FPS when in fact at 60 FPS for
  matching a 60Hz refresh rate. Incorrect calculation handling led to the MSC
  ticking at ~58Hz.

- Fixing use-after-free bugs.

(From OE-Core rev: 8b8f53ebf6bc265d495154fea3050fe8d7fbd256)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit aa0028e19651665f6671d7c57646cfc97c7ba763)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-20 10:08:06 +01:00
Alexander Kanavin
7fb8cfd96c webkitgtk: upgrade 2.36.0 -> 2.36.1
This is the first bug fix release in the stable 2.36 series.

What’s new in the WebKitGTK 2.36.1 release?

- Fix the build with accessibility disabled.
- Fix several crashes and rendering issues.
- Translation updates: Croatian.

(From OE-Core rev: cf336712afc3899ef45c7f2ef5f6b081223a1269)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 4ed608d33fe5f38bc172e0cc6d938ffab184a47a)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-20 10:08:06 +01:00
Alexander Kanavin
2b7d34e5ec sqlite3: upgrade 3.38.2 -> 3.38.3
2022-04-27 - Version 3.38.3
Version 3.38.3 fixes a bug in the automatic-index and Bloom filter construction
logic that might cause SQLite to be overly aggressive in the use of ON clause
constraints, resulting in a incorret automatic-index or Bloom filter that excludes
some valid rows from output. The bug was introduced in version 3.38.0.
Other minor changes were tossed in to complete the patch.

(From OE-Core rev: c78ac7ef2d14a8b6167922a12e8c7f35c4b11bfb)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 1efd89a4572bb2f39728fd53a1d4db944b06ff38)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-20 10:08:06 +01:00
Alexander Kanavin
f5b41e7181 libinput: upgrade 1.19.3 -> 1.19.4
libinput 1.19.4 fixes CVE-2022-1215 with a format string vulnerability

(From OE-Core rev: 25b4ce85da67584e34194335e56bdcb4c8f083fa)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit d32d51753aadf6c2747c79927dad0c9a044ad5df)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-20 10:08:06 +01:00
Alexander Kanavin
713dea485f fribidi: upgrade 1.0.11 -> 1.0.12
Overview of changes between 1.0.11 and 1.0.12

- Various fuzzing fixes.

(From OE-Core rev: e42ff3c56228359f4dfa1de2303dfa64fd29f311)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 5396115fc726f0a9f8a76d1b3ec27ea73062367b)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-20 10:08:06 +01:00
Alexander Kanavin
9bbf4f6ddb ffmpeg: upgrade 5.0 -> 5.0.1
version 5.0.1:
- avcodec/exr: Avoid signed overflow in displayWindow
- avcodec/diracdec: avoid signed integer overflow in global mv
- avcodec/takdsp: Fix integer overflow in decorrelate_sf()
- avcodec/apedec: fix a integer overflow in long_filter_high_3800()
- avdevice/dshow: fix regression
- avfilter/vf_subtitles: pass storage size to libass
- avcodec/vp9_superframe_split_bsf: Don't read inexistent data
- avcodec/vp9_superframe_split_bsf: Discard invalid zero-sized frames
- avcodec/vp9_superframe_bsf: Check for existence of data before reading it
- avcodec/vp9_raw_reorder_bsf: Check for existence of data before reading it
- avformat/imf: fix packet pts, dts and muxing
- avformat/imf: open resources only when first needed
- avformat/imf: cosmetics
- avformat/imf_cpl: do not use filesize when reading XML file
- avformat/imfdec: Use proper logcontext
- avformat/imfdec: do not use filesize when reading XML file
- doc/utils: add missing 22.2 layout entry
- avcodec/av1: only set the private context pix_fmt field if get_pixel_format() succeeds
- avformat/aqtitledec: Skip unrepresentable durations
- avformat/cafdec: Do not store empty keys in read_info_chunk()
- avformat/mxfdec: Do not clear array in mxf_read_strong_ref_array() before writing
- avformat/mxfdec: Check for avio_read() failure in mxf_read_strong_ref_array()
- avformat/mxfdec: Check count in mxf_read_strong_ref_array()
- avformat/hls: Check target_duration
- avcodec/pixlet: Avoid signed integer overflow in scaling in filterfn()
- avformat/matroskadec: Check pre_ns
- avcodec/sonic: Use unsigned for predictor_k to avoid undefined behavior
- avcodec/libuavs3d: Check ff_set_dimensions() for failure
- avcodec/speexdec: Align some comments
- avcodec/speexdec: Use correct doxygen comments
- avcodec/mjpegbdec: Set buf_size
- avformat/matroskadec: Use rounded down duration in get_cue_desc() check
- avcodec/argo: Check packet size
- avcodec/g729_parser: Check channels
- avformat/avidec: Check height
- avformat/rmdec: Better duplicate tags check
- avformat/mov: Disallow empty sidx
- avformat/argo_cvg:: Fix order of operations in error check in argo_cvg_write_trailer()
- avformat/argo_asf: Fix order of operations in error check in argo_asf_write_trailer()
- avcodec/movtextdec: add () to CMP() macro to avoid unexpected behavior
- avformat/matroskadec: Check duration
- avformat/mov: Corner case encryption error cleanup in mov_read_senc()
- avcodec/jpeglsdec: Fix if( code style
- avcodec/jpeglsdec: Check get_ur_golomb_jpegls() for error
- avcodec/motion_est: fix indention of ff_get_best_fcode()
- avcodec/motion_est: Fix xy indexing on range violation in ff_get_best_fcode()
- avformat/hls: Use unsigned for iv computation
- avcodec/jpeglsdec: Increase range for N in ls_get_code_runterm() by using unsigned
- avformat/matroskadec: Check desc_bytes
- avformat/utils: Fix invalid NULL pointer operation in ff_parse_key_value()
- avformat/matroskadec: Fix infinite loop with bz decompression
- avformat/utils: keep chapter monotonicity on chapter updates
- avformat/mov: Check size before subtraction
- avcodec/cfhd: Avoid signed integer overflow in coeff
- avcodec/libdav1d: free the Dav1dData packet on dav1d_send_data() failure
- avcodec/h264_parser: don't alter decoder private data
- configure: link to libatomic when it's present
- fate/ffmpeg: add missing samples dependency to fate-shortest

(From OE-Core rev: ccb87ec2f13b72c1f43a2ad96cd446533da4a666)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 90f35ceb209a51dfe0cd29e1d8646fcc501b7269)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-20 10:08:06 +01:00
Alexander Kanavin
c8e81c00a9 epiphany: upgrade 42.0 -> 42.2
42.2 - April 21, 2022
=====================

 * Fix Save As context menu items (#1760)
 * Fix CVE-2022-29536 (#1766)

(From OE-Core rev: 75ade4ee2c1e417f295dde687d8f9c4da9a29eea)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 91b53781ee883f5f40d989e398064c294030fa53)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-20 10:08:06 +01:00
Alexander Kanavin
6648bf972f cronie: upgrade 1.6.0 -> 1.6.1
Release 1.6.1

crond: Fix regression of handling ranges (x-y) in crontab

(From OE-Core rev: 251a5ec8d9694caa9e35690198604f6ee4bad537)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 4bcd528050c01a1e7a3d1a847379833672900ad9)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-20 10:08:06 +01:00
Alexander Kanavin
ef9819dfb1 bind: upgrade 9.18.1 -> 9.18.2
Update to latest stable branch release

Bug Fixes

- Previously, zone maintenance DNS queries retried forever if the destination
  server was unreachable. These queries included outgoing NOTIFY messages,
  refresh SOA queries, parental DS checks, and stub zone NS queries. For example,
  if a zone had any nameservers with IPv6 addresses and a secondary server without
  IPv6 connectivity, that server would keep trying to send a growing amount of
  NOTIFY traffic over IPv6. This futile traffic was not logged. This excessive
  retry behavior has been fixed. [GL #3242]

- A number of crashes and hangs which could be triggered in dig were identified and
  addressed. [GL #3020] [GL #3128] [GL #3145] [GL #3184] [GL #3205] [GL #3244] [GL #3248]

- Invalid dnssec-policy definitions, where the defined keys did not cover both KSK
  and ZSK roles for a given algorithm, were being accepted. These are now checked,
  and the dnssec-policy is rejected if both roles are not present for all algorithms
  in use. [GL #3142]

- Handling of TCP write timeouts has been improved to track the timeout for each TCP
  write separately, leading to a faster connection teardown in case the other party
  is not reading the data. [GL #3200]

(From OE-Core rev: 297215735613b1c9512780580da2f84cf013a603)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 5398263c8e070110a045a5f8999712ba4be628de)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-20 10:08:06 +01:00
Alexander Kanavin
1b98b19017 mesa: upgrade 22.0.0 -> 22.0.2
Mesa 22.0.1 is a bug fix release which fixes bugs found since the 22.0.0 release:

freedreno: crash in PUBG
MSVC: Build failure in libmesa_util when targeting x86 32-bit
A crash in radeonsi driver
freedreno: deqp cts fails

Mesa 22.0.2 is a bug fix release which fixes bugs found since the 22.0.1 release:

Vulkan::Calling vkWaitForFences Timeout
Intel (CHT) - Uplink text rendering bugged out in Mesa 22.0
gen9atom gpu hang on dEQP-VK.spirv_assembly.instruction.graphics.float16.arithmetic_1
bad memory managment on panfrost RK3399 - cannot alocate more ram - fury unleashed
Broken rendering in Ryujinx on Tigerlake
intel: integer_mad_hi / integer_mad_sat / integer_mul_hi produce invalid results
Textures colors distortion in “Black Geyser: Couriers of Darkness” with radeonsi
ShaderStorageBlocksWriteAccess not set for spir-v shaders?
radeonsi dEQP-GLES3.functional.buffer.map.write.explicit_flush.* flake crashes
radv: nir validation error with invalid array access
Intel Iris Xe Geometry Flickering/Assets Disappearing
Rendering artifacts when playing Outer Wilds [Reproducible with latest ANV driver built from main]
Vulkan wsi leaks vk_sync object on every wsi_AcquireNextImageKHR call
panfrost(RK3399/T860): Emulationstation: broken, black or missing menus with v22.0.0
Plasma/KDE settings menus disappear on daily build
Square Artifacts Dragons Dogma
r300: Anmesia the dark descent corruption
Error compiling with LLVM-git/15

(From OE-Core rev: 34f6d4763fc3bad1382551fd863f96e556b5f6cc)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f3e9444968fd47b3c8e0b2ee7b1b17f43a6bd56b)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-20 10:08:06 +01:00
Khem Raj
226c321269 systemd: Fix build regression with latest update
This happens when ptest is enabled with clang compiler

(From OE-Core rev: 53b7b68a7b84e6feef3d78e25dbdd8d053e921db)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit a1f51bae8e4717da2375b9a476c368554a795487)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-20 10:08:06 +01:00
Alexander Kanavin
72f4f94d4e systemd: upgrade 250.4 -> 250.5
Latest stable branch update

Drop 0029-network-enable-KeepConfiguration-when-running-on-net.patch as
patch merged upstream.

Changes:

4a31fa2fb0 (tag: v250.5) hwdb: run "update-hwdb-autosuspend"
e92e2d0e3b hwdb: run "update-hwdb"
e1e4395775 hwdb: make sure "ninja update-hwdb" works on f35
1fe496fc3b hwdb: fix parser to work with newer pyparsing
32e7c65372 manager: prohibit clone3() in seccomp filters
45335a3eed nspawn: fix --ephemeral with --machine
79b86adcbd nspawn: fix locating config files with --ephemeral
c202d402d9 resolve: fix typo in dns_class_is_pseudo()
9f689fda54 sd-ipv4acd: actually drop the arp packet from one of the host interface
e3d57bc301 sd-event: make inotify event work after the process is forked
a5fc32fa34 sd-event: do not kill a child process from another child
c36ab05b4f sd-event: do not update signal fd after PID is changed
e006b56c18 sd-event: set pid to event source after all setup processes finished
d2e3b5a841 sd-event: rebreak comments
6673131917 core: fix dm-verity auto-discovery in MountImageUnit()
10ee46a2ca analyze: Fix verify exit status regression
df6253cbda hwdb: fix parsing options
9727b9ee7b core: command argument can be longer than PATH_MAX
12f05b856c network: ignore all errors in loading .network files
b5dfdf0301 analyze: fix offline check for syscal filter
8ed1490de6 analyze: fix offline check for 'native' syscall architecture
72d0c6b171 missing-syscall: define MOVE_MOUNT_T_EMPTY_PATH if missing
bba396d78c journal-remote: refuse to specify --trust option when gnutls is disabled
8d4c0d2383 calendarspec: fix possibly skips next elapse
d9ea8dab6d copy: use FLAGS_SET() in copy_xattr()
077ca08b38 journal: preserve acls when rotating user journals with NOCOW attribute set
25b3c48ec5 macro: account for negative values in DECIMAL_STR_WIDTH()
8f2f6a94d8 network: enable KeepConfiguration= when running on network filesystem
61649fbada stat-util: introduce path_is_network_fs()
3f6e62eccb network-generator: rename DHCP_TYPE_DHCP -> DHCP_TYPE_DHCP4
a7585a3a38 hwdb: Add AV production access to Elgado Stream Deck devices
18c0096ec2 Add AV production controllers to hwdb and add uaccess
2298094b2c packit: drop bfq patch
7cda67d4f4 packit: build on and use Fedora 36 spec file
056bae9f1b Packit: build SRPMs in Copr
6253eb576c journal-file: if we are going down, don't use event loop to schedule post
c901bc8680 journald: make sure SIGTERM handling doesn't get starved out
ed46ff2bd6 random-seed: hash together old seed and new seed before writing out file
6d3e2f0188 resolved: Allow test-resolved-stream to run concurrently
781b2b2e66 resolved: Read as much as possible per stream EPOLLIN event
03692af607 resolved: Avoid multiple SSL writes per DoT packet
3227f542a7 resolved: Make event flags logic robust for DoT
9c710c66c3 resolve: llmnr: fix never hit condition
d65808ef7e resolve: mention that dns_stream_update() needs to be called after dns_stream_take_read_packet()
b2f82f643a resolve: call dns_stream_take_read_packet() in on_stream_io()
fe4c208c98 resolve: make dns_stream_new() take on_packet and complete callbacks
f447648ae4 resolved: Test for DnsStream (plain TCP DNS and DoT)
88b4e8f74e resolved: Fix DoT timeout on multiple answer records
d5b871bdfe test: increase image size
c3aead5568 random-util: unify RANDOM_ALLOW_INSECURE and !RANDOM_BLOCK and simplify

(From OE-Core rev: 43e2cd211230ea32e4903f9891fda2e4b0f63cc4)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit e07ba76fc78b44f338e574644a8ae3b6cddc9f08)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-20 10:08:06 +01:00
Davide Gardenal
e977c0cf23 qemu: backport patch for CVE-2021-4207
CVE: CVE-2021-4207

Upstream fix:
https://git.qemu.org/?p=qemu.git;a=commit;h=9569f5cb5b4bffa9d3ebc8ba7da1e03830a9a895

(From OE-Core rev: 4150733448aee4c27340565a4f79c86d160b2b08)

Signed-off-by: Davide Gardenal <davide.gardenal@huawei.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-20 10:08:06 +01:00
Davide Gardenal
d6e618ac2e qemu: backport patch for CVE-2021-4206
CVE: CVE-2021-4206

Upstream fix:
https://git.qemu.org/?p=qemu.git;a=commit;h=fa892e9abb728e76afcf27323ab29c57fb0fe7aa

(From OE-Core rev: 0e684c12a762534261fcd7849fdcda0bb8031c0b)

Signed-off-by: Davide Gardenal <davide.gardenal@huawei.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-20 10:08:06 +01:00
Davide Gardenal
cf9a7e4cc6 freetype: backport patch for CVE-2022-27406
CVE: CVE-2022-27406

Upstream issue:
https://gitlab.freedesktop.org/freetype/freetype/-/issues/1140

(From OE-Core rev: 2c1df19405e2f52b06feec0506ad56cef7d4c6c1)

Signed-off-by: Davide Gardenal <davide.gardenal@huawei.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-20 10:08:06 +01:00
Davide Gardenal
c27fdfb851 freetype: backport patch for CVE-2022-27405
CVE: CVE-2022-27405

Upstream issue:
https://gitlab.freedesktop.org/freetype/freetype/-/issues/1139

(From OE-Core rev: 6ec1c9237837e9d781647805eb2caabcdbaddb7b)

Signed-off-by: Davide Gardenal <davide.gardenal@huawei.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-20 10:08:06 +01:00
Davide Gardenal
7f44415639 freetype: backport patch for CVE-2022-27404
CVE: CVE-2022-27404

Upstream issue:
https://gitlab.freedesktop.org/freetype/freetype/-/issues/1138

(From OE-Core rev: af45711f0ab36a1b63fa338755f9a51b227393d1)

Signed-off-by: Davide Gardenal <davide.gardenal@huawei.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-20 10:08:06 +01:00
Richard Purdie
8c489602f2 build-appliance-image: Update to kirkstone head revision
(From OE-Core rev: cb8647c08959abb1d6b7c2b3a34b4b415f66d7ee)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-15 08:59:10 +01:00
Davide Gardenal
93491db3bf openssl: minor security upgrade 3.0.2 -> 3.0.3
This minor version include fixes for several CVEs

CVE: CVE-2022-1292
CVE: CVE-2022-1343
CVE: CVE-2022-1434
CVE: CVE-2022-1473

(From OE-Core rev: 62bc43a8ca705384fb60742f2f044f4355aaabca)

Signed-off-by: Davide Gardenal <davide.gardenal@huawei.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-15 08:57:40 +01:00
Steve Sakoman
546d7cfea4 virgl: skip headless test on alma 8.6
As a centos 8 spinoff, it lacks the same vgem kernel module.

(From OE-Core rev: 451605aa40482516c18cd1534feacb796516a785)

(From OE-Core rev: 66622dac0ed987162c740536f56973f17879198a)

Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-15 08:49:20 +01:00
Jon Mason
8941afebd1 qemuarmv5: use arm-versatile-926ejs KMACHINE
Use the Arm Versatile 926 kernel configs to get this machine working
again.

(From OE-Core rev: 70ad00a6e8370a4603494003abdf98c3b33cf7f8)

Signed-off-by: Jon Mason <jdmason@kudzu.us>
Acked-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-13 10:31:23 +01:00
Steve Sakoman
300cc18871 poky.conf: bump version for 4.0.1 release
(From meta-yocto rev: 79b0270f55d69ecae8ada6dce492b7c561c56cca)

Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-13 09:34:27 +01:00
Bruce Ashfield
5bac84e954 yocto-bsps: update to v5.15.36
Updating linux-yocto/5.15 to the latest korg -stable release that comprises
the following commits:

    45451e8015a9 Linux 5.15.36
    bb906d15a99e arm64: dts: qcom: add IPA qcom,qmp property
    1ea01e64632f block/compat_ioctl: fix range check in BLKGETSIZE
    6a3c609feb11 spi: atmel-quadspi: Fix the buswidth adjustment between spi-mem and controller
    b1b8f39c2475 jbd2: fix a potential race while discarding reserved buffers after an abort
    2e25c46c6eef netfilter: nft_ct: fix use after free when attaching zone template
    2b273d1fd18e ext4: force overhead calculation if the s_overhead_cluster makes no sense
    52ca84a3edd1 ext4: fix overhead calculation to account for the reserved gdt blocks
    6b952563934c ext4, doc: fix incorrect h_reserved size
    9b90003771e5 ext4: limit length to bitmap_maxbytes - blocksize in punch_hole
    e3912775b476 ext4: fix use-after-free in ext4_search_dir
    8bb5676b49d3 ext4: fix symlink file size not match to file content
    ba50ea456f49 ext4: fix fallocate to use file_modified to update permissions consistently
    67e4860eeed8 netfilter: conntrack: avoid useless indirection during conntrack destruction
    bcba40bd36d7 netfilter: conntrack: convert to refcount_t api
    4bbd693d9f0a KVM: SVM: Flush when freeing encrypted pages even on SME_COHERENT CPUs
    8b2da9690489 KVM: nVMX: Defer APICv updates while L2 is active until L1 is active
    a41b3243a6de KVM: x86: Pend KVM_REQ_APICV_UPDATE during vCPU creation to fix a race
    2b4417acd3c6 KVM: x86/pmu: Update AMD PMC sample period to fix guest NMI-watchdog
    87d95ff0ca27 arm_pmu: Validate single/group leader events
    4d98fbb26683 ARC: entry: fix syscall_trace_exit argument
    7b69c07beb23 e1000e: Fix possible overflow in LTR decoding
    73a0b4c5c0bd ASoC: soc-dapm: fix two incorrect uses of list iterator
    571a67b0d8a4 gpio: Request interrupts after IRQ is initialized
    e411af98013d openvswitch: fix OOB access in reserve_sfa_size()
    bac4cadeb718 xtensa: fix a7 clobbering in coprocessor context load/store
    91335ca9ebe7 xtensa: patch_text: Fixup last cpu should be master
    49952e31e50d perf report: Set PERF_SAMPLE_DATA_SRC bit for Arm SPE event
    04ecea282b42 perf script: Always allow field 'data_src' for auxtrace
    a92335b4b189 powerpc/perf: Fix power10 event alternatives
    7a56867c5ef3 powerpc/perf: Fix power9 event alternatives
    53c4a9ff225b drm/vc4: Use pm_runtime_resume_and_get to fix pm_runtime_get_sync() usage
    9dc46d2e3723 KVM: PPC: Fix TCE handling for VFIO
    76614b111867 drm/panel/raspberrypi-touchscreen: Initialise the bridge in prepare
    7981351a916e drm/panel/raspberrypi-touchscreen: Avoid NULL deref if not initialised
    56637084e8a5 perf/core: Fix perf_mmap fail when CONFIG_PERF_USE_VMALLOC enabled
    b1b929468229 sched/pelt: Fix attach_entity_load_avg() corner case
    914473a07088 scsi: sr: Do not leak information in ioctl
    f0cfae3e0d3a Input: omap4-keypad - fix pm_runtime_get_sync() error checking
    232541989a1a net: atlantic: invert deep par in pm functions, preventing null derefs
    6b8af9f96749 dmaengine: imx-sdma: fix init of uart scripts
    1a8d1665cff1 dma: at_xdmac: fix a missing check on list iterator
    d10a711d4db6 ata: pata_marvell: Check the 'bmdma_addr' beforing reading
    48b2ab1a960a mm/mmu_notifier.c: fix race in mmu_interval_notifier_remove()
    41ba681c6373 oom_kill.c: futex: delay the OOM reaper to allow time for proper futex cleanup
    9dcb65cdf312 mm, hugetlb: allow for "high" userspace addresses
    07bdd207774c memcg: sync flush only if periodic flush is delayed
    9c71b29d55d4 mm/memory-failure.c: skip huge_zero_page in memory_failure()
    b81291922f8b EDAC/synopsys: Read the error count from the correct register
    87dd813bd2c3 nvme-pci: disable namespace identifiers for Qemu controllers
    dab2f477e15a nvme-pci: disable namespace identifiers for the MAXIO MAP1002/1202
    25f37ed22a9e nvme: add a quirk to disable namespace identifiers
    4a9f9f1791f3 VFS: filename_create(): fix incorrect intent.
    773ca67ffc96 stat: fix inconsistency between struct stat and struct compat_stat
    80c713a894c3 scsi: qedi: Fix failed disconnect handling
    c7f4f3016fea scsi: iscsi: Fix NOP handling during conn recovery
    e4efe868aa14 scsi: iscsi: Merge suspend fields
    740411ee2f94 scsi: iscsi: Release endpoint ID when its freed
    123a52eb610d net: macb: Restart tx only if queue pointer is lagging
    bc663ff8cae3 drm/msm/mdp5: check the return of kzalloc()
    5fe864539caf dpaa_eth: Fix missing of_node_put in dpaa_get_ts_info()
    48e1db2c3d42 brcmfmac: sdio: Fix undefined behavior due to shift overflowing the constant
    e25b350e2521 mt76: Fix undefined behavior due to shift overflowing the constant
    a7a651d5a525 net: atlantic: Avoid out-of-bounds indexing
    213330bafd02 cifs: Check the IOCB_DIRECT flag, not O_DIRECT
    6085e24fd972 vxlan: fix error return code in vxlan_fdb_append
    32fe43df71c5 arm64: dts: imx: Fix imx8*-var-som touchscreen property sizes
    f0ba965e4783 drm/msm/disp: check the return value of kzalloc()
    b78d40339568 ALSA: usb-audio: Fix undefined behavior due to shift overflowing the constant
    9d441c2e2ad1 platform/x86: samsung-laptop: Fix an unsigned comparison which can never be negative
    4426116b2e02 reset: tegra-bpmp: Restore Handle errors in BPMP response
    a6ec9d95c205 reset: renesas: Check return value of reset_control_deassert()
    70fa727835f9 ARM: vexpress/spc: Avoid negative array index when !SMP
    d3acd3f9f80e arm64: mm: fix p?d_leaf()
    ec9cb700cbf7 selftests: mlxsw: vxlan_flooding: Prevent flooding of unwanted packets
    6b9a418d3850 dmaengine: idxd: skip clearing device context when device is read-only
    49047fa486b3 dmaengine: idxd: add RO check for wq max_transfer_size write
    6c30e099b978 dmaengine: idxd: add RO check for wq max_batch_size write
    e83acf93919b net: stmmac: Use readl_poll_timeout_atomic() in atomic state
    79957134ca1d drm/i915/display/psr: Unset enable_psr2_sel_fetch if other checks in intel_psr2_config_valid() fails
    f3552c37593a netlink: reset network and mac headers in netlink_dump()
    93581ae1f980 net: mscc: ocelot: fix broken IP multicast flooding
    6a5ca57d5acd net: dsa: hellcreek: Calculate checksums in tagger
    40ebaf7365b0 can: isotp: stop timeout monitoring when no first frame was sent
    652a5405396d ipv6: make ip6_rt_gc_expire an atomic_t
    d23fe66eb7b0 l3mdev: l3mdev_master_upper_ifindex_by_index_rcu should be using netdev_master_upper_dev_get_rcu
    58bdbd121a34 net/sched: cls_u32: fix possible leak in u32_init_knode()
    1b4fb109cc53 net: restore alpha order to Ethernet devices in config
    d5049ef1f671 ip6_gre: Fix skb_under_panic in __gre6_xmit()
    3cc2f6b71eb6 ip6_gre: Avoid updating tunnel->tun_hlen in __gre6_xmit()
    ab26f1136757 net/packet: fix packet_sock xmit return value checking
    b355ca6a915f net/smc: Fix sock leak when release after smc_shutdown()
    8fe1bf23c96b rxrpc: Restore removed timer deletion
    09da8cf94588 ALSA: hda/hdmi: fix warning about PCM count when used with SOF
    c7c71b3e4764 igc: Fix suspending when PTM is active
    da323d0d6aaa igc: Fix BUG: scheduling while atomic
    b3ce7d3a1742 igc: Fix infinite loop in release_swfw_sync
    8920a03a3a15 spi: cadence-quadspi: fix incorrect supports_op() return value
    a583f2f3c878 esp: limit skb_page_frag_refill use to a single page
    76900a136b1a spi: spi-mtk-nor: initialize spi controller after resume
    84e77e72367f dmaengine: dw-edma: Fix unaligned 64bit access
    d18fb19c1c8e dmaengine: mediatek:Fix PM usage reference leak of mtk_uart_apdma_alloc_chan_resources
    8932d9ee4b9f dmaengine: imx-sdma: Fix error checking in sdma_event_remap
    a8be4586352b dmaengine: idxd: fix device cleanup on disable
    6168532a08ef ASoC: codecs: wcd934x: do not switch off SIDO Buck when codec is in use
    053bd9604f05 ASoC: msm8916-wcd-digital: Check failure for devm_snd_soc_register_component
    9a4c63e7332c ASoC: rk817: Use devm_clk_get() in rk817_platform_probe
    bc15442cc99f ASoC: topology: Correct error handling in soc_tplg_dapm_widget_create()
    bc7d0133181e ASoC: atmel: Remove system clock tree configuration for at91sam9g20ek
    236785649ad2 ALSA: hda/realtek: Add quirk for Clevo NP70PNP
    aaa22e5b526d ALSA: usb-audio: Clear MIDI port active flag after draining
    ba9e9a794fd1 net/sched: cls_u32: fix netns refcount changes in u32_change()
    8dfec6e0a62d scsi: ufs: core: scsi_get_lba() error fix
    c2d0cdf8ad06 gfs2: assign rgrp glock before compute_bitstructs
    a52e73bef254 mm, kfence: support kmem_dump_obj() for KFENCE objects
    3876c574e4cc perf tools: Fix segfault accessing sample_id xyarray
    77a467983bff mm: page_alloc: fix building error on -Werror=array-compare
    3177d047e58a etherdevice: Adjust ether_addr* prototypes to silence -Wstringop-overead
    3f7b1a87ac75 arm64/mm: drop HAVE_ARCH_PFN_VALID
    c01430cf5b87 dma-mapping: remove bogus test for pfn_valid from dma_map_resource
    155ae0547cb8 xfs: return errors in xfs_fs_sync_fs
    935745abcf4c vfs: make sync_filesystem return errors from ->sync_fs
    6eb927ee189f block: simplify the block device syncing code
    7877e7a5a52e block: remove __sync_blockdev
    4b7617ae04de fs: remove __sync_filesystem
    81d8d30c35ed Linux 5.15.35
    85f25bb9a005 ax25: Fix UAF bugs in ax25 timers
    43c107021d91 ax25: Fix NULL pointer dereferences in ax25 timers
    da6509fba636 ax25: fix NPD bug in ax25_disconnect
    1bf8946d5826 ax25: fix UAF bug in ax25_send_control()
    452ae92b9906 ax25: Fix refcount leaks caused by ax25_cb_del()
    b982492ec3a1 ax25: fix UAF bugs of net_device caused by rebinding operation
    bc706d89199b ax25: fix reference count leaks of ax25_dev
    9af0fd5c4453 ax25: add refcount in ax25_dev to avoid UAF bugs
    de6a76eea645 cpufreq: intel_pstate: ITMT support for overclocked system
    74d23d422556 net: ipa: fix a build dependency
    1648c7b450d8 soc: qcom: aoss: Fix missing put_device call in qmp_get
    d712aea3cd81 cpu/hotplug: Remove the 'cpu' member of cpuhp_cpu_state
    14785927a1d4 drm/i915: Sunset igpu legacy mmap support based on GRAPHICS_VER_FULL
    4ef9951d0252 dma-direct: avoid redundant memory sync for swiotlb
    111becd63e37 timers: Fix warning condition in __run_timers()
    cbdd7a33c533 dt-bindings: net: snps: remove duplicate name
    83a4c1080e09 i2c: pasemi: Wait for write xfers to finish
    44981e4cde68 smp: Fix offline cpu check in flush_smp_call_function_queue()
    2f345bb14ad4 i2c: dev: check return value when calling dev_set_name()
    6b4bf97587ef dm integrity: fix memory corruption when tag_size is less than digest size
    0940795c6834 ARM: davinci: da850-evm: Avoid NULL pointer dereference
    68a38b07f125 tick/nohz: Use WARN_ON_ONCE() to prevent console saturation
    c11ef9ded22e genirq/affinity: Consider that CPUs on nodes can be unbalanced
    c61d929944c9 x86/tsx: Disable TSX development mode at boot
    aaf27fcaefc1 x86/tsx: Use MSR_TSX_CTRL to clear CPUID bits
    2dd7d2eddf8e drm/amdgpu: Enable gfxoff quirk on MacBook Pro
    804c096d640e drm/amd/display: don't ignore alpha property on pre-multiplied mode
    adee01bbf6cb ipv6: fix panic when forwarding a pkt with no in6 dev
    cab64cb82fe1 nl80211: correctly check NL80211_ATTR_REG_ALPHA2 size
    63038f6e96a7 ALSA: pcm: Test for "silence" field in struct "pcm_format_data"
    a53062c94b8c ALSA: hda/realtek: add quirk for Lenovo Thinkpad X12 speakers
    0349df521528 ALSA: hda/realtek: Add quirk for Clevo PD50PNT
    3680b48533ae btrfs: mark resumed async balance as writing
    252db93fd0bd btrfs: fix root ref counts in error handling in btrfs_get_root_ref
    9b81c2c147e1 ath9k: Fix usage of driver-private space in tx_info
    3386927f436e ath9k: Properly clear TX status area before reporting to mac80211
    7a509a9f2bb7 cifs: verify that tcon is valid before dereference in cifs_kill_sb
    bd17422b9b67 gcc-plugins: latent_entropy: use /dev/urandom
    05d1824a7fb4 memory: renesas-rpc-if: fix platform-device leak in error path
    f5e13d700a4d SUNRPC: Fix NFSD's request deferral on RDMA transports
    00715427ea77 KVM: x86/mmu: Resolve nx_huge_pages when kvm.ko is loaded
    70ea5e7b38c3 mm: kmemleak: take a full lowmem check in kmemleak_*_phys()
    12ba1d38115a mm: fix unexpected zeroed page mapping with zram swap
    bb7645c33869 mm, page_alloc: fix build_zonerefs_node()
    b6d17c67885a mm/secretmem: fix panic when growing a memfd_secret
    4cdf0e7a5be8 perf/imx_ddr: Fix undefined behavior due to shift overflowing the constant
    b8ed0f7531f3 io_uring: use nospec annotation for more indexes
    5218d5cc0283 io_uring: zero tag on rsrc removal
    efb020924a71 drivers: net: slip: fix NPD bug in sl_tx_timeout()
    e455d7510db7 scsi: megaraid_sas: Target with invalid LUN ID is deleted during scan
    f1933d9ee745 scsi: mvsas: Add PCI ID of RocketRaid 2640
    389f37e46bdd scsi: mpt3sas: Fail reset operation if config request timed out
    184b4fad0872 drbd: set QUEUE_FLAG_STABLE_WRITES
    6a03581ccffa drm/amd/display: Fix allocate_mst_payload assert on resume
    ac2eb310af05 drm/amd/display: Revert FEC check in validation
    eab8e585840f drm/amd/display: Enable power gating before init_pipes
    d8860f1f9e41 spi: cadence-quadspi: fix protocol setup for non-1-1-X operations
    6d48df738272 myri10ge: fix an incorrect free for skb in myri10ge_sw_tso
    b416898442f2 net: usb: aqc111: Fix out-of-bounds accesses in RX fixup
    c3f86aef97cf Drivers: hv: balloon: Disable balloon and hot-add accordingly
    1c9fdb9587e0 net: axienet: setup mdio unconditionally
    61dd8bef80c2 tlb: hugetlb: Add more sizes to tlb_remove_huge_tlb_entry
    ed2711c696ce arm64: alternatives: mark patch_alternative() as `noinstr`
    cfd24b14eb2d regulator: wm8994: Add an off-on delay for WM8994 variant
    86d1cdf56fc5 gpu: ipu-v3: Fix dev_dbg frequency output
    4583205048ae ata: libata-core: Disable READ LOG DMA EXT for Samsung 840 EVOs
    6eecc4811a47 net: micrel: fix KS8851_MLL Kconfig
    9e60a788a3f7 scsi: ibmvscsis: Increase INITIAL_SRP_LIMIT to 1024
    026083cb43a4 scsi: lpfc: Fix queue failures when recovering from PCI parity error
    b7f3b5d70c83 scsi: target: tcmu: Fix possible page UAF
    44f95a5aae99 Drivers: hv: vmbus: Prevent load re-ordering when reading ring buffer
    92a3499933c1 PCI: hv: Propagate coherence from VMbus device to PCI device
    1b576e81d31b Drivers: hv: vmbus: Deactivate sysctl_record_panic_msg by default in isolated guests
    f2658d5966bc drm/amdkfd: Check for potential null return of kmalloc_array()
    9f0fabf30b48 drm/amdgpu/vcn: improve vcn dpg stop procedure
    25efb191d86b drm/amdkfd: Fix Incorrect VMIDs passed to HWS
    7a3bc11a4034 drm/amd/display: Update VTEM Infopacket definition
    92951699a5f1 drm/amd/display: FEC check in timing validation
    b054e8183fbd drm/amd/display: fix audio format not updated after edid updated
    37bc29a44538 drm/amdgpu/gmc: use PCI BARs for APUs in passthrough
    5a3b56a4a1c7 drm/amdgpu: conduct a proper cleanup of PDB bo
    01dcda701fef btrfs: do not warn for free space inode in cow_file_range
    bb93369f93b5 btrfs: fix fallocate to use file_modified to update permissions consistently
    6dded62e5aa6 drm/amd: Add USBC connector ID
    3e67054c339c block: fix offset/size check in bio_trim()
    279018a01b08 net: bcmgenet: Revert "Use stronger register read/writes to assure ordering"
    b8c0f6d1b04c vfio/pci: Fix vf_token mechanism when device-specific VF drivers are used
    5fda973f0ece dm mpath: only use ktime_get_ns() in historical selector
    9901b07ba42b cifs: potential buffer overflow in handling symlinks
    9ded5ae40f4f nfc: nci: add flush_workqueue to prevent uaf
    331c99ee8dcb net: ftgmac100: access hardware register after clock ready
    8f79ce226ad2 macvlan: Fix leaking skb in source mode with nodst option
    8e86fba13479 perf tools: Fix misleading add event PMU debug message
    1665758b4bfd ALSA: usb-audio: Limit max buffer and period sizes per time
    6b38c5722610 ALSA: usb-audio: Increase max buffer size
    7399ed8e6a8d testing/selftests/mqueue: Fix mq_perf_tests to free the allocated cpu set
    9947548d9cef io_uring: verify pad field is 0 in io_get_ext_arg
    7a7c9f9de961 io_uring: verify that resv2 is 0 in io_uring_rsrc_update2
    22aa1597f462 io_uring: move io_uring_rsrc_update2 validation
    cb981d5c7511 ALSA: mtpav: Don't call card private_free at probe error path
    872e5fa0781f ALSA: ad1889: Fix the missing snd_card_free() call at probe error
    96aceacda8d2 netfilter: nf_tables: nft_parse_register can return a negative value
    90c153ca45da sctp: Initialize daddr on peeled off socket
    50d46b5ce004 scsi: iscsi: Fix unbound endpoint error handling
    578616ac3d87 scsi: iscsi: Fix conn cleanup and stop race during iscsid restart
    485780af7ef1 scsi: iscsi: Fix endpoint reuse regression
    cbd4f4e40944 scsi: iscsi: Fix offload conn cleanup when iscsid restarts
    cc0082d45de1 scsi: iscsi: Move iscsi_ep_disconnect()
    d6f6f945e850 scsi: pm80xx: Enable upper inbound, outbound queues
    b02c509ceef4 scsi: pm80xx: Mask and unmask upper interrupt vectors 32-63
    3a523807f014 net/smc: Fix NULL pointer dereference in smc_pnet_find_ib()
    66b3107a4a06 drm/msm/dp: add fail safe mode outside of event_mutex context
    815006c33391 drm/msm/dsi: Use connector directly in msm_dsi_manager_connector_init()
    a6549b364be4 drm/msm: Fix range size vs end confusion
    1c86b7ea63ff netfilter: nft_socket: make cgroup match work in input too
    5a52384a5134 cfg80211: hold bss_lock while updating nontrans_list
    d5be67ecbeff net/sched: taprio: Check if socket flags are valid
    62a48383ebe2 net: ethernet: stmmac: fix altr_tse_pcs function when using a fixed-link
    72f9c15854b0 net: dsa: felix: suppress -EPROBE_DEFER errors
    13faa76cf572 net/sched: fix initialization order when updating chain 0 head
    4c979e6fcec8 mlxsw: i2c: Fix initialization error flow
    152b813d8ba5 net: mdio: don't defer probe forever if PHY IRQ provider is missing
    675e7d3086d0 cifs: release cached dentries only if mount is complete
    d40cf3492277 gpiolib: acpi: use correct format characters
    93940fc4cb81 veth: Ensure eth header is in skb's linear part
    de8a332c86a7 net/sched: flower: fix parsing of ethertype following VLAN header
    726ae7300fcc SUNRPC: Fix the svc_deferred_event trace class
    ec2ab59b9e66 media: rockchip/rga: do proper error checking in probe
    b0d8a9eb3239 firmware: arm_scmi: Fix sorting of retrieved clock rates
    e2da8f9ce3ea Revert "ath11k: mesh: add support for 256 bitmap in blockack frames in 11ax"
    9f029cb2c92e memory: atmel-ebi: Fix missing of_node_put in atmel_ebi_probe
    e7b1992b0722 firmware: arm_scmi: Remove clear channel call on the TX channel
    77ffc38e577d drm/msm: Add missing put_task_struct() in debugfs path
    aa4845194b9d ALSA: nm256: Don't call card private_free at probe error path
    425c83e2898d ALSA: usb-audio: Cap upper limits of buffer/period bytes for implicit fb
    3bbd4850d957 ALSA: via82xx: Fix the missing snd_card_free() call at probe error
    56e44ff13d84 ALSA: sonicvibes: Fix the missing snd_card_free() call at probe error
    73229d7cb836 ALSA: sc6000: Fix the missing snd_card_free() call at probe error
    df03ce487e1b ALSA: rme96: Fix the missing snd_card_free() call at probe error
    ef4c35339414 ALSA: rme9652: Fix the missing snd_card_free() call at probe error
    4efa63663c36 ALSA: rme32: Fix the missing snd_card_free() call at probe error
    bb94f5d98511 ALSA: riptide: Fix the missing snd_card_free() call at probe error
    4ecd10217df6 ALSA: oxygen: Fix the missing snd_card_free() call at probe error
    30b86477daaa ALSA: maestro3: Fix the missing snd_card_free() call at probe error
    5fbb73cb1208 ALSA: lx6464es: Fix the missing snd_card_free() call at probe error
    0651442d22e2 ALSA: lola: Fix the missing snd_card_free() call at probe error
    0bec8b8a57de ALSA: korg1212: Fix the missing snd_card_free() call at probe error
    d9ac5256de1f ALSA: intel_hdmi: Fix the missing snd_card_free() call at probe error
    e87b8d0ba455 ALSA: intel8x0: Fix the missing snd_card_free() call at probe error
    547c9af67b4e ALSA: ice1724: Fix the missing snd_card_free() call at probe error
    141abcbf902a ALSA: hdspm: Fix the missing snd_card_free() call at probe error
    f006a4bcf8bb ALSA: hdsp: Fix the missing snd_card_free() call at probe error
    85515309293b ALSA: galaxy: Fix the missing snd_card_free() call at probe error
    841e8f8dd21f ALSA: fm801: Fix the missing snd_card_free() call at probe error
    3a738f1b3ffd ALSA: es1968: Fix the missing snd_card_free() call at probe error
    d3c6ac7a051c ALSA: es1938: Fix the missing snd_card_free() call at probe error
    20b35ba7aa2f ALSA: ens137x: Fix the missing snd_card_free() call at probe error
    0d52c09f0c17 ALSA: emu10k1x: Fix the missing snd_card_free() call at probe error
    2a2a75ebdbd4 ALSA: echoaudio: Fix the missing snd_card_free() call at probe error
    648e89e9de29 ALSA: cs5535audio: Fix the missing snd_card_free() call at probe error
    9decc5bfd173 ALSA: cs4281: Fix the missing snd_card_free() call at probe error
    2dde47610757 ALSA: cmipci: Fix the missing snd_card_free() call at probe error
    f98476228801 ALSA: ca0106: Fix the missing snd_card_free() call at probe error
    e5a54e236f70 ALSA: bt87x: Fix the missing snd_card_free() call at probe error
    935629ba096e ALSA: azt3328: Fix the missing snd_card_free() call at probe error
    3a943321c362 ALSA: aw2: Fix the missing snd_card_free() call at probe error
    811a92b866a0 ALSA: au88x0: Fix the missing snd_card_free() call at probe error
    ea61c1bd582b ALSA: atiixp: Fix the missing snd_card_free() call at probe error
    007a9b5554e1 ALSA: als4000: Fix the missing snd_card_free() call at probe error
    291d9e5e94d0 ALSA: als300: Fix the missing snd_card_free() call at probe error
    5bc156409025 ALSA: ali5451: Fix the missing snd_card_free() call at probe error
    cfa98d6c41e0 ALSA: sis7019: Fix the missing error handling
    1479bdea76dd ALSA: core: Add snd_card_free_on_error() helper
    07cacfd9d9dc btrfs: release correct delalloc amount in direct IO write path
    8ff8bdb8c92d net: ipa: request IPA register values be retained
    587ced6b8cf3 dt-bindings: net: qcom,ipa: add optional qcom,qmp property
    7883df73fd59 soc: qcom: aoss: Expose send for generic usecase
    ec13aa4e0085 btrfs: remove unused variable in btrfs_{start,write}_dirty_block_groups()
    ed0e951463ea btrfs: remove no longer used counter when reading data page
    6308ab54c8ec btrfs: remove unused parameter nr_pages in add_ra_bio_pages()
    ff810f85ed3f ACPI: processor: idle: fix lockup regression on 32-bit ThinkPad T40
    7cad1c40ef91 ACPI: processor idle: Allow playing dead in C3 state
    631473adaaef ACPI: processor idle: Check for architectural support for LPI
    5b13295ac584 cpuidle: PSCI: Move the `has_lpi` check to the beginning of the function
    9873fe0f3857 hamradio: remove needs_free_netdev to avoid UAF
    c799c18a287e hamradio: defer 6pack kfree after unregister_netdev
    8e663865f528 drm/amd/display: Fix p-state allow debug index on dcn31
    685a19fa6ae9 drm/amd/display: Add pstate verification and recovery for DCN31
    1b86fc15ba6d Linux 5.15.34
    c9ea4fb1f3f3 stacktrace: move filter_irq_stacks() to kernel/stacktrace.c
    fddb88bd266f powerpc: Fix virt_addr_valid() for 64-bit Book3E & 32-bit
    68cea1e243b8 static_call: Don't make __static_call_return0 static
    429f413ed83f mm/sparsemem: fix 'mem_section' will never be NULL gcc 12 warning
    8fe51495efff irqchip/gic, gic-v3: Prevent GSI to SGI translations
    69943af22a32 powerpc/64: Fix build failure with allyesconfig in book3s_64_entry.S
    7b5d60323f90 irqchip/gic-v4: Wait for GICR_VPENDBASER.Dirty to clear before descheduling
    f4f8b6d8490e x86,static_call: Fix __static_call_return0 for i386
    ff6505766565 sched: Teach the forced-newidle balancer about CPU affinity limitation.
    f399f38eda57 x86/bug: Prevent shadowing in __WARN_FLAGS
    469eed08becd Drivers: hv: vmbus: Replace smp_store_mb() with virt_store_mb()
    f5e59185b033 mm: don't skip swap entry even if zap_details specified
    4693fce5a5d4 selftests: cgroup: Test open-time cgroup namespace usage for migration checks
    47802775bc11 selftests: cgroup: Test open-time credential usage for migration checks
    e326f218de1f selftests: cgroup: Make cg_create() use 0755 for permission instead of 0644
    33db9912ff7c ubsan: remove CONFIG_UBSAN_OBJECT_SIZE
    f1607e13ed71 Revert "net/mlx5: Accept devlink user input after driver initialization complete"
    226b4327ef5c KVM: avoid NULL pointer dereference in kvm_dirty_ring_push
    104bfa23a001 dmaengine: Revert "dmaengine: shdma: Fix runtime PM imbalance on error"
    3c3a8e56553e tools build: Use $(shell ) instead of `` to get embedded libperl's ccopts
    fbe722d48b8e tools build: Filter out options and warnings not supported by clang
    9b2b01e36741 perf python: Fix probing for some clang command line options
    03044b841406 perf build: Don't use -ffat-lto-objects in the python feature test when building with clang-13
    3b14aa053181 Revert "nbd: fix possible overflow on 'first_minor' in nbd_dev_add()"
    5d69622eb036 SUNRPC: Don't call connect() more than once on a TCP socket
    22174e8ce8ac rtc: mc146818-lib: fix signedness bug in mc146818_get_time()
    9e46f7319549 selftests/bpf: Fix u8 narrow load checks for bpf_sk_lookup remote_port
    0c64645e6373 bpf: Make remote_port field in struct bpf_sk_lookup 16-bit wide
    e2ff1d653069 Revert "selftests: net: Add tls config dependency for tls selftests"
    7f48521172fb net/smc: send directly on setting TCP_NODELAY
    20633216ded0 KVM: SVM: Allow AVIC support on system w/ physical APIC ID > 255
    b536cf3eb6f9 drm/amdgpu: don't use BACO for reset in S3
    3c8902bbf2ab drm/amdkfd: Create file descriptor after client is added to smi_clients list
    588393cdae7f drm/nouveau/pmu: Add missing callbacks for Tegra devices
    6a5d209898a6 drm/amdgpu/vcn: Fix the register setting for vcn1
    155338be5d90 drm/amdgpu/smu10: fix SoC/fclk units in auto mode
    0115e4f2f6bc drm/amdgpu/display: change pipe policy for DCN 2.1
    28dc1503a9d3 drm/panel: ili9341: fix optional regulator handling
    b911702a0105 SUNRPC: Prevent immediate close+reconnect
    a551e6629247 amd/display: set backlight only if required
    2388f826cdc9 fbdev: Fix unregistering of framebuffers without device
    7218a789abb3 irqchip/gic-v3: Fix GICR_CTLR.RWP polling
    fcf9ccf9d26a perf/core: Inherit event_caps
    0309f053ce47 perf: qcom_l2_pmu: fix an incorrect NULL check on list iterator
    8a05a6952ecd ata: sata_dwc_460ex: Fix crash due to OOB write
    136c21ce8e01 perf/x86/intel: Don't extend the pseudo-encoding to GP counters
    983a759640bf x86/mm/tlb: Revert retpoline avoidance approach
    2f67341e5bce x86/msi: Fix msi message data shadow struct
    0912cf021fb5 gpio: Restrict usage of GPIO chip irq members before initialization
    9ca11bd8222a RDMA/hfi1: Fix use-after-free bug for mm struct
    fa7cc2df9505 arm64: patch_text: Fixup last cpu should be master
    90012c6748d3 spi: core: add dma_map_dev for __spi_unmap_msg()
    887366faf0c9 btrfs: prevent subvol with swapfile from being deleted
    4b98799e181b btrfs: fix qgroup reserve overflow the qgroup limit
    56c88810466b perf/x86/intel: Update the FRONTEND MSR mask on Sapphire Rapids
    fab4b79e869a x86/speculation: Restore speculation related MSRs during S3 resume
    fcf185f7e03e x86/pm: Save the MSR validity status at context setup
    ba7261af2b03 io_uring: fix race between timeout flush and removal
    fe223dd2f18b io_uring: implement compat handling for IORING_REGISTER_IOWQ_AFF
    ae6cba337cbf io_uring: defer splice/tee file validity check until command issue
    056e1e7c1713 io_uring: don't check req->file in io_fsync_prep()
    198932a14aeb mm/mempolicy: fix mpol_new leak in shared_policy_replace
    a04cb99c5d46 mmmremap.c: avoid pointless invalidate_range_start/end on mremap(old_size=0)
    c21d040de622 highmem: fix checks in __kmap_local_sched_{in,out}
    9fb8bc6cfc58 lz4: fix LZ4_decompress_safe_partial read out of bound
    75cae557bc44 mmc: core: Fixup support for writeback-cache for eMMC and SD
    5d2712b78056 mmc: renesas_sdhi: don't overwrite TAP settings when HS400 tuning is complete
    11497ecbda04 mmc: mmci: stm32: correctly check all elements of sg list
    1515d2a466bf mmc: block: Check for errors after write on SPI
    86b5d155fced Revert "mmc: sdhci-xenon: fix annoying 1.8V regulator warning"
    dc5e603c247d scsi: ufs: ufs-pci: Add support for Intel MTL
    25c1353dca74 scsi: mpt3sas: Fix use after free in _scsih_expander_node_remove()
    32dd8b63e633 arm64: Add part number for Arm Cortex-A78AE
    159c7db3ccbb perf session: Remap buf if there is no space for event
    58aece34fb7f perf tools: Fix perf's libperf_print callback
    e1f2750e7531 perf: arm-spe: Fix perf report --mem-mode
    47e239117bd9 iommu/omap: Fix regression in probe for NULL pointer dereference
    3fd9be3ec5c8 SUNRPC: svc_tcp_sendmsg() should handle errors from xdr_alloc_bvec()
    3b32dda29f99 SUNRPC: Handle low memory situations in call_status()
    03ac680dacf9 SUNRPC: Handle ENOMEM in call_transmit_status()
    285f5d724005 io_uring: don't touch scm_fp_list after queueing skb
    50c981bd7790 io_uring: nospec index for tags on files update
    685f42de443d scsi: ufs: ufshpb: Fix a NULL check on list iterator
    a972c7687233 drbd: Fix five use after free bugs in get_initial_state
    1816af613e56 bpf: Support dual-stack sockets in bpf_tcp_check_syncookie
    88a3bdcb462a spi: bcm-qspi: fix MSPI only access with bcm_qspi_exec_mem_op()
    c9bdce2359b5 qede: confirm skb is allocated before using
    fb45e80b2194 net: phy: mscc-miim: reject clause 45 register accesses
    8ba8e1398a66 net: sfc: fix using uninitialized xdp tx_queue
    571d8e1d154c rxrpc: fix a race in rxrpc_exit_net()
    837b96d81039 net: openvswitch: fix leak of nested actions
    42b2e418f9a2 net: ethernet: mv643xx: Fix over zealous checking of_get_mac_address()
    085d002432ac net: openvswitch: don't send internal clone attribute to the userspace.
    70cf0b820e55 ice: xsk: fix VSI state check in ice_xsk_wakeup()
    840cbbdc8bf1 ice: synchronize_rcu() when terminating rings
    070aa68f8fab ipv6: Fix stats accounting in ip6_pkt_drop
    1c0763475401 ice: Do not skip not enabled queues in ice_vc_dis_qs_msg
    5d3e9f71c310 ice: Set txq_teid to ICE_INVAL_TEID on ring creation
    599874bbc4ed dpaa2-ptp: Fix refcount leak in dpaa2_ptp_probe
    2cb2b3fb20a2 sctp: count singleton chunks in assoc user stats
    92f1947c0d26 IB/rdmavt: add lock to call to rvt_error_qp to prevent a race condition
    3b5fd693621b IB/cm: Cancel mad on the DREQ event when the state is MRA_REP_RCVD
    34b8ba1cb337 RDMA/mlx5: Add a missing update of cache->last_add
    5b88519b78e8 RDMA/mlx5: Don't remove cache MRs when a delay is needed
    d1c87d36a655 sfc: Do not free an empty page_ring
    917eeb220023 bnxt_en: Prevent XDP redirect from running when stopping TX queue
    154fc224e65e bnxt_en: reserve space inside receive page for skb_shared_info
    6108a8918fd7 bnxt_en: Synchronize tx when xdp redirects happen on same ring
    87f5d66daa5f arch/arm64: Fix topology initialization for core scheduling
    cb713eb793e6 regulator: atc260x: Fix missing active_discharge_on setting
    336942b1682f regulator: rtq2134: Fix missing active_discharge_on setting
    2560fe298e6e drm/imx: dw_hdmi-imx: Fix bailout in error cases of probe
    31e449302ed0 drm/imx: Fix memory leak in imx_pd_connector_get_modes
    c1e96348dbeb drm/imx: imx-ldb: Check for null pointer after calling kmemdup
    47fec6139b5e net: stmmac: Fix unset max_speed difference between DT and non-DT platforms
    907c97986d6f net: ipv4: fix route with nexthop object delete warning
    71d28e5073b8 mctp: Fix check for dev_hard_header() result
    40229b2977f1 ice: Clear default forwarding VSI during VSI release
    ba965e8605ae skbuff: fix coalescing for page_pool fragment recycling
    13bcc6f8efcd vrf: fix packet sniffing for traffic originating from ip tunnels
    6e2f1b033b17 net/tls: fix slab-out-of-bounds bug in decrypt_internal
    ed7a824fda87 net: sfc: add missing xdp queue reinitialization
    69ec350a417d vdpa: mlx5: prevent cvq work from hogging CPU
    893c70f8b8f3 vdpa/mlx5: Propagate link status from device to vdpa driver
    dc872b72d180 vdpa/mlx5: Rename control VQ workqueue to vdpa wq
    aefd755a9605 scsi: zorro7xx: Fix a resource leak in zorro7xx_remove_one()
    cd483e17eca2 scsi: core: Fix sbitmap depth in scsi_realloc_sdev_budget_map()
    0610371c768c scsi: sr: Fix typo in CDROM(CLOSETRAY|EJECT) handling
    6f52d4cda0bf NFSv4: fix open failure with O_ACCMODE flag
    9f0c217469e8 Revert "NFSv4: Handle the special Linux file open access mode"
    dcd6b1a624c0 Drivers: hv: vmbus: Fix potential crash on module unload
    5ba9d78a7294 drm/amdgpu: fix off by one in amdgpu_gfx_kiq_acquire()
    985d87e6a365 rtc: mc146818-lib: fix RTC presence check
    be6c3152d6f6 rtc: Check return value from mc146818_get_time()
    8c6921075222 rtc: mc146818-lib: change return values of mc146818_get_time()
    c9f50e06ca76 mm: fix race between MADV_FREE reclaim and blkdev direct IO read
    93a8347f72c0 parisc: Fix patch code locking and flushing
    f77f482ec31a parisc: Fix CPU affinity for Lasi, WAX and Dino chips
    30dd4af48a9e selftests: net: Add tls config dependency for tls selftests
    ea029e4ce760 NFS: Avoid writeback threads getting stuck in mempool_alloc()
    da747de68599 NFS: nfsiod should not block forever in mempool_alloc()
    e04ef859d6c6 SUNRPC: Fix socket waits for write buffer space
    d925b7e78b62 jfs: prevent NULL deref in diFree
    44c2d5fbe7b2 virtio_console: eliminate anonymous module_init & module_exit
    053bbff873a1 serial: samsung_tty: do not unlock port->lock for uart_write_wakeup()
    c393a9f4cb3b x86/Kconfig: Do not allow CONFIG_X86_X32_ABI=y with llvm-objcopy
    e3c961c56ad5 x86: Annotate call_on_stack()
    6bb2270223a8 NFS: swap-out must always use STABLE writes.
    24d28d9b0fd5 NFS: swap IO handling is slightly different for O_DIRECT IO
    a55386405094 SUNRPC: remove scheduling boost for "SWAPPER" tasks.
    20700aa01bc2 SUNRPC/xprt: async tasks mustn't block waiting for memory
    a19fd1d61797 SUNRPC/call_alloc: async tasks mustn't block waiting for memory
    b07387c476a3 clk: Enforce that disjoints limits are invalid
    15bfec9d8030 clk: ti: Preserve node in ti_dt_clocks_register()
    5c0750cad733 xen: delay xen_hvm_init_time_ops() if kdump is boot on vcpu>=32
    12e49aefda2e habanalabs: fix possible memory leak in MMU DR fini
    a34752aa2397 NFSv4: Protect the state recovery thread against direct reclaim
    b37f482ba9f0 NFSv4.2: fix reference count leaks in _nfs42_proc_copy_notify()
    24acdd5f9c91 w1: w1_therm: fixes w1_seq for ds28ea00 sensors
    86efcb524ae1 staging: wfx: fix an error handling in wfx_init_common()
    7295544bcf56 opp: Expose of-node's name in debugfs
    ea1f29584136 cpufreq: CPPC: Fix performance/frequency conversion
    26f0a9e3d04d clk: rockchip: drop CLK_SET_RATE_PARENT from dclk_vop* on rk3568
    caffa76ded5a phy: amlogic: meson8b-usb2: fix shared reset control use
    ab27675a0fcc phy: amlogic: meson8b-usb2: Use dev_err_probe()
    35df38c4be0c phy: amlogic: phy-meson-gxl-usb2: fix shared reset controller use
    42f2142a337e staging: vchiq_core: handle NULL result of find_service_by_handle
    176df12b38c7 staging: vchiq_arm: Avoid NULL ptr deref in vchiq_dump_platform_instances
    161863aec0e1 clk: si5341: fix reported clk_rate when output divider is 2
    31e027259ce4 minix: fix bug when opening a file with O_DIRECT
    4602b7a8ee0d init/main.c: return 1 from handled __setup() functions
    9d849449d28f lib/Kconfig.debug: add ARCH dependency for FUNCTION_ALIGN option
    2fe82d325402 ceph: fix memory leak in ceph_readdir when note_last_dentry returns error
    3ae7163598c6 ceph: fix inode reference leakage in ceph_get_snapdir()
    eb0e7173d9cb netlabel: fix out-of-bounds memory accesses
    58d52743ae85 netfilter: conntrack: revisit gc autotuning
    d404765dffdb Bluetooth: Fix use after free in hci_send_acl
    f249bbf3cb9a MIPS: ingenic: correct unit node address
    11ba1aa21280 xtensa: fix DTC warning unit_address_format
    13946d5a68ef mt76: fix monitor mode crash with sdio driver
    ac27808b82db usb: dwc3: omap: fix "unbalanced disables for smps10_out1" on omap5evm
    0616792164d3 net: sfp: add 2500base-X quirk for Lantech SFP module
    459e56859f7a net/mlx5e: Remove overzealous validations in netlink EEPROM query
    1c4561d9b5cb net: limit altnames to 64k total
    601f748029f3 net: account alternate interface name memory
    d804db3dafd1 riscv: Fixed misaligned memory access. Fixed pointer comparison.
    6ca71078a91e can: etas_es58x: es58x_fd_rx_event_msg(): initialize rx_event_msg before calling es58x_check_msg_len()
    db9a140a8585 can: isotp: set default value for N_As to 50 micro seconds
    f581df412bc4 scsi: libfc: Fix use after free in fc_exch_abts_resp()
    2a71e3ecd829 powerpc/secvar: fix refcount leak in format_show()
    5c80ff21c5db powerpc/64e: Tie PPC_BOOK3E_64 to PPC_FSL_BOOK3E
    9b85e31309c2 MIPS: fix fortify panic when copying asm exception handlers
    dc9d33b2d8d0 PCI: endpoint: Fix misused goto label
    b6d4b322da46 bnxt_en: Eliminate unintended link toggle during FW reset
    42b6a39f439b Bluetooth: use memset avoid memory leaks
    0000de40b9f3 Bluetooth: Fix not checking for valid hdev on bt_dev_{info,warn,err,dbg}
    bb78c3b11f4d tuntap: add sanity checks about msg_controllen in sendmsg
    e8d8f1d091e4 macvtap: advertise link netns via netlink
    5fb47ca34908 mips: ralink: fix a refcount leak in ill_acc_of_setup()
    58758110912d net/smc: correct settings of RMB window update limit
    dd111d335cab scsi: hisi_sas: Limit users changing debugfs BIST count value
    f05a0d8de2ea scsi: hisi_sas: Free irq vectors in order for v3 HW
    b8fa10d7c8fc scsi: aha152x: Fix aha152x_setup() __setup handler return value
    556ec5030e57 mt76: mt7615: Fix assigning negative values to unsigned variable
    c3543bac6efa powerpc/64s/hash: Make hash faults work in NMI context
    df467929a040 mt76: mt7915: fix injected MPDU transmission to not use HW A-MSDU
    e5ecdb01952f scsi: pm8001: Fix memory leak in pm8001_chip_fw_flash_update_req()
    43c617eefab7 scsi: pm8001: Fix tag leaks on error
    2290dcad6f65 scsi: pm8001: Fix task leak in pm8001_send_abort_all()
    ece79aaec8fc scsi: pm8001: Fix pm8001_mpi_task_abort_resp()
    5e4ac14baebb scsi: pm8001: Fix pm80xx_pci_mem_copy() interface
    5e96bb81eddf vfio/pci: Stub vfio_pci_vga_rw when !CONFIG_VFIO_PCI_VGA
    f325d3e1dcc8 drm/amdkfd: make CRAT table missing message informational only
    da52e8b9dad6 dm: requeue IO if mapping table not yet available
    02cc46f397eb dm ioctl: prevent potential spectre v1 gadget
    049072749a5e ipv4: Invalidate neighbour for broadcast address upon address addition
    e45d1d19a0bb drm/msm/dsi: Remove spurious IRQF_ONESHOT flag
    e1b5aae5b6b0 iwlwifi: mvm: move only to an enabled channel
    6f215801c302 iwlwifi: mvm: Correctly set fragmented EBS
    d353d3b27af4 usb: dwc3: pci: Set the swnode from inside dwc3_pci_quirks()
    c64f3707cdf9 net/mlx5e: Disable TX queues before registering the netdev
    83efc05c8579 power: supply: axp288-charger: Set Vhold to 4.4V
    6def4eaf0391 powerpc/set_memory: Avoid spinlock recursion in change_page_attr()
    5d76a88b8536 scsi: mpi3mr: Fix memory leaks
    248ead78f346 scsi: mpi3mr: Fix reporting of actual data transfer size
    53643a112dd6 PCI: pciehp: Add Qualcomm quirk for Command Completed erratum
    aa9c9fd0ef9d tcp: Don't acquire inet_listen_hashbucket::lock with disabled BH.
    bd21b9607bd7 PCI: endpoint: Fix alignment fault error in copy tests
    2aa10e2fa2ab usb: ehci: add pci device support for Aspeed platforms
    99073052f45b iommu/arm-smmu-v3: fix event handling soft lockup
    60eabd66d17f PCI: aardvark: Fix support for MSI interrupts
    330c4e1b4ec4 scsi: smartpqi: Fix kdump issue when controller is locked up
    0a922366d6d9 drm/amdgpu: Fix recursive locking warning
    06ee48a4fc25 powerpc: Set crashkernel offset to mid of RMA region
    9c1ace066f22 net: initialize init_net earlier
    4790998fdd0d ipv6: make mc_forwarding atomic
    e9da1df2c021 libbpf: Fix build issue with llvm-readelf
    19d067c10b71 cfg80211: don't add non transmitted BSS to 6GHz scanned channels
    55c93a89e31d mt76: dma: initialize skip_unmap in mt76_dma_rx_fill
    38fbe8066450 mt76: mt7921: fix crash when startup fails.
    793a37045893 power: supply: axp20x_battery: properly report current when discharging
    a0f8220ce934 drm/v3d: fix missing unlock
    0f8ec114029a scsi: bfa: Replace snprintf() with sysfs_emit()
    1378075fa5bc scsi: mvsas: Replace snprintf() with sysfs_emit()
    1c6ffdf4cc45 bpf: Make dst_port field in struct bpf_sock 16-bit wide
    ff13c90d7f7a drm/bridge: Add missing pm_runtime_put_sync
    35380262304f net/smc: Send directly when TCP_CORK is cleared
    20d01a11efde ath11k: mhi: use mhi_sync_power_up()
    fed4cef115ab ath11k: pci: fix crash on suspend if board file is not found
    c4b7653af62a ath11k: fix kernel panic during unload/load ath11k modules
    910ee99d47d3 powerpc: dts: t104xrdb: fix phy type for FMAN 4/5
    e84b0438010d drm/amdkfd: Don't take process mutex for svm ioctls
    1eb598045326 ptp: replace snprintf with sysfs_emit
    052fb1c9ddfb usb: cdnsp: fix cdnsp_decode_trb function to properly handle ret value
    c27576bbbe77 usb: gadget: tegra-xudc: Fix control endpoint's definitions
    111a63235001 usb: gadget: tegra-xudc: Do not program SPARAM
    6040c99cb1a1 drm/amd/display: Use PSR version selected during set_psr_caps
    7e10369c72db drm/amd/display: Fix memory leak
    3edd8646cb7c drm/amd/amdgpu/amdgpu_cs: fix refcount leak of a dma_fence obj
    c4b64a80554e drm/amd/display: Add signal type check when verify stream backends same
    be2f81024e79 ath5k: fix OOB in ath5k_eeprom_read_pcal_info_5111
    b3ca02c1ee93 drm: Add orientation quirk for GPD Win Max
    d5f6f44e04c3 KVM: x86/emulator: Emulate RDPID only if it is enabled in guest
    a997e0f5aa55 KVM: x86/pmu: Fix and isolate TSX-specific performance event logic
    e7bab9898249 KVM: x86/svm: Clear reserved bits written to PerfEvtSeln MSRs
    5483640f8efb KVM: SVM: Fix kvm_cache_regs.h inclusions for is_guest_mode()
    a82fe0ba1c52 KVM: x86/pmu: Use different raw event masks for AMD and Intel
    105b50d9bb82 kfence: limit currently covered allocations when pool nearly full
    44b44b64b4da kfence: move saving stack trace of allocations into __kfence_alloc()
    72d2d94a981d kfence: count unexpectedly skipped allocations
    5142720dbe51 nbd: fix possible overflow on 'first_minor' in nbd_dev_add()
    64742cf82dec nbd: Fix hungtask when nbd_config_put
    694b5a32c162 nbd: Fix incorrect error handle when first_minor is illegal in nbd_dev_add
    3e526e9ae0e4 nbd: add error handling support for add_disk()
    f8008f42d463 rtc: wm8350: Handle error for wm8350_register_irq
    b257272f5483 um: fix and optimize xor select template for CONFIG64 and timetravel mode
    2be1a7f09635 lib/logic_iomem: correct fallback config references
    06f50ca83ace Linux 5.15.33
    541b7456fc4d PCI: xgene: Revert "PCI: xgene: Use inbound resources for setup"
    39fd0cc079c9 coredump: Use the vma snapshot in fill_files_note
    cabd69640957 coredump/elf: Pass coredump_params into fill_note_info
    7ba958df6449 coredump: Remove the WARN_ON in dump_vma_snapshot
    f6ca862806df coredump: Snapshot the vmas in do_coredump
    57c04fac8023 iommu/dma: Account for min_align_mask w/swiotlb
    3e44e136560c swiotlb: Support aligned swiotlb buffers
    52d23f5f0915 iommu/dma: Check CONFIG_SWIOTLB more broadly
    bc05d84824c0 iommu/dma: Fold _swiotlb helpers into callers
    c3841d020b82 iommu/dma: Skip extra sync during unmap w/swiotlb
    8771d9673e0b KVM: x86/mmu: do compare-and-exchange of gPTE via the user address
    b0e8e828acb5 mmc: rtsx: Fix build errors/warnings for unused variable
    8af04b6aa02b mmc: rtsx: Let MMC core handle runtime PM
    a9bbdeef768f n64cart: convert bi_disk to bi_bdev->bd_disk fix build
    2a710a5c59e9 torture: Make torture.sh help message match reality
    acabfc943245 openvswitch: Fixed nd target mask field in the flow dump.
    3fc38521fc30 docs: sysctl/kernel: add missing bit to panic_print
    166abd13eab0 um: Fix uml_mconsole stop/go
    94a53804ec3a arm64: dts: ls1046a: Update i2c node dma properties
    32820c358d1b arm64: dts: ls1043a: Update i2c dma properties
    28a020859c00 ARM: dts: spear13xx: Update SPI dma properties
    7aa9bba18f80 ARM: dts: spear1340: Update serial node properties
    dd8772224c19 spi: mediatek: support tick_delay without enhance_timing
    2a6e0695ddd5 media: ov6650: Fix crop rectangle affected by set format
    3995d4cf529c media: ov6650: Add try support to selection API operations
    8f5e6110e108 perf vendor events: Update metrics for SkyLake Server
    b0e5c18317f7 ASoC: topology: Allow TLV control to be either read or write
    678b6901d00b ASoC: SOF: Intel: Fix build error without SND_SOC_SOF_PCI_DEV
    ba8260872dd5 ubi: fastmap: Return error code if memory allocation fails in add_aeb()
    666176d0f9bb dt-bindings: pinctrl: pinctrl-microchip-sgpio: Fix example
    e918b36600d6 dt-bindings: memory: mtk-smi: No need mediatek,larb-id for mt8167
    b2b85196a31a dt-bindings: spi: mxic: The interrupt property is not mandatory
    c19a9d307844 dt-bindings: mtd: nand-controller: Fix a comment in the examples
    716a77f8460d dt-bindings: mtd: nand-controller: Fix the reg property description
    8ec990990be3 mmc: rtsx: Use pm_runtime_{get,put}() to handle runtime PM
    50c906a6977f bpf: Fix comment for helper bpf_current_task_under_cgroup()
    398ac11f4425 bpf: Adjust BPF stack helper functions to accommodate skip > 0
    21b6b8d43d87 af_unix: Support POLLPRI for OOB.
    260daa256d30 mm/usercopy: return 1 from hardened_usercopy __setup() handler
    c9acbcd636ab mm/memcontrol: return 1 from cgroup.memory __setup() handler
    48ddbd8b4e42 ARM: 9187/1: JIVE: fix return value of __setup handler
    6795b20d4b2c mm/mmap: return 1 from stack_guard_gap __setup() handler
    23629b673b78 net: preserve skb_end_offset() in skb_unclone_keeptruesize()
    51e458fc0ca6 net: add skb_set_end_offset() helper
    14d552ab31ed tracing: Have type enum modifications copy the strings
    7007c894631c Reinstate some of "swiotlb: rework "fix info leak with DMA_FROM_DEVICE""
    63351e2e1362 ASoC: soc-compress: Change the check for codec_dai
    7ed3cce2fe68 arm64: mm: Drop 'const' from conditional arm64_dma_phys_limit definition
    5ab0f5e238b9 staging: mt7621-dts: fix pinctrl-0 items to be size-1 items on ethernet
    0e39097efcb5 scsi: qla2xxx: Add qla2x00_async_done() for async routines
    b9cf1208af36 drm/connector: Fix typo in documentation
    5b422da35c15 proc: bootconfig: Add null pointer check
    f78f56488cd3 can: isotp: restore accidentally removed MSG_PEEK feature
    3fc81968625a platform/chrome: cros_ec_typec: Check for EC device
    8c1c3c00dceb spi: Fix Tegra QSPI example
    7480cc0240eb vhost: handle error while adding split ranges to iotlb
    97b5593fd1b1 ACPI: CPPC: Avoid out of bounds access when parsing _CPC data
    dae252901378 riscv module: remove (NOLOAD)
    0853bd6885c2 io_uring: fix memory leak of uid in files registration
    5b9ac3727e4a block: Fix the maximum minor value is blk_alloc_ext_minor()
    21cfddd5e0f6 ARM: iop32x: offset IRQ numbers by 1
    1a3f1cf87054 ubi: Fix race condition between ctrl_cdev_ioctl and ubi_cdev_ioctl
    619709f0c608 ASoC: mediatek: mt6358: add missing EXPORT_SYMBOLs
    d509d41d89c5 pinctrl: nuvoton: npcm7xx: Use %zu printk format for ARRAY_SIZE()
    3e51c3023228 pinctrl: nuvoton: npcm7xx: Rename DS() macro to DSTR()
    b603cbe08b0b net: sparx5: uses, depends on BRIDGE or !BRIDGE
    84817c83c0e7 watchdog: rti-wdt: Add missing pm_runtime_disable() in probe function
    d02ca80ec735 pinctrl: pinconf-generic: Print arguments for bias-pull-*
    4913daecd04a watch_queue: Free the page array when watch_queue is dismantled
    210891d81b9c crypto: arm/aes-neonbs-cbc - Select generic cbc and aes
    c78d23ea7506 mailbox: imx: fix wakeup failure from freeze mode
    8cbf4ae7a283 rxrpc: Fix call timer start racing with call destruction
    432297011caf rxrpc: fix some null-ptr-deref bugs in server_key.c
    88570bda6e48 net: hns3: fix software vlan talbe of vlan 0 inconsistent with hardware
    a0817ad3f283 net: hns3: fix the concurrency between functions reading debugfs
    5c3c9bce1c99 gfs2: Make sure FITRIM minlen is rounded up to fs block size
    1d8195349742 gfs2: gfs2_setattr_size error path fix
    50ed32e67c5c rtc: check if __rtc_read_time was successful
    9f20ce95db3d modpost: restore the warning message for missing symbol versions
    7aae60df6782 XArray: Update the LRU list in xas_split()
    be8ebbabac94 can: mcp251xfd: mcp251xfd_register_get_dev_id(): fix return of error value
    fa9c1f14002d can: mcba_usb: properly check endpoint type
    37f07ad24866 can: mcba_usb: mcba_usb_start_xmit(): fix double dev_kfree_skb in error path
    7521a97b1929 XArray: Fix xas_create_range() when multi-order entry present
    9af42a4f6d81 wireguard: socket: ignore v6 endpoints when ipv6 is disabled
    402991a97715 wireguard: socket: free skb in send6 when ipv6 is disabled
    6a7245252fdc wireguard: queueing: use CFI-safe ptr_ring cleanup function
    c98f792a1468 nvme: fix the read-only state for zoned namespaces with unsupposed features
    7d18d6c71372 nvme: allow duplicate NSIDs for private namespaces
    578bf41d9443 ubifs: rename_whiteout: correct old_dir size computing
    4f75bab98565 ubifs: Fix to add refcount once page is set private
    a7054aaf1909 ubifs: Fix read out-of-bounds in ubifs_wbuf_write_nolock()
    56cf8b26b18e ubifs: setflags: Make dirtied_ino_d 8 bytes aligned
    489c3a2577b3 ubifs: Rectify space amount budget for mkdir/tmpfile operations
    a9662bec5a4d ubifs: Fix 'ui->dirty' race between do_tmpfile() and writeback work
    c67bc98d1f08 ubifs: Rename whiteout atomically
    ff846f2c5d1d ubifs: Add missing iput if do_tmpfile() failed in rename whiteout
    c58af8564a7b ubifs: Fix deadlock in concurrent rename whiteout and inode writeback
    2ad07009c459 ubifs: rename_whiteout: Fix double free for whiteout_ui->data
    3fa2d7479605 KVM: SVM: fix panic on out-of-bounds guest IRQ
    63961ac1359e KVM: x86: fix sending PV IPI
    43637ee17092 KVM: Prevent module exit until all VMs are freed
    ba6e8c2df520 KVM: x86: Forbid VMM to set SYNIC/STIMER MSRs when SynIC wasn't activated
    0e5dbc0540ba KVM: x86: Avoid theoretical NULL pointer dereference in kvm_irq_delivery_to_apic_fast()
    569a229142e9 KVM: x86: Check lapic_in_kernel() before attempting to set a SynIC irq
    81e5b16de862 platform: chrome: Split trace include file
    89dad346c241 scsi: qla2xxx: Use correct feature type field during RFF_ID processing
    f63fde0d16a4 scsi: qla2xxx: Reduce false trigger to login
    20909563bd50 scsi: qla2xxx: Fix stuck session of PRLI reject
    2b612191f9d3 scsi: qla2xxx: Fix N2N inconsistent PLOGI
    c9d6081a5f18 scsi: qla2xxx: Fix missed DMA unmap for NVMe ls requests
    d6f691a133f0 scsi: qla2xxx: Fix hang due to session stuck
    7ccd6063874d scsi: qla2xxx: Fix incorrect reporting of task management failure
    c0300beb313f scsi: qla2xxx: Fix disk failure to rediscover
    9c33d49ab9f3 scsi: qla2xxx: Suppress a kernel complaint in qla_create_qpair()
    d1b7d23cd462 scsi: qla2xxx: Check for firmware dump already collected
    812afc2b8ec0 scsi: qla2xxx: Add devids and conditionals for 28xx
    d70d86f7a6ea scsi: qla2xxx: Fix T10 PI tag escape and IP guard options for 28XX adapters
    2df59f3bb240 scsi: qla2xxx: edif: Fix clang warning
    fbc1aa41269a scsi: qla2xxx: Fix device reconnect in loop topology
    b6c95db6d2e8 scsi: qla2xxx: Fix warning for missing error code
    67b1be130861 scsi: qla2xxx: Fix wrong FDMI data for 64G adapter
    5ef6319f9882 scsi: qla2xxx: Fix premature hw access after PCI error
    826a9d4a00d1 scsi: qla2xxx: Fix scheduling while atomic
    7a3457777c4f scsi: qla2xxx: Fix warning message due to adisc being flushed
    5fb0a488028e scsi: qla2xxx: Fix stuck session in gpdb
    e17111dd2fda scsi: qla2xxx: Implement ref count for SRB
    24e86eae3f7b scsi: qla2xxx: Refactor asynchronous command initialization
    f5a0cf225f8d drm/i915: Reject unsupported TMDS rates on ICL+
    beeebae6ea82 drm/i915: Fix PSF GV point mask when SAGV is not possible
    102cba6d5ae2 drm/i915: Treat SAGV block time 0 as SAGV disabled
    e912d697400c drm/dp: Fix off-by-one in register cache size
    2d67222b2380 powerpc: Fix build errors with newer binutils
    f4b0b5a0f3c1 powerpc: Add set_memory_{p/np}() and remove set_memory_attr()
    a29341e48601 powerpc/lib/sstep: Fix build errors with newer binutils
    d25efd904271 powerpc/lib/sstep: Fix 'sthcx' instruction
    5a3d8f3192a4 powerpc/kasan: Fix early region not updated correctly
    cb188e07105f KVM: x86: hyper-v: HVCALL_SEND_IPI_EX is an XMM fast hypercall
    5c3d0dbe200f KVM: x86: hyper-v: Fix the maximum number of sparse banks for XMM fast TLB flush hypercalls
    72eae60bfe83 KVM: x86: hyper-v: Drop redundant 'ex' parameter from kvm_hv_flush_tlb()
    dbec906dbef6 KVM: x86: hyper-v: Drop redundant 'ex' parameter from kvm_hv_send_ipi()
    f4fd34eaa767 KVM: x86/mmu: Check for present SPTE when clearing dirty bit in TDP MMU
    af47248407c0 KVM: x86/mmu: Zap _all_ roots when unmapping gfn range in TDP MMU
    31a70b170e06 KVM: x86/mmu: Move "invalid" check out of kvm_tdp_mmu_get_root()
    48306afcac2a KVM: x86: Reinitialize context if host userspace toggles EFER.LME
    273ad0cf5684 ALSA: hda/realtek: Add alc256-samsung-headphone fixup
    fe440221ca0f media: atomisp: fix bad usage at error handling logic
    251a11699fe5 mmc: host: Return an error when ->enable_sdio_irq() ops is missing
    7c6bd60999f3 tracing: Have TRACE_DEFINE_ENUM affect trace event types as well
    ae2b93b0a6a7 ASoC: Intel: sof_sdw: fix quirks for 2022 HP Spectre x360 13"
    f90db7cca4d4 media: hdpvr: initialize dev->worker at hdpvr_register_videodev
    deb1f0453198 media: Revert "media: em28xx: add missing em28xx_close_extension"
    96a7522c72c4 media: i2c: ov5648: Fix lockdep error
    eae90015d10f video: fbdev: sm712fb: Fix crash in smtcfb_write()
    a07c7b64eadf ASoC: amd: vg: fix for pm resume callback sequence
    4ab0293c961b ARM: mmp: Fix failure to remove sram device
    f8ef3b979bfa ARM: tegra: tamonten: Fix I2C3 pad setting
    6a1c70de40b5 lib/test_lockup: fix kernel pointer check for separate address spaces
    8b2a6074b981 uaccess: fix type mismatch warnings from access_ok()
    cb5bd93ad218 media: cx88-mpeg: clear interrupt status register before streaming video
    02f9f97d54ff media: imx-jpeg: fix a bug of accessing array out of bounds
    0b620fce5eae ASoC: soc-core: skip zero num_dai component in searching dai name
    80e6bbe4e193 ARM: dts: bcm2711: Add the missing L1/L2 cache information
    2d5c47df8e21 video: fbdev: udlfb: replace snprintf in show functions with sysfs_emit
    e7f5b1c56921 video: fbdev: omapfb: panel-tpo-td043mtea1: Use sysfs_emit() instead of snprintf()
    509bc99aba95 video: fbdev: omapfb: panel-dsi-cm: Use sysfs_emit() instead of snprintf()
    79045b61875d arm64: defconfig: build imx-sdma as a module
    c7129c401f55 ARM: dts: imx7: Use audio_mclk_post_div instead audio_mclk_root_clk
    330de92eb10f ARM: ftrace: avoid redundant loads or clobbering IP
    3f887cb763a0 media: atomisp: fix dummy_ptr check to avoid duplicate active_bo
    8b6b38083a29 media: atomisp_gmin_platform: Add DMI quirk to not turn AXP ELDO2 regulator off on some boards
    1c17870f26d9 ASoC: madera: Add dependencies on MFD
    35a2aeb70fe6 ARM: dts: bcm2837: Add the missing L1/L2 cache information
    93b85b6e8358 ARM: dts: qcom: fix gic_irq_domain_translate warnings for msm8960
    521796018815 video: fbdev: omapfb: acx565akm: replace snprintf with sysfs_emit
    6fe23ff94e78 video: fbdev: cirrusfb: check pixclock to avoid divide by zero
    9522e11e8636 video: fbdev: w100fb: Reset global state
    9ff2f7294ab0 video: fbdev: nvidiafb: Use strscpy() to prevent buffer overflow
    77fbe028d5a3 media: iommu/mediatek: Add device_link between the consumer and the larb devices
    4dd3e2d1bd70 media: iommu/mediatek: Return ENODEV if the device is NULL
    1515d1414967 media: iommu/mediatek-v1: Free the existed fwspec if the master dev already has
    eff76b180751 media: imx-jpeg: Prevent decoding NV12M jpegs into single-planar buffers
    47b45e08e5ad ASoC: SOF: Intel: match sdw version on link_slaves_found
    205db54b159f ASoC: sh: rz-ssi: Make the data structures available before registering the handlers
    2011363c1968 media: ir_toy: free before error exiting
    0b2313042634 media: atmel: atmel-isc-base: report frame sizes as full supported range
    3681eb1fd45c media: staging: media: zoran: fix various V4L2 compliance errors
    7e76f3ed7ab2 media: staging: media: zoran: calculate the right buffer number for zoran_reap_stat_com
    ff3357bffd9f media: staging: media: zoran: move videodev alloc
    24ab2d4ef52c ntfs: add sanity check on allocation size
    9dd6bb11df64 Adjust cifssb maximum read size
    1a55c48bba81 f2fs: compress: fix to print raw data size in error path of lz4 decompression
    2eff60346e7a f2fs: use spin_lock to avoid hang
    c78bada18aa1 btrfs: make search_csum_tree return 0 if we get -EFBIG
    40d006dfedd6 btrfs: harden identification of a stale device
    58d3aa672d13 f2fs: don't get FREEZE lock in f2fs_evict_inode in frozen fs
    7260793c13e9 NFSD: Fix nfsd_breaker_owns_lease() return values
    f68caedf264a f2fs: fix to do sanity check on curseg->alloc_type
    a0856764dc12 ext4: don't BUG if someone dirty pages without asking ext4 first
    7cca463f1030 sched/tracing: Report TASK_RTLOCK_WAIT tasks as TASK_UNINTERRUPTIBLE
    6a6beb074186 ext4: fix ext4_mb_mark_bb() with flex_bg with fast_commit
    572d14e6cec4 ext4: correct cluster len and clusters changed accounting in ext4_mb_mark_bb
    1388c10b3257 locking/lockdep: Iterate lock_classes directly when reading lockdep files
    95bc0ba6bef8 atomics: Fix atomic64_{read_acquire,set_release} fallbacks
    75fe5dcb1653 spi: tegra20: Use of_device_get_match_data()
    ffe0c4916795 nvme-tcp: lockdep: annotate in-kernel sockets
    b3ea76bda7f7 parisc: Fix handling off probe non-access faults
    c29642ba72f8 PM: core: keep irq flags in device_pm_check_callbacks()
    c02f2d420a44 ACPI/APEI: Limit printable size of BERT table data
    65d8a737452e Revert "Revert "block, bfq: honor already-setup queue merges""
    5b8d69c8c107 lib/raid6/test/Makefile: Use $(pound) instead of \# for Make 4.3
    33ccf4f81785 ACPICA: Avoid walking the ACPI Namespace if it is not there
    080665e2c3cb bfq: fix use-after-free in bfq_dispatch_request
    e0943c456b60 fs/binfmt_elf: Fix AT_PHDR for unusual ELF files
    757322b5aba9 irqchip/nvic: Release nvic_base upon failure
    dabfc878ef6f irqchip/qcom-pdc: Fix broken locking
    05ba7d0c639f Fix incorrect type in assignment of ipv6 port for audit
    860d36424d1b loop: use sysfs_emit() in the sysfs xxx show()
    55d192691b4b selinux: allow FIOCLEX and FIONCLEX with policy capability
    e48c260b0b2a arm64: module: remove (NOLOAD) from linker script
    15bb7a467b2b selinux: use correct type for context length
    8f34dea99cd7 block, bfq: don't move oom_bfqq
    69d41c77aadf crypto: hisilicon/sec - not need to enable sm4 extra mode at HW V3
    f84b1633004d crypto: xts - Add softdep on ecb
    e11293de5cf6 block/bfq_wf2q: correct weight to ioprio
    e34806c6c29d rcu: Mark writes to the rcu_segcblist structure's ->flags field
    99780fcb5494 pinctrl: npcm: Fix broken references to chip->parent_device
    999ee266531b gcc-plugins/stackleak: Exactly match strings instead of prefixes
    ca97dfbda510 crypto: hisilicon/qm - cleanup warning in qm_vf_read_qos
    4941c21090c3 regulator: rpi-panel: Handle I2C errors/timing to the Atmel
    f3f93a1aaafc LSM: general protection fault in legacy_parse_param
    c331c9d1d2b7 fs: fix fd table size alignment properly
    611170142b42 lib/test: use after free in register_test_dev_kmod()
    136736abcd35 fs: fd tables have to be multiples of BITS_PER_LONG
    fd3f70b90772 net: dsa: bcm_sf2_cfp: fix an incorrect NULL check on list iterator
    a738ff8143d8 NFSv4/pNFS: Fix another issue with a list iterator pointing to the head
    bcbf4e5c3b5b net/sched: act_ct: fix ref leak when switching zones
    72dd9e61fa31 net: prefer nf_ct_put instead of nf_conntrack_put
    6b663fa23c7e octeontx2-af: initialize action variable
    b375ea083fa6 net: sparx5: switchdev: fix possible NULL pointer dereference
    409570a619c1 net/x25: Fix null-ptr-deref caused by x25_disconnect
    c416e9bb85a6 qlcnic: dcb: default to returning -EOPNOTSUPP
    e87c47df2193 net: sparx5: depends on PTP_1588_CLOCK_OPTIONAL
    34a5c64951c3 net: hns3: clean residual vf config after disable sriov
    c95578235888 NFS: Don't loop forever in nfs_do_recoalesce()
    667760fe01e9 selftests: test_vxlan_under_vrf: Fix broken test case
    2d05a007096e net: phy: broadcom: Fix brcm_fet_config_init()
    2dc73ba93202 net: hns3: refine the process when PF set VF VLAN
    ee7e9a9d73d9 net: hns3: format the output of the MAC address
    30f0ff7176ef net: hns3: add vlan list lock to protect vlan list
    02948e5782ce net: hns3: fix port base vlan add fail when concurrent with reset
    5e528c0e0618 net: hns3: fix bug when PF set the duplicate MAC address for VFs
    be6937a11b1c net: enetc: report software timestamping via SO_TIMESTAMPING
    af884b276b08 xen: fix is_xen_pmu()
    6c17fd7a6f5d clk: Initialize orphan req_rate
    8b320893461c vsock/virtio: enable VQs early on probe
    b64bf5464ad5 vsock/virtio: read the negotiated features before using VQs
    10c6cb867ffa vsock/virtio: initialize vdev->priv before using VQs
    c07a9d2a1d1d clk: qcom: gcc-msm8994: Fix gpll4 width
    e16b5f077980 perf stat: Fix forked applications enablement of counters
    c532caa7df8c kdb: Fix the putarea helper function
    0445609a7ace NFSv4.1: don't retry BIND_CONN_TO_SESSION on session error
    4ee7a4b67770 SUNRPC don't resend a task on an offlined transport
    6195af5ad801 netfilter: nf_conntrack_tcp: preserve liberal flag in tcp options
    6bbfe9a715ea jfs: fix divide error in dbNextAG
    104852921ff6 driver core: dd: fix return value of __setup handler
    20fab30930f3 firmware: google: Properly state IOMEM dependency
    af6e1b06d0ba kgdbts: fix return value of __setup handler
    1d5103d9bb7d virt: acrn: fix a memory leak in acrn_dev_ioctl()
    b9c43aa0b18d virt: acrn: obtain pa from VMA with PFNMAP flag
    16e323804732 serial: 8250: fix XOFF/XON sending when DMA is used
    a885e17cf5f2 kgdboc: fix return value of __setup handler
    e1338178f35e tty: hvc: fix return value of __setup handler
    e35a555b5a9d pinctrl/rockchip: Add missing of_node_put() in rockchip_pinctrl_probe
    c52703355766 pinctrl: nomadik: Add missing of_node_put() in nmk_pinctrl_probe
    84940deb8dd3 pinctrl: microchip-sgpio: lock RMW access
    c6f009fe90f1 pinctrl: microchip sgpio: use reset driver
    a843ba2e9c87 pinctrl: mediatek: paris: Skip custom extra pin config dump for virtual GPIOs
    070d46aee151 pinctrl: mediatek: paris: Fix pingroup pin config state readback
    1190c1a5828a pinctrl: mediatek: paris: Fix "argument" argument type for mtk_pinconf_get()
    a8d236a32934 pinctrl: mediatek: paris: Fix PIN_CONFIG_BIAS_* readback
    3ddbb9ba7579 pinctrl: mediatek: Fix missing of_node_put() in mtk_pctrl_init
    127a5d3e732d staging: mt7621-dts: fix GB-PC2 devicetree
    b24dfa54d6e8 staging: mt7621-dts: fix pinctrl properties for ethernet
    97d01fabee69 staging: mt7621-dts: fix formatting
    1293b7481d73 staging: mt7621-dts: fix LEDs and pinctrl on GB-PC1 devicetree
    75ee75cc360a NFS: remove unneeded check in decode_devicenotify_args()
    8bddc0227e78 mailbox: imx: fix crash in resume on i.mx8ulp
    613e1b253f6d clk: tegra: tegra124-emc: Fix missing put_device() call in emc_ensure_emc_driver
    4be3e4c05d8d clk: Fix clk_hw_get_clk() when dev is NULL
    071c958f8e1b clk: clps711x: Terminate clk_div_table with sentinel element
    0415dce6228c clk: hisilicon: Terminate clk_div_table with sentinel element
    f4aee7714a1c clk: loongson1: Terminate clk_div_table with sentinel element
    7608a654a294 clk: actions: Terminate clk_div_table with sentinel element
    be8ab90a3a77 nvdimm/region: Fix default alignment for small regions
    bd4771ba2cf9 remoteproc: qcom_q6v5_mss: Fix some leaks in q6v5_alloc_memory_region
    9c28309d6a5e remoteproc: qcom_wcnss: Add missing of_node_put() in wcnss_alloc_memory_region
    9a809b902e1d remoteproc: qcom: Fix missing of_node_put in adsp_alloc_memory_region
    95deff8996fb dmaengine: hisi_dma: fix MSI allocate fail when reload hisi_dma
    2a9b575627fc clk: qcom: clk-rcg2: Update the frac table for pixel clock
    34dca60982e9 clk: qcom: clk-rcg2: Update logic to calculate D value for RCG
    7a778371f9f2 clk: at91: sama7g5: fix parents of PDMCs' GCLK
    4b8a71f206c9 clk: imx: off by one in imx_lpcg_parse_clks_from_dt()
    4bd979ee9927 clk: imx7d: Remove audio_mclk_root_clk
    c39a750b61f7 dma-debug: fix return value of __setup handlers
    872a7b12af43 staging: r8188eu: fix endless loop in recv_func
    18dc19571210 NFS: Return valid errors from nfs2/3_decode_dirent()
    8a842f88d0e2 habanalabs: Add check for pci_enable_device
    82546d91d588 iio: adc: Add check for devm_request_threaded_irq
    3e843460fb42 serial: 8250: Fix race condition in RTS-after-send handling
    ba3a3390c9b1 NFS: Use of mapping_set_error() results in spurious errors
    b59173ff16fb serial: 8250_lpss: Balance reference count for PCI DMA device
    3a1131f7d2a8 serial: 8250_mid: Balance reference count for PCI DMA device
    675216a820ec phy: phy-brcm-usb: fixup BCM4908 support
    d9a3c2949d04 phy: dphy: Correct lpx parameter and its derivatives(ta_{get,go,sure})
    ca3d7cf53d8f clk: qcom: ipq8074: Use floor ops for SDCC1 clock
    8c54f6c900d1 pinctrl: renesas: checker: Fix miscalculation of number of states
    d19fb1d659ba pinctrl: renesas: r8a77470: Reduce size for narrow VIN1 channel
    157a22ca80c5 staging:iio:adc:ad7280a: Fix handing of device address bit reversing.
    d6c4fc0d903f serial: 8250_aspeed_vuart: add PORT_ASPEED_VUART port type
    011e841cd11b iio: mma8452: Fix probe failing when an i2c_device_id is used
    cad1a3b1f481 dmaengine: idxd: restore traffic class defaults after wq reset
    7bebc9519691 dmaengine: idxd: change bandwidth token to read buffers
    e509584b079a dmaengine: idxd: check GENCAP config support for gencfg register
    41e360fa73a4 clk: qcom: ipq8074: fix PCI-E clock oops
    9a5f4da1ea27 soundwire: intel: fix wrong register name in intel_shim_wake
    251aabcb0b09 cpufreq: qcom-cpufreq-nvmem: fix reading of PVS Valid fuse
    2d7a9c09be64 misc: alcor_pci: Fix an error handling path
    72c4f4200f98 fsi: Aspeed: Fix a potential double free
    8adfd166fb32 pps: clients: gpio: Propagate return value from pps_gpio_probe
    6f4f778f2747 pwm: lpc18xx-sct: Initialize driver data and hardware before pwmchip_add()
    28a886a308ed fsi: scom: Remove retries in indirect scoms
    9fdc543b0e2a fsi: scom: Fix error handling
    b125b08dbee3 mxser: fix xmit_buf leak in activate when LSR == 0xff
    7a68abde36e1 staging: r8188eu: release_firmware is not called if allocation fails
    1768384f61d1 staging: r8188eu: convert DBG_88E_LEVEL call in hal/rtl8188e_hal_init.c
    a9e88c2618d2 kernel/resource: fix kfree() of bootmem memory again
    585dc196a08f drivers: ethernet: cpsw: fix panic when interrupt coaleceing is set via ethtool
    eec20eea27a0 ice: don't allow to run ice_send_event_to_aux() in atomic ctx
    9b77c8cf69a4 ice: fix 'scheduling while atomic' on aux critical err interrupt
    c64223a8d188 mfd: asic3: Add missing iounmap() on error asic3_mfd_probe
    21a2b4ab48a4 tipc: fix the timer expires after interval 100ms
    95df5cd5a446 net: dsa: fix panic on shutdown if multi-chip tree failed to probe
    894347d4d29b openvswitch: always update flow key after nat
    862002402333 tcp: ensure PMTU updates are processed during fastopen
    06d836801cd8 net: bcmgenet: Use stronger register read/writes to assure ordering
    40092a8ac089 PCI: Avoid broken MSI on SB600 USB devices
    dd1043342e45 selftests/bpf/test_lirc_mode2.sh: Exit with proper code
    33d39efb61a8 powerpc/pseries: Fix use after free in remove_phb_dynamic()
    226ec1997de7 i2c: mux: demux-pinctrl: do not deactivate a master that is not active
    0ee072f91326 netfilter: conntrack: Add and use nf_ct_set_auto_assign_helper_warned()
    9b2bbf36b9cf i2c: meson: Fix wrong speed use from probe
    7409ff6393a6 af_netlink: Fix shift out of bounds in group mask calculation
    9151982547ee ipv4: Fix route lookups when handling ICMP redirects and PMTU updates
    770a97d3f34b Bluetooth: btmtksdio: Fix kernel oops in btmtksdio_interrupt
    60283d3ad395 Bluetooth: call hci_le_conn_failed with hdev lock in hci_le_conn_failed
    7235485433d2 Bluetooth: hci_uart: add missing NULL check in h5_enqueue
    292e8478ae0a selftests/bpf: Fix error reporting from sock_fields programs
    48e785075f9e af_unix: Fix some data-races around unix_sk(sk)->oob_skb.
    1bd58abf595b ibmvnic: fix race between xmit and reset
    3f798111077a bareudp: use ipv6_mod_enabled to check if IPv6 enabled
    b184a8fa7dd4 can: isotp: support MSG_TRUNC flag when reading from socket
    05e4e7d9bbb3 can: isotp: return -EADDRNOTAVAIL when reading from unbound socket
    f343dbe82314 can: isotp: sanitize CAN ID checks in isotp_bind()
    9265c09b2415 mt76: mt7921: fix mt7921_queues_acq implementation
    2a85c4cb3b15 netfilter: flowtable: Fix QinQ and pppoe support for inet table
    7ff346ee019b drm/i915/display: Fix HPD short pulse handling for eDP
    5d48ddbcafdf USB: storage: ums-realtek: fix error code in rts51x_read_mem()
    bc2c4dc5b566 samples/bpf, xdpsock: Fix race when running for fix duration of time
    cb6f141ae705 bpf, sockmap: Fix double uncharge the mem of sk_msg
    168ff181f5b6 bpf, sockmap: Fix more uncharged while msg has more_data
    de3a8d8fab07 bpf, sockmap: Fix memleak in tcp_bpf_sendmsg while sk msg is full
    ef9785f42979 bpf, sockmap: Fix memleak in sk_psock_queue_msg
    8dd392e352d3 RDMA/mlx5: Fix memory leak in error flow for subscribe event routine
    b089f7fc89f9 Revert "RDMA/core: Fix ib_qp_usecnt_dec() called when error"
    d52dab6e0355 RDMA/irdma: Prevent some integer underflows
    18e65ab351cf power: ab8500_chargalg: Use CLOCK_MONOTONIC
    fe0e2ce5c87e mtd: rawnand: atmel: fix refcount issue in atmel_nand_controller_init
    d29cda15cab0 MIPS: pgalloc: fix memory leak caused by pgd_free()
    d5e41310bd72 MIPS: RB532: fix return value of __setup handler
    69155dc2e047 mips: cdmm: Fix refcount leak in mips_cdmm_phys_base
    32939187f254 ath10k: Fix error handling in ath10k_setup_msa_resources
    9d04f4a15fe0 vxcan: enable local echo for sent CAN frames
    45962427aca2 powerpc: 8xx: fix a return value error in mpc8xx_pic_init
    88242bd033e2 scsi: mpt3sas: Fix incorrect 4GB boundary check
    ee773b7018d6 platform/x86: huawei-wmi: check the return value of device_create_file()
    fdee6b347cb8 selftests/bpf: Make test_lwt_ip_encap more stable and faster
    adc4a1ed139e libbpf: Unmap rings when umem deleted
    0a0c75ce5e26 mfd: mc13xxx: Add check for mc13xxx_irq_request
    4a852ff9b7be powerpc/64s: Don't use DSISR for SLB faults
    b55697c2a274 powerpc/sysdev: fix incorrect use to determine if list is empty
    804338913d27 MIPS: Sanitise Cavium switch cases in TLB handler synthesizers
    be48780b4dec mips: DEC: honor CONFIG_MIPS_FP_SUPPORT=n
    f23b4c9c6a5a drm/msm/a6xx: Fix missing ARRAY_SIZE() check
    62f44f554d1c net: axienet: fix RX ring refill allocation failure handling
    e37d269734ee PCI: Reduce warnings on possible RW1C corruption
    4c3c666ecc6a RDMA/core: Fix ib_qp_usecnt_dec() called when error
    c5505076073b IB/hfi1: Allow larger MTU without AIP
    4124966fbd95 power: supply: wm8350-power: Add missing free in free_charger_irq
    1318caf07507 power: supply: wm8350-power: Handle error for wm8350_register_irq
    8659aba5cab3 i2c: xiic: Make bus names unique
    383798d13aea hv_balloon: rate-limit "Unhandled message" warning
    5baa1283d698 KVM: x86/emulator: Defer not-present segment check in __load_segment_descriptor()
    468b136c2ca1 KVM: x86: Fix emulation in writing cr8
    29322cd03678 powerpc/Makefile: Don't pass -mcpu=powerpc64 when building 32-bit
    451472dc178f powerpc/mm/numa: skip NUMA_NO_NODE onlining in parse_numa_properties()
    6792c0b56252 libbpf: Skip forward declaration when counting duplicated type names
    c06577a80485 gpu: host1x: Fix a memory leak in 'host1x_remove()'
    2154f7cadd88 RDMA/irdma: Remove incorrect masking of PD
    a0051c05312e RDMA/irdma: Fix Passthrough mode in VM
    5e96bb45c936 RDMA/irdma: Fix netdev notifications for vlan's
    ad7219cd8751 xsk: Fix race at socket teardown
    c08f23081c9b bpf, arm64: Feed byte-offset into bpf line info
    c301772c219d bpf, arm64: Call build_prologue() first in first JIT pass
    ffe0526c2e17 drm/bridge: cdns-dsi: Make sure to to create proper aliases for dt
    849e6be7d66d scsi: hisi_sas: Change permission of parameter prot_mask
    1003a85d0a30 power: supply: bq24190_charger: Fix bq24190_vbus_is_enabled() wrong false return
    852c1f5f3119 drm/tegra: Fix reference leak in tegra_dsi_ganged_probe
    3813591bc046 ext2: correct max file size computing
    0c80fe5ea1b3 power: supply: sbs-charger: Don't cancel work that is not initialized
    c2554b47644f TOMOYO: fix __setup handlers return values
    bd443887ed2a drm/amd/display: Remove vupdate_int_entry definition
    847f8677e367 RDMA/mlx5: Fix the flow of a miss in the allocation of a cache ODP MR
    c8db786858d8 scsi: pm8001: Fix abort all task initialization
    c6c95cdd5138 scsi: pm8001: Fix NCQ NON DATA command completion handling
    e4fce9af88ec scsi: pm8001: Fix NCQ NON DATA command task initialization
    03865ae38771 scsi: pm8001: Fix le32 values handling in pm80xx_chip_sata_req()
    b453d71af756 scsi: pm8001: Fix le32 values handling in pm80xx_chip_ssp_io_req()
    d14d1f88d8c2 scsi: pm8001: Fix payload initialization in pm80xx_encrypt_update()
    fc1d7c820287 scsi: pm8001: Fix le32 values handling in pm80xx_set_sas_protocol_timer_config()
    e332a97c4358 scsi: pm8001: Fix payload initialization in pm80xx_set_thermal_config()
    3a9bb3afd0cb scsi: pm8001: Fix command initialization in pm8001_chip_ssp_tm_req()
    4e878e41e900 scsi: pm8001: Fix command initialization in pm80XX_send_read_log()
    08f0b58e2a5f scsi: fnic: Fix a tracing statement
    aed99c7648cb vfio/pci: wake-up devices around reset functions
    4319f17fb826 vfio/pci: fix memory leak during D3hot to D0 transition
    5f3856f3ba10 dm crypt: fix get_key_size compiler warning if !CONFIG_KEYS
    590bc324ac4e drm/msm/dpu: fix dp audio condition
    9b625cee90a9 drm/msm/dpu: add DSPP blocks teardown
    ea009273d0c2 drm/msm/dsi/phy: fix 7nm v4.0 settings for C-PHY mode
    04ed3cd92999 drm/msm/dsi: Use "ref" fw clock instead of global name for VCO parent
    47e2060f2366 drm/msm/dp: always add fail-safe mode into connector mode list
    740d2330760e drm/msm/dp: stop link training after link training 2 failed
    9525b8bcae8b drm/msm/dp: populate connector of struct dp_panel
    2c4de9b94227 mtd: rawnand: pl353: Set the nand chip node as the flash node
    a2095c3e0309 iwlwifi: mvm: Fix an error code in iwl_mvm_up()
    01e36bdb95e7 iwlwifi: Fix -EIO error code that is never returned
    a3bb5cda4fed iwlwifi: yoyo: remove DBGI_SRAM address reset writing
    06511eed8177 iwlwifi: mvm: align locking in D3 test debugfs
    ec9b77481aaf iwlwifi: mvm: don't iterate unadded vifs when handling FW SMPS req
    21053d707480 iwlwifi: mvm: Don't call iwl_mvm_sta_from_mac80211() with NULL sta
    2de35ae362f3 selftests: mptcp: add csum mib check for mptcp_connect
    e2951eaa9398 dax: make sure inodes are flushed before destroy cache
    c08208f2635c IB/cma: Allow XRC INI QPs to set their local ACK timeout
    d85baefc858f libbpf: Fix memleak in libbpf_netlink_recv()
    0f47edc22c2b drm/amd/display: Add affected crtcs to atomic state for dsc mst unplug
    ac98fdec1114 drm/amd/pm: enable pm sysfs write for one VF mode
    28093e78e0f2 bpftool: Fix the error when lookup in no-btf maps
    64c06df2428b drm/bridge: anx7625: Fix overflow issue on reading EDID
    d6c7f46b8f05 iommu/ipmmu-vmsa: Check for error num after setting mask
    b5b285818754 HID: i2c-hid: fix GET/SET_REPORT for unnumbered reports
    ffb8e92b4cef power: supply: ab8500: Fix memory leak in ab8500_fg_sysfs_init
    9dea119df0fa libbpf: Use dynamically allocated buffer when receiving netlink messages
    f2a19db2a941 drm/bridge: dw-hdmi: use safe format when first in bridge chain
    2f0949db6e2c libbpf: Fix compilation warning due to mismatched printf format
    0255e93dce7a net:enetc: allocate CBD ring data memory using DMA coherent methods
    721992163e0c cxl/regs: Fix size of CXL Capability Header Register
    0e348f94787f cxl/core: Fix cxl_probe_component_regs() error message
    855f1c64e21e libbpf: Fix signedness bug in btf_dump_array_data()
    cdb2150050c7 RDMA/rxe: Check the last packet by RXE_END_MASK
    ed750e22e443 PCI: aardvark: Fix reading PCI_EXP_RTSTA_PME bit on emulated bridge
    0fe94b84c43c PCI: aardvark: Fix reading MSI interrupt number
    1f0add37ac5c igb: refactor XDP registration
    ab8c107470d1 igc: avoid kernel warning when changing RX ring parameters
    ea6b04796c87 mtd: mchp48l640: Add SPI ID table
    21e78798b206 mtd: mchp23k256: Add SPI ID table
    0eec5e2748f1 i2c: bcm2835: Fix the error handling in 'bcm2835_i2c_probe()'
    0b01811fc193 i2c: bcm2835: Use platform_get_irq() to get the interrupt
    b96a7265f763 net: asix: add proper error handling of usb read errors
    b997cfdc3f98 livepatch: Fix build failure on 32 bits processors
    34bed8dae12a scripts/dtc: Call pkg-config POSIXly correct
    0aec294f2d2f mac80211: limit bandwidth in HE capabilities
    a41efae062bf mac80211: Remove a couple of obsolete TODO
    5ad6b337e4ac net: dsa: mv88e6xxx: Enable port policy support on 6097
    b2dea2a696d0 ptp: unregister virtual clocks when unregistering physical clock.
    a53c147ac496 mt76: mt7615: check sta_rates pointer in mt7615_sta_rate_tbl_update
    fd1fcad5c053 mt76: mt7603: check sta_rates pointer in mt7603_sta_rate_tbl_update
    443cb1bc8a96 mt76: mt7615: fix a leftover race in runtime-pm
    421cb64c91dd mt76: mt7921: fix a leftover race in runtime-pm
    0f3d76144b9c mt76: mt7915: use proper aid value in mt7915_mcu_sta_basic_tlv
    60d815fd4338 mt76: mt7915: use proper aid value in mt7915_mcu_wtbl_generic_tlv in sta mode
    203a1e1230cf mt76: connac: fix sta_rec_wtbl tag len
    94fd8a2a47c8 powerpc/perf: Don't use perf_hw_context for trace IMC PMU
    0dc750479a5f KVM: PPC: Book3S HV: Check return value of kvmppc_radix_init
    10686b028059 powerpc: dts: t1040rdb: fix ports names for Seville Ethernet switch
    9acf7c2f3145 ray_cs: Check ioremap return value
    3a4bcc4cb612 power: reset: gemini-poweroff: Fix IRQ check in gemini_poweroff_probe
    cb42b6cfc5b0 ixgbe: respect metadata on XSK Rx to skb
    8c072b8e3226 ixgbe: don't reserve excessive XDP_PACKET_HEADROOM on XSK Rx to skb
    6dc18226976c ixgbe: pass bi->xdp to ixgbe_construct_skb_zc() directly
    28e561f3660d igc: don't reserve excessive XDP_PACKET_HEADROOM on XSK Rx to skb
    0e2f6a7f59f1 i40e: respect metadata on XSK Rx to skb
    968c76e96afd i40e: don't reserve excessive XDP_PACKET_HEADROOM on XSK Rx to skb
    7ad4f7729f0e selftests/net: timestamping: Fix bind_phc check
    5bedd66a59e5 KVM: PPC: Fix vmx/vsx mixup in mmio emulation
    72c179f650f6 RDMA/core: Set MR type in ib_reg_user_mr
    0b700f7d0649 ath9k_htc: fix uninit value bugs
    c41832e7dadd selftests/bpf/test_xdp_redirect_multi: use temp netns for testing
    a5c1c0920cf6 selftests/bpf: Normalize XDP section names in selftests
    f00346b30a7c net: phy: at803x: move page selection fix to config_init
    b175bc586410 drm/amd/pm: return -ENOTSUPP if there is no get_dpm_ultimate_freq function
    bdc7429708a0 drm/amd/display: Fix a NULL pointer dereference in amdgpu_dm_connector_add_common_modes()
    408ab78ca138 drm/nouveau/acr: Fix undefined behavior in nvkm_acr_hsfw_load_bl()
    2e05de23052d ionic: Don't send reset commands if FW isn't running
    4f69a923a388 ionic: start watchdog after all is setup
    76624b5a61c7 ionic: fix type complaint in ionic_dev_cmd_clean()
    da491fc54e4e drm/edid: Split deep color modes between RGB and YUV444
    19da408ab41c drm/edid: Don't clear formats if using deep color
    8480efe815e5 mtd: rawnand: gpmi: fix controller timings setting
    5b1f32593955 mtd: onenand: Check for error irq
    041e5b8a62e6 Bluetooth: hci_serdev: call init_rwsem() before p->open()
    9d42e744685c Bluetooth: btintel: Fix WBS setting for Intel legacy ROM products
    0b96610a7b74 selftests: bpf: Fix bind on used port
    0728ccb66468 drm/selftests/test-drm_dp_mst_helper: Fix memory leak in sideband_msg_req_encode_decode
    51b82141fffa bpf: Fix UAF due to race between btf_try_get_module and load_module
    811b667cefbe udmabuf: validate ubuf->pagecount
    e5f642c55f4c bpftool: Only set obj->skeleton on complete success
    b385ebe91ae9 libbpf: Fix possible NULL pointer dereference when destroying skeleton
    34d0a99fa09a drm/panfrost: Check for error num after setting mask
    2ff993b3daa4 drm/v3d/v3d_drv: Check for error num after setting mask
    982d824a9b27 ath10k: fix memory overwrite of the WoWLAN wakeup packet pattern
    66b805b63527 drm: bridge: adv7511: Fix ADV7535 HPD enablement
    c43b4106cfc5 drm/bridge: nwl-dsi: Fix PM disable depth imbalance in nwl_dsi_probe
    4db8e14ce478 drm/bridge: Add missing pm_runtime_disable() in __dw_mipi_dsi_probe
    f20a990784ee drm/bridge: Fix free wrong object in sii8620_init_rcp_input_dev
    461656a5e9be drm/meson: Fix error handling when afbcd.ops->init fails
    1c5439a71612 drm/meson: split out encoder from meson_dw_hdmi
    ffcfa1669316 drm/meson: Make use of the helper function devm_platform_ioremap_resourcexxx()
    d2a0678dff46 drm/meson: osd_afbcd: Add an exit callback to struct meson_afbcd_ops
    d81d72b912dc ARM: configs: multi_v5_defconfig: re-enable DRM_PANEL and FB_xxx
    c4d2a100f104 ARM: configs: multi_v5_defconfig: re-enable CONFIG_V4L_PLATFORM_DRIVERS
    c2e5f5d23718 ASoC: amd: Fix reference to PCM buffer address
    2f44eca78cc6 ASoC: codecs: wcd934x: Add missing of_node_put() in wcd934x_codec_parse_data
    e2aeafc6509c ASoC: msm8916-wcd-analog: Fix error handling in pm8916_wcd_analog_spmi_probe
    f589063b585a ASoC: atmel: Fix error handling in sam9x5_wm8731_driver_probe
    f2b0fc2a46a6 mmc: davinci_mmc: Handle error for clk_enable
    9668c6bca12a ASoC: msm8916-wcd-digital: Fix missing clk_disable_unprepare() in msm8916_wcd_digital_probe
    42735eae94ee ASoC: SOF: Intel: enable DMI L1 for playback streams
    b23b524b8bbd ASoC: imx-es8328: Fix error return code in imx_es8328_probe()
    06e6f4ba2534 ASoC: fsl_spdif: Disable TX clock when stop
    44acdaf7acb6 ASoC: mxs: Fix error handling in mxs_sgtl5000_probe
    1ecf9dcf2868 ASoC: dmaengine: do not use a NULL prepare_slave_config() callback
    39c2894dfc08 ASoC: rk817: Fix missing clk_disable_unprepare() in rk817_platform_probe
    87e04a89c31e ASoC: mediatek: mt8192-mt6359: Fix error handling in mt8192_mt6359_dev_probe
    56e0f1696a96 ASoC: mediatek: use of_device_get_match_data()
    5441ab46dd43 ASoC: SOF: Add missing of_node_put() in imx8m_probe
    6724217bfbfd ASoC: rockchip: i2s: Fix missing clk_disable_unprepare() in rockchip_i2s_probe
    f32ac9bf5e3f ASoC: atmel: Fix error handling in snd_proto_probe
    1e77cab218e4 ivtv: fix incorrect device_caps for ivtvfb
    a8523efdc946 media: saa7134: fix incorrect use to determine if list is empty
    a41fc6d02d82 video: fbdev: omapfb: Add missing of_node_put() in dvic_probe_of
    c19312809931 ASoC: fsi: Add check for clk_enable
    0bdb861b7d1b ASoC: wm8350: Handle error for wm8350_register_irq
    a0bc36b247dc ASoC: atmel: Add missing of_node_put() in at91sam9g20ek_audio_probe
    9dd2fd7a1f84 media: vidtv: Check for null return of vzalloc
    a09e9882800f media: stk1160: If start stream fails, return buffers with VB2_BUF_STATE_QUEUED
    ea2258664ffc m68k: coldfire/device.c: only build for MCF_EDMA when h/w macros are defined
    178b32112be1 arm64: dts: rockchip: Fix SDIO regulator supply properties on rk3399-firefly
    eab74c416120 ALSA: firewire-lib: fix uninitialized flag for AV/C deferred transaction
    2883fb9838fc memory: emif: check the pointer temp in get_device_details()
    50d934cea574 memory: emif: Add check for setup_interrupts
    fc237b8d624f ASoC: soc-compress: prevent the potentially use of null pointer
    d70d4a3ff5f2 ASoC: dwc-i2s: Handle errors for clk_enable
    58b64ee38637 ASoC: atmel_ssc_dai: Handle errors for clk_enable
    152d62d80960 ASoC: mxs-saif: Handle errors for clk_enable
    f64c5b235b47 printk: fix return value of printk.devkmsg __setup handler
    0fbd610e68c2 arm64: dts: broadcom: Fix sata nodename
    de64846df9fe arm64: dts: ns2: Fix spi-cpol and spi-cpha property
    b98940965daf ALSA: spi: Add check for clk_enable()
    89676d9e8c84 ASoC: ti: davinci-i2s: Add check for clk_enable()
    0a96bff46a5e mmc: sdhci_am654: Fix the driver data of AM64 SoC
    7c31acd9ca79 soc: mediatek: pm-domains: Add wakeup capacity support in power domain
    9db742370304 ASoC: rt5663: check the return value of devm_kzalloc() in rt5663_parse_dp()
    3fa8114be4a2 uaccess: fix nios2 and microblaze get_user_8()
    469277ff5ac8 vsprintf: Fix %pK with kptr_restrict == 0
    8611161ea715 lib: uninline simple_strntoull() as well
    34dd193d2329 selftests/lkdtm: Add UBSAN config
    f58159509b62 media: ov5640: Fix set format, v4l2_mbus_pixelcode not updated
    b1b91b31627d media: v4l2-core: Initialize h264 scaling matrix
    7399b9b62277 ASoC: codecs: wcd934x: fix return value of wcd934x_rx_hph_mode_put
    c42e96af49ef ASoC: codecs: wcd934x: fix kcontrol max values
    363490abe0be ASoC: codecs: wcd938x: fix kcontrol max values
    adafea71b49e ASoC: codecs: wc938x: fix accessing array out of bounds for enum type
    966408e37d84 ASoC: codecs: va-macro: fix accessing array out of bounds for enum type
    eb15c6ea692f ASoC: codecs: rx-macro: fix accessing array out of bounds for enum type
    9208ecc703b5 ASoC: codecs: rx-macro: fix accessing compander for aux
    56dcb5480687 media: cedrus: h264: Fix neighbour info buffer size
    dd6454742581 media: cedrus: H265: Fix neighbour info buffer size
    895364fa97e6 media: usb: go7007: s2250-board: fix leak in probe()
    332d45fe51d7 media: em28xx: initialize refcount before kref_get
    aa613ac27029 media: ti-vpe: cal: Fix a NULL pointer dereference in cal_ctx_v4l2_init_formats()
    12cb301cc5cb media: video/hdmi: handle short reads of hdmi info frame.
    0d05a58ea3b9 media: mexon-ge2d: fixup frames size in registers
    498ab2d70a9d ARM: dts: imx: Add missing LVDS decoder on M53Menlo
    2305e3460b42 vsprintf: Fix potential unaligned access
    b4c8675a710a ARM: dts: sun8i: v3s: Move the csi1 block to follow address order
    49db8d166d7b soc: ti: wkup_m3_ipc: Fix IRQ check in wkup_m3_ipc_probe
    42dab81e9309 firmware: ti_sci: Fix compilation failure when CONFIG_TI_SCI_PROTOCOL is not defined
    19e4c3b037ff arm64: dts: qcom: sm8350: Correct TCS configuration for apps rsc
    8026415d7f54 arm64: dts: qcom: sm8150: Correct TCS configuration for apps rsc
    17790ef9ad1f arm64: dts: broadcom: bcm4908: use proper TWD binding
    cc3a67e4147e arm64: dts: qcom: sm8250: fix PCIe bindings to follow schema
    4514dc92a353 arm64: dts: qcom: sdm845: fix microphone bias properties and values
    15565049d729 soc: qcom: aoss: remove spurious IRQF_ONESHOT flags
    1874365f3c17 soc: qcom: ocmem: Fix missing put_device() call in of_get_ocmem
    724376c30af5 soc: qcom: rpmpd: Check for null return of devm_kcalloc
    d761d62022bb ARM: dts: qcom: ipq4019: fix sleep clock
    b14f6a7d3608 firmware: qcom: scm: Remove reassignment to desc following initializer
    6c4cc4d36966 ARM: dts: Fix OpenBMC flash layout label addresses
    c3364cbc3762 video: fbdev: fbcvt.c: fix printing in fb_cvt_print_name()
    f3ef254c840d video: fbdev: atmel_lcdfb: fix an error code in atmel_lcdfb_probe()
    c420b540db4b video: fbdev: smscufx: Fix null-ptr-deref in ufx_usb_probe()
    24cfeb466146 video: fbdev: controlfb: Fix COMPILE_TEST build
    02684dd83332 video: fbdev: matroxfb: set maxvram of vbG200eW to the same as vbG200 to avoid black screen
    96eb48f017cd media: aspeed: Correct value for h-total-pixels
    4a3051977327 media: ov5648: Don't pack controls struct
    26b1865f1fd4 media: v4l: Avoid unaligned access warnings when printing 4cc modifiers
    ef35afc268c5 media: ov6650: Fix set format try processing path
    4ea548312052 media: hantro: Fix overfill bottom register field name
    b0b890dd8df3 media: meson: vdec: potential dereference of null pointer
    c3590ec1161d media: coda: Fix missing put_device() call in coda_get_vdoa_data
    f0344f0aee4d ASoC: simple-card-utils: Set sysclk on all components
    bb0a0e23dd00 ASoC: xilinx: xlnx_formatter_pcm: Handle sysclk setting
    1179081ba5fa ASoC: codecs: Check for error pointer after calling devm_regmap_init_mmio
    e48b189799d3 ASoC: sh: rz-ssi: Drop calling rz_ssi_pio_recv() recursively
    f7d07ad8bc03 media: atmel: atmel-sama7g5-isc: fix ispck leftover
    25b925f94a36 media: bttv: fix WARNING regression on tunerless devices
    e1854a6c3a68 media: imx: imx8mq-mipi_csi2: fix system resume
    72d79cd3c3ad media: imx: imx8mq-mipi-csi2: remove wrong irq config write operation
    0022dc8cafa5 media: mtk-vcodec: potential dereference of null pointer
    48d00e24822e media: v4l2-mem2mem: Apply DST_QUEUE_OFF_BASE on MMAP buffers across ioctls
    1fbc023f8173 media: staging: media: imx: imx7-mipi-csis: Make subdev name unique
    74cbe85fa044 media: camss: vfe-170: fix "VFE halt timeout" error
    9af4e473668a media: camss: csid-170: set the right HALT_CMD when disabled
    a3b104487f74 media: camss: csid-170: don't enable unused irqs
    20d5934825b9 media: camss: csid-170: fix non-10bit formats
    0ac903a7bde9 media: staging: media: zoran: fix usage of vb2_dma_contig_set_max_seg_size
    b84343a9d676 pinctrl: samsung: Remove EINT handler for Exynos850 ALIVE and CMGP gpios
    9a24d035c5eb kunit: make kunit_test_timeout compatible with comment
    9ca7b59e7877 drivers/base/memory: add memory block to memory group after registration succeeded
    5bed6c2c1ffe selftests, x86: fix how check_cc.sh is being invoked
    0f42a02e4773 f2fs: fix compressed file start atomic write may cause data corruption
    1a97987f76b4 btrfs: fix unexpected error path when reflinking an inline extent
    2911ad0249c5 f2fs: fix to avoid potential deadlock
    1e0e63ad6243 sched/rt: Plug rt_mutex_setprio() vs push_rt_task() race
    b7aec0843e28 sched/cpuacct: Fix charge percpu cpuusage
    cc91880f0417 nfsd: more robust allocation failure handling in nfsd_file_cache_init
    d1eaaf6caded f2fs: fix missing free nid in f2fs_handle_failed_inode
    ec5884cbbfd3 sched/fair: Improve consistency of allowed NUMA balance calculations
    df5e0a0b3a4e perf/x86/intel/pt: Fix address filter config for 32-bit kernel
    929d8a87f709 perf/core: Fix address filter parser for multiple filters
    3bb11f3f6872 rseq: Remove broken uapi field layout on 32-bit little endian
    d2c741290f7e sched/uclamp: Fix iowait boost escaping uclamp restriction
    6c7276622393 sched/core: Export pelt_thermal_tp
    8bc68c44d97f sched/debug: Remove mpol_get/put and task_lock/unlock from sched_show_numa
    d8c8dd97bb8c f2fs: fix to enable ATGC correctly via gc_idle sysfs interface
    f69aecb49968 watch_queue: Actually free the watch
    695c47cea02b watch_queue: Fix NULL dereference in error cleanup
    109dda451021 io_uring: terminate manual loop iterator loop correctly for non-vecs
    1323976e9448 io_uring: don't check unrelated req->open.how in accept request
    657edec8987a clocksource: acpi_pm: fix return value of __setup handler
    9b181ad309c6 hwmon: (pmbus) Add Vin unit off handling
    41887c82e76f hwrng: nomadik - Change clk_disable to clk_disable_unprepare
    335bf1fc74f7 crypto: ccree - Fix use after free in cc_cipher_exit()
    20550eb187e8 crypto: ccp - ccp_dmaengine_unregister release dma channels
    166b2478152c ACPI: APEI: fix return value of __setup handlers
    bfa4a733aeaa KEYS: trusted: Avoid calling null function trusted_key_exit
    b0efbe7e88c7 KEYS: trusted: Fix trusted key backends when building as module
    d362998e8df9 arm64: prevent instrumentation of bp hardening callbacks
    df04ef63347f clocksource/drivers/timer-of: Check return value of of_iomap in timer_of_base_init()
    abc6b2a12a3e clocksource/drivers/timer-microchip-pit64b: Use notrace
    a81de4315ecf clocksource/drivers/exynos_mct: Handle DTS with higher number of interrupts
    e34ba9ff04ee clocksource/drivers/exynos_mct: Refactor resources allocation
    97e3aaace46e clocksource/drivers/timer-ti-dm: Fix regression from errata i940 fix
    58c9d407ce82 crypto: vmx - add missing dependencies
    f9474039df09 crypto: gemini - call finalize with bh disabled
    6ce48276d736 crypto: amlogic - call finalize with bh disabled
    67bc6890b981 crypto: sun8i-ce - call finalize with bh disabled
    05e13c5e4f8e crypto: sun8i-ss - call finalize with bh disabled
    2684f459f919 hwrng: atmel - disable trng on failure path
    f8a1392c099b spi: spi-zynqmp-gqspi: Handle error for dma_set_mask
    7e45fc93dde2 PM: suspend: fix return value of __setup handler
    d0cd9da501f6 PM: hibernate: fix __setup handler error handling
    efaa0e969261 block: don't delete queue kobject before its children
    b9070c866aa3 nvme: fix the check for duplicate unique identifiers
    2340a15d3914 nvme: cleanup __nvme_check_ids
    a015dd1b8a54 hwmon: (sch56xx-common) Replace WDOG_ACTIVE with WDOG_HW_RUNNING
    3a70165fc788 hwmon: (pmbus) Add mutex to regulator ops
    f2757af27bf3 spi: pxa2xx-pci: Balance reference count for PCI DMA device
    40dba7c26e89 crypto: hisilicon/sec - fix the aead software fallback for engine
    c71e4d45dcc4 crypto: ccree - don't attempt 0 len DMA mappings
    0c366ade8606 EVM: fix the evm= __setup handler return value
    3a10df731516 audit: log AUDIT_TIME_* records only from rules
    8e8724b87afe crypto: rockchip - ECB does not need IV
    4d6e00474872 selftests/sgx: Treat CC as one argument
    d9172393f0f6 selftests/x86: Add validity check and allow field splitting
    e129fb065106 blk-cgroup: set blkg iostat after percpu stat aggregation
    c17eb1586c94 arm64/mm: avoid fixmap race condition when create pud mapping
    8550c9b846c5 stack: Constrain and fix stack offset randomization with Clang builds
    8effc4dc79a5 spi: tegra210-quad: Fix missin IRQ check in tegra_qspi_probe
    906315cb82d6 spi: tegra114: Add missing IRQ check in tegra_spi_probe
    e6374086f249 crypto: octeontx2 - remove CONFIG_DM_CRYPT check
    9ada174f47b3 thermal: int340x: Check for NULL after calling kmemdup()
    486d4c18f207 selinux: Fix selinux_sb_mnt_opts_compat()
    c111b3c1a257 crypto: mxs-dcp - Fix scatterlist processing
    af3c34eb9410 crypto: authenc - Fix sleep in atomic context in decrypt_tail
    8f10a38c9212 crypto: sun8i-ss - really disable hash on A80
    046f1499aef8 hwrng: cavium - HW_RANDOM_CAVIUM should depend on ARCH_THUNDER
    7919dfd84b35 hwrng: cavium - Check health status while reading random data
    0e67b3e1f93a crypto: ccp - Ensure psp_ret is always init'd in __sev_platform_init_locked()
    01d508417055 selinux: check return value of sel_make_avc_files
    aeeb944e7f91 selinux: access superblock_security_struct in LSM blob way
    ae2ff8d991b6 regulator: qcom_smd: fix for_each_child.cocci warnings
    9bbe88d1023f PCI: xgene: Revert "PCI: xgene: Fix IB window setup"
    920facf23305 PCI: pciehp: Clear cmd_busy bit in polling mode
    86ca87591870 PCI: imx6: Allow to probe when dw_pcie_wait_for_link() fails
    312d3d4f49e1 drm/i915/gem: add missing boundary check in vm_access
    d8b8bd1d03ee drm/i915/opregion: check port number bounds for SWSCI display power state
    2b08e0189b02 brcmfmac: pcie: Fix crashes due to early IRQs
    a7ea6de3bdd5 brcmfmac: pcie: Replace brcmf_pcie_copy_mem_todev with memcpy_toio
    b6957a10747c brcmfmac: pcie: Declare missing firmware files in pcie.c
    a88337a06966 brcmfmac: pcie: Release firmwares in the brcmf_pcie_setup error path
    6e2dfa829026 brcmfmac: firmware: Allocate space for default boardrev in nvram
    51f0af904fb6 drm/fb-helper: Mark screen buffers in system memory with FBINFO_VIRTFB
    713f1fefb6c6 drm/nouveau/backlight: Just set all backlight types as RAW
    80de94c4ab4e drm/nouveau/backlight: Fix LVDS backlight detection on some laptops
    7585d0f56f29 drm/syncobj: flatten dma_fence_chains on transfer
    85814e6461b8 xtensa: fix xtensa_wsr always writing 0
    821907e8f516 xtensa: fix stop_machine_cpuslocked call in patch_text
    e28bace5e7dc xtensa: define update_mmu_tlb function
    00c6bb4cea62 btrfs: verify the tranisd of the to-be-written dirty extent buffer
    f85ee0c845fd btrfs: extend locking to all space_info members accesses
    68a8120e1647 btrfs: zoned: mark relocation as writing
    2bd666b0fd28 media: davinci: vpif: fix unbalanced runtime PM enable
    12159871e1b4 media: davinci: vpif: fix unbalanced runtime PM get
    992af22dab9c media: venus: venc: Fix h264 8x8 transform control
    d5fcfc4af806 media: venus: hfi_cmds: List HDR10 property as unsupported for v1 and v3
    0a45148635f8 media: gpio-ir-tx: fix transmit with long spaces on Orange Pi PC
    3e3c8d88e0ca DEC: Limit PMAX memory probing to R3k systems
    2039163c30f8 PM: domains: Fix sleep-in-atomic bug caused by genpd_debug_remove()
    74e2d61e4faa bcache: fixup multiple threads crash
    2221a0f6c90c crypto: rsa-pkcs1pad - fix buffer overread in pkcs1pad_verify_complete()
    dc7cacd209c8 crypto: rsa-pkcs1pad - restore signature length check
    5013dbd89101 crypto: rsa-pkcs1pad - correctly get hash from source scatterlist
    9c8d8f87c213 crypto: rsa-pkcs1pad - only allow with rsa
    1290eb4412aa exec: Force single empty string when argv is empty
    d342786a0e94 lib/raid6/test: fix multiple definition linking error
    137c66d5f915 thermal: int340x: Increase bitmap size
    bc5f440e1c5c pstore: Don't use semaphores in always-atomic-context code
    10a15d91bcba carl9170: fix missing bit-wise or operator for tx_params
    1d89cb2c72d6 mgag200 fix memmapsl configuration in GCTL6 register
    bd0cc79722df ARM: dts: exynos: add missing HDMI supplies on SMDK5420
    661016b895e6 ARM: dts: exynos: add missing HDMI supplies on SMDK5250
    d4577ac55725 ARM: dts: exynos: fix UART3 pins configuration in Exynos5250
    cc7c9d207fce ARM: dts: at91: sama5d2: Fix PMERRLOC resource size
    64b3bc9050d8 ARM: dts: at91: sama7g5: Remove unused properties in i2c nodes
    cdcaec46a6b2 rfkill: make new event layout opt-in
    677a5f6c81b5 video: fbdev: atari: Atari 2 bpp (STe) palette bugfix
    46cdbff26c88 video: fbdev: sm712fb: Fix crash in smtcfb_read()
    c894ac44786c fbdev: Hot-unplug firmware fb devices on forced removal
    6e72980d588e drm/edid: check basic audio support on CEA extension block
    2e76c69c85f9 block: don't merge across cgroup boundaries if blkcg is enabled
    6a11b52b498d block: limit request dispatch loop duration
    f1dd8c1186be mailbox: tegra-hsp: Flush whole channel
    3d4b396a616d landlock: Use square brackets around "landlock-ruleset"
    20fbf100f84b samples/landlock: Fix path_list memory leak
    3eb18f8a1d02 drivers: hamradio: 6pack: fix UAF bug caused by mod_timer()
    3c65b7309d2e ext4: make mb_optimize_scan performance mount option work with extents
    597393cde841 ext4: fix fs corruption when tring to remove a non-empty directory with IO error
    73fa1798233c ext4: fix ext4_fc_stats trace point
    6cdb84dd0c8d coredump: Also dump first pages of non-executable ELF libraries
    8a7f9d9c3f6a ACPI: properties: Consistently return -ENOENT if there are no more references
    2e2eb55823df Revert "ACPI: Pass the same capabilities to the _OSC regardless of the query flag"
    b6094744e261 ASoC: SOF: Intel: Fix NULL ptr dereference when ENOMEM
    5e3bd996d2c8 arm64: dts: ti: k3-am64: Fix gic-v3 compatible regs
    96181539a521 arm64: dts: ti: k3-j7200: Fix gic-v3 compatible regs
    e931b8494a51 arm64: dts: ti: k3-j721e: Fix gic-v3 compatible regs
    146ad3e0177d arm64: dts: ti: k3-am65: Fix gic-v3 compatible regs
    393a8a0f971e arm64: dts: qcom: sm8250: Fix MSI IRQ for PCIe1 and PCIe2
    a01e1eaf5407 arm64: Do not defer reserve_crashkernel() for platforms with no DMA memory zones
    556e8e0a27c8 arm64: signal: nofpsimd: Do not allocate fp/simd context when not available
    e04a1de51cf6 PCI: fu740: Force 2.5GT/s for initial device probe
    ec5ebfd1ce35 powerpc/kvm: Fix kvm_use_magic_page
    024c2a0db53a drbd: fix potential silent data corruption
    39483fd3b2d2 tracing: Have trace event string test handle zero length strings
    12ea1f73690b dm integrity: set journal entry unused when shrinking device
    737d5e25e28d dm: fix double accounting of flush with data
    dc77afd7491e dm: interlock pending dm_io and dm_wait_for_bios_completion
    0987f00a76a1 dm: fix use-after-free in dm_cleanup_zoned_dev()
    d3444138ff0d dm stats: fix too short end duration_ns when using precise_timestamps
    7d3bd683e084 mm/kmemleak: reset tag when compare object pointer
    7d04d6d5c114 mm,hwpoison: unmap poisoned page before invalidation
    d4835551fd9f Revert "mm: madvise: skip unmapped vma holes passed to process_madvise"
    a07a4b75cccb mm: madvise: return correct bytes advised with process_madvise
    27d96f11b0a2 mm: madvise: skip unmapped vma holes passed to process_madvise
    476df5994878 drm/simpledrm: Add "panel orientation" property on non-upright mounted LCD panels
    7c5312fdb1dc ocfs2: fix crash when mount with quota enabled
    cd2722e411e8 rtc: pl031: fix rtc features null pointer dereference
    8e167fdd4f62 rtc: mc146818-lib: fix locking in mc146818_set_time
    0cc320929ac6 ALSA: hda/realtek: Fix audio regression on Mi Notebook Pro 2020
    7777744e92a0 ALSA: pcm: Fix potential AB/BA lock with buffer_mutex and mmap_lock
    f9f37a956de1 ALSA: hda: Avoid unsol event during RPM suspending
    cf4cd2a5d0ae ALSA: cs4236: fix an incorrect NULL check on list iterator
    39a4bf7d1a23 cifs: fix NULL ptr dereference in smb2_ioctl_query_info()
    f143f8334fb9 cifs: prevent bad output lengths in smb2_ioctl_query_info()
    665cf5507470 Revert "Input: clear BTN_RIGHT/MIDDLE on buttonpads"
    305a5303d1da riscv: Increase stack size under KASAN
    ee29fe27818e riscv: Fix fill_callchain return value
    3c4a1c81900c riscv: dts: canaan: Fix SPI3 bus width
    876a9bdfd9af qed: validate and restrict untrusted VFs vlan promisc mode
    4d8323922ea9 qed: display VF trust config
    59a4bc52f111 scsi: libsas: Fix sas_ata_qc_issue() handling of NCQ NON DATA commands
    cbf4e2f4f700 scsi: scsi_transport_fc: Fix FPIN Link Integrity statistics counters
    64b0fe4808bd scsi: ufs: Fix runtime PM messages never-ending cycle
    6ade94e6afc6 scsi: core: sd: Add silence_suspend flag to suppress some PM messages
    5e217aa2c825 mempolicy: mbind_range() set_policy() after vma_merge()
    3bae72c2db69 mm: invalidate hwpoison page cache page in fault path
    a74bb0eeabcd mm/pages_alloc.c: don't create ZONE_MOVABLE beyond the end of a node
    ab657a29c3e9 mm: fs: fix lru_cache_disabled race in bh_lru
    52ba0ab4f0a6 jffs2: fix memory leak in jffs2_scan_medium
    4392e8aeebc5 jffs2: fix memory leak in jffs2_do_mount_fs
    7a75740206af jffs2: fix use-after-free in jffs2_clear_xattr_subsystem
    f2ce5238904f can: usb_8dev: usb_8dev_start_xmit(): fix double dev_kfree_skb() in error path
    f43e64076ff1 can: m_can: m_can_tx_handler(): fix use after free of skb
    459b19f42fd5 can: ems_usb: ems_usb_start_xmit(): fix double dev_kfree_skb() in error path
    31d7d7f35045 mtd: rawnand: protect access to rawnand devices while in suspend
    7d94d25c7972 spi: mxic: Fix the transmit path
    48254561bd04 net: bnxt_ptp: fix compilation error
    89d369454267 pinctrl: samsung: drop pin banks references on error paths
    1db1639d955b pinctrl: ingenic: Fix regmap on X series SoCs
    025a7ccfb7a5 mm/mlock: fix two bugs in user_shm_lock()
    34afac3c75fa remoteproc: Fix count check in rproc_coredump_write()
    b065f398c860 f2fs: fix to do sanity check on .cp_pack_total_block_count
    f9156db0987f f2fs: quota: fix loop condition at f2fs_quota_sync()
    e98ae961b334 f2fs: fix to unlock page correctly in error path of is_alive()
    303cd6173dce NFSD: prevent integer overflow on 32 bit systems
    614a61e15920 NFSD: prevent underflow in nfssvc_decode_writeargs()
    253a9533941e NFS: NFSv2/v3 clients should never be setting NFS_CAP_XATTR
    518a7d6be1ed SUNRPC: avoid race between mod_timer() and del_timer_sync()
    19c82681db26 HID: intel-ish-hid: Use dma_alloc_coherent for firmware update
    b3e38f939ab4 firmware: sysfb: fix platform-device leak in error path
    0dff5664b867 firmware: stratix10-svc: add missing callback parameter on RSU
    72403d1c04bb Documentation: update stable tree link
    8259235ab46e Documentation: add link to stable release candidate tree
    a1e55db51a88 KEYS: asymmetric: properly validate hash_algo and encoding
    255921f63a9e KEYS: asymmetric: enforce that sig algo matches key algo
    fe8df4489240 KEYS: fix length validation in keyctl_pkey_params_get_2()
    512bde642087 cifs: we do not need a spinlock around the tree access during umount
    2fafbc198613 cifs: fix handlecache and multiuser
    b6d75218ff65 ptrace: Check PTRACE_O_SUSPEND_SECCOMP permission on PTRACE_SEIZE
    42606add50f9 clk: uniphier: Fix fixed-rate initialization
    5aa6d84a0b07 clk: rockchip: re-add rational best approximation algorithm to the fractional divider
    ab67122003b1 greybus: svc: fix an error handling bug in gb_svc_hello()
    9e97f6641c87 iio: inkern: make a best effort on offset calculation
    b378d3f585e3 iio: inkern: apply consumer scale when no channel scale is available
    e38582362101 iio: inkern: apply consumer scale on IIO_VAL_INT cases
    1cb35faea3c3 iio: afe: rescale: use s64 for temporary scale calculations
    c61e2fc87f24 coresight: syscfg: Fix memleak on registration failure in cscfg_create_device
    ba81399402b7 coresight: Fix TRCCONFIGR.QE sysfs interface
    f1d936537155 docs: sphinx/requirements: Limit jinja2<3.1
    c1013a5ba4c9 bus: mhi: Fix MHI DMA structure endianness
    fe66a11af28c bus: mhi: pci_generic: Add mru_default for Quectel EM1xx series
    84bb0ac6c86f mei: avoid iterator usage outside of list_for_each_entry
    6d2ec095176c mei: me: add Alder Lake N device id.
    7c2422748463 mei: me: disable driver on the ign firmware
    f6121a746fae xhci: fix uninitialized string returned by xhci_decode_ctrl_ctx()
    7c2a317703c6 xhci: make xhci_handshake timeout for xhci_reset() adjustable
    4f2ab7e93b37 xhci: fix runtime PM imbalance in USB2 resume
    75bbc2b9748b xhci: fix garbage USBSTS being logged in some cases
    f5dc00496f76 USB: usb-storage: Fix use of bitfields for hardware data in ene_ub6250.c
    c94138ae4000 usb: typec: tipd: Forward plug orientation to typec subsystem
    662893b4f6bd tpm: fix reference counting for struct tpm_chip
    5a0735b0bcf9 virtio-blk: Use blk_validate_block_size() to validate block size
    8a4521456b54 iommu/iova: Improve 32-bit free space estimate
    fe953e0f77e5 drm/amdgpu: only check for _PR3 on dGPUs
    0884abb259f1 drm/amdgpu: move PX checking into amdgpu_device_ip_early_init
    03f836fcb655 locking/lockdep: Avoid potential access of invalid memory in lock_class
    9f93d46a63d5 selftests: vm: fix clang build error multiple output files
    2ea395dc1327 net: dsa: microchip: add spi_device_id tables
    d06ee4572fd9 af_key: add __GFP_ZERO flag for compose_sadb_supported in function pfkey_register
    f868ffd1ead3 Input: zinitix - do not report shadow fingers
    8745973cdfc6 spi: Fix erroneous sgs value with min_t()
    20f46b12162c Revert "gpio: Revert regression in sysfs-gpio (gpiolib.c)"
    13b570f365b8 net:mcf8390: Use platform_get_irq() to get the interrupt
    526a46a5f479 spi: Fix invalid sgs value
    a28571fcc422 gpio: Revert regression in sysfs-gpio (gpiolib.c)
    cd3121310e33 ethernet: sun: Free the coherent when failing in probing
    afffb79a2dd5 tools/virtio: fix virtio_test execution
    f8f8e96048ad vdpa/mlx5: should verify CTRL_VQ feature exists for MQ
    32aef620e650 virtio_console: break out of buf poll on remove
    3d39860bea5e ARM: mstar: Select HAVE_ARM_ARCH_TIMER
    189bdde30b55 xfrm: fix tunnel model fragmentation behavior
    3a2914bc3e62 HID: Add support for open wheel and no attachment to T300
    a3248ecf0724 HID: logitech-dj: add new lightspeed receiver id
    d5aad7d63b1b hv: utils: add PTP_1588_CLOCK to Kconfig to fix build
    dd84d71bcbcb mm: kfence: fix missing objcg housekeeping for SLAB
    3d7df3f83f67 USB: serial: simple: add Nokia phone driver
    33325a62249e USB: serial: pl2303: fix GS type detection
    1dd64317e785 dt-bindings: usb: hcd: correct usb-device path
    2241e42f6c71 USB: serial: pl2303: add IBM device IDs
    890f78e54b74 Revert "swiotlb: rework "fix info leak with DMA_FROM_DEVICE""
    e29be6724adb Linux 5.15.32
    60981bb5ce18 llc: only change llc->dev when bind() succeeds
    22ac37c53065 nds32: fix access_ok() checks in get/put_user
    110dea31d48f m68k: fix access_ok for coldfire
    cdb96445297b wcn36xx: Differentiate wcn3660 from wcn3620
    476ddd23f818 tpm: use try_get_ops() in tpm-space.c
    12e407a8ef17 mac80211: fix potential double free on mesh join
    e65d28d4e9bf uaccess: fix integer overflow on access_ok()
    058d62a03e7d rcu: Don't deboost before reporting expedited quiescent state
    b094fece3810 drm/virtio: Ensure that objs is not NULL in virtio_gpu_array_put_free()
    5023652cc6e4 Revert "ath: add support for special 0x0 regulatory domain"
    4b6a48f87d03 Bluetooth: btusb: Add one more Bluetooth part for the Realtek RTL8852AE
    cb807cb52a8e crypto: qat - disable registration of algorithms
    57a2b3f8bf1c ACPI: video: Force backlight native for Clevo NL5xRU and NL5xNU
    a01ac2411489 ACPI: battery: Add device HID and quirk for Microsoft Surface Go 3
    8942aac69016 ACPI / x86: Work around broken XSDT on Advantech DAC-BJ01 board
    1bd57dea4561 netfilter: nf_tables: validate registers coming from userspace.
    fafb904156fb netfilter: nf_tables: initialize registers in nft_do_chain()
    3e27eafac659 drivers: net: xgene: Fix regression in CRC stripping
    c2052ad0c74f ALSA: pci: fix reading of swapped values from pcmreg in AC97 codec
    9abaacd6491e ALSA: cmipci: Restore aux vol on suspend/resume
    099a1cc21b16 ALSA: usb-audio: Add mute TLV for playback volumes on RODE NT-USB
    f4827c62b649 ALSA: pcm: Add stream lock during PCM reset ioctl operations
    51fce708ab89 ALSA: pcm: Fix races among concurrent prealloc proc writes
    cb6a39c5ebd0 ALSA: pcm: Fix races among concurrent prepare and hw_params/hw_free calls
    47711ff10c7e ALSA: pcm: Fix races among concurrent read/write and buffer changes
    33061d0fba51 ALSA: pcm: Fix races among concurrent hw_params and hw_free calls
    3b1bacd00ac3 ALSA: hda/realtek: Add quirk for ASUS GA402
    0e7cdc8059a0 ALSA: hda/realtek - Fix headset mic problem for a HP machine with alc671
    8e6ea2176222 ALSA: hda/realtek: Add quirk for Clevo NP50PNJ
    85060f4868db ALSA: hda/realtek: Add quirk for Clevo NP70PNJ
    10cdffd4854a ALSA: usb-audio: add mapping for new Corsair Virtuoso SE
    7a40cbf3579a ALSA: oss: Fix PCM OSS buffer allocation overflow
    5e431799c35b ASoC: sti: Fix deadlock via snd_pcm_stop_xrun() call
    e90729961083 llc: fix netdevice reference leaks in llc_ui_bind()
    5b2ca3b8213a Bluetooth: btusb: Add another Realtek 8761BU
    42b9f6d19faa tpm: Fix error handling in async work
    2317fd3b126c net: ipv6: fix skb_over_panic in __ip6_append_data
    a34c47b1ab07 nfc: st21nfca: Fix potential buffer overflows in EVT_TRANSACTION
    96e48ac9a685 Linux 5.15.31
    4c5d94990fa2 btrfs: skip reserved bytes warning on unmount after log cleanup failure
    23775775b9a6 perf symbols: Fix symbol size calculation condition
    e762f57ff255 Input: aiptek - properly check endpoint type
    0cd2dd4bcf4a scsi: mpt3sas: Page fault in reply q processing
    c69aef9db878 usb: usbtmc: Fix bug in pipe direction for control transfers
    2015c23610cd usb: gadget: Fix use-after-free bug by not setting udc->dev.driver
    56b38e3ca406 usb: gadget: rndis: prevent integer overflow in rndis_set_response()
    222f5e2d7f20 arm64: fix clang warning about TRAMP_VALIAS
    80974bb73027 iavf: Fix hang during reboot/shutdown
    800a17adb531 net: mscc: ocelot: fix backwards compatibility with single-chain tc-flower offload
    2d7cff7e1fee net: bcmgenet: skip invalid partial checksums
    6840fdeab423 bnx2x: fix built-in kernel driver load failure
    f07e0b020f7a net: phy: mscc: Add MODULE_FIRMWARE macros
    e396fda10ddf net: dsa: Add missing of_node_put() in dsa_port_parse_of
    11dab4a800a4 drm: Don't make DRM_PANEL_BRIDGE dependent on DRM_KMS_HELPERS
    a1adf00e1728 net: handle ARPHRD_PIMREG in dev_is_mac_header_xmit()
    8ee52c302191 drm/panel: simple: Fix Innolux G070Y2-L01 BPP settings
    43dcd410809e drm/imx: parallel-display: Remove bus flags check in imx_pd_bridge_atomic_check()
    ab0ab1761831 hv_netvsc: Add check for kvmalloc_array
    735f918cc2c8 iavf: Fix double free in iavf_reset_task
    b2bc45327e8c atm: eni: Add check for dma_map_single
    a055f5f2841f net/packet: fix slab-out-of-bounds access in packet_recvmsg()
    a296f3ae8009 net: phy: marvell: Fix invalid comparison in the resume and suspend functions
    b9820bf09f59 esp6: fix check on ipv6_skip_exthdr's return value
    093f11b49609 vsock: each transport cycles only on its own sockets
    1dcc1b888223 alx: acquire mutex for alx_reinit in alx_change_mtu
    4b49ba22a253 efi: fix return value of __setup handlers
    16ac5dca1e13 drm/mgag200: Fix PLL setup for g200wb and g200ew
    d4ad8736ac98 block: release rq qos structures for queue without disk
    6829aa17ca55 mm: swap: get rid of livelock in swapin readahead
    b786b64dcb31 ocfs2: fix crash when initialize filecheck kobj fails
    ab9337c7cb6f crypto: qcom-rng - ensure buffer for generate is completely filled
    0464ab17184b Linux 5.15.30
    a9bbacc53d1f ice: Fix race condition during interface enslave
    df3817ab226f x86/module: Fix the paravirt vs alternative order
    ff2e93a03f8d kselftest/vm: fix tests build with old libc
    d99db3b935b7 bnx2: Fix an error message
    ff7dfcd47a7e sfc: extend the locking on mcdi->seqno
    ff17119dceef tcp: make tcp_read_sock() more robust
    f5a425f5d5fc nl80211: Update bss channel on channel switch for P2P_CLIENT
    3534c5c005ef drm/vrr: Set VRR capable prop only if it is attached to connector
    46c02c5051aa iwlwifi: don't advertise TWT support
    4051516d4b79 atm: firestream: check the return value of ioremap() in fs_init()
    76e0b8e12c64 can: rcar_canfd: rcar_canfd_channel_probe(): register the CAN device when fully ready
    3679ccc09d88 Bluetooth: hci_core: Fix leaking sent_cmd skb
    c2924e9143c2 ARM: 9178/1: fix unmet dependency on BITREVERSE for HAVE_ARCH_BITREVERSE
    be538b764a46 MIPS: smp: fill in sibling and core maps earlier
    c98afa0db3a3 mac80211: refuse aggregations sessions before authorized
    84ecddbc9888 ARM: dts: rockchip: fix a typo on rk3288 crypto-controller
    8ad1b44f2d2e ARM: dts: rockchip: reorder rk322x hmdi clocks
    4744e1df7268 arm64: dts: agilex: use the compatible "intel,socfpga-agilex-hsotg"
    f5743453365b arm64: dts: rockchip: reorder rk3399 hdmi clocks
    f9a510bb024d arm64: dts: rockchip: align pl330 node name with dtschema
    e90da30175cb arm64: dts: rockchip: fix rk3399-puma eMMC HS400 signal integrity
    0f06f953aac5 xfrm: Fix xfrm migrate issues when address family changes
    e6d7e51e1092 xfrm: Check if_id in xfrm_migrate
    8918ae97417a arm64: dts: rockchip: fix rk3399-puma-haikou USB OTG mode
    e901c9212457 Revert "xfrm: state and policy should fail if XFRMA_IF_ID 0"
    b9a0208cb3e3 Linux 5.15.29
    f83c85ee73df vhost: allow batching hint without size
    caf18e4da9bf Revert "net: dsa: mv88e6xxx: flush switchdev FDB workqueue before removing VLAN"
    69b80587f650 block: drop unused includes in <linux/genhd.h>
    cd072bf2dcbd riscv: dts: k210: fix broken IRQs on hart1
    074c88751dc1 drm/i915: Workaround broken BIOS DBUF configuration on TGL/RKL
    a1ce40f8aeb1 btrfs: make send work with concurrent block group relocation
    342783ba9c3c drm/panel: Select DRM_DP_HELPER for DRM_PANEL_EDP
    1fbafa9a5b42 x86/traps: Mark do_int3() NOKPROBE_SYMBOL
    ce91f0f023ad x86/sgx: Free backing memory after faulting the enclave page
    e946556d3665 x86/boot: Add setup_indirect support in early_memremap_is_setup_data()
    19503d381aab x86/boot: Fix memremap of setup_indirect structures
    ffb8fd39c84c watch_queue: Make comment about setting ->defunct more accurate
    eb38c2e9fc74 watch_queue: Fix lack of barrier/sync/lock between post and read
    82ff8a2243f7 watch_queue: Free the alloc bitmap when the watch_queue is torn down
    d453d0e5a15d watch_queue: Fix the alloc bitmap size to reflect notes allocated
    b022b6a0586f watch_queue: Fix to always request a pow-of-2 pipe ring size
    ccd03c30f103 watch_queue: Fix to release page in ->release()
    8275b6699c6d watch_queue, pipe: Free watchqueue state after clearing pipe ring
    1b09f28f70a5 watch_queue: Fix filter limit check
    52445030f135 ARM: fix Thumb2 regression with Spectre BHB
    4a8e7f9dae4a net/mlx5: Fix offloading with ESWITCH_IPV4_TTL_MODIFY_ENABLE
    cbb726e6c652 virtio: acknowledge all features before access
    22823b1a0dc9 virtio: unexport virtio_finalize_features
    a633bc013333 KVM: x86/mmu: kvm_faultin_pfn has to return false if pfh is returned
    2c1f97af38be swiotlb: rework "fix info leak with DMA_FROM_DEVICE"
    0349c79c5508 arm64: kasan: fix include error in MTE functions
    61d32defc00f arm64: Ensure execute-only permissions are not allowed without EPAN
    72ea28d88d30 arm64: dts: marvell: armada-37xx: Remap IO space to bus address 0x0
    42aaf726c9e9 tracing/osnoise: Force quiescent states while tracing
    eae073d854c5 riscv: Fix auipc+jalr relocation range checks
    b515552d41ee mmc: meson: Fix usage of meson_mmc_post_req()
    9b3cdf5e8ad9 riscv: alternative only works on !XIP_KERNEL
    b5e792187f50 net: macb: Fix lost RX packet wakeup race in NAPI receive
    1fb9dd378749 staging: gdm724x: fix use after free in gdm_lte_rx()
    441bc1e3d7e0 staging: rtl8723bs: Fix access-point mode deadlock
    ca62747b38f5 fuse: fix pipe buffer lifetime for direct_io
    d60d34b4d6d1 fuse: fix fileattr op failure
    64147ce85e2f ARM: Spectre-BHB: provide empty stub for non-config
    5c237251421d selftests/memfd: clean up mapping in mfd_fail_write
    e22807ee679f selftest/vm: fix map_fixed_noreplace test failure
    9d95b7e239a1 tracing/osnoise: Make osnoise_main to sleep for microseconds
    4d2889691570 tracing: Ensure trace buffer is at least 4096 bytes large
    041616a22c40 ipv6: prevent a possible race condition with lifetimes
    2708ceb4e5cc Revert "xen-netback: Check for hotplug-status existence before watching"
    fe39ab30dcc2 Revert "xen-netback: remove 'hotplug-status' once it has served its purpose"
    fcd1d79aa943 drm/amdgpu: bypass tiling flag check in virtual display case (v2)
    5cf4dd01efe0 gpio: Return EPROBE_DEFER if gc->to_irq is NULL
    94b568a9d2a5 PCI: Mark all AMD Navi10 and Navi14 GPU ATS as broken
    bb9795b6da22 hwmon: (pmbus) Clear pmbus fault/warning bits after read
    8d5e69d8fbf3 net-sysfs: add check for netdevice being present to speed_show
    1280c8ae9745 x86/kvm: Don't use pv tlb/ipi/sched_yield if on 1 vCPU
    ee22082c3e2f drm/vc4: hdmi: Unregister codec device on unbind
    5bef4e5089d3 spi: rockchip: terminate dma transmission when slave abort
    1f04bbd2935c spi: rockchip: Fix error in getting num-cs property
    bcd4279b989f kvm: x86: Disable KVM_HC_CLOCK_PAIRING if tsc is in always catchup mode
    e160ee96d03f KVM: Fix lockdep false negative during host resume
    302ce2946160 pinctrl: tigerlake: Revert "Add Alder Lake-M ACPI ID"
    839ddf786772 usb: dwc3: pci: add support for the Intel Raptor Lake-S
    7403f4118ab9 swiotlb: fix info leak with DMA_FROM_DEVICE
    b0028e1cc1fa selftests/bpf: Add test for bpf_timer overwriting crash
    732c7172b79c net: phy: meson-gxl: improve link-up behavior
    6c0d2f348be2 net: bcmgenet: Don't claim WOL when its not available
    1502f15b9f29 sctp: fix kernel-infoleak for SCTP sockets
    9ca50a73c98c net: phy: DP83822: clear MISR2 register to disable interrupts
    f49f646f9ec2 gianfar: ethtool: Fix refcount leak in gfar_get_ts_info
    c7f6accc6795 gpio: ts4900: Do not set DAT and OE together
    c614aad2ee9e selftests: pmtu.sh: Kill nettest processes launched in subshell.
    d4dfc94c4052 selftests: pmtu.sh: Kill tcpdump processes launched by subshell.
    0e721b8f2ee5 NFC: port100: fix use-after-free in port100_send_complete
    a2355333cf18 net/mlx5e: Lag, Only handle events from highest priority multipath entry
    7c519f769f55 net/mlx5: Fix a race on command flush flow
    b3d4a7dcb9ca net/mlx5: Fix size field in bufferx_reg struct
    46ad629e58ce ax25: Fix NULL pointer dereference in ax25_kill_by_device
    b7c2fd1d1263 net: marvell: prestera: Add missing of_node_put() in prestera_switch_set_base_mac_addr
    6e294d389023 net: ethernet: lpc_eth: Handle error for clk_enable
    c746fa0f54c9 net: ethernet: ti: cpts: Handle error for clk_enable
    5548c81e97ab tipc: fix incorrect order of state message data sanity check
    5e7c402892e1 ethernet: Fix error handling in xemaclite_of_probe
    06a97a7afa05 ice: Fix curr_link_speed advertised speed
    fd0ca20f1846 ice: Don't use GFP_KERNEL in atomic context
    15d1271d89b8 ice: Fix error with handling of bonding MTU
    9bda6a09e7ef ice: stop disabling VFs due to PF error responses
    49839cb40d6c i40e: stop disabling VFs due to PF error responses
    35f11aba74e2 iavf: Fix handling of vlan strip virtual channel messages
    0716607ad241 ARM: dts: aspeed: Fix AST2600 quad spi group
    9c0686caa822 net: dsa: mt7530: fix incorrect test in mt753x_phylink_validate()
    f9ec15fc3c48 drm/sun4i: mixer: Fix P010 and P210 format numbers
    c5883d38a470 gpiolib: acpi: Convert ACPI value of debounce to microseconds
    c014efbd1c28 smsc95xx: Ignore -ENODEV errors when device is unplugged
    3acc8788febf qed: return status of qed_iov_get_link
    e5d078d21fa0 esp: Fix BEET mode inter address family tunneling on GSO
    4aaabbffc3b0 esp: Fix possible buffer overflow in ESP transformation
    4dfa7d3508bf net: qlogic: check the return value of dma_alloc_coherent() in qed_vf_hw_prepare()
    92d97017c67c isdn: hfcpci: check the return value of dma_set_mask() in setup_hw()
    4b1743bc715a vdpa: fix use-after-free on vp_vdpa_remove
    8848b0fa9bf1 virtio-blk: Don't use MAX_DISCARD_SEGMENTS if max_discard_seg is zero
    f8d88e86e90e vhost: fix hung thread due to erroneous iotlb entries
    7777b1f795af mISDN: Fix memory leak in dsp_pipeline_build()
    20145e05e497 net: phy: meson-gxl: fix interrupt handling in forced mode
    90a2f4fc5b23 vduse: Fix returning wrong type in vduse_domain_alloc_iova()
    e7e118416465 vdpa/mlx5: add validation for VIRTIO_NET_CTRL_MQ_VQ_PAIRS_SET command
    f96dc3adb9a9 tipc: fix kernel panic when enabling bearer
    0a99594d2058 arm64: dts: armada-3720-turris-mox: Add missing ethernet0 alias
    e52ecbca254b HID: vivaldi: fix sysfs attributes leak
    ea45b38caf2b clk: qcom: dispcc: Update the transition delay for MDSS GDSC
    ba24eb3cc95c clk: qcom: gdsc: Add support to update GDSC transition delay
    b6c624d07bf2 ARM: boot: dts: bcm2711: Fix HVS register range
    3ffbe85cda7f HID: hid-thrustmaster: fix OOB read in thrustmaster_interrupts
    a5334502f91f HID: elo: Revert USB reference counting
    af4fcf85c88d arm64: dts: qcom: sm8350: Correct UFS symbol clocks
    8fa52df84c58 arm64: dts: qcom: sm8350: Describe GCC dependency clocks
    aa79753319d8 Linux 5.15.28
    39d332de8edb Revert "ACPI: PM: s2idle: Cancel wakeup before dispatching EC GPE"
    dea18aef2021 xen/netfront: react properly to failing gnttab_end_foreign_access_ref()
    27dc69aa5568 xen/gnttab: fix gnttab_end_foreign_access() without page specified
    5bff1721c8f9 xen/pvcalls: use alloc/free_pages_exact()
    a019d26830e8 xen/9p: use alloc/free_pages_exact()
    90c5f198b923 xen: remove gnttab_query_foreign_access()
    f06e3edaeac1 xen/gntalloc: don't use gnttab_query_foreign_access()
    f1c85942314d xen/scsifront: don't use gnttab_query_foreign_access() for mapped status
    5d5fa1d53a31 xen/netfront: don't use gnttab_query_foreign_access() for mapped status
    f9ade968df79 xen/blkfront: don't use gnttab_query_foreign_access() for mapped status
    1dd5b4b230f6 xen/grant-table: add gnttab_try_end_foreign_access()
    66cb2bbb522b xen/xenbus: don't let xenbus_grant_ring() remove grants in error case
    2b2d2a8ba2e9 ARM: fix build warning in proc-v7-bugs.c
    8836a046ef41 arm64: Do not include __READ_ONCE() block in assembly files
    431b92c3c25e ARM: Do not use NOCROSSREFS directive with ld.lld
    57a65667fbdc ARM: fix co-processor register typo
    49062ec32e79 ARM: fix build error when BPF_SYSCALL is disabled
    3317d21b84e9 arm64: proton-pack: Include unprivileged eBPF status in Spectre v2 mitigation reporting
    8979720ac64c arm64: Use the clearbhb instruction in mitigations
    fb2bb2ec137c KVM: arm64: Allow SMCCC_ARCH_WORKAROUND_3 to be discovered and migrated
    4bbfd0c28025 arm64: Mitigate spectre style branch history side channels
    8e55b9b0e765 arm64: proton-pack: Report Spectre-BHB vulnerabilities as part of Spectre-v2
    d7066114dcd6 arm64: Add percpu vectors for EL1
    cfd0c38125aa arm64: entry: Add macro for reading symbol addresses from the trampoline
    50e700a11766 arm64: entry: Add vectors that have the bhb mitigation sequences
    ffb8a34c0fd8 arm64: entry: Add non-kpti __bp_harden_el1_vectors for mitigations
    517f988ee050 arm64: entry: Allow the trampoline text to occupy multiple pages
    6895584a92ee arm64: entry: Make the kpti trampoline's kpti sequence optional
    a40472d463f9 arm64: entry: Move trampoline macros out of ifdef'd section
    be9c5526aad6 arm64: entry: Don't assume tramp_vectors is the start of the vectors
    2e09754a03a7 arm64: entry: Allow tramp_alias to access symbols after the 4K boundary
    e25a9dced2bd arm64: entry: Move the trampoline data page before the text page
    4a691bbf56a1 arm64: entry: Free up another register on kpti's tramp_exit path
    479c9bb741bf arm64: entry: Make the trampoline cleanup optional
    368a1fd8c4a6 KVM: arm64: Allow indirect vectors to be used without SPECTRE_V3A
    44adac5908ff arm64: spectre: Rename spectre_v4_patch_fw_mitigation_conduit
    b7beeab84f02 arm64: entry.S: Add ventry overflow sanity checks
    e38b3c0d245b arm64: cpufeature: add HWCAP for FEAT_RPRES
    a4c234f60269 arm64: cpufeature: add HWCAP for FEAT_AFP
    912961e188dc arm64: add ID_AA64ISAR2_EL1 sys register
    ac7bc62b78de arm64: Add Cortex-X2 CPU part definition
    f0c559c38e98 arm64: Add HWCAP for self-synchronising virtual counter
    d82f489cbbdb arm64: Add Neoverse-N2, Cortex-A710 CPU part definition
    842f2d498ee1 ARM: include unprivileged BPF status in Spectre V2 reporting
    576548846f1e ARM: Spectre-BHB workaround
    2dca61693e6c ARM: use LOADADDR() to get load address of sections
    878ad97f745e ARM: early traps initialisation
    f02cab2bed1a ARM: report Spectre v2 status through sysfs
    bf048d1921b6 x86/speculation: Warn about eIBRS + LFENCE + Unprivileged eBPF + SMT
    074d72604639 x86/speculation: Warn about Spectre v2 LFENCE mitigation
    36fbbd78471c x86/speculation: Update link to AMD speculation whitepaper
    a56566d7a957 x86/speculation: Use generic retpoline by default on AMD
    316e4a16524a x86/speculation: Include unprivileged eBPF status in Spectre v2 mitigation reporting
    eb4596417756 Documentation/hw-vuln: Update spectre doc
    d7771f380c90 x86/speculation: Add eIBRS + Retpoline options
    f150b6fccf7f x86/speculation: Rename RETPOLINE_AMD to RETPOLINE_LFENCE
    e94d490a1ad6 x86,bugs: Unconditionally allow spectre_v2=retpoline,amd
    668c821321b4 slip: fix macro redefine warning
    efe3167e52a5 Linux 5.15.27
    ea2bc310250d hamradio: fix macro redefine warning
    8998aa676205 KVM: x86/mmu: Passing up the error state of mmu_alloc_shadow_roots()
    416e3a0e4276 proc: fix documentation and description of pagemap
    8b893496892e Revert "xfrm: xfrm_state_mtu should return at least 1280 for ipv6"
    6599d5e8bd75 btrfs: do not start relocation until in progress drops are done
    4aef4c900597 btrfs: add missing run of delayed items after unlink during log replay
    34146bbadcdd btrfs: qgroup: fix deadlock between rescan worker and remove qgroup
    e00077aa439f btrfs: do not WARN_ON() if we have PageError set
    725a6ac389b1 btrfs: fix relocation crash due to premature return from btrfs_commit_transaction()
    5342e9f3dac0 btrfs: fix lost prealloc extents beyond eof after full fsync
    80660a726d47 tracing: Fix return value of __setup handlers
    452f64ee0940 tracing/histogram: Fix sorting on old "cpu" value
    aa6d3eef28f3 HID: add mapping for KEY_ALL_APPLICATIONS
    b355d6a14ba7 HID: add mapping for KEY_DICTATE
    74e9545d9e25 Input: samsung-keypad - properly state IOMEM dependency
    cb19f03e5f65 Input: elan_i2c - fix regulator enable count imbalance after suspend/resume
    f74fc94691f0 Input: elan_i2c - move regulator_[en|dis]able() out of elan_[en|dis]able_power()
    7a1ee9934b14 MAINTAINERS: adjust file entry for of_net.c after movement
    7626ab3a3897 iavf: missing unlocks in iavf_watchdog_task()
    d784113217f9 iavf: do not override the adapter state in the watchdog task (again)
    d61f3737c559 net: stmmac: perserve TX and RX coalesce value during XDP setup
    d666d3363845 selftests: mlxsw: resource_scale: Fix return value
    6fe3127d3af1 net: dcb: disable softirqs in dcbnl_flush_dev()
    46eed3a37dee drm/amdgpu: fix suspend/resume hang regression
    a1e603e5f3b2 nl80211: Handle nla_memdup failures in handle_nan_filter
    a30496660634 MIPS: ralink: mt7621: use bitwise NOT instead of logical
    68c4fe2ef0bf e1000e: Fix possible HW unit hang after an s0ix exit
    9dfe6abc6c13 drm/bridge: ti-sn65dsi86: Properly undo autosuspend
    d675c05b792e drm/i915/guc/slpc: Correct the param count for unset param
    6f62bc0fc12b iavf: Fix __IAVF_RESETTING state usage
    598bc8955916 iavf: Fix race in init state
    ddc5db0bcfa2 iavf: Fix locking for VIRTCHNL_OP_GET_OFFLOAD_VLAN_V2_CAPS
    8c0e4da63385 iavf: Fix init state closure on remove
    85aa76066fef iavf: Add waiting so the port is initialized in remove
    e734c794dea3 iavf: Fix kernel BUG in free_msi_irqs
    200366d1a583 iavf: Add helper function to go from pci_dev to adapter
    23901462c301 iavf: Rework mutexes for better synchronisation
    9fedc4f86ee3 iavf: Add trace while removing device
    b4e0e00a361d iavf: Combine init and watchdog state machines
    57d2f0db2e63 iavf: Add __IAVF_INIT_FAILED state
    7e2d102501e1 iavf: Refactor iavf state machine tracking
    f8ce435f2c81 net: sparx5: Fix add vlan when invalid operation
    50948cea504c net: chelsio: cxgb3: check the return value of pci_find_capability()
    ea3d3c36a4fa ibmvnic: complete init_done on transport events
    13e3b51ffaf8 ibmvnic: define flush_reset_queue helper
    046d933c1b74 ibmvnic: initialize rc before completing wait
    bb20939bc8d1 net: stmmac: only enable DMA interrupts when ready
    e753b639363d net: stmmac: enhance XDP ZC driver level switching performance
    8cdac518eac7 can: etas_es58x: change opened_channel_cnt's type from atomic_t to u8
    04746dbd9593 ARM: tegra: Move panels to AUX bus
    9920d99cc89a netfilter: nf_tables: prefer kfree_rcu(ptr, rcu) variant
    4ed52fbeb967 soc: fsl: qe: Check of ioremap return value
    c2266d20251c soc: fsl: guts: Add a missing memory allocation failure check
    20ff0ff315cd soc: fsl: guts: Revert commit 3c0d64e867ed
    40d763efa5bf ARM: dts: Use 32KiHz oscillator on devkit8000
    50bce7f03e8c ARM: dts: switch timer config to common devkit8000 devicetree
    af143626eb85 MIPS: ralink: mt7621: do memory detection on KSEG1
    378e2fe1eb58 iommu/amd: Fix I/O page table memory leak
    f6cabb721c5b arm64: dts: juno: Remove GICv2m dma-range
    3411613611a5 sched: Fix yet more sched_fork() races
    3d76a995f646 s390/extable: fix exception table sorting
    b7c35587be23 memfd: fix F_SEAL_WRITE after shmem huge page allocated
    39738a2346b2 ibmvnic: free reset-work-item when flushing
    d4706de93cf7 igc: igc_write_phy_reg_gpy: drop premature return
    896d1b8a3612 pinctrl: sunxi: Use unique lockdep classes for IRQs
    09423ff81601 selftests: mlxsw: tc_police_scale: Make test more robust
    0c3f34beb459 mptcp: Correctly set DATA_FIN timeout when number of retransmits is large
    d7a4b54f4fc5 ARM: 9182/1: mmu: fix returns from early_param() and __setup() functions
    a664bd7a0084 mips: setup: fix setnocoherentio() boolean setting
    f14a0244b1ba ARM: Fix kgdb breakpoint for Thumb2
    c9cfcdd111d7 igc: igc_read_phy_reg_gpy: drop premature return
    7c1db4a30e29 arm64: dts: rockchip: Switch RK3399-Gru DP to SPDIF output
    6be5b626bec1 iommu/tegra-smmu: Fix missing put_device() call in tegra_smmu_find
    2b04bb51a9c1 can: gs_usb: change active_channels's type from atomic_t to u8
    b6149efc57bf auxdisplay: lcd2s: Use proper API to free the instance of charlcd object
    5d53cd33f425 auxdisplay: lcd2s: Fix memory leak in ->remove()
    6d6c139d1e2d ASoC: cs4265: Fix the duplicated control name
    d442f20e6daf firmware: arm_scmi: Remove space in MODULE_ALIAS name
    f9c3aa939c41 auxdisplay: lcd2s: Fix lcd2s_redefine_char() feature
    4efa386ef9e1 efivars: Respect "block" flag in efivar_entry_set_safe()
    61a303971c3c iavf: Fix deadlock in iavf_reset_task
    366f785bbba4 ixgbe: xsk: change !netif_carrier_ok() handling in ixgbe_xmit_zc()
    ea372aab5490 net: arcnet: com20020: Fix null-ptr-deref in com20020pci_probe()
    1c09774e5ea1 ibmvnic: register netdev after init of adapter
    f58ead21dd6a net: sxgbe: fix return value of __setup handler
    23a6be260d56 iavf: Fix missing check for running netdev
    a83ebad95542 mac80211: treat some SAE auth steps as final
    b85dd0d7a503 net: stmmac: fix return value of __setup handler
    828f75c24ab8 mac80211: fix forwarded mesh frames AC & queue selection
    5afd80c393f4 btrfs: fix ENOSPC failure when attempting direct IO write into NOCOW range
    15cbeeaada70 net/smc: fix unexpected SMC_CLC_DECL_ERR_REGRMB error cause by server
    21922d9cde88 net/smc: fix unexpected SMC_CLC_DECL_ERR_REGRMB error generated by client
    80895b6f9154 net/smc: fix connection leak
    a559e0598ce6 net: ipa: add an interconnect dependency
    4daaf8816d60 net: dcb: flush lingering app table entries for unregistered devices
    b11781515208 net: ipv6: ensure we call ipv6_mc_down() at most once
    24e49e17cbfc batman-adv: Don't expect inter-netns unique iflink indices
    94355d99ad70 batman-adv: Request iflink once in batadv_get_real_netdevice
    58ea33965a6f batman-adv: Request iflink once in batadv-on-batadv check
    216f3cb587e0 netfilter: nf_queue: handle socket prefetch
    dd648bd1b33a netfilter: nf_queue: fix possible use-after-free
    63291e95e8ae netfilter: nf_queue: don't assume sk is full socket
    3a65b82b1ef2 net: fix up skbs delta_truesize in UDP GRO frag_list
    a47e7ac8851c e1000e: Correct NVM checksum verification flow
    4020d2e14f13 xfrm: enforce validity of offload input flags
    ce0d6bf33c35 xfrm: fix the if_id check in changelink
    00c74b587197 bpf, sockmap: Do not ignore orig_len parameter
    bd61f192a339 netfilter: fix use-after-free in __nf_register_net_hook()
    75cbedd33343 xfrm: fix MTU regression
    261eff11ade9 mm: Consider __GFP_NOWARN flag for oversized kvmalloc() calls
    5d7c23d39660 ntb: intel: fix port config status offset for SPR
    78acc7dbd84a blktrace: fix use after free for struct blk_trace
    5f298bf7f337 mac80211: fix EAPoL rekey fail in 802.3 rx path
    3dafbf915c05 thermal: core: Fix TZ_GET_TRIP NULL pointer dereference
    a63eb1e4a2e1 xen/netfront: destroy queues before real_num_tx_queues is zeroed
    dab06be16184 drm/amd/display: Reduce dmesg error to a debug print
    7508ac360d1e drm/i915: s/JSP2/ICP2/ PCH
    a8a86631f4ce iommu/amd: Recover from event log overflow
    2aaa085bd012 iommu/vt-d: Fix double list_add when enabling VMD in scalable mode
    050b1821f27c ASoC: ops: Shift tested values in snd_soc_put_volsw() by +min
    7de1ed755e1a iwlwifi: mvm: check debugfs_dir ptr before use
    728fb555882b riscv: Fix config KASAN && DEBUG_VIRTUAL
    08b22e3f150e riscv: Fix config KASAN && SPARSEMEM && !SPARSE_VMEMMAP
    e64d6a689ec5 riscv/efi_stub: Fix get_boot_hartid_from_fdt() return value
    6c3d4da8e7a9 ucounts: Fix systemd LimitNPROC with private users regression
    3eb418122d12 ALSA: intel_hdmi: Fix reference to PCM buffer address
    9285523b4174 net: of: fix stub of_net helpers for CONFIG_NET=n
    dc75d7968901 PCI: mvebu: Fix device enumeration regression
    35afd8ae1184 drm/amd/display: For vblank_disable_immediate, check PSR is really used
    5f283e64a850 bnxt_en: Fix occasional ethtool -t loopback test failures
    10dd26349edf drm/amd/display: Fix stream->link_enc unassigned during stream removal
    aa280c04da1b cifs: fix confusing unneeded warning message on smb2.1 and earlier
    3d74c2c917e4 cifs: protect session channel fields with chan_lock
    2594dba1cd79 drm/mediatek: mtk_dsi: Reset the dsi0 hardware
    f510d6463949 net: ethernet: litex: Add the dependency on HAS_IOMEM
    3a3aa0881aeb of: net: move of_net under net/
    960dfaf3b578 ibmvnic: don't release napi in __ibmvnic_open()
    1d13e7221035 net: dsa: seville: register the mdiobus under devres
    8bfa27186e29 net: dsa: ocelot: seville: utilize of_mdiobus_register
    68c8e6d16f57 gve: Recording rx queue before sending to napi
    5c66161cceaa drm/i915: Disable DRRS on IVB/HSW port != A
    e2b3d1bf6ec3 drm/i915/display: Move DRRS code its own file
    23eb29281f1e drm/i915/display: split out dpt out of intel_display.c
    fbf6d5f8eef7 riscv/mm: Add XIP_FIXUP for phys_ram_base
    86a337bb8030 drm: mxsfb: Fix NULL pointer dereference
    9bbeba67bbbd drm: mxsfb: Set fallback bus format when the bridge doesn't provide one
    ed4488d8307f drm/amd/display: Update watermark values for DCN301
    07058fb18df8 bpf: Fix possible race in inc_misses_counter
    aa5040691cb7 bpf: Use u64_stats_t in struct bpf_prog_stats
    82a82ad92746 net/mlx5e: IPsec: Fix crypto offload for non TCP/UDP encapsulated traffic
    748438b4e62c net/mlx5e: IPsec: Refactor checksum code in tx data path
    f1c0163bb824 octeontx2-af: Add KPU changes to parse NGIO as separate layer
    63138001c961 octeontx2-af: Adjust LA pointer for cpt parse header
    ab3380a844aa octeontx2-af: cn10k: Use appropriate register for LMAC enable
    fe3eafea3907 octeontx2-af: cn10k: RPM hardware timestamp configuration
    ef33ae74bb9c octeontx2-af: Reset PTP config in FLR handler
    75279de4e392 octeontx2-af: Optimize KPU1 processing for variable-length headers
    462c5e6cb241 ethtool: Fix link extended state for big endian
    27e01f10d183 drm/amd/display: move FPU associated DSC code to DML folder
    691c0030be65 drm/amd/display: Use adjusted DCN301 watermarks
    2157e509e5b2 drm/amdgpu: filter out radeon secondary ids as well
    f724a438d986 drm/amdgpu: filter out radeon PCI device IDs
    48cf33ee6b04 drm/amdgpu/display: Only set vblank_disable_immediate when PSR is not enabled
    3f20cf3cd43f hugetlbfs: fix off-by-one error in hugetlb_vmdelete_list()
    e9737301f0df selftests/vm: make charge_reserved_hugetlb.sh work with existing cgroup setting
    1123c2fb9dc3 kasan: fix quarantine conflicting with init_on_free
    f1675103e0f3 mm: defer kmemleak object creation of module_alloc()
    013c2af6c15c tracing/probes: check the return value of kstrndup() for pbuf
    8a20fed48eb4 tracing/uprobes: Check the return value of kstrdup() for tu->filename
    1a62246c2c60 dma-buf: cma_heap: Fix mutex locking section
    8654464086a1 i3c: master: dw: check return of dw_i3c_master_get_free_pos()
    a80b13642a10 drm/amdgpu: use spin_lock_irqsave to avoid deadlock by local interrupt
    5609b7803947 drm/amdkfd: Check for null pointer after calling kmemdup
    950d17f190a4 ntb_hw_switchtec: Fix bug with more than 32 partitions
    377cbdc92716 ntb_hw_switchtec: Fix pff ioread to read into mmio_part_cfg_all
    cd07b19fbf37 drm/atomic: Check new_crtc_state->active to determine if CRTC needs disable in self refresh mode
    1796d5350cb4 drm/sun4i: dw-hdmi: Fix missing put_device() call in sun8i_hdmi_phy_get
    e209742c13d2 SUNRPC: Fix sockaddr handling in svcsock_accept_class trace points
    bdaa8c7b7189 SUNRPC: Fix sockaddr handling in the svc_xprt_create_error trace point
    d3f67ceaeb3f drm/i915: don't call free_mmap_offset when purging
    e47679c06afc x86/hyperv: Properly deal with empty cpumasks in hyperv_flush_tlb_multi()
    4425ca3677a6 nfsd: fix crash on COPY_NOTIFY with special stateid
    0f84cfb465af Revert "nfsd: skip some unnecessary stats in the v4 case"
    3abe2a70f5b4 NFSD: Fix verifier returned in stable WRITEs
    e7c433270307 PCI: mvebu: Fix support for DEVCAP2, DEVCTL2 and LNKCTL2 registers on emulated bridge
    a24745673304 PCI: mvebu: Fix support for PCI_EXP_RTSTA on emulated bridge
    1d4200e28436 PCI: mvebu: Fix support for PCI_EXP_DEVCTL on emulated bridge
    1ea3f69784ed PCI: mvebu: Fix support for PCI_BRIDGE_CTL_BUS_RESET on emulated bridge
    9c91c755005b PCI: mvebu: Setup PCIe controller to Root Complex mode
    3d394fa375f4 PCI: mvebu: Fix configuring secondary bus of PCIe Root Port via emulated bridge
    4396c507a8f8 PCI: mvebu: Fix support for bus mastering and PCI_COMMAND on emulated bridge
    bc988b126134 PCI: mvebu: Do not modify PCI IO type bits in conf_write
    c1a027629c36 PCI: mvebu: Check for errors from pci_bridge_emul_init() call
    7c93c809e00a Input: ti_am335x_tsc - fix STEPCONFIG setup for Z2
    16ff93557d1e Input: ti_am335x_tsc - set ADCREFM for X configuration
    628761fe0588 tracing: Do not let synth_events block other dyn_event systems during create
    f35bacbb795a i3c/master/mipi-i3c-hci: Fix a potentially infinite loop in 'hci_dat_v1_get_index()'
    e5264d44f732 i3c: fix incorrect address slot lookup on 64-bit
    1adfbfaeb20d KVM: x86: Exit to userspace if emulation prepared a completion callback
    3d8468045e39 KVM: x86: Handle 32-bit wrap of EIP for EMULTYPE_SKIP with flat code seg
    00542cbacf22 KVM: X86: Ensure that dirty PDPTRs are loaded
    723053e16d55 KVM: VMX: Read Posted Interrupt "control" exactly once per loop iteration
    32b758d12c24 KVM: s390: Ensure kvm_arch_no_poll() is read once when blocking vCPU
    b63190d0203f KVM: VMX: Don't unblock vCPU w/ Posted IRQ if IRQs are disabled in guest
    f303196899f1 PCI: aardvark: Fix checking for MEM resource type
    a2f5e9a6f2a0 PCI: dwc: Do not remap invalid res
    d9fc43aab60d PCI: rcar: Check if device is runtime suspended instead of __clk_is_enabled()
    aa805236ed97 PCI: mediatek-gen3: Disable DVFSRC voltage request
    7f361266e981 signal: In get_signal test for signal_group_exit every time through the loop
    f98371d2ac83 MIPS: fix local_{add,sub}_return on MIPS64
    64b487be33b7 mtd: spi-nor: Fix mtd size for s3an flashes
    83ef63535a8a tools/resolve_btf_ids: Close ELF file on error
    1bd12b7aaee0 io_uring: fix no lock protection for ctx->cq_extra
    384d1b11382b NFSD: Fix zero-length NFSv3 WRITEs
    2de88544b3db NFSD: Have legacy NFSD WRITE decoders use xdr_stream_subsegment()
    771aca9bc707 ipv6: fix skb drops in igmp6_event_query() and igmp6_event_report()
    33e22b6c53d0 tracing: Add ustring operation to filtering string pointers
    a9c6e02d223e drm/amdgpu: check vm ready by amdgpu_vm->evicting flag
    b2a3068d5f15 ata: pata_hpt37x: fix PCI clock detection
    e0bcd6b57793 sched/fair: Fix fault in reweight_entity
    6f6ffc717b85 ext4: fast commit may miss file actions
    97abcfedc87c ext4: fast commit may not fallback for ineligible commit
    647b3f1533f4 ext4: simplify updating of fast commit stats
    5abb1d84b6db ext4: drop ineligible txn start stop APIs
    82a99bc85c0e serial: stm32: prevent TDR register overwrite when sending x_char
    1921d1fd0e60 arm64: Mark start_backtrace() notrace and NOKPROBE_SYMBOL
    60e6d58ef921 tracing: Add test for user space strings when filtering on string pointers
    c9f727219f3e exfat: fix i_blocks for files truncated over 4 GiB
    1ffc130388c5 exfat: reuse exfat_inode_info variable instead of calling EXFAT_I()
    ab3656acb7b4 usb: gadget: clear related members when goto fail
    07de9a494b5a usb: gadget: don't release an existing dev->buf
    a1ba98731518 block-map: add __GFP_ZERO flag for alloc_page in function bio_copy_kern
    1148adac7781 net: usb: cdc_mbim: avoid altsetting toggling for Telit FN990
    f6fbf18d156c i2c: qup: allow COMPILE_TEST
    d65d187b51b6 i2c: imx: allow COMPILE_TEST
    d2327116861c i2c: cadence: allow COMPILE_TEST
    7b22f63b933f dmaengine: shdma: Fix runtime PM imbalance on error
    7d0214c38dca selftests/ftrace: Do not trace do_softirq because of PREEMPT_RT
    4543426cd7b8 drm/amd/pm: correct UMD pstate clocks for Dimgrey Cavefish and Beige Goby
    b628fffce58a selftests/seccomp: Fix seccomp failure by adding missing headers
    54e7951a1988 cifs: modefromsids must add an ACE for authenticated users
    18a9d6b18c2b HID: amd_sfh: Add interrupt handler to process interrupts
    852b6b0411e6 HID: amd_sfh: Add functionality to clear interrupts
    8ba9a2e72584 HID: amd_sfh: Handle amd_sfh work buffer in PM ops
    546d60859ecf cifs: fix double free race when mount fails in cifs_get_root()
    ccf46cb68859 cifs: do not use uninitialized data in the owner/group sid
    5340a0924ea9 tipc: fix a bit overflow in tipc_crypto_key_rcv()
    1ccc12f2240a block: loop:use kstatfs.f_bsize of backing file to set discard granularity
    8694330db9b0 KVM: arm64: vgic: Read HW interrupt pending state from the HW
    850a77c999b8 btrfs: get rid of warning on transaction commit when using flushoncommit
    6279c5263ded Input: clear BTN_RIGHT/MIDDLE on buttonpads
    700485846e12 regulator: core: fix false positive in regulator_late_cleanup()
    fd64f8bc0644 ASoC: rt5682: do not block workqueue if card is unbound
    4235a04ad401 ASoC: rt5668: do not block workqueue if card is unbound
    2ed390555dbc i2c: bcm2835: Avoid clock stretching timeouts
    e03ad1915ccc mac80211_hwsim: initialize ieee80211_tx_info at hw_scan_work
    2d27a2bd381f mac80211_hwsim: report NOACK frames in tx_status
    8993e6067f26 Linux 5.15.26
    3c805fce07c9 ice: fix concurrent reset and removal of VFs
    26bc7197f9d3 ice: Fix race conditions between virtchnl handling and VF ndo ops
    fd21a0b6da94 memblock: use kfree() to release kmalloced memblock regions
    83f331d1debb gpio: tegra186: Fix chip_data type confusion
    a15769155440 pinctrl: k210: Fix bias-pull-up
    e3a751ee48f9 pinctrl: fix loop in k210_pinconf_get_drive()
    92cab57ea6d7 tty: n_gsm: fix deadlock in gsmtty_open()
    06bce5327b76 tty: n_gsm: fix wrong modem processing in convergence layer type 2
    1bc6f3b19bc6 tty: n_gsm: fix wrong tty control line for flow control
    50cacb783bb3 tty: n_gsm: fix NULL pointer access due to DLCI release
    519d0b389c10 tty: n_gsm: fix proper link termination after failed open
    4f0ab1c8a5a6 tty: n_gsm: fix encoding of control signal octet bit DV
    1851b9a46706 riscv: fix oops caused by irqsoff latency tracer
    e0ff4dffded5 riscv: fix nommu_k210_sdcard_defconfig
    72aa720acacf IB/qib: Fix duplicate sysfs directory name
    7a7e1b3aeef7 tps6598x: clear int mask on probe failure
    bde6a6b111b9 staging: fbtft: fb_st7789v: reset display before initialization
    ba9efbbf6745 thermal: int340x: fix memory leak in int3400_notify()
    00265efbd3e5 RDMA/cma: Do not change route.addr.src_addr outside state checks
    8df508b7a44c btrfs: prevent copying too big compressed lzo segment
    d2bef2cbd3b1 driver core: Free DMA range map when device is released
    453a82127f17 mtd: core: Fix a conflict between MTD and NVMEM on wp-gpios property
    fcd3f5906d64 nvmem: core: Fix a conflict between MTD and NVMEM on wp-gpios property
    ce94606060d7 xhci: Prevent futile URB re-submissions due to incorrect return value.
    c8b38e557414 xhci: re-initialize the HC during resume if HCE was set
    88f69c64443f usb: dwc3: gadget: Let the interrupt handler disable bottom halves.
    83e0190fb77c usb: dwc3: pci: Fix Bay Trail phy GPIO mappings
    e62f41a6528f usb: dwc3: pci: Add "snps,dis_u2_susphy_quirk" for Intel Bay Trail
    943a914d3dab usb: dwc2: drd: fix soft connect when gadget is unconfigured
    85171fbf714c USB: serial: option: add Telit LE910R1 compositions
    c331aa7e7064 USB: serial: option: add support for DW5829e
    6db927ce66ac tracefs: Set the group ownership in apply_options() not parse_options()
    2c775ad1fd5e USB: gadget: validate endpoint index for xilinx udc
    da514063440b usb: gadget: rndis: add spinlock for rndis response list
    f7c9fd0dff99 Revert "USB: serial: ch341: add new Product ID for CH341A"
    27089f04fac6 ata: pata_hpt37x: disable primary channel on HPT371
    4e508c593573 sc16is7xx: Fix for incorrect data being transmitted
    72b0fba2dd4d iio: Fix error handling for PM
    1f05c7568445 iio: imu: st_lsm6dsx: wait for settling time in st_lsm6dsx_read_oneshot
    c77f4ae7bd43 iio: accel: fxls8962af: add padding to regmap for SPI
    ca9d1799be68 iio: adc: ad7124: fix mask used for setting AIN_BUFP & AIN_BUFM bits
    0cb9b2f73c18 iio: adc: tsc2046: fix memory corruption by preventing array overflow
    fe7347780298 iio: adc: men_z188_adc: Fix a resource leak in an error handling path
    7bdf7d5f0cbd iio:imu:adis16480: fix buffering for devices with no burst mode
    9000406481a5 tracing: Have traceon and traceoff trigger honor the instance
    7e35b31e2cee tracing: Dump stacktrace trigger to the corresponding instance
    c8b56e51aa91 RDMA/ib_srp: Fix a deadlock
    e7a66dd26877 configfs: fix a race in configfs_{,un}register_subsystem()
    a94879d41917 bnxt_en: Increase firmware message response DMA wait time
    27440589551f RDMA/rtrs-clt: Move free_permit from free_clt to rtrs_clt_close
    bf2cfad0c6e4 RDMA/rtrs-clt: Fix possible double free in error case
    ff999198ec21 net-timestamp: convert sk->sk_tskey to atomic_t
    d99dcdabc52a regmap-irq: Update interrupt clear register for proper reset
    43221f446c02 gpio: rockchip: Reset int_bothedge when changing trigger
    3c32405d6474 spi: spi-zynq-qspi: Fix a NULL pointer dereference in zynq_qspi_exec_mem_op()
    2378f94c8d9b net/mlx5: Update log_max_qp value to be 17 at most
    6e94d2863384 net/mlx5e: kTLS, Use CHECKSUM_UNNECESSARY for device-offloaded packets
    95c1867704d0 net/mlx5e: MPLSoUDP decap, fix check for unsupported matches
    d4d188487ddc net/mlx5: DR, Fix the threshold that defines when pool sync is initiated
    9703a9e2f968 net/mlx5: Fix wrong limitation of metadata match on ecpf
    f63548dd05ab net/mlx5: Fix possible deadlock on rule deletion
    837b0d2e69e8 net/mlx5: DR, Don't allow match on IP w/o matching on full ethertype/ip_version
    954997aeb8f2 ibmvnic: schedule failover only if vioctl fails
    117a5a7f019e net/mlx5: DR, Cache STE shadow memory
    6b6094db77e6 udp_tunnel: Fix end of loop test in udp_tunnel_nic_unregister()
    4039254acbd4 surface: surface3_power: Fix battery readings on batteries without a serial number
    062772d5cc8c net/smc: Use a mutex for locking "struct smc_pnettable"
    e96e204ee6fa netfilter: nf_tables: fix memory leak during stateful obj update
    7d258451d345 net: mdio-ipq4019: add delay after clock enable
    9d8097caa732 nfp: flower: Fix a potential leak in nfp_tunnel_add_shared_mac()
    8ffb8ac34488 netfilter: nf_tables: unregister flowtable hooks on netns exit
    2e15fa8091de net: Force inlining of checksum functions in net/checksum.h
    be2d38247657 net: ll_temac: check the return value of devm_kmalloc()
    a95ea90deb30 net/sched: act_ct: Fix flow table lookup after ct clear or switching zones
    d064d0c39405 drm/i915/dg2: Print PHY name properly on calibration error
    eae86ab32069 drm/vc4: crtc: Fix runtime_pm reference counting
    163e50b00530 net/mlx5e: Fix wrong return value on ioctl EEPROM query failure
    143dafa60aa7 drm/edid: Always set RGB444
    f941104aa116 openvswitch: Fix setting ipv6 fields causing hw csum failure
    62ca33976ddc net: mv643xx_eth: process retval from of_get_mac_address
    899e56a1ad43 gso: do not skip outer ip header in case of ipip and net_failover
    0a9bc4179c30 tipc: Fix end of loop tests for list_for_each_entry()
    8270e92a0e42 nvme: also mark passthrough-only namespaces ready in nvme_update_ns_info
    6f2e0ae12aa8 net: __pskb_pull_tail() & pskb_carve_frag_list() drop_monitor friends
    c718ea4e7382 io_uring: add a schedule point in io_add_buffers()
    8628f489b749 bpf: Add schedule points in batch ops
    976406c5cc00 bpf: Fix a bpf_timer initialization issue
    755d4b744056 selftests: bpf: Check bpf_msg_push_data return value
    5d75e374eb77 bpf: Do not try bpf_msg_push_data with len 0
    719d1c2524c8 bpf: Fix crash due to incorrect copy_map_value
    de49b0e1cf62 net/mlx5: Update the list of the PCI supported devices
    9594d817b5eb ice: initialize local variable 'tlv'
    b3615ea66b91 ice: check the return of ice_ptp_gettimex64
    7e8da9964437 net/mlx5: Fix tc max supported prio for nic mode
    7efe8499cb90 hwmon: Handle failure to register sensor with thermal zone correctly
    86da2e4a1284 bnxt_en: Fix incorrect multicast rx mask setting when not requested
    24931b4d199e bnxt_en: Fix offline ethtool selftest with RDMA enabled
    f84bbb9893bd bnxt_en: Fix active FEC reporting to ethtool
    1243861bc002 bnx2x: fix driver load from initrd
    7c844c7af784 selftests: mptcp: be more conservative with cookie MPJ limits
    f76977643339 selftests: mptcp: fix diag instability
    f25ae162f4b3 mptcp: add mibs counter for ignored incoming options
    150d1e06c4f1 mptcp: fix race in incoming ADD_ADDR option processing
    40bbab9d4ed7 perf data: Fix double free in perf_session__delete()
    05ef4f56173e perf evlist: Fix failed to use cpu list for uncore events
    0b92b5f4c50b gpu: host1x: Always return syncpoint value when waiting
    734d80b4365a Revert "i40e: Fix reset bw limit when DCB enabled with 1 TC"
    1cfb33b338fb ping: remove pr_err from ping_lookup
    2922aff43397 optee: use driver internal tee_context for some rpc
    0efdc0360395 tee: export teedev_open() and teedev_close_context()
    6c5d780469d6 netfilter: nf_tables_offload: incorrect flow offload action array size
    144f3008524c netfilter: xt_socket: missing ifdef CONFIG_IP6_NF_IPTABLES dependency
    cb2313b216be netfilter: xt_socket: fix a typo in socket_mt_destroy()
    49909c9f8458 CDC-NCM: avoid overflow in sanity checking
    4b77aab7ada7 USB: zaurus: support another broken Zaurus
    9f2d61477990 sr9700: sanity check for packet length
    0726fca0b6cc drm/i915: Fix bw atomic check when switching between SAGV vs. no SAGV
    1b4445e09df8 drm/i915: Correctly populate use_sagv_wm for all pipes
    7782e3c4e539 drm/i915: Widen the QGV point mask
    8840d963e566 drm/amdgpu: do not enable asic reset for raven2
    70b2413ac30c drm/amdgpu: disable MMHUB PG for Picasso
    ea44fcee7e3d drm/amd: Check if ASPM is enabled from PCIe subsystem
    c00e4c01f470 drm/amd/pm: fix some OEM SKU specific stability issues
    211b67fb5a49 drm/amd/display: Protect update_bw_bounding_box FPU code.
    4c3644b6c96c KVM: x86/mmu: make apf token non-zero to fix bug
    759e5dc6554d parisc/unaligned: Fix ldw() and stw() unalignment handlers
    bf0b3d61e002 parisc/unaligned: Fix fldd and fstd unaligned handlers on 32-bit kernel
    960d474e451b vhost/vsock: don't check owner in vhost_vsock_stop() while releasing
    af091cc27e37 selinux: fix misuse of mutex_is_locked()
    0d773aaf5a90 io_uring: disallow modification of rsrc_data during quiesce
    7c83437fb3ae io_uring: don't convert to jiffies for waiting on timeouts
    6d20ff677349 clk: jz4725b: fix mmc0 clock gating
    b80fbc20f334 btrfs: tree-checker: check item_size for dev_item
    7e80846a9927 btrfs: tree-checker: check item_size for inode_item
    a6d9692cadb9 x86/ptrace: Fix xfpregs_set()'s incorrect xmm clearing
    ebeb7b73571e cgroup-v1: Correct privileges check in release_agent writes
    ffed0bf6a63d cgroup/cpuset: Fix a race between cpuset_attach() and cpu hotplug
    f89903ae99bd mm/filemap: Fix handling of THPs in generic_file_buffered_read()
    1e7beca28299 Linux 5.15.25
    5dcc36569734 lockdep: Correct lock_classes index mapping
    c2df4c62a189 i2c: brcmstb: fix support for DSL and CM variants
    ec7d87b64e78 ice: enable parsing IPSEC SPI headers for RSS
    0b4ea5b72b17 scsi: qedi: Fix ABBA deadlock in qedi_process_tmf_resp() and qedi_process_cmd_cleanup_resp()
    795feafb7234 copy_process(): Move fd_install() out of sighand->siglock critical section
    3e41445287af dmaengine: ptdma: Fix the error handling path in pt_core_init()
    8641ceb41f30 i2c: qcom-cci: don't put a device tree node before i2c_add_adapter()
    7512f91bc313 i2c: qcom-cci: don't delete an unregistered adapter
    052707279e70 tests: fix idmapped mount_setattr test
    6b186a23af0d dmaengine: sh: rcar-dmac: Check for error num after dma_set_max_seg_size
    4f3a0737992c dmaengine: stm32-dmamux: Fix PM disable depth imbalance in stm32_dmamux_probe
    62e228e3e169 dmaengine: sh: rcar-dmac: Check for error num after setting mask
    f4a821b098c5 net: sched: limit TC_ACT_REPEAT loops
    2b2be95b6013 ucounts: Move RLIMIT_NPROC handling after set_user
    b5f949d9a9c3 rlimit: Fix RLIMIT_NPROC enforcement failure caused by capability calls in set_user
    114e9f141822 lib/iov_iter: initialize "flags" in new pipe_buffer
    2d2d92cfcd3b ucounts: Enforce RLIMIT_NPROC not RLIMIT_NPROC+1
    efc853d8ffd5 ucounts: Base set_cred_ucounts changes on the real user
    f418bfabea43 ucounts: In set_cred_ucounts assume new->ucounts is non-NULL
    d464492eb391 ucounts: Handle wrapping in is_ucounts_overlimit
    e1e26697d032 EDAC: Fix calculation of returned address and next offset in edac_align_ptr()
    e6da726eb67d scsi: lpfc: Fix pt2pt NVMe PRLI reject LOGO loop
    3f2bc7f028f6 kconfig: fix failing to generate auto.conf
    88289d56cb28 net: macb: Align the dma and coherent dma masks
    b501b0f4e113 net: usb: qmi_wwan: Add support for Dell DW5829e
    1ddab2ee8829 drm/amd/display: fix yellow carp wm clamping
    929b2eddebc2 drm/amd/display: Cap pflip irqs per max otg number
    3fd92f5be6c4 display/amd: decrease message verbosity about watermarks table failure
    eb61dbb192b1 tracing: Fix tp_printk option related with tp_printk_stop_on_boot
    893297940084 drm/rockchip: dw_hdmi: Do not leave clock enabled in error case
    9921c866dc36 xprtrdma: fix pointer derefs in error cases of rpcrdma_ep_create
    b5caba5efbab soc: aspeed: lpc-ctrl: Block error printing on probe defer cases
    71720cae1cad ata: libata-core: Disable TRIM on M88V29
    62542c5f18a1 kconfig: let 'shell' return enough output for deep path names
    004458327695 ACPI: PM: Revert "Only mark EC GPE for wakeup on Intel systems"
    246dfbc12539 mm: io_uring: allow oom-killer from io_uring_setup
    54d69f072d5e selftests: fixup build warnings in pidfd / clone3 tests
    fc6d187f2986 pidfd: fix test failure due to stack overflow on some arches
    9659711c3248 arm64: dts: meson-g12: drop BL32 region from SEI510/SEI610
    42b3092ccfb1 arm64: dts: meson-g12: add ATF BL32 reserved-memory region
    de3b10b7ccc6 arm64: dts: meson-gx: add ATF BL32 reserved-memory region
    5644bf688e4a ksmbd: don't align last entry offset in smb2 query directory
    03dd71e0b9d8 ksmbd: fix same UniqueId for dot and dotdot entries
    7afed8b3608e netfilter: conntrack: don't refresh sctp entries in closed state
    f7b95b396700 x86/bug: Merge annotate_reachable() into _BUG_FLAGS() asm
    c4315bffe5d0 irqchip/sifive-plic: Add missing thead,c900-plic match string
    459b97c958c1 phy: phy-mtk-tphy: Fix duplicated argument in phy-mtk-tphy
    993db6da4aec staging: vc04_services: Fix RCU dereference check
    6a469cf7f372 phy: usb: Leave some clocks running during suspend
    9492e1e53e7d ARM: OMAP2+: adjust the location of put_device() call in omapdss_init_of
    1587d6b1e0b9 ARM: OMAP2+: hwmod: Add of_node_put() before break
    5f45f96f4189 KVM: x86/pmu: Use AMD64_RAW_EVENT_MASK for PERF_TYPE_RAW
    0d3b91d4d9f5 KVM: x86/pmu: Don't truncate the PerfEvtSeln MSR when creating a perf event
    d8110cb2cf19 KVM: x86/pmu: Refactoring find_arch_event() to pmc_perf_hw_id()
    c377e2ba78d3 Drivers: hv: vmbus: Fix memory leak in vmbus_add_channel_kobj
    6936f02d14ed mtd: rawnand: ingenic: Fix missing put_device in ingenic_ecc_get
    de0d102d0c8c HID: elo: fix memory leak in elo_probe
    ffe36e3a991e mtd: rawnand: brcmnand: Fixed incorrect sub-page ECC status
    9fd00a568663 mtd: phram: Prevent divide by zero bug in phram_setup()
    3eb5185896a6 mtd: parsers: qcom: Fix missing free for pparts in cleanup
    eb03cb6e03ff mtd: parsers: qcom: Fix kernel panic on skipped partition
    502f86f5168a mtd: rawnand: qcom: Fix clock sequencing in qcom_nandc_probe()
    e65450a12cf4 block: fix surprise removal for drivers calling blk_set_queue_dying
    e1dce8e127fd tty: n_tty: do not look ahead for EOL character past the end of the buffer
    21165833efa6 NFS: Do not report writeback errors in nfs_getattr()
    f1322f10f60c NFS: LOOKUP_DIRECTORY is also ok with symlinks
    f2238b4e83b6 NFS: Remove an incorrect revalidation in nfs4_update_changeattr_locked()
    4b9c861a589e block/wbt: fix negative inflight counter when remove scsi device
    a22b213139e0 ASoC: qcom: Actually clear DMA interrupt register for HDMI
    ce3e1f82da73 ASoC: tas2770: Insert post reset delay
    493c9e850677 scsi: ufs: Fix a deadlock in the error handler
    2af0fdfbfb37 scsi: ufs: Remove dead code
    84c109620fef tipc: fix wrong notification node addresses
    727dd33561d5 smb3: fix snapshot mount option
    4a7ec50298b1 mtd: rawnand: gpmi: don't leak PM reference in error path
    45948a4b1fd0 powerpc/lib/sstep: fix 'ptesync' build error
    0e0b5705640c powerpc/603: Fix boot failure with DEBUG_PAGEALLOC and KFENCE
    68b8924f6038 cifs: fix set of group SID via NTSD xattrs
    b4b8e7ae1346 ASoC: ops: Fix stereo change notifications in snd_soc_put_xr_sx()
    312d8074bc99 ASoC: ops: Fix stereo change notifications in snd_soc_put_volsw_sx()
    ed1e33f121ea ASoC: ops: Fix stereo change notifications in snd_soc_put_volsw_range()
    edb43ae4ca8d ASoC: ops: Fix stereo change notifications in snd_soc_put_volsw()
    900d37d7d8ef ALSA: hda: Fix missing codec probe on Shenker Dock 15
    f9d9574a8ba8 ALSA: hda: Fix regression on forced probe mask option
    3b6134e35a60 ALSA: hda/realtek: Fix deadlock by COEF mutex
    a562de3b700a ALSA: hda/realtek: Add quirk for Legion Y9000X 2019
    2c9a7e11127e ALSA: usb-audio: revert to IMPLICIT_FB_FIXED_DEV for M-Audio FastTrack Ultra
    7285daaca3cd arm64: Correct wrong label in macro __init_el2_gicv3
    b04dcc00ae33 selftests/exec: Add non-regular to TEST_GEN_PROGS
    bf4161eb7e3b perf bpf: Defer freeing string after possible strlen() on it
    e8ba5b039eea net: bridge: multicast: notify switchdev driver whenever MC processing gets disabled
    6b1c9f99c2e6 dpaa2-eth: Initialize mutex used in one step timestamping path
    d3c9dd36ec24 dpaa2-switch: fix default return of dpaa2_switch_flower_parse_mirror_key
    1a16f047946b tipc: fix wrong publisher node address in link publications
    868366d627e4 atl1c: fix tx timeout after link flap on Mikrotik 10/25G NIC
    0e6727589aea net: phy: mediatek: remove PHY mode check on MT7531
    7de7ba7a8bd4 net/smc: Avoid overwriting the copies of clcsock callback functions
    f8ba235c4927 libsubcmd: Fix use-after-free for realloc(..., 0)
    4c9f207810b7 bonding: fix data-races around agg_select_timer
    9bb363ba014f net_sched: add __rcu annotation to netdev->qdisc
    3077976a752a drop_monitor: fix data-race in dropmon_net_event / trace_napi_poll_hit
    bdb6df9bedb3 bonding: force carrier update when releasing slave
    b9ff5667e116 ping: fix the dif and sdif check in ping_lookup
    392c42424ae0 net: ieee802154: ca8210: Fix lifs/sifs periods
    4b27446b538d net: dsa: lan9303: add VLAN IDs to master device
    860c5c275ed2 net: dsa: lan9303: handle hwaccel VLAN tags
    df2495f329b0 net: dsa: lantiq_gswip: fix use after free in gswip_remove()
    2566a89b9e16 net: dsa: mv88e6xxx: flush switchdev FDB workqueue before removing VLAN
    d8905a499af4 net: dsa: lan9303: fix reset on probe
    241e633cb379 cfg80211: fix race in netlink owner interface destruction
    c4caf72a42d3 brcmfmac: firmware: Fix crash in brcm_alt_fw_path
    00fb850c8a1a mac80211: mlme: check for null after calling kmemdup
    61e8fc49a9f8 Revert "net: ethernet: bgmac: Use devm_platform_ioremap_resource_byname"
    d51cd648dbca ipv6: per-netns exclusive flowlabel checks
    3e11ef1903cf ipv6: mcast: use rcu-safe version of ipv6_get_lladdr()
    9ed25183e6d4 ipv6: fix data-race in fib6_info_hw_flags_set / fib6_purge_rt
    db333693b052 ipv4: fix data races in fib_alias_hw_flags_set
    5dc653ef0785 selftests: netfilter: disable rp_filter on router
    2035d13eb12e netfilter: nft_synproxy: unregister hooks on init error path
    a1d9e1f14207 selftests: netfilter: fix exit value for nft_concat_range
    b10f4b00e10a iwlwifi: mvm: don't send SAR GEO command for 3160 devices
    c448b0541abf iwlwifi: pcie: gen2: fix locking when "HW not ready"
    78cd5c0acfed iwlwifi: pcie: fix locking when "HW not ready"
    79bdf56cc55d drm/i915/ttm: tweak priority hint selection
    e4778408c04d drm/i915/gvt: Make DRM_I915_GVT depend on X86
    02f7d38533ba drm/cma-helper: Set VM_DONTEXPAND for mmap
    787468ee7a43 vsock: remove vsock from connected table when connect is interrupted by a signal
    fe802b3fe763 drm/i915: Fix mbus join config lookup
    34f5556ddf2b drm/i915: Fix dbuf slice config lookup
    d006f2fe7d62 drm/i915/opregion: check port number bounds for SWSCI display power state
    960c8a55016b drm/amdgpu: skipping SDMA hw_init and hw_fini for S0ix.
    3851046599c1 drm/amd/pm: correct the sequence of sending gpu reset msg
    a1596e0277ed drm/atomic: Don't pollute crtc_state->mode_blob with error pointers
    68f3a4252e97 drm/radeon: Fix backlight control on iMac 12,1
    ddd46059f7d9 iwlwifi: fix use-after-free
    8209fede7d58 KVM: x86: nSVM: mark vmcb01 as dirty when restoring SMM saved state
    74b426bea4f7 KVM: x86: nSVM: fix potential NULL derefernce on nested migration
    417b87cb2311 KVM: x86: SVM: don't passthrough SMAP/SMEP/PKE bits in !NPT && !gCR0.PG case
    cd14c7342df5 KVM: x86: nSVM/nVMX: set nested_run_pending on VM entry which is a result of RSM
    b5c86e750388 KVM: x86/xen: Fix runstate updates to be atomic when preempting vCPU
    b16817a6de31 random: wake up /dev/random writers after zap
    effdcc250584 gcc-plugins/stackleak: Use noinstr in favor of notrace
    0a01326fddf6 Revert "module, async: async_synchronize_full() on module init iff async is used"
    769a6b33ec9f x86/Xen: streamline (and fix) PV CPU enumeration
    0fec53c5dca8 drm/amdgpu: fix logic inversion in check
    38108fd273ac drm/amd: Only run s3 or s0ix if system is configured properly
    72808bb42c87 drm/amd: add support to check whether the system is set to s3
    0ceba4d64fee net: sparx5: do not refer to skb after passing it on
    646952b2210f nvme-rdma: fix possible use-after-free in transport error_recovery work
    5e42fca37ccc nvme-tcp: fix possible use-after-free in transport error_recovery work
    e043fb5a0336 nvme: fix a possible use-after-free in controller reset during load
    64519c9e32ac drm/amd: Warn users about potential s0ix problems
    d9d93f32534a scsi: pm8001: Fix use-after-free for aborted SSP/STP sas_task
    3c334cdfd949 scsi: pm8001: Fix use-after-free for aborted TMF sas_task
    f2c58667ffcd scsi: core: Reallocate device's budget map on queue depth change
    46756cc81099 kselftest: Fix vdso_test_abi return status
    3801775a07b5 scsi: pm80xx: Fix double completion for SATA devices
    64d6f76958c5 quota: make dquot_quota_sync return errors from ->sync_fs
    38f22c730c38 vfs: make freeze_super abort when sync_filesystem returns error
    5d3e1af11e07 pinctrl: bcm63xx: fix unmet dependency on REGMAP for GPIO_REGMAP
    4c958f0c5714 ax25: improve the incomplete fix to avoid UAF and NPD bugs
    bced176da6e0 selftests: skip mincore.check_file_mmap when fs lacks needed support
    7d10b671a052 selftests: openat2: Skip testcases that fail with EOPNOTSUPP
    04542fd44dd7 selftests: openat2: Add missing dependency in Makefile
    a613105e07b9 selftests: openat2: Print also errno in failure messages
    16d28de2f361 selftests/zram: Adapt the situation that /dev/zram0 is being used
    9172557bdf13 selftests/zram01.sh: Fix compression ratio calculation
    586ec7c0992a selftests/zram: Skip max_comp_streams interface on newer kernel
    23b2a2538240 net: ieee802154: at86rf230: Stop leaking skb's
    c99068d6839c kselftest: signal all child processes
    eb3b35385558 selftests: rtc: Increase test timeout so that all tests run
    ec1d9bb08850 kunit: tool: Import missing importlib.abc
    fdad28ff1d1d platform/x86: ISST: Fix possible circular locking dependency detected
    54688a550924 platform/x86: touchscreen_dmi: Add info for the RWC NANOTE P8 AY07J 2-in-1
    7e234c47fd2f btrfs: send: in case of IO error log it
    94e76b372817 parisc: Add ioread64_lo_hi() and iowrite64_lo_hi()
    c7a4b1d155d3 PCI: hv: Fix NUMA node assignment when kernel boots with custom NUMA topology
    7da6ba116cdc HID: amd_sfh: Correct the structure field name
    6b75f5c18f38 HID: amd_sfh: Increase sensor command timeout
    bdbc65eb77ee HID: i2c-hid: goodix: Fix a lockdep splat
    6451058f2720 HID: amd_sfh: Add illuminance mask to limit ALS max value
    b3dc4b9d3ca6 mm: don't try to NUMA-migrate COW pages that have other uses
    f3ff5f75d8f6 mmc: block: fix read single on recovery logic
    5b6e29b9306c parisc: Fix sglist access in ccio-dma.c
    8c8e949ae81e parisc: Fix data TLB miss in sba_unmap_sg
    9413b2e2bdb7 parisc: Drop __init from map_pages declaration
    35c955b5a45e serial: parisc: GSC: fix build when IOSAPIC is not set
    7a25d8249971 parisc: Show error if wrong 32/64-bit compiler is being used
    9750d45760c8 Revert "svm: Add warning message for AVIC IPI invalid target"
    65ad2f6191a6 HID:Add support for UGTABLET WP5540
    06bd0f157e70 scsi: lpfc: Fix mailbox command failure during driver initialization
    ae6ca6343929 btrfs: zoned: cache reported zone during mount
    a8dd0cfa3779 fs/proc: task_mmu.c: don't read mapcount for migration entry
    f0a60c7c4ede drm/nouveau/pmu/gm200-: use alternate falcon reset sequence
    a0ebea480bb3 Linux 5.15.24
    65ab30f6a695 iommu: Fix potential use-after-free during probe
    7969fe91c983 perf: Fix list corruption in perf_cgroup_switch()
    8ebcd2c680e1 arm64: dts: imx8mq: fix lcdif port node
    48f54966f7f7 MIPS: octeon: Fix missed PTR->PTR_WD conversion
    cd4494f8685c scsi: lpfc: Reduce log messages seen after firmware download
    6737f9a95a42 scsi: lpfc: Remove NVMe support if kernel has NVME_FC disabled
    c8e9c2b52c4c Makefile.extrawarn: Move -Wunaligned-access to W=1
    24645c47880b x86/sgx: Silence softlockup detection when releasing large enclaves
    30de73bebf2b hwmon: (dell-smm) Speed up setting of fan speed
    16cde074b00c bus: mhi: pci_generic: Add mru_default for Cinterion MV31-W
    2c1d20e34669 bus: mhi: pci_generic: Add mru_default for Foxconn SDX55
    fe990b7bf6ac s390/cio: verify the driver availability for path_event call
    56ca18dd5483 signal: HANDLER_EXIT should clear SIGNAL_UNKILLABLE
    f7a56fcca2e4 seccomp: Invalidate seccomp mode to catch death failures
    956cf21cd1ae mm: memcg: synchronize objcg lists with a dedicated spinlock
    b7f54894aa75 iio: buffer: Fix file related error handling in IIO_BUFFER_GET_FD_IOCTL
    7a360e546ad9 phy: ti: Fix missing sentinel for clk_div_table
    12431425c466 speakup-dectlk: Restore pitch setting
    9ae3dad535a9 USB: serial: cp210x: add CPI Bulk Coin Recycler id
    7e5108a22f19 USB: serial: cp210x: add NCR Retail IO box id
    8d226d39d052 USB: serial: ch341: add support for GW Instek USB2.0-Serial devices
    2ea4f4612cb9 USB: serial: option: add ZTE MF286D modem
    24311a9fc426 USB: serial: ftdi_sio: add support for Brainboxes US-159/235/320
    2330b2ba6465 usb: raw-gadget: fix handling of dual-direction-capable endpoints
    33d2a0c1ec20 usb: gadget: f_uac2: Define specific wTerminalType
    2da3b0ab54fb usb: gadget: rndis: check size of RNDIS_MSG_SET command
    3e33e5c67cb9 USB: gadget: validate interface OS descriptor requests
    d3d5bfb3a279 usb: gadget: udc: renesas_usb3: Fix host to USB_ROLE_NONE transition
    8d2b04dad380 usb: dwc3: gadget: Prevent core from processing stale TRBs
    93feb2bdf6d4 usb: ulpi: Call of_node_put correctly
    fc50f42e4616 usb: ulpi: Move of_node_put to ulpi_dev_release
    ffd0393adcdc net: usb: ax88179_178a: Fix out-of-bounds accesses in RX fixup
    f4e72ad027b0 Revert "usb: dwc2: drd: fix soft connect when gadget is unconfigured"
    a6ef1bda0efd usb: dwc2: drd: fix soft connect when gadget is unconfigured
    9a5f471ae380 eeprom: ee1004: limit i2c reads to I2C_SMBUS_BLOCK_MAX
    decb36e9a9f0 n_tty: wake up poll(POLLRDNORM) on receiving data
    573321db328b vt_ioctl: add array_index_nospec to VT_ACTIVATE
    ffe54289b02e vt_ioctl: fix array_index_nospec in vt_setactivate
    f916181692cb net: dsa: mv88e6xxx: fix use-after-free in mv88e6xxx_mdios_unregister
    d98ba26a4ba9 net: mscc: ocelot: fix mutex lock error during ethtool stats read
    41a8c548d47b ice: Avoid RTNL lock when re-creating auxiliary device
    f9daedc3ab8f ice: Fix KASAN error in LAG NETDEV_UNREGISTER handler
    52eb5c86ede4 ice: fix IPIP and SIT TSO offload
    efd399e12c1b ice: fix an error code in ice_cfg_phy_fec()
    12e067a4d98f dpaa2-eth: unregister the netdev before disconnecting from the PHY
    29b25d5f8f30 mptcp: netlink: process IPv6 addrs in creating listening sockets
    dcd1c4663469 drm/amd/pm: fix hwmon node of power1_label create issue
    4b24ef1d03cf net: amd-xgbe: disable interrupts during pci removal
    489d9fa78e59 tipc: rate limit warning for received illegal binding update
    bb04b5527aff net: mdio: aspeed: Add missing MODULE_DEVICE_TABLE
    b8ac37e57044 veth: fix races around rq->rx_notify_masked
    fdcb263fa5cd net: fix a memleak when uncloning an skb dst and its metadata
    f1ab1ba32d36 net: do not keep the dst cache when uncloning an skb dst and its metadata
    6cbe14cc0eb6 nfp: flower: fix ida_idx not being released
    3cab045c99db ipmr,ip6mr: acquire RTNL before calling ip[6]mr_free_table() on failure path
    b5652bc50dde net: dsa: lantiq_gswip: don't use devres for mdiobus
    46b747232329 net: dsa: mt7530: fix kernel bug in mdiobus_free() when unbinding
    8cda7577a0b4 net: dsa: felix: don't use devres for mdiobus
    caabb5f64f5c net: dsa: bcm_sf2: don't use devres for mdiobus
    aae1c6a1d3d6 net: dsa: ar9331: register the mdiobus under devres
    8b626d45127d net: dsa: mv88e6xxx: don't use devres for mdiobus
    147540cae264 bonding: pair enable_port with slave_arr_updates
    3523167d6658 fbcon: Avoid 'cap' set but not used warning
    ef2cb1fc0365 gpio: sifive: use the correct register to read output values
    d9daa2b76dde gpiolib: Never return internal error codes to user space
    e799974e7cbb ACPI: PM: s2idle: Cancel wakeup before dispatching EC GPE
    ab142ea5d502 drm/panel: simple: Assign data from panel_dpi_probe() correctly
    9e3dd49145f3 ixgbevf: Require large buffers for build_skb on 82599VF
    51eece9f8a1d arm64: dts: meson-sm1-odroid: fix boot loop after reboot
    57154c07ed62 arm64: dts: meson-sm1-bananapi-m5: fix wrong GPIO domain for GPIOE_2
    162f8057192c arm64: dts: meson-sm1-odroid: use correct enable-gpio pin for tf-io regulator
    006dc5815bb3 arm64: dts: meson-g12b-odroid-n2: fix typo 'dio2133'
    c5ee4cbd0f1b netfilter: ctnetlink: disable helper autoassign
    7f486bed5ec0 net: sparx5: Fix get_stat64 crash in tcpdump
    e4382d0a39f9 misc: fastrpc: avoid double fput() on failed usercopy
    f5e8733d93cf drm/vc4: hdmi: Allow DBLCLK modes even if horz timing is odd.
    3d2bc21a6768 NFS: Don't skip directory entries when doing uncached readdir
    557302faea9c NFS: Don't overfill uncached readdir pages
    00181d6c9665 gpio: aggregator: Fix calling into sleeping GPIO controllers
    ddcb149ce10a phy: dphy: Correct clk_pre parameter
    72a8aee863af usb: f_fs: Fix use-after-free for epfile
    0ed2f9a97a92 arm64: dts: imx8mq: fix mipi_csi bidirectional port numbers
    af6a1d60a13c ARM: dts: imx7ulp: Fix 'assigned-clocks-parents' typo
    94b16ca86ab6 phy: stm32: fix a refcount leak in stm32_usbphyc_pll_enable()
    541ec7bfeed3 phy: xilinx: zynqmp: Fix bus width setting for SGMII
    58c42f415b81 ARM: dts: imx6qdl-udoo: Properly describe the SD card detect
    025c6eef1490 staging: fbtft: Fix error path in fbtft_driver_module_init()
    c0ad2c2cac1b phy: broadcom: Kconfig: Fix PHY_BRCM_USB config option
    86cdc3060d41 ARM: dts: meson8b: Fix the UART device-tree schema validation
    5253b083f0a8 ARM: dts: meson8: Fix the UART device-tree schema validation
    00d135070efa ARM: dts: meson: Fix the UART compatible strings
    c22bddf61db0 ARM: dts: Fix timer regression for beagleboard revision c
    ac14a51c3169 drm/i915: Populate pipe dbuf slices more accurately during readout
    8d6a31b83cdd drm/i915: Allow !join_mbus cases for adlp+ dbuf configuration
    05ffa30c99f7 drm/rockchip: vop: Correct RK3399 VOP register fields
    c1af59449d80 drm/amdgpu/display: change pipe policy for DCN 2.0
    0e546bb1324e PM: s2idle: ACPI: Fix wakeup interrupts handling
    65aabd296665 ACPI/IORT: Check node revision for PMCG resources
    64c37c05f7ad nvme-tcp: fix bogus request completion when failing to send AER
    7740eb27c38e ARM: socfpga: fix missing RESET_CONTROLLER
    ccdd7956cd28 ARM: dts: Fix boot regression on Skomer
    14917a884f70 ARM: dts: imx23-evk: Remove MX23_PAD_SSP1_DETECT from hog group
    4134396f99d2 gfs2: Fix gfs2_release for non-writers regression
    71f46f3d1bf2 riscv: eliminate unreliable __builtin_frame_address(1)
    efe220337181 riscv: cpu-hotplug: clear cpu from numa map when teardown
    7486227fa47a riscv: fix build with binutils 2.38
    67398d2c7b8c KVM: x86: Report deprecated x87 features in supported CPUID
    c09a83ae3b2e KVM: VMX: Set vmcs.PENDING_DBG.BS on #DB in STI/MOVSS blocking shadow
    f7da3276e087 KVM: SVM: Don't kill SEV guest if SMAP erratum triggers in usermode
    11f9427d01a3 KVM: nVMX: Also filter MSR_IA32_VMX_TRUE_PINBASED_CTLS when eVMCS
    a3c43649600b KVM: nVMX: eVMCS: Filter out VM_EXIT_SAVE_VMX_PREEMPTION_TIMER
    d44af3ad2a21 KVM: eventfd: Fix false positive RCU usage warning
    a85f3ea1407f net: stmmac: dwmac-sun8i: use return val of readl_poll_timeout()
    a3ba49c129ed MIPS: Fix build error due to PTR used in more places
    96f91a877a5c nvme-pci: add the IGNORE_DEV_SUBNQN quirk for Intel P4500/P4600 SSDs
    a3486ef99a3b perf: Always wake the parent event
    8981a8fd900e usb: dwc2: gadget: don't try to disable ep0 in dwc2_hsotg_suspend
    a277422a8d97 drm/amd/display: Correct MPC split policy for DCN301
    dc5769c7b063 PM: hibernate: Remove register_nosave_region_late()
    50fe79589c14 net: stmmac: reduce unnecessary wakeups from eee sw timer
    6207f35c213f scsi: myrs: Fix crash in error case
    0c8d27c2aae5 scsi: ufs: Treat link loss as fatal error
    f0a91d892310 scsi: ufs: Use generic error code in ufshcd_set_dev_pwr_mode()
    cb26e94204d7 scsi: pm8001: Fix bogus FW crash for maxcpus=1
    1c22df15cf40 scsi: qedf: Change context reset messages to ratelimited
    6be8eaad75ca scsi: qedf: Fix refcount issue when LOGO is received during TMF
    1f53bbf27a87 scsi: qedf: Add stag_work to all the vports
    83f31dab46b2 scsi: ufs: ufshcd-pltfrm: Check the return value of devm_kstrdup()
    4f786e8f18c3 scsi: target: iscsi: Make sure the np under each tpg is unique
    43ae0ccc4d27 powerpc/fixmap: Fix VM debug warning on unmap
    fa693cfd8fe4 net: sched: Clarify error message when qdisc kind is unknown
    9696125fb3ca drm: panel-orientation-quirks: Add quirk for the 1Netbook OneXPlayer
    770d1ba9a820 drm/vc4: Fix deadlock on DSI device attach error
    85008bde411d sched: Avoid double preemption in __cond_resched_*lock*()
    ec903b6daa58 x86/perf: Avoid warning for Arch LBR without XSAVE
    ef5685971abd perf/x86/rapl: fix AMD event handling
    3f4e05eb46ae irqchip/realtek-rtl: Service all pending interrupts
    4403233b8775 sunrpc: Fix potential race conditions in rpc_sysfs_xprt_state_change()
    4b22aa42bd4d net/sunrpc: fix reference count leaks in rpc_sysfs_xprt_state_change
    5ca123c91a64 SUNRPC allow for unspecified transport time in rpc_clnt_add_xprt
    c5ae18fa8d71 NFSv4 handle port presence in fs_location server string
    be67be6a1a8f NFSv4 expose nfs_parse_server_name function
    6f2836341d8a NFSv4.1 query for fs_location attr on a new file system
    2df6a47a131a NFSv4 store server support for fs_location attribute
    0c5d3bfb2967 NFSv4 remove zero number of fs_locations entries error check
    3cb5b317901e NFSv4.1: Fix uninitialised variable in devicenotify
    58967a232ab3 nfs: nfs4clinet: check the return value of kstrdup()
    bbf647ecebc0 NFSv4 only print the label when its queried
    38ae938701e7 NFS: change nfs_access_get_cached to only report the mask
    78c28fdf1685 tracing: Propagate is_signed to expression
    8fdaa9a6ace2 thermal/drivers/int340x: Fix RFIM mailbox write commands
    5abd95ff5d6a thermal: int340x: Limit Kconfig to 64-bit
    786293f61b4b thermal/drivers/int340x: processor_thermal: Suppot 64 bit RFIM responses
    e9b0301939d1 thermal/drivers/int340x: Improve the tcc offset saving for suspend/resume
    c6eff5c42771 NFSD: Fix the behavior of READ near OFFSET_MAX
    c9a8571dd893 NFSD: Fix offset type in I/O trace points
    01c3ae81eef4 NFSD: Clamp WRITE offsets
    8e0ecaf7a7e5 NFSD: Fix ia_size underflow
    37f2d2cd8ead NFSD: Fix NFSv3 SETATTR/CREATE's handling of large file sizes
    535e301ea677 NFS: Fix initialisation of nfs_client cl_flags field
    6b42352bea56 net: phy: marvell: Fix MDI-x polarity setting in 88e1118-compatible PHYs
    9338c17e2c63 net: phy: marvell: Fix RGMII Tx/Rx delays setting in 88e1121-compatible PHYs
    540dff311c9a can: isotp: fix error path in isotp_sendmsg() to unlock wait queue
    f90cc68f9f4b can: isotp: fix potential CAN frame reception race in isotp_rcv()
    dbe7bf9b6fc8 mmc: core: Wait for command setting 'Power Off Notification' bit to complete
    222c071fadd6 mmc: sdhci-of-esdhc: Check for error num after setting mask
    cf4570ca8ed6 ima: Do not print policy rule with inactive LSM labels
    5389ea64af1e ima: Allow template selection with ima_template[_fmt]= after ima_hash=
    20805cdf95af ima: Remove ima_policy file before directory
    0838d6d68182 ima: fix reference leak in asymmetric_verify()
    739b7bb886b5 integrity: check the return value of audit_log_start()
    c1d3ac0c115f Linux 5.15.23
    1f1788616157 tipc: improve size validations for received domain records
    40eb05e5e72b crypto: api - Move cryptomgr soft dependency into algapi
    ab32ea3ad0d5 ksmbd: fix SMB 3.11 posix extension mount failure
    14f880ea779e KVM: s390: Return error on SIDA memop on normal guest
    c28ee73fea29 arm64: Add Cortex-A510 CPU part definition
    af0e6c49438b moxart: fix potential use-after-free on remove path
    0bf5b7cc9848 Linux 5.15.22
    3853c4e27149 selftests: netfilter: check stateless nat udp checksum fixup
    b84753200e79 selftests: nft_concat_range: add test for reload with no element add/del
    7c0ee51fe998 gpio: mpc8xxx: Fix an ignored error return from platform_get_irq()
    3d631a1af0d7 gpio: idt3243x: Fix an ignored error return from platform_get_irq()
    ff43b75eea32 tools include UAPI: Sync sound/asound.h copy with the kernel sources
    f5afdefe188e cgroup/cpuset: Fix "suspicious RCU usage" lockdep warning
    e4a7e1418ab7 net: dsa: mt7530: make NET_DSA_MT7530 select MEDIATEK_GE_PHY
    f187daed64e1 ext4: fix incorrect type issue during replay_del_range
    1b6762ecdf3c ext4: fix error handling in ext4_fc_record_modified_inode()
    ce38bb98cec7 ext4: fix error handling in ext4_restore_inline_data()
    869cb287d893 ext4: modify the logic of ext4_mb_new_blocks_simple
    0cb4480bc4f4 ext4: prevent used blocks from being allocated during fast commit replay
    d583cb17ee50 EDAC/xgene: Fix deferred probing
    c6c04bb32b73 EDAC/altera: Fix deferred probing
    587dadb43c9a x86/perf: Default set FREEZE_ON_SMI for all
    e83d941fd344 perf/x86/intel/pt: Fix crash with stop filters in single-range mode
    0f4dcaeaf6ae perf stat: Fix display of grouped aliased events
    64e133ce280b perf: Copy perf_event_attr::sig_data on modification
    9a60e92b76d6 kvm/arm64: rework guest entry logic
    83071e2dad68 kvm: add guest_state_{enter,exit}_irqoff()
    aba976f96bbc rtc: cmos: Evaluate century appropriate
    3b5fcdfab628 e1000e: Separate ADP board type from TGP
    b3a4d501e91c tools/resolve_btfids: Do not print any commands when building silently
    7620887a7779 selftests: futex: Use variable MAKE instead of make
    c5610494fd45 selftests/exec: Remove pipe from TEST_GEN_FILES
    5e457aeab52a bpf: Use VM_MAP instead of VM_ALLOC for ringbuf
    62ab929a8f6b gve: fix the wrong AdminQ buffer queue index check
    3611f4f91e11 nfsd: nfsd4_setclientid_confirm mistakenly expires confirmed client.
    2f5a1ac68bdf scsi: bnx2fc: Make bnx2fc_recv_frame() mp safe
    0bb4c6b9ecff pinctrl: bcm2835: Fix a few error paths
    3cdcfa3c526e pinctrl: intel: fix unexpected interrupt
    ca63438dc5c4 pinctrl: intel: Fix a glitch when updating IRQ flags on a preconfigured line
    d4036172ca3b pinctrl: sunxi: Fix H616 I2S3 pin data
    f00012885e70 ASoC: codecs: wcd938x: fix return value of mixer put function
    b54ff87a1567 ASoC: codecs: lpass-rx-macro: fix sidetone register offsets
    aa7152f9f117 ASoC: codecs: wcd938x: fix incorrect used of portid
    baead410e5db ASoC: max9759: fix underflow in speaker_gain_control_put()
    263b947aa4c1 ASoC: cpcap: Check for NULL pointer after calling of_get_child_by_name
    841e6a6b831b ASoC: simple-card: fix probe failure on platform component
    c6cf5b5078db ASoC: xilinx: xlnx_formatter_pcm: Make buffer bytes multiple of period bytes
    9d44f73df070 ASoC: fsl: Add missing error handling in pcm030_fabric_probe
    8a15ac1786c9 drm/amd: avoid suspend on dGPUs w/ s2idle support when runtime PM enabled
    5cba71707f0a drm/i915/overlay: Prevent divide by zero bugs in scaling
    b2c91bee7970 drm/kmb: Fix for build errors with Warray-bounds
    a84854bc230a net: stmmac: ensure PTP time register reads are consistent
    27ea34ead54a net: stmmac: dump gmac4 DMA registers correctly
    0ced878998f2 net: macsec: Verify that send_sci is on when setting Tx sci explicitly
    e7a0b3a0806d net: macsec: Fix offload support for NETDEV_UNREGISTER event
    2967b08119d5 net: stmmac: properly handle with runtime pm in stmmac_dvr_remove()
    6358e093547c net: stmmac: dwmac-visconti: No change to ETHER_CLOCK_SEL for unexpected speed request.
    0ef6049f6649 net/smc: Forward wakeup to smc socket waitqueue after fallback
    ea8ecd2d65b4 net: ieee802154: Return meaningful error codes from the netlink helpers
    566bf0e1c761 netfilter: nft_reject_bridge: Fix for missing reply from prerouting
    94cd597e20ed net: ieee802154: ca8210: Stop leaking skb's
    6c6b19a99131 net: ieee802154: mcr20a: Fix lifs/sifs periods
    29e60b77a449 net: ieee802154: hwsim: Ensure proper channel selection at probe time
    bb7a226780e2 IB/cm: Release previously acquired reference counter in the cm_id_priv
    40e20ba90390 IB/hfi1: Fix tstats alloc and dealloc
    dd00b4f8f768 spi: uniphier: fix reference count leak in uniphier_spi_probe()
    66606d329d61 spi: meson-spicc: add IRQ check in meson_spicc_probe
    7352f2c26482 spi: mediatek: Avoid NULL pointer crash in interrupt
    101a1cf8af55 spi: bcm-qspi: check for valid cs before applying chip select
    ca1f48c30e5b iommu/amd: Fix loop timeout issue in iommu_ga_log_enable()
    336d096b62bd iommu/vt-d: Fix potential memory leak in intel_setup_irq_remapping()
    e4b74b89862c ALSA: hda: Skip codec shutdown in case the codec is not registered
    0c5c64335657 ALSA: hda: Fix signedness of sscanf() arguments
    c2a91f1ef38a ALSA: usb-audio: initialize variables that could ignore errors
    63c69c93d978 RDMA/mlx4: Don't continue event handler after memory allocation failure
    035ea99c537d RDMA/siw: Fix broken RDMA Read Fence/Resume logic.
    7d9ad6f9f38f IB/rdmavt: Validate remote_addr during loopback atomic tests
    2989ba9532ba RDMA/siw: Fix refcounting leak in siw_create_qp()
    2923948ffe08 RDMA/ucma: Protect mc during concurrent multicast leaves
    7715682f357d RDMA/cma: Use correct address when leaving multicast group
    0452c3dc851b KVM: arm64: Stop handle_exit() from handling HVC twice when an SError occurs
    e1e852746997 KVM: arm64: Avoid consuming a stale esr value when SError occur
    aff6657f5243 Revert "ASoC: mediatek: Check for error clk pointer"
    9908c759a17e mptcp: fix msk traversal in mptcp_nl_cmd_set_flags()
    778283dc2840 fbcon: Add option to enable legacy hardware acceleration
    2a2629db4248 Revert "fbcon: Disable accelerated scrolling"
    a3dd4d2682f2 IB/hfi1: Fix AIP early init panic
    24f8e12d965b dma-buf: heaps: Fix potential spectre v1 gadget
    f576721152fd block: bio-integrity: Advance seed correctly for larger interval sizes
    a5389c80992f mm/kmemleak: avoid scanning potential huge holes
    65a4863a4ed5 mm/pgtable: define pte_index so that preprocessor could recognize it
    120973e64db9 mm/debug_vm_pgtable: remove pte entry from the page table
    90391ac6888e nvme-fabrics: fix state check in nvmf_ctlr_matches_baseopts()
    2093ecf557e7 drm/amd/display: Force link_rate as LINK_RATE_RBR2 for 2018 15" Apple Retina panels
    7ff0ed88e4eb drm/amd/display: watermark latencies is not enough on DCN31
    4f4c77ad5a13 drm/amd/pm: correct the MGpuFanBoost support for Beige Goby
    39ac3945d966 drm/i915/adlp: Fix TypeC PHY-ready status readout
    d877e814a62b drm/nouveau: fix off by one in BIOS boundary checking
    b9e9f848c82b Revert "fs/9p: search open fids first"
    a7b717fa1516 btrfs: fix use-after-free after failure to create a snapshot
    89d4cca583fc btrfs: fix deadlock between quota disable and qgroup rescan worker
    f4b2736eeb62 btrfs: don't start transaction for scrub if the fs is mounted read-only
    7ccf5849bef7 ALSA: hda/realtek: Fix silent output on Gigabyte X570 Aorus Xtreme after reboot from Windows
    9fc509f806a5 ALSA: hda/realtek: Fix silent output on Gigabyte X570S Aorus Master (newer chipset)
    b3625b0017a4 ALSA: hda/realtek: Add missing fixup-model entry for Gigabyte X570 ALC1220 quirks
    730f823e3c68 ALSA: hda/realtek: Add quirk for ASUS GU603
    586d71ddee6c ALSA: hda: realtek: Fix race at concurrent COEF updates
    0e629052f013 ALSA: hda: Fix UAF of leds class devs at unbinding
    303e89f94b66 ALSA: usb-audio: Correct quirk for VF0770
    b0a7836ecf13 ASoC: ops: Reject out of bounds values in snd_soc_put_xr_sx()
    e8e07c5e25a2 ASoC: ops: Reject out of bounds values in snd_soc_put_volsw_sx()
    9e8895f1b3d4 ASoC: ops: Reject out of bounds values in snd_soc_put_volsw()
    10007bd96b6c ASoC: hdmi-codec: Fix OOB memory accesses
    0b8b02903173 spi: stm32-qspi: Update spi registering
    45ba0a5fa0a6 ipc/sem: do not sleep with a spin lock held
    b8d9e0aec158 audit: improve audit queue handling when "audit=1" on cmdline
    70caa32e6d81 selinux: fix double free of cond_list on error paths
    d63d077fc446 drm/i915: Disable DSB usage for now
    f01ed5defb04 Linux 5.15.21
    2b2f53331b3a Revert "drm/vc4: hdmi: Make sure the device is powered with CEC" again
    a03d2f9f82bd Revert "drm/vc4: hdmi: Make sure the device is powered with CEC"

(From meta-yocto rev: b608714c3fc60c43cb3dc6d1b1c04ffc5a6c106c)

(From meta-yocto rev: 7cbffb2065312ab8d2164b509c4d0cdb848283bd)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 9abfc74ab404ada55fc058e8bc685e56fa132f0c)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-13 09:34:27 +01:00
Richard Purdie
ca27d0e613 abi_version/sstate: Bump hashequiv and sstate versions due to git changes
The autobuilder sstate was corrupted via incorrect equiavlences caused by
the security fix to git and the poor interaction that had with SCM version
checks under fakeroot/pseudo. Bump the versions to enable a clean slate
to work off.

(From OE-Core rev: 69f2d0822462e77d09b4781dcec41a0747e4d387)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 3b6672730372e130d4d72b683fc3150911964745)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-12 16:44:06 +01:00
Richard Purdie
667ea36429 package: Ensure we track whether PRSERV was active or not
Currently the signatures for do_packagedata don't reflect whether PRServ
was active or not. This means that if you have mxiing of PRServ usage and
non PRServ usage against the same sstate cache it can rarely become
corrupted with one referencing the other.

This likely doesn't happen in general but does on the autobuilder as PRServ
is tested. Add in some variables to ensure the binary state of PRServ being
enabled or disabled is tracked (but not the server value). We continue to
assume one PRServ is used per sstate cache.

(From OE-Core rev: 4c2f429d6876c29b17931daa039c4899aacd7234)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit dd660e5c3fb74f7c4b7b8e863f7143066ae22813)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-12 16:44:06 +01:00
Ross Burton
38c8316155 Revert "bitbake.conf: mark all directories as safe for git to read"
Turns out this doesn't actually work, as git doesn't respect the environment
when reading the safe.directory configuration variable.

This reverts commit d4a5862ce8.

(From OE-Core rev: 73087e3c4bf6792c37f0a9d8d006c09856d36b13)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit e28dd48ffb84c8bb4356d889b70a4b876c8bbaf3)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-12 16:44:06 +01:00
Richard Purdie
7868ccd57a scripts/git: Ensure we don't have circular references
This is horrible but I'm running out of better ideas. We hit circular reference
issues which we were trying to avoid in the core HOSTTOOLS code. When building
the eSDK, there can be two copies of the script.

Therefore assume git will never be in a directory called scripts. This
fixes eSDK build failures.

(From OE-Core rev: b9dcaa76b3274ced1e4b9e2ca33f778e8cd50032)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 27de610ac30d4c81352efc794df7e9b1060f7a68)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-12 16:44:06 +01:00
Richard Purdie
db10b2623d scripts: Make git intercept global
The previous minimially invasive git intercept simply isn't enough. For example,
meson used in the igt-gpu-tools recipe hardcodes the path to git in the configure
step so at install time, changing PATH has no effect.

There are lots of interesting things we could do to try and avoid problems but
making the git intercept and dropping fakeroot privs for git global is probably
the least worst solution at this point. It will add slight overhead to git calls
but we don't make many so the overall impact is likely minimal.

(From OE-Core rev: 07f282fb94a5a7c0a3fad451c844e5b26074c744)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit af27c81eaf68ee681dcd9456a74cca6a9ab40bf6)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-12 16:44:06 +01:00
Richard Purdie
74522a6048 base: Avoid circular references to our own scripts
We'd like to intercept git calls but we don't want circular references
and HOSTTOOLS currently sets them up. Tweak to avoid them.

(From OE-Core rev: 9f4acb8d8b47349e7a4adbb25842a94c0947469a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 52c37e133fa55846aca2248ffcf3a10648dbb8d7)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-12 16:44:06 +01:00
Ross Burton
6c843a5069 oeqa/selftest: add test for git working correctly inside pseudo
The fix for CVE-2022-24765 in git[1] breaks any use of git inside
pseudo. Add a simple test case to oe-selftest to verify that at least
basic uses of git work fine under pseudo.

[1] 8959555cee

(From OE-Core rev: 3fafd22233be8961801fa541969383b5b8444dee)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 46822268040a23dbb81f71fe35aee8c2663a31f6)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-12 16:44:06 +01:00
Davide Gardenal
c5580a0571 rootfs-postcommands: fix symlinks where link and output path are equal
When creating the manifest and the testdata.json links, if the link
name is equal to the output name the link is not created, otherwise
it is. This prevents a link-to-self in the first case.

(From OE-Core rev: e69a1533dfb8ceb5b91610f2ab8b3da575fcc36e)

Signed-off-by: Davide Gardenal <davide.gardenal@huawei.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit bed63756c56f296ff3d5a7eef66e978bd19f1008)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-12 16:44:06 +01:00
Davide Gardenal
dd08692cac cve-check: fix symlinks where link and output path are equal
An if statement now checks if the link and output path are
the same, if they are then the link is not created,
otherwise it is.

(From OE-Core rev: 2fd7f3b7dc964b59b268dd4a34761f9f71f61c25)

Signed-off-by: Davide Gardenal <davide.gardenal@huawei.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
(cherry picked from commit 2f024c0236c4806f0e59e4ce51a42f6b80fdf1b3)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-12 16:44:06 +01:00
Davide Gardenal
645c157bef cve-check: add JSON format to summary output
Create generate_json_report including all the code used to generate the JSON
manifest file.
Add to cve_save_summary_handler the ability to create the summary in JSON format.

(From OE-Core rev: 8a79c476706b25e5c707c65b4e46b6e940874bd6)

Signed-off-by: Davide Gardenal <davide.gardenal@huawei.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
(cherry picked from commit f2987891d315466b7ef180ecce81d15320ce8487)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-12 16:44:06 +01:00
Marta Rybczynska
b7601c92ff cve-update-db-native: let the user to drive the update interval
Add a new variable CVE_DB_UPDATE_INTERVAL allowing the user to set
the database update interval.
 - a positive value sets an interval (in seconds)
 - a zero ("0") forces the database update

(From OE-Core rev: 0007dd0edb39123201a46886a4e71d001c118ddf)

Signed-off-by: Marta Rybczynska <marta.rybczynska@huawei.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit fe7bc6f16184d5ebdb1dd914b6dcb75c9e5e0c9c)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-12 16:44:06 +01:00
Marta Rybczynska
fc56536e8a cve-update-db-native: update the CVE database once a day only
The update of the NVD database was expected to happen once per hour.
However, the database file date changes only if the content was actually
updated. In practice, the check worked for the first hour after the
new download.

As the NVD database changes usually only once a day, we can just
update it less frequently.

(From OE-Core rev: 27b1cb83ec666cc91930f2a7b5a6282fde77c730)

Signed-off-by: Marta Rybczynska <marta.rybczynska@huawei.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 35bccdedadeaba820d58b69fe74ce5e4c1f577e3)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-12 16:44:06 +01:00
Ross Burton
e163bed574 cve-check: no need to depend on the fetch task
The only part of the cve-check task which needs files is the patch
examination, and typically these patches are local so fetch isn't needed.

(From OE-Core rev: a76b642736d78cd4dec0ae264da6d0ffd4e9aaf7)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 2c9b3186d3b7c18cbea239ab9b06e85b7c243b54)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-12 16:44:06 +01:00
Bruce Ashfield
b1a9c64d5d strace: fix ptest failure in landlock
Kernel commit:

  commit 3d4b396a616d0d67bf95d6823ad1197f6247292e
  Author: Christian Brauner <christian.brauner@ubuntu.com>
  Date:   Mon Oct 11 15:37:04 2021 +0200

      landlock: Use square brackets around "landlock-ruleset"

      commit aea0b9f2486da8497f35c7114b764bf55e17c7ea upstream.

      Make the name of the anon inode fd "[landlock-ruleset]" instead of
      "landlock-ruleset". This is minor but most anon inode fds already
      carry square brackets around their name:

          [eventfd]
          [eventpoll]
          [fanotify]
          [fscontext]
          [io_uring]
          [pidfd]
          [signalfd]
          [timerfd]
          [userfaultfd]

      For the sake of consistency lets do the same for the landlock-ruleset anon
      inode fd that comes with landlock. We did the same in
      1cdc415f1083 ("uapi, fsopen: use square brackets around "fscontext" [ver #2]")
      for the new mount api.

      Cc: linux-security-module@vger.kernel.org
      Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
      Link: https://lore.kernel.org/r/20211011133704.1704369-1-brauner@kernel.org
      Cc: stable@vger.kernel.org
      Signed-off-by: Mickaël Salaün <mic@linux.microsoft.com>
      Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

Changed the format of the landlock tracing. We need to update the strace
expected string to match.

Upstream-Status: Submitted [https://lists.strace.io/pipermail/strace-devel/2022-April/011064.html]

(From OE-Core rev: 0268bc1ed04212acdb5b08e57334ed367042c1a2)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit bf7d885aef06f6208533dd5fab45ee8e92d6d6d7)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-12 16:44:05 +01:00
Bruce Ashfield
17fe9070f9 linux-yocto/5.15: fix qemuarm graphical boot
During the cleanup/refactoring of qemuarm* we dropped a PCI option
that is required for graphical boot. The configuration is fixed to
create a separate fragment, which just enabled the minimim and we
include it into qemuarma15 standard/preempt-rt.

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

    fcf48627ea5 qemuarma15: include pci-of-generic support

(From OE-Core rev: ccd27ea8b8e179b7eb0526ed1416ca674c9d295e)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 375366bd16619b14f718f96a9235d0936cae97ac)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-12 16:44:05 +01:00
Khem Raj
533d5ae8c4 linux-yocto: Enable powerpc-debug fragment for ppc64 LE
qemuppc64 is LE by default, this fixes kernel build for qemuppc64 with
gcc12

(From OE-Core rev: fea79d18807c82e5aad3be5a4c9261c8f3ad95cd)

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 f1674f1aeff5d2b3b2e79cc68ce1156f79eed548)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-12 16:44:05 +01:00
Bruce Ashfield
e50b978409 linux-yocto/5.15: update to v5.15.36
Updating linux-yocto/5.15 to the latest korg -stable release that comprises
the following commits:

    45451e8015a9 Linux 5.15.36
    bb906d15a99e arm64: dts: qcom: add IPA qcom,qmp property
    1ea01e64632f block/compat_ioctl: fix range check in BLKGETSIZE
    6a3c609feb11 spi: atmel-quadspi: Fix the buswidth adjustment between spi-mem and controller
    b1b8f39c2475 jbd2: fix a potential race while discarding reserved buffers after an abort
    2e25c46c6eef netfilter: nft_ct: fix use after free when attaching zone template
    2b273d1fd18e ext4: force overhead calculation if the s_overhead_cluster makes no sense
    52ca84a3edd1 ext4: fix overhead calculation to account for the reserved gdt blocks
    6b952563934c ext4, doc: fix incorrect h_reserved size
    9b90003771e5 ext4: limit length to bitmap_maxbytes - blocksize in punch_hole
    e3912775b476 ext4: fix use-after-free in ext4_search_dir
    8bb5676b49d3 ext4: fix symlink file size not match to file content
    ba50ea456f49 ext4: fix fallocate to use file_modified to update permissions consistently
    67e4860eeed8 netfilter: conntrack: avoid useless indirection during conntrack destruction
    bcba40bd36d7 netfilter: conntrack: convert to refcount_t api
    4bbd693d9f0a KVM: SVM: Flush when freeing encrypted pages even on SME_COHERENT CPUs
    8b2da9690489 KVM: nVMX: Defer APICv updates while L2 is active until L1 is active
    a41b3243a6de KVM: x86: Pend KVM_REQ_APICV_UPDATE during vCPU creation to fix a race
    2b4417acd3c6 KVM: x86/pmu: Update AMD PMC sample period to fix guest NMI-watchdog
    87d95ff0ca27 arm_pmu: Validate single/group leader events
    4d98fbb26683 ARC: entry: fix syscall_trace_exit argument
    7b69c07beb23 e1000e: Fix possible overflow in LTR decoding
    73a0b4c5c0bd ASoC: soc-dapm: fix two incorrect uses of list iterator
    571a67b0d8a4 gpio: Request interrupts after IRQ is initialized
    e411af98013d openvswitch: fix OOB access in reserve_sfa_size()
    bac4cadeb718 xtensa: fix a7 clobbering in coprocessor context load/store
    91335ca9ebe7 xtensa: patch_text: Fixup last cpu should be master
    49952e31e50d perf report: Set PERF_SAMPLE_DATA_SRC bit for Arm SPE event
    04ecea282b42 perf script: Always allow field 'data_src' for auxtrace
    a92335b4b189 powerpc/perf: Fix power10 event alternatives
    7a56867c5ef3 powerpc/perf: Fix power9 event alternatives
    53c4a9ff225b drm/vc4: Use pm_runtime_resume_and_get to fix pm_runtime_get_sync() usage
    9dc46d2e3723 KVM: PPC: Fix TCE handling for VFIO
    76614b111867 drm/panel/raspberrypi-touchscreen: Initialise the bridge in prepare
    7981351a916e drm/panel/raspberrypi-touchscreen: Avoid NULL deref if not initialised
    56637084e8a5 perf/core: Fix perf_mmap fail when CONFIG_PERF_USE_VMALLOC enabled
    b1b929468229 sched/pelt: Fix attach_entity_load_avg() corner case
    914473a07088 scsi: sr: Do not leak information in ioctl
    f0cfae3e0d3a Input: omap4-keypad - fix pm_runtime_get_sync() error checking
    232541989a1a net: atlantic: invert deep par in pm functions, preventing null derefs
    6b8af9f96749 dmaengine: imx-sdma: fix init of uart scripts
    1a8d1665cff1 dma: at_xdmac: fix a missing check on list iterator
    d10a711d4db6 ata: pata_marvell: Check the 'bmdma_addr' beforing reading
    48b2ab1a960a mm/mmu_notifier.c: fix race in mmu_interval_notifier_remove()
    41ba681c6373 oom_kill.c: futex: delay the OOM reaper to allow time for proper futex cleanup
    9dcb65cdf312 mm, hugetlb: allow for "high" userspace addresses
    07bdd207774c memcg: sync flush only if periodic flush is delayed
    9c71b29d55d4 mm/memory-failure.c: skip huge_zero_page in memory_failure()
    b81291922f8b EDAC/synopsys: Read the error count from the correct register
    87dd813bd2c3 nvme-pci: disable namespace identifiers for Qemu controllers
    dab2f477e15a nvme-pci: disable namespace identifiers for the MAXIO MAP1002/1202
    25f37ed22a9e nvme: add a quirk to disable namespace identifiers
    4a9f9f1791f3 VFS: filename_create(): fix incorrect intent.
    773ca67ffc96 stat: fix inconsistency between struct stat and struct compat_stat
    80c713a894c3 scsi: qedi: Fix failed disconnect handling
    c7f4f3016fea scsi: iscsi: Fix NOP handling during conn recovery
    e4efe868aa14 scsi: iscsi: Merge suspend fields
    740411ee2f94 scsi: iscsi: Release endpoint ID when its freed
    123a52eb610d net: macb: Restart tx only if queue pointer is lagging
    bc663ff8cae3 drm/msm/mdp5: check the return of kzalloc()
    5fe864539caf dpaa_eth: Fix missing of_node_put in dpaa_get_ts_info()
    48e1db2c3d42 brcmfmac: sdio: Fix undefined behavior due to shift overflowing the constant
    e25b350e2521 mt76: Fix undefined behavior due to shift overflowing the constant
    a7a651d5a525 net: atlantic: Avoid out-of-bounds indexing
    213330bafd02 cifs: Check the IOCB_DIRECT flag, not O_DIRECT
    6085e24fd972 vxlan: fix error return code in vxlan_fdb_append
    32fe43df71c5 arm64: dts: imx: Fix imx8*-var-som touchscreen property sizes
    f0ba965e4783 drm/msm/disp: check the return value of kzalloc()
    b78d40339568 ALSA: usb-audio: Fix undefined behavior due to shift overflowing the constant
    9d441c2e2ad1 platform/x86: samsung-laptop: Fix an unsigned comparison which can never be negative
    4426116b2e02 reset: tegra-bpmp: Restore Handle errors in BPMP response
    a6ec9d95c205 reset: renesas: Check return value of reset_control_deassert()
    70fa727835f9 ARM: vexpress/spc: Avoid negative array index when !SMP
    d3acd3f9f80e arm64: mm: fix p?d_leaf()
    ec9cb700cbf7 selftests: mlxsw: vxlan_flooding: Prevent flooding of unwanted packets
    6b9a418d3850 dmaengine: idxd: skip clearing device context when device is read-only
    49047fa486b3 dmaengine: idxd: add RO check for wq max_transfer_size write
    6c30e099b978 dmaengine: idxd: add RO check for wq max_batch_size write
    e83acf93919b net: stmmac: Use readl_poll_timeout_atomic() in atomic state
    79957134ca1d drm/i915/display/psr: Unset enable_psr2_sel_fetch if other checks in intel_psr2_config_valid() fails
    f3552c37593a netlink: reset network and mac headers in netlink_dump()
    93581ae1f980 net: mscc: ocelot: fix broken IP multicast flooding
    6a5ca57d5acd net: dsa: hellcreek: Calculate checksums in tagger
    40ebaf7365b0 can: isotp: stop timeout monitoring when no first frame was sent
    652a5405396d ipv6: make ip6_rt_gc_expire an atomic_t
    d23fe66eb7b0 l3mdev: l3mdev_master_upper_ifindex_by_index_rcu should be using netdev_master_upper_dev_get_rcu
    58bdbd121a34 net/sched: cls_u32: fix possible leak in u32_init_knode()
    1b4fb109cc53 net: restore alpha order to Ethernet devices in config
    d5049ef1f671 ip6_gre: Fix skb_under_panic in __gre6_xmit()
    3cc2f6b71eb6 ip6_gre: Avoid updating tunnel->tun_hlen in __gre6_xmit()
    ab26f1136757 net/packet: fix packet_sock xmit return value checking
    b355ca6a915f net/smc: Fix sock leak when release after smc_shutdown()
    8fe1bf23c96b rxrpc: Restore removed timer deletion
    09da8cf94588 ALSA: hda/hdmi: fix warning about PCM count when used with SOF
    c7c71b3e4764 igc: Fix suspending when PTM is active
    da323d0d6aaa igc: Fix BUG: scheduling while atomic
    b3ce7d3a1742 igc: Fix infinite loop in release_swfw_sync
    8920a03a3a15 spi: cadence-quadspi: fix incorrect supports_op() return value
    a583f2f3c878 esp: limit skb_page_frag_refill use to a single page
    76900a136b1a spi: spi-mtk-nor: initialize spi controller after resume
    84e77e72367f dmaengine: dw-edma: Fix unaligned 64bit access
    d18fb19c1c8e dmaengine: mediatek:Fix PM usage reference leak of mtk_uart_apdma_alloc_chan_resources
    8932d9ee4b9f dmaengine: imx-sdma: Fix error checking in sdma_event_remap
    a8be4586352b dmaengine: idxd: fix device cleanup on disable
    6168532a08ef ASoC: codecs: wcd934x: do not switch off SIDO Buck when codec is in use
    053bd9604f05 ASoC: msm8916-wcd-digital: Check failure for devm_snd_soc_register_component
    9a4c63e7332c ASoC: rk817: Use devm_clk_get() in rk817_platform_probe
    bc15442cc99f ASoC: topology: Correct error handling in soc_tplg_dapm_widget_create()
    bc7d0133181e ASoC: atmel: Remove system clock tree configuration for at91sam9g20ek
    236785649ad2 ALSA: hda/realtek: Add quirk for Clevo NP70PNP
    aaa22e5b526d ALSA: usb-audio: Clear MIDI port active flag after draining
    ba9e9a794fd1 net/sched: cls_u32: fix netns refcount changes in u32_change()
    8dfec6e0a62d scsi: ufs: core: scsi_get_lba() error fix
    c2d0cdf8ad06 gfs2: assign rgrp glock before compute_bitstructs
    a52e73bef254 mm, kfence: support kmem_dump_obj() for KFENCE objects
    3876c574e4cc perf tools: Fix segfault accessing sample_id xyarray
    77a467983bff mm: page_alloc: fix building error on -Werror=array-compare
    3177d047e58a etherdevice: Adjust ether_addr* prototypes to silence -Wstringop-overead
    3f7b1a87ac75 arm64/mm: drop HAVE_ARCH_PFN_VALID
    c01430cf5b87 dma-mapping: remove bogus test for pfn_valid from dma_map_resource
    155ae0547cb8 xfs: return errors in xfs_fs_sync_fs
    935745abcf4c vfs: make sync_filesystem return errors from ->sync_fs
    6eb927ee189f block: simplify the block device syncing code
    7877e7a5a52e block: remove __sync_blockdev
    4b7617ae04de fs: remove __sync_filesystem

(From OE-Core rev: f967efa7f28d67c8f47e879fb96696b29bd7621b)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 02149163c8643cec5fd8ef9c7b8a2f5af06519ec)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-12 16:44:05 +01:00
Bruce Ashfield
f6ebb58225 linux-yocto/5.15: fix -standard kernel build issue
Integrating the following commit(s) to linux-yocto/5.15:

    4eba9348d3e2 Revert "Revert "fbdev: Hot-unplug firmware fb devices on forced removal""

The revert of commit [fbdev: Hot-unplug firmware fb devices on forced
removal] was done to fix powerpc fbdev issues. Upstream went in a
different direction, which means that our fbdev routines have conflicts
with -stable updates.

The fix for the fbdev is in -stable, so we drob our reverted commit,
such that 5.15 builds again, and fbdev is functional.

(From OE-Core rev: f648a6b4a4f5c4e99ea93e802b2ca7284f52f72d)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 6da0cde02dd6a315a7eb34cb0bc691cf622eba05)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-12 16:44:05 +01:00
Bruce Ashfield
eccb29aba0 linux-yocto: enable powerpc debug fragment
gcc12 generates some warnings with arch/powerpc, and we know that
these warnings are understood/non-fatal at runtime.

This fragment allows testing to continue, while upstream powerpc
looks at removing warnings.

We only enable it for 5.10/5.15 standard kernels for now, since
this gets us enough coverage to continue working with gcc12.

(From OE-Core rev: b52d50e00d00df3a3a8263a6b5ef04e22a9c93fb)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 992d9d41642981152a387fe59733cc6a77ea3528)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-12 16:44:05 +01:00
Bruce Ashfield
c9896633c2 linux-yocto/5.15: Fix CVE-2022-28796
Integrating the following commit(s) to linux-yocto/5.15:

    5df6d1b00f95 jbd2: fix use-after-free of transaction_t race
    2d83e8196487 jbd2: refactor wait logic for transaction updates into a common function

(From OE-Core rev: f900829f96b7592ce026067e5154e2f1f55a9d4e)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 3a0d2acf249717416226c34b6147e5499adbda15)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-12 16:44:05 +01:00
Bruce Ashfield
b6bc88c365 linux-yocto/5.15: update to v5.15.35
Updating linux-yocto/5.15 to the latest korg -stable release that comprises
the following commits:

    81d8d30c35ed Linux 5.15.35
    85f25bb9a005 ax25: Fix UAF bugs in ax25 timers
    43c107021d91 ax25: Fix NULL pointer dereferences in ax25 timers
    da6509fba636 ax25: fix NPD bug in ax25_disconnect
    1bf8946d5826 ax25: fix UAF bug in ax25_send_control()
    452ae92b9906 ax25: Fix refcount leaks caused by ax25_cb_del()
    b982492ec3a1 ax25: fix UAF bugs of net_device caused by rebinding operation
    bc706d89199b ax25: fix reference count leaks of ax25_dev
    9af0fd5c4453 ax25: add refcount in ax25_dev to avoid UAF bugs
    de6a76eea645 cpufreq: intel_pstate: ITMT support for overclocked system
    74d23d422556 net: ipa: fix a build dependency
    1648c7b450d8 soc: qcom: aoss: Fix missing put_device call in qmp_get
    d712aea3cd81 cpu/hotplug: Remove the 'cpu' member of cpuhp_cpu_state
    14785927a1d4 drm/i915: Sunset igpu legacy mmap support based on GRAPHICS_VER_FULL
    4ef9951d0252 dma-direct: avoid redundant memory sync for swiotlb
    111becd63e37 timers: Fix warning condition in __run_timers()
    cbdd7a33c533 dt-bindings: net: snps: remove duplicate name
    83a4c1080e09 i2c: pasemi: Wait for write xfers to finish
    44981e4cde68 smp: Fix offline cpu check in flush_smp_call_function_queue()
    2f345bb14ad4 i2c: dev: check return value when calling dev_set_name()
    6b4bf97587ef dm integrity: fix memory corruption when tag_size is less than digest size
    0940795c6834 ARM: davinci: da850-evm: Avoid NULL pointer dereference
    68a38b07f125 tick/nohz: Use WARN_ON_ONCE() to prevent console saturation
    c11ef9ded22e genirq/affinity: Consider that CPUs on nodes can be unbalanced
    c61d929944c9 x86/tsx: Disable TSX development mode at boot
    aaf27fcaefc1 x86/tsx: Use MSR_TSX_CTRL to clear CPUID bits
    2dd7d2eddf8e drm/amdgpu: Enable gfxoff quirk on MacBook Pro
    804c096d640e drm/amd/display: don't ignore alpha property on pre-multiplied mode
    adee01bbf6cb ipv6: fix panic when forwarding a pkt with no in6 dev
    cab64cb82fe1 nl80211: correctly check NL80211_ATTR_REG_ALPHA2 size
    63038f6e96a7 ALSA: pcm: Test for "silence" field in struct "pcm_format_data"
    a53062c94b8c ALSA: hda/realtek: add quirk for Lenovo Thinkpad X12 speakers
    0349df521528 ALSA: hda/realtek: Add quirk for Clevo PD50PNT
    3680b48533ae btrfs: mark resumed async balance as writing
    252db93fd0bd btrfs: fix root ref counts in error handling in btrfs_get_root_ref
    9b81c2c147e1 ath9k: Fix usage of driver-private space in tx_info
    3386927f436e ath9k: Properly clear TX status area before reporting to mac80211
    7a509a9f2bb7 cifs: verify that tcon is valid before dereference in cifs_kill_sb
    bd17422b9b67 gcc-plugins: latent_entropy: use /dev/urandom
    05d1824a7fb4 memory: renesas-rpc-if: fix platform-device leak in error path
    f5e13d700a4d SUNRPC: Fix NFSD's request deferral on RDMA transports
    00715427ea77 KVM: x86/mmu: Resolve nx_huge_pages when kvm.ko is loaded
    70ea5e7b38c3 mm: kmemleak: take a full lowmem check in kmemleak_*_phys()
    12ba1d38115a mm: fix unexpected zeroed page mapping with zram swap
    bb7645c33869 mm, page_alloc: fix build_zonerefs_node()
    b6d17c67885a mm/secretmem: fix panic when growing a memfd_secret
    4cdf0e7a5be8 perf/imx_ddr: Fix undefined behavior due to shift overflowing the constant
    b8ed0f7531f3 io_uring: use nospec annotation for more indexes
    5218d5cc0283 io_uring: zero tag on rsrc removal
    efb020924a71 drivers: net: slip: fix NPD bug in sl_tx_timeout()
    e455d7510db7 scsi: megaraid_sas: Target with invalid LUN ID is deleted during scan
    f1933d9ee745 scsi: mvsas: Add PCI ID of RocketRaid 2640
    389f37e46bdd scsi: mpt3sas: Fail reset operation if config request timed out
    184b4fad0872 drbd: set QUEUE_FLAG_STABLE_WRITES
    6a03581ccffa drm/amd/display: Fix allocate_mst_payload assert on resume
    ac2eb310af05 drm/amd/display: Revert FEC check in validation
    eab8e585840f drm/amd/display: Enable power gating before init_pipes
    d8860f1f9e41 spi: cadence-quadspi: fix protocol setup for non-1-1-X operations
    6d48df738272 myri10ge: fix an incorrect free for skb in myri10ge_sw_tso
    b416898442f2 net: usb: aqc111: Fix out-of-bounds accesses in RX fixup
    c3f86aef97cf Drivers: hv: balloon: Disable balloon and hot-add accordingly
    1c9fdb9587e0 net: axienet: setup mdio unconditionally
    61dd8bef80c2 tlb: hugetlb: Add more sizes to tlb_remove_huge_tlb_entry
    ed2711c696ce arm64: alternatives: mark patch_alternative() as `noinstr`
    cfd24b14eb2d regulator: wm8994: Add an off-on delay for WM8994 variant
    86d1cdf56fc5 gpu: ipu-v3: Fix dev_dbg frequency output
    4583205048ae ata: libata-core: Disable READ LOG DMA EXT for Samsung 840 EVOs
    6eecc4811a47 net: micrel: fix KS8851_MLL Kconfig
    9e60a788a3f7 scsi: ibmvscsis: Increase INITIAL_SRP_LIMIT to 1024
    026083cb43a4 scsi: lpfc: Fix queue failures when recovering from PCI parity error
    b7f3b5d70c83 scsi: target: tcmu: Fix possible page UAF
    44f95a5aae99 Drivers: hv: vmbus: Prevent load re-ordering when reading ring buffer
    92a3499933c1 PCI: hv: Propagate coherence from VMbus device to PCI device
    1b576e81d31b Drivers: hv: vmbus: Deactivate sysctl_record_panic_msg by default in isolated guests
    f2658d5966bc drm/amdkfd: Check for potential null return of kmalloc_array()
    9f0fabf30b48 drm/amdgpu/vcn: improve vcn dpg stop procedure
    25efb191d86b drm/amdkfd: Fix Incorrect VMIDs passed to HWS
    7a3bc11a4034 drm/amd/display: Update VTEM Infopacket definition
    92951699a5f1 drm/amd/display: FEC check in timing validation
    b054e8183fbd drm/amd/display: fix audio format not updated after edid updated
    37bc29a44538 drm/amdgpu/gmc: use PCI BARs for APUs in passthrough
    5a3b56a4a1c7 drm/amdgpu: conduct a proper cleanup of PDB bo
    01dcda701fef btrfs: do not warn for free space inode in cow_file_range
    bb93369f93b5 btrfs: fix fallocate to use file_modified to update permissions consistently
    6dded62e5aa6 drm/amd: Add USBC connector ID
    3e67054c339c block: fix offset/size check in bio_trim()
    279018a01b08 net: bcmgenet: Revert "Use stronger register read/writes to assure ordering"
    b8c0f6d1b04c vfio/pci: Fix vf_token mechanism when device-specific VF drivers are used
    5fda973f0ece dm mpath: only use ktime_get_ns() in historical selector
    9901b07ba42b cifs: potential buffer overflow in handling symlinks
    9ded5ae40f4f nfc: nci: add flush_workqueue to prevent uaf
    331c99ee8dcb net: ftgmac100: access hardware register after clock ready
    8f79ce226ad2 macvlan: Fix leaking skb in source mode with nodst option
    8e86fba13479 perf tools: Fix misleading add event PMU debug message
    1665758b4bfd ALSA: usb-audio: Limit max buffer and period sizes per time
    6b38c5722610 ALSA: usb-audio: Increase max buffer size
    7399ed8e6a8d testing/selftests/mqueue: Fix mq_perf_tests to free the allocated cpu set
    9947548d9cef io_uring: verify pad field is 0 in io_get_ext_arg
    7a7c9f9de961 io_uring: verify that resv2 is 0 in io_uring_rsrc_update2
    22aa1597f462 io_uring: move io_uring_rsrc_update2 validation
    cb981d5c7511 ALSA: mtpav: Don't call card private_free at probe error path
    872e5fa0781f ALSA: ad1889: Fix the missing snd_card_free() call at probe error
    96aceacda8d2 netfilter: nf_tables: nft_parse_register can return a negative value
    90c153ca45da sctp: Initialize daddr on peeled off socket
    50d46b5ce004 scsi: iscsi: Fix unbound endpoint error handling
    578616ac3d87 scsi: iscsi: Fix conn cleanup and stop race during iscsid restart
    485780af7ef1 scsi: iscsi: Fix endpoint reuse regression
    cbd4f4e40944 scsi: iscsi: Fix offload conn cleanup when iscsid restarts
    cc0082d45de1 scsi: iscsi: Move iscsi_ep_disconnect()
    d6f6f945e850 scsi: pm80xx: Enable upper inbound, outbound queues
    b02c509ceef4 scsi: pm80xx: Mask and unmask upper interrupt vectors 32-63
    3a523807f014 net/smc: Fix NULL pointer dereference in smc_pnet_find_ib()
    66b3107a4a06 drm/msm/dp: add fail safe mode outside of event_mutex context
    815006c33391 drm/msm/dsi: Use connector directly in msm_dsi_manager_connector_init()
    a6549b364be4 drm/msm: Fix range size vs end confusion
    1c86b7ea63ff netfilter: nft_socket: make cgroup match work in input too
    5a52384a5134 cfg80211: hold bss_lock while updating nontrans_list
    d5be67ecbeff net/sched: taprio: Check if socket flags are valid
    62a48383ebe2 net: ethernet: stmmac: fix altr_tse_pcs function when using a fixed-link
    72f9c15854b0 net: dsa: felix: suppress -EPROBE_DEFER errors
    13faa76cf572 net/sched: fix initialization order when updating chain 0 head
    4c979e6fcec8 mlxsw: i2c: Fix initialization error flow
    152b813d8ba5 net: mdio: don't defer probe forever if PHY IRQ provider is missing
    675e7d3086d0 cifs: release cached dentries only if mount is complete
    d40cf3492277 gpiolib: acpi: use correct format characters
    93940fc4cb81 veth: Ensure eth header is in skb's linear part
    de8a332c86a7 net/sched: flower: fix parsing of ethertype following VLAN header
    726ae7300fcc SUNRPC: Fix the svc_deferred_event trace class
    ec2ab59b9e66 media: rockchip/rga: do proper error checking in probe
    b0d8a9eb3239 firmware: arm_scmi: Fix sorting of retrieved clock rates
    e2da8f9ce3ea Revert "ath11k: mesh: add support for 256 bitmap in blockack frames in 11ax"
    9f029cb2c92e memory: atmel-ebi: Fix missing of_node_put in atmel_ebi_probe
    e7b1992b0722 firmware: arm_scmi: Remove clear channel call on the TX channel
    77ffc38e577d drm/msm: Add missing put_task_struct() in debugfs path
    aa4845194b9d ALSA: nm256: Don't call card private_free at probe error path
    425c83e2898d ALSA: usb-audio: Cap upper limits of buffer/period bytes for implicit fb
    3bbd4850d957 ALSA: via82xx: Fix the missing snd_card_free() call at probe error
    56e44ff13d84 ALSA: sonicvibes: Fix the missing snd_card_free() call at probe error
    73229d7cb836 ALSA: sc6000: Fix the missing snd_card_free() call at probe error
    df03ce487e1b ALSA: rme96: Fix the missing snd_card_free() call at probe error
    ef4c35339414 ALSA: rme9652: Fix the missing snd_card_free() call at probe error
    4efa63663c36 ALSA: rme32: Fix the missing snd_card_free() call at probe error
    bb94f5d98511 ALSA: riptide: Fix the missing snd_card_free() call at probe error
    4ecd10217df6 ALSA: oxygen: Fix the missing snd_card_free() call at probe error
    30b86477daaa ALSA: maestro3: Fix the missing snd_card_free() call at probe error
    5fbb73cb1208 ALSA: lx6464es: Fix the missing snd_card_free() call at probe error
    0651442d22e2 ALSA: lola: Fix the missing snd_card_free() call at probe error
    0bec8b8a57de ALSA: korg1212: Fix the missing snd_card_free() call at probe error
    d9ac5256de1f ALSA: intel_hdmi: Fix the missing snd_card_free() call at probe error
    e87b8d0ba455 ALSA: intel8x0: Fix the missing snd_card_free() call at probe error
    547c9af67b4e ALSA: ice1724: Fix the missing snd_card_free() call at probe error
    141abcbf902a ALSA: hdspm: Fix the missing snd_card_free() call at probe error
    f006a4bcf8bb ALSA: hdsp: Fix the missing snd_card_free() call at probe error
    85515309293b ALSA: galaxy: Fix the missing snd_card_free() call at probe error
    841e8f8dd21f ALSA: fm801: Fix the missing snd_card_free() call at probe error
    3a738f1b3ffd ALSA: es1968: Fix the missing snd_card_free() call at probe error
    d3c6ac7a051c ALSA: es1938: Fix the missing snd_card_free() call at probe error
    20b35ba7aa2f ALSA: ens137x: Fix the missing snd_card_free() call at probe error
    0d52c09f0c17 ALSA: emu10k1x: Fix the missing snd_card_free() call at probe error
    2a2a75ebdbd4 ALSA: echoaudio: Fix the missing snd_card_free() call at probe error
    648e89e9de29 ALSA: cs5535audio: Fix the missing snd_card_free() call at probe error
    9decc5bfd173 ALSA: cs4281: Fix the missing snd_card_free() call at probe error
    2dde47610757 ALSA: cmipci: Fix the missing snd_card_free() call at probe error
    f98476228801 ALSA: ca0106: Fix the missing snd_card_free() call at probe error
    e5a54e236f70 ALSA: bt87x: Fix the missing snd_card_free() call at probe error
    935629ba096e ALSA: azt3328: Fix the missing snd_card_free() call at probe error
    3a943321c362 ALSA: aw2: Fix the missing snd_card_free() call at probe error
    811a92b866a0 ALSA: au88x0: Fix the missing snd_card_free() call at probe error
    ea61c1bd582b ALSA: atiixp: Fix the missing snd_card_free() call at probe error
    007a9b5554e1 ALSA: als4000: Fix the missing snd_card_free() call at probe error
    291d9e5e94d0 ALSA: als300: Fix the missing snd_card_free() call at probe error
    5bc156409025 ALSA: ali5451: Fix the missing snd_card_free() call at probe error
    cfa98d6c41e0 ALSA: sis7019: Fix the missing error handling
    1479bdea76dd ALSA: core: Add snd_card_free_on_error() helper
    07cacfd9d9dc btrfs: release correct delalloc amount in direct IO write path
    8ff8bdb8c92d net: ipa: request IPA register values be retained
    587ced6b8cf3 dt-bindings: net: qcom,ipa: add optional qcom,qmp property
    7883df73fd59 soc: qcom: aoss: Expose send for generic usecase
    ec13aa4e0085 btrfs: remove unused variable in btrfs_{start,write}_dirty_block_groups()
    ed0e951463ea btrfs: remove no longer used counter when reading data page
    6308ab54c8ec btrfs: remove unused parameter nr_pages in add_ra_bio_pages()
    ff810f85ed3f ACPI: processor: idle: fix lockup regression on 32-bit ThinkPad T40
    7cad1c40ef91 ACPI: processor idle: Allow playing dead in C3 state
    631473adaaef ACPI: processor idle: Check for architectural support for LPI
    5b13295ac584 cpuidle: PSCI: Move the `has_lpi` check to the beginning of the function
    9873fe0f3857 hamradio: remove needs_free_netdev to avoid UAF
    c799c18a287e hamradio: defer 6pack kfree after unregister_netdev
    8e663865f528 drm/amd/display: Fix p-state allow debug index on dcn31
    685a19fa6ae9 drm/amd/display: Add pstate verification and recovery for DCN31
    1b86fc15ba6d Linux 5.15.34
    c9ea4fb1f3f3 stacktrace: move filter_irq_stacks() to kernel/stacktrace.c
    fddb88bd266f powerpc: Fix virt_addr_valid() for 64-bit Book3E & 32-bit
    68cea1e243b8 static_call: Don't make __static_call_return0 static
    429f413ed83f mm/sparsemem: fix 'mem_section' will never be NULL gcc 12 warning
    8fe51495efff irqchip/gic, gic-v3: Prevent GSI to SGI translations
    69943af22a32 powerpc/64: Fix build failure with allyesconfig in book3s_64_entry.S
    7b5d60323f90 irqchip/gic-v4: Wait for GICR_VPENDBASER.Dirty to clear before descheduling
    f4f8b6d8490e x86,static_call: Fix __static_call_return0 for i386
    ff6505766565 sched: Teach the forced-newidle balancer about CPU affinity limitation.
    f399f38eda57 x86/bug: Prevent shadowing in __WARN_FLAGS
    469eed08becd Drivers: hv: vmbus: Replace smp_store_mb() with virt_store_mb()
    f5e59185b033 mm: don't skip swap entry even if zap_details specified
    4693fce5a5d4 selftests: cgroup: Test open-time cgroup namespace usage for migration checks
    47802775bc11 selftests: cgroup: Test open-time credential usage for migration checks
    e326f218de1f selftests: cgroup: Make cg_create() use 0755 for permission instead of 0644
    33db9912ff7c ubsan: remove CONFIG_UBSAN_OBJECT_SIZE
    f1607e13ed71 Revert "net/mlx5: Accept devlink user input after driver initialization complete"
    226b4327ef5c KVM: avoid NULL pointer dereference in kvm_dirty_ring_push
    104bfa23a001 dmaengine: Revert "dmaengine: shdma: Fix runtime PM imbalance on error"
    3c3a8e56553e tools build: Use $(shell ) instead of `` to get embedded libperl's ccopts
    fbe722d48b8e tools build: Filter out options and warnings not supported by clang
    9b2b01e36741 perf python: Fix probing for some clang command line options
    03044b841406 perf build: Don't use -ffat-lto-objects in the python feature test when building with clang-13
    3b14aa053181 Revert "nbd: fix possible overflow on 'first_minor' in nbd_dev_add()"
    5d69622eb036 SUNRPC: Don't call connect() more than once on a TCP socket
    22174e8ce8ac rtc: mc146818-lib: fix signedness bug in mc146818_get_time()
    9e46f7319549 selftests/bpf: Fix u8 narrow load checks for bpf_sk_lookup remote_port
    0c64645e6373 bpf: Make remote_port field in struct bpf_sk_lookup 16-bit wide
    e2ff1d653069 Revert "selftests: net: Add tls config dependency for tls selftests"
    7f48521172fb net/smc: send directly on setting TCP_NODELAY
    20633216ded0 KVM: SVM: Allow AVIC support on system w/ physical APIC ID > 255
    b536cf3eb6f9 drm/amdgpu: don't use BACO for reset in S3
    3c8902bbf2ab drm/amdkfd: Create file descriptor after client is added to smi_clients list
    588393cdae7f drm/nouveau/pmu: Add missing callbacks for Tegra devices
    6a5d209898a6 drm/amdgpu/vcn: Fix the register setting for vcn1
    155338be5d90 drm/amdgpu/smu10: fix SoC/fclk units in auto mode
    0115e4f2f6bc drm/amdgpu/display: change pipe policy for DCN 2.1
    28dc1503a9d3 drm/panel: ili9341: fix optional regulator handling
    b911702a0105 SUNRPC: Prevent immediate close+reconnect
    a551e6629247 amd/display: set backlight only if required
    2388f826cdc9 fbdev: Fix unregistering of framebuffers without device
    7218a789abb3 irqchip/gic-v3: Fix GICR_CTLR.RWP polling
    fcf9ccf9d26a perf/core: Inherit event_caps
    0309f053ce47 perf: qcom_l2_pmu: fix an incorrect NULL check on list iterator
    8a05a6952ecd ata: sata_dwc_460ex: Fix crash due to OOB write
    136c21ce8e01 perf/x86/intel: Don't extend the pseudo-encoding to GP counters
    983a759640bf x86/mm/tlb: Revert retpoline avoidance approach
    2f67341e5bce x86/msi: Fix msi message data shadow struct
    0912cf021fb5 gpio: Restrict usage of GPIO chip irq members before initialization
    9ca11bd8222a RDMA/hfi1: Fix use-after-free bug for mm struct
    fa7cc2df9505 arm64: patch_text: Fixup last cpu should be master
    90012c6748d3 spi: core: add dma_map_dev for __spi_unmap_msg()
    887366faf0c9 btrfs: prevent subvol with swapfile from being deleted
    4b98799e181b btrfs: fix qgroup reserve overflow the qgroup limit
    56c88810466b perf/x86/intel: Update the FRONTEND MSR mask on Sapphire Rapids
    fab4b79e869a x86/speculation: Restore speculation related MSRs during S3 resume
    fcf185f7e03e x86/pm: Save the MSR validity status at context setup
    ba7261af2b03 io_uring: fix race between timeout flush and removal
    fe223dd2f18b io_uring: implement compat handling for IORING_REGISTER_IOWQ_AFF
    ae6cba337cbf io_uring: defer splice/tee file validity check until command issue
    056e1e7c1713 io_uring: don't check req->file in io_fsync_prep()
    198932a14aeb mm/mempolicy: fix mpol_new leak in shared_policy_replace
    a04cb99c5d46 mmmremap.c: avoid pointless invalidate_range_start/end on mremap(old_size=0)
    c21d040de622 highmem: fix checks in __kmap_local_sched_{in,out}
    9fb8bc6cfc58 lz4: fix LZ4_decompress_safe_partial read out of bound
    75cae557bc44 mmc: core: Fixup support for writeback-cache for eMMC and SD
    5d2712b78056 mmc: renesas_sdhi: don't overwrite TAP settings when HS400 tuning is complete
    11497ecbda04 mmc: mmci: stm32: correctly check all elements of sg list
    1515d2a466bf mmc: block: Check for errors after write on SPI
    86b5d155fced Revert "mmc: sdhci-xenon: fix annoying 1.8V regulator warning"
    dc5e603c247d scsi: ufs: ufs-pci: Add support for Intel MTL
    25c1353dca74 scsi: mpt3sas: Fix use after free in _scsih_expander_node_remove()
    32dd8b63e633 arm64: Add part number for Arm Cortex-A78AE
    159c7db3ccbb perf session: Remap buf if there is no space for event
    58aece34fb7f perf tools: Fix perf's libperf_print callback
    e1f2750e7531 perf: arm-spe: Fix perf report --mem-mode
    47e239117bd9 iommu/omap: Fix regression in probe for NULL pointer dereference
    3fd9be3ec5c8 SUNRPC: svc_tcp_sendmsg() should handle errors from xdr_alloc_bvec()
    3b32dda29f99 SUNRPC: Handle low memory situations in call_status()
    03ac680dacf9 SUNRPC: Handle ENOMEM in call_transmit_status()
    285f5d724005 io_uring: don't touch scm_fp_list after queueing skb
    50c981bd7790 io_uring: nospec index for tags on files update
    685f42de443d scsi: ufs: ufshpb: Fix a NULL check on list iterator
    a972c7687233 drbd: Fix five use after free bugs in get_initial_state
    1816af613e56 bpf: Support dual-stack sockets in bpf_tcp_check_syncookie
    88a3bdcb462a spi: bcm-qspi: fix MSPI only access with bcm_qspi_exec_mem_op()
    c9bdce2359b5 qede: confirm skb is allocated before using
    fb45e80b2194 net: phy: mscc-miim: reject clause 45 register accesses
    8ba8e1398a66 net: sfc: fix using uninitialized xdp tx_queue
    571d8e1d154c rxrpc: fix a race in rxrpc_exit_net()
    837b96d81039 net: openvswitch: fix leak of nested actions
    42b2e418f9a2 net: ethernet: mv643xx: Fix over zealous checking of_get_mac_address()
    085d002432ac net: openvswitch: don't send internal clone attribute to the userspace.
    70cf0b820e55 ice: xsk: fix VSI state check in ice_xsk_wakeup()
    840cbbdc8bf1 ice: synchronize_rcu() when terminating rings
    070aa68f8fab ipv6: Fix stats accounting in ip6_pkt_drop
    1c0763475401 ice: Do not skip not enabled queues in ice_vc_dis_qs_msg
    5d3e9f71c310 ice: Set txq_teid to ICE_INVAL_TEID on ring creation
    599874bbc4ed dpaa2-ptp: Fix refcount leak in dpaa2_ptp_probe
    2cb2b3fb20a2 sctp: count singleton chunks in assoc user stats
    92f1947c0d26 IB/rdmavt: add lock to call to rvt_error_qp to prevent a race condition
    3b5fd693621b IB/cm: Cancel mad on the DREQ event when the state is MRA_REP_RCVD
    34b8ba1cb337 RDMA/mlx5: Add a missing update of cache->last_add
    5b88519b78e8 RDMA/mlx5: Don't remove cache MRs when a delay is needed
    d1c87d36a655 sfc: Do not free an empty page_ring
    917eeb220023 bnxt_en: Prevent XDP redirect from running when stopping TX queue
    154fc224e65e bnxt_en: reserve space inside receive page for skb_shared_info
    6108a8918fd7 bnxt_en: Synchronize tx when xdp redirects happen on same ring
    87f5d66daa5f arch/arm64: Fix topology initialization for core scheduling
    cb713eb793e6 regulator: atc260x: Fix missing active_discharge_on setting
    336942b1682f regulator: rtq2134: Fix missing active_discharge_on setting
    2560fe298e6e drm/imx: dw_hdmi-imx: Fix bailout in error cases of probe
    31e449302ed0 drm/imx: Fix memory leak in imx_pd_connector_get_modes
    c1e96348dbeb drm/imx: imx-ldb: Check for null pointer after calling kmemdup
    47fec6139b5e net: stmmac: Fix unset max_speed difference between DT and non-DT platforms
    907c97986d6f net: ipv4: fix route with nexthop object delete warning
    71d28e5073b8 mctp: Fix check for dev_hard_header() result
    40229b2977f1 ice: Clear default forwarding VSI during VSI release
    ba965e8605ae skbuff: fix coalescing for page_pool fragment recycling
    13bcc6f8efcd vrf: fix packet sniffing for traffic originating from ip tunnels
    6e2f1b033b17 net/tls: fix slab-out-of-bounds bug in decrypt_internal
    ed7a824fda87 net: sfc: add missing xdp queue reinitialization
    69ec350a417d vdpa: mlx5: prevent cvq work from hogging CPU
    893c70f8b8f3 vdpa/mlx5: Propagate link status from device to vdpa driver
    dc872b72d180 vdpa/mlx5: Rename control VQ workqueue to vdpa wq
    aefd755a9605 scsi: zorro7xx: Fix a resource leak in zorro7xx_remove_one()
    cd483e17eca2 scsi: core: Fix sbitmap depth in scsi_realloc_sdev_budget_map()
    0610371c768c scsi: sr: Fix typo in CDROM(CLOSETRAY|EJECT) handling
    6f52d4cda0bf NFSv4: fix open failure with O_ACCMODE flag
    9f0c217469e8 Revert "NFSv4: Handle the special Linux file open access mode"
    dcd6b1a624c0 Drivers: hv: vmbus: Fix potential crash on module unload
    5ba9d78a7294 drm/amdgpu: fix off by one in amdgpu_gfx_kiq_acquire()
    985d87e6a365 rtc: mc146818-lib: fix RTC presence check
    be6c3152d6f6 rtc: Check return value from mc146818_get_time()
    8c6921075222 rtc: mc146818-lib: change return values of mc146818_get_time()
    c9f50e06ca76 mm: fix race between MADV_FREE reclaim and blkdev direct IO read
    93a8347f72c0 parisc: Fix patch code locking and flushing
    f77f482ec31a parisc: Fix CPU affinity for Lasi, WAX and Dino chips
    30dd4af48a9e selftests: net: Add tls config dependency for tls selftests
    ea029e4ce760 NFS: Avoid writeback threads getting stuck in mempool_alloc()
    da747de68599 NFS: nfsiod should not block forever in mempool_alloc()
    e04ef859d6c6 SUNRPC: Fix socket waits for write buffer space
    d925b7e78b62 jfs: prevent NULL deref in diFree
    44c2d5fbe7b2 virtio_console: eliminate anonymous module_init & module_exit
    053bbff873a1 serial: samsung_tty: do not unlock port->lock for uart_write_wakeup()
    c393a9f4cb3b x86/Kconfig: Do not allow CONFIG_X86_X32_ABI=y with llvm-objcopy
    e3c961c56ad5 x86: Annotate call_on_stack()
    6bb2270223a8 NFS: swap-out must always use STABLE writes.
    24d28d9b0fd5 NFS: swap IO handling is slightly different for O_DIRECT IO
    a55386405094 SUNRPC: remove scheduling boost for "SWAPPER" tasks.
    20700aa01bc2 SUNRPC/xprt: async tasks mustn't block waiting for memory
    a19fd1d61797 SUNRPC/call_alloc: async tasks mustn't block waiting for memory
    b07387c476a3 clk: Enforce that disjoints limits are invalid
    15bfec9d8030 clk: ti: Preserve node in ti_dt_clocks_register()
    5c0750cad733 xen: delay xen_hvm_init_time_ops() if kdump is boot on vcpu>=32
    12e49aefda2e habanalabs: fix possible memory leak in MMU DR fini
    a34752aa2397 NFSv4: Protect the state recovery thread against direct reclaim
    b37f482ba9f0 NFSv4.2: fix reference count leaks in _nfs42_proc_copy_notify()
    24acdd5f9c91 w1: w1_therm: fixes w1_seq for ds28ea00 sensors
    86efcb524ae1 staging: wfx: fix an error handling in wfx_init_common()
    7295544bcf56 opp: Expose of-node's name in debugfs
    ea1f29584136 cpufreq: CPPC: Fix performance/frequency conversion
    26f0a9e3d04d clk: rockchip: drop CLK_SET_RATE_PARENT from dclk_vop* on rk3568
    caffa76ded5a phy: amlogic: meson8b-usb2: fix shared reset control use
    ab27675a0fcc phy: amlogic: meson8b-usb2: Use dev_err_probe()
    35df38c4be0c phy: amlogic: phy-meson-gxl-usb2: fix shared reset controller use
    42f2142a337e staging: vchiq_core: handle NULL result of find_service_by_handle
    176df12b38c7 staging: vchiq_arm: Avoid NULL ptr deref in vchiq_dump_platform_instances
    161863aec0e1 clk: si5341: fix reported clk_rate when output divider is 2
    31e027259ce4 minix: fix bug when opening a file with O_DIRECT
    4602b7a8ee0d init/main.c: return 1 from handled __setup() functions
    9d849449d28f lib/Kconfig.debug: add ARCH dependency for FUNCTION_ALIGN option
    2fe82d325402 ceph: fix memory leak in ceph_readdir when note_last_dentry returns error
    3ae7163598c6 ceph: fix inode reference leakage in ceph_get_snapdir()
    eb0e7173d9cb netlabel: fix out-of-bounds memory accesses
    58d52743ae85 netfilter: conntrack: revisit gc autotuning
    d404765dffdb Bluetooth: Fix use after free in hci_send_acl
    f249bbf3cb9a MIPS: ingenic: correct unit node address
    11ba1aa21280 xtensa: fix DTC warning unit_address_format
    13946d5a68ef mt76: fix monitor mode crash with sdio driver
    ac27808b82db usb: dwc3: omap: fix "unbalanced disables for smps10_out1" on omap5evm
    0616792164d3 net: sfp: add 2500base-X quirk for Lantech SFP module
    459e56859f7a net/mlx5e: Remove overzealous validations in netlink EEPROM query
    1c4561d9b5cb net: limit altnames to 64k total
    601f748029f3 net: account alternate interface name memory
    d804db3dafd1 riscv: Fixed misaligned memory access. Fixed pointer comparison.
    6ca71078a91e can: etas_es58x: es58x_fd_rx_event_msg(): initialize rx_event_msg before calling es58x_check_msg_len()
    db9a140a8585 can: isotp: set default value for N_As to 50 micro seconds
    f581df412bc4 scsi: libfc: Fix use after free in fc_exch_abts_resp()
    2a71e3ecd829 powerpc/secvar: fix refcount leak in format_show()
    5c80ff21c5db powerpc/64e: Tie PPC_BOOK3E_64 to PPC_FSL_BOOK3E
    9b85e31309c2 MIPS: fix fortify panic when copying asm exception handlers
    dc9d33b2d8d0 PCI: endpoint: Fix misused goto label
    b6d4b322da46 bnxt_en: Eliminate unintended link toggle during FW reset
    42b6a39f439b Bluetooth: use memset avoid memory leaks
    0000de40b9f3 Bluetooth: Fix not checking for valid hdev on bt_dev_{info,warn,err,dbg}
    bb78c3b11f4d tuntap: add sanity checks about msg_controllen in sendmsg
    e8d8f1d091e4 macvtap: advertise link netns via netlink
    5fb47ca34908 mips: ralink: fix a refcount leak in ill_acc_of_setup()
    58758110912d net/smc: correct settings of RMB window update limit
    dd111d335cab scsi: hisi_sas: Limit users changing debugfs BIST count value
    f05a0d8de2ea scsi: hisi_sas: Free irq vectors in order for v3 HW
    b8fa10d7c8fc scsi: aha152x: Fix aha152x_setup() __setup handler return value
    556ec5030e57 mt76: mt7615: Fix assigning negative values to unsigned variable
    c3543bac6efa powerpc/64s/hash: Make hash faults work in NMI context
    df467929a040 mt76: mt7915: fix injected MPDU transmission to not use HW A-MSDU
    e5ecdb01952f scsi: pm8001: Fix memory leak in pm8001_chip_fw_flash_update_req()
    43c617eefab7 scsi: pm8001: Fix tag leaks on error
    2290dcad6f65 scsi: pm8001: Fix task leak in pm8001_send_abort_all()
    ece79aaec8fc scsi: pm8001: Fix pm8001_mpi_task_abort_resp()
    5e4ac14baebb scsi: pm8001: Fix pm80xx_pci_mem_copy() interface
    5e96bb81eddf vfio/pci: Stub vfio_pci_vga_rw when !CONFIG_VFIO_PCI_VGA
    f325d3e1dcc8 drm/amdkfd: make CRAT table missing message informational only
    da52e8b9dad6 dm: requeue IO if mapping table not yet available
    02cc46f397eb dm ioctl: prevent potential spectre v1 gadget
    049072749a5e ipv4: Invalidate neighbour for broadcast address upon address addition
    e45d1d19a0bb drm/msm/dsi: Remove spurious IRQF_ONESHOT flag
    e1b5aae5b6b0 iwlwifi: mvm: move only to an enabled channel
    6f215801c302 iwlwifi: mvm: Correctly set fragmented EBS
    d353d3b27af4 usb: dwc3: pci: Set the swnode from inside dwc3_pci_quirks()
    c64f3707cdf9 net/mlx5e: Disable TX queues before registering the netdev
    83efc05c8579 power: supply: axp288-charger: Set Vhold to 4.4V
    6def4eaf0391 powerpc/set_memory: Avoid spinlock recursion in change_page_attr()
    5d76a88b8536 scsi: mpi3mr: Fix memory leaks
    248ead78f346 scsi: mpi3mr: Fix reporting of actual data transfer size
    53643a112dd6 PCI: pciehp: Add Qualcomm quirk for Command Completed erratum
    aa9c9fd0ef9d tcp: Don't acquire inet_listen_hashbucket::lock with disabled BH.
    bd21b9607bd7 PCI: endpoint: Fix alignment fault error in copy tests
    2aa10e2fa2ab usb: ehci: add pci device support for Aspeed platforms
    99073052f45b iommu/arm-smmu-v3: fix event handling soft lockup
    60eabd66d17f PCI: aardvark: Fix support for MSI interrupts
    330c4e1b4ec4 scsi: smartpqi: Fix kdump issue when controller is locked up
    0a922366d6d9 drm/amdgpu: Fix recursive locking warning
    06ee48a4fc25 powerpc: Set crashkernel offset to mid of RMA region
    9c1ace066f22 net: initialize init_net earlier
    4790998fdd0d ipv6: make mc_forwarding atomic
    e9da1df2c021 libbpf: Fix build issue with llvm-readelf
    19d067c10b71 cfg80211: don't add non transmitted BSS to 6GHz scanned channels
    55c93a89e31d mt76: dma: initialize skip_unmap in mt76_dma_rx_fill
    38fbe8066450 mt76: mt7921: fix crash when startup fails.
    793a37045893 power: supply: axp20x_battery: properly report current when discharging
    a0f8220ce934 drm/v3d: fix missing unlock
    0f8ec114029a scsi: bfa: Replace snprintf() with sysfs_emit()
    1378075fa5bc scsi: mvsas: Replace snprintf() with sysfs_emit()
    1c6ffdf4cc45 bpf: Make dst_port field in struct bpf_sock 16-bit wide
    ff13c90d7f7a drm/bridge: Add missing pm_runtime_put_sync
    35380262304f net/smc: Send directly when TCP_CORK is cleared
    20d01a11efde ath11k: mhi: use mhi_sync_power_up()
    fed4cef115ab ath11k: pci: fix crash on suspend if board file is not found
    c4b7653af62a ath11k: fix kernel panic during unload/load ath11k modules
    910ee99d47d3 powerpc: dts: t104xrdb: fix phy type for FMAN 4/5
    e84b0438010d drm/amdkfd: Don't take process mutex for svm ioctls
    1eb598045326 ptp: replace snprintf with sysfs_emit
    052fb1c9ddfb usb: cdnsp: fix cdnsp_decode_trb function to properly handle ret value
    c27576bbbe77 usb: gadget: tegra-xudc: Fix control endpoint's definitions
    111a63235001 usb: gadget: tegra-xudc: Do not program SPARAM
    6040c99cb1a1 drm/amd/display: Use PSR version selected during set_psr_caps
    7e10369c72db drm/amd/display: Fix memory leak
    3edd8646cb7c drm/amd/amdgpu/amdgpu_cs: fix refcount leak of a dma_fence obj
    c4b64a80554e drm/amd/display: Add signal type check when verify stream backends same
    be2f81024e79 ath5k: fix OOB in ath5k_eeprom_read_pcal_info_5111
    b3ca02c1ee93 drm: Add orientation quirk for GPD Win Max
    d5f6f44e04c3 KVM: x86/emulator: Emulate RDPID only if it is enabled in guest
    a997e0f5aa55 KVM: x86/pmu: Fix and isolate TSX-specific performance event logic
    e7bab9898249 KVM: x86/svm: Clear reserved bits written to PerfEvtSeln MSRs
    5483640f8efb KVM: SVM: Fix kvm_cache_regs.h inclusions for is_guest_mode()
    a82fe0ba1c52 KVM: x86/pmu: Use different raw event masks for AMD and Intel
    105b50d9bb82 kfence: limit currently covered allocations when pool nearly full
    44b44b64b4da kfence: move saving stack trace of allocations into __kfence_alloc()
    72d2d94a981d kfence: count unexpectedly skipped allocations
    5142720dbe51 nbd: fix possible overflow on 'first_minor' in nbd_dev_add()
    64742cf82dec nbd: Fix hungtask when nbd_config_put
    694b5a32c162 nbd: Fix incorrect error handle when first_minor is illegal in nbd_dev_add
    3e526e9ae0e4 nbd: add error handling support for add_disk()
    f8008f42d463 rtc: wm8350: Handle error for wm8350_register_irq
    b257272f5483 um: fix and optimize xor select template for CONFIG64 and timetravel mode
    2be1a7f09635 lib/logic_iomem: correct fallback config references

(From OE-Core rev: 2104966bb02100e661ce77887470b0df7a877ff2)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 39e9635c34b773f671870dec4c1953daef576b16)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-12 16:44:05 +01:00
Bruce Ashfield
dd1d4a5f70 linux-yocto/5.15: netfilter: conntrack: avoid useless indirection during conntrack destruction
Integrating the following commit(s) to linux-yocto/5.15:

    07a63f760793 netfilter: conntrack: avoid useless indirection during conntrack destruction

(From OE-Core rev: abf7178c03248f58caf403b6f80039ae23ed9bdf)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 2aaf2429474da762d305d6fb70996b5502c879c7)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-12 16:44:05 +01:00
Bruce Ashfield
304e8e2496 linux-yocto/5.15: fix ppc boot
The 5.15-stable series pulled in the following commit:

   commit c894ac44786cfed383a6c6b20c1bfb12eb96018a
   Author: Thomas Zimmermann <tzimmermann@suse.de>
   Date:   Tue Jan 25 10:12:18 2022 +0100

    fbdev: Hot-unplug firmware fb devices on forced removal

    commit 27599aacbaefcbf2af7b06b0029459bbf682000d upstream.

    Hot-unplug all firmware-framebuffer devices as part of removing
    them via remove_conflicting_framebuffers() et al. Releases all
    memory regions to be acquired by native drivers.

    Firmware, such as EFI, install a framebuffer while posting the
    computer. After removing the firmware-framebuffer device from fbdev,
    a native driver takes over the hardware and the firmware framebuffer
    becomes invalid.

    Firmware-framebuffer drivers, specifically simplefb, don't release
    their device from Linux' device hierarchy. It still owns the firmware
    framebuffer and blocks the native drivers from loading. This has been
    observed in the vmwgfx driver. [1]

    Initiating a device removal (i.e., hot unplug) as part of
    remove_conflicting_framebuffers() removes the underlying device and
    returns the memory range to the system.

    [1] https://lore.kernel.org/dri-devel/20220117180359.18114-1-zack@kde.org/

    v2:
            * rename variable 'dev' to 'device' (Javier)

    Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
    Reported-by: Zack Rusin <zackr@vmware.com>
    Reviewed-by: Javier Martinez Canillas <javierm@redhat.com>
    Reviewed-by: Zack Rusin <zackr@vmware.com>
    Reviewed-by: Hans de Goede <hdegoede@redhat.com>
    CC: stable@vger.kernel.org # v5.11+
    Link: https://patchwork.freedesktop.org/patch/msgid/20220125091222.21457-2-tzimmermann@suse.de
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

And this is causing qemuppc to panic during boot when manipulating
the fbdev.

Reverting it fixes the problem, and won't cause issues for other
platforms, so we revert it.

(From OE-Core rev: 99d112f2d8f0c8b99ac8057bac93629284e0c5e2)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f69fca36ef10f7345bba08c55d8af2628d250a32)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-12 16:44:05 +01:00
Bruce Ashfield
74dbe8d878 linux-yocto/5.15: kasan: fix BUG: sleeping function called from invalid context
Integrating the following commit(s) to linux-yocto/5.15:

    7ba4cb36fd4f rcu: Avoid alloc_pages() when recording stack
    f78574dee71e kasan: test: silence intentional read overflow warnings
    d313cb89b6b1 kasan: arm64: fix pcpu_page_first_chunk crash with KASAN_VMALLOC
    5e279d5647cc arm64: support page mapping percpu first chunk allocator
    e5bf16752dca vmalloc: choose a better start address in vm_area_register_early()
    660b3d21b46f kasan: test: bypass __alloc_size checks
    00aa7573e53a kasan: test: add memcpy test that avoids out-of-bounds write
    67becf0b1bd4 kasan: fix tag for large allocations when using CONFIG_SLAB
    bedf1e033213 workqueue, kasan: avoid alloc_pages() when recording stack
    7195b67ce69b kasan: generic: introduce kasan_record_aux_stack_noalloc()
    bdff763f0e29 kasan: common: provide can_alloc in kasan_save_stack()
    51423ebb36ad lib/stackdepot: introduce __stack_depot_save()
    85373e66d847 lib/stackdepot: remove unused function argument
    5b6cc9b251f3 lib/stackdepot: include gfp.h

Link: https://lkml.kernel.org/r/20210913112609.2651084-1-elver@google.com
Link: https://lkml.kernel.org/r/20210913112609.2651084-2-elver@google.com

(From OE-Core rev: 65126f10d8483f7e8a41c66a2377687601c27e13)

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit a9075595074609c80af3530d4660b88ce0f76744)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-12 16:44:05 +01:00
Bruce Ashfield
f31412cd99 linux-yocto/5.15: base: enable kernel crypto userspace API
Integrating the following commit(s) to linux-yocto/.:

    645b337371e base.cfg: enable kernel crypto userspace API

(From OE-Core rev: 0b6d826557cb395a9d4ed5bab85145314707071f)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit c769807e3a150496f62be88bec9678c9f9dce211)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-12 16:44:05 +01:00
Bruce Ashfield
635c414737 linux-yocto/5.15: update to v5.15.33
Updating linux-yocto/5.15 to the latest korg -stable release that comprises
the following commits:

    06f50ca83ace Linux 5.15.33
    541b7456fc4d PCI: xgene: Revert "PCI: xgene: Use inbound resources for setup"
    39fd0cc079c9 coredump: Use the vma snapshot in fill_files_note
    cabd69640957 coredump/elf: Pass coredump_params into fill_note_info
    7ba958df6449 coredump: Remove the WARN_ON in dump_vma_snapshot
    f6ca862806df coredump: Snapshot the vmas in do_coredump
    57c04fac8023 iommu/dma: Account for min_align_mask w/swiotlb
    3e44e136560c swiotlb: Support aligned swiotlb buffers
    52d23f5f0915 iommu/dma: Check CONFIG_SWIOTLB more broadly
    bc05d84824c0 iommu/dma: Fold _swiotlb helpers into callers
    c3841d020b82 iommu/dma: Skip extra sync during unmap w/swiotlb
    8771d9673e0b KVM: x86/mmu: do compare-and-exchange of gPTE via the user address
    b0e8e828acb5 mmc: rtsx: Fix build errors/warnings for unused variable
    8af04b6aa02b mmc: rtsx: Let MMC core handle runtime PM
    a9bbdeef768f n64cart: convert bi_disk to bi_bdev->bd_disk fix build
    2a710a5c59e9 torture: Make torture.sh help message match reality
    acabfc943245 openvswitch: Fixed nd target mask field in the flow dump.
    3fc38521fc30 docs: sysctl/kernel: add missing bit to panic_print
    166abd13eab0 um: Fix uml_mconsole stop/go
    94a53804ec3a arm64: dts: ls1046a: Update i2c node dma properties
    32820c358d1b arm64: dts: ls1043a: Update i2c dma properties
    28a020859c00 ARM: dts: spear13xx: Update SPI dma properties
    7aa9bba18f80 ARM: dts: spear1340: Update serial node properties
    dd8772224c19 spi: mediatek: support tick_delay without enhance_timing
    2a6e0695ddd5 media: ov6650: Fix crop rectangle affected by set format
    3995d4cf529c media: ov6650: Add try support to selection API operations
    8f5e6110e108 perf vendor events: Update metrics for SkyLake Server
    b0e5c18317f7 ASoC: topology: Allow TLV control to be either read or write
    678b6901d00b ASoC: SOF: Intel: Fix build error without SND_SOC_SOF_PCI_DEV
    ba8260872dd5 ubi: fastmap: Return error code if memory allocation fails in add_aeb()
    666176d0f9bb dt-bindings: pinctrl: pinctrl-microchip-sgpio: Fix example
    e918b36600d6 dt-bindings: memory: mtk-smi: No need mediatek,larb-id for mt8167
    b2b85196a31a dt-bindings: spi: mxic: The interrupt property is not mandatory
    c19a9d307844 dt-bindings: mtd: nand-controller: Fix a comment in the examples
    716a77f8460d dt-bindings: mtd: nand-controller: Fix the reg property description
    8ec990990be3 mmc: rtsx: Use pm_runtime_{get,put}() to handle runtime PM
    50c906a6977f bpf: Fix comment for helper bpf_current_task_under_cgroup()
    398ac11f4425 bpf: Adjust BPF stack helper functions to accommodate skip > 0
    21b6b8d43d87 af_unix: Support POLLPRI for OOB.
    260daa256d30 mm/usercopy: return 1 from hardened_usercopy __setup() handler
    c9acbcd636ab mm/memcontrol: return 1 from cgroup.memory __setup() handler
    48ddbd8b4e42 ARM: 9187/1: JIVE: fix return value of __setup handler
    6795b20d4b2c mm/mmap: return 1 from stack_guard_gap __setup() handler
    23629b673b78 net: preserve skb_end_offset() in skb_unclone_keeptruesize()
    51e458fc0ca6 net: add skb_set_end_offset() helper
    14d552ab31ed tracing: Have type enum modifications copy the strings
    7007c894631c Reinstate some of "swiotlb: rework "fix info leak with DMA_FROM_DEVICE""
    63351e2e1362 ASoC: soc-compress: Change the check for codec_dai
    7ed3cce2fe68 arm64: mm: Drop 'const' from conditional arm64_dma_phys_limit definition
    5ab0f5e238b9 staging: mt7621-dts: fix pinctrl-0 items to be size-1 items on ethernet
    0e39097efcb5 scsi: qla2xxx: Add qla2x00_async_done() for async routines
    b9cf1208af36 drm/connector: Fix typo in documentation
    5b422da35c15 proc: bootconfig: Add null pointer check
    f78f56488cd3 can: isotp: restore accidentally removed MSG_PEEK feature
    3fc81968625a platform/chrome: cros_ec_typec: Check for EC device
    8c1c3c00dceb spi: Fix Tegra QSPI example
    7480cc0240eb vhost: handle error while adding split ranges to iotlb
    97b5593fd1b1 ACPI: CPPC: Avoid out of bounds access when parsing _CPC data
    dae252901378 riscv module: remove (NOLOAD)
    0853bd6885c2 io_uring: fix memory leak of uid in files registration
    5b9ac3727e4a block: Fix the maximum minor value is blk_alloc_ext_minor()
    21cfddd5e0f6 ARM: iop32x: offset IRQ numbers by 1
    1a3f1cf87054 ubi: Fix race condition between ctrl_cdev_ioctl and ubi_cdev_ioctl
    619709f0c608 ASoC: mediatek: mt6358: add missing EXPORT_SYMBOLs
    d509d41d89c5 pinctrl: nuvoton: npcm7xx: Use %zu printk format for ARRAY_SIZE()
    3e51c3023228 pinctrl: nuvoton: npcm7xx: Rename DS() macro to DSTR()
    b603cbe08b0b net: sparx5: uses, depends on BRIDGE or !BRIDGE
    84817c83c0e7 watchdog: rti-wdt: Add missing pm_runtime_disable() in probe function
    d02ca80ec735 pinctrl: pinconf-generic: Print arguments for bias-pull-*
    4913daecd04a watch_queue: Free the page array when watch_queue is dismantled
    210891d81b9c crypto: arm/aes-neonbs-cbc - Select generic cbc and aes
    c78d23ea7506 mailbox: imx: fix wakeup failure from freeze mode
    8cbf4ae7a283 rxrpc: Fix call timer start racing with call destruction
    432297011caf rxrpc: fix some null-ptr-deref bugs in server_key.c
    88570bda6e48 net: hns3: fix software vlan talbe of vlan 0 inconsistent with hardware
    a0817ad3f283 net: hns3: fix the concurrency between functions reading debugfs
    5c3c9bce1c99 gfs2: Make sure FITRIM minlen is rounded up to fs block size
    1d8195349742 gfs2: gfs2_setattr_size error path fix
    50ed32e67c5c rtc: check if __rtc_read_time was successful
    9f20ce95db3d modpost: restore the warning message for missing symbol versions
    7aae60df6782 XArray: Update the LRU list in xas_split()
    be8ebbabac94 can: mcp251xfd: mcp251xfd_register_get_dev_id(): fix return of error value
    fa9c1f14002d can: mcba_usb: properly check endpoint type
    37f07ad24866 can: mcba_usb: mcba_usb_start_xmit(): fix double dev_kfree_skb in error path
    7521a97b1929 XArray: Fix xas_create_range() when multi-order entry present
    9af42a4f6d81 wireguard: socket: ignore v6 endpoints when ipv6 is disabled
    402991a97715 wireguard: socket: free skb in send6 when ipv6 is disabled
    6a7245252fdc wireguard: queueing: use CFI-safe ptr_ring cleanup function
    c98f792a1468 nvme: fix the read-only state for zoned namespaces with unsupposed features
    7d18d6c71372 nvme: allow duplicate NSIDs for private namespaces
    578bf41d9443 ubifs: rename_whiteout: correct old_dir size computing
    4f75bab98565 ubifs: Fix to add refcount once page is set private
    a7054aaf1909 ubifs: Fix read out-of-bounds in ubifs_wbuf_write_nolock()
    56cf8b26b18e ubifs: setflags: Make dirtied_ino_d 8 bytes aligned
    489c3a2577b3 ubifs: Rectify space amount budget for mkdir/tmpfile operations
    a9662bec5a4d ubifs: Fix 'ui->dirty' race between do_tmpfile() and writeback work
    c67bc98d1f08 ubifs: Rename whiteout atomically
    ff846f2c5d1d ubifs: Add missing iput if do_tmpfile() failed in rename whiteout
    c58af8564a7b ubifs: Fix deadlock in concurrent rename whiteout and inode writeback
    2ad07009c459 ubifs: rename_whiteout: Fix double free for whiteout_ui->data
    3fa2d7479605 KVM: SVM: fix panic on out-of-bounds guest IRQ
    63961ac1359e KVM: x86: fix sending PV IPI
    43637ee17092 KVM: Prevent module exit until all VMs are freed
    ba6e8c2df520 KVM: x86: Forbid VMM to set SYNIC/STIMER MSRs when SynIC wasn't activated
    0e5dbc0540ba KVM: x86: Avoid theoretical NULL pointer dereference in kvm_irq_delivery_to_apic_fast()
    569a229142e9 KVM: x86: Check lapic_in_kernel() before attempting to set a SynIC irq
    81e5b16de862 platform: chrome: Split trace include file
    89dad346c241 scsi: qla2xxx: Use correct feature type field during RFF_ID processing
    f63fde0d16a4 scsi: qla2xxx: Reduce false trigger to login
    20909563bd50 scsi: qla2xxx: Fix stuck session of PRLI reject
    2b612191f9d3 scsi: qla2xxx: Fix N2N inconsistent PLOGI
    c9d6081a5f18 scsi: qla2xxx: Fix missed DMA unmap for NVMe ls requests
    d6f691a133f0 scsi: qla2xxx: Fix hang due to session stuck
    7ccd6063874d scsi: qla2xxx: Fix incorrect reporting of task management failure
    c0300beb313f scsi: qla2xxx: Fix disk failure to rediscover
    9c33d49ab9f3 scsi: qla2xxx: Suppress a kernel complaint in qla_create_qpair()
    d1b7d23cd462 scsi: qla2xxx: Check for firmware dump already collected
    812afc2b8ec0 scsi: qla2xxx: Add devids and conditionals for 28xx
    d70d86f7a6ea scsi: qla2xxx: Fix T10 PI tag escape and IP guard options for 28XX adapters
    2df59f3bb240 scsi: qla2xxx: edif: Fix clang warning
    fbc1aa41269a scsi: qla2xxx: Fix device reconnect in loop topology
    b6c95db6d2e8 scsi: qla2xxx: Fix warning for missing error code
    67b1be130861 scsi: qla2xxx: Fix wrong FDMI data for 64G adapter
    5ef6319f9882 scsi: qla2xxx: Fix premature hw access after PCI error
    826a9d4a00d1 scsi: qla2xxx: Fix scheduling while atomic
    7a3457777c4f scsi: qla2xxx: Fix warning message due to adisc being flushed
    5fb0a488028e scsi: qla2xxx: Fix stuck session in gpdb
    e17111dd2fda scsi: qla2xxx: Implement ref count for SRB
    24e86eae3f7b scsi: qla2xxx: Refactor asynchronous command initialization
    f5a0cf225f8d drm/i915: Reject unsupported TMDS rates on ICL+
    beeebae6ea82 drm/i915: Fix PSF GV point mask when SAGV is not possible
    102cba6d5ae2 drm/i915: Treat SAGV block time 0 as SAGV disabled
    e912d697400c drm/dp: Fix off-by-one in register cache size
    2d67222b2380 powerpc: Fix build errors with newer binutils
    f4b0b5a0f3c1 powerpc: Add set_memory_{p/np}() and remove set_memory_attr()
    a29341e48601 powerpc/lib/sstep: Fix build errors with newer binutils
    d25efd904271 powerpc/lib/sstep: Fix 'sthcx' instruction
    5a3d8f3192a4 powerpc/kasan: Fix early region not updated correctly
    cb188e07105f KVM: x86: hyper-v: HVCALL_SEND_IPI_EX is an XMM fast hypercall
    5c3d0dbe200f KVM: x86: hyper-v: Fix the maximum number of sparse banks for XMM fast TLB flush hypercalls
    72eae60bfe83 KVM: x86: hyper-v: Drop redundant 'ex' parameter from kvm_hv_flush_tlb()
    dbec906dbef6 KVM: x86: hyper-v: Drop redundant 'ex' parameter from kvm_hv_send_ipi()
    f4fd34eaa767 KVM: x86/mmu: Check for present SPTE when clearing dirty bit in TDP MMU
    af47248407c0 KVM: x86/mmu: Zap _all_ roots when unmapping gfn range in TDP MMU
    31a70b170e06 KVM: x86/mmu: Move "invalid" check out of kvm_tdp_mmu_get_root()
    48306afcac2a KVM: x86: Reinitialize context if host userspace toggles EFER.LME
    273ad0cf5684 ALSA: hda/realtek: Add alc256-samsung-headphone fixup
    fe440221ca0f media: atomisp: fix bad usage at error handling logic
    251a11699fe5 mmc: host: Return an error when ->enable_sdio_irq() ops is missing
    7c6bd60999f3 tracing: Have TRACE_DEFINE_ENUM affect trace event types as well
    ae2b93b0a6a7 ASoC: Intel: sof_sdw: fix quirks for 2022 HP Spectre x360 13"
    f90db7cca4d4 media: hdpvr: initialize dev->worker at hdpvr_register_videodev
    deb1f0453198 media: Revert "media: em28xx: add missing em28xx_close_extension"
    96a7522c72c4 media: i2c: ov5648: Fix lockdep error
    eae90015d10f video: fbdev: sm712fb: Fix crash in smtcfb_write()
    a07c7b64eadf ASoC: amd: vg: fix for pm resume callback sequence
    4ab0293c961b ARM: mmp: Fix failure to remove sram device
    f8ef3b979bfa ARM: tegra: tamonten: Fix I2C3 pad setting
    6a1c70de40b5 lib/test_lockup: fix kernel pointer check for separate address spaces
    8b2a6074b981 uaccess: fix type mismatch warnings from access_ok()
    cb5bd93ad218 media: cx88-mpeg: clear interrupt status register before streaming video
    02f9f97d54ff media: imx-jpeg: fix a bug of accessing array out of bounds
    0b620fce5eae ASoC: soc-core: skip zero num_dai component in searching dai name
    80e6bbe4e193 ARM: dts: bcm2711: Add the missing L1/L2 cache information
    2d5c47df8e21 video: fbdev: udlfb: replace snprintf in show functions with sysfs_emit
    e7f5b1c56921 video: fbdev: omapfb: panel-tpo-td043mtea1: Use sysfs_emit() instead of snprintf()
    509bc99aba95 video: fbdev: omapfb: panel-dsi-cm: Use sysfs_emit() instead of snprintf()
    79045b61875d arm64: defconfig: build imx-sdma as a module
    c7129c401f55 ARM: dts: imx7: Use audio_mclk_post_div instead audio_mclk_root_clk
    330de92eb10f ARM: ftrace: avoid redundant loads or clobbering IP
    3f887cb763a0 media: atomisp: fix dummy_ptr check to avoid duplicate active_bo
    8b6b38083a29 media: atomisp_gmin_platform: Add DMI quirk to not turn AXP ELDO2 regulator off on some boards
    1c17870f26d9 ASoC: madera: Add dependencies on MFD
    35a2aeb70fe6 ARM: dts: bcm2837: Add the missing L1/L2 cache information
    93b85b6e8358 ARM: dts: qcom: fix gic_irq_domain_translate warnings for msm8960
    521796018815 video: fbdev: omapfb: acx565akm: replace snprintf with sysfs_emit
    6fe23ff94e78 video: fbdev: cirrusfb: check pixclock to avoid divide by zero
    9522e11e8636 video: fbdev: w100fb: Reset global state
    9ff2f7294ab0 video: fbdev: nvidiafb: Use strscpy() to prevent buffer overflow
    77fbe028d5a3 media: iommu/mediatek: Add device_link between the consumer and the larb devices
    4dd3e2d1bd70 media: iommu/mediatek: Return ENODEV if the device is NULL
    1515d1414967 media: iommu/mediatek-v1: Free the existed fwspec if the master dev already has
    eff76b180751 media: imx-jpeg: Prevent decoding NV12M jpegs into single-planar buffers
    47b45e08e5ad ASoC: SOF: Intel: match sdw version on link_slaves_found
    205db54b159f ASoC: sh: rz-ssi: Make the data structures available before registering the handlers
    2011363c1968 media: ir_toy: free before error exiting
    0b2313042634 media: atmel: atmel-isc-base: report frame sizes as full supported range
    3681eb1fd45c media: staging: media: zoran: fix various V4L2 compliance errors
    7e76f3ed7ab2 media: staging: media: zoran: calculate the right buffer number for zoran_reap_stat_com
    ff3357bffd9f media: staging: media: zoran: move videodev alloc
    24ab2d4ef52c ntfs: add sanity check on allocation size
    9dd6bb11df64 Adjust cifssb maximum read size
    1a55c48bba81 f2fs: compress: fix to print raw data size in error path of lz4 decompression
    2eff60346e7a f2fs: use spin_lock to avoid hang
    c78bada18aa1 btrfs: make search_csum_tree return 0 if we get -EFBIG
    40d006dfedd6 btrfs: harden identification of a stale device
    58d3aa672d13 f2fs: don't get FREEZE lock in f2fs_evict_inode in frozen fs
    7260793c13e9 NFSD: Fix nfsd_breaker_owns_lease() return values
    f68caedf264a f2fs: fix to do sanity check on curseg->alloc_type
    a0856764dc12 ext4: don't BUG if someone dirty pages without asking ext4 first
    7cca463f1030 sched/tracing: Report TASK_RTLOCK_WAIT tasks as TASK_UNINTERRUPTIBLE
    6a6beb074186 ext4: fix ext4_mb_mark_bb() with flex_bg with fast_commit
    572d14e6cec4 ext4: correct cluster len and clusters changed accounting in ext4_mb_mark_bb
    1388c10b3257 locking/lockdep: Iterate lock_classes directly when reading lockdep files
    95bc0ba6bef8 atomics: Fix atomic64_{read_acquire,set_release} fallbacks
    75fe5dcb1653 spi: tegra20: Use of_device_get_match_data()
    ffe0c4916795 nvme-tcp: lockdep: annotate in-kernel sockets
    b3ea76bda7f7 parisc: Fix handling off probe non-access faults
    c29642ba72f8 PM: core: keep irq flags in device_pm_check_callbacks()
    c02f2d420a44 ACPI/APEI: Limit printable size of BERT table data
    65d8a737452e Revert "Revert "block, bfq: honor already-setup queue merges""
    5b8d69c8c107 lib/raid6/test/Makefile: Use $(pound) instead of \# for Make 4.3
    33ccf4f81785 ACPICA: Avoid walking the ACPI Namespace if it is not there
    080665e2c3cb bfq: fix use-after-free in bfq_dispatch_request
    e0943c456b60 fs/binfmt_elf: Fix AT_PHDR for unusual ELF files
    757322b5aba9 irqchip/nvic: Release nvic_base upon failure
    dabfc878ef6f irqchip/qcom-pdc: Fix broken locking
    05ba7d0c639f Fix incorrect type in assignment of ipv6 port for audit
    860d36424d1b loop: use sysfs_emit() in the sysfs xxx show()
    55d192691b4b selinux: allow FIOCLEX and FIONCLEX with policy capability
    e48c260b0b2a arm64: module: remove (NOLOAD) from linker script
    15bb7a467b2b selinux: use correct type for context length
    8f34dea99cd7 block, bfq: don't move oom_bfqq
    69d41c77aadf crypto: hisilicon/sec - not need to enable sm4 extra mode at HW V3
    f84b1633004d crypto: xts - Add softdep on ecb
    e11293de5cf6 block/bfq_wf2q: correct weight to ioprio
    e34806c6c29d rcu: Mark writes to the rcu_segcblist structure's ->flags field
    99780fcb5494 pinctrl: npcm: Fix broken references to chip->parent_device
    999ee266531b gcc-plugins/stackleak: Exactly match strings instead of prefixes
    ca97dfbda510 crypto: hisilicon/qm - cleanup warning in qm_vf_read_qos
    4941c21090c3 regulator: rpi-panel: Handle I2C errors/timing to the Atmel
    f3f93a1aaafc LSM: general protection fault in legacy_parse_param
    c331c9d1d2b7 fs: fix fd table size alignment properly
    611170142b42 lib/test: use after free in register_test_dev_kmod()
    136736abcd35 fs: fd tables have to be multiples of BITS_PER_LONG
    fd3f70b90772 net: dsa: bcm_sf2_cfp: fix an incorrect NULL check on list iterator
    a738ff8143d8 NFSv4/pNFS: Fix another issue with a list iterator pointing to the head
    bcbf4e5c3b5b net/sched: act_ct: fix ref leak when switching zones
    72dd9e61fa31 net: prefer nf_ct_put instead of nf_conntrack_put
    6b663fa23c7e octeontx2-af: initialize action variable
    b375ea083fa6 net: sparx5: switchdev: fix possible NULL pointer dereference
    409570a619c1 net/x25: Fix null-ptr-deref caused by x25_disconnect
    c416e9bb85a6 qlcnic: dcb: default to returning -EOPNOTSUPP
    e87c47df2193 net: sparx5: depends on PTP_1588_CLOCK_OPTIONAL
    34a5c64951c3 net: hns3: clean residual vf config after disable sriov
    c95578235888 NFS: Don't loop forever in nfs_do_recoalesce()
    667760fe01e9 selftests: test_vxlan_under_vrf: Fix broken test case
    2d05a007096e net: phy: broadcom: Fix brcm_fet_config_init()
    2dc73ba93202 net: hns3: refine the process when PF set VF VLAN
    ee7e9a9d73d9 net: hns3: format the output of the MAC address
    30f0ff7176ef net: hns3: add vlan list lock to protect vlan list
    02948e5782ce net: hns3: fix port base vlan add fail when concurrent with reset
    5e528c0e0618 net: hns3: fix bug when PF set the duplicate MAC address for VFs
    be6937a11b1c net: enetc: report software timestamping via SO_TIMESTAMPING
    af884b276b08 xen: fix is_xen_pmu()
    6c17fd7a6f5d clk: Initialize orphan req_rate
    8b320893461c vsock/virtio: enable VQs early on probe
    b64bf5464ad5 vsock/virtio: read the negotiated features before using VQs
    10c6cb867ffa vsock/virtio: initialize vdev->priv before using VQs
    c07a9d2a1d1d clk: qcom: gcc-msm8994: Fix gpll4 width
    e16b5f077980 perf stat: Fix forked applications enablement of counters
    c532caa7df8c kdb: Fix the putarea helper function
    0445609a7ace NFSv4.1: don't retry BIND_CONN_TO_SESSION on session error
    4ee7a4b67770 SUNRPC don't resend a task on an offlined transport
    6195af5ad801 netfilter: nf_conntrack_tcp: preserve liberal flag in tcp options
    6bbfe9a715ea jfs: fix divide error in dbNextAG
    104852921ff6 driver core: dd: fix return value of __setup handler
    20fab30930f3 firmware: google: Properly state IOMEM dependency
    af6e1b06d0ba kgdbts: fix return value of __setup handler
    1d5103d9bb7d virt: acrn: fix a memory leak in acrn_dev_ioctl()
    b9c43aa0b18d virt: acrn: obtain pa from VMA with PFNMAP flag
    16e323804732 serial: 8250: fix XOFF/XON sending when DMA is used
    a885e17cf5f2 kgdboc: fix return value of __setup handler
    e1338178f35e tty: hvc: fix return value of __setup handler
    e35a555b5a9d pinctrl/rockchip: Add missing of_node_put() in rockchip_pinctrl_probe
    c52703355766 pinctrl: nomadik: Add missing of_node_put() in nmk_pinctrl_probe
    84940deb8dd3 pinctrl: microchip-sgpio: lock RMW access
    c6f009fe90f1 pinctrl: microchip sgpio: use reset driver
    a843ba2e9c87 pinctrl: mediatek: paris: Skip custom extra pin config dump for virtual GPIOs
    070d46aee151 pinctrl: mediatek: paris: Fix pingroup pin config state readback
    1190c1a5828a pinctrl: mediatek: paris: Fix "argument" argument type for mtk_pinconf_get()
    a8d236a32934 pinctrl: mediatek: paris: Fix PIN_CONFIG_BIAS_* readback
    3ddbb9ba7579 pinctrl: mediatek: Fix missing of_node_put() in mtk_pctrl_init
    127a5d3e732d staging: mt7621-dts: fix GB-PC2 devicetree
    b24dfa54d6e8 staging: mt7621-dts: fix pinctrl properties for ethernet
    97d01fabee69 staging: mt7621-dts: fix formatting
    1293b7481d73 staging: mt7621-dts: fix LEDs and pinctrl on GB-PC1 devicetree
    75ee75cc360a NFS: remove unneeded check in decode_devicenotify_args()
    8bddc0227e78 mailbox: imx: fix crash in resume on i.mx8ulp
    613e1b253f6d clk: tegra: tegra124-emc: Fix missing put_device() call in emc_ensure_emc_driver
    4be3e4c05d8d clk: Fix clk_hw_get_clk() when dev is NULL
    071c958f8e1b clk: clps711x: Terminate clk_div_table with sentinel element
    0415dce6228c clk: hisilicon: Terminate clk_div_table with sentinel element
    f4aee7714a1c clk: loongson1: Terminate clk_div_table with sentinel element
    7608a654a294 clk: actions: Terminate clk_div_table with sentinel element
    be8ab90a3a77 nvdimm/region: Fix default alignment for small regions
    bd4771ba2cf9 remoteproc: qcom_q6v5_mss: Fix some leaks in q6v5_alloc_memory_region
    9c28309d6a5e remoteproc: qcom_wcnss: Add missing of_node_put() in wcnss_alloc_memory_region
    9a809b902e1d remoteproc: qcom: Fix missing of_node_put in adsp_alloc_memory_region
    95deff8996fb dmaengine: hisi_dma: fix MSI allocate fail when reload hisi_dma
    2a9b575627fc clk: qcom: clk-rcg2: Update the frac table for pixel clock
    34dca60982e9 clk: qcom: clk-rcg2: Update logic to calculate D value for RCG
    7a778371f9f2 clk: at91: sama7g5: fix parents of PDMCs' GCLK
    4b8a71f206c9 clk: imx: off by one in imx_lpcg_parse_clks_from_dt()
    4bd979ee9927 clk: imx7d: Remove audio_mclk_root_clk
    c39a750b61f7 dma-debug: fix return value of __setup handlers
    872a7b12af43 staging: r8188eu: fix endless loop in recv_func
    18dc19571210 NFS: Return valid errors from nfs2/3_decode_dirent()
    8a842f88d0e2 habanalabs: Add check for pci_enable_device
    82546d91d588 iio: adc: Add check for devm_request_threaded_irq
    3e843460fb42 serial: 8250: Fix race condition in RTS-after-send handling
    ba3a3390c9b1 NFS: Use of mapping_set_error() results in spurious errors
    b59173ff16fb serial: 8250_lpss: Balance reference count for PCI DMA device
    3a1131f7d2a8 serial: 8250_mid: Balance reference count for PCI DMA device
    675216a820ec phy: phy-brcm-usb: fixup BCM4908 support
    d9a3c2949d04 phy: dphy: Correct lpx parameter and its derivatives(ta_{get,go,sure})
    ca3d7cf53d8f clk: qcom: ipq8074: Use floor ops for SDCC1 clock
    8c54f6c900d1 pinctrl: renesas: checker: Fix miscalculation of number of states
    d19fb1d659ba pinctrl: renesas: r8a77470: Reduce size for narrow VIN1 channel
    157a22ca80c5 staging:iio:adc:ad7280a: Fix handing of device address bit reversing.
    d6c4fc0d903f serial: 8250_aspeed_vuart: add PORT_ASPEED_VUART port type
    011e841cd11b iio: mma8452: Fix probe failing when an i2c_device_id is used
    cad1a3b1f481 dmaengine: idxd: restore traffic class defaults after wq reset
    7bebc9519691 dmaengine: idxd: change bandwidth token to read buffers
    e509584b079a dmaengine: idxd: check GENCAP config support for gencfg register
    41e360fa73a4 clk: qcom: ipq8074: fix PCI-E clock oops
    9a5f4da1ea27 soundwire: intel: fix wrong register name in intel_shim_wake
    251aabcb0b09 cpufreq: qcom-cpufreq-nvmem: fix reading of PVS Valid fuse
    2d7a9c09be64 misc: alcor_pci: Fix an error handling path
    72c4f4200f98 fsi: Aspeed: Fix a potential double free
    8adfd166fb32 pps: clients: gpio: Propagate return value from pps_gpio_probe
    6f4f778f2747 pwm: lpc18xx-sct: Initialize driver data and hardware before pwmchip_add()
    28a886a308ed fsi: scom: Remove retries in indirect scoms
    9fdc543b0e2a fsi: scom: Fix error handling
    b125b08dbee3 mxser: fix xmit_buf leak in activate when LSR == 0xff
    7a68abde36e1 staging: r8188eu: release_firmware is not called if allocation fails
    1768384f61d1 staging: r8188eu: convert DBG_88E_LEVEL call in hal/rtl8188e_hal_init.c
    a9e88c2618d2 kernel/resource: fix kfree() of bootmem memory again
    585dc196a08f drivers: ethernet: cpsw: fix panic when interrupt coaleceing is set via ethtool
    eec20eea27a0 ice: don't allow to run ice_send_event_to_aux() in atomic ctx
    9b77c8cf69a4 ice: fix 'scheduling while atomic' on aux critical err interrupt
    c64223a8d188 mfd: asic3: Add missing iounmap() on error asic3_mfd_probe
    21a2b4ab48a4 tipc: fix the timer expires after interval 100ms
    95df5cd5a446 net: dsa: fix panic on shutdown if multi-chip tree failed to probe
    894347d4d29b openvswitch: always update flow key after nat
    862002402333 tcp: ensure PMTU updates are processed during fastopen
    06d836801cd8 net: bcmgenet: Use stronger register read/writes to assure ordering
    40092a8ac089 PCI: Avoid broken MSI on SB600 USB devices
    dd1043342e45 selftests/bpf/test_lirc_mode2.sh: Exit with proper code
    33d39efb61a8 powerpc/pseries: Fix use after free in remove_phb_dynamic()
    226ec1997de7 i2c: mux: demux-pinctrl: do not deactivate a master that is not active
    0ee072f91326 netfilter: conntrack: Add and use nf_ct_set_auto_assign_helper_warned()
    9b2bbf36b9cf i2c: meson: Fix wrong speed use from probe
    7409ff6393a6 af_netlink: Fix shift out of bounds in group mask calculation
    9151982547ee ipv4: Fix route lookups when handling ICMP redirects and PMTU updates
    770a97d3f34b Bluetooth: btmtksdio: Fix kernel oops in btmtksdio_interrupt
    60283d3ad395 Bluetooth: call hci_le_conn_failed with hdev lock in hci_le_conn_failed
    7235485433d2 Bluetooth: hci_uart: add missing NULL check in h5_enqueue
    292e8478ae0a selftests/bpf: Fix error reporting from sock_fields programs
    48e785075f9e af_unix: Fix some data-races around unix_sk(sk)->oob_skb.
    1bd58abf595b ibmvnic: fix race between xmit and reset
    3f798111077a bareudp: use ipv6_mod_enabled to check if IPv6 enabled
    b184a8fa7dd4 can: isotp: support MSG_TRUNC flag when reading from socket
    05e4e7d9bbb3 can: isotp: return -EADDRNOTAVAIL when reading from unbound socket
    f343dbe82314 can: isotp: sanitize CAN ID checks in isotp_bind()
    9265c09b2415 mt76: mt7921: fix mt7921_queues_acq implementation
    2a85c4cb3b15 netfilter: flowtable: Fix QinQ and pppoe support for inet table
    7ff346ee019b drm/i915/display: Fix HPD short pulse handling for eDP
    5d48ddbcafdf USB: storage: ums-realtek: fix error code in rts51x_read_mem()
    bc2c4dc5b566 samples/bpf, xdpsock: Fix race when running for fix duration of time
    cb6f141ae705 bpf, sockmap: Fix double uncharge the mem of sk_msg
    168ff181f5b6 bpf, sockmap: Fix more uncharged while msg has more_data
    de3a8d8fab07 bpf, sockmap: Fix memleak in tcp_bpf_sendmsg while sk msg is full
    ef9785f42979 bpf, sockmap: Fix memleak in sk_psock_queue_msg
    8dd392e352d3 RDMA/mlx5: Fix memory leak in error flow for subscribe event routine
    b089f7fc89f9 Revert "RDMA/core: Fix ib_qp_usecnt_dec() called when error"
    d52dab6e0355 RDMA/irdma: Prevent some integer underflows
    18e65ab351cf power: ab8500_chargalg: Use CLOCK_MONOTONIC
    fe0e2ce5c87e mtd: rawnand: atmel: fix refcount issue in atmel_nand_controller_init
    d29cda15cab0 MIPS: pgalloc: fix memory leak caused by pgd_free()
    d5e41310bd72 MIPS: RB532: fix return value of __setup handler
    69155dc2e047 mips: cdmm: Fix refcount leak in mips_cdmm_phys_base
    32939187f254 ath10k: Fix error handling in ath10k_setup_msa_resources
    9d04f4a15fe0 vxcan: enable local echo for sent CAN frames
    45962427aca2 powerpc: 8xx: fix a return value error in mpc8xx_pic_init
    88242bd033e2 scsi: mpt3sas: Fix incorrect 4GB boundary check
    ee773b7018d6 platform/x86: huawei-wmi: check the return value of device_create_file()
    fdee6b347cb8 selftests/bpf: Make test_lwt_ip_encap more stable and faster
    adc4a1ed139e libbpf: Unmap rings when umem deleted
    0a0c75ce5e26 mfd: mc13xxx: Add check for mc13xxx_irq_request
    4a852ff9b7be powerpc/64s: Don't use DSISR for SLB faults
    b55697c2a274 powerpc/sysdev: fix incorrect use to determine if list is empty
    804338913d27 MIPS: Sanitise Cavium switch cases in TLB handler synthesizers
    be48780b4dec mips: DEC: honor CONFIG_MIPS_FP_SUPPORT=n
    f23b4c9c6a5a drm/msm/a6xx: Fix missing ARRAY_SIZE() check
    62f44f554d1c net: axienet: fix RX ring refill allocation failure handling
    e37d269734ee PCI: Reduce warnings on possible RW1C corruption
    4c3c666ecc6a RDMA/core: Fix ib_qp_usecnt_dec() called when error
    c5505076073b IB/hfi1: Allow larger MTU without AIP
    4124966fbd95 power: supply: wm8350-power: Add missing free in free_charger_irq
    1318caf07507 power: supply: wm8350-power: Handle error for wm8350_register_irq
    8659aba5cab3 i2c: xiic: Make bus names unique
    383798d13aea hv_balloon: rate-limit "Unhandled message" warning
    5baa1283d698 KVM: x86/emulator: Defer not-present segment check in __load_segment_descriptor()
    468b136c2ca1 KVM: x86: Fix emulation in writing cr8
    29322cd03678 powerpc/Makefile: Don't pass -mcpu=powerpc64 when building 32-bit
    451472dc178f powerpc/mm/numa: skip NUMA_NO_NODE onlining in parse_numa_properties()
    6792c0b56252 libbpf: Skip forward declaration when counting duplicated type names
    c06577a80485 gpu: host1x: Fix a memory leak in 'host1x_remove()'
    2154f7cadd88 RDMA/irdma: Remove incorrect masking of PD
    a0051c05312e RDMA/irdma: Fix Passthrough mode in VM
    5e96bb45c936 RDMA/irdma: Fix netdev notifications for vlan's
    ad7219cd8751 xsk: Fix race at socket teardown
    c08f23081c9b bpf, arm64: Feed byte-offset into bpf line info
    c301772c219d bpf, arm64: Call build_prologue() first in first JIT pass
    ffe0526c2e17 drm/bridge: cdns-dsi: Make sure to to create proper aliases for dt
    849e6be7d66d scsi: hisi_sas: Change permission of parameter prot_mask
    1003a85d0a30 power: supply: bq24190_charger: Fix bq24190_vbus_is_enabled() wrong false return
    852c1f5f3119 drm/tegra: Fix reference leak in tegra_dsi_ganged_probe
    3813591bc046 ext2: correct max file size computing
    0c80fe5ea1b3 power: supply: sbs-charger: Don't cancel work that is not initialized
    c2554b47644f TOMOYO: fix __setup handlers return values
    bd443887ed2a drm/amd/display: Remove vupdate_int_entry definition
    847f8677e367 RDMA/mlx5: Fix the flow of a miss in the allocation of a cache ODP MR
    c8db786858d8 scsi: pm8001: Fix abort all task initialization
    c6c95cdd5138 scsi: pm8001: Fix NCQ NON DATA command completion handling
    e4fce9af88ec scsi: pm8001: Fix NCQ NON DATA command task initialization
    03865ae38771 scsi: pm8001: Fix le32 values handling in pm80xx_chip_sata_req()
    b453d71af756 scsi: pm8001: Fix le32 values handling in pm80xx_chip_ssp_io_req()
    d14d1f88d8c2 scsi: pm8001: Fix payload initialization in pm80xx_encrypt_update()
    fc1d7c820287 scsi: pm8001: Fix le32 values handling in pm80xx_set_sas_protocol_timer_config()
    e332a97c4358 scsi: pm8001: Fix payload initialization in pm80xx_set_thermal_config()
    3a9bb3afd0cb scsi: pm8001: Fix command initialization in pm8001_chip_ssp_tm_req()
    4e878e41e900 scsi: pm8001: Fix command initialization in pm80XX_send_read_log()
    08f0b58e2a5f scsi: fnic: Fix a tracing statement
    aed99c7648cb vfio/pci: wake-up devices around reset functions
    4319f17fb826 vfio/pci: fix memory leak during D3hot to D0 transition
    5f3856f3ba10 dm crypt: fix get_key_size compiler warning if !CONFIG_KEYS
    590bc324ac4e drm/msm/dpu: fix dp audio condition
    9b625cee90a9 drm/msm/dpu: add DSPP blocks teardown
    ea009273d0c2 drm/msm/dsi/phy: fix 7nm v4.0 settings for C-PHY mode
    04ed3cd92999 drm/msm/dsi: Use "ref" fw clock instead of global name for VCO parent
    47e2060f2366 drm/msm/dp: always add fail-safe mode into connector mode list
    740d2330760e drm/msm/dp: stop link training after link training 2 failed
    9525b8bcae8b drm/msm/dp: populate connector of struct dp_panel
    2c4de9b94227 mtd: rawnand: pl353: Set the nand chip node as the flash node
    a2095c3e0309 iwlwifi: mvm: Fix an error code in iwl_mvm_up()
    01e36bdb95e7 iwlwifi: Fix -EIO error code that is never returned
    a3bb5cda4fed iwlwifi: yoyo: remove DBGI_SRAM address reset writing
    06511eed8177 iwlwifi: mvm: align locking in D3 test debugfs
    ec9b77481aaf iwlwifi: mvm: don't iterate unadded vifs when handling FW SMPS req
    21053d707480 iwlwifi: mvm: Don't call iwl_mvm_sta_from_mac80211() with NULL sta
    2de35ae362f3 selftests: mptcp: add csum mib check for mptcp_connect
    e2951eaa9398 dax: make sure inodes are flushed before destroy cache
    c08208f2635c IB/cma: Allow XRC INI QPs to set their local ACK timeout
    d85baefc858f libbpf: Fix memleak in libbpf_netlink_recv()
    0f47edc22c2b drm/amd/display: Add affected crtcs to atomic state for dsc mst unplug
    ac98fdec1114 drm/amd/pm: enable pm sysfs write for one VF mode
    28093e78e0f2 bpftool: Fix the error when lookup in no-btf maps
    64c06df2428b drm/bridge: anx7625: Fix overflow issue on reading EDID
    d6c7f46b8f05 iommu/ipmmu-vmsa: Check for error num after setting mask
    b5b285818754 HID: i2c-hid: fix GET/SET_REPORT for unnumbered reports
    ffb8e92b4cef power: supply: ab8500: Fix memory leak in ab8500_fg_sysfs_init
    9dea119df0fa libbpf: Use dynamically allocated buffer when receiving netlink messages
    f2a19db2a941 drm/bridge: dw-hdmi: use safe format when first in bridge chain
    2f0949db6e2c libbpf: Fix compilation warning due to mismatched printf format
    0255e93dce7a net:enetc: allocate CBD ring data memory using DMA coherent methods
    721992163e0c cxl/regs: Fix size of CXL Capability Header Register
    0e348f94787f cxl/core: Fix cxl_probe_component_regs() error message
    855f1c64e21e libbpf: Fix signedness bug in btf_dump_array_data()
    cdb2150050c7 RDMA/rxe: Check the last packet by RXE_END_MASK
    ed750e22e443 PCI: aardvark: Fix reading PCI_EXP_RTSTA_PME bit on emulated bridge
    0fe94b84c43c PCI: aardvark: Fix reading MSI interrupt number
    1f0add37ac5c igb: refactor XDP registration
    ab8c107470d1 igc: avoid kernel warning when changing RX ring parameters
    ea6b04796c87 mtd: mchp48l640: Add SPI ID table
    21e78798b206 mtd: mchp23k256: Add SPI ID table
    0eec5e2748f1 i2c: bcm2835: Fix the error handling in 'bcm2835_i2c_probe()'
    0b01811fc193 i2c: bcm2835: Use platform_get_irq() to get the interrupt
    b96a7265f763 net: asix: add proper error handling of usb read errors
    b997cfdc3f98 livepatch: Fix build failure on 32 bits processors
    34bed8dae12a scripts/dtc: Call pkg-config POSIXly correct
    0aec294f2d2f mac80211: limit bandwidth in HE capabilities
    a41efae062bf mac80211: Remove a couple of obsolete TODO
    5ad6b337e4ac net: dsa: mv88e6xxx: Enable port policy support on 6097
    b2dea2a696d0 ptp: unregister virtual clocks when unregistering physical clock.
    a53c147ac496 mt76: mt7615: check sta_rates pointer in mt7615_sta_rate_tbl_update
    fd1fcad5c053 mt76: mt7603: check sta_rates pointer in mt7603_sta_rate_tbl_update
    443cb1bc8a96 mt76: mt7615: fix a leftover race in runtime-pm
    421cb64c91dd mt76: mt7921: fix a leftover race in runtime-pm
    0f3d76144b9c mt76: mt7915: use proper aid value in mt7915_mcu_sta_basic_tlv
    60d815fd4338 mt76: mt7915: use proper aid value in mt7915_mcu_wtbl_generic_tlv in sta mode
    203a1e1230cf mt76: connac: fix sta_rec_wtbl tag len
    94fd8a2a47c8 powerpc/perf: Don't use perf_hw_context for trace IMC PMU
    0dc750479a5f KVM: PPC: Book3S HV: Check return value of kvmppc_radix_init
    10686b028059 powerpc: dts: t1040rdb: fix ports names for Seville Ethernet switch
    9acf7c2f3145 ray_cs: Check ioremap return value
    3a4bcc4cb612 power: reset: gemini-poweroff: Fix IRQ check in gemini_poweroff_probe
    cb42b6cfc5b0 ixgbe: respect metadata on XSK Rx to skb
    8c072b8e3226 ixgbe: don't reserve excessive XDP_PACKET_HEADROOM on XSK Rx to skb
    6dc18226976c ixgbe: pass bi->xdp to ixgbe_construct_skb_zc() directly
    28e561f3660d igc: don't reserve excessive XDP_PACKET_HEADROOM on XSK Rx to skb
    0e2f6a7f59f1 i40e: respect metadata on XSK Rx to skb
    968c76e96afd i40e: don't reserve excessive XDP_PACKET_HEADROOM on XSK Rx to skb
    7ad4f7729f0e selftests/net: timestamping: Fix bind_phc check
    5bedd66a59e5 KVM: PPC: Fix vmx/vsx mixup in mmio emulation
    72c179f650f6 RDMA/core: Set MR type in ib_reg_user_mr
    0b700f7d0649 ath9k_htc: fix uninit value bugs
    c41832e7dadd selftests/bpf/test_xdp_redirect_multi: use temp netns for testing
    a5c1c0920cf6 selftests/bpf: Normalize XDP section names in selftests
    f00346b30a7c net: phy: at803x: move page selection fix to config_init
    b175bc586410 drm/amd/pm: return -ENOTSUPP if there is no get_dpm_ultimate_freq function
    bdc7429708a0 drm/amd/display: Fix a NULL pointer dereference in amdgpu_dm_connector_add_common_modes()
    408ab78ca138 drm/nouveau/acr: Fix undefined behavior in nvkm_acr_hsfw_load_bl()
    2e05de23052d ionic: Don't send reset commands if FW isn't running
    4f69a923a388 ionic: start watchdog after all is setup
    76624b5a61c7 ionic: fix type complaint in ionic_dev_cmd_clean()
    da491fc54e4e drm/edid: Split deep color modes between RGB and YUV444
    19da408ab41c drm/edid: Don't clear formats if using deep color
    8480efe815e5 mtd: rawnand: gpmi: fix controller timings setting
    5b1f32593955 mtd: onenand: Check for error irq
    041e5b8a62e6 Bluetooth: hci_serdev: call init_rwsem() before p->open()
    9d42e744685c Bluetooth: btintel: Fix WBS setting for Intel legacy ROM products
    0b96610a7b74 selftests: bpf: Fix bind on used port
    0728ccb66468 drm/selftests/test-drm_dp_mst_helper: Fix memory leak in sideband_msg_req_encode_decode
    51b82141fffa bpf: Fix UAF due to race between btf_try_get_module and load_module
    811b667cefbe udmabuf: validate ubuf->pagecount
    e5f642c55f4c bpftool: Only set obj->skeleton on complete success
    b385ebe91ae9 libbpf: Fix possible NULL pointer dereference when destroying skeleton
    34d0a99fa09a drm/panfrost: Check for error num after setting mask
    2ff993b3daa4 drm/v3d/v3d_drv: Check for error num after setting mask
    982d824a9b27 ath10k: fix memory overwrite of the WoWLAN wakeup packet pattern
    66b805b63527 drm: bridge: adv7511: Fix ADV7535 HPD enablement
    c43b4106cfc5 drm/bridge: nwl-dsi: Fix PM disable depth imbalance in nwl_dsi_probe
    4db8e14ce478 drm/bridge: Add missing pm_runtime_disable() in __dw_mipi_dsi_probe
    f20a990784ee drm/bridge: Fix free wrong object in sii8620_init_rcp_input_dev
    461656a5e9be drm/meson: Fix error handling when afbcd.ops->init fails
    1c5439a71612 drm/meson: split out encoder from meson_dw_hdmi
    ffcfa1669316 drm/meson: Make use of the helper function devm_platform_ioremap_resourcexxx()
    d2a0678dff46 drm/meson: osd_afbcd: Add an exit callback to struct meson_afbcd_ops
    d81d72b912dc ARM: configs: multi_v5_defconfig: re-enable DRM_PANEL and FB_xxx
    c4d2a100f104 ARM: configs: multi_v5_defconfig: re-enable CONFIG_V4L_PLATFORM_DRIVERS
    c2e5f5d23718 ASoC: amd: Fix reference to PCM buffer address
    2f44eca78cc6 ASoC: codecs: wcd934x: Add missing of_node_put() in wcd934x_codec_parse_data
    e2aeafc6509c ASoC: msm8916-wcd-analog: Fix error handling in pm8916_wcd_analog_spmi_probe
    f589063b585a ASoC: atmel: Fix error handling in sam9x5_wm8731_driver_probe
    f2b0fc2a46a6 mmc: davinci_mmc: Handle error for clk_enable
    9668c6bca12a ASoC: msm8916-wcd-digital: Fix missing clk_disable_unprepare() in msm8916_wcd_digital_probe
    42735eae94ee ASoC: SOF: Intel: enable DMI L1 for playback streams
    b23b524b8bbd ASoC: imx-es8328: Fix error return code in imx_es8328_probe()
    06e6f4ba2534 ASoC: fsl_spdif: Disable TX clock when stop
    44acdaf7acb6 ASoC: mxs: Fix error handling in mxs_sgtl5000_probe
    1ecf9dcf2868 ASoC: dmaengine: do not use a NULL prepare_slave_config() callback
    39c2894dfc08 ASoC: rk817: Fix missing clk_disable_unprepare() in rk817_platform_probe
    87e04a89c31e ASoC: mediatek: mt8192-mt6359: Fix error handling in mt8192_mt6359_dev_probe
    56e0f1696a96 ASoC: mediatek: use of_device_get_match_data()
    5441ab46dd43 ASoC: SOF: Add missing of_node_put() in imx8m_probe
    6724217bfbfd ASoC: rockchip: i2s: Fix missing clk_disable_unprepare() in rockchip_i2s_probe
    f32ac9bf5e3f ASoC: atmel: Fix error handling in snd_proto_probe
    1e77cab218e4 ivtv: fix incorrect device_caps for ivtvfb
    a8523efdc946 media: saa7134: fix incorrect use to determine if list is empty
    a41fc6d02d82 video: fbdev: omapfb: Add missing of_node_put() in dvic_probe_of
    c19312809931 ASoC: fsi: Add check for clk_enable
    0bdb861b7d1b ASoC: wm8350: Handle error for wm8350_register_irq
    a0bc36b247dc ASoC: atmel: Add missing of_node_put() in at91sam9g20ek_audio_probe
    9dd2fd7a1f84 media: vidtv: Check for null return of vzalloc
    a09e9882800f media: stk1160: If start stream fails, return buffers with VB2_BUF_STATE_QUEUED
    ea2258664ffc m68k: coldfire/device.c: only build for MCF_EDMA when h/w macros are defined
    178b32112be1 arm64: dts: rockchip: Fix SDIO regulator supply properties on rk3399-firefly
    eab74c416120 ALSA: firewire-lib: fix uninitialized flag for AV/C deferred transaction
    2883fb9838fc memory: emif: check the pointer temp in get_device_details()
    50d934cea574 memory: emif: Add check for setup_interrupts
    fc237b8d624f ASoC: soc-compress: prevent the potentially use of null pointer
    d70d4a3ff5f2 ASoC: dwc-i2s: Handle errors for clk_enable
    58b64ee38637 ASoC: atmel_ssc_dai: Handle errors for clk_enable
    152d62d80960 ASoC: mxs-saif: Handle errors for clk_enable
    f64c5b235b47 printk: fix return value of printk.devkmsg __setup handler
    0fbd610e68c2 arm64: dts: broadcom: Fix sata nodename
    de64846df9fe arm64: dts: ns2: Fix spi-cpol and spi-cpha property
    b98940965daf ALSA: spi: Add check for clk_enable()
    89676d9e8c84 ASoC: ti: davinci-i2s: Add check for clk_enable()
    0a96bff46a5e mmc: sdhci_am654: Fix the driver data of AM64 SoC
    7c31acd9ca79 soc: mediatek: pm-domains: Add wakeup capacity support in power domain
    9db742370304 ASoC: rt5663: check the return value of devm_kzalloc() in rt5663_parse_dp()
    3fa8114be4a2 uaccess: fix nios2 and microblaze get_user_8()
    469277ff5ac8 vsprintf: Fix %pK with kptr_restrict == 0
    8611161ea715 lib: uninline simple_strntoull() as well
    34dd193d2329 selftests/lkdtm: Add UBSAN config
    f58159509b62 media: ov5640: Fix set format, v4l2_mbus_pixelcode not updated
    b1b91b31627d media: v4l2-core: Initialize h264 scaling matrix
    7399b9b62277 ASoC: codecs: wcd934x: fix return value of wcd934x_rx_hph_mode_put
    c42e96af49ef ASoC: codecs: wcd934x: fix kcontrol max values
    363490abe0be ASoC: codecs: wcd938x: fix kcontrol max values
    adafea71b49e ASoC: codecs: wc938x: fix accessing array out of bounds for enum type
    966408e37d84 ASoC: codecs: va-macro: fix accessing array out of bounds for enum type
    eb15c6ea692f ASoC: codecs: rx-macro: fix accessing array out of bounds for enum type
    9208ecc703b5 ASoC: codecs: rx-macro: fix accessing compander for aux
    56dcb5480687 media: cedrus: h264: Fix neighbour info buffer size
    dd6454742581 media: cedrus: H265: Fix neighbour info buffer size
    895364fa97e6 media: usb: go7007: s2250-board: fix leak in probe()
    332d45fe51d7 media: em28xx: initialize refcount before kref_get
    aa613ac27029 media: ti-vpe: cal: Fix a NULL pointer dereference in cal_ctx_v4l2_init_formats()
    12cb301cc5cb media: video/hdmi: handle short reads of hdmi info frame.
    0d05a58ea3b9 media: mexon-ge2d: fixup frames size in registers
    498ab2d70a9d ARM: dts: imx: Add missing LVDS decoder on M53Menlo
    2305e3460b42 vsprintf: Fix potential unaligned access
    b4c8675a710a ARM: dts: sun8i: v3s: Move the csi1 block to follow address order
    49db8d166d7b soc: ti: wkup_m3_ipc: Fix IRQ check in wkup_m3_ipc_probe
    42dab81e9309 firmware: ti_sci: Fix compilation failure when CONFIG_TI_SCI_PROTOCOL is not defined
    19e4c3b037ff arm64: dts: qcom: sm8350: Correct TCS configuration for apps rsc
    8026415d7f54 arm64: dts: qcom: sm8150: Correct TCS configuration for apps rsc
    17790ef9ad1f arm64: dts: broadcom: bcm4908: use proper TWD binding
    cc3a67e4147e arm64: dts: qcom: sm8250: fix PCIe bindings to follow schema
    4514dc92a353 arm64: dts: qcom: sdm845: fix microphone bias properties and values
    15565049d729 soc: qcom: aoss: remove spurious IRQF_ONESHOT flags
    1874365f3c17 soc: qcom: ocmem: Fix missing put_device() call in of_get_ocmem
    724376c30af5 soc: qcom: rpmpd: Check for null return of devm_kcalloc
    d761d62022bb ARM: dts: qcom: ipq4019: fix sleep clock
    b14f6a7d3608 firmware: qcom: scm: Remove reassignment to desc following initializer
    6c4cc4d36966 ARM: dts: Fix OpenBMC flash layout label addresses
    c3364cbc3762 video: fbdev: fbcvt.c: fix printing in fb_cvt_print_name()
    f3ef254c840d video: fbdev: atmel_lcdfb: fix an error code in atmel_lcdfb_probe()
    c420b540db4b video: fbdev: smscufx: Fix null-ptr-deref in ufx_usb_probe()
    24cfeb466146 video: fbdev: controlfb: Fix COMPILE_TEST build
    02684dd83332 video: fbdev: matroxfb: set maxvram of vbG200eW to the same as vbG200 to avoid black screen
    96eb48f017cd media: aspeed: Correct value for h-total-pixels
    4a3051977327 media: ov5648: Don't pack controls struct
    26b1865f1fd4 media: v4l: Avoid unaligned access warnings when printing 4cc modifiers
    ef35afc268c5 media: ov6650: Fix set format try processing path
    4ea548312052 media: hantro: Fix overfill bottom register field name
    b0b890dd8df3 media: meson: vdec: potential dereference of null pointer
    c3590ec1161d media: coda: Fix missing put_device() call in coda_get_vdoa_data
    f0344f0aee4d ASoC: simple-card-utils: Set sysclk on all components
    bb0a0e23dd00 ASoC: xilinx: xlnx_formatter_pcm: Handle sysclk setting
    1179081ba5fa ASoC: codecs: Check for error pointer after calling devm_regmap_init_mmio
    e48b189799d3 ASoC: sh: rz-ssi: Drop calling rz_ssi_pio_recv() recursively
    f7d07ad8bc03 media: atmel: atmel-sama7g5-isc: fix ispck leftover
    25b925f94a36 media: bttv: fix WARNING regression on tunerless devices
    e1854a6c3a68 media: imx: imx8mq-mipi_csi2: fix system resume
    72d79cd3c3ad media: imx: imx8mq-mipi-csi2: remove wrong irq config write operation
    0022dc8cafa5 media: mtk-vcodec: potential dereference of null pointer
    48d00e24822e media: v4l2-mem2mem: Apply DST_QUEUE_OFF_BASE on MMAP buffers across ioctls
    1fbc023f8173 media: staging: media: imx: imx7-mipi-csis: Make subdev name unique
    74cbe85fa044 media: camss: vfe-170: fix "VFE halt timeout" error
    9af4e473668a media: camss: csid-170: set the right HALT_CMD when disabled
    a3b104487f74 media: camss: csid-170: don't enable unused irqs
    20d5934825b9 media: camss: csid-170: fix non-10bit formats
    0ac903a7bde9 media: staging: media: zoran: fix usage of vb2_dma_contig_set_max_seg_size
    b84343a9d676 pinctrl: samsung: Remove EINT handler for Exynos850 ALIVE and CMGP gpios
    9a24d035c5eb kunit: make kunit_test_timeout compatible with comment
    9ca7b59e7877 drivers/base/memory: add memory block to memory group after registration succeeded
    5bed6c2c1ffe selftests, x86: fix how check_cc.sh is being invoked
    0f42a02e4773 f2fs: fix compressed file start atomic write may cause data corruption
    1a97987f76b4 btrfs: fix unexpected error path when reflinking an inline extent
    2911ad0249c5 f2fs: fix to avoid potential deadlock
    1e0e63ad6243 sched/rt: Plug rt_mutex_setprio() vs push_rt_task() race
    b7aec0843e28 sched/cpuacct: Fix charge percpu cpuusage
    cc91880f0417 nfsd: more robust allocation failure handling in nfsd_file_cache_init
    d1eaaf6caded f2fs: fix missing free nid in f2fs_handle_failed_inode
    ec5884cbbfd3 sched/fair: Improve consistency of allowed NUMA balance calculations
    df5e0a0b3a4e perf/x86/intel/pt: Fix address filter config for 32-bit kernel
    929d8a87f709 perf/core: Fix address filter parser for multiple filters
    3bb11f3f6872 rseq: Remove broken uapi field layout on 32-bit little endian
    d2c741290f7e sched/uclamp: Fix iowait boost escaping uclamp restriction
    6c7276622393 sched/core: Export pelt_thermal_tp
    8bc68c44d97f sched/debug: Remove mpol_get/put and task_lock/unlock from sched_show_numa
    d8c8dd97bb8c f2fs: fix to enable ATGC correctly via gc_idle sysfs interface
    f69aecb49968 watch_queue: Actually free the watch
    695c47cea02b watch_queue: Fix NULL dereference in error cleanup
    109dda451021 io_uring: terminate manual loop iterator loop correctly for non-vecs
    1323976e9448 io_uring: don't check unrelated req->open.how in accept request
    657edec8987a clocksource: acpi_pm: fix return value of __setup handler
    9b181ad309c6 hwmon: (pmbus) Add Vin unit off handling
    41887c82e76f hwrng: nomadik - Change clk_disable to clk_disable_unprepare
    335bf1fc74f7 crypto: ccree - Fix use after free in cc_cipher_exit()
    20550eb187e8 crypto: ccp - ccp_dmaengine_unregister release dma channels
    166b2478152c ACPI: APEI: fix return value of __setup handlers
    bfa4a733aeaa KEYS: trusted: Avoid calling null function trusted_key_exit
    b0efbe7e88c7 KEYS: trusted: Fix trusted key backends when building as module
    d362998e8df9 arm64: prevent instrumentation of bp hardening callbacks
    df04ef63347f clocksource/drivers/timer-of: Check return value of of_iomap in timer_of_base_init()
    abc6b2a12a3e clocksource/drivers/timer-microchip-pit64b: Use notrace
    a81de4315ecf clocksource/drivers/exynos_mct: Handle DTS with higher number of interrupts
    e34ba9ff04ee clocksource/drivers/exynos_mct: Refactor resources allocation
    97e3aaace46e clocksource/drivers/timer-ti-dm: Fix regression from errata i940 fix
    58c9d407ce82 crypto: vmx - add missing dependencies
    f9474039df09 crypto: gemini - call finalize with bh disabled
    6ce48276d736 crypto: amlogic - call finalize with bh disabled
    67bc6890b981 crypto: sun8i-ce - call finalize with bh disabled
    05e13c5e4f8e crypto: sun8i-ss - call finalize with bh disabled
    2684f459f919 hwrng: atmel - disable trng on failure path
    f8a1392c099b spi: spi-zynqmp-gqspi: Handle error for dma_set_mask
    7e45fc93dde2 PM: suspend: fix return value of __setup handler
    d0cd9da501f6 PM: hibernate: fix __setup handler error handling
    efaa0e969261 block: don't delete queue kobject before its children
    b9070c866aa3 nvme: fix the check for duplicate unique identifiers
    2340a15d3914 nvme: cleanup __nvme_check_ids
    a015dd1b8a54 hwmon: (sch56xx-common) Replace WDOG_ACTIVE with WDOG_HW_RUNNING
    3a70165fc788 hwmon: (pmbus) Add mutex to regulator ops
    f2757af27bf3 spi: pxa2xx-pci: Balance reference count for PCI DMA device
    40dba7c26e89 crypto: hisilicon/sec - fix the aead software fallback for engine
    c71e4d45dcc4 crypto: ccree - don't attempt 0 len DMA mappings
    0c366ade8606 EVM: fix the evm= __setup handler return value
    3a10df731516 audit: log AUDIT_TIME_* records only from rules
    8e8724b87afe crypto: rockchip - ECB does not need IV
    4d6e00474872 selftests/sgx: Treat CC as one argument
    d9172393f0f6 selftests/x86: Add validity check and allow field splitting
    e129fb065106 blk-cgroup: set blkg iostat after percpu stat aggregation
    c17eb1586c94 arm64/mm: avoid fixmap race condition when create pud mapping
    8550c9b846c5 stack: Constrain and fix stack offset randomization with Clang builds
    8effc4dc79a5 spi: tegra210-quad: Fix missin IRQ check in tegra_qspi_probe
    906315cb82d6 spi: tegra114: Add missing IRQ check in tegra_spi_probe
    e6374086f249 crypto: octeontx2 - remove CONFIG_DM_CRYPT check
    9ada174f47b3 thermal: int340x: Check for NULL after calling kmemdup()
    486d4c18f207 selinux: Fix selinux_sb_mnt_opts_compat()
    c111b3c1a257 crypto: mxs-dcp - Fix scatterlist processing
    af3c34eb9410 crypto: authenc - Fix sleep in atomic context in decrypt_tail
    8f10a38c9212 crypto: sun8i-ss - really disable hash on A80
    046f1499aef8 hwrng: cavium - HW_RANDOM_CAVIUM should depend on ARCH_THUNDER
    7919dfd84b35 hwrng: cavium - Check health status while reading random data
    0e67b3e1f93a crypto: ccp - Ensure psp_ret is always init'd in __sev_platform_init_locked()
    01d508417055 selinux: check return value of sel_make_avc_files
    aeeb944e7f91 selinux: access superblock_security_struct in LSM blob way
    ae2ff8d991b6 regulator: qcom_smd: fix for_each_child.cocci warnings
    9bbe88d1023f PCI: xgene: Revert "PCI: xgene: Fix IB window setup"
    920facf23305 PCI: pciehp: Clear cmd_busy bit in polling mode
    86ca87591870 PCI: imx6: Allow to probe when dw_pcie_wait_for_link() fails
    312d3d4f49e1 drm/i915/gem: add missing boundary check in vm_access
    d8b8bd1d03ee drm/i915/opregion: check port number bounds for SWSCI display power state
    2b08e0189b02 brcmfmac: pcie: Fix crashes due to early IRQs
    a7ea6de3bdd5 brcmfmac: pcie: Replace brcmf_pcie_copy_mem_todev with memcpy_toio
    b6957a10747c brcmfmac: pcie: Declare missing firmware files in pcie.c
    a88337a06966 brcmfmac: pcie: Release firmwares in the brcmf_pcie_setup error path
    6e2dfa829026 brcmfmac: firmware: Allocate space for default boardrev in nvram
    51f0af904fb6 drm/fb-helper: Mark screen buffers in system memory with FBINFO_VIRTFB
    713f1fefb6c6 drm/nouveau/backlight: Just set all backlight types as RAW
    80de94c4ab4e drm/nouveau/backlight: Fix LVDS backlight detection on some laptops
    7585d0f56f29 drm/syncobj: flatten dma_fence_chains on transfer
    85814e6461b8 xtensa: fix xtensa_wsr always writing 0
    821907e8f516 xtensa: fix stop_machine_cpuslocked call in patch_text
    e28bace5e7dc xtensa: define update_mmu_tlb function
    00c6bb4cea62 btrfs: verify the tranisd of the to-be-written dirty extent buffer
    f85ee0c845fd btrfs: extend locking to all space_info members accesses
    68a8120e1647 btrfs: zoned: mark relocation as writing
    2bd666b0fd28 media: davinci: vpif: fix unbalanced runtime PM enable
    12159871e1b4 media: davinci: vpif: fix unbalanced runtime PM get
    992af22dab9c media: venus: venc: Fix h264 8x8 transform control
    d5fcfc4af806 media: venus: hfi_cmds: List HDR10 property as unsupported for v1 and v3
    0a45148635f8 media: gpio-ir-tx: fix transmit with long spaces on Orange Pi PC
    3e3c8d88e0ca DEC: Limit PMAX memory probing to R3k systems
    2039163c30f8 PM: domains: Fix sleep-in-atomic bug caused by genpd_debug_remove()
    74e2d61e4faa bcache: fixup multiple threads crash
    2221a0f6c90c crypto: rsa-pkcs1pad - fix buffer overread in pkcs1pad_verify_complete()
    dc7cacd209c8 crypto: rsa-pkcs1pad - restore signature length check
    5013dbd89101 crypto: rsa-pkcs1pad - correctly get hash from source scatterlist
    9c8d8f87c213 crypto: rsa-pkcs1pad - only allow with rsa
    1290eb4412aa exec: Force single empty string when argv is empty
    d342786a0e94 lib/raid6/test: fix multiple definition linking error
    137c66d5f915 thermal: int340x: Increase bitmap size
    bc5f440e1c5c pstore: Don't use semaphores in always-atomic-context code
    10a15d91bcba carl9170: fix missing bit-wise or operator for tx_params
    1d89cb2c72d6 mgag200 fix memmapsl configuration in GCTL6 register
    bd0cc79722df ARM: dts: exynos: add missing HDMI supplies on SMDK5420
    661016b895e6 ARM: dts: exynos: add missing HDMI supplies on SMDK5250
    d4577ac55725 ARM: dts: exynos: fix UART3 pins configuration in Exynos5250
    cc7c9d207fce ARM: dts: at91: sama5d2: Fix PMERRLOC resource size
    64b3bc9050d8 ARM: dts: at91: sama7g5: Remove unused properties in i2c nodes
    cdcaec46a6b2 rfkill: make new event layout opt-in
    677a5f6c81b5 video: fbdev: atari: Atari 2 bpp (STe) palette bugfix
    46cdbff26c88 video: fbdev: sm712fb: Fix crash in smtcfb_read()
    c894ac44786c fbdev: Hot-unplug firmware fb devices on forced removal
    6e72980d588e drm/edid: check basic audio support on CEA extension block
    2e76c69c85f9 block: don't merge across cgroup boundaries if blkcg is enabled
    6a11b52b498d block: limit request dispatch loop duration
    f1dd8c1186be mailbox: tegra-hsp: Flush whole channel
    3d4b396a616d landlock: Use square brackets around "landlock-ruleset"
    20fbf100f84b samples/landlock: Fix path_list memory leak
    3eb18f8a1d02 drivers: hamradio: 6pack: fix UAF bug caused by mod_timer()
    3c65b7309d2e ext4: make mb_optimize_scan performance mount option work with extents
    597393cde841 ext4: fix fs corruption when tring to remove a non-empty directory with IO error
    73fa1798233c ext4: fix ext4_fc_stats trace point
    6cdb84dd0c8d coredump: Also dump first pages of non-executable ELF libraries
    8a7f9d9c3f6a ACPI: properties: Consistently return -ENOENT if there are no more references
    2e2eb55823df Revert "ACPI: Pass the same capabilities to the _OSC regardless of the query flag"
    b6094744e261 ASoC: SOF: Intel: Fix NULL ptr dereference when ENOMEM
    5e3bd996d2c8 arm64: dts: ti: k3-am64: Fix gic-v3 compatible regs
    96181539a521 arm64: dts: ti: k3-j7200: Fix gic-v3 compatible regs
    e931b8494a51 arm64: dts: ti: k3-j721e: Fix gic-v3 compatible regs
    146ad3e0177d arm64: dts: ti: k3-am65: Fix gic-v3 compatible regs
    393a8a0f971e arm64: dts: qcom: sm8250: Fix MSI IRQ for PCIe1 and PCIe2
    a01e1eaf5407 arm64: Do not defer reserve_crashkernel() for platforms with no DMA memory zones
    556e8e0a27c8 arm64: signal: nofpsimd: Do not allocate fp/simd context when not available
    e04a1de51cf6 PCI: fu740: Force 2.5GT/s for initial device probe
    ec5ebfd1ce35 powerpc/kvm: Fix kvm_use_magic_page
    024c2a0db53a drbd: fix potential silent data corruption
    39483fd3b2d2 tracing: Have trace event string test handle zero length strings
    12ea1f73690b dm integrity: set journal entry unused when shrinking device
    737d5e25e28d dm: fix double accounting of flush with data
    dc77afd7491e dm: interlock pending dm_io and dm_wait_for_bios_completion
    0987f00a76a1 dm: fix use-after-free in dm_cleanup_zoned_dev()
    d3444138ff0d dm stats: fix too short end duration_ns when using precise_timestamps
    7d3bd683e084 mm/kmemleak: reset tag when compare object pointer
    7d04d6d5c114 mm,hwpoison: unmap poisoned page before invalidation
    d4835551fd9f Revert "mm: madvise: skip unmapped vma holes passed to process_madvise"
    a07a4b75cccb mm: madvise: return correct bytes advised with process_madvise
    27d96f11b0a2 mm: madvise: skip unmapped vma holes passed to process_madvise
    476df5994878 drm/simpledrm: Add "panel orientation" property on non-upright mounted LCD panels
    7c5312fdb1dc ocfs2: fix crash when mount with quota enabled
    cd2722e411e8 rtc: pl031: fix rtc features null pointer dereference
    8e167fdd4f62 rtc: mc146818-lib: fix locking in mc146818_set_time
    0cc320929ac6 ALSA: hda/realtek: Fix audio regression on Mi Notebook Pro 2020
    7777744e92a0 ALSA: pcm: Fix potential AB/BA lock with buffer_mutex and mmap_lock
    f9f37a956de1 ALSA: hda: Avoid unsol event during RPM suspending
    cf4cd2a5d0ae ALSA: cs4236: fix an incorrect NULL check on list iterator
    39a4bf7d1a23 cifs: fix NULL ptr dereference in smb2_ioctl_query_info()
    f143f8334fb9 cifs: prevent bad output lengths in smb2_ioctl_query_info()
    665cf5507470 Revert "Input: clear BTN_RIGHT/MIDDLE on buttonpads"
    305a5303d1da riscv: Increase stack size under KASAN
    ee29fe27818e riscv: Fix fill_callchain return value
    3c4a1c81900c riscv: dts: canaan: Fix SPI3 bus width
    876a9bdfd9af qed: validate and restrict untrusted VFs vlan promisc mode
    4d8323922ea9 qed: display VF trust config
    59a4bc52f111 scsi: libsas: Fix sas_ata_qc_issue() handling of NCQ NON DATA commands
    cbf4e2f4f700 scsi: scsi_transport_fc: Fix FPIN Link Integrity statistics counters
    64b0fe4808bd scsi: ufs: Fix runtime PM messages never-ending cycle
    6ade94e6afc6 scsi: core: sd: Add silence_suspend flag to suppress some PM messages
    5e217aa2c825 mempolicy: mbind_range() set_policy() after vma_merge()
    3bae72c2db69 mm: invalidate hwpoison page cache page in fault path
    a74bb0eeabcd mm/pages_alloc.c: don't create ZONE_MOVABLE beyond the end of a node
    ab657a29c3e9 mm: fs: fix lru_cache_disabled race in bh_lru
    52ba0ab4f0a6 jffs2: fix memory leak in jffs2_scan_medium
    4392e8aeebc5 jffs2: fix memory leak in jffs2_do_mount_fs
    7a75740206af jffs2: fix use-after-free in jffs2_clear_xattr_subsystem
    f2ce5238904f can: usb_8dev: usb_8dev_start_xmit(): fix double dev_kfree_skb() in error path
    f43e64076ff1 can: m_can: m_can_tx_handler(): fix use after free of skb
    459b19f42fd5 can: ems_usb: ems_usb_start_xmit(): fix double dev_kfree_skb() in error path
    31d7d7f35045 mtd: rawnand: protect access to rawnand devices while in suspend
    7d94d25c7972 spi: mxic: Fix the transmit path
    48254561bd04 net: bnxt_ptp: fix compilation error
    89d369454267 pinctrl: samsung: drop pin banks references on error paths
    1db1639d955b pinctrl: ingenic: Fix regmap on X series SoCs
    025a7ccfb7a5 mm/mlock: fix two bugs in user_shm_lock()
    34afac3c75fa remoteproc: Fix count check in rproc_coredump_write()
    b065f398c860 f2fs: fix to do sanity check on .cp_pack_total_block_count
    f9156db0987f f2fs: quota: fix loop condition at f2fs_quota_sync()
    e98ae961b334 f2fs: fix to unlock page correctly in error path of is_alive()
    303cd6173dce NFSD: prevent integer overflow on 32 bit systems
    614a61e15920 NFSD: prevent underflow in nfssvc_decode_writeargs()
    253a9533941e NFS: NFSv2/v3 clients should never be setting NFS_CAP_XATTR
    518a7d6be1ed SUNRPC: avoid race between mod_timer() and del_timer_sync()
    19c82681db26 HID: intel-ish-hid: Use dma_alloc_coherent for firmware update
    b3e38f939ab4 firmware: sysfb: fix platform-device leak in error path
    0dff5664b867 firmware: stratix10-svc: add missing callback parameter on RSU
    72403d1c04bb Documentation: update stable tree link
    8259235ab46e Documentation: add link to stable release candidate tree
    a1e55db51a88 KEYS: asymmetric: properly validate hash_algo and encoding
    255921f63a9e KEYS: asymmetric: enforce that sig algo matches key algo
    fe8df4489240 KEYS: fix length validation in keyctl_pkey_params_get_2()
    512bde642087 cifs: we do not need a spinlock around the tree access during umount
    2fafbc198613 cifs: fix handlecache and multiuser
    b6d75218ff65 ptrace: Check PTRACE_O_SUSPEND_SECCOMP permission on PTRACE_SEIZE
    42606add50f9 clk: uniphier: Fix fixed-rate initialization
    5aa6d84a0b07 clk: rockchip: re-add rational best approximation algorithm to the fractional divider
    ab67122003b1 greybus: svc: fix an error handling bug in gb_svc_hello()
    9e97f6641c87 iio: inkern: make a best effort on offset calculation
    b378d3f585e3 iio: inkern: apply consumer scale when no channel scale is available
    e38582362101 iio: inkern: apply consumer scale on IIO_VAL_INT cases
    1cb35faea3c3 iio: afe: rescale: use s64 for temporary scale calculations
    c61e2fc87f24 coresight: syscfg: Fix memleak on registration failure in cscfg_create_device
    ba81399402b7 coresight: Fix TRCCONFIGR.QE sysfs interface
    f1d936537155 docs: sphinx/requirements: Limit jinja2<3.1
    c1013a5ba4c9 bus: mhi: Fix MHI DMA structure endianness
    fe66a11af28c bus: mhi: pci_generic: Add mru_default for Quectel EM1xx series
    84bb0ac6c86f mei: avoid iterator usage outside of list_for_each_entry
    6d2ec095176c mei: me: add Alder Lake N device id.
    7c2422748463 mei: me: disable driver on the ign firmware
    f6121a746fae xhci: fix uninitialized string returned by xhci_decode_ctrl_ctx()
    7c2a317703c6 xhci: make xhci_handshake timeout for xhci_reset() adjustable
    4f2ab7e93b37 xhci: fix runtime PM imbalance in USB2 resume
    75bbc2b9748b xhci: fix garbage USBSTS being logged in some cases
    f5dc00496f76 USB: usb-storage: Fix use of bitfields for hardware data in ene_ub6250.c
    c94138ae4000 usb: typec: tipd: Forward plug orientation to typec subsystem
    662893b4f6bd tpm: fix reference counting for struct tpm_chip
    5a0735b0bcf9 virtio-blk: Use blk_validate_block_size() to validate block size
    8a4521456b54 iommu/iova: Improve 32-bit free space estimate
    fe953e0f77e5 drm/amdgpu: only check for _PR3 on dGPUs
    0884abb259f1 drm/amdgpu: move PX checking into amdgpu_device_ip_early_init
    03f836fcb655 locking/lockdep: Avoid potential access of invalid memory in lock_class
    9f93d46a63d5 selftests: vm: fix clang build error multiple output files
    2ea395dc1327 net: dsa: microchip: add spi_device_id tables
    d06ee4572fd9 af_key: add __GFP_ZERO flag for compose_sadb_supported in function pfkey_register
    f868ffd1ead3 Input: zinitix - do not report shadow fingers
    8745973cdfc6 spi: Fix erroneous sgs value with min_t()
    20f46b12162c Revert "gpio: Revert regression in sysfs-gpio (gpiolib.c)"
    13b570f365b8 net:mcf8390: Use platform_get_irq() to get the interrupt
    526a46a5f479 spi: Fix invalid sgs value
    a28571fcc422 gpio: Revert regression in sysfs-gpio (gpiolib.c)
    cd3121310e33 ethernet: sun: Free the coherent when failing in probing
    afffb79a2dd5 tools/virtio: fix virtio_test execution
    f8f8e96048ad vdpa/mlx5: should verify CTRL_VQ feature exists for MQ
    32aef620e650 virtio_console: break out of buf poll on remove
    3d39860bea5e ARM: mstar: Select HAVE_ARM_ARCH_TIMER
    189bdde30b55 xfrm: fix tunnel model fragmentation behavior
    3a2914bc3e62 HID: Add support for open wheel and no attachment to T300
    a3248ecf0724 HID: logitech-dj: add new lightspeed receiver id
    d5aad7d63b1b hv: utils: add PTP_1588_CLOCK to Kconfig to fix build
    dd84d71bcbcb mm: kfence: fix missing objcg housekeeping for SLAB
    3d7df3f83f67 USB: serial: simple: add Nokia phone driver
    33325a62249e USB: serial: pl2303: fix GS type detection
    1dd64317e785 dt-bindings: usb: hcd: correct usb-device path
    2241e42f6c71 USB: serial: pl2303: add IBM device IDs
    890f78e54b74 Revert "swiotlb: rework "fix info leak with DMA_FROM_DEVICE""

(From OE-Core rev: 79790e0aa5cc637fa4572e2894989c0000ec8ef7)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 079cf4b9edb0a40f40135b7ae761254823051393)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-12 16:44:05 +01:00
Bruce Ashfield
c115a5d6c9 linux-yocto/5.15: arm: poky-tiny cleanup and fixes
Integrating the following commit(s) to linux-yocto/.:

    20dcef87913 versatile: restore explicit CONFIG_ARM
    8e63ec2fc66 qemuarm64: cleanup for tiny enablement
    fa720c009a8 arm-versatile-926ejs: reorg for tiny and preempt-rt
    7febff689a8 qemuarma15: fix tiny and preempt-rt
    7720c50d622 tiny: make more generic
    f052e84eafa pci: remove CONFIG_PCI_MMCONFIG
    917043019b4 virtio: Add prereqs for tiny
    da919d67b1a common-pc: add CONFIG_ISA_DMA_API for tiny
    1a3a497c472 x2apic: enable iommu for tiny
    63e25b57177 features/security: Move x86_64 configs to separate file

(From OE-Core rev: 74f2af2010e133e0cc1f8767bd3bcabbfca7c784)

Signed-off-by: Jon Mason <jdmason@kudzu.us>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 3e966df4f2d3236a259e6057f2deb22823fca173)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-12 16:44:05 +01:00
Jon Mason
3b78842c32 poky-tiny: enable qemuarmv5/qemuarm64 and cleanups
Add support for qemuarmv5 and qemuarm64, and remove qemuarm specific
entries, as it should be generic now.

(From OE-Core rev: 617e13b1af686f0713589b10b2f094a34f588b9d)

Signed-off-by: Jon Mason <jdmason@kudzu.us>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 9bd21e1130155ad1ec704e0151a22e9f84bfaa78)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-12 16:44:05 +01:00
Bruce Ashfield
bd83f437b2 linux-yocto/5.10: update to v5.10.112
Updating linux-yocto/5.10 to the latest korg -stable release that comprises
the following commits:

    1052f9bce629 Linux 5.10.112
    5c62d3bf1410 ax25: Fix UAF bugs in ax25 timers
    f934fa478dd1 ax25: Fix NULL pointer dereferences in ax25 timers
    145ea8d213e8 ax25: fix NPD bug in ax25_disconnect
    a4942c6fea87 ax25: fix UAF bug in ax25_send_control()
    b20a5ab0f5fb ax25: Fix refcount leaks caused by ax25_cb_del()
    57cc15f5fd55 ax25: fix UAF bugs of net_device caused by rebinding operation
    5ddae8d06441 ax25: fix reference count leaks of ax25_dev
    5ea00fc60676 ax25: add refcount in ax25_dev to avoid UAF bugs
    361288633bfa scsi: iscsi: Fix unbound endpoint error handling
    129db30599bc scsi: iscsi: Fix endpoint reuse regression
    26f827e095ab dma-direct: avoid redundant memory sync for swiotlb
    9a5a4d23e24d timers: Fix warning condition in __run_timers()
    84837f43e56f i2c: pasemi: Wait for write xfers to finish
    89496d80bf84 smp: Fix offline cpu check in flush_smp_call_function_queue()
    cd02b2687d66 dm integrity: fix memory corruption when tag_size is less than digest size
    0a312ec66a03 ARM: davinci: da850-evm: Avoid NULL pointer dereference
    0806f1930562 tick/nohz: Use WARN_ON_ONCE() to prevent console saturation
    0275c75955d1 genirq/affinity: Consider that CPUs on nodes can be unbalanced
    1fcfe37d170a drm/amdgpu: Enable gfxoff quirk on MacBook Pro
    68ae52efa132 drm/amd/display: don't ignore alpha property on pre-multiplied mode
    a263712ba8c9 ipv6: fix panic when forwarding a pkt with no in6 dev
    659214603bf2 nl80211: correctly check NL80211_ATTR_REG_ALPHA2 size
    912797e54c99 ALSA: pcm: Test for "silence" field in struct "pcm_format_data"
    48d070ca5e7e ALSA: hda/realtek: add quirk for Lenovo Thinkpad X12 speakers
    163e16247130 ALSA: hda/realtek: Add quirk for Clevo PD50PNT
    5e4dd1799883 btrfs: mark resumed async balance as writing
    1d2eda18f6ff btrfs: fix root ref counts in error handling in btrfs_get_root_ref
    9b7ec35253c9 ath9k: Fix usage of driver-private space in tx_info
    0f65cedae500 ath9k: Properly clear TX status area before reporting to mac80211
    cc21ae932656 gcc-plugins: latent_entropy: use /dev/urandom
    c089ffc846c8 memory: renesas-rpc-if: fix platform-device leak in error path
    342454231ee5 KVM: x86/mmu: Resolve nx_huge_pages when kvm.ko is loaded
    06c348fde545 mm: kmemleak: take a full lowmem check in kmemleak_*_phys()
    20ed94f8181a mm: fix unexpected zeroed page mapping with zram swap
    192e507ef894 mm, page_alloc: fix build_zonerefs_node()
    000b3921b4d5 perf/imx_ddr: Fix undefined behavior due to shift overflowing the constant
    ca24c5e8f0ac drivers: net: slip: fix NPD bug in sl_tx_timeout()
    e8cf1e4d953d scsi: megaraid_sas: Target with invalid LUN ID is deleted during scan
    5b7ce74b6bc8 scsi: mvsas: Add PCI ID of RocketRaid 2640
    4b44cd584057 drm/amd/display: Fix allocate_mst_payload assert on resume
    34ea097fb63d drm/amd/display: Revert FEC check in validation
    fa5ee7c4232c myri10ge: fix an incorrect free for skb in myri10ge_sw_tso
    d90df6da50c5 net: usb: aqc111: Fix out-of-bounds accesses in RX fixup
    9c12fcf1d864 net: axienet: setup mdio unconditionally
    b643807a735e tlb: hugetlb: Add more sizes to tlb_remove_huge_tlb_entry
    98973d2bdd4a arm64: alternatives: mark patch_alternative() as `noinstr`
    2462faffbfa5 regulator: wm8994: Add an off-on delay for WM8994 variant
    aa8cdedaf760 gpu: ipu-v3: Fix dev_dbg frequency output
    150fe861c57c ata: libata-core: Disable READ LOG DMA EXT for Samsung 840 EVOs
    1ff5359afa5e net: micrel: fix KS8851_MLL Kconfig
    d3478709edf2 scsi: ibmvscsis: Increase INITIAL_SRP_LIMIT to 1024
    b9a110fa755b scsi: lpfc: Fix queue failures when recovering from PCI parity error
    aec36b98a1bb scsi: target: tcmu: Fix possible page UAF
    43666798059c Drivers: hv: vmbus: Prevent load re-ordering when reading ring buffer
    1d7a5aae884c drm/amdkfd: Check for potential null return of kmalloc_array()
    e5afacc826a8 drm/amdgpu/vcn: improve vcn dpg stop procedure
    d2e0931e6d84 drm/amdkfd: Fix Incorrect VMIDs passed to HWS
    7fc0610ad818 drm/amd/display: Update VTEM Infopacket definition
    6906e05cf3ad drm/amd/display: FEC check in timing validation
    756c61c1680f drm/amd/display: fix audio format not updated after edid updated
    76e086ce7b2d btrfs: do not warn for free space inode in cow_file_range
    217190dc66ef btrfs: fix fallocate to use file_modified to update permissions consistently
    9b5d1b3413d7 drm/amd: Add USBC connector ID
    6f9c06501d28 net: bcmgenet: Revert "Use stronger register read/writes to assure ordering"
    504c15f07f54 dm mpath: only use ktime_get_ns() in historical selector
    4e166a41180b cifs: potential buffer overflow in handling symlinks
    67677050cecb nfc: nci: add flush_workqueue to prevent uaf
    bfba9722cf2e perf tools: Fix misleading add event PMU debug message
    280f721edc54 testing/selftests/mqueue: Fix mq_perf_tests to free the allocated cpu set
    eb8873b324d9 sctp: Initialize daddr on peeled off socket
    45226fac4d31 scsi: iscsi: Fix conn cleanup and stop race during iscsid restart
    73805795c99f scsi: iscsi: Fix offload conn cleanup when iscsid restarts
    699bd835c36e scsi: iscsi: Move iscsi_ep_disconnect()
    46f37a34a53d scsi: iscsi: Fix in-kernel conn failure handling
    812573896711 scsi: iscsi: Rel ref after iscsi_lookup_endpoint()
    22608545b834 scsi: iscsi: Use system_unbound_wq for destroy_work
    4029a1e992fc scsi: iscsi: Force immediate failure during shutdown
    17d14456f626 scsi: iscsi: Stop queueing during ep_disconnect
    da9cf24aa739 scsi: pm80xx: Enable upper inbound, outbound queues
    e08d26971237 scsi: pm80xx: Mask and unmask upper interrupt vectors 32-63
    35b91e49bc80 net/smc: Fix NULL pointer dereference in smc_pnet_find_ib()
    98a7f6c4ada4 drm/msm/dsi: Use connector directly in msm_dsi_manager_connector_init()
    5f78ad93837c drm/msm: Fix range size vs end confusion
    5513f9a0b068 cfg80211: hold bss_lock while updating nontrans_list
    a44938950e5e net/sched: taprio: Check if socket flags are valid
    08d5e3e95453 net: ethernet: stmmac: fix altr_tse_pcs function when using a fixed-link
    2ad9d890d850 net: dsa: felix: suppress -EPROBE_DEFER errors
    f2cc341fcc42 net/sched: fix initialization order when updating chain 0 head
    7a7cf8414841 mlxsw: i2c: Fix initialization error flow
    43e58e119a2b net: mdio: Alphabetically sort header inclusion
    9709c8b5cdc8 gpiolib: acpi: use correct format characters
    d67c900f1947 veth: Ensure eth header is in skb's linear part
    845f44ce3d9f net/sched: flower: fix parsing of ethertype following VLAN header
    85ee17ca21cf SUNRPC: Fix the svc_deferred_event trace class
    af12dd71235c media: rockchip/rga: do proper error checking in probe
    563712971202 firmware: arm_scmi: Fix sorting of retrieved clock rates
    16c628b0c6fa memory: atmel-ebi: Fix missing of_node_put in atmel_ebi_probe
    cb66641f8106 drm/msm: Add missing put_task_struct() in debugfs path
    921fdc45a084 btrfs: remove unused variable in btrfs_{start,write}_dirty_block_groups()
    5d131318bb87 ACPI: processor idle: Check for architectural support for LPI
    503934df3108 cpuidle: PSCI: Move the `has_lpi` check to the beginning of the function
    cfa98ffc42f1 hamradio: remove needs_free_netdev to avoid UAF
    80a4df14643f hamradio: defer 6pack kfree after unregister_netdev
    f0c31f192f38 drm/amdkfd: Use drm_priv to pass VM from KFD to amdgpu
    6c8e5cb264df Linux 5.10.111
    d36febbcd537 powerpc: Fix virt_addr_valid() for 64-bit Book3E & 32-bit
    5c672073bcca mm/sparsemem: fix 'mem_section' will never be NULL gcc 12 warning
    5973f7507a73 irqchip/gic, gic-v3: Prevent GSI to SGI translations
    000e09462f85 Drivers: hv: vmbus: Replace smp_store_mb() with virt_store_mb()
    e1f540b752cb arm64: module: remove (NOLOAD) from linker script
    919823bd6738 selftests: cgroup: Test open-time cgroup namespace usage for migration checks
    637eca44b8f7 selftests: cgroup: Test open-time credential usage for migration checks
    9dd39d2c6572 selftests: cgroup: Make cg_create() use 0755 for permission instead of 0644
    e74da71e6614 selftests/cgroup: Fix build on older distros
    4665722d36ad cgroup: Use open-time credentials for process migraton perm checks
    f089471d1b75 mm: don't skip swap entry even if zap_details specified
    58823a9b097c ubsan: remove CONFIG_UBSAN_OBJECT_SIZE
    03b39bbbec8b dmaengine: Revert "dmaengine: shdma: Fix runtime PM imbalance on error"
    40e00885a61f tools build: Use $(shell ) instead of `` to get embedded libperl's ccopts
    75c8558d410f tools build: Filter out options and warnings not supported by clang
    6374faf49e89 perf python: Fix probing for some clang command line options
    79abc219bafd perf build: Don't use -ffat-lto-objects in the python feature test when building with clang-13
    82e43950143c drm/amdkfd: Create file descriptor after client is added to smi_clients list
    326b408e7ec7 drm/nouveau/pmu: Add missing callbacks for Tegra devices
    786ae8de3a5e drm/amdgpu/smu10: fix SoC/fclk units in auto mode
    ff24114bb08d irqchip/gic-v3: Fix GICR_CTLR.RWP polling
    451214b266e9 perf: qcom_l2_pmu: fix an incorrect NULL check on list iterator
    fc629224aa62 ata: sata_dwc_460ex: Fix crash due to OOB write
    7e88a50704b0 gpio: Restrict usage of GPIO chip irq members before initialization
    5f54364ff6cf RDMA/hfi1: Fix use-after-free bug for mm struct
    8bb41682911f arm64: patch_text: Fixup last cpu should be master
    a044bca8ef31 btrfs: prevent subvol with swapfile from being deleted
    82ae73ac963c btrfs: fix qgroup reserve overflow the qgroup limit
    fc4bdaed4d4e x86/speculation: Restore speculation related MSRs during S3 resume
    8c9e26c890ba x86/pm: Save the MSR validity status at context setup
    2827328e646d io_uring: fix race between timeout flush and removal
    f7e183b0a713 mm/mempolicy: fix mpol_new leak in shared_policy_replace
    7d659cb1763f mmmremap.c: avoid pointless invalidate_range_start/end on mremap(old_size=0)
    6adc01a7aa37 lz4: fix LZ4_decompress_safe_partial read out of bound
    8b6f04b4c9d9 mmc: renesas_sdhi: don't overwrite TAP settings when HS400 tuning is complete
    029b4170737f mmc: mmci: stm32: correctly check all elements of sg list
    41a519c05bee Revert "mmc: sdhci-xenon: fix annoying 1.8V regulator warning"
    9de98470db6e arm64: Add part number for Arm Cortex-A78AE
    4604b5738d5b perf session: Remap buf if there is no space for event
    362ced37690d perf tools: Fix perf's libperf_print callback
    65210fac639e perf: arm-spe: Fix perf report --mem-mode
    bd905fed87ce iommu/omap: Fix regression in probe for NULL pointer dereference
    b3c00be2ff8b SUNRPC: svc_tcp_sendmsg() should handle errors from xdr_alloc_bvec()
    9a45e08636bb SUNRPC: Handle low memory situations in call_status()
    132cbe2f182a SUNRPC: Handle ENOMEM in call_transmit_status()
    aed30a205406 io_uring: don't touch scm_fp_list after queueing skb
    594205b49367 drbd: Fix five use after free bugs in get_initial_state
    970a6bb72912 bpf: Support dual-stack sockets in bpf_tcp_check_syncookie
    6c17f4ef3c4f spi: bcm-qspi: fix MSPI only access with bcm_qspi_exec_mem_op()
    8928239e5e2e qede: confirm skb is allocated before using
    b7893388bb88 net: phy: mscc-miim: reject clause 45 register accesses
    08ff0e74fab5 rxrpc: fix a race in rxrpc_exit_net()
    5ae05b5eb587 net: openvswitch: fix leak of nested actions
    42ab401d22de net: openvswitch: don't send internal clone attribute to the userspace.
    e54ea8fc51ca ice: synchronize_rcu() when terminating rings
    e3dd1202ab2e ipv6: Fix stats accounting in ip6_pkt_drop
    ffce126c952e ice: Do not skip not enabled queues in ice_vc_dis_qs_msg
    b003fc4913ea ice: Set txq_teid to ICE_INVAL_TEID on ring creation
    ebd1e3458dbf dpaa2-ptp: Fix refcount leak in dpaa2_ptp_probe
    43c2d7890eca IB/rdmavt: add lock to call to rvt_error_qp to prevent a race condition
    3a57babfb6e9 RDMA/mlx5: Don't remove cache MRs when a delay is needed
    d8992b393f97 sfc: Do not free an empty page_ring
    0ac74169ebc3 bnxt_en: reserve space inside receive page for skb_shared_info
    f8b0ef0a5889 drm/imx: Fix memory leak in imx_pd_connector_get_modes
    25bc9fd4c8d1 drm/imx: imx-ldb: Check for null pointer after calling kmemdup
    02ab4abe5bbf net: stmmac: Fix unset max_speed difference between DT and non-DT platforms
    63ea57478aaa net: ipv4: fix route with nexthop object delete warning
    4be6ed03107b ice: Clear default forwarding VSI during VSI release
    589154d0f189 net/tls: fix slab-out-of-bounds bug in decrypt_internal
    c5f77b595379 scsi: zorro7xx: Fix a resource leak in zorro7xx_remove_one()
    45b9932b4daa NFSv4: fix open failure with O_ACCMODE flag
    c688705a3978 Revert "NFSv4: Handle the special Linux file open access mode"
    cf580d2e3884 Drivers: hv: vmbus: Fix potential crash on module unload
    0c122eb3a109 drm/amdgpu: fix off by one in amdgpu_gfx_kiq_acquire()
    84e5dfc05f37 Revert "hv: utils: add PTP_1588_CLOCK to Kconfig to fix build"
    3c3fbfa6dddb mm: fix race between MADV_FREE reclaim and blkdev direct IO read
    1753a49e266d parisc: Fix patch code locking and flushing
    f7c35220305f parisc: Fix CPU affinity for Lasi, WAX and Dino chips
    c74e2f6ecc51 NFS: Avoid writeback threads getting stuck in mempool_alloc()
    34681aeddcfc NFS: nfsiod should not block forever in mempool_alloc()
    7a506fabcfe1 SUNRPC: Fix socket waits for write buffer space
    b9c5ac0a15f2 jfs: prevent NULL deref in diFree
    c69b442125bf virtio_console: eliminate anonymous module_init & module_exit
    3309b3221711 serial: samsung_tty: do not unlock port->lock for uart_write_wakeup()
    9cb90f9ad597 x86/Kconfig: Do not allow CONFIG_X86_X32_ABI=y with llvm-objcopy
    b3882e78aa0a NFS: swap-out must always use STABLE writes.
    d4170a28217a NFS: swap IO handling is slightly different for O_DIRECT IO
    4b6f122bdfdc SUNRPC: remove scheduling boost for "SWAPPER" tasks.
    f4fc47e71e32 SUNRPC/xprt: async tasks mustn't block waiting for memory
    f9244d31e05a SUNRPC/call_alloc: async tasks mustn't block waiting for memory
    e2b2542f7452 clk: Enforce that disjoints limits are invalid
    1e9b5538cf16 clk: ti: Preserve node in ti_dt_clocks_register()
    a2a0e04f6478 xen: delay xen_hvm_init_time_ops() if kdump is boot on vcpu>=32
    4a2544ce244b NFSv4: Protect the state recovery thread against direct reclaim
    9b9feec97c1f NFSv4.2: fix reference count leaks in _nfs42_proc_copy_notify()
    2e16895d06e6 w1: w1_therm: fixes w1_seq for ds28ea00 sensors
    93498c6e775a staging: wfx: fix an error handling in wfx_init_common()
    8f1d24f85ffd phy: amlogic: meson8b-usb2: Use dev_err_probe()
    aa0b72967853 staging: vchiq_core: handle NULL result of find_service_by_handle
    be4ecca95819 clk: si5341: fix reported clk_rate when output divider is 2
    c9cf6baabf78 minix: fix bug when opening a file with O_DIRECT
    8d9efd4434e3 init/main.c: return 1 from handled __setup() functions
    f44297861296 ceph: fix memory leak in ceph_readdir when note_last_dentry returns error
    d745512d54fd netlabel: fix out-of-bounds memory accesses
    2cc803804ec9 Bluetooth: Fix use after free in hci_send_acl
    789621df1963 MIPS: ingenic: correct unit node address
    61e25021e67a xtensa: fix DTC warning unit_address_format
    f6b9550f5367 usb: dwc3: omap: fix "unbalanced disables for smps10_out1" on omap5evm
    a4dd3e9e5ae8 net: sfp: add 2500base-X quirk for Lantech SFP module
    278b652f0ad9 net: limit altnames to 64k total
    423e7107f61f net: account alternate interface name memory
    74c4d5025551 can: isotp: set default value for N_As to 50 micro seconds
    1d7effe5fff9 scsi: libfc: Fix use after free in fc_exch_abts_resp()
    02222bf4f0a2 powerpc/secvar: fix refcount leak in format_show()
    fd416c3f5a4c MIPS: fix fortify panic when copying asm exception handlers
    7c657c0694ff PCI: endpoint: Fix misused goto label
    79cfc0052f39 bnxt_en: Eliminate unintended link toggle during FW reset
    9567d54e70ff Bluetooth: use memset avoid memory leaks
    f9b183f1332a Bluetooth: Fix not checking for valid hdev on bt_dev_{info,warn,err,dbg}
    647b35aaf454 tuntap: add sanity checks about msg_controllen in sendmsg
    797b4ea9515e macvtap: advertise link netns via netlink
    142ae7d4f215 mips: ralink: fix a refcount leak in ill_acc_of_setup()
    f2565cb40e9b net/smc: correct settings of RMB window update limit
    224903cc60d0 scsi: hisi_sas: Free irq vectors in order for v3 HW
    f49ffaa85d2c scsi: aha152x: Fix aha152x_setup() __setup handler return value
    91ee8a14efb6 mt76: mt7615: Fix assigning negative values to unsigned variable
    d83574666bac scsi: pm8001: Fix memory leak in pm8001_chip_fw_flash_update_req()
    a0bb65eadbf9 scsi: pm8001: Fix tag leaks on error
    2051044d7901 scsi: pm8001: Fix task leak in pm8001_send_abort_all()
    3bd9a28798ca scsi: pm8001: Fix pm8001_mpi_task_abort_resp()
    ef969095c442 scsi: pm8001: Fix pm80xx_pci_mem_copy() interface
    fe4b6d5a0dd7 drm/amdkfd: make CRAT table missing message informational only
    2f2f017ea873 dm: requeue IO if mapping table not yet available
    71c8df33fd77 dm ioctl: prevent potential spectre v1 gadget
    f655b724b440 ipv4: Invalidate neighbour for broadcast address upon address addition
    bae03957e8ca iwlwifi: mvm: Correctly set fragmented EBS
    9538563d31a2 power: supply: axp288-charger: Set Vhold to 4.4V
    c66cc0404367 PCI: pciehp: Add Qualcomm quirk for Command Completed erratum
    b1b27b0e8d48 tcp: Don't acquire inet_listen_hashbucket::lock with disabled BH.
    b02a1a65023f PCI: endpoint: Fix alignment fault error in copy tests
    4820847e8bc2 usb: ehci: add pci device support for Aspeed platforms
    0b9cf0b59925 iommu/arm-smmu-v3: fix event handling soft lockup
    e07e420a0056 PCI: aardvark: Fix support for MSI interrupts
    6694b8643bde drm/amdgpu: Fix recursive locking warning
    ea21eaea7f5f powerpc: Set crashkernel offset to mid of RMA region
    fb5ac62fbe16 ipv6: make mc_forwarding atomic
    5baf92a2c46c libbpf: Fix build issue with llvm-readelf
    26a1e4739e44 cfg80211: don't add non transmitted BSS to 6GHz scanned channels
    9a56e2b271bc mt76: dma: initialize skip_unmap in mt76_dma_rx_fill
    b42b6d0ec358 power: supply: axp20x_battery: properly report current when discharging
    de9505936c47 scsi: bfa: Replace snprintf() with sysfs_emit()
    ed7db959203e scsi: mvsas: Replace snprintf() with sysfs_emit()
    995f51788868 bpf: Make dst_port field in struct bpf_sock 16-bit wide
    339bd0b55ecd ath11k: mhi: use mhi_sync_power_up()
    c6a815f5abdf ath11k: fix kernel panic during unload/load ath11k modules
    e4d2d7201356 powerpc: dts: t104xrdb: fix phy type for FMAN 4/5
    02e2ee861984 ptp: replace snprintf with sysfs_emit
    9ea17b9f1dd0 usb: gadget: tegra-xudc: Fix control endpoint's definitions
    07971b818e18 usb: gadget: tegra-xudc: Do not program SPARAM
    927beb05aaa4 drm/amd/amdgpu/amdgpu_cs: fix refcount leak of a dma_fence obj
    85313d9bc7bd drm/amd/display: Add signal type check when verify stream backends same
    9d7d83d0399e ath5k: fix OOB in ath5k_eeprom_read_pcal_info_5111
    850c4351e895 drm: Add orientation quirk for GPD Win Max
    a24479c5e9f4 KVM: x86/emulator: Emulate RDPID only if it is enabled in guest
    66b0fa6b2218 KVM: x86/svm: Clear reserved bits written to PerfEvtSeln MSRs
    2e52a294700b rtc: wm8350: Handle error for wm8350_register_irq
    0777fe98a44c gfs2: gfs2_setattr_size error path fix
    f349d7f9ee6d gfs2: Fix gfs2_release for non-writers regression
    3f53715fd55c gfs2: Check for active reservation in gfs2_release
    2dc49f58a29c ubifs: Rectify space amount budget for mkdir/tmpfile operations

(From OE-Core rev: cfea7f69f780502899925df374e6ad9f73e219d1)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 1a5b51284c28013563bf654aa41287b1288684fb)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-12 16:44:05 +01:00
Bruce Ashfield
086152f286 linux-yocto/5.10: base: enable kernel crypto userspace API
Integrating the following commit(s) to linux-yocto/.:

    bddb0e4921f base.cfg: enable kernel crypto userspace API

(From OE-Core rev: 372ee7fac31aa8ebf6f5c38550ecd8de190c40c9)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit a08c1c7dba66a1d12e029906d86f4f84e9166232)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-12 16:44:05 +01:00
Bruce Ashfield
14d4c55592 linux-yocto/5.10: update to v5.10.110
Updating linux-yocto/5.10 to the latest korg -stable release that comprises
the following commits:

    3238bffaf992 Linux 5.10.110
    cf342cbfb37f PCI: xgene: Revert "PCI: xgene: Use inbound resources for setup"
    a25864c5bc20 arm64: Do not defer reserve_crashkernel() for platforms with no DMA memory zones
    558564db4475 coredump: Use the vma snapshot in fill_files_note
    b7933f145ad3 coredump/elf: Pass coredump_params into fill_note_info
    b043ae637a83 coredump: Remove the WARN_ON in dump_vma_snapshot
    936c8be4d144 coredump: Snapshot the vmas in do_coredump
    5318cdf4fd83 can: usb_8dev: usb_8dev_start_xmit(): fix double dev_kfree_skb() in error path
    869016a2938a can: m_can: m_can_tx_handler(): fix use after free of skb
    e90518d10c7d KVM: x86/mmu: do compare-and-exchange of gPTE via the user address
    e36c45263a30 openvswitch: Fixed nd target mask field in the flow dump.
    415edc68b652 docs: sysctl/kernel: add missing bit to panic_print
    272c74323dcc um: Fix uml_mconsole stop/go
    c0a6a547388e ARM: dts: spear13xx: Update SPI dma properties
    ea3912af8b8a ARM: dts: spear1340: Update serial node properties
    74f7971985bd ASoC: topology: Allow TLV control to be either read or write
    3ca47556d920 ubi: fastmap: Return error code if memory allocation fails in add_aeb()
    7704f243cbbd dt-bindings: spi: mxic: The interrupt property is not mandatory
    648ab1dcc119 dt-bindings: mtd: nand-controller: Fix a comment in the examples
    71917e45e1aa dt-bindings: mtd: nand-controller: Fix the reg property description
    73f2f37417b0 bpf: Fix comment for helper bpf_current_task_under_cgroup()
    90805175a206 bpf: Adjust BPF stack helper functions to accommodate skip > 0
    86489492e876 mm/usercopy: return 1 from hardened_usercopy __setup() handler
    81a04b9a32e4 mm/memcontrol: return 1 from cgroup.memory __setup() handler
    f321621f5c84 ARM: 9187/1: JIVE: fix return value of __setup handler
    d57feed3b114 mm/mmap: return 1 from stack_guard_gap __setup() handler
    73f7cbb15191 batman-adv: Check ptr for NULL before reducing its refcnt
    f6da750bfaf4 ASoC: soc-compress: Change the check for codec_dai
    d3f786b7cf81 staging: mt7621-dts: fix pinctrl-0 items to be size-1 items on ethernet
    12e380bb6f16 proc: bootconfig: Add null pointer check
    90ec1b1538d4 can: isotp: restore accidentally removed MSG_PEEK feature
    16960ac92b84 platform/chrome: cros_ec_typec: Check for EC device
    e5b681822cac ACPI: CPPC: Avoid out of bounds access when parsing _CPC data
    785a53373c22 riscv module: remove (NOLOAD)
    b27de7011cb3 io_uring: fix memory leak of uid in files registration
    20499ed3c041 ARM: iop32x: offset IRQ numbers by 1
    432b057f8e84 ubi: Fix race condition between ctrl_cdev_ioctl and ubi_cdev_ioctl
    f28a857a61eb ASoC: mediatek: mt6358: add missing EXPORT_SYMBOLs
    ecfc3f8a6350 pinctrl: nuvoton: npcm7xx: Use %zu printk format for ARRAY_SIZE()
    503868a7c006 pinctrl: nuvoton: npcm7xx: Rename DS() macro to DSTR()
    d9afc5146bd3 watchdog: rti-wdt: Add missing pm_runtime_disable() in probe function
    402b53dc7c46 pinctrl: pinconf-generic: Print arguments for bias-pull-*
    7169f6011091 watch_queue: Free the page array when watch_queue is dismantled
    e64dc94990fd crypto: arm/aes-neonbs-cbc - Select generic cbc and aes
    a16f5ae8ade1 mailbox: imx: fix wakeup failure from freeze mode
    051360e51341 rxrpc: Fix call timer start racing with call destruction
    a94d98e06eba net: hns3: fix software vlan talbe of vlan 0 inconsistent with hardware
    c73af4bc8a91 gfs2: Make sure FITRIM minlen is rounded up to fs block size
    33c204266c12 rtc: check if __rtc_read_time was successful
    381636f33fe4 XArray: Update the LRU list in xas_split()
    3b9fabe8f6e8 can: mcp251xfd: mcp251xfd_register_get_dev_id(): fix return of error value
    ef0acc514123 can: mcba_usb: properly check endpoint type
    0801a51d7938 can: mcba_usb: mcba_usb_start_xmit(): fix double dev_kfree_skb in error path
    1ac49c8fd49f XArray: Fix xas_create_range() when multi-order entry present
    49f77ab50a31 wireguard: socket: ignore v6 endpoints when ipv6 is disabled
    096f9d35cac0 wireguard: socket: free skb in send6 when ipv6 is disabled
    cd032f218c02 wireguard: queueing: use CFI-safe ptr_ring cleanup function
    8a0c70c238c5 ubifs: rename_whiteout: correct old_dir size computing
    c34ae24a2590 ubifs: Fix to add refcount once page is set private
    07a209fadee7 ubifs: Fix read out-of-bounds in ubifs_wbuf_write_nolock()
    d07a24216931 ubifs: setflags: Make dirtied_ino_d 8 bytes aligned
    13b2a8151e3b ubifs: Add missing iput if do_tmpfile() failed in rename whiteout
    83e42a78428f ubifs: Fix deadlock in concurrent rename whiteout and inode writeback
    a90e2dbe66d2 ubifs: rename_whiteout: Fix double free for whiteout_ui->data
    0c307349fe06 ASoC: SOF: Intel: Fix NULL ptr dereference when ENOMEM
    0fb470eb4889 KVM: SVM: fix panic on out-of-bounds guest IRQ
    cd8c2d7c7c49 KVM: x86: fix sending PV IPI
    eccfee44949d KVM: Prevent module exit until all VMs are freed
    09c771c45c12 KVM: x86: Forbid VMM to set SYNIC/STIMER MSRs when SynIC wasn't activated
    aea4ffdcf30f platform: chrome: Split trace include file
    d3a913ba1fea scsi: qla2xxx: Use correct feature type field during RFF_ID processing
    633450063c10 scsi: qla2xxx: Reduce false trigger to login
    dd48727cabe5 scsi: qla2xxx: Fix N2N inconsistent PLOGI
    0910a791a6d7 scsi: qla2xxx: Fix missed DMA unmap for NVMe ls requests
    f296e888e921 scsi: qla2xxx: Fix hang due to session stuck
    edea037716ff scsi: qla2xxx: Fix incorrect reporting of task management failure
    9dc104edd729 scsi: qla2xxx: Fix disk failure to rediscover
    f97316dd393b scsi: qla2xxx: Suppress a kernel complaint in qla_create_qpair()
    0e4a89efc223 scsi: qla2xxx: Check for firmware dump already collected
    ef10a7530c34 scsi: qla2xxx: Add devids and conditionals for 28xx
    bad77c9a47b4 scsi: qla2xxx: Fix device reconnect in loop topology
    8b52e20c22c2 scsi: qla2xxx: Fix warning for missing error code
    7c9745421d43 scsi: qla2xxx: Fix wrong FDMI data for 64G adapter
    7fef50214dd0 scsi: qla2xxx: Fix scheduling while atomic
    c45147018d7e scsi: qla2xxx: Fix stuck session in gpdb
    031547f4c603 powerpc: Fix build errors with newer binutils
    68fa67e939d8 powerpc/lib/sstep: Fix build errors with newer binutils
    ad806b402268 powerpc/lib/sstep: Fix 'sthcx' instruction
    f39a3309393a powerpc/kasan: Fix early region not updated correctly
    89e5a4268760 KVM: x86/mmu: Check for present SPTE when clearing dirty bit in TDP MMU
    a3ad4530088d ALSA: hda/realtek: Add alc256-samsung-headphone fixup
    aa2ad067cd74 media: atomisp: fix bad usage at error handling logic
    2412a5d29411 mmc: host: Return an error when ->enable_sdio_irq() ops is missing
    808990afd855 media: hdpvr: initialize dev->worker at hdpvr_register_videodev
    32582f82df2b media: Revert "media: em28xx: add missing em28xx_close_extension"
    b1c28577529c video: fbdev: sm712fb: Fix crash in smtcfb_write()
    e7bb29df2a14 ARM: mmp: Fix failure to remove sram device
    add823a9a5e2 ARM: tegra: tamonten: Fix I2C3 pad setting
    08ec8450f3e5 lib/test_lockup: fix kernel pointer check for separate address spaces
    40a5c93a7473 uaccess: fix type mismatch warnings from access_ok()
    a49b687a75d2 media: cx88-mpeg: clear interrupt status register before streaming video
    460635026801 ASoC: soc-core: skip zero num_dai component in searching dai name
    a840fc067e8c ARM: dts: bcm2711: Add the missing L1/L2 cache information
    681a317034b2 video: fbdev: udlfb: replace snprintf in show functions with sysfs_emit
    a7c624abf694 video: fbdev: omapfb: panel-tpo-td043mtea1: Use sysfs_emit() instead of snprintf()
    543dae0a46b0 video: fbdev: omapfb: panel-dsi-cm: Use sysfs_emit() instead of snprintf()
    910715c4b494 arm64: defconfig: build imx-sdma as a module
    14df2556a190 ARM: dts: imx7: Use audio_mclk_post_div instead audio_mclk_root_clk
    c241cfd0a55f ARM: ftrace: avoid redundant loads or clobbering IP
    41082d6432e5 media: atomisp: fix dummy_ptr check to avoid duplicate active_bo
    b554196e6d39 media: atomisp_gmin_platform: Add DMI quirk to not turn AXP ELDO2 regulator off on some boards
    370b50492e54 ASoC: madera: Add dependencies on MFD
    0020667edc06 ARM: dts: bcm2837: Add the missing L1/L2 cache information
    f040c0810291 ARM: dts: qcom: fix gic_irq_domain_translate warnings for msm8960
    da210b1b551c video: fbdev: omapfb: acx565akm: replace snprintf with sysfs_emit
    8c7e2141fb89 video: fbdev: cirrusfb: check pixclock to avoid divide by zero
    1e33f197468f video: fbdev: w100fb: Reset global state
    08dff4820127 video: fbdev: nvidiafb: Use strscpy() to prevent buffer overflow
    99e3f83539ca media: ir_toy: free before error exiting
    d658178b5ac2 media: staging: media: zoran: fix various V4L2 compliance errors
    bafec1a6ba4b media: staging: media: zoran: calculate the right buffer number for zoran_reap_stat_com
    bd01629315ff media: staging: media: zoran: move videodev alloc
    b230f2d9441a ntfs: add sanity check on allocation size
    f7e8aff06262 f2fs: compress: fix to print raw data size in error path of lz4 decompression
    d91d1e681c99 NFSD: Fix nfsd_breaker_owns_lease() return values
    498b7088db71 f2fs: fix to do sanity check on curseg->alloc_type
    330d0e44fc5a ext4: don't BUG if someone dirty pages without asking ext4 first
    cd6d719534af ext4: fix ext4_mb_mark_bb() with flex_bg with fast_commit
    69d2421b5527 ext4: correct cluster len and clusters changed accounting in ext4_mb_mark_bb
    ecd384c436fd locking/lockdep: Iterate lock_classes directly when reading lockdep files
    3ad817f1bd62 spi: tegra20: Use of_device_get_match_data()
    1c200c8bce08 nvme-tcp: lockdep: annotate in-kernel sockets
    7e4967e913ab parisc: Fix handling off probe non-access faults
    ede1ef1a7de9 PM: core: keep irq flags in device_pm_check_callbacks()
    227718c8bbd5 ACPI/APEI: Limit printable size of BERT table data
    cc051f497eac Revert "Revert "block, bfq: honor already-setup queue merges""
    1b69302bfae3 lib/raid6/test/Makefile: Use $(pound) instead of \# for Make 4.3
    1b87ce6a778e ACPICA: Avoid walking the ACPI Namespace if it is not there
    df6e00b1a53c bfq: fix use-after-free in bfq_dispatch_request
    dd85ed4af8f5 fs/binfmt_elf: Fix AT_PHDR for unusual ELF files
    9fc899ce5a20 irqchip/nvic: Release nvic_base upon failure
    4bbd910de18b irqchip/qcom-pdc: Fix broken locking
    f038185b6a62 Fix incorrect type in assignment of ipv6 port for audit
    012c572007c2 loop: use sysfs_emit() in the sysfs xxx show()
    448857f58009 selinux: allow FIOCLEX and FIONCLEX with policy capability
    4b9b60b5bfc8 selinux: use correct type for context length
    7507ead1e9d4 block, bfq: don't move oom_bfqq
    79b16d00de17 pinctrl: npcm: Fix broken references to chip->parent_device
    9d1d8e5e4294 gcc-plugins/stackleak: Exactly match strings instead of prefixes
    b0f2f89d741a regulator: rpi-panel: Handle I2C errors/timing to the Atmel
    2784604c8c6f LSM: general protection fault in legacy_parse_param
    e600b5973e80 fs: fix fd table size alignment properly
    327f07e3704c lib/test: use after free in register_test_dev_kmod()
    00d2b9fe5e02 fs: fd tables have to be multiples of BITS_PER_LONG
    1752fcd4045b net: dsa: bcm_sf2_cfp: fix an incorrect NULL check on list iterator
    edb91a475da5 NFSv4/pNFS: Fix another issue with a list iterator pointing to the head
    5c94b6205e87 net/x25: Fix null-ptr-deref caused by x25_disconnect
    4896c308a57d qlcnic: dcb: default to returning -EOPNOTSUPP
    2165d0ebfbac selftests: test_vxlan_under_vrf: Fix broken test case
    f98dc124a482 net: phy: broadcom: Fix brcm_fet_config_init()
    3e7a483af3bb net: hns3: fix bug when PF set the duplicate MAC address for VFs
    3eb92660e69a net: enetc: report software timestamping via SO_TIMESTAMPING
    e9445a7a59d8 xen: fix is_xen_pmu()
    af0c3ced2468 clk: Initialize orphan req_rate
    845e734f975f clk: qcom: gcc-msm8994: Fix gpll4 width
    e2a262539219 kdb: Fix the putarea helper function
    a9fa7d48a1cd NFSv4.1: don't retry BIND_CONN_TO_SESSION on session error
    8cd30d28da01 netfilter: nf_conntrack_tcp: preserve liberal flag in tcp options
    fbd56a61ceee jfs: fix divide error in dbNextAG
    acb96e62e690 driver core: dd: fix return value of __setup handler
    89748be18f77 firmware: google: Properly state IOMEM dependency
    3d934d7b9019 kgdbts: fix return value of __setup handler
    f65ba8b98846 serial: 8250: fix XOFF/XON sending when DMA is used
    45e95a7bf8c4 kgdboc: fix return value of __setup handler
    96038b1cf45e tty: hvc: fix return value of __setup handler
    566e30289d04 pinctrl/rockchip: Add missing of_node_put() in rockchip_pinctrl_probe
    669b05ff43bd pinctrl: nomadik: Add missing of_node_put() in nmk_pinctrl_probe
    9d095fe2fb8a pinctrl: mediatek: paris: Skip custom extra pin config dump for virtual GPIOs
    861946289d4a pinctrl: mediatek: paris: Fix pingroup pin config state readback
    7675fb2aaf88 pinctrl: mediatek: paris: Fix "argument" argument type for mtk_pinconf_get()
    901e192ac91e pinctrl: mediatek: paris: Fix PIN_CONFIG_BIAS_* readback
    72ea0fefea18 pinctrl: mediatek: Fix missing of_node_put() in mtk_pctrl_init
    fddbfe43bf07 staging: mt7621-dts: fix GB-PC2 devicetree
    00e0739ca126 staging: mt7621-dts: fix pinctrl properties for ethernet
    47c31fe8ca78 staging: mt7621-dts: fix formatting
    59ec187d7c08 staging: mt7621-dts: fix LEDs and pinctrl on GB-PC1 devicetree
    942f68bf2950 NFS: remove unneeded check in decode_devicenotify_args()
    e025c6638720 clk: tegra: tegra124-emc: Fix missing put_device() call in emc_ensure_emc_driver
    54c812829741 clk: clps711x: Terminate clk_div_table with sentinel element
    9ff533033d8e clk: loongson1: Terminate clk_div_table with sentinel element
    bb680cabf242 clk: actions: Terminate clk_div_table with sentinel element
    431f8a9cec07 nvdimm/region: Fix default alignment for small regions
    f7210ca29a78 remoteproc: qcom_q6v5_mss: Fix some leaks in q6v5_alloc_memory_region
    7a494580a89b remoteproc: qcom_wcnss: Add missing of_node_put() in wcnss_alloc_memory_region
    5c1d484d9661 remoteproc: qcom: Fix missing of_node_put in adsp_alloc_memory_region
    f95fd61dd85a dmaengine: hisi_dma: fix MSI allocate fail when reload hisi_dma
    d047d68ff031 clk: qcom: clk-rcg2: Update the frac table for pixel clock
    334720f418f5 clk: qcom: clk-rcg2: Update logic to calculate D value for RCG
    639744b2429f clk: at91: sama7g5: fix parents of PDMCs' GCLK
    0553ecbce95e clk: imx7d: Remove audio_mclk_root_clk
    867258d3f37d dma-debug: fix return value of __setup handlers
    2f3885514e41 NFS: Return valid errors from nfs2/3_decode_dirent()
    7b59afe84ad9 habanalabs: Add check for pci_enable_device
    afcbc6375233 iio: adc: Add check for devm_request_threaded_irq
    df2dc4cf71fa serial: 8250: Fix race condition in RTS-after-send handling
    469ce5119f22 NFS: Use of mapping_set_error() results in spurious errors
    659fe4d653a2 serial: 8250_lpss: Balance reference count for PCI DMA device
    0aebb3944ab1 serial: 8250_mid: Balance reference count for PCI DMA device
    c92bd51313bf phy: dphy: Correct lpx parameter and its derivatives(ta_{get,go,sure})
    80805f555e22 clk: qcom: ipq8074: Use floor ops for SDCC1 clock
    fd2601e3665e pinctrl: renesas: checker: Fix miscalculation of number of states
    c5cf977515b5 pinctrl: renesas: r8a77470: Reduce size for narrow VIN1 channel
    b5db33a81ee7 staging:iio:adc:ad7280a: Fix handing of device address bit reversing.
    f5b01abf5f65 iio: mma8452: Fix probe failing when an i2c_device_id is used
    8b89c9e68a01 clk: qcom: ipq8074: fix PCI-E clock oops
    a70d5dbe2e4e soundwire: intel: fix wrong register name in intel_shim_wake
    091704a9a7f4 cpufreq: qcom-cpufreq-nvmem: fix reading of PVS Valid fuse
    f90ad943221a misc: alcor_pci: Fix an error handling path
    553541c4531e fsi: Aspeed: Fix a potential double free
    cb212c3f0de7 fsi: aspeed: convert to devm_platform_ioremap_resource
    c0b3c06414c3 pwm: lpc18xx-sct: Initialize driver data and hardware before pwmchip_add()
    2cd05c38a27b mxser: fix xmit_buf leak in activate when LSR == 0xff
    8513c93eadc6 mfd: asic3: Add missing iounmap() on error asic3_mfd_probe
    084be6309f4f tipc: fix the timer expires after interval 100ms
    5d8162371ce8 openvswitch: always update flow key after nat
    4593c76a659d tcp: ensure PMTU updates are processed during fastopen
    b26091a02093 net: bcmgenet: Use stronger register read/writes to assure ordering
    9088614323f0 PCI: Avoid broken MSI on SB600 USB devices
    75a4a97b7463 selftests/bpf/test_lirc_mode2.sh: Exit with proper code
    0d3ad6142a05 i2c: mux: demux-pinctrl: do not deactivate a master that is not active
    c483f8002d17 i2c: meson: Fix wrong speed use from probe
    b0898362188e af_netlink: Fix shift out of bounds in group mask calculation
    40f3b8dadae8 ipv4: Fix route lookups when handling ICMP redirects and PMTU updates
    70a6cf749d9f Bluetooth: btmtksdio: Fix kernel oops in btmtksdio_interrupt
    b441fcdff2eb Bluetooth: call hci_le_conn_failed with hdev lock in hci_le_conn_failed
    876cfe1380c3 selftests/bpf: Fix error reporting from sock_fields programs
    ac1ec6f319c0 bareudp: use ipv6_mod_enabled to check if IPv6 enabled
    c037e135391c can: isotp: support MSG_TRUNC flag when reading from socket
    f402c4986519 can: isotp: return -EADDRNOTAVAIL when reading from unbound socket
    8a9d996d4edd USB: storage: ums-realtek: fix error code in rts51x_read_mem()
    f9a666100955 samples/bpf, xdpsock: Fix race when running for fix duration of time
    cd84ea3920ae bpf, sockmap: Fix double uncharge the mem of sk_msg
    7b812a369e64 bpf, sockmap: Fix more uncharged while msg has more_data
    bec34a91eba3 bpf, sockmap: Fix memleak in tcp_bpf_sendmsg while sk msg is full
    c98d903ff9e7 RDMA/mlx5: Fix memory leak in error flow for subscribe event routine
    a3587259ae55 mtd: rawnand: atmel: fix refcount issue in atmel_nand_controller_init
    fa3d44424579 MIPS: pgalloc: fix memory leak caused by pgd_free()
    8c4808ff9e10 MIPS: RB532: fix return value of __setup handler
    ef1728e3cb9e mips: cdmm: Fix refcount leak in mips_cdmm_phys_base
    315772133a4b ath10k: Fix error handling in ath10k_setup_msa_resources
    71f311b12380 vxcan: enable local echo for sent CAN frames
    3c2a39784974 powerpc: 8xx: fix a return value error in mpc8xx_pic_init
    956fab99ad26 platform/x86: huawei-wmi: check the return value of device_create_file()
    1ba28cb69218 selftests/bpf: Make test_lwt_ip_encap more stable and faster
    08ab4067815e libbpf: Unmap rings when umem deleted
    6fa8edfc9020 mfd: mc13xxx: Add check for mc13xxx_irq_request
    bcf93175ed84 powerpc/sysdev: fix incorrect use to determine if list is empty
    ab0a335b546e mips: DEC: honor CONFIG_MIPS_FP_SUPPORT=n
    bbd91cdb620e net: axienet: fix RX ring refill allocation failure handling
    9ec698984db2 PCI: Reduce warnings on possible RW1C corruption
    a84cb039d282 IB/hfi1: Allow larger MTU without AIP
    48d23ef90116 power: supply: wm8350-power: Add missing free in free_charger_irq
    9d3dab40af71 power: supply: wm8350-power: Handle error for wm8350_register_irq
    5cf1371628a4 i2c: xiic: Make bus names unique
    f01e08083c94 hv_balloon: rate-limit "Unhandled message" warning
    ba2c6e353b11 KVM: x86/emulator: Defer not-present segment check in __load_segment_descriptor()
    fa9089949dac KVM: x86: Fix emulation in writing cr8
    3e7e73ae2bbd powerpc/Makefile: Don't pass -mcpu=powerpc64 when building 32-bit
    05abd49972e1 powerpc/mm/numa: skip NUMA_NO_NODE onlining in parse_numa_properties()
    3e04a837dba7 libbpf: Skip forward declaration when counting duplicated type names
    6bb107332db2 gpu: host1x: Fix a memory leak in 'host1x_remove()'
    d1c7759304a1 bpf, arm64: Feed byte-offset into bpf line info
    694398af5fea bpf, arm64: Call build_prologue() first in first JIT pass
    06a0001366ac drm/bridge: cdns-dsi: Make sure to to create proper aliases for dt
    a3d53f000561 scsi: hisi_sas: Change permission of parameter prot_mask
    705c70399e06 power: supply: bq24190_charger: Fix bq24190_vbus_is_enabled() wrong false return
    1e06710c43a0 drm/tegra: Fix reference leak in tegra_dsi_ganged_probe
    9ffa07c699a7 ext2: correct max file size computing
    60605acf5bf8 TOMOYO: fix __setup handlers return values
    adb7c8d1de05 drm/amd/display: Remove vupdate_int_entry definition
    e462b0f518e9 RDMA/mlx5: Fix the flow of a miss in the allocation of a cache ODP MR
    279f318bd7d6 scsi: pm8001: Fix abort all task initialization
    780c668a2dd4 scsi: pm8001: Fix NCQ NON DATA command completion handling
    f7a3f9e4e81b scsi: pm8001: Fix NCQ NON DATA command task initialization
    f76bbee39eda scsi: pm8001: Fix le32 values handling in pm80xx_chip_sata_req()
    6bc86bca3502 scsi: pm8001: Fix le32 values handling in pm80xx_chip_ssp_io_req()
    27ccdcaa015d scsi: pm8001: Fix payload initialization in pm80xx_encrypt_update()
    6c0e850c2289 scsi: pm8001: Fix le32 values handling in pm80xx_set_sas_protocol_timer_config()
    edde1ede761e scsi: pm8001: Fix payload initialization in pm80xx_set_thermal_config()
    257a55622cc6 scsi: pm8001: Fix command initialization in pm8001_chip_ssp_tm_req()
    f55a7bc38f74 scsi: pm8001: Fix command initialization in pm80XX_send_read_log()
    5349cde1dfaa dm crypt: fix get_key_size compiler warning if !CONFIG_KEYS
    d4862bea088c drm/msm/dpu: fix dp audio condition
    7b52fb813cd1 drm/msm/dpu: add DSPP blocks teardown
    413c62697b61 drm/msm/dp: populate connector of struct dp_panel
    441a83ff270e iwlwifi: mvm: Fix an error code in iwl_mvm_up()
    c12692c3e979 iwlwifi: Fix -EIO error code that is never returned
    ec376f5c11c8 dax: make sure inodes are flushed before destroy cache
    5e6b030ac345 IB/cma: Allow XRC INI QPs to set their local ACK timeout
    9c384e1afa55 drm/amd/display: Add affected crtcs to atomic state for dsc mst unplug
    80b96ac9d2fb drm/amd/pm: enable pm sysfs write for one VF mode
    06e778d1849d iommu/ipmmu-vmsa: Check for error num after setting mask
    ab63b24ae632 HID: i2c-hid: fix GET/SET_REPORT for unnumbered reports
    879356a6a055 power: supply: ab8500: Fix memory leak in ab8500_fg_sysfs_init
    f03ef518c1c1 drm/bridge: dw-hdmi: use safe format when first in bridge chain
    e0e25e131d18 PCI: aardvark: Fix reading PCI_EXP_RTSTA_PME bit on emulated bridge
    b1af8b9ec032 livepatch: Fix build failure on 32 bits processors
    6f095441f808 scripts/dtc: Call pkg-config POSIXly correct
    080822563b35 net: dsa: mv88e6xxx: Enable port policy support on 6097
    2ac4f049db6e mt76: mt7615: check sta_rates pointer in mt7615_sta_rate_tbl_update
    2430af124125 mt76: mt7603: check sta_rates pointer in mt7603_sta_rate_tbl_update
    232c1cc98611 mt76: mt7915: use proper aid value in mt7915_mcu_sta_basic_tlv
    253cc4aafc21 mt76: mt7915: use proper aid value in mt7915_mcu_wtbl_generic_tlv in sta mode
    b5d363ff171e powerpc/perf: Don't use perf_hw_context for trace IMC PMU
    c18b53861796 KVM: PPC: Book3S HV: Check return value of kvmppc_radix_init
    8b64c158a07b powerpc: dts: t1040rdb: fix ports names for Seville Ethernet switch
    be703360ed35 ray_cs: Check ioremap return value
    43f2fe2a6995 power: reset: gemini-poweroff: Fix IRQ check in gemini_poweroff_probe
    da71a1483b6c i40e: respect metadata on XSK Rx to skb
    b2e48cd14110 i40e: don't reserve excessive XDP_PACKET_HEADROOM on XSK Rx to skb
    e8fe653fa7c6 KVM: PPC: Fix vmx/vsx mixup in mmio emulation
    11cb9eba06c8 RDMA/core: Set MR type in ib_reg_user_mr
    11f11ac281f0 ath9k_htc: fix uninit value bugs
    6e669baa3363 drm/amd/pm: return -ENOTSUPP if there is no get_dpm_ultimate_freq function
    19a7eba28479 drm/amd/display: Fix a NULL pointer dereference in amdgpu_dm_connector_add_common_modes()
    9abee5153411 drm/nouveau/acr: Fix undefined behavior in nvkm_acr_hsfw_load_bl()
    47402eaf888e ionic: fix type complaint in ionic_dev_cmd_clean()
    1ba10e5c39d4 drm/edid: Don't clear formats if using deep color
    d99e7feaed4c mtd: rawnand: gpmi: fix controller timings setting
    364b2eee6233 mtd: onenand: Check for error irq
    96ea88eb9ba3 Bluetooth: hci_serdev: call init_rwsem() before p->open()
    b267a8118c2b udmabuf: validate ubuf->pagecount
    56722aa77b3b libbpf: Fix possible NULL pointer dereference when destroying skeleton
    4a9c268a4044 drm/panfrost: Check for error num after setting mask
    5d1114ede5a1 ath10k: fix memory overwrite of the WoWLAN wakeup packet pattern
    fb2be762a49b drm: bridge: adv7511: Fix ADV7535 HPD enablement
    d9d61beb21d7 drm/bridge: nwl-dsi: Fix PM disable depth imbalance in nwl_dsi_probe
    064e7f75325c drm/bridge: Add missing pm_runtime_disable() in __dw_mipi_dsi_probe
    d8db734df6e6 drm/bridge: Fix free wrong object in sii8620_init_rcp_input_dev
    ec3924eab533 drm/meson: osd_afbcd: Add an exit callback to struct meson_afbcd_ops
    a1c665f5b7f9 ARM: configs: multi_v5_defconfig: re-enable CONFIG_V4L_PLATFORM_DRIVERS
    1f24716e3822 ASoC: codecs: wcd934x: Add missing of_node_put() in wcd934x_codec_parse_data
    abefbf602c6a ASoC: msm8916-wcd-analog: Fix error handling in pm8916_wcd_analog_spmi_probe
    90ac679aa6a0 ASoC: atmel: Fix error handling in sam9x5_wm8731_driver_probe
    ec26e3ce3c71 ASoC: atmel: sam9x5_wm8731: use devm_snd_soc_register_card()
    541251b90338 mmc: davinci_mmc: Handle error for clk_enable
    19eb5c7957e6 ASoC: msm8916-wcd-digital: Fix missing clk_disable_unprepare() in msm8916_wcd_digital_probe
    42042c7a3ddb ASoC: imx-es8328: Fix error return code in imx_es8328_probe()
    fe4db4ea2104 ASoC: fsl_spdif: Disable TX clock when stop
    86b6cf989437 ASoC: mxs: Fix error handling in mxs_sgtl5000_probe
    c8c981cfc06d ASoC: dmaengine: do not use a NULL prepare_slave_config() callback
    f452cff02531 ASoC: SOF: Add missing of_node_put() in imx8m_probe
    0d82401d4650 ASoC: rockchip: i2s: Fix missing clk_disable_unprepare() in rockchip_i2s_probe
    7e8b0fd0ebe0 ASoC: rockchip: i2s: Use devm_platform_get_and_ioremap_resource()
    b5664a584ea2 ivtv: fix incorrect device_caps for ivtvfb
    ebd4f1501e0b media: saa7134: fix incorrect use to determine if list is empty
    dd67315994c4 media: saa7134: convert list_for_each to entry variant
    066d9b48f949 video: fbdev: omapfb: Add missing of_node_put() in dvic_probe_of
    20da8404e464 ASoC: fsi: Add check for clk_enable
    db1c00a025c6 ASoC: wm8350: Handle error for wm8350_register_irq
    662ee5ac6b45 ASoC: atmel: Add missing of_node_put() in at91sam9g20ek_audio_probe
    663e7a72871f media: vidtv: Check for null return of vzalloc
    4d68603cc438 media: stk1160: If start stream fails, return buffers with VB2_BUF_STATE_QUEUED
    b02752d75300 m68k: coldfire/device.c: only build for MCF_EDMA when h/w macros are defined
    9ca3635a0af4 arm64: dts: rockchip: Fix SDIO regulator supply properties on rk3399-firefly
    7e6f5786621d ALSA: firewire-lib: fix uninitialized flag for AV/C deferred transaction
    64eee4127c23 memory: emif: check the pointer temp in get_device_details()
    330a9b0d38e6 memory: emif: Add check for setup_interrupts
    4639c1d97f38 ASoC: soc-compress: prevent the potentially use of null pointer
    a6ee60d4a98f ASoC: dwc-i2s: Handle errors for clk_enable
    39bee81e3083 ASoC: atmel_ssc_dai: Handle errors for clk_enable
    dc947d175c17 ASoC: mxs-saif: Handle errors for clk_enable
    a754ea0de369 printk: fix return value of printk.devkmsg __setup handler
    87a265e292f8 arm64: dts: broadcom: Fix sata nodename
    f63122803d66 arm64: dts: ns2: Fix spi-cpol and spi-cpha property
    5d6a0dc6bad4 ALSA: spi: Add check for clk_enable()
    039fae34f8cd ASoC: ti: davinci-i2s: Add check for clk_enable()
    94cb9fe5d86e ASoC: rt5663: check the return value of devm_kzalloc() in rt5663_parse_dp()
    7ce3e6e1036e uaccess: fix nios2 and microblaze get_user_8()
    19894751f657 ASoC: codecs: wcd934x: fix return value of wcd934x_rx_hph_mode_put
    f126dcbe7074 media: cedrus: h264: Fix neighbour info buffer size
    c011ae1665f8 media: cedrus: H265: Fix neighbour info buffer size
    44973633b006 media: usb: go7007: s2250-board: fix leak in probe()
    ec8a37b2d9a7 media: em28xx: initialize refcount before kref_get
    1b46f57d516f media: video/hdmi: handle short reads of hdmi info frame.
    170ad3942b7b ARM: dts: imx: Add missing LVDS decoder on M53Menlo
    2a0eb50d9afd ARM: dts: sun8i: v3s: Move the csi1 block to follow address order
    77406ac6efe4 soc: ti: wkup_m3_ipc: Fix IRQ check in wkup_m3_ipc_probe
    18b2ec361a68 firmware: ti_sci: Fix compilation failure when CONFIG_TI_SCI_PROTOCOL is not defined
    8395a17ef6ba arm64: dts: qcom: sm8150: Correct TCS configuration for apps rsc
    d19248e23fbe arm64: dts: qcom: sdm845: fix microphone bias properties and values
    2042c6fbfb0f soc: qcom: aoss: remove spurious IRQF_ONESHOT flags
    5a990a65d4a3 soc: qcom: ocmem: Fix missing put_device() call in of_get_ocmem
    b5d6eba71997 soc: qcom: rpmpd: Check for null return of devm_kcalloc
    0c11cb8db49a ARM: dts: qcom: ipq4019: fix sleep clock
    22474dfd0c17 firmware: qcom: scm: Remove reassignment to desc following initializer
    bf4bad1114a3 video: fbdev: fbcvt.c: fix printing in fb_cvt_print_name()
    6de6a64f23a6 video: fbdev: atmel_lcdfb: fix an error code in atmel_lcdfb_probe()
    64ec3e678d76 video: fbdev: smscufx: Fix null-ptr-deref in ufx_usb_probe()
    0dff86aeb191 video: fbdev: controlfb: Fix COMPILE_TEST build
    ec1c20b02ae0 video: fbdev: controlfb: Fix set but not used warnings
    f8bf19f7f311 video: fbdev: matroxfb: set maxvram of vbG200eW to the same as vbG200 to avoid black screen
    3187a1d4d5c5 media: aspeed: Correct value for h-total-pixels
    245561612b49 media: hantro: Fix overfill bottom register field name
    032b141a91a8 media: meson: vdec: potential dereference of null pointer
    d3e5106c6768 media: coda: Fix missing put_device() call in coda_get_vdoa_data
    c9f4586d9935 ASoC: generic: simple-card-utils: remove useless assignment
    2c357e027725 ASoC: xilinx: xlnx_formatter_pcm: Handle sysclk setting
    712dd2ac267a media: bttv: fix WARNING regression on tunerless devices
    bc2573abc691 media: mtk-vcodec: potential dereference of null pointer
    8a83731a09a5 media: v4l2-mem2mem: Apply DST_QUEUE_OFF_BASE on MMAP buffers across ioctls
    c76188715dfc media: staging: media: zoran: fix usage of vb2_dma_contig_set_max_seg_size
    f622bd0758bd kunit: make kunit_test_timeout compatible with comment
    9e63bcb71df9 selftests, x86: fix how check_cc.sh is being invoked
    d2c53e77b043 f2fs: fix compressed file start atomic write may cause data corruption
    1c4d94e4f0b1 f2fs: compress: remove unneeded read when rewrite whole cluster
    2c4741d1b0d2 btrfs: fix unexpected error path when reflinking an inline extent
    3ef3bc75cd3e f2fs: fix to avoid potential deadlock
    85cc399b650f nfsd: more robust allocation failure handling in nfsd_file_cache_init
    1a11a873749c f2fs: fix missing free nid in f2fs_handle_failed_inode
    c0cffc1fb38d perf/x86/intel/pt: Fix address filter config for 32-bit kernel
    13c8e37e1faf perf/core: Fix address filter parser for multiple filters
    a9faa5beda6b rseq: Remove broken uapi field layout on 32-bit little endian
    f0250e05e574 rseq: Optimise rseq_get_rseq_cs() and clear_rseq_cs()
    ecc17de4b99a sched/core: Export pelt_thermal_tp
    40732cab515d sched/debug: Remove mpol_get/put and task_lock/unlock from sched_show_numa
    2b5d41bcf28f f2fs: fix to enable ATGC correctly via gc_idle sysfs interface
    9d92be1a09fb watch_queue: Actually free the watch
    5ae75b4ed303 watch_queue: Fix NULL dereference in error cleanup
    509565faed7e io_uring: terminate manual loop iterator loop correctly for non-vecs
    44a77e52bd79 clocksource: acpi_pm: fix return value of __setup handler
    d678f002f0bc hwmon: (pmbus) Add Vin unit off handling
    7ca525b4cc65 hwrng: nomadik - Change clk_disable to clk_disable_unprepare
    e4c777fd8c37 amba: Make the remove callback return void
    1c6ac39763bc vfio: platform: simplify device removal
    c93017c8d5eb crypto: ccree - Fix use after free in cc_cipher_exit()
    78622926fe01 crypto: ccp - ccp_dmaengine_unregister release dma channels
    9eeee6f684e0 ACPI: APEI: fix return value of __setup handlers
    0b45bf165932 clocksource/drivers/timer-of: Check return value of of_iomap in timer_of_base_init()
    b33c753cff6c clocksource/drivers/timer-microchip-pit64b: Use notrace
    db9d00461bdf clocksource/drivers/exynos_mct: Handle DTS with higher number of interrupts
    d4e13c4a6f41 clocksource/drivers/exynos_mct: Refactor resources allocation
    42d331a279d0 clocksource/drivers/timer-ti-dm: Fix regression from errata i940 fix
    aedff03da4a5 crypto: vmx - add missing dependencies
    51939008ca5f crypto: amlogic - call finalize with bh disabled
    24857d87cc74 crypto: sun8i-ce - call finalize with bh disabled
    bf4814d58b1b crypto: sun8i-ss - call finalize with bh disabled
    a4067ccb97e5 hwrng: atmel - disable trng on failure path
    b7940bef6f21 spi: spi-zynqmp-gqspi: Handle error for dma_set_mask
    3928a04bc65a PM: suspend: fix return value of __setup handler
    052a218db0cb PM: hibernate: fix __setup handler error handling
    0b5924a14d64 block: don't delete queue kobject before its children
    40b288a86186 nvme: cleanup __nvme_check_ids
    32c4db2a5296 hwmon: (sch56xx-common) Replace WDOG_ACTIVE with WDOG_HW_RUNNING
    ec8536f7012e hwmon: (pmbus) Add mutex to regulator ops
    18a18594ae69 spi: pxa2xx-pci: Balance reference count for PCI DMA device
    55259cb37415 crypto: ccree - don't attempt 0 len DMA mappings
    d788ad472f83 EVM: fix the evm= __setup handler return value
    a137f93ae581 audit: log AUDIT_TIME_* records only from rules
    5e9501e60b8d crypto: rockchip - ECB does not need IV
    8265bea7d8cd selftests/x86: Add validity check and allow field splitting
    f7d9249af33c arm64/mm: avoid fixmap race condition when create pud mapping
    99a8dfce7c0b spi: tegra114: Add missing IRQ check in tegra_spi_probe
    71dba67138f6 thermal: int340x: Check for NULL after calling kmemdup()
    8e57117142bb crypto: mxs-dcp - Fix scatterlist processing
    ec1d372974ec crypto: authenc - Fix sleep in atomic context in decrypt_tail
    fdfaafeb4bf8 crypto: sun8i-ss - really disable hash on A80
    19693838c82f hwrng: cavium - HW_RANDOM_CAVIUM should depend on ARCH_THUNDER
    bc20294cc8da hwrng: cavium - Check health status while reading random data
    962d1f59d5f7 selinux: check return value of sel_make_avc_files
    1ae9b020ddfc regulator: qcom_smd: fix for_each_child.cocci warnings
    c20975954e96 PCI: xgene: Revert "PCI: xgene: Fix IB window setup"
    0f56f240157d PCI: pciehp: Clear cmd_busy bit in polling mode
    89ddcc81914a drm/i915/gem: add missing boundary check in vm_access
    b84857c06ef9 drm/i915/opregion: check port number bounds for SWSCI display power state
    88975951d4e0 brcmfmac: pcie: Fix crashes due to early IRQs
    1cbcf93a93e5 brcmfmac: pcie: Replace brcmf_pcie_copy_mem_todev with memcpy_toio
    f3820ddaf4f3 brcmfmac: pcie: Release firmwares in the brcmf_pcie_setup error path
    daa07f29027c brcmfmac: firmware: Allocate space for default boardrev in nvram
    1dd031eb9910 xtensa: fix xtensa_wsr always writing 0
    dac518bbcebf xtensa: fix stop_machine_cpuslocked call in patch_text
    20f974dce5df media: davinci: vpif: fix unbalanced runtime PM enable
    7c9b915b9463 media: davinci: vpif: fix unbalanced runtime PM get
    cde90e829190 media: gpio-ir-tx: fix transmit with long spaces on Orange Pi PC
    785ffce44a1f DEC: Limit PMAX memory probing to R3k systems
    8dde2296eca1 bcache: fixup multiple threads crash
    37d2b4fa5cdd crypto: rsa-pkcs1pad - fix buffer overread in pkcs1pad_verify_complete()
    b89fb8b88242 crypto: rsa-pkcs1pad - restore signature length check
    f38c318068ee crypto: rsa-pkcs1pad - correctly get hash from source scatterlist
    c1db3f44f252 crypto: rsa-pkcs1pad - only allow with rsa
    27a6f495b63a exec: Force single empty string when argv is empty
    b02d33171dfb lib/raid6/test: fix multiple definition linking error
    bf057eac9a34 thermal: int340x: Increase bitmap size
    86a926c3f00e pstore: Don't use semaphores in always-atomic-context code
    b26f400e4fe4 carl9170: fix missing bit-wise or operator for tx_params
    3aef4df6e1cc mgag200 fix memmapsl configuration in GCTL6 register
    ef1df9168532 ARM: dts: exynos: add missing HDMI supplies on SMDK5420
    3cde68a1ebbc ARM: dts: exynos: add missing HDMI supplies on SMDK5250
    5ac205c414c5 ARM: dts: exynos: fix UART3 pins configuration in Exynos5250
    7187c9beb702 ARM: dts: at91: sama5d2: Fix PMERRLOC resource size
    2ca2a5552a83 video: fbdev: atari: Atari 2 bpp (STe) palette bugfix
    72af8810922e video: fbdev: sm712fb: Fix crash in smtcfb_read()
    ba09b0417324 drm/edid: check basic audio support on CEA extension block
    ce1927b8cfed block: don't merge across cgroup boundaries if blkcg is enabled
    6e0d24598ca0 block: limit request dispatch loop duration
    958e9b56de7b mailbox: tegra-hsp: Flush whole channel
    f67a1400788f drivers: hamradio: 6pack: fix UAF bug caused by mod_timer()
    b35eb4847182 ext4: fix fs corruption when tring to remove a non-empty directory with IO error
    a1e6884b2d28 ext4: fix ext4_fc_stats trace point
    c119fb65f6ab coredump: Also dump first pages of non-executable ELF libraries
    7ad5ccc3da7a ACPI: properties: Consistently return -ENOENT if there are no more references
    ef3a87e0c4b0 arm64: dts: ti: k3-j7200: Fix gic-v3 compatible regs
    18864e8b837a arm64: dts: ti: k3-j721e: Fix gic-v3 compatible regs
    e85fa9f4e925 arm64: dts: ti: k3-am65: Fix gic-v3 compatible regs
    7ce550a01b83 arm64: signal: nofpsimd: Do not allocate fp/simd context when not available
    210e7b43d4da udp: call udp_encap_enable for v6 sockets when enabling encap
    e1a58498ef91 powerpc/kvm: Fix kvm_use_magic_page
    d72866a7f532 can: isotp: sanitize CAN ID checks in isotp_bind()
    fde8c5cad088 drbd: fix potential silent data corruption
    b101e74f9a72 dm integrity: set journal entry unused when shrinking device
    d5d5804acc16 mm/kmemleak: reset tag when compare object pointer
    bc2f58b8e47c mm,hwpoison: unmap poisoned page before invalidation
    608c501d70bf Revert "mm: madvise: skip unmapped vma holes passed to process_madvise"
    8b354e303260 mm: madvise: return correct bytes advised with process_madvise
    928c06c11408 mm: madvise: skip unmapped vma holes passed to process_madvise
    51f7557c3cb9 ALSA: hda/realtek: Fix audio regression on Mi Notebook Pro 2020
    9017201e8d8c ALSA: pcm: Fix potential AB/BA lock with buffer_mutex and mmap_lock
    7b7a03d8b5f8 ALSA: hda: Avoid unsol event during RPM suspending
    a55e2d74232f ALSA: cs4236: fix an incorrect NULL check on list iterator
    edefc4b2a8e8 cifs: fix NULL ptr dereference in smb2_ioctl_query_info()
    9963ccea6087 cifs: prevent bad output lengths in smb2_ioctl_query_info()
    b75198eddab1 Revert "Input: clear BTN_RIGHT/MIDDLE on buttonpads"
    34bc1f69bf56 riscv: Increase stack size under KASAN
    24b9b8e95ca1 riscv: Fix fill_callchain return value
    0f8c0bd0a4cb qed: validate and restrict untrusted VFs vlan promisc mode
    a3af3d431920 qed: display VF trust config
    aa28075f06b8 scsi: libsas: Fix sas_ata_qc_issue() handling of NCQ NON DATA commands
    4bcefc78c874 mempolicy: mbind_range() set_policy() after vma_merge()
    fa37c1714367 mm: invalidate hwpoison page cache page in fault path
    7188e7c96f39 mm/pages_alloc.c: don't create ZONE_MOVABLE beyond the end of a node
    51dbb5e36d59 jffs2: fix memory leak in jffs2_scan_medium
    607d3aab7349 jffs2: fix memory leak in jffs2_do_mount_fs
    7bb7428dd739 jffs2: fix use-after-free in jffs2_clear_xattr_subsystem
    b417f9c50586 can: ems_usb: ems_usb_start_xmit(): fix double dev_kfree_skb() in error path
    3a21ee89bc22 mtd: rawnand: protect access to rawnand devices while in suspend
    145a63201d00 spi: mxic: Fix the transmit path
    be22ebe79e64 pinctrl: samsung: drop pin banks references on error paths
    b97b305656a7 remoteproc: Fix count check in rproc_coredump_write()
    784630df174f f2fs: fix to do sanity check on .cp_pack_total_block_count
    e58ee6bd939b f2fs: quota: fix loop condition at f2fs_quota_sync()
    ec67040703c8 f2fs: fix to unlock page correctly in error path of is_alive()
    7af164fa2f1a NFSD: prevent integer overflow on 32 bit systems
    65e21cc042f4 NFSD: prevent underflow in nfssvc_decode_writeargs()
    b7b430104a14 SUNRPC: avoid race between mod_timer() and del_timer_sync()
    f51ab2f60a44 HID: intel-ish-hid: Use dma_alloc_coherent for firmware update
    a1df8e60f25a firmware: stratix10-svc: add missing callback parameter on RSU
    e94f5fbe7ab3 Documentation: update stable tree link
    f4bab992ee25 Documentation: add link to stable release candidate tree
    10ee5662d5a6 KEYS: fix length validation in keyctl_pkey_params_get_2()
    5a41a3033a93 ptrace: Check PTRACE_O_SUSPEND_SECCOMP permission on PTRACE_SEIZE
    2775d8e36436 clk: uniphier: Fix fixed-rate initialization
    25cd5872d9a7 greybus: svc: fix an error handling bug in gb_svc_hello()
    9f0cd8117457 iio: inkern: make a best effort on offset calculation
    19e533452fbe iio: inkern: apply consumer scale when no channel scale is available
    e10dbe7f6ac1 iio: inkern: apply consumer scale on IIO_VAL_INT cases
    9f4fffc2ab26 iio: afe: rescale: use s64 for temporary scale calculations
    9cd1b02655c7 coresight: Fix TRCCONFIGR.QE sysfs interface
    7b478cb67b8c mei: avoid iterator usage outside of list_for_each_entry
    ec8975417d71 mei: me: add Alder Lake N device id.
    0a0c61dd071d xhci: fix uninitialized string returned by xhci_decode_ctrl_ctx()
    811f40351949 xhci: make xhci_handshake timeout for xhci_reset() adjustable
    3a820d1ca123 xhci: fix runtime PM imbalance in USB2 resume
    c41387f96a22 xhci: fix garbage USBSTS being logged in some cases
    1e0f089f70db USB: usb-storage: Fix use of bitfields for hardware data in ene_ub6250.c
    39a70732eb52 virtio-blk: Use blk_validate_block_size() to validate block size
    290e05f346d1 tpm: fix reference counting for struct tpm_chip
    fcd3c31dd160 iommu/iova: Improve 32-bit free space estimate
    68c80088f52b locking/lockdep: Avoid potential access of invalid memory in lock_class
    f19d8dfad67b net: dsa: microchip: add spi_device_id tables
    8d3f4ad43054 af_key: add __GFP_ZERO flag for compose_sadb_supported in function pfkey_register
    ef1a6ab36dc3 Input: zinitix - do not report shadow fingers
    21680aabc4d3 spi: Fix erroneous sgs value with min_t()
    8fb7af1b5a83 Revert "gpio: Revert regression in sysfs-gpio (gpiolib.c)"
    18a4417a192f net:mcf8390: Use platform_get_irq() to get the interrupt
    102d7f6c2eff spi: Fix invalid sgs value
    a4f4ce3deedb gpio: Revert regression in sysfs-gpio (gpiolib.c)
    fc9a35627c3d ethernet: sun: Free the coherent when failing in probing
    3c8447192532 tools/virtio: fix virtio_test execution
    6d98dc2369b1 vdpa/mlx5: should verify CTRL_VQ feature exists for MQ
    c97ffb4184f0 virtio_console: break out of buf poll on remove
    0c00d38337ec ARM: mstar: Select HAVE_ARM_ARCH_TIMER
    a7e75e5ed417 xfrm: fix tunnel model fragmentation behavior
    e05ae08ea82f HID: logitech-dj: add new lightspeed receiver id
    ff919a7ad90c netdevice: add the case if dev is NULL
    c4dc584a2d4c hv: utils: add PTP_1588_CLOCK to Kconfig to fix build
    d136a2574a45 USB: serial: simple: add Nokia phone driver
    38e3d48ffebf USB: serial: pl2303: add IBM device IDs
    d4d975e79210 swiotlb: fix info leak with DMA_FROM_DEVICE

(From OE-Core rev: ce4b8288374646563cc885842cf946ce43abf1f4)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f7e9526058bec6eafce8b1f62a1af798a0998bf4)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-12 16:44:05 +01:00
Khem Raj
02d6a8fd27 qemu: Add packageconfig for libbpf support
its in auto mode, which is troublesome particularly on native recipe
where it pokes at build host to find this library if its not in native
sysroot and when build host has libbpf installed it enables it silently
otherwise disables the support. so lets make it deterministic, and if
one needs to enable this feature then enable the packageconfig
intentionally, It was found when trying to solve this QA warning

Skipping RPATH /usr/lib64 as is a standard search path for /mnt/b/yoe/master/build/tmp/work/x86_64-linux/qemu-system-native/6.2.0-
r0/sysroot-destdir/mnt/b/yoe/master/build/tmp/work/x86_64-linux/qemu-system-native/6.2.0-r0/recipe-sysroot-native/usr/bin/qemu-system-x86_64

This is becasue qemu's build system adds the needed flags to -rpath for
the libraries it needs and in this case it has found libbpf.so in
/usr/lib64 on build host.

(From OE-Core rev: 2f97e2d92982b9cffaccdf251c1b6d47de0258c2)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 3d493928b7c98ab11b5d8c50924b1a2c464bf7f5)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-12 16:44:05 +01:00
Robert Joslyn
c0cbd7c572 powerpc: Remove invalid GLIBC_EXTRA_OECONF
OE-core previously carried patches to glibc that added optimized sqrt
implementations for various PowerPC chips. These were recently removed,
which now results in errors when compiling glibc with certian PowerPC
machine tunes:

	checking sysdep dirs... configure: error: The 603e subspecies of powerpc is not supported.

Remove setting GLIBC_EXTRA_OECONF with parameters that are no longer
valid. Also remove a commented out setting of the variable that probably
isn't vaild anyway.

Fixes: 2511e937f445 ("glibc: Drop ppc sqrt optimisations")

(From OE-Core rev: 76ccd9914c47aebf2c4c211abc089d9b8acc6c66)

Signed-off-by: Robert Joslyn <robert.joslyn@redrectangle.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 40f15066c24720aae36713c9856ffb4fae146a45)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-12 16:44:05 +01:00
Portia
d19e723ec2 volatile-binds: Change DefaultDependencies from false to no
The systemd-unit parameter DefaultDependencies changed from true/false
to yes/no. This changed in systemd in v242.

(From OE-Core rev: 371a8e2b0b0a3a2febe1d8d6ce65f258a15f6b1f)

Signed-off-by: Portia Stephens <stephensportia@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit add4dcb03dc7b034253db05f0023cb97cab8b26d)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-12 16:44:05 +01:00
Steve Sakoman
4280a7dd25 scripts/contrib/oe-build-perf-report-email.py: remove obsolete check for phantomjs and optipng
Use of those tools was removed in b5c131006e3fad0a15e6cdf81f71dc1e96647028
perf-build-test/report: Drop phantomjs and html email reports support

(From OE-Core rev: 1063525be9b040ece8636c03ac8bab13952eb561)

Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 33df447affa7a3a360b1da028e6b12fbcd388db6)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-12 16:44:05 +01:00
Chen Qi
4df837b96f go-helloworld: remove unused GO_WORKDIR
The GO_WORKDIR is used only in go-mod.bbclass. As this recipe does
not inherit go-mod.bbclass, this variable is useless here.

This go-helloworld recipe was made to inherit go-mod.bbclass and build
in module-aware mode. However, it was found that we need to build go
recipes in GOPATH mode in order to support offline build. As a result,
this recipe was changed back to only inherit go.bbclass. But the GO_WORKDIR
setting was not cleaned up.

(From OE-Core rev: 2b5c773637317b812f5bfa167a70d858ad5274ad)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 70bc5b6d40f94bde82415fb87db37fdf2606c2fb)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-12 16:44:05 +01:00
Richard Purdie
983c257517 lib/sstatesig: Fix find_siginfo to match sstate filename generation
sstate filename generation was changed a while ago and taskname has to be
passed into core functions for the correct filename to be generated. Update
find_siginfo to match those changes and pass in taskname via SSTATE_CURRTASK.

Thanks to Gregory Lumen <gregorylumen@microsoft.com> for spotting.

[YOCTO #14774]

(From OE-Core rev: 3230134c0e5654afccf4f8831ab1101615502162)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 51d7310b6cf8ef9033d461868c07f686656070ba)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-12 16:44:05 +01:00
Khem Raj
5e0de3463e kmod: Enable xz support by default
RPi kernel has started building compressed kernel modules by default
starting 5.15, currenrly therefore meta-raspberrypi kernels are unable
to load kernel modules since kmod and kmod-native do not entertain xz
compressed modules. There is a fix proposed in meta-raspberrypi [1]
but the fix is needed for native and nativesdk recipes as well, perhaps
its best to enable it here for best out of box experience with
meta-raspberrypi

[1] https://github.com/agherzan/meta-raspberrypi/pull/1056

(From OE-Core rev: 4c8be443515deadaee97ef4ed470a167594e8102)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 20e9917b8d40f576b3661bc29e13602a24e86b7b)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-12 16:44:05 +01:00
Justin Bronder
681ae51e6e pulseaudio: conditionally depend on alsa-plugins-pulseaudio-conf
The alsa-plugins-pulseaudio-conf package is only enabled when
DISTRO_FEATURES contains pulseaudio.

(From OE-Core rev: 1800c06e254d44b6439dee82b7a4f4b678479b62)

Signed-off-by: Justin Bronder <jsbronder@cold-front.org>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 54e9b8f308f28bb2db37f5ea5b85e6a1608c0516)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-12 16:44:05 +01:00
Peter Marko
1c65a77b39 openssl: extract legacy provider module to a separate package
This module contains legacy cipher suites from libcrypto.
We should not need to include base package because we want
  to use this part of libcrypto.

(From OE-Core rev: f44368f58645715f210b46ca3f747d064b872b20)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 1537ebc3f6ae2aec9a3864b03704ab4dbc0e971b)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-12 16:44:05 +01:00
Richard Purdie
0d81d82645 bitbake: fetch/git : Use cat as pager
We don't have less in HOSTTOOLS in OE and this can confuse git. Force the
pager to cat to be consistent and minimal everywhere.

(Bitbake rev: 59c16ae6c55c607c56efd2287537a1b97ba2bf52)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit d3d406e8552fdd865dc58b419a84411736475ad2)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-12 13:41:42 +01:00
Roland Hieber
fe1a4d1240 bitbake: cache: correctly handle file names containing colons
File names containing colons cause split() to return a list with more
than two elements, which will lead to a stack trace ending in:

    ValueError: too many values to unpack (expected 2)

Split only once at the last colon, thereby making sure that only two
elements are returned.

(Bitbake rev: e14ed7dd866334ab40cd335d9c006e5d7b447abd)

Signed-off-by: Roland Hieber <rhi@pengutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit a70a7376a8708bde07959deb5d5842d7f84ee5f8)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-12 13:41:42 +01:00
Richard Purdie
dc41a59eaa bitbake: runqueue: Fix sig file location when using multiconfig
We're using the wrong data store when trying to locate siginfo files,
fix this. Thanks to Gregory Lumen <gregorylumen@microsoft.com> for
spotting.

[YOCTO #14774]

(Bitbake rev: 7eb0ef75fd08b6e4ca1e9dca9c96a7b590e5147b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 0ed800e19a3197f8e622c8d3b630aae384e60aba)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-12 13:41:42 +01:00
Robert Yang
b34c299467 bitbake: fetch2/ssh.py: decode path back for ssh
The path has been encoded by urllib.parse.quote(), so decode it back for ssh.

Fixed when fetch from PREMIRRORS via ssh:
$ bitbake bonnie++ libsigc++-2.0 -cfetch

scp: /path/to/downloads/libsigc%2B%2B-2.10.7.tar.xz: No such file or directory

(Bitbake rev: 3969786a787eea34e096b932d52cd02978aacb8e)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit c1c8fc678eb4783cea3974328a5fa8d1b79f1266)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-12 13:41:42 +01:00
Richard Purdie
b6df0485bc bitbake: fetch2/osc: Add missing parameter
This probably means the osc fetcher isn't being used but fix the missing
parameter.

(Bitbake rev: 73fbb743a2def2037d4053605e77e09d2d8a9fd0)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit a23c201cb6efc5c0abf763c26f905442f0eebb68)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-12 13:41:42 +01:00
Richard Purdie
719b4e733b bitbake: buildinfohelper: Drop unused variables
(Bitbake rev: 97e150550a3807c60cfa685abda8dccafc0a1268)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit d720dfa40620e64a557edef527148d58fcb1d858)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-12 13:41:42 +01:00
Richard Purdie
455c7b4393 bitbake: runqueue: Drop pointless variable assignment
This is set at the start of the loop anyway so it does nothing. Drop
the pointless code.

(Bitbake rev: dcf78788daa177bf5c438f33b3c9f7ced7aea8ab)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit e6a3173c9cdf349ccbd4cf612868f92cce8717c8)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-12 13:41:42 +01:00
Richard Purdie
2de11757c4 bitbake: persist_data: Use a valid exception for missing implementation
(Bitbake rev: 1e5c5efa6fe9175b27b21cd7a5b833bd3af55238)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 7254eb6b3e8ef504ef2274541dcc55f1d42238c6)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-12 13:41:42 +01:00
Richard Purdie
1d847bb2cf bitbake: ui/knotty: Drop pointless pass statement
(Bitbake rev: 00f10fe95393728e94339f3512171ebab96f1900)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 625565087d8c9e7a6a79b0b4f3e5be2d77d5f100)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-12 13:41:42 +01:00
Richard Purdie
5eb655e42b bitbake: siggen: Drop pointless break statement
(Bitbake rev: f9b563dc02535b594975ac0f5dab8e12d11a6ce0)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 42809f6acb79e39042e81d54c28efb92b7481e44)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-12 13:41:42 +01:00
Richard Purdie
08ee5cf2ea bitbake: fetch2/crate: Drop unused import
(Bitbake rev: 43bb92a2728832eeb1a207809e21404c86ff1710)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 879f17ecd5ba09e217cef74f6a51339b145e8ef5)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-12 13:41:42 +01:00
Richard Purdie
98472efbca bitbake: buildinfohelper: Drop unused function
The function has a loop where the variable is never used which I was going
to fix but the entire function never seems to be called so remove it entirely.

(Bitbake rev: d739799a1e68dc2ad0414d4ae7d9e079cedcee3c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 3bcb20f025907f4e88bbe3d14f5638d5f01010cb)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-12 13:41:42 +01:00
Richard Purdie
2c3009eb3a bitbake: msg: Drop unused local variable
(Bitbake rev: 609d50a6ccb6f794a3ba6d73a820927eba68891c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 140929b404ee1e2f5e0e1a3a1d3aa49fb3759ade)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-12 13:41:42 +01:00
Richard Purdie
ba1a9588f0 bitbake: cooker: Drop unused loop
(Bitbake rev: c6df0e68ef52c10be9e8773e660c3bb5c9d1e915)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 1c811ad6f10560e7a7fb6830cf83707551ba04bd)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-12 13:41:42 +01:00
Richard Purdie
91cca6ad72 bitbake: ui/buildinfohelper: Drop unused import
(Bitbake rev: bf221631e4b591c80aadd26c2328586b6a4c9eac)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit aca0ff85109f4b0f3c201c02c3f59cad7ee2e787)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-12 13:41:42 +01:00
Richard Purdie
e62e1284a0 bitbake: server/process: Drop unused import
(Bitbake rev: 65413c1cecc7e667b04d73b95de9159c688f7ce3)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 543315e6463f15ca7ab2b4ef3e8ed41bb4207ccf)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-12 13:41:42 +01:00
Richard Purdie
6cb50fc2a1 bitbake: tests/parse: Fix one test overwriting another
Fix an issue where two tests have the same name with one overwriting the
other.

(Bitbake rev: 38842a8150f44f5d31d9bd2b0b6ec0502acc971d)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit da812d938fd79e2cc7bdf355ccf5b0f9ead684c4)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-12 13:41:42 +01:00
Matt Madison
a550f8333f bitbake: providers: use local variable for packages_dynamic pattern
During parsing, Python raises

   RuntimeError: dictionary changed size during iteration

in getRuntimeProviders, if you happen to have a recipe
with an explicit RDEPENDS on a dynamic package containing a '+'
character, such as 'gtk+3-locale-en'.

This is because we're using the modified pattern as the
key into the packages_dynamic dict to append to rproviders,
and since that key doesn't exist, the dict is getting modified
to add a new, empty, entry for it. So even without the runtime
error, we'd be generating an incorrect result.

Fix this by using a local variable for modifying the pattern
and using the original key to retrieve the value on a match.

(Bitbake rev: 69d3b86449be23b07f794e302f6e18f3a2c46424)

Signed-off-by: Matt Madison <matt@madison.systems>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 07de375c3e57f17ab7b47569186f24ecd9896825)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-12 13:41:42 +01:00
Alexander Kanavin
d84c73d1ef libxml2: update patch status
(From OE-Core rev: 87d7383989a1ef6deaeff85739e622d8175ae9b6)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 2e21e1e5e2659b02a771ce986fc3194deeda9f4d)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-04 13:07:34 +01:00
Richard Purdie
5077019ae1 staging: Ensure we filter out ourselves
Adding a dependency on ourselves in this function doesn't make sense, the hash
may change after hash equivalence is applied. Other code using BB_TASKDEPDATA does
handle the self reference correctly (which is there for a reason), update this
code to do likewise.

(From OE-Core rev: a1eba0f2d36f3bb03323a65c66dd2a83c5dd2c05)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit d98b06c9c6f480de1e5167bfe8392e39300fc02c)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-04 13:07:34 +01:00
Khem Raj
dfe1dd65e3 util-linux: Create u-a symlink for findfs utility
busybox also installs findfs but into base_sbindir which works out to be
ok when sbindir != base_sbindir but with usrmerge distro feature enabled
this starts to cause trouble because busybox's postinst is trying to
create a symlink for findfs applet in base_sbindir which is same as
sbindir now and there already is binary from util-linux and image fails
to build

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

The real reason is burried in do_rootfs logs

update-alternatives: Error: not linking /mnt/b/yoe/master/build/tmp/work/beaglebone-yoe-linux-gnueabi/yoe-sdk-image/1.0-r0/rootfs/usr/sbin/findfs to /usr/bin/busybox.suid since /mnt/b/yoe/master/build/tmp/work/beaglebone-yoe-linux-gnueabi/yoe-sdk-image/1.0-r0/rootfs/usr/sbin/findfs exists and is not a link

Creating proper u-a for findfs in util-linux fixes the issue

(From OE-Core rev: 04e03fa3acde7a23825fb9a17de98f1cecaae097)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 211ae2db1ab8fec1ed678170f9d8cbca2cc27ef3)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-04 13:07:34 +01:00
Nicolas Dechesne
646a590310 sanity: skip make 4.2.1 warning for debian
This is a follow up patch of:
ad5829aa1f8a (sanity: Show a warning that make 4.2.1 is buggy on non-ubuntu systems)

Debian10 has the exact same version/sources for make as Ubuntu
(focal), e.g. https://packages.debian.org/source/buster/make-dfsg and
https://packages.ubuntu.com/source/focal/make-dfsg.

As per the corresponding changelog, the patch mentioned in
ad5829aa1f8a, is included in both Debian and Ubuntu in make
4.2.1-1.1. So it's safe to use make 4.2.1 in Debian10.

(From OE-Core rev: 3744d06135a76d0170141dc02ead3704a089a427)

Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 1d5d5278ff4f620cd786b85e880e8429a04a1548)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-04 13:07:34 +01:00
Rahul Kumar
6644b3e9b6 neard: Switch SRC_URI to git repo
The tarball (neard-0.16.tar.xz) fetched by the recipe is incomplete.
Few plugins (e.g. tizen) and tests scripts (e.g. Test-channel, test-see,
neard-ui.py, ndef-agent etc) are missing.

Since neard did not release latest tarballs, so as per community
recommendation switching the recipe SRC_URI to git repo.

Community Discussion:
https://lists.openembedded.org/g/openembedded-core/topic/90058043#163681

(From OE-Core rev: ed3fafcb99c1d9f06c8cac65524aedbc52c6c199)

Signed-off-by: Rahul Kumar <rahul.kumar_3@philips.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit b563f40ebf4461d9c35df72bd7599ea11e97da9c)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-04 13:07:34 +01:00
Ross Burton
d4a5862ce8 bitbake.conf: mark all directories as safe for git to read
Recent git releases containing [1] have an ownership check when opening
repositories, and refuse to open a repository if it is owned by a
different user.

This breaks any use of git in do_install, as that is executed by the
(fake) root user. Whilst not common, this does happen.

Setting the git configuration safe.directories=* disables this check, so
that git is usable in fakeroot tasks.  This can be set globally via the
internal environment variable GIT_CONFIG_PARAMETERS, we can't use
GIT_CONFIG_*_KEY/VALUE as that isn't present in all the releases which
have the ownership check.

We already set GIT_CEILING_DIRECTORIES to ensure that git doesn't
recurse up out of the work directory, so this isn't a security issue.

[1] 8959555cee

(From OE-Core rev: 204cc2fdd75631ab0a84a3a090f5cd7dcfc13856)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 8bed8e6993e7297bdcd68940aa0d47ef47120117)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-04 13:07:34 +01:00
Richard Purdie
5984100237 base: Drop git intercept
We're going to use the environment approach for solving this issue.

(From OE-Core rev: 1b807a0ad9cf5acdbe7fce588544f7eb8cbbd80d)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 0982977dc052ad4e65608f6853f930121d08837a)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-04 13:07:34 +01:00
Paul Gortmaker
f6eb720890 install/devshell: Introduce git intercept script due to fakeroot issues
In a devshell, recent versions of git will complain if the repo is owned
by someone other than the current UID - consider this example:

 ------
  bitbake -c devshell linux-yocto

  [...]

  kernel-source#git branch
  fatal: unsafe repository ('/home/paul/poky/build-qemuarm64/tmp/work-shared/qemuarm64/kernel-source' is owned by someone else)
  To add an exception for this directory, call:

        git config --global --add safe.directory /home/paul/poky/build-qemuarm64/tmp/work-shared/qemuarm64/kernel-source
  kernel-source#
 ------

Of course the devshell has UID zero and the "real" UID is for "paul" in
this case.  And so recent git versions complain.

As the whole purpose of the devshell is to invoke a shell where development
can take place, having a non-functional git is clearly unacceptable.

Richard suggested we could use PSEUDO_UNLOAD=1 to evade this issue, and I
suggested we probably will see other similar instances like this and should
make use of PATH to intercept via devshell wrappers - conveniently we already
have examples of this.

Here, we copy the existing "ar" example and tune it to the needs of git to
combine Richard's suggestion and mine.

As such we now also can store commit logs and use send-email with our user
specific settings, instead of "root", so in additon to fixing basic
commands like "git branch" it should also increase general usefulness.

RP: Tweaked the patch so the PATH change only applies to the devshell task
and is a generic git intercept rather than devshell specific.

RP: Also apply the PATH change to do_install tasks since that also runs under
fakeroot and several software projects inject "git describe" output into
their binaries (systemd, iputils, llvm, ipt-gpu-tools at least) causing
reproducibility issues from systems with different git versions.

(From OE-Core rev: 3a320c1555bf39b2d3c218ffc36827d9dda60fe1)

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 3266c327dfa186791e0f1e2ad63c6f5d39714814)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-04 13:07:34 +01:00
Chen Qi
5c91954b7d go.bbclass: disable the use of the default configuration file
We need to disable the use the default configuration file. This is
to ensure that user settings do not mess things up when building go
recipes.

For example, if I set 'GOBIN=./relative/path' in $HOME/.config/go/env,
then go-runtime fails to build with error like below:

  cannot install, GOBIN must be an absolute path

According to `go help environment',
"""
Setting GOENV=off in the environment disables the use of the default
configuration file.
"""

We can explicitly disable the configuration file by setting GOENV to off.

(From OE-Core rev: 00f794aeaaa660851f3a8464ee89c553195dd3dd)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 711b41744ab08ee62c71cdccca335a7828ec0ba1)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-04 13:07:34 +01:00
Davide Gardenal
04ab58c85d create-spdx: delete virtual/kernel dependency to fix FreeRTOS build
When building FreeRTOS this dependency generates an error because
bitbake cannot find any provider for "virtual/kernel".
>From a dependency analysis the task is executed independently from
this so it can be safely removed.

This patch has been discussed in this ML thread:
https://lists.openembedded.org/g/openembedded-core/topic/90602531

(From OE-Core rev: ec31ce4751e45e98730165d64eb74fc98eab8c85)

Signed-off-by: Davide Gardenal <davide.gardenal@huawei.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 1c02b768a71ec88bfe1cc0c4443683de8b66056e)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-04 13:07:34 +01:00
Chen Qi
b11e684951 cases/buildepoxy.py: fix typo
(From OE-Core rev: ca92de4c2181cb4b93f0adfe7c2fde759f295cb7)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 3a9b6e71d1e7e8e2ebc0ed047841e36f09300387)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-04 13:07:34 +01:00
Peter Kjellerstedt
7f91e5a7d8 devshell.bbclass: Allow devshell & pydevshell to use the network
Otherwise it will fail if using OE_TERMINAL = "xterm" with the not so
helpful error:

  xterm: Xt error: Can't open display: localhost:0.0

(From OE-Core rev: 147d4cc12cd0ac2680bffa4112cef2d2447d34e1)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit ba53fc3bcecfe32401471dc1008c7ead96504150)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-04 13:07:33 +01:00
Peter Kjellerstedt
f8a450a39d terminal.py: Restore error output from Terminal
In bitbake commit 1ecc1d94 (process: Do not mix stderr with stdout),
bb.process.Popen() was changed to no longer combine stdout and stderr by
default. However, the Terminal class was not updated to reflect this and
subsequently only output stdout in case of failures.

(From OE-Core rev: f8f8e2e159a5ac03f619e6d0882011445e6a2545)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 116d0bb07ba044cf8847bf3d5c3996ad7e58b7ae)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-04 13:07:33 +01:00
Naveen Saini
c99977a517 gstreamer1.0-plugins-bad: drop patch
With latest gstreamer version pkg-config able to find header
path with msdk enabled.

Drop this patch as its not require anymore.

(From OE-Core rev: aaea86534127b1c78d78ffe3a98bacec63d2d8a2)

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit eaa3b31247b4d3cc47428f4d80ae31f232e344d4)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-04 13:07:33 +01:00
Carlos Rafael Giani
ce24cf8f2c gstreamer1.0: Minor documentation addition
This clears up some confusing packageconfigs.

(From OE-Core rev: a7163c07186ab98b903bf11104e5c8a3baeba6d3)

Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit b5b682f80fba4a62cb1ff7050c97f5b1e204d5a9)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-04 13:07:33 +01:00
Carlos Rafael Giani
42b8797084 gstreamer1.0-plugins-good: Fix libsoup dependency
(From OE-Core rev: 5820e01f5b1f9ac5f1a803820258e92e7214ad31)

Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 7f66a3123c9ce77e9af538009fc51bf190703433)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-04 13:07:33 +01:00
Khem Raj
47f2e75837 busybox: Use base_bindir instead of hardcoding /bin path
This symlink is not valid when using usrmerge and ptest packaging would fail

Exception: FileExistsError: [Errno 17] File exists: '/usr/bin/busybox.suid' -> '/mnt/b/yoe/master/build/tmp/work/ppc64p9le-yoe-linux-musl/busybox/1.35.0-r0/package/usr/lib/busybox/ptest/bin/login'

(From OE-Core rev: 592464cb64a8eedf2ee1537934ba714059c2e0ce)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 238fd30689054c7b44176dce7180fb6dac4e1b6f)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-04 13:07:33 +01:00
Khem Raj
4c098bd8ae qemu.bbclass: Extend ppc/ppc64 extra options
Some recipes are marked machine specific which need qemu usermode during
build eg. if they use meson build system, which means they wont get
right -cpu settings to run qemu-ppc/qemu-ppc64 and build fails, this
ensures that we set the right options when PACKAGE_ARCH is set to
MACHINE_ARCH on ppc/ppc64 qemu

(From OE-Core rev: 05caadbfb940e236dcdc41620cf20de5809e8f40)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 9f71bbe65a458f08cd8ede6522c8b988603202a0)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-04 13:07:33 +01:00
Khem Raj
50d24a763f libc-glibc: Use libxcrypt to provide virtual/crypt
Fixes
NOTE: Multiple providers are available for virtual/crypt (libxcrypt, musl)
Consider defining a PREFERRED_PROVIDER entry to match virtual/crypt

(From OE-Core rev: bdccfa48f2dc58d716bd2ddd9c6279584fd6515b)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 4417dbf6fcb1f067705c8bd2220f4093ba899cc1)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-04 13:07:33 +01:00
Henning Schild
c5ca6110ce wic: do not use PARTLABEL for msdos partition tables
When using "msdos" partition tables and "--label" but not "--use-uuid"
one can generate images which will not find their root, because
PARTLABEL does not work for "msdos".

Fix that by simply not going the PARTLABEL path in case of "msdos".

Fixes: 2fb247c5ecf0 ("wic: support rootdev identified by partition label")
(From OE-Core rev: 354ef6b723f50b5f0b46a2bf5797e5b982c6ea73)

Signed-off-by: Henning Schild <henning.schild@siemens.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 9ea1a838b946020e026edc032039552b723fcaa4)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-04 13:07:33 +01:00
Khem Raj
25a6012a1e gcompat: Fix build when usrmerge distro feature is enabled
(From OE-Core rev: 34a710cc8ebb18bb8443d635e06fefb7f6a003c2)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit b1154d5fe7e75bb46132165b13ed76ce95413b25)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-04 13:07:33 +01:00
Khem Raj
6b96b3c0cc musl: Fix build when usrmerge distro feature is enabled
(From OE-Core rev: 8a9f1d5a11b01de3145b16c19d98c3f030473326)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 02fd8e760cac1d2e0e25a4e3dbea3f2844b9fd01)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-04 13:07:33 +01:00
Dmitry Baryshkov
6107518b42 arch-armv8-2a.inc: fix a typo in TUNEVALID variable
Fix a typo in the TUNEVALID[armv8-2a]: It enables instructions for
ARMv8.2-a, not just ARMv8-a.

(From OE-Core rev: 92e52e0bb7497a701a0a26305a1a1bed0f4a60ce)

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
(cherry picked from commit 0a4404c117ef8733713962767c1d2c9f87c2c990)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-04 13:07:33 +01:00
Dmitry Baryshkov
9a06759aef linux-firmware: correct license for ar3k firmware
According to the WHENCE file, some a3k firmware files are licensed
under the special ar3k license, while others are licensed under the more
generic Atheros license. Document this by adding extending the
LICENSE:${PN}-ar3k and depending on both of them.

(From OE-Core rev: eff0cd8854f18b9ead2aaf7850d33d300cff2960)

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
(cherry picked from commit 8e651814af706285d64b532095fcd6f5f02629ba)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-04 13:07:33 +01:00
Russ Dill
6adc3aa634 kernel-yocto.bbclass: Fixup do_kernel_configcheck usage of KMETA
The do_kernel_configcheck task requires a meta directory, normally
set by ${KMETA}. The meta directory is taken as a relative path
from ${S}:

        outfile = "{}/{}/cfg/mismatch.txt".format( s, kmeta )

However, when checking for the presence of ${KMETA} the current
working directory is searched. This will almost always fail and
"kgit --meta" is used instead. If the user does have a path in
their current working directory that matches the ${KMETA}
variable but the path is not present within the kernel source
directory, the build will fail if it tries to write config errors/
warnings to that path.

If ${KMETA} is not set, the same problem exists with the hard-coded
"meta" directory.

Fix these issues by checking for ${KMETA} within ${S} rather than
the current working directory. Additionally, drop the hardcoded
backup directory "meta" as it hasn't been functioning and
probably has no users

(From OE-Core rev: c322272a51d923cda9b0e5e388e32b7dd3a6bd22)

Signed-off-by: Russ Dill <russ.dill@nikolamotor.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
(cherry picked from commit f4a3e80a4a6f4f709d09940dcaf45b2b00654496)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-04 13:07:33 +01:00
Russ Dill
ef36e735ae package.bbclass: Prevent perform_packagecopy from removing /sysroot-only
The files in /sysroot-only are intended to make it into the
recipes sysroot output, but not into the package. However, if
do_package is run before do_populate_sysroot, the files are
removed.

Use a smaller hammer to avoid copying the files into the package so
they are still around when do_populate_sysroot runs.

(From OE-Core rev: acc0a31305cb1f799e8a6b3ea2d2c5ac5a9f67ee)

Signed-off-by: Russ Dill <russ.dill@nikolamotor.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
(cherry picked from commit 493145c6f1bc92ab2b7a23e181641b09df87c9ff)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-04 13:07:33 +01:00
Khem Raj
80adcbf1f4 seatd: Disable overflow warning as error on ppc64/musl
Disabling the warning is easier fix then trying to fix it
in musl which results in ABI breakage and disabling the Werror
gets us along by doing minimal change, also see [1]

[1] https://todo.sr.ht/~kennylevinsen/seatd/10

(From OE-Core rev: d97c8462b364946ac3172fc09a2398e8246a20b2)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 381cf11b994d2bf40ac8781e18b5eac17b3b6cb0)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-04 13:07:33 +01:00
Pgowda
da4096dfb9 glibc: ptest: Fix glibc-tests package issue
Run glibc-tests only when its enabled in the DISTRO_FEATURES.

(From OE-Core rev: 2447c5abd7629af24bab5fccec8669f9ca676873)

Signed-off-by: pgowda <pgowda.cve@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 5555e7cf935b047a3dc3228d26bf0fd52eb425e5)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-04 13:07:33 +01:00
Alexander Kanavin
bdbca4b3af glib: upgrade 2.72.0 -> 2.72.1
Bug fix release

Overview of changes in GLib 2.72.1

Fix building projects which use g_warning_once() with clang++ (#2625)
Fix g_file_trash() not deleting directories via the portals backend (work by Matthias Clasen) (#2629)
A number more compiler warnings fixed for MSVC (work by Loïc Le Page) (!2495)
Fix detection of broken poll() function on macOS (work by Haruka Ma) (!2571)
Fix spawning subprocesses from GUI programs on Windows (work by Marc-André Lureau) (!2582)

Bugs fixed:

2312 gdbus-test-codegen tests leak GWeakRef objects
2625 g_warning_once fails to build with clang++
2629 g_file_trash() does not work on directories inside a sandbox
2495 Cleanup warnings split 6
2499 Various contenttype-related test fixes on win32
2534 gpowerprofilemonitor: Tweak wording of documentation to make more sense
2540 Various win32 tests skip & fixes
2541 meson: simplify lookup of python command
2543 ci: Update the Fedora CI image to Fedora 34
2556 gdbusconnection: Use g_strv_contains() rather than a home-grown version
2557 gdbusmethodinvocation: Fix a leak on an early return path
2558 Move unit test on g_basename() function to glib/tests/fileutils.c
2559 Move tests/relation-test.c to glib/tests/relation.c
2560 ci: Update Coverity, mingw and Android CI images to Fedora 34
2563 glib: Format GDateTime ISO8601 years as %C%y
2564 Move test files on slices from tests/ to glib/tests/
2566 tests: Add more tests for GResolver response parsing
2573 Backport translation fixes and !2571 “meson: Set BROKEN_POLL in macOS builds” to glib-2-72
2574 Backport !2565 “Revert "meson: simplify lookup of python command"” to glib-2-72
2587 Backport !2583 “Fix trashing sandboxed directories” to glib-2-72
2588 Backport !2582 “glib/win32: fix spawn from GUI regression” to glib-2-72
2590 Backport !2589 “tests: Don’t exit gdbus-method-invocation test early on connection close” to glib-2-72
2593 Backport !2578 “gatomic: Add a C++ variant of g_atomic_int_compare_and_exchange()” to glib-2-72

Translation updates:

Bulgarian
Catalan
Indonesian
Italian
Lithuanian
Polish
Portuguese
Russian
Slovenian
Swedish
Turkish
Ukrainian

(From OE-Core rev: d8222529a1caa2703ed296d8a8274983e738cefc)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit e167060bfb105799e0931c06a6aa1275163bf261)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-04 13:07:33 +01:00
Ross Burton
275c29d930 subversion: upgrade to 1.14.2
This release is primarily to fix two CVEs:
- CVE-2021-28544
- CVE-2022-24070

It also rewrites the macOS autoconf macros to be cross-compile friendly,
so we don't need to delete them anymore.

(From OE-Core rev: 76a74a8f22021e60326c001ccdd9b6ca200cd28e)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit ecfbc2ef45a76ab96d215954ca0a109545e6ff02)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-04 13:07:33 +01:00
wangmy
a869054e4e apt: upgrade 2.4.4 -> 2.4.5
apt (2.4.5) release notes:

  * Only protect two kernels, not last installed one (LP: #1968154)
  * Fix segfault in CacheSetHelperAPTGet::tryVirtualPackage()

(From OE-Core rev: 76f4471a26bf457d1f0816b2b5ba92d0d6474e14)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 6a6462fd0ab140b554f4bda260e26b938cd44dc2)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-04 13:07:33 +01:00
Ross Burton
498bbee789 cve_check: skip remote patches that haven't been fetched when searching for CVE tags
If a remote patch is compressed we need to have run the unpack task for
the file to exist locally.  Currently cve_check only depends on fetch so
instead of erroring out, emit a warning that this file won't be scanned
for CVE references.

Typically, remote compressed patches won't contain our custom tags, so
this is unlikely to be an issue.

(From OE-Core rev: b52a508bd7693c40e6416db9c9076a8789499501)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit cefc8741438c91f74264da6b59dece2e31f9e5a5)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-04 13:07:31 +01:00
Ross Burton
ed9500ddb6 python3: ignore CVE-2015-20107
CVE-2015-20107 describes an arbitrary command execution in the mailcap
module, but this is by design in mailcap and needs to be worked around
by the calling application.

Upstream Python will be documenting this flaw in the library reference,
and it is likely that the mailcap module will be deprecated and removed
in the future.

(From OE-Core rev: f525745af38b0e5ea26693849cd4f19c627efd46)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 85fac8408baf92d8b71946f5bfea92952b7eab01)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-04 13:07:31 +01:00
Ross Burton
881a9d82e7 e2fsprogs: fix CVE-2022-1304
Backport a submitted patch to fix CVE-2022-1304.

(From OE-Core rev: 6b31ebb379369cfd9448f64fca6a664b72a7f4fa)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 31fd4ca6fa85ed1e62faf37e6d7bed5b558cb309)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-04 13:07:31 +01:00
Michael Opdenacker
27de52e402 migration-guides: release-notes-4.0: mention LTS release
(From yocto-docs rev: 4ec9df3336a425719a9a35532504731ce56984ca)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-29 19:10:10 +01:00
Nicolas Dechesne
c77f0ce695 migration-guides: stop including documents with ".. include"
This prevented variables from being substituted through the
code in yocto-vars.py, at least in the files included this way.

Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
(From yocto-docs rev: ac4e4b167964dd4548fb3d90cf9c63580a70b6e3)

Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-29 19:10:10 +01:00
zhengruoqin
4ec7cb8202 ruby: upgrade 3.1.1 -> 3.1.2
Ruby 3.1.2 has been released.

This release includes security fixes.

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

(From OE-Core rev: ca1c990df62f1b3d53b2114a387f192efe7e38e8)

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 1306c732a39070e12306b0b7a393e2a482c8b326)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-28 17:07:18 +01:00
zhengruoqin
ec5dc1ca0e git: upgrade 2.35.2 -> 2.35.3
Bug fix release:

0f85c4a30b setup: opt-out of check with safe.directory=*
bb50ec3cc3 setup: fix safe.directory key not being checked
e47363e5a8 t0033: add tests for safe.directory

(From OE-Core rev: c3b96e04e91eb9e28bcfe1c84e159193a82d302c)

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 457b5d4dad3e6fa77e80bed66666c36caa452380)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-28 17:07:18 +01:00
wangmy
1d045cfddf libgit2: upgrade 1.4.2 -> 1.4.3
Changelog:
=========
Validate repository directory ownership (v1.4)
midx: Fix an undefined behavior (left-shift signed overflow)
fetch: support OID refspec without dst
Fix crash when regenerating a patch with unquoted spaces in filename

(From OE-Core rev: e6541bd09289abc87b7e81716bea774c80285bc0)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit bef09c61ee32df214fb8cf6000e0314ff3a38156)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-28 17:07:18 +01:00
wangmy
d1804e004e libusb1: upgrade 1.0.25 -> 1.0.26
Changelog:
==========
* Fix regression with transfer free's after closing device
* Fix regression with destroyed context if API is misused
* Workaround for applications using missing default context
* Fix hotplog enumeration regression
* Fix Windows isochronous transfer regression since 1.0.24
* Fix macOS exit crash in some multi-context cases
* Build fixes for various platforms and configurations
* Fix Windows HID multi-interface product string retrieval
* Update isochronous OUT packet actual lengths on Windows
* Add interface bound checking for broken devices
* Add umockdev tests on Linux

(From OE-Core rev: 0c5828713ad1716d2032986f4156cfbc83a53674)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 7353489980600af07d0771654da6a8a3b0df7572)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-28 17:07:18 +01:00
wangmy
1c35936495 apt: upgrade 2.4.3 -> 2.4.4
apt (2.4.4)

  * Recognize Static-Built-Using and order it below Built-Using
    (Closes: #1008759)

(From OE-Core rev: aa269a4f9808d1feadad926a2926165a5b6ed84e)

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 c63741294c6322e6657f485034e434aab9fe2d8d)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-28 17:07:18 +01:00
wangmy
7eada90a66 libsoup: upgrade 3.0.5 -> 3.0.6
Changelog:
=========
* Misc HTTP/2 fixes
* Add PUT/POST support to examples/get
* Add `--user-agent` option to examples/get
* Misc meson improvements
* Fix build with Visual Studio

(From OE-Core rev: 11beef012a0c7605b5ede04b9135692a993e0038)

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 0ee1c748af7520f50275b8dfb32f41de7f5e14c7)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-28 17:07:18 +01:00
zhengruoqin
dac7a15058 wireless-regdb: upgrade 2022.02.18 -> 2022.04.08
(From OE-Core rev: d5f538c1f2faa943cf97647197aac62cc8863d02)

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit c6ea7450a919f2b571746e7af350c1362e41f8e1)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-28 17:07:18 +01:00
wangmy
e4b14a8335 linux-firmware: upgrade 20220310 -> 20220411
License-Update:
    Version of driver files updated
    Added files for some drivers

(From OE-Core rev: 332dcf0fbce5d851e4d75216ed204ba6b7bd6a21)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 01684df3a51be476081ee21eb54c24fef00acb3f)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-28 17:07:18 +01:00
Kai Kang
09d2ca20cb update_udev_hwdb: fix multilib issue with systemd
It duplicates udevadm in systemd recipe to make it could run
update_udev_hwdb with multilib enabled. Since systemd last update,
it deploys a shared library libsystemd-shared-250.so in /lib/systemd/.
The library will be overwritten when multilib enabled. Then if both
udev-hwdb and lib32-udev-hwdb are installed, it fails to run the
multilib version postinstall intercept update_udev_hwdb:

| /path/to/build/tmp-glibc/work/intel_x86_64-wrs-linux/wrlinux-image-small/1.0-r1/rootfs/usr/libexec/lib32-udevadm:
    error while loading shared libraries: libsystemd-shared-250.so: wrong ELF class: ELFCLASS64

`udevadm hwdb --update` just concatenates .hwdb files in dirs
/etc/udev/hwdb.d and /lib/udev/hwdb.d. The output file hwdb.bin is
identical with the one created by lib32-udevadm. So do NOT duplicate
lib32-udevadm in systemd and eudev. And update intercept script
update_udev_hwdb that re-run udevadm with same arch qemuwrapper if run
${binprefix}qemuwrapper failed.

(From OE-Core rev: 74fe1b5af064f644a7d555b61527bb7d02cc30b8)

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 3dba872a42c2be7d0865a30118984ab013850292)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-28 17:07:18 +01:00
Peter Kjellerstedt
9c2e7b1261 u-boot: Inherit pkgconfig
pkg-config is used by the Makefiles, and thus pkgconfig needs to be
inherited.

(From OE-Core rev: 91bfc749de1530065d2cd8ecb4c8d16c458ade56)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 6148ac9bc5d3e0d0ffdbbd6695acd96ca1836b78)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-28 17:07:18 +01:00
Peter Kjellerstedt
fe61e4ff27 u-boot: Correct the SRC_URI
This avoids a redirect.

(From OE-Core rev: 4e4c668960414818b312d689d203897edd556a6f)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 879bc5098943cf6977c32555ac31cb21be7b46ae)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-28 17:07:18 +01:00
Davide Gardenal
69d0235bb2 create-spdx: fix error when symlink cannot be created
If IMAGE_NAME and IMAGE_LINK_NAME are the same an
exception is raised in image_combine_spdx because
it cannot create a symlink with the same exact
path of the original file. In that case there is
no point in creating a link in the first place.

Refactor image_combine_spdx to avoid code duplication

(From OE-Core rev: dfb49be6b586e3901a4398b46c914d80dcdd029b)

Signed-off-by: Davide Gardenal <davide.gardenal@huawei.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 88f76bba705007a7fcda506c79f743060d8f2e52)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-28 17:07:18 +01:00
Alexander Kanavin
65fd03e480 webkitgtk: adjust patch status
(From OE-Core rev: 1b2b4d426a65b0b79589f07fd1c01326baed9572)

Signed-off-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 e43558d5357aadf08521e7fb6170ad0bfd69f3f3)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-28 17:07:18 +01:00
Konrad Weihmann
8c3071e5cb ncurses: use COPYING file
which has the same info as the in-file header used in before

(From OE-Core rev: 845be07aef7f9f8e6cf16760402327fba404cfc6)

Signed-off-by: Konrad Weihmann <kweihmann@outlook.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 8618589c10f85b7a92de01d93180751a804837ea)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-28 17:07:18 +01:00
Konrad Weihmann
0f16595276 git: correct license
by default git pulls in several code fragments not being licensed
under just GPL-2.0-only.

obstack and poll are licensed under GPL-2.0-or-later
reftable being BSD-3-Clause
sha1dc and inet_ntop being MIT
netmalloc being Bosst-1.0 aka BSL-1.0
regex being LGPL-2.1-or-later

(From OE-Core rev: d12513f066baca13a5be0c00792b1bd7d8b07c17)

Signed-off-by: Konrad Weihmann <kweihmann@outlook.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 5184e651651ed949d198882a10f406cef5939b7b)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-28 17:07:18 +01:00
Ferry Toth
c1c6132078 package_manager: fix missing dependency on gnupg when signing deb package feeds
When signing the deb package feed gpg tools are a soft requirement. If gnupg-native
is not declared a dependancy the version from hosttools is used. Unfortunately the
gpg-agent version from Ubuntu 16.04 on the autobuilders is incompatible with the package_index task
and fails during oe-selftest. Fix by making gnupg-native a dependency.

Fixes: 0b4231b5 "package_manager: sign DEB package feeds"
Reported-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Suggested-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(From OE-Core rev: 74725c9f7e7ed4172781891001e85b64bfb206b8)

Signed-off-by: Ferry Toth <ftoth@exalondelft.nl>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit c063b658e30a24be9214abc23cd2a16c0260e93e)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-28 17:07:18 +01:00
Ferry Toth
15d0cc7db5 apt: add apt selftest to test signed package feeds
Since Gatesgarth apt (1.8.2) has become more strict and doesn’t allow unsigned repositories by default.
Currently when building images this requirement is worked around by using [allow-insecure=yes] and
equivalently when performing selftest.

Patches "gpg-sign: Add parameters to gpg signature function" and "package_manager: sign DEB package feeds"
enable signed DEB package feeds. This patch adds a runtime test for apt derived from the test_testimage_dnf
test. It creates a signed deb package feed, runs a qemu image to install the key and performs some package
management. To be able to install the key the gnupg package is added to the testimage.

(From OE-Core rev: 10fd76e6dfd97b57a9e2f592677c7e47b622e6b5)

Signed-off-by: Ferry Toth <ftoth@exalondelft.nl>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 3ec30490d09d6639eea2638cf12a323948f221cc)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-28 17:07:18 +01:00
Khem Raj
3bc9b46bd9 mdadm: Drop clang specific cflags
This option is no longer needed

(From OE-Core rev: f6ad22d94fa14d15a6229a6977354b19bebdbb3d)

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 8d7130937ea4e47f0fa4d23c1c8394e3ca3f939b)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-28 17:07:18 +01:00
Khem Raj
d94222a7a9 gnupg: Disable FORTIFY_SOURCES on mips
This is a workaround for issue reported with gcc12 [1]

[1] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105234

(From OE-Core rev: 21f2723c84c37a0aaa1a27bc4b738f82507321e8)

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 8b8259e070c582d0c566535a3559aa712148efc0)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-28 17:07:18 +01:00
Khem Raj
34907af7e6 systemtap: Fix build with gcc-12
Backport a patch to fix
| ../git/util.cxx:1766:56: error: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = int; _Result = int]' is deprecated: use 'std::function' instea
d [-Werror=deprecated-declarations]
|  1766 |                        std::not1(std::ptr_fun<int, int>(std::isspace))));
|       |                                  ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~

(From OE-Core rev: fdca03e098cbac0405d9618641a3ab8862f5a8f8)

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 0b360d12203aafd8bf96433d11221a6ed910a11f)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-28 17:07:18 +01:00
Khem Raj
8a2dadf39f xserver-xorg: Fix build with gcc12
backport patch to silence new array-bounds warnings

(From OE-Core rev: c17679c1e5e4ba18ee634a9f3b74c438f727270a)

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 54fa74e6e60472e10f1a11b3daa8ee9f00f0c9d5)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-28 17:07:18 +01:00
Khem Raj
2c10ea757c babeltrace: Disable warnings as errors
These settings are good for developers/maintainers but for distributions
generally disabling them turns out to be better especially when there is
a knob to do so. This fixes build with gcc-12 which find additional
warnings

    inlined from 'bt_ctf_object_set_parent' at ../../../git/src/ctf-writer/object.h:120:6,
    inlined from 'bt_ctf_trace_common_add_stream_class' at ../../../git/src/ctf-writer/trace.c:1243:3:
../../../git/src/ctf-writer/object.h:141:26: error: null pointer dereference [-Werror=null-dereference]
  141 |                 if (child->parent) {
      |                     ~~~~~^~~~~~~~
../../../git/src/ctf-writer/object.h:141:26: error: null pointer dereference [-Werror=null-dereference]
cc1: all warnings being treated as errors

(From OE-Core rev: bdf428b3b91d43eb61a6a4b83fc0f108745d45b7)

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 1898d10dd4d4372823e6c8b8c4ed28604e692365)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-28 17:07:18 +01:00
Richard Purdie
a5fc3332ac buildtools-tarball: Only add cert envvars if certs are included
Users may or may not include the certificates in buildtools. Only set the
appropriate variables if they're present.

(From OE-Core rev: f3b1699afcd35494e972e7b5b575c318a196909f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 0945a2a5d7c41af22e222a116aafacb4beee54d2)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-28 17:07:18 +01:00
Paulo Neves
5a52e76f15 selftest/lic_checksum: Add test for filename containing space
A fix is being added to bitbake to correctly handle spaces inside
checksum filenames. Add a test to oe-selftest to ensure this is
tested and doesn't regress in future.

(From OE-Core rev: 4146d30d06233c299b280d0e99ac5f51aab63ad4)

Signed-off-by: Paulo Neves <ptsneves@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 324109f034f069ee3e91a1a705b3449911a448de)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-28 17:07:18 +01:00
Jon Mason
f5a94fd31e qemuarm64: use virtio pci interfaces
The virtio PCI devices seemed to be required for this machine for some
versions of qemu (based on errors from running qemu saying that the
devices don't exist).  Changes to the entries here is all that is needed
to get it working.

(From OE-Core rev: 291940f12c319e74351ff97811919c8c03477c27)

Signed-off-by: Jon Mason <jdmason@kudzu.us>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 217deeb43036d1a046d6c5ea2c1ccdb94d3d605a)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-28 17:07:18 +01:00
Martin Jansa
a5fca80441 systemd-boot: remove outdated EFI_LD comment
* efi-ld meson option was changed in systemd 250:
  fe330f02df

  the value was changed with the systemd upgrade in:
  https://git.openembedded.org/openembedded-core/commit/?id=e22188e47d2fce2406d9db9c95289b3878eda69f
  but the comment originally from:
  https://git.openembedded.org/openembedded-core/commit/?id=603e50f3db224a0e36a65decb9a98df41b9e22b3
  no longer makes any sense, remove it

(From OE-Core rev: c7c9e106614473e41cab108cbda9ef959864bacc)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit c14dbe3d3c1abf5f95310162288f861bfd312900)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-28 17:07:18 +01:00
Michael Halstead
d53ac6e956 set_versions: update for 4.0 release
Uncomment langdale lines to bump the version.

(From yocto-docs rev: b4cf85ac951b1d09b8698effaf62ba052e772eac)

Signed-off-by: Michael Halstead <mhalstead@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-26 10:56:52 +01:00
Michael Halstead
3fbc631a44 releases: update for yocto 4.0
Bump various versions and names.

(From yocto-docs rev: bfb8b2cf4a79f898cdc97c6be7f3b47a5a411d84)

Signed-off-by: Michael Halstead <mhalstead@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-26 10:56:52 +01:00
Lee Chee Yang
c68b8e1770 migration-guides: release-notes-4.0: update 'Repositories / Downloads' section
(From yocto-docs rev: e814a998cc0a7c451a77df0304d0a69a27ac08ae)

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-25 15:22:12 +01:00
Quentin Schulz
02dc699d23 docs: migration-guides: release-notes-4.0: replace kernel placeholder with correct recipe name
If I am not mistaken, the only kernel recipe to have a new PACKAGECONFIG
option is linux-yocto-dev, in commit 1bac831fba
"linux-yocto-dev: introduce dt-validation PACKAGECONFIG".

Therefore, let's replace (kernel) by the one kernel recipe that has this
change.

Cc: Quentin Schulz <foss+yocto@0leil.net>
(From yocto-docs rev: 1882954924cef9f17caad0f83973afe08f4db764)

Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-25 15:22:12 +01:00
Quentin Schulz
b43d659260 docs: migration-guides: release-notes-4.0: fix risc-v typo
It's RISC-V and not RiscV, c.f. https://riscv.org/ (yes, no dash in the
domain name...).

Cc: Quentin Schulz <foss+yocto@0leil.net>
(From yocto-docs rev: 1a5fd51a50fe39d8095bb5a4f34d6b953e59c58f)

Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-25 15:22:12 +01:00
Quentin Schulz
3f5365d11a docs: migration-guides: migration-3.4: mention that hardcoded password are supported if hashed
Plaintext/clear passwords are not supported anymore but hashed passwords
still are. Mention that in the migration guide and point to the
appropriate location of documentation.

Cc: Quentin Schulz <foss+yocto@0leil.net>
(From yocto-docs rev: f8b9697ec7bcc188db5ce9e5067bc82c023b79d9)

Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-25 15:22:12 +01:00
Quentin Schulz
8c7145a12d docs: ref-manual: variables: add hashed password example in EXTRA_USERS_PARAMS
Add examples for hashed hardcoded passwords from extrausers.bbclass so
that this feature is not hidden away.

Cc: Quentin Schulz <foss+yocto@0leil.net>
(From yocto-docs rev: 5db73c7c5668144ed4629f95378e44f0bd8c8256)

Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-25 15:22:12 +01:00
Quentin Schulz
4c2ea34b3e docs: conf.py: fix cve extlinks caption for sphinx <4.0
extlinks captions support using %s substitution but only from sphinx 4.0
onwards.
c.f. https://www.sphinx-doc.org/en/master/usage/extensions/extlinks.html#confval-extlinks

Weirdly enough, on older sphinx versions, the caption is just a prefix
to the actual text passed to the extlink. Therefore, in that specific
case, CVE- or CVE-%s are identical in meaning for sphinx >=4.0 and since
only CVE- caption works on sphinx <4.0, let's go with CVE- caption
prefix.

Fixes: b311070d866cf "manuals: add 3.4 and 3.4.1 release notes after migration information"
Cc: Quentin Schulz <foss+yocto@0leil.net>
(From yocto-docs rev: c9922076f5c1285d9cfd6aff8ce5b6635d88222f)

Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-25 15:22:12 +01:00
Paul Eggleton
5cad452c85 ref-manual: add ZSTD_THREADS
ZSTD_THREADS is new for kirkstone.

(From yocto-docs rev: b970936b89bebb184c82be3a9514a9eba7c04f9b)

Signed-off-by: Paul Eggleton <paul.eggleton@microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-25 15:22:12 +01:00
Richard Purdie
47fab8caa8 ref-manual: Add XZ_THREADS and XZ_MEMLIMIT
XZ_THREADS and XZ_MEMLIMIT were introduced in dunfell.

[RP improved an original patch from Paul]
(From yocto-docs rev: 96defb66b775093b5270bd1ebad0461c2bba1e5b)

Signed-off-by: Paul Eggleton <paul.eggleton@microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-25 15:22:12 +01:00
Paul Eggleton
eee7bbc16a migration-guides: add release notes for 4.0
Generated from commits in the kirkstone branch, as well as a few entries
from the migration guide.

(Note that the "Repositories / Downloads" section still needs to be
filled in.)

(From yocto-docs rev: 0c66638e61d3e16ac8d4b7ebc4ec6fb35625bf4f)

Signed-off-by: Paul Eggleton <paul.eggleton@microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-25 15:22:12 +01:00
Paul Eggleton
97bfd780ad migration-guides: complete migration guide for 4.0
* Make some corrections to preliminary set of entries
* Move out entries that were more appropriate for the release notes
  (i.e. that are more additions rather than changes that require the
  user to make changes)
* Add new entries based on commits in the kirkstone branch

(From yocto-docs rev: bea2da80e7c5338dc5abefe95ce27b80ed4ee98a)

Signed-off-by: Paul Eggleton <paul.eggleton@microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-25 15:22:12 +01:00
Paul Eggleton
445d91575d ref-manual: add empty-dirs QA check and QA_EMPTY_DIRS*
This check is new in kirkstone.

(From yocto-docs rev: baa483e75538013be3261f8c115b8a5364b24c60)

Signed-off-by: Paul Eggleton <paul.eggleton@microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-25 15:22:12 +01:00
Paul Eggleton
9e75211b3a ref-manual: add KERNEL_DEBUG_TIMESTAMPS
New variable in kirkstone.

(From yocto-docs rev: 2c5d4938a09fd35f9e86f682cde89d4693762725)

Signed-off-by: Paul Eggleton <paul.eggleton@microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-25 15:22:12 +01:00
Paul Eggleton
b3f040b4a5 ref-manual: add mention of vendor filtering to CVE_PRODUCT
Mention the vendor filtering functionality - prompted by OE-Core
revision 45d1a0bea0c628f84a00d641a4d323491988106f.

(From yocto-docs rev: 13ff5a49f14a26772b4775d9ecd08627e6becd4d)

Signed-off-by: Paul Eggleton <paul.eggleton@microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-25 15:22:12 +01:00
Paul Eggleton
8da3055567 ref-manual: mention wildcarding support in INCOMPATIBLE_LICENSE
Add this since the INCOMPATIBLE_LICENSE wildcard support has changed in
the 4.0 release.

(From yocto-docs rev: c7946863e5a9d62a49131b92cc9549da9b799bbd)

Signed-off-by: Paul Eggleton <paul.eggleton@microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-25 15:22:12 +01:00
Paul Eggleton
ad8d1e6228 ref-manual: add a note about hard-coded passwords
It seems prudent to point out that hard-coding passwords in the manner
detailed in the example is not a good idea in production. This type of
mistake has unfortunately been made by many device vendors (outside of
the Yocto Project context) leading to security vulnerabilities.

(From yocto-docs rev: 1d07dba9423ae0a841eccb58c297e31b63c3965d)

Signed-off-by: Paul Eggleton <paul.eggleton@microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-25 15:22:12 +01:00
Paul Eggleton
b80972f3ad migration-3.4: add missing entry on EXTRA_USERS_PARAMS
We missed noting this in 3.4 but I noticed the documentation was
recently updated, so note the removal.

(From yocto-docs rev: f661e62d6faf48dbb6c6fd9a61a6448ec339d2bf)

Signed-off-by: Paul Eggleton <paul.eggleton@microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-25 15:22:12 +01:00
Quentin Schulz
273fe4b6af docs: sphinx-static: switchers.js.in: do not mark branches as outdated
Branches can never be outdated so let's check the release is not a
branch (branches end with .999).

Cc: Quentin Schulz <foss+yocto@0leil.net>
(From yocto-docs rev: 4755961bbb5f674a7532b91cca20ea44a1e22ae7)

Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-25 15:22:12 +01:00
Quentin Schulz
3947a5f18b docs: sphinx-static: switchers.js.in: fix broken switcher for branches
The switcher expects URL subpath to match the "release" used by sphinx
to build the documentation. Branches, however, are put in a subpath
after their name (e.g. dunfell) while sphinx sets the "release" to
X.Y.999. This means the switcher cannot replace correctly the path to
switch between releases/versions.

Let set_versions.py inject the list of release names into the
switchers.js.in file so it can check whether the subpath is one of the
release names in which case it needs to be stripped.

Cc: Quentin Schulz <foss+yocto@0leil.net>
(From yocto-docs rev: 5ef3d129b8d0d8ae98a694103930988a46285525)

Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-25 15:22:12 +01:00
Quentin Schulz
4b8010810a docs: sphinx-static: switchers.js.in: rename all_versions to switcher_versions
This array only contains versions that can be selected through the
dropdown menu for switching between supported versions.

Therefore, let's rename it to switcher_versions to make its usecase
clearer.

Cc: Quentin Schulz <foss+yocto@0leil.net>
(From yocto-docs rev: 5c3d67751bf3f572a0788d3a4734b80e3453d084)

Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-25 15:22:12 +01:00
Quentin Schulz
8096431d58 docs: set_versions.py: mark as obsolete only branches and old tags from obsolete releases
Branches are identified by their .999 version suffix which means they
will never be matched in the forloop above this git context. Therefore,
branches will match the condition. However, branches are not necessarily
obsolete (e.g. dunfell, honister and kirkstone today), so let's mark as
obsolete the branches which are from obsolete releases.

Old tags of currently supported releases are not defined as obsolete but
outdated, therefore using the series to which they belong like it is
done for branches is enough for obsolescence detection.

Cc: Quentin Schulz <foss+yocto@0leil.net>
(From yocto-docs rev: 7181a432da18b47608784363d243ea39b80be1ed)

Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-25 15:22:12 +01:00
Quentin Schulz
ea99def6bf docs: update Bitbake objects.inv location for master branch
master branch of Bitbake is now located at docs.yoctoproject.org/dev
instead of docs.yoctoproject.org so let's update the switchers and
set_versions.py to reflect that change.

Cc: Quentin Schulz <foss+yocto@0leil.net>
(From yocto-docs rev: 18338292d99ed236e2bac6e73a5152ef11c4a9e5)

Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-25 15:22:12 +01:00
Quentin Schulz
ee6d170d87 docs: set_versions.py: fix latest version of an active release shown as obsolete
ourseries can be an active release and therefore shouldn't be marked as
obsolete. By adding ourseries to activereleases, it is impossible to
know if ourseries is actually an active release or not. Instead let's
loop on the active releases with ourseries too (only if it's not active
release, otherwise it'd appear twice).

Fixes: 6f40ef56054ec "docs: set_versions.py: add information about obsolescence of a release"
Cc: Quentin Schulz <foss+yocto@0leil.net>
(From yocto-docs rev: f16b633211b97b2cdf2c65d83c99cd3853d2bb5c)

Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-25 15:22:12 +01:00
Quentin Schulz
4a0acaf3cc docs: set_versions.py: fix latest release of a branch being shown twice in switchers.js
versions array is supposed to store the latest version of all active
releases. However, in the loop it is reassigned and therefore, the check
on whether our version is already in the versions array will always
return false (except for the latest version of the last active release)
and write our version again in the list.

By using a local variable for the logic instead of versions array, the
check now works properly.

Fixes: f2b069be8c307 "set_versions: Various improvements"
Cc: Quentin Schulz <foss+yocto@0leil.net>
(From yocto-docs rev: 36a088c8c99dd37f5ca07ec8f90f2c51ef8b36f2)

Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-25 15:22:12 +01:00
Richard Purdie
a2acea4633 build-appliance: Switch to kirkstone branch
(From OE-Core rev: 741064d6e9001c1cc933fea192c8c99a6892bd83)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-22 08:28:22 +01:00
Steve Sakoman
91e14d3a8e lua: fix CVE-2022-28805
singlevar in lparser.c in Lua through 5.4.4 lacks a certain luaK_exp2anyregup
call, leading to a heap-based buffer over-read that might affect a system that
compiles untrusted Lua code.

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

(From OE-Core rev: d2ba3b8850d461bc7b773240cdf15b22b31a3f9e)

Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-19 14:02:13 +01:00
Steve Sakoman
8f48f1014f busybox: fix CVE-2022-28391
BusyBox through 1.35.0 allows remote attackers to execute arbitrary code
if netstat is used to print a DNS PTR record's value to a VT compatible
terminal. Alternatively, the attacker could choose to change the terminal's colors.

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

(From OE-Core rev: 3e17df4cd17c132dc7732ebd3d1c80c81c85bcc4)

Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-19 14:02:13 +01:00
Quentin Schulz
57a32692b7 docs: sphinx-static: switchers.js.in: improve obsolete version detection
Based on additional information per release, specifically with the
obsolescence status of a release, the obsolescence detection can now be
much smarter than just checking if the release is older than dunfell.

This is required because with LTS (dunfell for example) releases, it is
now possible to have LTS releases that are older than obsolete releases.

This means obsolete releases need to be tracked and only the release
version cannot be used as an indicator of obsolescence.

Let's use the obsolete field of the per-release data in the all_versions
dictionary to display correct warning messages.

The warning message is first about outdated version if there's a newer
one available (*even* if it is for an obsolete release, e.g. 3.0.1 will
say it's outdated and should select 3.0.4 version instead), then if the
version is the last of the release, show a warning message if the
release is obsolete.

Cc: Quentin Schulz <foss+yocto@0leil.net>
(From yocto-docs rev: 6986baa0d3b544bbad8a7e23ee447abc6f2769f6)

Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-19 12:37:42 +01:00
Quentin Schulz
8643342d80 docs: set_versions.py: add information about obsolescence of a release
This adds support for marking releases as obsolete to make the
detection algorithm smarter (in a later commit) than just checking if
it's older than dunfell.

Cc: Quentin Schulz <foss+yocto@0leil.net>
(From yocto-docs rev: 6f40ef56054ecbd3d8b7310d748c1af78a689add)

Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-19 12:37:42 +01:00
Quentin Schulz
7b3a83f736 docs: sphinx-static: switchers.js.in: remove duplicate for outdated versions
Since commit f2b069be8c307 "set_versions: Various improvements", an
outdated version will always appear in all_versions, meaning there'll
always be an exact match in the loop (just above the git context of this
patch) so there's no need to add the current_version to the dropdown
menu manually.

This issue showed up only for outdated versions of obsolete releases,
e.g. 3.2.3. In that case, 3.2.4 (latest version of the obsolete release)
will appear in the all_versions array in addition to 3.2.3, which means
the check on release series (3.2) will be matched twice, and 3.2.3 will
be printed once in the 3.2.4 loop because version != current_version and
once in the 3.2.3 because it is an exact match to an entry in
all_versions.

Cc: Quentin Schulz <foss+yocto@0leil.net>
(From yocto-docs rev: 05065fa1f3855e8b7d9e8af0502b4ae402273400)

Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-19 12:37:42 +01:00
Abongwa Amahnui Bonalais
c6421fce9d dev-manual: add command used to add the signed-off-by line.
(From yocto-docs rev: 0520831118ab0f3287d1a6cde4fa26062e55ee74)

Signed-off-by: Abongwa Bonalais Amahnui <abongwabonalais@gmail.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-19 12:37:42 +01:00
Abongwa Amahnui Bonalais
0e27bdf640 documentation/brief-yoctoprojectqs: add directory for local.conf
Replacing local.conf by conf/local.conf

(From yocto-docs rev: 0f8c773d4ef79f7a8281c5743337c0504d7a786e)

Signed-off-by: Abongwa Bonalais Amahnui <abongwabonalais@gmail.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-19 12:37:42 +01:00
Richard Purdie
00cfdde791 build-appliance-image: Update to master head revision
(From OE-Core rev: 92fcb6570bddd0c5717d8cfdf38ecf3e44942b0f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-16 14:31:04 +01:00
Richard Purdie
0674ae7bc4 git: Upgrade 2.35.1 -> 2.35.2
This includes a fix for CVE-2022-24765

(From OE-Core rev: a17dc42d82b12d7f891c903a02a0302b31829c88)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-15 17:30:34 +01:00
Richard Purdie
f3424b58e9 bitbake.conf: Correct BB_SIGNATURE_EXCLUDE_FLAGS
Some of the flags listed here do change the output and hence do need to
be included in task checksums.

This means we start including the following flags in function/task/variable
checksums:

type, func, export, unexport, noexec, dirs, cleandirs

(From OE-Core rev: 54e8b744bb7e7aa03277a42b0c5cf707440f8b8a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-15 17:30:34 +01:00
Richard Purdie
5d6dff5947 libxshmfence: Correct LICENSE to HPND
The license in this code is listed as MIT and whilst it is compatible with and
usable as MIT, it actually looks like HPND. Clarify the license field accordingly.

(From OE-Core rev: 922b645f443c33060a8990d32e6b7b62ea5497c3)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-15 17:30:34 +01:00
Richard Purdie
3f8fd96cfd alsa-tools: Ensure we install correctly
With the fix for #8621, cleandirs is now applied to autotools_do_install
and this results in a lot of the install targets to be removed. Ensure
cleandirs isn't set for autotools_do_install.

(From OE-Core rev: 72299395b06fc3fdaca5f7b8b87a6ea32a6267ad)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-15 17:30:34 +01:00
Scott Murray
d3f246413b runqemu: Do not auto detect graphics if publicvnc is specified
The graphics option auto detection logic added in 7f78bb7a was not
checking if the publicvnc option had been specified, meaning that
it would be ignored and the auto detection result used instead.
Add setting a flag variable in the argument parsing and check
it along with the ones for the other graphics backend options.

(From OE-Core rev: 4b73b55c2d258768cda2bf7262ebb36bcb7fed5b)

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-15 17:30:34 +01:00
Peter Kjellerstedt
24c743fe66 shadow: Disable the use of syslog() for the native tools
An attempt to disable the use of syslog() was made in commit 8f181686
(shadow-native: Simplify and fix syslog disable patch). However,
because the code checks if USE_SYSLOG is defined rather than checking
if it evaluates to TRUE the patch did not work as intended.

(From OE-Core rev: e1f21d0d3385f9d9f4316bf0039b287fd4b37fc8)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-15 17:30:34 +01:00
Ricardo Salveti
af5cb9d6fe bitbake: fetch2/crate: fix logger.debug line
logger.debug was giving an integer value (2) as event message, causing
knotty to crash when running with debug enabled.

bitbake/lib/bb/ui/knotty.py", line 685, in main
  event.msg = taskinfo['title'] + ': ' + event.msg
TypeError: can only concatenate str (not "int") to str

Same issue also happens in the original code that was taken from
oe-core (openembedded-core/meta/lib/crate.py honister) / meta-rust.

(Bitbake rev: c212b0f3b542efa19f15782421196b7f4b64b0b9)

Signed-off-by: Ricardo Salveti <ricardo@foundries.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-15 17:30:34 +01:00
Richard Purdie
81b4d8bc6b build-appliance-image: Update to master head revision
(From OE-Core rev: 24e3b2ee56e0b59aa280191bd00fdfc773f0a973)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-14 21:58:19 +01:00
Richard Purdie
155295c109 bluez5: Add fix for startup issues under systemd
The systemd bluetooth service failed to start. Add a workaround for this whilst the
final fix is discussed upstream, https://github.com/bluez/bluez/issues/329.

(From OE-Core rev: 3e85ce436699a2b5b7751f671e4a6eabb4ca5404)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-14 21:58:10 +01:00
Richard Purdie
3a694070f7 build-appliance-image: Update to master head revision
(From OE-Core rev: d5585ff062099412074901eeab9f44b7c7f8e351)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-14 16:46:41 +01:00
Bruce Ashfield
b3ea0a07d4 lttng-modules: support kernel 5.18+
Backporting changes from lttng master to support building against
the 5.18+ kernel. No changes required to the patches. Once a new
-stable 2.13.x is released, we can drop these patches. To enable
newer kernel development against the LTS, it is worth pulling these
in while we wait for an upstream release.

(From OE-Core rev: 8a7237a47488442513741930ea55d69dd6bd7be4)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-14 16:46:35 +01:00
Bruce Ashfield
09fdbbcd19 linux-yocto-dev: update to v5.18+
5.18-rc2 has been released, so we bump the -dev kernel to allow
easier testing of our components against the latest korg.

(From OE-Core rev: 091f1356d0245dcafe2f01bd5dcccf3802aaccfb)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-14 16:46:34 +01:00
Richard Purdie
564ff25c7c build-appliance-image: Update to master head revision
(From OE-Core rev: c6ebc3ef3045ecd7cb66b5a94777eb7a3c9f48a0)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-14 15:24:59 +01:00
Richard Purdie
76f23d1d58 puzzles: Drop broken icon
The renaming left a broken desktop file behind (the others are overwritten).
Fix this by removing it.

(From OE-Core rev: 60925ef384f8c9966499b0d7e67927f1906be495)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-14 12:44:34 +01:00
Richard Purdie
a0ae56410c rxvt-unicode: Fix icon name
There was no icon being displayed for this, fix the name so that
is corrected.

(From OE-Core rev: 3bf3d123e1c62d1811039328f1f557ae35dec3fd)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-14 12:44:34 +01:00
Peter Kjellerstedt
c679713a72 bitbake: pyinotify.py: Simplify identification of which event has occurred
Use bitwise operators to manipulate the received event mask in
_ProcessEvent.

Also minor clarification & clean up of the related comments.

(Bitbake rev: 2ab60c7be124d928d304ab1fb73f0dbff29964ae)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-14 09:48:33 +01:00
Schmidt, Adriaan
33b929192e bitbake: bitbake-diffsigs: make finding of changed signatures more robust
In `runtaskhashes`, the keys contain the absolute paths to the recipe. When
working with shared sstate caches (where these absolute paths can be different)
we see that compare_sigfiles does not identifiy a changed hash of a dependent
task as "changed", but instead as "removed"&"added", preventing the function
from recursing and continuing the comparison.

By calling `clean_basepaths` before comparing the `runtaskhashes` dicts, we
avoid this.

(Bitbake rev: 7358378b90b68111779e6ae72948e5e7a3de00a9)

Signed-off-by: Adriaan Schmidt <adriaan.schmidt@siemens.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-14 09:48:33 +01:00
Richard Purdie
73fa855f6a bitbake: ast: Improve function flags handling for EXPORT_FUNCTIONS
Currently, if you use one of the functions from EXPORT_FUNCTIONS,
the meaning of cleandirs and fakeroot are lost. This leads to the function
changing in behaviour depending upon it's caller context. This isn't intended
so add mapping for the cleandirs and fakeroot flags too.

This does break devtool in OE-Core and there is a separate fix for that.

[YOCTO #8621]

(Bitbake rev: b074f4aff00923acc5bf6649d204d541a79fd2b6)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-14 09:48:33 +01:00
Pavel Zhukov
6ec07ea632 bitbake: fetch2: Add GIT_SSH_COMMAND to the list of exports
GIT_SSH_COMMAND is more convinient to use if arguments have to be passed
and the user doesn't want to create a wrapper script around ssh.

(Bitbake rev: 5e746cb9d26ce87d6c9d52d9022122081a9811c5)

Signed-off-by: Pavel Zhukov <pavel.zhukov@huawei.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-14 09:48:33 +01:00
Olaf Mandel
d1f254d56f bitbake: fetch2/git: canonicalize ids in generated tarballs
Change the owner information in the mirror tarballs generated using
BB_GENERATE_MIRROR_TARBALLS="1". This is an extension of commit
0178ab83, which used the original pokybuild:user information, but failed
to clean up the numerical user and group ids. Now set the more canonical
values of oe:oe and 0:0.

(Bitbake rev: 37437115d3fb1a9f5d8ed7356a0fc01a408e4f8c)

Signed-off-by: Olaf Mandel <o.mandel@menlosystems.com>
CC: Marek Vasut <marex@denx.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-14 09:48:33 +01:00
Richard Purdie
73d0fcf5d5 bitbake: checksum: Allow spaces in URI filenames
If there are spaces in the URI filenames it can break the code.
We already solved this issue once somewhere else in the code so
use the same regex trick here as well.

We should ultimately refactor this code but at least fix the issue
for now.

(Bitbake rev: 57e2fc4d7f60afea4d4b2c84761324dd99e74a87)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-14 09:48:33 +01:00
Richard Purdie
0be2abfe7c runqemu: Allow auto detection of the correct graphics options
Running "runqemu qemux86 kvm" when qemu is configured for sdl and/or gtk
display output currently leads to a poor user experience with no cursor
and corrupted fonts in the gtk case. This is due to no options being
passed to qemu which leads to the loss of the font envirornment variable
and the show-cursor option.

If the user hasn't specified a display type, grep the output of
"qemu-system-xxx --help" for the display types and pick the "best"
which ensures our config is passed in. That resolves the gtk font issue
and the cursor issue with both sdl and gtk.

(From OE-Core rev: 7f78bb7a7baf67b9226fb460ca9e12fde6ef40c8)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-14 09:47:00 +01:00
Konrad Weihmann
4f7717ae09 cmake: add missing licenses
in target and native variant a different set of vendored libraries
is pulled from the cmake sources.
Add those licenses and there texts

(From OE-Core rev: fc6c1951dd7e53791a9d92610dfc2eefab4c2a4a)

Signed-off-by: Konrad Weihmann <kweihmann@outlook.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-14 09:47:00 +01:00
Konrad Weihmann
4e485ea7f2 python3-pip: correct license
as described in src/pip/_vendor/README.rst pip ships plenty
of vendored copies of other python modules.
Correct the license of the resulting package and
reference all the vendor copy license files correctly

(From OE-Core rev: 1c192304b2b2ff8c909836d2c78826192e7d21ca)

Signed-off-by: Konrad Weihmann <kweihmann@outlook.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-14 09:47:00 +01:00
Konrad Weihmann
bd9defc50d gettext: add MIT conditional as license
depending on the actual PACKAGECONFIG some
internal vendor copies of libxml, libcroco and glib will
be used.
In the case of libxml this adds MIT to the license.
Reference the license statements based on the actual choosen
PACKAGECONFIG

(From OE-Core rev: faa513a5270b376508fe8d3553020d58460d0d05)

Signed-off-by: Konrad Weihmann <kweihmann@outlook.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-14 09:47:00 +01:00
Konrad Weihmann
dd360004e0 libidn2: add Unicode-DFS-2016 license
as COPYING clearly states that unicode data is baked into
the lib.
Add the license and reference the COPYING file for that

(From OE-Core rev: 1f5fd6a0f3053d1d006ff198b0bc1e58251d021d)

Signed-off-by: Konrad Weihmann <kweihmann@outlook.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-14 09:47:00 +01:00
Konrad Weihmann
1e3bda0517 libsdl2: fix license
by default libsdl2 is build with code from src/video/yuv2rgb, which
is licensed under BSD-2-Clause.
Additional by default hidapi is build, which is licensed under
GPL3 | BSD-2-Clause | HIDAPI license, pick the least restrictive
and best matching BSD-2-Clause.

(From OE-Core rev: a97f7975edaf0ed833950f87c3d880a8897c67df)

Signed-off-by: Konrad Weihmann <kweihmann@outlook.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-14 09:47:00 +01:00
Konrad Weihmann
2e3513e7cc libcap: add pam_cap license
If libcap is compiled with pam in PACKAGECONFIG
one additional license text becomes effective,
add that as a conditional

(From OE-Core rev: 1ea595d5fe24f4ba5e648b5591d5e2a442f57ca4)

Signed-off-by: Konrad Weihmann <kweihmann@outlook.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-14 09:47:00 +01:00
Konrad Weihmann
39becfe534 itstool: add missing COPYING.GPL3
to LIC_FILES_CHKSUM.
Format the list for better readability.
Remove useless line continuation from SRC_URI

(From OE-Core rev: ab25d08e16590c0b1e57a165b8a6db8dc263be7e)

Signed-off-by: Konrad Weihmann <kweihmann@outlook.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-14 09:47:00 +01:00
Konrad Weihmann
ccfb5372c9 gmp: add missing COPYINGv3
add COPYINGv3 license text to LIC_FILES_CHKSUM

(From OE-Core rev: 8e8cf07a58a6bf5412572e76e2a7ab27df8af01f)

Signed-off-by: Konrad Weihmann <kweihmann@outlook.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-14 09:47:00 +01:00
Konrad Weihmann
1186f02363 kern-tools-native: add missing license
add the Kconfiglib license, as this was missing in before.
Add MIT identifier to LICENSE

(From OE-Core rev: 8e337904b1f612dc461e64a57bcd7c2dff2a309b)

Signed-off-by: Konrad Weihmann <kweihmann@outlook.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-14 09:47:00 +01:00
Alex Kiernan
7973b38018 kernel: Delete unused KERNEL_LOCALVERSION variable
This has been unused since:

  commit fb61dc1430
  Author: Richard Purdie <richard@openedhand.com>
  Date:   Mon Jan 8 21:05:18 2007 +0000

      kernel.bbclass: Drop KERNEL_RELEASE variable

      git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1123 311d38ba-8fff-0310-9ca6-ca027cbcb966

(From OE-Core rev: 320da1c2b9add9fecd74e7f33ddc5418b326c786)

Signed-off-by: Alex Kiernan <alexk@zuma.ai>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-14 09:47:00 +01:00
Khem Raj
32276b968e kernel-devsrc: Check for gen_vdso_offsets.sh before copying on riscv
This file is introduced in newer kernels >= 5.15 but some RISCV machines
still use 5.13 kernels, this ensures that kernel-devsrc can build on
older kernels for RISCV

(From OE-Core rev: b4d3c2c03495730a2253669ad8a438288629a1c8)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-14 09:47:00 +01:00
Alexander Kanavin
4dbd32ccee itstool: correct upstream version check
(From OE-Core rev: 62a81447d7b1859c7f8df9958bfa889ccc48674f)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-14 09:46:59 +01:00
Richard Purdie
6bef16bde3 sanity: Show a warning that make 4.2.1 is buggy on non-ubuntu systems
We keep seeing hangs on the autobuilder with make 4.2.1 on Centos8, Alma8
and OpenSuse workers. The hang occurs in perl and kernel builds in particular.
The issue is fixed in 4.3 and has been patched on Ubuntu systems:

https://git.savannah.gnu.org/cgit/make.git/commit/?id=78b5fec6898c26956d00548427cda1101cb80f8a
https://savannah.gnu.org/bugs/?51400

Add a sanity test for make 4.2.1 and error for non-ubuntu systems. We're
making a buildtools-make-tarball available which can be used to
allow systems with the broken version to use the project.

(From OE-Core rev: ad5829aa1f8a7369509542b913bfd8d21d1b1bc3)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-14 09:46:59 +01:00
Richard Purdie
9dff569a07 externalsrc/devtool: Fix to work with fixed export funcition flags handling
If we fix bitbake to correctly handle the cleandirs and fakeroot flags
for tasks handled by EXPORT_FUNCTIONS, we break devtool since it only
considers these for top level functions. Add in extra code to intercept
the cleandirs flags for commonly used sub functions too.

[YOCTO #8621]

(From OE-Core rev: 67fad829f37ed0a8e20c599d2b65635158591d06)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-14 09:46:59 +01:00
Jon Mason
9fc670b6a1 linux-yocto: Remove unnecessary, commented out qemuarm entry
The line in question is already in place in qemuarm.conf.  Remove it
from here, as it is not necessary and references an older kernel.

(From OE-Core rev: c8350634a9aba9080939af55d8fe91819fb83cc8)

Signed-off-by: Jon Mason <jdmason@kudzu.us>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-14 09:46:59 +01:00
Richard Purdie
3b2edd473e local.conf.sample: Update for 4.0 in sstate url
(From meta-yocto rev: fa0884372892d43e76c4d3b4486f1851e39edac3)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-13 21:22:52 +01:00
Richard Purdie
5fc8dd16f2 migration-guide: Kirkstone is now 4.0
Update the docs to reflect that kirkstone is 4.0, not 3.5.

(From yocto-docs rev: a6f571ad5b087385cad8765ed455c4b4eaeebca6)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-13 16:54:32 +01:00
Richard Purdie
5c63147e31 Revert "adwaita-icon-theme: upgrade 41.0 -> 42.0"
This reverts commit 131b143b6e.

Upstream dropped many 'legacy' low res bitmap icons and also plans to
phase out 'generic app' icons in the svg format, saying that all apps
must carry their own icons. This breaks the icons displayed in sato
so revert for now until we have a plan to mitigate that.

[YOCTO #14782]

(From OE-Core rev: 04603905991ba7e703b07abc16c8a689d94be95d)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-13 16:52:24 +01:00
Richard Purdie
c362c7feef git: Ignore CVE-2022-24975
Everyone I've talked to doesn't see this as a major issue. The CVE
asks for a documentation improvement on the --mirror option to
git clone as deleted content could be leaked into a mirror. For OE's
general users/use cases, we wouldn't build or ship docs so this wouldn't
affect us.

(From OE-Core rev: 5dfe2dd5482c9a446f8e722fe51903d205e6770d)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-13 16:52:24 +01:00
Richard Purdie
45afc335d3 tiff: Add marker for CVE-2022-1056 being fixed
As far as I can tell, the patches being applied also fix CVE-2022-1056 so
mark as such.

(From OE-Core rev: 256d212fd1eb9b6d4b87c2c84b1ea2a3afdeb843)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-13 16:52:24 +01:00
Richard Purdie
d3544320ec qemu: Add fix for CVE-2022-1050
Add a fix queued upstream for the issue in this CVE:

"""
Guest driver might execute HW commands when shared buffers are not yet
allocated.
This might happen on purpose (malicious guest) or because some other
guest/host address mapping.
We need to protect againts such case.
"""

(From OE-Core rev: 1b8513c1abdcd6430f9311efd04d785488f79d7d)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-13 16:52:24 +01:00
Khem Raj
dbe3a77e0d python3: Do not detect multiarch when cross compiling
This was a long standing problem seen on aarch64 build hosts when
compiling python3 with clang cross compiler. The issue is not seen with
gcc because native glibc headers are still compatible with gcc cross compiler

(From OE-Core rev: 407744b00d702e3133304e1b43064a5634ca02cf)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Ross Burton <ross.burton@arm.com>
Cc: Jon Mason <jdmason@kudzu.us>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-13 16:52:24 +01:00
Khem Raj
c1c263eba2 webkitgtk: Add missing header locale.h
This fixes build issues seen on mips, but problem is generic

(From OE-Core rev: 08c06980648d3f72cddbf62a96d6915f5d54b94e)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-13 16:52:24 +01:00
Alexander Kanavin
40d55d80ca epiphany: upgrade 41.3 -> 42.0
The new version uses printenv from coreutils during builds.

(From OE-Core rev: 1d46d4c1150743a04ddf3d9936e431b487676043)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-13 16:52:23 +01:00
Alexander Kanavin
54fddf8d0a webkitgtk: update 2.34.6 -> 2.36.0
Drop patches:
0001-Fix-racy-parallel-build-of-WebKit2-4.0.gir.patch
0001-When-building-introspection-files-add-CMAKE_C_FLAGS-.patch
(both merged upstream)

reduce-memory-overheads.patch
(rejected by upstream, there's no use case - see the discussion)

Rebase to version submitted upstream:
0001-FindGObjectIntrospection.cmake-prefix-variables-obta.patch

Add:
0001-When-building-introspection-files-do-not-quote-CFLAG.patch

angle is no longer needed for x11-less setups.

(From OE-Core rev: 05582e9e6583126879977b0bbb88b691d625056b)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-13 16:52:23 +01:00
Khem Raj
30b38d9cb9 musl: Move to 1.2.3 release tag
This actually are just 2 patches on top of what we have thus far

* 7a43f6fe release 1.2.3
* 01b14242 accept null pointer as message argument to gettext functions

(From OE-Core rev: bb0d9815a8e47b28836ab0eb13ebe236d745b253)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-12 09:43:44 +01:00
Kevin Hao
d429e927d8 kernel.bbclass: Fix the do_strip() malfunction
The BB variable can't be referenced directly in a python function,
this misusage of the variable reference causes strip function to be
always skipped.

Fixed: b9c3db4953e4 ("kernel.bbclass: Use KERNEL_IMAGEDEST instead of hardcoded boot path")
(From OE-Core rev: c405cb4f421a8c964fa59123ee41879ebd5f829c)

Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-12 09:43:43 +01:00
Khem Raj
b2fb36fead libarchive: Upgrade to 3.6.1
Changes in this release [1]

[1] https://github.com/libarchive/libarchive/releases/tag/v3.6.1
(From OE-Core rev: 8d33be8421e36605a5d59caf3f4956a7df8949e4)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-12 09:11:09 +01:00
Martin Jansa
632c83ab78 license_image.bbclass: close package.manifest file
* fixes:
  NOTE: Executing write_package_manifest ...
  DEBUG: Executing python function write_package_manifest
  /OE/build/oe-core/openembedded-core/meta/classes/license_image.bbclass:23: ResourceWarning: unclosed file <_io.TextIOWrapper name='/OE/build/oe-core/tmp-glibc/deploy/licenses/core-image-minimal-qemux86-64/package.manifest' mode='w+' encoding='UTF-8'>
    'w+').write(output)
  ResourceWarning: Enable tracemalloc to get the object allocation traceback
  DEBUG: Python function write_package_manifest finished

[YOCTO #14772]

(From OE-Core rev: b3114d5d438b7a63a276b4e825b62f3b1ebceed6)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-10 08:31:17 +01:00
Chen Qi
d281f68273 spirv-tools: fix to use sdk-1.3.204 branch
Just as pointed out in a previous commit:
"""
We'll continue tagging the repos contributing with SDK releases, as
that is when all the testing of the various projects is performed
together.
"""

Now the repo has updated and the 'stable' branch is forcely overriden.
We need to use the 'sdk-1.3.204' branch.

(From OE-Core rev: df6d96cc5e376c15a7c3416f3aaf306db3c15f42)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-10 08:31:17 +01:00
Ross Burton
8b4a654641 python3-cryptography: backport fix for leaky test
The leaking test case has been fixed upstream, so backport the patch.

(From OE-Core rev: 4705b8a724fe288a20f1a080e2796ea90f46c9fb)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-10 08:31:17 +01:00
Richard Purdie
21f0318abc package_ipk/deb: Fix specific version handling
We recently added a "xxx (= 1.2.3)" style dependency to a recipe and have
been having trouble with the opkg and debian backends with it.

The issues is that for debian, "=" really does mean equals and includes the
PR field. One bitbake recipe does not know the PR of another, nor shoud it.
In other words 1.2.3 != 1.2.3-r0. Debian defaults to a PR of "0", not our
"r0".

The only way I can think of to make this work is to change "=" dependencies
without revision information (no "-r" in the version) into things like:
"xxx (>= 1.2.3), xxx (<< 1.2.3.0)". This appears to work even if it is a
pretty horrible workaround.

(From OE-Core rev: 3ba177a1b8e553716f45606aa65b0a74e55d94c1)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-10 08:31:17 +01:00
Richard Purdie
3d4e5a0b7f uninative: Upgrade to 3.6 with gcc 12 support
There are reports of issues with the new libstdc++ from gcc 12. This upgrades
to a gcc 12 version of uninative to allow builds on those systems. Gcc 12 isn't
finalised so we may need to add a new version of this if/as appropriate when it
is.

(From OE-Core rev: e3da4da7e5da5bb9e1d360e2be2fdd5132e69320)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-10 08:31:17 +01:00
Ralph Siemsen
55bed213cf gzip: upgrade 1.11 -> 1.12
This includes a fix for CVE-2022-1271.

The existing "wrong path" patch needed to be refreshed, because the
context changed due to the following upstream change:
https://git.savannah.gnu.org/cgit/gzip.git/commit/?id=31193bbd13cd2807d8ccaa2ba5b072303d5425e7

(From OE-Core rev: ada1a900b022f0330a9812e4f4c0248961de1048)

Signed-off-by: Ralph Siemsen <ralph.siemsen@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-10 08:31:17 +01:00
Ralph Siemsen
30eb28dd02 xz: fix CVE-2022-1271
Malicious filenames can make xzgrep to write to arbitrary files
or (with a GNU sed extension) lead to arbitrary code execution.

Upstream-Status: Backport [https://tukaani.org/xz/xzgrep-ZDI-CAN-16587.patch]
CVE: CVE-2022-1271

(From OE-Core rev: 97bf86ccde4417daec8ef3945071a50a09134bc6)

Signed-off-by: Ralph Siemsen <ralph.siemsen@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-10 08:31:17 +01:00
Alexander Kanavin
89efab2850 connman-conf: ignore eth0 in qemu in a way that is not sysvinit-specific
(From OE-Core rev: 9e2cb139fabf302fb85c292a8848d6fb66851d07)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-08 17:49:58 +01:00
Richard Purdie
ed98f1a1ae build-appliance-image: Update to master head revision
(From OE-Core rev: 62851965fc180f33ed6feb62ff5ac14706e4732a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-05 22:28:11 +01:00
Ferry Toth
0b4231b597 package_manager: sign DEB package feeds
Implement debian package repository signature.
For each Release file created in repository subdirectory, a signature
Release.gpg is created.

Signature is performed using gpg backend when the following variables
are set in local.conf:
PACKAGE_CLASSES += "sign_package_feed"
PACKAGE_FEED_GPG_NAME = "<Id of GPG key>"
PACKAGE_FEED_GPG_PASSPHRASE_FILE="<path to password file>"

(From OE-Core rev: fcc3cee276999efe6402959eb295e7a0e1e96f96)

Signed-off-by: Xavier Berger <xavier.berger@bio-logic.net>
Signed-off-by: Ferry Toth <ftoth@exalondelft.nl>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-05 22:25:13 +01:00
Xavier Berger
bd8f1f7787 gpg-sign: Add parameters to gpg signature function
output_suffix: If defined, add output_suffix as file name extension.
use_sha256: If True, use sha256 for gpg as digest algorithm

(From OE-Core rev: cfcaa54dc73925df448099fb60f75b18350b2a3b)

Signed-off-by: Xavier Berger <xavier.berger@bio-logic.net>
Signed-off-by: Ferry Toth <ftoth@exalondelft.nl>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-05 22:25:13 +01:00
Carlos Rafael Giani
ee994c89b6 libsdl2: Disable libunwind dependency in native builds
libunwind-native currently cannot be added to the class-native DEPENDS
due to the following problem:

https://autobuilder.yoctoproject.org/typhoon/#/builders/91/builds/5624/steps/12/logs/stdio

And without libunwind-native, libsdl2-native config fails errors like:

| -- Checking for one of the modules 'libunwind'
| CMake Error at [...]/build/tmp/work/x86_64-linux/libsdl2-native/2.0.20-r0/recipe-sysroot-native/usr/share/cmake-3.22/Modules/FindPkgConfig.cmake:890 (message):
|   None of the required 'libunwind' found
| Call Stack (most recent call first):
|   CMakeLists.txt:1367 (pkg_search_module)

Ideally, the libunwind issue would be fixed, and then this could be added
to the libsdl2 recipe:

DEPENDS:append:class-native = " libunwind-native"

However, the libunwind problem is not trivial to fix, and requires a
specific setup to reproduce. As an alternative workaround, turn off
libunwind support in the native SDL2 build by disabling the unwind.h
check in the CMake script (this subsequently turns off all the other
libunwind checks). The main user of libsdl2-native is qemu-native, which
does not need libunwind support in SDL2.

(From OE-Core rev: ecd044b09f8715353cbf20b39ce2b1fe9e620631)

Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-05 22:24:33 +01:00
Sean Anderson
91d6c03464 u-boot: Fix condition for install_spl_helper
The condition for calling install_spl_helper when compiling multiple
configs does not match the condition for a single config. This causes
compilation failures when ${UBOOT_FITIMAGE_ENABLE} is 1 but
${SPL_SIGN_ENABLE} is not.

Fixes: 5af4dfe83c2 ("u-boot: Add infrastructure to SPL verified boot")

(From OE-Core rev: 7dc155961649c022d33cf7c6a5155cdfa5dc2969)

Signed-off-by: Sean Anderson <sean.anderson@seco.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-05 22:23:40 +01:00
Abongwa Amahnui Bonalais
13eda43533 oe-init-build-env: add quotes around variables to prevent word splitting
Used shellcheck to add quotes to the variables. This is to make sure that
directories with names that have space between, such as
"Desktop/projects/test repo/poky" will not be considered as 2 separate
words. With this modification, running the command "source
oe-init-build-env" will not give the error "bash: oe-init-build-env: No
such file or directory"

(From OE-Core rev: b07a70fbf78f2beba639580e37dffbc0a73bc99f)

Signed-off-by: Abongwa Bonalais Amahnui <abongwabonalais@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-05 22:23:40 +01:00
Sundeep KOKKONDA
601befb6c7 meta: scripts - relocation script adapted to support big-endian machines
relocate_sdk.py was developed for little-endian architures and when tries
to install SDK for big-endian machines errors like below will be shown.
Error: struct.error: unpack requires a string argument of length 32. SDK could
not be set up. Relocate script failed. Abort!
Error: IOError: [Errno 22] Invalid argument. SDK could not be set up. Relocate
script failed. Abort!

To fix this, script is modified to support big-endian architecture.

(From OE-Core rev: 7d6f4b1373e4dfafc63702ef2426cd45100f18a3)

Signed-off-by: Sundeep KOKKONDA <sundeep.kokkonda@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-05 22:23:40 +01:00
Claudius Heine
498f9c58c8 os-release: add os-release-initrd package
When systemd is used inside an initramfs, it uses the presence of
`/etc/initrd-release` to detect when the system is in the initrd phase.
Otherwise `/etc/initrd-release` has the same format as
`/etc/os-release`.

Add `os-release-initrd` package to provide `/etc/initrd-release` as a
symlink to the os-release file. To avoid adding this file to the
`os-release` package, explicitly only add `/etc/os-release` to the
`os-release` package.

(From OE-Core rev: 6311fb6f412ef923cc0b34a821e875990fc043f5)

Signed-off-by: Claudius Heine <ch@denx.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-05 22:23:40 +01:00
Alexandre Belloni
4a77431efc pseudo: Fix handling of absolute links
Update to a version of pseudo which has a fix for absolute links,
evaluating them from the chroot path.

(From OE-Core rev: 33147b89bc3c9e9bdd53a942a5551d8a1d06130c)

Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-05 22:23:40 +01:00
Saul Wold
a2b9eea5b0 depmodwrapper-cross: Fix missing $
(From OE-Core rev: 8c95be7dd3940d7c513f3d8a9071ac173a6528d5)

Signed-off-by: Saul Wold <saul.wold@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-05 22:23:40 +01:00
Richard Purdie
0bf2fd1627 Revert "meta: rust: Bug fix for target definitions returning 'NoneType'"
This reverts commit ef49f89c89889466ee3696ab680f8e10c961a677.

This appears to cause build failures which didn't originally show up in
testing, reverting for now.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-05 17:41:09 +01:00
Peter Kjellerstedt
12b4074675 bitbake: knotty.py: Show elapsed time also for tasks with progress bars
While the progress bar is good at conveying information about how much
of a task has executed, the elapsed time of the task is still very
much relevant to show.

(Bitbake rev: 41eeb4f34fb2306303f7688ec5e0ae965a573aa4)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-05 10:50:08 +01:00
Sundeep KOKKONDA
e4c16d1112 meta: rust: Bug fix for target definitions returning 'NoneType'
The build shows below error while building for arm machines.
Exception: TypeError: int() argument must be a string, a bytes-like object or a number, not 'NoneType'
Detailed error info : https://lists.openembedded.org/g/openembedded-core/message/164004

All the target definitions within tspec dictionary are generted as
NoneType. The changes will fix this issue.

(From OE-Core rev: ef49f89c89889466ee3696ab680f8e10c961a677)

Signed-off-by: Sundeep KOKKONDA <sundeep.kokkonda@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-05 10:49:36 +01:00
Bruce Ashfield
fd22b5e488 linux-yocto/5.10: features/security: Move x86_64 configs to separate file
Integrating the following commit(s) to linux-yocto/.:

    2278ed571c1 features/security: Move x86_64 configs to separate file

(From OE-Core rev: 294b49c51fbd775c712939c79ecfee219db2a405)

Signed-off-by: Kamil Dziezyk <kamil.dziezyk@arm.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-05 10:49:36 +01:00
Bruce Ashfield
5979a3928f linux-yocto/5.15: features/security: Move x86_64 configs to separate file
Integrating the following commit(s) to linux-yocto/.:

    63e25b57177 features/security: Move x86_64 configs to separate file

(From OE-Core rev: 1927094f0daed50274eacb5a18f58960196119e0)

Signed-off-by: Kamil Dziezyk <kamil.dziezyk@arm.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-05 10:49:36 +01:00
Bruce Ashfield
3a2b9dfa75 linux-yocto-rt/5.15: aufs: compile fix
Integrating the following commit(s) to linux-yocto-rt/5.15:

    29d051cc421a aufs: update compile fix for v5.15+ preempt-rt kernels

(From OE-Core rev: 11d560625541757beff331ef13d372e6d73c0584)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-05 10:49:36 +01:00
Bruce Ashfield
7d45877e26 linux-yocto/5.15: aufs: fixes and optimization
Integrating the following commit(s) to linux-yocto/5.15:

    b98d189df02c aufs: bugfix, umount passes NULL to ->parse_monolithic()
    13b883cbbbd9 aufs standalone: cosmetic, missing copyright sentence
    21f8b0d81898 aufs: 5.15.5-20220117 ---> 5.15.5-20220221
    6199fd896645 aufs: tiny, headers after fs_context
    8ddb40e31c29 aufs: fs_context 7/7, finally remount
    69035f71c6fd aufs: fs_context 6/7, now mount
    bc841b970697 aufs: fs_context 5/7, parse all other mount options
    435188053da2 aufs: fs_context 4/7, parse xino options
    9af1f1825cbd aufs: fs_context 3/7, parse the branch-management options
    1c05eb767f8c aufs: fs_context 2/7, parse "br" mount option
    a8488f603134 aufs: fs_context 1/7, skelton of the new shceme
    8e32e0015564 aufs: pre fs_context, convert a static flag to a macro
    f90cb4144aec aufs: pre fs_context, support the incomplete sb and sbinfo case
    948762ef859c aufs: pre fs_context, convert the type of alloc_sbinfo()
    77151a08776b aufs: 5.15.5-20211129 ---> 5.15.5-20220117
    2539adbbbe1e aufs: 5.14-20211018 ---> 5.15.5-20211129
    7d32b25193c4 aufs: for v5.15-rc1, sync_inode() is gone
    66ec0c509225 aufs: for v5.15-rc1, new param 'rcu' for ->get_acl()
    69709dc518cd aufs: for v5.15-rc1, no mand-lock anymore
    ada8fe9543e5 aufs: 5.14-20210906  ---> 5.14-20211018
    b77f7f3f394a Revert "aufs: adjust to v5.15 fs changes"

(From OE-Core rev: fda812765b9e88d5bdf0fa5684ff968f413ef35c)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-05 10:49:36 +01:00
Bruce Ashfield
ade78510bd linux-yocto/5.10: update to v5.10.109
Updating linux-yocto/5.10 to the latest korg -stable release that comprises
the following commits:

    d9c5818a0bc0 Linux 5.10.109
    163960a7de13 llc: only change llc->dev when bind() succeeds
    2b5a6d771450 nds32: fix access_ok() checks in get/put_user
    c064268eb8ed wcn36xx: Differentiate wcn3660 from wcn3620
    95193d12f10a tpm: use try_get_ops() in tpm-space.c
    5d3ff9542a40 mac80211: fix potential double free on mesh join
    fcc9797d0d13 rcu: Don't deboost before reporting expedited quiescent state
    87f7ed7c3659 Revert "ath: add support for special 0x0 regulatory domain"
    c971e6a1c8fa crypto: qat - disable registration of algorithms
    9f4e64611ebe ACPI: video: Force backlight native for Clevo NL5xRU and NL5xNU
    0b2ffba2de50 ACPI: battery: Add device HID and quirk for Microsoft Surface Go 3
    2724b72b225d ACPI / x86: Work around broken XSDT on Advantech DAC-BJ01 board
    2c74374c2e88 netfilter: nf_tables: initialize registers in nft_do_chain()
    eb1ba8d1c3e2 drivers: net: xgene: Fix regression in CRC stripping
    a2368d10b7fb ALSA: pci: fix reading of swapped values from pcmreg in AC97 codec
    6936d2ecf822 ALSA: cmipci: Restore aux vol on suspend/resume
    cbd27127af5f ALSA: usb-audio: Add mute TLV for playback volumes on RODE NT-USB
    0ae81ef3ea0e ALSA: pcm: Add stream lock during PCM reset ioctl operations
    b560d670c87d ALSA: pcm: Fix races among concurrent prealloc proc writes
    a38440f00697 ALSA: pcm: Fix races among concurrent prepare and hw_params/hw_free calls
    8527c8f052fb ALSA: pcm: Fix races among concurrent read/write and buffer changes
    0f6947f5f520 ALSA: pcm: Fix races among concurrent hw_params and hw_free calls
    014c81dfb319 ALSA: hda/realtek: Add quirk for ASUS GA402
    05256f3fd6c9 ALSA: hda/realtek - Fix headset mic problem for a HP machine with alc671
    ca8247b4dfb8 ALSA: hda/realtek: Add quirk for Clevo NP50PNJ
    26fe8f31033b ALSA: hda/realtek: Add quirk for Clevo NP70PNJ
    80eab86a86d2 ALSA: usb-audio: add mapping for new Corsair Virtuoso SE
    5ce74ff70593 ALSA: oss: Fix PCM OSS buffer allocation overflow
    db03abd0dae0 ASoC: sti: Fix deadlock via snd_pcm_stop_xrun() call
    571df3393f52 llc: fix netdevice reference leaks in llc_ui_bind()
    56dc187b35d5 staging: fbtft: fb_st7789v: reset display before initialization
    351493858ebc tpm: Fix error handling in async work
    ea21245cdcab cgroup-v1: Correct privileges check in release_agent writes
    824a950c3f11 cgroup: Use open-time cgroup namespace for process migration perm checks
    f28364fe384f cgroup: Allocate cgroup_file_ctx for kernfs_open_file->priv
    9eeaa2d7d58a exfat: avoid incorrectly releasing for root inode
    ae8ec5eabb1a net: ipv6: fix skb_over_panic in __ip6_append_data
    25c23fe40e6e nfc: st21nfca: Fix potential buffer overflows in EVT_TRANSACTION
    9940314ebfc6 Linux 5.10.108
    37119edab8f4 Revert "selftests/bpf: Add test for bpf_timer overwriting crash"
    9248694dac20 esp: Fix possible buffer overflow in ESP transformation
    96340cdd5526 smsc95xx: Ignore -ENODEV errors when device is unplugged
    e27b51af5449 net: usb: Correct reset handling of smsc95xx
    b54daeafc1b0 net: usb: Correct PHY handling of smsc95xx
    204d38dc6a81 perf symbols: Fix symbol size calculation condition
    f0d43d22d241 Input: aiptek - properly check endpoint type
    98e7a654a5be scsi: mpt3sas: Page fault in reply q processing
    10a805334a11 usb: usbtmc: Fix bug in pipe direction for control transfers
    00bdd9bf1ac6 usb: gadget: Fix use-after-free bug by not setting udc->dev.driver
    28bc0267399f usb: gadget: rndis: prevent integer overflow in rndis_set_response()
    2c010c61e614 arm64: fix clang warning about TRAMP_VALIAS
    277b7f63948b net: mscc: ocelot: fix backwards compatibility with single-chain tc-flower offload
    2550afba2a30 net: bcmgenet: skip invalid partial checksums
    bf5b7aae86d3 bnx2x: fix built-in kernel driver load failure
    c07fdba12fb0 net: phy: mscc: Add MODULE_FIRMWARE macros
    ba50073cf4af net: dsa: Add missing of_node_put() in dsa_port_parse_of
    a630ad5e8b2d net: handle ARPHRD_PIMREG in dev_is_mac_header_xmit()
    336b6be6ad09 drm/panel: simple: Fix Innolux G070Y2-L01 BPP settings
    9d45aec02f7b drm/imx: parallel-display: Remove bus flags check in imx_pd_bridge_atomic_check()
    9b763ceda6f8 hv_netvsc: Add check for kvmalloc_array
    09a7264fb0d0 atm: eni: Add check for dma_map_single
    70b7b3c055fd net/packet: fix slab-out-of-bounds access in packet_recvmsg()
    169add82d201 net: phy: marvell: Fix invalid comparison in the resume and suspend functions
    01fac1ca8ab9 esp6: fix check on ipv6_skip_exthdr's return value
    d9fe590970c4 vsock: each transport cycles only on its own sockets
    ac7dd60946c0 efi: fix return value of __setup handlers
    fa3aa103e79c mm: swap: get rid of livelock in swapin readahead
    df3301dc60a3 ocfs2: fix crash when initialize filecheck kobj fails
    0f9b7b8df175 crypto: qcom-rng - ensure buffer for generate is completely filled

(From OE-Core rev: db6a636319ffd2b12c54b6ec1b3fdd670f9b6704)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-05 10:49:36 +01:00
Bruce Ashfield
5610408402 linux-yocto/5.15: update to v5.15.32
Updating linux-yocto/5.15 to the latest korg -stable release that comprises
the following commits:

    e29be6724adb Linux 5.15.32
    60981bb5ce18 llc: only change llc->dev when bind() succeeds
    22ac37c53065 nds32: fix access_ok() checks in get/put_user
    110dea31d48f m68k: fix access_ok for coldfire
    cdb96445297b wcn36xx: Differentiate wcn3660 from wcn3620
    476ddd23f818 tpm: use try_get_ops() in tpm-space.c
    12e407a8ef17 mac80211: fix potential double free on mesh join
    e65d28d4e9bf uaccess: fix integer overflow on access_ok()
    058d62a03e7d rcu: Don't deboost before reporting expedited quiescent state
    b094fece3810 drm/virtio: Ensure that objs is not NULL in virtio_gpu_array_put_free()
    5023652cc6e4 Revert "ath: add support for special 0x0 regulatory domain"
    4b6a48f87d03 Bluetooth: btusb: Add one more Bluetooth part for the Realtek RTL8852AE
    cb807cb52a8e crypto: qat - disable registration of algorithms
    57a2b3f8bf1c ACPI: video: Force backlight native for Clevo NL5xRU and NL5xNU
    a01ac2411489 ACPI: battery: Add device HID and quirk for Microsoft Surface Go 3
    8942aac69016 ACPI / x86: Work around broken XSDT on Advantech DAC-BJ01 board
    1bd57dea4561 netfilter: nf_tables: validate registers coming from userspace.
    fafb904156fb netfilter: nf_tables: initialize registers in nft_do_chain()
    3e27eafac659 drivers: net: xgene: Fix regression in CRC stripping
    c2052ad0c74f ALSA: pci: fix reading of swapped values from pcmreg in AC97 codec
    9abaacd6491e ALSA: cmipci: Restore aux vol on suspend/resume
    099a1cc21b16 ALSA: usb-audio: Add mute TLV for playback volumes on RODE NT-USB
    f4827c62b649 ALSA: pcm: Add stream lock during PCM reset ioctl operations
    51fce708ab89 ALSA: pcm: Fix races among concurrent prealloc proc writes
    cb6a39c5ebd0 ALSA: pcm: Fix races among concurrent prepare and hw_params/hw_free calls
    47711ff10c7e ALSA: pcm: Fix races among concurrent read/write and buffer changes
    33061d0fba51 ALSA: pcm: Fix races among concurrent hw_params and hw_free calls
    3b1bacd00ac3 ALSA: hda/realtek: Add quirk for ASUS GA402
    0e7cdc8059a0 ALSA: hda/realtek - Fix headset mic problem for a HP machine with alc671
    8e6ea2176222 ALSA: hda/realtek: Add quirk for Clevo NP50PNJ
    85060f4868db ALSA: hda/realtek: Add quirk for Clevo NP70PNJ
    10cdffd4854a ALSA: usb-audio: add mapping for new Corsair Virtuoso SE
    7a40cbf3579a ALSA: oss: Fix PCM OSS buffer allocation overflow
    5e431799c35b ASoC: sti: Fix deadlock via snd_pcm_stop_xrun() call
    e90729961083 llc: fix netdevice reference leaks in llc_ui_bind()
    5b2ca3b8213a Bluetooth: btusb: Add another Realtek 8761BU
    42b9f6d19faa tpm: Fix error handling in async work
    2317fd3b126c net: ipv6: fix skb_over_panic in __ip6_append_data
    a34c47b1ab07 nfc: st21nfca: Fix potential buffer overflows in EVT_TRANSACTION
    96e48ac9a685 Linux 5.15.31
    4c5d94990fa2 btrfs: skip reserved bytes warning on unmount after log cleanup failure
    23775775b9a6 perf symbols: Fix symbol size calculation condition
    e762f57ff255 Input: aiptek - properly check endpoint type
    0cd2dd4bcf4a scsi: mpt3sas: Page fault in reply q processing
    c69aef9db878 usb: usbtmc: Fix bug in pipe direction for control transfers
    2015c23610cd usb: gadget: Fix use-after-free bug by not setting udc->dev.driver
    56b38e3ca406 usb: gadget: rndis: prevent integer overflow in rndis_set_response()
    222f5e2d7f20 arm64: fix clang warning about TRAMP_VALIAS
    80974bb73027 iavf: Fix hang during reboot/shutdown
    800a17adb531 net: mscc: ocelot: fix backwards compatibility with single-chain tc-flower offload
    2d7cff7e1fee net: bcmgenet: skip invalid partial checksums
    6840fdeab423 bnx2x: fix built-in kernel driver load failure
    f07e0b020f7a net: phy: mscc: Add MODULE_FIRMWARE macros
    e396fda10ddf net: dsa: Add missing of_node_put() in dsa_port_parse_of
    11dab4a800a4 drm: Don't make DRM_PANEL_BRIDGE dependent on DRM_KMS_HELPERS
    a1adf00e1728 net: handle ARPHRD_PIMREG in dev_is_mac_header_xmit()
    8ee52c302191 drm/panel: simple: Fix Innolux G070Y2-L01 BPP settings
    43dcd410809e drm/imx: parallel-display: Remove bus flags check in imx_pd_bridge_atomic_check()
    ab0ab1761831 hv_netvsc: Add check for kvmalloc_array
    735f918cc2c8 iavf: Fix double free in iavf_reset_task
    b2bc45327e8c atm: eni: Add check for dma_map_single
    a055f5f2841f net/packet: fix slab-out-of-bounds access in packet_recvmsg()
    a296f3ae8009 net: phy: marvell: Fix invalid comparison in the resume and suspend functions
    b9820bf09f59 esp6: fix check on ipv6_skip_exthdr's return value
    093f11b49609 vsock: each transport cycles only on its own sockets
    1dcc1b888223 alx: acquire mutex for alx_reinit in alx_change_mtu
    4b49ba22a253 efi: fix return value of __setup handlers
    16ac5dca1e13 drm/mgag200: Fix PLL setup for g200wb and g200ew
    d4ad8736ac98 block: release rq qos structures for queue without disk
    6829aa17ca55 mm: swap: get rid of livelock in swapin readahead
    b786b64dcb31 ocfs2: fix crash when initialize filecheck kobj fails
    ab9337c7cb6f crypto: qcom-rng - ensure buffer for generate is completely filled

(From OE-Core rev: 957846679384179fdd04727cde2231ccc4137c1f)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-05 10:49:36 +01:00
Saul Wold
daafcdfb16 kmod: Update exclude patch to Accepted
Upstream made a few tweaks and accepted the patch.

(From OE-Core rev: 28b79449ed6d0a9920c252f75d0b40da5faa0fd7)

Signed-off-by: Saul Wold <saul.wold@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-05 10:49:36 +01:00
Richard Purdie
ca405e4529 vim: Upgrade 8.2.4524 -> 8.2.4681
License change is a date in the license file only.

This includes a fix for CVE-2022-0943.

(From OE-Core rev: 69bc2f37d6ca7fa4823237b45dd698b8debca0a9)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-05 10:49:36 +01:00
Richard Purdie
4b15ff6efb bitbake.conf: Drop unexports from a different era
A long time ago, we used to pass our parent execution environment into our task
environments during build. We stopped doing that for reproducibility and consistency
of builds. The variables TARGET_ARCH, DISTRO and MACHINE are not exported into
tasks and hence we don't need to unexport them. The resasons these exist is
therefore no longer relavent and they can be removed. This happens to improve
bitbake -e output from a user commandline perspective.

(From OE-Core rev: 8e97ff1560bd563251405cd92b6ccf5c9fcecf4b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-05 10:49:36 +01:00
Joe Slater
6459a06f2e unzip: fix CVE-2021-4217
Avoid a null pointer dereference.

(From OE-Core rev: 36db85b9b127e5a9f5d3d6e428168cf597ab95f3)

Signed-off-by: Joe Slater <joe.slater@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-04 13:00:16 +01:00
Richard Purdie
6b2ca96434 bitbake: data: Fix accidentally added parameter
This was only meant to be added for the handle_contains function in
a previous commit, fix it.

(Bitbake rev: 7399be398df39bc29e1b5eaac23b29cfae017abd)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-04 10:59:56 +01:00
Robert Yang
939142ff9c waffle: The surfaceless-egl and gbm requires opengl
Fixed when opengl is not in DISTRO_FEATURES:
ERROR: Nothing PROVIDES 'virtual/libgbm' (but /path/to/waffle/waffle_1.7.0.bb DEPENDS on or otherwise requires it)

(From OE-Core rev: a762162fa0f51b9c6187fd1fcfaad2f317f8762e)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-03 20:47:14 +01:00
Oleksandr Kravchuk
9646dae4b2 tzdata: update to 2022a
(From OE-Core rev: b280aecd79e95811f8baec6c4479c5752c54d9e5)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-03 20:47:14 +01:00
Peter Kjellerstedt
67cbfc8494 bitbake.conf: Remove ERROR_QA from BB_HASHEXCLUDE_COMMON
If a QA test is added to ERROR_QA, all package_qa tasks should rerun
to make sure any already existing errors are caught.

(From OE-Core rev: de7b559e4f5845e2b06d20836223f7d237322236)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-03 17:52:24 +01:00
Peter Kjellerstedt
decda506b3 insane.bbclass: Make changes to QA_EMPTY_DIRS trigger package_qa to rerun
If "empty-dirs" is in ERROR_QA, then changes to QA_EMPTY_DIRS should
trigger the package_qa tasks to be rerun.

(From OE-Core rev: 9f21f9b613c5aaf1883b3ad6eb6463014c2764cd)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-03 17:52:24 +01:00
Peter Kjellerstedt
8c9503880e insane.bbclass: Make do_qa_patch() depend on if patch-fuzz is in ERROR_QA
Adding "patch-fuzz" to ERROR_QA should trigger the patch tasks to
rerun to make sure any already existing fuzz is caught. This is
achieved by using bb.utils.filter() to see if "patch-fuzz" is in
ERROR_QA/WARN_QA as it adds whether the filtered strings are set or
not to the task hash.

(From OE-Core rev: 19a88df166862eb04fe6bee487796ef460d08771)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-03 17:52:24 +01:00
Richard Purdie
61d38cd3a2 mirrors: Switch glibc and binutils to use shallow mirror tarballs
These two repositories are large and overload our downloads server as a
premirror but the recipes are easier to maintain as git urls. Compromise
and use shallow clones for them.

In order to be effective, we need premirror entries on where to find
the shallow mirror tarballs.

(From OE-Core rev: 757c09a687a30063041a83dd756f5be769631eee)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-03 17:52:24 +01:00
Richard Purdie
dfc910bdc2 bitbake: pyinotify: Handle potential latent bug
The kernel inotify code can set more than one of the bits in the mask,
fsnotify_change() in linux/fsnotify.h is quite clear that IN_ATTRIB,
IN_MODIFY and IN_ACCESS can arrive together. We don't care about two
of these from a bitbake perspective but it probably explains why in
real world builds, we've seen:

pyinotify.ProcessEventError: Unknown mask 0x00000006

This module code assumes only one mask bit can be present. Since we
don't care about two of these events, just mask them out for now.
The "upstream" code is unmainained since 2015.

(Bitbake rev: 7fb93c2ce6dacd9b53fc3a227133a3493e6a6a1d)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-03 17:51:26 +01:00
Richard Purdie
d0082265d5 bitbake: cooker: Reset and rebuild inotify watches
The recent inotify changes can cause entire build trees to be monitored
which is suboptimal for performance.

Rather than trying increasingly convoluted tricks to try and handle add/removed
directories, rebuild the inotify watch when we reparse the configuration or
metadata.

(Bitbake rev: 3df322a200c28b45af1f2c92478c85eb7d20c38b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-03 17:51:26 +01:00
Richard Purdie
496cbc01ca bitbake: server/process: Disable gc around critical section
The python gc can trigger whilst we're holding the event stream lock
and when cleaning up objects, they can trigger warnings. This translates
into a new event which would then need the lock and we can deadlock.

Disable gc whilst we hold that lock to avoid this unfortunate and
problematic situation.

(Bitbake rev: 96a6303949cefd469bcf5ed250ff512271354357)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-03 17:51:26 +01:00
Richard Purdie
70d6360602 bitbake: data: Ensure vardepsexclude or BB_BASEHASH_IGNORE_VARS covers contains items
Adding bb.utils.filter('WARN_QA', 'patch-fuzz', d) when WARN_QA is in
BB_BASEHASH_IGNORE_VARS or in vardepsexclude should not add a dependency
on WARN_QA.

Fix it and add some tests.

(Bitbake rev: 6aecc2fe51a52020f6f13be08449e18d42e7a6b5)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-03 17:51:26 +01:00
Richard Purdie
b868387c42 bitbake: parse: Ensure any existing siggen is closed down first
We're still seeing issues with unclosed asyncio event loops. At the
init site, make sure any existing one is closed first to try and avoid
this.

(Bitbake rev: 78dee3c03c75a27531fcff26f9298fce2519bdde)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-03 17:51:26 +01:00
Sundeep KOKKONDA
99bcad583a gcc: sanitizer: Fix tsan against glibc 2.34
The patch is needed in order to support recent glibc (2.34).

libsanitizer/ChangeLog:
	PR sanitizer/101749
        * sanitizer_common/sanitizer_posix_libcdep.cpp: Prevent
	generation of dependency on _cxa_guard for static
	initialization.

(From OE-Core rev: c44c4e7fb3c860d9fcb2aada0c9d4acb1e1e8101)

Signed-off-by: Sundeep KOKKONDA <sundeep.kokkonda@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-03 11:29:05 +01:00
Alessio Igor Bogani
fb1291ea5f kernel.bbclass: Use KERNEL_IMAGEDEST instead of hardcoded boot path
The behaviour doesn't change because KERNEL_IMAGEDEST is defined as
'boot' in the same file (line 215).

(From OE-Core rev: b9c3db4953e4e7b423ba9ec5b618fd990c378bc1)

Signed-off-by: Alessio Igor Bogani <alessio.bogani@elettra.eu>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-03 10:40:31 +01:00
Simone Weiss
ffbf7d2b97 popt: add ptest
Add a ptest for popt to core-image-ptest-all. Provide a patch to popt to
adopt the test format to "simple test" and a script for running the test.
All tests passed on a trial run.

(From OE-Core rev: ffae118e7b1bdf704d9af0ad47809c3791b672b4)

Signed-off-by: Simone Weiss <simone.weiss@elektrobit.com>
Signed-off-by: David Niederpruem <david.niederpruem@elektrobit.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-03 10:40:31 +01:00
Peter Kjellerstedt
7e8d8b0dca python3-jinja2: Correct HOMEPAGE
(From OE-Core rev: 261778c1e3665b34c0d4e49bda63b520d5335587)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-03 10:40:31 +01:00
Khem Raj
1459f495ba glib-2.0: Backport patches C++ variant of g_atomic_int_compare_and_exchange()
This fixes a regression when glib-2.0 was used with clang.

(From OE-Core rev: a963f71e882e11c8e41dadf77944de408ad12acb)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-03 10:40:31 +01:00
Saul Wold
2a02a178af depmodwrapper: Use nonarch_base_libdir for depmod.d
This ensure that when depmod-native runs we can find the correct
exclude.conf information, in this case adding .debug to ignore
the .debug kernell modules. The kmod utilities like depmod can use
either /etc/depmod.d or /lib/depmod.d. The kmod recipe is installing
the existing search.conf to /lib/depmod.d (nonarch_base_lib)

When the busybox modutils are used, /lib/depmod.d is not used, so
it's safe add the exclude.conf file to /lib/depmod.d.

(From OE-Core rev: af3a8c11a0561c9f0a8055d4b1c7703ce56205af)

Signed-off-by: Saul Wold <saul.wold@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-03 10:40:31 +01:00
Saul Wold
708cbdf3c9 kmod: Add an exclude directive to depmod
This adds a new configuration directive to depmod that causes
depmod to exclude a give path entry like .debug.

kernel-dbg provides the modules .debug/<module>.ko files and
when installed either directly or when dbg-pkgs are selected
this can cause depmod to fail.

(From OE-Core rev: 5e7d09142da82c37aeab22c34d5314187c90bd84)

Signed-off-by: Saul Wold <saul.wold@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-03 10:40:31 +01:00
Saul Wold
d0a05c2cf9 busybox: Exclude .debug from depmod
As with the kmod version of depmod, exclude .debug from being
searched. Since busybox does not use the depmod.d and any
configuration file option is ignored we just hardcode it.

(From OE-Core rev: c082752c06d5723433886cbf7ce2d88a51fb64f1)

Signed-off-by: Saul Wold <saul.wold@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-03 10:40:31 +01:00
Richard Purdie
1976521190 bitbake: cooker: Avoid error if siggen wasn't setup
In some cases we'd never have setup a siggen so don't error in that case.

(Bitbake rev: bbaaf2cf7b5a9339d3790610e622020c19d52f5a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-01 23:14:01 +01:00
Richard Purdie
9b8eda7eb3 bitbake: cooker: Ensure any existing hashserv connection is closed
Ensure any exiting hash server connection is terminated before we start
a new bitbake session. This avoids errors seen with memory resident bitbake
when the asyncio event loop isn't closed correctly.

(Bitbake rev: 42ff9de77f24e2a0bec48a14b64c4b538e00b4af)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-01 23:14:01 +01:00
Richard Purdie
b731e47eeb bitbake: cooker: Restore sys.path and sys.modules between parses
When memory resident bitbake is active and we re-parse, the old module
configuration is present which can lead to strange errors. Reset this
when reparsing so the state is consistent. This fixes memory resident
bitbake errors.

(Bitbake rev: 951942c3c284ec2c62e730e145688033190af9b2)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-01 23:14:01 +01:00
Richard Purdie
fd1a6bad77 bitbake: cooker: Further fixes to inotify to fix memres bitbake issues
The previous fix for inotify wasn't quite correct as we need to modify
bbseen before calling add_filewatch(). We also need to ensure the parse
mtime cache is cleared when directories are added/removed. There was also
a typo in the original fix and the wrong watcher was being changed. Fix
the various issues which improves memory resident bitbake testing results.

(Bitbake rev: 66cadd6be58bce5f7a56556cf92efd8159fb0b0e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-01 23:14:01 +01:00
Khem Raj
3fdbeb0895 meson: Robustify compiler detection logic
meson would fail to detect compiler type in some rare care where
specific substring '-xt' is detected in compiler --version output and
it so happens that this string can be generated by clang --version if
clang is installed into a directory containing 'xt-' in its name. with
recipe specific sysroots, this is quite likely to happen in OE build
system as we are seeing the issue with newly proposed gnome-text-editor
recipe

https://lists.openembedded.org/g/openembedded-devel/topic/90150031#96301

(From OE-Core rev: ff75909f2a9e970aaf389e0012888c29f02376e3)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-01 23:11:38 +01:00
Oleksandr Kravchuk
2802ea07a8 python3: update to 3.10.4
(From OE-Core rev: 17e7d71ca8972b971156e83d14a89a7fe5e0f4e5)

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-01 23:11:38 +01:00
Ross Burton
9bcf56e6e7 oeqa/selftest: generalise test_devtool_virtual_kernel_modify
Generalise this test so that it works on more than qemux86-64:

- Don't edit a file in arch/x86 to cause a rebuild, instead use init/
- Look for the edits in the build tree, as the deployed kernel could be
  of any type (zImage/bzImage/etc) and edits may be in the compressed
  part.

Also remove redundant checks on the result of runCmd(), as this will
raise AssertionError exceptions itself so the explicit asserts will
never trigger.

(From OE-Core rev: f1d2b2ec51f748a28d1bca6615558d553876e5c3)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-01 23:11:38 +01:00
Ross Burton
c4436040eb oeqa/selftest/wic: use self.td instead of get_bb_var to save on bitbake calls
When a test case starts, self.td is populated with all the variables in
the data store.  Typically this can be used instead of get_bb_var(),
which saves a bitbake call per variable lookup.

The only catch is that in parallel runs the build directory is moved
after td is populated, so paths in the build directory are wrong: these
still need to be fetched in the test.

(From OE-Core rev: 884201c6c1bbf7c1b958bab7d7c91e27577eeaac)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-01 23:11:38 +01:00
Ross Burton
12a1456b06 oeqa/selftest/wic: use os.path.join to join paths
Instead of using string concatenation, use os.path.join.

(From OE-Core rev: 73d1b7163792ec089ffb3bf99f1b4f8760beaea7)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-01 23:11:38 +01:00
Ross Burton
ada2cbb682 oeqa/selftest/wic: rearrange tests
Split the tests into further classes: one which exercises the CLI and
doesn't need to build images at all, and another which is just the
tests that manipulate existing images.

(From OE-Core rev: c9bc4def71325dba7b7ad93001f7fe1acced0bea)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-01 23:11:38 +01:00
Ross Burton
443d557ba0 oeqa/selftest/wic: cleanup WicTestCase.setUpLocal
Use os.path.join to construct paths, and invoke bitbake once instead of
three times.

(From OE-Core rev: 27953d4cf6edc86cd505826c3da21222864c7760)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-01 23:11:37 +01:00
Ross Burton
679917f98f oeqa/selftest/oescripts: refactor skipping logic
OEScriptTests currently skips if cairo isn't present, and does a build
of core-image-minimal.  This is only required for the
OEPybootchartguyTests tests, so move that logic there so that the
OEListPackageconfigTests run even if cairo isn't available.

This leaves OEScriptTests as a simple class containing the scripts_dir
assignment, which can then be reused by other tests to avoid code
duplication.

(From OE-Core rev: fe3ee517772ad8396fcac21ae7eb8d1c8b68fbdb)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-01 23:11:37 +01:00
Ross Burton
fcc9c0ab37 oeqa: rationalise skipifqemu decorators
(From OE-Core rev: 1a3a37cc2b16a8d5cd2258b0b35be43baa363f67)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-01 23:11:37 +01:00
Ross Burton
416cce968d oeqa/selftest: tag tests that use runqemu
There may be environments or machines which don't have working runqemu,
so tag all of the tests which use runqemu() so that they can be skipped.

(From OE-Core rev: 3f45ce6d2b1dfde8bc3d554397d55f81846c52d5)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-01 23:11:37 +01:00
Ross Burton
4e5f84902e oeqa/core/decorators/data: improve has_* logic
has_feature() should be splitting the feature string into substrings and
then looking for membership instead of looking for simple substrings.

has_machine() should be using equality instead of substrings.

(From OE-Core rev: a4c63819234e252c58e040af8bbdbfb96b6feccf)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-01 23:11:37 +01:00
Ross Burton
668753b8ed oeqa/selftest: remove unused imports
(From OE-Core rev: 7ef7b03eeefc0a9911fd62c73e346fa5aeeb09eb)

Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-01 23:11:37 +01:00
Ross Burton
f4205dcf3d oeqa/core/utils/misc: remove redundant file
This file dates back to 2016. Half of the functions have never been used,
the rest are used in one place and have now been replaced.

(From OE-Core rev: 5a053b2a84e7a671925fb4a78005145786c57f6a)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-01 23:11:37 +01:00
Ross Burton
da6930c6f4 testimage: inline updateTestData()
updateTestData() is just a simple loop that is only used here, so just
inline it.

(From OE-Core rev: 2dfe2f68307a441fff2f5018408558bca63f7d03)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-01 23:11:37 +01:00
Ross Burton
ccc03581f5 oeqa/core/decorator: remove redundant code
There's no need to wrap *tags in a potential list, as *tags will always
be a tuple.

(From OE-Core rev: 54210c518bcb76d80c8ec9564d1ddf344e9d8924)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-01 23:11:37 +01:00
Ross Burton
b9df97f59c oeqa/runtime/decorator/package.py: remove use of strToSet
There's no need to use a series of over-generalised functions to just
wrap a string in a tuple.

(From OE-Core rev: 080854fe346a76f5fbe25058ba1b2425a0459b5e)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-01 23:11:37 +01:00
Ross Burton
dd6987f49b oeqa/selftest/buildoptions: set PACKAGE_CLASSES in test_arch_work_dir_and_export_source
test_arch_work_dir_and_export_source uses the archiver to generate SRPMS,
so explicitly set PACKAGE_CLASSES to ensure that package_rpm is used.

(From OE-Core rev: 030157fa8dd405be60c55523e074b2ec950d36ad)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-01 23:11:37 +01:00
Ross Burton
1985249632 oeqa/selftest/wic: add more arch-specific annotations
Some tests which are marked as x86-specific will actually work on
aarch64 (e.g. use EFI), whilst some other tests really are x86-specific
(e.g. use syslinux).

(From OE-Core rev: 1285bdaa4f472519083c03946ee34c7d8c204e27)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-01 23:11:37 +01:00
Ross Burton
e2d112b471 oeqa/selftest/wic: don't hardcode kernel image type in test_wic_rm
Don't assume bzImage, resepct KERNEL_IMAGETYPE.

(From OE-Core rev: f03d47833593734489e73f054f41c3dbbe423204)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-01 23:11:37 +01:00
Ross Burton
e9c8d638f9 oeqa/selftest/wic: clean up only_for_arch decorator
There's no need to pass a recipe name when determining the target
architecture, there's no need to cap the size of the lru_cache as it
will only have one entry, and __name__ is set by @wraps.

(From OE-Core rev: e8e6c679f6eb74cb25c124a18af88dd5c2e2c833)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-01 23:11:37 +01:00
Ross Burton
8d01207fd7 oeqa/selftest/wic: remove redundant asserts
By default bitbake() will raise an assertion if it fails, so there's no
need to wrap it in a further assert.

(From OE-Core rev: de3c8994dc482cf5e9f3317c4762fe4ac35d9f31)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-01 23:11:37 +01:00
Ross Burton
6cd1a31bef oeqa/selftest/wic: use os.rename instead of bb.utils.rename
bb.utils.rename() only exists to handle moves across filesystems. As
these moves are within the same directory we can just use os.rename().

(From OE-Core rev: 450e09b6d4ca019848aec4c62fce280a09395b97)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-01 23:11:37 +01:00
Ross Burton
13a1e484c3 oeqa/selftest/devtool: ensure Git username is set before upgrade tests
The 'devtool upgrade' tests fail if Git doesn't know the user's name or
email, so verify this before the tests start and skip if it is not.

(From OE-Core rev: b4d8aca97a1ead38ce55f3bb5859d3d05d9dd84f)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-01 23:11:37 +01:00
Ross Burton
c580bc6008 image_types: hddimg and iso only work on x86
These image types use syslinux which is only available on x86, so only
add them to IMAGE_TYPES on x86.

(From OE-Core rev: 2ea047a026dd61a8e0a24c6bbe278849485a2c27)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-01 23:11:37 +01:00
Ross Burton
3087e2f2e6 buildtools-tarball: include nativesdk-python3-pyyaml
BitBake can optionally 'import yaml' if BB_LOGCONFIG specifies a yaml
file.  This is a 3rd party module, so that this works out of the box
when buildtools is used -- either explicitly via buildtools-tarball or
implicitly via eSDK --  we can add pyyaml to the buildtools.

(From OE-Core rev: 6be90f884bb3fc87d9aa21cb882a835d6bc583a9)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-01 23:11:37 +01:00
Richard Purdie
d677826f85 initscripts: Clean up license handling/identifiers
The license is clear, add an SPDX license identification headers to the scripts
and drop the weird patch, we don't need it.

(From OE-Core rev: 540041ac80cfc91df61b45d48f9c9ebbc9b2e71e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-01 23:11:37 +01:00
Richard Purdie
7431f7766d keymaps: Clean up license handling
The license is clear, add an SPDX license identification header to the script
and drop the weird patch, we don't need it.

(From OE-Core rev: 17d981005a0c0c97702ad88602b7181b69bcc9eb)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-01 23:11:37 +01:00
Richard Purdie
21c3f09880 modutils-initscripts: Change license PD -> MIT
The file was originally added to OE here:
https://git.openembedded.org/openembedded/commit/modutils/files/modutils.sh?id=3b3989442075d0a4c6c32cb187de17d87bf65fbd

and the license added here as "PD":
https://git.openembedded.org/openembedded/commit/modutils/modutils-initscripts.oe?id=4f7d2b1b63d166e5de146d71e5c942419424446e

As "Public Domain", we can re-license it to MIT, which fits in with the rest of
our metadata and has an SPDX identifier, so lets do that and try and keep our
licenses simpler.

This also them removes the need for a weird license patch in SRC_URI.

(From OE-Core rev: d00628aac051cfc2ceffbc42f896a4672fdbcab1)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-01 23:11:37 +01:00
Richard Purdie
e00f9ea165 base: Clean up module import compatibility code
This code was for old versions of bitbake which we're now long past. Drop it
and simplify the code.

(From OE-Core rev: d5301d008a5cc02a08d660691fce2c18ed8028d7)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-01 23:11:37 +01:00
Richard Purdie
61c7c8f175 base: Don't add duplicates to sys.path
We can re-trigger this code and there is little point in stacking a ton of duplicate
paths which just waste time during searches for modules. This could in theory alter
layer module search order but that seems unlikely in common use.

(From OE-Core rev: dadce8468db1c0fd0e04801cdc6cf287c2808477)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-04-01 23:11:37 +01:00
Jagadeesh Krishnanjanappa
ee5f9d9fdd cmake: support to create per-toolchain cmake file in SDK
The patch creates ${MULTIMACH_TARGET_SYS}-toolchain.cmake file
at ${SDK_INSTALL_DIR}/sysroots/${SDK_SYS}/usr/share/cmake/, which is
per-toolchain CMake toolchain file containing arch-specific values
and independent of OE environment variables.
The file gets created after installing SDK toolchain installer
ined by running "bitbake -c populate_sdk <image>".

The changes are similar to meson-setup.py which is used to
create arch-specific
${SDK_INSTALL_DIR}/sysroots/${SDK_SYS}/usr/share/meson/*-meson.cross

[YOCTO #14644]

Tested-by: Jan Dorniak <jaskij@gmail.com>
(From OE-Core rev: 42e68397ec74b3cd8ae5df45355c8f6254b48cd8)

Signed-off-by: Jagadeesh Krishnanjanappa <workjagadeesh@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-31 17:52:59 +01:00
Khem Raj
90862733ed weston: Add a knob to control simple clients
Some graphics driver implementations ( e.g sgx ) do not yet support APIs from mesa
21.x, and some portions of weston simple clients depend on these APIs,
therefore introduce a way to specify all or a selection fo clients to
build

Fixes

clients/weston-simple-dmabuf-feedback.p/simple-dmabuf-
feedback.c.o: in function `create_dmabuf_buffer':
| simple-dmabuf-feedback.c:(.text+0x1076): undefined reference to `gbm_bo_get_fd_for_plane'

(From OE-Core rev: 400aae43d08f0b9f787ac0d21cb3c97058d76748)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-31 17:52:59 +01:00
Rasmus Villemoes
767a6fb133 git: make expat and curl into PACKAGECONFIG items
It can be useful to use git on target (e.g. with some wrapper like
etckeeper for keeping track of changes to /etc), and for such cases,
it is likely one has no need for pulling from/pushing to http[s]
repositories. From the INSTALL file:

    - "libcurl" library ... If you do not use http:// or https://
      repositories, and do not want to put patches into an IMAP
      mailbox, you do not have to have them (use NO_CURL).

    - "expat" library; git-http-push uses it for remote lock
      management over DAV.  Similar to "curl" above, this is
      optional (with NO_EXPAT).

Setting --without-expat and --without-curl reduces the size of the
installed "git" package from 18M to 12M, in addition to avoiding
pulling those libraries into the rootfs.

(From OE-Core rev: 49f81198c5d233a9a2612c3b8366681dd85bea59)

Signed-off-by: Rasmus Villemoes <rasmus.villemoes@prevas.dk>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-31 17:52:58 +01:00
Richard Purdie
65c43b6894 mirrors: Add missing gitsm entries for yocto/oe mirrors
The missing gitsm:// mappings looks like an oversight, add them.

(From OE-Core rev: 6600b9fca7888fb41647cd000b9efb7f0762dfde)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-31 17:52:58 +01:00
Simon Kuhnle
5b5a7567bc convert-variable-renames: Fix typo in description
(From OE-Core rev: 8e3aa9638691709e136bf2005541bdfd4bb1a6f7)

Signed-off-by: Simon Kuhnle <simon.kuhnle@methodpark.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-31 17:52:58 +01:00
Chen Qi
adb7ff6a26 gobject-introspection: fix default search path for girdir
When running g-ir-scanner, we get the following error:

  Couldn't find include 'GObject-2.0.gir' (search path:
  '['/usr/lib64', 'gir-1.0', '/usr/local/share/gir-1.0', '/usr/share/gir-1.0',
  '/usr/share/gir-1.0', '/usr/share/gir-1.0']')

This is because g-ir-tool-template.in is not setting girdir correctly.
It's using the prefix instead of the actual girdir.

Note that we don't get such error at do_rootfs time because the extra
directories are speicified. But we will get such error at runtime when
multilib is enabled.

(From OE-Core rev: 4bc68b6a8187947516615e47f22a6b16d71c3b37)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-31 17:52:58 +01:00
Michael Opdenacker
a64ca37a13 migration-guides: preliminary description for 3.5
(From yocto-docs rev: 2c24dd801b8d9fa4b81726dcde34a69fde309e4a)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-31 11:46:03 +01:00
Michael Opdenacker
325c23cd0f manuals: fix quoting of double dashes
Otherwise rendered as "en" dashes by sphinx, for example:
git pull –rebase
instead of
git pull --rebase

Readers could confuse them with normal dashes.

Exception: replace by \-\- in italic text (*text*)
as Sphinx cannot nest italic and quoted text.

For consistency, also update quoting in strings in the same code hunks.

(From yocto-docs rev: 4e7ce372e37f76148f623a5295a15e08bc2603ff)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-31 11:46:03 +01:00
Michael Opdenacker
ecab5f3655 docs: add poky.yaml and sphinx-static/switchers.js to "make clean"
(From yocto-docs rev: 36d1be3db5f0c9c72aafdb414916ce5abc483f43)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-31 11:46:03 +01:00
Michael Opdenacker
01d846f21b overview-manual: add missing upper case
(From yocto-docs rev: 9de52ac713c89e3e7023148889c234d4ec4c6246)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-31 11:46:03 +01:00
Marta Rybczynska
54b7b0561e doc: migration-3.5: extend the section on inclusive language
Add the list of renamed and removed variables, show how the renaming
script works. Also mention the change in cve-check output.

(From yocto-docs rev: a0b55789035c8d44426b6ff8267b4042ef0a58ba)

Signed-off-by: Marta Rybczynska <marta.rybczynska@huawei.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-31 11:46:03 +01:00
Daniel Ammann
e16ad94999 ref-manual: Add vfat in list of filesystems supported by kickstart
(From yocto-docs rev: 6e09a7eb190c412fa282bde128a6f8f1b24fd713)

Signed-off-by: Daniel Ammann <daniel.ammann@bytesatwork.ch>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-31 11:46:03 +01:00
Daniel Ammann
b60b432d2c overview-manual: Fix reference
(From yocto-docs rev: 623bcfc66f42c334963bf51c262ef2fc5f9bbd91)

Signed-off-by: Daniel Ammann <daniel.ammann@bytesatwork.ch>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-31 11:46:03 +01:00
Peter Kjellerstedt
c3b7982d20 ref-manual: Remove references to AVAILABLE_LICENSES
The AVAILABLE_LICENSES variable has been removed from OE-Core.

(From yocto-docs rev: dd687b10e1a21222e8dcc3be29635fd3200a205b)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-31 11:46:03 +01:00
Ross Burton
f4549231b2 ref-manual: update Python class documentation
Add new PEP517_* variables, remove obsolete variables, and update for
renamed classes.

(From yocto-docs rev: 3984d4d0804125ba6fba7bf712edb81f97b4bec7)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-31 11:46:03 +01:00
Richard Purdie
28f2442520 set_versions/switchers: Drop versions shown to the active releases
I believe we should only be showing the "active" versions in the switchers
base list of releases to show. Zeus and warrior are old and no longer actively
maintained and we don't suggest new users use them. gatesgarth is also
outside it's support window.

I therefore propose removing these leaving us with dev, honister, hardknott,
dunfell (LTS). In addition, any release that is selected will be shown, along
with any later release in that release series.

People can still navigate to the older docs using the releases list or by
direct URL but this highlights to users which releases we'd expect/encourage
them to be using.

(From yocto-docs rev: 5bcd6a632ba2ebace9c65fe8529f8f1de40226ce)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-31 11:46:03 +01:00
Michael Halstead
1c4b8ba2eb releases: update to include 3.4.3
Build scripts now only require updates in master.

(From yocto-docs rev: af6a15e376733727eb26c9c2a6b6a85f6faea437)

Signed-off-by: Michael Halstead <mhalstead@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-31 11:46:03 +01:00
Richard Purdie
5fe3689f4f poky: Drop PREMIRRORS entries for scms
The reasons for this are lost in the mists of time. These are already
in OE-Core as MIRRORS and we should be falling back to the project as
a backup, not a default. Update accordingly.

(From meta-yocto rev: 1b71a3b9418fd928fb72bd23898cffe70c43d9d5)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-30 17:17:41 +01:00
Marta Rybczynska
b3f96e6fea cve-check: add coverage statistics on recipes with/without CVEs
Until now the CVE checker was giving information about CVEs found for
a product (or more products) contained in a recipe. However, there was
no easy way to find out which products or recipes have no CVEs. Having
no reported CVEs might mean there are simply none, but can also mean
a product name (CPE) mismatch.

This patch adds CVE_CHECK_COVERAGE option enabling a new type of
statistics. Then we use the new JSON format to report the information.
The legacy text mode report does not contain it.

This option is expected to help with an identification of recipes with
mismatched CPEs, issues in the database and more.

This work is based on [1], but adding the JSON format makes it easier
to implement, without additional result files.

[1] https://lists.openembedded.org/g/openembedded-core/message/159873

(From OE-Core rev: d1849a1facd64fa0bcf8336a0ed5fbf71b2e3cb5)

Signed-off-by: Marta Rybczynska <marta.rybczynska@huawei.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-30 13:07:41 +01:00
Marta Rybczynska
777f1d42b6 cve-check: add json format
Add an option to output the CVE check in a JSON-based format.
This format is easier to parse in software than the original
text-based one and allows post-processing by other tools.

Output formats are now handed by CVE_CHECK_FORMAT_TEXT and
CVE_CHECK_FORMAT_JSON. Both of them are enabled by default.

The JSON output format gets generated in a similar way to the
text format with the exception of the manifest: appending to
JSON arrays requires parsing the file. Because of that we
first write JSON fragments and then assemble them in one pass
at the end.

(From OE-Core rev: df567de36ae5964bee433ebb97e8bf702034994a)

Signed-off-by: Marta Rybczynska <marta.rybczynska@huawei.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-30 13:07:41 +01:00
Ross Burton
bbdf96885d zlib: backport the fix for CVE-2018-25032
(From OE-Core rev: 6dd0012846c22478c96655216a8bce44147956f8)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-30 13:07:41 +01:00
wangmy
eb9356d391 python3-urllib3: upgrade 1.26.8 -> 1.26.9
Changelog:
==========
- Changed urllib3[brotli] extra to favor installing Brotli libraries that are
  still receiving updates like brotli and brotlicffi instead of brotlipy.
  This change does not impact behavior of urllib3, only which dependencies are
  installed.
- Fixed a socket leaking when HTTPSConnection.connect() raises an exception.
- Fixed server_hostname being forwarded from PoolManager to HTTPConnectionPool
  when requesting an HTTP URL. Should only be forwarded when requesting an HTTPS URL.

(From OE-Core rev: 1c44078db4e8fc3ed992ede38708bea0dcf87f11)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-30 13:07:41 +01:00
wangmy
6e3e008831 python3-pytz: upgrade 2021.3 -> 2022.1
(From OE-Core rev: 6099720d01aaab4fd9c878e6026ab4fbb862421c)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-30 13:07:41 +01:00
wangmy
aedb0e59f3 python3-pytest-subtests: upgrade 0.6.0 -> 0.7.0
Changelog:
=========
Fixed support for pytest 7.0, and pytest>=7.0 is now required.

(From OE-Core rev: 34f6bc8ca0cfc310fd6ba494b995fa86d28b5a6e)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-30 13:07:41 +01:00
wangmy
1a32c6d7c7 python3-pytest-runner: upgrade 5.3.1 -> 6.0.0
Add dependency python3-distutils.

Changelog:
=========
- #49: Dropped workaround for older setuptools versions.
- Require Python 3.7.
- #58: Fixed syntax issue in changelog.

(From OE-Core rev: 06162fbbbacbfd705755b5898fb3343483807904)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-30 13:07:41 +01:00
wangmy
12be0d3efb python3-jinja2: upgrade 3.0.3 -> 3.1.1
(From OE-Core rev: 768de8fa99336f6232110cf4158b6bab36ec3c54)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-30 13:07:41 +01:00
wangmy
a4f7b5df01 python3-imagesize: upgrade 1.2.0 -> 1.3.0
Add dependency python3-xml.

(From OE-Core rev: ab1439ec24077461c92d2d150131aee81b2cfe66)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-30 13:07:41 +01:00
wangmy
50e0ff3d8f python3-hypothesis: upgrade 6.39.2 -> 6.39.5
Changelog:
=========
Improve error detection and message when Hypothesis is
run on a Python implementation without support for "-0.0", which is
required for the "floats()" strategy but can be disabled by unsafe
compiler options (issue #3265).

If the "shrink" phase is disabled, stop the "generate" phase as
soon as an error is found regardless of the value of the
"report_multiple_examples" setting, since that's probably what you
wanted (issue #3244).

(From OE-Core rev: 56702a6c8e066d3730dd336eeb98d10534226601)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-30 13:07:41 +01:00
wangmy
8622b07167 python3-dbusmock: upgrade 0.26.1 -> 0.27.3
Changelog:
=========
packit: Fix file name to sync

(From OE-Core rev: 2867273089a46a9d331df4cb11e97066e31a2169)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-30 13:07:41 +01:00
wangmy
5215dd41bd python3-asn1crypto: upgrade 1.4.0 -> 1.5.1
License-Update: year updated to 2022

Changelog:
=========
- Handle RSASSA-PSS in keys.PrivateKeyInfo.bit_size and
  keys.PublicKeyInfo.bit_size
- Handle RSASSA-PSS in keys.PrivateKeyInfo.wrap and keys.PublicKeyInfo.wrap
- Updated docs for keys.PrivateKeyInfo.algorithm and
  keys.PublicKeyInfo.algorithm to reflect that they can return "rsassa_pss"

(From OE-Core rev: 8fbe3bd4aca7a8906e342bcc9f27e205398919c3)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-30 13:07:41 +01:00
Michael Opdenacker
6d668da030 bitbake: bitbake: bitbake-user-manual: punctuation fixes
- Replace hyphens by em dashes when necessary
  See https://www.grammarly.com/blog/hyphens-and-dashes/
- No uppercase after em dashes
- No uppercase after colons if what follows is not a
  complete sentence.
- Fix spacing before colons ":"
- Replace em-dashes with colons for consistency in a section

(Bitbake rev: 72230d6a9976b3bfca1f1e6fb09736fec195e2fe)

(Bitbake rev: f1c4ac816e927f490fb9852c12aa408e8c9403b1)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-30 13:05:03 +01:00
Richard Purdie
f6cdd19553 bitbake: build: Add missing parameter to TaskInvalid
Fixes:

File "bitbake/lib/bb/build.py", line 585, in _exec_task
  event.fire(TaskInvalid(task, d), d)
TypeError: __init__() missing 1 required positional argument: 'metadata'

(Bitbake rev: 16ea4429344e36ff022616abd7fa74e5964b6d6a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-30 13:05:03 +01:00
Richard Purdie
4a5a2e67a8 bitbake: cooker: Rework force parser shutdown
The "force" option to parser shutdown was often the cause of lockups and
there is no good reason we should have two different behaviours.

Change and unify the codepaths to always:
  * Wait for longer for a controlled shutdown of a process (0.5s). Usually
    it will be much faster if it has finished so the delay doesn't really matter.
  * Send processes a SIGINT
  * Failing that, send a SIGTERM
  * Call .close() if available to release zombies

This means we no longer need the "force" parameter to the function so it is removed.

(Bitbake rev: de88c62ef873e9fce78ba162f5311d846de96f2b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-30 13:05:03 +01:00
Richard Purdie
928bcb10a4 bitbake: cooker/process: Fix signal handling lockups
If a parser process is terminated while holding a write lock, then it
will lead to a deadlock (see
https://docs.python.org/3/library/multiprocessing.html#multiprocessing.Process.terminate).

With SIGTERM, we don't want to terminate holding the lock. We also don't
want a SIGINT to cause a partial write to the event stream.

I tried using signal masks to avoid this but it doesn't work, see
https://bugs.python.org/issue47139

Instead, add a signal handler and catch the calls around the critical section.
We also need a thread lock to ensure other threads in the same process don't
handle the signal until all the threads are not in the lock.

(Bitbake rev: a40efaa5556a188dfe46c8d060adde37dc400dcd)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-30 13:05:03 +01:00
Richard Purdie
c0ff6c75ee bitbake: cooker: Simplify parser init function handling
Not sure why this is so convoluted but we should simplify it!

(Bitbake rev: 6195343c46ba9d2685fc2d42366922f88ff3f369)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-30 13:05:03 +01:00
Richard Purdie
849e26181d bitbake: cooker: Improve exception handling in parsing process
If an exception occurs in the parsing process, ensure the cleanup
is called via all codepaths using a try/finally.

(Bitbake rev: e1ba2a69f1fc02f01a851bce20b1badf0b991f03)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-30 13:05:03 +01:00
Richard Purdie
af5c7cf95f bitbake: cooker: Fix main loop starvation when parsing
When parsing, the parser isn't servicing the main loop so a Ctrl+C in the
UI won't be seen on the cooker/server side. Fix this by returning when queue
timeouts occur. This helps where there is a hung or slow parsing thread.

(Bitbake rev: a2cde38311a51112dca5e7bb4e7feaf4e6a281b3)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-30 13:05:03 +01:00
Richard Purdie
99f9b9b439 bitbake: cooker: Fix exception handling in parsers
We shouldn't be generating exception inside a generator. Rearrange the
code to improve the handling of this. Also fix the misconverted code
from when multiconfig was added and pass the exception as "result".

(Bitbake rev: ae89e23696de2f27c00ae00922933395171de5d5)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-30 13:05:03 +01:00
Luca Boccassi
259c30621f volatile-binds: add recipe variable to allow disabling OverlayFS
Use the new MOUNT_COPYBIND_AVOID_OVERLAYFS flag provided by mount-copybind.
When SELinux is enabled, processes accessing OverlayFS mounts will get a denial
if the process setting up the mount doesn't have all the permissions that
the accessor has.

(From OE-Core rev: 6002bdc77643c363a8326bf163baecba8b36e3e0)

Signed-off-by: Luca Boccassi <luca.boccassi@microsoft.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-29 15:59:29 +01:00
Ming Liu
240e5ab3c4 kernel-fitimage.bbclass: introduce FIT_SUPPORTED_INITRAMFS_FSTYPES
It was found when a end user wants to build a squashfs type initramfs
into fitimage, it just fails without printing out any error or warning
messages, which is not right.

Introduce a FIT_SUPPORTED_INITRAMFS_FSTYPES variable to avoid
hard-coding the supported initramfs types, and it could be overridden
in config files. Also break the build when none of a supported
initramfs type is found.

(From OE-Core rev: b0f8d8a4c063936b50d3ec7c066b29157b3c3544)

Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-29 15:59:29 +01:00
Ming Liu
dbedfdeed2 kernel-fitimage.bbclass: change 'echo' to 'bbnote'
Change 'echo' usages to 'bbnote' for better logging.

(From OE-Core rev: 3d05ba04824c7f08e42b1972bc0de538164b61ea)

Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-29 15:59:29 +01:00
Richard Purdie
c80a6a6e66 create-spdx: Avoid regex warning by quoting correctly
create-spdx.bbclass:43: DeprecationWarning: invalid escape sequence \W
  lic_regex = re.compile(b'^\W*SPDX-License-Identifier:\s*([ \w\d.()+-]+?)(?:\s+\W*)?$', re.MULTILINE)

(From OE-Core rev: 5dfb26d45f69c4d5dc4b6fcef084b830ef9dbf4c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-29 15:59:29 +01:00
Ross Burton
362c829ba1 qemu: backport fixes for CVE-2022-26353 and CVE-2022-26354
(From OE-Core rev: 73d3cb8cf089b66292c305973d85e14324f2022c)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-29 15:59:29 +01:00
Ross Burton
ee6f9706de grub: ignore CVE-2021-46705
This is specific to SUSE Linux.

(From OE-Core rev: 594baef3b08d40fbbf1899f4cadeb9931c035c1a)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-29 15:59:29 +01:00
wangmy
c84efb8750 sqlite3: upgrade 3.38.1 -> 3.38.2
(From OE-Core rev: a285f31f2ca2e8f71d5939862d09211b53adeefb)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-29 15:59:29 +01:00
wangmy
af6c5e1e22 msmtp: upgrade 1.8.19 -> 1.8.20
(From OE-Core rev: daf59ec209b1b7ca0ff62d0be1892781a3efd32b)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-29 15:59:29 +01:00
wangmy
1eb9143adc lttng-ust: upgrade 2.13.1 -> 2.13.2
(From OE-Core rev: bdde01d83f52103c9a93a90f481bcf8f2e7b301f)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-29 15:59:29 +01:00
wangmy
a18c050e1b lttng-modules: upgrade 2.13.2 -> 2.13.3
(From OE-Core rev: f9b3727b9f4014a8b08c2ba9c03b8b5f96f01083)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-29 15:59:29 +01:00
wangmy
55ccfd804f libsoup: upgrade 3.0.4 -> 3.0.5
(From OE-Core rev: 8f71ba57db3eb7ba7e6a4e835751a3329bde114d)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-29 15:59:29 +01:00
wangmy
e12ca44a67 libevdev: upgrade 1.12.0 -> 1.12.1
(From OE-Core rev: 531207205d5c3faf683fb262fc76bcba07c26955)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-29 15:59:29 +01:00
wangmy
94462c3df9 iproute2: upgrade 5.16.0 -> 5.17.0
0001-lib-fix-ax25.h-include-for-musl.patch
removed since it's included in 5.17.0

(From OE-Core rev: 4b0b5fa9dd82fe9492e1eba440f3dcee40572fb6)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-29 15:59:29 +01:00
wangmy
5bf17c55b2 glib-networking: upgrade 2.70.1 -> 2.72.0
(From OE-Core rev: 17e15809a0689eb4ce99e950d4e088ddb09435eb)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-29 15:59:29 +01:00
wangmy
e7b19130e1 dpkg: upgrade 1.21.2 -> 1.21.4
(From OE-Core rev: cddde2f9f6e229b750dc0bca8109f6a1f57d9dcd)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-29 15:59:29 +01:00
wangmy
eb2f29d6f8 diffoscope: upgrade 207 -> 208
(From OE-Core rev: 9befbe17c1ff8222c782489cead17e441a927ae1)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-29 15:59:28 +01:00
wangmy
cd22066284 cronie: upgrade 1.5.7 -> 1.6.0
(From OE-Core rev: 7a76c815d7204d098ac99bc6738b38adaf8cae5b)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-29 15:59:28 +01:00
wangmy
82a92d0b70 atk: upgrade 2.36.0 -> 2.38.0
(From OE-Core rev: 92fbc8cbbed2f7d7b43f73b80b236eb31a3c4da6)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-29 15:59:28 +01:00
wangmy
b8016ddbea apt: upgrade 2.4.0 -> 2.4.3
0001-aptwebserver.cc-Include-array.patch
refreshed for new version.

(From OE-Core rev: e147934d8dcb31a33ec3396d31a09aa9cdae2a90)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-29 15:59:28 +01:00
Stefan Herbrechtsmeier
04af73b8ba zstd: add libzstd package
Add a libzstd package to remove libstdc++ runtime dependency from
library users and reduce the dependencies and size of the library
package.

Add a lib package instead of a bin package to use a similar name as
other buildtools and be backward compatible.

(From OE-Core rev: 59041a5f945d480503e391f5f210f383412646b9)

Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-29 15:59:28 +01:00
Khem Raj
ff366d5949 qemu: Disable for ppc32
qemu no longer supports building for ppc32 hosts, therefore reflect this
in recipe

(From OE-Core rev: b94bf9d17d8157907d4b96f29276a7b58707124e)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-29 15:59:28 +01:00
Peter Kjellerstedt
a58cc124c1 python3: Add a dependency on ncurses
This avoids the following configuration error:

  The necessary bits to build these optional modules were not found:
  _curses               _curses_panel

which happens if the "readline" PACKAGECONFIG is disabled.

(From OE-Core rev: 70e0641069ca1e0e460000fe19662d6b3753b2ba)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-29 15:59:28 +01:00
Peter Kjellerstedt
9f6a6a5550 libdnf: Add a dependency on util-linux
This avoids the following configuration error:

  -- Checking for module 'smartcols'
  --   No package 'smartcols' found
  CMake Error at .../usr/share/cmake-3.22/Modules/FindPkgConfig.cmake:603 (message):
   A required package was not found

which happens if glib-2.0 is configured without the libmount
PACKAGECONFIG that otherwise depends on util-linux.

(From OE-Core rev: e9bbbe72221e56a82892981a5ff254e559795ac6)

Signed-off-by: Peter Kjellerstedt <pkj@axis.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-29 15:59:28 +01:00
Peter Kjellerstedt
4ca073b9c0 glib-2.0: Remove a leftover comment
The system-pcre PACKAGECONFIG was removed in commit e359ee75 (glib-2.0:
update 2.68.4 -> 2.70.0), but a comment was left behind.

(From OE-Core rev: a08655f3d97d947fb29c4b669790f68d661aae96)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-29 15:59:28 +01:00
Khem Raj
2ac59abcd4 grep: Fix build on ppc/musl
Backport a patch from libsigsegv

(From OE-Core rev: 59b55dd8cf87d5657061da32cec3506bb83ca1b0)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-29 15:59:28 +01:00
Khem Raj
9fa7faefc7 diffutils: Fix build on ppc/musl
Backport a patch from libsigsegv

(From OE-Core rev: 2115602f898f915c8e20358b5523da10d3b611f3)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-29 15:59:28 +01:00
Peter Kjellerstedt
279e754d86 bitbake: server/process: Correct a typo in a comment
(Bitbake rev: b4a157b2fe2fb481ffa40e0f32659d05dd6320c2)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-28 13:33:28 +01:00
Luca Boccassi
52cad1fe64 mount-copybind: add MOUNT_COPYBIND_AVOID_OVERLAYFS env var to skip OverlayFS
In some cases we don't want to even attempt to set up OverlayFS, for
example because SELinux in enforcing mode would kill the process
attempting to use the mount. See:

https://lore.kernel.org/all/CA+FmFJBDwt52Z-dVGfuUcnRMiMtGPhK4cCQJ=J_fg0r3x-b6ng@mail.gmail.com/T/#mef98aa406324096d1889d3d467251f30456f403c

If MOUNT_COPYBIND_AVOID_OVERLAYFS=1 is set, skip directly to copy and
bind mount.

(From OE-Core rev: a8e7dca69054798b1c9843a0de889cef3e261c4f)

Signed-off-by: Luca Boccassi <luca.boccassi@microsoft.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-26 09:33:32 +00:00
Luca Boccassi
23ef894641 mount-copybind: fix shellcheck warning
$ shellcheck meta/recipes-core/volatile-binds/files/mount-copybind

In meta/recipes-core/volatile-binds/files/mount-copybind line 54:
            mountcontext=",rootcontext=$(matchpathcon -n $mountpoint)"
                                                         ^---------^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean:
            mountcontext=",rootcontext=$(matchpathcon -n "$mountpoint")"

For more information:
  https://www.shellcheck.net/wiki/SC2086 -- Double quote to prevent globbing ...

(From OE-Core rev: 56c7962a6c31acfe0e118f713954aeafd7e2d9c0)

Signed-off-by: Luca Boccassi <luca.boccassi@microsoft.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-26 09:33:32 +00:00
Ross Burton
596fcd883f oeqa/runtime/context: remove duplicate sys.path entries when looking for modules
sys.path can contain duplicate entries for each layer, which means that
the search in add_controller_list() will find the same name twice and
abort.

As duplicate directories should be harmless, remove any duplicates before
iterating through the entries.

(From OE-Core rev: e478381ac1cccc5f882198fd11c8757db7e3741a)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-26 09:33:32 +00:00
Christian Eggers
02b01be41f librsvg: reenable nativesdk
Rust is now available for nativesdk. So the nativesdk build for librsvg
can be enabled again.

(From OE-Core rev: 96eac366b7b2ba3a826227f9bfe2c1bedea6943e)

Signed-off-by: Christian Eggers <ceggers@arri.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-26 09:33:32 +00:00
Christian Eggers
025c49b3cf rust-crosssdk: use ${RUST_LIBC} in ${PN}
TCLIBC is only valid for TARGET, not for HOST or NATIVESDK.
Fixes build of rust-crosssdk if TCLIBC is set to musl.

(From OE-Core rev: c0b353d19d4cd796e5e63c6bec72962854fe81f4)

Signed-off-by: Christian Eggers <ceggers@arri.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-26 09:33:32 +00:00
Christian Eggers
ab3f69296d machine-sdk: clear ABIEXTENSION for class-crosssdk
For nativesdk/crosssdk, we have no ABIEXTENSION. Fixes build of
rust-crosssdk if ABIEXTENSION is set toe something like "eabi".

(From OE-Core rev: adc1c99abaab3d6046edd3a26dd53a31181f97ca)

Signed-off-by: Christian Eggers <ceggers@arri.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-26 09:33:32 +00:00
Christian Eggers
ccef909c56 rust-common: override RUST_LIBC for crosssdk
For nativesdk/crosssdk, always glibc is used. Fixes build of
rust-crosssdk if TCLIBC is set to musl.

(From OE-Core rev: 67b4e0fdb13c81ab7e79109b6366fd7705b253ba)

Signed-off-by: Christian Eggers <ceggers@arri.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-26 09:33:32 +00:00
Christian Eggers
40d6b6baae glib-2.0: upgrade 2.70.4 -> 2.72.0
- 0001-gio-tests-resources.c-comment-out-a-build-host-only-.patch:
  dropped (integrated upstream)

News
====

* Bugs fixed:
 - #2620 g_time_zone_new_offset() assertion failure if offset >= 25 hours
 - #2538 Various unit test fixes
 - #2542 fuzzing: Fix test failure with G_DISABLE_ASSERT
 - #2547 gprintf: Fix a memory leak with an invalid format in g_vasprintf()
 - #2548 tests: Various fixes to gdbus-auth, gdbus-non-socket, gdbus-connection-flush, spawn-multithreaded tests
 - #2551 tests: More flaky test fixes to converter-stream and test-printf
 - #2552 gtlsconnection: fix typo in docs

* Translation updates:
 - Czech
 - French
 - Friulian
 - Hebrew
 - Hungarian
 - Italian
 - Kazakh
 - Polish
 - Romanian
 - Serbian
 - Swedish

(From OE-Core rev: bf088d1e9d13eca5b0fb1a4ab1cb689daaf1ff80)

Signed-off-by: Christian Eggers <ceggers@arri.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-26 09:33:32 +00:00
Khem Raj
e43cfbc69e musl: Update to latest master
brings following fixes

* 6d8a5157 fix invalid free of duplocale object when malloc has been replaced
* 760f5d7e fix __WORDSIZE on x32 sys/user.h
* bdb54540 sys/ptrace.h: add PTRACE_GET_RSEQ_CONFIGURATION from linux v5.13
* aa3bab6c sys/prctl.h: add PR_PAC_{SET,GET}_ENABLED_KEYS from linux v5.13
* a8300f5d elf.h: add NT_ARM_PAC_ENABLED_KEYS from linux v5.13
* dda21f10 netinet/in.h: add INADDR_DUMMY from linux v5.13
* ee05b11b bits/syscall.h: add landlock syscalls from linux v5.13
* 1ee8109e netinet/tcp.h: add tcp_zerocopy_receive fields from linux v5.12
* bc89c311 netinet/tcp.h: add TCP_NLA_* values up to linux v5.12
* 9ffd1454 s390x: add ptrace requests from linux v5.12
* f7d3db5b bits/syscall.h: add mount_setattr from linux v5.12
* e99c4258 signal.h: add new sa_flags from linux v5.11
* 993cccce signal.h: add SYS_USER_DISPATCH si_code value from linux v5.11
* 3dcbd896 signal.h: add si_code values for SIGSYS
* 30c8a145 netinet/tcp.h: add tcp zerocopy related changes from linux v5.11
* b54f481f netinet/if_ether.h: add ETH_P_CFM from linux v5.11
* c5ecaca7 sys/socket.h: add new SO_ socket options from linux v5.11
* f35b99b3 sys/prctl.h: add PR_SET_SYSCALL_USER_DISPATCH from linux v5.11
* b21f3ded bits/syscall.h: add epoll_pwait2 from linux v5.11
* 3aba2150 nice: return EPERM instead of EACCES
* 74a28a8a protect stack canary from leak via read-as-string by zeroing second byte
* 7c0c7a75 math: avoid runtime conversions of floating-point constants

(From OE-Core rev: 56c0629caebd7f22a09925333c2dc800901d7794)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-26 09:33:32 +00:00
Joe Slater
1e94dfcb04 libxml2: fix CVE-2022-23308 regression
The fix for the CVE in 2.9.13 caused a regression which
was addressed after 2.9.13.  We import that patch here.

(From OE-Core rev: f7fd194feb4f7993518388160acd5199fcfc3b26)

Signed-off-by: Joe Slater <joe.slater@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-26 09:33:32 +00:00
Richard Purdie
075aeeff2b oeqa/selftest/tinfoil: Fix intermittent event loss issue in test
We've been seeing occasional test failures on the autobuilder where
we don't see the expected events. It turns out this is due to
run_command being helpful and eating them if the server is fast and
the client slow. Adding a sleep into the run_command code makes the
failure consistent.

Use a new "handle_events" argument to allow us to handle all the
events which is what this test requires.

[YOCTO #14585]

(From OE-Core rev: 2292983c717b8cadcf0c443bb7b649a84ea5ad57)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-26 09:33:32 +00:00
Michael Olbrich
aceec5ee12 kernel.bbclass: avoid config changes based on the availability of pahole
CONFIG_PAHOLE_HAS_SPLIT_BTF shows up in the config only when pahole is
installed on the host system. As a result, the config changes depending on
whether pahole is installed or not.

Set PAHOLE=false to ensure that it is never found.

If this is actually needed in the future, then we can add an option for
it and create a host package for pahole.

(From OE-Core rev: 43b0eca2f3fc41a0d2ba7c7679687a3e0eb54b45)

Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
[afa: ported from PTXdist 0c0cec2288 to OE-core]
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-26 09:33:32 +00:00
Khem Raj
981cb14b42 qemu: Depend on libepoxy instead of virtual/libgl
- This abstracts on GL/GLES implementations
- Rename packageconfig to epoxy to match what code it doing underneath

(From OE-Core rev: 0ded646a83768868a1cc4dceb962ee707348af1b)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-26 09:33:32 +00:00
Richard Purdie
fe7b07476b perl: Add missing RDEPENDS
This allows quilt-ptest to work in an otherwise bare image. Without
this there are broken modules.

(From OE-Core rev: 0e359ba5134d8071c590936e0348e5bf97919845)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-26 09:33:32 +00:00
Michael Opdenacker
116cf79f2b bitbake: doc: bitbake-user-manual: branch parameter now mandatory in git SRC_URIs
(Bitbake rev: 981d1929937519cd98200a6ef291d97a16d358ad)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-26 09:27:43 +00:00
Michael Opdenacker
336b89ecd8 bitbake: doc: bitbake-user-manual: add branch parameter to git SRC_URI examples
This parameter is now required by the git fetcher module

(Bitbake rev: d61b349581c219e7f9d50f683177184fa473cb83)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-26 09:27:43 +00:00
Olaf Mandel
5cbdd2b483 bitbake: fetch2/git: stop generated tarballs from leaking info
When using BB_GENERATE_MIRROR_TARBALLS="1" to generate mirror tarballs
of git repositories, they leaked local information: username, group and
time of the last fetch. Remove all these by setting fixed information:

 * uname = pokybuild
 * gname = users
 * mtime = committer time of newest commit in repo

The username and group value were taken from the archives available on
the downloads.yoctoproject.org mirror. The modification time is chosen
so it still retains some relationship to the contents of the archive.

(Bitbake rev: 0178ab83e6312e97e528aa8c5e12105f5165d896)

Signed-off-by: Olaf Mandel <o.mandel@menlosystems.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-26 09:27:43 +00:00
Richard Purdie
7e273d09d0 bitbake: cooker: Fix inotify watches causing memory resident bitbake corruption
Thanks to great debugging from pavel@zhukoff.net we had a simpler reproducer
for the corruption see in oe-selftest when using BB_SERVER_TIMEOUT=60, i.e.
with bitbake in memory resident mode. This was effectively:

oe-selftest -r devtool.DevtoolUpgradeTests.test_devtool_upgrade devtool.DevtoolUpgradeTests.test_devtool_upgrade_git -j 1 -K

The issue is that if directories are removed (such as workspace), if
they are added again, we don't have the watches in place any more. This
patch adds some slightly paranoid checks to ensure we do the correct things
for directory additions and removals (we track directories, not files
specifically to avoid running out of watches).

[YOCTO #14023]

(Bitbake rev: 2c414f659d793d732041614caedd773959eb4f27)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-26 09:27:43 +00:00
Richard Purdie
cff6c1a18d bitbake: server/process: Move threads left debug to after cooker shutdown
This debug is useful but the cooker shutdown or post_serve() may have cleanup
left so run after those.

(Bitbake rev: 1463fc0448d1a6a7265806a4a8b165b610dfb43f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-26 09:27:43 +00:00
Richard Purdie
f0c28dddbe bitbake: siggen: Add missing reset handler to hashserv signature generator
When we have a client connection, we should close that connection when reset()
is called on the siggen. Add the missing function.

(Bitbake rev: 770b4ea81b6126b0830e51649c40f7a46c64132a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-26 09:27:43 +00:00
Richard Purdie
88fcf8422d bitbake: cooker/siggen: Support exit calls and use for hashserv client
We have shutdown functions within the async client code but the siggen
doesn't currently call them. We notice on python 3.10 (such as on fedora35)
that at exit, there is a stray asyncio process left behind. Usually this
doesn't cause problems but it could potentially be a cause of a hang.

For general cleanliness and completness, add in hooks to call the exit handler.

(Bitbake rev: 9ee3fb95330003878fbd64b3ce8897aad96fcd0f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-26 09:27:43 +00:00
Richard Purdie
a10ac380b7 bitbake: tinfoil: Allow run_command not to wait on events
There are some commands where we want to see the events returned so allow
the caller to request this. This also allows us to fix an infamous bug in
the tinfoil testsuite in OE-Core.

(Bitbake rev: 0e8421c41d97d5d50a553d70c8f775d521f1a199)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-26 09:27:43 +00:00
Peter Kjellerstedt
cd369a732e license.bbclass: Remove the available_licenses() function
It is no longer used in OE-Core.

(From OE-Core rev: aa662aae352c65cb5d13172bf98ed4ae3cb46c26)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-24 17:45:29 +00:00
Peter Kjellerstedt
fb0a43cd2f create-spdx.bbclass: Simplify extraction of license text
There is no reason to first search for all available licenses using
avail_licenses() and then search through the same paths looking for
the actual license texts. Just look for the license texts directly
instead.

(From OE-Core rev: 59eb405a80f0a0acf9b754b2b78399bacb0094ae)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-24 17:45:29 +00:00
Joe Slater
1f1fcb41b4 weston: use same distro features for weston and westion-init
We want to avoid situations (like world builds) where
weston-init will build, but weston won't.  This could
cause "nothing RPROVIDES..." dependency errors.  We set
required distro features in a common include file.

(From OE-Core rev: 1c7802f025eb3d9ee3310e083a5d8bef7178de9c)

Signed-off-by: Joe Slater <joe.slater@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-24 17:45:29 +00:00
Peter Kjellerstedt
d01b1919dc selftest/incompatible_lic: Remove references to AVAILABLE_LICENSES
The AVAILABLE_LICENSES variable has been removed from OE-Core.

(From OE-Core rev: bf4a7eee09245c0f7f8939f4cd522646fec6e507)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-24 17:45:29 +00:00
wangmy
e3c002527a libjitterentropy: upgrade 3.3.1 -> 3.4.0
License-Update: year updated to 2022

(From OE-Core rev: a70aac53da893c681b2a8a56753faa88e3059aeb)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-24 17:45:29 +00:00
wangmy
fe230e1bbf rng-tools: enable macro JENT_CONF_ENABLE_INTERNAL_TIMER
do_compile error :
| ../git/rngd_jitter.c: In function 'rngd_notime_start':
| ../git/rngd_jitter.c:56:45: error: invalid use of undefined type 'struct jent_notime_ctx'
|    56 |         ret = -pthread_attr_init(&thread_ctx->notime_pthread_attr);

enable macro JENT_CONF_ENABLE_INTERNAL_TIMER to use struct jent_notime_ctx

(From OE-Core rev: e9fac3b6d32262e489992b116275d3eabcc35b4a)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-24 17:45:29 +00:00
Richard Purdie
7bea963eed sanity: Add warning for local hasheqiv server with remote sstate mirrors
We're seeing a lot of users configuring an sstate mirror but not realising that
the default hash equivalenve setting will make this ineffective. Add a warning
to highlight this to the user for the common case.

(From OE-Core rev: ae4eb33b5a6a037348e8f66e3d4f19b58dba8fa2)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-24 17:45:29 +00:00
Minjae Kim
a03c6b912b virglrenderer: update SRC_URI
The git repo for virglrenderer was changed, so update the
SRC_URI accordingly with the new link.

(From OE-Core rev: 284ffefcb7731dfd317d535d3b1e363751aead01)

Signed-off-by:Minjae Kim <flowergom@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-24 17:45:29 +00:00
Minjae Kim
f59d1f19fc gnu-config: update SRC_URI
The git repo for gnu-config was changed, so update the
SRC_URI accordingly with the new link.

(From OE-Core rev: 6d0133c38fcb9b5ac3bdeaf65ef4d2cca2fc0586)

Signed-off-by:Minjae Kim <flowergom@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-24 17:45:29 +00:00
Bruce Ashfield
f1b8aefc15 linux-yocto/5.10: update to v5.10.107
Updating linux-yocto/5.10 to the latest korg -stable release that comprises
the following commits:

    4c8814277b5d Linux 5.10.107
    7a0d13ef67a1 arm64: kvm: Fix copy-and-paste error in bhb templates for v5.10 stable
    dc1163203ae6 io_uring: return back safer resurrect
    8fdaab341bad kselftest/vm: fix tests build with old libc
    2490695ffdba sfc: extend the locking on mcdi->seqno
    2fad5b694896 tcp: make tcp_read_sock() more robust
    3f9a8f8a952c nl80211: Update bss channel on channel switch for P2P_CLIENT
    0ba557d33094 drm/vrr: Set VRR capable prop only if it is attached to connector
    9a8e4a5c5b73 iwlwifi: don't advertise TWT support
    c5ea0221c816 atm: firestream: check the return value of ioremap() in fs_init()
    efdd92c18ed4 can: rcar_canfd: rcar_canfd_channel_probe(): register the CAN device when fully ready
    ebe106eac686 ARM: 9178/1: fix unmet dependency on BITREVERSE for HAVE_ARCH_BITREVERSE
    e8ad9ecc4069 MIPS: smp: fill in sibling and core maps earlier
    8c70b9b47004 mac80211: refuse aggregations sessions before authorized
    d687d7559e24 ARM: dts: rockchip: fix a typo on rk3288 crypto-controller
    6f0a94931c47 ARM: dts: rockchip: reorder rk322x hmdi clocks
    6493c6aa8b44 arm64: dts: agilex: use the compatible "intel,socfpga-agilex-hsotg"
    c5c8c649fee0 arm64: dts: rockchip: reorder rk3399 hdmi clocks
    f7f062919f41 arm64: dts: rockchip: fix rk3399-puma eMMC HS400 signal integrity
    ca142038a54f xfrm: Fix xfrm migrate issues when address family changes
    d8889a445b53 xfrm: Check if_id in xfrm_migrate
    6056abc99b58 sctp: fix the processing for INIT chunk
    bdf0316982f0 Revert "xfrm: state and policy should fail if XFRMA_IF_ID 0"
    327f1e7d813c Linux 5.10.106
    648895da69ce watch_queue: Fix filter limit check
    8bb5b72dbd9a ARM: fix Thumb2 regression with Spectre BHB
    6b1249db9e1c ext4: add check to prevent attempting to resize an fs with sparse_super2
    b297cf764d8c x86/traps: Mark do_int3() NOKPROBE_SYMBOL
    29f6f3500127 x86/boot: Add setup_indirect support in early_memremap_is_setup_data()
    b3444e5b640a x86/boot: Fix memremap of setup_indirect structures
    24d268130e3c watch_queue: Make comment about setting ->defunct more accurate
    ec03510e0a77 watch_queue: Fix lack of barrier/sync/lock between post and read
    06ab8444392a watch_queue: Free the alloc bitmap when the watch_queue is torn down
    880acbb718e1 watch_queue: Fix the alloc bitmap size to reflect notes allocated
    e2b52ca4988e watch_queue: Fix to always request a pow-of-2 pipe ring size
    2039900aadba watch_queue: Fix to release page in ->release()
    d729d4e99fb8 watch_queue, pipe: Free watchqueue state after clearing pipe ring
    573a3228ca32 virtio: acknowledge all features before access
    bf52b627cf47 virtio: unexport virtio_finalize_features
    8bfb959ea28d arm64: dts: marvell: armada-37xx: Remap IO space to bus address 0x0
    1ef5fe3dba2a riscv: Fix auipc+jalr relocation range checks
    a69aa422b478 mmc: meson: Fix usage of meson_mmc_post_req()
    0c6eeaf8c168 net: macb: Fix lost RX packet wakeup race in NAPI receive
    6d9700b44509 staging: gdm724x: fix use after free in gdm_lte_rx()
    8c1bc04c8c82 staging: rtl8723bs: Fix access-point mode deadlock
    ab5595b45f73 fuse: fix pipe buffer lifetime for direct_io
    f2c52a4baf56 ARM: Spectre-BHB: provide empty stub for non-config
    f1f5d089fcc6 selftests/memfd: clean up mapping in mfd_fail_write
    71013d071b50 selftest/vm: fix map_fixed_noreplace test failure
    8d276f10e84a tracing: Ensure trace buffer is at least 4096 bytes large
    ae7597b47dda ipv6: prevent a possible race condition with lifetimes
    8c0c50e9fcff Revert "xen-netback: Check for hotplug-status existence before watching"
    625c04b523ca Revert "xen-netback: remove 'hotplug-status' once it has served its purpose"
    a0e2768fb901 gpio: Return EPROBE_DEFER if gc->to_irq is NULL
    65d4e9d130fb hwmon: (pmbus) Clear pmbus fault/warning bits after read
    d15c9f6e3335 net-sysfs: add check for netdevice being present to speed_show
    8c023c303978 spi: rockchip: terminate dma transmission when slave abort
    889254f98e99 spi: rockchip: Fix error in getting num-cs property
    4fb9be675be8 selftests/bpf: Add test for bpf_timer overwriting crash
    dc1c2b47b539 net: bcmgenet: Don't claim WOL when its not available
    b7e4d9ba2ddb sctp: fix kernel-infoleak for SCTP sockets
    3cf533f12001 net: phy: DP83822: clear MISR2 register to disable interrupts
    21044e679ed5 gianfar: ethtool: Fix refcount leak in gfar_get_ts_info
    3a4cd1c51eea gpio: ts4900: Do not set DAT and OE together
    7702e7e9e396 selftests: pmtu.sh: Kill tcpdump processes launched by subshell.
    2b1c85f56512 NFC: port100: fix use-after-free in port100_send_complete
    1fdabf2cf42b net/mlx5e: Lag, Only handle events from highest priority multipath entry
    f3331bc17449 net/mlx5: Fix a race on command flush flow
    5f1340963b11 net/mlx5: Fix size field in bufferx_reg struct
    e2201ef32f93 ax25: Fix NULL pointer dereference in ax25_kill_by_device
    cc7679079c7e net: ethernet: lpc_eth: Handle error for clk_enable
    b3e4fcb53921 net: ethernet: ti: cpts: Handle error for clk_enable
    5e42f90d7220 tipc: fix incorrect order of state message data sanity check
    979b418b96e3 ethernet: Fix error handling in xemaclite_of_probe
    506d61bc1b50 ice: Fix curr_link_speed advertised speed
    852a9e97d396 ice: Rename a couple of variables
    b21ffd5469a9 ice: Remove unnecessary checker loop
    875967aff5a6 ice: Align macro names to the specification
    8c613f7cd3ca ice: stop disabling VFs due to PF error responses
    d9ee2cbff2e9 i40e: stop disabling VFs due to PF error responses
    965070a2b71d ARM: dts: aspeed: Fix AST2600 quad spi group
    96b01b854151 net: dsa: mt7530: fix incorrect test in mt753x_phylink_validate()
    ed5bb00d8604 drm/sun4i: mixer: Fix P010 and P210 format numbers
    93223495bce5 qed: return status of qed_iov_get_link
    5bee2ed0508b esp: Fix BEET mode inter address family tunneling on GSO
    16386479ef59 net: qlogic: check the return value of dma_alloc_coherent() in qed_vf_hw_prepare()
    33c74f808596 isdn: hfcpci: check the return value of dma_set_mask() in setup_hw()
    cca9d5035bd0 virtio-blk: Don't use MAX_DISCARD_SEGMENTS if max_discard_seg is zero
    a3d5fcc6cf2e mISDN: Fix memory leak in dsp_pipeline_build()
    f97ad179d12f mISDN: Remove obsolete PIPELINE_DEBUG debugging information
    2de76d37d4a6 tipc: fix kernel panic when enabling bearer
    ea3a5e6df512 arm64: dts: armada-3720-turris-mox: Add missing ethernet0 alias
    2c6a75ea32f9 HID: vivaldi: fix sysfs attributes leak
    2a18a38cbc3b clk: qcom: gdsc: Add support to update GDSC transition delay
    0d6882dd158e ARM: boot: dts: bcm2711: Fix HVS register range
    67c781d938b8 Linux 5.10.105
    561e91e5fee8 Revert "ACPI: PM: s2idle: Cancel wakeup before dispatching EC GPE"
    206c8e271ba2 xen/netfront: react properly to failing gnttab_end_foreign_access_ref()
    39c00d09286c xen/gnttab: fix gnttab_end_foreign_access() without page specified
    c4b16486d602 xen/pvcalls: use alloc/free_pages_exact()
    8357d75bfdb8 xen/9p: use alloc/free_pages_exact()
    17f01b7206af xen: remove gnttab_query_foreign_access()
    5f36ae75b847 xen/gntalloc: don't use gnttab_query_foreign_access()
    304725518277 xen/scsifront: don't use gnttab_query_foreign_access() for mapped status
    f6690dd9446a xen/netfront: don't use gnttab_query_foreign_access() for mapped status
    96219af4e504 xen/blkfront: don't use gnttab_query_foreign_access() for mapped status
    3d81e85f30a8 xen/grant-table: add gnttab_try_end_foreign_access()
    5c600371b8fd xen/xenbus: don't let xenbus_grant_ring() remove grants in error case
    90f59cc2f2cc ARM: fix build warning in proc-v7-bugs.c
    8c4192d126ba ARM: Do not use NOCROSSREFS directive with ld.lld
    1749b553d73b ARM: fix co-processor register typo
    a330601c637b ARM: fix build error when BPF_SYSCALL is disabled
    b65b87e718c3 arm64: proton-pack: Include unprivileged eBPF status in Spectre v2 mitigation reporting
    551717cf3b58 arm64: Use the clearbhb instruction in mitigations
    38c26bdb3cc5 KVM: arm64: Allow SMCCC_ARCH_WORKAROUND_3 to be discovered and migrated
    e192c8baa69a arm64: Mitigate spectre style branch history side channels
    192023e6baf7 KVM: arm64: Allow indirect vectors to be used without SPECTRE_V3A
    13a807a0a080 arm64: proton-pack: Report Spectre-BHB vulnerabilities as part of Spectre-v2
    1f63326a5211 arm64: Add percpu vectors for EL1
    56cf5326bdf9 arm64: entry: Add macro for reading symbol addresses from the trampoline
    3f21b7e35523 arm64: entry: Add vectors that have the bhb mitigation sequences
    49379552969a arm64: entry: Add non-kpti __bp_harden_el1_vectors for mitigations
    26211252c1c1 arm64: entry: Allow the trampoline text to occupy multiple pages
    73ee716a1f63 arm64: entry: Make the kpti trampoline's kpti sequence optional
    8c691e5308c5 arm64: entry: Move trampoline macros out of ifdef'd section
    e55025063276 arm64: entry: Don't assume tramp_vectors is the start of the vectors
    5275fb5ea5f5 arm64: entry: Allow tramp_alias to access symbols after the 4K boundary
    bda89602814c arm64: entry: Move the trampoline data page before the text page
    d93b25a66548 arm64: entry: Free up another register on kpti's tramp_exit path
    5242d6971e10 arm64: entry: Make the trampoline cleanup optional
    7048a21086fb arm64: spectre: Rename spectre_v4_patch_fw_mitigation_conduit
    dc5b630c0d53 arm64: entry.S: Add ventry overflow sanity checks
    97d8bdf33182 arm64: cpufeature: add HWCAP for FEAT_RPRES
    162aa002ec1a arm64: cpufeature: add HWCAP for FEAT_AFP
    dbcfa9853953 arm64: add ID_AA64ISAR2_EL1 sys register
    7ae8127e4123 arm64: Add HWCAP for self-synchronising virtual counter
    b19eaa004f2e arm64: Add Cortex-A510 CPU part definition
    86171569312b arm64: Add Cortex-X2 CPU part definition
    fc8070a9c5ad arm64: Add Neoverse-N2, Cortex-A710 CPU part definition
    f3c12fc53e0a arm64: cputype: Add CPU implementor & types for the Apple M1 cores
    302754d023a0 ARM: include unprivileged BPF status in Spectre V2 reporting
    3f9c958e3572 ARM: Spectre-BHB workaround
    29d9b56df1e1 ARM: use LOADADDR() to get load address of sections
    46deb224680b ARM: early traps initialisation
    b7f1e73c4ddf ARM: report Spectre v2 status through sysfs
    d04937ae9490 x86/speculation: Warn about eIBRS + LFENCE + Unprivileged eBPF + SMT
    cc9e3e55bde7 x86/speculation: Warn about Spectre v2 LFENCE mitigation
    e335384560d1 x86/speculation: Update link to AMD speculation whitepaper
    2fdf67a1d215 x86/speculation: Use generic retpoline by default on AMD
    afc2d635b5e1 x86/speculation: Include unprivileged eBPF status in Spectre v2 mitigation reporting
    071e8b69d780 Documentation/hw-vuln: Update spectre doc
    a6a119d647ad x86/speculation: Add eIBRS + Retpoline options
    f38774bb6e23 x86/speculation: Rename RETPOLINE_AMD to RETPOLINE_LFENCE
    206cfe2dac3e x86,bugs: Unconditionally allow spectre_v2=retpoline,amd
    97581b56b59f Linux 5.10.104
    dbbe09d95377 hamradio: fix macro redefine warning
    dcd03efd7e8d Revert "xfrm: xfrm_state_mtu should return at least 1280 for ipv6"
    292e1c88b8a5 btrfs: add missing run of delayed items after unlink during log replay
    41712c5fa518 btrfs: qgroup: fix deadlock between rescan worker and remove qgroup
    6e0319e77083 btrfs: fix lost prealloc extents beyond eof after full fsync
    827172ffa999 tracing: Fix return value of __setup handlers
    78059b1cfcd9 tracing/histogram: Fix sorting on old "cpu" value
    0e188fde82d7 HID: add mapping for KEY_ALL_APPLICATIONS
    f276ea5035aa HID: add mapping for KEY_DICTATE
    3b8f2a7aed80 Input: samsung-keypad - properly state IOMEM dependency
    a621ae6394ce Input: elan_i2c - fix regulator enable count imbalance after suspend/resume
    1397bbcd817f Input: elan_i2c - move regulator_[en|dis]able() out of elan_[en|dis]able_power()
    988f4f29cc44 net: dcb: disable softirqs in dcbnl_flush_dev()
    6828da5dea53 drm/amdgpu: fix suspend/resume hang regression
    f5e496ef73f3 nl80211: Handle nla_memdup failures in handle_nan_filter
    64e4305a03d0 iavf: Refactor iavf state machine tracking
    e6bc597fbcb2 net: chelsio: cxgb3: check the return value of pci_find_capability()
    320980b2496d ibmvnic: complete init_done on transport events
    86027004bb9d ARM: tegra: Move panels to AUX bus
    fbb810825aff soc: fsl: qe: Check of ioremap return value
    2824f6939e26 soc: fsl: guts: Add a missing memory allocation failure check
    3afe488d5c9c soc: fsl: guts: Revert commit 3c0d64e867ed
    44709130793b ARM: dts: Use 32KiHz oscillator on devkit8000
    298f6fae544f ARM: dts: switch timer config to common devkit8000 devicetree
    8b20c1999d3a s390/extable: fix exception table sorting
    49aa9c9c7fa7 memfd: fix F_SEAL_WRITE after shmem huge page allocated
    6acbc8875282 ibmvnic: free reset-work-item when flushing
    9d8a11d74de5 igc: igc_write_phy_reg_gpy: drop premature return
    223744f52133 pinctrl: sunxi: Use unique lockdep classes for IRQs
    2851b76e5fd0 selftests: mlxsw: tc_police_scale: Make test more robust
    85bf489c5c01 ARM: 9182/1: mmu: fix returns from early_param() and __setup() functions
    6b6341049086 ARM: Fix kgdb breakpoint for Thumb2
    fefe4cb4a640 igc: igc_read_phy_reg_gpy: drop premature return
    0632854fb171 arm64: dts: rockchip: Switch RK3399-Gru DP to SPDIF output
    43eaf1b17845 can: gs_usb: change active_channels's type from atomic_t to u8
    daaed6ced88c ASoC: cs4265: Fix the duplicated control name
    8b8ac465bf52 firmware: arm_scmi: Remove space in MODULE_ALIAS name
    667df6fe3ece efivars: Respect "block" flag in efivar_entry_set_safe()
    283c37e5429e ixgbe: xsk: change !netif_carrier_ok() handling in ixgbe_xmit_zc()
    5f394102ee27 net: arcnet: com20020: Fix null-ptr-deref in com20020pci_probe()
    92b791771abd ibmvnic: register netdev after init of adapter
    6e0f986032c5 net: sxgbe: fix return value of __setup handler
    e1a82db1ebaf iavf: Fix missing check for running netdev
    c9a066fe4593 mac80211: treat some SAE auth steps as final
    e6d7f57f919f net: stmmac: fix return value of __setup handler
    fa65989a4867 mac80211: fix forwarded mesh frames AC & queue selection
    dcc3423c1dca ia64: ensure proper NUMA distance and possible map initialization
    1312ef5ad0a5 sched/topology: Fix sched_domain_topology_level alloc in sched_init_numa()
    d753aecb3d4b sched/topology: Make sched_init_numa() use a set for the deduplicating sort
    05ae1f0fe9c6 ice: fix concurrent reset and removal of VFs
    41edeeaae51a ice: Fix race conditions between virtchnl handling and VF ndo ops
    0c145262ac99 rcu/nocb: Fix missed nocb_timer requeue
    9bb7237cc740 net/smc: fix unexpected SMC_CLC_DECL_ERR_REGRMB error cause by server
    d7eb662625eb net/smc: fix unexpected SMC_CLC_DECL_ERR_REGRMB error generated by client
    2e8d465b83db net/smc: fix connection leak
    6a8a4dc2a279 net: dcb: flush lingering app table entries for unregistered devices
    f4c63b24dea9 net: ipv6: ensure we call ipv6_mc_down() at most once
    a9c4a74ad5ae batman-adv: Don't expect inter-netns unique iflink indices
    3dae11d21fc8 batman-adv: Request iflink once in batadv_get_real_netdevice
    dcf10d78ff2c batman-adv: Request iflink once in batadv-on-batadv check
    81f817f3e559 netfilter: nf_queue: handle socket prefetch
    4d05239203fa netfilter: nf_queue: fix possible use-after-free
    3b9ba964f77c netfilter: nf_queue: don't assume sk is full socket
    4e178ed14bda net: fix up skbs delta_truesize in UDP GRO frag_list
    eb5e444fe37d e1000e: Correct NVM checksum verification flow
    b53d4bfd1a68 xfrm: enforce validity of offload input flags
    2f0e6d80e8b5 xfrm: fix the if_id check in changelink
    24efaae03b0d bpf, sockmap: Do not ignore orig_len parameter
    8b0142c4143c netfilter: fix use-after-free in __nf_register_net_hook()
    4952faa77d8d xfrm: fix MTU regression
    e93f2be33d4f mm: Consider __GFP_NOWARN flag for oversized kvmalloc() calls
    912186db092c ntb: intel: fix port config status offset for SPR
    1c0b51e62a50 thermal: core: Fix TZ_GET_TRIP NULL pointer dereference
    a1753d5c29a6 xen/netfront: destroy queues before real_num_tx_queues is zeroed
    ce41d8039196 drm/i915: s/JSP2/ICP2/ PCH
    61a895da4844 iommu/amd: Recover from event log overflow
    6951a5888165 ASoC: ops: Shift tested values in snd_soc_put_volsw() by +min
    dd9dd24fd7cb riscv: Fix config KASAN && DEBUG_VIRTUAL
    7211aab2881b riscv: Fix config KASAN && SPARSEMEM && !SPARSE_VMEMMAP
    00fb385f0ac4 riscv/efi_stub: Fix get_boot_hartid_from_fdt() return value
    336872601cb8 ALSA: intel_hdmi: Fix reference to PCM buffer address
    e57dfaf66f2b tracing: Add ustring operation to filtering string pointers
    4a9d2390f3e2 drm/amdgpu: check vm ready by amdgpu_vm->evicting flag
    67e25eb1b474 ata: pata_hpt37x: fix PCI clock detection
    335f11ff74f2 serial: stm32: prevent TDR register overwrite when sending x_char
    c999c5927e96 tracing: Add test for user space strings when filtering on string pointers
    db36a94ed66b exfat: fix i_blocks for files truncated over 4 GiB
    1b810d5cb6ce exfat: reuse exfat_inode_info variable instead of calling EXFAT_I()
    fdd64084e405 usb: gadget: clear related members when goto fail
    c13159a58881 usb: gadget: don't release an existing dev->buf
    00d5ac05af3a net: usb: cdc_mbim: avoid altsetting toggling for Telit FN990
    16f903afbafb i2c: qup: allow COMPILE_TEST
    57c333ad8c28 i2c: cadence: allow COMPILE_TEST
    9d6285e63241 dmaengine: shdma: Fix runtime PM imbalance on error
    37b06d5ebf5c selftests/seccomp: Fix seccomp failure by adding missing headers
    df9db1a2af37 cifs: fix double free race when mount fails in cifs_get_root()
    e3850e211df6 tipc: fix a bit overflow in tipc_crypto_key_rcv()
    6d4985b8a0bf KVM: arm64: vgic: Read HW interrupt pending state from the HW
    5d4b00e053fc Input: clear BTN_RIGHT/MIDDLE on buttonpads
    6e7015d982ee regulator: core: fix false positive in regulator_late_cleanup()
    467d664e5fff ASoC: rt5682: do not block workqueue if card is unbound
    0b050b7a0d73 ASoC: rt5668: do not block workqueue if card is unbound
    11956c6eeb5a i2c: bcm2835: Avoid clock stretching timeouts
    13f0ea8d1193 mac80211_hwsim: initialize ieee80211_tx_info at hw_scan_work
    46f6d66219b5 mac80211_hwsim: report NOACK frames in tx_status

(From OE-Core rev: 1e600731a459c1dfe14032e5242806a25f091b41)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-24 17:45:29 +00:00
Bruce Ashfield
1c7042db25 linux-yocto/5.15: update to v5.15.30
Updating linux-yocto/5.15 to the latest korg -stable release that comprises
the following commits:

    0464ab17184b Linux 5.15.30
    a9bbacc53d1f ice: Fix race condition during interface enslave
    df3817ab226f x86/module: Fix the paravirt vs alternative order
    ff2e93a03f8d kselftest/vm: fix tests build with old libc
    d99db3b935b7 bnx2: Fix an error message
    ff7dfcd47a7e sfc: extend the locking on mcdi->seqno
    ff17119dceef tcp: make tcp_read_sock() more robust
    f5a425f5d5fc nl80211: Update bss channel on channel switch for P2P_CLIENT
    3534c5c005ef drm/vrr: Set VRR capable prop only if it is attached to connector
    46c02c5051aa iwlwifi: don't advertise TWT support
    4051516d4b79 atm: firestream: check the return value of ioremap() in fs_init()
    76e0b8e12c64 can: rcar_canfd: rcar_canfd_channel_probe(): register the CAN device when fully ready
    3679ccc09d88 Bluetooth: hci_core: Fix leaking sent_cmd skb
    c2924e9143c2 ARM: 9178/1: fix unmet dependency on BITREVERSE for HAVE_ARCH_BITREVERSE
    be538b764a46 MIPS: smp: fill in sibling and core maps earlier
    c98afa0db3a3 mac80211: refuse aggregations sessions before authorized
    84ecddbc9888 ARM: dts: rockchip: fix a typo on rk3288 crypto-controller
    8ad1b44f2d2e ARM: dts: rockchip: reorder rk322x hmdi clocks
    4744e1df7268 arm64: dts: agilex: use the compatible "intel,socfpga-agilex-hsotg"
    f5743453365b arm64: dts: rockchip: reorder rk3399 hdmi clocks
    f9a510bb024d arm64: dts: rockchip: align pl330 node name with dtschema
    e90da30175cb arm64: dts: rockchip: fix rk3399-puma eMMC HS400 signal integrity
    0f06f953aac5 xfrm: Fix xfrm migrate issues when address family changes
    e6d7e51e1092 xfrm: Check if_id in xfrm_migrate
    8918ae97417a arm64: dts: rockchip: fix rk3399-puma-haikou USB OTG mode
    e901c9212457 Revert "xfrm: state and policy should fail if XFRMA_IF_ID 0"
    b9a0208cb3e3 Linux 5.15.29
    f83c85ee73df vhost: allow batching hint without size
    caf18e4da9bf Revert "net: dsa: mv88e6xxx: flush switchdev FDB workqueue before removing VLAN"
    69b80587f650 block: drop unused includes in <linux/genhd.h>
    cd072bf2dcbd riscv: dts: k210: fix broken IRQs on hart1
    074c88751dc1 drm/i915: Workaround broken BIOS DBUF configuration on TGL/RKL
    a1ce40f8aeb1 btrfs: make send work with concurrent block group relocation
    342783ba9c3c drm/panel: Select DRM_DP_HELPER for DRM_PANEL_EDP
    1fbafa9a5b42 x86/traps: Mark do_int3() NOKPROBE_SYMBOL
    ce91f0f023ad x86/sgx: Free backing memory after faulting the enclave page
    e946556d3665 x86/boot: Add setup_indirect support in early_memremap_is_setup_data()
    19503d381aab x86/boot: Fix memremap of setup_indirect structures
    ffb8fd39c84c watch_queue: Make comment about setting ->defunct more accurate
    eb38c2e9fc74 watch_queue: Fix lack of barrier/sync/lock between post and read
    82ff8a2243f7 watch_queue: Free the alloc bitmap when the watch_queue is torn down
    d453d0e5a15d watch_queue: Fix the alloc bitmap size to reflect notes allocated
    b022b6a0586f watch_queue: Fix to always request a pow-of-2 pipe ring size
    ccd03c30f103 watch_queue: Fix to release page in ->release()
    8275b6699c6d watch_queue, pipe: Free watchqueue state after clearing pipe ring
    1b09f28f70a5 watch_queue: Fix filter limit check
    52445030f135 ARM: fix Thumb2 regression with Spectre BHB
    4a8e7f9dae4a net/mlx5: Fix offloading with ESWITCH_IPV4_TTL_MODIFY_ENABLE
    cbb726e6c652 virtio: acknowledge all features before access
    22823b1a0dc9 virtio: unexport virtio_finalize_features
    a633bc013333 KVM: x86/mmu: kvm_faultin_pfn has to return false if pfh is returned
    2c1f97af38be swiotlb: rework "fix info leak with DMA_FROM_DEVICE"
    0349c79c5508 arm64: kasan: fix include error in MTE functions
    61d32defc00f arm64: Ensure execute-only permissions are not allowed without EPAN
    72ea28d88d30 arm64: dts: marvell: armada-37xx: Remap IO space to bus address 0x0
    42aaf726c9e9 tracing/osnoise: Force quiescent states while tracing
    eae073d854c5 riscv: Fix auipc+jalr relocation range checks
    b515552d41ee mmc: meson: Fix usage of meson_mmc_post_req()
    9b3cdf5e8ad9 riscv: alternative only works on !XIP_KERNEL
    b5e792187f50 net: macb: Fix lost RX packet wakeup race in NAPI receive
    1fb9dd378749 staging: gdm724x: fix use after free in gdm_lte_rx()
    441bc1e3d7e0 staging: rtl8723bs: Fix access-point mode deadlock
    ca62747b38f5 fuse: fix pipe buffer lifetime for direct_io
    d60d34b4d6d1 fuse: fix fileattr op failure
    64147ce85e2f ARM: Spectre-BHB: provide empty stub for non-config
    5c237251421d selftests/memfd: clean up mapping in mfd_fail_write
    e22807ee679f selftest/vm: fix map_fixed_noreplace test failure
    9d95b7e239a1 tracing/osnoise: Make osnoise_main to sleep for microseconds
    4d2889691570 tracing: Ensure trace buffer is at least 4096 bytes large
    041616a22c40 ipv6: prevent a possible race condition with lifetimes
    2708ceb4e5cc Revert "xen-netback: Check for hotplug-status existence before watching"
    fe39ab30dcc2 Revert "xen-netback: remove 'hotplug-status' once it has served its purpose"
    fcd1d79aa943 drm/amdgpu: bypass tiling flag check in virtual display case (v2)
    5cf4dd01efe0 gpio: Return EPROBE_DEFER if gc->to_irq is NULL
    94b568a9d2a5 PCI: Mark all AMD Navi10 and Navi14 GPU ATS as broken
    bb9795b6da22 hwmon: (pmbus) Clear pmbus fault/warning bits after read
    8d5e69d8fbf3 net-sysfs: add check for netdevice being present to speed_show
    1280c8ae9745 x86/kvm: Don't use pv tlb/ipi/sched_yield if on 1 vCPU
    ee22082c3e2f drm/vc4: hdmi: Unregister codec device on unbind
    5bef4e5089d3 spi: rockchip: terminate dma transmission when slave abort
    1f04bbd2935c spi: rockchip: Fix error in getting num-cs property
    bcd4279b989f kvm: x86: Disable KVM_HC_CLOCK_PAIRING if tsc is in always catchup mode
    e160ee96d03f KVM: Fix lockdep false negative during host resume
    302ce2946160 pinctrl: tigerlake: Revert "Add Alder Lake-M ACPI ID"
    839ddf786772 usb: dwc3: pci: add support for the Intel Raptor Lake-S
    7403f4118ab9 swiotlb: fix info leak with DMA_FROM_DEVICE
    b0028e1cc1fa selftests/bpf: Add test for bpf_timer overwriting crash
    732c7172b79c net: phy: meson-gxl: improve link-up behavior
    6c0d2f348be2 net: bcmgenet: Don't claim WOL when its not available
    1502f15b9f29 sctp: fix kernel-infoleak for SCTP sockets
    9ca50a73c98c net: phy: DP83822: clear MISR2 register to disable interrupts
    f49f646f9ec2 gianfar: ethtool: Fix refcount leak in gfar_get_ts_info
    c7f6accc6795 gpio: ts4900: Do not set DAT and OE together
    c614aad2ee9e selftests: pmtu.sh: Kill nettest processes launched in subshell.
    d4dfc94c4052 selftests: pmtu.sh: Kill tcpdump processes launched by subshell.
    0e721b8f2ee5 NFC: port100: fix use-after-free in port100_send_complete
    a2355333cf18 net/mlx5e: Lag, Only handle events from highest priority multipath entry
    7c519f769f55 net/mlx5: Fix a race on command flush flow
    b3d4a7dcb9ca net/mlx5: Fix size field in bufferx_reg struct
    46ad629e58ce ax25: Fix NULL pointer dereference in ax25_kill_by_device
    b7c2fd1d1263 net: marvell: prestera: Add missing of_node_put() in prestera_switch_set_base_mac_addr
    6e294d389023 net: ethernet: lpc_eth: Handle error for clk_enable
    c746fa0f54c9 net: ethernet: ti: cpts: Handle error for clk_enable
    5548c81e97ab tipc: fix incorrect order of state message data sanity check
    5e7c402892e1 ethernet: Fix error handling in xemaclite_of_probe
    06a97a7afa05 ice: Fix curr_link_speed advertised speed
    fd0ca20f1846 ice: Don't use GFP_KERNEL in atomic context
    15d1271d89b8 ice: Fix error with handling of bonding MTU
    9bda6a09e7ef ice: stop disabling VFs due to PF error responses
    49839cb40d6c i40e: stop disabling VFs due to PF error responses
    35f11aba74e2 iavf: Fix handling of vlan strip virtual channel messages
    0716607ad241 ARM: dts: aspeed: Fix AST2600 quad spi group
    9c0686caa822 net: dsa: mt7530: fix incorrect test in mt753x_phylink_validate()
    f9ec15fc3c48 drm/sun4i: mixer: Fix P010 and P210 format numbers
    c5883d38a470 gpiolib: acpi: Convert ACPI value of debounce to microseconds
    c014efbd1c28 smsc95xx: Ignore -ENODEV errors when device is unplugged
    3acc8788febf qed: return status of qed_iov_get_link
    e5d078d21fa0 esp: Fix BEET mode inter address family tunneling on GSO
    4aaabbffc3b0 esp: Fix possible buffer overflow in ESP transformation
    4dfa7d3508bf net: qlogic: check the return value of dma_alloc_coherent() in qed_vf_hw_prepare()
    92d97017c67c isdn: hfcpci: check the return value of dma_set_mask() in setup_hw()
    4b1743bc715a vdpa: fix use-after-free on vp_vdpa_remove
    8848b0fa9bf1 virtio-blk: Don't use MAX_DISCARD_SEGMENTS if max_discard_seg is zero
    f8d88e86e90e vhost: fix hung thread due to erroneous iotlb entries
    7777b1f795af mISDN: Fix memory leak in dsp_pipeline_build()
    20145e05e497 net: phy: meson-gxl: fix interrupt handling in forced mode
    90a2f4fc5b23 vduse: Fix returning wrong type in vduse_domain_alloc_iova()
    e7e118416465 vdpa/mlx5: add validation for VIRTIO_NET_CTRL_MQ_VQ_PAIRS_SET command
    f96dc3adb9a9 tipc: fix kernel panic when enabling bearer
    0a99594d2058 arm64: dts: armada-3720-turris-mox: Add missing ethernet0 alias
    e52ecbca254b HID: vivaldi: fix sysfs attributes leak
    ea45b38caf2b clk: qcom: dispcc: Update the transition delay for MDSS GDSC
    ba24eb3cc95c clk: qcom: gdsc: Add support to update GDSC transition delay
    b6c624d07bf2 ARM: boot: dts: bcm2711: Fix HVS register range
    3ffbe85cda7f HID: hid-thrustmaster: fix OOB read in thrustmaster_interrupts
    a5334502f91f HID: elo: Revert USB reference counting
    af4fcf85c88d arm64: dts: qcom: sm8350: Correct UFS symbol clocks
    8fa52df84c58 arm64: dts: qcom: sm8350: Describe GCC dependency clocks
    aa79753319d8 Linux 5.15.28
    39d332de8edb Revert "ACPI: PM: s2idle: Cancel wakeup before dispatching EC GPE"
    dea18aef2021 xen/netfront: react properly to failing gnttab_end_foreign_access_ref()
    27dc69aa5568 xen/gnttab: fix gnttab_end_foreign_access() without page specified
    5bff1721c8f9 xen/pvcalls: use alloc/free_pages_exact()
    a019d26830e8 xen/9p: use alloc/free_pages_exact()
    90c5f198b923 xen: remove gnttab_query_foreign_access()
    f06e3edaeac1 xen/gntalloc: don't use gnttab_query_foreign_access()
    f1c85942314d xen/scsifront: don't use gnttab_query_foreign_access() for mapped status
    5d5fa1d53a31 xen/netfront: don't use gnttab_query_foreign_access() for mapped status
    f9ade968df79 xen/blkfront: don't use gnttab_query_foreign_access() for mapped status
    1dd5b4b230f6 xen/grant-table: add gnttab_try_end_foreign_access()
    66cb2bbb522b xen/xenbus: don't let xenbus_grant_ring() remove grants in error case
    2b2d2a8ba2e9 ARM: fix build warning in proc-v7-bugs.c
    8836a046ef41 arm64: Do not include __READ_ONCE() block in assembly files
    431b92c3c25e ARM: Do not use NOCROSSREFS directive with ld.lld
    57a65667fbdc ARM: fix co-processor register typo
    49062ec32e79 ARM: fix build error when BPF_SYSCALL is disabled
    3317d21b84e9 arm64: proton-pack: Include unprivileged eBPF status in Spectre v2 mitigation reporting
    8979720ac64c arm64: Use the clearbhb instruction in mitigations
    fb2bb2ec137c KVM: arm64: Allow SMCCC_ARCH_WORKAROUND_3 to be discovered and migrated
    4bbfd0c28025 arm64: Mitigate spectre style branch history side channels
    8e55b9b0e765 arm64: proton-pack: Report Spectre-BHB vulnerabilities as part of Spectre-v2
    d7066114dcd6 arm64: Add percpu vectors for EL1
    cfd0c38125aa arm64: entry: Add macro for reading symbol addresses from the trampoline
    50e700a11766 arm64: entry: Add vectors that have the bhb mitigation sequences
    ffb8a34c0fd8 arm64: entry: Add non-kpti __bp_harden_el1_vectors for mitigations
    517f988ee050 arm64: entry: Allow the trampoline text to occupy multiple pages
    6895584a92ee arm64: entry: Make the kpti trampoline's kpti sequence optional
    a40472d463f9 arm64: entry: Move trampoline macros out of ifdef'd section
    be9c5526aad6 arm64: entry: Don't assume tramp_vectors is the start of the vectors
    2e09754a03a7 arm64: entry: Allow tramp_alias to access symbols after the 4K boundary
    e25a9dced2bd arm64: entry: Move the trampoline data page before the text page
    4a691bbf56a1 arm64: entry: Free up another register on kpti's tramp_exit path
    479c9bb741bf arm64: entry: Make the trampoline cleanup optional
    368a1fd8c4a6 KVM: arm64: Allow indirect vectors to be used without SPECTRE_V3A
    44adac5908ff arm64: spectre: Rename spectre_v4_patch_fw_mitigation_conduit
    b7beeab84f02 arm64: entry.S: Add ventry overflow sanity checks
    e38b3c0d245b arm64: cpufeature: add HWCAP for FEAT_RPRES
    a4c234f60269 arm64: cpufeature: add HWCAP for FEAT_AFP
    912961e188dc arm64: add ID_AA64ISAR2_EL1 sys register
    ac7bc62b78de arm64: Add Cortex-X2 CPU part definition
    f0c559c38e98 arm64: Add HWCAP for self-synchronising virtual counter
    d82f489cbbdb arm64: Add Neoverse-N2, Cortex-A710 CPU part definition
    842f2d498ee1 ARM: include unprivileged BPF status in Spectre V2 reporting
    576548846f1e ARM: Spectre-BHB workaround
    2dca61693e6c ARM: use LOADADDR() to get load address of sections
    878ad97f745e ARM: early traps initialisation
    f02cab2bed1a ARM: report Spectre v2 status through sysfs
    bf048d1921b6 x86/speculation: Warn about eIBRS + LFENCE + Unprivileged eBPF + SMT
    074d72604639 x86/speculation: Warn about Spectre v2 LFENCE mitigation
    36fbbd78471c x86/speculation: Update link to AMD speculation whitepaper
    a56566d7a957 x86/speculation: Use generic retpoline by default on AMD
    316e4a16524a x86/speculation: Include unprivileged eBPF status in Spectre v2 mitigation reporting
    eb4596417756 Documentation/hw-vuln: Update spectre doc
    d7771f380c90 x86/speculation: Add eIBRS + Retpoline options
    f150b6fccf7f x86/speculation: Rename RETPOLINE_AMD to RETPOLINE_LFENCE
    e94d490a1ad6 x86,bugs: Unconditionally allow spectre_v2=retpoline,amd
    668c821321b4 slip: fix macro redefine warning

(From OE-Core rev: dee9d13f7eeb23fe27ebb20b66d2f7dd52274591)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-24 17:45:29 +00:00
Bruce Ashfield
83abd29a5b linux-yocto-rt/5.10: update to -rt61
Integrating the following commit(s) to linux-yocto-rt/5.10:

    48b12b48c110 Linux 5.10.90-rt61
    2367f287812f aio: Fix incorrect usage of eventfd_signal_allowed()
    640f56f85c08 stop_machine: Remove this_cpu_ptr() from print_stop_info().
    38c47ed56da8 eventfd: Make signal recursion protection a task bit
    45f3f3c787e3 Linux 5.10.90-rt60
    257f82607c82 Linux 5.10.87-rt59
    7ff031bb6566 Linux 5.10.83-rt58
    03cfb1aadc5e Linux 5.10.80-rt57

(From OE-Core rev: a201b82e999d2216fc58bd8db405bb06c9f22ff5)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-24 17:45:29 +00:00
Bruce Ashfield
a98dbebf3a linux-yocto-rt/5.15: update to -rt34
Integrating the following commit(s) to linux-yocto-rt/5.15:

    931d5079b9fc Linux 5.15.26-rt34
    c5c22d2fdb7b Linux 5.15.25-rt33
    6a2e3e6c9401 staging: greybus: gpio: Use generic_handle_irq_safe().
    cb17d0820286 net: usb: lan78xx: Use generic_handle_irq_safe().
    a4040e8669d8 mfd: ezx-pcap: Use generic_handle_irq_safe().
    870d69c5f090 misc: hi6421-spmi-pmic: Use generic_handle_irq_safe().
    3718dd5011f4 i2c: cht-wc: Use generic_handle_irq_safe().
    1252887f9872 i2c: core: Use generic_handle_irq_safe() in i2c_handle_smbus_host_notify().
    5aa6ecf9212a genirq: Provide generic_handle_irq_safe().
    1c73db1779a6 Linux 5.15.25-rt32
    2e68dcd8d632 Linux 5.15.24-rt31
    5ec703bf5ccc net: Write lock dev_base_lock without disabling bottom halves.
    15bd5dea95e6 Linux 5.15.21-rt30
    88c15a185ab7 Linux 5.15.19-rt29
    a70f09a4d312 Linux 5.15.18-rt28
    771d328d2646 Linux 5.15.14-rt27
    b56e1f0d87ba Linux 5.15.13-rt26
    5e8adc085a2b Linux 5.15.12-rt25
    ea0f771b9442 Linux 5.15.10-rt24
    269b39adfb2c Linux 5.15.7-rt23

(From OE-Core rev: a4198a50971f25e3ef05c9c385c9344dfef24ba9)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-24 17:45:29 +00:00
Bruce Ashfield
7a425faa64 linux-yocto/5.15: update to v5.15.27
Updating linux-yocto/5.15 to the latest korg -stable release that comprises
the following commits:

    efe3167e52a5 Linux 5.15.27
    ea2bc310250d hamradio: fix macro redefine warning
    8998aa676205 KVM: x86/mmu: Passing up the error state of mmu_alloc_shadow_roots()
    416e3a0e4276 proc: fix documentation and description of pagemap
    8b893496892e Revert "xfrm: xfrm_state_mtu should return at least 1280 for ipv6"
    6599d5e8bd75 btrfs: do not start relocation until in progress drops are done
    4aef4c900597 btrfs: add missing run of delayed items after unlink during log replay
    34146bbadcdd btrfs: qgroup: fix deadlock between rescan worker and remove qgroup
    e00077aa439f btrfs: do not WARN_ON() if we have PageError set
    725a6ac389b1 btrfs: fix relocation crash due to premature return from btrfs_commit_transaction()
    5342e9f3dac0 btrfs: fix lost prealloc extents beyond eof after full fsync
    80660a726d47 tracing: Fix return value of __setup handlers
    452f64ee0940 tracing/histogram: Fix sorting on old "cpu" value
    aa6d3eef28f3 HID: add mapping for KEY_ALL_APPLICATIONS
    b355d6a14ba7 HID: add mapping for KEY_DICTATE
    74e9545d9e25 Input: samsung-keypad - properly state IOMEM dependency
    cb19f03e5f65 Input: elan_i2c - fix regulator enable count imbalance after suspend/resume
    f74fc94691f0 Input: elan_i2c - move regulator_[en|dis]able() out of elan_[en|dis]able_power()
    7a1ee9934b14 MAINTAINERS: adjust file entry for of_net.c after movement
    7626ab3a3897 iavf: missing unlocks in iavf_watchdog_task()
    d784113217f9 iavf: do not override the adapter state in the watchdog task (again)
    d61f3737c559 net: stmmac: perserve TX and RX coalesce value during XDP setup
    d666d3363845 selftests: mlxsw: resource_scale: Fix return value
    6fe3127d3af1 net: dcb: disable softirqs in dcbnl_flush_dev()
    46eed3a37dee drm/amdgpu: fix suspend/resume hang regression
    a1e603e5f3b2 nl80211: Handle nla_memdup failures in handle_nan_filter
    a30496660634 MIPS: ralink: mt7621: use bitwise NOT instead of logical
    68c4fe2ef0bf e1000e: Fix possible HW unit hang after an s0ix exit
    9dfe6abc6c13 drm/bridge: ti-sn65dsi86: Properly undo autosuspend
    d675c05b792e drm/i915/guc/slpc: Correct the param count for unset param
    6f62bc0fc12b iavf: Fix __IAVF_RESETTING state usage
    598bc8955916 iavf: Fix race in init state
    ddc5db0bcfa2 iavf: Fix locking for VIRTCHNL_OP_GET_OFFLOAD_VLAN_V2_CAPS
    8c0e4da63385 iavf: Fix init state closure on remove
    85aa76066fef iavf: Add waiting so the port is initialized in remove
    e734c794dea3 iavf: Fix kernel BUG in free_msi_irqs
    200366d1a583 iavf: Add helper function to go from pci_dev to adapter
    23901462c301 iavf: Rework mutexes for better synchronisation
    9fedc4f86ee3 iavf: Add trace while removing device
    b4e0e00a361d iavf: Combine init and watchdog state machines
    57d2f0db2e63 iavf: Add __IAVF_INIT_FAILED state
    7e2d102501e1 iavf: Refactor iavf state machine tracking
    f8ce435f2c81 net: sparx5: Fix add vlan when invalid operation
    50948cea504c net: chelsio: cxgb3: check the return value of pci_find_capability()
    ea3d3c36a4fa ibmvnic: complete init_done on transport events
    13e3b51ffaf8 ibmvnic: define flush_reset_queue helper
    046d933c1b74 ibmvnic: initialize rc before completing wait
    bb20939bc8d1 net: stmmac: only enable DMA interrupts when ready
    e753b639363d net: stmmac: enhance XDP ZC driver level switching performance
    8cdac518eac7 can: etas_es58x: change opened_channel_cnt's type from atomic_t to u8
    04746dbd9593 ARM: tegra: Move panels to AUX bus
    9920d99cc89a netfilter: nf_tables: prefer kfree_rcu(ptr, rcu) variant
    4ed52fbeb967 soc: fsl: qe: Check of ioremap return value
    c2266d20251c soc: fsl: guts: Add a missing memory allocation failure check
    20ff0ff315cd soc: fsl: guts: Revert commit 3c0d64e867ed
    40d763efa5bf ARM: dts: Use 32KiHz oscillator on devkit8000
    50bce7f03e8c ARM: dts: switch timer config to common devkit8000 devicetree
    af143626eb85 MIPS: ralink: mt7621: do memory detection on KSEG1
    378e2fe1eb58 iommu/amd: Fix I/O page table memory leak
    f6cabb721c5b arm64: dts: juno: Remove GICv2m dma-range
    3411613611a5 sched: Fix yet more sched_fork() races
    3d76a995f646 s390/extable: fix exception table sorting
    b7c35587be23 memfd: fix F_SEAL_WRITE after shmem huge page allocated
    39738a2346b2 ibmvnic: free reset-work-item when flushing
    d4706de93cf7 igc: igc_write_phy_reg_gpy: drop premature return
    896d1b8a3612 pinctrl: sunxi: Use unique lockdep classes for IRQs
    09423ff81601 selftests: mlxsw: tc_police_scale: Make test more robust
    0c3f34beb459 mptcp: Correctly set DATA_FIN timeout when number of retransmits is large
    d7a4b54f4fc5 ARM: 9182/1: mmu: fix returns from early_param() and __setup() functions
    a664bd7a0084 mips: setup: fix setnocoherentio() boolean setting
    f14a0244b1ba ARM: Fix kgdb breakpoint for Thumb2
    c9cfcdd111d7 igc: igc_read_phy_reg_gpy: drop premature return
    7c1db4a30e29 arm64: dts: rockchip: Switch RK3399-Gru DP to SPDIF output
    6be5b626bec1 iommu/tegra-smmu: Fix missing put_device() call in tegra_smmu_find
    2b04bb51a9c1 can: gs_usb: change active_channels's type from atomic_t to u8
    b6149efc57bf auxdisplay: lcd2s: Use proper API to free the instance of charlcd object
    5d53cd33f425 auxdisplay: lcd2s: Fix memory leak in ->remove()
    6d6c139d1e2d ASoC: cs4265: Fix the duplicated control name
    d442f20e6daf firmware: arm_scmi: Remove space in MODULE_ALIAS name
    f9c3aa939c41 auxdisplay: lcd2s: Fix lcd2s_redefine_char() feature
    4efa386ef9e1 efivars: Respect "block" flag in efivar_entry_set_safe()
    61a303971c3c iavf: Fix deadlock in iavf_reset_task
    366f785bbba4 ixgbe: xsk: change !netif_carrier_ok() handling in ixgbe_xmit_zc()
    ea372aab5490 net: arcnet: com20020: Fix null-ptr-deref in com20020pci_probe()
    1c09774e5ea1 ibmvnic: register netdev after init of adapter
    f58ead21dd6a net: sxgbe: fix return value of __setup handler
    23a6be260d56 iavf: Fix missing check for running netdev
    a83ebad95542 mac80211: treat some SAE auth steps as final
    b85dd0d7a503 net: stmmac: fix return value of __setup handler
    828f75c24ab8 mac80211: fix forwarded mesh frames AC & queue selection
    5afd80c393f4 btrfs: fix ENOSPC failure when attempting direct IO write into NOCOW range
    15cbeeaada70 net/smc: fix unexpected SMC_CLC_DECL_ERR_REGRMB error cause by server
    21922d9cde88 net/smc: fix unexpected SMC_CLC_DECL_ERR_REGRMB error generated by client
    80895b6f9154 net/smc: fix connection leak
    a559e0598ce6 net: ipa: add an interconnect dependency
    4daaf8816d60 net: dcb: flush lingering app table entries for unregistered devices
    b11781515208 net: ipv6: ensure we call ipv6_mc_down() at most once
    24e49e17cbfc batman-adv: Don't expect inter-netns unique iflink indices
    94355d99ad70 batman-adv: Request iflink once in batadv_get_real_netdevice
    58ea33965a6f batman-adv: Request iflink once in batadv-on-batadv check
    216f3cb587e0 netfilter: nf_queue: handle socket prefetch
    dd648bd1b33a netfilter: nf_queue: fix possible use-after-free
    63291e95e8ae netfilter: nf_queue: don't assume sk is full socket
    3a65b82b1ef2 net: fix up skbs delta_truesize in UDP GRO frag_list
    a47e7ac8851c e1000e: Correct NVM checksum verification flow
    4020d2e14f13 xfrm: enforce validity of offload input flags
    ce0d6bf33c35 xfrm: fix the if_id check in changelink
    00c74b587197 bpf, sockmap: Do not ignore orig_len parameter
    bd61f192a339 netfilter: fix use-after-free in __nf_register_net_hook()
    75cbedd33343 xfrm: fix MTU regression
    261eff11ade9 mm: Consider __GFP_NOWARN flag for oversized kvmalloc() calls
    5d7c23d39660 ntb: intel: fix port config status offset for SPR
    78acc7dbd84a blktrace: fix use after free for struct blk_trace
    5f298bf7f337 mac80211: fix EAPoL rekey fail in 802.3 rx path
    3dafbf915c05 thermal: core: Fix TZ_GET_TRIP NULL pointer dereference
    a63eb1e4a2e1 xen/netfront: destroy queues before real_num_tx_queues is zeroed
    dab06be16184 drm/amd/display: Reduce dmesg error to a debug print
    7508ac360d1e drm/i915: s/JSP2/ICP2/ PCH
    a8a86631f4ce iommu/amd: Recover from event log overflow
    2aaa085bd012 iommu/vt-d: Fix double list_add when enabling VMD in scalable mode
    050b1821f27c ASoC: ops: Shift tested values in snd_soc_put_volsw() by +min
    7de1ed755e1a iwlwifi: mvm: check debugfs_dir ptr before use
    728fb555882b riscv: Fix config KASAN && DEBUG_VIRTUAL
    08b22e3f150e riscv: Fix config KASAN && SPARSEMEM && !SPARSE_VMEMMAP
    e64d6a689ec5 riscv/efi_stub: Fix get_boot_hartid_from_fdt() return value
    6c3d4da8e7a9 ucounts: Fix systemd LimitNPROC with private users regression
    3eb418122d12 ALSA: intel_hdmi: Fix reference to PCM buffer address
    9285523b4174 net: of: fix stub of_net helpers for CONFIG_NET=n
    dc75d7968901 PCI: mvebu: Fix device enumeration regression
    35afd8ae1184 drm/amd/display: For vblank_disable_immediate, check PSR is really used
    5f283e64a850 bnxt_en: Fix occasional ethtool -t loopback test failures
    10dd26349edf drm/amd/display: Fix stream->link_enc unassigned during stream removal
    aa280c04da1b cifs: fix confusing unneeded warning message on smb2.1 and earlier
    3d74c2c917e4 cifs: protect session channel fields with chan_lock
    2594dba1cd79 drm/mediatek: mtk_dsi: Reset the dsi0 hardware
    f510d6463949 net: ethernet: litex: Add the dependency on HAS_IOMEM
    3a3aa0881aeb of: net: move of_net under net/
    960dfaf3b578 ibmvnic: don't release napi in __ibmvnic_open()
    1d13e7221035 net: dsa: seville: register the mdiobus under devres
    8bfa27186e29 net: dsa: ocelot: seville: utilize of_mdiobus_register
    68c8e6d16f57 gve: Recording rx queue before sending to napi
    5c66161cceaa drm/i915: Disable DRRS on IVB/HSW port != A
    e2b3d1bf6ec3 drm/i915/display: Move DRRS code its own file
    23eb29281f1e drm/i915/display: split out dpt out of intel_display.c
    fbf6d5f8eef7 riscv/mm: Add XIP_FIXUP for phys_ram_base
    86a337bb8030 drm: mxsfb: Fix NULL pointer dereference
    9bbeba67bbbd drm: mxsfb: Set fallback bus format when the bridge doesn't provide one
    ed4488d8307f drm/amd/display: Update watermark values for DCN301
    07058fb18df8 bpf: Fix possible race in inc_misses_counter
    aa5040691cb7 bpf: Use u64_stats_t in struct bpf_prog_stats
    82a82ad92746 net/mlx5e: IPsec: Fix crypto offload for non TCP/UDP encapsulated traffic
    748438b4e62c net/mlx5e: IPsec: Refactor checksum code in tx data path
    f1c0163bb824 octeontx2-af: Add KPU changes to parse NGIO as separate layer
    63138001c961 octeontx2-af: Adjust LA pointer for cpt parse header
    ab3380a844aa octeontx2-af: cn10k: Use appropriate register for LMAC enable
    fe3eafea3907 octeontx2-af: cn10k: RPM hardware timestamp configuration
    ef33ae74bb9c octeontx2-af: Reset PTP config in FLR handler
    75279de4e392 octeontx2-af: Optimize KPU1 processing for variable-length headers
    462c5e6cb241 ethtool: Fix link extended state for big endian
    27e01f10d183 drm/amd/display: move FPU associated DSC code to DML folder
    691c0030be65 drm/amd/display: Use adjusted DCN301 watermarks
    2157e509e5b2 drm/amdgpu: filter out radeon secondary ids as well
    f724a438d986 drm/amdgpu: filter out radeon PCI device IDs
    48cf33ee6b04 drm/amdgpu/display: Only set vblank_disable_immediate when PSR is not enabled
    3f20cf3cd43f hugetlbfs: fix off-by-one error in hugetlb_vmdelete_list()
    e9737301f0df selftests/vm: make charge_reserved_hugetlb.sh work with existing cgroup setting
    1123c2fb9dc3 kasan: fix quarantine conflicting with init_on_free
    f1675103e0f3 mm: defer kmemleak object creation of module_alloc()
    013c2af6c15c tracing/probes: check the return value of kstrndup() for pbuf
    8a20fed48eb4 tracing/uprobes: Check the return value of kstrdup() for tu->filename
    1a62246c2c60 dma-buf: cma_heap: Fix mutex locking section
    8654464086a1 i3c: master: dw: check return of dw_i3c_master_get_free_pos()
    a80b13642a10 drm/amdgpu: use spin_lock_irqsave to avoid deadlock by local interrupt
    5609b7803947 drm/amdkfd: Check for null pointer after calling kmemdup
    950d17f190a4 ntb_hw_switchtec: Fix bug with more than 32 partitions
    377cbdc92716 ntb_hw_switchtec: Fix pff ioread to read into mmio_part_cfg_all
    cd07b19fbf37 drm/atomic: Check new_crtc_state->active to determine if CRTC needs disable in self refresh mode
    1796d5350cb4 drm/sun4i: dw-hdmi: Fix missing put_device() call in sun8i_hdmi_phy_get
    e209742c13d2 SUNRPC: Fix sockaddr handling in svcsock_accept_class trace points
    bdaa8c7b7189 SUNRPC: Fix sockaddr handling in the svc_xprt_create_error trace point
    d3f67ceaeb3f drm/i915: don't call free_mmap_offset when purging
    e47679c06afc x86/hyperv: Properly deal with empty cpumasks in hyperv_flush_tlb_multi()
    4425ca3677a6 nfsd: fix crash on COPY_NOTIFY with special stateid
    0f84cfb465af Revert "nfsd: skip some unnecessary stats in the v4 case"
    3abe2a70f5b4 NFSD: Fix verifier returned in stable WRITEs
    e7c433270307 PCI: mvebu: Fix support for DEVCAP2, DEVCTL2 and LNKCTL2 registers on emulated bridge
    a24745673304 PCI: mvebu: Fix support for PCI_EXP_RTSTA on emulated bridge
    1d4200e28436 PCI: mvebu: Fix support for PCI_EXP_DEVCTL on emulated bridge
    1ea3f69784ed PCI: mvebu: Fix support for PCI_BRIDGE_CTL_BUS_RESET on emulated bridge
    9c91c755005b PCI: mvebu: Setup PCIe controller to Root Complex mode
    3d394fa375f4 PCI: mvebu: Fix configuring secondary bus of PCIe Root Port via emulated bridge
    4396c507a8f8 PCI: mvebu: Fix support for bus mastering and PCI_COMMAND on emulated bridge
    bc988b126134 PCI: mvebu: Do not modify PCI IO type bits in conf_write
    c1a027629c36 PCI: mvebu: Check for errors from pci_bridge_emul_init() call
    7c93c809e00a Input: ti_am335x_tsc - fix STEPCONFIG setup for Z2
    16ff93557d1e Input: ti_am335x_tsc - set ADCREFM for X configuration
    628761fe0588 tracing: Do not let synth_events block other dyn_event systems during create
    f35bacbb795a i3c/master/mipi-i3c-hci: Fix a potentially infinite loop in 'hci_dat_v1_get_index()'
    e5264d44f732 i3c: fix incorrect address slot lookup on 64-bit
    1adfbfaeb20d KVM: x86: Exit to userspace if emulation prepared a completion callback
    3d8468045e39 KVM: x86: Handle 32-bit wrap of EIP for EMULTYPE_SKIP with flat code seg
    00542cbacf22 KVM: X86: Ensure that dirty PDPTRs are loaded
    723053e16d55 KVM: VMX: Read Posted Interrupt "control" exactly once per loop iteration
    32b758d12c24 KVM: s390: Ensure kvm_arch_no_poll() is read once when blocking vCPU
    b63190d0203f KVM: VMX: Don't unblock vCPU w/ Posted IRQ if IRQs are disabled in guest
    f303196899f1 PCI: aardvark: Fix checking for MEM resource type
    a2f5e9a6f2a0 PCI: dwc: Do not remap invalid res
    d9fc43aab60d PCI: rcar: Check if device is runtime suspended instead of __clk_is_enabled()
    aa805236ed97 PCI: mediatek-gen3: Disable DVFSRC voltage request
    7f361266e981 signal: In get_signal test for signal_group_exit every time through the loop
    f98371d2ac83 MIPS: fix local_{add,sub}_return on MIPS64
    64b487be33b7 mtd: spi-nor: Fix mtd size for s3an flashes
    83ef63535a8a tools/resolve_btf_ids: Close ELF file on error
    1bd12b7aaee0 io_uring: fix no lock protection for ctx->cq_extra
    384d1b11382b NFSD: Fix zero-length NFSv3 WRITEs
    2de88544b3db NFSD: Have legacy NFSD WRITE decoders use xdr_stream_subsegment()
    771aca9bc707 ipv6: fix skb drops in igmp6_event_query() and igmp6_event_report()
    33e22b6c53d0 tracing: Add ustring operation to filtering string pointers
    a9c6e02d223e drm/amdgpu: check vm ready by amdgpu_vm->evicting flag
    b2a3068d5f15 ata: pata_hpt37x: fix PCI clock detection
    e0bcd6b57793 sched/fair: Fix fault in reweight_entity
    6f6ffc717b85 ext4: fast commit may miss file actions
    97abcfedc87c ext4: fast commit may not fallback for ineligible commit
    647b3f1533f4 ext4: simplify updating of fast commit stats
    5abb1d84b6db ext4: drop ineligible txn start stop APIs
    82a99bc85c0e serial: stm32: prevent TDR register overwrite when sending x_char
    1921d1fd0e60 arm64: Mark start_backtrace() notrace and NOKPROBE_SYMBOL
    60e6d58ef921 tracing: Add test for user space strings when filtering on string pointers
    c9f727219f3e exfat: fix i_blocks for files truncated over 4 GiB
    1ffc130388c5 exfat: reuse exfat_inode_info variable instead of calling EXFAT_I()
    ab3656acb7b4 usb: gadget: clear related members when goto fail
    07de9a494b5a usb: gadget: don't release an existing dev->buf
    a1ba98731518 block-map: add __GFP_ZERO flag for alloc_page in function bio_copy_kern
    1148adac7781 net: usb: cdc_mbim: avoid altsetting toggling for Telit FN990
    f6fbf18d156c i2c: qup: allow COMPILE_TEST
    d65d187b51b6 i2c: imx: allow COMPILE_TEST
    d2327116861c i2c: cadence: allow COMPILE_TEST
    7b22f63b933f dmaengine: shdma: Fix runtime PM imbalance on error
    7d0214c38dca selftests/ftrace: Do not trace do_softirq because of PREEMPT_RT
    4543426cd7b8 drm/amd/pm: correct UMD pstate clocks for Dimgrey Cavefish and Beige Goby
    b628fffce58a selftests/seccomp: Fix seccomp failure by adding missing headers
    54e7951a1988 cifs: modefromsids must add an ACE for authenticated users
    18a9d6b18c2b HID: amd_sfh: Add interrupt handler to process interrupts
    852b6b0411e6 HID: amd_sfh: Add functionality to clear interrupts
    8ba9a2e72584 HID: amd_sfh: Handle amd_sfh work buffer in PM ops
    546d60859ecf cifs: fix double free race when mount fails in cifs_get_root()
    ccf46cb68859 cifs: do not use uninitialized data in the owner/group sid
    5340a0924ea9 tipc: fix a bit overflow in tipc_crypto_key_rcv()
    1ccc12f2240a block: loop:use kstatfs.f_bsize of backing file to set discard granularity
    8694330db9b0 KVM: arm64: vgic: Read HW interrupt pending state from the HW
    850a77c999b8 btrfs: get rid of warning on transaction commit when using flushoncommit
    6279c5263ded Input: clear BTN_RIGHT/MIDDLE on buttonpads
    700485846e12 regulator: core: fix false positive in regulator_late_cleanup()
    fd64f8bc0644 ASoC: rt5682: do not block workqueue if card is unbound
    4235a04ad401 ASoC: rt5668: do not block workqueue if card is unbound
    2ed390555dbc i2c: bcm2835: Avoid clock stretching timeouts
    e03ad1915ccc mac80211_hwsim: initialize ieee80211_tx_info at hw_scan_work
    2d27a2bd381f mac80211_hwsim: report NOACK frames in tx_status

(From OE-Core rev: 60346625873863bbaaf4a40a6a790db63d676934)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-24 17:45:29 +00:00
Bruce Ashfield
2211855ab4 linux-yocto/5.15: cfg/debug: add configs for kcsan
Integrating the following commit(s) to linux-yocto/.:

    18436b6ebc6 cfg/debug: add scc for syzkaller fuzzing
    60e8db6f01c features/tun: add configs for Universal TUN/TAP device driver support
    bbad5927704 features/bluetooth: add configs for Bluetooth Virtual HCI device driver
    d5f51adb3d2 features/usb: add configs for USB raw gadget
    13c24c8ddbd features/usb: add configs for dummy HCD
    6f56f2a289a features/ieee802154: add configs for mac802154 hwsim
    3484d09163f features/mac80211: add configs for mac80211 hwsim
    59e608e25e2 cfg/debug: add configs for fault injection debugfs
    e80f79d4b66 cfg/debug: add configs for kcsan

(From OE-Core rev: b3abdd90378c326d317c6eacc21015f21784403e)

Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-24 17:45:29 +00:00
Bruce Ashfield
1e34058101 linux-yocto/5.10: cfg/debug: add configs for kcsan
Integrating the following commit(s) to linux-yocto/.:

    b56db30a7c5 cfg/debug: add scc for syzkaller fuzzing
    c4494ad7f23 features/tun: add configs for Universal TUN/TAP device driver support
    148948c3829 features/bluetooth: add configs for Bluetooth Virtual HCI device driver
    824a7ba4dda features/usb: add configs for USB raw gadget
    0bd038864a5 features/usb: add configs for dummy HCD
    e8c765f559f features/ieee802154: add configs for mac802154 hwsim
    99aea8bc07b features/mac80211: add configs for mac80211 hwsim
    c7bf42227e3 cfg/debug: add configs for fault injection debugfs
    ae48b977f61 cfg/debug: add configs for kcsan

(From OE-Core rev: 88a761c98d3a4dbf5a8b2b623248b53077717662)

Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-24 17:45:29 +00:00
Bruce Ashfield
66091728ca linux-yocto/5.15: split vtpm for more granular inclusion
Integrating the following commit(s) to linux-yocto/.:

    382f528ebc8 features/tpm: split into tpm-1.2, tpm-2.0, tpm-2.0-crb and vtpm feature

(From OE-Core rev: 7f95949a6ed23c03d11670d8fc4bceafd8e4e440)

Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-24 17:45:29 +00:00
Bruce Ashfield
a5c690e9ef linux-yocto/5.10: split vtpm for more granular inclusion
Integrating the following commit(s) to linux-yocto/.:

    6ca1d510a03 features/tpm: split into tpm-1.2, tpm-2.0, tpm-2.0-crb and vtpm feature

(From OE-Core rev: b61be908468b1057a9d2baf40c1ebfbbd74732b8)

Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-24 17:45:29 +00:00
Bruce Ashfield
9bc13f657b linux-yocto: nohz_full boot arg fix
Integrating the following commit(s) to linux-yocto/5.15:

    81bdce5b5876 tick/nohz: WARN_ON --> WARN_ON_ONCE to prevent console saturation
    97c963889222 sched/isolation: really align nohz_full with rcu_nocbs

(From OE-Core rev: 11de5ad0cfee5bf8bcdd28da6b27447280add2cf)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-24 17:45:29 +00:00
Trevor Gamblin
1479c0da44 python3: upgrade 3.10.2 -> 3.10.3
3.10.3 includes numerous bug fixes. See:
https://docs.python.org/3/whatsnew/changelog.html

(From OE-Core rev: 6fdd19fb9ccef0bf9813e4dfe6063df1d0168359)

Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-24 17:45:29 +00:00
Tim Orling
18135315ff python3-pytest: upgrade 7.0.1 -> 7.1.1
Changes in 7.1.1:
https://docs.pytest.org/en/stable/changelog.html#pytest-7-1-1-2022-03-17

Changes in 7.1.0:
https://docs.pytest.org/en/stable/changelog.html#pytest-7-1-0-2022-03-13

(From OE-Core rev: d3403cdb262f995e47f00c015f82909652d1c36d)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-24 17:45:29 +00:00
Khem Raj
43292522d6 webkitgtk: Depend on virtual/egl instead of virtual/libgl
This ensures that platforms not implementing GL ( perhaps only providing
GLES ) are able to build webkit

(From OE-Core rev: 1117a5521e18dd6f7c18c22c87fe00e867f906d7)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-24 17:45:29 +00:00
Khem Raj
1ac90b6f8c waffle: Use the right dependencies as needed
using virtual/libgl is a broad brush, we can be more specific and ask
for dependencies which are really needed

(From OE-Core rev: d96fdf89efa95dc5e42e01ba970afd3645ced3bc)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-24 17:45:29 +00:00
Khem Raj
4466bca36e piglit: Remove virtual/libgl
virtual/libgl is usually provided by same package that provides
virtual/egl by the stacks which implement it, removing virtual/libgl
means we can build it on stacks not implementing GL

(From OE-Core rev: 8c1ce1d1d6148b6fadc88fbb8585d1169f7e938d)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-24 17:45:29 +00:00
Khem Raj
e2184328ad libsdl2: Depend on virtual/egl
virtual/libgl may not be implemented by some non-mesa graphics in
embedded space, this ensures that libsdl2 can build on such stacks

(From OE-Core rev: 26f511bb21c01a371722caa739f4f6d079211cc2)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-24 17:45:29 +00:00
Richard Purdie
09e826cfb0 bitbake: utils: Fix lockfile path length issues
If the path to bitbake.lock is in a deep directory, bitbake will hang. The
reason was that the max file length limiting code (to 255 chars) was including
the directory name and it should only act on the filename within the directory.
Fix it to just use the base filename.

[YOCTO #14766]

(Bitbake rev: 89d70e7b71eecfe06592202f326e566c579ba01d)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-24 17:45:28 +00:00
Richard Purdie
e0a812b2fe set_versions: Correct devbranch comparision
Correct the previous commit since we need to compare against ourseries
rather than ourbranch since devbranch would match against the series,
not the branch.

(From yocto-docs rev: 57f5ce5fe427e5387f6ac85225137463e51e5643)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-23 12:38:30 +00:00
Richard Purdie
c9d1536777 set_versions: Handle dev branch in switchers correctly
The dev branch is being displayed in switchers under two different
headings, 4.0.999 and dev (4.0). Add an additional conditional to fix that.

(From yocto-docs rev: 569815ac290f53a17330e53fb46c4870d8d247d2)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-23 12:29:42 +00:00
Richard Purdie
49a411edd4 Revert "set_versions/switchers: Drop versions shown to the active releases"
This reverts commit bf4e51fe5f.
2022-03-23 12:27:50 +00:00
Richard Purdie
13217f8b82 Revert "set_versions: Handle dev branch in switchers correctly"
This reverts commit f7d8533664.
2022-03-23 12:27:40 +00:00
Richard Purdie
d303f9c6ed bitbake: siggen: Improve ambiguous use of 'dependent'
I'd never spotted this until it was pointed out but the task isn't dependent,
it is a dependency. Fix this confusing reference.

(Bitbake rev: 93395559c9dda734a3dec9ffd9bb2156a71a2c17)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-23 12:14:46 +00:00
Ross Burton
d4f430011d python3: ignore CVE-2022-26488
This CVE is specific to Microsoft Windows, so we can ignore it.

(From OE-Core rev: 2bd3c5a93988140d9927340b3af68785ae03db65)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-23 12:13:50 +00:00
wangmy
7f539baf01 gsettings-desktop-schemas: upgrade 41.0 -> 42.0
(From OE-Core rev: ab297f92d858960d952218d843b84d1ae1d5f9bb)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-23 12:13:50 +00:00
wangmy
2a56186fb0 gnutls: upgrade 3.7.3 -> 3.7.4
(From OE-Core rev: ae347dd574644a168e36cb42cf0560cd18cd636d)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-23 12:13:50 +00:00
wangmy
7a934fd808 bluez5: upgrade 5.63 -> 5.64
(From OE-Core rev: ab773a0fe4f8bc7d05b07516044dd74f27012caf)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-23 12:13:50 +00:00
wangmy
131b143b6e adwaita-icon-theme: upgrade 41.0 -> 42.0
0001-Don-t-use-AC_CANONICAL_HOST.patch
refreshed for version 42.0

0001-Run-installation-commands-as-shell-jobs.patch
removed since it's included in 42.o

(From OE-Core rev: 17a08277854eb1e8776cf7790f6255ea68bf0568)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-23 12:13:50 +00:00
wangmy
913fc58c6f vala: upgrade 0.54.7 -> 0.56.0
(From OE-Core rev: 777822d7ab5b63e218973e71f6de1b05d0cdce90)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-23 12:13:50 +00:00
wangmy
b7d291f54f python3-markupsafe: upgrade 2.1.0 -> 2.1.1
(From OE-Core rev: 82001dbcb2afe00f3a5367bff134c63351d09fc5)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-23 12:13:50 +00:00
wangmy
ff8eca755a man-db: upgrade 2.10.1 -> 2.10.2
(From OE-Core rev: 4a7598c926bee33124c966c6ca13ffd64df792a1)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-23 12:13:50 +00:00
wangmy
b0d5f7fd67 libsolv: upgrade 0.7.21 -> 0.7.22
(From OE-Core rev: b4038351a2a90ef866a765a65fa0bebe83454688)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-23 12:13:50 +00:00
wangmy
bb771a096f libdazzle: upgrade 3.42.0 -> 3.44.0
(From OE-Core rev: 52dda7eaeeadd58a1f8fa68c04a396a94b9add6f)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-23 12:13:50 +00:00
wangmy
df0a1871b3 gobject-introspection: upgrade 1.70.0 -> 1.72.0
0001-build-Avoid-the-doctemplates-hack.patch
removed since it's included in 1.72.0

(From OE-Core rev: db92a30a463e72833252294d693ad2a105843729)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-23 12:13:50 +00:00
Khem Raj
9f29bfbe90 qemu: Fix build on systems without MAP_SYNC
some architectures like ppc/mips do not wire this in kernel since
linux/mman.h for these architectures do not use asm-generic/mman.h

(From OE-Core rev: 442fa3d9eeae100bfa97002c97671d4b540048ed)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-23 12:13:50 +00:00
Ross Burton
a2b1bfd957 tiff: backport CVE fixes:
Backport fixes for the following CVEs:

- CVE-2022-0865
- CVE-2022-0891
- CVE-2022-0907
- CVE-2022-0908
- CVE-2022-0909
- CVE-2022-0924

(From OE-Core rev: 2fe35de73cfa8de444d7ffb24246e8f87c36ee8d)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-23 12:13:50 +00:00
Alexander Kanavin
73aa8621c5 python3-sphinx-rtd-theme: correct upstream version check
(From OE-Core rev: 975be11022f42d5e91ac82bdd253a7570a72b5a7)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-23 12:13:50 +00:00
Ming Liu
16d7103df1 kernel-fitimage.bbclass: introduce get_fit_replacement_type function
Avoid to set KERNEL_IMAGETYPE_REPLACEMENT in anonymous python function,
otherwise it chould not be overridden in config files, for instance,
it's being set now in meta/lib/oeqa/selftest/cases/fitimage.py.

Introduce a get_fit_replacement_type function to get the default value
of KERNEL_IMAGETYPE_REPLACEMENT, and it could be overridden in config
files.

(From OE-Core rev: 5238facb2f067b65959ac51695d100c0e849d3ee)

Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-23 12:13:50 +00:00
Ricardo Salveti
43299607cc libpam: use /run instead of /var/run in systemd tmpfiles
/var/run in deprecated by systemd, use /run instead, as suggested by systemd.

This fixes the following systemd boot warning:

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

(From OE-Core rev: 09eabeff2168c416c18b1c375e095b472830a9b0)

Signed-off-by: Ricardo Salveti <ricardo@foundries.io>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-23 12:13:49 +00:00
Richard Purdie
ff7b415738 libtool: Upgrade 2.4.6 -> 2.4.7
Libtool made a release after many years. Update to it, allowing us to drop two
backported patches. We also drop a performance optimistion patch since it is
too invasive to maintain separately.

(From OE-Core rev: b5d13cbdded0f71fd4b847066434d30e8a39c9ce)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-23 12:13:49 +00:00
Richard Purdie
3d62a6cc5c pseudo: Add patch to workaround paths with crazy lengths
Update to a version of pseudo which includes a workaround for crazy
long paths, as shown by the libfm failures from the libtool upgrade.

(From OE-Core rev: 67dfa32d82b8862e6e543c37315f211aba3ec28b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-23 12:13:49 +00:00
Richard Purdie
bf4e51fe5f set_versions/switchers: Drop versions shown to the active releases
I believe we should only be showing the "active" versions in the switchers
base list of releases to show. Zeus and warrior are old and no longer actively
maintained and we don't suggest new users use them. gatesgarth is also
outside it's support window.

I therefore propose removing these leaving us with dev, honister, hardknott,
dunfell (LTS). In addition, any release that is selected will be shown, along
with any later release in that release series.

People can still navigate to the older docs using the releases list or by
direct URL but this highlights to users which releases we'd expect/encourage
them to be using.

(From yocto-docs rev: fdcdc50f3abf10aa702c958b8ba7ab6b19c57bff)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-23 12:08:56 +00:00
Richard Purdie
f7d8533664 set_versions: Handle dev branch in switchers correctly
The dev branch is being displayed in switchers under two different
headings, 4.0.999 and dev (4.0). Add an additional conditional to fix that.

(From yocto-docs rev: 569815ac290f53a17330e53fb46c4870d8d247d2)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-23 12:08:56 +00:00
Richard Purdie
d51fb3c8b9 set_versions: Various improvements
- Allow specifying the version from the commandline
- Add all previous release series/version mappings (to support transitions branch)
- Add poky mapping for 3.4 as some releases erronously use it
- Improve git branch 'guessing' code to work properly
- Handle poky '.0' release mappings correctly
- Only write poky.yaml if poky.yaml.in exists
- Ensure older non-active releases are shown in the switchers.js
  release list.
- Ensure current version and current release series are shown in switcher.

(From yocto-docs rev: f2b069be8c307e3efe518f5d9bb1e6e705b96554)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-23 12:08:56 +00:00
Richard Purdie
8827704443 set_versions/switchers.js: Allow switchers.js version information to be autogenerated
A horrible blunt hammer approach to updating the version information in
switchers.js based on the available tag information.

To merge and work correctly, this will need a change to the autobuilder-helper
docs generation code to pull the swicthers.js and script from master, then
to run the script. That should hopefully remove the need for other patching
even on old docs branches though.

(From yocto-docs rev: dc858c8b2ffdb792fe8cef05fab3d752aa858f78)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-23 12:08:56 +00:00
Richard Purdie
767eb1c71c set_versions: Add support for setting POKYVERSION found in older releases
(From yocto-docs rev: 9c7a4318920d468cca10448901868bad080cd895)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-23 12:08:56 +00:00
Richard Purdie
b04eda7447 conf.py/set_versions/poky.yaml: Set version in conf.py from poky.yaml
Allow conf.py to read the versions it needs from poky.yaml and have
set_versions.py write this out. This means we don't have to change as
many files when making new releases.

(From yocto-docs rev: bfe74c67f327f0c6445cb4129ee0c32db022b95a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-23 12:08:56 +00:00
Richard Purdie
8d3e9aaede Makefile/set_versions: Allow poky.yaml to be autogenerated
Use a script to generate the branch/tag information inside poky.yaml.

If the branch isn't a known release branch, include git magic to find
the closest matching release branch we know about.

(From yocto-docs rev: 841e2df0e2e544b82fff9ddd0339a4e775148e3a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-23 12:08:56 +00:00
Ross Burton
93eb983e79 bitbake: bitbake: knotty: reduce keep-alive timeout from 5000s (83 minutes) to 10 minutes
The keep alive timeout is excessively long at 83 minutes (5000 seconds),
reduce this to 10 minutes: this should be long enough that it rarely
triggers in normal builds, but when it does it has useful information.

(Bitbake rev: 2e47346b95b09d7ab8f0603e2d62cfb549dc1f5c)

(Bitbake rev: dcf52157d3635925491783be656c6b76d1efe1a4)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-23 12:08:56 +00:00
Ross Burton
3e314814bf bitbake: bitbake: knotty: display active tasks when printing keepAlive() message
In interactive bitbake sessions it is obvious what tasks are running
when one of them hangs or otherwise takes a long time. However, in
non-interactive sessions (such as automated builds) bitbake just prints
a message saying that it is "still alive" with no clues as to what tasks
are active still.

By simply listing the active tasks when printing the keep alive message,
we don't need to parse the bitbake log to identify which of the tasks
is still active and has presumably hung.

(Bitbake rev: f9f57fb7d2c8a13df1eb9d5b9766f15e229dcf97)

(Bitbake rev: 30f6c3f175617beea8e8bb75dcf255611e3fc2fd)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-23 12:08:56 +00:00
Daniel Gomez
c5f5de1ad5 bitbake: contrib: Add Dockerfile for building PR service
Adds a Dockerfile for building the PR service in a container.

Based on the hash equivalence server container [hashserv].

Use the following environment variables to configure the PR service
container:
- DBFILE: database filename. Default:
  /var/lib/bbprserv/prserv.sqlite3.
- LOGFILE: log filename. Default: /var/lib/bbprserv/prserv.log.
- LOGLEVEL: logging level. Default: DEBUG.
- HOST: ip address to bind. Default: 0.0.0.0.
- PORT: port number. Default: 8585.
- DBMODE: database mode. Default: Empty (RW).
Note: DBMODE in RO: "--read-only".

[hashserv]: contrib/hashserv/Dockerfile

(Bitbake rev: a5497428b539e8598263924f63a9df8fe1ea70f9)

(Bitbake rev: 1d05abd92da56e284fcd904cf32bd12485903f10)

Signed-off-by: Daniel Gomez <daniel@qtec.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-23 12:08:56 +00:00
Michael Halstead
c41172d837 releases: update to include 3.1.15
Adding 3.1.15 to documentation switcher and release list.

(From yocto-docs rev: 355dd1e3f5bf76244a0b5862475cb06ace1c87b9)

Signed-off-by: Michael Halstead <mhalstead@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-22 22:32:34 +00:00
Richard Purdie
3b8d67d4f0 poky.yaml: Drop unused YOCTO_DOC_VERSION_MINUS_ONE
This doesn't seem to be used anymore and doesn't make much sense,
remove it.

(From yocto-docs rev: 89176e0bd45453ebb7ac77ce6fa333cb94f0cfcc)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-21 15:18:24 +00:00
Richard Purdie
33083dd825 poky.yaml: Drop POKYVERSION and YOCTO_POKY references
We don't publish tarballs using this version any more, it has been
removed everywhere. Remove the obsolete references in the docs,
adapting references accordingly. The tarballs now are just created
with their sha256 checksum which we don't want or need to reference
in the docs.

(From yocto-docs rev: c7a0ac88b01c48f3d9209536542bf43ae7a7937f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-21 15:18:24 +00:00
Michael Opdenacker
6f713552b5 doc: migration-3.5: variable changes for inclusive language
(From yocto-docs rev: a6650fd55259c5d7cf3cf9579e9ecd1184b1b155)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-21 15:18:24 +00:00
Michael Opdenacker
1b719e9043 doc: migration-3.5: move the distutils changes to the class changes section
(From yocto-docs rev: 2289b74b0cc4d991445ed6fbd01b7e17cb630fc3)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-21 15:18:24 +00:00
Nicholas Sielicki
2fd4d2cb70 dev-manual: note on using journald without syslog
journald is not a syslog provider, so using journald exclusively amounts
to just preventing a syslog provider from being specified on a system
where journald is active.

Various spots where this has popped up:
* https://stackoverflow.com/q/48746397
* https://lists.yoctoproject.org/g/yocto/topic/82883035#53548

(From yocto-docs rev: aba38d5dc2db708ed6e8fc6dca4d869fe7fe855c)

Signed-off-by: Nicholas Sielicki <nicholas.sielicki@legrand.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-21 15:18:24 +00:00
Richard Purdie
154e69f118 toaster: Fix broken overrides usage
This fixes data corruption issues with toaster where image data wasn't
being processed correct.

(From OE-Core rev: 95cc2d041ad651cfb81b2e55251acf1b86f9ddfc)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-21 10:07:40 +00:00
David Reyna
c71a9c89e3 bitbake: toaster: race condition for end-of-build
Force a sync point for end-of build event handler force
the build's outcome status commit, to resolve a race
condition with the build completion takedown.

[YOCTO #14765]

(Bitbake rev: f76c13536e19d2401365c0fc240ef8dbcb3ee7e8)

Signed-off-by: David Reyna <David.Reyna@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-21 10:07:40 +00:00
David Reyna
4769eaebb4 bitbake: toaster: detect when bitbake crashed
Add a polling check on tracebacks in a build's log. This
can for example indicate that bitbake crashed, which would
stop the event stream that Toaster normally uses to detect
build errors.

[YOCTO #14085]

(Bitbake rev: 32b1c0b3477e359d2e2a61a23a294e317e417f95)

Signed-off-by: David Reyna <David.Reyna@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-21 10:07:40 +00:00
Ross Burton
e5ab3817aa classes/setuptools_build_meta: rename to python_setuptools_build_meta
Rename this class to be python-prefixed to match the other new Python
build system classes.

(From OE-Core rev: 25d6bf8079797906bde7c0cf63a0466c981ba5bb)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-20 00:02:22 +00:00
Alexander Kanavin
1f46d65c46 sqlite3: upgrade 3.38.0 -> 3.38.1
(From OE-Core rev: 84b70c7d2d76af72cb6df42e0ceda66dbea49d8a)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-20 00:02:22 +00:00
Alexander Kanavin
291edb37e8 mtools: upgrade 4.0.37 -> 4.0.38
(From OE-Core rev: 2e1f35d654f0833096fb848170dca96a75a9558b)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-20 00:02:22 +00:00
Alexander Kanavin
9b8188b6a9 meson: upgrade 0.61.2 -> 0.61.3
(From OE-Core rev: e072a9b7cdd937b8976e87f1da1323859bb37c72)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-20 00:02:22 +00:00
Alexander Kanavin
2f12806097 squashfs-tools: correct upstream version check
(From OE-Core rev: 9aaa6ee30340795c89010c61b4d30d6a7bca0f86)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-20 00:02:22 +00:00
Alexander Kanavin
8be344a36a gtk+3: upgrade 3.24.31 -> 3.24.33
(From OE-Core rev: c1e00978b64f3f8590e73be9e59633e7b91d2322)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-20 00:02:22 +00:00
Alexander Kanavin
ce775f77f6 diffoscope: upgrade 206 -> 207
(From OE-Core rev: 7b65b733d4771497974e66885d188f9db187901a)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-20 00:02:22 +00:00
Alexander Kanavin
4470f05bd6 perl: update 5.34.0 -> 5.34.1
(From OE-Core rev: 0e318a46ceae38a33a99f55079c463e90a15944d)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-20 00:02:22 +00:00
Alexander Kanavin
f7b8493add perl-cross: update 1.3.6 -> 1.3.7
Drop upstreamed patches.

0001-configure_path.sh-do-not-hardcode-prefix-lib-as-libr.patch
is replaced with a tweak to configure parameters.

(From OE-Core rev: 1b2e235b5012c21939ced51e16f1305ad8dea75d)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-20 00:02:22 +00:00
Alexander Kanavin
497f76d782 bind: update 9.16.26 -> 9.18.1
Drop removed python/libtool options.

isc/platform.h is no longer installed.

Rewrite reproducibility patch to fix the problem at the source.

License-Update: copyright years

(From OE-Core rev: 8a9a5885995c77774cdafeb09f7522c50750a1e9)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-20 00:02:22 +00:00
Alexander Kanavin
30431bed25 python3-typing-extensions: fix upstream version check
(From OE-Core rev: 3adad1e0cf0ad2238e0bbc23949d3b8668d41a5c)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-20 00:02:22 +00:00
Alexander Kanavin
e45dca9df0 python3-semantic-version: fix upstream verison check
(From OE-Core rev: 6fbc555ee50f97c4b4b3e3af5eaeb23551ec4901)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-20 00:02:22 +00:00
Khem Raj
a3e92d3c05 weston-init: Use pixman rendering for qemuppc64
(From OE-Core rev: 2b9d8becad7abdd8c53c9f8b46082a0a445dcaf8)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-20 00:02:22 +00:00
Khem Raj
4ec467a3e3 qemuriscv: Use virtio-tablet-pci for mouse
This helps in making mouse response better where transition between host
and guest mouse is abrupt and not precise and as a result its difficult
to access stuff near the edges.

(From OE-Core rev: 010287147d2205790745e6dab8e955e71bc7cac2)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-20 00:02:22 +00:00
Khem Raj
afcbe82320 openssh: Default to not using sandbox when cross compiling
backport a patch to fix sandboxing issues seen on ppc32 and also on
riscv32 [1]

[1] https://bugzilla.mindrot.org/show_bug.cgi?id=3398

(From OE-Core rev: 90895a627be5e8a4e4943fa9195b5553416086d3)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-20 00:02:22 +00:00
Sakib Sajal
f8134d3692 perl: generate alternative link for streamzip
streamzip is also provided by io-compress-perl, so add
an alternative link for streamzip.

(From OE-Core rev: 8da6f165c69dae4e873de840eb454c5da1d824e2)

Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-20 00:02:22 +00:00
Trevor Gamblin
6869c34df8 iptables: use nft backend with libnftnl PACKAGECONFIG
Currently, when the libnftnl (part of meta-networking) PACKAGECONFIG is
enabled for iptables, both legacy and nft-based binaries are built and
installed in the image. However, the "iptables" symlink in this case
still points to xtables-legacy-multi, rather than xtables-nft-multi.
This patch adds a conditional check to replace the symlink to point to
the latter if iptables is built with libnftnl support, which is
consistent with other major distros (e.g. Fedora). The "iptables-legacy"
symlink remains present and unmodified.

(From OE-Core rev: bc41682ab2a259b7bc6a56fa3ba42907f4c8bf25)

Signed-off-by: tgamblin <trevor.gamblin@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-18 23:32:46 +00:00
Khem Raj
547cf5b820 weston-init: Use pixman on riscv64 qemu
Helps boot weston/wayland images

(From OE-Core rev: ed2c7c806f1a48c388282f5cbdc93f034ba2c93d)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-18 23:32:46 +00:00
Alexandre Belloni
d68b2090e9 scripts/patchreview: handle Inactive-Upstream status
(From OE-Core rev: 44afce53725f59fefb0ca5df6babe2b8bec6a68b)

Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-18 23:32:46 +00:00
Zoltán Böszörményi
6a89afe156 mesa: Allow building Mesa's OpenCL through PACKAGECONFIG
(From OE-Core rev: 78d17787eb4dd65dacde785dbb47359726c22173)

Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-18 23:32:46 +00:00
Richard Purdie
12464bf798 oeqa/selftest/tinfoil: Improve tinfoil event test debugging
We still see occasional test failures for unknown reasons. Add some debugging to
show whether the matching files event was received even if the command complete wasn't.

Also ensure any commandfailed/commandexit event is shown.

This will hopefully aid debugging the next time the issue occurs.

(From OE-Core rev: 2f7a788bb51ef09ee23c94176285437ea760fab7)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-18 23:32:46 +00:00
Ross Burton
733d5a8d36 python3-cryptography-vectors: upgrade to 36.0.2
This needs to be upgraded in lockstep with python3-cryptography.

(From OE-Core rev: 1a66c415af0b8178fdaa44ebf0d59957194e891f)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-18 23:32:46 +00:00
Ross Burton
74d783fd79 python3-cryptography: enforce identical version for -cryptography-vectors
python3-cryptography and python3-cryptography-vectors are actually the
same project but are on Pypi as two separate modules.

The test suite validates that they're the same version and fails if they
are not:

FAIL: tests/test_utils.py::test_vector_version
    def test_vector_version():
>       assert cryptography.__version__ == cryptography_vectors.__version__
E       AssertionError: assert '36.0.2' == '36.0.1'

Catch this slightly earlier by mandating that python3-cryptography-ptest
pulls in an identically versioned python3-cryptography-vectors.

(From OE-Core rev: 7c098aac08faf5da01aafec5c5d87f563d913744)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-18 23:32:46 +00:00
Khem Raj
69b4cbdf05 python3-cryptography: Upgrade to 36.0.2
(From OE-Core rev: 3acf088edec6e328f4e25ddd741f967368ae5ae0)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-18 23:32:46 +00:00
Richard Purdie
20058345e0 buildtools-docs-tarball: Add test for building documentation using sphinx
(From OE-Core rev: 26b224a1bbe27b5d9886be4552147e1d66e34519)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-18 23:27:28 +00:00
Richard Purdie
153208c7e5 Add buildtools-docs-tarball recipe
(From OE-Core rev: 4f691a4ecd02dd588158b28e57f5a58a42beffea)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-18 23:27:28 +00:00
Richard Purdie
1d4d1fc102 maintainers.inc: Add new python recipes
(From OE-Core rev: 39e6aed362a1d4dffcd9827cea3f216a7774da43)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-18 23:27:28 +00:00
Richard Purdie
60154c479e python3: Add missing HOMEPAGE entries
(From OE-Core rev: 979122077165b2dcdce5bb8e9b88a764254ddef8)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-18 23:27:28 +00:00
Richard Purdie
6504eae346 python3-sphinx: Work around reproducibility issue
The dict used in this recipe doesn't write into the cache consistently, work
around it until this issue is resolved in python upstream (similar to frozenset
issues).

(From OE-Core rev: a0d056862c218f5fcd921905271169742cf464dc)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-18 23:27:28 +00:00
Richard Purdie
1899e59165 python3-sphinx: Add a new recipe
Needed to build the sphinx based yocto-docs

Based on a recipe from Armin Kuster <akuster808@gmail.com>

(From OE-Core rev: 15b623e74846b7c7cd2f5e5b309e1379af86cf3f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-18 23:27:28 +00:00
Richard Purdie
c42747d0c1 python3-sphinx-rtd-theme: Add new recipe
Needed for building sphinx docs

Based on a patch from Armin Kuster <akuster808@gmail.com>

(From OE-Core rev: 765772631d6f03621d1f11a79b1e3f1a464111cb)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-18 23:27:28 +00:00
Richard Purdie
a55d5908b9 python3-sphinxcontrib-applehelp: add new recipe
Based on a patch from Armin Kuster <akuster808@gmail.com>

(From OE-Core rev: deaf4cd5af29207dc06203fbaab9bd7ab90ac789)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-18 23:27:28 +00:00
Richard Purdie
e984f20894 python3-sphinxcontrib-jsmath: Add new recipe
Based on a patch from Armin Kuster <akuster808@gmail.com>

(From OE-Core rev: 03e070b3c4a4a618bbce10a8dfe9323bf7b9973d)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-18 23:27:28 +00:00
Richard Purdie
bb262a928c python3-sphinxcontrib-serializinghtml: Add new recipe
Based on a patch from Armin Kuster <akuster808@gmail.com>

(From OE-Core rev: e8b6482f554db2c8089c57aaaaf2e0f77a065a82)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-18 23:27:28 +00:00
Richard Purdie
95a9a57459 python3-sphinxcontrib-htmlhelp: Add new recipe
Based on a patch from Armin Kuster <akuster808@gmail.com>

(From OE-Core rev: 9c73148c3956249ce6039928fdeb6865f268b4b5)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-18 23:27:28 +00:00
Richard Purdie
7796cd0421 python3-sphinxcontrib-devhelp: Add new recipe
Based on a patch from Armin Kuster <akuster808@gmail.com>

(From OE-Core rev: ab23d1ec2c8c67f2808fa2e2f31e06dde2ee9772)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-18 23:27:27 +00:00
Richard Purdie
130bb1e2c2 python3-sphinxcontrib-qthelp: Add new recipe
Based on a patch from Armin Kuster <akuster808@gmail.com>

(From OE-Core rev: 9efd9322b920818a4ceff123fe244ce63aa88c8b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-18 23:27:27 +00:00
Richard Purdie
c32fb70543 python3-babel: Add recipe from meta-oe/meta-python
(From OE-Core rev: 84e56f68e80b272a533646ce43a1f3bb13eed74f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-18 23:27:27 +00:00
Richard Purdie
42471a31c3 python3-urllib3: Add from meta-oe/meta-python
(From OE-Core rev: cc339666f2324a68e4e1b131e5bcb442ce72a755)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-18 23:27:27 +00:00
Richard Purdie
5a607e7205 python3-requests: Add from meta-oe/meta-python
(From OE-Core rev: 5971e3540763f628918992919315ec49b016c02e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-18 23:27:27 +00:00
Richard Purdie
28e7b053ae python3-pytest-runner: Add from meta-oe/meta-python
(From OE-Core rev: 3b8f5c823595ea8f375f89e9c30d534c217f160a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-18 23:27:27 +00:00
Richard Purdie
a939b03f04 python3-pysocks: Add from meta-oe/meta-python
(From OE-Core rev: 01106cfda226c26efed9928026af680a49f5ffcc)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-18 23:27:27 +00:00
Richard Purdie
b5dd960c45 python3-pyopenssl: Add from meta-oe/meta-python
(From OE-Core rev: be7d74f786065c2ad7897e572054155122946a27)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-18 23:27:27 +00:00
Richard Purdie
f71ffcaebd python3-ndg-httpsclient: Add from meta-oe/meta-python
(From OE-Core rev: ee9f6ee89e4c0334b75da9faec655eecec34f703)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-18 23:27:27 +00:00
Richard Purdie
e93c16c88d python3-chardet: Add from meta-oe/meta-python
(From OE-Core rev: 00a9f10a539aa209ae0385e15c6b18716350e512)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-18 23:27:27 +00:00
Richard Purdie
01075ddc7b python3-certifi: Add from meta-oe/meta-python
(From OE-Core rev: 663e76dc3f9d727deef6a4406a24c7f1b7ecac74)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-18 23:27:27 +00:00
Richard Purdie
c2c6b7b29f ptest-packagelists.inc: Add python3-pyasn1 to fast ptests list
(From OE-Core rev: 6239b6b987cec1e42b50513fd43db92dd5cdc449)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-18 23:27:27 +00:00
Richard Purdie
4620af104c python3-pyasn1: Add from meta-oe/meta-python
(From OE-Core rev: eff589862d6f98845531b9870c0b727e2e7bf0d3)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-18 23:27:27 +00:00
Richard Purdie
864e9771d6 python3-alabaster: Add new recipe
Needed for sphinx support

Based on a patch from Armin Kuster <akuster808@gmail.com>

(From OE-Core rev: d4072c0c320a33b5206da23846fc28fc42885177)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-18 23:27:27 +00:00
Richard Purdie
211e7c06b7 python3-imagesize: Add new recipe
Needed for sphinx support.

Based on a patch from Armin Kuster <akuster808@gmail.com>

(From OE-Core rev: acec4a8cd3770a2242207b905716394ca8c5232f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-18 23:27:27 +00:00
Richard Purdie
fb2205b919 python3-snowballstemmer: Add new recipe
Add a recipe needed for sphinx support

Based on a patch from Armin Kuster <akuster808@gmail.com>

(From OE-Core rev: 95e0813b372b3a12c3b24731345df3db2068110b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-18 23:27:27 +00:00
Richard Purdie
cf72cec468 bitbake: codeparser: Avoid log bufer overhead in cache case
Creating the new log instances triggers a lot of python logging overhead
in a commonly called function (about 600,000 for parsing OE-Core).

We only need the log functionality if we're parsing, not if we just hit
from the cache. Therefore defer the log setup overhead until we know it
is a cache miss.

Whilst this complicates the code slightly, the performance gain is worth
it as for parsing OE-Core we drop 60 million funciton calls (from 225
overall).

(Bitbake rev: ac868167ad854f9bb32dcb2e63528870547805a7)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-18 13:17:10 +00:00
Richard Purdie
b58049b4e7 bitbake: data_smart: Avoid multiple getVarFlag calls
We can call getVarFlags() instead of the multiple getVarFlag calls
which is a little more efficient. This reduces the number of overall
function calls so is good but probably isn't much faster (or slower).

(Bitbake rev: 505a4dd34e822bdf902d9b348dbcdf5b2c94e784)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-18 13:17:10 +00:00
Richard Purdie
c45c830800 bitbake: data_smart: Skip commonly accessed variables from variable data context lookup
The code tries to expand missing entities when they're encountered in
python expressions. Looking at traces, these are often things which
would not be in the data store such as "bb".

Optimise to skip the data store queries for things we know will never
be there. The expansion cache usually covers these but skipping
entirely cuts a few million function calls parsing OE-Core.

(Bitbake rev: 1ae712635a2eef3ecbf541e1f7cc2eeb2f3799c9)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-18 13:17:10 +00:00
Richard Purdie
e838455c34 python3-docutil: Extend to nativesdk
This is needed by the incomming buildtools-docs-tarball.

(From OE-Core rev: 8fd4de37f0e2530ef7ff6eaf176e300e0a045d21)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-17 16:44:33 +00:00
Richard Neill
2dfe8c74cf systemd: Update 250.3 -> 250.4
The following security and bug-fix patches are included as part of the 250.4
update:

c6603da3ad boot: Properly check status code of console_key_read
2198c08d07 core: really skip automatic restart when a JOB_STOP job is pending
367041af81 pid1: set SYSTEMD_NSS_DYNAMIC_BYPASS=1 env var for dbus-daemon
160eeab224 virt: Fix Xen Dom0 detection logic to no longer report as VM
514a4c051c network: bridge: fix endian of vlan protocol
4dbc210124 resolve: fix possible memleak
d82bd80cf4 resolve: fix potential memleak and use-after-free
dcba78244e util: another set of CVE-2021-4034 assert()s
74dfb51f70 sd-dhcp6-client: fix sending prefix delegation request during rebind
df59c65a23 mkdir: allow to create directory whose path contains symlink
ae95ca27be sd-dhcp-lease: fix memleak
2b04d3b3fc sd-dhcp-lease: fix reading unaligned memory
1ef56ad928 network: xfrm: refuse zero interface ID
7dc0f80588 sd-dhcp-lease: fix a memory leak in dhcp_lease_parse_search_domains
426807c54b sd-dhcp-lease: fix an infinite loop found by the fuzzer
0456e3aaaa oomd: fix race with path unavailability when killing cgroups

As the following two patches:

0001-mkdir-allow-to-create-directory-whose-path-contains-.patch
0001-src-fundamental-list-fundamental_source_paths-using-.patch

have been merged in 250.4 or replaced, remove them.

(From OE-Core rev: ccf7b8948f0c02e28e8a0151c48bf169d3fc36c8)

Signed-off-by: Richard Neill <richard.neill@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-17 16:44:33 +00:00
Khem Raj
197c379d2b libucontext: Upgrade to 1.2 release
License-Update: Copyright years changed [1]

aarch64 implements simd register save/restore

loongarch64 supported added

[1] 9943d4f5fc
(From OE-Core rev: d51592e4eb2bc951f0c33a6e69be22aa8ea84d6f)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-17 16:44:33 +00:00
Markus Volk
8969f056be wayland: provide wayland-client-native and wayland-protocols-native
(From OE-Core rev: 08a7551997285ce4f9568353870d5c4e76e93d95)

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-17 16:44:33 +00:00
Markus Volk
926173678d libva: make buildable for native and nativesdk
This prevents an error if trying to add "va" to mesa PACKAGECONFIG

(From OE-Core rev: 893d2a92cb967f5896b8c7a70dbd4bffcfa3bcba)

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-17 16:44:33 +00:00
Markus Volk
188c5ff444 mesa: align target- and native build
(From OE-Core rev: bfa40b777f08bab97263559a1f91200005eb180c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-17 16:44:33 +00:00
Markus Volk
a6ad1d410d xf86-video-intel: add dependencies; remove dri1
(From OE-Core rev: cb32a204a73f36dfeb83a52105fb97b2c0636b27)

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-17 16:44:33 +00:00
Richard Purdie
c075d00160 python3-cryptography: Fix ptest result handling
We run the tests correctly, we just don't get individual test result
reporting. Borrow the code from python3-bcrypt to handle this correctly
and ensure the test pass/fail scores and individual test results are
reported in a format we can read.

(From OE-Core rev: 17b7dfc46f75f66854c1e540480ef19df6fc43a2)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-17 16:44:33 +00:00
Richard Purdie
b688d68c6e cargo: Add missing nativesdk support
Copy the target definition for nativesdk to allow nativesdk builds
to work.

(From OE-Core rev: 40b02f496d6bb9162f9fa36335b047c06937f2f3)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-17 16:44:33 +00:00
Richard Purdie
da0cb26c00 rust-cross: Add rust-crosssdk variant for nativesdk use
Allow nativesdk recipes to find a correct version of the rust cross
compiler.

(From OE-Core rev: 0f5d26772abfbbae9096fa43901d8620f76aea3c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-17 16:44:33 +00:00
Richard Purdie
b792bcd602 libstd-rs: Extend to nativesdk
This is needed to add the rust standard library to SDKs for use
by SDK tools.

(From OE-Core rev: 060057fa94451586e4eb47f68bc5c7c796f7d337)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-17 16:44:33 +00:00
Ross Burton
49b0a7aa45 lttng-modules: remove redundant devupstream assignments
These are set by devupstream, so they don't need to be set in the recipe.

(From OE-Core rev: 39d39c61633e229a04eec6848b5e49c9f9860fa8)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-17 16:44:33 +00:00
Ross Burton
7fee41dcef classes/python_pep517: consolidate stub do_configure
As PEP517 doesn't have an explicit configure step, we can stub out the
do_configure task once instead of the calling classes doing it.

(From OE-Core rev: fd17edbd00f1583eb9e1912ab269dd4dc2631a6f)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-17 16:44:33 +00:00
Ross Burton
6f5ee7fffb classes/flit_core: rename to python_flit_core
To be more uniform with the other new Python classes, rename this to
python_flit_core and update the recipes that use it.

(From OE-Core rev: c0e4ca3c7841028a658f21c11619228022d425b4)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-17 16:44:33 +00:00
Ross Burton
fc364f1c55 classes/setuptools_build_meta: use python_pep517_do_compile
Instead of implementing our own do_compile, set PEP517_BUILD_API and
use the generic do_compile.

(From OE-Core rev: 39a05e44f232775560ad79e49ffe4fb17ed6533c)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-17 16:44:33 +00:00
Ross Burton
0f31b46827 classes/python_pep517: add more comments
Remove mention of prebuilt wheels, this is for the full PEP517 build
process and recipes that want to install prebuilt wheels can use
pypa/installer directly.

(From OE-Core rev: d42664a5b5fb460185be996428dbaba6bb81ec3f)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-17 16:44:33 +00:00
Ross Burton
49fe9edcde classes/python_poetry_core: use python_pep517_do_compile
Instead of implementing our own do_compile, set PEP517_BUILD_API and
use the generic do_compile.

(From OE-Core rev: e38afe528f25038f5adb7a7a94a1e007011696ee)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-17 16:44:33 +00:00
Ross Burton
4f22a746d8 classes/python_pep517: implement a standard do_compile
As all PEP517-compliant build systems have a universal API, we can ask
that users of this class set PEP517_BUILD_API to the class that implements
this API and call it ourselves, instead of users needing to implement
near-identical do_compile tasks themselves.

(From OE-Core rev: 862f68f3a05ce48834f4903d9f9a213684061779)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-17 16:44:33 +00:00
Ross Burton
11c36d4f1a classes/flit_core: use python_pep517_do_compile
Instead of implementing our own do_compile, set PEP517_BUILD_API and
use the generic do_compile.

(From OE-Core rev: 0d3e07177e99d925f2807b85d16596455944d0a5)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-17 16:44:33 +00:00
Ross Burton
4b5885c2a6 python3-packaging: remove duplicate python3-setuptools-native DEPENDS
setuptools_build_meta.bbclass already sets this dependency.

(From OE-Core rev: df1d4ed389f0c5f148f9940ce849e3ed64d34923)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-17 16:44:33 +00:00
Michael Opdenacker
d5663dd9cd ref-manual: reorder variable definitions
By alphabetical order, to get the same order as in the HTML
output, sorted thanks to the ":sorted:" directive.

That was needed after the recent variable renaming for
inclusive language, but other variables were already
out of order anyway.

(From yocto-docs rev: 371c30d2f95fa32239c82d4ad8a6329ab191acca)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-16 14:25:02 +00:00
Michael Opdenacker
adbd2348c4 ref-manual: sort list of variables in generated output
As already done in the BitBake manual.

Even though we're trying to keep the variable
definitions in alphabetical order, it's useful
to make sure that the variables are ordered in the
generated output.

(From yocto-docs rev: a43887858f46d2870443f7664487a36def23a90e)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Reported-by: Quentin Schulz <foss@0leil.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-16 14:25:02 +00:00
Michael Opdenacker
81664f1adc docs: ref-system-requirements.rst: update list of supported distros
Add AlmaLinux 8.5, Fedora 35, and OpenSUSE Leap 15.3
Remove Fedora 33, Debian 8, OpenSUSE Leap 15.1 and 15.2

Removing distros that were recently removed from SANITY_TESTED_DISTROS
in meta-poky/conf/distro/poky.conf

(From yocto-docs rev: 734d5db1f166d7722541b25718fb11a12282f0c5)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Reported-by: Steve Sakoman <steve@sakoman.com>
Reported-by: Christian Eggers <ceggers@arri.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-16 14:25:02 +00:00
Ross Burton
4b15900ee0 Update documentation for Python packaging changes
A number of classes and variables have been renamed, so update the
documentation as needed.

(From yocto-docs rev: 35b2e1757f5f2f09bb899ed24ffea50e5041b471)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-16 14:25:02 +00:00
Michael Opdenacker
e3b7a5ba49 docs: brief-yoctoprojectqs: update video tutorial
Replace a 10 year-old introduction to the Yocto Project
by the most recent one from Behan Webster and Tom King (Dec. 2021).

(From yocto-docs rev: 92a573d690c82fb9ff717e68af5ee09da33cea2c)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-16 14:25:01 +00:00
Michael Opdenacker
61f3805d0e dev-manual: details about using firewalls and limiting fetch threads
Fixes [YOCTO #13235]

(From yocto-docs rev: cf76420c50f13762fb800a19931a8af5ae3567cf)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-16 14:25:01 +00:00
Michael Opdenacker
809b96e931 manuals: inclusive language updates
Changes identified by OE core's
scripts/contrib/convert-variable-renames.py script

Original variable names are kept in old migration notes,
but references to the new ones are provided.

(From yocto-docs rev: 1a35380ca80509fee036018a2bbb22ba9b44d47a)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-16 14:25:01 +00:00
Michael Opdenacker
88e368dca4 documentation/README: correct heading styles actually used in the YP manuals
Sphinx seems to offer flexibility in heading styles definitions,
but the new text matches the way subsubsections and subsubsubsections
are defined in the current manuals.

Note that it's not possible to mix different definitions, for example
by using "~~~~" and "^^^^" for subsubsections in different places.

(From yocto-docs rev: 89a9af58adaa4cf4708d0383655b992f8c7239e2)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-16 14:25:01 +00:00
Michael Opdenacker
bafbbd53c4 docs: update examples to add branch info to git URIs
Branch information is now mandatory for git:// and gitsm:// URIs

(From yocto-docs rev: b862655d812e358dd15b06c0548a276a90666423)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Reviewed-by: Quentin Schulz <foss+yocto@0leil.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-16 14:25:01 +00:00
Christian Eggers
16831cd62b ref-manual: INCOMPATIBLE_LICENSE: use new license wildcards
This has recently been changed in expand_wildcard_licenses().
(file: OECORE/meta/classes/license.bbclass).

(From yocto-docs rev: 5121da30350a4edeef07f6722222c9e364617f0e)

Signed-off-by: Christian Eggers <ceggers@arri.de>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-16 14:25:01 +00:00
Tony McDowell
d59439a3fb dev-manual: add instructions for compacting WSLv2 VHDX files
Using DiskPart for the systems which lack optimize-vhd

(From yocto-docs rev: c692b77065e6bd8eda789a88fa8fae1351a7274d)

Signed-off-by: Tony McDowell <svet.am@gmail.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-16 14:25:01 +00:00
Saul Wold
7c617ecb4d documentation: Update for skip_recipe rename
This change better aligns the name of the variable with its
purpose. Since we removed the older class, the associated
documentation is also removed.

(From yocto-docs rev: aa136a0fb552339db5475fff7947d2248f8af3e1)

Signed-off-by: Saul Wold <saul.wold@windriver.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-16 14:25:01 +00:00
Michael Opdenacker
de54ea299b docs: migration-3.5.rst: fix "distutils" typo
(From yocto-docs rev: 76755cd4e2122a4a96b33c482c30e2bcd6ee9a7f)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Reviewed-by: Quentin Schulz <foss+yocto@0leil.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-16 14:25:01 +00:00
Michael Opdenacker
d43121dac5 docs: overview-manual: formating fixes
(From yocto-docs rev: c17eb6bb35053ad89e52d41c7da75ccbc3823d1b)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Reviewed-by: Quentin Schulz <foss+yocto@0leil.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-16 14:25:01 +00:00
Joe Slater
7f736a56e9 expect: modify fixline1 script
fixline1 needs to be processed by fixline1, but we
short-circuit that.  Enter the multi-line shebang which
I am a bit queasy about, but expect loves it.

(From OE-Core rev: 0829d4f2947be2b095e7e713b5100f4e41218bec)

Signed-off-by: Joe Slater <joe.slater@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-16 13:39:12 +00:00
Khem Raj
552b8ede77 qemuppc64: Use smp = 2
Speeds up the system a bit

(From OE-Core rev: 6572225a0afb60b02702a6ab59da649386708a7f)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-16 13:39:12 +00:00
Khem Raj
ac35918153 qemuppc64.conf: Disable huge vmalloc
This feature results in X11 crashes on Qemu since 5.13+ when it was added
disable it therefore for qemuppc64

(From OE-Core rev: 38503807e92699cb0fb1d207af73954cc953d728)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-16 13:39:12 +00:00
Kai Kang
eab17ad3b7 python3-pyparsing: rdepends on python3-html
It fails to import python module 'pyparsing':

| root@qemux86-64:~# python3 -c 'import pyparsing'
| Traceback (most recent call last):
|   File "<string>", line 1, in <module>
|   File "/usr/lib64/python3.10/site-packages/pyparsing/__init__.py", line 141, in <module>
|     from .helpers import *
|   File "/usr/lib64/python3.10/site-packages/pyparsing/helpers.py", line 2, in <module>
|     import html.entities
| ModuleNotFoundError: No module named 'html'

(From OE-Core rev: bfc76d19f3d6e3a7b2d91c3fcd97501c8b29001e)

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-16 13:39:12 +00:00
wangmy
74bf12dacd dpkg: upgrade 1.21.1 -> 1.21.2
The following patches refreshed for new version:
0001-build.c-ignore-return-of-1-from-tar-cf.patch
0003-Our-pre-postinsts-expect-D-to-be-set-when-running-in.patch
0004-The-lutimes-function-doesn-t-work-properly-for-all-s.patch
0007-dpkg-deb-build.c-Remove-usage-of-clamp-mtime-in-tar.patch
noman.patch
remove-tar-no-timestamp.patch

(From OE-Core rev: d495c19b835e8e4c049b83e983487fc8de021499)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-16 13:39:12 +00:00
Changhyeok Bae
e4795393c4 mobile-broadband-provider-info: upgrade 20210805 -> 20220315
(From OE-Core rev: ed02ee8f20094f598448d58875cb7be8a24a019f)

Signed-off-by: Changhyeok Bae <changhyeok.bae@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-16 13:39:12 +00:00
Richard Purdie
10c24d7b66 license: Drop AVAILABLE_LICENSES
This variable is a performance liability and is highly dependent on which
layers are added to the configuration which can cause signature issues
for users. We have no users left in OE-Coreso remove it.

(From OE-Core rev: bf08d9ccb9cbc749a571af3d33140bcae0e252a6)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-16 10:31:41 +00:00
Richard Purdie
e03460b0bc sstate: Allow optimisation of do_create_spdx task dependencies
do_create_spdx tasks don't need their dependencies so we can optimistion
this as we do for some other tasks.

(From OE-Core rev: 6723a045c3a46537bb76111f8306b5960e532522)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-16 10:31:41 +00:00
Richard Purdie
0ca67e4d97 create-spdx: Use function rather than AVAILABLE_LICENSES
We can directly call the function rather than using the variable indirection.
As this is the last user of the variable, it then allows removal of it in a
followup patch.

(From OE-Core rev: 3ed84651b2f4eff9409bfecba2a080e244124880)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-16 10:31:41 +00:00
Richard Purdie
10d9a8ba7a perf-build-test/report: Drop phantomjs and html email reports support
phantomjs isn't reliable and we've moved to sharing the reports via a webserver.
Update the scripts to more match those being used in the autobuilder helper
where the html email support was removed.

(From OE-Core rev: b5c131006e3fad0a15e6cdf81f71dc1e96647028)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-16 10:31:41 +00:00
Ross Burton
65d4385d46 openssl: upgrade to 3.0.2
* Fixed a bug in the BN_mod_sqrt() function that can cause it to loop forever
    for non-prime moduli ([CVE-2022-0778])

(From OE-Core rev: 30f054a1e0afaa26d16a411df2a6310104342e63)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-16 10:31:41 +00:00
Ahmad Fatoum
1716625123 kernel-fitimage: allow overriding FIT configuration prefix
The prefix was recently changed to play ball with the CVE-2021-27138
workaround in U-Boot. Already deployed bootloaders though may still
expect a configuration name containing @ or they may not be affected
by this issue.

Also, uses may want to customize it beyond the [@-] issue: When
device trees are built from a recipe using kernel-devicetree.bbclass
the configuration nodes will contain the parent directories, e.g.

KERNEL_DEVICETREE = "freescale/imx8mm-myboard.dtb"

will become "conf-freescale_imx8mm-myboard.dtb". When moving to
devicetree.bbclass, this prefix go away. With this change here,
users can restore it easily by setting FIT_CONF_PREFIX =
"conf-freescale_", ensuring backwards compatibility.

(From OE-Core rev: 7892ee3dc37d302c8eb9c13cd8bb4b7b6e103949)

Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-16 10:31:41 +00:00
Ross Burton
11cfe07672 python3-setuptools-rust-native: use setuptools_build_meta
The wheel generation problems are solved now: a wheel is correctly built
to setuptools_rust-1.1.2-py3-none-any.whl, so we can use
setuptools_build_meta.

(From OE-Core rev: 3da6a4151ed3d69595548931a86a64268be55749)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-16 10:31:41 +00:00
Ross Burton
e94aa1d703 linux-yocto: remove redundant devupstream assignments
These are set by devupstream, so they don't need to be set in the recipe.

(From OE-Core rev: 12f03dda0cb339be16261da205f0aa0ec976bfc8)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-16 10:31:41 +00:00
Ross Burton
f24d765a8c devupstream: fix handling of SRC_URI
As the class handler runs before overrides are actually applied we need
to check both SRC_URI:class-devupstream and SRC_URI, otherwise the
automatic assignment of S="${WORKDIR}/git" for git repositories does
not work if the base recipe uses http: but :class-devupstream has a git://
entry instead.

Also, there's no need to set S:class-devupstream, we can just assign to
S here.

(From OE-Core rev: d0edb03088d0d1c20c899daed1bb3a7110b19670)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-16 10:31:41 +00:00
wangmy
4b0139ba5f libuv: upgrade 1.43.0 -> 1.44.1
License-Update:
the following message removed from LICENSE:
android-ifaddrs.h, android-ifaddrs.c, copyright Berkeley Software Design
Inc, Kenneth MacKay and Emergya (Cloud4all, FP7/2007-2013, grant agreement
n° 289016). Three clause BSD license.

Changes since version 1.43.0:
=============================
* process: simplify uv__write_int calls
* macos: don't use thread-unsafe strtok()
* process: fix hang after NOTE_EXIT
* darwin: remove EPROTOTYPE error workaround
* doc: fix v1.43.0 changelog entries
* win: replace CRITICAL_SECTION+Semaphore with SRWLock
* darwin: translate EPROTOTYPE to ECONNRESET
* android: use libc getifaddrs()
* unix: fix STATIC_ASSERT to check what it means to check
* unix: ensure struct msghdr is zeroed in recvmmsg
* test: test with maximum recvmmsg buffer
* unix: don't allow too small thread stack size
* bsd: ensure mutex is initialized
* doc: add gengjiawen as maintainer
* process: monitor for exit with kqueue on BSDs
* test: fix flaky uv_fs_lutime test
* build: fix cmake install locations
* thread,win: fix C90 style nit
* build: rename CFLAGS to AM_CFLAGS
* doc/guide: update content and sample code
* process,bsd: handle kevent NOTE_EXIT failure
* test: remove flaky test ipc_closed_handle
* darwin: bump minimum supported version to 10.15
* win: return fractional seconds in uv_uptime()
* build: export uv_a for cmake
* loop: add pending work to loop-alive check
* win: use GetTickCount64 for uptime again
* win: restrict system DLL load paths
* win,errors: remap ERROR_ACCESS_DENIED to UV_EACCES
* bench: add 'uv_queue_work' ping-pong measurement
* build: fix error C4146 on MSVC
* test: fix benchmark-ping-udp
* win,fs: consider broken pipe error a normal EOF
* document the values of enum uv_stdio_flags
* win,loop: add missing uv_update_time
* win,fs: avoid closing an invalid handle
* fix oopsie from
* doc: clarify android api level
* win: fix style nits [NFC]
* test: fix flaky udp_mmsg test
* test: fix ipc_send_recv_pipe flakiness
* doc: checkout -> check out
* core: change uv_get_password uid/gid to unsigned
* hurd: unbreak build on GNU/Hurd
* freebsd: use copy_file_range() in uv_fs_sendfile()
* test: use closefd in runner-unix.c
* Reland "macos: use posix_spawn instead of fork"
* android: fix build error when no ifaddrs.h
* unix,win: add uv_available_parallelism()
* process: remove OpenBSD from kevent list
* zos: fix build breakage
* process: only use F_DUPFD_CLOEXEC if it is defined
* win,poll: add the MSAFD GUID for AF_UNIX
* unix: simplify uv__cloexec_fcntl()
* doc: add secondary GPG ID for vtjnash
* unix: remove uv__cloexec_ioctl()

(From OE-Core rev: 87fd543aa802de1c9d4b234096fff8a1cf929f9a)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-16 10:31:41 +00:00
wangmy
3d29b42230 libcgroup: upgrade 2.0 -> 2.0.1
module.patch
musl-decls-compat.patch
removed since they're included in 2.0.1

Changelog:
==========
- Allow reading/writing from cgroup.* files in cgroup v2
- Add support for cgroup v2's cgroup.threads file
- Fix issue where libcgroup/pam wasn't working properly when
  cgrulesengd is disabled
- Fix a bug where the cgroup version wasn't initialized in a
  named cgroup v1 hierarchy
- Various automake bug fixes
- Build PAM module as unversioned DSO
- Fix build issues with musl libc
- Fix potential TOCTOU race in cgroup_get_procs()

(From OE-Core rev: 36d43237192aed532b37a52784fb91da64f54c1a)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-16 10:31:41 +00:00
wangmy
08040f9fa7 python3-numpy: upgrade 1.22.2 -> 1.22.3
(From OE-Core rev: 0f79af7b0d76b5f2cb4d2d01f395ab60810868dd)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-16 10:31:41 +00:00
wangmy
a8f0a8a090 lttng-modules: upgrade 2.13.1 -> 2.13.2
The following patches removed since they're included in 2.13.2
0001-fix-block-remove-GENHD_FL_SUPPRESS_PARTITION_INFO-v5.patch
0002-fix-block-remove-the-rq_disk-field-in-struct-request.patch
0003-fix-mm-compaction-fix-the-migration-stats-in-trace_m.patch
0004-fix-btrfs-pass-fs_info-to-trace_btrfs_transaction_co.patch
0005-fix-random-rather-than-entropy_store-abstraction-use.patch
0006-fix-net-skb-introduce-kfree_skb_reason-v5.17.patch
0007-fix-net-socket-rename-SKB_DROP_REASON_SOCKET_FILTER-.patch

Changelog:
=========
* Fix: incorrect in/out direction for syscall exit
* fix: net: socket: rename SKB_DROP_REASON_SOCKET_FILTER (v5.17)
* fix: net: skb: introduce kfree_skb_reason() (v5.17)
* fix: random: rather than entropy_store abstraction, use global (v5.17)
* fix: btrfs: pass fs_info to trace_btrfs_transaction_commit (v5.17)
* fix: mm: compaction: fix the migration stats in trace_mm_compaction_migratepages() (v5.17)
* fix: block: remove the ->rq_disk field in struct request (v5.17)
* fix: block: remove GENHD_FL_SUPPRESS_PARTITION_INFO (v5.17)
* Copyright ownership transfer

(From OE-Core rev: 093d6dba95c03911d3d7e1b3b07ceff2c1de5563)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-16 10:31:41 +00:00
wangmy
dd5a88907b python3-importlib-metadata: upgrade 4.11.2 -> 4.11.3
Changelog:
 #372: Removed cast of path items in FastPath, not needed.

(From OE-Core rev: be1411e6ce6ec808826b8028c704505171969f92)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-16 10:31:41 +00:00
wangmy
fa1a2cbe67 linux-firmware: upgrade 20220209 -> 20220310
License-Update:
 year updated to 2022
 Version of some driver files updated
 Added files for some drivers

(From OE-Core rev: be1b1d204c89035c54a626db46c5054e553b82c2)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-16 10:31:41 +00:00
wangmy
9f09b695ed librsvg: upgrade 2.52.6 -> 2.52.7
Changelog:
=========
Backport a fix for the regression that was introduced in the last
release:

- #851 - Output filled text as text for PDF; fixes regression due to
  outputting all text as paths.

(From OE-Core rev: 2d5d331a7793e8e45da06873df75ba11ed94c0b6)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-16 10:31:41 +00:00
wangmy
9556937fba libdnf: upgrade 0.65.0 -> 0.66.0
0001-Add-WITH_TESTS-option.patch
0001-Look-fo-sphinx-only-if-documentation-is-actually-ena.patch
removed since they're included in 0.66.0

0001-Get-parameters-for-both-libsolv-and-libsolvext-libdn.patch
0004-Set-libsolv-variables-with-pkg-config-cmake-s-own-mo.patch
modified for new version

Changelog:
=========
Use rpmdbCookie from librpm, remove hawkey.Sack._rpmdb_version
Fix handling transaction id in resolveTransactionItemReason (RhBug:2010259,2053014)
Remove deprecated assertions (RhBug:2027383)
Skip rich deps for autodetection of unmet dependencies (RhBug:2033130, 2048394)
Increase required rpm version since we use rpmdbCookie()

(From OE-Core rev: a5df953824474dfcb99ee3da305c11e2b178eeb5)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-16 10:31:41 +00:00
wangmy
80974fd763 harfbuzz: upgrade 4.0.0 -> 4.0.1
Changelog:
=========
- Update OpenType to AAT mappings for hist and vrtr features.
- Update IANA Language Subtag Registry to 2022-03-02.
- Update USE shaper to allow any non-numeric tail in a symbol cluster, and remove
  obsolete data overrides.
- Fix handling of baseline variations to return correctly scaled values.
- A new experimental hb_subset_repack_or_fail() to repack an array of objects,
  eliminating offset overflows. The API is not available unless HarfBuzz is
  built with experimental APIs enabled.
- New experimental API
  +hb_link_t
  +hb_object_t
  +hb_subset_repack_or_fail()

(From OE-Core rev: 6a668a01c6502ba9e27c1d181b013284bfec4660)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-16 10:31:41 +00:00
wangmy
74fd40c927 dnf: upgrade 4.10.0 -> 4.11.1
(From OE-Core rev: bd1401961f692d15df5c978a34c2191d8b2a6e21)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-16 10:31:40 +00:00
wangmy
b3aa262f71 createrepo-c: upgrade 0.18.0 -> 0.19.0
(From OE-Core rev: b5a7a25efbdee2bf72283b2fb57b3ff8e69a542e)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-16 10:31:40 +00:00
Khem Raj
9dfd3cd674 qemu: Fix build on ppc64
add a missing system include

(From OE-Core rev: e057fc5fe6209f44a49b8dd6cc9b4b2d410064ea)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-16 10:31:40 +00:00
Ross Burton
00bc2e68f9 python_pep517: use installer instead of pip
Instead of battling pip to install a wheel, use installer. Installer
does one thing, so it's faster and easier to work with.

This means setuptools, pip, and wheel are no longer part of the
bootstrap phase, so they can be built normally.  To avoid sysroot file
conflicts these three recipes can't install .pyc files to the native
sysroot.

We currently patch pypa/installer to allow us to override the interpreter
used, which means we can drop the interpreter seding.

We don't need to recompile any Python which is found in $bindir as
Python doesn't actually load those files.

Across a build of oe-core, the only differences between using pip and
installer are:

- the .dist-info/RECORD files are ordered differently
- the .dist-info/REQUESTED and INSTALLER files are not created
- the hashbang in native scripts is "/usr/bin/env nativepython" instead
  of pointing directly at the native sysroot python3.

(From OE-Core rev: f780f6d920d8bbfb674d6066a8b899417decf8d2)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-16 08:48:09 +00:00
Ross Burton
c4cfeb96a3 python3-installer: add installer module
Add a recipe for Installer, a minimal library/tool to install Python
Wheels.  Unlike PIP, it explicitly only installs wheels and does nothing
else.

(From OE-Core rev: bf09c0bd99e4defbc259775b4a2e3fcce09bde17)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-16 08:48:09 +00:00
Richard Purdie
7769b1f3fa python3-cryptography-vectors: Fix reproducibility
We regenerate the pycache files and the checksums in the manifest are incorrect.
Remove them to avoid this and ensure reproducibility.

(From OE-Core rev: 3c1e7e50c929436d0007d60e738c8270e7e6c7d9)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-16 08:48:09 +00:00
Ross Burton
4e87cfb56d python3-cryptography: remove obsolete PIP_INSTALL_DIST_PATH
(From OE-Core rev: 1ebf3774655a57807ca5e03530fef2bd80442adb)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-16 08:48:08 +00:00
Richard Purdie
2e1cb386f9 python3-cryptography: Add missing ptest tomli dependency
Add missing tomli runtime dependency to allow ptests to execute.

(From OE-Core rev: eb75f5b64146912f4e312eb1fe00162169ae70fa)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-16 08:48:08 +00:00
Ross Burton
a5d252eea3 python3-cryptography: mark test_create_certificate_with_extensions as expected to fail
This test causes OpenSSL to leak some memory. Until this is resolved in
OpenSSL, mark the test as expected-to-fail.

(From OE-Core rev: b32917b113df6dce0200d35dd1b539279635d524)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-16 08:48:08 +00:00
Tim Orling
ac54a3e99e ptest-packagelists: add python3-bcrypt and -pytz
python3-bcrypt and python3-pytz both run in just a few seconds, so add
them to the fast list.

(From OE-Core rev: 555cefec5d554eb610166ff9d0cbf0a620d99632)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-16 08:48:08 +00:00
Tim Orling
f3681fa5aa ptest-packagelists.inc: add python3-cryptography
The python3-cryptography recipe has a lot of tests and uses a large
amount of memory. It is slow (> 30 seconds).

(From OE-Core rev: ca9fefab2457ee86e24b23d99d3351b0dd9e66ef)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-16 08:48:08 +00:00
Ross Burton
be592ff81c poetry_core: update for renamed class pip_install_wheel to python_pep517
(From OE-Core rev: 69014d91fd6a3fba2b68703f587a4fc5aa1d8bcc)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-16 08:48:08 +00:00
Richard Purdie
267e5f4cc2 poetry_core: Rename to python_poetry_core
(From OE-Core rev: 241ebe35afb0ae9cd2713ef19a78746f0ab5ca5d)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-16 08:48:08 +00:00
Richard Purdie
89f9740f98 setuptools3_rust: Rename to python_setuptools3_rust
(From OE-Core rev: 57bef31cdcafeef2d1ca5ff3aee7b2e2181a0514)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-16 08:48:08 +00:00
Richard Purdie
f920fa55e5 py3o: Rename to python_py3o
(From OE-Core rev: e9b030eab6d4c18482aaa7f0166686e16ba8e779)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-16 08:48:08 +00:00
Tim Orling
3d904dd505 maintainers.inc: add python3-crypto and friends
(From OE-Core rev: 21cf8eb5af2a3ff09d8170b23d76fd5d07198692)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-16 08:48:08 +00:00
Tim Orling
9a62d8b483 python3-ply: move from meta-python
Dependency for python3-cryptography

(From OE-Core rev: 0edd68ee0672656ba60ed7c8d9cea3baa39328db)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-16 08:48:08 +00:00
Tim Orling
88c6ecc88a python3-pycparser: move from meta-python
Dependency for python3-cryptography

(From OE-Core rev: 8a34826558b5a0f2a4463f7d7bb230f1473b6621)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-16 08:48:08 +00:00
Tim Orling
f263485a67 python3-semantic-version: move from meta-python
Dependency for python3-cryptography

(From OE-Core rev: 90204d37f303f7f3daddad76b3c86dcf8a1338e7)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-16 08:48:08 +00:00
Tim Orling
8fca4407b5 python3-typing-extensions: move from meta-python
Dependency for python3-cryptography

(From OE-Core rev: 5758587a1b2db882cc990257b2a6b8e71fa77b4a)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-16 08:48:08 +00:00
Tim Orling
e499ca2a5e python3-iso8601: move from meta-python
Dependency for python3-cryptography

(From OE-Core rev: 78106bc12b995bbb42e02f2e5d8fbc56d917b934)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-16 08:48:08 +00:00
Ross Burton
8e88d32bdf python3-poetry-core: remove obsolete PIP_INSTALL_PACKAGE
(From OE-Core rev: ed53e6728704ac77f15fe266a63b453ba1a2a846)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-16 08:48:08 +00:00
Tim Orling
dc59a7aad5 python3-poetry-core: move from meta-python
A PEP 517 build backend implementation developed for Poetry. This project
is intended to be a light weight, fully compliant, self-contained package
allowing PEP 517 compatible build frontends to build Poetry managed projects.

(From OE-Core rev: 49e4541b250be296dc7b148858016ff0aaef9afd)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-16 08:48:08 +00:00
Tim Orling
56a7caff92 poetry_core.bbclass: move from meta-python
poetry.core.masonry.api is one of the common PEP-517 build backends.

(From OE-Core rev: b1d2626a501f33c289ecfc557b998982665f84ae)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-16 08:48:08 +00:00
Richard Purdie
50adbdc4d6 python3-psutil/python3-bcrypt: Add missing HOMEPAGE
Add missing HOMEPAGE entries to the two recipes imported from meta-oe to fix
selftest failures.

(From OE-Core rev: 7fefeea0b8a0784052e87768588859c703d47fb5)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-16 08:48:08 +00:00
Tim Orling
ea5bde8d98 python3-psutil: move from meta-python
Dependency for python3-cryptography

(From OE-Core rev: e2c8532df68946943a1dbabd6d3be5496f05f735)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-16 08:48:08 +00:00
Tim Orling
86bb763b36 python3-pretend: move from meta-python
Dependency for python3-cryptography

(From OE-Core rev: fbcb327b4264d5ba8502ecd46ff0b53095c1f7e7)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-16 08:48:08 +00:00
Tim Orling
d4bd1420f3 python3-bcrypt: move from meta-python
Dependency for python3-cryptography

(From OE-Core rev: 7c931d83ad84eef1bb24d00124e1dbee0855b48a)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-16 08:48:08 +00:00
Tim Orling
6b7ee7eec3 python3-pytz: move from meta-python
Dependency for python3-cryptography

(From OE-Core rev: 5831114f881752212704474381570139f01919f1)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-16 08:48:08 +00:00
Tim Orling
c903d59649 python3-cffi: move from meta-python
Dependency for python3-cryptography

(From OE-Core rev: 1748d7b84da30585199d0f910341bae169113ccd)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-16 08:48:08 +00:00
Tim Orling
6f12c2aa10 python3-asn1crypto: move from meta-python
Dependency for python3-cryptography

(From OE-Core rev: 2e0e42bd840f94f2e9a22cda0314131c31f26045)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-16 08:48:08 +00:00
Tim Orling
c47a786251 python3-cryptography-vectors: from meta-python
Dependency for python3-cryptography ptest.

This recipe needs to be kept in lock-step with the version of
python3-cryptography.

(From OE-Core rev: 1dda3ab39e2a28e05b903d970410587f2b58cdef)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-16 08:48:08 +00:00
Tim Orling
d58cc124fa python3-pytest-subtests: move from meta-python
Dependency for python3-cryptography ptest.

(From OE-Core rev: 6786ea8f0d70c7ff0fea353032d78db353628798)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-16 08:48:08 +00:00
Tim Orling
c6f79207f8 python3-cryptography: move from meta-python
* inherit new setuptools_rust class (which inherits new pyo3 class, which
  inherits cargo and python3-dir).
* RDEPENDS on python3-pytest-subtests for ptest
* Copy pyproject.toml for ptest as it defines the pytest.marker(s) needed
* Use 'cargo bitbake' to generate the crate:// SRC_URIs
   - Needed some hacks to the Cargo.toml in src/rust/ to make this work (probably
     only package.repository was strictly required):

     [package]
     description = "cryptography includes both high level recipes and low level interfaces to common cryptographic algorithms such as symmetric ciphers, message digests, and key derivation functions."
     homepage = "https://github.com/pyca/cryptography"
     repository = "https://github.com/pyca/cryptography"

* Add patches to src/rust/Cargo.toml to fix cargo errors including  pem version
* Add check-memfree.py to ptest to check for sufficient free memory

(From OE-Core rev: 27bd134c899d00d93806ecb0a62ec3f30b1e6ec6)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-16 08:48:08 +00:00
Tim Orling
8af946e718 setuptools3_rust.bbclass: move from meta-python
setuptools-rust is a plugin for setuptools to build Rust Python extensions
implemented with PyO3 or rust-cpython.

Compile and distribute Python extensions written in Rust as easily as if
they were written in C.

This class inherits pyo3.bbclass (and therefore cargo.bbclass) and
setuptools3.bbclass to make it easier to build Python modules with Rust
extensions.

Need to call pyo3_do_configure to properly setup the PyO3 environment
for cross-compiling.

Need to call cargo_common_do_configure to setup cargo_home/config so
that the linker properly finds e.g. crti.o and crtbeginS.o

It is strongly recommended to provide crates needed for your recipe
using the crate:// fetcher. This can be helped with the cargo-bitbake
command [1].

If you choose not to use the crate fetcher, bitbake vendoring will not
work with setuptools-rust, as it errors out immediately because it cannot
find pyo3 or some other crate. The (strongly discouraged) workaround for
this is to set:

CARGO_DISABLE_BITBAKE_VENDORING = "1"

[1] https://crates.io/crates/cargo-bitbake

(From OE-Core rev: de3e166cf6f0de4fe0681ddb4b209fb9b8b06811)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-16 08:48:08 +00:00
Tim Orling
09ba720ec9 pyo3.bbclass: move from meta-python
PyO3 provides Rust bindings for Python, including tools for creating native
Python extension modules. Running and interacting with Python code from a
Rust binary is also supported.

This class sets up the cross-compilation environment.

Export PYO3_CROSS, PYO3_CROSS_LIB_DIR, PYO3_CROSS_INCLUDE_DIR and CARGO_BUILD_TARGET
to inform tools like setuptools-rust we are cross-compiling.

Export RUSTFLAGS so cargo can find 'std' and 'core' for target

Dynamically generate PyO3 config file and export PYO3_CONFIG_FILE
absolute path. This is the trick that finally made pyo3 work.

(From OE-Core rev: f3130197ed93fd60b4cad326940b02a5554ed089)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-16 08:48:08 +00:00
Ross Burton
096086d0c8 python3-setuptools-rust-native: remove obsolete PIP_*
(From OE-Core rev: baa9f9c3c3bea1f81e02bb047171ca78f714b034)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-16 08:48:08 +00:00
Tim Orling
0f732b694a python3-setuptools-rust-native: from meta-python
Dependency for python3-cryptography 3.4.x+

Only native rustc is supported at this time in oe-core,
therefore it makes no sense to try to build for target.

(From OE-Core rev: 8eaafc114c196fbab2070bfb600634306deef527)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-16 08:48:08 +00:00
Richard Purdie
c2416fd91c poky: Bump to 4.0 in preparation for release
(From meta-yocto rev: d6a3e8092408715693e3713575b8271bea4e9dbc)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-15 17:51:14 +00:00
Richard Purdie
e7566693ed bitbake: bitbake: Bump to version 2.0.0
With the upcoming LTS, it is time we changed the bitbake version so
move to 2.0.

(Bitbake rev: 9a13bf8e20b1841ec99281d45be4c4fc1118438c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-15 17:51:14 +00:00
Michael Opdenacker
a5fd7b3424 bitbake: doc: bitbake-user-manual: reorder variable definitions
By alphabetical order, to get the same order as in the HTML
output, sorted thanks to the ":sorted:" directive.

(Bitbake rev: 8b97af89316a4407dd07649e8aadd495edd86ee4)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-15 17:29:29 +00:00
Jose Quaresma
a216491093 gst-devtools: upgrade 1.20.0 -> 1.20.1
(From OE-Core rev: c0ba17345282509211bb1f11d7184d131204411d)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-15 14:28:43 +00:00
Jose Quaresma
e0338f1847 gstreamer1.0-python: upgrade 1.20.0 -> 1.20.1
(From OE-Core rev: bdf95da91bdf9dba7cc919531702713218ab1246)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-15 14:28:43 +00:00
Jose Quaresma
806a03c5f4 gstreamer1.0-rtsp-server: upgrade 1.20.0 -> 1.20.1
(From OE-Core rev: b9ea3af6782478bcd049d34298523267d300dc34)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-15 14:28:43 +00:00
Jose Quaresma
1b6524d571 gstreamer1.0-vaapi: upgrade 1.20.0 -> 1.20.1
(From OE-Core rev: 1c01f589e0069730c1755d290038b5eb23ed3459)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-15 14:28:43 +00:00
Jose Quaresma
462c1639a2 gstreamer1.0-omx: upgrade 1.20.0 -> 1.20.1
(From OE-Core rev: 60845c090f4106af9e3fc6ebb63cd8836806e647)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-15 14:28:43 +00:00
Jose Quaresma
10a2d08b20 gstreamer1.0-libav: upgrade 1.20.0 -> 1.20.1
(From OE-Core rev: a2273071924678ab43a528eb0c9843cffc53a912)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-15 14:28:43 +00:00
Jose Quaresma
0fd2db235f gstreamer1.0-plugins-ugly: upgrade 1.20.0 -> 1.20.1
(From OE-Core rev: 0049cf608e2f4bf171126ee9b6400dfcca066e94)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-15 14:28:42 +00:00
Jose Quaresma
dcd522021b gstreamer1.0-plugins-bad: upgrade 1.20.0 -> 1.20.1
(From OE-Core rev: 70bc5e0e5f635e2764e49ea05f988510a2b7981b)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-15 14:28:42 +00:00
Jose Quaresma
be762a0286 gstreamer1.0-plugins-good: upgrade 1.20.0 -> 1.20.1
(From OE-Core rev: 4a2c7aaee2df521cc32c58f57f76662b83266401)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-15 14:28:42 +00:00
Jose Quaresma
9ac8d14997 gstreamer1.0-plugins-base: upgrade 1.20.0 -> 1.20.1
(From OE-Core rev: 2e138855730419ae3d9fad93cedeb60ecc1bf76c)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-15 14:28:42 +00:00
Jose Quaresma
9a498bdfaf gstreamer1.0: upgrade 1.20.0 -> 1.20.1
(From OE-Core rev: 3a0e7938ac63f18dc80c3dc95c632a93e4d422bd)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-15 14:28:42 +00:00
Khem Raj
72b534fe61 libstd-rs: Fix build on riscv64/musl
Backport necessary patch, which was dropped in upgrade to 1.59

Fixes:

error[E0425]: cannot find value `SYS_clone3` in this scope
   --> library/std/src/sys/unix/weak.rs:202:17
    |
202 |                   concat_idents!(SYS_, $name),
    |                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: a constant with a similar name exists: `SYS_clone`
    |
   ::: library/std/src/sys/unix/process/process_unix.rs:165:9
    |
165 | /         raw_syscall! {
166 | |             fn clone3(cl_args: *mut clone_args, len: libc::size_t) -> libc::c_long
167 | |         }
    | |_________- in this macro invocation
    |

(From OE-Core rev: f529401cd8d2c45273f706636e5ed89123238200)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-15 08:40:09 +00:00
Khem Raj
5a9a7f5678 erofs-utils: Use __SANE_USERSPACE_TYPES__ on ppc64
ppc64 historically has used l64 for defining u64 types in kernel
asm/types.h defaults to use l64 by default but kernel uses ll64 now a
days, therefore lets use same int-ll64.h to provide these defines like
other architectures

(From OE-Core rev: 22f8a749fa956c82a0fe39eeb6948bd2068eb63a)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-15 08:40:09 +00:00
Richard Purdie
cd69e50cf4 shadow-native: Simplify and fix syslog disable patch
Shadow is happily spamming the host syslog with messages and shouldn't be
which suggests the patch isn't working. Redo it to work at the configure
level which is simpler and hopefully more effective.

(From OE-Core rev: 8f1816862b884f226c0ce7f5c89fd75b6791c007)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-15 08:40:09 +00:00
Richard Purdie
d38868cfff scripts/runqemu: Fix memory limits for qemux86-64
When setting memory to 4GB, qemu is only running with 2GB for x86_64.
Avoid this by removing the mem= option to the kernel and letting the
qemu configuration handle it for x86 in a similar way to mips.

(From OE-Core rev: 2fd53417eba354c31c058c4bb066bb882e098add)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-15 08:40:09 +00:00
Peter Kjellerstedt
c41e58279a go: Remove three unnecessary paths from do_compile[dirs]
There is no reason to include a path in foo[dirs] if it is also in
foo[cleandirs] (except if it is the last path in foo[dirs]).

(From OE-Core rev: 9f610748f760b2d58d5250b55ae4b268909f33ef)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-15 08:40:09 +00:00
Peter Kjellerstedt
d081a76063 image.bbclass: Remove two unnecessary paths from do_rootfs[dirs]
There is no reason to include a path in foo[dirs] if it is also in
foo[cleandirs] (except if it is the last path in foo[dirs]).

(From OE-Core rev: d76a31a37c3b2253a6a8fdffd8581fc88987857d)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-15 08:40:09 +00:00
Peter Kjellerstedt
4cced6ceb0 package.bbclass: Remove an unnecessary path from do_package[dirs]
There is no reason to include a path in foo[dirs] if it is also in
foo[cleandirs] (except if it is the last path in foo[dirs]).

(From OE-Core rev: 9d2dac56deda5afa4d77c5ddd7e1e8003f6d4725)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-15 08:40:09 +00:00
Peter Kjellerstedt
a0f76ba08e deploy.bbclass: Remove an unnecessary path from do_deploy[dirs]
There is no reason to include a path in foo[dirs] if it is also in
foo[cleandirs] (except if it is the last path in foo[dirs]).

(From OE-Core rev: a0566610034ca8abdb71eee999460eb90f805f9f)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-15 08:40:09 +00:00
Peter Kjellerstedt
688599a039 create-spdx.bbclass: Remove an unnecessary path from do_create_spdx[dirs]
There is no reason to include a path in foo[dirs] if it is also in
foo[cleandirs] (except if it is the last path in foo[dirs]).

(From OE-Core rev: cb30a6cfa58072bbf5f5def36103fbcac920e168)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-15 08:40:09 +00:00
Khem Raj
80ad825f6a binutils: Bump to latest 2.38 release branch
Fixes building ppc32 kernels

Brings following fixes

* 2d92604cd30 Revert "Check thin archive element file size against archive header"
  * ed9b2e40ebf binutils 2.38 vs. ppc32 linux kernel
  * 40d32f56f63 Updated Serbian translations for the bfd, gold, ld and opcodes directories
  * 6aa1b7df2fc ld: Keep indirect symbol from IR if referenced from shared object
  * ae1cab7d3f3 i386: Update I386_NEED_DYNAMIC_RELOC_TYPE_P for DT_TEXTREL
  * df9071487a8 PR28882, build failure with gcc-4.2 due to use of 0b literals
  * caa6172de4b x86: Disallow invalid relocation against protected symbol

(From OE-Core rev: f5fb73ea3d868997f2fc3744ddb0647ab3284218)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-15 08:40:09 +00:00
Khem Raj
75f31f72a7 linux-yocto: Ignore textrels for ppc64 kernel
(From OE-Core rev: a7ca98d031c21f7e24878974e3b6b1eb81217862)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-15 08:40:09 +00:00
Khem Raj
27e7af17f8 gcompat: Do not use static-pie on ppc
It fails currently with binutils 2.38
powerpc-yoe-linux-musl-ld: read-only segment has dynamic relocations

(From OE-Core rev: 6a8c1e04e2bf37fa4128b1742ef4184380e3321d)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-15 08:40:09 +00:00
Khem Raj
55e7265f47 ppc/siteinfo: Fix differences between musl and glibc
There is a key difference between glibc and musl when it comes to
ppc/ppc64 and that is that musl does not support 128-bit long IBM doubles format
it only supports 128-bit long double IEEE format on ppc64 alone.
this change ensures that we account for this change, so far we have been
doing it a bit wrong for ppc/musl case.

(From OE-Core rev: 28cb148c1375ba242addba80b0f68e06d2a4d874)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-15 08:40:09 +00:00
Khem Raj
c31e0dc8c5 powerpc32-linux: Remove libc cached variables
libc_cv_ppc_machine and no longer exists in glibc
others are detected correctly in configure. They
perhaps made sense in past when the toolchain build has several
bootstrap stages

(From OE-Core rev: ba418f93fc586bb708fdfade4195f7f3be2e273f)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-15 08:40:09 +00:00
Markus Volk
14f1fc94e2 librsvg: inherit vala
this fixes a build error about missing vapigen and enables vapi build

(From OE-Core rev: 7293e840e0325fe1b8ea519644184f4c8927ecbd)

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-15 08:40:09 +00:00
Markus Volk
a8e12f4f11 gtk+3: remove deprecated option
(From OE-Core rev: 8575607d13d05c4a462380aacf8f996678f1caf8)

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-15 08:40:09 +00:00
Markus Volk
d8df93015b mesa: update to 22.0.0
- remove 0001-v3dv-account-for-64bit-time_t-on-32bit-arches.patch that was applied upstream

- adjust 0002-meson.build-make-TLS-ELF-optional.patch

- fix patch fuzz

- DRI1 drivers have been removed! For all AMD/Nvidia Cards gallium-llvm is required

License-Update: removed references to deleted code.

RP: Fix dri PACKAGECONFIG reference to opengl instead

(From OE-Core rev: 325ea352a8326f3b35a8a591f8f7a7dfa890cbcb)

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-15 08:40:09 +00:00
Markus Volk
d58f40bee1 x86-base.inc: replace intel i965 driver with crocus
this fixes do_rootfs for core-image-sato after mesa update:

 Problem: package packagegroup-core-x11-base-1.0-r1.noarch requires packagegroup-core-x11-xserver, but none of the providers can be installed
  - conflicting requests
  - nothing provides mesa-driver-i965 needed by packagegroup-core-x11-xserver-1.0-r40.intel_corei7_64
(try to add '--skip-broken' to skip uninstallable packages)

(From OE-Core rev: 63f10412d793c6c10290838eb230f179046f1d23)

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-15 08:40:09 +00:00
Alexander Kanavin
73dd9fae43 dbus: update 1.12.22 -> 1.14.0
Drop patches:
clear-guid_from_server-if-send_negotiate_unix_f.patch
stop_using_selinux_set_mapping.patch
(both merged upstream)

python-config.patch
(patched code removed upstream)

License-Update: whitespace fixes

(From OE-Core rev: 4513e4369973afb71f40625da058a3eaf6ccd4c4)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-15 08:40:09 +00:00
Alexander Kanavin
1341ebeab0 dbus: merge dbus.inc into the recipe
The content is unchanged.

(From OE-Core rev: f4da7532b726c3661e71f90e79f6641f903fdc74)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-15 08:40:09 +00:00
Alexander Kanavin
7367324055 dbus-test: merge into main dbus recipe
The reason it was separate is that there is a peculiar circular
dependency: dbus tests require glib, while some of glib's gdbus tests
require dbus. So dbus was built with tests disabled and without glib
dependency, then glib was built with dbus dependency, then dbus was
built again with glib dependency and tests enabled, only for the purpose
of installing those tests. I find that brittle and hacky, so this
removes dbus dependecy from glib (the fallout is that some gdbus tests
are no longer being executed), and dbus and its tests are built once,
after glib. Conversely, dbus is now dependent on glib for the purpose
of building the tests.

Also, dbus ptest installation is no longer using custom code, and dbus
run-ptest simply uses standard installed tests execution mechanism from
gnome.

(From OE-Core rev: cfecef4e6925865961858d0fe5ffc7794c71cd3b)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-15 08:40:09 +00:00
Tim Orling
5d11e2028e bitbake: toaster: drop landing_not_managed template
This template is not referenced anywhere and therefore not used.
It also refers to the obsolete "build mode" in the old docs.

(Bitbake rev: f89a35155e3b8d12ac609a165c63ed206751b8da)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-15 08:40:09 +00:00
Tim Orling
377c744340 bitbake: bitbake: buildinfohelper.py fix for Django 3.2
connection.features.autocommits_when_autocommit_is_off
was deprecated in 3.0 and is no longer present in 3.2

(Bitbake rev: cc0f526fb4298349d0eea44c8f35d3dd226cc8d6)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-15 08:40:09 +00:00
Tim Orling
a28a201886 bitbake: toaster: migratation for models.BigAutoField
Follow the default guidelines from Django 3.2 setting DEFAULT_AUTO_FIELD
to django.db.models.BigAutoField which leads to these migrations.

(Bitbake rev: ccfdcf5ed6b5d2024c268bace30e53753d1f4da4)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-15 08:40:09 +00:00
Tim Orling
b81e582d80 bitbake: toaster: set DEFAULT_AUTO_FIELD
New in Django 3.2.

Silence warnings by adding:

DEFAULT_AUTO_FIELD = 'django.db.models.BigAutoField'

in toastermain/settings.py

(Bitbake rev: cbc5a8e339a8b5eb4cdd89ad898af432f05cadfb)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-15 08:40:09 +00:00
Tim Orling
90d150997a bitbake: toaster: orm/models -- drop django.utils.six
Django 3.2 no longer has django.utils.six module.

(Bitbake rev: ae03c1f05e37f70e72a2ac08f7c718b8fc4fc36e)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-15 08:40:09 +00:00
Tim Orling
702159b29b bitbake: toaster: Update docs links in templates
Update docs links from www.yoctoproject.org to the docs.yoctoproject.org
equivalents.

(Bitbake rev: 74194962eb294c9bd1192ddd7935d57258712ee2)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-15 08:40:09 +00:00
Tim Orling
618c519a76 bitbake: toaster-requirements.txt: Django 3.2 LTS
Django 2.2.x goes EOL April 2022.

Switch the to current LTS Django 3.2.x supported until April 2024.

(Bitbake rev: 23a15c5703d5ef4190921f9bb0273e43b1de489c)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-15 08:40:09 +00:00
Richard Purdie
2c8f3be3a5 oeqa/runtime/ping: Improve failure message to include more detail
When the ping test fails due to a timeout we only get limited debug
information. Tweak the code to improve that in case it sheds any light
on intermittent failures.

(From OE-Core rev: d81704057950e1970ef7f673fa771834fd2b3f1e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-13 12:23:48 +00:00
Ming Liu
2c90c1e302 weston-init: add use-pixman PACKAGECONFIG
Fbdev backend has been deprecated since weston 10.0.0, and it could be
replaced by passing --use-pixman to drm backend, add a use-pixman
PACKAGECONFIG for convenience.

(From OE-Core rev: e3dc3ee5e41caa1691ebdb1c6ed6e51077f9ce7a)

Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-13 12:23:48 +00:00
Ming Liu
bbc60671ad image.bbclass: make sure do_rootfs run from a clean workspace
Add ${IMAGE_ROOTFS} and ${IMGDEPLOYDIR} to do_rootfs[dirs] and
do_rootfs[cleandirs], this ensures do_rootfs run from a clean
workspace, with this change, we can now remove two bb.utils.mkdirhier
lines from meta/lib/oe/rootfs.py.

(From OE-Core rev: cb8b6f7eee4e059bb311330c57068e11bc477366)

Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-13 12:23:48 +00:00
Richard Purdie
10610aa80e Revert "mesa: make sure GLES3 headers are installed"
This reverts commit 7c6effef9d471efbaea76e23e91938687fcc661c.

It uses old overrides syntax which simply doesn't work.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-13 12:23:48 +00:00
Ralph Siemsen
5766dc98c1 libxml2: update to 2.9.13
- new version includes fix for CVE-2022-23308
- drop patche which was upstream
- refresh patch

(From OE-Core rev: d687f1ac2017a1cc94ac4733cd46755d5aabd120)

Signed-off-by: Ralph Siemsen <ralph.siemsen@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-13 12:23:48 +00:00
Ralph Siemsen
82fd8a0907 libxml2: move to gitlab.gnome.org
The project has migrated from www.xmlsoft.org to gitlab.gnome.org.
Update the homepage accordingly, and use gnomebase to construct the
download URL, rather than including it in SRC_URI explicitly.

Note that the download is now in .xz format rather than .gz, so the
sha256sum is updated accordingly. Post-decompression tarballs are
identical, so there is no change to the libxml2 code.

(From OE-Core rev: 8bc17ceb997f8f31a03e5f5efc41c03ef1df3add)

Signed-off-by: Ralph Siemsen <ralph.siemsen@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-13 12:23:48 +00:00
Ross Burton
f2a0c52f65 python_pep517: move PEP517_SOURCE_PATH to python_pep517
Now we have the start of a PEP-517 base class, the PEP517_SOURCE_PATH
variable can be defined in there instead of the classes that use it.

(From OE-Core rev: 69944121f49f613568bf0c62ae6b3b47af195dbe)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-13 12:23:48 +00:00
Ross Burton
a50bf48f90 meta: rename pip_install_wheel.bbclass to python_pep517.bbclass
pip_install_wheel shouldn't restricted to just using Pip to install
wheels (the installer module is simplier and likely a better option),
and in the future may be extended to also provide do_compile() using
the build module.

(From OE-Core rev: 3bdf64b97facce9706cc579bdbc9a80e0d48428f)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-13 12:23:48 +00:00
Richard Purdie
b6a535068d bitbake: toaster: move gen_fixtures to the correct path
Fix a bad patch merge and move the file to the correct path.

(Bitbake rev: d173f45a88cc9460734e7cc0b87952c0ea0ff270)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-13 09:39:44 +00:00
David Reyna
b31eb2156d bitbake: toaster: automation to generate fixture files
Add script to safely generate the fixture files from a table

[YOCTO #14759]

(Bitbake rev: ec5e9fff8f71ba81bf5e9207abcd3011d63d86d9)

Signed-off-by: David Reyna <David.Reyna@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-12 13:27:59 +00:00
David Reyna
ce2ba8d832 bitbake: toaster: Add 'Kirkstone', 'Honister', and 'Hardknott'. Remove 'Dunfell' and 'Gatesgarth'.
[YOCTO #14757]

(Bitbake rev: 49308d1db4f7af81e31db21dc8954947de5976c7)

Signed-off-by: David Reyna <David.Reyna@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-12 13:27:59 +00:00
Ross Burton
7f6966555c meta: remove obsolete PIP_INSTALL_PACKAGE
PIP_INSTALL_PACKAGE isn't used anymore, so remove all instances of it
from the recipes.

(From OE-Core rev: 15baf24f750ab2c8b0a46d4a3bf2ae9bfa3d0aff)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-12 09:20:03 +00:00
Ross Burton
b538705ed5 setuptools3-base: improve RDEPENDS assignment
Use :append instead of += so that recipes can assign to RDEPENDS:${PN}.
This fixes missing RDEPENDS for sixteen recipes in oe-core alone.

Also instead of using obscure inline Python we can just use the
class-target override.

(From OE-Core rev: c4ecd63593df2ffd5c1b7ae1c50652ca57ebe219)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-12 09:20:03 +00:00
Diego Sueiro
7b68b6ff43 grub-efi: Add option to include all available modules
Include all available modules If 'all' is present in GRUB_BUILDIN variable.
To achieve this we need to search for all .mod files in ${B}/grub-core/ and
pass them to grub-mkimage command.

Also, add the verbose option to grub-mkimage.

(From OE-Core rev: ed1bf9aa0af8c12905cf8332bbbb212ab158fe3c)

Signed-off-by: Diego Sueiro <diego.sueiro@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-12 09:20:03 +00:00
Khem Raj
eae11483f9 gcompat: Update to latest
Brings in these fixes

  * 391b270 unistd: add __close
  * 8af2ff2 random_r: set `x` before calling savestate_r
  * cca99e8 wchar: add __mbrlen
  * 59e99e9 random_r: Add reentrant random functions from LSB
  * 6461276 gnulib: Add __fdelt_warn alias

(From OE-Core rev: f2bc34d68b29077d548e280a25b19f38da126d00)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-12 09:20:03 +00:00
Alexander Kanavin
7349e9d11e bind: all even versions now get long term maintenance windows
See here:
https://www.isc.org/download/
https://kb.isc.org/docs/aa-00896

(From OE-Core rev: d3756fd781730847f9d9576d70424b0a7b3e1840)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-12 09:20:03 +00:00
Joe Slater
8a4c53ee76 weston: require wayland as a distro feature
Weston will not configure successfully unless wayland
is a distro feature.

(From OE-Core rev: bc72eb17b74606514694a6655d65dab9b2ee96e8)

Signed-off-by: Joe Slater <joe.slater@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-11 06:56:02 +00:00
Peter Kjellerstedt
6ad018f213 oe-pkgdata-util: Adapt to the new variable override syntax
(From OE-Core rev: 2bf6a0ca9fdf639418646700b20b65c9960efdbe)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-11 06:56:02 +00:00
Ross Burton
e6b6e1c0cf seatd: upgrade to 0.6.4 (fixes CVE-2022-25643)
We need to set nobranch=1 as the 0.6.4 tag isn't on any branches at
present.

(From OE-Core rev: 5637ebe76885c21c2c3f975b4f412b02f9e02456)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-11 06:56:02 +00:00
Claudius Heine
6dd32f4a3b files: overlayfs-etc: add overlay mount options to preinit
Overlayfs-etc is useful if the rootfs is read-only. One reason to have
the rootfs read-only is to allow image based updating.

Image based updating will change the underlying root file system, which
is unsupported by overlayfs when with some mount options [1].

This disables those options.

[1] https://www.kernel.org/doc/html/latest/filesystems/overlayfs.html?highlight=overlayfs#changes-to-underlying-filesystems

(From OE-Core rev: 13a057d6ffc3110f891224d7af9455b53581e8a8)

Signed-off-by: Claudius Heine <ch@denx.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-11 06:56:02 +00:00
Claudius Heine
3653b9d37a files: overlayfs-etc: wrap long lines of preinit file
Make it easier to see what is happening by wrapping the overly long
lines in the preinit file for the overlayfs-etc.

(From OE-Core rev: 2e116bbc1afbc571b99f2605839e3c90839471be)

Signed-off-by: Claudius Heine <ch@denx.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-11 06:56:02 +00:00
Trevor Gamblin
f69a9d7b39 iptables: do not install /etc/ethertypes
Take inspiration from the ebtables recipe in meta-networking and omit
installation of etc/ethertypes, since it is provided by netbase. If we
don't do this, the following error occurs during build:

Error: Transaction test error:
  file /etc/ethertypes conflicts between attempted installs of
iptables-1.8.7-r0.core2_64 and netbase-1:6.3-r0.noarch

(From OE-Core rev: 297fde1a6fc9ddf12bb4b0cba1d5b03664a3f378)

Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-11 06:56:01 +00:00
Ross Burton
5331d29a89 pip_install_wheel: add a generic do_install for bootstrapping
Several recipes are duplicating the same bootstrap logic for installing
a wheel without using any tools.  Add an implementation to
pip_install_wheel to centralise the code, and remove the duplicated code
from the following recipes:

- python3-flit-core
- python3-pip
- python3-setuptools
- python3-wheel

(From OE-Core rev: d5d702a2cd06f863340f8e4cdce0904c9d86384d)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-11 06:56:01 +00:00
Ross Burton
7f1c3b4202 python3-pip: remove redundant DEPENDS on python3-setuptools-native
This recipe inherits setuptools_build_meta which already depends on
python3-setuptools-native.

(From OE-Core rev: 5d514b5dbd09ce059047d849d5b7cc2b2327564d)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-11 06:56:01 +00:00
Ross Burton
d4aec24676 flit_core: remove redundant python3-pip-native DEPENDS
PIP is not needed by this class directly, but is used by
pip_install_wheel which already depends on python3-pip-native.

(From OE-Core rev: 2f18b35b8da5dad471c325138be52191412e4100)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-11 06:56:01 +00:00
Khem Raj
9ad40791fe m4: Fix build on musl/ppc
(From OE-Core rev: 41ccf5b38506608032754beaff393f74e0403fd1)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-11 06:56:01 +00:00
Khem Raj
720eb2cc8d libtool: Recognise additional linker commandline options passed by clang
Like stdlib, these options are also used to select runtime libraries by
clang driver

(From OE-Core rev: 6d2035b9017552f050e53add0b3ef4090141fc5e)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-11 06:56:01 +00:00
Khem Raj
172b9aa6d2 unzip: Pass LDFLAGS to configure tests
Ensures the configure time tests are compiled/linked with the Options
that it will be using to build.

(From OE-Core rev: 6d01bb24f198710b7acb49c43a8a813b6e01ed14)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-11 06:56:01 +00:00
Richard Purdie
2c545a19ce bitbake: toaster: Fix IMAGE_INSTALL issues with _append vs :append
After the override syntax change, toaster isn't working correctly. This
is because it uses IMAGE_INSTALL_append instead of IMAGE_INSTALL:append.

This tweaks the code accordingly to fix this.

I have a suspicion that exiting toaster databases may struggle with
the change and there are some migration steps missing for the whole
overrides syntax change step.

(Bitbake rev: befc93c3e03a9b1a2b630cd5badcda756fe6cd28)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-11 06:56:01 +00:00
Richard Purdie
9a17902201 bitbake: cooker: Fix environment history printing
bitbake -e is not showing variable history correctly for all variables.
The issue was triggered by the change to knotty to default to enabling
variable tracking in the base datastore but that exposed another issue.

The real problem is that calling reset() inside cooker reverts to the
data tracking enabled by the UI for the base datastore, then turns
off tracking. In the case of the environment printing code, it needs
it to be left on.

Tweak the code to ensure data store tracking really is enabled.

The code here is clearly a bit of a mess but this at least fixes a
clear regression until more invasive improvements can be made.

(Bitbake rev: 9596bffc9903f023d1cc97ce531ddb1cf010c4d7)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-11 06:56:01 +00:00
Peter Kjellerstedt
aae4f55d1b bitbake: knotty.py: A little clean up of TerminalFilter::updateFooter()
* Use max() to clamp progress to >= 0.
* Be consistent when evaluating self.quiet (treat it as a boolean).

(Bitbake rev: 160f71372ff93894d9314619e9d3b547c1f3cda3)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-11 06:56:01 +00:00
Peter Kjellerstedt
af7a4af979 bitbake: knotty.py: Correct the width of the progress bar for the real tasks
In commit 8055ec36 (knotty: Improve setscene task display) the setscene
tasks got their own line in the task output. However, the progress bar
code does not handle newlines in its widgets, so the length of the
setscene line was included when calculating how much space is available
for the progress bar of the running tasks, making it much too short.

Instead of trying to teach the progress bar code to handle newlines,
separate the output of the setscene tasks from the progress bar for the
real tasks.

(Bitbake rev: a41f7792f17acdba8c7ea83b79e413ae6a49da68)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-11 06:56:01 +00:00
Peter Kjellerstedt
553856138c bitbake: knotty.py: Improve the message while waiting for running tasks to finish
Use pluralise() to correct the grammar, and drop the colon at the end if
runnning in quiet mode.

(Bitbake rev: 57396289f935892390c11afe95f3eede28fd80e7)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-11 06:56:01 +00:00
Richard Purdie
46163db74b bitbake: uievent: Fix import warning for python 3.10
(Bitbake rev: bf1de5988698c797403ecd30edda99a76e9c02dd)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-10 15:25:47 +00:00
Claudius Heine
579ae7a45a overlayfs-etc: add condition to package-management feature conflict
The conflict with the `package-managment` only happens if the
`overlayfs-etc` class overwrites `/sbin/init`, which is not the case
when `OVERLAYFS_ETC_USE_ORIG_INIT_NAME` is set to `0`.

(From OE-Core rev: c577382c6d155b3a784d06e4c916783cde7165c8)

Signed-off-by: Claudius Heine <ch@denx.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-10 13:07:38 +00:00
Claudius Heine
9633ecebb9 overlayfs: add systemd unit path prefix to FILES:${PN} array
The 'FILES:${PN}' array is missing the systemd unit dir prefix causing
them to not be packaged and the build fails with the
`installed-vs-shipped` error.

This adds the `systemd_system_unitdir` variable in front of every unit
file added with this class.

(From OE-Core rev: d19166cbc567be0803eaf8d0a2a20f44758aae7b)

Signed-off-by: Claudius Heine <ch@denx.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-10 13:07:37 +00:00
Khem Raj
c3ac9501d7 webkitgtk: Fix build when x11 is not in distro features
ANGLE's copy of khrplatform.h is not uptodate with mesa/khronos khrplatform.h
which uses MESA_EGL_NO_X11_HEADERS which is now renamed in newer headers to
EGL_NO_X11 from mesa/khronos headers, however this define is
relatively new and 3D stacks do not have this adopted but apps
like qemu and bunch of others depend on it, I guess they assume mesa.
One can argue that its better to fix the 3D stacks to behave
like mesa but this means every BSP using these stacks will need to
carry such a fix.

https://gitlab.freedesktop.org/mesa/mesa/-/blob/main/include/EGL/eglplatform.h

This patch helps with that

(From OE-Core rev: 4f6b987705a624da3304cb559b885c4352f9b517)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-10 13:07:37 +00:00
Khem Raj
6ef0c91921 qemu: Fix build when x11 is not in distro features
There is use of MESA_EGL_NO_X11_HEADERS which is now renamed in newer headers to
EGL_NO_X11 from mesa/khronos headers, however this define is
relatively new and 3D stacks do not have this adopted but apps
like qemu and bunch of others depend on it, I guess they assume mesa.
One can argue that its better to fix the 3D stacks to behave
like mesa but this means every BSP using these stacks will need to
carry such a fix.

https://gitlab.freedesktop.org/mesa/mesa/-/blob/main/include/EGL/eglplatform.h

(From OE-Core rev: 8c9d0bc4eb2784a3defa047e509d96e0eb521c03)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-10 13:07:37 +00:00
Michael Opdenacker
5c931175b4 conf/machine: fix QEMU x86 sound options
This updates the QEMU sounds options for x86 emulation,
when "runqemu" is called with the "audio" argument,
to fix the below error:

runqemu - ERROR - Failed to run qemu: qemu-system-x86_64: warning: '-soundhw ac97' is deprecated, please use '-device AC97' instead

(From OE-Core rev: b802a5dd1a79c7be3bc790223a733ebc9be4f117)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-10 13:07:37 +00:00
wangmy
95634fdbc5 sudo: upgrade 1.9.9 -> 1.9.10
Changelog:
=========
Added new log_passwords and passprompt_regex sudoers options.

Added new log_passwords and passprompt_regex settings to sudo_logsrvd that
operate like the sudoers options when logging terminal input.

Fixed several few bugs in the cvtsudoers utility when merging multiple
sudoers sources.

Fixed a bug in sudo_logsrvd parsing the sudo_logsrvd.conf file, where the
retry_interval in the [relay] section was not being recognized.

Restored the pre-1.9.9 behavior of not performing authentication when sudo's
-n option is specified.

On systems with /proc, if the /proc/self/stat (Linux) or /proc/pid/psinfo
(other systems) file is missing or invalid, sudo will now check file
descriptors 0-2 to determine the user's terminal. Bug #1020.

Fixed a compilation problem on Debian kFreeBSD. Bug #1021.

Fixed a crash in sudo_logsrvd when running in relay mode if an alert message
is received.

Fixed an issue that resulting in "problem with defaults entries" email to
be sent if a user ran sudo when the sudoers entry in the nsswitch.conf file
includes "sss" but no sudo provider is configured in /etc/sssd/sssd.conf. Bug #1022.

Updated the warning displayed when the invoking user is not allowed to run sudo.

Fixed a bug where the user-specified command timeout was not being honored if
the sudoers rule did not also specify a timeout.

Added support for using POSIX extended regular expressions in sudoers rules.

A user may now only run sudo -U otheruser -l if they have a "sudo ALL"
privilege where the RunAs user contains either root or otheruser.

The sudo lecture is now displayed immediately before the password prompt.

Sudo now uses its own closefrom() emulation on Linux systems.

(From OE-Core rev: cbb7ff3abf52f38fea471b9510ba8bcec70c3058)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-10 13:07:37 +00:00
wangmy
54ed075f49 stress-ng: upgrade 0.13.11 -> 0.13.12
(From OE-Core rev: 9bad841b5a97785bbe5c0de99c3b89037c9f97e8)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-10 13:07:37 +00:00
wangmy
c024b91167 python3-pycairo: upgrade 1.20.1 -> 1.21.0
Changelog:
=========
* Require Python 3.7+ :pr:'250'
* Require meson 0.53+
* Using 'setup.py' directly to build/install pycairo is deprecated.
  Use meson instead.
* 'setup.py' now requires setuptools. Previously it was optional.
* The complete API reference is now included in the typing stubs,
  so it can be consumed/shown by IDEs. :pr:'236' :pr:'252'

(From OE-Core rev: d83f8e31b929ea270a2cafda4ca3deaffbd7c54e)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-10 13:07:37 +00:00
wangmy
abb9af9688 gpgme: upgrade 1.17.0 -> 1.17.1
Changelog:
=========
* configure.ac: Bump QT LT version to C15/A0/R0.

(From OE-Core rev: 15cf6a0c74aacdb01626ae46963cb02a59b4c2c1)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-10 13:07:37 +00:00
Ross Burton
f369b606b7 python3-scons: remove redundant FILES:${PN}-doc
mandir is in the default FILES:${PN}-doc, so there's no need to add it.

(From OE-Core rev: 342641edee1e2c7d80184c3a9b649cccb8cf38b5)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-10 13:07:37 +00:00
Ross Burton
438b58fd4b pip_install_wheel: install wheel with a glob
Now that the build systems that use pip_install_wheel are all building
their wheel into a directory that we knew was empty before, we can just
install *.whl and not need to know the precise names.

By design a pyproject.toml will always build a single wheel, so there
shouldn't be any way for this to end up installing more than expected.

This obsoletes PIP_INSTALL_PACKAGE and PYPA_WHEEL, neither of which are
needed anymore.

(From OE-Core rev: e6e4c63bbdd09d91428e55cb5a852170511f05cc)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-10 13:07:37 +00:00
Ross Burton
9bafd512a4 pip_install_wheel: generate the wheels in directory we control outside of S
Set the wheel distribution location, PIP_INSTALL_DIST_PATH, to a
directory under WORKDIR to enhance out-of-tree builds.

(From OE-Core rev: 8e7ae4246aa8dedd8a128c34450d4c1f60e2224a)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-10 13:07:37 +00:00
Khem Raj
c6aa831fe5 zip: Pass ldflags to configure tests using linking
(From OE-Core rev: 118e4ca244a8ff48b126225b8f98b7c9f66b71f1)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-10 13:07:37 +00:00
Khem Raj
e34f694c35 zlib: Pass ldflags to configure tests using linking
(From OE-Core rev: 86bc57eaa3d1016d8d99041e5bd115cf3d2e4ce3)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-10 13:07:37 +00:00
Ross Burton
dc8d760f09 python3-scons: remove PIP_INSTALL_DIST_PATH
The default is good now, so remove this.

(From OE-Core rev: eef037f199d458e31afb570f9a4930c75c778b68)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-10 13:07:37 +00:00
Samuli Piippo
4a599c58a8 binutils-cross-canadian: enable gold for mingw
This reverts commit b5a595a4be09756b88e91f3353e3b221b165ab44,
gold linker can now be built correctly for mingw SDKs.

(From OE-Core rev: b2ab9ff4050ebd5efb273f44e62174efb22a214f)

Signed-off-by: Samuli Piippo <samuli.piippo@qt.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-10 13:07:37 +00:00
Saul Wold
d9e500f83d meta/scripts: Improve internal variable naming
Update internal variable names to improve the terms used.

(From OE-Core rev: f408068e5d7998ae165f3002e51bc54b380b8099)

Signed-off-by: Saul Wold <saul.wold@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-10 08:00:28 +00:00
Michael Opdenacker
8827a3ed80 local.conf.sample: https and no newline for SSTATE_MIRRORS
Both http and https work, but we will get fewer user questions with https

Remove no longer necessary \n character in the sample definition

(From meta-yocto rev: 2e707748b372dac4c007342cc80e65f2b0afc542)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-09 11:51:27 +00:00
Michael Opdenacker
79168e8c19 local.conf.sample: fix reference to extended configuration sample
The file name is local.conf.sample.extended, not local.conf.extended

(From meta-yocto rev: dfff8de96dcbb6ea35f638a07c34cf5578e8d043)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-09 11:51:27 +00:00
Ross Burton
6982839605 python3-pyyaml: use setuptools_build_meta
This project builds with setuptools_build_meta, so use that instead.

(From OE-Core rev: 1ebc11c10379a10ddd974068cdd1ea322114a647)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-09 11:46:28 +00:00
Ross Burton
8081703322 python3-pyrsistent: use setuptools_build_meta
This project builds with setuptools_build_meta, so use that instead.

(From OE-Core rev: f2bac34088256d52354f4ec7ab3bd69a6812708f)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-09 11:46:28 +00:00
Ross Burton
80755af2a7 python3-markdown: use setuptools_build_meta
This project builds with setuptools_build_meta, so use that instead.

(From OE-Core rev: 58f7a34a227e2c2fb2fec99066d14ca0c842e97d)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-09 11:46:28 +00:00
Ross Burton
34706af78f bmap-tools: remove redundant PYPA_WHEEL
The default is good, this doesn't need to be set.

(From OE-Core rev: aa0dab28690e58929535952fa99ec67bda434ed7)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-09 11:46:28 +00:00
Ross Burton
c6ac203061 python3-wheel: clean up PYPA_WHEEL usage
Remove the use of PYPA_WHEEL in the native do_install() as this variable
will be disappearing shortly.

Remove the bbfatal_log in the native do_install(), if this breaks then
something has gone very wrong and the user is not expected to fix it.

Also flit_core inherits setuptools3-base, so no need to inherit it again.

(From OE-Core rev: e2c7501645eec12d3168b6e8606549ce3e5f8db2)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-09 11:46:28 +00:00
Ross Burton
60fbc692fa python3-setuptools3: clean up PYPA_WHEEL usage
There's no need to set PYPA_WHEEL as the default is sufficient.

Remove the use of PYPA_WHEEL in the native do_install() as this variable
will be disappearing shortly.

Remove the bbfatal_log in the native do_install(), if this breaks then
something has gone very wrong and the user is not expected to fix it.

(From OE-Core rev: c0a24279c740555a06a5c57e2a01ca7b20f8e668)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-09 11:46:28 +00:00
Ross Burton
7f4c9a6343 python3-pip: clean up PYPA_WHEEL usage
There's no need to set PYPA_WHEEL as the default is sufficient.

Remove the use of PYPA_WHEEL in the native do_install() as this variable
will be disappearing shortly.

Remove the bbfatal_log in the native do_install(), if this breaks then
something has gone very wrong and the user is not expected to fix it.

(From OE-Core rev: b74d1c30d000c258c3f89ee125ae79ff07c25674)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-09 11:46:28 +00:00
Ross Burton
ea6c0faba3 setuptools3: respect PIP_INSTALL_DIST_PATH
pip_install_wheel expects the wheels to be in PIP_INSTALL_DIST_PATH but
this class was writing to the same directory through chance not design.

Respect PIP_INSTALL_DIST_PATH as the output directory.

(From OE-Core rev: 12857a77ad424c3c3cbc37275374a603e528d9f1)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-09 11:46:28 +00:00
Ross Burton
0f25ab3481 python3-flit-core: improve recipe
flit_core can bootstrap itself, so the python3-flit-core recipe can just
inherit flit_core and set PEP517_SOURCE_PATH to the flit_core submodule.

Also setting FILES:${PN} is redundant.

(From OE-Core rev: ec8799eb92174cb6780a0cc7e1fa9828e4d75c79)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-09 11:46:28 +00:00
Ross Burton
c7054e363a setuptools_build_meta: add variable to control where pyproject.toml is located
The PEP517[1] pyproject.toml doesn't have to be located at the top-level
of the source tree (for example, in recipes with multiple components), so
add a variable PEP517_SOURCE_PATH to set where the file is.

In the future there should be a pep517.bbclass to centralise the common
logic, but for now this can be defined in each of the relevant classes.

[1] https://www.python.org/dev/peps/pep-0517/

(From OE-Core rev: 891fab83683cf032d4849f2dfbcd03a3eb22f158)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-09 11:46:28 +00:00
Ross Burton
37527ea5bd setuptools_build_meta: respect PIP_INSTALL_DIST_PATH
pip_install_wheel expects the wheels to be in PIP_INSTALL_DIST_PATH but
this class was writing to the same directory through chance not design.

Respect PIP_INSTALL_DIST_PATH as the output directory, and use
[cleandirs] to ensure that it exists and is empty.

(From OE-Core rev: 1a3625c576afe823efc50dc0b1071e4952339f8e)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-09 11:46:28 +00:00
Ross Burton
2df212ff6c flit_core: add variable to control where pyproject.toml is located
The PEP517[1] pyproject.toml doesn't have to be located at the top-level
of the source tree (for example, in recipes with multiple components), so
add a variable PEP517_SOURCE_PATH to set where the file is.

In the future there should be a pep517.bbclass to centralise the common
logic, but for now this can be defined in each of the relevant classes.

[1] https://www.python.org/dev/peps/pep-0517/

(From OE-Core rev: f85b512e2ad39ec32f11f9b25b8c92bea20c844d)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-09 11:46:28 +00:00
Ross Burton
d2655729bc flit_core: respect PIP_INSTALL_DIST_PATH
pip_install_wheel expects the wheels to be in PIP_INSTALL_DIST_PATH but
this class was writing to the same directory through chance not design.

Respect PIP_INSTALL_DIST_PATH as the output directory, and use
[cleandirs] to ensure that it exists and is empty.

Also call the flit_core.wheel module directly as this is a public entry
point to the wheel building logic.

(From OE-Core rev: a3d9eb8051bc2effb8130b1743ba251c1fe7c525)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-09 11:46:28 +00:00
Alexander Kanavin
442c2cca0f libuv: fix upstream version check
(From OE-Core rev: b6172a98c25f5b0e700e6d84e19d6a1aa7d56780)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-09 11:46:28 +00:00
Alexander Kanavin
4247f1feec sysklogd: nobranch in SRC_URI is no longer necessary
(From OE-Core rev: b8f0f2609225855e65f6cb7068d0b015107a2dc5)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-09 11:46:27 +00:00
Alexander Kanavin
2c86f586d5 openssh: update 8.8 -> 8.9
License-Update: blowfish relicensed under 3-BSD.

Fix up ptests; listing the helper binaries one by one
is not necessary. Unittests are skipped explicitly in run-ptest,
no need to avoid building them. They still take long, but they
can be executed on target if wanted.

(From OE-Core rev: 9f031d936edb69c038639656288c84564434b906)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-09 11:46:27 +00:00
Alexander Kanavin
19e1beb5ae webkitgtk: upgrade 2.34.5 -> 2.34.6
(From OE-Core rev: 988a28cd89d30d424d4405bcf1d799e890858981)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-09 11:46:27 +00:00
Alexander Kanavin
5ab6eb32e2 mmc-utils: upgrade to latest revision
(From OE-Core rev: 113c03a1e08cca3e86740e77078358d4ba8c0d76)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-09 11:46:27 +00:00
Alexander Kanavin
62a9e5d4a4 vulkan: upgrade 1.3.204.0 -> 1.3.204.1
Only vulkan-loader has actually changed.

(From OE-Core rev: 337723179f144f6d0237ac1d1e45a7e7ca035236)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-09 11:46:27 +00:00
Alexander Kanavin
000b895fc2 libsecret: upgrade 0.20.4 -> 0.20.5
(From OE-Core rev: 591b547d546698ee7bb13ab18ff52921cc7d77ae)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-09 11:46:27 +00:00
Alexander Kanavin
bc98337f8a harfbuzz: upgrade 3.4.0 -> 4.0.0
(From OE-Core rev: ed92fec12b677b913c0d922b57e1f72819ecc2cb)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-09 11:46:27 +00:00
Alexander Kanavin
d662b6f152 diffoscope: upgrade 204 -> 206
(From OE-Core rev: ef6421463a2d5748474016d6ca4c299d6cf78dbe)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-09 11:46:27 +00:00
Alexander Kanavin
f2aeaa4848 python3-cython: upgrade 0.29.27 -> 0.29.28
(From OE-Core rev: 662333fbfa832cb6091b1bfdba8e218d288a8212)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-09 11:46:27 +00:00
Alexander Kanavin
0e3fc33999 kea: upgrade 2.0.1 -> 2.0.2
License-Update: copyright years

(From OE-Core rev: 887d686115f6399c07db7d20b146bcfab8248a78)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-09 11:46:27 +00:00
Alexander Kanavin
76b5fa18e6 apt: upgrade 2.2.4 -> 2.4.0
(From OE-Core rev: dabd96bd0b663300b7d6d2e820bafe5b5c70a314)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-09 11:46:27 +00:00
Alexander Kanavin
cb87a65dfb xwayland: update 21.1.4 -> 22.1.0
(From OE-Core rev: d62790354fd562afef004ea002017079972620f1)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-09 11:46:27 +00:00
Alexander Kanavin
5e8b0ac506 librsvg: update 2.52.5 -> 2.52.6
(From OE-Core rev: 49f3b14ce8efe200b0949232de81cb7e0bea7207)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-09 11:46:27 +00:00
Alexander Kanavin
9310d1531c rust: update 1.58.1 -> 1.59.0
Drop libstd-rs patches as they're merged upstream.

(From OE-Core rev: 05f4a09899aa8dbb22ef1adb494abac41d5b96b7)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-09 11:46:27 +00:00
Samuli Piippo
290b654a38 mesa: make sure GLES3 headers are installed
Since there is no libgles3-mesa package that would pull in the headers,
add dependency to libgles2-mesa-dev. Now there no need to manually add
GLES3 headers to image or toolchain.

(From OE-Core rev: 7c6effef9d471efbaea76e23e91938687fcc661c)

Signed-off-by: Samuli Piippo <samuli.piippo@qt.io>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-09 11:46:27 +00:00
wangmy
7eab2d68e0 go: upgrade 1.17.7 -> 1.17.8
(From OE-Core rev: c375fcae8fd4c21a9f240440f9d7f31dde415e30)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-09 11:46:27 +00:00
wangmy
6225b5e343 asciidoc: upgrade 10.1.3 -> 10.1.4
License-Update: year updated to 2022.

Changelog:
=========
.Bug fixes
- Add missing test py files to dist archives
- Fix DeprecationWarnings in a2x regexes

(From OE-Core rev: 0e964d4bcf0061297ac2194d4de0367744a2ed89)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-09 11:46:27 +00:00
Marta Rybczynska
8d0e8ee0da bitbake: lib/bb: more verbose error message
The "Parsing halted due to errors" is shown when user has old-style
variables requiring renaming. Make it clear that it isn't an additional
error, but a result of earlier errors.

(Bitbake rev: e81b6ae61dd8b5d0f77146263d79dfe66c66b060)

Signed-off-by: Marta Rybczynska <marta.rybczynska@huawei.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-08 11:07:22 +00:00
Richard Purdie
051ec7da52 bitbake: server/xmlrpcserver: Add missing xmlrpcclient import
This avoids backtraces when starting toaster or using bitbake in
remote mode.

(Bitbake rev: bf723f2cb5d288ca730e4f029110b36380420a01)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-08 09:45:57 +00:00
leimaohui
71338ad26e bitbake: monitordisk.py: Deleted redundant word in warning message.
(Bitbake rev: 24ce95596e709bccda08fad81c2ebb9f8053618c)

Signed-off-by: Lei Maohui <leimaohui@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-08 09:45:57 +00:00
Michael Opdenacker
310186de2c bitbake: bitbake-user-manual: add recent release manuals
Add links corresponding to recent releases
Align the title of sections with yocto-docs' releases.rst

(Bitbake rev: 5700317975e115aa31186c8cd3eddca16ec387fb)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-08 09:45:57 +00:00
Michael Opdenacker
79db1028ca bitbake: bitbake-user-manual: update allowed characters in overrides
(Bitbake rev: b12d4fe049c80fa6b042d5cd852b4d602221321d)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-08 09:45:57 +00:00
Michael Opdenacker
13e483fd45 bitbake: bitbake-user-manual: yet another overrides syntax update
(Bitbake rev: 9abf9fcd15279cf8c993efcb914a0092f74a814e)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-08 09:45:57 +00:00
Michael Opdenacker
66882ee02a bitbake: bitbake-user-manual: add note about the old syntax for OVERRIDES
(Bitbake rev: ad2307823a96e91873d804aa9d8f11c9ff39bec0)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Reported-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Reported-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-08 09:45:57 +00:00
Michael Opdenacker
a24c2ef65c bitbake: bitbake-user-manual: stop mentioning the Angstrom distribution
Now defunct.

(Bitbake rev: 2c7bff686c1f5eb80c89cb7f9f12287e8bb5770f)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-08 09:45:57 +00:00
Michael Opdenacker
2d559fca13 bitbake: bitbake-user-manual: add "crate" fetcher
(Bitbake rev: cca1533e9a684bef8b27130c42abcd1125332038)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Reviewed-by: Quentin Schulz <foss+yocto@0leil.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-08 09:45:57 +00:00
Bill Pittman
bf707d4431 wic: Use custom kernel path if provided
If the custom kernel path is provided in options, then
use that path instead of the default path.

(From OE-Core rev: 1068102216a894c467f71f6046fdb37d5577545c)

Signed-off-by: Bill Pittman <bill.pittman@ni.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-08 09:44:28 +00:00
Khem Raj
354b44b45a virglrenderer: Depend on virtual/egl
depending on EGL means it does not have to worry if implementation
provides GL/GLES/OpenVG interfaces or not.

(From OE-Core rev: e3d3867d677a08b718e347e4d10a986cdd216493)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-08 09:44:28 +00:00
Jose Quaresma
3ec1f30ebb gstreamer1.0-plugins-bad/ugly: use the GPL-2.0-or-later only when it is in use
Since all gstreamer modules uses LGPLv2.1 with exceptions
for some plugins in bad and ugly modules that has GPLv2+.

For the GPLv2+ this patch set this license only for each plugin
that is affected by by that, using the new GSTREAMER_GPL.

CC: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
(From OE-Core rev: 25ea8753e2d1dc4e1aa01b4800da532ca1aecec7)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-08 09:44:28 +00:00
Ross Burton
bcd7e29a3b setuptools_build_meta: clean up configure/compile
Make do_configure do nothing by default as the base configure isn't
useful, and invoke the build API directly instead of writing a script.

In the future, this can simply call python3-build.

(From OE-Core rev: ccad9d0218ef69bdb8c708029445fcd661f1c490)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-08 09:44:28 +00:00
Ross Burton
025fa5266e flit_core: clean up configure/compile
Make do_configure do nothing by default as the base configure isn't
useful, and invoke the build API directly instead of writing a script.

In the future, this can simply call python3-build.

(From OE-Core rev: 2d80529a486d25ad96c448499392547e82779de4)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-08 09:44:28 +00:00
Ross Burton
17b0f1ecc6 python3-pip: remove obsolete and confusing comment
This comment is very obsolete.

(From OE-Core rev: 147875f0bf7b68694c0338b6f212b03bfdca2ea8)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-08 09:44:27 +00:00
Ross Burton
3046042ea4 pip_install_wheel: don't lazy assign PIPINSTALLARGS
If we expect users to extend this we should use =, as otherwise a recipe
that does += will replace the default value.

(From OE-Core rev: fdaf5e0027a52e44f2def0ef240134763660aa00)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-08 09:44:27 +00:00
Ross Burton
c38a95d4f5 pip_install_wheel: clean up
There's been a lot of work in this class lately, so a little spring
cleaning is needed.

Remove redundant creation of PYTHON_SITEPACKAGES_DIR, pip will do that.

Remove redundant export of PYPA_WHEEL.

Simplyify recompile code using "realpath --relative-to".

(From OE-Core rev: cb56166eef34ba4937dc487664c57815daeadbe8)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-08 09:44:27 +00:00
Ross Burton
2552f836c9 setuptools3.bbclass: clean up
There's been a lot of work in this class lately, so a little spring
cleaning is needed.

Create wheels verbosely to help debug problems.

Remove unused SETUPTOOLS_INSTALL_ARGS, these can't be passed to
bdist_wheel.

Remove duplicate manipulation of files in bindir as pip_install_wheel
does the same.

Remove obsolete deletion of easy-install.pth, wheels don't generate that.

Remove obsolete ${datadir}/share fixup, pip-installed wheels can't
generate that path combination.

Remove purging of ${D} references from *.py, these won't be written by
standard setuptools, and recipes can do it themselves to work around
specific issues if needed.

Remove obsolete vardepsexclude of MACHINE on do_install, as that variable
isn't referenced.

(From OE-Core rev: 57c477ca13e352b6f9b21385abbfaad9778c6398)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-08 09:44:27 +00:00
Richard Purdie
b678b7f0a0 vim: Update to 8.2.4524 for further CVE fixes
Includes CVE-2022-0696, CVE-2022-0714, CVE-2022-0729.

(From OE-Core rev: 0d29988958e48534a0076307bb2393a3c1309e03)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-08 09:44:27 +00:00
wangmy
2c9d9bc342 cmake: upgrade 3.22.2 -> 3.22.3
refresh 0001-CMakeDetermineSystem-use-oe-environment-vars-to-load.patch

Changelog:
==========
* The :command:'while' command again ignores errors in condition evaluation
  as CMake 3.21 and below did.  This bug was fixed in 3.22.0, but exposed
  errors in existing projects.  The fix has been reverted to restore
  compatibility.  The fix may be restored in a future version of CMake
  via a policy.

(From OE-Core rev: 146ceceaf81639085a82fd94d30ea84150a75e3a)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-07 22:44:55 +00:00
wangmy
d1394e7707 python3-hypothesis: upgrade 6.39.0 -> 6.39.2
Changelog from 6.39.0 to 6.39.2
==============================
- fixes a regression where the bound inner function
("your_test.hypothesis.inner_test") would be invoked with positional
arguments rather than passing them by name, which broke pytest-asyncio
(issue #3245).

- clarifies rare error messages in "builds()" (issue #3225)
and "floats()" (issue #3207).

(From OE-Core rev: ae25cd186c3e0771ef9a3fe10fe7a75c8bde2f66)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-07 22:44:55 +00:00
Jose Quaresma
ec9fb2e37a gstreamer1.0-plugins-packaging: rename variables
(From OE-Core rev: f95d1ea7f481a3029267ad3536dbe45ae28c6ed7)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-07 22:44:55 +00:00
Jose Quaresma
243394eba1 gstreamer1.0-plugins-base: libgst is already defined on PACKAGES_DYNAMIC
PACKAGES_DYNAMIC in gstreamer1.0-plugins-packaging.inc have libgst since 768d621

(From OE-Core rev: a5908b0cb75c2ff0d0b4edd3adeaf82b2fed19cb)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-07 22:44:55 +00:00
Markus Volk
daa3128516 libxslt: update to v1.1.35
Security

[CVE-2021-30560] Fix use-after-free in xsltApplyTemplates
Fix memory leak in xsltDocumentElem (David King)
Fix memory leak in xsltCompileIdKeyPattern (David King)
Fix double-free with stylesheets containing entity nodes

Fixed regressions

Fix performance regression with predicates in patterns
Fix regression in xsltComputeSortResult

Bug fixes

Fix conflict resolution for templates with same priority
Fix xsl:number generating invalid UTF-8
Support attribute value templates in xsl:sort lang attributes
Don't pass first xsl:sort in xsl:apply-templates twice
Fix quadratic runtime with text and xsl:message

Don't allow empty EXSLT durations

Improvements

Add xsltproc --huge Argument via libxml XML_PARSE_HUGE (William N. Braswell, Jr.)

Tests, code quality, fuzzing

Remove .travis.yml
Fix some misleading indentation (David King)
Use actual types for templates in struct _xsltStylesheet
Add CI for CMake on MSVC (Markus Rickert)
Check for null pointer before calling freelocale
Add CI test for Python 3
Don't set maxDepth in XPath contexts
Transfer XPath limits to XPtr context
Stop using maxParserDepth XPath limit
Make long-to-double cast explicit in date.c
Disable LeakSanitizer
Run clang CI tests with -Wimplicit-int-conversion
Fix implicit-int-conversion warning in exslt/crypto.c
Fix clang -Wimplicit-int-conversion warning (David Kilzer)
Fix clang -Wconditional-uninitialized warning in libxslt/numbers.c (David Kilzer)
Fix -Wshadow warnings in libexslt/dynamic.c (David Kilzer)
Also search parent dir for source XML when fuzzing

Build system, portability

Add CMake build files (Markus Rickert)
Initial support for Python 3 (Suleyman Poyraz)
Call ANSI versions of WinAPI functions explicitly
Remove redundant flags from pkg-config files
Suppress automake warning in tests/XSLTMark
Fix linking libexslt dynamic library when using MinGW (Vadim Zeitlin)
Added platform specific path separators (Dmitriy Korovkin)
win32: allow passing *FLAGS on command line
Fix export of xsltExtMarker on Windows (David Kilzer)
Fix redundant includes already in libexslt.h (David Kilzer)
Minor fixes to configure.js
Fix variable syntax in Python configuration
Add new EXSLT string tests to EXTRA_DIST
Fix xml2-config check in configure script
win32: Add configuration for profiler (Chun-wei Fan)
Check whether 'xml2-config --dynamic' is supported

Documentation

Add Makefile rule to regenerate xsltproc.html
Update links
Remove MAINTAINERS
Upload documentation to GitLab Pages
Add documentation in devhelp format
Add --enable-rebuild-docs configure option
Fix libexslt header summaries
Fix validity of tutorial XML (David King)
Use DocBook URL for tutorial DTD (David King)
Update libxslt.doap
Add missing options to xsltproc man page

(From OE-Core rev: 6b5b1486bbd381b2b657645e91a1712332ddcb94)

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-07 22:44:55 +00:00
Robert Joslyn
37cd2999e7 curl: Update to 7.82.0
Includes bug fixes and feature updates, such as addition of a --json flag
and the removal of mesalink support. Changelog available at:
https://curl.se/changes.html#7_82_0

LIC_FILES_CHKSUM changed due to copyright year update. Now that the full
SPDX license list is supported, refine the license from MIT to
MIT-open-group. The curl license contains the additional advertising
clause present in the Open Group variant.

Use a weak assignment with the RANDOM variable to make changes via
bbappend easier.

(From OE-Core rev: 5186d399b4e24273a35c9ad8b0c6fac8d626911a)

Signed-off-by: Robert Joslyn <robert.joslyn@redrectangle.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-07 22:44:55 +00:00
Jose Quaresma
dc9ea6b8eb sstate: inside the threadedpool don't write to the shared localdata
When inside the threadedpool we make a copy of the localdata
to avoid some race condition, so we need to use this new
localdata2 and stop write the shared localdata.

(From OE-Core rev: 1fa763b2022822a76fde541724e83e1977833d03)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-07 22:44:55 +00:00
Christian Eggers
0e702fff26 license: expand_wildcard_licenses: add AGPL-3.0* wildcard
The Yocto reference manual suggests also settings AGPL-3.0 in
INCOMPATIBLE_LICENSE.

https://www.yoctoproject.org/docs/latest/ref-manual/ref-manual.html#var-INCOMPATIBLE_LICENSE

Fixes: 724fc8047cae ("license: Rework INCOMPATIBLE_LICENSE wildcard handling")
(From OE-Core rev: 5d5c999ec0a40e3fa14041c35035c8cd4a1da01d)

Signed-off-by: Christian Eggers <ceggers@arri.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-07 22:44:55 +00:00
Khem Raj
7493b054f9 kmscube: Fix build when x11 is absent in distro features
distros might use openGL but not x11 ( e.g. EGL ), therefore fix build for such
combination

(From OE-Core rev: 2b3ee9ac02ebeaee20be3460010005a4697ab402)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-07 22:44:55 +00:00
Richard Purdie
afbdba9b12 build-appliance-image: Update to master head revision
(From OE-Core rev: 4caea2d32f177fbbe3887f37b6700b2b4996b2be)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-06 17:38:50 +00:00
Richard Purdie
0d518533e2 expat: Upgrade 2.4.6 -> 2.4.7
(From OE-Core rev: 62a797b863c443f35a5ae9483c12108fcf24b606)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-06 17:38:30 +00:00
Richard Purdie
e95fedc49c bitbake: knotty: Improve setscene task display
There is general agreement the current display of the total setscene and
executed full tasks is confusing. Fixing it is tricky to be clear to new
users whilst not wasting screen real estate for experienced users and not
compromisng features like the progress bar.

As a compromise, move the setscene total to the previous line making
the status display a two line summary for interactive terminals. This
makes it clear what two of the numbers represent (setscene task) whilst
separating this out from the other items.

Also tweak the non-interactive output to use a comma as a separator,
the use of the forward slash was a poor choice.

(Bitbake rev: 8055ec360507e6a678ee5c4018ec1ab7f5a9cce5)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-06 17:38:30 +00:00
Richard Purdie
c9b71a9817 bitbake: knotty: Correctly handle multiple line items
Currently the footer code doesn't quite handle multiline items correct.
Fix this to do so.

(Bitbake rev: 8eeccf73185d986c6abd6426b1d1e72da3a982df)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-06 17:38:30 +00:00
Khem Raj
d10f58d298 packagegroup-core-tools-profile: Enable systemtap for riscv64
(From OE-Core rev: 5af78e5fbfd3f47142eb7961f3258fa2a56f0c3d)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-06 11:39:08 +00:00
Khem Raj
07b01b2ece systemtap: Enable for riscv64
(From OE-Core rev: a209c05dcb631eb85d67c40727623a4c131071fa)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-06 11:39:08 +00:00
Michael Opdenacker
3704d5036b bitbake: bitbake-user-manual: further override syntax updates
(Bitbake rev: 1b026644c3312aa3e0a01cfa31758963926b091a)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-06 11:39:08 +00:00
Konrad Weihmann
370ca1d1bd setuptools_build_meta: remove python dependency
when building additional native python tools that should be used
for additional tasks in python3 package (class-target), the dependency
on target class python creates a dependency loop:

python3-foo-native_1.2.3.bb:do_prepare_recipe_sysroot
python3-pep8-native_1.7.1.bb:do_populate_sysroot
python3-wheel_0.37.1.bb:do_populate_sysroot
python3-bar-native_0.1.2.bb:do_populate_sysroot
python3-pip_22.0.3.bb:do_populate_sysroot
python3-pyflakes-native_2.4.0.bb:do_populate_sysroot
python3_3.10.2.bb:do_populate_sysroot
python3-foo-native_1.2.3_1.2.0.bb:do_fetch
python3-setuptools_59.5.0.bb:do_populate_sysroot

resolve this by removing python3 from DEPENDS.
The correct dependencies are already injected by
setuptools-base class

(From OE-Core rev: bd9f9a369160164beade2c12f344b7f5c2b18427)

Signed-off-by: Konrad Weihmann <kweihmann@outlook.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-05 22:58:48 +00:00
Bruce Ashfield
b1a26ed853 linux-yocto/5.15: riscv32: drop MAXPHYSMEM_1GB
Integrating the following commit(s) to linux-yocto/.:

    ea948a0983d riscv32: drop MAXPHYSMEM_128GB

(From OE-Core rev: 8517e9db5306af0a3d6e341400d88a4ef28044fa)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-05 22:58:48 +00:00
Bruce Ashfield
1f659763bc linux-yocto/5.10: update to v5.10.103
Updating linux-yocto/5.10 to the latest korg -stable release that comprises
the following commits:

    915a747ac7f3 Linux 5.10.103
    78706b051a8a memblock: use kfree() to release kmalloced memblock regions
    4185b788d3ad gpio: tegra186: Fix chip_data type confusion
    bb2e0a77235a tty: n_gsm: fix deadlock in gsmtty_open()
    e4c8cb95d035 tty: n_gsm: fix wrong tty control line for flow control
    1f0641dd0b6c tty: n_gsm: fix NULL pointer access due to DLCI release
    1e35cb9e1271 tty: n_gsm: fix proper link termination after failed open
    90b47e617fb2 tty: n_gsm: fix encoding of control signal octet bit DV
    9e2dbc31e367 riscv: fix oops caused by irqsoff latency tracer
    e098933866f9 thermal: int340x: fix memory leak in int3400_notify()
    5b1cef5798b4 RDMA/cma: Do not change route.addr.src_addr outside state checks
    8fe4da55246a driver core: Free DMA range map when device is released
    214824764308 xhci: Prevent futile URB re-submissions due to incorrect return value.
    0b0a229da1f2 xhci: re-initialize the HC during resume if HCE was set
    328faee6d409 usb: dwc3: gadget: Let the interrupt handler disable bottom halves.
    e57bdee8661e usb: dwc3: pci: Fix Bay Trail phy GPIO mappings
    99b2425d9178 usb: dwc2: drd: fix soft connect when gadget is unconfigured
    c7866880377b USB: serial: option: add Telit LE910R1 compositions
    220ba174f192 USB: serial: option: add support for DW5829e
    3a1dd56e566f tracefs: Set the group ownership in apply_options() not parse_options()
    bfa8ffbaaaaf USB: gadget: validate endpoint index for xilinx udc
    4ce247af3f30 usb: gadget: rndis: add spinlock for rndis response list
    ddc254fc8873 Revert "USB: serial: ch341: add new Product ID for CH341A"
    d3fce1b6bd95 ata: pata_hpt37x: disable primary channel on HPT371
    18701d8afaa1 sc16is7xx: Fix for incorrect data being transmitted
    d5ddd7343adf iio: Fix error handling for PM
    eabcc609cb8a iio: imu: st_lsm6dsx: wait for settling time in st_lsm6dsx_read_oneshot
    b8d411a96227 iio: adc: ad7124: fix mask used for setting AIN_BUFP & AIN_BUFM bits
    1aa12ecfdcba iio: adc: men_z188_adc: Fix a resource leak in an error handling path
    afbeee13beb5 tracing: Have traceon and traceoff trigger honor the instance
    99eb8d694174 RDMA/ib_srp: Fix a deadlock
    a7ab53d3c27d configfs: fix a race in configfs_{,un}register_subsystem()
    0ecd3e35d78e RDMA/rtrs-clt: Move free_permit from free_clt to rtrs_clt_close
    b0ecf9e59414 RDMA/rtrs-clt: Kill wait_for_inflight_permits
    8260f1800f83 RDMA/rtrs-clt: Fix possible double free in error case
    dc64aa4c7dc0 regmap-irq: Update interrupt clear register for proper reset
    2efece1368ae spi: spi-zynq-qspi: Fix a NULL pointer dereference in zynq_qspi_exec_mem_op()
    67819b983eb3 net/mlx5e: kTLS, Use CHECKSUM_UNNECESSARY for device-offloaded packets
    be55d3e76c0e net/mlx5: Fix wrong limitation of metadata match on ecpf
    8d617110d78e net/mlx5: Fix possible deadlock on rule deletion
    1c5912895545 udp_tunnel: Fix end of loop test in udp_tunnel_nic_unregister()
    a184f4dd9b33 surface: surface3_power: Fix battery readings on batteries without a serial number
    91f56a85278e net/smc: Use a mutex for locking "struct smc_pnettable"
    7e9880e81d3f netfilter: nf_tables: fix memory leak during stateful obj update
    af4bc921d39d nfp: flower: Fix a potential leak in nfp_tunnel_add_shared_mac()
    58a6d5f24f49 net: Force inlining of checksum functions in net/checksum.h
    550d98ab3007 net: ll_temac: check the return value of devm_kmalloc()
    0fc184735996 net/sched: act_ct: Fix flow table lookup after ct clear or switching zones
    bc8f768af342 net/mlx5e: Fix wrong return value on ioctl EEPROM query failure
    fd020eaaa24a drm/edid: Always set RGB444
    1df9d552fe84 openvswitch: Fix setting ipv6 fields causing hw csum failure
    dac2490d9ee0 gso: do not skip outer ip header in case of ipip and net_failover
    b692d5dc6f54 tipc: Fix end of loop tests for list_for_each_entry()
    c5722243d0e5 net: __pskb_pull_tail() & pskb_carve_frag_list() drop_monitor friends
    4a93c6594613 io_uring: add a schedule point in io_add_buffers()
    7ef94bfb08fb bpf: Add schedule points in batch ops
    4f5d47e6b43f selftests: bpf: Check bpf_msg_push_data return value
    d0caa7218d76 bpf: Do not try bpf_msg_push_data with len 0
    962b2a3188bf hwmon: Handle failure to register sensor with thermal zone correctly
    d8b78314c5ba bnxt_en: Fix active FEC reporting to ethtool
    7e1eae5d1a7c bnx2x: fix driver load from initrd
    51e96061c66c perf data: Fix double free in perf_session__delete()
    5419b5be883b ping: remove pr_err from ping_lookup
    5da17865c7f3 optee: use driver internal tee_context for some rpc
    eb354613847d tee: export teedev_open() and teedev_close_context()
    bae7fc6f0dc6 x86/fpu: Correct pkru/xstate inconsistency
    68f19845f580 netfilter: nf_tables_offload: incorrect flow offload action array size
    69560efa0013 CDC-NCM: avoid overflow in sanity checking
    2aeba1ea7ce8 USB: zaurus: support another broken Zaurus
    4f5f5411f0c1 sr9700: sanity check for packet length
    55eec5c630ea drm/i915: Correctly populate use_sagv_wm for all pipes
    ff9134882dfa drm/amdgpu: disable MMHUB PG for Picasso
    72fdfc75d421 KVM: x86/mmu: make apf token non-zero to fix bug
    646b532f32ea parisc/unaligned: Fix ldw() and stw() unalignment handlers
    397b5433f742 parisc/unaligned: Fix fldd and fstd unaligned handlers on 32-bit kernel
    698dc7d13c4e vhost/vsock: don't check owner in vhost_vsock_stop() while releasing
    84e303b4d53f clk: jz4725b: fix mmc0 clock gating
    72a5b01875b2 btrfs: tree-checker: check item_size for dev_item
    5c967dd07311 btrfs: tree-checker: check item_size for inode_item
    fcec42dd28d6 cgroup/cpuset: Fix a race between cpuset_attach() and cpu hotplug
    47667effb7d2 Linux 5.10.102
    6062d1267ff3 lockdep: Correct lock_classes index mapping
    f333c1916fd6 i2c: brcmstb: fix support for DSL and CM variants
    9fee985f9afa copy_process(): Move fd_install() out of sighand->siglock critical section
    e3fdbc40b750 i2c: qcom-cci: don't put a device tree node before i2c_add_adapter()
    b5b2a9211713 i2c: qcom-cci: don't delete an unregistered adapter
    3b6d25d1b6a2 dmaengine: sh: rcar-dmac: Check for error num after dma_set_max_seg_size
    2c35c95d3640 dmaengine: stm32-dmamux: Fix PM disable depth imbalance in stm32_dmamux_probe
    4f907b6eb701 dmaengine: sh: rcar-dmac: Check for error num after setting mask
    797b380f0756 net: sched: limit TC_ACT_REPEAT loops
    595c259f75ae EDAC: Fix calculation of returned address and next offset in edac_align_ptr()
    f6ce4e328939 scsi: lpfc: Fix pt2pt NVMe PRLI reject LOGO loop
    3680b2b8104b kconfig: fix failing to generate auto.conf
    b6787e284d3d net: macb: Align the dma and coherent dma masks
    439171a2917c net: usb: qmi_wwan: Add support for Dell DW5829e
    15616ba17d02 tracing: Fix tp_printk option related with tp_printk_stop_on_boot
    5a253a23d9f1 drm/rockchip: dw_hdmi: Do not leave clock enabled in error case
    1e7433fb95cc xprtrdma: fix pointer derefs in error cases of rpcrdma_ep_create
    a21f472fb5cc soc: aspeed: lpc-ctrl: Block error printing on probe defer cases
    fecb05b1ce6b ata: libata-core: Disable TRIM on M88V29
    b19ec7afa929 lib/iov_iter: initialize "flags" in new pipe_buffer
    30455322787a kconfig: let 'shell' return enough output for deep path names
    e05dde47f52a selftests: fixup build warnings in pidfd / clone3 tests
    531a56c2e0bf pidfd: fix test failure due to stack overflow on some arches
    429ef36c4fc4 arm64: dts: meson-g12: drop BL32 region from SEI510/SEI610
    1415f22ee541 arm64: dts: meson-g12: add ATF BL32 reserved-memory region
    605080f19eb7 arm64: dts: meson-gx: add ATF BL32 reserved-memory region
    eefb68794f94 netfilter: conntrack: don't refresh sctp entries in closed state
    1ab48248573b irqchip/sifive-plic: Add missing thead,c900-plic match string
    98bc06c46d1f phy: usb: Leave some clocks running during suspend
    717f2fa85822 ARM: OMAP2+: adjust the location of put_device() call in omapdss_init_of
    6932353af74c ARM: OMAP2+: hwmod: Add of_node_put() before break
    521dcc107e39 NFS: Don't set NFS_INO_INVALID_XATTR if there is no xattr cache
    fb00319afb72 KVM: x86/pmu: Use AMD64_RAW_EVENT_MASK for PERF_TYPE_RAW
    0ee4bb8ce8b8 KVM: x86/pmu: Don't truncate the PerfEvtSeln MSR when creating a perf event
    99cd2a043760 KVM: x86/pmu: Refactoring find_arch_event() to pmc_perf_hw_id()
    91d8866ca552 Drivers: hv: vmbus: Fix memory leak in vmbus_add_channel_kobj
    a176d559e826 mtd: rawnand: brcmnand: Fixed incorrect sub-page ECC status
    1a49b1b0b0cb mtd: rawnand: qcom: Fix clock sequencing in qcom_nandc_probe()
    8c848744c11b tty: n_tty: do not look ahead for EOL character past the end of the buffer
    8daa0436ce79 NFS: Do not report writeback errors in nfs_getattr()
    f9b7385c0f62 NFS: LOOKUP_DIRECTORY is also ok with symlinks
    598dbaf74b64 block/wbt: fix negative inflight counter when remove scsi device
    dc6faa0ede4d ASoC: tas2770: Insert post reset delay
    9dcedbe943be KVM: SVM: Never reject emulation due to SMAP errata for !SEV guests
    a4eeeaca5019 mtd: rawnand: gpmi: don't leak PM reference in error path
    fb26219b4046 powerpc/lib/sstep: fix 'ptesync' build error
    54f76366cd01 ASoC: ops: Fix stereo change notifications in snd_soc_put_volsw_range()
    0df1badfdfcd ASoC: ops: Fix stereo change notifications in snd_soc_put_volsw()
    1ef76832fef3 ALSA: hda: Fix missing codec probe on Shenker Dock 15
    c72c3b597a79 ALSA: hda: Fix regression on forced probe mask option
    63b1602c2fd5 ALSA: hda/realtek: Fix deadlock by COEF mutex
    b6a5e8f45f89 ALSA: hda/realtek: Add quirk for Legion Y9000X 2019
    67de71b94331 selftests/exec: Add non-regular to TEST_GEN_PROGS
    d3018a196221 perf bpf: Defer freeing string after possible strlen() on it
    016e3ca9c588 dpaa2-eth: Initialize mutex used in one step timestamping path
    50f3b00d4c7b libsubcmd: Fix use-after-free for realloc(..., 0)
    ffa8df4f0e8f bonding: fix data-races around agg_select_timer
    d9bd9d4c60c3 net_sched: add __rcu annotation to netdev->qdisc
    877a05672f95 drop_monitor: fix data-race in dropmon_net_event / trace_napi_poll_hit
    a0e004e6206e bonding: force carrier update when releasing slave
    8dec3c4e7350 ping: fix the dif and sdif check in ping_lookup
    6793a9b028ce net: ieee802154: ca8210: Fix lifs/sifs periods
    f48bd3413771 net: dsa: lantiq_gswip: fix use after free in gswip_remove()
    d9b2203e5a30 net: dsa: lan9303: fix reset on probe
    4f523f15e5d7 ipv6: per-netns exclusive flowlabel checks
    100344200a0c netfilter: nft_synproxy: unregister hooks on init error path
    26931971db5f selftests: netfilter: fix exit value for nft_concat_range
    b26ea3f6b7b0 iwlwifi: pcie: gen2: fix locking when "HW not ready"
    8867f993790d iwlwifi: pcie: fix locking when "HW not ready"
    f3c1910257c8 drm/i915/gvt: Make DRM_I915_GVT depend on X86
    87cd1bbd6677 vsock: remove vsock from connected table when connect is interrupted by a signal
    eb7bf11e8ef1 drm/i915/opregion: check port number bounds for SWSCI display power state
    5564d83ebc1b drm/radeon: Fix backlight control on iMac 12,1
    008508c16af0 iwlwifi: fix use-after-free
    44b81136e868 kbuild: lto: Merge module sections if and only if CONFIG_LTO_CLANG is enabled
    8b53e5f737bc kbuild: lto: merge module sections
    45102b538a9e random: wake up /dev/random writers after zap
    143aaf79bafa gcc-plugins/stackleak: Use noinstr in favor of notrace
    de55891e162c Revert "module, async: async_synchronize_full() on module init iff async is used"
    3c958dbcba18 x86/Xen: streamline (and fix) PV CPU enumeration
    e76d0a9692c5 drm/amdgpu: fix logic inversion in check
    324f5bdc52ec nvme-rdma: fix possible use-after-free in transport error_recovery work
    e192184cf8bc nvme-tcp: fix possible use-after-free in transport error_recovery work
    0ead57ceb21b nvme: fix a possible use-after-free in controller reset during load
    fe9ac3eaa2e3 scsi: pm8001: Fix use-after-free for aborted SSP/STP sas_task
    d872e7b5fe38 scsi: pm8001: Fix use-after-free for aborted TMF sas_task
    1e73f5cfc160 quota: make dquot_quota_sync return errors from ->sync_fs
    c405640aad56 vfs: make freeze_super abort when sync_filesystem returns error
    b9a229fd48bf ax25: improve the incomplete fix to avoid UAF and NPD bugs
    139fce2992ee selftests: skip mincore.check_file_mmap when fs lacks needed support
    204a2390da42 selftests: openat2: Skip testcases that fail with EOPNOTSUPP
    2be48bfac713 selftests: openat2: Add missing dependency in Makefile
    74a30666b4b5 selftests: openat2: Print also errno in failure messages
    bfc84cfd909b selftests/zram: Adapt the situation that /dev/zram0 is being used
    f0eba714c11d selftests/zram01.sh: Fix compression ratio calculation
    7bb704b69fb1 selftests/zram: Skip max_comp_streams interface on newer kernel
    0fd484644c68 net: ieee802154: at86rf230: Stop leaking skb's
    0c18a751930c kselftest: signal all child processes
    1136141f19ab selftests: rtc: Increase test timeout so that all tests run
    79175b6ee658 platform/x86: ISST: Fix possible circular locking dependency detected
    066c905ed06c platform/x86: touchscreen_dmi: Add info for the RWC NANOTE P8 AY07J 2-in-1
    0b17d4b51c63 btrfs: send: in case of IO error log it
    78a68bbebdcc parisc: Add ioread64_lo_hi() and iowrite64_lo_hi()
    ade1077c7fc0 PCI: hv: Fix NUMA node assignment when kernel boots with custom NUMA topology
    254090925e16 mm: don't try to NUMA-migrate COW pages that have other uses
    ab2b4e65a130 mmc: block: fix read single on recovery logic
    775671687299 parisc: Fix sglist access in ccio-dma.c
    f8f519d7df66 parisc: Fix data TLB miss in sba_unmap_sg
    4d569b959e54 parisc: Drop __init from map_pages declaration
    8e3f9a098eca serial: parisc: GSC: fix build when IOSAPIC is not set
    fe383750d40d Revert "svm: Add warning message for AVIC IPI invalid target"
    126382b5565f HID:Add support for UGTABLET WP5540
    f100e758cef5 scsi: lpfc: Fix mailbox command failure during driver initialization
    4578b979ef61 can: isotp: add SF_BROADCAST support for functional addressing
    5d42865fc311 can: isotp: prevent race between isotp_bind() and isotp_setsockopt()
    db3f3636e4ae fs/proc: task_mmu.c: don't read mapcount for migration entry
    0849f83e4782 fget: clarify and improve __fget_files() implementation
    657991fb06a4 rcu: Do not report strict GPs for outgoing CPUs
    8c8385972ea9 mm: memcg: synchronize objcg lists with a dedicated spinlock
    d0f4aa2d978f drm/nouveau/pmu/gm200-: use alternate falcon reset sequence

(From OE-Core rev: 1e234210aa40655d14cf6c5b12cd5d39b460b1e9)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-05 22:58:48 +00:00
Bruce Ashfield
cb12bb2329 linux-yocto/5.15: update to v5.15.26
Updating linux-yocto/5.15 to the latest korg -stable release that comprises
the following commits:

    8993e6067f26 Linux 5.15.26
    3c805fce07c9 ice: fix concurrent reset and removal of VFs
    26bc7197f9d3 ice: Fix race conditions between virtchnl handling and VF ndo ops
    fd21a0b6da94 memblock: use kfree() to release kmalloced memblock regions
    83f331d1debb gpio: tegra186: Fix chip_data type confusion
    a15769155440 pinctrl: k210: Fix bias-pull-up
    e3a751ee48f9 pinctrl: fix loop in k210_pinconf_get_drive()
    92cab57ea6d7 tty: n_gsm: fix deadlock in gsmtty_open()
    06bce5327b76 tty: n_gsm: fix wrong modem processing in convergence layer type 2
    1bc6f3b19bc6 tty: n_gsm: fix wrong tty control line for flow control
    50cacb783bb3 tty: n_gsm: fix NULL pointer access due to DLCI release
    519d0b389c10 tty: n_gsm: fix proper link termination after failed open
    4f0ab1c8a5a6 tty: n_gsm: fix encoding of control signal octet bit DV
    1851b9a46706 riscv: fix oops caused by irqsoff latency tracer
    e0ff4dffded5 riscv: fix nommu_k210_sdcard_defconfig
    72aa720acacf IB/qib: Fix duplicate sysfs directory name
    7a7e1b3aeef7 tps6598x: clear int mask on probe failure
    bde6a6b111b9 staging: fbtft: fb_st7789v: reset display before initialization
    ba9efbbf6745 thermal: int340x: fix memory leak in int3400_notify()
    00265efbd3e5 RDMA/cma: Do not change route.addr.src_addr outside state checks
    8df508b7a44c btrfs: prevent copying too big compressed lzo segment
    d2bef2cbd3b1 driver core: Free DMA range map when device is released
    453a82127f17 mtd: core: Fix a conflict between MTD and NVMEM on wp-gpios property
    fcd3f5906d64 nvmem: core: Fix a conflict between MTD and NVMEM on wp-gpios property
    ce94606060d7 xhci: Prevent futile URB re-submissions due to incorrect return value.
    c8b38e557414 xhci: re-initialize the HC during resume if HCE was set
    88f69c64443f usb: dwc3: gadget: Let the interrupt handler disable bottom halves.
    83e0190fb77c usb: dwc3: pci: Fix Bay Trail phy GPIO mappings
    e62f41a6528f usb: dwc3: pci: Add "snps,dis_u2_susphy_quirk" for Intel Bay Trail
    943a914d3dab usb: dwc2: drd: fix soft connect when gadget is unconfigured
    85171fbf714c USB: serial: option: add Telit LE910R1 compositions
    c331aa7e7064 USB: serial: option: add support for DW5829e
    6db927ce66ac tracefs: Set the group ownership in apply_options() not parse_options()
    2c775ad1fd5e USB: gadget: validate endpoint index for xilinx udc
    da514063440b usb: gadget: rndis: add spinlock for rndis response list
    f7c9fd0dff99 Revert "USB: serial: ch341: add new Product ID for CH341A"
    27089f04fac6 ata: pata_hpt37x: disable primary channel on HPT371
    4e508c593573 sc16is7xx: Fix for incorrect data being transmitted
    72b0fba2dd4d iio: Fix error handling for PM
    1f05c7568445 iio: imu: st_lsm6dsx: wait for settling time in st_lsm6dsx_read_oneshot
    c77f4ae7bd43 iio: accel: fxls8962af: add padding to regmap for SPI
    ca9d1799be68 iio: adc: ad7124: fix mask used for setting AIN_BUFP & AIN_BUFM bits
    0cb9b2f73c18 iio: adc: tsc2046: fix memory corruption by preventing array overflow
    fe7347780298 iio: adc: men_z188_adc: Fix a resource leak in an error handling path
    7bdf7d5f0cbd iio:imu:adis16480: fix buffering for devices with no burst mode
    9000406481a5 tracing: Have traceon and traceoff trigger honor the instance
    7e35b31e2cee tracing: Dump stacktrace trigger to the corresponding instance
    c8b56e51aa91 RDMA/ib_srp: Fix a deadlock
    e7a66dd26877 configfs: fix a race in configfs_{,un}register_subsystem()
    a94879d41917 bnxt_en: Increase firmware message response DMA wait time
    27440589551f RDMA/rtrs-clt: Move free_permit from free_clt to rtrs_clt_close
    bf2cfad0c6e4 RDMA/rtrs-clt: Fix possible double free in error case
    ff999198ec21 net-timestamp: convert sk->sk_tskey to atomic_t
    d99dcdabc52a regmap-irq: Update interrupt clear register for proper reset
    43221f446c02 gpio: rockchip: Reset int_bothedge when changing trigger
    3c32405d6474 spi: spi-zynq-qspi: Fix a NULL pointer dereference in zynq_qspi_exec_mem_op()
    2378f94c8d9b net/mlx5: Update log_max_qp value to be 17 at most
    6e94d2863384 net/mlx5e: kTLS, Use CHECKSUM_UNNECESSARY for device-offloaded packets
    95c1867704d0 net/mlx5e: MPLSoUDP decap, fix check for unsupported matches
    d4d188487ddc net/mlx5: DR, Fix the threshold that defines when pool sync is initiated
    9703a9e2f968 net/mlx5: Fix wrong limitation of metadata match on ecpf
    f63548dd05ab net/mlx5: Fix possible deadlock on rule deletion
    837b0d2e69e8 net/mlx5: DR, Don't allow match on IP w/o matching on full ethertype/ip_version
    954997aeb8f2 ibmvnic: schedule failover only if vioctl fails
    117a5a7f019e net/mlx5: DR, Cache STE shadow memory
    6b6094db77e6 udp_tunnel: Fix end of loop test in udp_tunnel_nic_unregister()
    4039254acbd4 surface: surface3_power: Fix battery readings on batteries without a serial number
    062772d5cc8c net/smc: Use a mutex for locking "struct smc_pnettable"
    e96e204ee6fa netfilter: nf_tables: fix memory leak during stateful obj update
    7d258451d345 net: mdio-ipq4019: add delay after clock enable
    9d8097caa732 nfp: flower: Fix a potential leak in nfp_tunnel_add_shared_mac()
    8ffb8ac34488 netfilter: nf_tables: unregister flowtable hooks on netns exit
    2e15fa8091de net: Force inlining of checksum functions in net/checksum.h
    be2d38247657 net: ll_temac: check the return value of devm_kmalloc()
    a95ea90deb30 net/sched: act_ct: Fix flow table lookup after ct clear or switching zones
    d064d0c39405 drm/i915/dg2: Print PHY name properly on calibration error
    eae86ab32069 drm/vc4: crtc: Fix runtime_pm reference counting
    163e50b00530 net/mlx5e: Fix wrong return value on ioctl EEPROM query failure
    143dafa60aa7 drm/edid: Always set RGB444
    f941104aa116 openvswitch: Fix setting ipv6 fields causing hw csum failure
    62ca33976ddc net: mv643xx_eth: process retval from of_get_mac_address
    899e56a1ad43 gso: do not skip outer ip header in case of ipip and net_failover
    0a9bc4179c30 tipc: Fix end of loop tests for list_for_each_entry()
    8270e92a0e42 nvme: also mark passthrough-only namespaces ready in nvme_update_ns_info
    6f2e0ae12aa8 net: __pskb_pull_tail() & pskb_carve_frag_list() drop_monitor friends
    c718ea4e7382 io_uring: add a schedule point in io_add_buffers()
    8628f489b749 bpf: Add schedule points in batch ops
    976406c5cc00 bpf: Fix a bpf_timer initialization issue
    755d4b744056 selftests: bpf: Check bpf_msg_push_data return value
    5d75e374eb77 bpf: Do not try bpf_msg_push_data with len 0
    719d1c2524c8 bpf: Fix crash due to incorrect copy_map_value
    de49b0e1cf62 net/mlx5: Update the list of the PCI supported devices
    9594d817b5eb ice: initialize local variable 'tlv'
    b3615ea66b91 ice: check the return of ice_ptp_gettimex64
    7e8da9964437 net/mlx5: Fix tc max supported prio for nic mode
    7efe8499cb90 hwmon: Handle failure to register sensor with thermal zone correctly
    86da2e4a1284 bnxt_en: Fix incorrect multicast rx mask setting when not requested
    24931b4d199e bnxt_en: Fix offline ethtool selftest with RDMA enabled
    f84bbb9893bd bnxt_en: Fix active FEC reporting to ethtool
    1243861bc002 bnx2x: fix driver load from initrd
    7c844c7af784 selftests: mptcp: be more conservative with cookie MPJ limits
    f76977643339 selftests: mptcp: fix diag instability
    f25ae162f4b3 mptcp: add mibs counter for ignored incoming options
    150d1e06c4f1 mptcp: fix race in incoming ADD_ADDR option processing
    40bbab9d4ed7 perf data: Fix double free in perf_session__delete()
    05ef4f56173e perf evlist: Fix failed to use cpu list for uncore events
    0b92b5f4c50b gpu: host1x: Always return syncpoint value when waiting
    734d80b4365a Revert "i40e: Fix reset bw limit when DCB enabled with 1 TC"
    1cfb33b338fb ping: remove pr_err from ping_lookup
    2922aff43397 optee: use driver internal tee_context for some rpc
    0efdc0360395 tee: export teedev_open() and teedev_close_context()
    6c5d780469d6 netfilter: nf_tables_offload: incorrect flow offload action array size
    144f3008524c netfilter: xt_socket: missing ifdef CONFIG_IP6_NF_IPTABLES dependency
    cb2313b216be netfilter: xt_socket: fix a typo in socket_mt_destroy()
    49909c9f8458 CDC-NCM: avoid overflow in sanity checking
    4b77aab7ada7 USB: zaurus: support another broken Zaurus
    9f2d61477990 sr9700: sanity check for packet length
    0726fca0b6cc drm/i915: Fix bw atomic check when switching between SAGV vs. no SAGV
    1b4445e09df8 drm/i915: Correctly populate use_sagv_wm for all pipes
    7782e3c4e539 drm/i915: Widen the QGV point mask
    8840d963e566 drm/amdgpu: do not enable asic reset for raven2
    70b2413ac30c drm/amdgpu: disable MMHUB PG for Picasso
    ea44fcee7e3d drm/amd: Check if ASPM is enabled from PCIe subsystem
    c00e4c01f470 drm/amd/pm: fix some OEM SKU specific stability issues
    211b67fb5a49 drm/amd/display: Protect update_bw_bounding_box FPU code.
    4c3644b6c96c KVM: x86/mmu: make apf token non-zero to fix bug
    759e5dc6554d parisc/unaligned: Fix ldw() and stw() unalignment handlers
    bf0b3d61e002 parisc/unaligned: Fix fldd and fstd unaligned handlers on 32-bit kernel
    960d474e451b vhost/vsock: don't check owner in vhost_vsock_stop() while releasing
    af091cc27e37 selinux: fix misuse of mutex_is_locked()
    0d773aaf5a90 io_uring: disallow modification of rsrc_data during quiesce
    7c83437fb3ae io_uring: don't convert to jiffies for waiting on timeouts
    6d20ff677349 clk: jz4725b: fix mmc0 clock gating
    b80fbc20f334 btrfs: tree-checker: check item_size for dev_item
    7e80846a9927 btrfs: tree-checker: check item_size for inode_item
    a6d9692cadb9 x86/ptrace: Fix xfpregs_set()'s incorrect xmm clearing
    ebeb7b73571e cgroup-v1: Correct privileges check in release_agent writes
    ffed0bf6a63d cgroup/cpuset: Fix a race between cpuset_attach() and cpu hotplug
    f89903ae99bd mm/filemap: Fix handling of THPs in generic_file_buffered_read()
    1e7beca28299 Linux 5.15.25
    5dcc36569734 lockdep: Correct lock_classes index mapping
    c2df4c62a189 i2c: brcmstb: fix support for DSL and CM variants
    ec7d87b64e78 ice: enable parsing IPSEC SPI headers for RSS
    0b4ea5b72b17 scsi: qedi: Fix ABBA deadlock in qedi_process_tmf_resp() and qedi_process_cmd_cleanup_resp()
    795feafb7234 copy_process(): Move fd_install() out of sighand->siglock critical section
    3e41445287af dmaengine: ptdma: Fix the error handling path in pt_core_init()
    8641ceb41f30 i2c: qcom-cci: don't put a device tree node before i2c_add_adapter()
    7512f91bc313 i2c: qcom-cci: don't delete an unregistered adapter
    052707279e70 tests: fix idmapped mount_setattr test
    6b186a23af0d dmaengine: sh: rcar-dmac: Check for error num after dma_set_max_seg_size
    4f3a0737992c dmaengine: stm32-dmamux: Fix PM disable depth imbalance in stm32_dmamux_probe
    62e228e3e169 dmaengine: sh: rcar-dmac: Check for error num after setting mask
    f4a821b098c5 net: sched: limit TC_ACT_REPEAT loops
    2b2be95b6013 ucounts: Move RLIMIT_NPROC handling after set_user
    b5f949d9a9c3 rlimit: Fix RLIMIT_NPROC enforcement failure caused by capability calls in set_user
    114e9f141822 lib/iov_iter: initialize "flags" in new pipe_buffer
    2d2d92cfcd3b ucounts: Enforce RLIMIT_NPROC not RLIMIT_NPROC+1
    efc853d8ffd5 ucounts: Base set_cred_ucounts changes on the real user
    f418bfabea43 ucounts: In set_cred_ucounts assume new->ucounts is non-NULL
    d464492eb391 ucounts: Handle wrapping in is_ucounts_overlimit
    e1e26697d032 EDAC: Fix calculation of returned address and next offset in edac_align_ptr()
    e6da726eb67d scsi: lpfc: Fix pt2pt NVMe PRLI reject LOGO loop
    3f2bc7f028f6 kconfig: fix failing to generate auto.conf
    88289d56cb28 net: macb: Align the dma and coherent dma masks
    b501b0f4e113 net: usb: qmi_wwan: Add support for Dell DW5829e
    1ddab2ee8829 drm/amd/display: fix yellow carp wm clamping
    929b2eddebc2 drm/amd/display: Cap pflip irqs per max otg number
    3fd92f5be6c4 display/amd: decrease message verbosity about watermarks table failure
    eb61dbb192b1 tracing: Fix tp_printk option related with tp_printk_stop_on_boot
    893297940084 drm/rockchip: dw_hdmi: Do not leave clock enabled in error case
    9921c866dc36 xprtrdma: fix pointer derefs in error cases of rpcrdma_ep_create
    b5caba5efbab soc: aspeed: lpc-ctrl: Block error printing on probe defer cases
    71720cae1cad ata: libata-core: Disable TRIM on M88V29
    62542c5f18a1 kconfig: let 'shell' return enough output for deep path names
    004458327695 ACPI: PM: Revert "Only mark EC GPE for wakeup on Intel systems"
    246dfbc12539 mm: io_uring: allow oom-killer from io_uring_setup
    54d69f072d5e selftests: fixup build warnings in pidfd / clone3 tests
    fc6d187f2986 pidfd: fix test failure due to stack overflow on some arches
    9659711c3248 arm64: dts: meson-g12: drop BL32 region from SEI510/SEI610
    42b3092ccfb1 arm64: dts: meson-g12: add ATF BL32 reserved-memory region
    de3b10b7ccc6 arm64: dts: meson-gx: add ATF BL32 reserved-memory region
    5644bf688e4a ksmbd: don't align last entry offset in smb2 query directory
    03dd71e0b9d8 ksmbd: fix same UniqueId for dot and dotdot entries
    7afed8b3608e netfilter: conntrack: don't refresh sctp entries in closed state
    f7b95b396700 x86/bug: Merge annotate_reachable() into _BUG_FLAGS() asm
    c4315bffe5d0 irqchip/sifive-plic: Add missing thead,c900-plic match string
    459b97c958c1 phy: phy-mtk-tphy: Fix duplicated argument in phy-mtk-tphy
    993db6da4aec staging: vc04_services: Fix RCU dereference check
    6a469cf7f372 phy: usb: Leave some clocks running during suspend
    9492e1e53e7d ARM: OMAP2+: adjust the location of put_device() call in omapdss_init_of
    1587d6b1e0b9 ARM: OMAP2+: hwmod: Add of_node_put() before break
    5f45f96f4189 KVM: x86/pmu: Use AMD64_RAW_EVENT_MASK for PERF_TYPE_RAW
    0d3b91d4d9f5 KVM: x86/pmu: Don't truncate the PerfEvtSeln MSR when creating a perf event
    d8110cb2cf19 KVM: x86/pmu: Refactoring find_arch_event() to pmc_perf_hw_id()
    c377e2ba78d3 Drivers: hv: vmbus: Fix memory leak in vmbus_add_channel_kobj
    6936f02d14ed mtd: rawnand: ingenic: Fix missing put_device in ingenic_ecc_get
    de0d102d0c8c HID: elo: fix memory leak in elo_probe
    ffe36e3a991e mtd: rawnand: brcmnand: Fixed incorrect sub-page ECC status
    9fd00a568663 mtd: phram: Prevent divide by zero bug in phram_setup()
    3eb5185896a6 mtd: parsers: qcom: Fix missing free for pparts in cleanup
    eb03cb6e03ff mtd: parsers: qcom: Fix kernel panic on skipped partition
    502f86f5168a mtd: rawnand: qcom: Fix clock sequencing in qcom_nandc_probe()
    e65450a12cf4 block: fix surprise removal for drivers calling blk_set_queue_dying
    e1dce8e127fd tty: n_tty: do not look ahead for EOL character past the end of the buffer
    21165833efa6 NFS: Do not report writeback errors in nfs_getattr()
    f1322f10f60c NFS: LOOKUP_DIRECTORY is also ok with symlinks
    f2238b4e83b6 NFS: Remove an incorrect revalidation in nfs4_update_changeattr_locked()
    4b9c861a589e block/wbt: fix negative inflight counter when remove scsi device
    a22b213139e0 ASoC: qcom: Actually clear DMA interrupt register for HDMI
    ce3e1f82da73 ASoC: tas2770: Insert post reset delay
    493c9e850677 scsi: ufs: Fix a deadlock in the error handler
    2af0fdfbfb37 scsi: ufs: Remove dead code
    84c109620fef tipc: fix wrong notification node addresses
    727dd33561d5 smb3: fix snapshot mount option
    4a7ec50298b1 mtd: rawnand: gpmi: don't leak PM reference in error path
    45948a4b1fd0 powerpc/lib/sstep: fix 'ptesync' build error
    0e0b5705640c powerpc/603: Fix boot failure with DEBUG_PAGEALLOC and KFENCE
    68b8924f6038 cifs: fix set of group SID via NTSD xattrs
    b4b8e7ae1346 ASoC: ops: Fix stereo change notifications in snd_soc_put_xr_sx()
    312d8074bc99 ASoC: ops: Fix stereo change notifications in snd_soc_put_volsw_sx()
    ed1e33f121ea ASoC: ops: Fix stereo change notifications in snd_soc_put_volsw_range()
    edb43ae4ca8d ASoC: ops: Fix stereo change notifications in snd_soc_put_volsw()
    900d37d7d8ef ALSA: hda: Fix missing codec probe on Shenker Dock 15
    f9d9574a8ba8 ALSA: hda: Fix regression on forced probe mask option
    3b6134e35a60 ALSA: hda/realtek: Fix deadlock by COEF mutex
    a562de3b700a ALSA: hda/realtek: Add quirk for Legion Y9000X 2019
    2c9a7e11127e ALSA: usb-audio: revert to IMPLICIT_FB_FIXED_DEV for M-Audio FastTrack Ultra
    7285daaca3cd arm64: Correct wrong label in macro __init_el2_gicv3
    b04dcc00ae33 selftests/exec: Add non-regular to TEST_GEN_PROGS
    bf4161eb7e3b perf bpf: Defer freeing string after possible strlen() on it
    e8ba5b039eea net: bridge: multicast: notify switchdev driver whenever MC processing gets disabled
    6b1c9f99c2e6 dpaa2-eth: Initialize mutex used in one step timestamping path
    d3c9dd36ec24 dpaa2-switch: fix default return of dpaa2_switch_flower_parse_mirror_key
    1a16f047946b tipc: fix wrong publisher node address in link publications
    868366d627e4 atl1c: fix tx timeout after link flap on Mikrotik 10/25G NIC
    0e6727589aea net: phy: mediatek: remove PHY mode check on MT7531
    7de7ba7a8bd4 net/smc: Avoid overwriting the copies of clcsock callback functions
    f8ba235c4927 libsubcmd: Fix use-after-free for realloc(..., 0)
    4c9f207810b7 bonding: fix data-races around agg_select_timer
    9bb363ba014f net_sched: add __rcu annotation to netdev->qdisc
    3077976a752a drop_monitor: fix data-race in dropmon_net_event / trace_napi_poll_hit
    bdb6df9bedb3 bonding: force carrier update when releasing slave
    b9ff5667e116 ping: fix the dif and sdif check in ping_lookup
    392c42424ae0 net: ieee802154: ca8210: Fix lifs/sifs periods
    4b27446b538d net: dsa: lan9303: add VLAN IDs to master device
    860c5c275ed2 net: dsa: lan9303: handle hwaccel VLAN tags
    df2495f329b0 net: dsa: lantiq_gswip: fix use after free in gswip_remove()
    2566a89b9e16 net: dsa: mv88e6xxx: flush switchdev FDB workqueue before removing VLAN
    d8905a499af4 net: dsa: lan9303: fix reset on probe
    241e633cb379 cfg80211: fix race in netlink owner interface destruction
    c4caf72a42d3 brcmfmac: firmware: Fix crash in brcm_alt_fw_path
    00fb850c8a1a mac80211: mlme: check for null after calling kmemdup
    61e8fc49a9f8 Revert "net: ethernet: bgmac: Use devm_platform_ioremap_resource_byname"
    d51cd648dbca ipv6: per-netns exclusive flowlabel checks
    3e11ef1903cf ipv6: mcast: use rcu-safe version of ipv6_get_lladdr()
    9ed25183e6d4 ipv6: fix data-race in fib6_info_hw_flags_set / fib6_purge_rt
    db333693b052 ipv4: fix data races in fib_alias_hw_flags_set
    5dc653ef0785 selftests: netfilter: disable rp_filter on router
    2035d13eb12e netfilter: nft_synproxy: unregister hooks on init error path
    a1d9e1f14207 selftests: netfilter: fix exit value for nft_concat_range
    b10f4b00e10a iwlwifi: mvm: don't send SAR GEO command for 3160 devices
    c448b0541abf iwlwifi: pcie: gen2: fix locking when "HW not ready"
    78cd5c0acfed iwlwifi: pcie: fix locking when "HW not ready"
    79bdf56cc55d drm/i915/ttm: tweak priority hint selection
    e4778408c04d drm/i915/gvt: Make DRM_I915_GVT depend on X86
    02f7d38533ba drm/cma-helper: Set VM_DONTEXPAND for mmap
    787468ee7a43 vsock: remove vsock from connected table when connect is interrupted by a signal
    fe802b3fe763 drm/i915: Fix mbus join config lookup
    34f5556ddf2b drm/i915: Fix dbuf slice config lookup
    d006f2fe7d62 drm/i915/opregion: check port number bounds for SWSCI display power state
    960c8a55016b drm/amdgpu: skipping SDMA hw_init and hw_fini for S0ix.
    3851046599c1 drm/amd/pm: correct the sequence of sending gpu reset msg
    a1596e0277ed drm/atomic: Don't pollute crtc_state->mode_blob with error pointers
    68f3a4252e97 drm/radeon: Fix backlight control on iMac 12,1
    ddd46059f7d9 iwlwifi: fix use-after-free
    8209fede7d58 KVM: x86: nSVM: mark vmcb01 as dirty when restoring SMM saved state
    74b426bea4f7 KVM: x86: nSVM: fix potential NULL derefernce on nested migration
    417b87cb2311 KVM: x86: SVM: don't passthrough SMAP/SMEP/PKE bits in !NPT && !gCR0.PG case
    cd14c7342df5 KVM: x86: nSVM/nVMX: set nested_run_pending on VM entry which is a result of RSM
    b5c86e750388 KVM: x86/xen: Fix runstate updates to be atomic when preempting vCPU
    b16817a6de31 random: wake up /dev/random writers after zap
    effdcc250584 gcc-plugins/stackleak: Use noinstr in favor of notrace
    0a01326fddf6 Revert "module, async: async_synchronize_full() on module init iff async is used"
    769a6b33ec9f x86/Xen: streamline (and fix) PV CPU enumeration
    0fec53c5dca8 drm/amdgpu: fix logic inversion in check
    38108fd273ac drm/amd: Only run s3 or s0ix if system is configured properly
    72808bb42c87 drm/amd: add support to check whether the system is set to s3
    0ceba4d64fee net: sparx5: do not refer to skb after passing it on
    646952b2210f nvme-rdma: fix possible use-after-free in transport error_recovery work
    5e42fca37ccc nvme-tcp: fix possible use-after-free in transport error_recovery work
    e043fb5a0336 nvme: fix a possible use-after-free in controller reset during load
    64519c9e32ac drm/amd: Warn users about potential s0ix problems
    d9d93f32534a scsi: pm8001: Fix use-after-free for aborted SSP/STP sas_task
    3c334cdfd949 scsi: pm8001: Fix use-after-free for aborted TMF sas_task
    f2c58667ffcd scsi: core: Reallocate device's budget map on queue depth change
    46756cc81099 kselftest: Fix vdso_test_abi return status
    3801775a07b5 scsi: pm80xx: Fix double completion for SATA devices
    64d6f76958c5 quota: make dquot_quota_sync return errors from ->sync_fs
    38f22c730c38 vfs: make freeze_super abort when sync_filesystem returns error
    5d3e1af11e07 pinctrl: bcm63xx: fix unmet dependency on REGMAP for GPIO_REGMAP
    4c958f0c5714 ax25: improve the incomplete fix to avoid UAF and NPD bugs
    bced176da6e0 selftests: skip mincore.check_file_mmap when fs lacks needed support
    7d10b671a052 selftests: openat2: Skip testcases that fail with EOPNOTSUPP
    04542fd44dd7 selftests: openat2: Add missing dependency in Makefile
    a613105e07b9 selftests: openat2: Print also errno in failure messages
    16d28de2f361 selftests/zram: Adapt the situation that /dev/zram0 is being used
    9172557bdf13 selftests/zram01.sh: Fix compression ratio calculation
    586ec7c0992a selftests/zram: Skip max_comp_streams interface on newer kernel
    23b2a2538240 net: ieee802154: at86rf230: Stop leaking skb's
    c99068d6839c kselftest: signal all child processes
    eb3b35385558 selftests: rtc: Increase test timeout so that all tests run
    ec1d9bb08850 kunit: tool: Import missing importlib.abc
    fdad28ff1d1d platform/x86: ISST: Fix possible circular locking dependency detected
    54688a550924 platform/x86: touchscreen_dmi: Add info for the RWC NANOTE P8 AY07J 2-in-1
    7e234c47fd2f btrfs: send: in case of IO error log it
    94e76b372817 parisc: Add ioread64_lo_hi() and iowrite64_lo_hi()
    c7a4b1d155d3 PCI: hv: Fix NUMA node assignment when kernel boots with custom NUMA topology
    7da6ba116cdc HID: amd_sfh: Correct the structure field name
    6b75f5c18f38 HID: amd_sfh: Increase sensor command timeout
    bdbc65eb77ee HID: i2c-hid: goodix: Fix a lockdep splat
    6451058f2720 HID: amd_sfh: Add illuminance mask to limit ALS max value
    b3dc4b9d3ca6 mm: don't try to NUMA-migrate COW pages that have other uses
    f3ff5f75d8f6 mmc: block: fix read single on recovery logic
    5b6e29b9306c parisc: Fix sglist access in ccio-dma.c
    8c8e949ae81e parisc: Fix data TLB miss in sba_unmap_sg
    9413b2e2bdb7 parisc: Drop __init from map_pages declaration
    35c955b5a45e serial: parisc: GSC: fix build when IOSAPIC is not set
    7a25d8249971 parisc: Show error if wrong 32/64-bit compiler is being used
    9750d45760c8 Revert "svm: Add warning message for AVIC IPI invalid target"
    65ad2f6191a6 HID:Add support for UGTABLET WP5540
    06bd0f157e70 scsi: lpfc: Fix mailbox command failure during driver initialization
    ae6ca6343929 btrfs: zoned: cache reported zone during mount
    a8dd0cfa3779 fs/proc: task_mmu.c: don't read mapcount for migration entry
    f0a60c7c4ede drm/nouveau/pmu/gm200-: use alternate falcon reset sequence

(From OE-Core rev: 9b036a879c88dcc2f5e20a9cb8c4690f6b58d5a9)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-05 22:58:48 +00:00
Bruce Ashfield
183db6b690 linux-yocto/5.15: arm defconfig fixes
Integrating the following commit(s) to linux-yocto/5.15:

    871f23ad3627 Revert "ARM: defconfig: Enable ax88796c driver for Exynos boards"
    ffad0783dd5b ARM: config: multi v7: Regenerate defconifg
    5c1e1a1ff2d3 ARM: config: multi v7: Add renamed symbols
    badaf96564fe ARM: config: multi v7: Clean up enabled by default options
    34996040fc9b ARM: config: multi v7: Drop unavailable options

(From OE-Core rev: bb5b53ac882cd19f3fd7b14a0c466355098af040)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-05 22:58:48 +00:00
Bruce Ashfield
e7a5386da5 linux-yocto/5.10: Fix ramoops/ftrace
Integrating the following commit(s) to linux-yocto/5.10:

    253c752ed120 pstore/ftrace: Add and use ftrace_test_recursion_trylock_safe
    356e8a12bd66 pstore/ftrace: Add recursion protection to the ftrace callback
    334706a1e873 ftrace: Add ftrace_test_recursion_trylock() helper function
    78c260d7f60b ftrace: Move the recursion testing into global headers

(From OE-Core rev: b848a47033f492eaa0d5a02e42374b493734473e)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-05 22:58:48 +00:00
Bruce Ashfield
c327b9af67 linux-yocto/5.10: update to v5.10.101
Updating linux-yocto/5.10 to the latest korg -stable release that comprises
the following commits:

    3969aba589d6 Linux 5.10.101
    cb86e511e78e iommu: Fix potential use-after-free during probe
    f6b5d51976fc perf: Fix list corruption in perf_cgroup_switch()
    ce3ca12c632a arm64: dts: imx8mq: fix lcdif port node
    759aeacdfe70 scsi: lpfc: Reduce log messages seen after firmware download
    57c5d7d42076 scsi: lpfc: Remove NVMe support if kernel has NVME_FC disabled
    199dab00f043 can: isotp: fix error path in isotp_sendmsg() to unlock wait queue
    3b10ebeb95d7 Makefile.extrawarn: Move -Wunaligned-access to W=1
    ad53060bdfc3 hwmon: (dell-smm) Speed up setting of fan speed
    3c75d1017cb3 phy: ti: Fix missing sentinel for clk_div_table
    6eabe53492c2 speakup-dectlk: Restore pitch setting
    3836a5ff4bb7 USB: serial: cp210x: add CPI Bulk Coin Recycler id
    51b03a9bcd99 USB: serial: cp210x: add NCR Retail IO box id
    a21e6b2e0864 USB: serial: ch341: add support for GW Instek USB2.0-Serial devices
    7113440a36c7 USB: serial: option: add ZTE MF286D modem
    b7ed2f9619cc USB: serial: ftdi_sio: add support for Brainboxes US-159/235/320
    e07dde31acc9 usb: raw-gadget: fix handling of dual-direction-capable endpoints
    e9f9b877eb0e usb: gadget: f_uac2: Define specific wTerminalType
    fb4ff0f96de3 usb: gadget: rndis: check size of RNDIS_MSG_SET command
    22ec10047285 USB: gadget: validate interface OS descriptor requests
    351159167cd8 usb: gadget: udc: renesas_usb3: Fix host to USB_ROLE_NONE transition
    3bfca3891480 usb: dwc3: gadget: Prevent core from processing stale TRBs
    2a17bd9f5210 usb: ulpi: Call of_node_put correctly
    8b89a6916681 usb: ulpi: Move of_node_put to ulpi_dev_release
    758290defe93 net: usb: ax88179_178a: Fix out-of-bounds accesses in RX fixup
    a66a2b17b8c8 Revert "usb: dwc2: drd: fix soft connect when gadget is unconfigured"
    73961057e9dc usb: dwc2: drd: fix soft connect when gadget is unconfigured
    a37960df7eac eeprom: ee1004: limit i2c reads to I2C_SMBUS_BLOCK_MAX
    1b99fe34e26d n_tty: wake up poll(POLLRDNORM) on receiving data
    f1b25737156c vt_ioctl: add array_index_nospec to VT_ACTIVATE
    778302ca0949 vt_ioctl: fix array_index_nospec in vt_setactivate
    22249886dc5b net: dsa: mv88e6xxx: fix use-after-free in mv88e6xxx_mdios_unregister
    3a3c65c487a4 net: mscc: ocelot: fix mutex lock error during ethtool stats read
    809f030745b2 ice: fix IPIP and SIT TSO offload
    cf11949b9163 ice: fix an error code in ice_cfg_phy_fec()
    f8edc6feab4d dpaa2-eth: unregister the netdev before disconnecting from the PHY
    ff6c9e0fcee5 net: amd-xgbe: disable interrupts during pci removal
    657aea782887 tipc: rate limit warning for received illegal binding update
    ef5cdae8bc00 net: mdio: aspeed: Add missing MODULE_DEVICE_TABLE
    bf99c144360d veth: fix races around rq->rx_notify_masked
    00e6d6c3bc14 net: fix a memleak when uncloning an skb dst and its metadata
    2e9fd2d0f69e net: do not keep the dst cache when uncloning an skb dst and its metadata
    0bae953d7ab5 nfp: flower: fix ida_idx not being released
    09ac0fcb0a82 ipmr,ip6mr: acquire RTNL before calling ip[6]mr_free_table() on failure path
    e177d2e85ebc net: dsa: lantiq_gswip: don't use devres for mdiobus
    95e5402f9430 net: dsa: felix: don't use devres for mdiobus
    2770b795294e net: dsa: bcm_sf2: don't use devres for mdiobus
    475ce5dcf2d8 net: dsa: ar9331: register the mdiobus under devres
    8ccebe77df6e net: dsa: mv88e6xxx: don't use devres for mdiobus
    4a384c1e4058 bonding: pair enable_port with slave_arr_updates
    1ba45dd32667 gpio: sifive: use the correct register to read output values
    48e413087de1 ACPI: PM: s2idle: Cancel wakeup before dispatching EC GPE
    3b72d3f0205e drm/panel: simple: Assign data from panel_dpi_probe() correctly
    bf35639192ed ixgbevf: Require large buffers for build_skb on 82599VF
    e5a64f548a45 arm64: dts: meson-g12b-odroid-n2: fix typo 'dio2133'
    04fe6569a7cf netfilter: ctnetlink: disable helper autoassign
    a5ce7ee5fcc0 misc: fastrpc: avoid double fput() on failed usercopy
    21c890ca8eae drm/vc4: hdmi: Allow DBLCLK modes even if horz timing is odd.
    70ea005626a9 gpio: aggregator: Fix calling into sleeping GPIO controllers
    0042178a69eb usb: f_fs: Fix use-after-free for epfile
    5a37fd9fdcce ARM: dts: imx7ulp: Fix 'assigned-clocks-parents' typo
    39bf132a6ed5 phy: xilinx: zynqmp: Fix bus width setting for SGMII
    108868dae2ee ARM: dts: imx6qdl-udoo: Properly describe the SD card detect
    0a7b5e8d8c1e staging: fbtft: Fix error path in fbtft_driver_module_init()
    74cd5cb2190f ARM: dts: meson8b: Fix the UART device-tree schema validation
    566b558e9429 ARM: dts: meson8: Fix the UART device-tree schema validation
    210d70f08100 ARM: dts: meson: Fix the UART compatible strings
    88f0e61354f4 ARM: dts: Fix timer regression for beagleboard revision c
    c943a297ec3c drm/rockchip: vop: Correct RK3399 VOP register fields
    a941384fba3f PM: s2idle: ACPI: Fix wakeup interrupts handling
    fcbac51a64d3 ACPI/IORT: Check node revision for PMCG resources
    57ede0ce6500 nvme-tcp: fix bogus request completion when failing to send AER
    3a669d77e5b3 ARM: socfpga: fix missing RESET_CONTROLLER
    435e62d5666a ARM: dts: Fix boot regression on Skomer
    b217b89e607c ARM: dts: imx23-evk: Remove MX23_PAD_SSP1_DETECT from hog group
    3f9843f2f65e riscv: fix build with binutils 2.38
    3aa5c8657292 KVM: VMX: Set vmcs.PENDING_DBG.BS on #DB in STI/MOVSS blocking shadow
    bd39fe29bbbb KVM: SVM: Don't kill SEV guest if SMAP erratum triggers in usermode
    9efad4cb0365 KVM: nVMX: Also filter MSR_IA32_VMX_TRUE_PINBASED_CTLS when eVMCS
    db58a3d978b4 KVM: nVMX: eVMCS: Filter out VM_EXIT_SAVE_VMX_PREEMPTION_TIMER
    dc129275a7f7 KVM: eventfd: Fix false positive RCU usage warning
    87bbd78a2cd1 net: stmmac: dwmac-sun8i: use return val of readl_poll_timeout()
    c9b8cc1046f0 nvme-pci: add the IGNORE_DEV_SUBNQN quirk for Intel P4500/P4600 SSDs
    d0774cf73056 perf: Always wake the parent event
    a117e986e9cc usb: dwc2: gadget: don't try to disable ep0 in dwc2_hsotg_suspend
    4607218fde84 PM: hibernate: Remove register_nosave_region_late()
    0e42c4a3d732 scsi: myrs: Fix crash in error case
    3bc5b128b9a2 scsi: ufs: Treat link loss as fatal error
    12cf1208035d scsi: pm8001: Fix bogus FW crash for maxcpus=1
    87f187e5265b scsi: qedf: Fix refcount issue when LOGO is received during TMF
    aa7352aa155e scsi: qedf: Add stag_work to all the vports
    150d448c663d scsi: ufs: ufshcd-pltfrm: Check the return value of devm_kstrdup()
    7dbda616fc64 scsi: target: iscsi: Make sure the np under each tpg is unique
    67baac10dd5a powerpc/fixmap: Fix VM debug warning on unmap
    3d0eafd459b2 net: sched: Clarify error message when qdisc kind is unknown
    9b569faabd22 drm: panel-orientation-quirks: Add quirk for the 1Netbook OneXPlayer
    0d6b9d15ecb4 x86/perf: Avoid warning for Arch LBR without XSAVE
    b37dd03f2fc6 NFSv4 handle port presence in fs_location server string
    6f2974b52b15 NFSv4 expose nfs_parse_server_name function
    5a9c613a29e7 NFSv4 remove zero number of fs_locations entries error check
    1c79aad1186b NFSv4.1: Fix uninitialised variable in devicenotify
    c5619c510f04 nfs: nfs4clinet: check the return value of kstrdup()
    db053bdece3a NFSv4 only print the label when its queried
    e2b4435fd340 NFS: change nfs_access_get_cached to only report the mask
    b4e0c9bcf142 tracing: Propagate is_signed to expression
    5234de6c7975 drm/amdgpu: Set a suitable dev_info.gart_page_size
    6215fb455893 NFSD: Fix offset type in I/O trace points
    3a6a2d43e32a NFSD: Clamp WRITE offsets
    c72f7c2ec3d4 NFS: Fix initialisation of nfs_client cl_flags field
    f47ee3a35ffb net: phy: marvell: Fix MDI-x polarity setting in 88e1118-compatible PHYs
    6a33aa711327 net: phy: marvell: Fix RGMII Tx/Rx delays setting in 88e1121-compatible PHYs
    7b53d2204ce7 can: isotp: fix potential CAN frame reception race in isotp_rcv()
    c9cc027c55bb mmc: sdhci-of-esdhc: Check for error num after setting mask
    8027ba480c00 ima: Do not print policy rule with inactive LSM labels
    8171c8a99fea ima: Allow template selection with ima_template[_fmt]= after ima_hash=
    0795b7100d25 ima: Remove ima_policy file before directory
    7fea2e520003 integrity: check the return value of audit_log_start()
    d4f7d322a4ad Linux 5.10.100
    3c7e59435535 tipc: improve size validations for received domain records
    2951d2168976 crypto: api - Move cryptomgr soft dependency into algapi
    b62267b8b06e KVM: s390: Return error on SIDA memop on normal guest
    be93028d306d moxart: fix potential use-after-free on remove path

(From OE-Core rev: d67621e8f8b4f37e1357f19fc7da2de12de4bee5)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-05 22:58:48 +00:00
Bruce Ashfield
0f5b73cf70 linux-yocto/5.15: update to v5.15.24
Updating linux-yocto/5.15 to the latest korg -stable release that comprises
the following commits:

    a0ebea480bb3 Linux 5.15.24
    65ab30f6a695 iommu: Fix potential use-after-free during probe
    7969fe91c983 perf: Fix list corruption in perf_cgroup_switch()
    8ebcd2c680e1 arm64: dts: imx8mq: fix lcdif port node
    48f54966f7f7 MIPS: octeon: Fix missed PTR->PTR_WD conversion
    cd4494f8685c scsi: lpfc: Reduce log messages seen after firmware download
    6737f9a95a42 scsi: lpfc: Remove NVMe support if kernel has NVME_FC disabled
    c8e9c2b52c4c Makefile.extrawarn: Move -Wunaligned-access to W=1
    24645c47880b x86/sgx: Silence softlockup detection when releasing large enclaves
    30de73bebf2b hwmon: (dell-smm) Speed up setting of fan speed
    16cde074b00c bus: mhi: pci_generic: Add mru_default for Cinterion MV31-W
    2c1d20e34669 bus: mhi: pci_generic: Add mru_default for Foxconn SDX55
    fe990b7bf6ac s390/cio: verify the driver availability for path_event call
    56ca18dd5483 signal: HANDLER_EXIT should clear SIGNAL_UNKILLABLE
    f7a56fcca2e4 seccomp: Invalidate seccomp mode to catch death failures
    956cf21cd1ae mm: memcg: synchronize objcg lists with a dedicated spinlock
    b7f54894aa75 iio: buffer: Fix file related error handling in IIO_BUFFER_GET_FD_IOCTL
    7a360e546ad9 phy: ti: Fix missing sentinel for clk_div_table
    12431425c466 speakup-dectlk: Restore pitch setting
    9ae3dad535a9 USB: serial: cp210x: add CPI Bulk Coin Recycler id
    7e5108a22f19 USB: serial: cp210x: add NCR Retail IO box id
    8d226d39d052 USB: serial: ch341: add support for GW Instek USB2.0-Serial devices
    2ea4f4612cb9 USB: serial: option: add ZTE MF286D modem
    24311a9fc426 USB: serial: ftdi_sio: add support for Brainboxes US-159/235/320
    2330b2ba6465 usb: raw-gadget: fix handling of dual-direction-capable endpoints
    33d2a0c1ec20 usb: gadget: f_uac2: Define specific wTerminalType
    2da3b0ab54fb usb: gadget: rndis: check size of RNDIS_MSG_SET command
    3e33e5c67cb9 USB: gadget: validate interface OS descriptor requests
    d3d5bfb3a279 usb: gadget: udc: renesas_usb3: Fix host to USB_ROLE_NONE transition
    8d2b04dad380 usb: dwc3: gadget: Prevent core from processing stale TRBs
    93feb2bdf6d4 usb: ulpi: Call of_node_put correctly
    fc50f42e4616 usb: ulpi: Move of_node_put to ulpi_dev_release
    ffd0393adcdc net: usb: ax88179_178a: Fix out-of-bounds accesses in RX fixup
    f4e72ad027b0 Revert "usb: dwc2: drd: fix soft connect when gadget is unconfigured"
    a6ef1bda0efd usb: dwc2: drd: fix soft connect when gadget is unconfigured
    9a5f471ae380 eeprom: ee1004: limit i2c reads to I2C_SMBUS_BLOCK_MAX
    decb36e9a9f0 n_tty: wake up poll(POLLRDNORM) on receiving data
    573321db328b vt_ioctl: add array_index_nospec to VT_ACTIVATE
    ffe54289b02e vt_ioctl: fix array_index_nospec in vt_setactivate
    f916181692cb net: dsa: mv88e6xxx: fix use-after-free in mv88e6xxx_mdios_unregister
    d98ba26a4ba9 net: mscc: ocelot: fix mutex lock error during ethtool stats read
    41a8c548d47b ice: Avoid RTNL lock when re-creating auxiliary device
    f9daedc3ab8f ice: Fix KASAN error in LAG NETDEV_UNREGISTER handler
    52eb5c86ede4 ice: fix IPIP and SIT TSO offload
    efd399e12c1b ice: fix an error code in ice_cfg_phy_fec()
    12e067a4d98f dpaa2-eth: unregister the netdev before disconnecting from the PHY
    29b25d5f8f30 mptcp: netlink: process IPv6 addrs in creating listening sockets
    dcd1c4663469 drm/amd/pm: fix hwmon node of power1_label create issue
    4b24ef1d03cf net: amd-xgbe: disable interrupts during pci removal
    489d9fa78e59 tipc: rate limit warning for received illegal binding update
    bb04b5527aff net: mdio: aspeed: Add missing MODULE_DEVICE_TABLE
    b8ac37e57044 veth: fix races around rq->rx_notify_masked
    fdcb263fa5cd net: fix a memleak when uncloning an skb dst and its metadata
    f1ab1ba32d36 net: do not keep the dst cache when uncloning an skb dst and its metadata
    6cbe14cc0eb6 nfp: flower: fix ida_idx not being released
    3cab045c99db ipmr,ip6mr: acquire RTNL before calling ip[6]mr_free_table() on failure path
    b5652bc50dde net: dsa: lantiq_gswip: don't use devres for mdiobus
    46b747232329 net: dsa: mt7530: fix kernel bug in mdiobus_free() when unbinding
    8cda7577a0b4 net: dsa: felix: don't use devres for mdiobus
    caabb5f64f5c net: dsa: bcm_sf2: don't use devres for mdiobus
    aae1c6a1d3d6 net: dsa: ar9331: register the mdiobus under devres
    8b626d45127d net: dsa: mv88e6xxx: don't use devres for mdiobus
    147540cae264 bonding: pair enable_port with slave_arr_updates
    3523167d6658 fbcon: Avoid 'cap' set but not used warning
    ef2cb1fc0365 gpio: sifive: use the correct register to read output values
    d9daa2b76dde gpiolib: Never return internal error codes to user space
    e799974e7cbb ACPI: PM: s2idle: Cancel wakeup before dispatching EC GPE
    ab142ea5d502 drm/panel: simple: Assign data from panel_dpi_probe() correctly
    9e3dd49145f3 ixgbevf: Require large buffers for build_skb on 82599VF
    51eece9f8a1d arm64: dts: meson-sm1-odroid: fix boot loop after reboot
    57154c07ed62 arm64: dts: meson-sm1-bananapi-m5: fix wrong GPIO domain for GPIOE_2
    162f8057192c arm64: dts: meson-sm1-odroid: use correct enable-gpio pin for tf-io regulator
    006dc5815bb3 arm64: dts: meson-g12b-odroid-n2: fix typo 'dio2133'
    c5ee4cbd0f1b netfilter: ctnetlink: disable helper autoassign
    7f486bed5ec0 net: sparx5: Fix get_stat64 crash in tcpdump
    e4382d0a39f9 misc: fastrpc: avoid double fput() on failed usercopy
    f5e8733d93cf drm/vc4: hdmi: Allow DBLCLK modes even if horz timing is odd.
    3d2bc21a6768 NFS: Don't skip directory entries when doing uncached readdir
    557302faea9c NFS: Don't overfill uncached readdir pages
    00181d6c9665 gpio: aggregator: Fix calling into sleeping GPIO controllers
    ddcb149ce10a phy: dphy: Correct clk_pre parameter
    72a8aee863af usb: f_fs: Fix use-after-free for epfile
    0ed2f9a97a92 arm64: dts: imx8mq: fix mipi_csi bidirectional port numbers
    af6a1d60a13c ARM: dts: imx7ulp: Fix 'assigned-clocks-parents' typo
    94b16ca86ab6 phy: stm32: fix a refcount leak in stm32_usbphyc_pll_enable()
    541ec7bfeed3 phy: xilinx: zynqmp: Fix bus width setting for SGMII
    58c42f415b81 ARM: dts: imx6qdl-udoo: Properly describe the SD card detect
    025c6eef1490 staging: fbtft: Fix error path in fbtft_driver_module_init()
    c0ad2c2cac1b phy: broadcom: Kconfig: Fix PHY_BRCM_USB config option
    86cdc3060d41 ARM: dts: meson8b: Fix the UART device-tree schema validation
    5253b083f0a8 ARM: dts: meson8: Fix the UART device-tree schema validation
    00d135070efa ARM: dts: meson: Fix the UART compatible strings
    c22bddf61db0 ARM: dts: Fix timer regression for beagleboard revision c
    ac14a51c3169 drm/i915: Populate pipe dbuf slices more accurately during readout
    8d6a31b83cdd drm/i915: Allow !join_mbus cases for adlp+ dbuf configuration
    05ffa30c99f7 drm/rockchip: vop: Correct RK3399 VOP register fields
    c1af59449d80 drm/amdgpu/display: change pipe policy for DCN 2.0
    0e546bb1324e PM: s2idle: ACPI: Fix wakeup interrupts handling
    65aabd296665 ACPI/IORT: Check node revision for PMCG resources
    64c37c05f7ad nvme-tcp: fix bogus request completion when failing to send AER
    7740eb27c38e ARM: socfpga: fix missing RESET_CONTROLLER
    ccdd7956cd28 ARM: dts: Fix boot regression on Skomer
    14917a884f70 ARM: dts: imx23-evk: Remove MX23_PAD_SSP1_DETECT from hog group
    4134396f99d2 gfs2: Fix gfs2_release for non-writers regression
    71f46f3d1bf2 riscv: eliminate unreliable __builtin_frame_address(1)
    efe220337181 riscv: cpu-hotplug: clear cpu from numa map when teardown
    7486227fa47a riscv: fix build with binutils 2.38
    67398d2c7b8c KVM: x86: Report deprecated x87 features in supported CPUID
    c09a83ae3b2e KVM: VMX: Set vmcs.PENDING_DBG.BS on #DB in STI/MOVSS blocking shadow
    f7da3276e087 KVM: SVM: Don't kill SEV guest if SMAP erratum triggers in usermode
    11f9427d01a3 KVM: nVMX: Also filter MSR_IA32_VMX_TRUE_PINBASED_CTLS when eVMCS
    a3c43649600b KVM: nVMX: eVMCS: Filter out VM_EXIT_SAVE_VMX_PREEMPTION_TIMER
    d44af3ad2a21 KVM: eventfd: Fix false positive RCU usage warning
    a85f3ea1407f net: stmmac: dwmac-sun8i: use return val of readl_poll_timeout()
    a3ba49c129ed MIPS: Fix build error due to PTR used in more places
    96f91a877a5c nvme-pci: add the IGNORE_DEV_SUBNQN quirk for Intel P4500/P4600 SSDs
    a3486ef99a3b perf: Always wake the parent event
    8981a8fd900e usb: dwc2: gadget: don't try to disable ep0 in dwc2_hsotg_suspend
    a277422a8d97 drm/amd/display: Correct MPC split policy for DCN301
    dc5769c7b063 PM: hibernate: Remove register_nosave_region_late()
    50fe79589c14 net: stmmac: reduce unnecessary wakeups from eee sw timer
    6207f35c213f scsi: myrs: Fix crash in error case
    0c8d27c2aae5 scsi: ufs: Treat link loss as fatal error
    f0a91d892310 scsi: ufs: Use generic error code in ufshcd_set_dev_pwr_mode()
    cb26e94204d7 scsi: pm8001: Fix bogus FW crash for maxcpus=1
    1c22df15cf40 scsi: qedf: Change context reset messages to ratelimited
    6be8eaad75ca scsi: qedf: Fix refcount issue when LOGO is received during TMF
    1f53bbf27a87 scsi: qedf: Add stag_work to all the vports
    83f31dab46b2 scsi: ufs: ufshcd-pltfrm: Check the return value of devm_kstrdup()
    4f786e8f18c3 scsi: target: iscsi: Make sure the np under each tpg is unique
    43ae0ccc4d27 powerpc/fixmap: Fix VM debug warning on unmap
    fa693cfd8fe4 net: sched: Clarify error message when qdisc kind is unknown
    9696125fb3ca drm: panel-orientation-quirks: Add quirk for the 1Netbook OneXPlayer
    770d1ba9a820 drm/vc4: Fix deadlock on DSI device attach error
    85008bde411d sched: Avoid double preemption in __cond_resched_*lock*()
    ec903b6daa58 x86/perf: Avoid warning for Arch LBR without XSAVE
    ef5685971abd perf/x86/rapl: fix AMD event handling
    3f4e05eb46ae irqchip/realtek-rtl: Service all pending interrupts
    4403233b8775 sunrpc: Fix potential race conditions in rpc_sysfs_xprt_state_change()
    4b22aa42bd4d net/sunrpc: fix reference count leaks in rpc_sysfs_xprt_state_change
    5ca123c91a64 SUNRPC allow for unspecified transport time in rpc_clnt_add_xprt
    c5ae18fa8d71 NFSv4 handle port presence in fs_location server string
    be67be6a1a8f NFSv4 expose nfs_parse_server_name function
    6f2836341d8a NFSv4.1 query for fs_location attr on a new file system
    2df6a47a131a NFSv4 store server support for fs_location attribute
    0c5d3bfb2967 NFSv4 remove zero number of fs_locations entries error check
    3cb5b317901e NFSv4.1: Fix uninitialised variable in devicenotify
    58967a232ab3 nfs: nfs4clinet: check the return value of kstrdup()
    bbf647ecebc0 NFSv4 only print the label when its queried
    38ae938701e7 NFS: change nfs_access_get_cached to only report the mask
    78c28fdf1685 tracing: Propagate is_signed to expression
    8fdaa9a6ace2 thermal/drivers/int340x: Fix RFIM mailbox write commands
    5abd95ff5d6a thermal: int340x: Limit Kconfig to 64-bit
    786293f61b4b thermal/drivers/int340x: processor_thermal: Suppot 64 bit RFIM responses
    e9b0301939d1 thermal/drivers/int340x: Improve the tcc offset saving for suspend/resume
    c6eff5c42771 NFSD: Fix the behavior of READ near OFFSET_MAX
    c9a8571dd893 NFSD: Fix offset type in I/O trace points
    01c3ae81eef4 NFSD: Clamp WRITE offsets
    8e0ecaf7a7e5 NFSD: Fix ia_size underflow
    37f2d2cd8ead NFSD: Fix NFSv3 SETATTR/CREATE's handling of large file sizes
    535e301ea677 NFS: Fix initialisation of nfs_client cl_flags field
    6b42352bea56 net: phy: marvell: Fix MDI-x polarity setting in 88e1118-compatible PHYs
    9338c17e2c63 net: phy: marvell: Fix RGMII Tx/Rx delays setting in 88e1121-compatible PHYs
    540dff311c9a can: isotp: fix error path in isotp_sendmsg() to unlock wait queue
    f90cc68f9f4b can: isotp: fix potential CAN frame reception race in isotp_rcv()
    dbe7bf9b6fc8 mmc: core: Wait for command setting 'Power Off Notification' bit to complete
    222c071fadd6 mmc: sdhci-of-esdhc: Check for error num after setting mask
    cf4570ca8ed6 ima: Do not print policy rule with inactive LSM labels
    5389ea64af1e ima: Allow template selection with ima_template[_fmt]= after ima_hash=
    20805cdf95af ima: Remove ima_policy file before directory
    0838d6d68182 ima: fix reference leak in asymmetric_verify()
    739b7bb886b5 integrity: check the return value of audit_log_start()
    c1d3ac0c115f Linux 5.15.23
    1f1788616157 tipc: improve size validations for received domain records
    40eb05e5e72b crypto: api - Move cryptomgr soft dependency into algapi
    ab32ea3ad0d5 ksmbd: fix SMB 3.11 posix extension mount failure
    14f880ea779e KVM: s390: Return error on SIDA memop on normal guest
    c28ee73fea29 arm64: Add Cortex-A510 CPU part definition
    af0e6c49438b moxart: fix potential use-after-free on remove path

(From OE-Core rev: e0993e9fc1ff93835aa4bf1026db567cbcc854d0)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-05 22:58:48 +00:00
Bruce Ashfield
2abfa7f808 linux-yocto/5.10: features/zram: remove CONFIG_ZRAM_DEF_COMP
Integrating the following commit(s) to linux-yocto/.:

    7a012dfacdc features/zram: remove CONFIG_ZRAM_DEF_COMP

(From OE-Core rev: a8fcece853475bede5d442120bc38f17751ed9a1)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-05 22:58:48 +00:00
Bruce Ashfield
42c37a2228 linux-yocto/5.15: riscv64: drop MAXPHYSMEM_128GB
Integrating the following commit(s) to linux-yocto:

    commit e1b976ee4fb5af517cf01a9f2dd4a32f560ca894
    Author: Bruce Ashfield <bruce.ashfield@gmail.com>
    Date:   Tue Feb 15 23:27:31 2022 -0500

        riscv64: drop MAXPHYSMEM_128GB

        The MAXPHYSMEM config options have been removed upstream via the
        following commit, so we drop our setting.

           commit 6250ecf5ba42292b652cd01c9fcb2239010c5c44
           Author: Alexandre Ghiti <alexandre.ghiti@canonical.com>
           Date:   Mon Jan 17 10:57:16 2022 +0100

               riscv: Get rid of MAXPHYSMEM configs

               commit db1503d355a79d1d4255a9996f20e72848b74a56 upstream.

               CONFIG_MAXPHYSMEM_* are actually never used, even the nommu defconfigs
               selecting the MAXPHYSMEM_2GB had no effects on PAGE_OFFSET since it was
               preempted by !MMU case right before.

               In addition, the move of the kernel mapping at the end of the address
               space broke the use of MAXPHYSMEM_2G with MMU since it defines PAGE_OFFSET
               at the same address as the kernel mapping.

               Reported-by: Geert Uytterhoeven <geert@linux-m68k.org>
               Fixes: 2bfc6cd81bd1 ("riscv: Move kernel mapping outside of linear mapping")
               Signed-off-by: Alexandre Ghiti <alexandre.ghiti@canonical.com>
               Tested-by: Geert Uytterhoeven <geert@linux-m68k.org>
               Tested-by: Conor Dooley <Conor.Dooley@microchip.com>
               Cc: stable@vger.kernel.org
               Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
               Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

(From OE-Core rev: da19366b44af8521b0f311581793fc89d554cd40)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-05 22:58:48 +00:00
Tim Orling
0c6d55e4eb python3-importlib-metadata: upgrade 4.10.1 -> 4.11.2
inherit setuptools_build_meta

v4.11.2
369: Fixed bug where EntryPoint.extras was returning match objects and not the extras strings.

v4.11.1
367: In Distribution.requires for egg-info, if requires.txt is empty, return an empty list.

v4.11.0
bpo-46246: Added __slots__ to EntryPoints.

v4.10.2
365 and bpo-46546: Avoid leaking method_name in DeprecatedList.

(From OE-Core rev: 16873202f4fc9409b3b853ad2275c1068eb16ecd)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-05 22:58:47 +00:00
Ross Burton
a3085c4722 bmap-tools: remove redundant python3native inherit
setuptools3 pulls this in, so there's no need to explicitly inherit it.

(From OE-Core rev: 24446a8a7b1b16c5afe3a9878a99cce04dfba2f4)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-05 22:58:47 +00:00
Richard Purdie
76db6a9f79 layer.conf: Allow sysroot dependencies on perlcross-native to be skipped
The only thing which needs perlcross-native will depend upon it directly
so we can optimise this out everywhere else for small space/speed gains.

(From OE-Core rev: 3b86109a2571be39f9cfa85bd4db22f4df025ab2)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-05 10:45:13 +00:00
Ross Burton
3eed2f2900 asciidoc: update git repository
The asciidoc-py3 repository has been renamed to asciidoc-py.

(From OE-Core rev: f78dd3f4c5f0cd738783e75f3796e1da2a2a2ba1)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-05 10:45:13 +00:00
Richard Purdie
2954022bbe python3: Reduce util-linux dependency to util-linux-libuuid
Only libuuid is needed by python so reduce the dependency and hence
reduce the amount pulled into the syroot for the native case in particular.

(From OE-Core rev: 35246dec1c9690371ef0656b21f18567772dab2e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-05 10:45:13 +00:00
Richard Purdie
dc4db0af9a layer.conf: Add libarchive-native e2fsprogs-native exclusion from sysroot
Currently, libarchive-native pulls e2fsprogs and all it's dependencies into
the sysroot. Since only headers are needed at buildtime and there is no
runtime dependency, we can avoid this and shrink the native sysroots.

(From OE-Core rev: 66a6b2080e4a65632c5dc02c8ef0cbe01d5b5082)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-05 10:45:13 +00:00
Richard Purdie
b7307ce4d7 layer.conf: Filter docs dependencies for efficiency
Where a recipe has depends on native docs tools, in most cases
we don't need recipes that depend on that recipe to also install
these things into the sysroot. We can rely on recipes wanting these
tools to have direct dependencies instead.

This massively reduced dependency creep in simple recipes (e.g. an
allarch one) and reduced the size of builds with the api-documentation
feature substancially.

gperf-native is also included since that would normally have a direct
dependency in a recipe which needs it too.

(From OE-Core rev: 9bbb5334e1d1884e042dc3b3ec0eb274664f2c25)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-05 10:45:13 +00:00
Richard Purdie
c2938cc543 Revert "libical: Pass TOOLCHAIN_OPTIONS via CFLAGS"
This reverts commit feb8893e0f52c7ab2d5efd456901a2bb91839d44.

This is no longer needed after the compiler fix for libical.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-05 10:45:13 +00:00
Ross Burton
4790588211 classes: add setuptools3_legacy
Following a good discussion with PyPA upstream[1] the migration of the
setuptools3.bbclass to use bdist_wheel+pip turns out to be more complex
than thought.

Essentially, we're midway through a lot of changes: the future of Python
packaging is wheels and pip, but those by design are not as flexible as
traditional distutils and setup.py.

Specifically, with traditional distutils the package can implement its
own install task and write arbitrary files (such as init scripts).  With
wheels this is explicity impossible, so packages that do this cannot use
the new setuptools class and must continue to use the build/install tasks
as before.

This class is the old setuptools behaviour, bought back. However, as
distutils and the setuptools install task are both deprecated and will
soon be removed entirely, any users of this class should be moving to an
alternative build tool, be it a modern Python tool which works with
wheels, or a non-Pythonic tool such as Meson.

[1] https://github.com/pypa/packaging-problems/issues/576

(From OE-Core rev: 341d2b35986e48e4954c591be8bc037a5557452a)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-05 10:45:13 +00:00
Richard Purdie
a25c076225 Revert "libsdl2: Add libunwind-native to the libsdl2-native DEPENDS"
This reverts commit 1b114fa2d221c9810852526f8b45a3d2c856a502.

Unfortunately this breaks on cento7 as libunwind-native doesn't appear to build there.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-05 00:08:33 +00:00
Daniel Wagenknecht
fe0d6dbef5 bitbake: fetch2: ssh: support checkstatus
This implements support for sstate mirrors using ssh as transport
protocol.

(Bitbake rev: 0a3b5b3de7bcb1c5c3748cba42d394cc484e966b)

Signed-off-by: Daniel Wagenknecht <dwagenknecht@emlix.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-04 17:24:53 +00:00
Daniel Wagenknecht
5937b2e073 bitbake: fetch2: ssh: fix path handling
Fix absolute paths and paths containing the ":" character. Both is
necessary for supporting sstate mirrors via ssh (not implemented yet).

(Bitbake rev: df5505a1ba15524c3a185360d687854300aef342)

Signed-off-by: Daniel Wagenknecht <dwagenknecht@emlix.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-04 17:24:53 +00:00
Daniel Wagenknecht
30c21aaf3e bitbake: fetch2: ssh: username and password are optional
Support URLs like ssh://HOST/PATH. They were previously not recognized
due to a missing @ sign.

(Bitbake rev: a2aa18bd27dac8902e52b466cb7118f71367d3dc)

Signed-off-by: Daniel Wagenknecht <dwagenknecht@emlix.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-04 17:24:53 +00:00
Carlos Rafael Giani
0d6b4a93e5 libsdl2: Add libunwind-native to the libsdl2-native DEPENDS
This fixes this CMake configuration error:

| -- Checking for one of the modules 'libunwind'
| CMake Error at [...]/build/tmp/work/x86_64-linux/libsdl2-native/2.0.20-r0/recipe-sysroot-native/usr/share/cmake-3.22/Modules/FindPkgConfig.cmake:890 (message):
|   None of the required 'libunwind' found
| Call Stack (most recent call first):
|   CMakeLists.txt:1367 (pkg_search_module)

This error happens even if libunwind is installed complete with its C
headers and development .so files (in Ubuntu, this means libunwind-dev
is installed).

(From OE-Core rev: 1b114fa2d221c9810852526f8b45a3d2c856a502)

Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-04 17:14:15 +00:00
wangmy
73f25a3ede btrfs-tools: upgrade 5.16 -> 5.16.2
0001-btrfs-progs-kerncompat-add-local-definition-for-alig.patch
removed since it's included in 5.16.2

Changelog:
=========
mkfs: fix detection of profile type for zoned mode when creating DUP
build:
 - add missing stub for zoned mode helper when zoned mode not enabled
 - fix 64bit types on MIPS and PowerPC
 - improved zoned mode support autodetection, for systems with existing blkzone.h
   header but missing support for zone capacity
other: doc updates, test updates

(From OE-Core rev: ec04580374ed6cc26471a338f84794f41931eca1)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-04 17:14:15 +00:00
Khem Raj
bf6ce6ecc8 insane: Accomodate llvm-objdump
llvm-objdump emite MIPS_XHASH where as GNU objdump emits DT_MIPS_XHASH,
checking for shorted sequence makes this check work in both cases

mips-yoe-linux-objdump -p libx264.so.163 | grep XHASH
  DT_MIPS_XHASH        0x00000168

mips-yoe-linux-llvm-objdump -p libx264.so.163 | grep XHASH
  MIPS_XHASH        0x00000168

both are same things

(From OE-Core rev: 45390aee03ad0adfcabf6d96109e73136436acad)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-04 17:14:15 +00:00
Tim Orling
2991089391 python3-jsonschema: upgrade 3.2.0 -> 4.4.0
Upstream changed from setup.py to pyproject.toml+setup.cfg

inherit setuptools_build_meta

For changes see:
https://github.com/Julian/jsonschema/blob/main/CHANGELOG.rst#v440

(From OE-Core rev: 9af4a46668f0e8dcc7a371ec9e14a185df3a314f)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-04 17:14:15 +00:00
Richard Purdie
345ed4cc9d python3: Drop opt1 and opt2 pyc files from target
These are only used with python when the -O or -OO options are passed
and I'm not aware of runtime use of that. They otherwise just waste a
ton of space.

(From OE-Core rev: 5ac7b8c030daf30b2be93abebfedbc36c395e6d7)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-04 17:14:15 +00:00
Richard Purdie
ed2ba22d10 python3-native: Remove all pyc files
This removes a further 1600 files from sstate handling and lets python
create the ones it wants at runtime which is likely much better overall
for performance.

(From OE-Core rev: 2d6490fa23cce58922a1b54f87c8369925ff8f90)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-04 17:14:15 +00:00
Jose Quaresma
306f7b5ca1 Revert "cmake.bbclass: Set CXXFLAGS and CFLAGS"
This reverts commit 47594d59ec.

This patch was introduced 5 years ago as a temporary workaround
to fix an upstream bug.

Currently with that patch the following flags are duplicated:
 OECMAKE_C_FLAGS ?= "${HOST_CC_ARCH} ${TOOLCHAIN_OPTIONS} ${CFLAGS}"
 OECMAKE_C_LINK_FLAGS ?= "${HOST_CC_ARCH} ${TOOLCHAIN_OPTIONS} ${CPPFLAGS} ${LDFLAGS}"
 OECMAKE_CXX_LINK_FLAGS ?= "${HOST_CC_ARCH} ${TOOLCHAIN_OPTIONS} ${CXXFLAGS} ${LDFLAGS}"

The duplicated flags is used in the toolchain.cmake:
 set( CMAKE_C_FLAGS "${OECMAKE_C_FLAGS}" CACHE STRING "CFLAGS" )
 set( CMAKE_CXX_FLAGS "${OECMAKE_CXX_FLAGS}" CACHE STRING "CXXFLAGS" )
 set( CMAKE_CXX_LINK_FLAGS "${OECMAKE_CXX_LINK_FLAGS}" CACHE STRING "LDFLAGS" )

CC: Khem Raj <raj.khem@gmail.com>
(From OE-Core rev: a83623a54a375d3ae9198a135b94379881a2b7a5)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-04 17:14:15 +00:00
Khem Raj
d4cd5a35d2 libical: Do not set CC explicitly for gir compiler
This ensures that right sysroot is used during build, otherwise we see
warnings in build about using wrong sysroot and it fails explicitly with
clang

x86_64-yoe-linux-ld: warning: library search path "/usr/lib/gcc/x86_6
4-pc-linux-gnu/11.2.0/../../../../lib64" is unsafe for cross-compilation

x86_64-yoe-linux-ld: cannot find /usr/lib/clang/14.0.0/lib/linux/libc
lang_rt.builtins-x86_64.a: No such file or directory

(From OE-Core rev: e591b462227ded84f3f8e7273200824ad63313c4)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-04 17:14:15 +00:00
Khem Raj
ef20f069d0 libical: Pass TOOLCHAIN_OPTIONS via CFLAGS
This ensures that right sysroot is used during build, otherwise we see
warnings in build about using wrong sysroot and it fails explicitly with
clang

x86_64-yoe-linux-ld: warning: library search path "/usr/lib/gcc/x86_6
4-pc-linux-gnu/11.2.0/../../../../lib64" is unsafe for cross-compilation

x86_64-yoe-linux-ld: cannot find /usr/lib/clang/14.0.0/lib/linux/libc
lang_rt.builtins-x86_64.a: No such file or directory

(From OE-Core rev: feb8893e0f52c7ab2d5efd456901a2bb91839d44)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-04 17:14:15 +00:00
Richard Purdie
0aae0afd05 cmake-native: Remove help docs from the native sysroot
This drops the file count for cmake-native from ~3000 to ~1700
which is a decent chunk of files not to be copying to each native
sysroot for no reason.

(From OE-Core rev: 6e561619a2a2b688735deae968eb66027fd4b9f0)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-04 17:14:15 +00:00
Richard Purdie
cb209c2d16 python3-native: Drop opt-1 and opt-2 pyc files
There are over 3,000 of these in python3-native (of 8,000+ files total) and
copying them to sysroots all the time seems pointless, particularly since
they're only used if python is run with the -O or -OO parameters.

Get rid of them and save the overhead. This is particularly pronounced in
builds using the api-documentation distro feature.

(From OE-Core rev: fd66de439273b245c1d0bcfb32f2c847e3cddd6b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-04 17:14:15 +00:00
Richard Purdie
3196d85a50 libsndfile: Fix missing external library support
The recent upgrade regressed codec support since opus is missing and
this caused several codecs to be disabled. Add a patch to work around
the issue whilst it is discussed with upstream.

(From OE-Core rev: d1aba25b2559041c96735b58424baf8862796095)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-04 17:14:15 +00:00
Alexander Kanavin
062414c09d glslang/spirv: synchronize with the rest of vulkan items
These components are now versioned in sync with vulkan releases:
https://github.com/KhronosGroup/SPIRV-Headers/issues/252
https://github.com/KhronosGroup/SPIRV-Headers/issues/266

"We'll continue tagging the repos contributing with SDK releases, as
that is when all the testing of the various projects is performed
together."

(From OE-Core rev: 2961d94f1c2ca43c30497ac1853feba58b09d730)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-04 17:14:15 +00:00
Alexander Kanavin
5536878b69 libarchive: correct upstream version check
(From OE-Core rev: 607773753c89c74bfadbe4251e828c036ce94e63)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-04 17:14:15 +00:00
Alexander Kanavin
30071b35c3 libsndfile1: correct upstream version check
(From OE-Core rev: f7b7f6c8db1227175fc5dd78e87ab5b498649c72)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-04 17:14:15 +00:00
Saul Wold
1507286c7d convert-variable-renames: Fix output string
(From OE-Core rev: a8d6882144e76f384022fe7d2b4ee13ad876317a)

Signed-off-by: Saul Wold <saul.wold@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-04 17:14:15 +00:00
Pgowda
967ff0e2af binutils: Avoid Race condition in as.info
The race condition in binutils/gas folder was introduced with the
following patch. The patch avoids recursive make into the doc folder.
It would speed up the build process slightly. However, the as.info
is installed twice which resulted in the race condition sometimes.
https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=bde299e063de090bf36c1fe51874d1e9f4d94c3c

On debugging the code, it was found that the issue was related to
install-data-local. On further analysis, there is already a patch in
binutils that removes install-data-local.
On applying the patch as.info is installed once as expected and there’s
no possibility of any race condition.
https://sourceware.org/git/?p=binutils-gdb.git;a=commitdiff;h=9a84a44d5df4618dd616137fa755bd71b7eacc5f

Upstream-Status: Backport [https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=9a84a44d5df4618dd616137fa755bd71b7eacc5f]

[YOCTO #14725]

(From OE-Core rev: c08a245990eb46906476dc0f6ade0482c7be241d)

Signed-off-by: pgowda <pgowda.cve@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-04 17:14:15 +00:00
Stefan Herbrechtsmeier
6d715aafec oeqa: selftest: overlayfs: add test for image with fstab entry
(From OE-Core rev: 67f1959a46beec5edf133f2f8b02635feea7e599)

Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-04 17:14:15 +00:00
Stefan Herbrechtsmeier
2126584d61 classes: rootfs-postcommands: include /etc/fstab in overlayfs_qa_check
The systemd init manager support mount point configuration via mount
units and /etc/fstab. 'Mounts listed in /etc/fstab will be converted
into native units dynamically at boot and when the configuration of
the system manager is reloaded. In general, configuring mount points
through /etc/fstab is the preferred approach.' [1]

Read mount points from /etc/fstab to determine dynamic mount units.

[1] https://www.freedesktop.org/software/systemd/man/systemd.mount.html

(From OE-Core rev: 9db988dae6dbf6da7b066728bc13b59a5c45b75c)

Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-04 17:14:15 +00:00
Kamil Dziezyk
b78f8b7cfa libacpi: Build libacpi also for 'aarch64' machines
(From OE-Core rev: ccad2769b4031aa1b5952ecc78ae3f4274f96710)

Signed-off-by: Kamil Dziezyk <kamil.dziezyk@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-04 17:14:15 +00:00
Andrew Jeffery
ef518a327d ipk: Decode byte data to string in manifest handling
```
File: '/home/andrew/src/openbmc/openbmc/meta/lib/oe/package_manager/ipk/manifest.py', lineno: 69, function: create_full
     0065:        output = pm.dummy_install(pkgs_to_install)
     0066:
     0067:        with open(self.full_manifest, 'w+') as manifest:
     0068:            pkg_re = re.compile('^Installing ([^ ]+) [^ ].*')
 *** 0069:            for line in set(output.split('\n')):
     0070:                m = pkg_re.match(line)
     0071:                if m:
     0072:                    manifest.write(m.group(1) + '\n')
     0073:
Exception: TypeError: a bytes-like object is required, not 'str'
```

Change-Id: Ifefb13bfa22c766d20ab9f73f7abe5163b3df86f
(From OE-Core rev: cf9df9e8d89fee9cea4785c94a1e3004a5f3469d)

Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-04 17:14:15 +00:00
Andrew Jeffery
1366335749 ipk: Import re in manifest module
```
File: '/home/andrew/src/openbmc/openbmc/meta/lib/oe/package_manager/ipk/manifest.py', lineno: 67, function: create_full
     0063:
     0064:        output = pm.dummy_install(pkgs_to_install)
     0065:
     0066:        with open(self.full_manifest, 'w+') as manifest:
 *** 0067:            pkg_re = re.compile('^Installing ([^ ]+) [^ ].*')
     0068:            for line in set(output.split('\n')):
     0069:                m = pkg_re.match(line)
     0070:                if m:
     0071:                    manifest.write(m.group(1) + '\n')
Exception: NameError: name 're' is not defined
```

Change-Id: I769a2ab5e57c7b60598ea0390b576d707356db9d
(From OE-Core rev: e240a8ede690e56bcf53a97b3be5592e6e4a5a15)

Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-04 17:14:15 +00:00
Daniel Wagenknecht
4c298459ab copy_buildsystem: allow more layer paths
Layers could be located anywhere. The eSDK should work with them even if
they are not located in TOPDIR or in the same parent directory as
COREBASE.

For layers located in the same parent directory as COREBASE this preserves
the intent from the previous
  copy_buildsystem: include layer tree during build structure creation
commit.

Related OE-Core rev: 5a59a6997f41e606d088e3e86812de56f72f543b

(From OE-Core rev: 16d330d42e03085769eddb1b60ba1df7228baf36)

Signed-off-by: Daniel Wagenknecht <dwagenknecht@emlix.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-04 17:14:14 +00:00
Michael Opdenacker
2ea66dc0f6 documentation: release notes for 3.4.2
(From yocto-docs rev: 2a29dfa30452ae4def9a9c6047e95b4dce2a4946)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-04 09:39:37 +00:00
Michael Opdenacker
43fbe48298 documentation: individual release note files
This makes changes and new files easier to review

(From yocto-docs rev: f3f76236b5c003481a0f211b60a8df9479db833b)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-04 09:39:37 +00:00
Michael Opdenacker
d369a3cfc6 documentation/README: how to upgrade Sphinx packages
(From yocto-docs rev: 199c6ef4b64d6c7f672ac183d3bf73c8ff3bb2c7)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-04 09:39:37 +00:00
Michael Opdenacker
6df5aa3475 documentation: remove references to prelink support
Fixing documentation and updating examples containing "prelink"
in their output.

(From yocto-docs rev: 8927b8fff55fac1bd1fefcff2d16141dbd1ebc51)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-04 09:39:37 +00:00
Quentin Schulz
0966ba1ebb ref-manual: classes: provide command with ready-to-use password
mkpasswd output requires to be escaped before being used as password in
a Bitbake variable. It was explicitly stated after the command, but to
be sure it's not missed, let's give the printf command which does escape
the string for us.

Cc: Quentin Schulz <foss+yocto@0leil.net>
(From yocto-docs rev: 13064e7bea18e999d4a294e298a7980a4dcbe69e)

Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-04 09:39:37 +00:00
Tim Orling
61ee42131c docs: add pip install variables
Add the new variables used to install Python `wheel` binary archives:
* PIP_INSTALL_ARGS
* PIP_INSTALL_DIST_PATH
* PIP_INSTALL_PACKAGE
* PYPA_WHEEL

(From yocto-docs rev: cb213b5682e37873ac0ec457d6f5a52639c4b24a)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-04 09:39:37 +00:00
Tim Orling
6f2365a292 docs: add new python packaging classes
Add the new classes used for Python packaging:
* flit_core
* pip_install_wheel
* setuptools_build_meta

(From yocto-docs rev: f78fe71f634cbf39857c42e90f8c16e511ba2076)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-04 09:39:37 +00:00
Tim Orling
e2218a9684 docs: migration-3.3 drop distutils labels, terms
The distutils* classes and DISUTILS* terms are no longer defined so
replace their usage with ``text``.

(From yocto-docs rev: c0e0e0b9416cb7a2fed3efe9d32ee905b6391f24)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-04 09:39:37 +00:00
Tim Orling
48e3604317 docs: migration-2.6 drop distutils labels, terms
The distutils* classes and DISUTILS* terms are no longer defined so
replace their usage with ``text``.

(From yocto-docs rev: 6be0ab803e6dd64e4a044b7c605acfdd45caa280)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-04 09:39:37 +00:00
Tim Orling
aa824e54d4 docs: migration-3.5: distutils move
The distutils*.bbclasses have been dropped from oe-core and moved to
meta-python.

(From yocto-docs rev: dac8ac065e76b9c933eefb52c91d4b9a2e501942)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-04 09:39:37 +00:00
Tim Orling
5bf8da73bb docs: ref-manual: remove distutils* from classes
The distutils*.bbclasses have been removed from oe-core and moved to
meta-python, so remove them from ref-manual/classes.rst.

(From yocto-docs rev: 9da8fd7d436ac3eb3b66409cf0e53218d6e41822)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-04 09:39:37 +00:00
Tim Orling
3848535523 docs: ref-manual: drop distutils from variables
The distutils*.bbclasses have been moved to meta-python, so remove
mention of them from ref-manual/variables.rst

(From yocto-docs rev: af3d465c5d50edd27957c205dd26aae6843ee3b2)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-04 09:39:37 +00:00
Peter Kjellerstedt
865e150599 manuals: Update LICENSE vars in examples to use SPDX license identifiers
This is similar to the recent change in meta to only use SPDX license
identifiers in the recipes.

(From yocto-docs rev: 147ce973d08f0bfb59b7b87fec8c8cc997d57112)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Reviewed-by: Quentin Schulz <foss+yocto@0leil.net>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-04 09:39:37 +00:00
Tim Orling
99a5b42d5c docs: update setuptools3 class
Add notes to inform about the new `wheel` behavior of the
setuptools3.bbclass.

(From yocto-docs rev: 4f19c8218f7c960d1ad0288d76d5394b6595c3f1)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-04 09:39:37 +00:00
Michael Halstead
0447aace57 releases: update to include 3.3.5
Adding 3.3.5 to documentation switcher and release list.

(From yocto-docs rev: 78545b8f42657c21bc3cac96429d3950b07a3aca)

Signed-off-by: Michael Halstead <mhalstead@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-03 09:19:58 +00:00
Chen Qi
a99b899a37 multilib_global.bbclass: fix setting preferred version for canadian recipes
Currently the TRANSLATED_TARGET_ARCH is not changed when trying
to set preferred version for canadian recipes.

e.g.
```
bitbake core-image-minimal -c populate_sdk -e > env
grep ^PREFERRED_VERSION_gcc-cross-canadian env
```
The result is:
"""
PREFERRED_VERSION_gcc-cross-canadian-x86-64="11.%"
"""

We need to explictly change DEFAULTTUNE to ensure TRANSLATED_TARGET_ARCH is
changed when trying to set the preferred version for multilib version of
the canadian recipes.

e.g.
```
bitbake core-image-minimal -c populate_sdk -e > env
grep ^PREFERRED_VERSION_gcc-cross-canadian env
```
The result is:
"""
PREFERRED_VERSION_gcc-cross-canadian-i686="11.%"
PREFERRED_VERSION_gcc-cross-canadian-x86-64="11.%"
"""

(From OE-Core rev: ab8ed74082ffaf3b3adca84f4c41465f89657e76)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-02 18:44:17 +00:00
Andrew Jeffery
911ee75249 rust: Add snapshot checksums for powerpc64le
(From OE-Core rev: ab0c2de443278625c5db54d5c51e193791f5087c)

Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-02 18:44:17 +00:00
Andrew Jeffery
73272156e6 rust: Introduce RUST_BUILD_ARCH
RUST_BUILD_ARCH contains the arch_to_rust_arch()-translated value of
BUILD_ARCH. This is necessary to acquire the correct snapshot artifacts
under Linux where `uname -m` reports "ppc64le" rather than
"powerpc64le".

Change-Id: I6aec23aced8e1c6f0bfc46fe52531b0c16bcf687
(From OE-Core rev: c13afbade8d480807b9de70c56dcd650496f06b2)

Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-02 18:44:17 +00:00
Andrew Jeffery
102e4c029e rust: Introduce arch_to_rust_arch()
On modern Power systems `uname -m` yields 'ppc64le' while the toolchain
knows the architecture as 'powerpc64le'. Provide a mapping from one to
the other to integrate with the existing architecture configuration
flags.

arch_to_rust_arch() only exists to map the OE *_ARCH variables before
any further processing, unlike arch_to_rust_target_arch() which is
specific to the internal triple handling of rust.

On Linux ppc64le systems the changes give the following config:

```
$ cat ./tmp/work/ppc64le-linux/rust-native/1.58.0-r0/targets/ppc64le-linux.json
{
    "llvm-target": "powerpc64le-unknown-linux-gnu",
    "data-layout": "e-m:e-i64:64-n32:64-v256:256:256-v512:512:512",
    "max-atomic-width": 64,
    "target-pointer-width": "64",
    "target-c-int-width": "64",
    "target-endian": "little",
    "arch": "powerpc64",
    "os": "linux",
    "env": "gnu",
    "vendor": "unknown",
    "target-family": "unix",
    "linker": "gcc",
    "cpu": "generic",
    "dynamic-linking": true,
    "executables": true,
    "linker-is-gnu": true,
    "linker-flavor": "gcc",
    "has-rpath": true,
    "has-elf-tls": true,
    "position-independent-executables": true,
    "panic-strategy": "unwind"
}
```

Change-Id: Ief0c01189185d7d4da31d307270bec4e1de674ca
(From OE-Core rev: 9ab61e3cfef0157393cb870d606c2f362e190889)

Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-02 18:44:17 +00:00
Jose Quaresma
39aec4ac7f buildhistory.bbclass: create the buildhistory directory when needed
When the BUILDHISTORY_RESET is enabled we need to move the
content from BUILDHISTORY_DIR to BUILDHISTORY_OLD_DIR but
when we start a clean build in the first run we don't have the
BUILDHISTORY_DIR so the move of files will fail.

| ERROR: Command execution failed: Traceback (most recent call last):
|  File "/xxx/poky/bitbake/lib/bb/command.py", line 110, in runAsyncCommand
|    commandmethod(self.cmds_async, self, options)
|  File "/xxx/poky/bitbake/lib/bb/command.py", line 564, in buildTargets
|    command.cooker.buildTargets(pkgs_to_build, task)
|  File "/xxx/poky/bitbake/lib/bb/cooker.py", line 1481, in buildTargets
|    bb.event.fire(bb.event.BuildStarted(buildname, ntargets), self.databuilder.mcdata[mc])
|  File "/xxx/home/builder/src/base/poky/bitbake/lib/bb/event.py", line 214, in fire
|    fire_class_handlers(event, d)
|  File "/xxx/poky/bitbake/lib/bb/event.py", line 121, in fire_class_handlers
|    execute_handler(name, handler, event, d)
|  File "/xxx/poky/bitbake/lib/bb/event.py", line 93, in execute_handler
|    ret = handler(event)
|  File "/xxx/poky/meta/classes/buildhistory.bbclass", line 919, in buildhistory_eventhandler
|    entries = [ x for x in os.listdir(rootdir) if not x.startswith('.') ]
| FileNotFoundError: [Errno 2] No such file or directory: '/xxx/buildhistory'

(From OE-Core rev: 97bc2168da7dbacdfbf79cd70db674363ab84f6b)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-02 18:43:25 +00:00
Tean Cunningham
a559a2cba9 rootfs-postcommands: amend systemd_create_users add user to group check
Currently when adding a user to a group ('m' type), the conditional
check to only create a user/group if it does not exist always resolves
to true. This causes a build exit failure if the user and/or group
defined in the sysusers configuration file were already created prior to
the execution of systemd_create_users().

This logic has been updated to instead fail silently (consistent with
'u' and 'g' type). Additionally, if a user doesn't exist it will be
created without the default group.

(From OE-Core rev: 65649be6b2196ab964c69605d0306bfc2481da33)

Signed-off-by: Tean Cunningham <tean.cunningham@digi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-02 18:43:25 +00:00
Richard Purdie
82f24d2197 license: Rework INCOMPATIBLE_LICENSE wildcard handling
The current wildcard handling is badly documented and inconsistently
used and understood.

Forcing users to have to use "GPL-3.0-only GPL-3.0-or-later" whilst
explict is not very user friendly. Equally, using the current wildcards
is ambigious. This supports pre-defined expansions only and at least makes
it clear what GPL-3.0* means (it doesn't include the exception licenses).

This is hopefully an acceptable compromise between literal meaning and
having something usable.

Non-SPDX forms of license in this field have been dropped and errors are
shown for unsupported expansions and unsupported old style license terms.

Users need to carefully consider how to migrate to the new syntax but
the meaning should be well defined and clear from here forward.

(From OE-Core rev: 724fc8047cae6ed6197d7deca887b1594871c90e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-02 18:43:25 +00:00
Richard Purdie
321cf8962e license/insane: Show warning for obsolete license usage
We want to use SPDX identifiers in LICENSE variables. There is now a
conversion script to make most of the translations. Add a list of
strings which have been replaced so we can show warnings to users
if they're still used anywhere.

Add checks to the package as insane check. This is currently a warning
by default but can be turned off or made an error as per the other standard
checks.

(From OE-Core rev: 9379f80f484f94686a4d494e9e237fadfb72a938)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-02 18:43:25 +00:00
Saul Wold
d6449581c9 base/license: Rework INCOMPATIBLE_LICENSE variable handling
This re-writes the INCOMPATIBLE_LICENSE checking code to replace
the WHITELIST_<lic> with
INCOMPATIBLE_LICENSE_EXCEPTIONS = '<pkg>:<lic> <pkg>:<lic> ...'

This initial change leaves most of the code structure in place,
but the code in base.bbclass needs to be re-written to make
the check more consistent around packages (PKGS) and not recipe
names (PN). This also is taking into account the changes for SPDX
licenses.

The aim is to provide a mode consistent variable where the variable
name is known and can easily be queried.

(From OE-Core rev: 0d19c45ba6cf43518f380ca5afe9753a2eda0691)

Signed-off-by: Saul Wold <saul.wold@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-02 18:43:25 +00:00
Konrad Weihmann
9ead8e762e pip_install_wheel: improve wheel handling
- replace python3 prefix when guessing the wheel name
  as there are still plenty of recipes out there that do use
  python3 prefixes
- remove all previously generated wheels matching the glob
  to avoid installing any outdated blob via cleandirs
  in setuptools3 class.
  Unfortunetaly proposed dist-dir or bdist-dir are not
  respected by setuptools, likely due because they
  are overridable by the setup script
- don't use PV in glob, as PV doesn't necessarily align with the
  version used inside of the setuptools configuration.
  this will avoid having the user set PYPA_WHEEL in a lot
  of recipes
- respect SETUPTOOLS_SETUP_PATH in PIP_INSTALL_DIST_PATH
  and use B as a fallback only (in case this class is inherited
  without setuptools3 class being there as well).
  recipes like python3-smbus run in a subfolder of the
  workspace and were failing in before this adjustment

(From OE-Core rev: 6f2d85a7b7d94101f2ce67115166fa86c185650f)

Signed-off-by: Konrad Weihmann <kweihmann@outlook.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-02 18:43:25 +00:00
Tim Orling
668a625ce5 python3-flit-core: upgrade 3.6.0 to 3.7.1
Version 3.7.1
* Fix building packages which need execution to get the version number,
  and have a relative import in __init__.py (:ghpull:`531`).

Version 3.7
* Support for :ref:`external data files <pyproject_toml_external_data>`
  such as man pages or Jupyter extension support files (:ghpull:`510`).
* Project names are now lowercase in wheel filenames and .dist-info folder
  names, in line with the specifications (:ghpull:`498`).
* Improved support for :doc:`bootstrapping <bootstrap>` a Python environment,
  e.g. for downstream packagers (:ghpull:`511`). flit_core.wheel is usable
  with python -m to create wheels before the build tool is available, and
  flit_core sdists also include a script to install itself from a wheel
  before installer is available.
* Use newer importlib APIs, fixing some deprecation warnings (:ghpull:`499`).

(From OE-Core rev: 3f6768cf23e4215d99f7279b8ec6ee73ba00a656)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-02 18:43:24 +00:00
Tim Orling
931c5c0516 python3-tomli: inherit flit_core
Drop the setup.py workaround as it is no longer needed.

(From OE-Core rev: 88fc6ec6859e5aa1b97125fd7b692569665875f6)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-02 18:43:24 +00:00
Richard Purdie
8a1de49b56 recipetool/devtool: Further SPDX identifier cleanups
Some of these are hard to know what to do with since the original source
files for the checksum aren't present. The safe option is to use "-only"
as often the main license is ambiguous and the source files themselves
determine the "or-later" possibility. The "-only" option therefore is
realistically what we need to use in this code.

(From OE-Core rev: 2b0cbafc7854de0308a624b17b8aaba704b031d5)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-02 18:43:24 +00:00
Robert Yang
bd9f71fedc cups: Add --with-dbusdir to EXTRA_OECONF for deterministic build
The configure checks /etc/dbus-1 and set DBUSDIR is null:
        if test -d /etc/dbus-1 -a "x$DBUSDIR" = x; then
            DBUSDIR="/etc/dbus-1"
        fi

So that the build resutl would be different w/o /etc/dbus-1:

/etc/dbus-1/system.d/cups.conf (Only exists when DBUSDIR is set)

Add --with-dbusdir to EXTRA_OECONF to fix the issue

(From OE-Core rev: 0e4b2464138601c4c20882c001ef11eef5100395)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-02 18:43:24 +00:00
Robert Yang
be688d2a9b quilt: Disable external sendmail for deterministic build
Otherwise, the build results would be different w/o host's /usr/sbin/sendmail:
1) The /usr/share/quilt/compat/sendmail will be genrated if no
   /usr/sbin/sendmail on host
2) No /usr/share/quilt/compat/sendmail if host's has /usr/sbin/sendmail

Use --without-sendmail to make it always generate /usr/share/quilt/compat/sendmail.

(From OE-Core rev: 3f9320816ac9f9ec8815754d1951cecb58612f70)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-02 18:43:24 +00:00
Robert Yang
bffe5b26f8 perl: Makefile.PL: Fix _PATH_LOG for deterministic
It checks host's path such as /dev/log and uses it, this doesn't make sense for
cross build, and it causes undeterministic, for example, the contianer os
usually doesn't have /dev/log which leads to a different build result since
other host usually has /dev/log, so make it always use the default value to fix
the issue.

(From OE-Core rev: 977b493e5040db8e000c6565bb29f3ac260ca0e1)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-02 18:43:24 +00:00
Tim Orling
fb0814a57b flit_core: export do_configure and do_compile
The class should export the tasks so they can be extended or overriden
elsewhere (like what setuptools3.bbclass has).

(From OE-Core rev: 14c2dcbebccf072225a089518ffeb010401f479c)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-02 18:43:24 +00:00
Alexander Kanavin
ab02b96e65 OELAYOUT_ABI: bump, avoid tmp/ breakage by removing old cross manifests
(From OE-Core rev: c0fca53a9b48cb4e92da89e9e652623296244ff6)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-02 18:43:24 +00:00
Alexander Kanavin
c486c6609a sstate: do not add TARGET_ARCH to pkgarch for cross recipes.
This is redundant (target arch is already in PN), and breaks
compiling a cross-canadian toolchain, as that needs populating the
sysroot with two different native-hosted toolchains built from
cross recipes. Inserting TARGET_ARCH allows only one or the other.

(From OE-Core rev: 33fc1792cd782feb8dbb4285e3006bb588f7978f)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-02 18:43:24 +00:00
Robert P. J. Day
eec3bbdd27 scripts: Various typo/grammar/punctuation fixes
Among other things, fix misspellings of:

  - absolute
  - deprecated
  - suitable
  - handle

and a bunch of other things.

(From OE-Core rev: c3773cd6c44dfe82be9ecd248120e7d6c753f891)

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-02 18:43:24 +00:00
Robert Yang
5ce1060e3a coreutils: Disable statx for native build
The statx requires glibc >= 2.28 and linux kernel >= 4.11, but coreutils's
configure only checks glibc compatibility for statx syscall but fail to check
kernel support, e.g.:

RedHat Enterprise Linux Server 7.6 (Maipo)
Host kernel: 3.10.0-1127.8.2.el7.x86_64
Docker OS: Ubuntu 20.04.1 LTS

$ bitbake coreutils-native
find the binary ls and run it as "ls -l ."
The result is something like: "?????????. ? ? ? ? ? foo"

This is because glibc is 2.31 (Ubunut 20.04 in docker) which has statx,
but host's kernel is 3.10.0 (CentOS 7) which doesn't support statx.

Disable statx for native build to fix the problem.

Original from: Davi Poyastro <davi.poyastro@nokia.com>
(From OE-Core rev: 6c120d8856fab044e7b8e09d6de91c2b228a2dd9)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-02 18:43:24 +00:00
Jose Quaresma
153d72a91d icecc.bbclass: enable networking in all tasks
The icecc.bbclass needs network access to work properly.

Currently I build with icecc inside a container with network isolation and
my icecc daemon runs outside of the build container in my host.
The only thing I need to do for using the icecc inside my build container is
mounting the unix socket /var/run/icecc/iceccd.socket inside the container.

I think we need something like this mount functionality to have access to
some sockets connections inside the tasks that runs on the new namespace
created with unshare system call.

This patch is not a the real solution for the problem and is more like
an hack so we can use the icecc.bbclass again.

(From OE-Core rev: 25ea276a13a6ac2342c2b0945c8fafe878d56095)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-02 18:43:24 +00:00
Randy MacLeod
8ff8e727ed libarchive: upgrade 3.5.3 -> 3.6.0
(From OE-Core rev: 6aa1420d747ebd77bfa7069d42df1ff9040424ba)

Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-02 18:43:24 +00:00
wangmy
706a11959f sysstat: upgrade 12.4.4 -> 12.4.5
Changelog:
=========
* sar/sadf: Make sure that datafiles with unknown activities can
  be read by sar and sadf.
* sar/sadf: Don't reallocate buffers for activities not present
  in file.
* sar: Make sure that all buffers are copied in copy_structures()
  function.

(From OE-Core rev: 7ec2ed62ea64e5a3652b436e7772216159ae4466)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-02 18:43:24 +00:00
wangmy
549c5046de sqlite3: upgrade 3.37.2 -> 3.38.0
Remove invalid PACKAGECONFIG : json1

(From OE-Core rev: 3f665656e3c0134994015235c24240086d5324fc)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-02 18:43:24 +00:00
wangmy
0242799a09 wget: upgrade 1.21.2 -> 1.21.3
Changelog:
=========
** Fix computation of total bytes downloaded during FTP trasnfers (#61277)
** Add option to select TLS 1.3 on the command line
** Fix HSTS build issues on some 64-bit big-endian systems
** Hide password during status report in --no-verbose
** Remove a sprurious print statement that showed up even during --quiet
** Some more cleanups and bug-fixes

(From OE-Core rev: 6223406cdeee436feba5d247d7933b6ae22c985d)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-02 18:43:24 +00:00
wangmy
05fbb1a2ee ovmf: upgrade 202111 -> 202202
0001-Fix-VLA-parameter-warning.patch
removed since it's included in 202202

Changelog:
=========
OvmfPkg Add new target for Cloud Hypervisor
Add TDVF to OvmfPkg
Add new APIs to UefiCpuPkg/UefiCpuLib
Add AMD Secure Nested Paging Support
Add SSDT PCI generator in DynamicTablesPkg
Support ACPI 6.4 PPTT changes
Add FdtHwInfoParser library
Add DynamicPlatRepo library
Make package and platform builds reproducible across source format changes
Add Uncrustify CI Plugin
Apply uncrustify changes to all package C and H files

(From OE-Core rev: 5e280a4d6bf67c3b7d26c444bc52f25e63ae57a4)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-02 18:43:24 +00:00
wangmy
3a9e6f8194 mesa: upgrade 21.3.6 -> 21.3.7
Changelog:
=========
Bug fixes
---------
lavapipe: dEQP-VK.spirv_assembly.instruction.compute.float16.arithmetic_3.step fails
ANV: Bad output from TransformFeedback . Regression from Mesa 21. Something to do with VB+XFB -> VB+XFB dependency?

Changes
-------
pan/bi: Avoid *FADD.v2f16 hazard in optimizer
pan/bi: Avoid *FADD.v2f16 hazard in scheduler
pan/bi: Lower swizzles on CSEL.i32/MUX.i32
panvk: Use more reliable assert for UBO pushing
radv: Fix preamble argument order.
ir3/spill: Fix simplify_phi_nodes with multiple loop nesting
lavapipe: fix sampler + sampler view leaks.
lavapipe: reference gallium fences correctly.
crocus: fix leak on gen4/5 stencil fallback blit path.
i915g: Initialize the rest of the "from_nir" temporary VS struct.
pick_status.json: Update to dabba7d7263be6ffb6f3676465e92c65952fa824
pick_status.json: Mark b07372312d7053f2ef5c858ceb1fbf9ade5e7c52 as denominated
gallivm/nir: Call nir_lower_bool_to_int32 after nir_opt_algebraic_late
nir: All set-on-comparison opcodes can take all float types
intel/fs: Don't optimize out 1.0*x and -1.0*x
spriv: Produce correct result for GLSLstd450Step with NaN
spirv: Produce correct result for GLSLstd450Modf with Inf
spirv: Produce correct result for GLSLstd450Tanh with NaN
nir: Properly handle various exceptional values in frexp
nir: Produce correct results for atan with NaN
nir: Add missing dependency on nir_opcodes.py
anv: Call vk_command_buffer_finish if create fails
dri: avoid NULL deref of DrawBuffer on flush
nir: fix lower_memcpy
anv/genxml/intel/fs: fix binding shader record entry
anv: don't set color state when input state was requested
ac/surface: add more elements to meta equations because HTILE can use them
lavapipe: use util_pack_color_union() for generating clear colors
aux/draw: fix llvm tcs lane vec generation
zink: always set VkPipelineMultisampleStateCreateInfo::pSampleMask
zink: always invalidate streamout counter buffer if not resuming
iris: Don't fast clear with the view format
r300: fix transformation of abs modifiers with negate
radeonsi: workaround Specviewperf13 Catia hang on GFX9
radeonsi: fix depth stencil multi sample texture blit
glx: fix pbuffer refcount init
radv/winsys: fix initializing debug/perftest options if multiple instances
intel/genxml: add PIPE_CONTROL field for L3 read only cache invalidation
anv: invalidate L3 read only cache when VF cache is invalidated
iris: invalidate L3 read only cache when VF cache is invalidated
iris: fix a leak on surface states
mesa/st: always use DXT5 when transcoding ASTC format
tegra: Use private reference count for sampler views
tegra: Use private reference count for resources
radv: Disable IB2 on compute queues.
venus: properly destroy deferred ahb image before real image creation

(From OE-Core rev: 31daf916d218d5e6e95bac857cbeb0d44901e4b3)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-02 18:43:24 +00:00
wangmy
7647652925 libva: upgrade 2.13.0 -> 2.14.0
Changelog:
=========
* add: Add av1 encode interfaces
* add: VA/X11 VAAPI driver mapping for crocus DRI driver
* doc: Add description of the fd management for surface importing
* ci: fix freebsd build
* meson: Copy public headers to build directory to support subproject

(From OE-Core rev: 728d20b0bb3ee0728e40867c1590febf584c28a2)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-02 18:43:24 +00:00
wangmy
90db5dc39f libsolv: upgrade 0.7.20 -> 0.7.21
Changelog:
=========
- selected bug fixes:
  * fix segfault on conflict resolution when using bindings
  * fix split provides not working if the update includes a forbidden
    vendor change
- new features:
  * support strict repository priorities
    new solver flag: SOLVER_FLAG_STRICT_REPO_PRIORITY
  * support zstd compressed control files in debian packages
  * add an ifdef allowing to rename Solvable dependency members
    ("requires" is a keyword in C++20)
  * support setting/reading userdata in solv files
    new functions: repowriter_set_userdata, solv_read_userdata
  * support queying of the custom vendor check function
    new function: pool_get_custom_vendorcheck
  * support solv files with an idarray block
  * allow accessing the toolversion at runtime

(From OE-Core rev: a02f7e4cf097e3c814a3a415f700d87c71fa6528)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-02 18:43:24 +00:00
wangmy
0b196b0d57 libjpeg-turbo: upgrade 2.1.2 -> 2.1.3
License-Update: year updated to 2022

Changelog:
==========
1. Fixed a regression introduced by 2.0 beta1[7] whereby cjpeg compressed PGM
input files into full-color JPEG images unless the '-grayscale' option was
used.

2. cjpeg now automatically compresses GIF and 8-bit BMP input files into
grayscale JPEG images if the input files contain only shades of gray.

3. The build system now enables the intrinsics implementation of the AArch64
(Arm 64-bit) Neon SIMD extensions by default when using GCC 12 or later.

4. Fixed a segfault that occurred while decompressing a 4:2:0 JPEG image using
the merged (non-fancy) upsampling algorithms (that is, with
'cinfo.do_fancy_upsampling' set to 'FALSE') along with 'jpeg_crop_scanline()'.
Specifically, the segfault occurred if the number of bytes remaining in the
output buffer was less than the number of bytes required to represent one
uncropped scanline of the output image.  For that reason, the issue could only
be reproduced using the libjpeg API, not using djpeg.

(From OE-Core rev: bc8da75b47f4f04592d0d1c3f9fea662ac1ee56c)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-02 18:43:24 +00:00
wangmy
451ac73a33 ccache: upgrade 4.5.1 -> 4.6
License-Update:
 year updated to 2022
 version of library updated

(From OE-Core rev: 973f0b25aa324dbd4642f67952f5531bf68ae9f6)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-02 18:43:24 +00:00
wangmy
dc98fba73a dbus: upgrade 1.12.20 -> 1.12.22
(From OE-Core rev: 1fb8ea03cf6c4df4d8c2cc9329dfe80c83a37e2d)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-02 18:43:24 +00:00
wangmy
eabd510875 at: upgrade 3.2.4 -> 3.2.5
Changelog:
=========
Fix: atd forgets to run a job in the queue
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1004972

(From OE-Core rev: 6e97ff2927c55d6045644dee467b5b7b59b1f243)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-02 18:43:24 +00:00
wangmy
9a2c44ff61 python3-hypothesis: upgrade 6.37.2 -> 6.39.0
Changelog:
=========
This release improves Hypothesis' handling of positional-only arguments,
which are now allowed @st.composite strategies.

On Python 3.8 and later, the first arguments to builds() and from_model()
are now natively positional-only. In cases which were already errors, the
TypeError from incorrect usage will therefore be raises immediately when
the function is called, rather than when the strategy object is used.

(From OE-Core rev: 4278a345300dd9c42fcd28a7f2149e6046b3467e)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-02 18:43:24 +00:00
wangmy
f91f0d2046 python3-dbusmock: upgrade 0.25.0 -> 0.26.1
Changelog from 0.25.0 to 0.26.1:
==========
- logind template: Add locking API
- bluez5 template: Add RemoveDevice() and RemoveAdapterWithDevices() methods,
  fix properties
- Documentation improvements, particularly wrt. raising errors
- Fix README content type to Markdown, to fix releasing to PyPi

(From OE-Core rev: e9ff8a96165ce8901f36da1be1eae4b6bc2c3a3b)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-02 18:43:24 +00:00
Changhyeok Bae
77e185ec29 repo: upgrade 2.21 -> 2.22
(From OE-Core rev: 7a1d98521e4493ed1a5f1163c47227c5e302ff12)

Signed-off-by: Changhyeok Bae <changhyeok.bae@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-02 18:43:24 +00:00
wangmy
8f707d5197 nghttp2: upgrade 1.46.0 -> 1.47.0
Changelog:
=========
lib: Fix decoder table size update (GH-1667)
lib: chore: fix -Wunreachable-code-return (GH-1625)
build: Make Docker speak HTTP/3 (GH-1657)
build: Remove SPDY option for CMake (GH-1665)
build: cmake: Disable libbpf build by default
doc: Fix typos (GH-1668)
doc: Update nghttp2.pyx (GH-1666)
h2load: Handle EAGAIN/EWOULDBLOCK from sendmsg
h2load: allow setting max frame size for h2load (GH-1640)
nghttpx: Add --require-http-scheme option
nghttpx: Add support QUIC BBR2
nghttpx: Bump libbpf to v0.7.0 and turn on all strict features
nghttpx: Change qlog file extension to .sqlog
nghttpx: Fix bug that h3 stream ends prematurely
nghttpx: Fix the issue that forwarded h3 GET request always has chunked TE
nghttpx: Handle EAGAIN/EWOULDBLOCK from sendmsg
nghttpx: Send and receive ECN in QUIC packets
nghttpx: Set IP_PMTUDISC_DO explicitly
nghttpx: Support h3 trailer fields
nghttpx: fix quotes in --altsvc example (GH-1643)
nghttpx: shrpx: make nghttpx -v show ngtcp2 and nghttp3 version as well (GH-1636)
third-party: Bump llhttp to v6.0.6

(From OE-Core rev: e4d54bb9d070a342c32ce863a45c01302c9de4f9)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-02 18:43:24 +00:00
wangmy
e1dea39862 libgit2: upgrade 1.4.1 -> 1.4.2
This is a bugfix release with the following changes:
====================================================
remote: do store the update_tips callback error value
win32: find_system_dirs does not return GIT_ENOTFOUND

(From OE-Core rev: c8f1727fd3f9583e25ac4dab0194b508758d7eaa)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-02 18:43:24 +00:00
wangmy
83232ac6d8 ell: upgrade 0.48 -> 0.49
Changelog:
==========
 Fix issue with multiple offers from the same DHCP server.
 Fix issue with Base64 decoding and bytes consumed validation.

(From OE-Core rev: 790f45993ac9c10ee547e4d9ae3dd0bfa96aa469)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-02 18:43:24 +00:00
Mark Hatle
d895863af1 bitbake: utils/ply: Change md5 usages to work on FIPS enabled hosts
hashlib.md5() is not permitted on a FIPS enabled host system.  This is due
to md5 not being an approved hash algorithm.

Instead use:
 hashlib.new('MD5', usedforsecurity=False)

This is allowed, as it's clear the hash is used for a non-security purpose.

Note: utils.py version should never be used to verify file integrity, but
instead be used to identify if the file may have changed.  sha256 should be
used for integrity purposes.

(Bitbake rev: af866dd077867cba0129757bfcc689551445e9d7)

Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-02 00:20:50 +00:00
Lee Chee Yang
1d98b3aaae poky.conf: update tested distro
drop opensuseleap-15.2 and fedora-33

add fedora-35, opensuseleap-15.3 and almalinux-8.5

(From meta-yocto rev: a1b752d31603bdbf9b9ee4eb09b2fd6ad4ad5d21)

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-01 23:51:21 +00:00
Mark Hatle
e9cc9772f2 insane.bbclass: Update insane.bbclass to work on FIPS enabled hosts
hashlib.md5() is not permitted on a FIPS enabled host system.  This is due
to md5 not being an approved hash algorithm.

Instead use:
 hashlib.new('MD5', usedforsecurity=False)

This is allowed, as it's clear the hash is used for a non-security purpose.

Using an md5 to identify when a license has changed is permitted, as we're
not using it for file integrity.

(From OE-Core rev: 7f7eb82ce47ede6ec6f50cbcb56cbfbe10e8d20c)

Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-01 23:44:59 +00:00
Peter Kjellerstedt
83766c9fff meta, meta-selftest: Replace more non-SPDX license identifiers
In commit ceda3238 (meta/meta-selftest/meta-skeleton: Update LICENSE
variable to use SPDX license identifiers) all LICENSE variables were
updated to only use SPDX license identifiers.

This does the same for comments and other variables where it is
appropriate to use the official SPDX license identifiers. There are
still references to, e.g., "GPLv3", but they are then typically in
descriptive text where they refer to the license in a generic sense.

(From OE-Core rev: 165759dced7fbe73b1db2ede67047896071dc6d0)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-01 23:44:59 +00:00
Peter Kjellerstedt
68d1a56e98 recipetool: Use SPDX license identifiers
There are still a couple of cases where the license may be set as, e.g.,
"GPL" or "GPL-2.0" since there is not enough information to decide the
actual SPDX license. It is then assumed that the developer will have to
correct the information.

(From OE-Core rev: e7df51f8d2361e9fe2d67669d2e17f0a5d01004e)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-01 23:44:59 +00:00
Peter Kjellerstedt
949aa76210 recipetool/create_buildsys_python: Add support for more known licenses
Add all OSI approved licenses from https://pypi.org/classifiers/. Also
add support for Other/Proprietary (Proprietary) and Public Domain (PD).

(From OE-Core rev: 99ef134d1019e5b98b845cf71f3eb39871218f9d)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-01 23:44:59 +00:00
Peter Kjellerstedt
6e05fb6551 selftest: recipetool: Correct the URI for socat
The URI to the socat tarball used in the
recipetool.RecipetoolCreateTests.test_recipetool_create_simple test has
been moved to an "Archive" directory.

(From OE-Core rev: 1e8b716e1377ad49f1451cbabe7c9961cc507731)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-01 23:44:59 +00:00
Peter Kjellerstedt
8a461e642d default-distrovars.inc: Remove the empty default for WHITELIST_GPL-3.0
There is no reason to set an empty default for it, while not doing it
for all other potential WHITELIST_* variables. The reason it was set
here is a leftover from before when it was actually set to a value.

(From OE-Core rev: 22ccd479147744fcbf4f2e765e54da8d3d3d9c7f)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-01 23:44:59 +00:00
Richard Purdie
e5c521661e mutlilib: Handle WHITELIST_GPL-3.0 being unset
The code doesn't work if the variable is unset, fix that.

(From OE-Core rev: b5248cc232629b021d8934899326468c3ef46351)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-01 23:44:59 +00:00
Alejandro Hernandez Samaniego
ed323de4dc initramfs-framework: Add overlayroot module
When installed, this module mounts a read-write (RW) overlay on
top of a root filesystem, which is kept read-only (RO), free
from modifications by the user, this might prove to be useful
if we want to access or restore the original unmodified rootfs.

The existing overlay-etc.bbclass does something similar, it
mounts an overlay on top of the /etc directory, however doing
the same for root causes the original root to be inaccessible
once the system is booted, hence why this module is added to
the initramfs boot flow, allowing us to mount the RW overlay,
while keeping the original rootfs mounted at /rofs once the
system finishes booting. This script is loosely based on that
class.

This module requires rootrw=<foo> to be passed as a kernel
parameter to specify the device/partition to be used as RW by the
overlay and has a dependency on overlayfs support being present
in the running kernel.

It does not require the read-only IMAGE_FEATURE to be enabled.

The module needs to be executed after the initramfs-module-rootfs
since it relies on it to mount the filesystem at initramfs startup
but before the finish module which normally switches root.
After overlayroot is executed the usual boot flow continues from
the real init process.

If something goes wrong while running this module, the rootfs
is still mounted RO (with no overlay) and the finish module is
executed to continue booting normally.

Its worth noting that, on purpose, this isnt installed by default
on any images that use initramfs-framework to keep the boot flow
unmodified, only when a user manually requests to install it,
then it becomes functional.

(From OE-Core rev: 4f876982a856c54a8074c85346632e33caa7ef53)

Signed-off-by: Alejandro Enedino Hernandez Samaniego <alhe@linux.microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-01 23:44:59 +00:00
Peter Kjellerstedt
31bca6db85 gma500-gfx-check: Update LICENSE to use an SPDX license identifier
(From meta-yocto rev: 7408fc695b4f70c351611c1dbd41ba6fb3ff539b)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-03-01 01:30:18 +00:00
Tim Orling
596bc1658e flit_core: inherit setuptools3-base
This helps bridge the old setuptools3 behavior.

FILES:${PN} has sane defaults in setuptools3-base

(From OE-Core rev: b1bb4e2d73985c6e8cf03b0fea94e8b739648cf7)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-27 12:34:40 +00:00
Khem Raj
836f8c4b4e musl: Update to latest master
brings in these fixes

  * f8bdc304 fix spurious failures by fgetws when buffer ends with partial character
  * 5690668a add missing strerror text for key management
  * 3b7b4155 fix out-of-bound read processing time zone data with distant-past dates
  * 75b3412f fix potentially wrong-sign zero in cproj functions at infinity
  * 52f0deb9 make fseek detect and produce an error for invalid whence arguments
  * cbacd638 add SEEK_DATA and SEEK_HOLE to unistd.h

(From OE-Core rev: 6c76063019f9aab5c249750e526bae9031829efe)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-27 12:34:40 +00:00
Peter Kjellerstedt
9da87f1119 license.py: Correct a comment
(From OE-Core rev: 1f7a34c6d246c6f42ab823ffd0bd0306705ad88d)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-27 12:34:40 +00:00
Stefan Herbrechtsmeier
ba9461372d systemd: move systemd shared library into its own package
Move the systemd shared library (libsystemd-shared.so) into its own
package to prevent a runtime dependency from udev package to systemd
package and thereby to a second init manager.

(From OE-Core rev: d1473149816674e3a3aa3f565e8b6390d2d0f1a6)

Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-27 12:34:40 +00:00
Joe Slater
62644e48da zip: modify when match.S is built
Use the correct $CPP to test if *.S are buildable,
but do not build match.S because it is not PIC code.

(From OE-Core rev: 58b16da805b774465f15c8bee59f8361a47ccd4e)

Signed-off-by: Joe Slater <joe.slater@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-27 12:34:40 +00:00
wangmy
f74327157c python3-git: upgrade 3.1.26 -> 3.1.27
Changelog:
=========
-Reduced startup time due to optimized imports.
-Fix a vulenerability that could cause great slowdowns when encountering long
 remote path names when pulling/fetching.

(From OE-Core rev: 3cb7f09392f1e43fec1c490cdee8bcdf581b1489)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-27 12:34:40 +00:00
Ross Burton
3f37a01275 Revert "cve-check: add lockfile to task"
Now that all of the functions in cve-check open the database read-only,
we can remove this lockfile.

This means cve-check can run in parallal again, improving runtimes
massively.

This reverts commit d55fbf4779.

(From OE-Core rev: d3d3e7b324698ec3e6fce1951aba389805f3edd3)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-27 12:34:40 +00:00
Oleksandr Ocheretnyi
cff7f3c174 kernel-devsrc: do not copy Module.symvers file during install
When CONFIG_MODULES is not enabled in kernel config - Module.symvers
generation is not done, which causes the file not to be created.

This fails later in do_install() due to the fact that copy
command in executed for non-existing Module.symvers file.

Check for Module.symvers existence before copy command in executed.

(From OE-Core rev: deacceac6461400037b152260c8edbc819f6309a)

Signed-off-by: Oleksandr Ocheretnyi <oocheret@cisco.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-27 12:34:40 +00:00
Richard Purdie
7638fcf5c1 pip_install_wheel: Use BPN instead of PN to construct PYPI_PACKAGE default
This fixes the name for native and nativesdk recipes.

(From OE-Core rev: 498342f483118d22f529c4e255cc50455d51e9ed)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-26 08:21:08 +00:00
Tim Orling
49168f5d55 pip_install_wheel: improved wheel filename guess
Rather than only use PYPI_PACKAGE as a guess, fall back on PN for cases
where a recipe does not inherit pypi.

Wheels can only have alphanumeric characters in the 'distribution'
name [1]. Any other characters are replaced with an underscore. Provide a
function to replace dash with underscore.

[1] https://www.python.org/dev/peps/pep-0491/#escaping-and-unicode

(From OE-Core rev: 9fc8e55892374f1e63b4c995fe1a5539c42d24e0)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-25 15:43:53 +00:00
Alexander Kanavin
4668db8175 insane: use HOST_ variables, not TARGET_ to determine the cross system
Almost everywhere those are the same, except when making a cross toolchain
where HOST_ is where it's going to run, and TARGET_ is what it's going to
produce.

(From OE-Core rev: cd25e5544ca3f48cc4c32001e917aa3dc20dd79a)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-25 15:30:04 +00:00
Alexander Kanavin
085941279b base/staging: use HOST_PREFIX, not TARGET_PREFIX
This matters when cross-compiling a cross-toolchain:
we need to specify the system where the toolchain
will run, not the system it will produce output for.

For everything else, HOST and TARGET are the same.

(From OE-Core rev: 03679622c5d1088e96d3d2a444c99021e5ae6ee6)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-25 15:30:04 +00:00
Tim Orling
c99211fa6f selftest: drop distutils3 test from recipetool
The distutils*.bbclasses have been moved from oe-core to
meta-python, so drop test_recipetool_create_python3_distutils
test case.

[YOCTO #14610]

(From OE-Core rev: 54ae2f647dc7dbafa5b90e9edbd62a0d355702f5)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-25 15:07:51 +00:00
Tim Orling
33e4144e1d disutils*.bbclasses: move to meta-python
distutils has been deprecated in Python 3.10 and will be removed in
Python 3.12 (predicted release date October 2023). For now, move these
classes from oe-core to meta-python to allow users to migrate.

[YOCTO #14610]

(From OE-Core rev: 782ce913b3611da8571a758c821b1491493eabec)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-25 15:07:51 +00:00
wangmy
853c1fa4da asciidoc: upgrade 10.1.1 -> 10.1.3
Bugfix:
========
Add missing py files to dist archives
Fix setup.py including packages outside of asciidoc

(From OE-Core rev: 327c6272e31a2862c21e1c06ccf779eb1aefab14)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-25 15:07:51 +00:00
wangmy
8d5aae114a python3-markupsafe: upgrade 2.0.1 -> 2.1.0
Changelog:
==========
Drop support for Python 3.6. :pr:'262'
Remove soft_unicode, which was previously deprecated. Use soft_str instead. :pr:'261'
Raise error on missing single placeholder during string interpolation. :issue:'225'
Disable speedups module for GraalPython. :issue:'277'

(From OE-Core rev: b953a11adcc014ee561af844b09e3513d534a4f9)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-25 15:07:51 +00:00
wangmy
881b0ab1b3 python3-hypothesis: upgrade 6.36.2 -> 6.37.2
This patch fixes a bug in stateful testing, where returning a single value
wrapped in :func:'~hypothesis.stateful.multiple' would be printed such that
the assigned variable was a tuple rather than the single element

(From OE-Core rev: 451e9c4403ae140edc2df77e22745e029ad1ca63)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-25 15:07:51 +00:00
Tim Orling
974a5d72ea python3-nose: drop recipe
The code has not been touched since 2016 and numerous files still have
Python2 syntax code in them. This causes do_compile errors when
packaging a wheel (PEP-517 packaging).

Nothing in oe-core depends on python3-nose.

[YOCTO #14638]

(From OE-Core rev: 19135f8b7cbaabeb2e38572d11e909ce386d60b8)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-25 15:07:51 +00:00
Tim Orling
6d9295511e python3-packaging: inherit setuptools_build_meta
Upstream provides a pyproject.toml which declares the
setuptools.build_meta backend for PEP-517 packaging.

[YOCTO #14638]

(From OE-Core rev: 37e22b4189535f67b5bad0851baabc27532cbada)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-25 15:07:51 +00:00
Tim Orling
d2189f178a python3-mako: inherit setuptools_build_meta
Upstream provides a pyproject.toml which declares the
setuptools.build_meta backend for PEP-517 packaging.

[YOCTO #14638]

(From OE-Core rev: 5d591c6a498f2667f61147f30dc441856567825a)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-25 15:07:51 +00:00
Tim Orling
390f3e6a32 python3-dbusmock: set PIP_INSTALL_PACKAGE
The name of the wheel as built by bdist_wheel is "python_dbusmock", set
PIP_INSTALL_PACKAGE appropriately.

[YOCTO #14638]

(From OE-Core rev: e2727e2b42f7f0df3fa06334085479fa9663c452)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-25 15:07:50 +00:00
Richard Purdie
9348370e5a python3-numpy: Fix pyc determinism issue
Using frozenset causes problems for pyc file determinism. For now remove
the problematic pyc file as we do in the main python3 recipe.

(From OE-Core rev: 9888608f75a97a633bc7d2207ab2defc48c92ac4)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-25 15:07:50 +00:00
Tim Orling
bef2724dcb python3-numpy: set PIP_INSTALL_PACKAGE
The recipe does not inherit pypi so we need to manually set
PIP_INSTALL_PACKAGE appropriately.

[YOCTO #14638]

(From OE-Core rev: 6663aaa636f06991ed1cff58178e378eeebadf44)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-25 15:07:50 +00:00
Tim Orling
55afe9401d gi-docgen: set PIP_INSTALL_PACKAGE
The name of the wheel as built by bdist_wheel is "gi_docgen", set
PIP_INSTALL_PACKAGE appropriately.

[YOCTO #14638]

(From OE-Core rev: ed4c85b6e907c83aa01979a863bb91e509b0c26f)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-25 15:07:50 +00:00
Tim Orling
65310e3240 asciidoc: set PIP_INSTALL_PACKAGE
This recipe does not inherit pypi and therefor we need to manually set
PIP_INSTALL_PACKAGE to reflect the wheel built by bdist_wheel.

[YOCTO #14638]

(From OE-Core rev: 65b55fa2d4e8e8ade7a17ac9e95639b08472747a)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-25 15:07:50 +00:00
Tim Orling
d53b85f467 bmap-tools: set PIP_INSTALL_PACKAGE, BASEVER
Change filename to _git.bb and use BASEVER to set PV.

The wheel built by bdist_wheel is named "bmap_tool-*.whl" set the
PIP_INSTALL_PACKAGE name accordingly.

Use BASEVER to set PYPA_WHEEL to match the version in the wheel produced
by bdist_wheel.

[YOCTO #14638]

(From OE-Core rev: 7aea6a938544582d036c454beeef947c986eedc7)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-25 15:07:50 +00:00
Tim Orling
ca95037362 python3-magic: set PIP_INSTALL_PACKAGE
The wheel built by bdist_wheel has the name "python_magic-*.whl" so set
PIP_INSTALL_PACKAGE accordingly.

[YOCTO #14638]

(From OE-Core rev: 44263ae8eb56966407cd8ca2c862daab342196f2)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-25 15:07:50 +00:00
Tim Orling
db10509019 python3-subunit: merge inc; set PIP_INSTALL_PACKAGE
We have not supported python2 for some time now, so there is no reason
to maintain a separate python-subunit.inc file.

The wheel built by bdist_wheel is named 'python_subunit-*.whl', so set
PIP_INSALL_PACKAGE appropriately.

Add patch to use vendored _distutils from setuptools.

[YOCTO #14638]

(From OE-Core rev: 1183357dc9ebff0281c195b41f16fa07c79e84a0)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-25 15:07:50 +00:00
Tim Orling
7b4524f5a1 python3-scons: merge -native recipe
The native recipe simply calls create_wrapper to add a host script. Do
this via do_install:append:class-native()

The scons*.1 man pages are being installed in ${prefix}, move them to
${mandir} (previously installed in ${datadir}).

[YOCTO #14638]

Drop from maintainers.inc

(From OE-Core rev: f91009d168bcad5df6b3ca4f5cd4babff5cf682c)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-25 15:07:50 +00:00
Tim Orling
5c5347449e python3-smartypants: patch hash bang to python3
Change hash bang in smartypants and smartypants.py to be /usr/bin/env
python3

[YOCTO #14638]

(From OE-Core rev: ef8ccaa1dcd396dafb328cd64777d4bd6973e9e1)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-25 15:07:50 +00:00
Tim Orling
2b54e80a8a python3-libarchive-c: set PIP_INSTALL_PACKAGE
Set PIP_INSTALL_PACKAGE to libarchive_c to match the name of the wheel
built by bdist_wheel.

[YOCTO #14638]

(From OE-Core rev: e57e83d631fdd021f84cdbc827b2bc595a43b26e)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-25 15:07:50 +00:00
Tim Orling
b5cc70b392 meson: inherit setuptools_build_meta
Upstream provides a pyproject.toml which declares setuptools.build_meta
to be backend for PEP-517 packaging.

Set PIP_INSTALL_PACKAGE as this recipe does not inherit pypi and
therefor no PYPI_PACKAGE is defined

[YOCTO #14638]

(From OE-Core rev: 0d9bc65139a9cabbeabe166e83f2d61f47d7bdd7)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-25 15:07:50 +00:00
Tim Orling
9d45c92149 python3-more-itertools: set PIP_INSTALL_PACKAGE
Define PIP_INSTALL_PACKAGE as more_itertools to match the name of the
wheel.

[YOCTO #14638]

(From OE-Core rev: 2fc5674487be59bfdda21f7646c53d90687f1c36)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-25 15:07:50 +00:00
Tim Orling
981857c63a setuptools3.bbclass: refactor for wheels
Depend on python3-wheel-native so that we can build with 'setup.py
bdist_wheel'.

Use pip_install_wheel class to install the built wheels with pip, as
intended by upstream Python.

[YOCTO #14638]

(From OE-Core rev: 8b39c0bc535814e04d01d50a4891cb31b6bf84bd)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-25 15:07:50 +00:00
Tim Orling
fffeecbd9a python3-setuptools: inherit setuptools_base_meta
Upstream provides a pyproject.toml which declares the
setuptools.build_meta backend for PEP-517 packaging.

We need to bootstrap python3-setuptools-native, simply installing by
unzipping the built wheel. This avoids a dependency loop.

[YOCTO #14638]

(From OE-Core rev: 889c05e5b4ce9a36b4ac3ac869c1ef55c2f8b566)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-25 15:07:50 +00:00
Tim Orling
9dcc0b64b3 python3-pluggy: inherit setuptools_build_meta
Upstream provides a pyproject.toml which while it does not declare the
setuptools.build_meta backend is compatible with it.

[YOCTO #14638]

(From OE-Core rev: eedaa55ee5a7bec884e2deb4e39a7b737550f2f1)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-25 15:07:50 +00:00
Tim Orling
ab65a0e4e7 python3-py: inherit setuptools_build_meta
Upstreama provides a pyproject.toml which declares the
setuptools.build_meta backend for PEP-517 packaging.

[YOCTO #14638]

(From OE-Core rev: 32177ae33ab275e9d512e0d4c85773bfbc10a44c)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-25 15:07:50 +00:00
Tim Orling
387e7c4426 python3-iniconfig: inherit setuptools_build_meta
Upstream provides a pyproject.toml which decalres the
setuptools.build_meta backend for PEP-517 packaging.

DEPENDS on python3-setuptools-scm-native (as declared in the
pyproject.toml build-system.requires).

[YOCTO #14638]

(From OE-Core rev: 9a19b82aba4d63513814982b21d7879eacad8850)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-25 15:07:50 +00:00
Tim Orling
fade1b7cbe python3-zipp: inherit setuptools_build_meta
Upstream provides a pyproject.toml which declares the
setuptools.build_meta backend for PEP-517 packaging.

[YOCTO #14638]

(From OE-Core rev: 7a6846d5c9ebc972d7ebae0363834b0b371840d4)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-25 15:07:50 +00:00
Tim Orling
735340b8e7 python3-setuptools-scm: inherit setuptools_build_meta
Upstream provides a pyproject.toml which declares the
setuptools.build_meta backend for PEP-517 packaging.

[YOCTO #14638]

(From OE-Core rev: f83147625795f7b852a3ee762c31da24fb65a4c3)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-25 15:07:50 +00:00
Tim Orling
b013fdbf46 python3-pytest: inherit setuptools_build_meta
Upstream provides a pyproject.toml which declares the
setuptools.build_meta backend for PEP-517 packaging.

[YOCTO #14638]

(From OE-Core rev: 0e1e55cbccfb126245f65d1ff081acd159bf7709)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-25 15:07:50 +00:00
Tim Orling
5ebeb2b7c8 python3-git: inherit setuptools_build_meta
Upstream provides a pyproject.toml which declares the
setuptools.build_meta backend for PEP-517 packaging.

[YOCTO #14638]

(From OE-Core rev: 87aa5c9219b405db364508c09d0edd630c909969)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-25 15:07:50 +00:00
Tim Orling
7946504e8e python3-attrs: inherit setuptools_build_meta
Upstream provides a pyproject.toml which declares the
setuptools.build_meta backend for PEP-517 packaging.

[YOCTO #14638]

(From OE-Core rev: 783f7ad8198933fcb9e4b5407874565a71b17bef)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-25 15:07:50 +00:00
Richard Purdie
228c3b3562 python3-pip: Improve reproducibility
Pip installed wheels are not reproducible currently. The direct_url
files encode an installation path and the installed wheels compile
the python files at their location, not their final install location
which is incorrect.

To fix this, simply disable the direct_urls and pass the "root" to
the python compile function to strip that path out of the compiled
files.

(From OE-Core rev: 2c74d5346e7581949fbdebc4744c8317236221c3)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-25 15:07:50 +00:00
Tim Orling
3a4f842307 python3-pip-native: install scripts in ${bindir}
The naïve approach of simply unzipping the built wheel is not
sufficient. 'pip install' would normally have created the
[console_scripts] from entry-points.txt in ${D}${bindir}.

For bootstrapping purposes, hardcode the scripts and install them into
${D}${bindir}. Skip the ${bindir}/pip variant.

[YOCTO #14739]

(From OE-Core rev: 5b58328b610273fea42c144cd590e638c0dc1e4e)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-25 15:07:50 +00:00
Richard Purdie
d98a804617 python3-pip: Don't change shebang
Patch pip to disable shebang mangling and also force the python executable
to be python3 from the environment when building anything for the target
(or nativesdk).

(From OE-Core rev: 8ceb0bec18422818dcdb0efecec08ed155dc4715)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-25 15:07:50 +00:00
Tim Orling
5c46eeb375 python3-pip: inherit setuptools_build_meta
Upstream provides a pyproject.toml which declares setuptools.build_meta
as the backend for PEP-517 packaging.

We bootstrap the -native installation by simply unzipping the wheel to
PYTHON_SITEPACKAGES_DIR, so that all other recipes can use pip to
install wheels (as intended by upstream).

Check for presence of ${D}${bindir}/pip and remove if found (this was
originally to make sure Python2 pip was the default).

[YOCTO #14638]

(From OE-Core rev: 082fb72ed1683a699ef4bc2c92aa987ce9c46509)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-25 15:07:50 +00:00
Tim Orling
74e5fc20c0 setuptools_build_meta.bbclass: add helper class
This class uses the PEP 517 compliant setuptools.buil_meta to build
wheels.

[YOCTO #14638]

(From OE-Core rev: b8f25c75f152683de4fa6c176118583d3dea894d)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-25 15:07:50 +00:00
Tim Orling
ae5f415311 python3-wheel-native: install ${bindir}/wheel
pip install would normally install [project.scripts] to ${D}${bindir}
but our naïve bootstrapping only unzipps the wheel to
${D}${PYTHON_SITEPACKAGES_DIR}. Correct this by creating the equivalent
script in do_install:class-native

[YOCTO #14739]

(From OE-Core rev: 19e83270d17984cf6b471c387eb08103816b359f)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-25 15:07:50 +00:00
Richard Purdie
3dbb469523 pip_install_wheel: Use --ignore-installed for pip
Replace the use of --force-reinstall with --ignore-installed when running pip
install. It can detect currently installed modules in the wrong environment and
try to remove them currently which is not what is desired. Ignoring them is the
correct thing to do.

(From OE-Core rev: 39b0d36b00d98a848297d0667c6cffc049d215e3)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-25 15:07:50 +00:00
Richard Purdie
417f4de5c6 pip_install_wheel: Recompile modified files
If we modify the file, we need to recompile the pyc files since the file
hash has changed. This would otherwise result in reproducibility failrues.

(From OE-Core rev: 9573034eb8cdc3b9c2add67ac0a92277dc26389f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-25 15:07:50 +00:00
Tim Orling
4be36f5858 pip_install_wheel.bbclass: add helper class
Provide a helper class to use pip to install wheels built by either
bdist_wheel or a PEP-517 backend.

Set pip install arguments via PIP_INSTALL_ARGS, which can be overriden
by recipes.

Pass --root and --prefix to ensure that pip installs things into the
proper place in sysroot.

By passing --no-deps and --no-index we avoid finicky dependency
checking (pip expects wheels in its cache) and avoid trying to fetch
wheels from pypi.org. This is basically the same behavior we have now,
the dependencies should be declared in the recipe.

Also pass --force-reinstall to make sure built wheels are always installed
so that FILES gets properly populated.

Pass --no-cache to avoid a (harmless) warning about the pip cache in
$HOME be avoiding use of cache. We do not likely want wheels cached
anyway,

pip install changes the python interpreter in scripts installed in
${bindir}, e.g. to #!/usr/bin/nativepython3, correct the behavior after
install to #!/usr/bin/env python3.

[YOCTO #14638]

(From OE-Core rev: 32a61afde0e7d8df6634b88525d8c3e8c6c3516e)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-25 15:07:50 +00:00
Tim Orling
f4c43d7921 python3-wheel: inherit flit_core
Backport pyproject.toml from flit-backend branch.
Inherit flit_core class to build
Inherit pip_install_wheel to install wheels for target

We need to bootstrap python3-wheel-native in order to have bdist_wheel
available to python3-setuptools-native and the refactored
setuptools3.bbclass. Simply unzip the wheel into
PYTHON_SITEPACKAGES_DIR for class-native.

[YOCTO #14638]

(From OE-Core rev: 764d0c2e079b3511afe03deadf3ec922e41b89aa)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-25 15:07:50 +00:00
Tim Orling
29d6a3ae34 flit_core.bbclass: add helper for newer python packaging
Some python packages now use pyproject.toml and declare
flit_core.buildapi as the build engine

Use pip_install_wheel class to install.

[YOCTO #14638]

(From OE-Core rev: f0292098dc5afc62e0cd91d475edeb1784700795)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-25 15:07:50 +00:00
Tim Orling
72887eca0d python3-flit-core: inherit pip_install_wheel
Keep the pip install logic, especially --root in one place to ensure
that we fix e.g. reproducible issues in one place.

(From OE-Core rev: 200ae6b4d54c7235e0a96e2dd4bba1cdd68bd14f)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-25 15:07:49 +00:00
Tim Orling
63e3ca54b6 python3-flit-core: SUMMARY DESCRIPTION HOMEPAGE
Add SUMMARY DESCRIPTION HOMEPAGE and BUGTRACKER definitions.

(From OE-Core rev: 559145c94621d4026abf2d0a0f7f932156861446)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-25 15:07:49 +00:00
Tim Orling
2d1d8e91b2 python3-flit-core: add recipe for 3.6.0
This is the core of one of the "new build system" tools--hosted
officially as part of the pypa (Python Packaging Authority)
repositories--it is an increasingly common build tool (e.g.
typing_extensions and tomli) as declared in pyproject.toml for
said packages.

This package provides a very simple bootstrapping method that builds
the source tarball (build_sdist) and a wheel (build_wheel).

Bootstrap -native by simply unzipping the wheel to
PYTHON_SITEPACKAGES_DIR.

Use pip to install the wheel for class-target.

Wheels are the official vehicle for delivering Python packages now.
Eggs (egg-info) are deprecated and will increasingly go away.

[YOCTO #14638]

(From OE-Core rev: 18717181e4a893fd7c309eb75443a868ec4e83eb)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-25 15:07:49 +00:00
Richard Purdie
2a06ab3eb8 licenses: Fix logic error introduced in rename
The previous commit introduced a small logic error. Fix the renaming issue.

(From OE-Core rev: b01e10b27d23ea1b4ac58376c2423505a70832d6)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-25 12:45:41 +00:00
Ross Burton
18f40dfdfd oeqa/controllers: update for MasterImageHardwareTarget->Controller...
oe-core f87b328 renamed MasterImageHardwareTarget to
ControllerImageHardwareTarget, but these files were left out of the
updates.

(From meta-yocto rev: 8e578551e14e90da20701bb8a9598e2bb25f74e6)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-25 12:41:48 +00:00
Tamizharasan Kumar
d418a495bb linux-yocto/5.15: update genericx86* machines to v5.15.22
(From meta-yocto rev: 30dba8a1fb7281d019fb0b6d0b4e82d0be54e248)

Signed-off-by: Tamizharasan Kumar <tamizharasanx.kumar@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-25 12:41:48 +00:00
Tamizharasan Kumar
a39515a78b linux-yocto/5.10: update genericx86* machines to v5.10.99
(From meta-yocto rev: ce1b3550849bfc76fb3e0a76c9d1f495d56b6051)

Signed-off-by: Tamizharasan Kumar <tamizharasanx.kumar@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-25 12:41:48 +00:00
Stefan Herbrechtsmeier
6452862674 files: overlayfs-create-dirs: split ExecStart into two commands
Split ExecStart into two commands because systemd interpret an ExecStart
entry as a single executable with multiple parameters.

systemd[1]: Starting Overlayfs directories setup...
mkdir: cannot create directory '&&': Read-only file system
mkdir: cannot create directory 'mkdir': Read-only file system

(From OE-Core rev: 209204f7f9d294543fd57b90e29a95c2cde66d99)

Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-25 12:41:24 +00:00
Stefan Herbrechtsmeier
4fee926120 classes: rootfs-postcommands: avoid exception in overlayfs_qa_check
The overlayfs_qa_check in the rootfs-postcommands class throws an
exception if the overlayfs distro feature is enabled but no global
OVERLAYFS_MOUNT_POINT is specifived.

File: '/home/stefan/dalos-linutronix/poky/meta/classes/rootfs-postcommands.bbclass', lineno: 389, function: overlayfs_qa_check
     0385:    searchpaths = [oe.path.join(imagepath, d.getVar("sysconfdir"), "systemd", "system"),
     0386:                   oe.path.join(imagepath, d.getVar("systemd_system_unitdir"))]
     0387:
     0388:    allUnitExist = True;
 *** 0389:    for mountPoint in overlayMountPoints:
     0390:        path = d.getVarFlag('OVERLAYFS_MOUNT_POINT', mountPoint)
     0391:        unit = mountUnitName(path)
     0392:
     0393:        if not any(os.path.isfile(oe.path.join(dirpath, unit))
Exception: TypeError: 'NoneType' object is not iterable

(From OE-Core rev: 4396348c24efb1185d68876d3cf6ade90324dee5)

Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-25 12:41:24 +00:00
Alexandru Ardelean
fd2c86b069 libsndfile1: bump to version 1.0.31
It seems that the homepage has moved (for a while now) from
  http://www.mega-nerd.com/libsndfile/
to
  https://libsndfile.github.io/libsndfile/

On Github, the development group seems to include Erik de Castro Lopo (the
original author of libsndfile1).
Link: https://github.com/orgs/libsndfile/people

All backported CVE patches are in version 1.0.31 (I've checked).

The supported format page [1], mentions that Ogg/Opus is supported since
1.0.29, however that isn't currently added in this patch. And it may
require libopus.
And mp3 is supported at around version 1.1.0, but that version is in beta.

This change focuses solely on updating to 1.0.31 and removing all
backported patches.

[1] https://libsndfile.github.io/libsndfile/formats.html

(From OE-Core rev: 6e12ee5f7871150c11dac754145d146ed364b506)

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-25 12:41:24 +00:00
Saul Wold
e629653463 license.py: rename variables
Update the comment to reflect new variable names

(From OE-Core rev: 7fbab1aefc127f0e1834f51a8a793b0d7e7b4f07)

Signed-off-by: Saul Wold <saul.wold@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-25 12:41:24 +00:00
Alex Stewart
fc2b2c7927 sudo: add /etc/sudoers to sudo-lib conffiles
When OE-core commit 788c95c3bb8ede0d3d6a8f125743ac47c0b3f00e created the
`sudo-lib` subpackage, /etc/sudoers was moved from `sudo` to `sudo-lib`.
The commit didn't update the `CONFFILES:${PN}` assignment in sudo.inc,
however. So the `sudo` base package continued to advertise conffile
ownership of /etc/sudoers, though it did not contain it.

Move the CONFFILES assignment to the sudo.bb file, since it is
packaging-related. Change the package owner to the `sudo-lib`
subpackage, since it is the rightful file-owner.

(From OE-Core rev: 7d688f0ece8fa7e3118cde0c79bbcc56048a2bb5)

Signed-off-by: Alex Stewart <alex.stewart@ni.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-25 12:41:24 +00:00
wangmy
72f997c928 libdrm: upgrade 2.4.109 -> 2.4.110
(From OE-Core rev: 621623a5421172fddda1c31edaaba269a4b83e1a)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-25 12:41:24 +00:00
wangmy
60214a618e init-system-helpers: upgrade 1.60 -> 1.62
Changelog:
=========
* use fakechroot instead of unsharing the mount namespace and mounting tmpfs
* deb-systemd-invoke: systemctl --machine @<UID> is now available in
  v249.10. Adjust the version check accordingly
* Skip build-time tests if DEB_BUILD_OPTIONS=nocheck is set
* Fix typos found by Lintian
* Set Rules-Requires-Root: no

(From OE-Core rev: 5ee6558c4364d49a0e003648ac49f58f1fb41765)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-25 12:41:24 +00:00
wangmy
de6ffe2426 flac: upgrade 1.3.3 -> 1.3.4
(From OE-Core rev: 2a5fc361fa6e4709be44a4b7ebd11337e43424c3)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-25 12:41:24 +00:00
wangmy
926f4e24a9 bind: upgrade 9.16.25 -> 9.16.26
Changelog:
==========
Log "quota reached" message when hard quota is reached when accepting a connection.

Add ECS support to the DLZ interface.

A failed view configuration during a named reconfiguration procedure could cause
inconsistencies in BIND internal structures, causing a crash or other unexpected errors.

rndc could crash when interrupted by a signal before receiving a response.

Correctly detect and enable UDP recvmmsg support in all versions of libuv that support it.

(From OE-Core rev: c47caa7c8ca77ff137988deaf2d2a8b381f5a3f8)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-25 12:41:24 +00:00
LiweiSong
ea422d16ff qemu: add tpm string section to qemu acpi table
This will create _STR and _UID section for TPM in qemu acpi table,
with these section, the missing "description" and "uid" files will
be created for TPM in /sys by kernel.

(From OE-Core rev: 88bf29935358e727c65693085b50a57f879b774b)

Signed-off-by: Liwei Song <liwei.song@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-25 12:41:24 +00:00
Saul Wold
92ec600cac package: rename LICENSE_EXCLUSION
By renaming LICENSE_EXCLUSION to _exclude_incompatible, it makes it
clear that this is an internal variable.

(From OE-Core rev: 20a4cc2c2dcf345ef898abfe7735b7bc75ac0059)

Signed-off-by: Saul Wold <saul.wold@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-25 12:41:24 +00:00
Ross Burton
440f07d211 cve-check: get_cve_info should open the database read-only
All of the function in cve-check should open the database read-only, as
the only writer is the fetch task in cve-update-db.  However,
get_cve_info() was failing to do this, which might be causing locking
issues with sqlite.

(From OE-Core rev: 8de517238f1f418d9af1ce312d99de04ce2e26fc)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-25 12:41:23 +00:00
wangmy
fa1721d3af wireless-regdb: upgrade 2021.08.28 -> 2022.02.18
(From OE-Core rev: e5c06ddfd3c0db0d0762c0241c019f59ad310e53)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-25 12:41:23 +00:00
wangmy
535f6538b6 ruby: upgrade 3.1.0 -> 3.1.1
refresh the following patches for 3.1.1:
0005-Mark-Gemspec-reproducible-change-fixing-784225-too.patch
0006-Make-gemspecs-reproducible.patch

(From OE-Core rev: 6ae009ae73fc81de441d57699fee61b6fcc48600)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-25 12:41:23 +00:00
wangmy
a93937bb40 quilt: upgrade 0.66 -> 0.67
Changelog:
=========
- Call pager with original LANG environment variable
- Consistently complain early if no series file is found
- Fix handling of symbolic links by several commands
- Tighten the patch format parsing
- Reuse the shell (performance)
- Document the series file format further
- Document that quilt loads /etc/quilt.quiltrc
- configure: Make stat configurable
- series: Minor optimizations
- setup: Don't obey the settings of any englobing .pc
- setup: Default to fast mode
- quilt.el: Fix documentation of quilt-pc-directory
- quilt.el: Load /etc/quilt.quiltrc if ~/.quiltrc doesn't exist
- quilt.el: Fix quilt-editable when QUILT_PATCHES_PREFIX is set

(From OE-Core rev: fa71afcee9ab42198c619333b77a15bd2ae02b20)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-25 12:41:23 +00:00
wangmy
d9cdd64d6e patchelf: upgrade 0.14.3 -> 0.14.5
(From OE-Core rev: 5d5b7126c71b57d049ecd9bdd28edd7d1166b101)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-25 12:41:23 +00:00
wangmy
552b655f76 libva-utils: upgrade 2.13.0 -> 2.14.0
Changelog:
=========
* test: Use test suite setup/teardown to reduce test overhead
* ci: fix freebsd build

(From OE-Core rev: 6fcb278ffb38fe1ff6379a7cf0d40c19913ccae3)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-25 12:41:23 +00:00
Ross Burton
e89540f2bb coreutils: remove obsolete ignored CVE list
Three CVEs were meant to be ignored via CVE_WHITELIST, but that wasn't
the correct variable name.

The CPEs for those CVEs mean that they don't get picked up in our report,
so just remove the assignment.

(From OE-Core rev: dea00faf30ec7c19b6b5ed4651b430ba3faf69ff)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-25 12:41:23 +00:00
Richard Purdie
5f39a413d9 python3targetconfig: Use for nativesdk too
nativesdk is a cross compiled target and therefore should use the target
config, not the native one. Copy the target entries accordingly.

(From OE-Core rev: b1b5fec350b390fa7f2d26966df1411b032faf87)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-25 12:41:23 +00:00
Zoltán Böszörményi
f8c99d2d66 gtk-icon-cache: Allow using gtk4
meta-openembedded has gtk4 which has its own version of
gtk-update-icon-cache. Allow programs that want to use gtk4
use the proper version of the gtk-update-icon-cache utility
and the proper build and runtime dependencies.

Also use a more readable syntax for conditional values in DEPENDS.

(From OE-Core rev: 2a927a581e599af8e544e17517cdda1cfaf63e16)

Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-25 12:41:23 +00:00
Oleksandr Suvorov
889788bffc depmodwrapper-cross: add config directory option
Native depmod by default try to find config files from the following
directories:
```
${STAGING_ETCDIR_NATIVE}/depmod.d
/run/depmod.d
/usr/local/lib/depmod.d
/lib/depmod.d
```

but none of them is correct, change to load config files from
${sysconfdir}/depmod.d of basedir.

(From OE-Core rev: aa03d77f009af2b03246554566de2a1eea3f5e2f)

Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-25 12:41:23 +00:00
Yi Zhao
9954ff5056 glibc: fix multilib headers conflict for arm
Fixes:
Error: Transaction test error:
  file /usr/include/bits/dl_find_object.h conflicts between attempted installs of lib32-libc6-dev-2.35-r0.armv7vet2hf_vfp and libc6-dev-2.35-r0.cortexa57
  file /usr/include/bits/rseq.h conflicts between attempted installs of lib32-libc6-dev-2.35-r0.armv7vet2hf_vfp and libc6-dev-2.35-r0.cortexa57
  file /usr/include/bits/timesize.h conflicts between attempted installs of lib32-libc6-dev-2.35-r0.armv7vet2hf_vfp and libc6-dev-2.35-r0.cortexa57

(From OE-Core rev: 0982c2bc19f4cacd72fd43f93c6a0a4d45a75c6a)

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-25 12:41:23 +00:00
Yi Zhao
f44c0187ed glibc: unify wordsize.h between arm and aarch64
Make sure this header file is same in arm and aarch64.

Fix the conflict error when enable multilib:
Error: Transaction test error:
  file /usr/include/bits/wordsize.h conflicts between attempted installs of lib32-libc6-dev-2.35-r0.armv7vet2hf_vfp and libc6-dev-2.35-r0.cortexa57

(From OE-Core rev: 402ba8367f5316fd8d25a536ebd12bc0bcdfa400)

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-25 12:41:23 +00:00
Tim Orling
cb0aa0d09a python3-wheel: move 0.37.1 from meta-python
This is one of the "new build tools" which are part of pypa (Python
Packaging Authority) toolchain.

Wheels are the official delivery mechanism for Python packages, replacing
the now deprecated Eggs (egg-info).

[YOCTO #14638]

(From OE-Core rev: 78a4bccfa38c2d3a6a4a097319eec28c2bc357a7)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-25 12:41:23 +00:00
Pavel Zhukov
da344db43c patch.py: Prevent git repo reinitialization
There were few bugs in the _isInitialized() function which might trigger
git repo to be reinitialized and patches failing to apply.

(From OE-Core rev: 80500ecda4c1bc8812e6e078b6b0db5ec46624de)

Signed-off-by: Pavel Zhukov <pavel.zhukov@huawei.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-25 12:41:23 +00:00
Andres Beltran
e43a9d15ea create-spdx: add support for SDKs
Currently, SPDX SBOMs are only created for images. Add support for
SDKs.

(From OE-Core rev: c3acbb936a339636153903daf127eec9f36de79b)

Signed-off-by: Andres Beltran <abeltran@linux.microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-25 12:41:23 +00:00
Lee Chee Yang
5083a80245 libarchive : update to 3.5.3
Libarchive 3.5.3 is a security release

Security Fixes:

extended fix for following symlinks when processing the fixup list (#1566, #1617, CVE-2021-31566)
fix invalid memory access and out of bounds read in RAR5 reader (#1491, #1492, #1493, CVE-2021-36976)

(From OE-Core rev: 5b00b0e015312264cdb3fd88b6f4a8df456316c3)

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-25 12:41:23 +00:00
Khem Raj
20f23b5f65 scripts/documentation-audit: Use renamed LICENSE_FLAGS_ACCEPTED variable
(From OE-Core rev: c8f8fe5a4f57febb1fb9b54f53d2a0b95f01179b)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-25 08:38:46 +00:00
Quentin Schulz
89544cf511 docs: fix hardcoded link warning messages
Sphinx complains about hardcoded links which can be replaced by an
extlink.

So let's apply its recommendations.

Cc: Quentin Schulz <foss+yocto@0leil.net>
(From yocto-docs rev: dc2ec13cfbe0f20a868108a0bd800c0a875c1796)

Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-23 18:12:10 +00:00
Quentin Schulz
4dbb515327 docs: point to renamed BB_BASEHASH_IGNORE_VARS variable
Since commit 98b3ed1b2e "meta/scripts: Handle bitbake variable
renaming", the new name of the variable is BB_BASEHASH_IGNORE_VARS
so let's update it so that Sphinx can resolve the Bitbake reference.

Cc: Quentin Schulz <foss+yocto@0leil.net>
(From yocto-docs rev: a6c6283e9cc30ca580f1719d8e22fca5f79c1e50)

Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-23 18:12:10 +00:00
Richard Purdie
f4bfa6df20 bitbake: tests/fetch: Update for master -> main change upstream
(Bitbake rev: f0fc0fe94161d4dd4f34df8426222ac590ef6736)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-23 18:12:10 +00:00
Scott Murray
3c7c2fa055 scripts: fix file writing in convert-spdx-licenses
The convert-spdx-licenses.py script needs the same file closing
fix as was made to convert-variable-renames to ensure modified
file contents get flushed out.

(From OE-Core rev: 46135c87345c7189053dafbed92c754f9f328c32)

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-22 15:24:51 +00:00
Martin Jansa
d03235b2c2 icecc.bbclass: fix syntax error
'class' is already taken as keyword and python doesn't like this:

  ERROR: Error in compiling python function in oe-core/meta/classes/icecc.bbclass, line 151:

  The code lines resulting in this error were:
       0020:    check_pn = set([pn, bpn])
       0021:
       0022:    class_disable = (d.getVar('ICECC_CLASS_DISABLE') or "").split()
       0023:
   *** 0024:    for class in class_disable:
       0025:        if bb.data.inherits_class(class, d):
       0026:            bb.debug(1, "%s: class %s found in disable, disable icecc" % (pn, class))
       0027:            return "no"
       0028:
  SyntaxError: invalid syntax (icecc.bbclass, line 151)

(From OE-Core rev: 31be8f47502681d5621af032bca216c22f78fb84)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-22 15:24:51 +00:00
Richard Purdie
6c23bd5c81 bitbake: data_smart: Avoid exceptions for non string data
File "scripts/lib/checklayer/__init__.py", line 49, in _get_layer_collections
    ldata.expandVarref('LAYERDIR')
  File "build/bitbake/lib/bb/data_smart.py", line 1007, in expandVarref
    if referrervalue and ref in referrervalue:
TypeError: argument of type 'bool' is not iterable

We inject True values as an internal sentinel to the datastore, fix
this codepath to handle it.

(Bitbake rev: 3b88562d87ac94725c1a683c859c2a6a3287d173)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-22 11:38:18 +00:00
Scott Murray
ccbc29bbc4 scripts: fix file writing in convert-variable-renames
In my test environments (Fedora 35 and Debian 10.10 on AMD 2970WX),
running the convert-variable-renames.py rename script was resulting
in empty files instead of updated ones.  From inspection, the new
files are never flushed/closed before moving them into place, which
seems inherently racy.  Adding an explicit close to flush the modified
contents out before moving into place fixes the issue for me.

(From OE-Core rev: 187ac1ea0a701a5ba9ec92f6aa32f2a67600a584)

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-22 08:23:50 +00:00
Saul Wold
cc07ffe8f7 meta: Further LICENSE_FLAGS variable updates
Add further tweaks to comments and variable names for license variable change.

(From OE-Core rev: 4125d86f1d3adc53230c02bce4bab46b8c21116f)

Signed-off-by: Saul Wold <saul.wold@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-21 23:44:24 +00:00
Saul Wold
0b78f36432 Rename LICENSE_FLAGS variable
(From meta-yocto rev: e937a42996c046baca7ce502c6ce0ee3c7ed38e3)

Signed-off-by: Saul Wold <saul.wold@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-21 23:37:27 +00:00
Ross Burton
29dadf807a poky-tiny: set QB_DEFAULT_FSTYPE correctly
QB_DEFAULT_FSTYPE is used literally as the image extension in the testimage
code, so this shouldn't be set as IMAGE_FSTYPES because that variable is a
list of image types, so if IMAGE_FSTYPES is extended and testimage ran it
will try to look for an image called e.g. "core-image-minimal-cpio.gz ext4".

Instead, set QB_DEFAULT_FSTYPE explicitly to cpio.gz.

(From meta-yocto rev: 78d2ca75839aac47007522d4b6f790a4bd32b950)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-21 23:37:27 +00:00
Ross Burton
dec75f203a poky-tiny: don't skip core-image-base and core-image-full-cmdline
Building a "tiny" core-image-full-cmdline may not make a lot of sense, but it
build, so don't skip these images.

(From meta-yocto rev: a03d9df579cfdfdaa0e0967f04cbd7c62cd40055)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-21 23:37:27 +00:00
Scott Murray
8cc8380074 meta-poky: Update BB_DISKMON_DIRS use
Update the example BB_DISKMON_DIRS definitions in the sample
local.conf files for the rename of the "ABORT" action to "HALT".

(From meta-yocto rev: f7dc69745e3dbd5cf0d4950c44169b26c30b1902)

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-21 23:37:27 +00:00
Richard Purdie
d58ab95484 layer.conf: Update to kirkstone namespace
(From meta-yocto rev: a9224d845854f0f213b53648c4b01b0785c749c0)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-21 23:37:27 +00:00
Saul Wold
35b01e301b poky-tiny: Use renamed SKIP_RECIPES varFlag
This is a more descriptive variable name updated in base.bbclass

(From meta-yocto rev: 4e9e91dbd2d9aa14a9424b615484290fc863481c)

Signed-off-by: Saul Wold <saul.wold@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-21 23:37:27 +00:00
Saul Wold
0b46552625 meta: Rename LICENSE_FLAGS variable
(From OE-Core rev: 5c5b3bc563059ba728dc9724656cc69669f8e25f)

Signed-off-by: Saul Wold <saul.wold@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-21 23:37:27 +00:00
Richard Purdie
2b22c16376 bitbake.conf: Add entries to warn on usage of removed variables
Add entries for the removed variables TUNEABI_WHITELIST and INHERIT_BLACKLIST.

(From OE-Core rev: b3bf2862e221af157f545a216b56b9b393dcc66d)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-21 23:37:27 +00:00
Richard Purdie
3be8a7a6b1 icecc: Improve variables/terminology
The SYSTEM and USER seperation between variables seems odd and not necessary,
drop it. Avoid the use of whitelist/blacklist and also change "packages" to
"recipes" since that misuse causes confusion.

(From OE-Core rev: 0df0eb6401a02139b9110bc95e21d97a67125ec5)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-21 23:37:27 +00:00
Richard Purdie
71ef319193 meta/scripts: Automated conversion of OE renamed variables
(From OE-Core rev: aa52af4518604b5bf13f3c5e885113bf868d6c81)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-21 23:37:27 +00:00
Saul Wold
5a3d6c7bda scripts: Add convert-variable-renames script for inclusive language variable renaming
This script searches for a list of variable that have been renamed
and converts them to their more descriptive names. It also searches
for a list of variables that have been removed or deprecated and
prints a message.

It will print a message to inform the user that there are terms that
need to be updated in their files. Many of these changes are context
sensitive and may not be modified as they might be existing calls to
other libraries. This message is informational only.

I have tested this on poky and meta-openembedded so far.

(From OE-Core rev: 50fe7ba8dba05a9681c9095506f798796cfc2750)

(From OE-Core rev: 75f319c105484d0b312a858cc0bd8148728c8622)

Signed-off-by: Saul Wold <saul.wold@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-21 23:37:27 +00:00
Richard Purdie
1d7e1e4f63 bitbake.conf: Add entries for renamed variables
(From OE-Core rev: ca3da0985476819a8e8e720f384f5b8219e5fa54)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-21 23:37:27 +00:00
Saul Wold
b02d198474 imagefeatures: selftest: Change variable to be more descriptive
This changes a couple of variables to be more representive of
their usage.

(From OE-Core rev: f776a4afc279f71d362d42303a930fdc47f11755)

Signed-off-by: Saul Wold <saul.wold@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-21 23:37:27 +00:00
Saul Wold
267517adc7 multilib: Use renamed SKIP_RECIPE varFlag
This is a more descriptive variable name updated in base.bbclass

(From OE-Core rev: d28227ff665f4dcc4e7522829e531cdc1fbb1da4)

Signed-off-by: Saul Wold <saul.wold@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-21 23:37:27 +00:00
Saul Wold
dd9c94e66f dnf: Use renamed SKIP_RECIPE varFlag
This is a more descriptive variable name updated in base.bbclass

(From OE-Core rev: 258662ccf5ceb027ba0e507e2a581c4ee7e9cd04)

Signed-off-by: Saul Wold <saul.wold@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-21 23:37:27 +00:00
Saul Wold
297def3be5 blacklist: Replace class with SKIP_RECIPE variable
Remove the old class and rename VarFlag to SKIP_RECIPE, handling this
in base.bbclass for efficiency. This means a separate inherit is no longer
needed.

This change better describes what the VarFlag is doing since it
is implemeted with the SkipRecipe() function.

By moving this into base.bbclass we simplify the distro inherit.

(From OE-Core rev: a5f735746cba6af41a25aa2aa121453a8bc363b4)

Signed-off-by: Saul Wold <saul.wold@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-21 23:37:27 +00:00
Scott Murray
ed198efba4 local.conf/oeqa: Update BB_DISKMON_DIRS use
Update the example BB_DISKMON_DIRS definitions in the sample
local.conf files for the rename of the "ABORT" action to "HALT",
and also update related error messages in one selftest to use
the new action name.

(From OE-Core rev: ccb63df13501968502fc0da8ced80b934d6d846e)

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-21 23:37:27 +00:00
Richard Purdie
98b3ed1b2e meta/scripts: Handle bitbake variable renaming
After other variables were renamed in bitbake, update OE-Core to match.

(From OE-Core rev: 91812ba5a34598e03ad860745707c7cba1ae5d91)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-21 23:37:27 +00:00
Richard Purdie
492214104a meta/scripts: Change BB_ENV_EXTRA_WHITE -> BB_ENV_PASSTHROUGH_ADDITIONS
After the change to bitbake, update the references in OE-Core to match the updates.

(From OE-Core rev: 193affb9f28b0116c3fd619834f145326fee08c5)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-21 23:37:26 +00:00
Richard Purdie
364319817a layer.conf: Update to use kirkstone
Update the layers to use the kirkstone namespace. No compatibility is made
for honister due to the variable renaming.

(From OE-Core rev: 4a180aa5b30cc0906072d5b1e970eea41f1ce642)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-21 23:37:26 +00:00
Richard Purdie
9558037e71 sanity.conf: Require bitbake version 1.53.1
We require the code to handle variable renaming which is in this version
of bitbake.

(From OE-Core rev: e0f5938737727c3a2d738cd595a1f891c444c3c8)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-21 23:37:26 +00:00
Denys Dmytriyenko
bb4f2bfcec yocto-check-layer: add ability to perform tests from a global bbclass
This is useful when needing to test layer's recipes, where this special
bbclass can define a global python function that gets called on each
recipe parsing during "bitbake -S none world" signature dump and be able
to fail layer's check accordingly.

First test being added is to detect recipes skipping "installed-vs-shipped"
QA check. As "installed-vs-shipped" is a packaging QA check, it happens very
late in the build process and failing it could mean some potential issues
with packaging, especially when recipe uses BBCLASSEXTEND="nativesdk" and
resulting package is used in an SDK.

In OE-Core failing this QA check leads to an error, but other layers can
suppress it or change it to a warning. Detecting weird packaging problems
with SDKs is quite difficult and time consuming. Also, waiting for the
actual "installed-vs-shipped" packaging QA check to fail means that all
recipes in the layer under test have to run through all standard tasks in
the build chain, equivalent to a multi-hour world-build.

Hence yocto-check-layer takes a shortcut and only detects a mere attempt
at skipping "installed-vs-shipped" QA check in the INSANE_SKIP list during
initial parsing when dumping the signature information for the layer.

(From OE-Core rev: e8baa75535fc888f1d768b23a0140475e832c910)

Signed-off-by: Denys Dmytriyenko <denis@denix.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-21 23:37:26 +00:00
Richard Purdie
66998aeec8 bitbake: bitbake: Bump version to 1.53.1
(Bitbake rev: 4a7fb394a2f148517c36cf36bfd8f2be707efb27)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-21 23:37:26 +00:00
Marta Rybczynska
da4c443ac5 bitbake: lib/bb: fix exit when found renamed variables
Until now, if a renamed variable was found, bitbake exited
immediately if it was in a class, but continued after an error
message if the variable was in a recipe. This was caused by
cookerdata.py CookerDataBuilder::parseBaseConfiguration checking
a different DataSmart instance than the variable was set in.
To solve the issue, add a special variable and set it when we
find a renamed variable. Check for it in ast.py and bail out
if needed.

(Bitbake rev: d12400600e30549c88dc9e7883dc3d63b1dc1117)

Signed-off-by: Marta Rybczynska <marta.rybczynska@huawei.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-21 23:37:26 +00:00
Scott Murray
f7fccbe289 bitbake: bitbake: Replace remaining "abort" usage
In line with the inclusive language migration defined at:

https://wiki.yoctoproject.org/wiki/Inclusive_language

replace the remaining usage of "abort" in documentation, error
messages, and comments with halt/fail/exit as appropriate.
A couple of external Javascript API calls in Toaster remain, as
they cannot currently be changed.

(Bitbake rev: bc27762bf3ffb4a20b58eace5302438c4a526626)

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-21 23:37:26 +00:00
Scott Murray
4f77505d94 bitbake: lib/bb: Replace "ABORT" action in BB_DISKMON_DIRS
In line with the inclusive language migration defined at:

https://wiki.yoctoproject.org/wiki/Inclusive_language

replace the "ABORT" action in BB_DISKMON_DIRS entries with "HALT".
In order to ease migration, code has been added to warn users to
update their configurations if the old name is used, as opposed to
to throwing an error.

(Bitbake rev: 11dc65dc077398ff9818060769c99c0090291186)

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-21 23:37:26 +00:00
Scott Murray
424269caea bitbake: lib/bb: Replace "abort" usage in task handling
In line with the inclusive language migration defined at:

https://wiki.yoctoproject.org/wiki/Inclusive_language

replace the use of "abort" with "halt" in code related to handling
task failure.

(Bitbake rev: 831fb7f2329a3cd95b71e9c85d7d7f0d717f947f)

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-21 23:37:26 +00:00
Scott Murray
09a62d96c7 bitbake: lib: Replace remaining "blacklist"/"whitelist" usage
In line with the inclusive language migration defined at:

https://wiki.yoctoproject.org/wiki/Inclusive_language

replace the remaining non-backwards-compatibility related usage
of "blacklist"/"whitelist" with "allowed"/"disallowed" in a few
places as appropriate.

(Bitbake rev: f579fb8c23d2919d25641fa4234f8a1e9c06a922)

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-21 23:37:26 +00:00
Richard Purdie
f2fc11cad7 bitbake: data_smart: Add support to BB_RENAMED_VARIABLES for custom strings
Add support for custom strings in BB_RENAMED_VARIABLES and use this to show
that BB_STAMP_WHITELIST and BB_STAMP_POLICY are no longer supported.

(Bitbake rev: 0914011f7647571ab125bbddcd7d68e3da47226a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-21 23:37:26 +00:00
Richard Purdie
638869230f bitbake: data_smart: Allow rename mechanism to show full expressions
(Bitbake rev: bac6f7acfd2e6b5b4d6d3a8d40beeff76b215751)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-21 23:37:26 +00:00
Scott Murray
3ff067647f bitbake: bitbake: Rename allowed multiple provider variable
In line with the inclusive language migration defined at:

https://wiki.yoctoproject.org/wiki/Inclusive_language

rename:

MULTI_PROVIDER_WHITELIST -> BB_MULTI_PROVIDER_ALLOWED

(Bitbake rev: a09546b725fda13c0279638c7c904110da7bf6cd)

(Bitbake rev: d035435c1a4951a45481867cf932faa4a6f8f936)

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-21 23:37:26 +00:00
Scott Murray
3c971c0400 bitbake: bitbake: Rename setscene enforce filtering variable
In line with the inclusive language migration defined at:

https://wiki.yoctoproject.org/wiki/Inclusive_language

rename:

BB_SETSCENE_ENFORCE_WHITELIST -> BB_SETSCENE_ENFORCE_IGNORE_TASKS

(Bitbake rev: 2e243ac06581c4de8c6e697dfba460ca017d067c)

(Bitbake rev: f8f7b80a0df4646247e58238a52a7d85a37116d4)

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-21 23:37:26 +00:00
Scott Murray
18a400d117 bitbake: bitbake: Rename configuration hash filtering variable
In line with the inclusive language migration defined at:

https://wiki.yoctoproject.org/wiki/Inclusive_language

rename:

BB_HASHCONFIG_WHITELIST -> BB_HASHCONFIG_IGNORE_VARS

(Bitbake rev: f344246be73d626c215f867718e45fd6cddc2aaf)

(Bitbake rev: 371deb3fe8510aadf4455810d7c5243d374e6532)

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-21 23:37:26 +00:00
Scott Murray
8e5a8a2b53 bitbake: bitbake: Rename environment filtering variables
In line with the inclusive language migration defined at:

https://wiki.yoctoproject.org/wiki/Inclusive_language

rename:

BB_ENV_WHITELIST -> BB_ENV_PASSTHROUGH
BB_ENV_EXTRAWHITE -> BB_ENV_PASSTHROUGH_ADDITIONS

(Bitbake rev: fe60627839d4280cf0117ed1afbfccdff1181b6a)

(Bitbake rev: 87104b6a167188921da157c7dba45938849fb22a)

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-21 23:37:26 +00:00
Scott Murray
8a16bf5321 bitbake: bitbake: Rename basehas and taskhash filtering variables
In line with the inclusive language migration defined at:

https://wiki.yoctoproject.org/wiki/Inclusive_language

rename:

BB_HASHBASE_WHITELIST -> BB_BASEHASH_IGNORE_VARS
BB_HASHTASK_WHITELIST -> BB_TASKHASH_IGNORE_TASKS

the derived code variables basewhitelist and taskwhitelist have been
renamed to basehash_ignore_vars and taskhash_ignore_tasks,
respectively.

[RP: Added compatibility mapping code and tweaked naming]
(Bitbake rev: efaafc9ec2e8c0475e3fb27e877a1c0a5532a0e5)

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-21 23:37:26 +00:00
Richard Purdie
478cb0ce2c bitbake: data_smart/cookerdata: Add variable remapping support
This change adds support for improving the user experience when variables
are renamed. This isn't as simple as it might first appear since some
bitbake variables are used through the environment before the datastore
exists, some are bitbake variables which we know about straight away
and some are metadata defined which we don't know about until later.

This patch adds support for handling these different cases, allowing a list
of bitbake renamed variables to be defined in bitbake itself and allows this
to be extended through the metadata using BB_RENAMED_VARIABLES.

In order to give the best feedback to the user, we default to turning on
variable history tracking in the base data store from knotty, which allows
filename and line number information to be shown.

(Bitbake rev: bd50a5d5e4b4fa90844464396887ebdff0d4e5f7)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-21 23:37:26 +00:00
Alexander Kanavin
8f4b84c98c devtool: explicitly set main or master branches in upgrades when available
In particular this resolves devtool's inability to pick a branch
when the same tagged commit is avaiable in main and in a release maintenance
branch.

Thanks to Peter Kjellerstedt for the suggestion.

(From OE-Core rev: bcb21ee2760a2c76039412a56c6cda43fbf96fd0)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-21 21:53:52 +00:00
Alexander Kanavin
e4c8f51dd5 weston-init: replace deprecated/disabled fbdev with drm backend
drm will default to opengl rendering by default; if this is
problematic, --use-pixman option may help, apply only where
it's proven necessary.

(From OE-Core rev: 432f24ef9af3c0e6e0c769dc2a751023138f7bae)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-21 21:53:52 +00:00
Ross Burton
f6d963fa6d kernel: make kernel-base recommend kernel-image, not depend
As kernel modules depend on the base kernel package, and the base kernel
recipe depends on the kernel image, it's impossible to build file system
images which contain kernel modules but not the kernel itself, such as
an initramfs.

Change the RDEPENDS to RRECOMMENDS so that the disk images can set
PACKAGE_EXCLUDE = "kernel-image-*" to remove the kernel.

(From OE-Core rev: 1c90b27d2c65cfb4f9debf0272820b6a95942f76)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-21 21:53:52 +00:00
Richard Purdie
196818a18a oeqa/selftest/bblogging: Split the test cases up for ease of testing
This makes it easier to see which of the tests are passing/failing for
a given change which aids debugging.

(From OE-Core rev: 37efc67e9f4560edba05c7c50acfd0d420c143ff)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-21 21:53:52 +00:00
Peter Kjellerstedt
42243c9e22 oeqa/selftest/bblogging: Add logging tests for bb.build.exec_func with shell/python code
The situation regarding logging is different when a function called by
bb.build.exec_func() fails compared to when the task code fails
directly. There is a recent fix in bitbake to solve that and these
tests will hopefully prevent regressions.

(From OE-Core rev: 50ccfaa8b3ed340ee7f906934b211a1c73eb8db5)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-21 21:53:52 +00:00
Khem Raj
528686b980 boost: Fix build on 32bit arches with 64bit time_t defaults
(From OE-Core rev: 2702bac9e5c13f8a30153a1c45b278eebc9f11e5)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-21 21:53:52 +00:00
Martin Jansa
5fd0c16035 systemd: fix DeprecationWarning about regexps
* fixes:
  oe-core/meta/classes/package.bbclass:1342: DeprecationWarning: invalid escape sequence \.

(From OE-Core rev: 65ddc0f68fc2e6e8fd38ac48fd18e8099b52ec1b)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-21 21:53:52 +00:00
Richard Purdie
59e87e380a bitbake: utils: Ensure shell function failure in python logging is correct
If a python function exec_func() calls a shell task, the logging wasn't working
correctly in all cases since the exception was turned into a BBHandledException()
and the logfile piece was lost which is handled at the top task level.

The easiest way to avoid this is to allow the ExecutionError exceptions to
be raised to a higher level, we don't need the traceback for them.

(Bitbake rev: 7cae11f558f9ff5fd05ef23b789aaef92fb5a327)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-21 21:53:52 +00:00
Michael Halstead
41ae26ecab releases: update to include 3.4.2
Adding 3.4.2 to documentation switcher and release list.

(From yocto-docs rev: 6ffc51362a8fd028429359eb9da57c87b270584d)

Signed-off-by: Michael Halstead <mhalstead@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-21 16:46:22 +00:00
Richard Purdie
e600227b13 tiff: Add backports for two CVEs from upstream
(From OE-Core rev: 6ae14b4ff7a655b48c6d99ac565d12bf8825414f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-21 07:52:04 +00:00
Richard Purdie
f625c01d91 vim: Upgrade 8.2.4314 -> 8.2.4424
License file had some grammar fixes.

Includes CVE-2022-0554.

(From OE-Core rev: a8d0a4026359c2c8a445dba9456f8a05470293c1)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-21 07:52:04 +00:00
Richard Purdie
c2537cfbde libxml-parser-perl: Add missing RDEPENDS
Running the ptest package in an image alone highlighted missing module
dependencies. Add them to fix those errors.

(From OE-Core rev: 3859f49db2d694c7b63fdbe25be0018afba5c738)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-21 07:52:04 +00:00
Richard Purdie
7eb117f176 perl: Improve and update module RPDEPENDS
The perl module RDEPENDS needed refreshing so I updated it with the script. I
also found a ton of issues with missing test2 module dependencies so I've tweaked
the generator script to improve those. For some reason they were previously excluded
but I can't see anything wrong with the generated dependencies so I've added them. A
number of manual dependencies were still needed in addition.

I did notice an issue with trailing ")" characters so the sed is updated to handle
that (it did already handle "(").

This fixes issues seen in the dependecies for libxml-parser-perl's ptest package.

(From OE-Core rev: a5b0f6cacb6ae785ea10f8561982692772d198a9)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-21 07:52:04 +00:00
Richard Purdie
08f809a8e8 expat: Upgrade 2.4.5 -> 2.4.6
(From OE-Core rev: 91aa5e3f94a7f82be7949ecfde2764d51384ad42)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-21 07:52:04 +00:00
Richard Purdie
ebf9181a8b expat: Upgrade 2.4.4 -> 2.4.5
This is a security fix release containing fixes for CVE-2022-25235, CVE-2022-25236,
CVE-2022-25313, CVE-2022-25314 and CVE-2022-25315.

(From OE-Core rev: b71344dacb71cfc452b335a6f2fb9cb74e2e1ff8)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-21 07:52:04 +00:00
wangmy
0539b563c6 libhandy: Use upstream regex to check version of upgrade.
(From OE-Core rev: 3ca368aa12ac3a8398312c9bf5cb6136261d56af)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-20 16:45:25 +00:00
Andrey Zhizhikin
3bf0e3d86b waffle: add wayland-protocols when building with wayland
When 'wayland is selected in ' DISTRO_FEATURES, following build error
occurs during do_configure:

| Run-time dependency wayland-protocols found: NO (tried pkgconfig)
|
| ../git/meson.build:120:2: ERROR: Dependency "wayland-protocols" not found, tried pkgconfig

Add "wayland-protocols" to PACKAGECONFIG to resolve missing dependency.

(From OE-Core rev: a545a0848c6526d58731bc333f2ade0ae926fcc4)

Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-20 16:45:25 +00:00
Khem Raj
d05e919d5a grub: Fix build with bintutils 2.38 on riscv
(From OE-Core rev: d42596457628f41baa5729545e2932c6692f73ee)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-20 16:45:25 +00:00
Khem Raj
995b971744 libgit2: Upgrade to 1.4.1
this is bugfix release
https://github.com/libgit2/libgit2/releases/tag/v1.4.1

(From OE-Core rev: ee862994d27d1a82642309b84e5957e4a7d341e3)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-20 16:45:25 +00:00
Richard Purdie
f37af44f18 sstate: Setup fetcher environment in advance
The threading code here can race as the fetcher changes the environment which is
shared between the threads. By setting it up in advance, it isn't changed and
therefore no longer races.

(From OE-Core rev: cabc3cc2eac5916e63340c18d1074411b377ced4)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-20 16:45:25 +00:00
Richard Purdie
9477a309a8 oeqa/selftest/bbtests: Update after license changes
Update the test to match the renamed license in the recipe.

(From OE-Core rev: 3d50ee782e5073c055d72f114619502719a33752)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-20 16:45:25 +00:00
Richard Purdie
b0130fcf91 meta/meta-selftest/meta-skeleton: Update LICENSE variable to use SPDX license identifiers
An automated conversion using scripts/contrib/convert-spdx-licenses.py to
convert to use the standard SPDX license identifiers. Two recipes in meta-selftest
were not converted as they're that way specifically for testing. A change in
linux-firmware was also skipped and may need a more manual tweak.

(From OE-Core rev: ceda3238cdbf1beb216ae9ddb242470d5dfc25e0)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-20 16:45:25 +00:00
Richard Purdie
301d24952e scripts: Add a conversion script to use SPDX license names
We're standardising on SPDX license names so it is overdue to change
the ones in the LICENSE fileds to the SPDX values. Add a conversion
script which makes this straightforward on the most part.

Ultimately this allows the core code to be more efficient and not need
to consult the mappings.

(From OE-Core rev: 512cd4ca91bc5107d68b7e721257a8f62f878994)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-20 16:45:25 +00:00
Richard Purdie
95f236f668 core-image-testmaster: Rename to core-image-testcontroller
Rename the image, the test controller class/code/module and the underlying
image sentinel file to all match the controller terminology.

(From OE-Core rev: f87b32833ac5327c4659ab8c06af34e7bda83f83)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-20 16:45:25 +00:00
Jose Quaresma
9ebd0a84e7 gstreamer1.0: update licenses of all modules
Since all gstreamer modules uses LGPLv2.1 with exceptions
for some plugins in bad and ugly modules that has GPLv2+.

(From OE-Core rev: 7ca1bce20ded40468e31ede74f901434ad31c0e2)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Cc: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-20 16:45:25 +00:00
Alexander Kanavin
9bcda31c25 gdb: update 11.1 -> 11.2
Simplyfy .inc structure: merge gdb.inc into gdb_11.2.bb, rename
gdb-${PV}.inc to gdb.inc. This will allow easier automatic updates.

Drop upstreamed patch.

(From OE-Core rev: ee8ec22c75f5eacae7a6b1cafe0df6e21acde479)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-20 16:45:25 +00:00
Richard Purdie
8e71d0e21b bitbake: fetch2: Abstract fetcher environment to a function
The changing of the environment inside the wget fetcher can race if
threading is used, such as with sstate in OE-Core. Abstract the function
so the environment can be correct before the function is called, removing
the race since the enviroment is then no longer changed.

(Bitbake rev: c73bb6023c73f003a160bb02aa4da1b580b86c23)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-20 16:45:25 +00:00
Zygmunt Krynicki
2b427b9224 bitbake: wget: Fix grammar "can happen"
(Bitbake rev: 52630eefb5174e4ca357ac57085093a7f5767bd8)

Signed-off-by: Zygmunt Krynicki <zygmunt.krynicki@huawei.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-20 16:45:25 +00:00
Zygmunt Krynicki
fe1b1bffa5 bitbake: utils: Fix typo "dependency" and "spawning"
(Bitbake rev: 8f76117816fa84367753d5eee0264b90e9f29a8c)

Signed-off-by: Zygmunt Krynicki <zygmunt.krynicki@huawei.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-20 16:45:25 +00:00
Zygmunt Krynicki
aacc917646 bitbake: tinfoil: Fix typo "receive" and "something"
(Bitbake rev: 2e0407f6d8fbea22a4bfde124f7665a912482401)

Signed-off-by: Zygmunt Krynicki <zygmunt.krynicki@huawei.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-20 16:45:25 +00:00
Zygmunt Krynicki
b00b5014c8 bitbake: progress: Fix typo "wherever"
(Bitbake rev: bb43be9b8b10b7d799436790e9bce0ef3df4aa6d)

Signed-off-by: Zygmunt Krynicki <zygmunt.krynicki@huawei.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-20 16:45:25 +00:00
Zygmunt Krynicki
abd4a9f4a2 bitbake: process: Fix typo: "process"
(Bitbake rev: 2874e9cb3ebfd675657919eca7286ccdc25a63b6)

Signed-off-by: Zygmunt Krynicki <zygmunt.krynicki@huawei.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-20 16:45:25 +00:00
Zygmunt Krynicki
2af99d8c08 bitbake: persist_data: Fix typo "committed"
(Bitbake rev: f9bea2b29ad8121ca82df82cdbc71f5b9d15d515)

Signed-off-by: Zygmunt Krynicki <zygmunt.krynicki@huawei.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-20 16:45:25 +00:00
Zygmunt Krynicki
e03ac523e4 bitbake: fetch2/git: Remove duplicate "the"
(Bitbake rev: 02e29e90eac56e46635e9ae44e5c5da684b70ed2)

Signed-off-by: Zygmunt Krynicki <zygmunt.krynicki@huawei.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-20 16:45:24 +00:00
Zygmunt Krynicki
07fa614e8f bitbake: fetch2: Fix typo "conform" and "processed"
(Bitbake rev: e1c13a820f9e3154699ec32d84cce502464e4f6b)

Signed-off-by: Zygmunt Krynicki <zygmunt.krynicki@huawei.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-20 16:45:24 +00:00
Zygmunt Krynicki
50cd76495d bitbake: event: Fix typo "asynchronous" and "occasionally"
(Bitbake rev: bb60472ff41b583b7b3a65e7ddccd4554840952b)

Signed-off-by: Zygmunt Krynicki <zygmunt.krynicki@huawei.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-20 16:45:24 +00:00
Zygmunt Krynicki
2f1555fa7a bitbake: daemonize: Fix typo "separate"
(Bitbake rev: c93bc3849051c758fd7ca54226933172b0cb0c5d)

Signed-off-by: Zygmunt Krynicki <zygmunt.krynicki@huawei.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-20 16:45:24 +00:00
Zygmunt Krynicki
d40390c74b bitbake: cookerdata: Fix typo "normally"
(Bitbake rev: d0b633256daf8d11f213a14fb44ebc6bc5d45f37)

Signed-off-by: Zygmunt Krynicki <zygmunt.krynicki@huawei.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-20 16:45:24 +00:00
Zygmunt Krynicki
e0342695a8 bitbake: cooker: Fix typo "isn't" and "tuples"
(Bitbake rev: ac688b6e93faa51d48768b677685499862d3e7c4)

Signed-off-by: Zygmunt Krynicki <zygmunt.krynicki@huawei.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-20 16:45:24 +00:00
Zygmunt Krynicki
59fdcddf05 bitbake: fetch2/wget: move loop-invariant load of BB_ORIGENV
BB_ORIGENV is used as a fallback environment block. It is repeatedly
accessed inside the loop. Since it is a loop invariant, move it out of
the loop.

(Bitbake rev: 346a1a6c76d40458d7b4c116147ec4d371bee74a)

Signed-off-by: Zygmunt Krynicki <zygmunt.krynicki@huawei.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-20 16:45:24 +00:00
Richard Purdie
427bfd5f8f bitbake: utils: Fix environment decorator logic error
File "/home/pokybuild/yocto-worker/qemuarm/build/build/tmp/work/qemuarm-poky-linux-gnueabi/core-image-sato/1.0-r0/testsdkext/layers/build/bitbake/lib/bb/fetch2/wget.py", line 328, in checkstatus
    with bb.utils.environment(**newenv):
  File "/home/pokybuild/yocto-worker/qemuarm/build/build/tmp/work/qemuarm-poky-linux-gnueabi/core-image-sato/1.0-r0/testsdkext/buildtools/sysroots/x86_64-pokysdk-linux/usr/lib/python3.10/contextlib.py", line 142, in __exit__
    next(self.gen)
  File "/home/pokybuild/yocto-worker/qemuarm/build/build/tmp/work/qemuarm-poky-linux-gnueabi/core-image-sato/1.0-r0/testsdkext/layers/build/bitbake/lib/bb/utils.py", line 1737, in environment
    del os.environ[var]
  File "/home/pokybuild/yocto-worker/qemuarm/build/build/tmp/work/qemuarm-poky-linux-gnueabi/core-image-sato/1.0-r0/testsdkext/buildtools/sysroots/x86_64-pokysdk-linux/usr/lib/python3.10/os.py", line 695, in __delitem__
    raise KeyError(key) from None

It is possible the wrapped function might change the environment which can lead
to KeyError issues like this. The key may no longer be in the original environment
so handle that case correctly and avoid the tracebacks.

(Bitbake rev: ae4ce4c21998bb2a12a1e1f0b8e0af8d218b87e2)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-20 16:45:24 +00:00
Peter Kjellerstedt
cd823f21f8 manuals: Remove unnecessary \n from SSTATE_MIRRORS examples
Since commit 044fb04d in bitbake (fetch2: Allow whitespace only mirror
entries) there is no need to separate the entries in SSTATE_MIRRORS
with "\n".

(From yocto-docs rev: 87b34b69b2df72d4e6edbd81839622fffd560331)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-20 15:36:13 +00:00
Michael Opdenacker
4760c3e264 manuals: add 3.4 and 3.4.1 release notes after migration information
Only done for release 3.4 and 3.4.1 so far.
Release notes are kept under the migration-guides/ directory for
the moment, for easier reviewing.

(From yocto-docs rev: b311070d866cf4ab51c72ff3ac7bc41ea3e932cb)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-18 17:58:02 +00:00
Michael Opdenacker
4407025996 ref-manual: update TCLIBC description
Stop mentioning the long gone POKYLIBC variable and fix punctuation

(From yocto-docs rev: d90be3bbfd45317ce07d1715af3d65ffb1e24ac7)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-18 17:58:02 +00:00
Alejandro Hernandez Samaniego
552ff6e3d5 documentation: Add multiconfig initramfs configuration:
dev-manual/common-tasks.rst: Add section to create an initramfs
image from a separate multiconfig.

ref-manual/variables.rst: Add new variable definitions for
INITRAMFS_DEPLOY_DIR_IMAGE and INITRAMFS_MULTICONFIG

(From yocto-docs rev: 7853ab3df82c27ba309879a66a084b2e597dc1e5)

Signed-off-by: Alejandro Enedino Hernandez Samaniego <alhe@linux.microsoft.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-18 17:58:02 +00:00
Christian Eggers
b6c1329501 dev-manual: update example from kernel.bbclass
Since f748564653 ("kernel: provide virtual/kernel for all kernels"),
all recipes which inherit kernel.bbclass provide "virtual/kernel",
independent of the value of `KERNEL_PACKAGE_NAME`.

(From yocto-docs rev: da69e75c7f84f51c8fa95e9217e11b4b36af52d6)

Signed-off-by: Christian Eggers <ceggers@arri.de>
Reviewed-by: Quentin Schulz <foss+yocto@0leil.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-18 17:58:02 +00:00
Richard Purdie
21de9a33dc archiver: Fix typo
(From OE-Core rev: 3389fa68eed8a55c3a3b413798676a944b1366ca)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-18 17:53:59 +00:00
Hongxu Jia
820f793c70 glibc: fix create thread failed in unprivileged process
Since upstream commit [d8ea0d0168 Add an internal wrapper for clone, clone2
and clone3] applied, start a unprivileged container (docker run without
--privileged), it creates a thread failed in container.

In commit d8ea0d0168, it calls __clone3 if HAVE_CLONE3_WAPPER is defined.  If
__clone3 returns -1 with ENOSYS, fall back to clone or clone2.

As known from [1], cloneXXX fails with EPERM if CLONE_NEWCGROUP,
CLONE_NEWIPC, CLONE_NEWNET, CLONE_NEWNS, CLONE_NEWPID, or CLONE_NEWUTS
was specified by an unprivileged process (process without CAP_SYS_ADMIN)

[1] https://man7.org/linux/man-pages/man2/clone3.2.html

So if __clone3 returns -1 with EPERM, fall back to clone or clone2 could
fix the issue.

(From OE-Core rev: 58802b2c4f63a4572cc7cca26d1d8a6b30e2fc79)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-18 11:47:26 +00:00
wangmy
3858855d0d go: upgrade 1.17.6 -> 1.17.7
(From OE-Core rev: e1a1b201c4a850ae116d88975df3fdab4dea6945)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-18 11:47:26 +00:00
Richard Purdie
eb72e3c381 recipeutils: Add missing get_srcrev() call
Updates within bitbake now require this call to be triggered somewhere with
floating git source revs. Add the missing call. Issue can be reproduced with:

devtool check-upgrade-status dbus-wait

(From OE-Core rev: d7088b2b5012f9e386914a6837685f5869379cc5)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-18 11:37:34 +00:00
Alexander Kanavin
019bf409d9 diffoscope: upgrade 202 -> 204
(From OE-Core rev: 77dcb7c0a99a210e0987f70715cfd0ceb8027d93)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-18 11:37:12 +00:00
Alexander Kanavin
d01d678909 libical: upgrade 3.0.13 -> 3.0.14
(From OE-Core rev: 362539186adf94ed08e87a5447c16ca0e983c2fb)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-18 11:37:12 +00:00
Alexander Kanavin
e952778a22 gst-examples: upgrade 1.18.5 -> 1.18.6
(From OE-Core rev: 7deb66a4a707cc6615470a5ff011bad017cf9eea)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-18 11:37:12 +00:00
Alexander Kanavin
e80215f3e6 shaderc: upgrade 2022.0 -> 2022.1
(From OE-Core rev: 5af183b73e01848a59d1edd04692c4d4f9b276f1)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-18 11:37:12 +00:00
Alexander Kanavin
120807acfb piglit: upgrade to latest revision
(From OE-Core rev: 985d2d1953f9edafa5ca3636f4553f968ef16591)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-18 11:37:12 +00:00
Alexander Kanavin
323eb1b4f6 pango: upgrade 1.48.10 -> 1.50.4
(From OE-Core rev: f6d0007d75ee18e8003cfc02222ba7c74b184cf5)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-18 11:37:12 +00:00
Alexander Kanavin
3c7ed40309 gi-docgen: upgrade 2021.8 -> 2022.1
(From OE-Core rev: 75c46f864988390ea69af818153b602182f21088)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-18 11:37:12 +00:00
Alexander Kanavin
c6947744c4 vala: upgrade 0.54.6 -> 0.54.7
(From OE-Core rev: f8e1b02871ce5fdb4369f64cc12681740ccfbc17)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-18 11:37:12 +00:00
Alexander Kanavin
5547b9fc05 python3-pytest: upgrade 7.0.0 -> 7.0.1
(From OE-Core rev: 9ea7a9707e5e1a6a265525df895ce0a2e01723c0)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-18 11:37:12 +00:00
Alexander Kanavin
87686c9e2e python3-dtschema: upgrade 2021.12 -> 2022.1
(From OE-Core rev: 7df790485ce8f760a892e813a114baaec949d34e)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-18 11:37:12 +00:00
Alexander Kanavin
790010cd9b mmc-utils: upgrade to latest revision
(From OE-Core rev: e3e85b826f44eca629ee815110fb66d5023b34d0)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-18 11:37:12 +00:00
Alexander Kanavin
31e5efc685 meson: upgrade 0.61.1 -> 0.61.2
(From OE-Core rev: 572e68905b6864e64d14c606b2b31b59e5e9cca1)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-18 11:37:11 +00:00
Alexander Kanavin
17d9ec10d2 help2man: upgrade 1.48.5 -> 1.49.1
(From OE-Core rev: f79f47f99b8d1efa5a605d221e77d71d4f9273ec)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-18 11:37:11 +00:00
Alexander Kanavin
933e8c8282 repo: upgrade 2.20 -> 2.21
sed-patch the sources from do_configure, as otherwise
this breaks automated updates (devtool creates a patch
out of changes done by sed).

(From OE-Core rev: 7070f8a4ce56656720b43cbb68097f46d9213bdc)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-18 11:37:11 +00:00
Alexander Kanavin
3f56d67975 python3-tomli: upgrade 2.0.0 -> 2.0.1
sources moved to src/tomli

(From OE-Core rev: 0ad97879bb13d542d5b475376805af87cdeb6837)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-18 11:37:11 +00:00
Alexander Kanavin
fb50e211e2 util-linux: upgrade 2.37.3 -> 2.37.4
(From OE-Core rev: 6a3289c4786c4d278e2bf0ec1a5e04363772d8bc)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-18 11:37:11 +00:00
Alexander Kanavin
09da07b203 libgit2: update 1.3.0 -> 1.4.0
License-Update: regex replaced with pcre, overall licensing doesn't change

(From OE-Core rev: 1887c33733578c36d064bf91068b51b241fe88c0)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-18 11:37:11 +00:00
Alexander Kanavin
2a150e44b3 xkeyboard-config: update 2.34 -> 2.35.1
(From OE-Core rev: 61f90c25c062b78635da407c2efce85da74341ef)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-18 11:37:11 +00:00
Alexander Kanavin
d2ef9a0874 vulkan-samples: update to latest revision
(From OE-Core rev: ea18d074a89f22460fb4e943df652e668a03a792)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-18 11:37:11 +00:00
Alexander Kanavin
afa80c2014 vulkan: update 1.2.198 -> 1.3.204
(From OE-Core rev: dadeb70a56c9732e9b6b76d9bde2e9e09b27856e)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-18 11:37:11 +00:00
Alexander Kanavin
513f93f63b webkitgtk: remove rejected patch
Upstream has first accepted, then reverted this change,
so this needs to be re-submitted, after verifying that it is
still relevant.

(From OE-Core rev: 389ac5f324d231525776456a64c5aaf32a6a4858)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-18 11:37:11 +00:00
Alexander Kanavin
83a7b93172 man-db: update 2.10.0 -> 2.10.1
(From OE-Core rev: 550be77683805f2853a49cfe79584e9bf925f53d)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-18 11:37:11 +00:00
Alexander Kanavin
2dfaee8203 webkitgtk: drop patch merged upstream
Portions of it were then further refactored upstream, leading
to some bits of the patch dropped and some re-applied on a
automated version upgrade.

(From OE-Core rev: d9de00cd5228d42f628af455ad42c06a0883f6d0)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-18 11:37:11 +00:00
Alexander Kanavin
b7cb48c2b9 weston-init: disable systemd watchdog option
There is no other unit in oe-core where watchdog is enabled, and
this feature starts to behave weirdly when test_date is adjusting the clock,
which means weston is restarted without need, so disable for weston
test stability.

The issue won't show up on kvm qemu (x86/x86_64) because it runs
too quickly, but non-kvm qemu (ppc/mips/arm) all fail in the same
way due to slower timings.

(From OE-Core rev: f4d8ad399d88dbd9d65bbfd0467f15a485e66605)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-18 11:37:11 +00:00
Alexander Kanavin
220a527d26 gstreamer1.0: disable flaky gstbin:test_watch_for_state_change test
Upstream issue:
https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/778

(From OE-Core rev: 81b4086ddef126513120222d2e7b66f599a27c0d)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-18 11:37:11 +00:00
Richard Purdie
a5280f7e30 features_check/insane: Use hasOverrides datastore method
(From OE-Core rev: 401c56258753a96c0a4e3e91a11518f182d410ff)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-17 17:51:03 +00:00
Richard Purdie
cb0ed5a97c oeqa/selftest/bbtests: Update to match changed bitbake output
(From OE-Core rev: 753645155b402c899080349bc741361480c4abe8)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-17 17:51:03 +00:00
Richard Purdie
ae00fcd638 selftest/bbtests: Add tests for git floating tag resolution
This test ensures that where a floating tag is used for a git url, there
aren't a number of different bugs such as inconsistent source revisions
for the tag within a given build and that the recipe is reparsed at each
run to ensure the tag is checked.

A test is also added to ensure that the build fails if SRCPV (get_srcrev())
isn't used yet there is a floating tag.

(From OE-Core rev: 33554ba3c034fc31744b27392afe751d645d6c2e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-17 17:51:03 +00:00
Richard Purdie
383ade4e3c bitbake: data_smart: Add hasOverrides method to public datastore API
There are some cases where the metadata needs to check if a variable
has any overrides set, even if they are currently inactive. That code
currently pokes into datastore internals. Add API instead to replace
and avoid that.

(Bitbake rev: c885e5542dcf760b8fc5881e385abb4a10020874)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-17 17:51:03 +00:00
Joshua Watt
729ec0bebb bitbake: msg: Ensure manually created loggers have the once filter
Loggers created with a logging configuration file automatically get the
once filter applied to ensure that warnonce()/erroronce() only appear a
single time. The same filter needs to also be added to
bb.msg.logger_create() to ensure that manually created loggers have the
same behavior

(Bitbake rev: bd93f7baff9d56de37a1af474189e0888b82d475)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-17 17:51:03 +00:00
Richard Purdie
dac63330e6 bitbake: msg: Add bb.warnonce() and bb.erroronce() log methods
This adds a log level and logging function call to use it where the
warning or error will only be displayed once, regardless of how many
times the message is logged.

This has to be done either in the cooker or on the UI side. I've opted
for the UI side since display control is really a UI issue but it uses
a common library filter function to enable it which can be reused
elsewhere.

The knotty message displayed as the build summary is tweaked to
make sense when the numbers won't match since it will still count
the number of times it was logged and this is probably helpful
for debugging in some cases so I've deliberately left it that way.

(Bitbake rev: 7bd40e3003a043e3cb7efc276681054b563b5e7b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-17 17:51:03 +00:00
Richard Purdie
2e20effe31 bitbake: cooker: Improve parsing failure from handled exception usability
When a recipe raises a BBHandledException, it means the error was already
shown to the user. Adding an additional one here isn't helpful. What is
helpful is to mention that parsing was halted.

Tweak the code to do this with improves the messages the user sees
and helps understand what happened.

(Bitbake rev: fdf6ebc8b603fcfd3ed7c64baf486a4adabd25be)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-17 17:51:03 +00:00
Richard Purdie
0d3327b592 bitbake: data_smart: Fix overrides file/line message additions
The overrides warning message is meant to show filename and line
numbers but the variable names are incorrect and this wasn't working.
Fix it.

(Bitbake rev: 551c1cb20fc9b9d0dab5d830182c2bf626e72845)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-17 17:51:03 +00:00
Daniel Gomez
22027da10a bitbake: asyncrpc: Fix attribute errors
Export ClientError and ServerError classes from bb.asyncrpc.serv as
required by lib/hashserv/server.py module.

Error:
Client ('192.168.2.184', 51142) connected
Error from client: module 'bb.asyncrpc' has no attribute 'ClientError'
Traceback (most recent call last):
  File "/opt/bbhashserv/lib/bb/asyncrpc/serv.py", line 192, in handle_client
    await client.process_requests()
  File "/opt/bbhashserv/lib/hashserv/server.py", line 200, in process_requests
    await super().process_requests()
  File "/opt/bbhashserv/lib/bb/asyncrpc/serv.py", line 72, in process_requests
    await self.dispatch_message(d)
  File "/opt/bbhashserv/lib/hashserv/server.py", line 217, in dispatch_message
    raise bb.asyncrpc.ClientError("Unrecognized command %r" % msg)
AttributeError: module 'bb.asyncrpc' has no attribute 'ClientError'

(Bitbake rev: 8aca1d341500af8bbe788801c2df3da9bbfacaed)

Signed-off-by: Daniel Gomez <daniel@qtec.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-17 17:51:03 +00:00
Daniel Gomez
841a30d8fb bitbake: contrib: Fix hash server Dockerfile dependencies
When building the Hash Equivalence server Dockerfile, some
dependencies are missing in order to run the hash server properly:

Traceback errors:

Traceback (most recent call last):
  File "/opt/bbhashserv/bin/bitbake-hashserv", line 61, in <module>
    ret = main()
  File "/opt/bbhashserv/bin/bitbake-hashserv", line 54, in main
    server = hashserv.create_server(args.bind, args.database, upstream=args.upstream, read_only=args.read_only)
  File "/opt/bbhashserv/lib/hashserv/__init__.py", line 120, in create_server
    from . import server
  File "/opt/bbhashserv/lib/hashserv/server.py", line 14, in <module>
    import bb.asyncrpc
ModuleNotFoundError: No module named 'bb'

Traceback (most recent call last):
  File "/opt/bbhashserv/bin/bitbake-hashserv", line 61, in <module>
    ret = main()
  File "/opt/bbhashserv/bin/bitbake-hashserv", line 54, in main
    server = hashserv.create_server(args.bind, args.database, upstream=args.upstream, read_only=args.read_only)
  File "/opt/bbhashserv/lib/hashserv/__init__.py", line 120, in create_server
    from . import server
  File "/opt/bbhashserv/lib/hashserv/server.py", line 14, in <module>
    import bb.asyncrpc
  File "/opt/bbhashserv/lib/bb/__init__.py", line 128, in <module>
    from bb import fetch2 as fetch
  File "/opt/bbhashserv/lib/bb/fetch2/__init__.py", line 1930, in <module>
    from . import git
  File "/opt/bbhashserv/lib/bb/fetch2/git.py", line 70, in <module>
    import bb.progress
  File "/opt/bbhashserv/lib/bb/progress.py", line 14, in <module>
    import bb.build
  File "/opt/bbhashserv/lib/bb/build.py", line 27, in <module>
    from bb import data, event, utils
  File "/opt/bbhashserv/lib/bb/data.py", line 36, in <module>
    from bb import data_smart
  File "/opt/bbhashserv/lib/bb/data_smart.py", line 23, in <module>
    import bb, bb.codeparser
  File "/opt/bbhashserv/lib/bb/codeparser.py", line 26, in <module>
    import codegen
ModuleNotFoundError: No module named 'codegen'

Traceback (most recent call last):
  File "/opt/bbhashserv/bin/bitbake-hashserv", line 61, in <module>
    ret = main()
  File "/opt/bbhashserv/bin/bitbake-hashserv", line 54, in main
    server = hashserv.create_server(args.bind, args.database, upstream=args.upstream, read_only=args.read_only)
  File "/opt/bbhashserv/lib/hashserv/__init__.py", line 120, in create_server
    from . import server
  File "/opt/bbhashserv/lib/hashserv/server.py", line 14, in <module>
    import bb.asyncrpc
  File "/opt/bbhashserv/lib/bb/__init__.py", line 128, in <module>
    from bb import fetch2 as fetch
  File "/opt/bbhashserv/lib/bb/fetch2/__init__.py", line 1930, in <module>
    from . import git
  File "/opt/bbhashserv/lib/bb/fetch2/git.py", line 70, in <module>
    import bb.progress
  File "/opt/bbhashserv/lib/bb/progress.py", line 14, in <module>
    import bb.build
  File "/opt/bbhashserv/lib/bb/build.py", line 27, in <module>
    from bb import data, event, utils
  File "/opt/bbhashserv/lib/bb/data.py", line 36, in <module>
    from bb import data_smart
  File "/opt/bbhashserv/lib/bb/data_smart.py", line 23, in <module>
    import bb, bb.codeparser
  File "/opt/bbhashserv/lib/bb/codeparser.py", line 32, in <module>
    from bb.pysh import pyshyacc, pyshlex
  File "/opt/bbhashserv/lib/bb/pysh/pyshyacc.py", line 13, in <module>
    import bb.pysh.pyshlex as pyshlex
  File "/opt/bbhashserv/lib/bb/pysh/pyshlex.py", line 17, in <module>
    from ply import lex
ModuleNotFoundError: No module named 'ply'

Traceback (most recent call last):
  File "/opt/bbhashserv/bin/bitbake-hashserv", line 61, in <module>
    ret = main()
  File "/opt/bbhashserv/bin/bitbake-hashserv", line 54, in main
    server = hashserv.create_server(args.bind, args.database, upstream=args.upstream, read_only=args.read_only)
  File "/opt/bbhashserv/lib/hashserv/__init__.py", line 120, in create_server
    from . import server
  File "/opt/bbhashserv/lib/hashserv/server.py", line 14, in <module>
    import bb.asyncrpc
  File "/opt/bbhashserv/lib/bb/__init__.py", line 128, in <module>
    from bb import fetch2 as fetch
  File "/opt/bbhashserv/lib/bb/fetch2/__init__.py", line 1935, in <module>
    from . import wget
  File "/opt/bbhashserv/lib/bb/fetch2/wget.py", line 30, in <module>
    from   bs4 import BeautifulSoup
ModuleNotFoundError: No module named 'bs4'

(Bitbake rev: 0bd637acfcba5a44230c291889d2a5ff571cb8c6)

Signed-off-by: Daniel Gomez <daniel@qtec.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-17 17:51:03 +00:00
Richard Purdie
ebfa1700f4 bitbake: fetch2/cooker: Fix source revision handling with floating upstreams
Where a git url uses a tag instead of a full source revision, breakage
can currently occur in builds. Issues include:

* the revision being looked up in multiple tasks (fetch and unpack)
* the risk a different revision may be obtained in those tasks
* that some tasks may not be allowed to access the network
* that a revision may not be consistent throughout a given build
* rerunning a specific task may given inconsistent results

To fix this, stop the workers from cleaning out the source revision store. This
should only be done in the cooker itself (based on current policy).

Also, where the code "sees" an upstream access, mark the recipe as not to be
cached. The reparse re-triggers the upstream lookup by the server.

Add a test to ensure that if get_srcrev isn't called, the user is told they're
using a configuration that is known to break.

(Bitbake rev: 4b5eed1626709ef3dc06b32fd55d40a2a6edd179)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-17 17:51:03 +00:00
Michael Halstead
d09e2e05a0 releases: update to include 3.1.14
Adding 3.1.14 to documentation switcher and release list.

(From yocto-docs rev: 4b2cfbc517208d6df40104d25e62f8febdd76a7f)

Signed-off-by: Michael Halstead <mhalstead@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-17 11:47:24 +00:00
Christian Eggers
b9824a048f gcsections: add nativesdk-cairo to exclude list
configure fails with the following error if gcsections is active during
build of nativesdk-cairo:

| checking whether float word ordering is bigendian... unknown
| configure: error:
|
| Unknown float word ordering. You need to manually preset
| ax_cv_c_float_words_bigendian=no (or yes) according to your system.

(From meta-yocto rev: 45f97f55ae181b3fe5436276b36f5ed48d7437de)

Signed-off-by: Christian Eggers <ceggers@arri.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-16 18:42:35 +00:00
Peter Kjellerstedt
6279cc02b0 local.conf.sample: Remove unnecessary \n from the SSTATE_MIRRORS example
Since commit 044fb04d in bitbake (fetch2: Allow whitespace only mirror
entries) there is no need to separate the entries in SSTATE_MIRRORS
with "\n".

(From meta-yocto rev: 3709d06d5ad9421831d275bf1ed938e8de660906)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-16 18:42:35 +00:00
Peter Kjellerstedt
fc5cdce9b9 poky.conf: Remove unnecessary \n from PREMIRRORS
Since commit 044fb04d in bitbake (fetch2: Allow whitespace only mirror
entries) there is no need to separate the entries in PREMIRRORS with
"\n".

(From meta-yocto rev: 458a809b5ad780fabd3ca18806f831606bfbdfd4)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-16 18:42:35 +00:00
Khem Raj
3656dd75c2 u-boot: Fix RISCV build with binutils 2.38
Ensure right ABI and march is used which matches OE core settings

(From OE-Core rev: 17cd727f333580c6fd7ff20c90ede9ccce9ef60b)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-16 09:46:29 +00:00
Khem Raj
f23738b9fb opensbi: Upgrade to 1.0
Drop OE specific patch to shunt march/mabi
this seems to work fine now.

unset CLANG_TARGET so it can compile with OE produced clang toolchain
which provides --target itself

(From OE-Core rev: c48b57aa68149f5bdca80cadbf5b426c209ca94e)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-16 09:46:29 +00:00
wangmy
f77735ffae mesa: upgrade 21.3.5 -> 21.3.6
Changelog:
=========
Bug fixes
---------
radv: CullDistance fail
i965: Segmentation fault during glinfo context destruction, regression in 21.3.x
Vulkan Wayland WSI returns empty surface formats
[REGRESSION][BISECTED] iris: Qutebrowser/QtWebEngine sporadically flashes the window in white
Flickering Intel Uhd 620 Graphics
Broken Terraria & Glitches in Forza Horizon 4

Changes
-------
Revert "nir/algebraic: distribute fmul(fadd(a, b), c) when b and c are constants"
anv: Fix subgroupSupportedStages physical property
Revert "zink: handle vertex buffer offset overflows"
ir3: Fix copy-paste mistakes in ir3_block_remove_physical_predecessor()
ir3/cp: ir3: Prevent propagating shared regs out of loops harder
ir3: opt_deref in opt loop to remove unnecessary tex casts
crocus: find correct relocation target for the bo.
vulkan: Fix leak of error messages
pick_status.json: Update to cb781fc350108584116280fc597c695d2f476c68
pick_status.json: Mark 15e77504461a30038a054c87cc53a694171c9cf4 as denominated
pick_status.json: Mark 960e72417f3e8885699cf384f690853e14ba44da as denominated
intel/fs: Take into account region strides during SIMD lowering decision of SHUFFLE.
vulkan/wsi/wayland: Fix add_wl_shm_format alpha/opaqueness.
vulkan/wsi/wayland: Convert missing vulkan formats to shm formats.
vulkan/wsi/wayland: Add modifiers for RGB formats.
vulkan/wsi/wayland: Fix add_drm_format_modifier aplha/opaqueness.
anv/pass: Don't set first_subpass_layout for stencil-only attachments
vulkan/wsi: Set MUTABLE_FORMAT_BIT in the prime path
i965: Avoid NULL drawbuffer in brw_flush_front
intel/fs: don't set allow_sample_mask for CS intrinsics
intel/nir: fix shader call lowering
panvk: Fix pointer corruption in panvk_add_wait_event_syncobjs
zink: never use SpvOpImageQuerySizeLod for texel buffers
zink: reorder fbfetch flag-setting to avoid null deref
zink: fix vertex buffer mask computation for null buffers
zink: clamp tbo creation to maxTexelBufferElements
zink: add vertex shader pipeline bit for generated barrier construction
zink: fix waiting on current batch id
zink: cast image atomic op params/results based on image type
zink: use SpvScopeDevice over SpvScopeWorkgroup for atomic shader ops
zink: disable PIPE_SHADER_CAP_FP16_CONST_BUFFERS
llvmpipe: disable PIPE_SHADER_CAP_FP16_CONST_BUFFERS
llvmpipe: ci updates
zink: add VK_BUFFER_USAGE_CONDITIONAL_RENDERING_BIT_EXT for query binds
zink: fix PIPE_CAP_TGSI_BALLOT export conditional
zink: reject invalid draws
zink: min/max blit region in coverage functions
anv: Disable CCS_E for some 8/16bpp copies on TGL+
anv: Use ANV_FAST_CLEAR_DEFAULT_VALUE for CCS on TGL+
anv: Re-enable CCS_E on TGL+
iris: implement inter-context busy-tracking
aco: fix neg(abs(mul(a, b))) if the mul is not VOP3
aco: don't encode src2 for v_writelane_b32_e64
radv: fix R_02881C_PA_CL_VS_OUT_CNTL with mixed cull/clip distances
radv/winsys: fix missing buffer_make_resident() for the null winsys
tu: VkExternalImageFormatProperties is optional

(From OE-Core rev: 05e45cb04e72d369aa6db1793cd010096db3cc09)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-16 09:46:29 +00:00
wangmy
f402b56090 rng-tools: upgrade 6.14 -> 6.15
0001-Adding-ability-to-detect-non-posix-extensions-for-pt.patch
0002-Allow-for-use-of-either-pthread-affinity-set-methods.patch
removed since they're included in 6.15.

Changelog:
=========
Adjust rngtests for better behavior in travis
fix use of non-posix setaffinity call to allow building on strict posix (musl) systems
Add armv6l to list of detected arches for pkcs11
misc fixes to allow building on libc-musl
fix a deadlock in jitter shutdown sequence
minor warning fixups (unused variables)
improve cpu detection code
improve jitter cpu monopolization on small/single cpu systems

(From OE-Core rev: 63b1c5ccd178fdd6f8af1d1b9f7fab529b1746e9)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-16 09:46:29 +00:00
wangmy
dd3cf99e50 linux-firmware: upgrade 20211216 -> 20220209
License-Update:
Version of some driver files updated
Added files for some drivers

(From OE-Core rev: 1a2a64082d2a4845bebe802afed2a65dac994043)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-16 09:46:29 +00:00
wangmy
20dfd9a646 python3-ruamel-yaml: upgrade 0.17.20 -> 0.17.21
Changelog:
=========
- fix bug in calling '.compose()' method with 'pathlib.Path' instance.

(From OE-Core rev: 1f5f7cdf998cfb5f5635953ab862728a08192778)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-16 09:46:29 +00:00
Christian Eggers
083623bdd3 curl: configure with '--without-ssl' if ssl is disabled
curl requires that at least one SSL implementation or explicitly
'--without-ssl' is specified. This is particularly the case if
PACKAGECONFIG is empty.

| configure: error: select TLS backend(s) or disable TLS with
--without-ssl.
|
| Select from these:
|
|   --with-amissl
|   --with-bearssl
|   --with-gnutls
|   --with-mbedtls
|   --with-mesalink
|   --with-nss
|   --with-openssl (also works for BoringSSL and libressl)
|   --with-rustls
|   --with-schannel
|   --with-secure-transport
|   --with-wolfssl
|

Fixes: eef6c45fc6ec ("curl: Rework openssl and random PACKAGECONFIGs")
(From OE-Core rev: 6c737396c705e1388aff5f5a599c901a1a1760a2)

Signed-off-by: Christian Eggers <ceggers@arri.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-16 09:46:29 +00:00
Konrad Weihmann
371a46cb78 gmp: fix EXTRA_OECONF for mipsarchr6
previously used mipsarchr6:append created an empty set for
EXTRA_OECONF and then appended --disable-assembly
while it should be just added to the existing var value.
Without this patch gmp will be configured without
--enable-cxx=detect for mipsarchr6 targets

(From OE-Core rev: c17e1023eff86e71734edeb592a26f3a9160d72e)

Signed-off-by: Konrad Weihmann <kweihmann@outlook.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-16 09:46:29 +00:00
Konrad Weihmann
89004bc248 ruby: fix DEPENDS append
recent change create a blank scope of DEPENDS for class-target,
basically leaving out all general dependencies, leading to the effect
that ruby will be shipped without the runtime dependencies of zlib,
openssl and libffi, making the corresponding gems unusable at runtime.

As the class-target scope should be appended only the correct override
is append:class-target

(From OE-Core rev: 8f92444d388d2406be7d317578908975784d3f22)

Signed-off-by: Konrad Weihmann <kweihmann@outlook.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-16 09:46:29 +00:00
Richard Purdie
aeb7461bb3 ltp: Disable proc01 test
This test has history of hanging on arm trying to read from /proc/kmsg and it has
reappeared. Disable the test since hanging autobuilder builds are annoying. I suspect
there is a genuine race on ARM somewhere here in the kernel.

(From OE-Core rev: e8f5bd9dc35e2da014412bb35fbd2f96d0b1c5a8)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-16 09:46:29 +00:00
wangmy
3ee5e1bc71 python3-pbr: upgrade 5.8.0 -> 5.8.1
(From OE-Core rev: 848a506a71d789a4c81df8bf04deaba42f5b5f51)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-16 09:46:29 +00:00
wangmy
bad1c19f70 python3-pathlib2: upgrade 2.3.6 -> 2.3.7
Changelog:
=========
This version will be the last release to support Python 2.7.
Fix bug in samefile on Windows when file does not exist.
Add newline parameter for write_text (see issue #64).
Add many more type annotations.
Continuous integration migrated to github actions.
Project migrated to jazzband.

(From OE-Core rev: 30b8cc39e11361e37f0141cd202b355bdab50307)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-16 09:46:29 +00:00
wangmy
b7e6b553c5 python3-hypothesis: upgrade 6.36.1 -> 6.36.2
Changelog:
=========
Updates vendored list of top-level domains, which is used by the provisional
domains() strategy.

(From OE-Core rev: 19e5019c606802456c2022c6cc8f996faad457ff)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-16 09:46:29 +00:00
wangmy
143de5ee93 harfbuzz: upgrade 3.3.2 -> 3.4.0
Changelog:
=========
*Perform sanity checks on shaping results is now part of "harfbuzz" library
 and can be enabled by setting the buffer flag HB_BUFFER_FLAG_VERIFY.
*Arabic Mark Transient Reordering Algorithm have been updated to revision 6.
*ISO 15924 code for mathematical notation, 'Zmth', now maps to the OpenType
 'math' tag.
*It is now possible to get at once all math kerning values for a given glyph
 at a given corner.
*Fix locale_t portability issues on systems the typedef's it to a void pointer
*New API:
+HB_BUFFER_FLAG_VERIFY
+HB_OT_TAG_MATH_SCRIPT
+HB_SCRIPT_MATH
+hb_ot_math_kern_entry_t
+hb_ot_math_get_glyph_kernings

Deprecated API

(From OE-Core rev: 52ee8b78ecee7fa4f95d3762799645277be19373)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-16 09:46:29 +00:00
wangmy
93b2f43980 glib-2.0: upgrade 2.70.3 -> 2.70.4
Changelog:
=========
* Bugs fixed:
 - !2462 Backport !2461 "Fix memory leak in gio/gdbusauthmechanismsha1.c"
   to glib-2-70

* Translation updates:
 - Czech
 - French
 - Indonesian
 - Japanese
 - Polish
 - Portuguese (Brazil)
 - Russian
 - Slovenian
 - Spanish
 - Swedish
 - Ukrainian

(From OE-Core rev: 8cca575fabb4cde70fc82a88f09a5855d5f73870)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-16 09:46:29 +00:00
wangmy
72e59137a0 gpgme: upgrade 1.16.0 -> 1.17.0
The following patches refreshed for 1.17.0
0001-pkgconfig.patch
0001-use-closefrom-on-linux-and-glibc-2.34.patch

Changelog:
=========
qt: Fix build for older Qt versions.

(From OE-Core rev: fac45ef439c6156873d2076083d5b3e43015b7e2)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-16 09:46:29 +00:00
wangmy
6bd4825d34 autoconf-archive: upgrade 2021.02.19 -> 2022.02.11
Changelog:
=========
AX_CC_FOR_BUILD was deprecated in favor of AX_PROG_CC_FOR_BUILD.

(From OE-Core rev: 494b00ead5e889ae15610c0c730719bdf394ca07)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-16 09:46:29 +00:00
Stefan Herbrechtsmeier
8adc4d0c77 selftest: wic: Disable graphic of qemu to support WSL
Disable graphic support of qemu to support qemu tests in WSL.

(From OE-Core rev: 797af95eb272bd12eac193cdfe72ddffe8aa39ca)

Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-16 09:46:29 +00:00
Stefan Herbrechtsmeier
ba2bb92331 selftest: wic: Add rawcopy plugin unpack test
(From OE-Core rev: 0e4a030948707ef74f9c977d2d02d9f92c119f7e)

Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-16 09:46:29 +00:00
Stefan Herbrechtsmeier
b709e926d3 selftest: wic: Remove requirement of syslinux from test_rawcopy_plugin
Remove bootimg-pcbios from wks to eliminate requirement of syslinux from
test_rawcopy_plugin to avoid the following error.

ERROR: Couldn't find correct bootimg_dir, exiting

(From OE-Core rev: 99e2321e049fa63b83f3daa076eeff7f6791986b)

Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-16 09:46:29 +00:00
Stefan Herbrechtsmeier
0c20edddfc wic: rawcopy: Add support for packed images
Add support for packed images to wic rawcopy handler do minimize disk
usage in deploy directory and reuse of packed images between wic and
swupdate. Add `unpack` to sourceparams to unpack an bz2, gz and xz
archives.

Example:
part / --source rawcopy --sourceparams="file=core-image-minimal-qemu.ext4.gz,unpack"

(From OE-Core rev: 4c97d25791389ece041565981ba3207ce9949a1a)

Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-16 09:46:29 +00:00
Stefan Herbrechtsmeier
5d16ba9078 wic: partition: Support valueless keys in sourceparams
Accept valueless keys in sourceparams without equals sign (=) to match
the comment and support Boolean entries.

(From OE-Core rev: 052a9b0f7d2ee5c284cf1b4f1f45caed0489221a)

Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-16 09:46:29 +00:00
Christian Eggers
94296651b6 mc: fix build if ncurses have been configured without wide characters
Some distros like poky-tiny set ENABLE_WIDEC=false, which disables wide
character support for ncurses. The new patch fixes the build of mc for
this case.

Since 9000f80336, NCURSES_WIDECHAR is set explicitly to 1 for musl.
This doesn't work for ENABLE_WIDEC==false. In this case,
NCURSES_WIDECHAR must be set explicitly to 0, as curses.h does not
record whether the ncurses library has actually been built with or
without wide characters.

Fixes: 9000f80336 ("mc: upgrade 4.8.25 -> 4.8.26")
(From OE-Core rev: b176d86f5292c0e8cca2500be03ed392d59cedb3)

Signed-off-by: Christian Eggers <ceggers@arri.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-16 09:46:29 +00:00
Richard Purdie
e645f9ff55 openssl: Add perl functionality test to do_configure
Loading the POSIX module after loading others in perl causes errors to get hidden. The
resulting build failures are obtuse and hard to debug. We see this quite often when
we upgrade glibc but not uninative and there are symbol mismatches.

Add a quick test to the start of configure which tests perl operates correct and shows
a much more obvious error if it isn't since the POSIX module doesn't have to reload.

An example of the new error is:

| Can't load 'XXX/buildtools-extended-tarball/1.0-r0/testimage-sdk/XXX/openssl-native/3.0.1-r0/recipe-sysroot-native/usr/lib/perl5/5.34.0/x86_64-linux/auto/POSIX/POSIX.so' for module POSIX:
| XXX/buildtools-extended-tarball/1.0-r0/testimage-sdk/sysroots-uninative/x86_64-linux/lib/libm.so.6: version `GLIBC_2.35' not found
|  (required by XXX/buildtools-extended-tarball/1.0-r0/testimage-sdk/XXX/openssl-native/3.0.1-r0/recipe-sysroot-native/usr/lib/perl5/5.34.0/x86_64-linux/auto/POSIX/POSIX.so) at
|  XXX/buildtools-extended-tarball/1.0-r0/testimage-sdk/XXX/openssl-native/3.0.1-r0/recipe-sysroot-native/usr/lib/perl5/5.34.0/XSLoader.pm line 111.
|  at XXX/buildtools-extended-tarball/1.0-r0/testimage-sdk/XXX/openssl-native/3.0.1-r0/recipe-sysroot-native/usr/lib/perl5/5.34.0/x86_64-linux/POSIX.pm line 24.

which clearly shows the glibc symbol issue.

(From OE-Core rev: 684b656c5e6bf8cb10467c8d0fff1a9eeaf4256f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-16 09:46:28 +00:00
Khem Raj
6957ff06a0 binutils: Upgrade to 2.38 release
Release Notes are here [1]

[1] https://lists.gnu.org/archive/html/info-gnu/2022-02/msg00009.html

(From OE-Core rev: 77a1038828e638518dceda969da0817aa13eb5d3)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-16 09:46:28 +00:00
Khem Raj
1239b8e3e2 diffutils: Link with libbcrypt on mingw
This ensures that symbol is found in the library which is providing it
in mingw runtime >= 9.0.0

(From OE-Core rev: 0299adf2e6dc780a31ec5a5403ab9d0c0f8c9103)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-16 09:46:28 +00:00
Bruce Ashfield
c9e0fb469e linux-yocto/5.15: fix dssall build error with binutils 2.3.8
Integrating the following commit(s) to linux-yocto/5.15:

    7f685244afb3 powerpc/mm: Switch obsolete dssall to .long

(From OE-Core rev: 8f500f087ffc1471ac997ce8bf0d47171ca846a6)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-16 09:46:28 +00:00
Bruce Ashfield
78af4b831c linux-yocto/5.10: fix dssall build error with binutils 2.3.8
Integrating the following commit(s) to linux-yocto/5.10:

    c0b313d988a1 powerpc/mm: Switch obsolete dssall to .long

(From OE-Core rev: b063ee0529c02f8b31a1034289ea1a202e496d0b)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-16 09:46:28 +00:00
Alexander Kanavin
a0245d7be0 core-image-weston-sdk: synchronize with core-image-sato-sdk
(From OE-Core rev: 81cae8ba73698c3c96a8e3a6a774c7068899aa6e)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-14 10:33:06 +00:00
Bruce Ashfield
55724e93f3 linux-yocto/5.10: ppc/riscv: fix build with binutils 2.3.8
Integrating the following commit(s) to linux-yocto/5.10:

    1bd813fe8d0e riscv: fix build with binutils 2.38
    835a2d1b24c6 powerpc/lib/sstep: fix 'ptesync' build error

(From OE-Core rev: 8279495332f560902a9c264939da50b8302828b6)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-14 10:33:06 +00:00
Bruce Ashfield
e92ddaf502 linux-yocto/5.15: ppc/riscv: fix build with binutils 2.3.8
Integrating the following commit(s) to linux-yocto/5.15:

    20301aeb1a64 riscv: fix build with binutils 2.38
    9df58d070506 powerpc/lib/sstep: fix 'ptesync' build error

(From OE-Core rev: fcc87edb7bda5e75e6c5c1b8803535fd6e16543a)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-14 10:33:06 +00:00
Bruce Ashfield
dea965fe67 linux-yocto/5.10: update to v5.10.99
Updating linux-yocto/5.10 to the latest korg -stable release that comprises
the following commits:

    fb063a6465f9 Linux 5.10.99
    4889d6ee9e48 selftests: nft_concat_range: add test for reload with no element add/del
    557727313534 cgroup/cpuset: Fix "suspicious RCU usage" lockdep warning
    f1f7d1a22fd7 net: dsa: mt7530: make NET_DSA_MT7530 select MEDIATEK_GE_PHY
    84b76a509cc3 ext4: fix incorrect type issue during replay_del_range
    62e46e0ffc02 ext4: fix error handling in ext4_fc_record_modified_inode()
    764793b4a5d0 ext4: fix error handling in ext4_restore_inline_data()
    6c5bd55e36d3 ext4: modify the logic of ext4_mb_new_blocks_simple
    8d71fc23fcb8 ext4: prevent used blocks from being allocated during fast commit replay
    ef2053afd71e EDAC/xgene: Fix deferred probing
    2a12faf55bae EDAC/altera: Fix deferred probing
    dd274cf85269 x86/perf: Default set FREEZE_ON_SMI for all
    456f041e0359 perf/x86/intel/pt: Fix crash with stop filters in single-range mode
    8c0e6a8a630e perf stat: Fix display of grouped aliased events
    57e8859acc60 fbcon: Add option to enable legacy hardware acceleration
    460f6b1a238d Revert "fbcon: Disable accelerated scrolling"
    460aa9d87340 rtc: cmos: Evaluate century appropriate
    2324f5fcdf9d tools/resolve_btfids: Do not print any commands when building silently
    1536fafa23ac selftests: futex: Use variable MAKE instead of make
    8f0fff8b5968 selftests/exec: Remove pipe from TEST_GEN_FILES
    6304a613a97d bpf: Use VM_MAP instead of VM_ALLOC for ringbuf
    f744a064041c gve: fix the wrong AdminQ buffer queue index check
    51e88e892273 nfsd: nfsd4_setclientid_confirm mistakenly expires confirmed client.
    ec4334152dae scsi: bnx2fc: Make bnx2fc_recv_frame() mp safe
    fd482f2d63db pinctrl: bcm2835: Fix a few error paths
    752d9eafc64e pinctrl: intel: fix unexpected interrupt
    14bc9978b486 pinctrl: intel: Fix a glitch when updating IRQ flags on a preconfigured line
    5a45448ac95b ASoC: max9759: fix underflow in speaker_gain_control_put()
    02f459719832 ASoC: cpcap: Check for NULL pointer after calling of_get_child_by_name
    cb5f1fbd1f22 ASoC: xilinx: xlnx_formatter_pcm: Make buffer bytes multiple of period bytes
    56e0747d59ac ASoC: fsl: Add missing error handling in pcm030_fabric_probe
    3e698375517d drm/i915/overlay: Prevent divide by zero bugs in scaling
    9ea018536111 net: stmmac: ensure PTP time register reads are consistent
    41df2da2c1f3 net: stmmac: dump gmac4 DMA registers correctly
    114bf9350413 net: macsec: Verify that send_sci is on when setting Tx sci explicitly
    2e7f5b6ee1a7 net: macsec: Fix offload support for NETDEV_UNREGISTER event
    87b1c9fab6fe net: ieee802154: Return meaningful error codes from the netlink helpers
    78b3f20c17cb net: ieee802154: ca8210: Stop leaking skb's
    0bfe50dc5d91 net: ieee802154: mcr20a: Fix lifs/sifs periods
    75bbda318987 net: ieee802154: hwsim: Ensure proper channel selection at probe time
    e895e067d73e spi: uniphier: fix reference count leak in uniphier_spi_probe()
    ec942d08e070 spi: meson-spicc: add IRQ check in meson_spicc_probe
    c2cf65e1008b spi: mediatek: Avoid NULL pointer crash in interrupt
    30e05c98b99d spi: bcm-qspi: check for valid cs before applying chip select
    6d226e8afe88 iommu/amd: Fix loop timeout issue in iommu_ga_log_enable()
    9d9995b0371e iommu/vt-d: Fix potential memory leak in intel_setup_irq_remapping()
    b3958d315163 RDMA/mlx4: Don't continue event handler after memory allocation failure
    d3f8b927df2f RDMA/siw: Fix broken RDMA Read Fence/Resume logic.
    c7db20f5be73 IB/rdmavt: Validate remote_addr during loopback atomic tests
    75c610212b9f RDMA/ucma: Protect mc during concurrent multicast leaves
    371979069a57 RDMA/cma: Use correct address when leaving multicast group
    aa4ecd995f59 memcg: charge fs_context and legacy_fs_context
    080f371d984e Revert "ASoC: mediatek: Check for error clk pointer"
    4a9bd1e6780f IB/hfi1: Fix AIP early init panic
    5d40f1bdad3d dma-buf: heaps: Fix potential spectre v1 gadget
    30de3bc09978 block: bio-integrity: Advance seed correctly for larger interval sizes
    352715593e81 mm/kmemleak: avoid scanning potential huge holes
    7053188ddba3 mm/pgtable: define pte_index so that preprocessor could recognize it
    bce7f5d74d74 mm/debug_vm_pgtable: remove pte entry from the page table
    2d83a7463d75 nvme-fabrics: fix state check in nvmf_ctlr_matches_baseopts()
    a0c73dbdd197 drm/amd/display: Force link_rate as LINK_RATE_RBR2 for 2018 15" Apple Retina panels
    f071d9fa8575 drm/nouveau: fix off by one in BIOS boundary checking
    32747e01436a btrfs: fix deadlock between quota disable and qgroup rescan worker
    aa5d406153c5 ALSA: hda/realtek: Fix silent output on Gigabyte X570 Aorus Xtreme after reboot from Windows
    d4aa3a98596f ALSA: hda/realtek: Fix silent output on Gigabyte X570S Aorus Master (newer chipset)
    3a8a8072e32b ALSA: hda/realtek: Add missing fixup-model entry for Gigabyte X570 ALC1220 quirks
    532cde962f5f ALSA: hda/realtek: Add quirk for ASUS GU603
    410f231fd70c ALSA: hda: realtek: Fix race at concurrent COEF updates
    a7de1002135c ALSA: hda: Fix UAF of leds class devs at unbinding
    470bbb9cbd8f ALSA: usb-audio: Correct quirk for VF0770
    6877f87579ed ASoC: ops: Reject out of bounds values in snd_soc_put_xr_sx()
    038f8b7caa74 ASoC: ops: Reject out of bounds values in snd_soc_put_volsw_sx()
    a9394f21fba0 ASoC: ops: Reject out of bounds values in snd_soc_put_volsw()
    0ff6b8050695 audit: improve audit queue handling when "audit=1" on cmdline
    f446089a268c selinux: fix double free of cond_list on error paths
    12a0a56cbae3 Linux 5.10.98
    97a47e25559e Revert "drm/vc4: hdmi: Make sure the device is powered with CEC" again
    e27042060f81 Revert "drm/vc4: hdmi: Make sure the device is powered with CEC"
    c8ed22bd97d4 Linux 5.10.97
    176356550ced tcp: add missing tcp_skb_can_collapse() test in tcp_shift_skb_data()
    32e179971085 af_packet: fix data-race in packet_setsockopt / packet_setsockopt
    aa9e96db3121 cpuset: Fix the bug that subpart_cpus updated wrongly in update_cpumask()
    3bbe2019dd12 rtnetlink: make sure to refresh master_dev/m_ops in __rtnl_newlink()
    e7be56926397 net: sched: fix use-after-free in tc_new_tfilter()
    7b4741644cf7 fanotify: Fix stale file descriptor in copy_event_to_user()
    4d3fcfe84648 net: amd-xgbe: Fix skb data length underflow
    cadfa7dce526 net: amd-xgbe: ensure to reset the tx_timer_active flag
    77534b114f24 ipheth: fix EOVERFLOW in ipheth_rcvbulk_callback
    b4ced7a46d9f net/mlx5: E-Switch, Fix uninitialized variable modact
    502c37b033fa net/mlx5: Use del_timer_sync in fw reset flow of halting poll
    a01ee1b8165f net/mlx5e: Fix handling of wrong devices during bond netevent
    1fc3444cda9a cgroup-v1: Require capabilities to set release_agent
    ac4ba79bb028 drm/vc4: hdmi: Make sure the device is powered with CEC
    46f919c6bdc5 x86/cpu: Add Xeon Icelake-D to list of CPUs that support PPIN
    fbdbf6743f77 x86/mce: Add Xeon Sapphire Rapids to list of CPUs that support PPIN
    d4e4e61d4a5b psi: Fix uaf issue when psi trigger is destroyed while being polled
    080dbe7e9b86 KVM: x86: Forcibly leave nested virt when SMM state is toggled
    063029a8820e Revert "drivers: bus: simple-pm-bus: Add support for probing simple bus only devices"
    42fdbf8b7dab net: ipa: prevent concurrent replenish
    ad81380d3a48 net: ipa: use a bitmap for endpoint replenish_enabled
    2ed912e3e057 net: ipa: fix atomic update in ipa_endpoint_replenish()
    3b4c966fb156 PCI: pciehp: Fix infinite loop in IRQ handler upon power fault

(From OE-Core rev: 1da72913333948e8c63d39033d38f19d9cdd322e)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-14 10:33:06 +00:00
Bruce Ashfield
39756ad2b8 linux-yocto/5.15: update to v5.15.22
Updating linux-yocto/5.15 to the latest korg -stable release that comprises
the following commits:

    0bf5b7cc9848 Linux 5.15.22
    3853c4e27149 selftests: netfilter: check stateless nat udp checksum fixup
    b84753200e79 selftests: nft_concat_range: add test for reload with no element add/del
    7c0ee51fe998 gpio: mpc8xxx: Fix an ignored error return from platform_get_irq()
    3d631a1af0d7 gpio: idt3243x: Fix an ignored error return from platform_get_irq()
    ff43b75eea32 tools include UAPI: Sync sound/asound.h copy with the kernel sources
    f5afdefe188e cgroup/cpuset: Fix "suspicious RCU usage" lockdep warning
    e4a7e1418ab7 net: dsa: mt7530: make NET_DSA_MT7530 select MEDIATEK_GE_PHY
    f187daed64e1 ext4: fix incorrect type issue during replay_del_range
    1b6762ecdf3c ext4: fix error handling in ext4_fc_record_modified_inode()
    ce38bb98cec7 ext4: fix error handling in ext4_restore_inline_data()
    869cb287d893 ext4: modify the logic of ext4_mb_new_blocks_simple
    0cb4480bc4f4 ext4: prevent used blocks from being allocated during fast commit replay
    d583cb17ee50 EDAC/xgene: Fix deferred probing
    c6c04bb32b73 EDAC/altera: Fix deferred probing
    587dadb43c9a x86/perf: Default set FREEZE_ON_SMI for all
    e83d941fd344 perf/x86/intel/pt: Fix crash with stop filters in single-range mode
    0f4dcaeaf6ae perf stat: Fix display of grouped aliased events
    64e133ce280b perf: Copy perf_event_attr::sig_data on modification
    9a60e92b76d6 kvm/arm64: rework guest entry logic
    83071e2dad68 kvm: add guest_state_{enter,exit}_irqoff()
    aba976f96bbc rtc: cmos: Evaluate century appropriate
    3b5fcdfab628 e1000e: Separate ADP board type from TGP
    b3a4d501e91c tools/resolve_btfids: Do not print any commands when building silently
    7620887a7779 selftests: futex: Use variable MAKE instead of make
    c5610494fd45 selftests/exec: Remove pipe from TEST_GEN_FILES
    5e457aeab52a bpf: Use VM_MAP instead of VM_ALLOC for ringbuf
    62ab929a8f6b gve: fix the wrong AdminQ buffer queue index check
    3611f4f91e11 nfsd: nfsd4_setclientid_confirm mistakenly expires confirmed client.
    2f5a1ac68bdf scsi: bnx2fc: Make bnx2fc_recv_frame() mp safe
    0bb4c6b9ecff pinctrl: bcm2835: Fix a few error paths
    3cdcfa3c526e pinctrl: intel: fix unexpected interrupt
    ca63438dc5c4 pinctrl: intel: Fix a glitch when updating IRQ flags on a preconfigured line
    d4036172ca3b pinctrl: sunxi: Fix H616 I2S3 pin data
    f00012885e70 ASoC: codecs: wcd938x: fix return value of mixer put function
    b54ff87a1567 ASoC: codecs: lpass-rx-macro: fix sidetone register offsets
    aa7152f9f117 ASoC: codecs: wcd938x: fix incorrect used of portid
    baead410e5db ASoC: max9759: fix underflow in speaker_gain_control_put()
    263b947aa4c1 ASoC: cpcap: Check for NULL pointer after calling of_get_child_by_name
    841e6a6b831b ASoC: simple-card: fix probe failure on platform component
    c6cf5b5078db ASoC: xilinx: xlnx_formatter_pcm: Make buffer bytes multiple of period bytes
    9d44f73df070 ASoC: fsl: Add missing error handling in pcm030_fabric_probe
    8a15ac1786c9 drm/amd: avoid suspend on dGPUs w/ s2idle support when runtime PM enabled
    5cba71707f0a drm/i915/overlay: Prevent divide by zero bugs in scaling
    b2c91bee7970 drm/kmb: Fix for build errors with Warray-bounds
    a84854bc230a net: stmmac: ensure PTP time register reads are consistent
    27ea34ead54a net: stmmac: dump gmac4 DMA registers correctly
    0ced878998f2 net: macsec: Verify that send_sci is on when setting Tx sci explicitly
    e7a0b3a0806d net: macsec: Fix offload support for NETDEV_UNREGISTER event
    2967b08119d5 net: stmmac: properly handle with runtime pm in stmmac_dvr_remove()
    6358e093547c net: stmmac: dwmac-visconti: No change to ETHER_CLOCK_SEL for unexpected speed request.
    0ef6049f6649 net/smc: Forward wakeup to smc socket waitqueue after fallback
    ea8ecd2d65b4 net: ieee802154: Return meaningful error codes from the netlink helpers
    566bf0e1c761 netfilter: nft_reject_bridge: Fix for missing reply from prerouting
    94cd597e20ed net: ieee802154: ca8210: Stop leaking skb's
    6c6b19a99131 net: ieee802154: mcr20a: Fix lifs/sifs periods
    29e60b77a449 net: ieee802154: hwsim: Ensure proper channel selection at probe time
    bb7a226780e2 IB/cm: Release previously acquired reference counter in the cm_id_priv
    40e20ba90390 IB/hfi1: Fix tstats alloc and dealloc
    dd00b4f8f768 spi: uniphier: fix reference count leak in uniphier_spi_probe()
    66606d329d61 spi: meson-spicc: add IRQ check in meson_spicc_probe
    7352f2c26482 spi: mediatek: Avoid NULL pointer crash in interrupt
    101a1cf8af55 spi: bcm-qspi: check for valid cs before applying chip select
    ca1f48c30e5b iommu/amd: Fix loop timeout issue in iommu_ga_log_enable()
    336d096b62bd iommu/vt-d: Fix potential memory leak in intel_setup_irq_remapping()
    e4b74b89862c ALSA: hda: Skip codec shutdown in case the codec is not registered
    0c5c64335657 ALSA: hda: Fix signedness of sscanf() arguments
    c2a91f1ef38a ALSA: usb-audio: initialize variables that could ignore errors
    63c69c93d978 RDMA/mlx4: Don't continue event handler after memory allocation failure
    035ea99c537d RDMA/siw: Fix broken RDMA Read Fence/Resume logic.
    7d9ad6f9f38f IB/rdmavt: Validate remote_addr during loopback atomic tests
    2989ba9532ba RDMA/siw: Fix refcounting leak in siw_create_qp()
    2923948ffe08 RDMA/ucma: Protect mc during concurrent multicast leaves
    7715682f357d RDMA/cma: Use correct address when leaving multicast group
    0452c3dc851b KVM: arm64: Stop handle_exit() from handling HVC twice when an SError occurs
    e1e852746997 KVM: arm64: Avoid consuming a stale esr value when SError occur
    aff6657f5243 Revert "ASoC: mediatek: Check for error clk pointer"
    9908c759a17e mptcp: fix msk traversal in mptcp_nl_cmd_set_flags()
    778283dc2840 fbcon: Add option to enable legacy hardware acceleration
    2a2629db4248 Revert "fbcon: Disable accelerated scrolling"
    a3dd4d2682f2 IB/hfi1: Fix AIP early init panic
    24f8e12d965b dma-buf: heaps: Fix potential spectre v1 gadget
    f576721152fd block: bio-integrity: Advance seed correctly for larger interval sizes
    a5389c80992f mm/kmemleak: avoid scanning potential huge holes
    65a4863a4ed5 mm/pgtable: define pte_index so that preprocessor could recognize it
    120973e64db9 mm/debug_vm_pgtable: remove pte entry from the page table
    90391ac6888e nvme-fabrics: fix state check in nvmf_ctlr_matches_baseopts()
    2093ecf557e7 drm/amd/display: Force link_rate as LINK_RATE_RBR2 for 2018 15" Apple Retina panels
    7ff0ed88e4eb drm/amd/display: watermark latencies is not enough on DCN31
    4f4c77ad5a13 drm/amd/pm: correct the MGpuFanBoost support for Beige Goby
    39ac3945d966 drm/i915/adlp: Fix TypeC PHY-ready status readout
    d877e814a62b drm/nouveau: fix off by one in BIOS boundary checking
    b9e9f848c82b Revert "fs/9p: search open fids first"
    a7b717fa1516 btrfs: fix use-after-free after failure to create a snapshot
    89d4cca583fc btrfs: fix deadlock between quota disable and qgroup rescan worker
    f4b2736eeb62 btrfs: don't start transaction for scrub if the fs is mounted read-only
    7ccf5849bef7 ALSA: hda/realtek: Fix silent output on Gigabyte X570 Aorus Xtreme after reboot from Windows
    9fc509f806a5 ALSA: hda/realtek: Fix silent output on Gigabyte X570S Aorus Master (newer chipset)
    b3625b0017a4 ALSA: hda/realtek: Add missing fixup-model entry for Gigabyte X570 ALC1220 quirks
    730f823e3c68 ALSA: hda/realtek: Add quirk for ASUS GU603
    586d71ddee6c ALSA: hda: realtek: Fix race at concurrent COEF updates
    0e629052f013 ALSA: hda: Fix UAF of leds class devs at unbinding
    303e89f94b66 ALSA: usb-audio: Correct quirk for VF0770
    b0a7836ecf13 ASoC: ops: Reject out of bounds values in snd_soc_put_xr_sx()
    e8e07c5e25a2 ASoC: ops: Reject out of bounds values in snd_soc_put_volsw_sx()
    9e8895f1b3d4 ASoC: ops: Reject out of bounds values in snd_soc_put_volsw()
    10007bd96b6c ASoC: hdmi-codec: Fix OOB memory accesses
    0b8b02903173 spi: stm32-qspi: Update spi registering
    45ba0a5fa0a6 ipc/sem: do not sleep with a spin lock held
    b8d9e0aec158 audit: improve audit queue handling when "audit=1" on cmdline
    70caa32e6d81 selinux: fix double free of cond_list on error paths
    d63d077fc446 drm/i915: Disable DSB usage for now
    f01ed5defb04 Linux 5.15.21
    2b2f53331b3a Revert "drm/vc4: hdmi: Make sure the device is powered with CEC" again
    a03d2f9f82bd Revert "drm/vc4: hdmi: Make sure the device is powered with CEC"
    8deae2f4172c Linux 5.15.20
    e6b678c1a367 ovl: fix NULL pointer dereference in copy up warning
    c3d81231ab84 tcp: add missing tcp_skb_can_collapse() test in tcp_shift_skb_data()
    34321180b94d af_packet: fix data-race in packet_setsockopt / packet_setsockopt
    03f42c8ef64a e1000e: Handshake with CSME starts from ADL platforms
    6be234917788 cpuset: Fix the bug that subpart_cpus updated wrongly in update_cpumask()
    def5e7070079 rtnetlink: make sure to refresh master_dev/m_ops in __rtnl_newlink()
    f36cacd6c933 net: sched: fix use-after-free in tc_new_tfilter()
    60765e43e40f fanotify: Fix stale file descriptor in copy_event_to_user()
    db6fd92316a2 net: amd-xgbe: Fix skb data length underflow
    8cb5afa71033 net: amd-xgbe: ensure to reset the tx_timer_active flag
    b82364abc54b i40e: Fix reset path while removing the driver
    047fc3396cc6 i40e: Fix reset bw limit when DCB enabled with 1 TC
    86186352e36d ipheth: fix EOVERFLOW in ipheth_rcvbulk_callback
    5ca77e0c5080 net/mlx5: E-Switch, Fix uninitialized variable modact
    0ca746e2996b net/mlx5: Bridge, Fix devlink deadlock on net namespace deletion
    5d575586c4b3 net/mlx5e: Don't treat small ceil values as unlimited in HTB offload
    f232acbb786f net/mlx5: Fix offloading with ESWITCH_IPV4_TTL_MODIFY_ENABLE
    60c48abf62ca net/mlx5e: Fix module EEPROM query
    f895ebeb44d0 net/mlx5: Use del_timer_sync in fw reset flow of halting poll
    fe70126da606 net/mlx5e: Fix handling of wrong devices during bond netevent
    e882123e6e64 net/mlx5: Bridge, ensure dev_name is null-terminated
    c4e3cf1a8e48 net/mlx5: Bridge, take rtnl lock in init error handler
    490292d08946 net/mlx5e: IPsec: Fix tunnel mode crypto offload for non TCP/UDP traffic
    6dfc954efb98 lockd: fix failure to cleanup client locks
    cb5864bf93b2 lockd: fix server crash on reboot of client holding lock
    559bc6ec873a ovl: don't fail copy up if no fileattr support on upper
    9341457fdd0d Revert "mm/gup: small refactoring: simplify try_grab_page()"
    4b1c32bfaa02 cgroup-v1: Require capabilities to set release_agent
    d5e81e3a3e0b drm/vc4: hdmi: Make sure the device is powered with CEC
    dffeeca9268b net: ipa: prevent concurrent replenish
    5f4ed9829617 net: ipa: use a bitmap for endpoint replenish_enabled
    ee782b802ee0 selftests: mptcp: fix ipv6 routing setup
    1db58c6584a7 PCI: pciehp: Fix infinite loop in IRQ handler upon power fault

(From OE-Core rev: fe7b1028c1765183fc250ad250233093eb6f8618)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-14 10:33:06 +00:00
Richard Purdie
81fe3dfab9 oeqa/buildtools: Switch to our webserver instead of example.com
Similarly to the sanity connectivity check, switch away from example.com
for the buildtools tests.

(From OE-Core rev: ed10f3c2b4c678069fe1cee73f79f6e388c7777e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-12 17:38:07 +00:00
Richard Purdie
82e6816024 bitbake: tests/fetch: Add missing branch param for git urls
We started to require the branch parameter for git urls. This updates
the tests to match and quieten some noise.

(Bitbake rev: e5144887f2b6ae266f7b52151005619480e80ec6)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-12 17:05:58 +00:00
Alexander Kanavin
305c1d179e ruby: correctly set native/target dependencies
In particular libffi was missing from native, which
led to linking with host libffi instead.

(From OE-Core rev: 293c9f879252a814107579542e8fca9af9dde599)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-12 17:05:35 +00:00
Ahsan Hussain
8c18d70e3d staging: use relative path in sysroot_stage_dir()
A regression form cpio CVE-2021-38185 caused the tool to hang for paths
greater than 128 character long. It was reported here:

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=992098

We were able to reliable reproduce this with dunfell, meta-freescale
recipe imx-boot

https://github.com/Freescale/meta-freescale/blob/dunfell/recipes-bsp/imx-mkimage/imx-boot_1.0.bb

Using relative path on the affected host fixes the issue as this is
always short, being in the same work dir. It would be harmless, and
useful to generally use the relative path for sysroot_stage_dir()

(From OE-Core rev: a1ec3154a53fd9e3f87a53f25113b7f90bcfb489)

Signed-off-by: Ahsan Hussain <ahsan_hussain@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-12 17:05:35 +00:00
Martin Beeger
5bc518e81b cmake: remove bogus CMAKE_LDFLAGS_FLAGS definition from toolchain file
As discussion in [YOCTO #14717] cmake contains a OEToolchainConfig.cmake
file to configure the toolchain correctly in cross-compile build for recipes
using cmake. The variable CMAKE_LDFLAGS_FLAGS is spelled incorrectly, cmake expects
CMAKE_SHARED_LINKER_FLAGS, CMAKE_STATIC_LINKER_FLAGS, CMAKE_EXE_LINKER_FLAGS and
CMAKE_MODULE_LINKER_FLAGS to be set instead. As cmake already correctly initializes
these from environment there is no need to specify the linker flags in the toolchain
file at all. So this just removes the variable, as its value was also set wrong.

(From OE-Core rev: 52e59a5b37f55905ee693a99f9ffc34ed41b4283)

Signed-off-by: Martin Beeger <martin.beeger@online.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-12 17:05:35 +00:00
Michael Halstead
75d76ea298 uninative: Upgrade to 3.5
Add support for glibc 2.35.

(From OE-Core rev: 347b8c87fb4e2c398644f900728cf6e22ba4516d)

Signed-off-by: Michael Halstead <mhalstead@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-12 17:05:35 +00:00
Richard Purdie
ad90bf2ad9 default-distrovars.inc: Switch connectivity check to a yoctoproject.org page
example.com is proving unreliable at present so switch to our own connectivity
page instead. That page is very simple avoiding app overhead on our web server
which was an original reason for switching to example.com.

(From OE-Core rev: dc6b043cb75c5751b5a98afd2201aa31f9b4b9f6)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-12 17:05:35 +00:00
Richard Purdie
8fcf25bcda scriptutils: Fix handling of srcuri urls
Bitbake is now requiring there be a call to get_srcrev() when urls contain
floating revisions. This breaks some recipetool workflows since it is running
these queries to determine those revisions. Add a PV entry which triggers
that call to avoid the errors.

(From OE-Core rev: bdaf0c798da21f9c15d9cb30ab4258a3c75c8bbf)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-12 17:05:35 +00:00
Sean Anderson
66c552ba1c libpcap: Disable DPDK explicitly
libpcap looks for DPDK in the same way it looks for DAG. This can poison
the build even if it doesn't find anything. Explicitly disable dpdk.

(From OE-Core rev: be5442f065da40b41d3cd60793341e22654f2681)

Signed-off-by: Sean Anderson <sean.anderson@seco.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-12 17:05:35 +00:00
Marek Vasut
8e4f151317 kernel-fitimage: Add missing dependency for UBOOT_ENV
For $UBOOT_ENV file to appear in sysroot, virtual/bootloader
must populate sysroot first. Add the missing dependency.

(From OE-Core rev: 77d96b70f37b70dde65cf31f917c9f524fa7016a)

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-12 17:05:35 +00:00
Stefan Herbrechtsmeier
2e5720c573 gcc-target: move cc1plus to g++ package
Move cc1plus from gcc to g++ package. Therefor, remove the duplicate
FILES entry from gcc package and keep the entry in g++ package.

(From OE-Core rev: f16c0efdeaca7cd08bd5609141b1094139e746f9)

Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-12 17:05:35 +00:00
Stefan Herbrechtsmeier
21adae4959 gcc-target: fix glob to remove gcc-<version> binary
The glob to remove the gcc-<version> binary expects a single-digit major
version which is no longer true.

(From OE-Core rev: 30de10cf939cf65c0cab6730a3575bced5c7533a)

Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-12 17:05:35 +00:00
Justin Bronder
2040c70fcc initramfs-framework: unmount automounts before switch_root
If mounts are left lingering, then after we switch_root, attempts to
modify the block devices will result in an EBUSY with no way to unmount
them.  As we're about to switch_root anyways, there isn't much use to
keep anything mounted unless it has the new rootfs.

(From OE-Core rev: 4dc7af6d25597ea10ea43e76c7c3d7251462c0e5)

Signed-off-by: Justin Bronder <jsbronder@cold-front.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-12 17:05:35 +00:00
Kai Kang
602bec0060 webkitgtk: 2.34.4 -> 2.34.5
Update webkitgtk from 2.34.4 to 2.34.5. It fixes CVE-2022-22589,
CVE-2022-22590 and CVE-2022-22592 in 2.34.5 according to

https://webkitgtk.org/security/WSA-2022-0002.html

And fix indentation as well.

CVE: CVE-2022-22589
CVE: CVE-2022-22590
CVE: CVE-2022-22592

(From OE-Core rev: 775e3e4ca357bd11ec77cd01ca072c6adca89173)

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-12 17:05:35 +00:00
wangmy
16403507bd ed: upgrade 1.17 -> 1.18
License-Update:
year updated to 2022.
license changed from GPLv3+ to GPLv2.
(In version 1.5 the maintainer mistakenly changed the copyright holder from
Andrew Moore to the FSF. In versions 1.18 he restored the original COPYING.)

Changelog:
=========
* main_loop.c (get_shell_command): Flush stdout after printing cmd.
* signal.c (sighup_handler): Fix a memory leak just before exiting.
* carg_parser.c (ap_init): Likewise.
* io.c (read_file, write_file): Check ptr returned by strip_escapes.
* main_loop.c (get_shell_command, exec_command): Likewise.
* main_loop.c (get_shell_command): Remove backslash from escaped '%'.
* main_loop.c, regex.c: Implement case-insensitive REs.
* regex.c (compile_regex): Don't overwrite previous regex if error.
* main.c: New option '--strip-trailing-cr'.
* buffer.c (push_undo_atom): Fail if stack grows larger than INT_MAX.
  (too_many_lines): Fail if buffer grows larger than INT_MAX lines.
* global.c (set_active_node): Fail if list grows larger than INT_MAX.
* signal.c (resize_buffer): Fail if a line grows longer than INT_MAX.
* io.c (read_file): Return -2 for fatal errors.
* main_loop.c (main_loop): Set error status if fatal error from main.
* main.c [restricted_]: New message "Directory access restricted".
* ed.texi: New chapter "The 's' Command".
* COPYING: Restored.

(From OE-Core rev: 3b2804babd629b55a37eb33ae823dfb682b53b8b)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-12 17:05:35 +00:00
Richard Purdie
aba3d8a2cb buildtools: Allow testsdk to access the network
Some of the buildtools tests test network access so allow this.

(From OE-Core rev: c47424b8e71b95e60f4c5f343176825082b53896)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-12 17:05:35 +00:00
pgowda
38cc7a1457 gcc : Fix CVE-2021-46195
Upstream-Status: Backport [https://gcc.gnu.org/git/gitweb.cgi?p=gcc.git;h=f10bec5ffa487ad3033ed5f38cfd0fc7d696deab]

(From OE-Core rev: 81e9f8aedab70dfb0a016601150623ef9a7c1596)

Signed-off-by: pgowda <pgowda.cve@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-12 17:05:35 +00:00
Zoltán Böszörményi
73dca91f49 qemuboot: Fix build error if UNINATIVE_LOADER is unset
I got this error on current master:

File: 'exec_func_python() autogenerated', lineno: 2, function: <module>
     0001:
 *** 0002:do_write_qemuboot_conf(d)
     0003:
File: '.../layers/openembedded-core/meta/classes/qemuboot.bbclass', lineno: 141, function: do_write_qemuboot_conf
     0137:        else:
     0138:            val = d.getVar(k)
     0139:        # we only want to write out relative paths so that we can relocate images
     0140:        # and still run them
 *** 0141:        if val.startswith(topdir):
     0142:            val = os.path.relpath(val, finalpath)
     0143:        cf.set('config_bsp', k, '%s' % val)
     0144:
     0145:    # QB_DEFAULT_KERNEL's value of KERNEL_IMAGETYPE is the name of a symlink
Exception: AttributeError: 'NoneType' object has no attribute 'startswith'

Do nothing if "val" is None, which may happen for k = "UNINATIVE_LOADER".

(From OE-Core rev: 020043c16ce25238313cbf0d10e40e9f6551bf14)

Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-12 17:05:35 +00:00
Jon Mason
796f8d0a69 linux-yocto-dev: add qemuriscv32
(From OE-Core rev: ccee053b0f8696ba7185b28be1916a177742b4f4)

Signed-off-by: Jon Mason <jdmason@kudzu.us>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-12 17:05:35 +00:00
Changqing Li
5895834e43 nghttp2: fix for multilib support
Update package name to fix following error:
ERROR: Required build target 'lib32-core-image-minimal' has no buildable providers.
Missing or unbuildable dependency chain was: ['lib32-core-image-minimal', 'lib32-libnghttp2']

for lib32 image, lib{PN} will be expanded as lib32-liblib32-nghttp2, so
above error occurs, update lib{PN} to lib{BPN} to fix it.

(From OE-Core rev: 23b87e315962b8cb79219e7782c24b6700ebeff4)

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-12 17:05:35 +00:00
Khem Raj
b98a052636 man-db: Fix build with clang
(From OE-Core rev: f3e14090a3cfe168eb207667b553a861aa7de364)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-12 17:05:35 +00:00
Joe Slater
c5c9fa771d virglrenderer: fix CVE-2022-0135 and -0175
CVE-2022-0135 concerns out-of-bounds writes in read_transfer_data().
CVE-2022-0175 concerns using malloc() instead of calloc().

We "cherry-pick" from upstream.  The actual cherry-picks are from
upstream master to branch-0.9.1 and are the patches entered here.

(From OE-Core rev: 91f7511df79c5c1f93add9f2827a5a266453614e)

Signed-off-by: Joe Slater <joe.slater@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-12 17:05:35 +00:00
Christian Eggers
e56ac9e229 sdk: fix search for dynamic loader
if the package "nativesdk-glibc-dbg" is installed as part of the SDK,
the existing search expression finds two files:

$OECORE_NATIVE_SYSROOT/lib/.debug/ld-linux-x86-64.so.2
$OECORE_NATIVE_SYSROOT/lib/ld-linux-x86-64.so.2

The generated relocate_sdk.sh shell script contains then an extra
newline and segfaults during SDK relocation.

Limit the search depth to 1, to avoid finding the file in the .debug
directory.

(From OE-Core rev: baec04b936ab6b3d2039978fd568c3824cd0a501)

Signed-off-by: Christian Eggers <ceggers@arri.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-12 17:05:35 +00:00
Ross Burton
23ac8859f4 cmake: stop FetchContent from fetching content
CMake includes a FetchContent module, which will download further
source code at configure time.  With the network isolation this will now
fail, but as not all environments support network isolation we can tell
cmake to not download either for extra safety.

(From OE-Core rev: 138df1940fff303de48c98a95ac1bbaef4f120e2)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-12 17:05:35 +00:00
Saul Wold
75f9785a2b create-spdx: Get SPDX-License-Identifier from source
This patch will read the begining of source files and try to find
the SPDX-License-Identifier to populate the licenseInfoInFiles
field for each source file. This does not populate licenseConcluded
at this time, nor rolls it up to package level.

We read as binary file since some source code seem to have some
binary characters, the license is then converted to ascii strings.

(From OE-Core rev: 51e5f328635eb022143178c3169bae719509697a)

Signed-off-by: Saul Wold <saul.wold@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-12 17:05:35 +00:00
Daiane Angolini
76b3d141c0 classes/lib/useradd: The option -P is deprecated
This is also covered in documentation since:
https://git.yoctoproject.org/yocto-docs/commit/?id=3f3e5574ac9801ad92940168b61b532e0bd53a80

[YOCTO 14605]

(From OE-Core rev: 3f9153986e4e6f667b4bbe97613ec0b279665a97)

Signed-off-by: Daiane Angolini <daiane.angolini@foundries.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-12 17:05:35 +00:00
Ross Burton
a1fc8f9944 oeqa/selftest: test that newlib can build
Add a test to set TCLIBC=newlib and build newlib/libgloss.

This is the absolute minimum test, but at least it exercises the build
of this package.

(From OE-Core rev: cd670fd657a54601b10e9e09a40c5b51ed4d1cf8)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-12 17:05:35 +00:00
Richard Purdie
a28c145aa4 patchelf: Fix corrupted file mode patch
The recent patchelf upgrades corrupted the file permissions patch we
carry as upstream inserted an early exit to the funciton.

This showed up as corrupted file modes when testing a new uninative tarball
containing this patchelf.

Rework and tweak the patch to fix this.

(From OE-Core rev: bcdba091d99f9a3ae67c0ba17fcf27329698a0c0)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-11 13:45:20 +00:00
Matthias Klein
6c9e94f318 boost: add json lib
Add the json lib which provides containers and algorithms
that implement JavaScript Object Notation, or simply "JSON",
a lightweight data-interchange format.

(From OE-Core rev: f4dbdb9774eb61a71289fe91b017b4caf9c34b16)

Signed-off-by: Matthias Klein <matthias@extraklein.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-10 10:32:08 +00:00
Alexander Kanavin
29b2b08fd3 sstate: fix up additional debugging when fetch fails occur
This should print the actual stack trace, for real :)

(From OE-Core rev: 9fbc7d6a2b2388e70a76cb97285e2f60bdc79624)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-10 10:32:08 +00:00
Markus Volk
cecad01191 seatd: build systemd backend if DISTRO_FEATURE systemd is set
Add libsystemd dependency if we have systemd in DISTRO_FEATURES.
This is needed to build the systemd backend. Projects that use seatd
to hook into logind (e.g. wlroots) fail to properly login without it.

(From OE-Core rev: c659e7468686b8f6995cdc01dd0dbe0e84946bf6)

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-10 10:32:08 +00:00
Luna Gräfje
0fde83cf97 tune-cortexa72: Fix a misspelt override in PACKAGE_EXTRA_ARCHS
Without this, the string "${PACKAGE_EXTRA_ARCHS:tune-armv8-crc}" will
show up in some bash tasks (notably opkg-arch-config.do_compile which is
how I found out about this) which will break things (besides obviously
not doing the intended thing of expanding to a list of architectures)

(From OE-Core rev: c5142f867aaa3fb6fc134781e2e54ce10eabd530)

Signed-off-by: Luna Gräfje <luna.graefje@orbitalsystems.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-10 10:32:08 +00:00
wangmy
3fb9966b4f screen: upgrade 4.8.0 -> 4.9.0
CVE-2021-26937.patch
removed since it is included in 4.9.0

Changelog:
=========
* Hardstatus option for used encoding (escape string '%e')
* OpenBSD uses native openpty() from its utils.h
* Fixes:
  - fix combining char handling that could lead to a segfault
  - CVE-2021-26937: possible denial of service via a crafted UTF-8 character sequence (bug #60030)
  - make screen exit code be 0 when checking --help
  - session names limit is 80 symbols (bug #61534)
  - option -X ignores specified user in multiuser env (bug #37437)
  - a lot of reformations/fixes/cleanups (man page and source code)

(From OE-Core rev: 8247097d2313ceb73bab1621d61b8aa3fb59095e)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-10 10:32:08 +00:00
wangmy
c811b9f1e2 python3-pyelftools: upgrade 0.27 -> 0.28
Changelog:
=========
  - Added a method for returning the index of a section by name (#331)
  - Allow filtering by section types in iter_sections (#345)
  - Support Android compressed rel/rela sections (#357)
  - Initial support for PPC64LE (#360)
  - Initial DWARF v5 support (#363 with several follow-ups)
  - Fixed parsing for structures containing uids or gids in core
    dumps (#354)
  - Allow filtering by segment types in iter_segments (#375)
  - Add support for .note.gnu.property (#386)
  - Update readelf tests to work with more recent version of
    readelf (#387)
  - Add support for note GNU_PROPERTY_X86_FEATURE_1_AND (#388)

(From OE-Core rev: 5957eacc2d1b2a4a1731e9f518a1f76c9a450f51)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-10 10:32:08 +00:00
wangmy
3978b4f519 python3-pip: upgrade 22.0.2 -> 22.0.3
Changelog:
=========
Features
-------
Print the exception via rich.traceback, when running with --debug. (#10791)

Bug Fixes
---------
Only calculate topological installation order, for packages that are going to
be installed/upgraded.

This fixes an AssertionError that occured when determining installation order,
for a very specific combination of upgrading-already-installed-package + change
of dependencies + fetching some packages from a package index. This combination
was especially common in Read the Docs' builds. (#10851)

Use html.parser by default, instead of falling back to html5lib when
--use-deprecated=html5lib is not passed. (#10869)

Improved Documentation
----------------------
Clarify that using per-requirement overrides disables the usage of wheels. (#9674)

(From OE-Core rev: 72874df0a76869c21a28908597a6ea04213d1aeb)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-10 10:32:08 +00:00
wangmy
0b7d43b5d9 python3-pytest: upgrade 6.2.5 -> 7.0.0
License-Update: year from "2004-2020" changed to "2004".

(From OE-Core rev: 5f995c013a98b340989231611702c469dd774405)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-10 10:32:08 +00:00
wangmy
8960b39bb1 python3-pycryptodome: upgrade 3.14.0 -> 3.14.1
Changelog:
=========
GH#595: Fixed memory leak for GMP integers.

(From OE-Core rev: bf8dd261cc1f40525beacacc93d7de08c220ae92)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-10 10:32:08 +00:00
wangmy
63f18599a1 python3-magic: upgrade 0.4.24 -> 0.4.25
Changelog:
=========
  - Support os.PathLike values in Magic.from_file and magic.from_file
  - Handle some versions of libmagic that return mime string without charset
  - Fix tests for file 5.41
  - Include typing stub in package

(From OE-Core rev: ddf1cf89925ef8cb31a68041e97168959ca9b619)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-10 10:32:08 +00:00
wangmy
3872c13296 findutils: upgrade 4.8.0 -> 4.9.0
(From OE-Core rev: 389502162f63215a77dd58c4971f61fad13ea125)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-10 10:32:08 +00:00
wangmy
6ffba8f155 harfbuzz: upgrade 3.3.1 -> 3.3.2
Changelog:
=========
Revert splitting of pair positioning values introduced in 3.3.0 as it proved problematic

(From OE-Core rev: 8993285b02a1763b5e182850b19bbc140ca3906a)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-10 10:32:08 +00:00
wangmy
7aab974f7f gdbm: upgrade 1.22 -> 1.23
refresh ptest.patch

(From OE-Core rev: 38d0c34b6a1b44fcc41099936b534202111c3ef7)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-10 10:32:08 +00:00
wangmy
6939cb68fc man-db: upgrade 2.9.4 -> 2.10.0
License-Update:
==============
 COPYING : "GNU Library" changed to "GNU Lesser"
         format changed
 COPYING.LIB : "51 Franklin St" changed to "51 Franklin Street"
               format changed

(From OE-Core rev: 68e7e1d332f9e0f777882e3a6b41b9d958340e7b)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-10 10:32:08 +00:00
wangmy
e940763c71 libxkbcommon: upgrade 1.3.1 -> 1.4.0
Changelog:
=========
- Add `enable-tools` option to Meson build (on by default) to allow disabling
  the `xkbcli` tools.
- In `xkbcli list`, fix "YAML Norway problem" in output.
- In libxkbregistry, variants now inherit iso639, iso3166 and brief from parent
  layout if omitted.
- In libxkbregistry, don't call `xmlCleanupParser()` - it's not supposed to
  be called by libraries.
- In libxkbregistry, skip over invalid ISO-639 or ISO-3166 entries.

(From OE-Core rev: b5f516be42c7166eb1ac10b07ce05e95477c73f0)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-10 10:32:08 +00:00
wangmy
322904224c lzip: upgrade 1.22 -> 1.23
Changelog:
=========
* Decompression time has been reduced by 5-12% depending on the file.
* main.cc (getnum): Show option name and valid range if error.
* Improve several descriptions in manual, '--help', and man page.
* lzip.texi: Change GNU Texinfo category to 'Compression'.

(From OE-Core rev: 7fd35357985fbe9575b2e2e51b4ebbd8e291265b)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-10 10:32:08 +00:00
wangmy
7f1f176494 libxcrypt: upgrade 4.4.27 -> 4.4.28
Changelog:
=========
Add glibc-on-or1k (OpenRISC 1000) entry to libcrypt.minver.
This was added in GNU libc 2.35.

(From OE-Core rev: 63a37426109911ad629454cae1b66a2e34c4a43e)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-10 10:32:08 +00:00
wangmy
7e2d184140 libmodulemd: upgrade 2.13.0 -> 2.14.0
Changelog:
=========
Enhancements:
-------------
New functions for stripping XMD from an index
(modulemd_module_index_clear_xmds()), from a module
(modulemd_module_clear_xmds()), and from a version 2 module stream
(modulemd_module_stream_v2_clear_xmd()). This enables you to prevent from leaking
private build options to output modulemd-v2 documents.
Interpret an invalid buildorder 18446744073709551615 as -1 if the library
is built with a new build boolean accept_overflowed_buildorder set to true.
Document module version, buildorder, and epoch limits in the specifications.
Also clarify that an epoch number at RPM artifacts is mandatory.
Document that modulemd_module_get_defaults can return NULL
Improve a documentation for modulemd_module_set_defaults() and
modulemd_module_index_upgrade_defaults() functions.
Improve modulemd-validator(1) manual page.
Drop a build dependency on help2man tool.

Fixes:
------
Fix a crash when updating an index with an invalid subdocument and a NULL
error parameter.
Fix clobbering module defaults on a modulemd_module_set_defaults() error.
Fix modulemd_module_index_upgrade_defaults() to actually use the requested
version.
Reject duplicate contexts in modulemd-packager-v3 documents.
Report an error if modulemd-validator tool is invoked with both --version
option and an unknown option.
Fix an undefined behaviour when comparing integers of different signs.
Fix DNF examples in a documentation.
Actually execute modulemd-obsoletes Python tests.
Fix deprecation warnings in tests with glib2-2.69.0.
Fix deprecation warnings in Python tests and make the test compatible with

(From OE-Core rev: 6b2697be1d595a080cffb1d32a4ac385b8a9a63f)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-10 10:32:08 +00:00
Bruce Ashfield
bffc5a1a3a lttng-modules: update devupstream to latest 2.13
This includes the following commits since the last update:

    7584cfc0 fix: net: socket: rename SKB_DROP_REASON_SOCKET_FILTER (v5.17)
    6e9d0d57 fix: net: skb: introduce kfree_skb_reason() (v5.17)
    98b7729a fix: random: rather than entropy_store abstraction, use global (v5.17)
    c8f96e77 fix: btrfs: pass fs_info to trace_btrfs_transaction_commit (v5.17)
    afc4fe89 fix: mm: compaction: fix the migration stats in trace_mm_compaction_migratepages() (v5.17)
    4b1945d3 fix: block: remove the ->rq_disk field in struct request (v5.17)
    a88ee460 fix: block: remove GENHD_FL_SUPPRESS_PARTITION_INFO (v5.17)
    babc49c6 Copyright ownership transfer
    8c0aec7e Version 2.13.1
    533556cd fix: mm: move kvmalloc-related functions to slab.h (v5.16)
    2f0087ab fix: block: don't call blk_status_to_errno in blk_update_request (v5.16)
    9b092ff2 fix: KVM: MMU: change tracepoints arguments to kvm_page_fault (v5.16)
    036297af fix: KVM: x86: Get exit_reason as part of kvm_x86_ops.get_exit_info (v5.16)
    a029f2a3 fix: isystem: delete global -isystem compile option (v5.16)
    d82de6f3 fix: block: move block-related definitions out of fs.h (v5.16)
    4fabf854 Fix: syscall tracing: missing trigger actions
    38b35aff Warn on event registration/unregistration failure
    e26f740b fix: implicit-int error in EXPORT_SYMBOL_GPL
    c570be0d fix: Revert "Makefile: Enable -Wimplicit-fallthrough for Clang" (v5.15)

(From OE-Core rev: d8ceaf9c97984f51a0526dbcc05ee2635f03b0c7)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-10 10:32:07 +00:00
Bruce Ashfield
3251babcd6 linux-yocto/5.10: update to v5.10.96
Updating linux-yocto/5.10 to the latest korg -stable release that comprises
the following commits:

    f255ac9e8776 Linux 5.10.96
    b43e9d2f6fc7 mtd: rawnand: mpc5121: Remove unused variable in ads5121_select_chip()
    b63e120189fd block: Fix wrong offset in bio_truncate()
    0b4e82403c84 fsnotify: invalidate dcache before IN_DELETE event
    8bae6db29c7f usr/include/Makefile: add linux/nfc.h to the compile-test coverage
    f36554de7897 dt-bindings: can: tcan4x5x: fix mram-cfg RX FIFO config
    446ff1fc37c7 net: bridge: vlan: fix memory leak in __allowed_ingress
    bc58a5bb9e6c ipv4: remove sparse error in ip_neigh_gw4()
    ebc5b8e471e5 ipv4: tcp: send zero IPID in SYNACK messages
    58f72918f942 ipv4: raw: lock the socket in raw_bind()
    9ffc94a81b0f net: bridge: vlan: fix single net device option dumping
    869f1704f1c2 Revert "ipv6: Honor all IPv6 PIO Valid Lifetime values"
    699eef4ed910 net: hns3: handle empty unknown interrupt for VF
    c9c81b393c74 net: cpsw: Properly initialise struct page_pool_params
    729e54636b3e yam: fix a memory leak in yam_siocdevprivate()
    93a6e920d8cc drm/msm/dpu: invalid parameter check in dpu_setup_dspp_pcc
    0b7d8db87d0b drm/msm/hdmi: Fix missing put_device() call in msm_hdmi_get_phy
    d1d4616d3e75 video: hyperv_fb: Fix validation of screen resolution
    0a60d04abc62 ibmvnic: don't spin in tasklet
    55258b505996 ibmvnic: init ->running_cap_crqs early
    b469cf91fb63 ipv4: fix ip option filtering for locally generated fragments
    9b4444197252 net: ipv4: Fix the warning for dereference
    2f56c4845df9 net: ipv4: Move ip_options_fragment() out of loop
    55402a461872 powerpc/perf: Fix power_pmu_disable to call clear_pmi_irq_pending only if PMI is pending
    0bdbf93ee253 hwmon: (lm90) Mark alert as broken for MAX6654
    c534287a57dc efi/libstub: arm64: Fix image check alignment at entry
    3572205b194c rxrpc: Adjust retransmission backoff
    5067f5699de7 octeontx2-pf: Forward error codes to VF
    bd024e36f681 phylib: fix potential use-after-free
    a839a79f4d6b net: phy: broadcom: hook up soft_reset for BCM54616S
    57b2f3632b2f sched/pelt: Relax the sync of util_sum with util_avg
    91b04e83c710 perf: Fix perf_event_read_local() time
    cffed7e631b5 kernel: delete repeated words in comments
    1af995c98b81 netfilter: conntrack: don't increment invalid counter on NF_REPEAT
    129c71829d7f powerpc64/bpf: Limit 'ldbrx' to processors compliant with ISA v2.06
    7a32824f7a9c NFS: Ensure the server has an up to date ctime before renaming
    666f6ab882ea NFS: Ensure the server has an up to date ctime before hardlinking
    4cd0ef621509 ipv6: annotate accesses to fn->fn_sernum
    79c0b5287ded drm/msm/dsi: invalid parameter check in msm_dsi_phy_enable
    3ab44a408bba drm/msm/dsi: Fix missing put_device() call in dsi_get_phy
    82c310d04b0f drm/msm: Fix wrong size calculation
    f57a99c9a55c net-procfs: show net devices bound packet types
    87880e3803ce NFSv4: nfs_atomic_open() can race when looking up a non-regular file
    ce8c552b88ca NFSv4: Handle case where the lookup of a directory fails
    b48a05cee2c0 hwmon: (lm90) Reduce maximum conversion rate for G781
    b26fed25e67b ipv4: avoid using shared IP generator for connected sockets
    283aa5a5afbc ping: fix the sk_bound_dev_if match in ping_lookup
    7bcb0c19abf4 hwmon: (lm90) Mark alert as broken for MAX6680
    925cbd596aa2 hwmon: (lm90) Mark alert as broken for MAX6646/6647/6649
    db044d97460e net: fix information leakage in /proc/net/ptype
    feb770cc00a8 ipv6_tunnel: Rate limit warning messages
    00849de10f79 scsi: bnx2fc: Flush destroy_work queue before calling bnx2fc_interface_put()
    fcaf94c49a84 rpmsg: char: Fix race between the release of rpmsg_eptdev and cdev
    1dbb206730f3 rpmsg: char: Fix race between the release of rpmsg_ctrldev and cdev
    20f667582189 usb: roles: fix include/linux/usb/role.h compile issue
    6aeff8a7c742 i40e: fix unsigned stat widths
    d2ed5997a94b i40e: Fix for failed to init adminq while VF reset
    768eb705e638 i40e: Fix queues reservation for XDP
    39896710f732 i40e: Fix issue when maximum queues is exceeded
    9068bcb2195b i40e: Increase delay to 1 s after global EMP reset
    b4c9b6afa3a7 powerpc/32: Fix boot failure with GCC latent entropy plugin
    50f5d0a8bd0e powerpc/32s: Fix kasan_init_region() for KASAN
    5d3af1dfdf0f powerpc/32s: Allocate one 256k IBAT instead of two consecutives 128k IBATs
    08f090bb9b69 x86/MCE/AMD: Allow thresholding interface updates after init
    791e5d5daa2c sched/membarrier: Fix membarrier-rseq fence command missing from query bitmask
    afbde455ebf4 ocfs2: fix a deadlock when commit trans
    97f75e7d4c30 jbd2: export jbd2_journal_[grab|put]_journal_head
    3921d081c9c3 ucsi_ccg: Check DEV_INT bit only when starting CCG4
    598a884c772c usb: typec: tcpm: Do not disconnect while receiving VBUS off
    e3b131e30e61 USB: core: Fix hang in usb_kill_urb by adding memory barriers
    3ca928c82427 usb: gadget: f_sourcesink: Fix isoc transfer for USB_SPEED_SUPER_PLUS
    053274bc6baa usb: common: ulpi: Fix crash in ulpi_match()
    20c51a4c5220 usb: xhci-plat: fix crash when suspend if remote wake enable
    38d1bf67a310 usb-storage: Add unusual-devs entry for VL817 USB-SATA bridge
    e0fcae7bd72b tty: Add support for Brainboxes UC cards.
    7079283d32a2 tty: n_gsm: fix SW flow control encoding/handling
    2683b0d5d7d5 serial: stm32: fix software flow control transfer
    4628b26df51c serial: 8250: of: Fix mapped region size when using reg-offset property
    94b23988c305 netfilter: nft_payload: do not update layer 4 checksum when mangling fragments
    bf0d4ae5c6c2 arm64: errata: Fix exec handling in erratum 1418040 workaround
    e92cac1dd803 KVM: x86: Update vCPU's runtime CPUID on write to MSR_IA32_XSS
    6b55af102b39 drm/etnaviv: relax submit size limits
    7a32d17fb73a perf/x86/intel/uncore: Fix CAS_COUNT_WRITE issue for ICX
    a2c8e1d9e41b Revert "KVM: SVM: avoid infinite loop on NPF from bad address"
    abae88fb37bf fsnotify: fix fsnotify hooks in pseudo filesystems
    6ceac38e9b0c ceph: set pool_ns in new inode layout for async creates
    e7be12ca7d39 ceph: properly put ceph_string reference after async create attempt
    39986696fef5 tracing: Don't inc err_log entry count if entry allocation fails
    d71b06aa9950 tracing/histogram: Fix a potential memory leak for kstrdup()
    561a22d44acc PM: wakeup: simplify the output logic of pm_show_wakelocks()
    b0f1cc093bc2 efi: runtime: avoid EFIv2 runtime services on Apple x86 machines
    de7cc8bcca90 udf: Fix NULL ptr deref when converting from inline format
    0a3cfd258923 udf: Restore i_lenAlloc when inode expansion fails
    f08801252d26 scsi: zfcp: Fix failed recovery on gone remote port with non-NPIV FCP devices
    ff6bdc205fd0 bpf: Guard against accessing NULL pt_regs in bpf_get_task_stack()
    6520fedfcebb s390/hypfs: include z/VM guests with access control group set
    c10e0627c71c s390/module: fix loading modules with a lot of relocations
    ba7c71a777c1 net: stmmac: skip only stmmac_ptp_register when resume from suspend
    11191406f2f1 net: sfp: ignore disabled SFP node
    e651772adced media: venus: core: Drop second v4l2 device unregister
    83d5196b65d1 Bluetooth: refactor malicious adv data check
    77656fde3c01 Linux 5.10.95
    ae2b20f27732 drm/vmwgfx: Fix stale file descriptors on failed usercopy
    11ba2c6dfb90 select: Fix indefinitely sleeping task in poll_schedule_timeout()
    a447d7f786ec KVM: x86/mmu: Fix write-protection of PTs mapped by the TDP MMU
    12d3389b7af6 rcu: Tighten rcu_advance_cbs_nowake() checks
    4d63363c88e3 bnx2x: Invalidate fastpath HSI version for VFs
    fdcfabd0952d bnx2x: Utilize firmware 7.13.21.0
    6a6acf927895 drm/i915: Flush TLBs before releasing backing store
    c525532e4f87 Linux 5.10.94
    c76c132444df scripts: sphinx-pre-install: Fix ctex support on Debian
    133cef0b6154 scripts: sphinx-pre-install: add required ctex dependency
    15ce9329a532 ath10k: Fix the MTU size on QCA9377 SDIO
    25b1a6d33039 mtd: nand: bbt: Fix corner case in bad block table handling
    8104e589fa4a lib/test_meminit: destroy cache in kmem_cache_alloc_bulk() test
    629250370052 mm/hmm.c: allow VM_MIXEDMAP to work with hmm_range_fault
    33bb7f027b06 lib82596: Fix IRQ check in sni_82596_probe
    078b5a4498e0 scripts/dtc: dtx_diff: remove broken example from help text
    21513c461557 dt-bindings: watchdog: Require samsung,syscon-phandle for Exynos7
    23bcf3615be7 dt-bindings: display: meson-vpu: Add missing amlogic,canvas property
    66467cc87a35 dt-bindings: display: meson-dw-hdmi: add missing sound-name-prefix property
    4496e4a427a0 net: mscc: ocelot: fix using match before it is set
    ee64479c9ce6 net: sfp: fix high power modules without diagnostic monitoring
    819e76bc572e net: ethernet: mtk_eth_soc: fix error checking in mtk_mac_config()
    4691c9f047a8 bcmgenet: add WOL IRQ check
    6973b38b9dba net_sched: restore "mpu xxx" handling
    20949c381646 net: bonding: fix bond_xmit_broadcast return value error bug
    799730d182d1 arm64: dts: qcom: msm8996: drop not documented adreno properties
    f6d4c0e017ec devlink: Remove misleading internal_flags from health reporter dump
    2e51a761b7ab perf probe: Fix ppc64 'perf probe add events failed' case
    59b44f77601d dmaengine: at_xdmac: Fix at_xdmac_lld struct definition
    0078f053714d dmaengine: at_xdmac: Fix lld view setting
    7ab120636d4e dmaengine: at_xdmac: Fix concurrency over xfers_list
    b5b27c5e3315 dmaengine: at_xdmac: Print debug message after realeasing the lock
    c536b351a75f dmaengine: at_xdmac: Start transfer for cyclic channels in issue_pending
    cd22e22e8eac dmaengine: at_xdmac: Don't start transactions at tx_submit level
    68a83051c8b1 perf script: Fix hex dump character output
    7b9d40e9f60d libcxgb: Don't accidentally set RTO_ONLINK in cxgb_find_route()
    cd5c24d2230f gre: Don't accidentally set RTO_ONLINK in gre_fill_metadata_dst()
    7f2ca96bd266 xfrm: Don't accidentally set RTO_ONLINK in decode_session4()
    2b1415c60b2e netns: add schedule point in ops_exit_list()
    edc09548ffc5 inet: frags: annotate races around fqdir->dead and fqdir->high_thresh
    69e7e979ed66 taskstats: Cleanup the use of task->exit_code
    56daa21414e9 virtio_ring: mark ring unused on error
    0c4ebcb00d88 vdpa/mlx5: Fix wrong configuration of virtio_version_1_0
    c736ec01a2fc rtc: pxa: fix null pointer dereference
    8b8ff4c793ee HID: vivaldi: fix handling devices not using numbered reports
    d7544cf6939c net: axienet: increase default TX ring size to 128
    557829d42d1f net: axienet: fix for TX busy handling
    41831d496772 net: axienet: fix number of TX ring slots for available check
    6301f3566aef net: axienet: Fix TX ring slot available check
    7a3d3d7f6d7b net: axienet: limit minimum TX ring size
    2f548489d64d net: axienet: add missing memory barriers
    bcc5d57e6091 net: axienet: reset core on initialization prior to MDIO access
    46c0ccaff285 net: axienet: Wait for PhyRstCmplt after core reset
    34942a228aec net: axienet: increase reset timeout
    a66b9bccf732 net/smc: Fix hung_task when removing SMC-R devices
    51b52cf35485 clk: si5341: Fix clock HW provider cleanup
    fe40f7aef387 clk: Emit a stern warning with writable debugfs enabled
    38221afa03af af_unix: annote lockless accesses to unix_tot_inflight & gc_in_progress
    a49e402f2309 f2fs: fix to reserve space for IO align feature
    39ad0581176d f2fs: compress: fix potential deadlock of compress file
    e1840365ed4f parisc: pdc_stable: Fix memory leak in pdcs_register_pathentries
    d806eb5f4e23 net/fsl: xgmac_mdio: Fix incorrect iounmap when removing module
    38c798384b90 net/fsl: xgmac_mdio: Add workaround for erratum A-009885
    734f4b0f831e ipv4: avoid quadratic behavior in netns dismantle
    86f0587f7432 ipv4: update fib_info_cnt under spinlock protection
    10e99ae9b5da perf evsel: Override attr->sample_period for non-libpfm4 events
    58fa3e900255 xdp: check prog type before updating BPF link
    38ee417f59c8 bpftool: Remove inclusion of utilities.mak from Makefiles
    2bcab471a26f block: Fix fsync always failed if once failed
    5e59f885353e powerpc/fsl/dts: Enable WA for erratum A-009885 on fman3l MDIO buses
    19aaef651948 powerpc/cell: Fix clang -Wimplicit-fallthrough warning
    4cb7aba1e086 Revert "net/mlx5: Add retry mechanism to the command entry index allocation"
    78cf5f63a3a9 dmaengine: stm32-mdma: fix STM32_MDMA_CTBR_TSEL_MASK
    16ad0aa917c9 RDMA/rxe: Fix a typo in opcode name
    885860717c29 RDMA/hns: Modify the mapping attribute of doorbell to device
    57cd8597c3ef dmaengine: uniphier-xdmac: Fix type of address variables
    4fe77b7cd272 scsi: core: Show SCMD_LAST in text form
    b30240911da4 Bluetooth: hci_sync: Fix not setting adv set duration
    55698d11c8da Documentation: fix firewire.rst ABI file path error
    5d38cbf66dd7 Documentation: refer to config RANDOMIZE_BASE for kernel address-space randomization
    abecf9d74836 Documentation: ACPI: Fix data node reference documentation
    d1e85fcd73b5 Documentation: dmaengine: Correctly describe dmatest with channel unset
    f6736bd81db4 media: correct MEDIA_TEST_SUPPORT help text
    55b10b88ac86 drm/vc4: hdmi: Make sure the device is powered with CEC
    81ac08a800b0 media: rcar-csi2: Optimize the selection PHTW register
    0baa3729d2eb can: mcp251xfd: mcp251xfd_tef_obj_read(): fix typo in error message
    f62bf6ee4fa3 firmware: Update Kconfig help text for Google firmware
    12224c0d19f3 of: base: Improve argument length mismatch error
    7bb99c7e13f8 drm/radeon: fix error handling in radeon_driver_open_kms
    0ca7ec6db20c ext4: don't use the orphan list when migrating an inode
    679fb065326b ext4: fix null-ptr-deref in '__ext4_journal_ensure_credits'
    d60e9daba29e ext4: destroy ext4_fc_dentry_cachep kmemcache on module removal
    f26b24b4c115 ext4: fast commit may miss tracking unwritten range during ftruncate
    04b562730677 ext4: use ext4_ext_remove_space() for fast commit replay delete range
    53998b3f6dcd ext4: Fix BUG_ON in ext4_bread when write quota data
    da364ab35892 ext4: set csum seed in tmp inode while migrating to extents
    e4221629d5e1 ext4: fix fast commit may miss tracking range for FALLOC_FL_ZERO_RANGE
    720508dd118d ext4: initialize err_blk before calling __ext4_get_inode_loc
    f9ed0ea0a9fc ext4: fix a possible ABBA deadlock due to busy PA
    115b762b48ab ext4: make sure quota gets properly shutdown on error
    762e4c33e9e5 ext4: make sure to reset inode lockdep class when quota enabling fails
    f8c3ec2e21b9 btrfs: respect the max size in the header when activating swap file
    e7764bccae77 btrfs: check the root node for uptodate before returning it
    09e0ef287e93 btrfs: fix deadlock between quota enable and other quota operations
    56f974d583fc xfrm: fix policy lookup for ipv6 gre packets
    84166c1177f3 PCI: pci-bridge-emul: Set PCI_STATUS_CAP_LIST for PCIe device
    7aeeb9fe9ca0 PCI: pci-bridge-emul: Correctly set PCIe capabilities
    af1d0acdaca7 PCI: pci-bridge-emul: Fix definitions of reserved bits
    0f2ae6691e73 PCI: pci-bridge-emul: Properly mark reserved PCIe bits in PCI config space
    2a0d437d8a76 PCI: pci-bridge-emul: Make expansion ROM Base Address register read-only
    def2825b09ec PCI: pciehp: Use down_read/write_nested(reset_lock) to fix lockdep errors
    6cbe8f8deb62 PCI: xgene: Fix IB window setup
    e09f47e77b6e powerpc/64s/radix: Fix huge vmap false positive
    eb44b1386af5 parisc: Fix lpa and lpa_user defines
    9b78ee2341d4 drm/bridge: analogix_dp: Make PSR-exit block less
    8cbbf4a6f1ac drm/nouveau/kms/nv04: use vzalloc for nv04_display
    605583fcccb5 drm/etnaviv: limit submit sizes
    6c1e3d8b1bff device property: Fix fwnode_graph_devcon_match() fwnode leak
    ecb71f7bd584 s390/mm: fix 2KB pgtable release race
    798754ba48b7 iwlwifi: mvm: Increase the scan timeout guard to 30 seconds
    c524f4cfb3e5 tracing/kprobes: 'nmissed' not showed correctly for kretprobe
    b72075e395b3 cputime, cpuacct: Include guest time in user time in cpuacct.stat
    13518f058fde serial: Fix incorrect rs485 polarity on uart open
    9668cf9e4af0 fuse: Pass correct lend value to filemap_write_and_wait_range()
    9fbaddd783fd xen/gntdev: fix unmap notification order
    67b078d996f7 spi: uniphier: Fix a bug that doesn't point to private data correctly
    05026c4e94c9 tpm: fix NPE on probe for missing device
    76006d33f1c8 ubifs: Error path in ubifs_remount_rw() seems to wrongly free write buffers
    4f0762ac32b5 crypto: caam - replace this_cpu_ptr with raw_cpu_ptr
    9e6ff2d5725b crypto: stm32/crc32 - Fix kernel BUG triggered in probe()
    2031e0246e45 crypto: omap-aes - Fix broken pm_runtime_and_get() usage
    43e94431c313 rpmsg: core: Clean up resources on announce_create failure.
    082ff9e12b4a phy: mediatek: Fix missing check in mtk_mipi_tx_probe
    ff08cf1e34a1 ASoC: mediatek: mt8183: fix device_node leak
    f28672eef4a9 ASoC: mediatek: mt8173: fix device_node leak
    0df51040089d scsi: sr: Don't use GFP_DMA
    de9a936b04c5 MIPS: Octeon: Fix build errors using clang
    da7df943e254 i2c: designware-pci: Fix to change data types of hcnt and lcnt parameters
    f09f7ccb28bb irqchip/gic-v4: Disable redistributors' view of the VPE table at boot time
    bc2d961d821b MIPS: OCTEON: add put_device() after of_find_device_by_node()
    ce34b03a71b6 udf: Fix error handling in udf_new_inode()
    15be042e7fd9 powerpc/fadump: Fix inaccurate CPU state info in vmcore generated with panic
    f2e658d9bda2 powerpc: handle kdump appropriately with crash_kexec_post_notifiers option
    044164b4198e selftests/powerpc/spectre_v2: Return skip code when miss_percent is high
    21125e011620 powerpc/40x: Map 32Mbytes of memory at startup
    c330442f46ea MIPS: Loongson64: Use three arguments for slti
    af8d07735083 ALSA: seq: Set upper limit of processed events
    297210783a7a scsi: lpfc: Trigger SLI4 firmware dump before doing driver cleanup
    dfde7afed711 dm: fix alloc_dax error handling in alloc_dev
    2e2086f49e08 nvmem: core: set size for sysfs bin file
    4a273a94bda8 w1: Misuse of get_user()/put_user() reported by sparse
    87e91d6c6a5e KVM: PPC: Book3S: Suppress failed alloc warning in H_COPY_TOFROM_GUEST
    23bb3f01ceb5 KVM: PPC: Book3S: Suppress warnings when allocating too big memory slots
    03c1595a181c powerpc/powermac: Add missing lockdep_register_key()
    df29c01b9fbe clk: meson: gxbb: Fix the SDM_EN bit for MPLL0 on GXBB
    30d35a1abd9e i2c: mpc: Correct I2C reset procedure
    4b25aad655c9 powerpc/smp: Move setup_profiling_timer() under CONFIG_PROFILING
    25714ad6bf5e i2c: i801: Don't silently correct invalid transfer size
    75e2cfa5fae9 powerpc/watchdog: Fix missed watchdog reset due to memory ordering race
    a83639521a4f powerpc/btext: add missing of_node_put
    fc10d8f00a89 powerpc/cell: add missing of_node_put
    297ff7d5f157 powerpc/powernv: add missing of_node_put
    c83ba875d7be powerpc/6xx: add missing of_node_put
    d240b08d8ac4 x86/kbuild: Enable CONFIG_KALLSYMS_ALL=y in the defconfigs
    3681e9f3f0f7 parisc: Avoid calling faulthandler_disabled() twice
    f2a27dd7a2de random: do not throw away excess input to crng_fast_load
    f8fdebfb4b37 serial: core: Keep mctrl register state and cached copy in sync
    a03fd1b19891 serial: pl010: Drop CR register reset on set_termios
    40ac33892630 regulator: qcom_smd: Align probe function with rpmh-regulator
    3dc751213fe9 net: gemini: allow any RGMII interface mode
    1063de897563 net: phy: marvell: configure RGMII delays for 88E1118
    00580670b98b mlxsw: pci: Avoid flow control for EMAD packets
    eaf8cffcf5d5 dm space map common: add bounds check to sm_ll_lookup_bitmap()
    5850bef8e955 dm btree: add a defensive bounds check to insert_at()
    754b663ea916 mac80211: allow non-standard VHT MCS-10/11
    e8da60b3a629 net: mdio: Demote probed message to debug print
    6b22c9824ddb btrfs: remove BUG_ON(!eie) in find_parent_nodes
    623c65bc7336 btrfs: remove BUG_ON() in find_parent_nodes()
    44cbd2a16a07 ACPI: battery: Add the ThinkPad "Not Charging" quirk
    7b6dc07c6e69 amdgpu/pm: Make sysfs pm attributes as read-only for VFs
    516e332d6fce drm/amdgpu: fixup bad vram size on gmc v8
    ee88ff140de2 ACPICA: Hardware: Do not flush CPU cache when entering S4 and S5
    8544074762e2 ACPICA: Fix wrong interpretation of PCC address
    e70be176961d ACPICA: Executer: Fix the REFCLASS_REFOF case in acpi_ex_opcode_1A_0T_1R()
    8ea9216d20b7 ACPICA: Utilities: Avoid deleting the same object twice in a row
    fcfd8282c5d2 ACPICA: actypes.h: Expand the ACPI_ACCESS_ definitions
    e3a51d6c90a8 jffs2: GC deadlock reading a page that is used in jffs2_write_begin()
    e35cb5b122fc drm/etnaviv: consider completed fence seqno in hang check
    a0b13335a342 xfrm: rate limit SA mapping change message to user space
    0b7beb2fea8f Bluetooth: vhci: Set HCI_QUIRK_VALID_LE_STATES
    6ac117edac18 ath11k: Fix napi related hang
    756a7188b277 um: registers: Rename function names to avoid conflicts and build problems
    d817d10f7a00 iwlwifi: pcie: make sure prph_info is set when treating wakeup IRQ
    f266e1c5bf88 iwlwifi: mvm: Fix calculation of frame length
    6e44b600543c iwlwifi: remove module loading failure message
    febab6b60d61 iwlwifi: fix leaks/bad data after failed firmware load
    81d2e96ababb PM: AVS: qcom-cpr: Use div64_ul instead of do_div
    c0a1d844e3e7 rtw88: 8822c: update rx settings to prevent potential hw deadlock
    3ef25f3122c0 ath9k: Fix out-of-bound memcpy in ath9k_hif_usb_rx_stream
    e10de3105547 usb: hub: Add delay for SuperSpeed hub resume to let links transit to U0
    282286c632a2 cpufreq: Fix initialization of min and max frequency QoS requests
    37b25de3af10 PM: runtime: Add safety net to supplier device release
    5dfc6fa0b8c2 arm64: tegra: Adjust length of CCPLEX cluster MMIO region
    b68c56a149e4 arm64: dts: ls1028a-qds: move rtc node to the correct i2c bus
    b6f7f0ad5af5 audit: ensure userspace is penalized the same as the kernel when under pressure
    5d54ed155031 mmc: core: Fixup storing of OCR for MMC_QUIRK_NONSTD_SDIO
    51a5156bb779 media: saa7146: hexium_gemini: Fix a NULL pointer dereference in hexium_attach()
    f6bc6b178ce1 media: igorplugusb: receiver overflow should be reported
    d698e024be2e HID: quirks: Allow inverting the absolute X/Y values
    59f03633463f bpf: Do not WARN in bpf_warn_invalid_xdp_action()
    0e8805f73b69 net: bonding: debug: avoid printing debug logs when bond is not notifying peers
    8c72de32ff13 x86/mce: Mark mce_read_aux() noinstr
    1ad3e60f1fec x86/mce: Mark mce_end() noinstr
    f21ca973b43f x86/mce: Mark mce_panic() noinstr
    de360d944386 x86/mce: Allow instrumentation during task work queueing
    af371e0abb6c ath11k: Avoid false DEADLOCK warning reported by lockdep
    aec69e2f33b4 selftests/ftrace: make kprobe profile testcase description unique
    07ecabf15ad3 gpio: aspeed: Convert aspeed_gpio.lock to raw_spinlock
    7e09f9d15e43 net: phy: prefer 1000baseT over 1000baseKX
    443133330a5d net-sysfs: update the queue counts in the unregistration path
    58b4c1ce8328 ath10k: Fix tx hanging
    fcba0bce3357 ath11k: avoid deadlock by change ieee80211_queue_work for regd_update_work
    93a108d466f8 iwlwifi: mvm: avoid clearing a just saved session protection id
    ec01e0fe2184 iwlwifi: mvm: synchronize with FW after multicast commands
    c1976a424807 thunderbolt: Runtime PM activate both ends of the device link
    830e5d1b4344 media: m920x: don't use stack on USB reads
    c33f0f22bfea media: saa7146: hexium_orion: Fix a NULL pointer dereference in hexium_attach()
    526b6c9b4521 media: rcar-vin: Update format alignment constraints
    74e60c1dce06 media: uvcvideo: Increase UVC_CTRL_CONTROL_TIMEOUT to 5 seconds.
    d0e3ab637de1 drm: rcar-du: Fix CRTC timings when CMM is used
    e61aa46d0f27 x86/mm: Flush global TLB when switching to trampoline page-table
    0946fdd9290a floppy: Add max size check for user space request
    409d45bcd381 usb: uhci: add aspeed ast2600 uhci support
    d0aec428c072 arm64: dts: ti: j7200-main: Fix 'dtbs_check' serdes_ln_ctrl node
    fcb45ac39f90 ACPI / x86: Add not-present quirk for the PCI0.SDHB.BRC1 device on the GPD win
    b8b2e74a8751 ACPI / x86: Allow specifying acpi_device_override_status() quirks by path
    cda755506df4 ACPI: Change acpi_device_always_present() into acpi_device_override_status()
    b029625063c1 ACPI / x86: Drop PWM2 device on Lenovo Yoga Book from always present table
    cf3b1a160dc2 media: venus: avoid calling core_clk_setrate() concurrently during concurrent video sessions
    adbe14867277 ath11k: Avoid NULL ptr access during mgmt tx cleanup
    ab523ea096ef rsi: Fix out-of-bounds read in rsi_read_pkt()
    752587675068 rsi: Fix use-after-free in rsi_rx_done_handler()
    6036500fdf77 mwifiex: Fix skb_over_panic in mwifiex_usb_recv()
    8a6371d84c5f crypto: jitter - consider 32 LSB for APT
    240cf5d3cb5e HSI: core: Fix return freed object in hsi_new_client
    f4295b7dca87 gpiolib: acpi: Do not set the IRQ type if the IRQ is already in use
    f0653cd4da66 tty: serial: imx: disable UCR4_OREN in .stop_rx() instead of .shutdown()
    b8d10f601f22 drm/bridge: megachips: Ensure both bridges are probed before registration
    43fc9e267e2e mlxsw: pci: Add shutdown method in PCI driver
    b2e921fa9219 soc: ti: pruss: fix referenced node in error message
    07fbbc4dc79d drm/amdgpu/display: set vblank_disable_immediate for DC
    019fe9723a83 drm/amd/display: check top_pipe_to_program pointer
    3c3c0b6c4ae9 ARM: imx: rename DEBUG_IMX21_IMX27_UART to DEBUG_IMX27_UART
    f54d8cd831be EDAC/synopsys: Use the quirk for version instead of ddr version
    0b85d73fdbc8 media: b2c2: Add missing check in flexcop_pci_isr:
    c978d39a8b14 HID: apple: Do not reset quirks when the Fn key is not found
    2df002e3276b drm: panel-orientation-quirks: Add quirk for the Lenovo Yoga Book X91F/L
    5aa57672c66c usb: gadget: f_fs: Use stream_open() for endpoint files
    129e8faaee97 ath11k: Fix crash caused by uninitialized TX ring
    e8b271f2aadd media: atomisp: handle errors at sh_css_create_isp_params()
    ebe9c978d9e7 batman-adv: allow netlink usage in unprivileged containers
    ff452db96163 ARM: shmobile: rcar-gen2: Add missing of_node_put()
    ff2138d6c2a3 media: atomisp-ov2680: Fix ov2680_set_fmt() clobbering the exposure
    51ef6582a218 media: atomisp: set per-device's default mode
    ac08140677c0 media: atomisp: fix try_fmt logic
    518e059789f6 drm/nouveau/pmu/gm200-: avoid touching PMU outside of DEVINIT/PREOS/ACR
    e3ba02b043f2 drm/bridge: dw-hdmi: handle ELD when DRM_BRIDGE_ATTACH_NO_CONNECTOR
    2f13f10fddf4 ar5523: Fix null-ptr-deref with unexpected WDCMSG_TARGET_START reply
    a9d2ccfc7d2c selftests/bpf: Fix bpf_object leak in skb_ctx selftest
    b207356933f4 drm/lima: fix warning when CONFIG_DEBUG_SG=y & CONFIG_DMA_API_DEBUG=y
    db1e878373bf fs: dlm: filter user dlm messages for kernel locks
    f9c9a46efd94 Bluetooth: Fix debugfs entry leak in hci_register_dev()
    852d7d436fd1 ARM: dts: omap3-n900: Fix lp5523 for multi color
    b5793aff11d7 of: base: Fix phandle argument length mismatch error message
    e16e836d510c clk: bm1880: remove kfrees on static allocations
    36d46e21c9c4 ASoC: fsl_asrc: refine the check of available clock divider
    5a6864e2e6ab RDMA/cxgb4: Set queue pair state when being queried
    80524c8cdf29 ASoC: fsl_mqs: fix MODULE_ALIAS
    74988d017dd1 powerpc/xive: Add missing null check after calling kmalloc
    588e0b81ce38 mips: bcm63xx: add support for clk_set_parent()
    e3de89d010c0 mips: lantiq: add support for clk_set_parent()
    8f8468a089b0 arm64: tegra: Remove non existent Tegra194 reset
    702902fc7fb0 arm64: tegra: Fix Tegra194 HDA {clock,reset}-names ordering
    24b047d72c77 counter: stm32-lptimer-cnt: remove iio counter abi
    a39460610452 misc: lattice-ecp3-config: Fix task hung when firmware load failed
    696a50abbc7c ASoC: samsung: idma: Check of ioremap return value
    d491a2c2cf96 ASoC: mediatek: Check for error clk pointer
    c73ccdd62d21 phy: uniphier-usb3ss: fix unintended writing zeros to PHY register
    d781f4cd8c71 scsi: block: pm: Always set request queue runtime active in blk_post_runtime_resume()
    6e2a16954459 iommu/iova: Fix race between FQ timeout and teardown
    57bc8985753c ASoC: Intel: catpt: Test dmaengine_submit() result before moving on
    676049a3d2c6 iommu/amd: Restore GA log/tail pointer on host resume
    c2bd7c31de1a iommu/amd: Remove iommu_init_ga()
    62ea255f2bde dmaengine: pxa/mmp: stop referencing config->slave_id
    0be9ae1e532e mips: fix Kconfig reference to PHYS_ADDR_T_64BIT
    88d78b25db1f mips: add SYS_HAS_CPU_MIPS64_R5 config for MIPS Release 5 support
    51b8e814bcef clk: stm32: Fix ltdc's clock turn off by clk_disable_unused() after system enter shell
    dff359e04260 of: unittest: 64 bit dma address test requires arch support
    918105df78b7 of: unittest: fix warning on PowerPC frame size warning
    0e04518b1dd9 ASoC: rt5663: Handle device_property_read_u32_array error codes
    7c0d9c815ce8 RDMA/cma: Let cma_resolve_ib_dev() continue search even after empty entry
    2432d325f946 RDMA/core: Let ib_find_gid() continue search even after empty entry
    d77916df161b powerpc/powermac: Add additional missing lockdep_register_key()
    8b3783e517f6 PCI/MSI: Fix pci_irq_vector()/pci_irq_get_affinity()
    7be2a0bcaf8e RDMA/qedr: Fix reporting max_{send/recv}_wr attrs
    e19469468b7b scsi: ufs: Fix race conditions related to driver data
    ed43b2e048fe iommu/io-pgtable-arm: Fix table descriptor paddr formatting
    e9e4d1fb4590 openrisc: Add clone3 ABI wrapper
    551a785c26f6 binder: fix handling of error during copy
    88ddf033a5e4 char/mwave: Adjust io port register size
    8937aee4c0fa ALSA: usb-audio: Drop superfluous '0' in Presonus Studio 1810c's ID
    bcd533417fd0 ALSA: oss: fix compile error when OSS_DEBUG is enabled
    fd99aeb97845 clocksource: Avoid accidental unstable marking of clocksources
    cacc6c30e3eb clocksource: Reduce clocksource-skew threshold
    86ad478c99d2 powerpc/32s: Fix shift-out-of-bounds in KASAN init
    ef798cd035f3 powerpc/perf: Fix PMU callbacks to clear pending PMI before resetting an overflown PMC
    58014442a9e8 powerpc/irq: Add helper to set regs->softe
    c9ffa84a3bd1 powerpc/perf: move perf irq/nmi handling details into traps.c
    a0758b3be46d powerpc/perf: MMCR0 control for PMU registers under PMCC=00
    f4df6db5b0b8 powerpc/64s: Convert some cpu_setup() and cpu_restore() functions to C
    a9c9d2ff6423 dt-bindings: thermal: Fix definition of cooling-maps contribution property
    2bd8d937957f ASoC: uniphier: drop selecting non-existing SND_SOC_UNIPHIER_AIO_DMA
    5a821af769bb powerpc/prom_init: Fix improper check of prom_getprop()
    9ca761ef946d clk: imx8mn: Fix imx8mn_clko1_sels
    999528d8a749 scsi: pm80xx: Update WARN_ON check in pm8001_mpi_build_cmd()
    c5f414d69ac9 RDMA/hns: Validate the pkey index
    04a032ea2498 RDMA/bnxt_re: Scan the whole bitmap when checking if "disabling RCFW with pending cmd-bit"
    84cd5c029d48 ALSA: hda: Add missing rwsem around snd_ctl_remove() calls
    180e9d7384c6 ALSA: PCM: Add missing rwsem around snd_ctl_remove() calls
    49d76154ba8d ALSA: jack: Add missing rwsem around snd_ctl_remove() calls
    f871cd8ee0f0 ext4: avoid trim error on fs with small groups
    99590e820feb net: mcs7830: handle usb read errors properly
    2b948524ae65 iwlwifi: mvm: Use div_s64 instead of do_div in iwl_mvm_ftm_rtt_smoothing()
    04ce9e2aeda7 pcmcia: fix setting of kthread task states
    5064bfe046b0 can: xilinx_can: xcan_probe(): check for error irq
    b6dd1577bc92 can: softing: softing_startstop(): fix set but not used variable warning
    b9ac866c23bb tpm_tis: Fix an error handling path in 'tpm_tis_core_init()'
    fb46223c9f94 tpm: add request_locality before write TPM_INT_ENABLE
    20edf903a3a5 can: mcp251xfd: add missing newline to printed strings
    d71fca5d0167 regmap: Call regmap_debugfs_exit() prior to _init()
    838acddcdf75 netrom: fix api breakage in nr_setsockopt()
    0d04479857bc ax25: uninitialized variable in ax25_setsockopt()
    27e9910c4516 spi: spi-meson-spifc: Add missing pm_runtime_disable() in meson_spifc_probe
    9d6350cf8e5a Bluetooth: L2CAP: uninitialized variables in l2cap_sock_setsockopt()
    9defd7d4c084 lib/mpi: Add the return value check of kcalloc()
    e801f81cee3c net/mlx5: Set command entry semaphore up once got index free
    d2b9ce705d79 Revert "net/mlx5e: Block offload of outer header csum for UDP tunnels"
    67e1a449a165 net/mlx5e: Don't block routes with nexthop objects in SW
    cc40fa05c0a6 net/mlx5e: Fix page DMA map/unmap attributes
    b3dda01d1d47 debugfs: lockdown: Allow reading debugfs files that are not world readable
    b9b5da3e187e HID: hid-uclogic-params: Invalid parameter check in uclogic_params_frame_init_v1_buttonpad
    541c3a044b46 HID: hid-uclogic-params: Invalid parameter check in uclogic_params_huion_init
    c47f842e0c3c HID: hid-uclogic-params: Invalid parameter check in uclogic_params_get_str_desc
    cf5ad827ee69 HID: hid-uclogic-params: Invalid parameter check in uclogic_params_init
    94177fcecc35 usb: dwc3: qcom: Fix NULL vs IS_ERR checking in dwc3_qcom_probe
    4579954bf4cc Bluetooth: hci_qca: Fix NULL vs IS_ERR_OR_NULL check in qca_serdev_probe
    f6bf3d66393b Bluetooth: hci_bcm: Check for error irq
    f5e4f68d57d6 fsl/fman: Check for null pointer after calling devm_ioremap
    60aca6fdc167 staging: greybus: audio: Check null pointer
    a1068bfee47a rocker: fix a sleeping in atomic bug
    2db344725e17 ppp: ensure minimum packet size in ppp_write()
    45643b1b6ce1 netfilter: nft_set_pipapo: allocate pcpu scratch maps on clone
    8772700a9f1e bpf: Fix SO_RCVBUF/SO_SNDBUF handling in _bpf_setsockopt().
    342332fb0be6 bpf: Don't promote bogus looking registers after null check.
    0036c78c492a netfilter: ipt_CLUSTERIP: fix refcount leak in clusterip_tg_check()
    2e718389b986 power: reset: mt6397: Check for null res pointer
    4210c35fe81b pcmcia: rsrc_nonstatic: Fix a NULL pointer dereference in nonstatic_find_mem_region()
    2dee347f356d pcmcia: rsrc_nonstatic: Fix a NULL pointer dereference in __nonstatic_find_io_region()
    0f03132191ba ACPI: scan: Create platform device for BCM4752 and LNV4752 ACPI nodes
    595e1ec55b30 x86/mce/inject: Avoid out-of-bounds write when setting flags
    df1268181928 hwmon: (mr75203) fix wrong power-up delay value
    aea5302d9ddc x86/boot/compressed: Move CLANG_FLAGS to beginning of KBUILD_CFLAGS
    70eec71f32eb Bluetooth: hci_qca: Stop IBS timer during BT OFF
    1d4e722b62d2 software node: fix wrong node passed to find nargs_prop
    f8f3c1720d77 backlight: qcom-wled: Respect enabled-strings in set_brightness
    de79bcbfaf4d backlight: qcom-wled: Use cpu_to_le16 macro to perform conversion
    c79f9b8d8e26 backlight: qcom-wled: Override default length with qcom,enabled-strings
    bf4daf6153c9 backlight: qcom-wled: Fix off-by-one maximum with default num_strings
    09aed85e8c98 backlight: qcom-wled: Pass number of elements to read to read_u32_array
    f4ed4fc504fd backlight: qcom-wled: Validate enabled string indices in DT
    e668ac6506d3 bpftool: Enable line buffering for stdout
    009bb7ee1577 Bluetooth: L2CAP: Fix using wrong mode
    1a2241ad400b um: virtio_uml: Fix time-travel external time propagation
    8411722e5652 um: fix ndelay/udelay defines
    b2b1b490bd29 selinux: fix potential memleak in selinux_add_opt()
    3253cf091464 mmc: meson-mx-sdio: add IRQ check
    decb2099549d mmc: meson-mx-sdhc: add IRQ check
    bdc6c9fc5f78 iwlwifi: mvm: test roc running status bits before removing the sta
    a750fcd604a6 iwlwifi: mvm: fix 32-bit build in FTM
    86b0122d2682 ARM: dts: armada-38x: Add generic compatible to UART nodes
    1f5428e43806 arm64: dts: marvell: cn9130: enable CP0 GPIO controllers
    874b97e86278 arm64: dts: marvell: cn9130: add GPIO and SPI aliases
    407ef1db4036 usb: ftdi-elan: fix memory leak on device disconnect
    2a65da5a1ea3 ARM: 9159/1: decompressor: Avoid UNPREDICTABLE NOP encoding
    47dd693c94bf xfrm: state and policy should fail if XFRMA_IF_ID 0
    db369047e3b3 xfrm: interface with if_id 0 should return error
    37441ddadc1e media: hantro: Fix probe func error path
    3849ec830bf7 drm/tegra: vic: Fix DMA API misuse
    b230114bc57a drm/bridge: ti-sn65dsi86: Set max register for regmap
    db97fc2c4425 drm/msm/dpu: fix safe status debugfs file
    3580055d1fca arm64: dts: qcom: ipq6018: Fix gpio-ranges property
    6f20a5a98a90 arm64: dts: qcom: c630: Fix soundcard setup
    394ee480aa3e ath11k: Fix a NULL pointer dereference in ath11k_mac_op_hw_scan()
    f6e4a6cbdb6f media: coda/imx-vdoa: Handle dma_set_coherent_mask error codes
    1a8869de328a media: msi001: fix possible null-ptr-deref in msi001_probe()
    a79327bb0191 media: dw2102: Fix use after free
    958a8819d414 ARM: dts: gemini: NAS4220-B: fis-index-block with 128 KiB sectors
    3e51460638a6 ath11k: Fix deleting uninitialized kernel timer during fragment cache flush
    b35263f000a5 crypto: stm32 - Revert broken pm_runtime_resume_and_get changes
    1f5b81874f27 crypto: stm32/cryp - fix bugs and crash in tests
    1f6151b0774b crypto: stm32/cryp - fix lrw chaining mode
    2bd40e3a3aa2 crypto: stm32/cryp - fix double pm exit
    533af1621d1c crypto: stm32/cryp - check early input data
    5deb24e50372 crypto: stm32/cryp - fix xts and race condition in crypto_engine requests
    e9e0dd5da8ca crypto: stm32/cryp - fix CTR counter carry
    c40b1bc851e0 crypto: stm32 - Fix last sparse warning in stm32_cryp_check_ctr_counter
    93033bbbdc25 selftests: harness: avoid false negatives if test has no ASSERTs
    f568fd97d751 selftests: clone3: clone3: add case CLONE3_ARGS_NO_TEST
    d21b47c60737 x86/uaccess: Move variable into switch case statement
    3e801ea43c4b xfrm: fix a small bug in xfrm_sa_len()
    b87034d7a2a8 mwifiex: Fix possible ABBA deadlock
    0836f9404017 rcu/exp: Mark current CPU as exp-QS in IPI loop second pass
    027165c491e4 drm/msm/dp: displayPort driver need algorithm rational
    268f35245650 sched/rt: Try to restart rt period timer when rt runtime exceeded
    bb0579ab5077 wireless: iwlwifi: Fix a double free in iwl_txq_dyn_alloc_dma
    b4b911b1648c media: si2157: Fix "warm" tuner state detection
    7009a5fbc589 media: saa7146: mxb: Fix a NULL pointer dereference in mxb_attach()
    df79d2bf95e0 media: dib8000: Fix a memleak in dib8000_init()
    f0cb43a2c674 arm64: clear_page() shouldn't use DC ZVA when DCZID_EL0.DZP == 1
    88ed31aab481 arm64: lib: Annotate {clear, copy}_page() as position-independent
    69e402a98541 bpf: Remove config check to enable bpf support for branch records
    924886fa2246 bpf: Disallow BPF_LOG_KERNEL log level for bpf(BPF_BTF_LOAD)
    218d952160f7 bpf: Adjust BTF log size limit.
    b77ef5b4ead6 sched/fair: Fix per-CPU kthread and wakee stacking for asym CPU capacity
    d7d5b3bc5263 sched/fair: Fix detection of per-CPU kthreads waking a task
    ec121517ac8d Bluetooth: btmtksdio: fix resume failure
    2a7edcb3ef72 staging: rtl8192e: rtllib_module: fix error handle case in alloc_rtllib()
    49f5cd2b7c41 staging: rtl8192e: return error code from rtllib_softmac_init()
    04fdd426cef2 floppy: Fix hang in watchdog when disk is ejected
    45bbe008013f serial: amba-pl011: do not request memory region twice
    8409d2394cca tty: serial: uartlite: allow 64 bit address
    a001a15ab374 arm64: dts: ti: k3-j7200: Correct the d-cache-sets info
    75919207c16a arm64: dts: ti: k3-j721e: Fix the L2 cache sets
    2dcfa3c76596 arm64: dts: ti: k3-j7200: Fix the L2 cache sets
    f277978d6c46 drm/radeon/radeon_kms: Fix a NULL pointer dereference in radeon_driver_open_kms()
    3ca1b3b82fe7 drm/amdgpu: Fix a NULL pointer dereference in amdgpu_connector_lcd_native_mode()
    96e05d2d9370 thermal/drivers/imx8mm: Enable ADC when enabling monitor
    ef72449e2d79 ACPI: EC: Rework flushing of EC work while suspended to idle
    c0acd5a09796 cgroup: Trace event cgroup id fields should be u64
    e7e178e26418 arm64: dts: qcom: msm8916: fix MMC controller aliases
    894d91c6334b netfilter: bridge: add support for pppoe filtering
    13f64bbe4255 thermal/drivers/imx: Implement runtime PM support
    c3a59f34e87c media: venus: core: Fix a resource leak in the error handling path of 'venus_probe()'
    50c4244906d6 media: venus: core: Fix a potential NULL pointer dereference in an error handling path
    eeefa2eae8fc media: venus: core, venc, vdec: Fix probe dependency error
    53f65afc260f media: venus: pm_helpers: Control core power domain manually
    89f518b153d1 media: coda: fix CODA960 JPEG encoder buffer overflow
    1da628d351a9 media: mtk-vcodec: call v4l2_m2m_ctx_release first when file is released
    2028fb832da6 media: si470x-i2c: fix possible memory leak in si470x_i2c_probe()
    e8d78f924f02 media: imx-pxp: Initialize the spinlock prior to using it
    621e8ce75d66 media: rcar-csi2: Correct the selection of hsfreqrange
    ad52b9890b83 mfd: atmel-flexcom: Use .resume_noirq
    46d6a2311409 mfd: atmel-flexcom: Remove #ifdef CONFIG_PM_SLEEP
    f93c9aa1d36f tty: serial: atmel: Call dma_async_issue_pending()
    755a6c873b9c tty: serial: atmel: Check return code of dmaengine_submit()
    bd85b2e77aa9 arm64: dts: ti: k3-j721e: correct cache-sets info
    32e9947e6639 ath11k: Use host CE parameters for CE interrupts configuration
    6a49acfacab5 crypto: qat - fix undetected PFVF timeout in ACK loop
    475ac5c5653f crypto: qat - make pfvf send message direction agnostic
    ee1c74c3c9c2 crypto: qat - remove unnecessary collision prevention step in PFVF
    472f76835200 crypto: qat - fix spelling mistake: "messge" -> "message"
    ae766527e6b7 ARM: dts: stm32: fix dtbs_check warning on ili9341 dts binding on stm32f429 disco
    eab4204588a0 mtd: hyperbus: rpc-if: fix bug in rpcif_hb_remove
    867d4ace48da crypto: qce - fix uaf on qce_skcipher_register_one
    e19b3c1b5768 crypto: qce - fix uaf on qce_ahash_register_one
    5de640f59f99 media: dmxdev: fix UAF when dvb_register_device() fails
    1d64e2bd2222 arm64: dts: renesas: cat875: Add rx/tx delays
    a33eef23a658 drm/vboxvideo: fix a NULL vs IS_ERR() check
    43220a61e7b8 fs: dlm: fix build with CONFIG_IPV6 disabled
    0d7c5d10e7db tee: fix put order in teedev_close_context()
    097e601eb887 ath11k: reset RSN/WPA present state for open BSS
    fa51addd391d ath11k: clear the keys properly via DISABLE_KEY
    df94b37e902b ath11k: Fix ETSI regd with weather radar overlap
    ffc9019bd991 Bluetooth: stop proccessing malicious adv data
    3273541fed60 memory: renesas-rpc-if: Return error in case devm_ioremap_resource() fails
    55917db35976 fs: dlm: don't call kernel_getpeername() in error_report()
    98923ebb034b fs: dlm: use sk->sk_socket instead of con->sock
    6edd1bd8e3d8 arm64: dts: meson-gxbb-wetek: fix missing GPIO binding
    eb1f75fa2458 arm64: dts: meson-gxbb-wetek: fix HDMI in early boot
    6f012f2c445b arm64: dts: amlogic: Fix SPI NOR flash node name for ODROID N2/N2+
    96d710b1c6ff arm64: dts: amlogic: meson-g12: Fix GPU operating point table node name
    0b57480ed51a media: aspeed: Update signal status immediately to ensure sane hw state
    0ff0ae69d27c media: em28xx: fix memory leak in em28xx_init_dev
    b441d9428735 media: aspeed: fix mode-detect always time out at 2nd run
    8d132d9dd8ba media: atomisp: fix uninitialized bug in gmin_get_pmic_id_and_addr()
    fc2b95e7aeae media: atomisp: fix enum formats logic
    6e5353238c55 media: atomisp: add NULL check for asd obtained from atomisp_video_pipe
    6cbabad304c4 media: staging: media: atomisp: pci: Balance braces around conditional statements in file atomisp_cmd.c
    22b0b68f7d9f media: atomisp: fix ifdefs in sh_css.c
    0bf5e8af6eb6 media: atomisp: fix inverted error check for ia_css_mipi_is_source_port_valid()
    3cb3e66f583c media: atomisp: do not use err var when checking port validity for ISP2400
    08e43223fb4e media: atomisp: fix inverted logic in buffers_needed()
    fb370f6dc7d5 media: atomisp: fix punit_ddr_dvfs_enable() argument for mrfld_power up case
    1daacf9bb69a media: atomisp: add missing media_device_cleanup() in atomisp_unregister_entities()
    e1da9301cf54 media: videobuf2: Fix the size printk format
    90807ab437e8 mtd: hyperbus: rpc-if: Check return value of rpcif_sw_init()
    9bfed11dcf59 ath11k: Send PPDU_STATS_CFG with proper pdev mask to firmware
    2fe056d9791a wcn36xx: fix RX BD rate mapping for 5GHz legacy rates
    22406ed4e389 wcn36xx: populate band before determining rate on RX
    92fea7bd5af3 wcn36xx: Put DXE block into reset before freeing memory
    0d53c47f6ab5 wcn36xx: Release DMA channel descriptor allocations
    1850195a852d wcn36xx: Fix DMA channel enable/disable cycle
    38a7842889f5 wcn36xx: Indicate beacon not connection loss on MISSED_BEACON_IND
    fcb267bb9577 wcn36xx: ensure pairing of init_scan/finish_scan and start_scan/end_scan
    e53ff4dd7095 drm/vc4: hdmi: Set a default HSM rate
    b9c2343373f6 clk: bcm-2835: Remove rounding up the dividers
    836dd37fe2bb clk: bcm-2835: Pick the closest clock rate
    88f1b613c37f Bluetooth: cmtp: fix possible panic when cmtp_init_sockets() fails
    9ddfa1c19191 drm/rockchip: dsi: Reconfigure hardware on resume()
    58904ed18628 drm/rockchip: dsi: Disable PLL clock on bind error
    6215cde02085 drm/rockchip: dsi: Hold pm-runtime across bind/unbind
    8ccaafa1caf0 drm/rockchip: dsi: Fix unbalanced clock on probe error
    9bc19022aa08 drm/panel: innolux-p079zca: Delete panel on attach() failure
    b01b7b868479 drm/panel: kingdisplay-kd097d04: Delete panel on attach() failure
    0499c863a8db drm: fix null-ptr-deref in drm_dev_init_release()
    7798757013ec drm/bridge: display-connector: fix an uninitialized pointer in probe()
    cb5813b0e591 Bluetooth: L2CAP: Fix not initializing sk_peer_pid
    ed0b1fd3ec6e drm/ttm: Put BO in its memory manager's lru list
    7b9fa915a58d shmem: fix a race between shmem_unused_huge_shrink and shmem_evict_inode
    6c6f86bb618b mm/page_alloc.c: do not warn allocation failure on zone DMA if no managed pages
    e04b1dfe15ce dma/pool: create dma atomic pool only if dma zone has managed pages
    d2e572411738 mm_zone: add function to check if managed dma zone exists
    2142a7e9bd1f PCI: Add function 1 DMA alias quirk for Marvell 88SE9125 SATA controller
    45c74f4f54db dma_fence_array: Fix PENDING_ERROR leak in dma_fence_array_signaled()
    191a24ceae75 gpu: host1x: Add back arm_iommu_detach_device()
    068067453690 iommu/io-pgtable-arm-v7s: Add error handle for page table allocation failure
    3dae11f8e381 lkdtm: Fix content of section containing lkdtm_rodata_do_nothing()
    e4a2c924a17e iio: adc: ti-adc081c: Partial revert of removal of ACPI IDs
    256302cb2f86 can: softing_cs: softingcs_probe(): fix memleak on registration failure
    aa57725e2d2a media: cec-pin: fix interrupt en/disable handling
    2e566cacc321 media: stk1160: fix control-message timeouts
    1a0ca711dff6 media: pvrusb2: fix control-message timeouts
    2dbf430ead59 media: redrat3: fix control-message timeouts
    6e9c120bf956 media: dib0700: fix undefined behavior in tuner shutdown
    5e98ac260de6 media: s2255: fix control-message timeouts
    09b0b918a69b media: cpia2: fix control-message timeouts
    d90833106c09 media: em28xx: fix control-message timeouts
    2182575c83f9 media: mceusb: fix control-message timeouts
    460525acc953 media: flexcop-usb: fix control-message timeouts
    7cac8a562427 media: v4l2-ioctl.c: readbuffers depends on V4L2_CAP_READWRITE
    1da0b1cd4212 rtc: cmos: take rtc_lock while reading from CMOS
    14f6cfe0d790 tools/nolibc: fix incorrect truncation of exit code
    5e258640ba54 tools/nolibc: i386: fix initial stack alignment
    06f7528d641b tools/nolibc: x86-64: Fix startup code bug
    98259dd54e8e x86/gpu: Reserve stolen memory for first integrated Intel GPU
    e2a17dcad56e mtd: rawnand: davinci: Rewrite function description
    8933138a6660 mtd: rawnand: davinci: Avoid duplicated page read
    677764634b42 mtd: rawnand: davinci: Don't calculate ECC when reading page
    a8a607b0049d mtd: Fixed breaking list in __mtd_del_partition.
    ff10cd7bb295 mtd: rawnand: gpmi: Remove explicit default gpmi clock setting for i.MX6
    538a5e208e7d mtd: rawnand: gpmi: Add ERR007117 protection for nfc_apply_timings
    777a700ccfa6 nfc: llcp: fix NULL error pointer dereference on sendmsg() after failed bind()
    08283b076f4e f2fs: fix to do sanity check in is_alive()
    57cfc965e375 HID: wacom: Avoid using stale array indicies to read contact count
    7fd22c99bbed HID: wacom: Ignore the confidence flag when a touch is removed
    9a4800e0f6a5 HID: wacom: Reset expected and received contact counts at the same time
    c2e39d5df028 HID: uhid: Fix worker destroying device without any protection
    aa1346113c75 KVM: VMX: switch blocked_vcpu_on_cpu_lock to raw spinlock

(From OE-Core rev: 9bebdb447d39b9bca340f087bff6a008f199f34b)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-10 10:32:07 +00:00
Bruce Ashfield
27be0fa131 linux-yocto/5.15: update to v5.15.19
Updating linux-yocto/5.15 to the latest korg -stable release that comprises
the following commits:

    47cccb1eb2fe Linux 5.15.19
    a9739362c7b5 mtd: rawnand: mpc5121: Remove unused variable in ads5121_select_chip()
    4633a79ff8bc block: Fix wrong offset in bio_truncate()
    3d7b7272ce9d fsnotify: invalidate dcache before IN_DELETE event
    e8421a9d7bb3 usr/include/Makefile: add linux/nfc.h to the compile-test coverage
    c571505aa0fc usb: dwc3: xilinx: fix uninitialized return value
    442414e8c474 psi: fix "defined but not used" warnings when CONFIG_PROC_FS=n
    949c4c188955 psi: fix "no previous prototype" warnings when CONFIG_CGROUPS=n
    fd26531855e6 perf/core: Fix cgroup event list management
    cba7bdc04720 dt-bindings: can: tcan4x5x: fix mram-cfg RX FIFO config
    e905e1b65ce9 irqchip/realtek-rtl: Fix off-by-one in routing
    f67594cbf3c8 irqchip/realtek-rtl: Map control data to virq
    bcea886771c3 Bluetooth: refactor malicious adv data check
    c5e216e880fa net: bridge: vlan: fix memory leak in __allowed_ingress
    8861857ccc9d ipv4: remove sparse error in ip_neigh_gw4()
    d887a33724ec ipv4: tcp: send zero IPID in SYNACK messages
    4d0bd948ee86 ipv4: raw: lock the socket in raw_bind()
    2387357199a0 net: bridge: vlan: fix single net device option dumping
    e406345f8a26 Revert "ipv6: Honor all IPv6 PIO Valid Lifetime values"
    1ac025f24b89 gve: Fix GFP flags when allocing pages
    35b092d3b57f ceph: put the requests/sessions when it fails to alloc memory
    0536379e9d9d KVM: selftests: Don't skip L2's VMCALL in SMM test for SVM guest
    9b6be5b1a053 Revert "drm/ast: Support 1600x900 with 108MHz PCLK"
    1714199af7ec sch_htb: Fail on unsupported parameters when offload is requested
    3e662ceb3e6d net: hns3: handle empty unknown interrupt for VF
    925181ea76b5 net: cpsw: Properly initialise struct page_pool_params
    0690c3943ed0 yam: fix a memory leak in yam_siocdevprivate()
    4d5c2dfbc120 drm/msm/a6xx: Add missing suspend_count increment
    8f069f6dde51 drm/msm/dpu: invalid parameter check in dpu_setup_dspp_pcc
    13bd31390cae drm/msm/hdmi: Fix missing put_device() call in msm_hdmi_get_phy
    03a91f9fa93b can: tcan4x5x: regmap: fix max register value
    d0a56e4ebc6b video: hyperv_fb: Fix validation of screen resolution
    38f0bdd548fd net/smc: Transitional solution for clcsock race issue
    fdcdc94b3d35 ibmvnic: don't spin in tasklet
    d4435164be13 ibmvnic: init ->running_cap_crqs early
    aa6ae2341a8f ibmvnic: Allow extra failures before disabling
    9ae4cd5de2a5 ipv4: fix ip option filtering for locally generated fragments
    28aaed966e76 powerpc/perf: Fix power_pmu_disable to call clear_pmi_irq_pending only if PMI is pending
    b9dc12e481c0 hwmon: (adt7470) Prevent divide by zero in adt7470_fan_write()
    774a6ef81458 hwmon: (lm90) Fix sysfs and udev notifications
    f4a61d7989d5 hwmon: (lm90) Mark alert as broken for MAX6654
    ccdf90878b8b hwmon: (lm90) Re-enable interrupts after alert clears
    da20522eba44 Drivers: hv: balloon: account for vmbus packet header in max_pkt_size
    82cc3382e34e io_uring: fix bug in slow unregistering of nodes
    fa005a5c5d4d efi/libstub: arm64: Fix image check alignment at entry
    42ff00c23b16 rxrpc: Adjust retransmission backoff
    437b6b3bd88c octeontx2-pf: Forward error codes to VF
    689620df2080 octeontx2-af: cn10k: Do not enable RPM loopback for LPC interfaces
    35dd0b7e5a13 octeontx2-af: Increase link credit restore polling timeout
    f13bf41cbe2d octeontx2-af: verify CQ context updates
    4070cf004da3 octeontx2-pf: cn10k: Ensure valid pointers are freed to aura
    a332a1050ac6 octeontx2-af: Retry until RVU block reset complete
    b578044bf4de octeontx2-af: Fix LBK backpressure id count
    77c5abff9330 octeontx2-af: Do not fixup all VF action entries
    aefaccd19379 phylib: fix potential use-after-free
    82688a07cc02 net: stmmac: dwmac-visconti: Fix clock configuration for RMII mode
    27e249cafa4f net: stmmac: dwmac-visconti: Fix bit definitions for ETHER_CLK_SEL
    36c7e4f4a3ec net: phy: broadcom: hook up soft_reset for BCM54616S
    58e81159b4f7 sched/pelt: Relax the sync of util_sum with util_avg
    767060539ac4 perf: Fix perf_event_read_local() time
    498e6604a3ae powerpc/64s: Mask SRR0 before checking against the masked NIP
    3dc90add0ca9 netfilter: conntrack: don't increment invalid counter on NF_REPEAT
    3bfbc00587dc powerpc64/bpf: Limit 'ldbrx' to processors compliant with ISA v2.06
    d66377ed9a20 SUNRPC: Don't dereference xprt->snd_task if it's a cookie
    8ea839e3a59e SUNRPC: Use BIT() macro in rpc_show_xprt_state()
    19d4d09c2f16 KVM: arm64: pkvm: Use the mm_ops indirection for cache maintenance
    ee062665fbae NFS: Ensure the server has an up to date ctime before renaming
    7a784c2eaae8 NFS: Ensure the server has an up to date ctime before hardlinking
    fe36a67e82c8 ipv6: annotate accesses to fn->fn_sernum
    56480fb10b97 drm/msm/dsi: invalid parameter check in msm_dsi_phy_enable
    0069c2331be0 drm/msm/dsi: Fix missing put_device() call in dsi_get_phy
    971754f4681c drm/msm: Fix wrong size calculation
    d70d2aa49ace net-procfs: show net devices bound packet types
    d7396948cf38 NFSv4: nfs_atomic_open() can race when looking up a non-regular file
    4c36ca387af4 NFSv4: Handle case where the lookup of a directory fails
    72edb228b420 hwmon: (lm90) Reduce maximum conversion rate for G781
    dee686cbfdd1 ipv4: avoid using shared IP generator for connected sockets
    eeb0c916b0f8 ping: fix the sk_bound_dev_if match in ping_lookup
    4d647a2b6074 hwmon: (lm90) Mark alert as broken for MAX6680
    38cfdc0ef474 hwmon: (lm90) Mark alert as broken for MAX6646/6647/6649
    e43669c77cb3 net: fix information leakage in /proc/net/ptype
    1515e72aae80 ARM: 9170/1: fix panic when kasan and kprobe are enabled
    88e32f7b37a0 ipv6_tunnel: Rate limit warning messages
    b11e34f7bab2 scsi: bnx2fc: Flush destroy_work queue before calling bnx2fc_interface_put()
    9c2ece4852a6 scsi: elx: efct: Don't use GFP_KERNEL under spin lock
    daf9ac79e75b rpmsg: char: Fix race between the release of rpmsg_eptdev and cdev
    85aba11a8ea9 rpmsg: char: Fix race between the release of rpmsg_ctrldev and cdev
    a1f7aa8d60bf usb: roles: fix include/linux/usb/role.h compile issue
    d22045c80283 i40e: fix unsigned stat widths
    d49582860d33 i40e: Fix for failed to init adminq while VF reset
    00eddb0e4ea1 i40e: Fix queues reservation for XDP
    98b70add7576 i40e: Fix issue when maximum queues is exceeded
    d12f5a7c48a9 i40e: Increase delay to 1 s after global EMP reset
    c894d2f9fd53 powerpc/32: Fix boot failure with GCC latent entropy plugin
    db37befafa53 powerpc/32s: Fix kasan_init_region() for KASAN
    569c81c077eb powerpc/32s: Allocate one 256k IBAT instead of two consecutives 128k IBATs
    190753f63fc0 x86/cpu: Add Xeon Icelake-D to list of CPUs that support PPIN
    98ccfec9eae6 x86/MCE/AMD: Allow thresholding interface updates after init
    74e88eceb0af PCI/sysfs: Find shadow ROM before static attribute initialization
    cef9335c465d sched/membarrier: Fix membarrier-rseq fence command missing from query bitmask
    61296272db59 ocfs2: fix a deadlock when commit trans
    9f71d68fa813 jbd2: export jbd2_journal_[grab|put]_journal_head
    4ca8a0bc8354 mm, kasan: use compare-exchange operation to set KASAN page tag
    28b346571edd ucsi_ccg: Check DEV_INT bit only when starting CCG4
    3cdaeb85ed1e usb: typec: tcpm: Do not disconnect when receiving VSAFE0V
    6b71fad7c868 usb: typec: tcpm: Do not disconnect while receiving VBUS off
    a1399fe6d3ba usb: typec: tcpci: don't touch CC line if it's Vconn source
    9340226388c6 USB: core: Fix hang in usb_kill_urb by adding memory barriers
    1cd3a86107f6 usb: dwc3: xilinx: Fix error handling when getting USB3 PHY
    72d338bc467f usb: dwc3: xilinx: Skip resets and USB3 register settings for USB2.0 mode
    897d462d4d15 usb: cdnsp: Fix segmentation fault in cdns_lost_power function
    279804632560 usb: gadget: f_sourcesink: Fix isoc transfer for USB_SPEED_SUPER_PLUS
    42865e5544da usb: common: ulpi: Fix crash in ulpi_match()
    d5755832a1e4 usb: xhci-plat: fix crash when suspend if remote wake enable
    a93284827cb2 usb-storage: Add unusual-devs entry for VL817 USB-SATA bridge
    209a523dea93 kbuild: remove include/linux/cyclades.h from header file check
    fa5180351abe tty: Add support for Brainboxes UC cards.
    b51afdc797fe tty: Partially revert the removal of the Cyclades public API
    ff79be505ad8 tty: n_gsm: fix SW flow control encoding/handling
    775fcd69038a serial: stm32: fix software flow control transfer
    f79903783db1 serial: 8250: of: Fix mapped region size when using reg-offset property
    f0cb78064e1c serial: pl011: Fix incorrect rs485 RTS polarity on set_mctrl
    965bc27251f0 dm: properly fix redundant bio-based IO accounting
    4cca3e3ef21d block: add bio_start_io_acct_time() to control start_time
    86125006d88d dm: revert partial fix for redundant bio-based IO accounting
    c0af639c1adc KVM: PPC: Book3S HV Nested: Fix nested HFSCR being clobbered with multiple vCPUs
    e668b527a259 KVM: x86: Sync the states size with the XCR0/IA32_XSS at, any time
    096779d44087 KVM: x86: Update vCPU's runtime CPUID on write to MSR_IA32_XSS
    5afeafcc59bb KVM: x86: Keep MSR_IA32_XSS unchanged for INIT
    e302786233e6 KVM: x86: Forcibly leave nested virt when SMM state is toggled
    6f3e157e21b2 KVM: x86: nSVM: skip eax alignment check for non-SVM instructions
    575656560897 KVM: SVM: Don't intercept #GP for SEV guests
    3470722fac22 KVM: SVM: Never reject emulation due to SMAP errata for !SEV guests
    54b3439c8e70 KVM: LAPIC: Also cancel preemption timer during SET_LAPIC
    548f20b39ec9 drm/amd/display: Fix FP start/end for dcn30_internal_validate_bw.
    73740f948252 drm/atomic: Add the crtc to affected crtc only if uapi.enable = true
    473aed10d16d drm/etnaviv: relax submit size limits
    b7bfc2c6cdd2 perf/x86/intel: Add a quirk for the calculation of the number of counters on Alder Lake
    1b4abcd997ad perf/x86/intel/uncore: Fix CAS_COUNT_WRITE issue for ICX
    b8140d7733e0 powerpc/audit: Fix syscall_get_arch()
    d3e4c61e143e psi: Fix uaf issue when psi trigger is destroyed while being polled
    b17cb93dda1d Revert "KVM: SVM: avoid infinite loop on NPF from bad address"
    e6023ab8c729 fsnotify: fix fsnotify hooks in pseudo filesystems
    2aac1eda4638 ceph: set pool_ns in new inode layout for async creates
    36d433ae3242 ceph: properly put ceph_string reference after async create attempt
    4e5dcbedd48d tracing: Don't inc err_log entry count if entry allocation fails
    e33fa4a46ee2 tracing/histogram: Fix a potential memory leak for kstrdup()
    fb9b60bbda55 PM: wakeup: simplify the output logic of pm_show_wakelocks()
    3df524489788 efi: runtime: avoid EFIv2 runtime services on Apple x86 machines
    cbf96c58e28b udf: Fix NULL ptr deref when converting from inline format
    2ea17d25be51 udf: Restore i_lenAlloc when inode expansion fails
    172aa3b81182 scsi: zfcp: Fix failed recovery on gone remote port with non-NPIV FCP devices
    348a8501e602 ucount: Make get_ucount a safe get_user replacement
    2dc0a8e0129f powerpc/bpf: Update ldimm64 instructions during extra pass
    2f262cadff57 powerpc32/bpf: Fix codegen for bpf-to-bpf calls
    0bcd484587b3 bpf: Guard against accessing NULL pt_regs in bpf_get_task_stack()
    cfd2a7f8deaa s390/nmi: handle vector validity failures for KVM guests
    c058e1ae9dd5 s390/nmi: handle guarded storage validity failures for KVM guests
    4abcb06fdcb2 s390/hypfs: include z/VM guests with access control group set
    2025d5cb381e s390/module: fix loading modules with a lot of relocations
    a3aa4850b37b KVM: arm64: Use shadow SPSR_EL1 when injecting exceptions on !VHE
    d9505958e1ee ARM: 9180/1: Thumb2: align ALT_UP() sections in modules sufficiently
    cbab3cac94c6 ARM: 9179/1: uaccess: avoid alignment faults in copy_[from|to]_kernel_nofault
    e826ab185717 net: stmmac: skip only stmmac_ptp_register when resume from suspend
    9ef5a86d447a net: stmmac: configure PTP clock source prior to PTP initialization
    30705f1f012c net: sfp: ignore disabled SFP node
    5e32b05c3861 can: m_can: m_can_fifo_{read,write}: don't read or write from/to FIFO if length is 0
    9c43548a7fb8 Linux 5.15.18
    6066977961fc drm/vmwgfx: Fix stale file descriptors on failed usercopy
    9c82ce593626 arm64/bpf: Remove 128MB limit for BPF JIT programs
    7b6577cf9fe4 drm/amdgpu: Use correct VIEWPORT_DIMENSION for DCN2
    145407e54fd1 select: Fix indefinitely sleeping task in poll_schedule_timeout()
    c3156dbd5082 rcu: Tighten rcu_advance_cbs_nowake() checks
    6ebe994b54a6 memcg: better bounds on the memcg stats updates
    6c8076660d9c memcg: unify memcg stat flushing
    7182935bd5ae memcg: flush stats only if updated
    2691be41fede bnx2x: Invalidate fastpath HSI version for VFs
    66e1791cbeed bnx2x: Utilize firmware 7.13.21.0
    b168b1a0397e io_uring: fix not released cached task refs
    f71c91ed1d4b drm/amd/display: reset dcn31 SMU mailbox on failures
    8a17a077e7e9 drm/i915: Flush TLBs before releasing backing store
    e8a2995c6076 Linux 5.15.17
    4ea9b8ed6459 scripts: sphinx-pre-install: Fix ctex support on Debian
    21c9a4d2cdd4 scripts: sphinx-pre-install: add required ctex dependency
    ffd8fd2faf47 lib/test_meminit: destroy cache in kmem_cache_alloc_bulk() test
    8d8f479e08a3 bonding: Fix extraction of ports from the packet headers
    52b66f818916 mm/hmm.c: allow VM_MIXEDMAP to work with hmm_range_fault
    42de0446a142 lib82596: Fix IRQ check in sni_82596_probe
    8d1e3f319160 scripts/dtc: dtx_diff: remove broken example from help text
    46210f505189 sch_api: Don't skip qdisc attach on ingress
    814527dbc101 dt-bindings: watchdog: Require samsung,syscon-phandle for Exynos7
    34aa30c8ff90 dt-bindings: display: meson-vpu: Add missing amlogic,canvas property
    3f219ebc9f63 dt-bindings: display: meson-dw-hdmi: add missing sound-name-prefix property
    e829e487f193 net: mscc: ocelot: fix using match before it is set
    f864b6130498 net: phy: micrel: use kszphy_suspend()/kszphy_resume for irq aware devices
    ed27539e5a4b net: cpsw: avoid alignment faults by taking NET_IP_ALIGN into account
    d1a29a4e334b net: sfp: fix high power modules without diagnostic monitoring
    a2faa4a27262 net: ocelot: Fix the call to switchdev_bridge_port_offload
    f8df88d6d10c net: ethernet: mtk_eth_soc: fix error checking in mtk_mac_config()
    c2d55304dba8 net: wwan: Fix MRU mismatch issue which may lead to data connection lost
    5715614a9da8 bcmgenet: add WOL IRQ check
    784ea1478f4d net: mscc: ocelot: don't let phylink re-enable TX PAUSE on the NPI port
    b4e6455d7ffc net_sched: restore "mpu xxx" handling
    75a09b8d0208 net: ipa: fix atomic update in ipa_endpoint_replenish()
    f1d206181f19 net: bonding: fix bond_xmit_broadcast return value error bug
    62009fa50c1a net: fix sock_timestamping_bind_phc() to release device
    55d613f5d4c2 arm64: dts: qcom: msm8996: drop not documented adreno properties
    795ad139ed91 devlink: Remove misleading internal_flags from health reporter dump
    228a7024ed8a perf probe: Fix ppc64 'perf probe add events failed' case
    115b85125624 perf tools: Drop requirement for libstdc++.so for libopencsd check
    e73f737a6e71 dmaengine: at_xdmac: Fix at_xdmac_lld struct definition
    b81e898073c2 dmaengine: at_xdmac: Fix lld view setting
    fb8f0e827af2 dmaengine: at_xdmac: Fix concurrency over xfers_list
    5a8547fc3c21 dmaengine: at_xdmac: Print debug message after realeasing the lock
    da1875fd4c25 dmaengine: at_xdmac: Start transfer for cyclic channels in issue_pending
    45e0d5185031 dmaengine: at_xdmac: Don't start transactions at tx_submit level
    e127c17af30e perf script: Fix hex dump character output
    48a46df6d542 libcxgb: Don't accidentally set RTO_ONLINK in cxgb_find_route()
    09c0535c768d gre: Don't accidentally set RTO_ONLINK in gre_fill_metadata_dst()
    63bc14d6e261 vdpa/mlx5: Restore cur_num_vqs in case of failure in change_num_qps()
    786e608e97b9 xfrm: Don't accidentally set RTO_ONLINK in decode_session4()
    6dc6e9f9d94d iwlwifi: fix Bz NMI behaviour
    31428796ca4b netns: add schedule point in ops_exit_list()
    958cbb139ec4 inet: frags: annotate races around fqdir->dead and fqdir->high_thresh
    0288b85d750e taskstats: Cleanup the use of task->exit_code
    be82a92c46bc virtio_ring: mark ring unused on error
    0d3334c47a2e vdpa/mlx5: Fix wrong configuration of virtio_version_1_0
    087d45cd0f1a rtc: pxa: fix null pointer dereference
    4c979e88b658 HID: vivaldi: fix handling devices not using numbered reports
    b81f33f1fc38 um: gitignore: Add kernel/capflags.c
    fe17064738ad bitops: protect find_first_{,zero}_bit properly
    6ad2daa516de net: axienet: increase default TX ring size to 128
    4928dd5990ea net: axienet: fix for TX busy handling
    a530eb5ac606 net: axienet: fix number of TX ring slots for available check
    6342bde86b5a net: axienet: Fix TX ring slot available check
    b9d67f0a6dc0 net: axienet: limit minimum TX ring size
    e8893b1f8899 net: axienet: add missing memory barriers
    07a6ec97c1ef net: axienet: reset core on initialization prior to MDIO access
    9b7f3e6adc15 net: axienet: Wait for PhyRstCmplt after core reset
    712224b86247 net: axienet: increase reset timeout
    25b1d0df9483 net/smc: Fix hung_task when removing SMC-R devices
    405d639ac411 gpio: idt3243x: Fix IRQ check in idt_gpio_probe
    4928241698e1 gpio: mpc8xxx: Fix IRQ check in mpc8xxx_probe
    e7525b3b9eda pinctrl/rockchip: fix gpio device creation
    8fc3bd2c347b clk: si5341: Fix clock HW provider cleanup
    4919c0737806 clk: Emit a stern warning with writable debugfs enabled
    3872d146f2b0 af_unix: annote lockless accesses to unix_tot_inflight & gc_in_progress
    cb697a36f415 crypto: octeontx2 - uninitialized variable in kvf_limits_store()
    2d7d3b6da85e f2fs: fix to check available space of CP area correctly in update_ckpt_flags()
    0789b9b34922 f2fs: fix to reserve space for IO align feature
    56dabe87c4aa f2fs: compress: fix potential deadlock of compress file
    b653ee5c4136 f2fs: fix to avoid panic in is_alive() if metadata is inconsistent
    92804f969524 f2fs: fix remove page failed in invalidate compress pages
    28e36db0617c drm/vmwgfx: Remove unused compile options
    f468282f3de0 drm/vmwgfx: Remove explicit transparent hugepages support
    42b777c6aef9 riscv: dts: microchip: mpfs: Drop empty chosen node
    fc1d427d15aa parisc: pdc_stable: Fix memory leak in pdcs_register_pathentries
    911b5ba7c54f net/fsl: xgmac_mdio: Fix incorrect iounmap when removing module
    fa456d92c4b7 net/fsl: xgmac_mdio: Add workaround for erratum A-009885
    0cba6beb9645 mlx5: Don't accidentally set RTO_ONLINK before mlx5e_route_lookup_ipv4_get()
    6c923b0f74ae ipv4: avoid quadratic behavior in netns dismantle
    4bcc304e4255 ipv4: update fib_info_cnt under spinlock protection
    c2a957a6f252 perf evsel: Override attr->sample_period for non-libpfm4 events
    95429d6b64b1 bpf: Mark PTR_TO_FUNC register initially with zero offset
    20ceec871b66 bpf: Fix mount source show for bpffs
    b87b59633e35 xdp: check prog type before updating BPF link
    b46b0ef69d07 bpftool: Fix indent in option lists in the documentation
    220ee6f3b460 bpftool: Remove inclusion of utilities.mak from Makefiles
    adb344f551d6 drm/vc4: crtc: Copy assigned channel to the CRTC
    d26a90d362d9 drm/vc4: Fix non-blocking commit getting stuck forever
    d2cbb24cf66e drm/vc4: crtc: Drop feed_txp from state
    b157f4bf1fc6 block: Fix fsync always failed if once failed
    269fbc268633 block: fix async_depth sysfs interface for mq-deadline
    1e95e6dab0d1 powerpc/fsl/dts: Enable WA for erratum A-009885 on fman3l MDIO buses
    696733774b2f powerpc/cell: Fix clang -Wimplicit-fallthrough warning
    3feb292a03d1 Revert "net/mlx5: Add retry mechanism to the command entry index allocation"
    b8b4a083ab94 dmaengine: stm32-mdma: fix STM32_MDMA_CTBR_TSEL_MASK
    7de812fc6be4 RDMA/rxe: Fix a typo in opcode name
    779ff1e23450 RDMA/hns: Modify the mapping attribute of doorbell to device
    dcb7718a8073 dmaengine: idxd: fix wq settings post wq disable
    d87eb22b94f6 dmaengine: uniphier-xdmac: Fix type of address variables
    60390c2242d6 RDMA/cma: Remove open coding of overflow checking for private_data_len
    0dc4db8abccf scsi: ufs: ufs-mediatek: Fix error checking in ufs_mtk_init_va09_pwr_ctrl()
    46f6dda2a6fc scsi: core: Show SCMD_LAST in text form
    53b2ad98d2bb Bluetooth: hci_sync: Fix not setting adv set duration
    7055782bc722 net: usb: Correct reset handling of smsc95xx
    a15a5eabae41 Bluetooth: btusb: Return error code when getting patch status failed
    9e2d8d9c0e33 Documentation: fix firewire.rst ABI file path error
    b791ffcb23c9 Documentation: refer to config RANDOMIZE_BASE for kernel address-space randomization
    63e9fdd76cca Documentation, arch: Remove leftovers from CIFS_WEAK_PW_HASH
    2644d43268da Documentation, arch: Remove leftovers from raw device
    6bcac3149e94 Documentation: ACPI: Fix data node reference documentation
    d4aa8cd70b3f Documentation: dmaengine: Correctly describe dmatest with channel unset
    1d4f0d707d35 Documentation: coresight: Fix documentation issue
    aceb8d70f7aa media: correct MEDIA_TEST_SUPPORT help text
    fbe1e801bc1f drm/vc4: hdmi: Make sure the device is powered with CEC
    31a5bdbe4a68 media: rcar-csi2: Optimize the selection PHTW register
    c8e0c2cf2dd4 can: mcp251xfd: mcp251xfd_tef_obj_read(): fix typo in error message
    1844b8ae85ac firmware: Update Kconfig help text for Google firmware
    3252ca8b6673 of: base: Improve argument length mismatch error
    f22f67b43775 drm/radeon: fix error handling in radeon_driver_open_kms
    16c436fa4f74 ath11k: qmi: avoid error messages when dma allocation fails
    cb77c81d3479 tracing/osnoise: Properly unhook events if start_per_cpu_kthreads() fails
    0d99b0a7c329 ext4: don't use the orphan list when migrating an inode
    e58742f46afc ext4: fix an use-after-free issue about data=journal writeback mode
    0a3624bfdc00 ext4: fix null-ptr-deref in '__ext4_journal_ensure_credits'
    c857769622f3 ext4: destroy ext4_fc_dentry_cachep kmemcache on module removal
    95fb4c496a7a ext4: fast commit may miss tracking unwritten range during ftruncate
    82034851e93b ext4: use ext4_ext_remove_space() for fast commit replay delete range
    efbb6fcced2d ext4: Fix BUG_ON in ext4_bread when write quota data
    fd86fd7119fb ext4: set csum seed in tmp inode while migrating to extents
    50bc43bc1ce0 ext4: fix fast commit may miss tracking range for FALLOC_FL_ZERO_RANGE
    85cc4554eea8 ext4: initialize err_blk before calling __ext4_get_inode_loc
    2d221d9b17fa ext4: fix a possible ABBA deadlock due to busy PA
    bca8a2bfbdd0 ext4: make sure quota gets properly shutdown on error
    8ffe9ad9f5ef ext4: make sure to reset inode lockdep class when quota enabling fails
    5237c93d58c3 btrfs: respect the max size in the header when activating swap file
    724d9fa55cbe btrfs: check the root node for uptodate before returning it
    ef383621b125 btrfs: fix deadlock between quota enable and other quota operations
    9c1154f395cb xfrm: fix dflt policy check when there is no policy configured
    491c3ae9fbb6 xfrm: fix policy lookup for ipv6 gre packets
    9473abe5b5bf PCI: pci-bridge-emul: Set PCI_STATUS_CAP_LIST for PCIe device
    d4e0d674b42d PCI: pci-bridge-emul: Correctly set PCIe capabilities
    9624d1eb4d1f PCI: pci-bridge-emul: Fix definitions of reserved bits
    b1445d865b05 PCI: pci-bridge-emul: Properly mark reserved PCIe bits in PCI config space
    15cf508331ef PCI: pci-bridge-emul: Make expansion ROM Base Address register read-only
    c2451a37174c PCI: pciehp: Use down_read/write_nested(reset_lock) to fix lockdep errors
    0a04b6a0f7f4 PCI: xgene: Fix IB window setup
    077fe9d86560 drm/i915/display/ehl: Update voltage swing table
    c3a9e0e701df drm/amdgpu: don't do resets on APUs which don't support it
    99d41076c260 scsi: lpfc: Fix lpfc_force_rscn ndlp kref imbalance
    56fc6cb5d59a powerpc/64s/radix: Fix huge vmap false positive
    46df3013a5c2 parisc: Fix lpa and lpa_user defines
    95df03b471d9 drm/bridge: analogix_dp: Make PSR-exit block less
    d2a6d606e6d3 drm/nouveau/kms/nv04: use vzalloc for nv04_display
    3bf997ec299c drm/amd/display: Fix the uninitialized variable in enable_stream_features()
    2de6ce583651 drm/etnaviv: limit submit sizes
    a04da77f444a drm/tegra: submit: Add missing pm_runtime_mark_last_busy()
    b8902d5ab431 device property: Fix fwnode_graph_devcon_match() fwnode leak
    9d2867101704 s390/mm: fix 2KB pgtable release race
    b5498bbba0d3 iwlwifi: mvm: Increase the scan timeout guard to 30 seconds
    9e87229ff651 remoteproc: imx_rproc: Fix a resource leak in the remove function
    74c0c6483b63 tracing: Have syscall trace events use trace_event_buffer_lock_reserve()
    40022b3682d5 tracing/kprobes: 'nmissed' not showed correctly for kretprobe
    95c7ba00353f sched/cpuacct: Fix user/system in shown cpuacct.usage*
    b48450843f57 cputime, cpuacct: Include guest time in user time in cpuacct.stat
    6f52d2531f30 serial: Fix incorrect rs485 polarity on uart open
    3ec632bc0a4a fuse: Pass correct lend value to filemap_write_and_wait_range()
    2884aac07874 HID: magicmouse: Fix an error handling path in magicmouse_probe()
    00e3d58f50a8 md: Move alloc/free acct bioset in to personality
    c77edcd242b4 xen/gntdev: fix unmap notification order
    0d9b780cb385 spi: uniphier: Fix a bug that doesn't point to private data correctly
    e53802534cd2 mfd: tps65910: Set PWR_OFF bit during driver probe
    e6b11d8fc548 tpm: fix NPE on probe for missing device
    c90732a58cd1 tpm: fix potential NULL pointer access in tpm_del_char_device
    277c60c9e9eb ubifs: Error path in ubifs_remount_rw() seems to wrongly free write buffers
    d6b6324c3c17 crypto: caam - replace this_cpu_ptr with raw_cpu_ptr
    5c91102702f7 crypto: stm32/crc32 - Fix kernel BUG triggered in probe()
    7f429ce71edb crypto: omap-aes - Fix broken pm_runtime_and_get() usage
    8b6d58859e8f ifcvf/vDPA: fix misuse virtio-net device config size for blk dev
    e2b53845a939 rpmsg: core: Clean up resources on announce_create failure.
    591a1e2ef0f1 udp6: Use Segment Routing Header for dest address if present
    af58dbc08ea3 icmp: ICMPV6: Examine invoking packet for Segment Route Headers.
    85b3b307471e seg6: export get_srh() for ICMP handling
    bcb86df40f96 mailbox: change mailbox-mpfs compatible string
    d543ba3a61d7 phy: mediatek: Fix missing check in mtk_mipi_tx_probe
    5895474d2182 habanalabs: skip read fw errors if dynamic descriptor invalid
    8f23743e1978 ASoC: mediatek: mt8183: fix device_node leak
    61274c00d8e8 ASoC: mediatek: mt8173: fix device_node leak
    ab23ed0a7c8c phy: phy-mtk-tphy: add support efuse setting
    286c6f7b28fa ASoC: mediatek: mt8192-mt6359: fix device_node leak
    5b03322abb61 scsi: mpi3mr: Fixes around reply request queues
    f325446b5a18 scsi: sr: Don't use GFP_DMA
    6af33b200b7f MIPS: Octeon: Fix build errors using clang
    843fff4287a5 selftests/powerpc: Add a test of sigreturning to the kernel
    845a5a4a8fd9 i2c: designware-pci: Fix to change data types of hcnt and lcnt parameters
    23606176a3b4 irqchip/gic-v4: Disable redistributors' view of the VPE table at boot time
    e8ffc355c7d6 MIPS: OCTEON: add put_device() after of_find_device_by_node()
    9de7569942cc udf: Fix error handling in udf_new_inode()
    625be247e812 powerpc/fadump: Fix inaccurate CPU state info in vmcore generated with panic
    953cacfaf36a powerpc: handle kdump appropriately with crash_kexec_post_notifiers option
    6a0a06c9b193 selftests/powerpc/spectre_v2: Return skip code when miss_percent is high
    e7dd8ba6fc84 powerpc/40x: Map 32Mbytes of memory at startup
    7e6c8ff5c21c MIPS: Loongson64: Use three arguments for slti
    8774f9824c2c ALSA: seq: Set upper limit of processed events
    b693e737e080 scsi: lpfc: Trigger SLI4 firmware dump before doing driver cleanup
    5b91e80b631c scsi: lpfc: Fix leaked lpfc_dmabuf mbox allocations with NPIV
    ef9e3ecacb75 scsi: ufs: Fix a kernel crash during shutdown
    d90d496a999e interconnect: qcom: rpm: Prevent integer overflow in rate
    efd507bed1b4 dm: fix alloc_dax error handling in alloc_dev
    78d56d075464 nvmem: core: set size for sysfs bin file
    fea0e4b49dd2 w1: Misuse of get_user()/put_user() reported by sparse
    d58837197d20 KVM: PPC: Book3S: Suppress failed alloc warning in H_COPY_TOFROM_GUEST
    a0a4d7a23d18 KVM: PPC: Book3S: Suppress warnings when allocating too big memory slots
    9170beaeffe4 powerpc/powermac: Add missing lockdep_register_key()
    af0e9677f6e6 clk: meson: gxbb: Fix the SDM_EN bit for MPLL0 on GXBB
    95abac60d96d i2c: mpc: Correct I2C reset procedure
    f374976a7e4d powerpc/smp: Move setup_profiling_timer() under CONFIG_PROFILING
    be9313f755a7 i2c: i801: Don't silently correct invalid transfer size
    b8526a5003d6 ASoC: imx-hdmi: add put_device() after of_find_device_by_node()
    52ce10c1878c powerpc/watchdog: Fix missed watchdog reset due to memory ordering race
    aa8c27014529 powerpc/btext: add missing of_node_put
    efe379f92d5f powerpc/cell: add missing of_node_put
    179ecdf5c089 powerpc/powernv: add missing of_node_put
    5203c7027fdd powerpc/6xx: add missing of_node_put
    992a9eafb1ec x86/kbuild: Enable CONFIG_KALLSYMS_ALL=y in the defconfigs
    67de7d5ae29b can: flexcan: add more quirks to describe RX path capabilities
    cf0649500913 can: flexcan: rename RX modes
    e719eeb50885 can: flexcan: allow to change quirks at runtime
    b9d50e591133 parisc: Avoid calling faulthandler_disabled() twice
    4e2e5a033e93 net/mlx5e: Unblock setting vid 0 for VF in case PF isn't eswitch manager
    d24e3a126b2e net/mlx5: Update log_max_qp value to FW max capability
    8c751aac0b64 random: do not throw away excess input to crng_fast_load
    0e7d8e930aba serial: core: Keep mctrl register state and cached copy in sync
    5b452507d5e7 serial: pl011: Drop CR register reset on set_termios
    9201e1dd5aee serial: pl010: Drop CR register reset on set_termios
    7828830235cb regulator: qcom_smd: Align probe function with rpmh-regulator
    59caf131b18c net: gemini: allow any RGMII interface mode
    00bf5ce4bf9a net: phy: marvell: configure RGMII delays for 88E1118
    5b2fd3370e7f mlxsw: pci: Avoid flow control for EMAD packets
    0415b84eee93 bpf/selftests: Fix namespace mount setup in tc_redirect
    1674124a8855 dm space map common: add bounds check to sm_ll_lookup_bitmap()
    b5aee20b5316 dm btree: add a defensive bounds check to insert_at()
    3c3417b013cf mac80211: allow non-standard VHT MCS-10/11
    2d1c1df9c899 net: mdio: Demote probed message to debug print
    a3fdfe36c36a btrfs: remove BUG_ON(!eie) in find_parent_nodes
    b667d77ca70c btrfs: remove BUG_ON() in find_parent_nodes()
    d70ce75d1d28 ACPI: CPPC: Check present CPUs for determining _CPC is valid
    dd7c1a930252 ACPI: battery: Add the ThinkPad "Not Charging" quirk
    e4066c05d332 amdgpu/pm: Make sysfs pm attributes as read-only for VFs
    493b87970061 drm/amdgpu: fixup bad vram size on gmc v8
    1ee70b4c5406 mmc: mtk-sd: Use readl_poll_timeout instead of open-coded polling
    dcedcbe17739 ACPICA: Hardware: Do not flush CPU cache when entering S4 and S5
    a4c7a12027f2 ACPICA: Fix wrong interpretation of PCC address
    2718d4a8d632 ACPICA: Executer: Fix the REFCLASS_REFOF case in acpi_ex_opcode_1A_0T_1R()
    3c3b033d170d ACPICA: Utilities: Avoid deleting the same object twice in a row
    78cc8a75303f ACPICA: actypes.h: Expand the ACPI_ACCESS_ definitions
    8c641409536d jffs2: GC deadlock reading a page that is used in jffs2_write_begin()
    46241ec22925 drm/etnaviv: consider completed fence seqno in hang check
    2b68b42a5d05 xfrm: rate limit SA mapping change message to user space
    74f1c807c679 Bluetooth: vhci: Set HCI_QUIRK_VALID_LE_STATES
    e6e03a16eba4 Bluetooth: btintel: Add missing quirks and msft ext for legacy bootloader
    0863e7e0ceb5 ath11k: Fix napi related hang
    617a9e6da974 um: registers: Rename function names to avoid conflicts and build problems
    f75868e020a1 block: check minor range in device_add_disk()
    892805138cb4 mmc: sdhci-pci-gli: GL9755: Support for CD/WP inversion on OF platforms
    0c3f9c13796e iwlwifi: pcie: make sure prph_info is set when treating wakeup IRQ
    ec53a638c18e iwlwifi: mvm: fix AUX ROC removal
    abce9e05089e iwlwifi: mvm: Fix calculation of frame length
    58d53fe49a5d iwlwifi: remove module loading failure message
    e23f075d7798 iwlwifi: fix leaks/bad data after failed firmware load
    73a32ee6daef PM: AVS: qcom-cpr: Use div64_ul instead of do_div
    9a9669e75735 rtw88: 8822c: update rx settings to prevent potential hw deadlock
    38d8d8a88274 ath9k: Fix out-of-bound memcpy in ath9k_hif_usb_rx_stream
    735aefae7b68 ath9k_htc: fix NULL pointer dereference at ath9k_htc_tx_get_packet()
    6eedec710840 ath9k_htc: fix NULL pointer dereference at ath9k_htc_rxep()
    243ab93501e6 mt76: mt7615: improve wmm index allocation
    9d39145c49d0 mt76: do not pass the received frame with decryption error
    3a1ef2b12338 mt76: mt7615: fix possible deadlock while mt7615_register_ext_phy()
    a09dc6c4638f usb: hub: Add delay for SuperSpeed hub resume to let links transit to U0
    79235edc66cb cpufreq: Fix initialization of min and max frequency QoS requests
    fddbdd20c8e0 PM: runtime: Add safety net to supplier device release
    4586d164c319 crypto: hisilicon/hpre - fix memory leak in hpre_curve25519_src_init()
    c0713b3017a8 crypto: ccp - Move SEV_INIT retry for corrupted data
    a8186a100978 arm64: tegra: Adjust length of CCPLEX cluster MMIO region
    77e5d1974a1b arm64: dts: ls1028a-qds: move rtc node to the correct i2c bus
    d978295bb551 audit: ensure userspace is penalized the same as the kernel when under pressure
    305f07b93d34 drm/amd/amdgpu: fix gmc bo pin count leak in SRIOV
    8662d0c6a368 drm/amd/amdgpu: fix psp tmr bo pin count leak in SRIOV
    29d6a92af56d mmc: core: Fixup storing of OCR for MMC_QUIRK_NONSTD_SDIO
    384a5e27a44f mmc: tmio: reinit card irqs in reset routine
    c3d14b3585b7 media: saa7146: hexium_gemini: Fix a NULL pointer dereference in hexium_attach()
    84155d2b0606 media: rockchip: rkisp1: use device name for debugfs subdir name
    87d0b8170234 media: igorplugusb: receiver overflow should be reported
    26d516434d1c HID: i2c-hid-of: Expose the touchscreen-inverted properties
    bc13af2535e5 HID: quirks: Allow inverting the absolute X/Y values
    4a635b9d5ba5 drm/amdkfd: Fix error handling in svm_range_add
    684815ff760b bpf: Do not WARN in bpf_warn_invalid_xdp_action()
    451ee28aed9d kunit: Don't crash if no parameters are generated
    584d9e3e7459 net: bonding: debug: avoid printing debug logs when bond is not notifying peers
    0f962554d016 x86/mce: Mark mce_read_aux() noinstr
    b26d3a8f826d x86/mce: Mark mce_end() noinstr
    f166c0b3ac1c x86/mce: Mark mce_panic() noinstr
    f2bde2aeb1ae x86/mce: Allow instrumentation during task work queueing
    3903e6279530 ARM: dts: qcom: sdx55: fix IPA interconnect definitions
    f6d165a8fa04 ath11k: Avoid false DEADLOCK warning reported by lockdep
    271842c326bb selftests/ftrace: make kprobe profile testcase description unique
    8bb1290e9050 gpio: aspeed-sgpio: Convert aspeed_sgpio.lock to raw_spinlock
    d9332eab2338 gpio: aspeed: Convert aspeed_gpio.lock to raw_spinlock
    3c2a24aa3412 net: phy: prefer 1000baseT over 1000baseKX
    0abd3f9903fa net-sysfs: update the queue counts in the unregistration path
    f7bae4d4595d ath10k: Fix tx hanging
    21b07b470a40 ath11k: avoid deadlock by change ieee80211_queue_work for regd_update_work
    bcf404b305f4 rcutorture: Avoid soft lockup during cpu stall
    d63ddcee9ff3 iwlwifi: mvm: avoid clearing a just saved session protection id
    59b49457fbd8 iwlwifi: mvm: synchronize with FW after multicast commands
    b52954c7798e arm64: dts: renesas: Fix thermal bindings
    2f804823b5b7 thunderbolt: Runtime PM activate both ends of the device link
    0c044e39d52a media: m920x: don't use stack on USB reads
    6aaff2d7c9d5 media: atomisp: fix "variable dereferenced before check 'asd'"
    a2e962b2d8b0 media: saa7146: hexium_orion: Fix a NULL pointer dereference in hexium_attach()
    d747b4831d5f media: rcar-vin: Update format alignment constraints
    1c9bbda87cdc media: uvcvideo: Increase UVC_CTRL_CONTROL_TIMEOUT to 5 seconds.
    4d6a98ce80f6 drm: rcar-du: Fix CRTC timings when CMM is used
    30bd6733ef96 x86/mm: Flush global TLB when switching to trampoline page-table
    1b4422befeba floppy: Add max size check for user space request
    eeefb3436d42 usb: uhci: add aspeed ast2600 uhci support
    750f28d69b99 arm64: dts: ti: j721e-main: Fix 'dtbs_check' in serdes_ln_ctrl node
    e785275d780e arm64: dts: ti: j7200-main: Fix 'dtbs_check' serdes_ln_ctrl node
    94168f47f9b1 ACPI / x86: Add not-present quirk for the PCI0.SDHB.BRC1 device on the GPD win
    10f2c10c0e20 ACPI / x86: Allow specifying acpi_device_override_status() quirks by path
    91f918b7885f ACPI: Change acpi_device_always_present() into acpi_device_override_status()
    1fd897834b77 ACPI / x86: Drop PWM2 device on Lenovo Yoga Book from always present table
    2518f943a18e drm/vmwgfx: Introduce a new placement for MOB page tables
    ff74a49da07b drm/vmwgfx: Release ttm memory if probe fails
    f168858f6096 regulator: da9121: Prevent current limit change when enabled
    34b1e259b1f5 media: venus: avoid calling core_clk_setrate() concurrently during concurrent video sessions
    371a75dfaadb ath11k: Avoid NULL ptr access during mgmt tx cleanup
    dbba81756c1b rsi: Fix out-of-bounds read in rsi_read_pkt()
    bac512a0f3fe rsi: Fix use-after-free in rsi_rx_done_handler()
    b2762757f4e4 mwifiex: Fix skb_over_panic in mwifiex_usb_recv()
    bed51dafd544 crypto: jitter - consider 32 LSB for APT
    0c3df095fab6 HSI: core: Fix return freed object in hsi_new_client
    8c124608bf46 gpiolib: acpi: Do not set the IRQ type if the IRQ is already in use
    c6d9c77a19d0 tty: serial: imx: disable UCR4_OREN in .stop_rx() instead of .shutdown()
    93306292b776 mxser: keep only !tty test in ISR
    405856460d3e drm/bridge: megachips: Ensure both bridges are probed before registration
    58d33532664c drm/amd/display: add else to avoid double destroy clk_mgr
    ae93accee317 mlxsw: pci: Add shutdown method in PCI driver
    b019927f1c4a soc: ti: pruss: fix referenced node in error message
    f94cf1cb1796 drm/amdgpu/display: set vblank_disable_immediate for DC
    1fffa8ffd62f drm/amd/display: check top_pipe_to_program pointer
    5e0f1c68da1e ARM: imx: rename DEBUG_IMX21_IMX27_UART to DEBUG_IMX27_UART
    b16e928b6a30 soc: imx: gpcv2: Synchronously suspend MIX domains
    f573eda00b39 arm64: dts: qcom: sm8350: Shorten camera-thermal-bottom name
    c41c4bc61db2 EDAC/synopsys: Use the quirk for version instead of ddr version
    342aa207c9da ethernet: renesas: Use div64_ul instead of do_div
    a111f8e113c7 libbpf: Accommodate DWARF/compiler bug with duplicated structs
    299951bd1ef9 media: b2c2: Add missing check in flexcop_pci_isr:
    3396b7cf1478 HID: apple: Do not reset quirks when the Fn key is not found
    e6ad399596bd HID: magicmouse: Report battery level over USB
    c350fcc74035 drm: panel-orientation-quirks: Add quirk for the Lenovo Yoga Book X91F/L
    d168123f1388 psi: Fix PSI_MEM_FULL state when tasks are in memstall and doing reclaim
    07888a4fbcf2 usb: gadget: f_fs: Use stream_open() for endpoint files
    7171e60715a6 USB: ehci_brcm_hub_control: Improve port index sanitizing
    432acc8ad244 usb: dwc3: meson-g12a: fix shared reset control use
    79a3d8f1882d ath11k: Fix crash caused by uninitialized TX ring
    f1d85deaf343 media: atomisp: handle errors at sh_css_create_isp_params()
    bab93d536617 batman-adv: allow netlink usage in unprivileged containers
    5a47ca7f7894 ARM: shmobile: rcar-gen2: Add missing of_node_put()
    75272f75eddf media: atomisp: check before deference asd variable
    8335807ce313 media: atomisp-ov2680: Fix ov2680_set_fmt() clobbering the exposure
    f04b8bdddf7a media: atomisp: set per-device's default mode
    d4c0cb23e5b3 media: atomisp: fix try_fmt logic
    7be59e8a6660 drm/nouveau/pmu/gm200-: avoid touching PMU outside of DEVINIT/PREOS/ACR
    0dedaf16ca43 drm/bridge: dw-hdmi: handle ELD when DRM_BRIDGE_ATTACH_NO_CONNECTOR
    fbcd1e9f8a43 ar5523: Fix null-ptr-deref with unexpected WDCMSG_TARGET_START reply
    1f1161c9bb47 selftests/bpf: Fix bpf_object leak in skb_ctx selftest
    57d3ec1106fc selftests/bpf: Destroy XDP link correctly
    7ffd2af8085c selftests/bpf: Fix memory leaks in btf_type_c_dump() helper
    9c46c1f1d2ac drm/lima: fix warning when CONFIG_DEBUG_SG=y & CONFIG_DMA_API_DEBUG=y
    5dc41e6caecc fs: dlm: filter user dlm messages for kernel locks
    41966cae91f1 Bluetooth: Fix removing adv when processing cmd complete
    57347363de0b drm/panel: Delete panel on mipi_dsi_attach() failure
    493c7d56ac22 Bluetooth: Fix memory leak of hci device
    d86db46b5cf5 Bluetooth: Fix debugfs entry leak in hci_register_dev()
    b03b18f0d1e9 leds: lp55xx: initialise output direction from dts
    bc8c07fcb492 ARM: dts: omap3-n900: Fix lp5523 for multi color
    55f8559ba8d3 mailbox: fix gce_num of mt8192 driver data
    38e9447399ff MIPS: compressed: Fix build with ZSTD compression
    925b35b54583 MIPS: boot/compressed/: add __ashldi3 to target for ZSTD compression
    c19b9b755482 of/fdt: Don't worry about non-memory region overlap for no-map
    dc4e2dbe6171 of: base: Fix phandle argument length mismatch error message
    91dcfc658d38 clk: bm1880: remove kfrees on static allocations
    8f5e866cbb97 ASoC: fsl_asrc: refine the check of available clock divider
    0cd1ef3f7b89 ASoC: imx-card: improve the sound quality for low rate
    edc07df0df20 ASoC: imx-card: Fix mclk calculation issue for akcodec
    6bedc3b3d130 ASoC: imx-card: Need special setting for ak4497 on i.MX8MQ
    35816546936d clk: qcom: gcc-sc7280: Mark gcc_cfg_noc_lpass_clk always enabled
    60037a56e08b RDMA/cxgb4: Set queue pair state when being queried
    32faa4c17a56 ALSA: hda/cs8409: Fix Jack detection after resume
    b624b5b2fe02 ALSA: hda/cs8409: Increase delay during jack detection
    65b517f4e0c6 ASoC: fsl_mqs: fix MODULE_ALIAS
    ef9893bb73e7 powerpc/xive: Add missing null check after calling kmalloc
    f1750bf32690 mips: bcm63xx: add support for clk_set_parent()
    b88fea46621d mips: lantiq: add support for clk_set_parent()
    a92e8b510fb4 arm64: tegra: Remove non existent Tegra194 reset
    78926da03360 ASoC: mediatek: mt8195: correct pcmif BE dai control flow
    1cf0a19e33ad misc: lattice-ecp3-config: Fix task hung when firmware load failed
    a17f93a1f0a5 ASoC: samsung: idma: Check of ioremap return value
    8b5d69613b12 phy: cadence: Sierra: Fix to get correct parent for mux clocks
    fca58a434425 powerpc/64s: Use EMIT_WARN_ENTRY for SRR debug warnings
    5bb2d955e81b powerpc/64s: Mask NIP before checking against SRR0
    38accfd85e41 ASoC: mediatek: Check for error clk pointer
    799b2c6cd7b6 phy: uniphier-usb3ss: fix unintended writing zeros to PHY register
    af8cab36bfb8 scsi: block: pm: Always set request queue runtime active in blk_post_runtime_resume()
    e421973fbe6e efi: apply memblock cap after memblock_add()
    77d37071811b of: fdt: Aggregate the processing of "linux,usable-memory-range"
    073d9a2237b1 ASoC: mediatek: mt8195: correct default value
    ef0af09d4113 iommu/iova: Fix race between FQ timeout and teardown
    56c3b7238594 ASoC: Intel: catpt: Test dmaengine_submit() result before moving on
    9bc6d3abccbf iommu/amd: Remove useless irq affinity notifier
    7e7e12092a66 iommu/amd: X2apic mode: mask/unmask interrupts on suspend/resume
    88c62a000be5 iommu/amd: X2apic mode: setup the INTX registers on mask/unmask
    0210cbc1efa3 iommu/amd: X2apic mode: re-enable after resume
    fd77922c94e4 iommu/amd: Restore GA log/tail pointer on host resume
    86bcde384570 dmaengine: pxa/mmp: stop referencing config->slave_id
    b1f659597761 mips: fix Kconfig reference to PHYS_ADDR_T_64BIT
    f345281019b2 mips: add SYS_HAS_CPU_MIPS64_R5 config for MIPS Release 5 support
    cfb6756aea7e clk: stm32: Fix ltdc's clock turn off by clk_disable_unused() after system enter shell
    e7962a878b38 of: unittest: 64 bit dma address test requires arch support
    d00393b2c354 of: unittest: fix warning on PowerPC frame size warning
    e91edc3b443c ASoC: rt5663: Handle device_property_read_u32_array error codes
    45f4e3c75877 RDMA/cma: Let cma_resolve_ib_dev() continue search even after empty entry
    8d76d0e4880d RDMA/core: Let ib_find_gid() continue search even after empty entry
    b77f233986b3 iommu/arm-smmu-qcom: Fix TTBR0 read
    2b78e026b455 powerpc/powermac: Add additional missing lockdep_register_key()
    db3e0d59f1c8 PCI/MSI: Fix pci_irq_vector()/pci_irq_get_affinity()
    1526f0ae4949 RDMA/qedr: Fix reporting max_{send/recv}_wr attrs
    f10876654e82 scsi: ufs: Fix race conditions related to driver data
    c9f350ade563 scsi: core: Fix scsi_device_max_queue_depth()
    3db62f98b49f iommu/io-pgtable-arm: Fix table descriptor paddr formatting
    004d84063fa2 iommu: Extend mutex lock scope in iommu_probe_device()
    37fb3dec665c openrisc: Add clone3 ABI wrapper
    7a9ad4aceb02 binder: avoid potential data leakage when copying txn
    f9848823d4e8 binder: fix handling of error during copy
    695ca3e0e24b char/mwave: Adjust io port register size
    356b4ed3ea70 misc: at25: Make driver OF independent again
    ee22462a419b ALSA: usb-audio: Drop superfluous '0' in Presonus Studio 1810c's ID
    6f90ccd96226 ALSA: oss: fix compile error when OSS_DEBUG is enabled
    cf9b8de20168 clocksource: Avoid accidental unstable marking of clocksources
    e3e6b74fad2d powerpc/32s: Fix shift-out-of-bounds in KASAN init
    2d17ab8874bc powerpc/modules: Don't WARN on first module allocation attempt
    fadcafa39592 powerpc/perf: Fix PMU callbacks to clear pending PMI before resetting an overflown PMC
    c15d1468f339 dt-bindings: thermal: Fix definition of cooling-maps contribution property
    9de9858d7bf0 ALSA: hda: Make proper use of timecounter
    a2e525d61801 RDMA/rtrs-clt: Fix the initial value of min_latency
    278df2c08602 ASoC: codecs: wcd938x: add SND_SOC_WCD938_SDW to codec list instead
    dc2400567312 ASoC: uniphier: drop selecting non-existing SND_SOC_UNIPHIER_AIO_DMA
    49a237c73a78 powerpc/prom_init: Fix improper check of prom_getprop()
    e459a89df303 clk: imx8mn: Fix imx8mn_clko1_sels
    6b0335e66b51 clk: renesas: rzg2l: propagate return value of_genpd_add_provider_simple()
    02beeed3928f clk: renesas: rzg2l: Check return value of pm_genpd_init()
    a0b4447677dd scsi: pm80xx: Update WARN_ON check in pm8001_mpi_build_cmd()
    4a1723367f5e RDMA/hns: Validate the pkey index
    8fe8161c50f4 RDMA/bnxt_re: Scan the whole bitmap when checking if "disabling RCFW with pending cmd-bit"
    ec085da3437b ALSA: hda: Fix potential deadlock at codec unbinding
    1b378f59bc86 ALSA: hda: Add missing rwsem around snd_ctl_remove() calls
    9b9f32c0c744 ALSA: PCM: Add missing rwsem around snd_ctl_remove() calls
    19eebde28fc6 ALSA: jack: Add missing rwsem around snd_ctl_remove() calls
    03c2fbca8973 ASoC: Intel: sof_sdw: fix jack detection on HP Spectre x360 convertible
    4846b55a2cd9 ext4: avoid trim error on fs with small groups
    0d3bbe7eb15e net: mcs7830: handle usb read errors properly
    86971970aeed bnxt_en: use firmware provided max timeout for messages
    e685851f0456 bnxt_en: move coredump functions into dedicated file
    a2037e7e4d02 bnxt_en: Refactor coredump functions
    57214d92a69f iwlwifi: mvm: Use div_s64 instead of do_div in iwl_mvm_ftm_rtt_smoothing()
    cf2ce93a7afa net: openvswitch: Fix ct_state nat flags for conns arriving from tc
    e7b33ff6439a net: openvswitch: Fix matching zone id for invalid conns arriving from tc
    a006c8482463 net/sched: flow_dissector: Fix matching on zone id for invalid conns
    3a4ecdfc0cf4 pcmcia: fix setting of kthread task states
    4a71828b2738 can: rcar_canfd: rcar_canfd_channel_probe(): make sure we free CAN network device
    61970e8b5d78 can: xilinx_can: xcan_probe(): check for error irq
    b8609cb64101 can: softing: softing_startstop(): fix set but not used variable warning
    deb81894f56e tpm_tis: Fix an error handling path in 'tpm_tis_core_init()'
    ea1fd8364c9f tpm: add request_locality before write TPM_INT_ENABLE
    8609525ee0ee can: mcp251xfd: add missing newline to printed strings
    f5b7e80e25c4 net: mscc: ocelot: fix incorrect balancing with down LAG ports
    5aff6ae24b39 regmap: Call regmap_debugfs_exit() prior to _init()
    af5dcf968ebe netrom: fix api breakage in nr_setsockopt()
    7b9986a0425a ax25: uninitialized variable in ax25_setsockopt()
    c48c7678739d octeontx2-af: Increment ptp refcount before use
    aac0b364904f spi: spi-meson-spifc: Add missing pm_runtime_disable() in meson_spifc_probe
    e1652f70e896 mptcp: fix a DSS option writing error
    72aba03ba836 mptcp: fix opt size when sending DSS + MP_FAIL
    c310df0eabe5 mptcp: fix per socket endpoint accounting
    abe4b2c214ea Bluetooth: L2CAP: uninitialized variables in l2cap_sock_setsockopt()
    b918c668d295 lib/mpi: Add the return value check of kcalloc()
    d73d81447c66 net/mlx5: Set command entry semaphore up once got index free
    266e6a36546f net/mlx5e: Sync VXLAN udp ports during uplink representor profile change
    fbe5f19824ba net/mlx5: Fix access to sf_dev_table on allocation failure
    7c1f9797e1b5 net/mlx5e: Fix matching on modified inner ip_ecn bits
    46a8a5a42984 Revert "net/mlx5e: Block offload of outer header csum for GRE tunnel"
    a8176f18ab5f Revert "net/mlx5e: Block offload of outer header csum for UDP tunnels"
    44008999815b net/mlx5e: Don't block routes with nexthop objects in SW
    360cbb1c3ec7 net/mlx5e: Fix wrong usage of fib_info_nh when routes with nexthop objects are used
    423bf4c1ea8a net/mlx5e: Fix page DMA map/unmap attributes
    6d818695065d x86, sched: Fix undefined reference to init_freq_invariance_cppc() build error
    f7e2f374799f serial: stm32: move tx dma terminate DMA to shutdown
    8209b0b395aa serial: liteuart: fix MODULE_ALIAS
    71db96193317 drivers/firmware: Add missing platform_device_put() in sysfb_create_simplefb
    1850a403bd0b debugfs: lockdown: Allow reading debugfs files that are not world readable
    0fc97f944245 HID: hid-uclogic-params: Invalid parameter check in uclogic_params_frame_init_v1_buttonpad
    fc8a47ed624b HID: hid-uclogic-params: Invalid parameter check in uclogic_params_huion_init
    964e6a78cb1d HID: hid-uclogic-params: Invalid parameter check in uclogic_params_get_str_desc
    621aade97324 HID: hid-uclogic-params: Invalid parameter check in uclogic_params_init
    78e8660e9d90 usb: gadget: u_audio: Subdevice 0 for capture ctls
    e3e610612234 usb: dwc2: gadget: initialize max_speed from params
    85a75d45f715 usb: dwc2: do not gate off the hardware if it does not support clock gating
    5157828d3975 usb: dwc3: qcom: Fix NULL vs IS_ERR checking in dwc3_qcom_probe
    db7d1a2e0609 net/smc: Reset conn->lgr when link group registration fails
    9186e6ba52af Bluetooth: hci_qca: Fix NULL vs IS_ERR_OR_NULL check in qca_serdev_probe
    ede559376794 Bluetooth: hci_bcm: Check for error irq
    3983254b43c2 fsl/fman: Check for null pointer after calling devm_ioremap
    c154574b84a5 staging: greybus: audio: Check null pointer
    4a308769df64 rocker: fix a sleeping in atomic bug
    5f54a0355802 ppp: ensure minimum packet size in ppp_write()
    ff53c861e97e net: fix SOF_TIMESTAMPING_BIND_PHC to work with multiple sockets
    29a0827b7491 netfilter: nft_set_pipapo: allocate pcpu scratch maps on clone
    500193142a20 netfilter: nft_payload: do not update layer 4 checksum when mangling fragments
    2db60bb56405 bpf: Fix SO_RCVBUF/SO_SNDBUF handling in _bpf_setsockopt().
    2fbd46695272 bpf: Fix verifier support for validation of async callbacks
    a65df848dbe0 bpf: Don't promote bogus looking registers after null check.
    073f7fb020b5 bpf, sockmap: Fix double bpf_prog_put on error case in map_link
    f26349213d97 bpf, sockmap: Fix return codes from tcp_bpf_recvmsg_parser()
    a1c2d9a513e5 netfilter: ipt_CLUSTERIP: fix refcount leak in clusterip_tg_check()
    21bdddc9648b net: dsa: fix incorrect function pointer check for MRP ring roles
    6dab20da69f9 net: ethernet: mtk_eth_soc: fix return values and refactor MDIO ops
    10f849d3e563 net/xfrm: IPsec tunnel mode fix inner_ipproto setting in sec_path
    4849eca4fc6f power: reset: mt6397: Check for null res pointer
    a3b31433147b pcmcia: rsrc_nonstatic: Fix a NULL pointer dereference in nonstatic_find_mem_region()
    7756cb45dbfe pcmcia: rsrc_nonstatic: Fix a NULL pointer dereference in __nonstatic_find_io_region()
    5d2fd6fff8e4 ACPI: scan: Create platform device for BCM4752 and LNV4752 ACPI nodes
    0a9b1fb2a778 serial: 8250_bcm7271: Propagate error codes from brcmuart_probe()
    deb0c71e0b26 io_uring: remove double poll on poll update
    8d3d1c365a89 x86/mce/inject: Avoid out-of-bounds write when setting flags
    4f1096828ece hwmon: (mr75203) fix wrong power-up delay value
    a96546df99ea regulator: qcom-labibb: OCP interrupts are not a failure while disabled
    78cafdf7d219 crypto: octeontx2 - prevent underflow in get_cores_bmap()
    910e5e8ac5de x86/boot/compressed: Move CLANG_FLAGS to beginning of KBUILD_CFLAGS
    5639dcfc6889 Bluetooth: hci_qca: Stop IBS timer during BT OFF
    03dae5e3362e software node: fix wrong node passed to find nargs_prop
    7a4e6e087813 backlight: qcom-wled: Respect enabled-strings in set_brightness
    7abe05ef6648 backlight: qcom-wled: Use cpu_to_le16 macro to perform conversion
    18a8dd081b81 backlight: qcom-wled: Override default length with qcom,enabled-strings
    37b61692f27b backlight: qcom-wled: Fix off-by-one maximum with default num_strings
    219c7d18be5a backlight: qcom-wled: Pass number of elements to read to read_u32_array
    f2bc76de2847 backlight: qcom-wled: Validate enabled string indices in DT
    77c5e99644af bpftool: Enable line buffering for stdout
    79d6a406df00 Bluetooth: L2CAP: Fix using wrong mode
    a3641f64a9d9 um: virtio_uml: Fix time-travel external time propagation
    4e71908ba7cb lib/logic_iomem: Fix operation on 32-bit
    6c72a5bc4df4 lib/logic_iomem: Fix 32-bit build
    b53c2307b18c um: virt-pci: Fix 32-bit compile
    c3d5f267696d um: rename set_signals() to um_set_signals()
    2a2f4f3aeafd um: fix ndelay/udelay defines
    3a45c4703491 selinux: fix potential memleak in selinux_add_opt()
    7be5c25e3155 block: fix error unwinding in device_add_disk
    6c1d0447bf0d mmc: meson-mx-sdio: add IRQ check
    0d840e7e2e6c mmc: meson-mx-sdhc: add IRQ check
    525c2a0763ee iwlwifi: mvm: set protected flag only for NDP ranging
    39cb224bf651 iwlwifi: mvm: perform 6GHz passive scan after suspend
    e895cfb085c6 iwlwifi: mvm: test roc running status bits before removing the sta
    48338cf56eaa iwlwifi: mvm: fix 32-bit build in FTM
    617339466fda rtw88: Disable PCIe ASPM while doing NAPI poll on 8821CE
    9b6b5f07702f rtw88: add quirk to disable pci caps on HP 250 G7 Notebook PC
    b14e931c386f wilc1000: fix double free error in probe()
    1a25b9c4ce2a mt76: mt7921: drop offload_flags overwritten
    e64a3ea17c19 ARM: dts: armada-38x: Add generic compatible to UART nodes
    4518f459c2c0 arm64: dts: marvell: cn9130: enable CP0 GPIO controllers
    864ac5f6bfbe arm64: dts: marvell: cn9130: add GPIO and SPI aliases
    6d88a6849617 usb: ftdi-elan: fix memory leak on device disconnect
    826501a17e98 ARM: 9159/1: decompressor: Avoid UNPREDICTABLE NOP encoding
    851b00b47832 xfrm: state and policy should fail if XFRMA_IF_ID 0
    eab7928527b5 xfrm: interface with if_id 0 should return error
    afd9ebd40bda media: hantro: Fix probe func error path
    3ca9f14fe279 drm/tegra: vic: Fix DMA API misuse
    0dbb2617c713 drm/tegra: gr2d: Explicitly control module reset
    3b90135b03f3 gpu: host1x: select CONFIG_DMA_SHARED_BUFFER
    c0dc02dcfe6b drm/bridge: ti-sn65dsi86: Set max register for regmap
    602662de5f82 drm/msm/dpu: fix safe status debugfs file
    be12d15a817b arm64: dts: qcom: ipq6018: Fix gpio-ranges property
    0c7ec53598a3 arm64: dts: qcom: c630: Fix soundcard setup
    c9fadfaf7b44 net: dsa: hellcreek: Add missing PTP via UDP rules
    ae914fe9310e net: dsa: hellcreek: Allow PTP P2P measurements on blocked ports
    c2be5908dd7c net: dsa: hellcreek: Add STP forwarding rule
    06baf7c33cf3 net: dsa: hellcreek: Fix insertion of static FDB entries
    307ac652e9fb ath11k: Fix a NULL pointer dereference in ath11k_mac_op_hw_scan()
    e935a4dd37e4 media: coda/imx-vdoa: Handle dma_set_coherent_mask error codes
    f0fc76d6cc80 media: msi001: fix possible null-ptr-deref in msi001_probe()
    48225919434f media: dw2102: Fix use after free
    f99f6ea71b55 perf/arm-cmn: Fix CPU hotplug unregistration
    70bf180fef83 ARM: dts: gemini: NAS4220-B: fis-index-block with 128 KiB sectors
    3d3fbbf05fe8 spi: Fix incorrect cs_setup delay handling
    5d0933a65bbd ath11k: Fix deleting uninitialized kernel timer during fragment cache flush
    8b2b88054961 crypto: hisilicon/qm - fix incorrect return value of hisi_qm_resume()
    5367147cb4f8 crypto: stm32 - Revert broken pm_runtime_resume_and_get changes
    2383a52088b6 crypto: stm32/cryp - fix bugs and crash in tests
    4e3043d247e6 crypto: stm32/cryp - fix lrw chaining mode
    0ba9b34ec6e5 crypto: stm32/cryp - fix double pm exit
    ef416e0614af crypto: stm32/cryp - check early input data
    4a62c2b32c41 crypto: stm32/cryp - fix xts and race condition in crypto_engine requests
    4671521de277 crypto: stm32/cryp - fix CTR counter carry
    f857f6cc5fbf selftests: harness: avoid false negatives if test has no ASSERTs
    c0dbfef7e63f selftests: clone3: clone3: add case CLONE3_ARGS_NO_TEST
    fa8db0f53fc1 x86/uaccess: Move variable into switch case statement
    097d4aeea0fc xfrm: fix a small bug in xfrm_sa_len()
    7a95f5d9b80f mwifiex: Fix possible ABBA deadlock
    4e6ad76d340f drm/msm/dsi: fix initialization in the bonded DSI case
    5c2eaa606feb wcn36xx: Fix max channels retrieval
    ef93cc02cafb rcu/exp: Mark current CPU as exp-QS in IPI loop second pass
    87472bebedbb drm/msm/dp: displayPort driver need algorithm rational
    e5d61c5b9c9c drm/msm/gpu: Don't allow zero fence_id
    89166801f80d drm/amd/display: Fix out of bounds access on DNC31 stream encoder regs
    6dcc6706dab1 drm/amd/display: Fix bug in debugfs crc_win_update entry
    d41946e82718 Bluetooth: btusb: Handle download_firmware failure cases
    006157d575d1 Bluetooth: MGMT: Use hci_dev_test_and_{set,clear}_flag
    749fc99daa13 Bluetooth: refactor set_exp_feature with a feature table
    d3f45f4ee17f ath10k: Fix the MTU size on QCA9377 SDIO
    378723bd01b2 sched/rt: Try to restart rt period timer when rt runtime exceeded
    9a664557effe wireless: iwlwifi: Fix a double free in iwl_txq_dyn_alloc_dma
    643af6932580 media: si2157: Fix "warm" tuner state detection
    d8904d2f6283 media: saa7146: mxb: Fix a NULL pointer dereference in mxb_attach()
    6f2d3249b98d media: dib8000: Fix a memleak in dib8000_init()
    1a51d9d60325 samples: bpf: Fix 'unknown warning group' build warning on Clang
    d891664e39ad samples: bpf: Fix xdp_sample_user.o linking with Clang
    c7d36c19cf30 samples/bpf: Clean up samples/bpf build failes
    7b4a30bbf8ca samples/bpf: Install libbpf headers when building
    c7f0c087d483 arm64: mte: DC {GVA,GZVA} shouldn't be used when DCZID_EL0.DZP == 1
    338c297e0885 arm64: clear_page() shouldn't use DC ZVA when DCZID_EL0.DZP == 1
    33fcd00e0aa0 bpf: Remove config check to enable bpf support for branch records
    832d478ccd06 bpf: Disallow BPF_LOG_KERNEL log level for bpf(BPF_BTF_LOAD)
    2571173d3e11 bpf: Adjust BTF log size limit.
    d3c4b3c801c0 sched/fair: Fix per-CPU kthread and wakee stacking for asym CPU capacity
    00c10519538f sched/fair: Fix detection of per-CPU kthreads waking a task
    48419bc90e43 bpf: Fix the test_task_vma selftest to support output shorter than 1 kB
    35a89caf518e Bluetooth: btmtksdio: fix resume failure
    0cad9c0c81be staging: rtl8192e: rtllib_module: fix error handle case in alloc_rtllib()
    90d96a14c558 staging: rtl8192e: return error code from rtllib_softmac_init()
    ff732e9bf68b floppy: Fix hang in watchdog when disk is ejected
    31d60f528238 mtd: core: provide unique name for nvmem device
    aee7ef0305b1 serial: amba-pl011: do not request memory region twice
    7b54c975798d tty: serial: uartlite: allow 64 bit address
    aca61190ec82 arm64: dts: ti: k3-j7200: Correct the d-cache-sets info
    1e2847f9d910 arm64: dts: ti: k3-j721e: Fix the L2 cache sets
    f1f0039956fb arm64: dts: ti: k3-j7200: Fix the L2 cache sets
    10d3b165877f arm64: dts: ti: k3-am642: Fix the L2 cache sets
    2efa4dd4600d crypto: caam - save caam memory to support crypto engine retry mechanism.
    db3c2121d191 libbpf: Clean gen_loader's attach kind.
    e833ef0b545e drm/radeon/radeon_kms: Fix a NULL pointer dereference in radeon_driver_open_kms()
    1e22b51876fa drm/amdgpu: Fix a NULL pointer dereference in amdgpu_connector_lcd_native_mode()
    4c12feec2dfd thermal/drivers/imx8mm: Enable ADC when enabling monitor
    68bf3b2f95ee ACPI: EC: Rework flushing of EC work while suspended to idle
    1fb3838db45c cgroup: Trace event cgroup id fields should be u64
    2d93f960dc7e drm/vmwgfx: Fail to initialize on broken configs
    a6f53731f3bb drm/vmwgfx: Remove the deprecated lower mem limit
    4aa40bf38f71 arm64: dts: qcom: msm8916: fix MMC controller aliases
    0c1cf578a882 powerpc: Avoid discarding flags in system_call_exception()
    f38d669aab33 netfilter: bridge: add support for pppoe filtering
    3f32b8ca8e26 igc: AF_XDP zero-copy metadata adjust breaks SKBs on XDP_PASS
    94821ce188c2 thermal/drivers/imx: Implement runtime PM support
    b588858c09a5 net: stmmac: Add platform level debug register dump feature
    0bc65fcb2b89 media: venus: core: Fix a resource leak in the error handling path of 'venus_probe()'
    4a8a8ff65293 media: venus: core: Fix a potential NULL pointer dereference in an error handling path
    e0d8c693a9d2 media: venus: correct low power frequency calculation for encoder
    64bfc5673415 media: coda: fix CODA960 JPEG encoder buffer overflow
    b85906f919ea media: hantro: Hook up RK3399 JPEG encoder output
    a49171d86d5e media: mtk-vcodec: call v4l2_m2m_ctx_release first when file is released
    893a766ac8fe media: si470x-i2c: fix possible memory leak in si470x_i2c_probe()
    b38f3570f909 media: imx-pxp: Initialize the spinlock prior to using it
    92cb150c3ec8 media: rcar-csi2: Correct the selection of hsfreqrange
    842a24066653 media: i2c: ov8865: Fix lockdep error
    9a11fe9e4467 media: i2c: Re-order runtime pm initialisation
    adf57b861e7f media: i2c: imx274: fix s_frame_interval runtime resume not requested
    300b973af40f libbpf: Silence uninitialized warning/error in btf_dump_dump_type_data
    162bc7bd73a1 bfq: Do not let waker requests skip proper accounting
    6b6e7150c18b mfd: atmel-flexcom: Use .resume_noirq
    8aa5209e54aa mfd: atmel-flexcom: Remove #ifdef CONFIG_PM_SLEEP
    1b1620dd224b tty: serial: atmel: Call dma_async_issue_pending()
    d249a70251ce tty: serial: atmel: Check return code of dmaengine_submit()
    32307d1b94ae arm64: dts: ti: k3-j721e: correct cache-sets info
    920e0e6f0e39 ath11k: Use host CE parameters for CE interrupts configuration
    72b905fb39f0 crypto: qat - fix undetected PFVF timeout in ACK loop
    348210fd7765 crypto: qat - make pfvf send message direction agnostic
    6c58dd967389 crypto: qat - remove unnecessary collision prevention step in PFVF
    ef89212783a2 libbpf: Fix using invalidated memory in bpf_linker
    9b616ae0bf98 libbpf: Fix glob_syms memory leak in bpf_linker
    f8ca67f3fc9e libbpf: Fix potential misaligned memory access in btf_ext__new()
    ae38d3144324 ARM: dts: stm32: fix dtbs_check warning on ili9341 dts binding on stm32f429 disco
    9f670292c080 cpufreq: qcom-hw: Fix probable nested interrupt handling
    929205dc3a0f cpufreq: qcom-cpufreq-hw: Update offline CPUs per-cpu thermal pressure
    5d39cd2059ba mtd: hyperbus: rpc-if: fix bug in rpcif_hb_remove
    869eee39b330 arm64: dts: qcom: sc7280: Fix incorrect clock name
    38a721f60926 crypto: qce - fix uaf on qce_skcipher_register_one
    561030c55120 crypto: qce - fix uaf on qce_ahash_register_one
    cf984b11cdec crypto: qce - fix uaf on qce_aead_register_one
    cb353b688464 crypto: atmel-aes - Reestablish the correct tfm context at dequeue
    4d6a558bde10 media: dmxdev: fix UAF when dvb_register_device() fails
    87a413e3d8c9 arm64: dts: renesas: cat875: Add rx/tx delays
    7bce20277784 drm/vboxvideo: fix a NULL vs IS_ERR() check
    56339a5546a7 drm/dp: Don't read back backlight mode in drm_edp_backlight_enable()
    25f2b49f65c6 fs: dlm: fix build with CONFIG_IPV6 disabled
    815570353f6b tee: fix put order in teedev_close_context()
    d46f937233b1 spi: hisi-kunpeng: Fix the debugfs directory name incorrect
    50dab89c25dd ath11k: reset RSN/WPA present state for open BSS
    4ca3ffff349f ath11k: clear the keys properly via DISABLE_KEY
    dff606fc5068 ath11k: Fix ETSI regd with weather radar overlap
    2de0e6a71ceb Bluetooth: stop proccessing malicious adv data
    63811bf4f572 memory: renesas-rpc-if: Return error in case devm_ioremap_resource() fails
    dba0aea5727c fs: dlm: don't call kernel_getpeername() in error_report()
    ba43bd2be16b arm64: dts: meson-gxbb-wetek: fix missing GPIO binding
    0a7dd2ec89b2 arm64: dts: meson-gxbb-wetek: fix HDMI in early boot
    74ad053d7338 arm64: dts: amlogic: Fix SPI NOR flash node name for ODROID N2/N2+
    3cebbcbf9198 arm64: dts: amlogic: meson-g12: Fix GPU operating point table node name
    82515555873e media: aspeed: Update signal status immediately to ensure sane hw state
    85d5345bd861 media: em28xx: fix memory leak in em28xx_init_dev
    c4f0f1608727 media: aspeed: fix mode-detect always time out at 2nd run
    7fd4b0e18903 media: atomisp: fix uninitialized bug in gmin_get_pmic_id_and_addr()
    37d7ebf0179b media: atomisp: fix enum formats logic
    a030bcd96ef4 media: atomisp: add NULL check for asd obtained from atomisp_video_pipe
    124fd314c5fe media: atomisp: fix ifdefs in sh_css.c
    0224641992e1 media: atomisp: fix inverted error check for ia_css_mipi_is_source_port_valid()
    4de485f6d5fe media: atomisp: do not use err var when checking port validity for ISP2400
    b7033740e367 media: atomisp: fix inverted logic in buffers_needed()
    bb8ac1ec5a82 media: atomisp: fix punit_ddr_dvfs_enable() argument for mrfld_power up case
    6c3547e103e4 media: atomisp: add missing media_device_cleanup() in atomisp_unregister_entities()
    26e8cd84d7d2 media: videobuf2: Fix the size printk format
    6b3a83a450dd mtd: hyperbus: rpc-if: Check return value of rpcif_sw_init()
    77d19bad301f bpftool: Fix memory leak in prog_dump()
    9f3cbc3ba5ad ath11k: Send PPDU_STATS_CFG with proper pdev mask to firmware
    26b9d4ac42ab wcn36xx: fix RX BD rate mapping for 5GHz legacy rates
    3913db56e471 wcn36xx: populate band before determining rate on RX
    d97aa008ebc0 wcn36xx: Put DXE block into reset before freeing memory
    514c1df9dfa9 wcn36xx: Release DMA channel descriptor allocations
    8da7a0e26c4a wcn36xx: Fix DMA channel enable/disable cycle
    a3ec2b9456eb libbpf: Free up resources used by inner map definition
    620a2ee55059 drm/vc4: hdmi: Enable the scrambler on reconnection
    23d2c4eb76d6 wcn36xx: Indicate beacon not connection loss on MISSED_BEACON_IND
    a33fc07affe5 wcn36xx: ensure pairing of init_scan/finish_scan and start_scan/end_scan
    8c3830446ccc drm/vc4: crtc: Make sure the HDMI controller is powered when disabling
    2bba39feaa3e drm/vc4: hdmi: Rework the pre_crtc_configure error handling
    a26aa0f3982f drm/vc4: hdmi: Make sure the controller is powered up during bind
    e3e8f46f36e0 drm/vc4: hdmi: Make sure the controller is powered in detect
    b9b1fbe61ff1 drm/vc4: hdmi: Move the HSM clock enable to runtime_pm
    2d717d822675 drm/vc4: hdmi: Set a default HSM rate
    49b570f5d2e4 clk: bcm-2835: Remove rounding up the dividers
    2ff7b32f6b3e clk: bcm-2835: Pick the closest clock rate
    d2e7a4d20f7c Bluetooth: cmtp: fix possible panic when cmtp_init_sockets() fails
    1f2270e161f9 Bluetooth: virtio_bt: fix memory leak in virtbt_rx_handle()
    f28d819f17d3 drm/rockchip: dsi: Reconfigure hardware on resume()
    506bae94333b drm/rockchip: dsi: Disable PLL clock on bind error
    4f005cef1d5a drm/rockchip: dsi: Hold pm-runtime across bind/unbind
    dd0ed218c0bf drm/rockchip: dsi: Fix unbalanced clock on probe error
    1a943d8ad9c0 drm/panel: innolux-p079zca: Delete panel on attach() failure
    92082e300373 drm/panel: kingdisplay-kd097d04: Delete panel on attach() failure
    52e1bf49e3e2 drm: fix null-ptr-deref in drm_dev_init_release()
    11182d953e64 drm/bridge: display-connector: fix an uninitialized pointer in probe()
    6c1ad4aeeab4 Bluetooth: L2CAP: Fix not initializing sk_peer_pid
    0da09030aae4 drm/ttm: Put BO in its memory manager's lru list
    19f76690fe68 shmem: fix a race between shmem_unused_huge_shrink and shmem_evict_inode
    6292bd6f654e ath11k: add string type to search board data in board-2.bin for WCN6855
    e363ab335751 mm/page_alloc.c: do not warn allocation failure on zone DMA if no managed pages
    bcf64fb327c8 dma/pool: create dma atomic pool only if dma zone has managed pages
    240e8d331a9b mm_zone: add function to check if managed dma zone exists
    55bd26fd08da PCI: Add function 1 DMA alias quirk for Marvell 88SE9125 SATA controller
    484654a6f6ed dma_fence_array: Fix PENDING_ERROR leak in dma_fence_array_signaled()
    03e964ad35ac virtio/virtio_mem: handle a possible NULL as a memcpy parameter
    b9a524d6ec03 drm/tegra: Add back arm_iommu_detach_device()
    3ff8942bb8ab gpu: host1x: Add back arm_iommu_detach_device()
    03c8e18f3c14 iommu/io-pgtable-arm-v7s: Add error handle for page table allocation failure
    bed344b54daa ARM: dts: at91: update alternate function of signal PD20
    c77a4529ca38 arm64: errata: Fix exec handling in erratum 1418040 workaround
    181c78d6c12d cxl/pmem: Fix reference counting for delayed work
    bc95dbf5502c bus: mhi: core: Fix race while handling SYS_ERR at power up
    c8aa11642478 bus: mhi: core: Fix reading wake_capable channel configuration
    2075d9f4fdc5 bus: mhi: pci_generic: Graceful shutdown on freeze
    acb5a8bee27b lkdtm: Fix content of section containing lkdtm_rodata_do_nothing()
    a18aeac73c0f iio: trigger: Fix a scheduling whilst atomic issue seen on tsc2046
    5c397420c0e2 iio: adc: ti-adc081c: Partial revert of removal of ACPI IDs
    702c89045230 mei: hbm: fix client dma reply status
    697c41375739 can: softing_cs: softingcs_probe(): fix memleak on registration failure
    61eb4ad9ae46 media: cec-pin: fix interrupt en/disable handling
    1baebfdf19b0 media: stk1160: fix control-message timeouts
    b208a386572a media: pvrusb2: fix control-message timeouts
    8b8dbc22b9f7 media: redrat3: fix control-message timeouts
    821e5abd2198 media: dib0700: fix undefined behavior in tuner shutdown
    4e56a231210f media: s2255: fix control-message timeouts
    15955a24fa8e media: cpia2: fix control-message timeouts
    198e0c619f46 media: em28xx: fix control-message timeouts
    2516fab22e65 media: mceusb: fix control-message timeouts
    a16e2eff80fa media: flexcop-usb: fix control-message timeouts
    1bde26972360 media: v4l2-ioctl.c: readbuffers depends on V4L2_CAP_READWRITE
    9aaf99b4a8b0 media: ov8865: Disable only enabled regulators on error path
    a0d6e64b3413 media: cec: fix a deadlock situation
    8202aa60f077 ksmbd: add reserved room in ipc request/response
    d7004f0cc4a7 ksmbd: limits exceeding the maximum allowable outstanding requests
    0aadd32bebc9 ksmbd: move credit charge deduction under processing request
    40fc68aeeb24 ksmbd: add support for smb2 max credit parameter
    0a8347db70a6 ksmbd: fix guest connection failure with nautilus
    bbba4a0b8efa ksmbd: uninitialized variable in create_socket()
    893dfb14cac1 net: phy: marvell: add Marvell specific PHY loopback
    e428c89717ff rtc: cmos: take rtc_lock while reading from CMOS
    9899cea59121 tools/nolibc: fix incorrect truncation of exit code
    72191715afee tools/nolibc: i386: fix initial stack alignment
    9dc4c4e19084 crypto: x86/aesni - don't require alignment of data
    132cb7f64697 tools/nolibc: x86-64: Fix startup code bug
    850bc1262a2b x86/gpu: Reserve stolen memory for first integrated Intel GPU
    07c1c8e3202e riscv: mm: fix wrong phys_ram_base value for RV64
    a2389e4f54e5 riscv: use hart id instead of cpu id on machine_kexec
    b9f3e769ecf5 riscv: Don't use va_pa_offset on kdump
    9550c6f0b2a6 riscv: try to allocate crashkern region from 32bit addressible memory
    1402857bf15f RISC-V: Use common riscv_cpuid_to_hartid_mask() for both SMP=y and SMP=n
    6250ecf5ba42 riscv: Get rid of MAXPHYSMEM configs
    cee8830146cf mtd: rawnand: ingenic: JZ4740 needs 'oob_first' read page function
    abf8c8712b6d mtd: rawnand: Export nand_read_page_hwecc_oob_first()
    26aa92a7f931 mtd: rawnand: davinci: Rewrite function description
    3f5eb2d89032 mtd: rawnand: davinci: Avoid duplicated page read
    eebc910e09d4 mtd: rawnand: davinci: Don't calculate ECC when reading page
    5794c37d2a98 mtd: Fixed breaking list in __mtd_del_partition.
    bb969ffe1d0e mtd: rawnand: gpmi: Remove explicit default gpmi clock setting for i.MX6
    0fe08bf9909f mtd: rawnand: gpmi: Add ERR007117 protection for nfc_apply_timings
    f4dfc52a1eab nfc: llcp: fix NULL error pointer dereference on sendmsg() after failed bind()
    c9cd02cb7a26 f2fs: avoid EINVAL by SBI_NEED_FSCK when pinning a file
    dd88a805d2d0 f2fs: fix to do sanity check in is_alive()
    0ddbdc0b7f0c f2fs: fix to do sanity check on inode type during garbage collection
    7f6e3cbbd600 ALSA: core: Fix SSID quirk lookup for subvendor=0
    8877331177de HID: wacom: Avoid using stale array indicies to read contact count
    c965ad71a05d HID: wacom: Ignore the confidence flag when a touch is removed
    f9f16383d596 HID: wacom: Reset expected and received contact counts at the same time
    6a4ec6f2429e HID: uhid: Fix worker destroying device without any protection
    47b5c189d6a4 HID: Ignore battery for Elan touchscreen on HP Envy X360 15t-dr100
    91b7cbea9efc KVM: VMX: switch blocked_vcpu_on_cpu_lock to raw spinlock
    a88ebc49c633 KVM: x86/mmu: Fix write-protection of PTs mapped by the TDP MMU

(From OE-Core rev: ee26b8e6baa824a2e7b4d18dbe302a124e68839f)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-10 10:32:07 +00:00
Bruce Ashfield
83220a6153 linux-yocto-dev: update to v5.17+
Bumping the -dev kernel to v5.17 to test the latest upstream
kernel.

(From OE-Core rev: c75b6116fae479abd2dbf0d5950e38a0b31b1832)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-10 10:32:07 +00:00
Bruce Ashfield
c45ed6eda9 lttng-modules: fix build against v5.17+
To fix the build against v5.17+ kernels, we backport 7 patches
from the lttng-modules upstream repository.

If a 2.13.2 lttng-modules release is done before the upcoming
release, we'll obviously drop these patches.

(From OE-Core rev: 4783a0fd9f86a0247a44b07bdb7e733e57c6664f)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-10 10:32:07 +00:00
Bruce Ashfield
c4fa1d994e qemuarm64: Add tiny ktype to qemuarm64 bsp
Integrating the following commit(s) to linux-yocto/.:

    cf716c58bea qemuarm64: Add tiny ktype to qemuarm64 bsp

(From OE-Core rev: b3962185d4278840193b8af9eff386860e8e5666)

Signed-off-by: Alejandro Enedino Hernandez Samaniego <alhe@linux.microsoft.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-10 10:32:07 +00:00
Khem Raj
437b7fcfe3 meta: Remove libsegfault and catchsegv
Glibc has dropped them starting with 2.35 see [1]

[1] https://sourceware.org/git/?p=glibc.git;a=commit;h=65ccd641bacea33be23d51da737c2de7543d0f5e

(From OE-Core rev: 95c61d834596263ab1dd1fb1f8c8dbcc9104a935)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-10 10:32:07 +00:00
Richard Purdie
a8b7d51cce glibc: Upgrade to 2.35
Package /usr/bin/ld.so in a separate package

ld.so is a new tool which is added as a symlink to original dynamic
linker so make it available with same name across architectures which is
useful to leveral features like  --preload, --audit, and --list-diagnostics
more accessible to end users

(From OE-Core rev: 2658dcbcfc3db814af1ee104303effc1b6cfa489)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-10 10:32:07 +00:00
Ross Burton
632565fb1c newlib: fix license checksums
COPYING.LIBGLOSS simply had the FSF street address change.

COPYING.NEWLIB now includes BSD-3-Clause.

(From OE-Core rev: 78080015b7d83f46770be718a22ffcfedd15daf2)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-09 13:08:57 +00:00
Alexander Kanavin
b622b02adc sstate: additional debugging when fetch fails occur
Autobuilder has been showing things like:
Checking sstate mirror object availability...ERROR: SState: cannot test file://universal/d9/bc/sstate:xz-native:x86_64-linux:5.2.5:r0:x86_64:8:d9bced04b194d5fc8d778eb8a0d674fa7375a42c8c50a9237e6d7672e9e7a00c_deploy_source_date_epoch.tar.zst: TimeoutError('timed out')
ERROR: SState: cannot test file://37/a0/sstate:libgcc-initial:core2-64-poky-linux:11.2.0:r0:core2-64:8:37a0a5aec105a0822df098f15ff2b67d0e7220204742b5d2b1f7958dda6fa5ce_deploy_source_date_epoch.tar.zst: TimeoutError('timed out')
ERROR: SState: cannot test file://universal/11/a4/sstate:libpciaccess-native:x86_64-linux:0.16:r0:x86_64:8:11a4d6c3a2e147ef7dd5f31c0ff2a91271dad49b561d8aa24849115081cf1842_deploy_source_date_epoch.tar.zst: TimeoutError('timed out')
done.

which is not helpful. To find out what really happened and where, the original
traceback is needed too.

(From OE-Core rev: 80a9052221fb2a12e7c652f2d1764101202fdb90)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-08 14:20:18 +00:00
Alexander Kanavin
81cfa7d0e0 python3-numpy: update 1.22.1 -> 1.22.2
Replace an ad hoc fix via patch with an upstream one.

(From OE-Core rev: 991f8617b9ca9680b3f81cb215e3b39095260e7c)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-08 14:20:18 +00:00
Alexander Kanavin
a39d3f2ed7 llvm: update 12.0.1 -> 13.0.1
(From OE-Core rev: 99132e1163dd32168be3d02d27ce056b27f948b2)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-08 14:20:18 +00:00
Alexander Kanavin
18f165c9e8 insane.bbclass: use multiprocessing for collecting 'objdump -p' output
This was prompted by ltp's unreasonably long package_qa times; it has
a massive amount of executables and insane runs objdump for all of
them, serially.

This reduces the time from 4 minutes to 1m20s on my machine.

(From OE-Core rev: fac984b99fdb46949879516cb87153860f402c75)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-08 14:20:18 +00:00
Jose Quaresma
1dfdf2bb92 gst-devtools: upgrade 1.18.5 -> 1.20.0
- Add new meson options

(From OE-Core rev: 0b00410161e3a0d3c9a9631ae3544f42e36cc1b7)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-08 14:20:18 +00:00
Jose Quaresma
1d89e68c22 gstreamer1.0-python: upgrade 1.18.5 -> 1.20.0
- Add new meson options

(From OE-Core rev: 31e41c11f987c7975a4cdf73657330bc0810962e)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-08 14:20:18 +00:00
Jose Quaresma
5842a93c14 gstreamer1.0-omx: upgrade 1.18.5 -> 1.20.0
(From OE-Core rev: d36ba8fa5b0f6ad89b77a6e792a978a41e4cad4b)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-08 14:20:18 +00:00
Jose Quaresma
c69aa2a6f5 gstreamer1.0-vaapi: upgrade 1.18.5 -> 1.20.0
(From OE-Core rev: c9a1feccdf55cbdf8473da47233291a695af5459)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-08 14:20:18 +00:00
Jose Quaresma
2ee8da4ccd gstreamer1.0-libav: upgrade 1.18.5 -> 1.20.0
- License update:
  The code actually is LGPLv2.1 but the COPYING file is wrong.
  678773bb64

- Drop backported patches
  0001-gst-libav-fix-build-with-ffmpeg-5.0.0.patch

- Add new meson options

(From OE-Core rev: db058e8a8bad0d98f908062871832cc6824deaf2)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-08 14:20:18 +00:00
Jose Quaresma
4bfc363af0 gstreamer1.0-rtsp-server: upgrade 1.18.5 -> 1.20.0
- License update:
  The code actually is LGPLv2.1 but the COPYING file is wrong.
  cc5cdab016

(From OE-Core rev: 453e72430cba0c4b78b95c6f0f792320e787b890)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-08 14:20:18 +00:00
Jose Quaresma
94994e66c9 gstreamer1.0-plugins-ugly: upgrade 1.18.5 -> 1.20.0
- Add new meson options
  gpl: Allow build plugins that have GPL-licensed dependencies
   a52dec: Dolby Digital (AC-3) audio decoder plugin based on liba52 (GPL - only built if gpl option is also enabled!)
   cdio: CD audio source plugin based on libcdio (GPL - only built if gpl option is also enabled!)
   dvdread: DVD video source plugin based on libdvdread (GPL - only built if gpl option is also enabled!)
   mpeg2dec: MPEG 2 video decoder plugin based on libmpeg2 (GPL - only built if gpl option is also enabled!)
   x264: H.264 video encoder plugin based on libx264 (GPL - only built if gpl option is also enabled!)

(From OE-Core rev: a4cac596625062cd22bd15079618d1310ad97673)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-08 14:20:18 +00:00
Jose Quaresma
1197b1c5ed gstreamer1.0-plugins-bad: upgrade 1.18.5 -> 1.20.0
- Remove meson options
  libmms
  ofa

- Add new meson options
  gpl: Allow build plugins that have GPL-licensed dependencies
   faad: Free AAC audio decoder plugin (GPL - only built if gpl option is also enabled!)
   resindvd: Resin DVD playback plugin (GPL - only built if gpl option is also enabled!)
   x265: HEVC/H.265 video encoder plugin (GPL - only built if gpl option is also enabled!)

- Add new meson options
  Feature options for plugins without external deps
   codecalpha
   aes: AES encryption/decryption plugin

  Feature options for plugins that need external deps
   asio: Steinberg Audio Streaming Input Output (ASIO) plugin
   gs: Google Cloud Storage source and sink plugin
   ldac: LDAC bluetooth audio codec plugin
   openaptx: Open Source implementation of Audio Processing Technology codec (aptX) plugin
   qroverlay: new elements that allow overlaying data on top of video in the form of a QR code
   onnx: ONNX neural network plugin

(From OE-Core rev: 76433d3628cbad311b428a57b25b4e2701ee513b)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-08 14:20:18 +00:00
Jose Quaresma
7f4bd6e984 gstreamer1.0-plugins-good: upgrade 1.18.5 -> 1.20.0
(From OE-Core rev: dea59f10285d364e8aa4c9dba51f181e192b2b6a)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-08 14:20:18 +00:00
Jose Quaresma
ebb54be94c gstreamer1.0-plugins-base: upgrade 1.18.5 -> 1.20.0
- License update:
  The code actually is LGPLv2.1 but the COPYING file is wrong.
  e5382fe84c

- Drop unneed patches
  0004-glimagesink-Downrank-to-marginal.patch

- Add new meson options
  qt5 is needed to build some tests
   tests/examples/gl/qt/meson.build
   tests/examples/overlay/meson.build

(From OE-Core rev: 75891f361f3e9df9fc3e97c720a2ae57dda75888)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-08 14:20:18 +00:00
Jose Quaresma
7db915b98d gstreamer1.0: upgrade 1.18.5 -> 1.20.0
- License update:
  The code actually is LGPLv2.1 but the COPYING file is wrong.
  d157b23fb0

- Drop backported patches
  0001-gst-gstpluginloader.c-when-env-var-is-set-do-not-fal.patch
  0002-Remove-unused-valgrind-detection.patch
  0003-tests-seek-Don-t-use-too-strict-timeout-for-validati.patch

- Update submitted patches
  0001-tests-respect-the-idententaion-used-in-meson.patch
  0002-tests-add-support-for-install-the-tests.patch
  0003-tests-use-a-dictionaries-for-environment.patch
  0004-tests-add-helper-script-to-run-the-installed_tests.patch

(From OE-Core rev: 366b33dc94b056899ce8c5736be15c70d2e94626)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-08 14:20:18 +00:00
Jose Quaresma
bdaf6cdaaa shaderc: upgrade 2021.4 -> 2022.0
- Update to Glslang 11.8.0

(From OE-Core rev: f82c2e9cc9037df6a2f43a3ce385985804758478)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-08 14:20:18 +00:00
Jose Quaresma
bccddd8668 shaderc: upgrade 2021.3 -> 2021.4
- Support Vulkan 1.3
- Support targeting SPIR-V 1.6, which is the default for Vulkan 1.3
- Updated copyright check: Excludes Glslang generated files when
  building in source tree
- Fix Android.mk rules for building libshaderc_combined, to adapt to more
  recent NDKs that have removed the GNU binutils.

(From OE-Core rev: 638adda55af439db8917d22a335d461269a1f57a)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-08 14:20:18 +00:00
Jose Quaresma
8ca43999cd glslang: upgrade 11.7.1 -> 11.8.0
* Add support for SPIR-V 1.6
* Add support for Vulkan 1.3
* Add --hlsl-dx-position-w option

Update LICENSE.txt
- Expand the GPL 3 with special bison exception to the fully expanded license.

(From OE-Core rev: 2e76ddc70b3f3b7c40c61eab3945dfc883ffd6ad)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-08 14:20:18 +00:00
Jose Quaresma
157276b663 spirv-tools: upgrade 2021.4 -> 2022.1
- General
 - Add SPIR-V 1.6 support to wasm build (#4674)
 - Improvements to disassembly within PassManager (#4677)
 - Basic support for SPIR-V 1.6 (#4663)
 - reflect debug (#4662)
 - Fix endianness of string literals (#4622)
- Optimizer
 - spirv-opt: add pass to Spread Volatile semantics (#4667)
 - Fix constant propagation and folding of FClamp instructions (#4651)
 - Manually fold floating point division by zero (#4637)
 - Allow ADCE to remove dead inputs (#4629)
- Linker
 - Linker improvements (#4679)
   * test/linker: Code factorisation and small tweaks
   * linker: Do not fail when going over limits
- Validator
  - val: interface struct with builtins must be Block (#4665)
- Fuzzer
  - Avoid id bound errors during opt fuzzing (#4658)
  - Avoid uninitialised read when parsing hex float (#4646)

b1877de5cd/CHANGES

(From OE-Core rev: 17cfdd9e5193074d15ccdaff49dc76b3dc1904ab)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-08 14:20:18 +00:00
Jose Quaresma
fd20e7e66d spirv-headers: bump to b42ba6
(From OE-Core rev: 0add0aca1c5fe292d0993131a46c7448bfcc0596)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-08 14:20:18 +00:00
Jose Quaresma
379519795a icecc.bbclass: replace deprecated bash command substitution
- build some packages with icecc enabled is not supported
  because of the folling that disables the icecc:

  DEBUG: while parsing set_icecc_env, unable to handle non-literal command '$ICECC_CC'

- it can be replicated with:

 bitbake make && bitbake make -c cleansstate && bitbake make -DD
 grep ICECC_CC tmp/log/cooker/qemux86-64/console-latest.log

- bash command substitution backquote deprecated

 https://www.gnu.org/software/bash/manual/html_node/Command-Substitution.html
 https://mywiki.wooledge.org/BashFAQ/082

(From OE-Core rev: b4e3983f38af5a5484b33de43449ae85b7e4f104)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-08 14:20:18 +00:00
Kai Kang
efa450bfbf toolchain-scripts.bbclass: use double quotes for exported PS1
Use double quotes("") rather than single quotes('') for PS1 in
EXPORT_SDK_PS1 which will be exported in SDK environment file. Then it
could set PS1 for SDK env with some variables in host env, such as the
original PS1. The SDK PS1 could be some distinct words plus original PS1
rather than replace the whole original PS1. For example, it could set in
local.conf with

SDK_PS1 = "(oesdk) \${PS1}"

then it just prepends '(oesdk) ' before original PS1 after source the
SDK environment file.

(From OE-Core rev: e13e657dabcabd97f50794e7375777ef5ad883c8)

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-08 14:20:18 +00:00
Chen Qi
0d4392fbb3 mdadm: install mdcheck
This script is used in mdcheck_xxx.service files. So we need to
install it. Also, as it requires bash, we add bash to RDEPENDS.

(From OE-Core rev: 0942b161252fc70c65d46754b44bfebe75cf8c09)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-08 14:20:18 +00:00
Alexander Kanavin
a7f7161ff4 git: restore reproducibility on centos 7
(From OE-Core rev: edeb2a1a4cfd16706da6815af198d133a94b5ac6)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-08 14:20:18 +00:00
Alexander Kanavin
0f82f85dc9 runqemu: preload uninative libraries when host gl drivers are in use
Some of the host distributions build the drivers in a way (RPATH/RUNPATH)
that tricks uninative loader into loading pieces of the host libc, if
the same pieces haven't been previously loaded by native binaries. Mixing
the two libc versions leads to failures.

This change ensures that the correct (uninative) versions are always in use.

(From OE-Core rev: 39c10816d5ec9d9c7952d786d7a3f942d25d0c27)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-07 10:08:59 +00:00
Alexander Kanavin
276975e4ea qemu: replace a gtk wrapper with directly setting environment from runqemu
The wrapper is executed by host bash, and host bash refuses to run
when pseudo libc is preloaded via LD_PRELOAD (which is the case
when gl is enabled).

Only the fontconfig setting is carried over as local testing showed that
only that is necessary for the gui to look ok nowadays; adjust further
if necessary.

(From OE-Core rev: 34f152de14f803fcfe5c92c515bf585838bba10a)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-07 10:08:59 +00:00
Richard Purdie
1dfa8537a3 binutils: Add fix for CVE-2021-45078
Backport a fix for CVE-2021-45078.

(From OE-Core rev: f3128fd1b2e5cbf3683dc69eabc56fbc0bd0e7d5)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-07 10:08:59 +00:00
Richard Purdie
2ef6fddc98 vim: Upgrade 4269 -> 4134
License text underwent changes on how to submit Uganda donations, switch from http
to https urls and an update date change but the license itself is unchanged.

Also, add an entry for the top level license file. This is also the vim license
so LICENSE is unchanged but we should monitor it too.

(From OE-Core rev: d195005e415b0b2d7c8b0b65c0aef888d4d6fc8e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-07 10:08:59 +00:00
Pavel Zhukov
8b56936996 systemd: enable KeepConfiguration= when running on network filesystem
This fix boot from NFS for systemd enabled systems. Previously
systemd-networkd dropped network configuration on exit from initrd even
if there're NFS mount.

[YOCTO #14708]

(From OE-Core rev: afb6b1625a43d64eba090f0f4c5e231d87df7833)

Signed-off-by: Pavel Zhukov <pavel.zhukov@huawei.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-07 10:08:59 +00:00
Joshua Watt
d366a1a223 spdx: Add set helper for list properties
This adds the set helper for list properties to allow list members to be
replaced with a new list. This is necessary as it is (currently) the
only way to replace the default value for a list member.

(From OE-Core rev: 8280b857c510646cd10167dd2ea9a0c2d5f1e800)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-07 10:08:59 +00:00
Florian Amstutz
555f9166bf devtool: deploy-target: Remove stripped binaries in pseudo context
deploy-target may fail the second time with "pseudo abort" because
devtool-deploy-target-stripped is deleted outside of pseudo's fakeroot
context.

(From OE-Core rev: 2338a33b690b0bbe279cde3f73764911b239cb50)

Signed-off-by: Florian Amstutz <florian.amstutz@scs.ch>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-07 10:08:59 +00:00
Ross Burton
56fe6d575e common-licences: remove ambiguous "BSD" license
Our "BSD" license is the 3-clause BSD license, but many recipes were
using "BSD" for any variation of the license.

We've mostly moved recipes away from the vague "BSD" license to concrete
names such as "BSD-3-Clause", so delete the BSD license to force the
remaining users to update their license statements.

[ YOCTO #14539 ]

(From OE-Core rev: 14d4c007c49652d836d325a12bdbcd3bfa42e6d5)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-07 10:08:59 +00:00
Joshua Watt
a8351a214e classes/create-spdx: Remove unnecessary package
A superfluous package was being created, but it was never used.

(From OE-Core rev: ddfa61f691fc51c1968e8f1ff43f69dccd1632ee)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-07 10:08:59 +00:00
Joshua Watt
1f8137196d classes/create-spdx: Add packageSupplier field
Per NIST SBoM recommendations, include the Package Supplier field for
all SPDX packages that are created. This field should generally be set
to the person or organization that is performing the build, since they
would be considered the "supplier" of the SPDX packages.

(From OE-Core rev: ca48349501e0ec93dc2448d064e1567fca390bf5)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-07 10:08:59 +00:00
Alejandro Hernandez Samaniego
a97ef3f1d3 newlib: Upgrade 4.1.0 -> 4.2.0
(From OE-Core rev: 668445252fa96bd00ecdef1f610707a132eb35fc)

Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandro@enedino.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-07 10:08:59 +00:00
Stefan Herbrechtsmeier
c05a5ac3b7 systemd: Minimize udev package size if DISTRO_FEATURES doen't contain sysvinit
Link udev shared with systemd helper to minimize the udev package size
if DISTRO_FEATURES doesn't configure sysvinit to be used.

It is only usefull to link udev static with systemd helper if udev
should be installed without systemd such as a mixed sysvinit and systemd environment

[RP: Fixed to use sysvinit distro feature instead of systemd]
(From OE-Core rev: 061cae73e2617dff62962fac131ff62d401e500c)

Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-07 10:08:59 +00:00
Stefan Herbrechtsmeier
a9a70bde35 systemd: Add link-udev-shared PACKAGECONFIG
Add a PACKAGECONFIG to link systemd-udev and its helpers to
libsystemd-shared.so. If enabled the udev package depends on the systemd
package.

(From OE-Core rev: 2e854402a899c26e25bd0edc198b40fe45fc6c7d)

Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-07 10:08:59 +00:00
Stefan Herbrechtsmeier
272212c2cb cve-check: create directory of CVE_CHECK_MANIFEST before copy
Create directory of the CVE_CHECK_MANIFEST variable before copy to it,
so that the variable can use an arbitrary directory name.

(From OE-Core rev: 9829c16301bf2dce39fa046401a984f112fa0322)

Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-07 10:08:59 +00:00
Peter Kjellerstedt
bef3fe4969 bitbake: fetch2: npm: Put all downloaded files in the npm2 directory
Previously npm files that specify downloadfilename= in the SRC_URI
would be downloaded to the root of ${DL_DIR} rather than in the
${DL_DIR}/npm2 directory where all other npm files are downloaded.
This should make it simpler when setting up and configuring a
premirror with the downloaded npm packages.

(Bitbake rev: 73fa376d6502ab6f2cccfb25a1193d9b1c3c3bc8)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-05 17:46:44 +00:00
Peter Kjellerstedt
88993ae030 bitbake: fetch2: Correct handling of replacing the basename in URIs
The solution implementated in commit 96c30007 (fetch2: fix
downloadfilename issue with premirror) missed two corner cases. The
first is if the basename of the original URI also appears somewhere
else in the replacement URI, in which case it would also be replaced.
The second is if the basename of the original URI partially matches
the basename of the replacement URI, in which case the inital part of
the basename from the replacement URI would be left behind.

The second case caused test_npm_premirrors_with_specified_filename to
fail.

The solution is to prefix the basename with a slash when matching to
avoid partial matches, and only replace the basename at the end of the
URI.

This also adds two test cases that test for these problems. Before
this they would give the following errors:

  - ['file:///mirror/example/1.0.0/some-example-1.0.0.tgz;downloadfilename=some-example-1.0.0.tgz']
  + ['file:///mirror/some-example-1.0.0.tgz/1.0.0/some-example-1.0.0.tgz;downloadfilename=some-example-1.0.0.tgz']
  ?                  +++++       ++++++++++

  - ['file:///mirror/some-example-1.0.0.tgz;downloadfilename=some-example-1.0.0.tgz']
  + ['file:///mirror/some-some-example-1.0.0.tgz;downloadfilename=some-example-1.0.0.tgz']
  ?                  +++++

(Bitbake rev: 5924c6f007519cd8ea6cc8b316814d17b43048ca)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-05 17:46:44 +00:00
Peter Kjellerstedt
84963eb74a bitbake: tests/fetch: Make test_npm_premirrors work with the current fetcher
There are two totally opposite use cases for how a premirror is
expected to behave in combination with specifying a downloadfilename=
parameter in the SRC_URI. On the one hand there is the expectation
that it works like any other mirror, which means the premirror is
expected to contain a file with the original name specified in the
SRC_URI. On the other hand there is the expectation that one can use
the artefacts downloaded by bitbake in ${DL_DIR} as a premirror, in
which case it is expected to contain a file with the name from the
downloadfilename= parameter.

The latter case has been how downloaded files have been handled until
commit 8a3ff9f3 (fetch2: fix premirror URI when downloadfilename
defined), where the fetcher was changed to store files as per the
first case. This is also when the test_npm_premirrors test case was
modified in commit 5ba191a0 (tests/fetch: add and fix npm tests) to
expect the first case.

The above change was later reverted in commit 96c30007 (fetch2: fix
downloadfilename issue with premirror). However the
test_npm_premirrors test case was not updated to match, and has been
failing ever since. This has probably gone unnoticed because the npm
related test cases require that npm is installed on the host.

This commit updates test_npm_premirrors to expect that premirrors use
the filenames specified by downloadfilename= as this matches the
current fetcher implementation and also is the most likely use case
for premirrors. It also tries to mimic how one typically might setup
the premirror directory by simply copying the download directory.

(Bitbake rev: 9e913ade70474aaeb928814d4763e7105569d63a)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-05 17:46:44 +00:00
Peter Kjellerstedt
d715e9105f bitbake: tests/fetch: Only set the Git user name/email if they are not already set
If they are set, assume they are correct.

(Bitbake rev: a3a3a40b96c29051d97d0c96eb01784cbd1f5420)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-05 17:46:44 +00:00
Peter Kjellerstedt
d40357665f bitbake: tests/fetch: Unify how git commands are run
This unifies the three separate implementations of git() from
GitMakeShallowTest, GitShallowTest and GitLfsTest into one
implementation in FetcherTest. It also makes use of this in
FetcherLocalTest and FetcherNetworkTest.

(Bitbake rev: 8c8b418c3e6f8ab2535ad405e8006ee1012f3484)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-05 17:46:44 +00:00
Peter Kjellerstedt
c1117a8eaa bitbake: tests/fetch: Improve the verbose messages for skipped tests
This changes:

  test_foo .. skipped 'Network tests being skipped'
  test_foo .. skipped 'npm not installed, tests being skipped'

to:

  test_foo .. skipped 'network test'
  test_foo .. skipped 'npm not installed'

to avoid double "skipped" in the output.

(Bitbake rev: e551328a4595c220b94ab5002d978ddb4deeebcf)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-05 17:46:44 +00:00
Peter Kjellerstedt
803aff8136 bitbake: tests/fetch: Remove unnecessary \n from mirror variables
Since commit 044fb04d (fetch2: Allow whitespace only mirror entries)
there is no need to separate the entries in mirror variables with
"\n".

(Bitbake rev: ed22b078aae25e804ca5edf062e2c905d3e49426)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-05 17:46:44 +00:00
Peter Kjellerstedt
66a7541b4f bitbake: tests/fetch: Skip the crate tests if network tests are disabled
Both test_crate_url and test_crate_url_multi require Internet access.

(Bitbake rev: 34e9daed6a7f766bb6e27c7e02c94b545f4791d8)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-05 17:46:44 +00:00
Peter Kjellerstedt
63cebdc8e8 bitbake: bitbake-user-manual: Remove unnecessary \n from a PREMIRRORS example
Since commit 044fb04d (fetch2: Allow whitespace only mirror entries)
there is no need to separate the entries in PREMIRRORS with "\n".

(Bitbake rev: 341746c7f7b8e04d3fad51ec1b9e462ced355bfc)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-05 17:46:44 +00:00
Pavel Zhukov
89ea828861 systemd: allow to create directory whose path contains symlink
Systemd version 250 has a regression which blocks mountd service from
creating subdirectories if path contains symlink. This blocks bind
mounts under /var/run, /lib for example.

Bug-Url: https://github.com/systemd/systemd/issues/22334

(From OE-Core rev: 10f952f4a49ee340f3404df10e9309f90e0c58ab)

Signed-off-by: Pavel Zhukov <pavel.zhukov@huawei.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-05 17:46:05 +00:00
Ross Burton
8463a37d70 yocto-check-layer: check for duplicate layers when finding layers
detect_layers() is very greedy and if it recurses into poky or bitbake
it will find the test suite layers, such as
bitbake/lib/layerindexlib/tests/testdata/layer4. This is a dummy layer
which claims to be openembedded-layer, so if the real openembedded-layer
is a dependency then layer4 may be used instead, which will cause
errors: initially because it's only compatible with Sumo, but later
because it doesn't contain any recipes.

Add a check that the set of layers we've found doesn't contain any
duplicate collection names with different patterns, and abort if that is
the case as the test will be non-deterministic.

(From OE-Core rev: 0df4bae4ec67d38442620fa08c839528b425e2a8)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-05 17:46:05 +00:00
Daniel Müller
2b3ae4d1ab scripts/runqemu-ifdown: Don't treat the last iptables command as special
The runqemu-ifup script performs a bunch of setup steps that
runqemu-ifdown attempts to undo later on. While a bunch of said setup
operations are considered fatal should they fail, the iptables based NAT
setup notably is not.
The tear down procedure in runqemu-ifdown, however, has the iptables
based tear down as the last operation, with the status of it determining
the overall status of the script. Hence, if this step fails, the script
is considered a failure overall. That is arguably inconsistent: If the
NAT setup did not succeed, the tear down cannot succeed either.
To ensure similarity of the two paths, let's not treat the last iptables
tear down operation any special and allow it to fail the runqemu-ifdown
script, but just ignore failures.

Background: we have seen a NAT related setup problem on the ifup path
(which didn't cause script failure), but then saw an issue bubbled up
when this operation was meant to be undone on the ifdown path.

(From OE-Core rev: 0ebcfb034bcad81efef5f746f0aa0b69772901a0)

Signed-off-by: Daniel Müller <muellerd@fb.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-05 17:46:05 +00:00
Saul Wold
254fbcf614 recipetool: Fix circular reference in SRC_URI
When creating a new recipe.bb file for a binary, don't use BP which
includes the version information, instead use BPN which is just the
name base Package Name.

Since PB is not specified, it takes the default:
PV = "1.0+git${SRCPV}"

But SRCPV is defined in terms of the SRC_URI, which leads to infinite
recursion (traceback below). Here are the pertinent variables which
cause the recursion:

SRC_URI = "git://github.com/lvc/abi-dumper;protocol=https;subdir=${BP}"
BP = "${BPN}-${PV}"
PV = "1.0+git${SRCPV}"
SRCPV = "${@bb.fetch2.get_srcrev(d)}"

def get_srcrev(d, method_name='sortable_revision'):
    # ... trimmed
    scms = []
    fetcher = Fetch(d.getVar('SRC_URI').split(), d)
    # ... trimmed

[YOCTO #14040]

(From OE-Core rev: 3b8d43fc53ee13d39abc3b2a1f706a97fcf752aa)

Signed-off-by: Saul Wold <saul.wold@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-05 17:46:05 +00:00
Alexander Kanavin
5c4a385426 harfbuzz: upgrade 3.2.0 -> 3.3.1
(From OE-Core rev: 5dcf6e8e3e6d0c66561fef35f5211641ca83e769)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-05 17:46:05 +00:00
Alexander Kanavin
f671233fc8 libgpg-error: update 1.43 -> 1.44
Drop accepted patch.

(From OE-Core rev: a4dc17a8b4080ca17c0f363163363d5c2af4dc4e)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-05 17:46:05 +00:00
Alexander Kanavin
3108c18431 re2c: upgrade 2.2 -> 3.0
(From OE-Core rev: 2ebd7ce56141cb38b3b2bdc45b6655bb955b4455)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-05 17:46:05 +00:00
Alexander Kanavin
ba70eb9de1 libusb1: upgrade 1.0.24 -> 1.0.25
(From OE-Core rev: 5a20cc92d9036629dad610370780195ae1309845)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-05 17:46:05 +00:00
Alexander Kanavin
e919c5fb9b libcap: upgrade 2.62 -> 2.63
(From OE-Core rev: 2a406a0369d6ba9a5ecea6e32084e4aa41811893)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-05 17:46:05 +00:00
Alexander Kanavin
8f0bd6676c diffoscope: upgrade 201 -> 202
(From OE-Core rev: 62d38e8ce8f058f3fc9b1ddea79157d8c48bd7af)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-05 17:46:05 +00:00
Alexander Kanavin
7e773b2dd8 puzzles: upgrade to latest revision
(From OE-Core rev: 735f001301838f1cdd98a3e22c2f78cd50d4e4ee)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-05 17:46:05 +00:00
Alexander Kanavin
ac56787371 piglit: upgrade to latest revision
(From OE-Core rev: e83fe417cfba54d6fb7bc96e7fdf5b870ade81d1)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-05 17:46:05 +00:00
Alexander Kanavin
bc691128d8 mesa: upgrade 21.3.4 -> 21.3.5
(From OE-Core rev: 956915d8829ce1db8e115cd31133ff0543e1054c)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-05 17:46:05 +00:00
Alexander Kanavin
e5aa6b131a stress-ng: upgrade 0.13.10 -> 0.13.11
(From OE-Core rev: 03a86c574d2bc42cdfed582dea81782a34b2f133)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-05 17:46:05 +00:00
Alexander Kanavin
910c7f8e8f cups: upgrade 2.4.0 -> 2.4.1
(From OE-Core rev: 7ed9248d2a9865b3ff4c99b6e708aaec995bacb1)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-05 17:46:05 +00:00
Alexander Kanavin
7aa1b7ccc9 python3-pip: upgrade 21.3.1 -> 22.0.2
License-Update: copyright years

(From OE-Core rev: ddbbd821231d2c7fdaea39e7b7526c63ad81269e)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-05 17:46:05 +00:00
Alexander Kanavin
0c936a0c83 python3-hypothesis: upgrade 6.36.0 -> 6.36.1
(From OE-Core rev: b8c445a950b4c32324d1d17561366f3eb186ea79)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-05 17:46:05 +00:00
Alexander Kanavin
34ceddef29 python3-cython: upgrade 0.29.26 -> 0.29.27
(From OE-Core rev: 8ae2484666ebdb5a0fa2b59c4467992b2a3d136f)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-05 17:46:05 +00:00
Alexander Kanavin
cae86e6b2e mmc-utils: upgrade to latest revision
(From OE-Core rev: 4f8ba1c375927229cab53d7c64d28a0d75ec5f89)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-05 17:46:05 +00:00
Alexander Kanavin
02a8a2c621 lua: upgrade 5.4.3 -> 5.4.4
(From OE-Core rev: 734cdfddd2d2a0a0e3be2b577bd4175a2abd73e5)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-05 17:46:05 +00:00
Alexander Kanavin
a4730598a7 glib-2.0: upgrade 2.70.2 -> 2.70.3
(From OE-Core rev: 01f476f56be9ac9a124e80125a5a25d523057466)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-05 17:46:05 +00:00
Alexander Kanavin
7c85289315 xf86-input-libinput: update 1.2.0 -> 1.2.1
(From OE-Core rev: dd5e14fc643edd97ad99675b160aa9de96c1e734)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-05 17:46:05 +00:00
Alexander Kanavin
b3bb369ba4 weston: upgrade 9.0.0 -> 10.0.0
Release announcement with changes:
https://lists.freedesktop.org/archives/wayland-devel/2022-February/042103.html

Upstream has deprecated both weston-launch and fbdev backend, so let's
not delay the inevitable and find replacements.

Fbdev can be replaced by passing --use-pixman to drm backend;
this will bypass the opengl paths and use CPU for rendering.
Apply where GL is too slow or unavailable.

weston-launch can be replaced by starting weston directly, with
a seat management daemon for support. This is provided either
by systemd, or on systemd-less systems, by seatd. The sysvinit
startup scripts and tests have been rewritten accordingly. Bonus
fix: under sysvinit weston now starts under weston user as it should,
and not under root.

Upstream discussion:
https://gitlab.freedesktop.org/wayland/weston/-/merge_requests/725

License-Update: copyright years

(From OE-Core rev: 4efc81fc575aea1e12e00de8644a4b853719f8df)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-05 17:46:05 +00:00
Alexander Kanavin
35666a87ae seatd: add recipe
This is needed to run weston properly as non-root in the absence
of systemd-logind, and other compositors will likely require seatd
as well.

(From OE-Core rev: f0c7e8cdeea065ddfcd4187f1fabc074b2753ba1)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-05 17:46:05 +00:00
Peter Kjellerstedt
e5f2f39e11 package: Pass dv (debug_vars) around instead of individual vars
This simplifies the APIs for splitdebuginfo(), splitstaticdebuginfo()
and inject_minidebuginfo()

(From OE-Core rev: 9b00cf049032a9ed7ba3c63d3c37c7414f94edbf)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-05 12:26:36 +00:00
Peter Kjellerstedt
10b2da6fe7 package: Make package_debug_vars() return a dict
It simplifies the API to return one dict instead of seven strings.

(From OE-Core rev: 610c790a94591da5c3a6b1db938cd85e2cbdbe5a)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-05 12:26:36 +00:00
Peter Kjellerstedt
3ad2ecb603 package: Split out package_debug_vars from split_and_strip_files
The split_and_strip_files() function is big and hard to follow. This
takes a small step to improve that by splitting out the part that sets
up the variables used to implement the various debug splitting methods
specified by PACKAGE_DEBUG_SPLIT_STYLE.

(From OE-Core rev: e414c6ec8563f9c448f1421f33870a908a0353b4)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-05 12:26:36 +00:00
Richard Purdie
734ae5f647 oqea/runtime/oe_syslog: Improve test
We're seeing failures on the autobuilder where the log message isn't present in the
log. This could just be a race in the compound command but it is hard to say due
to the poor log output from the test.

Splitting the command into two sections should add more of a delay whilst ssh
reconnects and may well fix the issues but this change should also improve
the log output in the failure case too so if the failure isn't solved, we should
be better able to debug it.

(From OE-Core rev: 749264d5f6f86affbee3cfc096084e073c21c394)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-05 12:26:36 +00:00
Richard Purdie
b0922ed9b3 glibc: Drop prelink patch
With the removal of prelink, we no longer need the glibc patch for it
either.

(From OE-Core rev: 7b1b5a7ac5f64fb04c9df7f77e1f65f8acde18a8)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-05 12:26:36 +00:00
Richard Purdie
a242274d98 prelink: Drop support for it
Prelink is being dropped by glibc in 2.36. It already causes issues with
binary corruption, has a number of open bugs and is of questionable benefit
without disabling load address randomization and PIE executables.

We disabled it by default a while back but left people able to use it.
We would be unable to maintain it alone without glibc support so remove
the remaining pieces.

(From OE-Core rev: 23c0be78106f1d1e2bb9c724174a1bb8c56c2469)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-05 12:26:36 +00:00
Khem Raj
c98fc39331 qemuppc64.conf: Remove commented prelink use
(From OE-Core rev: 3f817e69ebbc79de50da6ff43b9445e100e147ba)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-05 12:26:36 +00:00
Khem Raj
ce73f4f9d3 image-prelink: Remove bbclass
Upcoming glibc 2.35 is dropping support for prelinker, this just ensures
that we do not carry non-working classes. [1]

[1] https://patchwork.sourceware.org/project/glibc/patch/20220121172951.285848-2-adhemerval.zanella@linaro.org/

(From OE-Core rev: 857baaf9e3d181ca18264e85d90b899fd94acff9)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-05 12:26:36 +00:00
Richard Purdie
c560489f78 abi_version/sstate: Bump for hash equivalence fix
With the hash equivalence fix, we need to bump the sstate and hash equivalence
version numbers to ensure older task hashes aren't matched into the new namespace.

(From OE-Core rev: 3f229267e0588c747265e849ee19724033cc6a80)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-05 12:26:36 +00:00
Richard Purdie
12118f74ef staging: Add extra hash handling code
Target build output, stored in do_populate_sysroot or do_package can depend
not only upon direct dependencies but also indirect ones. A good example is
linux-libc-headers. The toolchain depends on this but most target recipes do
not. There are some headers which are not used by the toolchain build and do
not change the toolchain task output, hence the task hashes can change without
changing the sysroot output of that recipe yet they can influence others.

A specific example is rtc.h which can change rtcwake.c in util-linux but is not
used in the glibc or gcc build. To account for this, we need to account for the
populate_sysroot hashes in the task output hashes.

(From OE-Core rev: 1cf62882bbac543960e4815d117ffce0e53bda07)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-05 12:26:36 +00:00
Bruce Ashfield
2d055b787a linux-libc-headers: update to v5.16
Bumping our reference headers to 5.16 to support newer kernels (-dev
in particular).

No issues were found in glibc or musl, and no patch referesh/drops
are required

(From OE-Core rev: a6a814fd1f62cc8050a438efb878a01aa3df7ae5)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-05 12:26:36 +00:00
Richard Purdie
2d940dd5bf gcc: Drop stdlib++ option patch
The patch to gcc to disable use of libstdc++ when configuring the library
during gcc-runtime is old and there are perhaps better ways to do this now.

If removed, most builds still "work" but incorrect values for things like
atomic ops are found during configure. mips64 and ppc fail with on target
simple tests of g++ in testimage.

Instead we can create a dummy libstdc++ which allows the correct configure
test results to be obtained.

Discussed with upstream about the patch are ongoing, if accepted, we can
switch back to the commandline option if it is added in future.

(From OE-Core rev: 34b0edb0d3120c32063ff7e3dd52be20d60401d5)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-05 12:26:35 +00:00
Michael Opdenacker
472a99447f ref-manual: add usage details about ccache.bbclass
(From yocto-docs rev: c06e5710b139c01347b9cd2113dde0961f483995)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-03 13:47:50 +00:00
Peter Kjellerstedt
0c8ad5dc5e test-manual: Correct two references to BB_SKIP_NETTESTS
The environment variable used to disable network tests when running
bitbake-selftest was incorrectly referred to as BB_SKIP_NETTEST.

(From yocto-docs rev: 4a2252cf412ea2aa26209d835c96661a772b6d31)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Reviewed-by: Quentin Schulz <foss+yocto@0leil.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-03 13:47:50 +00:00
Michael Opdenacker
de069431bf manuals: propose https for SSTATE_MIRRORS
Both http and https work, but https should raise fewer questions
from users.

(From yocto-docs rev: e3bf892b1328b5c43ab041ba6c850e2782f54bdf)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-03 13:47:50 +00:00
Michael Opdenacker
3a6185404e manuals: improve references to classes
- Simplify references to class sections, by replacing references such as
  :ref:`image.bbclass <ref-classes-image>`
  by
  :ref:`ref-classes-image`

  That's equivalent, because the class sections always called <class>.bbclass

- Adding references to class sections, by replacing strings such as
  ``image.bbclass``
  by
  :ref:`ref-classes-image`

- Simplifying a few class section links

(From yocto-docs rev: 29d66aaa898390c19f121baf0f4fdcc178e4cd80)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-03 13:47:50 +00:00
Michael Opdenacker
a9fdd010b9 dev-manual: new "working with pre-compiled libraries" section
This explains how to deal with versioned and unversioned
pre-built libraries from vendors.

Content and examples adapted from
https://wiki.yoctoproject.org/wiki/TipsAndTricks/Packaging_Prebuilt_Libraries,
originally written by Henry Bruce in 2016.

(From yocto-docs rev: 5e46cad9e4b4ab03e33f4d5aea34e56f6b15fe27)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-03 13:47:50 +00:00
Michael Opdenacker
3f27dfa9c9 dev-manual: stop mentioning the Angstrom distribution
Now defunct

(From yocto-docs rev: 52f7aedda58becb081eeca4a1bc02068f72d7c4a)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-03 13:47:50 +00:00
Michael Opdenacker
e4e58669f0 migration-3.5: mention task specific network access
(From yocto-docs rev: d8573e8a36eef61be1c9e7706c38ed28ca4c9962)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-03 13:47:50 +00:00
Robert Joslyn
f299005d66 dev-manual/common-tasks: Fix typo
direction -> directory

(From yocto-docs rev: 441151bfdeda6eccf46a7829d1a3181e83d441a8)

Signed-off-by: Robert Joslyn <robert.joslyn@redrectangle.org>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-03 13:47:50 +00:00
Alexander Kanavin
e819275192 sudo: update 1.9.8p2 -> 1.9.9
License-Update: markdown conversion, copyright years

(From OE-Core rev: 47a2efa96d8ac29024dbc6a577457c5b53111949)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-03 09:05:14 +00:00
Alexander Kanavin
3b7fee4468 at: update 3.2.2 -> 3.2.4
Drop patch for issue fixed upstream.

Change additional source copying to be a part of do_configure
to allow automated upgrades.

(From OE-Core rev: 4c96bed812c4b1371944ad84659a2877a28678d1)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-03 09:05:14 +00:00
Alexander Kanavin
6db7501b6b python3-pycryptodome: update 3.12.0 -> 3.14.0
(From OE-Core rev: af2688740287a08b04b478263f9507c99cf0f5fc)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-03 09:05:14 +00:00
Alexander Kanavin
f67ec4ff8b git: update 2.34.1 -> 2.35.1
(From OE-Core rev: 278efd24b2d15a2ab666d3f255e18768d3bc7709)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-03 09:05:14 +00:00
Alexander Kanavin
c82d436201 git: build manpages from source subject to manpages PACKAGECONFIG
This allows automated updates, and better aligns with how
documentation is handled in oe-core.

(From OE-Core rev: 22b267724148144d919b7281cf2250fc2e35a092)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-03 09:05:14 +00:00
Alexander Kanavin
177437eea2 git: merge .inc into .bb
(From OE-Core rev: a315afb79964a9a9b6e493bf20eec80af46fd4a6)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-03 09:05:14 +00:00
Alexander Kanavin
39d35877c9 cmake: update 3.22.1 -> 3.22.2
(From OE-Core rev: 2dacdcc259f20cf06b81045c99e07d00ba6cc5fb)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-03 09:05:14 +00:00
Alexander Kanavin
c611878ae7 util-linux: update 2.37.2 -> 2.37.3
(From OE-Core rev: e543d4407fdc91559a77d6c5cd41bcb75bc8c73c)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-03 09:05:14 +00:00
Richard Purdie
4eab0dac8f lttng-tools: upgrade 2.13.2 -> 2.13.4
(From OE-Core rev: 0e8fcfbb4565807a84d1a7d10bbc59d1675e33ec)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-03 09:05:14 +00:00
Khem Raj
f84ceeee98 libstd-rs: Apply patches to right version of libc
1.58 rust libstd is locked to use 0.2.106, therefore patch the correct
version. once we start using 0.2.108+ these patches will not be required
as the port is available then on.

(From OE-Core rev: 83a9d2ba188b3a95d01ef62763d33b89435f8a1a)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-03 09:05:14 +00:00
Khem Raj
4c25157ae3 musl: Update to latest master
Changes in this srcrev bump

  * c4d4028d fix failure to use add-cfi scripts on asm when building out-of-tree
  * 775bde6b fix wcwidth of hangul combining (vowel/final) letters
  * 8d404733 fix mismatched signatures for strtod_l family
  * 98e688a9 define NULL as nullptr when used in C++11 or later
  * 8274aaaa fix hwcap access in powerpc-sf setjmp/longjmp
  * 3733c831 fix struct layout mismatch in sound ioctl time32 fallback conversion

(From OE-Core rev: 3ea0b084cc3e394e59399b8cdc479eee0ff1419b)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-03 09:05:14 +00:00
Khem Raj
d2a050f8e3 ruby: Fix build on riscv/musl
This fixes a build issue that started with 3.1 upgrade
Fixes
| ../ruby-3.1.0/vm_dump.c:916:38: error: use of undeclared identifier 'REG_S1'
|         dump_machine_register(mctx->__gregs[REG_S1], "s1");

(From OE-Core rev: 1b0a88b6c31f85d70045a61f843302992ae7f94e)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-03 09:05:14 +00:00
Andrej Valek
f91604daee dhcpcd: add option to set DBDIR location
This will allow to use the different DBDIR location, because the /var/lib
could be used as a read-only location.

(From OE-Core rev: 8fe5cff505f4fd942723d6f1526b0461747fc44d)

Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-03 09:05:14 +00:00
Peter Kjellerstedt
6834a36148 glibc-tests: Correct PACKAGE_DEBUG_SPLIT_STYLE
It was set to "debug", but the officially supported value is ".debug".

(From OE-Core rev: 14ac72ead9c581c5fac224a9b330b62d5faa048a)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-03 09:05:14 +00:00
Carlos Rafael Giani
610e4b9852 libxml2: Backport python3-lxml workaround patch
This is a workaround for the following issue that affects python3-lxml:

https://gitlab.gnome.org/GNOME/libxml2/-/issues/255

(From OE-Core rev: 2f52be7c42ea37243f9aea1898ef7052904f9290)

Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-03 09:05:14 +00:00
Changhyeok Bae
9fc3e86272 connman: update 1.40 -> 1.41
(From OE-Core rev: 0f4a8c9b9bd702db555a193ccc130b0c3be309df)

Signed-off-by: Changhyeok Bae <changhyeok.bae@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-03 09:05:14 +00:00
Tom Hochstein
5d5ca5ec3a xwayland: Add xkbcomp runtime dependency
Trying to run an xterm fails with the error:
xterm: Xt error: Can't open display: :0

Checking systemctl status weston shows an error:
Jan 19 21:24:16 imx8mq-evk weston[396]: sh: line 1: /usr/bin/xkbcomp: No such file or directory

Adding xkbcomp to the rootfs fixes these errors. Checking the history
one finds that the runtime dependency for the old xserver was
removed because it wasn't in the correct location [1], then restored
because it was still needed [2].

[1] bdcc5e8f12
[2] f2330ebc30

(From OE-Core rev: 535e6df5b5e53dd95438985dcff554cd17302837)

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-03 09:05:14 +00:00
Ross Burton
1e7fe9ea1e strace: skip a number of load-sensitive tests
Some tests are very load-sensitive as they depend on sleep() calls to
take a precise amount of time. These will randomly fail in the automated
QA, so skip them.

(From OE-Core rev: ea6933d2500827eae5482a32d5037e0429cd096a)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-03 09:05:14 +00:00
Ross Burton
2d4589316c strace: remove obsolete musl-on-MIPS patch
This patch was added as musl doesn't define SIGEMT on MIPS, but this was
a mistake in musl and has been  fixed in cabc369, available in musl
1.2.1 onwards (August 2020).

(From OE-Core rev: 3ce2fd9f3002178ba2425c7912bf8b83a4150c9a)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-03 09:05:14 +00:00
Oleksandr Kravchuk
9e54790c6e ell: update to 0.48
Changelog:
- Fix issue with memory leaking from ICMPv6 RA.

(From OE-Core rev: d622ba4930d5beae2d42b6ed64c0e1f84beda714)

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-03 09:05:13 +00:00
Andrej Valek
d6a126435f oeqa: qemu: create missing directory for _write_dump
| Failed to dump QMP CMD: query-status with
| Exception: [Errno 2] No such file or directory: '.../tmp/log/runtime-hostdump/qmp_00_query-status'
| Failed to dump QMP CMD: query-block with
| Exception: [Errno 2] No such file or directory: '.../tmp/log/runtime-hostdump/qmp_00_query-block'
| Failed to dump QMP CMD: dump-guest-memory with
| Exception: [Errno 2] No such file or directory: '.../tmp/log/runtime-hostdump/qmp_00_dump-guest-memory'

The qmp dump commands could fail, because of missing root directory.
So create it before any log writing.

(From OE-Core rev: c4dc5d674afe65fedb5195f187b68f23720646ba)

Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-03 09:05:13 +00:00
Changqing Li
95870c10b1 mdadm: fix testcase 00multipath failure
After upgrade to 4.2, mdadm's testcase 00multipath failed,
because a bug in 4.2 makes "-r" not work in manage mode.

(From OE-Core rev: 8a815877b0fac30f379a7387966b8a0c7ffe753e)

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-03 09:05:13 +00:00
Peter Kjellerstedt
7faaaf1425 sstatetests: Correct a typo in a comment
(From OE-Core rev: f6420121920a242655ba5ded0f96763d6638cbc4)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-03 09:05:13 +00:00
Peter Kjellerstedt
00bf15c118 devtool: sdk-update: Remove an unnecessary \n from SSTATE_MIRRORS
Since commit 044fb04d in bitbake (fetch2: Allow whitespace only mirror
entries) there is no need to separate the entries in SSTATE_MIRRORS
with "\n".

(From OE-Core rev: 6e66ec3cd201d32d3d97df2222f41bb8c475fb69)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-03 09:05:13 +00:00
Denys Dmytriyenko
0bf1e08ce1 wayland-protocols: upgrade 1.24 -> 1.25
https://lists.freedesktop.org/archives/wayland-devel/2022-January/042102.html

wayland-protocols 1.25 is now available.

Apart from minor fixes and clarifications, this release also adds a new staging
protocol for session locking, as well as a 'bounds' event to the xdg_toplevel
interface. See the individual commits and protocol specifications for
details.

(From OE-Core rev: 789970a46bd902b040cf3bbd34ad0887a1ba896a)

Signed-off-by: Denys Dmytriyenko <denis@denix.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-03 09:05:13 +00:00
Alejandro Hernandez Samaniego
74a8a74a55 busybox: Add shell arithmetic to work with poky-tiny
Fix error when trying to boot core-image-tiny-initramfs:

/init: line 144: syntax error: support for $((arith)) is disabled
Kernel panic - not syncing: Attempted to kill init!

[YOCTO #14702]

(From meta-yocto rev: 50ac1fcadb07fdbeb4169cdd7a0c4a805a0f8588)

Signed-off-by: Alejandro Enedino Hernandez Samaniego <alhe@linux.microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-01 07:32:08 +00:00
Robert Yang
d77178e8df bitbake: bitbake: bitbake-worker: Preserve network non-local uid
The NIS can't work when network is dissable, so preserve network for it, the
error is like:

do_ypcall: clnt_call: RPC: Unable to send; errno = Network is unreachable

Note, enable nscd on the build machine might be a solution, but that isn't
reliable since it depends on whether the network function has been cached or
not.

(Bitbake rev: 4eafae7904bae6e5c6bc50356e8a9077f2e207fa)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-01 07:31:48 +00:00
Ross Burton
80bddd7c36 systemtap: backport buffer size tuning patches
Backport a nunber of patches from upstream to tune the buffer size on
machines with a "small amount" of memory, which appears to mean less
than 4GB.

(From OE-Core rev: d1e1c8698a5143a1e5d80d172105b76c57b85dd6)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-01 07:31:18 +00:00
Ross Burton
440a5f6ee6 oeqa/runtime/stap: improve systemtap test
Split the test up into compile and execute phases, as the stap binary
is known to be quite memory-hungry and this can result in the probe
being unable to allocate enough memory for the buffers it needs.

If the test fails, dump the dmesg as any useful messages will be there.

(From OE-Core rev: 6cf4d23a2d26c2767edd93f2eb317ff759b5a992)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-01 07:31:18 +00:00
Ross Burton
351ee239c7 core-image-sato-sdk: allocate more memory when in qemu
Compiling code is memory-intensive, especially kernel modules like the
SystemTap probes, so give the VM 768MB of RAM.  Using 1GB appears to
cause PCI error, interestingly.

Hopefully this solves the intermittent failures caused by OOMs during
the SystemTap test.

[ YOCTO #14673 ]

(From OE-Core rev: 50ff1f018a670c963e1979dee76ebd696153b4c1)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-01 07:31:18 +00:00
Ross Burton
ab6d3f8067 vim: upgrade to patch 4269
Upgrade to the latest patch release to fix the following CVEs:

- CVE-2022-0261
- CVE-2022-0318
- CVE-2022-0319

(From OE-Core rev: 96442e681c3acd82b09e3becd78e902709945f1f)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-01 07:31:18 +00:00
Ross Burton
8ab929b0a6 expat: upgrade to 2.4.4
Fixes CVE-2022-23852 and CVE-2022-23990.

(From OE-Core rev: 4ed96683893e7433804ccf7a4000a2dd18318ef5)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-01 07:31:18 +00:00
Ross Burton
a8c9104ac4 openssl: export OPENSSL_MODULES in the wrapper
OpenSSL 3 added the concept of provider modules which are loaded from
disk.  The load path is hard-coded into the library and needs to be
relocated when running natively, so add OPENSSL_MODULES to the wrapper.

(From OE-Core rev: 160ac2f136cb8df829c803848c7c47d707a908ff)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-01 07:31:18 +00:00
Alexander Kanavin
1adbf5ba27 gobject-introspection: replace prelink-rtld with objdump -p
g-i internally processes the output with regexes, and seems
happy with what objdump is printing. It only needs to resolve
the library name as passed to the linker to the library file name.
Also recursive resolution (that ldd is doing and objdump is not)
is not necessary.

(From OE-Core rev: 767e0880d4d729e659e859dd99c1cdb084b8ba51)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-01 07:31:18 +00:00
Alexander Kanavin
8b562100df libusb1: correct SRC_URI
(From OE-Core rev: d4c37ca1f1e97d53045521e9894dc9ed5b1c22a1)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-01 07:31:18 +00:00
Alexander Kanavin
039aa6df4d gnutls: update 3.7.2 -> 3.7.3
Drop unsupported option.

(From OE-Core rev: 5a2d94e0df21992a30f95312da3bf8477f42785c)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-01 07:31:18 +00:00
Alexander Kanavin
98deacdb55 ltp: update 20210927 -> 20220121
The ltp compliancy parser is rewritten to actually
match the logs: they seem to be unstructured, test case names
are not printed and the only indication of failure is appearance of
FAIL[ED] somewhere.

(From OE-Core rev: 52766561dbfee625c89393905a85e10d85f69c6c)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-01 07:31:18 +00:00
Alexander Kanavin
064ca10c50 wpa-supplicant: update 2.9 -> 2.10
License-Update: copyright years

(From OE-Core rev: 4f30b96207efcddfe76d6bf8d4c24f4fb7f80abb)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-01 07:31:18 +00:00
Alexander Kanavin
f64ac4c918 rust: update 1.58.0 -> 1.58.1
(From OE-Core rev: 855ec0af1b3c7c2664e68ac89cad839d480c43db)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-01 07:31:18 +00:00
Alexander Kanavin
f5bfd88094 zstd: update 1.5.0 -> 1.5.2
Drop patches merged upstream.

(From OE-Core rev: cfd76fb067e2390aa06ae6a9f9dd7cc8a8d57d09)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-01 07:31:18 +00:00
Alexander Kanavin
b44828967a libical: upgrade 3.0.12 -> 3.0.13
(From OE-Core rev: a74500337d8aca4a9c6c4aaf3bacdeb834b6ec5b)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-01 07:31:18 +00:00
Alexander Kanavin
d169e91dcd libbsd: upgrade 0.11.3 -> 0.11.5
License-Update: additional files

(From OE-Core rev: 2a464b1cf45c7de2738f48e0786b5367688304ee)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-01 07:31:17 +00:00
Alexander Kanavin
2d9be515d8 diffoscope: upgrade 200 -> 201
(From OE-Core rev: 4d056dac3b01acc5f57e958cc1debc6ef0d98810)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-01 07:31:17 +00:00
Alexander Kanavin
d2857e3239 debianutils: upgrade 5.5 -> 5.7
(From OE-Core rev: 325547665c533fa337076a111554614af3b51d1f)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-01 07:31:17 +00:00
Alexander Kanavin
9daf0d3101 webkitgtk: upgrade 2.34.3 -> 2.34.4
(From OE-Core rev: 919014ca53b0f7960bc9994e7cc1d5174d3b1339)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-01 07:31:17 +00:00
Alexander Kanavin
e34a00bd9b ethtool: upgrade 5.15 -> 5.16
(From OE-Core rev: 8c99ff20c95e039620fa7dd6a3a41a9c83a72b9e)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-01 07:31:17 +00:00
Alexander Kanavin
f29ec7ad5f ifupdown: upgrade 0.8.36 -> 0.8.37
(From OE-Core rev: 1f2892e4c65c6918ef41d567d37e17ce346d57ee)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-01 07:31:17 +00:00
Alexander Kanavin
caaae859a6 bind: upgrade 9.16.24 -> 9.16.25
License-Update: copyright years

(From OE-Core rev: 4a7f6cdc7292df5d3154192e65dcb9681ec8ffcb)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-01 07:31:17 +00:00
Ross Burton
f2666fbc7f yocto-check-layer: add debug output for the layers that were found
When debugging weird yocto-check-layer output it is useful to know
what the tool found when looking for layers.

(From OE-Core rev: 711e2d4d7baf36f8497741c14268d7f72d0db016)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-01 07:31:17 +00:00
Rudolf J Streif
e2340a68c5 linux-firmware: Add CLM blob to linux-firmware-bcm4373 package
The Country Local Matrix (CLM) blob brcmfmac4373-sdio.clm_blob was not
included with the files for the linux-firmware-bcm4373 package
but instead packaged with linux-firmware.

(From OE-Core rev: 18ba64d4a12e7275381cf34fe72b757accbb1544)

Signed-off-by: Rudolf J Streif <rudolf.streif@ibeeto.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-01 07:31:17 +00:00
Bruce Ashfield
6c8332ef09 linux-yocto/5.10: update to v5.10.93
Updating linux-yocto/5.10 to the latest korg -stable release that comprises
the following commits:

    fd187a492557 Linux 5.10.93
    bed97c903621 mtd: fixup CFI on ixp4xx
    f50803b519c3 powerpc/pseries: Get entry and uaccess flush required bits from H_GET_CPU_CHARACTERISTICS
    68c1aa82be00 ALSA: hda/realtek: Re-order quirk entries for Lenovo
    4d15a17d065d ALSA: hda/realtek: Add quirk for Legion Y9000X 2020
    d7b41464f1b7 ALSA: hda: ALC287: Add Lenovo IdeaPad Slim 9i 14ITL5 speaker quirk
    87246ae94b73 ALSA: hda/realtek - Fix silent output on Gigabyte X570 Aorus Master after reboot from Windows
    9c27e513fb33 ALSA: hda/realtek: Add speaker fixup for some Yoga 15ITL5 devices
    4c7fb4d519e5 KVM: x86: remove PMU FIXED_CTR3 from msrs_to_save_all
    6b8c3a185377 firmware: qemu_fw_cfg: fix kobject leak in probe error path
    889c73305b48 firmware: qemu_fw_cfg: fix NULL-pointer deref on duplicate entries
    ff9588cf1592 firmware: qemu_fw_cfg: fix sysfs information leak
    358a4b054abe rtlwifi: rtl8192cu: Fix WARNING when calling local_irq_restore() with interrupts enabled
    93c4506f9f8b media: uvcvideo: fix division by zero at stream start
    4c3f70be6f3a video: vga16fb: Only probe for EGA and VGA 16 color graphic cards
    161e43ab8cc1 9p: only copy valid iattrs in 9P2000.L setattr implementation
    0e6c0f3f4055 KVM: s390: Clarify SIGP orders versus STOP/RESTART
    413b427f5fff KVM: x86: Register Processor Trace interrupt hook iff PT enabled in guest
    723acd75a062 perf: Protect perf_guest_cbs with RCU
    eadde287a62e vfs: fs_context: fix up param length parsing in legacy_parse_param
    c5f38277163e remoteproc: qcom: pil_info: Don't memcpy_toio more than is provided
    5d88e24b23af orangefs: Fix the size of a memory allocation in orangefs_bufmap_alloc()
    0084fefe2960 devtmpfs regression fix: reconfigure on each mount
    ee40594c95ae kbuild: Add $(KBUILD_HOSTLDFLAGS) to 'has_libelf' test

(From OE-Core rev: 4f3dd05c163efe6da87a58ab9e1df61b83ed4444)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-01 07:31:17 +00:00
Bruce Ashfield
22b7454722 linux-yocto/5.15: update to v5.15.16
Updating linux-yocto/5.15 to the latest korg -stable release that comprises
the following commits:

    63dcc388662c Linux 5.15.16
    ce2e7b97e588 mtd: fixup CFI on ixp4xx
    9dada19e1096 ALSA: hda/realtek: Re-order quirk entries for Lenovo
    4942295ec2af ALSA: hda/realtek: Add quirk for Legion Y9000X 2020
    f76d5f9391a5 ALSA: hda/tegra: Fix Tegra194 HDA reset failure
    7c452ca7bc7b ALSA: hda: ALC287: Add Lenovo IdeaPad Slim 9i 14ITL5 speaker quirk
    8b046b2a63c6 ALSA: hda/realtek - Fix silent output on Gigabyte X570 Aorus Master after reboot from Windows
    5b57c0efec9a ALSA: hda/realtek: Use ALC285_FIXUP_HP_GPIO_LED on another HP laptop
    c104edbb5a3f ALSA: hda/realtek: Add speaker fixup for some Yoga 15ITL5 devices
    3a1e48069798 KVM: x86: remove PMU FIXED_CTR3 from msrs_to_save_all
    adf791cf905a perf annotate: Avoid TUI crash when navigating in the annotation of recursive functions
    8840daa2f629 firmware: qemu_fw_cfg: fix kobject leak in probe error path
    db3337ba6e4a firmware: qemu_fw_cfg: fix NULL-pointer deref on duplicate entries
    bb08a4d10164 firmware: qemu_fw_cfg: fix sysfs information leak
    898e91c32d04 rtlwifi: rtl8192cu: Fix WARNING when calling local_irq_restore() with interrupts enabled
    c671cb0b0087 media: uvcvideo: fix division by zero at stream start
    e2ece45f9450 video: vga16fb: Only probe for EGA and VGA 16 color graphic cards
    7760404e8487 9p: only copy valid iattrs in 9P2000.L setattr implementation
    c2e7561ba7a8 remoteproc: qcom: pas: Add missing power-domain "mxc" for CDSP
    252435941c33 KVM: s390: Clarify SIGP orders versus STOP/RESTART
    6e8b6dcec07c KVM: x86: don't print when fail to read/write pv eoi memory
    19f2dfb1a1f6 KVM: x86: Register Processor Trace interrupt hook iff PT enabled in guest
    07667f43f8a8 KVM: x86: Register perf callbacks after calling vendor's hardware_setup()
    18c16cef8179 perf: Protect perf_guest_cbs with RCU
    e192ccc17ecf vfs: fs_context: fix up param length parsing in legacy_parse_param
    c78c39a91dd4 remoteproc: qcom: pil_info: Don't memcpy_toio more than is provided
    b07490067dbc orangefs: Fix the size of a memory allocation in orangefs_bufmap_alloc()
    ce258c74f8d9 drm/amd/display: explicitly set is_dsc_supported to false before use
    d5df26479c82 devtmpfs regression fix: reconfigure on each mount

(From OE-Core rev: 64d6ad75dd0eecd4b976d821cae8119fdd903c41)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-01 07:31:17 +00:00
Bruce Ashfield
c22856670e x86: fix defconfig configuration warnings
Integrating the following commit(s) to linux-yocto/5.15:

    720b61fc400b x86_64_defconfig: Fix warnings

(From OE-Core rev: a1df7a1315b46c42ea4b1bd92782a68bdf7b3011)

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-01 07:31:17 +00:00
Bruce Ashfield
9577d21329 linux-yocto/5.10: update to v5.10.92
Updating linux-yocto/5.10 to the latest korg -stable release that comprises
the following commits:

    c982c1a83932 Linux 5.10.92
    c0091233f3d8 staging: greybus: fix stack size warning with UBSAN
    66d21c005d9b drm/i915: Avoid bitwise vs logical OR warning in snb_wm_latency_quirk()
    2d4fda471dc3 staging: wlan-ng: Avoid bitwise vs logical OR warning in hfa384x_usb_throttlefn()
    3609fed7ac8b media: Revert "media: uvcvideo: Set unique vdev name based in type"
    9b3c761e78d5 random: fix crash on multiple early calls to add_bootloader_randomness()
    61cca7d191c7 random: fix data race on crng init time
    3de9478230c3 random: fix data race on crng_node_pool
    43c494294f30 can: gs_usb: gs_can_start_xmit(): zero-initialize hf->{flags,reserved}
    45221a57b609 can: isotp: convert struct tpcon::{idx,len} to unsigned int
    bd61ae808b15 can: gs_usb: fix use of uninitialized variable, detach device on reception of invalid USB data
    f68e60001735 mfd: intel-lpss: Fix too early PM enablement in the ACPI ->probe()
    5f76445a31b7 veth: Do not record rx queue hint in veth_xmit
    ddfa53825f3d mmc: sdhci-pci: Add PCI ID for Intel ADL
    2e691f9894cc ath11k: Fix buffer overflow when scanning with extraie
    a87cecf94375 USB: Fix "slab-out-of-bounds Write" bug in usb_hcd_poll_rh_status
    15982330b61d USB: core: Fix bug in resuming hub's handling of wakeup requests
    413108ce3b56 ARM: dts: exynos: Fix BCM4330 Bluetooth reset polarity in I9100
    b6dd07023699 Bluetooth: bfusb: fix division by zero in send path
    869e1677a058 Bluetooth: btusb: Add support for Foxconn QCA 0xe0d0
    c20021ce945f Bluetooth: btusb: Add support for Foxconn MT7922A
    83493918380f Bluetooth: btusb: Add two more Bluetooth parts for WCN6855
    294c0dd80d8a Bluetooth: btusb: fix memory leak in btusb_mtk_submit_wmt_recv_urb()
    35ab8c9085b0 bpf: Fix out of bounds access from invalid *_or_null type verification
    c84fbba8a945 workqueue: Fix unbind_workers() VS wq_worker_running() race
    c39d68ab3836 md: revert io stats accounting

(From OE-Core rev: 35dfcd31518e66fc4dc1f2283bd3320f994c868b)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-01 07:31:17 +00:00
Bruce Ashfield
deda3e743a linux-yocto/5.15: update to v5.15.15
Updating linux-yocto/5.15 to the latest korg -stable release that comprises
the following commits:

    760a85303c5a Linux 5.15.15
    54a457ad2c97 staging: greybus: fix stack size warning with UBSAN
    48d56b00c352 drm/i915: Avoid bitwise vs logical OR warning in snb_wm_latency_quirk()
    e29bd72f5c76 staging: wlan-ng: Avoid bitwise vs logical OR warning in hfa384x_usb_throttlefn()
    46c7ff13dfe8 media: Revert "media: uvcvideo: Set unique vdev name based in type"
    e0bb3bf81cc4 platform/x86/intel: hid: add quirk to support Surface Go 3
    26b66120a896 random: fix crash on multiple early calls to add_bootloader_randomness()
    2d5b4a96a60e random: fix data race on crng init time
    f5aaea746b36 random: fix data race on crng_node_pool
    3fbbf56948b2 can: gs_usb: gs_can_start_xmit(): zero-initialize hf->{flags,reserved}
    1079b56de4af can: isotp: convert struct tpcon::{idx,len} to unsigned int
    1026f710bd55 can: gs_usb: fix use of uninitialized variable, detach device on reception of invalid USB data
    72bd750d1122 mfd: intel-lpss: Fix too early PM enablement in the ACPI ->probe()
    78a19e506bdc veth: Do not record rx queue hint in veth_xmit
    3a29fd88f3ad Bluetooth: btbcm: disable read tx power for MacBook Air 8,1 and 8,2
    7b8a6d60e0d5 Bluetooth: btbcm: disable read tx power for some Macs with the T2 Security chip
    d5eeefa335af Bluetooth: add quirk disabling LE Read Transmit Power
    49e63682cb3b mmc: sdhci-pci: Add PCI ID for Intel ADL
    6f4da584ec4e ath11k: Fix buffer overflow when scanning with extraie
    02f3458289d2 USB: Fix "slab-out-of-bounds Write" bug in usb_hcd_poll_rh_status
    0284c0ca3db6 USB: core: Fix bug in resuming hub's handling of wakeup requests
    0544baa4f761 ARM: dts: exynos: Fix BCM4330 Bluetooth reset polarity in I9100
    402aff59a748 Bluetooth: bfusb: fix division by zero in send path
    db74ee79c9f7 Bluetooth: btusb: Add support for Foxconn QCA 0xe0d0
    c6bd1c35bd84 Bluetooth: btintel: Fix broken LED quirk for legacy ROM devices
    a366a81dcbb1 Bluetooth: btusb: Add support for Foxconn MT7922A
    5e1b03c32535 Bluetooth: btusb: Add two more Bluetooth parts for WCN6855
    e81cef21ea8a Bluetooth: btusb: Add one more Bluetooth part for WCN6855
    f39825f4fc35 fget: clarify and improve __fget_files() implementation
    edaf018b898f Bluetooth: btusb: Add the new support IDs for WCN6855
    a053e9619bb9 Bluetooth: btusb: Add one more Bluetooth part for the Realtek RTL8852AE
    e36a4d9c0bb8 Bluetooth: btusb: enable Mediatek to support AOSP extension
    dcfa2d7a9a9f Bluetooth: btusb: fix memory leak in btusb_mtk_submit_wmt_recv_urb()
    4a5557693f07 Bbluetooth: btusb: Add another Bluetooth part for Realtek 8852AE
    a1e59284193b Bluetooth: btusb: Add support for IMC Networks Mediatek Chip(MT7921)
    fe9ddfd236a6 Bluetooth: btusb: Add the new support ID for Realtek RTL8852A
    3f502147ffc3 Bluetooth: btusb: Add protocol for MediaTek bluetooth devices(MT7922)
    e8efe8369944 bpf: Fix out of bounds access from invalid *_or_null type verification
    f39ffc6f9c60 staging: r8188eu: switch the led off during deinit
    cf5b6bd2c792 workqueue: Fix unbind_workers() VS wq_worker_running() race
    0ed0be755276 s390/kexec: handle R_390_PLT32DBL rela in arch_kexec_apply_relocations_add()

(From OE-Core rev: 5e4ff0db4169fbf056b415e5ff5c5b29202a6f01)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-01 07:31:17 +00:00
Markus Volk
92bb6f72ce libical: build gobject and vala introspection
(From OE-Core rev: 5e2fc4676b8944fc1d36d567bb2d1ff4cff32294)

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-26 06:27:00 +00:00
Ross Burton
0e1d27b69d tiff: backport fix for CVE-2022-22844
(From OE-Core rev: daf2880b7431aa641e02ebba8cbca40d81389088)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-26 06:27:00 +00:00
Peter Kjellerstedt
e8e1e829f4 sstate: A third fix for for touching files inside pseudo
This continues where commit676757f "sstate: fix touching files inside
pseudo" and commit 29fc8599 "sstate: another fix for touching files
inside pseudo" left off.

The previous changes switched from trying to check if the sstate file is
writable before touching it, to always touching the sstate file and
ignoring any errors. However, if the sstate file is actually a symbolic
link that links to nothing, this would actually result in an empty
sstate file being created. And this in turn leads to that future
setscene tasks will fail when they try to unpack the empty file.

Change the code so that if an sstate file linking to nothing already
exists, it is overwritten with the new sstate file. Also change it so
that the temporary file that is used is always removed, even if ln
fails to link the sstate file to it.

(From OE-Core rev: 552197a0c4c9f75a9177c00b197ea91296ed9fc4)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-26 06:27:00 +00:00
Kory Maincent
15324dd951 icu: fix make_icudata dependencies
The make_icudata task is set before the configure task then the
dependencies for this task are not populate yet.

Fixed it by adding do_prepare_recipe_sysroot task dependency to the
make_icudata task.

(From OE-Core rev: c134f62062a6359d2d5831ba4cb9694035e4f25a)

Signed-off-by: Kory Maincent <kory.maincent@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-26 06:27:00 +00:00
Andrej Valek
fa0db034d6 busybox: refresh defconfig
- extend find command
- disable rootfs skip
- busybox-inittab_1.34.1 -> busybox-inittab_1.35.0

(From OE-Core rev: a43fd027cf1a7f0c9edd2d7abbf949d7ae0f4cea)

Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-26 06:27:00 +00:00
Alejandro Hernandez Samaniego
bedb3444e1 kernel.bbclass: Allow initramfs to be built from a separate multiconfig
There may be a case where we want to build an initramfs image
that doesnt inherit the same DISTRO_FEATURES (or others) from
the main image being built.

For example we may want our initramfs not to inherit a certain
conf or feature, say we want to use musl for a smaller footprint,
but if we are using TCLIBC=glibc for our DISTRO (and inherently
our main image), the initramfs image would inherit that conf and
be forced to use glibc, growing in size as a side effect, currently
avoiding this is not supported.

Allow the kernel class to create a multiconfig dependency
(mcdepends) vs depends for do_bundle_initramfs and define
our INITRAMFS_IMAGE from a separate multiconfig via two
new variables:
INITRAMFS_MULTICONFIG and INITRAMFS_DEPLOY_DIR_IMAGE which
define the multiconfig where the initramfs image should be
coming from and its deploy directory respectively, these two
keep a default definition which preserves current behavior
(do_bundle_initramfs uses depends).

Example usage:
- Create and use multiconfig initramfscfg.conf and set
  TCLIBC=musl there, along with its TMPDIR.
- Add the following to our DISTRO.conf:
  INITRAMFS_MULTICONFIG = "initramfscfg"

  and set
  INITRAMFS_DEPLOY_DIR_IMAGE to the DEPLOY_DIR_IMAGE of the
  initramfscfg multiconfig (hence our main kernel will be
  able to grab it from there and bundle it).

This will result in our musl based initramfs bundled in our
main kernel and our main image to be glibc based.

(From OE-Core rev: 2d317b2685211f1b0d102705a63c0000df96f45f)

Signed-off-by: Alejandro Enedino Hernandez Samaniego <alhe@linux.microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-26 06:27:00 +00:00
Alejandro Hernandez Samaniego
d2abfff682 core-image-tiny-initramfs: Mark recipe as 32 bit ARM compatible
(From OE-Core rev: 68bf897e54d81ea7264f48f960b8435fc6bf7815)

Signed-off-by: Alejandro Enedino Hernandez Samaniego <alhe@linux.microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-26 06:27:00 +00:00
Khem Raj
e7ffa406dc systemd: Forward port musl patches
Redo the header include patch and add fixes for new code.

(From OE-Core rev: 7e35a575ef09a85e625a81e0b4d80b020e3e3a92)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-26 06:27:00 +00:00
Pgowda
603dffc49a glibc : Fix CVE-2021-3999
Upstream-Status: Backport [https://sourceware.org/git/?p=glibc.git;a=commit;h=8c8a71c85f2ed5cc90d08d82ce645513fc907cb6]
Upstream-Status: Backport [https://sourceware.org/git/?p=glibc.git;a=commit;h=472e799a5f2102bc0c3206dbd5a801765fceb39c]

(From OE-Core rev: e9532134b86211801206ff540c4c284f43006f7b)

Signed-off-by: pgowda <pgowda.cve@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-26 06:27:00 +00:00
Pgowda
359fcb9ed2 glibc : Fix CVE-2021-3998
Upstream-Status: Backport [https://sourceware.org/git/?p=glibc.git;a=commit;h=062ff490c1467059f6cd64bb9c3d85f6cc6cf97a]
Upstream-Status: Backport [https://sourceware.org/git/?p=glibc.git;a=commit;h=f7a79879c0b2bef0dadd6caaaeeb0d26423e04e5]

(From OE-Core rev: 20cc83dd8d323d7ea86b3625f4e8da94c160def9)

Signed-off-by: pgowda <pgowda.cve@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-26 06:27:00 +00:00
Khem Raj
21e5b78d9a ffmpeg: Remove --disable-msa2 mips option
This is now deleted option in 5.0+

(From OE-Core rev: e6140f11429e66e7ceadc932f2d6946c1270a19f)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-26 06:27:00 +00:00
wangmy
a65c230037 nfs-utils: upgrade 2.5.4 -> 2.6.1
(From OE-Core rev: 6d8710bc444cd606c26a614560dde0c2cc981af8)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-26 06:27:00 +00:00
wangmy
866774f404 lighttpd: upgrade 1.4.63 -> 1.4.64
0001-mod_extforward-fix-out-of-bounds-OOB-write-fixes-313.patch
removed since it's included in 1.4.64.

with_gdbm, with_memcached
removed since they're not applicable in 1.4.64.

Changelog:
=========
Important changes
 remove deprecated modules, bugfixes, CVE-2022-22707 (rare configs)

Behavior Changes
 (previously announced and scheduled)

 -graceful restart/shutdown timeout changed from 0 (disabled) to 8 seconds
  configure an alternative with:
  server.feature-flags += ("server.graceful-shutdown-timeout" => 8)
  build: lighttpd defaults to -with-pcre2 instead of -with-pcre
  pcre2 is current. pcre is no longer maintained.
  Explicitly specify -with-pcre in build to use pcre instead of pcre2.
 -deprecated modules (previously announced) have been removed
  mod_authn_mysql
  mod_mysql_vhost
  mod_cml
  mod_flv_streaming
  mod_geoip
  mod_trigger_b4_dl
  https://wiki.lighttpd.net/Docs_ConfigurationOptions#Deprecated
  suggests migration steps for replacements, if needed

Changes from 1.4.63
 [core] fix trace issued for loading mod_auth (fixes #3121)
 [meson] need -lrt with glibc < 2.17 (fixes #3120)
 [core] adjust time jump detection (fixes #3123)
 [core] make setrlimit() warn, not fatal
 [core] add remote IP to some error msgs (fixes #3122)
 [mod_webdav] If-None-Match on non-existent entity
 [build] check getxattr before attr_get and -lattr
 [doc] SELinux: setsebool -P httpd_setrlimit on
 [build] create sha512sum file with release
 [build] CI builds now use make -j 2
 [core] http_response_send_file() takes const path
 [core] use ETag response header to check cachable
 [core] add more const to stat_cache_update_entry()
 [multiple] remove r->physical.etag
 [mod_magnet] interface to http_response_send_file
 [build] add headers for sendfile() detect on MacOS
 [core] http_response_write_prepare optimization
 [core] define static_assert for uClibc (fixes #3127)
 [build] -Wno-implicit-fallthrough for ls-hpack
 [core] ignore pcre2 "bad JIT option" warning
 [build] pcre2: use pkg-config before pcre2-config
 [core] http_response_has_error_handler()
 [core] consolidate request restart loop check
 [core] defer retrieving Last-Modified until needed
 [mod_dirlisting] fix logic inversion in cache
 [core] mark expect cond in http_response_send_file
 [core] connection_handle_read_state() tweak
 [core] connection_state_machine_loop() tweaks
 [core] connection_state_machine_h2() tweaks
 [core] quiet coverity noise
 [core] use lower limit for max-fds if !setrlimit
 [build] do not check for prctl; HAVE_PRCTL unused
 [core] server.core-files support on FreeBSD (fixes #3128)
 [mod_extforward] support longer PROXY v2 TLV vec
 [mod_webdav] detect truncated copy_file_range()
 [mod_webdav] copy_file_range() new in FreeBSD 13
 [mod_webdav] copy_file_range() new in FreeBSD 13
 [build] feature consistency between build types
 [build] cmake build now defaults to C11
 [core] CCRandomGenerateBytes() for rand on macOS (fixes #3129)
 [multiple] remove long-deprecated modules
 [build] default -with-pcre2 unless -with-pcre
 [core] "server.graceful-shutdown-timeout" => 8
 [build] adjust trace for regex-conditionals
 [build] update tests/SConscript
 [core] errno_t detection on Illumos
 [build] cmake build now defaults to C11
 [build] meson: find pcre2 w/o pkg-config
 [core] define EXTENSIONS on Illumos
 [build] cmake,meson socket libs for win32, Illumos (fixes #3130)
 [core] hide bsd_accept_filter code on OpenBSD (fixes #3131)
 [core] errno_t and rsize_t detection on Illumos
 [mod_webdav] copy acceleration
 [mod_webdav] define HAVE_RENAMEAT2 earlier
 [build] meson misdetects mempcpy on some platforms
 [build] cmake: skip "-Wl,-export-dynamic" Illumos
 [build] adjust .gitignore for macOS
 [build] meson crypt and dl detection on *BSD (fixes #3133)
 [core] /dev/null is a symlink on Illumos (fixes #3132)
 [core] server.core-files support for solaris (fixes #3135)
 [build] feature consistency between build types
 [build] Haiku build fix (fixes #3136)
 [lemon] silence coverity warnings
 [cmake] raise minimum version to 3.7
 [cmake] add address/undefined sanitize compile options
 [asan tests] fix memory leaks
 [array] use speaking names for array "fn" vtables for better debugging experience
 [ci] add cmake-asan build type
 [core] buffer_copy_string() use "" if s is NULL
 [mod_authn_gssapi] code reuse: fdevent_mkostemp()
 [mod_authn_gssapi] reduce KRB5CCNAME mem alloc
 [build] adjust help strings for pcre2 default
 [core] (const char *) for srvconf.modules_dir
 [multiple] remove buffer_init_string()
 [multiple] remove buffer_init_buffer()
 [mod_extforward] fix out-of-bounds (OOB) write (fixes #3134)
 [build] use -fstack-protector-strong w/ extra warn
 [build] collect Sun-specific headers and funcs
 [build] collect Sun-specific headers and funcs
 [build] rm redundant check for -lnetwork on Haiku
 [build] check headers before some funcs
 [core] allow LISTEN_PID to be ppid if TRACEME (fixes #3137)
 [core] allow tests/tmp/bind.conf override (#3137)
 [mod_webdav] no sys/ioctl.h on _WIN32
 [tests] _WIN32 adjustments in LightyTest.pm
 [tests] revert _WIN32 adjustments in LightyTest.pm
 [mod_gnutls] lift size check out of DN loop
 [mod_mbedtls] lift size check out of DN loop
 [mbedtls] save (mbedtls_ssl_config *) in hctx
 [multiple] permit UTF-8 in SSL_CLIENT_S_DN_*
 [mod_openssl] do not esc UTF-8 in cert subject
 [mod_mbedtls] reconstruct SSL_CLIENT_S_DN
 [mod_mbedtls] changes to build with mbedtls 3.0.0
 [mod_mbedtls] remove use of out_left in mbedtls 3
 [mod_mbedtls] mbedtls_ssl_conf_groups for 3.1.0

(From OE-Core rev: 478f5f30bf783fae513dbe6e8be9af9f6ec8a6a8)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-26 06:27:00 +00:00
wangmy
8cafe95270 python3-libarchive-c: upgrade 3.2 -> 4.0
Changelog:
=========
-BREAKING & SECURITY: The archive extraction functions now pass 3 security flags
 (SECURE_NODOTDOT, SECURE_NOABSOLUTEPATHS and SECURE_SYMLINKS) to libarchive by
 default, unless the current directory is the root.
-BREAKING: The ArchiveEntry properties atime, mtime, ctime, birthtime and size
 now have the value None instead of 0 when they're unset.
-BREAKING: The ArchiveEntry.pathname property now attempts to decode bytes using
 UTF-8. This breaks reading archives that contain file names which look like
 UTF-8 but aren't, if such a thing exists. Proper support of encodings will
 probably be added in the next version.
-Multiple entries from the same archive can now be kept in memory, however only
 the current entry's content can be read.
-The filetype, linkpath, size, mode, redvmajor, redvminor, uid and gid
 attributes of an archive entry can now be modified.
-The four time properties of archive entries now have setters, so for example
 entry.set_mtime(0, 0) can be replaced by entry.mtime = 0.
-Archive entries have 4 new properties: perm, rdev, uname and gname.
-When adding files to an archive, a destination path can now be specified.
-The ArchiveRead class now has a bytes_read property.
-The ArchiveWrite class now has a bytes_written property.
-Python 3.6 is no longer tested.
-The documentation has been improved.

(From OE-Core rev: 9adbc075c5a2b396d991144596fd92ebe16d4154)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-26 06:27:00 +00:00
wangmy
8361d9a87e libwebp: 1.2.1 -> 1.2.2
(From OE-Core rev: 170ba2ab0733d781a95d8120fdfe9eccacee8b89)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-26 06:27:00 +00:00
Tim Orling
5a47f574e3 python3-importlib-metadata: upgrade 4.10.0 -> 4.10.1
v4.10.1
* 361: Avoid potential REDoS in EntryPoint.pattern.

References:
https://github.com/python/importlib_metadata/issues/361

(From OE-Core rev: d7a7e6d640a5b0819be4478aeb0f42d4a4981c89)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-26 06:27:00 +00:00
Tim Orling
079ad95723 python3-pyparsing: upgrade 3.0.6 -> 3.0.7
* Update HOMEPAGE to reflect move to github (in 2018)
* Add DESCRIPTION and BUGTRACKER

This upgrade includes bug fixes and minor enhancements.

For changes, see:
https://github.com/pyparsing/pyparsing/blob/master/CHANGES

(From OE-Core rev: ed87730f9bfc04cba8e37847aa04d433da61e4a7)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-26 06:27:00 +00:00
Tim Orling
3f1ede778d python3-setuptools-scm: upgrade 6.3.2 -> 6.4.2
v6.4.2
* fix #671 : NoReturn is not avaliable in painfully dead python 3.6

v6.4.1
* fix regression #669: restore get_version signature
* fix #668: harden the selftest for distribution extras

v6.4.0
* compatibility adjustments for setuptools >58
* only put minimal setuptools version into toml extra to warn people with old strict pins
* coorectly handle hg-git self-use
* better mercurial detection
* modernize packaging setup
* python 3.10 support
* better handling of setuptools install command deprecation
* consider pyproject.tomls when running as command
* use list in git describe command to avoid shell expansions while supporting both windows and posix
* add --strip-dev flag to python -m setuptools_scm to print the next guessed version cleanly
* ensure no-guess-dev will fail on bad tags instead of generating invalid versions
* ensure we use utc everywhere to avoid confusion

References:
https://github.com/pypa/setuptools_scm/issues/668
https://github.com/pypa/setuptools_scm/issues/669
https://github.com/pypa/setuptools_scm/issues/671

(From OE-Core rev: 3ac37c743470ab778bc47110660f3e1b37c534ba)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-26 06:27:00 +00:00
Tim Orling
6455eae22b python3-hypothesis: upgrade 6.35.0 -> 6.36.0
6.36.0 - 2022-01-19
* This release disallows using typing.Final with from_type() and register_type_strategy().
  - Why? Because Final can only be used during class definition. We don’t generate class attributes.
  - It also does not make sense as a runtime type on its own.

(From OE-Core rev: 5044bb45748887b01e857554976fe1eeb16921dd)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-26 06:27:00 +00:00
Alexander Kanavin
29a14ae59b ruby: do not parallel install
ruby's makefiles are rebuilding several items on every invocation,
even if nothing changed, all of which are factored into libruby.so
and cause it to be relinked as well. This does not seem to affect plain
make invocation, but does cause races in make install:

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

Rather than figure out how to use make properly and convince upstream
of it, let's just do serial installs and file a bug:

https://bugs.ruby-lang.org/issues/18506

(From OE-Core rev: 1dc5cdf683133d210658eba9a619b737ec95cfe3)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-26 06:27:00 +00:00
Markus Niebel
bd947d3343 kmscube: depend on virtual/libgbm
when using vendor supplied OpenGL stacks no virtual/libgbm may be
provided. An example for this is the Vivante stack for i.MX6.
To get better error message in such cases, add dependency.

(From OE-Core rev: 739b3af0bf1422cdabd13ccac8fbcc60b37d2fa4)

Signed-off-by: Markus Niebel <Markus.Niebel@tq-group.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-26 06:27:00 +00:00
Richard Purdie
27ff420543 build-appliance-image: Update to master head revision
(From OE-Core rev: a179485351a0563d12a2fef3e49971122255ed80)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-22 11:28:56 +00:00
Vivien Didelot
9f8e746687 beaglebone-yocto: move kernel and dtb to packagegroup-core-boot
Appending IMAGE_INSTALL with the kernel and device tree is a bad idea
because it will bring these packages to every images, like a container
image or sysroot image to pivot to, where the kernel artifacts are
not wanted.

Instead use the MACHINE_ESSENTIAL_EXTRA_RDEPENDS which results
in having the kernel artifacts where they should be, part of
packagegroup-core-boot.

(From meta-yocto rev: d4cbe0e43393ec70e98caf006372b5311597d377)

Signed-off-by: Vivien Didelot <vdidelot@pbsc.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-21 14:44:27 +00:00
Vivien Didelot
66a76e7cc7 beaglebone-yocto: prefer u-boot
If BBLAYERS contains a layer providing a package for
virtual/bootloader, building for the beaglebone-yocto machine will
fail. Setting u-boot as the preferred provider for virtual/bootloader
ensures u-boot is choosen and the build succeeds.

(From meta-yocto rev: 2ffbaf54f4d88ba251d282c90755ea964d224ba6)

Signed-off-by: Vivien Didelot <vdidelot@pbsc.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-21 14:44:27 +00:00
Zev Weiss
fc9a17ad38 u-boot: Split do_configure logic into separate file
Some auxiliary u-boot recipes may need u-boot properly configured
(including *.cfg additions via bbappends) but aren't necessarily
building u-boot itself; to support such situations, here we split the
u-boot do_configure() out of u-boot.inc and into its own
u-boot-configure.inc.

(From OE-Core rev: e55e6fb4983a41f74c0e457bf54bd8dfa5608daa)

Signed-off-by: Zev Weiss <zev@bewilderbeest.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-20 11:57:29 +00:00
wangmy
18e3554301 btrfs-tools: upgrade 5.15.1 -> 5.16
0001-btrfs-tools-include-linux-const.h-to-fix-build-with-.patch
removed since it is included in 5.16

Add 0001-btrfs-progs-kerncompat-add-local-definition-for-alig.patch
to fix "undefined reference to `__ALIGN_KERNEL'".

Changelog:
=========
 - rescue: new subcommand clear-uuid-tree to fix failed mount due to bad uuid
   subvolume keys, caught by tree-checker
 - fi du: skip inaccessible files
 - prop: properly resolve to symlink targets
 - send, receive: fix crash after parent subvolume lookup errors
 - build:
   fix build on 5.12+ kernels due to changes in linux/kernel.h
   fix build on musl with old kernel headers
 - other:
   error handling fixes, cleanups, refactoring
   extent tree v2 preparatory work
   lots of RST documentation updates (last release with asciidoc sources),
   https://btrfs.readthedocs.io

(From OE-Core rev: 420191dc951f04b36645ffae2d946b50150feab0)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-20 11:57:29 +00:00
Sundeep KOKKONDA
b129c716fc glibc : Fix CVE-2022-23219
Upstream-Status: Backport [https://sourceware.org/git/?p=glibc.git;a=commit;h=226b46770c82899b555986583294b049c6ec9b40]
Upstream-Status: Backport [https://sourceware.org/git/?p=glibc.git;a=commit;h=ef972a4c50014a16132b5c75571cfb6b30bef136]

(From OE-Core rev: 6ad7240c732dd63e74ac32588b92241030c194ae)

Signed-off-by: pgowda <pgowda.cve@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-20 11:57:29 +00:00
Sundeep KOKKONDA
73ff4e0ce1 glibc : Fix CVE-2022-23218
Upstream-Status: Backport [https://sourceware.org/git/?p=glibc.git;a=commit;h=e368b12f6c16b6888dda99ba641e999b9c9643c8]
Upstream-Status: Backport
[https://sourceware.org/git/?p=glibc.git;a=commit;h=f545ad4928fa1f27a3075265182b38a4f939a5f7]

(From OE-Core rev: 83fa93b5fdb10a589bad2a9fc83552df8f1dbf28)

Signed-off-by: pgowda <pgowda.cve@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-20 11:57:29 +00:00
Alexander Kanavin
fd4901288a stress-ng: upgrade 0.13.09 -> 0.13.10
(From OE-Core rev: 5a9cadd4af3aba5426d1a2127b66d026f99a3538)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-20 11:57:29 +00:00
Alexander Kanavin
2c136b6875 repo: upgrade 2.19 -> 2.20
(From OE-Core rev: 340760a7817e109ef98d9de2878cf3e6c15444ef)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-20 11:57:29 +00:00
Alexander Kanavin
0b630e28a1 libunistring: update 0.9.10 -> 1.0
Delete patches, as one is a backport, another patches code that upstream removed.

License-Update: license changed to gplv2+
https://git.savannah.gnu.org/gitweb/?p=libunistring.git;a=commitdiff;h=87f797a50b854a4a2231203c25adbcec4f0dcd05

(From OE-Core rev: 32d2479782c7577352150ea1e3e6d2d48dad2eb0)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-20 11:57:29 +00:00
Alexander Kanavin
b6a9eb01a5 p11-kit: update 0.24.0 -> 0.24.1
(From OE-Core rev: d347e422ea815fcb4e6adad973d9d35b6eba39d4)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-20 11:57:29 +00:00
Alexander Kanavin
5ecb96d56f ffmpeg: upgrade 4.4.1 -> 5.0
libavresample has been removed; libswresample is the replacement.

(From OE-Core rev: 5555bca01750024a786a1f78d573d02f12b45686)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-20 11:57:29 +00:00
Alexander Kanavin
725ceea724 liburcu: upgrade 0.13.0 -> 0.13.1
(From OE-Core rev: b3e6dd66ec62dcca8594e0e43f76f14d2222b738)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-20 11:57:29 +00:00
Alexander Kanavin
9afbfa3226 libsoup: upgrade 3.0.3 -> 3.0.4
(From OE-Core rev: b8abf4ebfe90099e3ca69f3f7ccf4e6efba5084e)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-20 11:57:29 +00:00
Alexander Kanavin
132d2c86fb diffoscope: upgrade 199 -> 200
(From OE-Core rev: 72a39ff2a23b8dbee32715d18afcb258f4005510)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-20 11:57:29 +00:00
Alexander Kanavin
0dd5096247 webkitgtk: upgrade 2.34.2 -> 2.34.3
(From OE-Core rev: cf81bcb6363362580ec2c230e9872211e9079879)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-20 11:57:29 +00:00
Alexander Kanavin
cb93234044 puzzles: upgrade to latest revision
(From OE-Core rev: 617c931a21d86e0067cc16688c0fc460443969a9)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-20 11:57:29 +00:00
Alexander Kanavin
851edf4ebc xwayland: upgrade 21.1.3 -> 21.1.4
(From OE-Core rev: caa2e927b273d67d116674c495de67f6374a45b0)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-20 11:57:29 +00:00
Alexander Kanavin
dbf8434229 libinput: upgrade 1.19.2 -> 1.19.3
(From OE-Core rev: 0921d3747238b6131ad6945633a5ced2a88f09fb)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-20 11:57:29 +00:00
Alexander Kanavin
ca7b0e7b15 piglit: upgrade to latest revision
(From OE-Core rev: 452fbc4dca7ab5a8c93e19bf366ce43da4cc3262)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-20 11:57:29 +00:00
Alexander Kanavin
da67b19283 rpcsvc-proto: upgrade 1.4.2 -> 1.4.3
(From OE-Core rev: 8c08b06f43879e8a9575ff33f0d26bb3673f710b)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-20 11:57:29 +00:00
Alexander Kanavin
ca9cb6e4ee pigz: upgrade 2.6 -> 2.7
(From OE-Core rev: 556b9208ba182143c33d29225d8aba84654231e1)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-20 11:57:29 +00:00
Alexander Kanavin
051dda511b vala: upgrade 0.54.4 -> 0.54.6
(From OE-Core rev: 69b7a80addb2febbc4a9cc6243135650abd25faf)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-20 11:57:29 +00:00
Alexander Kanavin
67d4b8e131 python3-ruamel-yaml: upgrade 0.17.19 -> 0.17.20
License-Update: copyright years

(From OE-Core rev: 102889bbfe8f45e427a4b0727486475dcbef3d26)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-20 11:57:29 +00:00
Alexander Kanavin
c24135c996 python3-pyrsistent: upgrade 0.18.0 -> 0.18.1
License-Update: copyright years

(From OE-Core rev: 26372197c6b2cbed0b93e2cc7228d6c2ac8b102e)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-20 11:57:29 +00:00
Alexander Kanavin
9d5f5c2254 python3-pygments: upgrade 2.11.1 -> 2.11.2
(From OE-Core rev: b5b0deb5450aa2752a758ce07ec1f64a2ac00f97)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-20 11:57:29 +00:00
Alexander Kanavin
87bac76675 mtools: upgrade 4.0.36 -> 4.0.37
(From OE-Core rev: 9dda413644cc04f25871674a6023e61d2dd8e484)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-20 11:57:29 +00:00
Alexander Kanavin
4000afbeb4 e2fsprogs: upgrade 1.46.4 -> 1.46.5
Remove patch as upstream addressed the issue.

(From OE-Core rev: cf11425c460ee4ff6b7ac0221a21b13b2d2b7e1e)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-20 11:57:29 +00:00
Alexander Kanavin
64e0f14a56 shadow: upgrade 4.10 -> 4.11.1
License-Update: license clarified to BSD-3-Clause only

(From OE-Core rev: 79201206b5f7867ad7ffd462705f34179b33c0d7)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-20 11:57:29 +00:00
Alexander Kanavin
11b1b4b29c go: upgrade 1.17.5 -> 1.17.6
(From OE-Core rev: f48e276ec340acc1c086dff3d18f92d822e31351)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-20 11:57:29 +00:00
Alexander Kanavin
078a1a64ed socat: upgrade 1.7.4.2 -> 1.7.4.3
(From OE-Core rev: 2c51c702a3036f641d34d00123d359fc34e96cf7)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-20 11:57:29 +00:00
Alexander Kanavin
464c3e59c6 readline: upgrade 8.1 -> 8.1.2
(From OE-Core rev: b3358fc1145fb7ac6745b91d1b8934fedcee03fa)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-20 11:57:29 +00:00
Alexander Kanavin
e5ce164931 rust: update 1.57.0 -> 1.58.0
(From OE-Core rev: 43895e2967b2c80f4ee353b33ffe422ea7590ff1)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-20 11:57:29 +00:00
Alexander Kanavin
1039ad104e sqlite: update 3.37.1 -> 3.37.2
(From OE-Core rev: e77c5d7ca59545f99d3bbacd0bac13df061b9a40)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-20 11:57:29 +00:00
Alexander Kanavin
c87a3b92ac logrotate: update 3.18.1 -> 3.19.0, drop rotate-across-filesystems patches
Upstream review and request to address it got no reaction
from the author, and the patches are an ongoing rebase burden,
so if someone needs this feature, please complete
the upstreaming work first.

(From OE-Core rev: c748945e9c91eb2b83b8a44828f35579bcd09146)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-20 11:57:29 +00:00
Alexander Kanavin
0b1dc4e3d4 python3: update 3.10.1 -> 3.10.2
License-Update: copyright years

(From OE-Core rev: d6515a7f58d0405efea21e3be4158681ed9edbe6)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-20 11:57:28 +00:00
Alexander Kanavin
e6d9cc20a2 systemd: update 250.1 -> 250.3
(From OE-Core rev: 4d3d6c0093113166df2b395f0c2f1e833e84a093)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-20 11:57:28 +00:00
Alexander Kanavin
d072d02acd resolvconf: update 1.87 -> 1.91
Drop patch as issue resolved upstream.

(From OE-Core rev: a8accf2a042f8a8cbba350c6de20152efeddd747)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-20 11:57:28 +00:00
Alexander Kanavin
8dafdda77d libuv: update 1.42.0 -> 1.43.0
(From OE-Core rev: e2fcc4e5d17a1a11ffc13669bbdfc321a618ab86)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-20 11:57:28 +00:00
Alexander Kanavin
14e27297f4 efivar: update 37 -> 38
Drop determinism.patch, resolved by
641a162654

Drop no-werror.patch, can now be replaced by ERRORS= in make invocation.

Add a patch to efibootmgr to address build failures with new version.

(From OE-Core rev: 60665cdd6b1bbed29b919328ab34827c055ed729)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-20 11:57:28 +00:00
Alexander Kanavin
80a6e76eb4 meson: update 0.60.3 -> 0.61.1
Backport patches to epiphany/gcr/g-i to address failures with new meson.

(From OE-Core rev: 2ab302edc33681f94b2cd85b564f6feebe154392)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-20 11:57:28 +00:00
Alexander Kanavin
bc0c43cf16 meson: fold nativesdk into the main recipe
This allows automated version updates when possible, and reduces friction in manual ones.

(From OE-Core rev: 54d4a767ab7beaa64cfc4c221317ea03b0b119ab)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-20 11:57:28 +00:00
Richard Purdie
4f24d5daa6 build-appliance-image: Update to master head revision
(From OE-Core rev: ecb61b36938754cf925bf58aad3edf7346deced0)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-19 23:04:08 +00:00
Richard Purdie
2a5dcb0662 crate-fetch: Switch to version contained in bitbake
This avoids various sstate fetch errors from weird silent failures in the sstate
archive testing code caused by lack of srcrev support in the crate fetcher.

(From OE-Core rev: 8205668a339946974b4460cf1ca7e6e7a645479b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-19 23:03:44 +00:00
Richard Purdie
cf43eccc5c abi_version: Bump HASHEQUIV_HASH_VERSION
After the changes to the native outhash files to ensure populate_sysroot for
native recipes correctly accounts for runtime dependencies, this doesn't reset
the target output namespace and means reproducibility issues are still triggering
on our test infrastructure.

Bump the version being used for hashequiv to ensure we avoid these issues with
a new namespace.

(From OE-Core rev: 3510caa7245d1993b2dc54c7bf2c7a884dd10c88)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-19 23:03:44 +00:00
Richard Purdie
77f08932f4 sstate: Improve failure to obtain archive message/handling
The bb.fatal() case where sstate failed to find/use an archive in setcene tasks
is suboptimal. Bitbakes handling of setscene tasks will be to warn but the fatal
will turn this into an error, despite the real task being rerun.

In these failure cases other messages would usually have been printed so turn
this into a warning and raise a handled exception status so that bitbake knows
to fail the task but not print more messages.

(From OE-Core rev: 7875baeca7a3ed216b2442fb8771e51efbfa5a4f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-19 23:03:43 +00:00
Richard Purdie
911cdf8619 sstate: Show better exception information for failures
Errors like

SState: cannot test file://universal/5f/10/sstate:m4-native:x86_64-linux:1.4.19:r0:x86_64:7:5f108b175274798b17950b5ee686bf61445e90fb204d7f795e5b879b5603e88b_deploy_source_date_epoch.tar.zst: 'GIT_SSL_CAINFO'

aren't useful, try and improve on this.

(From OE-Core rev: 1701d40536db098adb26508799bae13733f1a6fd)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-19 23:03:43 +00:00
Richard Purdie
12c76723fb bitbake: fetch2: Add crate fetcher
This imports the crate fetcher from OE-Core to resolve various module issues
and adds some very very basic tests of that new fetcher.

(Bitbake rev: 1f06f326fa8b47e2a4dce756d57a9369a2225201)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-19 23:03:43 +00:00
Richard Purdie
e222be0638 bitbake: build: Tweak exception handling for setscene tasks
If an unexpected exception occurs in a setscene task, it is currently hidden
from the user and not recorded in any logs. This isn't helpful to debug
such failures.

Change the code so that even in the "silent" or "quiet" task case (setscene
tasks), a warning is shown with the traceback unless it was an "handled"
exception. This means the failing function can show it's own warning/error
instead if it wants to and then raise a handled event.

(Bitbake rev: 41dcdc61eb40def8c14a42e8d7bb9ce5a34afa57)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-19 23:03:43 +00:00
Richard Purdie
e4d21837cd build-appliance-image: Update to master head revision
(From OE-Core rev: e02fd3dd8dc64b7a0246cceff062e227924f62ff)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-19 10:41:13 +00:00
Ross Burton
674fd536bc oeqa/runtime/stap: increase buffer size
We're seeing random failures in the SystemTap tests in qemuarm on kernel
5.10. This might be related to the buffer between user and kernel space
being too small, so explicitly set the size.

If this cures the problem it should be considered a workaround and not
the solution.

[ YOCTO #14673 ]

(From OE-Core rev: 04c622387ea78920fdb9754fa977883cd6d621a4)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-19 10:41:01 +00:00
Richard Purdie
c4c77bd844 expat: Simplify ptest-runner
Upstream mentioned our ptest-runner could likely be simplified. I had a
look at the output and yes, most of the code in the runner is now obsolete
as upstream output is compatible with what we need. Simplify accordingly.

(From OE-Core rev: 9a9f0a4a062a3c2adf2ac75b4fcdedbb7168335b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-19 10:41:01 +00:00
Changhyeok Bae
831626f855 iproute2: update 5.15.0 to 5.16.0
0001-lib-fix-ax25.h-include-for-musl.patch is the fix for musl and comes
from upstream.

(From OE-Core rev: 01db27399073804b88a38beb0ecd4c151faf3471)

Signed-off-by: Changhyeok Bae <changhyeok.bae@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-19 10:41:01 +00:00
Denys Dmytriyenko
6b746d75cf mtd-utils: upgrade 2.1.3 -> 2.1.4
https://lore.kernel.org/all/c31dba4f-42a8-ba48-7df2-b56bf4699a4c@sigma-star.at/t/

Roughly half a year after the last release, this is a smaller, patch level
release that primarily consists of a hand full of fixes that have accumulated
since then.

This includes some fixes regarding the user space ports of mtd-tests using the
wrong page size, and most recently a fix regarding a missing jffs2 kernel header
in the last release tarball, causing build failures on some systems.

Changes from 2.1.3 to 2.1.4:

Features:
      - ubiscan debugging and statistics utility

Fixes:
      - Some mtd-tests erroneously using sub-pages instead of the full page size
      - Buffer overrun in fectest
      - Missing jffs2 kernel header in the last release, leading to build
        failures on some systems.

(From OE-Core rev: e2102d25a1ca789d6cf90f68cece5a63c711c25c)

Signed-off-by: Denys Dmytriyenko <denis@denix.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-19 10:41:01 +00:00
Richard Purdie
c3f50f747c bitbake: doc: Drop BB_STAMP_POLICY/BB_STAMP_WHITELIST
These variables were removed from the codebase, update the docs to match.

(Bitbake rev: 32180d5057c818a69987aada482e82acf3c72ef2)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-18 11:03:39 +00:00
wangmy
e25fee2ff8 strace: upgrade 5.15 -> 5.16
License-Update: year updated to 2022.

Changelog:
=========
Improvements
-----------
-Implemented --secontext=mismatch option to find mismatches in SELinux contexts.
-Implemented decoding of futex_waitv syscall introduced in Linux 5.16.
-Implemented decoding of BPF_LINK_GET_NEXT_ID and BPF_LINK_GET_FD_BY_ID bpf
 syscall commands.
-Enhanced decoding of BPF_MAP_CREATE, BPF_PROG_TEST_RUN, and BPF_PROG_LOAD
 bpf syscall commands.
-Enhanced decoding of BTRFS_IOC_FS_INFO ioctl command.
-Updated lists of AUDIT_*, BPF_*, BTRFS_*, DEVCONF_*, FAN_*, ETH_P_*,
 IPV4_DEVCONF_*, KVM_*, NDA_*, SO_*, and V4L2_* constants.
-Updated lists of ioctl commands from Linux 5.16.

Bug fixes
---------
-Fixed build for older Android.

(From OE-Core rev: e213db717fa274db6dcab6f0b6b0728a87b8d803)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-18 10:53:54 +00:00
wangmy
30260fcccf python3-numpy: upgrade 1.22.0 -> 1.22.1
License-Update: year updated to 2022.

Changelog:
=========
The NumPy 1.22.1 is maintenance release that fixes bugs discovered after
the 1.22.0 release. Notable fixes are:

Fix f2PY docstring problems
Fix reduction type problems
Fix various typing bugs.
The Python versions supported for this release are 3.8-3.10.

(From OE-Core rev: 7e42e8bbe4eb97316201640b43cafbbaf916e6e5)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-18 10:53:54 +00:00
wangmy
bc3bdb1c0f python3-git: upgrade 3.1.24 -> 3.1.26
Changelog:
=========
Fixes a leaked file descriptor when reading the index, which would cause make
writing a previously read index on windows impossible.
See https://github.com/gitpython-developers/GitPython/issues/1395 for details.

(From OE-Core rev: d0f3d4b0da85ee8d46c6aa069c9bcbceb4f4edf5)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-18 10:53:54 +00:00
wangmy
6eb37d895f mesa: upgrade 21.3.3 -> 21.3.4
Changelog:
==========
Bug fixes
---------
i965: gen5 exposes EXT_texture_integer incorrectly
[radeonsi, regression, bisected]: Rendering issues with Factorio
mesa >= 21.x (with llvmpipe) will break the game JVGS
Panfrost - RK3399 - FACTORIO - glitches everywhere
Baldurs Gate 3 (Patch 6) - ribbon-like artifacts on textures
Game Starsector crashes under certain circumstances with mesa 21.3.+
FreeSpace models incorrectly rendered on Polaris cards, causing system freeze
Incomplete evaluation of nested DEFINE macros
[r300g, bisected] piglit glsl-fs-discard-04 fails
Panfrost G52 Firefox terrible glitches on youtube playback

Changes
-------
pan/bi: Fix load_const of 1-bit booleans
gallium/util: Add pixel->blocks box helper
lima,panfrost: Correct pixel vs block mismatches
radv: Set optimal copy alignment to 1.
microsoft/compiler: Fix dxil_nir_create_bare_samplers()
ir3/ra: Fix logic bug in compress_regs_left
ir3: Bump type mismatch penalty to 3
aco: don't allow SDWA on VOP3P instructions
aco: validate VOP3P opsel correctly
tu: fix workaround for depth bounds test without depth test
intel/genxml/gen4-5: fix more Raster Operation in BLT to be a uint
crocus: fail resource allocation properly.
freedreno/afuc: Disable the disassembler on 32-bit builds.
i915g: Turn off FP16 in the vertex shaders.
r300: Fix omod failing to increase the number of channels stored.
nir_to_tgsi: Fix a bug in TXP detection after backend lowering.
pick_status.json: Update to 8a78706643ecad8a1f303cc9358873abc29978b4
pick_status.json: Mark 00bea38242d97e7ace1954f1bc7d32cbf0ce3ee0 as denominated
pick_status.json: Mark 2a0253b9b5d21c7571555abe3a1d851468a18740 as denominated
r300: fix handling swizzle in transform_source_conflicts
intel/compiler/test: Fix build with GCC 7
i965: Disable EXT_texture_integer on Gfx4 and Gfx5
Revert "anv: Stop doing too much per-sample shading"
anv: don't leave anv_batch fields undefined
anv: limit compiler valid color outputs using NIR variables
intel/dev: fixup chv workaround
etnaviv: initialize vertex attributes on context reset
etnaviv: drm: fix size limit in etna_cmd_stream_realloc
etnaviv: drm: properly handle reviving BOs via a lookup
zink: fix -Warray-bounds warning
radv: fix xfb query copy param ordering
zink: always unset vertex shader variant key data when changing last vertex stage
zink: add extra synchronization for buffer descriptor binds
zink: use device-local heap for sparse backing allocations
r300: Remove broken optimization in rc_transform_KILL
radeonsi/gfx8: use the proper dcc clear size
vbo/dlist: fix loopback crash
vbo/dlist: add vertices to incomplete primitives
radeonsi/gfx10: fix si_texture_get_offset for mipmapped tex
glapi: should not add alias function to static_data.py
aco: remove pack_half_2x16(a, 0) optimization
intel/fs: OpImageQueryLod does not support arrayed images as an operand
v3dv: Hotfix: Rename remaining V3DV_HAS_SURFACE->V3DV_USE_WSI_PLATFORM
radv: add drirc radv_disable_htile_layers and enable it for F1 2021
iris: unref syncobjs and free r/w dependencies array for slab entries
mesa: free idalloc storage for display lists
mesa: free vbo_save_vertex_list store prims
glsl/glcpp: make sure to expand new token after concatenation
venus: subtract appended header size in vn_CreatePipelineCache
Fix compilation on armv7l with gcc 11.2.0

(From OE-Core rev: 3cdb743ec048aa06c10e0da0fb3feb1ca740b6e2)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-18 10:53:54 +00:00
wangmy
6003f027af hdparm: upgrade 9.62 -> 9.63
Changelog:
=========
new --sanitize-overwrite-passes flag
applied "Plurals patch"

(From OE-Core rev: bfba997662ca92bac4d1106e223dd2ecc9b2f24e)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-18 10:53:54 +00:00
wangmy
3fa9789dee libsdl2: upgrade 2.0.18 -> 2.0.20
0001-Fix-build-against-wayland-1.20.patch
removed since it is included in 2.0.20

License-Update: year updated to 2022.

Changelog:
=========
General:

SDL_RenderGeometryRaw() takes a pointer to SDL_Color, not int.
You can cast color data in SDL_PIXELFORMAT_RGBA32 format
(SDL_PIXELFORMAT_ABGR8888 on little endian systems) for this parameter.
Improved accuracy of horizontal and vertical line drawing when using OpenGL
or OpenGLES
Added the hint SDL_HINT_RENDER_LINE_METHOD to control the method of line
drawing used, to select speed, correctness, and compatibility.
Fixed hotplug controller detection, broken in 2.0.18

(From OE-Core rev: 21de64185beb799aee04dc12ae84e3a60cc671a3)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-18 10:53:54 +00:00
Marek Vasut
348dd6d628 u-boot: upgrade 2021.10 -> 2022.01
(From OE-Core rev: d9ff458e88fe764686e4df31faff9e74d5c490b7)

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Alexander Kanavin <alex.kanavin@gmail.com>
Cc: Alexandre Belloni <alexandre.belloni@bootlin.com>
Cc: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-18 10:53:54 +00:00
Kevin Hao
3446475c97 tune-cortexa73: Introduce cortexa73-crypto tune
The crypto extension is optional for the Cortex-A73 processor, so we
shouldn't enable the crypto by default for the cortexa73 tune.
Introduce the cortexa73-crypto for the processors which do have
the cryptography unit.

(From OE-Core rev: c16b31ebd626d8a314264605d0bc5ab008cddd8d)

Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-18 10:53:54 +00:00
Michael Opdenacker
b8a4cec3f4 bitbake: doc: bitbake-user-manual: expand BB_HASHSERVE explanations
(Bitbake rev: 143070a647b7db902a68d81f0b488e45e4d3f6bb)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-18 10:27:52 +00:00
Quentin Schulz
776fc5fc46 bitbake: doc: bitbake-user-manual: specify the URL to be used with SSH over git is different from git clone's
The URL expected by git fetcher when the SSH protocol is used differs
from the one given by Git servers to be used with the `git clone`
command.

Add a note making this specificity known to users.

Cc: Quentin Schulz <foss+yocto@0leil.net>
(Bitbake rev: 81c09d434aed13fcfc4ba426ae6a0b849447eb5f)

Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-17 21:54:00 +00:00
Richard Purdie
88764cc5c8 expat: Drop unneeded libtool patch, we use cmake
This patch is old. We use cmake for building expat now and libtool isn't even
used. The upstream author asked questions about it and can clearly be dropped
so do so.

(From OE-Core rev: 2988a10ac4767ef8db21715124dda6f294448d2a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-17 17:56:46 +00:00
Changqing Li
4974da63c7 pigz: fix one failure of command "unpigz -l"
Refer [1], "unpigz -l" failed with error:
$ ./unpigz -l test.txt.gz
compressed original reduced name
228799 209715200 99.9% test.txt
unpigz: can't destroy locked resource (pigz.c:2622:mutex_destroy)
unpigz: abort: internal threads error

or

$ ./unpigz -l test.txt.gz
unpigz: skipping: test.txt.gz unrecognized format
unpigz: can't destroy locked resource (pigz.c:2622:mutex_destroy)
unpigz: abort: internal threads error

[1] https://github.com/madler/pigz/issues/96

(From OE-Core rev: 856d9e07e60b6f85681782107934a1bdc12c6429)

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-17 17:56:46 +00:00
Ross Burton
3b52dee71b lighttpd: backport a fix for CVE-2022-22707
Backport the fix for CVE-2022-22707, a buffer overflow in mod_extforward.

(From OE-Core rev: 7758596613cc442f647fd4625b36532f30e6129f)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-17 17:56:46 +00:00
Ross Burton
40c56a5019 vim: update to include latest CVE fixes
Update the version to 4.2.4118, which incorporates the following CVE
fixes:

- CVE-2021-4187
- CVE-2022-0128
- CVE-2022-0156
- CVE-2022-0158

Also remove the explicit whitelisting of CVE-2021-3968 as this is now
handled with an accurate CPE specifying the fixed version.

(From OE-Core rev: 764519ad0da6b881918667ca272fcc273b56168a)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-17 17:56:46 +00:00
Michael Opdenacker
e1ce6432f9 dev-manual: stop mentioning nightly builds
While nightly builds are still run, they only produce
test files and reports. They are no longer a solution
to use the latest code.

(From yocto-docs rev: ace9f81ade851bb1b0d98a050007fffbc62b938d)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-17 11:59:50 +00:00
Michael Opdenacker
d8ddafdbff ref-manual: Drop TUNEABI, TUNEABI_WHITELIST, TUNEABI_OVERRIDE
Following their removal from openembedded-core

(From yocto-docs rev: bf98f5a15c33e75315cd14e653f253ef078da614)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-17 11:59:50 +00:00
Tim Orling
6d0dd8a635 ref-manual/classes.rst: add setuptools3-base
Add setuptools3-base class

Deprecate distutils3* classes.

[YOCTO #14610]

(From yocto-docs rev: 0e9838e5a2096932d081a9a05a25c4fa0d6dc714)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-17 11:59:50 +00:00
Tim Orling
9d9a50aa14 ref-manual/variables.rst: add SETUPTOOLS_*_ARGS
Add SETUPTOOLS_BUILD_ARGS variable which can be used to pass additional
arguments to `setup.py build`.

Add SETUPTOOLS_INSTALL_ARGS variable which can be used to pass
additional arguments to `setup.py install`.

[YOCTO #14610]

(From yocto-docs rev: 4e8c911b73f511f1fb7b557f12d5c87129bc2593)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-17 11:59:50 +00:00
Tim Orling
7018f99223 ref-manual/variables.rst: add SETUPTOOLS_SETUP_PATH
Add SETUPTOOLS_SETUP_PATH for setuptools3 class.

Deprecate DISTUTILS_SETUP_PATH and drop mention of ref-classes-setuptools3 as
that class has moved to new variable.

[YOCTO #14610]

(From yocto-docs rev: 6a314a9217206f572289b484e59076483391868c)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-17 11:59:50 +00:00
Michael Opdenacker
fc30301d4c manuals: simplify references to class sections
Replace
":ref:`classname.bbclass <ref-classes-classname>`" section
by
":ref:`ref-classes-classname`" section
because each section has "classname.bbclass" as title,
therefore the result is the same.

(From yocto-docs rev: e3f438e4a71b155bd09bc7988c8e5626a063fde3)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Reviewed-by: Quentin Schulz <foss+yocto@0leil.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-17 11:59:50 +00:00
Michael Opdenacker
8dbd3a1757 migration-guides: prepare for release 3.5
(From yocto-docs rev: e0bef3c086645127b743d127b8f6e8925138b9dd)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-17 11:59:50 +00:00
Richard Purdie
d34e86652f expat: Upgrade 2.4.2 -> 2.4.3
Primarily a security fix release which includes:

    CVE-2021-45960
    CVE-2021-46143
    CVE-2022-22822
    CVE-2022-22823
    CVE-2022-22824
    CVE-2022-22825
    CVE-2022-22826
    CVE-2022-22827

(From OE-Core rev: 9dbd9540f3e19d92ef38c8537792bd028ed174ad)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-17 11:49:12 +00:00
Tim Orling
8b4d785745 python3-hypothesis: upgrade 6.34.1 -> 6.35.0
6.35.0 - 2022-01-08¶
This release disallows using typing.ClassVar with from_type() and register_type_strategy().

Why? Because ClassVar can only be used during class definition. We don’t generate class attributes.

It also does not make sense as a runtime type on its own.

6.34.2 - 2022-01-05¶
This patch updates our vendored list of top-level domains, which is used by the provisional domains() strategy.

(From OE-Core rev: 836cec0b8096f157ae7051d34efbe637ff211617)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-17 11:49:12 +00:00
Kai Kang
310fe1261d speex: fix CVE-2020-23903
Backport patch to fix CVE-2020-23903.

CVE: CVE-2020-23903

(From OE-Core rev: b8f56e5e9eef32c1e01742f913e205d93548de1f)

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-17 11:49:12 +00:00
Kai Kang
63099553f6 multilib.bbclass: set rpm file color for 32-bit multilib image
The default rpm file color is 2 that Elf64 is preferred according to
OE-Core commit 56fa74497393a10f751d01c600c1936761e00294. For 32-bit
multilib image such as lib32-core-image-sato, Elf32 should be preferred.
Set it in multilib.bbclass.

(From OE-Core rev: 195f4a648251e53ed3070e060ad3e3f3832793e3)

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-17 11:49:12 +00:00
Marek Vasut
bf28cf6825 bootchart2: Add missing python3-math dependency
Without this dependency, generating the bootchart may fail with:
"
ModuleNotFoundError: No module named 'random'
"

(From OE-Core rev: 487e9f16a00f895159b79f1865fe8b626b47ddc2)

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Mingli Yu <mingli.yu@windriver.com>
Cc: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-17 11:49:12 +00:00
Joshua Watt
85b520587c classes/native: Propagate dependencies to outhash
Native task outputs are directly run on the build system during the build
after being built. Even if the output of a native recipe doesn't change, a
change in one of its dependencies may cause a change in the output it
generates (e.g. rpm output depends on the output of its dependent zstd
library).

This can cause poor interactions with hash equivalence, since this
recipe's output-changing dependency is "hidden" and downstream tasks only
see that this recipe has the same outhash and therefore is equivalent.
This can result in different output in different cases and issues with
reproducible builds in parcular (e.g. rpm compression changes for the same
content).

To resolve this, unhide the output-changing dependency by adding it's
unihash to this tasks outhash calculation. Unfortunately, we don't know
specifically know which dependencies are output-changing, so we have to
add all of them.

[YOCTO #14685]

(From OE-Core rev: d6c7b9f4f0e61fa6546d3644e27abe3e96f597e2)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-17 11:49:11 +00:00
Bruce Ashfield
02f87fc04e linux-yocto-rt/5.15: update to -rt22
Integrating the following commit(s) to linux-yocto-rt/5.15:

    799919ec2113 v5.15.5-rt22
    4745560a36e7 v5.15.3-rt21
    9b4d36e0fbeb v5.15.2-rt20
    d156320aca54 net: sched: gred: dynamically allocate tc_gred_qopt_offload
    d36603e0d213 v5.15.2-rt19
    7ddf3a205fa3 mm/vmalloc: Remove unused `cpu' variable.
    3f8e7f777049 v5.15.2-rt18
    7b0fd383bb9a printk: fixup -stable merge to -rt

(From OE-Core rev: 7a1a3dcae9f22a05baf11900231d28cf3d8f53ee)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-15 16:23:24 +00:00
Bruce Ashfield
49c61fc872 linux-yocto/5.10: update to v5.10.91
Updating linux-yocto/5.10 to the latest korg -stable release that comprises
the following commits:

    df395c763ba0 Linux 5.10.91
    674071c9eb26 Input: zinitix - make sure the IRQ is allocated before it gets enabled
    ef81f7d406c2 ARM: dts: gpio-ranges property is now required
    f63fa1a0d4df ipv6: raw: check passed optlen before reading
    cf07884e6bec drm/amd/display: Added power down for DCN10
    10b9ccd0674d mISDN: change function names to avoid conflicts
    dd8a09cfbb99 atlantic: Fix buff_ring OOB in aq_ring_rx_clean
    c2f4bb251eb4 net: udp: fix alignment problem in udp4_seq_show()
    f82b48d1d86b ip6_vti: initialize __ip6_tnl_parm struct in vti6_siocdevprivate
    8c87a83ef891 scsi: libiscsi: Fix UAF in iscsi_conn_get_param()/iscsi_conn_teardown()
    b798b677f94d usb: mtu3: fix interval value for intr and isoc
    498d77fc5e38 ipv6: Do cleanup if attribute validation fails in multipath route
    72b0d14a0a88 ipv6: Continue processing multipath route even if gateway attribute is invalid
    5a7d650bb181 power: bq25890: Enable continuous conversion for ADC at charging
    4f260ea5537d phonet: refcount leak in pep_sock_accep
    61952934608c rndis_host: support Hytera digital radios
    62cbde77d9c1 power: reset: ltc2952: Fix use of floating point literals
    998d157e3b2a power: supply: core: Break capacity loop
    16d8568378f9 xfs: map unwritten blocks in XFS_IOC_{ALLOC,FREE}SP just like fallocate
    aa606b82cdfb net: ena: Fix error handling when calculating max IO queues number
    e7f5480978fd net: ena: Fix undefined state when tx request id is out of bounds
    2de3d961f8e7 sch_qfq: prevent shift-out-of-bounds in qfq_init_qdisc
    4c34d5fd8c96 batman-adv: mcast: don't send link-local multicast to mcast routers
    f403b5f96e9a lwtunnel: Validate RTA_ENCAP_TYPE attribute length
    48d5adb08d60 ipv6: Check attribute length for RTA_GATEWAY when deleting multipath route
    173bfa2782fa ipv6: Check attribute length for RTA_GATEWAY in multipath route
    914420a2a6c5 ipv4: Check attribute length for RTA_FLOW in multipath route
    a8fe915be6c2 ipv4: Check attribute length for RTA_GATEWAY in multipath route
    786a335fef18 ftrace/samples: Add missing prototypes direct functions
    c859c4de0bd7 i40e: Fix incorrect netdev's real number of RX/TX queues
    d0ad64438fb5 i40e: Fix for displaying message regarding NVM version
    32845aa60203 i40e: fix use-after-free in i40e_sync_filters_subtask()
    f7edb6b9438b sfc: The RX page_ring is optional
    2b3f34da0d79 mac80211: initialize variable have_higher_than_11mbit
    16e5cad6eca1 RDMA/uverbs: Check for null return of kmalloc_array
    a7c2cae997db netrom: fix copying in user data in nr_setsockopt
    beeb0fdedae8 RDMA/core: Don't infoleak GRH fields
    3ca132e6b065 iavf: Fix limit of total number of queues to active queues of VF
    396e3016905d i40e: Fix to not show opcode msg on unsuccessful VF MAC change
    7f13d14e563c ieee802154: atusb: fix uninit value in atusb_set_extended_addr
    7db1e245cb71 tracing: Tag trace_percpu_buffer as a percpu pointer
    760c6a625506 tracing: Fix check for trace_percpu_buffer validity in get_trace_buf()
    c1e2da4b3f72 selftests: x86: fix [-Wstringop-overread] warn in test_process_vm_readv()
    384111e12367 f2fs: quota: fix potential deadlock

(From OE-Core rev: 13b53d922df1a53913fbe7a0dfbf2adaedfe5dfd)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-15 16:23:24 +00:00
Bruce Ashfield
40bec23ce0 linux-yocto/5.15: update to v5.15.14
Updating linux-yocto/5.15 to the latest korg -stable release that comprises
the following commits:

    d114b082bef7 Linux 5.15.14
    b8a1293e3850 drm/amd/pm: keep the BACO feature enabled for suspend
    19070d812e13 Revert "drm/amdgpu: stop scheduler when calling hw_fini (v2)"
    b228924bb619 Input: zinitix - make sure the IRQ is allocated before it gets enabled
    1917ace18375 ARM: dts: gpio-ranges property is now required
    2f66e0976b4a userfaultfd/selftests: fix hugetlb area allocations
    ec33da9ae072 ipv6: raw: check passed optlen before reading
    04d945934362 drm/amd/display: Added power down for DCN10
    9b1df8dab312 drm/amd/display: fix B0 TMDS deepcolor no dislay issue
    9964f0840a82 mISDN: change function names to avoid conflicts
    f55383e6b92b drm/amdgpu: put SMU into proper state on runpm suspending for BOCO capable platform
    3c196f056666 drm/amdgpu: always reset the asic in suspend (v2)
    fbabb82b11b4 drm/amd/pm: skip setting gfx cgpg in the s0ix suspend-resume
    80f229009b59 atlantic: Fix buff_ring OOB in aq_ring_rx_clean
    cf8f0e76c4ce net: udp: fix alignment problem in udp4_seq_show()
    294f3fc9dc27 ip6_vti: initialize __ip6_tnl_parm struct in vti6_siocdevprivate
    847050d40dc0 scsi: libiscsi: Fix UAF in iscsi_conn_get_param()/iscsi_conn_teardown()
    6ebb6853108f usb: mtu3: fix interval value for intr and isoc
    12a4c1092ae7 drm/amd/pm: Fix xgmi link control on aldebaran
    31d95ff41cdf drm/amdgpu: fix dropped backing store handling in amdgpu_dma_buf_move_notify
    4ed66cdc542f auxdisplay: charlcd: checking for pointer reference before dereferencing
    8a7520c49994 ipv6: Do cleanup if attribute validation fails in multipath route
    c1de618c95e9 ipv6: Continue processing multipath route even if gateway attribute is invalid
    5aec746bf7f2 power: bq25890: Enable continuous conversion for ADC at charging
    b4391e49ac1d drm/amdgpu: disable runpm if we are the primary adapter
    fa3d8456f7cd fbdev: fbmem: add a helper to determine if an aperture is used by a fw fb
    9ca97a693aa8 phonet: refcount leak in pep_sock_accep
    d57da5185def net ticp:fix a kernel-infoleak in __tipc_sendmsg()
    75d840c0f5d7 gpio: gpio-aspeed-sgpio: Fix wrong hwirq base in irq handler
    7601a265696c rndis_host: support Hytera digital radios
    b381e0f98711 reset: renesas: Fix Runtime PM usage
    550acd770f9f power: reset: ltc2952: Fix use of floating point literals
    be816676f38b power: supply: core: Break capacity loop
    b0e72ba9e520 xfs: map unwritten blocks in XFS_IOC_{ALLOC,FREE}SP just like fallocate
    800f02fa8a51 i2c: mpc: Avoid out of bounds memory access
    e24c6a48c6ea Revert "i2c: core: support bus regulator controlling in adapter"
    43fa0b3639c5 cgroup: Use open-time cgroup namespace for process migration perm checks
    50273128d640 cgroup: Allocate cgroup_file_ctx for kernfs_open_file->priv
    c6ebc3529884 cgroup: Use open-time credentials for process migraton perm checks
    247b6244d40e KVM: x86: Check for rmaps allocation
    a08275570392 EDAC/i10nm: Release mdev/mbase when failing to detect HBM
    3400aa7eda64 md/raid1: fix missing bitmap update w/o WriteMostly devices
    15fb002977f6 net: ena: Fix error handling when calculating max IO queues number
    c4c20dc24e09 net: ena: Fix wrong rx request id by resetting device
    bf8263c71420 net: ena: Fix undefined state when tx request id is out of bounds
    6511f8074b70 sch_qfq: prevent shift-out-of-bounds in qfq_init_qdisc
    9b8bbe489ced batman-adv: mcast: don't send link-local multicast to mcast routers
    9f00a2a0c139 sctp: hold endpoint before calling cb in sctp_transport_lookup_process
    3c5c81d1e350 selftests: net: udpgro_fwd.sh: explicitly checking the available ping feature
    41844e68eb92 lwtunnel: Validate RTA_ENCAP_TYPE attribute length
    ca0097c543fc ipv6: Check attribute length for RTA_GATEWAY when deleting multipath route
    00e8b9f313b2 ipv6: Check attribute length for RTA_GATEWAY in multipath route
    bb471784ca85 ipv4: Check attribute length for RTA_FLOW in multipath route
    72971eaad6ea ipv4: Check attribute length for RTA_GATEWAY in multipath route
    5cb0bd07125f ftrace/samples: Add missing prototypes direct functions
    61169d6c77de i40e: Fix incorrect netdev's real number of RX/TX queues
    7b177d34a123 i40e: Fix for displaying message regarding NVM version
    3f4c2ade4d65 i40e: fix use-after-free in i40e_sync_filters_subtask()
    8fbbc33cf018 sfc: The RX page_ring is optional
    03fb6db4ad61 mac80211: mesh: embedd mesh_paths and mpp_paths into ieee80211_if_mesh
    18b224910edc mac80211: initialize variable have_higher_than_11mbit
    0ea8bb0811ba RDMA/uverbs: Check for null return of kmalloc_array
    6716b40d162f netrom: fix copying in user data in nr_setsockopt
    21a18420ae2d Revert "net: usb: r8152: Add MAC passthrough support for more Lenovo Docks"
    e1e354771812 RDMA/core: Don't infoleak GRH fields
    607f126d4a21 iavf: Fix limit of total number of queues to active queues of VF
    fda95797fc50 i40e: Fix to not show opcode msg on unsuccessful VF MAC change
    deb65735b5b1 ieee802154: atusb: fix uninit value in atusb_set_extended_addr
    c44979ace49b Revert "RDMA/mlx5: Fix releasing unallocated memory in dereg MR flow"
    21f8a3b110f2 tracing: Tag trace_percpu_buffer as a percpu pointer
    be134e7c5b38 tracing: Fix check for trace_percpu_buffer validity in get_trace_buf()
    3cf50a37286c selftests: x86: fix [-Wstringop-overread] warn in test_process_vm_readv()
    ef3047fca111 fscache_cookie_enabled: check cookie is valid before accessing it

(From OE-Core rev: 2e9e7053ee875d6eb43ea8415e2656f1f40add87)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-15 16:23:24 +00:00
Bruce Ashfield
2a703c6f7e linux-yocto/5.10: amdgpu: updates for CVE-2021-42327
Integrating the following commit(s) to linux-yocto/5.10:

    fd84b99a8ccb drm/amd/display: Don't allow partial copy_from_user
    024f4ff63d55 drm/amdgpu: Fix even more out of bound writes from debugfs

(From OE-Core rev: f5488466ea1b332a0bfc0d27dcc5378edd842d16)

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-15 16:23:24 +00:00
Bruce Ashfield
ec33cb876b lttng-modules: update to 2.13.1
Bumping lttng-modules to 2.13.1, which fixes the build against 5.16+
kernels.

We drop two previously backported patches.

The following commits are part of this update:

  8c0aec7e Version 2.13.1
  533556cd fix: mm: move kvmalloc-related functions to slab.h (v5.16)
  2f0087ab fix: block: don't call blk_status_to_errno in blk_update_request (v5.16)
  9b092ff2 fix: KVM: MMU: change tracepoints arguments to kvm_page_fault (v5.16)
  036297af fix: KVM: x86: Get exit_reason as part of kvm_x86_ops.get_exit_info (v5.16)
  a029f2a3 fix: isystem: delete global -isystem compile option (v5.16)
  d82de6f3 fix: block: move block-related definitions out of fs.h (v5.16)
  4fabf854 Fix: syscall tracing: missing trigger actions
  38b35aff Warn on event registration/unregistration failure
  e26f740b fix: implicit-int error in EXPORT_SYMBOL_GPL
  c570be0d fix: Revert "Makefile: Enable -Wimplicit-fallthrough for Clang" (v5.15)
  8be4c8a3 fix: cpu/hotplug: Remove deprecated CPU-hotplug functions. (v5.15)

(From OE-Core rev: 2edeebed4ff172f77e337af82fc1cddc681881df)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-15 16:23:24 +00:00
Bruce Ashfield
044d0d4492 linux-yocto/5.15: fix arm defconfig warnings
Integrating the following commit(s) to linux-yocto/5.15:

    02bf23d26bc4 arm64: defconfig: cleanup config options
    05914e2c87e5 arm: defconfig: drop unused POWER_AVS option

(From OE-Core rev: 40e680de829cf0d394f0c10bb7363604b18a489b)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-15 16:23:24 +00:00
Ross Burton
af01b73f3c oeqa/runtime/stap: rewrite test
There's no need to copy files to the target when stap can take the short
probe directly.

Add more has-package decorators for the kernel source and GCC symlinks.
Remove the test dependencies as it's not a hard dependency.

Change the probe to print a message with some minimal logic, and verify
that the message was correctly constructed in the output.

(From OE-Core rev: 3954dc857df1d2a7e559b4fd357b54f39cf7374a)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-15 16:23:24 +00:00
Ross Burton
c1af5e3819 systemtap: fix vsprintf errors
In some configurations (such as 32-bit arm), using printf() causes
gcc errors.  Backport a patch from upstream to fix this.

(From OE-Core rev: 6340a6477ddf0fee6c18cf99262704a715491f60)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-15 16:23:24 +00:00
Jacob Kroon
b57407fbdf sstate: Preserve permissions when extracting tar archive
This is done by default when tar is run by the superuser, but for native
recipes the corresponding task is not run as root under pseudo, so pass
the flag explicitly.

Suggested-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(From OE-Core rev: 32f01e57e1e915e8121609fb48b0b0254e625957)

Signed-off-by: Jacob Kroon <jacob.kroon@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-15 16:23:24 +00:00
Khem Raj
f1af0c1f97 valgrind: Avoid accessing network in ptest task
Avoid calling docs validation and manpages validation to avoid it

(From OE-Core rev: 4ad8059ae0769285c7b837a62e1b76fbeef4c505)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-15 16:23:24 +00:00
Dmitry Baryshkov
f9f3e1bd3e go: fix building without SECURITY_LDFLAGS
Commit 9985b17a30bb ("go: correctly set debug-prefix-map and build
directory") has changed CGO_LDFLAGS to the manually crafted version of
LDFLAGS to strip out DEBUG_PREFIX_MAP contents.

However this manually crafted version includes ${SECURITY_LDFLAGS}.

If security_flags.inc is not included, the variable is not defined, thus
CGO_LDFLAGS will include the '${SECURITY_LDFLAGS}' literally. When
building the recipe, the build would break with the follwing message:

aarch64-linaro-linux-gcc: error: ${SECURITY_LDFLAGS}: No such file or directory

So, instead of manually specifying variable contents, perform the
expected action: filter offending arguments out of LDFLAGS.

Cc: Alexander Kanavin <alex.kanavin@gmail.com>
(From OE-Core rev: e7d2d68679c1980d9e889d96c3eab49589f5b832)

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-14 09:25:31 +00:00
Richard Purdie
58aa9f8155 sanity: Drop TUNEABI, TUNEABI_WHITELIST, TUNEABI_OVERRIDE
These were added nearly a decade ago but there are no users in OE-Core. I
checked with the likely users and they seem to have no current usage either.
Therefore remove them.

If needed for some prebuilt library somewhere, they could be implemented
in the layer using them instead but I doubt these are in use any longer.

(From OE-Core rev: 95e196babc3c18dcf0aedfb03e85493c8ae54700)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-14 09:25:31 +00:00
Kamil Dziezyk
641149f449 grub-efi: Add xen_boot support when 'xen' is in DISTRO_FEATURES for aarch64
'xen-boot' module is available only for aarch64.

(From OE-Core rev: bfabc6d4f8742cc1fdeb49c180b0f78faf5739a2)

Signed-off-by: Kamil Dziezyk <kamil.dziezyk@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-14 09:25:31 +00:00
Peter Kjellerstedt
3383be190e systemd: Avoid a Python deprecation warning
This avoids the following warning:

  WARNING: .../meta/recipes-core/systemd/systemd_250.1.bb: Var
  <do_install>:1: DeprecationWarning: invalid escape sequence \$

seen when doing `devtool finish --force-patch-refresh systemd meta`.

(From OE-Core rev: 427ca80eb4ea6c607b00028adcc9302e29db1368)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-14 09:25:31 +00:00
Khairul Rohaizzat Jamaluddin
7e3955c3c6 epiphany: update 41.0 -> 41.3
Includes fix patches for epiphany CVE.

CVE: CVE-2021-45085 CVE-2021-45086 CVE-2021-45087 CVE-2021-45088

(From OE-Core rev: 1653e0bd6d26be67a9fd49392d82cf854706bc7b)

Signed-off-by: Khairul Rohaizzat Jamaluddin <khairul.rohaizzat.jamaluddin@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-14 09:25:31 +00:00
Kevin Hao
5867838ce7 tune-cortexa72: Drop the redundant cortexa72-crc tune
We have enabled the crc extension by default for cortexa72 in patch
("tune-cortexa72: Enable the crc extension by default for cortexa72"),
then the cortexa72-crc seems redundant. So drop it. We also rename the
cortexa72-crc-crypto to cortexa72-crypto. With these changes, it will
break the BSPs which used these two tunes, but it should be easy to fix.

(From OE-Core rev: 03cebdd7ef923a8ac5c8b7c12c7cefe7ca0158db)

Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-13 13:57:26 +00:00
Saul Wold
f73e636b0a create-spdx: Add kernel work-shared source
Since the kernel source is stored in work-shared, we need to add it
to the search path so the kernel and kernel-modules source code can
be found correctly.

(From OE-Core rev: 93a94890b9f2679945e96973937b209aa12302b7)

Signed-off-by: Saul Wold <saul.wold@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-13 13:57:26 +00:00
Saul Wold
d756b346f2 package: Add support for kernel stripping
Extend runstrip() to accept additional argument to enable
sharing it with the kernel do_strip() so that
KERNEL_IMAGE_STRIP_EXTRA_SECTIONS can be passed.

Since is_elf() understands kernel modules there is no need to keep a
seperate list for kernmodules or hardcode the values to runstrip.

(From OE-Core rev: e09a8fa931fe617afc05bd5e00dca5dd3fe386e8)

Signed-off-by: Saul Wold <saul.wold@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-13 13:57:26 +00:00
Saul Wold
987d30df5b kernel.bbclass: use common strip()
Re-use the runstrip() code from oe.packaging, for the kernel
stripping process. Since runstrip() is python the kernel do_strip()
need to be converted to Python also. The stripped kernel image
will be used for deployment in do_deploy(). This will allow the
package.bbclass to split an unstripped kernel binary for the debug
information and extended packagedata. The extended package data is
used by create-spdx.

(From OE-Core rev: e8d9caede5f08154ca615fdaba676b7a4ae05b01)

Signed-off-by: Saul Wold <saul.wold@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-13 13:57:26 +00:00
Kevin Hao
5ea171985c armv9a/tune: Add the support for the Neoverse N2 core
This adds the support for the Neoverse N2 core, even though the
Neoverse N2 core implements the Arm v9.0-A architecture, but the support
of it in GCC is based on the Arm v8.5-A architecture. Please see the
commit 50d9db203bc3 ("aarch64: Add support for Neoverse N2 CPU") in GCC
for more detail.

(From OE-Core rev: 37597397f03b6b0082a702147dc536ff8b2fa7a3)

Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-13 13:57:26 +00:00
Kevin Hao
2dfd80bce5 arch-armv8-5a.inc: Add tune include for armv8.5a
This adds support for the armv8.5a architecture and the crypto
extension.

(From OE-Core rev: 0cb1a6d9cb4c32526d79dad93c8053b3793053f8)

Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-13 13:57:26 +00:00
Kevin Hao
cdab88ed71 tune-cortexa72: Enable the crc extension by default for cortexa72
The crc extension is optional for the ARMv8.0 but is mandatory for the
cortexa72, so there is no reason not to enable it for the cortexa72
tune. With this change, the cortexa72-crc seems redundant. But we
had better to keep it to be compatible with the BSP which already used
that tune.

(From OE-Core rev: ca50267ab568d2f688844cb7c6cd867ed34168db)

Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-13 13:57:26 +00:00
Richard Purdie
4eea21b7ad classes: Only allow network in existing network accessing code
Use the newly added network task flag against tasks where network
access is expected. This is do_fetch, do_checkuri, do_testimage, do_testsdk
and do_testsdkext.

We can't disable networking in sstate tasks due to sstate downloads and
also so we can report hash equivalence to the server so network access
is enabled in sstate tasks.

Access within build-appliance do_image is also allowed due to the use
of pip, this is a poor example made rather obvious now and needs to be reworked.

Network access anywhere else in any other task isn't allowed.

(From OE-Core rev: 7ce1e88a3ad85bbb925bb9f7167dc0a5fd1c27f4)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-12 21:10:24 +00:00
Richard Purdie
15465422ec bitbake: runqueue: Drop BB_STAMP_POLICY/BB_STAMP_WHITELIST
The different stamp policies were poor versions of the siggen code and task
hashes, predating it and being used by packaged staging. They had many
limitations, hence their replacement. I'm not aware of any users of that
code any more so I believe it and the assoicated stamp whitelist variable
can simply be removed.

(Bitbake rev: 98407efc8c670abd71d3fa88ec3776ee9b5c38f3)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-12 21:10:24 +00:00
Richard Purdie
607f7b2844 bitbake: bitbake-worker: Add/support network task flag
This patch changes behaviour. After this change any task which does not
have the network flag set will have networking disabled on systems that
support that (kernel version dependent).

Add a "network" task specific flag which then triggers networking to
be enabled for this task, it is otherwise disabled.

This needs to happen before we enter the fakeroot environment of the task
due to the need for the real uid/gid which we save in the parent process.

(Bitbake rev: 0746b6a2a32fec4c18bf1a52b1454ca4c04bf543)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-12 21:10:24 +00:00
Richard Purdie
60d25f278c bitbake: utils: Add disable_network function
Add a function which uses the unshare glibc call to disable networking
in the current process. This doesn't work on older distros/kernels
but will on more recent ones so for now we simply ignore the cases we
can't execute on. uid/gid can be passed in externally so this can
work with pseudo/fakeroot contexts.

(Bitbake rev: 9d6341df611a1725090444f6f8eb0244aed08213)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-12 21:10:24 +00:00
Bruce Ashfield
6a2dfdf27a poky: set default kernel to 5.15
5.14 is no longer actively maintained, so we bump our default
to the 5.15 LTS.

(From meta-yocto rev: 70b3acd078ee2b09a541fc6c4e295b5c2ab386a6)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-12 21:09:02 +00:00
Bruce Ashfield
7031fe7223 yocto-bsp/5.14: drop recipes
5.14 has been removed from core, so we drop our bbappend. 5.15
is now the default kernel version for the reference BSPs.

(From meta-yocto rev: fab1dac8fc7208675ced6386690bcf4249088675)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-12 21:09:02 +00:00
Bruce Ashfield
2fb27b873f yocto-bsp: change default to 5.15
5.14 has been removed from core, so we change our default version
to the 5.15 LTS kernel.

(From meta-yocto rev: a0241305e3785930f806529fd1b1d1a3831203d0)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-12 21:09:02 +00:00
Alexander Kanavin
0089f71043 ruby: update 3.0.3 -> 3.1.0
Turn on "link external modules statically" option
as otherwise ruby installer tries to do additional
building inside installed module directories in do_install
which fails horribly.

License-Update: additional MIT/BSD items

(From OE-Core rev: 4d4485442830bb52b152f0419f4ff9f1d581d46a)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-12 21:09:02 +00:00
Alexander Kanavin
fa7dd5d046 python3: drop unneeded multiprocessing module patch
pthread has been merged into the main libc library
(and was never separate in musl), so separate linking
for it is no longer needed.

I ran the reproducing sequence on qemux86, qemux86_64 and same targets with musl,
and it went fine:

root@qemux86:~# python3
Python 3.10.0 (default, Oct  4 2021, 17:55:55) [GCC 11.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import multiprocessing
>>> pool_sema = multiprocessing.BoundedSemaphore(value=1)
>>> pool_sema.acquire()
True
>>> pool_sema.release()
>>>

(From OE-Core rev: 2eabd3b611f4afa5eafa4490b6b0ef7578b742de)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-12 21:09:02 +00:00
Tim Orling
90bb3644cc rootfs_rpm.bbclass: distutils -> sysconfig module
Change a comment to reference our custom changes to the
sysconfig module, as dnf no longer uses distutils.

[YOCTO #14610]

(From OE-Core rev: b4e351c67cd6af9cabac70cddb67129ca2590222)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-12 21:09:02 +00:00
Tim Orling
26da78a7f5 python3native.bbclass: distutils -> sysconfig
In the comment it says we patch distutils modules, but we now are
patching sysconfig and not using distutils.

[YOCTO #14610]

(From OE-Core rev: 4f196b26d80305366d06ad51f44dd26ce81bea16)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-12 21:09:02 +00:00
Tim Orling
fbc8abea31 dnf: drop python3-distutils dependency
Upstream dropped the now deprecated distutils:
18995d65 Remove distutils which are deprecated in python3.10 (RhBug:1950229)

Usage was replaced with sysconfig, which is in python3-core

[YOCTO #14610]

(From OE-Core rev: 93e9b006007ef1afc79c45b48fd92c9e384ff6cb)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-12 21:09:02 +00:00
Tim Orling
7b43703795 waf.bbclass: drop usage of distutils
Refactor to use bb.utils.vercmp_string_op() instead of StrictVersion
from distutils

[YOCTO #14610]

(From OE-Core rev: d4d57588eb7fcd25caf51450e0d19fc58e35a19d)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-12 21:09:02 +00:00
Tim Orling
fe86a14649 recipetool/create_buildsys_python.py: less distutils
'distutils' is deprecated in Python 3.10 with removal in Python 3.12
(~October 2023). Replace 'distutils.command.build_py' with
'setuptools.command.build_py'.

To avoid an AttributeError, we call super().__init__() which provides
the missing 'distribution' attribute. However, for some reason, __init__()
in 'setuptools.command.build_py.build_py' class requires a 'dist' positional
argument which must be a 'Distribution' instance. It is not clear why
'distutils.command.build_py.build_py' class does not require this.

There is still a check which decides to inherit setuptools3 vs distutils3
that will need to be refactored when we add pyproject.toml and setup.cfg
support for more modern PEP 517 packaging.

Once distutils3.bbclass is dropped, any recipe inheriting distutils3
will throw a parsing error. The plan is to move distutils*.bbclasses to
meta-python. However if meta-python is not in bblayers, the parsing
error would still occur.

[YOCTO #14610]

(From OE-Core rev: 619a3eb1266459daf16e10386113e9201fbf9cf5)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-12 21:09:02 +00:00
Tim Orling
c92ab86550 gstreamer1.0-python: inherit setuptools3-base
Drop distutils3-base usage as it is now deprecated.

[YOCTO #14610]

(From OE-Core rev: 74ed892dbcc074ba7208f3c5bf1d7c094fbcb5e3)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-12 21:09:02 +00:00
Tim Orling
cb71f2ee5c python3-setuptools: do not depend on distutils
No longer depend on python3-distutils, current versions of setuptools
vendor as _distutils.

[YOCTO #14610]

(From OE-Core rev: 2b6735f648744c42484afec6edab6d5e130111e2)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-12 21:09:02 +00:00
Tim Orling
d24848e39a python3-pygobject: setuptools instead of distuils
[YOCTO #14610]

(From OE-Core rev: 3c2fd45eacc15d2fd3ff1ae82e98cb6f6bed5af7)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-12 21:09:02 +00:00
Tim Orling
33f288e432 bind: inherit setuptools3-base instead of distutils
[YOCTO #14610]

(From OE-Core rev: 1b3c11b956085e144140a36e165a9c8fc880402a)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-12 21:09:02 +00:00
Tim Orling
ee4d215eb5 btrfs-tools: use setuptools3-base not distutils
[YOCTO #14610]

(From OE-Core rev: ee4c5b3ac3de168409f39f02d2b68b8d20bcefb2)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-12 21:09:02 +00:00
Tim Orling
22305593e8 librepo: inherit setuptools3-base not distutils
[YOCTO #14610]

(From OE-Core rev: b6cb9f033e6ea5dc3009dc76a4a297905913410a)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-12 21:09:02 +00:00
Tim Orling
ce2a0fddaa createrepo-c: inherit setuptools3-base not distutils
[YOCTO #14610]

(From OE-Core rev: d95aa31179d208d528c118642f5932d467129653)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-12 21:09:02 +00:00
Tim Orling
76624204bd libcomps: inherit setuptools3-base not distutils
[YOCTO #14610]

(From OE-Core rev: 93c019bc95e2ea92b2e4a6e45b25c2323c4423e1)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-12 21:09:02 +00:00
Tim Orling
6e0f1aac4c systemtap: use setuptools-base not distutils
[YOCTO #14610]

(From OE-Core rev: 83e4586ad64218a75b760d748e47ba4a4a07f8e9)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-12 21:09:02 +00:00
Tim Orling
a3701532af python3-pip: inherit setuptools3 not distuils3
[YOCTO #14610]

(From OE-Core rev: 42b752e5dd8d6fab4aecad213b9868c3784df5ed)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-12 21:09:02 +00:00
Tim Orling
15ad5e730f gpgme: inherit setuptools-base not distuils
What was distutils-common-base has been merged into setuptools3-base,
since we no longer need to support python2 and python3.

[YOCTO #14610]

(From OE-Core rev: 4ca72e4e04841571ee42a838ec14f6b519c54c1e)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-12 21:09:01 +00:00
Tim Orling
920712aaac python3-dbus: inherit setuptools3-base not distuils
[YOCTO #14610]

(From OE-Core rev: 61b987edbbcdd85cf6dac4b83c16b03332e412de)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-12 21:09:01 +00:00
Tim Orling
e3c5f6cace python3-cython: DISTUTILS_* -> SETUPTOOLS_*
Refactor to new SETUPTOOLS_* variables

[YOCTO #14610]

(From OE-Core rev: e30811c68906d35cd35cf03f5814a9a40fa45594)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-12 21:09:01 +00:00
Tim Orling
a4a603e010 libdnf: inherit setuptools3-base not distutils
[YOCTO #14610]

(From OE-Core rev: d1ba5b815f16c183af143ce1586daa4b18d91c10)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-12 21:09:01 +00:00
Tim Orling
80c71f307f dnf: inherit setuptools3-base instead of distutils
[YOCTO #14610]

(From OE-Core rev: f1b1563347259a66e39d1642694ec15b8f07caec)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-12 21:09:01 +00:00
Tim Orling
458f379489 setuptools3: refactor for no distutils bbclasses
Add setuptools3-base.bbclass as a re-usable starting point similar to
what used to be distutils-common-base.bbclass and disutils3-base.bbclass.

We no longer need to support python2, so no need for a
setuptools-common-base.bbclass.

Refactor setuptools3.bbclass to use setuptools3-base.bbclass instead of
the distulis*.bbclasses.

(From OE-Core rev: ca73393a36c4144662ea8570f904154188e9815a)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-12 21:09:01 +00:00
Tim Orling
5e36659ee3 classes/distutils-*: add warning of deprecation
distutils has been deprecated in Python 3.10 and will be removed in
Python 3.12 (predicted release date October 2023).

Add a warning now that recommends using the roughly equivalent
setuptools-* classes.

[YOCTO #14610]

(From OE-Core rev: 54b455049ee94c01c78b31b6c744c8e32b5b7737)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-12 21:09:01 +00:00
Richard Purdie
f799d9a3b0 buildtools-installer: Update to use 3.4
This updates buildtools to use the tarball from the 3.4 release which
contains some bug fixes and is what the autobuilder currently uses for
testing on older distros.

(From OE-Core rev: 7479861c60a1c205b9502c1a811ac3a9dc51cd07)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-12 21:09:01 +00:00
Max Krummenacher
0ce8ea9ae0 libsdl2: fix build if egl.pc sets macros in cflags
(From OE-Core rev: 59b583fa3f10fd82d11ccc5811c61a4ff8f14de6)

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-12 21:09:01 +00:00
He Zhe
72039934f5 linux-yocto-dev: Set KBRANCH with =
The "?=" assignment to KBRANCH in kernel-yocto.bbclass is selected prior to
the one in this recipe and makes it "master" as a result.

Change the KBRANCH assignment back to "=" as how it was done before.

(From OE-Core rev: c7a1004c7f7e86506ccd7d6d40f148931096461a)

Signed-off-by: He Zhe <zhe.he@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-12 21:09:01 +00:00
Bruce Ashfield
020b3b89d5 linux-yocto: drop 5.14 recipes
5.14 is EOL upstream on korg, so we drop our 5.14 recipes
from master. 5.10 and 5.15 + the dev kernel continue to be
active.

(From OE-Core rev: 2801b02064387f92cfb3d44aef21d30a237acb9e)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-12 21:09:01 +00:00
Bruce Ashfield
51c1d24805 conf/machine: bump qemu preferred versions to 5.15
5.14 has been removed from the active kernel list, so we make
5.15 the new default.

(From OE-Core rev: 24fb6a22332f746e3bef89ff8e5719838f0ed8b5)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-12 21:09:01 +00:00
Bruce Ashfield
d9e0a6b999 linux-yocto/5.10: update to v5.10.90
Updating linux-yocto/5.10 to the latest korg -stable release that comprises
the following commits:

d3e491a20d15 Linux 5.10.90
8c15bfb36a44 bpf: Add kconfig knob for disabling unpriv bpf by default
d8a5b1377bf6 perf script: Fix CPU filtering of a script's switch events
2386e81a1d27 net: fix use-after-free in tw_timer_handler
34087cf96046 Input: spaceball - fix parsing of movement data packets
9f329d0d6c91 Input: appletouch - initialize work before device registration
2a4f551dec1a scsi: vmw_pvscsi: Set residual data length conditionally
1cb8444f3114 binder: fix async_free_space accounting for empty parcels
a6e26251dd3a usb: mtu3: set interval of FS intr and isoc endpoint
3b6efe0b7ba0 usb: mtu3: fix list_head check warning
f10b01c48f85 usb: mtu3: add memory barrier before set GPD's HWO
1c4ace3e6b85 usb: gadget: f_fs: Clear ffs_eventfd in ffs_data_clear.
1933fe8ce712 xhci: Fresco FL1100 controller should not have BROKEN_MSI quirk set.
b8553330a077 drm/amdgpu: add support for IP discovery gc_info table v2
28863ffe21ff drm/amdgpu: When the VCN(1.0) block is suspended, powergating is explicitly enabled
a0f3ac399ef5 uapi: fix linux/nfc.h userspace compilation errors
818c9e0a04df nfc: uapi: use kernel size_t to fix user-space builds
8d31cbab4c29 i2c: validate user data in compat ioctl
51c94d8fbd09 fsl/fman: Fix missing put_device() call in fman_port_probe
920932b20e0c net/ncsi: check for error return from call to nla_put_u32
610af55f9fbe selftests/net: udpgso_bench_tx: fix dst ip argument
78503589b1e0 net/mlx5e: Fix wrong features assignment in case of error
61146008087a ionic: Initialize the 'lif->dbid_inuse' bitmap
b7c9a1427b32 igc: Fix TX timestamp support for non-MSI-X platforms
e8a5988a85c7 net/smc: fix kernel panic caused by race of smc_sock
97c87c1db9ff net/smc: don't send CDC/LLC message if link not ready
99f19566b1c4 net/smc: improved fix wait on already cleared link
e553265ea564 NFC: st21nfca: Fix memory leak in device probe and remove
8d70dc0eecf0 net: lantiq_xrx200: fix statistics of received bytes
7ef89bd1e8f1 net: ag71xx: Fix a potential double free in error handling paths
40d36186913b net: usb: pegasus: Do not drop long Ethernet frames
a67becdaa8ad net/smc: fix using of uninitialized completions
769d14abd35e sctp: use call_rcu to free endpoint
13c1bf43b674 selftests: Calculate udpgso segment count without header adjustment
abe74fb43378 udp: using datalen to cap ipv6 udp max gso segments
5e6ad649e927 net/mlx5e: Fix ICOSQ recovery flow for XSK
73665165b64a net/mlx5e: Wrap the tx reporter dump callback to extract the sq
4cd1da02f0c3 net/mlx5: DR, Fix NULL vs IS_ERR checking in dr_domain_init_resources
fcb32eb3d04d scsi: lpfc: Terminate string in lpfc_debugfs_nvmeio_trc_write()
4833ad4908a1 selinux: initialize proto variable in selinux_ip_postroute_compat()
ec941a2277a1 recordmcount.pl: fix typo in s390 mcount regex
a0e82d5ef992 memblock: fix memblock_phys_alloc() section mismatch error
7da855e93964 platform/x86: apple-gmux: use resource_size() with res
d01e9ce1af61 parisc: Clear stale IIR value on instruction access rights trap
0643d9175dc6 tomoyo: use hwight16() in tomoyo_domain_quota_is_ok()
e2048a1f9186 tomoyo: Check exceeded quota early in tomoyo_domain_quota_is_ok().
210c7c6908f3 Input: i8042 - enable deferred probe quirk for ASUS UM325UA
bb672eff7447 Input: i8042 - add deferred probe support

(From OE-Core rev: ada52c924b8033939a448d8cedfc4e587bfdbc46)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-12 21:09:01 +00:00
Bruce Ashfield
7d56ebcb4b linux-yocto/5.15: update to v5.15.13
Updating linux-yocto/5.15 to the latest korg -stable release that comprises
the following commits:

734eb1fd2073 Linux 5.15.13
bc5fce3dff9a perf scripts python: intel-pt-events.py: Fix printing of switch events
632ee8a1786a perf script: Fix CPU filtering of a script's switch events
90d273381bfb perf intel-pt: Fix parsing of VM time correlation arguments
47b5d0a7532d fs/mount_setattr: always cleanup mount_kattr
08eacbd141e2 net: fix use-after-free in tw_timer_handler
ffe4a1ba1a82 mm/damon/dbgfs: fix 'struct pid' leaks in 'dbgfs_target_ids_write()'
466267ced87d Input: spaceball - fix parsing of movement data packets
e79ff8c68acb Input: appletouch - initialize work before device registration
90ffed2d5e0d scsi: vmw_pvscsi: Set residual data length conditionally
17691bada6b2 binder: fix async_free_space accounting for empty parcels
90d2beed5e75 nitro_enclaves: Use get_user_pages_unlocked() call to handle mmap assert
0c823e0b4697 usb: mtu3: set interval of FS intr and isoc endpoint
249ddfbe0057 usb: mtu3: fix list_head check warning
dace4123e304 usb: mtu3: add memory barrier before set GPD's HWO
ebef2aa29f37 usb: gadget: f_fs: Clear ffs_eventfd in ffs_data_clear.
81f8de4b6af6 xhci: Fresco FL1100 controller should not have BROKEN_MSI quirk set.
0f591d17e36e drm/amd/display: Changed pipe split policy to allow for multi-display pipe split
94ba5b0fb52d drm/amdgpu: add support for IP discovery gc_info table v2
97fd2b6c0340 drm/amdgpu: When the VCN(1.0) block is suspended, powergating is explicitly enabled
2ee1296e0655 drm/nouveau: wait for the exclusive fence after the shared ones v2
e63109384796 uapi: fix linux/nfc.h userspace compilation errors
7b006d5a5aad nfc: uapi: use kernel size_t to fix user-space builds
f68599581067 i2c: validate user data in compat ioctl
17f5a2bc2ffe fsl/fman: Fix missing put_device() call in fman_port_probe
20426341c071 selftests: net: using ping6 for IPv6 in udpgro_fwd.sh
6eb92fb14689 net/ncsi: check for error return from call to nla_put_u32
62320f472fc2 net: bridge: mcast: fix br_multicast_ctx_vlan_global_disabled helper
5943eb7bbac3 selftests: net: Fix a typo in udpgro_fwd.sh
676345fa9c55 selftests/net: udpgso_bench_tx: fix dst ip argument
f1157fe47992 net: bridge: mcast: add and enforce startup query interval minimum
a22ac8009f7e net: bridge: mcast: add and enforce query interval minimum
a780f0dd2507 net/mlx5e: Fix wrong features assignment in case of error
30a26a8c506f ionic: Initialize the 'lif->dbid_inuse' bitmap
a3dffd1d0677 drm/amd/display: Set optimize_pwr_state for DCN31
6af58ce9307f drm/amd/display: Send s0i2_rdy in stream_count == 0 optimization
a87eb54df52f igc: Fix TX timestamp support for non-MSI-X platforms
10597585d793 igc: Do not enable crosstimestamping for i225-V models
b85f751d71ae net/smc: fix kernel panic caused by race of smc_sock
85ce25935e06 net/smc: don't send CDC/LLC message if link not ready
238920381b89 NFC: st21nfca: Fix memory leak in device probe and remove
c1babfe1b810 net: lantiq_xrx200: fix statistics of received bytes
c903a963b7e6 net: ag71xx: Fix a potential double free in error handling paths
0d82faa347a1 net: usb: pegasus: Do not drop long Ethernet frames
cc70cbd3b155 net/smc: fix using of uninitialized completions
75799e71df1d sctp: use call_rcu to free endpoint
df06c8dd7aca selftests: Calculate udpgso segment count without header adjustment
027282344397 udp: using datalen to cap ipv6 udp max gso segments
07f16b17416a net/mlx5e: Delete forward rule for ct or sample action
aa584ad8fa29 net/mlx5e: Use tc sample stubs instead of ifdefs in source file
12813ba11bf0 net/mlx5e: Fix ICOSQ recovery flow for XSK
144dbcc14546 net/mlx5e: Fix interoperability between XSK and ICOSQ recovery flow
07f13d58a8ec net/mlx5e: Wrap the tx reporter dump callback to extract the sq
219419510c4e net/mlx5: Fix tc max supported prio for nic mode
5da639db8b71 net/mlx5: Fix SF health recovery flow
c0cc069899fb net/mlx5: Fix error print in case of IRQ request failed
4595dffccfa5 net/mlx5: DR, Fix NULL vs IS_ERR checking in dr_domain_init_resources
a68d72d899a2 scsi: lpfc: Terminate string in lpfc_debugfs_nvmeio_trc_write()
172fc0a7d7ab selinux: initialize proto variable in selinux_ip_postroute_compat()
f5cb610fa3d2 efi: Move efifb_setup_from_dmi() prototype from arch headers
5677e0772364 powerpc/ptdump: Fix DEBUG_WX since generic ptdump conversion
fc738764c9fa recordmcount.pl: fix typo in s390 mcount regex
919f5678bae1 ALSA: hda: intel-sdw-acpi: go through HDAS ACPI at max depth of 2
cce476954401 ALSA: hda: intel-sdw-acpi: harden detection of controller
62f0a61fcb8a memblock: fix memblock_phys_alloc() section mismatch error
ea48bffecc3e platform/x86: apple-gmux: use resource_size() with res
6964e81f11ce platform/mellanox: mlxbf-pmc: Fix an IS_ERR() vs NULL bug in mlxbf_pmc_map_counters
e96373f0a5f4 parisc: Clear stale IIR value on instruction access rights trap
0d76daf2013c net/sched: Extend qdisc control block with tc control block
80176f65fa28 tomoyo: use hwight16() in tomoyo_domain_quota_is_ok()
3fe6a63b5dbd tomoyo: Check exceeded quota early in tomoyo_domain_quota_is_ok().
e97d5549f842 Input: i8042 - enable deferred probe quirk for ASUS UM325UA
dd33054e4c18 Input: i8042 - add deferred probe support

(From OE-Core rev: bf71dd30508a612a08de14eaa3f26ac93990f3b8)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-12 21:09:01 +00:00
Bruce Ashfield
7fcf066e41 linux-yocto/5.15/cfg: add kcov feature fragment
Integrating the following commit(s) to linux-yocto:

41721be8a03 cfg/debug: add kcov kernel configs

(From OE-Core rev: 399032f7fb277aa229acf784c40bc44e693c21a5)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-12 21:09:01 +00:00
Bruce Ashfield
1c610fab28 linux-yocto/5.10/cfg: add kcov feature fragment
Integrating the following commit(s) to linux-yocto:

41721be8a03 cfg/debug: add kcov kernel configs

(From OE-Core rev: 6a11ed0910a9ed231bc3c4a9ee532358014ce535)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-12 21:09:01 +00:00
Bruce Ashfield
85afa08900 linux-yocto/5.15: fix arm 32bit -rt warnings
Integrating the following commit(s) to:

41e5b01b59c preempt-rt.scc: arm should come after ftrace
6fe0a923260 drivers-zynq.cfg: update CONFIG_NET_CADENCE option

(From OE-Core rev: 1bc502f676d1f9a37c6869d154e75fbf60957e72)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-12 21:09:01 +00:00
Bruce Ashfield
a9f8fc86f3 linux-yocto/5.14: fix arm 32bit -rt warnings
Integrating the following commit(s):

f9e349e1745 preempt-rt.scc: arm should come after ftrace
25f5db372ac drivers-zynq.cfg: update CONFIG_NET_CADENCE option

(From OE-Core rev: 704720e28f67e880998d4dab85b366cb7f1a4ce3)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-12 21:09:01 +00:00
Bruce Ashfield
f535d2352c linux-yocto/5.15: update to v5.15.12
Updating linux-yocto/5.15 to the latest korg -stable release that comprises
the following commits:

25960cafa06e Linux 5.15.12
53ccdc73eeda phonet/pep: refuse to enable an unbound pipe
3cb5ae77799e tun: avoid double free in tun_free_netdev
03d00f7f1815 hamradio: improve the incomplete fix to avoid NPD
cb6c99aedd2c hamradio: defer ax25 kfree after unregister_netdev
a8e4a64cdc97 ax25: NPD bug when detaching AX25 device
f547b0f8f3ce r8152: sync ocp base
5cc8813c4966 hwmon: (lm90) Do not report 'busy' status bit as alarm
722fc45be049 hwmom: (lm90) Fix citical alarm status for MAX6680/MAX6681
fb563baa3eb8 pinctrl: mediatek: fix global-out-of-bounds issue
aa50406f36a1 ASoC: rt5682: fix the wrong jack type detected
46b3fe1eb2b7 ASoC: SOF: Intel: pci-tgl: add ADL-N support
d0fa8c252956 ASoC: SOF: Intel: pci-tgl: add new ADL-P variant
d9ad0ae8bfa0 ASoC: tas2770: Fix setting of high sample rates
cc71a723f3d8 Input: goodix - add id->model mapping for the "9111" model
efaa327b4146 Input: elants_i2c - do not check Remark ID on eKTH3900/eKTH5312
70750056620b Input: iqs626a - prohibit inlining of channel parsing functions
2f06c8293d27 kfence: fix memory leak when cat kfence objects
ca38833c915e arm64: dts: lx2160a: fix scl-gpios property name
0ae519ecbbdb KVM: VMX: Fix stale docs for kvm-intel.emulate_invalid_guest_state
35f9ff45ee5c netfs: fix parameter of cleanup()
a8a9d753edd7 f2fs: fix to do sanity check on last xattr entry in __f2fs_setxattr()
91e94e42f6fc tee: optee: Fix incorrect page free bug
330c6117a82c mm/damon/dbgfs: protect targets destructions with kdamond_lock
c691e7575eff mm/hwpoison: clear MF_COUNT_INCREASED before retrying get_any_page()
7a77e22fde63 mm, hwpoison: fix condition in free hugetlb page path
6b2cdcc8f555 mm: mempolicy: fix THP allocations escaping mempolicy restrictions
c1d1ec4db5f7 mac80211: fix locking in ieee80211_start_ap error path
a2c144d17623 ksmbd: disable SMB2_GLOBAL_CAP_ENCRYPTION for SMB 3.1.1
f43ba86a8211 ksmbd: fix uninitialized symbol 'pntsd_size'
89d0ffb4bb96 ksmbd: fix error code in ndr_read_int32()
c99513dffd36 ARM: 9169/1: entry: fix Thumb2 bug in iWMMXt exception handling
c7814569b387 mmc: mmci: stm32: clear DLYB_CR after sending tuning command
c0db06fd0993 mmc: core: Disable card detect during shutdown
9d93c863d04f mmc: meson-mx-sdhc: Set MANUAL_STOP for multi-block SDIO commands
46e2fc260543 mmc: sdhci-tegra: Fix switch to HS400ES mode
e5dd3e61baed gpio: dln2: Fix interrupts when replugging the device
c1ce3c410038 pinctrl: stm32: consider the GPIO offset to expose all the GPIO lines
b9d7c7a5bf6e KVM: VMX: Wake vCPU when delivering posted IRQ even if vCPU == this vCPU
e4e4e7cb2298 KVM: VMX: Always clear vmx->fail on emulation_required
543bfbcb5cf5 KVM: nVMX: Synthesize TRIPLE_FAULT for L2 if emulation is required
d884eefd75cc KVM: x86/mmu: Don't advance iterator after restart due to yielding
5dea76f5da65 KVM: x86: Always set kvm_run->if_flag
9ca1324755f1 platform/x86: intel_pmc_core: fix memleak on registration failure
a42c41be8324 platform/x86: amd-pmc: only use callbacks for suspend
9ede07c4af14 x86/pkey: Fix undefined behaviour with PKRU_WD_BIT
492eb7afe858 tee: handle lookup of shm with reference count 0
c576d7a197b7 parisc: Fix mask used to select futex spinlock
7c6567979c82 parisc: Correct completer in lws start
5aae769a0ef7 ipmi: fix initialization when workqueue allocation fails
77a7311ca167 ipmi: ssif: initialize ssif_info->client early
7232a5941d3f ipmi: bail out if init_srcu_struct fails
7f7f61042f70 Input: atmel_mxt_ts - fix double free in mxt_read_info_block
6084a6c1ca7f ASoC: tegra: Restore headphones jack name on Nyan Big
f7fe9d303445 ASoC: tegra: Add DAPM switches for headphones and mic jack
8e9b8b8a8ff2 ASoC: meson: aiu: Move AIU_I2S_MISC hold setting to aiu-fifo-i2s
88b4fbd6348a ALSA: hda/realtek: Fix quirk for Clevo NJ51CU
417e6ee4df64 ALSA: hda/realtek: fix mute/micmute LEDs for a HP ProBook
0896c97e6657 ALSA: hda/realtek: Add new alc285-hp-amp-init model
3934aa1259d9 ALSA: hda/realtek: Amp init fixup for HP ZBook 15 G6
2e9cd9ff997f ALSA: hda/hdmi: Disable silent stream on GLK
b398fcbe4de1 ALSA: rawmidi - fix the uninitalized user_pversion
3fd58303b05e ALSA: drivers: opl3: Fix incorrect use of vp->state
fdaa60d900a7 ALSA: jack: Check the return value of kstrdup()
28b03ec2c0c5 x86/boot: Move EFI range reservation after cmdline parsing
f95fcac5d66a Revert "x86/boot: Pull up cmdline preparation and early param parsing"
70e7705b0230 kernel/crash_core: suppress unknown crashkernel parameter warning
4a34b51ea99b platform/x86/intel: Remove X86_PLATFORM_DRIVERS_INTEL
50f27a29d758 compiler.h: Fix annotation macro misplacement with Clang
0cd3ef801004 uapi: Fix undefined __always_inline on non-glibc systems
8a351388b295 ARM: 9160/1: NOMMU: Reload __secondary_data after PROCINFO_INITFUNC
afda22fea766 hwmon: (lm90) Drop critical attribute support for MAX6654
9d21029e7199 hwmon: (lm90) Add basic support for TI TMP461
983084e19aeb hwmon: (lm90) Introduce flag indicating extended temperature support
d105f30bea91 hwmon: (lm90) Prevent integer overflow/underflow in hysteresis calculations
4b8f0e940972 hwmon: (lm90) Fix usage of CONFIG2 register in detect function
79c6d4fa1be1 pinctrl: bcm2835: Change init order for gpio hogs
dfd5b60b5342 Input: elantech - fix stack out of bound access in elantech_change_report_id()
b480d5f42d45 net: stmmac: dwmac-visconti: Fix value of ETHER_CLK_SEL_FREQ_SEL_2P5M
f80527200d01 r8152: fix the force speed doesn't work for RTL8156
b8871c6734d8 net: bridge: fix ioctl old_deviceless bridge argument
1c66ea39c6c4 net: bridge: Use array_size() helper in copy_to_user()
be2473e5f377 net: stmmac: ptp: fix potentially overflowing expression
d2269ae48598 veth: ensure skb entering GRO are not cloned.
20fb0dc35bf9 io_uring: zero iocb->ki_pos for stream file types
5cf03976e1f0 asix: fix wrong return value in asix_check_host_enable()
d259f621c859 asix: fix uninit-value in asix_mdio_read()
d00726b7061c sfc: falcon: Check null pointer of rx_queue->page_ring
20c3efcca612 sfc: Check null pointer of rx_queue->page_ring
8307c1ecd366 net: ks8851: Check for error irq
98a5242e82f2 drivers: net: smc911x: Check for error irq
643c89669e31 fjes: Check for error irq
a038c504f6f5 bonding: fix ad_actor_system option setting to default
1f0d95fb3755 gpio: virtio: remove timeout
6b3f7e4b10f3 ipmi: Fix UAF when uninstall ipmi_si and ipmi_msghandler module
33385aded71e igb: fix deadlock caused by taking RTNL in RPM resume path
b99c71f90978 net: skip virtio_net_hdr_set_proto if protocol already set
8ba353f553da net: accept UFOv6 packages in virtio_net_hdr_to_skb
0249a4b8a554 inet: fully convert sk->sk_rx_dst to RCU rules
98a8e5c20027 ipv6: move inet6_sk(sk)->rx_dst_cookie to sk->sk_rx_dst_cookie
8e096cffc6d3 tcp: move inet->rx_dst_ifindex to sk->sk_rx_dst_ifindex
e69eacf74e15 qlcnic: potential dereference null pointer of rx_queue->page_ring
5c553a0cd126 net: marvell: prestera: fix incorrect structure access
da3feb8a9baf net: marvell: prestera: fix incorrect return of port_find
ad6d20da2cfb ice: xsk: return xsk buffers back to pool when cleaning the ring
c1c36df0b0a5 ice: Use xdp_buf instead of rx_buf for xsk zero-copy
ef73e3b650b7 ARM: dts: imx6qdl-wandboard: Fix Ethernet support
406b7337d6bc netfilter: fix regression in looped (broad|multi)cast's MAC handling
9d558e5f0d6f netfilter: nf_tables: fix use-after-free in nft_set_catchall_destroy()
2eb1cac16bc7 RDMA/hns: Replace kfree() with kvfree()
aefcc25f3a0c IB/qib: Fix memory leak in qib_user_sdma_queue_pkts()
c41b98070392 RDMA/hns: Fix RNR retransmission issue for HIP08
9b0ed41b25e2 ASoC: meson: aiu: fifo: Add missing dma_coerce_mask_and_coherent()
71d07ebc5000 drm/mediatek: hdmi: Perform NULL pointer check for mtk_hdmi_conf
11bf802877bf ucounts: Fix rlimit max values check
3121b5bff903 spi: change clk_disable_unprepare to clk_unprepare
512dbc1a09ac bus: sunxi-rsb: Fix shutdown
115a291395df arm64: dts: allwinner: orangepi-zero-plus: fix PHY mode
f4321ac030b5 PM: sleep: Fix error handling in dpm_prepare()
eabc0aab98e5 NFSD: Fix READDIR buffer overflow
b1712a691bbb HID: potential dereference of null pointer
3c431e19ad70 HID: holtek: fix mouse probing
a65ac9d23276 selftests: KVM: Fix non-x86 compiling
49c29e13fcd6 ext4: check for inconsistent extents between index and leaf block
f71ab21b1a28 ext4: check for out-of-order index extents in ext4_valid_extent_entries()
02f825cf0255 ext4: prevent partial update of the extent blocks
fedeb1b2c8e6 net: usb: lan78xx: add Allied Telesis AT29M2-AF
1d1c25233a29 arm64: vdso32: require CROSS_COMPILE_COMPAT for gcc+bfd
fb6ad5cb3b67 Linux 5.15.11
bd926d189210 xen/netback: don't queue unlimited number of packages
88449dbe6203 xen/netback: fix rx queue stall detection
153d1ea32722 xen/console: harden hvc_xen against event channel storms
a29c8b5226ed xen/netfront: harden netfront against event channel storms
caf9b51829a5 xen/blkfront: harden blkfront against event channel storms
ffbd663ebac9 Revert "xsk: Do not sleep in poll() when need_wakeup set"
581b09795199 selftests/damon: test debugfs file reads/writes with huge count
a272f990cb26 bus: ti-sysc: Fix variable set but not used warning for reinit_modules
11053a021937 io-wq: drop wqe lock before creating new worker
a96ac0688acb rcu: Mark accesses to rcu_state.n_force_qs
4b4e5bbf9386 io-wq: check for wq exit after adding new worker task_work
024f9c7cd3d8 io-wq: remove spurious bit clear on task_work addition
dfc3fff63793 scsi: scsi_debug: Sanity check block descriptor length in resp_mode_select()
308514764593 scsi: scsi_debug: Fix type in min_t to avoid stack OOB
47d11d35203b scsi: scsi_debug: Don't call kcalloc() if size arg is zero
d2ccdd4e4efa ovl: fix warning in ovl_create_real()
4658f2a9b336 fuse: annotate lock in fuse_reverse_inval_entry()
8c6fdf62bfe1 media: mxl111sf: change mutex_init() location
403716741c6c USB: core: Make do_proc_control() and do_proc_bulk() killable
303644fe7e0c bpf: Fix extable address check.
eea5a58d86a4 bpf, x64: Factor out emission of REX byte in more cases
7e83a6577d5c mptcp: add missing documented NL params
e8d38fcd0a1c xsk: Do not sleep in poll() when need_wakeup set
6b2ee1002c6b ARM: dts: imx6ull-pinfunc: Fix CSI_DATA07__ESAI_TX0 pad name
0e8ffdf3b86d can: m_can: pci: use custom bit timings for Elkhart Lake
274f4b342ba9 can: m_can: make custom bittiming fields const
5b4641e9c06c Revert "can: m_can: remove support for custom bit timing"
e3a01c14e806 drm/amd/pm: fix reading SMU FW version from amdgpu_firmware_info on YC
a386ae526866 drm/amdgpu: don't override default ECO_BITs setting
f2e600f6572b drm/amdgpu: correct register access for RLC_JUMP_TABLE_RESTORE
9b9f2567145b powerpc/module_64: Fix livepatching for RO modules
78f27c43eb16 libata: if T_LENGTH is zero, dma direction should be DMA_NONE
f67c85a557c8 perf inject: Fix segfault due to perf_data__fd() without open
a7c0e6aa63c8 perf inject: Fix segfault due to close without open
4a74df7707b5 riscv: dts: unmatched: Add gpio card detect to mmc-spi-slot
7fe286afbd90 riscv: dts: unleashed: Add gpio card detect to mmc-spi-slot
5e14b8b2680a locking/rtmutex: Fix incorrect condition in rtmutex_spin_on_owner()
c63433a09d6a cifs: sanitize multiple delimiters in prepath
c5664d508674 timekeeping: Really make sure wall_to_monotonic isn't positive
89362ec97ac0 serial: 8250_fintek: Fix garbled text for console
3a1a4eb57417 iocost: Fix divide-by-zero on donation from low hweight cgroup
d153ff65a977 zonefs: add MODULE_ALIAS_FS
210ab4e3c032 btrfs: fix missing blkdev_put() call in btrfs_scan_one_device()
8848395975bd btrfs: check WRITE_ERR when trying to read an extent buffer
bbdaa7a48f46 btrfs: fix double free of anon_dev after failure to create subvolume
493ff661d434 btrfs: fix memory leak in __add_inode_ref()
d1bac0d97bc9 selinux: fix sleeping function called from invalid context
252f245ff4a1 USB: serial: option: add Telit FN990 compositions
db83bbfe1bec USB: serial: cp210x: fix CP2105 GPIO registration
5154bc1c16c9 usb: gadget: u_ether: fix race in setting MAC address in setup phase
428ad19f98bb usb: typec: tcpm: fix tcpm unregister port but leave a pending timer
ffe642edb4e2 usb: cdnsp: Fix lack of spin_lock_irqsave/spin_lock_restore
368bfabceb11 usb: cdnsp: Fix issue in cdnsp_log_ep trace event
ec83d6e57a62 usb: cdnsp: Fix incorrect calling of cdnsp_died function
ed89521e2dcb usb: cdnsp: Fix incorrect status for control request
5cb5c3e1b184 usb: xhci: Extend support for runtime power management for AMD's Yellow carp.
67cbcd3fb8e6 usb: xhci-mtk: fix list_del warning when enable list debug
d8888cdabedf PCI/MSI: Mask MSI-X vectors only on success
4df1af29930b PCI/MSI: Clear PCI_MSIX_FLAGS_MASKALL on error
3901c7784ad7 usb: dwc2: fix STM ID/VBUS detection startup delay in dwc2_driver_probe
af00fb784286 USB: NO_LPM quirk Lenovo USB-C to Ethernet Adapher(RTL8153-04)
e7a8a261bab0 tty: n_hdlc: make n_hdlc_tty_wakeup() asynchronous
5fc3cfa62b85 KVM: x86: Drop guest CPUID check for host initiated writes to MSR_IA32_PERF_CAPABILITIES
9f8b3f238530 Revert "usb: early: convert to readl_poll_timeout_atomic()"
abd3a33b3f2b USB: gadget: bRequestType is a bitfield, not a enum
d0ac17b9bac5 powerpc/85xx: Fix oops when CONFIG_FSL_PMC=n
c8e8e6f4108e bpf, selftests: Fix racing issue in btf_skc_cls_ingress test
9f55f2913ebd bpf: Fix extable fixup offset.
ecd8ad3af6d5 arm64: kexec: Fix missing error code 'ret' warning in load_other_segments()
5473fe0c484a afs: Fix mmap
44a6c846bc3a sit: do not call ipip6_dev_free() from sit_init_net()
eb4687c74429 net: systemport: Add global locking for descriptor lifecycle
e99fe4137b6d net/smc: Prevent smc_release() from long blocking
ff3d58592be4 net: Fix double 0x prefix print in SKB dump
987e1a4682e5 dsa: mv88e6xxx: fix debug print for SPEED_UNFORCED
9a77c02d1d21 sfc_ef100: potential dereference of null pointer
0b4a5d1e15ce net: stmmac: dwmac-rk: fix oob read in rk_gmac_setup
feb116a0ecc5 net/packet: rx_owner_map depends on pg_vec
27358aa81a7d netdevsim: Zero-initialize memory for new map's value in function nsim_bpf_map_alloc
288b0c511c11 ixgbe: set X550 MDIO speed before talking to PHY
2f2ebb7d4324 ixgbe: Document how to enable NBASE-T support
33c1707a8ea4 igc: Fix typo in i225 LTR functions
944b8be08131 igbvf: fix double free in `igbvf_probe`
81ffe207ae1b igb: Fix removal of unicast MAC filters of VFs
12dc89ccaf20 soc/tegra: fuse: Fix bitwise vs. logical OR warning
23311b92755f mptcp: fix deadlock in __mptcp_push_pending()
c26ac0ea3a91 mptcp: clear 'kern' flag from fallback sockets
3de0c86d42f8 mptcp: remove tcp ulp setsockopt support
257b3bb16634 drm/amd/pm: fix a potential gpu_metrics_table memory leak
cc98ef784152 drm/amd/display: Set exit_optimized_pwr_state for DCN31
a0dacf4bc3c5 ice: Don't put stale timestamps in the skb
89f9c880141e ice: Use div64_u64 instead of div_u64 in adjfine
68014890e438 rds: memory leak in __rds_conn_create()
d92781bf78db flow_offload: return EOPNOTSUPP for the unsupported mpls action type
97cb5c82aa1d net: stmmac: fix tc flower deletion for VLAN priority Rx steering
1571ff2d199e mac80211: fix lookup when adding AddBA extension element
0783716ba2bd cfg80211: Acquire wiphy mutex on regulatory work
e0984a4d414b mac80211: agg-tx: don't schedule_and_wake_txq() under sta->lock
95053f4477c9 drm/i915/display: Fix an unsigned subtraction which can never be negative.
fb5099ad02dc drm/ast: potential dereference of null pointer
1456a0004cc5 mptcp: never allow the PM to close a listener subflow
1752132eba08 selftest/net/forwarding: declare NETIFS p9 p10
7c23a5d90733 net: dsa: mv88e6xxx: Unforce speed & duplex in mac_link_down()
4985d3b53c4d selftests/net: toeplitz: fix udp option
491c1253441e net/sched: sch_ets: don't remove idle classes from the round-robin list
215b5046b11e drm: simpledrm: fix wrong unit with pixel clock
00b072a55ffc dmaengine: st_fdma: fix MODULE_ALIAS
ee3701c4d975 dmaengine: idxd: fix missed completion on abort path
088e4d7dba27 selftests: Fix IPv6 address bind tests
28c73d856b71 selftests: Fix raw socket bind tests with VRF
013ed7533966 selftests: Add duplicate config only for MD5 VRF tests
769f38809709 net: hns3: fix race condition in debugfs
4f4a353f6fe0 net: hns3: fix use-after-free bug in hclgevf_send_mbx_msg
a4377575d2e9 selftests: icmp_redirect: pass xfail=0 to log_test()
4cd2d21bbe58 netdevsim: don't overwrite read only ethtool parms
e5d28205bf1d inet_diag: fix kernel-infoleak for UDP sockets
f6deae2e2d83 sch_cake: do not call cake_destroy() from cake_init()
cc851898751d s390/kexec_file: fix error handling when applying relocations
b0eb9ac9ddc3 selftests: net: Correct ping6 expected rc from 2 to 1
9ff66e9ceefc Revert "drm/fb-helper: improve DRM fbdev emulation device names"
03b5d9d618a6 vdpa: Consider device id larger than 31
091b84437a82 virtio/vsock: fix the transport to work with VMADDR_CID_ANY
149a4d12c44b virtio: always enter drivers/virtio/
fac85fe13547 iwlwifi: mvm: don't crash on invalid rate w/o STA
f295986e5b6d soc: imx: Register SoC device only on i.MX boards
ad4adbbf666e clk: Don't parent clks until the parent is fully registered
d058c136fe3d arm64: dts: imx8mq: remove interconnect property from lcdif
f580a4315062 ARM: socfpga: dts: fix qspi node compatible
e7506c76b7ef ceph: initialize pathlen variable in reconnect_caps_cb
24a19e6d6518 ceph: fix duplicate increment of opened_inodes metric
832f3655c613 tee: amdtee: fix an IS_ERR() vs NULL bug
42d08e97b196 mac80211: track only QoS data frames for admission control
b08767936841 dmaengine: idxd: fix calling wq quiesce inside spinlock
05d2cc973cf5 dmaengine: idxd: add halt interrupt support
f2aebdaa3d3c arm64: dts: rockchip: fix poweroff on helios64
d4218b2803de arm64: dts: rockchip: fix audio-supply for Rock Pi 4
77eb455febc5 arm64: dts: rockchip: fix rk3399-leez-p710 vcc3v3-lan supply
e2daa0c9e898 arm64: dts: rockchip: fix rk3308-roc-cc vcc-sd supply
c2ff001288dd arm64: dts: rockchip: remove mmc-hs400-enhanced-strobe from rk3399-khadas-edge
8e72fcf9aa9a pinctrl: amd: Fix wakeups when IRQ is shared with SCI
78ae328fb170 drm/i915/hdmi: Turn DP++ TMDS output buffers back on in encoder->shutdown()
8f50c26fdf65 drm/i915/hdmi: convert intel_hdmi_to_dev to intel_hdmi_to_i915
4999509a9184 scsi: ufs: core: Retry START_STOP on UNIT_ATTENTION
af9b9c8bfeee btrfs: remove stale comment about the btrfs_show_devname
a6e7e218a4d6 btrfs: update latest_dev when we create a sprout device
e342c2558016 btrfs: use latest_dev in btrfs_show_devname
5c460192c2fa btrfs: convert latest_bdev type to btrfs_device and rename
a5f4d17daf2e audit: improve robustness of the audit queue handling
607beb420b3f dm btree remove: fix use after free in rebalance_children()
09cdb8aa5904 ceph: fix up non-directory creation in SGID directories
2c7a616145aa arm64: dts: ten64: remove redundant interrupt declaration for gpio-keys
ab2ba2dd711f recordmcount.pl: look for jgnop instruction as well as bcrl on s390
2eeff00926e5 s390/entry: fix duplicate tracking of irq nesting level
b08b3bfcc720 vdpa: check that offsets are within bounds
0c51663c77d2 virtio_ring: Fix querying of maximum DMA mapping size for virtio device
ebbbc5fea3f6 vduse: check that offset is within bounds in get_config()
e6c67560b434 vduse: fix memory corruption in vduse_dev_ioctl()
2746d3face65 bpf, selftests: Update test case for atomic cmpxchg on r0 with pointer
f87a6c160ecc bpf: Fix kernel address leakage in atomic cmpxchg's r0 aux reg
d0d68083f273 bpf, selftests: Add test case trying to taint map value pointer
dbda060d50ab bpf: Make 32->64 bounds propagation slightly more robust
f77d7a35d491 bpf: Fix signed bounds propagation after mov32
efcad725feb4 bpf, selftests: Add test case for atomic fetch on spilled pointer
423628125a48 bpf: Fix kernel address leakage in atomic fetch
976389cbb16c firmware: arm_scpi: Fix string overflow in SCPI genpd driver
c62b16f98688 mac80211: validate extended element ID is present
e606db721de5 mac80211: send ADDBA requests using the tid/queue of the aggregation session
815ee27cfbf8 mac80211: mark TX-during-stop for TX in in_reconfig
a7aed5c87d74 mac80211: fix regression in SSN handling of addba tx
237ee0f24bc4 mac80211: fix rate control for retransmitted frames
6bd55427e266 KVM: X86: Fix tlb flush for tdp in kvm_invalidate_pcid()
bf4367c02c8c x86/kvm: remove unused ack_notifier callbacks
54bf0b0d3536 KVM: downgrade two BUG_ONs to WARN_ON_ONCE
4b65555a501e KVM: selftests: Make sure kvm_create_max_vcpus test won't hit RLIMIT_NOFILE
6890c75c14b3 KVM: VMX: clear vmx_x86_ops.sync_pir_to_irr if APICv is disabled
efccff32defc reset: tegra-bpmp: Revert Handle errors in BPMP response

(From OE-Core rev: 47c6cc93efcb848592638f156b8f0e6f9a3561e9)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-12 21:09:01 +00:00
Bruce Ashfield
44fa90fd9d linux-yocto/5.10: update to v5.10.89
Updating linux-yocto/5.10 to the latest korg -stable release that comprises
the following commits:

eb967e323f7f Linux 5.10.89
52ad5da8e316 phonet/pep: refuse to enable an unbound pipe
7dd52af1eb57 hamradio: improve the incomplete fix to avoid NPD
450121075a6a hamradio: defer ax25 kfree after unregister_netdev
8e34d07dd4d9 ax25: NPD bug when detaching AX25 device
50f78486f90b hwmon: (lm90) Do not report 'busy' status bit as alarm
ec1d222d37ea hwmom: (lm90) Fix citical alarm status for MAX6680/MAX6681
441d3873664d pinctrl: mediatek: fix global-out-of-bounds issue
9c75a9657bdc ASoC: rt5682: fix the wrong jack type detected
94caab5af19a ASoC: tas2770: Fix setting of high sample rates
c7282790c782 Input: goodix - add id->model mapping for the "9111" model
3bb3bf50d69f Input: elants_i2c - do not check Remark ID on eKTH3900/eKTH5312
ee6f34215c5d mm: mempolicy: fix THP allocations escaping mempolicy restrictions
8008fc1d0be1 KVM: VMX: Fix stale docs for kvm-intel.emulate_invalid_guest_state
d91ed251fd70 usb: gadget: u_ether: fix race in setting MAC address in setup phase
6697f29bf56b ceph: fix up non-directory creation in SGID directories
fffb6581a23a f2fs: fix to do sanity check on last xattr entry in __f2fs_setxattr()
ad338d825e3f tee: optee: Fix incorrect page free bug
1f2070767401 mm/hwpoison: clear MF_COUNT_INCREASED before retrying get_any_page()
ac61b9c6c054 mac80211: fix locking in ieee80211_start_ap error path
89876d10830d ARM: 9169/1: entry: fix Thumb2 bug in iWMMXt exception handling
c3253d3a38bc mmc: mmci: stm32: clear DLYB_CR after sending tuning command
0d66b395210c mmc: core: Disable card detect during shutdown
c8e366a01c20 mmc: meson-mx-sdhc: Set MANUAL_STOP for multi-block SDIO commands
4af79153617b mmc: sdhci-tegra: Fix switch to HS400ES mode
9a7ec7979785 gpio: dln2: Fix interrupts when replugging the device
f5b02912e2dd pinctrl: stm32: consider the GPIO offset to expose all the GPIO lines
28626e76baf5 KVM: VMX: Wake vCPU when delivering posted IRQ even if vCPU == this vCPU
7a37f2e37069 platform/x86: intel_pmc_core: fix memleak on registration failure
b57afd124046 x86/pkey: Fix undefined behaviour with PKRU_WD_BIT
c05d8f66ec34 tee: handle lookup of shm with reference count 0
0ffb9f83e4f6 parisc: Fix mask used to select futex spinlock
5deeb9ad598b parisc: Correct completer in lws start
8b745616ba8f ipmi: fix initialization when workqueue allocation fails
1f6ab847461c ipmi: ssif: initialize ssif_info->client early
a5192f31160c ipmi: bail out if init_srcu_struct fails
bc674f1b2119 Input: atmel_mxt_ts - fix double free in mxt_read_info_block
30140e252fdb ASoC: meson: aiu: Move AIU_I2S_MISC hold setting to aiu-fifo-i2s
2b4c020b70cc ALSA: hda/realtek: Fix quirk for Clevo NJ51CU
7470780f3b0c ALSA: hda/realtek: Add new alc285-hp-amp-init model
4cb7dc2e3074 ALSA: hda/realtek: Amp init fixup for HP ZBook 15 G6
69e492161c7b ALSA: drivers: opl3: Fix incorrect use of vp->state
a96c08e0b41e ALSA: jack: Check the return value of kstrdup()
51c7b2a7b86a hwmon: (lm90) Drop critical attribute support for MAX6654
2464738d0ee4 hwmon: (lm90) Introduce flag indicating extended temperature support
196df56c3dc8 hwmon: (lm90) Add basic support for TI TMP461
fa2e149260bf hwmon: (lm90) Fix usage of CONFIG2 register in detect function
ba696b470839 pinctrl: bcm2835: Change init order for gpio hogs
676c572439e5 Input: elantech - fix stack out of bound access in elantech_change_report_id()
2792fde84cce sfc: falcon: Check null pointer of rx_queue->page_ring
d70b4001ef74 sfc: Check null pointer of rx_queue->page_ring
75c962f02a4f net: ks8851: Check for error irq
9db0f8d395fd drivers: net: smc911x: Check for error irq
ca2a15053b07 fjes: Check for error irq
c6d2754006c1 bonding: fix ad_actor_system option setting to default
6809da518514 ipmi: Fix UAF when uninstall ipmi_si and ipmi_msghandler module
61e6b82e7b6c igb: fix deadlock caused by taking RTNL in RPM resume path
e00eace2325c net: skip virtio_net_hdr_set_proto if protocol already set
ed05e4dcfba6 net: accept UFOv6 packages in virtio_net_hdr_to_skb
56b0bbba782b qlcnic: potential dereference null pointer of rx_queue->page_ring
78e49d77e517 net: marvell: prestera: fix incorrect return of port_find
861b4413e41d ARM: dts: imx6qdl-wandboard: Fix Ethernet support
d79f5e0d458b netfilter: fix regression in looped (broad|multi)cast's MAC handling
579cefef7c42 RDMA/hns: Replace kfree() with kvfree()
7cf6466e00a7 IB/qib: Fix memory leak in qib_user_sdma_queue_pkts()
cd9c90682b2f ASoC: meson: aiu: fifo: Add missing dma_coerce_mask_and_coherent()
580ecf86e772 spi: change clk_disable_unprepare to clk_unprepare
93a957bbf46c arm64: dts: allwinner: orangepi-zero-plus: fix PHY mode
ef2dce43257d HID: potential dereference of null pointer
3110bc5862d2 HID: holtek: fix mouse probing
0875873b2a97 ext4: check for inconsistent extents between index and leaf block
76366c024f56 ext4: check for out-of-order index extents in ext4_valid_extent_entries()
1d4b1c4e8bbd ext4: prevent partial update of the extent blocks
f69a47fcbb9c net: usb: lan78xx: add Allied Telesis AT29M2-AF
8c0059a25cb1 arm64: vdso32: require CROSS_COMPILE_COMPAT for gcc+bfd
b16b124a42e0 arm64: vdso32: drop -no-integrated-as flag
856f88f27bbc Linux 5.10.88
88f20cccbeec xen/netback: don't queue unlimited number of packages
525875c410df xen/netback: fix rx queue stall detection
8fa3a370cc2a xen/console: harden hvc_xen against event channel storms
d31b3379179d xen/netfront: harden netfront against event channel storms
8ac3b6ee7c9f xen/blkfront: harden blkfront against event channel storms
76ec7fe2d866 Revert "xsk: Do not sleep in poll() when need_wakeup set"
e24fc8983025 bus: ti-sysc: Fix variable set but not used warning for reinit_modules
70692b06208c rcu: Mark accesses to rcu_state.n_force_qs
a9078e791426 scsi: scsi_debug: Sanity check block descriptor length in resp_mode_select()
bdb854f134b9 scsi: scsi_debug: Fix type in min_t to avoid stack OOB
aa1f912712a1 scsi: scsi_debug: Don't call kcalloc() if size arg is zero
6859985a2fbd ovl: fix warning in ovl_create_real()
5fd7d62daa24 fuse: annotate lock in fuse_reverse_inval_entry()
b99bdf127af9 media: mxl111sf: change mutex_init() location
0413f7a1a533 xsk: Do not sleep in poll() when need_wakeup set
6b8d8ecdd980 ARM: dts: imx6ull-pinfunc: Fix CSI_DATA07__ESAI_TX0 pad name
8affa1b68db6 Input: touchscreen - avoid bitwise vs logical OR warning
aec5897b277b drm/amdgpu: correct register access for RLC_JUMP_TABLE_RESTORE
c1d519263ded libata: if T_LENGTH is zero, dma direction should be DMA_NONE
a9f2c6af5a60 timekeeping: Really make sure wall_to_monotonic isn't positive
6471ebcd6f15 serial: 8250_fintek: Fix garbled text for console
a7c80674538f iocost: Fix divide-by-zero on donation from low hweight cgroup
bcebb8eb1948 zonefs: add MODULE_ALIAS_FS
1c414ff63b2d btrfs: fix double free of anon_dev after failure to create subvolume
005d9292b5b2 btrfs: fix memory leak in __add_inode_ref()
cd98cb5216a0 USB: serial: option: add Telit FN990 compositions
5c93584d9a2f USB: serial: cp210x: fix CP2105 GPIO registration
8f207f12630b usb: xhci: Extend support for runtime power management for AMD's Yellow carp.
e5949933f313 PCI/MSI: Mask MSI-X vectors only on success
f8aa09186c30 PCI/MSI: Clear PCI_MSIX_FLAGS_MASKALL on error
d17c5a389768 usb: dwc2: fix STM ID/VBUS detection startup delay in dwc2_driver_probe
2b2edc8fc5a8 USB: NO_LPM quirk Lenovo USB-C to Ethernet Adapher(RTL8153-04)
fd623e16b2ff tty: n_hdlc: make n_hdlc_tty_wakeup() asynchronous
9439fabfc349 KVM: x86: Drop guest CPUID check for host initiated writes to MSR_IA32_PERF_CAPABILITIES
5fe305c6d485 Revert "usb: early: convert to readl_poll_timeout_atomic()"
2b54f485f2c1 USB: gadget: bRequestType is a bitfield, not a enum
151ffac3ac27 powerpc/85xx: Fix oops when CONFIG_FSL_PMC=n
fcf9194d366c bpf, selftests: Fix racing issue in btf_skc_cls_ingress test
6f46c59e60b6 sit: do not call ipip6_dev_free() from sit_init_net()
6e1011cd183f net: systemport: Add global locking for descriptor lifecycle
d1765f984c99 net/smc: Prevent smc_release() from long blocking
337bb7bf7c31 net: Fix double 0x prefix print in SKB dump
734a3f310605 sfc_ef100: potential dereference of null pointer
7da349f07e45 net/packet: rx_owner_map depends on pg_vec
1a34fb9e2bf3 netdevsim: Zero-initialize memory for new map's value in function nsim_bpf_map_alloc
d3e1f54508f1 ixgbe: set X550 MDIO speed before talking to PHY
48e01e388182 ixgbe: Document how to enable NBASE-T support
776ed8b36697 igc: Fix typo in i225 LTR functions
74a16e062b23 igbvf: fix double free in `igbvf_probe`
ddac50d04f34 igb: Fix removal of unicast MAC filters of VFs
12c1938870dc soc/tegra: fuse: Fix bitwise vs. logical OR warning
451f1eded7f5 mptcp: clear 'kern' flag from fallback sockets
222cebd995cd drm/amd/pm: fix a potential gpu_metrics_table memory leak
74dc97dfb276 rds: memory leak in __rds_conn_create()
67f4362ae286 flow_offload: return EOPNOTSUPP for the unsupported mpls action type
03fd6ca05601 mac80211: fix lookup when adding AddBA extension element
bef59d6a83d3 mac80211: agg-tx: don't schedule_and_wake_txq() under sta->lock
96bc86cac0a9 drm/ast: potential dereference of null pointer
cac0fd4b9bd3 selftest/net/forwarding: declare NETIFS p9 p10
81fbdd45652d net/sched: sch_ets: don't remove idle classes from the round-robin list
be32c8a78887 dmaengine: st_fdma: fix MODULE_ALIAS
dfff1d5e85ff selftests: Fix IPv6 address bind tests
08896ecfffc3 selftests: Fix raw socket bind tests with VRF
5ba4dfb8b8a1 selftests: Add duplicate config only for MD5 VRF tests
12512bc8f25b net: hns3: fix use-after-free bug in hclgevf_send_mbx_msg
3a4f6dba1eb9 inet_diag: fix kernel-infoleak for UDP sockets
20ad1ef02f9a sch_cake: do not call cake_destroy() from cake_init()
1208b445a497 s390/kexec_file: fix error handling when applying relocations
c058c544e73a selftests: net: Correct ping6 expected rc from 2 to 1
9983425c203b virtio/vsock: fix the transport to work with VMADDR_CID_ANY
94a01e6fb2d8 soc: imx: Register SoC device only on i.MX boards
cc426a91d384 clk: Don't parent clks until the parent is fully registered
429bb01e4dda ARM: socfpga: dts: fix qspi node compatible
7b4cc168d9ca ceph: initialize pathlen variable in reconnect_caps_cb
e0f06c32afb2 ceph: fix duplicate increment of opened_inodes metric
640e28d618e8 tee: amdtee: fix an IS_ERR() vs NULL bug
eed897a22230 mac80211: track only QoS data frames for admission control
24983f750881 arm64: dts: rockchip: fix audio-supply for Rock Pi 4
49bd597719bf arm64: dts: rockchip: fix rk3399-leez-p710 vcc3v3-lan supply
9fcdbbf3964d arm64: dts: rockchip: fix rk3308-roc-cc vcc-sd supply
ba866840b240 arm64: dts: rockchip: remove mmc-hs400-enhanced-strobe from rk3399-khadas-edge
3516bc149223 arm64: dts: imx8mp-evk: Improve the Ethernet PHY description
06294e7e341a arm64: dts: imx8m: correct assigned clocks for FEC
4cc6badff97f audit: improve robustness of the audit queue handling
0e21e6cd5eeb dm btree remove: fix use after free in rebalance_children()
f5187a9d52ae recordmcount.pl: look for jgnop instruction as well as bcrl on s390
51f6302f81d2 vdpa: check that offsets are within bounds
e3a1ab5aea4c virtio_ring: Fix querying of maximum DMA mapping size for virtio device
0612679e48d0 bpf, selftests: Add test case trying to taint map value pointer
279e0bf80d95 bpf: Make 32->64 bounds propagation slightly more robust
e2aad0b5f2cb bpf: Fix signed bounds propagation after mov32
f0f484714f35 firmware: arm_scpi: Fix string overflow in SCPI genpd driver
7fd214fc7f2e mac80211: validate extended element ID is present
0bb50470f1e0 mac80211: send ADDBA requests using the tid/queue of the aggregation session
29bb131dbbb5 mac80211: mark TX-during-stop for TX in in_reconfig
15640e40e3bb mac80211: fix regression in SSN handling of addba tx
49b7e496928e KVM: downgrade two BUG_ONs to WARN_ON_ONCE
8d0f56c2ed71 KVM: selftests: Make sure kvm_create_max_vcpus test won't hit RLIMIT_NOFILE

(From OE-Core rev: 8710dca273bada79536e84ad3c206bd1b40aab97)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-12 21:09:01 +00:00
Alexander Kanavin
a8e6024a02 connman-conf: do nothing in qemu, do not touch eth0
qemu kernel itself is nowdays perfectly capable of setting up
what was passed in via ip=:

    [    1.676847] IP-Config: Complete:
    [    1.677768]      device=eth0, hwaddr=52:54:00:12:34:02, ipaddr=192.168.7.2, mask=255.255.255.0, gw=192.168.7.1
    [    1.679933]      host=192.168.7.2, domain=, nis-domain=(none)
    [    1.681201]      bootserver=255.255.255.255, rootserver=255.255.255.255, rootpath=
    [    1.681203]      nameserver0=8.8.8.8

connman-conf only does the same thing again by (badly and incompletely)
parsing those parameters with sed.

(From OE-Core rev: 3c25b89720417a7b1963f0a32c870208a5803950)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-12 07:19:35 +00:00
Oleksandr Kravchuk
d907c29262 ofono: update to 1.34
Changelog:
- Fix issue with handling device info of Quectel modems.
- Fix issue with handling callback for RIL dial manager.

(From OE-Core rev: a995c2e2d3bc119fca7c6e3b26e430dea391b914)

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-12 07:19:35 +00:00
Alejandro Hernandez Samaniego
d4b186c2cf gcc-cross-canadian: Fix cross canadian compiler for baremetal targets
While building GCC it checks whether the include directory exists,
if it doesnt it throws an error and exits:

| The directory that should contain system headers does not exist:
| tmp/work/x86_64-nativesdk-pokysdk-linux/gcc-cross-canadian-riscv32/
    11.2.0-r0/recipe-sysroot/usr/include/
| make[1]: *** [Makefile:3257: stmp-fixinc] Error 1

Even though for the baremetal toolchain not having this directory
does make sense.

We overcame this by removing the --with-sysroot=/not/exist argument
for baremetal toolchains (via TARGET_OS override), however, the
newlib toolchain does have headers and an includedir, hence by fixing
the baremetal toolchain we broke the newlib one since it uses the same
TARGET_OS as baremetal, causing for example (on newlib):

/sdk/sysroots/x86_64-pokysdk-linux/usr/lib/riscv32-poky-elf/gcc/
    riscv32-poky-elf/11.2.0/include/stdint.h:9:16:
fatal error: stdint.h: No such file or directory

| # include_next <stdint.h>
                 ^~~~~~~~~~
compilation terminated.

By creating a dummy includedir, and removing the previous fix we
allow GCC to be built the same way, unifying the cross compiler
for all targets.

After this fix both TCLIBC=baremetal and TCLIBC=newlib SDKs work
properly.

(From OE-Core rev: 08ff7c87efdf373f1874fcccd9a2a73fc0efef30)

Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandro@enedino.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-12 07:19:35 +00:00
Richard Purdie
16110cdca7 oeqa/sstate: Fix allarch samesigs test
The allarch sstate sigs test is supposed to compare the allarch sigs but
does not. Fix this.

Also rename the common function to make it clear it isn't just used by
the allarch test.

(From OE-Core rev: 549597d422c7bcb467f34139ff25d2bee96bf851)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-11 15:48:11 +00:00
Richard Purdie
9d4dd141bf sstatetests: Add OLDEST_KERNEL to allarch tests
Some architectures vary OLDEST_KERNEL and this shouldn't change the allarch
signatures but in current OE-Core can/does. Add differing values to the
test configs to ensure we catch this in future (we want to keep a 32 and
64 bit machine here to test that as well).

(From OE-Core rev: 151ce55ec8ebc91b83bf0d09b9196f11646df1f1)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-11 15:48:11 +00:00
Kai Kang
ce0d3b748b xserver-xorg: 21.1.2 -> 21.1.3
Upgrade xserver-xorg from 21.1.2 to 21.1.3. And adjust indent as well.

(From OE-Core rev: c32dfebbab45122dc005c1ae9c49dc15a4f350b2)

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-11 15:48:11 +00:00
Robert Joslyn
f508beb506 maintainers.inc: Add myself as maintainer for curl
I'll give it a go to try and help out.

(From OE-Core rev: af33fe0f82e5b10757e3fdfa52c028fb9bd7e1d6)

Signed-off-by: Robert Joslyn <robert.joslyn@redrectangle.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-11 15:48:11 +00:00
Robert Joslyn
056ba497d7 curl: Rework openssl and random PACKAGECONFIGs
The existing ssl PACKAGECONFIG makes it slightly annoying to use another
crypto provider while removing openssl. Since --with-ssl is just a
deprecated version of --with-openssl, rename the PACKAGECONFIG to use
the newer preferred name. Note that --without-ssl implies no crypto
provider at all, and should only be used when trying to disable all
crypto support.

Move --with-random to it's own option, since it is useful for other
crypto providers, not just openssl.

(From OE-Core rev: eef6c45fc6ec0a496791123e8ba2f400a5d9d468)

Signed-off-by: Robert Joslyn <robert.joslyn@redrectangle.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-11 15:48:11 +00:00
Robert Joslyn
9050f383b5 curl: Update to 7.81.0
Update URLs to refelct what upstream is presently using and add zstd
PACKAGECONFIG.

(From OE-Core rev: cc029e5e1331b3a8f4181bbfdbe72c547916f458)

Signed-off-by: Robert Joslyn <robert.joslyn@redrectangle.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-11 15:48:11 +00:00
Paul Eggleton
0071d909a5 classes/create-spdx: handle if IMAGE_LINK_NAME is empty
If IMAGE_LINK_NAME is set to "" (supported in other classes) then skip
creating symlinks for the spdx manifest files.

(From OE-Core rev: c2d5e2dbbba78d8d7036f6418360b2e84bcdc169)

Signed-off-by: Paul Eggleton <paul.eggleton@microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-11 15:48:11 +00:00
Alejandro Hernandez Samaniego
42e73db4c9 tclibc-baremetal: Supply missing /bin/sh target in the baremetal sdk
SDK recipes now require a provider for /bin/sh, this
should come from nativesdk-sdk-provides-dummy which
is added by default to Linux SDKs, however tclibc-baremetal
requires us to explicitly add its new dependency to
TOOLCHAIN_HOST_TASK, otherwise we get a packaging error
while generating an SDK.

e.g.
package packagegroup-cross-canadian-qemuriscv32-1.0-r0.x86_64_nativesdk
requires gdb-cross-canadian-riscv32, but none of the providers
can be installed
  - conflicting requests
  - nothing provides /bin/sh needed by
    gdb-cross-canadian-riscv32-11.1-r0.x86_64_nativesdk

(From OE-Core rev: 8acb88cfe56735530280bab53a871c236f2fd54f)

Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandro@enedino.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-11 15:48:11 +00:00
Alejandro Hernandez Samaniego
ad764fe219 tclibc-newlib: Supply missing /bin/sh target in newlib sdk
SDK recipe now require a provider for /bin/sh, this
should come from nativesdk-sdk-provides-dummy which
is added by default to Linux SDKs, however tclibc-newlib
requires us to explicitly add its new dependency to
TOOLCHAIN_HOST_TASK, otherwise we get a packaging error
while generating an SDK.

e.g.
package packagegroup-cross-canadian-qemuriscv32-1.0-r0.x86_64_nativesdk
requires gdb-cross-canadian-riscv32, but none of the providers
can be installed
  - conflicting requests
  - nothing provides /bin/sh needed by
    gdb-cross-canadian-riscv32-11.1-r0.x86_64_nativesdk

(From OE-Core rev: 9efcde387b31335d16394ce6b30e4abb1525185f)

Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandro@enedino.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-11 15:48:11 +00:00
Peter Kjellerstedt
97726d1b87 rootfs-postcommands.bbclass: Make two comments use the new variable syntax
(From OE-Core rev: cb17cccaf2f51558bd1d320559bd792d5869688e)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-11 15:48:11 +00:00
wangmy
06bedd759d diffoscope: upgrade 196 -> 199
Changelog:
=========
* Support both variants of "odt2txt", including the one provided by unoconv.
  (Closes: reproducible-builds/diffoscope#298)

* Add external tool reference on Arch Linux for xb-tool.

(From OE-Core rev: 763c44e30c20ebcd4199d41fa76dae3d3b4ec5c3)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-11 15:48:10 +00:00
Andrei Gherzan
97dd81b556 gcc: Fix typo in linux64.h install patch
The "gcc: Fix compile of gcc plugins" patch had a typo making it a noop.
This was due to a rework to make it specific to the linux64.h header.

(From OE-Core rev: 5f0f00f0988c02d7fe0fa62edf3e4901ce9941a6)

Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-11 15:48:10 +00:00
wangmy
68dd36f535 libpipeline: upgrade 1.5.4 -> 1.5.5
(From OE-Core rev: 680892aedaec656d4ac405c3c295017120b3970e)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-11 15:48:10 +00:00
wangmy
d91ce77d56 less: upgrade 598 -> 600
License-Update: year updated to 2022.

Changelog:
==========
Add the --header option.
Add the --no-number-headers option.
Add the --status-line option.
Add the --redraw-on-quit option.
Add the --search-options option.
Add 'H' color type to set color of header lines.
Add #version conditional to lesskey.
Add += syntax to variable section in lesskey files.
Allow option name in -- command to end with '=' in addition to '\n'.
Add $HOME/.config to possible locations of lesskey file.
Add $XDG_STATE_HOME and $HOME/.local/state to possible locations of history file.
Don't read or write history file in secure mode.
Fix display of multibyte and double-width chars in prompt.
Fix ESC-BACKSPACE command when BACKSPACE key does not send 0x08.
Add more \k codes to lesskey format.
Fix bug when empty file is modified while viewing it.
Fix bug when parsing a malformed lesskey file.
Fix bug scrolling history when --incsearch is set.
Fix buffer overflow when invoking lessecho with more than 63 -m/-n options.
Fix bug restoring color at end of highlighted text.
Fix bug in parsing lesskey file.
Defer moving cursor to lower left in some more cases.
Suppress TAB filename expansion in some cases where it doesn't make sense.

(From OE-Core rev: 30047fb4fcdef868c6d45cb6a71fbc9278600ba2)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-11 15:48:10 +00:00
wangmy
d3b77c2aa5 iso-codes: upgrade 4.8.0 -> 4.9.0
Changelog:
=========
Added
----------
ISO 639-3: New translation for Friulian
ISO 639-5: New translations for Esperanto, Hindi, Russian
ISO 4217: New translation for Esperanto

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

(From OE-Core rev: c9a83af6d6c5248bb16bdfaf628d3727889993fd)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-11 15:48:10 +00:00
wangmy
4c51a8c9e7 bluez5: upgrade 5.62 -> 5.63
Changelog:
=========
This release is mostly a bug fix release, with fixes to features such as GATT,
SDP, Daemon, and emulator. It also adds a new MGMT Event for Device Found and
Device Lost of Advertisement Monitor.

New build options for sanitizers (lsan, asan, ubsan) are added and it may
require installing additional libraries depending on the distros.

(From OE-Core rev: 49f48ce6c3467e784b817b1cfc7155c2f3ebeb84)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-11 15:48:10 +00:00
wangmy
073c6f8a3a createrepo-c: upgrade 0.17.7 -> 0.18.0
(From OE-Core rev: a4ecbb65cb85c1a5157154a4a0d931b745addece)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-11 15:48:10 +00:00
wangmy
7a3ac0aead bash: upgrade 5.1.8 -> 5.1.16
Changelog:
=========
1. New Features in Bash

a. 'bind -x' now supports different bindings for different editing modes and
   keymaps.

b. Bash attempts to optimize the number of times it forks when executing
   commands in subshells and from 'bash -c'.

c. Here documents and here strings now use pipes for the expanded document if
   it's smaller than the pipe buffer size, reverting to temporary files if it's
   larger.

d. There are new loadable builtins: mktemp, accept, mkfifo, csv, cut/lcut

e. In posix mode, 'trap -p' now displays signals whose disposition is SIG_DFL
   and those that were SIG_IGN when the shell starts.

f. The shell now expands the history number (e.g., in PS1) even if it is not
   currently saving commands to the history list.

g. 'read -e' may now be used with arbitrary file descriptors ('read -u N').

h. The 'select' builtin now runs traps if its internal call to the read builtin
   is interrupted by a signal.

i. SRANDOM: a new variable that expands to a 32-bit random number that is not
   produced by an LCRNG, and uses getrandom/getentropy, falling back to
   /dev/urandom or arc4random if available. There is a fallback generator if
   none of these are available.

j. shell-transpose-words: a new bindable readline command that uses the same
   definition of word as shell-forward-word, etc.

k. The shell now adds default bindings for shell-forward-word,
   shell-backward-word, shell-transpose-words, and shell-kill-word.

l. Bash now allows ARGV0 appearing in the initial shell environment to set $0.

m. If 'unset' is executed without option arguments, bash tries to unset a shell
   function if a name argument cannot be a shell variable name because it's not
   an identifier.

n. The 'test -N' operator uses nanosecond timestamp granularity if it's
   available.

o. Bash posix mode now treats assignment statements preceding shell function
   definitions the same as in its default mode, since POSIX has changed and
   no longer requires those assignments to persist after the function returns
   (POSIX interp 654).

p. BASH_REMATCH is no longer readonly.

q. wait: has a new -p VARNAME option, which stores the PID returned by 'wait -n'
   or 'wait' without arguments.

r. Sorting the results of pathname expansion now uses byte-by-byte comparisons
   if two strings collate equally to impose a total order; the result of a
   POSIX interpretation.

s. Bash now allows SIGINT trap handlers to execute recursively.

t. Bash now saves and restores state around setting and unsetting posix mode,
   instead of having unsetting posix mode set a known state.

u. Process substitution is now available in posix mode.

v. READLINE_MARK: a new variable available while executing commands bound with
   'bind -x', contains the value of the mark.

w. Bash removes SIGCHLD from the set of blocked signals if it's blocked at shell
   startup.

x. 'test -v N' can now test whether or not positional parameter N is set.

y. 'local' now honors the '-p' option to display all local variables at the
    current context.

z. The '@a' variable transformation now prints attributes for unset array
   variables.

aa. The '@A' variable transformation now prints a declare command that sets a
    variable's attributes if the variable has attributes but is unset.

bb. 'declare' and 'local' now have a -I option that inherits attributes and
    value from a variable with the same name at a previous scope.

cc. When run from a -c command, 'jobs' now reports the status of completed jobs.

dd. New 'U', 'u', and 'L' parameter transformations to convert to uppercase,
    convert first character to uppercase, and convert to lowercase,
    respectively.

ee. PROMPT_COMMAND: can now be an  array variable, each element of which can
    contain a command to be executed like a string PROMPT_COMMAND variable.

ff. 'ulimit' has a -R option to report and set the RLIMIT_RTTIME resource.

gg. Associative arrays may be assigned using a list of key-value pairs within
    a compound assignment. Compound assignments where the words are not of
    the form [key]=value are assumed to be key-value assignments. A missing or
    empty key is an error; a missing value is treated as NULL. Assignments may
    not mix the two forms.

hh. New 'K' parameter transformation to display associative arrays as key-
    value pairs.

ii. Writing history to syslog now handles messages longer than the syslog max
    length by writing multiple messages with a sequence number.

jj. SECONDS and RANDOM may now be assigned using arithmetic expressions, since
    they are nominally integer variables. LINENO is not an integer variable.

kk. Bash temporarily suppresses the verbose option when running the DEBUG trap
    while running a command from the 'fc' builtin.

ll. 'wait -n' now accepts a list of job specifications as arguments and will
    wait for the first one in the list to change state.

mm. The associative array implementation can now dynamically increase the
    size of the hash table based on insertion patterns.

nn. HISTFILE is now readonly in a restricted shell.

oo. The bash malloc now returns memory that is 16-byte aligned on 64-bit
    systems.

pp. If the hash builtin is listing hashed filenames portably, don't print
   anything if the table is empty.

qq. GLOBIGNORE now ignores '.' and '..' as a terminal pathname component.

rr. Bash attempts to optimize away forks in the last command in a function body
    under appropriate circumstances.

ss. The globbing code now uses fnmatch(3) to check collation elements (if
    available) even in cases without multibyte characters.

tt. The 'fg' and 'bg' builtins now return an error in a command substitution
    when asked to restart a job inherited from the parent shell.

uu. The shell now attempts to unlink all FIFOs on exit, whether a consuming
    process has finished with them or not.

vv. There is a new contributed loadable builtin: asort.

2. New Features in Readline

a. If a second consecutive completion attempt produces matches where the first
   did not, treat it as a new completion attempt and insert a match as
   appropriate.

b. Bracketed paste mode works in more places: incremental search strings, vi
   overstrike mode, character search, and reading numeric arguments.

c. Readline automatically switches to horizontal scrolling if the terminal has
   only one line.

d. Unbinding all key sequences bound to a particular readline function now
   descends into keymaps for multi-key sequences.

e. rl-clear-display: new bindable command that clears the screen and, if
   possible, the scrollback buffer (bound to emacs mode M-C-l by default).

f. New active mark and face feature: when enabled, it will highlight the text
   inserted by a bracketed paste (the 'active region') and the text found by
   incremental and non-incremental history searches. This is tied to bracketed
   paste and can be disabled by turning off bracketed paste.

g. Readline sets the mark in several additional commands.

h. Bracketed paste mode is enabled by default.

i. Readline tries to take advantage of the more regular structure of UTF-8
   characters to identify the beginning and end of characters when moving
   through the line buffer.

j. The bindable operate-and-get-next command (and its default bindings) are
   now part of readline instead of a bash-specific addition.

k. The signal cleanup code now blocks SIGINT while processing after a SIGINT.

(From OE-Core rev: 842edd425e82c983ca0b1a7b733baf41cb689a69)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-11 15:48:10 +00:00
wangmy
0d2b1cbde5 ell: upgrade 0.46 -> 0.47
Changelog:
=========
Fix issue with memory leaking from DHCP leases.
Fix issue with NULL terminating of Base64 encoding.

(From OE-Core rev: 489665c86df9157d1d510b8d22a05d890da5b381)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-11 15:48:10 +00:00
Alexander Kanavin
bd28d659b2 systemd-boot: restore reproducibility
(From OE-Core rev: fde5147206ae82d11819fcc23fbe4fc2f94ea52b)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-11 10:53:44 +00:00
Alexander Kanavin
3e02d8d277 parselogs: add a couple systemd false positives
New systemd has changed the phrasing when skipping things,
with unfortunate use of 'failed':

[    1.623667] systemd[1]: Journal Audit Socket was skipped because of a failed condition check (ConditionSecurity=audit).
[    1.688258] systemd[1]: Load Kernel Modules was skipped because all trigger condition checks failed.

(From OE-Core rev: 743d09665a4ef743b1fa9ac382a713556dfce1a1)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-11 10:53:44 +00:00
Alexander Kanavin
2a3e849326 qemuboot/runqemu: fully form the ip= kernel parameter
New systemd is actually parsing this in systemd-network-generator
and fails if it is not fully formed. 'off' means 'static ip, do nothing':
https://www.kernel.org/doc/Documentation/filesystems/nfs/nfsroot.txt

(From OE-Core rev: 2cf12c8dde0f05917797f8b4a80883dc0647b95d)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-11 10:53:44 +00:00
Alexander Kanavin
6ba5808ebf librsvg: update 2.52.4 -> 2.52.5
Remove upstreamed patches.

(From OE-Core rev: b7ad5aacf2c3a58763da438267a31ace8982c1f6)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-11 10:53:44 +00:00
Alexander Kanavin
6e03923be8 epiphany: make libportal optional, and move it to meta-oe
(From OE-Core rev: f87993a918f3087284ac7f1d96701c7bfbbef725)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-11 10:53:44 +00:00
Alexander Kanavin
2fcbbcce7c libportal: update 0.4 -> 0.5
(From OE-Core rev: c333ae8425c15ee1abc6aaac1bf98e6ff506d0ef)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-11 10:53:44 +00:00
Alexander Kanavin
b93bd0e85e mdadm: update 4.1 -> 4.2
Drop 0001-Compute-abs-diff-in-a-standard-compliant-way.patch
(upstream refactored code)
mdadm-fix-ptest-build-errors.patch
(upstream fixed the issue)

(From OE-Core rev: acf82e36996c082f52c02d50b06965f74ef87430)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-11 10:53:44 +00:00
Alexander Kanavin
633b403b6d python3-numpy: update 1.21.4 -> 1.22.0
(From OE-Core rev: 6b9f2e078fb5653a1cedd64e90459e2f0780eb7e)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-11 10:53:44 +00:00
Alexander Kanavin
a02cdb5674 systemd: update 249.7 -> 250.1
(From OE-Core rev: e22188e47d2fce2406d9db9c95289b3878eda69f)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-11 10:53:44 +00:00
Alexander Kanavin
12c90b3c83 busybox: update 1.34.1 -> 1.35.0
Drop upstreamed patch.

(From OE-Core rev: a7d5150b621c2ab4e4ad8acc6267b40d9e899b33)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-11 10:53:44 +00:00
Alexander Kanavin
43b7766105 rust-llvm: apply the same reproducibility patch as for llvm proper
(From OE-Core rev: a845029df7ea8c1bd987ffac3902d4521742debb)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-11 10:53:44 +00:00
Alexander Kanavin
5002a548ad ruby: disable rdoc due to non-reproducibility
The issue is reported upstream:
https://bugs.ruby-lang.org/issues/18456

Otherwise I do not feel that further investigation of rdoc's parser to find
out the source of non-determinism is worth the time.

(From OE-Core rev: 208021f7212a8a790c350ccca720695c5bcbb1ca)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-11 10:53:44 +00:00
Ross Burton
b31a0c6371 xserver-xorg: whitelist two CVEs
CVE-2011-4613 is specific to Debian/Ubuntu.

CVE-2020-25697 is a non-trivial attack that may not actually be feasible
considering the default behaviour for clients is to exit if the
connection is lost.

(From OE-Core rev: afa2e6c31a79f75ff4113d53f618bbb349cd6c17)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-11 10:53:44 +00:00
Richard Purdie
6cbf2a490d wayland-protocols: Change inherit order
allarch needs to be after meson so that qemu usage can be disabled
and the package can really be architecture independent.

(From OE-Core rev: f7b58d5a6681547735ba747f5872abf35c9fa2c1)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-11 10:53:44 +00:00
Richard Purdie
9a708ebb2e expat: Update HOMEPAGE to current url
Upstream pointed out we were using an old url for HOMEPAGE. Update it to the
current url.

(From OE-Core rev: f3a7e2ba247efe72154c263d1d680aaf3da5b609)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-11 10:53:44 +00:00
Michael Opdenacker
0f8337865f manuals: add reference to GIR_EXTRA_LIBS_PATH plus minor improvements
Fixes [YOCTO #14533]

(From yocto-docs rev: 84001d5d4258dad9e3663ea842ecc291d9e1a7dd)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-10 23:12:43 +00:00
Michael Opdenacker
fdbbdda7e5 dev-manual: update bitbake.conf sample for static libs
(From yocto-docs rev: 0762a24cb20e23d4903402bea109ae8d1d85ef5e)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-10 23:12:43 +00:00
Michael Opdenacker
76ab2eab31 manuals: document hash equivalence
(From yocto-docs rev: 7fad0873207980a747f79b2ce29ec0dc6c6c3cdf)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-10 23:12:43 +00:00
Tim Orling
35a14725d6 poky.yaml: centos-7 python36-pip -> python3-pip
In CENTOS7_HOST_PACKAGES_ESSENTIAL, change python36-pip to python3-pip.

The python36-pip package was obsoleted by python3-pip in RHEL 7.7+

6771a1c54f

(From yocto-docs rev: df5d499f86e0cf2b6316778c7c390d64f5f1367c)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-10 23:12:43 +00:00
Chen Qi
5d653957d5 populate_sdk_base: remove unneeded dirs such as /dev
We met a problem that core-image-tiny-initramfs's SDK cannot be
installed. The error message is like below.

  tar: ./sysroots/core2-64-poky-linux/dev/console: Cannot mknod: Operation not permitted

In fact, the '/dev' direcotry is not needed by SDK. So remove it.

This patches uses a variable, SDK_PRUNE_SYSROOT_DIRS, to hold useless dir entries
so that it could be extended. For example, '/usr/bin' could be added if wanted.

(From OE-Core rev: 9154f71c7267e9731156c1dfd57397103e9e6a2b)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-08 14:17:35 +00:00
Konrad Weihmann
d55fbf4779 cve-check: add lockfile to task
this should prevent running into the very rare error
sqlite3.OperationalError: attempt to write a readonly database

As highlighted by https://www.sqlite.org/faq.html#q5
it is likely that the adapter won't allow use multiple exec calls
at the same time.

So it's best to prevent multiple accesses at a time, by reusing
the already in place CVE_CHECK_DB_FILE_LOCK

YOCTO #14110

(From OE-Core rev: 677f5741bd265be49d4a5bb933b3e8d8c4eec653)

Signed-off-by: Konrad Weihmann <kweihmann@outlook.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-08 14:17:35 +00:00
Khem Raj
0b032e6ff4 libsdl2: Fix build when libunwind is not used
clang provides libunwind.h and cmake adds a check to
find libunwind when this header is detected, which was
not the case with automake. The check however is expecting
specific unwinder implementation which provides libunwind-generic
solib, this is not a standard library that all implementations
will provide, therefore make this check optional.

(From OE-Core rev: fb450807774d100b9b568364b014ac46f5642b7e)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-08 14:17:35 +00:00
Richard Purdie
c48097ece9 allarch: Fix interaction with qemu class
The qemu class declares functions which are architecture specific. If a user such
as meson is used in an allarch recipe, this leads to sstate which is machine
specific. To fix this, remove the architecture specific part, since there are no
binaries in allarch classes, this change shouldn't break anything.

(From OE-Core rev: 049879ba842d89f268b8e3a4e26410d13bc54158)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-07 23:10:26 +00:00
Richard Purdie
8a8622d3e1 Revert "qemu.bbclass: drop OLDEST_KERNEL reference"
This patch was merged on the basis that it wasn't needed with recent versions
of qemu. That isn't true and has been showen to cause failures for aarch64 on
centos7 hosts. Revert the patch as we'll need a different solution.

This reverts commit 94b371e1c9.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-07 23:10:26 +00:00
Richard Purdie
4bb526f09e libsdl2: Fix X11 configure options
We're seeing various failures where the X11 headers are found on the native
system but not all libraries are present and hence autoconfiguration of the
X11 subcomponents fails.

We don't list any of these X11 subcomponents as a dependency so disable
them by default. Configuration and dependencies can be added if people need
them.

(From OE-Core rev: f30ebc0b82b10f56f250a3a9c4f1f2fe9fb281b3)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-07 23:10:26 +00:00
Andreas Müller
2ae6a1ce19 libsdl2: Move to CMake build
(From OE-Core rev: c00f79c2f1b8a939e9a19e641c49aa759dd3a342)

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-07 23:10:26 +00:00
Richard Purdie
f3674e74a3 gtk-doc/meson: Fix typos
Fix a couple of function name typos copy and pasted between the classes.

(From OE-Core rev: f99b98341cfb849680461cfa2992f854eebad5df)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-07 14:39:17 +00:00
Saul Wold
73ae1a3760 perl: Enable threading
When the tranisiton to perl-cross occured, the threading define
seems to have been missed.  The perl tests for threading where
simply skipped, so there was no direct failures.  This was verified
by running perl ptest before and after the change to see PASS vs SKIP
results of threaded related tests.

NOTE: Perl officially discourges the use of threads, so this
functionality maybe depercated in the future [0][1]

v2: adds the usethreads to native and nativesdk. This was tested by
builing postresql and rrdtool which use perl and automake.

[0] https://perldoc.perl.org/5.34.0-RC2/threads#WARNING
[1] https://perldoc.perl.org/perlpolicy#discouraged

(From OE-Core rev: b9fd7cd319a1d8f0ddf5ea60710b015e9afb588c)

Signed-off-by: Saul Wold <saul.wold@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-07 14:39:17 +00:00
Joshua Watt
bc22fe89fd selftest: reproducible: Set maximum report size
Diffoscope can end up running for a very long time if there are a lot of
changes. To put a limit on how long it can run, cap the maximum report
size at 250 MB by default.

(From OE-Core rev: 52d5f76f54eac384f9480dffe96df089d9ee8f33)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-07 14:39:17 +00:00
Alexander Kanavin
d5279dac96 virgl: skip headless test on alma 8
As a centos 8 spinoff, it lacks the same vgem kernel module.

(From OE-Core rev: a48bfc9c0938c51c91dd925bd7f5360bc01252ae)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-07 14:39:17 +00:00
Oleksandr Kravchuk
e4a7c042d8 xserver-xorg: update to 21.1.2
(From OE-Core rev: 7bbef7deeb339ddb98e5b13418a32ffabdeee404)

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-07 14:39:17 +00:00
Andrei Gherzan
eb5f3fb2f8 gcc: Fix compile of gcc plugins
Without this, compiling gcc plugins will fail with an error similar to:
[...]
fatal error: ./config/i386/linux64.h: No such file or directory
[...]

In Yocto, we set up compiling gcc-cross out of tree. Which in turn makes
the generated headers end up in B. The tm.h header will include
generated headers that are expected in plugin/include/config/*.

For example, the linux64.h header, when generating gcc-cross for x86-64,
will end up in tm.h header as:

include "./config/i386/linux64.h"

On the other hand, the make rule `install-plugin` in gcc/Makefile.in
will install the linux64.h assuming that it is generated in the sources
directory and because this is not the case in our setup, the Makefile
ends up installing it in plugin_includedir/`basename $$path` which ends
up installing the header in [..]plugin/include as opposed to
[..]plugin/include/config/i386 (as expected by the generator of tm.h).

The included patch modifies the Makefile rule to match the assumption of
gcc-cross being compiled out of tree.

(From OE-Core rev: 92167f8e02bb6fbbe1ee6a6678525a0ae27b00a5)

Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-07 14:39:17 +00:00
Otavio Salvador
a8cd929d3f libxcrypt, libxcrypt-compat: upgrade 4.4.26 -> 4.4.27
License-Update: build-aux files updated.
(From OE-Core rev: bb252e1e31a127abd9f9b111897e007d1bd88f11)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-07 14:39:17 +00:00
Changhyeok Bae
32315dcf5a iputils: update 20210722 to 20211215
traceroute6 and tftpd were removed in iputils.

(From OE-Core rev: 9a5c496ac46ada3dde468755d879aab07e487e13)

Signed-off-by: Changhyeok Bae <changhyeok.bae@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-07 14:39:17 +00:00
Tim Orling
6748c9a1ea maintainers.inc: update email address
(From OE-Core rev: 9fa24f0af13d04c127857fcb78125073ed7f2cdb)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-07 14:39:17 +00:00
Ross Burton
9330d750a9 linux-yocto: add libmpc-native to DEPENDS
5.10.85 changed how the GCC plugins are built, which means they now
depend on both GMP and MPC to be built. We already depend on gmp-native,
so add libmpc-native aswell.

(From OE-Core rev: 128abf5eb76dd0d2680c93f043bf7cac0a3552b8)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-07 14:39:17 +00:00
Michael Opdenacker
0cda4b934d documentation/README: trivial typo fix
(From yocto-docs rev: f3f252c08a8ae9b492d766fd8a7168baf7467a07)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-07 11:12:06 +00:00
Max Krummenacher
22075d91d6 ref-manual: fix patch documentation
The do_patch implementation does not apply patches from an entry in
SRC_URI pointing to a directory.
Remove the claim that this is implemented.

(From yocto-docs rev: de1156b6d95a2d1738807f0b0525edd0b58fc0e9)

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Reviewed-by: Quentin Schulz <foss+yocto@0leil.net>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-07 11:12:06 +00:00
Robert Joslyn
3182ba8142 ref-manual: Fix module_conf typo
Modules specified as part of module_conf must be listed in
KERNEL_MODULE_PROBECONF, not KERNEL_MODULE_AUTOLOAD.

(From yocto-docs rev: 5720fb534dc343675f8be6369b9661512e3968f2)

Signed-off-by: Robert Joslyn <robert.joslyn@redrectangle.org>
Reviewed-by: Quentin Schulz <foss+yocto@0leil.net>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-07 11:12:06 +00:00
Michael Opdenacker
5e5252bf13 quick start manual: update Share State and Hash Equivalence settings
(From yocto-docs rev: 8668f070a5f2bf70f71f1ac53d2fac1b0faff82d)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-07 11:12:06 +00:00
Michael Opdenacker
36d200ab0a manuals: replace "rootfs" by "root filesystem"
Almost everyone understands "rootfs", but "root filesystem"
is real English.

(From yocto-docs rev: 3d610f15e5b6be3435e9e81e4498a676671e5b39)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-07 11:12:06 +00:00
Michael Opdenacker
620ba2535c overview-manual: fix typo
(From yocto-docs rev: 595d3e77855aeed31537a5e58a4426d7cc0b21f5)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-07 11:12:06 +00:00
Michael Opdenacker
dd938fbbdb documentation: add comment to releases.rst switchers.js
To let release developers know that they don't need
to update these files in release branches other than "master".

(From yocto-docs rev: 00f71afae92e5967a0422824841d4d4db682d235)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-07 11:12:06 +00:00
Vyacheslav Yurkov
5ec29c558f ref-manual: document overlayfs-etc image feature
(From yocto-docs rev: 62c7cea1b916c04bfd5c25e0011424b90d5272a1)

Signed-off-by: Vyacheslav Yurkov <uvv.mail@gmail.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-07 11:12:06 +00:00
Vyacheslav Yurkov
4b2d79d740 ref-manual: add overlayfs-etc class
(From yocto-docs rev: c11da26609e02f0c0b43efacb4642141d990ebaa)

Signed-off-by: Vyacheslav Yurkov <uvv.mail@gmail.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-07 11:12:06 +00:00
Richard Purdie
7c7e53570c bitbake: utils: Update to use exec_module() instead of load_module()
This is deprecated in python 3.12 and Fedora 35 is throwing warnings so
move to the new functions.

(Bitbake rev: 68a18fbcb5959e334cf307d7fa8dc63832edb942)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-05 17:18:34 +00:00
Richard Purdie
fc2bc42eec scripts: Update to use exec_module() instead of load_module()
This is deprecated in python 3.12 and Fedora 35 is throwing warnings so
move to the new functions.

(From OE-Core rev: 655cd3f614d736416eab0d708b7c49674bf5c977)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-05 17:18:16 +00:00
Otavio Salvador
6209684ca6 mesa: 21.3.1 -> 21.3.3
Upgrade to 21.3.3 stable release. It includes bugfixes and minor
improvements, for more detailed information about the included changes
refer to the specific release notes:

 - 21.3.2: https://docs.mesa3d.org/relnotes/21.3.2.html
 - 21.3.3: https://docs.mesa3d.org/relnotes/21.3.3.html

(From OE-Core rev: 6982e2d66bd8296a3f67c72636ce015d328377d0)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-05 17:18:16 +00:00
Otavio Salvador
03b1e9c761 python3-dtschema: upgrade 2021.10 -> 2021.12
(From OE-Core rev: 3ca55d834be756e6ab8422ba6203e95a2f54086e)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-05 17:18:16 +00:00
Otavio Salvador
b93bd18b11 stress-ng: upgrade 0.13.08 -> 0.13.09
(From OE-Core rev: 3161fc23a5ed7c6fa35a9730c9eca37a0979425e)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-05 17:18:16 +00:00
Otavio Salvador
c3a5948e45 sqlite3: upgrade 3.37.0 -> 3.37.1
(From OE-Core rev: a4d1d878ddf57688535722ef330938b7e1c78066)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-05 17:18:16 +00:00
Otavio Salvador
abaeed44f6 python3-zipp: upgrade 3.6.0 -> 3.7.0
(From OE-Core rev: b3854ddaeeebed1270f0b2cbf24b23b3616904eb)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-05 17:18:16 +00:00
Otavio Salvador
8c4399352e python3-tomli: upgrade 1.2.2 -> 2.0.0
(From OE-Core rev: 823e1b028246445c0d88803b428d8d107a8814a6)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-05 17:18:16 +00:00
Otavio Salvador
bc638be468 python3-ruamel-yaml: upgrade 0.17.17 -> 0.17.19
(From OE-Core rev: f6aec25377555f050fd4b621ca7143182d0534e9)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-05 17:18:16 +00:00
Otavio Salvador
721912cfcb python3-pygments: upgrade 2.10.0 -> 2.11.1
(From OE-Core rev: 8d48a3e9a7abca9058ba056019226c6bd97b0ccf)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-05 17:18:16 +00:00
Otavio Salvador
c8b3beebc8 python3-importlib-metadata: upgrade 4.9.0 -> 4.10.0
(From OE-Core rev: 643b888e7e36106a1b7d8aeeab66fac9e186cc79)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-05 17:18:16 +00:00
Otavio Salvador
6f393c686b python3-hypothesis: upgrade 6.31.4 -> 6.34.1
(From OE-Core rev: d54efcd26577ef18d5e32e3de6f664040c3ccf1b)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-05 17:18:16 +00:00
Otavio Salvador
aa9c46358e python3-cython: upgrade 0.29.25 -> 0.29.26
(From OE-Core rev: 749c8767935bf4a11103e7dad32042a1ba7d7d68)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-05 17:18:16 +00:00
Otavio Salvador
b06683312f python3-attrs: upgrade 21.2.0 -> 21.4.0
(From OE-Core rev: aa9df5c39c47f93f99ec6a29790f25c4cde3e0a2)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-05 17:18:16 +00:00
Otavio Salvador
1f0b53dd43 mmc-utils: upgrade to latest revision
(From OE-Core rev: 401206ebb4d7cd46bd157eef0df1a6048726db82)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-05 17:18:16 +00:00
Otavio Salvador
5d2d8586e6 meson: upgrade 0.60.2 -> 0.60.3
[RP: Add nativesdk variant]
(From OE-Core rev: ff5e1504c04a46200024353aa02b6e41fd7a59c5)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-05 17:18:15 +00:00
Otavio Salvador
55b953df4c kea: upgrade 2.0.0 -> 2.0.1
(From OE-Core rev: 34f990f4a18425861f938ed3127d4aba711eec3c)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-05 17:18:15 +00:00
Otavio Salvador
9c9c57baf4 bind: upgrade 9.16.23 -> 9.16.24
(From OE-Core rev: 46f8d4eb30463b0e2ae5d2e045842d19b0ed1eae)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-05 17:18:15 +00:00
Otavio Salvador
8d9e8075d9 alsa-ucm-conf: upgrade 1.2.6.2 -> 1.2.6.3
(From OE-Core rev: c71b26ad37dde882a31775b83166281ee334eea9)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-05 17:18:15 +00:00
Otavio Salvador
f4d5a43926 asciidoc: upgrade 10.0.2 -> 10.1.1
(From OE-Core rev: 7774eb74916014e1c18b8dc8e7bd81eadb33b641)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-05 17:18:15 +00:00
Otavio Salvador
bfd5f2871c acpica: upgrade 20210930 -> 20211217
(From OE-Core rev: 354cd371b114e548968e4313a69a9adb38642c5d)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-05 17:18:15 +00:00
Alexander Kanavin
2a4f07c720 selftest/reproducible: drop go items from exception list
With this changeset, go becomes reproducible \0/

(From OE-Core rev: 03ada343ecbbbe3822a8fd74e678b01be6b9511a)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-05 17:18:15 +00:00
Alexander Kanavin
ab38db4926 go: additional patches to help reproducibility
(From OE-Core rev: c7299f4e1cd38856885a2451c7c448c99d94b781)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-05 17:18:15 +00:00
Alexander Kanavin
0111724c34 go: correctly set debug-prefix-map and build directory
Go has its own system for creating temporary build
sub-directories with randomized names, and setting
up debug-prefix-map on the fly to prevent those
directories leaking into target binaries. OE's own
settings were clashing with it, so this change
carefully avoids the two stepping on each other.

Additionally, the top level build directory cannot
be named 'go-something'.

(From OE-Core rev: 9985b17a30bb9b9f1bc82a44662687db5cead66e)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-05 17:18:15 +00:00
Alexander Kanavin
51a8e28fe0 lib/oe/reproducible: correctly set .git location when recursively looking for git repos
(From OE-Core rev: ffdaa1a0527691d66dd28e86bd015bfad7a020f6)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-05 17:18:15 +00:00
Alexander Kanavin
a44ba6ae65 go: log build id computations
go writes build-specific ids into binaries it produces
and has a custom system for calculating them from
file hashes, environment variables and other inputs
(not that dissimilar to sstate cache, actually). This can
go wrong :) in various ways (for purposes of reproducibility
in particular), so this enables useful logs to see what
happens and why.

(From OE-Core rev: a587be1d18fc55fe57d1aa5aa7c9e26af887109e)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-05 17:18:15 +00:00
Jacob Kroon
7d0dd2d26b no-static-libs.inc: Fixes
* pciutils/libcap/libpcap all seem to build fine even with the flag set
 * Disable static libraries in libjpeg-turbo-native

(From OE-Core rev: 0f018da9416648ea50cbccc3d4424f0b8a9352b6)

Signed-off-by: Jacob Kroon <jacob.kroon@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-05 17:18:15 +00:00
wangmy
cca9289e34 gnupg: upgrade 2.3.3 -> 2.3.4
refresh relocate.patch

Chanlog:
========
Bugs fixed for this release <https://dev.gnupg.org/#####>
gpg: New option --min-rsa-length. [rG5f39db70c0]
gpg: New option --forbid-gen-key. [rGc397ba3ac0]
gpg: New option --override-compliance-check. [T5655]
gpgconf: New command --show-configs. [rGa0fb78ee0f]
agent,dirmngr,keyboxd: New option --steal-socket. [rGb0079ab39d,rGdd708f60d5]
gpg: Fix printing of binary notations. [T5667]
gpg: Remove stale ultimately trusted keys from the trustdb. [T5685,T5742]
gpg: Fix indentation of --print-mds and --print-md sha512. [T5679]
gpg: Emit gpg 2.2 compatible Ed25519 signature. [T5331]
gpgsm: Detect circular chains in --list-chain. [rG74c5b35062]
dirmngr: Make reading resolv.conf more robust. [T5657]
dirmngr: Ask keyservers to provide the key fingerprints. [T5741]
gpgconf: Allow changing gpg's deprecated keyserver option. [T5462]
gpg-wks-server: Fix created file permissions. [rG60be00b033]
scd: Support longer data for ssh-agent authentication with openpgp cards. [T5682]
scd: Modify DEVINFO behavior to support looping forever. [T5359]
Support gpgconf.ctl for NetBSD and Solaris. [T5656,T5671]
Silence "Garbled console data" warning under Windows in most cases. [rGe293da3b21]
Silence warning about the rootdir under Unices w/o a mounted /proc file system. [T5656]
Fix possible build problems about missing include files. [T5592]

(From OE-Core rev: 66e06fd409c27f212f41b69a01416cea41a198cd)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-05 17:18:15 +00:00
wangmy
31ee7e03b2 expat: upgrade 2.4.1 -> 2.4.2
Changelog:
=========
  #509 #510  Link againgst libm for function "isnan"
  #513 #514  Include expat_config.h as early as possible
       #498  Autotools: Include files with release archives:
               - buildconf.sh
               - fuzz/*.c
  #507 #519  Autotools: Sync CMake templates
  #495 #524  CMake: MinGW: Fix pkg-config section "Libs" for
               - non-release build types (e.g. -DCMAKE_BUILD_TYPE=Debug)
               - multi-config CMake generators (e.g. Ninja Multi-Config)
  #502 #503  docs: Document that function XML_GetBuffer may return NULL
               when asking for a buffer of 0 (zero) bytes size
  #522 #523  docs: Fix return value docs for both
               XML_SetBillionLaughsAttackProtection* functions
  #525 #526  Version info bumped from 9:1:8 to 9:2:8;
               see https://verbump.de/ for what these numbers do

(From OE-Core rev: 98a87bcfa50fc46ea86a085d330f5cbc41ddaaa5)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-05 17:18:15 +00:00
wangmy
e132bae431 python3-numpy: upgrade 1.21.4 -> 1.21.5
Changelog:
==========

Bugs fixed for this release <https://github.com/numpy/numpy/pull/#####>
#20357: MAINT: Do not forward __(deep)copy__ calls of _GenericAlias...
#20462: BUG: Fix float16 einsum fastpaths using wrong tempvar
#20463: BUG, DIST: Print os error message when the executable not exist
#20464: BLD: Verify the ability to compile C++ sources before initiating...
#20465: BUG: Force npymath to respect npy_longdouble
#20466: BUG: Fix failure to create aligned, empty structured dtype
#20467: ENH: provide a convenience function to replace npy_load_module
#20495: MAINT: update wheel to version that supports python3.10
#20497: BUG: Clear errors correctly in F2PY conversions
#20613: DEV: add a warningfilter to fix pytest workflow.
#20618: MAINT: Help boost::python libraries at least not crash

(From OE-Core rev: 956d6811ed0ae6db759a663866eed4977f994ad8)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-05 17:18:15 +00:00
wangmy
5d05f06f4c python3-dbusmock: upgrade 0.24.1 -> 0.25.0
Changelog:
========
bluez template: Implement adapter discovery, connect, disconnect, and removal
Fix changing array properties
Fix CLI upower tests
Add testing and Fedora updating through packit

(From OE-Core rev: 74b8e5f0679287f3471f7199cc9438ba138e7c17)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-05 17:18:15 +00:00
Markus Volk
be4292abdb vulkan-loader: inherit pkgconfig
this is needed to get the vulkan.pc file created

(From OE-Core rev: 1eaf810efca0dd8be5d561bab46c1998b96061c1)

Signed-off-by: MarkusVolk <f_l_k@t-online.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-05 17:18:15 +00:00
zhengruoqin
4aa48c1e9f gtk+3: upgrade 3.24.30 -> 3.24.31
(From OE-Core rev: 490191fb7d1fce1e31153388e5fda48d454f2bc7)

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-05 17:18:15 +00:00
zhengruoqin
a2f5dee7a5 libmicrohttpd: upgrade 0.9.73 -> 0.9.75
Changelog:
=========
 Fixed Makefile warning on MinGW.
 Fixed compiler warning on MinGW.
 Fixed "configure" portability (for NetBSD).
 MSVC project cosmetics.
 MSVC fixed project to fix linker warning.
 Fixed compiler warning on some platforms.
 Further improved test_client_put_stop to get stable results on all
 platforms.
 Added workaround for platforms (like OpenBSD) where system monotonic clocks
 may jump forward and back.
 Added more checks in test_large_put, increased timeout (was too small for
 this test). -EG

(From OE-Core rev: da29585e6ff055b9a6a494ea27fa5594617d8a8c)

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-05 17:18:15 +00:00
zhengruoqin
0da47a56bd shadow: upgrade 4.9 -> 4.10
0001-Fix-out-of-tree-builds-with-respect-to-libsubid-incl.patch
0001-libmisc-fix-default-value-in-SHA_get_salt_rounds.patch
0001-libsubid-link-to-PAM-libraries.patch
removed since they're included in 4.10

License-Update: Delete the space at the end of the sentence.

Changelog:
==========
* libsubid fixes
* Rename the test program list_subid_ranges to getsubids, write
a manpage, so distros can ship it. (Iker Pedrosa)
* Add libeconf dep for new*idmap
* Allow all group types with usermod -G
* Avoid useradd generating empty subid range
* Handle NULL pw_passwd
* Fix default value SHA_get_salt_rounds
* Use https where possible in README
* Update content and format of README
* Translation updates
* Switch from xml2po to itstool in 'make dist'
* Fix double frees
* Add LOG_INIT configurable to useradd
* Add CREATE_MAIL_SPOOL documentation
* Create a security.md
* Fix su never being SIGKILLd when trapping TERM
* Fix wrong SELinux labels in several possible cases
* Fix missing chmod in chadowtb_move
* Handle malformed hushlogins entries
* Fix groupdel segv when passwd does not exist
* Fix covscan-found newgrp segfault
* Remove trailing slash on hoedir
* Fix passwd -l message - it does not change expirey
* Fix SIGCHLD handling bugs in su and vipw
* Remove special case for "" in usermod
* Implement usermod -rG to remove a specific group
* call pam_end() after fork in child path for su and login
* useradd: In absence of /etc/passwd, assume 0 == root
* lib: check NULL before freeing data
* Fix pwck segfault

(From OE-Core rev: b7215993cf00f668d7e33b7fbc98fb4d8636edac)

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-05 17:18:15 +00:00
Denys Dmytriyenko
8f04ade2c6 wayland: upgrade 1.19.0 -> 1.20.0
Wayland 1.20.0 is released!

This release contains the following major changes:

- FreeBSD support has been entirely upstreamed and has been added to
  our continuous integration system.
- The autotools build system has been dropped. Meson has replaced it.
- A few protocol additions: wl_surface.offset allows clients to update
  a surface's buffer offset independently from the buffer,
  wl_output.name and description allow clients to identify outputs
  without depending on xdg-output-unstable-v1.
- In protocol definitions, events have a new "type" attribute and can
  now be marked as destructors.
- A number of bug fixes, including a race condition when destroying
  proxies in multi-threaded clients.

Also backport libsdl2 patch to fix building against wayland-1.20.0

(From OE-Core rev: d81c8d137895e1fb70bb56c61d53502670d7bc43)

Signed-off-by: Denys Dmytriyenko <denis@denix.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-05 17:18:15 +00:00
Teoh Jay Shen
4bcf4ef32c linux-yocto/5.14: update genericx86* machines to v5.14.21
(From meta-yocto rev: 937ecc5586d3d9067835223d32a0673b19698ed4)

Signed-off-by: Teoh Jay Shen <jay.shen.teoh@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-04 23:14:18 +00:00
Teoh Jay Shen
0cb7772e9e linux-yocto/5.10: update genericx86* machines to v5.10.87
(From meta-yocto rev: 5f448324755c98306cce24305f25921454476ed0)

Signed-off-by: Teoh Jay Shen <jay.shen.teoh@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-04 23:14:18 +00:00
Kevin Hao
53e8e92cba meta-yocto-bsp: Introduce the v5.15 bbappend
(From meta-yocto rev: af974282c6c5cfdfd487f1298d716d9b36abbc04)

Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-04 23:14:18 +00:00
Richard Purdie
a79dffd7fb webkitgtk: Add reproducibility fix
When the date rolled from one year to another this highlighted a reproducibility
issue. This could be better fixed by using SOURCE_DATE_EPOCH from the environment
but I'm not sure how you do that in ruby. Help from someone with that knowledge
to submit that upstream very welcome.

(From OE-Core rev: 4d561c98f4d2e68d595aae4b03df1420cb01c3f7)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-04 23:14:05 +00:00
Richard Purdie
bd49cbd654 openssl: Add reproducibility fix
When the date rolled from one year to another, it highlighted a reproducibility
issue in openssl. Patch a workaround for this to avoid autobuilder failures. Help
submitting upstream welcome.

(From OE-Core rev: f8281e290737dba16a46d7ae937c66b3266e0fe8)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-04 23:14:05 +00:00
Richard Purdie
9b5c9dea64 meson: Handle qemu riscv issues
In qemu, they merged the 32 and 64 bit riscv variants into one target for meson
purposes but this isn't officially supported by upstream meson. In normal builds
this would just be a warning but in OE, this is fatal.

Avoid the fatal errors for now and build as qemu intended whilst this is resolved
by the upstreams.

(From OE-Core rev: 7c1356e762d357dad95decf7b1d6147a2efae174)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-04 23:14:05 +00:00
Richard Purdie
f22e1fbdf7 package_deb/ipk/rpm: Add more minimal do_build dependencies back
The dependencies for do_build became a little too minimal after the
removal of recrdeptask since "bitbake go" would not package go-runtime
despite it being in DEPENDS and the resulting package having a dependency
on it.

A reasonable compromise is probably rdeptask instead of recrdeptask
which is a lot lower overhead but makes the build target more useful
and importantly, lets world builds do what you'd expect them to.

(From OE-Core rev: f3d02c328f3f182340528d11c7b10454e3f6a54b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-04 23:14:05 +00:00
Tim Orling
48e7c7cc4d scripts/buildhistory-diff: drop use of distutils
The use of distutils.version.LooseVersion to check for GitPython > 0.3.1
is not really needed anymore since any supported distribution has at least
1.0.0 (centos-7 via epel7, debian-9, ubuntu-16.04)

If we want to reinstate this check, alternatives would be to require
python3-packaging on all hosts and use packaging.version.Version or
use an imported LooseVersion in bb.version.

[YOCTO #14610]

(From OE-Core rev: bc90dcae9f53ddc246942f4d9b8ae8943e3b9754)

Signed-off-by: Tim Orling <timothy.t.orling@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-04 23:14:05 +00:00
Samuli Piippo
bf07396051 rpm: remove tmp folder created during install
nativesdk-rpm build is also affected by the stray /var/tmp
created during the rpm install. Remove it to fix QA Issue:
nativesdk-rpm installs files in /usr/local/oe-sdk-hardcoded-buildpath/sysroots/x86_64-pokysdk-linux/var/volatile, but it is expected to be empty [empty-dirs]

(From OE-Core rev: 28dd1e1a0965646c5736e3de91aad830311a797b)

Signed-off-by: Samuli Piippo <samuli.piippo@qt.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-04 23:14:05 +00:00
Yongxin Liu
1431a6f7f1 grub2: fix CVE-2021-3981
(From OE-Core rev: bb554d14142f93c39fd1516a31757006531c348f)

Signed-off-by: Yongxin Liu <yongxin.liu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-04 23:14:05 +00:00
Oleksiy Obitotskyy
2a9bcdb2ea package_manager: ipk: Fix host manifest generation
Since honister host manifest stopped to generate, i.e.
manifest file is empty but all ipks/files into sdk is
ok.

(From OE-Core rev: 79a2392f5d2a4cb6509a83afb40bca01bac59914)

Signed-off-by: Oleksiy Obitotskyy <oobitots@cisco.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-04 23:14:05 +00:00
Changqing Li
b7263ed534 rpm: fix CVE-2021-3521
(From OE-Core rev: 938dd031bc2577417266f032e53490909654220c)

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-04 23:14:05 +00:00
Anuj Mittal
fb7de3cbd4 xserver-xorg: update CVE_PRODUCT
Some of the CVEs have x_server as the product name.

(From OE-Core rev: 4d5d63cf8605515bb659b6b732683d7fe6540728)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-04 23:14:05 +00:00
Randy MacLeod
50d144b655 valgrind: make run-ptest better
There were warnings about non-existent files when there was
a duplicate in the remove-for-aarch list and the non-deterministic lists
so check if the files still exists before trying to deal with it.

Also restore the tests in the opposite order that they were hidden.

(From OE-Core rev: 2e1dc5782dcb879410d535f937c633edea484d11)

Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-04 23:14:05 +00:00
Randy MacLeod
521094d569 valgrind: skip boost_thread for aarch64 ptests
The drd/tests/boost_thread test passes when run interactively on qemuarm64
but fails for most runs when run in qemu on an arm worker such as ubuntu1804-arm-1
from the Yocto autobuilder cluster. Skip the test until we fix the problem.

(From OE-Core rev: 9a36983f9681f215aa2f59bfcb16343fe0a819cd)

Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-04 23:14:05 +00:00
Randy MacLeod
54b87f2a68 valgrind: remove duplicate and skipped tests from remove-for-aarch64
The valgrind ptest script warns about tests such as:
   mv: cannot stat 'drd/tests/bar_bad_xml.vgtest': No such file or directory

Since these tests were either in both remove-for-* lists or
were not installed since they fail everywhere as noted in:
   85a0d61025 valgrind: fix the remaining ptest failures
   984ffe3ab4 valgrind: Disable leak_cpp_interior test
remove them from the remove-for-aarch64 list

(From OE-Core rev: 9492cdc43b830ebf0d02ccaae342f33c826d8a01)

Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-04 23:14:05 +00:00
Randy MacLeod
b4c2b4df01 valgrind: backport rseq work-around
Using glibc-2.35-alpha, valgrind ptests mostly all fail with the error:
   WARNING: unhandled amd64-linux syscall: 334
   You may be able to write your own handler.
With this patch applied qemux86-64 ptest results were:
   TOTAL: 728
   PASSED: 709
   FAILED: 0
   SKIPPED: 19

This patch implements the Linux rseq syscall as ENOSYS while
a proper fix is being worked on as desribed in the patch
commit log.

(From OE-Core rev: 6ca008072df0371b6b1cfdd7030da6494ff012bd)

Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-04 23:14:05 +00:00
Randy MacLeod
b93a99b973 valgrind: Add util-linux-taskset ptest dependency
We are using taskset to improve the reproducability of tests listed in:
   meta/recipes-devtools/valgrind/valgrind/taskset_nondeterministic_tests
so we need to have the ptests depend on util-linux-taskset.

(From OE-Core rev: aa06250cc4e258ad807eef9940939fd68c0bda8b)

Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-04 23:14:05 +00:00
Michael Halstead
56e5054a60 releases: update to include 3.1.13
Adding 3.1.13 to documentation switcher and release list.

(From yocto-docs rev: 24fe6a752cdec66a3d34d390fa645726ed3725b8)

Signed-off-by: Michael Halstead <mhalstead@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-03 22:17:18 +00:00
Peter Kjellerstedt
9b99eb9e36 tzdata: Remove no longer relevant RCONFLICTS:${PN}
Remove RCONFLICTS:${PN} for the packages from the timezones recipe,
which was replaced by tzdata in OE-Classic in 2007...

Also remove a commented timezone (pacificnew), which has actually never
been added to TZONES.

(From OE-Core rev: 24c1b8346a2ab8bdea2e140282e33814166d9113)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-22 23:11:45 +00:00
Saul Wold
32db0d80d7 kernel: add -dbg package
Adding the dbg package allows the package bbclass to parse the
debug information which can then be used by the create_spdx bbclass

(From OE-Core rev: b35b68e4ec4a82ada20ab861d29f96cdcb21dec2)

Signed-off-by: Saul Wold <saul.wold@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-22 23:11:45 +00:00
Ross Burton
a84b8d683b gawk: remove load-sensitive tests
The time and timeout tests are sensitive to system load, and as we run
these on build machines they fail randomly.

[ YOCTO #14371 ]

(From OE-Core rev: d2b62913a5771169265171129fe972c8e252fe04)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-22 23:11:45 +00:00
Paul Eggleton
65e8df66d9 classes/kernel*: add variables to allow changing artifact extension
Allow .bin suffix to be removed (or changed) in the various artifact
filenames. Removing this extension is useful when trying to remove
symlinks and present only unversioned image files (especially for the
FIT image).

(From OE-Core rev: cbecc3cf06eb7359fedf3c6af281cc72178cad18)

Signed-off-by: Paul Eggleton <paul.eggleton@microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-22 23:11:45 +00:00
Paul Eggleton
9eb8c5195e classes/qemuboot: allow IMAGE_LINK_NAME to be empty
If IMAGE_LINK_NAME is empty (supported everywhere else) then do not
create the symlink for the .qemuboot file.

(From OE-Core rev: 9b19845c0506949ca61965fb92fb3f337062f377)

Signed-off-by: Paul Eggleton <paul.eggleton@microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-22 23:11:45 +00:00
Paul Eggleton
a2eb528b63 classes/kernel*: allow disabling symlink creation
Allow setting any of the *_LINK_NAME variables to empty string in order
to disable creating symlinks for kernel artifacts, as you can already
for filesystem images with IMAGE_LINK_NAME. Additionally, for the image
type named symlinks, add a KERNEL_IMAGETYPE_SYMLINK boolean variable
which you can set to 0 to disable those symlinks as well.

(From OE-Core rev: d7341f1f22c32ff6cc95d7127f26f87d7fc9c6bd)

Signed-off-by: Paul Eggleton <paul.eggleton@microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-22 23:11:45 +00:00
pgowda
3cb504ceba binutils: CVE-2021-42574
Upstream-Status: Backport [https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=b3aa80b45c4f46029efeb204bb9f2d2c4278a0e5]

[RP: Merge uint -> unsigned int change]
(From OE-Core rev: fa242a41f3436f1d73eabee335573c1801bf7888)

Signed-off-by: pgowda <pgowda.cve@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-22 23:11:45 +00:00
Richard Purdie
3503555a8b qemu: Add selinux PACKAGECONFIG
We're seeing failures on systems with old selinux headers. Add a PACKAGECONFIG
entry so that we don't try and build this unless enabled. I'll leave
dependencies to someone who wants it and can test, I just need to fix
build failures right now as this shouldn't be enabled.

(From OE-Core rev: d26c86e67b1154b243d093ff80dafce54da47424)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-22 19:01:31 +00:00
Ross Burton
73cf74b4d9 kmod: expand compression PACKAGECONFIGs
Turn the explicitly enabled zlib support into an enabled by default
PACKAGECONFIG, and add Zstd support (disabled by default).

(From OE-Core rev: 6dd6184f01d79ebd26347a6006f92a5b5906ee3e)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-21 12:01:41 +00:00
Ross Burton
c6afe99922 kmod: merge target/native recipes
There's no good reason to keep separate target and native recipes for
kmod, so merge them into a single kmod_29.bb which uses class extension.

The symlinks are not created differently for target vs native builds, as
the native sbindir is in PATH.

(From OE-Core rev: 9abbf481438fba10a7512fb1ad1bff5d48e6fbdc)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-21 12:01:41 +00:00
Ross Burton
70341cdbd8 kmod: remove obsolete ac_pwd manipulation
Remove the change of ac_pwd from config.status as the build is
successful without it (it was added with no explanation in 152c973 when
ptest was enabled).

(From OE-Core rev: af0f4c6f7769e9be64adddc29a3bc3fdb8cce389)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-21 12:01:41 +00:00
Ross Burton
42298b2978 openssl: upgrade to 3.0.1
Major changes in 3.0.1:

  * Fixed invalid handling of X509_verify_cert() internal errors in libssl
    ([CVE-2021-4044])
  * Allow fetching an operation from the provider that owns an unexportable key
    as a fallback if that is still allowed by the property query.

Drop patches which were backported.

Add sed to openssl-ptest as the tests use 'sed -u', which isn't supported
by busybox.

Ensure that we package the dummy async engine, needed by the test suite.

(From OE-Core rev: 5cd40648b0ba88cd9905800e748ae98f08c10ac7)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-21 12:01:41 +00:00
Khem Raj
06b027b928 gcc: Update status of musl stddef.h patch
This patch has been accepted upstream

(From OE-Core rev: 4c644708798f258d45dbcfa01909626de32710d4)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-21 12:01:41 +00:00
Ross Burton
679cb095f2 python3: backport a fix so the test suite passes with OpenSSL 3.0.1
The test suite makes incorrect assumptions about OpenSSL versions post-
3.0, so backport the fix for the test suite.

(From OE-Core rev: 2b5e9cfd2c1914d606725029c59cd50cca3d5511)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-21 12:01:41 +00:00
wangmy
2969d72edb sysvinit: upgrade 3.00 -> 3.01
refresh pidof-add-m-option.patch

Changelog:
==========
* Default to showing processes in the uninterruptable state (D).
    The -z flag no longer affects whether processes in D state are shown.
    The -z flag does still toggle whether zombie (Z) processes are shown.

* Removed unnecessary check which is always true from init tab parsing.

(From OE-Core rev: 5b5c1cd43923e552ae6bcfc50f1766981c44ae7b)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-21 12:01:41 +00:00
wangmy
6f6313ae61 python3-importlib-metadata: upgrade 4.8.2 -> 4.9.0
(From OE-Core rev: 80d1a6b968b9dc50da4941e1747c77a9323a09a5)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-21 12:01:41 +00:00
wangmy
42df26f7e1 linux-firmware: upgrade 20211027 -> 20211216
License-Update: version of license file updated.

(From OE-Core rev: 07dc668ddc50de14821aff1b6850d8b4999702bd)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-21 12:01:41 +00:00
Bruce Ashfield
674d065d64 linux-yocto/5.10: update to v5.10.87
Updating linux-yocto/5.10 to the latest korg -stable release that comprises
the following commits:

272aedd4a305 Linux 5.10.87
8dd559d53b3b arm: ioremap: don't abuse pfn_valid() to check if pfn is in RAM
65c578935bcc arm: extend pfn_valid to take into account freed memory map alignment
6e634c0e7155 memblock: ensure there is no overflow in memblock_overlaps_region()
74551f13c62f memblock: align freed memory map on pageblock boundaries with SPARSEMEM
b4b54c7ba149 memblock: free_unused_memmap: use pageblock units instead of MAX_ORDER
b6a1cbd187fc perf intel-pt: Fix error timestamp setting on the decoder error path
0612aa02c2c8 perf intel-pt: Fix missing 'instruction' events with 'q' option
71c795028b31 perf intel-pt: Fix next 'err' value, walking trace
02681dd1780a perf intel-pt: Fix state setting when receiving overflow (OVF) packet
cbed09b44ce0 perf intel-pt: Fix intel_pt_fup_event() assumptions about setting state type
3bb7fd4be8c4 perf intel-pt: Fix sync state when a PSB (synchronization) packet is found
731ff7884138 perf intel-pt: Fix some PGE (packet generation enable/control flow packets) usage
b23f9252a41d perf inject: Fix itrace space allowed for new attributes
7c26da3be1e9 ethtool: do not perform operations on net devices being unregistered
6992d8c215c8 hwmon: (dell-smm) Fix warning on /proc/i8k creation error
c31470a30c0d fuse: make sure reclaim doesn't write the inode
613725436e69 bpf: Fix integer overflow in argument calculation for bpf_map_area_alloc
9099f3512678 staging: most: dim2: use device release method
ac76adc87a78 KVM: x86: Ignore sparse banks size for an "all CPUs", non-sparse IPI req
6f0d9d3e74dc tracing: Fix a kmemleak false positive in tracing_map
f35f7f04aa80 drm/amd/display: add connector type check for CRC source set
dd3cea342522 drm/amd/display: Fix for the no Audio bug with Tiled Displays
dadce61247c6 net: netlink: af_netlink: Prevent empty skb by adding a check on len.
bca6af4325d6 i2c: rk3x: Handle a spurious start completion interrupt flag
d6edec8a7b55 parisc/agp: Annotate parisc agp init functions with __init
cf520ccffd9a ALSA: hda/hdmi: fix HDA codec entry table order for ADL-P
701a07fd0274 ALSA: hda: Add Intel DG2 PCI ID and HDMI codec vid
6d22a96d12d7 net/mlx4_en: Update reported link modes for 1/10G
999069d8b040 Revert "tty: serial: fsl_lpuart: drop earlycon entry for i.MX8QXP"
27f4ce02b31a s390/test_unwind: use raw opcode instead of invalid instruction
9eab949e2b90 KVM: arm64: Save PSTATE early on exit
990fd815ec88 drm/msm/dsi: set default num_data_lanes
c602863ad28e nfc: fix segfault in nfc_genl_dump_devices_done
37050f17f2d2 Linux 5.10.86
32414491834c netfilter: selftest: conntrack_vrf.sh: fix file permission

(From OE-Core rev: 41e6433af247105b9430d5fe2ef3e32624d6ed76)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-21 12:01:41 +00:00
Bruce Ashfield
0bff47afa0 linux-yocto/5.15: update to v5.15.10
Updating linux-yocto/5.15 to the latest korg -stable release that comprises
the following commits:

57dcae4a8b93 Linux 5.15.10
dbcda209899a perf inject: Fix itrace space allowed for new attributes
5b4a8fbe4b0b fuse: make sure reclaim doesn't write the inode
18fc0ba9b10e staging: most: dim2: use device release method
9985d29c4755 tracing: Fix a kmemleak false positive in tracing_map
43b145f3a20a drm/amdkfd: process_info lock not needed for svm
c21cff0ea6b2 drm/amd/display: add connector type check for CRC source set
d9e63f180fc8 drm/amdkfd: fix double free mem structure
00a3f7fb7ae3 drm/amd/display: Fix for the no Audio bug with Tiled Displays
62477b3a86d6 drm/amdgpu: check atomic flag to differeniate with legacy path
796ddc81437b drm/amdgpu: cancel the correct hrtimer on exit
4c986072a8c9 net: netlink: af_netlink: Prevent empty skb by adding a check on len.
2d5ba2f40e73 i2c: rk3x: Handle a spurious start completion interrupt flag
a5a0cc7c7b84 parisc/agp: Annotate parisc agp init functions with __init
f66f84309623 ALSA: hda/hdmi: fix HDA codec entry table order for ADL-P
5eceb6a60a53 ALSA: hda: Add Intel DG2 PCI ID and HDMI codec vid
ced9b762f2d6 loop: Use pr_warn_once() for loop_control_remove() warning
095a04e0b320 net/mlx4_en: Update reported link modes for 1/10G
8605743472c5 Revert "tty: serial: fsl_lpuart: drop earlycon entry for i.MX8QXP"
0700eab4df5b s390/test_unwind: use raw opcode instead of invalid instruction
2b12c89527ae KVM: arm64: Save PSTATE early on exit
906f7797a38f drm/msm/dp: Avoid unpowered AUX xfers that caused crashes
dc6c1eddfc74 drm/msm/dsi: set default num_data_lanes
d2db21103d84 drm/msm/a6xx: Fix uinitialized use of gpu_scid
f6db3d98f876 drm/msm: Fix null ptr access msm_ioctl_gem_submit()
9cbb957441ed i2c: virtio: fix completion handling
304aa6a73189 vmxnet3: fix minimum vectors alloc issue
569670a02e21 ice: fix FDIR init missing when reset VF
76db15314582 RDMA/irdma: Don't arm the CQ more than two times if no CE for this CQ
918e62519834 RDMA/irdma: Report correct WC errors
b260dfed222b RDMA/irdma: Fix a potential memory allocation issue in 'irdma_prm_add_pble_mem()'
11eebcf63e98 RDMA/irdma: Fix a user-after-free in add_pble_prm
1ac287b7b615 netfs: Fix lockdep warning from taking sb_writers whilst holding mmap_lock
cff728217a2b perf bpf_skel: Do not use typedef to avoid error on old clang
134151c3b11d clk: qcom: sm6125-gcc: Swap ops of ice and apps on sdcc1
439250c09785 dt-bindings: media: nxp,imx7-mipi-csi2: Drop bad if/then schema
d17a8d12a6da inet: use #ifdef CONFIG_SOCK_RX_QUEUE_MAPPING consistently
c6aa8873468c mtd: rawnand: Fix nand_choose_best_timings() on unsupported interface
0c7b48887c34 mtd: rawnand: Fix nand_erase_op delay
e3bc4d4b50ca RDMA/mlx5: Fix releasing unallocated memory in dereg MR flow
acb53e47db1f RDMA: Fix use-after-free in rxe_queue_cleanup
c0d44c58afdd hwmon: (corsair-psu) fix plain integer used as NULL pointer
d89e4211b517 nfc: fix segfault in nfc_genl_dump_devices_done
14655b6d4204 Linux 5.15.9
3be0c72f5153 netfilter: selftest: conntrack_vrf.sh: fix file permission

(From OE-Core rev: 1fb12d42dd4112e8fa2ec7eeb562c115c3b49ada)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-21 12:01:41 +00:00
Bruce Ashfield
6897399131 linux-yocto/5.10: update to v5.10.85
Updating linux-yocto/5.10 to the latest korg -stable release that comprises
the following commits:

e4f2aee6612e Linux 5.10.85
47301c06f602 Documentation/Kbuild: Remove references to gcc-plugin.sh
af5ba49cf705 MAINTAINERS: adjust GCC PLUGINS after gcc-plugin.sh removal
ad13421fd2cd doc: gcc-plugins: update gcc-plugins.rst
9fc17c3af56c kbuild: simplify GCC_PLUGINS enablement in dummy-tools/gcc
d428e5477493 bpf: Add selftests to cover packet access corner cases
0ec0eda3f3c3 misc: fastrpc: fix improper packet size calculation
261d45a4c254 irqchip: nvic: Fix offset for Interrupt Priority Offsets
cd946f0ebe78 irqchip/irq-gic-v3-its.c: Force synchronisation when issuing INVALL
e1c6611f822e irqchip/armada-370-xp: Fix support for Multi-MSI interrupts
8f3ed9deaaac irqchip/armada-370-xp: Fix return value of armada_370_xp_msi_alloc()
d530e9943d64 irqchip/aspeed-scu: Replace update_bits with write_bits.
014c2fa5dc49 csky: fix typo of fpu config macro
ee86d0bad80b iio: accel: kxcjk-1013: Fix possible memory leak in probe and remove
c10c53419d8d iio: ad7768-1: Call iio_trigger_notify_done() on error
0f86c9e818e7 iio: adc: axp20x_adc: fix charging current reporting on AXP22x
af7fbb8c0b54 iio: adc: stm32: fix a current leak by resetting pcsel before disabling vdda
fff92f3712d7 iio: at91-sama5d2: Fix incorrect sign extension
a2545b147d23 iio: dln2: Check return value of devm_iio_trigger_register()
69ae78c1abe7 iio: dln2-adc: Fix lockdep complaint
416383999c66 iio: itg3200: Call iio_trigger_notify_done() on error
bc4d8367ed0d iio: kxsd9: Don't return error code in trigger handler
28ea539a311e iio: ltr501: Don't return error code in trigger handler
db12d9508536 iio: mma8452: Fix trigger reference couting
4e7852911084 iio: stk3310: Don't return error code in interrupt handler
5c4a0f307f2b iio: trigger: stm32-timer: fix MODULE_ALIAS
5de9c5b13062 iio: trigger: Fix reference counting
cbc04c0c9a67 iio: gyro: adxrs290: fix data signedness
fee8be5bde56 xhci: avoid race between disable slot command and host runtime suspend
1b43c9b65f6b usb: core: config: using bit mask instead of individual bits
74b6a6a239aa xhci: Remove CONFIG_USB_DEFAULT_PERSIST to prevent xHCI from runtime suspending
ef284f086dd0 usb: core: config: fix validation of wMaxPacketValue entries
e4de8ca013f0 USB: gadget: zero allocate endpoint 0 buffers
7193ad3e50e5 USB: gadget: detect too-big endpoint 0 requests
63fc70bffa16 selftests/fib_tests: Rework fib_rp_filter_test()
126d1897cbff net/qla3xxx: fix an error code in ql_adapter_up()
5e663bcd9a37 net, neigh: clear whole pneigh_entry at alloc time
ae673832086e net: fec: only clear interrupt of handling queue in fec_enet_rx_queue()
83b16b9c441b net: altera: set a couple error code in probe()
385ffd31ebdb net: cdc_ncm: Allow for dwNtbOutMaxSize to be unset or zero
47322fddb41e tools build: Remove needless libpython-version feature check that breaks test-all fast path
42bea3a1b7f2 dt-bindings: net: Reintroduce PHY no lane swap binding
3f57215f748b Documentation/locking/locktypes: Update migrate_disable() bits.
77d255d28b34 perf tools: Fix SMT detection fast read path
391ca20ea16e Revert "PCI: aardvark: Fix support for PCI_ROM_ADDRESS1 on emulated bridge"
e5b7fb2198ab i40e: Fix NULL pointer dereference in i40e_dbg_dump_desc
347cc9b4d966 mtd: rawnand: fsmc: Fix timing computation
0b2e1fccdf48 mtd: rawnand: fsmc: Take instruction delay into account
57f290572f45 i40e: Fix pre-set max number of queues for VF
eb87117c27e7 i40e: Fix failed opcode appearing if handling messages from VF
82ed3829c937 clk: imx: use module_platform_driver
4d12546cf9e7 RDMA/hns: Do not destroy QP resources in the hw resetting phase
33f320c35d69 RDMA/hns: Do not halt commands during reset until later
4458938b297e ASoC: codecs: wcd934x: return correct value from mixer put
1089dac26c6b ASoC: codecs: wcd934x: handle channel mappping list correctly
83dae68fc00a ASoC: codecs: wsa881x: fix return values from kcontrol put
62e4dc5e130e ASoC: qdsp6: q6routing: Fix return value from msm_routing_put_audio_mixer
2f4764fe3692 ASoC: rt5682: Fix crash due to out of scope stack vars
bdd8129c6605 PM: runtime: Fix pm_runtime_active() kerneldoc comment
661c4412c563 qede: validate non LSO skb length
c4d2d7c935a4 scsi: scsi_debug: Fix buffer size of REPORT ZONES command
1e434d2687e8 scsi: pm80xx: Do not call scsi_remove_host() in pm8001_alloc()
5dfe61147442 block: fix ioprio_get(IOPRIO_WHO_PGRP) vs setuid(2)
5f1f94c26b0d tracefs: Set all files to the same group ownership as the mount option
2ba0738f7117 net: mvpp2: fix XDP rx queues registering
47ffefd88abf aio: fix use-after-free due to missing POLLFREE handling
e4d19740bcca aio: keep poll requests on waitqueue until completed
fc2f636ffc44 signalfd: use wake_up_pollfree()
9f3acee7eac8 binder: use wake_up_pollfree()
8e04c8397bf9 wait: add wake_up_pollfree()
2f8eb4c4c8f6 libata: add horkage for ASMedia 1092
f76580d82c62 can: m_can: Disable and ignore ELO interrupt
703dde112021 can: pch_can: pch_can_rx_normal: fix use after free
2737d0bc21b6 drm/syncobj: Deal with signalled fences in drm_syncobj_find_fence.
17edb38e76d6 clk: qcom: regmap-mux: fix parent clock lookup
172a98224418 mmc: renesas_sdhi: initialize variable properly when tuning
33204825cc2b tracefs: Have new files inherit the ownership of their parent
c520943a00ad nfsd: Fix nsfd startup race (again)
eeb0711801f5 nfsd: fix use-after-free due to delegation race
8b4264c27b82 md: fix update super 1.0 on rdev size change
caf9b352dc58 btrfs: replace the BUG_ON in btrfs_del_root_ref with proper error handling
41b3cc57d626 btrfs: clear extent buffer uptodate when we fail to write it
75490bcbd076 scsi: qla2xxx: Format log strings only if needed
07977a3f3d55 ALSA: pcm: oss: Handle missing errors in snd_pcm_oss_change_params*()
ad45babf7886 ALSA: pcm: oss: Limit the period size to 16MB
02b2b691b77c ALSA: pcm: oss: Fix negative period/buffer sizes
6760e6ddeb48 ALSA: hda/realtek: Fix quirk for TongFang PHxTxX1
7fe903d35492 ALSA: hda/realtek - Add headset Mic support for Lenovo ALC897 platform
3063ee5164e4 ALSA: ctl: Fix copy of updated id with element read/write
c581090228e3 mm: bdi: initialize bdi_min_ratio when bdi is unregistered
06368922f38f KVM: x86: Wait for IPIs to be delivered when handling Hyper-V TLB flush hypercall
2a51edaf5cc5 net/sched: fq_pie: prevent dismantle issue
4b7e90672af8 devlink: fix netns refcount leak in devlink_nl_cmd_reload()
9d683d14f600 IB/hfi1: Correct guard on eager buffer deallocation
2e2edebb5dd6 iavf: Fix reporting when setting descriptor count
aada0b3f3392 iavf: restore MSI state on reset
32a329b731a3 netfilter: conntrack: annotate data-races around ct->timeout
5e39de85b76e udp: using datalen to cap max gso segments
666521b3852d seg6: fix the iif in the IPv6 socket control block
484069b5de9d nfp: Fix memory leak in nfp_cpp_area_cache_add()
b1830ede16f8 bonding: make tx_rebalance_counter an atomic
a59df4ea7155 ice: ignore dropped packets during init
349e83c0cf67 bpf: Fix the off-by-two error in range markings
f26951db84a4 bpf, x86: Fix "no previous prototype" warning
74685aaecef0 vrf: don't run conntrack on vrf with !dflt qdisc
d5cf399a6dc3 selftests: netfilter: add a vrf+conntrack testcase
83ea620a1be8 nfc: fix potential NULL pointer deref in nfc_genl_dump_ses_done
f3d9114ac99f drm/amdkfd: fix boot failure when iommu is disabled in Picasso.
7508a9aa65b9 drm/amdgpu: init iommu after amdkfd device init
ac9db04ee32f drm/amdgpu: move iommu_resume before ip init/resume
fe9dca7dda61 drm/amdgpu: add amdgpu_amdkfd_resume_iommu
5d191b0976b7 drm/amdkfd: separate kfd_iommu_resume from kfd_resume
46dcf66d6e7a drm/amd/amdkfd: adjust dummy functions' placement
dded8d76a7dc x86/sme: Explicitly map new EFI memmap table as encrypted
923f4dc5df67 can: sja1000: fix use after free in ems_pcmcia_add_card()
819251da7178 can: kvaser_pciefd: kvaser_pciefd_rx_error_frame(): increase correct stats->{rx,tx}_errors counter
854a2bede1f0 can: kvaser_usb: get CAN clock frequency from device
2c08271f4ed0 IB/hfi1: Fix leak of rcvhdrtail_dummy_kvaddr
d87c10607b5b IB/hfi1: Fix early init panic
d60dd3685dc9 IB/hfi1: Insure use of smp_processor_id() is preempt disabled
05eb0e4a12b2 nft_set_pipapo: Fix bucket load in AVX2 lookup routine for six 8-bit groups
89f3edc98ffe HID: check for valid USB device for many HID drivers
889c39113f7e HID: wacom: fix problems when device is not a valid USB device
6272b17001e6 HID: bigbenff: prevent null pointer dereference
d877651afd60 HID: add USB_HID dependancy on some USB HID drivers
a7e9c5ddf562 HID: add USB_HID dependancy to hid-chicony
28989ed4d79e HID: add USB_HID dependancy to hid-prodikeys
61144329606c HID: add hid_is_usb() function to make it simpler for USB detection
2298d5edd837 HID: google: add eel USB id
12362cd3a409 HID: quirks: Add quirk for the Microsoft Surface 3 type-cover
cc97d7321595 gcc-plugins: fix gcc 11 indigestion with plugins...
1eee36a5520b gcc-plugins: simplify GCC plugin-dev capability test
518c3f98e57a usb: gadget: uvc: fix multiple opens

(From OE-Core rev: c6503f8a57197826c4a939ca9212f075c156f14f)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-21 12:01:41 +00:00
Bruce Ashfield
fd0bcc4ac2 linux-yocto/5.15: update to v5.15.8
Updating linux-yocto/5.15 to the latest korg -stable release that comprises
the following commits:

43e577d7a2cb Linux 5.15.8
c2bd1add2c3e bpf: Add selftests to cover packet access corner cases
5475fcf0a1c4 clocksource/drivers/dw_apb_timer_of: Fix probe failure
ee6104661b46 misc: fastrpc: fix improper packet size calculation
62a8ee0502d8 irqchip: nvic: Fix offset for Interrupt Priority Offsets
2d34992ebe9c irqchip/irq-gic-v3-its.c: Force synchronisation when issuing INVALL
4a7c65506473 aio: Fix incorrect usage of eventfd_signal_allowed()
d99d861ce3ef irqchip/armada-370-xp: Fix support for Multi-MSI interrupts
97912b97fd83 irqchip/armada-370-xp: Fix return value of armada_370_xp_msi_alloc()
f2675399eb2a irqchip/aspeed-scu: Replace update_bits with write_bits.
e18f3e046ccd csky: fix typo of fpu config macro
47b355f25b55 bus: mhi: core: Add support for forced PM resume
7f4b37c7a692 bus: mhi: pci_generic: Fix device recovery failed issue
5bff8dff8e21 nvmem: eeprom: at25: fix FRAM byte_len
990bbe357841 misc: rtsx: Avoid mangling IRQ during runtime PM
14508fe13b1c iio: accel: kxcjk-1013: Fix possible memory leak in probe and remove
2906867da4ca iio: ad7768-1: Call iio_trigger_notify_done() on error
b3a4c57a9613 iio: adc: axp20x_adc: fix charging current reporting on AXP22x
41d241ad3e55 iio: adc: stm32: fix a current leak by resetting pcsel before disabling vdda
4071943a533c iio: at91-sama5d2: Fix incorrect sign extension
a862c731f7bc iio: dln2: Check return value of devm_iio_trigger_register()
9b4e3b804c41 iio: dln2-adc: Fix lockdep complaint
363e1286cf81 iio: itg3200: Call iio_trigger_notify_done() on error
e4b600ac98ca iio: kxsd9: Don't return error code in trigger handler
5df9c2c0e4b4 iio: ltr501: Don't return error code in trigger handler
c43517071dfc iio: mma8452: Fix trigger reference couting
00d3c14338b5 iio: stk3310: Don't return error code in interrupt handler
111d5b61fbd7 iio: trigger: stm32-timer: fix MODULE_ALIAS
2db8ad169cc8 iio: trigger: Fix reference counting
7d2a35d99700 iio: gyro: adxrs290: fix data signedness
02d5a2a48bb4 xhci: avoid race between disable slot command and host runtime suspend
d861bc26fe68 usb: core: config: using bit mask instead of individual bits
47c14aceb290 xhci: Remove CONFIG_USB_DEFAULT_PERSIST to prevent xHCI from runtime suspending
0141f85b78a5 usb: core: config: fix validation of wMaxPacketValue entries
f5230fb9bf8e Revert "usb: dwc3: dwc3-qcom: Enable tx-fifo-resize property by default"
6eea4ace62fa USB: gadget: zero allocate endpoint 0 buffers
36dfdf11af49 USB: gadget: detect too-big endpoint 0 requests
ef472b023b85 selftests/fib_tests: Rework fib_rp_filter_test()
a72723e89f4d net/qla3xxx: fix an error code in ql_adapter_up()
0c9f1ab29e7f net, neigh: clear whole pneigh_entry at alloc time
48135149c089 net: fec: only clear interrupt of handling queue in fec_enet_rx_queue()
089bd0b0bf1e net: altera: set a couple error code in probe()
37493d4eb2e5 net: cdc_ncm: Allow for dwNtbOutMaxSize to be unset or zero
8ca1ca40977b tools build: Remove needless libpython-version feature check that breaks test-all fast path
9c2407afbcd0 dt-bindings: net: Reintroduce PHY no lane swap binding
2e837d90ec09 Documentation/locking/locktypes: Update migrate_disable() bits.
395022a71b6c perf tools: Fix SMT detection fast read path
f1131d3f1b50 drm/amd/display: Fix DPIA outbox timeout after S3/S4/reset
99bc19898375 Revert "PCI: aardvark: Fix support for PCI_ROM_ADDRESS1 on emulated bridge"
16431e442db2 i40e: Fix NULL pointer dereference in i40e_dbg_dump_desc
f8358589b31b bpf, sockmap: Re-evaluate proto ops when psock is removed from sockmap
a4953e7b6f6a mtd: rawnand: fsmc: Fix timing computation
ebc8909feecd mtd: rawnand: fsmc: Take instruction delay into account
fabfb7c18c8e i40e: Fix pre-set max number of queues for VF
2132643b956f i40e: Fix failed opcode appearing if handling messages from VF
06ece58874c3 clk: qcom: clk-alpha-pll: Don't reconfigure running Trion
d259ae526fd9 clk: imx: use module_platform_driver
1d044701bdbe hwmon: (dell-smm) Fix warning on /proc/i8k creation error
be7c5d58108b RDMA/hns: Do not destroy QP resources in the hw resetting phase
207f5ea62a9f RDMA/hns: Do not halt commands during reset until later
9b6bf6fca018 ASoC: codecs: wcd934x: return correct value from mixer put
339ffb5b5600 ASoC: codecs: wcd934x: handle channel mappping list correctly
71272640d459 ASoC: codecs: wsa881x: fix return values from kcontrol put
e1e22179376f ASoC: qdsp6: q6routing: Fix return value from msm_routing_put_audio_mixer
cdb5a0d0e007 ASoC: rt5682: Fix crash due to out of scope stack vars
e9362a21147a PM: runtime: Fix pm_runtime_active() kerneldoc comment
a3f0e9b1d6cd qede: validate non LSO skb length
069a849819b3 ALSA: usb-audio: Reorder snd_djm_devices[] entries
ebacb44cb204 scsi: scsi_debug: Fix buffer size of REPORT ZONES command
f8dccc1bdea7 scsi: pm80xx: Do not call scsi_remove_host() in pm8001_alloc()
d429b302c184 block: fix ioprio_get(IOPRIO_WHO_PGRP) vs setuid(2)
e3098ce15fec i2c: mpc: Use atomic read and fix break condition
23a5f9797d6c tracefs: Set all files to the same group ownership as the mount option
60d311f9e638 aio: fix use-after-free due to missing POLLFREE handling
924f51534d42 aio: keep poll requests on waitqueue until completed
8d6760fd5d16 signalfd: use wake_up_pollfree()
f12d997683a7 binder: use wake_up_pollfree()
1ebb6cd8c754 wait: add wake_up_pollfree()
8e12976c0c19 io_uring: ensure task_work gets run as part of cancelations
eb313c47b276 libata: add horkage for ASMedia 1092
b0034d4b71f1 drm/syncobj: Deal with signalled fences in drm_syncobj_find_fence.
021ae1e11dfc thermal: int340x: Fix VCoRefLow MMIO bit offset for TGL
0138d396ffce clk: qcom: regmap-mux: fix parent clock lookup
dfb7285a82fa mmc: renesas_sdhi: initialize variable properly when tuning
62c613419543 hwmon: (pwm-fan) Ensure the fan going on in .probe()
a85d27b2eff4 selftests: KVM: avoid failures due to reserved HyperTransport region
041aae47b000 tracefs: Have new files inherit the ownership of their parent
8bf902fee589 nfsd: Fix nsfd startup race (again)
148c816f10fd nfsd: fix use-after-free due to delegation race
50dacb2289e5 md: fix update super 1.0 on rdev size change
00cd8a99885c perf intel-pt: Fix error timestamp setting on the decoder error path
4fbb83c1bf25 perf intel-pt: Fix missing 'instruction' events with 'q' option
22e5fb70f725 perf intel-pt: Fix next 'err' value, walking trace
f747cc563afd perf intel-pt: Fix state setting when receiving overflow (OVF) packet
e39dd2e60039 perf intel-pt: Fix intel_pt_fup_event() assumptions about setting state type
d9c838b927cd perf intel-pt: Fix sync state when a PSB (synchronization) packet is found
c816dcf69ae4 perf intel-pt: Fix some PGE (packet generation enable/control flow packets) usage
ca06c5cb1b6d btrfs: free exchange changeset on failures
32d4054cb3e8 btrfs: replace the BUG_ON in btrfs_del_root_ref with proper error handling
477675049ca8 btrfs: fix re-dirty process of tree-log nodes
0338e448b905 btrfs: clear extent buffer uptodate when we fail to write it
48fc373d9d54 scsi: qla2xxx: Format log strings only if needed
d14bad8c11cc cifs: Fix crash on unload of cifs_arc4.ko
1fd702980994 ALSA: pcm: oss: Handle missing errors in snd_pcm_oss_change_params*()
35a3e5110321 ALSA: pcm: oss: Limit the period size to 16MB
00a860678098 ALSA: pcm: oss: Fix negative period/buffer sizes
c94a0d734c7b ALSA: hda/realtek: Fix quirk for TongFang PHxTxX1
220aaee85f0e ALSA: hda/realtek - Add headset Mic support for Lenovo ALC897 platform
da171216ac2d ALSA: ctl: Fix copy of updated id with element read/write
f987b61daa98 mm: bdi: initialize bdi_min_ratio when bdi is unregistered
dd902bcec34f mm/slub: fix endianness bug for alloc/free_traces attributes
7d7e02563bcd mm/damon/core: fix fake load reports due to uninterruptible sleeps
5a960e533c2a timers: implement usleep_idle_range()
64d320dcf1f1 KVM: x86: Wait for IPIs to be delivered when handling Hyper-V TLB flush hypercall
21cc93f6df63 KVM: x86: Ignore sparse banks size for an "all CPUs", non-sparse IPI req
eea80da3472b KVM: x86: Don't WARN if userspace mucks with RCX during string I/O exit
d6c37e679631 net: mvpp2: fix XDP rx queues registering
d86216dfda7c net/sched: fq_pie: prevent dismantle issue
973a0373e88c net: dsa: felix: Fix memory leak in felix_setup_mmio_filtering
bfc017140aa7 net: dsa: mv88e6xxx: error handling for serdes_power functions
76e414aa2a24 net: bcm4908: Handle dma_set_coherent_mask error codes
fe30b70ca84d devlink: fix netns refcount leak in devlink_nl_cmd_reload()
f9a22d3ed855 IB/hfi1: Correct guard on eager buffer deallocation
20791287eda1 iavf: Fix reporting when setting descriptor count
d0ed80e3ca88 iavf: restore MSI state on reset
be2b5a78a0c1 netfilter: conntrack: annotate data-races around ct->timeout
d2cd7c7f8f83 netfilter: nft_exthdr: break evaluation if setting TCP option fails
e6182c63d827 udp: using datalen to cap max gso segments
98adb2bbfa40 seg6: fix the iif in the IPv6 socket control block
f707820c0923 nfp: Fix memory leak in nfp_cpp_area_cache_add()
6dada2646a0a bonding: make tx_rebalance_counter an atomic
cfd719f04267 ethtool: do not perform operations on net devices being unregistered
9a7e323edb86 ice: ignore dropped packets during init
b4fb67fd1adf bpf: Fix the off-by-two error in range markings
e76da2e8a09a bpf: Make sure bpf_disable_instrumentation() is safe vs preemption.
9c983fd7cf97 bpf, sockmap: Attach map progs to psock early for feature probes
c817dcb2a65b bpf, x86: Fix "no previous prototype" warning
e8193cebf753 vrf: don't run conntrack on vrf with !dflt qdisc
cffab968e94e selftests: netfilter: add a vrf+conntrack testcase
fae9705d2810 nfc: fix potential NULL pointer deref in nfc_genl_dump_ses_done
0159c7b26683 platform/x86: amd-pmc: Fix s2idle failures on certain AMD laptops
b964ecdb71d9 x86/sme: Explicitly map new EFI memmap table as encrypted
bbf22d47bb3e net: dsa: mv88e6xxx: allow use of PHYs on CPU and DSA ports
f4b8f987a748 net: dsa: mv88e6xxx: fix "don't use PHY_DETECT on internal PHY's"
5c960ae2c22a can: m_can: Disable and ignore ELO interrupt
081816acad36 can: m_can: pci: fix iomap_read_fifo() and iomap_write_fifo()
f4848384c17e can: m_can: pci: fix incorrect reference clock rate
75a422165477 can: m_can: m_can_read_fifo: fix memory leak in error branch
6c73fc931658 can: pch_can: pch_can_rx_normal: fix use after free
474f9a8534f5 can: sja1000: fix use after free in ems_pcmcia_add_card()
c9b5472da3a8 can: kvaser_pciefd: kvaser_pciefd_rx_error_frame(): increase correct stats->{rx,tx}_errors counter
a8b513b824e4 can: kvaser_usb: get CAN clock frequency from device
834d0fb97864 IB/hfi1: Fix leak of rcvhdrtail_dummy_kvaddr
27bbf30f928a IB/hfi1: Fix early init panic
b9e1cc3b95e8 IB/hfi1: Insure use of smp_processor_id() is preempt disabled
33bee1ebfc83 nft_set_pipapo: Fix bucket load in AVX2 lookup routine for six 8-bit groups
20d1064ac956 platform/x86/intel: hid: add quirk to support Surface Go 3
6281306bdc99 HID: Ignore battery for Elan touchscreen on Asus UX550VE
719d5fb2789a HID: sony: fix error path in probe
e537e7ef5e8c mmc: spi: Add device-tree SPI IDs
59146a86b4aa mtd: dataflash: Add device-tree SPI IDs
a579510a64ed HID: check for valid USB device for many HID drivers
05ca95256aba HID: wacom: fix problems when device is not a valid USB device
58f15f5ae778 HID: bigbenff: prevent null pointer dereference
30d3150d9094 HID: add USB_HID dependancy on some USB HID drivers
8c765cf5f1bc HID: add USB_HID dependancy to hid-chicony
10b05037d7a8 HID: add USB_HID dependancy to hid-prodikeys
e1e21632a4c4 HID: add hid_is_usb() function to make it simpler for USB detection
6892f8e27d6e HID: intel-ish-hid: ipc: only enable IRQ wakeup when requested
d38f90239254 HID: google: add eel USB id
c7b9eca23ea2 HID: quirks: Add quirk for the Microsoft Surface 3 type-cover
5131cc731c67 usb: gadget: uvc: fix multiple opens

(From OE-Core rev: 0b19990a516aed8147b0a4474c413f8a44c7b35e)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-21 12:01:41 +00:00
Bruce Ashfield
87cbd887a8 linux-yocto/5.15: update to v5.15.7
Updating linux-yocto/5.15 to the latest korg -stable release that comprises
the following commits:

4e8c680af6d5 Linux 5.15.7
3ded93ae46ce ipmi: msghandler: Make symbol 'remove_work_wq' static
888fc81107ca serial: liteuart: fix minor-number leak on probe errors
602824cf9aa9 serial: liteuart: fix use-after-free and memleak on unbind
189c99c629bb serial: liteuart: Fix NULL pointer dereference in ->remove()
54b4cfe4c999 serial: 8250: Fix RTS modem control while in rs485 mode
b6e196d931d0 serial: 8250_pci: rewrite pericom_do_set_divisor()
1718ff2e3dad serial: 8250_pci: Fix ACCES entries in pci_serial_quirks array
64e491c1634b serial: core: fix transmit-buffer reset and memleak
d2341178187a serial: tegra: Change lower tolerance baud rate limit for tegra20 and tegra30
ea3628ce85ff serial: pl011: Add ACPI SBSA UART match id
87eb31a7d1e7 tty: serial: msm_serial: Deactivate RX DMA for polling support
498ddcffe2ff x86/64/mm: Map all kernel memory into trampoline_pgd
6e0dd9cceac7 x86/tsc: Disable clocksource watchdog for TSC on qualified platorms
53df08733bc4 x86/tsc: Add a timer to make sure TSC_adjust is always checked
7d94bc8e335c usb: cdnsp: Fix a NULL pointer dereference in cdnsp_endpoint_init()
f4f77594cc30 usb: cdns3: gadget: fix new urb never complete if ep cancel previous requests
cfdb7032a488 usb: typec: tcpm: Wait in SNK_DEBOUNCED until disconnect
43cdf7b5645d USB: NO_LPM quirk Lenovo Powered USB-C Travel Hub
fa75f593c867 xhci: Fix commad ring abort, write all 64 bits to CRCR register.
81dbda4c70f3 vgacon: Propagate console boot parameters before calling `vc_resize'
dbeb9153ded9 parisc: Mark cr16 CPU clocksource unstable on all SMP machines
98736f21f673 parisc: Fix "make install" on newer debian releases
34680557cf3a parisc: Fix KBUILD_IMAGE for self-extracting kernel
8e044b80e6ba serial: 8250_bcm7271: UART errors after resuming from S2
cb0fb54ff6ee net/mlx5e: Sync TIR params updates against concurrent create/modify
a950a93be05f net/mlx5e: Rename TIR lro functions to TIR packet merge functions
3cd81837f46f net/mlx5e: Rename lro_timeout to packet_merge_timeout
66e507d96869 KVM: x86/mmu: Remove spurious TLB flushes in TDP MMU zap collapsible path
e0609b252c8c KVM: x86/mmu: Rename slot_handle_leaf to slot_handle_level_4k
7012eb0e5220 KVM: SEV: Return appropriate error codes if SEV-ES scratch setup fails
a246d92dda9f sched/uclamp: Fix rq->uclamp_max not set on first enqueue
fcf714776066 preempt/dynamic: Fix setup_preempt_mode() return value
e19a07833960 x86/xen: Add xenpv_restore_regs_and_return_to_usermode()
308cc9668d7c x86/entry: Use the correct fence macro after swapgs in kernel CR3
efc5d7be3eb0 x86/entry: Add a fence for kernel entry SWAPGS in paranoid_entry()
ce364f143caa x86/sev: Fix SEV-ES INS/OUTS instructions for word, dword, and qword
690637ec0442 io-wq: don't retry task_work creation failure on fatal conditions
894b21da042f Revert "drm/i915: Implement Wa_1508744258"
812ed9b71246 mctp: Don't let RTM_DELROUTE delete local routes
f1bcddbc7b60 KVM: VMX: Set failure code in prepare_vmcs02()
5333bef073f8 KVM: x86/pmu: Fix reserved bits for AMD PerfEvtSeln register
7a22778cc73b net/mlx5: E-Switch, Check group pointer before reading bw_share value
4cc946fae4c5 net/mlx5: E-Switch, fix single FDB creation on BlueField
301c7519106d net/mlx5: E-switch, Respect BW share of the new group
3f8887350191 net/mlx5: Move MODIFY_RQT command to ignore list in internal error state
1adc4914a0da net/mlx5e: Fix missing IPsec statistics on uplink representor
c4db545992ad KVM: SEV: initialize regions_list of a mirror VM
b5a8918d0865 KVM: X86: Fix when shadow_root_level=5 && guest root_level<4
4768935c2540 iwlwifi: Fix memory leaks in error handling path
8b9bed7c63f0 ASoC: rk817: Add module alias for rk817-codec
805c90e0e919 drm/msm: Restore error return on invalid fence
4c3cdbf25403 drm/msm: Fix wait_fence submitqueue leak
8e2b7fe5e8a4 drm/msm: Fix mmap to include VM_IO and VM_DONTDUMP
a4eb55901df1 drm/msm/devfreq: Fix OPP refcnt leak
8e256b45e058 KVM: x86/mmu: Pass parameter flush as false in kvm_tdp_mmu_zap_collapsible_sptes()
d618539224ea KVM: x86/mmu: Skip tlb flush if it has been done in zap_gfn_range()
be9163800ba7 atlantic: Remove warn trace message.
35b75e2b72c5 atlantic: Fix statistics logic for production hardware
469d2288e059 Remove Half duplex mode speed capabilities.
4b72830f1e30 atlantic: Add missing DIDs and fix 115c.
6816e0fa49f3 atlantic: Fix to display FW bundle version instead of FW mac version.
e9df163300ae atlatnic: enable Nbase-t speeds with base-t
da0027b4178d atlantic: Increase delay for fw transactions
e216e02befc3 drm/vc4: kms: Fix previous HVS commit wait
aeadbd778d66 drm/vc4: kms: Don't duplicate pending commit
2931db9a5ed2 drm/vc4: kms: Clear the HVS FIFO commit pointer once done
53f9601e908d drm/vc4: kms: Add missing drm_crtc_commit_put
b044180fcb38 drm/vc4: kms: Fix return code check
fd7bfba0112d drm/vc4: kms: Wait for the commit before increasing our clock rate
3cae481575f5 drm/msm: Do hw_init() before capturing GPU state
83e54fcf0b14 drm/msm/a6xx: Allocate enough space for GMU registers
3a3db121f999 net/smc: Keep smc_close_final rc during active close
b44a55ee25ef net/rds: correct socket tunable error in rds_tcp_tune()
95518fe354d7 net/smc: fix wrong list_del in smc_lgr_cleanup_early
170739c45e37 ipv4: convert fib_num_tclassid_users to atomic_t
94782c8ffd07 net: annotate data-races on txq->xmit_lock_owner
1c0ddef45b7e octeontx2-af: Fix a memleak bug in rvu_mbox_init()
e83fb96f915a dpaa2-eth: destroy workqueue at the end of remove function
686578a1bac1 net: marvell: mvpp2: Fix the computation of shared CPUs
231117a52713 net: usb: lan78xx: lan78xx_phy_init(): use PHY_POLL instead of "0" if no IRQ is available
823ae758c0f3 net: stmmac: Avoid DMA_CHAN_CONTROL write if no Split Header support
a927f9dfd0d9 ALSA: intel-dsp-config: add quirk for CML devices based on ES8336 codec
9469273e616c rxrpc: Fix rxrpc_local leak in rxrpc_lookup_peer()
bc97458620e3 rxrpc: Fix rxrpc_peer leak in rxrpc_look_up_bundle()
f50dcc9d14f5 ASoC: tegra: Fix kcontrol put callback in AHUB
e13772cfb25d ASoC: tegra: Fix kcontrol put callback in DSPK
1686d2e9edb2 ASoC: tegra: Fix kcontrol put callback in DMIC
e6186c773572 ASoC: tegra: Fix kcontrol put callback in I2S
7b77bdff45ff ASoC: tegra: Fix kcontrol put callback in ADMAIF
a0730b605153 ASoC: tegra: Fix wrong value type in DSPK
7e83ca5d78bb ASoC: tegra: Fix wrong value type in DMIC
36358b208cdb ASoC: tegra: Fix wrong value type in I2S
f3f65b768880 ASoC: tegra: Fix wrong value type in ADMAIF
14b03b8cebdf mt76: mt7915: fix NULL pointer dereference in mt7915_get_phy_mode
f8aceb91a5dd net: dsa: b53: Add SPI ID table
ad7f90bb8846 selftests: net: Correct case name
75917372eef0 net/mlx4_en: Fix an use-after-free bug in mlx4_en_try_alloc_resources()
b762b3e28c92 net/mlx5e: IPsec: Fix Software parser inner l3 type setting in case of encapsulation
3f837fefa59d iwlwifi: fix warnings produced by kernel debug options
b9dffaf94908 arm64: ftrace: add missing BTIs
49d17d1a4ba5 siphash: use _unaligned version by default
519ed0ab5f8b net: mpls: Fix notifications when deleting a device
c5ef33c1489b net: qlogic: qlcnic: Fix a NULL pointer dereference in qlcnic_83xx_add_rings()
5a9afcd827ca tcp: fix page frag corruption on page fault
22a18dd48866 natsemi: xtensa: fix section mismatch warnings
f744230dfbf2 i2c: cbus-gpio: set atomic transfer callback
e2d234f96d8b i2c: stm32f7: stop dma transfer in case of NACK
3dd6c5899695 i2c: stm32f7: recover the bus on access timeout
a153d4253530 i2c: stm32f7: flush TX FIFO upon transfer errors
d5f50794a49f wireguard: ratelimiter: use kvcalloc() instead of kvzalloc()
2745192cb798 wireguard: receive: drop handshakes if queue lock is contended
af794a64d6ca wireguard: receive: use ring buffer for incoming handshakes
4db0d88a9048 wireguard: device: reset peer src endpoint when netns exits
7c0d08d85139 wireguard: selftests: rename DEBUG_PI_LIST to DEBUG_PLIST
631a480320f1 wireguard: selftests: actually test for routing loops
d33493e9654a wireguard: allowedips: add missing __rcu annotation to satisfy sparse
b050a8d576b1 wireguard: selftests: increase default dmesg log size
326fb8a1c267 net: dsa: mv88e6xxx: Link in pcs_get_state() if AN is bypassed
19f7ad89bcb7 net: dsa: mv88e6xxx: Fix inband AN for 2500base-x on 88E6393X family
6f273a649608 net: dsa: mv88e6xxx: Add fix for erratum 5.2 of 88E6393X family
f2be2d4c8e8f net: dsa: mv88e6xxx: Save power by disabling SerDes trasmitter and receiver
865185f74509 net: dsa: mv88e6xxx: Drop unnecessary check in mv88e6393x_serdes_erratum_4_6()
0671c8f7332f net: dsa: mv88e6xxx: Fix application of erratum 4.8 for 88E6393X
f7b4f571d580 tracing/histograms: String compares should not care about signed values
4e06bb02ad6a KVM: x86: check PIR even for vCPUs with disabled APICv
2846d550f8f5 KVM: X86: Use vcpu->arch.walk_mmu for kvm_mmu_invlpg()
6aebd2da8d49 KVM: arm64: Avoid setting the upper 32 bits of TCR_EL2 and CPTR_EL2 to 1
87d9c628be26 KVM: MMU: shadow nested paging does not have PKU
9325b1dbdbf9 KVM: x86: Use a stable condition around all VT-d PI paths
70a37e04c08a KVM: VMX: prepare sync_pir_to_irr for running with APICv disabled
8ed61a2a6a28 KVM: nVMX: Abide to KVM_REQ_TLB_FLUSH_GUEST request on nested vmentry/vmexit
361e68805ace KVM: nVMX: Flush current VPID (L1 vs. L2) for KVM_REQ_TLB_FLUSH_GUEST
85f2cf6419dd KVM: nVMX: Emulate guest TLB flush on nested VM-Enter with new vpid12
3a929e1d7e5e KVM: x86: ignore APICv if LAPIC is not enabled
cbe4fcf37150 KVM: Ensure local memslot copies operate on up-to-date arch-specific data
2bdc79ac9a4f KVM: x86/mmu: Fix TLB flush range when handling disconnected pt
0827b8db5c7f KVM: Disallow user memslot with size that exceeds "unsigned long"
f1a1693ea4e2 KVM: fix avic_set_running for preemptable kernels
245241821ecf drm/i915/dp: Perform 30ms delay after source OUI write
7418356362ce drm/amd/display: Allow DSC on supported MST branch devices
8ef8a76a340e ipv6: fix memory leak in fib6_rule_suppress
3ce84ab279ef scsi: ufs: ufs-pci: Add support for Intel ADL
a8392866c522 scsi: lpfc: Fix non-recovery of remote ports following an unsolicited LOGO
dd267e59a181 sata_fsl: fix warning in remove_proc_entry when rmmod sata_fsl
adf098e2a8a1 sata_fsl: fix UAF in sata_fsl_port_stop when rmmod sata_fsl
6fe4eadd54da fget: check that the fd still exists after getting a ref to it
31aa63f69a3c s390/pci: move pseudo-MMIO to prevent MIO overlap
c1079ff6f9a0 dma-buf: system_heap: Use 'for_each_sgtable_sg' in pages free flow
075d9c1497f2 iwlwifi: mvm: retry init flow if failed
c649d47801df cpufreq: Fix get_cpu_device() failure in add_cpu_dev_symlink()
c4618188b15a ipmi: Move remove_work to dedicated workqueue
2a715e15588c rt2x00: do not mark device gone on EPROTO errors during start
edbdf9da8015 ALSA: hda/cs8409: Set PMSG_ON earlier inside cs8409 driver
16ccd481e3d8 kprobes: Limit max data_size of the kretprobe instances
75fc0eba15df vrf: Reset IPCB/IP6CB when processing outbound pkts in vrf dev xmit
275827a7dcaf net/tls: Fix authentication failure in CCM mode
f06c3b728ae7 ACPI: Add stubs for wakeup handler functions
b589021871cf net/smc: Avoid warning of possible recursive locking
859ea5a20ee7 tracing: Don't use out-of-sync va_list in event printing
71e284dcebec perf report: Fix memory leaks around perf_tip()
5b5c6f57a1f8 perf hist: Fix memory leak of a perf_hpp_fmt
27802de133dc perf inject: Fix ARM SPE handling
cf49756c3d68 perf sort: Fix the 'p_stage_cyc' sort key behavior
199e20f4fdfa perf sort: Fix the 'ins_lat' sort key behavior
57482dc5ac7d perf sort: Fix the 'weight' sort key behavior
40e35c77448e net: ethernet: dec: tulip: de4x5: fix possible array overflows in type3_infoblock()
12f907cb1157 net: tulip: de4x5: fix the problem that the array 'lp->phy[8]' may be out of bound
634ef8cf4e51 ipv6: check return value of ipv6_skip_exthdr
fc7ffa7f10b9 ethernet: hisilicon: hns: hns_dsaf_misc: fix a possible array overflow in hns_dsaf_ge_srst_by_port()
b56c75d4d3c3 ata: libahci: Adjust behavior when StorageD3Enable _DSD is set
ab8efdbda76c ata: ahci: Add Green Sardine vendor ID as board_ahci_mobile
75752ada77e0 drm/amd/amdgpu: fix potential memleak
06c6f8f86ec2 drm/amd/amdkfd: Fix kernel panic when reset failed and been triggered again
c786a7d5b88b drm/amd/pm: Remove artificial freq level on Navi1x
9774ec30cf7b net: usb: r8152: Add MAC passthrough support for more Lenovo Docks
592195692021 scsi: iscsi: Unblock session then wake up error handler
80050db986a1 thermal: core: Reset previous low and high trip during thermal zone init
7440613439a3 btrfs: check-integrity: fix a warning on write caching disabled disk
e26605497f4e btrfs: silence lockdep when reading chunk tree during mount
efc562ea9d8a s390/setup: avoid using memblock_enforce_memory_limit
b6d5c4e3fce7 platform/x86: thinkpad_acpi: Fix WWAN device disabled issue after S3 deep
d17d9e935f72 platform/x86: thinkpad_acpi: Add support for dual fan control
8df09ab9d374 platform/x86: dell-wmi-descriptor: disable by default
aca091aadef4 pinctrl: qcom: fix unmet dependencies on GPIOLIB for GPIOLIB_IRQCHIP
00fdcc2b4474 net: return correct error code
cec49b6dfdb0 atlantic: Fix OOB read and write in hw_atl_utils_fw_rpc_wait
fb92e025baa7 net/smc: Transfer remaining wait queue entries during fallback
cc447c1e1482 x86/hyperv: Move required MSRs check to initial platform probing
60af14bf37ec mac80211: fix throughput LED trigger
9d3eb89e6ca3 mac80211: do not access the IV when it was stripped
8e7c364d1c07 drm/sun4i: fix unmet dependency on RESET_CONTROLLER for PHY_SUN6I_MIPI_DPHY
05d27cd9bc70 powerpc/pseries/ddw: Do not try direct mapping with persistent memory and one window
b67ff10e43d3 powerpc/pseries/ddw: Revert "Extend upper limit for huge DMA window for persistent memory"
f8b76df0055c gfs2: Fix length of holes reported at end-of-file
4b11e583193c gfs2: release iopen glock early in evict
1236351c29c7 ALSA: usb-audio: Don't start stream for capture at prepare
321cd173b8cc ALSA: usb-audio: Switch back to non-latency mode at a later point
2cea047b74da ALSA: usb-audio: Less restriction for low-latency playback mode
c7ac29edfb6a ALSA: usb-audio: Fix packet size calculation regression
458871f21e69 ALSA: usb-audio: Avoid killing in-flight URBs during draining
ff39117fac65 ALSA: usb-audio: Improved lowlatency playback support
7303160785e5 ALSA: usb-audio: Add spinlock to stop_urbs()
31056232ad3c ALSA: usb-audio: Check available frames for the next packet size
8d7c6f515b15 ALSA: usb-audio: Disable low-latency mode for implicit feedback sync
5ca1fa52d351 ALSA: usb-audio: Disable low-latency playback for free-wheel mode
2d9ea74b3751 ALSA: usb-audio: Rename early_playback_start flag with lowlatency_playback
8f0a376b2eaa ALSA: usb-audio: Restrict rates for the shared clocks

(From OE-Core rev: 4be04264e5ddb8eb9bb83b453f8ea8c46add2794)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-21 12:01:41 +00:00
Bruce Ashfield
0d3f120dab linux-yocto/5.10: update to v5.10.84
Updating linux-yocto/5.10 to the latest korg -stable release that comprises
the following commits:

a0582e24d371 Linux 5.10.84
e6edaf267793 ipmi: msghandler: Make symbol 'remove_work_wq' static
a8d18fb4d11b net/tls: Fix authentication failure in CCM mode
dbe73dace94c parisc: Mark cr16 CPU clocksource unstable on all SMP machines
01300d21505d iwlwifi: mvm: retry init flow if failed
a5d0a72b805e serial: 8250: Fix RTS modem control while in rs485 mode
f9802d7049f5 serial: 8250_pci: rewrite pericom_do_set_divisor()
50b06889c86f serial: 8250_pci: Fix ACCES entries in pci_serial_quirks array
e1722acf4f0d serial: core: fix transmit-buffer reset and memleak
bda142bbeb31 serial: tegra: Change lower tolerance baud rate limit for tegra20 and tegra30
901f7e0aa4a6 serial: pl011: Add ACPI SBSA UART match id
946ded2287a0 tty: serial: msm_serial: Deactivate RX DMA for polling support
67d08450a08d x86/64/mm: Map all kernel memory into trampoline_pgd
b3a519b5a580 x86/tsc: Disable clocksource watchdog for TSC on qualified platorms
1ed4a8fd363c x86/tsc: Add a timer to make sure TSC_adjust is always checked
a92f044a9fcb usb: typec: tcpm: Wait in SNK_DEBOUNCED until disconnect
6d8c191bf464 USB: NO_LPM quirk Lenovo Powered USB-C Travel Hub
90c915051c3d xhci: Fix commad ring abort, write all 64 bits to CRCR register.
1235485c633e vgacon: Propagate console boot parameters before calling `vc_resize'
92b9113c6df0 parisc: Fix "make install" on newer debian releases
c27a548d3f29 parisc: Fix KBUILD_IMAGE for self-extracting kernel
92f309c838fc x86/entry: Add a fence for kernel entry SWAPGS in paranoid_entry()
4bbbc9c4f313 x86/pv: Switch SWAPGS to ALTERNATIVE
4d42b7bcf09d sched/uclamp: Fix rq->uclamp_max not set on first enqueue
2015ffa3a4c2 x86/xen: Add xenpv_restore_regs_and_return_to_usermode()
8b9279cad291 x86/entry: Use the correct fence macro after swapgs in kernel CR3
c8e341191849 x86/sev: Fix SEV-ES INS/OUTS instructions for word, dword, and qword
64ca109bf875 KVM: VMX: Set failure code in prepare_vmcs02()
60ce9a754060 KVM: x86/pmu: Fix reserved bits for AMD PerfEvtSeln register
cfebd5a277ad atlantic: Remove warn trace message.
95f6fae9a0db atlantic: Fix statistics logic for production hardware
695d9c6bc671 Remove Half duplex mode speed capabilities.
0c67e7b98fab atlantic: Add missing DIDs and fix 115c.
ca350298bccb atlantic: Fix to display FW bundle version instead of FW mac version.
93a4f3f4fdb5 atlatnic: enable Nbase-t speeds with base-t
44812111a3b1 atlantic: Increase delay for fw transactions
13f290d5aa4a drm/msm: Do hw_init() before capturing GPU state
d646856a600e drm/msm/a6xx: Allocate enough space for GMU registers
a792b3d56438 net/smc: Keep smc_close_final rc during active close
e226180acc49 net/rds: correct socket tunable error in rds_tcp_tune()
77731fede297 net/smc: fix wrong list_del in smc_lgr_cleanup_early
9a40a1e0eb50 ipv4: convert fib_num_tclassid_users to atomic_t
fa973bf5fd0f net: annotate data-races on txq->xmit_lock_owner
e26dab79e16b dpaa2-eth: destroy workqueue at the end of remove function
dde240695d97 net: marvell: mvpp2: Fix the computation of shared CPUs
3260b8d12057 net: usb: lan78xx: lan78xx_phy_init(): use PHY_POLL instead of "0" if no IRQ is available
acef1c2b1596 ALSA: intel-dsp-config: add quirk for CML devices based on ES8336 codec
60f0b9c42cb8 rxrpc: Fix rxrpc_local leak in rxrpc_lookup_peer()
35b40f724c4e rxrpc: Fix rxrpc_peer leak in rxrpc_look_up_bundle()
4afb32090a15 ASoC: tegra: Fix kcontrol put callback in AHUB
fe4eb5297ac3 ASoC: tegra: Fix kcontrol put callback in DSPK
256aa15aac6d ASoC: tegra: Fix kcontrol put callback in DMIC
1cf1f9a1f3ed ASoC: tegra: Fix kcontrol put callback in I2S
0ee53a1d8889 ASoC: tegra: Fix kcontrol put callback in ADMAIF
e6fb4c3fd35b ASoC: tegra: Fix wrong value type in DSPK
0265ef0dff5e ASoC: tegra: Fix wrong value type in DMIC
e66e75fb2278 ASoC: tegra: Fix wrong value type in I2S
6b54c0d845e5 ASoC: tegra: Fix wrong value type in ADMAIF
932b338f4e5c mt76: mt7915: fix NULL pointer dereference in mt7915_get_phy_mode
a0335cda6d92 selftests: net: Correct case name
f1d43efa59f1 net/mlx4_en: Fix an use-after-free bug in mlx4_en_try_alloc_resources()
59d2dc771006 arm64: ftrace: add missing BTIs
ef55f0f8af2b siphash: use _unaligned version by default
fd52e1f8c093 net: mpls: Fix notifications when deleting a device
15fa12c119f8 net: qlogic: qlcnic: Fix a NULL pointer dereference in qlcnic_83xx_add_rings()
c6f340a331fb tcp: fix page frag corruption on page fault
aa6c393a3c3f natsemi: xtensa: fix section mismatch warnings
289ee320b5ed i2c: cbus-gpio: set atomic transfer callback
58d5c53f2589 i2c: stm32f7: stop dma transfer in case of NACK
c22124491752 i2c: stm32f7: recover the bus on access timeout
8de6ea757c88 i2c: stm32f7: flush TX FIFO upon transfer errors
1c75779dd90c wireguard: ratelimiter: use kvcalloc() instead of kvzalloc()
cb2d7c1992cb wireguard: receive: drop handshakes if queue lock is contended
8a29a50dbdb1 wireguard: receive: use ring buffer for incoming handshakes
e3be118327a1 wireguard: device: reset peer src endpoint when netns exits
f7b6672fab70 wireguard: selftests: rename DEBUG_PI_LIST to DEBUG_PLIST
0584bf51c315 wireguard: selftests: actually test for routing loops
3d1dc3c67773 wireguard: allowedips: add missing __rcu annotation to satisfy sparse
4caf965f6cbe wireguard: selftests: increase default dmesg log size
3d73021f8d74 tracing/histograms: String compares should not care about signed values
d4af6d974951 KVM: X86: Use vcpu->arch.walk_mmu for kvm_mmu_invlpg()
c71b5f37b5ff KVM: arm64: Avoid setting the upper 32 bits of TCR_EL2 and CPTR_EL2 to 1
5f33887a3682 KVM: x86: Use a stable condition around all VT-d PI paths
7722e8850522 KVM: nVMX: Flush current VPID (L1 vs. L2) for KVM_REQ_TLB_FLUSH_GUEST
6a44f200f1f1 KVM: Disallow user memslot with size that exceeds "unsigned long"
775191dd4c1b drm/amd/display: Allow DSC on supported MST branch devices
209d35ee34e2 ipv6: fix memory leak in fib6_rule_suppress
16c242b09106 sata_fsl: fix warning in remove_proc_entry when rmmod sata_fsl
4a46b2f5dce0 sata_fsl: fix UAF in sata_fsl_port_stop when rmmod sata_fsl
4baba6ba56eb fget: check that the fd still exists after getting a ref to it
80bfed369be9 s390/pci: move pseudo-MMIO to prevent MIO overlap
92283c2728a9 cpufreq: Fix get_cpu_device() failure in add_cpu_dev_symlink()
f717f29e8468 ipmi: Move remove_work to dedicated workqueue
de4f5eb02cfe rt2x00: do not mark device gone on EPROTO errors during start
c200721f8eda kprobes: Limit max data_size of the kretprobe instances
2a74c13dfe83 vrf: Reset IPCB/IP6CB when processing outbound pkts in vrf dev xmit
136cabf15779 ACPI: Add stubs for wakeup handler functions
cc443ac5bb31 net/smc: Avoid warning of possible recursive locking
ff061b5bda73 perf report: Fix memory leaks around perf_tip()
a4c17ebdd624 perf hist: Fix memory leak of a perf_hpp_fmt
d9b72274f32a perf inject: Fix ARM SPE handling
2c15d2a6ba27 net: ethernet: dec: tulip: de4x5: fix possible array overflows in type3_infoblock()
f059fa40f0fc net: tulip: de4x5: fix the problem that the array 'lp->phy[8]' may be out of bound
4d5968ea06fb ipv6: check return value of ipv6_skip_exthdr
22519eff7df2 ethernet: hisilicon: hns: hns_dsaf_misc: fix a possible array overflow in hns_dsaf_ge_srst_by_port()
9a32d3c08d8e ata: ahci: Add Green Sardine vendor ID as board_ahci_mobile
c746945fb6bc drm/amd/amdgpu: fix potential memleak
74aafe99efb6 drm/amd/amdkfd: Fix kernel panic when reset failed and been triggered again
f0c9f49b0caf scsi: iscsi: Unblock session then wake up error handler
bc8c423a286a thermal: core: Reset previous low and high trip during thermal zone init
8e4d2ac4348a btrfs: check-integrity: fix a warning on write caching disabled disk
039572290531 s390/setup: avoid using memblock_enforce_memory_limit
fd1e70ef65ee platform/x86: thinkpad_acpi: Fix WWAN device disabled issue after S3 deep
226b21ad01ae platform/x86: thinkpad_acpi: Add support for dual fan control
3fc88660ede6 net: return correct error code
2c514d25003a atlantic: Fix OOB read and write in hw_atl_utils_fw_rpc_wait
ff6eeb627898 net/smc: Transfer remaining wait queue entries during fallback
e1a165599aad mac80211: do not access the IV when it was stripped
c386d7aa59f5 drm/sun4i: fix unmet dependency on RESET_CONTROLLER for PHY_SUN6I_MIPI_DPHY
57e36973fadb powerpc/pseries/ddw: Revert "Extend upper limit for huge DMA window for persistent memory"
7b2b7e03e8ea gfs2: Fix length of holes reported at end-of-file
664cceab6f70 gfs2: release iopen glock early in evict
bcce010f9230 ovl: fix deadlock in splice write
dca4f9a58196 ovl: simplify file splice
7774dd934a65 can: j1939: j1939_tp_cmd_recv(): check the dst address of TP.CM_BAM
60ae63ef194a NFSv42: Fix pagecache invalidation after COPY/CLONE
a324ad794566 Linux 5.10.83
45b42cd05391 drm/amdgpu/gfx9: switch to golden tsc registers for renoir+
98b02755d544 net: stmmac: platform: fix build warning when with !CONFIG_PM_SLEEP
a15261d2a121 shm: extend forced shm destroy to support objects from several IPC nses
aa20e966d8a1 s390/mm: validate VMA in PGSTE manipulation functions
a94e4a7b77ed tty: hvc: replace BUG_ON() with negative return value
1c5f722a8fdf xen/netfront: don't trust the backend response data blindly
334b0f278761 xen/netfront: disentangle tx_skb_freelist
e17ee047eea7 xen/netfront: don't read data from request on the ring page
f5e493709800 xen/netfront: read response from backend only once
1ffb20f0527d xen/blkfront: don't trust the backend response data blindly
8e147855fcf2 xen/blkfront: don't take local copy of a request from the ring page
273f04d5d135 xen/blkfront: read response from backend only once
b98284aa3fc5 xen: sync include/xen/interface/io/ring.h with Xen's newest version
406f2d5fe368 tracing: Check pid filtering when creating events
4fd0ad08ee33 vhost/vsock: fix incorrect used length reported to the guest
fbc0514e1a34 iommu/amd: Clarify AMD IOMMUv2 initialization messages
5655b8bccb8a smb3: do not error on fsync when readonly
c380062d0850 ceph: properly handle statfs on multifs setups
22423c966e02 f2fs: set SBI_NEED_FSCK flag when inconsistent node block found
e6ee7abd6bfe sched/scs: Reset task stack state in bringup_cpu()
71e38a0c7cf8 tcp: correctly handle increased zerocopy args struct size
72f2117e450b net: mscc: ocelot: correctly report the timestamping RX filters in ethtool
73115a2b38dd net: mscc: ocelot: don't downgrade timestamping RX filters in SIOCSHWTSTAMP
62343dadbb96 net: hns3: fix VF RSS failed problem after PF enable multi-TCs
215167df4512 net/smc: Don't call clcsock shutdown twice when smc shutdown
6e800ee43218 net: vlan: fix underflow for the real_dev refcnt
ae2659d2c670 net/sched: sch_ets: don't peek at classes beyond 'nbands'
e3509feb46fa tls: fix replacing proto_ops
22156242b104 tls: splice_read: fix record type check
3b6c71c097da MIPS: use 3-level pgtable for 64KB page size on MIPS_VA_BITS_48
a6a5d853f1e6 MIPS: loongson64: fix FTLB configuration
5e823dbee23c igb: fix netpoll exit with traffic
f2a58ff3e3ad nvmet: use IOCB_NOWAIT only if the filesystem supports it
12ceb52f2cc4 net/smc: Fix loop in smc_listen
c94cbd262b6a net/smc: Fix NULL pointer dereferencing in smc_vlan_by_tcpsk()
3d4937c6a328 net: phylink: Force retrigger in case of latched link-fail indicator
50162ff3c80f net: phylink: Force link down and retrigger resolve on interface change
95ba8f0d57ce lan743x: fix deadlock in lan743x_phy_link_status_change()
c5e4316d9c02 tcp_cubic: fix spurious Hystart ACK train detections for not-cwnd-limited flows
318762309609 drm/amd/display: Set plane update flags for all planes in reset
f634c755a0ee PM: hibernate: use correct mode for swsusp_close()
440bd9faad29 net/ncsi : Add payload to be 32-bit aligned to fix dropped packets
ac88cb3c44b6 nvmet-tcp: fix incomplete data digest send
8889ff80fde3 net: marvell: mvpp2: increase MTU limit when XDP enabled
90d0736876c5 mlxsw: spectrum: Protect driver from buggy firmware
33d89128a960 mlxsw: Verify the accessed index doesn't exceed the array length
29e1b5734795 net/smc: Ensure the active closing peer first closes clcsock
77d9c2efa870 erofs: fix deadlock when shrink erofs slab
9f540c7ffb1e scsi: scsi_debug: Zero clear zones at reset write pointer
725ba1289508 scsi: core: sysfs: Fix setting device state to SDEV_RUNNING
e65a8707b4cd ice: avoid bpf_prog refcount underflow
1eb5395add78 ice: fix vsi->txq_map sizing
26ed13d06422 net: nexthop: release IPv6 per-cpu dsts when replacing a nexthop group
3c40584595f8 net: ipv6: add fib6_nh_release_dsts stub
dc2f7e9d8d20 net: stmmac: retain PTP clock time during SIOCSHWTSTAMP ioctls
79068e6b1cfb net: stmmac: fix system hang caused by eee_ctrl_timer during suspend/resume
cc301ad31207 nfp: checking parameter process for rx-usecs/tx-usecs is invalid
9b44cb67d387 ipv6: fix typos in __ip6_finish_output()
6d9e8dabd46f firmware: smccc: Fix check for ARCH_SOC_ID not implemented
bbd1683e795c mptcp: fix delack timer
061542815af1 ALSA: intel-dsp-config: add quirk for JSL devices based on ES8336 codec
f5af2def7e05 iavf: Prevent changing static ITR values if adaptive moderation is on
5dca8eff4627 net: marvell: prestera: fix double free issue on err path
b33c5c828144 drm/vc4: fix error code in vc4_create_object()
2bf9c5a5039c scsi: mpt3sas: Fix kernel panic during drive powercycle test
29ecb4c0f0d7 drm/nouveau/acr: fix a couple NULL vs IS_ERR() checks
0effb7f51b65 ARM: socfpga: Fix crash with CONFIG_FORTIRY_SOURCE
86c5adc78083 NFSv42: Don't fail clone() unless the OP_CLONE operation failed
c9ba7864d3a2 firmware: arm_scmi: pm: Propagate return value to caller
8730a679c3cb net: ieee802154: handle iftypes as u32
2925aadd1f32 ASoC: codecs: wcd934x: return error code correctly from hw_params
3a25def06de8 ASoC: topology: Add missing rwsem around snd_ctl_remove() calls
4a4f900e0415 ASoC: qdsp6: q6asm: fix q6asm_dai_prepare error handling
9196a6858150 ASoC: qdsp6: q6routing: Conditionally reset FrontEnd Mixer
2be17eca48ae ARM: dts: bcm2711: Fix PCIe interrupts
9db1d4a3c270 ARM: dts: BCM5301X: Add interrupt properties to GPIO node
b2cd6fdcbe0a ARM: dts: BCM5301X: Fix I2C controller interrupt
b7ef25e8c271 netfilter: flowtable: fix IPv6 tunnel addr match
d689176e0e18 netfilter: ipvs: Fix reuse connection if RS weight is 0
994065f6efdc netfilter: ctnetlink: do not erase error code with EINVAL
a3d829e5f375 netfilter: ctnetlink: fix filtering with CTA_TUPLE_REPLY
a8a917058faf proc/vmcore: fix clearing user buffer by properly using clear_user()
1f520a0d78fc PCI: aardvark: Fix link training
aec0751f61f5 PCI: aardvark: Simplify initialization of rootcap on virtual bridge
df5748098878 PCI: aardvark: Implement re-issuing config requests on CRS response
e7f2e2c758ea PCI: aardvark: Update comment about disabling link training
2b7bc1c4b2c8 PCI: aardvark: Deduplicate code in advk_pcie_rd_conf()
dfe906da9a1a powerpc/32: Fix hardlockup on vmap stack overflow
bf00edd9e6c9 mdio: aspeed: Fix "Link is Down" issue
14c3ce30ddbd mmc: sdhci: Fix ADMA for PAGE_SIZE >= 64KiB
63195705b334 mmc: sdhci-esdhc-imx: disable CMDQ support
092a58f0d9ef tracing: Fix pid filtering when triggers are attached
68fa6bf7f179 tracing/uprobe: Fix uprobe_perf_open probes iteration
b777c866aafc KVM: PPC: Book3S HV: Prevent POWER7/8 TLB flush flushing SLB
bfed9c2f2f2e xen: detect uninitialized xenbus in xenbus_init
e1d492c27519 xen: don't continue xenstore initialization in case of errors
8f4d0719f323 fuse: release pipe buf after last use
8d0163cec7de staging: rtl8192e: Fix use after free in _rtl92e_pci_disconnect()
0bfed81b2ccd staging: greybus: Add missing rwsem around snd_ctl_remove() calls
146283f16b7e staging/fbtft: Fix backlight
8fc5e3c7cacc HID: wacom: Use "Confidence" flag to prevent reporting invalid contacts
6ca32e2e776e Revert "parisc: Fix backtrace to always include init funtion names"
3a4aeb37a7a6 media: cec: copy sequence field for the reply
3798218a1af4 ALSA: hda/realtek: Fix LED on HP ProBook 435 G7
60274e248e3d ALSA: hda/realtek: Add quirk for ASRock NUC Box 1100
172167bc8dac ALSA: ctxfi: Fix out-of-range access
4402cf040252 binder: fix test regression due to sender_euid change
aea184ae6408 usb: hub: Fix locking issues with address0_mutex
5bf3a0c7789e usb: hub: Fix usb enumeration issue due to address0 race
00f1038c72f8 usb: typec: fusb302: Fix masking of comparator and bc_lvl interrupts
56fbab4937e0 usb: chipidea: ci_hdrc_imx: fix potential error pointer dereference in probe
b70ff391deee net: nexthop: fix null pointer dereference when IPv6 is not enabled
0755f3f32277 usb: dwc3: gadget: Fix null pointer exception
140e2df472ba usb: dwc3: gadget: Check for L1/L2/U3 for Start Transfer
3abf746e800b usb: dwc3: gadget: Ignore NoStream after End Transfer
2b7ab82f5173 usb: dwc2: hcd_queue: Fix use of floating point literal
4b18ccad9671 usb: dwc2: gadget: Fix ISOC flow for elapsed frames
16f1cac8f702 USB: serial: option: add Fibocom FM101-GL variants
ff721286369e USB: serial: option: add Telit LE910S1 0x9200 composition
854c14b2a15c ACPI: Get acpi_device's parent from the parent field
33fe044f6a9e bpf: Fix toctou on read-only map's constant scalar tracking

(From OE-Core rev: e8adc08ef64a894a638ed07454bcbe5ead881149)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-21 12:01:41 +00:00
Richard Purdie
8d556a72ec oeqa/selftest/bbtests: Use YP sources mirror instead of GNU
The gnu sources server has been known to disappear. Use the YP sources
mirror instead. If that breaks, the autobuilder is broken anyway. This
should reduce test failures from upstream network issues.

(From OE-Core rev: a5459e42f1a6be9c08f303653cc1f73514eca9ef)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-20 15:29:01 +00:00
Richard Purdie
9872900564 lttng-tools: Upgrade 2.13.1 -> 2.13.2
Drop backported patches.

(From OE-Core rev: 313279ffa9054718696ded085d3b88e2ab2972ea)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-20 15:29:01 +00:00
Richard Purdie
370fd9b3fb qemu: Upgrade 6.1.0 -> 6.2.0
Add config option for pulseaudio
Change audio to default mode since quoting of list of devices is broken in meson
Drop patch where code changed completed upstream
Refresh other patches

(From OE-Core rev: c1685b06e5f3684b1b5631b99b412e3ec2b10800)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-20 15:29:01 +00:00
Peter Kjellerstedt
6b70ea0443 tzdata: Clean up
* Whitespace and indentation clean up.
* Change shell variables from "${foo}" to "$foo".
* Remove "/*" from directories specified in FILES.
* Move RCONFLICTS:${PN} to the end of the recipe.

(From OE-Core rev: a698cc12ac2d5b26b2415e3d14739d3f51b89dd1)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-20 15:29:01 +00:00
Peter Kjellerstedt
3550d29e9e tzdata: Remove unnecessary RPROVIDES
The name of the package is provided automatically.

(From OE-Core rev: 1416070079960e7ad82183d8cd1b8da5748e6646)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-20 15:29:01 +00:00
Peter Kjellerstedt
7c7b22cd5d tzdata: Make it compatible with devtool modify
This avoids the following build error after having run `devtool modify
tzdata`:

  cp: cannot stat '.../qemux86-64/workspace/sources/tzdata//usr': No
  such file or directory

(From OE-Core rev: 3c64d964089f2909d5dc7d94cd449ad068d04caf)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-20 15:29:01 +00:00
Stefan Herbrechtsmeier
c39e671293 selftest: recipetool: Add test for handle_license_vars function
(From OE-Core rev: cfe72844713c79484fb432915672d9f5f1ff0c25)

Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-20 15:29:01 +00:00
Stefan Herbrechtsmeier
24a800ff70 selftest: recipetool: Add test for split_pkg_licenses function
(From OE-Core rev: 866b82e71a4d1b0bef5d2c8852654cd94884e373)

Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-20 15:29:01 +00:00
Stefan Herbrechtsmeier
32f56de278 recipetool: Separate licenses with & operator
Separate licenses with & operator since it should be satisfied most use
cases and it is a reasonable assumption that all the licenses apply.
Furthermore flat, split and sort the licenses to minimize license string
changes.

Separate package licenses with & operator:
-LICENSE:${PN} = "MIT ISC"
+LICENSE:${PN} = "ISC & MIT"

Respect | and brackets in LICENSE:
-LICENSE = "BSD-3-Clause & (ISC & | & MIT)"
+LICENSE = "BSD-3-Clause & (ISC | MIT)"

Sort licenses:
-LICENSE = "MIT & BSD-3-Clause & ISC"
+LICENSE = "BSD-3-Clause & ISC & MIT"

Remove duplicates:
-LICENSE = "MIT & ISC & MIT"
+LICENSE = "ISC & MIT"

(From OE-Core rev: 60a84ecc53d20118c5e7f86dd3e3cafbfed1cf0a)

Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-20 15:29:01 +00:00
Stefan Herbrechtsmeier
2be34ea6ed recipetool: Sort output of guess_license function to be deterministic
Sort the output of guess_license function by license file to be
deterministic and to support self-testing.

(From OE-Core rev: ff2a7520813b3f775f96879d1905222e08b8c83f)

Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-20 15:29:01 +00:00
Matt Madison
ed5d621cba qemu: add patch to set minimum kernel version for riscv32
which enables us to drop the -r option on qemu-static-riscv32
invocations.

(From OE-Core rev: 4552249810ed27d1272130226d054e7651a90ce6)

Signed-off-by: Matt Madison <matt@madison.systems>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-20 15:29:01 +00:00
Matt Madison
94b371e1c9 qemu.bbclass: drop OLDEST_KERNEL reference
which is introducing task hash changes for some
allarch package builds, and should no longer
be needed with recent versions of qemu.

(From OE-Core rev: 3a3cfb5f48fc92e548333e5856f3d3fcce27da46)

Signed-off-by: Matt Madison <matt@madison.systems>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-20 15:29:01 +00:00
Richard Purdie
f4edd2c98b manpages: Fix override/append ordering and hence task signatures
The append/override ordering was meaning that whilst the data was being picked
up later in the package processing, it wasn't being picked up by do_package.
This means changes to qemu options were not causing task signatures to change.
Fix the variable ordering with the append to correct this.

The whitespace fix is deliberate to cause output to change and hopefully avoid
hash invalidation issues from unchanged output.

(From OE-Core rev: 407793a0fd4e562b626ff07024c5bbdc2a65b20e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-20 15:29:01 +00:00
Chaitanya Vadrevu
ddf1c3d16c python3-pyelftools: Depend on debugger, pprint
python3-pyelftools uses python3-debugger, python3-pprint.
So add dependencies on these packages.

(From OE-Core rev: 22e84cdd05870f1a19c6389b66c4dfd5e9b418f7)

Signed-off-by: Chaitanya Vadrevu <chaitanya.vadrevu@ni.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-20 15:29:01 +00:00
Richard Purdie
4a1ba69eab bitbake: tests/fetch: Drop gnu urls from wget connectivity test
These urls are no longer adding much to the test coverage but the intermittent
network issues connecting to them are painful. Drop the urls.

(Bitbake rev: bdf5739c5d831dc97a7d81568f94a0953c71017f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-20 14:39:29 +00:00
Michael Opdenacker
54bf414ef2 bitbake: doc: bitbake-user-manual: expand BB_HASHSERVE and document BB_HASHSERVE_UPSTREAM
(Bitbake rev: 23cb09108b3064e46e79f6644b802f3539069088)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-20 14:39:29 +00:00
Alexander Kanavin
9c165097e8 cantarell-fonts: update 0.301 -> 0.303.1
[RP: Drop hashequiv version bump]
(From OE-Core rev: 774d49beb44b71009c5cfc4240189e808d6f45cb)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-17 09:57:22 +00:00
Richard Purdie
1f7b7982d1 python3-idna: Update license to Unicode-TOU
The correct SPDX license for the test data contained in this code appears
to be Unicode-TOU. Update the LICENSE field to match and avoid package
QA warnings.

(From OE-Core rev: 7cd3f3649f478448db9f068e493cada03d04a85f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-17 09:56:15 +00:00
Alexander Kanavin
6616b85af4 runqemu: additional setting to force software rendering with sdl 2.0.18
(From OE-Core rev: 282e28bec1419d4e34076234027f34af3a49e7b5)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-17 09:56:15 +00:00
Alexander Kanavin
346dd8c7c9 libsdl2: update 2.0.16 -> 2.0.18
sdl-dlopen option is no longer supported.

(From OE-Core rev: 202c138a9b6905440deb2f86a3b650ae79da1bcd)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-17 09:56:15 +00:00
Alexander Kanavin
3254c90153 libx11: update 1.7.3 -> 1.7.3.1
(From OE-Core rev: dcc1c3c0a90696788c740c50a42000fe2395e7da)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-17 09:56:14 +00:00
Alexander Kanavin
7bfe7e036e debianutils: update 4.11.2 -> 5.5
(From OE-Core rev: 742042ca1a3d0bbb9736513cf2c9629221c8d84b)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-17 09:56:14 +00:00
Alexander Kanavin
e326f0da6b diffoscope: upgrade 194 -> 196
(From OE-Core rev: 35ab4d42d557d5810b41bf2cc681d67da9213829)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-17 09:56:14 +00:00
Alexander Kanavin
bc9500b073 rxvt-unicode: upgrade 9.26 -> 9.30
(From OE-Core rev: 1e6ade026635f68d5dd0821563d3246e4b3b25ad)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-17 09:56:14 +00:00
Alexander Kanavin
e472325f95 boost: update 1.77.0 -> 1.78.0
Drop backports.

Drop 0001-fiber-libs-Define-SYS_futex-if-it-does-not-exist.patch as
it is difficult to rebase and needs to land upstream first.

(From OE-Core rev: 3f62c538b6d39fa113a695077c89c558ae8ae2e1)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-17 09:56:14 +00:00
Alexander Kanavin
542f2f0e96 libptytty: add recipe
It is a dependency of new rxvt-unicode.

(From OE-Core rev: 57e257922c6da75376723b0088c677b13856d42f)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-17 09:56:14 +00:00
Alexander Kanavin
53d17b5fb1 repo: update 2.18 -> 2.19
(From OE-Core rev: 1764fd43e8b9836f0163bb4dbcf087e93eb098fe)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-17 09:56:14 +00:00
Alexander Kanavin
c3183a69c4 go: upgrade 1.17.4 -> 1.17.5
(From OE-Core rev: 00da24376f4214f30d3eb775d990080b49bb5d3c)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-17 09:56:14 +00:00
Alexander Kanavin
05733e2c6b piglit: upgrade to latest revision
(From OE-Core rev: d311ee2e879a804df05f7283568c840e7dd2230c)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-17 09:56:14 +00:00
Alexander Kanavin
7737b1e93a dpkg: update 1.20.9 -> 1.21.1
(From OE-Core rev: f274f495aedd42c951aafd2cec39be159225b3c5)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-17 09:56:14 +00:00
Alexander Kanavin
cd31c6e4ba alsa: upgrade 1.2.5 -> 1.2.6
(From OE-Core rev: ad0fa779eea149b38ee71cbe828868a8bf00f79d)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-17 09:56:14 +00:00
Alexander Kanavin
63849aafa2 less: upgrade 590 -> 598
License-Update: http->https

(From OE-Core rev: 13ae6af462d06a3fb8eaca18e6a367a097778211)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-17 09:56:14 +00:00
Alexander Kanavin
dda1378a3c harfbuzz: upgrade 3.1.2 -> 3.2.0
(From OE-Core rev: 871c553643fcd08be6db98b97c332d9988b1f383)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-17 09:56:14 +00:00
Alexander Kanavin
9afce96eba vim: do not report upstream version check as broken
As upstream tags point releases with every commit and
the version check still reports 8.2, it should not be considered
broken (e.g. current version newer than latest version)
until 8.3 is released.

(From OE-Core rev: 11d8ee09b1bdec4824203dc0169093b2ae9d101a)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-17 09:56:14 +00:00
Alexander Kanavin
fbd6f5d30d lighttpd: upgrade 1.4.61 -> 1.4.63
(From OE-Core rev: 84de86213709abbd9dd3c61105652e7fafce5615)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-17 09:56:14 +00:00
Alexander Kanavin
fa60634f03 python3-setuptools: upgrade 59.4.0 -> 59.5.0
(From OE-Core rev: 6dd8b4c08a6b4b5ab879d53f1e73d97ad02faa04)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-17 09:56:14 +00:00
Alexander Kanavin
1f1f12feca elfutils: update patch submitted upstream
As that's what upstream prefers.

(From OE-Core rev: 5a6cd9cc1b9d8fd3607f3df311accb483d2989a3)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-17 09:56:14 +00:00
Alexander Kanavin
190889b8af python3-hypothesis: upgrade 6.30.0 -> 6.31.4
(From OE-Core rev: 55d70d22fb499d1d49e5aa75e963c2f22404b230)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-17 09:56:14 +00:00
Alexander Kanavin
08384f8346 btrfs-tools: upgrade 5.15 -> 5.15.1
(From OE-Core rev: 164237bee90268048bf956839376c302099ad99f)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-17 09:56:14 +00:00
Alexander Kanavin
2e0f03802b rust-hello-world: test at runtime
This adds a smoke check for whether the rust toolchain actually
produces working executables across a range of architectures.

(From OE-Core rev: 14bb638b0df7acfa6aa89abf4625357f8cde886b)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-17 09:56:14 +00:00
Alexander Kanavin
babd34dc43 serf: mark upstream as inactive
(From OE-Core rev: 3c99f921d669237eb41f6cff8ab554dd8927e8b3)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-17 09:56:14 +00:00
pgowda
bbaf30ef53 gcc: Fix CVE-2021-42574
Upstream-Status: Backport [https://gcc.gnu.org/git/gitweb.cgi?p=gcc.git;h=bd5e882cf6e0def3dd1bc106075d59a303fe0d1e]
Upstream-Status: Backport [https://gcc.gnu.org/git/gitweb.cgi?p=gcc.git;h=51c500269bf53749b107807d84271385fad35628]
Upstream-Status: Backport [https://gcc.gnu.org/git/gitweb.cgi?p=gcc.git;h=1a7f2c0774129750fdf73e9f1b78f0ce983c9ab3]
Upstream-Status: Backport [https://gcc.gnu.org/git/gitweb.cgi?p=gcc.git;h=bef32d4a28595e933f24fef378cf052a30b674a7]

(From OE-Core rev: 1276fa8b501aee1561b77538219d3cad2c796a21)

Signed-off-by: pgowda <pgowda.cve@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-17 09:56:14 +00:00
Konrad Weihmann
53a41cb39c insane: move src-uri-bad checks to unpack stage
previously used package_qa_check_src_uri was triggered during
package_qa stage, which implies having packages.
This isn't the case for native-only recipes or recipe that inherit
nopackages.

Still the checks performed (src-uri-bad) apply to those as well.
Therefore move the check from package_qa stage to unpack stage.

(From OE-Core rev: 8fe68a0516df25a9f336c9f5156a6895d65c0820)

Signed-off-by: Konrad Weihmann <kweihmann@outlook.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-17 09:56:14 +00:00
Konrad Weihmann
35ca84e101 insane: add Inactive-Upstream to Upstream-Status
as defined by latest addition to the commit message guideline

(From OE-Core rev: 05c39d9ee820c5807353d1f147fb36596466d03b)

Signed-off-by: Konrad Weihmann <kweihmann@outlook.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-17 09:56:14 +00:00
Florian Amstutz
cee17f75f1 systemd: Fix systemd-journal-gateway user/groups
The systemd-journal-gateway user and group are never added to an image
since the package name added to USERADD_PACKES is wrong.

(From OE-Core rev: 495dc879b1eff4f70da6f783341b9a3085180a22)

Signed-off-by: Florian Amstutz <florian.amstutz@scs.ch>

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-17 09:56:14 +00:00
Stefan Herbrechtsmeier
31bc9cab25 bitbake: fetch: npm: Use temporary file for empty user config
Always use a temporary file for the user config 'NPM_CONFIG_USERCONFIG'
because npm otherwise failed if configs and npmrc aren't set:

double-loading config "/dev/null" as "global", previously loaded as "user"

(Bitbake rev: 9f272ad7f76c1559e745e9af686d0a529f917659)

Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-14 22:47:04 +00:00
Stefan Herbrechtsmeier
bb42e4b356 bitbake: fetch: npm: Quote destdir in run chmod command
Quote destdir in run chmod command to support special characters in
package name and to avoid syntax error for packages like
'@(._.)/execute'.

(Bitbake rev: a701dfce3f0e74b4d7c687eeda83fe9c8e7240b1)

Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-14 22:47:04 +00:00
Richard Purdie
7c0266a248 bitbake: tests/runqueue: Improve lockfile handling race
Internal bitbake shutdown timings must have changed recently as we're
seeing race issues on the autobuilder around the removal of the bitbake.lock
file. Improve the lockfile race code to cover bitbake's lockfile too
and use it in all the tests.

[YOCTO #14658]
[YOCTO #14652]

(Bitbake rev: bd1912bed64424f9fb28396b71bb49b6090ed087)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-14 22:47:04 +00:00
S. Lockwood-Childs
5de2528a4b cups: fix typo in flags to disable avahi
one too many 's': dnsssd -> dnssd

(From OE-Core rev: 88da9b61b469654805fd51869790b1fd6d34c5a3)

Signed-off-by: S. Lockwood-Childs <sjl@vctlabs.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-14 22:46:38 +00:00
wangmy
366432779c libcap: upgrade 2.61 -> 2.62
Replace BUILD_GPERF with USE_GPERF since it is now reserved.

(From OE-Core rev: e7a297548ae0af8aa6b7070d66908c3260f95597)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-14 22:46:38 +00:00
Richard Purdie
be71d0fb59 lttng-tools: Disable problem tests
There is a pattern of the notification tests hanging. Whilst we need to get to the
bottom of that, disable them for now as it is causing high load for triage/SWAT
and masking other failures.

[YOCTO #14263]

(From OE-Core rev: 9b96efe8984df955b8880b83b1b48ad9be37863b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-14 22:46:38 +00:00
Richard Purdie
7edb45c15c lttng-tools: Backport ptest fix
Add a backport and a dependency from upstream to help address one of the lttng-tools
ptest relayd hangs we've been seeing on the autobuilder.

(From OE-Core rev: c8f845a8f391fa5f3f69a987b3977abdb4959db8)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-14 22:46:38 +00:00
Quentin Schulz
878fbbe0e1 mesa: make ligles3-dev RDEPENDS on libgles2-dev
Khronos documentation[1] says that include/GLES2/gl2ext.h can be used
for OpenGL ES 3 specification as well as for OpenGL ES 2.
There can be applications including GLES2/gl2ext.h instead of
GLES3/gl3ext.h meaning we should probably bring in GLES2/gl2ext.h if
someone asks for development package of libgles3.

[1] https://www.khronos.org/registry/OpenGL/index_es.php#headers

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

Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-14 22:46:38 +00:00
Quentin Schulz
ddbef1f624 kmscube: add build dependency on virtual/libgles3
texturator requires GLES 3 headers and libs so let's explicit this
dependency. This was not detected until now because mesa, the default
provider, actually provides both Open GLES 2 and 3 compliant
implementations.

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

Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-14 22:46:38 +00:00
Quentin Schulz
dcf07d0ac2 mesa: PROVIDES virtual/libgles3
It's assumed that not all OpenGL ES implementation are compliant with
the 3.x specification. Therefore an additional virtual providers is
created to explicit compatibility with OpenGL ES 3 specification.

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

Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-14 22:46:38 +00:00
Quentin Schulz
ccc8b556c0 kmscube: fix build on OpenGL ES 3 dependencies not providing GLES3/gl3ext.h
According to Khronos documentation[1], gl2ext.h can be used for OpenGL
ES 3. Some vendor implementation of OpenGL ES 3, such as
Rockchip's libmali[2], do not have a gl3ext.h but only a gl2ext.h while
being OpenGL ES 3 compliant.

This fixes the header files to be included from gl3ext.h to gl2ext.h to
be compatible with (hopefully) all OpenGL ES 3 implementations.

[1] https://www.khronos.org/registry/OpenGL/index_es.php#headers
[2] https://github.com/rockchip-linux/libmali

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

Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-14 22:46:38 +00:00
Mingli Yu
d9702b1bcc bootchart2: remove wait_boot logic
When boot with "init=/sbin/bootchartd" as below:
 # runqemu qemux86 bootparams="init=/sbin/bootchartd"

There are two bootchartd process after boot [1].
 # ps -ef | grep bootchart
root       101     1  0 03:27 ?        00:00:00 /bin/sh /sbin/bootchartd
root       103   101  8 03:27 ?        00:00:02 /lib64/bootchart/bootchart-collector 50
root       106     1  0 03:27 ?        00:00:00 /bin/sh /sbin/bootchartd
root       792   106  0 03:27 ?        00:00:00 /lib64/bootchart/bootchart-collector --usleep 1000000
root       794   725  0 03:27 ttyS0    00:00:00 grep bootchart

 # /sbin/bootchartd stop
[bootchart] bootchart-collector started as pid 596 with 2 args:
[bootchart] '--dump'
[bootchart] '/tmp/bootchart.3lXpVDAq3v'
[bootchart] Extracting profile data from pid 204
[bootchart] map 0xbed9a000 -> 0xbedbb000 size: 132k from 'bed9a000' 'bedbb000'
[bootchart] read 135168 bytes of 135168
[bootchart] reading 150 chunks (of 150) ...
[bootchart] wrote 18760 kbB
[bootchart] bootchart-collector pid: 596 unmounted proc / clean exit

But there still one process exist after the above stop command finish.
 # ps -ef | grep bootchartd
root 202 1 0 09:09 ? 00:00:00 /bin/sh /sbin/bootchartd
root 629 516 0 09:10 ? 00:00:00 grep bootchartd

Remove the wait_boot which used to wait the boot process to finish to
make sure only one bootchartd process and meanwhile we don't need the
wait_boot logic because we either use "/sbin/bootchartd stop" to stop
the bootchartd manually or install package bootchartd-stop-initscript
altogether with bootchart2 to stop bootchartd automatically after boot.

After patch:
 # ps -ef | grep bootchart
 root       101     1  0 03:36 ?        00:00:00 /bin/sh /sbin/bootchartd
 root       103   101  6 03:36 ?        00:00:04 /lib64/bootchart/bootchart-collector 50
 root       596   592  0 03:37 ttyS0    00:00:00 grep bootchart

[1] https://github.com/xrmx/bootchart/issues/94

(From OE-Core rev: cc34e3bdedc045baf97ebc2258295d9433cb332e)

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-14 22:46:38 +00:00
zhengruoqin
0094cb2078 rt-tests: upgrade 2.2 -> 2.3
(From OE-Core rev: aed533f84c41bb5a17b9af6eb2c3076371472057)

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-14 22:46:38 +00:00
zhengruoqin
7008028693 vte: upgrade 0.66.0 -> 0.66.2
(From OE-Core rev: f81c3ff739610bc8d30b99a23fe475c7825b02a7)

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-14 22:46:38 +00:00
zhengruoqin
7887a2fd71 stress-ng: upgrade 0.13.07 -> 0.13.08
0001-Do-not-preserve-ownership-when-installing-example-jo.patch
removed since it is included in 0.13.08

(From OE-Core rev: 111de7be7336bc9c7919e7fc130fd9953e6e7250)

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-14 22:46:38 +00:00
zhengruoqin
0237fe146f glib-networking: upgrade 2.70.0 -> 2.70.1
Changelog:
====================
 - Fix crashes when handshake is cancelled (#97, #176)
 - OpenSSL: fix spurious certificate expired verification errors (#179)
 - GnuTLS: Fix tests on 32-bit systems (!188, Simon McVittie)
 - GnuTLS: Fix crash when invalid priority string is forced (!189)

(From OE-Core rev: 8cb8c9ed208134436aeaa5fe573ee705a9fb5f6b)

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-14 22:46:38 +00:00
wangmy
c34458afa2 python3-cython: upgrade 0.29.24 -> 0.29.25
Changelog:
================
Bugs fixed
----------
* Several incompatibilities with CPython 3.11 were resolved.
  (Github issues #4411, #4414, #4415, #4416, #4420, #4428, #4473, #4479, #4480)

* Some C compiler warnings were resolved.
  (Github issue #4439)

* C++ "std::move()" should only be used automatically in MSVC versions that support it.
  (Github issue #4191)

 * The "Py_hash_t" type failed to accept arbitrary "index" values.
   (Github issue #2752)

* Avoid copying unaligned 16-bit values since some platforms require them to be aligned.
  Use memcpy() instead to let the C compiler decide how to do it.
  (Github issue #4343)

* Cython crashed on invalid truthiness tests on C++ types without "operator bool".
  (Github issue #4348)

* The declaration of "PyUnicode_CompareWithASCIIString()" in "cpython.unicode" was incorrect.
  (Github issue #4344)

(From OE-Core rev: 8d8faad71e05703362d4004cc9ecdb93c08398ec)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-14 22:46:38 +00:00
wangmy
5b08b50b6d mpg123: upgrade 1.29.2 -> 1.29.3
Changelog:
====================
libmpg123: Catch more NULL pointer arguments in LFS wrappers
(most prominently: mpg123_feedseek(), bug 328).

mpg123:
-Fix regression that did _not_ enable --remote-err on -s anymore.
-Fix typos in man page.
-Drop mixed-up value limits on remote control SEQ command.
 It is up to you if you want to distort your sound.
-Add note about equalizer frequency bands to man page.
-build: add BUILD_PROGRAMS option to ports/cmake

(From OE-Core rev: e4e84d295f774136900e0a09001d19cbeab1a157)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-14 22:46:38 +00:00
Ross Burton
f8494a7343 libical: upgrade to 3.0.12
Disable tests to save some build time as we can't install them.

(From OE-Core rev: dc91910a5ee56af5dee495fafcabab4042431cae)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-14 22:46:38 +00:00
Quentin Schulz
c7c5fc879c documentation: conf.py: add knob for loading appropriate objects.inv
Yocto Project releases use a specific Bitbake release. Currently the
bitbake: mapping is pointing to the current master version of Bitbake
documentation. This is an issue if some links disappear over time and
someone is still building old documentation (which is the case on the YP
autobuilder for example). Also, the documentation at the current master
version of Bitbake might not be correct for the Yocto Project version
associated with the doc the user is currently looking at, potentially
causing confusion.

In master branch, nothing needs to be done. For release branches, the
bitbake_version variable needs to be set accordingly. See
https://wiki.yoctoproject.org/wiki/Releases for the mapping.

Cc: Quentin Schulz <foss+yocto@0leil.net>
(From yocto-docs rev: 457a591a46c57519046f9e3f8bffd632bb2275ea)

Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-13 23:31:34 +00:00
Quentin Schulz
e6f8c401aa docs: dev-manual: common-tasks: highlight creating your own layer is not required
Three's been some feedback saying that people actually missed that
paragraph and thought creating the layer by hand was the only way to do
it instead of leveraging bitbake-layers create-layer tool.

Let's try to make it a bit more obvious one does not need to create the
layer by hand by putting the paragraph into a note.

(From yocto-docs rev: 2b171d267ae37d467f8437c4739f32e5253049b3)

Signed-off-by: Quentin Schulz <foss@0leil.net>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-13 23:31:34 +00:00
Quentin Schulz
e71983bc7d make the documentation a bit more inclusive
Except the name of variables which can't be changed only in the
documentation for obvious reasons and workflow or developement
explanations around the use of the "master" branch which cannot be
replaced with "development" branch instead, most of the non-inclusive
words that appear in https://inclusivenaming.org/word-lists/tier-1/
should have been replaced in this patch.

(From yocto-docs rev: 2755f35060084f7af356091de9dc144f85530fe2)

Signed-off-by: Quentin Schulz <foss+yocto@0leil.net>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-13 23:31:34 +00:00
Michael Opdenacker
99474e0d68 ref-manual: remove newline string in PREMIRRORS
According to the syntax simplification brought by
https://git.openembedded.org/bitbake/commit/?id=044fb04d

(From yocto-docs rev: 19090efa1268fcb1fcfd3a2dc637d10d8a50dfad)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-13 23:31:34 +00:00
Michael Opdenacker
d21c35bd81 misc manuals: add further class references
(From yocto-docs rev: 0693f1f8466a118dc707a9c17d5ca528b4ea368a)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-13 23:31:34 +00:00
Michael Opdenacker
121f5758ab ref-manual: add more class references
(From yocto-docs rev: f4610b060968c481c68d0411b82201c302050b71)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-13 23:31:34 +00:00
Michael Opdenacker
a19add4aaa migration-guides: add more class references
(From yocto-docs rev: 29031a9da0f1a500a8b2b6a642ee553a352255f8)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-13 23:31:34 +00:00
Michael Opdenacker
2b578eae4e dev-manual: how to purge duplicate sstate cache files
(From yocto-docs rev: 113400eb47c13617f08b415bc9ddb4526429049c)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-13 23:31:34 +00:00
Michael Opdenacker
b7693b7321 manuals: add hyperlinks to files in meta-skeleton
This makes the manuals easier to use.
Note the care to keep the paths visible, so that people
reading a printed version still know where to find the files.

(From yocto-docs rev: 501917f65530f14ea686b69d6e96407c3f970a28)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-13 23:31:34 +00:00
Anuj Mittal
d9e5f67c5f releases.rst: move gatesgarth to outdated releases section
(From yocto-docs rev: 0a21e78e4593ef2417f4a08b23246ad3c93a566e)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-13 23:31:34 +00:00
Michael Opdenacker
79fbaf8b04 dev-manual: remove warning about += and :append
No longer necessary since a warning was added to BitBake
(https://git.openembedded.org/bitbake/commit/?id=8c31e75557dc6a8d8f407b5d24d6327889a3e3b1)

(From yocto-docs rev: f3069c927f24c5d1942c9bcc4f55bb77cd262c0e)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-13 23:31:34 +00:00
Michael Opdenacker
6a353d9322 ref-manual: drop support for Fedora 30-32
These versions have reached their end of life
and we don't test them any more.

(From yocto-docs rev: e4ff50fadbf61bf29015e9eded2584731c5d2bb2)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-13 23:31:34 +00:00
Michael Opdenacker
6df1694cd4 ref-manual: drop support for Ubuntu 16.04
There are no more free updates to Ubuntu 16.04
We can no longer test the latest updates to this distro.

(From yocto-docs rev: 752636d8924f0aaae1e8df61affef3310ae91aa0)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-13 23:31:34 +00:00
Richard Purdie
6943aac26e patchelf: upgrade 0.14.2 -> 0.14.3
(From OE-Core rev: a1524bb96bddd221a08df73a88bca851d423959f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-12 18:10:22 +00:00
Richard Purdie
b28adadf53 lttng-ust: upgrade 2.13.0 -> 2.13.1
(From OE-Core rev: d1099ea887b5d11ce62ff651f83915ed5f7e7fbe)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-12 18:10:22 +00:00
Richard Purdie
a46133082b puzzles: Upgrade to latest git with patches merged
This upgrades to the latest upstream version where our fixes have equivalent
fixes merged upstream so our patches are no longer needed.

(From OE-Core rev: 987077008c89a9086247d5bcdf35aef7413fb954)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-12 18:10:22 +00:00
Ross Burton
3c1c16b96d apmd: remove obsolete support for renamed libtool
libtool is now longer renamed to ${host}-libtool, so remove the changes
to support this.

(From OE-Core rev: d772775b3f77a753e8401dba3b4a73d5246a290f)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-12 18:10:22 +00:00
Ross Burton
cd5aa858a8 subversion: remove obsolete support for renamed libtool
libtool is now longer renamed to ${host}-libtool, so remove the changes
to support this.

(From OE-Core rev: 0610df3e56e350493731d49fe67261b62d346573)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-12 18:10:22 +00:00
Ross Burton
7f1e060882 qemu: remove obsolete support for renamed libtool
libtool is now longer renamed to ${host}-libtool, so remove the changes
to support this.

(From OE-Core rev: cba76eb9232df9af6b1b82649f3e0c6b99ce668c)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-12 18:10:22 +00:00
Ross Burton
565f22824c apr: remove obsolete support for renamed libtool
libtool is now longer renamed to ${host}-libtool, so remove the changes
to support this.

This means that apr now installs libtool into the build-1 folder, but
as this has never been needed before (as we use the system libtool) we
can remove it (it contains build paths so is unreproducible).  Also add
a RDEPENDS on libtool for the target -dev package.

(From OE-Core rev: 07c0c780fb79779827dcd7496fac288c179aa259)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-12 18:10:22 +00:00
Ross Burton
ade0840878 freetype: remove obsolete support for renamed libtool
libtool is now longer renamed to ${host}-libtool, so remove the changes
to support this.

(From OE-Core rev: 000f129323e4fda3fed9d6d0e45f0bc0328a737e)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-12 18:10:22 +00:00
Ross Burton
4dd5f2d154 db: remove obsolete support for renamed libtool
libtool is now longer renamed to ${host}-libtool, so remove the changes
to support this.

(From OE-Core rev: 291654cb31ff3568f278d143510f1e9fac573966)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-12 18:10:22 +00:00
Ross Burton
a84ab0a193 gtk+3: remove obsolete support for renamed libtool
libtool is now longer renamed to ${host}-libtool, so remove the changes
to support this.

(From OE-Core rev: df74f8637b63d3b88a1b5bdbca22503b98d2d54b)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-12 18:10:22 +00:00
Ross Burton
0a374e196f pkgconfig: remove obsolete support for renamed libtool
libtool is now longer renamed to ${host}-libtool, so remove the changes
to support this.

(From OE-Core rev: 5a4088a1dce17886d391db25a667dd4e0dbbc5cb)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-12 18:10:22 +00:00
Ross Burton
be8fe788e2 binutils: don't expect libtool to be host-prefixed
We update the libtool m4 files in binutils with the latest files from
our patched libtool so that we can use the --with-libtool-sysroot option.

Remove the chunks that are specific to the libtool renaming, which now
doesn't happen.

(From OE-Core rev: 30baaf6c20a2e1619439cf3eb8d9ce7cb877d2fa)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-12 18:10:22 +00:00
Ross Burton
ebf34d5b25 libtool: don't prefix the installed binary
Typically libtool installs the binary to 'libtool' in the source tree,
but we've got patches to rename this to ${host_sys}-libtool. As this
isn't standard any upstream that don't respect the LIBTOOL variable need
to be told explicitly where libtool is, which is a long-term maintenance
burden for us on top of the initial libtool patches.

The reasoning for this renaming appears to stem from the design to be
sure that we're using our new/patched libtool and not the host's binary.
However, now that we have HOSTTOOLS, there's no way to run the host
libtool so this argument is moot.

This patch removes the libtool renaming, follow-up patches remove the
required modifications from the rest of the recipes.

[RP: Remove commented patch lines]
(From OE-Core rev: 4b308773eca7570ce5007e8f953b56252c17fdb1)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-12 18:10:22 +00:00
Michael Halstead
14cb87f9ae releases: update to include 3.4.1
Adding 3.4.1 to documentation switcher and release list.

(From yocto-docs rev: 7d503d765f5a8ade226c897a17aecd0856104af1)

Signed-off-by: Michael Halstead <mhalstead@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-12 11:27:24 +00:00
Valerii Chernous
e9558a166e elf: Discard input .note.gnu.build-id sections
Originally issue:
building of glibc 2.32 or 2.34 with option "-Wl,--build-id"
produce libc.so.6 with section ".note.gnu.build-id" that have
invalid(double, 0x48) section size. It happens because glibc
use sublibraries for linking libc.so.6
ld produce this sublibraries with build-id section and on last
linking stage loads this sections as input for linking.
ld should create new(valid) ".note.gnu.build-id" into function
ldelf_setup_build_id on last linking stage but it skip creating because
build-id section already exists.
As result libc.so.6 contain ".note.gnu.build-id" with build-ids from
sublibraries and without valid build-id

Howto solved:
1. Discard input .note.gnu.build-id sections.
2. Clear the build ID field before writing.
3. Use bfd_make_section_anyway_with_flags to create the output
   .note.gnu.build-id section.

Upstream-Status: Backport

Reference to upstream patch:
[https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=1f1d0f8888a6c944e612b416a2a6e11abcf5199f]

(From OE-Core rev: 68bbff44a481a036dc7d39e5d5745a01ccffdb95)

Signed-off-by: Valerii Chernous <vchernou@cisco.com>
Signed-off-by: Valery Chernous <valery.chernous@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-12 11:27:24 +00:00
Khem Raj
c9351aee3f glibc: Redo tzselect bash dependency problem
New patch adds a knob to select needed shell interpreter for tzselect
script, which then we excercise via EXTRA_OEMAKE

(From OE-Core rev: 28adfbbcf42d15eabdd7fe3a5dea486bd5049f09)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-12 11:27:24 +00:00
Oleksandr Kravchuk
63f1e59f9f libx11: update to 1.7.3
Dropped upstreamed patches.

(From OE-Core rev: dc3fcb6f9f6b4f54519265a95d59279fceb5cc97)

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-12 11:27:24 +00:00
Alexander Kanavin
a5fe414531 sstatetests: add a test for moving oe-core around in the filesystem
Doing that should not change the task signatures.

(From OE-Core rev: a06ceaeaf11aa344e152f3bb6629aa6e000482d3)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-12 11:27:24 +00:00
Oleksandr Kravchuk
2faf8fe584 python3: udpate to 3.10.1
Refreshed patches.

(From OE-Core rev: b82ea986a492791716c3da07a7d728edd17654c9)

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-12 11:27:24 +00:00
Vyacheslav Yurkov
9fc8c38658 overlayfs: move templates to files directory
(From OE-Core rev: b08ce6d23f2c6c89073ddff90b758360f9ce9fea)

Signed-off-by: Vyacheslav Yurkov <uvv.mail@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-12 11:27:24 +00:00
Vyacheslav Yurkov
3c2b8e47e7 overlayfs: update notes on /etc
(From OE-Core rev: a883e5188dd47fffb0df6699f0de2d7a26378eba)

Signed-off-by: Vyacheslav Yurkov <uvv.mail@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-12 11:27:24 +00:00
Vyacheslav Yurkov
5221ca9296 oeqa/selftest: unit tests for overlayfs-etc
(From OE-Core rev: 3ca1ce7a3779d0b875385eb4045bd5a51dc839da)

Signed-off-by: Vyacheslav Yurkov <uvv.mail@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-12 11:27:24 +00:00
Vyacheslav Yurkov
ae56b39021 oeqa/selftest: overlayfs helper function
Move helper functions out of class scope so they can be used in other tests

(From OE-Core rev: 439a5a575b8ca27910431c71f01bf310122ff7ab)

Signed-off-by: Vyacheslav Yurkov <uvv.mail@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-12 11:27:24 +00:00
Vyacheslav Yurkov
51c0965c13 image: add overlayfs-etc image feature
(From OE-Core rev: e105ee47c5f57a22029e611c7ff9c2376bee9ecb)

Signed-off-by: Vyacheslav Yurkov <uvv.mail@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-12 11:27:24 +00:00
Vyacheslav Yurkov
8ac91c0c0d overlayfs-etc: mount etc as overlayfs
This class provides an image feature that mounts /etc as an overlayfs
file system. This is an extension for existing overlayfs class, which
doesn't support /etc

(From OE-Core rev: 610ea808c8b5edb2826bda1f1c42a811bd4ba758)

Signed-off-by: Alfred Schapansky <alfred.schapansky@avantys.de>
Signed-off-by: Vyacheslav Yurkov <uvv.mail@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-12 11:27:24 +00:00
Vyacheslav Yurkov
822adf5c9f wic: image for overlayfs-etc tests
Introduce wic image for overlayfs-etc tests with a dedicated /data
partition and configurable kernel parameters

(From OE-Core rev: f9a2b08c07ff1270d5b3e8d72d17b6d5fde5bf96)

Signed-off-by: Vyacheslav Yurkov <uvv.mail@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-12 11:27:24 +00:00
Vyacheslav Yurkov
167bc05b7f files: add overlayfs-etc-preinit.sh.in
A template init script for overlayfs-etc class

(From OE-Core rev: c0173002f3f2118f72307b7e60515287a1b56bda)

Signed-off-by: Vyacheslav Yurkov <uvv.mail@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-12 11:27:24 +00:00
Joshua Watt
74b3628d07 epiphany: Add packageconfig for libsoup2
Adds a PACKAGECONFIG option to use libsoup2 instead of libsoup3.
Including libsoup2 and libsoup3 in the same process can cause strange
runtime failures, and the latest release of each major version will
cause the process to exit if both are detected on startup.

The default is changed from libsoup3 back to libsoup2 to follow
webkitgtk.

(From OE-Core rev: 430ae4f95a2eb36311338c5c8bdba7331958556a)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-12 11:27:23 +00:00
Joshua Watt
86da64c970 webkitgtk: Add packageconfig for libsoup2
Adds a PACKAGECONFIG option to use libsoup2 instead of libsoup3.
Including libsoup2 and libsoup3 in the same process can cause strange
runtime failures, and the latest release of each major version will
cause the process to exit if both are detected on startup.

The default is changed from libsoup3 back to libsoup2. Most GNOME
packages are still using libsoup2, and a large number of these pull in
webkitgtk either directly or indirectly. If webkitgtk uses libsoup3,
this causes all of these packages to fail at startup. It appears that
most GNOME packages will have to switch to libsoup3 when they transition
to GTK4.

(From OE-Core rev: deedca6bee5c90e35a7814b04bc5de03de9f9b1d)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-12 11:27:23 +00:00
Alexander Kanavin
2779257266 meson: upgrade 0.60.1 -> 0.60.2
(From OE-Core rev: e020b140cc6eb93283533545c3d64e9aed0b2489)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-12 11:27:23 +00:00
Mike Crowe
5903cccfbe documentation: Document PACKAGE_SNAP_LIB_SYMLINKS
PACKAGE_SNAP_LIB_SYMLINKS was added[1] originally to OpenEmbedded in
2008 and then to oe-core in 2011[2] but appears to have evaded
documentation throughout that time. Let's add something that at least
gives some clue as to what it does.

(From OE-Core rev: f3ee68aa06eb9241789015953c57ccaf9ec9911c)

Signed-off-by: Mike Crowe <mac@mcrowe.com>
Signed-off-by: Phil Blundell <pb@pbcl.net>

[1] https://git.openembedded.org/openembedded/commit/?id=cf7114179ead8ddff8f66e84d630811920ac9add
[2] https://git.openembedded.org/openembedded-core/commit/?id=600dbb7cb384c2290af38b993a9bea3a4dfc4494

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-12 11:27:23 +00:00
Mike Crowe
9546d1935a package: Only snap libraries if they would be processed by ldconfig OS-12840
PACKAGE_SNAP_LIB_SYMLINKS renames libraries based on their SONAME so
that they can be found directly rather than going via symlinks that
would be created by ldconfig. For example, without
PACKAGE_SNAP_LIB_SYMLINKS in ${libdir} we have:

 libharfbuzz.so.0 -> libharfbuzz.so.0.20600.4
 libharfbuzz.so.0.20600.4

but with PACKAGE_SNAP_LIB_SYMLINKS="1" we have just:

 libharfbuzz.so.0

Unfortunately, this renaming is done based on the SONAME which breaks
packages like mesa which install a single library with multiple hard
links:

-rwxr-xr-x root/root  13593488 2021-12-07 12:26 ./usr/lib/dri/i915_dri.so
-rwxr-xr-x root/root  13137328 2021-12-07 12:26 ./usr/lib/dri/i965_dri.so
hrwxr-xr-x root/root         0 2021-12-07 12:26 ./usr/lib/dri/iris_dri.so link to ./usr/lib/dri/i915_dri.so
hrwxr-xr-x root/root         0 2021-12-07 12:26 ./usr/lib/dri/kms_swrast_dri.so link to ./usr/lib/dri/i915_dri.so
hrwxr-xr-x root/root         0 2021-12-07 12:26 ./usr/lib/dri/nouveau_vieux_dri.so link to ./usr/lib/dri/i965_dri.so
hrwxr-xr-x root/root         0 2021-12-07 12:26 ./usr/lib/dri/r200_dri.so link to ./usr/lib/dri/i965_dri.so
hrwxr-xr-x root/root         0 2021-12-07 12:26 ./usr/lib/dri/radeon_dri.so link to ./usr/lib/dri/i965_dri.so
hrwxr-xr-x root/root         0 2021-12-07 12:26 ./usr/lib/dri/swrast_dri.so link to ./usr/lib/dri/i915_dri.so

The SONAME for i915_dri.so (and therefore all the other names that link
to the same file) is libgallium_dri.so. This means that
PACKAGE_SNAP_LIB_SYMLINKS causes do_package to successfully rename the
first name found to libgallium_dri.so. A similar thing happens to
i965_dri.so with its SONAME of libmesa_dri_drivers.so. The order is not
deterministic, so this means that although every build will be missing
one name, it's not always the same one.

-rwxr-xr-x root/root  13593488 2021-11-30 15:17 ./usr/lib/dri/i915_dri.so
hrwxr-xr-x root/root         0 2021-11-30 15:17 ./usr/lib/dri/kms_swrast_dri.so link to ./usr/lib/dri/i915_dri.so
hrwxr-xr-x root/root         0 2021-11-30 15:17 ./usr/lib/dri/libgallium_dri.so link to ./usr/lib/dri/i915_dri.so
-rwxr-xr-x root/root  13137328 2021-11-30 15:17 ./usr/lib/dri/libmesa_dri_drivers.so
hrwxr-xr-x root/root         0 2021-11-30 15:17 ./usr/lib/dri/nouveau_vieux_dri.so link to ./usr/lib/dri/libmesa_dri_drivers.so
hrwxr-xr-x root/root         0 2021-11-30 15:17 ./usr/lib/dri/r200_dri.so link to ./usr/lib/dri/libmesa_dri_drivers.so
hrwxr-xr-x root/root         0 2021-11-30 15:17 ./usr/lib/dri/radeon_dri.so link to ./usr/lib/dri/libmesa_dri_drivers.so
hrwxr-xr-x root/root         0 2021-11-30 15:17 ./usr/lib/dri/swrast_dri.so link to ./usr/lib/dri/i915_dri.so

This renaming means that the library cannot be found at runtime.

The simplest way to avoid this renaming is to only snap libraries that
would be processed by ldconfig.

(From OE-Core rev: 8571182ece1602ce8e030c98aef17cdc5718a037)

Signed-off-by: Mike Crowe <mac@mcrowe.com>
Signed-off-by: Phil Blundell <pb@pbcl.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-12 11:27:23 +00:00
Changqing Li
1426525375 cmake: upgrade 3.22.0 -> 3.22.1
This upgrade include a bug fix:
Refer:
https://gitlab.kitware.com/cmake/cmake/-/issues/22963
643fc46bdc

(From OE-Core rev: 63bf94e26443b3790648c393f36203e9954b85de)

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-12 11:27:23 +00:00
Mingli Yu
d2a2b83b2d libhandy: Backport a makefile header race
After the commit(8157ecc Separate public and private enums) introduced,
there comes a race as below:
 | In file included from ../git/src/hdy-settings.c:11:
 | ../git/src/hdy-settings-private.h:16:10: fatal error: hdy-enums-private.h: No such file or directory
 |    16 | #include "hdy-enums-private.h"

So also add private headers like private sources did now to libhandy_sources
to fix the issue.

(From OE-Core rev: de57b4624e3d2d66268c33c4bf86dcb25abcab32)

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-12 11:27:23 +00:00
Mingli Yu
e6cc1b4245 libpam: Backport ptest fix checking whether files exist
Backport a patch to check whether files exist.

Before the patch:
 # ./run-xtests.sh . tst-pam_access1
 mv: cannot stat '/etc/security/opasswd': No such file or directory
 PASS: tst-pam_access1
 mv: cannot stat '/etc/security/opasswd-pam-xtests': No such file or directory
 ==================
 1 tests passed
 0 tests not run
 ==================

After the patch:
 # ./run-xtests.sh . tst-pam_access1
 PASS: tst-pam_access1
 ==================
 1 tests passed
 0 tests not run
 ==================

(From OE-Core rev: 4903fdbace057df2e39c10aaef3440f89748eed2)

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-12 11:27:23 +00:00
Richard Purdie
d4f4ed77b1 binutils: Drop mips XLP support patch
The kernel has dropped this as of 5.16 and we don't want to carry such patches
without active maintainers for such targets.

It isn't clear who would even have such hardware and it isn't something we can
support. It would be best maintained as a separate layer by those who can test
it if needed.

(From OE-Core rev: 5cd5075412639c0be9506cf1101737b12894fc5f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-12 11:27:23 +00:00
Richard Purdie
fb8f1924f5 perf: Tweak for mips n64
With the changes to binutils, perf's direct calls to ld break for mips n64.
We already have tweaks for n32 so match those with the ones for n64.

(From OE-Core rev: 33828620872b80e1c745612e025215666ba755c8)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-12 11:27:23 +00:00
Richard Purdie
f39288eb73 binutils: Drop mips default target patch
Similarly to the recent gcc change, we make gcc default to the 64 bit target
through configuration now so we don't need to patch this.

(From OE-Core rev: 259bcfdac3ad87d269dd18617c784fe14c50b0ad)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-12 11:27:23 +00:00
Richard Purdie
ef2c949827 binutils: Add more detail to the ppc patch
This adds useful detail from the orginal commit.

(From OE-Core rev: 3dea562e9d615384cc5e786eff46ac1f8f41e18e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-12 11:27:23 +00:00
Richard Purdie
2d5e9a1d30 binutils: Drop mips gold patch
As mentioned in a followup to the patch upstream:

https://sourceware.org/legacy-ml/binutils/2016-08/msg00215.html

"With 2.16.1, --enable-gold is just ignored when building on mips"

so we don't need the patch since 2.16.1.

(From OE-Core rev: 3c230c70f28aef21ae986679d783551832b4e3fa)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-12 11:27:23 +00:00
Markus Volk
8af5ed024e libva: move PACKAGECONFIG options to libva.inc
This fixes an error in libva-initial build if 'systemd' is in DISTRO_FEATURES
and libdrm is set to be built with udev support.

| Run-time dependency xfixes found: NO (tried pkgconfig and cmake)
| Run-time dependency wayland-client found: YES 1.19.0
| Program wayland-scanner /usr/bin/wayland-scanner found: NO
|
| ../libva-2.13.0/meson.build:107:4: ERROR: Program 'wayland-scanner /usr/bin/wayland-scanner' not found
|
| A full log can be found at /home/flk/build/poky/build-rock/tmp/work/cortexa72-cortexa53-crypto-poky-linux/libva-initial/2.13.0-r0/build/meson-logs/meson-log.txt
| ERROR: meson failed
| WARNING: exit code 1 from a shell command.

(From OE-Core rev: cb9923f4e62339192c0d8e3d2852f1e71c1963b9)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-12 11:20:00 +00:00
Richard Purdie
65c94ca319 build-appliance-image: Update to master head revision
(From OE-Core rev: 1a6c2a7345199d77ad5aeac8ad337ed80a8aa39b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-09 13:56:12 +00:00
Thomas Perrot
7c856fbca3 uboot-sign: fix the concatenation when multiple U-BOOT configurations are specified
Some BSPs, especially those of meta-freescale and meta-ti allow to build U-Boot
binaries using different configuration for a given target, for example:
- UBOOT_CONFIG ??= "tfa-secure-boot tfa"
- UBOOT_CONFIG ??= "nand sdcard spi nor"

When this is the case the public key wasn't concatenated to all U-Boot binaries
built.

(From OE-Core rev: dfd71ae3d102f3010c6117d774e9739a322930f6)

Signed-off-by: Thomas Perrot <thomas.perrot@bootlin.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-09 13:49:51 +00:00
Mike Crowe
37b0f34817 kernel: improve transformation from KERNEL_IMAGETYPE_FOR_MAKE
In 526bdd88ccd758204452579333ba188e29270bde the imageType loop in
kernel_do_deploy was changed to use KERNEL_IMAGETYPE_FOR_MAKE rather
than KERNEL_IMAGETYPES. This broke the special handling for fitImage
immediately below because KERNEL_IMAGETYPE_FOR_MAKE never contains
fitImage.

It has always been my understanding that KERNEL_IMAGETYPE_FOR_MAKE
controlled what was passed to make, but KERNEL_IMAGETYPE controlled what
was installed/deployed. When the two are different then it's the
responsibility of whoever set KERNEL_IMAGETYPE_FOR_MAKE to ensure that
whatever comes out of the kernel build system has been transformed in to
the requested form by the time of installation. This is what happens for
kernel.bbclass's own support for vmlinux.gz.

I think this means that for KERNEL_IMAGETYPE vmlinux.gz, kernel.bbclass
is responsible for generating vmlinux.gz.initramfs[1] so that
kernel_do_deploy can deploy it. This means that the change in
526bdd88ccd758204452579333ba188e29270bde can be reverted, fixing
KERNEL_IMAGETYPE = "fitImage".

In addition, it ought to be possible for recipes and other classes that
use kernel.bbclass to hook into this mechanism by setting
KERNEL_IMAGETYPE_FOR_MAKE and performing their own transformations.

do_bundle_initramfs calls kernel_do_compile and we don't want it to
transform vmlinux to vmlinux.gz at that point, since it will fight
against the careful renaming and preserving that do_bundle_initramfs
does. Let's separate the transformation out of kernel_do_compile to a
new do_transform_kernel task that can be run at the right time. This
means that it's also logical to perform the equivalent translation for
the kernel with the initramfs in a separate
do_transform_bundled_initramfs task too.

This leaves two clear customisation points for recipes and other classes
to hook into the process and perform their transformations:
do_transform_kernel and do_transform_bundled_initramfs.

(I care about this because our recipes that use kernel.bbclass also set
KERNEL_IMAGETYPE_FOR_MAKE and transform vmlinux into a form suitable for
our bootloader after do_compile and do_bundle_initramfs into the format
matching KERNEL_IMAGETYPE. I'm unable to successfully bundle an
initramfs after 526bdd88ccd758204452579333ba188e29270bde, but I didn't
want to just revert that change to reintroduce the bug that it was
fixing.)

I can't say that I'm entirely happy with this change, but I'm unsure
what to do to improve it. I find the way that both the bare kernel and
the one with the initramfs both get deployed to be confusing, and a
waste of build time. I would like to not actually generate a publishable
kernel image at all during do_compile when an initramfs is in use, but I
suspect that this would affect valid use cases that I'm not aware of.

(From OE-Core rev: 10a4a132e87e835726bf5da81a60f6f509b90765)

Signed-off-by: Mike Crowe <mac@mcrowe.com>

[1] It could be argued that this should be vmlinux.initramfs.gz, but
that would require another special case in kernel_do_deploy and the
filename is only visible within this class and the recipes that use it
anyway.

Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-09 13:49:51 +00:00
Anton Mikanovich
f8474be059 bitbake: process: Do not mix stderr with stdout
We should not redirect stderr to stdout if we need to get separated
stdout and stderr contents from Popen.communicate() later.

(Bitbake rev: 1ecc1d9424877df89fcda2f23c306998998a65ff)

Signed-off-by: Anton Mikanovich <amikan@ilbers.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-09 10:56:49 +00:00
Alexander Kanavin
8e03013e19 bitbake: fetch: add a test for version check where compression changes
(Bitbake rev: b6f0c29346ad6463c0e521248633e71886bfb5dc)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-09 10:56:49 +00:00
Richard Purdie
b400b781bd bitbake: siggen: Ensure dumpsig output is deterministic
Currently the console output for signature dumps e.g. with bitbake-dumpsig
isn't deterministic. Add some sorting to improve that.

(Bitbake rev: a663440b1623f97c9c169df5566e429fbc932a53)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-09 10:56:49 +00:00
Alexander Kanavin
43ee80e8b8 libid3tag: move to meta-oe
There are no consumers in oe-core; years ago it used to be gstreamer.

(From OE-Core rev: 4bacb37e9fd55d8bf8ead8d6879e95b31e1dfb55)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-09 10:33:26 +00:00
Alexander Kanavin
74e02c5f0f kern-tools-native: check tags, not commits for new versions
(From OE-Core rev: da14779d706619261d2f7b7e8ed5fc57a1c5fc03)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-09 10:33:26 +00:00
Alexander Kanavin
a16a5e3d38 xxhash: upgrade 0.8.0 -> 0.8.1
License-Update: GPL2 license for cli tool moved to a separate file
(From OE-Core rev: 706ed171c0b761a01f01baac92a2f2ad9ba8240b)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-09 10:33:26 +00:00
Alexander Kanavin
d0a4ea90b4 libsoup: upgrade 3.0.2 -> 3.0.3
(From OE-Core rev: c1e9f21c3e691664a05d5c0b756c8d65d0c01dd0)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-09 10:33:26 +00:00
Alexander Kanavin
636722d14e enchant2: upgrade 2.3.1 -> 2.3.2
(From OE-Core rev: a11b2d47c74740d44b90529da18b1bb5ccbc9f9a)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-09 10:33:26 +00:00
Alexander Kanavin
44eeb36a1f diffoscope: upgrade 192 -> 194
(From OE-Core rev: 9cf813fe8c8bd9b3beb89242b19e9782abe3bc48)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-09 10:33:26 +00:00
Alexander Kanavin
fb8ef1b932 webkitgtk: upgrade 2.34.1 -> 2.34.2
(From OE-Core rev: b5ee08f8f2bafc17ecc39d9c9351cc9b14eb4982)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-09 10:33:26 +00:00
Alexander Kanavin
2f1039a389 piglit: upgrade to latest revision
(From OE-Core rev: 956ad6a12774e38feaa93bf8a7671a9006160958)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-09 10:33:26 +00:00
Alexander Kanavin
2bb6a2d1bf mesa: upgrade 21.3.0 -> 21.3.1
(From OE-Core rev: 1970fd5764adff10a5d7e643aeea7ce40d318f26)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-09 10:33:26 +00:00
Alexander Kanavin
9c5067660c vulkan-loader: upgrade 1.2.198.0 -> 1.2.198.1
(From OE-Core rev: db741a0a117f21aaa9925b0f930d01eb548a7a07)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-09 10:33:26 +00:00
Alexander Kanavin
01fc0394fe harfbuzz: upgrade 3.1.1 -> 3.1.2
(From OE-Core rev: fd4788c9557e6a88d7e9ffb02d8b75b003507612)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-09 10:33:26 +00:00
Alexander Kanavin
e6b11b25f0 freetype: upgrade 2.11.0 -> 2.11.1
(From OE-Core rev: 28d330313ceb801727372fd27d1955db5953f96b)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-09 10:33:26 +00:00
Alexander Kanavin
d60dadd847 python3-setuptools: upgrade 59.2.0 -> 59.4.0
(From OE-Core rev: 4c549f4aaf548fcc494ffdb3936b447a545d4624)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-09 10:33:26 +00:00
Alexander Kanavin
dd91be1364 python3-ruamel-yaml: upgrade 0.17.16 -> 0.17.17
(From OE-Core rev: 8503ed7d274078d2899080f652661ea922fac4cc)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-09 10:33:25 +00:00
Alexander Kanavin
0fc2889500 python3-pbr: upgrade 5.7.0 -> 5.8.0
(From OE-Core rev: 7da3daa7bd2f41b7d53993833f178f98f1c7de3e)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-09 10:33:25 +00:00
Alexander Kanavin
c4b7ec13fd python3-more-itertools: upgrade 8.11.0 -> 8.12.0
(From OE-Core rev: fadbc899a5ca9818cfe78cf5571b352e97dcfe62)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-09 10:33:25 +00:00
Alexander Kanavin
c6e6253b2c python3-markdown: upgrade 3.3.4 -> 3.3.6
(From OE-Core rev: 947b4e4f3ffb5233c70c67491989b5c76cd74523)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-09 10:33:25 +00:00
Alexander Kanavin
94da3cb91c python3-hypothesis: upgrade 6.24.3 -> 6.30.0
(From OE-Core rev: 81f254d315c1a6507d134d13f2c301f0da2b08c7)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-09 10:33:25 +00:00
Alexander Kanavin
f945e3b77c mmc-utils: upgrade to latest revision
(From OE-Core rev: 14b79c08fcc187c692870e31860913e9cea133ca)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-09 10:33:25 +00:00
Alexander Kanavin
4cb3a40b8f ccache: upgrade 4.5 -> 4.5.1
(From OE-Core rev: 1549b78868895c5ab329b9b077e3261b1df61919)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-09 10:33:25 +00:00
Alexander Kanavin
ee07a9a7b4 ell: upgrade 0.45 -> 0.46
(From OE-Core rev: 9d9052c79b376ad46acf5689ab7a28271f601863)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-09 10:33:25 +00:00
Alexander Kanavin
5ecc682582 glib-2.0: upgrade 2.70.1 -> 2.70.2
(From OE-Core rev: 05a296a3a54a3dbba11aa6aaf34d872a6bc25486)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-09 10:33:25 +00:00
Richard Purdie
eea1eeb4ec gcc: Add CVE-2021-37322 to the list of CVEs to ignore
The CVE applies to binutils 2.26 and not to gcc so ignore there.

(From OE-Core rev: fea2726663a3db03170c49fceaffc632c509aeea)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-09 10:33:25 +00:00
Richard Purdie
67664c51c7 puzzles: Refresh patches based upon upstream discussion
I mentioned these patches to upstream and this cleans them up based upon
our discussion with better fixes, fixed comments and tracking down the correct
issue in the malloc case.

If we can test and confirm them in this form, we should be in a good position
to resovle the issues with upstream and be able to drop the patches ultimately.

(From OE-Core rev: 87e6a2715b1dcd5b03d9d6eb0fd0feacc5710e7a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-09 10:33:25 +00:00
Bruce Ashfield
8231454281 kern-tools: bug fixes and kgit-gconfig
Bumping yocto-kernel-tools to version v0.3, which comprises the following commits:

    90598a5 tools: Makefile: add missing install file
    330f9fa kgit-config: fix file mode
    22b55cd kgit-config: cleanup error message
    1e2a233 kgit-config: fix the "not found" message
    e7fcb9a kgit-config: trim trailing whitespace
    3cd14ce kgit-config: BSP template and auto meta-data creation
    e56620c tools: introduce kgit-config
    969b888 buckets: update to v5.14+
    d220b06 Kconfiglib: add support for bare 'modules' keyword

(From OE-Core rev: 88439875530bf36e301dbba12de5cf0dc664ba51)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-09 10:33:25 +00:00
Bruce Ashfield
c4ca0ca803 linux-yocto-rt/5.10: update to -rt56
Integrating the following commit(s) to linux-yocto-rt/5.10:

23f3ad608bc7 rcutorture: fixup merge from standard/base -stable
8612be3f3e2b Revert "rcutorture: Avoid problematic critical section nesting on RT"
9a6fb5667ac8 Linux 5.10.78-rt56
78c80dca8b1f irq_work: Also rcuwait for !IRQ_WORK_HARD_IRQ on PREEMPT_RT
e91d3b98e3b3 irq_work: Handle some irq_work in a per-CPU thread on PREEMPT_RT
bded6a156d4e irq_work: Allow irq_work_sync() to sleep if irq_work() no IRQ support.
747c881d3348 drm/i915/gt: Queue and wait for the irq_work item.
fa4ef0011e58 locking: Drop might_resched() from might_sleep_no_state_check()
f44d86bc5923 fscache: Use only one fscache_object_cong_wait.
2da5bc42a911 fscache: Use only one fscache_object_cong_wait.
53ecacfc9c68 mm: Disable NUMA_BALANCING_DEFAULT_ENABLED and TRANSPARENT_HUGEPAGE on PREEMPT_RT
03bdef3c5563 preempt: Move preempt_enable_no_resched() to the RT block
0def39751031 sched: Switch wait_task_inactive to HRTIMER_MODE_REL_HARD
60df07c6bd86 sched: Fix get_push_task() vs migrate_disable()
27f8594efeac mm, zsmalloc: Convert zsmalloc_handle.lock to spinlock_t
3fcbcd86a8eb Linux 5.10.78-rt55

(From OE-Core rev: 29f8c47f1d61eb702bd9af72e81708ca66ca9c09)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-09 10:33:25 +00:00
Bruce Ashfield
9cd03ad1c9 linux-yocto-dev: use versioned branch as default
The -dev kernel used to only have standard/* branches, which were
managed similarly to linux-next. Which means, they are for testing
integration of patches, and are rebased as needed (typically on
version changes).

We now do some leading edge BSP development on the -dev kernel,
so the standard/* branches are not deleted, but are instead
archived with a version prefix v<kernel version>/standard/*

The branch renaming causes problems for maintained releases
(they'll jump forward to newer kernels), and for anything that
wants to specify a particular commit (-dev is AUTOREV by
design).

There's no reason why the branches can't start versioned at
this point, and that solves both problems. So we switch our
default branch to v5.16/standard/base now, and it will be
updated with each new version (we bump the version anyway).

(From OE-Core rev: 73174b29d414ab0b5921f4fcdf5aebb988f0daf5)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-09 10:33:25 +00:00
Bruce Ashfield
fd1ee969c0 linux-yocto/5.15: update to v5.15.6
Updating linux-yocto/5.15 to the latest korg -stable release that comprises
the following commits:

a2547651bc89 Linux 5.15.6
4268e8325d63 drm/amdgpu/gfx9: switch to golden tsc registers for renoir+
8c501d9cf122 drm/amdgpu/gfx10: add wraparound gpu counter check for APUs as well
db8ed1e61b49 block: avoid to quiesce queue in elevator_init_mq
e03513f58919 blk-mq: cancel blk-mq dispatch work in both blk_cleanup_queue and disk_release()
d9262cc886e2 docs: accounting: update delay-accounting.rst reference
ec8848ab5ebc firmware: arm_scmi: Fix type error in sensor protocol
4cbe2531efeb firmware: arm_scmi: Fix type error assignment in voltage protocol
2d447d318b76 io_uring: fix soft lockup when call __io_remove_buffers
d841c6720fb2 cifs: nosharesock should be set on new server
c9c8c054a01c tracing: Check pid filtering when creating events
6e56e87f43e2 ksmbd: Fix an error handling path in 'smb2_sess_setup()'
278f72e8eb57 vhost/vsock: fix incorrect used length reported to the guest
e4d58ac67e63 vdpa_sim: avoid putting an uninitialized iova_domain
e2c8ed0de4ab iommu/amd: Clarify AMD IOMMUv2 initialization messages
68883f17798c ceph: properly handle statfs on multifs setups
a96c6f0bbba6 cifs: nosharesock should not share socket with future sessions
98805da98d93 riscv: dts: microchip: drop duplicated MMC/SDHC node
fda0d131c0a4 riscv: dts: microchip: fix board compatible
8984bba3b4c0 f2fs: set SBI_NEED_FSCK flag when inconsistent node block found
fb89bcbfbf37 f2fs: quota: fix potential deadlock
724ee060d0ab iommu/vt-d: Fix unmap_pages support
88fc40a33ff3 iommu/rockchip: Fix PAGE_DESC_HI_MASKs for RK3568
229c555260cb sched/scs: Reset task stack state in bringup_cpu()
5f8c2755f850 perf: Ignore sigtrap for tracepoints destined for other tasks
76723ed1fb89 locking/rwsem: Make handoff bit handling more consistent
7b9237a8ef19 net: mscc: ocelot: correctly report the timestamping RX filters in ethtool
93945f2c10bc net: mscc: ocelot: don't downgrade timestamping RX filters in SIOCSHWTSTAMP
d1e71d7d2282 net: hns3: fix incorrect components info of ethtool --reset command
41f967a247bf net: hns3: fix VF RSS failed problem after PF enable multi-TCs
724c50cac0d5 net/smc: Don't call clcsock shutdown twice when smc shutdown
f7fc72a508cf net: vlan: fix underflow for the real_dev refcnt
abfdd9e2f0f9 ethtool: ioctl: fix potential NULL deref in ethtool_set_coalesce()
e25bdbc7e951 net/sched: sch_ets: don't peek at classes beyond 'nbands'
a92f0eebb8dc net: stmmac: Disable Tx queues when reconfiguring the interface
b3c37092378b tls: fix replacing proto_ops
6a012337bc70 tls: splice_read: fix accessing pre-processed records
befe4e291594 tls: splice_read: fix record type check
a6a75b537a4f MIPS: use 3-level pgtable for 64KB page size on MIPS_VA_BITS_48
ea3c7588e16f MIPS: loongson64: fix FTLB configuration
1685d6669a84 igb: fix netpoll exit with traffic
5585036815e5 nvmet: use IOCB_NOWAIT only if the filesystem supports it
a93af38c9f47 net/smc: Fix loop in smc_listen
bb851d0fb025 net/smc: Fix NULL pointer dereferencing in smc_vlan_by_tcpsk()
e85d50c4d85e net: phylink: Force retrigger in case of latched link-fail indicator
d6525de28dfe net: phylink: Force link down and retrigger resolve on interface change
cc1645427a0f lan743x: fix deadlock in lan743x_phy_link_status_change()
8165a96f6b71 tcp_cubic: fix spurious Hystart ACK train detections for not-cwnd-limited flows
7b904ba3568d drm/amd/display: Set plane update flags for all planes in reset
4da564004a73 drm/amd/display: Fix DPIA outbox timeout after GPU reset
c83f27576c46 PM: hibernate: use correct mode for swsusp_close()
fd49f1f5945a net/ncsi : Add payload to be 32-bit aligned to fix dropped packets
ff1a30740f7a arm64: uaccess: avoid blocking within critical sections
85851d9ff790 drm/hyperv: Fix device removal on Gen1 VMs
63a68f377182 nvmet-tcp: fix incomplete data digest send
d10ecfd9518e cpufreq: intel_pstate: Add Ice Lake server to out-of-band IDs
57e91396455e net: marvell: mvpp2: increase MTU limit when XDP enabled
d815f7ca8bd7 net: ipa: kill ipa_cmd_pipeline_clear()
740c461a7340 net: ipa: separate disabling setup from modem stop
f38aa5cfadf1 net: ipa: directly disable ipa-setup-ready interrupt
da4d70199e5d mlxsw: spectrum: Protect driver from buggy firmware
12dea26c05cd net/smc: Ensure the active closing peer first closes clcsock
cc432b0727ce i2c: virtio: disable timeout handling
4339cd082594 erofs: fix deadlock when shrink erofs slab
8b3b9aaada48 scsi: scsi_debug: Zero clear zones at reset write pointer
a67c045b5558 scsi: core: sysfs: Fix setting device state to SDEV_RUNNING
1f10b09ccc83 ice: avoid bpf_prog refcount underflow
992ba40a6763 ice: fix vsi->txq_map sizing
6652101175c5 net: nexthop: release IPv6 per-cpu dsts when replacing a nexthop group
e085ae661afe net: ipv6: add fib6_nh_release_dsts stub
8d196fa5a901 net: stmmac: retain PTP clock time during SIOCSHWTSTAMP ioctls
f6cd57685567 nfp: checking parameter process for rx-usecs/tx-usecs is invalid
f1f243c06675 ipv6: fix typos in __ip6_finish_output()
88f6b5f10fd1 firmware: smccc: Fix check for ARCH_SOC_ID not implemented
80d709875d92 af_unix: fix regression in read after shutdown
97e5d85030c5 mptcp: use delegate action to schedule 3rd ack retrans
10ef3a1c9377 mptcp: fix delack timer
26c3603a2a88 ALSA: intel-dsp-config: add quirk for JSL devices based on ES8336 codec
c6db0b15ced0 xen/pvh: add missing prototype to header
7c7cfc9da026 x86/pvh: add prototype for xen_pvh_init()
229e70bf02d5 iavf: Fix VLAN feature flags after VFR
8d4b4e0f0114 iavf: Fix refreshing iavf adapter stats on ethtool request
e4031c048f48 iavf: Prevent changing static ITR values if adaptive moderation is on
25bbaa3ae179 HID: magicmouse: prevent division by 0 on scroll
6341c9ccb29a HID: input: set usage type to key on keycode remap
740dd84229a5 HID: input: Fix parsing of HID_CP_CONSUMER_CONTROL fields
03e5203d2161 net: marvell: prestera: fix double free issue on err path
8599e15e508e net: marvell: prestera: fix brige port operation
94850e2dda99 drm/aspeed: Fix vga_pw sysfs output
555721765bd6 drm/vc4: fix error code in vc4_create_object()
b28df766a3fc scsi: mpt3sas: Fix incorrect system timestamp
8f13c5eddf50 scsi: mpt3sas: Fix system going into read-only mode
8485649a7655 scsi: mpt3sas: Fix kernel panic during drive powercycle test
032cf0ad6873 scsi: qla2xxx: edif: Fix off by one bug in qla_edif_app_getfcinfo()
8f98d6449b09 drm/nouveau/acr: fix a couple NULL vs IS_ERR() checks
20a09c8b25a2 ARM: socfpga: Fix crash with CONFIG_FORTIRY_SOURCE
c76a5e594920 NFSv42: Don't fail clone() unless the OP_CLONE operation failed
63073a015730 ASoC: stm32: i2s: fix 32 bits channel length without mclk
008fb838e226 firmware: arm_scmi: pm: Propagate return value to caller
7382bcaf30cb firmware: arm_scmi: Fix base agent discover response
6335d90df8af net: ieee802154: handle iftypes as u32
4739705254a7 ASoC: codecs: lpass-rx-macro: fix HPHR setting CLSH mask
b1b33a14298a ASoC: codecs: wcd934x: return error code correctly from hw_params
de178246c303 ASoC: codecs: wcd938x: fix volatile register range
49475a2b29b3 ASoC: topology: Add missing rwsem around snd_ctl_remove() calls
f4c465bf918a ASoC: qdsp6: q6asm: fix q6asm_dai_prepare error handling
f61e5332fe24 ASoC: qdsp6: q6routing: Conditionally reset FrontEnd Mixer
322eebada5e3 ARM: dts: bcm2711: Fix PCIe interrupts
6012bea74344 ARM: dts: BCM5301X: Add interrupt properties to GPIO node
b14b8cf0d1c6 ARM: dts: BCM5301X: Fix I2C controller interrupt
03339d10253e firmware: arm_scmi: Fix null de-reference on error path
75fa2dadb7c2 media: v4l2-core: fix VIDIOC_DQEVENT handling on non-x86
ed741b849ade netfilter: flowtable: fix IPv6 tunnel addr match
e76228cbecc2 netfilter: ipvs: Fix reuse connection if RS weight is 0
49f878330758 netfilter: ctnetlink: do not erase error code with EINVAL
59a0088fde86 netfilter: ctnetlink: fix filtering with CTA_TUPLE_REPLY
37c8d485cb72 ASoC: SOF: Intel: hda: fix hotplug when only codec is suspended
7b3a34f08d11 proc/vmcore: fix clearing user buffer by properly using clear_user()
de6231fc7f2b drm/amd/display: Fix OLED brightness control on eDP
edd145cd0902 PCI: aardvark: Fix link training
cc890665eaa1 PCI: aardvark: Simplify initialization of rootcap on virtual bridge
70b131ff35bd PCI: aardvark: Implement re-issuing config requests on CRS response
c37f8369fa03 PCI: aardvark: Deduplicate code in advk_pcie_rd_conf()
a0a7875c0305 NFSv42: Fix pagecache invalidation after COPY/CLONE
55d2254fd9a0 iomap: Fix inline extent handling in iomap_readpage
c4e3ff8b8b1d powerpc/32: Fix hardlockup on vmap stack overflow
671fbc2e8dea cpufreq: intel_pstate: Fix active mode offline/online EPP handling
7dd74096dd28 arm64: mm: Fix VM_BUG_ON(mm != &init_mm) for trans_pgd
9ed3dc3968ad mdio: aspeed: Fix "Link is Down" issue
4332ead29990 mmc: sdhci: Fix ADMA for PAGE_SIZE >= 64KiB
4721b9ee049a mmc: sdhci-esdhc-imx: disable CMDQ support
55bc4437762a tracing: Fix pid filtering when triggers are attached
a3e90db5180f tracing/uprobe: Fix uprobe_perf_open probes iteration
83247fdb9417 KVM: PPC: Book3S HV: Prevent POWER7/8 TLB flush flushing SLB
11e659827c3a ksmbd: fix memleak in get_file_stream_info()
522cd5c6554a ksmbd: contain default data stream even if xattr is empty
b05576526e84 ksmbd: downgrade addition info error msg to debug in smb2_get_info_sec()
a70414d820f7 drm/nouveau: recognise GA106
832c006eec0d drm/amdgpu/pm: fix powerplay OD interface
2def7fdf5c82 drm/amdgpu: IH process reset count when restart
1c939a53b26b io_uring: fix link traversal locking
3d2a1e68fd99 io_uring: fail cancellation for EXITING tasks
09eb40f6776c io_uring: correct link-list traversal locking
c673d72d2f61 xen: detect uninitialized xenbus in xenbus_init
6660b61a4182 xen: don't continue xenstore initialization in case of errors
695438d30896 fuse: release pipe buf after last use
c8d3775745ad staging: r8188eu: fix a memory leak in rtw_wx_read32()
788fa64fa8de staging: r8188eu: use GFP_ATOMIC under spinlock
b0d61266f56a staging: r8188eu: Fix breakage introduced when 5G code was removed
51bdb198872c staging: r8188eu: Use kzalloc() with GFP_ATOMIC in atomic context
e27ee2f607fe staging: rtl8192e: Fix use after free in _rtl92e_pci_disconnect()
f0340bea8302 staging: greybus: Add missing rwsem around snd_ctl_remove() calls
d58ec6e81803 staging/fbtft: Fix backlight
d048d3eb3ca7 HID: wacom: Use "Confidence" flag to prevent reporting invalid contacts
28849ab40bac Revert "parisc: Fix backtrace to always include init funtion names"
02130f5e7ca3 media: cec: copy sequence field for the reply
238c04518ff1 ALSA: hda/realtek: Fix LED on HP ProBook 435 G7
4e6ef0940048 ALSA: hda/realtek: Add quirk for ASRock NUC Box 1100
25aa8e9f1031 ALSA: ctxfi: Fix out-of-range access
849d86e85951 binder: fix test regression due to sender_euid change
816904fd873b usb: hub: Fix locking issues with address0_mutex
55197c24c6f1 usb: hub: Fix usb enumeration issue due to address0 race
631a7e0afebd usb: xhci: tegra: Check padctrl interrupt presence in device tree
907f68f03f4f usb: typec: fusb302: Fix masking of comparator and bc_lvl interrupts
a815c169c8c4 usb: chipidea: ci_hdrc_imx: fix potential error pointer dereference in probe
39509d76a9a3 net: nexthop: fix null pointer dereference when IPv6 is not enabled
54619c356f6c net: usb: Correct PHY handling of smsc95xx
70ba56d4f464 usb: dwc3: gadget: Fix null pointer exception
ecba9bc9946b usb: dwc3: gadget: Check for L1/L2/U3 for Start Transfer
d92d8b589366 usb: dwc3: gadget: Ignore NoStream after End Transfer
949fac2e09dd usb: dwc3: core: Revise GHWPARAMS9 offset
a6cc2445103e usb: dwc3: leave default DMA for PCI devices
a5e1211d4451 usb: dwc2: hcd_queue: Fix use of floating point literal
581f42756d29 usb: dwc2: gadget: Fix ISOC flow for elapsed frames
8228d7b0281c USB: serial: option: add Fibocom FM101-GL variants
616dc7809103 USB: serial: option: add Telit LE910S1 0x9200 composition
ea773394a003 USB: serial: pl2303: fix GC type detection
e0b8e1ae8306 ACPI: CPPC: Add NULL pointer check to cppc_get_perf()
dbd961095ed4 ACPI: Get acpi_device's parent from the parent field
c82cd4eed128 scsi: sd: Fix sd_do_mode_sense() buffer length handling

(From OE-Core rev: 613b131b19627961579d50af013648a4b0851dc6)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-09 10:33:25 +00:00
Bruce Ashfield
d1d0c484eb linux-yocto/5.10: update to v5.10.82
Updating linux-yocto/5.10 to the latest korg -stable release that comprises
the following commits:

d5259a9ba699 Linux 5.10.82
d35250ec5a23 Revert "perf: Rework perf_event_exit_event()"
6718f79c40fd ALSA: hda: hdac_stream: fix potential locking issue in snd_hdac_stream_assign()
f751fb54f2bc ALSA: hda: hdac_ext_stream: fix potential locking issues
b3ef5051a758 x86/Kconfig: Fix an unused variable error in dell-smm-hwmon
2ec78af152e9 btrfs: update device path inode time instead of bd_inode
9febc9d8d2b4 fs: export an inode_update_time helper
cade5d7a2803 ice: Delete always true check of PF pointer
fe65cecd2758 usb: max-3421: Use driver data instead of maintaining a list of bound devices
6186c7b9bdfc ASoC: DAPM: Cover regression by kctl change notification fix
b17dd53cac76 selinux: fix NULL-pointer dereference when hashtab allocation fails
1ae0d59c4f5e RDMA/netlink: Add __maybe_unused to static inline in C file
40bc831ab5f6 hugetlbfs: flush TLBs correctly after huge_pmd_unshare
86ab0f8ff008 scsi: ufs: core: Fix task management completion timeout race
ddd4e46cff40 scsi: ufs: core: Fix task management completion
04c586a601dc drm/amdgpu: fix set scaling mode Full/Full aspect/Center not works on vga and dvi connectors
47901b77bf7d drm/i915/dp: Ensure sink rate values are always valid
82de15ca6b55 drm/nouveau: clean up all clients on device removal
c81c90fbf577 drm/nouveau: use drm_dev_unplug() during device removal
9221aff33edb drm/nouveau: Add a dedicated mutex for the clients list
65517975cb19 drm/udl: fix control-message timeout
3d68d6ee8314 drm/amd/display: Update swizzle mode enums
7b97b5776daa cfg80211: call cfg80211_stop_ap when switch from P2P_GO type
1ab297809de8 parisc/sticon: fix reverse colors
6adbc07ebcaf btrfs: fix memory ordering between normal and ordered work functions
6289b494b38e net: stmmac: socfpga: add runtime suspend/resume callback for stratix10 platform
5875f87e2fc9 udf: Fix crash after seekdir
6b43cf113a38 KVM: nVMX: don't use vcpu->arch.efer when checking host state on nested state load
cc73242889b5 block: Check ADMIN before NICE for IOPRIO_CLASS_RT
63e2f34abc22 s390/kexec: fix memory leak of ipl report buffer
b1cf0d2fc4e4 scsi: qla2xxx: Fix mailbox direction flags in qla2xxx_get_adapter_id()
08fd6df8eaaf powerpc/8xx: Fix pinned TLBs with CONFIG_STRICT_KERNEL_RWX
9c177eee116c x86/hyperv: Fix NULL deref in set_hv_tscchange_cb() if Hyper-V setup fails
b2e2fb64071a mm: kmemleak: slob: respect SLAB_NOLEAKTRACE flag
99032adf7d4b ipc: WARN if trying to remove ipc object which is absent
a7d91625863d tipc: check for null after calling kmemdup
f5995fcb75eb hexagon: clean up timer-regs.h
0854c9ff2151 hexagon: export raw I/O routines for modules
528971af64fc tun: fix bonding active backup with arp monitoring
af1d3c437eb5 arm64: vdso32: suppress error message for 'make mrproper'
97653ba562b9 net: stmmac: dwmac-rk: Fix ethernet on rk3399 based devices
4cebe23c032b s390/kexec: fix return code handling
d4fb80ae9830 perf/x86/intel/uncore: Fix IIO event constraints for Skylake Server
175135a5eacf perf/x86/intel/uncore: Fix filter_tid mask for CHA events on Skylake Server
84f64c7c52d6 pinctrl: qcom: sdm845: Enable dual edge errata
a8230fb74b54 KVM: PPC: Book3S HV: Use GLOBAL_TOC for kvmppc_h_set_dabr/xdabr()
4e6cce20fbc0 e100: fix device suspend/resume
34e54703fb0f NFC: add NCI_UNREG flag to eliminate the race
b2a60b4a0195 net: nfc: nci: Change the NCI close sequence
73a0d12114b4 NFC: reorder the logic in nfc_{un,}register_device
cb14b196d991 NFC: reorganize the functions in nci_request
41dc8dcb49d5 i40e: Fix display error code in dmesg
028ea7b090ec i40e: Fix creation of first queue by omitting it if is not power of two
69868d7a8853 i40e: Fix warning message and call stack during rmmod i40e driver
20645482d159 i40e: Fix ping is lost after configuring ADq on VF
6d64743045ca i40e: Fix changing previously set num_queue_pairs for PFs
f866513ead43 i40e: Fix NULL ptr dereference on VSI filter sync
071948856587 i40e: Fix correct max_pkt_size on VF RX queue
8e6bae950da9 net: virtio_net_hdr_to_skb: count transport header in UFO
1c4099dc0d6a net: dpaa2-eth: fix use-after-free in dpaa2_eth_remove
381a30f7e31c net: sched: act_mirred: drop dst for the direction from egress to ingress
a792e0128d23 scsi: core: sysfs: Fix hang when device state is set via sysfs
4b4302a02b7f net/mlx5: E-Switch, return error if encap isn't supported
68748ea4d122 net/mlx5: E-Switch, Change mode lock from mutex to rw semaphore
6190e1a2d41a net/mlx5: Lag, update tracker when state change event received
471c49289055 net/mlx5e: nullify cq->dbg pointer in mlx5_debug_cq_remove()
d1f8f1e04a61 platform/x86: hp_accel: Fix an error handling path in 'lis3lv02d_probe()'
da16f907cb30 mips: lantiq: add support for clk_get_parent()
17dfbe1b2f4e mips: bcm63xx: add support for clk_get_parent()
34284b3a2f86 MIPS: generic/yamon-dt: fix uninitialized variable error
a61f90b2162d iavf: Fix for setting queues to 0
a8a1e601c2ea iavf: Fix for the false positive ASQ/ARQ errors while issuing VF reset
77f5ae5441f0 iavf: validate pointers
ddcc185baa2b iavf: prevent accidental free of filter structure
a420b2612825 iavf: Fix failure to exit out from last all-multicast mode
78638b471322 iavf: free q_vectors before queues in iavf_disable_vf
84a13bfe2714 iavf: check for null in iavf_fix_features
1555d83ddbb7 iavf: Fix return of set the new channel count
09decd0a102a net/smc: Make sure the link_id is unique
437e21e2c9ae sock: fix /proc/net/sockstat underflow in sk_clone_lock()
4da14ddad19f net: reduce indentation level in sk_clone_lock()
9c3c2ef6ca26 tipc: only accept encrypted MSG_CRYPTO msgs
3d5941664786 bnxt_en: reject indirect blk offload when hw-tc-offload is off
4fc060abaa26 net: bnx2x: fix variable dereferenced before check
3ae75cc38a84 net: ipa: disable HOLB drop when updating timer
3984876f91a3 tracing: Add length protection to histogram string copies
900ea2f6287f tcp: Fix uninitialized access in skb frags array for Rx 0cp.
d1a6150ca616 net-zerocopy: Refactor skb frag fast-forward op.
5f7aadf03f98 net-zerocopy: Copy straggler unaligned data for TCP Rx. zerocopy.
8da80ec6d4f7 drm/nouveau: hdmigv100.c: fix corrupted HDMI Vendor InfoFrame
aa31e3fda68f perf tests: Remove bash construct from record+zstd_comp_decomp.sh
2ada5c0877f4 perf bench futex: Fix memory leak of perf_cpu_map__new()
11589d3144bc perf bpf: Avoid memory leak from perf_env__insert_btf()
5b2f2cbbc925 tracing/histogram: Do not copy the fixed-size char array field over the field size
1d6125532755 blkcg: Remove extra blkcg_bio_issue_init
dadcc935f440 perf/x86/vlbr: Add c->flags to vlbr event constraints
68fcb52b610c sched/core: Mitigate race cpus_share_cache()/update_top_cache_domain()
91191d47af55 mips: BCM63XX: ensure that CPU_SUPPORTS_32BIT_KERNEL is set
fbe27d0e1dcf clk: qcom: gcc-msm8996: Drop (again) gcc_aggre1_pnoc_ahb_clk
9b3d3b72be84 clk/ast2600: Fix soc revision for AHB
03bc8ea0ae95 clk: ingenic: Fix bugs with divided dividers
7a5439474e69 f2fs: fix incorrect return value in f2fs_sanity_check_ckpt()
0a17fff6f045 f2fs: compress: disallow disabling compress on non-empty compressed file
4ce685cc9a0b sh: define __BIG_ENDIAN for math-emu
73383f670d8f sh: math-emu: drop unused functions
f44defd5694b sh: fix kconfig unmet dependency warning for FRAME_POINTER
3d7c5d08a483 f2fs: fix to use WHINT_MODE
e8bd5e33057c f2fs: fix up f2fs_lookup tracepoints
5d5bf899e57a maple: fix wrong return value of maple_bus_init().
8748f08a2fc0 sh: check return code of request_irq
29b742690a09 powerpc/8xx: Fix Oops with STRICT_KERNEL_RWX without DEBUG_RODATA_TEST
bc4bc07fb44c powerpc/dcr: Use cmplwi instead of 3-argument cmpli
1ac6cd87d8dd ALSA: gus: fix null pointer dereference on pointer block
850416beadef ARM: dts: qcom: fix memory and mdio nodes naming for RB3011
8c4d9764e74d powerpc/5200: dts: fix memory node unit name
833ad2792733 iio: imu: st_lsm6dsx: Avoid potential array overflow in st_lsm6dsx_set_odr()
e0fef1c8cd61 scsi: target: Fix alua_tg_pt_gps_count tracking
8176441373dd scsi: target: Fix ordered tag handling
8440377e1a56 scsi: scsi_debug: Fix out-of-bound read in resp_report_tgtpgs()
3e20cb072679 scsi: scsi_debug: Fix out-of-bound read in resp_readcap16()
9635581aa999 MIPS: sni: Fix the build
77e9fed33056 tty: tty_buffer: Fix the softlockup issue in flush_to_ldisc
da82a207c4dc ALSA: ISA: not for M68K
c788ac47502e ARM: dts: ls1021a-tsn: use generic "jedec,spi-nor" compatible for flash
cbba09f86976 ARM: dts: ls1021a: move thermal-zones node out of soc/
2474eb7fc3bf usb: host: ohci-tmio: check return value after calling platform_get_resource()
02d9ebe0ccfa ARM: dts: omap: fix gpmc,mux-add-data type
c6c9bbe7facb firmware_loader: fix pre-allocated buf built-in firmware use
02a22911ed87 ALSA: intel-dsp-config: add quirk for APL/GLK/TGL devices based on ES8336 codec
055eced3edf5 scsi: advansys: Fix kernel pointer leak
97f3cbb57b16 ASoC: nau8824: Add DMI quirk mechanism for active-high jack-detect
ae2207a078cf clk: imx: imx6ul: Move csi_sel mux to correct base register
0c6daf479961 ASoC: SOF: Intel: hda-dai: fix potential locking issue
19d193c5761a arm64: dts: freescale: fix arm,sp805 compatible string
36446a094a45 arm64: dts: qcom: ipq6018: Fix qcom,controlled-remotely property
e52fecdd0c14 arm64: dts: qcom: msm8998: Fix CPU/L2 idle state latency and residency
568d94c5c9f0 ARM: BCM53016: Specify switch ports for Meraki MR32
3a53d9ad9bc3 staging: rtl8723bs: remove possible deadlock when disconnect (v2)
3544c338794b ARM: dts: ux500: Skomer regulator fixes
eff8b7628410 usb: typec: tipd: Remove WARN_ON in tps6598x_block_read
679eee466d0f usb: musb: tusb6010: check return value after calling platform_get_resource()
2492de6f5edb bus: ti-sysc: Use context lost quirk for otg
5eca1c8412f4 bus: ti-sysc: Add quirk handling for reinit on context lost
dcd6eefceeb0 RDMA/bnxt_re: Check if the vlan is valid before reporting
4e5bc9fb23a7 arm64: dts: hisilicon: fix arm,sp805 compatible string
109a63bb07f0 arm64: dts: rockchip: Disable CDN DP on Pinebook Pro
c097bd5a5916 scsi: lpfc: Fix list_add() corruption in lpfc_drain_txq()
db90c507832a ARM: dts: NSP: Fix mpcore, mmc node names
5010df76ab1f staging: wfx: ensure IRQ is ready before enabling it
2651d06e461f arm64: dts: allwinner: a100: Fix thermal zone node name
fa98ac472e88 arm64: dts: allwinner: h5: Fix GPU thermal zone node name
aed195558f94 ARM: dts: sunxi: Fix OPPs node name
e2e105631265 arm64: zynqmp: Fix serial compatible string
48f154e8b94a arm64: zynqmp: Do not duplicate flash partition label property
99957dcea4e9 Linux 5.10.81
0685efd9840f selftests/x86/iopl: Adjust to the faked iopl CLI/STI usage
6a315471cb6a thermal: Fix NULL pointer dereferences in of_thermal_ functions
bd40513d0bee perf/core: Avoid put_page() when GUP fails
df58fb431aa3 scripts/lld-version.sh: Rewrite based on upstream ld-version.sh
be3f6035831a erofs: fix unsafe pagevec reuse of hooked pclusters
6c1ad56b2d78 erofs: remove the occupied parameter from z_erofs_pagevec_enqueue()
5bf5f464831c PCI: Add MSI masking quirk for Nvidia ION AHCI
f28c620e1ac1 PCI/MSI: Deal with devices lying about their MSI mask capability
9b61500ee536 PCI/MSI: Destroy sysfs before freeing entries
c49bfdfe535c parisc/entry: fix trace test in syscall exit path
b31bac061918 x86/iopl: Fake iopl(3) CLI/STI usage
a0958a5354f7 net: stmmac: dwmac-rk: fix unbalanced pm_runtime_enable warnings
80407c6ad9da net: stmmac: fix issue where clk is being unprepared twice
ac4bb9951c2c net: stmmac: fix system hang if change mac address after interface ifdown
bcf37522432d net: stmmac: fix missing unlock on error in stmmac_suspend()
483ed89522b0 net: stmmac: platform: fix build error with !CONFIG_PM_SLEEP
3afe11be6435 net: stmmac: add clocks management for gmac driver
f27060e28efc bootconfig: init: Fix memblock leak in xbc_make_cmdline()
04e46514fef6 loop: Use blk_validate_block_size() to validate block size
79ff56c613c1 block: Add a helper to validate the block size
eaafc590053b fortify: Explicitly disable Clang support
f884bb85b8d8 Linux 5.10.80
1e49a79bc312 soc/tegra: pmc: Fix imbalanced clock disabling in error code path
45490bfa1ebb x86/sev: Make the #VC exception stacks part of the default stacks storage
fc25889a6617 x86/sev: Add an x86 version of cc_platform_has()
74ba917cfddd arch/cc: Introduce a function to check for confidential computing features
5be42b203f2c selftests/bpf: Fix also no-alu32 strobemeta selftest
1e7340950dc2 mmc: moxart: Fix null pointer dereference on pointer host
188bf40391a5 ath10k: fix invalid dma_addr_t token assignment
d41f4d4dd7c8 SUNRPC: Partial revert of commit 6f9f17287e78
c7a440cd3079 PCI: aardvark: Fix PCIe Max Payload Size setting
f967d120a5b5 PCI: Add PCI_EXP_DEVCTL_PAYLOAD_* macros
f3396f6d8345 drm/sun4i: Fix macros in sun8i_csc.h
1023355234ca powerpc/85xx: fix timebase sync issue when CONFIG_HOTPLUG_CPU=n
77d543e68795 powerpc/powernv/prd: Unregister OPAL_MSG_PRD2 notifier during module unload
9dcdadd6cc73 mtd: rawnand: au1550nd: Keep the driver compatible with on-die ECC engines
51e34fcf72a3 mtd: rawnand: plat_nand: Keep the driver compatible with on-die ECC engines
e1de04df8eb1 mtd: rawnand: orion: Keep the driver compatible with on-die ECC engines
b4e2e9fbd194 mtd: rawnand: pasemi: Keep the driver compatible with on-die ECC engines
963db3ccc15b mtd: rawnand: gpio: Keep the driver compatible with on-die ECC engines
13566bc111ee mtd: rawnand: mpc5121: Keep the driver compatible with on-die ECC engines
9b366f5221d8 mtd: rawnand: xway: Keep the driver compatible with on-die ECC engines
cbc55cf4a358 mtd: rawnand: ams-delta: Keep the driver compatible with on-die ECC engines
1f420818dfca s390/cio: make ccw_device_dma_* more robust
c9ca9669dec3 s390/ap: Fix hanging ioctl caused by orphaned replies
57de1fbecff0 s390/tape: fix timer initialization in tape_std_assign()
1174298a5b31 s390/cio: check the subchannel validity for dev_busid
7d0341b37d97 video: backlight: Drop maximum brightness override for brightness zero
332306b1e731 mfd: dln2: Add cell for initializing DLN2 ADC
1d457987366f mm, oom: do not trigger out_of_memory from the #PF
ac7f6befc3d1 mm, oom: pagefault_out_of_memory: don't force global OOM for dying tasks
1ada86999dc8 powerpc/bpf: Emit stf barrier instruction sequences for BPF_NOSPEC
7fcf86565bb6 powerpc/security: Add a helper to query stf_barrier type
951fb7bf387f powerpc/bpf: Validate branch ranges
51cf71d5cb03 powerpc/lib: Add helper to check if offset is within conditional branch range
74293225f503 memcg: prohibit unconditional exceeding the limit of dying tasks
32246cefb992 9p/net: fix missing error check in p9_check_errors
a8cdf34ff8b7 net, neigh: Enable state migration between NUD_PERMANENT and NTF_USE
0bf5c6a1e43f f2fs: should use GFP_NOFS for directory inodes
7930892cbd40 irqchip/sifive-plic: Fixup EOI failed when masked
f67f6eb717ae posix-cpu-timers: Clear task::posix_cputimers_work in copy_process()
1372eb187108 x86/mce: Add errata workaround for Skylake SKX37
1ee5bc2ba83f MIPS: Fix assembly error from MIPSr2 code used within MIPS_ISA_ARCH_LEVEL
fc42bbb7827b parisc: Fix backtrace to always include init funtion names
241c74cc6555 ARM: 9156/1: drop cc-option fallbacks for architecture selection
03f2578153eb ARM: 9155/1: fix early early_iounmap()
ee79560cb768 selftests/net: udpgso_bench_rx: fix port argument
8b215edb7a38 cxgb4: fix eeprom len when diagnostics not implemented
93bc3ef60758 net/smc: fix sk_refcnt underflow on linkdown and fallback
7e03b797bee0 vsock: prevent unnecessary refcnt inc for nonblocking connect
ad3d219e843d net: stmmac: allow a tc-taprio base-time of zero
b30459c0ca0d net: hns3: allow configure ETS bandwidth of all TCs
ee11f16fee95 net: hns3: fix kernel crash when unload VF while it is being reset
79aa8706b45c net/sched: sch_taprio: fix undefined behavior in ktime_mono_to_any
b5703462a428 seq_file: fix passing wrong private data
4af0cd17e724 gve: Fix off by one in gve_tx_timeout()
c842a4c4ae7f bpf: sockmap, strparser, and tls are reusing qdisc_skb_cb and colliding
8b5c98a67c1b bpf, sockmap: Remove unhash handler for BPF sockmap usage
0fe81d7a202d arm64: pgtable: make __pte_to_phys/__phys_to_pte_val inline functions
727c812433b6 nfc: pn533: Fix double free when pn533_fill_fragment_skbs() fails
9f0e683e1bd4 llc: fix out-of-bound array index in llc_sk_dev_hash()
b833274ae6d9 perf bpf: Add missing free to bpf_event__print_bpf_prog_info()
7091fcc75ff6 zram: off by one in read_block_state()
64bde0c2db50 mm/zsmalloc.c: close race window between zs_pool_dec_isolated() and zs_unregister_migration()
a3c205c017f8 can: mcp251xfd: mcp251xfd_chip_start(): fix error handling for mcp251xfd_chip_rx_int_enable()
300d87474816 mfd: core: Add missing of_node_put for loop iteration
6439b91fef2c bonding: Fix a use-after-free problem when bond_sysfs_slave_add() failed
acb01e962af7 net: phy: fix duplex out of sync problem while changing settings
090e17075f67 drm/nouveau/svm: Fix refcount leak bug and missing check against null bug
ee8a3ae48a94 ACPI: PMIC: Fix intel_pmic_regs_handler() read accesses
d83832d4a838 ice: Fix not stopping Tx queues for VFs
354ae5ca6ce1 ice: Fix replacing VF hardware MAC to existing MAC filter
e04a7a84bb77 net: vlan: fix a UAF in vlan_dev_real_dev()
3fe164e7197b openrisc: fix SMP tlb flush NULL pointer dereference
628773a759d5 ethtool: fix ethtool msg len calculation for pause stats
e78c267eb74e net: davinci_emac: Fix interrupt pacing disable
111f77594ddf xen-pciback: Fix return in pm_ctrl_init()
de9721ee8ad3 i2c: xlr: Fix a resource leak in the error handling path of 'xlr_i2c_probe()'
8c3e204fb6bc NFSv4: Fix a regression in nfs_set_open_stateid_locked()
0afb3bc53435 scsi: qla2xxx: Turn off target reset during issue_lip
09595fd2cef5 scsi: qla2xxx: Fix gnl list corruption
cbe31149e5a7 scsi: qla2xxx: Relogin during fabric disturbance
bc3f207ed99a scsi: qla2xxx: Changes to support FCP2 Target
ba5eb0e44346 ar7: fix kernel builds for compiler test
ef9f7ab9ba20 watchdog: f71808e_wdt: fix inaccurate report in WDIOC_GETTIMEOUT
aaa64ee14ac9 m68k: set a default value for MEMORY_RESERVE
a4cbf00e5ab8 signal/sh: Use force_sig(SIGKILL) instead of do_group_exit(SIGKILL)
b04c17acf42a dmaengine: dmaengine_desc_callback_valid(): Check for `callback_result`
bba31f3b1f43 netfilter: nfnetlink_queue: fix OOB when mac header was cleared
41968262bb24 soc: fsl: dpaa2-console: free buffer before returning from dpaa2_console_read
6caab6c96b67 auxdisplay: ht16k33: Fix frame buffer device blanking
178522aa755f auxdisplay: ht16k33: Connect backlight to fbdev
a1d6a60ee00c auxdisplay: img-ascii-lcd: Fix lock-up when displaying empty string
0e1709b2a07a Fix user namespace leak
90e7415221e1 NFS: Fix an Oops in pnfs_mark_request_commit()
10f210871736 NFS: Fix up commit deadlocks
91e43a8500f4 dmaengine: at_xdmac: fix AT_XDMAC_CC_PERID() macro
038dfd67d375 rtc: rv3032: fix error handling in rv3032_clkout_set_rate()
5061e102346e remoteproc: Fix a memory leak in an error handling path in 'rproc_handle_vdev()'
36104e1f71dd mtd: core: don't remove debugfs directory if device is in use
0b73c025bfcf PCI: uniphier: Serialize INTx masking/unmasking and fix the bit operation
d2ff7a8b079d mtd: spi-nor: hisi-sfc: Remove excessive clk_disable_unprepare()
c4eb6849909a fs: orangefs: fix error return code of orangefs_revalidate_lookup()
3e7b08ebf40f NFS: Fix deadlocks in nfs_scan_commit_list()
14943891857d opp: Fix return in _opp_add_static_v2()
bea3213f191a PCI: aardvark: Fix preserving PCI_EXP_RTCTL_CRSSVE flag on emulated bridge
ec6dba3ffe3f PCI: aardvark: Don't spam about PIO Response Status
2e548581fe5b drm/plane-helper: fix uninitialized variable reference
e94c59b64e6c pnfs/flexfiles: Fix misplaced barrier in nfs4_ff_layout_prepare_ds
8ac076ce7193 NFS: Fix dentry verifier races
9d438dbf7342 i2c: mediatek: fixing the incorrect register offset
f3492c4a9264 nfsd: don't alloc under spinlock in rpc_parse_scope_id
602ab1fd40e2 rpmsg: Fix rpmsg_create_ept return when RPMSG config is not defined
851b622e7b4f apparmor: fix error check
9c9c33ea4cab power: supply: bq27xxx: Fix kernel crash on IRQ handler register error
dbdf0f220759 mips: cm: Convert to bitfield API to fix out-of-bounds access
c8447cb14a12 virtio_ring: check desc == NULL when using indirect with packed
80e6643393b7 ASoC: cs42l42: Correct configuring of switch inversion from ts-inv
cb0fdd9aae01 ASoC: cs42l42: Use device_property API instead of of_property
ef9d007a91f5 ASoC: cs42l42: Disable regulators if probe fails
c0faad6e9d56 powerpc/44x/fsp2: add missing of_node_put
4310970d0b4d HID: u2fzero: properly handle timeouts in usb_submit_urb
e2f0bff411f5 HID: u2fzero: clarify error check and length calculations
26be378079fc clk: at91: sam9x60-pll: use DIV_ROUND_CLOSEST_ULL
f2886010a8d1 serial: xilinx_uartps: Fix race condition causing stuck TX
515778f9d841 phy: qcom-snps: Correct the FSEL_MASK
fd056574a7e8 phy: ti: gmii-sel: check of_get_address() for failure
0a46740a0af0 phy: qcom-qusb2: Fix a memory leak on probe
ec40a28495a8 pinctrl: equilibrium: Fix function addition in multiple groups
a0467ca4d25f soc: qcom: apr: Add of_node_put() before return
b41c528b14fe firmware: qcom_scm: Fix error retval in __qcom_scm_is_call_available()
31e7a836e2a2 usb: dwc2: drd: reset current session before setting the new one
fc86da757db7 usb: dwc2: drd: fix dwc2_drd_role_sw_set when clock could be disabled
6774a429327d usb: dwc2: drd: fix dwc2_force_mode call in dwc2_ovr_init
068dfa570d8c serial: imx: fix detach/attach of serial console
d293bd40fbad scsi: ufs: ufshcd-pltfrm: Fix memory leak due to probe defer
75df59394126 scsi: ufs: Refactor ufshcd_setup_clocks() to remove skip_ref_clk
948d8f2f2fd5 iio: adis: do not disabe IRQs in 'adis_init()'
c8e5edca68a3 usb: typec: STUSB160X should select REGMAP_I2C
503d6e5fb878 soc: qcom: rpmhpd: Make power_on actually enable the domain
81e37cf40dbb soc: qcom: rpmhpd: Provide some missing struct member descriptions
b288b841c1d8 ASoC: cs42l42: Defer probe if request_threaded_irq() returns EPROBE_DEFER
1812deb08f86 ASoC: cs42l42: Correct some register default values
d34982c08714 ARM: dts: stm32: fix AV96 board SAI2 pin muxing on stm32mp15
602fefd4561e ARM: dts: stm32: fix SAI sub nodes register range
3fb75227bdce ARM: dts: stm32: Reduce DHCOR SPI NOR frequency to 50 MHz
78238479b93b pinctrl: renesas: checker: Fix off-by-one bug in drive register check
51bcffb3951c staging: ks7010: select CRYPTO_HASH/CRYPTO_MICHAEL_MIC
0bb8359f9c0d staging: most: dim2: do not double-register the same device
8e1feecc04fc usb: musb: select GENERIC_PHY instead of depending on it
0058f7fbea13 RDMA/mlx4: Return missed an error if device doesn't support steering
bce61de56480 scsi: csiostor: Uninitialized data in csio_ln_vnp_read_cbfn()
12c46732042c power: supply: max17040: fix null-ptr-deref in max17040_probe()
c553d673018d power: supply: rt5033_battery: Change voltage values to µV
d8da6328ecae usb: gadget: hid: fix error code in do_config()
92a80e1ca20e serial: 8250_dw: Drop wrong use of ACPI_PTR()
cfbf58ac8ec2 powerpc: fix unbalanced node refcount in check_kvm_guest()
54965d92a464 powerpc: Fix is_kvm_guest() / kvm_para_available()
e01a4d7560b6 powerpc: Reintroduce is_kvm_guest() as a fast-path check
113207234aac powerpc: Rename is_kvm_guest() to check_kvm_guest()
61c5d9fa5671 powerpc: Refactor is_kvm_guest() declaration to new header
67074c63cd67 video: fbdev: chipsfb: use memset_io() instead of memset()
fb24243e6d7f clk: at91: check pmc node status before registering syscore ops
20cc0fa1d030 memory: fsl_ifc: fix leak of irq and nand_irq in fsl_ifc_ctrl_probe
d3833d3c569a soc/tegra: Fix an error handling path in tegra_powergate_power_up()
9a2244200908 ASoC: SOF: topology: do not power down primary core during topology removal
8b6124d9245c arm: dts: omap3-gta04a4: accelerometer irq fix
e1959450b77a driver core: Fix possible memory leak in device_link_add()
ddb13ddacc60 scsi: pm80xx: Fix misleading log statement in pm8001_mpi_get_nvmd_resp()
4438a7457063 soundwire: debugfs: use controller id and link_id for debugfs
3fe8d239e35b ALSA: hda: Use position buffer for SKL+ again
c550c7c9ae91 ALSA: hda: Fix hang during shutdown due to link reset
23e8f775d962 ALSA: hda: Release controller display power during shutdown/reboot
5972e974ebbb ALSA: hda: Reduce udelay() at SKL+ position reporting
1db71de28bfc arm64: dts: qcom: pm8916: Remove wrong reg-names for rtc@6000
d833ddddec5b arm64: dts: renesas: beacon: Fix Ethernet PHY mode
d70247b752f7 arm64: dts: qcom: msm8916: Fix Secondary MI2S bit clock
980c7bdd20fc JFS: fix memleak in jfs_mount
c4edd206d52e MIPS: loongson64: make CPU_LOONGSON64 depends on MIPS_FP_SUPPORT
24149c954f32 scsi: dc395: Fix error case unwinding
6348983be709 ARM: dts: at91: tse850: the emac<->phy interface is rmii
b6493c2b7ddb bus: ti-sysc: Fix timekeeping_suspended warning on resume
85085c343705 arm64: dts: meson-g12b: Fix the pwm regulator supply properties
4ccb7e4a972c arm64: dts: meson-g12a: Fix the pwm regulator supply properties
20baf0163805 arm64: dts: ti: k3-j721e-main: Fix "bus-range" upto 256 bus number for PCIe
7a1617a9919b arm64: dts: ti: k3-j721e-main: Fix "max-virtual-functions" in PCIe EP nodes
64a43b771258 RDMA/bnxt_re: Fix query SRQ failure
fe3c11fc627b ARM: dts: qcom: msm8974: Add xo_board reference clock to DSI0 PHY
2887df89e7f6 arm64: dts: rockchip: Fix GPU register width for RK3328
3f33f09d9f6a ARM: s3c: irq-s3c24xx: Fix return value check for s3c24xx_init_intc()
cdd3dd905cea clk: mvebu: ap-cpu-clk: Fix a memory leak in error handling paths
2fde76df1885 ARM: dts: BCM5301X: Fix memory nodes names
5282385ee655 RDMA/rxe: Fix wrong port_cap_flags
a2c17c93b771 iio: st_sensors: disable regulators after device unregistration
bfedc817769d iio: st_sensors: Call st_sensors_power_enable() from bus drivers
f84c7a03d1ea of: unittest: fix EXPECT text for gpio hog errors
4a50bc008476 bpf: Fix propagation of signed bounds from 64-bit min/max into 32-bit.
84dde8c8c933 bpf: Fix propagation of bounds from 64-bit min/max into 32-bit and var_off.
9308f9c9c7a5 cgroup: Fix rootcg cpu.stat guest double counting
a3fdcd16b138 ibmvnic: Process crqs after enabling interrupts
5b3f7204197a ibmvnic: don't stop queue in xmit
366235d4bebc udp6: allow SO_MARK ctrl msg to affect routing
8f3d88139df8 selftests/bpf: Fix fclose/pclose mismatch in test_progs
71ec65c70004 crypto: pcrypt - Delay write to padata->info
fb41b8f5e855 net: phylink: avoid mvneta warning when setting pause parameters
08449a5c0e56 net: amd-xgbe: Toggle PLL settings during rate change
b17f424f88ba selftests/bpf: Fix fd cleanup in sk_lookup test
2989a396b891 selftests: bpf: Convert sk_lookup ctx access tests to PROG_TEST_RUN
ae1f588ca1b0 drm/amdgpu/gmc6: fix DMA mask from 44 to 40 bits
a586453da90c wcn36xx: Fix discarded frames due to wrong sequence number
3965cc2e9fdd wcn36xx: add proper DMA memory barriers in rx path
62d12650b845 libertas: Fix possible memory leak in probe and disconnect
975c15a19bbc libertas_tf: Fix possible memory leak in probe and disconnect
3aa98ef8f7ad KVM: s390: Fix handle_sske page fault handling
5109802499fb samples/kretprobes: Fix return value if register_kretprobe() failed
c3ac751944ab spi: spi-rpc-if: Check return value of rpcif_sw_init()
5b7b4afead62 tcp: don't free a FIN sk_buff in tcp_remove_empty_skb()
3925134eff29 libbpf: Fix endianness detection in BPF_CORE_READ_BITFIELD_PROBED()
227efdda51b4 tpm_tis_spi: Add missing SPI ID
ff1a0f71cc77 tpm: fix Atmel TPM crash caused by too frequent queries
43b4860b58f3 irq: mips: avoid nested irq_enter()
29a1cc3b5011 KVM: s390: pv: avoid stalls for kvm_s390_pv_init_vm
759f27cfa344 KVM: s390: pv: avoid double free of sida page
a729eb55b3c7 s390/gmap: don't unconditionally call pte_unmap_unlock() in __gmap_zap()
50fcaa715521 libbpf: Fix BTF header parsing checks
12872fd7e40b libbpf: Fix overflow in BTF sanity checks
255eb8f8affd libbpf: Allow loading empty BTFs
4d4d6aa2ef80 libbpf: Fix BTF data layout checks and allow empty BTF
0b95aaa493c6 bpftool: Avoid leaking the JSON writer prepared for program metadata
7cd4af996cd2 KVM: selftests: Fix nested SVM tests when built with clang
293fa72d62e4 KVM: selftests: Add operand to vmsave/vmload/vmrun in svm.c
d33753718156 smackfs: use netlbl_cfg_cipsov4_del() for deleting cipso_v4_doi
807f01f60cd0 drm/msm: Fix potential NULL dereference in DPU SSPP
6d1f3157aa9b x86/sev: Fix stack type check in vc_switch_off_ist()
8e2f97df6a0b clocksource/drivers/timer-ti-dm: Select TIMER_OF
b9f142d748b6 PM: hibernate: fix sparse warnings
e8c0b748456a nvme-rdma: fix error code in nvme_rdma_setup_ctrl
7668cbe0cb77 phy: micrel: ksz8041nl: do not use power down mode
d405eb1150ce net: enetc: unmap DMA in enetc_send_cmd()
14e12b7a763e mwifiex: Send DELBA requests according to spec
4ed5bb3df6c7 rsi: stop thread firstly in rsi_91x_init() error handling
e27022647529 mt76: mt7915: fix muar_idx in mt7915_mcu_alloc_sta_req()
1a270dada035 mt76: mt7915: fix sta_rec_wtbl tag len
116652a3d5dd mt76: mt7915: fix possible infinite loop release semaphore
7a8e4effbbbc mt76: mt76x02: fix endianness warnings in mt76x02_mac.c
4d5c7f07c725 mt76: mt7615: fix endianness warning in mt7615_mac_write_txwi
4187bf331010 platform/x86: thinkpad_acpi: Fix bitwise vs. logical warning
25c032c585a2 mmc: mxs-mmc: disable regulator on error and in the remove function
7c1c7ac9d13a media: ir_toy: assignment to be16 should be of correct type
daf15fa1fd99 net: stream: don't purge sk_error_queue in sk_stream_kill_queues()
14d241577227 drm/msm: uninitialized variable in msm_gem_import()
3424931fa39e drm/msm: potential error pointer dereference in init()
a342cb4772f4 tcp: switch orphan_count to bare per-cpu counters
c85c6fadbef0 kernel/sched: Fix sched_fork() access an invalid sched_task_group
e1ee11473a88 ath10k: fix max antenna gain unit
786976b25ae0 hwmon: (pmbus/lm25066) Let compiler determine outer dimension of lm25066_coeff
fbc80c83f118 hwmon: Fix possible memleak in __hwmon_device_register()
e29352f162db net, neigh: Fix NTF_EXT_LEARNED in combination with NTF_USE
41fe79cf1156 memstick: jmb38x_ms: use appropriate free function in jmb38x_ms_alloc_host()
4756d7fbaf8c memstick: avoid out-of-range warning
72de92d33f83 mmc: sdhci-omap: Fix context restore
2fd26ec36ef0 mmc: sdhci-omap: Fix NULL pointer exception if regulator is not configured
a9fbeb5bbc46 gve: Recover from queue stall due to missed IRQ
9e4f708df65e b43: fix a lower bounds test
508faf8721ae b43legacy: fix a lower bounds test
6a1610014181 hwrng: mtk - Force runtime pm ops for sleep ops
8d98683fa6df crypto: qat - disregard spurious PFVF interrupts
d99fdd13a75a crypto: qat - detect PFVF collision after ACK
1fe4b2441982 media: dvb-frontends: mn88443x: Handle errors of clk_prepare_enable()
740a794e01c5 netfilter: nft_dynset: relax superfluous check on set updates
af756be29c82 rcu: Always inline rcu_dynticks_task*_{enter,exit}()
68803253822c EDAC/amd64: Handle three rank interleaving mode
1b2d422a261b PM: EM: Fix inefficient states detection
d01e847d84bf ath9k: Fix potential interrupt storm on queue reset
52e3545eefb6 media: em28xx: Don't use ops->suspend if it is NULL
f03e0624e927 cpuidle: Fix kobject memory leaks in error paths
66f7de13d156 crypto: ecc - fix CRYPTO_DEFAULT_RNG dependency
848f1f00c637 kprobes: Do not use local variable when creating debugfs file
c34bfe4204cd media: cx23885: Fix snd_card_free call on null card pointer
388cebfa7342 media: tm6000: Avoid card name truncation
86626be4b629 media: si470x: Avoid card name truncation
88315edafe39 media: radio-wl1273: Avoid card name truncation
4280b30ea9b5 media: mtk-vpu: Fix a resource leak in the error handling path of 'mtk_vpu_probe()'
e43b301cb1ba media: TDA1997x: handle short reads of hdmi info frame.
c85e591b77ca media: v4l2-ioctl: S_CTRL output the right value
e2f3608a0b50 media: dvb-usb: fix ununit-value in az6027_rc_query
0a85325fc565 media: cxd2880-spi: Fix a null pointer dereference on error handling path
4303b39b5075 media: em28xx: add missing em28xx_close_extension
375150b3aaf8 drm/amdgpu: fix warning for overflow check
8980f9d14481 arm64: mm: update max_pfn after memory hotplug
cbbf816cb7f9 drm/ttm: stop calling tt_swapin in vm_access
c39154d3d623 ath10k: sdio: Add missing BH locking around napi_schdule()
ffed64553817 ath10k: Fix missing frame timestamp for beacon/probe-resp
08fb0008d90b ath11k: Fix memory leak in ath11k_qmi_driver_event_work
4519fb910555 ath11k: fix packet drops due to incorrect 6 GHz freq value in rx status
b6a46ec871ea ath11k: Avoid race during regd updates
ac49af173c64 ath11k: fix some sleeping in atomic bugs
9833cb32066a net: dsa: rtl8366rb: Fix off-by-one bug
78fb8c999242 rxrpc: Fix _usecs_to_jiffies() by using usecs_to_jiffies()
03725f7125db crypto: caam - disable pkc for non-E SoCs
f0b40bf3e48a Bluetooth: btmtkuart: fix a memleak in mtk_hci_wmt_sync
310f581f54cb wilc1000: fix possible memory leak in cfg_scan_result()
3a95dbc8b7f2 wcn36xx: Fix Antenna Diversity Switching
ba8ba7688594 cgroup: Make rebind_subsystems() disable v2 controllers all at once
a585e04e3472 net: net_namespace: Fix undefined member in key_remove_domain()
fb4a58f5194e lockdep: Let lock_is_held_type() detect recursive read as read
38098444b787 virtio-gpu: fix possible memory allocation failure
582de9e38584 drm/v3d: fix wait for TMU write combiner flush
f0bc12b84826 objtool: Fix static_call list generation
b36ab509e181 x86/xen: Mark cpu_bringup_and_idle() as dead_end_function
abf37e855e53 objtool: Add xen_start_kernel() to noreturn list
6b72caabc470 MIPS: lantiq: dma: fix burst length for DEU
226d68fb6c0a rcu: Fix existing exp request check in sync_sched_exp_online_cleanup()
c20d8c197454 Bluetooth: fix init and cleanup of sco_conn.timeout_work
19337ed10e7e selftests/bpf: Fix strobemeta selftest regression
bc9199271c32 netfilter: conntrack: set on IPS_ASSURED if flows enters internal stream state
0c5e94679480 parisc/kgdb: add kgdb_roundup() to make kgdb work with idle polling
a1ec31a0befa parisc/unwind: fix unwinder when CONFIG_64BIT is enabled
ee75174f6ab9 erofs: don't trigger WARN() when decompression fails
50a2d1229b51 task_stack: Fix end_of_stack() for architectures with upwards-growing stack
44d4c43babb0 parisc: fix warning in flush_tlb_all
d8166a27c648 selftests/core: fix conflicting types compile error for close_range()
6f038b1a941e drm/amd/display: dcn20_resource_construct reduce scope of FPU enabled
ddfcae905238 x86/hyperv: Protect set_hv_tscchange_cb() against getting preempted
c4cfdf5fa8fc wcn36xx: Correct band/freq reporting on RX
a27095cda17d spi: bcm-qspi: Fix missing clk_disable_unprepare() on error in bcm_qspi_probe()
b917f9b94633 btrfs: do not take the uuid_mutex in btrfs_rm_device
428bb3d71e35 btrfs: reflink: initialize return value to 0 in btrfs_extent_same()
eeb96ebdc686 ACPI: AC: Quirk GK45 to skip reading _PSR
42d8c280dd65 net: annotate data-race in neigh_output()
c2e5f43db0c1 vrf: run conntrack only in context of lower/physdev for locally generated packets
b3ae170b8e3f ARM: 9136/1: ARMv7-M uses BE-8, not BE-32
b870d8a76c04 gfs2: Fix glock_hash_walk bugs
16a7981188a3 gfs2: Cancel remote delete work asynchronously
9ceac307b58e gre/sit: Don't generate link-local addr if addr_gen_mode is IN6_ADDR_GEN_MODE_NONE
25a45d399996 ARM: clang: Do not rely on lr register for stacktrace
c11aecbe0542 smackfs: use __GFP_NOFAIL for smk_cipso_doi()
32a9a8fdbab7 iwlwifi: mvm: disable RX-diversity in powersave
e658d59f0ee4 selftests/bpf: Fix perf_buffer test on system with offline cpus
d6dca066fc4f selftests: kvm: fix mismatched fclose() after popen()
9f4bd00a6ec6 PM: hibernate: Get block device exclusively in swsusp_check()
7a0b68eecb5b nvme: drop scan_lock and always kick requeue list when removing namespaces
82327823f34e nvmet-tcp: fix use-after-free when a port is removed
2659d8213d88 nvmet-rdma: fix use-after-free when a port is removed
e73574f7bc9b nvmet: fix use-after-free when a port is removed
1a10bf4c9dd3 media: allegro: ignore interrupt if mailbox is not initialized
49cc377654d9 block: remove inaccurate requeue check
451cef276fe4 mwl8k: Fix use-after-free in mwl8k_fw_state_machine()
16c2dd0ab5c2 mt76: mt7915: fix an off-by-one bound check
ea7f8803a314 tracing/cfi: Fix cmp_entries_* functions signature mismatch
5736f1dead84 workqueue: make sysfs of unbound kworker cpumask more clever
ab5c46f258c9 lib/xz: Validate the value before assigning it to an enum variable
aa5d35e350f6 lib/xz: Avoid overlapping memcpy() with invalid input with in-place decompression
cad55afe37c9 memstick: r592: Fix a UAF bug when removing the driver
2338c3501726 md: update superblock after changing rdev flags in state_store
b34ea3c91eac block: bump max plugged deferred size from 16 to 32
517feec952ae drm/msm: prevent NULL dereference in msm_gpu_crashstate_capture()
e1d7f0202a9f leaking_addresses: Always print a trailing newline
9101e2574b81 net: phy: micrel: make *-skew-ps check more lenient
832fad367cac drm/amdkfd: fix resume error when iommu disabled in Picasso
65c84e09e8d4 ACPI: battery: Accept charges over the design capacity as full
b60086601832 iov_iter: Fix iov_iter_get_pages{,_alloc} page fault return value
219df0f6bad4 mmc: moxart: Fix reference count leaks in moxart_probe
38608d32adf0 ath: dfs_pattern_detector: Fix possible null-pointer dereference in channel_detector_create()
3c2434d9a6c6 tracefs: Have tracefs directories not set OTH permission bits by default
8524501a0e7a net-sysfs: try not to restart the syscall if it will fail eventually
b94e5bd540f4 media: usb: dvd-usb: fix uninit-value bug in dibusb_read_eeprom_byte()
e3bc3e114135 media: ipu3-imgu: VIDIOC_QUERYCAP: Fix bus_info
b499d4057160 media: ipu3-imgu: imgu_fmt: Handle properly try
272e54604cf7 ACPICA: Avoid evaluating methods too early during system resume
f09e1a2d2c74 fs/proc/uptime.c: Fix idle time reporting in /proc/uptime
6e242c557ad5 ipmi: Disable some operations during a panic
1f38e5e803df media: rcar-csi2: Add checking to rcsi2_start_receiver()
3d5575b3f536 brcmfmac: Add DMI nvram filename quirk for Cyberbook T116 tablet
7d54f52d8fdb rtw88: fix RX clock gate setting while fifo dump
d506a3d60df9 ia64: don't do IA64_CMPXCHG_DEBUG without CONFIG_PRINTK
2709971f9f60 media: mceusb: return without resubmitting URB in case of -EPROTO error.
40b8e7dee544 media: imx: set a media_device bus_info string
a62edd8390ec media: s5p-mfc: Add checking to s5p_mfc_probe().
b570e36a779c media: s5p-mfc: fix possible null-pointer dereference in s5p_mfc_probe()
f4037b9b1062 media: uvcvideo: Set unique vdev name based in type
d9349416402d media: uvcvideo: Return -EIO for control errors
2052c4cebce9 media: uvcvideo: Set capability in s_param
0c91bb4fbde4 media: stm32: Potential NULL pointer dereference in dcmi_irq_thread()
309ea2248d0a media: atomisp: Fix error handling in probe
f4c652bd3506 media: netup_unidvb: handle interrupt properly according to the firmware
09ee09359af9 media: mt9p031: Fix corrupted frame after restarting stream
aded39ff1f7a ath10k: high latency fixes for beacon buffer
461a71a1a62a ath11k: Change DMA_FROM_DEVICE to DMA_TO_DEVICE when map reinjected packets
43ab64578836 ath11k: add handler for scan event WMI_SCAN_EVENT_DEQUEUED
97890f36333d ath11k: Avoid reg rules update during firmware recovery
2114f80889d8 drm/amdgpu: Fix MMIO access page fault
68ac723fb17e fscrypt: allow 256-bit master keys with AES-256-XTS
f526d948c38d mwifiex: Properly initialize private structure on interface type changes
bab15174ec2f mwifiex: Run SET_BSS_MODE when changing from P2P to STATION vif-type
7ca1711d59f1 x86: Increase exception stack sizes
1c04dabbd1aa ath11k: Align bss_chan_info structure with firmware
3fac6feca95f smackfs: Fix use-after-free in netlbl_catmap_walk()
02ddf26d849d rcu-tasks: Move RTGS_WAIT_CBS to beginning of rcu_tasks_kthread() loop
8d433ab5c8c2 net: sched: update default qdisc visibility after Tx queue cnt changes
28118dcc871e locking/lockdep: Avoid RCU-induced noinstr fail
b92a5df2c7ad MIPS: lantiq: dma: reset correct number of channel
5af57ce8a615 MIPS: lantiq: dma: add small delay after reset
396e302cc835 platform/x86: wmi: do not fail if disabling fails
7f43cda650d5 rcutorture: Avoid problematic critical section nesting on PREEMPT_RT
7987f31e54a2 drm/panel-orientation-quirks: add Valve Steam Deck
c10465f6d620 Bluetooth: fix use-after-free error in lock_sock_nested()
4dfba42604f0 Bluetooth: sco: Fix lock_sock() blockage by memcpy_from_msg()
509ae4a4f074 drm: panel-orientation-quirks: Add quirk for the Samsung Galaxy Book 10.6
62b90d7eeb6d drm: panel-orientation-quirks: Add quirk for KD Kurio Smart C15200 2-in-1
780fff2c75f0 drm: panel-orientation-quirks: Update the Lenovo Ideapad D330 quirk (v2)
6758d6651627 dma-buf: WARN on dmabuf release with pending attachments
890e4edcecfa power: supply: max17042_battery: Clear status bits in interrupt handler
898622adb7e9 USB: chipidea: fix interrupt deadlock
6edf4cffe1b4 USB: iowarrior: fix control-message timeouts
0e71591e916b most: fix control-message timeouts
edc546625456 serial: 8250: fix racy uartclk update
5f31af4e78b4 USB: serial: keyspan: fix memleak on probe errors
ab4755ea9114 iio: ad5770r: make devicetree property reading consistent
638462060859 iio: dac: ad5446: Fix ad5622_write() return value
a4e7a8c4321f coresight: cti: Correct the parameter for pm_runtime_put
46709163a54a pinctrl: core: fix possible memory leak in pinctrl_enable()
6bc8317b8cd5 quota: correct error number in free_dqentry()
ceeb0a8a8716 quota: check block number when reading the block in quota file
bc1274df3ff4 PCI: aardvark: Fix support for PCI_ROM_ADDRESS1 on emulated bridge
e2e8961fbc3a PCI: aardvark: Set PCI Bridge Class Code to PCI Bridge
bd5d982822cf PCI: aardvark: Fix support for PCI_BRIDGE_CTL_BUS_RESET on emulated bridge
2b99c6fb65b4 PCI: aardvark: Fix support for bus mastering and PCI_COMMAND on emulated bridge
4bb5399c1c73 PCI: aardvark: Read all 16-bits from PCIE_MSI_PAYLOAD_REG
2ad10bbf8477 PCI: aardvark: Fix return value of MSI domain .alloc() method
6a0da19be5eb PCI: aardvark: Fix configuring Reference clock
5fb031fcd423 PCI: aardvark: Fix reporting Data Link Layer Link Active
2b861523d7ce PCI: aardvark: Do not unmask unused interrupts
1085ee5236ef PCI: aardvark: Fix checking for link up via LTSSM state
3bcbace714bb PCI: aardvark: Do not clear status bits of masked interrupts
c1a8fb237470 PCI: cadence: Add cdns_plat_pcie_probe() missing return
adcfc317d3f5 PCI: pci-bridge-emul: Fix emulation of W1C bits
4fd9f0509a14 ovl: fix use after free in struct ovl_aio_req
af7d25d7853c xen/balloon: add late_initcall_sync() for initial ballooning done
96e7880a432a ALSA: mixer: fix deadlock in snd_mixer_oss_set_volume
694c0c84a6ec ALSA: mixer: oss: Fix racy access to slots
cd0b29a89bc2 ifb: fix building without CONFIG_NET_CLS_ACT
47462c5e600f serial: core: Fix initializing and restoring termios speed
c1e6e42740cb ring-buffer: Protect ring_buffer_reset() from reentrancy
93fccb1f8939 powerpc/85xx: Fix oops when mpc85xx_smp_guts_ids node cannot be found
875609ad8020 can: j1939: j1939_can_recv(): ignore messages with invalid source address
c3cb7b5c9d14 can: j1939: j1939_tp_cmd_recv(): ignore abort message in the BAM transport
9f9d6d391ff5 KVM: nVMX: Query current VMCS when determining if MSR bitmaps are in use
bd37419f4fde KVM: arm64: Extract ESR_ELx.EC only
924955df37f2 power: supply: max17042_battery: use VFSOC for capacity when no rsns
f2feac81edcd power: supply: max17042_battery: Prevent int underflow in set_soc_threshold
5720436bc7ba mtd: rawnand: socrates: Keep the driver compatible with on-die ECC engines
7e867f8bb3fe soc: fsl: dpio: use the combined functions to protect critical zone
55c97165adf6 soc: fsl: dpio: replace smp_processor_id with raw_smp_processor_id
62bd9eac5fa2 signal/mips: Update (_save|_restore)_fp_context to fail with -EFAULT
5e63b85a489d memory: renesas-rpc-if: Correct QSPI data transfer in Manual mode
4fbecebb31c7 signal: Remove the bogus sigkill_pending in ptrace_stop
5c6fedce4a6a RDMA/qedr: Fix NULL deref for query_qp on the GSI QP
30cdf5035769 perf/x86/intel/uncore: Fix Intel ICX IIO event constraints
aef1a67fbf49 perf/x86/intel/uncore: Support extra IMC channel on Ice Lake server
da8b3b95c57f rsi: Fix module dev_oper_mode parameter description
d69ffec3aa22 rsi: fix rate mask set leading to P2P failure
41d97e0360e9 rsi: fix key enabled check causing unwanted encryption for vap_id > 0
46752a7aed91 rsi: fix occasional initialisation failure with BT coex
a194e9c721d9 wcn36xx: handle connection loss indication
701cf28e019d libata: fix checking of DMA state
890e416c026e mwifiex: Try waking the firmware until we get an interrupt
d59d2f7af7e0 mwifiex: Read a PCI register after writing the TX ring write pointer
daccf40320d4 PM: sleep: Do not let "syscore" devices runtime-suspend during system transitions
1c422d63010a wcn36xx: Fix (QoS) null data frame bitrate/modulation
c1b8ad661ff1 wcn36xx: Fix tx_status mechanism
3d62e1c9bc55 wcn36xx: Fix HT40 capability for 2Ghz band
c044f34ca22f ifb: Depend on netfilter alternatively to tc
c7400e2ec8de evm: mark evm_fixmode as __ro_after_init
eab090dfcb1d rtl8187: fix control-message timeouts
73b79ada4c1c PCI: Mark Atheros QCA6174 to avoid bus reset
30182b8c1388 ath10k: fix division by zero in send path
ce560076091a ath10k: fix control-message timeout
1336b2af8adc ath6kl: fix control-message timeout
f34487c7f223 ath6kl: fix division by zero in send path
fd1e4d8c61ef mwifiex: fix division by zero in fw download path
a5d8d76710e8 EDAC/sb_edac: Fix top-of-high-memory value for Broadwell/Haswell
31f5c925464a regulator: dt-bindings: samsung,s5m8767: correct s5m8767,pmic-buck-default-dvs-idx property
02ecf56faa56 regulator: s5m8767: do not use reset value as DVS voltage if GPIO DVS is disabled
5b7e3bb16310 hwmon: (pmbus/lm25066) Add offset coefficients
db04fb4111e6 selinux: fix race condition when computing ocontext SIDs
a09a5f4c075d ia64: kprobes: Fix to pass correct trampoline address to the handler
2f65b76c4445 KVM: VMX: Unregister posted interrupt wakeup handler on hardware unsetup
b4a4c9dc4407 btrfs: call btrfs_check_rw_degradable only if there is a missing device
b406439afe73 btrfs: fix lost error handling when replaying directory deletes
8992aab294cb btrfs: clear MISSING device status bit in btrfs_close_one_device
a99da5b68080 rds: stop using dmapool
0bfb1c1a16ff net/smc: Correct spelling mistake to TCPF_SYN_RECV
9b86eb2f34d1 net/smc: Fix smc_link->llc_testlink_time overflow
2167a9a12cc9 nfp: bpf: relax prog rejection for mtu check through max_pkt_offset
c9a7d5fe1552 vmxnet3: do not stop tx queues after netif_device_detach()
9813218e96db r8169: Add device 10ec:8162 to driver r8169
ad6a2a1e566f nvmet-tcp: fix header digest verification
c8270435cfb4 block: schedule queue restart after BLK_STS_ZONE_RESOURCE
7d1fb5c12cc0 drm: panel-orientation-quirks: Add quirk for GPD Win3
4d41059b9e23 watchdog: Fix OMAP watchdog early handling
b8cb3f4ffa3a net: multicast: calculate csum of looped-back and forwarded packets
07f7a1864929 spi: spl022: fix Microwire full duplex mode
db1d9d102ee4 nvmet-tcp: fix a memory leak when releasing a queue
0e86b727a94f xen/netfront: stop tx queues during live migration
69b14e23dfc3 gpio: mlxbf2.c: Add check for bgpio_init failure
b92ac0a9ca8f bpf: Prevent increasing bpf_jit_limit above max
a3564fb7b0bf bpf: Define bpf_jit_alloc_exec_limit for arm64 JIT
0ad7f317b933 fcnal-test: kill hanging ping/nettest binaries on cleanup
bc3e73ebb79b drm: panel-orientation-quirks: Add quirk for Aya Neo 2021
4002f3944d41 mmc: winbond: don't build on M68K
a1ea41f91dcb reset: socfpga: add empty driver allowing consumers to probe
a90398438517 ARM: dts: sun7i: A20-olinuxino-lime2: Fix ethernet phy-mode
f03e04bb9d11 hyperv/vmbus: include linux/bitops.h
6491ccdde2c5 sfc: Don't use netif_info before net_device setup
e519acba2fae sfc: Export fibre-specific supported link modes
7986fdbbe009 cavium: Fix return values of the probe function
ad01685177ce mISDN: Fix return values of the probe function
a6cb5e09e16a scsi: qla2xxx: Fix unmap of already freed sgl
77fee241e6eb scsi: qla2xxx: Return -ENOMEM if kzalloc() fails
940783d08d15 cavium: Return negative value when pci_alloc_irq_vectors() fails
75710d583cc4 ALSA: hda/realtek: Fixes HP Spectre x360 15-eb1xxx speakers
92556e3c2b2e ASoC: soc-core: fix null-ptr-deref in snd_soc_del_component_unlocked()
73199aadcd5c x86/irq: Ensure PI wakeup handler is unregistered before module unload
df8a74fc15ea x86/cpu: Fix migration safety with X86_BUG_NULL_SEL
115810a26527 x86/sme: Use #define USE_EARLY_PGTABLE_L5 in mem_encrypt_identity.c
b05eea1bcb36 fuse: fix page stealing
d81e341fb13a ext4: refresh the ext4_ext_path struct after dropping i_data_sem.
4089432dc030 ext4: ensure enough credits in ext4_ext_shift_path_extents
aa21b7e3d320 ext4: fix lazy initialization next schedule time computation in more granular unit
782025948bc6 ALSA: timer: Unconditionally unlink slave instances, too
b980ce4ebb8b ALSA: timer: Fix use-after-free problem
7c6fd525044c ALSA: synth: missing check for possible NULL after the call to kstrdup
ecd536c57ab7 ALSA: hda: Free card instance properly at probe errors
f503a25a3de3 ALSA: usb-audio: Add registration quirk for JBL Quantum 400
9259518fab5b ALSA: usb-audio: Line6 HX-Stomp XL USB_ID for 48k-fixed quirk
3c7a3f2d79f7 ALSA: line6: fix control and interrupt message timeouts
21f9c02a4ded ALSA: 6fire: fix control and bulk message timeouts
0e4c288a74a3 ALSA: ua101: fix division by zero at probe
4f9e9c389e10 ALSA: hda/realtek: Add quirk for HP EliteBook 840 G7 mute LED
62b189f9f3c5 ALSA: hda/realtek: Add quirk for ASUS UX550VE
a770cb746bdd ALSA: hda/realtek: Add a quirk for Acer Spin SP513-54N
88bcfcc50d0e ALSA: hda/realtek: Headset fixup for Clevo NH77HJQ
0288f838a2e3 ALSA: hda/realtek: Add quirk for Clevo PC70HS
3d0e5d2eaff1 ALSA: hda/realtek: Add a quirk for HP OMEN 15 mute LED
f0750e98010a ALSA: hda/realtek: Fix mic mute LED for the HP Spectre x360 14
a2b3dbc9fd24 media: v4l2-ioctl: Fix check_ext_ctrls
151eff588043 media: ir-kbd-i2c: improve responsiveness of hauppauge zilog receivers
71a137376b64 media: rkvdec: Support dynamic resolution changes
b2b5126a777b media: ite-cir: IR receiver stop working after receive overflow
39275d2ec6ff media: rkvdec: Do not override sizeimage for output format
949c5b6daa75 crypto: s5p-sss - Add error handling in s5p_aes_probe()
9ac25cd2f4ec firmware/psci: fix application of sizeof to pointer
dd189feebaf8 tpm: Check for integer overflow in tpm2_map_response_body()
32498b8889c8 parisc: Fix ptrace check on syscall return
15b4142aea0a parisc: Fix set_fixmap() on PA1.x CPUs
284ad310542f exfat: fix incorrect loading of i_blocks for large files
823b487cfbfc mmc: dw_mmc: Dont wait for DRTO on Write RSP error
7b24b669d3f9 mmc: mtk-sd: Add wait dma stop done flow
c1d31266de3d scsi: qla2xxx: Fix use after free in eh_abort path
37b15db1d87c scsi: qla2xxx: Fix kernel crash when accessing port_speed sysfs file
06cc8187dbb6 scsi: core: Remove command size deduction from scsi_setup_scsi_cmnd()
9d623bf1736b ocfs2: fix data corruption on truncate
39264eaa6d44 libata: fix read log timeout value
ab0a06769e69 Input: i8042 - Add quirk for Fujitsu Lifebook T725
8c341d11c8bd Input: elantench - fix misreporting trackpoint coordinates
d1eb42de7cf9 Input: iforce - fix control-message timeout
afbec52fbce0 binder: use cred instead of task for getsecid
0d9f4ae7cd6f binder: use cred instead of task for selinux checks
bd9cea41ac6e binder: use euid from cred instead of using task
7f1d5a1a7d80 usb: xhci: Enable runtime-pm by default on AMD Yellow Carp platform
ff32302687fd xhci: Fix USB 3.1 enumeration issues by increasing roothub power-on-good delay

(From OE-Core rev: b0c843e4f1e7d255b5be1e4a0b2516a38256e25e)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-09 10:33:25 +00:00
Bruce Ashfield
11a689ca70 linux-yocto/5.15: update to v5.15.5
Updating linux-yocto/5.15 to the latest korg -stable release that comprises
the following commits:

f00712e27083 Linux 5.15.5
e6818963e0b0 ALSA: hda: hdac_stream: fix potential locking issue in snd_hdac_stream_assign()
01085644673f ALSA: hda: hdac_ext_stream: fix potential locking issues
faed25ba98db x86/Kconfig: Fix an unused variable error in dell-smm-hwmon
fa5f8606353f net: add and use skb_unclone_keeptruesize() helper
f14c85733154 btrfs: update device path inode time instead of bd_inode
22efa065ff01 fs: export an inode_update_time helper
148ed0e75c5e ice: Delete always true check of PF pointer
0190a2f88823 ice: Fix VF true promiscuous mode
d87edd01ce22 usb: max-3421: Use driver data instead of maintaining a list of bound devices
11a8768144ea ASoC: rsnd: fixup DMAEngine API
330651b2c0d7 ASoC: DAPM: Cover regression by kctl change notification fix
83c8ab8503ad selinux: fix NULL-pointer dereference when hashtab allocation fails
439b99314b63 bpf: Forbid bpf_ktime_get_coarse_ns and bpf_timer_* in tracing progs
354313514e97 RDMA/netlink: Add __maybe_unused to static inline in C file
556d59293a2a hugetlbfs: flush TLBs correctly after huge_pmd_unshare
686bf792032a signal: Replace force_fatal_sig with force_exit_sig when in doubt
7614e046ed48 signal: Don't always set SA_IMMUTABLE for forced signals
02d28b5fdb41 signal: Replace force_sigsegv(SIGSEGV) with force_fatal_sig(SIGSEGV)
3e61002d0597 signal/x86: In emulate_vsyscall force a signal instead of calling do_exit
3c4d5a38ca93 signal/vm86_32: Properly send SIGSEGV when the vm86 state cannot be saved.
1998d85c83e3 signal/sparc32: In setup_rt_frame and setup_fram use force_fatal_sig
905e8609419b signal/sparc32: Exit with a fatal signal when try_to_clear_window_buffer fails
58484ab427f1 signal/s390: Use force_sigsegv in default_trap_handler
c7b7868dba81 signal/powerpc: On swapcontext failure force SIGSEGV
fe67da49f784 exit/syscall_user_dispatch: Send ordinary signals on failure
110ae07d2268 signal: Implement force_fatal_sig
21d727a394f0 drm/amd/pm: avoid duplicate powergate/ungate setting
ca28919fe90d drm/amdgpu: fix set scaling mode Full/Full aspect/Center not works on vga and dvi connectors
2e3eb81884de drm/i915: Fix type1 DVI DP dual mode adapter heuristic for modern platforms
a2dda2817a9a drm/i915/dp: Ensure max link params are always valid
72704e07a003 drm/i915/dp: Ensure sink rate values are always valid
c3d06f6067bf drm/nouveau: clean up all clients on device removal
0b1a35d63995 drm/nouveau: use drm_dev_unplug() during device removal
4ee6807a1ad7 drm/nouveau: Add a dedicated mutex for the clients list
4f8e469a2384 drm/prime: Fix use after free in mmap with drm_gem_ttm_mmap
59fb48db328b drm/udl: fix control-message timeout
f5b5ea165440 drm/i915/guc: Unwind context requests in reverse order
413e603c1447 drm/i915/guc: Don't drop ce->guc_active.lock when unwinding context
2a45b1c66ccc drm/i915/guc: Workaround reset G2H is received after schedule done G2H
ad583a961905 drm/i915/guc: Don't enable scheduling on a banned context, guc_id invalid, not registered
519bd9107ef6 drm/i915/guc: Fix outstanding G2H accounting
296188ce0360 drm/amd/display: Limit max DSC target bpp for specific monitors
d4b7d7b80bb6 drm/amd/display: Update swizzle mode enums
76025be187d2 mac80211: drop check for DONT_REORDER in __ieee80211_select_queue
60a3a889efe5 mac80211: fix radiotap header generation
5a9b671c8d74 cfg80211: call cfg80211_stop_ap when switch from P2P_GO type
a1c9455f10be parisc/sticon: fix reverse colors
61b26492e7d1 net: stmmac: Fix signed/unsigned wreckage
7c48010ba348 fs: handle circular mappings correctly
47e6f9f69153 btrfs: fix memory ordering between normal and ordered work functions
cd198aea9e8d Drivers: hv: balloon: Use VMBUS_RING_SIZE() wrapper for dm_ring_size
d8f574fb5eb2 net: stmmac: socfpga: add runtime suspend/resume callback for stratix10 platform
37330f37f666 spi: fix use-after-free of the add_lock mutex
77a5baefe1be udf: Fix crash after seekdir
c3b0ab956d90 printk: restore flushing of NMI buffers on remote CPUs after NMI backtraces
76b46fa3f8d9 drm/cma-helper: Release non-coherent memory with dma_free_noncoherent()
94cc0809e525 KVM: nVMX: don't use vcpu->arch.efer when checking host state on nested state load
679a6ffd07b6 KVM: SEV: Disallow COPY_ENC_CONTEXT_FROM if target has created vCPUs
90342e02b471 fbdev: Prevent probing generic drivers if a FB is already registered
1560763677ff block: Check ADMIN before NICE for IOPRIO_CLASS_RT
520f8ac91f2b s390/dump: fix copying to user-space of swapped kdump oldmem
c0849d3157a8 s390/kexec: fix memory leak of ipl report buffer
cc8b2e0d5bd7 s390/vdso: filter out -mstack-guard and -mstack-size
44b6cc4367cc s390/boot: simplify and fix kernel memory layout setup
a4c7fe4409c5 s390/setup: avoid reserving memory above identity mapping
f07220f7d568 pinctrl: ralink: include 'ralink_regs.h' in 'pinctrl-mt7620.c'
4ac27afaf79d scsi: qla2xxx: Fix mailbox direction flags in qla2xxx_get_adapter_id()
e449d2e69ad7 ata: libata: add missing ata_identify_page_supported() calls
08a667e440d7 ata: libata: improve ata_read_log_page() error message
4ca2a26feeb4 Revert "parisc: Reduce sigreturn trampoline to 3 instructions"
586afe2b8420 Revert "drm/i915/tgl/dsi: Gate the ddi clocks after pll mapping"
de04ee7d7d54 powerpc/8xx: Fix pinned TLBs with CONFIG_STRICT_KERNEL_RWX
54e11a4e9df6 powerpc/xive: Change IRQ domain to a tree domain
7cc16be1ae66 powerpc/signal32: Fix sigset_t copy
c897c53642b9 KVM: x86/xen: Fix get_attr of KVM_XEN_ATTR_TYPE_SHARED_INFO
b22ef13e8e3a KVM: x86/mmu: include EFER.LMA in extended mmu role
c3168ef1f12d KVM: x86: Fix uninitialized eoi_exit_bitmap usage in vcpu_load_eoi_exitmap()
5969e2435cbd KVM: x86: Assume a 64-bit hypercall for guests with protected state
8823ea27fff6 x86/hyperv: Fix NULL deref in set_hv_tscchange_cb() if Hyper-V setup fails
60eec41ddb92 x86/sgx: Fix free page accounting
2495decce774 x86/boot: Pull up cmdline preparation and early param parsing
1e0d346be1cc mm/damon/dbgfs: fix missed use of damon_dbgfs_lock
cda10b34ecfb mm/damon/dbgfs: use '__GFP_NOWARN' for user-specified size buffer allocation
4dfddb52abc2 kmap_local: don't assume kmap PTEs are linear arrays in memory
b5069d44e2fb hugetlb, userfaultfd: fix reservation restore on userfaultfd error
11138d734963 mm: kmemleak: slob: respect SLAB_NOLEAKTRACE flag
e73114d9334e shm: extend forced shm destroy to support objects from several IPC nses
72bfd835ae71 ipc: WARN if trying to remove ipc object which is absent
9404c4145542 tipc: check for null after calling kmemdup
660859f0158c hexagon: clean up timer-regs.h
c0247013173c hexagon: export raw I/O routines for modules
17071fdcd01d pstore/blk: Use "%lu" to format unsigned long
007ebe2d61d4 Revert "mark pstore-blk as broken"
a705254c71fd tun: fix bonding active backup with arp monitoring
9e6b4c36e9ac dmaengine: remove debugfs #ifdef
6ffad92d05b0 blk-cgroup: fix missing put device in error path from blkg_conf_pref()
4220cc6e113c s390/kexec: fix return code handling
737143025c18 perf/x86/intel/uncore: Fix IIO event constraints for Snowridge
d55aa2391d01 perf/x86/intel/uncore: Fix IIO event constraints for Skylake Server
7955e4aca73f perf/x86/intel/uncore: Fix filter_tid mask for CHA events on Skylake Server
db66f2829caa pinctrl: qcom: sm8350: Correct UFS and SDC offsets
13d31d416cb3 pinctrl: qcom: sdm845: Enable dual edge errata
ad03b901d03b powerpc/pseries: Fix numa FORM2 parsing fallback code
ad9ade6c946e powerpc/pseries: rename numa_dist_table to form2_distances
a0995ebe4e1f powerpc: clean vdso32 and vdso64 directories
a7e700257135 KVM: PPC: Book3S HV: Use GLOBAL_TOC for kvmppc_h_set_dabr/xdabr()
9c2ff78cf833 riscv: fix building external modules
35d97fd89c12 tools build: Fix removal of feature-sync-compare-and-swap feature detection
20540cb666a6 ptp: ocp: Fix a couple NULL vs IS_ERR() checks
4d42da0c86b8 e100: fix device suspend/resume
ed35e950d8e5 NFC: add NCI_UNREG flag to eliminate the race
8a9c61c3ef18 NFC: reorder the logic in nfc_{un,}register_device
96a209038a99 NFC: reorganize the functions in nci_request
7a5c8a68f38f i40e: Fix display error code in dmesg
6c9c9f48b462 i40e: Fix creation of first queue by omitting it if is not power of two
593015973591 i40e: Fix warning message and call stack during rmmod i40e driver
0bccc44a54e8 RDMA/mlx4: Do not fail the registration on port stats
29148fffe93c i40e: Fix ping is lost after configuring ADq on VF
7299cd74718e i40e: Fix changing previously set num_queue_pairs for PFs
e91e8427a1e1 i40e: Fix NULL ptr dereference on VSI filter sync
fdd56291046c i40e: Fix correct max_pkt_size on VF RX queue
0f810d06b507 net: virtio_net_hdr_to_skb: count transport header in UFO
32d468622474 net: dpaa2-eth: fix use-after-free in dpaa2_eth_remove
7cc1c7da94ea net: sched: act_mirred: drop dst for the direction from egress to ingress
d7d992cc3a7b net: mvmdio: fix compilation warning
39443eb70e29 scsi: ufs: core: Fix another task management completion race
bede57a71a68 scsi: ufs: core: Fix task management completion timeout race
bcc0e3175a97 scsi: core: sysfs: Fix hang when device state is set via sysfs
c36baca06efa scsi: ufs: core: Improve SCSI abort handling
7fbdbd4fe35b net/mlx5: E-Switch, return error if encap isn't supported
2c3b6e820d67 net/mlx5: Lag, update tracker when state change event received
486e8de6e233 net/mlx5e: CT, Fix multiple allocations and memleak of mod acts
8b45a377b582 net/mlx5: E-Switch, rebuild lag only when needed
a51a6da375d8 net/mlx5: Update error handler for UCTX and UMEM
2ae381570806 net/mlx5e: nullify cq->dbg pointer in mlx5_debug_cq_remove()
158ec85d360e net/mlx5: E-Switch, Fix resetting of encap mode when entering switchdev
a49a9b92fcd2 net/mlx5e: Wait for concurrent flow deletion during neigh/fib events
ebeda7a9528a net/mlx5e: kTLS, Fix crash in RX resync flow
b70e072feffa RDMA/core: Set send and receive CQ before forwarding to the driver
9fe0ba31271c btrfs: make 1-bit bit-fields of scrub_page unsigned int
67fb5eac4063 udp: Validate checksum in udp_read_sock()
b4a677ffb67e platform/x86: think-lmi: Abort probe on analyze failure
6e6e4fce53fa platform/x86: hp_accel: Fix an error handling path in 'lis3lv02d_probe()'
871ee7e815fb gpio: rockchip: needs GENERIC_IRQ_CHIP to fix build errors
3d0f4ae1ad75 mips: lantiq: add support for clk_get_parent()
114404d22ee0 mips: bcm63xx: add support for clk_get_parent()
21e27ed8ce6b MIPS: generic/yamon-dt: fix uninitialized variable error
a5d1d3522232 bpf: Fix toctou on read-only map's constant scalar tracking
4d1834f39252 iavf: Restore VLAN filters after link down
cbb81563f5d4 iavf: Fix for setting queues to 0
366c1fd41689 iavf: Fix for the false positive ASQ/ARQ errors while issuing VF reset
9200f8c8600e iavf: validate pointers
99744c938f96 iavf: prevent accidental free of filter structure
f72da5a83a0d iavf: Fix failure to exit out from last all-multicast mode
c3db4fffb364 iavf: don't clear a lock we don't hold
9ef6589cac9a iavf: free q_vectors before queues in iavf_disable_vf
fb2be87cc330 iavf: check for null in iavf_fix_features
68d4274034e6 iavf: Fix return of set the new channel count
10c22d9519f3 NFSD: Fix exposure in nfsd4_decode_bitmap()
f6218db54351 net/smc: Make sure the link_id is unique
17b2c2e70d20 sock: fix /proc/net/sockstat underflow in sk_clone_lock()
95fe8904bcd6 tipc: only accept encrypted MSG_CRYPTO msgs
aff97b89a38e bnxt_en: reject indirect blk offload when hw-tc-offload is off
61566668ef3f net: bnx2x: fix variable dereferenced before check
aa67407ebb6d selftests: gpio: fix gpio compiling error
05a48cba2459 net: ipa: disable HOLB drop when updating timer
0f3de700c695 net: ipa: HOLB register sometimes must be written twice
e10e13319025 mac80211: fix monitor_sdata RCU/locking assertions
1d17f6179182 nl80211: fix radio statistics in survey dump
85f4a563c9e4 tracing: Add length protection to histogram string copies
0efd57d82ece tcp: Fix uninitialized access in skb frags array for Rx 0cp.
f4d1328e6e30 net/ipa: ipa_resource: Fix wrong for loop range
e9fd8938118a selftests: net: switch to socat in the GSO GRE test
f49175809074 samples/bpf: Fix incorrect use of strlen in xdp_redirect_cpu
ff12332ec614 samples/bpf: Fix summary per-sec stats in xdp_sample_user
bd4542006641 bpf: Fix inner map state pruning regression.
8369b01aa5a6 drm/nouveau: hdmigv100.c: fix corrupted HDMI Vendor InfoFrame
07b486f1a8fe perf tests: Remove bash construct from record+zstd_comp_decomp.sh
99643bdc6ff1 perf bench futex: Fix memory leak of perf_cpu_map__new()
ab7c3d8d81c5 perf bpf: Avoid memory leak from perf_env__insert_btf()
05e13b4a53b5 tracing/histogram: Do not copy the fixed-size char array field over the field size
04096d1b66cf blkcg: Remove extra blkcg_bio_issue_init
eda355db53c4 perf/x86/vlbr: Add c->flags to vlbr event constraints
512e21c150c1 sched/fair: Prevent dead task groups from regaining cfs_rq's
e4511d8dc256 sched/core: Mitigate race cpus_share_cache()/update_top_cache_domain()
725b5c9984cc MIPS: boot/compressed/: add __bswapdi2() to target for ZSTD decompression
1e3220ec23d9 mips: BCM63XX: ensure that CPU_SUPPORTS_32BIT_KERNEL is set
c0c51afb2e8c KVM: arm64: Fix host stage-2 finalization
595e359751d6 clk: qcom: gcc-msm8996: Drop (again) gcc_aggre1_pnoc_ahb_clk
c4584223f5de clk/ast2600: Fix soc revision for AHB
3024018bb2df clk: ingenic: Fix bugs with divided dividers
680a0c6332c4 f2fs: fix incorrect return value in f2fs_sanity_check_ckpt()
9c9afedf3ac5 f2fs: compress: disallow disabling compress on non-empty compressed file
3d937f901cea sh: define __BIG_ENDIAN for math-emu
d21ad7abba75 sh: math-emu: drop unused functions
c29506bfcf8b sh: fix kconfig unmet dependency warning for FRAME_POINTER
7228ed3293e0 f2fs: fix wrong condition to trigger background checkpoint correctly
9ad4e63e3cca f2fs: fix to use WHINT_MODE
0dfaa04f0161 f2fs: fix up f2fs_lookup tracepoints
6d28f6ba633d maple: fix wrong return value of maple_bus_init().
b80a7977299a sh: check return code of request_irq
23274bd8d7ad powerpc/8xx: Fix Oops with STRICT_KERNEL_RWX without DEBUG_RODATA_TEST
2f4dede20cdf powerpc/dcr: Use cmplwi instead of 3-argument cmpli
3c0c79d1261e iommu/dart: Initialize DART_STREAMS_ENABLE
c4ea7b0c6180 clk: at91: sama7g5: remove prescaler part of master clock
58fa50de595f ALSA: usb-audio: fix null pointer dereference on pointer cs_desc
16721797dcef ALSA: gus: fix null pointer dereference on pointer block
3f8da4b87f13 arm64: dts: qcom: Fix node name of rpm-msg-ram device nodes
93d0049268cd ARM: dts: qcom: fix memory and mdio nodes naming for RB3011
72b4e7b7beba powerpc/5200: dts: fix memory node unit name
619ce4646397 memory: tegra20-emc: Add runtime dependency on devfreq governor module
bf76f56a7fc7 scsi: lpfc: Allow fabric node recovery if recovery is in progress before devloss
28de48a7cea4 scsi: lpfc: Fix link down processing to address NULL pointer dereference
dbebf865b323 scsi: lpfc: Fix use-after-free in lpfc_unreg_rpi() routine
21903226c724 RDMA/core: Use kvzalloc when allocating the struct ib_port
a9d2d23b5032 iio: imu: st_lsm6dsx: Avoid potential array overflow in st_lsm6dsx_set_odr()
26af3ab9325e scsi: target: Fix alua_tg_pt_gps_count tracking
a2489880354d scsi: target: Fix ordered tag handling
66523553fa62 scsi: scsi_debug: Fix out-of-bound read in resp_report_tgtpgs()
5b8bed6464ad scsi: scsi_debug: Fix out-of-bound read in resp_readcap16()
5777ab62b21d MIPS: sni: Fix the build
5c34486f0470 tty: tty_buffer: Fix the softlockup issue in flush_to_ldisc
0a85b47cd449 iommu/vt-d: Do not falsely log intel_iommu is unsupported kernel option
0a2ddbfd65b3 ALSA: ISA: not for M68K
eadee7f95b5d ARM: dts: ls1021a-tsn: use generic "jedec,spi-nor" compatible for flash
8e6920f7ac96 ARM: dts: ls1021a: move thermal-zones node out of soc/
8eab383460c4 ASoC: rt5682: fix a little pop while playback
065334f6640d usb: host: ohci-tmio: check return value after calling platform_get_resource()
31340f013582 ARM: dts: omap: fix gpmc,mux-add-data type
1f45b73679b9 ALSA: usb-audio: Add support for the Pioneer DJM 750MK2 Mixer/Soundcard
98b134cc4417 HID: multitouch: disable sticky fingers for UPERFECT Y
c37f9ee2bb9f firmware_loader: fix pre-allocated buf built-in firmware use
966e4def9001 ASoC: Intel: sof_sdw: add missing quirk for Dell SKU 0A45
1c6bd253dc9c ASoC: Intel: soc-acpi: add missing quirk for TGL SDCA single amp
2e46a58adfc6 ALSA: intel-dsp-config: add quirk for APL/GLK/TGL devices based on ES8336 codec
fed89b5a4c18 arm64: dts: imx8mm-kontron: Fix reset delays for ethernet PHY
d29faaf81685 scsi: smartpqi: Add controller handshake during kdump
27490ae6a85a scsi: advansys: Fix kernel pointer leak
7f37066e0d13 ASoC: nau8824: Add DMI quirk mechanism for active-high jack-detect
94ca62033dfb ASoC: rt5651: Use IRQF_NO_AUTOEN when requesting the IRQ
0864d7f686f9 ASoC: es8316: Use IRQF_NO_AUTOEN when requesting the IRQ
735939e2c8a7 clk: imx: imx6ul: Move csi_sel mux to correct base register
daf932eae1fa ALSA: usb-audio: disable implicit feedback sync for Behringer UFX1204 and UFX1604
e15de347faf4 scsi: core: Fix scsi_mode_sense() buffer length handling
ae893767385a ASoC: SOF: Intel: hda-dai: fix potential locking issue
3cff8b789ea5 RDMA/rxe: Separate HW and SW l/rkeys
b6f64bd4cf9f arm64: dts: ls1012a: Add serial alias for ls1012a-rdb
0479e598c773 arm64: dts: freescale: fix arm,sp805 compatible string
3f6946cfa798 arm64: dts: qcom: sdm845: Fix qcom,controlled-remotely property
e608d43f7603 arm64: dts: qcom: ipq8074: Fix qcom,controlled-remotely property
9bfe717293c0 arm64: dts: qcom: ipq6018: Fix qcom,controlled-remotely property
118c826ef8b4 arm64: dts: qcom: msm8998: Fix CPU/L2 idle state latency and residency
30a3826f7fa9 ARM: BCM53016: Specify switch ports for Meraki MR32
d330f1d4f797 staging: rtl8723bs: remove a third possible deadlock
12cfdef56c3b staging: rtl8723bs: remove a second possible deadlock
353a6e9acb45 staging: rtl8723bs: remove possible deadlock when disconnect (v2)
f78e23be336e ARM: dts: ux500: Skomer regulator fixes
2c71811c963b usb: typec: tipd: Remove WARN_ON in tps6598x_block_read
06cfb4cb2241 usb: musb: tusb6010: check return value after calling platform_get_resource()
9dd4b84d5521 bus: ti-sysc: Use context lost quirk for otg
c182fa00fcdd bus: ti-sysc: Add quirk handling for reinit on context lost
1e299b02bae8 RDMA/bnxt_re: Check if the vlan is valid before reporting
bed5a80fc851 arm64: dts: hisilicon: fix arm,sp805 compatible string
376bad670585 arm64: dts: rockchip: Disable CDN DP on Pinebook Pro
867cfea6ae55 ASoC: mediatek: mt8195: Add missing of_node_put()
814d3610c4ce scsi: lpfc: Fix list_add() corruption in lpfc_drain_txq()
269a4311b15f scsi: pm80xx: Fix memory leak during rmmod
a070e30d1b7b arm64: dts: broadcom: bcm4908: Move reboot syscon out of bus
8e4b6c2f027e ARM: dts: NSP: Fix mpcore, mmc node names
8033b37f969a ARM: dts: BCM5301X: Fix MDIO mux binding
50b631c5a38e ARM: dts: BCM5301X: Fix nodes names
f7d67885beb3 staging: wfx: ensure IRQ is ready before enabling it
f08c0d6a673c arm64: dts: allwinner: a100: Fix thermal zone node name
f2b9e78b3e14 arm64: dts: allwinner: h5: Fix GPU thermal zone node name
ea4f91645d5b ARM: dts: sunxi: Fix OPPs node name
b5dd513daa70 clk: sunxi-ng: Unregister clocks/resets when unbinding
5d729f4b5b56 arm64: zynqmp: Fix serial compatible string
69d0f6a7c8cf arm64: zynqmp: Do not duplicate flash partition label property
9ac77cf6e1bd Linux 5.15.4
1af7386f5f71 Revert "ACPI: scan: Release PM resources blocked by unused objects"
ef2590a5305e thermal: Fix NULL pointer dereferences in of_thermal_ functions
bd378dcd5031 perf/core: Avoid put_page() when GUP fails
7931b7e31882 PCI: Add MSI masking quirk for Nvidia ION AHCI
06ce633b3bfd PCI/MSI: Deal with devices lying about their MSI mask capability
a912418410ab parisc/entry: fix trace test in syscall exit path
73f1e74f9c87 Bluetooth: btusb: Add support for TP-Link UB500 Adapter
c0991182aca3 loop: Use blk_validate_block_size() to validate block size
1f124a661191 block: Add a helper to validate the block size
8d0956438eec fortify: Explicitly disable Clang support
0fc2241ac237 btrfs: zoned: allow preallocation for relocation inodes
d0fdafa8fcf3 btrfs: check for relocation inodes on zoned btrfs in should_nocow
080f457f35c0 btrfs: zoned: use regular writes for relocation
f716e9827838 btrfs: zoned: only allow one process to add pages to a relocation inode
d282dd7f4109 btrfs: zoned: add a dedicated data relocation block group
02c5e9e992a2 btrfs: introduce btrfs_is_data_reloc_root
19e32bd1cc37 KVM: Fix steal time asm constraints
b06962406eca Revert "drm: fb_helper: fix CONFIG_FB dependency"
3256c84aaddc Revert "drm: fb_helper: improve CONFIG_FB dependency"
d27b2dcdb8d2 string: uninline memcpy_and_pad
3b17187f5ca1 Linux 5.15.3
712cb7ee75bc media: videobuf2-dma-sg: Fix buf->vb NULL pointer dereference
c8b0f8beb566 media: videobuf2: always set buffer vb2 pointer
6c087b0fbfe9 x86/sev: Make the #VC exception stacks part of the default stacks storage
411d939db1d0 x86/sev: Add an x86 version of cc_platform_has()
d15683461800 arch/cc: Introduce a function to check for confidential computing features
03fbc935ac62 selftests/bpf: Fix also no-alu32 strobemeta selftest
60e73f7e75cf selftests/x86/iopl: Adjust to the faked iopl CLI/STI usage
32d126ac68f5 mmc: moxart: Fix null pointer dereference on pointer host
6f11f2096b2c ath10k: fix invalid dma_addr_t token assignment
9ebaafec97fb cifs: fix memory leak of smb3_fs_context_dup::server_hostname
855eba695ddc media: vidtv: move kfree(dvb) to vidtv_bridge_dev_release()
bb7e50b476ab drm/amd/display: Look at firmware version to determine using dmub on dcn21
3e1e7e4a6b54 SUNRPC: Partial revert of commit 6f9f17287e78
7f837109586e PCI: aardvark: Fix PCIe Max Payload Size setting
0b86872ba468 PCI: Add PCI_EXP_DEVCTL_PAYLOAD_* macros
dfc6f0bec09c drm/sun4i: Fix macros in sun8i_csc.h
0084aaaec2d1 powerpc/85xx: fix timebase sync issue when CONFIG_HOTPLUG_CPU=n
310b6f976c74 powerpc/pseries/mobility: ignore ibm, platform-facilities updates
d05dc4bdc333 powerpc/64s/interrupt: Fix check_return_regs_valid() false positive
02da36324104 powerpc/security: Use a mutex for interrupt exit code patching
7c8ad3fc644a powerpc/powernv/prd: Unregister OPAL_MSG_PRD2 notifier during module unload
317cc5bacf69 powerpc/32e: Ignore ESR in instruction storage interrupt handler
6f657bb66f1e powerpc/bpf: Fix write protecting JIT code
0356cc5d27c2 powerpc/vas: Fix potential NULL pointer dereference
b75b27e4e640 mtd: rawnand: au1550nd: Keep the driver compatible with on-die ECC engines
ac4e55c17cba mtd: rawnand: plat_nand: Keep the driver compatible with on-die ECC engines
768e8c3b9850 mtd: rawnand: orion: Keep the driver compatible with on-die ECC engines
2b33e01948fd mtd: rawnand: pasemi: Keep the driver compatible with on-die ECC engines
d9d3d38049d5 mtd: rawnand: gpio: Keep the driver compatible with on-die ECC engines
365b3fefe51e mtd: rawnand: mpc5121: Keep the driver compatible with on-die ECC engines
f7e59ebde2ec mtd: rawnand: xway: Keep the driver compatible with on-die ECC engines
9bfee3cd5eb1 mtd: rawnand: ams-delta: Keep the driver compatible with on-die ECC engines
bedb039360b2 mtd: rawnand: fsmc: Fix use of SM ORDER
bcd526c98adb remoteproc: imx_rproc: Fix rsc-table name
5cd861213e11 remoteproc: imx_rproc: Fix ignoring mapping vdev regions
3ff5812f164e remoteproc: Fix the wrong default value of is_iomem
6b8ea5da3be5 remoteproc: elf_loader: Fix loading segment when is_iomem true
ed8b06a0eb8e s390/cio: make ccw_device_dma_* more robust
3ef2272417f4 s390/ap: Fix hanging ioctl caused by orphaned replies
3134c317b1b3 s390/tape: fix timer initialization in tape_std_assign()
f33bf6015eaf s390/cio: check the subchannel validity for dev_busid
32f71f368086 s390/cpumf: cpum_cf PMU displays invalid value after hotplug remove
051d89f4dec2 PM: sleep: Avoid calling put_device() under dpm_list_mtx
ac8ffb5d9dfb bcache: Revert "bcache: use bvec_virt"
d6a300977ac9 bcache: fix use-after-free problem in bcache_device_free()
a958d144754e video: backlight: Drop maximum brightness override for brightness zero
d9dad32cb55e mfd: dln2: Add cell for initializing DLN2 ADC
3ea871f0d8e0 mm, thp: fix incorrect unmap behavior for private pages
fd8e972dc427 mm, thp: lock filemap when truncating page cache
c15aeead2488 mm, oom: do not trigger out_of_memory from the #PF
487a4c60c593 mm, oom: pagefault_out_of_memory: don't force global OOM for dying tasks
f1e83db27ad5 memcg: prohibit unconditional exceeding the limit of dying tasks
6560e8cd869b mm/filemap.c: remove bogus VM_BUG_ON
6847c4286297 9p/net: fix missing error check in p9_check_errors
1f03911876ab net, neigh: Enable state migration between NUD_PERMANENT and NTF_USE
6a85f01a89ef dmaengine: bestcomm: fix system boot lockups
c4cd9e5acc34 dmaengine: ti: k3-udma: Set r/tchan or rflow to NULL if request fail
68ae6ae1431f dmaengine: ti: k3-udma: Set bchan to NULL if a channel request fail
1dd578e98560 ksmbd: don't need 8byte alignment for request length in ksmbd_check_message
aacb2ddb67fb ksmbd: Fix buffer length check in fsctl_validate_negotiate_info()
5e84e9d61dba block: Hold invalidate_lock in BLKRESETZONE ioctl
373c2bfecb06 block: Hold invalidate_lock in BLKZEROOUT ioctl
f9bed86a35a0 block: Hold invalidate_lock in BLKDISCARD ioctl
876d6242d225 drm/i915/guc: Fix blocked context accounting
f60978969910 erofs: fix unsafe pagevec reuse of hooked pclusters
11a102de53a7 ceph: fix mdsmap decode when there are MDS's beyond max_mds
5e1b901dd470 f2fs: fix UAF in f2fs_available_free_memory
6fd542665e70 f2fs: include non-compressed blocks in compr_written_block
035302003cca f2fs: should use GFP_NOFS for directory inodes
910ea7dd1e62 irqchip/sifive-plic: Fixup EOI failed when masked
d5d21724af23 posix-cpu-timers: Clear task::posix_cputimers_work in copy_process()
fb58e9a26c3c KVM: x86: move guest_pv_has out of user_access section
d5e79d872bab PCI/MSI: Destroy sysfs before freeing entries
ab40a2e5e29e PCI/MSI: Move non-mask check back into low level accessors
affa1361642f x86/mce: Add errata workaround for Skylake SKX37
3cd12b61c37f MIPS: Fix assembly error from MIPSr2 code used within MIPS_ISA_ARCH_LEVEL
9b1b68eaad2a MIPS: fix *-pkg builds for loongson2ef platform
70895879357f MIPS: fix duplicated slashes for Platform file path
8301503a728a parisc: Flush kernel data mapping in set_pte_at() when installing pte for user page
1dc7ce007aef parisc: Fix backtrace to always include init funtion names
ca8f29dc8b1b ARM: 9156/1: drop cc-option fallbacks for architecture selection
12f0dc47f274 ARM: 9155/1: fix early early_iounmap()
93114d5b3af0 smb3: do not error on fsync when readonly
c3f2809643ad thermal: int340x: fix build on 32-bit targets
2cc4450b5327 selftests/net: udpgso_bench_rx: fix port argument
3ce70c345537 cxgb4: fix eeprom len when diagnostics not implemented
ed8b7355e38b net/smc: fix sk_refcnt underflow on linkdown and fallback
244048220c04 vsock: prevent unnecessary refcnt inc for nonblocking connect
c8234e6086c1 net: marvell: mvpp2: Fix wrong SerDes reconfiguration order
6fb190ff5716 net: ethernet: ti: cpsw_ale: Fix access to un-initialized memory
0c8ee89e351c net: stmmac: allow a tc-taprio base-time of zero
cb85093e0c8e net: hns3: allow configure ETS bandwidth of all TCs
3d3f131b4032 net: hns3: fix kernel crash when unload VF while it is being reset
5c051366908b net: hns3: fix pfc packet number incorrect after querying pfc parameters
bcbee7cf14a6 net: hns3: fix ROCE base interrupt vector initialization bug
3e13ce88a3c8 net/sched: sch_taprio: fix undefined behavior in ktime_mono_to_any
422fb879961f net: dsa: mv88e6xxx: Don't support >1G speeds on 6191X on ports other than 10
f17e9e81004e drm/amdgpu: fix uvd crash on Polaris12 during driver unloading
f00e054b299c seq_file: fix passing wrong private data
acdc5065d967 init: make unknown command line param message clearer
2cf82ea0a46d drm/i915/fb: Fix rounding error in subsampled plane size calculation
fea0b9507bb7 gve: Fix off by one in gve_tx_timeout()
0bf8323e2c74 dmaengine: stm32-dma: avoid 64-bit division in stm32_dma_get_max_width
4ee1ac7f3cf5 dmaengine: stm32-dma: fix burst in case of unaligned memory address
0bff34d6712a bpf, sockmap: sk_skb data_end access incorrect when src_reg = dst_reg
1a8dba02a888 bpf: sockmap, strparser, and tls are reusing qdisc_skb_cb and colliding
c5cc0d23c541 bpf, sockmap: Fix race in ingress receive verdict with redirect to self
41c65a3ce9db bpf, sockmap: Remove unhash handler for BPF sockmap usage
b90d961cf635 arm64: pgtable: make __pte_to_phys/__phys_to_pte_val inline functions
f828915064fe arm64: arm64_ftr_reg->name may not be a human-readable string
2d57d522e2f0 litex_liteeth: Fix a double free in the remove function
2d2dfc33ef44 nfc: pn533: Fix double free when pn533_fill_fragment_skbs() fails
72fb40d87c59 llc: fix out-of-bound array index in llc_sk_dev_hash()
63609f11cda8 perf bpf: Add missing free to bpf_event__print_bpf_prog_info()
18fdce809a9c zram: off by one in read_block_state()
3d6b113cbef4 mm/zsmalloc.c: close race window between zs_pool_dec_isolated() and zs_unregister_migration()
1ba8ddd87b02 can: mcp251xfd: mcp251xfd_chip_start(): fix error handling for mcp251xfd_chip_rx_int_enable()
7eb0881aec26 can: etas_es58x: es58x_rx_err_msg(): fix memory leak in error path
e16a1e4ba6da drm/amdgpu/powerplay: fix sysfs_emit/sysfs_emit_at handling
97308cd5ce8e Revert "drm/imx: Annotate dma-fence critical section in commit path"
94e18f5a5dd1 drm: fb_helper: improve CONFIG_FB dependency
39db3e5681bd selftests/bpf/xdp_redirect_multi: Limit the tests in netns
a99e4d94df31 selftests/bpf/xdp_redirect_multi: Give tcpdump a chance to terminate cleanly
00f991138c2f selftests/bpf/xdp_redirect_multi: Use arping to accurate the arp number
ddf4f3897357 selftests/bpf/xdp_redirect_multi: Put the logs to tmp folder
e13c75449905 libbpf: Fix lookup_and_delete_elem_flags error reporting
f0f8307c7db3 ACPI: PM: Fix device wakeup power reference counting error
27f2e5b91452 mfd: altera-sysmgr: Fix a mistake caused by resource_size conversion
5fb2bcf0affe mfd: sprd: Add SPI device ID table
bd20d4d8433e mfd: cpcap: Add SPI device ID table
34b1f6db7cea mfd: core: Add missing of_node_put for loop iteration
ca1362fdcbc2 ALSA: memalloc: Catch call with NULL snd_dma_buffer pointer
e9806f88b774 octeontx2-pf: select CONFIG_NET_DEVLINK
0c49ae7a8db9 bonding: Fix a use-after-free problem when bond_sysfs_slave_add() failed
71fb40ae9b07 drm/ttm: remove ttm_bo_vm_insert_huge()
9d5c7b0eeeca block: fix device_add_disk() kobject_create_and_add() error handling
8f1e23735636 net: phy: fix duplex out of sync problem while changing settings
96f9abc9183c cpufreq: intel_pstate: Clear HWP desired on suspend/shutdown and offline
d8dedce3460e PCI: Do not enable AtomicOps on VFs
6d1d54003af4 ataflop: remove ataflop_probe_lock mutex
e107071961c5 block/ataflop: provide a helper for cleanup up an atari disk
875ffb42476b block/ataflop: add registration bool before calling del_gendisk()
9d3261d4606a block/ataflop: use the blk_cleanup_disk() helper
275e4a31a82c nvdimm/pmem: cleanup the disk if pmem_release_disk() is yet assigned
8e8ed252e483 drm/nouveau/svm: Fix refcount leak bug and missing check against null bug
e65a7ab548a3 selftests: net: properly support IPv6 in GSO GRE test
57488e25ef53 scsi: ufs: ufshpb: Properly handle max-single-cmd
e022fea64e8d scsi: ufs: core: Fix NULL pointer dereference
5dd6e6426805 scsi: ufs: ufshpb: Use proper power management API
1e476c9f63ee scsi: bsg: Fix errno when scsi_bsg_register_queue() fails
064b6b0592e1 nvdimm/btt: do not call del_gendisk() if not needed
4e7af8a90a2c PCI: j721e: Fix j721e_pcie_probe() error path
19c65258dde3 ACPI: PMIC: Fix intel_pmic_regs_handler() read accesses
fdcdc4c5ae3d kdb: Adopt scheduler's task classification
1deba5e29d9f ice: Fix not stopping Tx queues for VFs
abf65a2ee78b ice: Fix replacing VF hardware MAC to existing MAC filter
932224ba805d net: dsa: felix: fix broken VLAN-tagged PTP under VLAN-aware bridge
21032425c36f net: vlan: fix a UAF in vlan_dev_real_dev()
f48a13b3ec59 openrisc: fix SMP tlb flush NULL pointer dereference
2e746ef502c9 ethtool: fix ethtool msg len calculation for pause stats
351237a76e3f kselftests/net: add missed toeplitz.sh/toeplitz_client.sh to Makefile
fca8095c4206 kselftests/net: add missed vrf_strict_mode_test.sh test to Makefile
14a49eb8dcd1 kselftests/net: add missed SRv6 tests
19f67358b600 kselftests/net: add missed setup_loopback.sh/setup_veth.sh to Makefile
13bf487e33d6 kselftests/net: add missed icmp.sh test to Makefile
9c806a70fa4c net: davinci_emac: Fix interrupt pacing disable
cd63d080b9e8 io-wq: fix max-workers not correctly set on multi-node system
e99270d7f273 nbd: fix possible overflow for 'first_minor' in nbd_dev_add()
795e6b378692 nbd: fix max value for 'first_minor'
f314286463bc xen-pciback: Fix return in pm_ctrl_init()
db651ace499c gpio: realtek-otto: fix GPIO line IRQ offset
01e189372d48 i2c: xlr: Fix a resource leak in the error handling path of 'xlr_i2c_probe()'
5b12e1931569 dmaengine: idxd: fix resource leak on dmaengine driver disable
9b882818aec1 NFSv4: Fix a regression in nfs_set_open_stateid_locked()
4b7e3d5ee357 scsi: qla2xxx: edif: Fix EDIF bsg
e56d80025ed0 scsi: qla2xxx: edif: Increase ELS payload
aac0a76cb318 scsi: qla2xxx: edif: Flush stale events and msgs on session down
dcd0c5e7dec2 scsi: qla2xxx: edif: Fix app start delay
696815ee50f6 scsi: qla2xxx: edif: Fix app start fail
09e4dafeca9b scsi: qla2xxx: Turn off target reset during issue_lip
411ca50eab27 scsi: qla2xxx: Fix gnl list corruption
7ee1c31ce9df scsi: qla2xxx: Relogin during fabric disturbance
b65e9044be04 scsi: target: core: Remove from tmr_list during LUN unlink
eb63b768afca ar7: fix kernel builds for compiler test
e5f9487c06bd watchdog: f71808e_wdt: fix inaccurate report in WDIOC_GETTIMEOUT
fb2b4c7b5477 m68k: set a default value for MEMORY_RESERVE
8f072ec8b41b signal/sh: Use force_sig(SIGKILL) instead of do_group_exit(SIGKILL)
671dd8b385b2 dmaengine: idxd: reconfig device after device reset command
b1b9ef3abafa dmanegine: idxd: fix resource free ordering on driver removal
9fb118b077f6 dmaengine: tegra210-adma: fix pm runtime unbalance
8bc8be6ce69e dmaengine: dmaengine_desc_callback_valid(): Check for `callback_result`
5b380c56bb4b netfilter: nfnetlink_queue: fix OOB when mac header was cleared
9981e39ded4b soc: fsl: dpaa2-console: free buffer before returning from dpaa2_console_read
8ccaade05b00 auxdisplay: ht16k33: Fix frame buffer device blanking
fba8ce59bbd4 auxdisplay: ht16k33: Connect backlight to fbdev
d6d28153d49f auxdisplay: img-ascii-lcd: Fix lock-up when displaying empty string
5204722a9642 Fix user namespace leak
d9bd9732cad6 NFS: Fix an Oops in pnfs_mark_request_commit()
9443fcc22a6c NFS: Fix up commit deadlocks
b07aa21474d3 dmaengine: stm32-dma: fix stm32_dma_get_max_width
f12d23bc255d dmaengine: at_xdmac: fix AT_XDMAC_CC_PERID() macro
98b727511da8 dmaengine: at_xdmac: call at_xdmac_axi_config() on resume path
1976e7b3c033 rtc: rv3032: fix error handling in rv3032_clkout_set_rate()
84ea6245dc02 remoteproc: Fix a memory leak in an error handling path in 'rproc_handle_vdev()'
62eaaa154c8f mtd: core: don't remove debugfs directory if device is in use
152d0b535426 mtd: rawnand: arasan: Prevent an unsupported configuration
402239647cb3 PCI: uniphier: Serialize INTx masking/unmasking and fix the bit operation
321a355777d0 mtd: spi-nor: hisi-sfc: Remove excessive clk_disable_unprepare()
1c60136d99c2 drm/bridge: nwl-dsi: Add atomic_get_input_bus_fmts
d36d2c35fd98 Input: st1232 - increase "wait ready" timeout
d268e0125c92 fs: orangefs: fix error return code of orangefs_revalidate_lookup()
a94284b0fdce sparc: Add missing "FORCE" target when using if_changed
cab693c0fe29 NFS: Fix deadlocks in nfs_scan_commit_list()
97eaf7af7fd1 opp: Fix return in _opp_add_static_v2()
5a67f827379f PCI: aardvark: Fix preserving PCI_EXP_RTCTL_CRSSVE flag on emulated bridge
e8c80586b8fb PCI: aardvark: Don't spam about PIO Response Status
c8ae61fe97c2 drm/plane-helper: fix uninitialized variable reference
c03c7f58ae49 drm/bridge/lontium-lt9611uxc: fix provided connector suport
5ab7612ff0b5 pnfs/flexfiles: Fix misplaced barrier in nfs4_ff_layout_prepare_ds
6967d9967b7a NFS: Fix dentry verifier races
597e9c7a4ace NFS: Ignore the directory size when marking for revalidation
69e0be0efe53 NFS: Don't set NFS_INO_DATA_INVAL_DEFER and NFS_INO_INVALID_DATA
7e2801edf23f NFS: Default change_attr_type to NFS4_CHANGE_TYPE_IS_UNDEFINED
47dbabb8279c i2c: mediatek: fixing the incorrect register offset
1721649965e4 Input: ariel-pwrbutton - add SPI device ID table
40f60ee1d33c rtc: mcp795: Add SPI ID table
46a2f7945553 dmaengine: idxd: move out percpu_ref_exit() to ensure it's outside submission
c31b0fe8e116 i2c: i801: Use PCI bus rescan mutex to protect P2SB access
aad5b030fa2e remoteproc: imx_rproc: Fix TCM io memory type
171b2888a410 rtc: pcf2123: Add SPI ID table
75ed1289c376 rtc: ds1390: Add SPI ID table
c7e81f2c0e8a rtc: ds1302: Add SPI ID table
d9dacf260671 nfsd: don't alloc under spinlock in rpc_parse_scope_id
a61698358b38 mtd: rawnand: intel: Fix potential buffer overflow in probe
e87c6bc32caf rpmsg: Fix rpmsg_create_ept return when RPMSG config is not defined
4f3de16a3ca6 apparmor: fix error check
1c6eefe997ad RDMA/core: Require the driver to set the IOVA correctly during rereg_mr
3f49a9d356bd power: supply: bq27xxx: Fix kernel crash on IRQ handler register error
dfd04b3a8191 mips: cm: Convert to bitfield API to fix out-of-bounds access
27ddb2735a6e vdpa/mlx5: Fix clearing of VIRTIO_NET_F_MAC feature bit
0099c7affb21 virtio_ring: check desc == NULL when using indirect with packed
bcf29e436895 serial: cpm_uart: Protect udbg definitions by CONFIG_SERIAL_CPM_CONSOLE
874b8c70f39d ASoC: rsnd: Fix an error handling path in 'rsnd_node_count()'
98492898c367 RDMA/hns: Modify the value of MAX_LP_MSG_LEN to meet hardware compatibility
ff021c96a9a7 RDMA/hns: Fix initial arm_st of CQ
e4fa14bdf83a ASoC: cs42l42: Correct configuring of switch inversion from ts-inv
dfbcaef20204 powerpc: Don't provide __kernel_map_pages() without ARCH_SUPPORTS_DEBUG_PAGEALLOC
06cebea18a33 iommu/dma: Fix incorrect error return on iommu deferred attach
a4ce4337dc1c ALSA: oxfw: fix functional regression for Mackie Onyx 1640i in v5.14 or later
f5927a99737a powerpc/xmon: fix task state output
d6b102db217f powerpc/44x/fsp2: add missing of_node_put
5a8579005938 powerpc/book3e: Fix set_memory_x() and set_memory_nx()
f74827713955 powerpc/nohash: Fix __ptep_set_access_flags() and ptep_set_wrprotect()
6b4a3cfce497 HID: u2fzero: properly handle timeouts in usb_submit_urb
0fcb6023d149 HID: u2fzero: clarify error check and length calculations
33dcebb916a2 clk: at91: clk-master: fix prescaler logic
ffe896d043ca clk: at91: clk-master: check if div or pres is zero
5a5cd9597e7f clk: at91: sam9x60-pll: use DIV_ROUND_CLOSEST_ULL
2efda16d42bf serial: xilinx_uartps: Fix race condition causing stuck TX
d0379ee4a864 phy: Sparx5 Eth SerDes: Fix return value check in sparx5_serdes_probe()
34f5e44c8f2d phy: qcom-snps: Correct the FSEL_MASK
9999e3d71197 phy: qcom-qmp: another fix for the sc8180x PCIe definition
69cd3bdff881 phy: ti: gmii-sel: check of_get_address() for failure
ca1e04c63850 phy: qcom-qusb2: Fix a memory leak on probe
2e8175481d5a ASoC: topology: Fix stub for snd_soc_tplg_component_remove()
804732ec30ba pinctrl: equilibrium: Fix function addition in multiple groups
286ff24b0002 arm64: dts: qcom: sdm845: Fix Qualcomm crypto engine bus clock
69ec5e3509f5 arm64: dts: qcom: sdm845: Use RPMH_CE_CLK macro directly
87201f2148f7 arm64: dts: qcom: pmi8994: Fix "eternal"->"external" typo in WLED node
59bb5796dfbe soc: qcom: apr: Add of_node_put() before return
1210a6388313 soc: qcom: rpmhpd: fix sm8350_mxc's peer domain
df84a4f71045 firmware: qcom_scm: Fix error retval in __qcom_scm_is_call_available()
58d68f2a2ca1 usb: dwc3: gadget: Skip resizing EP's TX FIFO if already resized
46256f11c2cf powerpc/booke: Disable STRICT_KERNEL_RWX, DEBUG_PAGEALLOC and KFENCE
b35b82e6648e usb: dwc2: drd: reset current session before setting the new one
27903e1ffbfa usb: dwc2: drd: fix dwc2_drd_role_sw_set when clock could be disabled
bd18f99c5c78 usb: dwc2: drd: fix dwc2_force_mode call in dwc2_ovr_init
977b112946ec serial: imx: fix detach/attach of serial console
be9866f92e9c scsi: lpfc: Wait for successful restart of SLI3 adapter during host sg_reset
d17f1042be86 scsi: ufs: ufshcd-pltfrm: Fix memory leak due to probe defer
3eab21ff9f87 soundwire: bus: stop dereferencing invalid slave pointer
d1d477cf9ba2 iio: adis: do not disabe IRQs in 'adis_init()'
715a48b65984 usb: typec: STUSB160X should select REGMAP_I2C
a8409b2f07a4 iio: buffer: Fix double-free in iio_buffers_alloc_sysfs_and_mask()
96c0265e8742 soc: qcom: socinfo: add two missing PMIC IDs
1c8a9b6365ea soc: qcom: rpmhpd: Make power_on actually enable the domain
94a60d141380 ASoC: cs42l42: Defer probe if request_threaded_irq() returns EPROBE_DEFER
001b7f31f50d ASoC: cs42l42: Correct some register default values
b7e17c293ec2 ASoC: cs42l42: Always configure both ASP TX channels
0204fbf40c95 ARM: dts: stm32: fix AV96 board SAI2 pin muxing on stm32mp15
210d7e34a13a ARM: dts: stm32: fix SAI sub nodes register range
85d082965af6 ARM: dts: stm32: fix STUSB1600 Type-C irq level on stm32mp15xx-dkx
c80bba28b1f9 ARM: dts: stm32: Reduce DHCOR SPI NOR frequency to 50 MHz
ecca03f758fa pinctrl: renesas: checker: Fix off-by-one bug in drive register check
547eae8d290b powerpc/perf: Fix cycles/instructions as PM_CYC/PM_INST_CMPL in power10
a14e312ad42f dyndbg: make dyndbg a known cli param
88d564772486 RDMA/core: Set sgtable nents when using ib_dma_virt_map_sg()
cc7f21385c83 staging: ks7010: select CRYPTO_HASH/CRYPTO_MICHAEL_MIC
ab206dd35148 staging: most: dim2: do not double-register the same device
f1401c37fee2 usb: musb: select GENERIC_PHY instead of depending on it
de3c7a4167c2 RDMA/mlx4: Return missed an error if device doesn't support steering
8adfc48bda62 scsi: csiostor: Uninitialized data in csio_ln_vnp_read_cbfn()
40f7932e8ca4 power: supply: max17040: fix null-ptr-deref in max17040_probe()
2225dade4147 power: supply: rt5033_battery: Change voltage values to µV
82012f8f4926 usb: gadget: hid: fix error code in do_config()
64b913c6d40a serial: 8250_dw: Drop wrong use of ACPI_PTR()
e271314bf2a2 powerpc/paravirt: correct preempt debug splat in vcpu_is_preempted()
ddd95eb01afd powerpc: fix unbalanced node refcount in check_kvm_guest()
2af070265d6e video: fbdev: chipsfb: use memset_io() instead of memset()
11644855488e powerpc/mem: Fix arch/powerpc/mm/mem.c:53:12: error: no previous prototype for 'create_section_mapping'
62a1c92858c1 clk: at91: check pmc node status before registering syscore ops
383008a0e009 memory: fsl_ifc: fix leak of irq and nand_irq in fsl_ifc_ctrl_probe
ee65ec08d36b soc/tegra: Fix an error handling path in tegra_powergate_power_up()
2a45a76ed146 iio: st_pressure_spi: Add missing entries SPI to device ID table
6551bac0eb42 ASoC: SOF: topology: do not power down primary core during topology removal
93322efe91f2 arm: dts: omap3-gta04a4: accelerometer irq fix
7f8beede9915 driver core: Fix possible memory leak in device_link_add()
c464ab169800 scsi: pm80xx: Fix misleading log statement in pm8001_mpi_get_nvmd_resp()
8e781506a76e scsi: megaraid_sas: Fix concurrent access to ISR between IRQ polling and real interrupt
ca92b5f2ec88 scsi: ufs: core: Stop clearing UNIT ATTENTIONS
0f1efc0c0ed2 scsi: ufs: core: Fix ufshcd_probe_hba() prototype to match the definition
a1e06f92b2db power: reset: at91-reset: check properly the return value of devm_of_iomap
9a8d7bdd5b5e soundwire: debugfs: use controller id and link_id for debugfs
784bf21bb6d1 ALSA: usb-audio: Fix possible race at sync of urb completions
34862fa65cc7 ALSA: hda: Use position buffer for SKL+ again
987bfc6eb7aa ALSA: hda: Reduce udelay() at SKL+ position reporting
f624d5495cc0 iommu/dma: Fix arch_sync_dma for map
d39f447f259a iommu/dma: Fix sync_sg with swiotlb
e9d8cb8dad2d arm64: dts: qcom: pm8916: Remove wrong reg-names for rtc@6000
6705c94d9017 iommu/mediatek: Fix out-of-range warning with clang
a7b0d0d6041c arm64: dts: renesas: beacon: Fix Ethernet PHY mode
94d42f3a174e arm64: dts: qcom: msm8916: Fix Secondary MI2S bit clock
8524d9f336cc ASoC: wcd9335: Use correct version to initialize Class H
a0274b002345 pinctrl: renesas: rzg2l: Fix missing port register 21h
259a6fdd691f JFS: fix memleak in jfs_mount
f776bb118318 MIPS: loongson64: make CPU_LOONGSON64 depends on MIPS_FP_SUPPORT
85e7a66ceb2b scsi: dc395: Fix error case unwinding
52a994c15a9a arm64: dts: qcom: sc7280: fix display port phy reg property
15a40b9fd396 soc: qcom: llcc: Disable MMUHWT retention
b2a98348f698 arm64: dts: qcom: sc7180: Base dynamic CPU power coefficients in reality
53616b7315ee ARM: dts: at91: tse850: the emac<->phy interface is rmii
b327d92c10b2 bus: ti-sysc: Fix timekeeping_suspended warning on resume
876ba79c7969 arm64: dts: meson-sm1: Fix the pwm regulator supply properties
2b9828e4bdbc arm64: dts: meson-g12b: Fix the pwm regulator supply properties
d2bbd1ce92d2 arm64: dts: meson-g12a: Fix the pwm regulator supply properties
4def729518ec arm64: dts: ti: j7200-main: Fix "bus-range" upto 256 bus number for PCIe
7b9ab4a7e52b arm64: dts: ti: j7200-main: Fix "vendor-id"/"device-id" properties of pcie node
ef26fb3a1931 arm64: dts: ti: k3-j721e-main: Fix "bus-range" upto 256 bus number for PCIe
461a478eabea arm64: dts: ti: k3-j721e-main: Fix "max-virtual-functions" in PCIe EP nodes
13fef1930da8 RDMA/bnxt_re: Fix query SRQ failure
280ad4f332f9 ARM: dts: qcom: msm8974: Add xo_board reference clock to DSI0 PHY
6096069c91ed arm64: dts: rockchip: Fix GPU register width for RK3328
df54f16f3c05 ARM: s3c: irq-s3c24xx: Fix return value check for s3c24xx_init_intc()
ca4e26066748 scsi: lpfc: Fix NVMe I/O failover to non-optimized path
79becd68e16e scsi: qla2xxx: edif: Use link event to wake up app
a3e165e8e779 scsi: pm80xx: Fix lockup in outbound queue management
8525028b4652 clk: mvebu: ap-cpu-clk: Fix a memory leak in error handling paths
532c48310396 arm64: dts: broadcom: bcm4908: Fix UART clock name
ed1b1ab0581e ARM: dts: BCM5301X: Fix memory nodes names
d41e6c4fae29 RDMA/rxe: Fix wrong port_cap_flags
42a6f69c5aa8 iio: st_sensors: disable regulators after device unregistration
d5e4939b5e0c arm64: dts: meson: sm1: add Ethernet PHY reset line for ODROID-C4/HC4
03060aec7281 staging: r8188eu: fix memory leak in rtw_set_key
8853e04ea61d cpufreq: Fix parameter in parse_perf_domain()
2bbc554a98f9 of: unittest: fix EXPECT text for gpio hog errors
d55aca82dda6 bpf: Fix propagation of signed bounds from 64-bit min/max into 32-bit.
d03a5b00a336 bpf: Fix propagation of bounds from 64-bit min/max into 32-bit and var_off.
e3acd3a08462 cgroup: Fix rootcg cpu.stat guest double counting
c47be68b31cf skmsg: Lose offset info in sk_psock_skb_ingress
b5c69b9fb5c4 selftests: mptcp: fix proto type in link_failure tests
2c6197e7eac7 ibmvnic: delay complete()
3a208e02e9ee ibmvnic: Process crqs after enabling interrupts
fac0105a5c9f ibmvnic: don't stop queue in xmit
e619ad4e2d4c udp6: allow SO_MARK ctrl msg to affect routing
e89d244fef55 selftests/bpf: Fix fclose/pclose mismatch in test_progs
fb657a4e125d crypto: pcrypt - Delay write to padata->info
bbf7b2dbd131 selftests: net: bridge: update IGMP/MLD membership interval value
24c8fd323957 net: bridge: fix uninitialized variables when BRIDGE_CFM is disabled
e176585f054a net: phylink: avoid mvneta warning when setting pause parameters
9073b88b1b29 nfp: fix potential deadlock when canceling dim work
e9f7832a4f14 nfp: fix NULL pointer access when scheduling dim work
d6c25579a8a0 ipmi: kcs_bmc: Fix a memory leak in the error handling path of 'kcs_bmc_serio_add_device()'
e8dabc670c40 net: amd-xgbe: Toggle PLL settings during rate change
a1fafee96a7a sctp: return true only for pathmtu update in sctp_transport_pl_toobig
554153b1cd01 sctp: subtract sctphdr len in sctp_transport_pl_hlen
118eedc00644 sctp: reset probe_timer in sctp_transport_pl_update
8cebfaefcccf sctp: allow IP fragmentation when PLPMTUD enters Error state
4c51fa32f631 selftests/bpf: Fix memory leak in test_ima
844134cd097c selftests/bpf: Fix fd cleanup in sk_lookup test
e3e3c222c306 drm/amdgpu/gmc6: fix DMA mask from 44 to 40 bits
76eb97443810 drm/amdgpu: fix a potential memory leak in amdgpu_device_fini_sw()
d834f80e51d7 wcn36xx: Channel list update before hardware scan
677c9ad9839c bpf: Fixes possible race in update_prog_stats() for 32bit arches
ae1fffdf3b95 bpf: Avoid races in __bpf_prog_run() for 32bit arches
4ab36444a538 wcn36xx: Fix discarded frames due to wrong sequence number
e2e55ffee66f wcn36xx: add proper DMA memory barriers in rx path
960a216b078a libertas: Fix possible memory leak in probe and disconnect
59de456628bd libertas_tf: Fix possible memory leak in probe and disconnect
964b738fde92 KVM: s390: Fix handle_sske page fault handling
777194b87fb3 samples/kretprobes: Fix return value if register_kretprobe() failed
41c9a411aad0 spi: spi-rpc-if: Check return value of rpcif_sw_init()
ca5c67889bd6 cpufreq: intel_pstate: Fix cpu->pstate.turbo_freq initialization
4d9b7edfdcf2 tracing: Fix missing trace_boot_init_histograms kstrdup NULL checks
d3ec9c358a42 tcp: don't free a FIN sk_buff in tcp_remove_empty_skb()
d48715b25f2e libbpf: Fix endianness detection in BPF_CORE_READ_BITFIELD_PROBED()
bf5e3d54de65 tpm_tis_spi: Add missing SPI ID
bf736690bcbe tpm: fix Atmel TPM crash caused by too frequent queries
b5949ef0753b libbpf: Fix off-by-one bug in bpf_core_apply_relo()
af25dbc8460f blk-cgroup: synchronize blkg creation against policy deactivation
39581715d6e5 block: ataflop: more blk-mq refactoring fixes
6a8cd2686ec7 ath10k: fix module load regression with iram-recovery feature
a521a0ddd5aa ARM: 9142/1: kasan: work around LPAE build warning
348273847a56 net: dsa: avoid refcount warnings when ->port_{fdb,mdb}_del returns error
69abfe39c7d6 irq: mips: avoid nested irq_enter()
ca46cc192bec KVM: s390: pv: avoid stalls for kvm_s390_pv_init_vm
cb69970e0cd9 KVM: s390: pv: avoid double free of sida page
eadbd5d1ec29 s390/uv: fully validate the VMA before calling follow_page()
a9c017ab05a4 s390/mm: fix VMA and page table handling code in storage key handling functions
735d269aa767 s390/mm: validate VMA in PGSTE manipulation functions
dbeff6651f5e s390/gmap: don't unconditionally call pte_unmap_unlock() in __gmap_zap()
9d6a0e31be0c s390/gmap: validate VMA in __gmap_zap()
908e8e54ef8d mt76: mt7615: mt7622: fix ibss and meshpoint
ae2df723141f libbpf: Fix BTF header parsing checks
ffb5d239e7ed libbpf: Fix overflow in BTF sanity checks
e6c63efb0c8d bpftool: Avoid leaking the JSON writer prepared for program metadata
5d33132c03ff libbpf: Fix memory leak in btf__dedup()
32293389e84a KVM: selftests: Fix nested SVM tests when built with clang
c6293f673f2d smackfs: use netlbl_cfg_cipsov4_del() for deleting cipso_v4_doi
19bbbeb408d0 crypto: tcrypt - fix skcipher multi-buffer tests for 1420B blocks
48ae8d2243f0 drm/msm/dsi: fix wrong type in msm_dsi_host
5f88d19f0f6a drm/msm: Fix potential NULL dereference in DPU SSPP
907d34b74c64 x86/sev: Fix stack type check in vc_switch_off_ist()
3dd4b42d95a0 clocksource/drivers/timer-ti-dm: Select TIMER_OF
8f74e6d5161e PM: hibernate: fix sparse warnings
ff950ae83201 nvme-rdma: fix error code in nvme_rdma_setup_ctrl
b2cf0bed6817 nbd: Fix use-after-free in pid_show
d0fd4b3aeea6 phy: micrel: ksz8041nl: do not use power down mode
89249cd9fa1f net: enetc: unmap DMA in enetc_send_cmd()
493a9e6367a1 iwlwifi: pnvm: read EFI data only if long enough
b0b49d055533 iwlwifi: pnvm: don't kmemdup() more than we have
f2fd84b36748 iwlwifi: mvm: reset PM state on unsuccessful resume
89f000f4c9e0 mwifiex: Send DELBA requests according to spec
f5b21a4c096d rsi: stop thread firstly in rsi_91x_init() error handling
ec280de6f409 mt76: mt7915: fix muar_idx in mt7915_mcu_alloc_sta_req()
a4ab42fbe70d mt76: mt7915: fix sta_rec_wtbl tag len
439393358568 mt76: connac: fix possible NULL pointer dereference in mt76_connac_get_phy_mode_v2
1f71b42e27e1 mt76: mt7615: fix monitor mode tear down crash
68acaaf117a9 mt76: mt7921: fix retrying release semaphore without end
5a881727bb3b mt76: mt7915: fix possible infinite loop release semaphore
dba165e255db mt76: mt7615: fix hwmon temp sensor mem use-after-free
32ec365cdca6 mt76: mt7915: fix hwmon temp sensor mem use-after-free
2c9e98bca4a5 mt76: mt7921: always wake device if necessary in debugfs
8ed4d081f2eb mt76: mt7921: fix kernel warning from cfg80211_calculate_bitrate
22f41d4f2e36 mt76: mt7921: fix firmware usage of RA info using legacy rates
90ecf88cc293 mt76: mt7921: report HE MU radiotap
bf5b9c9df69c mt76: overwrite default reg_ops if necessary
30dc676d4b02 mt76: connac: fix GTK rekey offload failure on WPA mixed mode
c8c0958687c7 mt76: mt7921: fix dma hang in rmmod
2bfda0a8dc77 mt76: mt7915: fix bit fields for HT rate idx
02c474990173 mt76: mt7915: fix potential overflow of eeprom page index
7f2d2c8d9307 mt76: mt7921: Fix out of order process by invalid event pkt
75ed8ca355fb mt76: mt76x02: fix endianness warnings in mt76x02_mac.c
9fcee803e248 mt76: mt7921: fix survey-dump reporting
a7afd7a5e68d mt76: fix build error implicit enumeration conversion
21255ccf73bb mt76: connac: fix mt76_connac_gtk_rekey_tlv usage
95792d2088ea mt76: mt7915: fix info leak in mt7915_mcu_set_pre_cal()
8dea17cf36fa mt76: mt7615: fix endianness warning in mt7615_mac_write_txwi
d1c7ea995cbf mt76: mt7921: fix endianness warning in mt7921_update_txs
ef02f94e138e mt76: mt7915: fix endianness warning in mt7915_mac_add_txs_skb
90d9e4050bc3 mt76: mt7921: fix endianness in mt7921_mcu_tx_done_event
5a9bd1b941f4 drm/amdkfd: Fix an inappropriate error handling in allloc memory of gpu
1b7030b379e4 ACPI: PM: Fix sharing of wakeup power resources
453c3013a586 ACPI: PM: Turn off unused wakeup power resources
6500e7148a01 mailbox: mtk-cmdq: Fix local clock ID usage
ac2592454712 mailbox: mtk-cmdq: Validate alias_id on probe
62a0a0539da7 platform/x86: thinkpad_acpi: Fix bitwise vs. logical warning
3e6e11f8537c blk-wbt: prevent NULL pointer dereference in wb_timer_fn
456b47cacdc7 block: ataflop: fix breakage introduced at blk-mq refactoring
4eac23d60cbc io-wq: Remove duplicate code in io_workqueue_create()
c8dccb28c329 mmc: mxs-mmc: disable regulator on error and in the remove function
6eff31412bec media: ir_toy: assignment to be16 should be of correct type
13e59b7cb277 media: ivtv: fix build for UML
51911aa157ca mailbox: Remove WARN_ON for async_cb.cb in cmdq_exec_done
2a0b9ebec182 thermal/drivers/qcom/lmh: make QCOM_LMH depends on QCOM_SCM
3988164fe9dd net: stream: don't purge sk_error_queue in sk_stream_kill_queues()
fbc24df3a5f6 drm/msm: uninitialized variable in msm_gem_import()
3464103cf485 drm/msm: fix potential NULL dereference in cleanup
cbbe14644798 drm/msm: unlock on error in get_sched_entity()
de99b40b93ac drm/msm: potential error pointer dereference in init()
c14f0035476f drm/msm: Fix potential Oops in a6xx_gmu_rpmh_init()
dafe75a9a6dc drm/msm/dsi: do not enable irq handler before powering up the host
3f25451eae28 thermal/core: fix a UAF bug in __thermal_cooling_device_register()
b208436e229b crypto: octeontx2 - set assoclen in aead_do_fallback()
300ae3a5e884 tcp: switch orphan_count to bare per-cpu counters
cae022f91174 net: tulip: winbond-840: fix build for UML
be060f47ef38 net: intel: igc_ptp: fix build for UML
2fa75b667335 net: fealnx: fix build for UML
3869eecf0504 kernel/sched: Fix sched_fork() access an invalid sched_task_group
d719ff1151c7 ath10k: fix max antenna gain unit
dd0fe5985b0a hwmon: (pmbus/lm25066) Let compiler determine outer dimension of lm25066_coeff
b275c71a7b70 hwmon: Fix possible memleak in __hwmon_device_register()
9531d477589d net, neigh: Fix NTF_EXT_LEARNED in combination with NTF_USE
dacdfe7870ae memstick: jmb38x_ms: use appropriate free function in jmb38x_ms_alloc_host()
3d78b5b1ce01 memstick: avoid out-of-range warning
5b9c76df7ff0 mmc: sdhci-omap: Fix context restore
e28a1a0a412a mmc: sdhci-omap: Fix NULL pointer exception if regulator is not configured
6b084516fbc3 gve: Track RX buffer allocation failures
fd2c9032b88c gve: Recover from queue stall due to missed IRQ
e5be2a62567f b43: fix a lower bounds test
c9179a2da18c b43legacy: fix a lower bounds test
4bef6e617dbc ima: fix deadlock when traversing "ima_default_rules".
594a893df55d hwrng: mtk - Force runtime pm ops for sleep ops
51dbedbf08e0 crypto: qat - disregard spurious PFVF interrupts
d0536282842a crypto: qat - detect PFVF collision after ACK
b2805fb00de5 crypto: ccree - avoid out-of-range warnings from clang
0535d3506378 media: dvb-frontends: mn88443x: Handle errors of clk_prepare_enable()
a117b767084d media: venus: fix vpp frequency calculation for decoder
3ad069d68eea netfilter: nft_dynset: relax superfluous check on set updates
d846b69dc7ff rcu: Fix rcu_dynticks_curr_cpu_in_eqs() vs noinstr
fa1af3cb0e47 rcu: Always inline rcu_dynticks_task*_{enter,exit}()
d0b693aa948b EDAC/amd64: Handle three rank interleaving mode
3357b8a431b3 x86/insn: Use get_unaligned() instead of memcpy()
3c38c852c0ac PM: EM: Fix inefficient states detection
a8f0c3c39e26 ath9k: Fix potential interrupt storm on queue reset
428199299910 ath10k: Don't always treat modem stop events as crashes
ff3487b08949 media: em28xx: Don't use ops->suspend if it is NULL
b9a0ff08a69e cpuidle: Fix kobject memory leaks in error paths
c95380ba527a drm: fb_helper: fix CONFIG_FB dependency
a213407573c6 crypto: ecc - fix CRYPTO_DEFAULT_RNG dependency
af18fe767136 kprobes: Do not use local variable when creating debugfs file
69dce456e2be scs: Release kasan vmalloc poison in scs_free process
43cfb5df9289 media: atmel: fix the ispck initialization
ead5a141ea22 media: cx23885: Fix snd_card_free call on null card pointer
5a225627ba4a media: tm6000: Avoid card name truncation
afa370b5316f media: si470x: Avoid card name truncation
ccd29579f7e7 media: radio-wl1273: Avoid card name truncation
0fd64cd9ffde media: sun6i-csi: Allow the video device to be open multiple times
e44fa27c650f media: i2c: ths8200 needs V4L2_ASYNC
7b0b7b8a2ba5 media: imx-jpeg: Fix the error handling path of 'mxc_jpeg_probe()'
56bc844703f0 media: mtk-vpu: Fix a resource leak in the error handling path of 'mtk_vpu_probe()'
4a2ab1ce79ba media: TDA1997x: handle short reads of hdmi info frame.
e7f187649c24 media: mtk-vcodec: venc: fix return value when start_streaming fails
4f0ea72e4a34 media: v4l2-ioctl: S_CTRL output the right value
9e14a3d9f768 media: imx258: Fix getting clock frequency
d30d3397db1e media: dvb-usb: fix ununit-value in az6027_rc_query
98cb3a055b18 media: ttusb-dec: avoid release of non-acquired mutex
f8b2ae89671d media: cxd2880-spi: Fix a null pointer dereference on error handling path
b6100e16716e media: meson-ge2d: Fix rotation parameter changes detection in 'ge2d_s_ctrl()'
2899243f272f media: em28xx: add missing em28xx_close_extension
e6a908c5935d libbpf: Fix skel_internal.h to set errno on loader retval < 0
798419802590 drm/amdgpu: fix warning for overflow check
09732e205684 arm64: mm: update max_pfn after memory hotplug
410a0f42ced0 drm/ttm: stop calling tt_swapin in vm_access
092e6cb650eb ath10k: sdio: Add missing BH locking around napi_schdule()
63287a77b138 ath10k: Fix missing frame timestamp for beacon/probe-resp
cef58d2c3466 gve: DQO: avoid unused variable warnings
9b955d5d6038 ath11k: Fix memory leak in ath11k_qmi_driver_event_work
f3ccc878b5fb ath11k: fix packet drops due to incorrect 6 GHz freq value in rx status
3b087c2fc0d7 ath11k: Avoid race during regd updates
9b59c76797e6 ath11k: fix some sleeping in atomic bugs
e1ddaa5dcef6 bpf/tests: Fix error in tail call limit tests
739b92765e04 net: dsa: rtl8366: Fix a bug in deleting VLANs
57e4d980b7fe net: dsa: rtl8366rb: Fix off-by-one bug
9cc25e8529d5 net/mlx5: Accept devlink user input after driver initialization complete
cfaf70338314 cfg80211: always free wiphy specific regdomain
6adf16c2e5a2 mac80211: twt: don't use potentially unaligned pointer
80adbd8c4502 fortify: Fix dropped strcpy() compile-time write overflow check
c9f95c678318 mptcp: do not shrink snd_nxt when recovering
eade470b4351 rxrpc: Fix _usecs_to_jiffies() by using usecs_to_jiffies()
9fcd75ee9159 qed: Don't ignore devlink allocation failures
af484a1cde06 bnxt_en: Check devlink allocation and registration status
e4ecf64c0d10 Bluetooth: hci_h5: Fix (runtime)suspend issues on RTL8723BS HCIs
56dc06554516 crypto: qat - power up 4xxx device
891fec9f116c crypto: caam - disable pkc for non-E SoCs
adce47a6405c drm/amdgpu: move amdgpu_virt_release_full_gpu to fini_early stage
63c1435cab9b drm/amd/display: Pass display_pipe_params_st as const in DML
24b4d7102125 drm/amdgpu: Fix crash on device remove/driver unload
5481612c471f Bluetooth: btmtkuart: fix a memleak in mtk_hci_wmt_sync
7bcbced2534b wilc1000: fix possible memory leak in cfg_scan_result()
2c4415e819f1 wcn36xx: Fix Antenna Diversity Switching
26d3bf38ae3e cgroup: Make rebind_subsystems() disable v2 controllers all at once
3409f88809a6 spi: Fixed division by zero warning
bc79831b426b drm: bridge: it66121: Fix return value it66121_probe
1a1028f89646 net: phylink: don't call netif_carrier_off() with NULL netdev
02113c83f405 net: net_namespace: Fix undefined member in key_remove_domain()
c401830b0125 lockdep: Let lock_is_held_type() detect recursive read as read
255c569eeb46 virtio-gpu: fix possible memory allocation failure
a496b7090881 crypto: sm4 - Do not change section of ck and sbox
41cfb139c36c drm/v3d: fix wait for TMU write combiner flush
0a97e2fb9690 net/mlx5: Publish and unpublish all devlink parameters at once
d9b17a030a1b objtool: Handle __sanitize_cov*() tail calls
c8a2b96d755c x86/xen: Mark cpu_bringup_and_idle() as dead_end_function
e6e4b75f977e MIPS: lantiq: dma: fix burst length for DEU
4a9334d04ba6 rcu: Fix existing exp request check in sync_sched_exp_online_cleanup()
3998e06d9511 Bluetooth: hci_uart: fix GPF in h5_recv
9fc04208643f libbpf: Don't crash on object files with no symbol tables
11080de0a75c Bluetooth: fix init and cleanup of sco_conn.timeout_work
5f14a2c4648c drm/bridge: it66121: Wait for next bridge to be probed
3c1ccfcae8a9 drm/bridge: it66121: Initialize {device,vendor}_ids
848df133cc42 perf/x86/intel/uncore: Fix Intel SPR M3UPI event constraints
a4a2da864e2a perf/x86/intel/uncore: Fix Intel SPR M2PCIE event constraints
ced11c1b40ca perf/x86/intel/uncore: Fix Intel SPR IIO event constraints
cdba93ecbbd2 perf/x86/intel/uncore: Fix Intel SPR CHA event constraints
5a31df7d0f9f drm/bridge: anx7625: Propagate errors from sp_tx_rst_aux()
e3b39825ed08 fbdev/efifb: Release PCI device's runtime PM ref during FB destroy
8085f032541b selftests/bpf: Fix strobemeta selftest regression
6c7a147b876a netfilter: conntrack: set on IPS_ASSURED if flows enters internal stream state
ad04ebbe715c parisc/kgdb: add kgdb_roundup() to make kgdb work with idle polling
028459fab9a6 parisc/unwind: fix unwinder when CONFIG_64BIT is enabled
ab7ce95a04d6 erofs: don't trigger WARN() when decompression fails
f6ca0ac23202 task_stack: Fix end_of_stack() for architectures with upwards-growing stack
3b935cca35e4 parisc: fix warning in flush_tlb_all
ec6ceae80a42 perf/x86/intel: Fix ICL/SPR INST_RETIRED.PREC_DIST encodings
d0f6689591df selftests/core: fix conflicting types compile error for close_range()
116b6202b29a drm/amd/display: dcn20_resource_construct reduce scope of FPU enabled
ed515eea7701 x86/hyperv: Protect set_hv_tscchange_cb() against getting preempted
0f421e257e49 inet: remove races in inet{6}_getname()
b58be9a0495f ftrace: do CPU checking after preemption disabled
e24f9679c3c0 Revert "wcn36xx: Enable firmware link monitoring"
194e8d7ad91f wcn36xx: Fix packet drop on resume
397fec25850c wcn36xx: Correct band/freq reporting on RX
51421f89b909 spi: bcm-qspi: Fix missing clk_disable_unprepare() on error in bcm_qspi_probe()
6039fcd85896 btrfs: do not take the uuid_mutex in btrfs_rm_device
bfc4788e4481 btrfs: reflink: initialize return value to 0 in btrfs_extent_same()
91f8e91d93ce ACPI: resources: Add one more Medion model in IRQ override quirk
59f3feb05cfd ACPI: AC: Quirk GK45 to skip reading _PSR
0914663ac127 net: annotate data-race in neigh_output()
c90eb23eb709 vrf: run conntrack only in context of lower/physdev for locally generated packets
85a1da3d7a84 tools/latency-collector: Use correct size when writing queue_full_warning
0db6161eacda ARM: 9136/1: ARMv7-M uses BE-8, not BE-32
d2ab6689ed0d gfs2: Fix glock_hash_walk bugs
e10e8f490d6e gfs2: Cancel remote delete work asynchronously
af6f6ff3a78c can: bittiming: can_fixup_bittiming(): change type of tseg1 and alltseg to unsigned int
7b697bb86020 gre/sit: Don't generate link-local addr if addr_gen_mode is IN6_ADDR_GEN_MODE_NONE
7d341b27013e ARM: clang: Do not rely on lr register for stacktrace
7f11e51f0c9d smackfs: use __GFP_NOFAIL for smk_cipso_doi()
b94d32876378 iwlwifi: mvm: disable RX-diversity in powersave
c430f6255375 selftests/bpf: Fix perf_buffer test on system with offline cpus
19074f05307b selftests: kvm: fix mismatched fclose() after popen()
df0b6862b795 PM: hibernate: Get block device exclusively in swsusp_check()
77aa339ea59f arm64: vdso32: suppress error message for 'make mrproper'
3d890ac58a85 samples/bpf: Fix application of sizeof to pointer
54718ee9b8ee nvme: drop scan_lock and always kick requeue list when removing namespaces
0703920365d3 nvmet-tcp: fix use-after-free when a port is removed
3c82292ee9bc nvmet-rdma: fix use-after-free when a port is removed
e3d5ebee9c05 nvmet: fix use-after-free when a port is removed
1e7edd183481 drm/amdgpu/pm: properly handle sclk for profiling modes on vangogh
451be8bcdc17 media: allegro: ignore interrupt if mailbox is not initialized
a3d08aae1805 block: remove inaccurate requeue check
22d5a9add83b iwlwifi: change all JnP to NO-160 configuration
819efcac7c3c mwl8k: Fix use-after-free in mwl8k_fw_state_machine()
1c794f4b483a mt76: mt7915: fix an off-by-one bound check
84afcec2ca5a tracing/cfi: Fix cmp_entries_* functions signature mismatch
b09a201b714d workqueue: make sysfs of unbound kworker cpumask more clever
0b1a4d0ff911 lib/xz: Validate the value before assigning it to an enum variable
5329376ce6ae lib/xz: Avoid overlapping memcpy() with invalid input with in-place decompression
562d350a8809 locking/rwsem: Disable preemption for spinning region
e5d5e5317150 memstick: r592: Fix a UAF bug when removing the driver
9fff6457afad md: update superblock after changing rdev flags in state_store
22b68b015d44 floppy: fix calling platform_device_unregister() on invalid drives
396c9e834d69 block: bump max plugged deferred size from 16 to 32
3792174592b6 thermal/drivers/tsens: Add timeout to get_temp_tsens_valid
660446ff86ca drm/msm: prevent NULL dereference in msm_gpu_crashstate_capture()
38ef472ca8e5 thermal/core: Fix null pointer dereference in thermal_release()
7c0caa7e2636 leaking_addresses: Always print a trailing newline
9796eb9137b3 net: phy: micrel: make *-skew-ps check more lenient
abbc58deaab6 drm/amdkfd: fix resume error when iommu disabled in Picasso
5837c23f7ddd drm/amd/display: fix null pointer deref when plugging in display
cfc1a472a8d8 ACPI: scan: Release PM resources blocked by unused objects
37f2aebf1656 ACPI: battery: Accept charges over the design capacity as full
c45c83c1716f iov_iter: Fix iov_iter_get_pages{,_alloc} page fault return value
d78de051ff32 mmc: moxart: Fix reference count leaks in moxart_probe
e41d46fe0954 KVM: arm64: Propagate errors from __pkvm_prot_finalize hypercall
dd267d35d82a ath: dfs_pattern_detector: Fix possible null-pointer dereference in channel_detector_create()
4e4f6e33d6f2 tracing: Disable "other" permission bits in the tracefs files
1067f23c1ee7 tracefs: Have tracefs directories not set OTH permission bits by default
5425f404b527 drm/amdkfd: rm BO resv on validation to avoid deadlock
b3aa4e54add8 net-sysfs: try not to restart the syscall if it will fail eventually
74339549c8dc media: usb: dvd-usb: fix uninit-value bug in dibusb_read_eeprom_byte()
688ac68a23d4 media: ipu3-imgu: VIDIOC_QUERYCAP: Fix bus_info
eb795fd959ac media: ipu3-imgu: imgu_fmt: Handle properly try
4c2a4bad39e1 media: imx-jpeg: Fix possible null pointer dereference
a56e9d7609ee ice: Move devlink port to PF/VF struct
9053ab4dfc1b cpufreq: Make policy min/max hard requirements
e8e98aa12411 ACPICA: Avoid evaluating methods too early during system resume
5fc13c5d43f5 kselftests/sched: cleanup the child processes
a803c35d0b38 fs/proc/uptime.c: Fix idle time reporting in /proc/uptime
8c379a77ae33 ipmi: Disable some operations during a panic
60cbd3e635f0 media: rcar-csi2: Add checking to rcsi2_start_receiver()
77da4492ad93 brcmfmac: Add DMI nvram filename quirk for Cyberbook T116 tablet
f25c2738d68a rtw88: fix RX clock gate setting while fifo dump
7ea446e3363e ia64: don't do IA64_CMPXCHG_DEBUG without CONFIG_PRINTK
5b55e15b6636 media: mceusb: return without resubmitting URB in case of -EPROTO error.
51ae7f962672 media: rcar-vin: Use user provided buffers when starting
88dcc2d14960 media: imx: set a media_device bus_info string
e922d0b6e6a6 media: videobuf2: rework vb2_mem_ops API
cdf5c3f84607 media: s5p-mfc: Add checking to s5p_mfc_probe().
bb2cb679699e media: s5p-mfc: fix possible null-pointer dereference in s5p_mfc_probe()
2bd28fe587a5 media: vidtv: Fix memory leak in remove
18c4e5e59f82 media: uvcvideo: Set unique vdev name based in type
477f767b9472 media: uvcvideo: Return -EIO for control errors
7c2695613989 media: uvcvideo: Set capability in s_param
673ce2812ed4 media: stm32: Potential NULL pointer dereference in dcmi_irq_thread()
25bde3ba1a34 media: atomisp: Fix error handling in probe
f92948e1e25a media: netup_unidvb: handle interrupt properly according to the firmware
944fc4717321 media: mt9p031: Fix corrupted frame after restarting stream
1a0e5b13f907 octeontx2-pf: Enable promisc/allmulti match MCAM entries.
26fcf9347ab4 ath10k: high latency fixes for beacon buffer
20e8a4f26534 ath11k: Change DMA_FROM_DEVICE to DMA_TO_DEVICE when map reinjected packets
163189aa6e44 ath11k: add handler for scan event WMI_SCAN_EVENT_DEQUEUED
8ea518dfa39b ath11k: Avoid reg rules update during firmware recovery
72d43bc26938 selftests: net: fib_nexthops: Wait before checking reported idle time
678e8cd1bf22 drm/amd/display: Fix null pointer dereference for encoders
351601af203d drm/amdgpu: Fix MMIO access page fault
9630d4d0d14d fscrypt: allow 256-bit master keys with AES-256-XTS
d6509627e06f spi: Check we have a spi_device_id for each DT compatible
33d2d8a12f8d mwifiex: Properly initialize private structure on interface type changes
bcf47459ee7b mwifiex: Run SET_BSS_MODE when changing from P2P to STATION vif-type
7251782df85f x86: Increase exception stack sizes
a5a43cde6601 x86/mm/64: Improve stack overflow warnings
347f35130e4e crypto: aesni - check walk.nbytes instead of err
53aad1ad0e69 ath11k: Align bss_chan_info structure with firmware
4e246ca955ca smackfs: Fix use-after-free in netlbl_catmap_walk()
f85b0fe504ac rcu-tasks: Move RTGS_WAIT_CBS to beginning of rcu_tasks_kthread() loop
e36b7768aad6 ACPI: resources: Add DMI-based legacy IRQ override quirk
ae11b215aef8 net: sched: update default qdisc visibility after Tx queue cnt changes
d120d005b96f locking/lockdep: Avoid RCU-induced noinstr fail
a244da298418 MIPS: lantiq: dma: reset correct number of channel
6a5b3f5dfb02 MIPS: lantiq: dma: add small delay after reset
55bf61828ab3 drm/amdgpu: move iommu_resume before ip init/resume
36bd10013bdf platform/x86: wmi: do not fail if disabling fails
9508ee70d138 rcutorture: Avoid problematic critical section nesting on PREEMPT_RT
f3135fa42b0f drm/panel-orientation-quirks: add Valve Steam Deck
a05a18cfbf9f Bluetooth: call sock_hold earlier in sco_conn_del
7e22e4db95b0 Bluetooth: fix use-after-free error in lock_sock_nested()
b990c219c4c9 Bluetooth: sco: Fix lock_sock() blockage by memcpy_from_msg()
8815bbe712f3 drm: panel-orientation-quirks: Add quirk for the Samsung Galaxy Book 10.6
4fe898b1ec8d drm: panel-orientation-quirks: Add quirk for KD Kurio Smart C15200 2-in-1
c9795f6bf0eb drm: panel-orientation-quirks: Update the Lenovo Ideapad D330 quirk (v2)
8ff10b430ca0 dma-buf: WARN on dmabuf release with pending attachments
061a8677ab37 component: do not leave master devres group open after bind
4c264dfbb6a4 power: supply: max17042_battery: Clear status bits in interrupt handler
fc49ca4dbae1 USB: chipidea: fix interrupt deadlock
273a85ac422d USB: iowarrior: fix control-message timeouts
2fbf746092c2 most: fix control-message timeouts
8b09d36daf47 Revert "serial: 8250: Fix reporting real baudrate value in c_ospeed field"
02981a96642f serial: 8250: Fix reporting real baudrate value in c_ospeed field
670f1f30ed70 io-wq: serialize hash clear with wakeup
5bfa57795dc1 ksmbd: set unique value to volume serial field in FS_VOLUME_INFORMATION
15e904c14951 serial: 8250: fix racy uartclk update
cefb16b7b2d5 USB: serial: keyspan: fix memleak on probe errors
309d6b5d45c9 Documentation:devicetree:bindings:iio:dac: Fix val
df56942798c4 iio: ad5770r: make devicetree property reading consistent
a92d075cb4b5 iio: dac: ad5446: Fix ad5622_write() return value
bd297200b747 drivers: iio: dac: ad5766: Fix dt property name
c32c68ac7ba1 iio: buffer: Fix memory leak in iio_buffer_register_legacy_sysfs_groups()
289884de9ff6 iio: buffer: Fix memory leak in __iio_buffer_alloc_sysfs_and_mask()
b6444e89525d iio: buffer: Fix memory leak in iio_buffers_alloc_sysfs_and_mask()
d7652924a132 iio: buffer: check return value of kstrdup_const()
1c531289b74e coresight: trbe: Defer the probe on offline CPUs
ea64104287cb coresight: trbe: Fix incorrect access of the sink specific data
d27fc5ba46fc coresight: cti: Correct the parameter for pm_runtime_put
76d6bf233c7e pinctrl: core: fix possible memory leak in pinctrl_enable()
eb4102bb3821 mfd: simple-mfd-i2c: Select MFD_CORE to fix build error
63dc291ab5e0 cifs: set a minimum of 120s for next dns resolution
1c35a216ef77 cifs: To match file servers, make sure the server hostname matches
120d9dca7d51 quota: correct error number in free_dqentry()
332db0909293 quota: check block number when reading the block in quota file
ddfea4b7d13b PCI: aardvark: Fix support for PCI_ROM_ADDRESS1 on emulated bridge
7c7ebe1ec81f PCI: aardvark: Set PCI Bridge Class Code to PCI Bridge
19a6b2b2f0fe PCI: aardvark: Fix support for PCI_BRIDGE_CTL_BUS_RESET on emulated bridge
25540fbe7858 PCI: aardvark: Fix support for bus mastering and PCI_COMMAND on emulated bridge
7aaf8585eebc PCI: aardvark: Read all 16-bits from PCIE_MSI_PAYLOAD_REG
ce44e532b96e PCI: aardvark: Fix return value of MSI domain .alloc() method
643a20110083 PCI: aardvark: Fix configuring Reference clock
39579eb4f1f8 PCI: aardvark: Fix reporting Data Link Layer Link Active
9cb9b2bb7ab6 PCI: aardvark: Do not unmask unused interrupts
2c6b530a0e3c PCI: aardvark: Fix checking for link up via LTSSM state
da478902acec PCI: aardvark: Do not clear status bits of masked interrupts
39c5465c3639 cxl/pci: Fix NULL vs ERR_PTR confusion
afa7885b56e8 PCI: cadence: Add cdns_plat_pcie_probe() missing return
228028b01dab PCI: pci-bridge-emul: Fix emulation of W1C bits
5cffa333a2b2 ovl: fix filattr copy-up failure
2f372e38f572 ovl: fix use after free in struct ovl_aio_req
90817d78388c xen/balloon: add late_initcall_sync() for initial ballooning done
013fa93c79bd ifb: fix building without CONFIG_NET_CLS_ACT
ea531d52fa08 serial: core: Fix initializing and restoring termios speed
34c2a0d0a70a ring-buffer: Protect ring_buffer_reset() from reentrancy
4cac487a4730 io_uring: honour zeroes as io-wq worker limits
e1bb995036c7 powerpc/85xx: Fix oops when mpc85xx_smp_guts_ids node cannot be found
e4b49c3f9d58 iio: adc: tsc2046: fix scan interval warning
24d8a24f5641 can: j1939: j1939_tp_cmd_recv(): check the dst address of TP.CM_BAM
e35f3d74bf06 can: j1939: j1939_can_recv(): ignore messages with invalid source address
d1be2ab08354 can: j1939: j1939_tp_cmd_recv(): ignore abort message in the BAM transport
0c10d5d39563 can: mcp251xfd: mcp251xfd_irq(): add missing can_rx_offload_threaded_irq_finish() in case of bus off
dac06227e1a3 can: peak_usb: always ask for BERR reporting for PCAN-USB devices
df093c18bdb1 KVM: nVMX: Handle dynamic MSR intercept toggling
c98d5e42be2c KVM: nVMX: Query current VMCS when determining if MSR bitmaps are in use
35da6d291aca KVM: x86: Add helper to consolidate core logic of SET_CPUID{2} flows
9d12bf19b278 KVM: x86: Fix recording of guest steal time / preempted status
23e989b977e0 KVM: arm64: Extract ESR_ELx.EC only
1ff8dae30188 iio: core: check return value when calling dev_set_name()
91410e2a28ac iio: core: fix double free in iio_device_unregister_sysfs()
4ee77bdef8e4 power: supply: max17042_battery: use VFSOC for capacity when no rsns
165ca6e8ac5b power: supply: max17042_battery: Prevent int underflow in set_soc_threshold
aaf0562f7147 mctp: handle the struct sockaddr_mctp padding fields
22584cf24a51 mtd: rawnand: socrates: Keep the driver compatible with on-die ECC engines
b523b232e46a soc: fsl: dpio: use the combined functions to protect critical zone
e7c39e85f184 soc: fsl: dpio: replace smp_processor_id with raw_smp_processor_id
22c84fe73e64 soc: samsung: exynos-pmu: Fix compilation when nothing selects CONFIG_MFD_CORE
82d43437f88c signal: Add SA_IMMUTABLE to ensure forced siganls do not get changed
e87f4856a2c4 signal/mips: Update (_save|_restore)_fp_context to fail with -EFAULT
9098de58b6d9 memory: renesas-rpc-if: Correct QSPI data transfer in Manual mode
4a2aba3252e8 signal: Remove the bogus sigkill_pending in ptrace_stop
b6a38dd58e4d ASoC: tegra: Restore AC97 support
0ed4b15a50fb ASoC: tegra: Set default card name for Trimslice
5f0d86c4fd2e RDMA/qedr: Fix NULL deref for query_qp on the GSI QP
8c0abfa673a7 perf/x86/intel/uncore: Fix Intel ICX IIO event constraints
54cabed24b73 perf/x86/intel/uncore: Fix invalid unit check
398318fb96c8 perf/x86/intel/uncore: Support extra IMC channel on Ice Lake server
a71f98f1b7a4 rsi: Fix module dev_oper_mode parameter description
a72ebbbc0f4f rsi: fix rate mask set leading to P2P failure
a23cb5f914e1 rsi: fix key enabled check causing unwanted encryption for vap_id > 0
d63343e5aa17 rsi: fix occasional initialisation failure with BT coex
60cbc288f8f3 wcn36xx: handle connection loss indication
4a41c6373c38 dma-buf: fix and rework dma_buf_poll v7
d5e659a7a6cb libata: fix checking of DMA state
023d9d9e74d6 mwifiex: Try waking the firmware until we get an interrupt
5240b74b3fe1 mwifiex: Read a PCI register after writing the TX ring write pointer
c8e31bfb3556 PM: sleep: Do not let "syscore" devices runtime-suspend during system transitions
3883dbfcce48 wcn36xx: Fix (QoS) null data frame bitrate/modulation
bfe4950d90e2 wcn36xx: Fix tx_status mechanism
7fc610c422c1 wcn36xx: Fix HT40 capability for 2Ghz band
2c7f6d6154c4 HID: surface-hid: Allow driver matching for target ID 1 devices
31d61c42f116 HID: surface-hid: Use correct event registry for managing HID events
37200a451d7e mt76: mt7615: fix skb use-after-free on mac reset
bc1e276eea3d platform/surface: aggregator_registry: Add support for Surface Laptop Studio
e094a99911da ifb: Depend on netfilter alternatively to tc
11b37df34aa8 evm: mark evm_fixmode as __ro_after_init
364b9bf060f9 rtl8187: fix control-message timeouts
422cef790448 PCI: Mark Atheros QCA6174 to avoid bus reset
003ec78e77fc ath10k: fix division by zero in send path
ee8f6a4b4080 ath10k: fix control-message timeout
eb7c750c3d85 ath6kl: fix control-message timeout
0d52fb54f0cf ath6kl: fix division by zero in send path
d52b152a1f4a mwifiex: fix division by zero in fw download path
54d7dd169745 EDAC/sb_edac: Fix top-of-high-memory value for Broadwell/Haswell
79f21b74070b regulator: dt-bindings: samsung,s5m8767: correct s5m8767,pmic-buck-default-dvs-idx property
e61d145a0825 regulator: s5m8767: do not use reset value as DVS voltage if GPIO DVS is disabled
c4ffc1e0df1f hwmon: (pmbus/lm25066) Add offset coefficients
3c0049a01b21 md/raid1: only allocate write behind bio for WriteMostly device
805d775fe6bc ipmi:watchdog: Set panic count to proper value on a panic
dcfba4896069 selinux: fix race condition when computing ocontext SIDs
5ae00ac03dd7 ia64: kprobes: Fix to pass correct trampoline address to the handler
0e47821087de KVM: PPC: Tick accounting should defer vtime accounting 'til after IRQ handling
df4d4868d164 KVM: VMX: Unregister posted interrupt wakeup handler on hardware unsetup
7a8f76177494 KVM: x86/mmu: Drop a redundant, broken remote TLB flush
aba42e1ab188 btrfs: call btrfs_check_rw_degradable only if there is a missing device
1084e628b8c5 btrfs: fix lost error handling when replaying directory deletes
e94f785f6ef4 btrfs: clear MISSING device status bit in btrfs_close_one_device
5742269ad0cd x86/iopl: Fake iopl(3) CLI/STI usage
dead44f5c5a0 x86/irq: Ensure PI wakeup handler is unregistered before module unload
e90c6b8fe3b4 x86/cpu: Fix migration safety with X86_BUG_NULL_SEL
f75068bc6796 x86/sme: Use #define USE_EARLY_PGTABLE_L5 in mem_encrypt_identity.c
729bcb4c92ca fuse: fix page stealing
2cc2e56d9042 ext4: refresh the ext4_ext_path struct after dropping i_data_sem.
4e33566bb00a ext4: ensure enough credits in ext4_ext_shift_path_extents
b5be67d04989 ext4: fix lazy initialization next schedule time computation in more granular unit
46fd62b26822 Revert "ext4: enforce buffer head state assertion in ext4_da_map_blocks"
d90b9f87968a ALSA: timer: Unconditionally unlink slave instances, too
e1bcad600319 ALSA: timer: Fix use-after-free problem
47047ae0b779 ALSA: PCM: Fix NULL dereference at mmap checks
b9d4a8993500 ALSA: pci: rme: Fix unaligned buffer addresses
9a520938980b ALSA: synth: missing check for possible NULL after the call to kstrdup
b875f9be6275 ALSA: hda: Free card instance properly at probe errors
c2f07b0d171d ALSA: usb-audio: Add registration quirk for JBL Quantum 400
62448b6a73d0 ALSA: usb-audio: Line6 HX-Stomp XL USB_ID for 48k-fixed quirk
41714a17a217 ALSA: mixer: fix deadlock in snd_mixer_oss_set_volume
b13a4908f4b5 ALSA: mixer: oss: Fix racy access to slots
46a2315ac327 ALSA: line6: fix control and interrupt message timeouts
cb104cd727d9 ALSA: 6fire: fix control and bulk message timeouts
8b86a54e00c2 ALSA: ua101: fix division by zero at probe
2b752ce22112 ALSA: hda/realtek: Add quirk for HP EliteBook 840 G7 mute LED
0b898ef1050d ALSA: hda/realtek: Add quirk for ASUS UX550VE
17c69c4f7f09 ALSA: hda/realtek: Add a quirk for Acer Spin SP513-54N
a2ea7dec7785 ALSA: hda/realtek: Headset fixup for Clevo NH77HJQ
6cd2cfd09f50 ALSA: hda/realtek: Add quirk for Clevo PC70HS
af31cffa09b7 ALSA: hda/realtek: Add a quirk for HP OMEN 15 mute LED
13c4f0e731e7 ALSA: hda/realtek: Fix mic mute LED for the HP Spectre x360 14
00845427c47d media: v4l2-ioctl: Fix check_ext_ctrls
7cfad3f87d80 media: ir-kbd-i2c: improve responsiveness of hauppauge zilog receivers
9e37e1cad5b0 media: rkvdec: Support dynamic resolution changes
2837d7277ea1 media: ite-cir: IR receiver stop working after receive overflow
09cca6f81dd1 media: rkvdec: Do not override sizeimage for output format
2a50d9fe9227 crypto: s5p-sss - Add error handling in s5p_aes_probe()
4a3ef4d6d330 firmware/psci: fix application of sizeof to pointer
d4efa4181ddf tpm: Check for integer overflow in tpm2_map_response_body()
c41492ee2014 parisc: Fix ptrace check on syscall return
9a5125dcb045 parisc: Fix set_fixmap() on PA1.x CPUs
7887fea0c0d4 io-wq: remove worker to owner tw dependency
e119d7ef5f92 exfat: fix incorrect loading of i_blocks for large files
aa0b015e87a8 mmc: dw_mmc: Dont wait for DRTO on Write RSP error
20af47eb7fd3 mmc: mtk-sd: Add wait dma stop done flow
3cddf1f7f7b5 char: xillybus: fix msg_ep UAF in xillyusb_probe()
d1c687148ed5 ce/gf100: fix incorrect CE0 address calculation on some GPUs
c07179037bcc scsi: qla2xxx: Fix use after free in eh_abort path
eb722507fb2c scsi: qla2xxx: Fix kernel crash when accessing port_speed sysfs file
eafa65575e6f scsi: qla2xxx: Fix crash in NVMe abort path
0bb97f2486ce scsi: lpfc: Fix FCP I/O flush functionality for TMF routines
bea230d0b26c scsi: lpfc: Don't release final kref on Fport node while ABTS outstanding
cd816d01efae scsi: core: Remove command size deduction from scsi_setup_scsi_cmnd()
005838becc27 scsi: core: Avoid leaving shost->last_reset with stale value if EH does not run
baf27c15ee89 scsi: scsi_ioctl: Validate command size
9dd45bf24027 ocfs2: fix data corruption on truncate
7d96493bd585 libata: fix read log timeout value
82e2f47f26a2 Input: i8042 - Add quirk for Fujitsu Lifebook T725
4f43e1c69280 Input: elantench - fix misreporting trackpoint coordinates
6655277462f3 Input: iforce - fix control-message timeout
eb86e9884f29 usb: xhci: Enable runtime-pm by default on AMD Yellow Carp platform
5a71fa1a1025 xhci: Fix USB 3.1 enumeration issues by increasing roothub power-on-good delay

(From OE-Core rev: bc983e78154464f0f3db2bfa2302b1542f311db9)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-09 10:33:25 +00:00
Bruce Ashfield
4606bf77f8 linux-yocto/5.14: update to v5.14.21
Updating linux-yocto/5.14 to the latest korg -stable release that comprises
the following commits:

545728d9e085 Linux 5.14.21
999805aaf925 Revert "ACPI: scan: Release PM resources blocked by unused objects"
0750f769b958 thermal: Fix NULL pointer dereferences in of_thermal_ functions
50812034d105 perf/core: Avoid put_page() when GUP fails
ae2afdf82a00 PCI: Add MSI masking quirk for Nvidia ION AHCI
18c55aed17b2 PCI/MSI: Deal with devices lying about their MSI mask capability
f64af1735731 PCI/MSI: Destroy sysfs before freeing entries
f41389affe96 parisc/entry: fix trace test in syscall exit path
56249b445477 Bluetooth: btusb: Add support for TP-Link UB500 Adapter
dbaa485bc5a1 bootconfig: init: Fix memblock leak in xbc_make_cmdline()
6bb162d35d74 loop: Use blk_validate_block_size() to validate block size
e2d865b3109c block: Add a helper to validate the block size
5b9f31a3be76 fortify: Explicitly disable Clang support
87304542f264 KVM: Fix steal time asm constraints
02eafa8f1558 Revert "drm: fb_helper: fix CONFIG_FB dependency"
bd462930f7e5 Revert "drm: fb_helper: improve CONFIG_FB dependency"
ff7124b91f52 Linux 5.14.20
1b86960dc451 Revert "x86: Fix get_wchan() to support the ORC unwinder"
961913f45ff6 Revert "sched: Add wrapper for get_wchan() to keep task blocked"
b51c1a592faa Revert "x86: Fix __get_wchan() for !STACKTRACE"
0e62c60b3e7e Linux 5.14.19
c6d58e3e55f5 media: videobuf2-dma-sg: Fix buf->vb NULL pointer dereference
283fd7d9fdea media: videobuf2: always set buffer vb2 pointer
6a1968a2f2f6 x86/sev: Make the #VC exception stacks part of the default stacks storage
8c57c9ff7e88 x86/sev: Add an x86 version of cc_platform_has()
0e1cd02ff0d8 arch/cc: Introduce a function to check for confidential computing features
45a47382941d IMA: reject unknown hash algorithms in ima_get_hash_algo
a3c6e358fbe4 selftests/bpf: Fix also no-alu32 strobemeta selftest
49ed44184d0c selftests/x86/iopl: Adjust to the faked iopl CLI/STI usage
35207858385e mmc: moxart: Fix null pointer dereference on pointer host
c254f7893bc1 ath10k: fix invalid dma_addr_t token assignment
733aac9beea8 cifs: fix memory leak of smb3_fs_context_dup::server_hostname
4f2bf4fe6c0d media: vidtv: move kfree(dvb) to vidtv_bridge_dev_release()
af09862cb566 drm/amd/display: Look at firmware version to determine using dmub on dcn21
697103ad736a pinctrl: amd: Handle wake-up interrupt
03e1b25d4079 pinctrl: amd: Add irq field data
f80264b897b2 SUNRPC: Partial revert of commit 6f9f17287e78
7a914508ca2f PCI: aardvark: Fix PCIe Max Payload Size setting
f12fbf40bf63 PCI: Add PCI_EXP_DEVCTL_PAYLOAD_* macros
7005ee54fc09 drm/sun4i: Fix macros in sun8i_csc.h
a595cc219051 powerpc/85xx: fix timebase sync issue when CONFIG_HOTPLUG_CPU=n
0a6412029f7e powerpc/pseries/mobility: ignore ibm, platform-facilities updates
baf19ea102c3 powerpc/64s/interrupt: Fix check_return_regs_valid() false positive
251959e47018 powerpc/security: Use a mutex for interrupt exit code patching
0795f5e71d1d powerpc/powernv/prd: Unregister OPAL_MSG_PRD2 notifier during module unload
36859829b783 powerpc/32e: Ignore ESR in instruction storage interrupt handler
db56efa61734 powerpc/bpf: Fix write protecting JIT code
b3e0a9cb6a67 powerpc/vas: Fix potential NULL pointer dereference
0bc921b6db55 mtd: rawnand: au1550nd: Keep the driver compatible with on-die ECC engines
f5a84162f174 mtd: rawnand: plat_nand: Keep the driver compatible with on-die ECC engines
426c3bda4995 mtd: rawnand: orion: Keep the driver compatible with on-die ECC engines
26b77361800a mtd: rawnand: pasemi: Keep the driver compatible with on-die ECC engines
8d37b0ee8875 mtd: rawnand: gpio: Keep the driver compatible with on-die ECC engines
0c82481e3064 mtd: rawnand: mpc5121: Keep the driver compatible with on-die ECC engines
6ad70604565c mtd: rawnand: xway: Keep the driver compatible with on-die ECC engines
e4435dec6149 mtd: rawnand: ams-delta: Keep the driver compatible with on-die ECC engines
ab5fdf2c5a41 mtd: rawnand: fsmc: Fix use of SM ORDER
6e7363893639 remoteproc: imx_rproc: Fix rsc-table name
0f27656d5e26 remoteproc: imx_rproc: Fix ignoring mapping vdev regions
fce6586cd1d7 remoteproc: Fix the wrong default value of is_iomem
69dbe49b7eac remoteproc: elf_loader: Fix loading segment when is_iomem true
7d1ece44014b s390/cio: make ccw_device_dma_* more robust
60b9aef7f2eb s390/ap: Fix hanging ioctl caused by orphaned replies
9525ecf82f04 s390/tape: fix timer initialization in tape_std_assign()
efa70f3da72a s390/cio: check the subchannel validity for dev_busid
2ea358c095ad s390/cpumf: cpum_cf PMU displays invalid value after hotplug remove
e554c13dbe3c PM: sleep: Avoid calling put_device() under dpm_list_mtx
f36ada9c43db video: backlight: Drop maximum brightness override for brightness zero
c928e634b492 mfd: dln2: Add cell for initializing DLN2 ADC
8d55a5f82210 mm, oom: do not trigger out_of_memory from the #PF
dc6b83b8fef9 mm, oom: pagefault_out_of_memory: don't force global OOM for dying tasks
5741bd42f7c5 io-wq: serialize hash clear with wakeup
9f9d088a4b7d io-wq: fix queue stalling race
92b69466102b io-wq: ensure that hash wait lock is IRQ disabling
31132a895eaa memcg: prohibit unconditional exceeding the limit of dying tasks
d3a14035e51b mm/filemap.c: remove bogus VM_BUG_ON
4546a8cb993c 9p/net: fix missing error check in p9_check_errors
2febd1914ddc bpf, cgroup: Assign cgroup in cgroup_sk_alloc when called from interrupt
72c0c32d9dde bpf, cgroups: Fix cgroup v2 fallback on v1/v2 mixed mode
06cf324a465a net, neigh: Enable state migration between NUD_PERMANENT and NTF_USE
515cfde2a028 dmaengine: bestcomm: fix system boot lockups
3f5e4b70cd7a dmaengine: ti: k3-udma: Set r/tchan or rflow to NULL if request fail
3a127ccaf9a0 dmaengine: ti: k3-udma: Set bchan to NULL if a channel request fail
2f9e6bcab0a1 erofs: fix unsafe pagevec reuse of hooked pclusters
5b67adb7425e f2fs: fix UAF in f2fs_available_free_memory
616c1311b0f3 f2fs: include non-compressed blocks in compr_written_block
25b7077e30ee f2fs: should use GFP_NOFS for directory inodes
29868ae1478f irqchip/sifive-plic: Fixup EOI failed when masked
1bf2fc90b15b posix-cpu-timers: Clear task::posix_cputimers_work in copy_process()
f7ece74d0ab2 KVM: x86: move guest_pv_has out of user_access section
4c09233d17ce x86/mce: Add errata workaround for Skylake SKX37
e95e07bab005 MIPS: Fix assembly error from MIPSr2 code used within MIPS_ISA_ARCH_LEVEL
70eeeb5aa01a MIPS: fix duplicated slashes for Platform file path
1eed13f0aba9 parisc: Flush kernel data mapping in set_pte_at() when installing pte for user page
1a396e845df7 parisc: Fix backtrace to always include init funtion names
b30255c8e2dd ARM: 9156/1: drop cc-option fallbacks for architecture selection
a39c9f2ff126 ARM: 9155/1: fix early early_iounmap()
a6e210f38fd9 smb3: do not error on fsync when readonly
05f320417823 selftests/net: udpgso_bench_rx: fix port argument
36810c9fc743 cxgb4: fix eeprom len when diagnostics not implemented
f9a2f543823f net/smc: fix sk_refcnt underflow on linkdown and fallback
eedcf3fb5e61 vsock: prevent unnecessary refcnt inc for nonblocking connect
ed5ac8bf1dbd net: marvell: mvpp2: Fix wrong SerDes reconfiguration order
e2abbf7dea22 net: ethernet: ti: cpsw_ale: Fix access to un-initialized memory
d2d62615396f net: stmmac: allow a tc-taprio base-time of zero
f116f0dad316 net: hns3: allow configure ETS bandwidth of all TCs
c7f7dc737f0d net: hns3: fix kernel crash when unload VF while it is being reset
214dbb2b4042 net: hns3: fix pfc packet number incorrect after querying pfc parameters
6fc15f27d462 net: hns3: fix ROCE base interrupt vector initialization bug
1959c3614227 net/sched: sch_taprio: fix undefined behavior in ktime_mono_to_any
45dea1317981 net: dsa: mv88e6xxx: Don't support >1G speeds on 6191X on ports other than 10
5862afa33cb1 seq_file: fix passing wrong private data
17f7aec830f5 drm/i915/fb: Fix rounding error in subsampled plane size calculation
e8cf4c96f11e gve: Fix off by one in gve_tx_timeout()
cf427bf68f29 dmaengine: stm32-dma: avoid 64-bit division in stm32_dma_get_max_width
b3ce1fc8100a dmaengine: stm32-dma: fix burst in case of unaligned memory address
af400d2469ae bpf, sockmap: sk_skb data_end access incorrect when src_reg = dst_reg
6b0db2a36f9a bpf: sockmap, strparser, and tls are reusing qdisc_skb_cb and colliding
0580e47c8895 bpf, sockmap: Fix race in ingress receive verdict with redirect to self
778aec90440f bpf, sockmap: Remove unhash handler for BPF sockmap usage
1ad5169dbb1c arm64: pgtable: make __pte_to_phys/__phys_to_pte_val inline functions
cdc29bc2748f arm64: arm64_ftr_reg->name may not be a human-readable string
8fbaf7b79caa nfc: pn533: Fix double free when pn533_fill_fragment_skbs() fails
5dedc3a392e3 llc: fix out-of-bound array index in llc_sk_dev_hash()
78455257102e perf bpf: Add missing free to bpf_event__print_bpf_prog_info()
700f183edb05 zram: off by one in read_block_state()
ec82306f4509 mm/zsmalloc.c: close race window between zs_pool_dec_isolated() and zs_unregister_migration()
8f04fdb42298 can: mcp251xfd: mcp251xfd_chip_start(): fix error handling for mcp251xfd_chip_rx_int_enable()
4f389e1276a5 can: etas_es58x: es58x_rx_err_msg(): fix memory leak in error path
7a3210be9964 Revert "drm/imx: Annotate dma-fence critical section in commit path"
cd5d00738d62 drm: fb_helper: improve CONFIG_FB dependency
748dc40f1552 selftests/bpf/xdp_redirect_multi: Limit the tests in netns
67ebdf08154e selftests/bpf/xdp_redirect_multi: Give tcpdump a chance to terminate cleanly
63d52d3f722b selftests/bpf/xdp_redirect_multi: Use arping to accurate the arp number
52058c2e5516 selftests/bpf/xdp_redirect_multi: Put the logs to tmp folder
5ad1157af560 libbpf: Fix lookup_and_delete_elem_flags error reporting
006b5af213cd ACPI: PM: Fix device wakeup power reference counting error
c6d718f67eff mfd: altera-sysmgr: Fix a mistake caused by resource_size conversion
051b35b83508 mfd: sprd: Add SPI device ID table
fa6a7b427e3e mfd: cpcap: Add SPI device ID table
b862c9d1aa0d mfd: core: Add missing of_node_put for loop iteration
c85582ef7d42 ALSA: memalloc: Catch call with NULL snd_dma_buffer pointer
61ef4e2f3fbf bonding: Fix a use-after-free problem when bond_sysfs_slave_add() failed
51f230381aee drm/ttm: remove ttm_bo_vm_insert_huge()
1e520022ebb7 net: phy: fix duplex out of sync problem while changing settings
a3a5d0e13066 cpufreq: intel_pstate: Clear HWP desired on suspend/shutdown and offline
d79404b45c10 PCI: Do not enable AtomicOps on VFs
267a022590e3 ataflop: remove ataflop_probe_lock mutex
4972bb9f9266 block/ataflop: provide a helper for cleanup up an atari disk
4f6264ed34b6 block/ataflop: add registration bool before calling del_gendisk()
ff8f1a821132 block/ataflop: use the blk_cleanup_disk() helper
5921ada07f55 drm/nouveau/svm: Fix refcount leak bug and missing check against null bug
86b53a83c55b nvdimm/btt: do not call del_gendisk() if not needed
02dea719283f PCI: j721e: Fix j721e_pcie_probe() error path
01b47659d9d1 ACPI: PMIC: Fix intel_pmic_regs_handler() read accesses
bbe42d65433a ice: Fix not stopping Tx queues for VFs
b15d8035cdb7 ice: Fix replacing VF hardware MAC to existing MAC filter
ff5b62b0decb net: dsa: felix: fix broken VLAN-tagged PTP under VLAN-aware bridge
1554b63d8751 net: dsa: tag_ocelot: break circular dependency with ocelot switch lib driver
fca96b3f852a net: vlan: fix a UAF in vlan_dev_real_dev()
7f639a03e4ab openrisc: fix SMP tlb flush NULL pointer dereference
e75b136530ce ethtool: fix ethtool msg len calculation for pause stats
f776103499bf kselftests/net: add missed icmp.sh test to Makefile
d2afb868adc9 net: davinci_emac: Fix interrupt pacing disable
5ed0d8c6af53 nbd: fix possible overflow for 'first_minor' in nbd_dev_add()
69f35664ee1f nbd: fix max value for 'first_minor'
40804b6959fa xen-pciback: Fix return in pm_ctrl_init()
3612fdf488d5 gpio: realtek-otto: fix GPIO line IRQ offset
c64b55c85fb2 i2c: xlr: Fix a resource leak in the error handling path of 'xlr_i2c_probe()'
60e8a9733d82 NFSv4: Fix a regression in nfs_set_open_stateid_locked()
288be49e2e2e scsi: qla2xxx: Turn off target reset during issue_lip
66adfc54bd79 scsi: qla2xxx: Fix gnl list corruption
7c32b407ef0a scsi: target: core: Remove from tmr_list during LUN unlink
bac37c7433c5 ar7: fix kernel builds for compiler test
85b7c9ef119b watchdog: f71808e_wdt: fix inaccurate report in WDIOC_GETTIMEOUT
bae8c19f3063 m68k: set a default value for MEMORY_RESERVE
9c30504d85d2 signal/sh: Use force_sig(SIGKILL) instead of do_group_exit(SIGKILL)
ab91e1ea48db dmaengine: dmaengine_desc_callback_valid(): Check for `callback_result`
ea52aeeb0da1 netfilter: nfnetlink_queue: fix OOB when mac header was cleared
fa46546d0871 soc: fsl: dpaa2-console: free buffer before returning from dpaa2_console_read
a4a5ee9741ea auxdisplay: ht16k33: Fix frame buffer device blanking
32d349f3e4ee auxdisplay: ht16k33: Connect backlight to fbdev
be51f4ed87ed auxdisplay: img-ascii-lcd: Fix lock-up when displaying empty string
cee0757bca0d Fix user namespace leak
2892327b226c NFS: Fix an Oops in pnfs_mark_request_commit()
f97d474f1b78 NFS: Fix up commit deadlocks
0adbe4155e0b dmaengine: stm32-dma: fix stm32_dma_get_max_width
ca3b5c976540 dmaengine: at_xdmac: fix AT_XDMAC_CC_PERID() macro
e8886cff93f0 dmaengine: at_xdmac: call at_xdmac_axi_config() on resume path
d08efac1f61e rtc: rv3032: fix error handling in rv3032_clkout_set_rate()
32fe246e33c6 remoteproc: Fix a memory leak in an error handling path in 'rproc_handle_vdev()'
c0bd86c72dc0 mtd: core: don't remove debugfs directory if device is in use
f3ecfa903c2f mtd: rawnand: arasan: Prevent an unsupported configuration
e5744356f335 PCI: uniphier: Serialize INTx masking/unmasking and fix the bit operation
9254b2c16ba3 mtd: spi-nor: hisi-sfc: Remove excessive clk_disable_unprepare()
3189e1420b29 Input: st1232 - increase "wait ready" timeout
bef23befe1cd fs: orangefs: fix error return code of orangefs_revalidate_lookup()
f2deeaf169b8 NFS: Fix deadlocks in nfs_scan_commit_list()
0776aa4efe05 opp: Fix return in _opp_add_static_v2()
d192572a43b6 PCI: aardvark: Fix preserving PCI_EXP_RTCTL_CRSSVE flag on emulated bridge
b262b5fb60b4 PCI: aardvark: Don't spam about PIO Response Status
8d76b46f5810 drm/plane-helper: fix uninitialized variable reference
0bb7a9c31e4e drm/bridge/lontium-lt9611uxc: fix provided connector suport
9c8d416d7a52 pnfs/flexfiles: Fix misplaced barrier in nfs4_ff_layout_prepare_ds
be46326d9c65 NFS: Fix dentry verifier races
527b6ec3e979 NFS: Ignore the directory size when marking for revalidation
255fc6efacf2 NFS: Don't set NFS_INO_DATA_INVAL_DEFER and NFS_INO_INVALID_DATA
cbe0ef0063e5 NFS: Default change_attr_type to NFS4_CHANGE_TYPE_IS_UNDEFINED
6033546caa09 i2c: mediatek: fixing the incorrect register offset
a58fb2098608 Input: ariel-pwrbutton - add SPI device ID table
135c6ab095b0 rtc: mcp795: Add SPI ID table
f6136953df6e remoteproc: imx_rproc: Fix TCM io memory type
511a35aa4400 rtc: pcf2123: Add SPI ID table
e0fc7ea848f4 rtc: ds1390: Add SPI ID table
5c83c670e113 rtc: ds1302: Add SPI ID table
aeb40af85292 nfsd: don't alloc under spinlock in rpc_parse_scope_id
b33831877a0e mtd: rawnand: intel: Fix potential buffer overflow in probe
2c3a8b1701dc rpmsg: Fix rpmsg_create_ept return when RPMSG config is not defined
1f6483f7c0d4 apparmor: fix error check
12af444fb18b RDMA/core: Require the driver to set the IOVA correctly during rereg_mr
db35ff6ff095 power: supply: bq27xxx: Fix kernel crash on IRQ handler register error
17d0a494465f mips: cm: Convert to bitfield API to fix out-of-bounds access
e941eb7523e6 virtio_ring: check desc == NULL when using indirect with packed
8a1bf46732bf serial: cpm_uart: Protect udbg definitions by CONFIG_SERIAL_CPM_CONSOLE
cceb856eb7f3 ASoC: rsnd: Fix an error handling path in 'rsnd_node_count()'
5e0210787cfa RDMA/hns: Modify the value of MAX_LP_MSG_LEN to meet hardware compatibility
45107b861a80 RDMA/hns: Fix initial arm_st of CQ
f3de2499242c ASoC: cs42l42: Correct configuring of switch inversion from ts-inv
03e45fb778c5 powerpc: Don't provide __kernel_map_pages() without ARCH_SUPPORTS_DEBUG_PAGEALLOC
14b05b63bfbb ALSA: oxfw: fix functional regression for Mackie Onyx 1640i in v5.14 or later
8af7e2b8d96f powerpc/xmon: fix task state output
8557ce3ddb0e powerpc/44x/fsp2: add missing of_node_put
694756f543b0 powerpc/book3e: Fix set_memory_x() and set_memory_nx()
f0a8154f6c66 powerpc/nohash: Fix __ptep_set_access_flags() and ptep_set_wrprotect()
15ccc53df3a4 HID: u2fzero: properly handle timeouts in usb_submit_urb
cc68082a3f76 HID: u2fzero: clarify error check and length calculations
463e138a67cb clk: at91: clk-master: fix prescaler logic
a4978a6cfd9e clk: at91: clk-master: check if div or pres is zero
b42bf5de6bef clk: at91: sam9x60-pll: use DIV_ROUND_CLOSEST_ULL
e40f88ca6e5b serial: xilinx_uartps: Fix race condition causing stuck TX
b135a66c3410 phy: Sparx5 Eth SerDes: Fix return value check in sparx5_serdes_probe()
16db43fc0568 phy: qcom-snps: Correct the FSEL_MASK
f639952d70c6 phy: ti: gmii-sel: check of_get_address() for failure
02058ab1dcec phy: qcom-qusb2: Fix a memory leak on probe
05d2c884bbb0 ASoC: topology: Fix stub for snd_soc_tplg_component_remove()
20cef4273de0 pinctrl: equilibrium: Fix function addition in multiple groups
fbf843c5fde5 arm64: dts: qcom: sdm845: Fix Qualcomm crypto engine bus clock
24231d918e46 arm64: dts: qcom: sdm845: Use RPMH_CE_CLK macro directly
cd068f71c245 arm64: dts: qcom: pmi8994: Fix "eternal"->"external" typo in WLED node
0f2768e7aaa4 soc: qcom: apr: Add of_node_put() before return
5e313f56a004 soc: qcom: rpmhpd: fix sm8350_mxc's peer domain
fae72275217d firmware: qcom_scm: Fix error retval in __qcom_scm_is_call_available()
61bb3fac7a56 powerpc/booke: Disable STRICT_KERNEL_RWX, DEBUG_PAGEALLOC and KFENCE
d58dbd7c9765 usb: dwc2: drd: reset current session before setting the new one
c6a6138fd3d0 usb: dwc2: drd: fix dwc2_drd_role_sw_set when clock could be disabled
8d4801295664 usb: dwc2: drd: fix dwc2_force_mode call in dwc2_ovr_init
97714002eb5c serial: imx: fix detach/attach of serial console
f265551f304a scsi: lpfc: Wait for successful restart of SLI3 adapter during host sg_reset
9c9321f3af65 scsi: ufs: ufshcd-pltfrm: Fix memory leak due to probe defer
8104d165fe8c soundwire: bus: stop dereferencing invalid slave pointer
4e599aa437f8 iio: adis: do not disabe IRQs in 'adis_init()'
1cc004bb7e1d usb: typec: STUSB160X should select REGMAP_I2C
2c05b78785ae iio: buffer: Fix double-free in iio_buffers_alloc_sysfs_and_mask()
ddcdf294b31b soc: qcom: socinfo: add two missing PMIC IDs
4be134c2caf0 soc: qcom: rpmhpd: Make power_on actually enable the domain
c4607253ded6 ASoC: cs42l42: Defer probe if request_threaded_irq() returns EPROBE_DEFER
24d49d9f0dc6 ASoC: cs42l42: Correct some register default values
066f6d94e87b ASoC: cs42l42: Always configure both ASP TX channels
a9e0fed5c311 ARM: dts: stm32: fix AV96 board SAI2 pin muxing on stm32mp15
de4c998f9634 ARM: dts: stm32: fix SAI sub nodes register range
d39348632e9e ARM: dts: stm32: fix STUSB1600 Type-C irq level on stm32mp15xx-dkx
74447d38de5e ARM: dts: stm32: Reduce DHCOR SPI NOR frequency to 50 MHz
d34d4f395674 pinctrl: renesas: checker: Fix off-by-one bug in drive register check
03f7759f9003 powerpc/perf: Fix cycles/instructions as PM_CYC/PM_INST_CMPL in power10
ae59bf224965 dyndbg: make dyndbg a known cli param
4d3bee930ce9 staging: ks7010: select CRYPTO_HASH/CRYPTO_MICHAEL_MIC
d9d577801350 staging: most: dim2: do not double-register the same device
65f101a4bb56 usb: musb: select GENERIC_PHY instead of depending on it
04ec60e77ef2 RDMA/mlx4: Return missed an error if device doesn't support steering
96e9a4068a2a scsi: csiostor: Uninitialized data in csio_ln_vnp_read_cbfn()
f0d4f0cd9442 power: supply: max17040: fix null-ptr-deref in max17040_probe()
71ad44224a78 power: supply: rt5033_battery: Change voltage values to µV
4848d094da0e usb: gadget: hid: fix error code in do_config()
ff22ff487e5a serial: 8250_dw: Drop wrong use of ACPI_PTR()
1e405bd00949 powerpc/paravirt: correct preempt debug splat in vcpu_is_preempted()
e093b8b68af7 powerpc: fix unbalanced node refcount in check_kvm_guest()
87557023bcf0 video: fbdev: chipsfb: use memset_io() instead of memset()
327788eb627c powerpc/mem: Fix arch/powerpc/mm/mem.c:53:12: error: no previous prototype for 'create_section_mapping'
5ec603fc4c1f clk: at91: check pmc node status before registering syscore ops
b885c49c7733 memory: fsl_ifc: fix leak of irq and nand_irq in fsl_ifc_ctrl_probe
677ee2d1634a soc/tegra: Fix an error handling path in tegra_powergate_power_up()
3a39364557c3 iio: st_pressure_spi: Add missing entries SPI to device ID table
c23d6902073e ASoC: SOF: topology: do not power down primary core during topology removal
b810bd3db9ef arm: dts: omap3-gta04a4: accelerometer irq fix
c8542e40a779 driver core: Fix possible memory leak in device_link_add()
13f731ac9b17 scsi: pm80xx: Fix misleading log statement in pm8001_mpi_get_nvmd_resp()
945070ab3d91 scsi: megaraid_sas: Fix concurrent access to ISR between IRQ polling and real interrupt
e850922067ec power: reset: at91-reset: check properly the return value of devm_of_iomap
60b15e314825 soundwire: debugfs: use controller id and link_id for debugfs
ee6e999f3f3d ALSA: hda: Use position buffer for SKL+ again
51ebfe87c0a8 ALSA: hda: Reduce udelay() at SKL+ position reporting
9c738280085a iommu/dma: Fix arch_sync_dma for map
09339ff9e671 arm64: dts: qcom: pm8916: Remove wrong reg-names for rtc@6000
20997b9aca4c iommu/mediatek: Fix out-of-range warning with clang
c1b5c72d4d59 arm64: dts: renesas: beacon: Fix Ethernet PHY mode
44bd0cd11f10 arm64: dts: qcom: msm8916: Fix Secondary MI2S bit clock
75988ebce563 ASoC: wcd9335: Use correct version to initialize Class H
fd4bc9383153 JFS: fix memleak in jfs_mount
08276a9bb6db MIPS: loongson64: make CPU_LOONGSON64 depends on MIPS_FP_SUPPORT
e0d09ee78793 scsi: dc395: Fix error case unwinding
231b0e5b20cd soc: qcom: llcc: Disable MMUHWT retention
1ba41a69c079 arm64: dts: qcom: sc7180: Base dynamic CPU power coefficients in reality
39413a92656f ARM: dts: at91: tse850: the emac<->phy interface is rmii
87b20cedac64 bus: ti-sysc: Fix timekeeping_suspended warning on resume
b8f089162080 arm64: dts: meson-sm1: Fix the pwm regulator supply properties
ec2a1df6cb10 arm64: dts: meson-g12b: Fix the pwm regulator supply properties
fe4b9c0806c1 arm64: dts: meson-g12a: Fix the pwm regulator supply properties
b6a3e5310a23 arm64: dts: ti: j7200-main: Fix "bus-range" upto 256 bus number for PCIe
82b4981ce328 arm64: dts: ti: j7200-main: Fix "vendor-id"/"device-id" properties of pcie node
4cfacb5443c7 arm64: dts: ti: k3-j721e-main: Fix "bus-range" upto 256 bus number for PCIe
01d704aa590e arm64: dts: ti: k3-j721e-main: Fix "max-virtual-functions" in PCIe EP nodes
0bc01ceba816 RDMA/bnxt_re: Fix query SRQ failure
9c177b1c70eb ARM: dts: qcom: msm8974: Add xo_board reference clock to DSI0 PHY
9e2601ac84b4 arm64: dts: rockchip: Fix GPU register width for RK3328
1d292cf27d89 arm64: dts: rockchip: fix rk3568 mbi-alias
18d83fc611a8 ARM: s3c: irq-s3c24xx: Fix return value check for s3c24xx_init_intc()
295bdd05ba50 scsi: pm80xx: Fix lockup in outbound queue management
b74b57b738ba clk: mvebu: ap-cpu-clk: Fix a memory leak in error handling paths
465c4e9b718d arm64: dts: broadcom: bcm4908: Fix UART clock name
042ee2a50f89 ARM: dts: BCM5301X: Fix memory nodes names
ce412216fbfc RDMA/rxe: Fix wrong port_cap_flags
2427a4c9e4e7 iio: st_sensors: disable regulators after device unregistration
a61cb0ecc913 arm64: dts: meson: sm1: add Ethernet PHY reset line for ODROID-C4/HC4
3260de8b35af of: unittest: fix EXPECT text for gpio hog errors
8426a23213dc bpf: Fix propagation of signed bounds from 64-bit min/max into 32-bit.
32df0ac1c97b bpf: Fix propagation of bounds from 64-bit min/max into 32-bit and var_off.
4c4491e856a0 cgroup: Fix rootcg cpu.stat guest double counting
2e510c262523 skmsg: Lose offset info in sk_psock_skb_ingress
8777d613b23f ibmvnic: delay complete()
93d1d1bd0d58 ibmvnic: Process crqs after enabling interrupts
611e75876907 ibmvnic: don't stop queue in xmit
b7bf97fc5621 udp6: allow SO_MARK ctrl msg to affect routing
e39668a15aa2 selftests/bpf: Fix fclose/pclose mismatch in test_progs
8cf265bafd33 crypto: pcrypt - Delay write to padata->info
1d0709398213 selftests: net: bridge: update IGMP/MLD membership interval value
fe5bffbf6214 net: bridge: fix uninitialized variables when BRIDGE_CFM is disabled
d4fe67943ae4 net: phylink: avoid mvneta warning when setting pause parameters
148557b62d51 ipmi: kcs_bmc: Fix a memory leak in the error handling path of 'kcs_bmc_serio_add_device()'
5139ace7231d net: amd-xgbe: Toggle PLL settings during rate change
c329460af68e sctp: return true only for pathmtu update in sctp_transport_pl_toobig
8880eccbc789 sctp: subtract sctphdr len in sctp_transport_pl_hlen
777591117cd9 sctp: reset probe_timer in sctp_transport_pl_update
269b14dd6e10 sctp: allow IP fragmentation when PLPMTUD enters Error state
af1d4c7c44a9 selftests/bpf: Fix memory leak in test_ima
a75f4f978bab selftests/bpf: Fix fd cleanup in sk_lookup test
317a0c71ba61 drm/amdgpu/gmc6: fix DMA mask from 44 to 40 bits
7f71a6a3bc4a drm/amdgpu: fix a potential memory leak in amdgpu_device_fini_sw()
a05760ad9460 wcn36xx: Channel list update before hardware scan
00da55838d50 bpf: Fixes possible race in update_prog_stats() for 32bit arches
81fe843efb4c wcn36xx: Fix discarded frames due to wrong sequence number
ff3948bc3d2a wcn36xx: add proper DMA memory barriers in rx path
65980896b216 libertas: Fix possible memory leak in probe and disconnect
e44f7a7cba46 libertas_tf: Fix possible memory leak in probe and disconnect
dd49c41472de KVM: s390: Fix handle_sske page fault handling
239e87d9f646 samples/kretprobes: Fix return value if register_kretprobe() failed
e1ff40b6194f x86: Fix __get_wchan() for !STACKTRACE
e9ede14c116f sched: Add wrapper for get_wchan() to keep task blocked
38bdcbf9828f spi: spi-rpc-if: Check return value of rpcif_sw_init()
e0eb459df7b2 cpufreq: intel_pstate: Fix cpu->pstate.turbo_freq initialization
ea3c5c9eabc2 tcp: don't free a FIN sk_buff in tcp_remove_empty_skb()
e6b885849667 libbpf: Fix endianness detection in BPF_CORE_READ_BITFIELD_PROBED()
a003933e5579 tpm_tis_spi: Add missing SPI ID
8d43e218d53e tpm: fix Atmel TPM crash caused by too frequent queries
71e3f2ea7765 blk-cgroup: synchronize blkg creation against policy deactivation
71711bee74a4 block: ataflop: more blk-mq refactoring fixes
8b19699ff671 ath10k: fix module load regression with iram-recovery feature
1ac33d3510a6 ARM: 9142/1: kasan: work around LPAE build warning
5b01c24de282 net: dsa: avoid refcount warnings when ->port_{fdb,mdb}_del returns error
3fb2e953a38b irq: mips: avoid nested irq_enter()
0238de13d5ef KVM: s390: pv: avoid stalls for kvm_s390_pv_init_vm
848686bc72d6 KVM: s390: pv: avoid double free of sida page
679a612a0d6a s390/uv: fully validate the VMA before calling follow_page()
dcc9648cd192 s390/mm: fix VMA and page table handling code in storage key handling functions
783d5c1c009e s390/mm: validate VMA in PGSTE manipulation functions
591aa785c1a9 s390/gmap: don't unconditionally call pte_unmap_unlock() in __gmap_zap()
4fe9c6d097da s390/gmap: validate VMA in __gmap_zap()
d3601801b028 mt76: mt7615: mt7622: fix ibss and meshpoint
7462b70c2cb9 libbpf: Fix BTF header parsing checks
6eefcdb58847 libbpf: Fix overflow in BTF sanity checks
a526d92e239c bpftool: Avoid leaking the JSON writer prepared for program metadata
f1890b3e95ae libbpf: Fix memory leak in btf__dedup()
f0c966094386 KVM: selftests: Fix nested SVM tests when built with clang
3c26214f5114 smackfs: use netlbl_cfg_cipsov4_del() for deleting cipso_v4_doi
951f277ddeff crypto: tcrypt - fix skcipher multi-buffer tests for 1420B blocks
161b7ee0ab62 drm/msm: Fix potential NULL dereference in DPU SSPP
958d4b4dce1f x86/sev: Fix stack type check in vc_switch_off_ist()
eb82db5a1cb8 clocksource/drivers/timer-ti-dm: Select TIMER_OF
d2a0b63348ee PM: hibernate: fix sparse warnings
78a3123bafca nvme-rdma: fix error code in nvme_rdma_setup_ctrl
846394ea4227 nbd: Fix use-after-free in pid_show
3218ca577dc0 phy: micrel: ksz8041nl: do not use power down mode
6565d4b25229 net: enetc: unmap DMA in enetc_send_cmd()
f3b6b7f2124b iwlwifi: pnvm: read EFI data only if long enough
c0ee10049f0f iwlwifi: pnvm: don't kmemdup() more than we have
4925a9dc91ca iwlwifi: mvm: reset PM state on unsuccessful resume
150eeb5ecbb8 mwifiex: Send DELBA requests according to spec
b1aa768ec157 rsi: stop thread firstly in rsi_91x_init() error handling
3ccaadc5bd57 mt76: mt7915: fix muar_idx in mt7915_mcu_alloc_sta_req()
3a94ccdd929c mt76: mt7915: fix sta_rec_wtbl tag len
97d6c316e1aa mt76: connac: fix possible NULL pointer dereference in mt76_connac_get_phy_mode_v2
e1b1873523e4 mt76: mt7615: fix monitor mode tear down crash
754ce9d4062f mt76: mt7921: fix retrying release semaphore without end
5c6abb953396 mt76: mt7915: fix possible infinite loop release semaphore
3ff001be2c29 mt76: mt7615: fix hwmon temp sensor mem use-after-free
dd879ab927a3 mt76: mt7915: fix hwmon temp sensor mem use-after-free
3fe59d13aba0 mt76: mt7921: always wake device if necessary in debugfs
98967931f70f mt76: mt7921: fix kernel warning from cfg80211_calculate_bitrate
3ca3a4255e4e mt76: mt7921: fix firmware usage of RA info using legacy rates
a71eba425307 mt76: mt7921: report HE MU radiotap
f75989a2a4dd mt76: overwrite default reg_ops if necessary
1b2e3a89897f mt76: connac: fix GTK rekey offload failure on WPA mixed mode
c29855c0c1ed mt76: mt7921: fix dma hang in rmmod
d2697e6d8129 mt76: mt7915: fix bit fields for HT rate idx
b7282c7d0dc8 mt76: mt7915: fix potential overflow of eeprom page index
a95ec17c67a4 mt76: mt7921: Fix out of order process by invalid event pkt
37af03f35908 mt76: mt76x02: fix endianness warnings in mt76x02_mac.c
02c06f2be95b mt76: mt7921: fix survey-dump reporting
d0e327a1646e mt76: fix build error implicit enumeration conversion
3a41d47d19ee mt76: connac: fix mt76_connac_gtk_rekey_tlv usage
93b3fa91782c mt76: mt7915: fix info leak in mt7915_mcu_set_pre_cal()
31a67f6c7c93 mt76: mt7615: fix endianness warning in mt7615_mac_write_txwi
b442c8a72323 mt76: mt7921: fix endianness warning in mt7921_update_txs
07b8ee848c28 mt76: mt7915: fix endianness warning in mt7915_mac_add_txs_skb
5d1a084a476c mt76: mt7921: fix endianness in mt7921_mcu_tx_done_event
07b20f34a965 drm/amdkfd: Fix an inappropriate error handling in allloc memory of gpu
2c57dbc453d3 ACPI: PM: Fix sharing of wakeup power resources
f04fab5d90fa ACPI: PM: Turn off unused wakeup power resources
bc568fe55a17 platform/x86: thinkpad_acpi: Fix bitwise vs. logical warning
77de203d9a4f block: ataflop: fix breakage introduced at blk-mq refactoring
d43d31346658 mmc: mxs-mmc: disable regulator on error and in the remove function
8901914cdbd4 media: ir_toy: assignment to be16 should be of correct type
146e4bf44d61 media: ivtv: fix build for UML
471ed2202bd3 mailbox: Remove WARN_ON for async_cb.cb in cmdq_exec_done
4437f3ead9e8 net: stream: don't purge sk_error_queue in sk_stream_kill_queues()
eed8766a9941 drm/msm: uninitialized variable in msm_gem_import()
fe7dcde39db7 drm/msm: fix potential NULL dereference in cleanup
5c13d4be499c drm/msm: potential error pointer dereference in init()
723d2914d817 drm/msm: Fix potential Oops in a6xx_gmu_rpmh_init()
bc4555ffd158 thermal/core: fix a UAF bug in __thermal_cooling_device_register()
650d1a2865e4 crypto: octeontx2 - set assoclen in aead_do_fallback()
24dfa642985f tcp: switch orphan_count to bare per-cpu counters
f270511247a5 x86: Fix get_wchan() to support the ORC unwinder
5652137ef653 net: tulip: winbond-840: fix build for UML
638d1283bbfc net: fealnx: fix build for UML
25d40b828fb8 kernel/sched: Fix sched_fork() access an invalid sched_task_group
27d16d8ec1a8 ath10k: fix max antenna gain unit
a57627b2ea67 hwmon: (pmbus/lm25066) Let compiler determine outer dimension of lm25066_coeff
4b898aa013d8 hwmon: Fix possible memleak in __hwmon_device_register()
b9e2477e4de4 net, neigh: Fix NTF_EXT_LEARNED in combination with NTF_USE
646dabb85ef7 memstick: jmb38x_ms: use appropriate free function in jmb38x_ms_alloc_host()
d288021988e0 memstick: avoid out-of-range warning
a5b536f042a4 mmc: sdhci-omap: Fix context restore
eab2681ca5bb mmc: sdhci-omap: Fix NULL pointer exception if regulator is not configured
e1628b6b6b7d gve: Track RX buffer allocation failures
89dda8da289e gve: Recover from queue stall due to missed IRQ
b8ba47d732d1 b43: fix a lower bounds test
7d14ae503c24 b43legacy: fix a lower bounds test
84328828d834 IMA: block writes of the security.ima xattr with unsupported algorithms
db75642768d2 hwrng: mtk - Force runtime pm ops for sleep ops
64bf6a343144 crypto: qat - disregard spurious PFVF interrupts
db60c3b02f4c crypto: qat - detect PFVF collision after ACK
693fc7e84bed crypto: ccree - avoid out-of-range warnings from clang
a0de5d1b841c media: dvb-frontends: mn88443x: Handle errors of clk_prepare_enable()
d16af0011cef media: venus: fix vpp frequency calculation for decoder
da821525882f netfilter: nft_dynset: relax superfluous check on set updates
05f2a14a2e4f rcu: Always inline rcu_dynticks_task*_{enter,exit}()
8dd1a500b7d8 EDAC/amd64: Handle three rank interleaving mode
dea84d9cfac2 x86/insn: Use get_unaligned() instead of memcpy()
4a1a695bee9e PM: EM: Fix inefficient states detection
e6335aef8b0f ath9k: Fix potential interrupt storm on queue reset
fe0c577b43e3 ath10k: Don't always treat modem stop events as crashes
ee85728ec044 media: em28xx: Don't use ops->suspend if it is NULL
2b942c364b77 cpuidle: Fix kobject memory leaks in error paths
94b691048402 drm: fb_helper: fix CONFIG_FB dependency
f28f2b20d05f crypto: ecc - fix CRYPTO_DEFAULT_RNG dependency
056e9bf9b4df kprobes: Do not use local variable when creating debugfs file
0706df90bcbf scs: Release kasan vmalloc poison in scs_free process
e3e9d565039b media: atmel: fix the ispck initialization
b3aa49fa1883 media: cx23885: Fix snd_card_free call on null card pointer
c6ac15417184 media: tm6000: Avoid card name truncation
7d87109753dd media: si470x: Avoid card name truncation
861532494e53 media: radio-wl1273: Avoid card name truncation
9e6a5f20278a media: sun6i-csi: Allow the video device to be open multiple times
80ef29aee4fe media: i2c: ths8200 needs V4L2_ASYNC
36c371057306 media: imx-jpeg: Fix the error handling path of 'mxc_jpeg_probe()'
0dd8fc82fa04 media: mtk-vpu: Fix a resource leak in the error handling path of 'mtk_vpu_probe()'
e3a8abdb8f34 media: TDA1997x: handle short reads of hdmi info frame.
0d25488ab9a8 media: mtk-vcodec: venc: fix return value when start_streaming fails
a1120f37dfc4 media: v4l2-ioctl: S_CTRL output the right value
7d4317208c32 media: imx258: Fix getting clock frequency
f7baee6e0dd9 media: dvb-usb: fix ununit-value in az6027_rc_query
1505c5758932 media: ttusb-dec: avoid release of non-acquired mutex
ae0abe0db3f6 media: cxd2880-spi: Fix a null pointer dereference on error handling path
195ba4c00fd0 media: meson-ge2d: Fix rotation parameter changes detection in 'ge2d_s_ctrl()'
d3accf5edd7c media: em28xx: add missing em28xx_close_extension
051b36e399db libbpf: Fix skel_internal.h to set errno on loader retval < 0
5019c6127eb1 drm/amdgpu: fix warning for overflow check
75bf90feb4a6 arm64: mm: update max_pfn after memory hotplug
59f0c96b3f7a drm/ttm: stop calling tt_swapin in vm_access
61104f1c0083 ath10k: sdio: Add missing BH locking around napi_schdule()
bdf3ddbf83f0 ath10k: Fix missing frame timestamp for beacon/probe-resp
5e1f85a23ae0 gve: DQO: avoid unused variable warnings
b35a9d47203b ath11k: Fix memory leak in ath11k_qmi_driver_event_work
9b404c64784d ath11k: fix packet drops due to incorrect 6 GHz freq value in rx status
afc36b6469bb ath11k: Avoid race during regd updates
aad8db659de2 ath11k: fix some sleeping in atomic bugs
24615ed29c06 net: dsa: rtl8366: Fix a bug in deleting VLANs
356b67db7834 net: dsa: rtl8366rb: Fix off-by-one bug
d759e6c0c090 cfg80211: always free wiphy specific regdomain
76ef0d62e488 fortify: Fix dropped strcpy() compile-time write overflow check
b17b52fe984d rxrpc: Fix _usecs_to_jiffies() by using usecs_to_jiffies()
188e62c48a53 qed: Don't ignore devlink allocation failures
b402ea43f6d1 bnxt_en: Check devlink allocation and registration status
30f53d14efb1 crypto: caam - disable pkc for non-E SoCs
d2891d4b5a2e drm/amdgpu: move amdgpu_virt_release_full_gpu to fini_early stage
9777ecdce80d Bluetooth: btmtkuart: fix a memleak in mtk_hci_wmt_sync
5c4f876eb2c6 wilc1000: fix possible memory leak in cfg_scan_result()
aa5324ab2f01 wcn36xx: Fix Antenna Diversity Switching
fa6aafb2411d cgroup: Make rebind_subsystems() disable v2 controllers all at once
9a7121cc8189 spi: Fixed division by zero warning
a69330b102ba drm: bridge: it66121: Fix return value it66121_probe
83285fa94ee4 net: phylink: don't call netif_carrier_off() with NULL netdev
246ea42a7b4e net: net_namespace: Fix undefined member in key_remove_domain()
391cdce61e3d lockdep: Let lock_is_held_type() detect recursive read as read
4adc275eba8a virtio-gpu: fix possible memory allocation failure
376bd99969e5 drm/v3d: fix wait for TMU write combiner flush
35d945ef6ac8 objtool: Handle __sanitize_cov*() tail calls
a9f61b66edc8 x86/xen: Mark cpu_bringup_and_idle() as dead_end_function
8d5eda239810 MIPS: lantiq: dma: fix burst length for DEU
67761195ad83 rcu: Fix existing exp request check in sync_sched_exp_online_cleanup()
47a4b733e8ff libbpf: Don't crash on object files with no symbol tables
db63399389bc Bluetooth: fix init and cleanup of sco_conn.timeout_work
061fb293a9dc drm/bridge: it66121: Wait for next bridge to be probed
0bf7139300d0 drm/bridge: it66121: Initialize {device,vendor}_ids
18919d23f7aa drm/bridge: anx7625: Propagate errors from sp_tx_rst_aux()
f53dc812a258 fbdev/efifb: Release PCI device's runtime PM ref during FB destroy
f0d5bf1ecb13 selftests/bpf: Fix strobemeta selftest regression
d6a0aa933c86 netfilter: conntrack: set on IPS_ASSURED if flows enters internal stream state
68af9d200661 parisc/kgdb: add kgdb_roundup() to make kgdb work with idle polling
db209b320754 parisc/unwind: fix unwinder when CONFIG_64BIT is enabled
2ce1c884ad0b erofs: don't trigger WARN() when decompression fails
a55c2f265b80 task_stack: Fix end_of_stack() for architectures with upwards-growing stack
3129c659e256 parisc: fix warning in flush_tlb_all
65fadad6022d perf/x86/intel: Fix ICL/SPR INST_RETIRED.PREC_DIST encodings
f206bd751daa selftests/core: fix conflicting types compile error for close_range()
9be249debf4d drm/amd/display: dcn20_resource_construct reduce scope of FPU enabled
2acb2cdcfc83 x86/hyperv: Protect set_hv_tscchange_cb() against getting preempted
19f1aba96f85 ftrace: do CPU checking after preemption disabled
a48bd49ee871 Revert "wcn36xx: Enable firmware link monitoring"
944285a03956 wcn36xx: Fix packet drop on resume
478d239fea12 wcn36xx: Correct band/freq reporting on RX
3874ef316cfe spi: bcm-qspi: Fix missing clk_disable_unprepare() on error in bcm_qspi_probe()
9124f94eeeb1 btrfs: do not take the uuid_mutex in btrfs_rm_device
55c9fca5f56d btrfs: reflink: initialize return value to 0 in btrfs_extent_same()
e9941a010249 ACPI: resources: Add one more Medion model in IRQ override quirk
efa7308f7821 ACPI: AC: Quirk GK45 to skip reading _PSR
6cbda510dc1b net: annotate data-race in neigh_output()
5b37f3fa42b4 vrf: run conntrack only in context of lower/physdev for locally generated packets
e43cb595915c tools/latency-collector: Use correct size when writing queue_full_warning
56d7461776e0 ARM: 9136/1: ARMv7-M uses BE-8, not BE-32
7da4447dbbec gfs2: Fix glock_hash_walk bugs
9b6a3985dc13 gfs2: Cancel remote delete work asynchronously
b108a79345c3 can: bittiming: can_fixup_bittiming(): change type of tseg1 and alltseg to unsigned int
3d9d9a77cdbe gre/sit: Don't generate link-local addr if addr_gen_mode is IN6_ADDR_GEN_MODE_NONE
69bfb5d7122e ARM: clang: Do not rely on lr register for stacktrace
002f1d6c7758 smackfs: use __GFP_NOFAIL for smk_cipso_doi()
6dbc76b0a53d iwlwifi: mvm: disable RX-diversity in powersave
6cf3abbda574 selftests/bpf: Fix perf_buffer test on system with offline cpus
65b5763eef82 selftests: kvm: fix mismatched fclose() after popen()
2093b1cdbdbf PM: hibernate: Get block device exclusively in swsusp_check()
cff152d77d9b arm64: vdso32: suppress error message for 'make mrproper'
c6065239b7cb nvme: drop scan_lock and always kick requeue list when removing namespaces
1e757b23aabe nvmet-tcp: fix use-after-free when a port is removed
844bbc958d8e nvmet-rdma: fix use-after-free when a port is removed
f252a62a2507 nvmet: fix use-after-free when a port is removed
9adc2bcdc812 drm/amdgpu/pm: properly handle sclk for profiling modes on vangogh
163ecd64c816 media: allegro: ignore interrupt if mailbox is not initialized
f63b9287375c block: remove inaccurate requeue check
bd45e6f3c0e9 iwlwifi: change all JnP to NO-160 configuration
8393c0806cc4 mwl8k: Fix use-after-free in mwl8k_fw_state_machine()
0ca511d52a28 mt76: mt7915: fix an off-by-one bound check
91dc3f6ea7c8 tracing/cfi: Fix cmp_entries_* functions signature mismatch
ab816ffa09d5 workqueue: make sysfs of unbound kworker cpumask more clever
75bbf9642bd1 lib/xz: Validate the value before assigning it to an enum variable
93cc20fa51e8 lib/xz: Avoid overlapping memcpy() with invalid input with in-place decompression
419ebe663671 locking/rwsem: Disable preemption for spinning region
38d7055de41a memstick: r592: Fix a UAF bug when removing the driver
ac14b0b119a4 md: update superblock after changing rdev flags in state_store
ca9ae3fb3315 floppy: fix calling platform_device_unregister() on invalid drives
8a6e8aa37207 block: bump max plugged deferred size from 16 to 32
f5ec8022cf54 thermal/drivers/tsens: Add timeout to get_temp_tsens_valid
cdcfcd25f40b drm/msm: prevent NULL dereference in msm_gpu_crashstate_capture()
6154aa2ab2e0 thermal/core: Fix null pointer dereference in thermal_release()
2fba88c1705d leaking_addresses: Always print a trailing newline
57cdc39776d3 net: phy: micrel: make *-skew-ps check more lenient
7e4804d1aa82 drm/amdkfd: fix resume error when iommu disabled in Picasso
082ed61dabbc drm/amd/display: fix null pointer deref when plugging in display
c40061dab6b1 ACPI: scan: Release PM resources blocked by unused objects
afdc107129b5 ACPI: battery: Accept charges over the design capacity as full
8fa361b1b3e3 iov_iter: Fix iov_iter_get_pages{,_alloc} page fault return value
af2af71fd12b mmc: moxart: Fix reference count leaks in moxart_probe
07a47bb0fba3 ath: dfs_pattern_detector: Fix possible null-pointer dereference in channel_detector_create()
b40f43fcd011 tracing: Disable "other" permission bits in the tracefs files
3d2f0cd9dcb9 tracefs: Have tracefs directories not set OTH permission bits by default
2a3c1044fc0d drm/amdkfd: rm BO resv on validation to avoid deadlock
84aa6d0e0767 net-sysfs: try not to restart the syscall if it will fail eventually
8e538cacf9be media: usb: dvd-usb: fix uninit-value bug in dibusb_read_eeprom_byte()
35f16d8e6153 media: ipu3-imgu: VIDIOC_QUERYCAP: Fix bus_info
d43da0118953 media: ipu3-imgu: imgu_fmt: Handle properly try
986b39450c48 media: imx-jpeg: Fix possible null pointer dereference
86d9d52d6856 ice: Move devlink port to PF/VF struct
f6afa36d653f cpufreq: Make policy min/max hard requirements
86a6e4f9815a ACPICA: Avoid evaluating methods too early during system resume
72742ae5e049 kselftests/sched: cleanup the child processes
aa171d3e8556 fs/proc/uptime.c: Fix idle time reporting in /proc/uptime
09bdbbc622e3 ipmi: Disable some operations during a panic
d051a3867bea media: rcar-csi2: Add checking to rcsi2_start_receiver()
f31b7caedd50 brcmfmac: Add DMI nvram filename quirk for Cyberbook T116 tablet
39e14b269e27 rtw88: fix RX clock gate setting while fifo dump
f431d9923a69 ia64: don't do IA64_CMPXCHG_DEBUG without CONFIG_PRINTK
1f7d5294d2a7 media: mceusb: return without resubmitting URB in case of -EPROTO error.
6e0202ddccfb media: rcar-vin: Use user provided buffers when starting
352c818df095 media: imx: set a media_device bus_info string
8636c37018c3 media: videobuf2: rework vb2_mem_ops API
ee347b739d51 media: s5p-mfc: Add checking to s5p_mfc_probe().
6980d237fd4c media: s5p-mfc: fix possible null-pointer dereference in s5p_mfc_probe()
eb7da28fd166 media: vidtv: Fix memory leak in remove
2529c6a15579 media: uvcvideo: Set unique vdev name based in type
c115bfec8193 media: uvcvideo: Return -EIO for control errors
c0890fb5f421 media: uvcvideo: Set capability in s_param
7426dad05aaa media: stm32: Potential NULL pointer dereference in dcmi_irq_thread()
8277ec5aa8c5 media: atomisp: Fix error handling in probe
2ba21729c208 media: netup_unidvb: handle interrupt properly according to the firmware
2a1061af333e media: mt9p031: Fix corrupted frame after restarting stream
d808c6ee0c60 octeontx2-pf: Enable promisc/allmulti match MCAM entries.
2a27405cfaa5 ath10k: high latency fixes for beacon buffer
fb34da024434 ath11k: Change DMA_FROM_DEVICE to DMA_TO_DEVICE when map reinjected packets
d08b51d94747 ath11k: add handler for scan event WMI_SCAN_EVENT_DEQUEUED
08de8bf704a5 ath11k: Avoid reg rules update during firmware recovery
b584bd228614 selftests: net: fib_nexthops: Wait before checking reported idle time
9ea7c08eb634 drm/amd/display: Fix null pointer dereference for encoders
adb3b9b2a550 drm/amdgpu: Fix MMIO access page fault
40cfb8e68aa0 fscrypt: allow 256-bit master keys with AES-256-XTS
53283ee464c3 spi: Check we have a spi_device_id for each DT compatible
6cd93f39dd2b mwifiex: Properly initialize private structure on interface type changes
7871a1156efd mwifiex: Run SET_BSS_MODE when changing from P2P to STATION vif-type
41592079230a x86: Increase exception stack sizes
bb3cc292e1a2 x86/mm/64: Improve stack overflow warnings
35512e506690 crypto: aesni - check walk.nbytes instead of err
b1b32bcc221a ath11k: Align bss_chan_info structure with firmware
8ed576395f6a smackfs: Fix use-after-free in netlbl_catmap_walk()
3f55b610b488 rcu-tasks: Move RTGS_WAIT_CBS to beginning of rcu_tasks_kthread() loop
0fcd85c7f3a1 ACPI: resources: Add DMI-based legacy IRQ override quirk
8a6214e36ff2 net: sched: update default qdisc visibility after Tx queue cnt changes
4f0ca9344d9e locking/lockdep: Avoid RCU-induced noinstr fail
134cef7b6974 MIPS: lantiq: dma: reset correct number of channel
1415242fd96b MIPS: lantiq: dma: add small delay after reset
f3b5ecab2735 platform/x86: wmi: do not fail if disabling fails
d50100c17038 rcutorture: Avoid problematic critical section nesting on PREEMPT_RT
5aad1e68ff1e drm/panel-orientation-quirks: add Valve Steam Deck
b87da982da1b Bluetooth: fix use-after-free error in lock_sock_nested()
2c2b295af72e Bluetooth: sco: Fix lock_sock() blockage by memcpy_from_msg()
9314415aaed7 drm: panel-orientation-quirks: Add quirk for the Samsung Galaxy Book 10.6
491defc1c9d6 drm: panel-orientation-quirks: Add quirk for KD Kurio Smart C15200 2-in-1
b7a63c785ae6 drm: panel-orientation-quirks: Update the Lenovo Ideapad D330 quirk (v2)
e158f9b7feea dma-buf: WARN on dmabuf release with pending attachments
5493d7e67ec7 component: do not leave master devres group open after bind
10f54634341d power: supply: max17042_battery: Clear status bits in interrupt handler
ad80b75ab97f USB: chipidea: fix interrupt deadlock
b4b4c4b1499f USB: iowarrior: fix control-message timeouts
c852092e5692 most: fix control-message timeouts
2685d8b506da serial: 8250: fix racy uartclk update
bd7ac40cbfe8 USB: serial: keyspan: fix memleak on probe errors
93198e6da9eb Documentation:devicetree:bindings:iio:dac: Fix val
8bc3eac174aa iio: ad5770r: make devicetree property reading consistent
a664d4a75c07 iio: dac: ad5446: Fix ad5622_write() return value
e99fa2a9f9d7 drivers: iio: dac: ad5766: Fix dt property name
a9501b2bfc91 iio: buffer: Fix memory leak in iio_buffer_register_legacy_sysfs_groups()
46bb49301f46 iio: buffer: Fix memory leak in __iio_buffer_alloc_sysfs_and_mask()
3827d12e1a80 iio: buffer: Fix memory leak in iio_buffers_alloc_sysfs_and_mask()
364ee3057abd iio: buffer: check return value of kstrdup_const()
fdd9d3e268cf coresight: trbe: Defer the probe on offline CPUs
ddffd384d44c coresight: trbe: Fix incorrect access of the sink specific data
13de015c782d coresight: cti: Correct the parameter for pm_runtime_put
7a0a1d45b318 pinctrl: core: fix possible memory leak in pinctrl_enable()
217ece6c45a8 cifs: set a minimum of 120s for next dns resolution
49f933bb3016 cifs: To match file servers, make sure the server hostname matches
5d0714e7d979 quota: correct error number in free_dqentry()
b2d7d1845799 quota: check block number when reading the block in quota file
2830878daf16 PCI: aardvark: Fix support for PCI_ROM_ADDRESS1 on emulated bridge
a298da0df043 PCI: aardvark: Set PCI Bridge Class Code to PCI Bridge
17099eb5978b PCI: aardvark: Fix support for PCI_BRIDGE_CTL_BUS_RESET on emulated bridge
137f450a17a0 PCI: aardvark: Fix support for bus mastering and PCI_COMMAND on emulated bridge
dba8de2c8771 PCI: aardvark: Read all 16-bits from PCIE_MSI_PAYLOAD_REG
937f91f8f621 PCI: aardvark: Fix return value of MSI domain .alloc() method
b775cd868cf3 PCI: aardvark: Fix configuring Reference clock
7083088eb99f PCI: aardvark: Fix reporting Data Link Layer Link Active
8b74250f05fb PCI: aardvark: Do not unmask unused interrupts
ca41077ee082 PCI: aardvark: Fix checking for link up via LTSSM state
b05c2e6638df PCI: aardvark: Do not clear status bits of masked interrupts
1110d1921cd3 cxl/pci: Fix NULL vs ERR_PTR confusion
f6c83346fbe5 PCI: cadence: Add cdns_plat_pcie_probe() missing return
a4935eef58d2 PCI: pci-bridge-emul: Fix emulation of W1C bits
500a1bac743c ovl: fix use after free in struct ovl_aio_req
88e9929b632e xen/balloon: add late_initcall_sync() for initial ballooning done
7373f03ae79c ifb: fix building without CONFIG_NET_CLS_ACT
0d546e9fc83b serial: core: Fix initializing and restoring termios speed
2348cadfddfd ring-buffer: Protect ring_buffer_reset() from reentrancy
6f67cf08fef0 powerpc/85xx: Fix oops when mpc85xx_smp_guts_ids node cannot be found
9028e051345b iio: adc: tsc2046: fix scan interval warning
299623b1b088 can: j1939: j1939_can_recv(): ignore messages with invalid source address
a6591eb3c58b can: j1939: j1939_tp_cmd_recv(): ignore abort message in the BAM transport
22237bb988c1 KVM: nVMX: Handle dynamic MSR intercept toggling
8a5180ecdcb6 KVM: nVMX: Query current VMCS when determining if MSR bitmaps are in use
ab71116b1f07 KVM: x86: Add helper to consolidate core logic of SET_CPUID{2} flows
da10e2d30634 KVM: x86: Fix recording of guest steal time / preempted status
b83f9cdc8066 KVM: arm64: Extract ESR_ELx.EC only
b594bf02dc6f iio: core: check return value when calling dev_set_name()
76289ff637ec iio: core: fix double free in iio_device_unregister_sysfs()
7c0f37ace715 power: supply: max17042_battery: use VFSOC for capacity when no rsns
6edf86431107 power: supply: max17042_battery: Prevent int underflow in set_soc_threshold
cb178acf8764 mtd: rawnand: socrates: Keep the driver compatible with on-die ECC engines
3c6ffb9bb1ea soc: fsl: dpio: use the combined functions to protect critical zone
54be06958eb4 soc: fsl: dpio: replace smp_processor_id with raw_smp_processor_id
38ae173cb7cf soc: samsung: exynos-pmu: Fix compilation when nothing selects CONFIG_MFD_CORE
d3586ddc9889 signal/mips: Update (_save|_restore)_fp_context to fail with -EFAULT
9f3e024e6483 memory: renesas-rpc-if: Correct QSPI data transfer in Manual mode
b70a29116278 signal: Remove the bogus sigkill_pending in ptrace_stop
0509d911b94e ASoC: tegra: Restore AC97 support
64c65655758b ASoC: tegra: Set default card name for Trimslice
0aef11438832 RDMA/qedr: Fix NULL deref for query_qp on the GSI QP
7ed060a0ea38 perf/x86/intel/uncore: Fix Intel ICX IIO event constraints
2e11d51006ac perf/x86/intel/uncore: Fix invalid unit check
425e486c72d6 perf/x86/intel/uncore: Support extra IMC channel on Ice Lake server
a3d5adaee5ac rsi: Fix module dev_oper_mode parameter description
c76421bd155f rsi: fix rate mask set leading to P2P failure
437ce21d2076 rsi: fix key enabled check causing unwanted encryption for vap_id > 0
3945a7308f0d rsi: fix occasional initialisation failure with BT coex
471e28ecee8c wcn36xx: handle connection loss indication
4c13483e1fa4 libata: fix checking of DMA state
1a0963d1d448 mwifiex: Try waking the firmware until we get an interrupt
e5fbcd97b4be mwifiex: Read a PCI register after writing the TX ring write pointer
ad34c5f90c2c PM: sleep: Do not let "syscore" devices runtime-suspend during system transitions
0f2d037e8ae9 wcn36xx: Fix (QoS) null data frame bitrate/modulation
ec82bede563b wcn36xx: Fix tx_status mechanism
52da1f9c5e9c wcn36xx: Fix HT40 capability for 2Ghz band
91fa7ec38256 HID: surface-hid: Allow driver matching for target ID 1 devices
4d55b85a1598 HID: surface-hid: Use correct event registry for managing HID events
6979b6f294c0 mt76: mt7615: fix skb use-after-free on mac reset
7761ffec11da platform/surface: aggregator_registry: Add support for Surface Laptop Studio
dd6c06c4538c ifb: Depend on netfilter alternatively to tc
2cd65a22a478 evm: mark evm_fixmode as __ro_after_init
e426e7842ee3 rtl8187: fix control-message timeouts
bab67ca269f9 PCI: Mark Atheros QCA6174 to avoid bus reset
0d74280d5dd9 ath10k: fix division by zero in send path
b5b911da1b16 ath10k: fix control-message timeout
abd6b17ca36f ath6kl: fix control-message timeout
dbe62858b49f ath6kl: fix division by zero in send path
96d108642240 mwifiex: fix division by zero in fw download path
2bbb56b7c305 EDAC/sb_edac: Fix top-of-high-memory value for Broadwell/Haswell
8f3420977c98 regulator: dt-bindings: samsung,s5m8767: correct s5m8767,pmic-buck-default-dvs-idx property
79814094ec44 regulator: s5m8767: do not use reset value as DVS voltage if GPIO DVS is disabled
5f31bc9bc695 hwmon: (pmbus/lm25066) Add offset coefficients
b3ebc3edaf92 md/raid1: only allocate write behind bio for WriteMostly device
dde0b4bd579f ipmi:watchdog: Set panic count to proper value on a panic
035d39cd5d36 selinux: fix race condition when computing ocontext SIDs
a2973f00755f ia64: kprobes: Fix to pass correct trampoline address to the handler
9a32b765fba3 KVM: PPC: Tick accounting should defer vtime accounting 'til after IRQ handling
fe2a3d975e27 KVM: VMX: Unregister posted interrupt wakeup handler on hardware unsetup
fe5827e78a1f btrfs: call btrfs_check_rw_degradable only if there is a missing device
12707e6406b5 btrfs: fix lost error handling when replaying directory deletes
a32bd15ddf38 btrfs: clear MISSING device status bit in btrfs_close_one_device
f73ba2e80142 tools/testing/selftests/vm/split_huge_page_test.c: fix application of sizeof to pointer
4bc152c6cd23 net/smc: Correct spelling mistake to TCPF_SYN_RECV
c5f3e2b44a3a net/smc: Fix smc_link->llc_testlink_time overflow
0019c6dc00d1 nfp: bpf: relax prog rejection for mtu check through max_pkt_offset
f108635d6d2f vmxnet3: do not stop tx queues after netif_device_detach()
2c8c7971019e r8169: Add device 10ec:8162 to driver r8169
0fb585017f75 net: hns3: ignore reset event before initialization process is done
4294c96432c3 net: hns3: change hclge/hclgevf workqueue to WQ_UNBOUND mode
a61294791f26 nvmet-tcp: fix header digest verification
a09a649a7677 block: schedule queue restart after BLK_STS_ZONE_RESOURCE
36d8544a8824 drm: panel-orientation-quirks: Add quirk for GPD Win3
c0c99f6c2c2d watchdog: Fix OMAP watchdog early handling
9498f85e5cac net: multicast: calculate csum of looped-back and forwarded packets
492ee5c41ad0 spi: spl022: fix Microwire full duplex mode
4b133d1b1f48 nvmet-tcp: fix a memory leak when releasing a queue
c1a4e29fbd7a xen/netfront: stop tx queues during live migration
7b0e2228b45b gpio: mlxbf2.c: Add check for bgpio_init failure
045e201e846d bpf: Prevent increasing bpf_jit_limit above max
1f889b6bb36d bpf: Define bpf_jit_alloc_exec_limit for arm64 JIT
589d0c47b3b6 bpf: Define bpf_jit_alloc_exec_limit for riscv JIT
24864d828c73 fcnal-test: kill hanging ping/nettest binaries on cleanup
a4754c6f2c02 drm: panel-orientation-quirks: Add quirk for Aya Neo 2021
dc93fe4bcffb spi: altera: Change to dynamic allocation of spi id
4916836b835e mmc: winbond: don't build on M68K
315f06005ed7 reset: socfpga: add empty driver allowing consumers to probe
6010e9d34c89 ARM: dts: sun7i: A20-olinuxino-lime2: Fix ethernet phy-mode
9068b17616de hyperv/vmbus: include linux/bitops.h
b84379371620 sfc: Don't use netif_info before net_device setup
7c25ad465426 sfc: Export fibre-specific supported link modes
83cc3d21cbcd cavium: Fix return values of the probe function
ee25673d8fae mISDN: Fix return values of the probe function
77fe2d67962b scsi: qla2xxx: Fix unmap of already freed sgl
54aaf0fddfcd scsi: qla2xxx: Return -ENOMEM if kzalloc() fails
7cc5b87e86a1 cavium: Return negative value when pci_alloc_irq_vectors() fails
7958b5d479b0 net: mscc: ocelot: Add of_node_put() before goto
3f7c0466d4dc net: sparx5: Add of_node_put() before goto
5586508b6c21 ptp: fix error print of ptp_kvm on X86_64 platform
b1d565357899 ALSA: hda/realtek: Fixes HP Spectre x360 15-eb1xxx speakers
0529cf90b489 ASoC: cs42l42: Ensure 0dB full scale volume is used for headsets
a1cd1d08acb4 ASoC: soc-core: fix null-ptr-deref in snd_soc_del_component_unlocked()
093801ba8fe6 KVM: arm64: Report corrupted refcount at EL2
b466d8ef1233 x86/iopl: Fake iopl(3) CLI/STI usage
bfa448e241cd x86/irq: Ensure PI wakeup handler is unregistered before module unload
38ce12ffb27f x86/cpu: Fix migration safety with X86_BUG_NULL_SEL
d61cc6067d08 x86/sme: Use #define USE_EARLY_PGTABLE_L5 in mem_encrypt_identity.c
78f5cc4a3261 fuse: fix page stealing
521423148dfe ext4: refresh the ext4_ext_path struct after dropping i_data_sem.
54939d4ce87c ext4: ensure enough credits in ext4_ext_shift_path_extents
11768f7391ba ext4: fix lazy initialization next schedule time computation in more granular unit
3d96ccb1ef2a ALSA: timer: Unconditionally unlink slave instances, too
147405da05f5 ALSA: timer: Fix use-after-free problem
a493519fd98d ALSA: PCM: Fix NULL dereference at mmap checks
975cc9314162 ALSA: synth: missing check for possible NULL after the call to kstrdup
b6cb248aaa9a ALSA: hda: Free card instance properly at probe errors
e266789d8122 ALSA: usb-audio: Add registration quirk for JBL Quantum 400
3c71ff248ac6 ALSA: usb-audio: Line6 HX-Stomp XL USB_ID for 48k-fixed quirk
4b2f167789cd ALSA: mixer: fix deadlock in snd_mixer_oss_set_volume
0b879c816c0d ALSA: mixer: oss: Fix racy access to slots
3ab56cd15d22 ALSA: line6: fix control and interrupt message timeouts
c725f34ab982 ALSA: 6fire: fix control and bulk message timeouts
9bdf3120931f ALSA: ua101: fix division by zero at probe
733de916ec6b ALSA: hda/realtek: Add quirk for HP EliteBook 840 G7 mute LED
0a6fef615cd9 ALSA: hda/realtek: Add quirk for ASUS UX550VE
139ea889a60c ALSA: hda/realtek: Add a quirk for Acer Spin SP513-54N
1b0ca1a942a7 ALSA: hda/realtek: Headset fixup for Clevo NH77HJQ
09a84058016c ALSA: hda/realtek: Add quirk for Clevo PC70HS
d7d34eed508b ALSA: hda/realtek: Add a quirk for HP OMEN 15 mute LED
f35d48489cb7 ALSA: hda/realtek: Fix mic mute LED for the HP Spectre x360 14
47331981d71d media: v4l2-ioctl: Fix check_ext_ctrls
9d496fff4dfc media: ir-kbd-i2c: improve responsiveness of hauppauge zilog receivers
7577c6c1321a media: rkvdec: Support dynamic resolution changes
1c83764a8385 media: ite-cir: IR receiver stop working after receive overflow
ac698bd66a5c media: rkvdec: Do not override sizeimage for output format
cfb1311f92e1 crypto: s5p-sss - Add error handling in s5p_aes_probe()
ea5654a13b2e firmware/psci: fix application of sizeof to pointer
e06c0c6b038b tpm: Check for integer overflow in tpm2_map_response_body()
d0775031766f parisc: Fix ptrace check on syscall return
1af62b51aa5e parisc: Fix set_fixmap() on PA1.x CPUs
d4c5e024d73f exfat: fix incorrect loading of i_blocks for large files
de6acc5e6a95 mmc: dw_mmc: Dont wait for DRTO on Write RSP error
088a27043b2b mmc: mtk-sd: Add wait dma stop done flow
7038cb714d12 char: xillybus: fix msg_ep UAF in xillyusb_probe()
e1d2af3c9164 ce/gf100: fix incorrect CE0 address calculation on some GPUs
69e269a766b4 scsi: qla2xxx: Fix use after free in eh_abort path
5282d10eeaf0 scsi: qla2xxx: Fix kernel crash when accessing port_speed sysfs file
5fc7e0e194ff scsi: lpfc: Fix FCP I/O flush functionality for TMF routines
2080931c7849 scsi: lpfc: Don't release final kref on Fport node while ABTS outstanding
9bfe4b77333d scsi: core: Remove command size deduction from scsi_setup_scsi_cmnd()
0806efcadf8e scsi: core: Avoid leaving shost->last_reset with stale value if EH does not run
9020b4adf3a6 ocfs2: fix data corruption on truncate
762722cfd0a0 libata: fix read log timeout value
7f94e05338f5 Input: i8042 - Add quirk for Fujitsu Lifebook T725
94e0a6bc4130 Input: elantench - fix misreporting trackpoint coordinates
f9ccab9a050d Input: iforce - fix control-message timeout
d725957f4630 usb: xhci: Enable runtime-pm by default on AMD Yellow Carp platform
8eb1d2c82122 xhci: Fix USB 3.1 enumeration issues by increasing roothub power-on-good delay

(From OE-Core rev: 0f135ce07863873b47a0284547e7cb5a0967c5ad)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-09 10:33:25 +00:00
Stefan Herbrechtsmeier
796ca60fa9 selftest/recipetool: Add tests for branch parameter and srcbranch option
The recipetool support two ways to pass a branch and fallback to master
if no branch is defined. Add tests for default branch, branch parameter
and srcbranch option.

(From OE-Core rev: f232cffc09e917458d6e850b4aca4f87b53b43e4)

Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-09 10:33:25 +00:00
Stefan Herbrechtsmeier
5b54a2602d selftest: devtool: Separate common functions and devtool sstate setup into two classes
The selftest recipetool base class reuse the selftest devtool base
class. Thereby the selftest devtool base class setup its own devtool
sstate and the selftest recipetool classes trigger the build of recipes.
This leads to the problem that the build artifacts doesn't reach the
persistent sstate cache and rebuild on every selftest run.

Move the common selftest devtool functions into its own class and use
the sstate cache in the recipetool tests.

(From OE-Core rev: c0bd0686092181b6a5316c373b5b125d78a24e9f)

Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-09 10:33:25 +00:00
Stefan Herbrechtsmeier
d5a8ab8b56 selftest/recipetool: Split tests into separate test classes
Split tests into separate test classes to speed up individual test runs
by reducing the test setup to a minimum.

The pkgdata generation is only needed for the append tests and slow down
the other tests.

(From OE-Core rev: 2aef869bcca3e0de4afb9ef00492de3ee72b035c)

Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-09 10:33:25 +00:00
Stefan Herbrechtsmeier
db210eef9a selftest/devtool: Check branch in git fetch
The commit 'meta/scripts: Manual git url branch additions (dc53fe75cc)'
forget the url branch= parameter in the devtool git fetch test.

(From OE-Core rev: 1419168a58a5caf99e24ada08c9ab639344a78b4)

Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-09 10:33:25 +00:00
Stefan Herbrechtsmeier
392f2933b6 recipetool: Set master branch only as fallback
The commit 'meta/scripts: Manual git url branch additions (dc53fe75cc)'
sets the branch= parameter too early to master and thereby breaks the
-B/--srcbranch option.

ERROR: branch= parameter and -B/--srcbranch option cannot both be specified - use one or the other

(From OE-Core rev: 34ece8030e7a6a100b5e3e7b94e6c786c0e199a6)

Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-09 10:33:25 +00:00
Ross Burton
7d2239d638 gstreamer1.0-plugins-bad: clean up X11 dependencies
libxcb and xkbcommon are only needed in builds with X11 enabled, so add
a PACKAGECONFIG and respect the x11 DISTRO_FEATURE.

Strictly speaking these are only required if Vulkan and X11 are enabled,
but it's possible that more plugins will respect the flag.

(From OE-Core rev: 5d88ce8f25f7c8d226e26f4ebbb652625ef02d9f)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-09 10:33:25 +00:00
Ross Burton
67700e174d runqemu: check the qemu PID has been set before kill()ing it
If runqemu is killed, check that we have a valid PID for the qemu before
sending a kill() to it.

[ YOCTO #14651 ]

(From OE-Core rev: 0f3afbd3a6a6bef668612f818517df7543c0a683)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-09 10:33:25 +00:00
Alexander Kanavin
8e8a7add6c ruby: update 3.0.2 -> 3.0.3
Do not tweak a file that is no longer installed.

(From OE-Core rev: 1af0c4ef56d1892f284b6787ccc5a925d023e178)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-09 10:33:25 +00:00
Alexander Kanavin
9bf81a3d09 bitbake: fetch2/wget: do not hardcode tarball compressors in version check
(Bitbake rev: ba3aa8591327d43935f000c6884637997438ecb2)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-08 20:22:53 +00:00
Justin Bronder
acd77c3ac9 bitbake: fetch2/wget: add redirectauth parameter
Add a parameter that limits sending Basic authentication in the
Authorization header to only the first host and not any that we're
redirected to.  Ignoring potential security concerns, temporary AWS URLs
will reject any request that includes authentication details in both the
query parameters (from the redirect) and in the Authorization header.

Temporary AWS URLs are now being used for release assets from private
Github repositories.  According to the previous discussion linked below,
they're also in use by bitbucket.

See also:
https://lore.kernel.org/bitbake-devel/CAC9ffDEuZL-k8199bUyN+8frjw6bg-g=vrumxxtvt+RVParQ8Q@mail.gmail.com/

(Bitbake rev: a6ab32013a4381a1b694ed46caf2c9da932644d0)

Signed-off-by: Justin Bronder <jsbronder@cold-front.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-08 20:22:53 +00:00
Richard Purdie
35f1345290 gst-plugins-bad: Bump cache versions to avoid libxkbcommon sstate issues
(From OE-Core rev: 9a60abe9149d9903e83ab4e59b2e2ffd36b74aa6)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-08 20:22:11 +00:00
Alexey Brodkin
22eb7f218d openssl: Use linux-latomic target for ARC
Some atomic ops for 32-bit ARC processors are implemented in GCC's libatomic.
For example those dealing with 64-bit data (e.g. __atomic_load_8()) as well as
some others. That said it's required to add "-latomic" for successful linkage.

Otherwise error messages like this happen on OpenSSL building for ARC:
------------------------------->8------------------------------
| ...ld: libcrypto.a(libcrypto-lib-threads_pthread.o): in function `CRYPTO_atomic_or':
| .../openssl-3.0.0/crypto/threads_pthread.c:219: undefined reference to `__atomic_is_lock_free'
| ...ld: .../openssl-3.0.0/crypto/threads_pthread.c:219: undefined reference to `__atomic_is_lock_free'
| ...ld: .../openssl-3.0.0/crypto/threads_pthread.c:220: undefined reference to `__atomic_fetch_or_8'
------------------------------->8------------------------------

Fix that by using a special target, which does exactly what's needed.
See [1] and [2] for more details on the matter.

[1] cdf2986a70
[2] https://github.com/openssl/openssl/pull/15640

(From OE-Core rev: f48227a192022c604f8c2ea4fe973c6664861101)

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-08 20:22:11 +00:00
Khem Raj
40660f4094 mesa: Define broadcom packageconfig knob
Fixes
ERROR: mesa-2_21.3.0-r0 do_configure: QA Issue: mesa: invalid PACKAGECONFIG: broadcom [invalid-packageconfig]

(From OE-Core rev: 6add96e4af46eaabb6c70e3ce3a27a4b198d7cb6)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-08 20:22:11 +00:00
Khem Raj
921ef29760 mesa: Fix broadcom vulkan driver build on 32bit arches with 64bit time_t
(From OE-Core rev: 42067ccbf465197ab8d5d6be6d15b71a526decf8)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-08 20:22:11 +00:00
Khem Raj
6fdfe7bc33 binutils: Drop patch to wider sh regexp
This was needed during uclibc days and remnants have lingered on.
Remove this patch

(From OE-Core rev: ffbde7ed072baf47ddfe89dd9f7630f67a7a8be3)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-08 20:22:11 +00:00
Khem Raj
14322fdeae gdb: Drop sh4 support patch
This patch needs to be upstreamed, its not clear if it still works.

(From OE-Core rev: 5a009e67a9e6549bab495363cc7434384a4c94c4)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-08 20:22:11 +00:00
Jagadeesh Krishnanjanappa
4e26e51a3d tune-cortexa72: remove crypto for the default cortex-a72
The cryptographic unit is optional for the Cortex-A72, but it was
included by default previously.  This breaks building systems that
lack this functionality when using tune-cortexa72.inc.

To correct this, add a crypto entry in the tune file.  Since CRC is
optional for ARMv8.0, do the same thing while we're at it.

For platforms that had been happily using tune-cortexa72.inc, a slight
degradation of performance will occur using the default.  To correct
this, simply add:
DEFAULTTUNE = "cortexa72-crc-crypto"

(From OE-Core rev: 2568d537087adb0b592aa250bf628a7b48c3a9d3)

Signed-off-by: Jagadeesh Krishnanjanappa <workjagadeesh@gmail.com>
Signed-off-by: Jon Mason <jdmason@kudzu.us> (rewording commit message)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-08 20:22:11 +00:00
Alexander Kanavin
2ce06739ed libseccomp: update 2.5.2 -> 2.5.3
Drop all patches from MR https://github.com/seccomp/libseccomp/pull/327
as it has stalled, and rebasing them is non-trivial. Please land the
changes upstream first.

Drop 0001-configure.ac-Bump-version-to-2.5.99.patch as upstream
has addressed the issue.

(From OE-Core rev: 0374850b8abeecd3721215713481d9a802a19f46)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-08 20:22:11 +00:00
Alexander Kanavin
5d73db9e49 libunwind: update 1.6.0 -> 1.6.2
(From OE-Core rev: ad0ec1ccd87e51e5f4f7ab9bb821a486ef5c2374)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-08 20:22:11 +00:00
Alexander Kanavin
2084610215 go: update 1.17.3 -> 1.17.4
(From OE-Core rev: aa1dd053503f464dcc920e064a6d8ead6772cab2)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-08 20:22:11 +00:00
Alexander Kanavin
4ca1132b28 git: upgrade 2.34.0 -> 2.34.1
The issue with COMPUTE_HEADER_DEPENDENCIES
has been reported upstream, as it causes build races:
https://lore.kernel.org/git/20211207113101.69686-1-alex.kanavin@gmail.com/T/#u

(From OE-Core rev: 83635a1925e2d69344ea3f7b66f6b735b48f9eb7)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-08 20:22:11 +00:00
Alexander Kanavin
d1f27ddebb rust: update 1.56.1 -> 1.57.0
(From OE-Core rev: 295b9d51bad0b0da3ba9acec875972bf5e5ca4d7)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-08 20:22:11 +00:00
Alexander Kanavin
a8fe63942b erofs-utils: update 1.3 -> 1.4
(From OE-Core rev: 9e0a3f641081b3a3eecd9877c460d7cb68717bf6)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-08 20:22:11 +00:00
Alexander Kanavin
c8f8d1bbb8 cups: update 2.3.3op2 -> 2.4.0
Mark no-hardcode-lib patch as upstreamable.

(From OE-Core rev: 2d0475f9575a6679b4a9d5400220584597b84887)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-08 20:22:11 +00:00
Alexander Kanavin
c1c93b4ea4 strace: update 5.14 -> 5.15
(From OE-Core rev: 5882ea00a3c9cf0b15958ea3677231a2a31d9a68)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-08 20:22:11 +00:00
Alexander Kanavin
d14eb9aadb python3-pycryptodome: update to 3.12.0
License-Update: dropped a patents clarification
(From OE-Core rev: 790bedf9c99a581583fbe7e0b20d817562fc8c7b)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-08 20:22:11 +00:00
Alexander Kanavin
ddf2ade498 rustfmt: remove the recipe
There has been a discussion on the merits of keeping rustfmt in core,
and especially this message made me resubmit its removal:

https://lists.openembedded.org/g/openembedded-core/message/157471

(From OE-Core rev: 1e0eb06052942d88f135c5439f91ccad5c9ea0ab)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-08 20:22:11 +00:00
wangmy
415697fa90 xauth: upgrade 1.1 -> 1.1.1
(From OE-Core rev: 461a3cf91f72ecf36a264bf13b5f82adc5aecee2)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-08 20:22:11 +00:00
Khem Raj
b86ab6c03d mesa: Fix build on ARM systems without Neon
See [1]

[1] https://github.com/YoeDistro/yoe-distro/issues/626

(From OE-Core rev: 48c898ae4e885d9f3af894d77946e5eb3a498112)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-08 20:22:11 +00:00
Ross Burton
5cfc6ef28d vim: upgrade to 8.2 patch 3752
There's a fairly constant flow of CVEs being fixed in Vim, which are
getting increasing non-trivial to backport.

Instead of trying to backport (and potentially introduce more bugs), or
just ignoring them entirely, upgrade vim to the latest patch in the hope
that vim 8.3 will be released before we release Kirkstone.

(From OE-Core rev: 78a4796de27d710f97c336d288d797557a58694e)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-08 20:22:11 +00:00
wangmy
5c073c52ed vala: upgrade 0.54.3 -> 0.54.4
Changelog:
===========
 * Various improvements and bug fixes:
  - codegen:
    + Use CCodeConstant for member access of constant symbol
    + Emit constants without initializer list in defines section [#440]
    + Add and use CCodeConstantIdentifier for accessing constants
    + Check required length of enum type name for GType support
    + Add missing check while overriding virtual async interface methods [#852]
    + Drop inconsistent space for ObjectType parameters
    + Accept CCode.type attribute on parameters [#876]
    + Fix CCodeUnaryExpression.write() for PREFIX_INCREMENT/PREFIX_DECREMENT
  - vala:
    + Improve error message for invalid handler of dynamic signal
    + Using SignalHandler.disconnect() is required for dynamic signals
    + Check for unavailable value-type of variable initializer [#1253]
    + Add [Profile] as known attribute for methods
    + Report error on missing gio-2.0 package for async constructors
    + Fix signals with generic return
    + parser: Split out Parser.parse_switch_section_statement()
    + parser: Better handling of misplaced switch sections [#1246]
  - genie:
    + Amend text of indent and dedent for error messages [#497]
    + Accept INTERR token before type arguments when parsing type [#1245]
    + Properly handle plain "get" or "set" property accessors [#1248]
    + "exception" is the expected string for TokenType.ERRORDOMAIN
    + Accept accessibility/async modifiers on "construct" creation methods [#1235]
  - girparser: Accept "sealed" for transformed records and compact classes
  - gtkmodule: Improve error message for invalid signal element in ui-file
  - build: Add "test-update" which passed UPDATE_EXPECTED=1 to refresh c-expected
  - tests: Rename colliding test cases to avoid conflicts

 * Bindings:
  - alsa: Add more API and fix a few things
  - gnome-desktop-3.0: Some parameter fixes
  - gstreamer: Cherry-pick bindings fixes from 0.56
  - gstreamer-base-1.0: Some parameter fixes [#1255]
  - gtk4: Update to 4.5.0~cd9b7307
  - pango: Cherry-pick bindings fixes from 0.56

(From OE-Core rev: 7cbea16bfa03b46b79954e5b31d8d495591fa62a)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-08 20:22:11 +00:00
wangmy
fde0d83de0 sysstat: upgrade 12.4.3 -> 12.4.4
Changelog:
=======================
* iostat: Always display persistent names with option -j.
* iostat: Fix how device mapper names are taken into account when
  entered on the command line.
* mpstat: Don't display offline CPU.
* mpstat: Fix values displayed when an offline CPU goes back online.
* mpstat: Fix untrusted loop bound.
* mpstat: Update non regression tests.
* Use 'grep -E' instead of deprecated 'egrep'.
* Spelling and grammar fixes.
* Update man pages with correct spelling of "JavaScript".

(From OE-Core rev: 7f0c802333e4154f10aef6a78c936677e62614bd)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-08 20:22:11 +00:00
Steve Sakoman
26c83bbcc6 cve-extra-exclusions: add db CVEs to exclusion list
Since Oracle relicensed bdb, the open source community is slowly but surely replacing bdb with
supported and open source friendly alternatives. As a result these CVEs are unlikely to ever be fixed.

(From OE-Core rev: 679fc70f907fb221f4541ebf30c1610e937209b7)

Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-08 20:22:11 +00:00
Matthias Klein
df2031f369 gdb: fix aarch64 remote debugging gdb/28355
The raspberry3-64 machine from meta-raspberrypi is affected by this bug.

https://sourceware.org/bugzilla/show_bug.cgi?id=28355
https://sourceware.org/git/?p=binutils-gdb.git;a=patch;h=eb79b2318066cafb75ffdce310e3bbd44f7c79e3
https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=7fd8546853e3f0333ba8d8238413aba7eb45c69f

(From OE-Core rev: 6643692a642b863b546e1ea96d8e486330061495)

Signed-off-by: Matthias Klein <matthias@extraklein.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-08 20:22:11 +00:00
Jasper Orschulko
5d98b28c8a repo: upgrade 2.17.3 -> 2.18
(From OE-Core rev: 3a2cdd85faad0d6ba258788c7b05c7c82937d30e)

Signed-off-by: Jasper Orschulko <Jasper.Orschulko@iris-sensing.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-08 20:22:11 +00:00
Jasper Orschulko
4d965f9326 repo: Use separate task for patching repo rev
Using a task instead of a version specific patch for setting the repo
revision within the source code. This drastically decreases the
maintenance burden and easier usage of the OE update helper.

(From OE-Core rev: beb5878bfd600ba8c9b53aa9d6b038838697b97d)

Signed-off-by: Jasper Orschulko <Jasper.Orschulko@iris-sensing.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-08 20:22:11 +00:00
zhengruoqin
ddc5baf4d9 opkg: upgrade 0.4.5 -> 0.5.0
Remove unsupported openssl and option --disable-pathfinder

[RP: Drop openssl QA related warning]

(From OE-Core rev: 9e2a5d6557ca7d2c3aea39cfe18003e35310db34)

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-08 20:22:11 +00:00
zhengruoqin
02f7376bb9 opkg-utils: upgrade 0.4.5 -> 0.5.0
(From OE-Core rev: a9561eeb710eee02cdf9817245882d29f797b9b0)

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-08 20:22:11 +00:00
Richard Purdie
bbfe982f9f glibc: Drop patch for obsolete conflict issue
We're no longer patching files called "libm-test-ulps" so this patch isn't
really needed. Regardless, if we were, we should fix the real issue in the
upstream code which may have already happened. Drop this patch.

(From OE-Core rev: aef530a2d805c287c25ea8b4715602955e892ec9)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-08 20:22:11 +00:00
Khem Raj
000f71e0f7 ffmpeg: Fix build on ppc32
Fixes
| powerpc-yoe-linux/11.2.0/ld: libavformat/libavformat.so: undefined reference to `__atomic_fetch_sub_8'

(From OE-Core rev: d140306257a38615b84bc7f7595a4b2b5e97b808)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-08 20:22:11 +00:00
Khem Raj
7ccb65720c glibc: Drop ppc sqrt optimisations
OpenEmbedded isn't an upstream or a patch repository. These are optimisations
which for reasons unknown were never merged into upstream glibc. We have no
active ppc maintainers and these patches are at an evolutionary dead end.
Since they are optimisations, there may be small performance regressions by
removing them but OE can't carry patches like this indefinitely and these
appear to have no future.

(From OE-Core rev: 2511e937f4454813ab11a59057c29ae3f224ab5e)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-08 20:22:11 +00:00
Ross Burton
d8b7e5fe1d tcf-agent: cleanup patches
ldflags.patch isn't really suitable for upstream, so mark inappropriate.

fix_ranlib.patch has been rebased into uselessness over time, it's now
setting RANLIB to just '$@' which expands to '' when called, so is a
null operation.

(From OE-Core rev: 726d6d77b4ec6034ba80974dcd291bac9720236d)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-08 20:22:10 +00:00
Richard Purdie
d83fe40835 minicom: Upgrade 2.7.1 -> 2.8
* Update the url to use .bz2 instead of .gz compression.
* Drop three patches merged upstream
* Submit two patches upstream
* Drop the musl patch since half was already applied upstream and
  musl now builds fine without the other piece

(From OE-Core rev: 41f8760dd8a8ac388389bc17dbc5e0ae0f64bf57)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-08 20:22:10 +00:00
Richard Purdie
9591698754 minicom: Mark patches as backports
These three patches are backports from upstream, mark as such.

(From OE-Core rev: d8f974004ac5a3518c4fc88c4eded4ad23fa98fd)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-08 20:22:10 +00:00
Richard Purdie
6245f65fa3 gcc: Update patch status submitted->backport
Patch was merged to upstream gcc, update status.

(From OE-Core rev: ece8f1471db443d4844d475af9c89d16ef3fbab3)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-06 11:21:52 +00:00
Richard Purdie
22c8a711b4 gst-plugins-bad: Add missing libxkbcommon vulkan dependency
The vulkan module has a dependency on libxkbcommon which needs to be
listed so the dependency is correctly handled with debian renaming.

(From OE-Core rev: 9a6a4b02592cda62eb577f9deca835213c5abee7)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-06 11:09:53 +00:00
Richard Purdie
343626fac9 debian: Fix renaming packagedata dependencies
We've recently seen issues where libxkbcommon was changed in/out of debian
renaming and weston which DEPENDS but doesn't RDEPEND on it would show build
failures.

Looking at the sigdata file for weston:do_package_write_XXX, there were
dependencies on packagedata for RDEPENDS but not DEPENDS. Some items like
libxkbcommon are in DEPENDS but become autodetected RDEPENDS. The debian
class already handles RDEPENDS but needs to handle DEPENDS in a similar way
to avoid failures since bitbake treats them as two separate namespaces (unlike
recrdepends).

(From OE-Core rev: 834f7d735286c47765beb65778634eec7c2bd64f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-06 11:09:53 +00:00
Richard Purdie
3d7b493f11 patchelf: Upgrade 0.14.1 -> 0.14.2
(From OE-Core rev: aa396ec57d0e15bd257f710290074984f0efbeed)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-06 11:09:53 +00:00
Ross Burton
4d9a24d616 xkbcommon: add option for xkbregistry
Enable by default, now that libraries are split into separate packages
this won't cause a change to existing setups.

(From OE-Core rev: aced64cbf6408af0d34c1db21a02e0666ac44848)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-06 11:09:53 +00:00
Ross Burton
680470cd52 libxkbcommon: split libraries into separate packages
The sublibraries, such as libxkbcommon-x11, have specific linkage, so to
avoid link creep they can be put into separate packages.

(From OE-Core rev: 1a30af54d335db302393e14a0fa6cac4adbd1bee)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-06 11:09:53 +00:00
Ross Burton
f11d868f47 xkbcommon: split xkbcli into a separate package
Not everyone wants the CLI, so put it in a separate package to reduce
mandatory dependencies.

(From OE-Core rev: f6777d4bc5a3f04c4fe12c508609ba84fdde67b2)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-06 11:09:53 +00:00
Ross Burton
eeb85f6adf libxkbcommon: allow building of API documentation
(From OE-Core rev: 12aed9f72e610c0a20c7d9fe329edf7b7753740d)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-06 11:09:53 +00:00
Alexander Kanavin
28f9393d26 lttng: submit patches upstream
(From OE-Core rev: 6a7bd6cdf4f81808212807182861815483277272)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-06 11:09:53 +00:00
Alexander Kanavin
063a0471b7 libgpg-error: submit patch upstream
(From OE-Core rev: 58b4aae2f7a539e80c61c50a04ec22983dbd0745)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-06 11:09:53 +00:00
Alexander Kanavin
ddb6d0d666 libgcrypt: submit patch upstream
(From OE-Core rev: 18dfe5cc7645b4fb556d38946031f2f47c943159)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-06 11:09:53 +00:00
Alexander Kanavin
236647539a libfm: submit patches upstream
(From OE-Core rev: f2cf904ad6c50a3974abb9d51b119cbec921873a)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-06 11:09:53 +00:00
Alexander Kanavin
338c36ac82 ffmpeg: submit patch upstream
(From OE-Core rev: 8d5f979ec84297f09490e3acee97c96094251fb3)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-06 11:09:53 +00:00
Alexander Kanavin
86d20f4a0d systemtap: submit patch upstream
(From OE-Core rev: c1648b54d3baafc91f2fcf8fb27847f226042897)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-06 11:09:53 +00:00
Alexander Kanavin
a56b484d97 piglit: submit patches upstream
(From OE-Core rev: dea3890d045a203270d69375831376254109bce2)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-06 11:09:52 +00:00
Alexander Kanavin
2db176f5f2 kexec-tools: drop unneeded patch
(From OE-Core rev: 83ad4c858ad92637c26530aa80e37eed18d10b45)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-06 11:09:52 +00:00
Alexander Kanavin
49e2197063 xserver-xorg: remove unneeded patch
(From OE-Core rev: a9c92a52155073e2db5f771efd36eedd5792273d)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-06 11:09:52 +00:00
Alexander Kanavin
39ac9a3083 wayland: drop unnecessary patch
wayland now picks the correct setting from the native .pc file.

(From OE-Core rev: 5438c4121c040c4153377d0ec285381a6e93fded)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-06 11:09:52 +00:00
Alexander Kanavin
5583d450d0 igt-gpu-tools: correct patch status
(From OE-Core rev: 89bb72e0721be7d6afb2fbc35322c26182d59116)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-06 11:09:52 +00:00
Alexander Kanavin
a893378e8c adwaita-icon-theme: submit patch upstream
(From OE-Core rev: e3a348abade24ece055e08ea7c290416aa0da114)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-06 11:09:52 +00:00
Alexander Kanavin
121b6ba80c sudo: submit patch upstream
(From OE-Core rev: a8450f43b510404c1d7215ed98f1674e509ec760)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-06 11:09:52 +00:00
Alexander Kanavin
4079060757 zstd: submit patch upstream
(From OE-Core rev: 07b3c8540c9e475a8f60fe352c19aaa45e4acf88)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-06 11:09:52 +00:00
Alexander Kanavin
725a29b15b stress-ng: submit patch upstream
(From OE-Core rev: 73eebc7dc3fa44732b4a6f0ee010adfbf36e1b45)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-06 11:09:52 +00:00
Alexander Kanavin
cc5791aa4e lighttpd: remove unneeded (since meson switch) patch
(From OE-Core rev: cf6f8daf24c5c5bd2c7cde2dc4ecfefd79de61ee)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-06 11:09:52 +00:00
Alexander Kanavin
6778f069ca valgrind: remove unneeded patch
Whatever the issues were all those years ago,
current valgrind builds ok on qemux86_64 and qemuppc.

(From OE-Core rev: 4691b0566319797ab98b81e8e93c4615704edb70)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-06 11:09:52 +00:00
Alexander Kanavin
8d8734ef10 vala: submit patch upstream
(From OE-Core rev: 1aa863c8b0c3843125e419f882890c9207e1e19c)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-06 11:09:52 +00:00
Alexander Kanavin
7f1f9d843b python3: mark patch as inappropriate, with better explanation
(From OE-Core rev: 3a21835e69dfcdedf74512aec14583e8762317e5)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-06 11:09:52 +00:00
Alexander Kanavin
f9a533a8f5 perlcross: do not copy ${S}/patches into sysroot
That is not actually a part of the source tree, and will
clash with perl's own ${S}/patches.

(From OE-Core rev: 52f4ca245a6a5e99538bcd052a27bbe936bc7e08)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-06 11:09:52 +00:00
Alexander Kanavin
40349dc51f meson: configure and use generic exe_wrapper
This replaces the specific gtkdoc wrapper setting
(which was rejected by upstream in https://github.com/mesonbuild/meson/pull/9627)
with a generic, officially supported and documented exe_wrapper,
which is enabled subject to qemu usermode support
(just as is done for g-i and gtk-doc with autotools).

gtk-doc support is adjusted so that this wrapper is passed to
meson's gtk-doc module, which passes it to gtk-doc.

The adjusted patch is re-submitted upstream.

The side effect of this is that meson is now able to run
target binaries in a generic way when it wants to, so this
may affect cross-builds - hopefully in a positive way.

(From OE-Core rev: 17fb047282a413aae5af991ecf5bbb225e19581e)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-06 11:09:52 +00:00
Alexander Kanavin
a9ad0c267e perl: replace a patch with a config option
Instead of patching in LDFLAGS into makefiles, simply
append them to 'lddlflags' (perl's keyword for 'linker flags').

See here for upstream discussions:
https://github.com/Perl-Toolchain-Gang/ExtUtils-MakeMaker/pull/406
https://github.com/arsv/perl-cross/pull/124

(From OE-Core rev: b9bc216c8d25ad3696c858bf12ebe893b8fe0edd)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-06 11:09:52 +00:00
Jose Quaresma
cc60236033 glslang: upgrade 11.7.0 -> 11.7.1
changelog:
1f8c8b88 Revert port of GL_EXT_shader_realtime_clock to GL_EXT_spirv_intrinsics

(From OE-Core rev: bf9dc667a1a3c4967fb8f0a18c8bdec4de5a7a1a)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-06 11:09:52 +00:00
Khem Raj
11401c4505 perf: Enable libunwind packageconfig on riscv64
libunwind now supports risc64

(From OE-Core rev: 41ab1040b61a86157dd1995e36deb3df65d9c0c5)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-06 11:09:52 +00:00
Khem Raj
ca1a3c8e90 libunwind: Enable for rv64
1.6.0+ has rv64 supports now.

(From OE-Core rev: 2b2f6ff01efd73d31084caab63138117500b2228)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-06 11:09:52 +00:00
Ross Burton
c4935c0dcb libxkbcommon: remove obsolete util-macros dependency
This is a hang-over from the autotools build system.

(From OE-Core rev: 500b63b000674f812e9f11681ff5c30a81107bb4)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-06 11:09:52 +00:00
Ross Burton
8ae4af6030 libx11: update patch status
This patch has now been merged upstream.

(From OE-Core rev: 175ece3b5722c5bdbbe96bc55de849c62fb7a272)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-06 11:09:52 +00:00
Ross Burton
e904e9575c glew: update patch status
(From OE-Core rev: 2c0e3cd602c546a1cb2f20121d8098844524d8f1)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-06 11:09:52 +00:00
Joshua Watt
467c21abe4 yocto-check-layer: Relax README case checks
Relaxes the case requirements for checks in the README file so that word
like "Maintainer" and "Patch" are allowed

(From OE-Core rev: fdedf94d406ad3da85cb45d43ef87d3fdc8c14d4)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-04 23:39:52 +00:00
Jon Mason
17d1c837a4 yocto-check-layer: disregard checks if referencing another README file
It is permissible to have a layer's README reference another README.  If
this is the case, avoid other checks.  Do this by checking for the word
README (case insensitive) in the README file.  This might be too
permissive, but follows the pattern of looking for exact words (like
"patch" or "maintainer") in READMEs.

(From OE-Core rev: 443c73d638519d6a7ea44d1c0e80d76306687ddc)

Signed-off-by: Jon Mason <jdmason@kudzu.us>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-04 23:39:52 +00:00
Dhruva Gole
aec629185e yocto-check-layer: Add additional README checks
This adds:
- Test case to review if the README file specifies the maintainer.
- Test case to review if the README file specifies the word patch.
- Test case to review if the README file contains an email address.

[YOCTO #11131]

(From OE-Core rev: 5d4937bce191b7e22b807c0595d4845c88ecc560)

Signed-off-by: Dhruva Gole <goledhruva@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-03 23:37:16 +00:00
Quentin Schulz
10c55a23bd ptest-packagelists: Add missing python3-webcolors entry
Resolves:

WARNING: python3-webcolors-1.11.1-r0 do_package_qa: QA Issue: supports ptests but is not included in oe-core's ptest-packagelists.inc [missing-ptest]

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

Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-03 23:37:16 +00:00
Pavel Zhukov
ae57c83f03 patch.py: Initialize git repo before patching
If PATCHTOOL="git" has been specified but workdir is not git repo
bitbake fails to apply the patches with error message:
Command Error: 'git rev-parse --show-toplevel' exited with 0  Output:
fatal: not a git repository (or any of the parent directories): .git

Fix this by initializing the repo before patching.
This allows binary git patches to be applied.

(From OE-Core rev: 6184b56a7a0fc6f5d19fdfb81e7453667f7da940)

Signed-off-by: Pavel Zhukov <pavel.zhukov@huawei.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-03 23:37:16 +00:00
Khem Raj
b1984dd2f5 glibc: Drop patch to support/workaround prelinked apps on armv5
The usecase explained in bug #1443 works fine now a days on qemuarmv5,
tested by using lltng-ust and explicitly linking in liburcu-bp.so as
well, since its no more a direct dependency of liblttng-ust.so.1

Given that usecase works, unbolt this fix now.

(From OE-Core rev: 088cf642e4a58fd50f93b22b4fdf5a2f25e1ed53)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Mark Hatle <mark.hatle@kernel.crashing.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-03 23:37:16 +00:00
Khem Raj
5c8c4dd925 boost: Fix build on arches with no atomics
1.77 is broken on architectures which dont have lockfree atomics e.g.
armv5 [1], backport relevant fixes from upstream to unbreak the build

[1] https://github.com/boostorg/math/issues/673

(From OE-Core rev: 57dc797712abcf83b63694b21d2b3a3f09b1c9bc)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-03 23:37:16 +00:00
Kai Kang
8b99e34fb2 packagegroup-core-tools-testapps: clear GOTOOLS for riscv32
go-helloworld is not compatible with riscv32 and causes error:

| ERROR: Nothing RPROVIDES 'go-helloworld' (but
    meta/recipes-core/packagegroups/packagegroup-core-tools-testapps.bb
    RDEPENDS on or otherwise requires it)
| go-helloworld was skipped: Unsupported CPU architecture: riscv32

Clear GOTOOLS for riscv32 in recipe packagegroup-core-tools-testapps.

(From OE-Core rev: 16a730c803baef51b9475fbb67ece2d2c494d140)

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-03 23:37:16 +00:00
Ross Burton
3cf97f84c6 recipetool: extend curl detection when creating recipes
If a configure.ac uses LIBCURL_CHECK_CONFIG it wants curl.

(From OE-Core rev: 16e830ca1352cee61e4ae4b98b1203f849bf71f3)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-03 23:37:16 +00:00
Ross Burton
ad10932343 recipetool: handle GitLab URLs like we do GitHub
GitHub URLs are automatically transformed to git: fetches, so handle
GitLab URLs too.

(From OE-Core rev: 651fb951819840fe122458ddbd852ee6c7ec0455)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-03 23:37:16 +00:00
Ross Burton
1121148f13 openssl: fix EVP_PKEY_CTX_get_rsa_pss_saltlen() not returning a value
Backport a patch from upstream. Specifically, this fixes signature
validation in trusted-firmware-a with OpenSSL 3.

(From OE-Core rev: ac670fd4f543f439efdea26e813a4b5121161289)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-03 23:37:16 +00:00
Quentin Schulz
0000a5cae3 README.OE-Core.md: update URLs
Update URLs to what they actually redirect to.

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

Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-01 22:42:00 +00:00
Ross Burton
5b359440bb vim: set PACKAGECONFIG idiomatically
Don't set an empty default value and them immediately assign to it.

(From OE-Core rev: d7565241437487618a57d8f3f21da6fed69f6b8a)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-01 16:23:45 +00:00
Ross Burton
3eecf843e7 vim: fix CVE-2021-3968 and CVE-2021-3973
Backport a fix for -3972, and whitelist -3968: it isn't valid as it
fixes a bug which was introduced after 8.2.

(From OE-Core rev: bec5caadfb53638748d8c41ce7230c2bf7808d27)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-01 16:23:45 +00:00
Li Wang
7d2b8ac293 libtool: change the default AR_FLAGS from "cru" to "cr"
Backport patch to fix warning:
`u' modifier ignored since `D' is the default (see `U')

(From OE-Core rev: 3d5092e7ee63fb8119a22b3d9de1f23e94791b56)

Signed-off-by: Li Wang <li.wang@windriver.com>
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-01 16:23:45 +00:00
Khem Raj
0e733283f6 Revert "weston-init: Pass --continue-without-input when launching weston"
This reverts commit 762a20b493cc219a46d9ac188fe4895a111ee7b4.

This breaks machines using fbdev backend, since this option is drm
backend specific, we need to know the backend before using it, until we
have a smart way to detect that, this will not be a fool proof solution,
therefore revert it for now.

(From OE-Core rev: 6b7d8b2a141cc79272010b24d0648e6238fa4c74)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-01 16:23:45 +00:00
Dhruva Gole
95de7e2b62 scripts/checklayer/common.py: Fixed a minor grammatical error
(From OE-Core rev: 8ea17456ae5318ed7a3b4c8f75c8441456d8b979)

Signed-off-by: Dhruva Gole <goledhruva@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-01 16:23:45 +00:00
wangmy
777a1e0885 python3-libarchive-c: upgrade 3.1 -> 3.2
This release fixes the seek callbacks passed to libarchive by the custom_reader and stream_reader function.
(https://github.com/Changaco/python-libarchive-c/pull/116)

(From OE-Core rev: b9176bf09e68fcb01b4d81d26bc507b6336afade)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-01 16:23:45 +00:00
wangmy
10f8c21606 python3-docutils: upgrade 0.18 -> 0.18.1
Changelog:
docutils/nodes.py
  Node.traverse() returns a list again to restore backwards compatibility. Fixes bug #431.
  New method Node.findall(): like Node.traverse() but returns an iterator. Obsoletes Node.traverse().

docutils/utils/__init__.py:
  Fix behaviour of get_stylesheet_list(): do not look up stylesheets given as "stylesheet" setting. Cf. bug #434.

docutils/writers/_html_base.py:
  Fix handling of footnote_backlinks==False (report Alan G Isaac).

docutils/writers/html5_polyglot/math.css:
  Fix typo (bug #432).

docutils/writers/odf_odt/__init__.py:
  Fix spurious output with Windows (bug #350).

test/test_error_reporting.py:
  Fix a false positive (bug #434).

License-Update:
 year updated to 2021
 update url of elyxer
 add url of BSD 3-Clause License
 change "2-Clause BSD license" to "BSD 2-Clause License"

(From OE-Core rev: 126444702f2c2e63a54d55dfb1844bc6e64c5727)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-01 16:23:45 +00:00
wangmy
f0e8d3042d ovmf: upgrade 202108 -> 202111
(From OE-Core rev: bb025ed25d0826f900208d4c4e52ae404ce523b7)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-01 16:23:45 +00:00
wangmy
e8b059a274 sysklogd: upgrade 2.2.3 -> 2.3.0
Changes:
Add support for logger -k, early log to /dev/kmsg. Useful when
logging from early system startup scripts before syslogd has started
Support for extracting non-kernel log messages from /dev/kmsg
Ignore EINVAL from kernel, caused warning message at first startup
Use journald socket on systemd systems, not /dev/log
Issue #38: add support for syslogd -C file to use file for caching
the last seen kernel sequence number, default: /run/syslogd.cache.
Note: syslogd relies on the location of this file to be wiped at
system boot. The default, /run, is a RAM disk on modern systems

Fixes
Issue #34: regression in v2.2.3, causing loss of syslogd log messages
like syslogd v2.2.3: restart.
Issue #35: man pages lists -v as verbose mode, is actually version
Issue #36: retry DNS lookup of remote syslog servers with res_init()
to ensure name resolution at bootup when a remote DNS may temporarily
be unreachable. Retry at most every five seconds, to prevent syslogd
from monopolizing the CPU when emptying the kernel ring buffer
Issue #39: update tests to use -P fn and -C fn
Issue #40: improve documentation for syslogd.cache file requirements
Issue #41: add missing documentation for -H option
Issue #42: add option (-K) to always trust kernel timestamp. By
default syslogd only trusts the kernel timestamp for the initial
emptying of the kernel ring buffer
Issue #43: avoid asserting (exiting) on and around Jan 19, 2038, when
the UNIX epoch wraps around on 32-bit time_t systems
libsyslog: handle EOVERFLOW from gettimeofday() on Jan 19, 2038
Avoid NULL pointers to internal logit() function, only triggered
when in debug mode
Replace \m with \n (missing newline) in logger usage text

(From OE-Core rev: 84de7a1f3863989c437a8fcf34255399c10e4143)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-01 16:23:45 +00:00
wangmy
fb834580eb sqlite3: upgrade 3.36.0 -> 3.37.0
Changelog:
1.STRICT tables provide a prescriptive style of data type management, for
  developers who prefer that kind of thing.
2.When adding columns that contain a CHECK constraint or a generated column
  containing a NOT NULL constraint, the ALTER TABLE ADD COLUMN now checks new
  constraints against preexisting rows in the database and will only proceed if
  no constraints are violated.
3.Added the PRAGMA table_list statement.
4.CLI enhancements:
  a.Add the .connection command, allowing the CLI to keep multiple database
    connections open at the same time.
  b.Add the --safe command-line option that disables dot-commands and SQL
    statements that might cause side-effects that extend beyond the single
    database file named on the command-line.
  c.Performance improvements when reading SQL statements that span many lines.
5.Added the sqlite3_autovacuum_pages() interface.
6.The sqlite3_deserialize() does not and has never worked for the TEMP database.
  That limitation is now noted in the documentation.
7.The query planner now omits ORDER BY clauses on subqueries and views if
  removing those clauses does not change the semantics of the query.
8.The generate_series table-valued function extension is modified so that the
  first parameter ("START") is now required. This is done as a way to
  demonstrate how to write table-valued functions with required parameters.
  The legacy behavior is available using the -DZERO_ARGUMENT_GENERATE_SERIES
  compile-time option.
9.Added new sqlite3_changes64() and sqlite3_total_changes64() interfaces.
10.Added the SQLITE_OPEN_EXRESCODE flag option to sqlite3_open_v2().
11.Use less memory to hold the database schema.

(From OE-Core rev: b1c6e95d075531998de5b73e7ec7073647d5a2d2)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-01 16:23:45 +00:00
wangmy
f7050dee8b patchelf: upgrade 0.13 -> 0.14.1
refresh handle-read-only-files.patch

(From OE-Core rev: 978f04fc520938b231c236c00582360aea63b364)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-01 16:23:45 +00:00
wangmy
205a60fa98 mtools: upgrade 4.0.35 -> 4.0.36
(From OE-Core rev: ada5da0ce05bfe1437543b6691ad18b4dc68adcf)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-01 16:23:45 +00:00
wangmy
e0723d8b2b libexif: upgrade 0.6.23 -> 0.6.24
libexif-0.6.24 Changelog:

Translation updates: sr, vi, pl, uk, french
fixed regression in exif_data_load_data which could not load EXIF in JPEG data anymore
Decode lots of Canon tag names
removed empty strings from translation (empty string would translate to the PO info header)
various warning removals and code improvements
added sample "persistent" afl fuzzer (100x faster than normal afl fuzzer)

(From OE-Core rev: 7bfd1d2faa30cec9876901de718278ea013cc281)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-01 16:23:45 +00:00
wangmy
b96da7f120 libunwind: upgrade 1.5.0 -> 1.6.0
0001-Add-AO_REQUIRE_CAS-to-fix-build-on-ARM-v6.patch
0001-configure-Do-not-enforce-libdir-for-ppc64.patch
removed since they're included in 1.6.0

refresh the following patches:
0003-x86-Stub-out-x86_local_resume.patch
0005-ppc32-Consider-ucontext-mismatches-between-glibc-and.patch
0006-Fix-for-X32.patch

(From OE-Core rev: fb4a298594e1722ab57cd312e391e6f7c5597f8a)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-01 16:23:45 +00:00
wangmy
72c76db9d7 libsoup-2.4: upgrade 2.74.1 -> 2.74.2
Changes in libsoup from 2.74.1 to 2.74.2:

    * Error when libsoup3 is already loaded before libsoup2

(From OE-Core rev: 0640eb72ef4db97fc07011d8398dbafbd3c8b119)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-01 16:23:45 +00:00
wangmy
22fd9de07f libdrm: upgrade 2.4.108 -> 2.4.109
(From OE-Core rev: ba3bd5e6ae5c3893fa3dc61b768105d9203b96f3)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-01 16:23:45 +00:00
Alexander Kanavin
b825ea5ced insane.bbclass: add a check that Upstream-Status patch tag is present and correctly formed
(From OE-Core rev: d679c35e087499075a5b8c2222d8e7007fc3e75d)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-01 16:23:45 +00:00
Alexander Kanavin
fc5c6e373a ovmf: remove patch merged upstream
See here:
https://github.com/tianocore/edk2/pull/1513/files

The change was thus applied twice to the same file.

(From OE-Core rev: af90f9681bae3defe841ddcf80755960792faa88)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-29 23:07:13 +00:00
Alexander Kanavin
c93239706f go: update 1.16.10 -> 1.17.3
This was additionally verified with meta-virtualization:
$ bitbake packagegroup-container packagegroup-kubernetes
$ bitbake container-base kvm-image-minimal xen-guest-image-minimal

(From OE-Core rev: 7acfadc2ef96cd205a85713624ce96129b679b28)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-29 23:07:13 +00:00
Alexander Kanavin
6f092174b3 python3-rfc3339/3986-validator: correct upstream version check
(From OE-Core rev: dd2f4d263100ab09f79c2dc037346da7362765a2)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-29 23:07:13 +00:00
Alexander Kanavin
375c82ad00 go-helloworld: test at runtime
This adds a smoke check for whether the Go toolchain actually
produces working executables across a range of architectures.

(From OE-Core rev: 2819bb2cf22c6cfcaeaee79f0280097ec9cb9327)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-29 23:07:13 +00:00
Alexander Kanavin
278cb0fc07 go-helloworld: update to latest revision
Adjust SRC_URI, github is only a mirror.

Adjust GO_IMPORT, as it does not match either github
or the official repo.

(From OE-Core rev: 2c0e20fca1491adfef4f79b0088664f587ade4fd)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-29 23:07:13 +00:00
Alexander Kanavin
fd5b5c6355 testimage.bbclass: request the use of kvm by default
In almost all cases there is no need to explicitly ask for it via local.conf
or similar custom config:
it is enabled in qemu_use_kvm() if target_arch == build_arch or both of them are x86 archs,
and QEMU_USE_KVM is set.

If that heuristic doesn't work, QEMU_USE_KVM = "" will do the disabling.

(From OE-Core rev: c2a2d475a976225e3a4eb687af6d2a62dca1d2bf)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-29 23:07:13 +00:00
Alexander Kanavin
f2404c5002 perl: submitted patch upstream
(From OE-Core rev: 8358b6e9218f9282e24fcee19a3aec17c15e7604)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-29 23:07:13 +00:00
Alexander Kanavin
188362f75c perl-cross: submit patches upstream
(From OE-Core rev: 43f56eab9ef80a7d6d988d85af653ea68c9b3d62)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-29 23:07:13 +00:00
Alexander Kanavin
87c2d49842 meson: submit patch upstream
(From OE-Core rev: de74501bce6b87281a07c98a75349cbffb05abfe)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-29 23:07:13 +00:00
Alexander Kanavin
c36725d7d5 libdnf: submit patches upstream
(From OE-Core rev: 11a82aa6ad0c94fff018f03ba52e2c77fe3c45d8)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-29 23:07:13 +00:00
Alexander Kanavin
2588acf129 libcomps: remove unneeded patch
Somewhere along the way the issue was fixed upstream.

(From OE-Core rev: 8a5e34ff78fc74bce16b7aae173f047fce88dee5)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-29 23:07:13 +00:00
Khem Raj
5c95402ff9 weston-init: Pass --continue-without-input when launching weston
This ensures that we do not need keyboard/mouse or other input system
Weston's default behavior is to not open if input devices are not
found, but we may not always have input devices connected for systems
running weston in field

(From OE-Core rev: 762a20b493cc219a46d9ac188fe4895a111ee7b4)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-29 23:07:13 +00:00
Richard Purdie
f062749071 sanity/lib: Replace usage of LooseVersion() with bb.utils.vercmp_string_op()
distutils is going away and we have functionality in bitbake which can
handle these comparisions so switch to the bb.utils function.

(From OE-Core rev: fe624b520e6c75e16a8f394785ab0216341402f9)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-29 23:07:13 +00:00
Richard Purdie
1dbcdfcdf8 oeqa/parselogs: Fix quoting
Fix deprecation warnings about invalid escape sequences.

(From OE-Core rev: 43542614395150e8fa34133ba0fc7ee90f215bcb)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-29 23:07:13 +00:00
Stefan Herbrechtsmeier
a0320f3944 bitbake: test/fetch: Add striplevel unpack parameter test
(Bitbake rev: 7e1ca7ab50e3c6b642c3c11504c7c8f52cfa4528)

Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-26 17:01:37 +00:00
Stefan Herbrechtsmeier
6497b6ac67 bitbake: bitbake-user-manual: Add striplevel unpack parameter
(Bitbake rev: f0442a30d3a8459195dbf51a778ffb6150688a0a)

Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-26 17:01:37 +00:00
Stefan Herbrechtsmeier
e241d0e78c bitbake: fetch2: Add striplevel support to unpack
Add a parameter `striplevel` to the SRC_URI to strip NUMBER leading
components (levels) from file names on extraction.

For example, if the archive `archive.tar.gz` contains `some/file`,
the SRC_URI `https://.../archive.tar.gz;subdir=other;striplevel=1`
will extract `some/file` to `other/file`.

This is useful to extract archives to a specified directory instead of
the original root component of the archive. The feature is required for
the npm support. The npm package contents should reside in a subfolder
inside a npm archive (usually it is called package/). npm strips one
directory layer when installing the package.

(Bitbake rev: aa4926e5d9c92f33b4434e2da709ff0bf3049f5b)

Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-26 17:01:37 +00:00
Stefan Herbrechtsmeier
8091ad4347 bitbake: fetch2: Unify tar command in unpack
The tar command and its arguments are repeated for many archive types in
the unpack function. Unify the common parts in a variable to prepare
further extension.

(Bitbake rev: a08e57c9eaec1d9740a96149bf4843e576da4e5c)

Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-26 17:01:37 +00:00
Robert Yang
11ecd7628c bitbake: data_smart.py: Skip old override syntax checking for anonymous functions
Fixed when oe-core's path contians append/prepend/remove, e.g.:

/path/to/append_test/oe-core/

Initial a build in any build dirs:
$ bitbake -p
ERROR: Variable __anon_32__buildarea2_xhou_builds_append_test_layers_oe_core_meta_classes_patch_bbclass
contains an operation using the old override syntax. Please convert this
layer/metadata before attempting to use with a newer bitbake.

The anonymous fuctions has no names, so skip checking for it to fix the issue.

(Bitbake rev: ebd00330c41c75797529ff38d6a0955b93f05d1b)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-26 17:01:37 +00:00
Richard Purdie
1c032b4d1d oeqa/utils/dump: Fix typo
(From OE-Core rev: 3770d539d83b589b3f8bde21fcf896bb046611d4)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-26 17:01:08 +00:00
Richard Purdie
80cd0b8a52 gcc: Drop further unneeded precompiled header patch
According to comments on the bug report from gcc developers, we
no longer need to do this post gcc 10. Lets therefore drop the patch.

(From OE-Core rev: 8ddc6f46d40cdcc462de23d1b1218f2ed9fd3d07)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-26 17:01:08 +00:00
Jasper Orschulko
a27bf13e89 base.bbclass: Add sysroot deps for repo fetcher
Add repo-native as prerequisite for the repo fetcher.

(From OE-Core rev: 16b8939bf0450837d3bc9e44cd24d2f38e0cee58)

Signed-off-by: Jasper Orschulko <Jasper.Orschulko@iris-sensing.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-26 17:01:08 +00:00
Jasper Orschulko
6f450a177b repo: Add recipe for 2.17.3
Add a recipe for repo 2.17.3, prerequisite for the repo fetcher.

(From OE-Core rev: db9d86bdf2878ebee9c2080038714fcc98142100)

Signed-off-by: Jasper Orschulko <Jasper.Orschulko@iris-sensing.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-26 17:01:08 +00:00
Jacob Kroon
096c9037bc native/cross: Add ar wrapper for determinism
Add a wrapper around ar calls for native/cross recipes. This wrapper adds
the -D option so that deterministic archives are built for native/cross
output. This improves the changes of hash equivalence matches and hence
build artefact reuse.

We don't need this in the target case since we compile binutils-cross
with an option making this the default. We need a wrapper since we need
to remove the "u" option and replace it with "D" but also allow things like
"--version" to continue to work too.

(From OE-Core rev: 59922c95fcb20c66634c5677012d490be2246b0b)

Signed-off-by: Jacob Kroon <jacob.kroon@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-26 17:01:08 +00:00
Richard Purdie
921d3aa667 gcc: Drop mips default ABI patch
gcc-configure-common.inc already sets --with-abi=64 for our mips64
targets so this patch is no longer needed.

[YOCTO #14639]

(From OE-Core rev: e0010af733825ed1050fd3342cf3ef1c478df1a0)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-26 17:01:08 +00:00
Richard Purdie
8dd0a45c85 nativesdk: Handle chown/chgrp calls in nativesdk do_install tasks
We disable the useradd code for nativesdk targets since we don't support
postinstalls or multiple users in those cases. This means any usage
of chown/chgrp inside do_install tasks won't work and would have to be
conditional. Rather than require all recipes to do that, add intercepts
of the calls and map those to root/root user/groups. We can't just ignore
them as some calls are used to remove host contamination from the host
user ID so they need to be made, just as root.

(From OE-Core rev: e1f40670c438e33cae87678425de72ca03566888)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-26 17:01:08 +00:00
Max Krummenacher
44a3909bf6 perf: sort-pmuevents: allow for additional type qualifiers and storage class
With kernel 5.16 some structs in pmu-events do get a const qualifier, some
a static const storage class and qualifier.

The current sort-pmuevents cannot cope with that and drops all struct
arrays with such additional elements. This then leads to compiler errors.

Allow '^struct', '^const struct', '^static struct', '^static const struct'.

(From OE-Core rev: 8406e83ade1c34d8a7d8063f2e7445aafa471721)

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-26 17:01:08 +00:00
Max Krummenacher
c67fab09fe perf: sort-pmuevents: don't drop elements
If a struct element neither has an element cpuid or name it gets silenty
dropped.
Kernel 5.15 for some ARCHs have at least one array of structs matching
this.
e.g. for arm pmu-events.c:

|#include "pmu-events/pmu-events.h"
struct pmu_events_map pmu_events_map[] = {
{
	.cpuid = 0,
	.version = 0,
	.type = 0,
	.table = 0,
},
};

struct pmu_sys_events pmu_sys_event_tables[] = {
	{
		.table = 0
	},
};

Before this patch the second struct is translated to an empty array::

struct pmu_sys_events pmu_sys_event_tables[] = {
};

(From OE-Core rev: e1382583cd5060be301afaa9998ccf250cc8bca3)

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-26 17:01:08 +00:00
Bruce Ashfield
1bac831fba linux-yocto-dev: introduce dt-validation PACKAGECONFIG
Add a PACKAGECONFIG to control which type of dt-validation
is installed (full, or wrapped).

This is currently in linux-yocto-dev, as 5.16 introduces
the functionality of required dt schema validation.

Other v5.16 providing recipes can use the base functionality
as they desire (with or without PACKAGECONFIG).

Over time, we can migrate the support the the core
kernel classes .. in particular when more providers are at
v5.16+

(From OE-Core rev: c12a91827e88230b4ec702a88534d4c51c1aabe3)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-26 17:01:08 +00:00
Bruce Ashfield
2566563ad4 kernel: introduce python3-dtschema-wrapper
The 5.16 kernel introduced mandatory schema checking on any dtb file
built through the kernel.

That funcionality is provided via python3-dt-schema.

The dependencies to enable that functionality is not small, and may
not always be desired (in particular on architectures that do not
support dtbs, or in development cycles). It may also be useful for
allowing a non-conformant dts to be compiled.

This commit introduces a set of wrapper scripts that when added
as a depenency to the kernel, can pass both the validation testing
and validation steps of a dts.

We use the wrapper by default, while more dts file are brought up
to spec and the dt-validation matures upstream.

To enable valiation, simply add 'dt-valiation' to the PACKAGECONFIG
variable and the full dt-schema package will be selected and
validation will occur.

(From OE-Core rev: a8525391f8a519426c92f0e28895f426bfcb3f84)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-26 17:01:08 +00:00
Bruce Ashfield
13527d2409 linux-yocto: export pkgconfig variables to devshell
Not all of the kernel host/build Makefiles allow pkg-config
to be overriden to pkg-config-native. Exporting these variables
allow us to debug host tool issues with the kernel build.

(From OE-Core rev: ea71e50be2de5b7fc81f466ea5cd48c2f1e0ef6b)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-26 17:01:08 +00:00
Richard Purdie
1ba9c9690f python3: Add missing HOMEPAGE entries
Add missing HOMEPAGE entries to new python recipes from meta-python.

(From OE-Core rev: 333af4b995f62406898e7efcebd5e846cdc449f6)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-26 17:01:08 +00:00
Bruce Ashfield
f460aa95d2 maintainers: update for kernel dtschema checking dependencies
These packages are required for dtschema checking in the
kernel build. Adding myself as the maintainer.

(From OE-Core rev: dff7ce9b72d54a0af0916424738ca0295eebc6c0)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-26 17:01:08 +00:00
Bruce Ashfield
a231268bd3 python: import vcversioner from meta-python
vcversioner is a dependency of jsonschema, which is being
imported to support kernel device tree validation.

(From OE-Core rev: 51265151041cf71f3bc799fc60662df6f2cfd7ae)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-26 17:01:08 +00:00
Bruce Ashfield
ab761b4a9b python: import strict-rfc3339 from meta-python
strict-rfc3339 is a dependency of jsonschema, which is being
imported to support kernel device tree valiation.

(From OE-Core rev: 1f00aad201b207e991d7679fbf45e7a308f48dd0)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-26 17:01:08 +00:00
Bruce Ashfield
fafdad5a61 python: import rfc3987 from meta-pyton
rfc3987 is a depenency of jsonschema and dtschema, which are being
added to support kernel device tree validation.

(From OE-Core rev: 9a3cb1a02a4c630e98137edcc8e33bd00343a957)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-26 17:01:08 +00:00
Bruce Ashfield
e1943372fd python: import pyrsistent from meta-python
pyrsistent is a dependency of python3-jsonschema, which is being
imported to support kernel device tree validation.

(From OE-Core rev: e25d4417bc4ca01474c74dc5bd38594bcfbe6639)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-26 17:01:08 +00:00
Bruce Ashfield
f0e30fcf2a python: import ruamel-yaml from meta-python
Importing ruamel-yaml from meta-python. This package is a
dependency of python3-dtschema, which is required to validate
kernel devicetrees.

(From OE-Core rev: 748f7d377b62a0cd6bae558791a4d84b8110ea1a)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-26 17:01:08 +00:00
Bruce Ashfield
919e5d27b0 python: import webcolors from meta-python
Importing webcolors, which is a dependency of
python3-jsonschema. These packges are required to support
the validation of kernel device trees.

(From OE-Core rev: cbba71e821815f97bb1dcadadc067d28b9d1e5ab)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-26 17:01:08 +00:00
Bruce Ashfield
af7d5f02be python: import rfc3986-validator from meta-python
Importing rfc3986-validator, which is a dependency of
python3-jsonschema. These packges are required to support
the validation of kernel device trees.

(From OE-Core rev: ffe53365633833e5134744730b00c74cbb462752)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-26 17:01:08 +00:00
Bruce Ashfield
96853b0225 python: import rfc3339-validator from meta-python
Importing rfc3339-validator from meta-python, which is a dependency of
python3-jsonschema. These packges are required to support
the validation of kernel device trees.

(From OE-Core rev: 8f9ade9448c1c87004d81bec049136a745dfb0b1)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-26 17:01:08 +00:00
Bruce Ashfield
8a03979b55 python: import idna from meta-python
Importing idna from meta-python, which is a dependency of
python3-jsonschema. These packges are required to support
the validation of kernel device trees.

(From OE-Core rev: 14fdb80c3c32e728f32d798134acaef6250c001a)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-26 17:01:08 +00:00
Bruce Ashfield
1efdf92942 python: import jsonschema from meta-python
Importing this package as a dependency to python3-dt-schema,
which is required for kernel device tree validation.

(From OE-Core rev: c28fd66c673a852d287220ec0c9fe882464a0161)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-26 17:01:08 +00:00
Richard Purdie
b9c33ca6ba ptest-packagelists: Add missing python3-jsonpointer entry
Resolves:

WARNING: python3-jsonpointer-2.2-r0 do_package_qa: QA Issue: supports ptests but is not included in oe-core's ptest-packagelists.inc [missing-ptest]

(From OE-Core rev: 7e561760278c980715fa966448f1f978b3767b8a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-26 17:01:08 +00:00
Bruce Ashfield
dc9020a605 python3-jsonpointer: Update 2.1 to 2.2
The import from meta-python was slightly out of date, and the
2.1 version was grabbed. We bump the oe-core version to 2.2
to match the latest meta-oe version.

(From OE-Core rev: 687823be0ec6ee93614e386af72c3d315d0258ef)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-26 17:01:08 +00:00
Bruce Ashfield
f5c4069808 python: import jsonpointer from meta-python
required to support python3-json, which is required for python3-dtschema
and device tree checking by the kernel.

(From OE-Core rev: 5e057c058da55385d8566532bd713bcd7b4c9ebc)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-26 17:01:08 +00:00
Bruce Ashfield
91dbc50d6e python: introduce python3-dtschema
kernel commit 53182e81f47d [kbuild: Enable DT schema checks for %.dtb
targets], which is part of v5.16+, makes the checking of dtb schemas
manditory.

To support the checking, we introduce this new recipe dtschema.

Dependencies will be imported in subsequent commits, so we can
track the dependency need on a per-import basis.

(From OE-Core rev: d56fcb5806784359a9e81ea5ac4816caaeee7750)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-26 17:01:08 +00:00
Bruce Ashfield
ace63e94e3 kernel: export native PKGCONFIG variables
In a similar manner to cml1.bbclass, we export the pkg-config
variables to allow a direct call to pkg-config access to the
native sysroot versus the target sysroot.

The kernel doesn't use pkg-config for target configuration,
and has many explicit calls to pkg-config, without the
possibility of easy override to pkg-config-native.

The calls to pkg-config could be made cross friendly via
replacement with make variables, but until that effort is
undertaken upstream, we need a bridge approach.

In particular, this is required for dtschema validation,
which is a requirement in kernel 5.16+

(From OE-Core rev: 9172d61c57e23682c3d2c25701cbd53c84d01a27)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-26 17:01:08 +00:00
Bruce Ashfield
4f3a8ee65b linux-yocto-dev: bump to v5.16+
Bumping the version of -dev ot 5.16. We also pickup two new
dependencies to support kernel dtschema validation. This
requirement was introduced by kernel commit:

   commit 53182e81f47d4ea0c727c49ad23cb782173ab849
   Author: Rob Herring <robh@kernel.org>
   Date:   Mon Sep 13 09:51:46 2021 -0500

       kbuild: Enable DT schema checks for %.dtb targets

       It is possible to build a single dtb, but not with DT schema validation
       enabled. Enable the schema validation to run for %.dtb and %.dtbo
       targets. Anyone building a dtb for a specific platform *should* pay
       attention to schema warnings.

       This could be supported with a separate %.dt.yaml target instead.
       However, the .dt.yaml format is considered an intermediate format and
       could possibly go away at some point if schema checking is integrated
       into dtc. Also, the plan is to enable the schema checks by default once
       platforms are free of warnings, and this is a move in that direction.

       Cc: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
       Cc: Tom Rini <trini@konsulko.com>
       Cc: Masahiro Yamada <masahiroy@kernel.org>
       Cc: linux-kbuild@vger.kernel.org
       Signed-off-by: Rob Herring <robh@kernel.org>
       Acked-by: Masahiro Yamada <masahiroy@kernel.org>
       Link: https://lore.kernel.org/r/20210913145146.766080-1-robh@kernel.org

(From OE-Core rev: 37fb1592eb8bcc4a8bbfc3f4b1dc6373733827f0)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-26 17:01:08 +00:00
Michael Opdenacker
1058cb38de bitbake: bitbake-user-manual: SRC_URI: mention gitsm fetcher
(Bitbake rev: 0d0e552d87c52c1f90b601698c3d54eec427ee21)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-25 21:55:27 +00:00
Richard Purdie
08ee6545a8 gcc: Drop no longer needed patch
This patch was mentioned upstream a long time ago:

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=47256

Changes from gcc 10 onward mean it is no longer needed as mentioned in the
above bug report. Drop the patch.

(From OE-Core rev: 6fca075a8d87d033359f81d476c8506df66ad53d)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-25 21:55:10 +00:00
Yi Zhao
ac0cfb5ee4 meta-skeleton: fix warnings for append operators combined with +=
(From OE-Core rev: 619273ecb6c17efd0b4d01f17688f1b211991ca2)

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-25 21:55:10 +00:00
Ross Burton
c6f23f1f0f oe/utils: by default cap cpu_count() to 64 cores
Larger systems may have large numbers of cores, but beyond a certain
point they can't all be used for compiling: whilst purely
compute-intensive jobs can be parallelised to hundreds of cores,
operations such as compressing (needs lots of RAM) or compiling (lots of
I/O) don't scale linearly.

For example, the Marvel ThunderX2 has 32 cores, each capable of
executing four threads, and can be configured with two sockets, making
256 CPUs according to Linux. Zstd using 256 threads has been seen to
fail to allocate memory during even small recipes such as iso-codes.

Add a default cap of 64 CPUs to the cpu_count() method so that extreme
parallisation is limited.  64 is high enough that meaningful gains
beyond it are unlikely, but high enough that most systems won't be
effected.

(From OE-Core rev: 765d0f25ce48636b1838a5968e2dc15de2127428)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-25 21:55:10 +00:00
Ross Burton
317511ce1f sstate: explicitly name the checkhashes thread pool
Give this thread pool a name for clarity.

(From OE-Core rev: 57ea50fcfe81f47b93b9302d1aab2e81dcdd3105)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-25 21:55:10 +00:00
Ross Burton
1fb99950a2 oe/utils: allow naming threads in ThreadedPool
When looking at logs involving thread pools it is useful if the threads
can be named.

(From OE-Core rev: 18342945b021608794d83ecf567afd43f4379b24)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-25 21:55:10 +00:00
Alexander Kanavin
cd91af372f python3-setuptools: update 58.5.3 -> 59.2.0
(From OE-Core rev: 717e538e70f78d79ba7cec2797024af0dc91aeb0)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-25 21:55:10 +00:00
Alexander Kanavin
98b85e193e python3-packaging: update 21.2 -> 21.3
(From OE-Core rev: f1b1eaf63cd0a762f149d2fed9cbef98eb7f4977)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-25 21:55:10 +00:00
Alexander Kanavin
13588826a5 bind: update 9.16.22 -> 9.16.23
(From OE-Core rev: cf024ecc5d19876ef6bd9a93606fae64426a0e4c)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-25 21:55:10 +00:00
Alexander Kanavin
09d5a495fe vulkan: update 1.2.191.0 -> 1.2.198.0
(From OE-Core rev: 5eb61a191acfb2a7d5fdcde2657b59d0e5a81997)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-25 21:55:10 +00:00
Alexander Kanavin
636dea9459 systemd: update 249.6 -> 249.7
(From OE-Core rev: 5671ef44cf85df00406b391f7786ffaefd05a701)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-25 21:55:10 +00:00
Alexander Kanavin
a0d0e9f3a6 cmake: update 3.21.4 -> 3.22.0
(From OE-Core rev: 3f83264a4d84669e62e801ce1bb5e04904aec73d)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-25 21:55:10 +00:00
Alexander Kanavin
8c0eef0f65 git: update 2.33.1 -> 2.34.0
(From OE-Core rev: b2a6b1b0711a75dada8276bc3d573436ba7051df)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-25 21:55:10 +00:00
Alexander Kanavin
30b177ce71 gptfdisk: submit patch upstream
(From OE-Core rev: 9d3e9854ea15145277ba6deebfc1e9fb4c0c9aa9)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-25 21:55:10 +00:00
Alexander Kanavin
cef1f90a15 weston: mark patch as denied
upstream has explained in the patch submisstion how the issue should be solved differently;
we should work towards that.

(From OE-Core rev: 60c0f7fb94e81e644c3b5dc87126fe32a6780239)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-25 21:55:10 +00:00
Alexander Kanavin
e6f91350d1 elfutils: submit patch upstream
(From OE-Core rev: a71a527ecf198e2e3712ed9608b74e78e09ece0f)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-25 21:55:10 +00:00
Alexander Kanavin
5185608b60 elfutils: update 0.185 -> 0.186
Drop glibc-2.34-fix.patch merged upstream.

Rework support for error() on non-glibc targets:
upstream now provides its own implementation, so we can drop
the patch that adds ours; said implementation isn't
build-tested with tests, so ptest has to be disabled on musl.
This, in turns, allows dropping 0004-Fix-error-on-musl.patch.

License-Update: copyright years
(From OE-Core rev: 9c51ae20c0e4c0d3e7161fc6b51fca078dbf014a)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-25 21:55:10 +00:00
Alexander Kanavin
8259247df2 dpkg: replace a patch with a tweak to an already existing sed fixup
(From OE-Core rev: b9751b21f4234854f8750f1048bb54f578bd95d3)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-25 21:55:10 +00:00
Alexander Kanavin
5002ac24a7 diffstat: remove unneeded patch
(From OE-Core rev: 54ddaef8eb90998c3256a3454450fd2e1aa250d2)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-25 21:55:10 +00:00
Alexander Kanavin
2071a99eb0 apt: drop unneeded chunk from a musl patch, submit the rest upstream
Upstream has inserted guards around the use of offending constant.

(From OE-Core rev: 67cf70f17e9b7afe7ee6416f80545be57714fcd9)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-25 21:55:10 +00:00
Alexander Kanavin
87b121eac3 ell: remove unneeded patch
Upstream added internal implementation shortly after the patch was added.

(From OE-Core rev: f72df428904921cb87223de4e72e784e97208e8f)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-25 21:55:10 +00:00
Alexander Kanavin
d9f44a5862 glib-2.0: submit patch upstream
(From OE-Core rev: 82288f0b1eb3189d14a006d2fa1844bc9d6303c1)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-25 21:55:10 +00:00
Alexander Kanavin
0ec51bf52a logrotate: add a link to upstream review for one of the patch
The patch author (Robert Yang) has been asked by email
to rework the patch.

(From OE-Core rev: 42b0ae35701ec459f621b9b2a3bc350c02c7267f)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-24 10:00:10 +00:00
Alexander Kanavin
964e3c4445 groff: include references to corresponding upstream commits in a patch
(From OE-Core rev: 818684b458f20a66c26db5138d7ee185f5b790f1)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-24 09:59:37 +00:00
Bruce Ashfield
cccb8f4242 kernel-yocto: conditionally enable stack protection checking on x86-64
The kernel Makfile uses pkgconfig to check for libelf when enabling
CONFIG_STACK_VALIDATION. We already have libelf in our DEPENDS, but
the kernel Makefiles hardcode 'pkgconfig', so fail to pick up our
pkgconfig-native binary that would report the correct flags and paths
for libelf support.

Rather than patching the kernel Makefile's to use pkgconfig-native,
we can use the KERNEL_EXTRA_ARGS variable to pass the definition of
HOST_LIBELF_LIBS via the kernel build commmand line.

We conditionally set HOST_LIBELF_LIBS based on "stack" being in
a newly introduced variable KERNEL_DEBUG_OPTIONS. The value of
HOST_LIBELF_LIBS is the same as pkgconfig-native would set in a
kernel build (but we cannot call pkgconfig at the point this
variable is set).

(From OE-Core rev: 0ad2b69dace6ac851c1f0bdae6a3c41045fc2d1d)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-24 09:55:54 +00:00
Bruce Ashfield
30d1eb3841 linux-yocto/5.10: update to v5.10.79
Updating linux-yocto/5.10 to the latest korg -stable release that comprises
the following commits:

    bd816c278316 Linux 5.10.79
    62424fe4c2cf rsi: fix control-message timeout
    8971158af1e0 media: staging/intel-ipu3: css: Fix wrong size comparison imgu_css_fw_init
    1cf43e928954 staging: rtl8192u: fix control-message timeouts
    9963ba5b9d49 staging: r8712u: fix control-message timeout
    844b02496eac comedi: vmk80xx: fix bulk and interrupt message timeouts
    b7fd7f3387f0 comedi: vmk80xx: fix bulk-buffer overflow
    33d7a470730d comedi: vmk80xx: fix transfer-buffer overflows
    ef143dc0c3de comedi: ni_usb6501: fix NULL-deref in command paths
    786f5b034504 comedi: dt9812: fix DMA buffers on stack
    86d4aedcbc69 isofs: Fix out of bound access for corrupted isofs image
    c430094541a8 staging: rtl8712: fix use-after-free in rtl8712_dl_fw
    ab4af56ae250 printk/console: Allow to disable console output by using console="" or console=null
    07d1db141e47 binder: don't detect sender/target during buffer cleanup
    42681b90c4db usb-storage: Add compatibility quirk flags for iODD 2531/2541
    1309753b7841 usb: musb: Balance list entry in musb_gadget_queue
    27409143122f usb: gadget: Mark USB_FSL_QE broken on 64-bit
    94e5305a3816 usb: ehci: handshake CMD_RUN instead of STS_HALT
    a8db6fd04d58 Revert "x86/kvm: fix vcpu-id indexed array sizes"
    ecf58653f1e4 KVM: x86: avoid warning with -Wbitwise-instead-of-logical

(From OE-Core rev: 3356c5e7acc86be2e1584819a70e984d984b0d9c)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-24 09:55:54 +00:00
Bruce Ashfield
0aa9d253b8 linux-yocto/5.14: update to v5.14.18
Updating linux-yocto/5.14 to the latest korg -stable release that comprises
the following commits:

    a0265dd8262d Linux 5.14.18
    1379769b0b46 rsi: fix control-message timeout
    eda57a310234 media: staging/intel-ipu3: css: Fix wrong size comparison imgu_css_fw_init
    5013f2aaf959 staging: rtl8192u: fix control-message timeouts
    f3422d1fceba staging: r8712u: fix control-message timeout
    373ac8c59414 comedi: vmk80xx: fix bulk and interrupt message timeouts
    7b0e35618932 comedi: vmk80xx: fix bulk-buffer overflow
    278484ae9329 comedi: vmk80xx: fix transfer-buffer overflows
    4a9d43cb5d5f comedi: ni_usb6501: fix NULL-deref in command paths
    3ac273d154d6 comedi: dt9812: fix DMA buffers on stack
    b2fa1f52d22c isofs: Fix out of bound access for corrupted isofs image
    befd23bd3b17 staging: rtl8712: fix use-after-free in rtl8712_dl_fw
    bec32c40e438 binder: don't detect sender/target during buffer cleanup
    68abe9aefc40 binder: use cred instead of task for getsecid
    46088365bab7 binder: use cred instead of task for selinux checks
    fbb106e79524 binder: use euid from cred instead of using task
    f9b4ef2504bb Revert "proc/wchan: use printk format instead of lookup_symbol_name()"
    4674de4e2734 usb-storage: Add compatibility quirk flags for iODD 2531/2541
    6be11f54f5d4 usb: musb: Balance list entry in musb_gadget_queue
    d7f4ffba71d0 usb: gadget: Mark USB_FSL_QE broken on 64-bit
    d3c7daab289d usb: ehci: handshake CMD_RUN instead of STS_HALT
    a4cdb4c9c453 Revert "x86/kvm: fix vcpu-id indexed array sizes"
    2f63111ab86f KVM: x86: avoid warning with -Wbitwise-instead-of-logical
    f468cbedb2a7 ALSA: pci: cs46xx: Fix set up buffer type properly
    186155ac272e ALSA: pcm: Check mmap capability of runtime dma buffer at first

(From OE-Core rev: 7f09947f9fc12f7b548f18573ffbc452837527bd)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-24 09:55:54 +00:00
Bruce Ashfield
116d8a3321 linux-yocto/5.15: update to v5.15.2
Updating linux-yocto/5.15 to the latest korg -stable release that comprises
the following commits:

    7cc36c3e14ae Linux 5.15.2
    5dbe126056fb rsi: fix control-message timeout
    7d6f8d3bab72 media: staging/intel-ipu3: css: Fix wrong size comparison imgu_css_fw_init
    4787caef521c staging: r8188eu: fix memleak in rtw_wx_set_enc_ext
    8f60f9f6ee24 staging: rtl8192u: fix control-message timeouts
    9033490a3fef staging: r8712u: fix control-message timeout
    3a66e8a661a4 comedi: vmk80xx: fix bulk and interrupt message timeouts
    47b4636ebdbe comedi: vmk80xx: fix bulk-buffer overflow
    06ac746d57e6 comedi: vmk80xx: fix transfer-buffer overflows
    d6a727a681a3 comedi: ni_usb6501: fix NULL-deref in command paths
    20cebb8b620d comedi: dt9812: fix DMA buffers on stack
    e7fb722586a2 isofs: Fix out of bound access for corrupted isofs image
    a65c9afe9f2f staging: rtl8712: fix use-after-free in rtl8712_dl_fw
    a0041453ff9e btrfs: fix lzo_decompress_bio() kmap leakage
    d5dd3b44488b kfence: default to dynamic branch instead of static keys mode
    93ce7441001f kfence: always use static branches to guard kfence_alloc()
    5e57d171e2e6 binder: don't detect sender/target during buffer cleanup
    6e8813eadf8b binder: use cred instead of task for getsecid
    3f3c31dd0f8c binder: use cred instead of task for selinux checks
    ff1bd01f490b binder: use euid from cred instead of using task
    ec7c20d41714 Revert "proc/wchan: use printk format instead of lookup_symbol_name()"
    2e93afda0520 usb-storage: Add compatibility quirk flags for iODD 2531/2541
    ad5df979295b usb: musb: Balance list entry in musb_gadget_queue
    72a9bf9bb16a usb: gadget: Mark USB_FSL_QE broken on 64-bit
    adb1902a1246 usb: ehci: handshake CMD_RUN instead of STS_HALT
    aa8a82d6db0b Revert "x86/kvm: fix vcpu-id indexed array sizes"
    26ac7dec7ff0 KVM: x86: avoid warning with -Wbitwise-instead-of-logical

(From OE-Core rev: 0fe8d5a28d1161c152bf64cd67053b8f51fc7073)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-24 09:55:54 +00:00
Denys Dmytriyenko
f3b7489492 wayland-protocols: upgrade 1.23 -> 1.24
wayland-protocols 1.24 is now available.

This release adds feedback to the DMA buffer protocol, allowing smarter and
more dynamic DMA buffer allocation semantics. Other changes include
documentation improvements and improved testing infrastructure.

This is also the first release of wayland-protocols that do not include a
autotools build description.

https://lists.freedesktop.org/archives/wayland-devel/2021-November/042039.html

Disable build-time tests as they want to cross-compile in an allarch package:

| # Check buildability
| add_languages('c', 'cpp', native: false)

(From OE-Core rev: 08bf9f59ede30918e0cf8763cd2714734bb02b9f)

Signed-off-by: Denys Dmytriyenko <denis@denix.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-24 09:55:54 +00:00
Richard Purdie
78bb5ff943 glibc: Fix i586/c3 support
CET can't be enabled on i586 or c3 for x86, adjust the configuration accordingly
to fix those builds.

[YOCTO #14632]

(From OE-Core rev: 26e4fed594daefb6923c50171360f925c4822683)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-24 09:55:54 +00:00
Pavel Zhukov
1a2eccb76e go: upgrade 1.16.8 -> 1.16.10
The release includes fixes for CVE-2021-41771 and CVE-2021-41772

(From OE-Core rev: 69c68f470e8e12456a4d9abf2d1c33b857e4ea37)

Signed-off-by: Pavel Zhukov <pavel.zhukov@huawei.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-24 09:55:54 +00:00
Khem Raj
46d287faa6 image: Include psplash only when screen machine feature is enabled
base-image boots in degraded mode when using systems without display
system since there is no fb device detected and pslash service would
fail to start. Removing this image feature means that core-image-base is
complete for headless devices

[RP: tweak the false case so it builds]
(From OE-Core rev: 7a6dbad7bf12d2f27f21a81a31a5173cacb49228)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-24 09:55:54 +00:00
Schmidt, Adriaan
9d1697e51d wic: support rootdev identified by partition label
We already support specifying the rootfs by PARTUUID. This adds general
support for letting the kernel find the rootfs by PARTLABEL.

(From OE-Core rev: 2fb247c5ecf057bb96649a3c0234794b4991c050)

Signed-off-by: Adriaan Schmidt <adriaan.schmidt@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-24 09:55:54 +00:00
Richard Purdie
64444fae57 bitbake.conf: Pass -D option to ranlib for determisim
Add the -D option to BUILD_RANLIB so that deterministic archives
are built for native/cross output. This improves the changes of hash
equivalence matches and hence build artefact reuse.

We don't need this in the target case since we compile binutils-cross
with an option making this the default.

(From OE-Core rev: f5d136f5a9c14e6629a47bf3e796f1d951ed998b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-24 09:55:54 +00:00
Richard Purdie
3ddbfe0b15 buildhistory: Fix do_package race issues
The buildhistory_list_pkg_files function uses data from do_package, not
do_packagedata. Usally the two are restored together but it may see
a half complete directory or other races issues depending on timing.

Rework the function so that it uses the correct task dependencies. This
should avoid races but means the data is only restored to buildhistory
if the do_package or do_package_setscene tasks are restored.

(From OE-Core rev: b83823ce44e7531bbd2bfa62062c04147a11f724)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-24 09:55:53 +00:00
Khem Raj
60409917ea glibc-tests: Do not set SYSTEMD_SERVICE
These are glibc specific which comes from glibc packaging class

(From OE-Core rev: 9febfe70507035fd75b0aeb108b1bbb6996f9b78)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-23 14:04:02 +00:00
Richard Purdie
d804138674 ptest-packagelists: Handle glibc vs musl for ptest
(From OE-Core rev: f7bcb67342b4ee754b699c4c2f3b1a49bb8473b8)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-23 14:04:02 +00:00
Lukasz Majewski
0e0c481a25 glibc: ptest: Add running glibc time related test suite (Y2038) with ptest
This patch introduces new recipe - namely 'glibc-tests', which
builds and installs time related (to check if Y2038 support works) glibc
test suite to OE/Yocto built image.

It reuses code from already available 'glibc-testsuite' recipe,
which is run with 'bitbake glibc-testsuite -c check' and uses qemu
to execute remotely (via SSH) tests on some emulated machine.

This recipe installs time related glibc tests on some rootfs image.
Afterwards, those tests can be executed on the real hardware, to
facilitate validation of it with Y2038 problem compliance.

To test time related subset - one needs to call:
ptest-runner glibc-tests
then change the date after Y2038 threshold for 32 bit systems:
date -s "20 JAN 2038 18:00:00"
and then run ptest-runner again.

To facilitate debugging, source files are provided by default with
the unstripped debugging symbols. Such approach would reduce the
already complex recipe (as it inherits base glibc one), so there
is no need to also install *-dbg and *-src packages.

(From OE-Core rev: 0a64888e033694e7a68f12df81ef8edfdca0ba3c)

Signed-off-by: Lukasz Majewski <lukma@denx.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-23 14:04:02 +00:00
Ross Burton
8dcf032592 gmp: fix CVE-2021-43618
(From OE-Core rev: fb3b9a7f668a6ffd56a99e1e8b83cdbad2a4bc66)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-23 10:53:15 +00:00
wangmy
70f0a4394f libjpeg-turbo: upgrade 2.1.1 -> 2.1.2
Significant changes relative to 2.1.1:
Fixed a regression introduced by 2.1 beta1[13] that caused the remaining
GAS implementations of AArch64 (Arm 64-bit) Neon SIMD functions
(which are used by default with GCC for performance reasons) to be placed in
the .rodata section rather than in the .text section.
This caused the GNU linker to automatically place the .rodata section in
an executable segment, which prevented libjpeg-turbo from working properly
with other linkers and also represented a potential security risk.

Fixed an issue whereby the tjTransform() function incorrectly computed the
MCU block size for 4:4:4 JPEG images with non-unary sampling factors and
thus unduly rejected some cropping regions, even though those regions aligned
with 8x8 MCU block boundaries.

Fixed a regression introduced by 2.1 beta1[13] that caused the build system
to enable the Arm Neon SIMD extensions when targetting Armv6 and other legacy
architectures that do not support Neon instructions.

libjpeg-turbo now performs run-time detection of AltiVec instructions on
FreeBSD/PowerPC systems if AltiVec instructions are not enabled at compile time.
This allows both AltiVec-equipped and non-AltiVec-equipped CPUs to be supported
using the same build of libjpeg-turbo.

cjpeg now accepts a -strict argument similar to that of djpeg and jpegtran,
which causes the compressor to abort if an LZW-compressed GIF input image
contains incomplete or corrupt image data.

(From OE-Core rev: f0740dd1ad0eabc57cc30cc9bdb891b2ccd18caa)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-23 10:53:15 +00:00
wangmy
0e7d1889aa python3-mako: upgrade 1.1.5 -> 1.1.6
Fixed issue where control statements on multi lines with a backslash would
not parse correctly if the template itself contained CR/LF pairs as on
Windows.

(From OE-Core rev: 2fa42b223a9bdafd52a7feb335001ef0b5713af8)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-23 10:53:15 +00:00
wangmy
b781b1f240 mesa: upgrade 21.2.5 -> 21.3.0
New features:
VK_EXT_color_write_enable on lavapipe
GL_ARB_texture_filter_anisotropic in llvmpipe
Anisotropic texture filtering in lavapipe
VK_EXT_shader_atomic_float2 on Intel and RADV.
VK_EXT_vertex_input_dynamic_state on RADV.
VK_KHR_timeline_semaphore on lavapipe
VK_EXT_external_memory_host on lavapipe
GL_AMD_pinned_memory on llvmpipe
GL 4.5 compatibility on llvmpipe
VK_EXT_primitive_topology_list_restart on RADV and lavapipe.
ES 3.2 on zink
VK_KHR_depth_stencil_resolve on lavapipe
VK_KHR_shader_integer_dot_product on RADV.
OpenGL FP16 support on llvmpipe
VK_KHR_shader_float16_int8 on lavapipe
VK_KHR_spirv_1_4 on lavapipe
Experimental raytracing support on RADV
VK_KHR_synchronization2 on Intel
NGG shader based culling is now enabled by default on GFX10.3 on RADV.
VK_KHR_maintenance4 on RADV
VK_KHR_format_feature_flags2 on RADV.
EGL_EXT_present_opaque on wayland

(From OE-Core rev: 5b5d29650b7fc2183df5129ef7f7ba855699b57c)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-23 10:53:15 +00:00
wangmy
baa47e8e15 libcap: upgrade 2.60 -> 2.61
better number parsing in capsh and setcap;
fixed segfaulting in .so executables;
added example of capable shared library object.

(From OE-Core rev: b14f4f2195538e11a216a008f51e08ce1867c8b5)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-23 10:53:15 +00:00
wangmy
3cfa8735d5 python3-scons: upgrade 4.2.0 -> 4.3.0
NOTE: 4.3.0 now requires Python 3.6.0 and above. Python 3.5.x is no longer supported

Changelog:
- Default hash algorithm check updated for SCons FIPS compliance. Now checks for hash viability
  first and then walks the tree to use the first viable hash as the default one. This typically
  selects SHA1 on FIPS-enabled systems less than Python 3.9 as the new default instead of MD5,
  unless SHA1 has also been disabled by security policy, at which point SCons selects SHA256
  as the default. For systems running Python 3.9 and later, the hashlib bug has been fixed,
  and SCons will once again default to MD5 as the preferred algorithm.
- Fix MSVS tests (vs-N.N-exec.py) for MSVS 6.0, 7.0, and 7.1 (import missing module).
- Add support for Visual Studio 2022.
- Fix reproducible builds. Restore logic respecting SOURCE_DATE_EPOCH when set.
- Fix version tests to work with updated scons --version output. (Date format changed)
- Fix issue #4021.  Change the way subst() is used in Textfile() to not evaluate '$$(' -> '$',
  but instead it should yield '$('.
- Change SCons.Platform.win32.get_architecture() to return platform.platform() when run in an
  environment where neither: PROCESSOR_ARCHITEW6432 nor PROCESSOR_ARCHITECTURE is set.
  This should fix platform tests which started failing when HOST_OS/HOST_ARCH changes
  introduced by Aaron Franke (listed below) were merged.
- Further PCH updates. It's now recommended that env['PCH'] should always be a File node.
  Either via return value from env.PCH() or by explicitly using File('StdAfx.pch').
- Added --no-ignore-skips to runtest.py. Changed default to ignore skips when setting
  runtest.py's exit status. Previously would exit 2 if any tests were skipped.
  Now will only exit 2 if user specifies --no-ignore-skips and some tests were skipped.
- Small fix to ensure CLVar default value is an empty list.
  See MongoDB bug report: https://jira.mongodb.org/browse/SERVER-59656
  Code contributed by MongoDB.
- Ninja - Fixed an issue where if you control-c and/or killed ninja while it was running scons to
  regenerate build.ninja you would end up with no build.ninja file and have to rerun scons from scratch.
  Code contributed by MongoDB.
- Define HOST_OS and HOST_ARCH in the environment for all platforms.
  Before this change, these were only defined for Win32 and OS/2.
- Fix ninja tool to never use for_sig substitution because ninja does not use signatures. This
  issue affected CommandGeneratorAction function actions specifically.
- Expanded ninja Mkdir to also support Mkdir actions.
- Added support for the PCH environment variable to support subst generators.
- Fix command line escaping for ninja dollar sign escape. Without escaping ninja properly,
  the ninja file scons regenerate and callback invocations will lose the $ characters used in
  the scons command line which ninja uses itself for escaping. For Example:
      scons BUILD=xyz OTHERVAR=$BUILD
  Prior to this fix, it would cause ninja to fail to escape the dollar sign, leading to the
  single dollar sign being used as a ninja escape character in the ninja file.
- Added ninja API 'NINJA_FORCE_SCONS_BUILD' to force a node to callback to scons.
- Two small Python 3.10 fixes: one more docstring turned into raw
  because it contained an escape; updated "helpful" syntax error message
  from 3.10 was not expected by SubstTests.py and test/Subst/Syntax.py
- EmitterProxy rich comparison set is completed (checker warning).
  Added __le__, __gt__, __ge__.
- Fix gcc/g++ tool failing if "gcc --version" returns text which fails
  to_String conversion (i.e., not UTF-8) - failure happens when tool
  initialization checks version. For gcc, the initial version string is
  not translated, for the rest, don't convert, just consume raw and discard.
- Maintenance and doc: modernize some usage in Scanner package,
  calling super(), switching some imitialization to comprehensions,
  and code formatting.  Docstring for scanner Base moved from
  init-method to class-level so it's picked up by Sphinx.
  Added new sconsign filenames to skip_entry_list in Scanner/Dir.py
- Change SCons.Scanner.Base to ScannerBase. Old name kept as an alias
  but is now unused in SCons itself.
- Call Variables option converter consistently - the converter should
  have access to the env if it needs to (issue #2064).
- Fixed the variables Add() method to accept a tuple for the variable
  name the same way AddVariables() does (issue #3869).
- The premade validator PathIsDirCreate for for PathVariable now catches
  the case where the directory could not be created due to permission
  problems, allowing a more helpful error to be emitted (issue #2828)
- Maintenance: Python thread.setDaemon is deprecated in favor of
  directly updating daemon attribute - update SCons to do this.
- Make sure when subst'ing a callable, the callable is called with
  the correct for_signature value, previously it would be true even
  if doing SUBST_RAW (issue #4037)
- Update Util/NodeList implementation to get rid of a workaround for
  early Python 3 slicing issue that is no longer a problem.
- Rework some Java tests to skip rather than fail on CI systems, where
  the working java is > v9, but a 1.8 or 9 was also found.
- Java updates: on Windows, detect more default JDK install locations.
  On all platforms, more Java versions (up to 17.0 now).  Add more information
  on version selection to docs.
  Update docs on JavaH tool in light of javah command dropped since 10.0.
  Try to be better about preserving user's passed-in JAVA* construction vars.
- Start the deprecation of the qt tool, which refers to Qt3 (usupported
  since around 2006). There's a deprecation warning added, initially
  defaulting to disabled.
- Fix crash when scons is run from a python environement where a signal
  is set from outside Python.

(From OE-Core rev: bd7b202e09dbf6749271ff57fed5296c2f8fed4a)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-23 10:53:15 +00:00
wangmy
6a19373dc0 systemtap: upgrade 4.5 -> 4.6
support for 64-bit RISC-V architecture, liveness analysis for guru-mode write operations,
bpf syscall_any and abort() tapsets, bpf foreach iteration of multi-key arrays,
return of inter-cpu output ordering

Changelog is as follows:
= SystemTap frontend (stap) changes
- stap-prep now tries to download the main kernel debuginfo file from
  a debuginfod server, if configured.

= SystemTap backend changes
- SystemTap has added support for the 64-bit RISC-V architecture.
- SystemTap now uses DynInst to perform a liveness analysis on
  target variables and warn when a guru-mode modification to a variable
  will have no effect. The liveness analysis is currently done on
  x86_64, PowerPC, and AArch64.
- The kernel-user relayfs transport again sorts messages into a total
  time order across CPUs.  High output-volume scripts may need a
  larger "-s BUF" parameter to reliably transfer.  "-b" bulk mode
  is also available again as an alternative.
- The bpf backend now supports foreach iteration in multi-key associative arrays.

= SystemTap tapset changes
- Updated syscall_any tapset mapping to include newer syscalls.
- syscall_any tapset can be used by the bpf backend.
- abort() tapset can be used by the bpf backend.

= Known issues with this release
- There are known issues on kernel 5.10+ after adapting to set_fs()
  removal, with some memory accesses that previously returned valid data
  instead returning -EFAULT (see PR26811).
- An sdt probe cannot parse a parameter that uses a segment register.
  (PR13429)
- The presence of a line such as
      *CFLAGS += $(call cc-option, -fno-var-tracking-assignments)
  in older linux kernel Makefile unnecessarily reduces debuginfo quality,
  consider removing that line if you build kernels.  Linux 5.10+ fixes this.

= Bugs fixed for this release <https://sourceware.org/PR#####>
6562     $SYSTEMTAP_DEBUGINFO_PATH does not work
15724     stapdyn looking for libdyninstAPI_RT.a
26839     Systemtap build failures with clang
27820     abort() tapset not implemented in the bpf mode
27829     support for floating point values passed through sdt.h markers
27864     loc2stap.cxx assertion failure on loc_unavailable type location, rawhide
27881     failed to extend vma mapped entry when the address is adjacent
27903     handle f33 glibc $$parms
27932     List Python as a prerequisite in README
27933     Use of unitialized functioncall synthetic field in
27934     failure to attach statement
27940     The /* pc=0x... */ is no longer printed by "stap -v -L 'kernel.function("*")'
27942     testsuite/systemtap.base/perf.sh drop bashism
27984     stap skipping partially-inlined instance, but it is not inline function actually
28070     extend vma end address to the different module
28079     adapt to kernel 5.14 task_struct.__state change
28084     autoconf-x86-uniregs.c compile failled with -Werror cause STAPCONF_X86_UNIREGS missing
28140     kernel panic on tracepoint activation in stap module
28184     task_fd_lookup failed on linux 5.11
28244     linux objtool imposes symbol length limits on generated function names
28384     finish nfs_proc tapset port 4.3 string server_ip
28443     Provide syscall_any tapset for bpf
28449     loss of cross-cpu output ordering
28544     procfs_bpf.exp regression due to string handling error
28557     module kprobe insertion on modern kernels

(From OE-Core rev: 99ed4a3d78f8224d414bd49d887333a4509529f3)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-23 10:53:15 +00:00
wangmy
bb91342d8b stress-ng: upgrade 0.13.06 -> 0.13.07
(From OE-Core rev: d1557f552c6945803642ea78f26bc2082a29bc22)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-23 10:53:15 +00:00
Richard Purdie
96f552377a buildhistory: Fix srcrevs output
The code was assuming that the a recipe with only one srcrev wouldn't "name"
it. This isn't the case as the glibc or bzip2 recipes show, you can have
a single srcrev which is named.

We can pull the data from the fetcher and in fact we already have it, we just
need to handle the "default" case and make that code the default for all srcrev
regardless of length.

[YOCTO #14017]

(From OE-Core rev: 45ae567932ba52b758eb41754453e9828d9533a1)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-23 10:53:15 +00:00
Richard Purdie
4819440904 buildhistory: Drop support for older bitbakes
We've bumped the minimum bitbake version past the point this fallback code
was needed, drop it.

(From OE-Core rev: c45ad27f3c43c9bbde5c4d19237411fdbc66920e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-23 10:53:15 +00:00
Joshua Watt
7574868367 classes/crate-fetch: Ensure crate fetcher is available
Reworks the crate fetcher class to have it install the fetcher at recipe
finalization so that it is always available before SRC_URI is expanded.
In addition, override the value of SRCPV to also install the fetcher
when SRCPV is expanded so that AUTOREV works.

[YOCTO #10867]

(From OE-Core rev: bc66c5dd65fb654af5cd91b47f9b4f7a5f53436e)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-23 10:53:15 +00:00
Vyacheslav Yurkov
e7666d7cb8 rootfs-postcommands: update systemd_create_users
Process all systemd-sysusers configuration files in order to create
users/groups at build time. systemd-sysusers would try to create them at
run-time, but for read-only rootfs that's not possible and results in
warnings from different services:

systemd-udevd[166]: /lib/udev/rules.d/50-udev-default.rules:39 Unknown group 'render', ignoring
systemd-udevd[166]: /lib/udev/rules.d/50-udev-default.rules:40 Unknown group 'render', ignoring
systemd-udevd[166]: /lib/udev/rules.d/50-udev-default.rules:42 Unknown group 'sgx', ignoring

(From OE-Core rev: f86ffdb1b77c6ba32ec250545a40c1c54f983f21)

Signed-off-by: Vyacheslav Yurkov <uvv.mail@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-23 10:53:15 +00:00
Joshua Watt
08a86c3646 classes/meson: Add optional rust definitions
Adds the rust tools to the cross and native files if present so that
projects that use both rust and meson can build

(From OE-Core rev: 0ec40fa3aff233bd0dde0461299150786da956ef)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-23 10:53:15 +00:00
Yi Zhao
a20e6a8a85 oeqa: fix warnings for append operators combined with +=
(From OE-Core rev: f2504115f08b173d919d9abe507a0ba440b0d4df)

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-23 10:53:15 +00:00
Pgowda
8c5e589df8 rust-cross: Replace TARGET_ARCH with TUNE_PKGARCH
rust-cross-* imported from meta-rust has incorrect signatures,
depending on MACHINEOVERRIDES making it effectively MACHINE_ARCH
as shown by sstate-diff-machines.sh:

openembedded-core/scripts/sstate-diff-machines.sh --tmpdir=tmp-glibc \
--machines="qemuarm64 qemuarm64copy" --targets=rust-cross-aarch64-glibc \
--analyze

 === Comparing signatures for task do_configure.sigdata between
 qemuarm64 and qemuarm64copy ===
ERROR: gcc-runtime different signature for task do_configure.sigdata
between qemuarm64 and qemuarm64copy
NOTE: Starting bitbake server...
Hash for dependent task gcc/gcc-runtime_11.2.bb:do_prepare_recipe_sysroot
changed from
da4ebf1b272cb73153145a0a95e6438d2955ae2d36f84db10f6880b2781ec331 to
47a0ebb7a88c9f896fb9dbce269f575ab8a6faabb2b9e62d164be6e71c5e4e40
Unable to find matching sigdata for
openembedded-core/meta/recipes-devtools/gcc/gcc-runtime_11.2.bb:
do_prepare_recipe_sysroot with hashes
da4ebf1b272cb73153145a0a95e6438d2955ae2d36f84db10f6880b2781ec331 or
47a0ebb7a88c9f896fb9dbce269f575ab8a6faabb2b9e62d164be6e71c5e4e40

The following patch takes TUNE_PKGARCH into consideration instead
of TARGET_ARCH and results in signatures as expected.

[YOCTO #14613]

RP: Added maintainer.inc corresponding change
(From OE-Core rev: bcf48766d1123cea41f80b0cb687584692c96158)

Signed-off-by: Pgowda <pgowda.cve@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-23 10:53:15 +00:00
Michael Opdenacker
cdab3b7c31 bitbake: bitbake-user-manual: fix backslash issues
(Bitbake rev: ffd87a89393f25924f53dbc86dcf5a98c3a8d0ff)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-21 11:28:11 +00:00
Richard Purdie
37dcb8b372 bitbake: bitbake-user-manual: Remove newline string in MIRRORS/PREMIRRORS
This syntax is obsolete, update to the correct modern version.

(Bitbake rev: 744e9a4c2b6f44116435feb62ac64ff256c752e9)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-21 11:28:11 +00:00
Michael Opdenacker
2b3f944592 bitbake: bitbake-user-manual: add missing reference
(Bitbake rev: d05529cc322ba9198edc12954b982729fc628fa0)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-21 11:25:39 +00:00
Michael Opdenacker
a34060c956 bitbake: bitbake-user-manual: fix typo
(Bitbake rev: 3ebaba2b2eada35e26c1105291de0d85bd6d2bb8)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-21 11:25:39 +00:00
Michael Opdenacker
28aa26c152 bitbake: bitbake-user-manual: quoting fixes
(Bitbake rev: 0ac887253e6b2df187bcbac0b060dd39920538af)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-21 11:25:39 +00:00
Steve Sakoman
35cdb70406 ref-system-requirements.rst: Add openSUSE Leap 15.2 to list of supported distros
(From yocto-docs rev: 895ce3b9dda96a049c92754cf06eb34635097861)

Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-21 11:07:01 +00:00
Michael Opdenacker
2a550cceae documentation: prepare for 3.1.12 release
(From yocto-docs rev: d97525982602db05e31b89a9076c93420974fd68)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-21 11:07:01 +00:00
Steve Sakoman
f4de0f7fcd ref-system-requirements.rst: Add Fedora 33 and 34 to list of supported distros
(From yocto-docs rev: b85b532b8360756798c08482b94758d5df55f5ed)

Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-21 11:07:01 +00:00
Steve Sakoman
941a08f379 ref-system-requirements.rst: Add Debian 11 to list of supported distros
(From yocto-docs rev: aa212ce6c6fb9b92e0cf4e32ae8d2458aab4a055)

Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-21 11:07:01 +00:00
Michael Opdenacker
ed2880fbda ref-manual: simplify SRC_URI reference
After some features that also apply to BitBake
were moved to the BitBake manual.

(From yocto-docs rev: 1415521656427f351ab2d3f8bc498130c4653396)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-21 11:07:01 +00:00
Michael Opdenacker
ea0bc63dec ref-manual: BBFILES_DYNAMIC - fix punctuation and quoting issues
(From yocto-docs rev: a798e1172ac507549ad36c0cfd4b92f53a1bef87)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-21 11:07:01 +00:00
Michael Opdenacker
5c85099acc ref-manual: remove reference to TOPDIR
Already described in BitBake's manual
As it is not specific to OE / Yocto Project

(From yocto-docs rev: 150d5e938e9f413ade8bd6211ee7d55a2819a431)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-21 11:07:00 +00:00
Robert P. J. Day
7e8f513910 ref-manual: generalize definition of "container layer"
Given that there seems to be little value in being excruciatingly
pedantic about whether a container layer has a valid layer as a
top-level directory, expand the definition to allow either.

(From yocto-docs rev: 95e5df9a51a7cda6588af523a3a0d6752613f189)

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-21 11:07:00 +00:00
Richard Purdie
ffe4af4feb bitbake: fetch2: Fix url remap issue and add testcase
Using "" as a target for .replace() is a really bad idea as it duplicates the replacement
for every character in the string. Add a testcase which triggered this and correct the
code to return the correct result.

(Bitbake rev: 3af1ecf049d2eed56f6d319dc7df6eb4a3d4eebc)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-21 11:05:51 +00:00
Richard Purdie
273b124bf6 bitbake: utils: Handle lockfile filenames that are too long for filesystems
The fetcher mirror code can go crazy creating lock filenames which exceed the
filesystem limits. When this happens, the code will loop/hang.

Handle the filename too long exception correctly but also truncate lockfile
lengths to under 256 since the worst case situation is lockfile overlap
and lack of parallelism.

(Bitbake rev: 63baf3440b16e41ac6601de21ced94a94bdf1509)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-21 11:05:51 +00:00
Mingli Yu
a3b12619ba wic: use shutil.which
Use shutil.which to find the executable instead to silence the below warning:
 $ cat tmp/work/intel_x86_64-poky-linux/core-image-base/1.0-r5/temp/log.do_image_wic
 [snip]
 DEBUG: Executing shell function do_image_wic
 /path/layers/oe-core/scripts/wic:27: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives
  from distutils import spawn
 INFO: Creating image(s)...
 [snip]

[RP: Added conversion for missed function reference]
(From OE-Core rev: 3966cbf5c8a2dbc3a4f0f3eefdbeeb83f522bf87)

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-21 11:05:02 +00:00
Ulrich Ölmann
b16100422f gstreamer1.0-plugins-base: add support for graphene
(From OE-Core rev: bc2e2ad6a9912ac36d9bbf6108f60d28eea3fc47)

Signed-off-by: Ulrich Ölmann <u.oelmann@pengutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-21 11:05:02 +00:00
Andres Beltran
7869000827 create-spdx: Fix key errors in do_create_runtime_spdx
Currently, the do_create_runtime_spdx task fails with a Key Error if a
dependency is not contained in the package providers dictionary. Add a
check before using "dep" as a key in "providers".

(From OE-Core rev: 140ce5ef5e8f10251091660e3ef76f315f409076)

Signed-off-by: Andres Beltran <abeltran@linux.microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-21 11:05:02 +00:00
Saul Wold
3b836f5817 create-spdx: Protect against None from LICENSE_PATH
If LICENSE_PATH is not set, then the split() will fail on a NoneType.

(From OE-Core rev: d6260decae6d2654f6e058f12ca02d582a8ef5a4)

Signed-off-by: Saul Wold <saul.wold@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-21 11:05:02 +00:00
Saul Wold
e1e8531c64 create_spdx: ensure is_work_shared() is unique
There is a function with the same name is_work_shared() in the archiver class
this causes a conflict when both classes are included. Use work-shared as the
check in WORKDIR to allow for other packages beyond the kernel and gcc that
use a common shared-work source directory.

(From OE-Core rev: 18eab77ee65c73b17225e69c7ba446ab1c69fa92)

Signed-off-by: Saul Wold <saul.wold@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-21 11:05:02 +00:00
Daniel Gomez
dbf4c65541 os-release: Add DISTRO_CODENAME as vardeps for do_compile
DISTRO_CODENAME is part of VERSION variable but not used as dependency
for do_compile task. Append it to the vardeps list to rebuild in case it
changes.

(From OE-Core rev: ee0345057459c6d77fb64902a955e836c6c1e8e4)

Signed-off-by: Daniel Gomez <daniel@qtec.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-21 11:05:02 +00:00
Alexander Kanavin
a5fa7f0101 librsvg: submit system-deps patch upstream
(From OE-Core rev: c8ffbd04aeb91096bfbc6922092ccadbb8e1848f)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-21 11:05:02 +00:00
Alexander Kanavin
f1cd79a999 busybox: drop 0001-Use-CC-when-linking-instead-of-LD-and-use-CFLAGS-and.patch
This was added 10 years ago, is almost certainly non-upstreamable
and it isn't clear what the issues it aims to fix are:
the AB revealed no problems when the patch is removed.

(From OE-Core rev: e4831586ee03f189f7cf90aa444f7dc71544d3ec)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-21 11:05:02 +00:00
Alexander Kanavin
d93aa6305e slang: mark patch as inappropriate for upstream submission
(From OE-Core rev: a693275cbe710b140b0dca4e265fe812ad70a4e8)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-21 11:05:02 +00:00
Alexander Kanavin
e7ab3d8c82 expect: do not install examples, drop related patch
There is really no reason to install them; this was done
in the original recipe submission for unexplained reasons.

(From OE-Core rev: 34f07b88167e0ee6499efbc53142ba0a8dcc3117)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-21 11:05:02 +00:00
Alexander Kanavin
0fb9f5eff3 numactl: add missing Upstream-Status to a patch
(From OE-Core rev: 33c2da75c5de1c89ea1ee423b175f8c78d674c40)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-21 11:05:02 +00:00
Alexander Kanavin
8625310c8a rust-hello-world: add missing Upstream-Status to a patch
(From OE-Core rev: 582d379ac389b365df640e81310d5e322f30c13a)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-21 11:05:02 +00:00
Alexander Kanavin
bb5fb6bc6d libnl: add missing Upstream-Status tag
(From OE-Core rev: 1dde11fe8eddf616e97e1914977c60f23c1a82a7)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-21 11:05:02 +00:00
Alexander Kanavin
3e860e63af kea: add missing Upstream-Status to a patch
(From OE-Core rev: e6473c8d4a3f4150b1e226f2143664e4d7cf1df8)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-21 11:05:02 +00:00
Alexander Kanavin
8d933bf059 unfs3: add missing Upstream-Status tag
(From OE-Core rev: 52b0bfdd6ec0b65cad2d39007886b2198d29478d)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-21 11:05:02 +00:00
Alexander Kanavin
e14d46a44d libxml2: add missing Upstream-Status tag
(From OE-Core rev: 9b79981f3c9a677121a46f4d6d8c899100fee753)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-21 11:05:02 +00:00
Alexander Kanavin
8091f7cb17 autoconf: add missing Upstream-Status to patches
All of them seem like very old, very oe specific tweaks; please adjust otherwise.

(From OE-Core rev: c9c0f7569559aa334f7b8f4486b70ead13226c11)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-21 11:05:02 +00:00
Alexander Kanavin
b3ac015389 patches: correct whitespace/spelling for Upstream-Status tags
(From OE-Core rev: c613ca14c35a5d1782c79a25b83875cbfa2b952b)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-21 11:05:02 +00:00
Alexander Kanavin
cd610f1dca libsamplerate0: update 0.1.9 -> 0.2.2
Upstream moved to github.

Drop both patches: alsa configuration merged upstream,
shared version info fixed upstream.

License-Update: urls changed to github.

(From OE-Core rev: 7676e4964ab53b101f95aef469490643f9d1f52c)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-21 11:05:01 +00:00
Alexander Kanavin
d83f879bfb librsvg: update 2.52.3 -> 2.52.4
(From OE-Core rev: 9c7e978593e013bf720887955b5770ccb529eade)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-21 11:05:01 +00:00
Alexander Kanavin
0dabf47665 curl: update 7.79.1 -> 7.80.0
(From OE-Core rev: 2c290dee4a1f951a9aa4af7252edace91f61e967)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-21 11:05:01 +00:00
Alexander Kanavin
fe34eaef8d librstd-rs: submit patches upstream
(From OE-Core rev: f298853c50b50e79a2802e4e1781fea9b53b5f20)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-21 11:05:01 +00:00
Alexander Kanavin
3350a1401d xwayland: upgrade 21.1.2 -> 21.1.3
(From OE-Core rev: 9bf945400f2a88f600450040ef130aed8e91566c)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-21 11:05:01 +00:00
Alexander Kanavin
730d2d6b2c systemd: upgrade 249.5 -> 249.6
(From OE-Core rev: 4744336d854b56cdd81a19f60f6d1c659bae7147)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-21 11:05:01 +00:00
Alexander Kanavin
1ece184c7f piglit: upgrade to latest revision
(From OE-Core rev: 4c2e7bfe0683ea31371e1d5f02e2fab57f0a760d)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-21 11:05:01 +00:00
Alexander Kanavin
437f4fae52 diffoscope: upgrade 190 -> 192
(From OE-Core rev: 69144352ecfefa596d5ec94fbc7ef3eefe9a37c1)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-21 11:05:01 +00:00
Alexander Kanavin
217dfa979d libpipeline: upgrade 1.5.3 -> 1.5.4
License-Update: http -> https

(From OE-Core rev: 25009e391f06a0a5d60cb18e4d41f1a558c0e6f9)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-21 11:05:01 +00:00
Alexander Kanavin
907d3dfd30 asciidoc: upgrade 10.0.1 -> 10.0.2
(From OE-Core rev: 81fa674bf15441280473d79ac8c082a9d91a8c36)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-21 11:05:01 +00:00
Alexander Kanavin
d15efc744a python3-pyparsing: upgrade 3.0.5 -> 3.0.6
(From OE-Core rev: 23cbfdec46d33351156cb9d0f130c1324940136b)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-21 11:05:01 +00:00
Alexander Kanavin
ce56c937f6 python3-hypothesis: upgrade 6.24.2 -> 6.24.3
(From OE-Core rev: bbc438fca12c6c5d2c003e2c0529632a764a6757)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-21 11:05:01 +00:00
Alexander Kanavin
fea8975cc9 ccache: upgrade 4.4.2 -> 4.5
License-Update: third party version references updated

(From OE-Core rev: 5454c193ff3997523592edd40642b9a0c0f88fb4)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-21 11:05:01 +00:00
Alexander Kanavin
0d8869e82c gettext: address automake 1.16.5 failures
(From OE-Core rev: afc39549400adec43ec7da1cf0bc9537d084359d)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-21 11:05:01 +00:00
Alexander Kanavin
fbc3830ecf libunistring: address automake 1.16.5 failures
(From OE-Core rev: fe0e7e4b626c70416a0e19f339cb5d52e16b9d2c)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-21 11:05:01 +00:00
Alexander Kanavin
b5c30fb196 automake: update 1.16.3 -> 1.16.5
(From OE-Core rev: 851167b3a41b1728407d331c1666827fb730daa1)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-21 11:05:01 +00:00
Alexander Kanavin
6e61460549 unzip/zip: mark all patches as non-upstreamable
While upstream is not technically dead as of today [1], it has not made
a release in over a decade, and there is no source code repo to
rebase the patches on. If/when a new release ever comes, or someone
takes over the maintenance, we can reassess the situation with these patches.

[1] Discussion in https://sourceforge.net/p/infozip/bugs/53/

(From OE-Core rev: 982e5fa5d7ca9920e2a63b5a3f1435cf57d94345)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-21 11:05:01 +00:00
Alexander Kanavin
00e6198079 db: mark all patches as non-upstreamable
Since Oracle relicensed bdb, the open source community
is slowly but surely replacing bdb with supported and
open source friendly alternatives.

(From OE-Core rev: b30d3a3243ac9ca2fa0f10337373eac96fdb2602)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-21 11:05:01 +00:00
Alexander Kanavin
fc90056b3c weston: submit patch upstream
(From OE-Core rev: f265a550bc057f653aea6f3611f71525e669a9f3)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-21 11:05:01 +00:00
Alexander Kanavin
c3814b7d29 ovmf: submit patch upstream
(From OE-Core rev: 589eca0d1a4653013e2172818f8bccafdab161e5)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-21 11:05:01 +00:00
Ross Burton
7320b2b830 scripts/lnr: remove
lnr is a script that implements the same behaviour as 'ln --relative
--symlink', as at the time of creation --relative was only available in
coreutils 8.16 onwards which was too new for the older supported distros.

Now, however, everyone has a new enough coreutils, so we can remove this
script.

All users of lnr should be replaced with ln --relative --symbolic.

(From OE-Core rev: 723b6e40f5943426364bffce7c58ade65c4abbba)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-21 11:05:01 +00:00
Jim Wilson
e9d2a95237 gdb-common: Add --with-liblzma-prefix in xz PACKAGECONFIG.
This fixes an arch linux gdb configure error with liblzma installed.

Without the --with-liblzma-prefix option, when configuring the target
gdb, gdb configure may find the native liblzma (on a non-multiarch
system) and try to use it, which gives a configure error.  We already
use --with-libexpat-prefix for expat, we just need to do the same for
liblzma.

This was reported here:
https://github.com/sifive/meta-sifive/issues/34
https://github.com/sifive/freedom-u-sdk/issues/148

(From OE-Core rev: 56623848f45cf475f909beb75209323a89837169)

Signed-off-by: Jim Wilson <jim.wilson.gcc@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-21 11:05:01 +00:00
wangmy
ea178f4a55 ethtool: upgrade 5.14 -> 5.15
(From OE-Core rev: a8af54d73dabca557fcc7b12eca29b28517933b6)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-21 11:05:01 +00:00
Richard Purdie
278e497c31 gcc: Tweak Upstream-Status formatting
(From OE-Core rev: f05cdcb428634086c12c1a087196bd16678eda80)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-19 11:05:43 +00:00
Michael Halstead
63dc9002b6 releases: update to include 3.3.4
Adding 3.3.4 to documentation switcher and release list.

(From yocto-docs rev: 468e8bfb4b9bed662f1b32b0563339d0816a7e98)

Signed-off-by: Michael Halstead <mhalstead@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-19 11:05:20 +00:00
wangmy
3f4eaa3b05 libtasn1: upgrade 4.17.0 -> 4.18.0
* Noteworthy changes in release 4.18.0 (2021-11-09) [stable]
- Improve GTK-DOC manual.  Closes: #35.
- Improve --help and --version for tools with gnulib.  Closes: #37.
- Update gnulib files and various maintenance fixes.

refresh dont-depend-on-help2man.patch

(From OE-Core rev: 0d15632f3db787d3f08eb260732567e62f52ffb3)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-16 22:20:33 +00:00
Ross Burton
bbe0130c5c vim: fix CVE-2021-3927 and CVE-2021-3928
(From OE-Core rev: 2001631e7a6edb7adc40ee4357466cc54472db71)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-16 22:20:33 +00:00
wangmy
fad54baeab python3-more-itertools: upgrade 8.10.0 -> 8.11.0
8.11.0:
New functions
The :func:`before_and_after`, :func:`sliding_window`, and :func:`triplewise` recipes from the Python 3.10 docs were added
:func:`duplicates_everseen` and :func:`duplicates_justseen` (thanks to OrBin and DavidPratt512)
:func:`minmax` (thanks to Ricocotam, MSeifert04, and ruancomelli)
:func:`strictly_n` (thanks to hwalinga and NotWearingPants)
:func:`unique_in_window`
Changes to existing functions
:func:`groupby_transform` had its type stub improved (thanks to mjk4 and ruancomelli)
:func:`is_sorted` now accepts a strict parameter (thanks to Dutcho and ruancomelli)
:func:`zip_broadcast` was updated to fix a bug (thanks to kalekundert)

(From OE-Core rev: 7767810424a79c9cb60b4ea763bc1c10efe0b73b)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-16 22:20:33 +00:00
wangmy
aa9b00d9d2 python3-jinja2: upgrade 3.0.2 -> 3.0.3
What's Changed
update requirements by @davidism in #1524
test Python 3.10 by @davidism in #1530
test Python 3.11 by @davidism in #1531
Tests: Adapt expected traceback regexes for Python 3.11.0a1 by @hroncok in #1527
simplify CodeType rewriting by @davidism in #1536
native: keep same behavior on Python 3.10 by @mkrizek in #1537
Reduce async overhead due to auto_await by @mohd-akram in #1516
Use object.__hash__ for Node.__hash__ by @klette in #1522
Fix typos by @kianmeng in #1509
rewrite Template class doc by @davidism in #1538
remove reference to macro.defaults by @davidism in #1539
rewrite docs about extending template objects by @davidism in #1540
document chained pow order by @davidism in #1541
PackageLoader works with single module file by @davidism in #1542
release version 3.0.3 by @davidism in #1543

(From OE-Core rev: cb39ee88f1e52551dd5093558fde4c67f30580ae)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-16 22:20:33 +00:00
wangmy
5ce6bb75e4 python3-importlib-metadata: upgrade 4.8.1 -> 4.8.2
(From OE-Core rev: baa194f77792d7f89775d0e8bae39bae8c0a6cc0)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-16 22:20:33 +00:00
wangmy
4e430106e0 libhandy: upgrade 1.4.0 -> 1.5.0
=============
Version 1.5.0
=============

- Introduce HdyStyleManager for managing color schemes (light/dark) and
  high contrast mode.
  - Support the cross-platform color scheme preference in the
    settings portal.
- HdyPreferencesPage
  - Remove adaptive margins to fix default window sizes
- HdyTabBar
  - Handle middle click on button release rather than press
- Various memory leak fixes
- Translation updates:
  - Brazilian Portuguese
  - Finnish
  - Indonesian
  - Portuguese
  - Serbian
  - Swedish
  - Ukrainian

(From OE-Core rev: f0af9ed17f7fb18642d116ffaa6b25323a8df231)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-16 22:20:33 +00:00
wangmy
a5d3f4a0ec libdrm: upgrade 2.4.107 -> 2.4.108
(From OE-Core rev: 11ad9b4fd2a8d53a472344c3b47487fccbc96f7e)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-16 22:20:33 +00:00
wangmy
3131a1b38f libevdev: upgrade 1.11.0 -> 1.12.0
determinism.patch removed since it is included in 1.12.0

(From OE-Core rev: d2b063f64ef00ef1fe947d3a92e79876e5df541e)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-16 22:20:33 +00:00
Alexander Kanavin
698d994e51 spirv-headers: PV should be 1.5.4
As upstream hasn't actually tagged 1.5.5, we should
continue to use 1.5.4 until it does.

(From OE-Core rev: defcc1b3be3b6207b017458763af66abde952607)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-16 22:20:33 +00:00
Richard Purdie
4395c9e938 glibc: Backport fix for CVE-2021-43396
Backport the fix for CVE-2021-43396. It is disputed that this is a security issue
however the fix applies easily so we may as well.

(From OE-Core rev: e8de9b01c6b305b2498c5f942397a49ae2af0cde)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-16 22:20:33 +00:00
Richard Purdie
26ff8acdc9 lua: Backport fix for CVE-2021-43396
Backport the fix for CVE-2021-43396 ("C stack overflow with coroutines")
from upstream.

(From OE-Core rev: e74fb3f7a8171cc1293583241a9ef43a515a9320)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-16 22:20:33 +00:00
Chen Qi
50e0aed068 waffle: add cmake-native to DEPENDS
waffle currently requires cmake-native because it has the following lines
in git/src/waffle/meson.build.

  if meson.version().version_compare('>= 0.50')
    cmake = import('cmake')

In case of 'wayland' not being in DISTRO_FEATURES, we will get the
following error at do_configure.

  | ../git/src/waffle/meson.build:233:8: ERROR: Unable to find cmake

So explictly add 'cmake-native' to DEPENDS to solve this problem.

(From OE-Core rev: 19753e7fff81a4252d0095b54d37d52db11e3f56)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-16 22:20:33 +00:00
Richard Purdie
5bf43c8c29 gcc: Dropping mips workaround
I've tested without this and the ptest results for mips are the same with
and without it so the issue this was fixing in gcc 9 was likely resolved
by gcc 11.

(From OE-Core rev: 567e199862acb948cb8b3361010a9ec221147c41)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-16 22:20:33 +00:00
Pgowda
8becce5b63 gcc: Fix CVE-2021-35465
source : https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102035

Upstream-Status: Backport[https://gcc.gnu.org/git/gitweb.cgi?p=gcc.git;h=3929bca9ca95de9d35e82ae8828b188029e3eb70]
Upstream-Status: Backport[https://gcc.gnu.org/git/gitweb.cgi?p=gcc.git;h=574e7950bd6b34e9e2cacce18c802b45505d1d0a]
Upstream-Status: Backport[https://gcc.gnu.org/git/gitweb.cgi?p=gcc.git;h=30461cf8dba3d3adb15a125e4da48800eb2b9b8f]
Upstream-Status: Backport[https://gcc.gnu.org/git/gitweb.cgi?p=gcc.git;h=809330ab8450261e05919b472783bf15e4b000f7]

(From OE-Core rev: c8a1726feaf705683e80d85811ae482c6ebc3172)

Signed-off-by: Pgowda <pgowda.cve@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-16 22:20:33 +00:00
Jose Quaresma
91fab7aa7e sstate: add a function to get the sstate file name in sstate_checkhashes
(From OE-Core rev: dc64479264bdf3d60ece02a98b65be35650f8f86)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-16 22:20:33 +00:00
Jose Quaresma
e7acdb37af sstate: only search on the mirrors for the missing files
The existence of missed files on the local sstate cache is the
condition to search for it on the sstate mirror.
The missed collection are populated when we search the files
on the local sstate cache.

- When we have sstate mirrors we don't need to iterate all files
again because we already know what's missing.

- When we found a file on the sstate mirror is because of they
are missing on the local sstate mirror.
So avoid checking if the hash exists on the missed collection.

- When we can't find the file on the sstate mirror we don't need
to add the hash again to the missed collection as it already exists.

(From OE-Core rev: 46e1f9a900e2be1abeda0dc540fc14040ecd0d7c)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-16 22:20:33 +00:00
Jose Quaresma
52b768d700 sstate: cleanup the sstate mirror progress check
We only have the progress bar when there are more than 100 objects.
So we can check for this and store the result to show the progress bar.

(From OE-Core rev: 18e7a77aa1626e11820804ad64b86a32f97da2ca)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-16 22:20:33 +00:00
Jose Quaresma
bcc9d8f837 shaderc: upgrade 2021.2 -> 2021.3
- SHADERC_SKIP_COPYRIGHT_CHECK is a new cmake option to skip
the copyright check and as we don't needs it we can avoid the check.
f6d6dddfab

(From OE-Core rev: 8e8b24e7c557b436b5956081c5830f9fef6a02d4)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-15 12:55:27 +00:00
Jose Quaresma
b3c57d8b2f glslang: upgrade 11.6.0 -> 11.7.0
(From OE-Core rev: 70df8eca65a702f3d78ff1a683d21fc826163173)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-15 12:55:27 +00:00
Jose Quaresma
c2a5b3f4d7 spirv-tools: upgrade 2021.3 -> 2021.4
(From OE-Core rev: c0c414b2c27c4b0fe99a3c322d06e41a9030ab64)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-15 12:55:27 +00:00
Jose Quaresma
2766283365 spirv-headers: bump to last master
SPIRV-Tools v2021.4 require this revision
21e3f681e2

(From OE-Core rev: 8648351d9c4fc04ded400e5853bb1025ed3ba79f)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-15 12:55:27 +00:00
Jose Quaresma
cb5ae9f2d2 spirv-headers: upgrade 1.5.4 -> 1.5.5
(From OE-Core rev: b26596f113ae13214cd7bdd18a78500ff6a8ce75)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-15 12:55:27 +00:00
Khem Raj
dbee9d7adf vulkan-samples: Enable for architectures where it builds
With last upgade it has stopped working on arm/mips/x86/rv32
basically all 32bit architectures. Until this is fixed enable it
for architectures where its known to build now.

(From OE-Core rev: d11befad88893cfc1d872c8bfadfd14eec346f41)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-15 12:55:27 +00:00
Khem Raj
a8f34f0110 vulkan-samples: Fix cmake errors about plain signature
Fix some typecasting errors seen on 32bit platforms with clang

(From OE-Core rev: f37d209220e2393384facf676f33fb7c68ab11e6)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-15 12:55:27 +00:00
Yi Zhao
d3a5074c67 python3-numpy: add python3-json to RDEPENDS
Fixes:
$ python3
>>> import numpy
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python3.10/site-packages/numpy/__init__.py", line 138, in <module>
    from ._version import get_versions
  File "/usr/lib/python3.10/site-packages/numpy/_version.py", line 7, in <module>
    import json
ModuleNotFoundError: No module named 'json'
>>>

(From OE-Core rev: 1b762dc1e3a91884ce649504da787266fc53e928)

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-15 12:55:27 +00:00
Yi Zhao
a6757e4a52 python3-numpy: move recipe to python directory
This recipe had been moved out from python directory since 2016[1] in
order to share patches between python2 and python3. But now there is no
reason to keep it in its own directory as we only keep python3-nump.
Move it back to python directory.

[1] https://git.openembedded.org/openembedded-core/commit/?id=9bffe2f9fb4ce6c0b265f27e5b484fbe076c6349

(From OE-Core rev: e5702b8ebd16949c736b8c2f18bf35c0d64d80bd)

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-15 12:55:27 +00:00
Claus Stovgaard
6c220ed3f4 cups: Fix missing installation of cups sysv init scripts
The packageconfig needs to be --disable-systemd as documented in
configure file for cups. With the current value "--without-systemd" the
SYSTEM_DIR variable ends up being set to "no"

It is caused by the --without-* section in configure file resulting in
eval with_$ac_useropt=no ;;

$ac_useropt is "systemd" causing the variable $with_systemd to be set
to "no", because of below test

if test ${with_systemd+y}
then :
  withval=$with_systemd; SYSTEMD_DIR="$withval"
else $as_nop
  SYSTEMD_DIR=""
fi

cups configure test for i if SYSTEMD_DIR is empty to decide if the init
scripts need to be installed. A value of "no" results in that no init
scripts is installed.

With --disable-systemd it works as expected - installing the init files.
Though cups should properly improve their configure script.

(From OE-Core rev: 967fdd2ba12f22d8e46600ff085833993a32cfeb)

Signed-off-by: Claus Stovgaard <clst@ambu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-15 12:55:27 +00:00
Richard Purdie
0562ab6593 package: Add sanity check for allarch packagegroups
We exclude allarch packagegroups from rebuilding when their dependencies change.
The reasoning is that we are just depending on a name so having these rebuild
lots is just pointless and inefficient. We also don't want them duplicated for
multiple machines for efficiency.

In general this works fine, as long as the package names don't change. That
is also rare but there is one corner case which does catch users out - debian
package renaming. When this does break, users question sstate and so on and
lose faith in the system even if this is a known choice we made.

This commit adds an error message if an allarch packagegroup depends on any
package which shows package renaming in action (through the PKG variable
being set).

If you run into this issue you either need to remove the dependency from the
packagegroup or mark the packagegroup as tune specific, i.e. set:

PACKAGE_ARCH = "${TUNE_PKGARCH}"

before the packagegroup inherit.

[YOCTO #7298]

(From OE-Core rev: 5bf3e447d2f5064495d83a8fad30229bcf1ecc9b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-15 12:55:27 +00:00
Richard Purdie
f07a097213 bitbake: cache/ConfHandler: Drop TOPDIR/chdir manipulations
This code has been unchanged since 2006 apart from attempts to optimise
performance by minimising chdir() calls.

There is no reason the modern bitbake parser should be changing directory
all the time. We did have some path assumptions in the mists of time but
those were resovled and the code is deterministic and doesn't depend on
cwd now for parsing. We can therefore drop the changes in directory.

Also, TOPDIR is now being set by cookerdata in all cases so we don't
need the fallbacks in this code (which was used to effectively initialise
a value). We don't need to change TOPDIR when parsing a recipe, that makes
no sense. If we stop all the other messing around, we don't need to expand
TMPDIR either.

These changes have the potential to break some obscure use cases such
as an anonymous function assuming the current working directory, or some
case which depends on TOPDIR changing but I believe any such uses should
be fixed at this point.

(Bitbake rev: add5d488e1d6607a98441836075d01cb1dc9c0fa)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-15 11:03:25 +00:00
Richard Purdie
119c592530 bitbake: cookerdata: Set TOPDIR explicitly and fix broken findTopdir()
TOPDIR is set internally deep within the parser to os.getcwd(). Rather
than do that, set it explicitly if not set. Note that modern code will
almost always have a bblayers.conf file which would have already set
TOPDIR before this new code.

Also fix findTopdir since the conf/bitbake.conf codepath is just
plain incorrect, it would find build metadata, not the current
build directory that bitbake would use. Again, the use of bblayers.conf
means hitting the fallback code was unlikely.

This change makes everything clear and explicit.

(Bitbake rev: c03df5283408dfd089b6317677d2b7af6fa73936)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-15 11:03:25 +00:00
Richard Purdie
9e4b20119e bitbake: tests/runqueue: Set TOPDIR in test
It was clear with testing that we're asuming bitbake sets TOPDIR correctly
when running these tests. Remove that implict assumption and make it
explicit.

(Bitbake rev: c8f1eb377ceb1fc78cbfaed976107720ad78c075)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-15 11:03:25 +00:00
Michael Opdenacker
4aef8c214b bitbake: doc: bitbake-user-manual: expand SRC_URI description
>From contents from the Yocto Project manual
Took the opportunity to reorder SRC_URI fetchers and options
alphabetically.

(Bitbake rev: ee6a951de31471c610030d0cf745039a71706b50)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-13 16:12:24 +00:00
Richard Purdie
77d6e148a3 bitbake: cooker: Fix task-depends.dot for multiconfig targets
The right hand side of dependencies in the task dependency file generated
by bitbake -g was missing multiconfig prefixes, corrupting the data. Fix
this.

[YOCTO #14621]

(Bitbake rev: 1d5ca721040c5e39aefa11219f62710de6587701)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-13 16:12:24 +00:00
Yi Zhao
d507e6ea32 rpcbind: install rpcbind.conf
Although we provide rpcbind.conf, it isn't shipped to the package.
Also fix the sysconfdir in rpcbind.service.

(From OE-Core rev: 61fb93ff9b6129f6bd11a4535080529cc2a643df)

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-13 16:11:28 +00:00
Adrian Freihofer
9c3e6fd9b6 runqemu: support rootfs mounted ro
Optionally allow to set QB_KERNEL_ROOT to e.g. "/dev/vda ro" to mount the
rootfs reay-only in Qemu.

(From OE-Core rev: 448eb1fd21287ba16b17e9402ce040b86ae3638c)

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-13 16:11:28 +00:00
Khem Raj
7ca8dd76ea python3-pygobject: Improve introspection handling
meson 0.60 turns unknown options into them hard errors. Do not add
-Dintrospection by using the new configuration option.

(From OE-Core rev: a2023319eb315ba71f6c6699d2068e51524a2908)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-13 16:11:28 +00:00
Khem Raj
29249b6bc7 gstreamer1.0-python: Improve introspection option handling
meson 0.60 turns unknown options into them hard errors. Disable
the addition of -Dintrospection using the new configuration option.

(From OE-Core rev: ad5666970bdca52b5b4db657c3291b51f4928d7c)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-13 16:11:27 +00:00
Richard Purdie
33708f024d mirrors: Add kernel.org sources mirror for downloads.yoctoproject.org
kernel.org now has a mirror of the downloads.yoctoproject.org sources
archive so include this in our mirrors list.

(From OE-Core rev: f602b6c2046bbc52a95dcc68a754f1cbb2db6761)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-13 16:11:27 +00:00
Khem Raj
d5dc2866ec gobject-introspection: Add -Dintrospection only when GIR_MESON_OPTION is not empty
meson now does not allow unknown options which means we have to be
mindful of adding -Dintrospection unconditionally and provide an option
to recipes to set GIR_MESON_OPTION = "" and when recipe does that then
do not add -D<Dintrospection> option to meson. This will help recipes to
use meson 60.x+ just by adding

GIR_MESON_OPTION = ""

(From OE-Core rev: c75a9439154834d45b2be1ac95682586b4409fb4)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-13 16:11:27 +00:00
Richard Purdie
76d74e10d0 packagegroup-core-x11-base: Drop dbus dependency
dbus isn't an x11 dependency and this suffers from debian renaming. Simply drop
the dependency.

(From OE-Core rev: ba251b128baf05fea8ad62bc42dd98584e99ad28)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-13 16:11:27 +00:00
Richard Purdie
74e79e732a packagegroup-core-full-cmdline: Drop compatibility mappings
The task-core namespace was dropped years ago and we've had the compatibility
mappings for a long time. We should no longer need them as everyone should long
since have adapted.

(From OE-Core rev: 5b3606d3567eb87a9685e5de3437603b1a2d3569)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-13 16:11:27 +00:00
Richard Purdie
4e99a5fa9c packagegroups-core-full-cmdline: Drop libraries packagegroup and gmp
We pull in libraries as/where needed as dependencies so there is no need
to have them as specific packagegroups. This change removes glib-2.0 and gmp.

This also has the advantage of meaning debian renaming now isn't used anywhere
and the packagegroup can remain allarch.

(From OE-Core rev: 170fbd5c606657009cf218e5d84c93e688a46ea6)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-13 16:11:27 +00:00
Richard Purdie
41b0cfbf27 packagegroup-core-buildessential: Mark as TUNE_PKGARCH specific
The libstdc++ dependency is debian renamed so this shouldn't be allarch,
mark accordingly.

(From OE-Core rev: ac6ec1979caa4032b710eb6f6523bcca29d42cd4)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-13 16:11:27 +00:00
Ross Burton
d68e36973b ncurses: poll() works, but only on Linux
ncurses does AC_TRY_RUN() to determine is poll() actually works. As that
doesn't work in cross-compiles, we seed it with 'yes'.

However, MinGW doesn't have a working poll(), so use a :linux override
so that this only applies to Linux builds.

The ncurses build now compiles but doesn't link in MinGW, which is a step
forwards at least.

(From OE-Core rev: f57de22c4a40cd9178f7726d544beca66384d25d)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-13 16:11:27 +00:00
Ross Burton
aeae9e45dd dtc: fix mingw build
Backport a patch to fix the build of fdtdump with mingw, which so the
tools now build successfully with mingw.

(From OE-Core rev: 1bbbd69d9f1600f53737f2c459a08eae0d74a42c)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-13 16:11:27 +00:00
Ross Burton
8b5edbb9a2 dtc: add PACKAGECONFIGs for tools and yaml
Leave yaml off by default.

(From OE-Core rev: f70f9a7f44676f722e2541e1ef1f064c942fffcb)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-13 16:11:27 +00:00
Ross Burton
cf9782c18a dtc: use Meson to build
(From OE-Core rev: f8f25c424079074b9ed4a7801122c2f59f22aacf)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-13 16:11:27 +00:00
Ross Burton
ca02d07869 dtc: merge .bb/.inc
No reason for these to be split, so merge them.

(From OE-Core rev: ebfe71da5b27c4f7839837c79fb04acf84cd16e4)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-13 16:11:27 +00:00
Ross Burton
39906f5d4d insane: remove unrecognised option check for Meson
Meson 0.60 onwards no longer simply warns when an unrecognised option is
passed, it errors out instead. This means we can remove the logic in
insane.bbclass to check for the warnings.

(From OE-Core rev: 472acf29abd4cdc9d8ef10a1940a541275d508cf)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-13 16:11:27 +00:00
Richard Purdie
ca97a835fe uninative: Add version to uninative tarball name
uninative works via hashes and doesn't need the version in the tarball name but
it does make things easier to inspect in DL_DIR. There were reasons such as
ease of publication of the build tarballs but we can handle those differently
now and the signature issues from the early code aren't an issue now. From 3.4
onwards we can use a version'd name.

[YOCTO #12970]

(From OE-Core rev: dadba70d6a24d8ebb5576598efffa973151c7218)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-13 16:11:27 +00:00
Khem Raj
e9792e1fef ptest-packagelists: Remove qemu ptests for rv32
qemu is not buildable on rv32 yet

(From OE-Core rev: 5987ac1dba7ffcdb23f837620f02aa2c1ed33fa1)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-13 16:11:27 +00:00
Anuj Mittal
0140ac5b68 glibc-version.inc: remove branch= from GLIBC_GIT_URI
GLIBC_GIT_URI is used along with branch=${SRCBRANCH} so no need to add
it here.

(From OE-Core rev: 4c9cfe326913d28f82e6a91d1eeae55a6651f0f7)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-11 22:26:46 +00:00
Jon Mason
045bc7682c scripts/lib/wic/help.py: Update Fedora Kickstart URLs
The URLs describing Kickstart are no longer valid and do not redirect to
the correct location.  Update them with the correct location.

(From OE-Core rev: e5ac75f93c8128b0761af5fee99e8603ddd1657d)

Signed-off-by: Jon Mason <jdmason@kudzu.us>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-11 22:26:46 +00:00
Khem Raj
1fc28908d0 qemu: Exclude building on riscv32
Needs syscalls issues addressed. fails currently to build

../qemu-6.1.0/linux-user/syscall.c:659:1: error: use of undeclared identi
fier '__NR_nanosleep'; did you mean 'safe_nanosleep'?

(From OE-Core rev: c4ba4da8d885d183cc6a6f8a5d8d5122184bc3a6)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-11 22:26:46 +00:00
Richard Purdie
668584ca71 wpa-supplicant: Match package override to PACKAGES for pkg_postinst
In PACKAGES, ${PN} is used so it makes sense for the pkg_postinst variable
override to match that else it causes user confusion.

[YOCTO #14616]

(From OE-Core rev: ae9094d45bbfff377bd542939e12a8451a4959b6)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-11 22:26:46 +00:00
Richard Purdie
711d173d6e bitbake: fetch: Add README on fetcher design constraints
There have been requests to better document the contraints of fetcher
design and operation. This README attempts to start that.

(Bitbake rev: d9cda7835816ecd5a60f0575f6ce832ec9c6aced)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-11 17:27:20 +00:00
Robert Yang
c277bbaa8b bitbake: lib/pyinotify.py: Remove deprecated module asyncore
When build with nativesdk-python3 (3.10) from buildtools:
/path/to/bitbake/lib/pyinotify.py:55: DeprecationWarning: The asyncore module is deprecated. The recommended replacement is asyncio

The pyinotify.py's upstream didn't have any update in recent 7 years:
https://github.com/seb-m/pyinotify

And bitbake doesn't use the asyncore module, so remove the related code.

(Bitbake rev: 58fbb01c3e2111bef4f79f88e1aac1827350c82a)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-11 17:09:39 +00:00
Richard Purdie
657f71e1f5 xserver-xorg: Remove orphaned comment
(From OE-Core rev: a74b6177f2042b5ad75d23ae96f93765b6a76793)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-11 17:09:17 +00:00
Richard Purdie
50b85e4855 scripts/oe-package-browser: Handle no packages being built
Give the user a proper error message if there aren't packages built,
rather than a less friendly traceback.

[YOCTO #14619]

(From OE-Core rev: b14c176b7dd74b7d63ca0f72e6e00fbf209f5a0b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-11 17:09:17 +00:00
Richard Purdie
e21c967bd4 scripts/oe-package-browser: Fix after overrides change
After the overrides change, the format of pkgdata changed and this
usage of configparser no longer works. This change is a bandaid to make
things work but the pkgdata format isn't very similar to ini files
so this may need to be reimplmented in a better way in the long run.

[YOCTO #14619]

(From OE-Core rev: 25a8ec6e2891b71bc280aacaf5f62ecc4b0bd1d1)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-11 17:09:17 +00:00
Kai Kang
0a0052e456 convert-srcuri.py: use regex to check space in SRC_URI
There may be none, one or more spaces including tab before backslash in
SRC_URI. Use regex to check and update. It helps to avoid malformed uri
such as recipe open-iscsi-user in meta-openstack:

SRC_URI = "git://github.com/open-iscsi/open-iscsi.git;protocol=https  ;branch=master \

And help to check more recipes such as concurrent-ruby in the same
layer:

SRC_URI = "git://github.com/ruby-concurrency/concurrent-ruby.git;protocol=https;tag=v1.1.6\

(From OE-Core rev: a69a53573b1987ee5834a6fc27763f9bbf5fe5a4)

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-11 17:09:17 +00:00
Peter Kjellerstedt
fb4406073e gcc-common.inc: Remove mirrors that are no longer available
Also switch to https for https://gcc.gnu.org/pub/gcc/releases/

(From OE-Core rev: 45670d96119c3a483e9571821b6d5e984c2e2f93)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-11 17:09:17 +00:00
Peter Kjellerstedt
3fcaef51ef testsdk.py: Clean up the additions to PREMIRRORS and SSTATE_MIRRORS
Since commit 044fb04d in bitbake (fetch2: Allow whitespace only mirror
entries) there is no need to separate the entries in PREMIRRORS and
SSTATE_MIRRORS with "\n".

(From OE-Core rev: 3db607deea3b2982edb333f99056119490fcf5ea)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-11 17:09:17 +00:00
Peter Kjellerstedt
813499ed5f slang: Clean up the additions to PREMIRRORS
Since commit 044fb04d in bitbake (fetch2: Allow whitespace only mirror
entries) there is no need to separate the entries in PREMIRRORS with
"\n".

(From OE-Core rev: a7fc98fadab8779bf7975cca5b3ed006884b4910)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-11 17:09:17 +00:00
Peter Kjellerstedt
40a42038ba gcc-common.inc: Clean up the additions to MIRRORS
Since commit 044fb04d in bitbake (fetch2: Allow whitespace only mirror
entries) there is no need to separate the entries in MIRRORS with "\n".

(From OE-Core rev: 5374c45725ef5796a563c0665cde0fc05cecd856)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-11 17:09:17 +00:00
Peter Kjellerstedt
021b76a856 own-mirrors.bbclass: Clean up the additions to PREMIRRORS
* Since commit ce0579dc in bitbake (fetch2: Revert the regexp removal
  for the type field and instead anchor regexp) the type regexp has
  been automatically anchored at the end.
* Since commit 044fb04d in bitbake (fetch2: Allow whitespace only mirror
  entries) there is no need to separate the entries in PREMIRRORS with
  "\n".

(From OE-Core rev: 1edc5e689d54b788c35ece14e0dbd76ec545f3ee)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-11 17:09:17 +00:00
Peter Kjellerstedt
a3ba0a54fe mirrors.bbclass: Clean up the additions to MIRRORS
* Since commit ce0579dc in bitbake (fetch2: Revert the regexp removal
  for the type field and instead anchor regexp) the type regexp has
  been automatically anchored at the end.
* Since commit 044fb04d in bitbake (fetch2: Allow whitespace only mirror
  entries) there is no need to separate the entries in MIRRORS with "\n".

(From OE-Core rev: ec806f1e3b08d73524515aa83c5ee8dea7a40215)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-11 17:09:16 +00:00
Peter Kjellerstedt
4a2b12c73a systemd-bootchart: Revert inappropriate use of ${systemd_system_unitdir}
This is a partial revert of commit 5ace3ada (systemd:
'${systemd_unitdir}/system' => '${systemd_system_unitdir}') where
the string '${systemd_unitdir}/system' matched something other than the
intended directory.

(From OE-Core rev: 9ef86e740e7b95df615fdb476267c72cd9b3dd40)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-11 17:09:16 +00:00
Peter Kjellerstedt
7377f7cdfb systemd-conf: Revert inappropriate use of ${systemd_system_unitdir}
This is a partial revert of commit 5ace3ada (systemd:
'${systemd_unitdir}/system' => '${systemd_system_unitdir}') where
the string '${systemd_unitdir}/system' matched something other than the
intended directory.

(From OE-Core rev: c436124eb9a98400cc6872b252971477bb451551)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-11 17:09:16 +00:00
Peter Kjellerstedt
04c99437a3 systemd: Revert inappropriate use of ${systemd_system_unitdir}
This is a partial revert of commit 5ace3ada (systemd:
'${systemd_unitdir}/system' => '${systemd_system_unitdir}') where
the string '${systemd_unitdir}/system' matched something other than the
intended directory.

(From OE-Core rev: b3334c7134e812fe839e47a3d06aa5379b7b8bd8)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-11 17:09:16 +00:00
Peter Kjellerstedt
c758988cb7 ncurses.inc: Remove a no longer relevant comment
(From OE-Core rev: 62f4a0a2291aa39a00b98358a539cc2177744e64)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-11 17:09:16 +00:00
Alexander Kanavin
07fe973701 webkitgtk: remove unneeded patch
The file is already included just three lines below.

(From OE-Core rev: bcfb2539ed319fefd2b3605d8505666bdfc4704c)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-11 17:09:16 +00:00
Alexander Kanavin
8b11f3c12b webkitgtk: submit patches upstream
(From OE-Core rev: 0a71d871f4a9cbcbc178b5a1e038626ad1af717a)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-11 17:09:16 +00:00
Alexander Kanavin
bd2368d2bf shared-mime-info: fix meson 0.60 builds
(From OE-Core rev: 268400236a73ebdb1b6acf75fdd0a4a6d7965a7c)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-11 17:09:16 +00:00
Alexander Kanavin
e1691b1c84 meson: upgrade 0.59.2 -> 0.60.1
(From OE-Core rev: 687234cbac01608053c14cbab0fba6eecbba1b91)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-11 17:09:16 +00:00
Alexander Kanavin
5afc62d491 valgrind: submit patch upstream
(From OE-Core rev: abc2ae3d1694e5aa393e7c28d238e90ce4f517bd)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-11 17:09:16 +00:00
Alexander Kanavin
b4c4a2cf2e libgpg-error: mark patch as non-upstreamable
(From OE-Core rev: b01c20ac79ebe84090ee260a9d153d8398df6c88)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-11 17:09:16 +00:00
Alexander Kanavin
b7d37f03ef gnu-config: update to latest revision
(From OE-Core rev: f6aa3d07a5049e3bbcd971ddcf3d15f7794bdd3f)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-11 17:09:16 +00:00
Alexander Kanavin
c171f4dbde vulkan-samples: update to latest revision
Mark as incompatible with 32 bit x86: there are several failures
and I do not think anyone is interested in vulkan on that platform.

(From OE-Core rev: 0be583c6cf34a68950dafad4ca3dbb74bc4eea70)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-11 17:09:16 +00:00
Alexander Kanavin
61f13c6d3e python3-pyparsing: update 3.0.4 -> 3.0.5
(From OE-Core rev: d5c83301004483a9dfe24df5ebf4a1b98fc20381)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-11 17:09:16 +00:00
Alexander Kanavin
d713b9c794 python3-setuptools: upgrade 58.3.0 -> 58.5.3
(From OE-Core rev: b4fa2ff641fea72bc799e237b1b81643256614d0)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-11 17:09:16 +00:00
Alexander Kanavin
654e4ceaae python3-py: upgrade 1.10.0 -> 1.11.0
(From OE-Core rev: 75d53556a4aae59005e5d5ab76bfff74cc119047)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-11 17:09:16 +00:00
Alexander Kanavin
b23929b70c python3-pbr: upgrade 5.6.0 -> 5.7.0
(From OE-Core rev: b9434854a625c2edbf140fa931d3756d7bab32ef)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-11 17:09:16 +00:00
Alexander Kanavin
f7dbf89d5a python3-packaging: upgrade 21.0 -> 21.2
(From OE-Core rev: 7a317c575437dc5a1b9b32ba7711377896ee9db4)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-11 17:09:16 +00:00
Alexander Kanavin
7f30f96d73 python3-numpy: upgrade 1.21.3 -> 1.21.4
(From OE-Core rev: af984b65cfb3e887380c7fab9c5f8231ef165d54)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-11 17:09:16 +00:00
Alexander Kanavin
777487c07f python3-hypothesis: upgrade 6.24.0 -> 6.24.2
(From OE-Core rev: 18f55f898401fa19e9ab52dc7b30485a44f2e069)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-11 17:09:16 +00:00
Alexander Kanavin
3cf772cfa6 kexec-tools: update 2.0.22 -> 2.0.23
Drop patch as problem fixed upstream.

(From OE-Core rev: ed0984fe7888e971008d4bb6be0fe62de7aeacdc)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-11 17:09:16 +00:00
Alexander Kanavin
33898b06df socat: upgrade 1.7.4.1 -> 1.7.4.2
(From OE-Core rev: 7cbc3e501295147b573cf8d09deb4edcd522ff32)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-11 17:09:16 +00:00
Alexander Kanavin
af7a8e775b libgpg-error: update 1.42 -> 1.43
(From OE-Core rev: 7637c0ccd5bc41eda7cd40e4f56dfbe5fbd17e0a)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-11 17:09:16 +00:00
Alexander Kanavin
259afff652 rust: update 1.56.0 -> 1.56.1
This update includes fixes for the 'trojan source' vulnerability:
https://blog.rust-lang.org/2021/11/01/Rust-1.56.1.html

Drop two unused patches.

(From OE-Core rev: 5ff0b0d8c6c37ebf916062f03a378fe0e34b1c53)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-11 17:09:16 +00:00
Alexander Kanavin
7d88111fab xserver-xorg: add missing libtirpc dependency
This wasn't a problem in poky, but was exposed with a nodistro build.

(From OE-Core rev: 0afc9fdb93bb62a78ec6d3aaf870587f52c5a7a4)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-11 17:09:16 +00:00
Alexander Kanavin
9f4df8fa58 xserver-xorg: convert from autotools to meson
Not every option was carried over, drop them accordingly.

(From OE-Core rev: e05abd87ee5d23750c641d0129d9c83db68ee2e8)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-11 17:09:16 +00:00
Alexander Kanavin
6d7d97d787 xserver-xorg: update 1.20.13 -> 21.1.1
libxcvt is a new dependency (thanks Oleksandr!).

Include ${libdir}/xorg/modules/input/*.so into the main
package (if for someone separate packaging matters, please
investigate what they do).

Remove options no longer present upstream.

Remove patches available upstream; drop a chunk as well.

(From OE-Core rev: fe501ae1f6bea73882707c944c4fab5c5657a551)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-11 17:09:16 +00:00
Alexander Kanavin
5e8410a954 mesa-demos: mark glew/glu patch as non-upstreamable
(From OE-Core rev: c5a101f14b469b92d2a2caf653fba7078abc6a45)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-11 17:09:16 +00:00
Alexander Kanavin
5d7031945d mesa-demos: drop glx option and patch
As far as I can see the x11 option does the same thing.

(From OE-Core rev: a904c9492e86be39fcdd244e8f4b9768861c0e77)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-11 17:09:16 +00:00
Alexander Kanavin
772afb2678 ovmf: submit patch upstream
(From OE-Core rev: df1ff8a0419039f03e390d96b5d615cad92b8879)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-11 17:09:16 +00:00
Bruce Ashfield
f748564653 kernel: provide virtual/kernel for all kernels
Since we allow the kernel package name to be varied, we should
allow those packages to provide virtua/kernel, which allows them
to be used as primary kernels.

This change drops the use of regex, since any regex would enforce
naming (and limit what can be a provider) and add complexity./

There are currently no recipes that I found, that inherit kernel
that are not kernel recipes (kernel-base, etc, provide other
facilities), so making this provides simpler shouldn't cause
problems.

Multiple kernel providers can be dealt with in the same way as
any multiple provider.

[YOCTO: #13172]

(From OE-Core rev: 365dc1471a1b67c45de58aadf29844a9ff83d30f)

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

squash with provider

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-10 19:27:29 +00:00
Bruce Ashfield
7435fb4481 linux-yocto/5.10: update to v5.10.78
Updating linux-yocto/5.10 to the latest korg -stable release that comprises
the following commits:

    5040520482a5 Linux 5.10.78
    4c7c0243275b ALSA: usb-audio: Add Audient iD14 to mixer map quirk table
    f3eb44f496ef ALSA: usb-audio: Add Schiit Hel device to mixer map quirk table
    68765fc97762 Revert "wcn36xx: Disable bmps when encryption is disabled"
    f84b791d4c3b ARM: 9120/1: Revert "amba: make use of -1 IRQs warn"
    bbc920fb320f Revert "drm/ttm: fix memleak in ttm_transfered_destroy"
    6d67b2a73b8e mm: khugepaged: skip huge page collapse for special files
    5a7957491e31 Revert "usb: core: hcd: Add support for deferring roothub registration"
    50f46bd30949 Revert "xhci: Set HCD flag to defer primary roothub registration"
    d7fc85f61042 media: firewire: firedtv-avc: fix a buffer overflow in avc_ca_pmt()
    b93a70bf2b57 net: ethernet: microchip: lan743x: Fix skb allocation failure
    b9c85a71e1b4 vrf: Revert "Reset skb conntrack connection..."
    0382fdf9ae78 sfc: Fix reading non-legacy supported link modes
    748786564a35 Revert "io_uring: reinforce cancel on flush during exit"
    7b57c38d12ae scsi: core: Put LLD module refcnt after SCSI device is released

(From OE-Core rev: 7a7d1eed8e3d550ac9bfa301b26095100eeba111)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-10 19:27:29 +00:00
Bruce Ashfield
156bc29540 linux-yocto/5.15: update to v5.15.1
Updating linux-yocto/5.15 to the latest korg -stable release that comprises
the following commits:

    b6abb62daa55 Linux 5.15.1
    569fd073a954 ALSA: usb-audio: Add quirk for Audient iD14
    fd5f954b690c Revert "drm/i915/gt: Propagate change in error status to children on unhold"
    8af3a335b553 drm/amd/display: Revert "Directly retrain link from debugfs"
    6ecad8906f05 drm/amdgpu: revert "Add autodump debugfs node for gpu reset v8"
    a273384cf1af Revert "wcn36xx: Disable bmps when encryption is disabled"
    57f31b313231 ARM: 9120/1: Revert "amba: make use of -1 IRQs warn"
    110d5f4421ed Revert "soc: imx: gpcv2: move reset assert after requesting domain power up"
    f17dca0ab3f3 drm/amdkfd: fix boot failure when iommu is disabled in Picasso.
    f5e3b7f0f0b7 Revert "usb: core: hcd: Add support for deferring roothub registration"
    421f91bf0451 Revert "xhci: Set HCD flag to defer primary roothub registration"
    cb667140875a media: firewire: firedtv-avc: fix a buffer overflow in avc_ca_pmt()
    abc558fd0f89 sfc: Fix reading non-legacy supported link modes

(From OE-Core rev: 6a5ab16bbbf92ce99fbbd3ac7cb1d2e4e1690feb)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-10 19:27:29 +00:00
Bruce Ashfield
8e976d34fa linux-yocto/5.14: update to v5.14.17
Updating linux-yocto/5.14 to the latest korg -stable release that comprises
the following commits:

    3dfa869cb79d Linux 5.14.17
    b1dbd891bfe5 ALSA: usb-audio: Add Audient iD14 to mixer map quirk table
    570b5004f827 ALSA: usb-audio: Add Schiit Hel device to mixer map quirk table
    db6d7c4acca3 Revert "drm/i915/gt: Propagate change in error status to children on unhold"
    aac2f6861683 drm/amd/display: Revert "Directly retrain link from debugfs"
    77d029e1e218 drm/amdgpu: revert "Add autodump debugfs node for gpu reset v8"
    9f9e09a59c58 Revert "wcn36xx: Disable bmps when encryption is disabled"
    b9722a7369f8 ARM: 9120/1: Revert "amba: make use of -1 IRQs warn"
    e556fca311ce Revert "soc: imx: gpcv2: move reset assert after requesting domain power up"
    d6a60e6ada49 drm/i915: Remove memory frequency calculation
    7883e13c2494 drm/amdkfd: fix boot failure when iommu is disabled in Picasso.
    a82fa1213d12 Revert "usb: core: hcd: Add support for deferring roothub registration"
    0979b923ff3f Revert "xhci: Set HCD flag to defer primary roothub registration"
    02a476ca886d media: firewire: firedtv-avc: fix a buffer overflow in avc_ca_pmt()
    ec0c91e2ebb8 vrf: Revert "Reset skb conntrack connection..."
    6467b75cf9d1 sfc: Fix reading non-legacy supported link modes
    f30822c0b4c3 scsi: core: Put LLD module refcnt after SCSI device is released

(From OE-Core rev: a9ac5a388d682bcf0aad59d1b8ae8334846dfcd9)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-10 19:27:29 +00:00
Bruce Ashfield
1e2e299642 linux-yocto/5.10: update to v5.10.77
Updating linux-yocto/5.10 to the latest korg -stable release that comprises
the following commits:

    09df347cfd18 Linux 5.10.77
    fbb91dadb512 perf script: Check session->header.env.arch before using it
    6f416815c505 riscv: Fix asan-stack clang build
    7a4cf25d8329 riscv: fix misalgned trap vector base address
    acb8832f6a1c scsi: ufs: ufs-exynos: Correct timeout value setting registers
    8ecddaca7942 KVM: s390: preserve deliverable_mask in __airqs_kick_single_vcpu
    e11a7355fb98 KVM: s390: clear kicked_mask before sleeping again
    727e5deca802 lan743x: fix endianness when accessing descriptors
    a7112b8eeb14 sctp: add vtag check in sctp_sf_ootb
    c2442f721972 sctp: add vtag check in sctp_sf_do_8_5_1_E_sa
    14c1e02b11c2 sctp: add vtag check in sctp_sf_violation
    dad2486414b5 sctp: fix the processing for COOKIE_ECHO chunk
    8c50693d25e4 sctp: fix the processing for INIT_ACK chunk
    ad111d4435d8 sctp: use init_tag from inithdr for ABORT chunk
    4509000a2515 phy: phy_ethtool_ksettings_set: Lock the PHY while changing settings
    5b88bb9377ee phy: phy_start_aneg: Add an unlocked version
    81780b624d1c phy: phy_ethtool_ksettings_set: Move after phy_start_aneg
    258c5fea44cf phy: phy_ethtool_ksettings_get: Lock the phy for consistency
    58722323d4bc net/tls: Fix flipped sign in async_wait.err assignment
    44e8c93e1e49 net: nxp: lpc_eth.c: avoid hang when bringing interface down
    c2af2092c9bb net: ethernet: microchip: lan743x: Fix dma allocation failure by using dma_set_mask_and_coherent
    bfa6fbdb4e39 net: ethernet: microchip: lan743x: Fix driver crash when lan743x_pm_resume fails
    e81bed557fe7 mlxsw: pci: Recycle received packet upon allocation failure
    be98be1a17e9 nios2: Make NIOS2_DTB_SOURCE_BOOL depend on !COMPILE_TEST
    aead02927af3 gpio: xgs-iproc: fix parsing of ngpios property
    863a423ee07b RDMA/sa_query: Use strscpy_pad instead of memcpy to copy a string
    2b7c5eed19d3 net: Prevent infinite while loop in skb_tx_hash()
    04121b10cdf0 cfg80211: correct bridge/4addr mode check
    aed897e96b19 net-sysfs: initialize uid and gid before calling net_ns_get_ownership
    b0a2cd38553c net: batman-adv: fix error handling
    36e911a16b37 regmap: Fix possible double-free in regcache_rbtree_exit()
    e51371bd687e reset: brcmstb-rescal: fix incorrect polarity of status bit
    2cf7d935d6ba arm64: dts: allwinner: h5: NanoPI Neo 2: Fix ethernet node
    10e40fb2f508 RDMA/mlx5: Set user priority for DCT
    24fd8e2f027d octeontx2-af: Display all enabled PF VF rsrc_alloc entries.
    c63d7f2ca99a nvme-tcp: fix possible req->offset corruption
    32f3db20f126 nvme-tcp: fix data digest pointer calculation
    4286c72c5321 nvmet-tcp: fix data digest pointer calculation
    d98883f6c33e IB/hfi1: Fix abba locking issue with sc_disable()
    c3e17e58f571 IB/qib: Protect from buffer overflow in struct qib_user_sdma_pkt fields
    ee4908f909b3 bpf: Fix error usage of map_fd and fdget() in generic_map_update_batch()
    dd2260ec643d bpf: Fix potential race in tail call compatibility check
    15dec6d8f864 tcp_bpf: Fix one concurrency problem in the tcp_bpf_send_verdict function
    cac6b043cea3 riscv, bpf: Fix potential NULL dereference
    01599bf7cc2b cgroup: Fix memory leak caused by missing cgroup_bpf_offline
    eb3b6805e3e9 drm/amdgpu: fix out of bounds write
    c21b4002214c drm/ttm: fix memleak in ttm_transfered_destroy
    69a7fa5cb0de mm, thp: bail out early in collapse_file for writeback page
    8fb858b74ac5 net: lan78xx: fix division by zero in send path
    4c22227e39c7 cfg80211: fix management registrations locking
    fa29cec42c2d cfg80211: scan: fix RCU in cfg80211_add_nontrans_list()
    db1191a529e4 nvme-tcp: fix H2CData PDU send accounting (again)
    5043fbd294f5 ocfs2: fix race between searching chunks and release journal_head from buffer_head
    01169a43353d mmc: sdhci-esdhc-imx: clear the buffer_read_ready to reset standard tuning circuit
    ee3213b117ce mmc: sdhci: Map more voltage level to SDHCI_POWER_330
    a95a76fc01a0 mmc: dw_mmc: exynos: fix the finding clock sample value
    12a46f72f499 mmc: mediatek: Move cqhci init behind ungate clock
    44c2bc2a6bbe mmc: cqhci: clear HALT state after CQE enable
    efe934629fff mmc: vub300: fix control-message timeouts
    f3dec7e7ace3 net/tls: Fix flipped sign in tls_err_abort() calls
    c828115a14ea Revert "net: mdiobus: Fix memory leak in __mdiobus_register"
    11c0406b4c33 nfc: port100: fix using -ERRNO as command type mask
    0b1b3e086b0a tipc: fix size validations for the MSG_CRYPTO type
    5aa5bab57957 ata: sata_mv: Fix the error handling of mv_chip_id()
    9a52798dce73 pinctrl: amd: disable and mask interrupts on probe
    01c2881bb0e0 Revert "pinctrl: bcm: ns: support updated DT binding as syscon subnode"
    017718dfbb6f usbnet: fix error return code in usbnet_probe()
    693ecbe8f799 usbnet: sanity check for maxpacket
    b663890d8544 ext4: fix possible UAF when remounting r/o a mmp-protected file system
    d4d9c065988c arm64: Avoid premature usercopy failure
    e184a21b5ccc powerpc/bpf: Fix BPF_MOD when imm == 1
    3f2c12ec8a3f io_uring: don't take uring_lock during iowq cancel
    5a768b4d3e1a ARM: 9141/1: only warn about XIP address when not compile testing
    15b278f94bbb ARM: 9139/1: kprobes: fix arch_init_kprobes() prototype
    c06d7d9bfcf6 ARM: 9138/1: fix link warning with XIP + frame-pointer
    8a6af97c31be ARM: 9134/1: remove duplicate memcpy() definition
    6ad8bbc9d301 ARM: 9133/1: mm: proc-macros: ensure *_tlb_fns are 4B aligned
    3ceaa85c331d ARM: 9132/1: Fix __get_user_check failure with ARM KASAN images

(From OE-Core rev: d57bc7281015d09e2ff7a8a028dbf31559ff7331)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-10 19:27:29 +00:00
Bruce Ashfield
750ce5eae3 linux-yocto/5.14: update to v5.14.16
Updating linux-yocto/5.14 to the latest korg -stable release that comprises
the following commits:

    f63179c1e68c Linux 5.14.16
    e874c870dfd8 KVM: x86: Take srcu lock in post_kvm_run_save()
    9ab39a3d0cec KVM: SEV-ES: fix another issue with string I/O VMGEXITs
    eb0461c572e9 KVM: x86: switch pvclock_gtod_sync_lock to a raw spinlock
    10242cc2ad79 KVM: x86/xen: Fix kvm_xen_has_interrupt() sleeping in kvm_vcpu_block()
    669a7e147ee6 perf script: Check session->header.env.arch before using it
    e914237feb46 riscv: Fix asan-stack clang build
    4606bbb6b19c riscv: Do not re-populate shadow memory with kasan_populate_early_shadow
    7567abe63797 riscv: fix misalgned trap vector base address
    20bd764387ac scsi: ibmvfc: Fix up duplicate response detection
    f6782c0ca808 perf script: Fix PERF_SAMPLE_WEIGHT_STRUCT support
    04ced3822a66 scsi: ufs: ufs-exynos: Correct timeout value setting registers
    d748da838b21 KVM: s390: preserve deliverable_mask in __airqs_kick_single_vcpu
    4faa35ce98c7 KVM: s390: clear kicked_mask before sleeping again
    ae566351ca18 octeontx2-af: Check whether ipolicers exists
    45d9cd363786 virtio-ring: fix DMA metadata flags
    52a936b037b5 net: hns3: expand buffer len for some debugfs command
    efccb66bc917 net: hns3: add more string spaces for dumping packets number of queue info in debugfs
    e5c6ad377c07 bpf: Move BPF_MAP_TYPE for INODE_STORAGE and TASK_STORAGE outside of CONFIG_NET
    b341612b659d watchdog: sbsa: only use 32-bit accessors
    de709ec74f8b bpf: Use kvmalloc for map values in syscall
    0717c71deae6 sctp: add vtag check in sctp_sf_ootb
    1c255b5f68f4 sctp: add vtag check in sctp_sf_do_8_5_1_E_sa
    dd82b3a345ab sctp: add vtag check in sctp_sf_violation
    44ef3ecbc24a sctp: fix the processing for COOKIE_ECHO chunk
    7975f42f1038 sctp: fix the processing for INIT_ACK chunk
    6277d424ead2 sctp: fix the processing for INIT chunk
    332933f9ae0a sctp: use init_tag from inithdr for ABORT chunk
    44d44bf72591 RDMA/irdma: Do not hold qos mutex twice on QP resume
    6392f26fbe92 RDMA/irdma: Set VLAN in UD work completion correctly
    7762917173cc RDMA/irdma: Process extended CQ entries correctly
    7860484eeb90 phy: phy_ethtool_ksettings_set: Lock the PHY while changing settings
    37a1b9befb73 phy: phy_start_aneg: Add an unlocked version
    1f9c99e0bb5b phy: phy_ethtool_ksettings_set: Move after phy_start_aneg
    2191b1e8eb3d phy: phy_ethtool_ksettings_get: Lock the phy for consistency
    e2b4dd261720 net/tls: Fix flipped sign in async_wait.err assignment
    373f94d73651 net: ethernet: microchip: lan743x: Fix skb allocation failure
    228862acb549 net: hns3: fix data endian problem of some functions of debugfs
    20d88211706b net: hns3: fix pause config problem after autoneg disabled
    7cc73feb57f6 net: nxp: lpc_eth.c: avoid hang when bringing interface down
    d8774769d198 net: ethernet: microchip: lan743x: Fix dma allocation failure by using dma_set_mask_and_coherent
    69d3c7785ec4 net: ethernet: microchip: lan743x: Fix driver crash when lan743x_pm_resume fails
    18bd5e285a78 mlxsw: pci: Recycle received packet upon allocation failure
    960f4a54b909 nios2: Make NIOS2_DTB_SOURCE_BOOL depend on !COMPILE_TEST
    030f05812d81 gpio: xgs-iproc: fix parsing of ngpios property
    c653c522e521 RDMA/sa_query: Use strscpy_pad instead of memcpy to copy a string
    5f6995295f65 RDMA/mlx5: Initialize the ODP xarray when creating an ODP MR
    ed894f5439ab net: Prevent infinite while loop in skb_tx_hash()
    f435287d719b cfg80211: correct bridge/4addr mode check
    da279dac227a net-sysfs: initialize uid and gid before calling net_ns_get_ownership
    a8f7359259dd net: batman-adv: fix error handling
    50cc1462a668 regmap: Fix possible double-free in regcache_rbtree_exit()
    c9e39214fddf reset: brcmstb-rescal: fix incorrect polarity of status bit
    86f9394073d8 arm64: dts: allwinner: h5: NanoPI Neo 2: Fix ethernet node
    63a97a9f95f2 ice: check whether PTP is initialized in ice_ptp_release()
    ebd0edad1cdf RDMA/mlx5: Set user priority for DCT
    e83b3cce4722 ice: Respond to a NETDEV_UNREGISTER event for LAG
    f1e3cd1cc802 octeontx2-af: Fix possible null pointer dereference.
    98db2a8c14be octeontx2-af: Display all enabled PF VF rsrc_alloc entries.
    c7752ec9ad39 nvme-tcp: fix possible req->offset corruption
    7258a6eef5be nvme-tcp: fix data digest pointer calculation
    daa12f0c1d1b nvmet-tcp: fix data digest pointer calculation
    5d33bd6b4d4d IB/hfi1: Fix abba locking issue with sc_disable()
    0d4395477741 IB/qib: Protect from buffer overflow in struct qib_user_sdma_pkt fields
    6525bfbd546f bpf: Fix error usage of map_fd and fdget() in generic_map_update_batch()
    adb17f828177 bpf: Fix potential race in tail call compatibility check
    6f226ffe4458 tcp_bpf: Fix one concurrency problem in the tcp_bpf_send_verdict function
    e1b80a5ebe54 riscv, bpf: Fix potential NULL dereference
    b529f88d9388 cgroup: Fix memory leak caused by missing cgroup_bpf_offline
    b7ca59297fa3 Revert "watchdog: iTCO_wdt: Account for rebooting on second timeout"
    0a8b7eba95a0 drm/amd/display: Fix deadlock when falling back to v2 from v3
    a363d80566cc drm/amd/display: Fallback to clocks which meet requested voltage on DCN31
    aeadb0662478 drm/amd/display: Moved dccg init to after bios golden init
    5a5f1f070c3e drm/amd/display: Increase watermark latencies for DCN3.1
    85cf47160d0e drm/amd/display: increase Z9 latency to workaround underflow in Z9
    01f39421d590 drm/amd/display: Fix prefetch bandwidth calculation for DCN3.1
    b60efcaf5e8b drm/amd/display: Limit display scaling to up to true 4k for DCN 3.1
    c3ae5cf3e3ee drm/amdgpu: support B0&B1 external revision id for yellow carp
    d3ed72495a59 drm/amdgpu: fix out of bounds write
    9eb4bdd554fc drm/amdgpu: Fix even more out of bound writes from debugfs
    d87ac6054e3d drm/i915/dp: Skip the HW readout of DPCD on disabled encoders
    7650327e7174 drm/i915: Catch yet another unconditioal clflush
    0ed2dfb5f598 drm/i915: Convert unconditional clflush to drm_clflush_virt_range()
    132a3d998d67 drm/ttm: fix memleak in ttm_transfered_destroy
    15a4f2bdbdfd mac80211: mesh: fix HE operation element length check
    ce277959d77c arm64: dts: imx8mm-kontron: Make sure SOC and DRAM supply voltages are correct
    8c684aaceaf3 arm64: dts: imx8mm-kontron: Set lower limit of VDD_SNVS to 800 mV
    f5eaf91dd8af arm64: dts: imx8mm-kontron: Fix connection type for VSC8531 RGMII PHY
    da32086a0203 arm64: dts: imx8mm-kontron: Fix CAN SPI clock frequency
    d2bdcd23cba9 arm64: dts: imx8mm-kontron: Fix polarity of reg_rst_eth2
    5fcb6fce74ff mm: khugepaged: skip huge page collapse for special files
    5e669d8ab30a mm, thp: bail out early in collapse_file for writeback page
    6ac017254b59 mm: filemap: check if THP has hwpoisoned subpage for PMD page fault
    8821fedc7f83 mm: hwpoison: remove the unnecessary THP check
    67979d186c51 drm/amd/display: Require immediate flip support for DCN3.1 planes
    75b1b172ae5a net: lan78xx: fix division by zero in send path
    3c897f39b71f cfg80211: fix management registrations locking
    2a000d137589 cfg80211: scan: fix RCU in cfg80211_add_nontrans_list()
    e6d02b0da2df ftrace/nds32: Update the proto for ftrace_trace_function to match ftrace_stub
    ea081b13b00e nvme-tcp: fix H2CData PDU send accounting (again)
    2e382600e885 ocfs2: fix race between searching chunks and release journal_head from buffer_head
    7335acd51f6b block: Fix partition check for host-aware zoned block devices
    10bcaafc5753 mmc: sdhci-esdhc-imx: clear the buffer_read_ready to reset standard tuning circuit
    78873d5a2717 mmc: sdhci-pci: Read card detect from ACPI for Intel Merrifield
    b572d6c18511 mmc: sdhci: Map more voltage level to SDHCI_POWER_330
    ac6f66f208a1 mmc: dw_mmc: exynos: fix the finding clock sample value
    b1ad3ecffaac mmc: tmio: reenable card irqs after the reset callback
    e1b94f0e744f mmc: mediatek: Move cqhci init behind ungate clock
    9106d68c8082 mmc: cqhci: clear HALT state after CQE enable
    aa2f3e425e22 mmc: vub300: fix control-message timeouts
    e41473543f75 net/tls: Fix flipped sign in tls_err_abort() calls
    8ba94a7f7b9f Revert "net: mdiobus: Fix memory leak in __mdiobus_register"
    836f40777d58 nfc: port100: fix using -ERRNO as command type mask
    e029c9828c5b tipc: fix size validations for the MSG_CRYPTO type
    43849df432c9 ata: sata_mv: Fix the error handling of mv_chip_id()
    66a1c8748068 pinctrl: amd: disable and mask interrupts on probe
    18f31a907c9f Revert "pinctrl: bcm: ns: support updated DT binding as syscon subnode"
    b5c410a4af7d usbnet: fix error return code in usbnet_probe()
    7e8b6a4f18ed usbnet: sanity check for maxpacket
    a350df591870 ARM: 9148/1: handle CONFIG_CPU_ENDIAN_BE32 in arch/arm/kernel/head.S
    351d0f587b4c ARM: 9141/1: only warn about XIP address when not compile testing
    a51d78193d21 ARM: 9139/1: kprobes: fix arch_init_kprobes() prototype
    4108f38c05bd ARM: 9138/1: fix link warning with XIP + frame-pointer
    6aa2d9cf81f9 ARM: 9134/1: remove duplicate memcpy() definition
    78a7a2694e69 ARM: 9133/1: mm: proc-macros: ensure *_tlb_fns are 4B aligned
    e108afbd38a5 ARM: 9132/1: Fix __get_user_check failure with ARM KASAN images

(From OE-Core rev: ae32a59571abec59cc9f19bf9289ec9472b3923b)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-10 19:27:29 +00:00
Bruce Ashfield
b8dc54ba99 linux-yocto-rt/5.15: update to -rt17
Integrating the following commit(s) to linux-yocto-rt/5.15:

    6f51b8d2b7dc Add localversion for -RT release
    3c8ff0c09156 sysfs: Add /sys/kernel/realtime entry
    828d8f9b903f POWERPC: Allow to enable RT
    6db76b613e53 powerpc/stackprotector: work around stack-guard init from atomic
    44be16e0180a powerpc/kvm: Disable in-kernel MPIC emulation for PREEMPT_RT
    a5c27dfc178a powerpc/pseries/iommu: Use a locallock instead local_irq_save()
    dce767609e50 powerpc: traps: Use PREEMPT_RT
    9cad1f8c7dd7 ARM64: Allow to enable RT
    5bd881944e4f ARM: Allow to enable RT
    715792fbbaf7 tty/serial/pl011: Make the locking work on RT
    69221f2f5b91 tty/serial/omap: Make the locking RT aware
    5fa50218f3e3 arm64: signal: Use ARCH_RT_DELAYS_SIGNAL_SEND.
    c004c410d380 arm64/sve: Make kernel FPU protection RT friendly
    7ffcb4485981 arm64/sve: Delay freeing memory in fpsimd_flush_thread()
    322561563b01 KVM: arm/arm64: downgrade preempt_disable()d region to migrate_disable()
    fe5ed302a1ec ARM: enable irq in translation/section permission fault handlers
    f17af435c3a3 arch/arm64: Add lazy preempt support
    10e096c7a491 powerpc: Add support for lazy preemption
    5e15c21804be arm: Add support for lazy preemption
    abc04080e1b3 entry: Fix the preempt lazy fallout
    2fb1741e933b x86: Support for lazy preemption
    24b379de7afc x86/entry: Use should_resched() in idtentry_exit_cond_resched()
    860dbaa27ad1 sched: Add support for lazy preemption
    4d5c9c824eee */softirq: Disable softirq stacks on PREEMPT_RT
    2676f33e2cf4 generic/softirq: Disable softirq stacks on PREEMPT_RT
    1886700e5658 leds: trigger: Disable CPU trigger on PREEMPT_RT
    694e3f263964 drivers/block/zram: Replace bit spinlocks with rtmutex for -rt
    97f765c75d6d mm/zsmalloc: Replace bit spinlock and get_cpu_var() usage.
    49c7010ff12e tpm_tis: fix stall after iowrite*()s
    df583a002c38 virt: acrn: Remove unsued acrn_irqfds_mutex.
    a68737287907 smack: Guard smack_ipv6_lock definition within a SMACK_IPV6_PORT_LABELING block
    ac9df8459eda ASoC: mediatek: mt8195: Remove unsued irqs_lock.
    02bc2e3cbe09 genirq: update irq_set_irqchip_state documentation
    ac932078b2e6 x86: Enable RT also on 32bit
    e262f9f76c5b x86: Allow to enable RT
    fef570ba4596 x86: kvm Require const tsc for RT
    e5a9202c3535 signal/x86: Delay calling signals in atomic
    2c0f317da8b9 drm/i915: Drop the irqs_disabled() check
    06b3f43f370b drm/i915/gt: Use spin_lock_irq() instead of local_irq_disable() + spin_lock()
    ac58ec9af512 drm/i915/gt: Queue and wait for the irq_work item.
    aaa6ddcfd053 drm/i915: skip DRM_I915_LOW_LEVEL_TRACEPOINTS with NOTRACE
    6db29073f209 drm/i915: Disable tracing points on PREEMPT_RT
    5d34e949e11c drm/i915: Don't check for atomic context on PREEMPT_RT
    0ca85efbe2e9 drm/i915: Don't disable interrupts on PREEMPT_RT during atomic updates
    688ce2658570 drm/i915: Use preempt_disable/enable_rt() where recommended
    9a76a256848c drm/i915: Don't disable interrupts and pretend a lock as been acquired in __timeline_mark_lock().
    766248132ccf random: Make it work on rt
    ba411ba63b8e x86: stackprotector: Avoid random pool on rt
    3c158aab9acc panic: skip get_random_bytes for RT_FULL in init_oops_id
    bf099c9ff70f net: dev: always take qdisc's busylock in __dev_xmit_skb()
    783862056952 net: Dequeue in dev_cpu_dead() without the lock
    61793a50d51d net: Use skbufhead with raw lock
    4e369dc108af net/core: use local_bh_disable() in netif_rx_ni()
    8056c6bd6380 rcu: Delay RCU-selftests
    1372b981252b fs/dcache: disable preemption on i_dir_seq's write side
    8f35827f634d fs/dcache: use swait_queue instead of waitqueue
    dc26bf05c680 ptrace: fix ptrace vs tasklist_lock race
    54332013d985 signal: Revert ptrace preempt magic
    65309bca8d9c mm/memcontrol: Disable on PREEMPT_RT
    5d193966a444 u64_stats: Disable preemption on 32bit-UP/SMP with RT during updates
    9e7c9b1a7d21 softirq: Check preemption after reenabling interrupts
    0d4e38f0610e crypto: cryptd - add a lock instead preempt_disable/local_bh_disable
    4a01578f1878 sunrpc: Make svc_xprt_do_enqueue() use get_cpu_light()
    03f8b0f0eedb net: Remove preemption disabling in netif_rx()
    ddd725b42e48 mm/vmalloc: Another preempt disable region which sucks
    28545272667f scsi/fcoe: Make RT aware.
    dcb042c59ca4 md: raid5: Make raid5_percpu handling RT aware
    393999301a85 block/mq: do not invoke preempt_disable()
    8485ff82f922 kernel/sched: add {put|get}_cpu_light()
    274408c7b291 sched: Make preempt_enable_no_resched() behave like preempt_enable() on PREEMPT_RT
    9708837923a7 locking: Allow to include asm/spinlock_types.h from linux/spinlock_types_raw.h
    b5f1fc042d2f lockdep/selftests: Adapt ww-tests for PREEMPT_RT
    3e6dd28f0231 lockdep/selftests: Skip the softirq related tests on PREEMPT_RT
    0da6a4f59354 lockdep/selftests: Unbalanced migrate_disable() & rcu_read_lock()
    b29dc4a9ef20 lockdep/selftests: Add rtmutex to the last column
    db92f5fc3fb7 lockdep: Make it RT aware
    fae24609aafa rtmutex: Add rt_mutex_lock_nest_lock() and rt_mutex_lock_killable().
    9d8c380fa819 rtmutex: Add a special case for ww-mutex handling.
    d6b24f0f2a8a sched: Trigger warning if ->migration_disabled counter underflows.
    6e09a284f2a6 lockdep/selftests: Avoid using local_lock_{acquire|release}().
    bd833044483a locking: Remove rt_rwlock_is_contended()
    36839db14247 jump-label: disable if stop_machine() is used
    5a657ef837de tcp: Remove superfluous BH-disable around listening_hash
    c11095ec78ef mm: workingset: replace IRQ-off check with a lockdep assert.
    168e3d8875c7 cgroup: use irqsave in cgroup_rstat_flush_locked()
    639d2eb6493f sched: Move mmdrop to RCU on RT
    590419b10863 sched: Delay task stack freeing on RT
    37860896be2e sched: Move kprobes cleanup out of finish_task_switch()
    dc3565cd6bbd sched: Disable TTWU_QUEUE on RT
    77db91d4d2b5 sched: Limit the number of task migrations per batch on RT
    8ea3ab8bb409 locking/rt: Take RCU nesting into account for __might_resched()
    b2f56dfeab18 sched: Make cond_resched_lock() variants RT aware
    9bac73a04b71 sched: Make RCU nest depth distinct in __might_resched()
    4f3dd3cb71e5 sched: Make might_sleep() output less confusing
    b8c4ad5ceaec sched: Cleanup might_sleep() printks
    588c973bd55b sched: Remove preempt_offset argument from __might_sleep()
    5b8fbf83bb40 sched: Make cond_resched_*lock() variants consistent vs. might_sleep()
    8e4b532478f2 sched: Clean up the might_sleep() underscore zoo
    3a5e868f92f0 fscache: Use only one fscache_object_cong_wait.
    67ba86618a1e fs/namespace: Boost the mount_lock.lock owner instead of spinning on PREEMPT_RT.
    cad3bedc2a83 smp: Wake ksoftirqd on PREEMPT_RT instead do_softirq().
    394e3bdd3242 irq_poll: Use raise_softirq_irqoff() in cpu_dead notifier
    4de8f9d6a1ad irq_work: Also rcuwait for !IRQ_WORK_HARD_IRQ on PREEMPT_RT
    87e75faa338d irq_work: Handle some irq_work in a per-CPU thread on PREEMPT_RT
    d2100f67254d irq_work: Allow irq_work_sync() to sleep if irq_work() no IRQ support.
    ada60e0098ea sched/rt: Annotate the RT balancing logic irqwork as IRQ_WORK_HARD_IRQ
    f657de711e15 net: stats: Read the statistics in ___gnet_stats_copy_basic() instead of adding.
    0d3a9c303dd9 net: sched: remove one pair of atomic operations
    853f1349041a net: sched: fix logic error in qdisc_run_begin()
    68f3b93760b7 net: sched: Allow statistics reads from softirq.
    86e29a3d2d68 net: sched: Remove Qdisc::running sequence counter
    304640d0b862 net: sched: Merge Qdisc::bstats and Qdisc::cpu_bstats data types
    1c7a827367ee net: sched: Use _bstats_update/set() instead of raw writes
    22701ce1b59f net: sched: Protect Qdisc::bstats with u64_stats
    54538aff544a u64_stats: Introduce u64_stats_set()
    69534c384086 gen_stats: Move remaining users to gnet_stats_add_queue().
    e1f89d46623c mq, mqprio: Use gnet_stats_add_queue().
    d3968711bb65 gen_stats: Add gnet_stats_add_queue().
    c2b1af791919 gen_stats: Add instead Set the value in __gnet_stats_copy_basic().
    3d38b89d239a net/sched: sch_ets: properly init all active DRR list handles
    b59a9b759b1a kcov: Replace local_irq_save() with a local_lock_t.
    8e2db8a2201a kcov: Avoid enable+disable interrupts if !in_task().
    d244291fb820 kcov: Allocate per-CPU memory on the relevant node.
    6eec9f99da0e Documentation/kcov: Define `ip' in the example.
    e619eb9cb198 Documentation/kcov: Include types.h in the example.
    f002c820156b x86/softirq: Disable softirq stacks on PREEMPT_RT
    12b80085754b mm: Disable NUMA_BALANCING_DEFAULT_ENABLED and TRANSPARENT_HUGEPAGE on PREEMPT_RT
    a1411120989b mm/scatterlist: Replace the !preemptible warning in sg_miter_stop()
    56fb69cc8a0b mm: page_alloc: Use migrate_disable() in drain_local_pages_wq()
    39d1d6a46eaa mm: Allow only SLUB on PREEMPT_RT
    bf1b661248f6 crypto: testmgr - Only disable migration in crypto_disable_simd_for_test()
    ddd1767afd69 samples/kfifo: Rename read_lock/write_lock
    a6c921dd2368 net/core: disable NET_RX_BUSY_POLL on PREEMPT_RT
    96cc6b82ae54 mm: Disable zsmalloc on PREEMPT_RT
    f77af3465961 efi: Allow efi=runtime
    8b3cde535f8f efi: Disable runtime services on RT
    7082e94c5405 lockdep: Let lock_is_held_type() detect recursive read as read
    ffc314d30f16 genirq: Disable irqfixup/poll on PREEMPT_RT.
    1ec49f38b6ae genirq: Move prio assignment into the newly created thread
    e272fc66d6bc kthread: Move prio/affinite change into the newly created thread
    468813504d5a rcutorture: Avoid problematic critical section nesting on PREEMPT_RT
    e6a408241cee sched: Switch wait_task_inactive to HRTIMER_MODE_REL_HARD
    cd6bda4839a6 printk: Enhance the condition check of msleep in pr_flush()
    2ad1282d77e8 printk: add pr_flush()
    cd582486f3e8 printk: add console handover
    25f13bd1d07b printk: remove deferred printing
    2d440f3f2ee5 printk: move console printing to kthreads
    df0a27dbd128 printk: introduce kernel sync mode
    4efb519165f1 printk: use seqcount_latch for console_seq
    8653ea7d3c45 printk: call boot_delay_msec() in printk_delay()
    892cddfada1f printk: relocate printk_delay()
    e1ac77117990 serial: 8250: implement write_atomic
    967b98b7c528 kdb: only use atomic consoles for output mirroring
    36422a33e3b3 console: add write_atomic interface
    7b9055c4c17d printk: rename printk cpulock API and always disable interrupts
    3791dee37847 arm64: mm: Make arch_faults_on_old_pte() check for migratability
    e5b82790a28d sched: Introduce migratable()
    0cf3b776c423 rcu/tree: Protect rcu_rdp_is_offloaded() invocations on RT

(From OE-Core rev: a784cd98bb095e19957bc5aeec3c3303bea64def)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-10 19:27:29 +00:00
Ross Burton
c0583c6bfc meta: use ln -rs instead of lnr
lnr is a script in oe-core that creates relative symlinks, with the same
behaviour as `ln --relative --symlink`.  It was added back in 2014[1] as
not all of the supported host distributions at the time shipped
coreutils 8.16, the first release with --relative.

However the oldest coreutils release in the supported distributions is
now 8.22 in CentOS 7, so lnr can be deprecated and users switched to ln.

[1] 6ae3b85eaffd1b0b6914422e8de7c1230723157d

(From OE-Core rev: 1ca455a98de4c713f58df0a537d4c982d256cd68)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-10 19:27:29 +00:00
Ross Burton
974df2f61c vim: add patch number to CVE-2021-3778 patch
(From OE-Core rev: 222be29051a3543ac63a0eb07019e90d44429b16)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-10 19:27:28 +00:00
Khem Raj
c44131cf61 wic: Use os.rename instead of bb.utils.rename
This is not invoked with bitbake context as a result bb.utils is not
visible when this function is called during image creation and builds
fail e.g.

NameError: name 'bb' is not defined

(From OE-Core rev: df9dca9fe4dd1abfe5f3986389a8e8ff524da5d7)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Joshua Watt <JPEWhacker@gmail.com>
Cc: Devendra Tewari <devendra.tewari@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-10 19:27:28 +00:00
Ross Burton
ce534e8e16 vim: fix CVE-2021-3796, CVE-2021-3872, and CVE-2021-3875
Backport patches from upstream to fix these CVEs.

(From OE-Core rev: b493eb4f9a6bb75a2f01a53b6c70762845bf79f9)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-10 19:27:28 +00:00
wangmy
47b01a4ef3 msmtp: upgrade 1.8.18 -> 1.8.19
(From OE-Core rev: 52b44cb8770097310549aaef9bf014cc30ab83c6)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-10 19:27:28 +00:00
wangmy
9552b4ce0b libpcre2: upgrade 10.37 -> 10.39
This release is mainly to fix an important JIT bug, but it also
contains an update to Unicode 14.0.0 and some code and configuration tidies.

License-Update:
 Add "Retired from" before "University of Cambridge Computing Service"

(From OE-Core rev: 928afb0d6faa48dd43cdc2c1a6598ad048a43d36)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-10 19:27:28 +00:00
wangmy
05e07584ca iw: upgrade 5.9 -> 5.16
(From OE-Core rev: bdc61a7c56d45561aa2441de6e4634962c9b59a9)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-10 19:27:28 +00:00
wangmy
72fe0c2603 iso-codes: upgrade 4.7.0 -> 4.8.0
- ISO 3166-1: Add flag emoji to countries. Thanks to Pander
  for the suggestion. Fixes #19
- ISO 639-5: New translation for Chinese (Simplified)

- ISO 3166-2: Major update of data.
  Thanks to the script of Kevin Kaiser, which enables
  the download of ISO pages and parses the data.
  Fixes #15, #16, #27
- Rename ChangeLog.md to CHANGELOG.md and follow the suggestions
  from [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
- Move all CHANGELOG entries from versions before 4.0 to an
  archive file (CHANGELOG-PRE-4.0.md) in order to reduce the
  massive size of this CHANGELOG.
- Translation updates for ISO 3166-1
- Translation updates for ISO 3166-2
- Translation updates for ISO 639-2
- Translation updates for ISO 639-3
- Translation updates for ISO 639-5
- Translation updates for ISO 15924

(From OE-Core rev: bc2b7decc9a9720500c381ee4839718dd820a15a)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-10 19:27:28 +00:00
wangmy
93c449d6b2 iproute2: upgrade 5.14.0 -> 5.15.0
(From OE-Core rev: 609fd71c5d132b77072f1eb0cc4fe94370371eff)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-10 19:27:28 +00:00
wangmy
0ab57c6816 harfbuzz: upgrade 3.0.0 -> 3.1.1
Work around GCC cast-align error/warning on some platforms. (Behdad Esfahbod)
Documentation improvements. (Matthias Clasen)

(From OE-Core rev: e1bcaabdf73e995dd01b9c81807c855a2f0ad6bc)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-10 19:27:28 +00:00
Kai Kang
2c01924791 squashfs-tools: follow-up fix for CVE-2021-41072
Squash a follow-up fix for CVE-2021-41072 from upstream:
https://github.com/plougher/squashfs-tools/commit/19fcc93

(From OE-Core rev: 70709ff0741ed9fb9c111ef4b7aa2ee7432453f4)

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-10 19:27:28 +00:00
wangmy
40a8f79dda ell: upgrade 0.44 -> 0.45
Fix issue with ICMPv6 and handling re-entrantly callbacks.

(From OE-Core rev: 2968b9f18e35c2b9393dab666f229ab2419778b3)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-10 19:27:28 +00:00
wangmy
ac34f24442 diffoscope: upgrade 189 -> 190
Changelog:
[Chris Lamb]
Don't raise a traceback if we cannot de-marshal Python bytecode to support
Python 3.7 loading newer .pyc files.
(Closes: reproducible-builds/diffoscope#284)
Fix Python tests under Python 3.7 with file 5.39+.

[Vagrant Cascadian]
Skip Python bytecode testing when "file" is older than 5.39.

[Roland Clobus]
Detect whether the GNU_BUILD_ID field has been modified.

(From OE-Core rev: b9c59b5d2ac29544c1877f50ec10d2126339d814)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-10 19:27:28 +00:00
wangmy
a0b518d332 btrfs-tools: upgrade 5.14.2 -> 5.15
Changelog v5.15 (Nov 2021)

mkfs: new defaults!
no-holes
free-space-tree
DUP for metadata unconditionally
libbtrfsutil: add missing profile defines
libbtrfs: minimize its impact on the other code, refactor and separate implementation where needed, cleanup afterwards, reduced header exports
documentation: introduce sphinx build and RST versions of manual pages, will become the new format and replace asciidoc
fixes: fix warning regarding v1 space cache when only v2 (free space tree) is enabled

(From OE-Core rev: 77d08d327b9e675109dc95c27ee4910d9047ec49)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-10 19:27:28 +00:00
Martin Jansa
87b49474f6 gdb-cross: add dependency on gmp-native
* it was already added for target and cross-canadian gdb in:
  commit 4643d1eb222151384f77d13a936537aae5ca3fe6
  Author: Khem Raj <raj.khem@gmail.com>
  Date:   Fri Nov 5 17:37:33 2021 -0700

    gdb: Add dependency on libgmp

    gdb 11 has added this library as must have

* but gdb-cross.inc overwrites DEPENDS from gdb-common.inc
  and needs the dependency as well as shown in log.do_compile:

  checking for libgmp... no
  configure: error: GMP is missing or unusable
  make[1]: *** [Makefile:9418: configure-gdb] Error 1

  and in gdb-cross-i686/11.1-r0/build-i686-oe-linux/gdb/config.log:

  configure:10402: checking for libgmp
  configure:10422: gcc  -o conftest -isystem/OE/tmp-glibc/work/x86_64-linux/gdb-cross-i686/11.1-r0/recipe-sysroot-native/usr/include -O2 -pipe     -isystem/OE/tmp-glibc/work/x86_64-linux/gdb-cross-i686/11.1-r0/recipe-sysroot-native/usr/include -I/OE/tmp-glibc/work/x86_64-linux/gdb-cross-i686/11.1-r0/recipe-sysroot-native/usr/include  -L/OE/tmp-glibc/work/x86_64-linux/gdb-cross-i686/11.1-r0/recipe-sysroot-native/usr/lib                         -L/OE/tmp-glibc/work/x86_64-linux/gdb-cross-i686/11.1-r0/recipe-sysroot-native/lib                         -Wl,--enable-new-dtags                         -Wl,-rpath-link,/OE/tmp-glibc/work/x86_64-linux/gdb-cross-i686/11.1-r0/recipe-sysroot-native/usr/lib                         -Wl,-rpath-link,/OE/tmp-glibc/work/x86_64-linux/gdb-cross-i686/11.1-r0/recipe-sysroot-native/lib                         -Wl,-rpath,/OE/tmp-glibc/work/x86_64-linux/gdb-cross-i686/11.1-r0/recipe-sysroot-native/usr/lib                         -Wl,-rpath,/OE/tmp-glibc/work/x86_64-linux/gdb-cross-i686/11.1-r0/recipe-sysroot-native/lib                         -Wl,-O1 -Wl,--allow-shlib-undefined -Wl,--dynamic-linker=/OE/tmp-glibc/sysroots-uninative/x86_64-linux/lib/ld-linux-x86-64.so.2 conftest.c -lncursesw -lm -ldl  -lgmp >&5
  conftest.c:52:10: fatal error: gmp.h: No such file or directory
     52 | #include <gmp.h>
        |          ^~~~~~~

* this fails only when the host OS doesn't have GMP installed
  otherwise it will use libgmp from host and ignore
  --with-libgmp-prefix=/OE/tmp-glibc/work/x86_64-linux/gdb-cross-i686/11.1-r0/recipe-sysroot-native/OE/tmp-glibc/work/x86_64-linux/gdb-cross-i686/11.1-r0/recipe-sysroot-native/usr

(From OE-Core rev: 09a7d9d8d83529d82f847e52feac7719efb02a99)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-10 19:27:28 +00:00
Richard Purdie
c7fa673c79 mirrors: Add uninative mirror on kernel.org
At the last nas outage, we realised that we don't have good mirrors of the
uninative tarball if our main system can't be accessed. kernel.org mirrors
some Yocto Project data so we've ensured uninative is there. Add the appropriate
mirror url to make use of that.

(From OE-Core rev: 1833cb0c5841afafb468b963b74b63366b09a134)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-10 19:27:28 +00:00
Khem Raj
e4ade82d40 qemu: Fix build on aarch64/musl
(From OE-Core rev: 35040bba25bf994fa9e03f2b8f0c49822c41192c)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-10 19:27:28 +00:00
Richard Purdie
ec2ba25376 bitbake: cooker: Handle parsing results queue race
The previous fix introduced a race where the queue might not be empty
but all the parser processes have exited. Handle this correctly to avoid
occasional errors.

(Bitbake rev: 8e7f2b6500e26610f52d128b48ca0a09bf6fb2cb)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-10 19:25:38 +00:00
Richard Purdie
2c46245f44 bitbake: fetch/wget: Add timeout for checkstatus calls (30s)
We had an issue where a webserver serving sstate had filesystem issues so
would accept connections but effectively not do anything with them. This
causes bitbake to hang whilst processing things like sstate objects inside
the checkstatus() calls. It can be replicated by setting up a server like:

socat -u TCP4-LISTEN:NNN,fork OPEN:/dev/null

and pointing SSTATE_MIRRORS in OE at that address.

Adding a timeout to the checkstatus calls of 15s means that whilst the
system will pause, it will then continue and not hang entirely. Since there
isn't a large transfer here, 30s should be a reasonable response time after
which we should fall back to building things ourselves.

[YOCTO #13716]

(Bitbake rev: edc3b0c3953cab675e29fe295b58cfa84ba811c3)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-10 19:25:38 +00:00
Richard Purdie
02f36dc832 bitbake: parse/ast: Show warnings for append/prepend/remove operators combined with +=/.=
Operations like XXX:append += "YYY" are almost always wrong and this
is a common mistake made in the metadata. Show warnings for these usages
with a view to making it a fatal error eventually.

(Bitbake rev: 8c31e75557dc6a8d8f407b5d24d6327889a3e3b1)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-10 19:25:38 +00:00
Richard Purdie
d922f577ae bitbake: cooker: Remove debug code, oops :(
(Bitbake rev: 19291665fa8b6cc331290f2542af3e8e653203f1)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-10 12:21:14 +00:00
Leif Middelschulte
6bc5e9a03c meson: improve SDK's wrapper to make Wraps work
Meson, as provided by the SDK, would fail to fetch Wraps' sources on bare
systems (i.e. systems, that only provide little more than the SDK).

This change modifies the wrapper script so that it sets an environment
variable (unless it is already set) that is used to determine valid
certificates for secured connections.

It does not affect bitbake's interaction with meson.

The SDK's SSL directory was not searched, so meson would fail when it tried
to fetch sources via https, that were specified in wrap files.
Specifically `urllib` would fail:
```
<urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1129)>
```

Caution: this patch depends on the underlying C library (i.e. openssl)
to consider this environment variable.

(From OE-Core rev: afad2f09ebbfe395f8fafce8218e26056479fe39)

Signed-off-by: Leif Middelschulte <Leif.Middelschulte@klsmartin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-08 22:03:51 +00:00
Chen Qi
c22ebd2f54 avahi: update CVE id fixed by local-ping.patch
CVE-2021-36217 is treated as a duplicate of CVE-2021-3502.
Update the local-ping.patch to mark it resolve both.

(From OE-Core rev: 4d75d6c39f1faeb38191b55f1fa9311b63fcfb29)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-08 22:03:51 +00:00
Khem Raj
65b01cbb7b qemu: Build on musl targets
This has been disabled for the given compile error which has been fixed
over time, qemu for target builds fine with musl now a days

(From OE-Core rev: c8902102a96475d7d292a04f0a2e5564cdab4cfe)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-08 22:03:51 +00:00
Tom Hochstein
db9660c7db bitbake.conf: Use wayland distro feature for native builds
The wayland-scanner is missing from SDKs with weston, but the weston build
requires wayland-scanner. Allow the distro feature in order to include
the wayland-scanner packages via nativesdk-packagegroup-sdk-host.bb.

(From OE-Core rev: 858cc6f257e22e39df83f4808ea27c6d12cd1b80)

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-08 22:03:51 +00:00
Tom Hochstein
9e929c83f1 nativesdk-packagegroup-sdk-host.bb: Update host tools for wayland
The wayland-scanner host tool required to build weston is moved to the
wayland-tools package, so update the SDK host tools list accordingly.

Also, the weston build requires wayland-scanner.pc to find wayland-scanner,
so add wayland-dev.

(From OE-Core rev: 31ed91bdbb0ec05730fb98d7cc523bb46aca50e3)

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-08 22:03:51 +00:00
Tom Hochstein
166cbbbd48 wayland: Fix wayland-tools packaging
There are some packaging problems due to the wayland-tools packaging
implementation. The wayland-tools package currently looks like this:

wayland-tools
└── usr
    ├── bin
    │   └── wayland-scanner
    └── share
        └── wayland
            ├── wayland.dtd
            ├── wayland-scanner.mk
            └── wayland.xml

The files wayland.dtd and wayland.xml belong in the main package,
while wayland-scanner.mk belongs in wayland-dev.

Fix the wayland.dtd and wayland.xml packaging by prepending the
wayland-tools package and dropping the main package FILES variable
override. The file wayland-scanner.mk is included in the main
package by default, and so must be explicitly added to wayland-dev.

(From OE-Core rev: a31fbec45d24df5b74091940d0e0b2daf34d8492)

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-08 22:03:51 +00:00
Richard Purdie
28937721ab bitbake: runqueue: Fix runall option handling
The previous fix for runall option handling had a small bug in it, it
didn't clear the originally processed task list which meant it was running
too many tasks. Fix this so the list is reset and rebuild correctly.

(Bitbake rev: 87c9e120897ed04dfc64d4752fc602f9bfcb8645)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-08 22:01:19 +00:00
Richard Purdie
267eca35c1 bitbake: fetch2/checksum/siggen: Fix taskhashes not tracking file directories
Currently if you have something like:

SRC_URI = "file://foobar;subdir=${S}"

and a file like:

foobar/1/somefile

and then move it to:

foobar/2/somefile

the task checksums don't reflect/notice this. The file-checksum fields
encode two pieces of data, the file path and whether or not the file
exists. Changing the code which uses these fields is problematic.

We can however add a "/./" path element which means "include the bit
after the marker in the checksum" which the path walking code can use
to mark which bits of the path are visible to the fetcher.

I'm not convinced this is great design but it does appear to work.

(Bitbake rev: b4975d2ecf615ac4c240808fbc5a3f879a93846b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-08 22:01:19 +00:00
Richard Purdie
bf411441f5 bitbake: cooker: Handle parse threads disappearing to avoid hangs
If one of the parse threads disappears during parsing for some reason, bitbake
currently hangs. Avoid this (and zombie threads hanging around) by joining()
threads which have exited.

(Bitbake rev: dc86a533d951d13643ce446533370da804782afc)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-08 22:01:19 +00:00
Richard Purdie
d8e5d5fc16 bitbake: tests/fetch: Update pcre.org address after github changes
vcs.pcre.org was a redirect to github which we use for subversion testing.
With the protocol changes at github and the removal of the redirect, use a
direct address for github.

(Bitbake rev: 6230ca71eb7eb2a6db162e28a01727d00af5299b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-07 15:50:32 +00:00
Peter Kjellerstedt
66914d05dc libx11-compose-data: Update LICENSE to better reflect reality
There are no traces of neither the BSD-2-Clause license nor the
BSD-4-Clause license being used in the code. There is one occurrence
of the BSD-1-Clause license. On the other hand, HPND and
HPND-sell-variant are all over the place.

(From OE-Core rev: b0f30792fd0ea41f1d1590dbe0452c956e018c82)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-07 15:49:52 +00:00
Peter Kjellerstedt
04492e42fd libx11: Update LICENSE to better reflect reality
There are no traces of neither the BSD-2-Clause license nor the
BSD-4-Clause license being used in the code. There is one occurrence
of the BSD-1-Clause license. On the other hand, HPND and
HPND-sell-variant are all over the place.

(From OE-Core rev: 5cd90092e21ad245df40a60feed3598dd9c6b98b)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-07 15:49:51 +00:00
Ross Burton
daa069382c scons: support out-of-tree builds
SCons has a slightly unusual implementation of out-of-tree builds where
there is no standard way of doing it. However, if a recipe sets B to
the idiomatic ${WORKDIR}/build and passes the right arguments so that this
is used then scons will fail as it is trying to find the SConstruct file
in ${B} not ${S}.

Always pass --directory=${S} to scons so that the SConstruct file can be
found, and don't call --clean if out-of-tree builds are being used as
we would have just deleted the entire build tree already.

(From OE-Core rev: 88d77d82ee506576988936e06b8d624879a80f2e)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-07 15:49:51 +00:00
Joel Winarske
ddcaf35962 mesa: Add PACKAGECONFIG option for broadcom v3d Vulkan driver
Enables building the Vulkan 1.1 compliant v3d driver.

(From OE-Core rev: 8cc28b231b821bb9669eb3980281d27399f378be)

Signed-off-by: Joel Winarske <joel.winarske@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-07 15:49:51 +00:00
Bruce Ashfield
b3f26faf05 linux-yocto/5.15: introduce recipes
The 5.15 kernel will be a LTS release, so we introduce our reference
recipes to track the release.

We have some configuration tweaks for the final 5.15 release, but this
is otherwise the same as the kernel that was tested in linux-yocto-dev.

(From OE-Core rev: 9241266d18fc081f570bbb22b45d0875546a2e93)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-07 15:49:51 +00:00
Bruce Ashfield
f4bafee142 linux-libc-headers: update to v5.15
No patches needed refreshing or removal, so we just update the
SRC_URI and pick up the latest uapi / kernel headers.

(From OE-Core rev: 9cebccedb16919b70198ee26acb8fcb6c4565359)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-07 15:49:51 +00:00
Bruce Ashfield
824782d6b5 ppp: fix build against 5.15 headers
The 5.15 kernel has removed ipx support, along with the userspace
visible header.

The build error was found for muslc, since it doesn't have a
fallback header, we disable it for both glibc/muslc.

This support wasn't used previously (as it hasn't been very well
maintained in the kernel for several years), so we can simply
disable it in our build and wait for upstream to do a release that
drops the support.

Although the tarball we use for our build (versus git), doesn't
use the autoconf disable flag to turn off the support, it is included
in this patch in case someone is building via git source base.

Upstream-Status: Inappropriate [OE-specific configuration/headers]

(From OE-Core rev: 2d61b061f52cc8dbed82e2d9547e8b52d3ec9e34)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-07 15:49:51 +00:00
Khem Raj
ed151b32e8 librsvg: Disable 64bit atomics on riscv32/mipsel in crossbeam
(From OE-Core rev: d1635d80c2e0c8680c0af9966eb6007700601c39)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-07 10:56:26 +00:00
Khem Raj
099199c951 gdb: Add dependency on libgmp
gdb 11 has added this library as must have

(From OE-Core rev: 4643d1eb222151384f77d13a936537aae5ca3fe6)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-07 10:56:26 +00:00
Khem Raj
7bfe8b2f8c gdb: Upgrade to 11.1
Drop backported patches
Changes are here [1]

[1] https://sourceware.org/pipermail/gdb-announce/2021/000129.html

(From OE-Core rev: e1c421c0450212201ad9737bf203eac2bfcd37db)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-07 10:56:26 +00:00
Michael Opdenacker
eec7affb53 manuals: start of documentation standards document
This first version specifies how to create consistent SGV graphics

(From yocto-docs rev: 370b9e34e9092c9eed22df2e8b2d0bb979487e5c)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-07 10:44:52 +00:00
Ross Burton
3c3e8c4f39 kickstart: update busybox note regarding PARTUUID
As of oe-core c996cabf the default BusyBox configuration supports
PARTUUID, so update the note to reflect this.

(From yocto-docs rev: cfd0498c6a981bcdc4b6bd03cb5f8dd42f0b39fc)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Reviewed-by: Quentin Schulz <foss@0leil.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-07 10:44:52 +00:00
Vyacheslav Yurkov
683a7db46d ref-manual: update overlayfs class
Describe how to use a generated helper service to set up a proper
systemd dependency chain.

(From yocto-docs rev: c8c1f7e852830dae4468da70e1ac732d7bbce06f)

Signed-off-by: Vyacheslav Yurkov <uvv.mail@gmail.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-07 10:44:52 +00:00
Michael Opdenacker
fdcbca09f8 manuals: correct "take affect" by "take effect"
(From yocto-docs rev: aeaf46f78b940744ce2e160e78b244395087e8e7)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-07 10:44:52 +00:00
Ross Burton
f8f44cb476 ref-manual: improve documentation for SDKMACHINE
(From yocto-docs rev: 69bfb07772e7d358bb532191189a2518d1046178)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Reviewed-by: Quentin Schulz <foss@0leil.net>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-07 10:44:52 +00:00
Alexander Kanavin
5315936006 libpcre/libpcre2: correct SRC_URI
http://ftp.pcre.org is down, take sources according to links on
http://www.pcre.org

(From OE-Core rev: 81ba0ba3e8d9c08b8dc69c24fb1d91446739229b)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-07 08:45:10 +00:00
Alexander Kanavin
b495d60a09 libxml2: mark patch as non-upstreamable
(From OE-Core rev: be5be9e36dc76215f8563d87f5a6b09c1ac7190b)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-07 08:45:10 +00:00
Alexander Kanavin
ead2f6ced9 librsvg: set the needed atomic configuration flags directly per-target
Do not try to mangle the upstream list of targets;
after discussion with upstream it turns out it's neither
necessary nor upstreamable:
https://github.com/crossbeam-rs/crossbeam/pull/751

(From OE-Core rev: 97562668e1a76710acd2be7c8cdbcc1deb80bd9f)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-07 08:45:10 +00:00
Alexander Kanavin
d5f7ee0e30 systemd-bootchart: submit musl patches upstream
(From OE-Core rev: abb4f439cdb364f7b04da8bd452fc18dbe44e67e)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-07 08:45:10 +00:00
Alexander Kanavin
206dadd9c2 valgrind: mark ptest-specific patch as inappropriate
I do not think upstream is going to accept this; if you disagree
please do the submission.

(From OE-Core rev: 22b0bd6cfdbf7216a6aca34fa9ca93133a3cee64)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-07 08:45:10 +00:00
Jose Quaresma
45f732273c bitbake: cooker: check if upstream hash equivalence server is available
When the user specify an invalid upstream hash equivalence server in
BB_HASHSERVE_UPSTREAM notify the user that we can't connect the server.

(Bitbake rev: be45aeb9a84f30c28711e87e2d2a4a86320a8d94)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-05 11:41:46 +00:00
Richard Purdie
47e5c456a2 bitbake: runqueue: Fix runall option task deletion ordering issue
The runbuild option handling in runqueue was flawed as items deleted from the
main task list may be dependencies and hence cause index errors.

Rather than modify runtaskentries straight away, compute a new shorted list
and use that as an input to the second phase. This avoids the need to add tasks
back to the list meaning delcount can be simplifed to a simple counter.

The second use case in runonly doen't re-add items so doesn't have this
issue.

(Bitbake rev: 3428e3c54eb5cc03ff96f9cee6dc839afee7a419)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-05 11:41:46 +00:00
Khem Raj
a45d5e201c kernel-devsrc: Add vdso.lds and other build files for riscv64 as well
These additional bits are needed on riscv64 as well
Fixes
make[1]: *** No rule to make target 'arch/riscv/kernel/vdso/vdso.lds', needed by 'arch/riscv/kernel/vdso/vdso.so.dbg'.  Stop.
make: *** [arch/riscv/Makefile:114: vdso_prepare] Error 2

(From OE-Core rev: 446972600ed51ca75a2a4e579cdc3e6dd2e05195)

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>
2021-11-05 11:41:00 +00:00
Ross Burton
1406a4f678 meson: set objcopy in the cross and native toolchain files
(From OE-Core rev: 0a589998e717ae3865f0db5abe6005ab4eee86d9)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-05 11:41:00 +00:00
Jose Quaresma
5b9210d66c sstate: another fix for touching files inside pseudo
This patch is a fixup for 676757f "sstate: fix touching files inside pseudo"

running the 'id' command inside the sstate_unpack_package
function shows that this funcion run inside the pseudo:

 uid=0(root) gid=0(root) groups=0(root)

The check for [ -w ${SSTATE_PKG} ] and [ -O ${SSTATE_PKG}.siginfo ]
will always return true and the touch can fail when the real user
don't have permission or in readonly filesystem.

As the documentation refers:
- the file test operator "-w" check if the file has write permission
(for the user running the test).
- the file test operator "-O" check if you are owner of file

We can avoid this test running the touch and mask any return errors
that we have.

(From OE-Core rev: 29fc85997ade490ae46ffca37ef8e1a56957c876)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-05 11:41:00 +00:00
Andres Beltran
d313f53126 create-spdx: Set the Organization field via a variable
Currently, the "Organization" field for SBOMs is hard-coded in
create-spdx. Create a new variable SPDX_ORG to make this field more
generic.

(From OE-Core rev: f239814f3f5d9bd54de54b0f2a5081067336e32b)

Signed-off-by: Andres Beltran <abeltran@linux.microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-05 11:41:00 +00:00
Bruce Ashfield
993b6ec2c2 strace: fix build against 5.15 kernel/kernel-headers
kernel 5.15 removed ipx.h from the uapi, but strace hasn't adjusted
its tests to the removal.

There is a WIP patch on the esyr/5.15 branch that solves the problem,
so we grab it here, adjust for context and fix our build problem.

When strace updates to 5.15, and we can bump our version and drop
this patch.

Upstream-Status: Backport [commit cca828197c0e16c2599129114]

(From OE-Core rev: a8c4ba727251e53494a4aec483fcc51982e6fb75)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-05 11:41:00 +00:00
Bruce Ashfield
b0605db35d linux-yocto-rt/5.10: update to -rt54
Integrating the following commit(s) to linux-yocto-rt/5.10:

    f01089784fd6 Linux 5.10.73-rt54
    f34df8f3c666 Linux 5.10.65-rt53
    271c5e6e4064 Linux 5.10.59-rt52
    1a4bba4bc32c locking/rwsem-rt: Remove might_sleep() in __up_read()
    ff591a2bdcfb Linux 5.10.59-rt51
    8d185ac23c11 Linux 5.10.58-rt50
    2c0fd44153f5 Linux 5.10.56-rt49
    8b083d3c993c printk: Enhance the condition check of msleep in pr_flush()
    448cd29e3bc9 Linux 5.10.56-rt48

(From OE-Core rev: 7c7dc8f38cf1e874a7722389c95d895e10855d9a)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-05 11:41:00 +00:00
Bruce Ashfield
c4eaae88f2 linux-yocto/5.10: update to v5.10.76
Updating linux-yocto/5.10 to the latest korg -stable release that comprises
the following commits:

    378e85d1aeb5 Linux 5.10.76
    cfa79faf7e1f pinctrl: stm32: use valid pin identifier in stm32_pinctrl_resume()
    c56c801391c3 ARM: 9122/1: select HAVE_FUTEX_CMPXCHG
    d088db8637bb selftests: bpf: fix backported ASSERT_FALSE
    3a845fa00fd7 e1000e: Separate TGP board type from SPT
    021b6d11e590 tracing: Have all levels of checks prevent recursion
    3a0dc2e35a5d net: mdiobus: Fix memory leak in __mdiobus_register
    cfe9266213c4 bpf, test, cgroup: Use sk_{alloc,free} for test cases
    188907c25218 s390/pci: fix zpci_zdev_put() on reserve
    f18b90e9366f can: isotp: isotp_sendmsg(): fix TX buffer concurrent access in isotp_sendmsg()
    2304dfb548a4 scsi: core: Fix shost->cmd_per_lun calculation in scsi_add_host_with_dma()
    c58654f344dd net: hns3: fix for miscalculation of rx unused desc
    96fe5061291d sched/scs: Reset the shadow stack when idle_task_exit
    96f0aebf29be scsi: qla2xxx: Fix a memory leak in an error path of qla2x00_process_els()
    90c8e8c0829b scsi: iscsi: Fix set_param() handling
    0eb254479685 Input: snvs_pwrkey - add clk handling
    ea9c1f5d8a3a perf/x86/msr: Add Sapphire Rapids CPU support
    7a5a1f09c8b4 libperf tests: Fix test_stat_cpu
    e56a3e7ae353 ALSA: hda: avoid write to STATESTS if controller is in reset
    85c8d8c1609d platform/x86: intel_scu_ipc: Update timeout value in comment
    9f591cbdbed3 isdn: mISDN: Fix sleeping function called from invalid context
    ab4f542b515b ARM: dts: spear3xx: Fix gmac node
    15d3ad79885b net: stmmac: add support for dwmac 3.40a
    f9d16a428489 btrfs: deal with errors when checking if a dir entry exists during log replay
    369db2a91d5c ALSA: hda: intel: Allow repeatedly probing on codec configuration errors
    81d8e70cdce4 gcc-plugins/structleak: add makefile var for disabling structleak
    69078a94365a net: hns3: fix the max tx size according to user manual
    f40c2281d2c0 drm: mxsfb: Fix NULL pointer dereference crash on unload
    96835b68d7b3 net: bridge: mcast: use multicast_membership_interval for IGMPv3
    0e033cb40761 selftests: netfilter: remove stray bash debug line
    f8a6541345c2 netfilter: Kconfig: use 'default y' instead of 'm' for bool config option
    7f221ccbee4e isdn: cpai: check ctr->cnr to avoid array index out of bound
    77c0ef979e32 nfc: nci: fix the UAF of rf_conn_info object
    8f042315fcc4 KVM: nVMX: promptly process interrupts delivered while in guest mode
    b41fd8f5d2ad mm, slub: fix incorrect memcg slab count for bulk free
    568f906340b4 mm, slub: fix potential memoryleak in kmem_cache_open()
    48843dd23c7b mm, slub: fix mismatch between reconstructed freelist depth and cnt
    c5c2a80368e9 powerpc/idle: Don't corrupt back chain when going idle
    197ec50b2df1 KVM: PPC: Book3S HV: Make idle_kvm_start_guest() return 0 if it went to guest
    fbd724c49bea KVM: PPC: Book3S HV: Fix stack handling in idle_kvm_start_guest()
    9258f58432c5 powerpc64/idle: Fix SP offsets when saving GPRs
    3e16d9d525a7 net: dsa: mt7530: correct ds->num_ports
    16802fa4c33e audit: fix possible null-pointer dereference in audit_filter_rules
    0d867a359979 ASoC: DAPM: Fix missing kctl change notifications
    a2606acf418e ALSA: hda/realtek: Add quirk for Clevo PC50HS
    6411397b6d7a ALSA: usb-audio: Provide quirk for Sennheiser GSP670 Headset
    b721500c979b vfs: check fd has read access in kernel_read_file_from_fd()
    895ceeff31b1 elfcore: correct reference to CONFIG_UML
    3cda4bfffd4f userfaultfd: fix a race between writeprotect and exit_mmap()
    93be0eeea14c ocfs2: mount fails with buffer overflow in strlen
    f1b98569e81c ocfs2: fix data corruption after conversion from inline format
    1727e8688d2e ceph: fix handling of "meta" errors
    603d4bcc0fcd ceph: skip existing superblocks that are blocklisted or shut down when mounting
    d48db508f911 can: j1939: j1939_xtp_rx_rts_session_new(): abort TP less than 9 bytes
    5abc9b9d3ca5 can: j1939: j1939_xtp_rx_dat_one(): cancel session if receive TP.DT with error length
    864e77771a24 can: j1939: j1939_netdev_start(): fix UAF for rx_kref of j1939_priv
    ecfccb1c58c9 can: j1939: j1939_tp_rxtimer(): fix errant alert in j1939_tp_rxtimer
    053bc12df0d6 can: isotp: isotp_sendmsg(): add result check for wait_event_interruptible()
    0917fb04069a can: isotp: isotp_sendmsg(): fix return error on FC timeout on TX path
    28f28e4bc3a5 can: peak_pci: peak_pci_remove(): fix UAF
    9697ad6395f9 can: peak_usb: pcan_usb_fd_decode_status(): fix back to ERROR_ACTIVE state notification
    4758e92e75ca can: rcar_can: fix suspend/resume
    4a0928c3ebca net: enetc: fix ethtool counter name for PM0_TERR
    00ad7a015409 drm/panel: ilitek-ili9881c: Fix sync for Feixin K101-IM2BYL02 panel
    eccd00728b1a ice: Add missing E810 device ids
    6418508a3ac2 e1000e: Fix packet loss on Tiger Lake and later
    29f1bdcaa3dd net: stmmac: Fix E2E delay mechanism
    d36b15e3e7b5 net: hns3: disable sriov before unload hclge layer
    6a72e1d78a2f net: hns3: fix vf reset workqueue cannot exit
    32b860d364d2 net: hns3: schedule the polling again when allocation fails
    96c013f40c9b net: hns3: add limit ets dwrr bandwidth cannot be 0
    21f61d10435c net: hns3: reset DWRR of unused tc to zero
    53770a411559 powerpc/smp: do not decrement idle task preempt count in CPU offline
    81dbd898fb7b NIOS2: irqflags: rename a redefined register name
    6edf99b000d6 net: dsa: lantiq_gswip: fix register definition
    ef97219d5fec ipv6: When forwarding count rx stats on the orig netdev
    38d984e5e845 tcp: md5: Fix overlap between vrf and non-vrf keys
    c28bea6b876f lan78xx: select CRC32
    9c8943812dac netfilter: ipvs: make global sysctl readonly in non-init netns
    911e01990c70 netfilter: ip6t_rt: fix rt0_hdr parsing in rt_mt6
    69ea08c1b539 ice: fix getting UDP tunnel entry
    842fce43190c ASoC: wm8960: Fix clock configuration on slave mode
    39afed394cc6 dma-debug: fix sg checks in debug_dma_map_sg()
    2a670c323055 netfilter: xt_IDLETIMER: fix panic that occurs when timer_type has garbage value
    0f4308a164a9 NFSD: Keep existing listeners on portlist error
    546c04c85791 xtensa: xtfpga: Try software restart before simulating CPU reset
    bfef5d826276 xtensa: xtfpga: use CONFIG_USE_OF instead of CONFIG_OF
    d8284c981c1c drm/amdgpu/display: fix dependencies for DRM_AMD_DC_SI
    101e1bcb1147 xen/x86: prevent PVH type from getting clobbered
    a6285b1b2212 block: decode QUEUE_FLAG_HCTX_ACTIVE in debugfs output
    85c1827eeee7 ARM: dts: at91: sama5d2_som1_ek: disable ISC node by default
    5489c1bed5b8 arm: dts: vexpress-v2p-ca9: Fix the SMB unit-address
    f59da9f7efa7 io_uring: fix splice_fd_in checks backport typo
    b6f32897af19 xhci: add quirk for host controllers that don't update endpoint DCS
    b3b7f831a49b parisc: math-emu: Fix fall-through warnings

(From OE-Core rev: 61f8f7d18417334e3b13e4447f318107372dcfe0)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-05 11:41:00 +00:00
Bruce Ashfield
641e3a90f5 linux-yocto/5.14: update to v5.14.15
Updating linux-yocto/5.14 to the latest korg -stable release that comprises
the following commits:

    b46092c7497e Linux 5.14.15
    96e4ea34f6d7 pinctrl: stm32: use valid pin identifier in stm32_pinctrl_resume()
    4850e9e3c6a3 ARM: 9122/1: select HAVE_FUTEX_CMPXCHG
    80344938e468 e1000e: Separate TGP board type from SPT
    0c4e87ba11eb net: mdiobus: Fix memory leak in __mdiobus_register
    2f4356963624 bpf, test, cgroup: Use sk_{alloc,free} for test cases
    4e5d794a2743 s390/pci: fix zpci_zdev_put() on reserve
    e27170d5f2fc s390/pci: cleanup resources only if necessary
    2be38f02ec89 scsi: core: Fix shost->cmd_per_lun calculation in scsi_add_host_with_dma()
    ff261f9aa654 autofs: fix wait name hash calculation in autofs_wait()
    1009f098dfbe drm/kmb: Limit supported mode to 1080p
    217d42e8b835 drm/kmb: Enable alpha blended second plane
    c1ad040dbea8 net/mlx5: Lag, change multipath and bonding to be mutually exclusive
    d2ec7d208d8e net/mlx5: Lag, move lag destruction to a workqueue
    42b6431f1c17 net: hns3: fix for miscalculation of rx unused desc
    f1972f14f16e sched/scs: Reset the shadow stack when idle_task_exit
    c4813d308517 mm/thp: decrease nr_thps in file's mapping on THP split
    a7fbb56e6c94 scsi: qla2xxx: Fix a memory leak in an error path of qla2x00_process_els()
    c8c1b2183fb8 scsi: mpi3mr: Fix duplicate device entries when scanning through sysfs
    ce527668277c scsi: storvsc: Fix validation for unsolicited incoming packets
    08d82a9b65e7 scsi: iscsi: Fix set_param() handling
    6408a4c8da2f ASoC: codec: wcd938x: Add irq config support
    9eb2aaede632 Input: snvs_pwrkey - add clk handling
    9dd0389d77b9 perf/x86/msr: Add Sapphire Rapids CPU support
    11d6811cbde0 libperf tests: Fix test_stat_cpu
    65eec1fb58c1 libperf test evsel: Fix build error on !x86 architectures
    b6062308c510 spi-mux: Fix false-positive lockdep splats
    722ef19a161c spi: Fix deadlock when adding SPI controllers on SPI buses
    785d69099ef4 ALSA: hda: avoid write to STATESTS if controller is in reset
    3972b03ed085 platform/x86: intel_scu_ipc: Update timeout value in comment
    6659008140b4 platform/x86: intel_scu_ipc: Increase virtual timeout to 10s
    f5966ba53013 isdn: mISDN: Fix sleeping function called from invalid context
    ef24577a52ba ARM: dts: spear3xx: Fix gmac node
    834cc3fc2b99 net: stmmac: add support for dwmac 3.40a
    0c878175dd2f btrfs: deal with errors when checking if a dir entry exists during log replay
    051995bd0f42 ALSA: hda: intel: Allow repeatedly probing on codec configuration errors
    9906da162dc8 objtool: Update section header before relocations
    e73e72be194e objtool: Check for gelf_update_rel[a] failures
    515e03331255 bitfield: build kunit tests without structleak plugin
    3f66b6e01c82 thunderbolt: build kunit tests without structleak plugin
    d9f94a8ec35a device property: build kunit tests without structleak plugin
    2c793a67d71b iio/test-format: build kunit tests without structleak plugin
    930f561aae28 gcc-plugins/structleak: add makefile var for disabling structleak
    1d1af4da1c44 drm/msm/a6xx: Serialize GMU communication
    bbdd158b40b6 kunit: fix reference count leak in kfree_at_end
    dfcc47a1fe36 KVM: MMU: Reset mmu->pkru_mask to avoid stale data
    e647d75565ab net: hns3: fix the max tx size according to user manual
    b0e6db0656dd drm: mxsfb: Fix NULL pointer dereference crash on unload
    56a3d9637b77 KVM: SEV-ES: Set guest_state_protected after VMSA update
    d469678d6b50 net: bridge: mcast: use multicast_membership_interval for IGMPv3
    8f20259f186e selftests: netfilter: remove stray bash debug line
    057aef8df940 netfilter: Kconfig: use 'default y' instead of 'm' for bool config option
    cc20226e218a isdn: cpai: check ctr->cnr to avoid array index out of bound
    6197eb050cfa nfc: nci: fix the UAF of rf_conn_info object
    fb82d4dbee95 KVM: x86: remove unnecessary arguments from complete_emulator_pio_in
    66e46fe3f276 KVM: x86: split the two parts of emulator_pio_in
    9887c1668ada KVM: x86: check for interrupts before deciding whether to exit the fast path
    169577c8840e KVM: x86: leave vcpu->arch.pio.count alone in emulator_pio_in_out
    62a1a254ed83 KVM: SEV-ES: reduce ghcb_sa_len to 32 bits
    3f54362dc7d7 KVM: SEV-ES: go over the sev_pio_data buffer in multiple passes if needed
    4988e000b3a8 KVM: SEV-ES: fix length of string I/O
    727286b23f93 KVM: SEV-ES: keep INS functions together
    98c55c508df0 KVM: SEV-ES: clean up kvm_sev_es_ins/outs
    abcae3cd6272 KVM: SEV-ES: rename guest_ins_data to sev_pio_data
    6697ceb9f6cd KVM: SEV: Flush cache on non-coherent systems before RECEIVE_UPDATE_DATA
    495bd03b6ba5 KVM: nVMX: promptly process interrupts delivered while in guest mode
    dc94b8b3f28a mm, slub: fix incorrect memcg slab count for bulk free
    159d8cfbd042 mm, slub: fix potential use-after-free in slab_debugfs_fops
    42b81946e3ac mm, slub: fix potential memoryleak in kmem_cache_open()
    ec93d4a439c3 mm, slub: fix mismatch between reconstructed freelist depth and cnt
    65ede7bd9713 powerpc/idle: Don't corrupt back chain when going idle
    5a8c22e7fb66 KVM: PPC: Book3S HV: Make idle_kvm_start_guest() return 0 if it went to guest
    6d077c37c464 KVM: PPC: Book3S HV: Fix stack handling in idle_kvm_start_guest()
    e8735e2e306f ucounts: Fix signal ucount refcounting
    1eb825343d63 ucounts: Proper error handling in set_cred_ucounts
    f7f7e4dbc41c ucounts: Pair inc_rlimit_ucounts with dec_rlimit_ucoutns in commit_creds
    32880dcecb51 ucounts: Move get_ucounts from cred_alloc_blank to key_change_session_keyring
    04b938ff2d2c net: dsa: mt7530: correct ds->num_ports
    4e9e46a70020 audit: fix possible null-pointer dereference in audit_filter_rules
    b1a34f86b41f blk-cgroup: blk_cgroup_bio_start() should use irq-safe operations on blkg->iostat_cpu
    152f35191d12 ASoC: nau8824: Fix headphone vs headset, button-press detection no longer working
    a60ce083dcbf ASoC: DAPM: Fix missing kctl change notifications
    9da68a107d07 ALSA: hda/realtek: Add quirk for Clevo PC50HS
    896fc3ab9fc1 ALSA: usb-audio: Provide quirk for Sennheiser GSP670 Headset
    b77ba1e02345 mm/secretmem: fix NULL page->mapping dereference in page_is_secretmem()
    abe046ddf311 vfs: check fd has read access in kernel_read_file_from_fd()
    3681e4772c78 elfcore: correct reference to CONFIG_UML
    9ee4e9ae98f1 mm/mempolicy: do not allow illegal MPOL_F_NUMA_BALANCING | MPOL_LOCAL in mbind()
    149958ecd062 userfaultfd: fix a race between writeprotect and exit_mmap()
    6de91691768c mm/userfaultfd: selftests: fix memory corruption with thp enabled
    0e677ea5b739 ocfs2: mount fails with buffer overflow in strlen
    fa9b6b6c953e ocfs2: fix data corruption after conversion from inline format
    909c8482d8ac tracing: Have all levels of checks prevent recursion
    54dc25f4e31e ceph: fix handling of "meta" errors
    0ff7b35631ac ceph: skip existing superblocks that are blocklisted or shut down when mounting
    d832133cf228 can: j1939: j1939_xtp_rx_rts_session_new(): abort TP less than 9 bytes
    03ec23e55e3e can: j1939: j1939_xtp_rx_dat_one(): cancel session if receive TP.DT with error length
    6e8811707e2d can: j1939: j1939_netdev_start(): fix UAF for rx_kref of j1939_priv
    fb545be86c53 can: j1939: j1939_tp_rxtimer(): fix errant alert in j1939_tp_rxtimer
    013e7890663d can: isotp: isotp_sendmsg(): fix TX buffer concurrent access in isotp_sendmsg()
    a76abedd2be3 can: isotp: isotp_sendmsg(): add result check for wait_event_interruptible()
    1d12d110a820 can: isotp: isotp_sendmsg(): fix return error on FC timeout on TX path
    0e5afdc2315b can: peak_pci: peak_pci_remove(): fix UAF
    44c353a14375 can: peak_usb: pcan_usb_fd_decode_status(): fix back to ERROR_ACTIVE state notification
    e18b9f4d62c1 can: rcar_can: fix suspend/resume
    113f7a1f3421 net: enetc: make sure all traffic classes can send large frames
    284c68cae7e0 net: enetc: fix ethtool counter name for PM0_TERR
    eff55ddd240f drm/kmb: Enable ADV bridge after modeset
    c0179dbae96d drm/kmb: Corrected typo in handle_lcd_irq
    566ec004ed8b drm/kmb: Disable change of plane parameters
    2317b45fb3d2 drm/kmb: Remove clearing DPHY regs
    97cfc4b28c4d drm/kmb: Work around for higher system clock
    4dbf3d658540 drm/panel: ilitek-ili9881c: Fix sync for Feixin K101-IM2BYL02 panel
    3b194affe445 net/mlx5e: IPsec: Fix work queue entry ethernet segment checksum flags
    ea7a4d6132ce net/mlx5e: IPsec: Fix a misuse of the software parser's fields
    e867502bc4f6 ice: Add missing E810 device ids
    9b76c3fedb24 igc: Update I226_K device ID
    3300633367b6 e1000e: Fix packet loss on Tiger Lake and later
    95c0a0c5ec88 ptp: Fix possible memory leak in ptp_clock_register()
    d487413c020f net: stmmac: Fix E2E delay mechanism
    9b5a29f0acef net: hns3: disable sriov before unload hclge layer
    82a136c15a77 net: hns3: fix vf reset workqueue cannot exit
    9ee9191d3384 net: hns3: schedule the polling again when allocation fails
    6446be7c9090 net: hns3: add limit ets dwrr bandwidth cannot be 0
    dddafeda454a net: hns3: reset DWRR of unused tc to zero
    93fa0277ea4e net: hns3: Add configuration of TM QCN error event
    3ea0b497a7a2 powerpc/smp: do not decrement idle task preempt count in CPU offline
    0666c4cd67b1 net: dsa: Fix an error handling path in 'dsa_switch_parse_ports_of()'
    9ef9a287aab5 NIOS2: irqflags: rename a redefined register name
    8b523da74a22 net/sched: act_ct: Fix byte count on fragmented packets
    872b836a183d net: dsa: lantiq_gswip: fix register definition
    57deb5ffd8f6 hamradio: baycom_epp: fix build for UML
    c74f3c127e6c ipv6: When forwarding count rx stats on the orig netdev
    1dda424ef5c4 tcp: md5: Fix overlap between vrf and non-vrf keys
    9c281a1006f4 lan78xx: select CRC32
    5220cad0e69e sctp: fix transport encap_port update in sctp_vtag_verify
    ddffcd23d325 netfilter: ipvs: make global sysctl readonly in non-init netns
    cd3d0282dd3d netfilter: ip6t_rt: fix rt0_hdr parsing in rt_mt6
    aabf95dddb45 ice: Print the api_patch as part of the fw.mgmt.api
    75ebc3b08bbd ice: fix getting UDP tunnel entry
    777682e59840 ice: Avoid crash from unnecessary IDA free
    31b4517293bf ice: Fix failure to re-add LAN/RDMA Tx queues
    18b4fcfeab6d ASoC: wm8960: Fix clock configuration on slave mode
    2b7d598b9651 dma-debug: fix sg checks in debug_dma_map_sg()
    90c7c58aa2bd netfilter: nf_tables: skip netdev events generated on netns removal
    cae7cab804c9 netfilter: xt_IDLETIMER: fix panic that occurs when timer_type has garbage value
    78325fcb17f3 KVM: arm64: Release mmap_lock when using VM_SHARED with MTE
    b372264c66ef KVM: arm64: Fix host stage-2 PGD refcount
    649c2e76632d ASoC: cs4341: Add SPI device ID table
    efdcc26785de ASoC: pcm179x: Add missing entries SPI to device ID table
    242ce1c51b69 ASoC: fsl_xcvr: Fix channel swap issue with ARC
    41551810285e ASoC: pcm512x: Mend accesses to the I2S_1 and I2S_2 registers
    c8ecd221db9a powerpc/bpf: Emit stf barrier instruction sequences for BPF_NOSPEC
    663e89b7f4cc powerpc/security: Add a helper to query stf_barrier type
    23d127cf5e66 powerpc/bpf: Validate branch ranges
    e680ab91a034 powerpc/lib: Add helper to check if offset is within conditional branch range
    6fe5d304ca49 NFSD: Keep existing listeners on portlist error
    9ad89fcde18c xtensa: xtfpga: Try software restart before simulating CPU reset
    8287678c20b2 xtensa: xtfpga: use CONFIG_USE_OF instead of CONFIG_OF
    2602e9cc283a drm/amdgpu: init iommu after amdkfd device init
    68771262aab3 drm/amdgpu/display: fix dependencies for DRM_AMD_DC_SI
    537a7189df57 r8152: avoid to resubmit rx immediately
    7d8cdaffc518 xen/x86: prevent PVH type from getting clobbered
    28d084adc22d block: decode QUEUE_FLAG_HCTX_ACTIVE in debugfs output
    96a37f6acb6a ARM: dts: at91: sama5d2_som1_ek: disable ISC node by default
    470585caf603 arm: dts: vexpress-v2p-ca9: Fix the SMB unit-address
    79e3dc32f14f sh: pgtable-3level: fix cast to pointer from integer of different size
    d3f4c51c2a7f parisc: math-emu: Fix fall-through warnings
    4248f37f6cfc block/mq-deadline: Move dd_queued() to fix defined but not used warning

(From OE-Core rev: 5c2c7e54bf17d28fe8b918ee8f053748b2b13e01)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-05 11:41:00 +00:00
Richard Purdie
dfd532aa30 opkg: Fix poor operator combination choice
Combining :append with += rarely makes sense. Improve it to use the standard
format (and tweak the implied spacing).

(From OE-Core rev: 768766dc007ebe9b4bc38d425584be03fbdb98c1)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-05 11:41:00 +00:00
Alexander Kanavin
d96c3dd1c4 perl: backport gdbm 1.2x compatibility fixes
(From OE-Core rev: 2ac647ca63e240f982d08a8b538648f602071cd9)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-05 11:41:00 +00:00
Alexander Kanavin
bc2e9475a9 gdbm: upgrade 1.19 -> 1.22
(From OE-Core rev: f379e20f8e35ce1ddaf0669051b9c82c39a882ec)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-05 11:41:00 +00:00
Peter Kjellerstedt
3e9c480121 insane.bbclass: Add a check for directories that are expected to be empty
The empty-dirs QA check verifies that all directories specified in
QA_EMPTY_DIRS are empty. It is possible to specify why a directory is
expected to be empty by defining QA_EMPTY_DIRS_RECOMMENDATION:<path>,
which will then be included in the error message if the directory is
not empty. If it is not specified for a directory, then "but it is
expected to be empty" will be used.

(From OE-Core rev: a454fda9c3d6b11cfdc54a49a7bb3f8a76a5ed58)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-03 11:12:26 +00:00
wangmy
97850bbc8e python3-docutils: upgrade 0.17.1 -> 0.18
The exceptions to the "Public Domain Dedication" changed.

-License-Update: Copyright year updated to 2021.

(From OE-Core rev: 4ca6eb8d4f7209af70bba6f50d4acd105134fa51)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-03 11:12:26 +00:00
wangmy
1f67c53f43 python3-dbusmock: upgrade 0.24.0 -> 0.24.1
Do not register standard D-Bus service directories (Thanks Benjamin Berg)
templates: Add IIO Sensors Proxy support (Thanks Marco Trevisan)
Fix importlib module import (Thanks Marco Trevisan)
Clean up code for most recent pylint version

(From OE-Core rev: f290414f206904136c79ab6834c6c7ad7052c6d9)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-03 11:12:26 +00:00
wangmy
2b10adc084 glib-2.0: upgrade 2.70.0 -> 2.70.1
Fix network changes not being signalled from NetworkManager (work by
Julian Andres Klode) (#2505)

Fix build when building with --fatal-meson-warnings (work by Eli Schwartz) (!2304)

Bugs fixed:

2245 gdesktopappinfo: Do not call xterm when it does not exist, inform the caller the launch failed

2253 Backport 2251 "GString: Bump minimum size" to glib-2-70

2256 Backport 2254 "Small optimization for g_object_set" to glib-2-70

2259 Backport 2257 "Fix documentation for g_dbus_object_manager_get_object()." to glib-2-70

2262 Backport 2244 "gutils: Avoid segfault in g_get_user_database_entry" to glib-2-70

2271 Backport 2266 "fix uninitial variable" to glib-2-70

2276 Backport 2274 "Do not try to access errno after calling getpwnam_r." to glib-2-70

2300 Backport 2285 "fix issues found by svace static code analyzer" to glib-2-70

2301 Backport 2293 "glib-private: Fix MSVC build with AddressSanitizer" to glib-2-70

2302 Backport 2291 "gnetworkmonitornm: Stop using removed PropertiesChanged signal" to glib-2-70

2304 meson: fix warnings for extract_all_objects function

(From OE-Core rev: 0924cdc5b266f18840ebe30bdaa84df56e3f8c76)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-03 11:12:26 +00:00
wangmy
b0f8f2e3d3 bind: upgrade 9.16.21 -> 9.16.22
(From OE-Core rev: 96ac0ef5797d58d879c81b040cac77024def5b83)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-03 11:12:26 +00:00
Kai Kang
8b07a6769c squashfs-tools: fix CVE-2021-41072
Backport patch to fix CVE-2021-41072. And 3 more ancestor commits are
backported too, otherwise it fails to compile.

CVE: CVE-2021-41072

Ref:
* https://nvd.nist.gov/vuln/detail/CVE-2021-41072

(From OE-Core rev: 5a6ef2c040154a5a4e5516013a8ff58c8ca7a518)

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-03 11:12:26 +00:00
Alexander Kanavin
7ee9a45fe0 libjitterentropy: upgrade 3.3.0 -> 3.3.1
(From OE-Core rev: 9fe674c9d782996ba2625367d1ffc82fb9501156)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-03 11:12:26 +00:00
Alexander Kanavin
d4ebd6361a lrzsz: patch is not upstreamable
(From OE-Core rev: fed850280c376c0668c238980d34f75e1db6d908)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-03 11:12:26 +00:00
Alexander Kanavin
50f4e44502 docbook-xml: patch is not upstreamable
(From OE-Core rev: 9ca29d47755929c5c26c96150cb5e2e353182c70)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-03 11:12:26 +00:00
Alexander Kanavin
1b1f71c0a7 cracklib: patches submitted upstream
(From OE-Core rev: 3d2e9354945dcf4e89e001f9816c8ea2dc79b066)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-03 11:12:26 +00:00
Alexander Kanavin
8111876d1c cracklib: update 2.9.5 -> 2.9.7
(From OE-Core rev: d5486e497db0582d9b30ecdf8b34e4b2d33b6d37)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-03 11:12:25 +00:00
Alexander Kanavin
5e71dde477 xf86-video-intel: update to latest commit
Drop patches merged upstream.

(From OE-Core rev: 22bb5991e604cc6897d80623af49412db482db05)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-03 11:12:25 +00:00
Alexander Kanavin
933a4bd663 librsvg: update 2.52.2 -> 2.52.3
(From OE-Core rev: 72a378cf09d297ab7d64b3905cdf313b63c5fa6b)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-03 11:12:25 +00:00
Alexander Kanavin
5b543a7e72 icu: update 69.1 -> 70.1
License-Update: formatting, updated copyright holders

(From OE-Core rev: dc4b988fa3bc53028bed1a2245de36003690a23c)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-03 11:12:25 +00:00
Alexander Kanavin
c537fbff68 ffmpeg: update 4.4 -> 4.4.1
(From OE-Core rev: f3afff95455153a89df1d0b15b6173b910863be8)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-03 11:12:25 +00:00
Alexander Kanavin
6a9bc76d6e cmake: update 3.21.3 -> 3.21.4
(From OE-Core rev: d3bc081c2c8c0e278b0b4376f0526cf514429f30)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-03 11:12:25 +00:00
Alexander Kanavin
5e101a3ab0 gawk: update 5.1.0 -> 5.1.1
(From OE-Core rev: ff2a4b3c2f1e81d8cc1bd2b4f823e83a775f641a)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-03 11:12:25 +00:00
Alexander Kanavin
5d31cc3ef9 diffoscope: upgrade 188 -> 189
(From OE-Core rev: a77af2b54f96cf0b743b3e22978f9a979aaf3712)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-03 11:12:25 +00:00
Alexander Kanavin
86887c58fe nghttp2: upgrade 1.45.1 -> 1.46.0
(From OE-Core rev: 3d7ad21e7ac66f96752dcd9eeb1018c718d9b7ff)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-03 11:12:25 +00:00
Alexander Kanavin
ec10f3dfcd libsoup-2.4: upgrade 2.74.0 -> 2.74.1
(From OE-Core rev: e344f359b1fb14cec9d48743bd1bfd2d943f7da6)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-03 11:12:25 +00:00
Alexander Kanavin
d386e6041b libsoup: upgrade 3.0.1 -> 3.0.2
(From OE-Core rev: c9e367cbdd24750f83baf89d6926e4e77f4e2295)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-03 11:12:25 +00:00
Alexander Kanavin
e72a8b91a5 puzzles: upgrade to latest revision
(From OE-Core rev: a7914d117f93f234074cfe0d5220fad029ca27b5)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-03 11:12:25 +00:00
Alexander Kanavin
f5060a93b7 linux-firmware: upgrade 20210919 -> 20211027
License-Update: additional firmwares listed

(From OE-Core rev: 1ca3fb1c7f11e04bf8d8bf59901ddd60178cb13c)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-03 11:12:25 +00:00
Alexander Kanavin
e593687190 mesa: upgrade 21.2.4 -> 21.2.5
(From OE-Core rev: 24e8b9af5188405fdc72e42c26d95f0749e91a0c)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-03 11:12:25 +00:00
Alexander Kanavin
85bc62cc5e stress-ng: upgrade 0.13.00 -> 0.13.06
(From OE-Core rev: 6e87b43f1fec8430529d22b5c0c970afdc39b9f5)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-03 11:12:25 +00:00
Alexander Kanavin
5845d1b0f9 lighttpd: upgrade 1.4.60 -> 1.4.61
(From OE-Core rev: 1377aeba6bbdb6a8d0bfa9cb754ef52f6e9b06d1)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-03 11:12:25 +00:00
Alexander Kanavin
6d4079f77e asciidoc: upgrade 10.0.0 -> 10.0.1
(From OE-Core rev: 80f1045d7eb871994fb7379d27bd339e1efa70ef)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-03 11:12:25 +00:00
Alexander Kanavin
4c41868b29 vala: upgrade 0.54.2 -> 0.54.3
(From OE-Core rev: 64424bd2de7b890bf0df14c4545a1144d75675ce)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-03 11:12:25 +00:00
Alexander Kanavin
3e276f598b python3-pyparsing: upgrade 3.0.0 -> 3.0.4
(From OE-Core rev: 6909ecaef580c43d2e439249b0134bf850448d93)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-03 11:12:25 +00:00
Alexander Kanavin
a9b65ad9cb python3-gitdb: upgrade 4.0.7 -> 4.0.9
(From OE-Core rev: b0de9c477dcc63a4b28a430b0a45cd63f731721b)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-03 11:12:25 +00:00
Alexander Kanavin
0cb32ebdec psplash: upgrade to latest revision
(From OE-Core rev: 2275251cdcb2f1002e846f7796aac3661370dbd9)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-03 11:12:25 +00:00
Manuel Leonhardt
659b5540a6 dpkg: Install dkpg-perl scripts to versioned perl directory
Install dpkg-perl scripts to versioned perl directory, otherwise the
following traceback happens when running, e.g. dpkg-architecture on the
target:

Can't locate Dpkg.pm in @INC (you may need to install the Dpkg module)
  (@INC contains: /usr/lib/perl5/site_perl/5.30.1/aarch64-linux
  /usr/lib/perl5/site_perl/5.30.1
  /usr/lib/perl5/vendor_perl/5.30.1/aarch64-linux
  /usr/lib/perl5/vendor_perl/5.30.1
  /usr/lib/perl5/5.30.1/aarch64-linux
  /usr/lib/perl5/5.30.1 .) at /usr/bin/dpkg-architecture line 25.

Cc: Richard Purdie <richard.purdie@linuxfoundation.org>
(From OE-Core rev: bdd4757ae057c7b3bfe27353fa25c4d7807a86ce)

Signed-off-by: Manuel Leonhardt <mleonhardt@arri.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-03 10:12:42 +00:00
Manuel Leonhardt
4c6efbf035 sstate: Account for reserved characters when shortening sstate filenames
Previously, when shortening sstate filenames, the reserved
characters for .siginfo were not considered, when siginfo=False,
resulting in differently shortend filenames for the sstate and siginfo
files. With this change, the filenames of the truncated sstate and
siginfo files have the same basename, just as is already the case for
untruncated filenames.

Making sure that the .siginfo files always have the filename of the
corresponding sstate file plus its .siginfo suffix, also when being
truncated, makes it easier to manage the sstate cache and an sstate
mirror outside of Bitbake/Yocto.

(From OE-Core rev: c2e0e43b7123cf5149833e0072c8edaea3629112)

Signed-off-by: Manuel Leonhardt <mleonhardt@arri.de>
Cc: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-03 10:12:42 +00:00
Ross Burton
851be8baed python3: silence DeprecationWarnings in python3-config
Our patched python3-config uses distutils, but that will emit a
DeprecationWarning when imported.  This isn't useful when using the
output of python3-config to find include paths.

This isn't a huge problem typically as the warning goes to stderr, but
some build systems read both stdout and stderr.

(From OE-Core rev: e25b8f5af70a094307dc5c0a25f213ae9570f349)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-03 10:12:42 +00:00
Jon Mason
859776220f runqemu: work without SERIAL_CONSOLES being defined
Not all machine definitions need to have SERIAL_CONSOLES defined, but
runqemu currently will fail with the following script error if not
present:

Traceback (most recent call last):
  File "/builder/meta-arm/poky/scripts/runqemu", line 1604, in main
    config.setup_final()
  File "/builder/meta-arm/poky/scripts/runqemu", line 1446, in setup_final
    self.setup_serial()
  File "/builder/meta-arm/poky/scripts/runqemu", line 1381, in setup_serial
    self.kernel_cmdline_script += ' console=%s' %entry.split(';')[1]
IndexError: list index out of range

To get around this issue, add a sanity check to runqemu to avoid the
parsing of SERIAL_CONSOLES if empty.

(From OE-Core rev: e8359000e765f876c041b6ccabe63f069f83efec)

Signed-off-by: Jon Mason <jdmason@kudzu.us>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-03 10:12:42 +00:00
Peter Kjellerstedt
94133e1366 apt: Do not install /var/log/apt for target
/var/log is normally a link to /var/volatile/log and /var/volatile is a
tmpfs mount. So anything created in /var/log will not be available when
the tmpfs is mounted.

Also some whitespace clean up.

(From OE-Core rev: 876d09bd42e24db3a498148e3305fb27f70ceda0)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-03 10:12:42 +00:00
Ross Burton
bc18edd076 openssl: fix builds on ARMv8 targets without Aarch64
ARMv8 doesn't imply Aarch64, so correct a check that was making that
assumption.  This fixes the build on 32-bit ARMv8 targets such as
Cortex-A32.

(From OE-Core rev: 78ae8b02bfbf0d98ae481682179439845d30c797)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-03 10:12:42 +00:00
Robert Yang
4f0400c3e5 sanity.bbclass: Update required gcc version to v7.5
qemu-native 6.1.0 requires at least gcc v7.5:
ERROR: You need at least GCC v7.5 or Clang v6.0 (or XCode Clang v10.0)

(From OE-Core rev: 0137c3da41f8d9328888167fb497539436ead4e9)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-03 10:12:42 +00:00
Alexander Kanavin
53754fa3b5 libxml2: submit patch upstream
(From OE-Core rev: 62d0992ae831caa4b6bda5a300db5e8068480a7b)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-03 10:12:42 +00:00
Alexander Kanavin
640e2e9b77 curl: submit patch upstream
(From OE-Core rev: 9b1dba1a8e56f95bb3ab44130da293795975b67d)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-03 10:12:42 +00:00
Chen Qi
574856a3d6 opkg: use oe.qa.add_message istead of package_qa_add_message
Since the following commit, package_qa_add_message is no longer
available, use oe.qa.add_message instead.

"""
commit f0ad152ef4cc15c042bc9eeefb6af096d054b220
Author: Mike Crowe <mac@mcrowe.com>
Date:   Fri Oct 15 15:39:53 2021 +0100

    lib/oe/qa,insane: Move extra error handling functions to library

    Extract package_qa_write_error, package_qa_handle_error and
    package_qa_add_message functions from insane.bbclass to lib/oe/qa.py and
    drop the package_qa_ prefixes.
...
"""

(From OE-Core rev: d181f8c3798165808b1f529650ca47aae7730d9d)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-03 10:12:42 +00:00
Richard Purdie
18e7c41351 go-helloworld/glide: Fix urls
Handle github protocol changes not covered by the script due to variable indirection.

(From OE-Core rev: 3bb1cb476dbad1037522970af9afd69691a7033c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-03 10:12:42 +00:00
Richard Purdie
ba2f6c64a1 recipes: Update github.com urls to use https
Github has announced there will be no more git:// fetching from their servers:

https://github.blog/2021-09-01-improving-git-protocol-security-github/#no-more-unauthenticated-git

and they're about to start having brownout periods to encourage people
to update. This runs the conversion script over OE-Core to update our
urls to use https instead of git.

(From OE-Core rev: b37b61e9a1e448a34957db9ae39285d21352552e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-03 10:12:42 +00:00
Richard Purdie
e177e03320 scripts/convert-srcuri: Update SRC_URI conversion script to handle github url changes
Github are dropping support for git:// protocol fetching. Update the script
to learn about corner cases found in the previous conversion and
support remapping the github urls as needed too.

(From OE-Core rev: e59fe8279b209f67ff79b9d6dbb69389a64db236)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-03 10:12:42 +00:00
Richard Purdie
f57b77ff32 bitbake.conf: Fix corruption of GNOME mirror url
The url changes from the script accidentally corrupted this mirror
url, fix it.

(From OE-Core rev: a16dd60fb058ec2257eb1c6c0baa86e11e78cb42)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-03 10:12:42 +00:00
Richard Purdie
b3dcb6b179 bitbake: tests/fetch: Add test for url parameter rewriting
Add a test to ensure that a parameter like protocol=git can be rewritten
to a different url and protocol.

(Bitbake rev: 69b4f9a09ff74378788cc2ec1ad58cd66b27ca59)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-03 10:12:42 +00:00
Richard Purdie
a4c1325251 bitbake: fetch: Handle mirror user/password replacements correctly
Username or password replacements in URIs were being appended rather than
replaced in mirror url remapping. Fix this and add a test case.

[YOCTO #13823]

(Bitbake rev: 66ad58bb87e5158aced572be4f1d5726bc97fcce)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-03 10:12:42 +00:00
Richard Purdie
34e4eebc32 bitbake: lib/bb: Fix string concatination potential performance issues
Python scales badly when concatinating strings in loops. Most of these
references aren't problematic but at least one (in data.py) is probably
a performance issue as the issue is compounded as strings become large.

The way to handle this in python is to create lists which don't reconstruct
all the objects when appending to them. We may as well fix all the references
since it stops them being copy/pasted into something problematic in the future.

This patch was based on issues highligthted by a report from AWS Codeguru.

(Bitbake rev: d654139a833127b16274dca0ccbbab7e3bb33ed0)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-03 10:12:42 +00:00
Richard Purdie
791d6e63be bitbake: daemonize: Avoid unclosed file warning
In theory we can leak the so file descriptor so refactor the code
to avoid that.

(Bitbake rev: dfad69d4d8c894a5e1e2686023e41552de09bf3b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-03 10:12:42 +00:00
Richard Purdie
9abab49f2b bitbake: lib/bb: Clean up use of len()
(Bitbake rev: bbbc843e86639604d00d76b1949b94a78cf1d95d)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-03 10:12:42 +00:00
Richard Purdie
5fb6b453f6 bitbake: fetch/git: Show warning for invalid github urls
On master, tell the users they need to update their urls for github.

(Bitbake rev: 42526a402357e04794f4cb6f21ac18f562220a9b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-03 10:12:42 +00:00
Richard Purdie
489fe8ff39 bitbake: fetch/git: Handle github dropping git:// support
github is dropping support for git protocol in Git urls. Add code to remap
this to https in a way that could be used in older bitbake versions.

(Bitbake rev: f05e19135b3ddee509c0cb427b3b9376bb4738d1)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-03 10:12:42 +00:00
Richard Purdie
2cf162f5fe bitbake: tests/fetch: Update github urls
(Bitbake rev: 07fca7e3ab696ba985b3ef86ab9031d688bf2df2)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-03 10:12:42 +00:00
Richard Purdie
d576d9ca3a bitbake: fetch2/git: Add a warning asking users to set a branch in git urls
There is much uncertainty around what tools and hosting providers will
do about default git branch naming in the future. To help ensure we
can handle the various scenarios, we will make branch names required in
SRC_URI. To start that process, show users a warning if it isn't set.
This may also allow us to change the default at some point in the future.

(Bitbake rev: 86a9c26828479be55865bcce72bcc7e12b93caa7)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-03 10:12:42 +00:00
Richard Purdie
5acc697506 bitbake: fetch2/git: Allow git fetcher to support subdir param
The git fetcher is odd in that it supports destsuffix as a parameter but not
the default documented subdir parameter. destsuffix is more limited as it can't
take absolute paths. Rework the code to correctly support subdir.

Also cleanup to use the None default .get() values and be a bit more pythonic
and use subpath as the variable name for subpath for code clarity.

We could consider dropping destsuffix as a parameter as some future point.

Also fix the tests not to pass in a subdir parameter which was never used
but now causes errors.

(Bitbake rev: 66953f06fe822e4001efabd9fc1c985ea2b03f96)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-03 10:12:42 +00:00
Stefan Herbrechtsmeier
e17d4895ca bitbake: fetch2: npmsw: Add support for github prefix in npm shrinkwrap version
(Bitbake rev: 1d8af6aed0a929f493d2c3e31b8d3ee3a70beb43)

Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-01 11:12:16 +00:00
Stefan Herbrechtsmeier
a3a26e500a bitbake: fetch2: npmsw: Add support for duplicate dependencies without url
(Bitbake rev: 9dcd9a3c671b24982aff9a994e31cb9f491471f5)

Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-01 11:12:16 +00:00
Chen Qi
c94075d623 bitbake: fetch2: fix downloadfilename issue with premirror
The following commit to fix [Yocto #13039] causes regression of
the behavior of PREMIRRORS.

  "bitbake: fetch2: fix premirror URI when downloadfilename defined"

Take meta-openembedded/meta-networking/recipes-protocols/freediameter/freediameter_1.4.0.bb
as an example.
SRC_URI = "\
    http://www.freediameter.net/hg/${fd_pkgname}/archive/${PV}.tar.gz;downloadfilename=${fd_pkgname}-${PV}.tar.gz \
    ...
"
With the above commit, it now tries to fetch 1.4.0.tar.gz instead of
freeDiameter-1.4.0.tar.gz. This makes https://downloads.yoctoproject.org/mirror/sources
not work for freediameter, as it holds freeDiameter-1.4.0.tar.gz.

The commit above tries to avoid fetching from invalid url such as:
https://<some_mirror>/1.4.0.tar.gz/freeDiameter-1.4.0.tar.gz.
And its solution is to make basename to be 1.4.0.tar.gz, thus causing the
regression.

This patch fixes the above regression. For Yocto #13039, it now tries
to fetch from url: https://<some_mirror>/freeDiameter-1.4.0.tar.gz.

(Bitbake rev: 96c30007dc0b32eee2b15771daec7948bc9bfd97)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-01 11:12:16 +00:00
Chen Qi
1e5744c46d bitbake: tests/fetch.py: add test case to ensure downloadfilename is used for premirror
Add a test case test_fetch_premirror_use_downloadfilename_to_fetch to ensure
that 'downloadfilename' is used when fetching from premirror.

Although the other two previous test cases, test_fetch_premirror_specify_downloadfilename_regex_uri
and test_fetch_premirror_specify_downloadfilename_specific_uri already
implicitly contain such verification, we still need to add a very clear
case to ensure no regression.

(Bitbake rev: 20aabc3d53f69949810ecf02295725db947ffef8)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-01 11:12:16 +00:00
Chen Qi
e36765222d bitbake: tests/fetch.py: fix premirror test cases
When downloadfilename is specified, it is used to fetch from premirror.
So fix the test cases accordingly.

(Bitbake rev: 3b4d2e3b5024324058360a2a28f33c34114218d0)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-01 11:12:16 +00:00
Peter Kjellerstedt
16b2acfff2 base-files: Ignore the empty-dirs QA error due to files in /var/volatile
(From OE-Core rev: f33f3f1d3800fe4a1fe47f2ae1056d1ac2b0c2a5)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-01 10:41:18 +00:00
Peter Kjellerstedt
8aa69972a6 systemd: Do not install anything in /var/volatile
/var/log is typically a symbolic link to inside /var/volatile, which
is expected to be empty. Check ${VOLATILE_LOG_DIR} to see if it is ok
to install /var/log.

(From OE-Core rev: 73356f6d9d3881cf8ebde91a84758b25c63432cf)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-01 10:41:18 +00:00
Khem Raj
671aa4424a libsolv: Enable correct qsort_r on musl
Newer musl now has this function implemented and signatures are same as
glibc, current codepaths forces it on BSD path which is wrong for musl
and results in random segfaults in apps using libsolv e.g. opkg

(From OE-Core rev: caf0457ef1e081eed177ade5e727dd7aa3f41bdd)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-01 10:41:18 +00:00
Khem Raj
887fa42d44 site/common-musl: Enable qsort_r in glib
musl now has qsort_r

(From OE-Core rev: 35065c75bdb4725745ecc8b41fe920b6dc81f1e1)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-01 10:41:18 +00:00
Khem Raj
bee392a326 musl: Update to tip of trunk
This brings following fixes

* b76f37fd add qsort_r and make qsort a wrapper around it
* 7be59733 add SPE FPU support to powerpc-sf
* e3e7189c fix undefined behavior in getdelim via null pointer arithmetic and memcpy
* b713b8b2 fix excessively slow TLS performance on some mips models
* 3eed6a6f fix error checking in pthread_getname_np

(From OE-Core rev: 81e754f35847d6dc7b346706cd428fdcbc9d7796)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-01 10:41:18 +00:00
Khem Raj
da105e157d wpebackend-fdo: Add -Wno-c++11-narrowing
This commit e4c578f233
causes this warning due to int to uint conversion without static casts
unless its fixes properly by upstream make behaviour same as g++ where
this is flagged too but only as a warning unlike clang which is pedantic
and enables it as error

(From OE-Core rev: 0be006cc5f6df32fbc4df8c73851a960d4081ed3)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-01 10:41:18 +00:00
Yi Zhao
05bd39df1c bind: remove -r option from rndc-confgen in initscript
The -r option has been removed from rndc-confgen since bind 9.13[1].

Fix the bind startup error:
$ /etc/init.d/bind start
Starting domain name service: namedrndc-confgen: The -r option has been deprecated.
chmod: cannot access '/etc/bind/rndc.key': No such file or directory

[1]: 3a4f820d62

(From OE-Core rev: a5c5977bef44b7b014af590515ea1f93d7d51f46)

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-01 10:41:18 +00:00
Richard Purdie
1694bb6f69 libgfortran: Set GFORTRAN
The libgfortran configure sets FC to be $GFORTRAN. We did used to patch
that out but rather than carry a patch to gcc, just set GFORTRAN as
needed.

(From OE-Core rev: 4ec096a9ce8a49b631efc50e7d95ff653d4c4374)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-01 10:36:51 +00:00
Richard Purdie
3ae309ea06 pseudo: Add fcntl64 wrapper
Add fcntl64 wrapper which hopefully fixes issues seen in findutils and the find
command in the libtool removal code when built with LFS compile flags on Gentoo.

(From OE-Core rev: f26867fe4daec7299f59a82ae4a0d70cceb3e082)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-30 22:31:52 +01:00
Vyacheslav Yurkov
4d2d216803 overlayfs: add debug information
(From OE-Core rev: ce55a411d7dd1189ce9a849081e52cb9c5ebb002)

Signed-off-by: Vyacheslav Yurkov <uvv.mail@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-30 22:31:52 +01:00
Vyacheslav Yurkov
39f3274dd5 oeqa/selftest: extend overlayfs test
Test that overlayfs.bbclass generates one systemd unit, that
applications can set dependencies on, and that this unit mounts all
required overlays

(From OE-Core rev: b0e335268de78cfe163f3cfdc0209ae26309fc78)

Signed-off-by: Vyacheslav Yurkov <uvv.mail@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-30 22:31:52 +01:00
Vyacheslav Yurkov
57979576f3 overlayfs: meta-selftest recipe fix
Avoid strict assignment in the recipe to allow overrides in .inc file

(From OE-Core rev: 2006e157d7dae3fd6aefd8f0f84afa0371b69449)

Signed-off-by: Vyacheslav Yurkov <uvv.mail@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-30 22:31:52 +01:00
Vyacheslav Yurkov
8eb35a9558 oeqa/selftest: refactor common functions
(From OE-Core rev: 66de5de793f3c86502d193f7e3abc8fa17642369)

Signed-off-by: Vyacheslav Yurkov <uvv.mail@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-30 22:31:52 +01:00
Vyacheslav Yurkov
9c8ea9dcf1 overlayfs: all overlays unit
Application can depend on several overlayfs mount points. Provide a
systemd unit application can depend on to make sure all overlays are
mounted before it is started to avoid any race conditions

(From OE-Core rev: b38e194db0c6825f28c56123cf88af94d3f52beb)

Signed-off-by: Bruno Knittel <Bruno.Knittel@bruker.com>
Signed-off-by: Vyacheslav Yurkov <uvv.mail@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-30 22:31:52 +01:00
Richard Purdie
d81238da57 gcc: Drop libgfortran patch
As far as I can see, when building libgfortran we don't set GFORTRAN so this
patch does nothing any more. The fortran build and gcc recipes have changed
massively since gcc 4.2.2 so I think this patch is simply obsolete.

I did test building libgfortran with and without this patch and there was
no difference, the correct fortran compiler is found. If it were an issue
we should just set GFORTRAN correctly. Therefore drop the patch.

(From OE-Core rev: bc5209aa5f07cea00416852532b90aba044defd5)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-30 18:56:47 +01:00
Richard Purdie
d10ce1059d archiver: Default to xz compresison instead of gz
We should default to xz or zstd instead of gz, pick xz for now as it is more tested.

(From OE-Core rev: 658f274c161ec67b91f133ee9b5c3767c2925787)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-30 18:56:47 +01:00
Richard Purdie
6370dd2b42 linunistring: Add missing gperf-native dependency
(From OE-Core rev: 73d3efbaeb2f412ab8d3491d2da3f3124fc009f3)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-30 18:56:47 +01:00
Richard Purdie
dc53fe75cc meta/scripts: Manual git url branch additions
Following the scripted conversion adding branches to git://
SRC_URI entries, add the remaining references, mainly in the selftests
and recipetool.

(From OE-Core rev: 5340c0d688036c1be6c938f05d8a8c1e3b49ec38)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-30 18:56:47 +01:00
Richard Purdie
ddcf16d1f7 meta: Add explict branch to git SRC_URIs
There is uncertainty about the default branch name in git going forward.
To try and cover the different possible outcomes, add branch names to all
git:// and gitsm:// SRC_URI entries.

This update was made with the script added to contrib in this patch which
aims to help others convert other layers.

(From OE-Core rev: b51c405faf6f8c0365f7533bfaf470d79152a463)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-30 18:56:47 +01:00
Oleksandr Kravchuk
b777781ebf libxcvt: add recipe
This library is a dependancy of xserver-xorg 21.1.0.

(From OE-Core rev: b52bfac18a6b0f9216cd14da60e6fffb3e5669f1)

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-30 18:56:47 +01:00
Alexander Kanavin
05ce40b2ce runqemu: unbreak non-gl displays
Correct two issues:
1. Looking for dri.pc is only needed when gl is enabled.
2. virtio-vga-gl works only when gl is enabled via -display,
otherwise virtio-vga needs to be selected.

(From OE-Core rev: d6d5fe44510d2087b735758ac85e804533a1778c)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-30 18:56:47 +01:00
Richard Purdie
d78650b980 gcc: Add missing patch Upstream-Status
(From OE-Core rev: c884878f6c833b18a3a95b193f5de68df5bcea48)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-29 10:23:35 +01:00
Richard Purdie
b0a67a0531 gcc: Drop testsuite failure fix patch
This patch has headers as if it were submitted upstream but I can't find any
record of it. I did try tests with it removed, building the referenced testsuite
files with -Werror and it all works just fine with no warnings or errors (tested
on MACHINE=qemux86). I suspect this was fixed in gcc itself in other ways.

As such I think this patch isn't needed and suggest we drop it. If there is
a reason it is needed, please report along with an example of how to reproduce
issues.

(From OE-Core rev: d83e12da74b853ae33045e5c216c90c78a19f54d)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-29 07:27:47 +01:00
Richard Purdie
0729c13304 gcc: Update patches submitted/merged upstream
I took 5 of our patches and submitted to upstream gcc. This highlighted that
patches 0026 and 0018 should be merged together and some tweaks were made to
try and make it acceptable to upstream. The other patches have their headers
updated to match what was submitted.

The libstdc++ option patch was also cleaned up ready for upstream as the
documentation wasn't quite right.

The CXXFLAGS_FOR_BUILD piece of 0026 is separated out into a new patch which
can be submitted separately to upstream.

Two of the patches have been merged, status updated accordinly.

(From OE-Core rev: df9b8ec56ff29f14feb1fde6acbdf9c4667430cf)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-29 07:27:47 +01:00
Teoh Jay Shen
9c6b31c27b oeqa/runtime/parselogs: modified drm error in common errors list
Changed the following line from:

  [drm] Cannot find any crtc or sizes - going 1024x768  >  [drm] Cannot find any crtc or sizes

This will expand the coverage of the failure to also cover the case when fallback size is not set.

(From OE-Core rev: 0569fa735458512d6e15aa3315218ecbdf8510a3)

Signed-off-by: Teoh Jay Shen <jay.shen.teoh@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-28 15:18:15 +01:00
Saul Wold
540182dd5b create-spdx: cross recipes are native also
Recipes that inherit cross should also be categorized as isNative

(From OE-Core rev: ee113e3894deb1cfb18622085a3fe0600e1ef01d)

Signed-off-by: Saul Wold <saul.wold@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-28 14:16:31 +01:00
Saul Wold
36c184344e create-spdx: add create_annotation function
This allows code reuse and future usage with relationship annotations

(From OE-Core rev: 1f8fdb7dc9d02d0ee3c42674ca16e03f0ec18cba)

Signed-off-by: Saul Wold <saul.wold@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-28 14:16:31 +01:00
Saul Wold
b2f859ee61 spdx.py: Add annotation to relationship
Having annotations on relationship can provide additional information
about the relationship such as how it was derived.

(From OE-Core rev: d98585aa89e1d3819f8139a07fb7376ef89b37f8)

Signed-off-by: Saul Wold <saul.wold@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-28 14:16:31 +01:00
Alexander Kanavin
c98d05523f cups: exclude beta/rc versions from version check
(From OE-Core rev: d651eea3dce926399cd42c62494e4ce1940bcf06)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-28 14:16:31 +01:00
Alexander Kanavin
70011ac7cc webkitgtk: drop unnecessary SSE disabling patch
(From OE-Core rev: 825467808949c1024a470d45a2468987648d8984)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-28 14:16:31 +01:00
Alexander Kanavin
c69f416c93 gstreamer1.0-python: do not supply unknown g-i options
meson 0.60 turns unknown options into them hard errors, so instead of relying on g-i class
(where the options are mandatory) add g-i dependencies explicitly.

(From OE-Core rev: f4bbbf2cd3e711875489b19f9b55b52ebd7be4bd)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-28 14:16:31 +01:00
Alexander Kanavin
091a598f30 python3-pygobject: do not supply unknown g-i options
meson 0.60 turns unknown options into them hard errors, so instead of relying on g-i class
(where the options are mandatory) add g-i dependencies explicitly.

(From OE-Core rev: 9c0cc06a3d857124c0e1c1c9342f79ba5a3b10bc)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-28 14:16:31 +01:00
Alexander Kanavin
d9adc413ca igt-gpu-tools: address meson 0.60 compatibility
(From OE-Core rev: 33cd0f7e23d714869eda249ae6c3f9761caa4c96)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-28 14:16:31 +01:00
Alexander Kanavin
da28073b01 systemtap: address ncurses 6.3 compatibility
(From OE-Core rev: 807f9bc8e35c24dba45724c3075f128e117cffad)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-28 14:16:31 +01:00
Alexander Kanavin
daa2b49a23 powertop: address ncurses 6.3 compatibility
(From OE-Core rev: 0b6e9db98b69d931f965d32a57ca67afea8f4f11)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-28 14:16:31 +01:00
Alexander Kanavin
b3d1a8ac9b gptfdisk: address ncurses 6.3 compatibility
(From OE-Core rev: 1a5254939a72319ffcd302449c0187c0383da0c9)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-28 14:16:31 +01:00
Alexander Kanavin
77c631a6f9 virgl: skip headless test on specific older distros and fail otherwise
This allows catching failures on new build hosts, instead of quietly skipping
the test due to incomplete host setup.

(From OE-Core rev: c93f95f2e48a2bba76b231692f2c15bb32005132)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-28 14:16:31 +01:00
Alexander Kanavin
aae23182ef waffle: update 1.6.1 -> 1.7.0
(From OE-Core rev: 95acd86a4aeb8d2122285dd1745c77622462d33f)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-28 14:16:31 +01:00
Alexander Kanavin
145a9c3671 asciidoc: update 9.1.1 -> 10.0.0
Convert from autotools to setuptools.

(From OE-Core rev: 94e656959aba02491bf2f665391369d69c0fb039)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-28 14:16:31 +01:00
Alexander Kanavin
8e10511865 tzdata: update 2021d -> 2021e
(From OE-Core rev: 660f932c21fed410ad092ec610749e7090b6a324)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-28 14:16:31 +01:00
Alexander Kanavin
72cc10c929 ncurses: update 6.2 -> 6.3
(From OE-Core rev: db7666551ee1f0e0cf63a36ea24babe986e36713)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-28 14:16:31 +01:00
Alexander Kanavin
f1c9341c29 vte: upgrade 0.64.2 -> 0.66.0
(From OE-Core rev: 35fa233f295bbbffafaa26bb446c4f0a4d166c8d)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-28 14:16:31 +01:00
Alexander Kanavin
ba09f9031f libcap: upgrade 2.59 -> 2.60
(From OE-Core rev: 3b8d3da7cf1988685684e91249f71994022fe435)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-28 14:16:31 +01:00
Alexander Kanavin
377ebfeda7 diffoscope: upgrade 187 -> 188
(From OE-Core rev: 3d505d3eed4b7ab5c18555e8d0b5489118261d21)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-28 14:16:31 +01:00
Alexander Kanavin
6aa7e685ff wpebackend-fdo: upgrade 1.10.0 -> 1.12.0
(From OE-Core rev: 85266e431bc3556353a983b941c96b34cb638434)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-28 14:16:31 +01:00
Alexander Kanavin
b5a4c25c69 webkitgtk: upgrade 2.34.0 -> 2.34.1
(From OE-Core rev: 2a9ae637d95cbf41e1cc2a3516ddd41e1c958104)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-28 14:16:31 +01:00
Alexander Kanavin
44f3acf4c7 puzzles: upgrade to latest revision
(From OE-Core rev: 142016c9c68dc21195b0c39cfd611d5d05ab195c)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-28 14:16:31 +01:00
Alexander Kanavin
d826be3035 mpg123: upgrade 1.29.0 -> 1.29.2
(From OE-Core rev: d426cc82f198d400f6f09ae95d1283b14d9c8fc2)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-28 14:16:31 +01:00
Alexander Kanavin
054b9ad64b libinput: upgrade 1.19.1 -> 1.19.2
(From OE-Core rev: 39a19417d2bd755ce0fcc6d34be265759030ee49)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-28 14:16:31 +01:00
Alexander Kanavin
7eee50cd01 piglit: upgrade to latest revision
(From OE-Core rev: 1ccd71eb3ea71b0f91e5d0aded8b8ebafd76c5f1)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-28 14:16:31 +01:00
Alexander Kanavin
a7b75bb29c gi-docgen: upgrade 2021.7 -> 2021.8
(From OE-Core rev: ea394748a7d6973f266a9c1c9bae39ce36cb506e)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-28 14:16:31 +01:00
Alexander Kanavin
a4167b842c msmtp: upgrade 1.8.17 -> 1.8.18
(From OE-Core rev: 3e95794412c1dfcdf1a505b2a9718d3faf113ef6)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-28 14:16:31 +01:00
Alexander Kanavin
c0e674dba8 python3-setuptools: upgrade 58.2.0 -> 58.3.0
(From OE-Core rev: 609afb2b408a4275fc4927886c53d337cef604e5)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-28 14:16:31 +01:00
Alexander Kanavin
b29dacedc1 python3-pip: upgrade 21.3 -> 21.3.1
(From OE-Core rev: f95381108536e838fb66ba05657e579d2f85fad1)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-28 14:16:31 +01:00
Alexander Kanavin
363b15e16e python3-numpy: upgrade 1.21.2 -> 1.21.3
(From OE-Core rev: a17e00567f4c3c6a20cbb86ef066a84f7cecdf9b)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-28 14:16:31 +01:00
Alexander Kanavin
d674cbd0cd createrepo-c: upgrade 0.17.6 -> 0.17.7
(From OE-Core rev: 71690d138761817586aec6615fe0b17a94d8a29f)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-28 14:16:31 +01:00
Alexander Kanavin
a72e70f991 json-c: correct upstream version check
(From OE-Core rev: bbfa8046fc0999a0e4fdeb9a143ca0c80a7b40ec)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-28 14:16:31 +01:00
Alexander Kanavin
3d399b7b08 stress-ng: convert to git, website is down
(From OE-Core rev: 0bc00868993d7093a70f29de9047f9ae0be33836)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-28 14:16:31 +01:00
Alexander Kanavin
ec582c412d psplash: upgrade to latest revision
(From OE-Core rev: 735579852f995a5620d5e960897b2608d26a5c07)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-28 14:16:31 +01:00
Ahmed Hossam
82070da31d go.bbclass: Allow adding parameters to go ldflags
Currently, there is no clean way to pass extra parameters to the go tool link,
which is passed by the go build ldflags flag, the append needs to happen inside
the quotes of the ldflags parameter

See [YOCTO #14554].

Add a variable to allow adding extra parameters to -ldflags in the GO_LDFLAGS
variable, one of the main usecases is setting the application version.

For example, adding to the recipe something like
GO_EXTRA_LDFLAGS="-X main.Version=v1.0.0"
or
GO_EXTRA_LDFLAGS="-X main.Version=${PV}"

(From OE-Core rev: eaa7a61dab9a1d7bb039f16abdd9aacb44faa595)

Signed-off-by: Ahmed Hossam <Ahmed.Hossam@opensynergy.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-28 14:16:30 +01:00
Ian Ray
52e97dc769 archiver: Configurable tarball compression
In order to be more efficient, we use xz as compression method
to create GPL sources archives.

(From OE-Core rev: 877b27b0cbf4f4544f75e0f0a78a82baeb46b159)

Signed-off-by: Fabien Lahoudere <fabien.lahoudere@collabora.com>
[V1 was https://patchwork.openembedded.org/patch/155985/]
[Rebased]
Signed-off-by: Ian Ray <ian.ray@ge.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-28 14:16:30 +01:00
Paul Barker
5933782d2b bitbake: doc: bitbake-user-manual: Document BB_GIT_SHALLOW and friends
Documentation is based on the commit message of bitbake rev 5ed7d85fda
and mailing list discussion.

[YOCTO #14493]

(Bitbake rev: a183322ef56c64c97aa2b72fedcdf58e29dbb3cf)

Signed-off-by: Paul Barker <paul@pbarker.dev>
Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Reviewed-by: Quentin Schulz <foss@0leil.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-27 09:49:02 +01:00
Richard Purdie
75e63f41a8 bitbake: tests/runqueue: Drop python version test decorators
Our minimum python version is 3.6 so these are now unneeded.

(Bitbake rev: 15f16bf973666807e94f3b356095f8265af0282a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-27 09:49:02 +01:00
Alexander Kanavin
6f1f697aa1 u-boot: upgrade 2021.07 -> 2021.10
(From OE-Core rev: 24a4b34e25548d71bd430224adb58d87015674a7)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-27 09:46:41 +01:00
Oleksandr Kravchuk
4c00dab038 python3-pyparsing: update to 3.0.0
(From OE-Core rev: ab8f974232972fdfbadded5479e54502e8d76dda)

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-27 09:46:41 +01:00
wangmy
24df057854 lttng-tools: upgrade 2.13.0 -> 2.13.1
2021-10-18 lttng-tools 2.13.1 (National Chocolate Cupcake Day)
 Fix: ust: app stuck on recv message during UST comm timeout scenario
 Fix: ust: UST communication can return -EAGAIN
 Fix: ust: segfault on lttng start on filter bytecode copy
 Fix: sessiond: previously created channel cannot be enabled
 Build fix: Missing message in LTTNG_DEPRECATED invocation
 Fix: notification-thread: handling event from a removed tracer event src
 include: add missing "extern"
 include: remove spurious spaces in condition/session-rotation.h
 tests: fix header of regression/ust/getcpu-override/run-getcpu-override
 fix: wrong define used for GCC version check
 Fix: userspace-probe: unreported error on string copy error
 Fix: userspace-probe: truncating binary path for SDT
 Fix: lttng: add-trigger: don't provide a default event rule type
 Fix: statements with side-effects in assert statements
 Fix: lttng_trace_archive_location_serialize is called on freed memory
 Fix: sessiond: ust session is inactive during ust_app_global_update
 Fix: common: error query for trigger action protocol error
 Fix: common: un-hide two rate policy functions
 Fix: include: remove unneeded declaration of lttng_session_descriptor_get_session_name
 Fix: Tests: race condition in test_ns_contexts_change
 Fix: Tests: race condition in test_event_tracker
 Fix: man: lttng-rotate: trace file count/size limitation does not apply
 Fix: runas: less-than-zero comparison of an unsigned value
 Fix: runas: supplementary groups are ignored on lttng save
 Docs: lttng-event-rule(7): --exclude does not exist, use --exclude-name
 sessiond: logging typo: {triger, triggger} -> trigger
 Fix: lttng: free sessions in cmd_destroy
 Fix: lttng: free domains and channels in get_session_stats_str

0001-Fix-Tests-race-condition-in-test_event_tracker.patch
0002-Fix-Tests-race-condition-in-test_ns_contexts_change.patch
are removed since they're included in 2.13.1

(From OE-Core rev: 9541cac079b0fa4961328f610e3df3ccf5316cea)

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>
2021-10-27 09:46:41 +01:00
wangmy
ddeb19361d libdnf: upgrade 0.64.0 -> 0.65.0
(From OE-Core rev: 46338fce3186e16ad7c7534485dda1b8667e8484)

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>
2021-10-27 09:46:41 +01:00
wangmy
56da9f74f7 file: upgrade 5.40 -> 5.41
(From OE-Core rev: cf501dd94e16e4dfad7df6e57ef6b5bd6ab6d7d1)

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>
2021-10-27 09:46:41 +01:00
wangmy
7f6b6dd274 dnf: upgrade 4.9.0 -> 4.10.0
(From OE-Core rev: 7584e8268ace0ffe41812773e2151863db308e51)

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>
2021-10-27 09:46:41 +01:00
wangmy
bd468de87b dhcpcd: upgrade 9.4.0 -> 9.4.1
0002-src-privsep-linux.c-add-support-for-arc-28.patch
removed since it is included in 9.4.1

-License-Update: Copyright year updated to 2021.

(From OE-Core rev: 85bf75384a60e3db5458153e46dcdeb756d05b47)

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>
2021-10-27 09:46:41 +01:00
Peter Kjellerstedt
71d1f23204 qemu.inc: Remove empty egg-info directories before running meson
This is the same solution that has been applied to meson.bbclass to
allow building with meson after it has been updated to a new
version. It needs to be applied here as well since qemu uses meson
without inheriting meson.bbclass.

(From OE-Core rev: 9d05227e910d3f374ba7a9763ff2584b9e40db61)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-27 09:46:41 +01:00
Peter Kjellerstedt
2fc0ba7efa meson.bblcass: Remove empty egg-info directories before running meson
sstate.bbclass no longer removes empty directories to avoid a race (see
commit 4f94d929 "sstate/staging: Handle directory creation race issue").
Unfortunately Python apparently treats an empty egg-info directory as if
the version it previously contained still exists and fails if a newer
version is required, which Meson does. To avoid this, make sure there
are no empty egg-info directories from previous versions left behind.

(From OE-Core rev: 47d9d90b4ec7d04d6f3f1a9b97c0ab7f1264a88e)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-27 09:46:41 +01:00
David Joyner
ec2eaed901 rust: add support for big endian 64-bit PowerPC
(From OE-Core rev: 91cc84afbfa6aad154f9a6402b538ea1b7c0ecd4)

Signed-off-by: David Joyner <dbjoyner@amazon.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-27 09:46:41 +01:00
Hsia-Jun(Randy) Li
4311fe0324 meson: install native file in sdk
Without a native environment file, find_program() can't
locate the native program inside SDK.

That stops wayland compositor using wayland scanner.

(From OE-Core rev: c6aed1084006727e3baf70ab9d1f70d9d2d6c01f)

Signed-off-by: Hsia-Jun(Randy) Li <randy.li@synaptics.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-27 09:46:41 +01:00
Randy Li
15487d272f meson: move lang args to the right section
After meson 0.56.0, <lang>_args and <lang>_link_args would be
regarded as meson built-in options.

(From OE-Core rev: 50c8f654e9006a7c902dd76f75082d4f8d668d0c)

Signed-off-by: Hsia-Jun(Randy) Li <randy.li@synaptics.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-27 09:46:41 +01:00
Khem Raj
b9c1107ae6 librsvg: Disable 64bit atomics in crossbeam for rv32
This fixes
| error[E0412]: cannot find type `AtomicU64` in module `core::sync::atomic`
|     --> /usr/src/debug/librsvg/2.52.2-r0/librsvg-2.52.2/vendor/crossbeam-utils/src/atomic/consume.rs:  78:14

(From OE-Core rev: 3e289efb283cc4cff44b63405103299b90e3af9b)

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>
2021-10-27 09:46:41 +01:00
Tim Orling
9ec9a1a122 python3-tomli: upgrade 1.2.1 -> 1.2.2
1.2.2

  * Fixed
    - Illegal characters in error messages were surrounded by two
      pairs of quotation marks
  * Improved
    - TOMLDecodeError.__module__ is now the public import path (tomli)
      instead of private import path (tomli._parser)
    - Eliminated an import cycle when typing.TYPE_CHECKING is True.
      This allows sphinx-autodoc-typehints to resolve type annotations.

(From OE-Core rev: ab86f496fdead3dabe8b252a6cacaeb10ce03b5a)

Signed-off-by: Tim Orling <timothy.t.orling@intel.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-27 09:46:41 +01:00
Tim Orling
353d3d2f8a python3-hypothesis: upgrade 6.23.2 -> 6.24.0
6.24.0 - 2021-10-23
  * This patch updates our vendored list of top-level domains, which is used
    by the provisional domains() strategy.
  * (did you know that gTLDs can be both added and removed?)

6.23.4 - 2021-10-20
  * This patch adds an error for when shapes in xps.arrays() is not passed
    as either a valid shape or strategy.

6.23.3 - 2021-10-18
  * This patch updates our formatting with shed.

(From OE-Core rev: b7d90cf4fe2a021e8709a64bcae285ec81eb5ed8)

Signed-off-by: Tim Orling <timothy.t.orling@intel.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-27 09:46:41 +01:00
Tim Orling
18f933d20d python3-manifest: -pprint RDEPENDS on -profile
python3-profile includes dataclasses.

pprint imports dataclasses:
https://github.com/python/cpython/blob/3.10/Lib/pprint.py#L38

(From OE-Core rev: 900d7c3a8f68e9ce751a0b5cc839b8838fdebf3f)

Signed-off-by: Tim Orling <timothy.t.orling@intel.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-27 09:46:41 +01:00
Bruce Ashfield
7d45aa6919 linux-yocto/5.10: update to v5.10.75
Updating linux-yocto/5.10 to the latest korg -stable release that comprises
the following commits:

    3a9842b42e42 Linux 5.10.75
    3e2873652163 net: dsa: mv88e6xxx: don't use PHY_DETECT on internal PHY's
    3593fa147c86 ionic: don't remove netdev->dev_addr when syncing uc list
    f33890d9bb59 net: mscc: ocelot: warn when a PTP IRQ is raised for an unknown skb
    9c546af181bc nfp: flow_offload: move flow_indr_dev_register from app init to app start
    6da9af2d2531 r8152: select CRC32 and CRYPTO/CRYPTO_HASH/CRYPTO_SHA256
    ecfd4fa15b06 qed: Fix missing error code in qed_slowpath_start()
    51f6e72ca656 mqprio: Correct stats in mqprio_dump_class_stats().
    fdaff7f9e806 platform/x86: intel_scu_ipc: Fix busy loop expiry time
    057ee6843bbb acpi/arm64: fix next_platform_timer() section mismatch error
    c6b2400095ba drm/msm/dsi: fix off by one in dsi_bus_clk_enable error handling
    2c5658717428 drm/msm/dsi: Fix an error code in msm_dsi_modeset_init()
    b28586fb04f3 drm/msm/a6xx: Track current ctx by seqno
    abd11864159b drm/msm/mdp5: fix cursor-related warnings
    91a340768b01 drm/msm: Fix null pointer dereference on pointer edp
    a7b45024f66f drm/edid: In connector_bad_edid() cap num_of_ext by num_blocks read
    d0f0e1710397 drm/panel: olimex-lcd-olinuxino: select CRC32
    a4a37e6516f8 spi: bcm-qspi: clear MSPI spifie interrupt during probe
    d9428f08e1c3 platform/mellanox: mlxreg-io: Fix read access of n-bytes size attributes
    c216cebdd245 platform/mellanox: mlxreg-io: Fix argument base in kstrtou32() call
    e59d839743b5 mlxsw: thermal: Fix out-of-bounds memory accesses
    7eef482db728 ata: ahci_platform: fix null-ptr-deref in ahci_platform_enable_regulators()
    116932c0e45e pata_legacy: fix a couple uninitialized variable bugs
    50cb95487c26 NFC: digital: fix possible memory leak in digital_in_send_sdd_req()
    3f2960b39f22 NFC: digital: fix possible memory leak in digital_tg_listen_mdaa()
    2f21f06a5e7a nfc: fix error handling of nfc_proto_register()
    ba39f55952a2 vhost-vdpa: Fix the wrong input in config_cb
    84e0f2fc662e ethernet: s2io: fix setting mac address during resume
    e19c10d6e07c net: encx24j600: check error in devm_regmap_init_encx24j600
    f2e1de075018 net: dsa: microchip: Added the condition for scheduling ksz_mib_read_work
    9053c5b4594c net: stmmac: fix get_hw_feature() on old hardware
    12da46cb6a90 net/mlx5e: Mutually exclude RX-FCS and RX-port-timestamp
    4f7bddf8c5c0 net/mlx5e: Fix memory leak in mlx5_core_destroy_cq() error path
    afb0c67dfdb5 net: korina: select CRC32
    33ca85010511 net: arc: select CRC32
    17a027aafd52 gpio: pca953x: Improve bias setting
    d84a69ac410f sctp: account stream padding length for reconf chunk
    6fecdb5b54a5 nvme-pci: Fix abort command id
    2d937cc12c14 ARM: dts: bcm2711-rpi-4-b: Fix pcie0's unit address formatting
    6e6082250b53 ARM: dts: bcm2711-rpi-4-b: fix sd_io_1v8_reg regulator states
    48613e687e28 ARM: dts: bcm2711: fix MDIO #address- and #size-cells
    6e6e3018d3ce ARM: dts: bcm2711-rpi-4-b: Fix usb's unit address
    76644f94595b tee: optee: Fix missing devices unregister during optee_remove
    07f885682486 iio: dac: ti-dac5571: fix an error code in probe()
    6c0024bcaadc iio: ssp_sensors: fix error code in ssp_print_mcu_debug()
    0fbc3cf7dd9a iio: ssp_sensors: add more range checking in ssp_parse_dataframe()
    abe5b13dd959 iio: adc: max1027: Fix the number of max1X31 channels
    41e84a4f25b6 iio: light: opt3001: Fixed timeout error when 0 lux
    e811506f609a iio: mtk-auxadc: fix case IIO_CHAN_INFO_PROCESSED
    1671cfd31b66 iio: adc: max1027: Fix wrong shift with 12-bit devices
    f931076d32b6 iio: adc128s052: Fix the error handling path of 'adc128_probe()'
    4425d059aa2e iio: adc: ad7793: Fix IRQ flag
    d078043a1775 iio: adc: ad7780: Fix IRQ flag
    a8177f0576fa iio: adc: ad7192: Add IRQ flag
    be8ef91d6166 driver core: Reject pointless SYNC_STATE_ONLY device links
    d5f13bbb5104 drivers: bus: simple-pm-bus: Add support for probing simple bus only devices
    b45923f66eb6 iio: adc: aspeed: set driver data when adc probe.
    ea947267eb6f powerpc/xive: Discard disabled interrupts in get_irqchip_state()
    9e46bdfb55a3 x86/Kconfig: Do not enable AMD_MEM_ENCRYPT_ACTIVE_BY_DEFAULT automatically
    57e48886401b nvmem: Fix shift-out-of-bound (UBSAN) with byte size cells
    a7bd0dd3f2ed EDAC/armada-xp: Fix output of uncorrectable error counter
    92e6e08ca2b0 virtio: write back F_VERSION_1 before validate
    86e3ad8b759d misc: fastrpc: Add missing lock before accessing find_vma()
    3f0ca245a834 USB: serial: option: add prod. id for Quectel EG91
    ecad614b0c68 USB: serial: option: add Telit LE910Cx composition 0x1204
    bf26bc72dc59 USB: serial: option: add Quectel EC200S-CN module support
    d4b77900cffe USB: serial: qcserial: add EM9191 QDL support
    3147f5721588 Input: xpad - add support for another USB ID of Nacon GC-100
    9d89e2871167 usb: musb: dsps: Fix the probe error path
    3b4275140142 efi: Change down_interruptible() in virt_efi_reset_system() to down_trylock()
    5100dc4489ab efi/cper: use stack buffer for error record decoding
    2c5dd2a8af77 cb710: avoid NULL pointer subtraction
    d40e193abd07 xhci: Enable trust tx length quirk for Fresco FL11 USB controller
    dec944bb7079 xhci: Fix command ring pointer corruption while aborting a command
    dc3e0a20dbb9 xhci: guard accesses to ep_state in xhci_endpoint_reset()
    0ee66290f006 USB: xhci: dbc: fix tty registration race
    9f0d6c781cb5 mei: me: add Ice Lake-N device id.
    e4f7171c2395 x86/resctrl: Free the ctrlval arrays when domain_setup_mon_state() fails
    0e32a2b85c7d btrfs: fix abort logic in btrfs_replace_file_extents
    52924879ed45 btrfs: update refs for any root except tree log roots
    352349aa4948 btrfs: check for error when looking up inode during dir entry replay
    4ed68471bc37 btrfs: deal with errors when adding inode reference during log replay
    95d3aba5febe btrfs: deal with errors when replaying dir entry during log replay
    206868a5b6c1 btrfs: unlock newly allocated extent buffer after error
    e7e3ed5c92b6 drm/msm: Avoid potential overflow in timeout_to_jiffies()
    a31c33aa80a5 arm64/hugetlb: fix CMA gigantic page order for non-4K PAGE_SIZE
    0c97008859ca csky: Fixup regs.sr broken in ptrace
    5dab6e8f141a csky: don't let sigreturn play with priveleged bits of status register
    e3c37135c9ca clk: socfpga: agilex: fix duplicate s2f_user0_clk
    faba7916cdc0 s390: fix strrchr() implementation
    7ef43c0f68fb nds32/ftrace: Fix Error: invalid operands (*UND* and *UND* sections) for `^'
    c3bf276fd7c8 ALSA: hda/realtek: Fix the mic type detection issue for ASUS G551JW
    1099953b32c6 ALSA: hda/realtek: Fix for quirk to enable speaker output on the Lenovo 13s Gen2
    554a5027f536 ALSA: hda/realtek: Add quirk for TongFang PHxTxX1
    0fa256509b9f ALSA: hda/realtek - ALC236 headset MIC recording issue
    1e10c6bf15d2 ALSA: hda/realtek: Add quirk for Clevo X170KM-G
    8a5f01f4b01c ALSA: hda/realtek: Complete partial device name to avoid ambiguity
    c6e5290e6cc1 ALSA: hda - Enable headphone mic on Dell Latitude laptops with ALC3254
    9bb1659ac594 ALSA: hda/realtek: Enable 4-speaker output for Dell Precision 5560 laptop
    7680631ac7ab ALSA: seq: Fix a potential UAF by wrong private_free call order
    4aab156d302c ALSA: pcm: Workaround for a wrong offset in SYNC_PTR compat ioctl
    f077d699c1d2 ALSA: usb-audio: Add quirk for VF0770

(From OE-Core rev: 08857198b40617d53701ac46d95d6d60dfbdb4af)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-27 09:46:41 +01:00
Bruce Ashfield
b77f026543 linux-yocto/5.14: update to v5.14.14
Updating linux-yocto/5.14 to the latest korg -stable release that comprises
the following commits:

    fe024e004fa3 Linux 5.14.14
    9513ce07f05b ionic: don't remove netdev->dev_addr when syncing uc list
    6b55eadb0b1d net: dsa: felix: break at first CPU port during init and teardown
    9d2cec10ea9e net: mscc: ocelot: cross-check the sequence id from the timestamp FIFO with the skb PTP header
    23a6801c0585 net: mscc: ocelot: deny TX timestamping of non-PTP packets
    de32ef6d79dd net: mscc: ocelot: warn when a PTP IRQ is raised for an unknown skb
    3b4241817601 net: mscc: ocelot: avoid overflowing the PTP timestamp FIFO
    34fd7a2e375a net: mscc: ocelot: make use of all 63 PTP timestamp identifiers
    f7697d70d76b nfp: flow_offload: move flow_indr_dev_register from app init to app start
    9d162f541ba3 block/rnbd-clt-sysfs: fix a couple uninitialized variable bugs
    61616be89997 ice: fix locking for Tx timestamp tracking flush
    99eef638a327 r8152: select CRC32 and CRYPTO/CRYPTO_HASH/CRYPTO_SHA256
    821dca5635e2 qed: Fix missing error code in qed_slowpath_start()
    1a4554e94f0d mptcp: fix possible stall on recvmsg()
    4fd74935619f mqprio: Correct stats in mqprio_dump_class_stats().
    395218b5c7e0 platform/x86: intel_scu_ipc: Fix busy loop expiry time
    b4fb645a7412 acpi/arm64: fix next_platform_timer() section mismatch error
    6302ce26eceb drm/msm/dsi: fix off by one in dsi_bus_clk_enable error handling
    3c403c4c0580 drm/msm/dsi: Fix an error code in msm_dsi_modeset_init()
    f1457eea4ccd drm/msm/dsi: dsi_phy_14nm: Take ready-bit into account in poll_for_ready
    d59e44e7821a drm/msm/a3xx: fix error handling in a3xx_gpu_init()
    3962d626eb3e drm/msm/a4xx: fix error handling in a4xx_gpu_init()
    20cfa89cd7e1 drm/msm/a6xx: Track current ctx by seqno
    00ba7a3951f4 drm/msm/submit: fix overflow check on 64-bit architectures
    2d28dafbc88e drm/msm/mdp5: fix cursor-related warnings
    46c8ddede027 drm/msm: Fix null pointer dereference on pointer edp
    09f3946bb452 drm/edid: In connector_bad_edid() cap num_of_ext by num_blocks read
    8b0462c25eff drm/panel: olimex-lcd-olinuxino: select CRC32
    dc4f4acadabf spi: bcm-qspi: clear MSPI spifie interrupt during probe
    2a51f25a7ed9 spi: spidev: Add SPI ID table
    b461c8553474 platform/mellanox: mlxreg-io: Fix read access of n-bytes size attributes
    1da4f33681b5 platform/mellanox: mlxreg-io: Fix argument base in kstrtou32() call
    df8e58716afb mlxsw: thermal: Fix out-of-bounds memory accesses
    2d14f8a9f1b7 ata: ahci_platform: fix null-ptr-deref in ahci_platform_enable_regulators()
    55b033b82dde pata_legacy: fix a couple uninitialized variable bugs
    6432d7f1d1c3 NFC: digital: fix possible memory leak in digital_in_send_sdd_req()
    564249219e5b NFC: digital: fix possible memory leak in digital_tg_listen_mdaa()
    e005ba2235b6 nfc: fix error handling of nfc_proto_register()
    0b84e32840b7 vhost-vdpa: Fix the wrong input in config_cb
    2d902349653c ethernet: s2io: fix setting mac address during resume
    322c0e534963 net: encx24j600: check error in devm_regmap_init_encx24j600
    38eaccdcc811 net: dsa: fix spurious error message when unoffloaded port leaves bridge
    383239a33cf2 net: dsa: microchip: Added the condition for scheduling ksz_mib_read_work
    b1752d2f4fc2 net: dsa: mv88e6xxx: don't use PHY_DETECT on internal PHY's
    f71c73a1275c net: phy: Do not shutdown PHYs in READY state
    568feb737f5e net: stmmac: fix get_hw_feature() on old hardware
    947442b62090 net/mlx5e: Switchdev representors are not vlan challenged
    2f306483d547 net/mlx5e: Mutually exclude RX-FCS and RX-port-timestamp
    ed8aafea4fec net/mlx5e: Fix memory leak in mlx5_core_destroy_cq() error path
    0d9ddf515cde net/smc: improved fix wait on already cleared link
    844b62f61709 net: korina: select CRC32
    af9a33bfff34 net: arc: select CRC32
    81099749174e gpio: pca953x: Improve bias setting
    9025c92a6cc7 gpio: 74x164: Add SPI device ID table
    4f0bc44b9191 sctp: account stream padding length for reconf chunk
    5ccd69157a9a nvme-pci: Fix abort command id
    9036542c2bef clk: renesas: rzg2l: Fix clk status function
    abab28387755 ARM: dts: bcm2711-rpi-4-b: Fix pcie0's unit address formatting
    264e77ee3987 ARM: dts: bcm2711-rpi-4-b: fix sd_io_1v8_reg regulator states
    06560ba731e2 firmware: arm_ffa: Add missing remove callback to ffa_bus_type
    b2da1ae1941d firmware: arm_ffa: Fix __ffa_devices_unregister
    a0dfb710735d ARM: dts: bcm2711: fix MDIO #address- and #size-cells
    83fe15846c48 ARM: dts: bcm283x: Fix VEC address for BCM2711
    2a7374dd882d ARM: dts: bcm2711-rpi-4-b: Fix usb's unit address
    a009758b28f3 tee: optee: Fix missing devices unregister during optee_remove
    362d067a231d tracing: Fix missing osnoise tracer on max_latency
    ce5c6dd07473 iio: dac: ti-dac5571: fix an error code in probe()
    8d3fd8fdf2cb fpga: ice40-spi: Add SPI device ID table
    645e2c994b6a eeprom: at25: Add SPI ID table
    362fe6c8d5ab eeprom: 93xx46: fix MODULE_DEVICE_TABLE
    42c587653cb7 eeprom: 93xx46: Add SPI device ID table
    1a5ba478c41c Input: resistive-adc-touch - fix division by zero error on z1 == 0
    6ad4dc9602fa iio: ssp_sensors: fix error code in ssp_print_mcu_debug()
    af8aae7a1257 iio: ssp_sensors: add more range checking in ssp_parse_dataframe()
    3903e5404214 iio: adc: max1027: Fix the number of max1X31 channels
    43e399d862ef iio: accel: fxls8962af: return IRQ_HANDLED when fifo is flushed
    56e3bcdf6b9b iio: light: opt3001: Fixed timeout error when 0 lux
    07415de29ded iio: mtk-auxadc: fix case IIO_CHAN_INFO_PROCESSED
    04e03b907022 iio: adis16475: fix deadlock on frequency set
    06a6230a5683 iio: adc: max1027: Fix wrong shift with 12-bit devices
    45b54f7f6ae7 iio: adc128s052: Fix the error handling path of 'adc128_probe()'
    2c675f25eb35 iio: adis16480: fix devices that do not support sleep mode
    696eef458c31 iio: adc: ad7793: Fix IRQ flag
    c9e8c11b1a84 iio: adc: ad7780: Fix IRQ flag
    d8f72ea6ccfd iio: adc: ad7192: Add IRQ flag
    10dea2bc52e4 driver core: Reject pointless SYNC_STATE_ONLY device links
    e733c7a6f754 drivers: bus: simple-pm-bus: Add support for probing simple bus only devices
    11d6dbd807aa iio: adc: aspeed: set driver data when adc probe.
    74c078866ff4 powerpc/xive: Discard disabled interrupts in get_irqchip_state()
    202975c570d2 x86/Kconfig: Do not enable AMD_MEM_ENCRYPT_ACTIVE_BY_DEFAULT automatically
    128f38289215 x86/fpu: Mask out the invalid MXCSR bits properly
    bce9adf0b5ea Revert "virtio-blk: Add validation for block size in config space"
    f2935e790419 virtio-blk: remove unneeded "likely" statements
    0e822e5413da nvmem: Fix shift-out-of-bound (UBSAN) with byte size cells
    eb1e9f2ec683 EDAC/armada-xp: Fix output of uncorrectable error counter
    2c2e626d9ba4 virtio: write back F_VERSION_1 before validate
    d22592f1fd8d misc: fastrpc: Add missing lock before accessing find_vma()
    6df4c42e0b60 USB: serial: option: add prod. id for Quectel EG91
    b39adce3afe1 USB: serial: option: add Telit LE910Cx composition 0x1204
    8372fb17ebf2 USB: serial: option: add Quectel EC200S-CN module support
    1e2c4a11a59b USB: serial: qcserial: add EM9191 QDL support
    96703298fc51 Input: xpad - add support for another USB ID of Nacon GC-100
    ff9249aab398 usb: musb: dsps: Fix the probe error path
    85c6f477b357 efi: Change down_interruptible() in virt_efi_reset_system() to down_trylock()
    3b7951e32193 efi/cper: use stack buffer for error record decoding
    746b00a48688 cb710: avoid NULL pointer subtraction
    2b6c75bf9202 xhci: Enable trust tx length quirk for Fresco FL11 USB controller
    e54abefe703a xhci: Fix command ring pointer corruption while aborting a command
    fa3093d37cce xhci: add quirk for host controllers that don't update endpoint DCS
    eacfdec26656 xhci: guard accesses to ep_state in xhci_endpoint_reset()
    db96c1d87c95 USB: xhci: dbc: fix tty registration race
    7c0af62f11c3 mei: hbm: drop hbm responses on early shutdown
    fe87a580929e mei: me: add Ice Lake-N device id.
    ce8f1faa8140 x86/resctrl: Free the ctrlval arrays when domain_setup_mon_state() fails
    0294b7ccb00b module: fix clang CFI with MODULE_UNLOAD=n
    0e309e1152fc btrfs: fix abort logic in btrfs_replace_file_extents
    f86531a3115f btrfs: update refs for any root except tree log roots
    5dbc0d798074 btrfs: check for error when looking up inode during dir entry replay
    439cce2df925 btrfs: deal with errors when adding inode reference during log replay
    790dbfcd43a0 btrfs: deal with errors when replaying dir entry during log replay
    0adda9f173f1 btrfs: unlock newly allocated extent buffer after error
    697ee8c3d3fa drm/msm: Avoid potential overflow in timeout_to_jiffies()
    2479f72f5328 drm/msm: Do not run snapshot on non-DPU devices
    95a9523afb3d drm/nouveau/fifo: Reinstate the correct engine bit programming
    0af9c042cd6e arm64/hugetlb: fix CMA gigantic page order for non-4K PAGE_SIZE
    f66b6d61f2e3 drm/fbdev: Clamp fbdev surface size if too large
    2c7820141702 csky: Fixup regs.sr broken in ptrace
    f8e8e5448c77 csky: don't let sigreturn play with priveleged bits of status register
    46f067744387 clk: socfpga: agilex: fix duplicate s2f_user0_clk
    d429630cde94 s390: fix strrchr() implementation
    8ca9745efe35 dm rq: don't queue request to blk-mq during DM suspend
    d856f5d13d65 ACPI: PM: Include alternate AMDI0005 id in special behaviour
    6e506f07c5b5 dm: fix mempool NULL pointer race when completing IO
    594a97f7617b nds32/ftrace: Fix Error: invalid operands (*UND* and *UND* sections) for `^'
    24262c6439c6 mtd: rawnand: qcom: Update code word value for raw read
    f7744bdec09f spi: atmel: Fix PDC transfer setup bug
    26a88eedfc88 platform/x86: amd-pmc: Add alternative acpi id for PMC controller
    1a707ec090e9 platform/x86: gigabyte-wmi: add support for B550 AORUS ELITE AX V2
    52d44bd028c1 ALSA: hda/realtek: Fix the mic type detection issue for ASUS G551JW
    8c5628cbb26e ALSA: hda/realtek: Fix for quirk to enable speaker output on the Lenovo 13s Gen2
    9a13d0f9c3d9 ALSA: hda/realtek: Add quirk for TongFang PHxTxX1
    f8d3c17e1c37 ALSA: hda/realtek - ALC236 headset MIC recording issue
    1f923b81f49e ALSA: hda/realtek: Add quirk for Clevo X170KM-G
    07015c2e0f35 ALSA: hda/realtek: Complete partial device name to avoid ambiguity
    a2fc31b3699a ALSA: hda - Enable headphone mic on Dell Latitude laptops with ALC3254
    72653bfc9b9d ALSA: hda/realtek: Enable 4-speaker output for Dell Precision 5560 laptop
    14137ae740cb ALSA: seq: Fix a potential UAF by wrong private_free call order
    dfd5633ae775 ALSA: usb-audio: Fix a missing error check in scarlett gen2 mixer
    1a98c3c68795 ALSA: pcm: Workaround for a wrong offset in SYNC_PTR compat ioctl
    ca3dccb96511 ALSA: usb-audio: Add quirk for VF0770

(From OE-Core rev: 3471c208fe87e80e4e8d54bc3e24d8ea9c3f6b2a)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-27 09:46:41 +01:00
Bruce Ashfield
3507fe29ff linux-yocto/5.14: common-pc: enable CONFIG_ATA_PIIX as built-in
Jacob Kroon reported that generic/custom x86 kernels would no
longer boot out of the box since the IDE options were removed
and the PATA migration happened.

To re-enable that use case, we grab the following kernel
configuration change:

    common-pc*/qemux86*: set CONFIG_ATA_PIIX as built-in

    Since the IDE options were made obselete in the kernel, and the
    PATA driver is the replacement, we haven't had one of the commonly
    used qemu boot devices enabled in our kernel by default.

    We change CONFIG_ATA_PIIX to built-in, to re-enable use cases that
    boot from default qemu 'hardware'.

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

Reported-by: Jacob Kroon <jacob.kroon@gmail.com>
(From OE-Core rev: 341707513a7c3cfcd797f6631b8daf09ddf5bae8)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-27 09:46:41 +01:00
Bruce Ashfield
7b047c54ba linux-yocto/5.10: update to v5.10.74
Updating linux-yocto/5.10 to the latest korg -stable release that comprises
the following commits:

    77434fe5a077 Linux 5.10.74
    42b49f012b6a hwmon: (pmbus/ibm-cffps) max_power_out swap changes
    bb893f075431 sched: Always inline is_percpu_thread()
    bdae2a083436 perf/core: fix userpage->time_enabled of inactive events
    57c7ca3d5592 scsi: virtio_scsi: Fix spelling mistake "Unsupport" -> "Unsupported"
    d993d1e1c411 scsi: ses: Fix unsigned comparison with less than zero
    621ddffb70db drm/amdgpu: fix gart.bo pin_count leak
    a5ba615fbeb3 net: sun: SUNVNET_COMMON should depend on INET
    db868b45324d vboxfs: fix broken legacy mount signature checking
    42c871d38e3d mac80211: check return value of rhashtable_init
    bda06aff03a1 net: prevent user from passing illegal stab size
    3d68c7b0ab5b hwmon: (ltc2947) Properly handle errors when looking for the external clock
    194e8a4f0acd m68k: Handle arrivals of multiple signals correctly
    977aee58142a mac80211: Drop frames from invalid MAC address in ad-hoc mode
    9ec9a975ea37 netfilter: nf_nat_masquerade: defer conntrack walk to work queue
    5182d6db80bb netfilter: nf_nat_masquerade: make async masq_inet6_event handling generic
    bcb647c1e15d ASoC: SOF: loader: release_firmware() on load failure to avoid batching
    f6952b1e22c2 HID: wacom: Add new Intuos BT (CTL-4100WL/CTL-6100WL) device IDs
    ddc4ba737bcb netfilter: ip6_tables: zero-initialize fragment offset
    ddf026d6ae9a HID: apple: Fix logical maximum and usage maximum of Magic Keyboard JIS
    0bcfa99e8fae ASoC: Intel: sof_sdw: tag SoundWire BEs as non-atomic
    14cbfeeee41b ext4: correct the error path of ext4_write_inline_data_end()
    d7a15e1e4fd7 ext4: check and update i_disksize properly

(From OE-Core rev: 8e863e9c57fc26e4158b6c10b04931976c54efb8)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-27 09:46:40 +01:00
Bruce Ashfield
a8d7f4de41 linux-yocto/5.14: update to v5.14.13
Updating linux-yocto/5.14 to the latest korg -stable release that comprises
the following commits:

    b9ed05407395 Linux 5.14.13
    d7c187ab28f6 hwmon: (pmbus/ibm-cffps) max_power_out swap changes
    e798dcd960a3 io_uring: kill fasync
    15571bb5bb64 sched: Always inline is_percpu_thread()
    643c519c36dc perf/core: fix userpage->time_enabled of inactive events
    15f69a666166 scsi: qla2xxx: Fix excessive messages during device logout
    cc07ecaf9a9c scsi: virtio_scsi: Fix spelling mistake "Unsupport" -> "Unsupported"
    21c2e89e7caa scsi: ses: Fix unsigned comparison with less than zero
    18d1c5ea3798 drm/amdgpu: fix gart.bo pin_count leak
    048389b85643 net: sun: SUNVNET_COMMON should depend on INET
    e36444b36ff0 vboxfs: fix broken legacy mount signature checking
    5c85a825615a net: bgmac-platform: handle mac-address deferral
    af13e6176b25 mac80211: check return value of rhashtable_init
    ebb25ff84341 net: prevent user from passing illegal stab size
    998e080844c9 hwmon: (ltc2947) Properly handle errors when looking for the external clock
    1d0996b0d2b3 m68k: Handle arrivals of multiple signals correctly
    4d38fb418f71 pinctrl: qcom: sc7280: Add PM suspend callbacks
    9a8a181ed97e mac80211: Drop frames from invalid MAC address in ad-hoc mode
    a3ea231aa3f0 netfilter: nf_nat_masquerade: defer conntrack walk to work queue
    36f822c301c7 netfilter: nf_nat_masquerade: make async masq_inet6_event handling generic
    6c3e84af3944 KVM: arm64: nvhe: Fix missing FORCE for hyp-reloc.S build rule
    1fd0252cad6b ASoC: SOF: loader: release_firmware() on load failure to avoid batching
    2dd40af15d19 HID: wacom: Add new Intuos BT (CTL-4100WL/CTL-6100WL) device IDs
    95cb145dcfc8 netfilter: ip6_tables: zero-initialize fragment offset
    f117530a10e0 HID: apple: Fix logical maximum and usage maximum of Magic Keyboard JIS
    13e6abfa0b1e ALSA: usb-audio: Unify mixer resume and reset_resume procedure
    cb315326664d ALSA: oxfw: fix transmission method for Loud models based on OXFW971
    3c13d6e6fc56 ASoC: Intel: sof_sdw: tag SoundWire BEs as non-atomic
    7c2893a12fc0 ext4: correct the error path of ext4_write_inline_data_end()
    501f3491d99e ext4: check and update i_disksize properly

(From OE-Core rev: a1028453439db361d5f77fa220d77c49bc7a1f82)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-27 09:46:40 +01:00
Bruce Ashfield
d061bd53cd linux-yocto/5.14: update to v5.14.12
Updating linux-yocto/5.14 to the latest korg -stable release that comprises
the following commits:

    325225e2f9fa Linux 5.14.12
    58f0e59efa34 dsa: tag_dsa: Fix mask for trunked packets
    5dc24f3e0841 x86/hpet: Use another crystalball to evaluate HPET usability
    4e9ec1c65da9 x86/entry: Clear X86_FEATURE_SMAP when CONFIG_X86_SMAP=n
    2ba3e3026f4f x86/entry: Correct reference to intended CONFIG_64_BIT
    0723d4f8b179 x86/fpu: Restore the masking out of reserved MXCSR bits
    44976b5cb6af x86/sev: Return an error on a returned non-zero SW_EXITINFO1[31:0]
    6665c1c5770f x86/Kconfig: Correct reference to MWINCHIP3D
    1d4092c10125 x86/platform/olpc: Correct ifdef symbol to intended CONFIG_OLPC_XO15_SCI
    8ba6e4551011 pseries/eeh: Fix the kdump kernel crash during eeh_pseries_init
    da0cb12f1983 powerpc/32s: Fix kuap_kernel_restore()
    d7a8e38999fb powerpc/64s: Fix unrecoverable MCE calling async handler from NMI
    22ee1f15a72e powerpc/traps: do not enable irqs in _exception
    c835b3d1d636 powerpc/64s: fix program check interrupt emergency stack path
    6b77166ffee7 powerpc/bpf ppc32: Fix BPF_SUB when imm == 0x80000000
    b8601d47e87a powerpc/bpf ppc32: Do not emit zero extend instruction for 64-bit BPF_END
    491976e521c1 powerpc/bpf ppc32: Fix JMP32_JSET_K
    9a3e91f94473 powerpc/bpf ppc32: Fix ALU32 BPF_ARSH operation
    096d4c941f0e powerpc/bpf: Fix BPF_SUB when imm == 0x80000000
    2d7781883b3e powerpc/bpf: Fix BPF_MOD when imm == 1
    a7ce57ca9407 objtool: Make .altinstructions section entry size consistent
    039a68957f81 objtool: Remove reloc symbol type checks in get_alt_entry()
    1642f51ac0d4 scsi: iscsi: Fix iscsi_task use after free
    412754da783d RISC-V: Include clone3() on rv32
    cf63b49349cc i2c: mlxcpld: Modify register setting for 400KHz frequency
    3655a1934519 i2c: mlxcpld: Fix criteria for frequency setting
    d590a410e472 bpf, s390: Fix potential memory leak about jit_data
    f344ad3060c4 riscv/vdso: make arch_setup_additional_pages wait for mmap_sem for write killable
    b8b60c1139c7 riscv/vdso: Move vdso data page up front
    309fd6f1e7cf riscv/vdso: Refactor asm/vdso.h
    ff26f96fe0a2 RISC-V: Fix VDSO build for !MMU
    363128071346 riscv: explicitly use symbol offsets for VDSO
    26e7025ef25a i2c: mediatek: Add OFFSET_EXT_CONF setting back
    90f1077c9184 i2c: acpi: fix resource leak in reconfiguration device addition
    d40c4da7318f powerpc/iommu: Report the correct most efficient DMA mask for PCI devices
    272b85c2fdb2 net: prefer socket bound to interface when not in VRF
    8d2a1e7fb90c iavf: fix double unlock of crit_lock
    75099439209d i40e: Fix freeing of uninitialized misc IRQ vector
    d6db5bcd1817 i40e: fix endless loop under rtnl
    1fad5d7f75f7 gve: report 64bit tx_bytes counter from gve_handle_report_stats()
    bcf4f5e4d33d gve: fix gve_get_stats()
    f4479f3bc861 rtnetlink: fix if_nlmsg_stats_size() under estimation
    f5cfed82e0f3 gve: Properly handle errors in gve_assign_qpl
    2044137a268a gve: Avoid freeing NULL pointer
    3e8df2cada21 gve: Correct available tx qpl check
    bb23ade18ad7 net: stmmac: trigger PCS EEE to turn off on link down
    940ee87907f0 net: pcs: xpcs: fix incorrect steps on disable EEE
    88c3610045ca drm/nouveau/debugfs: fix file release memory leak
    0b4e9fc14973 drm/nouveau/kms/nv50-: fix file release memory leak
    548f2ff8ea5e drm/nouveau: avoid a use-after-free when BO init fails
    23514c752f9b video: fbdev: gbefb: Only instantiate device when built for IP32
    ae7a72cd325c drm/panel: abt-y030xx067a: yellow tint fix
    e6b90dcda29b drm/nouveau/fifo/ga102: initialise chid on return from channel creation
    8228b3b3b5a2 drm/sun4i: dw-hdmi: Fix HDMI PHY clock setup
    ad0fca5a28b3 bus: ti-sysc: Use CLKDM_NOAUTO for dra7 dcan1 for errata i893
    37e2d7fe11ae perf jevents: Free the sys_event_tables list after processing entries
    72e9a1bf9b72 drm/amdgpu: handle the case of pci_channel_io_frozen only in amdgpu_pci_resume
    7e5ce6029b62 drm/amdkfd: fix a potential ttm->sg memory leak
    50002489a20c ARM: defconfig: gemini: Restore framebuffer
    942bde2caec2 netlink: annotate data races around nlk->bound
    464be37f127b net: pcs: xpcs: fix incorrect CL37 AN sequence
    6594158f24e1 net: sfp: Fix typo in state machine debug string
    7a1c1af34104 net/sched: sch_taprio: properly cancel timer from taprio_destroy()
    ba07883c780f net: bridge: fix under estimation in br_get_linkxstats_size()
    df7983fdbc83 net: bridge: use nla_total_size_64bit() in br_get_linkxstats_size()
    47afb35c4f87 afs: Fix afs_launder_page() to set correct start file position
    2eb0a5440068 netfs: Fix READ/WRITE confusion when calling iov_iter_xarray()
    cd4dcab5d20c drm/i915/bdb: Fix version check
    4e7c20e5166e drm/i915/tc: Fix TypeC port init/resume time sanitization
    185e4eeac58e drm/i915/jsl: Add W/A 1409054076 for JSL
    8eb67e815d5e drm/i915/audio: Use BIOS provided value for RKL HDA link
    a23d12eeb1ad ARM: imx6: disable the GIC CPU interface before calling stby-poweroff sequence
    94d64d44e41a dt-bindings: drm/bridge: ti-sn65dsi86: Fix reg value
    b07494f81da2 arm64: dts: ls1028a: fix eSDHC2 node
    26a949f2335b arm64: dts: imx8mm-kontron-n801x-som: do not allow to switch off buck2
    4350e1f61930 arm64: dts: imx8: change the spi-nor tx
    672285df5e0a ARM: dts: imx: change the spi-nor tx
    baa59a36ff1b ptp_pch: Load module automatically if ID matches
    9b5198c1e041 powerpc/fsl/dts: Fix phy-connection-type for fm1mac3
    6d1e04d8f044 netfilter: nf_tables: honor NLM_F_CREATE and NLM_F_EXCL in event notification
    96117e85b83b MIPS: Revert "add support for buggy MT7621S core detection"
    8efe947ea1ea net: stmmac: dwmac-rk: Fix ethernet on rk3399 based devices
    f1325381177c net: mscc: ocelot: fix VCAP filters remaining active after being deleted
    fb58cd799174 net_sched: fix NULL deref in fifo_set_limit()
    9e8e7504e098 libbpf: Fix memory leak in strset
    064c2616234a phy: mdio: fix memory leak
    8b6cd17219c3 libbpf: Fix segfault in light skeleton for objects without BTF
    2ca78aa65bc1 net/mlx5e: Fix the presented RQ index in PTP stats
    c0b1de56a40e net/mlx5: Fix setting number of EQs of SFs
    5ef55400217f net/mlx5: Fix length of irq_index in chars
    f1c4eaf49d5d net/mlx5: Avoid generating event after PPS out in Real time mode
    4f3369d3e5e8 net/mlx5: Force round second at 1PPS out start time
    ea0b8ffff565 net/mlx5: E-Switch, Fix double allocation of acl flow counter
    d7954cedb9e6 net/mlx5e: Keep the value for maximum number of channels in-sync
    35460565138f net/mlx5e: IPSEC RX, enable checksum complete
    3a1ac1e368be bpf: Fix integer overflow in prealloc_elems_and_freelist()
    0385744b240a soc: ti: omap-prm: Fix external abort for am335x pruss
    f419febd396e bpf, arm: Fix register clobbering in div/mod implementation
    34362a65c248 netfilter: nf_tables: reverse order in rule replacement expansion
    0b1891aa588a netfilter: nf_tables: add position handle in event notification
    3ece5c4bf601 netfilter: conntrack: fix boot failure with nf_conntrack.enable_hooks=1
    9039a8596370 iwlwifi: pcie: add configuration of a Wi-Fi adapter on Dell XPS 15
    8979fa2c43b0 xtensa: call irqchip_init only when CONFIG_USE_OF is selected
    c4a9836c9dd6 xtensa: use CONFIG_USE_OF instead of CONFIG_OF
    5be9d1335749 arm64: dts: qcom: pm8150: use qcom,pm8998-pon binding
    1c186680c89f ath5k: fix building with LEDS=m
    436f61a89655 PCI: hv: Fix sleep while in non-sleep context when removing child devices from the bus
    11fc74ddd63a ARM: dts: imx6qdl-pico: Fix Ethernet support
    871b9129ca6d ARM: dts: imx: Fix USB host power regulator polarity on M53Menlo
    d5cbf524d90c ARM: dts: imx: Add missing pinctrl-names for panel on M53Menlo
    64a64a031fc1 soc: qcom: mdt_loader: Drop PT_LOAD check on hash segment
    432d8185e9ff iwlwifi: mvm: Fix possible NULL dereference
    306b7fe278ac ARM: at91: pm: do not panic if ram controllers are not enabled
    55f37cc6ee05 Revert "arm64: dts: qcom: sc7280: Fixup the cpufreq node"
    5ceb465692d6 ARM: dts: qcom: apq8064: Use 27MHz PXO clock as DSI PLL reference
    457673bfee0b soc: qcom: socinfo: Fixed argument passed to platform_set_data()
    54607728e944 bus: ti-sysc: Add break in switch statement in sysc_init_soc()
    f1c7aa87c423 riscv: Flush current cpu icache before other cpus
    b514b752b626 scsi: ufs: core: Fix task management completion
    4a0775d0c030 ARM: dts: qcom: apq8064: use compatible which contains chipid
    d62956ddb915 ARM: dts: imx6dl-yapp4: Fix lp5562 LED driver probe
    05d9d419220b ARM: dts: omap3430-sdp: Fix NAND device node
    35c6691812b7 xen/balloon: fix cancelled balloon action
    f574ab3192eb SUNRPC: fix sign error causing rpcsec_gss drops
    ace054d4e523 nfsd4: Handle the NFSv4 READDIR 'dircount' hint being zero
    9228f2a0d1bc nfsd: fix error handling of register_pernet_subsys() in init_nfsd()
    d9f9dfb9040c ovl: fix IOCB_DIRECT if underlying fs doesn't support direct IO
    71b8b36187af ovl: fix missing negative dentry check in ovl_rename()
    b0ee6190e856 fbdev: simplefb: fix Kconfig dependencies
    897e427ef37c mmc: sdhci-of-at91: replace while loop with read_poll_timeout
    aa7c4ce94835 mmc: sdhci-of-at91: wait for calibration done before proceed
    266fd4b85ce3 mmc: meson-gx: do not use memcpy_to/fromio for dram-access-quirk
    527d377da38f xen/privcmd: fix error handling in mmap-resource processing
    c2a35a408070 drm/i915: Extend the async flip VT-d w/a to skl/bxt
    6dafefe60cb2 drm/i915: Fix runtime pm handling in i915_gem_shrink
    92c92e554553 drm/amd/display: Fix DCN3 B0 DP Alt Mapping
    1a9c5c132686 drm/amd/display: Fix detection of 4 lane for DPALT
    4fd24bff9fac drm/amd/display: Limit display scaling to up to 4k for DCN 3.1
    c43e26907d91 drm/nouveau/ga102-: support ttm buffer moves via copy engine
    e4c1d18cb951 drm/nouveau/kms/tu102-: delay enabling cursor until after assign_windows
    4df3adab896f drm/amdgpu: During s0ix don't wait to signal GFXOFF
    ec36503dffdd drm/amd/display: USB4 bring up set correct address
    4b55ade094de drm/amd/display: Fix B0 USB-C DP Alt mode
    3048656f5abf usb: typec: tipd: Remove dependency on "connector" child fwnode
    f5155225108f usb: typec: tcpm: handle SRC_STARTUP state if cc changes
    108d39a6b5a7 usb: typec: tcpci: don't handle vSafe0V event if it's not enabled
    267d19e300c1 USB: cdc-acm: fix break reporting
    aff426d4b887 USB: cdc-acm: fix racy tty buffer accesses
    09c4c413bc56 usb: gadget: f_uac2: fixed EP-IN wMaxPacketSize
    66dd03b10e1c usb: chipidea: ci_hdrc_imx: Also search for 'phys' phandle
    9b70e9acfceb usb: cdc-wdm: Fix check for WWAN
    d92e0c42cfee Partially revert "usb: Kconfig: using select for USB_COMMON dependency"
    924356b31dcb Linux 5.14.11
    add46a06b8d3 Revert "ARM: imx6q: drop of_platform_default_populate() from init_machine"
    cfd436c4b683 Revert "brcmfmac: use ISO3166 country code and 0 rev as fallback"
    86524ac0ddac libata: Add ATA_HORKAGE_NO_NCQ_ON_ATI for Samsung 860 and 870 SSD.
    2cef02f53d59 perf/x86: Reset destroy callback on event init failure
    12058756a220 KVM: x86: nSVM: restore int_vector in svm_clear_vintr
    b232ba59feb9 kvm: x86: Add AMD PMU MSRs to msrs_to_save_all[]
    9c827ab0cb09 KVM: x86: reset pdptrs_from_userspace when exiting smm
    ce64d61801d9 KVM: do not shrink halt_poll_ns below grow_start
    11e4acd09e3f selftests: KVM: Align SMCCC call with the spec in steal_time
    96320e3316f8 kasan: always respect CONFIG_KASAN_STACK
    7d434c5f4687 tools/vm/page-types: remove dependency on opt_file for idle page tracking
    004b8f8a6912 block: don't call rq_qos_ops->done_bio if the bio isn't tracked
    648f59a06b0e io_uring: allow conditional reschedule for intensive iterators
    1b5b6666e235 x86/insn, tools/x86: Fix undefined behavior due to potential unaligned accesses
    d022e4c48e16 smb3: correct smb3 ACL security descriptor
    629c6e725d10 irqchip/gic: Work around broken Renesas integration
    ab0a257d1591 scsi: ses: Retry failed Send/Receive Diagnostic commands
    cd402c666fe7 thermal/drivers/tsens: Fix wrong check for tzd in irq handlers
    7efa50dd020c nvme-fc: avoid race between time out and tear down
    70f57c93f10b nvme-fc: update hardware queues before using them
    2e4a7695c8df swiotlb-xen: ensure to issue well-formed XENMEM_exchange requests
    3ad674aa1742 Xen/gntdev: don't ignore kernel unmapping error
    95342046ba4e selftests: kvm: fix get_run_delay() ignoring fscanf() return warn
    80b7cc21401b selftests: kvm: move get_run_delay() into lib/test_util
    b6d7e8c09c40 selftests:kvm: fix get_trans_hugepagesz() ignoring fscanf() return warn
    b664df7bb40a selftests:kvm: fix get_warnings_count() ignoring fscanf() return warn
    2085e5ad67f4 selftests: be sure to make khdr before other targets
    656998200410 habanalabs/gaudi: fix LBW RR configuration
    6874cdba4daa habanalabs: fail collective wait when not supported
    1c806d5a425b habanalabs/gaudi: use direct MSI in single mode
    337f00a0bc62 usb: dwc2: check return value after calling platform_get_resource()
    6b5af31c50ac usb: testusb: Fix for showing the connection speed
    6a48e3f46ef4 scsi: elx: efct: Do not hold lock while calling fc_vport_terminate()
    e95f62013a11 scsi: sd: Free scsi_disk device via put_device()
    ac7d732b24f4 drm/amdkfd: fix svm_migrate_fini warning
    4c5a564bf968 drm/amdkfd: handle svm migrate init error
    3c2830d0cb6f ext2: fix sleeping in atomic bugs on error
    a3b450333d64 platform/x86: gigabyte-wmi: add support for B550I Aorus Pro AX
    3702afcf0aac sparc64: fix pci_iounmap() when CONFIG_PCI is not set
    e4cff35be8ff xen-netback: correct success/error reporting for the SKB-with-fraglist case
    0cfda0cc59d4 net: mdio: introduce a shutdown method to mdio device drivers
    7a08b2e1e477 btrfs: fix mount failure due to past and transient device flush error
    31e401cb05ac btrfs: replace BUG_ON() in btrfs_csum_one_bio() with proper error handling
    20282e53d6bd nfsd: back channel stuck in SEQ4_STATUS_CB_PATH_DOWN
    5c1e84b7ae04 platform/x86: touchscreen_dmi: Update info for the Chuwi Hi10 Plus (CWI527) tablet
    77e6b00985f6 platform/x86: touchscreen_dmi: Add info for the Chuwi HiBook (CWI514) tablet
    bf4597f45f31 afs: Add missing vnode validation checks
    20137432e181 spi: rockchip: handle zero length transfers without timing out
    b133f076639b Linux 5.14.10
    81971ea5ec5c HID: amd_sfh: Fix potential NULL pointer dereference - take 2
    fe6f7b77796e objtool: print out the symbol type when complaining about it
    a7d4cb29f556 drivers: net: mhi: fix error path in mhi_net_newlink
    14492ff96387 netfilter: nf_tables: Fix oversized kvmalloc() calls
    7ea6f5848281 netfilter: conntrack: serialize hash resizes and cleanups
    4664318f73e4 KVM: x86: Handle SRCU initialization failure during page track init
    38c84dfafed5 crypto: aesni - xts_crypt() return if walk.nbytes is 0
    2b704864c92d HID: usbhid: free raw_report buffers in usbhid_stop
    24f3fc95b56b mm: don't allow oversized kvmalloc() calls
    3213f5f8d4ad netfilter: ipset: Fix oversized kvmalloc() calls
    708107b80aa6 HID: betop: fix slab-out-of-bounds Write in betop_probe
    eae2fce438f1 usb: hso: remove the bailout parameter
    47d791dbe1ba NIOS2: setup.c: drop unused variable 'dram_start'
    a7931aa81760 net: udp: annotate data race around udp_sk(sk)->corkflag
    aa3a4f5913a9 HID: u2fzero: ignore incomplete packets without data
    a4f316af25ba ext4: flush s_error_work before journal destroy in ext4_fill_super
    2021f187321c ext4: fix potential infinite loop in ext4_dx_readdir()
    27e10c5d31ff ext4: add error checking to ext4_ext_replay_set_iblocks()
    9bef6f6e2172 ext4: fix reserved space counter leakage
    a5a403aed8a0 ext4: limit the number of blocks in one ADD_RANGE TLV
    68a5ca234225 ext4: fix loff_t overflow in ext4_max_bitmap_size()
    811178f296b1 ipack: ipoctal: fix module reference leak
    382ef7ff1854 ipack: ipoctal: fix missing allocation-failure check
    fcd28f229175 ipack: ipoctal: fix tty-registration error handling
    4953ef80af5f ipack: ipoctal: fix tty registration race
    0a9c36a2e06a ipack: ipoctal: fix stack information leak
    ec889a8be77b debugfs: debugfs_create_file_size(): use IS_ERR to check for error
    e554f26ea453 driver core: fw_devlink: Improve handling of cyclic dependencies
    133578ac70a2 elf: don't use MAP_FIXED_NOREPLACE for elf interpreter mappings
    617f0ea5dfc4 nvme: add command id quirk for apple controllers
    bad1cb95af71 kvm: fix objtool relocation warning
    77744fa757b1 hwmon: (pmbus/mp2975) Add missed POUT attribute for page 1 mp2975 controller
    ec9331ef103f hwmon: (occ) Fix P10 VRM temp sensors
    9ea06d55278e sched/fair: Null terminate buffer when updating tunable_scaling
    fce08b03923e sched/fair: Add ancestors of unthrottled undecayed cfs_rq
    d42683c2b196 perf/x86/intel: Update event constraints for ICX
    3aa381480fbe objtool: Teach get_alt_entry() about more relocation types
    ec716aac7fe4 af_unix: fix races in sk_peer_pid and sk_peer_cred accesses
    97f1c1783c1b net: stmmac: fix EEE init issue when paired with EEE capable PHYs
    dab4677bdbff net: sched: flower: protect fl_walk() with rcu
    e88c502ef7be net: phy: bcm7xxx: Fixed indirect MMD operations
    4cdec1041cd3 net: hns3: disable firmware compatible features when uninstall PF
    3937b9c2961e net: hns3: fix always enable rx vlan filter problem after selftest
    fd519ae5a816 net: hns3: reconstruct function hns3_self_test
    851c0b9913b8 net: hns3: fix show wrong state when add existing uc mac address
    18e609791fa6 net: hns3: fix mixed flag HCLGE_FLAG_MQPRIO_ENABLE and HCLGE_FLAG_DCB_ENABLE
    8bcaeeefccfb net: hns3: don't rollback when destroy mqprio fail
    8d4ad0ab2874 net: hns3: remove tc enable checking
    3dac38bdce79 net: hns3: do not allow call hns3_nic_net_open repeatedly
    2744341dd52e ixgbe: Fix NULL pointer dereference in ixgbe_xdp_setup
    81369dce6d85 scsi: csiostor: Add module softdep on cxgb4
    7a73120f8eaf Revert "block, bfq: honor already-setup queue merges"
    27b9ff88f1f6 ionic: fix gathering of debug stats
    477e7f62b358 net: ks8851: fix link error
    9d561381e48c bpf, x86: Fix bpf mapping of atomic fetch implementation
    0157eb81e339 selftests, bpf: test_lwt_ip_encap: Really disable rp_filter
    54d54d2e02c7 selftests, bpf: Fix makefile dependencies on libbpf
    173dbe4fdb22 libbpf: Fix segfault in static linker for objects without BTF
    b822ce7334d5 bpf: Exempt CAP_BPF from checks against bpf_jit_limit
    b96fc31338ca RDMA/hns: Add the check of the CQE size of the user space
    8ba300a48a3b RDMA/hns: Fix the size setting error when copying CQE in clean_cq()
    714bfabe5f29 RDMA/hfi1: Fix kernel pointer leak
    d1db35d832a8 e100: fix buffer overrun in e100_get_regs
    474443c9982b e100: fix length calculation in e100_get_regs_len
    ed3617b8aeb4 dsa: mv88e6xxx: Include tagger overhead when setting MTU for DSA and CPU ports
    2c3c98b40e1f dsa: mv88e6xxx: Fix MTU definition
    eabd1e182225 dsa: mv88e6xxx: 6161: Use chip wide MAX MTU
    3027d7ba264f drm/i915: Remove warning from the rps worker
    406b3c0f64ab drm/i915/request: fix early tracepoints
    60edf381ca21 smsc95xx: fix stalled rx after link change
    bac85b1d0745 net: ipv4: Fix rtnexthop len when RTA_FLOW is present
    3636e045de1f net: enetc: fix the incorrect clearing of IF_MODE bits
    d4a6139e651f hwmon: (tmp421) fix rounding for negative values
    8776ad745092 hwmon: (tmp421) report /PVLD condition as fault
    0fe76b4171e4 RDMA/hns: Work around broken constant propagation in gcc 8
    62adc41df3b5 mptcp: allow changing the 'backup' bit when no sockets are open
    385cf9ac00c2 mptcp: don't return sockets in foreign netns
    8180611c238e sctp: break out if skb_header_pointer returns NULL in sctp_rcv_ootb
    734652b0a231 net: mdiobus: Set FWNODE_FLAG_NEEDS_CHILD_BOUND_ON_ADD for mdiobus parents
    7f9cb654462d driver core: fw_devlink: Add support for FWNODE_FLAG_NEEDS_CHILD_BOUND_ON_ADD
    ed2adf69e298 mac80211-hwsim: fix late beacon hrtimer handling
    35367a5b63d9 mac80211: mesh: fix potentially unaligned access
    997ee230e4f5 mac80211: limit injected vht mcs/nss in ieee80211_parse_tx_radiotap
    764a80c53dee mac80211: Fix ieee80211_amsdu_aggregate frag_tail bug
    2e46f261b28c Revert "mac80211: do not use low data rates for data frames with no ack flag"
    5f66dd17451d netfilter: log: work around missing softdep backend module
    f65c73d3aabb netfilter: nf_tables: unlink table before deleting it
    ec0eb6794804 RDMA/irdma: Report correct WC error when there are MW bind errors
    c3044d872d6d RDMA/irdma: Report correct WC error when transport retry counter is exceeded
    63a5c2119924 RDMA/irdma: Validate number of CQ entries on create CQ
    7dce0dc364c4 RDMA/irdma: Skip CQP ring during a reset
    aa85fb7bde55 hwmon: (mlxreg-fan) Return non-zero value when fan current state is enforced from sysfs
    dbe853968d4d bpf, mips: Validate conditional branch offsets
    e56a5146ef8c RDMA/cma: Fix listener leak in rdma_cma_listen_on_all() failure
    2288eafe2c4a IB/cma: Do not send IGMP leaves for sendonly Multicast groups
    67b07e7b490f bpf: Handle return value of BPF_PROG_TYPE_STRUCT_OPS prog
    473c59ab5de5 ipvs: check that ip_vs_conn_tab_bits is between 8 and 20
    ce1cccb000bd drm/i915/gvt: fix the usage of ww lock in gvt scheduler.
    8bb4ef3807d5 interconnect: qcom: sdm660: Correct NOC_QOS_PRIORITY shift and mask
    f3856fe1a057 interconnect: qcom: sdm660: Fix id of slv_cnoc_mnoc_cfg
    5c488a28b436 drm/amdgpu: correct initial cp_hqd_quantum for gfx9
    73bb3f4e877c drm/amdgpu: check tiling flags when creating FB on GFX8-
    0d77b5d94301 drm/amdgpu: force exit gfxoff on sdma resume for rmb s0ix
    be6f8fb11a24 drm/amd/display: Fix Display Flicker on embedded panels
    f43a2abf5dd7 drm/amd/display: Pass PCI deviceid into DC
    81a22172ba35 drm/amd/display: initialize backlight_ramping_override to false
    25011c9ec8e7 nbd: use shifts rather than multiplies
    03d884671572 RDMA/cma: Ensure rdma_addr_cancel() happens before issuing more requests
    d9ba5565c7f8 RDMA/cma: Do not change route.addr.src_addr.ss_family
    698c8a0a029b media: ir_toy: prevent device from hanging during transmit
    4ed5f2656691 mmc: renesas_sdhi: fix regression with hard reset on old SDHIs
    dd2ee266dd58 KVM: VMX: Fix a TSX_CTRL_CPUID_CLEAR field mask issue
    2cebb9aed993 KVM: nVMX: Fix nested bus lock VM exit
    efd7866e114d KVM: SVM: fix missing sev_decommission in sev_receive_start
    540dd9506ae0 KVM: SEV: Allow some commands for mirror VM
    d6e7fd7ece71 KVM: SEV: Acquire vcpu mutex when updating VMSA
    c9343f03e522 KVM: SEV: Pin guest memory for write for RECEIVE_UPDATE_DATA
    0c1a1c505432 KVM: SEV: Update svm_vm_copy_asid_from for SEV-ES
    5d522f759211 KVM: nVMX: Filter out all unsupported controls when eVMCS was activated
    17e96fe4a8ec KVM: x86: Swap order of CPUID entry "index" vs. "significant flag" checks
    3e7144429936 KVM: x86: Clear KVM's cached guest CR3 at RESET/INIT
    4639ee36e064 KVM: x86: nSVM: don't copy virt_ext from vmcb12
    99a9e9b80f19 KVM: x86: Fix stack-out-of-bounds memory access from ioapic_write_indirect()
    99a016076ed5 ptp: Fix ptp_kvm_getcrosststamp issue for x86 ptp_kvm
    81bfd6268fd3 x86/kvmclock: Move this_cpu_pvti into kvmclock.h
    9a75f445a4a1 platform/x86/intel: hid: Add DMI switches allow list
    27d3eb5616ee mac80211: fix use-after-free in CCMP/GCMP RX
    38b789c914b1 scsi: ufs: Fix illegal offset in UPIU event trace
    de6c8af17f53 gpio: pca953x: do not ignore i2c errors
    16887ae4e3de hwmon: (w83791d) Fix NULL pointer dereference by removing unnecessary structure field
    24af1fe376e2 hwmon: (w83792d) Fix NULL pointer dereference by removing unnecessary structure field
    746011193f44 hwmon: (w83793) Fix NULL pointer dereference by removing unnecessary structure field
    7635f8a7fc8a hwmon: (tmp421) handle I2C errors
    343307d050c1 fs-verity: fix signed integer overflow with i_size near S64_MAX
    2a0d1a8ff21c ACPI: NFIT: Use fallback node id when numa info in NFIT table is incorrect
    062055d4f23e ALSA: hda/realtek: Quirks to enable speaker output for Lenovo Legion 7i 15IMHG05, Yoga 7i 14ITL5/15ITL5, and 13s Gen2 laptops.
    c949aaec0208 ALSA: firewire-motu: fix truncated bytes in message tracepoints
    12d508014972 ALSA: rawmidi: introduce SNDRV_RAWMIDI_IOCTL_USER_PVERSION
    3327293839d0 scsi: ufs: ufs-pci: Fix Intel LKF link stability
    e130f2ed1da9 cpufreq: schedutil: Destroy mutex before kobject_put() frees the memory
    920e3c77f130 drm/amdgpu: stop scheduler when calling hw_fini (v2)
    8ba968ae672b drm/amdgpu: avoid over-handle of fence driver fini in s3 test (v2)
    05c8a9dca354 drm/amdgpu: adjust fence driver enable sequence
    8a88b1529a39 scsi: qla2xxx: Changes to support kdump kernel for NVMe BFS
    8d62aec52a8c cpufreq: schedutil: Use kobject release() method to free sugov_tunables
    699d926585da tty: Fix out-of-bound vmalloc access in imageblit
    7be199764d46 watchdog/sb_watchdog: fix compilation problem due to COMPILE_TEST
    a55e7c3f7e4d perf iostat: Fix Segmentation fault from NULL 'struct perf_counts_values *'
    af0bbcbba0d5 perf iostat: Use system-wide mode if the target cpu_list is unspecified
    018e7ce13f2d perf test: Fix DWARF unwind for optimized builds.
    283e4bee701d HID: amd_sfh: Fix potential NULL pointer dereference
    a3d0bfc22a99 kasan: fix Kconfig check of CC_HAS_WORKING_NOSANITIZE_ADDRESS
    5a309b91dd57 NIOS2: fix kconfig unmet dependency warning for SERIAL_CORE_CONSOLE
    a688abc484b5 m68k: Update ->thread.esp0 before calling syscall_trace() in ret_from_signal
    e450c422aa23 crypto: ccp - fix resource leaks in ccp_run_aes_gcm_cmd()
    0bfe74174132 s390/qeth: fix deadlock during failing recovery
    0184084365c4 s390/qeth: Fix deadlock in remove_discipline
    946aa1b742df net/mlx4_en: Resolve bad operstate value
    262468353f59 pinctrl: qcom: spmi-gpio: correct parent irqspec translation
    b1ca0c6353d4 ASoC: SOF: imx: imx8m: Bar index is only valid for IRAM and SRAM types
    5f589b073843 ASoC: SOF: imx: imx8: Bar index is only valid for IRAM and SRAM types
    a6bb576ead07 ASoC: SOF: Fix DSP oops stack dump output contents
    69c9494d1450 scsi: elx: efct: Fix void-pointer-to-enum-cast warning for efc_nport_topology
    0a0d0ce37578 ASoC: mediatek: common: handle NULL case in suspend/resume function
    9b5de0165d67 ASoC: fsl_xcvr: register platform component before registering cpu dai
    4916efd4385c ASoC: fsl_spdif: register platform component before registering cpu dai
    63ff9da3572a ASoC: fsl_micfil: register platform component before registering cpu dai
    b04db30f71bb ASoC: fsl_esai: register platform component before registering cpu dai
    799b9ffd7f5a ASoC: fsl_sai: register platform component before registering cpu dai
    ef074ff5a776 media: s5p-jpeg: rename JPEG marker constants to prevent build warnings
    add13fd5e07e media: cedrus: Fix SUNXI tile size calculation
    00426cf7effb media: hantro: Fix check for single irq

(From OE-Core rev: ddf50256fa94f240d62719d74e144e68a2302797)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-27 09:46:40 +01:00
Bruce Ashfield
193ecdbd90 linux-yocto/5.10: update to v5.10.73
Updating linux-yocto/5.10 to the latest korg -stable release that comprises
the following commits:

    0268aa579b1f Linux 5.10.73
    825c00c2ee14 x86/hpet: Use another crystalball to evaluate HPET usability
    f2447f6587b8 x86/entry: Clear X86_FEATURE_SMAP when CONFIG_X86_SMAP=n
    6bfe1f6fc876 x86/entry: Correct reference to intended CONFIG_64_BIT
    5d637bc6f98a x86/sev: Return an error on a returned non-zero SW_EXITINFO1[31:0]
    df121cf55003 x86/Kconfig: Correct reference to MWINCHIP3D
    d7c36115fb81 x86/platform/olpc: Correct ifdef symbol to intended CONFIG_OLPC_XO15_SCI
    f73ca4961d51 pseries/eeh: Fix the kdump kernel crash during eeh_pseries_init
    411b38fe68ba powerpc/64s: fix program check interrupt emergency stack path
    18a2a2cafcf9 powerpc/bpf: Fix BPF_SUB when imm == 0x80000000
    a4037dded56b RISC-V: Include clone3() on rv32
    29fdb11ca88d bpf, s390: Fix potential memory leak about jit_data
    2c152d9da8fe riscv/vdso: make arch_setup_additional_pages wait for mmap_sem for write killable
    de834e12b96d i2c: mediatek: Add OFFSET_EXT_CONF setting back
    f86de018fd7a i2c: acpi: fix resource leak in reconfiguration device addition
    87990a60b45f powerpc/iommu: Report the correct most efficient DMA mask for PCI devices
    985cca1ad11e net: prefer socket bound to interface when not in VRF
    97aeed72af4f i40e: Fix freeing of uninitialized misc IRQ vector
    2dc768a98c9b i40e: fix endless loop under rtnl
    d3a07ca78ace gve: report 64bit tx_bytes counter from gve_handle_report_stats()
    35f6ddd934e6 gve: fix gve_get_stats()
    9a043022522e rtnetlink: fix if_nlmsg_stats_size() under estimation
    72c2a68f1d83 gve: Avoid freeing NULL pointer
    5d903a694b08 gve: Correct available tx qpl check
    f69556a42043 drm/nouveau/debugfs: fix file release memory leak
    65fff0a8efcd drm/nouveau/kms/nv50-: fix file release memory leak
    f86e19d918a8 drm/nouveau: avoid a use-after-free when BO init fails
    008224cdc126 video: fbdev: gbefb: Only instantiate device when built for IP32
    d2ccbaaa6615 drm/sun4i: dw-hdmi: Fix HDMI PHY clock setup
    18d2568cc7ff bus: ti-sysc: Use CLKDM_NOAUTO for dra7 dcan1 for errata i893
    40a84fcae2bf perf jevents: Tidy error handling
    628b31d96711 netlink: annotate data races around nlk->bound
    144715fbab1b net: sfp: Fix typo in state machine debug string
    3ec73ffeef54 net/sched: sch_taprio: properly cancel timer from taprio_destroy()
    60955b65bd6a net: bridge: fix under estimation in br_get_linkxstats_size()
    c480d15190eb net: bridge: use nla_total_size_64bit() in br_get_linkxstats_size()
    cb8880680bdf ARM: imx6: disable the GIC CPU interface before calling stby-poweroff sequence
    2b0035d1058a dt-bindings: drm/bridge: ti-sn65dsi86: Fix reg value
    10afd1597263 arm64: dts: ls1028a: add missing CAN nodes
    95ba03fb4cb1 ptp_pch: Load module automatically if ID matches
    442ea65d0ccb powerpc/fsl/dts: Fix phy-connection-type for fm1mac3
    acff2d182c07 net_sched: fix NULL deref in fifo_set_limit()
    0d2dd40a7be6 phy: mdio: fix memory leak
    6e6f79e39830 net/mlx5: E-Switch, Fix double allocation of acl flow counter
    d70cb6c77ad9 net/mlx5e: IPSEC RX, enable checksum complete
    064faa8e8a9b bpf: Fix integer overflow in prealloc_elems_and_freelist()
    d5f4b27c3cfc soc: ti: omap-prm: Fix external abort for am335x pruss
    1d8f4447e8c4 bpf, arm: Fix register clobbering in div/mod implementation
    29a19eaeb29d iwlwifi: pcie: add configuration of a Wi-Fi adapter on Dell XPS 15
    6b0132f73094 xtensa: call irqchip_init only when CONFIG_USE_OF is selected
    3d288ed98314 xtensa: use CONFIG_USE_OF instead of CONFIG_OF
    997bec509a83 arm64: dts: qcom: pm8150: use qcom,pm8998-pon binding
    fbca14abc111 ath5k: fix building with LEDS=m
    8aef3824e946 PCI: hv: Fix sleep while in non-sleep context when removing child devices from the bus
    d9b838ae390e ARM: dts: imx6qdl-pico: Fix Ethernet support
    9e99ad4194a5 ARM: dts: imx: Fix USB host power regulator polarity on M53Menlo
    2ba34cf0c16c ARM: dts: imx: Add missing pinctrl-names for panel on M53Menlo
    8f977e97b2b9 soc: qcom: mdt_loader: Drop PT_LOAD check on hash segment
    14f52004bda5 ARM: at91: pm: do not panic if ram controllers are not enabled
    d89a313a5739 ARM: dts: qcom: apq8064: Use 27MHz PXO clock as DSI PLL reference
    25ac88e601eb soc: qcom: socinfo: Fixed argument passed to platform_set_data()
    ab8073794be3 bus: ti-sysc: Add break in switch statement in sysc_init_soc()
    427faa29e06f riscv: Flush current cpu icache before other cpus
    05287407dedf ARM: dts: qcom: apq8064: use compatible which contains chipid
    ac06fe40e889 ARM: dts: imx6dl-yapp4: Fix lp5562 LED driver probe
    71d3ce62ac88 ARM: dts: omap3430-sdp: Fix NAND device node
    f9a855d1bcb2 xen/balloon: fix cancelled balloon action
    9aac782ab0ab SUNRPC: fix sign error causing rpcsec_gss drops
    8f174a208c4c nfsd4: Handle the NFSv4 READDIR 'dircount' hint being zero
    12d4b179022a nfsd: fix error handling of register_pernet_subsys() in init_nfsd()
    1bc2f315a215 ovl: fix IOCB_DIRECT if underlying fs doesn't support direct IO
    9763ffd4da21 ovl: fix missing negative dentry check in ovl_rename()
    1500f0c83670 mmc: sdhci-of-at91: replace while loop with read_poll_timeout
    3a0feae5f642 mmc: sdhci-of-at91: wait for calibration done before proceed
    e5cb3680b958 mmc: meson-gx: do not use memcpy_to/fromio for dram-access-quirk
    13d17cc717d5 xen/privcmd: fix error handling in mmap-resource processing
    de1e8bd36ab4 drm/nouveau/kms/tu102-: delay enabling cursor until after assign_windows
    1d4e9f27d20d usb: typec: tcpm: handle SRC_STARTUP state if cc changes
    feb3fe702a58 USB: cdc-acm: fix break reporting
    fc8b3e838bdf USB: cdc-acm: fix racy tty buffer accesses
    b3265b88e83b usb: chipidea: ci_hdrc_imx: Also search for 'phys' phandle
    16d728110bd7 Partially revert "usb: Kconfig: using select for USB_COMMON dependency"
    5aa003b38148 Linux 5.10.72
    387aecdab7fa libata: Add ATA_HORKAGE_NO_NCQ_ON_ATI for Samsung 860 and 870 SSD.
    02bf504bc32b perf/x86: Reset destroy callback on event init failure
    b56475c29bd8 KVM: x86: nSVM: restore int_vector in svm_clear_vintr
    ae34f26d4a84 kvm: x86: Add AMD PMU MSRs to msrs_to_save_all[]
    6d0ff9205999 KVM: do not shrink halt_poll_ns below grow_start
    b8add3f47ae7 selftests: KVM: Align SMCCC call with the spec in steal_time
    352b02562a3e tools/vm/page-types: remove dependency on opt_file for idle page tracking
    84778fd66d3d smb3: correct smb3 ACL security descriptor
    a7be240d1703 irqchip/gic: Work around broken Renesas integration
    8724a2a0e6d9 scsi: ses: Retry failed Send/Receive Diagnostic commands
    2e28f7dd3743 thermal/drivers/tsens: Fix wrong check for tzd in irq handlers
    7a670cfb0f4c nvme-fc: avoid race between time out and tear down
    c251d023ed22 nvme-fc: update hardware queues before using them
    c4506403e1f3 selftests:kvm: fix get_warnings_count() ignoring fscanf() return warn
    bcc4b4de63a4 selftests: be sure to make khdr before other targets
    6a4aaf1d84f7 habanalabs/gaudi: fix LBW RR configuration
    2754fa3b73df usb: dwc2: check return value after calling platform_get_resource()
    ed6574d48469 usb: testusb: Fix for showing the connection speed
    60df9f55562a scsi: sd: Free scsi_disk device via put_device()
    76c7063c7405 ext2: fix sleeping in atomic bugs on error
    b114f2d18e0f sparc64: fix pci_iounmap() when CONFIG_PCI is not set
    fdfb3bc87381 xen-netback: correct success/error reporting for the SKB-with-fraglist case
    a41938d07201 net: mdio: introduce a shutdown method to mdio device drivers
    63c89930d4b5 btrfs: fix mount failure due to past and transient device flush error
    50628b06e604 btrfs: replace BUG_ON() in btrfs_csum_one_bio() with proper error handling
    83050cc23909 nfsd: back channel stuck in SEQ4_STATUS_CB_PATH_DOWN
    f986cf270284 platform/x86: touchscreen_dmi: Update info for the Chuwi Hi10 Plus (CWI527) tablet
    e5611503249f platform/x86: touchscreen_dmi: Add info for the Chuwi HiBook (CWI514) tablet
    2ababcd8c2ab spi: rockchip: handle zero length transfers without timing out
    5cd40b137cba Linux 5.10.71
    96f439a7eda6 netfilter: nf_tables: Fix oversized kvmalloc() calls
    e2d192301a0d netfilter: conntrack: serialize hash resizes and cleanups
    deb294941767 KVM: x86: Handle SRCU initialization failure during page track init
    f7ac4d24e161 HID: usbhid: free raw_report buffers in usbhid_stop
    57a269a1b12a mm: don't allow oversized kvmalloc() calls
    da5b8b9319f0 netfilter: ipset: Fix oversized kvmalloc() calls
    dedfc35a2de2 HID: betop: fix slab-out-of-bounds Write in betop_probe
    17ccc64e4fa5 crypto: ccp - fix resource leaks in ccp_run_aes_gcm_cmd()
    28f0fdbac0f5 usb: hso: remove the bailout parameter
    4ad4852b9adf ASoC: dapm: use component prefix when checking widget names
    5c3a90b6ff75 net: udp: annotate data race around udp_sk(sk)->corkflag
    a7f4c633ae12 HID: u2fzero: ignore incomplete packets without data
    3770e21f60fc ext4: fix potential infinite loop in ext4_dx_readdir()
    a63474dbf692 ext4: add error checking to ext4_ext_replay_set_iblocks()
    9ccf35492b08 ext4: fix reserved space counter leakage
    dc0942168ab3 ext4: limit the number of blocks in one ADD_RANGE TLV
    d11502fa2691 ext4: fix loff_t overflow in ext4_max_bitmap_size()
    7cea84867847 ipack: ipoctal: fix module reference leak
    843efca98e6a ipack: ipoctal: fix missing allocation-failure check
    67d1df661088 ipack: ipoctal: fix tty-registration error handling
    f46e5db92fa2 ipack: ipoctal: fix tty registration race
    5f6a309a6996 ipack: ipoctal: fix stack information leak
    3bef1b7242e0 debugfs: debugfs_create_file_size(): use IS_ERR to check for error
    15fd3954bca7 elf: don't use MAP_FIXED_NOREPLACE for elf interpreter mappings
    011b4de950d8 nvme: add command id quirk for apple controllers
    44c600a57d57 hwmon: (pmbus/mp2975) Add missed POUT attribute for page 1 mp2975 controller
    7fc5f60a01bb perf/x86/intel: Update event constraints for ICX
    3db53827a0e9 af_unix: fix races in sk_peer_pid and sk_peer_cred accesses
    d0d520c19e7e net: sched: flower: protect fl_walk() with rcu
    e63f6d8fe74a net: phy: bcm7xxx: Fixed indirect MMD operations
    071febc37e06 net: hns3: fix always enable rx vlan filter problem after selftest
    85e4f5d28d25 net: hns3: reconstruct function hns3_self_test
    8e89876c84b2 net: hns3: fix prototype warning
    d4a14faf7919 net: hns3: fix show wrong state when add existing uc mac address
    64dae9551f8a net: hns3: fix mixed flag HCLGE_FLAG_MQPRIO_ENABLE and HCLGE_FLAG_DCB_ENABLE
    8d3d27664ef4 net: hns3: keep MAC pause mode when multiple TCs are enabled
    f8ba689cb695 net: hns3: do not allow call hns3_nic_net_open repeatedly
    20f6c4a31a52 ixgbe: Fix NULL pointer dereference in ixgbe_xdp_setup
    16138cf938dc scsi: csiostor: Add module softdep on cxgb4
    0306a2c7df7e Revert "block, bfq: honor already-setup queue merges"
    1f2ca30fbde6 net: ks8851: fix link error
    f1dd6e10f077 selftests, bpf: test_lwt_ip_encap: Really disable rp_filter
    4967ae9ab44b selftests, bpf: Fix makefile dependencies on libbpf
    59efda5073ab bpf: Exempt CAP_BPF from checks against bpf_jit_limit
    f908072391a6 RDMA/hns: Fix inaccurate prints
    7e3eda32b881 e100: fix buffer overrun in e100_get_regs
    f2edf80cdd03 e100: fix length calculation in e100_get_regs_len
    c20a0ad7b6a0 dsa: mv88e6xxx: Include tagger overhead when setting MTU for DSA and CPU ports
    7b771b12229e dsa: mv88e6xxx: Fix MTU definition
    ee4d0495a65e dsa: mv88e6xxx: 6161: Use chip wide MAX MTU
    d35d95e8b9da drm/i915/request: fix early tracepoints
    8321738c6e5a smsc95xx: fix stalled rx after link change
    8de12ad9162c net: ipv4: Fix rtnexthop len when RTA_FLOW is present
    b22c5e2c8e03 net: enetc: fix the incorrect clearing of IF_MODE bits
    5ee40530b0a6 hwmon: (tmp421) fix rounding for negative values
    89d96f147d82 hwmon: (tmp421) report /PVLD condition as fault
    560271d09f78 mptcp: don't return sockets in foreign netns
    9c6591ae8e63 sctp: break out if skb_header_pointer returns NULL in sctp_rcv_ootb
    2c204cf594df mac80211-hwsim: fix late beacon hrtimer handling
    8576e72ac5d6 mac80211: mesh: fix potentially unaligned access
    1282bb00835f mac80211: limit injected vht mcs/nss in ieee80211_parse_tx_radiotap
    3748871e1215 mac80211: Fix ieee80211_amsdu_aggregate frag_tail bug
    76bbb482d33b hwmon: (mlxreg-fan) Return non-zero value when fan current state is enforced from sysfs
    c61736a994fe bpf, mips: Validate conditional branch offsets
    3f4e68902d2e RDMA/cma: Fix listener leak in rdma_cma_listen_on_all() failure
    62ba3c50104b IB/cma: Do not send IGMP leaves for sendonly Multicast groups
    d93f65586c59 bpf: Handle return value of BPF_PROG_TYPE_STRUCT_OPS prog
    12cbdaeeb5d4 ipvs: check that ip_vs_conn_tab_bits is between 8 and 20
    9f382e1edf90 drm/amdgpu: correct initial cp_hqd_quantum for gfx9
    c331fad63b6d drm/amd/display: Pass PCI deviceid into DC
    0a16c9751e0f RDMA/cma: Do not change route.addr.src_addr.ss_family
    31a13f039e15 media: ir_toy: prevent device from hanging during transmit
    249e5e5a501e KVM: rseq: Update rseq when processing NOTIFY_RESUME on xfer to KVM guest
    3778511dfc59 KVM: nVMX: Filter out all unsupported controls when eVMCS was activated
    4ed671e6bc62 KVM: x86: nSVM: don't copy virt_ext from vmcb12
    bebabb76ad9a KVM: x86: Fix stack-out-of-bounds memory access from ioapic_write_indirect()
    782122ae7db0 x86/kvmclock: Move this_cpu_pvti into kvmclock.h
    57de2dcb1874 mac80211: fix use-after-free in CCMP/GCMP RX
    201ba843fef5 scsi: ufs: Fix illegal offset in UPIU event trace
    bd4e446a6947 gpio: pca953x: do not ignore i2c errors
    516d90550390 hwmon: (w83791d) Fix NULL pointer dereference by removing unnecessary structure field
    1499bb2c3a87 hwmon: (w83792d) Fix NULL pointer dereference by removing unnecessary structure field
    7c4fd5de39f2 hwmon: (w83793) Fix NULL pointer dereference by removing unnecessary structure field
    196dabd96bbf hwmon: (tmp421) handle I2C errors
    23a6dfa10f03 fs-verity: fix signed integer overflow with i_size near S64_MAX
    d1d0016e4a7d ACPI: NFIT: Use fallback node id when numa info in NFIT table is incorrect
    e9edc7bc611a ALSA: hda/realtek: Quirks to enable speaker output for Lenovo Legion 7i 15IMHG05, Yoga 7i 14ITL5/15ITL5, and 13s Gen2 laptops.
    23115ca7d227 usb: cdns3: fix race condition before setting doorbell
    3945c481360c cpufreq: schedutil: Destroy mutex before kobject_put() frees the memory
    2193cf76f43a scsi: qla2xxx: Changes to support kdump kernel for NVMe BFS
    a7d4fc84404d cpufreq: schedutil: Use kobject release() method to free sugov_tunables
    d570c48dd37d tty: Fix out-of-bound vmalloc access in imageblit

(From OE-Core rev: c9697cc081208a91d21b0c41219dc1b30d772f13)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-27 09:46:40 +01:00
Richard Purdie
0de0bcdc62 gcc: Drop broken/unneeded patch
This patch looks obsolete because it looks like part of an upstream
backport on a very old gcc version (4.3.3) and looks incomplete. The
diff also has little context making it likely to be a rebase error.

Builds seem find without it so drop it.

(From OE-Core rev: 7bc50b6de2df8555f7e19ff37f103bbe65955f72)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-26 23:30:16 +01:00
Richard Purdie
094f33efa9 gcc: Drop sdt (dtrace) header patch
Since we now have recipe specific sysroots we no longer need this patch
to avoid the dtrace headers affecting the build of gcc-runtime. Drop
the patch.

(From OE-Core rev: 9aa8ff2dbbbf38cb0c87efd32db64b8ddf485ddf)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-26 23:30:16 +01:00
Richard Purdie
da2e04d0dd gcc: Merge three related patches together
The SYSTEMLIBS_DIR change was spread over three patches, merge these
together since there is no value in having them separate.

(From OE-Core rev: dd1fef1b520efaac6a21f26332c25bdcc0110c12)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-26 23:30:16 +01:00
Michael Halstead
0d4c97c24d releases: update to include 3.4 honister
Adding 3.4 to the release switcher and incrementing dev to say 3.5.

(From yocto-docs rev: a171e88bc572e45d700d257a9de521520b4d5d5e)

Signed-off-by: Michael Halstead <mhalstead@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-26 14:04:19 +01:00
Richard Purdie
cc186ac962 poky.conf: Post release version bump
(From meta-yocto rev: 146ee1738e7742215b360d58fb1c97bc523cc5e4)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-26 14:03:45 +01:00
Richard Purdie
b6b863311f bitbake: bitbake: Bump to post release verion 1.53.0
(Bitbake rev: 17d74fc64003770a94dfffa2ab102254fa52d585)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-26 14:03:45 +01:00
Richard Purdie
491b23a932 bitbake: fetch2/perforce: Fix typo
(Bitbake rev: cf421235bd6f5eb12e9193634c0e870ab035b191)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-26 13:47:24 +01:00
Richard Purdie
2ca853a01e patch: Fix exception reporting with repr()
The exceptions generated with repre are more detailed but escaped the
newlines making them unreadable. Fix this.

(From OE-Core rev: 26a7012e6e17e6b4b4478a25b1b2d5608fe77cfc)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-26 12:08:18 +01:00
Richard Purdie
c2bbcd4158 staging: Fix autoconf-native rebuild failure
When rebuilds are triggered, autoconf-native can fail with:

| DEBUG: Executing shell function update_gnu_config
| install: cannot stat '[BUILDPATH]tmp/work/x86_64-linux/autoconf-native/2.71-r0/recipe-sysroot-native/usr/share/gnu-config/config.guess': No such file or directory

which is due to update_gnu_config running before extend_recipe_sysroot.
This only happens rarely since usually the prepare_recipe_sysroot
function would already have set things up and only in the invalidated
task hash cases does this rebuild in this way from configure only.

Fix the code to prepend this function instead of appending which
resolves the ordering issue.

(From OE-Core rev: b9535f513366536b13d0522058f517d2e04451b5)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-26 12:08:18 +01:00
Richard Purdie
544c53bd75 libtool: Update patchset to match those submitted upstream
I went through and cleaned up the headers/descriptions on several of the
libtool patchset and submitted (or resubmitted in some cases) them
upstream. This patch updates/renames them to match what I did.

I did fix some whitespace issues in some of the patches and also merged
one case where we had a patch of already patched code.

This makes it clear what was submitted and makes resubmission easier if
ever needed too.

(From OE-Core rev: 9bb9a4e8bd408c7a42913aa3e1ec541919b59584)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-26 12:08:18 +01:00
Alexandre Belloni
805d4dd978 ruby: fix Upstream-Status
(From OE-Core rev: c71bb9247e6342b49698c19a0c9512c8a9b54bde)

Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-23 23:11:35 +01:00
Alexandre Belloni
9a98a2e900 libevent,btrfs-tools: fix Upstream-Status tag
(From OE-Core rev: fe3b2d0cb23a0d4abd229682beaa0bb64f4a97bd)

Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-23 22:26:48 +01:00
Khem Raj
dec1a60146 rust: Upgrade to 1.56.0
This is latest major release, changes are here [1]

Forward port libstd-rs patches and refresh musl/rv64 port

[1] https://github.com/rust-lang/rust/releases/tag/1.56.0

(From OE-Core rev: 183204cbc70a4ef418b16df48bc7eb6e3a75a114)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-23 22:14:13 +01:00
Joshua Watt
6e23879162 classes/populate_sdk_base: Add setscene tasks
do_populate_sdk was added to SSTATETASKS, but had no _setscene task
created to allow it to actually run from sstate. Add it so that SDKs can
be restored from sstate.

Note that like do_image_complete, do_populate_sdk is marked with
SSTATE_SKIP_CREATION by default so sstate is not used for them; adding
this task will allow it to work if the user overrides this default
though.

(From OE-Core rev: 1f204592903a2fd9375b0f3c9c52e7dde0467460)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-23 22:14:13 +01:00
Khem Raj
faf705cd68 librsvg: Bump to 2.52.0 -> 2.52.2
Drop backports which are already in this release
Bunch of bugfixes and features

Details of changes

https://gitlab.gnome.org/GNOME/librsvg/-/releases#2.52.2
https://gitlab.gnome.org/GNOME/librsvg/-/releases#2.52.1

(From OE-Core rev: cff39e2028afadd42fa53639f4ac2a9c9c3818a3)

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>
2021-10-23 22:14:13 +01:00
Kai Kang
0e0b545014 sudo: update multilib patch for sudo.conf
Update multilib patch for sudo.conf that there is one more replacement
of @plugindir@ to avoid installation conflict.

(From OE-Core rev: e1afed1569bc076a1823e997137884172acc7123)

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>
2021-10-23 22:14:13 +01:00
Khem Raj
7d6f264fab librsvg: Fix vendored libc to work on riscv and musl
These are patches applied to rust libc already but since librsvg uses
its own copy of libc, we need to patch it here too

(From OE-Core rev: 7ff7e97a73ae2e5fb37fd9248d3dd011053eaa6c)

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>
2021-10-23 22:14:13 +01:00
Ross Burton
c43b4d6785 strace: show test suite log on failure
If the tests fail, dump the log so we can see the failures.

(From OE-Core rev: 3154a65039831b1e041217707fdd6ca042f588fb)

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>
2021-10-23 17:42:28 +01:00
Alexander Kanavin
28e8d76683 waffle: convert to git, website is down
(From OE-Core rev: 28391c20044058e05a1bfdacc31a3e876828fb72)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-23 17:42:28 +01:00
Tim Orling
2156f9be5e python3-pyyaml: upgrade 5.4.1 -> 6.0
Now uses "vendored" distutils from setuptools by default
rather than from Python stdlib.

Changes
=======

* https://github.com/yaml/pyyaml/pull/327
  -- Change README format to Markdown
* https://github.com/yaml/pyyaml/pull/483
  -- Add a test for YAML 1.1 types
* https://github.com/yaml/pyyaml/pull/497
  -- fix float resolver to ignore `.` and `._`
* https://github.com/yaml/pyyaml/pull/550
  -- drop Python 2.7
* https://github.com/yaml/pyyaml/pull/553
  -- Fix spelling of “hexadecimal”
* https://github.com/yaml/pyyaml/pull/556
  -- fix representation of Enum subclasses
* https://github.com/yaml/pyyaml/pull/557
  -- fix libyaml extension compiler warnings
* https://github.com/yaml/pyyaml/pull/560
  -- fix ResourceWarning on leaked file descriptors
* https://github.com/yaml/pyyaml/pull/561
  -- always require `Loader` arg to `yaml.load()`
* https://github.com/yaml/pyyaml/pull/564
  -- remove remaining direct distutils usage

(From OE-Core rev: 2abc7a612a71b3594f3183fbb824a708269ae694)

Signed-off-by: Tim Orling <timothy.t.orling@intel.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-23 17:42:28 +01:00
Tim Orling
aa600e70d9 python3-setuptools: _distutils/sysconfig fix
Add patch to append STAGING_LIBDIR python-sysconfigdata to sys.path so
that packages which set SETUPTOOLS_USE_DISUTILS='local' cross-compile
properly with python3-setuptools-native.

Fixes:
ModuleNotFoundError: No module named '_sysconfigdata'

References:
https://setuptools.pypa.io/en/latest/deprecated/distutils-legacy.html#porting-from-distutils

(From OE-Core rev: f6fb99c53f779966fc902a629d0a8bbd9f84c6be)

Signed-off-by: Tim Orling <timothy.t.orling@intel.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-23 17:42:28 +01:00
Ross Burton
00372aa2f5 testimage: remove target_modules_path
There is no need to pass target_modules_path anymore, so remove it.

(From OE-Core rev: 3d579fb7e4eb96fe0e20e2a7a5948940ca086f99)

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>
2021-10-23 17:42:28 +01:00
Ross Burton
9fa83474ad oeqa/runtime: search sys.path explicitly for modules
The controller module loading code needs to be told what directories
to search for modules via the target_modules_path keyword argument, which
is set to BBPATH.

However, as the actual module loading is done via importlib this relies
on the paths being on sys.path, which it is as base.bbclass puts each
layer's lib/ in sys.path.

Simplify the code by removing this indirection, and simply search
sys.path directly.

(From OE-Core rev: 570a19581f582f77e04d6892adb647cd649a6943)

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>
2021-10-23 17:42:28 +01:00
Ross Burton
c7d6f9965e oeqa/runtime: load modules using importlib
Instead of using __import__() which is low-level and discouraged, use
importlib.

(From OE-Core rev: 9f501d22eab5dbd565f3f5783f4f484a6d1f70a2)

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>
2021-10-23 17:42:28 +01:00
Jose Quaresma
676757f187 sstate: fix touching files inside pseudo
running the 'id' command inside the sstate_create_package
function shows that this funcion run inside the pseudo:

 uid=0(root) gid=0(root) groups=0(root)

The check for touch files [ ! -w ${SSTATE_PKG} ]
will always return true and the touch can fail
when the real user don't have permission or
in readonly filesystem.

As the documentation refers, the file test operator "-w"
check if the file has write permission (for the user running the test).

We can avoid this test running the touch and mask any return errors
that we have.

(From OE-Core rev: f6e7445c94443544e92fda97a017ce93393c5f84)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-23 17:42:28 +01:00
Stefan Herbrechtsmeier
700202afb1 npm: Remove unnecessary configs argument from npm run command
(From OE-Core rev: e5031366ff3519814aff8b95c524659a398e62c1)

Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-23 17:42:28 +01:00
Stefan Herbrechtsmeier
7ab5afa819 recipetool: Simplify common source files skip in guess_license
(From OE-Core rev: 189c0297632968900715d7a4a5edcdf3a56e25f5)

Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-23 17:42:28 +01:00
Peter Hoyes
b8127b50e2 u-boot: Fix syntax error in ${UBOOT_ENV}.scr compilation
A previous commit (a3d3c2d4ac) introduced
support for compiling a U-Boot boot script, but the logic contained a
syntax error which was only visible in the build log. Fix the error by
using separate []s for each expression in the if statement.

(From OE-Core rev: e33994157abbea897ceaf465f9d2a99a9c8212b1)

Signed-off-by: Peter Hoyes <Peter.Hoyes@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-23 17:42:28 +01:00
Martin Jansa
f482f1d531 boost: allow searching for python310
(From OE-Core rev: a8add0bdec7c51c9a7f851b2c63017c79faaa273)

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>
2021-10-23 17:42:27 +01:00
Thomas Perrot
cbfd377c7d image_types: allow the creation of block devices on top of UBI volumes
Currently, the function multiubi_mkfs doesn't allow using anything else than
UBIFS over UBI.

Here, we propose to introduce two variables that allow to customize the ubinize
configuration and the image dependency, in order to be able to build UBI
images using the ubiblock abstraction layer and block filesystems.

For example, with this change it is possible to build a UBI volume using a
compressed squashfs, with the following configuration:
UBI_VOLTYPE ?= "static"
UBI_IMGTYPE ?= "squasfs-lz4"

(From OE-Core rev: 6f0c6a0cc9b4685716f0991ce350d046810eb8ec)

Signed-off-by: Thomas Perrot <thomas.perrot@bootlin.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-23 17:42:27 +01:00
Andreas Müller
3622d27b84 webkitgtk: add gperf-native to DEPENDS to fix build
|   Could NOT find Gperf (missing: GPERF_EXECUTABLE) (Required is at least
|   version "3.0.1")

(From OE-Core rev: 840c5b442d4b27a3791ced63565bf757de1d95ca)

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-23 17:42:27 +01:00
Jose Quaresma
d7b24328bf sstate.bbclass: count the files on mirrors using the pre local files
We don't need extra python collections to count the found files
on the sstate cache and sstate mirrors.

The main found collections provides all the files that were found.
Then we only need to store the nunber of files that found on the
local sstate cache and the files that found on the sstate cache
mirror is derived from that.

(From OE-Core rev: 0fe71f31593e87b9188b388860d2ba94bf8266bc)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-23 17:42:27 +01:00
Alexander Kanavin
43f07bdc9f systemd: disable seccomp on mips32
(From OE-Core rev: abf13cf886a50429b15d46e414112646cd935c2e)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-23 17:42:27 +01:00
Ross Burton
5fcae1bb66 strace: remove TOOLCHAIN assignment
Back in 2016 strace failed to link when using clang, but this isn't the
case anymore.

(From OE-Core rev: 6ff24e6a8192525fbce69e03a317cc1a30870ed0)

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>
2021-10-23 17:42:27 +01:00
Ross Burton
9889cebcdd strace: remove obsolete patch
This patch isn't needed with strace 5.14, which includes stdint.h
centrally.

(From OE-Core rev: 3bd3e7302618cd82d1448e3fd84a8a7a27e36656)

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>
2021-10-23 17:42:27 +01:00
Ross Burton
0b66f93a70 gawk: reduce strictness of the time test
The time.awk test does a sleep() and verifies that the actual delay is
close to the requested time. However on a loaded system the range of
acceptable durations is quite tight and will occasionally fail.

Solve this by increasing the range of acceptable delays slightly to
between 50% and 200% of the requested delay.

[ YOCTO #14371 ]

(From OE-Core rev: 92920dd698c5d3a3d8197083f0a1932e7f6550dc)

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>
2021-10-23 17:42:27 +01:00
Ross Burton
52f2c3413c gawk: replace AR patch with upstreamed patch
(From OE-Core rev: 18da900ec1b4a9bac2c205145ec2282c52543fd2)

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>
2021-10-23 17:42:27 +01:00
Alexandre Belloni
1037d5b2b0 maintainers.inc: fix up rust-cross entry
(From OE-Core rev: 5fedca5c3bcfc7643176e30e045434321ffbc21d)

Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-23 17:42:27 +01:00
Pgowda
a87bff5925 rust-cross: Fix directory not deleted for race glibc vs. musl
Use different recipe names for the two different targets so that
when switching libcs overlapping files in the sysroot don't cause
issues.

(From OE-Core rev: 33be44a02beb7c52f075f660ad8e0641e360011c)

Signed-off-by: Pgowda <pgowda.cve@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-23 17:42:27 +01:00
Pablo Saavedra Rodi?o
6a6b4755ee mesa: upgrade 21.2.1 -> 21.2.4
Contains 'Make YUV formats we're going to emulate external-only' [1]
was applied in 21.2.4. This fixes red label issues on video for VC4,
Freedreno and others.

Deletes meta/recipes-graphics/mesa/files/without-neon.patch [2]
already in Mesa since 21.2.

Release notes:

* 21.2.2: https://docs.mesa3d.org/relnotes/21.2.2.html
* 21.2.3: https://docs.mesa3d.org/relnotes/21.2.3.html
* 21.2.4: https://docs.mesa3d.org/relnotes/21.2.4.html

[1] https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13038
[2] https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12569

(From OE-Core rev: 51fccaa16a3cb78ace077ba593b6cdde5e085528)

Signed-off-by: Pablo Saavedra <psaavedra@igalia.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-23 17:42:26 +01:00
Kiran Surendran
1c1dd2097f ffmpeg: fix CVE-2021-38114
backport from upstream

(From OE-Core rev: fe9cdf74f7ef3637ed7c600182f8a0ba40510d2a)

Signed-off-by: Kiran Surendran <kiran.surendran@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-23 17:42:26 +01:00
Martin Jansa
e736b200a0 webkitgtk: add PACKAGECONFIG for opengl-or-es
* added in:
  29421afdcd

* fixes build without opengl in DISTRO_FEATURES which was failing since upgrade to 2.34.0 with:

| CMake Error at Source/cmake/OptionsGTK.cmake:353 (message):
|   Either GLX or EGL is needed.
| Call Stack (most recent call first):
|   Source/cmake/WebKitCommon.cmake:220 (include)
|   CMakeLists.txt:20 (include)

* and add a patch to fix building this version with opengl and gles disabled
  (default oe-core setup without opengl in DISTRO_FEATURES)

(From OE-Core rev: 7214f09c77675b66e63b8f342a93c6b4db16e53d)

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>
2021-10-23 17:42:26 +01:00
Yureka
faf701d2d5 systemd: add missing include for musl
Fixes "error: ‘FTW_ACTIONRETVAL’ undeclared (first use in this
function)" in src/shared/mount-setup.c.

(From OE-Core rev: 7707d08bb10db5eb782a2476be58ebe4b8bba154)

Signed-off-by: Yureka <yuka@yuka.dev>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-23 17:42:26 +01:00
Alexander Kanavin
af067d427f libssh2: skip one of the ptests until openssh 8.8 compatibility is fixed
(From OE-Core rev: 0a4275e61ec719247ddd1df5950ad570e8d3af02)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-23 17:42:26 +01:00
Alexander Kanavin
e76d5c9140 gnupg: update 2.3.2 -> 2.3.3
(From OE-Core rev: dabf520ef0868eb5e0f97444da28ff44e9f8d0c1)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-23 17:42:26 +01:00
Alexander Kanavin
c3d0437b26 libsoup-2.4: upgrade 2.72.0 -> 2.74.0
(From OE-Core rev: 56cae0c26f4795735487536affa7b28278e8af39)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-23 17:42:26 +01:00
Alexander Kanavin
bc294b1894 libmd: upgrade 1.0.3 -> 1.0.4
(From OE-Core rev: f8db9cb455482ca811f7e76c5ca62476ae0c363d)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-23 17:42:26 +01:00
Alexander Kanavin
da18999915 libcap: upgrade 2.54 -> 2.59
(From OE-Core rev: da4b08a95523b44e1893a3cf42083dd459d1f6a6)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-23 17:42:26 +01:00
Alexander Kanavin
b7c5da9e9e libatomic-ops: upgrade 7.6.10 -> 7.6.12
(From OE-Core rev: ee3672b87f89658902080619f62e8a447eebe525)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-23 17:42:26 +01:00
Alexander Kanavin
fb5b9b4c98 iso-codes: upgrade 4.6.0 -> 4.7.0
(From OE-Core rev: 0e35b943d75e0eec1bed3141e2c5c015db60fb8f)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-23 17:42:26 +01:00
Alexander Kanavin
c3fb35fa54 fribidi: upgrade 1.0.10 -> 1.0.11
(From OE-Core rev: a0e4bcd7c161cfe44bd3f930d1043fd6d001226a)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-23 17:42:26 +01:00
Alexander Kanavin
5357004743 diffoscope: upgrade 182 -> 187
(From OE-Core rev: abaa36442f1617bcaa941d5b159b6e40042141f8)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-23 17:42:26 +01:00
Alexander Kanavin
3f03a5ab34 libwpe: upgrade 1.10.1 -> 1.12.0
(From OE-Core rev: 41619fa9e544e0710895b2df36c44db55530e684)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-23 17:42:26 +01:00
Alexander Kanavin
017e212004 puzzles: upgrade to latest revision
(From OE-Core rev: f543568534a0d082a35537bdf12377e74acdafb0)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-23 17:42:26 +01:00
Alexander Kanavin
c845dd2fac mpg123: upgrade 1.28.2 -> 1.29.0
(From OE-Core rev: fbb90b1e5c975ca1cfdf8b23b9e26351abee1d95)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-23 17:42:26 +01:00
Alexander Kanavin
6ee2cf5b64 wireless-regdb: upgrade 2021.07.14 -> 2021.08.28
(From OE-Core rev: 00c590f50d6894089ff7ce8ad6e263431d9cc550)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-23 17:42:26 +01:00
Alexander Kanavin
bb33f95a25 linux-firmware: upgrade 20210818 -> 20210919
License-Update: additional files
(From OE-Core rev: 8dac57dfed45a0d8a049473f2efc1711b56273a4)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-23 17:42:26 +01:00
Alexander Kanavin
ddfd77653a libinput: upgrade 1.19.0 -> 1.19.1
(From OE-Core rev: 31c5fc68779f480b162b0d37e63fd63be69bbc9a)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-23 17:42:26 +01:00
Alexander Kanavin
2cd0f675b4 pango: upgrade 1.48.9 -> 1.48.10
(From OE-Core rev: e722519f38c1f9e8ac481238c31da47a4a07b470)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-23 17:42:26 +01:00
Alexander Kanavin
52da172bcd harfbuzz: upgrade 2.9.1 -> 3.0.0
(From OE-Core rev: 978c85d09a0deb89822caf5618cd793527ca404c)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-23 17:42:26 +01:00
Alexander Kanavin
a5ddc17014 libdazzle: upgrade 3.40.0 -> 3.42.0
(From OE-Core rev: e839aa6f554198fd68139bade029646339abc182)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-23 17:42:26 +01:00
Alexander Kanavin
676d7313c9 json-glib: upgrade 1.6.4 -> 1.6.6
(From OE-Core rev: e56081b228ef6873c505641dd0a661fd6d537731)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-23 17:42:26 +01:00
Alexander Kanavin
64ab9d93fe gsettings-desktop-schemas: upgrade 40.0 -> 41.0
(From OE-Core rev: 56503d928e62ddd100aa7d3cf78b70ed37879c20)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-23 17:42:26 +01:00
Alexander Kanavin
2bbd3f6440 gobject-introspection: upgrade 1.68.0 -> 1.70.0
(From OE-Core rev: dd256fc5ef67175f5ce7f8a599a42a2807ad63a0)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-23 17:42:26 +01:00
Alexander Kanavin
81fe8f63be sudo: upgrade 1.9.8p1 -> 1.9.8p2
(From OE-Core rev: f34e0126128a35e2d9d58ae097929ba292d80f33)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-23 17:42:26 +01:00
Alexander Kanavin
9019337aa6 msmtp: upgrade 1.8.15 -> 1.8.17
(From OE-Core rev: 0a5854ed80133ad4610c90b81d5743cc922bfbca)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-23 17:42:26 +01:00
Alexander Kanavin
901d69e9a3 libarchive: upgrade 3.5.1 -> 3.5.2
(From OE-Core rev: f8f39cd5757907d50444203e0e6e2c5ed0a47152)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-23 17:42:26 +01:00
Alexander Kanavin
5e45018a02 asciidoc: upgrade 9.1.0 -> 9.1.1
(From OE-Core rev: cc5f720f6ecd45815db83fbb14ba4e214717680f)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-23 17:42:26 +01:00
Alexander Kanavin
16d9785c8c acpica: upgrade 20210730 -> 20210930
(From OE-Core rev: b11b0e99e3e1cc74f046a09e89d284ff81c9640c)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-23 17:42:26 +01:00
Alexander Kanavin
d72ca5de02 vala: upgrade 0.52.5 -> 0.54.2
(From OE-Core rev: 4b0ba21b41885c53c3a9be78db08fe0022cee3b9)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-23 17:42:26 +01:00
Alexander Kanavin
479cfc3b53 python3-setuptools: upgrade 58.0.4 -> 58.2.0
(From OE-Core rev: 0235e0bea0692d641c7118ddae5a08a9610d76dd)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-23 17:42:26 +01:00
Alexander Kanavin
0ddce9242c python3-pygobject: upgrade 3.40.1 -> 3.42.0
(From OE-Core rev: b65725375868e9acbe317c3bfbe989d3da300c50)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-23 17:42:26 +01:00
Alexander Kanavin
35c9953c60 python3-jinja2: upgrade 3.0.1 -> 3.0.2
(From OE-Core rev: 6814a2286ee6931c8c4a590b71a90436d57e80e0)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-23 17:42:26 +01:00
Alexander Kanavin
05c66f906f librepo: upgrade 1.14.1 -> 1.14.2
(From OE-Core rev: 65f1e07af359f78f2368d6b36416b819a43c08d8)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-23 17:42:25 +01:00
Alexander Kanavin
7b90167839 libedit: upgrade 20210714-3.1 -> 20210910-3.1
(From OE-Core rev: e18c5d22604f4728f8184c1f11b7af8a4821fd16)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-23 17:42:25 +01:00
Alexander Kanavin
9e2489d1bb libcomps: upgrade 0.1.17 -> 0.1.18
(From OE-Core rev: 058d9ae4f9067072777cf996018e7b48e13d141d)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-23 17:42:25 +01:00
Alexander Kanavin
09d91a0e62 createrepo-c: upgrade 0.17.5 -> 0.17.6
(From OE-Core rev: 1b6253bcc2a7915d881e16462f652b2e3b7d30f9)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-23 17:42:25 +01:00
Alexander Kanavin
75aca0d641 ccache: upgrade 4.4 -> 4.4.2
License-Update: formatting
(From OE-Core rev: efe7f1063f0cf001286ff277537c9fa0a5521047)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-23 17:42:25 +01:00
Alexander Kanavin
2e73c16ab8 btrfs-tools: upgrade 5.13.1 -> 5.14.2
(From OE-Core rev: 72d5401a00d0332c9072ddcf1c8ba8f3f88a831c)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-23 17:42:25 +01:00
Alexander Kanavin
daadc03748 sysvinit: upgrade 2.99 -> 3.00
(From OE-Core rev: f80ba18ffbe4a8db45a1f15ab2a2aa72f6f2d65b)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-23 17:42:25 +01:00
Alexander Kanavin
9454f1c22f openssh: upgrade 8.7p1 -> 8.8p1
(From OE-Core rev: 15ae6c75ed201d1f16c5cc1494314cb49968370c)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-23 17:42:25 +01:00
Alexander Kanavin
b8c8cc20e7 ofono: upgrade 1.32 -> 1.33
(From OE-Core rev: adf01e8fbaf94ed11626e1fd910874b39810b252)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-23 17:42:25 +01:00
Alexander Kanavin
fe2dada676 tzdata: upgrade 2021a -> 2021d
(From OE-Core rev: f171f4f528090fc108624de6049274aa4d4880eb)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-23 17:42:25 +01:00
Alexander Kanavin
6b4741f53e git: upgrade 2.33.0 -> 2.33.1
(From OE-Core rev: c2ccedd1ecb44fbc0711e1be5b4c69b0f78bded3)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-23 17:42:25 +01:00
Alexander Kanavin
26a43c2e1c cmake: update 3.21.2 -> 3.21.3
(From OE-Core rev: 1ed10b337ebdfe302bde1e01131206f2b1150908)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-23 17:42:25 +01:00
Alexander Kanavin
5308579373 bison: upgrade 3.8.1 -> 3.8.2
(From OE-Core rev: 0bae444c93bfb3ab49d6e7a147190c72acd519f9)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-23 17:42:25 +01:00
Alexander Kanavin
c541aadf5e libxcrypt: upgrade 4.4.25 -> 4.4.26
License-Update: additional copyright holders
(From OE-Core rev: a124dc48780013abed70de4acb68cc8eeb719eaf)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-23 17:42:25 +01:00
Alexander Kanavin
98de468054 libgit2: update 1.2.0 -> 1.3.0
(From OE-Core rev: d8735cacb0e573ac91c3aee3e3e573d804646c63)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-23 17:42:25 +01:00
Alexander Kanavin
a901b31888 curl: update 7.78.0 -> 7.79.1
(From OE-Core rev: b4f08791b7652898f398c86db9352b706eeda9e4)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-23 17:42:25 +01:00
Alexander Kanavin
1f827cbf5e ca-certificates: update 20210119 -> 20211016
(From OE-Core rev: c479b8a810d966d7267af1b4dac38a46f55fc547)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-23 17:42:25 +01:00
Alexander Kanavin
a76f09511f liberation-fonts: update 2.1.4 -> 2.1.5
(From OE-Core rev: 606796bb700c0a9d3554be6d83d24216fc3ef508)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-23 17:42:25 +01:00
Alexander Kanavin
00ebc6afb4 libva: update 2.12.0 -> 2.13.0
(From OE-Core rev: 565d3f463ea4d67be2854789638ad4477c95ab5d)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-23 17:42:25 +01:00
Alexander Kanavin
a70d89d8c0 librsvg: update 2.52.0 -> 2.52.2
(From OE-Core rev: 4a5cb680d66e8375a287cd5d87ed82c0832b6e57)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-23 17:42:25 +01:00
Alexander Kanavin
3129eb9dd6 valgrind: update 3.17.0 -> 3.18.1
(From OE-Core rev: da8f9c5e1ebe655a1a8e9935dd6560121bca2e74)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-23 17:42:25 +01:00
Alexander Kanavin
a8a97eb845 python3-pip: update 21.2.4 -> 21.3
Adjust patch as file is removed from source tree.

(From OE-Core rev: e6fc7d2825d6c26f5dc65e38f3313cd9b3556238)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-23 17:42:25 +01:00
Alexander Kanavin
1d345f0bc8 meson: update 0.59.1 -> 0.59.2
Drop patch as upstream fixed the issue.

(From OE-Core rev: 6f9ce677f5315c82e090609314ba99ba4bebc168)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-23 17:42:25 +01:00
Alexander Kanavin
0e3748c5f3 systemd: update 249.4 -> 249.5
(From OE-Core rev: d5d3704acf4d2e70ee41eb5e6fe852a4c1bc3595)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-23 17:42:25 +01:00
Alexander Kanavin
f65a34764c ovmf: update 202105 -> 202108
(From OE-Core rev: 9e5d15aba7515952614f69e06d3d9b9316a77204)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-23 17:42:25 +01:00
Alexander Kanavin
100c1ca849 bluez5: update 5.61 -> 5.62
Drop the patch as issue is addressed upstream.

(From OE-Core rev: e3cb95cd185c44fd82f1507114e2b75b87035b50)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-23 17:42:25 +01:00
Alexander Kanavin
50a9e1e306 lighttpd: update 1.4.59 -> 1.4.60
(From OE-Core rev: f7753438aa164be1371f599969c829a276881589)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-23 17:42:25 +01:00
Alexander Kanavin
6f138098b1 ghostscript: update 9.54.0 -> 9.55.0
jbig2dec seems no longer optional; the source for it
is bundle with ghostscript.

License-Update: removed patent references
(From OE-Core rev: 44a3bea7e8fedbc76b6e8f97e1f669def81e158a)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-23 17:42:25 +01:00
Alexander Kanavin
39a7aeddfb kea: update 1.8.2 -> 2.0.0
Remove 0001-keactrl.in-create-var-lib-kea-and-var-run-kea-folder.patch
as code removed upstream.

License-Update: formatting

(From OE-Core rev: 3af27805d8cf88d03c34690241ecba899c33a26b)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-23 17:42:25 +01:00
Alexander Kanavin
878ca97e7a libjitterentropy: update 3.1.0 -> 3.3.0
(From OE-Core rev: 3d27221475a58a27f2b5bc0f4c8c2d773dfb9a98)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-23 17:42:25 +01:00
Michael Opdenacker
bdc84d86aa docs: poky.yaml: updates for 3.4
(From yocto-docs rev: d080c62f3ec489275b2f241ccea51cf127f4f782)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-22 22:15:33 +01:00
Michael Opdenacker
5e529aefde releases.rst: fix release number for 3.3.3
(From yocto-docs rev: 8e0e33663b4f7e58b02e3b5153e4164a7d3db20e)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-22 22:15:33 +01:00
Daiane Angolini
634b7f1fdc ref-manual: Update how to set a useradd password
Partial fix for [YOCTO 14605]

(From yocto-docs rev: 3f3e5574ac9801ad92940168b61b532e0bd53a80)

Signed-off-by: Daiane Angolini <daiane.angolini@foundries.io>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-22 22:15:33 +01:00
Paul Eggleton
fd6e9609d1 migration-3.4: add some extra packaging notes
Add some notes on minor packaging changes that I missed earlier.

(From yocto-docs rev: a4f345f888b466bd1459b767c1b8cf8b9397e27e)

Signed-off-by: Paul Eggleton <paul.eggleton@microsoft.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-22 22:15:33 +01:00
Paul Eggleton
a43cb3d607 poky.yaml: fix lz4 package name for older Ubuntu versions
It turns out that for Ubuntu, lz4 is the valid package name for newer
versions (e.g. 20.04 LTS) but not for older ones (e.g. 18.04 LTS, where
the correct package is liblz4-tool). In 20.04 the lz4 package includes
liblz4-tool in its "provides" so it's best to list that one for now.

(From yocto-docs rev: 2a4e259d2786c14b19a632b3a8f1a06383b6a80c)

Signed-off-by: Paul Eggleton <paul.eggleton@microsoft.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-22 22:15:33 +01:00
Michael Opdenacker
002967ee23 ref-manual: fix description of SOURCE_DATE_EPOCH
Update the reference to the code that computes this default
value for this variable.

(From yocto-docs rev: b115a1c07f76d2cca37565ac678c21e0e6056fff)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-22 22:15:33 +01:00
Michael Opdenacker
90b29420c7 ref-manual: document SOURCE_DATE_EPOCH
(From yocto-docs rev: 160d672641c52338ba499edfb66339a10b088490)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-20 20:22:20 +01:00
Michael Opdenacker
07108739ce manuals: rename "devpyshell" to "pydevshell"
This addresses [YOCTO #14531] after the "devpyshell" task was renamed
to "pydevshell" in OE core.

(From yocto-docs rev: 1056320e90545c8dff0fc71a5fde752295d4d6e4)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-20 20:22:20 +01:00
Michael Opdenacker
5550d83ff7 ref-manual: document TOOLCHAIN_HOST_TASK_ESDK
(From yocto-docs rev: 2adac164a2d4cf23c0372c1154709f2866d483fa)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-20 20:22:20 +01:00
Paul Eggleton
b2170a460b migration: tweak introduction section
Ensure we have a brief introductory section and tweak the general
migration considerations a little.

(From yocto-docs rev: b127348bbc6a7a6e48ee14434fffc56e08aa9e02)

Signed-off-by: Paul Eggleton <paul.eggleton@microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-20 20:22:20 +01:00
Paul Eggleton
64f1f876a1 migration-3.4: add additional migration info
Add migration instructions gathered by combing the commits in this
release.

(From yocto-docs rev: 2fc89fa1d4e29d2498d5b736ffe85c1cdc8b62e7)

Signed-off-by: Paul Eggleton <paul.eggleton@microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-20 20:22:20 +01:00
Paul Eggleton
9ababc0b5b poky.yaml: add lz4 and zstd to essential host packages
These are now required so update the corresponding distro-specific
lists used in the system requirements documentation.

(From yocto-docs rev: 604deb5c30a8808a60187f81645fa08b67ef2de9)

Signed-off-by: Paul Eggleton <paul.eggleton@microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-20 20:22:20 +01:00
Paul Eggleton
9b0f90ff6a ref-manual: remove meta class
This was recently removed so remove the reference to it.

(From yocto-docs rev: 53f52adf212e35e7588a90e94b03b5cfae6f867c)

Signed-off-by: Paul Eggleton <paul.eggleton@microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-20 20:22:20 +01:00
Paul Eggleton
1088e2d9d1 migration-3.4: tweak overrides change section
Minor grammar and readability improvements.

(From yocto-docs rev: e33a809d139d52a8aa262a25fe3031a8882dee2e)

Signed-off-by: Paul Eggleton <paul.eggleton@microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-20 20:22:20 +01:00
Oleksandr Kravchuk
2d5e0f13e3 python3-smmap: update to 5.0.0
(From OE-Core rev: 63a235d86edb5ca628c8601ed06fb04da3186141)

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-18 13:48:17 +01:00
Lukasz Majewski
5f5660c7fa glibc: Extract common code to build tests to glibc-tests.inc
The common code to build tests has been extracted from glibc-testsuite
recipe to glibc-tests.inc

This code will be reused in the recipe necessary for providing glibc
tests executed with ptest framework.

(From OE-Core rev: 4ee26ef672c75e73b10412e87cee23797105d9bc)

Signed-off-by: Lukasz Majewski <lukma@denx.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-18 13:48:17 +01:00
Tim Orling
573c336353 python3-setuptools-scm: upgrade 6.0.1 -> 6.3.2
RDEPENDS on python3-tomli instead of python3-toml

Cleanup RDEPENDS (common vs. class-target)

For changes, see:
https://github.com/pypa/setuptools_scm/blob/main/CHANGELOG.rst#632

(From OE-Core rev: db2f3df621ada3f4a87136279fc8015f81a6ad0c)

Signed-off-by: Tim Orling <timothy.t.orling@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-18 13:48:17 +01:00
Tim Orling
6cc9954c6b python3-tomli: add recipe for 1.2.1
A lil' TOML parser

This is a runtime dependency for setuptools-scm upgrade as well as for
several other Python Packaging Authority (pypa) tools that will be
replacing distutils and setuptools in the future.

Upstream does not have a setup.py, but rather relies on flit_core to
build. This introduces a circular dependency, as flit_core has a runtime
dependency on tomli.

Borrow a setup.py from Gentoo until a better solution is found by
upstream Python Packaging Authority (pypa).

(From OE-Core rev: 86430833b463d606ffc345ad6b7e51840dc9f9ba)

Signed-off-by: Tim Orling <timothy.t.orling@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-18 13:48:17 +01:00
Tim Orling
836ab3c757 python3-packaging: BBCLASSEXTEND nativesdk
python3-setuptools-scm RDEPENDS on it for nativesdk

Fixes:
https://autobuilder.yoctoproject.org/typhoon/#/builders/83/builds/2766/steps/13/logs/warnings

(From OE-Core rev: c984ef67f8dff27e0ce24628f28d196cdc76055e)

Signed-off-by: Tim Orling <timothy.t.orling@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-18 13:48:17 +01:00
Tim Orling
db7c1da81f python3-packaging: DEPENDS on python3-setuptools-native
Not python3-setuptools-scm-native

Upgrade to python3-setuptools-scm introduces a circular dependency.

Drop python3-six from RDEPENDS as this was removed in 20.5

(From OE-Core rev: 58e1f76a37d649e648dd9d436abbf4d3bfaea0ab)

Signed-off-by: Tim Orling <timothy.t.orling@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-18 13:48:17 +01:00
Andrej Valek
ea92f2ee91 kernel-fitimage: use correct kernel image
Even if initramfs_bundle_path was used, a wrong compression was reflected
in output its template file. Use linux.bin as universal kernel image.
The linux.bin file covers both cases because it's beying created from
vmlinux.

We know, that vmlinux is created inside compressed directory already,
so no external compression will be used.

(From OE-Core rev: 27fbbeaf972bb7e2535c1b23375cfa9d66b69db6)

Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
Signed-off-by: Walter Schweizer <walter.schweizer@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-18 13:48:17 +01:00
Andrej Valek
2b5f5e295e featimage: refactor style
- use bash variable notation without {} where possible
  - just to make sure it looks like bash variable not bitbake variable one
- fix indent style in "cat" commands
- replace "! -z" -> "-n"
- make debug info in ramdisk section creation more verbose

(From OE-Core rev: f44bb458884da64356ee188917094b5515d3b159)

Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-18 13:48:17 +01:00
Khem Raj
d3b5389e7d opensbi-payloads: Add dependency on kernel if fdt is set
fdts are built as part of kernel, so add missing dependency on kernel
deploy task

Fixes opensbi build errors
| make: *** No rule to make target '/mnt/b/yoe/master/build/tmp/deploy/images/unmatched/hifive-unmatched-a00.dtb', needed
 by '/mnt/b/yoe/master/build/tmp/work/riscv64-yoe-linux-musl/opensbi/0.9+gitAUTOINC+bd355213bf-r0/git/build/platform/gene
ric/firmware/fw_dynamic.o'.  Stop.

(From OE-Core rev: 3a6bcd97f5239c73f036cd64b93a3ef8515d29a6)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-18 13:48:17 +01:00
Ross Burton
5e2f0c8120 sstate: don't silently handle all exceptions in sstate_checkhashes
If checkstatus returns an exception we should silently handle
FetchError, as this means the fetch failed for 'normal' reasons such as
file not found.  However, other exceptions may be raised, and these
should be made visible.

(From OE-Core rev: 50d99faf88a1d82cbd939b9bd6e33ebed2b1ffd8)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-18 13:48:17 +01:00
Ross Burton
f59811aeeb oe/utils: log exceptions in ThreadedWorker functions
If the function a ThreadedWorker is executing raises an exception, don't
use print() as that mostly disappears.  Instead, output it to the logger.

This is done using bb.mainlogger.debug directly instead of bb.debug() as
this allows us to pass the exception instance directly, which is then
incorporated into the log stream.

(From OE-Core rev: 2f1ea25c222b344dd8b784b2bc73a6540ab30274)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-18 13:48:16 +01:00
Richard Purdie
4359dba4fe bitbake: test/fetch: Update urls to match upstream branch name changes
(Bitbake rev: 473e2a5486bd972ad0f808db089abcb8945d3a48)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-17 22:51:59 +01:00
Richard Purdie
1028d0158a bitbake: siggen: Fix type conversion issues
The switch to using json has messed up the type handling as the code
does assume that set()s are present. Add a decoder to reconstruct
the set() objects. Also fix the change of tuples to lists for the
file checksums and fix an existing type bug where dicts insteads of
lists was used.

Drop some old siginfo format handling code which is now long since
obsolete.

(Bitbake rev: 2d704842c0928f8dbe78fd081042aa7280af96be)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-17 11:57:27 +01:00
Richard Purdie
b8be48c718 bitbake: bitbake-worker: Add debug when unpickle fails
We occasionally see bitbake-worker failing and from the logs, an unpickle error
occurs. Add more debug so we can further debug this next time it fails.

[YOCTO #14595]

(Bitbake rev: fe8105cc06beca8240b76ea366a1eff5aa9c5412)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-17 11:57:27 +01:00
Oleksandr Kravchuk
b635e7980f man-pages: update to 5.13
(From OE-Core rev: 9a9cd95fcc792b1daf71d75aa61488611e9490ce)

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-17 11:56:33 +01:00
Mike Crowe
cdeb02654f insane,license,license_image: Allow treating license problems as errors
Use the same WARN_WA and ERROR_QA variables as insane.bbclass to allow
individual recipes, the distro or other configuration to determine
whether the various detected license errors should be treated as a
warning (as now) or as an error.

oe.qa.handle_error isn't immediately fatal, so oe.qa.exit_if_errors must
be called at the end of do_populate_lic to fail the task.

(From OE-Core rev: bb164adca94b5a43751aabe6b6d702a3d60dfdc7)

Signed-off-by: Mike Crowe <mac@mcrowe.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-17 11:56:33 +01:00
Mike Crowe
51b1611e20 lib/oe/qa,insane: Move extra error handling functions to library
Extract package_qa_write_error, package_qa_handle_error and
package_qa_add_message functions from insane.bbclass to lib/oe/qa.py and
drop the package_qa_ prefixes.

Update various bbclasses to use the new functions. No import is required
since base.bbclass puts oe.qa in OE_IMPORTS.

Stop requiring callers to manually track whether a fatal error has been
encountered via a "sane" flag. Instead replace the QA_SANE variable with
QA_ERRORS_FOUND and call oe.qa.exit_if_errors or
oe.qa.exit_with_message_if_errors at the end of each task.

Inspired by discussion resulting from
https://lists.openembedded.org/g/openembedded-core/message/156793 and
https://lists.openembedded.org/g/openembedded-core/message/156900

(From OE-Core rev: f0ad152ef4cc15c042bc9eeefb6af096d054b220)

Signed-off-by: Mike Crowe <mac@mcrowe.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-17 11:56:32 +01:00
Tim Orling
25675706b6 at-spi2-core: upgrade 2.40.3 -> 2.42.0
Add patch to ensure x11_dep is defined.

What's new in at-spi2-core 2.42.0:
* Set X root property when Xwayland starts on demand.
* Several dbus introspection fixes.

Reference:
  https://gitlab.gnome.org/GNOME/at-spi2-core/-/issues/42
  https://gitlab.gnome.org/GNOME/at-spi2-core/-/merge_requests/60

(From OE-Core rev: 05c0e34122ea1272704ddb90657e592f15f5c557)

Signed-off-by: Tim Orling <timothy.t.orling@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-17 11:56:32 +01:00
Ross Burton
b3fd59873d testimage: fix unclosed testdata file
(From OE-Core rev: 0c192a97e3e1c015a48667d6903cc07a8b2620e4)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-17 11:56:32 +01:00
Richard Purdie
663a7d6574 bitbake: tests/runqueue: Ensure hashserv exits before deleting files
We've seen races where the socket may be gone but the server is still writing
out it's database. Handle that case too to avoid cleanup tracebacks.

[YOCTO #14440]

(Bitbake rev: b9e4fb843cb9d3a4d4404af093a781fab5520465)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-16 17:43:00 +01:00
Richard Purdie
9d12605d7e poky: Reproducible builds are now the default
(From meta-yocto rev: 829e48e3cd3c3dd90855750ef469cb65f93f0d20)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-16 17:41:59 +01:00
Khem Raj
ebf94f1f37 qemu: Add knob for enabling PMDK pmem support
This ensures that libpmem dependency is added in a consistent manner

(From OE-Core rev: 740a52dd10c6e9cb03d39c51eeb955acf438614e)

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>
2021-10-16 17:41:59 +01:00
Khem Raj
d763b9a7ca mesa: Enable svga for x86 only
Enable svga only on x86/x86_64 since some arches e.g. riscv64 do not
support it

(From OE-Core rev: d7d380a45ab0efedcba33baaae37589da4d25a2b)

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>
2021-10-16 17:41:59 +01:00
Khem Raj
43e6557190 opensbi-payloads.inc: Use strings for fallback
This function is evaluated during parse and some machines maynot use
external payload, on such machines this fails to parse

Fixes
bb.data_smart.ExpansionError: Failure expanding variable do_compile[depends], expression was  ${@riscv_get_do_compile_depends(d)} which triggered exception TypeError: argument of type 'NoneType' is not iterab
le

(From OE-Core rev: b5c93cb9a63ebd8601623f411737c0af7f7efd4a)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-16 17:41:59 +01:00
Marek Vasut
db22ea8dba piglit: upgrade to latest revision
Update piglit to latest git revision and update the branch name,
since the original one is no longer updated. Make sure the VK
tests are only enabled if VK is also enabled in PACKAGECONFIG,
and that this is opt-in, otherwise older systems fail to build.

(From OE-Core rev: 9ba6df1b2cda5d95b60e9a80bf6b1d4e4855b10c)

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Anuj Mittal <anuj.mittal@intel.com>
Cc: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-16 17:41:59 +01:00
Oleksandr Kravchuk
d2344474eb mirrors.bbclass: remove dead infozip mirrors
(From OE-Core rev: 0140df8724a1c73f7b62fbbbaee58c3eb119eeba)

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-16 17:41:59 +01:00
Richard Purdie
f4886717e5 oeqa: Update cleanup code to wait for hashserv exit
We sometimes see exceptions from code seeing the hashserv DB files
being removed at directory cleanup time. Add a check to ensure the
hashserv has written the data base journal (and hence likely exited)
before cleaning up.

This will hopefully avoid errors like:

Traceback (most recent call last):
  File "[...]/meta/lib/oeqa/sdk/buildtools-cases/build.py", line 30, in test_libc
    delay = delay - 1
  File "/usr/lib/python3.6/tempfile.py", line 948, in __exit__
    self.cleanup()
  File "/usr/lib/python3.6/tempfile.py", line 952, in cleanup
    _rmtree(self.name)
  File "/usr/lib/python3.6/shutil.py", line 486, in rmtree
    _rmtree_safe_fd(fd, path, onerror)
  File "/usr/lib/python3.6/shutil.py", line 424, in _rmtree_safe_fd
    _rmtree_safe_fd(dirfd, fullname, onerror)
  File "/usr/lib/python3.6/shutil.py", line 444, in _rmtree_safe_fd
    onerror(os.unlink, fullname, sys.exc_info())
  File "/usr/lib/python3.6/shutil.py", line 442, in _rmtree_safe_fd
    os.unlink(name, dir_fd=topfd)
FileNotFoundError: [Errno 2] No such file or directory: 'hashserv.db-wal'

(From OE-Core rev: 0b07d9add687d78495176cda0f3011c10ffa4d4b)

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>
2021-10-16 17:41:59 +01:00
Oleksandr Kravchuk
a34a0e75e7 libxkbcommon: update to 1.3.1
(From OE-Core rev: f238d6e766b05e730613127b503a1de63e3b7de8)

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-16 17:41:59 +01:00
Oleksandr Kravchuk
7aba0ae69f xkeyboard-config: update to 2.34
(From OE-Core rev: 79fa8c02d584e214dcce2b124c132cf58e2253de)

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-16 17:41:59 +01:00
Oleksandr Kravchuk
7f1a58eb0d xorgproto: update to 2021.5
(From OE-Core rev: 151d054c585c700b6fff28b066682800f6e37efe)

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-16 17:41:59 +01:00
Oleksandr Kravchuk
294624937b libxi: update to 1.8
(From OE-Core rev: e8099731d4cd586ff4525b3a036ea89debe06115)

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-16 17:41:59 +01:00
zhengruoqin
3ea4b61032 python3-pycryptodome: upgrade 3.10.1 -> 3.11.0
3.11.0 (8 October 2021)
Resolved issues
GH#512: Especially for very small bit sizes,
Crypto.Util.number.getPrime() was occasionally generating primes
larger than given the bit size. Thanks to Koki Takahashi.
GH#552: Correct typing annotations for PKCS115_Cipher.decrypt().
GH#555: decrypt() method of a PKCS#1v1.5 cipher returned a bytearray
instead of bytes.
GH#557: External DSA domain parameters were accepted even when the
modulus (p) was not prime. This affected
Crypto.PublicKey.DSA.generate() and Crypto.PublicKey.DSA.construct().
Thanks to Koki Takahashi.

New features
Added cSHAKE128 and cSHAKE256 (of SHA-3 family).
Thanks to Michael Schaffner.
GH#558: The flag RTLD_DEEPBIND passed to dlopen() is not well
supported by address sanitizers. It is now possible to set the
environment variable PYCRYPTDOME_DISABLE_DEEPBIND to drop that flag
and allow security testing.

(From OE-Core rev: 5dd1c7eb074d8b0089163f8283751676c756d2bc)

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-16 17:41:59 +01:00
zhengruoqin
c8862ead4d libsolv: upgrade 0.7.19 -> 0.7.20
(From OE-Core rev: 77650314fe85a487f390cc7ea5351a804a64b289)

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-16 17:41:59 +01:00
hongxu
0e3c787113 libcap: fix nativesdk-libcap relocate failure
./lat-sdk-poky-intel-x86-64-1.0.sh -y -d sdk-3
...
Setting it up...ERROR: could not relocate
/buildarea/raid5/hjia/community/lat_github_090816/build-3/tmp/deploy/sdk/sdk-3/sysroots/x86_64-pokysdk-linux/usr/lib/libpsx.so.2.54, interp size = 93 and 134 is needed.
...

Since upstream libcap applied commit [ee3b25c Support simply executing
the built shared libraries.][1], it manually append interp section to shared
libraries.

Refer the implement of Yocto glibc[2], allocated a 4096 byte .interp section
for nativesdk

[1] https://git.kernel.org/pub/scm/linux/kernel/git/morgan/libcap.git/commit/?id=ee3b25c0a877fa74d1aec88f325ac45b09963c82
[2] meta/recipes-core/glibc/glibc/0005-nativesdk-glibc-Raise-the-size-of-arrays-containing-.patch

(From OE-Core rev: 99c62d5d134bf69021a348d40b6aa21f4fc5f8a8)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-16 17:41:59 +01:00
Peter Hoyes
a3d3c2d4ac u-boot: Convert ${UBOOT_ENV}.cmd into ${UBOOT_ENV}.scr
* Add extra SRC variables to uboot-config.class for source cmd file
 * Add DEPENDS on u-boot-mkimage-native if UBOOT_ENV_SUFFIX is scr
 * Compile cmd -> scr in do_compile if UBOOT_ENV_SUFFIX is scr

(From OE-Core rev: 0ea02ca5c1fc4e15f640b1c26c0a5ce34fc08c05)

Signed-off-by: Peter Hoyes <Peter.Hoyes@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-16 17:41:59 +01:00
wangmy
7300618171 libical: upgrade 3.0.10 -> 3.0.11
Version 3.0.11 is a patch release.
This release is binary and source compatible with version 3.0.0.
Note that the libical-glib library is considered unstable; therefore not binary compatible with previous releases

ReleaseNotes:
Fix icalrecur_iterator_set_start() for hourly, minutely, and secondly recurrences
Fix build for Berkeley DB version greater than 5
Fix vcal for some architectures (like aarch64, ppc64le and s390x)
Fix memory leaks in vcal
Prevent crash when looking for tzid in initialize_rscale
Adjust libdir and includedir in generated pkgconfig files
Built-in timezones updated to tzdata2021c

(From OE-Core rev: a148c21a03c298933ecac1ca4204eb453ce1c22a)

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>
2021-10-16 17:41:59 +01:00
Richard Purdie
b8b59872fa kernel: Rework kernel make flag to variable mappings
In 2017 we added changes to pass the BUILD_CFLAGS into the kernel
via BUILD_CC. This isn't really correct and the upstream kernel now has
places to pass build cflags, ldflags and more. Update our kernel
make flags to correctly use the kernel's variables. This addresses
concerns raised by kernel developers.

If this breaks some usecase please report it so we can work out how
to fix it properly.

(From OE-Core rev: 7fd06a57a1d91d8534721923f6e3951ec8220cec)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-16 17:41:59 +01:00
Richard Purdie
20f6477b63 reproducible: Drop BUILD_REPRODUCIBLE_BINARIES variable
We want things to be reproduicble and the variable doesn't really change
much any more. Drop the remaining uses and make those code paths always
active.

(From OE-Core rev: d15fb02c7ee7da50e322d74bc6a545234e20c7f3)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-16 17:41:59 +01:00
Richard Purdie
0dc5920862 kernel: Add KERNEL_DEBUG_TIMESTAMPS variable
Change the "binary reproducibility" configuration within the kernel to
work off a separate variable, defaulting to reproducible builds.

This allows kernel developers wanting timestamps in their images to enable
it easily and clearly without changing the rest of the reproduciblity
code which they likely don't need to change anyway.

(From OE-Core rev: 0725ca18af7a2835aeb9616592a45ead2ee87987)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-16 17:41:59 +01:00
Richard Purdie
4b424bdfdb reproducible: Merge code into base.bbclass
Reproducibility is here to stay and needs to be part of our default workflow.
Move the remaining code to base.bbclass so it is always a first class citizen
and it is clear people need to be mindful of it.

(From OE-Core rev: abb0671d2cebfd7e8df94796404bbe9c7f961058)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-16 17:41:59 +01:00
Richard Purdie
f47a396964 reproducible: Move variable definitions to bitbake.conf
The reproducibility code was originally developed as separate
standalone class but development is no longer experimental and
the code is widely tested and used by default for poky. Reproducible
builds are the direction we need to take as a project.

Transition the core variable definitions to bitbake.conf as part of
a move to make these part of the default workflow.

This also helps reduce test matrix complexity as there is now one
code path.

(From OE-Core rev: f38a8de19550ae216575b5b39163666f74b07e2d)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-16 17:41:59 +01:00
Richard Purdie
a28891c779 reproducible: Move class function code into library
To try and avoid parse/memory overhead of functions within bitbake,
move the bulk of the reproducibility functions to the function library.

(From OE-Core rev: f2fd1c9d75e774c8a5271cdc1ec6f65c4492f941)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-16 17:41:59 +01:00
Richard Purdie
4f8eec834a reproducible_build: Drop now unneeded compiler warning
We now pass compiler options that mean the compiler will adjust these values to
SOURCE_DATE_EPOCH, the compiler warnings are now unneeded.

(From OE-Core rev: 80afddd3ae862b125f674702aff6330e87d55338)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-16 17:41:59 +01:00
Richard Purdie
ec6edfc27f patch: Use repr() with exceptions instead of str()
This gives more meaningful errors.

(From OE-Core rev: 5b285796b618623289992faea1282f1822335239)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-16 17:41:59 +01:00
Jon Mason
e53c974ace bitbake: bitbake-user-manual: update sources mirror URL
The URL for the sources mirror no longer works.  Update to the new
location.

(Bitbake rev: 160feefd4af07c0b057495f19c8dd94fe243853b)

(Bitbake rev: 45ea7a937d81d68e3c1203a6e04a3f2f3cc607da)

Signed-off-by: Jon Mason <jdmason@kudzu.us>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-16 17:41:59 +01:00
Khem Raj
d54d049eda openssl: Drop riscv32 upstreamed patches
These patches are already available in 3.0

(From OE-Core rev: 063d085534b7b3659c5721228bb58f4e8115b5ee)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-15 17:55:09 +01:00
Richard Purdie
b85fd33e7d sstate: Fixes for eSDK generation after zstd switch
(From OE-Core rev: f5a90df08631117cd66bec68cb1851db96822bb8)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-15 12:58:00 +01:00
Daniel McGregor
652fdf8719 sstate: Allow validation of sstate singatures against list of keys
Allow a user to validate sstate objects against a list of keys, instead
of just any known key in the user's keychain.

(From OE-Core rev: 52ba0c5e6e2e3d5d01dc3f01404f0ab1bb29b3b5)

Signed-off-by: Daniel McGregor <daniel.mcgregor@vecima.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-14 22:52:31 +01:00
Michael Halstead
9a7bc68135 scripts/autobuilder-worker-prereq-tests: jinja2 check
Ensure the jinja2 module is available during bringup.

(From OE-Core rev: c46a6ec91bd40a458cb0ef5ec84bc0cc274d9cef)

Signed-off-by: Michael Halstead <mhalstead@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-14 22:39:50 +01:00
Henry Kleynhans
3579782a44 sstate: Switch to ZStandard compressor support
This patch switches the compressor from Gzip to ZStandard for ssate cache
files.

Zstandard compression provides a significant improvement in
decompression speed as well as improvement in compression speed and disk
usage over the 'tgz' format in use.  Furthermore, its configurable
compression level offers a trade-off between time spent compressing
sstate cache files and disk space used by those files.  The reduced disk
usage also contributes to saving network traffic for those sharing their
sstate cache with others.

Zstandard should therefore be a good choice when:
* disk space is at a premium
* network speed / resources are limited
* the CI server can sstate packages can be created at high compression
* less CPU on the build server should be used for sstate decompression

(From OE-Core rev: 0710e98f40ec7394567ede1f88f7c7bae306b925)

Signed-off-by: Henry Kleynhans <hkleynhans@fb.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-14 22:37:43 +01:00
Ross Burton
ca8ef6bc38 bitbake: codegen: implement ast.NodeVisitor.visit_Constant
Since Python 3.8 visit_Num(), visit_Str() and so on are all deprecated
and replaced with visit_Constant.  We can't yet remove the deprecated
functions until we require 3.8, but we can implement visit_Constant to
silence the deprecation warnings.

(Bitbake rev: 4edd5767fc6d699f5262862b763b6a99ad1f1bbf)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-14 22:37:43 +01:00
Caner Altinbasak
bd5a07fbcb bitbake: fetch2: Do not attempt to verify donestamp if download is not complete
npmsw(and maybe other fetchers) may try to download same files simulatenously.

if a premirror is set, download method tries premirror location first. If file
is not found, done is set to false. In the meantime, other fetchers may download
the files required and verify_donestamp might return true.

In this scenerio, fetcher doesn't try to download again and fails. Do not
attempt to verify_donestamp if done is not set. By this way, we ensure that
fetcher attempts to do another download after premirror failure.

(Bitbake rev: 4fa25714916e84f99ecd22cb76cb5adada01e5e8)

Signed-off-by: Caner Altinbasak <cal@brightsign.biz>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-14 22:37:43 +01:00
Caner Altinbasak
8e6aaed8ff bitbake: npmsw: Avoid race condition with multiple npm fetchers
If multiple npmsw fetchers are trying to download the same npm file, one of them
can try to download the file while other is calling verify. npmsw methods gets
called without holding the lock, which causes race conditions in fetching and
verification etc. Lock the lockfile before calling proxy fetcher methods.

(Bitbake rev: fa39e6689d0f0fff772e1c81682698f4b1587b8a)

Signed-off-by: Caner Altinbasak <cal@brightsign.biz>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-14 22:37:43 +01:00
Richard Purdie
4c33a6e52b bitbake: siggen: Change file format of siginfo files to use zstd compressed json
Since OE is about to change to zstd compression of sstate, it would make it
timely to convert the siginfo files from pickle which isn't reproducible
to json which is both reproducible and also human readable. At the same time
add zstd compression. This makes the siginfo files smaller, reprodubicle
and easier to debug.

Backwards compatibility mixing the two formats hasn't been supported since
in reality if sstate changes at the same time, files will be in one format
or the new one but comparing mixed formats won't make much sense.

Since json doesn't support sets, we translate them into lists in the files
themselves. We only use sets in bitbake since it makes things easier in
the internal code, sorted lists are fine for the file format.

[YOCTO #13973]

(Bitbake rev: 22c18494c9072788e6e26eb73de70378ae5c5bf5)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-14 22:37:43 +01:00
Richard Purdie
d080eaa163 bitbake: compress: Allow to operate on file descriptor
The code works fine if we pass a file descriptor in and we need to
do this from the siggen code so add that as a valid input.

(Bitbake rev: fc8d74b7de576005ecf67920501dc7e694880fda)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-14 22:37:43 +01:00
Richard Purdie
5cd1fd86f4 bitbake: bitbake-worker: Set BB_CURRENTTASK earlier
For some debugging, BB_CURRENTTASK is set too late to be useful as
it isn't present in some event handlers for example. There is no
other way to know which task is actually running so set the value
earlier.

(Bitbake rev: 7daaaaa27f55b5a458656857c6d61a51b34a62fe)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-14 22:37:43 +01:00
Richard Purdie
5d11fecd3f python: Update now reproducibile builds are the default
Now reproducible builds are the default move the qemu-usermode check to anon
python code so that invalid configurations are detected.

(From OE-Core rev: 6c195acb400efeeebdacdd8d081b35f7417a694c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-14 22:32:50 +01:00
Richard Purdie
59d990ad09 reproducible_build: Drop obsolete sstate workaround
sstate has been sufficiently invalidated since this change was made, drop
the workaround now.

(From OE-Core rev: 7a497d8f30f21bafc78d0f22f3442a9cc99544cb)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-14 22:32:50 +01:00
Ross Burton
09ca5e87ec license.bbclass: implement ast.NodeVisitor.visit_Constant
Since Python 3.8 visit_Num(), visit_Str() and so on are all deprecated
and replaced with visit_Constant.  We can't yet remove the deprecated
functions until we require 3.8, but we can implement visit_Constant to
silence the deprecation warnings.

(From OE-Core rev: 875a944392a3c93f40081a14af357f70b6b8264f)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-14 22:32:50 +01:00
Ross Burton
b6611957cc oe/license: implement ast.NodeVisitor.visit_Constant
Since Python 3.8 visit_Num(), visit_Str() and so on are all deprecated
and replaced with visit_Constant.  We can't yet remove the deprecated
functions until we require 3.8, but we can implement visit_Constant to
silence the deprecation warnings.

(From OE-Core rev: abc93390a3f19bc4cc159c5690a478b9e2270906)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-14 22:32:50 +01:00
Jon Mason
47d033595a runqemu: add DEPLOY_DIR_IMAGE replacement in QB_OPT_APPEND
Add the ability to replace DEPLOY_DIR_IMAGE with that path in
QB_OPT_APPEND.  This allows for anything present in DEPLOY_DIR_IMAGE to
be passed into the qemu parameters.  This is especially useful if you
want to run multiple flash images (as -bios only allows for one).

(From OE-Core rev: 1f0bec0421617e8aa9645c385195a755f0d44e75)

Signed-off-by: Jon Mason <jdmason@kudzu.us>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-14 22:32:50 +01:00
Daniel McGregor
f7bc56fbd8 bitbake.conf: Add gpg-agent as a host tool
If gpg is used, it will find the first gpg agent in the path, this
may lead to issues where gpg comes from the host, and the agent
comes from a gnupg-native due to package signing. The versions
being out of sync causes gpg to fail.

(From OE-Core rev: 2b59fb9d52a405a32a1d069d4c5320b72fbd35ce)

Signed-off-by: Daniel McGregor <daniel.mcgregor@vecima.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-14 22:32:50 +01:00
Daniel McGregor
dc41944f19 bison: prevent checking for textstyle.
Bison's autoconf is also very good at finding textstyle, force it
to not find it unless it's explictly enabled.

(From OE-Core rev: 4f80931136462546f70f5e40d86d5e566f78d2e3)

Signed-off-by: Daniel McGregor <daniel.mcgregor@vecima.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-14 22:32:50 +01:00
Ross Burton
21d529bdf3 curl: fix CVE-2021-22945 through -22947
(From OE-Core rev: cff6888f3b2b4bd0a42329b7f7c59b33c9d51265)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-14 22:32:50 +01:00
Richard Purdie
abdcc31c82 bitbake.conf: Add BB_CURRENTTASK to BB_HASHEXCLUDE
Tasks shouldn't vary dependning on the value of BB_CURRENTTASK. They
happen not to due to when bitbake sets this but to fix other issues,
bitbake needs to set it earlier. Therefore exclude from hashes
globally.

(From OE-Core rev: 04a4ed1c509b0ef6af6d9ff53901c674ca402252)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-14 22:32:50 +01:00
Richard Purdie
ed18e29bcf base: Use repr() for printing exceptions
Exceptions print more clearly using repr() instead of str(), fix
in fetch and unpack tasks.

Drop part of the test which no longer makes sense after this change.

(From OE-Core rev: c94816259cc1c09746353ad26ca0c811e0c962c2)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-14 22:32:50 +01:00
Richard Purdie
2ef219407d base: Clean up unneeded len() calls
This code pattern isn't very pythonic, improve it to drop the unneeded
len() calls.

(From OE-Core rev: 69376ac1a6147b26fe1abaa4cf68414024814d63)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-14 22:32:50 +01:00
Richard Purdie
188a6e5895 base/insane: Import oe.qa by default
(From OE-Core rev: 3b4ce5f69cd962cd219aa3c0e7a2de9096e2ecb8)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-14 22:32:50 +01:00
Ross Burton
4a791f342f bitbake: fetch2: document checkstatus API
The checkstatus semantics are unconventional, so document them.

(Bitbake rev: efb949020215b580e7dc3694c377b18df2fd7e9c)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-14 21:31:09 +01:00
Alexander Kanavin
fae4ba632b python3: update 3.9.7 -> 3.10.0
native and target 0001-Lib-sysconfig.py-use-libdir-values-from-configuratio.patch
replaced by native-only 0001-Lib-sysconfig.py-use-prefix-value-from-build-configu.patch
which is more reboust against upstream changes, and keeps target code unmodified.

This however necessitated adding 0001-sysconfig.py-use-platlibdir-also-for-purelib.patch
to avoid hardcoding 'lib' on target builds as libdir.

Drop chunk from 0001-distutils-sysconfig-append-STAGING_LIBDIR-python-sys.patch as
upstream now uses sysconfig directly inside distutils.

Add 0001-Lib-pty.py-handle-stdin-I-O-errors-same-way-as-maste.patch and
0001-multiprocessing-disable-a-failing-test.patch to address ptest failures.

License-Update: copyright years, case corrections.

(From OE-Core rev: 72a75043a946f7db01d3ec04c8889e055f542cca)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-14 11:57:38 +01:00
Pgowda
11df8c79a7 Fix rust-native build issue when debug is enabled
When DEBUG_BUILD is set for building rust-native, it generated
error as follows:-
=========================================================
Building : rustdoc, rustdoc-json-types
error[E0463]: can't find crate for `rustc_llvm`
which `rustc_driver` depends on
  --> src/librustdoc/lib.rs:37:1
   |
37 | extern crate rustc_driver;
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
=========================================================
On analyzing the issue, it was found that rustc_llvm crate was present
at required path. However, it was very huge due to the presence of
debugging information. Hence, it was somehow not recognized as a valid
crate. The following patch removes the debug information from
rust-llvm-native which is built prior to rust-native but retains debug
information as required in rust-native binaries.

(From OE-Core rev: 7261a4b4d5778a48c8d72c9125233b1b0bc009e6)

Signed-off-by: Pgowda <pgowda.cve@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-14 11:57:38 +01:00
Jose Quaresma
99ab2198e2 patch.bbclass: when the patch fails show more info on the fatal error
There are situations when the user have the 'patchdir' defined
as a parameter on SRC_URI. However he doesn't know that with this
the patch is applied relatively to the receipe source dir 'S'.

- When user have 'patchdir' defined check if this directory exist.
- If the patch fails show addition info to the user:
  - Import: show the striplevel
  - Resolver: show the expanded 'patchdir' to the user.

The next example is from opencv in meta-oe layer, here the
patch is applied on the target directory ${WORKDIR}/git/contrib.

S = "${WORKDIR}/git"
SRCREV_FORMAT = "opencv_contrib"
SRC_URI = "git://github.com/opencv/opencv.git;name=opencv \
           git://github.com/opencv/opencv_contrib.git;destsuffix=contrib;name=contrib \
           file://0001-sfm-link-with-Glog_LIBS.patch;patchdir=../contrib \
           "

* When the patch fail there are no message that indicates the real reason.
  patchdir=../no-found-on-file-system

ERROR: opencv-4.5.2-r0 do_patch: Command Error: 'quilt --quiltrc /build/tmp/work/core2-64-poky-linux/opencv/4.5.2-r0/recipe-sysroot-native/etc/quiltrc push' exited with 0  Output:
stdout: Applying patch 0001-sfm-link-with-Glog_LIBS.patch
can't find file to patch at input line 37
Perhaps you used the wrong -p or --strip option?

* The check of the patchdir will add a new fatal error
  when the user specifies a wrong path than don't exist.
  patchdir=../no-found-on-file-system

ERROR: opencv-4.5.2-r0 do_patch: Target directory '/build/tmp/work/core2-64-poky-linux/opencv/4.5.2-r0/git/../no-found-on-file-system' not found, patchdir '../no-found-on-file-system' is incorrect in patch file '0001-sfm-link-with-Glog_LIBS.patch'

* When we can't aplly the patch but the patchdir exist,
  show the expanded patchdir on fatal error.
  patchdir=../git

ERROR: opencv-4.5.2-r0 do_patch: Applying patch '0001-sfm-link-with-Glog_LIBS.patch' on target directory '/build/tmp/work/core2-64-poky-linux/opencv/4.5.2-r0/git/../git'
Command Error: 'quilt --quiltrc /build/tmp/work/core2-64-poky-linux/opencv/4.5.2-r0/recipe-sysroot-native/etc/quiltrc push' exited with 0  Output:
stdout: Applying patch 0001-sfm-link-with-Glog_LIBS.patch
can't find file to patch at input line 37
Perhaps you used the wrong -p or --strip option?

(From OE-Core rev: c44bc7c0fb8b7c2e44dd93607a3bfd9733e1df80)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-14 11:57:38 +01:00
Zoltán Böszörményi
7d3b5e8af3 libpam: Fix build with DISTRO_FEATURES usrmerge
(From OE-Core rev: 71780bb9ac3c9e096888128d9cf3441c1758d816)

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>
2021-10-14 11:48:46 +01:00
Tim Orling
1c6080c4b7 python3-pytest: upgrade 6.2.4 -> 6.2.5
Drop pluggy-1.0 patch; fixed upstream

pytest 6.2.5 (2021-08-29)
  Trivial/Internal Changes
    #8494: Python 3.10 is now supported.
    #9040: Enable compatibility with pluggy 1.0 or later.

References:
  https://github.com/pytest-dev/pytest/pull/8494
  https://github.com/pytest-dev/pytest/pull/9040

(From OE-Core rev: cd83fa054d133eb2b189ad3f0a743cc72001e064)

Signed-off-by: Tim Orling <timothy.t.orling@intel.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-14 11:48:46 +01:00
Tim Orling
666cffcad2 libconvert-asn1-perl: upgrade 0.31 -> 0.33
0.33 -- Wed Sep 22 19:49:53 ADT 2021
  * Official CPAN release of 0.33

0.32 -- Tue Sep 21 18:45:20 ADT 2021
  * examples/x509decode: parameters are optional for AlgorithmIdentifier
    when using [ec]dsa algorithms
  * t/19issue14.t: issue with warnings
  * Fixes #44 Redundant argument in printf warning
  * examples/x509decode: fix prototype error
  * examples/ldap: fix asn1_dump not working

(From OE-Core rev: c43a57540eb7351fb096d85de72adbef467bfafd)

Signed-off-by: Tim Orling <timothy.t.orling@intel.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-14 11:48:46 +01:00
Tim Orling
e3c677a181 python3-zipp: upgrade 3.5.0 -> 3.6.0
v3.6.0
  #78: Only Path is exposed in the public API.

v3.5.1
  #77: Remove news file intended only for CPython.

References:
  https://github.com/jaraco/zipp/issues/78
  https://github.com/jaraco/zipp/issues/77

(From OE-Core rev: 682db790542212e921eb6d874c2915ac815ee9bd)

Signed-off-by: Tim Orling <timothy.t.orling@intel.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-14 11:48:46 +01:00
Tim Orling
cbc0b73b9b python3-more-itertools: upgrade 8.9.0 -> 8.10.0
8.10.0
  Changes to existing functions
    - The type stub for iter_except was improved (thanks to
      MarcinKonowalczyk)

  Other changes:
    - Type stubs now ship with the source release (thanks to
      saaketp)
    - The Sphinx docs were improved (thanks to MarcinKonowalczyk)

8.9.0
  New functions
    - interleave_evenly (thanks to mbugert)
    - repeat_each (thanks to FinalSh4re)
    - chunked_even (thanks to valtron)
    - map_if (thanks to sassbalint)
    - zip_broadcast (thanks to kalekundert)

  Changes to existing functions
    - The type stub for chunked was improved (thanks to
      PhilMacKay)
    - The type stubs for zip_equal and zip_offset were improved
      (thanks to maffoo)
    - Building Sphinx docs locally was improved (thanks to
      MarcinKonowalczyk)

(From OE-Core rev: 981014d7122270ceca961e7f88a2b6d1aa322361)

Signed-off-by: Tim Orling <timothy.t.orling@intel.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-14 11:48:46 +01:00
Tim Orling
83f6f5faea python3-importlib-metadata: upgrade 4.6.4 -> 4.8.1
v4.8.1
  #348: Restored support for EntryPoint access by item, deprecating
        support in the process. Users are advised to use direct member
        access instead of item-based access:

    - ep[0] -> ep.name
    - ep[1] -> ep.value
    - ep[2] -> ep.group
    - ep[:] -> ep.name, ep.value, ep.group

v4.8.0
  #337: Rewrote EntryPoint as a simple class, still immutable and
        still with the attributes, but without any expectation for
        namedtuple functionality such as _asdict.

v4.7.1
  #344: Fixed regression in packages_distributions when neither
        top-level.txt nor a files manifest is present.

v4.7.0
  #330: In packages_distributions, now infer top-level names from
        .files() when a top-level.txt (Setuptools-specific metadata)
        is not present.

References:
  https://github.com/python/importlib_metadata/issues/348
  https://github.com/python/importlib_metadata/issues/337
  https://github.com/python/importlib_metadata/issues/344
  https://github.com/python/importlib_metadata/issues/330

(From OE-Core rev: 21d72ace8f9486bd1b478e28d53da64087d790fa)

Signed-off-by: Tim Orling <timothy.t.orling@intel.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-14 11:48:46 +01:00
Tim Orling
6940a07131 python3-hypothesis: upgrade 6.15.0 -> 6.23.2
For changes, see:
https://hypothesis.readthedocs.io/en/latest/changes.html#v6-23-2

(From OE-Core rev: b01db599d754f7fe654ae4edfc076333b54bbce5)

Signed-off-by: Tim Orling <timothy.t.orling@intel.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-14 11:48:46 +01:00
Alexander Kanavin
a7f4e0572a epiphany: update 40.3 -> 41.0
Correct an option to use libsoup 3.

(From OE-Core rev: c86732e1add2e743d1bae0d1d6348b692e039439)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-14 11:48:46 +01:00
Alexander Kanavin
bd370c38e2 webkitgtk: update 2.32.3 -> 2.34.0
(From OE-Core rev: 69208e6e5572858954a995cfdcb4c4404a22013c)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-14 11:48:46 +01:00
Alexander Kanavin
4eabaefafa epiphany: trim down DEPENDS
(From OE-Core rev: 5a7300300e82abd4d635bb1fecf3f2ec4c96bfa3)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-14 11:48:46 +01:00
Alexander Kanavin
3ccd23a0da webkitgtk: trim down DEPENDS
(From OE-Core rev: a5b6f978ef4aef6d484acc6e3c4558df7fec65d2)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-14 11:48:46 +01:00
Alexander Kanavin
de296e2b2b libsoup: add a 3.x recipe
libsoup 2.x is still needed until all consumers update to 3.x.

(From OE-Core rev: 0038a5b3145d0b0b07c987742b6fb54f9edc9882)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-14 11:48:46 +01:00
Alexander Kanavin
f5ed0980b3 nghttp2: add recipe from meta-oe
It is needed for latest libsoup.

(From OE-Core rev: 1ea50f0e11a30516ca0d5da03570b940cced34f2)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-14 11:48:46 +01:00
Alexander Kanavin
6cddf1ff19 itstool: update 2.0.6 -> 2.0.7
(From OE-Core rev: 19743c855b5897993566c72e13cf79fbfbcee7ef)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-14 11:48:46 +01:00
Alexander Kanavin
370041dca1 coreutils: update 8.32 -> 9.0
License-Update: copyright years

(From OE-Core rev: 07c303cd906e4e1d0c4d3ebb500b3baac06ca56e)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-14 11:48:46 +01:00
Alexander Kanavin
0fbfcdf980 wget: update 1.21.1 -> 1.21.2
(From OE-Core rev: 3c57a4b0d3d2886c2e4f96d4f24a7b86bf04cfd7)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-14 11:48:46 +01:00
Alexander Kanavin
90a03db51b sudo: update 1.9.7p2 -> 1.9.8p1
Drop specialhandling for mksig items; issue fixed upstream.

(From OE-Core rev: c5226a62fe90ff6b24d5063f1ecefd656b3494a3)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-14 11:48:46 +01:00
Alexander Kanavin
266d5bdb10 libexif: update 0.6.22 -> 0.6.23
(From OE-Core rev: 65a54f72e15f59bdf9d8c4618f3ef8510541d134)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-14 11:48:46 +01:00
Alexander Kanavin
12aa32c7e2 libdnf: update 0.63.1 -> 0.64.0
Drop patch merged upstream.

(From OE-Core rev: ea8562459425e54f5809ff00dba133ff7e30d2b5)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-14 11:48:46 +01:00
Alexander Kanavin
e91ac346da bison: update 3.7.6 -> 3.8.1
Drop patch merged upstream.

(From OE-Core rev: 0f07360ebcab7e337c1cb9b9a7a844b102bd5e15)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-14 11:48:46 +01:00
Alexander Kanavin
6e6507327a glib-networking: update 2.68.2 -> 2.70.0
(From OE-Core rev: adcbaadd9117e2bac68288c7e08547b39aa1ff8b)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-14 11:48:46 +01:00
Alexander Kanavin
a8ff4b25c7 glib-2.0: update 2.68.4 -> 2.70.0
Internal copy of pcre is no longer provided.

(From OE-Core rev: e359ee75e67b72eeb73eddbc1bc46549e00dded5)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-14 11:48:46 +01:00
Alexander Kanavin
1c3c69d100 ruby: disable openssl extension
It is incompatible with openssl 3 in currently released versions, and given
very marginal use of ruby in oe, I do not think not having it matters.

(From OE-Core rev: 7a477de350eaf7095745db81fb03e7ab20188f5a)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-14 11:48:46 +01:00
Alexander Kanavin
6938cea87b serf: add a openssl 3 compatibility fix
(From OE-Core rev: 02a66905fa48402589e1799deed2a7f32896525a)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-14 11:48:46 +01:00
Alexander Kanavin
5d98fcc934 cryptodev-tests: do not use -Werror with openssl 3
(From OE-Core rev: 8ffab3cc437d9c4f3cbd41e1a52db768d6fbe938)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-14 11:48:46 +01:00
Alexander Kanavin
9a95f11100 openssl: update 1.1.1l -> 3.0.0
Drop 0001-skip-test_symbol_presence.patch - testing revealed
no need for it, and I couldn't quite understand what it does.

Drop reproducible.patch - upstream has removed the non-reproducible
bit.

Process lines in run-ptest with sed one by one rather than with
perl after the test completes, avoiding ptest-runner timeout errors.

License-Update: openssl relicense to apache 2.0. Goodbye awkward
gpl exceptions in consumers.

DEPRECATED_CRYPTO_FLAGS is now empty by default but available
by anyone who wants to set it. Trying to come up with a working
set was not a good idea as shown in the deleted comment.

(From OE-Core rev: f028a55383588d68c052f19f16d0f3f4d0560c57)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-14 11:48:46 +01:00
Alexander Kanavin
d6b563710e rust: generate target definitions from (arch, abi), not just arch
This allows to add the missing x32 definition and others in the future.

(From OE-Core rev: 79bd6389585327820dfc1a1d29f60779ef08b2e0)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-14 11:48:45 +01:00
Alexander Kanavin
463bcb876e rust: do not write ar into target json definitions
latest rust does not use it and prints a ton of warnings
because of it.

(From OE-Core rev: 320f2c5aa535237fab4f4a1e6f75358f53221459)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-14 11:48:45 +01:00
Alexander Kanavin
4abd6ee9d4 rust-common.bbclass: rewrite toolchain wrappers in (native) python
librsvg on centos 7 and friends exhibits the same libtinfo leakage
problem, this time coming from the compiler and not the linker.
Simply covering the compiler by the existing C wrapper-of-wrapper
does not work, as rust-native builds put Important Stuff into
LD_LIBRARY_PATH and unsetting it breaks things badly.

Rather than try to figure out which combination of wrappers and
LD_LIBRARY_PATH settings works for which situation, or provide
some kind of sh-native, let's simply use python3-native for the
wrappers, which should insulate builds from the the host shell.
rust-native already depends on python3-native, so this does not
lengthen the builds.

This also reverts:
rust-common: Hack around LD_LIBRARY_PATH issues on centos7
(commit 63b1fd2226).

I'd also like to say boo to Red Hat (or GNU?) for breaking ABI
compatibility for stat() in glibc 2.33, we ended up sorting
this mess because of it.

(From OE-Core rev: 997d54363a3cb3a0e949b3626855f2fa41afeb2b)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-14 11:48:45 +01:00
Alexander Kanavin
bcab6dd34f rust/cargo: exclude UNINATIVE_LOADER from task signature
(From OE-Core rev: 8915dfa2034d939b504f134e83811ed2ba18a6f1)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-14 11:48:45 +01:00
Alexander Kanavin
a6ea3e0217 gstreamer1.0-plugins-bad: disable rsvg on x32
librsvg throws:

| error[E0080]: erroneous constant used
|    --> /home/alex/development/poky/build-x32/tmp/work/x86_64_x32-poky-linux-gnux32/librsvg/2.52.0-r0/librsvg-2.52.0/vendor/thin-slice/src/lib.rs:111:25
|     |
| 111 |         } else if len < TAG_LIMIT {
|     |

(From OE-Core rev: 3ebf15d74cfd4ac3ee5f3afffd3532d9ef340208)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-14 11:48:45 +01:00
Alexander Kanavin
01af095ce2 adwaita-icon-theme: update 3.34/38 -> 41.0
The original reason to pin the version (outdated librsvg)
no longer applies.

(From OE-Core rev: 354207b58e8511e0bf72f046142a1e150319fa74)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-14 11:48:45 +01:00
Alexander Kanavin
4b2fa040eb librsvg: restore reproducibility
(From OE-Core rev: c6fbac3b1db14aa73b4161371dd49644f3cced74)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-14 11:48:45 +01:00
Alexander Kanavin
b88709a5b9 librsvg: use only the target architecture to determine availability of atomic primitives
This eliminates the hardcoded list of rust targets which can't
possibly include everything from OE universe.

(From OE-Core rev: d59f69b136dceb490dbb1ca3c2f20e7ff3e28ad6)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-14 11:48:45 +01:00
Alexander Kanavin
c7af21fd8b librsvg: add backports to fix big endian targets (e.g. mips)
(From OE-Core rev: 2fd0ad104b29473c8a1b0b5c173ab54c48994271)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-14 11:48:45 +01:00
Alexander Kanavin
a83dc97c7b librsvg: do not enable nativesdk
rust is not currently available for nativesdk builds:

WARNING: Nothing PROVIDES 'nativesdk-libstd-rs' (but virtual:nativesdk:/home/pokybuild/yocto-worker/a-full/build/meta/recipes-gnome/librsvg/librsvg_2.52.0.bb DEPENDS on or otherwise requires it). Close matches:
WARNING: Nothing PROVIDES 'virtual/nativesdk-x86_64-pokysdk-linux-rust' (but virtual:nativesdk:/home/pokybuild/yocto-worker/a-full/build/meta/recipes-gnome/librsvg/librsvg_2.52.0.bb DEPENDS on or otherwise requires it). Close matches:

(From OE-Core rev: 67dd505c4292cc526da6bea2be5d5d2a497cd30c)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-14 11:48:45 +01:00
Alexander Kanavin
2ff9a053ac librsvg: update 2.40.21 -> 2.52.0 (transition to rust!)
After some poking and hacking I have arrived to the settings that work.
Please refer to the commit for details.

Some of these issues may re-occur in other components; in that case
we need to come up with more generic solutions or upstream fixes.

So far, it's a learning exercise for everybody in getting to know the rust toolchain.

(From OE-Core rev: e060ee5ea96f3c3903b8aa018a5a3af3c60e5ab3)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-14 11:48:45 +01:00
Alexander Kanavin
5efebf3be0 rust: update 1.54.0 -> 1.55.0
(From OE-Core rev: a21705c33a6a69e9a625b8a75d76b76bd078aba2)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-14 11:48:45 +01:00
Alexander Kanavin
d91db6917f rust: drop PV from include file names
This complicates (semi) automated upgrades, and isn't necessary
as we carry only a single version of the toolchain.

(From OE-Core rev: f7a6b23d99fba5855cfb34788199877a14206293)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-14 11:48:45 +01:00
Stefan Herbrechtsmeier
0e973d814b recipetool: Rework crunch_license to recognize more variants
(From OE-Core rev: 6c70f5bd2acd036c21be5b03df89d3a8f381a822)

Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-14 11:48:45 +01:00
Stefan Herbrechtsmeier
fe87ab0a6a npm: Use configs for npm environment and args for npm run command
Use parameter configs of class NpmEnvironment and parameter args of
function run to support a common npmrc for all run calls of a single
NpmEnvironment.

(From OE-Core rev: 6490de38ba9563181653ef223224de066faf9166)

Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-14 11:48:45 +01:00
Stefan Herbrechtsmeier
9f452b4831 npm: Add variable NPM_NODEDIR with default value
Replace the variable NPM_NODEDIR fallback to a default value inside the
code with a variable NPM_NODEDIR with default value.

(From OE-Core rev: f0a47afb43bd63b66c565ba3d084e20d6725495e)

Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-14 11:48:45 +01:00
Stefan Herbrechtsmeier
36965547e3 recipetool: npm: Use README as license fallback
Use the README as license fallback if a license file is missing. Use the
linenumbers parameter of get_license_md5sums function to determine the
license text inside the README.

(From OE-Core rev: eff85c86f36673a1cb5a5dc8c66598e0dc457374)

Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-14 11:48:45 +01:00
Stefan Herbrechtsmeier
4ca5b3fcb0 recipetool: npm: Do not add package.json files to LIC_FILES_CHKSUM
The package.json files doesn't contain any licenses. The name of the
license doesn't comply the license requirements of most liceneses.

(From OE-Core rev: 194df9c240378b6befeb10183889093ec7bb4d5f)

Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-14 11:48:45 +01:00
Stefan Herbrechtsmeier
aee9854734 recipetool: Add support for linenumbers to licenses.csv
Add support for linenumbers (begin and end lines) to licenses.csv. Add
an optional linenumbers parameter to get_license_md5sums to support
different use cases.

(From OE-Core rev: d5c4979669f125e73c24dcc73fa3c4f3787bbb62)

Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-14 11:48:45 +01:00
Stefan Herbrechtsmeier
bb54949b17 recipetool: Add logger info for missing license entries
(From OE-Core rev: 0548a5d8eeee682a6e250ddc1886279f52747db2)

Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-14 11:48:45 +01:00
Stefan Herbrechtsmeier
f0a43c39cb recipetool: ignore empty license files
(From OE-Core rev: a00720344d1996db9e4afff1c974b3158fb8dae7)

Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-14 11:48:45 +01:00
Stefan Herbrechtsmeier
d8655d3e15 recipetool: Change default paramter fallback_licenses of function split_pkg_licenses from None to []
(From OE-Core rev: ab06305bf9a8ee2250aae8043e37119df2fbfc15)

Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-14 11:48:45 +01:00
Stefan Herbrechtsmeier
f70715b54a recipetool: Skip common source files in guess_license
(From OE-Core rev: a930d39787dd77e10dfa7b7297af5fa04ca731ea)

Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-14 11:48:45 +01:00
Stefan Herbrechtsmeier
17798d21e0 recipetool: Move license md5sums into CSV files
(From OE-Core rev: 631f6b7d1856e0e4f2313703fa1162d05e5deea6)

Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-14 11:48:45 +01:00
Stefan Herbrechtsmeier
a4acb5472e npm: Add support for EXTRA_OENPM arguments
Add support for EXTRA_OENPM arguments to set node-gyp variables for
example. This allows use of shared librariess, avoid download
of external sources or build from source.

(From OE-Core rev: 9b22b50b77a5979934193e9affbe47a05d763777)

Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-14 11:48:45 +01:00
Petr Vorel
7a17e14be9 ltp: Update to 20210927
New patches to fix functionality:
* 0002-lib-fix-MemAvailable-parsing.patch
* 0003-lapi-rtnetlink.h-Fix-include-guards.patch
* 0004-lapi-Create-if_addr.h-and-reuse-it-in-rtnetlink.h.patch
* 0005-lapi-if_addr.h-Define-IFA_FLAGS.patch

Removed patch from this release
* 0001-syscalls-ioctl_ns05.c-ioctl_ns06.c-Fix-too-small-buf.patch

Rebased patch
* 0001-Remove-OOM-tests-from-runtest-mm.patch

* Updated copying (reduced files in 5eff445d4 ("Reduce LICENCE/COPYING files"))

* Updated removed musl incompatible files in
  remove_broken_musl_sources() (process.c was removed in 926d3b906
  ("sched: Remove process.c")), also update link to CI file.

[RP: Fixed Upstream-Status lines in patches]
(From OE-Core rev: c227daf3c40666ea8f2b28bd1006633f5efb4692)

Signed-off-by: Petr Vorel <petr.vorel@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-14 11:27:12 +01:00
Richard Purdie
04d9b25833 linux-yocto-dev: Ensure DEPENDS matches recent 5.14 kernel changes
DEPENDS here should match what 5.14 is using.

(From OE-Core rev: 899fd41723f41fe0a0cc24373c326b88cb385fe9)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-14 11:22:18 +01:00
Ross Burton
c209cc58fe linux-yocto: add libmpc-native to DEPENDS
5.14 changed how the GCC plugins are built, which means they now
depend on both GMP and MPC to be built. We already depend on gmp-native,
so add libmpc-native aswell.

(From OE-Core rev: f242a6db0757b31c0d4eba5c362f616e1ace14d6)

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>
2021-10-14 11:22:18 +01:00
Andres Beltran
f3518bcdab buildhistory: Fix package output files for SDKs
Currently, installed packages are listed for images in image-info.txt, but
not for SDKs in sdk-info.txt. Add TOOLCHAIN_HOST_TASK and
TOOLCHAIN_TARGET_TASK to the output variables in sdk-info.txt.

Moreover, package output files for the SDK host are empty because
PKGDATA_DIR defaults to the target directory. Fix this bug and create a new
variable called PKGDATA_DIR_SDK which stores the correct path for the SDK
host package data.

(From OE-Core rev: 82e6172c1df378dff4e503aa878501c08937b5bb)

Signed-off-by: Andres Beltran <abeltran@linux.microsoft.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-14 11:22:18 +01:00
Mingli Yu
433201369e packagedata.py: silence a DeprecationWarning
Use regex strings (r’’) to silence below deprecation warning [1]:
 $ cat tmp/work/intel_x86_64-wrs-linux/linux-yocto/5.10.x+gitAUTOINC+917c420111_373c02c3ca-r0/temp/log.do_deploy
 [snip]
 /build/layers/oe-core/meta/lib/oe/packagedata.py:22: DeprecationWarning: invalid escape sequence \s
 r = re.compile("(^.+?):\s+(.*)")
 [snip]

[1] https://docs.python.org/3/library/re.html

(From OE-Core rev: b5b70cba70067466da5e94f69632a2a029203838)

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-13 09:42:01 +01:00
Alexander Kanavin
97bce4f410 lttng-tools: replace ad hoc ptest fixup with upstream fixes
(From OE-Core rev: 87fd3080c86f6987e4403a2cb8263564f6e1ac4f)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-13 09:42:01 +01:00
Alexander Kanavin
d97caeb6bb qemu: install qmp module without hardcoding the python version in oeqa scripts
(From OE-Core rev: 6d3f55ea8f7190e6825dc72424088658cbc0a13c)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-13 09:42:01 +01:00
Richard Purdie
1670d22835 bootchart2: Don't compile python modules
"make install" may attempt to compile the python modules but it uses the host python
and host paths which means the binaries are not reproducbile. Make things consistent.
If anyone needs compiling, it will beed to be fixed to be cross compile compatible.

(From OE-Core rev: 1189f95e05c80286e009e1ab46a603ee5b7ca239)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-13 09:42:01 +01:00
Richard Purdie
134f8f5926 libnewt: Use python3targetconfig to fix reproducibility issue
We're seeing pthread being linked sometimes and not others leading to
non-reproducible target binaries. The reason is mixing the native python
config with the target one. We should use the target one.

(From OE-Core rev: 3fe5101b335384ef83e96ccc58687fd631164075)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-13 09:42:01 +01:00
Richard Purdie
90ef73e8de libxml2: Use python3targetconfig to fix reproducibility issue
We're seeing pthread being linked sometimes and not others leading to
non-reproducible target binaries. The reason is mixing the native python
config with the target one. We should use the target one.

(From OE-Core rev: 1bc5378db760963e2ad46542f2907dd6a592eb66)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-13 09:42:01 +01:00
Michael Opdenacker
12ca5f7209 devpyshell: rename to pydevshell
For consistency with "pydevshell" which is also used.
This addresses [YOCTO #14531]

(From OE-Core rev: 958133f4e97275d1f2c74a7e715c4506cca3582f)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-11 18:41:39 +01:00
Andrej Valek
e89193298a busybox: 1.34.0 -> 1.34.1
- update to next stable version 1.34.1

(From OE-Core rev: 84c9bb0796aa4382cc08075ec2908aea81892f64)

Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-11 18:41:39 +01:00
Jose Quaresma
7f9d89a3a0 gst-examples: 1.18.4 -> 1.18.5
(From OE-Core rev: b1bddc80dc172563b7cd469a8de6b9db2e6ad985)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-11 18:41:39 +01:00
Jose Quaresma
b1654bb6a7 gst-devtools: 1.18.4 -> 1.18.5
(From OE-Core rev: fe1345f72e41fe0fd0a8c69ac8e7cb7551666fcb)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-11 18:41:39 +01:00
Jose Quaresma
b1374c1b6a gstreamer1.0-python: 1.18.4 -> 1.18.5
(From OE-Core rev: 3c68529eb99c74de5a30520261f62a5544be9b39)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-11 18:41:39 +01:00
Jose Quaresma
e5ba71e108 gstreamer1.0-omx: 1.18.4 -> 1.18.5
(From OE-Core rev: 65ed3c4e6c0fbade647ec31a6a77f06ed4e97e7a)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-11 18:41:39 +01:00
Jose Quaresma
dddc48512c gstreamer1.0-vaapi: 1.18.4 -> 1.18.5
(From OE-Core rev: a46b9209b5f2f45b4206a7819e00c48795885093)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-11 18:41:39 +01:00
Jose Quaresma
566ab48990 gstreamer1.0-libav: 1.18.4 -> 1.18.5
(From OE-Core rev: 6a52088c1938c197d8e89e10d8e6622fa4b41465)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-11 18:41:39 +01:00
Jose Quaresma
028ff9216b gstreamer1.0-rtsp-server: 1.18.4 -> 1.18.5
(From OE-Core rev: 809db373816ed896048f551275589bac0f04ff92)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-11 18:41:39 +01:00
Jose Quaresma
78081332cb gstreamer1.0-plugins-ugly: 1.18.4 -> 1.18.5
(From OE-Core rev: 09373e8c33cd0c585e146b55d9f7680832f2ad09)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-11 18:41:39 +01:00
Jose Quaresma
8067f53602 gstreamer1.0-plugins-bad: 1.18.4 -> 1.18.5
(From OE-Core rev: 4e7789ecfdb1bd7afa6ff5be40f1d0e2a1a09e4c)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-11 18:41:39 +01:00
Jose Quaresma
d5f53a6619 gstreamer1.0-plugins-good: 1.18.4 -> 1.18.5
Drop backport patches:
    * 0002-rtpjitterbuffer-Fix-parsing-of-the-mediaclk-direct-f.patch

    * 0003-Remove-volatile-from-static-vars-to-fix-build-with-g.patch
      a1bf3d8d54

(From OE-Core rev: b51d46790e582556a7230a1fe8f67375e785cc43)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-11 18:41:39 +01:00
Jose Quaresma
53bbc43e79 gstreamer1.0-plugins-base: 1.18.4 -> 1.18.5
Drop backport patches:
    * 4ef5c91697a141fea7317aff7f0f28e5a861db99.patch

(From OE-Core rev: de0ee4323a19a27b6bcef7cc791d0373c311ef22)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-11 18:41:39 +01:00
Jose Quaresma
5847afb51d gstreamer1.0: 1.18.4 -> 1.18.5
(From OE-Core rev: d325f0d31bb1cbe889c7303ac2999c4dae391b34)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-11 18:41:39 +01:00
Alexandre Belloni
dae4a4e27a oeqa/selftest/sstatetests: fix typo ware -> were
(From OE-Core rev: c94a9ece226b1d2012f5ee966b81bf607d954937)

Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-11 18:41:39 +01:00
Khem Raj
2eb0630516 libseccomp: Upgrade to 2.5.2 and beyond
Forward port the rv32 port

(From OE-Core rev: 269133fed2854cdfe9c23a17a86fb1f1ea7e11cb)

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>
2021-10-11 18:41:39 +01:00
Sakib Sajal
ed32b9ebe9 go: upgrade 1.16.7 -> 1.16.8
(From OE-Core rev: 97a2f406635f51bad1ab070f018a6466209f257b)

Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-11 18:41:38 +01:00
wangmy
c8262de33e ell: upgrade 0.43 -> 0.44
ver 0.44:
        Fix issue with allowing zero byte input for AEAD cipher.
        Fix issue with filling in DNS info in DHCP lease objects.
        Add support neighbor discovery utility helpers.

(From OE-Core rev: 1190b241d7b7ba815b34d63fabc0f5fc862d8837)

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>
2021-10-11 18:41:38 +01:00
wangmy
a2a4d35239 dnf: upgrade 4.8.0 -> 4.9.0
(From OE-Core rev: 0bea76e84135cb5a0fb435f7115d1bcb47daefc0)

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>
2021-10-11 18:41:38 +01:00
wangmy
573b0ea55e createrepo-c: upgrade 0.17.4 -> 0.17.5
(From OE-Core rev: 9f10592a011a58e0d481b529cd6a337ab68152d6)

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>
2021-10-11 18:41:38 +01:00
wangmy
7563013456 bind: upgrade 9.16.20 -> 9.16.21
(From OE-Core rev: 10b4ba8f7e5ad0eb9e0b927a29a2dea5c1b23c21)

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>
2021-10-11 18:41:38 +01:00
wangmy
2655a2b75f acpid: upgrade 2.0.32 -> 2.0.33
(From OE-Core rev: 5289c6ab3352d396446df02de2dec580cb5873e8)

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>
2021-10-11 18:41:38 +01:00
Oleksandr Kravchuk
e736be6303 libinput: update to 1.19.0
(From OE-Core rev: 2e2d5fe3883e39b99860523133c56d8f37190ff6)

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-11 18:41:38 +01:00
Oleksandr Kravchuk
97c6c742e2 xf86-input-libinput: update to 1.2.0
(From OE-Core rev: d9f9016b56134e71ea911cc9a068f993bd5348e9)

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-11 18:41:38 +01:00
Changhyeok Bae
76281dd2b5 ethtool: update to 5.14
(From OE-Core rev: f169ffde59fcf05d0ea14e0a67c0892f89fcda43)

Signed-off-by: Changhyeok Bae <changhyeok.bae@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-11 18:41:38 +01:00
Oleksandr Kravchuk
5db1de261f python3-setuptools: minor cleanup
(From OE-Core rev: 7c1525bfd7b56db5e78e5459e2e415799675a13c)

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-11 18:41:38 +01:00
Oleksandr Kravchuk
62ef53c4a9 python3-setuptools: update to 58.0.4
(From OE-Core rev: 0dbf98b2a23b1af3e017256be305817d9267028f)

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-11 18:41:38 +01:00
Oleksandr Kravchuk
3cb0a9875f python3-dbusmock: update to 0.24.0
(From OE-Core rev: e1222dab5f4426e702d9cea05da51eff1d12c9fc)

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-11 18:41:38 +01:00
Oleksandr Kravchuk
fbac587652 python3-git: update to 3.1.24
(From OE-Core rev: cf38a27efeac5b6bdee42f9f4c88867c250a0561)

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-11 18:41:38 +01:00
Oleksandr Kravchuk
258c55368d python3: update to 3.9.7
(From OE-Core rev: 9612bb0639c13571e661f208aa7b28789953d9ec)

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-11 18:41:38 +01:00
Khem Raj
310740aeb3 pkgconfig: Update to latest
Brings following change

  * d97db4f Update URL for bug reporting
  * eb866ad Spelling and grammar in pkg.m4
  * 1f81c80 Fix spelling of rra's name
  * 350515e Use https for developer.gnome.org URL
  * 834ecc2 Update bug reporting URL to point to gitlab
  * 38936b2 Call setlocale in main function
  * 2ad16fa pkg: Make ordering of output from print_package_list() deterministic
  * 2dd2b19 parse: Don't emit unknown keyword warning for Libs.private

(From OE-Core rev: fd621eefee1a4acaffa3754b76f8e14d2684ab3f)

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>
2021-10-11 18:41:38 +01:00
Denys Dmytriyenko
dbf8d2b538 wayland-protocols: upgrade 1.22 -> 1.23
wayland-protocols 1.23 is now available.

This release adds the new gesture "hold" to the pointer gesture protocol.

https://lists.freedesktop.org/archives/wayland-devel/2021-September/041979.html

(From OE-Core rev: e63debe73233df93089de65f599e335ffd7d38a8)

Signed-off-by: Denys Dmytriyenko <denis@denix.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-11 18:41:38 +01:00
Pavel Zhukov
28e89f8ade weston: wrapper for weston modules argument
Due to custom option parser implementation weston accepts only one
argument of a given type. As the result if multiple modules add
multiple --modules agruments only last will be used. This fix
introduces wrapper around modules in terms of weston-init to prepare
proper modules argument for weston and adds systemd-notify module into
weston-init module to support Type=notify in systemd service file.

(From OE-Core rev: c8aa0222ce2be647911114aaebcbb0d55d7caf87)

Signed-off-by: Pavel Zhukov <pavel.zhukov@huawei.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-11 18:41:38 +01:00
wangmy
b0c788d7be python3-more-itertools: upgrade 8.8.0 -> 8.9.0
(From OE-Core rev: 665c8ee52a3d1c636a72df5668da397d9c636454)

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>
2021-10-11 18:41:38 +01:00
wangmy
7aaa56b959 help2man: upgrade 1.48.4 -> 1.48.5
* Use @samp{} around the option in the menu description for "--help
     recommendations" to avoid rendering the -- as endash.
   * Update French translations
   * Update standards version to 4.6.0 (no changes).

(From OE-Core rev: acfb0bd59dfa14a84e3b2b57ddc0dbbe1b065707)

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>
2021-10-11 18:41:38 +01:00
wangmy
d334181ac8 vulkan-tools: upgrade 1.2.182 -> 1.2.191
(From OE-Core rev: f8edaf76ad0231d8f41e9ea3f69a25ebeafe681f)

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>
2021-10-11 18:41:38 +01:00
wangmy
9511d9a08d vulkan-loader: upgrade 1.2.182 -> 1.2.191
(From OE-Core rev: db1c5c530fd1e0a26182a13ef26bd10e41c373b7)

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>
2021-10-11 18:41:38 +01:00
wangmy
b372f5dcc2 vulkan-headers: upgrade 1.2.182 -> 1.2.191
(From OE-Core rev: e79a68d26f3126c16290355de6e391c15a539a60)

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>
2021-10-11 18:41:38 +01:00
Ralph Siemsen
45dace7e9f tar: filter CVEs using vendor name
Recently a number of CVEs have been logged against a nodejs project
called "node-tar". These appear as false positives against the GNU tar
being built by Yocto. Some of these have been manually excluded using
CVE_CHECK_WHITELIST.

To avoid this problem, use the vendor name (in addition to package name)
for filtering CVEs. The syntax for this is:
  CVE_PRODUCT = "vendor:package"
When not specified, the vendor defaults to "%" which matches anything.

(From OE-Core rev: 45d1a0bea0c628f84a00d641a4d323491988106f)

Signed-off-by: Ralph Siemsen <ralph.siemsen@linaro.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-11 18:41:38 +01:00
Maximilian Blenk
e325390b91 mount-copybind: add rootcontext mountoption for overlayfs
If selinux is enabled, the context of the mountpoint for overlayfs
needs to be specified manually via the rootcontext option. To this
end, the required context is determined using matchpathcon(1) and
passed via the rootcontext mount option.

Additionally, if the mount source directory is created by mount-copybind
it also needs to take care that the context of the directory is correct

(From OE-Core rev: 57f51e8c73ab9f55f20815a9459c3afad2b281e6)

Signed-off-by: Tobias Kaufmann <Tobias.KA.Kaufmann@bmw.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-11 18:41:38 +01:00
Tobias Kaufmann
e1d658ef11 mount-copybind: add SELinux support
bind mounts don't use the SELinux label of the target, but the SELinux
label of the source.

This patch restores the SELinux context of the bind mount recursively using
restorecon.

(From OE-Core rev: 6f3e231dc9bc11772573bf9683de9804460362d1)

Signed-off-by: Tobias Kaufmann <Tobias.KA.Kaufmann@bmw.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-11 18:41:38 +01:00
Oleh Matiusha
6c0a5594cc findutils: add ptest
Placed it in PTESTS_SLOW since it takes 36s to execute this ptest on qemu.

(From OE-Core rev: da489ef6e36711cb40d26f64f292fb92a0073f4a)

Signed-off-by: Oleh Matiusha <oleh.matiusha@globallogic.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-11 18:41:38 +01:00
wangmy
840a468553 harfbuzz: upgrade 2.9.0 -> 2.9.1
Final subset API is in place and if no issues are discovered,
it will be the stable subset API of HarfBuzz 3.0.0.
Old API is kept to ease transition, but will be removed in 3.0.0.
Various fuzzer-found bug fixes.
hb_buffer_append() now handles the pre- and post-context which
previously were left unchanged in the destination buffer.
hb-view / hb-shape now accept following new arguments:
--unicodes-before/after: takes a list of hex numbers that represent Unicode
codepoints.
Undeprecated API:
hb_set_invert()

(From OE-Core rev: 0a9d19f575fda7db2f768f77701a137da8f73a97)

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>
2021-10-11 18:41:38 +01:00
wangmy
da55405f52 gzip: upgrade 1.10 -> 1.11
(From OE-Core rev: 67ee7aeaafcfdeeadcc3a7a33dd038de241b339f)

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>
2021-10-11 18:41:38 +01:00
Changhyeok Bae
0a71a22073 iproute2: update to 5.14.0
(From OE-Core rev: 6c5d37fd42f7ed53c293717d815b4e2ebc1aa3fc)

Signed-off-by: Changhyeok <changhyeok.bae@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-11 18:41:38 +01:00
Alexander Kanavin
6077252cf2 libhandy: update 1.2.3 -> 1.4.0
(From OE-Core rev: 1254ba120600a7edd8a88ee8a37900cbf66365ee)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-11 18:41:38 +01:00
Alexander Kanavin
0f89346baa libssh2: update 1.9.0 -> 1.10.0
0001-configure-Conditionally-undefine-backend-m4-macro.patch no
longer needed; code removed upstream.

License-Update: copyright years
(From OE-Core rev: 6547e565cc1685eb4e42f61d88203cf743a06284)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-11 18:41:38 +01:00
Alexander Kanavin
8bddba7249 libgit2: update 1.1.1 -> 1.2.0
License-Update: includes portions of openssl headers
0903cac1d0

(From OE-Core rev: 81a101332e7e59848165b06b734056a385e8cc3f)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-11 18:41:38 +01:00
Alexander Kanavin
7c6fb38d70 rt-tests: update 2.1 -> 2.2
(From OE-Core rev: dddc71a2060ebb5a73957becfcd3904d128608f5)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-11 18:41:38 +01:00
Alexander Kanavin
54bead59d9 libpam: update 1.5.1 -> 1.5.2
Drop patches: issues fixed upstream.

Move .pc files to correct place as libpam is instructed to install them in /lib via
--libdir.

(From OE-Core rev: b2aeaab36d7d46d47301d0729b634d182277cfbd)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-11 18:41:37 +01:00
Alexander Kanavin
094dcb2936 lsof: update 4.91 -> 4.94.0
Drop all custom sourcedir handling as the source is now a standard
git checkout.

(From OE-Core rev: 13965426b79e8c32f800a4317454321cfd2d06d1)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-11 18:41:37 +01:00
Alexander Kanavin
ce636119aa systemd: update 249.3 -> 249.4
(From OE-Core rev: 14c6e5a4b72d0e4665279158a0740dd1dc21f72f)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-11 18:41:37 +01:00
Alexandre Belloni
9ccf0f47a9 inetutils: drop CVE-2021-40491 patch
This CVE is already fixed in inetutils 2.2

(From OE-Core rev: d0c64bd9aef5fa4bf60cac922b1d5e43652f7919)

Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-11 18:41:37 +01:00
Alexander Kanavin
2d4bdfdff6 inetutils: update 2.1 -> 2.2
(From OE-Core rev: c5095396909e6b1450ba2020472b5eb7d14a4751)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-11 18:41:37 +01:00
Alexander Kanavin
8bd18c0960 shaderc: update 2021.1 -> 2021.2
(From OE-Core rev: 82d3acd5bdc8821c07b754ae1abf49c544c4de19)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-11 18:41:37 +01:00
Alexander Kanavin
3cc4bc6e0b glslang: update 11.5.0 -> 11.6.0
(From OE-Core rev: 15eeaa54c2b8c2c159cd3b4cb7db0b6f0ebb3630)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-11 18:41:37 +01:00
Alexander Kanavin
c68cc9095b spirv-tools: update 2021.2 -> 2021.3
Drop 0001-fix-strncpy-bound-error.patch; issue fixed upstream.

Bump spirv-headers revision to avoid outdated headers causing
build errors.

(From OE-Core rev: b1a6ac721fba17afa09f4da6c0c01730228b129c)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-11 18:41:37 +01:00
Alexander Kanavin
c9690cc3c4 pinentry: update 1.1.1 -> 1.2.0
Rebase patches.

(From OE-Core rev: dbb0e50375a5720d38c966fc4c5810eea1ec0203)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-11 18:41:37 +01:00
Alexander Kanavin
623a73cefd gnupg: update 2.3.1 -> 2.3.2
Drop chunk from relocate.patch, the upstream code no longer exists.

(From OE-Core rev: 8f268f981d53615d8ac9ee3ee64d840dc7051ced)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-11 18:41:37 +01:00
Alexander Kanavin
8dfe2412da runqemu: correct vga-virtio option to keep virgl enabled
qemu 6.1 has (perhaps unintentionally) disabled virgl in -vga virtio:
https://gitlab.com/qemu-project/qemu/-/issues/586

(From OE-Core rev: 2c6c7f0ff24da7060cea35f8ff89f2cabd96f2fb)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-11 18:41:37 +01:00
Alexander Kanavin
d87987fc1a qemu: update 6.0.0 -> 6.1.0
Recipe changes:
qemu-plugin.h is installed by both qemu-native and qemu-system-native

qmp.py module is now provided in a module directory (no other files
from that directory are necessary to use it though)

additional host-specific info is stripeed from ptest tests/tcg/*.mak

Patches:
drop all backports

drop 0001-Add-enable-disable-udev.patch (change added upstream)

drop 0001-linux-user-Tag-vsx-with-ieee128-fpbits.patch
(issue fixed upstream)

drop 0004-qemu-disable-Valgrind.patch (valgrind detection moved
from configure to meson, and should be robust against host contamination)

rebase 0010-configure-Add-pkg-config-handling-for-libgcrypt.patch
(upstream moved libgcrypt handling from configure to meson, and using
pkg-config is now a one-liner adjustment)

rebase cross.patch

(From OE-Core rev: b2710d25e3d8d79a35dbd4332ffc5cc8053d5eb8)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-11 18:41:37 +01:00
Alexander Kanavin
4a4d5f78a6 package_rpm: use zstd instead of xz
zstd has similar time and space performance in compression but is
vastly faster in decompression, which benefits rootfs creation
(especially when installing very large packages) and on-target
package installation.

Also, ensure ZSTD_THREADS doesn't change sstate checksums. The
detailed explanation is in the commit making similar change for
XZ_THREADS.

(From OE-Core rev: e72c0b94554a9bc293844ec2bddb0c04ea19791d)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-11 18:41:37 +01:00
Alexander Kanavin
543e83e852 perl: do not build berkeley db module by default
Bdb is unmaintained and altogether obsolete, the less dependencies
we have on it, the better.

This leaves only apt (specifically, apt-ftparchive) in core as a bdb consumer,
sadly it has a hard dependency that isn't easy to patch out. Maybe apt
upstream will get to it at some point.

(From OE-Core rev: 0d9ca78951cfe98bfaaf426572c42dbbb6169cd6)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-11 18:41:37 +01:00
Alexander Kanavin
de8b04c9d3 libsolv: disable rpm bdb format support
Otherwise this causes runtime errors when only sqlite is present.

(From OE-Core rev: 190d9944383d525fa57a0fa9ac634480d50e56bb)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-11 18:41:37 +01:00
Alexander Kanavin
7aa703bf88 libdnf: fix the rpm sqlite-only target setup
(From OE-Core rev: 8bbbcf9f8db1112a08c89ed8ee76c8c65f1ea179)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-11 18:41:37 +01:00
Alexander Kanavin
c3189b9efe rpm: update 4.16.1.3 -> 4.17.0
The flagship features are migration from bdb to sqlite and zstd support,
both are enabled and taken into use. The relationship and upstream preference
between sqlite and ndb formats isn't quite clear.

Lua is now a hard dependency.

Added packageconfig option for r/o support for bdb (that doesn't need bdb
itself), but not enabled it as upstream marks it EXPERIMENTAL in capital
letters.

Drop sed adjustment for a file that is not anymore installed.

Adjust oeqa test to check for sqlite database instead of bdb.

Drop
0001-Fix-build-with-musl-C-library.patch (nss support removed upstream)
0001-rpm-rpmio.c-restrict-virtual-memory-usage-if-limit-s.patch
(difficult to undersand and rebase; obsolete with the move to zstd)
0011-Do-not-require-that-ELF-binaries-are-executable-to-b.patch
(upstream made the same change)

Portions of 0001-tools-Add-error.h-for-non-glibc-case.patch dropped
(upstream moved the files to a separate component).

Added 0001-docs-do-not-build-manpages-requires-pandoc.patch to avoid
pandoc dependency.

Added 0001-build-pack.c-do-not-insert-payloadflags-into-.rpm-me.patch
to restore reproducibility when compression thread amount varies between hosts.

(From OE-Core rev: 6080fcf7e4f64faedd98ed26b65a3bc29ef08238)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-11 18:41:37 +01:00
Alexander Kanavin
6500c74e62 lua: update 5.3.6 -> 5.4.3
Drop three backports and 0001-Allow-building-lua-without-readline-on-Linux.patch
(feature added upstream, adjust the recipe accordingly).

Adjust ar/ranlib flags for reproducibility on liblua.a.

License-Update: lines moved around, formatting
(From OE-Core rev: c2cad5ecfbbcee99b3cbe71efeeac9a875b6e5ff)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-11 18:41:37 +01:00
Alexander Kanavin
5196cfbbf8 lua: add a recipe from meta-oe
Lua is a hard dependency in rpm 4.17.

(From OE-Core rev: b06a2ffb5ded807dbb30078d10740ec294732cad)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-11 18:41:37 +01:00
Alexander Kanavin
801a17bfbe libcap: update 2.51 -> 2.54
Rebase patches.

Delete 0001-tests-do-not-statically-link-a-test.patch as centos
builds are now using their own buildtools.

(From OE-Core rev: ecadaa08956f53dfedee908a0344f512673b770b)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-11 18:41:37 +01:00
Alexander Kanavin
f33e81a643 meson: update 0.58.1 -> 0.59.1
Drop 0003-native_bindir.patch: it doesn't seem to actually define
anything where the use_native parameter is set to true.

Also, the issue should be solved without invasive, custom patching
of the code: via meson.cross, custom .pc files for the items in
question or some other configuration mechanism.

(From OE-Core rev: 191d6d1f614a78ef8496e4357d419c68d1e03170)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-11 18:41:37 +01:00
wangmy
ba92cdc55f cmake: upgrade 3.21.1 -> 3.21.2
(From OE-Core rev: 6f39d593687e7b90be8f7fdc671c539c3d95a57b)

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>
2021-10-11 18:41:37 +01:00
Denys Dmytriyenko
64fcab97fc wayland-protocols: upgrade 1.21 -> 1.22
wayland-protocols 1.22 is now available.

This release includes a new staging protocol: DRM object leasing.

Besides that, various test and build system improvements are included, as
well as a set of clarifications to the xdg-activation protocol and other
protocols.

https://lists.freedesktop.org/archives/wayland-devel/2021-September/041972.html

(From OE-Core rev: 17c59e425148c3b9e8110c79442c7f3e0dea198a)

Signed-off-by: Denys Dmytriyenko <denis@denix.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-11 18:41:37 +01:00
wangmy
3b4b8e5ca7 diffoscope: upgrade 181 -> 182
(From OE-Core rev: 0410d639bb1b54feddd790e7ac71fa949f7151d8)

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>
2021-10-11 18:41:37 +01:00
Richard Purdie
04b37f914e layer.conf: Extend recipes not to install without explict dependencies
There are several dependencies which recipes have which are not needed
at runtime, only at build time. Extend the list of these from bison to
include quilt, patch, meson, autoconf, automake and ninja which should
reduce the amount of data being included in native sysroots.

This speeds up and reduces the sstate needed for image builds for example.

If this change breaks recipes, it probably means they're missing an explicit
DEPENDS on something in this list which is a bug in the recipe.

(From OE-Core rev: 8e26252b45b7660c7c67c702411bdec187a76ffc)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-11 18:41:37 +01:00
Richard Purdie
f6d1126fff build-appliance-image: Update to honister head revision
(From OE-Core rev: bb1dea6806f084364b6017db2567f438e805aef0)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-11 11:06:51 +01:00
Richard Purdie
156767d3ed bitbake: bitbake: Bump to version 1.52.0
(Bitbake rev: c78ebac71ec976fdf27ea24767057882870f5c60)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-11 11:06:18 +01:00
Richard Purdie
8b66613ad3 build-appliance-image: Update to honister head revision
(From OE-Core rev: b3c387547c8b73ef134e6665e18bd4724d943133)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-11 11:04:32 +01:00
Richard Purdie
fafe050714 poky.conf: Bump version for 3.4 honister release
(From meta-yocto rev: fc8c4b3b6bb0798edd4ac32c3c19a553a15b5749)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-11 11:03:45 +01:00
Richard Purdie
02bc1b422b bitbake: hashserv: Improve behaviour for better determinism/sstate reuse
We have a choice of policy with hashequivalence - whether to reduce
sstate duplication in the sstate feed to a minimum or have maximal
sstate reuse from the user's perspective.

The challenge is that non-matching outhashes are generated due to
determinism issues, or due to differences in host gcc version,
architecture and so on and the question is how to reconcile then.

The approach before this patch is that any new match is added and
matches can update. This has the side effect that a queried value
from the server can change due to the replacement and you may not
always get the same value from the server. With the client side
caching bitbake has, this can be suboptimal and when using the
autobuilder sstate feed, it results in poor artefact reuse.

This patch switches to the other possible behaviour, once a hash is
assigned, it doesn't change. This means some sstate artefacts may be
duplicated but dependency chains aren't invalidated which I suspect
may give better overall performance.

Update the tests to match the new behaviour.

(Bitbake rev: 20d6ac753efa364349100cdc863e5eabec8e5b78)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-11 11:00:06 +01:00
Joshua Watt
c7c47bb0d2 bitbake: hashserv: Fix diverging report race condition
Fixes the hashequivalence server to resolve the diverging report race
error. This error occurs when the same task(hash) is run simultaneous on
two different builders, and then the results are reported back but the
hashes diverge (e.g. have different outhashes), and one outhash is
equivalent to a hash and another is not. If taskhash was not originally
in the database, the client will fallback to using the taskhash as the
suggested unihash and the server will see reports come in like:

    taskhash: A
    unihash: A
    outhash: B

    taskhash: C
    unihash: C
    outhash: B

    taskhash: C
    unihash: C
    outhash: D

Note that the second and third reports are the same taskhash, with
diverging outhashes.

Taskhash C should be equivalent to taskhash (and unihash) A because they
share an outhash B, but the server would not do this when tasks were
reported in the order shown.

It became clear while trying to fix this that single large table to
store all reported hashes was going to make these updates difficult
since updating the unihash of all entries would be complex and time
consuming. Instead, it makes more sense to split apart the database into
two tables: One that maps taskhashes to unihashes and one that maps
outhashes to taskhashes. This should hopefully improve the parsing query
times as well since they only care about the taskhashes to unihashes
table, at the cost of more complex INNER JOIN queries on the lesser used
API.

Note this change does delete existing hash equivlance data and starts a
new database table rather than converting existing data.

(Bitbake rev: dff5a17558e2476064e85f35bad1fd65fec23600)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-11 11:00:06 +01:00
Joshua Watt
ecb11a6848 bitbake: hashserv: Add tests for diverging reports
(Bitbake rev: 953c8d622c9d1bc1eb06bcaf1eaa3aa9f85d0bc2)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-11 11:00:06 +01:00
Joshua Watt
cac6facc9d bitbake: async: Close sync client event loop
Prevents `ResourceWarning: unclosed event loop` warnings when using the
synchronous client and python exits

(Bitbake rev: 8b95972bc04ce52a98c7780184af15a5e95f987b)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-11 11:00:06 +01:00
Tim Orling
baa7f7f62f ptest-runner: install -collect-system-data script
When ptest-runner times out or otherwise fails, it tries to
call ptest-runner-collect-system-data, so install the script.

The script currently calls dmesg, df, free (which are provided
by busybox, etc.) and pstree (which is a sub-package of psmisc).

Add pstree as an RDEPENDS.

(From OE-Core rev: 4e6be3fb521b23cfc175d0c09725bcc3ebbc73b2)

Signed-off-by: Tim Orling <timothy.t.orling@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-09 17:21:47 +01:00
Fred Liu
99f50e7762 glibc: Drop libcidn package
libcidn has been dropped since glibc 2.28

(From OE-Core rev: cf83790728ad569af01300f793754c0108c78b4e)

Signed-off-by: Fred Liu <yclw3d2y@live.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-09 17:21:47 +01:00
Changqing Li
d70364fd35 lttng-ust: fix do_compile failure for arm32 with DEBUG_BUILD enabled
After upgrade to 2.13.0, for arm32, with DEBUG_BUILD enabled, lttng-ust
build failed with error:
| /path/to/tmp/work/cortexa15t2hf-neon-poky-linux-gnueabi/lttng-ust/2_2.13.0-r0/recipe-sysroot-native/usr/bin/arm-poky-linux-gnueabi/../../libexec/arm-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/11.2.0/ld: ../../../src/lib/lttng-ust/.libs/liblttng-ust.so: undefined reference to `_uatomic_link_error'
| collect2: error: ld returned 1 exit status
| Makefile:399: recipe for target 'test_ust_error' failed
| make[3]: *** [test_ust_error] Error 1

The problem has reported to upstream, and upstream suggests to use
-DUATOMIC_NO_LINK_ERROR for the failure case, refer [1].

[1]https://lists.lttng.org/pipermail/lttng-dev/2021-September/030056.html

(From OE-Core rev: 722d58bccd5616b3b3364845bbf1121d3cc0c3cd)

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-09 17:21:47 +01:00
Richard Purdie
966f805ff0 poky.conf: Update tested distros list with recent changes
(From meta-yocto rev: 4b923df6cb2858864c351fa1fd862547d5ad00c9)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-08 22:23:39 +01:00
Michael Opdenacker
96594eb948 dev-manual: warn about license compliance issues when static libraries are used
This partly addresses [YOCTO #14407]

(From yocto-docs rev: 444ca8900e8057562d2a71a77e6e6798aca3ce85)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-08 22:01:25 +01:00
Michael Opdenacker
6118a0510a dev-manual: correct NO_GENERIC_LICENSE section title
(From yocto-docs rev: 522841b4715295c6f399fc5affe2ade128d139ae)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Reviewed-By: Quentin Schulz <foss@0leil.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-08 22:01:25 +01:00
Michael Opdenacker
e467ddd9e2 overview-manual: simplify expression
(From yocto-docs rev: ea1e5d4214f30927119f0124ee8a80a558601161)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-08 22:01:24 +01:00
Jon Mason
c46317a30e dev-manual: remove errant /
(From yocto-docs rev: 5a10c78c574eae48f50f5c912fd6534bdf99f71c)

Signed-off-by: Jon Mason <jdmason@kudzu.us>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-08 22:01:24 +01:00
Jon Mason
0638b77576 documentation: use YOCTO_DL_URL
(From yocto-docs rev: e3ad609d9fce8d6729bf6cb553993bddba1785ae)

Signed-off-by: Jon Mason <jdmason@kudzu.us>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-08 22:01:24 +01:00
Jon Mason
58645b0586 documentation: replace http with https for URLs
https has been the preferred way to access websites for many years now.
Change all of the URLs with a _working_ https server/certificate to use
that URL.

(From yocto-docs rev: c77868c780df94356d5f21453f80ace073fade9b)

Signed-off-by: Jon Mason <jdmason@kudzu.us>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-08 22:01:24 +01:00
Michael Opdenacker
8c5c32619a manuals: introduce 'yocto_sstate' extlink
(From yocto-docs rev: f428c8d3bb12bfdb2b2afb03e0e6b80e28fd0e62)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-08 22:01:24 +01:00
Michael Opdenacker
6910fceb7a docs: add "make all" to build old types of docs (html, epub, pdf) at once
(From yocto-docs rev: 8ce6aa0d4c0985e187464c7578662ff7581bc9ce)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Reviewed-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Quentin Schulz <foss@0leil.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-08 22:01:24 +01:00
Michael Opdenacker
9c70174e5c overview-manual: SVG diagram for the git workflow
Set in full-width mode to make it ready in PDF
and EPUB outputs.

(From yocto-docs rev: 394c7c26c6591153670c67740d9a64f54725321b)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Reviewed-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Quentin Schulz <foss@0leil.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-08 22:01:24 +01:00
Michael Opdenacker
858a9af30f conf.py: use PNG first in EPUB output
SVG directly included in EPUB output has multiple issues,
in particular font size and alignment ones (tested on two
EPUB readers). Instead, using PNG, generated from SVG when available
as the primary format for images. GIF and JPEG are fine too.

(From yocto-docs rev: ff3876ca4910cf61bc25bfeb07e65ad6f6a93b48)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Reviewed-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Quentin Schulz <foss@0leil.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-08 22:01:24 +01:00
Michael Opdenacker
bca3caeaea Makefile: allow epub and latexpdf outputs to use diagrams from SVG sources
html output is great when directly using SVG
epub output has to use exported PNG because of issues using SVG directly
latexpdf output cannot use SVG, it needs exported PDF instead

This adds rules to generate PNG and PDF formats from new SVG sources.

Newly added diagrams have be stored in svg/ subdirectories
so that PNG and PDF files generated from SVG can be "gitignored"
without ignoring the original PNG diagrams that have no SVG source.

Note: had to remove the dependency to "Makefile" in the final "catch-all" target,
otherwise it was also catching the SVG to PNG and SVG to PDF targets.

(From yocto-docs rev: cd9bbd41d323bc124057396f142010509c65bbaf)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Reviewed-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Quentin Schulz <foss@0leil.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-08 22:01:24 +01:00
Michael Opdenacker
33ea53f00d manuals: replace "apt-get" by "apt"
Modern Debian based distros (such as Ubuntu) now
use "apt" instead of "apt-get"

Also make sure "apt" is invoked with root privileges (mandatory)

(From yocto-docs rev: 380ef2474f3ecc2bce83f11cd838d054bef56d22)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Reviewed-by: Quentin Schulz <foss@0leil.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-08 22:01:24 +01:00
Jon Mason
4ca20be7fe documentation: update sources mirror URL
The URL for the sources mirror no longer works.  Update to the new
location.

(From yocto-docs rev: 616c326437c03d7f4530168c4c9d6ef50743952e)

Signed-off-by: Jon Mason <jdmason@kudzu.us>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-08 22:01:24 +01:00
Michael Opdenacker
60b02e9daa ref-manual: document DEBUG_PREFIX_MAP
Fixes [YOCTO #14433]

(From yocto-docs rev: 23eb07c26044d06bc51c757bf1b0a53b1b357dc8)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-08 22:01:24 +01:00
Michael Opdenacker
f7a8e145e9 manuals: font fixes
This fixes font inconsistencies, mixing a ``text`` string
with another string with the regular font, where the whole string
makes more sense with a single font.

The result is also much simpler and will make future
searches easier.

(From yocto-docs rev: e6d1c166a97a1b6bb42ca49dfcbd3d39f8eadc16)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-08 22:01:24 +01:00
Jon Mason
2e78ec95be bitbake: bitbake: replace http with https for URLs
https has been the preferred way to access websites for many years now.
Change all of the URLs with a _working_ https server/certificate to use
that URL.

(Bitbake rev: da543cdaf88a387675e25d3555765f1146e4105e)

Signed-off-by: Jon Mason <jdmason@kudzu.us>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-08 17:04:59 +01:00
Jon Mason
fd232ab906 yocto-bsp/poky: replace http with https for URLs
https has been the preferred way to access websites for many years now.
Change all of the URLs with a _working_ https server/certificate to use
that URL.

(From meta-yocto rev: 89de71da1c1e46d42a5c786bcac76462aa9c31e0)

Signed-off-by: Jon Mason <jdmason@kudzu.us>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-08 16:45:38 +01:00
Jon Mason
fab7f4355e bitbake: bitbake:toaster:test: Update SSTATE URL
(Bitbake rev: b3c0dbddd7eb3c87e3989977d7640f09b49a460b)

Signed-off-by: Jon Mason <jdmason@kudzu.us>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-08 16:45:06 +01:00
Richard Purdie
a9fbdd9b24 bitbake: bitbake-worker: Handle pseudo shutdown in Ctrl+C case
If the build is interrupted, handle the shutdown of pseudo even in this
case to avoid data corruption inside docker containers.

[YOCTO #14555]

(Bitbake rev: a2a04c6fe94bc56efcff299c669a151746e35916)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-08 16:45:06 +01:00
Richard Purdie
0f939ecaf8 bitbake: knotty/uihelper: Show setscene task progress in summary output
With the changes to task accounting, bitbake doesn't show progress
when executing setscene tasks on the summary console output.

Change to show a progress within the setscene tasks and a progress
within the main tasks. I can't see any way to display this more easily
without confusing users.

[YOCTO #14586]

(Bitbake rev: 0244acb968eb593d2ad7bc6e52f222c2b1d39aa9)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-08 16:45:06 +01:00
Stefan Herbrechtsmeier
fb437d6db1 bitbake: fetch2: npmsw: Add support for local tarball and link sources
(Bitbake rev: 4f983dc419a1a6f635a5d333f253d49244cec374)

Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-08 16:45:06 +01:00
Stefan Herbrechtsmeier
00f2b6d0b7 bitbake: fetch2: npm: Create config npmrc in environment instantiation
Create a configuration npmrc per npm environment to avoid repeated
creation of the same configuration file. Create the file via python to
avoid multiple npm config calls and add the ability to pass a file
path instead of a temporary file.

Deprecate the npm configs argument of the run function. The configs
should be passed to npm environment or as command specific arguments.

(Bitbake rev: 2c2df49b06a2bad7a5b8872a9998338a4660498f)

Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-08 16:45:05 +01:00
Stefan Herbrechtsmeier
d2d40e7332 bitbake: fetch2: npm: Support npm archives with missing search directory mode
Delay directory restore and set execute/search directory mode bits in
unpack to support npm archives with a missing search directory mode.

(Bitbake rev: 60cbd34d3da8f0f523281aad7eec93eec9cd4db8)

Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-08 16:45:05 +01:00
Ross Burton
c3b3d7c14f bitbake: fetch2/gitsm: remove the 'nugget' SRCREV caching
The cached revisions which are used to decide if a repository doesn't
need to be updated are misleading when used in conjunction with mirror
tarballs and can cause partial fetches to happen, resulting in unpack
errors as repositories were not fetched.

A concrete example: edk2-firmware in meta-arm is at version 202102
(ef91b0). This is built on the autobuilder so the source mirror contains
the repository as a mirror tarball.  If I build edk2-firmware 202102 the
gitsm fetcher will initially download the top-level repository and then
iterate into the submodules to also fetch those repositories, including
cmocka from cryptomilk.org.  edk2-firmware will then unpack and build
successfully.

I then update edk2-firmware to 202105 (e1999b) and build it.
Gitsm.needs_update() starts by calling Git.needs_update() which returns
False, as the mirror tarball contains this revision. It then looks at
the "nuggets" which are SRCREVs it has fetched before.  The mirror
tarball itself contains the nugget for e1999b as this has been built on
the autobuilder, so needs_update return False, no more fetching is done,
and the build proceeds to unpack.

However, as part of the 202105 upgrade the URL of the cmocka submodule
changed, and this new repository was never fetched. This means that
unpack fails as one of the required git repositories isn't available.

The nugget codepaths appear to be an attempt at optimising the fetch
process, but have demonstratable failure cases.  Just removing them
entirely solves the edk2-firmware example, and all of the fetcher test
cases still pass.

(Bitbake rev: 51212507ce3f670ace9efb691c92887d66f7aaf8)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-08 16:45:05 +01:00
Ross Burton
07996f492b bitbake: fetch2: clarify the command-no-found error message
If runfetchcmd() fails with bb.process.NotFoundError, the message output
is simply "Fetch command" which doesn't really explain what the problem
is.

Add "not found" to clarify what happened.

(Bitbake rev: 8de9dc02ed6a73b47f2ab10be30d1aed7954bc72)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-08 16:45:05 +01:00
Ross Burton
c1e7369af1 bitbake: tests/fetch: prefix the FetcherTest temporary directory
Set a prefix so the temporary directories are identifable.

(Bitbake rev: c3440b82cbe9c317f9961d61e12ea37fc9541ce0)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-08 16:45:05 +01:00
Ross Burton
cf9cc196dc bitbake: tests/utils: mark a regex as a raw string
Avoids a warning from Python as \s isn't a valid escape.

(Bitbake rev: be39c2e926beebe78030fbe26c6737f08f960fcb)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-08 16:45:05 +01:00
Alejandro Hernandez Samaniego
1c0c82f8ba baremetal-image: Fix do_image dependencies
Commit 282d596b8 added a fix for image.bbclass related to QEMU
dependencies, such fix made the older logic borrowed from
image.bbclass incompatible.

Update the dependency logic to reflect new changes, we no longer
need to add the do_addto_recipe_sysroot dependency specifically.

(From OE-Core rev: 4663f06c81285aeab8e8d33ec5338d7854b9dd9f)

Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandro@enedino.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-08 16:44:00 +01:00
Jon Mason
37258c4567 oeqa/manual: Fix no longer valid URLs
autobuilder.yoctoproject.org URLS no longer work.  Update them to a
working location.

(From OE-Core rev: 56f7bac1f0d1ced41e6908706be27149aa7b87e2)

Signed-off-by: Jon Mason <jdmason@kudzu.us>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-08 16:43:59 +01:00
Richard Purdie
6fdceeab20 multilib: Avoid sysroot race issues when multilib enabled
Multilib changes RECIPE_SYSROOT which can make the value in PSEUDO_IGNORE_PATHS
incorrect. Add the correct value, which fixes races over files in the sysroot.

[YOCTO #14581]

(From OE-Core rev: 64003e5e1b51c0cd561681b1ac13293546b8182b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-08 16:43:59 +01:00
Richard Purdie
f5e1c084d7 abi_version/sstate: Bump to fix rpm corruption issues
(From OE-Core rev: 14feca0dc781f8e9003f70f317b63b242dc579b6)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-08 16:43:59 +01:00
Richard Purdie
d441b484eb rpm: Deterministically set vendor macro entry
On an aarch64 build host, vendor is found to be "unknown", on x86 systems
it is "pc". This filters through to the PLATFORM tag in target rpms.

We saw reproducibility test failures where the PLATFORM tags in noarch
rpms were changing depending upon which host built them. Forcing the
vendor value to a consistent one makes things deterministic.

(From OE-Core rev: f6434075b2bdfc23c683d22281b674b1e6abde77)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-08 16:43:59 +01:00
Richard Purdie
58c9790293 sstatesig: Only apply group/other permissions to pseudo files
We hardlink some files into the build, such as licence files in
do_populate_lic tasks. Depending on the umask that the source tree
was checked out with, the group permissions would vary. This
results in inconsistent task outhashes.

Avoid this by ignoring the group/other bits unless we're under
pseudo context.

Bump the ABI numbers to ensure we don't see cache corruption from
earlier builds.

(From OE-Core rev: 2bd9c806de7e5197168360e3bd1d223a04a92291)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-08 16:43:59 +01:00
Daiane Angolini
a56aad137b machine/qemuarm*: Fix UBOOT_MACHINE value
(From OE-Core rev: e212473e698bee64fd710948c59392398d0c9a58)

Signed-off-by: Daiane Angolini <daiane.angolini@foundries.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-07 15:06:35 +01:00
Andrei Gherzan
eb77788769 qemu: Define libnfs PACKAGECONFIG
The upstream qemu recipe uses host's pkg-config files as a solution to
detecting host's SDL. This has a side effect of using other host
libraries that are later queried by the configure script. This can get
into a situation when the host provides libnfs (for example) and because
later this dependency is not in place anymore, qemu will fail at
runtime.

This change adds a PACKAGECONFIG definition for libnfs that is disabled
by default, in turn disabling the pkgconfig autodetection in configure.

(From OE-Core rev: 42b364a25fdbc987c85dd46b8427045033924d99)

Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-07 15:06:34 +01:00
Bruce Ashfield
f35d0fac9b linux-yocto/5.14: revert: scripts/gcc-plugins: consistently use HOSTCC
The previously picked up gcc-plugins script wasn't correct and has
been retracted upstream. We do the same in our 5.14 kernel:

    c4def465fc44 Revert "scripts/gcc-plugins: consistently use HOSTCC"

(From OE-Core rev: ed725fb0f27c867fa5a17a28c9ec4e21ce44867a)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-07 15:06:34 +01:00
Bruce Ashfield
7cc512559b kernel-yocto: don't apply config metadata patches twice
(From OE-Core rev: 0b88ed0af350c609ce8075e7d89ca7db91486858)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-07 15:06:34 +01:00
Bruce Ashfield
b30b97b571 linux-yocto/5.14: update to v5.14.9
Updating linux-yocto/5.14 to the latest korg -stable release that comprises
the following commits:

    70248e7b378b Linux 5.14.9
    f6fceb4e9ce6 usb: gadget: f_uac2: Populate SS descriptors' wBytesPerInterval
    007574d6ac26 usb: gadget: f_uac2: Add missing companion descriptor for feedback EP
    d401d7d2f5c8 nvmet: fix a width vs precision bug in nvmet_subsys_attr_serial_show()
    958c616efce3 qnx4: work around gcc false positive warning bug
    f67f85ec19fa xen/balloon: fix balloon kthread freezing
    8ea750370cd6 software node: balance refcount for managed software nodes
    62a27861b4ea USB: serial: cp210x: fix dropped characters with CP2102
    7b389ef53115 arm64: add MTE supported check to thread switching and syscall entry/exit
    338db6ec41ca irqchip/armada-370-xp: Fix ack/eoi breakage
    8467f200fd38 thermal/drivers/int340x: Do not set a wrong tcc offset on resume
    fe5eaf1cdf9c x86/setup: Call early_reserve_memory() earlier
    5111b05125bd EDAC/dmc520: Assign the proper type to dimm->edac_mode
    845350d4e34b EDAC/synopsys: Fix wrong value type assignment for edac_mode
    ef8eac0c61d7 Revert drm/vc4 hdmi runtime PM changes
    8aef50b390c4 libperf evsel: Make use of FD robust.
    5f35f78ead51 spi: Fix tegra20 build with CONFIG_PM=n
    9367a8fbd9d9 net: 6pack: Fix tx timeout and slot time
    501b0fa2f7f2 alpha: Declare virt_to_phys and virt_to_bus parameter as pointer to volatile
    95d6bf1d19fd arm64: Mark __stack_chk_guard as __ro_after_init
    28f2eee9fc03 amd/display: enable panel orientation quirks
    fca67e1c4b8c drm/amd/display: Link training retry fix for abort case
    76438685048a drm/amd/display: Fix unstable HPCP compliance on Chrome Barcelo
    b58ffd21ec45 drm/amdkfd: make needs_pcie_atomics FW-version dependent
    47c6e796abe4 parisc: Use absolute_pointer() to define PAGE0
    01452e3c727e qnx4: avoid stringop-overread errors
    dd24b4ba2d8d sparc: avoid stringop-overread errors
    32f93161620a net: i825xx: Use absolute_pointer for memcpy from fixed memory location
    eb136917b022 compiler.h: Introduce absolute_pointer macro
    7c2c69e01043 blk-cgroup: fix UAF by grabbing blkcg lock before destroying blkg pd
    a5067abc52ef block: flush the integrity workqueue in blk_integrity_unregister
    282aed19c590 block: check if a profile is actually registered in blk_integrity_unregister
    e7f8b507fe58 drm/ttm: fix type mismatch error on sparc64
    2b60676ac850 amd/display: downgrade validation failure log level
    5780971d7dbd sparc32: page align size in arch_dma_alloc
    d268a182c56e nvme-rdma: destroy cm id before destroy qp to avoid use after free
    e0b9644a4903 nvme-multipath: fix ANA state updates when a namespace is not present
    922fd5b6bb13 xen/balloon: use a kernel thread instead a workqueue
    b5fe7cdfee59 bpf: Add oversize check before call kvcalloc()
    ded7d5c44d8a cpufreq: intel_pstate: Override parameters if HWP forced by BIOS
    de4afec2d294 dma-debug: prevent an error message from causing runtime problems
    4a23ae2c6a60 ipv6: delay fib6_sernum increase in fib6_add
    88ad6f3803ca m68k: Double cast io functions to unsigned long
    5cee359945e0 blk-mq: avoid to iterate over stale request
    cde9ad77f20b net: stmmac: allow CSR clock of 300MHz
    4ad6f2d23b0f net: macb: fix use after free on rmmod
    b7646fadde06 net: phylink: Update SFP selected interface on advertising changes
    a5f8e8619261 blktrace: Fix uaf in blk_trace access after removing by sysfs
    2f6caa538735 io_uring: don't punt files update to io-wq unconditionally
    05ac8e4c8aec io_uring: put provided buffer meta data under memcg accounting
    24d38dcce407 io_uring: fix missing set of EPOLLONESHOT for CQ ring overflow
    4e81f12cc00c io_uring: fix race between poll completion and cancel_hash insertion
    6724710fd8d4 x86/asm: Fix SETZ size enqcmds() build failure
    a46d5e3603bd md: fix a lock order reversal in md_alloc
    e0c1c2e5da19 irqchip/gic-v3-its: Fix potential VPE leak on error
    546886700105 irqchip/goldfish-pic: Select GENERIC_IRQ_CHIP to fix build
    329cb72b3241 scsi: lpfc: Use correct scnprintf() limit
    f56250ae28af scsi: qla2xxx: Restore initiator in dual mode
    e607120e15b0 scsi: ufs: core: Unbreak the reset handler
    1d65bff00936 scsi: ufs: Retry aborted SCSI commands instead of completing these successfully
    4368d7a1aa0f scsi: ufs: Revert "Utilize Transfer Request List Completion Notification Register"
    1fc9119eda5b scsi: sd_zbc: Support disks with more than 2**32 logical blocks
    309c4b00c687 cifs: fix a sign extension bug
    a5024c719888 thermal/core: Potential buffer overflow in thermal_build_list_of_policies()
    ed1e0252111b nvme: keep ctrl->namespaces ordered
    08a14a654f4f nvme-tcp: fix incorrect h2cdata pdu offset accounting
    8cd1ae341b22 x86/fault: Fix wrong signal when vsyscall fails with pkey
    bfacc1de136d fpga: machxo2-spi: Fix missing error code in machxo2_write_complete()
    674fd6adbfbf fpga: machxo2-spi: Return an error on failure
    0ee0fbc2a3c0 tty: synclink_gt: rename a conflicting function name
    8cbf9ac9941f scsi: target: Fix the pgr/alua_support_store functions
    0c1b2c0d1c1e scsi: iscsi: Adjust iface sysfs attr detection
    c7da1781a6ad drm/amdkfd: fix dma mapping leaking warning
    bb8078d3a778 drm/amdkfd: map SVM range with correct access permission
    80ec71bd37d4 atlantic: Fix issue in the pm resume flow.
    d0a3a062c91f net/mlx4_en: Don't allow aRFS for encapsulated packets
    6909a55ce459 net: mscc: ocelot: fix forwarding from BLOCKING ports remaining enabled
    6081c82c2ff8 net: ethernet: mtk_eth_soc: avoid creating duplicate offload entries
    339440b11728 nfc: st-nci: Add SPI ID matching DT compatible
    741760fa6252 nexthop: Fix memory leaks in nexthop notification chain listeners
    f8ff625a8082 mptcp: ensure tx skbs always have the MPTCP ext
    3d6374d5c386 qed: rdma - don't wait for resources under hw error recovery flow
    18eab899f43f gpio: uniphier: Fix void functions to remove return value
    26c204fbdbc5 gpiolib: acpi: Make set-debounce-timeout failures non fatal
    9b00fb12cdc9 s390/qeth: fix NULL deref in qeth_clear_working_pool_list()
    b9fc4ed7520a spi: Revert modalias changes
    9839bb2b0e83 kselftest/arm64: signal: Skip tests if required features are missing
    6407eb6692fe kselftest/arm64: signal: Add SVE to the set of features we can check for
    d12feda3daf7 platform/x86: dell: fix DELL_WMI_PRIVACY dependencies & build error
    5e95328ad0cd net: dsa: realtek: register the MDIO bus under devres
    880ee7cf0f02 net: dsa: don't allocate the slave_mii_bus using devres
    e15b7001ce5e net: dsa: fix dsa_tree_setup error path
    79816b227dab net/smc: fix 'workqueue leaked lock' in smc_conn_abort_work
    edb96e602d84 net/smc: add missing error check in smc_clc_prfx_set()
    1791e8eef88a net: hns3: fix a return value error in hclge_get_reset_status()
    18d1e07be773 net: hns3: check vlan id before using it
    3d4b460aeb83 net: hns3: check queue id range before using
    fa6126e4eda4 net: hns3: fix misuse vf id and vport id in some logs
    faf83d55e293 net: hns3: fix inconsistent vf id print
    6a627ccb2ce9 net: hns3: fix change RSS 'hfunc' ineffective issue
    fab9a160ef76 bnxt_en: Fix TX timeout when TX ring size is set to the smallest
    ce6c8a9246ad napi: fix race inside napi_enable
    d9448073ee71 net: bgmac-bcma: handle deferred probe error due to mac-address
    1e3d85f911f8 net: dsa: tear down devlink port regions when tearing down the devlink port on error
    135c541dee18 enetc: Fix uninitialized struct dim_sample field usage
    6f329d9da2a5 enetc: Fix illegal access when reading affinity_hint
    f020bb63b5d2 virtio-net: fix pages leaking when building skb in big mode
    9a5ba85e8dce NLM: Fix svcxdr_encode_owner()
    2f95dd831be0 regulator: max14577: Revert "regulator: max14577: Add proper module aliases strings"
    50cb50a99fae platform/x86/intel: punit_ipc: Drop wrong use of ACPI_PTR()
    fa3aac2b4386 afs: Fix updating of i_blocks on file/dir extension
    e66fc460d6dc afs: Fix corruption in reads at fpos 2G-4G from an OpenAFS server
    95671c6c6374 afs: Fix incorrect triggering of sillyrename on 3rd-party invalidation
    d130b5fdd422 afs: Fix page leak
    7f797c79fccd regulator: qcom-rpmh-regulator: fix pm8009-1 ldo7 resource name
    f217b6c1e28e comedi: Fix memory leak in compat_insnlist()
    b032354df6ed arm64: Mitigate MTE issues with str{n}cmp()
    0375ec7559ba arm64: Restore forced disabling of KPTI on ThunderX
    eda7a025a580 platform/x86: amd-pmc: Increase the response register timeout
    449d6043c81d net: hso: fix muxed tty registration
    06a18e64256f drm/amd/pm: Update intermediate power state for SI
    d7ee7ccdc786 scsi: sd_zbc: Ensure buffer size is aligned to SECTOR_SIZE
    21907692fbf3 serial: mvebu-uart: fix driver's tx_empty callback
    590e6c408e30 serial: 8250: 8250_omap: Fix RX_LVL register offset
    807ac762afee xhci: Set HCD flag to defer primary roothub registration
    f8f91342dc0e btrfs: prevent __btrfs_dump_space_info() to underflow its free space
    e9d32ec26e7f nexthop: Fix division by zero while replacing a resilient group
    e1854b6cad5f erofs: fix up erofs_lookup tracepoint
    336dabf99386 KVM: rseq: Update rseq when processing NOTIFY_RESUME on xfer to KVM guest
    9fc198f415de mcb: fix error handling in mcb_alloc_bus()
    9dfda47040e1 misc: genwqe: Fixes DMA mask setting
    3e9a41195afe misc: bcm-vk: fix tty registration race
    e50c102f362e USB: serial: option: add device id for Foxconn T99W265
    924956f203db USB: serial: option: remove duplicate USB device ID
    4bb92efc9bd5 USB: serial: option: add Telit LN920 compositions
    8db009cb6655 USB: serial: mos7840: remove duplicated 0xac24 device ID
    e9ce1992a338 usb: core: hcd: Add support for deferring roothub registration
    0fff3d5cd436 usb: cdns3: fix race condition before setting doorbell
    41d5aff380c0 usb: dwc3: core: balance phy init and exit
    c9f0252e4508 Re-enable UAS for LaCie Rugged USB3-FW with fk quirk
    b55704091500 usb: isp1760: do not sleep in field register poll
    9872ff6fdce8 staging: greybus: uart: fix tty use after free
    b0e001ae6060 binder: fix freeze race
    b95483d8d94b binder: make sure fd closes complete
    63239b0336b1 Revert "USB: bcma: Add a check for devm_gpiod_get"
    af5947c5157d USB: cdc-acm: fix minor-number release
    166f843bb68c USB: serial: cp210x: add ID for GW Instek GDM-834x Digital Multimeter
    5a377e1d7ac9 usb-storage: Add quirk for ScanLogic SL11R-IDE older than 2.6c
    842f8bde1ed9 xen/x86: fix PV trap handling on secondary processors
    9b73af491ffe cifs: fix incorrect check for null pointer in header_assemble
    9f6c7aff21f8 cifs: Fix soft lockup during fsstress
    6344bc6cd2b4 cifs: Not to defer close on file when lock is set
    14582e4d65dc usb: musb: tusb6010: uninitialized data in tusb_fifo_write_unaligned()
    11453ccd21b1 usb: dwc2: gadget: Fix ISOC transfer complete handling for DDMA
    eba598563d06 usb: dwc2: gadget: Fix ISOC flow for BDMA and Slave
    40fe83550d86 usb: gadget: u_audio: EP-OUT bInterval in fback frequency
    29517795c4fe usb: gadget: r8a66597: fix a loop in set_feature()
    9c93c402c467 mm: fix uninitialized use in overcommit_policy_handler
    a7032c95c6e8 mm/debug: sync up MR_CONTIG_RANGE and MR_LONGTERM_PIN
    9ad0f5ca9ccd ocfs2: drop acl cache for directories too
    0414a521d1ea mm, hwpoison: add is_free_buddy_page() in HWPoisonHandlable()

(From OE-Core rev: 9e0a213388be5d758e5e043386af3d7c7e535fe4)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-07 15:06:34 +01:00
Bruce Ashfield
0d9ebbef5d linux-yocto/5.10: update to v5.10.70
Updating linux-yocto/5.10 to the latest korg -stable release that comprises
the following commits:

    f93026b28e2a Linux 5.10.70
    59094296058d qnx4: work around gcc false positive warning bug
    35c0dfbbd344 xen/balloon: fix balloon kthread freezing
    8373d58c89be USB: serial: cp210x: fix dropped characters with CP2102
    67cdb51ab5e2 thermal/drivers/int340x: Do not set a wrong tcc offset on resume
    cc71740ee4d4 EDAC/dmc520: Assign the proper type to dimm->edac_mode
    9afad85a43f5 EDAC/synopsys: Fix wrong value type assignment for edac_mode
    db76cb05c046 spi: Fix tegra20 build with CONFIG_PM=n
    890e25c424ea net: 6pack: Fix tx timeout and slot time
    044513c1fada alpha: Declare virt_to_phys and virt_to_bus parameter as pointer to volatile
    0a511ba6d2a7 arm64: Mark __stack_chk_guard as __ro_after_init
    fec3bd622db0 parisc: Use absolute_pointer() to define PAGE0
    61454e7fd624 qnx4: avoid stringop-overread errors
    5520d27f02a1 sparc: avoid stringop-overread errors
    8d768beaf0ef net: i825xx: Use absolute_pointer for memcpy from fixed memory location
    e99f9032715e compiler.h: Introduce absolute_pointer macro
    f58d305887ad blk-cgroup: fix UAF by grabbing blkcg lock before destroying blkg pd
    1ef68b84bc11 block: flush the integrity workqueue in blk_integrity_unregister
    1963bdb7489c block: check if a profile is actually registered in blk_integrity_unregister
    526261c1b706 amd/display: downgrade validation failure log level
    54a4860c6257 sparc32: page align size in arch_dma_alloc
    ecf0dc5a9048 nvme-rdma: destroy cm id before destroy qp to avoid use after free
    2a08960577af nvme-multipath: fix ANA state updates when a namespace is not present
    372d3e6ea1e1 xen/balloon: use a kernel thread instead a workqueue
    6345a0bee801 bpf: Add oversize check before call kvcalloc()
    e567d33508a9 cpufreq: intel_pstate: Override parameters if HWP forced by BIOS
    9561bb98879e ipv6: delay fib6_sernum increase in fib6_add
    31df1d037cfd m68k: Double cast io functions to unsigned long
    cc3dd119d3cf blk-mq: avoid to iterate over stale request
    de7e03003367 net: stmmac: allow CSR clock of 300MHz
    7721221e87d2 net: macb: fix use after free on rmmod
    a632288053b7 net: phylink: Update SFP selected interface on advertising changes
    3815fe7371d2 blktrace: Fix uaf in blk_trace access after removing by sysfs
    ce092350b452 io_uring: put provided buffer meta data under memcg accounting
    7040b37a9630 x86/asm: Fix SETZ size enqcmds() build failure
    54e85b6c287c x86/asm: Add a missing __iomem annotation in enqcmds()
    b18ba3f477a2 md: fix a lock order reversal in md_alloc
    568662e37f92 irqchip/gic-v3-its: Fix potential VPE leak on error
    af7c9ffe2bee irqchip/goldfish-pic: Select GENERIC_IRQ_CHIP to fix build
    0595fc4794c3 scsi: lpfc: Use correct scnprintf() limit
    cb948b158a86 scsi: qla2xxx: Restore initiator in dual mode
    3d42ed6b7905 cifs: fix a sign extension bug
    8cba4c2698e2 thermal/core: Potential buffer overflow in thermal_build_list_of_policies()
    215df4349916 nvme: keep ctrl->namespaces ordered
    55e6f8b3c0f5 treewide: Change list_sort to use const pointers
    419fab1cb086 nvme-tcp: fix incorrect h2cdata pdu offset accounting
    c6ecdcba9da3 fpga: machxo2-spi: Fix missing error code in machxo2_write_complete()
    5c6bfde245d8 fpga: machxo2-spi: Return an error on failure
    4ea4925c70fd tty: synclink_gt: rename a conflicting function name
    56a8f0b18f46 tty: synclink_gt, drop unneeded forward declarations
    c64e6c307a76 scsi: target: Fix the pgr/alua_support_store functions
    2d0305425179 scsi: iscsi: Adjust iface sysfs attr detection
    0032f8b3cf2a atlantic: Fix issue in the pm resume flow.
    c2598bce4152 net/mlx4_en: Don't allow aRFS for encapsulated packets
    b4e54f5f4288 qed: rdma - don't wait for resources under hw error recovery flow
    1bba406c07b3 gpio: uniphier: Fix void functions to remove return value
    db94f89e1dad s390/qeth: fix NULL deref in qeth_clear_working_pool_list()
    3aa50241e1ed kselftest/arm64: signal: Skip tests if required features are missing
    91d4da33c367 kselftest/arm64: signal: Add SVE to the set of features we can check for
    2eaa39d83e30 net: dsa: realtek: register the MDIO bus under devres
    43c880b860c7 net: dsa: don't allocate the slave_mii_bus using devres
    b4561bd29e62 net/smc: fix 'workqueue leaked lock' in smc_conn_abort_work
    8a00c832ef88 net/smc: add missing error check in smc_clc_prfx_set()
    4e0fd1d79534 net: hns3: check queue id range before using
    ca435999bcaf net: hns3: fix change RSS 'hfunc' ineffective issue
    1365a0dc5596 bnxt_en: Fix TX timeout when TX ring size is set to the smallest
    d5afe3cf52e5 enetc: Fix uninitialized struct dim_sample field usage
    6c3f1b741c6c enetc: Fix illegal access when reading affinity_hint
    117661cb9d3a platform/x86/intel: punit_ipc: Drop wrong use of ACPI_PTR()
    22538c1bde27 afs: Fix updating of i_blocks on file/dir extension
    55352944b497 afs: Fix incorrect triggering of sillyrename on 3rd-party invalidation
    8d6a21e4cd6a comedi: Fix memory leak in compat_insnlist()
    43241a6c6e6c net: hso: fix muxed tty registration
    68d4fbe6220c drm/amd/pm: Update intermediate power state for SI
    7dc9225fcde0 scsi: sd_zbc: Ensure buffer size is aligned to SECTOR_SIZE
    3dfffcd26029 serial: mvebu-uart: fix driver's tx_empty callback
    640946fc56b8 serial: 8250: 8250_omap: Fix RX_LVL register offset
    0ea9ac731a31 xhci: Set HCD flag to defer primary roothub registration
    80af86c12290 btrfs: prevent __btrfs_dump_space_info() to underflow its free space
    8326be9e5121 erofs: fix up erofs_lookup tracepoint
    91e4ad05bf18 mcb: fix error handling in mcb_alloc_bus()
    2c28bb016bed USB: serial: option: add device id for Foxconn T99W265
    600b19610ad4 USB: serial: option: remove duplicate USB device ID
    0daf57973ff0 USB: serial: option: add Telit LN920 compositions
    dc131d3f1335 USB: serial: mos7840: remove duplicated 0xac24 device ID
    d58fc9e9c158 usb: core: hcd: Add support for deferring roothub registration
    996f7c4a1fcf usb: dwc3: core: balance phy init and exit
    a05ff800013e Re-enable UAS for LaCie Rugged USB3-FW with fk quirk
    b9e697e60ce9 staging: greybus: uart: fix tty use after free
    d5b0473707fa binder: make sure fd closes complete
    302e60e26ad5 Revert "USB: bcma: Add a check for devm_gpiod_get"
    b33b3db476e6 USB: cdc-acm: fix minor-number release
    0809b8576fa8 USB: serial: cp210x: add ID for GW Instek GDM-834x Digital Multimeter
    a34d6ef0c71a usb-storage: Add quirk for ScanLogic SL11R-IDE older than 2.6c
    f79282849187 xen/x86: fix PV trap handling on secondary processors
    93028da5e92d cifs: fix incorrect check for null pointer in header_assemble
    5940e22528df usb: musb: tusb6010: uninitialized data in tusb_fifo_write_unaligned()
    d071c7fd45dc usb: dwc2: gadget: Fix ISOC transfer complete handling for DDMA
    5f4bfac26173 usb: dwc2: gadget: Fix ISOC flow for BDMA and Slave
    1fbd7eb385c3 usb: gadget: r8a66597: fix a loop in set_feature()
    838297222b2b mm: fix uninitialized use in overcommit_policy_handler
    437be4d6faed ocfs2: drop acl cache for directories too
    31bd6cd06a18 PCI: aardvark: Increase polling delay to 1.5s while waiting for PIO response

(From OE-Core rev: 3306240202254ba8ddcd2604f852a65888b4078a)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-07 15:06:34 +01:00
Bruce Ashfield
a55e07e5c3 linux-yocto/5.10: update to v5.10.69
Updating linux-yocto/5.10 to the latest korg -stable release that comprises
the following commits:

    5f4196eaa90c Linux 5.10.69
    7c09505e9e6b drm/nouveau/nvkm: Replace -ENOSYS with -ENODEV
    83a3cb200eff sched/idle: Make the idle timer expire in hard interrupt context
    647c19bc6102 rtc: rx8010: select REGMAP_I2C
    9a14014df72d blk-mq: allow 4x BLK_MAX_REQUEST_COUNT at blk_plug for multiple_queues
    23dfb959c6cb blk-throttle: fix UAF by deleteing timer in blk_throtl_exit()
    a2551d0a29e9 pwm: stm32-lp: Don't modify HW state in .remove() callback
    a6a2b36a8cc4 pwm: rockchip: Don't modify HW state in .remove() callback
    0a2ea5c0e5d1 pwm: img: Don't modify HW state in .remove() callback
    db8838e48a0a habanalabs: add validity check for event ID received from F/W
    d7736e2faa13 nilfs2: fix memory leak in nilfs_sysfs_delete_snapshot_group
    0f36028d0133 nilfs2: fix memory leak in nilfs_sysfs_create_snapshot_group
    5770b54b112e nilfs2: fix memory leak in nilfs_sysfs_delete_##name##_group
    5acb21e30d85 nilfs2: fix memory leak in nilfs_sysfs_create_##name##_group
    0480f7a480bc nilfs2: fix NULL pointer in nilfs_##name##_attr_release
    d95b50ff07b8 nilfs2: fix memory leak in nilfs_sysfs_create_device_group
    aa1af89a6697 btrfs: fix lockdep warning while mounting sprout fs
    c43803c1aa76 btrfs: update the bdev time directly when closing
    921ef7cfef15 ceph: lockdep annotations for try_nonblocking_invalidate
    487ead34a208 ceph: remove the capsnaps when removing caps
    386fd6fd01bd ceph: request Fw caps before updating the mtime in ceph_write_iter
    b26ced26251c dmaengine: xilinx_dma: Set DMA mask for coherent APIs
    9c1ea8537730 dmaengine: ioat: depends on !UML
    35492619e010 dmaengine: sprd: Add missing MODULE_DEVICE_TABLE
    c12cf7f9afe2 dmaengine: idxd: depends on !UML
    b4bb0b171b6e iommu/amd: Relocate GAMSup check to early_enable_iommus
    2a07348e9821 parisc: Move pci_dev_is_behind_card_dino to where it is used
    ca907291e116 dma-buf: DMABUF_MOVE_NOTIFY should depend on DMA_SHARED_BUFFER
    b9a1526d5174 drivers: base: cacheinfo: Get rid of DEFINE_SMP_CALL_CACHE_FUNCTION()
    45bd9dd1bee8 drm/amdgpu: Disable PCIE_DPM on Intel RKL Platform
    c9538018cb2d thermal/core: Fix thermal_cooling_device_register() prototype
    d1f9ecc00da1 tools/bootconfig: Fix tracing_on option checking in ftrace2bconf.sh
    912afe602eac Kconfig.debug: drop selecting non-existing HARDLOCKUP_DETECTOR_ARCH
    e418ce8b8dfd ceph: cancel delayed work instead of flushing on mdsc teardown
    8193ad306ea0 ceph: allow ceph_put_mds_session to take NULL or ERR_PTR
    41aa21573486 platform/chrome: cros_ec_trace: Fix format warnings
    113a69460de5 platform/chrome: sensorhub: Add trace events for sample
    48271d10bf4c dmaengine: idxd: fix wq slot allocation index check
    777344da345a pwm: mxs: Don't modify HW state in .probe() after the PWM chip was registered
    322b70b522ab pwm: lpc32xx: Don't modify HW state in .probe() after the PWM chip was registered
    c63df77c40ca PM: sleep: core: Avoid setting power.must_resume to false
    74190973ab01 profiling: fix shift-out-of-bounds bugs
    0796d99c1b16 nilfs2: use refcount_dec_and_lock() to fix potential UAF
    30417cbeccff prctl: allow to setup brk for et_dyn executables
    e464b3876b02 9p/trans_virtio: Remove sysfs file on probe failure
    375e779ec32a thermal/drivers/exynos: Fix an error code in exynos_tmu_probe()
    38ab04186fb3 perf tools: Allow build-id with trailing zeros
    87c4144450e6 tools lib: Adopt memchr_inv() from kernel
    ebcd3fd9207c perf test: Fix bpf test sample mismatch reporting
    fa64b08931ee dmaengine: acpi: Avoid comparison GSI with Linux vIRQ
    9d49973b0848 um: virtio_uml: fix memory leak on init failures
    5d0e6a5e4441 coredump: fix memleak in dump_vma_snapshot()
    6b24588708fe staging: rtl8192u: Fix bitwise vs logical operator in TranslateRxSignalStuff819xUsb()
    ccb79116c372 sctp: add param size validation for SCTP_PARAM_SET_PRIMARY
    ffca46766850 sctp: validate chunk size in __rcv_asconf_lookup
    473cea4983b5 Revert "net/mlx5: Register to devlink ingress VLAN filter trap"
    5ce134e65f3b ARM: 9098/1: ftrace: MODULE_PLT: Fix build problem without DYNAMIC_FTRACE
    f91d25a7c89e ARM: 9079/1: ftrace: Add MODULE_PLTS support
    ad00533858f7 ARM: 9078/1: Add warn suppress parameter to arm_gen_branch_link()
    ce90c6706d5a ARM: 9077/1: PLT: Move struct plt_entries definition to header
    eb46d7c8ae83 ARM: Qualify enabling of swiotlb_init()
    79286ea830b3 s390/pci_mmio: fully validate the VMA before calling follow_pte()
    74d54e5ceba3 console: consume APC, DM, DCS
    9493e92a3953 PCI: aardvark: Fix reporting CRS value
    9e766b86a9ef PCI: pci-bridge-emul: Add PCIe Root Capabilities Register
    4d8524048a35 Linux 5.10.68
    a23d3576215f net: dsa: bcm_sf2: Fix array overrun in bcm_sf2_num_active_ports()
    9f2972e151dd bnxt_en: Fix error recovery regression
    619d747c1850 x86/mce: Avoid infinite loop for copy from user recovery
    47bc9c3929eb net: renesas: sh_eth: Fix freeing wrong tx descriptor
    b2f9b7455baf mfd: lpc_sch: Rename GPIOBASE to prevent build error
    027c44b8c8e4 mfd: lpc_sch: Partially revert "Add support for Intel Quark X1000"
    52a7e6667133 bnxt_en: Fix possible unintended driver initiated error recovery
    9a3f52f73c04 bnxt_en: Improve logging of error recovery settings information.
    639a2eddb731 bnxt_en: Convert to use netif_level() helpers.
    01cad477a968 bnxt_en: Consolidate firmware reset event logging.
    fad75e046363 bnxt_en: log firmware debug notifications
    f90a34fabaa5 bnxt_en: Fix asic.rev in devlink dev info command
    724502318455 bnxt_en: fix stored FW_PSID version masks
    eb635e008cb1 net: dsa: b53: Fix IMP port setup on BCM5301x
    87b34cd64851 ip_gre: validate csum_start only on pull
    9c98d2bd1434 qlcnic: Remove redundant unlock in qlcnic_pinit_from_rom
    8c01c620ae61 fq_codel: reject silly quantum parameters
    6e2d36f2b1d1 netfilter: socket: icmp6: fix use-after-scope
    c361c955609a net: dsa: b53: Set correct number of ports in the DSA struct
    0db7e0d9f67d net: dsa: b53: Fix calculating number of switch ports
    f89b0d032f86 net: hso: add failure handler for add_net_device
    f450958f7ff8 selftests: mptcp: clean tmp files in simult_flows
    5711ced58eb4 net: dsa: tag_rtl4_a: Fix egress tags
    b167a0cec187 gpio: mpc8xxx: Use 'devm_gpiochip_add_data()' to simplify the code and avoid a leak
    f86956143da9 gpio: mpc8xxx: Fix a resources leak in the error handling path of 'mpc8xxx_probe()'
    c2b52963fd0c perf bench inject-buildid: Handle writen() errors
    5a20adc38811 perf unwind: Do not overwrite FEATURE_CHECK_LDFLAGS-libunwind-{x86,aarch64}
    f5176a0798bd ARC: export clear_user_page() for modules
    9da1fb128c54 mtd: rawnand: cafe: Fix a resource leak in the error handling path of 'cafe_nand_probe()'
    5402b31c0c46 PCI: Sync __pci_register_driver() stub for CONFIG_PCI=n
    a957d82b2316 KVM: arm64: Handle PSCI resets before userspace touches vCPU state
    53921242cf99 KVM: arm64: Fix read-side race on updates to vcpu reset state
    b9b89da56af7 mtd: mtdconcat: Check _read, _write callbacks existence before assignment
    812cbb143c12 mtd: mtdconcat: Judge callback existence based on the master
    e8dfc446a16a tracing/boot: Fix a hist trigger dependency for boot time tracing
    87479b10eb72 mfd: tqmx86: Clear GPIO IRQ resource when no IRQ is set
    f10f727cf9f4 PCI: Fix pci_dev_str_match_path() alloc while atomic bug
    ed44be1cbe5e KVM: arm64: Restrict IPA size to maximum 48 bits on 4K and 16K page size
    62f813769f50 netfilter: nft_ct: protect nft_ct_pcpu_template_refcnt with mutex
    1cf43a1e5782 netfilter: Fix fall-through warnings for Clang
    9e89c22d1c94 PCI: iproc: Fix BCMA probe resource handling
    b1f3be0c302a PCI: of: Don't fail devm_pci_alloc_host_bridge() on missing 'ranges'
    063c3d980d78 backlight: ktd253: Stabilize backlight
    00303e459251 mfd: axp20x: Update AXP288 volatile ranges
    ab7cf2250161 s390/bpf: Fix branch shortening during codegen pass
    4320c222c2ff s390/bpf: Fix 64-bit subtraction of the -0x80000000 constant
    d92d3a9c2b65 s390/bpf: Fix optimizing out zero-extensions
    4a9339320338 NTB: perf: Fix an error code in perf_setup_inbuf()
    ce660d6dfcdd NTB: Fix an error code in ntb_msit_probe()
    e76ccbdedbdd ethtool: Fix an error code in cxgb2.c
    70ac967a7b88 PCI: ibmphp: Fix double unmap of io_mem
    9ae759a36b61 block, bfq: honor already-setup queue merges
    7f2b3242f0d4 net: usb: cdc_mbim: avoid altsetting toggling for Telit LN920
    ca8ecd7444a9 Set fc_nlinfo in nh_create_ipv4, nh_create_ipv6
    c422c555053e octeontx2-af: Add additional register check to rvu_poll_reg()
    1cac475eeb9f watchdog: Start watchdog in watchdog_set_last_hw_keepalive only if appropriate
    e5609d3fd57d PCI: Add ACS quirks for Cavium multi-function devices
    365cdfcc6eba PCI: j721e: Add PCIe support for AM64
    81381b72f40c PCI: j721e: Add PCIe support for J7200
    4892b1515b40 PCI: cadence: Add quirk flag to set minimum delay in LTSSM Detect.Quiet state
    a83e032cc489 PCI: cadence: Use bitfield for *quirk_retrain_flag* instead of bool
    3aedfe4b0800 tracing/probes: Reject events which have the same name of existing one
    75420f9400a6 PCI: rcar: Fix runtime PM imbalance in rcar_pcie_ep_probe()
    b6352e2e2764 mfd: Don't use irq_create_mapping() to resolve a mapping
    aa638669c8a4 PCI: tegra: Fix OF node reference leak
    d5c5d1b141fa PCI: tegra194: Fix MSI-X programming
    13f366bab077 PCI: tegra194: Fix handling BME_CHGED event
    b7d4f310bb8f fuse: fix use after free in fuse_read_interrupt()
    03cc3a2923d6 PCI: Add ACS quirks for NXP LX2xx0 and LX2xx2 platforms
    7a44361a1f6a mfd: db8500-prcmu: Adjust map to reality
    619f137ffd69 dt-bindings: mtd: gpmc: Fix the ECC bytes vs. OOB bytes equation
    49cf30ebb35c mm/memory_hotplug: use "unsigned long" for PFN in zone_for_pfn_range()
    aa39eb744a82 net: hns3: fix the timing issue of VF clearing interrupt sources
    ad47e0922108 net: hns3: disable mac in flr process
    b76522c7c349 net: hns3: change affinity_mask to numa node range
    34fc06d0477e net: hns3: pad the short tunnel frame before sending to hardware
    0511d099db6f bnxt_en: make bnxt_free_skbs() safe to call after bnxt_free_mem()
    49eff4ab7d43 KVM: PPC: Book3S HV: Tolerate treclaim. in fake-suspend mode changing registers
    e68795c1101e ibmvnic: check failover_pending in login response
    aeb67214ce94 dt-bindings: arm: Fix Toradex compatible typo
    0ab9981fa0c5 udp_tunnel: Fix udp_tunnel_nic work-queue type
    5221e6632991 qed: Handle management FW error
    e00eae1d6b1f selftest: net: fix typo in altname test
    53947b68c56b tcp: fix tp->undo_retrans accounting in tcp_sacktag_one()
    35d3ab2ea2ed x86/uaccess: Fix 32-bit __get_user_asm_u64() when CC_HAS_ASM_GOTO_OUTPUT=y
    cf6f29bb2c18 net: dsa: destroy the phylink instance on any error in dsa_slave_phy_setup
    df38f941a7e4 net/af_unix: fix a data-race in unix_dgram_poll
    cad96d0e50e4 vhost_net: fix OoB on sendmsg() failure.
    7843861e2140 gen_compile_commands: fix missing 'sys' package
    983ef866291c net: ipa: initialize all filter table slots
    c5102ced8ac0 events: Reuse value read using READ_ONCE instead of re-reading it
    8f8ad122ffe0 nvme-tcp: fix io_work priority inversion
    c586bc31d5b9 net/mlx5: Fix potential sleeping in atomic context
    29a5af9112a2 net/mlx5: FWTrace, cancel work on alloc pd error flow
    229e9293b2ba perf machine: Initialize srcline string member in add_location struct
    33c983f7a182 drm/rockchip: cdn-dp-core: Make cdn_dp_core_resume __maybe_unused
    fd9ed47fe6be tipc: increase timeout in tipc_sk_enqueue()
    abe460eb6fbb r6040: Restore MDIO clock frequency after MAC reset
    edfab735d518 net/l2tp: Fix reference count leak in l2tp_udp_recv_core
    6c3cb65d561e dccp: don't duplicate ccid when cloning dccp sock
    f6f80766558b ptp: dp83640: don't define PAGE0
    bd6d9a0dd411 net-caif: avoid user-triggerable WARN_ON(1)
    855c17ffa65f net/{mlx5|nfp|bnxt}: Remove unnecessary RTNL lock assert
    c5c9ee2d367b ethtool: Fix rxnfc copy to user buffer overflow
    ee3ffd56b40e tipc: fix an use-after-free issue in tipc_recvmsg
    12551b75b00b x86/mm: Fix kern_addr_valid() to cope with existing but not present entries
    6672dc68e28e x86/pat: Pass valid address to sanitize_phys()
    0346f8a2c5ec s390/sclp: fix Secure-IPL facility detection
    cc9d96c9f9e0 drm/etnaviv: add missing MMU context put when reaping MMU mapping
    ea995e8a6294 drm/etnaviv: reference MMU context when setting up hardware state
    660dfbf208a4 drm/etnaviv: fix MMU context leak on GPU reset
    22163efedcf3 drm/etnaviv: exec and MMU state is lost when resetting the GPU
    6b1c223d8a53 drm/etnaviv: keep MMU context across runtime suspend/resume
    c63e6e0951ff drm/etnaviv: stop abusing mmu_context as FE running marker
    cf24bd826e4b drm/etnaviv: put submit prev MMU context when it exists
    0759f648470b drm/etnaviv: return context from etnaviv_iommu_context_get
    8f95553f0016 drm/amd/amdgpu: Increase HWIP_MAX_INSTANCE to 10
    87f7032dc227 PCI: Add AMD GPU multi-function power dependencies
    cd64b416aed2 PM: base: power: don't try to use non-existing RTC for storing data
    a67e7cdbc633 arm64/sve: Use correct size when reinitialising SVE state
    84da60070c36 bnx2x: Fix enabling network interfaces without VFs
    1a5a3ba21aee xen: reset legacy rtc flag for PV domU
    ce8f81b76d3b io_uring: ensure symmetry in handling iter types in loop_rw_iter()
    88f3d951e2db btrfs: fix upper limit for max_inline for page size 64K
    575279059e26 drm/bridge: lt9611: Fix handling of 4k panels
    faf816b0f8d0 Linux 5.10.67
    ad3ea16746cc fanotify: limit number of event merge attempts
    412974e75fdd drm/panfrost: Clamp lock region to Bifrost minimum
    8976e09443cb drm/panfrost: Use u64 for size in lock_region
    95251e6833fa drm/panfrost: Simplify lock_region calculation
    b80a99e04827 drm/amd/display: Update bounding box states (v2)
    583c4f3d09c3 drm/amd/display: Update number of DCN3 clock states
    7b1abace16a9 drm/amdgpu: Fix BUG_ON assert
    c29485e34e63 drm/panfrost: Make sure MMU context lifetime is not bound to panfrost_priv
    bb693c114e8b drm/dp_mst: Fix return code on sideband message failure
    84cac4f80605 drm/msi/mdp4: populate priv->kms in mdp4_kms_init
    be1fcecfc145 drm/mgag200: Select clock in PLL update functions
    d0aaea1f117d net: dsa: lantiq_gswip: fix maximum frame length
    5944d0e2b0ab lib/test_stackinit: Fix static initializer test
    00cdb2fb4df1 platform/chrome: cros_ec_proto: Send command again when timeout occurs
    b2e72e53cd26 libnvdimm/pmem: Fix crash triggered when I/O in-flight during unbind
    6d86634d7bd1 memcg: enable accounting for pids in nested pid namespaces
    388f12dabbe0 mm,vmscan: fix divide by zero in get_scan_count
    2d2d8b0eca64 mm/hugetlb: initialize hugetlb_usage in mm_init
    ce75a6b399e0 mm/hmm: bypass devmap pte when all pfn requested flags are fulfilled
    e1fa3b2b60ab hugetlb: fix hugetlb cgroup refcounting during vma split
    27dd91221b3f s390/pv: fix the forcing of the swiotlb
    086faa4a2e86 cpufreq: powernv: Fix init_chip_info initialization in numa=off
    55be9eb1936a scsi: qla2xxx: Sync queue idx with queue_pair_map idx
    9c8414325eee scsi: qla2xxx: Changes to support kdump kernel
    137dafa72230 scsi: BusLogic: Fix missing pr_cont() use
    69775e4e17f2 ovl: fix BUG_ON() in may_delete() when called from ovl_cleanup()
    7a5756e90563 parisc: fix crash with signals and alloca
    9a4e7f903866 io_uring: remove duplicated io_size from rw
    6930a2a5be5c fs/io_uring Don't use the return value from import_iovec().
    2c304c65defd net: hns3: clean up a type mismatch warning
    fb1ee027878b net: w5100: check return value after calling platform_get_resource()
    c49a52046da7 fix array-index-out-of-bounds in taprio_change
    a4301d06a0b8 net: fix NULL pointer reference in cipso_v4_doi_free
    5ed5d594d9a7 ath9k: fix sleeping in atomic context
    aa3708236ea0 ath9k: fix OOB read ar9300_eeprom_restore_internal
    be457b27dd0a wcn36xx: Fix missing frame timestamp for beacon/probe-resp
    b1d547f2f51a selftests/bpf: Fix potential unreleased lock
    3ad66d67822d parport: remove non-zero check on count
    1e9302537804 net/mlx5: DR, Enable QP retransmission
    9c5c65ecbd87 net/mlx5: DR, fix a potential use-after-free bug
    4bbf0a9d90e8 iwlwifi: mvm: Fix scan channel flags settings
    a693aff5e8d7 iwlwifi: fw: correctly limit to monitor dump
    4ed6510e0559 iwlwifi: mvm: fix access to BSS elements
    9e80a3d88f4d iwlwifi: mvm: avoid static queue number aliasing
    3ed8982df50e iwlwifi: mvm: fix a memory leak in iwl_mvm_mac_ctxt_beacon_changed
    608c8359c567 iwlwifi: pcie: free RBs during configure
    eb04c51a439e nfsd: fix crash on LOCKT on reexported NFSv3
    0e9f4492219f drm/amdkfd: Account for SH/SE count when setting up cu masks.
    27d4a96addef ASoC: rockchip: i2s: Fixup config for DAIFMT_DSP_A/B
    969eddc3b4dc ASoC: rockchip: i2s: Fix regmap_ops hang
    7344a8a80190 usbip:vhci_hcd USB port can get stuck in the disabled state
    29c8f13a345d usbip: give back URBs for unsent unlink requests during cleanup
    8de01a896c1b usb: musb: musb_dsps: request_irq() after initializing musb
    c0751eeb938c Revert "USB: xhci: fix U1/U2 handling for hardware with XHCI_INTEL_HOST quirk set"
    ba2faddf1f14 cifs: fix wrong release in sess_alloc_buffer() failed path
    7c7d6c9cd879 mmc: core: Return correct emmc response in case of ioctl error
    d1e382a04ada selftests/bpf: Enlarge select() timeout for test_maps
    3aab5bffdde0 mmc: rtsx_pci: Fix long reads when clock is prescaled
    7f43da79ebc5 mmc: sdhci-of-arasan: Check return value of non-void funtions
    834ecf61cebd mmc: sdhci-of-arasan: Modified SD default speed to 19MHz for ZynqMP
    1a40e60e2af4 of: Don't allow __of_attached_node_sysfs() without CONFIG_SYSFS
    be69ed7bb9d3 ASoC: Intel: Skylake: Fix passing loadable flag for module
    4a48ed479467 ASoC: Intel: Skylake: Fix module configuration for KPB and MIXER
    d72afec087f7 soundwire: intel: fix potential race condition during power down
    b225eeaf3a02 btrfs: tree-log: check btrfs_lookup_data_extent return value
    87ae522e467e m68knommu: only set CONFIG_ISA_DMA_API for ColdFire sub-arch
    c10b1afc2f43 octeontx2-pf: Fix NIX1_RX interface backpressure
    6d657f1fa121 rtw88: wow: fix size access error of probe request
    aa82a11176bd rtw88: wow: build wow function only if CONFIG_PM is on
    2fd1964f7501 rtw88: use read_poll_timeout instead of fixed sleep
    9baf6f8ca285 rtl8xxxu: Fix the handling of TX A-MPDU aggregation
    756924bc1804 drm/exynos: Always initialize mapping in exynos_drm_register_dma()
    9ce6e29375ba lockd: lockd server-side shouldn't set fl_ops
    2d3fab9ceafa usb: chipidea: host: fix port index underflow and UBSAN complains
    2225a5cd2fbc gfs2: Don't call dlm after protocol is unmounted
    0df5eba67bf0 kselftest/arm64: pac: Fix skipping of tests on systems without PAC
    9486d7ac9f30 kselftest/arm64: mte: Fix misleading output when skipping tests
    1f5db5b8a3d6 net: Fix offloading indirect devices dependency on qdisc order creation
    2a69325ee510 staging: rts5208: Fix get_ms_information() heap buffer size
    868831492dd6 hwmon: (pmbus/ibm-cffps) Fix write bits for LED control
    39738ebfad39 selftests/bpf: Fix flaky send_signal test
    c53c68c9bf2a rpc: fix gss_svc_init cleanup on failure
    4b1b4d3f45df tcp: enable data-less, empty-cookie SYN with TFO_SERVER_COOKIE_NOT_REQD
    fca514f25c4d iomap: pass writeback errors to the mapping
    49e2bcb7cf58 serial: sh-sci: fix break handling for sysrq
    a99eec36ed39 opp: Don't print an error if required-opps is missing
    6698029de35b Bluetooth: Fix handling of LE Enhanced Connection Complete
    240a7025a6f8 nvme: code command_id with a genctr for use-after-free validation
    24618e92d50f nvme-tcp: don't check blk_mq_tag_to_rq when receiving pdu data
    27e8bc1f5b32 arm64: dts: ls1046a: fix eeprom entries
    aa06cfc5291c arm64: tegra: Fix compatible string for Tegra132 CPUs
    9c2b89f64f2e ARM: tegra: tamonten: Fix UART pad setting
    035e8d5a6dd8 ARM: tegra: acer-a500: Remove bogus USB VBUS regulators
    9713dfa5185a mac80211: Fix monitor MTU limit so that A-MSDUs get through
    83449db3aac0 drm/display: fix possible null-pointer dereference in dcn10_set_clock()
    2254383788ff gpu: drm: amd: amdgpu: amdgpu_i2c: fix possible uninitialized-variable access in amdgpu_i2c_router_select_ddc_port()
    155e7047909d net/mlx5: Fix variable type to match 64bit
    f86bc4a1a401 drm/msm/dp: return correct edid checksum after corrupted edid checksum read
    98d44b7be6f1 Bluetooth: avoid circular locks in sco_sock_connect
    a1073aad497d Bluetooth: schedule SCO timeouts with delayed_work
    d6c91423993e drm/vmwgfx: fix potential UAF in vmwgfx_surface.c
    3841dfa7eb5c selftests/bpf: Fix xdp_tx.c prog section name
    63ebc1f1df81 drm/amd/display: fix incorrect CM/TF programming sequence in dwb
    d763afc4ea2b drm/amd/display: fix missing writeback disablement if plane is removed
    491c8be21993 thunderbolt: Fix port linking by checking all adapters
    0f0f1de02b9b drm: xlnx: zynqmp: release reset to DP controller before accessing DP registers
    f76f78f9f479 drm: xlnx: zynqmp_dpsub: Call pm_runtime_get_sync before setting pixel clock
    127f3610a0e3 drm/msm/dsi: Fix DSI and DSI PHY regulator config from SDM660
    0bbbe3ec67f0 drm/msm: mdp4: drop vblank get/put from prepare/complete_commit
    ac21cd44c954 net: ethernet: stmmac: Do not use unreachable() in ipq806x_gmac_probe()
    2b0fa8d53041 nvmem: qfprom: Fix up qfprom_disable_fuse_blowing() ordering
    35e5c99b152d arm64: dts: qcom: sm8250: Fix epss_l3 unit address
    43ccafc91f63 arm64: dts: qcom: msm8996: don't use underscore in node name
    f868c2d62a27 arm64: dts: qcom: msm8994: don't use underscore in node name
    bda9c84edbb3 arm64: dts: qcom: sdm630: don't use underscore in node name
    aa16e76c80af arm64: dts: qcom: ipq6018: drop '0x' from unit address
    da714a198342 arm64: dts: qcom: sdm660: use reg value for memory node
    34e9c56675a8 arm64: dts: qcom: ipq8074: fix pci node reg property
    74287874c91d ARM: dts: imx53-ppd: Fix ACHC entry
    6a00decce3a6 serial: 8250_omap: Handle optional overrun-throttle-ms property
    699c91475847 arm64: dts: qcom: sdm630: Fix TLMM node and pinctrl configuration
    310a127178b0 arm64: dts: qcom: sdm630: Rewrite memory map
    783be2a94299 gfs2: Fix glock recursion in freeze_go_xmote_bh
    4e014ff22e4b media: tegra-cec: Handle errors of clk_prepare_enable()
    c159db240cf2 media: TDA1997x: fix tda1997x_query_dv_timings() return value
    e3a2e20ed503 media: v4l2-dv-timings.c: fix wrong condition in two for-loops
    ac1bcf53e32f media: imx258: Limit the max analogue gain to 480
    4cb4967472c8 media: imx258: Rectify mismatch of VTS value
    a64e3f1d8a27 ASoC: Intel: update sof_pcm512x quirks
    9cf827242033 ASoC: Intel: bytcr_rt5640: Move "Platform Clock" routes to the maps for the matching in-/output
    f1fb1f6fa172 arm64: tegra: Fix Tegra194 PCIe EP compatible string
    8fb3d8c151a7 ARM: dts: at91: use the right property for shutdown controller
    f710323dcd24 bonding: 3ad: fix the concurrency between __bond_release_one() and bond_3ad_state_machine_handler()
    5d008cb7636d ARM: dts: stm32: Update AV96 adv7513 node per dtbs_check
    3142476fa002 ARM: dts: stm32: Set {bitclock,frame}-master phandles on ST DKx
    37437a60a93b ARM: dts: stm32: Set {bitclock,frame}-master phandles on DHCOM SoM
    f4c7c95e3ee5 workqueue: Fix possible memory leaks in wq_numa_init()
    6528cc687c88 Bluetooth: skip invalid hci_sync_conn_complete_evt
    3b82e4799f53 ata: sata_dwc_460ex: No need to call phy_exit() befre phy_init()
    4af60a543ba6 libbpf: Fix race when pinning maps in parallel
    874d5aa06ce2 samples: bpf: Fix tracex7 error raised on the missing argument
    035f83b5abd3 staging: ks7010: Fix the initialization of the 'sleep_status' structure
    d0a8ef04c220 serial: 8250_pci: make setup_port() parameters explicitly unsigned
    2603740df8b2 hvsi: don't panic on tty_register_driver failure
    dd3307a8b383 xtensa: ISS: don't panic in rs_init
    b763d2e7d45c serial: 8250: Define RX trigger levels for OxSemi 950 devices
    973c57c5e649 s390: make PCI mio support a machine flag
    77d62f2bcc7f s390/jump_label: print real address in a case of a jump label bug
    863d2eb2f726 flow_dissector: Fix out-of-bounds warnings
    64583448c231 ipv4: ip_output.c: Fix out-of-bounds warning in ip_copy_addrs()
    bcc61adefd78 video: fbdev: riva: Error out if 'pixclock' equals zero
    63abc0eb8af5 video: fbdev: kyro: Error out if 'pixclock' equals zero
    6a8dcd2ffb41 video: fbdev: asiliantfb: Error out if 'pixclock' equals zero
    3740418ccde8 arm64: dts: allwinner: h6: tanix-tx6: Fix regulator node names
    be2e11b9f8fa drm/bridge: nwl-dsi: Avoid potential multiplication overflow on 32-bit
    6a3564739b9f bpf/tests: Do not PASS tests without actually testing the result
    99121dec14b0 bpf/tests: Fix copy-and-paste error in double word test
    6f51f4241253 drm/amd/amdgpu: Update debugfs link_settings output link_rate field in hex
    a5999d18a8d8 drm/amdgpu: Fix a printing message
    5b3a45eedd27 ethtool: improve compat ioctl handling
    52bb703f71d3 nfp: fix return statement in nfp_net_parse_meta()
    23e5fb647589 media: atomisp: pci: fix error return code in atomisp_pci_probe()
    e5cecb9105d4 media: atomisp: Fix runtime PM imbalance in atomisp_pci_probe
    9a85b9e37601 media: platform: stm32: unprepare clocks at handling errors in probe
    c6e5eebd9540 media: hantro: vp8: Move noisy WARN_ON to vpu_debug
    f462a39eb833 drm/amd/display: Fix timer_per_pixel unit error
    b4f5c9454dfc selftests: firmware: Fix ignored return val of asprintf() warn
    e944a221262e bus: fsl-mc: fix mmio base address for child DPRCs
    165c55af5f5f tty: serial: jsm: hold port lock when reporting modem line changes
    642639bb8d42 staging: board: Fix uninitialized spinlock when attaching genpd
    03f4492dbff3 usb: gadget: composite: Allow bMaxPower=0 if self-powered
    5534de13b6dc USB: EHCI: ehci-mv: improve error handling in mv_ehci_enable()
    b2b8137ec920 usb: gadget: u_ether: fix a potential null pointer dereference
    566ddd2d94b0 usb: host: fotg210: fix the actual_length of an iso packet
    224cf5e8c853 usb: host: fotg210: fix the endpoint's transactional opportunities calculation
    463b3edfba90 igc: Check if num of q_vectors is smaller than max before array access
    d3ca78775db4 rcu: Fix macro name CONFIG_TASKS_RCU_TRACE
    34609faad0c9 drm: protect drm_master pointers in drm_lease.c
    06a553a99bac drm: serialize drm_file.master with a new spinlock
    54e51d288b38 drm: avoid blocking in drm_clients_info's rcu section
    df19d95141d1 Smack: Fix wrong semantics in smk_access_entry()
    3533aa65e6a9 netlink: Deal with ESRCH error in nlmsg_notify()
    9de06dcd4710 video: fbdev: kyro: fix a DoS bug by restricting user input
    29ab7f6d505f ARM: dts: qcom: apq8064: correct clock names
    e0c17c11b15d iavf: fix locking of critical sections
    67c9262e3f31 iavf: do not override the adapter state in the watchdog task
    9f11de56012c iio: dac: ad5624r: Fix incorrect handling of an optional regulator.
    e78a0b4a339e net: phy: Fix data type in DP83822 dp8382x_disable_wol()
    cca61275874a tipc: keep the skb in rcv queue until the whole data is read
    cc12ab5951aa PCI: Use pci_update_current_state() in pci_enable_device_flags()
    aad29a00a598 crypto: mxs-dcp - Use sg_mapping_iter to copy data
    871abd1e6185 x86/hyperv: fix for unwanted manipulation of sched_clock when TSC marked unstable
    c327b69e96b0 libbpf: Fix reuse of pinned map on older kernel
    6a985c579499 media: dib8000: rewrite the init prbs logic
    2048907d8cb7 ASoC: atmel: ATMEL drivers don't need HAS_DMA
    10a135969fd7 drm/amdgpu: Fix amdgpu_ras_eeprom_init()
    b32d3ded9dc2 drm/vc4: hdmi: Set HD_CTL_WHOLSMP and HD_CTL_CHALIGN_SET
    6afd1e053d9b userfaultfd: prevent concurrent API initialization
    1e4cfe954bd9 kbuild: Fix 'no symbols' warning when CONFIG_TRIM_UNUSD_KSYMS=y
    981bf9b0aa1b MIPS: Malta: fix alignment of the devicetree buffer
    bb8108546da9 f2fs: should put a page beyond EOF when preparing a write
    d04925fb8d70 f2fs: deallocate compressed pages when error happens
    4b71928e5c54 f2fs: fix to unmap pages from userspace process in punch_hole()
    1c934aba9fd5 f2fs: fix unexpected ENOENT comes from f2fs_map_blocks()
    45cb5f86c1c6 f2fs: fix to account missing .skipped_gc_rwsem
    fd69f613af53 soc: mediatek: cmdq: add address shift in jump
    d320c1b2e728 KVM: PPC: Fix clearing never mapped TCEs in realmode
    6bf98b94ffeb clk: at91: clk-generated: Limit the requested rate to our range
    9bab2bc4c238 fscache: Fix cookie key hashing
    b4849e2ac706 RDMA/hns: Fix QP's resp incomplete assignment
    e91077cf1780 powerpc/smp: Update cpu_core_map on all PowerPc systems
    903ca538f588 platform/x86: dell-smbios-wmi: Add missing kfree in error-exit from run_smbios_call
    add8e8c3402f KVM: PPC: Book3S HV Nested: Reflect guest PMU in-use to L0 when guest SPRs are live
    4c0c4f702196 scsi: ufs: ufs-exynos: Fix static checker warning
    bda5602c1c35 KVM: PPC: Book3S HV: Fix copy_tofrom_guest routines
    926bf91248dd clk: imx8m: fix clock tree update of TF-A managed clocks
    e84a72f69621 HID: i2c-hid: Fix Elan touchpad regression
    253bac6c60ad iommu/vt-d: Update the virtual command related registers
    947579a6967a powerpc/config: Renable MTD_PHYSMAP_OF
    1bc19e4062e9 scsi: qedf: Fix error codes in qedf_alloc_global_queues()
    dc4577749987 scsi: qedi: Fix error codes in qedi_alloc_global_queues()
    782c4017845d scsi: smartpqi: Fix an error code in pqi_get_raid_map()
    41066433be42 powerpc/numa: Consider the max NUMA node for migratable LPAR
    d3612083ecc1 pinctrl: single: Fix error return code in pcs_parse_bits_in_pinctrl_entry()
    6291fd0eeafc scsi: fdomain: Fix error return code in fdomain_probe()
    f02ab9d1d3a6 sunrpc: Fix return value of get_srcport()
    21a2be1a5145 SUNRPC query transport's source port
    f19abe046354 SUNRPC/xprtrdma: Fix reconnection locking
    f3d301612787 SUNRPC: Fix potential memory corruption
    9aa7a3ffb11c NFSv4/pnfs: The layout barrier indicate a minimal value for the seqid
    2a542421eb7f NFSv4/pNFS: Always allow update of a zero valued layout barrier
    4b96edea5cd1 NFSv4/pNFS: Fix a layoutget livelock loop
    fa55e76641d8 dma-debug: fix debugfs initialization order
    ca7f7e37bae4 openrisc: don't printk() unconditionally
    31fd3211ef8b f2fs: reduce the scope of setting fsck tag when de->name_len is zero
    49e4c83db885 cpuidle: pseries: Mark pseries_idle_proble() as __init
    876e45c95eb6 RDMA/mlx5: Delete not-available udata check
    a77da9de0d7d RDMA/efa: Remove double QP type assignment
    1988836e30c5 powerpc/stacktrace: Include linux/delay.h
    c5a5528da722 cpuidle: pseries: Fixup CEDE0 latency only for POWER10 onwards
    3b2bbcccd6e9 scsi: ufs: Fix memory corruption by ufshcd_read_desc_param()
    d353e093c0d5 vfio: Use config not menuconfig for VFIO_NOIOMMU
    0f711378f0b1 pinctrl: samsung: Fix pinctrl bank pin count
    59137b7dfff1 scsi: BusLogic: Use %X for u32 sized integer rather than %lX
    8ea3e622af56 docs: Fix infiniband uverbs minor number
    fe2a1cd62267 RDMA/iwcm: Release resources if iw_cm module initialization fails
    b824bae96f73 IB/hfi1: Adjust pkey entry in index 0
    273ed4f47e6f clk: rockchip: drop GRF dependency for rk3328/rk3036 pll types
    f1eccc408168 scsi: bsg: Remove support for SCSI_IOCTL_SEND_COMMAND
    ef5395fbadac pinctrl: armada-37xx: Correct PWM pins definitions
    782ceaba977c pinctrl: remove empty lines in pinctrl subsystem
    2d586a3f5b7e f2fs: quota: fix potential deadlock
    70fd9363673b HID: input: do not report stylus battery state as "full"
    4e89aea738b5 PCI: aardvark: Fix masking and unmasking legacy INTx interrupts
    b50db4c02f45 PCI: aardvark: Fix checking for PIO status
    9d6090575406 PCI: Export pci_pio_to_address() for module use
    fa3c15ccf2ea PCI: aardvark: Configure PCIe resources from 'ranges' DT property
    df23bd40ed88 PCI: xilinx-nwl: Enable the clock through CCF
    72f2be343272 PCI: Return ~0 data on pciconfig_read() CAP_SYS_ADMIN failure
    088a1052f7b0 PCI: Restrict ASMedia ASM1062 SATA Max Payload Size Supported
    9302a3c00cc6 PCI/portdrv: Enable Bandwidth Notification only if port supports it
    74d6dfcb0f9d f2fs: fix to do sanity check for sb/cp fields correctly
    ce7e64e63acf ARM: 9105/1: atags_to_fdt: don't warn about stack size
    ba73bc166615 libata: add ATA_HORKAGE_NO_NCQ_TRIM for Samsung 860 and 870 SSDs
    bcbc44e42dc6 dmaengine: imx-sdma: remove duplicated sdma_load_context
    300ccb129252 Revert "dmaengine: imx-sdma: refine to load context only once"
    76668bdee0b0 s390/qdio: cancel the ESTABLISH ccw after timeout
    bcc0c767f9b3 s390/qdio: fix roll-back after timeout on ESTABLISH ccw
    2d2aaa200ced media: rc-loopback: return number of emitters rather than error
    c0eaaa686864 media: uvc: don't do DMA on stack
    516dbe27f447 VMCI: fix NULL pointer dereference when unmapping queue pair
    6cae39f45754 crypto: ccp - shutdown SEV firmware on kexec
    7509c4cb7c80 dm crypt: Avoid percpu_counter spinlock contention in crypt_page_alloc()
    4f920fefd857 power: supply: max17042: handle fails of reading status register
    0d54bbad80f7 block: bfq: fix bfq_set_next_ioprio_data()
    5df14bba0056 crypto: public_key: fix overflow during implicit conversion
    646870ad8e56 wcn36xx: Ensure finish scan is not requested before start scan
    4753723f8b48 iio: ltc2983: fix device probe
    de32e151800d arm64: head: avoid over-mapping in map_memory
    2d3a9dff763f arm64: mm: Fix TLBI vs ASID rollover
    01e6c64bbc5d soc: aspeed: p2a-ctrl: Fix boundary check for mmap
    3fdf2feb6cbe soc: aspeed: lpc-ctrl: Fix boundary check for mmap
    e80c45dbe263 soc: qcom: aoss: Fix the out of bound usage of cooling_devs
    610e8b2621d6 pinctrl: ingenic: Fix incorrect pull up/down info
    1e1136fbe89f pinctrl: stmfx: Fix hazardous u8[] to unsigned long cast
    7524fcd09c3e clk: socfpga: agilex: add the bypass register for s2f_usr0 clock
    96bf326fb93c clk: socfpga: agilex: fix up s2f_user0_clk representation
    7eb16be25f0f clk: socfpga: agilex: fix the parents of the psi_ref_clk
    ac99b3aa8375 tools/thermal/tmon: Add cross compiling support
    2daa118a3f7b selftests/ftrace: Fix requirement check of README file
    8248b61b86fb ceph: fix dereference of null pointer cf
    c37085d60634 9p/xen: Fix end of loop tests for list_for_each_entry
    907944851aa0 xen: fix setting of max_pfn in shared_info
    37566a343fe9 powerpc/perf/hv-gpci: Fix counter value parsing
    5f13c8bae824 PCI/MSI: Skip masking MSI-X on Xen PV
    d15554f98597 blk-zoned: allow BLKREPORTZONE without CAP_SYS_ADMIN
    a58f08255490 blk-zoned: allow zone management send operations without CAP_SYS_ADMIN
    c1b249e02a80 btrfs: reset replace target device to allocation state on close
    0901af53da8f btrfs: wake up async_delalloc_pages waiters after submit
    9ac218642dfc io-wq: fix wakeup race when adding new work
    548ee201fb4a io_uring: fail links of cancelled timeouts
    54eb6211b979 io_uring: add ->splice_fd_in checks
    a3ed34bcada5 io_uring: place fixed tables under memcg limits
    5103b733348e io_uring: limit fixed table size by RLIMIT_NOFILE
    ebedb252a47f rtc: tps65910: Correct driver module alias
    44a32dcb2fb5 Linux 5.10.66
    1de280adb209 Revert "time: Handle negative seconds correctly in timespec64_to_ns()"
    f49fd9882f54 Revert "posix-cpu-timers: Force next expiration recalc after itimer reset"
    0daa75bf750c Revert "block: nbd: add sanity check for first_minor"
    d3c3f4e07826 Revert "Bluetooth: Move shutdown callback before flushing tx and rx queue"
    c31c2cca229a Linux 5.10.65
    b216a075a9ab clk: kirkwood: Fix a clocking boot regression
    5866b1175df0 backlight: pwm_bl: Improve bootloader/kernel device handover
    4c00435cb813 fbmem: don't allow too huge resolutions
    34d099a330e7 IMA: remove the dependency on CRYPTO_MD5
    5cc1ee31353b IMA: remove -Wmissing-prototypes warning
    131968998109 fuse: flush extending writes
    8018100c5444 fuse: truncate pagecache on atomic_o_trunc
    a8ca1fba54be ARM: dts: at91: add pinctrl-{names, 0} for all gpios
    c2c7eefc9371 KVM: nVMX: Unconditionally clear nested.pi_pending on nested VM-Enter
    bf3622446335 KVM: VMX: avoid running vmx_handle_exit_irqoff in case of emulation
    c06e6ff2fcc3 KVM: x86: Update vCPU's hv_clock before back to guest when tsc_offset is adjusted
    1db337b10d12 KVM: s390: index kvm->arch.idle_mask by vcpu_idx
    dc9db2a2aae4 Revert "KVM: x86: mmu: Add guest physical address check in translate_gpa()"
    c6b42ec1c936 x86/resctrl: Fix a maybe-uninitialized build warning treated as error
    bafece6cd1f9 perf/x86/amd/ibs: Extend PERF_PMU_CAP_NO_EXCLUDE to IBS Op
    ae95c3a147d5 tty: Fix data race between tiocsti() and flush_to_ldisc()
    4d0e6d6fe4e2 bio: fix page leak bio_add_hw_page failure
    24fbd77d5a0f io_uring: IORING_OP_WRITE needs hash_reg_file set
    656f343d724b time: Handle negative seconds correctly in timespec64_to_ns()
    611b7f9dc9f6 f2fs: guarantee to write dirty data when enabling checkpoint back
    75ffcd85dff5 iwlwifi Add support for ax201 in Samsung Galaxy Book Flex2 Alpha
    3853c0c0703d ASoC: rt5682: Remove unused variable in rt5682_i2c_remove()
    c4f1ad393026 ipv4: fix endianness issue in inet_rtm_getroute_build_skb()
    dc4ff31506f4 octeontx2-af: Set proper errorcode for IPv4 checksum errors
    bf2991f8e783 octeontx2-af: Fix static code analyzer reported issues
    ee485124b7fa octeontx2-af: Fix loop in free and unmap counter
    a67c66c1bb12 net: qualcomm: fix QCA7000 checksum handling
    f96bc82e0348 net: sched: Fix qdisc_rate_table refcount leak when get tcf_block failed
    5867e20e1808 ipv4: make exception cache less predictible
    8692f0bb2992 ipv6: make exception cache less predictible
    4663aaef24df brcmfmac: pcie: fix oops on failure to resume and reprobe
    e68128e078da bcma: Fix memory leak for internally-handled cores
    26fae720c112 atlantic: Fix driver resume flow.
    cb996dc9f937 ath6kl: wmi: fix an error code in ath6kl_wmi_sync_point()
    baecab8c469f ice: Only lock to update netdev dev_addr
    bd6d9c83f44d iwlwifi: skip first element in the WTAS ACPI table
    4c4f868082ed iwlwifi: follow the new inclusive terminology
    5c305b90d8a1 ASoC: wcd9335: Disable irq on slave ports in the remove function
    729a459efd30 ASoC: wcd9335: Fix a memory leak in the error handling path of the probe function
    9c640a2bb551 ASoC: wcd9335: Fix a double irq free in the remove function
    8446bb0ff1d0 tty: serial: fsl_lpuart: fix the wrong mapbase value
    9ee4ff8cbe39 usb: bdc: Fix a resource leak in the error handling path of 'bdc_probe()'
    4d2823abd1fe usb: bdc: Fix an error handling path in 'bdc_probe()' when no suitable DMA config is available
    86b79054d76b usb: ehci-orion: Handle errors of clk_prepare_enable() in probe
    f0bb63127354 i2c: xlp9xx: fix main IRQ check
    7ac3090e0123 i2c: mt65xx: fix IRQ check
    6c4857203ffa CIFS: Fix a potencially linear read overflow
    b0491ab7d4c7 bpf: Fix possible out of bound write in narrow load handling
    cfaefbcc6bc4 mmc: moxart: Fix issue with uninitialized dma_slave_config
    ced0bc748185 mmc: dw_mmc: Fix issue with uninitialized dma_slave_config
    8a9f9b97558e mmc: sdhci: Fix issue with uninitialized dma_slave_config
    dd903083cbe4 ASoC: Intel: Skylake: Fix module resource and format selection
    b0159dbd1dd6 ASoC: Intel: Skylake: Leave data as is when invoking TLV IPCs
    7934c79fb0ed ASoC: Intel: kbl_da7219_max98927: Fix format selection for max98373
    56d976f45000 rsi: fix an error code in rsi_probe()
    110ce7d256a3 rsi: fix error code in rsi_load_9116_firmware()
    b4bbb77d886b gfs2: init system threads before freeze lock
    ee029e3aa129 i2c: hix5hd2: fix IRQ check
    d36ab9b3ee49 i2c: fix platform_get_irq.cocci warnings
    187705a4b1fa i2c: s3c2410: fix IRQ check
    3913fa307a33 i2c: iop3xx: fix deferred probing
    50e6f34499a5 Bluetooth: add timeout sanity check to hci_inquiry
    cc59ad70cfb6 lkdtm: replace SCSI_DISPATCH_CMD with SCSI_QUEUE_RQ
    9295566a136c mm/swap: consider max pages in iomap_swapfile_add_extent
    a9c29bc2a578 usb: gadget: mv_u3d: request_irq() after initializing UDC
    b2f4dd13b211 firmware: raspberrypi: Fix a leak in 'rpi_firmware_get()'
    60831f5ae6c7 firmware: raspberrypi: Keep count of all consumers
    5c68b7795b4c i2c: synquacer: fix deferred probing
    f577e9f58ff0 clk: staging: correct reference to config IOMEM to config HAS_IOMEM
    5ae5f087c9d6 arm64: dts: marvell: armada-37xx: Extend PCIe MEM space
    cb788d698a10 nfsd4: Fix forced-expiry locking
    c9773f42c1de lockd: Fix invalid lockowner cast after vfs_test_lock
    2600861b9069 locking/local_lock: Add missing owner initialization
    d5462a630f7d locking/lockdep: Mark local_lock_t
    22b106df73c6 mac80211: Fix insufficient headroom issue for AMSDU
    0ad4ddb27e2b libbpf: Re-build libbpf.so when libbpf.map changes
    494629ba62a9 usb: phy: tahvo: add IRQ check
    46638d6941ee usb: host: ohci-tmio: add IRQ check
    4b7874a32ec2 PM: cpu: Make notifier chain use a raw_spinlock_t
    471128476819 Bluetooth: Move shutdown callback before flushing tx and rx queue
    d993a6f137ec samples: pktgen: add missing IPv6 option to pktgen scripts
    2c0b826f4a79 devlink: Clear whole devlink_flash_notify struct
    2aa3d5c9e19e selftests/bpf: Fix test_core_autosize on big-endian machines
    c03bf1bc84ea usb: gadget: udc: renesas_usb3: Fix soc_device_match() abuse
    eabbb2e8cc41 usb: phy: twl6030: add IRQ checks
    fa5dbfd53982 usb: phy: fsl-usb: add IRQ check
    99ad1be3e9cb usb: gadget: udc: s3c2410: add IRQ check
    0a7731458968 usb: gadget: udc: at91: add IRQ check
    27f102bcee52 usb: dwc3: qcom: add IRQ check
    c4e0f54a56d0 usb: dwc3: meson-g12a: add IRQ check
    96ba1e20e252 ASoC: rt5682: Properly turn off regulators if wrong device ID
    1a2feb23043b ASoC: rt5682: Implement remove callback
    628acf6ee2f1 net/mlx5: Fix unpublish devlink parameters
    fe6322774ca2 net/mlx5: Register to devlink ingress VLAN filter trap
    dbeb4574ddf0 drm/msm/dsi: Fix some reference counted resource leaks
    059c2c09f4b7 Bluetooth: fix repeated calls to sco_sock_kill
    6df58421da13 ASoC: Intel: Fix platform ID matching
    10dfcfda5c6f cgroup/cpuset: Fix violation of cpuset locking rule
    cbc97661439d cgroup/cpuset: Miscellaneous code cleanup
    974ab0a04fe6 counter: 104-quad-8: Return error when invalid mode during ceiling_write
    c158f9b23279 arm64: dts: exynos: correct GIC CPU interfaces address range on Exynos7
    7125705623f9 drm/msm/dpu: make dpu_hw_ctl_clear_all_blendstages clear necessary LMs
    a6e980b110d2 drm/msm/mdp4: move HW revision detection to earlier phase
    90363618b552 drm/msm/mdp4: refactor HW revision detection into read_mdp_hw_revision
    416929eaf44e selftests/bpf: Fix bpf-iter-tcp4 test to print correctly the dest IP
    d6337dfd1e77 PM: EM: Increase energy calculation precision
    5014a8453f02 Bluetooth: increase BTNAMSIZ to 21 chars to fix potential buffer overflow
    afffa7b4c6e4 debugfs: Return error during {full/open}_proxy_open() on rmmod
    17830b041534 soc: qcom: smsm: Fix missed interrupts if state changes while masked
    b8361513ac76 bpf, samples: Add missing mprog-disable to xdp_redirect_cpu's optstring
    cd6008e31af0 PCI: PM: Enable PME if it can be signaled from D3cold
    3890c6e1da31 PCI: PM: Avoid forcing PCI_D0 for wakeup reasons inconsistently
    eda4ccca906f media: venus: venc: Fix potential null pointer dereference on pointer fmt
    519ad41a0989 media: em28xx-input: fix refcount bug in em28xx_usb_disconnect
    a7dd8b778a4d leds: trigger: audio: Add an activate callback to ensure the initial brightness is set
    917191d582f9 leds: lt3593: Put fwnode in any case during ->probe()
    eef8496579de i2c: highlander: add IRQ check
    11dd40c18918 net/mlx5: Fix missing return value in mlx5_devlink_eswitch_inline_mode_set()
    b376ae5597fc devlink: Break parameter notification sequence to be before/after unload/load driver
    9fa9ff10408f arm64: dts: renesas: hihope-rzg2-ex: Add EtherAVB internal rx delay
    e4da0e0006f9 arm64: dts: renesas: rzg2: Convert EtherAVB to explicit delay handling
    61b1db235868 Bluetooth: mgmt: Fix wrong opcode in the response for add_adv cmd
    bca46d228393 net: cipso: fix warnings in netlbl_cipsov4_add_std
    b6b5dc12bd7c drm: mxsfb: Clear FIFO_CLEAR bit
    1a0014c1c62c drm: mxsfb: Increase number of outstanding requests on V4 and newer HW
    46f546394063 drm: mxsfb: Enable recovery on underflow
    e0f3de1573fd cgroup/cpuset: Fix a partition bug with hotplug
    7a0b297480dd net/mlx5e: Block LRO if firmware asks for tunneled LRO
    c40ed983b874 net/mlx5e: Prohibit inner indir TIRs in IPoIB
    a11fc1cd8a31 ARM: dts: meson8b: ec100: Fix the pwm regulator supply properties
    2e68547e99a7 ARM: dts: meson8b: mxq: Fix the pwm regulator supply properties
    0d40e59c03b8 ARM: dts: meson8b: odroidc1: Fix the pwm regulator supply properties
    eda87dd4738a ARM: dts: meson8: Use a higher default GPU clock frequency
    a7d0a59e21ef tcp: seq_file: Avoid skipping sk during tcp_seek_last_pos
    1f60072320b5 drm/amdgpu/acp: Make PM domain really work
    c7ebd3622bf8 6lowpan: iphc: Fix an off-by-one check of array index
    def6efdf91e7 Bluetooth: sco: prevent information leak in sco_conn_defer_accept()
    e9a62740876b media: atomisp: fix the uninitialized use and rename "retvalue"
    b0e87701b813 media: coda: fix frame_mem_ctrl for YUV420 and YVU420 formats
    c062253748d8 media: rockchip/rga: fix error handling in probe
    dc49537334a7 media: rockchip/rga: use pm_runtime_resume_and_get()
    94d6aa2b871f media: go7007: remove redundant initialization
    ffd9c8cecbad media: go7007: fix memory leak in go7007_usb_probe
    fb22665c37b3 media: dvb-usb: Fix error handling in dvb_usb_i2c_init
    6b0fe6953430 media: dvb-usb: fix uninit-value in vp702x_read_mac_addr
    372890e0b41e media: dvb-usb: fix uninit-value in dvb_usb_adapter_dvb_init
    83f7297a4af4 ionic: cleanly release devlink instance
    203537ff35ea driver core: Fix error return code in really_probe()
    4225d357bc75 firmware: fix theoretical UAF race with firmware cache and resume
    c4aaad8a3389 gfs2: Fix memory leak of object lsi on error return path
    8c3b5028ec02 libbpf: Fix removal of inner map in bpf_object__create_map
    ffb887c15f7f soc: qcom: rpmhpd: Use corner in power_off
    f32b433d8e25 i40e: improve locking of mac_filter_hash
    5ac21a4e6e85 arm64: dts: renesas: r8a77995: draak: Remove bogus adv7511w properties
    a8c1eaed2374 ARM: dts: aspeed-g6: Fix HVI3C function-group in pinctrl dtsi
    6ca0b4089166 libbpf: Fix the possible memory leak on error
    f1673e85254d gve: fix the wrong AdminQ buffer overflow check
    1568dbe8892d drm/of: free the iterator object on failure
    389dfd114780 bpf: Fix potential memleak and UAF in the verifier.
    d4213b709316 bpf: Fix a typo of reuseport map in bpf.h.
    56e5c527cc2e drm/of: free the right object
    38235f195de9 media: cxd2880-spi: Fix an error handling path
    25fbfc31ceec soc: rockchip: ROCKCHIP_GRF should not default to y, unconditionally
    c391728c9b25 leds: is31fl32xx: Fix missing error code in is31fl32xx_parse_dt()
    d4abb6e14105 media: TDA1997x: enable EDID support
    8ce22f85381f ASoC: mediatek: mt8183: Fix Unbalanced pm_runtime_enable in mt8183_afe_pcm_dev_probe
    3d58f5e83f97 drm/gma500: Fix end of loop tests for list_for_each_entry
    54912723f16b drm/panfrost: Fix missing clk_disable_unprepare() on error in panfrost_clk_init()
    1e1423449d1c EDAC/i10nm: Fix NVDIMM detection
    a20e6868cbfc spi: spi-zynq-qspi: use wait_for_completion_timeout to make zynq_qspi_exec_mem_op not interruptible
    e2cb04c61bcf spi: sprd: Fix the wrong WDG_LOAD_VAL
    cd8cca7268a2 regulator: vctrl: Avoid lockdep warning in enable/disable ops
    8665e30317c8 regulator: vctrl: Use locked regulator_get_voltage in probe path
    80b1a70b0450 blk-crypto: fix check for too-large dun_bytes
    ba6e5af621ab spi: davinci: invoke chipselect callback
    c0aec70a256c x86/mce: Defer processing of early errors
    6627be8b36dc tpm: ibmvtpm: Avoid error message when process gets signal while waiting
    bd2028e9e27c certs: Trigger creation of RSA module signing key if it's not an RSA key
    fddf3a72abe1 crypto: qat - use proper type for vf_mask
    e7273d57d2b7 irqchip/gic-v3: Fix priority comparison when non-secure priorities are used
    f1f6d3d2ada8 spi: coldfire-qspi: Use clk_disable_unprepare in the remove function
    4b21d4e820bb block: nbd: add sanity check for first_minor
    31fc50cd93cd clocksource/drivers/sh_cmt: Fix wrong setting if don't request IRQ for clock source channel
    dde7ff1c1977 lib/mpi: use kcalloc in mpi_resize
    20d84fc59e85 irqchip/loongson-pch-pic: Improve edge triggered interrupt support
    e9a902f88207 genirq/timings: Fix error return code in irq_timings_test_irqs()
    10d3bdd2d578 spi: spi-pic32: Fix issue with uninitialized dma_slave_config
    d4ec971bfa88 spi: spi-fsl-dspi: Fix issue with uninitialized dma_slave_config
    87aa69aa10b4 block: return ELEVATOR_DISCARD_MERGE if possible
    386850718153 m68k: Fix invalid RMW_INSNS on CPUs that lack CAS
    497f3d9c3f58 rcu: Fix stall-warning deadlock due to non-release of rcu_node ->lock
    ea5e5bc881a4 rcu: Add lockdep_assert_irqs_disabled() to rcu_sched_clock_irq() and callees
    527b56d7856f rcu: Fix to include first blocked task in stall warning
    e6778e1b22d0 sched: Fix UCLAMP_FLAG_IDLE setting
    718180c24675 sched/numa: Fix is_core_idle()
    bf4b0fa3a2e2 m68k: emu: Fix invalid free in nfeth_cleanup()
    246c771b8562 power: supply: cw2015: use dev_err_probe to allow deferred probe
    a758b1d4ca20 s390/ap: fix state machine hang after failure to enable irq
    86f9980909f3 s390/debug: fix debug area life cycle
    0980d2b21f4d s390/debug: keep debug data on resize
    0404bf4a660c s390/pci: fix misleading rc in clp_set_pci_fn()
    8b471e72b51e s390/kasan: fix large PMD pages address alignment check
    9d999957cb39 udf_get_extendedattr() had no boundary checks.
    db2f238d8d12 fcntl: fix potential deadlock for &fasync_struct.fa_lock
    349633ed311c crypto: qat - do not export adf_iov_putmsg()
    205cfad5c0ca crypto: qat - fix naming for init/shutdown VF to PF notifications
    c29cc43e30ba crypto: qat - fix reuse of completion variable
    e53575ea28d9 crypto: qat - handle both source of interrupt in VF ISR
    9819975c636c crypto: qat - do not ignore errors from enable_vf2pf_comms()
    6f3c58bd62f2 crypto: omap - Fix inconsistent locking of device lists
    fc4073df2968 libata: fix ata_host_start()
    cf619a528e01 s390/zcrypt: fix wrong offset index for APKA master key valid state
    b4aa00bf8a4d s390/cio: add dev_busid sysfs entry for each subchannel
    d0831db736bb power: supply: max17042_battery: fix typo in MAx17042_TOFF
    5d59f38c6ba5 power: supply: smb347-charger: Add missing pin control activation
    10e759e350d7 nvmet: pass back cntlid on successful completion
    ea4a353c0ef4 nvme-rdma: don't update queue count when failing to set io queues
    5d0f0c3bbe99 nvme-tcp: don't update queue count when failing to set io queues
    591f69d7c415 blk-throtl: optimize IOPS throttle for large IO scenarios
    cf13537be54c bcache: add proper error unwinding in bcache_device_init
    48aa6e4e28c4 isofs: joliet: Fix iocharset=utf8 mount option
    940ac461323e udf: Fix iocharset=utf8 mount option
    4cf1551af31d udf: Check LVID earlier
    3d12ccecfa31 hrtimer: Ensure timerfd notification for HIGHRES=n
    aadfa1d6ca5f hrtimer: Avoid double reprogramming in __hrtimer_start_range_ns()
    13ccaef77ee8 posix-cpu-timers: Force next expiration recalc after itimer reset
    8a6c5eec811c EDAC/mce_amd: Do not load edac_mce_amd module on guests
    4b680b3fc6f3 rcu/tree: Handle VM stoppage in stall detection
    1cc05d71f04d sched/deadline: Fix missing clock update in migrate_task_rq_dl()
    104adbffbe4c crypto: omap-sham - clear dma flags only after omap_sham_update_dma_stop()
    ce7f2b516c77 power: supply: axp288_fuel_gauge: Report register-address on readb / writeb errors
    3ebd7b38415e sched/deadline: Fix reset_on_fork reporting of DL tasks
    8c4d94db5acd crypto: mxs-dcp - Check for DMA mapping errors
    7bb6302e9d09 regulator: tps65910: Silence deferred probe error
    a85985099644 regmap: fix the offset of register error log
    97bc540bfb61 locking/mutex: Fix HANDOFF condition
    cb83afdc0b86 Linux 5.10.64
    f72fce550709 PCI: Call Max Payload Size-related fixup quirks early
    8c04a16d2037 x86/reboot: Limit Dell Optiplex 990 quirk to early BIOS versions
    1234849353b0 xhci: fix unsafe memory usage in xhci tracing
    3f7f1baf7045 xhci: fix even more unsafe memory usage in xhci tracing
    30e6e9f8bf2c usb: mtu3: fix the wrong HS mult value
    8a4439aaf4f7 usb: mtu3: use @mult for HS isoc or intr
    147819723c74 usb: mtu3: restore HS function when set SS/SSP
    c75e2fd0d3c5 usb: gadget: tegra-xudc: fix the wrong mult value for HS isoc or intr
    d544c9a2190a usb: host: xhci-rcar: Don't reload firmware after the completion
    c3fd7b0b9aa1 ALSA: usb-audio: Add registration quirk for JBL Quantum 800
    798679af7978 blk-mq: clearing flush request reference in tags->rqs[]
    e51ff3ffc316 netfilter: nftables: clone set element expression template
    36983fc2f87e netfilter: nf_tables: initialize set before expression setup
    3fda454f909c netfilter: nftables: avoid potential overflows on 32bit arches
    cad6239f5080 blk-mq: fix is_flush_rq
    ceffaa61b5bb blk-mq: fix kernel panic during iterating over flush request
    bc1b5c5f3e3b x86/events/amd/iommu: Fix invalid Perf result due to IOMMU PMC power-gating
    554efc9a6138 Revert "r8169: avoid link-up interrupt issue on RTL8106e if user enables ASPM"
    d24347e2ff11 tty: drop termiox user definitions
    0757a883b970 net: linux/skbuff.h: combine SKB_EXTENSIONS + KCOV handling
    0b62660c6a33 serial: 8250: 8250_omap: Fix unused variable warning
    7ff0b71b6826 net: kcov: don't select SKB_EXTENSIONS when there is no NET
    c4225992060b mm/page_alloc: speed up the iteration of max_order
    50e56c68e1ef net: ll_temac: Remove left-over debug message
    6e2c4e665623 USB: serial: mos7720: improve OOM-handling in read_mos_reg()
    ddd7e8b7b848 igmp: Add ip_mc_list lock in ip_check_mc_rcu

(From OE-Core rev: 86bfda41a74bd19c22a6294bd080adf17b14c116)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-07 15:06:34 +01:00
Bruce Ashfield
d27637df53 linux-yocto/5.14: bsp/qemuarm*-gfx: use virtio graphics
Integrating the following configuration change:

  Author: Jon Mason <jdmason@kudzu.us>
  Date:   Thu Sep 16 18:22:33 2021 -0400

      bsp/qemuarm*-gfx: use virtio graphics

      Remove Bochs and start using virtio graphics

      Signed-off-by: Jon Mason <jdmason@kudzu.us>

(From OE-Core rev: a1231dd2f7c6744df843db4283ae72c83e635ede)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-07 15:06:34 +01:00
Bruce Ashfield
44fa735093 linux-yocto/5.14: update to v5.14.8
Updating linux-yocto/5.14 to the latest korg -stable release that comprises
the following commits:

    c34892e1995d Linux 5.14.8
    1236431c8531 drm/nouveau/nvkm: Replace -ENOSYS with -ENODEV
    bef2b32a1490 selinux,smack: fix subjective/objective credential use mixups
    dcd45a08b9a6 io_uring: fix off-by-one in BUILD_BUG_ON check of __REQ_F_LAST_BIT
    d1217e40d082 cifs: properly invalidate cached root handle when closing it
    cacfce79af9b sched/idle: Make the idle timer expire in hard interrupt context
    affd236df3e8 rtc: rx8010: select REGMAP_I2C
    46384252a8f4 blk-mq: allow 4x BLK_MAX_REQUEST_COUNT at blk_plug for multiple_queues
    a3330c1c8319 blk-throttle: fix UAF by deleteing timer in blk_throtl_exit()
    2ab96bfe3201 block: genhd: don't call blkdev_show() with major_names_lock held
    e2860e2175c0 nvmet: fixup buffer overrun in nvmet_subsys_attr_serial()
    da6643141740 pwm: stm32-lp: Don't modify HW state in .remove() callback
    2c92f9e8e039 pwm: rockchip: Don't modify HW state in .remove() callback
    f53bd7fe1bf6 pwm: img: Don't modify HW state in .remove() callback
    ddd8601dd853 habanalabs: cannot sleep while holding spinlock
    f621eeead8d6 habanalabs: add "in device creation" status
    836c0806500d habanalabs: fix mmu node address resolution in debugfs
    46d712b46080 habanalabs: add validity check for event ID received from F/W
    350b2f2b1f2a drm/amdgpu: fix fdinfo race with process exit
    25b4e51e2333 drm/amd/display: Fix memory leak reported by coverity
    682645659796 drm/amdgpu: Fixes to returning VBIOS RAS EEPROM address
    d5b10c0b4288 habanalabs: fix nullifying of destroyed mmu pgt pool
    d51100f73561 thermal/drivers/rcar_gen3_thermal: Store TSC id as unsigned int
    0ea5f803c39d nilfs2: fix memory leak in nilfs_sysfs_delete_snapshot_group
    7797daf14c3f nilfs2: fix memory leak in nilfs_sysfs_create_snapshot_group
    6e17978ca9b8 nilfs2: fix memory leak in nilfs_sysfs_delete_##name##_group
    90b8f51480a4 nilfs2: fix memory leak in nilfs_sysfs_create_##name##_group
    e005476348f9 nilfs2: fix NULL pointer in nilfs_##name##_attr_release
    255c3bfa2826 nilfs2: fix memory leak in nilfs_sysfs_create_device_group
    0e78f3da8e58 btrfs: fix lockdep warning while mounting sprout fs
    ebed7d89e54c btrfs: delay blkdev_put until after the device remove
    13d4c38e5c51 btrfs: update the bdev time directly when closing
    e0f8639c87e1 s390/unwind: use current_frame_address() to unwind current task
    31db9b13e54e ceph: lockdep annotations for try_nonblocking_invalidate
    6ca3781b4664 ceph: remove the capsnaps when removing caps
    8e46eccfc10f ceph: request Fw caps before updating the mtime in ceph_write_iter
    8e4e080b2be0 ceph: fix memory leak on decode error in ceph_handle_caps
    abae6b3bab39 ACPI: PM: s2idle: Run both AMD and Microsoft methods if both are supported
    417cd319e998 ASoC: audio-graph: respawn Platform Support
    0a96c9734bd8 s390: add kmemleak annotation in stack_alloc()
    5c9fc5418714 dmaengine: xilinx_dma: Set DMA mask for coherent APIs
    996a4337be96 dmaengine: ioat: depends on !UML
    964a98344922 cxl/pci: Introduce cdevm_file_operations
    e921d59a75c7 cxl: Move cxl_core to new directory
    786c11aebd4f dmaengine: sprd: Add missing MODULE_DEVICE_TABLE
    70100a0fb72d dmaengine: idxd: depends on !UML
    4d74704a3975 riscv: dts: microchip: mpfs-icicle: Fix serial console
    f8d2c2cfbff3 of: property: Disable fw_devlink DT support for X86
    f7525b4c5d40 drm/ttm: Fix a deadlock if the target BO is not idle during swap
    3a4a126d3515 arm64: mm: limit linear region to 51 bits for KVM in nVHE mode
    4ca60140f83e iommu/vt-d: Fix a deadlock in intel_svm_drain_prq()
    cab628d695ab iommu/vt-d: Fix PASID leak in intel_svm_unbind_mm()
    f74210e642c8 iommu/amd: Relocate GAMSup check to early_enable_iommus
    2d0bfe7e6f5d parisc: Move pci_dev_is_behind_card_dino to where it is used
    9a9d2fb4995a dma-buf: DMABUF_DEBUG should depend on DMA_SHARED_BUFFER
    7eb2c8604702 dma-buf: DMABUF_MOVE_NOTIFY should depend on DMA_SHARED_BUFFER
    0a1b8623d10c drivers: base: cacheinfo: Get rid of DEFINE_SMP_CALL_CACHE_FUNCTION()
    52cf80714d50 drm/amdgpu: Disable PCIE_DPM on Intel RKL Platform
    654b40ff096e thermal/core: Fix thermal_cooling_device_register() prototype
    57df1f724b35 tracing/boot: Fix to loop on only subkeys
    59faa7816df1 tools/bootconfig: Fix tracing_on option checking in ftrace2bconf.sh
    bdf3f584913c Kconfig.debug: drop selecting non-existing HARDLOCKUP_DETECTOR_ARCH
    71f9ab9c157c init: move usermodehelper_enable() to populate_rootfs()
    4abef9e11035 math: RATIONAL_KUNIT_TEST should depend on RATIONAL instead of selecting it
    7e68a2bd2169 SUNRPC: don't pause on incomplete allocation
    bf55b052cfeb s390/entry: make oklabel within CHKSTG macro local
    674534e6327e platform/chrome: cros_ec_trace: Fix format warnings
    c3315f6436e7 platform/chrome: sensorhub: Add trace events for sample
    0e53af9116e4 dmaengine: idxd: clear block on fault flag when clear wq
    ecf3158aad68 dmaengine: idxd: fix abort status check
    858343654607 dmaengine: idxd: fix wq slot allocation index check
    6c578df6fdd9 dmaengine: idxd: have command status always set
    acf769fe268d dmanegine: idxd: cleanup all device related bits after disabling device
    81680e81b71a pwm: mxs: Don't modify HW state in .probe() after the PWM chip was registered
    1c90a357cef4 pwm: lpc32xx: Don't modify HW state in .probe() after the PWM chip was registered
    ec33d4bcec80 ceph: cancel delayed work instead of flushing on mdsc teardown
    02006feaf26f thermal/drivers/qcom/spmi-adc-tm5: Don't abort probing if a sensor is not used
    04864f20674f PM: sleep: core: Avoid setting power.must_resume to false
    07906d13ba6b profiling: fix shift-out-of-bounds bugs
    ada62fe1bdbc nilfs2: use refcount_dec_and_lock() to fix potential UAF
    154d764b1f82 prctl: allow to setup brk for et_dyn executables
    861006fa37d8 pwm: ab8500: Fix register offset calculation to not depend on probe order
    bc013a3943af 9p/trans_virtio: Remove sysfs file on probe failure
    e0e873820b55 thermal/drivers/exynos: Fix an error code in exynos_tmu_probe()
    61c87f0674e5 n64cart: fix return value check in n64cart_probe()
    8843c3dc1ad2 staging: rtl8723bs: fix wpa_set_auth_algs() function
    24a026e4ae1d perf tools: Allow build-id with trailing zeros
    60a830dc0a2b perf symbol: Look for ImageBase in PE file to compute .text offset
    d4e7c85ae25f perf test: Fix bpf test sample mismatch reporting
    b005ce62b39c dmaengine: acpi: Avoid comparison GSI with Linux vIRQ
    e0291e6fb03d RDMA/mlx5: Fix xlt_chunk_align calculation
    e00e0ed534a2 RDMA/hns: Enable stash feature of HIP09
    6909fa41fbd4 um: virtio_uml: fix memory leak on init failures
    dc25d3bebac1 coredump: fix memleak in dump_vma_snapshot()
    069c28830690 um: fix stub location calculation
    5cd412eda5d6 staging: rtl8192u: Fix bitwise vs logical operator in TranslateRxSignalStuff819xUsb()
    f59fcad27535 console: consume APC, DM, DCS
    fb28e3d5d0d8 PCI: aardvark: Fix reporting CRS value
    952d4ed0bd65 PCI: pci-bridge-emul: Add PCIe Root Capabilities Register
    56c0ace445bd Linux 5.14.7
    a7593244dc31 s390/bpf: Fix branch shortening during codegen pass
    6a8787093b04 s390/bpf: Fix 64-bit subtraction of the -0x80000000 constant
    7a31ec4d215a s390/bpf: Fix optimizing out zero-extensions
    10203c14d608 net: dsa: bcm_sf2: Fix array overrun in bcm_sf2_num_active_ports()
    45c0e1ee3e9f bnxt_en: Fix error recovery regression
    47b119613dcf net: renesas: sh_eth: Fix freeing wrong tx descriptor
    45f8ba56d4dd cxgb3: fix oops on module removal
    dc2ebd4105b0 mfd: lpc_sch: Rename GPIOBASE to prevent build error
    4666248379e9 ip6_gre: Revert "ip6_gre: add validation for csum_start"
    9ae3fccac631 bnxt_en: Fix possible unintended driver initiated error recovery
    05935d1da3c7 bnxt_en: Fix asic.rev in devlink dev info command
    a4dc86f679b2 bnxt_en: fix stored FW_PSID version masks
    c70b2b2ca0c0 net: dsa: b53: Fix IMP port setup on BCM5301x
    4bf5d5224ffc ip_gre: validate csum_start only on pull
    faa3bd11de91 iwlwifi: pnvm: Fix a memory leak in 'iwl_pnvm_get_from_fs()'
    b5fe5a750923 iwlwifi: move get pnvm file name to a separate function
    2b6c8100c693 qlcnic: Remove redundant unlock in qlcnic_pinit_from_rom
    ec5150055362 fq_codel: reject silly quantum parameters
    7d0458a67e6d netfilter: socket: icmp6: fix use-after-scope
    864251f26753 mptcp: Only send extra TCP acks in eligible socket states
    bd65986f3e2d net: dsa: b53: Set correct number of ports in the DSA struct
    7c5800c3cab8 net: dsa: b53: Fix calculating number of switch ports
    98641c732e95 net: hso: add failure handler for add_net_device
    5d37e739f531 selftests: mptcp: clean tmp files in simult_flows
    e35820fb5641 mptcp: fix possible divide by zero
    122a20d062e8 tools build: Fix feature detect clean for out of source builds
    e67dcd6556fa net: dsa: tag_rtl4_a: Fix egress tags
    fcf7264e8714 io_uring: retry in case of short read on block device
    e7009e8ecdf6 gpio: mpc8xxx: Use 'devm_gpiochip_add_data()' to simplify the code and avoid a leak
    450adfabe059 gpio: mpc8xxx: Fix a potential double iounmap call in 'mpc8xxx_probe()'
    8c7ba0ec7c45 gpio: mpc8xxx: Fix a resources leak in the error handling path of 'mpc8xxx_probe()'
    17bf84a9e8a2 perf bench inject-buildid: Handle writen() errors
    20e60bf86492 perf unwind: Do not overwrite FEATURE_CHECK_LDFLAGS-libunwind-{x86,aarch64}
    82d7271c9ead perf config: Fix caching and memory leak in perf_home_perfconfig()
    eb15078cd848 ARC: export clear_user_page() for modules
    6989067d55cd mtd: rawnand: cafe: Fix a resource leak in the error handling path of 'cafe_nand_probe()'
    08a901da171d watchdog: Fix NULL pointer dereference when releasing cdev
    59aba0148404 PCI: Sync __pci_register_driver() stub for CONFIG_PCI=n
    638fb35ca3e4 PCI/PTM: Remove error message at boot
    b3c9eff1a853 KVM: arm64: Handle PSCI resets before userspace touches vCPU state
    bd5ad57a4dc7 KVM: arm64: Fix read-side race on updates to vcpu reset state
    7655140eda86 mtd: mtdconcat: Check _read, _write callbacks existence before assignment
    5cd5c566aaf3 mtd: mtdconcat: Judge callback existence based on the master
    a452dc09a5a6 tracing/boot: Fix a hist trigger dependency for boot time tracing
    3be43a9ac4a9 mfd: tqmx86: Clear GPIO IRQ resource when no IRQ is set
    1104ea6b8e2a PCI: Fix pci_dev_str_match_path() alloc while atomic bug
    619b6ad1b135 KVM: arm64: Restrict IPA size to maximum 48 bits on 4K and 16K page size
    39880692657c netfilter: nft_ct: protect nft_ct_pcpu_template_refcnt with mutex
    408c5b7081b1 PCI: iproc: Fix BCMA probe resource handling
    43f59fff1fdf PCI: of: Don't fail devm_pci_alloc_host_bridge() on missing 'ranges'
    b4ae6f96d7db PCI: controller: PCI_IXP4XX should depend on ARCH_IXP4XX
    86bfda3f6cb5 backlight: ktd253: Stabilize backlight
    31c16809d0bc mfd: axp20x: Update AXP288 volatile ranges
    eb3eeb317385 net: phylink: add suspend/resume support
    54f62219145c stmmac: dwmac-loongson:Fix missing return value
    a308deafe4e3 NTB: perf: Fix an error code in perf_setup_inbuf()
    9c787064f0a8 NTB: Fix an error code in ntb_msit_probe()
    23edad31b827 ethtool: Fix an error code in cxgb2.c
    0fc65686c1de loop: reduce the loop_ctl_mutex scope
    b1438181dcee PCI: ibmphp: Fix double unmap of io_mem
    88013a0c5d99 block, bfq: honor already-setup queue merges
    488e251c6987 net: usb: cdc_mbim: avoid altsetting toggling for Telit LN920
    2bbf4c40bfb2 flow: fix object-size-mismatch warning in flowi{4,6}_to_flowi_common()
    2a2ada738da6 Set fc_nlinfo in nh_create_ipv4, nh_create_ipv6
    1680812a0f7d octeontx2-af: Add additional register check to rvu_poll_reg()
    ed0f3b99c5a1 watchdog: Start watchdog in watchdog_set_last_hw_keepalive only if appropriate
    a1d4322f6782 PCI: Add ACS quirks for Cavium multi-function devices
    a87aa051d7bd PCI: j721e: Add PCIe support for AM64
    1def82a63892 PCI: j721e: Add PCIe support for J7200
    06ef79094f16 PCI: cadence: Add quirk flag to set minimum delay in LTSSM Detect.Quiet state
    cdade20269a4 PCI: cadence: Use bitfield for *quirk_retrain_flag* instead of bool
    53347ed7cc2e tracing/probes: Reject events which have the same name of existing one
    86ddc7397906 KVM: arm64: Make hyp_panic() more robust when protected mode is enabled
    35f2ecc7a6e5 riscv: fix the global name pfn_base confliction error
    f9910fae78de PCI: rcar: Fix runtime PM imbalance in rcar_pcie_ep_probe()
    24bc88f6d28e mfd: Don't use irq_create_mapping() to resolve a mapping
    2edfc28e4a80 PCI: tegra: Fix OF node reference leak
    119f11c0a5fd PCI: tegra194: Fix MSI-X programming
    2338e1b02584 PCI: tegra194: Fix handling BME_CHGED event
    cba893f7193a fuse: fix use after free in fuse_read_interrupt()
    bd95a58ccd96 PCI: Add ACS quirks for NXP LX2xx0 and LX2xx2 platforms
    6bd777c9cece mfd: db8500-prcmu: Adjust map to reality
    28fd51c13227 remoteproc: qcom: wcnss: Fix race with iris probe
    65fa28b7695f dt-bindings: mtd: gpmc: Fix the ECC bytes vs. OOB bytes equation
    d49e2c649480 mlxbf_gige: clear valid_polarity upon open
    0cacc8c5f8b8 net: dsa: flush switchdev workqueue before tearing down CPU/DSA ports
    3e8418e36177 blkcg: fix memory leak in blk_iolatency_init
    2990e56bb82c nvme: avoid race in shutdown namespace removal
    0eb2133475b4 net: hns3: fix the exception when query imp info
    cd0015a07cf7 net: dsa: lantiq_gswip: Add 200ms assert delay
    a4604b3cde1c net: dsa: qca8k: fix kernel panic with legacy mdio mapping
    d2a6d9c240e5 ice: Correctly deal with PFs that do not support RDMA
    084ba1ace0b9 net/mlx5e: Fix mutual exclusion between CQE compression and HW TS
    080ce6343eff Drivers: hv: vmbus: Fix kernel crash upon unbinding a device from uio_hv_generic driver
    4664ad853f4b net: stmmac: platform: fix build warning when with !CONFIG_PM_SLEEP
    dbf905bcd28a net: hns3: fix the timing issue of VF clearing interrupt sources
    39da2bc7e5ac net: hns3: disable mac in flr process
    6f3d5ea0f817 net: hns3: change affinity_mask to numa node range
    ab73511cb258 net: hns3: pad the short tunnel frame before sending to hardware
    acd97a2a900b bnxt_en: make bnxt_free_skbs() safe to call after bnxt_free_mem()
    da15ae0968fa s390/pci_mmio: fully validate the VMA before calling follow_pte()
    722ee4b29a59 powerpc/mce: Fix access error in mce handler
    31f2beef3ef1 powerpc/64s: system call rfscv workaround for TM bugs
    9151f0bdc3a1 KVM: PPC: Book3S HV: Tolerate treclaim. in fake-suspend mode changing registers
    d5bf0fd8f4d1 ibmvnic: check failover_pending in login response
    e7b260fd7309 dt-bindings: arm: Fix Toradex compatible typo
    322b40b5094e udp_tunnel: Fix udp_tunnel_nic work-queue type
    2a791fa9de15 qed: Handle management FW error
    01d935828325 selftest: net: fix typo in altname test
    88ed682408f1 tcp: fix tp->undo_retrans accounting in tcp_sacktag_one()
    e50f1df204d5 x86/uaccess: Fix 32-bit __get_user_asm_u64() when CC_HAS_ASM_GOTO_OUTPUT=y
    893124376b0a net: dsa: destroy the phylink instance on any error in dsa_slave_phy_setup
    43867a55875e net/af_unix: fix a data-race in unix_dgram_poll
    178c282e543f vhost_net: fix OoB on sendmsg() failure.
    e8f84d205910 gen_compile_commands: fix missing 'sys' package
    b5663238281f net: ipa: initialize all filter table slots
    bb84e79f4f79 events: Reuse value read using READ_ONCE instead of re-reading it
    398026b3e1fe powerpc/64s: system call scv tabort fix for corrupt irq soft-mask state
    ae66447e9959 nvme-tcp: fix io_work priority inversion
    48e04f88a216 igc: fix tunnel offloading
    2283da2a64fb net: stmmac: fix system hang caused by eee_ctrl_timer during suspend/resume
    c29323ea0eb6 net/mlx5: Fix potential sleeping in atomic context
    31aec563de90 net/mlx5: FWTrace, cancel work on alloc pd error flow
    bef2db97a77c perf machine: Initialize srcline string member in add_location struct
    a628e6c8eaa7 drm/i915/dp: return proper DPRX link training result
    80e336d29217 rtc: cmos: Disable irq around direct invocation of cmos_interrupt()
    bc9299c5270f drm/rockchip: cdn-dp-core: Make cdn_dp_core_resume __maybe_unused
    2926d3827105 tipc: increase timeout in tipc_sk_enqueue()
    3433e7d135de r6040: Restore MDIO clock frequency after MAC reset
    6e4a2519c912 net/l2tp: Fix reference count leak in l2tp_udp_recv_core
    51f7b364a2d1 dccp: don't duplicate ccid when cloning dccp sock
    3e811a5c96fa ptp: dp83640: don't define PAGE0
    9ac80ef7cc41 net-caif: avoid user-triggerable WARN_ON(1)
    1f2f637b31e5 net/{mlx5|nfp|bnxt}: Remove unnecessary RTNL lock assert
    a2db1c64f2ce net: remove the unnecessary check in cipso_v4_doi_free
    35ee11c8f438 ethtool: Fix rxnfc copy to user buffer overflow
    ba099fe50c0a tipc: fix an use-after-free issue in tipc_recvmsg
    54089df947b0 x86/mce: Avoid infinite loop for copy from user recovery
    d6d35beff5d4 x86/mm: Fix kern_addr_valid() to cope with existing but not present entries
    388e1fd62e8c x86/pat: Pass valid address to sanitize_phys()
    6ed2d5e30cf4 net: qrtr: revert check in qrtr_endpoint_post()
    2aeb3cfb82ae s390/sclp: fix Secure-IPL facility detection
    3405e0d5e4a3 drm/etnaviv: add missing MMU context put when reaping MMU mapping
    ac533196011b drm/etnaviv: reference MMU context when setting up hardware state
    3e8cfbab6c8b drm/etnaviv: fix MMU context leak on GPU reset
    4ad4e5f3f20a drm/etnaviv: exec and MMU state is lost when resetting the GPU
    c80772895cc0 drm/etnaviv: keep MMU context across runtime suspend/resume
    18e0930dd776 drm/etnaviv: stop abusing mmu_context as FE running marker
    d73f98558f4a drm/etnaviv: put submit prev MMU context when it exists
    3ea21946ba7b drm/etnaviv: return context from etnaviv_iommu_context_get
    dc1fd142dcf2 drm/i915/dp: Use max params for panels < eDP 1.4
    d717dcf122ea io_uring: allow retry for O_NONBLOCK if async is supported
    3704a556158e drm/radeon: pass drm dev radeon_agp_head_init directly
    fe232886fb71 drm/amdkfd: separate kfd_iommu_resume from kfd_resume
    815cf7b38a1c drm/amd/pm: fix the issue of uploading powerplay table
    413a8644966a drm/amdgpu: move iommu_resume before ip init/resume
    64ca7170c9b1 drm/amdgpu: add amdgpu_amdkfd_resume_iommu
    2a0dfd8e2878 drm/amdgpu: fix use after free during BO move
    05e7e2d760aa drm/amdgpu: use IS_ERR for debugfs APIs
    ab55e44ea8dc drm/amd/amdgpu: Increase HWIP_MAX_INSTANCE to 10
    deeb5db10001 drm/amd/pm: fix runpm hang when amdgpu loaded prior to sound driver
    05a19da7efcd drm/amd/display: Fix white screen page fault for gpuvm
    c6d921d1e88c drm/amd/display: dsc mst 2 4K displays go dark with 2 lane HBR3
    c5548625a758 drm/amd/display: Get backlight from PWM if DMCU is not initialized
    73892cbd7c88 PCI: Add AMD GPU multi-function power dependencies
    0b4547d3ee46 PM: base: power: don't try to use non-existing RTC for storing data
    06cd58aa18f2 arm64/sve: Use correct size when reinitialising SVE state
    5c687b528a92 bnx2x: Fix enabling network interfaces without VFs
    6860535176f2 xen: fix usage of pmd_populate in mremap for pv guests
    93ce214dc0c4 xen: reset legacy rtc flag for PV domU
    90b2c99e4769 swiotlb-xen: fix late init retry
    4eb05451173e swiotlb-xen: avoid double free
    71e32edd2210 io_uring: ensure symmetry in handling iter types in loop_rw_iter()
    1e93a76c6995 net: stmmac: fix MAC not working when system resume back with WoL active

(From OE-Core rev: cb2b0a78feed4e4ad5db2b0aafa37b39ac358b11)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-07 15:06:34 +01:00
Bruce Ashfield
6625b75c99 linux-yocto/5.14: scripts/gcc-plugins: consistently use HOSTCC
Integrating the following commit(s) to linux-yocto/5.14:

    724df5812165 scripts/gcc-plugins: consistently use HOSTCC

(From OE-Core rev: c849a0695b0f1b1708dd7519e5f39654598663ed)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-07 15:06:34 +01:00
Konrad Weihmann
2be47ef344 libical: fix append in DEPENDS
fix the append with a leading blank, otherwise this messes up
DEPENDS when globally inherited classes add dependecies of their own

(From OE-Core rev: 65aa0e61d613bf395c08636bac0b1a3d080778b8)

Signed-off-by: Konrad Weihmann <kweihmann@outlook.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-07 15:06:34 +01:00
Richard Purdie
80f2b56ad8 reproducible_build: Work around caching issues
SOURCE_DATE_EPOCH can be expanded early in the parsing process before
the class extensions are applied. This can mean the directory pointed
to for the SDE can be incorrect until later in parsing. Cache the file
name in the cached value and allow it to dynamically update.

This isn't ideal but avoding expansion of the variable likely isn't
possible and I'm not sure how else to handle this. This works around
the issue until a better solution can be found.

(From OE-Core rev: 44dc97cd1223e4d2b635669627ec5f796838d42d)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-04 15:03:54 +01:00
Richard Purdie
a26db5c944 abi_version/sstate: Bump HASH_VERSION and SSTATE_VERSION
At this point the hash equivalence and sstate is 'junk' on the autobuilder
unforuntately due to the volume of fixes and also the volume of slighly
not quite right patches tested during the development of the fixes.

In order to try and help any remaining sanity I might have, bump the
version numbers to start with a clean slate so we're working from a known
good baseline rather than risk chasing phantom issues. For those
upgrading, there wouldn't be much reuse anyway after the changes.

(From OE-Core rev: be32692c627a14509de5eb3834e7321c3c5faf25)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-04 15:03:54 +01:00
Richard Purdie
1c37bbab4f image-artifact-names: Use SOURCE_DATE_EPOCH when making reproducible builds for deploy
Using DATETIME means the do_deploy output is not deterministic. Use SDE
when using reproducible builds since it is consistent for given input data.

(From OE-Core rev: 0e2fbdb32bae67e71e904a036a38395efb6ec6a6)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-04 15:03:54 +01:00
Richard Purdie
58298e9717 python3: Drop broken pyc files
The underlying py files are editted so delete the now incorrect pyc files.

(From OE-Core rev: c4a6d4bfb34a2dd9c50859d5b8bd9c6fe227ca81)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-04 15:03:54 +01:00
Richard Purdie
86c7d3e031 sstatesig: Add processing for full build paths in sysroot files
Some files in the populate_sysroot tasks have hardcoded paths in them,
particularly if they are postinst-useradd- files or crossscripts.

Add some filtering logic to remove these paths.

This means that the hashequiv "outhash" matches correcting in more
cases allowing for better build artefact reuse.

To make this work a new variable is added SSTATE_HASHEQUIV_FILEMAP
which maps file globbing to replacement patterns (paths or regex)
on a per sstate task basis. It is hoped this shouldn't be needed
in many cases. We are in the process to developing QA tests which
will better detect issues in this area to allow optimal sstate
reuse.

(From OE-Core rev: d9852ffbbe728dac33dc081538a08af98f52fd4a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-04 15:03:53 +01:00
Richard Purdie
0b4198eeac externalsrc: Fix a source date epoch race in reproducible builds
When reproducible builds are enabled and externalsrc is in use, the
source date epoch function is added. The conditions on the conditional
code removing the unpack task need to match the deltask function, else
the source date epoch function can end up running twice and the functions
can race with each other causing build failures or corruption.

(From OE-Core rev: e82095c02881410035ca23dc12692f074d8ed39b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-04 15:03:53 +01:00
Richard Purdie
aedb8d58ea bitbake.conf: Set vardepvalue for PARALLEL_MAKEINST
If you leave PARALLEL_MAKEINST at its default from PARALLEL_MAKE,
sstate checksums are fine and don't change as the number of cores do.
If you override it to a specific value, this does the cause the sstate
checksums to change. We don't want the checksums to change if the
value of this variable differs.

Therefore set a vardepvalue so a specific value is used for checksum
purposes.

(From OE-Core rev: 0a20d7f462b42800a8420dbb57e6ac8b84770b39)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-04 15:03:53 +01:00
Kristian Klausen
b8c0f073f6 wic/bootimg-efi: Add Unified Kernel Image option
"A unified kernel image is a single EFI PE executable combining an EFI
stub loader, a kernel image, an initramfs image, and the kernel command
line.

[...]

Images of this type have the advantage that all metadata and payload
that makes up the boot entry is monopolized in a single PE file that can
be signed cryptographically as one for the purpose of EFI
SecureBoot."[1]

This commit adds a create-unified-kernel-image=true option to the
bootimg-efi plugin for creating a Unified Kernel Image[1] and installing
it into $BOOT/EFI/Linux/ with a .efi extension per the the Boot Loader
Specification[1][2]. This is useful for implementing Secure Boot.

systemd-boot is the only mainstream bootloader implementing the
specification, but GRUB should be able to boot the EFI binary, this
commit however doesn't implement the necessary changes to the GRUB
config generation logic to boot the Unified Kernel Image.

[1] https://systemd.io/BOOT_LOADER_SPECIFICATION/#type-2-efi-unified-kernel-images
[2] https://systemd.io/BOOT_LOADER_SPECIFICATION/

(From OE-Core rev: b0573f240525df561ddef6e47cb285b217d38487)

Signed-off-by: Kristian Klausen <kristian@klausen.dk>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-04 15:03:53 +01:00
Richard Purdie
75b79d5c05 bitbake: data: Ensure functions are defined in a deterministic order
When writing functions into shell scripts, write then in a deterministic
order. This is unlikely to affect anything at runtime but it does change
the signatures of the generated useradd postinst scripts in OE-Core and is
a good thing to be consistent about in general.

(Bitbake rev: 8a181dc8f3c8c9c9885ea3011cb234321a296d92)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-03 00:37:27 +01:00
Richard Purdie
1b3415acd2 sstatesig: Revert "Test cross/native hashserv method extension"
This reverts commit 2a76082363d189880613765ad339718e3614049d.

We have an issue where x86 host builds are not matching hashes with
aarch64 host builds. We'd expect that for a given target, the target
artefacts should work regardless of the host architecture, compiler
version etc. but this isn't happening and the hashes are differing.
This is due to issues from hash equivalence.

I believe the commit being reverted was added as a test and there were
other fixes at the time which resolved these issues.

As illustration of that, different gcc versions are not cauing issues
with hash equivalence. That should be similar to the aarch64 case vs.
x86-64 and hence if we're not seeing gcc verison issues, we also don't
need this special case. As such, revert it as we don't need it and it
is in fact breaking sstate reuse cross platform.

[YOCTO #14578]

(From OE-Core rev: be67dc551ca15a6f19855e8e99848aab2a33800d)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-02 23:09:22 +01:00
Richard Purdie
830059cdeb image: Exclude IMAGE_VERSION_SUFFIX from expansion in image tasks
Similarly to DATETIME, exclude IMAGE_VERSION_SUFFIX from expansion in
image tasks to ensure the sstate signatures are calculated correctly.

(From OE-Core rev: ceabe8b89f8a0b75d22a286e6f86d260f7e2fd3b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-02 23:09:22 +01:00
Richard Purdie
6a276318af oeqa/selftest/bbtests: Add uuid to force build test
With hash equivalence working properly, this test breaks as it detects
an unchanged tasks and doesn't rerun subsequent tasks.

Add a uuid to the payload to ensure it doesn't ever match
equivalence and the test works as intended.

(From OE-Core rev: d19873b6b5d0068f857a8f9f3686729ba4e67f0f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-02 23:09:22 +01:00
Richard Purdie
089b8d3e7e gobject-introspection: Don't write $HOME into scripts
Writing an expanded version of $HOME into the wrapper script breaks
reproducibility. We don't need this here so don't.

(From OE-Core rev: 5df092524e93cd7d0eaa633ec8a5689d4c0d018d)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-02 23:09:22 +01:00
Richard Purdie
0e7806771e libtool: Allow libtool-cross to reproduce
The hostname removal from the script is useful to make libtool-cross
reproduce. Apply the patch everywhere as it doesn't cause any issues.

(From OE-Core rev: 3c61c6f20187154d677085fc9ccdcd762d4cdf3a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-02 23:09:22 +01:00
Richard Purdie
3539c214dd util-linux: Fix reproducibility
Sort the list of files to ensure the pkgdata output is deterministic.

(From OE-Core rev: 82e683f8f9ae630dea46ec6be6e636e498579835)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-02 23:09:22 +01:00
Richard Purdie
86125379b2 mesa: Ensure megadrivers runtime mappings are deterministic
Add a sort to ensure the package dependency output is determnistic.

(From OE-Core rev: 693e8d0dfe0b475bc233ccc1ad7674d39de346ce)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-02 23:09:22 +01:00
Richard Purdie
9f0b69e91c gnupg: Be deterministic about sendmail
Set a path to where sendmail would exist making the output deterministic
as it no longer depends on the build host and the presense of sendmail
there.

(From OE-Core rev: 32e03a430f13960fe07f08c04eaa58017d977f6c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-02 23:09:22 +01:00
Richard Purdie
a543230b34 package: Ensure pclist files are deterministic and don't use full paths
Currently the pkgconfig pclist files contain full paths which are build
host specific and the order of entries is not deterministic.

Fix both these issues so the files are deterministic.

(From OE-Core rev: e422e29bca4af3ab4073e04490f38b05cd7c38c0)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-02 23:09:22 +01:00
Richard Purdie
b6e74ba64e rpm: Ensure compression parallelism isn't coded into rpms
We don't want the compression thread numbers to be encoded into the rpm
since this results in the rpm not being deterministic. Add a patch
from Alex Kanavin which addresses this issue (was queued for rpm 4.17
but we need to fix this with 4.16 too).

(From OE-Core rev: 1ba0bf50c72f2506dfa507559c49a70e16cd5124)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-02 23:09:22 +01:00
Robert P. J. Day
6c29f198d9 overview-manual: delete bad backslashes in SSTATE_MIRRORS example
Two inappropriate backslashes in the example for setting
SSTATE_MIRRORS are apparently the result of an error by the
transmogrification script for migrating XML to rST.

(From yocto-docs rev: 9cff301a768b248f19fc1d5834f04d3defffcbc7)

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Reviewed-by: Quentin Schulz <foss@0leil.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-02 09:57:41 +01:00
Daniel Wagenknecht
b82097b9c0 ref-manual: add note about license implications of bundled initramfs
Ensure users are aware that usage of INITRAMFS_IMAGE_BUNDLE is only
appropriate for use with GPLv2 compatible software.

(From yocto-docs rev: ecf4582b454aa301905f0f9e3c6f5adb98dc1991)

Signed-off-by: Daniel Wagenknecht <dwagenknecht@emlix.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-02 09:57:41 +01:00
Daniel Wagenknecht
b0eedf4dca common-tasks: add note about license implications of bundled initramfs
Ensure users are aware that usage of INITRAMFS_IMAGE_BUNDLE is only
appropriate for use with GPLv2 compatible software.

(From yocto-docs rev: 1859654663ebb3b051fb6c4da4dc76f0dd46c47c)

Signed-off-by: Daniel Wagenknecht <dwagenknecht@emlix.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-02 09:57:41 +01:00
Robert P. J. Day
65cfd937a2 ref-manual: mention INHIBIT_PACKAGE_DEBUG_SPLIT variable
Following a detailed discussion of PACKAGE_DEBUG_SPLIT_STYLE, it seems
only appropriate to refer the reader to INHIBIT_PACKAGE_DEBUG_SPLIT.

(From yocto-docs rev: d12a6149ed9ec4a5f7c47f4a8c0330c6024c9de5)

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-02 09:57:41 +01:00
Quentin Schulz
f25e408268 ref-manual: fix missed override syntax change
Cc: Quentin Schulz <foss@0leil.net>
(From yocto-docs rev: 527e885fa9beedbdcf9942d0d227862af55fcc40)

Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-02 09:57:41 +01:00
Robert P. J. Day
b6b6e81db1 ref-manual: extend explanation of PACKAGE_DEBUG_SPLIT_STYLE
The current explanation of this variable seems incomplete, so be a
bit more verbose to make sure the reader understands the packaging
possibilities.

(From yocto-docs rev: 1914705f062b232c10624c11fc85935cc454d2eb)

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-02 09:57:41 +01:00
Thomas Perrot
aeb712ebb0 ruby: fix the reproducibility issue
Apply some changes on the Ruby makefiles in order to fix the reproducibility:
- use a fixed timestamp,
- sort linked objects,
- doesn't use the current date,
- and use UTC date.

[YOCTO #14268]

(From OE-Core rev: 59b07ab51ff932a4632a31675445ba4192bae36b)

Signed-off-by: Thomas Perrot <thomas.perrot@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-01 14:51:45 +01:00
Joshua Watt
3115aa157d python3: Fix sysroot reproducibility
Fixes the reformatting of the sysconfigdata to be reproducible in the
sysroot as well as in the package. During this a bug was uncovered in
the way that the data was reformatted where it appears that python
cannot parse a single line of code over 40000 characters. To work around
this, pass a maximum with of "1" to pprint instead of sys.maxsize which
will cause it to wrap as often as possible and should keep it
reproducible.

(From OE-Core rev: 2def2c145c303f27d93ba73876d4c6b214f18166)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-01 14:51:45 +01:00
wangmy
cf08db9f83 strace: upgrade 5.13 -> 5.14
Improvements

Implemented decoding of memfd_secret and quotactl_fd syscalls, introduced in Linux 5.14.
Enhanced prctl syscall decoding.
Enhanced decoding of IFLA_* netlink attributes.
Enhanced decoding of MDBA_ROUTER_PATTR_* mdb router port netlink attributes.
Updated lists of BPF_*, IORING_*, MADV_*, MOUNT_ATTR_*, SCTP_*, and UFFD_* constants.
Updated lists of ioctl commands from Linux 5.14.
Bug fixes

Fixed build using bionic libc.

(From OE-Core rev: bca3d163d9ed804b4c734ac8fe4fa96e1d05906d)

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>
2021-10-01 14:51:45 +01:00
Thomas Perrot
c619d748ab libevent: mark util/monotonic_prc_fallback as retriable
Backport a patch to fix the below ptest failure:
 # ./run-ptest
 Running tests:
 EVPORT
 Skipping test
 KQUEUE
 Skipping test
 EPOLL
 test-eof: OKAY
 test-dumpevents: OKAY (output not checked)
 regress:
  FAIL ../libevent-2.1.12-stable/test/regress_util.c:1478: assert(diff.tv_sec == 0): 1 vs 0 util/monotonic_prc_fallback:
  [monotonic_prc_fallback FAILED]
 1/312 TESTS FAILED. (33 skipped)
 FAILED
 regress_debug:
  FAIL ../libevent-2.1.12-stable/test/regress_util.c:1478: assert(diff.tv_sec == 0): 1 vs 0 util/monotonic_prc_fallback:
  [monotonic_prc_fallback FAILED]
 1/312 TESTS FAILED. (33 skipped)
 FAILED
 [snip]

(From OE-Core rev: edecbbdacab5227c75e4a199e124389f8036b421)

[YOCTO #14507]

(From OE-Core rev: cae0eb03e8e754bd77651fc017b2669f8fd57f75)

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Thomas Perrot <thomas.perrot@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-01 14:51:45 +01:00
Kristian Klausen
3ac9722e0f ovmf: add TPM PACKAGECONFIG and enable if tpm is in MACHINE_FEATURES
By enabling TPM support the boot will be measured into the TPM's
Platform Configuration Registers (PCRs).

(From OE-Core rev: e71280883c217d86b4636da6e549334183f1aff7)

Signed-off-by: Kristian Klausen <kristian@klausen.dk>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-01 14:51:45 +01:00
Chandana kalluri
327ea9d446 scriptutils.py: Add check before deleting path
Add a check before deleting path when using recipetool commands to avoid the following type of errors:

Traceback (most recent call last):
   File "<workdir>/sources/core/scripts/lib/scriptutils.py", line 218, in fetch_url
    shutil.rmtree(path)
  File "/usr/local/lib/python3.7/shutil.py", line 476, in rmtree
    onerror(os.lstat, path, sys.exc_info())
  File "/usr/local/lib/python3.7/shutil.py", line 474, in rmtree
    orig_st = os.lstat(path)
FileNotFoundError: [Errno 2] No such file or directory: '<workdir>/build/tmp/work/recipetool-usg7o81n/work/recipe-sysroot'
ERROR: Command 'script -e -q -c "recipetool --color=always create --devtool -o /tmp/devtool5sq_op37 'file:///<SRCTREE>'  -x <workdir>/build/workspace/sources/devtoolsrcxc1b9zjq -N test" /dev/null' failed

(From OE-Core rev: b6aa8b47e023004ffd6958d1cec18c2d9c95d77b)

Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-10-01 14:51:45 +01:00
Minjae Kim
59a0f26b8a vim: fix CVE-2021-3778
vim is vulnerable to Heap-based Buffer Overflow

reference:
65b6056659
(From OE-Core rev: 494929c4cec21712884e13172c37efad7c908411)

(From OE-Core rev: d7fac573f1e1c9cd93181bce60df5666f5b5b03f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-29 21:47:46 +01:00
Anibal Limon
35b8966e61 recipes-support/ptest-runner: Bump to v2.4.2
Changes,

bcb8280 utils.c: add system data collection when a test gets stuck.
c29240c utils.c: handle test timeouts directly with poll()
d6f509f tests/utils.c: fix a memory corruption in find_word
c10e747 main: Do not return number of failed tests when calling ptest-runner
4958988 utils.c: fix memory leak in run_ptests()
fcfa6a1 clang: clean-ups to avoid -Weverything warnings.
215e52d Makefile: allow using CC env var to pick compiler
fdd233d mem: Simplify memory management
e5e218a mem: Fix memleak for ptest_opts
0dc42eb git: Extend the gitignore

(From OE-Core rev: 710fa373375beb977af704e17a925ed41c9a858d)

Signed-off-by: Aníbal Limón <anibal.limon@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-29 21:47:45 +01:00
William A. Kennington III
3af6389ece rm_work.bbclass: Fix for files starting with -
This makes it possible to name files starting with a hyphen in the work
directory. Without this change rm will fail due to an unexpected option
being passed.

(From OE-Core rev: 5f1a63e0de4921ef970114a16d0827fcddcdaa0e)

Signed-off-by: William A. Kennington III <wak@google.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-28 17:55:04 +01:00
Joshua Watt
17bd442f1a lib/oe/spdx.py: Add comments
Adds several comments to this file to explain the intention and how it
should be used

(From OE-Core rev: 0be0ba70e68b57a3617d3c1ea4b6233b37d5d648)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-28 17:55:04 +01:00
Saul Wold
6d98af48f4 create-spdx: Use SPDXAnnotation to track native recipes
Create a small function that checks for 'isNative' as part of an Annotation

When the collect_dep_sources() runs, it collects sources from both native
and non-native recipes. Later when the GENERATED_FROM matching occurs it
may find the file (via checksum) from the native recipe since it's the
same checksum as the target file. The that are generated DocumentRefs
point to the native recipe rather than the target recipe DocumentRef.

(From OE-Core rev: ba5ec03986a0bce8dccbc381fd34e44b8a135e66)

Signed-off-by: Saul Wold <saul.wold@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-28 17:55:04 +01:00
Saul Wold
859e6a0d00 spdx.py: Add SPDXAnnotation Object
This is added to allow the create-spdx code to create annotations
that store values properly according to the SPDX Specification.

Initialy they will be used to track if a recipe is a native type.

(From OE-Core rev: 8db551bba619f3b3612c59270043148214a462cc)

Signed-off-by: Saul Wold <saul.wold@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-28 17:55:04 +01:00
Kenfe-Mickael Laventure
64ebd0d97c package_ipk: Use localdata store when signing packages
When signing a package, we were resolving the `PKGV` version using the
original data store (`d`). However, since that store does not have the
package name in its `OVERRIDES` list the wrong version can be returned in
recipes that produce multiple packages. One such example would be
`external-arm-toolchain.bb`.

The above issue is fixed by using `localdata` instead of `d` when
resolving the needed variables.

(From OE-Core rev: 2b5f01cf5a92a873ac4c3f0ba0584cab2cc05714)

Signed-off-by: Kenfe-Mickael Laventure <mickael.laventure@verkada.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-28 17:55:04 +01:00
Saul Wold
0e80ffc6c8 spdx-licenses.json: Use 3.14 tagged version
The validation tools expect the licenseListVersion to be a proper X.Y version,
not an intermedite git hash version.

(From OE-Core rev: b96bb3fe6e17a194db0dcb86d2877946eaa77341)

Signed-off-by: Saul Wold <saul.wold@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-28 17:55:04 +01:00
Richard Purdie
da9409d26e glew: Stop polluting /tmp during builds
Currently the glew code creates a new directory in /tmp for each make
invocation. This is a bit ugly, don't do that. The patch does break the
dist targets but we don't use them.

(From OE-Core rev: 3a55194f90e11da5671b24391a4aaf2b86a8e1e6)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-28 17:55:04 +01:00
Trevor Woerner
4ba745f828 hello-mod/hello.c: convert printk to pr_xxx
Convert to the newer pr_xxx aliases for logging, which embed the log level in
the macro names.

(From OE-Core rev: be119ead6d5bb01a50f78fd34024ded1289c9fd7)

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-28 17:55:04 +01:00
Rasmus Villemoes
165b089a7d kernel.bbclass: remove unnecessary dead code
The grep pattern seems to have been wrong ever since we stopped adding
the -ffile-prefix-map via a patch in commit 20aea61385e, because the
actual upstream gcc produces

  -ffile-prefix-map=<old>=<new>

and not

  -ffile-prefix-map=<old=new>

Besides, these *-prefix-map options are already used when building the
kernel due to the setting of KERNEL_CC, and the kernel build system
itself also probes for and uses at least -fmacro-prefix-map (hence
taking care of __FILE__ etc., but not necessarily things that go in
.debug_info sections).

(From OE-Core rev: 5d56de8cd653d2a3a7f4c104d50c14e22d412f66)

Signed-off-by: Rasmus Villemoes <rasmus.villemoes@prevas.dk>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-28 17:55:04 +01:00
Michael Halstead
0afeb9f740 releases: update to include 3.1.11
Adding 3.1.11 to documentation switcher and release list.

(From yocto-docs rev: 29fb29547322520698b13a4d7c94dbb8defa93b1)

Signed-off-by: Michael Halstead <mhalstead@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-28 07:49:57 +01:00
Richard Purdie
a3d96f122c oeqa/selftest/tinfoil: Update to use test command
We've had IO load issues on the autobuilder with this test. Avoid
those by using a specilised test command instead.

(From OE-Core rev: 106445b1eb74fc37e03c72a0c011541b50a16c19)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-26 16:35:00 +01:00
Markus Volk
37b4fa7a10 wic:direct.py: ignore invalid mountpoints during fstab update
wic fstab-update creates invalid entries for partitons that are not supposed to
be mounted from userspace eg u-boot partitions.

The following lines were added to fstab on a rock-pi-4:
/dev/mmcblk1p1 loader1 vfat defaults 0 0
/dev/mmcblk1p2 reserved1 vfat defaults 0 0
/dev/mmcblk1p3 reserved2 vfat defaults 0 0
/dev/mmcblk1p4 loader2 vfat defaults 0 0
/dev/mmcblk1p5 atf vfat defaults 0 0
/dev/mmcblk1p6 /boot vfat defaults 0 0

With this patch only valid entries should be added
/dev/mmcblk1p6 /boot vfat defaults 0 0

(From OE-Core rev: 7aa678ce804c21dc1dc51b9be442671bc33c4041)

Signed-off-by: MarkusVolk <f_l_k@t-online.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-26 16:35:00 +01:00
Richard Purdie
c4f0ccb561 libc_package/buildstats: Fix python regex quoting warnings
(From OE-Core rev: 6a8077317ce12e13018ec4472f728dd24880bda9)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-26 16:35:00 +01:00
Richard Purdie
694a1ae8f8 oeqa/buildproject: Ensure temp directories are cleaned up
(From OE-Core rev: d10aff865120a5feecc42c24726bd119364e0188)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-26 16:35:00 +01:00
Richard Purdie
4252b89865 oeqa/selftest/gotoolchain: Fix temp file cleanup
The go tests leave readonly files and directories behind.
Fix this to allow cleanup.

[YOCTO #14575]

(From OE-Core rev: 5680e95d7bd9fe00a797b2d0deb8cb4790027508)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-26 16:35:00 +01:00
Richard Purdie
2446bdf59a bitbake: cooker/command: Add a dummy event for tinfoil testing
We need a command genetating an event to test through the tinfoil API. The
current test has IO load issues so add a dummy version which won't have
the IO constraints.

(Bitbake rev: a144178584394ea0700ffc2f2bfac94e8690effc)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-26 16:35:00 +01:00
Richard Purdie
72e03d8a91 bitbake: siggen: Fix sorting in diff output
The diff output isn't deterministic at the moment as the sets can have differing
ordering. Sort the output so it is consistent.

(Bitbake rev: 117830c1d7ef3e53052fa326e1ca62c5c3946c45)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-26 14:37:34 +01:00
Richard Purdie
eab1c2087f bitbake: bitbake-worker: Allow shutdown/database flush of pseudo server at task exit
We have a problem where pseudo server processes exist after bitbake exits
and hold the pseudo database in memory. In a docker container, the processes
will be killed as the container is destroyed with no warning and no opportunity
to write the data to disk. This leads to permissions/inode corruptions and
data loss.

Send a shutdown message to pseudo which in new versions of pseudo will flush
the database, thereby fixing some of the issues people using docker containers
see.

(Bitbake rev: a07a971b40acd3eee12e203d2cfa3e49f56109f6)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-26 14:37:34 +01:00
Bruce Ashfield
2692037fec yocto-bsp/5.13: drop recipes
5.13 has been removed from core, and we've moved the default
support to 5.14, so we can drop our bbappend.

(From meta-yocto rev: 5cb9ef98c90321ae5d57123d82b68f14e6c85f39)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-26 14:37:05 +01:00
Richard Purdie
4e5321e4bb packagegroup-core-tools-profile: Exclude systemtap from riscv32 as well
The recipe can't be built for riscv32 so exclude it alongside riscv64.

(From OE-Core rev: 61feb650ac450db0a30675fc40bb65fab773159a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-26 14:36:48 +01:00
Matt Madison
d6a0c61432 autotools.bbclass: use ordinary append for file-checksums update
Commit 29daffc2410f06f36b779d5bf1fd1ef6e900ca8f added an
anonymous python function to append the site file dependencies
for do_configure. This causes any recipe that inherits allarch
after autotools to end up with a different set of file checksums
for each machine, since the anonymous python would get processed
before the TARGET_ARCH changes in allarch.

Use an ordinary += assignment to fix this.

(From OE-Core rev: 60af398f520c938600205ef40e27f90e5342209c)

Signed-off-by: Matt Madison <matt@madison.systems>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-26 14:36:48 +01:00
Richard Purdie
a6f6bcb9db pseudo: Add in ability to flush database with shutdown request
Pulls in:
  pseudo_db: Flush DB if there is a shutdown request
  fcntl: Add support for fcntl F_GETPIPE_SZ and F_SETPIPE_SZ (test fix)

(From OE-Core rev: 0882095d608ce3abbcc9814517434c21ea549063)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-26 14:36:48 +01:00
Richard Purdie
1d2e3d006a oeqa/qemurunner: Use oe._exit(), not sys.exit()
sys.exit will cause finally statements and other code to run at exit. Since
we're using os.fork() here, os._exit() is apprioriate in this codepath.

(From OE-Core rev: ec08498ff29de9ccd23be88b9d7af3dab6bbb81e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-26 14:36:48 +01:00
Tom Pollard
24a32132a5 libsamplerate0: Set correct soname for 0.1.9
Manually patch SHARED_VERSION_INFO, which was missed in
the 0.1.9 release and later incorrectly fixed until 0.2.1

(From OE-Core rev: cb2e8efd316d44b9b1453882114856e0eb7b3500)

Signed-off-by: Tom Pollard <tom.pollard@codethink.co.uk>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-26 14:36:48 +01:00
Tom Pollard
7f66855d11 bzip2: Update soname for libbz2 1.0.8
Set shared library name as libbz2.so.1.0.8, version in configure.ac
already synced via do_configure PV substitution.

(From OE-Core rev: 07e3abc9d282a54add69a6905ec4248f3104219f)

Signed-off-by: Tom Pollard <tom.pollard@codethink.co.uk>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-26 14:36:48 +01:00
Bruce Ashfield
8bcec870b4 linux-yocto/5.13: drop recipes
5.13 is EOL upstream, and we've moved to 5.14 for the release, so
we drop the versioned recipes. The kernel tree and branches will
stay available for use, but other layers must create recipes if
they wish to continue with 5.13.

(From OE-Core rev: b08456824ce5d8701ddd2db0be3f8f2f4894853c)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-26 14:36:48 +01:00
Bruce Ashfield
b5fba5026b lttng-modules: fix build against 5.15+
When testing linux-yocto-dev 5.15-rc, lttng-modules fails to build.
Upstream already has fixes for 5.15 in the release branch, so we
backport the two patches here and we can drop them on the next version
bump.

(From OE-Core rev: af17b507009be14d6f7069d39feb1fbd7563471d)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-26 14:36:48 +01:00
Bruce Ashfield
7b39470660 lttng-modules/dev-upstream: update to 2.13-latest
To ensure we can build against 5.15, and to keep in sync with the
versioned recipe, we bump to the latest commit on the 2.13 release
branch.

(From OE-Core rev: 1317bd6f92f32444301c5f6cf0c98e7a64e92f66)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-26 14:36:48 +01:00
Bruce Ashfield
eb61ab4088 linux-yocto-dev: update to v5.15-rcX
The main reference kernel has moved to 5.14, so we bump -dev to
5.15 for the release.

(From OE-Core rev: 36e3ae14af7df8584063e5aac4fa32a57542c3a3)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-26 14:36:48 +01:00
Kiran Surendran
bcf0b25248 ffmpeg: fix CVE-2021-38171
backport from upstream

(From OE-Core rev: 3cb40cabc79e4c9b4ffaf99543368b0c57d18df1)

Signed-off-by: Kiran Surendran <kiran.surendran@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-26 14:36:48 +01:00
Yi Zhao
eafac9940a inetutils: fix CVE-2021-40491
CVE-2021-40491:
The ftp client in GNU Inetutils before 2.2 does not validate addresses
returned by PASV/LSPV responses to make sure they match the server
address. This is similar to CVE-2020-8284 for curl.

References:
https://nvd.nist.gov/vuln/detail/CVE-2021-40491

Patch from:
https://git.savannah.gnu.org/cgit/inetutils.git/commit/?id=58cb043b190fd04effdaea7c9403416b436e50dd

(From OE-Core rev: 1b857807f1cf8fee3175f8479a0c7cb1850bd9a9)

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-26 12:05:03 +01:00
Kevin Hao
06dcace68b meta-yocto-bsp: Update the default kernel to v5.14
Introduce the bbappend for v5.14 and also set the default kernel to
v5.14 for all the boards.

(From meta-yocto rev: bed70a64b5b772fd71a7ff88a9f3719082e9398c)

Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-24 10:15:29 +01:00
Bruce Ashfield
414c5f1103 poky: set default kernel to 5.14
both -rt and -standard have been updated to 5.14, so we switch out
defaults.

(From meta-yocto rev: 952a771f5707d9e84beee6195b7a3cfb3a930702)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-24 10:15:29 +01:00
Bruce Ashfield
c744decea1 conf/machine: bump qemu preferred versions to 5.14
5.14 is the latest reference kernel, so let's make it the
default.

(From OE-Core rev: af19c44c4af68568de2ddb5c11d8ad34ac600522)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-24 10:15:28 +01:00
Bruce Ashfield
99fcf48327 systemtap: update to 4.5-latest
To fix issues with 5.14+ kernels, we bump to the latest 4.5 systemtap.
This means that we can drop a backported patch, and we pickup the
following changes:

    7f6992539 Correct RISC-V handling of SDT markers and document their format.
    2dfd140fd Fix races in perf probe task finder callback
    f463f6053 The /* pc=0x... */ is no longer printed by "stap -v -L 'kernel.function("*")'
    0bd97a806 Use task_state tapset function to avoid task_struct changes
    4996a29c6 tapset: start adopting kernel netif_* tracepoints in netdev.* tapset
    fb0851e62 dwflpp.h: add conditional EM_RISCV define
    c5599df8e Add dwarfless register access for RISC-V
    33d861435 Add bactrace support for RISC-V
    2ae3fc866 RISC-V dwarf register number to pt_reg mappings
    3df603720 Eliminate the sa_restorer field in sigaction struct for RISC-V.
    a6aff9d33 Avoid generating problematic asynchronous unwind tables on RISC-V
    a463860c3 Add RISC-V 64-bit processor support
    8486fd78d Add the actual RISC-V syscall-number mappings to the tapsets.
    1e383aa38 Add creation of mappings between syscall names and numbers for RISC-V
    aedb2dbe7 RISC-V doesn't have crash available, disable it for rpmbuilds.
    33a9bf1a1 Update to newer config.guess to support RISC-V
    3bca17469 Use lex_cast instead of to_string when shortening function names.
    0b5bc934a Revert "runtime: unregister the control channel before cleaning up"
    166a95089 runtime: fix panics when polling on the control channel while unloading
    e6a1b008b Shorten function names that will exceed the kernel's objtool limit of 128
    4f54ba033 runtime/transport: add a comment blurb for ordering invariant at shutdown
    dbe08f1ac runtime: unregister the control channel before cleaning up
    798a67290 bpf pr23478 :: test non-unique key/val iteration
    079f5d708 bpf pr23478 :: test multi-key associative array iteration
    70b24879d rhbz1938312: un-disable bpf.exp after kernel bugfix
    2896d6f5a pr23478 WIP: fixes for existing foreach testcases
    0d1a38dbc pr23478 WIP: rework bpf foreach to handle multi-key array
    14a2c8f54 Run task_fd_lookup.exp with --compatible 4.0
    f2c147767 PR28184: Adapt to kernel rename __fcheck_files to files_lookup_fd_raw
    0581a6560 PR28184: Adapt to kernel rename __fcheck_files to files_lookup_fd_raw
    559fd51fe testsuite: time-limit auxiliary child processes
    5d89bb03e stapbpf bugfix: missing in_block() in try-catch code
    04b43f48f releng: ditch custom pie/ssp CFLAGS engine in configure.ac
    b47d03c20 PR28079: Adapt to kernel 5.14 task_struct.__state change
    e66f3a83b runtime: adapt to -Werror=implicit-fallthrough=5, dyninst runtime
    ea00c1070 PR28140: kernel 5.14-rc adaptation, jump_label_patch
    ffb0a38ea runtime: adapt to -Werror=implicit-fallthrough=5
    efba2178f Revert to using test_tsk_thread_flag for uprobes2
    23db8b29f PR27984: Adjust the address so dwfl_module_addrinfo finds correct function name
    a29f65d57 PR28079: Adapt to kernel 5.14 task_struct.__state change
    2f7e966c0 testsuite item typo fix
    5abb4d130 PR27934: give fuller diagnosis for pass-5 probe-registration errors
    371805aa0 PR27820 tapset/bpf/logging.stp: implement abort() tapset function
    ee361f183 PR27820 tapset/bpf/logging.stp: move bpf versions of functions
    968173f7f runtime: linux 5.14 compat: <linux/panic_notifier.h>
    ef5a8b9ed runtime: fix unintended compile error with autoconf-x86-uniregs.c
    84ef6bd9f Revert "systemtap.spec: don't buildrequire emacs"
    65fc44163 spin-rawhide: ok tweak the git-archive top level path too
    c7f1c12e1 spin-rawhide: switch to ~ versioning for Source: file names too
    bff2b2ff5 spin-rawhide: switch to ~ versioning for n-v-r
    7c2751e37 task_finder_vma: add autoconf check for hlist_add_tail_rcu()
    ea7c27bbe Don't fail vma tracking mmap callback if module is already known.
    2eb7fdfdb Use the path instead of the module for vma tracking mmap callback.
    a5104a612 update READMEs + man pages for freenode -> oftc move
    23c351645 Update list of reasons for latencytap.stp example
    5409ddea1 rhbz1972805: add basic syscall-in-ptregs support for s390x
    0fc73fc4e systemtap.spec: don't Require: libvirt
    515a6a2d6 rhbz1972828: tapsets: iommu tracepoints
    eaf63df6a ppc64 runtime: FULL_REGS() gone
    757d4f654 c++ buildability: util.cxx - unique_ptr
    1a6e7aea7 systemtap.spec: don't buildrequire emacs
    5ff28c970 Allow for adjacent segments belonging to different modules.
    b1e8cd5de Note that Python is a requirement.
    27115ab4c Get the enumerator's enumeration type
    1288bee31 testsuite/systemtap.base/perf.sh drop bashism
    4755bc453 Add hlist macros for use by hlist_add_tail_rcu
    bccf5123f parse.cxx: Initialize functioncall synthetic field
    9bbee6518 Add hlist_add_tail_rcu for rhel 6.
    630e406b8 Don't assume ISO C99
    4a3ad3532 Extend vma mapped entries when the address is adjacent.
    294b7a53e stap-prep: switch to using main vmlinuz file as debuginfod test download
    643351d22 PR27903: grok more glibc dwarf
    3a843482a c++11 hygiene: use cxx_override macro for pre-4.7 g++
    3e9bcd7b1 Fix more -Wformat-nonliteral and -Wmismatched-tags when compiling with clang
    8e5145ae4 dtrace: Use -o option to specify output file for CPP
    b3a392975 Fix -Wformat-nonliteral and -Wformat warnings with clang
    545535f82 Fix -Woverloaded-virtual warnings when building with clang
    0f4bd3219 set2: Return this from assignment operator
    6de815bca Add missing copy constructors to set1_ref and set1_const_ref
    930b54119 Add some override specifiers where missing
    14f04522b util.cxx: Use abs() instead of labs()
    13016e9dd systemtap.spec: python3 tweaks
    494ece199 PR27864: tolerate loc_unavailable during loc2c transform
    e8f5c058f autoconf: version bumps for the next release-4.6
    77abac91d version bumps for the next release-4.6
    0eba8a46b NEWS: release-4.5

(From OE-Core rev: aa27c2e7570f229bf82f18cf07aae93ba96ca9f6)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-24 10:15:28 +01:00
Bruce Ashfield
073321803b linux-yocto: introduce 5.14 reference kernel
Each release of the kernel is not typically used as a versioned
reference kernel, but since 5.13 has gone EOL upstream and was
never part of a release, we take the opportunity to udpate our
reference to 5.14.

5.13 will be removed in subsequent commits, once all dependent
BSPs and layers have been updated.

No issues were found across all architectures, images in qemu
boot testing.

(From OE-Core rev: 634760461542a14bbf3625ff12393dc7428f6001)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-24 10:15:28 +01:00
Bruce Ashfield
f66dbd933d libc-headers: bump to v5.14
The reference kernel is moving to 5.14, and 5.13 is EOL upstream, so
we update the libc-headers to match.

No patch issues were found for musl or glibc.

(From OE-Core rev: 3cdaf2cb64303bc58ab8be40fce4091b5a7809b4)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-24 10:15:28 +01:00
Changqing Li
fc0e7347f7 lttng-ust: fix do_compile error when PACKAGECONFIG examples is enabled
when PACKAGECONFIG enabled examples, compile failed with error:
fix below compile error during PACKGAGECONFIG examples is enabled:
tmp/work/corei7-64-wrs-linux/lttng-ust/2_2.13.0-r0/recipe-sysroot-native/usr/bin/x86_64-wrs-linux/../../libexec/x86_64-wrs-linux/gcc/x86_64-wrs-linux/11.2.0/ld: warning: liblttng-ust-common.so.1, needed by ../../../src/lib/lttng-ust/.libs/liblttng-ust.so, not found (try using -rpath or -rpath-link)
tmp/work/corei7-64-wrs-linux/lttng-ust/2_2.13.0-r0/recipe-sysroot-native/usr/bin/x86_64-wrs-linux/../../libexec/x86_64-wrs-linux/gcc/x86_64-wrs-linux/11.2.0/ld: warning: liblttng-ust-tracepoint.so.1, needed by ../../../src/lib/lttng-ust/.libs/liblttng-ust.so, not found (try using -rpath or -rpath-link)

(From OE-Core rev: 907ebb5bb3d44dd5f68deb238098fb6f6413e2d4)

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-23 22:13:53 +01:00
Richard Purdie
d08c9290e8 oeqa/selftest: Add tests for bitbake shell/python task output
We've seen issues where shell/python tasks lose their log file entries
or output and also where output is duplicated. Add some tests to attempt
to spot regressions in this area in future.

(From OE-Core rev: 414020a9bd656ee61efe2f47db1b31d86b15c1c8)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-23 22:13:53 +01:00
Richard Purdie
7d0437c4e8 bitbake: build: Fix log flushing race
There is a race between sending the TaskFailed event which could trigger
the UI to look at the logs and flushing and closing the log files.

Reverse the order of the finally clause and the exception handling
to ensure we've handled the logfiles before sending the task events.

This should fix a race seen in bblogging.BitBakeLogging.test_python_exit_logging

(Bitbake rev: 032190aac31604d37740d8aecf6e74a5448de358)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-23 22:13:08 +01:00
Richard Purdie
3d06c164dd bitbake: build: Make exception printing clearer
Shows:

ERROR: SystemExit(1)

instead of:

ERROR: 1

(Bitbake rev: df89e37c33e4398a5f8ece9a8b973be3fe2ff361)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-23 22:13:08 +01:00
Richard Purdie
8f1c2f851a bitbake: build: Ensure python stdout/stderr is logged correctly
Currently we see things like:

Log data follows:
| DEBUG: Executing python function do_pythontest_exit
| DEBUG: Python function do_pythontest_exit finished
| ERROR: 1
| This is python stdout

Whilst after the change we see things like:

Log data follows:
| DEBUG: Executing python function do_pythontest_exit
| This is python stdout
| DEBUG: Python function do_pythontest_exit finished
| ERROR: 1

since the output is now correctly mixed with the log messages. In some cases the logging
tests indicate the output is being lost entirely which is bad for debugging and makes
things rather confusing.

(Bitbake rev: 8966b43761500e0505333d8c9a3f0f2c3dbe7559)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-23 22:13:08 +01:00
Richard Purdie
10e7310730 ssate: Cleanup directtasks handling
There are several tasks which should only be triggered by direct
dependencies. Some are listed in the dep loop, some are not. They
should all be in both cases.

Fix this by making a list and using the list in both cases to fix
various inconsistencies.

(From OE-Core rev: 29d285bc07bd7732c7ea39c0fd03c0b3c0d93e52)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-23 13:52:08 +01:00
Richard Purdie
fb69823486 sstate: Avoid deploy_source_date_epoch sstate when unneeded
This sstate task is only needed when depended upon, it can be skipped
if there are no tasks running that directly depend upon it.

This reduced the number of sstate tasks in something like an image
build.

(From OE-Core rev: 601cee016da5c7505915e26641a085714de175ce)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-23 13:52:08 +01:00
Richard Purdie
1d394c64f5 sstate: Ensure deploy tasks don't pull in toolchains
If an image is built from sstate, the cross toolchain was being pulled in.
This was due to the sstate dependencies for deploy tasks not being considered
in the "depvalid" logic.

do_deploy tasks do not need their populate_sysroot dependencies when installed
from sstate so skip these. This reduces the sstate pulled in by an image
build from sstate significantly.

(From OE-Core rev: 8047c184f8266fc047c0e5a5524586d414528626)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-23 13:52:08 +01:00
Richard Purdie
353171e841 staging: Mark deploy an sstate task
Deploy is a tricky task as it isn't in SSTATETASKS as it isn't always
present. We do need to ensure dependency chains around do_deploy tasks
are correctly handled as sstate tasks though. For now add to the list of
sstate tasks manually (like the other locale task reference).

Without this, missing manifest files could be reported now that do_deploy
tasks no longer have their dependencies added by the depvalid function.

(From OE-Core rev: 1fdbe550323b98ca67ed7130f5a0d7d626bd2c64)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-23 13:49:11 +01:00
Richard Purdie
d19571cefc meta: Drop useless class
This class was added by me back in 2007 and has changed one for a whitespace issue
since. It only has two lines and neither are particularly useful, one was replaced
by the nopackages class, the other adding recursive dependencies also is now
mainly problematic adding tons of unneeded dependencies. The name is hard to
understand and the class doesn't have a clear purpose. Drop it.

Remove the references in devtool (which may be the one reason to keep it around
but in my view still not worth it).

(From OE-Core rev: 6e2cbfc561dac89bf9183d24d90e52f7d9117826)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-23 13:49:11 +01:00
Richard Purdie
8568adfc18 buildtools-tarball/uninative-tarball/meta-ide-support: Drop useless meta class
The class adds an emtpy PACKAGES setting but most code now uses the
nopackages class which is much clearer. It also adds recursive do_build
dependencies which don't really serve any useful purpose any more.

Simplify the code and drop the class use.

(From OE-Core rev: 030d56e2e8ece93472adc51fe467221d846c9ac0)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-23 13:49:11 +01:00
Richard Purdie
ad7cdc4f01 populate_sdk_base/images: Drop use of 'meta' class and hence do_build dependencies
The 'meta' is old and not very useful. It empties PACKAGES and creates
recursive do_build dependencies.

We shouldn't need such recursive build dependencies any more so simplify the code.

This does cause behaviour changes as some dependencies are no longer built.
It did show up issues with qemu-helper-native handling for example but those
issues look like real races and the underlying dependency chains were not correct.

'bitbake XXX --runall build' would give the previous behaviour.

(From OE-Core rev: 41d7f1aa2cc9ef5dba4db38435402d4c9c0a63e1)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-23 13:49:11 +01:00
Richard Purdie
4aa4eadecb reproducible_build/package_XXX: Ensure SDE task is in dependency chain
(From OE-Core rev: 938e4dfb68a465f61cb754b2cd28d0728616b5a9)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-23 13:49:11 +01:00
Richard Purdie
568f62214b package_ipk/deb/rpm: Drop recursive do_build task dependencies
This is a controversial change which removes the recursive dependencies
from the do_build target of packaging tasks of recipes.

Currently this means when you "bitbake <image>" or "bitbake <recipe>",
the packaging tasks run for all packaging backends enabled for all recipes
in the dependency chain. The same therefore then applies to images.

We don't actually need that, it is a convinience thing. Removing it
massively simplifies the task graph and causes much fewer tasks to execute
in many common scenarios. It also means less sstate is fetched for
example when building an image.

This means when building a recipe all package formats would be built
but when building an image, only the format used by the image would be
generated. This should be an improvement in most cases but some CI systems
may need to be explict about what they're building.

'bitbake XXX --runall build' would give the previous behaviour.

(From OE-Core rev: 220d29a5abb5be8b80c64d8f2f48949bc8c534a3)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-23 13:49:11 +01:00
Richard Purdie
3dfd4ed0ef siteinfo/autotools: Ensure task checksums reflect site files
Currently, if you change the site files, nothing rebuilds since they are
not accounted for in task checksums. They could/should be through the
file-checksums task flag. We need to cache all the files looked for,
whether the exist or not so that if they do exist and didn't,
the checksum also changes.

This gets complicated by the need to clean out hardcoded build
paths from the variable and that other layers can have site files.

This patch adds this functionality. A new variable, SITEINFO_PATHVARS
is added which controls which substitutions to make on the file-checksum
values to remove the hardcoded paths. Layers adding site files will need
to set this to a variable that has the layer path in it and is excluded
from task hashes (COREBASE is the one the core layer uses).

This patch will cause yocto-check-layer to fail for some layers
where site files are added yet the layer isn't a machine specific layer.
This is arguable correct since these additional site files apply to
all recipes and things from a layer like core could be changed by such
changes so it is right they should rebuild. There is a determinism issue
potentially there if not. meta-openembedded does have some such references
but looking at them they should move to core or likely just be removed as
most look obsolete anyway.

[YOCTO #13729]

(From OE-Core rev: 29daffc2410f06f36b779d5bf1fd1ef6e900ca8f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-23 13:49:11 +01:00
Richard Purdie
282d596b8c image/qemu: Add explict depends for qemu-helper addto_recipe_sysroot task
The populate_sysroot task isn't enough for qemu-helper-native, we need
it's addto_recipe_sysroot task. This corrects what amounts to bad
dependency information to be explicit.

(From OE-Core rev: 55623420208bc4c77a61492d2bbcbc71d3123acd)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-23 13:49:11 +01:00
Khem Raj
bea6a00da3 site: Drop ORBit2 relared cached variables
ORBit2 is long gone

(From OE-Core rev: a5c5dd9229553e0e364f083d661382fe0c15600c)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-23 13:49:11 +01:00
Khem Raj
68be1b4a90 site: Drop caching libIDL_cv_long_long_format
recipe for libidl has long been deleted

(From OE-Core rev: 587d0b51b09cd426dc4b2b7646fa063d10ae4f2f)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-23 13:49:11 +01:00
Steve Sakoman
40c44728ab connman: add CVE_PRODUCT
Upstream database uses both "connman" and "connection_manager" to report CVEs

(From OE-Core rev: eadf7bb17289731be9747822e3d4084ab69cf109)

Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-23 13:49:11 +01:00
Richard Purdie
d40438e247 scripts/oe-publish-sdk: Disable git gc to avoid build errors
I've puzzled over why I see local eSDK test failures. It is due to having a
messy git tree locally, git then runs git gc in the background which races
against the deletion code for the publish test. Disable git gc to avoid this.

(From OE-Core rev: d938a74097202396beda2e3bb4f582342d6dfa1b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-23 13:49:11 +01:00
Richard Purdie
8c5ecd2e21 bitbake: tests/fetch2: Use our own git server for dtc test repo
(Bitbake rev: 36f6dce1b21a7d9f39a73f081395c71045960318)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-22 22:45:24 +01:00
Ross Burton
48587b5e63 oeqa/target/ssh: don't assume target_dumper is set
The target_dumper property is only set by the QemuTarget subclass, so
assign a default value and check it isn't None before calling it.

(From OE-Core rev: add36cf85380bf7dc5339a9d65f951923317440b)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-21 23:44:08 +01:00
Richard Purdie
7be05f5228 pybootchart: Avoid divide by zero
Avoid a rare divide by zero error if there isn't data point spread.

[YOCTO #14547]

(From OE-Core rev: d7e36d01e87ddf89f76f164a0b7d98f597a53fa5)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-21 23:44:08 +01:00
Ross Burton
e030167881 libsoup-2.4: remove obsolete intltool dependency
This hasn't been needed since libsoup 2.65.2.

(From OE-Core rev: 250a3f9a804917c8a9427d0209365d27b1b8fa4a)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-21 23:44:08 +01:00
Ross Burton
300b51ac6b shared-mime-info: use a more concise description
For example we don't need to talk about historic build dependencies.

(From OE-Core rev: b67ae98ef803b889fceb5713c539504d48f1a926)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-21 23:44:08 +01:00
Richard Purdie
3f53f869ae cross: Drop unused do_install
All the users of the cross class I could find redefine the do_install
function. It is unusual and likely undesirable for the class to be
changing this from the default and likely a leftover from different
times. Remove it as it isn't doing anything.

[YOCTO #9272]

(From OE-Core rev: 72f0e03a6909e6856510d913863fc9301de32cec)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-21 23:44:08 +01:00
Ross Burton
27024e544b avahi: remove obsolete intltool-native dependency
intltool was replaced with gettext in the 0.8 release.

(From OE-Core rev: 0438c8e73419c0a81bbb42f777eb3e36f4878e79)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-21 23:44:08 +01:00
Jon Mason
23cf785f0c testimage: remove aarch64 xorg exclusion
aarch64/qemuarm64 has had graphics support for some time.  Remove this
exclusion and allow graphics tests to be against qemuarm64.

(From OE-Core rev: 1b436e4894663fa76865636b0b41c0c1503cc3bf)

Signed-off-by: Jon Mason <jdmason@kudzu.us>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-21 23:44:08 +01:00
Martin Jansa
689097cdf3 qemu-native: add direct dependency on ninja-native and meson-native
* with many native dependencies excluded in:
  layer.conf: Extend recipes not to install without explict dependencies
  this was now failing with:
  ERROR: Cannot find Ninja
  and after adding ninja-native to DEPENDS it was failing due to missing meson as well:
  /OE/build/oe-core/tmp-glibc/work/x86_64-linux/qemu-native/6.0.0-r0/qemu-6.0.0/configure: 6415: --version: not found
  /OE/build/oe-core/tmp-glibc/work/x86_64-linux/qemu-native/6.0.0-r0/qemu-6.0.0/configure: 6418: setup: not found

(From OE-Core rev: 7b2dfb49105e6465c5436869863e6a9720c60bbd)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-21 23:44:08 +01:00
Richard Purdie
50c1efdeb9 lttng-tools: Add missing DEPENDS on bison-native
This was being provided by other pieces of the dependency chain but is
specifically required by configure and could fail if those pieces come
from sstate. Fix such builds by adding the missing dependency.

(From OE-Core rev: ba2587beb2a3fb0ef9139f846e161542d2c5c4ae)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-21 23:44:08 +01:00
Richard Purdie
596cbbf615 recipes: Add missing pkgconfig inherit
Various recipes were missing a pkgconfig inherit or pkgconfig-native
dependency despite using pkgconfig.

Add the inherit to igt-gpu-tools/gdb/libmodulemd/libwpe/xwayland/waffle
shaderc/iputils/wpebackend-fdo/lttng-ust/cargo.

(From OE-Core rev: 777d9744570c2dc119dc5d04985896bbb1da5885)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-21 23:44:08 +01:00
Richard Purdie
e899b2e25b sqlite3: Exclude CVE-2021-36690 from cve checks
Issue is in an experimental extension we don't have/use. Could also
be windows only.

(From OE-Core rev: 6f5770b49f06168e3d6914bd92f0594bd05f1f8f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-21 23:44:08 +01:00
Richard Purdie
f84fb1032d libgcrypt: Upgrade 1.9.3 -> 1.9.4
Includes a fix for CVE-2021-40528.

(From OE-Core rev: 24664297abd3844902fa40c21e4e975d89f40383)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-21 23:44:08 +01:00
Richard Purdie
b29863b6ba vim: Backport fix for CVE-2021-3770
(From OE-Core rev: 54d3d023ce55ba4a7160ed25a283f0918e7d8e2e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-21 23:44:08 +01:00
Alexander Kanavin
b0bcf539e9 testimage: symlink the task log and qemu console log to tmp/log/oeqa
This makes it easier for the AB scripts (particularly, collect-results)
to access and archive these items, as they can contain useful information
when ptests or other qemu tests fail (and also if they don't fail).

[YOCTO #14518]

(From OE-Core rev: 1965b344abcff0ba584136f929b4a14645f1585e)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-21 23:44:08 +01:00
Richard Purdie
c4fa4f9735 bitbake: fetch2/svn: Allow peg-revision functionality to be disabled
Sometimes the peg revision functionality we use in the svn fetcher is
not the correct option. Add a parameter nopegrevision which can be added
to disable this behaviour.

[YOCTO #6258]

(Bitbake rev: ea26682b706f655a8e418f56bebe742e2d130a1d)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-21 23:44:08 +01:00
Richard Purdie
81ace08c7f bitbake: data_smart: Don't add None to ExpansionError varlist
If a "None" value gets into the varlist, it doesn't display properly.
Ensure we don't add one to have the exception display properly.

(Bitbake rev: ee26e258888114143e66330c256b5bfe7d071c53)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-21 23:44:08 +01:00
Richard Purdie
7e680b5e78 bitbake: tests/fetch2: Fix quoting warning
Fix:

lib/bb/tests/fetch.py:1288: DeprecationWarning: invalid escape sequence

for several lines of the fetch tests.

(Bitbake rev: 9d84fd557a3fcbae2cdd70b24e69325ad737a01e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-21 23:44:08 +01:00
Richard Purdie
435bce9bf9 bitbake: fetch2/git: Use os.rename instead of mv
os.rename will overwrite the destination file if present so we can use this
instead of the process call overhead.

(Bitbake rev: b3cccaa6a896c41d8c9be5eebc327f726542d16b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-21 23:44:08 +01:00
Kai Kang
a0a9df0e8b rust-common.bbclass: make sure ccache exist
It fails to run task rust_create_wrappers of recipe which inherit
rust-common.bbclass such as rust-hello-world if no host ccache exists:

| DEBUG: Executing shell function do_rust_create_wrappers
| /path/to/project/tmp-glibc/work/core2-64-wrs-linux/rust-hello-world/git-r0/temp/run.do_rust_create_wrappers.3422:
    line 179: ccache: command not found

Run task rust_create_wrappers before do_prepare_recipe_sysroot to make
sure required tools such as ccache exist.

(From OE-Core rev: 46575e0d5b9e722558b64e22ed928e6d7b2c654a)

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-19 11:33:14 +01:00
Alexander Kanavin
4335ee7063 cpan-base.bbclass: use raw string for regexp
This eliminates a deprecation warning and a future error as stipulated by
https://docs.python.org/3/library/re.html

(From OE-Core rev: 1753a8d8fd2e9d98255beb81428f70cdf3421321)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-19 11:33:14 +01:00
Alexander Kanavin
2697d3984f wic: keep rootfs_size as integer
The corrected line accidentally converted it to float,
which causes problems later on with python 3.10:

|   File "/home/alex/development/poky/scripts/lib/wic/partition.py", line 278, in prepare_rootfs_ext
|     os.ftruncate(sparse.fileno(), rootfs_size * 1024)
| TypeError: 'float' object cannot be interpreted as an integer

(From OE-Core rev: d1d260dd2d196d10379ed9e238bcb34f39f3a3b7)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-19 11:33:14 +01:00
Alexander Kanavin
5128defbc3 meta: correct collections vs collections.abc deprecation
collections.abc is available since 3.3 and doesn't need special handling.

(From OE-Core rev: 01152c9410ba00274c8415a5d914dc33dfd0cf46)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-19 11:33:14 +01:00
Claudius Heine
c5d1550fe6 rng-tools: add systemd-udev-settle wants to service
rngd needs to start after `systemd-udev-settle` in order for the kernel
modules of the random source hardware to be loaded before it is started.

However, since the `rngd.service` does not require or want
`systemd-udev-settle.service` it might not be scheduled for start and
the `After=systemd-udev-settle.service` there has no effect.

Adding `Wants=systemd-udev-settle.service` provides a weak requirement
to it, so that the `rngd` is started after it, if possible.

(From OE-Core rev: e9715d4234eb7b45dee8b323799014646f0a1b07)

Signed-off-by: Claudius Heine <ch@denx.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-19 11:33:14 +01:00
Jon Mason
7bbd93f8dc machine/qemuarm*: use virtio graphics
Switch to using virtio graphics for the Arm QEMU machines.  You will
noticed the difference in the dmesg by seeing:
[    2.693337] [drm] pci: virtio-gpu-pci detected at 0000:00:10.0

(From OE-Core rev: 961158653170f53de58672e474c41f1533f469fc)

Signed-off-by: Jon Mason <jdmason@kudzu.us>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-19 11:33:14 +01:00
Richard Purdie
025896f5f5 bitbake: cookerdata: Show a readable error for invalid multiconfig name
If a multiconfig starts with a digit, users would see pages of
errors as we use the multiconfig as a python function name prefix
and python functions cannot start with a digit. We could avoid doing
that but it is easier just to ask users to name multiconfigs not
starting with digits.

This tweak ensures the user sees an easier to understand error.

(Bitbake rev: f9cddaeef35b2ea0dadf717101ed896f6b857abd)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-19 11:33:14 +01:00
Alexander Kanavin
2b399a01b5 bitbake: bitbake: enable python warnings at the first opportunity
We really do want to see those, as they tend to turn into
hard errors eventually, as what happened with collections
vs collections.abc in python 3.10.

(Bitbake rev: bc43fbb86361a21dc2d5deb910810c5a77fdabe8)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-19 11:33:14 +01:00
Michael Halstead
ab55ae5d39 releases: update to include 3.3.3
Adding 3.3.3 to documentation switcher and release list.

(From yocto-docs rev: cc88f73ea0e38f536cb3e05b504df80048856a84)

Signed-off-by: Michael Halstead <mhalstead@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-18 13:35:32 +01:00
Robert P. J. Day
f14b77b8ff dev-manual: update output of "wic list images"
Output order from "wic list images" is in different order, and was
missing a couple entries.

(From yocto-docs rev: 7df7356b8a306d7e77f0aab1f443fd1306c25620)

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-18 13:03:45 +01:00
Robert P. J. Day
b7030dd10e dev-manual: emphasize that new layers live outside of poky
Tweak the bblayers.conf example to encourage the reader to appreciate
that any new layers should not share space with the official Poky
checkout.

(From yocto-docs rev: 46931f8497c3c4b874613acbe7c9612944174559)

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Reviewed-by: Quentin Schulz <foss@0leil.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-18 13:03:45 +01:00
Michael Opdenacker
badb6c6fb4 ref-manual: update "devtool check-upgrade-status" output
This command now uses "INFO" insted of "NOTES" and output
information in columns. Also good to show more recent
versions of recipes.

(From yocto-docs rev: d875083150ac30b884d823e9f0f568d3a92ddcc1)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-18 13:03:45 +01:00
Michael Opdenacker
6a9e7fb010 ref-manual: improve documentation for RECIPE_NO_UPDATE_REASON
This add a description of this variable to the variable index,
and clarifies the explanations given in the devtool reference
section.

(From yocto-docs rev: 034b976addd0db6da31c4bacdbea21f2d47c00dc)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-18 13:03:45 +01:00
Michael Opdenacker
6c5986ebfe ref-manual: improve "devtool check-upgrade-status" details
- Mention "devtool latest-version recipe" to process a single version
- Explain that the mechanism is controlled by the UPSTREAM_CHECK*
  variables, which are not referred to anywhere else in the manuals,
  except in the variable index.

(From yocto-docs rev: eded237f1a1ec7df3f9910242bfa4b3818ff3e58)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Reviewed-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-18 13:03:45 +01:00
Michael Opdenacker
b931182b5b ref-manual: remove checkpkg task
It doesn't exist any more and its functionality is now taken care
of by "devtool check-upgrade-status"

(From yocto-docs rev: 9c155e91dc57cb49b97805805e802330188a2c04)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Reviewed-by: Quentin Schulz <foss@0leil.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-18 13:03:45 +01:00
Michael Opdenacker
d6966a39f2 ref-manual: document UPSTREAM_CHECK_COMMITS and UPSTREAM_VERSION_UNKNOWN
(From yocto-docs rev: 99b5fee6295a5c424fdb2cc0b34a4a486d7bf721)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-18 13:03:45 +01:00
Michael Opdenacker
95866fd533 manuals: delete unmaintained history sections
This deletes the history sections in each sub-manual,
which didn't add any value, given that they didn't list
the changes from one Yocto Project version to the next.

(From yocto-docs rev: 29ce5b89c438079793cc6457401b6a9275db877a)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Reviewed-by: Quentin Schulz <foss@0leil.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-18 13:03:45 +01:00
Michael Opdenacker
138219ce3b manuals: replace Freenode by Libera Chat as IRC host
Fixes [YOCTO #14546]
This also replaces the "#poky" channel (inactive)
by "#oe", which is more actively used.

(From yocto-docs rev: 46f98fe4f502aac8b16ba785490e9cf46364e4ec)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Reviewed-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-18 13:03:45 +01:00
Tom Rini
3537849112 common-tasks: Add an example of using bbappends to add a file
Use the xserver-xf86-config_%.bbappend from meta-raspberrypi to provide
an example of having a bbappend file add files to an existing recipe.

(From yocto-docs rev: f510e748ff3bcbea6e34a7f225e05628303fdd12)

Signed-off-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Quentin Schulz <foss@0leil.net>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-18 13:03:45 +01:00
Vyacheslav Yurkov
62b13474bf ref-manual: add overlayfs class
(From yocto-docs rev: 5bd2f3c0bbf4178e381aec2b7de57ef8289c2271)

Signed-off-by: Vyacheslav Yurkov <uvv.mail@gmail.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-18 13:03:45 +01:00
Robert P. J. Day
70059b37c7 ref-manual: couple minor tweaks to Chapter 1
(From yocto-docs rev: d00282396ddc558bf025a81edc1dad53a814e13a)

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Reviewed-by: Quentin Schulz <foss@0leil.net>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-18 13:03:45 +01:00
Robert P. J. Day
2e09b9d8a3 ref-manual: add potential of parallelism to defn of "Task"
(From yocto-docs rev: 2e80de272b987c70374a1758e71c5c1371054d1f)

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Reviewed-by: Quentin Schulz <foss@0leil.ṅet>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-18 13:03:45 +01:00
Robert P. J. Day
a98e336d7d ref-manual: correct typo in "classes" section, "${BPN}/{PV}"
(From yocto-docs rev: 28a72c5a1cc873b455d7854065e1f999e6c5b7a5)

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-18 13:03:45 +01:00
Robert P. J. Day
b16279603f ref-manual: remove mention of obsolete devtool "--any-recipe" option
Running "devtool edit-recipe -h" produces, in part, the output:

  --any-recipe, -a  Does nothing (exists for backwards-compatibility)

so it seems of little value to continue referring to it.

(From yocto-docs rev: fdac1da045e60d37025f754c9b6be5bb36f31c86)

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-18 13:03:44 +01:00
Robert P. J. Day
edaaa63664 ref-manual: render options in monospace to show quotes properly
It's important (at least for now) to mark up options with monospaced
font to highlight the difference between single and double quotes.

(From yocto-docs rev: 8d71ffdd3f354747dcade6de512355e8fa567728)

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-18 13:03:44 +01:00
Jon Mason
be665a7983 core-image-sato: Fix runqemu error for qemuarmv5
When attempting to execute runqemu on qemuarmv5, the following error is
encountered:

runqemu - ERROR - Failed to run qemu: qemu-system-arm: versatilepb: memory size must not exceed 256MB

To work around this, limit the QB_MEM size for qemuarmv5, similar to
what is being done for qemumips.

(From OE-Core rev: 6450138afebffcc55ab32afadd5fb979274fff2b)

Signed-off-by: Jon Mason <jdmason@kudzu.us>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-17 07:30:39 +01:00
Jon Mason
c1db4933ce dev-manual: update mailing list address
(From yocto-docs rev: 68e6782c19e9f88c3cd89b4948d22d216e0165b1)

Signed-off-by: Jon Mason <jdmason@kudzu.us>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-17 07:30:10 +01:00
Richard Purdie
f678c87751 README: Update email address for Bruce
(From meta-yocto rev: 6ed7cd279fdf51dd22edbd923e7456e0afff0918)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-17 07:28:39 +01:00
Jon Mason
44ebd57ed1 README: update mailing list address
(From meta-yocto rev: bef9f0bded38964be20c5b9f0d02e4e0fbe22b93)

Signed-off-by: Jon Mason <jdmason@kudzu.us>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-17 07:28:39 +01:00
Jon Mason
112f5afe8e Update mailing list address
(From OE-Core rev: 83169c33f7585da25560784f79eaad2c6f029f3c)

Signed-off-by: Jon Mason <jdmason@kudzu.us>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-17 07:27:20 +01:00
Mark Hatle
35d18a3c98 tcf-agent: Move to the latest master version
There has not been a release since 2018, the 1.7.0 release.  A number of
recent improvements around thumb and clang debugging prompted this move
to a newer version.

The patch is no longer necessary as it was a backport patch.

(From OE-Core rev: b98c739aa1204ecd842278a6e36a56243bfbc2a5)

Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-17 07:27:20 +01:00
Konrad Weihmann
2a1743ace5 expat: pull from github releases
sometimes we can find release tarballs from sourceforge are not fully
distributed along all download mirrors leading to fetching faiilures,
depending on what download mirror will be chosen by sourceforge
servers.
As the project moved to github anyway, it's better to pull the tarballs
directly from github releases - serving the very same static artifacts.

Add an override UPSTREAM_CHECK_URI to enable devtool upgrade checks

(From OE-Core rev: 9b5b797b0e9e6f2cb3e29be92c4f9b763c4a41e9)

Signed-off-by: Konrad Weihmann <kweihmann@outlook.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-17 07:27:20 +01:00
Ross Burton
c4bc29f593 ffmpeg: fix LICENSE
Expat isn't a license name we have, use MIT instead.

(From OE-Core rev: b1821691c2d7eafb29cf182fc1f2ec7b0cc8340f)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-17 07:27:20 +01:00
Valentin Danaila
a4c8d8e21a bitbake: fetch2/s3: allow to switch profile from environment variable
Make usage of Bitbake's s3 fetcher more flexible with different AWS profiles
  and switch between profiles as export of the AWS_PROFILE environment variable

(Bitbake rev: 0f35dc4dfc829fe9c51c239d15567f86c5c14e58)

Signed-off-by: Valentin Danaila <drlv85@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-17 07:26:24 +01:00
Alexander Kanavin
fbbc0f7461 bitbake: bitbake: correct deprecation warning in process.py
(Bitbake rev: aff52fe21a0b27f6302555c1e52a864550eb46ce)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-17 07:26:24 +01:00
Alexander Kanavin
97dc3ef386 bitbake: bitbake: adjust parser error check for python 3.10 compatibility
The change was introduced in
a698d52c39

(Bitbake rev: 8d3c6cbbe6ee734495713ae3b99c609527842506)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-17 07:26:24 +01:00
Alexander Kanavin
f7909da79f bitbake: bitbake: do not import imp in layerindexlib
The module is deprecated and unused.

(Bitbake rev: 76c9030d6c91cd776a1aa732fb92b7cd4539b503)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-17 07:26:24 +01:00
Alexander Kanavin
cee517568b bitbake: bitbake: fix regexp deprecation warnings
See here for details:
https://docs.python.org/3/library/re.html

(Bitbake rev: 660e6ad4abb77c6f3c1d48bd64777dd76c05d7e2)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-17 07:26:23 +01:00
Alexander Kanavin
5c24982cc9 bitbake: bitbake: correct the collections vs collections.abc deprecation
This becomes a hard error in python 3.10.

(Bitbake rev: ae219e1f7460077f4492b31ac91cef4cf9b17277)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-17 07:26:23 +01:00
Alexander Kanavin
3891a56a78 bitbake: bitbake: drop old rules for python warnings
These no longer even work, and it's much better to just see all warnings
and fix them as they happen.

(Bitbake rev: 62d96ea2afbb0cfdb0d1f932dc96643e7bcd7f26)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-17 07:26:23 +01:00
Richard Purdie
626e949292 bitbake: fetch2/git: Avoid races over mirror tarball creation
There is a potential race over the mirror tarballs where a partial git repo
could be extracted causing fetcher failures if the tarball is being rewritten
whilst another build accesses it.

Create the mirror tarball atomically to avoid this.

[YOCTO #14441]

(Bitbake rev: 3250bc950c56bd7dd2114df26e5a8e13b04ceac8)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-17 07:26:23 +01:00
Richard Purdie
6b52061123 bitbake: runqueue/knotty: Improve UI handling of setscene task counting
The recent fixes to merge setscene and normal task accounting in runqueue
fixed some display issues but broke the task numbering of setscene tasks.

Add new accounting methods to the stats structure specifically designed
for setscene. This accounts for the fact that setscene tasks can rerun
multiple times in the build.

Then use the new data in the UI to correctly display the numbers the
user wants to see to understand progress.

(Bitbake rev: ed7e2da88bf4b7bfc7ebfc12b9bd6c0fb7d8c1aa)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-17 07:26:23 +01:00
Richard Purdie
4437754142 bitbake: bitbake-worker: Improve error handling
If bitbake-worker fails, return an error code showing that. Also
make the thread cleanup code explict in a finally clause as it would
otherwise hang.

[YOCTO #14393]

(Bitbake rev: 7e0af70fb53fb13f824ca954b8cc1dffee730233)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-16 09:51:14 +01:00
Daniel Ammann
4fb4a6e229 bitbake: fetch2/wget: Enable ftps
The fetcher would fail with:
Could not find a fetcher which supports the URL: ftps://...

(Bitbake rev: 9e56710c7203b1ec6cbefa758c81b69b697fe1a4)

Signed-off-by: Daniel Ammann <daniel.ammann@bytesatwork.ch>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-16 09:51:14 +01:00
Kristian Klausen
7b98f81d2f systemd: Add tpm2 PACKAGECONFIG
The TPM2 support is used, among other things, for unlocking encrypted
volumes.

(From OE-Core rev: 7b7dfbfaedde775add3be7a3cb44b115d8ec5036)

Signed-off-by: Kristian Klausen <kristian@klausen.dk>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-16 09:50:34 +01:00
Trevor Woerner
6b86c70081 hello-mod/hello.c: convert to module_init/module_exit
Switch away from the old init_module/cleanup_module function names for the
main entry points. Change them to the documented method with module_init()
and module_exit() markers next to static functions.

(From OE-Core rev: dd0cf45cdde7a197293322436957566e9a11a506)

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-16 09:50:34 +01:00
Peter Kjellerstedt
ba7f322a3e create-spdx.bbclass: Search all license directories for licenses
Before, even if the code was seemingly written to search through all
licenses in ${COMMON_LICENSE_DIR} and ${LICENSE_PATH}, it would
actually bail out after only searching ${COMMON_LICENSE_DIR} due to
the exception handling.

Also refrain from using f-strings.

(From OE-Core rev: f58d54b31a1ddb4e60eb07365bfb7dfe78ed56af)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-16 09:50:34 +01:00
Mingli Yu
42b2fb8651 python3: fix multilib qa issue
Enable tk in PACKAGECONFIG as below in conf/local.conf.
PACKAGECONFIG_append_pn-python3 = " tk"
 $ bitbake lib32-python3
   ERROR: lib32-python3-3.9.6-r0 do_package_qa: QA Issue: /usr/lib/python3.9/lib-dynload/_tkinter.cpython-39-i386-linux-gnu.so contained in package lib32-python3-tkinter requires libtk8.6.so, but no providers found in RDEPENDS_lib32-python3-tkinter? [file-rdeps]
   ERROR: lib32-python3-3.9.6-r0 do_package_qa: QA run found fatal errors. Please consider fixing them.

So add MLPREFIX prefix to fix the above issue.

(From OE-Core rev: 4a839d7c66e4589050ce3f145a8c7cf820e6b35d)

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-16 09:50:34 +01:00
Mingli Yu
46757ac1e8 insane.bbclass: add FILERDEPENDS related check back
Instead of FILERDEPENDS_*, the FILERDEPENDS should be FILERDEPENDS:*
such as FILERDEPENDS:/usr/bin/python3.9:lib32-python3-core as an example,
so switch to new override syntax to make sure the related check in effect.

(From OE-Core rev: 6e5650be0ce5575da1ce5b6ea8b24a82ec7b1210)

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-16 09:50:34 +01:00
Mingli Yu
b24b417ebf multilib.bbclass: add RDEPENDS related check back
When multilib enabled, instead of checking RDEPENDS_lib32-python3-core,
we should check RDEPENDS:lib32-python3-core as new override syntax applied.

So switch to new override syntax to make sure the related RDEPENDS check
logic is in effect.

(From OE-Core rev: 63d53e515d8f3d92a4143dc25c2e639c7fb8c3fb)

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-16 09:50:34 +01:00
Richard Purdie
5ed27d8d9a sstatesig: Allow exclusion of the root directory for do_package
The package task references WORKDIR at it's top level and we can't
easily make the timestamp for that determnistic due to writes to files
there and in other subdirs. We could try and force it to a specific value
but it is easier to just remove it from the package task, we don't need
it there or care about it in this case.

(From OE-Core rev: 9cceeb906527f90d8dd3aad75aa3a8805e2a1df5)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-16 09:50:34 +01:00
Richard Purdie
0256b7dac4 bash: Ensure deterministic build
Bash keeps a count of the number of times make was invoked on a directory
and changes the output versioning accordingly. We want deterministic output
so disable this behaviour.

(From OE-Core rev: 13a039e03195a47c750d5901e96fe81cf523481f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-16 09:50:34 +01:00
Richard Purdie
6c5a29035b sstate: Ensure SDE is accounted for in package task timestamps
When creating packages we build them with --clamp-mtime and use
SOURCE_DATE_EPOCH as the maximum mtime. This makes the end packages
reproducible. The data stored in sstate for do_package and the package
task doesn't benefit from this though and have varying timestamps.
This means their outhash varies and means hash equivalance isn't
effective at all and doesn't work as intended/desired.

We could create the sstate archives with the same clamping however
that would lead to different results depending on whether a task was
installed from sstate or not. Making that differ is a path to madness.
It also wouldn't fix the outhash of the task to be determninistic
without clamping of the date in the hash calculation code.

Instead, iterate over the files in sstate output and clamp them at
the code level. This isn't ideal but does make the file timestamps
determnistic everywhere and means we don't have to change the hash
calculation code.

This issue can be clearly seen looking at the do_package outhash for
a recipe which you then re-run the package task for after adding
something like whitespace to the install task. The outhash shouldn't
change but currently does.

(From OE-Core rev: c3b3cc4745811b48b9193f83889946b2e1788932)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-16 09:50:34 +01:00
Richard Purdie
95fa69f3d3 package: Fix pkgdata determinism issues
pkgdata output isn't entirely deterministic since the sorting of some of the
variables can change. This likely doesn't have any real world effect but fix
this with some additional sorting as it allows better hash equivalency of
task output.

(From OE-Core rev: a30c4de8a0b309c398c42fe710c45a4df7fcc64d)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-16 09:50:34 +01:00
Richard Purdie
516bbba02f useradd: Ensure preinst data is expanded correctly in pkgdata
The preinst data in pkgdata will not expand out the ${XXX_PARAM} variables
since they don't use a package suffix. It happens that the final expansion
used for the packages is corrected by a second trip through the datastore.

The first version is used for calculation of the task output hash and
recent improvements in hash reuse showed this data wasn't using included
in the hashes, meaning for example builds with dynamic IDs were mixing
sstate with builds using static IDs. The result was a mess.

Fix this by expanding the data in the preinst correctly to use the
package specific _PARAM values.

(From OE-Core rev: 375430f249e7e0b6622e566e2478b40ba7e606ab)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-16 09:50:34 +01:00
Armin Kuster
9cabb26aa2 tar: ignore node-tar CVEs
These three CVEs are specific to the Node package node-tar.

exclude: CVE-2021-37701 CVE-2021-37712 CVE-2021-37713

(From OE-Core rev: 9f9317a02d73c1e5aea026683a037e52c996c7bb)

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-16 09:50:34 +01:00
Markus Volk
3e1026ef31 util-linux: disable raw
raw.h has been dropped in linux-libc-headers-5.14 leading to:

configure: error: raw selected, but required raw.h header file not available
WARNING: exit code 1 from a shell command.

(From OE-Core rev: 7f577c10913104860121f682b9b3754870c4db23)

Signed-off-by: MarkusVolk <f_l_k@t-online.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-16 09:50:34 +01:00
Martin Jansa
f3961107e2 bitbake: bitbake.conf: fix vars_from_file() call
The reference to this function was dropped from BBHandler.py in:
https://git.openembedded.org/bitbake/commit/?id=aaa5292ef96ea27f505bc5c5a4b1eb4f497ed061

(Bitbake rev: b4fe8507079b6464287549f3eac1f1fc8d0d9be2)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-14 23:16:42 +01:00
Richard Purdie
bf47addb34 local.conf.sample: Update sstate mirror entry with new hash equivalence setting
(From meta-yocto rev: 1d98182eb9fa059444c935967d1dc075535289db)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-12 12:27:09 +01:00
Bruce Ashfield
77afb9b560 yocto-bsp/5.13: update to v5.13.15
Updating the reference boards to match the oe-core kernel version.

(From meta-yocto rev: c67fc4b5cc7c1bd4751376c8d1b2a8272feb4a53)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-11 22:39:20 +01:00
Bruce Ashfield
b103142434 yocto-bsp/5.10: update to v5.10.63
Updating the reference platforms to match the latest 5.10 -stable in
oe-core.

(From meta-yocto rev: 77b8e31f706cb29d1efb19305470d9b525fc5a67)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-11 22:39:20 +01:00
Chanho Park
cb8edc767e binutils: inherit pkgconfig to address libdebuginfod depdency
Since libdebuginfo was default distro feature[1], cross build of binutils
has been broken due to absence of pkg-config. To find the dependency
properly, we should inherit pkgconfig bbclass.

checking for aarch64-poky-linux-pkg-config... no
checking for pkg-config... no
checking whether to use debuginfod... yes
checking for libdebuginfod >= 0.179... no
configure: error: "--with-debuginfod was given, but libdebuginfod is missing or unusable."

[1]: https://lists.openembedded.org/g/openembedded-core/message/150666

(From OE-Core rev: 50154869b496cf63a4fae2c8278350fcf9a2591d)

Signed-off-by: Chanho Park <chanho61.park@samsung.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-11 22:39:20 +01:00
Richard Purdie
505fdf638c sstate: Avoid problems with recipes using SRCPV when fetching sstate
When fetching sstate, SRCPV can be expanded withuin PV which breaks the
sstate fetcher as other variables like SRC_URI are changed by the fetcher
code. Expand the variable before doing this to avoid those problems and
hence avoid setscene task failures with remote sstate storage in git
recipes.

(From OE-Core rev: 0d9d7acebe0be42d4cf8a30ecbbbbcb2dfd16a4b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-11 22:39:20 +01:00
Richard Purdie
7074a39333 bitbake.conf: Ensure XZ_THREADS doesn't change sstate checksums
rpm output packages currently depend on the value of XZ_THREADS which
is ok if left to the default value but problematic if system limits
are set such as on the autobuilder.

Force the value to a specific one in the hashes for better sstate reuse
and consistent rpm task checksums.

(From OE-Core rev: 0296dc71c01d1b7953d74ef37d56429e2f4fcfab)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-11 22:39:20 +01:00
Armin Kuster
54a8d36902 apr: Security fix for CVE-2021-35940
An out-of-bounds array read in the apr_time_exp*() functions was fixed in the
Apache Portable Runtime 1.6.3 release (CVE-2017-12613). The fix for this issue
was not carried forward to the APR 1.7.x branch, and hence version 1.7.0 regressed
compared to 1.6.3 and is vulnerable to the same issue.

(From OE-Core rev: d52b78c75323fb254b5d0216f9183573b353abd3)

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-11 22:39:20 +01:00
Ranjitsinh Rathod
9886ef691a rpm: Handle proper return value to avoid major issues
0001-rpm-rpmio.c-restrict-virtual-memory-usage-if-limit-s.patch changed
to avoid critical issues
Handled return values of getrlimit() and lzma_cputhreads() functions
to avoid unexpected behaviours like devide by zero and potential read
of uninitialized variable 'virtual_memory'
Upstream-Status: Pending [merge of multithreading patches to upstream]

(From OE-Core rev: 5aae9c2cb464350bc443a0f60fd6602942e61f46)

Signed-off-by: Ranjitsinh Rathod <ranjitsinh.rathod@kpit.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-11 22:39:19 +01:00
Mark Hatle
74d7d84dcb externalsrc: Work with reproducible_build
Externalsrc removes do_fetch, do_unpack, and do_patch.  The system normally
discovers the correct reproducible date as a postfuncs of do_unpack, so this
date is never found, so it falls back to the default epoch.

Instead we can move the discovery function to a prefuncs on the epoch
deploy task.  This task will run before do_configure, and since the source
is already available can run safely at anytime.

(From OE-Core rev: 0b7dd711a54e92ce54abe99f59fc67e683d52dfe)

Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-11 22:39:19 +01:00
Mark Hatle
88e643a8b7 reproducible_build: Remove BUILD_REPRODUCIBLE_BINARIES checking
Previously if BUILD_REPRODUCIBLE_BINARIES was set to 0, the system would
fall back and select the default epoch (April 2011), but still perform
the reproducible build actions.  This resulted in binaries that had an
unusually old date.

Simplify the functions and remove the anonymous python as no longer
necessary.

Also improve the documentation to better explain what the class is doing
and how a recipe can override the behavior if necessary.

(From OE-Core rev: 1976013b026cfba94de32a13e994d92d7e9e39e5)

Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-11 22:39:19 +01:00
Kai Kang
d5723cb241 perl: fix CVE-2021-36770
Backport patch to fix CVE-2021-36770. And drop the section of code which
updates version.

CVE: CVE-2021-36770

(From OE-Core rev: 9a5e0f3ece45529358b6b712e3450a8594f531c6)

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-11 22:39:19 +01:00
Peter Bergin
457cc45f51 systemd: add packageconfig for wheel-group
If the distro does not include the group 'wheel' systemd will
complain when trying to parse ACL rules for tmpfiles.d.

  systemd-tmpfiles[273]: Failed to parse ACL "d:group:adm:r-x,d:group:wheel:r-x": Invalid argument. Ignoring

Systemd has a configuration parameter to avoid using 'wheel'
group in the standard config files for tmpfiles. Add this as
a PACKAGECONFIG and enable it by default to keep default.

(From OE-Core rev: 1b5648e6aeb9837cb807ce086c26fbfaa16f6f8b)

Signed-off-by: Peter Bergin <peter@berginkonsult.se>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-11 22:39:19 +01:00
Bruce Ashfield
90f5034e48 linux-yocto/5.10: update to v5.10.63
Updating linux-yocto/5.10 to the latest korg -stable release that comprises
the following commits:

    e07f317d5a28 Linux 5.10.63
    4405ea221dea media: stkwebcam: fix memory leak in stk_camera_probe
    ad5e13f15db7 fuse: fix illegal access to inode with reused nodeid
    40ba433a85db new helper: inode_wrong_type()
    ded9137fcf0d spi: Switch to signed types for *_native_cs SPI controller fields
    55bb5193cec5 serial: 8250: 8250_omap: Fix possible array out of bounds access
    8e41134a92a5 ALSA: pcm: fix divide error in snd_pcm_lib_ioctl
    4ffde17862b0 ALSA: hda/realtek: Workaround for conflicting SSID on ASUS ROG Strix G17
    4ee2686b3745 ALSA: hda/realtek: Quirk for HP Spectre x360 14 amp setup
    2808d59fb29b cryptoloop: add a deprecation warning
    61a038f80c80 perf/x86/amd/power: Assign pmu.module
    ec9a82e034f6 perf/x86/amd/ibs: Work around erratum #1197
    23c29490b84d ceph: fix possible null-pointer dereference in ceph_mdsmap_decode()
    d2064a1444d6 perf/x86/intel/pt: Fix mask of num_address_ranges
    0e74bba60452 qede: Fix memset corruption
    35f223cb21b1 net: macb: Add a NULL check on desc_ptp
    cf50d02e474b qed: Fix the VF msix vectors flow
    2177c4943e40 reset: reset-zynqmp: Fixed the argument data type
    9872349b088d gpu: ipu-v3: Fix i.MX IPU-v3 offset calculations for (semi)planar U/V formats
    b983d60292a6 ARM: OMAP1: ams-delta: remove unused function ams_delta_camera_power
    bc860c3f0945 xtensa: fix kconfig unmet dependency warning for HAVE_FUTEX_CMPXCHG
    b1075d2a7052 static_call: Fix unused variable warn w/o MODULE
    ae16b7c66837 Revert "Add a reference to ucounts for each cred"
    1aa3f27e592d Revert "cred: add missing return error code when set_cred_ucounts() failed"
    0c1443874e1c Revert "ucounts: Increase ucounts reference counter before the security hook"
    0479b2bd2959 ubifs: report correct st_size for encrypted symlinks
    3ac01789f6d9 f2fs: report correct st_size for encrypted symlinks
    894a02236d0d ext4: report correct st_size for encrypted symlinks
    b8c298cf57dc fscrypt: add fscrypt_symlink_getattr() for computing st_size
    09a379549620 ext4: fix race writing to an inline_data file while its xattrs are changing
    f6dd002450bf Linux 5.10.62
    0c9a876f2897 bpf: Fix potentially incorrect results with bpf_get_local_storage()
    38c1915d3e9f audit: move put_tree() to avoid trim_trees refcount underflow and UAF
    1890ee7ff87f net: don't unconditionally copy_from_user a struct ifreq for socket ioctls
    0085646e02b2 Revert "parisc: Add assembly implementations for memset, strlen, strcpy, strncpy and strcat"
    17982c664f8b Revert "floppy: reintroduce O_NDELAY fix"
    709c162ddc83 kthread: Fix PF_KTHREAD vs to_kthread() race
    c43add24dffd btrfs: fix NULL pointer dereference when deleting device by invalid id
    1604c42a1ca9 arm64: dts: qcom: msm8994-angler: Fix gpio-reserved-ranges 85-88
    f760c1101f52 lkdtm: Enable DOUBLE_FAULT on all architectures
    b6c657abb893 net: dsa: mt7530: fix VLAN traffic leaks again
    f8242f554c82 usb: typec: ucsi: Clear pending after acking connector change
    e15e32d519fa usb: typec: ucsi: Work around PPM losing change information
    08953884aad4 usb: typec: ucsi: acpi: Always decode connector change information
    9a4f1dc8a17c tracepoint: Use rcu get state and cond sync for static call updates
    b6ae3854075e srcu: Provide polling interfaces for Tiny SRCU grace periods
    450948b06ce8 srcu: Make Tiny SRCU use multi-bit grace-period counter
    641e1d88404a srcu: Provide internal interface to start a Tiny SRCU grace period
    f789de3be808 srcu: Provide polling interfaces for Tree SRCU grace periods
    fdf66e5a7fc8 srcu: Provide internal interface to start a Tree SRCU grace period
    d3c38d8549c0 powerpc/perf: Invoke per-CPU variable access with disabled interrupts
    77b77d45a4b1 perf annotate: Fix jump parsing for C++ code.
    9f9e40ddfca3 perf tools: Fix arm64 build error with gcc-11
    94687c49b65b perf record: Fix memory leak in vDSO found using ASAN
    e0ca67030fda perf symbol-elf: Fix memory leak by freeing sdt_note.args
    0d8e39bb9416 perf env: Fix memory leak of bpf_prog_info_linear member
    133d7f93eecd riscv: Fixup patch_text panic in ftrace
    7e2087249e87 riscv: Fixup wrong ftrace remove cflag
    b42fde92cdde Bluetooth: btusb: check conditions before enabling USB ALT 3 for WBS
    60d69cb4e60d vt_kdsetmode: extend console locking
    0a178a015161 tipc: call tipc_wait_for_connect only when dlen is not 0
    ded6da217ced mtd: spinand: Fix incorrect parameters for on-die ECC
    3b2018f9c9c0 pipe: do FASYNC notifications for every pipe IO, not just state changes
    e91da23c1be1 pipe: avoid unnecessary EPOLLET wakeups under normal loads
    d845f89d59fc btrfs: fix race between marking inode needs to be logged and log syncing
    6f38d95f33be net/rds: dma_map_sg is entitled to merge entries
    b882dda2bf7a drm/nouveau/kms/nv50: workaround EFI GOP window channel format differences
    7f422cda03a6 drm/nouveau/disp: power down unused DP links during init
    6fd6e20520cc drm: Copy drm_wait_vblank to user before returning
    26ee94ba343c blk-mq: don't grab rq's refcount in blk_mq_check_expired()
    b00ca567579a drm/amd/pm: change the workload type for some cards
    3c37ec435022 Revert "drm/amd/pm: fix workload mismatch on vega10"
    cc126b400b25 qed: Fix null-pointer dereference in qed_rdma_create_qp()
    18a65ba06903 qed: qed ll2 race condition fixes
    4ac9c81e8a54 tools/virtio: fix build
    c7ee4d22614e vringh: Use wiov->used to check for read/write desc order
    6c074eaaf785 virtio_vdpa: reject invalid vq indices
    0698278e8eef virtio_pci: Support surprise removal of virtio pci device
    065a13c299b4 virtio: Improve vq->broken access to avoid any compiler optimization
    f41c7462d8ae cpufreq: blocklist Qualcomm sm8150 in cpufreq-dt-platdev
    3dea93159038 opp: remove WARN when no valid OPPs remain
    be37f7dbcd2c iwlwifi: pnvm: accept multiple HW-type TLVs
    9a6a5602c217 clk: renesas: rcar-usb2-clock-sel: Fix kernel NULL pointer dereference
    bdc5049c3698 perf/x86/intel/uncore: Fix integer overflow on 23 bit left shift of a u32
    c5600b914690 dt-bindings: sifive-l2-cache: Fix 'select' matching
    ad5329a53327 usb: gadget: u_audio: fix race condition on endpoint stop
    257ea8a5edc0 drm/i915: Fix syncmap memory leak
    e49b8d9c5e88 net: stmmac: fix kernel panic due to NULL pointer dereference of plat->est
    b2091d47a14e net: stmmac: add mutex lock to protect est parameters
    ac874290e75c Revert "mmc: sdhci-iproc: Set SDHCI_QUIRK_CAP_CLOCK_BASE_BROKEN on BCM2711"
    411680a07cc6 net: hns3: fix get wrong pfc_en when query PFC configuration
    e834ca7c7924 net: hns3: fix duplicate node in VLAN list
    5931ec35e992 net: hns3: add waiting time before cmdq memory is released
    9820af16a879 net: hns3: clear hardware resource when loading driver
    ad0db8385575 rtnetlink: Return correct error on changing device netns
    51bc5c66606d cxgb4: dont touch blocked freelist bitmap after free
    beefd5f0c63a ipv4: use siphash instead of Jenkins in fnhe_hashfun()
    dced8347a727 ipv6: use siphash in rt6_exception_hash()
    f517335a61ff net/sched: ets: fix crash when flipping from 'strict' to 'quantum'
    b493af3a66e0 ucounts: Increase ucounts reference counter before the security hook
    8e0881f6f57e net: marvell: fix MVNETA_TX_IN_PRGRS bit number
    850401a23a85 xgene-v2: Fix a resource leak in the error handling path of 'xge_probe()'
    fb45459d9ddb ip_gre: add validation for csum_start
    e78006b59a30 RDMA/efa: Free IRQ vectors on error flow
    8f1e3ad94569 e1000e: Do not take care about recovery NVM checksum
    87285ac51ecf e1000e: Fix the max snoop/no-snoop latency for 10M
    58b3dbf10c01 igc: Use num_tx_queues when iterating over tx_ring queue
    ae6480ba0665 igc: fix page fault when thunderbolt is unplugged
    384dea502e91 net: usb: pegasus: fixes of set_register(s) return value evaluation;
    3217c9d4602f ice: do not abort devlink info if board identifier can't be found
    3a2c5fbb1cc6 RDMA/bnxt_re: Remove unpaired rtnl unlock in bnxt_re_dev_init()
    56ac7463a140 IB/hfi1: Fix possible null-pointer dereference in _extend_sdma_tx_descs()
    3e949aaa8bef RDMA/bnxt_re: Add missing spin lock initialization
    22c18102ec59 scsi: core: Fix hang of freezing queue between blocking and running device
    01da7c1dc4cf usb: dwc3: gadget: Stop EP0 transfers during pullup disable
    87b2016493eb usb: dwc3: gadget: Fix dwc3_calc_trbs_left()
    56c92b8ddc0c usb: renesas-xhci: Prefer firmware loading on unknown ROM state
    b0bcc8038868 USB: serial: option: add new VID/PID to support Fibocom FG150
    8437e07c370f Revert "USB: serial: ch341: fix character loss at high transfer rates"
    da3067eadcc1 drm/amdgpu: Cancel delayed work when GFXOFF is disabled
    3134292a8e79 Revert "btrfs: compression: don't try to compress if we don't have enough pages"
    921c2533aa3a riscv: Ensure the value of FP registers in the core dump file is up to date
    e55a8b461585 ceph: correctly handle releasing an embedded cap flush
    7008b9981b6a can: usb: esd_usb2: esd_usb2_rx_event(): fix the interchange of the CAN RX and TX error counters
    45b7b2097153 net: mscc: Fix non-GPL export of regmap APIs
    ef2d68ef9a3b ovl: fix uninitialized pointer read in ovl_lookup_real_one()
    c94d50979f20 blk-iocost: fix lockdep warning on blkcg->lock
    6815e21fe28d once: Fix panic when module unload
    f68ad168e235 netfilter: conntrack: collect all entries in one cycle
    a13a2df0b149 ARC: Fix CONFIG_STACKDEPOT
    0af6a9f82ca3 ASoC: component: Remove misplaced prefix handling in pin control functions
    34cc80ec12d6 ASoC: rt5682: Adjust headset volume button threshold
    d81ddadabdee bpf: Fix NULL pointer dereference in bpf_get_local_storage() helper
    9dd6f6d89693 bpf: Fix ringbuf helper function compatibility
    ad41706c771a net: qrtr: fix another OOB Read in qrtr_endpoint_post

(From OE-Core rev: bb885bf8ffe9ba7260f83d9575978f753edf538e)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-11 22:39:19 +01:00
Bruce Ashfield
ba76f2dd8a linux-yocto/5.10: update to v5.10.61
Updating linux-yocto/5.10 to the latest korg -stable release that comprises
the following commits:

    452ea6a15ed2 Linux 5.10.61
    f15e64267393 io_uring: only assign io_uring_enter() SQPOLL error in actual error case
    695ab28a7fa1 io_uring: fix xa_alloc_cycle() error return value check
    0d5fcfc6406e fs: warn about impending deprecation of mandatory locks
    8132fc2bf4b7 mm: memcontrol: fix occasional OOMs due to proportional memory.low reclaim
    53e81668e119 ASoC: intel: atom: Fix breakage for PCM buffer address setup
    88f65f57a0b9 ALSA: hda/realtek: Limit mic boost on HP ProBook 445 G8
    b6672f67ec28 PCI: Increase D3 delay for AMD Renoir/Cezanne XHCI
    a69326e134d4 s390/pci: fix use after free of zpci_dev
    05b56e05543c ALSA: hda/via: Apply runtime PM workaround for ASUS B23E
    67fece6289a9 btrfs: prevent rename2 from exchanging a subvol with a directory from different parents
    16cfa72766b5 mmc: sdhci-iproc: Set SDHCI_QUIRK_CAP_CLOCK_BASE_BROKEN on BCM2711
    2566c1d8239d mmc: sdhci-iproc: Cap min clock frequency on BCM2711
    110b7f72f6d0 ALSA: hda/realtek: Enable 4-speaker output for Dell XPS 15 9510 laptop
    258782b93701 ipack: tpci200: fix memory leak in the tpci200_register
    3ee1b08097c1 ipack: tpci200: fix many double free issues in tpci200_pci_probe
    0775bc462ae7 slimbus: ngd: reset dma setup during runtime pm
    45d6fc21cd4d slimbus: messaging: check for valid transaction id
    b700b523ddaf slimbus: messaging: start transaction ids from 1 instead of zero
    bd0c2f83d072 tracing / histogram: Fix NULL pointer dereference on strcmp() on NULL event name
    f7c125493c78 ALSA: hda - fix the 'Capture Switch' value change notifications
    7451c309c7a3 clk: qcom: gdsc: Ensure regulator init state matches GDSC state
    7203b4986d9a clk: imx6q: fix uart earlycon unwork
    3f8920c5706e mmc: sdhci-msm: Update the software timeout value for sdhc
    8f499a90e7ee mmc: mmci: stm32: Check when the voltage switch procedure should be done
    f8dac276a9b4 mmc: dw_mmc: Fix hang on data CRC error
    645fd92c3ed4 Revert "flow_offload: action should not be NULL when it is referenced"
    2f6c42806e10 iavf: Fix ping is lost after untrusted VF had tried to change MAC
    7873c29832a3 i40e: Fix ATR queue selection
    e003a8921949 r8152: fix writing USB_BP2_EN
    21ca0b18ad64 iommu/vt-d: Fix incomplete cache flush in intel_pasid_tear_down_entry()
    81578e587c08 iommu/vt-d: Consolidate duplicate cache invaliation code
    eee84eafc3bb ovs: clear skb->tstamp in forwarding path
    47a1161dacb1 net: mdio-mux: Handle -EPROBE_DEFER correctly
    13af9c81e62f net: mdio-mux: Don't ignore memory allocation errors
    df61235881c8 sch_cake: fix srchost/dsthost hashing mode
    e1ec5858bae1 ixgbe, xsk: clean up the resources in ixgbe_xsk_pool_enable error path
    3b7397b203cc net: qlcnic: add missed unlock in qlcnic_83xx_flash_read32
    9bc2d1a5a890 virtio-net: use NETIF_F_GRO_HW instead of NETIF_F_LRO
    b7adfde94930 virtio-net: support XDP when not more queues
    1ce62fe6e4cb vrf: Reset skb conntrack connection on VRF rcv
    8ae539a36194 bnxt_en: Add missing DMA memory barriers
    9751aa443695 bnxt_en: Disable aRFS if running on 212 firmware
    efd9b79b92a3 ptp_pch: Restore dependency on PCI
    85e0518f181a net: 6pack: fix slab-out-of-bounds in decode_data
    e0ae16836027 bnxt: count Tx drops
    296fe765dd02 bnxt: make sure xmit_more + errors does not miss doorbells
    d913d5cc3ba5 bnxt: disable napi before canceling DIM
    5b24ae8f05ca bnxt: don't lock the tx queue from napi poll
    585ff7344ec1 bpf: Clear zext_dst of dead insns
    8dfdeeb1e98e drm/mediatek: Add AAL output size configuration
    a8b8d61babb4 drm/mediatek: Fix aal size config
    6715cefa72f6 soc / drm: mediatek: Move DDP component defines into mtk-mmsys.h
    1b6fc6f739d4 vdpa/mlx5: Avoid destroying MR on empty iotlb
    ecdd7c488062 vhost: Fix the calculation in vhost_overflow()
    e0b603c89a93 bus: ti-sysc: Fix error handling for sysc_check_active_timer()
    1af7ccbd920a vhost-vdpa: Fix integer overflow in vhost_vdpa_process_iotlb_update()
    293180f59342 virtio: Protect vqs list access
    9108120fbe31 dccp: add do-while-0 stubs for dccp_pr_debug macros
    e352531ed020 cpufreq: armada-37xx: forbid cpufreq for 1.2 GHz variant
    d2ab5491de91 iommu: Check if group is NULL before remove device
    44f454a146c0 arm64: dts: qcom: msm8992-bullhead: Remove PSCI
    95ed753d91bf arm64: dts: qcom: c630: fix correct powerdown pin for WSA881x
    d7d04c67492e Bluetooth: hidp: use correct wait queue when removing ctrl_wait
    2e6cc93e1b8c drm/amd/display: workaround for hard hang on HPD on native DP
    dcc8c5fb8d85 drm/amd/display: Fix Dynamic bpp issue with 8K30 with Navi 1X
    8849a8c7058e net: usb: lan78xx: don't modify phy_device state concurrently
    735e613fa587 net: usb: pegasus: Check the return value of get_geristers() and friends;
    6b368411bc0f ARM: dts: nomadik: Fix up interrupt controller node names
    410d1ea4ff3a qede: fix crash in rmmod qede while automatic debug collection
    7525f2e4de00 drm/amdgpu: fix the doorbell missing when in CGPG issue for renoir.
    711459514e29 scsi: core: Fix capacity set to zero after offlinining device
    8071dbe1bdd0 scsi: core: Avoid printing an error if target_alloc() returns -ENXIO
    4f78db7df6ed scsi: scsi_dh_rdac: Avoid crash during rdac_bus_attach()
    cc312fa7e6ef scsi: megaraid_mm: Fix end of loop tests for list_for_each_entry()
    968ee9176a44 scsi: pm80xx: Fix TMF task completion race condition
    b353028aed92 dmaengine: of-dma: router_xlate to return -EPROBE_DEFER if controller is not yet available
    35f416223673 ARM: dts: am43x-epos-evm: Reduce i2c0 bus speed for tps65218
    505884a0c7a1 net: xfrm: Fix end of loop tests for list_for_each_entry
    f1c0533fae59 spi: spi-mux: Add module info needed for autoloading
    b618a32142c7 dmaengine: usb-dmac: Fix PM reference leak in usb_dmac_probe()
    c160df90b0ca dmaengine: xilinx_dma: Fix read-after-free bug when terminating transfers
    d4930271a409 USB: core: Fix incorrect pipe calculation in do_proc_control()
    ba6c1b004ac5 USB: core: Avoid WARNings for 0-length descriptor requests
    8e100c72b6de KVM: X86: Fix warning caused by stale emulation context
    47d4c7999799 KVM: x86: Factor out x86 instruction emulation with decoding
    ff2fc9e4aaa6 media: drivers/media/usb: fix memory leak in zr364xx_probe
    56320b1ad4d0 media: zr364xx: fix memory leaks in probe()
    b5c7ec6d15af media: zr364xx: propagate errors from zr364xx_start_readpipe()
    779a0f4347a4 mtd: cfi_cmdset_0002: fix crash when erasing/writing AMD cards
    e2036bc3fc7d ath9k: Postpone key cache entry deletion for TXQ frames reference it
    609c0cfd07f0 ath: Modify ath_key_delete() to not need full key entry
    2925a8385ec7 ath: Export ath_hw_keysetmac()
    6566c207e576 ath9k: Clear key cache explicitly on disabling hardware
    8f05076983dd ath: Use safer key clearing with key cache entries

(From OE-Core rev: ce4eb69dc8ce06b3bb49fbddf27017f58ac20b0d)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-11 22:39:19 +01:00
Bruce Ashfield
fde23dd435 linux-yocto/5.13: update to v5.13.15
Updating linux-yocto/5.13 to the latest korg -stable release that comprises
the following commits:

    b8c3cc76091b Linux 5.13.15
    2f939f346edb media: stkwebcam: fix memory leak in stk_camera_probe
    26874d67198b ALSA: pcm: fix divide error in snd_pcm_lib_ioctl
    0c9cca4cbd05 ALSA: hda/realtek: Workaround for conflicting SSID on ASUS ROG Strix G17
    a0bdfbbb6d79 ALSA: usb-audio: Fix regression on Sony WALKMAN NW-A45 DAC
    237d4c2abcf8 ALSA: hda/realtek: Quirk for HP Spectre x360 14 amp setup
    deb48f56a556 USB: serial: cp210x: fix flow-control error handling
    4df3f36f3e43 USB: serial: cp210x: fix control-characters error handling
    7dac6a6ae0ec USB: serial: pl2303: fix GL type detection
    af64ddb6600f xtensa: fix kconfig unmet dependency warning for HAVE_FUTEX_CMPXCHG
    391cfacf8c81 cryptoloop: add a deprecation warning
    39c6cf24c4ff perf/x86/amd/power: Assign pmu.module
    3e3bb99d69a3 perf/x86/amd/ibs: Work around erratum #1197
    c7858c55cb5d ceph: fix possible null-pointer dereference in ceph_mdsmap_decode()
    1ab026cbc7c4 perf/x86/intel/pt: Fix mask of num_address_ranges
    610832256fd2 qede: Fix memset corruption
    8475b024be01 net: macb: Add a NULL check on desc_ptp
    9809b708655a riscv: dts: microchip: Add ethernet0 to the aliases node
    b13e2bf00cc2 riscv: dts: microchip: Use 'local-mac-address' for emac1
    2aad925a0c8e net: dsa: mv88e6xxx: Update mv88e6393x serdes errata
    9bf0c451fc85 qed: Fix the VF msix vectors flow
    eb5392205208 reset: reset-zynqmp: Fixed the argument data type
    241581af858b gpu: ipu-v3: Fix i.MX IPU-v3 offset calculations for (semi)planar U/V formats
    b6de6ec37320 ext4: fix e2fsprogs checksum failure for mounted filesystem
    c764e8fa4491 ext4: fix race writing to an inline_data file while its xattrs are changing
    a603798fb168 Linux 5.13.14
    49da19a85383 platform/x86: Make dual_accel_detect() KIOX010A + KIOX020A detect more robust
    4e25ac3793f7 audit: move put_tree() to avoid trim_trees refcount underflow and UAF
    f8132a4726df net: don't unconditionally copy_from_user a struct ifreq for socket ioctls
    6b58e692a685 Revert "parisc: Add assembly implementations for memset, strlen, strcpy, strncpy and strcat"
    9caa2e5a818d ubifs: report correct st_size for encrypted symlinks
    7532df5ee085 f2fs: report correct st_size for encrypted symlinks
    f04584399d1c ext4: report correct st_size for encrypted symlinks
    2bc40caa8099 fscrypt: add fscrypt_symlink_getattr() for computing st_size
    ba17363729d2 Revert "floppy: reintroduce O_NDELAY fix"
    301aabe0239f btrfs: fix NULL pointer dereference when deleting device by invalid id
    8e2112d600b2 arm64: dts: qcom: msm8994-angler: Fix gpio-reserved-ranges 85-88
    98d1fcc6c937 net: dsa: mt7530: fix VLAN traffic leaks again
    339e8ba1a3d0 Bluetooth: btusb: check conditions before enabling USB ALT 3 for WBS
    a5dfcf3d8ecc vt_kdsetmode: extend console locking
    65f5602cd767 tipc: call tipc_wait_for_connect only when dlen is not 0
    6b7533e796aa pipe: do FASYNC notifications for every pipe IO, not just state changes
    4abb1d77321a pipe: avoid unnecessary EPOLLET wakeups under normal loads
    eec6f991bf28 arm64: initialize all of CNTHCTL_EL2
    c9ecaffe65cb net/rds: dma_map_sg is entitled to merge entries
    66d8d0677e4d platform/x86: gigabyte-wmi: add support for B450M S2H V2
    b484bcabe66b drm/nouveau/kms/nv50: workaround EFI GOP window channel format differences
    045f785ad859 drm/nouveau/disp: power down unused DP links during init
    4dc8c06fd51e drm/nouveau: recognise GA107
    2a0e1f9a62e5 platform/x86: gigabyte-wmi: add support for X570 GAMING X
    7e6c3b5c9864 drm: Copy drm_wait_vblank to user before returning
    65bafad4556d blk-mq: don't grab rq's refcount in blk_mq_check_expired()
    1ae8c1e2dbd7 drm/amd/pm: change the workload type for some cards
    19be3ad020b1 Revert "drm/amd/pm: fix workload mismatch on vega10"
    e5baac733182 qed: Fix null-pointer dereference in qed_rdma_create_qp()
    b6d485eb00e1 qed: qed ll2 race condition fixes
    e415d2209567 platform/x86: asus-nb-wmi: Add tablet_mode_sw=lid-flip quirk for the TP200s
    aa4ad193d83b platform/x86: asus-nb-wmi: Allow configuring SW_TABLET_MODE method with a module option
    0eeee5f085e6 tools/virtio: fix build
    2aef43ab6de1 vringh: Use wiov->used to check for read/write desc order
    839815ea5f1d virtio_vdpa: reject invalid vq indices
    2f18a3c91fde virtio_pci: Support surprise removal of virtio pci device
    6c4072f94fab virtio: Improve vq->broken access to avoid any compiler optimization
    25d4ff7e59aa cpufreq: blocklist Qualcomm sm8150 in cpufreq-dt-platdev
    ef3738a60d18 opp: remove WARN when no valid OPPs remain
    184caa4f8b83 iwlwifi: add new so-jf devices
    eed3c6bb51fe iwlwifi: add new SoF with JF devices
    0dabf99c08de iwlwifi: pnvm: accept multiple HW-type TLVs
    2fcb7f101fa2 clk: renesas: rcar-usb2-clock-sel: Fix kernel NULL pointer dereference
    0298f03cf8ee sched: Fix get_push_task() vs migrate_disable()
    886364f99b7c perf/x86/intel/uncore: Fix integer overflow on 23 bit left shift of a u32
    6e6822e47ee3 usb: gadget: u_audio: fix race condition on endpoint stop
    0b3d2bfa7906 net: stmmac: fix kernel panic due to NULL pointer dereference of plat->est
    5ce4cc16d471 net: stmmac: add mutex lock to protect est parameters
    01e5bad5b6b8 Revert "mmc: sdhci-iproc: Set SDHCI_QUIRK_CAP_CLOCK_BASE_BROKEN on BCM2711"
    fd8b3da89096 media: ipu3-cio2: Drop reference on error path in cio2_bridge_connect_sensor()
    229db408796c net: hns3: fix get wrong pfc_en when query PFC configuration
    6434d7a17272 net: hns3: fix duplicate node in VLAN list
    5d73c3788d73 net: hns3: fix speed unknown issue in bond 4
    728d196fe469 net: hns3: add waiting time before cmdq memory is released
    13c1896f8ace net: hns3: clear hardware resource when loading driver
    6e472c800e5c rtnetlink: Return correct error on changing device netns
    8f4e74663b41 net: dsa: hellcreek: Adjust schedule look ahead window
    35844a1bde10 net: dsa: hellcreek: Fix incorrect setting of GCL
    7d1b598f92d7 cxgb4: dont touch blocked freelist bitmap after free
    fc21a98484ca ipv4: use siphash instead of Jenkins in fnhe_hashfun()
    b3f99fcc204b ipv6: use siphash in rt6_exception_hash()
    1a72ef276754 SUNRPC: Fix XPT_BUSY flag leakage in svc_handle_xprt()...
    d05330672afe net/sched: ets: fix crash when flipping from 'strict' to 'quantum'
    6faa3f1424f1 ucounts: Increase ucounts reference counter before the security hook
    768d4cf8dbaf net: marvell: fix MVNETA_TX_IN_PRGRS bit number
    a73e59683548 xgene-v2: Fix a resource leak in the error handling path of 'xge_probe()'
    01951aeafc40 ip_gre: add validation for csum_start
    4c00ae66159a RDMA/efa: Free IRQ vectors on error flow
    50092de6d9e4 e1000e: Do not take care about recovery NVM checksum
    7878e0fe833d e1000e: Fix the max snoop/no-snoop latency for 10M
    e46212393a30 igc: Use num_tx_queues when iterating over tx_ring queue
    7bc8e807665b igc: fix page fault when thunderbolt is unplugged
    89362210ac19 net: usb: pegasus: fixes of set_register(s) return value evaluation;
    2b0267118a68 ice: do not abort devlink info if board identifier can't be found
    a35de1e71b68 RDMA/rxe: Fix memory allocation while in a spin lock
    9413a11e77eb RDMA/bnxt_re: Remove unpaired rtnl unlock in bnxt_re_dev_init()
    7cfd5894226b IB/hfi1: Fix possible null-pointer dereference in _extend_sdma_tx_descs()
    4fdd674a31f2 RDMA/bnxt_re: Add missing spin lock initialization
    30067a9a1617 RDMA/uverbs: Track dmabuf memory regions
    6a4dd0859f4f RDMA/mlx5: Fix crash when unbind multiport slave
    db030881c465 scsi: core: Fix hang of freezing queue between blocking and running device
    3e07893f0f82 usb: dwc3: gadget: Stop EP0 transfers during pullup disable
    6b8951c842cd usb: dwc3: gadget: Fix dwc3_calc_trbs_left()
    24bcaabc7be2 usb: typec: tcpm: Raise vdm_sm_running flag only when VDM SM is running
    6a59c0559d74 usb: renesas-xhci: Prefer firmware loading on unknown ROM state
    155c3c86abdb USB: serial: option: add new VID/PID to support Fibocom FG150
    2159dc1c023d Revert "USB: serial: ch341: fix character loss at high transfer rates"
    05366fb0bfd1 drm/amdgpu: Fix build with missing pm_suspend_target_state module export
    164f7029a8ca drm/amdgpu: use the preferred pin domain after the check
    49db1b658914 drm/amdgpu: Cancel delayed work when GFXOFF is disabled
    05c07e76a37c drm/i915/dp: Drop redundant debug print
    65e526efa215 drm/i915: Fix syncmap memory leak
    b9d0c15e74cd net: stmmac: fix kernel panic due to NULL pointer dereference of buf->xdp
    d4a399b96e0b net: stmmac: fix kernel panic due to NULL pointer dereference of xsk_pool
    efc5eb94e7b3 Revert "btrfs: compression: don't try to compress if we don't have enough pages"
    dbce1780abeb mm/memory_hotplug: fix potential permanent lru cache disable
    0d1cf894cc24 powerpc: Re-enable ARCH_ENABLE_SPLIT_PMD_PTLOCK
    9e04475feb82 riscv: Ensure the value of FP registers in the core dump file is up to date
    31296d4fdbff dt-bindings: sifive-l2-cache: Fix 'select' matching
    904d52e1beda ceph: correctly handle releasing an embedded cap flush
    dbbf1899c6ff can: usb: esd_usb2: esd_usb2_rx_event(): fix the interchange of the CAN RX and TX error counters
    1579b0f1e7bd net: mscc: Fix non-GPL export of regmap APIs
    60c1ed05cba1 ovl: fix uninitialized pointer read in ovl_lookup_real_one()
    2514e486faf7 blk-iocost: fix lockdep warning on blkcg->lock
    de14d2fc6a62 io_uring: rsrc ref lock needs to be IRQ safe
    b8eaf1e595fe once: Fix panic when module unload
    7aa03980b21f netfilter: conntrack: collect all entries in one cycle
    e0f824abe0f4 netfilter: ipset: Limit the maximal range of consecutive elements to add/delete
    3ac582bc72d7 ARC: Fix CONFIG_STACKDEPOT
    9810910bc686 platform/x86: Add and use a dual_accel_detect() helper
    dbd38b275b86 ASoC: component: Remove misplaced prefix handling in pin control functions
    6f2ec29dfd5e ASoC: rt5682: Adjust headset volume button threshold
    a31b3b8d3cbf bpf: Fix ringbuf helper function compatibility
    d6060df9b53a net: qrtr: fix another OOB Read in qrtr_endpoint_post

(From OE-Core rev: 1da8ab37f6bafed399ce6e127221456db949dc50)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-11 22:39:19 +01:00
Bruce Ashfield
fda534a735 linux-yocto/5.13: update to v5.13.13
Updating linux-yocto/5.13 to the latest korg -stable release that comprises
the following commits:

    7aeadb5bb82a Linux 5.13.13
    2ff626b14003 fs: warn about impending deprecation of mandatory locks
    a57b2a703e44 io_uring: fix xa_alloc_cycle() error return value check
    515b6124df6a hugetlb: don't pass page cache pages to restore_reserve_on_error
    371fb63d0926 kfence: fix is_kfence_address() for addresses below KFENCE_POOL_SIZE
    9690e6ffac0b mm/hwpoison: retry with shake_page() for unhandlable pages
    59e5c9ecdeb0 mm,hwpoison: make get_hwpoison_page() call get_any_page()
    e4e8c58cc78e mm: memcontrol: fix occasional OOMs due to proportional memory.low reclaim
    2d1704c3fe30 riscv: Fix a number of free'd resources in init_resources()
    8c5beac92d0e ASoC: intel: atom: Fix breakage for PCM buffer address setup
    8f4eb032a019 ALSA: hda/realtek: Limit mic boost on HP ProBook 445 G8
    59734f7eaaa4 PCI: Increase D3 delay for AMD Renoir/Cezanne XHCI
    00609919ec4d powerpc/32s: Fix random crashes by adding isync() after locking/unlocking KUEP
    33bd5804ac66 powerpc/32s: Refactor update of user segment registers
    efe40fdb6d30 powerpc/32s: Move setup_{kuep/kuap}() into {kuep/kuap}.c
    534a0bc7c87a usb: typec: tcpm: Fix VDMs sometimes not being forwarded to alt-mode drivers
    21d6e237bcc2 s390/pci: fix use after free of zpci_dev
    fe2edb82e5be ALSA: hda/via: Apply runtime PM workaround for ASUS B23E
    41f0262ffb44 tracing: Apply trace filters on all output channels
    f7c707f8ec18 btrfs: prevent rename2 from exchanging a subvol with a directory from different parents
    ddd7fff18986 mmc: sdhci-iproc: Set SDHCI_QUIRK_CAP_CLOCK_BASE_BROKEN on BCM2711
    f41b4c30fb73 mmc: sdhci-iproc: Cap min clock frequency on BCM2711
    70063522ee90 opp: Drop empty-table checks from _put functions
    30392f88dace ALSA: hda/realtek: Enable 4-speaker output for Dell XPS 15 9510 laptop
    da8495661fe9 io_uring: only assign io_uring_enter() SQPOLL error in actual error case
    501449420a42 io_uring: fix code style problems
    606f36948a9a ipack: tpci200: fix memory leak in the tpci200_register
    d09bfebbdf22 ipack: tpci200: fix many double free issues in tpci200_pci_probe
    c1001de019ef slimbus: ngd: reset dma setup during runtime pm
    c8f6e68a95c2 slimbus: ngd: set correct device for pm
    28b55e58b864 slimbus: messaging: check for valid transaction id
    e0e46e209e9d slimbus: messaging: start transaction ids from 1 instead of zero
    65a4722bb931 tracing / histogram: Fix NULL pointer dereference on strcmp() on NULL event name
    0ce48083d843 tracing: define needed config DYNAMIC_FTRACE_WITH_ARGS
    2152ee71c164 ALSA: hda - fix the 'Capture Switch' value change notifications
    8681e95da50b cfi: Use rcu_read_{un}lock_sched_notrace
    82d1ea87b9d5 arm64: clean vdso & vdso32 files
    03c33905ee88 clk: qcom: gdsc: Ensure regulator init state matches GDSC state
    95e5238a2fba clk: imx6q: fix uart earlycon unwork
    2fcb62673120 mmc: sdhci-msm: Update the software timeout value for sdhc
    87762c77c39f mmc: mmci: stm32: Check when the voltage switch procedure should be done
    fffcf7fc898a mmc: dw_mmc: Fix hang on data CRC error
    7179eac5556e iommu/dma: Fix leak in non-contiguous API
    b89542f4a60b net: dpaa2-switch: disable the control interface on error path
    5d547d83abb2 Revert "flow_offload: action should not be NULL when it is referenced"
    260b1eb312a0 iavf: Fix ping is lost after untrusted VF had tried to change MAC
    ea1cf8a6d966 i40e: Fix ATR queue selection
    1d9d64cad2fe PCI/sysfs: Use correct variable for the legacy_mem sysfs object
    f21adfddafdf r8152: fix the maximum number of PLA bp for RTL8153C
    5809f8d9b7c0 r8152: fix writing USB_BP2_EN
    dedbf29c6b36 mptcp: full fully established support after ADD_ADDR
    828c3a32238c mptcp: fix memory leak on address flush
    11c79e1615a4 net: mscc: ocelot: allow forwarding from bridge ports to the tag_8021q CPU port
    751f4b539afb drm/amd/display: Use DCN30 watermark calc for DCN301
    e0f2d91e0869 drm/i915: Tweaked Wa_14010685332 for all PCHs
    678b67771cef drm/i915: Skip display interruption setup when display is not available
    936eca018fee iommu/vt-d: Fix incomplete cache flush in intel_pasid_tear_down_entry()
    4e4f3cb41d68 net: usb: asix: refactor asix_read_phy_addr() and handle errors on return
    cf4c1661c40e ovs: clear skb->tstamp in forwarding path
    9581895b37fe net: mdio-mux: Handle -EPROBE_DEFER correctly
    b2973b87ba11 net: mdio-mux: Don't ignore memory allocation errors
    0e805b74cd13 sch_cake: fix srchost/dsthost hashing mode
    ac161cf77818 ixgbe, xsk: clean up the resources in ixgbe_xsk_pool_enable error path
    7af09aeddbae net: qlcnic: add missed unlock in qlcnic_83xx_flash_read32
    39af3583c8fb mac80211: fix locking in ieee80211_restart_work()
    0de9c4de5ca1 virtio-net: use NETIF_F_GRO_HW instead of NETIF_F_LRO
    9213ce667258 vrf: Reset skb conntrack connection on VRF rcv
    a5607b1d8e34 bnxt_en: Add missing DMA memory barriers
    020761f49efb bnxt_en: Disable aRFS if running on 212 firmware
    1a2798f36805 ptp_pch: Restore dependency on PCI
    010d7ad77e2d net: 6pack: fix slab-out-of-bounds in decode_data
    47d43f06fd87 soc: fsl: qe: fix static checker warning
    5eb70221eb03 bnxt: count Tx drops
    40c767494e15 bnxt: make sure xmit_more + errors does not miss doorbells
    781279257968 bnxt: disable napi before canceling DIM
    7edc1a0deca8 bnxt: don't lock the tx queue from napi poll
    a89ba11b263b bpf: Clear zext_dst of dead insns
    3d7f5031f870 drm/mediatek: Add component_del in OVL and COLOR remove function
    e5f25a6ea31a drm/mediatek: Add AAL output size configuration
    88e35118e7c9 vdpa/mlx5: Fix queue type selection logic
    c903a1fd0968 vdpa/mlx5: Avoid destroying MR on empty iotlb
    29236481a883 vDPA/ifcvf: Fix return value check for vdpa_alloc_device()
    080d65ba644f vp_vdpa: Fix return value check for vdpa_alloc_device()
    434887c6ac41 vdpa_sim: Fix return value check for vdpa_alloc_device()
    83f6738578b3 vhost: Fix the calculation in vhost_overflow()
    dcd6c72344f3 bus: ti-sysc: Fix error handling for sysc_check_active_timer()
    8a821b88b1a6 vhost-vdpa: Fix integer overflow in vhost_vdpa_process_iotlb_update()
    6caaf9fcb7b4 virtio: Protect vqs list access
    b380dfb298da dccp: add do-while-0 stubs for dccp_pr_debug macros
    5238de0459c0 cpufreq: armada-37xx: forbid cpufreq for 1.2 GHz variant
    ed6b6c758b67 soc: fsl: qe: convert QE interrupt controller to platform_device
    b39db8c4397d mtd: rawnand: Fix probe failure due to of_get_nand_secure_regions()
    dd53a5f93b2e mt76: fix enum type mismatch
    c442bd5a0e20 arm64: dts: qcom: sdm845-oneplus: fix reserved-mem
    ae19ca1cb3f0 arm64: dts: qcom: msm8994-angler: Disable cont_splash_mem
    1c4678cb01ee cpufreq: arm_scmi: Fix error path when allocation failed
    731825e59e1d iommu: Check if group is NULL before remove device
    02491c3d81ef arm64: dts: qcom: msm8992-bullhead: Fix cont_splash_mem mapping
    aa9cac63e49c arm64: dts: qcom: msm8992-bullhead: Remove PSCI
    6fed550393b8 arm64: dts: qcom: c630: fix correct powerdown pin for WSA881x
    73bb2572339d mtd: rawnand: Add a check in of_get_nand_secure_regions()
    85f5d3d0bc2e kyber: make trace_block_rq call consistent with documentation
    a6488cc30f01 drm/amd/display: workaround for hard hang on HPD on native DP
    a4ebe05cd99e drm/amd/display: Fix Dynamic bpp issue with 8K30 with Navi 1X
    5fd92907a473 spi: cadence-quadspi: Fix check condition for DTR ops
    d6080ac32e3e perf/x86: Fix out of bound MSR access
    cae49c93c71c net: usb: lan78xx: don't modify phy_device state concurrently
    d45f37c6120e net: usb: pegasus: Check the return value of get_geristers() and friends;
    e5f45fdefd8d ARM: dts: nomadik: Fix up interrupt controller node names
    56dcfd2e0145 qede: fix crash in rmmod qede while automatic debug collection
    0620a81e8040 drm/amdgpu: fix the doorbell missing when in CGPG issue for renoir.
    c6751ce1a2a4 scsi: core: Fix capacity set to zero after offlinining device
    87820c748fda scsi: core: Avoid printing an error if target_alloc() returns -ENXIO
    7bbfccc78e0e scsi: scsi_dh_rdac: Avoid crash during rdac_bus_attach()
    f57f3722788e scsi: megaraid_mm: Fix end of loop tests for list_for_each_entry()
    fa3c19ceaa8b scsi: pm80xx: Fix TMF task completion race condition
    c589360bd3a9 dmaengine: of-dma: router_xlate to return -EPROBE_DEFER if controller is not yet available
    d09867c795c3 ARM: dts: am43x-epos-evm: Reduce i2c0 bus speed for tps65218
    38df50afe852 net: xfrm: Fix end of loop tests for list_for_each_entry
    1718285e1419 spi: spi-mux: Add module info needed for autoloading
    7c6e26d59bfb dmaengine: usb-dmac: Fix PM reference leak in usb_dmac_probe()
    fcd998a0536e dmaengine: xilinx_dma: Fix read-after-free bug when terminating transfers
    d9aee1535e7b USB: core: Fix incorrect pipe calculation in do_proc_control()
    08fb58a2c3dc USB: core: Avoid WARNings for 0-length descriptor requests
    261d195d5fe6 io_uring: Use WRITE_ONCE() when writing to sq_flags
    e8daa0dd99c9 mtd: cfi_cmdset_0002: fix crash when erasing/writing AMD cards

(From OE-Core rev: 1dc896275f31df9b620f22c94fc478252e24c514)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-11 22:39:19 +01:00
Richard Purdie
92d1ba8dbb Revert "default-distrovars.inc: Set BBINCLUDELOGS to empty to disable printing failed task output multiple times"
There are fixes in bitbake which should now allow this to operate as expected.

(From OE-Core rev: b7f9980a5b2d29ac289b8cfde67779c11fda41d3)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-11 22:39:19 +01:00
Joshua Watt
d584f9c6bd bitbake: cooker: Allow upstream for local hash equivalence server
The hash equivalence server has had the option to support a read-only
upstream server for some time now when launched as a standalone program,
but there was no way to set the upstream when using a locally started
server. Add a new variable called BB_HASHSERVE_UPSTREAM that can be used
to specify an upstream server when a local hash equivalence server is
used (e.g. BB_HASHSERVE is "auto")

(Bitbake rev: 250fa17f1391ff1ee01ab9b51d2a4f9aa35c1d1e)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-11 22:39:19 +01:00
Richard Purdie
15c87c405f bitbake: runqueue: Clean up task stats handling
When we parallelised normal and setscene tasks, the task stats
handling was left separate pending further thought. We had to remove
handling of the setscene tasks from the UI in order to maintain
consistent task numbering.

Currently, "0 of 0" tasks can be shown as setscene tasks execute
until the first normal task runs.

The only use left for sq_stats is in the active task numbers which
we can use the length of sq_ive for instead. We can therefore
drop it and return stats in all cases. This removes the "0 of 0" task
problem since the stats in all normal and setscene tasks matches.

[YOCTO #14479]

(Bitbake rev: eae6e947e37e18cded053814bd2a268b44fb25cd)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-11 22:39:19 +01:00
Richard Purdie
e75e89b418 bitbake: cookerdata: Show error for no BBLAYERS in bblayers.conf
If there is no BBLAYERS set in bblayers.conf show a more helpful
error and exit.

[YOCTO #14340]

(Bitbake rev: 97183e10faf9862b5d9489d6e2c27ac77c3b697d)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-11 22:39:19 +01:00
Richard Purdie
38deb04a38 bitbake: cookerdata: Improve missing core layer error message
If the core layer is missing from bblayers.conf, the message the user sees is
hard to understand. Improve it.

[YOCTO #14340]

(Bitbake rev: 5815a7258ebb8a989e0c6f5798853559d9413f02)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-11 22:39:19 +01:00
Richard Purdie
433cff7297 bitbake: fetch2: Add recursion guard
Users sometimes put ${S} references in ${SRC_URI} without realising this can be
problematic. Improve the error messages if they accidentally do.

[YOCTO #11593]

(Bitbake rev: 89e0b19ec0b245a6cd414088904c91808e8814ab)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-11 22:39:19 +01:00
Richard Purdie
d0389d202c bitbake: data_smart: Improve error display for handled exceptions
We don't need tracebacks for BBHandledException. Reduces confusing output like:

ERROR: /meta/recipes-core/images/core-image-tiny-initramfs.bb: Circular task dependencies as do_image_complete depends itself via the chain do_image_complete -> do_packageswu -> do_image_qa -> do_image -> do_image_cpio
ERROR: ExpansionError during parsing /meta/recipes-core/images/core-image-tiny-initramfs.bb
Traceback (most recent call last):
  File "/bitbake/lib/bb/build.py", line 1050, in follow_chain(task='do_image_qa', endtask='do_build', chain=['do_image_complete', 'do_packageswu', 'do_image_qa', 'do_image', 'do_image_cpio']):
                     if task in deps:
    >                    follow_chain(othertask, endtask, chain)
             chain.pop()
  File "/bitbake/lib/bb/build.py", line 1050, in follow_chain(task='do_image', endtask='do_build', chain=['do_image_complete', 'do_packageswu', 'do_image_qa', 'do_image', 'do_image_cpio']):
                     if task in deps:
    >                    follow_chain(othertask, endtask, chain)
             chain.pop()
  File "/bitbake/lib/bb/build.py", line 1050, in follow_chain(task='do_image_cpio', endtask='do_build', chain=['do_image_complete', 'do_packageswu', 'do_image_qa', 'do_image', 'do_image_cpio']):
                     if task in deps:
    >                    follow_chain(othertask, endtask, chain)
             chain.pop()
  File "/bitbake/lib/bb/build.py", line 1038, in follow_chain(task='do_image_complete', endtask='do_build', chain=['do_image_complete', 'do_packageswu', 'do_image_qa', 'do_image', 'do_image_cpio']):
             if task in chain:
    >            bb.fatal("Circular task dependencies as %s depends itself via the chain %s?!" % (task, " -> ".join(chain)))
             chain.append(task)
  File "/bitbake/lib/bb/__init__.py", line 165, in fatal:
         mainlogger.critical(''.join(args), extra=kwargs)
    >    raise BBHandledException()

to the real error:

ERROR: /media/build1/poky/meta/recipes-core/images/core-image-tiny-initramfs.bb: Circular task dependencies as do_image_complete depends itself via the chain do_image_complete -> do_packageswu -> do_image_qa -> do_image -> do_image_cpio

(Bitbake rev: 551d4c0576a0a0c3406000029df9238b312f2263)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-11 22:39:19 +01:00
Richard Purdie
3a8cb949a9 bitbake: build: Catch and error upon circular task references
If there are circular task references, error on them rather than show
a recursion error. A simple reproducer is:

"""
do_packageswu () {
       :
}

addtask do_packageswu after do_image_complete before do_image_qa
"""

into image_types.bbclass. There is code in runqueue to detect these but
we never get that far with the current codebase.

[YOCTO #13140]

(Bitbake rev: 339d4d6be515a71311b81fb9e99742af0d8a5130)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-11 22:39:19 +01:00
Richard Purdie
3a737a783c bitbake: data_smart: Make ExpansionErrors more readable
This adds context to ExpansionError messages which show the variable chain for which
expansion is being attempted. This should allow users to debug the issues more easily
than the current message (the first line alone below). Example output from a
SRC_URI which references ${S}:

bb.data_smart.ExpansionError: Failure expanding variable PV, expression was 0.1+git${SRCPV} which triggered exception RecursionError: maximum recursion depth exceeded while calling a Python object
The variable dependency chain for the failure is: PV -> WORKDIR -> S -> SRC_URI -> SRCPV -> PV -> WORKDIR -> S -> SRC_URI -> SRCPV
-> PV -> WORKDIR -> S -> SRC_URI -> SRCPV -> PV -> WORKDIR -> S -> SRC_URI -> SRCPV -> PV -> WORKDIR -> S -> SRC_URI -> SRCPV
-> PV -> WORKDIR -> S -> SRC_URI -> SRCPV -> PV -> WORKDIR -> S -> SRC_URI -> SRCPV -> PV -> WORKDIR -> S -> SRC_URI -> SRCPV
-> PV -> WORKDIR -> S -> SRC_URI -> SRCPV -> PV -> WORKDIR -> S -> SRC_URI -> SRCPV -> PV -> WORKDIR -> S -> SRC_URI -> SRCPV
-> PV -> WORKDIR -> S -> SRC_URI -> SRCPV -> PV -> WORKDIR -> S -> SRC_URI -> SRCPV -> PV -> WORKDIR -> S -> SRC_URI -> SRCPV
-> PV -> WORKDIR -> S -> SRC_URI -> SRCPV -> PV -> WORKDIR -> S -> SRC_URI -> SRCPV -> PV -> WORKDIR -> S -> SRC_URI -> SRCPV
-> PV -> WORKDIR -> S -> SRC_URI -> SRCPV -> PV -> WORKDIR -> S -> SRC_URI -> SRCPV -> PV -> WORKDIR -> S -> SRC_URI -> SRCPV
-> PV -> WORKDIR -> S -> SRC_URI -> SRCPV -> PV -> WORKDIR -> S -> SRC_URI -> SRCPV -> PV -> WORKDIR -> S -> SRC_URI -> SRCPV
-> PV -> WORKDIR -> S -> SRC_URI -> SRCPV -> PV -> WORKDIR -> S -> SRC_URI -> SRCPV -> PV -> WORKDIR -> S -> SRC_URI -> SRCPV
-> PV -> WORKDIR -> S -> SRC_URI -> SRCPV -> PV -> WORKDIR -> S -> SRC_URI -> SRCPV -> PV -> WORKDIR -> S -> SRC_URI -> SRCPV
-> PV -> WORKDIR -> S -> SRC_URI -> SRCPV -> PV -> WORKDIR -> S -> SRC_URI -> SRCPV -> PV -> WORKDIR -> S -> SRC_URI -> SRCPV
-> PV -> WORKDIR -> S -> SRC_URI -> SRCPV -> PV -> WORKDIR -> S -> SRC_URI -> SRCPV -> PV -> WORKDIR -> S -> SRC_URI -> SRCPV
-> PV -> WORKDIR -> S -> SRC_URI -> SRCPV -> PV -> WORKDIR -> S -> SRC_URI -> SRCPV -> PV -> WORKDIR -> S -> SRC_URI -> SRCPV
-> PV -> BP -> FILESPATH

which is more useful that no output. We could truncate at repetition but I suspect
this makes this clearer as it stands so there is little value in complicating the code.

(Bitbake rev: 699634bec47964fa7ab18689dc23db6f0bc22fb3)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-11 22:39:19 +01:00
Richard Purdie
f49854c1f7 bitbake: build: Avoid duplicating logs in verbose mode
With "bitbake -v", for task failures you'd see the log output twice. Avoid
this by using the existing "did we print info" switch.

(Bitbake rev: e2c1afda4cb8023ed4ffeb5dc5bee4f0055659a8)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-11 22:39:19 +01:00
Richard Purdie
ba4a61e69c bitbake: process: Don't include logs in error message if piping them
If the caller is piping the logs, they likely don't want them in the error exception
as well. This removes duplicate output from the build output allowing the UI level
controls on whether to show logs to work correctly.

(Bitbake rev: fc58ad84a9deb2620ad90611684dad65dafedb11)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-11 22:39:19 +01:00
Richard Purdie
c2b40b0f6d bitbake: build: Handle SystemExit in python tasks correctly
If a python task fails with sys.exit(), we currently see no TaskFailed event.
The high level code does detect the exit code and fail the task but it can
leave the UI inconsistent with log output.

Fix this be intercepting SystemExit explicitly. This makes python
task failures consistent with shell task failures.

(Bitbake rev: 9eee9fd4f2f96789ad2b037e74d561bdc1426856)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-11 22:39:19 +01:00
Richard Purdie
444592b763 bitbake: build: Match markup to real function name
The point of the injected text is to identify where the function comes from. Using
the correct function name would therefore be better.

(Bitbake rev: 30c6ff8551c235254ab90663ab88f66bb0c71edb)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-11 22:39:19 +01:00
Richard Purdie
ad0ffb6f9f bitbake: parse_py: Drop deprecated function reference
This is now used from bb.parse everywhere so drop this long deprecated reference.

(Bitbake rev: aaa5292ef96ea27f505bc5c5a4b1eb4f497ed061)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-10 09:26:04 +01:00
Richard Purdie
81f47730b3 bitbake: persist_data: Drop deprecated/unused function
This class has long since been deprecated and is unused, drop it. I'd love
to get rid of the rest of persist_data but it is still used by the fetcher,
sadly.

(Bitbake rev: 1c574aae8c8ec427f27ab0d68bac9e7483016f18)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-10 09:26:04 +01:00
Quentin Schulz
855334b0f7 bitbake: doc: bitbake-user-manual-fetching: S should be set to WORKDIR/git for git fetcher
Document that S has to be set to "${WORKDIR}/git" in order for the
recipe to work if the git fetcher is fetching the main source of code
for the recipe.

(Bitbake rev: c394f34437686c2f57a27f0c06d7aeb3268bfd41)

Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-10 09:26:04 +01:00
Richard Purdie
b063499763 pseudo: Update with fcntl and glibc 2.34 fixes
Pull in the following changes:

* ports/linux/guts: Add closefrom support for glibc 2.34
* pseudo_client: Make msg static in pseudo_op_client
* ports/linux/guts: Add close_range wrapper for glibc 2.34
* pseudo_client: Do not pass null argument to pseudo_diag()
* test-openat: Consider device as well as inode number
* test: Add missing test-statx test case
* fcntl: Add support for fcntl F_GETPIPE_SZ and F_SETPIPE_SZ

(From OE-Core rev: 71b549924a7fa7973a8e03e11f3db45fdc29889d)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-10 09:25:39 +01:00
Hsia-Jun(Randy) Li
73967f5e6f cross-canadian: make android pass target sys check
We could build an Android toolchain but its triple should
always contain the string android or clang can't link
the right object files for it.

(From OE-Core rev: e9527164cfd628cfd3def2077cc19e75add06db8)

Signed-off-by: Hsia-Jun(Randy) Li <randy.li@synaptics.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-10 09:25:38 +01:00
Alexander Kanavin
714f11a72d core-image-ptest-all: bump RAM requirement to 4G
/tmp is half that, and lttng-ptest writes just under 1G there
(and just over 1G on aarch64), so let's have a safe margin.

(From OE-Core rev: ef39039cac5819b2e1d65838367ff2be69eab4c2)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-10 09:25:38 +01:00
Alexander Kanavin
84e0778f0a lttng: update 2.12 -> 2.13.0
Drop 0001-tests-regression-disable-the-tools-live-tests.patch
(mass-disabling of ptests) and replace that with more targeted fixes:

- a patch that adds explicit sleeps where races due to too tight timings
were observed (not a proper fix; upstream needs to figure out how
to sync explicitly and reliably)

- LD_LIBRARY_PATH so that helper binaries are able to find their
custom libraries they're linked with (we strip rpath from them
for reproducibility)

- set pgrep location explicitly as it used unconditionally
on target, but auto-detected (incorrectly) on the host

- enable kmod as it is available in target images

- correct various missing scripts, binaries, and inhibit stripping
where that is expected.

License-Update: license info consolidated in LICENSE
(From OE-Core rev: 750d640f12b5c6804af51a67e23d4aca93564b79)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-10 09:25:38 +01:00
Ross Burton
d42e12a0bd create-spdx: handle CLOSED license
The special CLOSED license means that this is closed source code with
no other licensing assertions.  It's not a generic license in oe-core,
and not a SPDX license, so transform it to NONE explicitly.

(From OE-Core rev: b71bfba1b5076ad1b9a10c08ef0e3393ccbed92a)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-10 09:25:38 +01:00
Robert Yang
dbac3e8432 assimp: Remove it
Remove it since it has license issues:

* scripts/StepImporter/schema_ifc2x3.exp
Copyright by: International Alliance for Interoperability, 1996-2005 All rights
reserved. No part of this documentation may be reproduced, stored in a
retrieval system, or transmitted in any form or by any means, without the prior
written permission of the owner

* test/models-nonbsd/X/dwarf-Read-Me.txt
RESTRICTIONS: This model pack is available for use in freeware, shareware,
commercial games/software with the following restrictions:- **You may not
sell/re-sell this model pack or claim it as your own. ***You may not
redistribute this pack in some other model pack through a website or on a
compilation CD of any kind, without my written consent. Psi
http://www.psionic3d.co.uk

* test/models-nonbsd/B3D/turtle.source.txt
Copyright 2004, Psionic Design e-mail: psionic@blueyonder.co.uk Used with
permission. RESTRICTIONS: This model pack is available for use in freeware,
shareware, commercial games/software with the following restrictions:- **You
may not sell/re-sell this model pack or claim it as your own. ***You may not
redistribute this pack in some other model pack through a website or on a
compilation CD of any kind, without my written consent.

And no recipes depend on it, so remove it.

(From OE-Core rev: 92719e01a90f2a80f5cceb2f98a48c49f0c24f1c)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-10 09:25:38 +01:00
Quentin Schulz
ea71f54102 conf/mips: mips16e: prepend override to MACHINEOVERRIDES
Add the tune specific override to MACHINEOVERRIDES and not OVERRIDES as
is done for all other tune include files.

Also prepend it instead of appending so that it's among the leftmost
overrides in MACHINEOVERRIDES and has a lower precedence compared to
other MACHINEOVERRIDES added later (which usually are added via a =.
(prepend)).

(From OE-Core rev: c1d524cae8ba5aa1e30e4a66937b8af3d4a67531)

Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-10 09:25:38 +01:00
Richard Purdie
fa811bef85 oeqa/oescripts: Fix after tar recipe changes
(From OE-Core rev: d8862f5b85266b2f8592cb1efe23e377c10c7b7d)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-10 09:25:38 +01:00
Mingli Yu
966365a6a3 tar: add pkgconfig for selinux
Add pkgconfig setting for selinux.

(From OE-Core rev: 348ce6f8d5f5f3f598d01d8db55d575a972fe847)

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-10 09:25:38 +01:00
Mingli Yu
f47964be45 findutils: add pkgconfig for selinux
Add pkgconfig setting for selinux.

(From OE-Core rev: 7cc66fcdf8c2cec16533a4d7a6032ea2986b9079)

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-10 09:25:38 +01:00
Mingli Yu
2c97f0e299 coreutils: add pkgconfig for selinux
Add pkgconfig setting for selinux.

(From OE-Core rev: ee48a2dbfb9e79225774c69a08a92a88dc9ac1d9)

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-10 09:25:38 +01:00
Richard Purdie
fd9c3a5a14 bitbake: runqueue: Fix issues with multiconfig deferred task deadlock messages
In multiconfig builds with large numbers of identical tasks, builds were
deadlocking after recent runqueue changes upon rebuilds where there was
heavy sstate usage (i.e. on second builds after a first completed).

The issue was that deferred tasks were being left indefinitely on
the deferred list. The deadlock handler was then "breaking" things
by failing tasks that had already succeeded, leading to the task
being on both covered and not covered lists, giving a further error.

The fix is to clean up the deferred task list when each setscene task
completes. I'd previously been hoping to avoid iterating that list
but it appears unavoidable.

[YOCTO #14342]

(Bitbake rev: ae24a0f2d2d8b4b5ec10efabd0e9362e560832ea)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-08 15:33:14 +01:00
Richard Purdie
7e599a1feb bitbake: runqueue: Avoid deadlock avoidance task graph corruption
If the deferred task deadlock avoidance code triggers, it could mark an executed
task as failed which leads to "covered and not covered" error messages. Improve
the logic so if the deadlock code is triggered, it doesn't cause the errors.

(Bitbake rev: 51bdd6cb3bd9e2c02e261fb578bb945b86b82c75)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-08 15:33:14 +01:00
Saul Wold
745bc89574 create-spdx: remove trailing comma
The trailing comma turns ref_id into an object instead of a string
when added to the relationship table.

(From OE-Core rev: ec20e1a0e0ba61a7615b361bfc9d9dc58a91f9b3)

Signed-off-by: Saul Wold <saul.wold@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-08 15:32:55 +01:00
Scott Weaver
7de1e4cd7a bitbake: bitbake: tests/fetch: add and fix npm tests
This adds one new test that verifies the use of a specific filename
when defined in PREMIRRORS.

bb.tests.fetch.NPMTest:
	- test_npm_premirrors_with_specified_filename

While testing bz#13039, it was found that test_npm_registry_alternate
fails with ENOTFOUND. This was corrected by using npmjs's public mirror.

The change to fetch2 for bz#13039 highlighted an issue with the
test_npm_premirrors test where the created file:// mirror was using the
downloadfilename rather than the tarball that is defined by the npm url.

(Bitbake rev: 5ba191a0407af9e652e3b86302dce3e952d6b587)

Signed-off-by: Scott Weaver <weaverjs@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-07 21:54:39 +01:00
Scott Weaver
3b58b1fc1c bitbake: bitbake: tests/fetch: add downloadfilename tests
This adds three new tests which evaluate different use cases of the
downloadfilename property.

bb.tests.fetch.FetcherNetworkTest:
	- test_fetch_specify_downloadfilename
	- test_fetch_premirror_specify_downloadfilename_regex_uri
	- test_fetch_premirror_specify_downloadfilename_specific_uri

(Bitbake rev: 61db3e96530d650e098436fd086f0182d32998f7)

Signed-off-by: Scott Weaver <weaverjs@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-07 21:54:39 +01:00
Scott Weaver
4939a41982 bitbake: bitbake: fetch2: fix premirror URI when downloadfilename defined
When downloadfilename is defined in a recipe's SRC_URI and PREMIRRORS is also
defined using the same URI, the downloadfilename is appended to the mirror
URI and it should not be.

[YOCTO #13039]

(Bitbake rev: 8a3ff9f3eaf19d4258eb070c5dc230dface269b2)

Signed-off-by: Scott Weaver <weaverjs@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-07 21:54:39 +01:00
Randy MacLeod
77ee567007 tcmode-default: add rust to the default toolchains
Remove the rust_versions.inc file and put it's content
in tcmode-default.inc is done for other toolchains.

Rename RUST_VERSION to RUSTVERSION to adhere to the
naming format used for other languages.

(From OE-Core rev: e56c4e0dca3ca6187271031d4f30c76a42879639)

Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-07 21:54:11 +01:00
Robert P. J. Day
abeb2e95c6 systemd: '${systemd_unitdir}/system' => '${systemd_system_unitdir}'
Repo-wide replacement to use newer variable to represent systemd
system unitdir directory.

(From OE-Core rev: 5ace3ada5c54500c71becc8e0c6eddeb8bc053e3)

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-07 21:54:11 +01:00
Robert P. J. Day
3a70262357 image_types_wic.bbclass: alphabetize list of WICVARS
It's way easier to scan a list of variables if they're sorted one per
line.

(From OE-Core rev: aec6fcb98c7dabf16779efb333be09d73d9f4ee0)

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-07 21:54:11 +01:00
Richard Purdie
1ad2ae0497 go: Exclude CVE-2021-29923 from report list
Upstream don't believe it is a signifiant real world issue and will only
fix in 1.17 onwards. Therefore exclude it from our reports.

https://github.com/golang/go/issues/30999#issuecomment-910470358

(From OE-Core rev: 5bd5faf0c34b47b2443975d66b71482d2380a01a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-07 21:54:11 +01:00
Richard Purdie
8632de2d7a flex: Add CVE-2019-6293 to exclusions for checks
CVE is effectively disputed - yes there is stack exhaustion but no bug and it
is building the parser, not running it, effectively similar to a compiler ICE.
Upstream no plans to address and there is no security issue.

https://github.com/westes/flex/issues/414

(From OE-Core rev: 0cae5d7a24bedf6784781b62cbb3795a44bab4d1)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-07 21:54:11 +01:00
Richard Purdie
23d95eb656 utils: Drop obsolete oe_machinstall function
This function does something similar to the bitbake fetcher file search
paths and is an old remnant of how this could have once been handled. There
are no users in OE-Core and we'd always prefer the fetcher to handle this now
as it handles signatures correctly. The direct OVERRIDES reference would
likely break any user of the function. Remove it to be safe and ensure it
isn't being used anywhere.

(From OE-Core rev: d49ba0243e3d28672d16cd02753eb7e85d91bbab)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-07 21:54:11 +01:00
Richard Purdie
8914bc77b4 utils: Drop unused variable staging_install from oe_libinstall
Remove unused variable/code.

(From OE-Core rev: 76ade5a2a55eda2975dfa5d6a30ac4cb74421567)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-07 21:54:11 +01:00
Quentin Schulz
7c1215e821 bitbake: doc: bitbake-user-manual-execution: remove mention to long-gone BBHASHDEPS variable
BBHASHDEPS was removed from bitbake in April 2014, with the following
commit:
92526eadd09d "bitbake-worker: Drop BBHASH variables"

so let's remove mentions from the docs.

(Bitbake rev: 7816a8de70adc3806a3739384cf08b281b4ee401)

Signed-off-by: Quentin Schulz <foss@0leil.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-06 10:19:03 +01:00
Michael Opdenacker
0c16f67afe bitbake: bitbake-user-manual: replace "file name" by "filename"
There are many more instances of "filename" or "filenames" than
of "file name" or "file names".

The winner takes it all!

(Bitbake rev: dcd115176f63256f10db0b24b563683c4bdf8f96)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-06 10:07:53 +01:00
Khem Raj
cb73383fb9 vim: Add packageconfig for sound notification support
vim uses libcanberra to implement sound, currently its ok for target
since we have captured dependencies in recipe sysroot but things go a
bit out of control when building vim-native, where configure starts to
poke at host system and if it find libcanberra then silently enables it
lets make it consistent

(From OE-Core rev: 7bf11ce14336eff07a4e7216fb485f98757088ed)

(From OE-Core rev: 70de1dbb660461bdf0613494f53ec4c78738ae2a)

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>
2021-09-06 09:49:50 +01:00
Kristian Klausen
73384ac936 wic: Add extra-space argument
This allows extra space to be added after the last partition and is
especially useful when free space is needed for ex: adding partitions on
first boot with ex: systemd-repart[1] and the image is tested in QEMU.

[1] https://www.freedesktop.org/software/systemd/man/systemd-repart.html

(From OE-Core rev: f81b188bcf5aa18746fd622eb7b5c0dcb0b5c93d)

Signed-off-by: Kristian Klausen <kristian@klausen.dk>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-06 09:49:50 +01:00
Peter Kjellerstedt
f97a29af63 common-licenses, licenses.conf: Remove duplicate licenses
This removes BSD-0-Clause, Nauman, tcl and vim and adds mappings for
them to their SPDX counterparts (0BSD, Naumen, TCL and Vim).

It also removes FreeType, which already had a mapping to FTL.

(From OE-Core rev: 35d699c479b6ce6acafbf75fb003618aaad094d7)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-06 09:49:50 +01:00
Kristian Klausen
d5f2b5b7ec systemd: Add homed PACKAGECONFIG
If systemd is built with fdisk support[1] and the openssl and cryptsetup
PACKAGECONFIG are enabled, systemd-homed[1] is automatically enabled.
The org.freedesktop.home1.conf file was forgotten, so this commit adds
the file and make enabling homed a explicit choice.

systemd-homed.service and systemd-homed-activate.service have a Also= on
each other, so "systemctl" has been fixed to handle the circular
dependency.

userdb isn't strictly speaking needed for homed but "systemctl" can't
handle the missing unit file and upstream recommend enabling both[3].

[1] Automatically enabled if the fdisk dependency is installed which it
    is as util-linux is pulled in by systemd
[2] https://www.freedesktop.org/software/systemd/man/systemd-homed.service.html
[3] 871dc8d644

(From OE-Core rev: fff339b5bd7789db5d0c024fc84490ac17fa4fe9)

Signed-off-by: Kristian Klausen <kristian@klausen.dk>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-06 09:49:50 +01:00
Richard Purdie
f2728d3ec8 build-appliance-image: Update to master head revision
(From OE-Core rev: ffb886497390d4de2631bda671f2f631bc0bc7be)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-04 08:54:55 +01:00
Robert P. J. Day
98dcd17a5c README: update manual list and names, online docs URL
Minor tweaks to top-level README:
  - add missing line for overview manual
  - correct manual names to match their *actual* names
  - point reader at docs.yoctoproject.org for online docs

(From yocto-docs rev: 0ce9097728dbdca926fdf7065490207d09a34cb0)

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-04 08:46:35 +01:00
Robert P. J. Day
a24f1db1b3 ref-manual: update SYSROOT_DIRS_* variable entries
Both SYSROOT_DIRS and SYSROOT_DIRS_BLACKLIST have more current
values.

(From yocto-docs rev: 750ae3fca42e273cd533f9c8b678c2e144164191)

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Reviewed-by: Quentin Schulz <foss@0leil.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-04 08:46:35 +01:00
Robert P. J. Day
5cffbbb99a dev-manual: drop "three" since there are four requirements
Since there are actually four listed requirements, just drop the
number to avoid future issues.

(From yocto-docs rev: 612015dc227600d23956402eab7f324e0c8fd42a)

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Reviewed-by: Quentin Schulz <foss@0leil.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-04 08:46:35 +01:00
Robert P. J. Day
81592ed6ac dev-manual: various pedantic nitpickery
Some minor grammatical and structure tweaks.

(From yocto-docs rev: 505f9b21898475746d401c8ab79b95f3dc4d02e7)

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Reviewed-by: Quentin Schulz <foss@0leil.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-04 08:46:35 +01:00
Robert P. J. Day
4a979c6f1c dev-manual: small number of minor aesthetic tweaks
Just a collection of:

  - grammar tweaks
  - space fixes
  - font changes

(From yocto-docs rev: c49984f89cd2295c54f01730649aaca83eaf515e)

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-04 08:46:35 +01:00
Robert P. J. Day
055b36a005 ref-manual: add missing "${PN}-src" to default PACKAGES list
(From yocto-docs rev: c4e986364fc67799a9cba8fa1e9d33481bebaa8c)

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Reviewed-by: Quentin Schulz <foss@0leil.net>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-04 08:46:35 +01:00
Michael Opdenacker
0e95c887da dev-manual: explicit that devpyshell is a task
Without this, readers could think that "devpyshell" is a script,
at least until they read the remainder of the section.

(From yocto-docs rev: fe1e3323a633acf51d64cfb6c4bdd2ecd324a79e)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Reviewed-by: Quentin Schulz <foss@0leil.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-04 08:46:35 +01:00
Robert P. J. Day
5a9c5c47e0 dev-manual: pass False to d.getVar() for devpyshell example
In the example in section 3.9, the call to d.getVar() needs to have
the additional argument of "False" so that the output is not expanded.

(From yocto-docs rev: ae364e76a322278e7fe37aeecaa5e854d0a0efee)

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Reviewed-by: Quentin Schulz <foss@0leil.net>
Tested-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-04 08:46:35 +01:00
Ross Burton
4d3692b5a7 create-spdx: don't duplicate license texts in each package
Instead of putting the full license text for non-SPDX licenses into the
recipe and every package, use links to the recipe from the packages if
possible.

(From OE-Core rev: 9220d35dc9071ebbe991117af8261ad99f321bb3)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-04 08:44:11 +01:00
Ross Burton
41a29f0b96 create-spdx: embed unknown license texts
For licenses which are not known to SPDX, find and embed the actual
license text in an ExtractedLicesingInfo block.

(From OE-Core rev: c638f4ae579520cab8cf30e1b4306bd0e2d2a788)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-04 08:44:11 +01:00
Ross Burton
734f5badef create-spdx: remove redundant test
add_extracted_document() is only called if the license isn't known to
SPDX, so there's no need to check again.

(From OE-Core rev: 03f084251510c810c8434d9ddd459187827c1ca8)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-04 08:44:11 +01:00
Ross Burton
3c9102f3b6 create-spdx: transform license list into a dict for faster lookups
spdx-licenses.json contains an array of licenses objects. As we'll be
searching it often, convert that to a dictionary when we parse it.

(From OE-Core rev: 3405d9114ca9fe4ba820e0025c91670d1a5150b1)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-04 08:44:11 +01:00
Ross Burton
2cca28cfde oeqa/selftest/recipetool: update for license changes
Now that recipetool writes BSD-3-Clause, update the test appropriately.

(From OE-Core rev: e4cb21609e3e95725b235de48458ab3c111ee9c1)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-04 08:44:11 +01:00
Sakib Sajal
f2fb3baedc go: upgrade 1.16.5 -> 1.16.7
(From OE-Core rev: dd26135ba4e23ead3a9998087cb60d9e93399e48)

Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-04 08:44:11 +01:00
Richard Purdie
49887f8d62 xdg-utils: Add fix for CVE-2020-27748
Backport an upstream patch for the CVE.

(From OE-Core rev: 87191ed0303f6552865ad1edcacd674c57f2010c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-04 08:44:11 +01:00
Martin Jansa
ed8930e9a7 default-distrovars.inc: Set BBINCLUDELOGS to empty to disable printing failed task output multiple times
* the output is shown 3 times with default configuration and 5 times when --verbose
  is being used with knotty, there might be other use-cases where we actually need
  this, but until the logging is resolved better, setting this to empty looks like
  more reasonable option (considering that e.g. log.do_compile from chromium-x11
  can be over 50MB long, generating 150MB+ cooker log)

* more details in:
  https://bugzilla.yoctoproject.org/show_bug.cgi?id=14542

(From OE-Core rev: ede2e0df7982777212b8c25195d41ce9e57562b5)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-04 08:44:11 +01:00
Ross Burton
2d30e89a15 recipetool/create_buildsys_python: treat BSD as BSD-3-Clause
The PyPI license classifiers include "OSI Approved: BSD", which does not
specify which of the many variations of BSD license it actually means.

The generic "BSD" license in the oe-core set is actually BSD-3-Clause.
>From a random sample of ten PyPI modules that use "BSD", they are all
BSD-3-Clause.  As we expect the recipe maintainer to verify the license
anyway, and this matches the previous license text, explicitly set the
license to BSD-3-Clause.

(From OE-Core rev: a879fff9af31e45b1acc3f19a3c2a7eaf6319ad4)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-04 08:44:11 +01:00
Ross Burton
44621c303e hdparm: set correct license
The bulk of hdparm is under a unique license. Set the correct BSD
version, and specify that the hdparm license is also used.

(From OE-Core rev: 9a2e2251e34d020cf24d6552c06d7508df3199fa)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-04 08:44:11 +01:00
Ross Burton
873808b0f2 ffmpeg: update LICENSE
"BSD" is ambiguous, ffmpeg comprises of several licenses which are
BSD-like.

(From OE-Core rev: 50ba15c0a6867fcb0498a2c2c5449aa96e5f4bde)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-04 08:44:11 +01:00
Ross Burton
364a58e371 ppp: set precise BSD license
"BSD" is ambiguous, use the precise licenses BSD-3-Clause-Attribution
and BSD-3-Clause.

(From OE-Core rev: dceba0bcdb14a117cf8a77448a3bbc8410d96a73)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-04 08:44:11 +01:00
Ross Burton
64a2dd7fdf ovmf: set precise BSD license
"BSD" is ambiguous, use the precise license BSD-2-Clause-Patent.

(From OE-Core rev: 3e5c91e3517f15c25ecf56877a15962427dd0f3b)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-04 08:44:11 +01:00
Ross Burton
b7212a9aa1 shadow-sysroot: sync license with shadow
This recipe is just a single data file from shadow, but as we can't
easily tell what license that specific file is under just copy the full
license statement.

(From OE-Core rev: f0e2f3b1f855ea6e184bd1d8d796279fedcbfa33)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-04 08:44:11 +01:00
Ross Burton
f231bc0b4f valgrind: set precise BSD license
"BSD" is ambiguous, use the precise license BSD-3-Clause.

(From OE-Core rev: b12cbda349658ddef8cb72d5738c094c2b009e7e)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-04 08:44:11 +01:00
Ross Burton
b9d418dd14 libxfont: set precise BSD license
"BSD" is ambiguous, use the precise license BSD-3-Clause.

Note that the actual license text is BSD 4-Clause with clause 3 rescinded:

https://gitlab.freedesktop.org/xorg/lib/libxfont/-/blob/master/COPYING#L157

(From OE-Core rev: 1649e9d281938a9183c5620612ed7a24a9b9f1e2)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-04 08:44:11 +01:00
Ross Burton
f2b2c200a2 oeqa/recipeutils: update for license change to python-async-test
The python-async-test recipe is now BSD-3-Clause.

(From OE-Core rev: d819d86b482d397425043c7f478712a7f225bdae)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-04 08:44:11 +01:00
Ross Burton
750c0c5674 xinetd: correct LICENSE
The xinetd license is superficially BSD-like, but it isn't BSD. Now that
we have the full SPDX license set in oe-core, use the specific xinetd
license.

(From OE-Core rev: 9d99cb5273ee0a775307afe13c14f01cb37426e0)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-04 08:44:11 +01:00
Ross Burton
b1ff4c1349 lsof: add upstream check
Upstream has moved to GitHub.  Whilst it's now too late to upgrade to
the latest release, we can add upstream check variables so that we get
notified we're out of date.

(From OE-Core rev: 9a86a68a41be5bc6f32f9c86d8de7576c5dffff4)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-04 08:44:11 +01:00
Ross Burton
df6edbc33a selftest/python-async-test: set precise BSD license
"BSD" is ambiguous, use the precise license BSD-3-Clause.

(From OE-Core rev: 78a8427eb11d2931afcbf2a24d2441bf08bac0cf)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-04 08:44:10 +01:00
Ross Burton
f2a82942ff lsof: correct LICENSE
The lsof LICENSE is superficially BSD-like, but it isn't BSD.  Now that
we have the full SPDX license set in oe-core, use Spencer-94.

(From OE-Core rev: 5c1d61d1d4dfacb643a366285c0392e6a31087ed)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-04 08:44:10 +01:00
Richard Purdie
fedbcb06d6 tcl: Exclude CVE-2021-35331 from checks
Upstream don't believe this is an issue.

(From OE-Core rev: adf7bafee3f8884e525b5639ba092a1cd8e3beb9)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-04 08:44:10 +01:00
Ross Burton
89efc52045 dev-manual/common-tasks: sync libxpm fragment with the recipe
Specifically, the actual recipe now has LICENSE=MIT.

(From yocto-docs rev: 9f64931308f73607c40ed1eb8cf915666b6ff90a)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-03 14:31:00 +01:00
Richard Purdie
2164ae0b28 oeqa/runtime/parselogs: Make DVD ata error apply to all qemux86 machines
This log checking fix is needed for both qemux86 and qemux86-64 so move
to the common section.

[YOCTO #14528]

(From OE-Core rev: 2475ce68f0bc1f342c75364dfcfaf7f30499badf)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-03 09:53:29 +01:00
Daniel Wagenknecht
aeb1d21db7 mirrors.bbclass: remove redundant server-specific mirrors
With the previously added general git repo fallback rule the server
specific fallback mirrors for git.savannah.gnu.org and
git.yoctoproject.org are redundant. Remove them.

(From OE-Core rev: da864dbed0c29b3e3f0d1676ec1bb974f332ff3f)

Signed-off-by: Daniel Wagenknecht <dwagenknecht@emlix.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-03 09:53:29 +01:00
Daniel Wagenknecht
e3db91baf4 mirrors.bbclass: provide additional rule for git repo fallbacks
Git hosting servers that require a slightly different URL when accessing
repositories via https protocol instead of the git native protocol
are not uncommon (servers using cgit as web UI). Provide a general rule
to try HOST/git/PATH via https as git repo fallback.

(From OE-Core rev: 0682697987873ab395360035b70630acfe66cd3a)

Signed-off-by: Daniel Wagenknecht <dwagenknecht@emlix.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-03 09:53:29 +01:00
Denys Dmytriyenko
6265c8543b readline: correct pkg-config dependency for termcap
readline uses ncurses for terminal capabilities database, but it fails to
specify it correctly in the pkg-config .pc file, resulting in:
Requires.private: termcap

As ncurses by default provides newer terminfo instead of termcap, there's
no termcap.pc in the system and pkg-config fails when linking with readline:
readline.pc X-> termcap.pc

Help configure script to set pkg-config to use ncurses for the correct
terminal capabilities database:
Requires.private: ncurses

This fixes pkg-config dependency chain:
readline.pc -> ncurses.pc -> tinfo.pc

(From OE-Core rev: b4364cc44ae47d3b41a4fd181c904ae97e213842)

Signed-off-by: Denys Dmytriyenko <denis@denix.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-03 09:53:29 +01:00
Joshua Watt
acec2d26d6 classes/create-spdx: Comment out placeholder license warning
We don't want this warning causing problems on the AB, so leave it
comment out for now

(From OE-Core rev: d41018311abf91899645b8f3160db540abdb5398)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-03 09:53:29 +01:00
Joshua Watt
cf707e8323 classes/create-spdx: Skip package processing for native recipes
Native recipes do not produce packages and should not process them,
otherwise it can trigger an error in read_subpackage_metadata

(From OE-Core rev: ea077b1ff6a4ccd5241a085bf9a3f67011e0f7bf)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-03 09:53:29 +01:00
Joshua Watt
b8b45c35fa classes/create-spdx: Collect all task dependencies
Stop filtering the runtime dependencies based on do_create_sdpx (makes
it only pick up things in DEPENDS) and instead include all task
dependencies that are not the current PN. This allows other dependency
methods to be picked up correctly, for example the dependency on the
kernel used by kernel modules.

(From OE-Core rev: c9659562cf88a820c668ff1eb20814dcb4829392)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-03 09:53:29 +01:00
Joshua Watt
45ea7b7970 classes/create-spdx: Add special exception for Public Domain license
The Public Domain license (PD) needs a special exception in the license
processing since there is no common license text to be extracted for
these licenses.

(From OE-Core rev: fe5b757712aa99ff1ff10d2304ac320100635200)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-03 09:53:29 +01:00
Joshua Watt
de3b871786 classes/create-spdx: Fix file:// in downloadLocation
file:// URIs should not be included as the downloadLocation. Instead,
loop until a non-file:// URI is found, or set the location to
NOASSERTION if none is found

(From OE-Core rev: 19c61ec3986213b336d965d90b1329085e7d6179)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-03 09:53:29 +01:00
Joshua Watt
beeb0f9e53 classes/create-spdx: Speed up hash calculations
Use the bb.utils.sha* utilities to hash files since they are much faster
than the loops we were rolling ourselves

(From OE-Core rev: a6d9de5350937c7e25899491db59f473345f0b69)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-03 09:53:28 +01:00
Joshua Watt
902480107d classes/create-spdx: Fix up license reporting
Licenses reported in the SPDX documents should be either:
 A) A valid SPDX identifier cross referenced from the SPDX license
    database
 B) A "LicenseRef" to a license described in the SPDX document

The licensing code will now add a placeholder extracted license with
corresponding "LicenseRef" for any licenses that are not matched to the
SPDX database

Parenthesis in the license expression are now handled correctly

(From OE-Core rev: 28d9d035c0ff8fcaf28bc96a976a43a602a47e94)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-03 09:53:28 +01:00
Saul Wold
0d5c2d9f35 classes/create-spdx: extend DocumentRef to include name
This will create a more uniq DocumentRef, which will allow
the individual spdx files to be merged into a single SBOM
file reflecting the image. Do the same with the runtime dependencies
also

(From OE-Core rev: df7c88a48621d32c02f328eedc314f10d475b758)

Signed-off-by: Saul Wold <saul.wold@windriver.com>
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-03 09:53:28 +01:00
Joshua Watt
25e41200c7 classes/create-spdx: Fix another creator
Fixes another creator that was missed earlier

(From OE-Core rev: 046c05fec9fc5162d7a14971ed1402d86605d229)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-03 09:53:28 +01:00
Joshua Watt
bdda626481 classes/create-spdx: Add NOASSERTION for unknown debug sources
If a debug source cannot be found, mark it as NOASSERTION so that other
tools at least know we were unable to locate it.

(From OE-Core rev: 0e6bdd3f208c50153087c2baca67e9fd64a458d0)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-03 09:53:28 +01:00
Joshua Watt
0b871c57b8 classes/create-spdx: Add runtime dependency mapping
(From OE-Core rev: 82f3229bce41dc101c79865033432161dac269d8)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-03 09:53:28 +01:00
Joshua Watt
69faca3df6 classes/create-spdx: Add index to DEPLOYDIR
Add the index to DEPLOYDIR in addition to adding it to the SPDX archive

(From OE-Core rev: 374dc08c0f22e98a267676f71308592d17f77d64)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-03 09:53:28 +01:00
Joshua Watt
f1cd4f264d classes/create-spdx: Add SHA1 to index file
(From OE-Core rev: ebfe78ad26b643ce0fb22ba5b3ede43da4a78987)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-03 09:53:28 +01:00
Joshua Watt
f3796b4524 classes/create-spdx: Change creator
Update the creator name since this no longer lives in meta-doubleopen

(From OE-Core rev: 6fdea64ef53eb4de3d0e58e70ae6b391fdff6cd0)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-03 09:53:28 +01:00
Joshua Watt
f1a34a63e4 classes/create-spdx: Add class
Adds a class as a first attempt to create SPDX SBoM documents during the
build. This initial work was influenced by [meta-doubleopen][1],
although almost completely rewritten.

[1]: https://github.com/doubleopen-project/meta-doubleopen

(From OE-Core rev: 78c79821ae7e2f060b9a74ea9aefce98102bb00e)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-03 09:53:28 +01:00
Joshua Watt
7ec54b1743 classes/package: Add extended packaged data
Adds extended package data which is encoded as JSON which allows it to
encode more structure than the "flat" package data files. The extended
data might be much larger than the standard package data, so it is not
read by default and instead requires
oe.packagedata.read_subpkgdata_extended() to be called

Currently, the file sizes and ELF debug sources are saved off into the
extended package data

(From OE-Core rev: db9cf430e54ae68da80fbc3fba80ce88d8df164d)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Reviewed-by: Saul Wold <saul.wold@windriver.com>
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-03 09:53:28 +01:00
Joshua Watt
d521ba8c32 Add SPDX licenses
Adds the SPDX license database from https://github.com/spdx/license-list-data

(From OE-Core rev: a8048931701438e2f267a52a43869c27743907e3)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-03 09:53:28 +01:00
Ross Burton
2220839599 common-licenses: add missing SPDX licences
As part of the work to converge our license support with SPDX, ensure
that we have all of the licenses that SPDX supports.

(From OE-Core rev: e2f9092c37395f4e3ee9d0777e28c83cce6007ee)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-03 09:03:34 +01:00
Ross Burton
8d25cd30ac wpebackend-fdo: set precise BSD license
"BSD" is ambiguous, use the precise license BSD-2-Clause.

(From OE-Core rev: 391895306c44545843dca1ab8ac5b299194f18a9)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-03 09:03:34 +01:00
Ross Burton
d209ae8887 libwpe: set precise BSD license
"BSD" is ambiguous, use the precise license BSD-2-Clause.

(From OE-Core rev: 521664fea3f21c1fe08ab19227519cbb224f353c)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-03 09:03:34 +01:00
Ross Burton
4e794f99fc webkitgtk: set precise BSD license
"BSD" is ambiguous, use the precise license BSD-2-Clause.

(From OE-Core rev: fea814494865976e78be308642db553102ca9e02)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-03 09:03:34 +01:00
Ross Burton
d3f2e9d8ec libx11-compose-data: set precise BSD license
"BSD" is ambiguous, use the precise licenses BSD-2-Clause BSD-4-Clause.

(From OE-Core rev: e55bc3bdb8698ea6673174d33f659518b55f1ff2)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-03 09:03:34 +01:00
Ross Burton
f5e78cb2ca iputils: set precise BSD license
"BSD" is ambiguous, use the precise license BSD-3-Clause.

(From OE-Core rev: e3ece26a268e0f7b69221ce1da2f5be613b5826f)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-03 09:03:34 +01:00
Ross Burton
6dc9c606f6 python3-packaging: fix license statement
This is licensed as Apache OR BSD, not AND.

Also use the precise license BSD-2-Clause.

(From OE-Core rev: b7b406287dc05ae7228ef66dbada71c439bce4fb)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-03 09:03:34 +01:00
Ross Burton
7eaab4b261 openssh: remove redundant BSD license
The license statement already includes BSD-2-Clause and BSD-3-Clause, so
remove the redundant and ambiguous BSD license.

(From OE-Core rev: 5c0b03cda19bcebfc71e1e601a4336fcda4bfc2b)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-03 09:03:34 +01:00
Ross Burton
359fc85454 libevent: set precise BSD license
"BSD" is ambiguous, use the precise license BSD-3-Clause.

(From OE-Core rev: 924d1d9ca51f2a45cdf0094c50434e25c0437c6a)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-03 09:03:34 +01:00
Ross Burton
df0997688a acpica: set precise BSD license
"BSD" is ambiguous, use the precise license BSD-3-Clause.

(From OE-Core rev: 0cfa82ca0df9b711521f7e47a22a7650871e5883)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-03 09:03:34 +01:00
Ross Burton
aa58df18bb dtc: set precise BSD license
"BSD" is ambiguous, use the precise license BSD-2-Clause.

(From OE-Core rev: 4765c9be0ccc883d3b803b0695b8bf986d9b105f)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-03 09:03:34 +01:00
Ross Burton
1d0ef6010a nfs-utils: set precise BSD license
"BSD" is ambiguous, use the precise license BSD-3-Clause.

(From OE-Core rev: 5214d23cf0d316d501a147a09edfb46df42d6cb7)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-03 09:03:34 +01:00
Ross Burton
e54618d010 quota: remove BSD license
Only the 'quot' tool was BSD licensed, and this was removed upstream in
commit 5d30a29 (since 4.05).

(From OE-Core rev: 3dfe4fe43a3bb5d90d6d7cb1ee56db3b0657821e)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-03 09:03:34 +01:00
Ross Burton
95e494cefc python3-numpy: remove redundant BSD license
The license list already includes BSD-2-Clause and BSD-3-Clause, so
remove the redundant and ambiguous BSD license.

(From OE-Core rev: 7026bfa36aa07aa95e0e4ecf1787c09001a752bf)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-03 09:03:34 +01:00
Ross Burton
e3be13ae57 lz4: remove redundant BSD license
The upstream license is BSD-2-Clause or GPLv2, so remove the redundant
and ambiguous BSD license.

(From OE-Core rev: 53cf640e72118d0a7916b165d78c68090aa06381)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-03 09:03:34 +01:00
Alexander Kanavin
359e1cb62f mesa: enable crocus driver for older intel graphics
See here for the full story:
https://www.phoronix.com/scan.php?page=news_item&px=Intel-Crocus-Default-Gallium3D

Once crocus does become the default over i965, upstream is likely to retire
classic pre-gallium drivers altogether, which (with the exception of
i965, superseded by crocus) are all for retrocomputing hardware.

(From OE-Core rev: dfc5f935b5b1759f73b2ddd86d2b291436dbc705)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-02 21:22:54 +01:00
Martin Jansa
a1c9d67c2b rust: remove unused patches
* 0001-nfc-Fix-missing-include.patch was only used in 1.51.0 version recently removed
* 0001-rustc_target-Fix-dash-vs-underscore-mismatches-in-op.patch was only used in 1.49.0 version in meta-rust

(From OE-Core rev: 52b12dac55a3747d8d6f2e799c669ef2bcda57ae)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-02 21:22:54 +01:00
Richard Purdie
63b1fd2226 rust-common: Hack around LD_LIBRARY_PATH issues on centos7
When building cargo-native on centos7 with buildtools tarball installed,
we see failures:

/bin/sh: /lib64/libc.so.6: version `GLIBC_2.33' not found (required by /home/pokybuild/yocto-worker/reproducible-centos/build/build-st/tmp/work/x86_64-linux/cargo-native/1.54.0-r0/recipe-sysroot-native/usr/lib/libtinfo.so.5)

We also see this for libstd-rs once cargo-native is fixed.

The reason for this is that the wrapper script
cargo-native/1.54.0-r0/wrapper/target-rust-ccld has /bin/sh as it's
interpreter and cargo calls this with LD_LIBRARY_PATH set to include the
recipe-sysroot-native. The host /bin/sh links to libtinfo from the host
but it finds the version in the sysroot which needs a newer libc. This
results in the above error since the loader is an older libc and the two
are incompatible.

Our ccld wrapper calls gcc/ld which don't need the LD_LIBRARY_PATH
variable set. We can't patch this out the source since we're using
a prebuilt binary to generate a new cargo binary so this is impossible
to bootstrap.

Instead, put a binary wrapper into place which removes LD_LIBRARY_PATH
from the environment before calling the original wrapper (left in shell
as it is simpler to maintain).

(From OE-Core rev: 8feeeb7f76c6725e5226458c8f22999b67c52694)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-02 21:22:54 +01:00
Richard Purdie
640136a72b cargo: Apply uninative fix to snapshot as with rust
Also add the interpreter relocation trick from uninative to the prebuilt
cargo binary to match rust-native, just in case that causes other problems
later too.

(From OE-Core rev: e3cb3958cc14672feef5d4d8953131f55db68573)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-02 21:22:54 +01:00
Marek Vasut
1603585cd2 weston: Add rdp PACKAGECONFIG
Weston has RDP backend support. This can be used e.g. for screen mirroring.
Add PACKAGECONFIG so it can be enabled by the user. By default, this is not
enabled, to retain the old behavior of the recipe.

Below is an example testcase of using the RDP backend for screen mirroring,
i.e. two devices display the same content across ethernet link, input on
either is passed across the link.

- Add the following to weston.ini:
  [core]
  modules=screen-share.so
  screen-share=true
  [screen-share]
  command=/usr/bin/weston --backend=rdp-backend.so --shell=fullscreen-shell.so --no-clients-resize --rdp-tls-cert=/path/to/board.crt --rdp-tls-key=/path/to/board.key --no-config

- Generate keys on the board (the board.key and board.crt above):
  $ winpr-makecert -rdp -path /path/to/

- Restart weston on the board. To start screen sharing, press
  Ctrl-Alt-S
  on the keyboard (see weston compositor/screen-share.c).

- Connect to the weston using freerdp, e.g.:
  $ xfreerdp /v:192.168.1.300

(From OE-Core rev: 05706a487c2e57fb26935276a2ec650405900243)

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Joshua Watt <JPEWhacker@gmail.com>
Cc: Khem Raj <raj.khem@gmail.com>
Cc: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-02 12:12:08 +01:00
Ross Burton
b3dcbdc4d6 ptest: allow the ptest-packagelists.inc warning to be disabled
ptest.bbclass has a sanity check that all recipes in oe-core which
inherit ptest are also listed in the ptest-packagelists.inc file, and
the build fails if this is not the case.

Whilst this is a laudable goal, it is over-zealous as if the recipe has
a bbappend in another layer which inherits ptest, the build will fail.

By changing the combination of anonymous Python and bb.error() to a
recipe-scope QA test, this can be handled with the other sanity checks
and bbappends can skip the test if desired.

(From OE-Core rev: abe45c8c0a6da56a278796654d0520250dfd2a97)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-02 12:12:08 +01:00
Kristian Klausen
75d9a77eba systemd: Add repart PACKAGECONFIG
systemd-repart[1] is useful for partitioning the disk:
"systemd-repart grows and adds partitions to a partition table, based on
the configuration files described in repart.d(5)."[1]

openssl is required by repart, so it can be enabled like so:
PACKAGECONFIG += "openssl repart"

[1] https://www.freedesktop.org/software/systemd/man/systemd-repart.html

(From OE-Core rev: a9fb51b75d4536d13734d91222bb0bc612555ae2)

Signed-off-by: Kristian Klausen <kristian@klausen.dk>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-02 12:12:08 +01:00
Ross Burton
e1986db49b mesa: fix build on Arm V5 with soft float
Since 80923e8d ("util/format: Add some NEON intrinsics-based
u_format_unpack.") upstream the build fails on Arm platforms which use
the soft-float ABI, such as qemuarmv5:

 arm_neon.h:31:2: error: #error "NEON intrinsics not available with the
 soft-float ABI.  Please use -mfloat-abi=softfp or -mfloat-abi=hard"

Take a patch from upstream to check the ABI being used before trying to
use NEON instructions.

(From OE-Core rev: f3d82abb781c2642a50a60033641194d1e40c212)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-02 12:12:08 +01:00
Stefan Herbrechtsmeier
9facca6e30 u-boot: Make UBOOT_BINARYNAME configurable
Make the u-boot binary name configurable. Use the existing variable
UBOOT_BINARYNAME which is evaluated from the UBOOT_BINARY.

(From OE-Core rev: e588cde6aed1e699a055e3481df0f3dc719c9774)

Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-02 12:12:08 +01:00
Stefan Herbrechtsmeier
7c08a9e3cd u-boot: Make SPL suffix configurable
Make the SPL suffix configurable via SPL_SUFFIX variable to support SPL
binaries with suffix. The suffix is optional and empty per default. The
delimiter in front of the suffix is added automatically if the suffix
is not empty. A new variable SPL_BINARYFILE contains the binary file
name inclusive optional delimiter and suffix and the old variable
SPL_BINARYNAME contains only the name of the binary without directory,
delimiter and specified suffix. This behavior is backward compatible
with empty SPL_SUFFIX variable.

(From OE-Core rev: e4cfec633c20d6406523da905530e887b853f7ed)

Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-02 12:12:08 +01:00
Stefan Herbrechtsmeier
b8b43622e8 u-boot: Remove misplaced configuration type variable
(From OE-Core rev: 3fe8adbad5226d673f22f31f4903149cf3376ae5)

Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-02 12:12:07 +01:00
Stefan Herbrechtsmeier
a65d092ee3 u-boot: Remove redundancy from installed and deployed SPL artifact names
Remove redundant parts from the deployed and installed SPL artifact
names of multi config configurations to match the other U-Boot artifact
names.

(From OE-Core rev: 74f1f84d09ec5b435942e2a83697834677055343)

Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-02 12:12:07 +01:00
Joshua Watt
79147c27fd swig: Use specific BSD license variant
Make the license more accurate by specifying the specific variant of BSD
license instead of the generic one. This helps with SPDX license
attribution as "BSD" is not a valid SPDX license.

(From OE-Core rev: 01354672728aff07ae146b19e1a4a98977aac52b)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-02 12:12:07 +01:00
Joshua Watt
79eb0333fe flac: Use specific BSD license variant
Make the license more accurate by specifying the specific variant of BSD
license instead of the generic one. This helps with SPDX license
attribution as "BSD" is not a valid SPDX license.

(From OE-Core rev: 0442d87d5c6c467ba0e35d4ee20bd907f4dd9fdf)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-02 12:12:07 +01:00
Joshua Watt
8948100ce7 font-util: Use specific BSD license variant
Make the license more accurate by specifying the specific variant of BSD
license instead of the generic one. This helps with SPDX license
attribution as "BSD" is not a valid SPDX license.

(From OE-Core rev: 828bca22d9a4b995d9961d3cc8c3aedcb5ef577d)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-02 12:12:07 +01:00
Joshua Watt
40cd87df6e libx11: Use specific BSD license variant
Make the license more accurate by specifying the specific variant of BSD
license instead of the generic one. This helps with SPDX license
attribution as "BSD" is not a valid SPDX license.

(From OE-Core rev: 44fd2aa731956fe0a0f74d36959c88b0b87adab5)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-02 12:12:07 +01:00
Joshua Watt
f9bf930496 libjitterentropy: Use specific BSD license variant
Make the license more accurate by specifying the specific variant of BSD
license instead of the generic one. This helps with SPDX license
attribution as "BSD" is not a valid SPDX license.

(From OE-Core rev: a352473138dd2396bc33eff3d738c41ff24f52fe)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-02 12:12:07 +01:00
Joshua Watt
ca7e12eb49 libxfont2: Use specific BSD license variant
Make the license more accurate by specifying the specific variant of BSD
license instead of the generic one. This helps with SPDX license
attribution as "BSD" is not a valid SPDX license.

(From OE-Core rev: e340bad91f3220a156572bde3c337425f5c36cfc)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-02 12:12:07 +01:00
Joshua Watt
55ebfb1909 libpam: Use specific BSD license variant
Make the license more accurate by specifying the specific variant of BSD
license instead of the generic one. This helps with SPDX license
attribution as "BSD" is not a valid SPDX license.

(From OE-Core rev: d9948d0439cf26af9f570e9a9d0d214294bae504)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-02 12:12:07 +01:00
Joshua Watt
b1596d37ba sudo: Use specific BSD license variant
Make the license more accurate by specifying the specific variant of BSD
license instead of the generic one. This helps with SPDX license
attribution as "BSD" is not a valid SPDX license.

(From OE-Core rev: ff27ea21d7c14086335da5c3e2fac353e44438da)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-02 12:12:07 +01:00
Joshua Watt
995d672317 libcap: Use specific BSD license variant
Make the license more accurate by specifying the specific variant of BSD
license instead of the generic one. This helps with SPDX license
attribution as "BSD" is not a valid SPDX license.

(From OE-Core rev: 9e8b2bc55792932e23d3b053b393b7ff88bffd6b)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-02 12:12:07 +01:00
Joshua Watt
d19e9f86d5 shadow: Use specific BSD license variant
Make the license more accurate by specifying the specific variant of BSD
license instead of the generic one. This helps with SPDX license
attribution as "BSD" is not a valid SPDX license.

(From OE-Core rev: 65e3b23e1b266653fd30c90222e953f7e37fba0c)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-02 12:12:07 +01:00
Joshua Watt
c6170c9cfe e2fsprogs: Use specific BSD license variant
Make the license more accurate by specifying the specific variant of BSD
license instead of the generic one. This helps with SPDX license
attribution as "BSD" is not a valid SPDX license.

(From OE-Core rev: 966fb77981e4fed0ab7998439940b1e05dd0ee43)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-02 12:12:07 +01:00
Joshua Watt
ca099bad72 glib-2.0: Use specific BSD license variant
Make the license more accurate by specifying the specific variant of BSD
license instead of the generic one. This helps with SPDX license
attribution as "BSD" is not a valid SPDX license.

(From OE-Core rev: 91cd1ef01a3f3883c04bac67af2672ec60e20fb8)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-02 12:12:07 +01:00
Joshua Watt
bb25d14e53 tzdata: Remove BSD License specifier
The code in question is licensed under the BSD-3-Clause license, so
including the generic "BSD" license is unnecessary.

(From OE-Core rev: c39fc075ce3fd5b53c2a2fccb43500ee0a12f39d)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-02 12:12:07 +01:00
Joshua Watt
970895763c conf/licenses: Add FreeType SPDX mapping
The FreeType license maps to the FTL SPDX identifier

(From OE-Core rev: 7b0b745d7c1841b9af3b90d3e41e31606a72435e)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-02 12:12:07 +01:00
Mingli Yu
6901cdbe20 bitbake: prserv: make localhost work
After [1] introduced, the PR server doesn't work in docker when use
below setting like before.
PRSERV_HOST = "localhost:0"

And it's because the localhost is resolved to an ipv6 address ::1 as
the below bitbake-prserv shows.
 bitbake$ bitbake-prserv --start --host=localhost --port=42005
 bitbake$ cat prserv.log
    Traceback (most recent call last):
      File "/OE/nodistro/honister/bitbake/bin/bitbake-prserv", line 55, in <module>
        ret = main()
      File "/OE/nodistro/honister/bitbake/bin/bitbake-prserv", line 46, in main
        ret=prserv.serv.start_daemon(options.dbfile, options.host, options.port,os.path.abspath(options.logfile), options.read_only)
      File "/OE/nodistro/honister/bitbake/lib/prserv/serv.py", line 226, in start_daemon
        run_as_daemon(daemon_main, pidfile, os.path.abspath(logfile))
      File "/OE/nodistro/honister/bitbake/lib/prserv/serv.py", line 202, in run_as_daemon
        func()
      File "/OE/nodistro/honister/bitbake/lib/prserv/serv.py", line 224, in daemon_main
        server.serve_forever()
      File "/OE/nodistro/honister/bitbake/lib/bb/asyncrpc/serv.py", line 233, in serve_forever
        self.start()
      File "/OE/nodistro/honister/bitbake/lib/bb/asyncrpc/serv.py", line 144, in start_tcp
        self.server = self.loop.run_until_complete(server_coro)
      File "/usr/lib/python3.8/asyncio/base_events.py", line 616, in run_until_complete
        return future.result()
      File "/usr/lib/python3.8/asyncio/streams.py", line 94, in start_server
        return await loop.create_server(factory, host, port, **kwds)
      File "/usr/lib/python3.8/asyncio/base_events.py", line 1463, in create_server
        raise OSError(err.errno, 'error while attempting '
    OSError: [Errno 99] error while attempting to bind on address ('::1', 42005, 0, 0): cannot assign requested address

So add the extra logic to make the localhost resolved as expected to
make the PR service work especially in docker.

[1] 6a2b23e2 prserv: Replace XML RPC with modern asyncrpc implementation

(Bitbake rev: 0a11696e0898c3c5108e6d7c5ad28da50e00ea66)

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-02 12:05:07 +01:00
Martin Jansa
b978f7c3a0 bitbake: cooker/process: Fix typos in exiting message
(Bitbake rev: 1ff1ea3880d293b14ce0fc65e3bc4c938d587a2f)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-01 18:56:25 +01:00
Martin Jansa
7df5f405ce bitbake: prserv: handle PRSERV_HOST = "127.0.0.1:0" the same as "localhost:0"
* When using PRSERV_HOST = "localhost:0" inside
  Docker container (tested with ubuntu 20.04 and 21.04) the
  self.loop.run_until_complete never completed, so self.address
  wasn't ever assigned few lines bellow and then
    self.port = int(self.prserv.address.rsplit(':', 1)[1])
  in lib/prserv/serv.py caused a bit ugly exception:

bitbake@599696cd20aa:~/nodistro/honister$ bitbake -k pkgconfig-native
Traceback (most recent call last):
  File "/OE/nodistro/honister/bitbake/bin/bitbake", line 35, in <module>
    sys.exit(bitbake_main(BitBakeConfigParameters(sys.argv),
  File "/OE/nodistro/honister/bitbake/lib/bb/main.py", line 385, in bitbake_main
    return ui_module.main(server_connection.connection, server_connection.events,
  File "/OE/nodistro/honister/bitbake/lib/bb/ui/knotty.py", line 397, in main
    params.updateToServer(server, os.environ.copy())
  File "/OE/nodistro/honister/bitbake/lib/bb/cookerdata.py", line 75, in updateToServer
    raise Exception("Unable to update the server configuration with local parameters: %s" % error)
Exception: Unable to update the server configuration with local parameters: Traceback (most recent call last):
  File "/OE/nodistro/honister/bitbake/lib/bb/command.py", line 90, in runCommand
    result = command_method(self, commandline)
  File "/OE/nodistro/honister/bitbake/lib/bb/command.py", line 286, in updateConfig
    command.cooker.updateConfigOpts(options, environment, cmdline)
  File "/OE/nodistro/honister/bitbake/lib/bb/cooker.py", line 491, in updateConfigOpts
    self.reset()
  File "/OE/nodistro/honister/bitbake/lib/bb/cooker.py", line 1717, in reset
    self.handlePRServ()
  File "/OE/nodistro/honister/bitbake/lib/bb/cooker.py", line 383, in handlePRServ
    self.prhost = prserv.serv.auto_start(self.data)
  File "/OE/nodistro/honister/bitbake/lib/prserv/serv.py", line 318, in auto_start
    singleton.start()
  File "/OE/nodistro/honister/bitbake/lib/prserv/serv.py", line 133, in start
    self.port = int(self.prserv.address.rsplit(':', 1)[1])
AttributeError: 'NoneType' object has no attribute 'rsplit'

* the issue was caused by "localhost" being resolved as IPv6 address ::1
  and then asyncio failing to bind it, the same is reproducible with hashserv, but
  hashserve at least shows nice error message:
    bitbake$ bitbake-hashserv -l DEBUG -b localhost:0
    Traceback (most recent call last):
      File "/OE/nodistro/honister/bitbake/bin/bitbake-hashserv", line 59, in <module>
        ret = main()
      File "/OE/nodistro/honister/bitbake/bin/bitbake-hashserv", line 53, in main
        server.serve_forever()
      File "/OE/nodistro/honister/bitbake/lib/bb/asyncrpc/serv.py", line 233, in serve_forever
        self.start()
      File "/OE/nodistro/honister/bitbake/lib/bb/asyncrpc/serv.py", line 144, in start_tcp
        self.server = self.loop.run_until_complete(server_coro)
      File "/usr/lib/python3.8/asyncio/base_events.py", line 616, in run_until_complete
        return future.result()
      File "/usr/lib/python3.8/asyncio/streams.py", line 94, in start_server
        return await loop.create_server(factory, host, port, **kwds)
      File "/usr/lib/python3.8/asyncio/base_events.py", line 1463, in create_server
        raise OSError(err.errno, 'error while attempting '
    OSError: [Errno 99] error while attempting to bind on address ('::1', 0, 0, 0): cannot assign requested address

* or by bitbake-prserv in prserv.log:
    bitbake$ bitbake-prserv --start --host=localhost --port=42005
    bitbake$ cat prserv.log
    Traceback (most recent call last):
      File "/OE/nodistro/honister/bitbake/bin/bitbake-prserv", line 55, in <module>
        ret = main()
      File "/OE/nodistro/honister/bitbake/bin/bitbake-prserv", line 46, in main
        ret=prserv.serv.start_daemon(options.dbfile, options.host, options.port,os.path.abspath(options.logfile), options.read_only)
      File "/OE/nodistro/honister/bitbake/lib/prserv/serv.py", line 226, in start_daemon
        run_as_daemon(daemon_main, pidfile, os.path.abspath(logfile))
      File "/OE/nodistro/honister/bitbake/lib/prserv/serv.py", line 202, in run_as_daemon
        func()
      File "/OE/nodistro/honister/bitbake/lib/prserv/serv.py", line 224, in daemon_main
        server.serve_forever()
      File "/OE/nodistro/honister/bitbake/lib/bb/asyncrpc/serv.py", line 233, in serve_forever
        self.start()
      File "/OE/nodistro/honister/bitbake/lib/bb/asyncrpc/serv.py", line 144, in start_tcp
        self.server = self.loop.run_until_complete(server_coro)
      File "/usr/lib/python3.8/asyncio/base_events.py", line 616, in run_until_complete
        return future.result()
      File "/usr/lib/python3.8/asyncio/streams.py", line 94, in start_server
        return await loop.create_server(factory, host, port, **kwds)
      File "/usr/lib/python3.8/asyncio/base_events.py", line 1463, in create_server
        raise OSError(err.errno, 'error while attempting '
    OSError: [Errno 99] error while attempting to bind on address ('::1', 42005, 0, 0): cannot assign requested address

* while 127.0.0.1 works fine:
    bitbake$ bitbake-prserv --start --host=127.0.0.1 --port=42005
    bitbake$ cat prserv.log
    DEBUG: Listening on ('127.0.0.1', 42005)
    2021-08-26 22:28:05,828 Listening on ('127.0.0.1', 42005)
    DEBUG: Opening PRServ database 'file:/OE/nodistro/honister/prserv.sqlite3'
    2021-08-26 22:28:05,829 Opening PRServ database 'file:/OE/nodistro/honister/prserv.sqlite3'
    NOTE: Started PRServer with DBfile: /OE/nodistro/honister/prserv.sqlite3, Address: 127.0.0.1:42005, PID: 39
    2021-08-26 22:28:05,831 Started PRServer with DBfile: /OE/nodistro/honister/prserv.sqlite3, Address: 127.0.0.1:42005, PID: 39

  but 127.0.0.1:0 wasn't handled as "autostart" like localhost:0 is
  update is_local_special to allow that

* /etc/hosts file generated by docker contails localhost for both IPv4 and IPv6:
  $ grep localhost /etc/hosts
  127.0.0.1       localhost
  ::1     localhost ip6-localhost ip6-loopback

  even when ipv6 is disabled in dockerd as reported in:
  https://github.com/docker/for-linux/issues/250

* add a check for self.prserv.address to provide better error message:
  ERROR: Unable to start PR Server, exitting
  when something bad happens, but in this case you still need to read
  bitbake-cookerdaemon.log to see the actuall error, in this case:

90 22:30:39.008441 --- Starting bitbake server pid 90 at 2021-08-26 22:30:39.008419 ---
90 22:30:39.023734 Started bitbake server pid 90
90 22:30:39.024286 Entering server connection loop
90 22:30:39.024753 Accepting [<socket.socket fd=6, family=AddressFamily.AF_UNIX, type=SocketKind.SOCK_STREAM, proto=0, laddr=bitbake.sock>] ([])
90 22:30:39.026314 Processing Client
90 22:30:39.026456 Connecting Client
90 22:30:39.027509 Running command ['setFeatures', [2]]
90 22:30:39.027757 Command Completed
90 22:30:39.028711 Running command ['updateConfig', {'abort': False, 'force': False, 'invalidate_stamp': None, 'dry_run': False, 'dump_signatures': [], 'extra_assume_provided': [], 'profile': False, 'prefile': [], 'postfile': [], 'server_timeout': None, 'nosetscene': False, 'setsceneonly': False, 'skipsetscene': False, 'runall': None, 'runonly': None, 'writeeventlog': None, 'build_verbose_shell': False, 'build_verbose_stdout': False, 'default_loglevel': 20, 'debug_domains': {}}, {'DISTRO': '', 'PWD': '/OE/nodistro/honister', 'HOME': '/OE', 'MACHINE': 'qemux86', 'BB_ENV_EXTRAWHITE': 'MACHINE DISTRO TCMODE TCLIBC http_proxy ftp_proxy https_proxy all_proxy ALL_PROXY no_proxy SSH_AGENT_PID SSH_AUTH_SOCK BB_SRCREV_POLICY SDKMACHINE BB_NUMBER_THREADS PARALLEL_MAKE GIT_PROXY_COMMAND GIT_PROXY_IGNORE SOCKS5_PASSWD SOCKS5_USER WEBOS_DISTRO_BUILD_ID PSEUDO_DISABLED PSEUDO_BUILD', 'PATH': '/OE/nodistro/honister/oe-core/scripts:/OE/nodistro/honister/bitbake/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin', 'LC_ALL': 'en_US.UTF-8', 'MACHINES': 'qemux86', 'HOSTNAME': '6a439759e3c6', 'TOPDIR': '/OE/nodistro/honister', 'LANG': 'en_US.UTF-8', 'TERM': 'xterm', 'SHLVL': '1', 'BITBAKE_HOME': '/OE', 'BUILDDIR': '/OE/nodistro/honister/BUILD', 'OLDPWD': '/OE/nodistro/honister/bitbake', '_': '/OE/nodistro/honister/bitbake/bin/bitbake'}, ['/OE/nodistro/honister/bitbake/bin/bitbake', '-k', 'zlib-native']]
Process Process-1:
Traceback (most recent call last):
  File "/usr/lib/python3.8/multiprocessing/process.py", line 315, in _bootstrap
    self.run()
  File "/usr/lib/python3.8/multiprocessing/process.py", line 108, in run
    self._target(*self._args, **self._kwargs)
  File "/OE/nodistro/honister/bitbake/lib/bb/asyncrpc/serv.py", line 255, in run
    self.start()
  File "/OE/nodistro/honister/bitbake/lib/bb/asyncrpc/serv.py", line 144, in start_tcp
    self.server = self.loop.run_until_complete(server_coro)
  File "/usr/lib/python3.8/asyncio/base_events.py", line 616, in run_until_complete
    return future.result()
  File "/usr/lib/python3.8/asyncio/streams.py", line 94, in start_server
    return await loop.create_server(factory, host, port, **kwds)
  File "/usr/lib/python3.8/asyncio/base_events.py", line 1463, in create_server
    raise OSError(err.errno, 'error while attempting '
OSError: [Errno 99] error while attempting to bind on address ('::1', 0, 0, 0): cannot assign requested address
90 22:30:39.530037 Command Completed
90 22:30:39.530913 Processing Client
90 22:30:39.531023 Disconnecting Client
90 22:30:39.531638 No timeout, exiting.
90 22:30:39.632137 Exiting
90 22:30:39.637562 Original lockfile contents: ['90\n']
90 22:30:39.638107 Exiting as we could obtain the lock

(Bitbake rev: c2cdda0e5fc720c60d3b8537fc702cb118981bd2)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-01 18:56:25 +01:00
Michael Halstead
961073a302 uninative: Upgrade to 3.4
This adds a patch to glibc which allows it to work with Docker and
clone3 syscall issues cased by EPERM vs ENOSYS.

(From OE-Core rev: 06d55ee67ef81a9f9da178b06bb797cc62881643)

Signed-off-by: Michael Halstead <mhalstead@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-01 18:48:47 +01:00
Michael Opdenacker
e6365c9f52 meta: stop using "virtual/" in RPROVIDES and RDEPENDS
Fixes [YOCTO #14538]

Recipes shouldn't use the "virtual/" string in RPROVIDES and RDEPENDS.

That's confusing because "virtual/" has no special meaning in
RPROVIDES and RDEPENDS (unlike in PROVIDES and DEPENDS).

Instead, using "virtual-" instead of "virtual/"
as already done in the glibc recipe.

(From OE-Core rev: 93ac180d8c389f16964bce8bd5538d9389e970e6)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-01 18:48:47 +01:00
Andrey Zhizhikin
1326991282 nativesdk-packagegroup-sdk-host: add perl integer module
Kernel commit 12dd461ebd19 ("crypto: arm64 - generate *.S by Perl at
build time instead of shipping them") uses perl to generate assembler
files for crypto functionality, which relies on the integer.pm module to
be provided.

Add perl module to package group and export it in SDK.

(From OE-Core rev: 9f4c95a874f6a463b7d56bacea9ba321e29499f9)

Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-01 18:48:46 +01:00
Richard Purdie
29fcb0dfc9 oeqa/buildtools-cases: Allow bitbake time to shutdown
bitbake may still be shutting down when the UI exits. Wait for the lock
to disappear before trying to delete the directory to avoid errors.

Traceback (most recent call last):
  File "/home/pokybuild/yocto-worker/buildtools/build/meta/lib/oeqa/sdk/buildtools-cases/build.py", line 23, in test_libc
    self._run('. %s/oe-init-build-env %s && bitbake virtual/libc' % (corebase, testdir))
  File "/usr/lib64/python3.7/tempfile.py", line 807, in __exit__
    self.cleanup()
  File "/usr/lib64/python3.7/tempfile.py", line 811, in cleanup
    _shutil.rmtree(self.name)
  File "/usr/lib64/python3.7/shutil.py", line 494, in rmtree
    _rmtree_safe_fd(fd, path, onerror)
  File "/usr/lib64/python3.7/shutil.py", line 452, in _rmtree_safe_fd
    onerror(os.unlink, fullname, sys.exc_info())
  File "/usr/lib64/python3.7/shutil.py", line 450, in _rmtree_safe_fd
    os.unlink(entry.name, dir_fd=topfd)
FileNotFoundError: [Errno 2] No such file or directory: 'bitbake.sock'

(From OE-Core rev: 94df60cc97058444188ec8372c2d9849e74b76c6)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-01 18:48:46 +01:00
Trevor Woerner
d7140d5375 distro_features_check: expand with IMAGE_FEATURES
In addition to checking DISTRO_, MACHINE_, and COMBINED_ FEATURES for required
or conflicting features, extend this functionality in order to check
IMAGE_FEATURES in the same way.

(From OE-Core rev: 96a9702a24a73c152c8e7398c3774e63c53a92a9)

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-01 14:06:18 +01:00
Andres Beltran
157462fc2a buildhistory: Label packages providing per-file dependencies in depends.dot
Currently, depends.dot includes per-file dependencies but not the packages
providing those files. This makes it hard to obtain all package
dependencies by just looking at depends.dot.

Parse the RPROVIDES and FILERPROVIDES fields from pkgdata to map each of
their values to the package providing the component. Include runtime
packages as dependencies in depends.dot, together with the component
provided by the package as a label.

(From OE-Core rev: 2ba33093017574bbe29eeba699eb90628614d03a)

Signed-off-by: Andres Beltran <abeltran@linux.microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-01 14:06:18 +01:00
Ross Burton
39b4f7efa9 cpio: backport fix for CVE-2021-38185
(From OE-Core rev: 4accf77ea5b5810cb2330acc6773690ec1b1c71b)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-01 14:06:17 +01:00
Kai Kang
fc3d511cf5 rustfmt: fix SRC_URI
(From OE-Core rev: 9f92fcb502aeae26c2e35832d5414a6096c20961)

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-01 14:06:17 +01:00
Khem Raj
380eff02da musl: Update to latest tip of trunk
Drop upstream patch

This brings in following fixes

  * 3f701faa (upstream/master, origin/master) fix libc-internal signal blocking on mips archs
  * 0fbd7d66 fix broken struct shmid_ds on powerpc (32-bit)
  * 4f3d346b math: fix fmaf not to depend on FE_TOWARDZERO
  * 937822ab fix TZ parsing logic for identifying POSIX-form strings
  * 1f0c7cb1 riscv: rename __NR_fstatat __NR_newfstatat
  * d8cb888d remove return with expression in void function
  * b7a130e0 remove unnecessary cast for map_library return
  * bd3b9c4c add pthread_getname_np function
  * e1a51185 fix popen not to leak pipes from one child to another
  * e74acd59 remove spurious lock in popen
  * 9a40e842 define __STDC_UTF_{16,32}__ macros

(From OE-Core rev: da8fcd0155f1cf3394d0886c940bee77669009d4)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-01 14:06:17 +01:00
Tim Orling
2226d3db15 rust-common.bbclass: export RUST_TARGET_PATH
Running 'rustc --print <foo>' in -c devshell environment
the target specifications are not known, unless the
RUST_TARGET_PATH (absolute path to rustlib/) is defined.

(From OE-Core rev: 6d0603ffe18c1a5999db854abb668b05aff47f67)

Signed-off-by: Tim Orling <timothy.t.orling@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-01 14:06:17 +01:00
Jon Mason
a4b23e131e tune-*: Use more specific DEFAULTTUNE
These files are using a more generic DEFAULTTUNE in their targeted tune
file.  This is contrary to what is being done in other tune files, and
this changes them to match.  It is still possible to use the more
generic DEFAULTTUNE in a machine's config file by simply specifying it.

(From OE-Core rev: e35205a9803692d72eb92b86d740821c667b527e)

Signed-off-by: Jon Mason <jdmason@kudzu.us>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-01 14:06:17 +01:00
Alexander Kanavin
d2b0f230e0 rust: fix upstream version checks
(From OE-Core rev: e2e87d82ad1ec071077f29613e2e568196912daa)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-01 14:06:17 +01:00
Armin Kuster
af0beedc6f lz4: remove rest of ptest artifacts
Commit: 953f6d9a71 lz4: remove ptest changes

missed removing the run-ptest file

(From OE-Core rev: 28aaf1223396820f8fcd9a6aade46b5007b030a6)

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-01 14:06:17 +01:00
Armin Kuster
61a42047e5 lz4: Security Fix for CVE-2021-3520
Source: https://github.com/lz4/lz4
MR: 111604
Type: Security Fix
Disposition: Backport from 8301a21773 (diff-7055e9cf14c488aea9837aaf9f528b58ee3c22988d7d0d81d172ec62d94a88a7)
ChangeID: 58492f950164e75954a97cf084df6f9af3d88244
Description:

(From OE-Core rev: 6d6a089a2f637051333e0137d2e748c823e2aa98)

Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-01 14:06:17 +01:00
Zoltán Böszörményi
e492d55d02 base/kernel: Support zstd-compressed squashfs and cpio initramfs
Enable zstd PACKAGECONFIG knob for squashfs-tools and add support for zstd
compressed initramfs and squashfs.

(From OE-Core rev: fa146049eec5f9730781830270cc9dc55a2146f7)

Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-01 14:06:17 +01:00
Richard Purdie
3d2904cab5 kernel: Use unexpanded EXTENDPKGV
EXTENDPKGV can contain AUTOINC so use an expanded form in the variables allowing
for later expansion during packaging to avoid race issues over the variable and
the build failures that can result.

(From OE-Core rev: 1f93d2426d22c74893e8daec9bb939133c5737c2)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-01 12:07:38 +01:00
Hongxu Jia
40305d389e glibc: fix create thread failed in unprivileged process
Since upstream commit [d8ea0d0168 Add an internal wrapper for clone, clone2
and clone3] applied, start a unprivileged container (docker run without
--privileged), it creates a thread failed in container.

In commit d8ea0d0168, it calls __clone3 if HAVE_CLONE3_WAPPER is defined.  If
__clone3 returns -1 with ENOSYS, fall back to clone or clone2.

As known from [1], cloneXXX fails with EPERM if CLONE_NEWCGROUP,
CLONE_NEWIPC, CLONE_NEWNET, CLONE_NEWNS, CLONE_NEWPID, or CLONE_NEWUTS
was specified by an unprivileged process (process without CAP_SYS_ADMIN)

[1] https://man7.org/linux/man-pages/man2/clone3.2.html

So if __clone3 returns -1 with EPERM, fall back to clone or clone2 could
fix the issue.

(From OE-Core rev: 234a3e84640c1bb6df5fa4d3d7089a854b19d108)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-31 20:51:11 +01:00
Peter Kjellerstedt
a5b257006b bitbake: providers: Use new override syntax when handling pn- "override"
Make versionVariableMatch() support pn-foo overrides using the new
override syntax.

(Bitbake rev: 653df4bc413d595d5611d5fa678e7f2e30bb7431)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-27 11:54:59 +01:00
Andres Beltran
37e0565c11 buildhistory: Add output file listing package information
Currently, buildhistory does not produce a single file combining relevant
information of installed packages. Produce an output file
"installed-package-info.txt" listing a package's runtime name, buildtime name,
its recipe, version, and size to avoid having to look up each package externally.
Leave the existing package list files as-is for backwards compatibility.

In order to support this efficiently, extend oe-pkgdata-util to accept multiple keys
for its read-value argument.

(From OE-Core rev: 1e18b514bf1f960d324a21db608c8e8e5af007ef)

Signed-off-by: Andres Beltran <abeltran@linux.microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-27 11:54:34 +01:00
Bruce Ashfield
51a174f501 parselogs.py: ignore intermittent CD/DVDROM identification failure
We don't use the CD/DVD ROM drive in any of our tests, but it
periodically fails discovery and that leads to a QA error:

    [    6.403477] ata3.00: failed to IDENTIFY (I/O error, err_mask=0x4)

The only way to disable the optical ROM drive in qemu is to use
the '-nodefaults' option, which disables the CDROM (among other things).
We can't be sure that none of our tests, or extended users are relying
on default devices, so using that option is more of a risk than adding
the message to our ignore list.

To date, no one has sent a patch to just disable the optical drive
(either in qemu or the BIOS), but that is something we could consider
in the future.

[YOCTO #14528]

(From OE-Core rev: 143fc5504539c69752ca87717507c197a8920ce5)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-27 11:54:34 +01:00
Bruce Ashfield
fec65c5f98 linux-yocto/5.10: update to v5.10.60
Updating linux-yocto/5.10 to the latest korg -stable release that comprises
the following commits:

    2c5bd949b1df Linux 5.10.60
    3a24e121304a net: dsa: microchip: ksz8795: Use software untagging on CPU port
    1e78179d75fb net: dsa: microchip: ksz8795: Fix VLAN untagged flag change on deletion
    5033d5e23155 net: dsa: microchip: ksz8795: Reject unsupported VLAN configuration
    60c007b52779 net: dsa: microchip: ksz8795: Fix PVID tag insertion
    f365d53c8687 net: dsa: microchip: Fix probing KSZ87xx switch with DT node for host port
    3dc5666baf2a KVM: nSVM: always intercept VMLOAD/VMSAVE when nested (CVE-2021-3656)
    c0883f693187 KVM: nSVM: avoid picking up unsupported bits from L2 in int_ctl (CVE-2021-3653)
    b5f05bdfda28 vmlinux.lds.h: Handle clang's module.{c,d}tor sections
    2fe07584a623 ceph: take snap_empty_lock atomically with snaprealm refcount change
    a23aced54c2c ceph: clean up locking annotation for ceph_get_snap_realm and __lookup_snap_realm
    b0efc93271ca ceph: add some lockdep assertions around snaprealm handling
    dcdb587ac470 vboxsf: Add support for the atomic_open directory-inode op
    7cd14c1a7fed vboxsf: Add vboxsf_[create|release]_sf_handle() helpers
    433f0b31ebec KVM: nVMX: Use vmx_need_pf_intercept() when deciding if L0 wants a #PF
    0ab67e3dfc4d KVM: VMX: Use current VMCS to query WAITPKG support for MSR emulation
    4a948c579ed6 efi/libstub: arm64: Double check image alignment at entry
    fc7da433fa16 powerpc/smp: Fix OOPS in topology_init()
    312730cd15e0 PCI/MSI: Protect msi_desc::masked for multi-MSI
    724d0a985086 PCI/MSI: Use msi_mask_irq() in pci_msi_shutdown()
    923368751866 PCI/MSI: Correct misleading comments
    e42fb8e6161e PCI/MSI: Do not set invalid bits in MSI mask
    042e03c9cdab PCI/MSI: Enforce MSI[X] entry updates to be visible
    0b2509d7a90c PCI/MSI: Enforce that MSI-X table entry is masked for update
    aa8092c1d1f1 PCI/MSI: Mask all unused MSI-X entries
    7e90e81a4b59 PCI/MSI: Enable and mask MSI-X early
    2d2c66848027 genirq/timings: Prevent potential array overflow in __irq_timings_store()
    355754194b48 genirq/msi: Ensure deactivation on teardown
    f0736bed18fb x86/resctrl: Fix default monitoring groups reporting
    25216ed97da8 x86/ioapic: Force affinity setup before startup
    19fb5dabedca x86/msi: Force affinity setup before startup
    4e52a4fe6f44 genirq: Provide IRQCHIP_AFFINITY_PRE_STARTUP
    2a28b52306f2 x86/tools: Fix objdump version check again
    4acc0d987141 powerpc/kprobes: Fix kprobe Oops happens in booke
    015e2c900b5d efi/libstub: arm64: Relax 2M alignment again for relocatable kernels
    feb4a01d3ece efi/libstub: arm64: Force Image reallocation if BSS was not reserved
    afcb84e6cf8c arm64: efi: kaslr: Fix occasional random alloc (and boot) failure
    e0ee8d9c31b5 nbd: Aovid double completion of a request
    f5cefe9a52a6 vsock/virtio: avoid potential deadlock when vsock device remove
    dff830e5e723 xen/events: Fix race in set_evtchn_to_irq
    65395b053d03 drm/i915: Only access SFC_DONE when media domain is not fused off
    4344440d91b3 net: igmp: increase size of mr_ifc_count
    696afe28dc51 tcp_bbr: fix u32 wrap bug in round logic if bbr_init() called after 2B packets
    8976606ca347 net: linkwatch: fix failure to restore device state across suspend/resume
    4c2af90119ea net: bridge: fix memleak in br_add_if()
    f333a5ca71c3 net: bridge: fix flags interpretation for extern learn fdb entries
    e3b949b86d09 net: bridge: validate the NUD_PERMANENT bit when adding an extern_learn FDB entry
    1cad01aca1fa net: dsa: sja1105: fix broken backpressure in .port_fdb_dump
    56cc3408ff2a net: dsa: lantiq: fix broken backpressure in .port_fdb_dump
    f7720b35cd32 net: dsa: lan9303: fix broken backpressure in .port_fdb_dump
    24e1b7dbb174 net: igmp: fix data-race in igmp_ifc_timer_expire()
    69b13167a636 net: Fix memory leak in ieee802154_raw_deliver
    dbfaf7a6a23a net: dsa: microchip: ksz8795: Fix VLAN filtering
    ccc1fe82c878 net: dsa: microchip: Fix ksz_read64()
    558092b8ed31 drm/meson: fix colour distortion from HDR set during vendor u-boot
    6e1886465dea net/mlx5: Fix return value from tracer initialization
    303ba011f5e1 net/mlx5: Synchronize correct IRQ when destroying CQ
    00a0c11ddd72 bareudp: Fix invalid read beyond skb's linear data
    30b1fc47f765 psample: Add a fwd declaration for skbuff
    b3f0b170842c iavf: Set RSS LUT and key in reset handle path
    a6192bae12e4 ice: don't remove netdev->dev_addr from uc sync list
    bae5b521feaa ice: Prevent probing virtual functions
    059238c52c61 net: sched: act_mirred: Reset ct info when mirror/redirect skb
    f15f7716b047 net/smc: fix wait on already cleared link
    51f4965d775e ppp: Fix generating ifname when empty IFLA_IFNAME is specified
    046579c9fc28 net: phy: micrel: Fix link detection on ksz87xx switch"
    e95620c3bdff bpf: Fix integer overflow involving bucket_size
    1960c3ac5268 libbpf: Fix probe for BPF_PROG_TYPE_CGROUP_SOCKOPT
    a3e9a3e22844 platform/x86: pcengines-apuv2: Add missing terminating entries to gpio-lookup tables
    53ebbfdd0e37 net: mvvp2: fix short frame size on s390
    784320edb6c5 net: dsa: mt7530: add the missing RxUnicast MIB counter
    20a80319028c ASoC: cs42l42: Fix LRCLK frame start edge
    750503aecf4e pinctrl: tigerlake: Fix GPIO mapping for newer version of software
    be49d5437d1a netfilter: nf_conntrack_bridge: Fix memory leak when error
    aa6b17bfefbc ASoC: cs42l42: Remove duplicate control for WNF filter frequency
    b268f9f6b73f ASoC: cs42l42: Fix inversion of ADC Notch Switch control
    2386a8cde18e ASoC: SOF: Intel: hda-ipc: fix reply size checking
    0e47f99e8680 ASoC: cs42l42: Don't allow SND_SOC_DAIFMT_LEFT_J
    576939671f74 ASoC: cs42l42: Correct definition of ADC Volume control
    a21963c35f16 pinctrl: mediatek: Fix fallback behavior for bias_set_combo
    27188a938291 ieee802154: hwsim: fix GPF in hwsim_new_edge_nl
    528f17c02db9 ieee802154: hwsim: fix GPF in hwsim_set_edge_lqi
    95de3592f87e drm/amdgpu: don't enable baco on boco platforms in runpm
    bd80d11a516c drm/amd/display: use GFP_ATOMIC in amdgpu_dm_irq_schedule_work
    ae311a7418f1 drm/amd/display: Remove invalid assert for ODM + MPC case
    c2351e5faa3e libnvdimm/region: Fix label activation vs errors
    366de90ccfa2 ACPI: NFIT: Fix support for virtual SPA ranges
    f3fcf9d1b759 ceph: reduce contention in ceph_check_delayed_caps()
    ca6dea44bd8c ARC: fp: set FPU_STATUS.FWE to enable FPU_STATUS update on context switch
    4716a2145bbf net: ethernet: ti: cpsw: fix min eth packet size for non-switch use-cases
    561d13128bb8 seccomp: Fix setting loaded filter count during TSYNC
    54916988a0fb scsi: lpfc: Move initialization of phba->poll_list earlier to avoid crash
    3db5cb922800 cifs: create sd context must be a multiple of 8
    d1398e3715b1 i2c: dev: zero out array used for i2c reads from userspace
    b8bceace43dd ASoC: intel: atom: Fix reference to PCM buffer address
    261613ef340b ASoC: tlv320aic31xx: Fix jack detection after suspend
    7e5a7fa68b27 ASoC: uniphier: Fix reference to PCM buffer address
    209eb62b45fe ASoC: xilinx: Fix reference to PCM buffer address
    c419c4c91b30 ASoC: amd: Fix reference to PCM buffer address
    0c9adae11701 iio: adc: Fix incorrect exit of for-loop
    632279e5057c iio: humidity: hdc100x: Add margin to the conversion time
    45de224b1332 iio: adis: set GPIO reset pin direction
    d0532ed064d1 iio: adc: ti-ads7950: Ensure CS is deasserted after reading channels

(From OE-Core rev: 94fef82258d02285009d08b7a1791de124ff8f45)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-27 11:54:34 +01:00
Bruce Ashfield
2ddefea9e7 linux-yocto/5.13: update to v5.13.12
Updating linux-yocto/5.13 to the latest korg -stable release that comprises
the following commits:

    f428e49b8cb1 Linux 5.13.12
    639a033fd765 KVM: nSVM: always intercept VMLOAD/VMSAVE when nested (CVE-2021-3656)
    a0949ee63cf9 KVM: nSVM: avoid picking up unsupported bits from L2 in int_ctl (CVE-2021-3653)
    874213144352 kasan, slub: reset tag when printing address
    ac0e79584d41 ceph: take snap_empty_lock atomically with snaprealm refcount change
    dcd02a1248cc ceph: clean up locking annotation for ceph_get_snap_realm and __lookup_snap_realm
    36b361cb1966 ceph: add some lockdep assertions around snaprealm handling
    90d215367156 KVM: x86/mmu: Protect marking SPs unsync when using TDP MMU with spinlock
    0f4bf029494d KVM: x86/mmu: Don't leak non-leaf SPTEs when zapping all SPTEs
    bd043e754f4d KVM: nVMX: Use vmx_need_pf_intercept() when deciding if L0 wants a #PF
    1163cd462e1f KVM: VMX: Use current VMCS to query WAITPKG support for MSR emulation
    a3040e7e9ff2 locking/rtmutex: Use the correct rtmutex debugging config option
    b636a0d1e5c8 efi/libstub: arm64: Double check image alignment at entry
    0e1d1392f381 powerpc/32: Fix critical and debug interrupts on BOOKE
    4ce6f022df43 powerpc/xive: Do not skip CPU-less nodes when creating the IPIs
    3b1700551dee powerpc/smp: Fix OOPS in topology_init()
    115ff78c3a03 powerpc/32s: Fix napping restore in data storage interrupt (DSI)
    3eda59bcee6e powerpc/pseries: Fix update of LPAR security flavor after LPM
    33971cedf1d9 powerpc/interrupt: Do not call single_step_exception() from other exceptions
    11aa5db61e9b PCI/MSI: Protect msi_desc::masked for multi-MSI
    b82047e5d807 PCI/MSI: Use msi_mask_irq() in pci_msi_shutdown()
    849b6a5bde32 PCI/MSI: Correct misleading comments
    ea6cc94e8807 PCI/MSI: Do not set invalid bits in MSI mask
    78225ed700df PCI/MSI: Enforce MSI[X] entry updates to be visible
    0b51d4c16a27 PCI/MSI: Enforce that MSI-X table entry is masked for update
    6c971252f090 PCI/MSI: Mask all unused MSI-X entries
    f800bb380fea PCI/MSI: Enable and mask MSI-X early
    73d8b5769514 powerpc/interrupt: Fix OOPS by not calling do_IRQ() from timer_interrupt()
    9dac5f65caaf genirq/timings: Prevent potential array overflow in __irq_timings_store()
    0c081d4a6a13 genirq/msi: Ensure deactivation on teardown
    0abb63311246 x86/resctrl: Fix default monitoring groups reporting
    55cd80f4928c x86/ioapic: Force affinity setup before startup
    067ef0204880 x86/msi: Force affinity setup before startup
    24ed8f291d59 genirq: Provide IRQCHIP_AFFINITY_PRE_STARTUP
    560051d8f439 x86/tools: Fix objdump version check again
    d8f9d8c4be6e i2c: iproc: fix race between client unreg and tasklet
    daf371e74d36 powerpc/kprobes: Fix kprobe Oops happens in booke
    2bfb303470e0 efi/libstub: arm64: Relax 2M alignment again for relocatable kernels
    bfc48d02d915 efi/libstub: arm64: Force Image reallocation if BSS was not reserved
    f3409e925da2 KVM: arm64: Fix off-by-one in range_is_memory
    14034883d058 arm64: efi: kaslr: Fix occasional random alloc (and boot) failure
    98f73989055f nbd: Aovid double completion of a request
    09625c5badd2 vsock/virtio: avoid potential deadlock when vsock device remove
    128e480afe78 xen/events: Fix race in set_evtchn_to_irq
    950429a4d346 drm/i915: Only access SFC_DONE when media domain is not fused off
    9977d0baadc8 net: igmp: increase size of mr_ifc_count
    4391389526a1 tcp_bbr: fix u32 wrap bug in round logic if bbr_init() called after 2B packets
    53201f2902ee net: linkwatch: fix failure to restore device state across suspend/resume
    59cabc513b8a net: bridge: fix memleak in br_add_if()
    ff6c9aad3599 net: bridge: fix flags interpretation for extern learn fdb entries
    c7c9cc4a6016 pinctrl: sunxi: Don't underestimate number of functions
    735e90f3efa6 net: dsa: sja1105: fix broken backpressure in .port_fdb_dump
    8398aab49ba3 net: dsa: lantiq: fix broken backpressure in .port_fdb_dump
    c6cbf5672cc0 net: dsa: lan9303: fix broken backpressure in .port_fdb_dump
    22ecb3423f9c net: dsa: hellcreek: fix broken backpressure in .port_fdb_dump
    52133524d807 net: igmp: fix data-race in igmp_ifc_timer_expire()
    44c8aa996911 net: Fix memory leak in ieee802154_raw_deliver
    74b264b342a5 net: dsa: microchip: ksz8795: Don't use phy_port_cnt in VLAN table lookup
    1c4f28207fab net: dsa: microchip: ksz8795: Fix VLAN filtering
    3cc015794dab net: dsa: microchip: ksz8795: Use software untagging on CPU port
    9674dc6724c5 net: dsa: microchip: ksz8795: Fix VLAN untagged flag change on deletion
    159948c423aa net: dsa: microchip: ksz8795: Reject unsupported VLAN configuration
    3149f9edddf9 net: dsa: microchip: ksz8795: Fix PVID tag insertion
    8154453a4be5 net: dsa: microchip: Fix ksz_read64()
    037570c9adab bpf: Fix potentially incorrect results with bpf_get_local_storage()
    1d1808fae2e0 ovl: fix deadlock in splice write
    75004b47fba4 drm/meson: fix colour distortion from HDR set during vendor u-boot
    11e249ce5e3e net/mlx5: Fix return value from tracer initialization
    436f4a1c6d17 net/mlx5: Synchronize correct IRQ when destroying CQ
    9b0b9c9da810 net/mlx5e: TC, Fix error handling memory leak
    89163e392e57 net/mlx5: Block switchdev mode while devlink traps are active
    09ab613d4996 net/mlx5e: Destroy page pool after XDP SQ to fix use-after-free
    c0cb7d8be945 net/mlx5e: Avoid creating tunnel headers for local route
    3f20768c9fdc net/mlx5: DR, Add fail on error check on decap
    df712c5d591a net/mlx5: Don't skip subfunction cleanup in case of error in module init
    f49d457950b9 io-wq: fix IO_WORKER_F_FIXED issue in create_io_worker()
    815a0fe3f415 io-wq: fix bug of creating io-wokers unconditionally
    3cedeb691b74 bareudp: Fix invalid read beyond skb's linear data
    ed277fbd3053 psample: Add a fwd declaration for skbuff
    792e7591d308 iavf: Set RSS LUT and key in reset handle path
    f2b15898012a ice: don't remove netdev->dev_addr from uc sync list
    8a0814243362 ice: Stop processing VF messages during teardown
    e266d4c43b95 ice: Prevent probing virtual functions
    00735401c918 net: sched: act_mirred: Reset ct info when mirror/redirect skb
    e04669e14c5a net/smc: Correct smc link connection counter in case of smc client
    9b8f136b88f3 net/smc: fix wait on already cleared link
    6a4b92821135 io_uring: clear TIF_NOTIFY_SIGNAL when running task work
    1e19d18189fe ppp: Fix generating ifname when empty IFLA_IFNAME is specified
    2a4a96afa7b5 net: phy: micrel: Fix link detection on ksz87xx switch"
    d8431e3fa7b3 net: dsa: qca: ar9331: make proper initial port defaults
    ada7135e6d99 bpf: Fix integer overflow involving bucket_size
    621d81cfbb0c libbpf: Do not close un-owned FD 0 on errors
    51f19580f5f4 libbpf: Fix probe for BPF_PROG_TYPE_CGROUP_SOCKOPT
    466f5509f62a drm/amd/pm: Fix a memory leak in an error handling path in 'vangogh_tables_init()'
    fd0b94e6b1c7 perf/x86/intel: Apply mid ACK for small core
    736e0445f921 platform/x86: pcengines-apuv2: Add missing terminating entries to gpio-lookup tables
    a4de486958ff net: mvvp2: fix short frame size on s390
    f67f34a86375 net: dsa: mt7530: add the missing RxUnicast MIB counter
    141af64cf768 ASoC: cs42l42: Fix mono playback
    d57b00645556 ASoC: cs42l42: Fix LRCLK frame start edge
    6e61f4d51d38 ASoC: cs42l42: PLL must be running when changing MCLK_SRC_SEL
    22af0d2a5e5e pinctrl: tigerlake: Fix GPIO mapping for newer version of software
    deff14bdcc54 netfilter: nf_conntrack_bridge: Fix memory leak when error
    71805c36336a ASoC: cs42l42: Remove duplicate control for WNF filter frequency
    9c272596189c ASoC: cs42l42: Fix inversion of ADC Notch Switch control
    710490222c69 ASoC: SOF: Intel: hda-ipc: fix reply size checking
    ba216b210f26 ASoC: SOF: Intel: Kconfig: fix SoundWire dependencies
    d82c88a44bb6 selftests/sgx: Fix Q1 and Q2 calculation in sigstruct.c
    67488f5c9613 ASoC: cs42l42: Fix bclk calculation for mono
    b4f870447de1 ASoC: cs42l42: Don't allow SND_SOC_DAIFMT_LEFT_J
    918bbb32c823 ASoC: cs42l42: Correct definition of ADC Volume control
    676b96483576 pinctrl: mediatek: Fix fallback behavior for bias_set_combo
    73e81f7219aa drm/mediatek: Fix cursor plane no update
    30df59b45cac ieee802154: hwsim: fix GPF in hwsim_new_edge_nl
    bb0c87658dd1 ieee802154: hwsim: fix GPF in hwsim_set_edge_lqi
    73248a01ae14 drm/amdgpu: handle VCN instances when harvesting (v2)
    7e73eac2bd90 drm/amdgpu: don't enable baco on boco platforms in runpm
    fcd957aa8b32 drm/amdgpu: Add preferred mode in modeset when freesync video mode's enabled.
    7b69bee4817c drm/amd/display: use GFP_ATOMIC in amdgpu_dm_irq_schedule_work
    164759f4070e drm/amd/display: Remove invalid assert for ODM + MPC case
    3565f42dc8e2 drm/i915/display: Fix the 12 BPC bits for PIPE_MISC reg
    01478e251732 drm/i915/gvt: Fix cached atomics setting for Windows VM
    21fcf2f1ced4 vmlinux.lds.h: Handle clang's module.{c,d}tor sections
    33d2301ad61b riscv: kexec: do not add '-mno-relax' flag if compiler doesn't support it
    1579656b0141 libnvdimm/region: Fix label activation vs errors
    4debaa9f577a ACPI: NFIT: Fix support for virtual SPA ranges
    fbe28d4afbda pinctrl: k210: Fix k210_fpioa_probe()
    3d33960c8d66 ceph: reduce contention in ceph_check_delayed_caps()
    01b2ec534d38 ARC: fp: set FPU_STATUS.FWE to enable FPU_STATUS update on context switch
    30a5d06dc3dd net: ethernet: ti: cpsw: fix min eth packet size for non-switch use-cases
    2bb154128d14 net: wwan: mhi_wwan_ctrl: Fix possible deadlock
    8610d75c4db6 seccomp: Fix setting loaded filter count during TSYNC
    bf77f479cd4c cgroup: rstat: fix A-A deadlock on 32bit around u64_stats_sync
    5028bdb679c4 scsi: lpfc: Move initialization of phba->poll_list earlier to avoid crash
    3e35c7dbf706 io_uring: fix ctx-exit io_rsrc_put_work() deadlock
    e1c5046e341d io_uring: drop ctx->uring_lock before flushing work item
    000cb600dabf cifs: use the correct max-length for dentry_path_raw()
    0ca6ac8a2691 cifs: Call close synchronously during unlink/rename/lease break.
    10290043f377 cifs: create sd context must be a multiple of 8
    3c420ec43971 cifs: Handle race conditions during rename
    cc3a5a27e811 i2c: dev: zero out array used for i2c reads from userspace
    2693a747960b ASoC: intel: atom: Fix reference to PCM buffer address
    145951900b76 ASoC: kirkwood: Fix reference to PCM buffer address
    8e4a0581e288 ASoC: tlv320aic31xx: Fix jack detection after suspend
    3380a37484eb ASoC: uniphier: Fix reference to PCM buffer address
    4cf1b08e6889 ASoC: xilinx: Fix reference to PCM buffer address
    c43e0f97f5fc ASoC: amd: Fix reference to PCM buffer address
    b37adfb2c760 iio: adc: Fix incorrect exit of for-loop
    88f5acc1f2af iio: humidity: hdc100x: Add margin to the conversion time
    29ccbb4684e9 iio: adis: set GPIO reset pin direction
    51289a499dd1 iio: adc: ti-ads7950: Ensure CS is deasserted after reading channels
    c7ee0c9854fd Revert "usb: dwc3: gadget: Use list_replace_init() before traversing lists"
    95f4fb3ef0b9 lib: use PFN_PHYS() in devmem_is_allowed()

(From OE-Core rev: c89d577e1c447d1be72720aa499408a9e988fdab)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-27 11:54:34 +01:00
Bruce Ashfield
7cf486b247 linux-yocto/5.10: update to v5.10.59
Updating linux-yocto/5.10 to the latest korg -stable release that comprises
the following commits:

    5805e5eec901 Linux 5.10.59
    25cff25ec606 net: xilinx_emaclite: Do not print real IOMEM pointer
    6a002d48a660 ovl: prevent private clone if bind mount is not allowed
    bffead8d3648 ppp: Fix generating ppp unit id when ifname is not specified
    5df85901fe45 ALSA: hda: Add quirk for ASUS Flow x13
    8930f2c60a45 ALSA: hda/realtek: fix mute/micmute LEDs for HP ProBook 650 G8 Notebook PC
    98c3fa3a9d7a ALSA: pcm: Fix mmap breakage without explicit buffer setup
    cc1a4dff23a4 USB:ehci:fix Kunpeng920 ehci hardware problem
    bd909fd3878d vboxsf: Make vboxsf_dir_create() return the handle for the created file
    971703fc19cf vboxsf: Honor excl flag to the dir-inode create op
    96b2232cb7e5 arm64: dts: renesas: beacon: Fix USB ref clock references
    e0dd4a0ab072 arm64: dts: renesas: beacon: Fix USB extal reference
    0f47027d1b9b arm64: dts: renesas: rzg2: Add usb2_clksel to RZ/G2 M/N/H
    eaa7feecd366 mm: make zone_to_nid() and zone_set_nid() available for DISCONTIGMEM
    0e709390372f Revert "selftests/resctrl: Use resctrl/info for feature detection"
    d8c38598701f bpf: Add lockdown check for probe_write_user helper
    5b5064ea9a94 firmware: tee_bnxt: Release TEE shm, session, and context during kexec
    c5a625c6a4ac tee: Correct inappropriate usage of TEE_SHM_DMA_BUF flag
    9f105d2d4f6c KVM: SVM: Fix off-by-one indexing when nullifying last used SEV VMCB
    132a8267adab Linux 5.10.58
    3d7d1b0f5f41 arm64: fix compat syscall return truncation
    bb65051dcd1f drm/amdgpu/display: only enable aux backlight control for OLED panels
    c8b7cfa674ee smb3: rc uninitialized in one fallocate path
    8cfdd039ca18 net/qla3xxx: fix schedule while atomic in ql_wait_for_drvr_lock and ql_adapter_reset
    fbbb209268e5 alpha: Send stop IPI to send to online CPUs
    13d0a9b3b917 net: qede: Fix end of loop tests for list_for_each_entry
    1478e902bcbc virt_wifi: fix error on connect
    ecd8614809eb reiserfs: check directory items on read from disk
    dbe4f82fedc6 reiserfs: add check for root_inode in reiserfs_fill_super
    0f05e0ffa247 libata: fix ata_pio_sector for CONFIG_HIGHMEM
    11891adab23d drm/i915: avoid uninitialised var in eb_parse()
    a3e6bd0c71bb sched/rt: Fix double enqueue caused by rt_effective_prio
    c797b8872bb9 perf/x86/amd: Don't touch the AMD64_EVENTSEL_HOSTONLY bit inside the guest
    2d94cffc94a5 soc: ixp4xx/qmgr: fix invalid __iomem access
    7397034905ac drm/i915: Correct SFC_DONE register offset
    16aecf1e36d9 interconnect: qcom: icc-rpmh: Ensure floor BW is enforced for all nodes
    22b4917c85af interconnect: Always call pre_aggregate before aggregate
    ccfe4f62ff9f interconnect: Zero initial BW after sync-state
    05565b469358 spi: meson-spicc: fix memory leak in meson_spicc_remove
    1a084e78217d interconnect: Fix undersized devress_alloc allocation
    dcc23e58511b soc: ixp4xx: fix printing resources
    37cbd27ef4b2 arm64: vdso: Avoid ISB after reading from cntvct_el0
    7a2b5bb00f54 KVM: x86/mmu: Fix per-cpu counter corruption on 32-bit builds
    32f55c25ee29 KVM: Do not leak memory for duplicate debugfs directories
    309a31127bef KVM: x86: accept userspace interrupt only if no event is injected
    a786282b55b4 md/raid10: properly indicate failure when ending a failed write request
    3d7d2d2b069b ARM: omap2+: hwmod: fix potential NULL pointer access
    9851ad2f7107 Revert "gpio: mpc8xxx: change the gpio interrupt flags."
    57c44e7ac788 bus: ti-sysc: AM3: RNG is GP only
    f4984f60acc7 selinux: correct the return value when loads initial sids
    100f8396d154 pcmcia: i82092: fix a null pointer dereference bug
    afcd5a0e015f net/xfrm/compat: Copy xfrm_spdattr_type_t atributes
    f08b2d078cbb xfrm: Fix RCU vs hash_resize_mutex lock inversion
    23e36a8610ca timers: Move clearing of base::timer_running under base:: Lock
    9a69d0d24d69 fpga: dfl: fme: Fix cpu hotplug issue in performance reporting
    bfb5f1a12325 serial: 8250_pci: Avoid irq sharing for MSI(-X) interrupts.
    0f30fedced7c serial: 8250_pci: Enumerate Elkhart Lake UARTs via dedicated driver
    17f3c64f707b MIPS: Malta: Do not byte-swap accesses to the CBUS UART
    8a1624f4a8d3 serial: 8250: Mask out floating 16/32-bit bus bits
    c03cef67157a serial: 8250_mtk: fix uart corruption issue when rx power off
    a4f8bfc919ee serial: tegra: Only print FIFO error message when an error occurs
    cc7300776808 ext4: fix potential htree corruption when growing large_dir directories
    6b5a3d2c2b89 pipe: increase minimum default pipe size to 2 pages
    556e7f204d34 media: rtl28xxu: fix zero-length control request
    551e0c5d6b2e drivers core: Fix oops when driver probe fails
    faec2c68ea5f staging: rtl8712: error handling refactoring
    e468a357af68 staging: rtl8712: get rid of flush_scheduled_work
    369101e39911 staging: rtl8723bs: Fix a resource leak in sd_int_dpc
    1628b64efb36 tpm_ftpm_tee: Free and unregister TEE shared memory during kexec
    2a879ff9719f optee: fix tee out of memory failure seen during kexec reboot
    ad80c25987fe optee: Refuse to load the driver under the kdump kernel
    1340dc3fb75e optee: Fix memory leak when failing to register shm pages
    6b2ded93d35c tee: add tee_shm_alloc_kernel_buf()
    5e9d82021425 optee: Clear stale cache entries during initialization
    e5d8fd87091c arm64: stacktrace: avoid tracing arch_stack_walk()
    7799ad4d181f tracepoint: Fix static call function vs data state mismatch
    14673e19291c tracepoint: static call: Compare data on transition from 2->1 callees
    046e12323ab4 tracing: Fix NULL pointer dereference in start_creating
    b2aca8daa50e tracing: Reject string operand in the histogram expression
    b10ccc2c5888 tracing / histogram: Give calculation hist_fields a size
    f97274528037 scripts/tracing: fix the bug that can't parse raw_trace_func
    fd3afb81f448 clk: fix leak on devm_clk_bulk_get_all() unwind
    948ff2f214fb usb: otg-fsm: Fix hrtimer list corruption
    8f8645de092a usb: typec: tcpm: Keep other events when receiving FRS and Sourcing_vbus events
    5b4318885a43 usb: host: ohci-at91: suspend/resume ports after/before OHCI accesses
    1f2015506d9c usb: gadget: f_hid: idle uses the highest byte for duration
    825ac3f0bc35 usb: gadget: f_hid: fixed NULL pointer dereference
    683702dff7c8 usb: gadget: f_hid: added GET_IDLE and SET_IDLE handlers
    051518d9cfe3 usb: cdns3: Fixed incorrect gadget state
    822bec5cbb05 usb: gadget: remove leaked entry from udc driver list
    98c83d72614e usb: dwc3: gadget: Avoid runtime resume if disabling pullup
    79e9389038c4 ALSA: usb-audio: Add registration quirk for JBL Quantum 600
    b7532db2d458 ALSA: usb-audio: Fix superfluous autosuspend recovery
    80b7aa2651bc ALSA: hda/realtek: Fix headset mic for Acer SWIFT SF314-56 (ALC256)
    de30786fb25a ALSA: hda/realtek: add mic quirk for Acer SF314-42
    c0b626f0a29a ALSA: pcm - fix mmap capability check for the snd-dummy driver
    dd3f7c5c8904 drm/amdgpu/display: fix DMUB firmware version info
    ecb739cf15a9 firmware_loader: fix use-after-free in firmware_fallback_sysfs
    5019f5812bbf firmware_loader: use -ETIMEDOUT instead of -EAGAIN in fw_load_sysfs_fallback
    aa3b8bc17e2a USB: serial: ftdi_sio: add device ID for Auto-M3 OP-COM v2
    d245a76719cf USB: serial: ch341: fix character loss at high transfer rates
    0470385e63bb USB: serial: option: add Telit FD980 composition 0x1056
    ba4a395668b5 USB: usbtmc: Fix RCU stall warning
    f2f856b65ac4 Bluetooth: defer cleanup of resources in hci_unregister_dev()
    821e6a613354 blk-iolatency: error out if blk_get_queue() failed in iolatency_set_limit()
    c5a499b8607a net: vxge: fix use-after-free in vxge_device_unregister
    fb49d67262ca net: fec: fix use-after-free in fec_drv_remove
    f12b6b6bc15f net: pegasus: fix uninit-value in get_interrupt_interval
    c66d273b70fe bnx2x: fix an error code in bnx2x_nic_load()
    f76f9caccb46 mips: Fix non-POSIX regexp
    f93b7b000044 MIPS: check return value of pgtable_pmd_page_ctor
    9b2b2f07712b net: sched: fix lockdep_set_class() typo error for sch->seqlock
    d1f2abe57bc1 net: dsa: qca: ar9331: reorder MDIO write sequence
    a45ee8ed0c7d net: ipv6: fix returned variable type in ip6_skb_dst_mtu
    f87be69b7fe9 nfp: update ethtool reporting of pauseframe control
    44f2e360e784 sctp: move the active_key update after sh_keys is added
    e74551ba938a RDMA/mlx5: Delay emptying a cache entry when a new MR is added to it recently
    1242ca9369b1 gpio: tqmx86: really make IRQ optional
    4ef549dc9c1a net: natsemi: Fix missing pci_disable_device() in probe and remove
    1dc3eef381c1 net: phy: micrel: Fix detection of ksz87xx switch
    e09dba75cafd net: dsa: sja1105: match FDB entries regardless of inner/outer VLAN tag
    c0b14a0e61e7 net: dsa: sja1105: be stateless with FDB entries on SJA1105P/Q/R/S/SJA1110 too
    00bf923dce2a net: dsa: sja1105: invalidate dynamic FDB entries learned concurrently with statically added ones
    de425f1c3a60 net: dsa: sja1105: overwrite dynamic FDB entries with static ones in .port_fdb_add
    74bcf85ff1e2 net, gro: Set inner transport header offset in tcp/udp GRO hook
    80fd533ac3f9 dmaengine: imx-dma: configure the generic DMA type to make it work
    163e6d87216d ARM: dts: stm32: Fix touchscreen IRQ line assignment on DHCOM
    442f7e04d592 ARM: dts: stm32: Disable LAN8710 EDPD on DHCOM
    449991df08d5 media: videobuf2-core: dequeue if start_streaming fails
    3e8bba601212 scsi: sr: Return correct event when media event code is 3
    aaaf6e6e4174 spi: imx: mx51-ecspi: Fix low-speed CONFIGREG delay calculation
    cd989e119272 spi: imx: mx51-ecspi: Reinstate low-speed CONFIGREG delay
    281514da66a4 dmaengine: stm32-dmamux: Fix PM usage counter unbalance in stm32 dmamux ops
    bbce3c99f622 dmaengine: stm32-dma: Fix PM usage counter imbalance in stm32 dma ops
    84656b4c27bf clk: tegra: Implement disable_unused() of tegra_clk_sdmmc_mux_ops
    edf1b7911af2 dmaengine: uniphier-xdmac: Use readl_poll_timeout_atomic() in atomic state
    4ebd11d1c782 omap5-board-common: remove not physically existing vdds_1v8_main fixed-regulator
    9bf056b99fa0 ARM: dts: am437x-l4: fix typo in can@0 node
    e79a30f71d95 clk: stm32f4: fix post divisor setup for I2S/SAI PLLs
    71f39badc898 ALSA: usb-audio: fix incorrect clock source setting
    c4fcda128780 arm64: dts: armada-3720-turris-mox: remove mrvl,i2c-fast-mode
    8d13f6a0a656 arm64: dts: armada-3720-turris-mox: fixed indices for the SDHC controllers
    f239369f37d9 ARM: dts: imx: Swap M53Menlo pinctrl_power_button/pinctrl_power_out pins
    ee6f7084324d ARM: imx: fix missing 3rd argument in macro imx_mmdc_perf_init
    e1011b9c597d ARM: dts: colibri-imx6ull: limit SDIO clock to 25MHz
    c0f61abbefdf arm64: dts: ls1028: sl28: fix networking for variant 2
    54555c399668 ARM: dts: imx6qdl-sr-som: Increase the PHY reset duration to 10ms
    3790f940981d ARM: imx: add missing clk_disable_unprepare()
    a28569b510e5 ARM: imx: add missing iounmap()
    9189d77f0e21 arm64: dts: ls1028a: fix node name for the sysclk
    d61dc8c634bb net: xfrm: fix memory leak in xfrm_user_rcv_msg
    8efe3a635f22 bus: ti-sysc: Fix gpt12 system timer issue with reserved status
    e32a291736fc ALSA: seq: Fix racy deletion of subscriber
    b917f123b50d Revert "ACPICA: Fix memory leak caused by _CID repair function"

(From OE-Core rev: 07c7379180a5cda5a2b056aab99826469f41810a)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-27 11:54:34 +01:00
Bruce Ashfield
d0afa65ba3 linux-yocto/5.13: update to v5.13.11
Updating linux-yocto/5.13 to the latest korg -stable release that comprises
the following commits:

    a3f1a03f54fc Linux 5.13.11
    41812f4b8448 ovl: prevent private clone if bind mount is not allowed
    2b187b56d531 ppp: Fix generating ppp unit id when ifname is not specified
    9153106ca7e3 ALSA: hda: Add quirk for ASUS Flow x13
    1252406498a6 ALSA: hda/realtek: fix mute/micmute LEDs for HP ProBook 650 G8 Notebook PC
    c67b3ee8ca46 ALSA: pcm: Fix mmap breakage without explicit buffer setup
    95421b33f9a2 bpf: Add lockdown check for probe_write_user helper
    ea56b15b909c firmware: tee_bnxt: Release TEE shm, session, and context during kexec
    a37da2be8e6c Linux 5.13.10
    65485c34aa43 HID: ft260: fix device removal due to USB disconnect
    6cf4cab9db7e platform/x86: gigabyte-wmi: add support for B550 Aorus Elite V2
    37d363b3f6f7 drm/amdgpu/display: only enable aux backlight control for OLED panels
    0505f8c628b9 smb3: rc uninitialized in one fallocate path
    b092186eb9e6 net/qla3xxx: fix schedule while atomic in ql_wait_for_drvr_lock and ql_adapter_reset
    23f50e8ea008 alpha: Send stop IPI to send to online CPUs
    dd62ad1e49cc net: qede: Fix end of loop tests for list_for_each_entry
    f4c5021e7b3a virt_wifi: fix error on connect
    cd5a60de176c reiserfs: check directory items on read from disk
    42b81b2b6766 reiserfs: add check for root_inode in reiserfs_fill_super
    aa54be4d1716 libata: fix ata_pio_sector for CONFIG_HIGHMEM
    fb9501ef203d riscv: dts: fix memory size for the SiFive HiFive Unmatched
    aa11124534b9 sched/rt: Fix double enqueue caused by rt_effective_prio
    bfdb06df02df perf/x86/amd: Don't touch the AMD64_EVENTSEL_HOSTONLY bit inside the guest
    1de1a42a8590 soc: ixp4xx/qmgr: fix invalid __iomem access
    8db20e539486 drm/i915: Correct SFC_DONE register offset
    9f01d090be13 interconnect: qcom: icc-rpmh: Ensure floor BW is enforced for all nodes
    019387e3c21f interconnect: Always call pre_aggregate before aggregate
    39382972e727 interconnect: Zero initial BW after sync-state
    f2ca988aba4e spi: meson-spicc: fix memory leak in meson_spicc_remove
    e170a01152d2 usb: cdnsp: Fix incorrect supported maximum speed
    95108645a282 usb: cdnsp: Fix the IMAN_IE_SET and IMAN_IE_CLEAR macro
    e9b413776d32 interconnect: Fix undersized devress_alloc allocation
    6d74664e9843 soc: ixp4xx: fix printing resources
    7a822dd050b1 KVM: x86/mmu: Fix per-cpu counter corruption on 32-bit builds
    16375248cec6 KVM: Do not leak memory for duplicate debugfs directories
    9a6772458f8e KVM: SVM: Fix off-by-one indexing when nullifying last used SEV VMCB
    82c9a3098bbc KVM: x86: accept userspace interrupt only if no event is injected
    642ffd390d67 s390/dasd: fix use after free in dasd path handling
    6ed983ea4a12 io-wq: fix race between worker exiting and activating free worker
    08ed8d676c94 md/raid10: properly indicate failure when ending a failed write request
    d6e1229a1bbb ARM: omap2+: hwmod: fix potential NULL pointer access
    b5f6bab9522e arm64: fix compat syscall return truncation
    a62784c80b1b Revert "gpio: mpc8xxx: change the gpio interrupt flags."
    383d2836d2fa bus: ti-sysc: AM3: RNG is GP only
    6e8de6c62763 selinux: correct the return value when loads initial sids
    f730f081a49b scsi: ibmvfc: Fix command state accounting and stale response detection
    1cbbe89e6123 pcmcia: i82092: fix a null pointer dereference bug
    60cd03514038 net/xfrm/compat: Copy xfrm_spdattr_type_t atributes
    d6bfaf682860 xfrm: Fix RCU vs hash_resize_mutex lock inversion
    662a1fd0ec69 perf: Fix required permissions if sigtrap is requested
    711f71b661ff virt: acrn: Do hcall_destroy_vm() before resource release
    9ae78810a2b4 timers: Move clearing of base::timer_running under base:: Lock
    fafe9cf51f80 fpga: dfl: fme: Fix cpu hotplug issue in performance reporting
    03d6da7c923f serial: 8250_pci: Avoid irq sharing for MSI(-X) interrupts.
    134cbd486ac4 serial: 8250_pci: Enumerate Elkhart Lake UARTs via dedicated driver
    9b2967bd9888 MIPS: Malta: Do not byte-swap accesses to the CBUS UART
    b321bb83a2c6 serial: 8250: fix handle_irq locking
    979bd0e11d88 serial: 8250: Mask out floating 16/32-bit bus bits
    19364aeb0b63 serial: 8250_mtk: fix uart corruption issue when rx power off
    b188f699e036 serial: tegra: Only print FIFO error message when an error occurs
    ddbd617df071 Revert "thunderbolt: Hide authorized attribute if router does not support PCIe tunnels"
    bc3c6b55a4ea ext4: fix potential htree corruption when growing large_dir directories
    e745e3033999 pipe: increase minimum default pipe size to 2 pages
    e58376a283bd media: rtl28xxu: fix zero-length control request
    e10d4de4ff5e drivers core: Fix oops when driver probe fails
    9f57b942c4f3 staging: rtl8712: error handling refactoring
    e7565488445d staging: rtl8712: get rid of flush_scheduled_work
    125b1d808b98 staging: rtl8723bs: Fix a resource leak in sd_int_dpc
    7a4e7a65d088 tpm_ftpm_tee: Free and unregister TEE shared memory during kexec
    156dc5bd1c8d optee: fix tee out of memory failure seen during kexec reboot
    7a710ab78bb8 optee: Refuse to load the driver under the kdump kernel
    255e17923b22 optee: Fix memory leak when failing to register shm pages
    55dac0db5316 tee: Correct inappropriate usage of TEE_SHM_DMA_BUF flag
    a256c244187a tee: add tee_shm_alloc_kernel_buf()
    dca5025908f7 optee: Clear stale cache entries during initialization
    c7003666555d arm64: stacktrace: avoid tracing arch_stack_walk()
    ab19b258d68b tracepoint: Use rcu get state and cond sync for static call updates
    21acfdc21754 tracepoint: Fix static call function vs data state mismatch
    ee6f51d74e11 tracepoint: static call: Compare data on transition from 2->1 callees
    1483ce6d8ffd tracing: Fix NULL pointer dereference in start_creating
    aa9876e40cb6 tracing: Reject string operand in the histogram expression
    53e512b6c563 tracing / histogram: Give calculation hist_fields a size
    b907f0dd99cc scripts/tracing: fix the bug that can't parse raw_trace_func
    00fcd7f7a28b clk: fix leak on devm_clk_bulk_get_all() unwind
    8bb9022e0737 usb: otg-fsm: Fix hrtimer list corruption
    8ac3e4bdc284 usb: typec: tcpm: Keep other events when receiving FRS and Sourcing_vbus events
    f6f2d875a557 usb: host: ohci-at91: suspend/resume ports after/before OHCI accesses
    74cd6464d6ad usb: gadget: f_hid: idle uses the highest byte for duration
    b27bb0d8988e usb: gadget: f_hid: fixed NULL pointer dereference
    12620d8780dd usb: gadget: f_hid: added GET_IDLE and SET_IDLE handlers
    39129dc820d0 usb: cdnsp: Fixed issue with ZLP
    36d3bb59f3c6 usb: cdns3: Fixed incorrect gadget state
    271a4a35c61d usb: gadget: remove leaked entry from udc driver list
    fadfc2b17a1d usb: dwc3: gadget: Avoid runtime resume if disabling pullup
    cde7b3b1ddd4 usb: dwc3: gadget: Use list_replace_init() before traversing lists
    22952d4d1ae2 ALSA: usb-audio: Avoid unnecessary or invalid connector selection at resume
    11ebf7631eb6 ALSA: usb-audio: Add registration quirk for JBL Quantum 600
    8691bda37729 ALSA: usb-audio: Fix superfluous autosuspend recovery
    6537805a71cd ALSA: hda/realtek: Fix headset mic for Acer SWIFT SF314-56 (ALC256)
    4cb3b665fa39 ALSA: hda/realtek: add mic quirk for Acer SF314-42
    fb78a577d5e5 ALSA: pcm - fix mmap capability check for the snd-dummy driver
    797bcd3d678b drm/amdgpu/display: fix DMUB firmware version info
    8330879408e5 drm/amdgpu: fix checking pmops when PM_SLEEP is not enabled
    c14a54675db7 firmware_loader: fix use-after-free in firmware_fallback_sysfs
    34311eaec13b firmware_loader: use -ETIMEDOUT instead of -EAGAIN in fw_load_sysfs_fallback
    44b8abfb1c0f USB: serial: pl2303: fix GT type detection
    654b54e72cb3 USB: serial: pl2303: fix HX type detection
    ccc55e1df78b USB: serial: ftdi_sio: add device ID for Auto-M3 OP-COM v2
    9fc923d27852 USB: serial: ch341: fix character loss at high transfer rates
    a07d3a2a57de USB: serial: option: add Telit FD980 composition 0x1056
    e7cf487c5f05 USB: usbtmc: Fix RCU stall warning
    d92eaad3ed95 io-wq: fix lack of acct->nr_workers < acct->max_workers judgement
    ebad5646c059 io-wq: fix no lock protection of acct->nr_worker
    75dd00b755eb Bluetooth: defer cleanup of resources in hci_unregister_dev()
    5c4139e2e299 blk-iolatency: error out if blk_get_queue() failed in iolatency_set_limit()
    fc443dec3786 net: vxge: fix use-after-free in vxge_device_unregister
    5969dc53160a net: fec: fix use-after-free in fec_drv_remove
    91c159168dbd net: pegasus: fix uninit-value in get_interrupt_interval
    a4e2310d171e net: ethernet: ti: am65-cpsw: fix crash in am65_cpsw_port_offload_fwd_mark_update()
    6e2de0ad1d17 bnx2x: fix an error code in bnx2x_nic_load()
    9884f6096c4a kbuild: cancel sub_make_done for the install target to fix DKMS
    cb1f2a9b52d6 mips: Fix non-POSIX regexp
    a047015d4b23 x86/tools/relocs: Fix non-POSIX regexp
    b50d4d2b6fc6 MIPS: check return value of pgtable_pmd_page_ctor
    367c5c9d53e4 drm/i915: fix i915_globals_exit() section mismatch error
    8cc7b4cbce30 net: sched: fix lockdep_set_class() typo error for sch->seqlock
    04c35b1c155d riscv: Disable STACKPROTECTOR_PER_TASK if GCC_PLUGIN_RANDSTRUCT is enabled
    57b76a8fec62 net: dsa: qca: ar9331: reorder MDIO write sequence
    60dd525573d5 RDMA/hns: Fix the double unlock problem of poll_sem
    c3aba13b0e21 net: ipv6: fix returned variable type in ip6_skb_dst_mtu
    2841b3001376 nfp: update ethtool reporting of pauseframe control
    0294ca659bce drm/i915: Call i915_globals_exit() if pci_register_device() fails
    d73959cc5d98 sctp: move the active_key update after sh_keys is added
    8a9099d737d1 net: bridge: validate the NUD_PERMANENT bit when adding an extern_learn FDB entry
    29d04e9cf568 RDMA/mlx5: Delay emptying a cache entry when a new MR is added to it recently
    84a55bb25b8c gpio: tqmx86: really make IRQ optional
    be4b1c034ce7 net: natsemi: Fix missing pci_disable_device() in probe and remove
    a8c78e76c426 net: phy: micrel: Fix detection of ksz87xx switch
    6986053b6f33 net: dsa: sja1105: match FDB entries regardless of inner/outer VLAN tag
    731993ae08c3 net: dsa: sja1105: be stateless with FDB entries on SJA1105P/Q/R/S/SJA1110 too
    8a9e4d4e6ede net: dsa: sja1105: ignore the FDB entry for unknown multicast when adding a new address
    f072c44eb10b net: dsa: sja1105: invalidate dynamic FDB entries learned concurrently with statically added ones
    8395e1c53494 net: dsa: sja1105: overwrite dynamic FDB entries with static ones in .port_fdb_add
    1e6eab0aa13b net, gro: Set inner transport header offset in tcp/udp GRO hook
    64b81fcfd37f dmaengine: imx-dma: configure the generic DMA type to make it work
    6cb60082664e ARM: dts: stm32: Fix touchscreen IRQ line assignment on DHCOM
    3957b6192d01 ARM: dts: stm32: Disable LAN8710 EDPD on DHCOM
    941212f8762b ARM: dts: stm32: Prefer HW RTC on DHCOM SoM
    938b3e21c01a media: videobuf2-core: dequeue if start_streaming fails
    5258b116b485 scsi: sr: Return correct event when media event code is 3
    c298b61f6524 drm/kmb: Enable LCD DMA for low TVDDCV
    1d9f0250c73c spi: imx: mx51-ecspi: Fix low-speed CONFIGREG delay calculation
    de77638ae9ac spi: imx: mx51-ecspi: Reinstate low-speed CONFIGREG delay
    64df529b50d0 dmaengine: stm32-dmamux: Fix PM usage counter unbalance in stm32 dmamux ops
    748fb4387195 dmaengine: stm32-dma: Fix PM usage counter imbalance in stm32 dma ops
    e03d177b32d8 clk: tegra: Implement disable_unused() of tegra_clk_sdmmc_mux_ops
    a4240c4f23fb dmaengine: uniphier-xdmac: Use readl_poll_timeout_atomic() in atomic state
    50836f77ccc2 omap5-board-common: remove not physically existing vdds_1v8_main fixed-regulator
    4b0843e94e86 ARM: dts: am437x-l4: fix typo in can@0 node
    36fec2753f39 clk: stm32f4: fix post divisor setup for I2S/SAI PLLs
    747d62a533b5 riscv: stacktrace: Fix NULL pointer dereference
    b28fd0f0b5cf ALSA: usb-audio: fix incorrect clock source setting
    f98f80297a05 arm64: dts: armada-3720-turris-mox: remove mrvl,i2c-fast-mode
    71ecd71e4e6e ext4: fix potential uninitialized access to retval in kmmpd
    b49b428e9462 arm64: dts: armada-3720-turris-mox: fixed indices for the SDHC controllers
    710be2446523 ARM: dts: imx: Swap M53Menlo pinctrl_power_button/pinctrl_power_out pins
    15d9eb484ebd ARM: imx: fix missing 3rd argument in macro imx_mmdc_perf_init
    50f5768127aa ARM: dts: colibri-imx6ull: limit SDIO clock to 25MHz
    c9658f4ddfce arm64: dts: ls1028: sl28: fix networking for variant 2
    d882c91b1585 dmaengine: idxd: fix submission race window
    1f2b17134c7c dmaengine: idxd: fix sequence for pci driver remove() and shutdown()
    6c3b6b10a84f dmaengine: idxd: fix desc->vector that isn't being updated
    48b425d005b5 Revert "soc: imx8m: change to use platform driver"
    ad6ef82f5695 ARM: dts: imx6qdl-sr-som: Increase the PHY reset duration to 10ms
    b1137318a18c ARM: imx: add missing clk_disable_unprepare()
    f6624656c389 ARM: imx: add missing iounmap()
    e1045d5ac6ad dmaengine: idxd: fix setup sequence for MSIXPERM table
    1c8a2fa0600a dmaengine: idxd: fix array index when int_handles are being used
    84e5c5ccd6ef arm64: dts: ls1028a: fix node name for the sysclk
    e95a18d6f83a net: xfrm: fix memory leak in xfrm_user_rcv_msg
    c03d1a2a4b99 bus: ti-sysc: Fix gpt12 system timer issue with reserved status
    3419672f00c8 ALSA: seq: Fix racy deletion of subscriber
    873180433191 Revert "ACPICA: Fix memory leak caused by _CID repair function"

(From OE-Core rev: 66da39e1c965d944a5bdf1955bae716956c56bb7)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-27 11:54:34 +01:00
Andrej Valek
4e2da1699e vim: add option to disable NLS support
- Some distributions with UTF-8 locale have problem when National Language
Support is enabled. Add there an option to disable it.

(From OE-Core rev: da630d6d81a396c3e1635fbd7b8103df47ed2732)

Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-27 11:54:34 +01:00
Alexander Kanavin
ecf8795519 qemurunner.py: handle getOutput() having nothing to read
(From OE-Core rev: f4abfdeea175cfcadd6f73a69a676632ab4334a6)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-27 11:54:34 +01:00
Alexander Kanavin
e4aa695cea qemurunner.py: print output from runqemu/qemu-system in stop()
This is done when starting up qemu has failed, but is not done
when qemu started ok, but fails later in QMP communication.

Output from runqemu does contain valuable information to find out
why, so rather than fix all the QMP fails to include it, let's just
print it in stop().

(From OE-Core rev: 6e2bf68e4401db747484c2c8ba0f77500b1d2d49)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-27 11:54:34 +01:00
Peter Kjellerstedt
e61c030679 meson.bbclass: Make the default buildtype "debug" if DEBUG_BUILD is 1
Setting the Meson buildtype to "debug" will by default only enable the
-g option to the compiler, which should not matter for OE-Core as it is
already enabled by setting DEBUG_BUILD to 1 in the first place. However,
if the package uses get_option('debug') in its meson.build files to
enable package specific debug code, this will now trigger as intended.

(From OE-Core rev: 7c7c353858a020153be5dba78480b91a28c7a05b)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-27 11:54:34 +01:00
Andrey Zhizhikin
91a29ab9e9 lttng-modules: do not search in non-existing folder during install
When CONFIG_TRACEPOINTS is not enabled in kernel config - module
compilation is skipped, which causes the ${D}/${nonarch_base_libdir} not
to be created.

This fails later in do_install:append() due to the fact that find
command in executed for non-existing folder.

Check for folder existence before find command in executed.

(From OE-Core rev: de0aa1700ed4e6f04b0a233eb1f6d2ac598e7ed8)

Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-27 11:54:34 +01:00
Zoltán Böszörményi
7768da3fe8 kernel.bbclass: Use full versions for inter-package dependencies
If the kernel configuration enables module signing but no key
is provided, then the kernel generates one during the kernel build.

The current runtime-dependency references (with only package names
without full versions) allow mixed package installations from different
rebuilds of the same kernel version.

This creates an issue because then the modules either don't work
or taint the kernel.

Tighten RDEPENDS with the full package version, i.e. use (= ${EXTENDPKGV})
markers for inter-package dependencies.

The kernel will pull in the kernel-modules subpackage of the same
exact version automatically if KERNEL_SPLIT_MODULES="0" is set.
Otherwise the situation is the same as with the old default with
one subpackage per kernel module where they have to be upgraded
manually.

(From OE-Core rev: 56428d15803733e14d6f1faf5f77eb933ef966f3)

Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-27 11:54:34 +01:00
Zoltán Böszörményi
e6fae346ea Allow opt-out of split kernel modules
For some use cases, a monolithic kernel-modules package containing
all modules built from the kernel sources may be preferred.
For one, download time is shorter and installation time is faster.

Set KERNEL_SPLIT_MODULES="0" for this in. The default is one subpackage
per module.

Also, adapt kernel.bbclass to KERNEL_SPLIT_MODULES != "1" case
Extra RDEPENDS and other inter-package references are needed in
this case.

(From OE-Core rev: 4b13409d82e9d576e32b978f7a42a143127ab894)

Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-27 11:54:33 +01:00
Zoltán Böszörményi
2190abe8bb kernel-module-split.bbclass: Support zstd-compressed modules
(From OE-Core rev: 796d4661a6121dba878c29d2388258c795be3aeb)

Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-27 11:54:33 +01:00
Andrej Valek
95f0ce92b6 busybox: 1.33.1 -> 1.34.0
- update to next stable version 1.34.0
- refresh defconfig
- remove and refresh already merged patches

(From OE-Core rev: d0e694ef4ec7bd862bdefee494210e3878152b44)

Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-27 11:54:33 +01:00
Kai Kang
d270dfde25 libcgroup: fix installed-vs-shipped qa issue
When pam is enabled, it complains installed-vs-shipped QA issue:

| ERROR: libcgroup-2.0-r0 do_package: QA Issue: libcgroup:
         Files/directories were installed but not shipped in any package:
|  /lib/security/pam_cgroup.a

(From OE-Core rev: 21eccd79bdaa93b407da9cf0902d57fd225141ee)

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-27 11:54:33 +01:00
Hongxu Jia
b3d2fde4f3 nativesdk-pseudo: Fix to work with glibc 2.34 systems
Since commit [df313aa810 pseudo: Fix to work with glibc 2.34
systems] applied, it fixed native only. And nativesdk has
the similar issue

Tweak library search order, make prebuilt lib ahead of recipe lib,
after apply the fix:
...
$ readelf -a lib/pseudo/lib64/libpseudo.so | grep 'Shared library'
 0x0000000000000001 (NEEDED)             Shared library: [libdl.so.2]
 0x0000000000000001 (NEEDED)             Shared library:[libpthread.so.0]
 0x0000000000000001 (NEEDED)             Shared library: [libc.so.6]
...

(From OE-Core rev: d6d116b5db78645958ea30be3d0572e0f6d7bd92)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-27 11:54:33 +01:00
Tim Orling
64f0fcb236 python3-pytest: allow python3-pluggy >=1.0.0
Fixes ptest failures in python3-jinja2.

Backport patch from upstream, for now.

Modify upstream patch to use toml and not tomli.
We will add the new recipe for python3-tomli when
we have an upgrade to python3-pytest.

Remove this when we upgrade pytest to a version containing
the commit: fbba504cd5e1a74d528a41a11a7b82297cd7da74

(From OE-Core rev: b4cfb0b0dab6bc7f43bab04cdf4f16c145be0223)

Signed-off-by: Tim Orling <timothy.t.orling@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-27 11:54:33 +01:00
Tim Orling
df27e9928c python3-pluggy: upgrade 0.13.1 -> 1.0.0
* All ptests pass on qemux86-64

pluggy 1.0.0 (2021-08-25)

Deprecations and Removals

    #116: Remove deprecated implprefix support. Decorate hook
	  implementations using an instance of HookimplMarker instead.
The deprecation was announced in release 0.7.0.
    #120: Remove the deprecated proc argument to call_historic. Use
	  result_callback instead, which has the same behavior. The
deprecation was announced in release 0.7.0.
    #265: Remove the _Result.result property. Use _Result.get_result()
	  instead. Note that unlike result, get_result() raises the
exception if the hook raised. The deprecation was announced in release
0.6.0.
    #267: Remove official support for Python 3.4.
    #272: Dropped support for Python 2. Continue to use pluggy 0.13.x
	  for Python 2 support.
    #308: Remove official support for Python 3.5.
    #313: The internal pluggy.callers, pluggy.manager and pluggy.hooks
	  are now explicitly marked private by a _ prefix (e.g.
pluggy._callers). Only API exported by the top-level pluggy module is
considered public.
    #59: Remove legacy __multicall__ recursive hook calling system. The
	 deprecation was announced in release 0.5.0.

Features

    #282: When registering a hookimpl which is declared as
	  hookwrapper=True but whose function is not a generator
function, a PluggyValidationError exception is now raised.

    Previously this problem would cause an error only later, when
calling the hook.

    In the unlikely case that you have a hookwrapper that returns a
generator instead of yielding directly, for example:

    def my_hook_real_implementation(arg):
        print("before")
        yield
        print("after")

    @hookimpl(hookwrapper=True)
    def my_hook(arg):
        return my_hook_implementation(arg)

    change it to use yield from instead:

    @hookimpl(hookwrapper=True)
    def my_hook(arg):
        yield from my_hook_implementation(arg)

    #309: Add official support for Python 3.9.

(From OE-Core rev: 4cb9623933e3daeb754c06263167be61100f6c0a)

Signed-off-by: Tim Orling <timothy.t.orling@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-27 11:54:33 +01:00
Peter Kjellerstedt
881bafcbb9 buildhistory-collect-srcrevs: Adapt to the new variable override syntax
(From OE-Core rev: bcce0e7cef5768d5cfe58c356f6196af8ce03537)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-26 22:09:44 +01:00
Peter Kjellerstedt
f42b404a99 bitbake.conf: Use the new variable override syntax in a comment
It is probably a good idea if the comment that describes how variable
overrides work use the new override syntax...

(From OE-Core rev: 1fd8882db9011a6fe18da7611fba3426fd5cb00d)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-26 22:09:44 +01:00
Richard Purdie
0e6b9a1e5f oeqa/selftest/reproducibile: Exclude rust packages
rust-llvm-liblto and rust-llvm-staticdev sometimes vary in contents. Exclude
them from the test for now until we can work on and resolve the issues.

(From OE-Core rev: 60c12da5aae2534c972df851f26e4523fed03afc)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-26 22:09:44 +01:00
Richard Purdie
b7fc3113a7 rust-common: Add LDFLAGS to cc wrapper
The -cc wrapper can be used for linking and can fail if key flags are missing:

| error: linking with `[path]/tmp/work/x86_64-linux/rust-native/1.54.0-r0/wrapper/target-rust-cc`

Add the flags to fix builds even if that is counter-intuitive (cc would
normally be used for compiling and ccld for linking).

(From OE-Core rev: 62242e83c49b81a9ea65c9a1f5957a7c309d910a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-26 22:09:44 +01:00
Richard Purdie
fe90461e2d rust: Avoid buildtools+uninative issues with glibc symbols mismatches
If we use an external buildtools tarball, that combined with uninative results
in build failures with symbol mismatches. This was tracked down to the prebuilt
rust binaries that are downloaded. The libc/loader used to load them is used to
execute target binaries/libraries and therefore anything with built with a newer
libc would fail.

Add code to use patchelf to change the interpreter to our own uninative one if
present which ensures the newer libc and loader are used, hence avoiding the issue.

(From OE-Core rev: 099c761ffddcc828329d3083cc8f3d24b43e9277)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-26 22:09:44 +01:00
Richard Purdie
c9de49fb80 oeqa/selftest/distrodata: Fix up rust maintainer testing
Since the target rust recipe is skipped but the native variant is not,
this confuses the test. Add rust to the list of special cases to avoid
test failures as the current code can't handle the skip.

(From OE-Core rev: 842cba1820416d79e30e3f1940e2486707fc7cff)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-26 22:09:44 +01:00
Richard Purdie
d6f10a5d65 rust: Skip target recipe since it doesn't work
The target rust recipe is known not to work. Add a SkipRecipe entry for
that so world builds don't include something known to be broken and
hence give users a sensible message if they do try and build it rather
than a build failure.

(From OE-Core rev: 16c77c82ff6635b0180690ea117e2eff8fd63afb)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-26 22:09:44 +01:00
Richard Purdie
a4d2b03d3b rust-llvm: Add missing HOMEPAGE
Add a missing HOMEPAGE entry to the recipe (fixing a selftest failure).

(From OE-Core rev: 71782d90cff825bd9c20d49590245565a6194bf8)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-26 22:09:44 +01:00
Richard Purdie
f37be5cafa rust-native: Avoid stripped warning
Instead of giving the following warning, hide it since we don't plan to change it.

WARNING: rust-native-1.54.0-r0 do_populate_sysroot: File '/media/build1/poky/build/tmp/work/x86_64-linux/rust-native/1.54.0-r0/recipe-sysroot-native/usr/lib/rustlib/x86_64-linux/bin/rust-llvm-dwp' from rust-native was already stripped, this will prevent future debugging!

(From OE-Core rev: ec5f0c77882ccbd5797519f5ded4e528eb687008)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-26 22:09:44 +01:00
Richard Purdie
cfc8d6dd64 cargo: Ensure cargo-cross-canadian doesn't have native/nativesdk versions
native/nativesdk variants of a cross-canadian recipe don't make any
sense so avoid these recipe variants.

(From OE-Core rev: 4ba7fb0b6a5021bca73aade4af390e8e017b491a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-26 22:09:44 +01:00
Richard Purdie
37b2059a7f rust-cross-canadian-common: Use rust.inc directly, not rust-target
We don't want cross-canadian to see the native BBCLASSEXTEND as that
generates a recipe which makes no sense. Avoid this.

(From OE-Core rev: f3648d18c4e05f38053bb1fd73796a6e05d61928)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-26 22:09:44 +01:00
Richard Purdie
857cf2d7b3 rust-cross*: Fix OVERRRIDE references in task signature computation
The oeqa selftest test:
   sstatetests.SStateTests.test_sstate_sametune_samesigs
which checks if the sstate checksums of two identical machines
(using the same tune) are the same, apart from changes within
the machine specific stamps directory, fails on the assertion:
   self.assertCountEqual(files1, files2)
due to the signature of various 32 bit package builds such as:
   x86_64-linux/lib32-rust-cross-i686
   x86_64-linux/rust-cross-i686
   x86-pokymllib32-linux/lib32-libstd-rs
   x86-pokymllib32-linux/lib32-rust
differing. Jumping down the rabbit hole past all the bitbake-diffsig
outputs that differ due to dependent hashes, you come to a  diff of:
   -Variable MACHINEOVERRIDES value is ${@bb.utils.contains('TUNE_FEATURES', 'mx32', 'x86-x32:', '', d)}${@bb.utils.contains('TUNE_FEATURES', 'm32', 'x86:', '', d)}qemuall:${MACHINE}
   +Variable MACHINEOVERRIDES value is ${@bb.utils.contains('TUNE_FEATURES', 'mx32', 'x86-x32:', '', d)}${@bb.utils.contains('TUNE_FEATURES', 'm32', 'x86:', '', d)}qemuall:${MACHINE}:qemux86
in
   stamps/x86_64-linux/rust-cross-i686/1.54.0-r0.do_rust_gen_target.<sig>

This is because there are two rust functions referencing OVERRIDES
related variables (target_is_armv7 and llvm_features_from_tune). These
indirectly influnce the build and should be excluded from the signatures
directly as is done in other toolchain recipes, e.g.:

   39bfa0dd32 recipes/*-cross recipes: ignore TARGET_ARCH sstate hash

(From OE-Core rev: 72d67410e92207a98a801ddf0cb9f1297a752975)

Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-26 22:09:44 +01:00
Randy MacLeod
9632185627 rust: remove Rust version 1.51.0 toolchain
We typically only have one version so remove the older
rust toolchain. This also fixes a maintainers oe-selftest.

(From OE-Core rev: d8ff9672d2686801d535a91fa28a92e38d8f0409)

Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-26 22:09:44 +01:00
Randy MacLeod
83651eda51 cargo_common: remove http_proxy
Fix the test_sstate_noop_samesigs oe-selftest that
produces an error like:

   core2-64-poky-linux/libstd-rs/1.54.0-r0.do_configure.sigdata differs:
   basehash changed from <hash-a> to <hash-b>
   Variable http_proxy value changed from '' to 'http://example.com/'

by simply removing the proxy config option. This may be added back
after merge to oe-core if needed and if the diffsigs check passes.

(From OE-Core rev: 81ad8aceaacda726361e953778294de20eeac24e)

Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-26 22:09:44 +01:00
Vinay Kumar
766f9eca83 rust-common.inc: Fix build failure with qemuppc64.
The glibc build of "rust-hello-world" throws error in libstd-rs package.
   error: unrecognized arch "powerpc64le" in target specification

The same got fixed by changing the arch to "powerpc64".

(From OE-Core rev: 1a28dd447c248f6b7f0efd121160ac798e2abf0c)

Signed-off-by: Vinay Kumar <vinay.m.engg@gmail.com>
Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-26 22:09:44 +01:00
Randy MacLeod
16093ecf50 maintainers: Add myself as maintainer for rust pkgs
I'm willing to do the rust package maintenance but
if anyone else wants to sign up, that would be welcome.

(From OE-Core rev: 531d86cf1e11b034e23d1b682e475c1dde7b1a20)

Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-26 22:09:44 +01:00
Randy MacLeod
284f0b11a5 cargo/rust/rustfmt: exclude from world
cargo, rust, and rustfmt can't be built for the targets yet
so exclude them from world builds.

(From OE-Core rev: 3ade1015b5bbd6aac9dd9974a6a5712958a5f5ed)

Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-26 22:09:43 +01:00
Randy MacLeod
3550bfe387 rust: update the README to conform to being in oe-core
Provide the full link to the meta-rust issue since
the README is no longer part of meta-rust.

(From OE-Core rev: 11cb8e67f356d4758c3aae0e5851a44256459e77)

Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-26 22:09:43 +01:00
Randy MacLeod
e9263ee764 rust: mv README.md to recipes-devtools/rust/README-rust.md
Import the meta-rust/README.md but relocate and rename it.

(From OE-Core rev: a36b43187f9b78c279bdbd0ee9c6f7063a0e7cc7)

Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-26 22:09:43 +01:00
Randy MacLeod
61e1570c6a rust: initial merge of most of meta-rust
In the meta-rust repo at commit:
   448047c Upgrade to 1.54.0 (#359)

Make the required directories:
  mkdir ../oe-core/meta/recipes-devtools/rust
  mkdir ../oe-core/meta/recipes-devtools/cargo
  mkdir ../oe-core/meta/recipes-example
and then:
  cp recipes-devtools/rust/* ../oe-core/meta/recipes-devtools/rust
  cp recipes-devtools/cargo/* ../oe-core/meta/recipes-devtools/cargo
  cp lib/crate.py ../oe-core/meta/lib
  cp recipes-example/* ../oe-core/meta/recipes-example
  cp conf/distro/include/rust_* ../oe-core/meta/conf/distro/include/
  cp classes/* ../oe-core/meta/classes/
  cp recipes-core/packagegroups/packagegroup-rust-cross-canadian.bb ../oe-core/meta/recipes-core/packagegroups

(From OE-Core rev: 3ed57578cca93ff1ba4e0bf3f25566e10659a2f9)

Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-26 22:09:43 +01:00
Peter Kjellerstedt
705b1d757f local.conf.sample: Use the new override syntax for a commented variable
(From meta-yocto rev: 69e1d8c7a95081a243f36fc911ff9be3ce8cae44)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-26 21:16:39 +01:00
Peter Kjellerstedt
3480d0224b poky-floating-revisions.inc: Use new override syntax for commented vars
(From meta-yocto rev: ab8cec2cc136f03747995565c3f5ae923883a55c)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-26 21:16:39 +01:00
Richard Purdie
1092cdfb8d bitbake: README: Fix typo
Thanks Peter for spotting.

(Bitbake rev: 8c7a54ea7fdc721278380895d01868b96b330b90)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-26 15:23:12 +01:00
Alexander Kanavin
29b3fe80ee harfbuzz: upgrade 2.8.2 -> 2.9.0
(From OE-Core rev: 1e99e5cd02c628db4f7058a98fe33670f6f85e96)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-26 08:07:55 +01:00
Alexander Kanavin
16b2d77a57 bind: upgrade 9.16.19 -> 9.16.20
(From OE-Core rev: 58bcdd72ccd21d598008cdbde4a0f27e4d3740cc)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-26 08:07:55 +01:00
Alexander Kanavin
b8c69b9a31 json-glib: upgrade 1.6.2 -> 1.6.4
Upstream has converted from gtk-doc to gi-docgen.

(From OE-Core rev: 7fc1ca1edc9ab6eca7a57588397607b86beb3f07)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-26 08:07:55 +01:00
Alexander Kanavin
62d28cc254 gi-docgen: upgrade 2021.6 -> 2021.7
(From OE-Core rev: 3d1a76f28160a6a56f26e360c010096c763d40dd)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-26 08:07:55 +01:00
Alexander Kanavin
d587428e48 libnsl2: upgrade 1.3.0 -> 2.0.0
(From OE-Core rev: 5420eebf63ed142a3c1897913410beb8bfce9ed9)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-26 08:07:55 +01:00
Alexander Kanavin
fa6573092f vala: upgrade 0.52.4 -> 0.52.5
(From OE-Core rev: 7e33b8ca62122cd04d6c7f28183da7cd2c678775)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-26 08:07:55 +01:00
Alexander Kanavin
63daa467d5 python3-mako: upgrade 1.1.4 -> 1.1.5
(From OE-Core rev: 55e168eb2961dc4c1ae99a3ddee31b36d84c8fa9)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-26 08:07:55 +01:00
Alexander Kanavin
1ddfa92934 ell: upgrade 0.42 -> 0.43
(From OE-Core rev: 40ffd1e0e581868bee90f5c43ea84dfa470eda78)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-26 08:07:55 +01:00
Alexander Kanavin
426bc4fefa openssh: upgrade 8.6p1 -> 8.7p1
(From OE-Core rev: e744b59d6ba40ba1b810d8912ea65778655103bc)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-26 08:07:55 +01:00
Alexander Kanavin
1280c8191c git: upgrade 2.32.0 -> 2.33.0
(From OE-Core rev: 94ea5d103a8941d710814f6e2c579626b54a40eb)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-26 08:07:55 +01:00
Alexander Kanavin
4de67aba89 ccache: upgrade 4.3 -> 4.4
License-Update: formatting
(From OE-Core rev: 1c30f8005a69fcb910d70fa257bdf305c1220696)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-26 08:07:55 +01:00
Alexander Kanavin
ab1d826a70 util-linux: upgrade 2.37.1 -> 2.37.2
(From OE-Core rev: d469dfa08ae52ca720ef1315994050f956b6ea50)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-26 08:07:55 +01:00
Alexander Kanavin
e617435893 glib-2.0: upgrade 2.68.3 -> 2.68.4
Drop merged 0001-correctly-use-3-parameters-for-close_range.patch

(From OE-Core rev: 592335a75dbf28d2e3c5f0c62ad96d38420ae1f9)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-26 08:07:55 +01:00
Alexander Kanavin
3ae0b7c128 gnu-efi: update 3.0.13 -> 3.0.14
Removed non-existent header from licensing.

(From OE-Core rev: 2e768f1dc6fa96cb2155eb0c1f168c4405032948)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-26 08:07:55 +01:00
Alexander Kanavin
bcdaf2486b binutils: drop target flex/bison from build dependencies
This lengthens dependency chains unnecessarily;
also -native versions are already included in DEPENDS via binutils.inc:

DEPENDS = "flex-native bison-native zlib-native gnu-config-native autoconf-native"

I have also checked that nothing in binutils needs anything from target
sysroots of flex/bison:
https://lists.openembedded.org/g/openembedded-core/message/155131

(From OE-Core rev: 8e9d3b5c8c994d307b2cca6a053b29403af9d5ef)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-26 08:07:55 +01:00
Randy MacLeod
e4905f5566 openssl: upgrade from 1.1.1k to 1.1.1l
Includes fixes for:

CVE: CVE-2021-3711
CVE: CVE-2021-3712

as described by:
   https://www.openssl.org/news/secadv/20210824.txt

Ptest results on qemux86-64 with kvm:
   All tests successful.
   Files=158, Tests=2532, 137 wallclock secs \
     ( 2.59 usr  0.33 sys + 104.71 cusr 44.19 csys = 151.82 CPU)
   Result: PASS
   DURATION: 137

(From OE-Core rev: fdb6d8c0604e7170ad0c361d54ce9a19253afe36)

Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-26 08:07:55 +01:00
Peter Kjellerstedt
85a97d3985 lttng-modules: Make it build when CONFIG_TRACEPOINTS is not enabled again
Makefile-Do-not-fail-if-CONFIG_TRACEPOINTS-is-not-en.patch was updated
with the 2.13.0 update (commit 5dad15af), but unfortunately it no
longer did what it was intended to do. There is also
0001-src-Kbuild-change-missing-CONFIG_TRACEPOINTS-to-warn.patch, which
was based on the former patch, but it too does not solve the problem.

Unify the two patches, and actually disable building of the kernel
module if CONFIG_TRACEPOINTS is not enabled, the way it was intended.

(From OE-Core rev: f2411917c09a31d154d29060f6c7e4ce7d544fc7)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-26 08:07:55 +01:00
Paul Gortmaker
ef3ad59d2a ltp: backport ioctl_ns05 fix from upstream
This false positive keeps showing up in our testing but the fix isn't
yet a part of a tagged release, and it is probably too late for doing
an uprev for the fall release anyway.

(From OE-Core rev: f216d7e3e7eb94f53a69e25c805344b04ada60f5)

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-26 08:07:55 +01:00
Trevor Gamblin
120e36e89c bluez: upgrade 5.60 -> 5.61
5.61 includes a fix for CVE-2021-3658 (bluez: adapter incorrectly
restores Discoverable state after powered down), as well as other
fixes.

>From the changelog:

ver 5.61:
   Fix issue with A2DP while waiting for command response.
   Fix issue with A2DP when SetConfiguration fails.
   Fix issue with device removal handling.
   Fix issue with storing discoverable setting.
   Add support for Central Address Resolution characteristic.
   Add support for admin policy plugin.

(From OE-Core rev: 5f87fbf13bd35169a488ca564875974681aafd4f)

Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-26 08:07:55 +01:00
Richard Purdie
4cc61c81f7 pseudo: Fix to work with glibc 2.34 systems
The merge of libdl into libc in glibc 2.34 causes problems for pseudo. Add a fix
that works around this issue.

(From OE-Core rev: dd3e46a043c81cd4d81731a0f691868d3c059742)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-25 21:53:34 +01:00
Alexander Kanavin
c3e72164e7 libjitterentropy: remove contaminated hashequiv entry
This was caused by intermittent reproducibility problems.

(From OE-Core rev: dd7c61ecd79f1439ae20d66cda32c2beb5daf0de)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-24 09:37:22 +01:00
Alexander Kanavin
47d982e36f mc: fix reproducibility
It is probing into what options the /usr/bin/file executable does
and does not support and bakes that into target binaries, so we
need to use a deterministic one we build ourselves.

(From OE-Core rev: 91bb0c4180b0e788b4483f836478b7de948029a0)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-24 09:37:21 +01:00
Ross Burton
cae167c5ba local.conf.sample.extended: fix commented-out override syntax
(From meta-yocto rev: af596adf3eb5275656cda94b2ad41ca2deef3eab)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-23 13:14:02 +01:00
Scott Murray
3874ce6ee5 prservice: remove connection caching
This patch is a follow on of the the PR server rework in bitbake to add
read-only support.  The shift to using the bb.asyncrpc code in the PR
server and client brings issues with respect to reuse of the same
asyncio loop in different processes.  This patch removes the PR service
connection caching to avoid one source of this problem.  It is believed
that in practice this should have little impact on overall performance.

(From OE-Core rev: 0fc3055027e2a76ac863f1c0e0d52e95748066aa)

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-23 08:30:55 +01:00
Richard Purdie
9d88d1d095 bitbake: README: Add note about test suite and new tests
Document that bitbake-selftest exists and that we appreciate test cases.

(Bitbake rev: 52896ca1fabd22cce01b75cc6fe3412b1ec09b5b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-23 08:30:55 +01:00
Paul Barker
295b75cf1c bitbake: prserv: Add read-only mode
[YOCTO #13659]

(Bitbake rev: 44287430b9804fcbf2440f85a2424792140e4dc9)

Signed-off-by: Paul Barker <pbarker@konsulko.com>
[updated for asyncrpc changes]
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-23 08:30:55 +01:00
Paul Barker
fb3b05fe8d bitbake: prserv: Replace XML RPC with modern asyncrpc implementation
Update the prserv client and server classes to use the modern json and
asyncio based RPC system implemented by the asyncrpc module.

(Bitbake rev: 6a2b23e27bb61185b8afb382e20ce79f996d9183)

Signed-off-by: Paul Barker <pbarker@konsulko.com>
[updated for asyncrpc changes, client split to separate file]
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-23 08:30:54 +01:00
Scott Murray
4df610473f bitbake: bitbake: asyncrpc: always create new asyncio loops
asyncio in older Python 3.x (seen with 3.7) can seemingly hang if
new_event_loop is called repeatedly in the same process.  The
reuse of processes in the Bitbake thread pool during parsing seems
to be able to trigger this with the PR server export selftest.
It appears that calling set_event_loop with the new loop avoids the
issue, so that is now done in the asyncrpc Client initializer (with
an explanatory comment).  This should be revisited when the day
arrives that Python 3.9 becomes the minimum required for BitBake.

Additionally, it was discovered that using get_event_loop in the
asyncrpc server initialization can trigger hangs in the hashserv
unittests when the second test is run.  To avoid this, switch to
calling new_event_loop + set_event_loop in the initialization code
there as well.

(Bitbake rev: bb9a36563505652294b20b4c88199b24fa208342)

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-23 08:30:54 +01:00
Joshua Watt
fdc908f321 bitbake: bitbake: asyncrpc: Defer all asyncio to child process
Reworks the async I/O API so that the async loop is only created in the
child process. This requires deferring the creation of the server until
the child process and a queue to transfer the bound address back to the
parent process

(Bitbake rev: 8555869cde39f9e9a9ced5a3e5788209640f6d50)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
[small loop -> self.loop fix in serv.py]
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-23 08:30:54 +01:00
Enrico Scholz
e8182a794d bitbake: fetch2/wget: fix 'no_proxy' handling
The urllib.request.ProxyHandler constructor only reads the $http_proxy
+ $https_proxy environment variables.

$no_proxy is evaluated later when the url is opened.

It is therefore not sufficient to just construct the proxy handler in
the

|        with bb.utils.environment(**newenv):

context, but the 'opener.open(r)' call must also be made there.

(Bitbake rev: 076baf4fbd328d247508fd399866a397eb34f67e)

Signed-off-by: Enrico Scholz <enrico.scholz@sigma-chemnitz.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-23 08:30:54 +01:00
Marco Felsch
f113446f41 bitbake: bitbake: bitbake-layers: add skip reason to output
Currently we inform the user that some package/layer is skipped but we
don't print the reason albeit bitbake knows the reason. So currently it
looks like:

gtk+:
  meta-oe              2.24.32 (skipped)

With this change the output prints the skip reason which is very helpful
for debugging:

gtk+:
  meta-oe              2.24.32 (skipped: one of 'x11 directfb' needs to be in DISTRO_FEATURES)

(Bitbake rev: d43e72db4f7c8b47d91d99ed54ce30e9ee898de1)

Signed-off-by: Marco Felsch <m.felsch@pengutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-23 08:30:54 +01:00
Alexander Kanavin
46a8566183 qemu: add a hint on how to enable CPU render nodes when a suitable GPU is absent
This is particularly useful for llvm-accelerated GL rendering from qemu guest to
an offscreen buffer (accessible over vnc or spice) using llvmpipe on the
host, rather than using unaccelerated swrast renderer in the guest.

This is the best that can be done in the absence of a host GPU with render node
support (such as old Matrox cards common in servers, or fully virtualized cloud
environments with no GPU at all).

Note: even though NVidia blob drivers do support render nodes, they do not
support gbm (yet?), and so rendering will fall back to llvmpipe as well even when
the system has a 3000 euro NVidia GPU. Cue Linus picture.

(From OE-Core rev: 9b1daa173481f7f560e00e0dc22b4010ff1dc0ec)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-23 08:25:53 +01:00
Alexander Kanavin
6f4afe940c kea: backport a patch to fix build errors exposed by latest update batch
(From OE-Core rev: 043e32278e91843277143777b27a498fa27f0a8f)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-23 08:25:53 +01:00
Alexander Kanavin
70cf1cf5e5 rng-tools: upgrade 6.13 -> 6.14
(From OE-Core rev: 28b3d8c01966d16f8ab8d61beaf9527f987f1ec6)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-23 08:25:53 +01:00
Alexander Kanavin
fd6760fb5f re2c: upgrade 2.1.1 -> 2.2
(From OE-Core rev: de48dcc93f83af37ea2c0d07a53e9cbb10279dca)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-23 08:25:53 +01:00
Alexander Kanavin
3ca3a89957 enchant2: upgrade 2.3.0 -> 2.3.1
(From OE-Core rev: c712c0d57f432eadea4e903d7712155b748a5e56)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-23 08:25:53 +01:00
Alexander Kanavin
f2f0c68aab diffoscope: upgrade 179 -> 181
(From OE-Core rev: 8052c4a0f39846b4565de0a2ba466e15e39f656b)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-23 08:25:53 +01:00
Alexander Kanavin
20cb0b322d boost: upgrade 1.76.0 -> 1.77.0
(From OE-Core rev: ef0531a6ac74bb45ed4bfd4a2d870bedecca02cb)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-23 08:25:53 +01:00
Alexander Kanavin
5dadf29a7d webkitgtk: upgrade 2.32.2 -> 2.32.3
(From OE-Core rev: ea785ab3aabf04acb13ed0162b4807aed0562510)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-23 08:25:53 +01:00
Alexander Kanavin
218748fcae libwebp: upgrade 1.2.0 -> 1.2.1
(From OE-Core rev: fc6b6f8870bd672616a74dc58b8c19a5d4751e18)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-23 08:25:53 +01:00
Alexander Kanavin
25e0338c65 wireless-regdb: upgrade 2021.04.21 -> 2021.07.14
(From OE-Core rev: 7f4d11e8da6bb79232535c42ad41798a56162ac7)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-23 08:25:53 +01:00
Alexander Kanavin
6496a1b4b8 linux-firmware: upgrade 20210511 -> 20210818
License-Update: new firmware files, copyright years, file names
(From OE-Core rev: bfceaba4f38771047dfdfdfdbf16b794006dfd78)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-23 08:25:53 +01:00
Alexander Kanavin
1a949f5685 xserver-xorg: upgrade 1.20.12 -> 1.20.13
(From OE-Core rev: 5ccfd621415aa4e5a3db55fab0480ba29f35eb29)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-23 08:25:53 +01:00
Alexander Kanavin
e792577952 libxft: upgrade 2.3.3 -> 2.3.4
(From OE-Core rev: 1e75e8111e33799169b7a137ef7a9a0902c9b690)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-23 08:25:53 +01:00
Alexander Kanavin
4c99067075 libxfont2: upgrade 2.0.4 -> 2.0.5
(From OE-Core rev: 169fad9174370829a6a06468313675de3b43cac6)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-23 08:25:53 +01:00
Alexander Kanavin
009b7b1d04 libinput: upgrade 1.18.0 -> 1.18.1
(From OE-Core rev: 4451a250741fc5bb916322e8b86e514b1d5aed50)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-23 08:25:53 +01:00
Alexander Kanavin
10e15f62c1 mesa: upgrade 21.1.5 -> 21.2.1
(From OE-Core rev: 0d0a0902fe8db8a87c16be3b722e3b8d5f193785)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-23 08:25:53 +01:00
Alexander Kanavin
fbc6717a2e pango: upgrade 1.48.7 -> 1.48.9
(From OE-Core rev: 882a4ed75e08cf704fdd4c4f19579b6300c4411d)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-23 08:25:53 +01:00
Alexander Kanavin
ea30278e8c libepoxy: upgrade 1.5.8 -> 1.5.9
(From OE-Core rev: 0fe7c97913ee894f8a33b231a87264e8beb3d8ca)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-23 08:25:53 +01:00
Alexander Kanavin
15d0e8f74d libjpeg-turbo: upgrade 2.1.0 -> 2.1.1
(From OE-Core rev: e5bb435e1604930a96fcd6262148b4096f24505b)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-23 08:25:53 +01:00
Alexander Kanavin
38a995d4b5 libgudev: upgrade 236 -> 237
(From OE-Core rev: 9f406325451a20d8f10bf84e9d7c9818926d09f7)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-23 08:25:53 +01:00
Alexander Kanavin
7544dd782e epiphany: upgrade 40.2 -> 40.3
(From OE-Core rev: 76314ddbe17e464e9c5eed30f65f0b82d7c39bd8)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-23 08:25:53 +01:00
Alexander Kanavin
1000ed57ac sudo: upgrade 1.9.7p1 -> 1.9.7p2
(From OE-Core rev: 8c232544108a0dcd0e8807187a3e80873747a9ec)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-23 08:25:53 +01:00
Alexander Kanavin
bd3923ed34 stress-ng: upgrade 0.12.12 -> 0.13.00
(From OE-Core rev: 41bdb75052a04a33809e24ad94f2e940e80e5a1b)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-23 08:25:53 +01:00
Alexander Kanavin
a4f35b41da libidn2: upgrade 2.3.1 -> 2.3.2
(From OE-Core rev: c871697f3cad35be7c3e6703cfa335c1cf399f18)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-23 08:25:53 +01:00
Alexander Kanavin
72f645442d acpica: upgrade 20210331 -> 20210730
(From OE-Core rev: 0acc4da4847ac964d55e5024c8a3817dfe2d0938)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-23 08:25:53 +01:00
Alexander Kanavin
f4995a0b05 squashfs-tools: upgrade 4.4 -> 4.5
(From OE-Core rev: 142ad53513cae2b9b5bf16524e29b97477bb3dd0)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-23 08:25:53 +01:00
Alexander Kanavin
01543b2d87 python3-setuptools: upgrade 57.1.0 -> 57.4.0
(From OE-Core rev: 406504d81c77c211bf44210696392fc00c8dc559)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-23 08:25:53 +01:00
Alexander Kanavin
ede97d6f88 python3-pygments: upgrade 2.9.0 -> 2.10.0
(From OE-Core rev: e1eb444524d53f160491809da79791888e186255)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-23 08:25:52 +01:00
Alexander Kanavin
d3c6f3b968 python3-pip: upgrade 21.2.1 -> 21.2.4
(From OE-Core rev: 80ff47cc2f19996b4109f0a2396e61fdcfede5cf)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-23 08:25:52 +01:00
Alexander Kanavin
381645b0b5 python3-git: upgrade 3.1.18 -> 3.1.20
(From OE-Core rev: 4c0840f9d8c576ce39e46069f50ad0c2454bd1e5)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-23 08:25:52 +01:00
Alexander Kanavin
abd8516453 pkgconf: upgrade 1.7.4 -> 1.8.0
(From OE-Core rev: 82d1b8b9d1277a6b938ab07f6b0f8f59df5ce65e)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-23 08:25:52 +01:00
Alexander Kanavin
253fca8246 patchelf: upgrade 0.12 -> 0.13
(From OE-Core rev: 9fdfa49ac11eff7215fab8540114535b2c652b83)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-23 08:25:52 +01:00
Alexander Kanavin
9a262e9038 mtools: upgrade 4.0.34 -> 4.0.35
(From OE-Core rev: aab57ed58b28309a34735ec1fb5a4192a03acea3)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-23 08:25:52 +01:00
Alexander Kanavin
3933970adf log4cplus: upgrade 2.0.6 -> 2.0.7
(From OE-Core rev: 954693821b7d4971c349660db0cf4a10b0c05e46)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-23 08:25:52 +01:00
Alexander Kanavin
76e68623a9 libedit: upgrade 20210522-3.1 -> 20210714-3.1
(From OE-Core rev: 5b484d12739277049b32008dd4704db7bb025fe2)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-23 08:25:52 +01:00
Alexander Kanavin
8e56ec9b44 help2man: upgrade 1.48.3 -> 1.48.4
(From OE-Core rev: bafe7ecec683b469ba5f88be0b1b6275d5d58a26)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-23 08:25:52 +01:00
Alexander Kanavin
c3917366f5 e2fsprogs: upgrade 1.46.2 -> 1.46.4
Drop big-inodes-for-small-fs.patch: upstream made the same fix.

Drop 0001-lib-ext2fs-unix_io.c-do-unlock-on-error.patch
0001-lib-ext2fs-unix_io.c-revert-parts-of-libext2fs-fix-p.patch
(upstream has fixed the issue).

Add 0001-lib-ext2fs-unix_io.c-revert-parts-of-libext2fs-fix-p.patch
to correct a ptest failure due to incorrectly expected inode size
(recent change that wasn't run against the tests upstream?).

(From OE-Core rev: a4fc0af1050e5e0cc3d241279b92ea8c75aeeb8e)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-23 08:25:52 +01:00
Alexander Kanavin
e7d29a28e7 glib-networking: upgrade 2.68.1 -> 2.68.2
(From OE-Core rev: f739ec70b16dab76eecab53a1cb4b8db2cec6d38)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-23 08:25:52 +01:00
Alexander Kanavin
81f17b7531 mobile-broadband-provider-info: upgrade 20201225 -> 20210805
(From OE-Core rev: 93a335993ce592a8ee34fc9a490e327f2775e03f)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-23 08:25:52 +01:00
Alexander Kanavin
9f042ac49e inetutils: upgrade 2.0 -> 2.1
(From OE-Core rev: fc286bbf76eda315ecb9e51c5452d2163470e579)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-23 08:25:52 +01:00
Alexander Kanavin
986f902eb9 usbutils: upgrade 013 -> 014
License-Update: SPDX ids corrected, license are same.
(From OE-Core rev: e433203b4c35eb5a9cf76349f9cd3e18f4b633dd)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-23 08:25:52 +01:00
Alexander Kanavin
2eb889523f libjitterentropy: update 3.0.2 -> 3.1.0
License-Update: formatting, files renamed.
(From OE-Core rev: ea06a05bf00ffc004184faa93a41deee84105f8a)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-23 08:25:52 +01:00
Alexander Kanavin
235a906b67 pulseaudio: update 14.2 -> 15.0
Drop backports.

(From OE-Core rev: 29bf058368e4a6336b74d9aa6880d3176cadb913)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-23 08:25:52 +01:00
Alexander Kanavin
e524aca196 vulkan-samples: update to latest revision
(From OE-Core rev: 6740c138a34598ab3141031194f47f2c7504306c)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-23 08:25:52 +01:00
Alexander Kanavin
7d56edec61 libsdl2: update 2.0.14 -> 2.0.16
License-Update: formatting
(From OE-Core rev: a120618320292e3e8b8df416617c12d3151e27da)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-23 08:25:52 +01:00
Alexander Kanavin
b6d0ca2a5a mc: update 4.8.26 - > 4.8.27
(From OE-Core rev: edcbd5eb311ad7b718e730048231c0c89c3397f4)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-23 08:25:52 +01:00
Alexander Kanavin
7b69036180 diffutils: update 3.7 -> 3.8
Drop patch as issue fixed upstream.

(From OE-Core rev: 51ce88191ff3161935b23a4df9805338e4553c5b)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-23 08:25:52 +01:00
Alexander Kanavin
3570e4040c btrfs-tools: update 5.13 -> 5.13.1
Drop patch as issue fixed upstream.

(From OE-Core rev: f5ff6ae84dbb11a4f3cfff463b7bc5b0a8046048)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-23 08:25:52 +01:00
Alexander Kanavin
b3d1265f36 xeyes: upgrade 1.1.2 -> 1.2.0
libxi is a new requirement.

(From OE-Core rev: fbd4ba957f23970f7b42bdfa01939a3865a5dba4)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-23 08:25:52 +01:00
Alexander Kanavin
1e9e5d6c31 systemd: upgrade 249.1 -> 249.3
The patch changes are all git rearranging chunks on rebase; there are no functional changes.

(From OE-Core rev: 88cfba0762fe3bb6f593901f9a673b373534b756)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-23 08:25:52 +01:00
Alexander Kanavin
800f86a32f python3-numpy: upgrade 1.21.0 -> 1.21.2
(From OE-Core rev: c96af3d9af52d65c36bb058b4499603ed4a2c003)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-23 08:25:52 +01:00
Alexander Kanavin
c443d4e665 python3-cython: upgrade 0.29.23 -> 0.29.24
(From OE-Core rev: 8ae1c8e5b3ca9f05df9bfe49961347f118203c0f)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-23 08:25:52 +01:00
Alexander Kanavin
d3e0f0c9bf libxcrypt: upgrade 4.4.23 -> 4.4.25
(From OE-Core rev: 2e3dcec1319a847715d4c1dc72e1eb760725e8aa)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-23 08:25:52 +01:00
Alexander Kanavin
3755f6c4eb lighttpd: convert from autotools to meson
virtual/crypt is a hard dependency in meson builds.

ipv6 support is determined automatically.

The rest of the options are converted where available;
not every autoconf option exists in meson.

Modules are now packaged in /usr/lib/lighttpd, so adjust packaging accordingly.

(From OE-Core rev: a0a34524016050a78cb49d6657fcca5a2261d7fe)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-23 08:25:52 +01:00
Alexander Kanavin
79b7ce12c1 tcf-agent: fetching over git:// no longer works
(From OE-Core rev: 44a6cd03721b51cbb4e05870375fa347527b0db5)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-23 08:25:52 +01:00
Kevin Hao
183dbb1b0f meta-yocto-bsp: Bump the kernel to v5.13.11
Build and boot test for all the boards.

(From meta-yocto rev: fd3d296cffd02f207fc83801401cb1ca3d7d8fdd)

Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-22 22:21:59 +01:00
Kevin Hao
49c706ebde meta-yocto-bsp: Set the default kernel to v5.13
Build and boot test for all the boards.

(From meta-yocto rev: b296bf6b0cadcff7c9000a3f4a3ca162785b9a33)

Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-22 22:21:59 +01:00
leimaohui
ead5293553 wordsize.h: Fix a miss, this file in arm and aarch64 should be the same.
(From OE-Core rev: f33395253bec55578b02495a098d2558cc58258d)

Signed-off-by: Lei Maohui <leimaohui@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-22 22:21:47 +01:00
leimaohui
c40ce02534 Fix conflict error when enable multilib.
file /usr/include/bits/pthread_stack_min.h conflicts between attempted installs of libc6-dev-2.34-r0.aarch64 and lib32-libc6-dev-2.34-r0.armv7ahf_neon

(From OE-Core rev: 40d131ff65d36022ca604d1153c5948eb888a2e3)

Signed-off-by: Lei Maohui <leimaohui@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-22 22:21:47 +01:00
Tim Orling
47b361bf91 python3-hypothesis: enable ptest
The upstream "fast" tests (tests/cover and tests/pytest) take over
5 minutes to run and do not run cleanly. They also add dependency
on python3-pexpect and python3-ptyprocess (currently in meta-python).

The tests are also not included in the pypi tarball, so it would
require use of git fetcher and other invasive changes to the recipe,
including dropping the pypi inherit.

Instead, use two test suites from examples/

References:
https://github.com/HypothesisWorks/hypothesis/tree/master/hypothesis-python/tests
https://github.com/HypothesisWorks/hypothesis/tree/master/hypothesis-python/examples

(From OE-Core rev: 1c7f6f444fdcb859a37d3b51a8d47260834d01db)

Signed-off-by: Tim Orling <timothy.t.orling@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-22 22:21:47 +01:00
Tim Orling
34f595c6b4 python3-hypothesis: upgrade 6.14.8 -> 6.15.0
6.15.0 - 2021-08-22

This release emits a more useful error message when @given() is applied to
a coroutine function, i.e. one defined using async def (issue #3054).

This was previously only handled by the generic return_value health check,
which doesn’t direct you to use either a custom executor or a library such
as pytest-trio or pytest-asyncio to handle it for you.

6.14.9 - 2021-08-20

This patch fixes a regression in Hypothesis 6.14.8, where from_type() failed
to resolve types which inherit from multiple parametrised generic types,
affecting the returns package (issue #3060).

References:
https://github.com/HypothesisWorks/hypothesis/issues/3054
https://github.com/HypothesisWorks/hypothesis/issues/3060

(From OE-Core rev: ca0039a6e5524ab1e74df285ce16460dc980da65)

Signed-off-by: Tim Orling <timothy.t.orling@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-22 22:21:47 +01:00
Khem Raj
15eeb6d960 weston: Re-order gbm destruction at DRM-backend tear down
Fixes an annoying segfault seen on rpi4 when launching weston during
boot especially using systemd service or sysvinit script, if weston is
launched manually on VT, it works fine. This backport specifically
addresses the issue described above.

For more details see [1]

[1] https://gitlab.freedesktop.org/wayland/weston/-/issues/314

(From OE-Core rev: 74e0249af85782af436791d1339ce864536d2022)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-22 22:21:47 +01:00
Jon Mason
da768360dd arch-arm*: Fix bugs with dsp and simd feature include files
Fix bugs found with a duplicate inclusion of feature-arm-simd.inc and
dsp not being defined in feature-arm-dsp.inc

Found by compiling with DEFAULTTUNE set to 'armv8r' and 'cortexm33'
respectively.

(From OE-Core rev: eb49c1847bb063fa5707843e0c2632023b341fcf)

Signed-off-by: Jon Mason <jdmason@kudzu.us>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-22 22:21:47 +01:00
Hsia-Jun Li
fffaf55d03 lib/oe/elf: Add Android OS to machine_dict
Add entries for Android to the mappings.

(From OE-Core rev: 2cec34178d6e5864c5d6280532a77cfb9cb255ea)

Signed-off-by: Hsia-Jun Li <randy.li@synaptics.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-22 22:21:47 +01:00
Oleksandr Popovych
a0268e0d4f utils: Reduce the number of calls to the "dirname" command
utils.bbclass contains create_cmdline_wrapper() function that
creates wrapper script with additional arguments for any passed
"$cmd" command, and uses several calls to "dirname".

Because "dirname" is an external command, in cases of lots of
calls to wrapped "$cmd", each call of "dirname" will incur
significant overhead.

There are three same calls to "dirname": one for saving it`s
output to "realdir" variable, and other two in "exec" command.
So last two "dirname" calls can be replaced with cached value
from "realdir" variable.

(From OE-Core rev: 4b9cf2c80fd14386e0b88a2e6c40a9fa3f1ae0f7)

Signed-off-by: Oleksandr Popovych <opopovyc@cisco.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-22 22:21:47 +01:00
Marta Rybczynska
8900a8b337 lzo: add CVE_PRODUCT
lzo was missing CVE_PRODUCT and related CVEs (at least CVE-2014-4607) were
not reported.

(From OE-Core rev: 366cf8201e36df1ac836e49de04ccda1f763ca9e)

Signed-off-by: Marta Rybczynska <marta.rybczynska@huawei.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-22 22:21:46 +01:00
Purushottam Choudhary
a842f8f831 assimp: added patch to fix hardcoded non-existing paths in CMake modules
assimp CMake modules were adding non-existing paths to its CMake modules
breaking builds for users of assimp. Remove the hardcoded paths with
an upstream patch with small tweaks.

(From OE-Core rev: 0dd86e64af7141c51666773265039fd98e2af31b)

Signed-off-by: Purushottam Choudhary <purushottamchoudhary29@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-22 22:21:46 +01:00
Chen Qi
0d8f2ed39e package_rpm/update-alternatives: fix package's provides
Currently we have:
  $ rpm -qp --provides tmp/deploy/rpm/core2_64/bash-5.1.8-r0.core2_64.rpm
  bash = 5.1.8-r0

This is incorrect as bash provides /bin/bash and /bin/sh. This is caused by
incomplete conversion of new override syntax, which breaks the per-file
parsing of package_rpm.

With this patch, we have:
  $ rpm -qp --provides tmp/deploy/rpm/core2_64/bash-5.1.8-r0.core2_64.rpm
  /bin/bash
  /bin/sh
  bash = 5.1.8-r0

(From OE-Core rev: f186d32ff8bf176ad0bd8d49e47cdb017c701a46)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-22 22:21:46 +01:00
Ross Burton
ce15691ee9 gcc: also relocate the musl loader
Alongside GLIBC and UCLIBC, also relocate the musl loader.

(From OE-Core rev: 24c4e01892df1510e5ba64b89a0060f62f2384e6)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-22 22:21:46 +01:00
Richard Purdie
13bfab12cc gcc: Fix nativesdk builds and multilib fixes with gcc 11
In newer gcc versions the headers changed locations and our multiconfig
and nativesdk tweaks to loader paths wasn't working. The broke
buildtools-extended-tarball, particularly on arm. Update to fix this.

Ultimately we should dump the gcc specs and check for hardcoded paths.
This isn't possible quite yet as this patch doesn't fix the musl ones
as we don't use that in mutlilib or nativesdk scenarios at present.

(From OE-Core rev: 4ed6505a18ac76c0aa148deabb143214ac0c4552)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-22 22:21:46 +01:00
Richard Purdie
3fd2dff4eb ref-manual: Fix reference to bbappend section of dev-manual
(From yocto-docs rev: 015914cdbe3f58a39ec64ee6a4181d3d29741205)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-20 08:53:03 +01:00
Richard Purdie
f036aeac2a bsp-guide: Fix reference to bbappend section of dev-manual
This was broken in a previous commit which broke doc generation.

(From yocto-docs rev: 8fc45b2e7e2cd1a18d65014f88d83631cc67c2fb)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-20 08:53:03 +01:00
Tim Orling
fdfd6c0f90 python3-hypothesis: upgrade 6.14.5 -> 6.14.8
6.14.8 - 2021-08-16
This patch ensures that registering a strategy for a subclass of a
parametrised generic type such as class Lines(Sequence[str]): will not
“leak” into unrelated strategies such as st.from_type(Sequence[int])
(issue #2951). Unfortunately this fix requires PEP 560, meaning Python
3.7 or later.

6.14.7 - 2021-08-14
This patch fixes issue #3050, where attrs classes could cause an internal
error in the ghostwriter.

6.14.6 - 2021-08-07
This patch improves the error message for issue #3016, where PEP 585 builtin
generics with self-referential forward-reference strings cannot be resolved
to a strategy by from_type().

References:
https://github.com/HypothesisWorks/hypothesis/issues/2951
https://www.python.org/dev/peps/pep-0560
https://github.com/HypothesisWorks/hypothesis/issues/3050
https://www.python.org/dev/peps/pep-0585

(From OE-Core rev: 1f2276c6d0312854caacebe1c83dee57474f1bb2)

Signed-off-by: Tim Orling <timothy.t.orling@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-20 08:53:03 +01:00
Tim Orling
341c0a7303 python3-importlib-metadata: upgrade 4.6.3 -> 4.6.4
v4.6.4
  Issue 334: Correct SimplePath protocol to match pathlib protocol
  for __truediv__.

References:
https://github.com/python/importlib_metadata/issues/334

(From OE-Core rev: 9c7768d26a006445ed703e961184be3b8add68c6)

Signed-off-by: Tim Orling <timothy.t.orling@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-20 08:53:03 +01:00
Jon Mason
8d77024c71 tune-cortexr*: add support for all Arm Cortex-R processors
Add tune entries for all Arm Cortex-R processors currently supported in
GCC.  Also, add the simd feature, which can be used in ARMv7a and
ARMv8a, but currently isn't.

(From OE-Core rev: 67e582379afa9bff8d585b4c7f1bc65a76d088fb)

Signed-off-by: Jon Mason <jdmason@kudzu.us>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-20 08:53:03 +01:00
Jon Mason
ff0ea5633a arch-arm*: add better support for gcc march extensions
GCC has the ability to pass extensions to the march parameter, which
expand the funcationality of the march.  For example
"-march=armv7ve+simd" adds SIMD to ARMv7.  Currently, there is no way to
expand the march setting without modifying each instance, as you can't
guarantee the ordering when using the existing TUNE_CCARGS.  By
introducing two new variables, TUNE_CCARGS_MARCH and
TUNE_CCARGS_MARCH_OPT, we can enforce that these two go together.

Also, expand existing and create new feature files that use these
variables to expand the functionality.

(From OE-Core rev: 794eb617bfd1997e7a3498812c63a20c58a10554)

Signed-off-by: Jon Mason <jdmason@kudzu.us>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-20 08:53:03 +01:00
Oliver Kranz
a3c1be72af Allow global override of golang GO_DYNLINK
Small golang applications create massive memory overhead if go-runtime
is deployed. So it is helpfull to be able to disable the GO_DYNLINK
option on a per distro/local.conf basis by making it a ?= instead of =.

(From OE-Core rev: 2a7f5843c4ad2a3bd44bf9c262aacab2931b5677)

Signed-off-by: Oliver Kranz <o.kranz.88@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-20 08:53:03 +01:00
Ross Burton
b001ac2f30 libcgroup: upgrade to 2.0
Our UPSTREAM_CHECK_URI was looking at SourceForge, but development has
moved to GitHub so update the URI.

Update to 2.0.

Swap musl-decls-compat.patch for a backport of an upstream commit.

Replace do_install commands with a backport of an upstream commit to
install the PAM module correctly.

Don't mess about installing the library into base_libdir as the /lib vs
/usr/lib prefix split is moot these days.

Delete libcgroupfortesting.so as we don't install the test suite.

(From OE-Core rev: 466c1c674e3da1fdbe1eae1cd90637d79a1500f5)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-20 08:53:03 +01:00
Yi Zhao
90cf58dc7d shadow: add /etc/default/useradd
The shadow 4.9 stops shiping /etc/default/useradd[1] and uses built-in
settings by default. Some settings are not consistent with previous
shadow 4.8.1 in oe-core. e.g. The default shell is /bin/bash rather than
/bin/sh. Per shadow 4.8.1 settings, add /etc/default/useradd back.

[1] bbf4b79bc4

(From OE-Core rev: 736d0b29c6246658a925ea9036ccfe6216d12837)

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-20 08:53:03 +01:00
Jose Quaresma
c5db14b395 sstate.bbclass: get the number of threads from BB_NUMBER_THREADS
- bitbake BB_NUMBER_THREADS uses cpu_count from oe utils that uses
the python os.sched_getaffinity and it is more acurrate.

 grep -nH ^BB_NUMBER_THREADS meta/conf/bitbake.conf
 meta/conf/bitbake.conf:806:BB_NUMBER_THREADS ?= "${@oe.utils.cpu_count()}"

- multiprocessing.cpu_count() returns the number of CPUs on the host,
not the number of usable CPUs on the host. If the user is using
scheduler affinity then the number of usable CPUs may be less,
so when determining how many cores we can use check the affinity instead.

(From OE-Core rev: 45c52f08a289c6eb2329de50634a0406204d1d8e)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-20 08:53:03 +01:00
Daniel Gomez
9986923d05 oeqa: wic: Add tests for --no-fstab-update
Add tests for the --no-fstab-update wic part command.

(From OE-Core rev: 90141d41a370ff377d95fb3dd144b63a85e22f8e)

Signed-off-by: Daniel Gomez <daniel@qtec.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-20 08:53:03 +01:00
Daniel Gomez
6fdbc5144f wic: Add --no-fstab-update part option
When embedding a rootfs image (e.g. 'rootfs-dir') as a partition we
might want to keep the stock fstab for that image. In such a case, use
this option to not update the fstab and use the stock one instead.

This option allows you to specify which partitions get the fstab
updated and which get the stock fstab.

The option matches the argument you can pass to wic itself where the
same action is performed but for all the partitions.

Example:
    part /export --source rootfs --rootfs-dir=hockeycam-image
--fstype=ext4 --label export --align 1024 --no-fstab-update

    part / --source rootfs --fstype=ext4 --label rootfs --align 1024

(From OE-Core rev: ab4c95af8ecd15dc136194ab761afae756db5803)

Signed-off-by: Daniel Gomez <daniel@qtec.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-20 08:53:03 +01:00
Vinay Kumar
901b82a4c8 glibc: Fix CVE-2021-38604
Source: https://sourceware.org/git/glibc.git
Tracking -- https://sourceware.org/bugzilla/show_bug.cgi?id=28213

Backported upstream commits b805aebd42364fe696e417808a700fdb9800c9e8 and 4cc79c217744743077bf7a0ec5e0a4318f1e6641
to glibc-2.34 source.

Upstream-Status: Backport [https://sourceware.org/git/?p=glibc.git;a=commit;h=b805aebd42364fe696e417808a700fdb9800c9e8]
Upstream-Status: Backport [https://sourceware.org/git/?p=glibc.git;a=commit;h=4cc79c217744743077bf7a0ec5e0a4318f1e6641]

(From OE-Core rev: 014c6b0a1188d5dfb32790246491973ea91017d8)

Signed-off-by: Vinay Kumar <vinay.m.engg@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-20 08:53:03 +01:00
Richard Purdie
ec1894938b elfutils: Fix ptest dependencies
The elfutils ptests require debug symbols for the libc to be available, else
we see failures such as those on the autobuilder for the fast ptest image
on arm (the dbg symbols are pulled in by other recipes in other images).

Also fix various test skips/error messages due to missing gcc/ld and
development headers.

(From OE-Core rev: 41ecc76c7fab8f9805d3271255bcd027d87298bb)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-20 08:53:03 +01:00
Jon Mason
319a4bb1d0 docs: update docs with new tune locations
(From yocto-docs rev: ce6d3dbaea9d6250567d23e7d95ce9cbd3a03c99)

Signed-off-by: Jon Mason <jdmason@kudzu.us>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-18 17:01:58 +01:00
Jon Mason
476f558b75 yocto-bsp: update machine confs with new tune locations
(From meta-yocto rev: c909922cc70bbf1420a51e035625d06537334b47)

Signed-off-by: Jon Mason <jdmason@kudzu.us>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-18 17:01:26 +01:00
Bruce Ashfield
f3e7063e6a poky-alt: switch default kernel to 5.10
5.4 has been dropped from oe-core release/development, so we switch
the alt-config to use 5.10.

(From meta-yocto rev: 979b52c5f1d649791bfe312d79585a4cd346ce26)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-18 17:01:26 +01:00
Bruce Ashfield
a2d643f3a0 yocto-bsp: drop 5.4 bbappend
5.4 has been removed from oe-core, so we drop our associated
bbappend.

(From meta-yocto rev: 9ea749976abbb0d9b3746ab309da1c8bf32d4bef)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-18 17:01:26 +01:00
Bruce Ashfield
3dc322bfc3 poky: set default kernel to 5.13
both -rt and -standard have been updated to 5.13, so we switch out
defaults.

(From meta-yocto rev: 20dfac37b818b652274aba88ad0b40c56b0ea8a5)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-18 17:01:26 +01:00
Bruce Ashfield
b2db5bf57f poky/poky-tiny: set default kernel to 5.13
(From meta-yocto rev: 795579ee2097d5a263d833b54d949bba5305c163)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-18 17:01:26 +01:00
Ross Burton
6b19caf208 oeqa/sdk: add HTTPS test for buildtools
Verify that HTTPS connections work in both wget and Python, as this
depends on variables correctly pointing to the certificate chain.

(From OE-Core rev: 5c2b1fb09e786ec392979d21dc7884ca23cd84f0)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-18 17:01:06 +01:00
Bruce Ashfield
7cd1bae810 kernel-devsrc: fix 5.14+ objtool compilation
In v5.14+, x86 requires not just elfutils, but the elf headers
on the target to build objtool (required for 'scripts parepare'),
so we tweak our RDEPENDS to ensure that the right headers are
on the target.

(From OE-Core rev: 03ccc234386f753e1b0129ec557e67bcd04cc69e)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-18 17:01:06 +01:00
Bruce Ashfield
408a1d24e1 kernel-devsrc: 5.14+ updates
commit 6218d0f6b8dec [x86/syscalls: Switch to generic syscalltbl.sh]
means that x86 no longer has a syscall script to copy, which causes
a build error.

We already copy the generic syscall script (in scripts), so we just
catch errors for the copies to support older and 5.14+ kernels in
the same devsrc recipe.

(From OE-Core rev: 5debc9bc25110b836b76927c61b2455e5e235a84)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-18 17:01:06 +01:00
Bruce Ashfield
f2bf71a392 lttng-modules: update to 2.13.0
Updating to 2.13.0, so we can pick up the latest -stable and
support for 5.14+ kernels.

We refresh one patch for new context, and update the LICENSE
checksum due to commit 2df37e95fa4303 [Cleanup: Move headers from
toplevel to include/lttng/]. which impacted the LICENSE file (but
licensing is the same).

MODULES_MODULE_SYMVERS_LOCATION must also be specified in this
release, as the lttng build has moved the module target to a
'src' subdirectory.

(From OE-Core rev: 5dad15af8b3423ad9631edf3eef6e77902f1b36e)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-18 17:01:06 +01:00
Bruce Ashfield
6c2e02772e linux-yocto-dev: bump to v5.14+
(From OE-Core rev: 8059018ae2f8cb731b58a3bc7b0c7392657adcfb)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-18 17:01:06 +01:00
Ross Burton
0c41ea3ad7 glibc: package the stub .a libaries into glibc-dev
In glibc 2.34, the libraries libpthread, libdl, libutil, libanl have
been integrated into libc. To retain compatibility with old binaries the
shared libaries are still shipped but are empty, and to keep software
building there are empty static libraries.

However, these static libraries get packaged into glibc-staticdev (as
they should be), but by this design they should be in glibc-dev.

https://sourceware.org/pipermail/libc-alpha/2021-August/129718.html

(From OE-Core rev: f42658198193dcf88814513e1fa09bf484777079)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-18 17:01:06 +01:00
Ross Burton
8ab0f43fda oeqa/sdk: add relocation test for buildtools
The buildtools-extended tarball includes GCC, which relies on being
relocated correctly to work.  Add a test case that verifies that the
loader paths have all been relocated, as otherwise there are
hard-to-debug errors at build time.

(From OE-Core rev: fe1f675ea156722a3709b13cd751479c9528134d)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-18 17:01:06 +01:00
Denys Dmytriyenko
33cb14f6a0 grep: upgrade 3.6 -> 3.7
GNU grep 3.7 has been released with a fix for a bug causing
"extreme performance degradation" in certain types of search.

https://www.theregister.com/2021/08/16/gnu_grep_37/

(From OE-Core rev: 8a2bfc9da626597e915b774e1dca95ae2929014f)

Signed-off-by: Denys Dmytriyenko <denis@denix.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-18 17:01:06 +01:00
Andreas Müller
8fe33c7215 binutils: Apply upstream patch to fix 'too many open files' on qtwebengine
Since upgrade of binutils to 2.37 builds of qtwebengine failed to link even
with ulimits -n 1000000 (!!).
Fix that by applying a patch from stable 'binutils-2_37-branch'.

(From OE-Core rev: 9f4660e1c6b251c55f9e7e8072b602edf843b952)

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-18 17:01:06 +01:00
Andreas Müller
5f39beb7cc mesa: upgrade 21.1.5 -> 21.1.7
Joshua's vc4/v3d/dma-patch was applied in 21.1.7

Release notes 21.1.7:

Bug fixes
    Miscompilation of a switch case
    [radeonsi][regression] CPU is being used ~10 times more than usual after c5478f9067f.
    dEQP-VK.wsi.android.swapchain.create#image_swapchain_create_info crash on Android R
    The image is distorted while use iGPU(Intel GPU) rendering and output via dGPU (AMD GPU)
    lima: regression in plbu scissors cmd
    Incorrect rendering
Changes
    pan/bi: Restrict swizzles on same cycle temporaries
    nir/lower_mediump_io: Don’t remap base unless needed
    nir/lower_mediump: Fix metadata in all passes
    util/fossilize_db: Update parsed_offset correctly.
    util/fossilize_db: Reset file position to parsed_offset on cache_offset read failure.
    util/fossilize_db: Flush files after header write.
    util/fossilize_db: Be conservative about header length check for locking.
    util/fossilize_db: Only allocate entries after full read.
    util/fossilize_db: Use uint64_t for file size.
    util/fossilize_db: Unlock the cache file if the entry already exists.
    util/fossilize_db: Add extra flock mutex.
    radv: Allocate space for inline push constants.
    vulkan/wsi/x11: do not inherit last_present_mode
    ir3: Preserve gl_ViewportIndex in the binning shader
    teximage: return correct desktop GL error for compressedteximage
    intel/fs: restrict max push length on older GPUs to a smaller amount
    virgl: disable anisotropic filtering.
    freedreno/ir3: Add build id to the disassembler test
    .pick_status.json: Update to 7055282231cdad23e7b23fb49a2f953a99797f8a
    .pick_status.json: Update to 2f06642b06c94f07f4bfe3df32b25659428c9144
    .pick_status.json: Mark 6ccf11ac2b951963407601b5b1109b45a972e48e as denominated
    .pick_status.json: Update to 2f06642b06c94f07f4bfe3df32b25659428c9144
    .pick_status.json: Update to 353e6323936b812884fa677c25bdba91554881b7
    .pick_status.json: Update to 4128acdee32eadfef1fb8c3c3ce2e512a267cdf4
    pick-ui: drop assert that optional argument is passed
    pick-ui: show nomination type in the UI
    pick-ui: show commit date
    lima: avoid crash with negative viewport values
    zink: make codegen compatible with python 3.5
    mesa/main: Check for fbo attachments when importing EGL images to textures
    v3d, vc4: Fix dmabuf import for non-scanout buffers
    gallium/hud: initialize query
    nv30: fix emulated vertex index buffers
    gallium: Reset {d,r}Priv in dri_unbind_context
    loader/dri3: create linear buffer with scanout support
    anv: fix submission batching with perf queries
    anv: don’t try to access Android swapchains
    renderonly: don’t complain when GPU import fails
    etnaviv: always try to create KMS side handles for imported resources
    glsl: evaluate switch expression once
    zink: use array size in spirv bo length calculations
    etnaviv: fix gbm_bo_get_handle_for_plane for multiplanar images
    clover/spirv: Properly size 3-component vector args
    clover/nir: Set constant buffer pointer size to host
    gallium/va: don’t use key=NULL in hash tables
    amd/registers: fix fields conflict detection
    radeonsi: don’t create an infinite number of variants
    nir/algebraic: fix imod by negative power-of-two
    radv: fix selecting the first active CU when profiling with SQTT
    etnaviv: fix renderonly check in etna_resource_alloc
    etnaviv: fail in get_handle(TYPE_KMS) without a scanout resource
    freedreno: fail in get_handle(TYPE_KMS) without a scanout resource
    panfrost: fail in get_handle(TYPE_KMS) without a scanout resource
    lima: fail in get_handle(TYPE_KMS) without a scanout resource
    nine: Fix assert in tx_src_param
    intel/compiler: make sure swizzle is applied to if condition
    glsl: Add operator for .length() method on implicitly-sized arrays
    glsl: Properly handle .length() of an unsized array
    gallium/vl: don’t leak fd in vl_dri3_screen_create

Release notes 21.1.6:

Bug fixes
    [RADV] FSR in Resident Evil: Village looks very pixelated on Polaris
    Crash in update_buffers after closing KDE “splash screen” downloader
    Crash in update_buffers after closing KDE “splash screen” downloader
    radeonsi: persistent, read-only buffer maps are slow to read
    substance painter flickering with jagged texture and masks shown black
    radv: FP16 mode in FidelityFX FSR doesn’t look right
    [RADV] Blocky corruption in Scarlet Nexus and vkd3d-proton 2.4
    Radeon RX580 and 5700 XT: Reloading ARB assembly shaders causes very glitchy rendering

Changes
    targets/graw-xlib: Add missing dep_x11
    egl/surfaceless: try kms_swrast before swrast
    meson: allow egl_native_platform to be specified
    freedreno/computerator: Fix local_size typo
    aco/optimizer: ensure to not erase high bits when propagating packed constants
    egl/wayland: Error on invalid native window
    egl/wayland: Allow EGLSurface to outlive wl_egl_window
    softpipe/aniso: move DDQ calculation to after scaling.
    llvmpipe: add support for time elapsed queries.
    .pick_status.json: Mark a9c9a9938d6d2ead6f08ccf5256c95801fbc864f as backported
    .pick_status.json: Update to 376fb4f55f080929df8ca5a2a975fc88a00eec06
    .pick_status.json: Update to 1d6c790f9f6c373e667de955822b1048c7073ba3
    .pick_status.json: Update to 73262d4bd4a4637a332264a165c62ce3209d03fb
    zink: remove duplicate format-mapping on little-endian
    vulkan: do not map zero-sized region of memory
    vulkan: allocate host-visible memory for swapchain images
    nir/gcm: Clear out pass_flags before starting
    iris: Re-emit MEDIA_VFE_STATE for variable group size shaders
    anv: Handle errors properly in anv_i915_query
    v3d/driconf: Expose non-MSAA texture limits for mutter and gnome-shell
    lavapipe: Use common Vulkan format helpers
    broadcom/compiler: emit TMU flush before a jump
    nv50/ir/nir: fix smem size for GL
    radeonsi: don’t expose no-attachment MSAA 16x on all 1 RB chips due to issues
    st/mesa: always use PIPE_USAGE_STAGING for GL_MAP_READ_BIT usage
    egl/android: include “util/compiler.h” for FALLTHROUGH macro
    util/foz: stop crashing on destroy if prepare hasn’t been called
    radeonsi: Check aux_context on si_destroy_screen()
    mesa: clear shader_info::is_lowered in prog_to_nir
    mesa: fix bindless uniform samplers update
    aco: don’t create v_madmk_f32/v_madak_f32 from v_fma_legacy_f16
    freedreno/ir3: Don’t force RTNE if rounding mode is undefined
    radv: only init the TC-compat ZRANGE metadata for the depth aspect
    glsl: replace some C++ code with C
    util: add workaround for Full Bore
    glsl: relax rule on varying matching for shaders older than 4.20
    lima: handle fp16 vertex formats

(From OE-Core rev: ce202e5f3f0eaceec2e23ebd1697f73c9fa00aaf)

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-18 17:01:06 +01:00
Sakib Sajal
48960ce562 qemu: fix CVE-2021-3682
(From OE-Core rev: e16cd155c5ef7cfe8b4d3a94485cb7b13fd95036)

Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-18 17:01:06 +01:00
Jon Mason
1d381f21f5 conf/machine: move tune files to architecture directories
Move all of the tune files found in conf/machine/include into their
respective architecture directories in that same location.  All
references to these will need to be updated.  So, change the relevant
ones for this tree in this commit as well.

For the ARM tunes, nest them one further into armv8a, armv8m, etc. and
rename some to make them uniform with the rest of the tunes.

(From OE-Core rev: b6f15209bcfff953cce69da97a93f9ddff141ced)

Signed-off-by: Jon Mason <jdmason@kudzu.us>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-18 17:01:06 +01:00
Michael Halstead
d9878e12b8 uninative: Upgrade to 3.3, support glibc 2.34
(From OE-Core rev: 4aa4dcd5f31657073f2207a9a4a43247322c7eb1)

Signed-off-by: Michael Halstead <mhalstead@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-18 17:01:06 +01:00
Ross Burton
ca8adb9ee6 uninative: Improve glob to handle glibc 2.34
With glibc 2.34, the libraries were renamed. Tweak the glob to support both
as this is needed for newer uninative versions.

[RP: tweak commit message]
(From OE-Core rev: 98248306e4b5f023e96375293b60524574ebb686)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-18 17:01:06 +01:00
Joshua Watt
1c51e6535b bitbake.conf: Add lz4c, pzstd and zstd
Adds the command line compression tools which are needed by bitbake

(From OE-Core rev: 58f5389e3c6b0e5b29df8850c2056b5fc41b618f)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-18 17:01:06 +01:00
Bruce Ashfield
5d0464b17f conf/machine: bump qemu preferred versions to 5.13
5.13 is the latest reference kernel, so let's make it the
default.

(From OE-Core rev: a7ebb5053a5dd7d0989a15cc4dee7116d3ef0948)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-18 17:01:06 +01:00
Bruce Ashfield
1ce72e983c linux-yocto/5.4: remove recipes
We have 5.10 and 5.13 as the active recipes in the release/development
branches, so we remove 5.4.

This leaves us with the standard three versions for release (5.10,
5.13 and -dev).

5.4 will continue to be updated in stable/supported releases.

(From OE-Core rev: f4ff7a501df84f15900652703349c0072ef8714c)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-18 17:01:06 +01:00
Joshua Watt
f557bdbf1d bitbake: contrib: vim: Add "remove" override highlighting
"remove" was accidentally omitted when defining which override operators
should be highlighted

(Bitbake rev: a0248338452f9ec26b588ef83679aca6263e7e76)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-18 17:01:06 +01:00
Richard Purdie
e7bcbc6195 bitbake: bitbake: Make 3.6.0 the minimum python version
OE-Core did this a while ago, it is simpler if bitbake matches.

(Bitbake rev: a3050aee21b6a23b55232d52f89980a3bbd3a290)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-18 17:01:06 +01:00
Richard Purdie
bc65a37ef5 package: Fix overrides converion issue with PKGSIZE
This fixes pkgdata PKGSIZE info after the overrides change.

(From OE-Core rev: 6964f06e48c7002c9ad788aa04bd8873fb3ee024)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-17 09:53:04 +01:00
Richard Purdie
dd6b55d70c package/scripts: Fix FILES_INFO handling
There is a long standing bug where FILES_INFO isn't written into pkgdata
with a package suffix. This means if the files are read into the datastore
as intended, the last one "wins".

Fix this to work as intended. Most of the call sites using the data need
to be updated to handle this and the overrides change correctly.

Also fix some other problematic references noticed along the way.

(From OE-Core rev: a1190903e0a61a12c9854c96af918ae8d12c6327)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-17 09:53:04 +01:00
Jon Mason
12e1f9815d arch-armv8m-main: missing space
Correct an issue with 2 AVAILTUNES not being separated by a space.

(From OE-Core rev: 72a9ddf85876909d6f22582561a6e1c3a2ccf2fa)

Signed-off-by: Jon Mason <jdmason@kudzu.us>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-17 09:53:04 +01:00
Ross Burton
34062ffb4f oeqa/selftest/buildoptions: test buildhistory PKGSIZE and FILELIST fields
Add tests to ensure that PKGSIZE and FILELIST fields are set correctly.

(From OE-Core rev: 8e957f9dbf794195af093f3fbc00b4c8d269ee37)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-17 09:53:04 +01:00
Yi Zhao
2be20821c2 prelink: add PACKAGECONFIG for selinux
Add PACKAGECONFIG for selinux rather than disable it directly. This is
useful for selinux distro feature.

(From OE-Core rev: d25b644741f5b941aa3051545e86e16a365c51c3)

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-17 09:53:04 +01:00
Robert P. J. Day
166296f4bc scripts/lib/wic/help/py: "Redhat" -> "Red Hat"
Company name is properly spelled as "Red Hat".

(From OE-Core rev: cd60f20fe40bba5b80ab604ee34fbf4ec2b0b4a2)

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-17 09:53:04 +01:00
Mingli Yu
6566a99d4d shadow: fix default value in SHA_get_salt_rounds()
Backport a patch [1] to fix chpasswd, gpasswd and passwd "hang" for
several minutes (10-20min) at 100% cpu usage though they finally
terminate successfully.

[1] https://github.com/shadow-maint/shadow/issues/393

(From OE-Core rev: ad8c62f988017e1e4da1f5ed7fb6f4a5ce44844e)

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-17 09:53:04 +01:00
Richard Purdie
626afc69a4 oeqa/selftest/glibc: Handle incorrect encoding issuesin glibc test results
We dont control the test output and sometimes see badly encoded characters.
These don't affect the operation of the code we're running. Use
errors='replace' to avoid those issues and the resulting test failures.

(From OE-Core rev: 3939b1923387d3bc440118ed1663d28a03a1ea5d)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-17 09:53:04 +01:00
Richard Purdie
8e27d952f8 man-db: Add compression PACKAGECONFIG entries
Add PACKAGECONFIG entries for various compression algorithms to ensure
builds are deterministic.

(From OE-Core rev: 65b847856e44ef83ead3a0efb48ea19dc6c9df4a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-17 09:53:04 +01:00
Richard Purdie
d31f8e1ee0 elfutils: Add zstd PACKAGECONFIG for determinism
Ensure builds as deterministic by covering all compression configuration
options.

(From OE-Core rev: c78224b8546aa8d6bd238c2516c445b80de4c205)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-17 09:53:04 +01:00
Michael Opdenacker
cde66ad271 maintainers.inc: maintainer for alsa-*, flac, lame and speex
(From OE-Core rev: 9f0120902d5a8de01c1af319aa2c3c68cebef4ed)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-17 09:53:04 +01:00
Bruce Ashfield
46269e4325 linux-yocto/5.13: update to v5.13.9
Updating linux-yocto/5.13 to the latest korg -stable release that comprises
the following commits:

    f259ee2f0379 Linux 5.13.9
    4288f43d9e0e spi: mediatek: Fix fifo transfer
    fad0494f626f drm/amd/display: Fix ASSR regression on embedded panels
    02db470b866f Revert "watchdog: iTCO_wdt: Account for rebooting on second timeout"
    c268b30ff4e0 Revert "Bluetooth: Shutdown controller after workqueues are flushed or cancelled"
    989b27104a97 io_uring: explicitly catch any illegal async queue attempt
    f7be9c72d1de io_uring: never attempt iopoll reissue from release path
    eb9b9c610f25 drm/amd/display: Fix max vstartup calculation for modes with borders
    9cc57c6cdd24 drm/amd/display: Fix comparison error in dcn21 DML
    b3b7be424610 nvme: fix nvme_setup_command metadata trace event
    d26ac2d83b02 efi/mokvar: Reserve the table only if it is in boot services data
    dbdf7e3d5684 ASoC: ti: j721e-evm: Check for not initialized parent_clk_id
    f248077aef20 ASoC: ti: j721e-evm: Fix unbalanced domain activity tracking during startup
    a35d559db687 net: Fix zero-copy head len calculation.
    4bf6168d0b6a ASoC: rt5682: Fix the issue of garbled recording after powerd_dbus_suspend
    3cadaeae64dc qed: fix possible unpaired spin_{un}lock_bh in _qed_mcp_cmd_and_union()
    a6b2ef5b5ffb r8152: Fix a deadlock by doubly PM resume
    5feeb2da23e5 r8152: Fix potential PM refcount imbalance
    bf7dd85e9e02 regulator: mtk-dvfsrc: Fix wrong dev pointer for devm_regulator_register
    ee37879e24c4 ASoC: tlv320aic31xx: fix reversed bclk/wclk master bits
    c2fdcb148e33 spi: stm32h7: fix full duplex irq handler handling
    64d62c4e4ccb regulator: rt5033: Fix n_voltages settings for BUCK and LDO
    2e4e8df287c1 regulator: rtmv20: Fix wrong mask for strobe-polarity-high
    1c5b8c4e4cb5 ASoC: Intel: boards: fix xrun issue on platform with max98373
    497a0258df14 ASoC: Intel: boards: create sof-maxim-common module
    301f2270d3ac ASoC: Intel: boards: handle hda-dsp-common as a module
    c348419f365b net: dsa: sja1105: fix address learning getting disabled on the CPU port
    5ee064ade19a net: dsa: sja1105: parameterize the number of ports
    1ce09f0ae455 cifs: add missing parsing of backupuid
    cf5663d06bc3 cifs: use helpers when parsing uid/gid mount options and validate them
    2abe7e0f1983 bpf, sockmap: On cleanup we additionally need to remove cached skb
    96b1d399a4f2 skmsg: Pass source psock to sk_psock_skb_redirect()
    b82ffbf55977 skmsg: Increase sk->sk_drops when dropping packets
    af8884055780 power: supply: ab8500: Call battery population once
    5a40048e60b2 Revert "drm/i915: Propagate errors on awaiting already signaled fences"
    15c8463df133 drm/i915: Revert "drm/i915/gem: Asynchronous cmdparser"
    3cfdd7252e00 Linux 5.13.8
    d92d15c28841 octeontx2-af: Remove unnecessary devm_kfree
    187463c4a262 perf pmu: Fix alias matching
    5e1fc537c1be can: j1939: j1939_session_deactivate(): clarify lifetime of session object
    f27deb33bbdb i40e: Add additional info to PHY type error
    e95d994d2f8f io_uring: fix race in unified task_work running
    ee6d50cb1c23 Revert "perf map: Fix dso->nsinfo refcounting"
    9755a447ec42 powerpc/pseries: Fix regression while building external modules
    c73256979654 powerpc/vdso: Don't use r30 to avoid breaking Go lang
    52e9158959d2 SMB3: fix readpage for large swap cache
    19f60bf08ee3 bpf: Fix pointer arithmetic mask tightening under state pruning
    8595837e9df5 bpf: verifier: Allocate idmap scratch in verifier env
    738ab7d5e554 bpf: Remove superfluous aux sanitation on subprog rejection
    0b27bdf02c40 bpf: Fix leakage due to insufficient speculative store bypass mitigation
    ddab060f996e bpf: Introduce BPF nospec instruction for mitigating Spectre v4
    9ec54436991f can: hi311x: fix a signedness bug in hi3110_cmd()
    dda5c13325f1 sis900: Fix missing pci_disable_device() in probe and remove
    6cbc642e6f82 tulip: windbond-840: Fix missing pci_disable_device() in probe and remove
    c7d5458d5589 sctp: fix return value check in __sctp_rcv_asconf_lookup
    fc553003e361 block: delay freeing the gendisk
    926fa6598cdd net/mlx5: Fix mlx5_vport_tbl_attr chain from u16 to u32
    601c356d1e0a net/mlx5e: Fix nullptr in mlx5e_hairpin_get_mdev()
    6b35ae3f6b42 net/mlx5: Unload device upon firmware fatal error
    9bf4345430b4 net/mlx5e: Fix page allocation failure for ptp-RQ over SF
    09f2d23a618e net/mlx5e: Fix page allocation failure for trap-RQ over SF
    e6eaea0980ee net/mlx5e: Add NETIF_F_HW_TC to hw_features when HTB offload is available
    b0ba8a145d8d net/mlx5e: RX, Avoid possible data corruption when relaxed ordering and LRO combined
    4d253ea99fba net/mlx5: E-Switch, handle devcom events only for ports on the same device
    0b26a4e2d5dd net/mlx5: E-Switch, Set destination vport vhca id only when merged eswitch is supported
    1dc7f1219c13 net/mlx5e: Disable Rx ntuple offload for uplink representor
    644c3c58ec77 net/mlx5: Fix flow table chaining
    951e41ddd214 bpf, sockmap: Zap ingress queues after stopping strparser
    0664f9acc5bf KVM: selftests: Fix missing break in dirty_log_perf_test arg parsing
    9e27f578a403 drm/msm/dp: Initialize the INTF_CONFIG register
    c122e9371bd6 drm/msm/dp: use dp_ctrl_off_link_stream during PHY compliance test run
    58389fac95fb drm/msm/dpu: Fix sm8250_mdp register length
    5e8c20b001e8 net: llc: fix skb_over_panic
    40e79954edce KVM: x86: Check the right feature bit for MSR_KVM_ASYNC_PF_ACK access
    9eb2c41471e6 drm/i915/bios: Fix ports mask
    4689d61012a6 drm/panel: panel-simple: Fix proper bpc for ytc700tlag_05_201c
    7d93d6111d0e mlx4: Fix missing error code in mlx4_load_one()
    58b30f9e1a48 net: phy: broadcom: re-add check for PHY_BRCM_DIS_TXCRXC_NOENRGY on the BCM54811 PHY
    0379d6b0118a octeontx2-pf: Dont enable backpressure on LBK links
    4182c0d66639 octeontx2-pf: Fix interface down flag on error
    b8a071889fb3 tipc: do not write skb_shinfo frags when doing decrytion
    0e99b794c0bc can: mcp251xfd: mcp251xfd_irq(): stop timestamping worker in case error in IRQ
    d6892195dfbe ionic: count csum_none when offload enabled
    70da7c504236 ionic: fix up dim accounting for tx and rx
    e8927398faa1 ionic: remove intr coalesce update from napi
    b367a9a2cebe ionic: catch no ptp support earlier
    12e88273896d ionic: make all rx_mode work threadsafe
    2e618cf6db69 net: qrtr: fix memory leaks
    56a5e590b31e loop: reintroduce global lock for safe loop_validate_file() traversal
    fcc99d41954f net: dsa: mv88e6xxx: silently accept the deletion of VID 0 too
    a6964b4c65c7 net: Set true network header for ECN decapsulation
    7b3f85278d90 tipc: fix sleeping in tipc accept routine
    a73d03806166 tipc: fix implicit-connect for SYN+
    457202b9132f i40e: Fix log TC creation failure when max num of queues is exceeded
    a7ce70625f44 i40e: Fix queue-to-TC mapping on Tx
    644575296661 i40e: Fix firmware LLDP agent related warning
    79c71f5168c5 i40e: Fix logic of disabling queues
    367bec7665d1 netfilter: nft_nat: allow to specify layer 4 protocol NAT only
    62659ab3563a netfilter: conntrack: adjust stop timestamp to real expiry value
    525e6eb9258c mac80211: fix enabling 4-address mode on a sta vif after assoc
    13b8ab2f6f84 bpf: Fix OOB read when printing XDP link fdinfo
    467c905bb613 netfilter: nf_tables: fix audit memory leak in nf_tables_commit
    f7046443c8ac RDMA/rxe: Fix memory leak in error path code
    1544d2b86fa7 platform/x86: amd-pmc: Fix missing unlock on error in amd_pmc_send_cmd()
    d23677f3da7a platform/x86: amd-pmc: Fix SMU firmware reporting mechanism
    91f5c8fb6d8e platform/x86: amd-pmc: Fix command completion code
    7113367b2229 RDMA/bnxt_re: Fix stats counters
    d68acf353765 cfg80211: Fix possible memory leak in function cfg80211_bss_update
    a8d4169f924a io_uring: fix poll requests leaking second poll entries
    5db0ca0fbebf io_uring: don't block level reissue off completion path
    5bb49c88472f io_uring: fix io_prep_async_link locking
    ca324a215bf9 nfc: nfcsim: fix use after free during module unload
    caed0df2e52d blk-iocost: fix operation ordering in iocg_wake_fn()
    749abc8d274f drm/amdgpu: Fix resource leak on probe error path
    070f46bcf6b4 drm/amdgpu: Avoid printing of stack contents on firmware load error
    4e7961b3d5fd drm/amdgpu: Check pmops for desired suspend state
    0652b1eade53 drm/amd/display: ensure dentist display clock update finished in DCN20
    9c2cae70e3a0 NIU: fix incorrect error return, missed in previous revert
    633799ddcff4 net: stmmac: add est_irq_status callback function for GMAC 4.10 and 5.10
    fa1c5eff378f HID: wacom: Re-enable touch by default for Cintiq 24HDT / 27QHDT
    892ced352e05 alpha: register early reserved memory in memblock
    a63d311c966c can: esd_usb2: fix memory leak
    d23e7c014cc4 can: ems_usb: fix memory leak
    62365842aed3 can: usb_8dev: fix memory leak
    78673a83947b can: mcba_usb_start(): add missing urb->transfer_dma initialization
    87d268fe1bdb can: peak_usb: pcan_usb_handle_bus_evt(): fix reading rxerr/txerr values
    aec236c7147a can: raw: raw_setsockopt(): fix raw_rcv panic for sock UAF
    ea9e6fc2bc5d can: j1939: j1939_xtp_rx_dat_one(): fix rxtimer value between consecutive TP.DT to 750ms
    9293727af539 mm/memcg: fix NULL pointer dereference in memcg_slab_free_hook()
    87370a9d413a mm: memcontrol: fix blocking rstat function called from atomic cgroup1 thresholding code
    3df2bd9978b1 ocfs2: issue zeroout to EOF blocks
    c9302ab319ed ocfs2: fix zero out valid data
    a9f2d0884d70 KVM: add missing compat KVM_CLEAR_DIRTY_LOG
    a80e3243e924 x86/kvm: fix vcpu-id indexed array sizes
    3c82e27986af ACPI: DPTF: Fix reading of attributes
    cf90e1c4ad57 Revert "ACPI: resources: Add checks for ACPI IRQ override"
    1d381aca0d9c btrfs: mark compressed range uptodate only if all bio succeed
    c543bced163b btrfs: fix rw device counting in __btrfs_free_extra_devids
    9e4417af187e btrfs: fix lost inode on log replay after mix of fsync, rename and inode eviction
    89e34995bdd7 fs/ext2: Avoid page_address on pages returned by ext2_get_page
    f0aa1bc37e9a pipe: make pipe writes always wake up readers
    5a5aaf4177da selftest: fix build error in tools/testing/selftests/vm/userfaultfd.c

(From OE-Core rev: 445892595e8af9296360de561c6bd7a0887ba5de)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-17 09:53:04 +01:00
Bruce Ashfield
c4c03881c4 linux-yocto/5.10: update to v5.10.57
Updating linux-yocto/5.10 to the latest korg -stable release that comprises
the following commits:

    1cd6e30b83d7 Linux 5.10.57
    9c645a020bab spi: mediatek: Fix fifo transfer
    7254e2d9eb41 selftest/bpf: Verifier tests for var-off access
    30ea1c535291 bpf, selftests: Adjust few selftest outcomes wrt unreachable code
    98bf2906d3be bpf: Update selftests to reflect new error states
    360e5b7af653 bpf, selftests: Adjust few selftest result_unpriv outcomes
    5abcd138cbd8 selftest/bpf: Adjust expected verifier errors
    83bbf953f66c selftests/bpf: Add a test for ptr_to_map_value on stack for helper access
    e2b7a4ccbf7c Revert "watchdog: iTCO_wdt: Account for rebooting on second timeout"
    1b1a00b13c34 firmware: arm_scmi: Add delayed response status check
    93ef561406a7 firmware: arm_scmi: Ensure drivers provide a probe function
    1812895f17e1 Revert "Bluetooth: Shutdown controller after workqueues are flushed or cancelled"
    cae3fa3d8165 ACPI: fix NULL pointer dereference
    98b070694f45 drm/amd/display: Fix max vstartup calculation for modes with borders
    f9d875c8c92f drm/amd/display: Fix comparison error in dcn21 DML
    91865b458edd nvme: fix nvme_setup_command metadata trace event
    06a9092f6647 efi/mokvar: Reserve the table only if it is in boot services data
    27ff30c8b3f3 ASoC: ti: j721e-evm: Check for not initialized parent_clk_id
    a00bcc5298be ASoC: ti: j721e-evm: Fix unbalanced domain activity tracking during startup
    e8b287e78381 net: Fix zero-copy head len calculation.
    c6bdf7d97d5f ASoC: rt5682: Fix the issue of garbled recording after powerd_dbus_suspend
    74b53ee4b89e qed: fix possible unpaired spin_{un}lock_bh in _qed_mcp_cmd_and_union()
    f6a2ff040b5c r8152: Fix potential PM refcount imbalance
    c98a7916cd37 ASoC: tlv320aic31xx: fix reversed bclk/wclk master bits
    03258515c9eb spi: stm32h7: fix full duplex irq handler handling
    cfb8173a23cf regulator: rt5033: Fix n_voltages settings for BUCK and LDO
    81dc9a4868a9 regulator: rtmv20: Fix wrong mask for strobe-polarity-high
    9e55b9278c47 btrfs: fix lost inode on log replay after mix of fsync, rename and inode eviction
    e2419c570986 btrfs: fix race causing unnecessary inode logging during link and rename
    118b070bf415 Revert "drm/i915: Propagate errors on awaiting already signaled fences"
    6976f3cf34a1 drm/i915: Revert "drm/i915/gem: Asynchronous cmdparser"
    9746c25334cb Linux 5.10.56
    55dd22c5d029 can: j1939: j1939_session_deactivate(): clarify lifetime of session object
    75ebe1d355b5 i40e: Add additional info to PHY type error
    2ca5ec188b20 Revert "perf map: Fix dso->nsinfo refcounting"
    c14cee5bc466 powerpc/pseries: Fix regression while building external modules
    bfc8e67c60b9 SMB3: fix readpage for large swap cache
    be561c0154dc bpf: Fix pointer arithmetic mask tightening under state pruning
    ffb9d5c48b4b bpf: verifier: Allocate idmap scratch in verifier env
    a11ca29c65c1 bpf: Remove superfluous aux sanitation on subprog rejection
    0e9280654aa4 bpf: Fix leakage due to insufficient speculative store bypass mitigation
    bea9e2fd1808 bpf: Introduce BPF nospec instruction for mitigating Spectre v4
    cd61e665a166 can: hi311x: fix a signedness bug in hi3110_cmd()
    65dfa6cb2233 sis900: Fix missing pci_disable_device() in probe and remove
    93e5bf4b2925 tulip: windbond-840: Fix missing pci_disable_device() in probe and remove
    58b8c812c764 sctp: fix return value check in __sctp_rcv_asconf_lookup
    362e9d23cf70 net/mlx5e: Fix nullptr in mlx5e_hairpin_get_mdev()
    bd744f2a2755 net/mlx5: Fix flow table chaining
    1b148bd72e50 skmsg: Make sk_psock_destroy() static
    645a1d3bef5f drm/msm/dp: Initialize the INTF_CONFIG register
    4a6841921cc8 drm/msm/dpu: Fix sm8250_mdp register length
    e6097071a4ff net: llc: fix skb_over_panic
    01f3581d4400 KVM: x86: Check the right feature bit for MSR_KVM_ASYNC_PF_ACK access
    f5f78ae5f1be mlx4: Fix missing error code in mlx4_load_one()
    51b751fc06b8 octeontx2-pf: Fix interface down flag on error
    4951ffa3fac8 tipc: do not write skb_shinfo frags when doing decrytion
    7eefa0b74f3e ionic: count csum_none when offload enabled
    60decbe01d7d ionic: fix up dim accounting for tx and rx
    a7c85a516cd0 ionic: remove intr coalesce update from napi
    6961323eed46 net: qrtr: fix memory leaks
    91350564ea8c net: Set true network header for ECN decapsulation
    a41282e82a1d tipc: fix sleeping in tipc accept routine
    10f585740cf0 tipc: fix implicit-connect for SYN+
    bb6061616211 i40e: Fix log TC creation failure when max num of queues is exceeded
    c1cc6bce1afd i40e: Fix queue-to-TC mapping on Tx
    4382cca17915 i40e: Fix firmware LLDP agent related warning
    e090ffdf0563 i40e: Fix logic of disabling queues
    cbc8012902b3 netfilter: nft_nat: allow to specify layer 4 protocol NAT only
    3dbda8483f42 netfilter: conntrack: adjust stop timestamp to real expiry value
    ac038f4152ef mac80211: fix enabling 4-address mode on a sta vif after assoc
    076bc6ebce48 bpf: Fix OOB read when printing XDP link fdinfo
    e6a06a13ec6f RDMA/bnxt_re: Fix stats counters
    c8667cb406fd cfg80211: Fix possible memory leak in function cfg80211_bss_update
    9ab284bc3530 nfc: nfcsim: fix use after free during module unload
    ea04a3b5727e blk-iocost: fix operation ordering in iocg_wake_fn()
    fc2756cce06f drm/amdgpu: Fix resource leak on probe error path
    ccc7a1bb322e drm/amdgpu: Avoid printing of stack contents on firmware load error
    63570e578094 drm/amd/display: ensure dentist display clock update finished in DCN20
    2eab387507fd NIU: fix incorrect error return, missed in previous revert
    cb71730a6312 HID: wacom: Re-enable touch by default for Cintiq 24HDT / 27QHDT
    7bca5da00539 alpha: register early reserved memory in memblock
    30e19d072ea0 can: esd_usb2: fix memory leak
    88b40258162b can: ems_usb: fix memory leak
    f58ac91ff87d can: usb_8dev: fix memory leak
    a6ebfbdaca3d can: mcba_usb_start(): add missing urb->transfer_dma initialization
    2fc2c2816cb7 can: peak_usb: pcan_usb_handle_bus_evt(): fix reading rxerr/txerr values
    afe2ffd92061 can: raw: raw_setsockopt(): fix raw_rcv panic for sock UAF
    a9c02d0e1513 can: j1939: j1939_xtp_rx_dat_one(): fix rxtimer value between consecutive TP.DT to 750ms
    da4f4916dab2 ocfs2: issue zeroout to EOF blocks
    943014593061 ocfs2: fix zero out valid data
    52acb6c147b3 KVM: add missing compat KVM_CLEAR_DIRTY_LOG
    7d67d4ab28e3 x86/kvm: fix vcpu-id indexed array sizes
    2388c7674fbd ACPI: DPTF: Fix reading of attributes
    0d6afa25975e Revert "ACPI: resources: Add checks for ACPI IRQ override"
    0a421a2fc516 btrfs: mark compressed range uptodate only if all bio succeed
    4e1a57d75264 btrfs: fix rw device counting in __btrfs_free_extra_devids
    27aa7171fe2b pipe: make pipe writes always wake up readers
    02210a5e1894 x86/asm: Ensure asm/proto.h can be included stand-alone
    65b2658634fe io_uring: fix null-ptr-deref in io_sq_offload_start()
    e44d22fdf756 selftest: fix build error in tools/testing/selftests/vm/userfaultfd.c

(From OE-Core rev: 6ab4c36223e62ad99efb76863a703c83fb6da324)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-17 09:53:04 +01:00
Bruce Ashfield
6f8022b3c8 linux-yocto/5.4: update to v5.4.139
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:

    e350cd02e293 Linux 5.4.139
    03ff8a4f9db6 spi: mediatek: Fix fifo transfer
    a0f66ddf05c2 bpf, selftests: Adjust few selftest outcomes wrt unreachable code
    d3796e8f6b3d bpf, selftests: Add a verifier test for assigning 32bit reg states to 64bit ones
    8dec99abcd74 bpf: Test_verifier, add alu32 bounds tracking tests
    fd568de5806f bpf: Fix leakage under speculation on mispredicted branches
    d2f790327f83 bpf: Do not mark insn as seen under speculative path verification
    283d742988f6 bpf: Inherit expanded/patched seen count from old aux data
    a0a9546aaec3 Revert "watchdog: iTCO_wdt: Account for rebooting on second timeout"
    76f5314d7859 firmware: arm_scmi: Add delayed response status check
    1b38f70bbc7c firmware: arm_scmi: Ensure drivers provide a probe function
    44f522298c94 Revert "Bluetooth: Shutdown controller after workqueues are flushed or cancelled"
    38f54217b423 ACPI: fix NULL pointer dereference
    0ea2f55babb7 nvme: fix nvme_setup_command metadata trace event
    b508b652d4f3 net: Fix zero-copy head len calculation.
    bf692e7ef657 qed: fix possible unpaired spin_{un}lock_bh in _qed_mcp_cmd_and_union()
    6bc48348eca7 r8152: Fix potential PM refcount imbalance
    a57c75ff0700 ASoC: tlv320aic31xx: fix reversed bclk/wclk master bits
    e2cccb839a18 spi: stm32h7: fix full duplex irq handler handling
    b72f2d9e91e1 regulator: rt5033: Fix n_voltages settings for BUCK and LDO
    86f2a3e9aae9 btrfs: fix lost inode on log replay after mix of fsync, rename and inode eviction
    b7f0fa2192c5 btrfs: fix race causing unnecessary inode logging during link and rename
    cb006da62a9e btrfs: do not commit logs and transactions during link and rename operations
    174c27d0f9ef btrfs: delete duplicated words + other fixes in comments
    7b90d57b09fa Linux 5.4.138
    7eef18c0479b can: j1939: j1939_session_deactivate(): clarify lifetime of session object
    18b536de3b97 i40e: Add additional info to PHY type error
    d21eb931109a Revert "perf map: Fix dso->nsinfo refcounting"
    16447b2f5c66 powerpc/pseries: Fix regression while building external modules
    265883d1d839 PCI: mvebu: Setup BAR0 in order to fix MSI
    21734a31c9a0 can: hi311x: fix a signedness bug in hi3110_cmd()
    f4fa45b0f91e sis900: Fix missing pci_disable_device() in probe and remove
    dff00ce44891 tulip: windbond-840: Fix missing pci_disable_device() in probe and remove
    e0310bbeaaa2 sctp: fix return value check in __sctp_rcv_asconf_lookup
    408614108abd net/mlx5e: Fix nullptr in mlx5e_hairpin_get_mdev()
    ac4983230616 net/mlx5: Fix flow table chaining
    527feae56fe6 net: llc: fix skb_over_panic
    ede4c93860e6 mlx4: Fix missing error code in mlx4_load_one()
    acb97d4b2d0e net: Set true network header for ECN decapsulation
    851946a68136 tipc: fix sleeping in tipc accept routine
    194b71d28b26 i40e: Fix log TC creation failure when max num of queues is exceeded
    834af62212c7 i40e: Fix queue-to-TC mapping on Tx
    74aea4b7159a i40e: Fix firmware LLDP agent related warning
    b2ab34e862eb i40e: Fix logic of disabling queues
    519582e44e6a netfilter: nft_nat: allow to specify layer 4 protocol NAT only
    3a7a4cee7bec netfilter: conntrack: adjust stop timestamp to real expiry value
    1c043783403c cfg80211: Fix possible memory leak in function cfg80211_bss_update
    6cf2abea1018 nfc: nfcsim: fix use after free during module unload
    6b313d0ffa71 NIU: fix incorrect error return, missed in previous revert
    c4663c162778 HID: wacom: Re-enable touch by default for Cintiq 24HDT / 27QHDT
    e9e2ce00aeda can: esd_usb2: fix memory leak
    43726620b2f6 can: ems_usb: fix memory leak
    819867389276 can: usb_8dev: fix memory leak
    a051dbd17b5b can: mcba_usb_start(): add missing urb->transfer_dma initialization
    793581441b5c can: raw: raw_setsockopt(): fix raw_rcv panic for sock UAF
    c621638d0e6d can: j1939: j1939_xtp_rx_dat_one(): fix rxtimer value between consecutive TP.DT to 750ms
    a24d87b429a9 ocfs2: issue zeroout to EOF blocks
    eaaa4284e288 ocfs2: fix zero out valid data
    9bd1092148b5 KVM: add missing compat KVM_CLEAR_DIRTY_LOG
    7a94dfe5e2a0 x86/kvm: fix vcpu-id indexed array sizes
    2dc291582cce Revert "ACPI: resources: Add checks for ACPI IRQ override"
    a8eec6979734 btrfs: mark compressed range uptodate only if all bio succeed
    57429c1ec770 btrfs: fix rw device counting in __btrfs_free_extra_devids
    61f2cbc792eb x86/asm: Ensure asm/proto.h can be included stand-alone
    99372c38a948 net_sched: check error pointer in tcf_dump_walker()

(From OE-Core rev: d5455d9e201e324b7cf7bb19381bfebb0e892312)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-17 09:53:04 +01:00
Bruce Ashfield
65df8f29a2 linux-yocto/5.10: update to v5.10.55
Updating linux-yocto/5.10 to the latest korg -stable release that comprises
the following commits:

    11fe69a17195 Linux 5.10.55
    984e93b8e207 ipv6: ip6_finish_output2: set sk into newly allocated nskb
    a74054ca7553 ARM: dts: versatile: Fix up interrupt controller node names
    3510b9b41c70 iomap: remove the length variable in iomap_seek_hole
    8659186e72d0 iomap: remove the length variable in iomap_seek_data
    65039407489c cifs: fix the out of range assignment to bit fields in parse_server_interfaces
    fe5fe0b1c8b9 firmware: arm_scmi: Fix range check for the maximum number of pending messages
    8f8e5475a369 firmware: arm_scmi: Fix possible scmi_linux_errmap buffer overflow
    d01328fef6af hfs: add lock nesting notation to hfs_find_init
    06b3d9923fa0 hfs: fix high memory mapping in hfs_bnode_read
    680b2917e60e hfs: add missing clean-up in hfs_fill_super
    5c3d753b872a drm/ttm: add a check against null pointer dereference
    2323690eb058 ipv6: allocate enough headroom in ip6_finish_output2()
    86cb49e7314e rcu-tasks: Don't delete holdouts within trc_wait_for_one_reader()
    55ddab2bfd70 rcu-tasks: Don't delete holdouts within trc_inspect_reader()
    4d972881f8d8 sctp: move 198 addresses from unusable to private scope
    915226f31fd4 net: annotate data race around sk_ll_usec
    92289f58f01d net/802/garp: fix memleak in garp_request_join()
    5d93810761b4 net/802/mrp: fix memleak in mrp_request_join()
    df34f888628e cgroup1: fix leaked context root causing sporadic NULL deref in LTP
    dcd00801f3d9 workqueue: fix UAF in pwq_unbound_release_workfn()
    93c5951e0ce1 af_unix: fix garbage collect vs MSG_PEEK
    dee8119eaa9e KVM: x86: determine if an exception has an error code only when injecting it.
    6f5d7a45f58d io_uring: fix link timeout refs
    475312897ea6 tools: Allow proper CC/CXX/... override with LLVM=1 in Makefile.include
    08277b9dde63 Linux 5.10.54
    c9f8e17990e0 skbuff: Fix build with SKB extensions disabled
    ba28765d338a xhci: add xhci_get_virt_ep() helper
    624290f368af sfc: ensure correct number of XDP queues
    1df4fe5a8871 drm/i915/gvt: Clear d3_entered on elsp cmd submission.
    c938e65768e0 usb: ehci: Prevent missed ehci interrupts with edge-triggered MSI
    25af91a806d2 perf inject: Close inject.output on exit
    fb35426d123e Documentation: Fix intiramfs script name
    570341f10ecc skbuff: Release nfct refcount on napi stolen or re-used skbs
    31828ffdab19 bonding: fix build issue
    c9d97b7bb897 PCI: Mark AMD Navi14 GPU ATS as broken
    f7ee361182e0 net: dsa: mv88e6xxx: enable SerDes PCS register dump via ethtool -d on Topaz
    30f1d4d03641 net: dsa: mv88e6xxx: enable SerDes RX stats for Topaz
    fc31b5be1383 drm/amdgpu: update golden setting for sienna_cichlid
    69a603aa170e drm: Return -ENOTTY for non-drm ioctls
    2831eeb7bc3d driver core: Prevent warning when removing a device link from unregistered consumer
    0e759383236a nds32: fix up stack guard gap
    7497f4c91da3 misc: eeprom: at24: Always append device id even if label property is set.
    8571daace5a6 rbd: always kick acquire on "acquired" and "released" notifications
    2f3731de5e69 rbd: don't hold lock_rwsem while running_list is being drained
    92291fa2d144 hugetlbfs: fix mount mode command line processing
    1a25c5738d0c memblock: make for_each_mem_range() traverse MEMBLOCK_HOTPLUG regions
    0b591c020d28 userfaultfd: do not untag user pointers
    fca5343b4892 io_uring: remove double poll entry on arm failure
    9eef9029151c io_uring: explicitly count entries for poll reqs
    1077e2b15283 selftest: use mmap instead of posix_memalign to allocate memory
    6e81e2c38a38 posix-cpu-timers: Fix rearm racing against process tick
    3efec3b4b16f bus: mhi: core: Validate channel ID when processing command completions
    b3f3a58a86c4 ixgbe: Fix packet corruption due to missing DMA sync
    e991457afdcb media: ngene: Fix out-of-bounds bug in ngene_command_config_free_buf()
    755971dc7ee8 btrfs: check for missing device in btrfs_trim_fs
    552b053f1a53 tracing: Synthetic event field_pos is an index not a boolean
    757bdba8026b tracing: Fix bug in rb_per_cpu_empty() that might cause deadloop.
    a5e1aff58943 tracing/histogram: Rename "cpu" to "common_cpu"
    0edad8b9f65d tracepoints: Update static_call before tp_funcs when adding a tracepoint
    4ed4074c6c6c firmware/efi: Tell memblock about EFI iomem reservations
    647e26b03ee9 usb: typec: stusb160x: register role switch before interrupt registration
    a206167bd638 usb: dwc2: gadget: Fix sending zero length packet in DDMA mode.
    f2c04f6b21ef usb: dwc2: gadget: Fix GOUTNAK flow for Slave mode.
    7073acb51a3b usb: gadget: Fix Unbalanced pm_runtime_enable in tegra_xudc_probe
    1bf7371b9004 USB: serial: cp210x: add ID for CEL EM3588 USB ZigBee stick
    45c87a94336f USB: serial: cp210x: fix comments for GE CS1000
    f528521c1574 USB: serial: option: add support for u-blox LARA-R6 family
    311fd7f7f186 usb: renesas_usbhs: Fix superfluous irqs happen after usb_pkt_pop()
    7af54a4e221e usb: max-3421: Prevent corruption of freed memory
    69da81a96442 USB: usb-storage: Add LaCie Rugged USB3-FW to IGNORE_UAS
    e6343aab3ee7 usb: hub: Fix link power management max exit latency (MEL) calculations
    8f087b4cf1a3 usb: hub: Disable USB 3 device initiated lpm if exit latency is too high
    709137c85327 KVM: PPC: Book3S HV Nested: Sanitise H_ENTER_NESTED TM state
    c1fbdf0f3c26 KVM: PPC: Book3S: Fix H_RTAS rets buffer overflow
    e3eb672c169d xhci: Fix lost USB 2 remote wake
    02e2e96ba56c usb: xhci: avoid renesas_usb_fw.mem when it's unusable
    9e9cf23b77d4 Revert "usb: renesas-xhci: Fix handling of unknown ROM state"
    ebaa67086fae ALSA: pcm: Fix mmap capability check
    431e31105579 ALSA: pcm: Call substream ack() method upon compat mmap commit
    3c9afa23f3fc ALSA: hdmi: Expose all pins on MSI MS-7C94 board
    253759df8082 ALSA: hda/realtek: Fix pop noise and 2 Front Mic issues on a machine
    2b3cdf581993 ALSA: sb: Fix potential ABBA deadlock in CSP driver
    5858c8a46421 ALSA: usb-audio: Add registration quirk for JBL Quantum headsets
    2de518548de1 ALSA: usb-audio: Add missing proc text entry for BESPOKEN type
    37a88b41dc29 s390/boot: fix use of expolines in the DMA code
    d1ab96288061 s390/ftrace: fix ftrace_update_ftrace_func implementation
    3b4009b49634 mmc: core: Don't allocate IDA for OF aliases
    fc6ac92cfcab proc: Avoid mixing integer types in mem_rw()
    76f7eae7ec80 cifs: fix fallocate when trying to allocate a hole.
    c26372b8a8c3 cifs: only write 64kb at a time when fallocating a small region of a file
    b91e5b63470d drm/panel: raspberrypi-touchscreen: Prevent double-free
    9e0373945ed6 net: sched: cls_api: Fix the the wrong parameter
    c8ebf135c199 net: dsa: sja1105: make VID 4095 a bridge VLAN too
    164294d09c47 tcp: disable TFO blackhole logic by default
    8eb225873246 sctp: update active_key for asoc when old key is being replaced
    ef799bd8ff5a nvme: set the PRACT bit when using Write Zeroes with T10 PI
    7850f03ed814 r8169: Avoid duplicate sysfs entry creation error
    0f5dc3971473 afs: Fix tracepoint string placement with built-in AFS
    711057846aa7 Revert "USB: quirks: ignore remote wake-up on Fibocom L850-GL LTE modem"
    8985dc2cabd6 nvme-pci: don't WARN_ON in nvme_reset_work if ctrl.state is not RESETTING
    fb28b1592098 ceph: don't WARN if we're still opening a session to an MDS
    ce8fafb68051 ipv6: fix another slab-out-of-bounds in fib6_nh_flush_exceptions
    071729150be9 net/sched: act_skbmod: Skip non-Ethernet packets
    ee36bb471389 spi: spi-bcm2835: Fix deadlock
    432738c9740c net: hns3: fix rx VLAN offload state inconsistent issue
    3e903e0b578b net: hns3: fix possible mismatches resp of mailbox
    f4305375f031 ALSA: hda: intel-dsp-cfg: add missing ElkhartLake PCI ID
    41a839437a07 net/tcp_fastopen: fix data races around tfo_active_disable_stamp
    ba3336397677 net: hisilicon: rename CACHE_LINE_MASK to avoid redefinition
    320dcbdec4c6 bnxt_en: Check abort error state in bnxt_half_open_nic()
    134a0536f0a4 bnxt_en: Validate vlan protocol ID on RX packets
    4f7da0f97beb bnxt_en: Add missing check for BNXT_STATE_ABORT_ERR in bnxt_fw_rset_task()
    927370485e98 bnxt_en: Refresh RoCE capabilities in bnxt_ulp_probe()
    ab830c3bae19 bnxt_en: don't disable an already disabled PCI device
    26463689445d ACPI: Kconfig: Fix table override from built-in initrd
    113ce8c5043a spi: cadence: Correct initialisation of runtime PM again
    3ea448b62b49 scsi: target: Fix protect handling in WRITE SAME(32)
    b82a1a26aaee scsi: iscsi: Fix iface sysfs attr detection
    6811744bd0ef netrom: Decrease sock refcount when sock timers expire
    096a8dca8ca5 sctp: trim optlen when it's a huge value in sctp_setsockopt
    8e9662fde6d6 net: sched: fix memory leak in tcindex_partial_destroy_work
    e14ef1095387 KVM: PPC: Fix kvm_arch_vcpu_ioctl vcpu_load leak
    fcbad8e18d31 KVM: PPC: Book3S: Fix CONFIG_TRANSACTIONAL_MEM=n crash
    30b830215158 net: decnet: Fix sleeping inside in af_decnet
    d402c60da0fd efi/tpm: Differentiate missing and invalid final event log table.
    898376690310 dma-mapping: handle vmalloc addresses in dma_common_{mmap,get_sgtable}
    115e4f5b64ae usb: hso: fix error handling code of hso_create_net_device
    1582a02fecff net: fix uninit-value in caif_seqpkt_sendmsg
    2fc8048265ce bpftool: Check malloc return value in mount_bpffs_for_pin
    3b5b0afd8d97 bpf, sockmap, udp: sk_prot needs inuse_idx set for proc stats
    c260442431b4 bpf, sockmap, tcp: sk_prot needs inuse_idx set for proc stats
    715f378f4290 bpf, sockmap: Fix potential memory leak on unlikely error case
    e3a9548ae538 s390/bpf: Perform r1 range checking before accessing jit->seen_reg[r1]
    9264bebe9ef9 liquidio: Fix unintentional sign extension issue on left shift of u16
    0ff2ea9d8fa3 timers: Fix get_next_timer_interrupt() with no timers pending
    ca9ba1de8f09 xdp, net: Fix use-after-free in bpf_xdp_link_release
    39f1735c8107 bpf: Fix tail_call_reachable rejection for interpreter when jit failed
    2b4046e64f7d bpf, test: fix NULL pointer dereference on invalid expected_attach_type
    3dba72d1fc01 ASoC: rt5631: Fix regcache sync errors on resume
    2435dcfd16ac spi: mediatek: fix fifo rx mode
    a9a85bfedd83 regulator: hi6421: Fix getting wrong drvdata
    5cdc986aad95 regulator: hi6421: Use correct variable type for regmap api val argument
    23811b75fdb8 spi: stm32: fixes pm_runtime calls in probe/remove
    844ab04b62a5 spi: imx: add a check for speed_hz before calculating the clock
    3b6c430d1248 ASoC: wm_adsp: Correct wm_coeff_tlv_get handling
    57efe4f82a76 perf sched: Fix record failure when CONFIG_SCHEDSTATS is not set
    61f2e1e79578 perf data: Close all files in close_dir()
    7c91e0ce2601 perf probe-file: Delete namelist in del_events() on the error path
    a6c32317cd3d perf lzma: Close lzma stream on exit
    2ae8f40a8fdf perf script: Fix memory 'threads' and 'cpus' leaks on exit
    51077d315a46 perf report: Free generated help strings for sort option
    2bfa3c53ea8a perf env: Fix memory leak of cpu_pmu_caps
    a2f0da3af614 perf test maps__merge_in: Fix memory leak of maps
    b7bfd8aeb956 perf dso: Fix memory leak in dso__new_map()
    c9c101da3e83 perf test event_update: Fix memory leak of evlist
    b768db7f8070 perf test session_topology: Delete session->evlist
    b8892d16a928 perf env: Fix sibling_dies memory leak
    306411a8bf75 perf probe: Fix dso->nsinfo refcounting
    f21987d7bb58 perf map: Fix dso->nsinfo refcounting
    7337ff2093e0 perf inject: Fix dso->nsinfo refcounting
    a87d42ae7f5d KVM: x86/pmu: Clear anythread deprecated bit when 0xa leaf is unsupported on the SVM
    b990585f9b7a nvme-pci: do not call nvme_dev_remove_admin from nvme_remove
    0fa11e1a20c7 mptcp: fix warning in __skb_flow_dissect() when do syn cookie for subflow join
    3714e0bb0dcf cxgb4: fix IRQ free race during driver unload
    d92337bf54f2 pwm: sprd: Ensure configuring period and duty_cycle isn't wrongly skipped
    f1edbcc47f46 selftests: icmp_redirect: IPv6 PMTU info should be cleared after redirect
    906bbb18db78 selftests: icmp_redirect: remove from checking for IPv6 route get
    bb737eceb9a4 stmmac: platform: Fix signedness bug in stmmac_probe_config_dt()
    79ec7b5b2f4f ipv6: fix 'disable_policy' for fwd packets
    35eaefb44ed7 bonding: fix incorrect return value of bond_ipsec_offload_ok()
    13626bad63e8 bonding: fix suspicious RCU usage in bond_ipsec_offload_ok()
    56ccdf868ab6 bonding: Add struct bond_ipesc to manage SA
    b3bd1f5e5037 bonding: disallow setting nested bonding + ipsec offload
    43511a6a164a bonding: fix suspicious RCU usage in bond_ipsec_del_sa()
    6ca0e55a1310 ixgbevf: use xso.real_dev instead of xso.dev in callback functions of struct xfrmdev_ops
    ba7bfcdff1ad bonding: fix null dereference in bond_ipsec_add_sa()
    3ae639af3626 bonding: fix suspicious RCU usage in bond_ipsec_add_sa()
    4a31baf55f6a net: add kcov handle to skb extensions
    78e4baff950d gve: Fix an error handling path in 'gve_probe()'
    813449fb85f6 igb: Fix position of assignment to *ring
    44171801d39c igb: Check if num of q_vectors is smaller than max before array access
    cb9292445d23 iavf: Fix an error handling path in 'iavf_probe()'
    a6756d637b40 e1000e: Fix an error handling path in 'e1000_probe()'
    dea695a2ee23 fm10k: Fix an error handling path in 'fm10k_probe()'
    a099192fe7e1 igb: Fix an error handling path in 'igb_probe()'
    db4c32c1b926 igc: Fix an error handling path in 'igc_probe()'
    7bc9fb1f8019 ixgbe: Fix an error handling path in 'ixgbe_probe()'
    02d1af0bee65 igc: change default return of igc_read_phy_reg()
    f153664d8e70 igb: Fix use-after-free error during reset
    e15f629036ba igc: Fix use-after-free error during reset

(From OE-Core rev: 9a56f6566208517e458e5279992abe9664c4ae67)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-17 09:53:04 +01:00
Bruce Ashfield
4fbdad2ca4 linux-yocto/5.4: update to v5.4.137
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:

    5b1de8e15f0f Linux 5.4.137
    ebb1b38be0c9 ipv6: ip6_finish_output2: set sk into newly allocated nskb
    6c04123962f0 ARM: dts: versatile: Fix up interrupt controller node names
    befa900533a9 iomap: remove the length variable in iomap_seek_hole
    83fb41b2f6e4 iomap: remove the length variable in iomap_seek_data
    302e1acd4c26 cifs: fix the out of range assignment to bit fields in parse_server_interfaces
    02a470e3c64a firmware: arm_scmi: Fix range check for the maximum number of pending messages
    289dd584319f firmware: arm_scmi: Fix possible scmi_linux_errmap buffer overflow
    e3acb292f092 hfs: add lock nesting notation to hfs_find_init
    af1178296d77 hfs: fix high memory mapping in hfs_bnode_read
    89136a47e2e7 hfs: add missing clean-up in hfs_fill_super
    ded37d03440d ipv6: allocate enough headroom in ip6_finish_output2()
    f65b7f377cca sctp: move 198 addresses from unusable to private scope
    c8d32973ee6a net: annotate data race around sk_ll_usec
    c23b9a5610f9 net/802/garp: fix memleak in garp_request_join()
    88c4cae3ed25 net/802/mrp: fix memleak in mrp_request_join()
    eef99860c677 cgroup1: fix leaked context root causing sporadic NULL deref in LTP
    7f0365b4daaa workqueue: fix UAF in pwq_unbound_release_workfn()
    85abe0d47fe6 af_unix: fix garbage collect vs MSG_PEEK
    af45f3527aa0 KVM: x86: determine if an exception has an error code only when injecting it.
    828cab3c8c23 tools: Allow proper CC/CXX/... override with LLVM=1 in Makefile.include
    525c5513b60d selftest: fix build error in tools/testing/selftests/vm/userfaultfd.c
    253dccefb5cb Linux 5.4.136
    587f86b7a2a0 xhci: add xhci_get_virt_ep() helper
    f9d0c35556cd perf inject: Close inject.output on exit
    a9c103fa91e4 PCI: Mark AMD Navi14 GPU ATS as broken
    11561d2f7b9d btrfs: compression: don't try to compress if we don't have enough pages
    4980301e1c1f iio: accel: bma180: Fix BMA25x bandwidth register values
    d04f2582c47e iio: accel: bma180: Use explicit member assignment
    4e0afa88954b net: bcmgenet: ensure EXT_ENERGY_DET_MASK is clear
    2a4865d1547e net: dsa: mv88e6xxx: use correct .stats_set_histogram() on Topaz
    7d8c06b8d2d2 drm: Return -ENOTTY for non-drm ioctls
    b5d7bebd96a3 nds32: fix up stack guard gap
    ba378b796088 rbd: always kick acquire on "acquired" and "released" notifications
    13066d6628f0 rbd: don't hold lock_rwsem while running_list is being drained
    b12ead825f6c hugetlbfs: fix mount mode command line processing
    60dbbd76f110 userfaultfd: do not untag user pointers
    540eee8cbb3d selftest: use mmap instead of posix_memalign to allocate memory
    e706ac3fc82e ixgbe: Fix packet corruption due to missing DMA sync
    e617fa62f6cf media: ngene: Fix out-of-bounds bug in ngene_command_config_free_buf()
    77713fb336ca btrfs: check for missing device in btrfs_trim_fs
    f899f24d34d9 tracing: Fix bug in rb_per_cpu_empty() that might cause deadloop.
    59a9f75fb2b6 tracing/histogram: Rename "cpu" to "common_cpu"
    379d8da3353e firmware/efi: Tell memblock about EFI iomem reservations
    281a94362bbe usb: dwc2: gadget: Fix sending zero length packet in DDMA mode.
    167079fbfaa7 USB: serial: cp210x: add ID for CEL EM3588 USB ZigBee stick
    811c4cdf2917 USB: serial: cp210x: fix comments for GE CS1000
    f54ee7e16d0d USB: serial: option: add support for u-blox LARA-R6 family
    e28d28eb9be6 usb: renesas_usbhs: Fix superfluous irqs happen after usb_pkt_pop()
    863d071dbcd5 usb: max-3421: Prevent corruption of freed memory
    e4077a90e600 USB: usb-storage: Add LaCie Rugged USB3-FW to IGNORE_UAS
    da6f6769ee0f usb: hub: Fix link power management max exit latency (MEL) calculations
    fea6b53e631a usb: hub: Disable USB 3 device initiated lpm if exit latency is too high
    962ce043ef92 KVM: PPC: Book3S HV Nested: Sanitise H_ENTER_NESTED TM state
    2b9ffddd70b4 KVM: PPC: Book3S: Fix H_RTAS rets buffer overflow
    c968f563ccde xhci: Fix lost USB 2 remote wake
    a660ecde5c55 ALSA: hdmi: Expose all pins on MSI MS-7C94 board
    f73696354d59 ALSA: sb: Fix potential ABBA deadlock in CSP driver
    7aa2dfbc6bd0 ALSA: usb-audio: Add registration quirk for JBL Quantum headsets
    46d62c3fe2ab ALSA: usb-audio: Add missing proc text entry for BESPOKEN type
    f1754f96ab41 s390/boot: fix use of expolines in the DMA code
    8eb521d19248 s390/ftrace: fix ftrace_update_ftrace_func implementation
    268132b070d9 Revert "MIPS: add PMD table accounting into MIPS'pmd_alloc_one"
    f323809e3108 proc: Avoid mixing integer types in mem_rw()
    b71a75209f6a drm/panel: raspberrypi-touchscreen: Prevent double-free
    2e6ab87f8e63 net: sched: cls_api: Fix the the wrong parameter
    b60461696a0b sctp: update active_key for asoc when old key is being replaced
    9fa89c2caee2 nvme: set the PRACT bit when using Write Zeroes with T10 PI
    c50141b3d769 r8169: Avoid duplicate sysfs entry creation error
    f726817d6b42 afs: Fix tracepoint string placement with built-in AFS
    b22c9e433bb7 Revert "USB: quirks: ignore remote wake-up on Fibocom L850-GL LTE modem"
    69a49e7b5baf nvme-pci: don't WARN_ON in nvme_reset_work if ctrl.state is not RESETTING
    830251361425 ipv6: fix another slab-out-of-bounds in fib6_nh_flush_exceptions
    a88414fb1117 net/sched: act_skbmod: Skip non-Ethernet packets
    c278b954ccc7 net: hns3: fix rx VLAN offload state inconsistent issue
    006ed6f4d00b net/tcp_fastopen: fix data races around tfo_active_disable_stamp
    3942ba235693 net: hisilicon: rename CACHE_LINE_MASK to avoid redefinition
    f11f12decd55 bnxt_en: Check abort error state in bnxt_half_open_nic()
    16ce6cb78690 bnxt_en: Add missing check for BNXT_STATE_ABORT_ERR in bnxt_fw_rset_task()
    c993e7aadc50 bnxt_en: Refresh RoCE capabilities in bnxt_ulp_probe()
    6ee8e6be3067 bnxt_en: Improve bnxt_ulp_stop()/bnxt_ulp_start() call sequence.
    35637acc9810 spi: cadence: Correct initialisation of runtime PM again
    2f2150bf41c1 scsi: target: Fix protect handling in WRITE SAME(32)
    a6cb717f8534 scsi: iscsi: Fix iface sysfs attr detection
    25df44e90ff5 netrom: Decrease sock refcount when sock timers expire
    8d7924ce85ba net: sched: fix memory leak in tcindex_partial_destroy_work
    f38527f18905 KVM: PPC: Fix kvm_arch_vcpu_ioctl vcpu_load leak
    b85dadd4347b KVM: PPC: Book3S: Fix CONFIG_TRANSACTIONAL_MEM=n crash
    b3224bd31861 net: decnet: Fix sleeping inside in af_decnet
    bd2b3b13aa2a efi/tpm: Differentiate missing and invalid final event log table.
    9413c0abb57f net: fix uninit-value in caif_seqpkt_sendmsg
    6d56299ff911 bpftool: Check malloc return value in mount_bpffs_for_pin
    edec10098675 bpf, sockmap, tcp: sk_prot needs inuse_idx set for proc stats
    58259e8b6e85 s390/bpf: Perform r1 range checking before accessing jit->seen_reg[r1]
    cc876a5618bc liquidio: Fix unintentional sign extension issue on left shift of u16
    42fe8f433b31 ASoC: rt5631: Fix regcache sync errors on resume
    d99aaf07365f spi: mediatek: fix fifo rx mode
    08cdda8d8972 regulator: hi6421: Fix getting wrong drvdata
    b25be6bf6419 regulator: hi6421: Use correct variable type for regmap api val argument
    a1ade24cccb5 spi: stm32: fixes pm_runtime calls in probe/remove
    40e203ce74eb spi: stm32: Use dma_request_chan() instead dma_request_slave_channel()
    24b78097a837 spi: imx: add a check for speed_hz before calculating the clock
    52cff6123aa0 perf data: Close all files in close_dir()
    0f63857d1099 perf probe-file: Delete namelist in del_events() on the error path
    8b92ea243bbf perf lzma: Close lzma stream on exit
    51351c6d5a18 perf script: Fix memory 'threads' and 'cpus' leaks on exit
    d2bfc3eda914 perf dso: Fix memory leak in dso__new_map()
    05804a7d223d perf test event_update: Fix memory leak of evlist
    d257f3abdc71 perf test session_topology: Delete session->evlist
    89d1762a4a21 perf env: Fix sibling_dies memory leak
    fd335143befb perf probe: Fix dso->nsinfo refcounting
    6513dee46f80 perf map: Fix dso->nsinfo refcounting
    ff9fc81fa884 nvme-pci: do not call nvme_dev_remove_admin from nvme_remove
    d029df83c61a cxgb4: fix IRQ free race during driver unload
    ae9b64434441 pwm: sprd: Ensure configuring period and duty_cycle isn't wrongly skipped
    a37ca2a076ec selftests: icmp_redirect: IPv6 PMTU info should be cleared after redirect
    05364a2794fb selftests: icmp_redirect: remove from checking for IPv6 route get
    7f4848229e91 ipv6: fix 'disable_policy' for fwd packets
    c67fb96f5431 gve: Fix an error handling path in 'gve_probe()'
    e33da4eeaa35 igb: Fix position of assignment to *ring
    7dd897773618 igb: Check if num of q_vectors is smaller than max before array access
    d3d7cceee841 iavf: Fix an error handling path in 'iavf_probe()'
    7a13a8a8a5fb e1000e: Fix an error handling path in 'e1000_probe()'
    9fc381db7583 fm10k: Fix an error handling path in 'fm10k_probe()'
    5d6a04927b08 igb: Fix an error handling path in 'igb_probe()'
    cddd53237de8 igc: Fix an error handling path in 'igc_probe()'
    47f69d8828e7 igc: Prefer to use the pci_release_mem_regions method
    83b2d55a512a ixgbe: Fix an error handling path in 'ixgbe_probe()'
    ba4fbb68fcfe igc: change default return of igc_read_phy_reg()
    88e0720133d4 igb: Fix use-after-free error during reset
    a9508e0edfe3 igc: Fix use-after-free error during reset

(From OE-Core rev: d308f120891e23c34fa8ae38a7e87aa3810518ae)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-17 09:53:04 +01:00
Bruce Ashfield
22406f9104 linux-yocto/5.13: update to v5.13.7
Updating linux-yocto/5.13 to the latest korg -stable release that comprises
the following commits:

    f17352f54186 Linux 5.13.7
    f2cd12e7fd48 ipv6: ip6_finish_output2: set sk into newly allocated nskb
    0f448675132a ARM: dts: versatile: Fix up interrupt controller node names
    0ad0e62e74ce iomap: remove the length variable in iomap_seek_hole
    521168b44c08 iomap: remove the length variable in iomap_seek_data
    84342d6983f2 cifs: fix the out of range assignment to bit fields in parse_server_interfaces
    a46f1f66cfcb firmware: arm_scmi: Fix range check for the maximum number of pending messages
    ec67007e7406 firmware: arm_scmi: Fix possible scmi_linux_errmap buffer overflow
    ca03de06def9 hfs: add lock nesting notation to hfs_find_init
    8a2d2974d002 hfs: fix high memory mapping in hfs_bnode_read
    c2820b902115 hfs: add missing clean-up in hfs_fill_super
    37ac00a0d358 drm/ttm: add a check against null pointer dereference
    f11bec89ad63 nvme-pci: fix multiple races in nvme_setup_io_queues
    b34c668a867f ipv6: allocate enough headroom in ip6_finish_output2()
    3ba36f82d50d rcu-tasks: Don't delete holdouts within trc_wait_for_one_reader()
    1dccf9d5a724 rcu-tasks: Don't delete holdouts within trc_inspect_reader()
    83af97f61527 sctp: move 198 addresses from unusable to private scope
    7fd4d15f11b3 net: annotate data race around sk_ll_usec
    18f12f741d09 net/802/garp: fix memleak in garp_request_join()
    7184851762b3 net/802/mrp: fix memleak in mrp_request_join()
    141cf6c82b4f cgroup1: fix leaked context root causing sporadic NULL deref in LTP
    c294c83fb614 workqueue: fix UAF in pwq_unbound_release_workfn()
    72d0df0831ff af_unix: fix garbage collect vs MSG_PEEK
    6fdb13a7e573 Linux 5.13.6
    2db604ff60dd skbuff: Fix build with SKB extensions disabled
    429826249d80 sfc: ensure correct number of XDP queues
    b1ea64337fde spi: spi-cadence-quadspi: Fix division by zero warning - try2
    c4443564f8f6 drm/i915/gvt: Clear d3_entered on elsp cmd submission.
    9bad2eae08e2 perf inject: Close inject.output on exit
    5cf3d397fcf6 arm64: entry: fix KCOV suppression
    12b439933302 Documentation: Fix intiramfs script name
    337deea6460d ARM: multi_v7_defconfig: Make NOP_USB_XCEIV driver built-in
    a5fd9d3d35bc skbuff: Release nfct refcount on napi stolen or re-used skbs
    8f738d2d51cf mptcp: fix 'masking a bool' warning
    ecc9318db5ff bonding: fix build issue
    da510a38cb60 spi: spi-cadence-quadspi: Revert "Fix division by zero warning"
    bc93e9909cc8 drm/amdgpu: update golden setting for sienna_cichlid
    52ee22ce8af2 drm/amdgpu: update the golden setting for vangogh
    72097f7beefd drm/amdgpu: update gc golden setting for dimgrey_cavefish
    75ab00b813e4 drm: Return -ENOTTY for non-drm ioctls
    c9d31f7d17e4 driver core: Prevent warning when removing a device link from unregistered consumer
    9d06d3d2a16d nds32: fix up stack guard gap
    7544d21b4014 misc: eeprom: at24: Always append device id even if label property is set.
    6ef92931cc5b rbd: always kick acquire on "acquired" and "released" notifications
    8b334d74fbbd rbd: don't hold lock_rwsem while running_list is being drained
    79da14fac0b5 hugetlbfs: fix mount mode command line processing
    4861f6d3b90f mm: fix the deadlock in finish_fault()
    5d4b4d2e3c8d memblock: make for_each_mem_range() traverse MEMBLOCK_HOTPLUG regions
    0e88a5bee0f5 mm: page_alloc: fix page_poison=1 / INIT_ON_ALLOC_DEFAULT_ON interaction
    ee791f0bba88 mm: call flush_dcache_page() in memcpy_to_page() and memzero_page()
    5040926bc22d kfence: skip all GFP_ZONEMASK allocations
    e9adaed2f126 kfence: move the size check to the beginning of __kfence_alloc()
    60e7f63de337 userfaultfd: do not untag user pointers
    a6ead78130ad io_uring: fix early fdput() of file
    81cebadedc37 io_uring: remove double poll entry on arm failure
    0d80ae099a49 io_uring: explicitly count entries for poll reqs
    2f13b6fece9a selftest: use mmap instead of posix_memalign to allocate memory
    fae0c4bb0366 posix-cpu-timers: Fix rearm racing against process tick
    52db60a983d2 bus: mhi: pci_generic: Fix inbound IPCR channel
    aed4f5b51aba bus: mhi: core: Validate channel ID when processing command completions
    a88270680663 bus: mhi: pci_generic: Apply no-op for wake using sideband wake boolean
    ce5b3de58fc2 driver core: auxiliary bus: Fix memory leak when driver_register() fail
    423123e428a1 ixgbe: Fix packet corruption due to missing DMA sync
    b9a178f189bb media: ngene: Fix out-of-bounds bug in ngene_command_config_free_buf()
    f5ef2fe05d38 btrfs: fix lock inversion problem when doing qgroup extent tracing
    6f919907e92e btrfs: fix unpersisted i_size on fsync after expanding truncate
    a02b54480573 btrfs: check for missing device in btrfs_trim_fs
    020d8ceab341 tracing: Synthetic event field_pos is an index not a boolean
    917a5bdd114a tracing: Fix bug in rb_per_cpu_empty() that might cause deadloop.
    29ecaddb8655 tracing/histogram: Rename "cpu" to "common_cpu"
    58f47cfe5210 tracepoints: Update static_call before tp_funcs when adding a tracepoint
    0ea2fd39f119 firmware/efi: Tell memblock about EFI iomem reservations
    68a4037d5dd0 usb: typec: stusb160x: Don't block probing of consumer of "connector" nodes
    eeb18490e8f4 usb: typec: stusb160x: register role switch before interrupt registration
    703527bf8391 usb: typec: tipd: Don't block probing of consumer of "connector" nodes
    61c129211a3d usb: dwc2: gadget: Fix sending zero length packet in DDMA mode.
    bd062872040b usb: dwc2: gadget: Fix GOUTNAK flow for Slave mode.
    36b53430c97f usb: dwc2: Skip clock gating on Samsung SoCs
    b85e8638ba15 usb: gadget: Fix Unbalanced pm_runtime_enable in tegra_xudc_probe
    7138b108ecdb USB: serial: cp210x: add ID for CEL EM3588 USB ZigBee stick
    f1a01c2b4628 USB: serial: cp210x: fix comments for GE CS1000
    8a55cb17e401 USB: serial: option: add support for u-blox LARA-R6 family
    c9d143a3d8aa usb: renesas_usbhs: Fix superfluous irqs happen after usb_pkt_pop()
    d4179cdb769a usb: max-3421: Prevent corruption of freed memory
    3b5d8c72ffd5 USB: usb-storage: Add LaCie Rugged USB3-FW to IGNORE_UAS
    9499b2d2cc60 usb: hub: Fix link power management max exit latency (MEL) calculations
    c7affd5b0226 usb: hub: Disable USB 3 device initiated lpm if exit latency is too high
    1408e47ab233 KVM: PPC: Book3S HV Nested: Sanitise H_ENTER_NESTED TM state
    35e114e6f84a KVM: PPC: Book3S: Fix H_RTAS rets buffer overflow
    3d98808e2414 usb: ehci: Prevent missed ehci interrupts with edge-triggered MSI
    2c476bab2818 xhci: Fix lost USB 2 remote wake
    6c15cef90a45 usb: xhci: avoid renesas_usb_fw.mem when it's unusable
    62b022edb187 Revert "usb: renesas-xhci: Fix handling of unknown ROM state"
    0def8cf06098 ALSA: pcm: Fix mmap capability check
    7ca1bb5bace3 ALSA: pcm: Call substream ack() method upon compat mmap commit
    7810cd82b1ad ALSA: hdmi: Expose all pins on MSI MS-7C94 board
    7b75c0f0a668 ALSA: hda/realtek: Fix pop noise and 2 Front Mic issues on a machine
    ac8ea355df6d ALSA: sb: Fix potential ABBA deadlock in CSP driver
    ecdaa9716666 ALSA: usb-audio: Add registration quirk for JBL Quantum headsets
    498129dedee0 ALSA: usb-audio: Add missing proc text entry for BESPOKEN type
    ca4c5e5c7beb s390/boot: fix use of expolines in the DMA code
    fde6627ce6dc s390/ftrace: fix ftrace_update_ftrace_func implementation
    93af4d65538c mmc: core: Don't allocate IDA for OF aliases
    025b6262dc96 io_uring: Fix race condition when sqp thread goes to sleep
    ccf23a088807 ACPI: fix NULL pointer dereference
    343b467acb55 proc: Avoid mixing integer types in mem_rw()
    11b40c8a67fe cifs: fix fallocate when trying to allocate a hole.
    a803678bd60e cifs: only write 64kb at a time when fallocating a small region of a file
    ea826bd778f5 dpaa2-switch: seed the buffer pool after allocating the swp
    a0f2f2bf424d drm/panel: raspberrypi-touchscreen: Prevent double-free
    6cd7bb123703 net: sched: cls_api: Fix the the wrong parameter
    c95f925b0c7e RISC-V: load initrd wherever it fits into memory
    0bc325702d70 net: dsa: sja1105: make VID 4095 a bridge VLAN too
    ec7be4fdd8e1 tcp: disable TFO blackhole logic by default
    ad9bfbe97bde riscv: Fix 32-bit RISC-V boot failure
    fecd81c2e62f ibmvnic: Remove the proper scrq flush
    fee8c811ab34 udp: check encap socket in __udp_lib_err
    c1de376423a7 sctp: update active_key for asoc when old key is being replaced
    65bd5af10d02 nvme: set the PRACT bit when using Write Zeroes with T10 PI
    bc08be0ed085 r8169: Avoid duplicate sysfs entry creation error
    2131ea612692 afs: Fix setting of writeback_index
    8dda575c8912 afs: check function return
    3d888afffcf3 afs: Fix tracepoint string placement with built-in AFS
    6bd6db23b44d Revert "USB: quirks: ignore remote wake-up on Fibocom L850-GL LTE modem"
    de3a841649ae nvme-pci: don't WARN_ON in nvme_reset_work if ctrl.state is not RESETTING
    a521c15683c1 drm/ttm: Force re-init if ttm_global_init() fails
    e7732c5a19a1 scsi: target: Fix NULL dereference on XCOPY completion
    2ed13e8f7829 i2c: mpc: Poll for MCF
    a706c12da916 ceph: don't WARN if we're still opening a session to an MDS
    115784bcccf1 ipv6: fix another slab-out-of-bounds in fib6_nh_flush_exceptions
    34f1e1f657fa net/sched: act_skbmod: Skip non-Ethernet packets
    502731a03f27 io_uring: fix memleak in io_init_wq_offload()
    23c492a50418 spi: spi-bcm2835: Fix deadlock
    140e0dbad4cf net: hns3: fix rx VLAN offload state inconsistent issue
    1e3b38761394 net: hns3: fix possible mismatches resp of mailbox
    e52445629c2e ALSA: hda: intel-dsp-cfg: add missing ElkhartLake PCI ID
    ce9f267d9e8a net/tcp_fastopen: fix data races around tfo_active_disable_stamp
    b9d21b9b46bd net: hisilicon: rename CACHE_LINE_MASK to avoid redefinition
    a24886feddba bnxt_en: Check abort error state in bnxt_half_open_nic()
    c2ed50ff29f8 bnxt_en: Validate vlan protocol ID on RX packets
    a1a54e07e63c bnxt_en: fix error path of FW reset
    c8c2eed44e41 bnxt_en: Add missing check for BNXT_STATE_ABORT_ERR in bnxt_fw_rset_task()
    4564b85633b2 bnxt_en: Refresh RoCE capabilities in bnxt_ulp_probe()
    52b6ad30a026 bnxt_en: don't disable an already disabled PCI device
    8ac2e2d69b35 ACPI: utils: Fix reference counting in for_each_acpi_dev_match()
    587c2751068a efi/dev-path-parser: Switch to use for_each_acpi_dev_match()
    4657af6770c0 ACPI: Kconfig: Fix table override from built-in initrd
    24376facf2fd spi: cadence: Correct initialisation of runtime PM again
    6128d746d705 scsi: target: Fix protect handling in WRITE SAME(32)
    868ffb5f290f scsi: iscsi: Fix iface sysfs attr detection
    bc1660206c37 netrom: Decrease sock refcount when sock timers expire
    c9437655302c sctp: trim optlen when it's a huge value in sctp_setsockopt
    cac71d27745f net: sched: fix memory leak in tcindex_partial_destroy_work
    a4a488915fea KVM: PPC: Fix kvm_arch_vcpu_ioctl vcpu_load leak
    cdf4a0589eaf KVM: PPC: Book3S: Fix CONFIG_TRANSACTIONAL_MEM=n crash
    69f253c44401 net: decnet: Fix sleeping inside in af_decnet
    626cb6d84ba2 efi/tpm: Differentiate missing and invalid final event log table.
    f6eeb0829e1a ASoC: soc-pcm: add a flag to reverse the stop sequence
    57df79dd0b47 dma-mapping: handle vmalloc addresses in dma_common_{mmap,get_sgtable}
    eeaa4b8d1e2e usb: hso: fix error handling code of hso_create_net_device
    d20ce763c690 spi: spi-cadence-quadspi: Fix division by zero warning
    d4c7797ab151 net: fix uninit-value in caif_seqpkt_sendmsg
    3d6f06fb19fb bpftool: Check malloc return value in mount_bpffs_for_pin
    464c306367cb bpf, sockmap, udp: sk_prot needs inuse_idx set for proc stats
    600b122a690b bpf, sockmap, tcp: sk_prot needs inuse_idx set for proc stats
    6c508a1c6c62 bpf, sockmap: Fix potential memory leak on unlikely error case
    6be4502a80e3 s390/bpf: Perform r1 range checking before accessing jit->seen_reg[r1]
    7006eabb4044 liquidio: Fix unintentional sign extension issue on left shift of u16
    1dd68ece22ba net: dsa: mv88e6xxx: NET_DSA_MV88E6XXX_PTP should depend on NET_DSA_MV88E6XXX
    5bd05b57e901 drm/vc4: hdmi: Drop devm interrupt handler for CEC interrupts
    3ba73cb98302 timers: Fix get_next_timer_interrupt() with no timers pending
    364ec7249d01 ASoC: SOF: Intel: Update ADL descriptor to use ACPI power states
    a7537dc73e69 xdp, net: Fix use-after-free in bpf_xdp_link_release
    cbb086074dab bpf: Fix tail_call_reachable rejection for interpreter when jit failed
    cd12f874ae10 bpf, test: fix NULL pointer dereference on invalid expected_attach_type
    bc813a1ae95c ASoC: rt5631: Fix regcache sync errors on resume
    09b8cc781058 spi: mediatek: fix fifo rx mode
    edd1b2b19214 regulator: hi6421: Fix getting wrong drvdata
    ae58c13a6b24 regulator: hi6421: Use correct variable type for regmap api val argument
    ffb6e766e200 spi: stm32: fixes pm_runtime calls in probe/remove
    5b64a59c2c6e ASoC: wm_adsp: Correct wm_coeff_tlv_get handling
    14e7330ad106 Kbuild: lto: fix module versionings mismatch in GNU make 3.X
    4fc85eb66086 perf sched: Fix record failure when CONFIG_SCHEDSTATS is not set
    a83d04c140e3 perf data: Close all files in close_dir()
    ed0bdfef4ba5 perf probe-file: Delete namelist in del_events() on the error path
    871c7043aa52 perf lzma: Close lzma stream on exit
    e4518a4141f2 perf script: Fix memory 'threads' and 'cpus' leaks on exit
    a412ae547ed5 perf script: Release zstd data
    f50f139670f9 perf report: Free generated help strings for sort option
    97bb58171315 perf env: Fix memory leak of cpu_pmu_caps
    9f29d864b4ad perf test maps__merge_in: Fix memory leak of maps
    976804a726c7 perf dso: Fix memory leak in dso__new_map()
    e39103cfa102 perf test event_update: Fix memory leak of unit
    4db1e70516a4 perf test event_update: Fix memory leak of evlist
    19239ff4c98d perf test session_topology: Delete session->evlist
    76b70b7987e7 perf env: Fix sibling_dies memory leak
    1e338fb1f779 perf probe: Fix dso->nsinfo refcounting
    7ec2746ef5c6 perf map: Fix dso->nsinfo refcounting
    54dc8a81b785 perf inject: Fix dso->nsinfo refcounting
    ebeae3340557 firmware: arm_scmi: Ensure drivers provide a probe function
    1824f2a7d4a7 ARM: dts: aspeed: Update e3c246d4i vuart properties
    9fe5024f5738 arm64: mte: fix restoration of GCR_EL1 from suspend
    3a2c492e7528 KVM: SVM: Fix sev_pin_memory() error checks in SEV migration utilities
    9d85689380b6 KVM: SVM: Return -EFAULT if copy_to_user() for SEV mig packet header fails
    319b79706f63 KVM: x86/pmu: Clear anythread deprecated bit when 0xa leaf is unsupported on the SVM
    916450b2101b sfc: fix lack of XDP TX queues - error XDP TX failed (-22)
    14a3ed8ef868 net: ocelot: fix switchdev objects synced for wrong netdev with LAG offload
    d1f7e509dc3a nvme-pci: do not call nvme_dev_remove_admin from nvme_remove
    b093e56f137c net: phy: marvell10g: fix differentiation of 88X3310 from 88X3340
    b2fe6fc671ea mptcp: properly account bulk freed memory
    cd7f1414f170 mptcp: refine mptcp_cleanup_rbuf
    b24550868ff6 mptcp: use fast lock for subflows when possible
    c888aa863218 selftests: mptcp: fix case multiple subflows limited by server
    fe2350115a5f mptcp: avoid processing packet if a subflow reset
    1dabd873933f mptcp: add sk parameter for mptcp_get_options
    89aa6912f2cf mptcp: fix syncookie process if mptcp can not_accept new subflow
    1aa3ffb95fdc mptcp: remove redundant req destruct in subflow_check_req()
    688984fc1af1 mptcp: fix warning in __skb_flow_dissect() when do syn cookie for subflow join
    5a870ea6e8b7 drm/vmwgfx: Fix a bad merge in otable batch takedown
    441b2f191e9f cxgb4: fix IRQ free race during driver unload
    efdf9d46bc15 pwm: sprd: Ensure configuring period and duty_cycle isn't wrongly skipped
    6c75b21b2aab selftests: icmp_redirect: IPv6 PMTU info should be cleared after redirect
    84d37878814b selftests: icmp_redirect: remove from checking for IPv6 route get
    b11b6ecda552 stmmac: platform: Fix signedness bug in stmmac_probe_config_dt()
    350e10d21733 ipv6: fix 'disable_policy' for fwd packets
    8994e395fc39 bonding: fix incorrect return value of bond_ipsec_offload_ok()
    4ac748c4b224 bonding: fix suspicious RCU usage in bond_ipsec_offload_ok()
    42ec69b9cd7d bonding: Add struct bond_ipesc to manage SA
    d5e9ed0855a4 bonding: disallow setting nested bonding + ipsec offload
    c24d04866549 bonding: fix suspicious RCU usage in bond_ipsec_del_sa()
    a1f01d2ddb55 ixgbevf: use xso.real_dev instead of xso.dev in callback functions of struct xfrmdev_ops
    9863701fa0ec bonding: fix null dereference in bond_ipsec_add_sa()
    9ae2584fdd67 bonding: fix suspicious RCU usage in bond_ipsec_add_sa()
    08d21fa872ec bpf, samples: Fix xdpsock with '-M' parameter missing unload process
    b2a6c45d44e9 gve: Fix an error handling path in 'gve_probe()'
    2f2b3b953b43 net: stmmac: Terminate FPE workqueue in suspend
    317de567c112 igb: Fix position of assignment to *ring
    6c82171aa35b igb: Check if num of q_vectors is smaller than max before array access
    e2b71652a5e3 iavf: Fix an error handling path in 'iavf_probe()'
    2f5343365d17 e1000e: Fix an error handling path in 'e1000_probe()'
    b928fdcafad9 fm10k: Fix an error handling path in 'fm10k_probe()'
    a0169ebdb140 igb: Fix an error handling path in 'igb_probe()'
    67ad97444580 igc: Fix an error handling path in 'igc_probe()'
    67a846441f8e ixgbe: Fix an error handling path in 'ixgbe_probe()'
    9d81d1be9f31 igc: change default return of igc_read_phy_reg()
    8e24c12f2ff6 igb: Fix use-after-free error during reset
    ea5e36b7367e igc: Fix use-after-free error during reset

(From OE-Core rev: ff80cef03f5a9cdf658ca7e81308042503d4f4ba)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-17 09:53:04 +01:00
Ross Burton
94dfcaff64 tar: ignore node-tar CVEs
These two CVEs are specific to the Node package node-tar.

(From OE-Core rev: bc7216e8148d0dee7b56e6851da6615e93647a0a)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-16 10:24:55 +01:00
Olaf Mandel
0b8f844c8c kickstart: document which options accept units
Document which units are accepted as parameters for the four options
that accept units. Also be pedantic about using binary instead of
decimal prefixes so readers don't have to wonder.

(From yocto-docs rev: 6b1d7d102ed3b509dfb3e43a3d7a27226f504df5)

Signed-off-by: Olaf Mandel <o.mandel@menlosystems.com>
Reviewed-by: Quentin Schulz <foss@0leil.net>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-14 12:04:24 +01:00
Tom Rini
2eb5550db4 manuals: Rename the "Using .bbappend Files in Your Layer" section
To prepare to add another example bbappend, rename the current "Using
.bbappend Files in Your Layer" section to "Appending Other Layers Metadata
With Your Layer". Name the current example as "Overlaying a File Using
Your Layer".

(From yocto-docs rev: 62d7b5721b2fbcf1e22fc4e7bbac51d52260730e)

Signed-off-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Reviewed-by: Quentin Schulz <foss@0leil.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-14 12:04:24 +01:00
Tom Rini
98ca1114ef common-tasks: Add a summary to the end of the bbappend example
Try and make it clearer what the final result of this bbappend example
is.

(From yocto-docs rev: c6d0b030fe495a9eb81ad542ad56479f7e7e18e2)

Signed-off-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Reviewed-by: Quentin Schulz <foss@0leil.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-14 12:04:24 +01:00
Daniel Gomez
cb8c550da4 docs: fix typo in releases
Fix dunfell typo for releases 3.1.9 and 3.1.10.

(From yocto-docs rev: aae1f5c1a4a0e1d56cfea66d06dbf8edbc084b8d)

Signed-off-by: Daniel Gomez <daniel@qtec.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-14 12:04:24 +01:00
Michael Opdenacker
0cf790a0fe dev-manual: fix grammar in post-install script explanations
(From yocto-docs rev: bc0fa4d432c3a9aeccc5758c7ca793cae4f4852b)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-14 12:04:24 +01:00
Michael Opdenacker
350197e46a Manuals: replace "file name" by "filename"
There are many more instances of "filename" or "filenames" than
of "file name" or "file names".

The winner takes it all!

(From yocto-docs rev: 13ef92bc301166c2e21d2603b2501749248dbe91)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-14 12:04:24 +01:00
Michael Opdenacker
b5f203516b sdk-manual: reference obsolete reference to ADT
(From yocto-docs rev: 024258ecd3c50184ab38d54e7bec2698c04fc631)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-14 12:04:23 +01:00
Quentin Schulz
52db0c7575 docs: overview-manual: concepts: remove long-gone BBHASHDEPS variable
BBHASHDEPS was removed from bitbake in April 2014, with the following
commit:
92526eadd09d "bitbake-worker: Drop BBHASH variables"

so let's remove mentions from the docs.

(From yocto-docs rev: f9e1768b8c85e3ad7fa974940a90996a5ffee3f5)

Signed-off-by: Quentin Schulz <foss@0leil.net>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-14 12:04:23 +01:00
Quentin Schulz
3d93ddf9e8 docs: fix new override syntax migration
Fix bits missed by the migration script.

(From yocto-docs rev: 452e0c5067476fd2ce81f09e6c73da84ced4bbd0)

Signed-off-by: Quentin Schulz <foss@0leil.net>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-14 12:04:23 +01:00
Michael Opdenacker
ed6482821c test-manual: overrides syntax updates
Updated with openembedded-core/scripts/contrib/convert-overrides.py

(From yocto-docs rev: 4bb16d0d1a0b8a42f20f39d79c642d612074565a)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-14 12:04:23 +01:00
Michael Opdenacker
134da15e22 sdk-manual: overrides syntax updates
Updated with openembedded-core/scripts/contrib/convert-overrides.py

(From yocto-docs rev: 39cf6b2eb063815a3e2bf7a71ffd1fd6351cc594)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-14 12:04:23 +01:00
Michael Opdenacker
956056e647 ref-manual: overrides syntax updates
Updated with openembedded-core/scripts/contrib/convert-overrides.py

(From yocto-docs rev: 23ee6fbdf429d4cf1de4129e92dc7de4e6e9d184)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-14 12:04:23 +01:00
Michael Opdenacker
80859f21b5 kernel-dev manual: overrides syntax updates
Updated with openembedded-core/scripts/contrib/convert-overrides.py

(From yocto-docs rev: d4598b592d1b0c9ce9448a8858eb4f47d83487b2)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-14 12:04:23 +01:00
Michael Opdenacker
ded502d2a7 dev-manual: overrides syntax updates
Updated with openembedded-core/scripts/contrib/convert-overrides.py

(From yocto-docs rev: 105c4af0f2d78f27639f4f4d8ee4be65fcbfda52)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-14 12:04:23 +01:00
Michael Opdenacker
4f2356a081 bsp-guide: overrides syntax updates
Updated with openembedded-core/scripts/contrib/convert-overrides.py

(From yocto-docs rev: 664890810e8dcdaf3dd4467ef8f9a99f72ce6dce)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-14 12:04:23 +01:00
Nisha Parrakat
8ff845c9ba dbus_%.bbappend: stop using selinux_set_mapping
https://gitlab.freedesktop.org/dbus/dbus/-/issues/198
6072f8b241

Currently, if the "dbus" security class or the associated AV doesn't
exist, dbus-daemon fails to initialize and exits immediately. Also the
security classes or access vector cannot be reordered in the policy.
This can be a problem for people developing their own policy or trying
to access a machine where, for some reasons, there is not policy defined
at all.

The code here copy the behaviour of the selinux_check_access() function.
We cannot use this function here as it doesn't allow us to define the
AVC entry reference.

See the discussion at https://marc.info/?l=selinux&m=152163374332372&w=2

(From OE-Core rev: 0441b53d55a919b5ac42e997f4092053b017b553)

Signed-off-by: Nisha Parrakat <nishaparrakat@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-13 22:43:56 +01:00
Tim Orling
ddd4b8c9a1 package.bbclass: FILER* override syntax
pkgdata no longer includes FILERPROVIDES* nor
FILERDEPENDS*. Fix with new override syntax.

Also apply to FILERPROVIDESLIST and FILERDEPENDSLIST.

(From OE-Core rev: 8f96a2d13bbae8fb70ed7feafdcff26544e3710d)

Signed-off-by: Tim Orling <timothy.t.orling@intel.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-13 22:43:56 +01:00
Joe Slater
49ae4a23d8 terminal.bbclass: force bash for devshell
Since shell_trap_code in build.py sets /bin/sh as the interpreter
we will die a silent death if our environment contains things like
"export -f bodilyfunction" and /bin/sh is really /bin/dash.

Fixes this for the case of devshell.

(From OE-Core rev: 23d296b3567aa31bad7b2a8558d4bd3e4505843b)

Signed-off-by: Joe Slater <joe.slater@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-13 22:43:56 +01:00
Tim Orling
0edac1f233 perl: do_create_rdepends_inc override syntax
The do_create_rdepends_inc function is used to recreate
the perl-rdepends.txt file. Update RDEPENDS_ to RDEPENDS:
for the new override syntax.

(From OE-Core rev: efc6ff1053aad393bbbd031f2504feb02891ae37)

Signed-off-by: Tim Orling <timothy.t.orling@intel.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-13 22:43:56 +01:00
Alexandre Belloni
26f1ecb72d oeqa/runtime/cases: make date.DateTest.test_date more reliable
The test uses the broken out time and can only handle about 59s of delay,
use a UNIX timestamp to allow for up to a 300s delay.

[YOCTO #14463]

(From OE-Core rev: b705e9373acd4119da75af4eb96ec92cc964aa86)

Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-13 22:43:56 +01:00
Joshua Watt
8a09663e7c lib/packagedata: Fix for new overrides
Fix read_subpkgdata_dict to account for the new override operator being
":" instead of "_"

(From OE-Core rev: 0b04ae769d4fad2caaa858803d8fbbbaec689541)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-13 22:43:55 +01:00
Joshua Watt
fa6c07bc1a classes/cve-check: Move get_patches_cves to library
Moving the function will allow other classes to capture which CVEs have
been patched, in particular SBoM generation.

Also add a function to capture the CPE ID from the CVE Product and
Version

(From OE-Core rev: 75d34259a715120be1d023e4fd7b6b4b125f2443)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-13 14:44:06 +01:00
Quentin Schulz
3ae80177fb insane.bbclass: fix new override syntax migration
A few variables and messages were not migrated over to the new override
syntax (_ to :).

Let's fix that.

(From OE-Core rev: c595d6040d2e0ef94d7da043b41226e90dddf318)

Signed-off-by: Quentin Schulz <foss@0leil.net>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-13 14:44:06 +01:00
Chen Qi
9fe8f88026 util-linux: add back manpages related settings
There was a time that util-linux requres asciidoctor to be there
to have man pages. However, now the tarball ships generated man
pages and will use them. So add back the related settings. Otherwise,
we get the following error when enabling 'doc-pkgs' image feature.

  + update-alternatives --install /usr/share/man/man1/kill.1 kill.1 /usr/share/man/man1/kill.1.procps 200
  update-alternatives: Error: not linking /.../tmp/work/qemux86_64-poky-linux/core-image-minimal/1.0-r0/rootfs/usr/share/man/man1/kill.1 \
  to /usr/share/man/man1/kill.1.procps since /.../tmp/work/qemux86_64-poky-linux/core-image-minimal/1.0-r0/rootfs/usr/share/man/man1/kill.1 exists and is not a link

(From OE-Core rev: 3d66fcc425495b5b68caf1a63c7118c692236cc4)

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>
2021-08-13 14:44:06 +01:00
Patrick Williams
b2bda4828b systemd: set zstd as default PACKAGECONFIG
Switch the default PACKAGECONFIG for compression feature from xz
to zstd.  zstd is significantly faster than xz with only slightly
worse compression ratios.  It is therefore much better suited for
activities like systemd-journald.

(From OE-Core rev: b1558bb058243f3a3de600ef5cf04bfaeac4fdeb)

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-13 14:44:06 +01:00
Patrick Williams
47c32a99ae systemd: add zstd PACKAGECONFIG
systemd supports using zstd compression for journald and core files.
Add the necessary PACKAGECONFIG to enable zstd.

(From OE-Core rev: 0e0f8b708beeb1f6add5168b92a5a6a2c8ce96cd)

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-13 14:44:06 +01:00
Yi Zhao
46e975c581 shadow: add PACKAGECONFIG for audit and selinux
Add PACKAGECONFIG for audit and selinux rather than disable them
directly. This is useful for selinux distro feature.

(From OE-Core rev: 0a0c6cfc5a17ed442aad9e71e627e0fa39e60ead)

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-13 14:44:06 +01:00
Yi Zhao
a38e358e16 glib-2.0: add PACKAGECONFIG for selinux
Add PACKAGECONFIG for selinux rather than disable it directly. This is
useful for selinux distro feature.

(From OE-Core rev: a4544876ad08c5169c07c49d351bedf6f2a16ce4)

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-13 14:44:06 +01:00
Jon Mason
dac9318c5a tune-cortexm*: add support for all Arm Cortex-M processors
Add tune entries for all Arm Cortex-M processors currently supported in
GCC (that are not currently present).  The ARMv7 entries were added in
conf/machine/include/ to match the existing Cortex-M and Cortex-A tune
files.  The ARMv8 entries were added to conf/machine/include/arm/armv8-m
to match how ARMv8 was done for Cortex-A processor tune files.

(From OE-Core rev: a9ff58f4cc1b45145fc1576c7eacabaea64b7bd4)

Signed-off-by: Jon Mason <jdmason@kudzu.us>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-13 14:44:06 +01:00
hongxu
7c88e08e62 sdk: fix relocate symlink failed
Install SDK to non-default dir, sysmlink mkfs.vfat is invalid

$ ./sdk.sh -y -d ./dnf-2 -S -D
$ ls sysroots/x86_64-wrlinuxsdk-linux/usr/bin/mkfs.vfat -al
lrwxrwxrwx 1 hjia users 99 Aug 10 20:38 sysroots/x86_64-wrlinuxsdk-linux/usr/bin/mkfs.vfat -> /opt/windriver/wrlinux-graphics/21.32/sysroots/x86_64-wrlinuxsdk-linux/usr/bin/mkfs.vfat.dosfstools

Since commit [bc4ee54535 sdk: Decouple default install path from
built in path] applied, sdk relocates symlink failed, it should
replace $SDK_BUILD_PATH rather than $DEFAULT_INSTALL_DIR, just
like above commit did

Without this commit:
...
|+ for l in $($SUDO_EXEC find $native_sysroot -type l)
|++ readlink path-to/sysroots/x86_64-wrlinuxsdk-linux/usr/bin/mkfs.vfat
|++ sed -e s:/usr/local/oecore-x86_64:path-to:
|+ ln -sfn /opt/windriver/wrlinux-graphics/21.32/sysroots/x86_64-wrlinuxsdk-linux/
usr/bin/mkfs.vfat.dosfstools path-to//sysroots/x86_64-wrlinuxsdk-linux/usr/bin/mkfs.vfat
...

After appling this commit:
...
|+ for l in $($SUDO_EXEC find $native_sysroot -type l)
|++ readlink path-to/sysroots/x86_64-wrlinuxsdk-linux/usr/bin/mkfs.vfat
|++ sed -e s:/opt/windriver/wrlinux-graphics/21.31:path-to:
|+ ln -sfn path-to/sysroots/x86_64-wrlinuxsdk-linux/usr/bin/mkfs.vfat.dosfstools
path-to/sysroots/x86_64-wrlinuxsdk-linux/usr/bin/mkfs.vfat
...

(From OE-Core rev: 942c06a7348070b92f722fa5c439c8c4404485b7)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-13 14:44:06 +01:00
Thomas Perrot
da6ba4d0b8 oeqa/selftest/fitimage: update tests to use two keys
Other keys (UBOOT_SIGN_IMG_KEYNAME) are required to sign individually the images
nodes, and these keys must be different from the ones used to sign the
configurations nodes (UBOOT_SIGN_KEYNAME), then fitimage tests need to be
updated.

(From OE-Core rev: dbaca2c2522ed0dc3d0a2f80dc4510aaec177afc)

Signed-off-by: Thomas Perrot <thomas.perrot@bootlin.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-13 14:44:06 +01:00
Thomas Perrot
50d8801d72 kernel-fitimage: images should not be signed with the same keys as the configurations
Otherwise the "required" property, from UBOOT_DTB_BINARY, will be set to "conf"
and no error will be raised in case of error.

(From OE-Core rev: 080e0dfed710035b2e40187d9d639ecf5ab84be2)

Signed-off-by: Thomas Perrot <thomas.perrot@bootlin.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-13 14:44:06 +01:00
Paul Barker
a428960183 pypi: Allow override of PyPI archive name
Some packages on PyPI don't follow the usual expectations for archive
naming. For example, the archive for asyncio-mqtt 0.10.0 is named
asyncio_mqtt-0.10.0.tar.gz (with an underscore instead of the dash used
in the package name).

To handle these edge cases a new PYPI_ARCHIVE_NAME variable is
introduced. By default this is set to the expected archive name based on
the PyPI package name, version and extension but it can be set to a
different value if needed in a recipe which inherits the pypi class.

(From OE-Core rev: 9659f5a51a2d094b45b52136feac4402d501b4f2)

Signed-off-by: Paul Barker <paul@pbarker.dev>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-13 14:44:05 +01:00
Dragos-Marian Panait
b3246ebd87 util-linux: fix CVE-2021-37600
sys-utils/ipcutils: be careful when call calloc() for uint64 nmembs

Fix: #1395
(From OE-Core rev: 9822232b4abd811bb9c8562f98c0aefc748340a0)

Signed-off-by: Karel Zak <kzak@redhat.com>

CVE: CVE-2021-37600
Upstream-Status: Backport [1c9143d0c1f979c3daf10e1c37b5b1e916c22a1c]

Signed-off-by: Dragos-Marian Panait <dragos.panait@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-13 14:44:05 +01:00
Yi Zhao
4e413911df dbus: add PACKAGECONFIG for audit and selinux
Add PACKAGECONFIG for audit and selinux rather than disable them
directly. This is useful for selinux distro feature.

(From OE-Core rev: 139e9a0fe59413fc98f1fb6112765a7a40192a4f)

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-13 14:44:05 +01:00
Paul Barker
c5ae7decf3 u-boot: Package extlinux.conf separately
A separate u-boot-extlinux package is created for the extlinux.conf file
so that it can be installed on its own if needed. If this package is
populated, it is added as a dependency of the main u-boot package so
that installing just u-boot still results in the extlinux.conf file
being present in the rootfs.

(From OE-Core rev: 40de891259e5b335e636cfa6f831b62415127e4c)

Signed-off-by: Paul Barker <paul@pbarker.dev>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-13 14:44:05 +01:00
Ross Burton
1e2e9a84d6 bitbake: fetch2/wget: fetch securely by default
The days of broken certificates are behind us now, so instead of always
passing --no-check-certificate to wget, don't pass it by default and
instead only pass it BB_CHECK_SSL_CERTS = "0".

[ YOCTO #14108 ]

(Bitbake rev: 4104850dd36096a9ff01836c5fca9ac0e452bcf8)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-12 06:28:01 +01:00
Ross Burton
ad507bd5c4 bitbake: fetch2/wget: ensure all variables are set when calling urllib
Instead of just exporting the proxy variables when calling into urllib,
use bb.utils.environment() to export all of the known variables that are
needed for proper connectivity.

Specifically, this ensures that SSL_CERT_FILE is set, so that libssl can
find the certificates in buildtools environments

(Bitbake rev: 116637b0e9aabae7f680b102dbf3577b8a58f049)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-12 06:28:01 +01:00
Ross Burton
3483841352 bitbake: fetch2: expose environment variable names that need to be exported
There is a list of environment variable names that need to be exported
when executing external commands, such as 'http_proxy'.  To avoid
duplication, make this a top-level variable.

Also add SSL_CERT_FILE, which is used by OpenSSL to locate the
certificate bundle. This is needed in buildtools environments where the
default path isn't valid.

(Bitbake rev: 5c2cf57fd11d91f749a3b562f6f0a863f15013ed)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-12 06:28:01 +01:00
Ross Burton
62098f9041 bitbake: utils: add environment updating context manager
bb.utils.environment() is a context manager to alter os.environ inside
a specific block, restoring it after the block is closed.

(Bitbake rev: 9974848f67581ff7d76cef52a94f505af99b4932)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-12 06:28:01 +01:00
Tim Orling
0975ff9b69 python3-scons{-native}: upgrade 4.1.0 -> 4.2.0
Update patch as setup.cfg changes are now in upstream.

License-Update: Update Copyright years

NOTE: The 4.2.0 Release of SCons will deprecate Python 3.5 Support.
Python 3.5 support will be dropped in the next major release.

RELEASE 4.2.0 - Sat, 31 Jul 2021 18:12:46 -0700

  From Byron Platt:
    - Fix Install() issue when copytree recursion gives bad arguments
      that can lead to install side-effects including keeping dangling
      symlinks and silently failing to copy directories (and their
      subdirectories) when the directory already exists in the target.

  From Joseph Brill:
    - Internal MSVS update: Remove unnecessary calls to find all
      installed versions of msvc when constructing the installed visual
      studios list.

  From William Deegan:
    - Improve Subst()'s logic to check for proper callable function or
      class's argument list. It will now allow callables with expected
      args, and any extra args as long as they have default arguments.
      Additionally functions with no defaults for extra arguments as
      long as they are set using functools.partial to create a new
      callable which set them.
    - Fix Issue #3035 - mingw with SHLIBVERSION set fails with either
      not a dll error or "Multiple ways to build the same target were
      specified for:".  Now mingw will disable creating the symlinks
      (and adding version string to ) dlls.  It sets
      SHLIBNOVERSIONSYMLINKS, IMPLIBNOVERSIONSYMLINKS and
      LDMODULENOVERSIONSYMLINKS to True.
    - Added --experimental flag, to enable various experimental
      features/tools.  You can specify 'all', 'none', or any combination
      of available experimental features.
    - Fix Issue #3933 - Remove unguarded print of debug information in
      SharedLibrary logic when SHLIBVERSION is specified.
    - Fix versioned shared library naming for MacOS platform.
      (Previously was libxyz.dylib.1.2.3, has been fixed to
      libxyz.1.2.3.dylib. Additionally the sonamed symlink had the same
      issue, that is now resolved as well)
    - Add experimental ninja builder. (Contributed by MongoDB, Daniel
      Moody and many others).
    - Fix #3955 - _LIBDIRFLAGS leaving $( and $) in *COMSTR output.
      Added affect_signature flag to _concat function.  If set to False,
      it will prepend and append $( and $). That way the various
      Environment variables can use that rather than
      "$( _concat(...)$)".
    - Fix issue with exparimental ninja tool which would fail on windows
      or when ninja package wasn't installed but --experimental=ninja was
      specified.
    - As part of experimental ninja tool, allow SetOption() to set both
      disable_execute_ninja and disable_ninja.

  From David H:
    - Fix Issue #3906 - `IMPLICIT_COMMAND_DEPENDENCIES` was not properly
      disabled when set to any string value (For example ['none','false',
      'no','off']) Also previously 'All' wouldn't have the desired affect.

  From Ivan Kravets:
    - Provide a custom argument escape function for `TempFileMunge`
      using a new `TEMPFILEARGESCFUNC` variable. Useful if you need to
      apply extra operations on a command argument before writing to a
      temporary file (fix Windows slashes, normalize paths, etc.)

  From Henrik Maier:
   - DocbookXslt tool: The XSLT stylesheet file is now initialized to an
     env.File() Node, such that dependencies work correctly in hierarchical
     builds (eg when using DocbookXslt in SConscript('subdir/SConscript')
     context.

  From Daniel Moody:
    - Update CacheDir to use uuid for tmpfile uniqueness instead of pid.
      This fixes cases for shared cache where two systems write to the
      same cache tmpfile at the same time because the happened to get the
      same pid.
    - Added support for passing custom CacheDir derived classes to
      SCons. Moved copy_from_cache attribute from the Environment class to
      CacheDir class. Code contributed by MongoDB.
    - Update BuildTask to pass all targets to the progress object fixing
      an issue where multi-target build nodes only got the first target
      passed to the progress object.
    - Fix a potential race condition in shared cache environments where
      the permissions are not writeable for a moment after the file has
      been renamed and other builds (users) will copy it out of the cache.
      Small reorganization of logic to copy files from cachedir. Moved
      CacheDir writeable permission code for copy to cache behind the atomic
      rename operation.
    - Added marking of intermediate and and multi target nodes generated
      from SConf tests so that is_conftest() is more accurate.
    - Added test for configure check failing to ensure it didn't break
      generating and running ninja.

  From Mats Wichmann:
    - Initial support in tests for Python 3.10 - expected bytecode and
      one changed expected exception message. Change some more regexes
      to be specified as rawstrings in response to DeprecationWarnings.
    - Add an example of adding an emitter to User Guide (concept from
      Jeremy Elson)
    - Add timing information for sconsign database dump when --debug=time
      is selected. Also switch to generally using time.perf_counter,
      which is the Python recommended way for timing short durations.
    - Drop remaining definitions of dict-like has_key methods, since
      Python 3 doesn't have a dictionary has_key (maintenance)
    - Do not treat --site-dir=DIR and --no-site-dir as distinct options.
      Allows a later instance to override an earlier one.
    - Ignore empty cmdline arguments when computing targets (issue 2986)
    - Remove long-deprecated construction variables PDFCOM, WIN32_INSERT_DEF,
      WIN32DEFPREFIX, WIN32DEFSUFFIX, WIN32EXPPREFIX, WIN32EXPSUFFIX.
      All have been replaced by other names since at least 1.0.
    - Add a __iadd__ method to the CLVar class so that inplace adds
      (+=) also work as expected (issue 2399)
    - Remove local copy of CLVar in EnvironmentTests unittest file -
      should be testing against the production version, and they
      didn't really differ.
    - Don't strip spaces in INSTALLSTR by using raw subst (issue 2018)
    - Deprecate Python 3.5 as a supported version.
    - CPPDEFINES now expands construction variable references (issue
      2363)
    - Restore behavior that Install()'d files are writable (issue 3927)
    - Simplified Mkdir(), the internal mkdir_func no longer needs to
      handle existing directories, it can now pass exist_ok=True to
      os.makedirs().
    - Avoid WhereIs exception if user set a tool name to empty (from
      issue 1742)
    - Maintenance: remove obsolete __getslice__ definitions (Py3 never
      calls); add Node.fs.scandir to call new (Py3.5) os.scandir;
      Node.fs.makedirs now passes the exist_ok flag; Cachedir creation
      now uses this flag.
    - Maintenance: remove unneeded imports and reorganize some.  Fix
      uses of warnings in some tools which instantiated the class but did
      nothing with them, need to instead call SCons.Warnings.warn with the
      warn class.
    - Drop overridden changed_since_last_build method in Value class.
    - Resync the SetOption implementation and the manpage, making sure
      new options are available and adding a notes column for misc
      information. SetOption equivalents to --hash-chunksize,
      --implicit-deps-unchanged and --implicit-deps-changed are enabled.
    - Add tests for SetOption failing on disallowed options and value
      types.
    - Maintenance: eliminate lots of checker complaints about Util.py.
    - Maintenance: fix checker-spotted issues in Environment (apply_tools)
      and EnvironmentTests (asserts comparing with self). For consistency,
      env.Tool() now returns a tool object the same way Tool() has done.
    - Change SConscript() missing SConscript behavior - if must_exist=False,
      the warning is suppressed.
    - Make sure TEMPFILEPREFIX can be set to an empty string (issue 3964)

  From Dillan Mills:
    - Add support for the
      (TARGET,SOURCE,TARGETS,SOURCES,CHANGED_TARGETS,CHANGED_SOURCES}.relpath
      property. This will provide a path relative to the top of the build
      tree (where the SConstruct is located) Fixes #396

  From Andrew Morrow:
    - Fix issue #3790: Generators in CPPDEFINES now have access to
      populated source and target lists

(From OE-Core rev: 37a0a8821838a15cc24e1fc84b632bebacb44fb0)

Signed-off-by: Tim Orling <timothy.t.orling@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-12 06:26:16 +01:00
Anton Blanchard
fb12b7a1cd pixman: Handle PowerPC without Altivec
Configure with -Dvmx=enabled/disabled based on the Altivec feature.

(From OE-Core rev: f6996bb609beb0fae621dfd88f581c0a1c6e38fa)

Signed-off-by: Anton Blanchard <anton@ozlabs.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-12 06:26:16 +01:00
Anton Blanchard
bba3e17098 kmod: use nonarch_base_libdir for depmod.d and modprobe.d
These should always be in /lib, regardless of the configuration.

(From OE-Core rev: 63877226c09a674d3794fdc171adf12fe604a3c9)

Signed-off-by: Anton Blanchard <anton@ozlabs.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-12 06:26:16 +01:00
Anton Blanchard
36d0038982 libjpeg-turbo: Handle powerpc64le without Altivec
Similar to 32/64 bit big endian PowerPC, build with -DWITH_SIMD=False
if the Altivec feature is not available.

(From OE-Core rev: 12f6273cb30b62af2da5edfb600abf8b28491f7a)

Signed-off-by: Anton Blanchard <anton@ozlabs.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-12 06:26:16 +01:00
Patrick Williams
50cbb9f0a4 pixman: re-disable iwmmxt
Commit dd9c3d042aa5c2ae0fd80b558ec7e9c793ff36f0 dropped the iwmmxt
disable as part of the meson conversion and said: "we can add this
back again if it fails."  It does.

| cc1: warning: switch '-mcpu=arm1176jz-s' conflicts with switch '-march=iwmmxt2'
| FAILED: pixman/libpixman-1.so.0.40.0
| lto1: fatal error: target specific builtin not available
| compilation terminated.

(From OE-Core rev: afa713033a7fc9b7c4ac3d703ea9218b4d775def)

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: Ia1278d18543493a3f9eace6c2dd2f84701b9c2b1
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-12 06:26:16 +01:00
Dmitry Baryshkov
52cd4ae51a linux-firmware: add more Qualcomm firmware packages
Add firmware packages for the recent Qualcomm SoCs:

 - linux-firmware-qcom-adreno-a650, linux-firmware-qcom-adreno-a660,
   containing firmware for Adreno A630 and A650 GPUs

 - linux-firmware-qcom-sm8250-audio, linux-firmware-sm8250-compute,
   containing firmware for audio and comute DSPs on SM8250 (QRB5165)

 - linux-firmware-qcom-vpu-1.0, linux-firmware-qcom-vpu-2.0 containing
   firmware for newer Venus video encoder/decoder

(From OE-Core rev: 31057a9d41a452bdb9e94b4160220f675332ef70)

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-12 06:26:16 +01:00
Alejandro Hernandez Samaniego
650b720f19 baremetal-helloworld: Enable RISC-V 32 port
$ runqemu nographic
runqemu - INFO - Running bitbake -e ...
KERNEL: [tmp/deploy/images/qemuriscv32/baremetal-helloworld-image-qemuriscv32.bin]
MACHINE: [qemuriscv32]
runqemu - INFO - Running tmp/work/x86_64-linux/qemu-helper-native/1.0-r1/recipe-sysroot-native/usr/bin/qemu-system-riscv32

Hello OpenEmbedded on RISC-V 32!

(From OE-Core rev: d4cca7471f2167b56347fa7b1364bb84a200b1f5)

Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandro@enedino.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-12 06:26:16 +01:00
Chen Qi
8ae0ee62ca multilib.bbclass: fix new override syntax for virtclass-multilib
the 'virtclass-multilib-xxx' is an override, so use ':' instead of
'_' for TARGET_VENDOR and DEFAULTTUNE.

(From OE-Core rev: a522972821339f42dcdddb334e843e21584bfbea)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-12 06:26:16 +01:00
Jose Quaresma
33ba016f4c sstate.bbclass: fix error handling when sstate mirrors is ro
The commit dd555537fc
'sstate.bbclass: fix errors about read-only sstate mirrors'
adds an additional exception handler to silently mask read
only rootfs errors thrown during the touch.

The exception handler checks the error type with the python module errno
but this module needs to be imported as it don't exist.

Example of the error:

File: 'exec_python_func() autogenerated', lineno: 2, function: <module>
     0001:
 *** 0002:sstate_task_postfunc(d)
     0003:
File: '/home/builder/src/base/poky/meta/classes/sstate.bbclass', lineno: 778, function: sstate_task_postfunc
     0774:
     0775:    omask = os.umask(0o002)
     0776:    if omask != 0o002:
     0777:       bb.note("Using umask 0o002 (not %0o) for sstate packaging" % omask)
 *** 0778:    sstate_package(shared_state, d)
     0779:    os.umask(omask)
     0780:
     0781:    sstateinst = d.getVar("SSTATE_INSTDIR")
     0782:    d.setVar('SSTATE_FIXMEDIR', shared_state['fixmedir'])
File: '/home/builder/src/base/poky/meta/classes/sstate.bbclass', lineno: 708, function: sstate_package
     0704:        except PermissionError:
     0705:            pass
     0706:        except OSError as e:
     0707:            # Handle read-only file systems gracefully
 *** 0708:            if e.errno != errno.EROFS:
     0709:                raise e
     0710:
     0711:    return
     0712:
Exception: NameError: name 'errno' is not defined

(From OE-Core rev: 15f30ad144fbe25e9a5e71bc7e42e746d2039992)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-12 06:26:15 +01:00
Changqing Li
ea14728154 libconvert-asn1-perl: 0.27 -> 0.31
Old homepage is bad link, cannot be accessed. Now this project is
development on github, and the new homepage is get from
https://github.com/gbarr/perl-Convert-ASN1

Old SRC_URI is not used any more, the lastest update is in 2014.
>From 0.28, the download link changed to:
https://cpan.metacpan.org/authors/id/T/TI/TIMLEGGE/

(From OE-Core rev: 558a7999dc138c6d51025cc3508e2ccb2556b7a9)

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-12 06:26:15 +01:00
Ross Burton
262587d754 oeqa/sdk: add some buildtools tests
These two tests are designed to exercise the buildtools-tarball.

SanityTests simply verifies that inside the SDK, some commands are used
from the SDK.

BuildTests creates a new OE build directory and builds virtual/libc to
verify that a basic build works correctly. DL_DIR is reused to avoid
needless downloading, but sstate is not shared to ensure a build does
happen.

(From OE-Core rev: 6157d6ffa32d6df383c29d4b6de07feb9d619913)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-12 06:26:15 +01:00
Ross Burton
43af729d31 buildtools-tarball: add testsdk task
Add a testsdk task, which is essentially the same as testsdk.bbclass but
the test case directory is changed.  This lets us exercise the
buildtools tarballs at build time.

(From OE-Core rev: 39a0e45ced42826832f84cfbf1cf50ed7c334997)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-12 06:26:15 +01:00
Ross Burton
635e21fdd5 parted: update patch status
This patch has now been submitted to parted-devel.

(From OE-Core rev: c9a958104c526806d38ab2f6f45a07c428d027fe)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-12 06:26:15 +01:00
Ross Burton
917134a805 parted: drop unneeded ld-is-gold patch
This patch doesn't appear to be needed anymore, so drop it.

(From OE-Core rev: d8c6a87a568ba9b9e84a661989d5b26e07394641)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-12 06:26:15 +01:00
Ross Burton
c1b7a9cd64 wic: don't forcibly pass -T default
This reverts part of oe-core eecbe62555, which was a previous attempt
to solve the Y2038 problem.  This is now solved centrally in e2fsprogs,
so doesn't need to be dealt with in wic.

We don't revert the commit entirely, to retain the warning if a
filesystem has small inodes.

(From OE-Core rev: 7e8017208bed98b6c90735cb641fc9d7aedf9140)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-12 06:26:15 +01:00
Ross Burton
88fe419543 e2fsprogs: ensure small images have 256-byte inodes
e2fsprogs calls filesystems larger than 3MB but smaller than 512MB
"small", which has some implications:

- blocksize 1024 instead of 4096
- inode_ratio 4096 instead of 16384
- inode_size 128 instead of 256

The outcome of the inode size dropping to 128 bytes is that they cannot
store 64-bit timestamps, so are not Y2038-safe.

A previous attempt to solve this problem[1] changed some of the canned
wic files to pass -T default to mkfs.ext4, but this only covered wic
images and not traditional images.  Also, actually small filesystems,
for example a core-image-minimal, will happily be tens of megabytes and
with the "default" options will result in an image which runs out of
blocks before it runs out of space:

mkfs.ext4: Could not allocate block in ext2 filesystem while populating file system

Considering that many OpenEmbedded images are in fact "small", being
2038-safe is worth the marginal increase is disk usage.  This patch
alters the small configuration in native builds so that it also has
256-byte inodes.  Target is unchanged so that standard behaviour is
maintained outside of the build.

This is actually the same underlying patch that Mathieu Dubois-Briand
sent in April, but the wic change in [1] was accepted instead. I believe
that is the wrong approach and this approach covers more cases.

[ YOCTO #14478 ]

[1] openembedded-core eecbe62
[2] https://lists.openembedded.org/g/openembedded-core/message/150298

(From OE-Core rev: 9ab0ae83a24ee99e69f8ac54256b253a122aef8a)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-12 06:26:15 +01:00
Vyacheslav Yurkov
6846235345 MAINTAINERS: add overlayfs maintainer
(From OE-Core rev: 8749556d06b07961080650ac17ee1c37666e01fd)

Signed-off-by: Vyacheslav Yurkov <uvv.mail@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-12 06:26:15 +01:00
Vyacheslav Yurkov
0413829f61 oeqa/selftest: overlayfs unit tests
Unit tests for overlayfs.bbclass

(From OE-Core rev: b393e1982090063d9d0610fdcfd3601e78a501c0)

Signed-off-by: Vyacheslav Yurkov <uvv.mail@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-12 06:26:15 +01:00
Vyacheslav Yurkov
44bbb74b76 overlayfs: meta-selftest recipe
The recipe demonstrates example usage of overlayfs bbclass

(From OE-Core rev: 1ad7a6fdd6382a30f1d9e115840ce8243b7fce2f)

Signed-off-by: Vyacheslav Yurkov <uvv.mail@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-12 06:26:15 +01:00
Vyacheslav Yurkov
9b5fbdea3d systemd-machine-units: add bbappend for meta-selftest
(From OE-Core rev: 797ab6d3237c3248778ea3c9304e92dcc94a67da)

Signed-off-by: Vyacheslav Yurkov <uvv.mail@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-12 06:26:15 +01:00
Vyacheslav Yurkov
550511e446 rootfs-postcommands: add QA check for overlayfs
The check is conditional and only enabled when overlayfs is set in
DISTRO_FEATURES

(From OE-Core rev: 4734799bacf0a5d2487e1cde3ae1c00223b032b2)

Signed-off-by: Vyacheslav Yurkov <uvv.mail@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-12 06:26:15 +01:00
Vyacheslav Yurkov
d6e1f08ee3 overlayfs.bbclass: generate overlayfs mount units
It's often desired in Embedded System design to have a read-only rootfs.
But a lot of different applications might want to have a read-write access
to some parts of a filesystem. It can be especially useful when your update
mechanism overwrites the whole rootfs, but you want your application data
to be preserved between updates. This class provides a way to achieve that
by means of overlayfs and at the same time keeping the base rootfs read-only.

(From OE-Core rev: 18377d6f09fc8855c71f2e5c097cbbbccf5632ce)

Signed-off-by: Vyacheslav Yurkov <uvv.mail@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-12 06:26:15 +01:00
Vyacheslav Yurkov
2377193d7a lib/oe: add generic functions for overlayfs
(From OE-Core rev: 53f0af20f94399335c8a5a6b7001994e332b69a6)

Signed-off-by: Vyacheslav Yurkov <uvv.mail@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-12 06:26:15 +01:00
Michael Opdenacker
a99473976d cve-check: remove deprecated CVE_CHECK_CVE_WHITELIST
This variable has been deprecated since Yocto Project version 3.0.

(From OE-Core rev: f8ac58568b2dceef54a743369460019b3a3eeccd)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-12 06:26:15 +01:00
Chen Qi
2e4d3aa2a3 meta: use new override syntax in comments
(From OE-Core rev: 572e7db6e8831227911ff3e52bde3a4aa6df1c91)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-12 06:26:15 +01:00
Chen Qi
62372aedfe convert-overrides.py: also convert comments without a leading whitespace
Currently lines like below are converted.
  e.g.
  # IMAGE_INSTALL_append = " A"

But lines without a leading whitespace are not converted.
  e.g.
  #IMAGE_INSTALL_append = " A"

We should be converting both.

(From OE-Core rev: 1994e3844c1aa6b595c0c18040e4f8240fa04438)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-12 06:26:15 +01:00
Richard Purdie
2f743b4739 libtool: Fix lto option passing for reproducible builds
If lto is enabled, we need the prefix-map variables to be passed to the linker.
Add these to the list of options libtool passes through.

(From OE-Core rev: 2c26d2c00b47df856fb2d9c35486b135094d46ac)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-12 06:26:15 +01:00
wangmy
9262d89763 ell: upgrade 0.41 -> 0.42
(From OE-Core rev: aedc4667474f891654f01bb4c0f542092fbe5aa3)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-12 06:26:15 +01:00
Richard Purdie
2e4f162e61 curl: Fix reproducibility issue with LDFLAGS
If we add DEBUG_PREFIX_MAP into LDFLAGS, curl-dev is no longer reproducible.
Fix this.

(From OE-Core rev: 3a30b7ad413de0e8f60504ba2be76107e4324640)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-12 06:26:15 +01:00
Tony Battersby
fa91de383e ruby: Fix reproducibility issue with LDFLAGS
If we add DEBUG_PREFIX_MAP into LDFLAGS, ruby and ruby-dbg are no
longer reproducible.  Fix this.

(From OE-Core rev: c34d5e409b291e69d6ff28ee71acba7055ef3f08)

Signed-off-by: Tony Battersby <tonyb@cybernetics.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-12 06:26:15 +01:00
Richard Purdie
666548c44e gettext: Fix reproducibility issue with LDFLAGS
If we add DEBUG_PREFIX_MAP into LDFLAGS, gettext-ptest is no longer reproducible.
Fix this.

(From OE-Core rev: c759bae9c3b360e0ca5321469e8d77512cadaf1e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-12 06:26:15 +01:00
Richard Purdie
d1a599bc40 ruby: Fix DEBUG_PREFIX_MAP in LDFLAGS issue
(From OE-Core rev: 78da145c2f2fbd58e286e8ce983c2cc0b074e6a5)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-12 06:26:15 +01:00
Tony Battersby
488aa36a61 bitbake.conf: add DEBUG_PREFIX_MAP to TARGET_LDFLAGS
-f*-prefix-map flags are required when linking with LTO enabled to make
the output binary reproducible.

See discussion here:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101473

[YOCTO #14481]

(From OE-Core rev: fddaecc88979967d0e00e2fafdbaaabec030da9f)

Signed-off-by: Tony Battersby <tonyb@cybernetics.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-12 06:26:15 +01:00
Tony Tascioglu
36ed0c29cb valgrind: skip broken ptests for glibc 2.34
Skip tests that are problematic for glibc-2.34.
The list of problematic ptests was found by Richard after
patching several to work with the new glibc version.

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

(From OE-Core rev: c177c7f9ef6f90ca49074f003accb8e9a1a645aa)

Signed-off-by: Tony Tascioglu <tony.tascioglu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-12 06:26:15 +01:00
Khem Raj
7e5145f2c5 glibc: Add missing symlinks for libpthread and librt dev files
(From OE-Core rev: 3a02079bbc29c64f3807f24f9b69ee02f765bec7)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-12 06:26:15 +01:00
Khem Raj
ea74dcc059 glibc: Drop DUMMY_LOCALE_T define patch
It was needed for very old centos distros which are no longer supported

(From OE-Core rev: 24663490adbb0434e810c13ab627a4903c018ca7)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-12 06:26:15 +01:00
Khem Raj
1f6bc6580c glibc: Remove obsolete --enable-stackguard-randomization
this has been removed in 2.34 onwards

(From OE-Core rev: 1ca248f0b894b95b7fc9f0c0c76b5efe3555e386)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-12 06:26:15 +01:00
Khem Raj
ad454e0266 glibc: Upgrade to 2.34 release
bump localedef to get __attr_access_none and __attr_access definitions
replace /bin/bash instead of @BASH@ in ldd as @BASH@ has been substituted with /bin/bash now

package libc_malloc_debug.so.0

Detailed changelog [1]

[1] https://sourceware.org/pipermail/libc-alpha/2021-August/129718.html

(From OE-Core rev: af4e1306a78cf8c508dd911f02c103af81bc1af5)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-12 06:26:15 +01:00
Michael Halstead
77ce05bd36 releases: update to include 3.1.10
Adding 3.1.10 to documentation switcher and release list.

(From yocto-docs rev: 86b44b72c366f56d6977e7462aca8821721d89bd)

Signed-off-by: Michael Halstead <mhalstead@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-11 20:41:54 +01:00
Michael Opdenacker
4c7e3b64bc manuals: further documentation for cve-check
This adds details about the actual implementation
of vulnerability checks, about how to fix or ignore
vulnerabilities in recipes, and documents the
CVE_CHECK_PN_WHITELIST and CVE_CHECK_WHITELIST variables.

(From yocto-docs rev: 55886d211218b3a604c2f8a29c854685ebf284dd)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Reviewed-by: Quentin Schulz <foss@0leil.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-10 11:29:46 +01:00
Michael Opdenacker
23e640b809 manuals: mention license information in footer
Previously, the license for the manuals was only
stated in the SPDX headers at the beginning of source files

(From yocto-docs rev: cef60f23d5601a18d7ba7e894af2aa459fb2efb8)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-10 11:29:46 +01:00
Richard Purdie
eb047a25bb migration-3.4: Add extra notes to override syntax changes
(From yocto-docs rev: dba53562b684c511fb59a3272656cb6052f28fb2)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-10 11:29:46 +01:00
Richard Purdie
ae6153e10b test-manual: Add extra detail to YP Compatible section
Add a note about documenting where a layer doesn't support 'core'
functionality.

(From yocto-docs rev: 0fc15d069aae11e6e705d80f684345150ff7bf3b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-10 11:29:46 +01:00
Richard Purdie
492205ea83 packagedata: Fix after override syntax change
Fix a reference that should have been part of the override syntax change
causing packages to be written out incorrectly.

(From OE-Core rev: 0f978b4f03e71267ad0a8a5054141e7727f2944f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-06 09:25:25 +01:00
Michael Opdenacker
ae55dea68d cve-check: improve comment about CVE patch file names
(From OE-Core rev: 8aa613480663e11ecc62278d8c57ca719eb23899)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-06 06:34:58 +01:00
Michael Opdenacker
4c28645c04 cve-check: update link to NVD website for CVE details
The old URL schema
https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-ID
now redirects to
https://nvd.nist.gov/vuln/detail/CVE-ID

(From OE-Core rev: 57adb57a9d9b08c08ab606ec7b561792e4f4ff2d)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-06 06:34:58 +01:00
Michael Opdenacker
fce14b90e3 cve-check: fix comments
This implements various fixes in comments in cve-check.bbclass
In particular, the "whitlisted" typo is important as the "whitelisted"
word is going to be replaced in a near future.

(From OE-Core rev: 5eecd2bf942254d08c252388594e5ec7ae330f45)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-06 06:34:58 +01:00
Richard Purdie
45632b5366 oeqa/runtime/cases/ptest: Increase test timeout from 300s to 450s
Some tests such as lttng-tools are marginal and timing out on the autobuilder
with the current 300s default. Increase to avoid this noise in the ptest
failures list.

(From OE-Core rev: 5fb902a52e35130af6b0735a087c709daa35655f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-06 06:34:58 +01:00
Richard Purdie
5f4e335c8e bitbake: ui/taskexp: Fix to work with empty build directories
If run on an empty build directory, taskexp wasn't working as it didn't
send the current environment to the server. This means HOSTTOOLS in oe-core
couldn't be built and gave an error. Add the missing updateToServer call in.

[YOCTO #14408]

(Bitbake rev: 06a0bbe746f879ae539223e7fdb6f07d55d13719)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-06 06:34:58 +01:00
Richard Purdie
0e3c7594cb bitbake: ui/taskexp: Improve startup exception handling
When an exception occurs at startup, show it to the user.

[YOCTO #14408]

(Bitbake rev: cc1df1af67cfd3e223b39e2b7ea5f86b8cf78aee)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-06 06:34:58 +01:00
Richard Purdie
5a4501abeb bitbake: command: Ensure we catch/handle exceptions
If an exception occurs in early setup, bitbake could just hang. Return
the exception rather than doing that.

[YOCTO #14408]

(Bitbake rev: c8a4107132ce51f84ae84bf1ceb1c3fd90f156d3)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-06 06:34:58 +01:00
Richard Purdie
dc7ef0f896 bitbake: process: Improve traceback error reporting from main loop
Currently the code can just show nothing as the exception if there was a double
fault, which in this code path is quite likely. This leads to an error log
which effectively says "it failed" with no information about how.

Improve things so we get a nice verbose traceback left in the logs/output
which is preferable to no logs.

(Bitbake rev: e5782b71647d1eb6de53bde7bc4f6019a5589f21)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-06 06:34:58 +01:00
Richard Purdie
7f0f1179eb bitbake: fetch/tests/toaster: Override conversion fixups
Fix some references that missed during the overrides syntax migration or
were incorrect. Thanks to Quentin Schulz <foss@0leil.net> for the patch.

(Bitbake rev: 6184cb07dfa44f5f76f1c423533b4547d80b20ab)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-06 06:34:58 +01:00
Richard Purdie
0b973973f3 bitbake: doc: Fix append/prepend/remove references
Fix some references missed during the overrides syntax migration.
Thanks to Quentin Schulz <foss@0leil.net> for the patch.

(Bitbake rev: 2fd03ec7b136c694f2ced43b3abb69f719c99ec2)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-06 06:34:58 +01:00
Tony Battersby
9a34ef5987 gcc: Backport patch to make LTO builds more reproducible
Backport ustream gcc patch that enables -fdebug-prefix-map to cover
additional cases with LTO enabled to make LTO builds more reproducible.

[YOCTO #14481]

(From OE-Core rev: 8923253b9bc91b14b474abc4923ca916fb8a12ec)

Signed-off-by: Tony Battersby <tonyb@cybernetics.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-05 17:48:29 +01:00
Tony Battersby
a7762efa03 lto.inc: disable LTO for grub
With gcc 11.1, compiling grub with LTO causes an internal compiler error
(ICE), and with gcc 10.2, files under /usr/lib/grub/i386-pc/*.mod are not
binary reproducible.

[YOCTO #14490] (gcc 11.1 ICE)
[YOCTO #14481] (LTO and binary reproducibility)

(From OE-Core rev: d1fd3693411d83214f0f88b2f9d7aef12ecd6e02)

Signed-off-by: Tony Battersby <tonyb@cybernetics.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-05 17:48:29 +01:00
Richard Purdie
671b49e077 elfutils: Add patch from upstream for glibc 2.34 ptest fixes
Add a patch being discussed upstream to fix a ptest issue with glibc 2.34.

(From OE-Core rev: 8921f2acfd566d2c03cea7bdb9f0b1883994148b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-05 17:48:29 +01:00
Richard Purdie
a15eea5077 bitbake: runqueue: Improve multiconfig deferred task issues
The previous patches have exposed new issues with this code path,
the issues being around what should happen when the hash of a task
changes and the task is or is not on the deferred task list.

Rather than rebuilding the deferred task list during each rehash
event, build it once at the start of a build. This avoids the problem
of tasks being added back after they have run and also avoids problems
of always ensuring the same task is deferred. It also allows the
'outrightfail' codepath to be handled separately as the conditions
are subtly differnt.

One significant win for the new approch is the build is not continually
printing out lists of deferred tasks, that list remains fairly static
from the start of the build. Logic is added in to ensure a rehashed
task with a hash matching other deferred tasks is deferred along with
them as a small optimization.

An interesting test case for this code was reported by Mark Hatle
with four multiconfigs, each the same apart from TMPDIR and running a
build of:

bitbake buildtools-tarball mc:{one,two,three,four}:core-image-minimal

which is interesting in that the build of buildtools partially overlaps
core-image-minimal and the build has a rehash event for qemuwrapper-cross
even without any external hash equivalence server or preexisting data.

(Bitbake rev: bb424e0a6d274d398f434f7df63951da9ce305b3)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-05 17:15:54 +01:00
Alexander Kanavin
b205abd2ae local.conf.sample: disable prelink
Recent tests have shown that prelinking works only when PIE is not
enabled [0], and as PIE is both a desirable security feature, and the only
configuration provided and tested by Yocto, there is simply no sense
in continuing to enable prelink.

There's also a concern that no one is maintaining the code, and there
are open bugs (including serious ones such as [1]). Given that prelink
does intricate address arithmetic and rewriting of binaries the best
option is to disable the feature.

[0]
https://rlbl.me/prelink-1
https://rlbl.me/prelink-2

[1] https://bugzilla.yoctoproject.org/show_bug.cgi?id=14429

(From meta-yocto rev: f712b495ce6362d50db3c5c565245535429d6419)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-05 08:54:18 +01:00
Richard Purdie
382e70c724 valgrind: Add patches for glibc 2.34 support
This partially resolves ptest failures with glibc 2.34.

(From OE-Core rev: 9adf897176924cad6b12d4da73a904cfbf578f46)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-05 08:53:41 +01:00
Richard Purdie
bc01962bb8 strace: Upgrade 5.12 -> 5.13
This includes changes to work with glibc 2.34.

(From OE-Core rev: 58cdb3ff8689c5e87769eb53d154a395492cdeb5)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-05 08:53:41 +01:00
Richard Purdie
5f3d28c2a2 diffoscope: Upgrade 178 -> 179
(From OE-Core rev: c889354ead36c332ee47bbeadea0dfd96d7dd5d3)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-05 08:53:41 +01:00
Martin Jansa
a9a7b5f80f systemd-boot: use ld.bfd as efi-ld even when gold or lld is used in ${LD}
* since the upgrade to 249.1 in:
  https://git.openembedded.org/openembedded-core/commit/?id=323ec445dfe22860cd450c303db5ed8fcb4e791c
  the builds with ld-is-gold are failing with:

  [17/21] Generating linuxx64.elf.stub with a custom command
  FAILED: src/boot/efi/linuxx64.elf.stub
  /OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/systemd-boot/249.1-r0/recipe-sysroot-native/usr/bin/x86_64-oe-linux/x86_64-oe-linux-ld -o src/boot/efi/linuxx64.elf.stub -T /OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/systemd-boot/249.1-r0/recipe-sysroot/usr/lib/elf_x86_64_efi.lds -shared -Bsymbolic -nostdlib -znocombreloc --build-id=sha1 -L /OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/systemd-boot/249.1-r0/recipe-sysroot/usr/lib /OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/systemd-boot/249.1-r0/recipe-sysroot/usr/lib/crt0-efi-x86_64.o src/boot/efi/string-util-fundamental.c.o src/boot/efi/disk.c.o src/boot/efi/graphics.c.o src/boot/efi/measure.c.o src/boot/efi/pe.c.o src/boot/efi/secure-boot.c.o src/boot/efi/util.c.o src/boot/efi/linux.c.o src/boot/efi/splash.c.o src/boot/efi/stub.c.o -lefi -lgnuefi /OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/systemd-boot/249.1-r0/recipe-sysroot/usr/lib/../lib/x86_64-oe-linux/11.2.0/libgcc.a
  /OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/systemd-boot/249.1-r0/recipe-sysroot-native/usr/bin/x86_64-oe-linux/x86_64-oe-linux-ld: internal error in segment_precedes, at ../../gold/layout.cc:3721
  [18/21] Generating boot.c.o with a custom command
  ninja: build stopped: subcommand failed.
  WARNING: exit code 1 from a shell command.

  as reported in:
  https://lists.openembedded.org/g/openembedded-core/message/154246

* if someone is using lld or ld.lld in ${LD} then it would fail as well:
  e39288193f

* work around this by always using ld.bfd instead of whatever is set in ${LD}

* it needs to be prefixed with ${HOST_PREFIX} to match how LD is constructed:
  $ bitbake-getvar -r systemd-boot LD
  #
  # $LD [2 operations]
  #   exported /OE/build/oe-core/openembedded-core/meta/conf/bitbake.conf:523
  #     [export] "1"
  #   set /OE/build/oe-core/openembedded-core/meta/conf/bitbake.conf:523
  #     "${HOST_PREFIX}ld${TOOLCHAIN_OPTIONS} ${HOST_LD_ARCH}"
  # pre-expansion value:
  #   "${HOST_PREFIX}ld${TOOLCHAIN_OPTIONS} ${HOST_LD_ARCH}"
  export LD="x86_64-oe-linux-ld --sysroot=/OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/systemd-boot/249.1-r0/recipe-sysroot  "

  $ bitbake-getvar -r systemd-boot EFI_LD
  #
  # $EFI_LD
  #   set /OE/build/oe-core/openembedded-core/meta/recipes-core/systemd/systemd-boot_249.1.bb:23
  #     "${HOST_PREFIX}ld.bfd"
  EFI_LD="x86_64-oe-linux-ld.bfd"

  otherwise first ld.bfd it will find will be from HOSTTOOLS_NONFATAL and
  fail when host's binutils isn't compatible as in:
  https://autobuilder.yoctoproject.org/typhoon/#/builders/104/builds/2673/steps/11/logs/stdio

  FAILED: src/boot/efi/linuxx64.elf.stub
  /home/pokybuild/yocto-worker/genericx86-64-alt/build/build/tmp/hosttools/ld.bfd -o src/boot/efi/linuxx64.elf.stub -T /home/pokybuild/yocto-worker/genericx86-64-alt/build/build/tmp/work/core2-64-poky-linux/systemd-boot/249.1-r0/recipe-sysroot/usr/lib/elf_x86_64_efi.lds -shared -Bsymbolic -nostdlib -znocombreloc --build-id=sha1 -L /home/pokybuild/yocto-worker/genericx86-64-alt/build/build/tmp/work/core2-64-poky-linux/systemd-boot/249.1-r0/recipe-sysroot/usr/lib /home/pokybuild/yocto-worker/genericx86-64-alt/build/build/tmp/work/core2-64-poky-linux/systemd-boot/249.1-r0/recipe-sysroot/usr/lib/crt0-efi-x86_64.o src/boot/efi/string-util-fundamental.c.o src/boot/efi/disk.c.o src/boot/efi/graphics.c.o src/boot/efi/measure.c.o src/boot/efi/pe.c.o src/boot/efi/secure-boot.c.o src/boot/efi/util.c.o src/boot/efi/linux.c.o src/boot/efi/splash.c.o src/boot/efi/stub.c.o -lefi -lgnuefi /home/pokybuild/yocto-worker/genericx86-64-alt/build/build/tmp/work/core2-64-poky-linux/systemd-boot/249.1-r0/recipe-sysroot/usr/lib/../lib/x86_64-poky-linux/11.2.0/libgcc.a
  /home/pokybuild/yocto-worker/genericx86-64-alt/build/build/tmp/hosttools/ld.bfd: warning: /home/pokybuild/yocto-worker/genericx86-64-alt/build/build/tmp/work/core2-64-poky-linux/systemd-boot/249.1-r0/recipe-sysroot/usr/lib/crt0-efi-x86_64.o: unsupported GNU_PROPERTY_TYPE (5) type: 0xc0010002
  /home/pokybuild/yocto-worker/genericx86-64-alt/build/build/tmp/hosttools/ld.bfd: warning: /home/pokybuild/yocto-worker/genericx86-64-alt/build/build/tmp/work/core2-64-poky-linux/systemd-boot/249.1-r0/recipe-sysroot/usr/lib/crt0-efi-x86_64.o: unsupported GNU_PROPERTY_TYPE (5) type: 0xc0010001
  /home/pokybuild/yocto-worker/genericx86-64-alt/build/build/tmp/hosttools/ld.bfd: /home/pokybuild/yocto-worker/genericx86-64-alt/build/build/tmp/work/core2-64-poky-linux/systemd-boot/249.1-r0/recipe-sysroot/usr/lib/crt0-efi-x86_64.o: unable to initialize decompress status for section .debug_line
  /home/pokybuild/yocto-worker/genericx86-64-alt/build/build/tmp/hosttools/ld.bfd: /home/pokybuild/yocto-worker/genericx86-64-alt/build/build/tmp/work/core2-64-poky-linux/systemd-boot/249.1-r0/recipe-sysroot/usr/lib/crt0-efi-x86_64.o: unable to initialize decompress status for section .debug_line
  /home/pokybuild/yocto-worker/genericx86-64-alt/build/build/tmp/work/core2-64-poky-linux/systemd-boot/249.1-r0/recipe-sysroot/usr/lib/crt0-efi-x86_64.o: file not recognized: File format not recognized

(From OE-Core rev: 603e50f3db224a0e36a65decb9a98df41b9e22b3)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-05 08:53:41 +01:00
Tim Orling
e82157fb55 python3-importlib-metadata: upgrade 4.6.1 -> 4.6.3
v4.6.3
Moved workaround for #327 to _compat module.

v4.6.2
bpo-44784: Avoid errors in test suite when DeprecationWarnings are
treated as errors.

References:
https://github.com/python/importlib_metadata/issues/327
https://bugs.python.org/issue44784

(From OE-Core rev: 9ac45967b0e739d7480ac432bab0b0ca0341b24b)

Signed-off-by: Tim Orling <timothy.t.orling@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-05 08:53:41 +01:00
Tim Orling
4c811172fa python3-hypothesis: upgrade 6.14.3 -> 6.14.5
6.14.5 - 2021-07-27
This patch fixes hypothesis.strategies._internal.types.is_a_new_type. It
was failing on Python 3.10.0b4, where NewType is a function.

6.14.4 - 2021-07-26
This patch fixes from_type() and register_type_strategy() for
typing.NewType on Python 3.10, which changed the underlying
implementation (see bpo-44353 for details).

References:
https://bugs.python.org/issue44353

(From OE-Core rev: 19bc156c8f9d43c963b2db3535d11d05c6916600)

Signed-off-by: Tim Orling <timothy.t.orling@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-05 08:53:41 +01:00
Khem Raj
b55c975d8f devtool.py: Correct override syntax
(From OE-Core rev: 3a0af9245b11326ced96a05db85e0e45e6422d4a)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-05 08:53:41 +01:00
Khem Raj
d935d5db42 distrooverrides.bbclass: Correct override syntax
(From OE-Core rev: b95d50f6ed6bf21d48c4cd22ffe9e8edc1480135)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-05 08:53:41 +01:00
Khem Raj
3d62726171 toaster-managed-mode.json: Correctly specify term with new override syntax
(From OE-Core rev: 218117b0947e0dff977cf7ce508ed34382e3cf49)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-05 08:53:41 +01:00
Khem Raj
550d0cee19 libssh2: Fix syntax for using ptest override
(From OE-Core rev: d2624e5581e55c43926099c3f7c00a632c6ff2e7)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-05 08:53:41 +01:00
Zqiang
f31839fc3c python3: use monotonic clock for condvar if possible
The timeout for threading.Lock, threading.Condition, etc, is not using
a monotonic clock, it is affected if the system time (realtime clock)
is set.

This patch will make condvar use monotonic clock.
Refence: https://bugs.python.org/issue41710

(From OE-Core rev: 5a268f95a5bf5ee8c244a8af685d6c84aad9a4ac)

Signed-off-by: Zqiang <qiang.zhang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-05 08:53:41 +01:00
hongxu
28b66dcb72 createrepo-c: fix createrepo-c failed in nativesdk
In sdk, call createrepo-c failed with:
...
$ createrepo_c --update ./test_repo/rpm
Directory walk started Critical: Failed to detect compression for file
./test_repo/rpm/cortexa72/hello-2.10-r0.cortexa72.rpm: magic_load() failed: could not find any valid magic files!
...

Since commit [ea666fbc74 createrepo-c: set path to magic database for
native and nativesdk] applied, the MAGIC is incorrectly assigned.

The variable datadir will be expanded automatically for nativesdk,
do not need to add prefix ${SDKPATHNATIVE} to MAGIC

(From OE-Core rev: 54368f1b02e1ac4aa068515730a8c8bcd3683eb3)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-05 08:53:40 +01:00
Martin Jansa
1c240f9209 convert-overrides.py: allow dots before override in vars_re and shortvars_re
e.g. VIRTUAL-RUNTIME_com.webos.service.flowmanager_armv4 weren't replaced
with VIRTUAL-RUNTIME_com.webos.service.flowmanager:armv4 or when package
name contains a dot like in:
RDEPENDS:gstreamer1.0-meta-base:remove

(From OE-Core rev: 41bff44bd26c09573eb3139bb6735e5ecfda18b7)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-05 08:53:40 +01:00
Joshua Watt
0b3be2821d bitbake: contrib: vim: Update for new override syntax
Updates the Vim syntax highlighting to account for the new override
syntax and also highlight "append" and "prepend" overrides

(Bitbake rev: 01a6322315a6ff6ab55a349f9fcd1e2d93448bfd)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-04 20:48:58 +01:00
Denys Dmytriyenko
7171392132 poky-tiny: drop uclibc override
Since uclibc is no longer supported, corresponding override was left
un-converted to the new syntax. Simply drop it.

(From meta-yocto rev: 8f31ca308b03c0ee6c2680c4ed5510e448692ecd)

Signed-off-by: Denys Dmytriyenko <denis@denix.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-04 20:48:28 +01:00
Kevin Hao
fe98984c49 meta-yocto-bsp: Bump to the v5.10.55
Build and boot test for all the boards.

(From meta-yocto rev: 8b5c126510dbf265dc494ff7c8decbae63f5b597)

Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-04 20:48:28 +01:00
Kevin Hao
6d7e0a1535 meta-yocto-bsp: Introduce the v5.13 bbappend
Build and boot test for all the boards.

(From meta-yocto rev: e22b4c9e305f71d71d23b7678e284d5c31a53856)

Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-04 20:48:28 +01:00
Richard Purdie
1900cb43f1 devupstream: Allow support of native class extensions
It is useful to be able to use the class with recipes using BBCLASSEXTEND
for native extensions. This adds the magic required to do that.

[YOCTO #11449]

(From OE-Core rev: 17bab13b0f2431757d8ddd66489bb720c13a0320)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-04 20:45:41 +01:00
Richard Purdie
174ceef844 image: Drop COMPRESS_CMD
This was replaced by CONVERSION_CMD a long time ago and is no longer referenced
in core. Remove the references to it.

(From OE-Core rev: 576d52cdaca047d290c3b10b26aa2244da230dbb)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-04 20:45:41 +01:00
Richard Purdie
34cc76ff05 image/image_types: Convert CONVERSION_CMD/COMPRESS_CMD to new override syntax
For consistency, use override syntax for these variables as well since
it is more consistent with the rest of the image code. We may be able to use
these as proper overrides in due course.

(From OE-Core rev: 52674c4b1fdf79829095031b2e342d44fb0dc181)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-04 20:45:41 +01:00
Richard Purdie
ab0cba3411 uboot-extlinux-config: Fix missing override conversion
(From OE-Core rev: 988e6c5a6add25ccd1d880f4d4f8c257afde4e47)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-04 20:45:41 +01:00
Richard Purdie
ea984415f6 meta: Convert IMAGE_TYPEDEP to use override syntax
The IMAGE_TYPEDEP variable would make more sense to match the form of the
other image override variables, convert it to use the overrides format.

(From OE-Core rev: 8573f6b2a7af9867da0b21936ffd2cd2a417de1d)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-04 20:45:41 +01:00
Chen Qi
866d0756d0 iputils: fix do_configure failure of missing ip command
If 'testimage' and 'testsdk' are not inherited, the 'ip'
comamnd will not be in HOSTTOOLS. This results in do_configure
failure of iputils. Backport a patch and skipping building
tests to fix the problem.

(From OE-Core rev: 99cbd4eb95599abdceb7cbb228ff7e74a6a29a09)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-04 20:45:41 +01:00
Joshua Watt
b8da5a7c22 libxft: Fix bad PKG value
The PKG value should only be munged for DEBIAN_NAMES during
populate_packages. Otherwise, native packages can have the wrong value.

(From OE-Core rev: e77dc392a33d93ab2becd438b6b17705c675dcd5)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-04 20:45:41 +01:00
Denys Dmytriyenko
0d141e732f libwpe: remove rpi-specific custom code
This recipe was ported from another layer, which had special handling for rpi.

OE-Core doesn't have 'rpi' override, doesn't define 'vc4graphics' DISTRO_FEATURES
and overall, BSP-specifics should be handled in downstream layers, not in OE-Core.

(From OE-Core rev: 80ef74e47bee58efc9b5c46bf76b2bceab0957fe)

Signed-off-by: Denys Dmytriyenko <denis@denix.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-04 20:45:41 +01:00
Denys Dmytriyenko
b26e9eed52 convert-overrides.py: handle few more cases of overrides
Add task-configure and few more supported values of TARGET_OS override.

(From OE-Core rev: 1172f9593902f28ddd8da47de6bd51cda9a0f86a)

Signed-off-by: Denys Dmytriyenko <denis@denix.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-04 20:45:41 +01:00
Denys Dmytriyenko
fdf57744b4 meta: convert nested overrides leftovers to new syntax
Those were missed in previous rounds of automated and manual conversion.

(From OE-Core rev: 22f9c7268b542baf6cd8aa0e34c8fb7aa1579e08)

Signed-off-by: Denys Dmytriyenko <denis@denix.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-04 20:45:41 +01:00
Saul Wold
4875b8989b MAINTAINERS: Saul will cover devtool and eSDK
(From OE-Core rev: 2b8fce67d687729b62c237fe46f9a0758a324dd1)

Signed-off-by: Saul Wold <saul.wold@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-04 20:45:41 +01:00
Lee Chee Yang
7f62ab77ae aspell: fix CVE-2019-25051
(From OE-Core rev: 297f8c4eb4ff209b5ea69910902d216d86dbe2bf)

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-04 20:45:41 +01:00
Chen Qi
3c492c59c0 insane.bbclass: fix the file-rdeps QA message for the new override syntax
Instead of replacing '_<pkg>', we should be replacing ':<pkg>'.
Otherwise, when we meet a 'file-rdeps' QA error, the error message would be
like below.

  QA Issue: /usr/lib64/libatopology.so.2.0.0:libatopology contained in package libatopology ...

The ':libatopology' should not be in the error message.

(From OE-Core rev: d65541c13b1346468dce749523b1dc04cfb7f70e)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-04 20:45:41 +01:00
Matthias Klein
f83a4482a9 runqemu: decouple bios and kernel options
This will allow the use of a bios (e.g. U-Boot) in combination with
a WIC file (from which U-Boot loads the kernel).

(From OE-Core rev: 5fc65c9d18679b62b13fead7b91126c665525884)

Signed-off-by: Matthias Klein <matthias@extraklein.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-04 20:45:41 +01:00
Matthias Klein
6d90c0e47a runqemu: Fix typo in error message
(From OE-Core rev: 5cc0051d50974e198313f9513b24fd7ae9a96dd4)

Signed-off-by: Matthias Klein <matthias@extraklein.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-04 20:45:41 +01:00
Richard Purdie
c568dd9799 license: Exclude COPYING.MIT from pseudo
Along with the other license exclusions, we need to exclude the
top level COPYING.MIT file else when:

COPY_LIC_DIRS     = "1"
COPY_LIC_MANIFEST = "1"

is set, we see eSDK failures from a pseudo abort.

[YOCTO #14366]

(From OE-Core rev: 3eb580843de3f055e42fcce60b0f15c4190c0542)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-04 20:45:41 +01:00
Richard Purdie
23df84524f local.conf.sample: Fix missed override conversion
(From meta-yocto rev: 1e7a636bee31afb508be20345962e0deb3126fdf)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-04 19:30:23 +01:00
Michael Halstead
f64b796093 releases: update to include 3.3.1
Adding 3.3.1 to documentation switcher and release list.

(From yocto-docs rev: 3c98afb0fefd889e8036639d9a2c775b73b237c2)

Signed-off-by: Michael Halstead <mhalstead@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-04 11:20:48 +01:00
Richard Purdie
92d8bd0eb5 bitbake: data_smart: Fix inactive overide accidental variable value corruption
Setting something like:

  BAR:append:unusedoverride

should cause BAR to be None, not "" which was what the datastore was
returning. This caused problems when mixing variables like:

  RDEPENDS:${PN}:inactiveoverride
  RDEPENDS:${BPN}

since key expansion would report key overlap when there was none. This
is a bug in the datastore. Fix it and add a test too.

[YOCTO #14088]

(Bitbake rev: 699e36c270d863258502d315ed00a1b940bfbf96)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-04 10:38:43 +01:00
zangrc
70137f689f python3-pip: upgrade 21.1.3 -> 21.2.1
Process
The source distribution re-installation feature removal has been delayed to 21.3.

(From OE-Core rev: bc744bad1e338445d5fa02471cdd6389ce44fabf)

Signed-off-by: Zang Ruochen <zangrc.fnst@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-04 10:38:26 +01:00
Khem Raj
da75a0e1c1 mesa: Define a fallback for DRIDRIVERS
Some machines may not define this variable, in such cases bitbake fails
to parse

run.do_configure.3766843: line 164: -Ddri-drivers=${@strip_comma('${DRIDRIVERS}')}: bad substitution

(From OE-Core rev: b68790713fee4de4fa81762526b941ba76b66866)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-04 10:38:26 +01:00
zangrc
3bac23a5fe python3-dbus: upgrade 1.2.16 -> 1.2.18
(From OE-Core rev: 895574c2df6701c0a6ffe84bce05b63180377eb8)

Signed-off-by: Zang Ruochen <zangrc.fnst@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-04 10:38:26 +01:00
Mingli Yu
5324b7d6af curl: Upgrade to 7.78.0
Remove libmetalink configure option as this rarely used option is
removed in the new version [1].

[1] 265b14d6b3

(From OE-Core rev: a40524a5c5ad441eebd6b751c2fd66637509ae9d)

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-04 10:38:26 +01:00
Paul Barker
a185e98371 kernel-yocto: Simplify no git repo case in do_kernel_checkout
If the kernel sources are not fetched via git, a local git repository is
created in do_kernel_checkout. In this case we know that there will be
no remote branches and we will already be on the correct branch (since
only one branch will exist). So we can simplify things by skipping these
steps.

This also removes the assumption that the default git branch name will
be "master". Prior to this change, the final git checkout command in
do_kernel_checkout could fail if a local git repo was created and the
user had changed init.defaultBranch in their gitconfig.

(From OE-Core rev: af2a9c92d4498492ca23388c7b4bbed48abdc4d7)

Signed-off-by: Paul Barker <paul@pbarker.dev>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-04 10:38:26 +01:00
Richard Purdie
103b9f442b vim: Clarify where RDEPENDS/RRECOMMENDS apply
The tricky of using BPN in a common inc file is rather hard to understand.
Simplfy this by moving it to the base vim recipe and use the standard
variable form.

(From OE-Core rev: cffa5930d86a464aceb4764eec510a2b8f5c44a1)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-04 10:38:26 +01:00
Michael Opdenacker
355171f4e3 profile-manual: document how to build perf manpages on target
Thanks to closing yocto bug #3388, there is now a simple way
to build the perf manpages for use on the target

(From yocto-docs rev: 12dd3ecb054c1668cdccc220ca21b88635531784)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-02 17:46:39 +01:00
Michael Opdenacker
9ca793696a ref-manual: remove example recipe source files
These files are not used to build to documentation
and were updated and moved to the "meta-skeleton" layer
(except "mtd-makefile" which is broken and no longer
worth maintaining there, as a recipe for more recent
versions of "mtd-utils" exists).

(From yocto-docs rev: 5fc765fc22e2fa3124089f609db2e60113606c81)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-02 17:46:39 +01:00
Michael Opdenacker
76053e0f78 manuals: initial documentation for CVE management
This starts to document vulnerability management
and the use of the CVE_PRODUCT variable

(From yocto-docs rev: 2b9199fe490cb3ec126bffc6518646194a94ace4)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Reviewed-by: Quentin Schulz <foss@0leil.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-02 17:46:39 +01:00
Stefan Wiehler
090384d9e7 dev-manual: fix source release example script
(From yocto-docs rev: 6c939a3bbc9116d32c73df58f60ceb4809328eb3)

Signed-off-by: Stefan Wiehler <stefan.wiehler@missinglinkelectronics.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-02 17:46:39 +01:00
Michael Opdenacker
cf6c702686 bitbake: doc: bitbake-user-manual: grammar fix for the number of "metadata"
"metadata" is used both as singular and as plural.
This fixes a case in which the verb has a singular conjugation,
which conflicts with the absence of article indicating a plural case.

(Bitbake rev: fff7ade48d6cb9381284b93742bb2255976d6b41)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Reviewed-by: Quentin Schulz <foss@0leil.net>
Reviewed-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-02 16:09:19 +01:00
Michael Opdenacker
35c14eb918 bitbake: doc: bitbake-user-manual: update bitbake option help
(Bitbake rev: 214d11867ea5dd9f1d7e50e128d45d7cc4eaf7ea)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-02 16:09:19 +01:00
Michael Opdenacker
2789c74ff3 bitbake: doc: bitbake-user-manual: fix syntax in example and improve description
The previous syntax of the example was clearly incorrect
The example and description were also ambiguous, one could think that
it was "bitbake recipe" instead of "bitbake <recipename>"

(Bitbake rev: 9d6664bbb68fac9bb4fbcbe0b35beb0a022a5a1f)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-02 16:09:19 +01:00
Richard Purdie
0247220336 poky: Use SDKPATHINSTALL instead of SDKPATH
SDKPATHINSTALL is the default installation path used for the SDK but is not
the path encoded into every SDK binary as the default path. This change
allows it to contain things like dates without requiring every nativesdk
recipe to rebuild.

Partially fixes [YOCTO #14100]

(From meta-yocto rev: a62175ee581bd05661717f0fb89dad2a297b4034)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-02 15:44:29 +01:00
Richard Purdie
b0fd19e5d2 local.conf.sample: Bump version so users update their config
It has been a while since we've done this but with the new syntax, users
need to update their local.conf if based off the template. Update the
versions to trigger this.

(From meta-yocto rev: 3c2de959f45b7fdff5db32a9a2c3822dbb1fbd27)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-02 15:44:29 +01:00
Kai Kang
aeaafe2fa5 python3-pytest: display correct version info
It does not show correct version info of python3-pytest:

$ pip3 list | grep pytest
pytest             0.0.0

pytest requires setuptools-scm in setup.cfg. It could be met by adding
python3-setuptools-scm-native to dependency and then it will not
download egg file of setuptools-scm during do_compile any more. So
remove 0001-setup.py-remove-the-setup_requires-for-setuptools-scm.patch
and depend on python3-setuptools-scm-native to make it show the correct
version info.

(From OE-Core rev: 9159db64d3b3c7633deb135e683317fd3e98852c)

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-02 15:44:11 +01:00
Richard Purdie
825043ec77 populate_sdk_ext: Fix handling of TOOLCHAIN_HOST_TASK in the eSDK case
The current way TOOLCHAIN_HOST_TASK is handled within eSDK builds is
causing much confusion, even to people who should understand the code.

For a normal SDK, some layers append to TOOLCHAIN_HOST_TASK unconditionally
which is fine, until the eSDK tries to override the variable to it's own
values. It does not support or use packages installed using this variable
and would use native recipes instead, it is a very different approach.

In the referenced bug, binaries are added but not relocated leading to
confusing errors.

To fix this, add a new variables for the eSDK TOOLCHAIN_HOST_TASK
to be explict and force the eSDK code to use this instead. The setVar
in non-parsing context will clear out any appends resolving the current
issues. The patch also gets rid of some dubious task override use.

[YCOTO #14047]

(From OE-Core rev: 30912ba084aa8600156edddbe4f2db0b85e869d0)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-02 15:44:11 +01:00
Khem Raj
ccd83269b7 stress-ng: Detemine minimal stack size via sysconf
This helps it compile with glibc 2.34+

(From OE-Core rev: 9150933dc524b6cedc42b063b7a2092e202f3672)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-02 15:44:11 +01:00
Richard Purdie
55a37651ac sstate: Fix rebuilds when changing layer config
When adding a layer which changed SSTATE_EXCLUDEDEPS_SYSROOT, the state
hashes were changing when they should not. This was caused by wider use
of setscene_depvalid which means the dependency on the variable was seen
when it was previously not.

Exclude the variable since this should be be included in the hashes.

(From OE-Core rev: 09725a29365c69ccbd603fe3a1de72189f26d5ac)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-02 15:44:11 +01:00
Richard Purdie
f62f684de8 sdk: Decouple default install path from built in path
Add SDKPATHINSTALL which is used as the default install location of the SDK
instead of SDKPATH. This means the default install path isn't encoded into
every SDK binary, meaning if a date is used there the entire SDK doesn't
have to rebuild. Most distros can switch to only customise SDKPATHINSTALL
meaning more sstate reuse too.

[YOCTO #14100]

(From OE-Core rev: bc4ee5453560dcefc4a4ecc5657df5cc1666e153)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-02 15:44:11 +01:00
Richard Purdie
54b9a58c20 convert-overrides: Allow script to handle patch/diffs
It is handy to be able to have the script convert a single patch file
and it turns out to be straightforward to make it do this.

(From OE-Core rev: 21df7acc969f47d615d1701ee71f19571de94949)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-02 15:44:11 +01:00
Richard Purdie
8b41a106e4 dropbear: Fix incorrect package override for postrm
This bug has been around for a long time (2011) but fix it to do
what was intended originally. The postrm is changed by classes but
those should append to existing entries.

(From OE-Core rev: 7762b07bf3b0c77b91ad91963ab39d3c73770ebf)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-02 15:44:11 +01:00
Bernhard Rosenkränzer
587ef78f57 gcc: update 11.1 -> 11.2
Update gcc, drop patches that have been merged upstream

(From OE-Core rev: 8979de58dc49fb4f8bc55743a1a4bf613c675a4e)

Signed-off-by: Bernhard Rosenkränzer <bero@lindev.ch>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-02 15:44:11 +01:00
Bruce Ashfield
c28de3817e linux-yocto/5.10: enable TYPEC_TCPCI in usbc fragment
To make the usbc fragment more generally usable, we enable
the Type-C Port Controller driver for TCPCI-compliant controller.

(From OE-Core rev: 485baca981188896a555d3a48c8b560718bb6e9d)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-02 15:44:11 +01:00
Bruce Ashfield
0a325880ea linux-yocto/5.13: enable TYPEC_TCPCI in usbc fragment
To make the usbc fragment more generally usable, we enable
the Type-C Port Controller driver for TCPCI-compliant controller.

(From OE-Core rev: 52d98bdaa2a243ce0b3c6dfaff76ecfaf89a0b30)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-02 15:44:11 +01:00
Bruce Ashfield
b91606ee11 linux-yocto-rt/5.10: update to -rt47
Integrating the following commit(s) to linux-yocto/5.10:

    969fef49cbbc Linux 5.10.52-rt47
    bb5ff998ba62 Linux 5.10.47-rt46
    340f6b6cdd37 sched: Don't defer CPU pick to migration_cpu_stop()
    f3d0be7cdae8 sched: Simplify set_affinity_pending refcounts
    6b28888ca42a sched: Fix affine_move_task() self-concurrency
    ea66e426a3b7 sched: Optimize migration_cpu_stop()
    ac73ac41db62 sched: Collate affine_move_task() stoppers
    6963e6b6e008 sched: Simplify migration_cpu_stop()
    d3a5a12fd350 sched: Fix migration_cpu_stop() requeueing
    28dda3752954 Linux 5.10.47-rt45
    d5f6c5f008ee Linux 5.10.44-rt44
    ec9978fdc6aa Linux 5.10.42-rt43

(From OE-Core rev: 46b1ab616a5eb792e8cb29cfbe340fecd605bea7)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-02 15:44:11 +01:00
Bruce Ashfield
c59873774c linux-yocto/5.4: update to v5.4.135
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:

    0a0beb1f9120 Linux 5.4.135
    d2f7b384a74f udp: annotate data races around unix_sk(sk)->gso_size
    c72374978b3f perf test bpf: Free obj_buf
    17bc942c0b96 bpftool: Properly close va_list 'ap' by va_end() on error
    84ed8340941a ipv6: tcp: drop silly ICMPv6 packet too big messages
    315033cab379 tcp: annotate data races around tp->mtu_info
    41f45e91c92c dma-buf/sync_file: Don't leak fences on merge failure
    04b06716838b net: fddi: fix UAF in fza_probe
    8aa13a86964c net: validate lwtstate->data before returning from skb_tunnel_info()
    8cff7b28ab05 net: send SYNACK packet with accepted fwmark
    b7e5563f2a78 net: ti: fix UAF in tlan:remove_one
    2b70ca92847c net: qcom/emac: fix UAF in emac:remove
    463c0addb4eb net: moxa: fix UAF in moxart_mac_probe
    7ac4a6a74e75 net: ip_tunnel: fix mtu calculation for ETHER tunnel devices
    d5dc50ca1f7a net: bcmgenet: Ensure all TX/RX queues DMAs are disabled
    7ecd40801e5b net: bridge: sync fdb to new unicast-filtering ports
    813d45499f51 net/sched: act_ct: fix err check for nf_conntrack_confirm
    24973073562f netfilter: ctnetlink: suspicious RCU usage in ctnetlink_dump_helpinfo
    c6f4a71153f4 net: ipv6: fix return value of ip6_skb_dst_mtu
    9872273b670a net: dsa: mv88e6xxx: enable .rmu_disable() on Topaz
    6148ddff2dcb net: dsa: mv88e6xxx: enable .port_set_policy() on Topaz
    d73c180e6add dm writecache: return the exact table values that were set
    8a85afc6621a mm: slab: fix kmem_cache_create failed when sysfs node not destroyed
    f53729b828db usb: cdns3: Enable TDL_CHK only for OUT ep
    52b01a808696 f2fs: Show casefolding support only when supported
    91d846016729 arm64: dts: marvell: armada-37xx: move firmware node to generic dtsi file
    f696cc7f1bc8 firmware: turris-mox-rwtm: add marvell,armada-3700-rwtm-firmware compatible string
    e2b28026b861 arm64: dts: armada-3720-turris-mox: add firmware node
    f7d1fa65e742 cifs: prevent NULL deref in cifs_compose_mount_options()
    06d8a7eb5803 s390: introduce proper type handling call_on_stack() macro
    2a47e0719ae7 sched/fair: Fix CFS bandwidth hrtimer expiry type
    5b7d065868a6 scsi: qedf: Add check to synchronize abort and flush
    0fe70c15f943 scsi: libfc: Fix array index out of bound exception
    d7b647d05586 scsi: libsas: Add LUN number check in .slave_alloc callback
    863c4bc883d5 scsi: aic7xxx: Fix unintentional sign extension issue on left shift of u8
    712e9ed6134f rtc: max77686: Do not enforce (incorrect) interrupt trigger type
    199d8ea4c7b1 kbuild: mkcompile_h: consider timestamp if KBUILD_BUILD_TIMESTAMP is set
    484193b635a7 thermal/core: Correct function name thermal_zone_device_unregister()
    556cf0283035 arm64: dts: imx8mq: assign PCIe clocks
    9d3eb68a5385 arm64: dts: ls208xa: remove bus-num from dspi node
    e054b361caec firmware: tegra: bpmp: Fix Tegra234-only builds
    94d009577033 soc/tegra: fuse: Fix Tegra234-only builds
    270a2e9fafea ARM: dts: stm32: move stmmac axi config in ethernet node on stm32mp15
    4bc66215bc22 ARM: dts: stm32: fix i2c node name on stm32f746 to prevent warnings
    856c753237ae ARM: dts: rockchip: fix supply properties in io-domains nodes
    c5bb9cc2ce23 arm64: dts: juno: Update SCPI nodes as per the YAML schema
    f572a9139396 ARM: dts: stm32: fix timer nodes on STM32 MCU to prevent warnings
    95e795474c81 ARM: dts: stm32: fix RCC node name on stm32f429 MCU
    a898aa9f88cc ARM: dts: stm32: fix gpio-keys node on STM32 MCU boards
    5c17edaaead7 ARM: dts: am437x-gp-evm: fix ti,no-reset-on-init flag for gpios
    3446233096ff ARM: dts: am57xx-cl-som-am57x: fix ti,no-reset-on-init flag for gpios
    e79e29a4e162 kbuild: sink stdout from cmd for silent build
    f817d4677582 rtc: mxc_v2: add missing MODULE_DEVICE_TABLE
    0a22b5178276 ARM: imx: pm-imx5: Fix references to imx5_cpu_suspend_info
    e20e85639e25 ARM: dts: imx6: phyFLEX: Fix UART hardware flow control
    a5b19d33ae22 ARM: dts: Hurricane 2: Fix NAND nodes names
    f83535a47ff8 ARM: dts: BCM63xx: Fix NAND nodes names
    cb05b84ad7f1 ARM: NSP: dts: fix NAND nodes names
    14e3bad3b548 ARM: Cygnus: dts: fix NAND nodes names
    587a757afe73 ARM: brcmstb: dts: fix NAND nodes names
    a9c32c7aeee6 reset: ti-syscon: fix to_ti_syscon_reset_data macro
    b400afa42739 arm64: dts: rockchip: Fix power-controller node names for rk3328
    dfb4e8ed0792 arm64: dts: rockchip: Fix power-controller node names for px30
    789070f17886 ARM: dts: rockchip: Fix power-controller node names for rk3288
    6aaffe6ce8a9 ARM: dts: rockchip: Fix power-controller node names for rk3188
    439115ee56d8 ARM: dts: rockchip: Fix power-controller node names for rk3066a
    3b4c34728382 ARM: dts: rockchip: Fix IOMMU nodes properties on rk322x
    c9d29d62da59 ARM: dts: rockchip: Fix the timer clocks order
    d105e15de610 arm64: dts: rockchip: fix pinctrl sleep nodename for rk3399.dtsi
    cfe3d29e5cde ARM: dts: rockchip: fix pinctrl sleep nodename for rk3036-kylin and rk3288
    79573c64410b ARM: dts: gemini: add device_type on pci
    7037876393ce ARM: dts: gemini: rename mdio to the right name

(From OE-Core rev: 5c36549fab7cc27bd2f4f9e8b6be1ec8546d32bd)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-02 15:44:11 +01:00
Bruce Ashfield
fdef1c9372 linux-yocto/5.13: update to v5.13.5
Updating linux-yocto/5.13 to the latest korg -stable release that comprises
the following commits:

    25423f4bd9a9 Linux 5.13.5
    c50bcc85a057 mt76: mt7921: continue to probe driver when fw already downloaded
    c1b582a7e364 udp: properly flush normal packet at GRO time
    e3104dccdd79 udp: annotate data races around unix_sk(sk)->gso_size
    010f5d09fa32 firmware: arm_scmi: Avoid padding in sensor message structure
    90ed7e5771ea drm/panel: nt35510: Do not fail if DSI read fails
    fcd280d92bad perf test bpf: Free obj_buf
    599148d40366 bpf: Track subprog poke descriptors correctly and fix use-after-free
    4edc469e4a63 bpftool: Properly close va_list 'ap' by va_end() on error
    a3b4cb28a2e8 tools: bpf: Fix error in 'make -C tools/ bpf_install'
    e023c648a764 tcp: call sk_wmem_schedule before sk_mem_charge in zerocopy path
    c0fea93d9f77 ipv6: tcp: drop silly ICMPv6 packet too big messages
    fe77b85828ca tcp: fix tcp_init_transfer() to not reset icsk_ca_initialized
    341dd0904d4f tcp: annotate data races around tp->mtu_info
    108727841c25 tcp: consistently disable header prediction for mptcp
    ed8c953ef967 ARM: dts: everest: Add phase corrections for eMMC
    cc02a1bd5b7b ARM: dts: tacoma: Add phase corrections for eMMC
    5cc4abeab14f ARM: dts: aspeed: Fix AST2600 machines line names
    6f6f8f894a55 vboxsf: Add support for the atomic_open directory-inode op
    53c4f60ed9dd vboxsf: Add vboxsf_[create|release]_sf_handle() helpers
    6e64fd2f677f vboxsf: Make vboxsf_dir_create() return the handle for the created file
    1f7cdb5def52 vboxsf: Honor excl flag to the dir-inode create op
    753b33d387ec kbuild: do not suppress Kconfig prompts for silent build
    19edcd97727a dma-buf/sync_file: Don't leak fences on merge failure
    bdfbb51f7a43 net: fddi: fix UAF in fza_probe
    d7243e2ab1c6 net: dsa: properly check for the bridge_leave methods in dsa_switch_bridge_leave()
    a915379594f1 net: validate lwtstate->data before returning from skb_tunnel_info()
    12917871d234 net: do not reuse skbuff allocated from skbuff_fclone_cache in the skb cache
    d731dcbcefd2 net: send SYNACK packet with accepted fwmark
    93efab0ef2a6 net: ti: fix UAF in tlan:remove_one
    8a225a6e07a5 net: qcom/emac: fix UAF in emac:remove
    aa92c87dc2d8 net: moxa: fix UAF in moxart_mac_probe
    db3177b7ff0e net: ip_tunnel: fix mtu calculation for ETHER tunnel devices
    02906fda9e7f net: bcmgenet: Ensure all TX/RX queues DMAs are disabled
    fd51ccd9c971 net: netdevsim: use xso.real_dev instead of xso.dev in callback functions of struct xfrmdev_ops
    c5e07e8c8ec8 net: marvell: always set skb_shared_info in mvneta_swbm_add_rx_fragment
    3863428b04be net: bridge: sync fdb to new unicast-filtering ports
    fda8adcbbc70 net/sched: act_ct: remove and free nf_table callbacks
    c3eb534eae09 vmxnet3: fix cksum offload issues for tunnels with non-default udp ports
    70a5a1950cca netfilter: nf_tables: Fix dereference of null pointer flow
    c6eb7ce9f11c net/sched: act_ct: fix err check for nf_conntrack_confirm
    a598091fc909 netfilter: ctnetlink: suspicious RCU usage in ctnetlink_dump_helpinfo
    f6eaa0620312 net: ipv6: fix return value of ip6_skb_dst_mtu
    231ea2169024 net: dsa: mv88e6xxx: enable SerDes PCS register dump via ethtool -d on Topaz
    c57e63264dfb net: dsa: mv88e6xxx: enable SerDes RX stats for Topaz
    8eef55a59620 net: dsa: mv88e6xxx: enable devlink ATU hash param for Topaz
    0104c68efb3e net: dsa: mv88e6xxx: enable .rmu_disable() on Topaz
    8263e5c08f46 net: dsa: mv88e6xxx: use correct .stats_set_histogram() on Topaz
    36d57bbdf93f net: dsa: mv88e6xxx: enable .port_set_policy() on Topaz
    c74ded51a37f net: bcmgenet: ensure EXT_ENERGY_DET_MASK is clear
    8c4f51b15196 f2fs: Show casefolding support only when supported
    ac1714556003 mm/userfaultfd: fix uffd-wp special cases for fork()
    fd26ee0a1a82 mm/thp: simplify copying of huge zero page pmd when fork
    b33e80b18a0a Revert "mm/shmem: fix shmem_swapin() race with swapoff"
    58d7ce3934ae Revert "swap: fix do_swap_page() race with swapoff"
    03c03b893661 arm64: dts: marvell: armada-37xx: move firmware node to generic dtsi file
    cffb7390312e firmware: turris-mox-rwtm: add marvell,armada-3700-rwtm-firmware compatible string
    ae3d181f4e91 cifs: prevent NULL deref in cifs_compose_mount_options()
    c007614e78a1 s390: introduce proper type handling call_on_stack() macro
    6ef3f584b593 s390/traps: do not test MONITOR CALL without CONFIG_BUG
    09f1a8d85ec1 thermal/core/thermal_of: Stop zone device before unregistering it
    505c12a1bd71 perf/x86/intel/uncore: Clean up error handling path of iio mapping
    06d6142e1421 sched/fair: Fix CFS bandwidth hrtimer expiry type
    8997002a88aa scsi: qedf: Add check to synchronize abort and flush
    8511293e643a scsi: libfc: Fix array index out of bound exception
    f661723909ad scsi: libsas: Add LUN number check in .slave_alloc callback
    9015de5e72d0 scsi: aic7xxx: Fix unintentional sign extension issue on left shift of u8
    1c033966a916 rtc: max77686: Do not enforce (incorrect) interrupt trigger type
    2a04a3607548 arch/arm64/boot/dts/marvell: fix NAND partitioning scheme
    26125ddc6904 kbuild: mkcompile_h: consider timestamp if KBUILD_BUILD_TIMESTAMP is set
    4a7f9e9b24b9 arm64: dts: qcom: sm8150: Disable Adreno and modem by default
    81c2374228cf arm64: dts: qcom: sm8250: Fix pcie2_lane unit address
    9e159edfefb1 thermal/drivers/sprd: Add missing of_node_put for loop iteration
    9a70f266994e thermal/drivers/imx_sc: Add missing of_node_put for loop iteration
    82ad14246066 thermal/drivers/rcar_gen3_thermal: Do not shadow rcar_gen3_ths_tj_1
    c3e1034bf7a2 thermal/core: Correct function name thermal_zone_device_unregister()
    bbb41aa6ee41 arm64: dts: imx8: conn: fix enet clock setting
    6d14b0e1cea1 arm64: dts: imx8mq: assign PCIe clocks
    646b6021ff2e arm64: dts: imx8mn-beacon-som: Assign PMIC clock
    5345699a5297 arm64: dts: ls208xa: remove bus-num from dspi node
    cef210690a7a arm64: dts: rockchip: Update RK3399 PCI host bridge window to 32-bit address memory
    ee3acd45dc45 firmware: tegra: bpmp: Fix Tegra234-only builds
    ad36bf954334 soc/tegra: fuse: Fix Tegra234-only builds
    7d9beefb89d0 ARM: OMAP2+: Block suspend for am3 and am4 if PM is not configured
    72ea603ebc7f arm64: dts: qcom: sc7180: Add wakeup delay for adau codec
    a38e8678f0ad ARM: dts: stm32: fix stpmic node for stm32mp1 boards
    6ea5c31a9ff6 ARM: dts: stm32: Rename spi-flash/mx66l51235l@N to flash@N on DHCOM SoM
    208d0b5c4fe8 ARM: dts: stm32: Rename eth@N to ethernet@N on DHCOM SoM
    5ba5ec23b95d ARM: dts: stm32: Drop unused linux,wakeup from touchscreen node on DHCOM SoM
    1ff4043818da ARM: dts: stm32: fix the Odyssey SoM eMMC VQMMC supply
    d3ad6193b11b ARM: dts: stm32: fix ltdc pinctrl on microdev2.0-of7
    45134048d407 ARM: dts: stm32: move stmmac axi config in ethernet node on stm32mp15
    c68df704e91f ARM: dts: stm32: fix i2c node name on stm32f746 to prevent warnings
    4d74e43113bc ARM: dts: rockchip: fix supply properties in io-domains nodes
    b6824bc92923 arm64: dts: juno: Update SCPI nodes as per the YAML schema
    6ddae8441dc2 i3c: master: svc: drop free_irq of devm_request_irq allocated irq
    81cc76202847 ARM: dts: bcm283x: Fix up GPIO LED node names
    97b95aa1abfc ARM: dts: bcm283x: Fix up MMC node names
    668f66189026 ARM: dts: aspeed: Everest: Fix cable card PCA chips
    9a92a6efb8e6 firmware: arm_scmi: Fix the build when CONFIG_MAILBOX is not selected
    b9e7b8c0b9ef firmware: arm_scmi: Add SMCCC discovery dependency in Kconfig
    8ec19b8b9c33 memory: tegra: Fix compilation warnings on 64bit platforms
    bf6e424135e3 ARM: dts: stm32: fix timer nodes on STM32 MCU to prevent warnings
    9e4183ab28b0 ARM: dts: stm32: fix RCC node name on stm32f429 MCU
    5d36882a85f7 ARM: dts: stm32: fix gpio-keys node on STM32 MCU boards
    2a735d7a8167 ARM: dts: stm32: fix stm32mp157c-odyssey card detect pin
    ea9312e7804e ARM: dts: stm32: Fix touchscreen node on dhcom-pdk2
    39fb433494c2 ARM: dts: stm32: Remove extra size-cells on dhcom-pdk2
    1dfe852260bd arm64: dts: qcom: sc7180: Move rmtfs memory region
    58e1d4a68cb5 arm64: dts: qcom: sm8250: fix display nodes
    638c3fc9774e arm64: dts: qcom: sm8350: fix the node unit addresses
    3df317941718 ARM: tegra: nexus7: Correct 3v3 regulator GPIO of PM269 variant
    94c054179d17 ARM: tegra: wm8903: Fix polarity of headphones-detection GPIO in device-trees
    cf48dfa5aa26 arm64: dts: ti: k3-am654x/j721e/j7200-common-proc-board: Fix MCU_RGMII1_TXC direction
    105f6beddcb8 arm64: tegra: Add PMU node for Tegra194
    7ac85c09d5be ARM: dts: OMAP2+: Replace underscores in sub-mailbox node names
    7752857c652f ARM: dts: am335x: fix ti,no-reset-on-init flag for gpios
    7bfbec1bf56f ARM: dts: am437x-gp-evm: fix ti,no-reset-on-init flag for gpios
    24df090958a3 ARM: dts: am57xx-cl-som-am57x: fix ti,no-reset-on-init flag for gpios
    1b45d9048ff4 kbuild: sink stdout from cmd for silent build
    3e079812f469 arm64: dts: renesas: beacon: Fix USB ref clock references
    27469bcc5b05 arm64: dts: renesas: beacon: Fix USB extal reference
    b5f38dc8381c rtc: mxc_v2: add missing MODULE_DEVICE_TABLE
    0c5b081a4d0a ARM: dts: ux500: Fix orientation of Janice accelerometer
    15cd8eb0c2e6 ARM: dts: imx6dl-riotboard: configure PHY clock and set proper EEE value
    4f0520fad7d8 ARM: dts: ux500: Fix some compatible strings
    b28ddd20572a ARM: dts: ux500: Fix orientation of accelerometer
    7f1d0da1cc41 ARM: dts: ux500: Rename gpio-controller node
    049ec888cd62 ARM: dts: ux500: Fix interrupt cells
    ea98b9eb6862 arm64: dts: rockchip: fix regulator-gpio states array
    9680f1e8f8b5 ARM: imx: pm-imx5: Fix references to imx5_cpu_suspend_info
    9b3161825b24 ARM: dts: imx6: phyFLEX: Fix UART hardware flow control
    f686c2ca9145 soc: mediatek: add missing MODULE_DEVICE_TABLE
    556e5beac048 soc: bcm: brcmstb: remove unused variable 'brcmstb_machine_match'
    3e3a7d2bf0d5 ARM: dts: BCM5301X: Fix pinmux subnodes names
    d8428468f91a ARM: dts: Hurricane 2: Fix NAND nodes names
    051500990321 ARM: dts: BCM63xx: Fix NAND nodes names
    c477ee9b6402 ARM: NSP: dts: fix NAND nodes names
    14a49e42f74c ARM: Cygnus: dts: fix NAND nodes names
    12e303c937a2 ARM: brcmstb: dts: fix NAND nodes names
    ca57a034e846 ARM: dts: BCM5301X: Fix NAND nodes names
    ea49b15d27f0 reset: ti-syscon: fix to_ti_syscon_reset_data macro
    ac00948749f1 arm64: dts: rockchip: Fix power-controller node names for rk3399
    e2cc3578a628 arm64: dts: rockchip: Fix power-controller node names for rk3328
    0ff2235f030a arm64: dts: rockchip: Fix power-controller node names for px30
    5ada42440f49 ARM: dts: rockchip: Fix power-controller node names for rk3288
    0151a90fc279 ARM: dts: rockchip: Fix power-controller node names for rk3188
    af5ca9f83fad ARM: dts: rockchip: Fix power-controller node names for rk3066a
    9015d0c9b072 ARM: dts: rockchip: Fix IOMMU nodes properties on rk322x
    991661f15817 ARM: dts: rockchip: Fix the timer clocks order
    670079df8659 arm64: dts: rockchip: fix pinctrl sleep nodename for rk3399.dtsi
    5980cb81f165 arm64: dts: rockchip: Use only supported PCIe link speed on rk3399
    68d1369daf96 ARM: dts: rockchip: fix pinctrl sleep nodename for rk3036-kylin and rk3288
    deacb07e91be ARM: dts: rockchip: Fix thermal sensor cells o rk322x
    f6e1fd15b3ee ARM: dts: gemini: add device_type on pci
    6f9ba39547e2 ARM: dts: gemini: rename mdio to the right name

(From OE-Core rev: f7b13c570cbf5d92e265217641609808ef76860b)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-02 15:44:11 +01:00
Bruce Ashfield
81c58352d8 linux-yocto/5.10: update to v5.10.53
Updating linux-yocto/5.10 to the latest korg -stable release that comprises
the following commits:

    71046eac2db9 Linux 5.10.53
    6cd9bd2a2ddb udp: annotate data races around unix_sk(sk)->gso_size
    bfdb38a4268a drm/panel: nt35510: Do not fail if DSI read fails
    0d90d8492fb9 perf test bpf: Free obj_buf
    a9f36bf3613c bpf: Track subprog poke descriptors correctly and fix use-after-free
    782d71e29b29 bpftool: Properly close va_list 'ap' by va_end() on error
    2381b8e882d0 tools: bpf: Fix error in 'make -C tools/ bpf_install'
    638632997c31 tcp: call sk_wmem_schedule before sk_mem_charge in zerocopy path
    2fee3cf4c97b ipv6: tcp: drop silly ICMPv6 packet too big messages
    ad4ba3404931 tcp: fix tcp_init_transfer() to not reset icsk_ca_initialized
    d60f07bcb76f tcp: annotate data races around tp->mtu_info
    ea66fcb29605 tcp: consistently disable header prediction for mptcp
    c28c747e37db ARM: dts: tacoma: Add phase corrections for eMMC
    e55160537d76 ARM: dts: aspeed: Fix AST2600 machines line names
    ff4b8f35c96c kbuild: do not suppress Kconfig prompts for silent build
    0d514185ae79 dma-buf/sync_file: Don't leak fences on merge failure
    f33605908a9b net: fddi: fix UAF in fza_probe
    66c73f187d1e net: dsa: properly check for the bridge_leave methods in dsa_switch_bridge_leave()
    7d7d0e84ac0d Revert "mm/shmem: fix shmem_swapin() race with swapoff"
    2179d96ec702 net: validate lwtstate->data before returning from skb_tunnel_info()
    b61d8814c477 net: send SYNACK packet with accepted fwmark
    f2a062fcfe1d net: ti: fix UAF in tlan:remove_one
    b560521eca03 net: qcom/emac: fix UAF in emac:remove
    dbbf5b957bd9 net: moxa: fix UAF in moxart_mac_probe
    88ff9ec9c67a net: ip_tunnel: fix mtu calculation for ETHER tunnel devices
    846829e75db5 net: bcmgenet: Ensure all TX/RX queues DMAs are disabled
    b9fa66072fee net: netdevsim: use xso.real_dev instead of xso.dev in callback functions of struct xfrmdev_ops
    59070cc43d1d net: bridge: sync fdb to new unicast-filtering ports
    7b5a2910e782 net/sched: act_ct: remove and free nf_table callbacks
    6d4476236f79 vmxnet3: fix cksum offload issues for tunnels with non-default udp ports
    c3bc9ce7d400 net/sched: act_ct: fix err check for nf_conntrack_confirm
    fc40fdefd94a netfilter: ctnetlink: suspicious RCU usage in ctnetlink_dump_helpinfo
    34365de50806 net: ipv6: fix return value of ip6_skb_dst_mtu
    73146745ff28 net: dsa: mv88e6xxx: enable devlink ATU hash param for Topaz
    a8c7ba368748 net: dsa: mv88e6xxx: enable .rmu_disable() on Topaz
    14cd8ce80ad7 net: dsa: mv88e6xxx: use correct .stats_set_histogram() on Topaz
    c657413dcddf net: dsa: mv88e6xxx: enable .port_set_policy() on Topaz
    fcb970edc0be net: bcmgenet: ensure EXT_ENERGY_DET_MASK is clear
    4e275a4aca68 usb: cdns3: Enable TDL_CHK only for OUT ep
    ce6ee46e0f39 mm/page_alloc: fix memory map initialization for descending nodes
    9e1cf2d1ed37 mm/userfaultfd: fix uffd-wp special cases for fork()
    84ff5f66c3f6 mm/thp: simplify copying of huge zero page pmd when fork
    a62177b35730 f2fs: Show casefolding support only when supported
    277b311ae170 Revert "swap: fix do_swap_page() race with swapoff"
    d92aa22f2419 arm64: dts: marvell: armada-37xx: move firmware node to generic dtsi file
    0e67c76384e9 firmware: turris-mox-rwtm: add marvell,armada-3700-rwtm-firmware compatible string
    e58c162789be cifs: prevent NULL deref in cifs_compose_mount_options()
    faa3e7da487a s390: introduce proper type handling call_on_stack() macro
    be10fff3a461 s390/traps: do not test MONITOR CALL without CONFIG_BUG
    9beba1469996 thermal/core/thermal_of: Stop zone device before unregistering it
    7412c988fe12 perf/x86/intel/uncore: Clean up error handling path of iio mapping
    892387e7619e sched/fair: Fix CFS bandwidth hrtimer expiry type
    eb859b043c2e scsi: qedf: Add check to synchronize abort and flush
    a4a54c54af25 scsi: libfc: Fix array index out of bound exception
    0d7596a954f1 scsi: libsas: Add LUN number check in .slave_alloc callback
    2f8df6332eb2 scsi: aic7xxx: Fix unintentional sign extension issue on left shift of u8
    cdb995a6cbb5 rtc: max77686: Do not enforce (incorrect) interrupt trigger type
    d3ba15fb0401 arch/arm64/boot/dts/marvell: fix NAND partitioning scheme
    e378db118925 kbuild: mkcompile_h: consider timestamp if KBUILD_BUILD_TIMESTAMP is set
    8c12a3a68d4f thermal/drivers/sprd: Add missing of_node_put for loop iteration
    20babcd83092 thermal/drivers/imx_sc: Add missing of_node_put for loop iteration
    469951ce4bb0 thermal/drivers/rcar_gen3_thermal: Do not shadow rcar_gen3_ths_tj_1
    bd40e2da3ae5 thermal/core: Correct function name thermal_zone_device_unregister()
    6c099d595fd7 arm64: dts: imx8mq: assign PCIe clocks
    24c41aa9d01b arm64: dts: ls208xa: remove bus-num from dspi node
    7e3f5739cccb firmware: tegra: bpmp: Fix Tegra234-only builds
    7c03982fa134 soc/tegra: fuse: Fix Tegra234-only builds
    ffa6f08be14a ARM: OMAP2+: Block suspend for am3 and am4 if PM is not configured
    f40a7c9b8ee1 ARM: dts: stm32: fix stpmic node for stm32mp1 boards
    2670d3d1ef47 ARM: dts: stm32: Rename spi-flash/mx66l51235l@N to flash@N on DHCOM SoM
    26cd441c529d ARM: dts: stm32: Drop unused linux,wakeup from touchscreen node on DHCOM SoM
    a5bc2a2d838e ARM: dts: stm32: fix the Odyssey SoM eMMC VQMMC supply
    e27052f21a2f ARM: dts: stm32: move stmmac axi config in ethernet node on stm32mp15
    6a7af6347810 ARM: dts: stm32: fix i2c node name on stm32f746 to prevent warnings
    160c92d728f3 ARM: dts: rockchip: fix supply properties in io-domains nodes
    d671fae04648 arm64: dts: juno: Update SCPI nodes as per the YAML schema
    fc71d8df5807 ARM: dts: bcm283x: Fix up GPIO LED node names
    4bc03e321f2a ARM: dts: bcm283x: Fix up MMC node names
    15d727c044d5 firmware: arm_scmi: Fix the build when CONFIG_MAILBOX is not selected
    b4009ea92f29 firmware: arm_scmi: Add SMCCC discovery dependency in Kconfig
    41e2bcca23f1 memory: tegra: Fix compilation warnings on 64bit platforms
    7ad965c8a723 ARM: dts: stm32: fix timer nodes on STM32 MCU to prevent warnings
    ccec32f77144 ARM: dts: stm32: fix RCC node name on stm32f429 MCU
    bfbc4b482078 ARM: dts: stm32: fix gpio-keys node on STM32 MCU boards
    34ec6702a2a1 ARM: dts: stm32: fix stm32mp157c-odyssey card detect pin
    44f4e344f4f0 ARM: dts: stm32: Fix touchscreen node on dhcom-pdk2
    3534a4b2d059 ARM: dts: stm32: Remove extra size-cells on dhcom-pdk2
    8da771b5527c arm64: dts: qcom: sc7180: Move rmtfs memory region
    a74d3bbe0553 ARM: tegra: nexus7: Correct 3v3 regulator GPIO of PM269 variant
    e89f4098d528 ARM: tegra: wm8903: Fix polarity of headphones-detection GPIO in device-trees
    c8815d6fee79 arm64: dts: ti: k3-am654x/j721e/j7200-common-proc-board: Fix MCU_RGMII1_TXC direction
    28d2ae98154e ARM: dts: OMAP2+: Replace underscores in sub-mailbox node names
    a73a22a69f6a ARM: dts: am335x: fix ti,no-reset-on-init flag for gpios
    ddf2d14894d0 ARM: dts: am437x-gp-evm: fix ti,no-reset-on-init flag for gpios
    a09b4c444941 ARM: dts: am57xx-cl-som-am57x: fix ti,no-reset-on-init flag for gpios
    3f0948569997 kbuild: sink stdout from cmd for silent build
    27582c9fa294 rtc: mxc_v2: add missing MODULE_DEVICE_TABLE
    6f5891a560df ARM: dts: imx6dl-riotboard: configure PHY clock and set proper EEE value
    5190a6604a10 ARM: dts: ux500: Fix orientation of accelerometer
    61fda04276bb ARM: dts: ux500: Rename gpio-controller node
    985947c53555 ARM: dts: ux500: Fix interrupt cells
    ff9ef21bb6fb arm64: dts: rockchip: fix regulator-gpio states array
    31e1b8c07d35 ARM: imx: pm-imx5: Fix references to imx5_cpu_suspend_info
    d05ebeffca1d ARM: dts: imx6: phyFLEX: Fix UART hardware flow control
    249d8e4ea168 ARM: dts: Hurricane 2: Fix NAND nodes names
    f6541401dbd6 ARM: dts: BCM63xx: Fix NAND nodes names
    b5fc6b9ab427 ARM: NSP: dts: fix NAND nodes names
    5f844007eb91 ARM: Cygnus: dts: fix NAND nodes names
    9525d58c5af8 ARM: brcmstb: dts: fix NAND nodes names
    4e8eb51ae633 reset: ti-syscon: fix to_ti_syscon_reset_data macro
    cabcb576fc3e arm64: dts: rockchip: Fix power-controller node names for rk3399
    81ea23d988f9 arm64: dts: rockchip: Fix power-controller node names for rk3328
    e4f97b740d6a arm64: dts: rockchip: Fix power-controller node names for px30
    95b64be2e741 ARM: dts: rockchip: Fix power-controller node names for rk3288
    5881af8d692b ARM: dts: rockchip: Fix power-controller node names for rk3188
    70abb828312a ARM: dts: rockchip: Fix power-controller node names for rk3066a
    fc01549d7b87 ARM: dts: rockchip: Fix IOMMU nodes properties on rk322x
    55014c38e73d ARM: dts: rockchip: Fix the timer clocks order
    2e1f681b680c arm64: dts: rockchip: fix pinctrl sleep nodename for rk3399.dtsi
    7d3408c72336 ARM: dts: rockchip: fix pinctrl sleep nodename for rk3036-kylin and rk3288
    e2d1e4416174 ARM: dts: rockchip: Fix thermal sensor cells o rk322x
    c8f0cef75dd7 ARM: dts: gemini: add device_type on pci
    191523dcfa68 ARM: dts: gemini: rename mdio to the right name

(From OE-Core rev: 73d94f33b328200fbf9655ab71381a27e6f55bf8)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-02 15:44:11 +01:00
Trevor Woerner
b0bc3f523f ffmpeg: add libatomic for armv5
The GNU Atomic library is a GCC support runtime library for atomic
operations not supported by hardware.

Otherwise we get the following when building:

	| arm-oe-linux-gnueabi-gcc -mcpu=arm926ej-s -mfpu=vfp -mfloat-abi=hard -marm --sysroot=.../build/tmp-glibc/work/armv5ehf-vfp-oe-linux-gnueabi/ffmpeg/4.4-r0/recipe-sysroot -Llibavcodec -Llibavdevice -Llibavfilter -Llibavformat -Llibavresample -Llibavutil -Llibpostproc -Llibswscale -Llibswresample -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed  --sysroot=.../build/tmp-glibc/work/armv5ehf-vfp-oe-linux-gnueabi/ffmpeg/4.4-r0/recipe-sysroot -mcpu=arm926ej-s -Wl,--as-needed -Wl,-z,noexecstack -Wl,--warn-common -Wl,-rpath-link=:libpostproc:libswresample:libswscale:libavfilter:libavdevice:libavformat:libavcodec:libavutil:libavresample   -o ffprobe_g fftools/cmdutils.o fftools/ffprobe.o  -lavdevice -lavfilter -lavformat -lavcodec -lavresample -lswresample -lswscale -lavutil  -lm -lxcb -lxcb-shm -lxcb-shape -lxcb-xfixes -lasound -lXv -lX11 -lXext -pthread -lm -lm -lbz2 -lz -pthread -lm -llzma -lz -ltheoraenc -ltheoradec -logg -lm -lm -lm -pthread -lm -lXv -lX11 -lXext
	| .../build/tmp-glibc/work/armv5ehf-vfp-oe-linux-gnueabi/ffmpeg/4.4-r0/recipe-sysroot-native/usr/bin/arm-oe-linux-gnueabi/../../libexec/arm-oe-linux-gnueabi/gcc/arm-oe-linux-gnueabi/11.1.1/ld: libavformat/libavformat.so: undefined reference to `__atomic_fetch_sub_8'
	| .../build/tmp-glibc/work/armv5ehf-vfp-oe-linux-gnueabi/ffmpeg/4.4-r0/recipe-sysroot-native/usr/bin/arm-oe-linux-gnueabi/../../libexec/arm-oe-linux-gnueabi/gcc/arm-oe-linux-gnueabi/11.1.1/ld: libavformat/libavformat.so: undefined reference to `__atomic_store_8'
	| .../build/tmp-glibc/work/armv5ehf-vfp-oe-linux-gnueabi/ffmpeg/4.4-r0/recipe-sysroot-native/usr/bin/arm-oe-linux-gnueabi/../../libexec/arm-oe-linux-gnueabi/gcc/arm-oe-linux-gnueabi/11.1.1/ld: libavformat/libavformat.so: undefined reference to `__atomic_load_8'
	| .../build/tmp-glibc/work/armv5ehf-vfp-oe-linux-gnueabi/ffmpeg/4.4-r0/recipe-sysroot-native/usr/bin/arm-oe-linux-gnueabi/../../libexec/arm-oe-linux-gnueabi/gcc/arm-oe-linux-gnueabi/11.1.1/ld: libavformat/libavformat.so: undefined reference to `__atomic_fetch_add_8'
	| collect2: error: ld returned 1 exit status

(From OE-Core rev: 677568b2cacf4db9468a08127ee2d19e6544f438)

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-02 15:44:11 +01:00
Michael Opdenacker
3778e45af9 meta-skeleton: add recipe examples from documentation sources
This adds three examples previously located in the yocto-docs
repository (under documentation/ref-manual/examples).

The examples were not used for building the documentation
so it's better to keep them here where they can automatically be
tested.

Fixed the "hello-single" to add a version number to the .bb file.
After this, all examples build fine with the "master" branch of Poky.

Note that the "mtd-utils" example, and example of a recipe
for an Autotools page, was not copied over. It doesn't build any
more, and anyway, we already have an official recipe for a recent version
of "mtd-utils" in OE-core.

(From OE-Core rev: a186c746e431831ccbd459be2175cdaa7ed42a54)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-02 15:44:11 +01:00
Chen Qi
697d460090 zstd: fix CVE_PRODUCT
zstd uses 'zstandard' in NVD database. e.g. CVE-2021-24031

(From OE-Core rev: 304eb663e414171d38faeebb3c72e49e6e4e1112)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-02 15:44:11 +01:00
wangmy
47f588dc36 diffoscope: upgrade 177 -> 178
(From OE-Core rev: 6cfc180c95e4275c619fc943916306ba5f5ed475)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-02 15:44:11 +01:00
wangmy
e5a7abc00d i2c-tools: upgrade 4.2 -> 4.3
4.3 (2021-07-22)
   decode-dimms: Attempt to decode LPDDR3 modules
   eeprom, eepromer: Removed the tools in favor of eeprog
   i2cdetect: Sort the bus list by number

(From OE-Core rev: ca41c972260de9d3ecd2098f19ec90e4e81f252b)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-02 15:44:11 +01:00
wangmy
61bc8187c4 bind: upgrade 9.16.18 -> 9.16.19
--- 9.16.19 released ---

5671.	[bug]		A race condition could occur where two threads were
			competing for the same set of key file locks, leading to
			a deadlock. This has been fixed. [GL #2786]

5670.	[bug]		create_keydata() created an invalid placeholder keydata
			record upon a refresh failure, which prevented the
			database of managed keys from subsequently being read
			back. This has been fixed. [GL #2686]

5669.	[func]		KASP support was extended with the "check DS" feature.
			Zones with "dnssec-policy" and "parental-agents"
			configured now check for DS presence and can perform
			automatic KSK rollovers. [GL #1126]

5668.	[bug]		Rescheduling a setnsec3param() task when a zone failed
			to load on startup caused a hang on shutdown. This has
			been fixed. [GL #2791]

5667.	[bug]		The configuration-checking code failed to account for
			the inheritance rules of the "dnssec-policy" option.
			This has been fixed. [GL #2780]

5666.	[doc]		The safe "edns-udp-size" value was tweaked to match the
			probing value from BIND 9.16 for better compatibility.
			[GL #2183]

5665.	[bug]		If nsupdate sends an SOA request and receives a REFUSED
			response, it now fails over to the next available
			server. [GL #2758]

5664.	[func]		For UDP messages larger than the path MTU, named now
			sends an empty response with the TC (TrunCated) bit set.
			In addition, setting the DF (Don't Fragment) flag on
			outgoing UDP sockets was re-enabled. [GL #2790]

5662.	[bug]		Views with recursion disabled are now configured with a
			default cache size of 2 MB unless "max-cache-size" is
			explicitly set. This prevents cache RBT hash tables from
			being needlessly preallocated for such views. [GL #2777]

5661.	[bug]		Change 5644 inadvertently introduced a deadlock: when
			locking the key file mutex for each zone structure in a
			different view, the "in-view" logic was not considered.
			This has been fixed. [GL #2783]

5658.	[bug]		Increasing "max-cache-size" for a running named instance
			(using "rndc reconfig") did not cause the hash tables
			used by cache databases to be grown accordingly. This
			has been fixed. [GL #2770]

5655.	[bug]		Signed, insecure delegation responses prepared by named
			either lacked the necessary NSEC records or contained
			duplicate NSEC records when both wildcard expansion and
			CNAME chaining were required to prepare the response.
			This has been fixed. [GL #2759]

5653.	[bug]		A bug that caused the NSEC3 salt to be changed on every
			restart for zones using KASP has been fixed. [GL #2725]

(From OE-Core rev: 8afda7983aa6476eb5d44962e99992eb479eff1f)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-02 15:44:11 +01:00
Alexander Kanavin
087070bf21 shadow: update 4.8.1 -> 4.9
Add a couple backports to fix builds.

Drop 0002-Allow-for-setting-password-in-clear-text.patch;
what it adds is horribly insecure and AB testing didn't reveal any
regressions or use cases for it.

Drop /etc/default/ tweaks as files are no longer installed there.

Drop manpage alternatives as manpages are no longer installed.

(From OE-Core rev: 759df7395908f18b3b68f28d043ac9ebd42dd0c8)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-02 15:44:11 +01:00
Alexander Kanavin
ebee9854d7 selftest: add core-image-weston to no-gpl3-no-meta-gpl2 image test
This demonstrates more of the tricks and techniques that can be used
to achieve gpl3-free images withough having to roll back to ancient
versions of various core items via meta-gpl2.

(From OE-Core rev: cb78db7aa14f147ce79c12539c9435cab06f92bf)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-02 15:44:11 +01:00
Alexander Kanavin
ab407efcb0 rpm: do not RRECOMMEND rpm-build
This avoids pulling in perl, python and (especially) bash;
rpm building functionality should be neither hard nor soft
dependency of rpm package management.

(From OE-Core rev: ff0e05241a3b61415dc24a8bc2104b4be04b8fc7)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-02 15:44:11 +01:00
Alexander Kanavin
41753ff4f7 devtool: print a warning on upgrades if PREFERRED_VERSION is set
(From OE-Core rev: 0b0f53eed0aadbf45d9eead96ebf7725cc7447e6)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-02 15:44:11 +01:00
Alexander Kanavin
f1a277433c freetype: update 2.10.4 -> 2.11.0
License-Update: formatting, changed location in source tree.

(From OE-Core rev: 28023ea2193405987062aa86d199d7844716cfe6)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-02 15:44:10 +01:00
Alexander Kanavin
3665b46e5f iputils: update 20210202 -> 20210722
Drop rdisc part from 0001-rarpd-rdisc-Drop-PrivateUsers.patch
as it's been fixed upstream; rarpd still isn't.

(From OE-Core rev: 521a8b2161614db50deed16a7a70d924b8ffe12f)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-02 15:44:10 +01:00
Alexander Kanavin
0b46f264a4 util-linux: update 2.37 -> 2.37.1
Drop backports.

(From OE-Core rev: d50e8b73c81af52bacc2125c8fe4828ad2da2ef3)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-02 15:44:10 +01:00
Alexander Kanavin
5322c500c2 mtools: update 4.0.32 -> 4.0.34
Drop no-x11.gplv3.patch (the libraries are now
dynamically enabled from configure.in).

(From OE-Core rev: b9b628b55b5c2982145a333686338e757827f499)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-02 15:44:10 +01:00
Alexander Kanavin
332cadc059 cmake: update 3.21.0 -> 3.21.1
(From OE-Core rev: 7991406204d68c9c30aeacd5200d09f256d17fe6)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-02 15:44:10 +01:00
Richard Purdie
bc40dd5357 sanity.conf: Require bitbake 1.51.1
We require 1.51.1 which has the override syntax changes in it.

(From OE-Core rev: 1da9f55ed84c3bec2dda080fb10613752dbd5685)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-02 15:44:10 +01:00
Richard Purdie
7dee8924ca local.conf.sample: Bump version so users update their config
It has been a while since we've done this but with the new syntax, users
need to update their local.conf if based off the template. Update the
versions to trigger this.

(From OE-Core rev: 5452f1ba337685cf89d3429e08255450ab90b96f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-02 15:44:10 +01:00
Richard Purdie
65133015b1 meta: Manual override fixes
The automated conversion of OE-Core to use the new override sytax isn't
perfect. This patches some mis-converted lines and some lines which were missed
by the automation.

(From OE-Core rev: 4e9a06b64b43131b731fb59a0305f78a98e27fbd)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-02 15:44:10 +01:00
Richard Purdie
bb6ddc3691 Convert to new override syntax
This is the result of automated script conversion:

scripts/contrib/convert-overrides.py <oe-core directory>

converting the metadata to use ":" as the override character instead of "_".

(From OE-Core rev: 42344347be29f0997cc2f7636d9603b1fe1875ae)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-02 15:44:10 +01:00
Richard Purdie
fcc456ee4b layer.conf: Override changes mean we're only compatible with honister
Due to the override changes, we only allow compatibility with honister and
not hardknott.

(From OE-Core rev: 72c04cb3ca78208a135275d6dd43ad500b663cb5)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-02 15:44:10 +01:00
Richard Purdie
d1ff0ac9df bitbake: bitbake: Update to version 1.51.1
(Bitbake rev: ca88466f6d244042b12b66ccd69e27ca2f057d17)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-02 15:44:10 +01:00
Richard Purdie
4512f767ea bitbake: doc/lib: Add fixes for issues missed by the automated conversion
The examples and tests use non-standard override names, convert these to
the new syntax by hand.

(Bitbake rev: a6c40eca1146c0160da7e4e0bd7ac52fef2029e0)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-02 15:44:10 +01:00
Richard Purdie
2d7cf6c056 bitbake: doc/lib: Update to use new override syntax containing colons
This runs the overrides conversion script in OE-Core over the bitbake code
base including the docs. A handful of things were excluded in toaster
and for the Changelog file.

(Bitbake rev: 47f8d3b24fd52381bf3b41e2f55a53e57841344c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-02 15:44:10 +01:00
Richard Purdie
2abf8a699e bitbake: bitbake: Switch to using new override syntax
This change updates the datastore to use the new override syntax using
colons instead of underscores exclusively. It is expected layers would
have to be converted to work with bitbake after this change.

Supporting mixed syntax isn't possible, it is only feasible to have
one internal representation of overrides.

Whilst we can't warn for every possible override that may be set in the
old format, show errors for _append/_prepend/_remove since those should
never be present.

(Bitbake rev: 7dcf317cc141dc980634f8c18bfa84f83e57206a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-02 15:44:10 +01:00
Richard Purdie
f735627e7c common-tasks: Fix conversion error in npm example
(From yocto-docs rev: a6441aa5765be4a121a45ede94ca6d4c6fedf4ef)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-30 22:52:19 +01:00
Michael Opdenacker
d664794cce manuals: remove explicit BitBake variable references
The standard :term:`VARIABLE` will refer to the
description of the variable in the YP variable index. If it
doesn't exist, it will refer to the description of the variable
in the BitBake manual.

(From yocto-docs rev: 34cb466caf872f9284eb81f6a5f31ad606214dee)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Reviewed-by: Quentin Schulz <foss@0leil.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-30 22:49:15 +01:00
Michael Opdenacker
38496093d7 manuals: simplify references to BitBake manual
Replacing ":ref:`section name<bitbake:bitbake-user-manual/bitbake-user-manual-<section>:section name>`"
by ":ref:`bitbake:bitbake-user-manual/bitbake-user-manual-<section>:section name`"
when the reference description is the same as the section name.
In this case, that's unnecessary to repeat the section name in the description part.

(From yocto-docs rev: 6a1a590f9ef77dc8842ea5945661135992eb94e1)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Reviewed-by: Quentin Schulz <foss@0leil.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-30 22:49:15 +01:00
Michael Opdenacker
1452ac11ee documentation/README: improve BitBake manual referencing guidelines
Removing the ":ref:`-D <bitbake:..." syntax as it's not necessary
Adding more and simpler ways of making references to the BitBake
manual.

(From yocto-docs rev: 7ad087a81e5dca7088c8088cd0cdcf31606baa6e)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Reviewed-by: Quentin Schulz <foss@0leil.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-30 22:49:15 +01:00
Richard Purdie
0d527052cb migration-guides: Add start of 3.4 guide with override migration notes
(From yocto-docs rev: e60019c81e63250feaee4937873a90042074030b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Reviewed-by: Quentin Schulz <foss@0leil.net>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-30 22:49:15 +01:00
Michael Opdenacker
eb31b774b1 dev-manual: fix wrong reference to class
The file 'meta/classes/core-image.bbclass' seems have nothing about
the 'IMAGE_FEATURES' variable, using 'meta/classes/image.bbclass' instead.

(From yocto-docs rev: b0eb9ef09c73db97e3f289565d0ce17d9aa7e8cd)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Mingrui Ren <jiladahe1997@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-30 22:49:15 +01:00
Michael Opdenacker
1b52175f6b quick start manual: update "source oe-init-build-env" output
(From yocto-docs rev: 0c8be05b393ea318d033af6b596da5349c75653a)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-30 22:49:15 +01:00
Michael Opdenacker
708aacbb0b test-manual: document LTO related reproducibility bug
(From yocto-docs rev: 33b6f7cec780f77ed9cd0518f72ec8c0e3c08e68)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Reviewed-by: Tony Battersby <tonyb@cybernetics.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-30 22:49:15 +01:00
Martin Jansa
926fae24e1 convert-overrides.py: allow specifying multiple target dirs
(From OE-Core rev: e6aa4b1f6f4f174cba027ee096db174541815ff0)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-30 11:31:09 +01:00
Martin Jansa
812ca4cc91 convert-overrides.py: 0.9.1 include '(' as delimiter for shortvars
(From OE-Core rev: ffe91649fafa84f814e32c9979e6a2de40a1bb25)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-30 11:31:09 +01:00
Richard Purdie
6c6dc19467 systemtap: Fix headers issue with x86 and 5.13 headers
On some x86 platforms there were header issues causing pt_regs compile
failures for our stap tests, e.g. on genericx86-64 but not qemux86-64.

Backport a patch from upstream which fixes the issue.

[YOCTO #14491]

(From OE-Core rev: a4ad6c88b683b7310ef46d89b1add80b0f41bf2d)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-30 11:31:09 +01:00
Martin Jansa
b4d63248f0 convert-overrides.py: remove base_dep_prepend and autotools_dep_prepend exception
* the functions were renamed in:
  https://git.openembedded.org/openembedded-core/commit/?id=9d002acae720b0a8e96a6734424a142b86880461

(From OE-Core rev: 43b7cbfb46701a130c248842426370372c88553b)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-30 10:55:13 +01:00
Martin Jansa
1a1bb6ce51 convert-overrides.py: show processed file and version of this script
* on bigger layer this script takes couple minutes without showing any progress
* add a version to reference it in the conversion commit (to easily figure out
  if it's worth re-converting the layer).

(From OE-Core rev: 39edf868deafe79ffd2ea57620af70840ec4c208)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-30 10:55:13 +01:00
Richard Purdie
82c1581e48 scripts/contrib: Add override conversion script
This adds a script I've developed to migrate metadata to use the new override
syntax. It is a bit rough but since its for a single use with validation, it
doesn't need to be perfect. It is run simply as:

scripts/contrib/convert-overrides.py <directory>

It is setup and has been tested to work with OE-Core, Bitbake, yocto-docs,
meta-yocto, meta-gplv2 and meta-mingw. For OE-Core, it converts around 10,100
lines with about 34 manual fixes needed.

For other layers it would need updating for override names and exclusions for
functions/variable names with "append", "prepend" or "remove" in them.

(From OE-Core rev: e8fc67f6f6baf54ccdf548b947c35dea926842c3)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-30 00:11:51 +01:00
Richard Purdie
2f2875f73c autotools/base/icecc: Remove prepend from function names
Using prepend as part of a function name is a poor choice. Whilst we're
about to make the syntax explict, improve the names anyway making the
conversion easier and the intent clear that this isn't an override.

(From OE-Core rev: 9d002acae720b0a8e96a6734424a142b86880461)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-30 00:11:51 +01:00
Richard Purdie
a4b9bf3a1e layer.conf: Update to honister
This marks the layers as compatible with honister now they use the new override
syntax.

(From meta-yocto rev: ea637ebd5a79e5d023bbf347d633568bcb7506a2)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-29 23:38:21 +01:00
Richard Purdie
9826f87cb4 meta-poky/meta-yocto-bsp: Convert to new override syntax
This converts the two layers to the new override syntax. This was done using

<oe-core>/scripts/contrib/convert-overrides.py <this-layer>

with no manual fixes.

(From meta-yocto rev: 387eab70f343966267c2a68746aea1bbb8525191)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-29 23:38:21 +01:00
Richard Purdie
d41af446fe bitbake: data_smart: Allow colon in variable expansion regex
Now that ":" is a valid character in variable key names, it needs to be
allowed by the variable expansion code too, to match.

(Bitbake rev: 019251649a38754d5877759d13b664e28dea77de)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-29 23:21:24 +01:00
Paul Barker
261da52339 bitbake: parse/ast: Substitute '~' when naming anonymous functions
When parsing an anonymous python function, bitbake generates a name for
the function based on the full path to the file in which it was found.
As not all characters which are valid in file paths are valid in Python
function names we have a translation table. However, this translation
table was missing an entry for '~'.

(Bitbake rev: b201c0b284e25c20685d9d206797c4cc650eeca0)

Signed-off-by: Paul Barker <paul@pbarker.dev>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-29 23:21:24 +01:00
Joshua Watt
a83ea01b99 bitbake: bitbake: asyncrpc: Catch early SIGTERM
If the SIGTERM signal is sent to an asyncrpc server before it has
installed the SIGTERM handler in the main loop, it may miss the signal
which will can cause the calling process to wait forever on the join().
To resolve this, the calling process should mask of SIGTERM before
forking the server process and the server should unmask the signal only
after the handler is installed. To simplify the usage of the server, an
new helper function called serve_as_process() is added to do this
automatically and correctly.

Thanks: Scott Murray <scott.murray@konsulko.com> for helping debug
(Bitbake rev: ef2865efa98ad20823267364f2159d8d8c931400)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-29 23:21:24 +01:00
Paul Barker
445c5b9324 bitbake: asyncrpc: Set timeout when waiting for reply from server
(Bitbake rev: b31f1853d7fcb8b8f8885ca513a0021a5d0301e6)

Signed-off-by: Paul Barker <pbarker@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-29 23:21:24 +01:00
Paul Barker
57ec655acc bitbake: asyncrpc: Fix bad message error in client
If there is an issue with the format of the reply given by the server then we
should print this reply line in the error message. Printing the message which
the client sent doesn't illuminate anything here.

(Bitbake rev: bd8f8d7b055da15cd7bdd0b383061852a0f54cb7)

Signed-off-by: Paul Barker <pbarker@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-29 23:21:24 +01:00
Jon Mason
a35c6ef274 parselogs.py: qemuarm should be qemuarmv5
All of the errors being masked off for qemuarm are legacy from before
the migration of qemuarm to qemuarmv5.  Rename the machine to that to
allow for qemuarmv5 to pass parselog test.  Light testing shows no
errors in dmesg for qemuarm.

(From OE-Core rev: 701a58504de15b244b970908f2de0971a35b5a09)

Signed-off-by: Jon Mason <jdmason@kudzu.us>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-29 22:33:51 +01:00
Ross Burton
de771b3212 libx11: fix xkb compilation with _EVDEVK symbols
New xkeyboard-config writes defines that use _EVDEVK(), which makekeys
can't parse.  Take a patch from upstream to also parse these symbols.

[ YOCTO #14489 ]

(From OE-Core rev: b63b6ceda629bd101b5889e61a27a6d99843460e)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-29 22:33:51 +01:00
Mingli Yu
dd5ebf4fdd perlcross: not break build if already patched
Currently the build will break if the patch already applied
as the return value of "test ! -f $@" is not 0, so make sure
to return 0 if the patch already applied.

Fixes:
 $ bitbake perl-native

 Make a change as below
 $ git diff
 diff --git a/meta/recipes-devtools/perl-cross/perlcross_1.3.6.bb b/meta/recipes-devtools/perl-cross/perlcross_1.3.6.bb
 index b77bbd1fd4..4c5e35ab80 100644
 --- a/meta/recipes-devtools/perl-cross/perlcross_1.3.6.bb
 +++ b/meta/recipes-devtools/perl-cross/perlcross_1.3.6.bb
 @@ -33,6 +33,7 @@ do_compile () {
  do_install_class-native() {
      mkdir -p ${D}/${datadir}/perl-cross/
      cp -rf ${S}/* ${D}/${datadir}/perl-cross/
 +    echo "test" > ${D}/${datadir}/perl-cross/testfile
 }

 $ bitbake perl-native
NOTE: make -j 40
make crosspatch
make[1]: Entering directory '/build/tmp-glibc/work/x86_64-linux/perl-native/5.34.0-r0/perl-5.34.0'
test ! -f cnf/diffs/perl5-5.34.0/posix-makefile.applied && (patch -p1 -i cnf/diffs/perl5-5.34.0/posix-makefile.patch && touch cnf/diffs/perl5-5.34.0/posix-makefile.applied)
test ! -f cnf/diffs/perl5-5.34.0/dynaloader.applied && (patch -p1 -i cnf/diffs/perl5-5.34.0/dynaloader.patch && touch cnf/diffs/perl5-5.34.0/dynaloader.applied)
make[1]: *** [Makefile:64: cnf/diffs/perl5-5.34.0/posix-makefile.applied] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: *** [Makefile:64: cnf/diffs/perl5-5.34.0/dynaloader.applied] Error 1
make[1]: Leaving directory '/build/tmp-glibc/work/x86_64-linux/perl-native/5.34.0-r0/perl-5.34.0'
make: *** [Makefile:78: all] Error 2

(From OE-Core rev: 354163db5588d87941f53a2763be62b2430cc1fc)

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-29 22:33:51 +01:00
Changqing Li
4a1381d350 archiver.bbclass: fix do_ar_configured failure for kernel
(From OE-Core rev: d7776a23cbea836ddb8ac5ec77012af2449ab875)

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>
2021-07-28 23:47:00 +01:00
Tony Tascioglu
9da5e45c73 ffmpeg: fix CVE-2021-33815
avcodec/exr: More strictly check dc_count

Fixes: out of array access
Fixes: exr/deneme

Found-by: Burak Çarıkçı <burakcarikci@crypttech.com>
(From OE-Core rev: e03fda4df5d2865d5ac516f45aa120e2caf7de47)

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>

CVE: CVE-2021-33815
Upstream-Status: Backport [26d3c81bc5ef2f8c3f09d45eaeacfb4b1139a777]

Signed-off-by: Tony Tascioglu <tony.tascioglu@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-28 23:47:00 +01:00
Tony Tascioglu
d6044c86b0 ffmpeg: fix CVE-2020-22033 and CVE-2020-22019
avfilter/vf_vmafmotion: Check dimensions

Fixes: out of array access
Fixes: Ticket8241
Fixes: Ticket8246
Fixes: CVE-2020-22019
Fixes: CVE-2020-22033

(From OE-Core rev: 451a945efb21221cfeeb4e641c5aa8bf4ae18c89)

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>

CVE: CVE-2020-22033
CVE: CVE-2020-22019
Upstream-Status: Backport [82ad1b76751bcfad5005440db48c46a4de5d6f02]

Signed-off-by: Tony Tascioglu <tony.tascioglu@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-28 23:47:00 +01:00
Tony Tascioglu
01d224ae48 ffmpeg: fix CVE-2020-22021
avfilter/vf_yadif: Fix handing of tiny images

Fixes: out of array access
Fixes: Ticket8240
Fixes: CVE-2020-22021

(From OE-Core rev: b30f647225ecc71207696df3951716e85b886ca4)

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>

CVE: CVE-2020-22021
Upstream-Status: Backport [7971f62120a55c141ec437aa3f0bacc1c1a3526b]

Signed-off-by: Tony Tascioglu <tony.tascioglu@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-28 23:47:00 +01:00
Tony Tascioglu
92704af67d ffmpeg: fix CVE-2020-22015
avformat/movenc: Check pal_size before use

Fixes: assertion failure
Fixes: out of array read
Fixes: Ticket8190
Fixes: CVE-2020-22015

(From OE-Core rev: 5953c24ecd2e540483443284111abc883fdb1a10)

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>

CVE: CVE-2020-22015
Upstream-Status: Backport [4c1afa292520329eecd1cc7631bc59a8cca95c46]

Signed-off-by: Tony Tascioglu <tony.tascioglu@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-28 23:47:00 +01:00
Tony Tascioglu
e3adc62076 ffmpeg: fix CVE-2020-20453
avcodec/aacenc: Avoid 0 lambda

Fixes: Ticket8003
Fixes: CVE-2020-20453

(From OE-Core rev: 66478fa2b913f69bcad1a1989f716c9c30953fee)

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>

CVE: CVE-2020-20453
Upstream-Status: Backport [a7a7f32c8ad0179a1a85d0a8cff35924e6d90be8]

Signed-off-by: Tony Tascioglu <tony.tascioglu@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-28 23:47:00 +01:00
Tony Tascioglu
7de4c20e62 ffmpeg: fix-CVE-2020-20446
avcodec/aacpsy: Avoid floating point division by 0 of norm_fac

Fixes: Ticket7995
Fixes: CVE-2020-20446

(From OE-Core rev: d3806b2add3060649c2d488fb9208a106573d523)

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>

CVE: CVE-2020-20446
Upstream-Status: Backport [223b5e8ac9f6461bb13ed365419ec485c5b2b002]

Signed-off-by: Tony Tascioglu <tony.tascioglu@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-28 23:47:00 +01:00
Khem Raj
c31188d721 stress-ng: Drop defining daddr_t
This is fixed differently upstream [1]

[1] 7e150ab18b
(From OE-Core rev: 96b1d483ccf2166bf577e73075d5fe57c45bbfdf)

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>
2021-07-28 23:47:00 +01:00
Khem Raj
d299cb3be9 systemd: Fix build on musl
Latest upgrade to 249 broke a working build on musl, this is incremental
fix to exisiting patches adapted to 249 release

(From OE-Core rev: 06b69d0194b35010a09f0bb419d6fbabc9765a03)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Luca Boccassi <luca.boccassi@microsoft.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-28 23:47:00 +01:00
Vinay Kumar
55681d09d7 glibc: Fix CVE-2021-33574
Source: https://sourceware.org/git/glibc.git
Tracking -- https://sourceware.org/bugzilla/show_bug.cgi?id=27896

Backported upstream commit 42d359350510506b87101cf77202fefcbfc790cb to
glibc-2.33 source with dependent commit id 217b6dc298156bdb0d6aea9ea93e7e394a5ff091.

Upstream-Status: Backport [https://sourceware.org/git/?p=glibc.git;a=commit;h=42d359350510506b87101cf77202fefcbfc790cb]

(From OE-Core rev: b4bc29cf19d811c0ec948dbe69c0bc79fe31e0e8)

Signed-off-by: Vinay Kumar <vinay.m.engg@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-28 23:47:00 +01:00
Joshua Watt
8dbe3bd652 mesa: Fix v3d & vc4 dmabuf import
Mesa would unnecessarily fail in the v3d and vc4 driver if a dmabuf
could not imported for scanout. In particular, this meant the
weston-simple-dmabuf-egl test program would fail on a Raspberry Pi.

(From OE-Core rev: 6396c42df4609b4515f197926388ff4acb11fe52)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-28 23:47:00 +01:00
Marek Vasut
7668153777 kernel-uboot: Handle gzip and lzo compression options
Since 5c72105e29 ("kernel-uboot: allow compression option to be configurable")
it is possible to select kernel compression method, however the resulting
image is always compressed with gzip, so selecting any other method than
gzip results in unbootable images. Add support for lzo for starters, since
that is fast to decompress and useful in low boot time scenarios.

Note that we should likely add some check for unsupported compression
methods. We should also add dependency on lzop-native I think.

(From OE-Core rev: f1257d61b76d027d4ece734439993b6bf4e48907)

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Richard Purdie <richard.purdie@linuxfoundation.org>
Cc: Sinan Kaya <okaya@kernel.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-28 23:47:00 +01:00
Marek Vasut
e2802c2186 image_types: Restore pre-btrfs-tools 4.14.1 mkfs.btrfs shrink behavior
Currently the mkfs.btrfs generates large images with a lot of wasted
space. This happens since OE-core updated btrfs-tools from 4.13.3 to
4.15.1 in commit 94b645aa77 ("btrfs-tools: update to 4.15.1") .

Note in mkfs.btrfs(8) manpage section -r says the following:
"
  -r|--rootdir <rootdir>
...
       Note This option may enlarge the image or file to ensure
       it’s big enough to contain the files from rootdir. Since
       version 4.14.1 the filesystem size is not minimized. Please
       see option --shrink if you need that functionality.

  --shrink
     Shrink the filesystem to its minimal size, only works with
     --rootdir option.
...
       Note prior to version 4.14.1, the shrinking was done
       automatically.
"

Add the --shrink option to EXTRA_IMAGECMD_btrfs to reinstate the
original behavior and un-waste the space.

(From OE-Core rev: c4a99d36967302c176b62fad840b5e79486ea356)

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Cc: Richard Purdie <richard.purdie@linuxfoundation.org>
Cc: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-28 23:47:00 +01:00
Stefano Babic
e2e12c63f4 mtd-utils: upgrade 2.1.2 -> 2.1.3
Drop also --enable-install-tests from configuration options because this
was removed in 2.1.3.

(From OE-Core rev: c95c852b84f02f5e2ad5c575ab683bba0471f221)

Signed-off-by: Stefano Babic <sbabic@denx.de>
CC: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
CC: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-28 23:47:00 +01:00
Damian Wrobel
5b267b3983 rootfs: remove ldconfig auxiliary cache where appropriate
Removes the /var/cache/ldconfig auxiliary cache directory from
the rootfs when:
 - read-only-rootfs is in IMAGE_FEATURES,
 - ldconfig is not in DISTRO_FEATURES.

In both cases the /var/cache/ldconfig/aux-cache is useless.

(From OE-Core rev: e7a18904582b27fd12a437ff4d8d25c625af7696)

Signed-off-by: Damian Wrobel <dwrobel@ertelnet.rybnik.pl>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-28 23:47:00 +01:00
Nicolas Dechesne
356137bcf2 yocto-check-layer: ensure that all layer dependencies are tested too
In order to be compliant with the YP compatible status, a layer also
needs to ensure that all its dependencies are compatible
too. Currently yocto-check-layer only checks the requested layer,
without testing any dependencies.

With this change, all dependencies are also checked by default, so the
summary printed at the end will give a clear picture whether all
dependencies pass the script or not.

Using --no-auto-dependency can be used to skip that.

(From OE-Core rev: 45d59b774b95c91193a8376b83c05291d555e5c8)

Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-28 23:47:00 +01:00
Nicolas Dechesne
8dbef94dce checklayer: rename _find_layer_depends
What this function does is really to find a layer, not a 'depends'. We
are using this function to find a dependent layer, but the name is
confusing.

(From OE-Core rev: e9b7690ab30d0e7c07471034f6cb89ccc3168a11)

Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-28 23:47:00 +01:00
Nicolas Dechesne
4f452a8be1 checklayer: new function get_layer_dependencies()
Split add_layer_dependencies() into 2 parts. First search for layer
dependencies, and then add them to the config. That allows us to
call get_layer_dependencies() independently.

(From OE-Core rev: 08edf928aac3f2daaa0c256d4c21e56e2db72bff)

Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-28 23:47:00 +01:00
Nicolas Dechesne
989d756405 yocto-check-layer: improve missed dependencies
The first 2 calls to add_layer_dependencies() are here to add all
dependencies for the 'layer under test' and the additional layers
provided by the users.

In both cases, we use misssing_dependencies boolean to indicate if any
dependency is missing. But we then never really use
missing_dependencies. Instead the script is calling
add_layer_dependencies() again (for both the layer under test, and the
additional layers) to detect if there are any missing dependency. As a
result, we are trying to add again all dependencies, and we can see
that from the traces:

INFO: Detected layers:
INFO: meta-aws: LayerType.SOFTWARE, /work/oe/sources/meta-aws
INFO: checklayer: Doesn't have conf/layer.conf file, so ignoring
INFO:
INFO: Setting up for meta-aws(LayerType.SOFTWARE), /work/oe/sources/meta-aws
INFO: Adding layer meta-python
INFO: Adding layer meta-oe
INFO: Adding layer meta-networking
-->
INFO: Adding layer meta-python
INFO: meta-python is already in /work/oe/poky/master/build-checklayer/conf/bblayers.conf
INFO: Adding layer meta-oe
INFO: meta-oe is already in /work/oe/poky/master/build-checklayer/conf/bblayers.conf
INFO: Adding layer meta-networking
INFO: meta-networking is already in /work/oe/poky/master/build-checklayer/conf/bblayers.conf
<--
INFO: Getting initial bitbake variables ...

The code appears more complex than it should, and we can simply
replace the complex if statement by using missing_dependencies, and
avoid duplicating the call to add_layer_dependencies().

(From OE-Core rev: fceb84f7bc472731b8f96ee1ebf0f4485943226c)

Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-28 23:47:00 +01:00
Kai Kang
3ad52f4a48 u-boot_2021.07: set UBOOT_MACHINE for qemumips and qemumips64
It fails to build u-boot 2021.07 for qemumips and qemumips64:

| *** Can't find default configuration "arch/../configs/qemu_mips64_defconfig"!

According to

https://source.denx.de/u-boot/u-boot/-/commit/5308a71

set UBOOT_MACHINE with malta defconfigs for qemumips and qemumips64.

(From OE-Core rev: 337e461ff92cd114b97e19ecf79806030b9b4666)

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>
2021-07-28 23:47:00 +01:00
Richard Purdie
331c23aea8 libubootenv: Drop default-env RRECOMMENDS
The link back to uboot's env is causing a ton of pain since it is making
this recipe machine specific. Some machines may use uboot, some may
not but you really want an architecture/machine neutral library.

Revert this part of the 0.3 upgrade (OE-Core rev:
02d55cd35aac15095fc44f0cf8f9e7a71638f485) so that we don't need some
of the horrible workarounds being seen in other layers. If a given
machine uses u-boot, the env can be pulled in by the machine directly.

(From OE-Core rev: e6d13986aa913c07f26afa81f1db35fd3e4e7779)

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>
2021-07-28 23:47:00 +01:00
Vivien Didelot
a58b9a291d init-manager-systemd: define weak dev manager
For a full systemd distro, also add a weak assignment for systemd as
the dev manager.

(From OE-Core rev: 55c1c749b9d4ffdf00978391fd0437348ba75caa)

Signed-off-by: Vivien Didelot <vdidelot@pbsc.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-28 23:47:00 +01:00
Alexander Kanavin
3d4ff3a65b cmake: update 3.20.5 -> 3.21.0
(From OE-Core rev: 57a0ab3abf70963d13c6ccea275cd70d8531c0ff)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-28 23:47:00 +01:00
Quentin Schulz
7ade8346b3 bitbake: doc: bitbake-user-manual: replace `FOO by :term:FOO` where possible
If a variable has a glossary entry and some rST files write about those
variables, it's better to point to the glossary entry instead of just
highlighting it by surrounding it with two tick quotes.

The script that is used to do the replacement of ``FOO`` by :term:`FOO`
is the following Python code:

import re
from pathlib import Path
from runpy import run_module
import contextlib
import io
import sys

re_term = re.compile(r'variables.html#term-([a-zA-Z_0-9]*)')
terms = []
new_terms = set()

with contextlib.redirect_stdout(io.StringIO()) as f:
    run_module('sphinx.ext.intersphinx', run_name='__main__')

objects = f.getvalue()

match = re_term.search(objects)
while match:
    if match.group(1):
        terms.append(match.group(1))
    match = re_term.search(objects, match.end())

for rst in Path('.').rglob('*.rst'):
    with open(rst, 'r') as f:
        content = "".join(f.readlines())
    for term in terms:
        content = re.sub(r'``({})``(?!.*\s+[~=-]{{{:d},}})'.format(term, len(term)), r':term:`\1`', content)

    with open(rst, 'w') as f:
        f.write(content)

This script takes one argument as input: an objects.inv which can be
gotten from doc/_build/html/objetcs.inv after running `make html`.

Note that this excludes from replacement terms that appear in section
titles as it requires refs to be changed too. This can be automated too
if need be but right now it looks a bit confusing to have an anchor link
(for sections) also have a term/reference link in it. I am not sure this
is desired today.

(Bitbake rev: aba88f40c47133ed9bc999e0298aca3bc8490912)

Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Signed-off-by: Quentin Schulz <foss@0leil.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-26 23:05:05 +01:00
Quentin Schulz
3b6742685b bitbake: doc: bitbake-user-manual: ref-variables: force glossary output to be alphabetically sorted
Even though, care should be taken to have the terms in the glossary
sources alphabetically ordered, it is possible some terms might be in
the wrong place.

This makes sure that whatever the order of terms in the glossary
sources, the generated medium is correctly sorted.

(Bitbake rev: 98809ebc6ad51f0a94cedccfaff9c11d3744dc0d)

Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Signed-off-by: Quentin Schulz <foss@0leil.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-26 22:34:13 +01:00
Quentin Schulz
eb38dce0c1 bitbake: doc: bitbake-user-manual: ref-variables: order alphabetically the glossary sources
This reorders a few entry so that they are alphabetically sorted.

(Bitbake rev: 311350ed5cb164d975c2119e60255a409e27dffb)

Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Signed-off-by: Quentin Schulz <foss@0leil.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-26 22:34:13 +01:00
Quentin Schulz
bf58b597d2 bitbake: doc: Makefile: turn warnings into errors by default
-W is for turning warnings into errors, --keep-going to make sure the
whole documentation is built and all warnings will be printed before
failing.

Since there's currently no warning, it's time to introduce it!

(Bitbake rev: 6b0b3d707f662ca7b1d0de99fe032e4f35867d10)

Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Signed-off-by: Quentin Schulz <foss@0leil.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-26 22:34:13 +01:00
Michael Opdenacker
d49e7dde84 conf-notes.txt: now suggesting to run 'runqemu qemux86-64'
'runqemu qemux86' doesn't work any more.
The "Quick Build" documentation has already been updated
but this message that we get when sourcing "oe-init-build-env"

(From OE-Core rev: 581bebac87549b403dd69b57a6edfe38b8bfe760)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-25 18:06:31 +01:00
Michael Opdenacker
313868577a oe-setup-builddir: update YP docs and OE URLs
This updates the link to the YP docs
and proposes to access the OE website through https

(From OE-Core rev: 87686233aeffc639c3f412fd5c4898b32b15013b)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-25 18:06:31 +01:00
Alexander Kanavin
982f98f721 vulkan-samples: update to latest revision
(From OE-Core rev: 643a0398ebcfe9fd53d1b37fb0837d4db08a23af)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-24 16:33:47 +01:00
Alexander Kanavin
fd64f032ca gnu-config: update to latest revision
Adjust lines in license check; checksum is same.

(From OE-Core rev: 454f17c7dde8716e60c8b26303f906158d653f0b)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-24 16:33:47 +01:00
Alexander Kanavin
a704e9f877 libuv: update 1.41.0 -> 1.42.0
(From OE-Core rev: 6478ca47e76f4af10121ccb8428a5a68f21b16cd)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-24 16:33:47 +01:00
Alexander Kanavin
ba1314de14 python3-testools: update 2.4.0 -> 2.5.0
Drop no_traceback2.patch as issue fixed upstream.

(From OE-Core rev: a592d741dec7151d3d32c4584568e49d69ed5b6f)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-24 16:33:47 +01:00
Alexander Kanavin
a4c3deba6e systemd: update 248.3 -> 249.1
jinja is now required:
e0698c66f4

Drop 0001-test-seccomp-Check-for-__NR_ppoll-before-use.patch as it is a backport.

(From OE-Core rev: 323ec445dfe22860cd450c303db5ed8fcb4e791c)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-24 16:33:47 +01:00
Alexander Kanavin
be7193e5ff llvm: update 12.0.0 -> 12.0.1
Other than the tcmode tweak, this was done by devtool \0/

(From OE-Core rev: ba6991c16a5dcac9ce6de18956c0a75ab7e856bb)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-24 16:33:47 +01:00
Khem Raj
47ab5880c8 texinfo: Update gnulib to fix build with glibc 2.34
(From OE-Core rev: 53f5c5b56fd4b2c6a2fabdd26553296aff192380)

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>
2021-07-24 16:33:47 +01:00
Ross Burton
7f5a322eab glew: fix Makefile race
Fix a Makefile race resulting in the target creating a directory being
executed after the target to write into that directory.

[ YOCTO #14485 ]

(From OE-Core rev: e90c1d3b80e35fb685d4b321972743771eb2c2c0)

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>
2021-07-24 16:33:46 +01:00
Richard Purdie
0110d506b8 yocto-check-layer: Remove duplicated code
Nicolas Dechesne spotted there was duplicate code I had introduced with a
previous fix. Remove the second statement since the earlier one is correct
all that is needed.

(From OE-Core rev: f3e8d9f0e53e73de5498fccce81d049a88f6473b)

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>
2021-07-24 16:33:46 +01:00
Ulrich Ölmann
03876eb32b initramfs-framework/setup-live: fix shebang
(From OE-Core rev: 71f1f6bc9402ee0fad82aaf0757fffb73da4b706)

Signed-off-by: Ulrich Ölmann <u.oelmann@pengutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-24 16:33:46 +01:00
Ulrich Ölmann
a3bc70c3ab initramfs-framework: fix whitespace issue
(From OE-Core rev: 9eaf6f4b08144c7f5453545f2bd9fb387a2dbe2e)

Signed-off-by: Ulrich Ölmann <u.oelmann@pengutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-24 16:33:46 +01:00
Oleksandr Kravchuk
1fe2864c5c bitbake.conf: change GNOME_MIRROR to new one
URI has been permanently moved and returns HTTP 301.

(From OE-Core rev: a3a85d54af38a30f6de5f6d23e432afa26859888)

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-24 16:33:46 +01:00
Matthias Schiffer
7edb25bc99 initscripts: fix creation order for /var/log with VOLATILE_LOG_DIR=true
Create the /var/log symlink directly after /var/volatile/log, so
/var/log is available for the creation of /var/log/wtmp a few lines
later.

(From OE-Core rev: 64b659b9e40da3280ba8911b4044b19aa7366262)

Signed-off-by: Matthias Schiffer <matthias.schiffer@ew.tq-group.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-24 16:33:46 +01:00
Matthias Schiffer
2b45c7253f initscripts: populate-volatile.sh: run create_file synchronously
The behavior of running create_file in the background was introduced in
d44816bedade ("initscripts: Populate volatile from existing file")
without further explanation. Besides its questionable benefit, this
causes actual issues:

- Not all create_file processes may have finished by the time the
  initscript exits (or when it moves /etc/volatile.cache.build !)
- By making the order of commands nondeterminstic, it could hide
  dependency issues where it was attempted to create files before their
  containing directories

(From OE-Core rev: 1a4ddb0d3f1289e0b67b6eba9be58374d3d7a80b)

Signed-off-by: Matthias Schiffer <matthias.schiffer@ew.tq-group.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-24 16:33:46 +01:00
Matthias Schiffer
9448e5f17d initscripts: populate-volatile.sh: do not log to tty0
tty0 may not be the intended console for log messages, or it may not
exist at all in kernel configurations without CONFIG_VT. Just use the
default stdout/stderr instead.

(From OE-Core rev: 669e74d358db59768862515fe584aa1edf6cec04)

Signed-off-by: Matthias Schiffer <matthias.schiffer@ew.tq-group.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-24 16:33:46 +01:00
leimaohui
34159787df archiver.bbclass: Fix patch error for recipes that inherit dos2unix.
do_unpack_and_patch error happens for these recipes inherit dos2unix.

(From OE-Core rev: 2ceda7c90c0087f52693c54d5ccab143b27f4d21)

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>
2021-07-24 16:33:46 +01:00
Khem Raj
433d240084 binutils: Upgrade to 2.37 branch
This is next/latest release branch for binutils
Drop backports and CVE fixes which already are applied upstream

bfd_stdint.h has been removed in favor of using stdint.h

(From OE-Core rev: 08cd144fc4b5ac34ff99f71b1d825cbff96b642c)

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>
2021-07-24 16:33:46 +01:00
Richard Purdie
a926dd6cdd Add MAINTAINERS.md file
We have a long history with maintainers files and good and bad experiences. There
are people who'd like to see a kernel style machine readable file which defines
exactly which people should be reviewing which areas. In practise, the files we
do have struggle to stay up to date (e.g. the recipe maintainers file) and such
a file would also cause conflicts of expectations where person X would want to be
cc'd on patches touching file Y and want a revert if they hadn't acked it. We also
don't have clearly defined boundaries in some areas, e.g. toolchain.

We have a wide peer review system and nobody gets to make changes without that
review, even myself as the lead for OE-Core/Bitbake.

I do want to recognise that some people are key experts on particular areas and
hightlight that their views on those areas do carry weight. With that also comes
repsonsibility to help try and figure out bugs, help with review and so on.

I've tried to strike a balance with this file to detail who some of the experts
for particular areas are and to also highlight where we don't have coverage and
that there are opportunities.

I've tried to put the file in the wider context of the project, not just OE-Core.
It is in a repo rather than a wiki so we have visibility to changes through the
change control process.

I'm sure I will miss people, sorry, it is inevitable when you try and make a
list. There may be people who want to step down and don't want to be in this
role, I'm also hoping there are going to be some new volunteers to help in some
areas. Please do send follow up updates, this patch is really meant to help get
us started.

Volunteers to maintainer specific areas of the project are very welcome and
feel free to reach out to ask about areas or getting started and working towards
an official maintainer role (e.g. help with bug fixing).

(From OE-Core rev: b629978efae35d5ea3821f4375bc0d8228b6cc26)

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>
2021-07-24 16:33:46 +01:00
Ralph Siemsen
17aabc0127 oeqa/manual/toaster: fix small typo
PACKAGE_CLASES should be PACKAGE_CLASSES.

(From OE-Core rev: 7a96f3bceb2c857f841b1dbeb4587a8aaace529e)

Signed-off-by: Ralph Siemsen <ralph.siemsen@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-22 21:46:45 +01:00
Armin Kuster
46c0e8828d maintainers.inc: remove myself as a Maintainer
I am releasing my responsibilities from these Packages so that those who are better capable can participate in the Package Maintainer Program. I have not done anything in years so its time to find better stewards.

(From OE-Core rev: 8cc704d4ce335c3871dc7993f3d962d185f1b8b1)

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-22 21:39:43 +01:00
Bruce Ashfield
70013aab37 linux-yocto/5.4: update to v5.4.134
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:

    9afc0c209685 Linux 5.4.134
    c1dafbb26164 seq_file: disallow extremely large seq buffer allocations
    b06ab67bd63b misc: alcor_pci: fix inverted branch condition
    f40884382995 scsi: scsi_dh_alua: Fix signedness bug in alua_rtpg()
    e9602efecf19 MIPS: vdso: Invalid GIC access through VDSO
    48351df82dbc mips: disable branch profiling in boot/decompress.o
    d8afab9bc9fe mips: always link byteswap helpers into decompressor
    bb2435840681 scsi: be2iscsi: Fix an error handling path in beiscsi_dev_probe()
    2a22a1ca453a firmware: turris-mox-rwtm: fail probing when firmware does not support hwrng
    b7c1bafe813a firmware: turris-mox-rwtm: report failures better
    7934e060732f firmware: turris-mox-rwtm: fix reply status decoding function
    65f32d1e0514 thermal/drivers/rcar_gen3_thermal: Fix coefficient calculations
    a3ea516d8d5b ARM: dts: imx6q-dhcom: Add gpios pinctrl for i2c bus recovery
    c4e2fa6fb0f3 ARM: dts: imx6q-dhcom: Fix ethernet plugin detection problems
    9cc2ef1a784c ARM: dts: imx6q-dhcom: Fix ethernet reset time properties
    85434c3a281e ARM: dts: am437x: align ti,pindir-d0-out-d1-in property with dt-shema
    e1314f75b38a ARM: dts: am335x: align ti,pindir-d0-out-d1-in property with dt-shema
    443f6ca6fd18 memory: fsl_ifc: fix leak of private memory on probe failure
    d9213d4f372d memory: fsl_ifc: fix leak of IO mapping on probe failure
    8ef43fa4646f reset: bail if try_module_get() fails
    04bb5b3ea08d ARM: dts: BCM5301X: Fixup SPI binding
    cc10a352e29c firmware: arm_scmi: Reset Rx buffer to max size during async commands
    7dde9387498c firmware: tegra: Fix error return code in tegra210_bpmp_init()
    6ca8e516bc65 ARM: dts: r8a7779, marzen: Fix DU clock names
    52cc83c0282c arm64: dts: renesas: v3msk: Fix memory size
    11d6c1992120 rtc: fix snprintf() checking in is_rtc_hctosys()
    226adc0bf947 memory: pl353: Fix error return code in pl353_smc_probe()
    b782d54b4dca reset: brcmstb: Add missing MODULE_DEVICE_TABLE
    2a9392c6d218 memory: atmel-ebi: add missing of_node_put for loop iteration
    05cfac174796 ARM: dts: exynos: fix PWM LED max brightness on Odroid XU4
    45414bfe5af3 ARM: dts: exynos: fix PWM LED max brightness on Odroid HC1
    cc617c9ddb1f ARM: dts: exynos: fix PWM LED max brightness on Odroid XU/XU3
    13c5fa0a43a0 ARM: exynos: add missing of_node_put for loop iteration
    dc3939d97238 reset: a10sr: add missing of_match_table reference
    b57e025bb0d7 ARM: dts: gemini-rut1xx: remove duplicate ethernet node
    3f870d8c2bc1 hexagon: use common DISCARDS macro
    3b03882123e4 NFSv4/pNFS: Don't call _nfs4_pnfs_v3_ds_connect multiple times
    9f02e9dd8ca2 ALSA: isa: Fix error return code in snd_cmi8330_probe()
    aa8866530d6a nvme-tcp: can't set sk_user_data without write_lock
    496bcc8d4ff9 virtio_net: move tx vq operation under tx queue lock
    aac6a79ee0c0 pwm: imx1: Don't disable clocks at device remove time
    aa51b6bc7907 x86/fpu: Limit xstate copy size in xstateregs_set()
    df749be38c94 PCI: iproc: Support multi-MSI only on uniprocessor kernel
    25bff167719d PCI: iproc: Fix multi-MSI base vector number allocation
    1d9d997850d8 ubifs: Set/Clear I_LINKABLE under i_lock for whiteout inode
    d0b32dc1409f nfs: fix acl memory leak of posix_acl_create()
    e7de89b8b285 watchdog: aspeed: fix hardware timeout calculation
    0366238f6af4 um: fix error return code in winch_tramp()
    c43226ac1079 um: fix error return code in slip_open()
    81e03fe5bf8f NFSv4: Initialise connection to the server in nfs4_alloc_client()
    2d2842f5d2cd power: supply: rt5033_battery: Fix device tree enumeration
    c5b104a27028 PCI/sysfs: Fix dsm_label_utf16s_to_utf8s() buffer overrun
    5b6cde3bae6d f2fs: add MODULE_SOFTDEP to ensure crc32 is included in the initramfs
    00fcd8f33e9b x86/signal: Detect and prevent an alternate signal stack overflow
    52bd1bce8624 virtio_console: Assure used length from device is limited
    7909782857c2 virtio_net: Fix error handling in virtnet_restore()
    04c6e60b884c virtio-blk: Fix memory leak among suspend/resume procedure
    8ae24b9bf8f9 ACPI: video: Add quirk for the Dell Vostro 3350
    0bbac736224f ACPI: AMBA: Fix resource name in /proc/iomem
    7d0667521501 pwm: tegra: Don't modify HW state in .remove callback
    f8ba40611be3 pwm: img: Fix PM reference leak in img_pwm_enable()
    9eb5142d3f76 power: supply: ab8500: add missing MODULE_DEVICE_TABLE
    658884b22ac8 power: supply: charger-manager: add missing MODULE_DEVICE_TABLE
    ae1a6af2f8f8 NFS: nfs_find_open_context() may only select open files
    04a333cf982c ceph: remove bogus checks and WARN_ONs from ceph_set_page_dirty
    ab720715b8a8 orangefs: fix orangefs df output.
    1680c3ece217 PCI: tegra: Add missing MODULE_DEVICE_TABLE
    12f8d6e7f2c7 x86/fpu: Return proper error codes from user access functions
    f58ab0b02ee7 watchdog: iTCO_wdt: Account for rebooting on second timeout
    bcafecd30431 watchdog: imx_sc_wdt: fix pretimeout
    db222f1477ad watchdog: Fix possible use-after-free by calling del_timer_sync()
    7c56c5508dc2 watchdog: sc520_wdt: Fix possible use-after-free in wdt_turnoff()
    146cc288fb80 watchdog: Fix possible use-after-free in wdt_startup()
    1e6e806dda4c PCI/P2PDMA: Avoid pci_get_slot(), which may sleep
    d2bc221be148 ARM: 9087/1: kprobes: test-thumb: fix for LLVM_IAS=1
    94cfbe80f0cf power: reset: gpio-poweroff: add missing MODULE_DEVICE_TABLE
    b6d1d46165f0 power: supply: max17042: Do not enforce (incorrect) interrupt trigger type
    e8794f7bb543 power: supply: ab8500: Avoid NULL pointers
    af619a7455a1 pwm: spear: Don't modify HW state in .remove callback
    f16b1d7dc46f power: supply: sc2731_charger: Add missing MODULE_DEVICE_TABLE
    b8495c08b2e8 power: supply: sc27xx: Add missing MODULE_DEVICE_TABLE
    13b51d90f0a6 lib/decompress_unlz4.c: correctly handle zero-padding around initrds.
    f492dfec0c82 i2c: core: Disable client irq on reboot/shutdown
    ec50ddd8456c intel_th: Wait until port is in reset before programming it
    ba547e7431bf staging: rtl8723bs: fix macro value for 2.4Ghz only device
    6bc7ea6584cb ALSA: usb-audio: scarlett2: Fix 6i6 Gen 2 line out descriptions
    7929bcf1a278 ALSA: hda: Add IRQ check for platform_get_irq()
    0f3821c3281b backlight: lm3630a: Fix return code of .update_status() callback
    84d84143037f ASoC: Intel: kbl_da7219_max98357a: shrink platform_id below 20 characters
    4abe339ce863 powerpc/boot: Fixup device-tree on little endian
    60c88c8ee548 usb: gadget: hid: fix error return code in hid_bind()
    2bfe5a620894 usb: gadget: f_hid: fix endianness issue with descriptors
    eb11ade08bc8 ALSA: usb-audio: scarlett2: Fix scarlett2_*_ctl_put() return values
    f9e5d0137c14 ALSA: usb-audio: scarlett2: Fix data_mutex lock
    33251aa28d1c ALSA: usb-audio: scarlett2: Fix 18i8 Gen 2 PCM Input count
    82343ce5cad2 ALSA: bebob: add support for ToneWeal FW66
    86d56d5a5908 Input: hideep - fix the uninitialized use in hideep_nvm_unlock()
    5f5c1e683351 s390/mem_detect: fix tprot() program check new psw handling
    8a3adb42928c s390/mem_detect: fix diag260() program check new psw handling
    e8df00854840 s390/ipl_parm: fix program check new psw handling
    5176a4d1c43c s390/processor: always inline stap() and __load_psw_mask()
    542d85dda7ba ASoC: soc-core: Fix the error return code in snd_soc_of_parse_audio_routing()
    41c488eb5dca gpio: pca953x: Add support for the On Semi pca9655
    6602185b185b selftests/powerpc: Fix "no_handler" EBB selftest
    75dc1942f8b6 ALSA: ppc: fix error return code in snd_pmac_probe()
    8e1b6d96e95f gpio: zynq: Check return value of pm_runtime_get_sync
    b11220803ad1 iommu/arm-smmu: Fix arm_smmu_device refcount leak in address translation
    3761ae0d0e54 iommu/arm-smmu: Fix arm_smmu_device refcount leak when arm_smmu_rpm_get fails
    6c50a56d2bce powerpc/ps3: Add dma_mask to ps3_dma_region
    5169c6b12b19 ALSA: sb: Fix potential double-free of CSP mixer elements
    d481ddb1b6d0 selftests: timers: rtcpie: skip test if default RTC device does not exist
    f0bca3fbf16b s390/sclp_vt220: fix console name to match device
    1028b769600c serial: tty: uartlite: fix console setup
    ba89ba738a82 ASoC: img: Fix PM reference leak in img_i2s_in_probe()
    b5af7cec0f7e mfd: cpcap: Fix cpcap dmamask not set warnings
    c19a95cffe33 mfd: da9052/stmpe: Add and modify MODULE_DEVICE_TABLE
    d05da38c4110 scsi: qedi: Fix null ref during abort handling
    a686ea60c17a scsi: iscsi: Fix shost->max_id use
    d04958a348e5 scsi: iscsi: Fix conn use after free during resets
    173fdf1497d9 scsi: iscsi: Add iscsi_cls_conn refcount helpers
    9896b67e1b56 scsi: megaraid_sas: Handle missing interrupts while re-enabling IRQs
    e8c75b5d88f2 scsi: megaraid_sas: Early detection of VD deletion through RaidMap update
    0c6226601c3e scsi: megaraid_sas: Fix resource leak in case of probe failure
    e54625f3f0f0 fs/jfs: Fix missing error code in lmLogInit()
    077b59810cb6 scsi: scsi_dh_alua: Check for negative result value
    ee16bed95986 tty: serial: 8250: serial_cs: Fix a memory leak in error handling path
    9c543a9197c7 ALSA: ac97: fix PM reference leak in ac97_bus_remove()
    086918e61c37 scsi: core: Cap scsi_host cmd_per_lun at can_queue
    600a91ab5981 scsi: lpfc: Fix crash when lpfc_sli4_hba_setup() fails to initialize the SGLs
    07aa0d14fc9e scsi: lpfc: Fix "Unexpected timeout" error in direct attach topology
    f1f72dac9219 scsi: hisi_sas: Propagate errors in interrupt_init_v1_hw()
    68ce66ba20cf w1: ds2438: fixing bug that would always get page0
    1c774366428e Revert "ALSA: bebob/oxfw: fix Kconfig entry for Mackie d.2 Pro"
    88262229b778 ALSA: usx2y: Don't call free_pages_exact() with NULL address
    7dff52b311b1 iio: magn: bmc150: Balance runtime pm + use pm_runtime_resume_and_get()
    921b361ce3ee iio: gyro: fxa21002c: Balance runtime pm + use pm_runtime_resume_and_get().
    d2639ffdcad4 misc: alcor_pci: fix null-ptr-deref when there is no PCI bridge
    38660031e80e misc/libmasm/module: Fix two use after free in ibmasm_init_one
    dc195d77dd6c tty: serial: fsl_lpuart: fix the potential risk of division or modulo by zero
    fd005f53cb49 srcu: Fix broken node geometry after early ssp init
    35072f336ae8 dmaengine: fsl-qdma: check dma_set_mask return value
    249e0ab80c47 net: moxa: Use devm_platform_get_and_ioremap_resource()
    359311b85ebe fbmem: Do not delete the mode that is still in use
    c17363ccd620 cgroup: verify that source is a string
    d4238c7539c8 tracing: Do not reference char * as a string in histograms
    887bfae2732b scsi: core: Fix bad pointer dereference when ehandler kthread is invalid
    22257d3c6840 KVM: X86: Disable hardware breakpoints unconditionally before kvm_x86->run()
    dc91a480ace2 KVM: x86: Use guest MAXPHYADDR from CPUID.0x8000_0008 iff TDP is enabled
    f2ff9d03432f KVM: mmio: Fix use-after-free Read in kvm_vm_ioctl_unregister_coalesced_mmio
    795e84798fa7 Linux 5.4.133
    135122f174c3 smackfs: restrict bytes count in smk_set_cipso()
    a21e5cb1a64c jfs: fix GPF in diFree
    f190ca9068e3 pinctrl: mcp23s08: Fix missing unlock on error in mcp23s08_irq()
    f176dec999c8 media: uvcvideo: Fix pixel format change for Elgato Cam Link 4K
    5d2a52732eeb media: gspca/sunplus: fix zero-length control requests
    1c44f2e25d8e media: gspca/sq905: fix control-request direction
    0edd67591672 media: zr364xx: fix memory leak in zr364xx_start_readpipe
    27cd29ab9bf0 media: dtv5100: fix control-request directions
    917791e43441 media: subdev: disallow ioctl for saa6588/davinci
    04d67b34a33c PCI: aardvark: Implement workaround for the readback value of VEND_ID
    a340b84e09d3 PCI: aardvark: Fix checking for PIO Non-posted Request
    86968dfa4b55 PCI: Leave Apple Thunderbolt controllers on for s2idle or standby
    964d57d1962d dm btree remove: assign new_root only when removal succeeds
    ef0a06acc6b1 coresight: tmc-etf: Fix global-out-of-bounds in tmc_update_etf_buffer()
    4e78a2a4fced ipack/carriers/tpci200: Fix a double free in tpci200_pci_probe
    8489ebfac395 tracing: Resize tgid_map to pid_max, not PID_MAX_DEFAULT
    41aa59030213 tracing: Simplify & fix saved_tgids logic
    4d4f11c3566c rq-qos: fix missed wake-ups in rq_qos_throttle try two
    33ab9138a13e seq_buf: Fix overflow in seq_buf_putmem_hex()
    854bf7196601 extcon: intel-mrfld: Sync hardware and software state on init
    ec31e681cfbf nvmem: core: add a missing of_node_put
    f0f3f0abe58e power: supply: ab8500: Fix an old bug
    7adc05b73d91 ubifs: Fix races between xattr_{set|get} and listxattr operations
    5e4aae9e3e6b thermal/drivers/int340x/processor_thermal: Fix tcc setting
    ec170de13b69 ipmi/watchdog: Stop watchdog timer when the current action is 'none'
    efed363752c0 qemu_fw_cfg: Make fw_cfg_rev_attr a proper kobj_attribute
    74f81fce1215 ASoC: tegra: Set driver_name=tegra for all machine drivers
    862e1aef2bd4 MIPS: fix "mipsel-linux-ld: decompress.c:undefined reference to `memmove'"
    5078f007d863 fpga: stratix10-soc: Add missing fpga_mgr_free() call
    cfaaed5e4a12 clocksource/arm_arch_timer: Improve Allwinner A64 timer workaround
    7044e6bbc8e8 cpu/hotplug: Cure the cpusets trainwreck
    c90a5b1c3742 ata: ahci_sunxi: Disable DIPM
    a7aa56f57e84 mmc: core: Allow UHS-I voltage switch for SDSC cards if supported
    2d95959fa4f4 mmc: core: clear flags before allowing to retune
    7e3b6e797a43 mmc: sdhci: Fix warning message when accessing RPMB in HS400 mode
    690735ee3a9d drm/arm/malidp: Always list modifiers
    e976698b2642 drm/msm/mdp4: Fix modifier support enabling
    49d05786661b drm/tegra: Don't set allow_fb_modifiers explicitly
    eaabef618cbb drm/amd/display: Reject non-zero src_y and src_x for video planes
    36a9c775a5f8 pinctrl/amd: Add device HID for new AMD GPIO controller
    7af725d1481c drm/amd/display: fix incorrrect valid irq check
    1fe8005303a3 drm/rockchip: dsi: remove extra component_del() call
    85ea095dc081 drm/radeon: Add the missed drm_gem_object_put() in radeon_user_framebuffer_create()
    d05c9f91be93 drm/amdgpu: Update NV SIMD-per-CU to 2
    a5cd29059916 powerpc/barrier: Avoid collision with clang's __lwsync macro
    a82471a14aad powerpc/mm: Fix lockup on kernel exec fault
    233339bf6c7c perf bench: Fix 2 memory sanitizer warnings
    4d579ef78ae6 crypto: ccp - Annotate SEV Firmware file names
    0e105eed0966 fscrypt: don't ignore minor_hash when hash is 0
    5d4fa5e1b907 MIPS: set mips32r5 for virt extensions
    2760c141dd10 MIPS: loongsoon64: Reserve memory below starting pfn to prevent Oops
    a01745edc1c9 sctp: add size validation when walking chunks
    03a5e454614d sctp: validate from_addr_param return
    d04cd2c4fdd0 Bluetooth: btusb: fix bt fiwmare downloading failure issue for qca btsoc.
    aa9a2ec7ee08 Bluetooth: Shutdown controller after workqueues are flushed or cancelled
    6aac389d50d9 Bluetooth: Fix the HCI to MGMT status conversion table
    a27610321c31 Bluetooth: btusb: Fixed too many in-token issue for Mediatek Chip.
    032c68b4f5be RDMA/cma: Fix rdma_resolve_route() memory leak
    d27483b844c8 net: ip: avoid OOM kills with large UDP sends over loopback
    3fbae80e24d6 media, bpf: Do not copy more entries than user space requested
    1127eb86b23d wireless: wext-spy: Fix out-of-bounds warning
    161107916c79 sfc: error code if SRIOV cannot be disabled
    a95fddec35f9 sfc: avoid double pci_remove of VFs
    105982781699 iwlwifi: pcie: fix context info freeing
    0b08e9b64b99 iwlwifi: pcie: free IML DMA memory allocation
    6e2df6630636 iwlwifi: mvm: don't change band on bound PHY contexts
    9fd9734e5739 RDMA/rxe: Don't overwrite errno from ib_umem_get()
    75b011df8e00 vsock: notify server to shutdown when client has pending signal
    2a0a6f67c5d5 atm: nicstar: register the interrupt handler in the right place
    8a366dd45518 atm: nicstar: use 'dma_free_coherent' instead of 'kfree'
    002d8b395fa1 MIPS: add PMD table accounting into MIPS'pmd_alloc_one
    e15cff87dff2 rtl8xxxu: Fix device info for RTL8192EU devices
    356bb9411a26 drm/amdkfd: Walk through list with dqm lock hold
    995c3fc302bd net: sched: fix error return code in tcf_del_walker()
    bba660a079a9 net: fix mistake path for netdev_features_strings
    cea6ca260d22 mt76: mt7615: fix fixed-rate tx status reporting
    e217aadc9b55 bpf: Fix up register-based shifts in interpreter to silence KUBSAN
    7f356894ff12 cw1200: add missing MODULE_DEVICE_TABLE
    d71dddeb5380 wl1251: Fix possible buffer overflow in wl1251_cmd_scan
    e919fc655294 wlcore/wl12xx: Fix wl12xx get_mac error if device is in ELP
    9981f8f4a8f9 xfrm: Fix error reporting in xfrm_state_construct.
    46a2cd9cecbb drm/amd/display: Verify Gamma & Degamma LUT sizes in amdgpu_dm_atomic_check
    5db647affcbd r8169: avoid link-up interrupt issue on RTL8106e if user enables ASPM
    bfb8eb833e7d selinux: use __GFP_NOWARN with GFP_NOWAIT in the AVC
    91f6b357e9c1 fjes: check return value after calling platform_get_resource()
    2c028cee95a4 drm/amdkfd: use allowed domain for vmbo validation
    5756c21dd7b7 drm/amd/display: Set DISPCLK_MAX_ERRDET_CYCLES to 7
    c7010d0f0789 drm/amd/display: Release MST resources on switch from MST to SST
    7182bba3c2c6 drm/amd/display: Update scaling settings on modeset
    2ee8e85ea87e net: micrel: check return value after calling platform_get_resource()
    80240ded7994 net: mvpp2: check return value after calling platform_get_resource()
    6ac291d2b4d9 net: bcmgenet: check return value after calling platform_get_resource()
    627fffae46c2 virtio_net: Remove BUG() to avoid machine dead
    217533e60deb ice: set the value of global config lock timeout longer
    c0b70153f13e pinctrl: mcp23s08: fix race condition in irq handler
    e10062afd67d dm space maps: don't reset space map allocation cursor when committing
    57ef44f35725 RDMA/cxgb4: Fix missing error code in create_qp()
    ccde03a6a0fb ipv6: use prandom_u32() for ID generation
    482708d036be clk: tegra: Ensure that PLLU configuration is applied properly
    050c6bb5cbf7 clk: renesas: r8a77995: Add ZA2 clock
    c84e0757d80b drm/bridge: cdns: Fix PM reference leak in cdns_dsi_transfer()
    cdfd4ceafba9 igb: handle vlan types with checker enabled
    596b031a3d3a e100: handle eeprom as little endian
    80d505aee639 udf: Fix NULL pointer dereference in udf_symlink function
    c32d0f0e164f drm/sched: Avoid data corruptions
    6ebfdf01cc89 drm/virtio: Fix double free on probe failure
    5e2d303b452a reiserfs: add check for invalid 1st journal block
    1a2d21e266c4 drm/mediatek: Fix PM reference leak in mtk_crtc_ddp_hw_init()
    45cc7a653f5a net: Treat __napi_schedule_irqoff() as __napi_schedule() on PREEMPT_RT
    bdf5334250c6 atm: nicstar: Fix possible use-after-free in nicstar_cleanup()
    3ecd228c636e mISDN: fix possible use-after-free in HFC_cleanup()
    c9172498d4d6 atm: iphase: fix possible use-after-free in ia_module_exit()
    b52b0d996a13 hugetlb: clear huge pte during flush function on mips platform
    526451e8d241 drm/amd/display: fix use_max_lb flag for 420 pixel formats
    cfd8894619d1 net: pch_gbe: Use proper accessors to BE data in pch_ptp_match()
    f6d326ad0324 drm/vc4: fix argument ordering in vc4_crtc_get_margins()
    997dedaa75e9 drm/amd/amdgpu/sriov disable all ip hw status by default
    34b01e883a5d drm/zte: Don't select DRM_KMS_FB_HELPER
    012439cba95c drm/mxsfb: Don't select DRM_KMS_FB_HELPER

(From OE-Core rev: f38fa9ad02b625534b91328755efbbdcff200010)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-22 09:33:44 +01:00
Bruce Ashfield
251b69e70a linux-yocto/5.10: update to v5.10.52
Updating linux-yocto/5.10 to the latest korg -stable release that comprises
the following commits:

    2cd5fe24a7f0 Linux 5.10.52
    174c34d9cda1 seq_file: disallow extremely large seq buffer allocations
    b33aa0dbd72f scsi: scsi_dh_alua: Fix signedness bug in alua_rtpg()
    e09c9b558436 MIPS: vdso: Invalid GIC access through VDSO
    20f79ce2b1ab mips: disable branch profiling in boot/decompress.o
    4e2764e96a15 mips: always link byteswap helpers into decompressor
    53c5c2496fc9 static_call: Fix static_call_text_reserved() vs __init
    59ae35884c5e jump_label: Fix jump_label_text_reserved() vs __init
    143a6b8ec5c6 sched/uclamp: Ignore max aggregation if rq is idle
    43b89ef7bc4a scsi: be2iscsi: Fix an error handling path in beiscsi_dev_probe()
    f71f13034f3b arm64: dts: rockchip: Re-add regulator-always-on for vcc_sdio for rk3399-roc-pc
    b3231050c75c arm64: dts: rockchip: Re-add regulator-boot-on, regulator-always-on for vdd_gpu on rk3399-roc-pc
    9436e9001d40 firmware: turris-mox-rwtm: show message about HWRNG registration
    b2a5949a91a7 firmware: turris-mox-rwtm: fail probing when firmware does not support hwrng
    ddf380b0941f firmware: turris-mox-rwtm: report failures better
    271c12dbeb62 firmware: turris-mox-rwtm: fix reply status decoding function
    804aabb50990 thermal/drivers/rcar_gen3_thermal: Fix coefficient calculations
    dae777523234 ARM: dts: imx6q-dhcom: Add gpios pinctrl for i2c bus recovery
    936446f15aef ARM: dts: imx6q-dhcom: Fix ethernet plugin detection problems
    f12a456f1c3b ARM: dts: imx6q-dhcom: Fix ethernet reset time properties
    b1995806d008 thermal/drivers/sprd: Add missing MODULE_DEVICE_TABLE
    4d9ea2858607 ARM: dts: am437x: align ti,pindir-d0-out-d1-in property with dt-shema
    6641724d68fd ARM: dts: am335x: align ti,pindir-d0-out-d1-in property with dt-shema
    0724764c085a ARM: dts: dra7: Fix duplicate USB4 target module node
    6cd58375c532 arm64: dts: allwinner: a64-sopine-baseboard: change RGMII mode to TXID
    b5789e23773f memory: fsl_ifc: fix leak of private memory on probe failure
    8d071d270afb memory: fsl_ifc: fix leak of IO mapping on probe failure
    1479998d8027 arm64: dts: ti: k3-j721e-main: Fix external refclk input to SERDES
    668ca468702e arm64: dts: renesas: r8a779a0: Drop power-domains property from GIC node
    884d09d1f18c reset: bail if try_module_get() fails
    8c07e1a8c57c ARM: dts: BCM5301X: Fixup SPI binding
    db4e87ab60e8 dt-bindings: i2c: at91: fix example for scl-gpios
    4b4c61049ec5 firmware: arm_scmi: Reset Rx buffer to max size during async commands
    c381e695cfcd firmware: tegra: Fix error return code in tegra210_bpmp_init()
    f58a3bc94aae arm64: dts: qcom: trogdor: Add no-hpd to DSI bridge node
    d99524d13df9 ARM: dts: stm32: Rework LAN8710Ai PHY reset on DHCOM SoM
    91df7f4a0410 ARM: dts: stm32: Connect PHY IRQ line on DH STM32MP1 SoM
    c4218acd688e arm64: dts: renesas: r8a7796[01]: Fix OPP table entry voltages
    305df11389cb arm64: dts: renesas: Add missing opp-suspend properties
    55fd1d3ca578 arm64: dts: ti: j7200-main: Enable USB2 PHY RX sensitivity workaround
    b8d350b4ac1e ARM: dts: r8a7779, marzen: Fix DU clock names
    b02a65061e97 arm64: dts: renesas: v3msk: Fix memory size
    ab4d76eb7737 rtc: fix snprintf() checking in is_rtc_hctosys()
    e35246365403 ARM: dts: sun8i: h3: orangepi-plus: Fix ethernet phy-mode
    3199ff7b9f54 memory: pl353: Fix error return code in pl353_smc_probe()
    fc7a8347ce49 reset: brcmstb: Add missing MODULE_DEVICE_TABLE
    3f526ea670d8 memory: atmel-ebi: add missing of_node_put for loop iteration
    84fa4a10631a memory: stm32-fmc2-ebi: add missing of_node_put for loop iteration
    c385d93c3c1a ARM: dts: exynos: fix PWM LED max brightness on Odroid XU4
    b7016870feea ARM: dts: exynos: fix PWM LED max brightness on Odroid HC1
    640105e7c08d ARM: dts: exynos: fix PWM LED max brightness on Odroid XU/XU3
    6870bc426796 ARM: exynos: add missing of_node_put for loop iteration
    85dd41383b36 reset: a10sr: add missing of_match_table reference
    685ec4c0f27c reset: RESET_INTEL_GW should depend on X86
    2ca912471db4 reset: RESET_BRCMSTB_RESCAL should depend on ARCH_BRCMSTB
    f75cec5c2048 ARM: dts: gemini-rut1xx: remove duplicate ethernet node
    f11508ecc696 hexagon: use common DISCARDS macro
    f7121692795c hexagon: handle {,SOFT}IRQENTRY_TEXT in linker script
    4aa17d058a9b NFSv4/pNFS: Don't call _nfs4_pnfs_v3_ds_connect multiple times
    885c0cc2acfe NFSv4/pnfs: Fix layoutget behaviour after invalidation
    a668a77e6aed NFSv4/pnfs: Fix the layout barrier update
    6ccccc03f87a vdpa/mlx5: Clear vq ready indication upon device reset
    0e5f204ea595 ALSA: isa: Fix error return code in snd_cmi8330_probe()
    6612c412336c nfsd: Reduce contention for the nfsd_file nf_rwsem
    89047f0089cd nvme-tcp: can't set sk_user_data without write_lock
    4b3fd33f580f virtio_net: move tx vq operation under tx queue lock
    8795692f0d6c vdpa/mlx5: Fix possible failure in umem size calculation
    63272b1ffdb0 vdpa/mlx5: Fix umem sizes assignments on VQ create
    e22051e7c9f7 PCI: tegra194: Fix tegra_pcie_ep_raise_msi_irq() ill-defined shift
    527bb29eb183 pwm: imx1: Don't disable clocks at device remove time
    12d84de59da0 PCI: intel-gw: Fix INTx enable
    b5859dacd29e x86/fpu: Limit xstate copy size in xstateregs_set()
    07b760a79170 x86/fpu: Fix copy_xstate_to_kernel() gap handling
    aa7fccd383de f2fs: fix to avoid adding tab before doc section
    607caa080119 PCI: iproc: Support multi-MSI only on uniprocessor kernel
    54dc6fcce3de PCI: iproc: Fix multi-MSI base vector number allocation
    ac2e498ab222 ubifs: Set/Clear I_LINKABLE under i_lock for whiteout inode
    4b515308ab87 nfs: fix acl memory leak of posix_acl_create()
    b8eace7d3b9c SUNRPC: prevent port reuse on transports which don't request it.
    5577eece796f watchdog: jz4740: Fix return value check in jz4740_wdt_probe()
    3b93d520ac53 watchdog: aspeed: fix hardware timeout calculation
    412ef737be65 ubifs: journal: Fix error return code in ubifs_jnl_write_inode()
    6bcc0590cb91 ubifs: Fix off-by-one error
    aab881d7f074 um: fix error return code in winch_tramp()
    9bb3f31b25b2 um: fix error return code in slip_open()
    0bfb6d49497c misc: alcor_pci: fix inverted branch condition
    5c7ef8a37055 NFSv4: Fix an Oops in pnfs_mark_request_commit() when doing O_DIRECT
    ff4023d01942 NFSv4: Initialise connection to the server in nfs4_alloc_client()
    36291fd6279f power: supply: rt5033_battery: Fix device tree enumeration
    ae56850d3657 PCI/sysfs: Fix dsm_label_utf16s_to_utf8s() buffer overrun
    6594d0aa1c22 remoteproc: k3-r5: Fix an error message
    d3c150978ead f2fs: compress: fix to disallow temp extension
    43cefd126450 f2fs: add MODULE_SOFTDEP to ensure crc32 is included in the initramfs
    74569cb9ed7b x86/signal: Detect and prevent an alternate signal stack overflow
    f0e905df68d6 NFSD: Fix TP_printk() format specifier in nfsd_clid_class
    2830dd2faa53 f2fs: atgc: fix to set default age threshold
    f6ec306b93dc virtio_console: Assure used length from device is limited
    09a94a89d74f virtio_net: Fix error handling in virtnet_restore()
    cd24da0db9f7 virtio-blk: Fix memory leak among suspend/resume procedure
    d420b1166643 PCI: rockchip: Register IRQ handlers after device and data are ready
    424fc30298cb ACPI: video: Add quirk for the Dell Vostro 3350
    4f2b140658cd ACPI: AMBA: Fix resource name in /proc/iomem
    9dcc9ad34348 pwm: tegra: Don't modify HW state in .remove callback
    3d82361abd03 pwm: img: Fix PM reference leak in img_pwm_enable()
    b3205768cd1a drm/amdkfd: fix sysfs kobj leak
    687875fa9c3b power: supply: ab8500: add missing MODULE_DEVICE_TABLE
    e88d524c662b power: supply: charger-manager: add missing MODULE_DEVICE_TABLE
    89786fbc4d1e NFS: nfs_find_open_context() may only select open files
    0fedfa72aedc drm/gma500: Add the missed drm_gem_object_put() in psb_user_framebuffer_create()
    59d912fe9bb9 ceph: remove bogus checks and WARN_ONs from ceph_set_page_dirty
    3c586f825576 orangefs: fix orangefs df output.
    6e43cdcbb715 PCI: tegra: Add missing MODULE_DEVICE_TABLE
    2df1abffc474 remoteproc: core: Fix cdev remove and rproc del
    f3a56cd3eaf6 x86/fpu: Return proper error codes from user access functions
    39ed17de8c6f watchdog: iTCO_wdt: Account for rebooting on second timeout
    9cc9f5de281b watchdog: imx_sc_wdt: fix pretimeout
    66ba9cf929b1 watchdog: Fix possible use-after-free by calling del_timer_sync()
    a173e3b62cf6 watchdog: sc520_wdt: Fix possible use-after-free in wdt_turnoff()
    a397cb4576fc watchdog: Fix possible use-after-free in wdt_startup()
    96c0bf09125e PCI: pciehp: Ignore Link Down/Up caused by DPC
    497064740406 NFSv4: Fix delegation return in cases where we have to retry
    b05c555c8d4d PCI/P2PDMA: Avoid pci_get_slot(), which may sleep
    8e3f27bb7fdd ARM: 9087/1: kprobes: test-thumb: fix for LLVM_IAS=1
    9d829ca43b08 power: reset: gpio-poweroff: add missing MODULE_DEVICE_TABLE
    efc6443c1abe power: supply: max17042: Do not enforce (incorrect) interrupt trigger type
    7667cdc4b7e8 PCI: hv: Fix a race condition when removing the device
    14016c172820 power: supply: ab8500: Avoid NULL pointers
    0df49cdc7c15 PCI: ftpci100: Rename macro name collision
    e133435232ed pwm: spear: Don't modify HW state in .remove callback
    15a19c5a9292 power: supply: sc2731_charger: Add missing MODULE_DEVICE_TABLE
    d7897890bade power: supply: sc27xx: Add missing MODULE_DEVICE_TABLE
    6ed9f9899b66 kcov: add __no_sanitize_coverage to fix noinstr for all architectures
    ff53dfb32349 lib/decompress_unlz4.c: correctly handle zero-padding around initrds.
    b85b43c3e4b8 phy: intel: Fix for warnings due to EMMC clock 175Mhz change in FIP
    a9d986be494e i2c: core: Disable client irq on reboot/shutdown
    9c6c65704719 intel_th: Wait until port is in reset before programming it
    45f1de1fff2b staging: rtl8723bs: fix macro value for 2.4Ghz only device
    1f577093c843 leds: turris-omnia: add missing MODULE_DEVICE_TABLE
    ff8f11860e43 ALSA: firewire-motu: fix detection for S/PDIF source on optical interface in v2 protocol
    9ada4baae639 ALSA: usb-audio: scarlett2: Fix 6i6 Gen 2 line out descriptions
    fb7c8bfa2e3c ALSA: hda: Add IRQ check for platform_get_irq()
    63c49cfa2f0c backlight: lm3630a: Fix return code of .update_status() callback
    719c45a41cdb ASoC: Intel: kbl_da7219_max98357a: shrink platform_id below 20 characters
    692e16958f48 powerpc/boot: Fixup device-tree on little endian
    b41cb0e4af0b usb: gadget: hid: fix error return code in hid_bind()
    309b44d31667 usb: gadget: f_hid: fix endianness issue with descriptors
    16668cc65601 ALSA: usb-audio: scarlett2: Fix scarlett2_*_ctl_put() return values
    3005d48b40e5 ALSA: usb-audio: scarlett2: Fix data_mutex lock
    8f075c61ea8d ALSA: usb-audio: scarlett2: Fix 18i8 Gen 2 PCM Input count
    3b7bd795cbef ALSA: bebob: add support for ToneWeal FW66
    90cd79aa9ac7 Input: hideep - fix the uninitialized use in hideep_nvm_unlock()
    a50b56ffc0c8 s390/mem_detect: fix tprot() program check new psw handling
    7e1e0235b3db s390/mem_detect: fix diag260() program check new psw handling
    c25be19aa957 s390/ipl_parm: fix program check new psw handling
    3794633dfdd8 s390/processor: always inline stap() and __load_psw_mask()
    f22649cf90c3 habanalabs: remove node from list before freeing the node
    25ddb0a42f3a habanalabs/gaudi: set the correct cpu_id on MME2_QM failure
    3dd2a9daa765 ASoC: soc-core: Fix the error return code in snd_soc_of_parse_audio_routing()
    8e18158ea787 powerpc/mm/book3s64: Fix possible build error
    ed0b4b56a922 gpio: pca953x: Add support for the On Semi pca9655
    b7f4423c7de8 selftests/powerpc: Fix "no_handler" EBB selftest
    c7f2112e7ada ALSA: ppc: fix error return code in snd_pmac_probe()
    1004c52e3c51 scsi: storvsc: Correctly handle multiple flags in srb_status
    b3d3a2466e74 gpio: zynq: Check return value of irq_get_irq_data
    3d2b0818daa4 gpio: zynq: Check return value of pm_runtime_get_sync
    71f8d7fbfe8e ASoC: soc-pcm: fix the return value in dpcm_apply_symmetry()
    43d1aaa1965f iommu/arm-smmu: Fix arm_smmu_device refcount leak in address translation
    c4007596fbda iommu/arm-smmu: Fix arm_smmu_device refcount leak when arm_smmu_rpm_get fails
    f8763ab3fb86 powerpc/ps3: Add dma_mask to ps3_dma_region
    0e54f8ee6bff ALSA: sb: Fix potential double-free of CSP mixer elements
    52d242f2bffe selftests: timers: rtcpie: skip test if default RTC device does not exist
    7b18f26d8277 s390: disable SSP when needed
    78cddc9aa6be s390/sclp_vt220: fix console name to match device
    2f4e7363a998 serial: tty: uartlite: fix console setup
    dc9db4629210 fsi: Add missing MODULE_DEVICE_TABLE
    0c67c2e20366 ASoC: img: Fix PM reference leak in img_i2s_in_probe()
    af8b891cd339 mfd: cpcap: Fix cpcap dmamask not set warnings
    d339f6a0d1a1 mfd: da9052/stmpe: Add and modify MODULE_DEVICE_TABLE
    5dd2955565e8 scsi: qedi: Fix cleanup session block/unblock use
    6f36afa1550a scsi: qedi: Fix TMF session block/unblock use
    57fa983ea736 scsi: qedi: Fix race during abort timeouts
    afa1c8ee7e63 scsi: qedi: Fix null ref during abort handling
    fa7adae4b577 scsi: iscsi: Fix shost->max_id use
    89812e7957ab scsi: iscsi: Fix conn use after free during resets
    21962a5dd6b4 scsi: iscsi: Add iscsi_cls_conn refcount helpers
    5ac2428f2b96 scsi: megaraid_sas: Handle missing interrupts while re-enabling IRQs
    422fb12054f4 scsi: megaraid_sas: Early detection of VD deletion through RaidMap update
    0680db6f4192 scsi: megaraid_sas: Fix resource leak in case of probe failure
    c851de0215eb fs/jfs: Fix missing error code in lmLogInit()
    7207cd708eb3 scsi: scsi_dh_alua: Check for negative result value
    6bad74b2b49f scsi: core: Fixup calling convention for scsi_mode_sense()
    b4fd2ab0a91b scsi: mpt3sas: Fix deadlock while cancelling the running firmware event
    7a80f71601af tty: serial: 8250: serial_cs: Fix a memory leak in error handling path
    75452cc77668 ALSA: ac97: fix PM reference leak in ac97_bus_remove()
    664695a75468 scsi: core: Cap scsi_host cmd_per_lun at can_queue
    21d8b90cec7e scsi: lpfc: Fix crash when lpfc_sli4_hba_setup() fails to initialize the SGLs
    2626d5ed6b5c scsi: lpfc: Fix "Unexpected timeout" error in direct attach topology
    bb1d1c214948 scsi: hisi_sas: Propagate errors in interrupt_init_v1_hw()
    024550409022 scsi: arcmsr: Fix doorbell status being updated late on ARC-1886
    20c62caf2eaf w1: ds2438: fixing bug that would always get page0
    8e8d910e9a3a usb: common: usb-conn-gpio: fix NULL pointer dereference of charger
    b30a115e4af5 Revert "ALSA: bebob/oxfw: fix Kconfig entry for Mackie d.2 Pro"
    7d7f30cf182e ALSA: usx2y: Don't call free_pages_exact() with NULL address
    f4997bf6c448 ALSA: usx2y: Avoid camelCase
    1b1d6aa1a8cf iio: magn: bmc150: Balance runtime pm + use pm_runtime_resume_and_get()
    5ecb0acc45e8 iio: gyro: fxa21002c: Balance runtime pm + use pm_runtime_resume_and_get().
    5f69841c220a partitions: msdos: fix one-byte get_unaligned()
    a8c3d1a515b9 ASoC: intel/boards: add missing MODULE_DEVICE_TABLE
    58f69684ba03 misc: alcor_pci: fix null-ptr-deref when there is no PCI bridge
    b9c87ce3bc63 misc/libmasm/module: Fix two use after free in ibmasm_init_one
    4f3c807739e3 serial: fsl_lpuart: disable DMA for console and fix sysrq
    6942fbc00981 tty: serial: fsl_lpuart: fix the potential risk of division or modulo by zero
    35a35909ec19 rcu: Reject RCU_LOCKDEP_WARN() false positives
    23597afbe096 srcu: Fix broken node geometry after early ssp init
    4d395142d96f scsi: arcmsr: Fix the wrong CDB payload report to IOP
    22d22fef9cbc dmaengine: fsl-qdma: check dma_set_mask return value
    32064330708b ASoC: Intel: sof_sdw: add mutual exclusion between PCH DMIC and RT715
    164a3880a76a leds: tlc591xx: fix return value check in tlc591xx_probe()
    9ebcc60565f2 net: bridge: multicast: fix MRD advertisement router port marking race
    664cc645bdd8 net: bridge: multicast: fix PIM hello router port marking race
    b3aea76efe90 Revert "drm/ast: Remove reference to struct drm_device.pdev"
    b3f8120039d5 drm/ingenic: Switch IPU plane to type OVERLAY
    8f6dcc4dd731 drm/ingenic: Fix non-OSD mode
    cae871baa4f3 drm/dp_mst: Add missing drm parameters to recently added call to drm_dbg_kms()
    16fb4e9c39b9 drm/dp_mst: Avoid to mess up payload table by ports in stale topology
    3462bc8b1a1f drm/dp_mst: Do not set proposed vcpi directly
    087bff9acd2e fbmem: Do not delete the mode that is still in use
    811763e3beb6 cgroup: verify that source is a string
    0728df804806 drm/i915/gt: Fix -EDEADLK handling regression
    81dd2d60f677 drm/i915/gtt: drop the page table optimisation
    905169794d9c tracing: Do not reference char * as a string in histograms
    e1261c7a846e scsi: zfcp: Report port fc_security as unknown early during remote cable pull
    ea518b70ed5e scsi: core: Fix bad pointer dereference when ehandler kthread is invalid
    8b2ae2de536c KVM: X86: Disable hardware breakpoints unconditionally before kvm_x86->run()
    bedc5d091138 KVM: nSVM: Check the value written to MSR_VM_HSAVE_PA
    5b779e597cb7 KVM: x86/mmu: Do not apply HPA (memory encryption) mask to GPAs
    1a1a5e440953 KVM: x86: Use guest MAXPHYADDR from CPUID.0x8000_0008 iff TDP is enabled
    679837dc0aba KVM: mmio: Fix use-after-free Read in kvm_vm_ioctl_unregister_coalesced_mmio
    72797ffca1bd cifs: handle reconnect of tcon when there is no cached dfs referral
    b93f9499427c certs: add 'x509_revocation_list' to gitignore
    f68261346518 Linux 5.10.51
    86786603014e f2fs: fix to avoid racing on fsync_entry_slab by multi filesystem instances
    5e4f5138bd85 ext4: fix memory leak in ext4_fill_super
    3780348c1a0e smackfs: restrict bytes count in smk_set_cipso()
    801893695036 jfs: fix GPF in diFree
    fcb041ca5c77 drm/ast: Remove reference to struct drm_device.pdev
    3785f3c1e3c7 pinctrl: mcp23s08: Fix missing unlock on error in mcp23s08_irq()
    b716ccffbc8d dm writecache: write at least 4k when committing
    090588059c30 io_uring: fix clear IORING_SETUP_R_DISABLED in wrong function
    aa57b2d6b37e media: uvcvideo: Fix pixel format change for Elgato Cam Link 4K
    31874b6b63dd media: gspca/sunplus: fix zero-length control requests
    de95c0bd797a media: gspca/sq905: fix control-request direction
    c57bfd8000d7 media: zr364xx: fix memory leak in zr364xx_start_readpipe
    dbd58d397844 media: dtv5100: fix control-request directions
    db317a37229b media: subdev: disallow ioctl for saa6588/davinci
    e2c1218ddc5f PCI: aardvark: Implement workaround for the readback value of VEND_ID
    130919708990 PCI: aardvark: Fix checking for PIO Non-posted Request
    f147115018aa PCI: Leave Apple Thunderbolt controllers on for s2idle or standby
    ba47e65a5de3 dm btree remove: assign new_root only when removal succeeds
    1b5918b087b1 dm writecache: flush origin device when writing and cache is full
    cbc03ffec260 dm zoned: check zone capacity
    35c1c4bd2d59 coresight: tmc-etf: Fix global-out-of-bounds in tmc_update_etf_buffer()
    048624ad564c coresight: Propagate symlink failure
    0c2bc1489104 ipack/carriers/tpci200: Fix a double free in tpci200_pci_probe
    eb81b5a37dc5 tracing: Resize tgid_map to pid_max, not PID_MAX_DEFAULT
    3cda5b7f4e29 tracing: Simplify & fix saved_tgids logic
    8cc58a6e2c39 rq-qos: fix missed wake-ups in rq_qos_throttle try two
    f9fb4986f4d8 seq_buf: Fix overflow in seq_buf_putmem_hex()
    418b333afbd5 extcon: intel-mrfld: Sync hardware and software state on init
    af092ec16e06 selftests/lkdtm: Fix expected text for CR4 pinning
    0af643fa7e74 lkdtm/bugs: XFAIL UNALIGNED_LOAD_STORE_WRITE
    baedb1f5a08c nvmem: core: add a missing of_node_put
    f0a079c0ba87 mfd: syscon: Free the allocated name field of struct regmap_config
    a8a2e506ea2f power: supply: ab8500: Fix an old bug
    38dde03eb239 ubifs: Fix races between xattr_{set|get} and listxattr operations
    690a11fb4e9f thermal/drivers/int340x/processor_thermal: Fix tcc setting
    ef5066f95c15 ipmi/watchdog: Stop watchdog timer when the current action is 'none'
    7ade84f8df8f qemu_fw_cfg: Make fw_cfg_rev_attr a proper kobj_attribute
    02671eda9ab9 i40e: fix PTP on 5Gb links
    ab9d7c5fc9c6 ASoC: tegra: Set driver_name=tegra for all machine drivers
    e0d9beb44abd fpga: stratix10-soc: Add missing fpga_mgr_free() call
    5a5ebf5d4822 clocksource/arm_arch_timer: Improve Allwinner A64 timer workaround
    b5e26be407e6 cpu/hotplug: Cure the cpusets trainwreck
    a11a457820fb arm64: tlb: fix the TTL value of tlb_get_level
    0afa6ad0c49a ata: ahci_sunxi: Disable DIPM
    5543f61e2e0c mmc: core: Allow UHS-I voltage switch for SDSC cards if supported
    b53b0ca4a4ec mmc: core: clear flags before allowing to retune
    658f58189a4f mmc: sdhci: Fix warning message when accessing RPMB in HS400 mode
    5ced01c0e855 mmc: sdhci-acpi: Disable write protect detection on Toshiba Encore 2 WT8-B
    3f9c2a058e61 drm/i915/display: Do not zero past infoframes.vsc
    8abf5eec0ebd drm/nouveau: Don't set allow_fb_modifiers explicitly
    42a333ea4b4f drm/arm/malidp: Always list modifiers
    0bcc074f90d2 drm/msm/mdp4: Fix modifier support enabling
    4d61ddd74041 drm/tegra: Don't set allow_fb_modifiers explicitly
    c6016936171a drm/amd/display: Reject non-zero src_y and src_x for video planes
    7d3053889400 pinctrl/amd: Add device HID for new AMD GPIO controller
    b13574fa83ac drm/amd/display: fix incorrrect valid irq check
    3c8216b3503a drm/rockchip: dsi: remove extra component_del() call
    2998599fb16c drm/dp: Handle zeroed port counts in drm_dp_read_downstream_info()
    98bd09d928b3 drm/vc4: hdmi: Prevent clock unbalance
    a2b8835cb4d1 drm/vc4: crtc: Skip the TXP
    293e520d2043 drm/vc4: txp: Properly set the possible_crtcs mask
    0d50d93d05d6 drm/radeon: Call radeon_suspend_kms() in radeon_pci_shutdown() for Loongson64
    7aa28f2f6742 drm/radeon: Add the missed drm_gem_object_put() in radeon_user_framebuffer_create()
    2674ffcad0ae drm/amdgpu: enable sdma0 tmz for Raven/Renoir(V2)
    8f933b27cbf1 drm/amdgpu: Update NV SIMD-per-CU to 2
    97ebbfe445cd powerpc/powernv/vas: Release reference to tgid during window close
    a024e88f8ab7 powerpc/barrier: Avoid collision with clang's __lwsync macro
    d2e52d466409 powerpc/mm: Fix lockup on kernel exec fault
    4ad382bc4abc scsi: iscsi: Fix iSCSI cls conn state
    221b7e1e76fb scsi: iscsi: Fix race condition between login and sync thread
    907318883508 io_uring: convert io_buffer_idr to XArray
    c5a50a220a41 io_uring: Convert personality_idr to XArray
    cb2985feb118 io_uring: simplify io_remove_personalities()
    7d4f96158852 mm,hwpoison: return -EBUSY when migration fails
    fd6625a1ec40 loop: fix I/O error on fsync() in detached loop devices
    88f0bc830c52 arm64: dts: rockchip: Enable USB3 for rk3328 Rock64
    421aff50af5e arm64: dts: rockchip: add rk3328 dwc3 usb controller node
    8eb12fa96bc5 ath11k: unlock on error path in ath11k_mac_op_add_interface()
    9706c5343346 MIPS: MT extensions are not available on MIPS32r1
    6cf2e905b1a0 selftests/resctrl: Fix incorrect parsing of option "-t"
    10f8fca6761b MIPS: set mips32r5 for virt extensions
    ff4762bcb95e MIPS: loongsoon64: Reserve memory below starting pfn to prevent Oops
    6ef81a5c0e22 sctp: add size validation when walking chunks
    d4dbef7046e2 sctp: validate from_addr_param return
    e83f312114a0 flow_offload: action should not be NULL when it is referenced
    a61af0114118 bpf: Fix false positive kmemleak report in bpf_ringbuf_area_alloc()
    20285dc2711c sched/fair: Ensure _sum and _avg values stay consistent
    e2296a4365f2 Bluetooth: btusb: fix bt fiwmare downloading failure issue for qca btsoc.
    8d7a3989c14d Bluetooth: mgmt: Fix the command returns garbage parameter value
    05298f1733c6 Bluetooth: btusb: Add support USB ALT 3 for WBS
    cc49ab24ec37 Bluetooth: L2CAP: Fix invalid access on ECRED Connection response
    79a313086426 Bluetooth: L2CAP: Fix invalid access if ECRED Reconfigure fails
    c4a9967e4d09 Bluetooth: btusb: Add a new QCA_ROME device (0cf3:e500)
    60789afc02f5 Bluetooth: Shutdown controller after workqueues are flushed or cancelled
    5147d86c4a5b Bluetooth: Fix alt settings for incoming SCO with transparent coding format
    8f939b4c2563 Bluetooth: Fix the HCI to MGMT status conversion table
    5f5f8022c1aa Bluetooth: btusb: Fixed too many in-token issue for Mediatek Chip.
    3d08b5917984 RDMA/cma: Fix rdma_resolve_route() memory leak
    a8585fdf42b5 net: ip: avoid OOM kills with large UDP sends over loopback
    04177aa99a93 media, bpf: Do not copy more entries than user space requested
    d8bb134d808c IB/isert: Align target max I/O size to initiator size
    d330f5f8dff7 mac80211_hwsim: add concurrent channels scanning support over virtio
    97f067722669 mac80211: consider per-CPU statistics if present
    1b728869a134 cfg80211: fix default HE tx bitrate mask in 2G band
    0a7ba5d373f1 wireless: wext-spy: Fix out-of-bounds warning
    c1ad55b6a1f4 sfc: error code if SRIOV cannot be disabled
    1013dc896d99 sfc: avoid double pci_remove of VFs
    7cd6986f2de5 iwlwifi: pcie: fix context info freeing
    b98ec6d8b34d iwlwifi: pcie: free IML DMA memory allocation
    78eadadff3d1 iwlwifi: mvm: fix error print when session protection ends
    1e1bb1efd60e iwlwifi: mvm: don't change band on bound PHY contexts
    1df36030393a RDMA/rxe: Don't overwrite errno from ib_umem_get()
    ee33c042f492 vsock: notify server to shutdown when client has pending signal
    38bc2ebf344c atm: nicstar: register the interrupt handler in the right place
    90efb7f1006a atm: nicstar: use 'dma_free_coherent' instead of 'kfree'
    1d304c7ddd36 net: fec: add ndo_select_queue to fix TX bandwidth fluctuations
    c7a31ae63e2c MIPS: add PMD table accounting into MIPS'pmd_alloc_one
    50ce920fe113 rtl8xxxu: Fix device info for RTL8192EU devices
    a10e871b73b4 mt76: mt7915: fix IEEE80211_HE_PHY_CAP7_MAX_NC for station mode
    4cd713e48c27 drm/amdkfd: Walk through list with dqm lock hold
    a2122e079204 drm/amdgpu: fix bad address translation for sienna_cichlid
    932be4cf2ba2 io_uring: fix false WARN_ONCE
    92a9fb51e5ec net: sched: fix error return code in tcf_del_walker()
    d2801d111829 net: ipa: Add missing of_node_put() in ipa_firmware_load()
    5cc0cf735f13 net: fix mistake path for netdev_features_strings
    891db094a0aa mt76: mt7615: fix fixed-rate tx status reporting
    090b06b25afe ice: mark PTYPE 2 as reserved
    b88a90783043 ice: fix incorrect payload indicator on PTYPE
    2e66c36f1308 bpf: Fix up register-based shifts in interpreter to silence KUBSAN
    0e72b151e394 drm/amdkfd: Fix circular lock in nocpsch path
    cd29db48bb65 drm/amdkfd: fix circular locking on get_wave_state
    9d21abc8fd20 cw1200: add missing MODULE_DEVICE_TABLE
    c5e4a10d7bd5 wl1251: Fix possible buffer overflow in wl1251_cmd_scan
    5a3d373c4a33 wlcore/wl12xx: Fix wl12xx get_mac error if device is in ELP
    ad7083a95d8a dm writecache: commit just one block, not a full page
    57f7ed25bd16 xfrm: Fix error reporting in xfrm_state_construct.
    a5f8862967c4 drm/amd/display: Verify Gamma & Degamma LUT sizes in amdgpu_dm_atomic_check
    db3c3643d55e r8169: avoid link-up interrupt issue on RTL8106e if user enables ASPM
    f38371821c25 selinux: use __GFP_NOWARN with GFP_NOWAIT in the AVC
    0a244be95bca fjes: check return value after calling platform_get_resource()
    378c156f9dd0 drm/amdkfd: use allowed domain for vmbo validation
    fb3b4bcdd3bc net: sgi: ioc3-eth: check return value after calling platform_get_resource()
    e613f67f1b51 selftests: Clean forgotten resources as part of cleanup()
    8a4318c14ace net: phy: realtek: add delay to fix RXC generation issue
    c71de31b2e0f drm/amd/display: Fix off-by-one error in DML
    afa06442d23d drm/amd/display: Set DISPCLK_MAX_ERRDET_CYCLES to 7
    02f444321b3a drm/amd/display: Release MST resources on switch from MST to SST
    01d6a6931965 drm/amd/display: Update scaling settings on modeset
    57c63b47d6f1 drm/amd/display: Fix DCN 3.01 DSCCLK validation
    8e4da401425b net: moxa: Use devm_platform_get_and_ioremap_resource()
    278dc34b7112 net: micrel: check return value after calling platform_get_resource()
    ce1307ec621b net: mvpp2: check return value after calling platform_get_resource()
    49b3a7f38a9b net: bcmgenet: check return value after calling platform_get_resource()
    92820a12823e net: mscc: ocelot: check return value after calling platform_get_resource()
    f3b96f4b6b2d virtio_net: Remove BUG() to avoid machine dead
    87c39048ec7f ice: fix clang warning regarding deadcode.DeadStores
    e352556acef9 ice: set the value of global config lock timeout longer
    b5f2982e0609 pinctrl: mcp23s08: fix race condition in irq handler
    a4a86400c68c net: bridge: mrp: Update ring transitions.
    cc4f0a9d5aa1 dm: Fix dm_accept_partial_bio() relative to zone management commands
    939f750215b8 dm writecache: don't split bios when overwriting contiguous cache content
    65e780667cf3 dm space maps: don't reset space map allocation cursor when committing
    313d9f25804c RDMA/cxgb4: Fix missing error code in create_qp()
    f9c67c179e3b net: tcp better handling of reordering then loss cases
    8fa6473a61ec drm/amdgpu: remove unsafe optimization to drop preamble ib
    c5b518f4b98d drm/amd/display: Avoid HDCP over-read and corruption
    3c172f6e444b MIPS: ingenic: Select CPU_SUPPORTS_CPUFREQ && MIPS_EXTERNAL_TIMER
    0903ac8f09c6 MIPS: cpu-probe: Fix FPU detection on Ingenic JZ4760(B)
    8f939b795797 ipv6: use prandom_u32() for ID generation
    c92298d228f6 virtio-net: Add validation for used length
    5e039a80a76b drm: bridge: cdns-mhdp8546: Fix PM reference leak in
    d1eaf4cb4408 clk: tegra: Ensure that PLLU configuration is applied properly
    dc5bacea9462 clk: tegra: Fix refcounting of gate clocks
    315988817aa7 RDMA/rtrs: Change MAX_SESS_QUEUE_DEPTH
    4f6a0f31c627 net: stmmac: the XPCS obscures a potential "PHY not found" error
    a7d608bb786c drm: rockchip: add missing registers for RK3066
    d89ea206e99c drm: rockchip: add missing registers for RK3188
    e54b4a534845 net/mlx5: Fix lag port remapping logic
    62137d1ae5f8 net/mlx5e: IPsec/rep_tc: Fix rep_tc_update_skb drops IPsec packet
    219150485d73 clk: renesas: r8a77995: Add ZA2 clock
    0680344d7131 drm/bridge: cdns: Fix PM reference leak in cdns_dsi_transfer()
    95f8ce9f18cb igb: fix assignment on big endian machines
    66d593aa3aea igb: handle vlan types with checker enabled
    ffb865715a0f e100: handle eeprom as little endian
    f06ea024c176 drm/vc4: hdmi: Fix PM reference leak in vc4_hdmi_encoder_pre_crtc_co()
    48c96d5bacc0 drm/vc4: Fix clock source for VEC PixelValve on BCM2711
    21bf1414580c udf: Fix NULL pointer dereference in udf_symlink function
    0687411e2a88 drm/sched: Avoid data corruptions
    5ed8c298b2e1 drm/scheduler: Fix hang when sched_entity released
    73ac001f060b pinctrl: equilibrium: Add missing MODULE_DEVICE_TABLE
    1b832bd77799 net/sched: cls_api: increase max_reclassify_loop
    6ceb0182b087 net: mdio: provide shim implementation of devm_of_mdiobus_register
    d2d17ca924f4 drm/virtio: Fix double free on probe failure
    69a71b59b18c reiserfs: add check for invalid 1st journal block
    c5073100dc4f drm/bridge: lt9611: Add missing MODULE_DEVICE_TABLE
    b5713dac1916 net: mdio: ipq8064: add regmap config to disable REGCACHE
    c0dd36bcb67f drm/mediatek: Fix PM reference leak in mtk_crtc_ddp_hw_init()
    3393405257ed net: Treat __napi_schedule_irqoff() as __napi_schedule() on PREEMPT_RT
    a7f7c42e3115 atm: nicstar: Fix possible use-after-free in nicstar_cleanup()
    b7ee9ae1e0cf mISDN: fix possible use-after-free in HFC_cleanup()
    e759ff76ebbb atm: iphase: fix possible use-after-free in ia_module_exit()
    2292d9691ce9 hugetlb: clear huge pte during flush function on mips platform
    a74872106e78 clk: renesas: rcar-usb2-clock-sel: Fix error handling in .probe()
    3ca86d44b902 drm/amd/display: fix use_max_lb flag for 420 pixel formats
    5953b984c3e4 net: pch_gbe: Use proper accessors to BE data in pch_ptp_match()
    fb960728f8f1 drm/bridge: nwl-dsi: Force a full modeset when crtc_state->active is changed to be true
    796554d3d68f drm/vc4: fix argument ordering in vc4_crtc_get_margins()
    b025bc07c947 drm/amd/amdgpu/sriov disable all ip hw status by default
    fb7479d64d77 drm/amd/display: fix HDCP reset sequence on reinitialize
    d055669e669a drm/ast: Fixed CVE for DP501
    95c3133bc8eb drm/zte: Don't select DRM_KMS_FB_HELPER
    b60ae0fab550 drm/mxsfb: Don't select DRM_KMS_FB_HELPER

(From OE-Core rev: 9cec9a92c3e8451d1b9875e97e63c24543a6f787)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-22 09:33:44 +01:00
Bruce Ashfield
5fe8e41520 linux-yocto/5.13: update to v5.13.4
Updating linux-yocto/5.13 to the latest korg -stable release that comprises
the following commits:

    64376a981a0e Linux 5.13.4
    71de462034c6 seq_file: disallow extremely large seq buffer allocations
    31cf8e7e504e misc: alcor_pci: fix inverted branch condition
    9930eeb4ffae scsi: scsi_dh_alua: Fix signedness bug in alua_rtpg()
    e1b2b2b61d30 cpufreq: CPPC: Fix potential memleak in cppc_cpufreq_cpu_init
    c898c9bfd3d5 perf tools: Fix pattern matching for same substring in different PMU type
    04ea267f5357 MIPS: vdso: Invalid GIC access through VDSO
    bd5b2e8f4a7c s390/irq: remove HAVE_IRQ_EXIT_ON_IRQ_STACK
    272fa75ec8a0 perf script python: Fix buffer size to report iregs in perf script
    3a5f4fb0ee2d mips: disable branch profiling in boot/decompress.o
    79a0e94e1434 mips: always link byteswap helpers into decompressor
    8be9eadd7bd6 kprobe/static_call: Restore missing static_call_text_reserved()
    fda47dd9f5d7 static_call: Fix static_call_text_reserved() vs __init
    a861b41d0b41 jump_label: Fix jump_label_text_reserved() vs __init
    7ec843ba963e sched/uclamp: Ignore max aggregation if rq is idle
    c368aa2bbd2a scsi: be2iscsi: Fix an error handling path in beiscsi_dev_probe()
    b6a08c2f1c41 arm64: dts: rockchip: Re-add regulator-always-on for vcc_sdio for rk3399-roc-pc
    12f8ee513a33 arm64: dts: rockchip: Re-add regulator-boot-on, regulator-always-on for vdd_gpu on rk3399-roc-pc
    9f5d2c5052d3 firmware: turris-mox-rwtm: show message about HWRNG registration
    852ae2d33e1f firmware: turris-mox-rwtm: fail probing when firmware does not support hwrng
    5f6ffd65b7dc firmware: turris-mox-rwtm: report failures better
    aa1b734129a7 firmware: turris-mox-rwtm: fix reply status decoding function
    3dbb2de9e7af kbuild: remove trailing slashes from $(KBUILD_EXTMOD)
    2292bba57bb6 thermal/drivers/rcar_gen3_thermal: Fix coefficient calculations
    314027808303 arm64: dts: ti: k3-am642-evm: align ti,pindir-d0-out-d1-in property with dt-shema
    908b140229a2 arm64: dts: ti: am65: align ti,pindir-d0-out-d1-in property with dt-shema
    6f62efde1ae0 arm64: dts: ti: k3-am642-main: fix ports mac properties
    5b47aec030e9 ARM: dts: imx6q-dhcom: Add gpios pinctrl for i2c bus recovery
    189c0feed615 ARM: dts: imx6q-dhcom: Fix ethernet plugin detection problems
    bffed302186c ARM: dts: imx6q-dhcom: Fix ethernet reset time properties
    527b863b5260 thermal/drivers/sprd: Add missing MODULE_DEVICE_TABLE
    688126766067 ARM: dts: am437x: align ti,pindir-d0-out-d1-in property with dt-shema
    ca219ca56e48 ARM: dts: am335x: align ti,pindir-d0-out-d1-in property with dt-shema
    75e9d92befad ARM: dts: dra7: Fix duplicate USB4 target module node
    4264bda03ef1 arm64: dts: allwinner: a64-sopine-baseboard: change RGMII mode to TXID
    a6b45b4932f7 memory: fsl_ifc: fix leak of private memory on probe failure
    28f71fd81ebd memory: fsl_ifc: fix leak of IO mapping on probe failure
    5efc32c0cf6d arm64: dts: ti: k3-j721e-common-proc-board: Re-name "link" name as "phy"
    c854fab6a0c9 arm64: dts: ti: k3-j721e-common-proc-board: Use external clock for SERDES
    2920f3582a2b arm64: dts: ti: k3-j721e-main: Fix external refclk input to SERDES
    e1ff512116e9 firmware: arm_scmi: Add delayed response status check
    3b28d0838e94 Revert "ARM: dts: bcm283x: increase dwc2's RX FIFO size"
    5bb263488bd0 arm64: dts: renesas: r8a779a0: Drop power-domains property from GIC node
    cb5259dacdbc reset: bail if try_module_get() fails
    39119c5e50a9 ARM: dts: BCM5301X: Fixup SPI binding
    c2c62ef35e79 dt-bindings: i2c: at91: fix example for scl-gpios
    365987eb0d0e firmware: arm_scmi: Reset Rx buffer to max size during async commands
    1a35a7db3430 soc: mtk-pm-domains: Fix the clock prepared issue
    02fb5809342a soc: mtk-pm-domains: do not register smi node as syscon
    ea6ad20a5381 firmware: tegra: Fix error return code in tegra210_bpmp_init()
    2ef47def7bba arm64: dts: qcom: sc7180: Fix sc7180-qmp-usb3-dp-phy reg sizes
    77cb5b1b127f arm64: dts: qcom: c630: Add no-hpd to DSI bridge node
    c8072f1620ce arm64: dts: qcom: trogdor: Add no-hpd to DSI bridge node
    2d2b0b26399f ARM: dts: stm32: Rework LAN8710Ai PHY reset on DHCOM SoM
    a3d54e663d3b arm64: dts: renesas: r8a7796[01]: Fix OPP table entry voltages
    f8303239e753 arm64: dts: renesas: Add missing opp-suspend properties
    bd8eefc0b53d ARM: dts: qcom: sdx55-telit: Represent secure-regions as 64-bit elements
    6dfc3b366e20 ARM: dts: qcom: sdx55-t55: Represent secure-regions as 64-bit elements
    1b5c14a6bbe4 arm64: dts: ti: j7200-main: Enable USB2 PHY RX sensitivity workaround
    ec80ffdc4283 arm64: dts: ti: k3-j7200: Remove "#address-cells" property from GPIO DT nodes
    6d300d33d567 arm64: dts: ti: k3-am64-mcu: Fix the compatible string in GPIO DT node
    d1b67a186292 arm64: dts: qcom: sdm845-oneplus-common: guard rmtfs-mem
    d8ef498abc67 ARM: dts: r8a7779, marzen: Fix DU clock names
    7d32c0007098 arm64: dts: renesas: v3msk: Fix memory size
    104f7241f12d rtc: fix snprintf() checking in is_rtc_hctosys()
    0b46343d52e8 rtc: bd70528: fix BD71815 watchdog dependency
    dff5eb6da4f8 ARM: dts: sun8i: h3: orangepi-plus: Fix ethernet phy-mode
    7540e4352365 memory: pl353: Fix error return code in pl353_smc_probe()
    410c26a81b6c arm64: defconfig: Do not override the MTK_PMIC_WRAP symbol
    91253471596e reset: brcmstb: Add missing MODULE_DEVICE_TABLE
    19c0f8293f31 memory: atmel-ebi: add missing of_node_put for loop iteration
    e075ad208d19 memory: stm32-fmc2-ebi: add missing of_node_put for loop iteration
    444c3049db10 ARM: dts: exynos: fix PWM LED max brightness on Odroid XU4
    209aa4be8b40 ARM: dts: exynos: fix PWM LED max brightness on Odroid HC1
    3bbfd45abcd3 ARM: dts: exynos: fix PWM LED max brightness on Odroid XU/XU3
    3bd497c174c5 ARM: exynos: add missing of_node_put for loop iteration
    7a91d9c67531 reset: a10sr: add missing of_match_table reference
    6cf18d4e190b reset: RESET_INTEL_GW should depend on X86
    1347d04d66f7 reset: RESET_BRCMSTB_RESCAL should depend on ARCH_BRCMSTB
    3b5eb8cd04a2 arm64: dts: rockchip: Drop fephy pinctrl from gmac2phy on rk3328 rock-pi-e
    62ace4c8a6fc arm64: dts: rockchip: rename LED label for NanoPi R4S
    f499d706e21e ARM: dts: gemini-rut1xx: remove duplicate ethernet node
    700ecdcb3e05 hexagon: use common DISCARDS macro
    91a711977033 hexagon: handle {,SOFT}IRQENTRY_TEXT in linker script
    a5d3913911f1 NFSv4/pNFS: Don't call _nfs4_pnfs_v3_ds_connect multiple times
    a43389b7df96 NFSv4/pnfs: Fix layoutget behaviour after invalidation
    f90295b4b641 NFSv4/pnfs: Fix the layout barrier update
    65d105e0014c NFS: Fix fscache read from NFS after cache error
    9d94a3f255da NFS: Ensure nfs_readpage returns promptly when internal error occurs
    382f21675997 virtio-mem: don't read big block size in Sub Block Mode
    8e0bfe5edb79 vdpa/mlx5: Clear vq ready indication upon device reset
    eaa0eb7020f7 ALSA: isa: Fix error return code in snd_cmi8330_probe()
    650e6f383a6e nfsd: fix NULL dereference in nfs3svc_encode_getaclres
    7605bff387a9 NFSD: Prevent a possible oops in the nfs_dirent() tracepoint
    e8a8bb8dca84 nfsd: Reduce contention for the nfsd_file nf_rwsem
    1e8c6f23b183 nfsd: move fsnotify on client creation outside spinlock
    ca9c3d31c52d NFSD: Add nfsd_clid_confirmed tracepoint
    0d435b6d94b0 powerpc/bpf: Fix detecting BPF atomic instructions
    bc6b8e2cd87e nvme-tcp: can't set sk_user_data without write_lock
    c01f6cae4b1b virtio_net: move tx vq operation under tx queue lock
    70899667e59a vdp/mlx5: Fix setting the correct dma_device
    e654dbc9a6e2 vdpa/mlx5: Fix possible failure in umem size calculation
    965b080f4e6d vdpa/mlx5: Fix umem sizes assignments on VQ create
    9dca259fbb42 vp_vdpa: correct the return value when fail to map notification
    c31fab84b23c io_uring: remove not needed PF_EXITING check
    dafcb53b550b io_uring: inline __tctx_task_work()
    7511a4f524f3 io_uring: move creds from io-wq work to io_kiocb
    16eadf897956 io_uring: don't bounce submit_state cachelines
    bea4688b9e59 io_uring: shuffle rarely used ctx fields
    f564954855fc io_uring: get rid of files in exit cancel
    04c529ed0e7f block: grab a device refcount in disk_uevent
    ccdf7e073170 arch_topology: Avoid use-after-free for scale_freq_data
    d6c153a6ae03 PCI: tegra194: Fix tegra_pcie_ep_raise_msi_irq() ill-defined shift
    63798e31f588 f2fs: remove false alarm on iget failure during GC
    e882298f7c3e nfs: update has_sec_mnt_opts after cloning lsm options from parent
    582223e621e1 pwm: imx1: Don't disable clocks at device remove time
    18cfc69d561a PCI: intel-gw: Fix INTx enable
    29e9a35b400b x86/fpu: Limit xstate copy size in xstateregs_set()
    a04e670b07df x86/fpu: Fix copy_xstate_to_kernel() gap handling
    c615921c48c9 f2fs: fix to avoid adding tab before doc section
    7bc134df92a2 PCI: iproc: Support multi-MSI only on uniprocessor kernel
    5ac5596c3b7c PCI: iproc: Fix multi-MSI base vector number allocation
    8f02865de3a3 ubifs: Set/Clear I_LINKABLE under i_lock for whiteout inode
    687cf32865b2 nfs: fix acl memory leak of posix_acl_create()
    7cedf369663f SUNRPC: prevent port reuse on transports which don't request it.
    a96036c0b520 watchdog: jz4740: Fix return value check in jz4740_wdt_probe()
    07777127a44a watchdog: aspeed: fix hardware timeout calculation
    90d61adce958 watchdog: keembay: Removed timeout update in the TO ISR
    04693e05d183 watchdog: keembay: Remove timeout update in the WDT start function
    6479c1a2ae2c watchdog: keembay: Clear either the TO or TH interrupt bit
    b8ba05635e6e watchdog: keembay: Update pretimeout to zero in the TH ISR
    340590af29d5 watchdog: keembay: Upadate WDT pretimeout for every update in timeout
    4cfc11b3a8fe watchdog: keembay: Update WDT pre-timeout during the initialization
    f55dd38490f7 ubifs: journal: Fix error return code in ubifs_jnl_write_inode()
    fe597a0eb351 um: fix error return code in winch_tramp()
    a04880c5bb08 um: fix error return code in slip_open()
    b71f11467022 um: Fix stack pointer alignment
    a02357d7532b sunrpc: Avoid a KASAN slab-out-of-bounds bug in xdr_set_page_base()
    7aec9f862411 NFSv4: Fix an Oops in pnfs_mark_request_commit() when doing O_DIRECT
    b0bfac939030 NFSv4: Initialise connection to the server in nfs4_alloc_client()
    16187f5228e6 power: supply: rt5033_battery: Fix device tree enumeration
    7da9b60120b0 PCI/sysfs: Fix dsm_label_utf16s_to_utf8s() buffer overrun
    8fcb25a3ef23 power: supply: surface-charger: Fix type of integer variable
    10d79d3bf5c4 remoteproc: k3-r5: Fix an error message
    f02de04e14cf remoteproc: stm32: fix phys_addr_t format string
    2ca41d7ba671 f2fs: compress: fix to disallow temp extension
    c3988657d370 f2fs: add MODULE_SOFTDEP to ensure crc32 is included in the initramfs
    fa815e11816b module: correctly exit module_kallsyms_on_each_symbol when fn() != 0
    7c2089413c67 pwm: visconti: Fix and simplify period calculation
    ee24633a5048 cpufreq: scmi: Fix an error message
    afb04d0b5543 x86/signal: Detect and prevent an alternate signal stack overflow
    8e0648a3cb63 NFSD: Fix TP_printk() format specifier in nfsd_clid_class
    e1f1f6603155 f2fs: atgc: fix to set default age threshold
    0f0fd04efc26 power: supply: surface_battery: Fix battery event handling
    73a14f65a67c block: fix the problem of io_ticks becoming smaller
    21a06a244d25 virtio_console: Assure used length from device is limited
    ffbfea49cc39 virtio_net: Fix error handling in virtnet_restore()
    29a2f4a3214a virtio-blk: Fix memory leak among suspend/resume procedure
    1c8c1adae69f ext4: fix WARN_ON_ONCE(!buffer_uptodate) after an error writing the superblock
    b881ba731274 PCI: rockchip: Register IRQ handlers after device and data are ready
    cfac32923d1d ACPI: video: Add quirk for the Dell Vostro 3350
    16752e05c77a ACPI: AMBA: Fix resource name in /proc/iomem
    fd313d643f07 pwm: tegra: Don't modify HW state in .remove callback
    a1d3f7407f78 pwm: img: Fix PM reference leak in img_pwm_enable()
    18127c30f619 drm/amdkfd: fix sysfs kobj leak
    0b909924a4ae drm/amdgpu: fix Navi1x tcp power gating hang when issuing lightweight invalidaiton
    813ff2425324 power: supply: axp288_fuel_gauge: Make "T3 MRD" no_battery_list DMI entry more generic
    289834760579 power: supply: ab8500: add missing MODULE_DEVICE_TABLE
    81cd77390071 power: supply: charger-manager: add missing MODULE_DEVICE_TABLE
    a01f95e2f881 power: reset: regulator-poweroff: add missing MODULE_DEVICE_TABLE
    c11910b2c2cf NFS: nfs_find_open_context() may only select open files
    4a54caa8540f drm/gma500: Add the missed drm_gem_object_put() in psb_user_framebuffer_create()
    e43aa6240814 ceph: remove bogus checks and WARN_ONs from ceph_set_page_dirty
    4f8e35e9483a orangefs: fix orangefs df output.
    cdc00734394b NFSv4: Fix handling of non-atomic change attrbute updates
    357d88120072 NFS: Fix up inode attribute revalidation timeouts
    6e56ae0a8901 PCI: tegra: Add missing MODULE_DEVICE_TABLE
    7693312a8044 remoteproc: stm32: fix mbox_send_message call
    a9f2ab385cc6 remoteproc: core: Fix cdev remove and rproc del
    bbea0e789770 x86/fpu: Return proper error codes from user access functions
    f8a51030e3be PCI: mediatek-gen3: Add missing MODULE_DEVICE_TABLE
    c09a4ad6251f fuse: fix illegal access to inode with reused nodeid
    6ba041fc3c44 virtiofs: propagate sync() to file server
    5e65819a006e watchdog: iTCO_wdt: Account for rebooting on second timeout
    cfb7e2f23aa0 watchdog: imx_sc_wdt: fix pretimeout
    1a053c4d7168 watchdog: Fix possible use-after-free by calling del_timer_sync()
    f0feab82f6a0 watchdog: sc520_wdt: Fix possible use-after-free in wdt_turnoff()
    8adbbe6c86bb watchdog: Fix possible use-after-free in wdt_startup()
    a037ebbe72a4 PCI: Dynamically map ECAM regions
    3cf262e8c698 PCI: pciehp: Ignore Link Down/Up caused by DPC
    9f397e9e497d NFSv4: Fix delegation return in cases where we have to retry
    eeb8022576c1 PCI/P2PDMA: Avoid pci_get_slot(), which may sleep
    00fe7b64bba8 ARM: 9087/1: kprobes: test-thumb: fix for LLVM_IAS=1
    a67dc65f59ed power: reset: gpio-poweroff: add missing MODULE_DEVICE_TABLE
    00a34a993ac3 power: supply: max17040: Do not enforce (incorrect) interrupt trigger type
    4d40b03031a0 power: supply: max17042: Do not enforce (incorrect) interrupt trigger type
    471c250065e1 pwm: pca9685: Restrict period change for enabled PWMs
    b050025f8de4 PCI: hv: Fix a race condition when removing the device
    6b8813b09fab power: supply: ab8500: Enable USB and AC
    aa092b2f5bb3 power: supply: ab8500: Avoid NULL pointers
    341db343768b power: supply: ab8500: Move to componentized binding
    dc72a15859b2 PCI: ftpci100: Rename macro name collision
    6606e5a6811a pwm: spear: Don't modify HW state in .remove callback
    19ce06dcd189 power: supply: sc2731_charger: Add missing MODULE_DEVICE_TABLE
    2d7dae32b14b power: supply: sc27xx: Add missing MODULE_DEVICE_TABLE
    77637270800c kcov: add __no_sanitize_coverage to fix noinstr for all architectures
    67a8dfc86bdb lib/decompress_unlz4.c: correctly handle zero-padding around initrds.
    af6365ae0991 phy: intel: Fix for warnings due to EMMC clock 175Mhz change in FIP
    e00d3efd53d0 i2c: core: Disable client irq on reboot/shutdown
    47419e67a5ff intel_th: Wait until port is in reset before programming it
    8c012f3504ab staging: rtl8723bs: fix check allowing 5Ghz settings
    32615857345b staging: rtl8723bs: fix macro value for 2.4Ghz only device
    5f59df2b2358 leds: turris-omnia: add missing MODULE_DEVICE_TABLE
    658d9b291193 ALSA: firewire-motu: fix detection for S/PDIF source on optical interface in v2 protocol
    048d83c67d37 ALSA: usb-audio: scarlett2: Fix 6i6 Gen 2 line out descriptions
    4348f36461b8 ALSA: hda: Add IRQ check for platform_get_irq()
    eff67a0bb38f backlight: lm3630a: Fix return code of .update_status() callback
    18fbea65d1a5 ASoC: Intel: kbl_da7219_max98357a: shrink platform_id below 20 characters
    d422f8be38a2 ASoC: fsl_xcvr: check return value after calling platform_get_resource_byname()
    d15c57f8f120 powerpc/boot: Fixup device-tree on little endian
    34ada7b357dd usb: gadget: hid: fix error return code in hid_bind()
    c904d51536b4 usb: gadget: f_hid: fix endianness issue with descriptors
    7113c2692f7f ALSA: usb-audio: scarlett2: Fix scarlett2_*_ctl_put() return values
    7d94bcba9e59 ALSA: usb-audio: scarlett2: Fix data_mutex lock
    f3f7f6ef23fc ALSA: usb-audio: scarlett2: Fix 18i8 Gen 2 PCM Input count
    669eb7736781 m68knommu: fix missing LCD splash screen data initializer
    efd33d33dedd ALSA: bebob: add support for ToneWeal FW66
    a5dc9f63b20d Input: hideep - fix the uninitialized use in hideep_nvm_unlock()
    1043c57cff3d s390/mem_detect: fix tprot() program check new psw handling
    bf04c373f1b3 s390/mem_detect: fix diag260() program check new psw handling
    5c80766b911d s390/ipl_parm: fix program check new psw handling
    45b658ee680d s390/processor: always inline stap() and __load_psw_mask()
    4de8aba5c10f habanalabs/gaudi: set the correct rc in case of err
    29d01e4b4c04 habanalabs: remove node from list before freeing the node
    cce27a77cc59 habanalabs: set rc as 'valid' in case of intentional func exit
    275674c1e58b habanalabs: fix mask to obtain page offset
    30dd0cbabf14 habanalabs/gaudi: set the correct cpu_id on MME2_QM failure
    4bf6fcdcca81 habanalabs: check if asic secured with asic type
    dac25ad9dd9d xhci: handle failed buffer copy to URB sg list and fix a W=1 copiler warning
    44be4fd02a92 ASoC: soc-core: Fix the error return code in snd_soc_of_parse_audio_routing()
    c90bcc03dd7c powerpc/mm/book3s64: Fix possible build error
    d4921acaab93 gpio: pca953x: Add support for the On Semi pca9655
    ac2ee946b71e selftests/powerpc: Fix "no_handler" EBB selftest
    df6b21c0aa9d ALSA: ppc: fix error return code in snd_pmac_probe()
    21b28dfedfc1 scsi: storvsc: Correctly handle multiple flags in srb_status
    0c5085c93f64 powerpc/inst: Fix sparse detection on get_user_instr()
    71bfeb9e0f1a thunderbolt: Fix DROM handling for USB4 DROM
    4d18303a5bc1 gpio: zynq: Check return value of irq_get_irq_data
    c42ec0450a55 gpio: zynq: Check return value of pm_runtime_get_sync
    b5b9d977c7a8 ASoC: soc-pcm: fix the return value in dpcm_apply_symmetry()
    77921518bf65 ALSA: control_led - fix initialization in the mode show callback
    2955c54c5bca ALSA: n64: check return value after calling platform_get_resource()
    5f9741a9a91f iommu/arm-smmu: Fix arm_smmu_device refcount leak in address translation
    fe92c0581990 iommu/arm-smmu: Fix arm_smmu_device refcount leak when arm_smmu_rpm_get fails
    f30d6b6bb4f6 powerpc/ps3: Add dma_mask to ps3_dma_region
    06771032116a ALSA: sb: Fix potential double-free of CSP mixer elements
    c33fbdc1cdae iommu/arm-smmu-qcom: Skip the TTBR1 quirk for db820c.
    de544803cbe0 selftests: timers: rtcpie: skip test if default RTC device does not exist
    52e8bd03856a s390: disable SSP when needed
    2fdbf6e7baa8 s390/sclp_vt220: fix console name to match device
    b29ddd99c14f serial: tty: uartlite: fix console setup
    2124240be810 fsi: Add missing MODULE_DEVICE_TABLE
    ed8c2cc77381 iov_iter_advance(): use consistent semantics for move past the end
    a3a117833731 ASoC: img: Fix PM reference leak in img_i2s_in_probe()
    cc78632eb085 mfd: cpcap: Fix cpcap dmamask not set warnings
    4aee78c62b9d mfd: da9052/stmpe: Add and modify MODULE_DEVICE_TABLE
    e65432dce6b5 scsi: qedi: Fix cleanup session block/unblock use
    400c206f3be0 scsi: qedi: Fix TMF session block/unblock use
    cf5cc57ea7dc scsi: qedi: Fix race during abort timeouts
    338330351ca5 scsi: qedi: Fix null ref during abort handling
    52b5bf245a68 scsi: iscsi: Fix shost->max_id use
    fa9542b35ceb scsi: iscsi: Fix conn use after free during resets
    bf3ce567db56 scsi: iscsi: Add iscsi_cls_conn refcount helpers
    1420af019bcb scsi: megaraid_sas: Handle missing interrupts while re-enabling IRQs
    2262bb7ee19e scsi: megaraid_sas: Early detection of VD deletion through RaidMap update
    e623f79691c5 scsi: megaraid_sas: Fix resource leak in case of probe failure
    0dab71667eb0 fs/jfs: Fix missing error code in lmLogInit()
    936440f47826 scsi: scsi_dh_alua: Check for negative result value
    89b033dd8f3b scsi: core: Fixup calling convention for scsi_mode_sense()
    fc6bf9941021 scsi: mpt3sas: Fix deadlock while cancelling the running firmware event
    b2ef1f5de403 tty: serial: 8250: serial_cs: Fix a memory leak in error handling path
    b731dddd686b ASoC: cs42l42: Fix 1536000 Bit Clock instability
    2a1115ad5fce ALSA: ac97: fix PM reference leak in ac97_bus_remove()
    dcb634e434b8 scsi: core: Cap scsi_host cmd_per_lun at can_queue
    8b927240f44c scsi: lpfc: Fix crash when lpfc_sli4_hba_setup() fails to initialize the SGLs
    9c1a1c3e71dd scsi: lpfc: Fix "Unexpected timeout" error in direct attach topology
    dd3bc6dc69c6 scsi: hisi_sas: Propagate errors in interrupt_init_v1_hw()
    67fb59eceee3 scsi: arcmsr: Fix doorbell status being updated late on ARC-1886
    ab935078f361 w1: ds2438: fixing bug that would always get page0
    59f03af920b5 ASoC: SOF: topology: fix assignment to use le32_to_cpu
    1a133a0996d6 usb: common: usb-conn-gpio: fix NULL pointer dereference of charger
    3b57a2dd956c Revert "ALSA: bebob/oxfw: fix Kconfig entry for Mackie d.2 Pro"
    82e5ee742fdd ALSA: usx2y: Don't call free_pages_exact() with NULL address
    6c9a4c651572 ALSA: usx2y: Avoid camelCase
    c31e22bf9406 iio: magn: bmc150: Balance runtime pm + use pm_runtime_resume_and_get()
    7beb9112a3bc iio: gyro: fxa21002c: Balance runtime pm + use pm_runtime_resume_and_get().
    78f472928f3a iio: imu: st_lsm6dsx: correct ODR in header
    27a19198ab58 partitions: msdos: fix one-byte get_unaligned()
    9c029e50e662 ASoC: intel/boards: add missing MODULE_DEVICE_TABLE
    09d154990ca8 misc: alcor_pci: fix null-ptr-deref when there is no PCI bridge
    a7268e8a227d misc/libmasm/module: Fix two use after free in ibmasm_init_one
    221f655abb56 serial: 8250: of: Check for CONFIG_SERIAL_8250_BCM7271
    464ffcfa6028 serial: fsl_lpuart: disable DMA for console and fix sysrq
    c96867d0bba9 tty: serial: fsl_lpuart: fix the potential risk of division or modulo by zero
    7397dab12fe1 usb: dwc3: pci: Fix DEFINE for Intel Elkhart Lake
    c4b8190ae66f soundwire: bus: handle -ENODATA errors in clock stop/start sequences
    740b019c2eb8 soundwire: bus: only use CLOCK_STOP_MODE0 and fix confusions
    ee188d0f8dd5 rcu: Reject RCU_LOCKDEP_WARN() false positives
    aa59856bcfd2 srcu: Fix broken node geometry after early ssp init
    5318059dea5e scsi: arcmsr: Fix the wrong CDB payload report to IOP
    38a6e9b501b2 dmaengine: fsl-qdma: check dma_set_mask return value
    7bd674051bfe ASoC: Intel: sof_sdw: add mutual exclusion between PCH DMIC and RT715
    c57e7b2f36ae leds: tlc591xx: fix return value check in tlc591xx_probe()
    28f0adaae3e8 net: bridge: multicast: fix MRD advertisement router port marking race
    dc924e411870 net: bridge: multicast: fix PIM hello router port marking race
    b937eb91b353 drm/dp_mst: Add missing drm parameters to recently added call to drm_dbg_kms()
    d3891139901b drm/dp_mst: Avoid to mess up payload table by ports in stale topology
    d01943939f45 drm/dp_mst: Do not set proposed vcpi directly
    c30f0b5c6fd1 btrfs: zoned: fix wrong mutex unlock on failure to allocate log root tree
    02fac1508a72 btrfs: don't block if we can't acquire the reclaim lock
    d6479f089af1 btrfs: rework chunk allocation to avoid exhaustion of the system chunk array
    789b24d9950d btrfs: fix deadlock with concurrent chunk allocations involving system chunks
    9ffb4cd20998 btrfs: zoned: fix types for u64 division in btrfs_reclaim_bgs_work
    27c5ecbb691f btrfs: properly split extent_map for REQ_OP_ZONE_APPEND
    08e1e3b6ddd8 io_uring: use right task for exiting checks
    6ef21f34aa92 arm64: Avoid premature usercopy failure
    70fa723908a4 mm/hugetlb: fix refs calculation from unaligned @vaddr
    65a5977bd05c EDAC/igen6: fix core dependency AGAIN
    d6e76469157d fbmem: Do not delete the mode that is still in use
    a41573667b39 cgroup: verify that source is a string
    a6859443061e drm/i915/gt: Fix -EDEADLK handling regression
    1786384f5217 drm/i915/gtt: drop the page table optimisation
    e67361d6c083 drm/amdgpu: add another Renoir DID
    38379a09f735 tracing: Do not reference char * as a string in histograms
    7e6a4c304deb iommu/vt-d: Fix clearing real DMA device's scalable-mode context entries
    948ec6d00328 iommu/vt-d: Global devTLB flush when present context entry changed
    208e33fa8359 scsi: zfcp: Report port fc_security as unknown early during remote cable pull
    c1671d2d2ef8 scsi: core: Fix bad pointer dereference when ehandler kthread is invalid
    aa25872fcc35 KVM: SVM: remove INIT intercept handler
    bbca8ad77f26 KVM: SVM: #SMI interception must not skip the instruction
    2338682c3fd1 KVM: X86: Disable hardware breakpoints unconditionally before kvm_x86->run()
    f4e862a6a3d9 KVM: nSVM: Check the value written to MSR_VM_HSAVE_PA
    a238f763e650 KVM: SVM: Revert clearing of C-bit on GPA in #NPF handler
    555e674fd3f9 KVM: x86/mmu: Do not apply HPA (memory encryption) mask to GPAs
    4ccf1f873b70 KVM: x86: Use kernel's x86_phys_bits to handle reduced MAXPHYADDR
    0eb28e18e56c KVM: x86: Use guest MAXPHYADDR from CPUID.0x8000_0008 iff TDP is enabled
    228ce0ed1283 KVM: selftests: do not require 64GB in set_memory_region_test
    069d44a24c0f KVM: mmio: Fix use-after-free Read in kvm_vm_ioctl_unregister_coalesced_mmio
    d4e376c83736 cifs: Do not use the original cruid when following DFS links for multiuser mounts
    0c480c45bed3 cifs: handle reconnect of tcon when there is no cached dfs referral
    a29b76ec20f2 cifs: use the expiry output of dns_query to schedule next resolution

(From OE-Core rev: 28001800057149d4b771290753ebdfb69e9c999b)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-22 09:33:44 +01:00
Paul Barker
a6edd6c76a linux-yocto: Fix devupstream SRCREV assignment
Fixes the following error when building linux-yocto-upstream:

    Fetcher failure: Unable to find revision 570e7aedcd00e7e8a218e37c3dfb3b1fda83d111
    in branch v5.13/base even from upstream

The error occurred as the SRCREV_machine assignment earlier in the
recipe was being used instead of the mainline commit hash we want to use
for linux-yocto-upstream.

(From OE-Core rev: 0df7954d1ffe111337bd7d68f0cb09404906db85)

Signed-off-by: Paul Barker <paul@pbarker.dev>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-22 09:33:44 +01:00
Sakib Sajal
80780d5f27 scripts/oe-time-dd-test.sh: run "uptime" on each iteration
(From OE-Core rev: 45c334b3cfdfc9584b80cbc3ede1a60f61ecc8bb)

Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-22 09:33:44 +01:00
Richard Purdie
1ad79313a5 build-appliance-image: Update to master head revision
(From OE-Core rev: c4fc226c2e3856b942bb4f57ead21a64c3dc8c0d)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-20 19:02:52 +01:00
Joshua Watt
75f491e5e2 bitbake: server: Fix early parsing errors preventing zombie bitbake
If the client process never sends cooker data, the server timeout will
be 0.0, not None. This will prevent the server from exiting, as it is
waiting for a new client. In particular, the client will disconnect with
a bad "INHERIT" line, such as:

    INHERIT += "this-class-does-not-exist"

Instead of checking explicitly for None, check for a false value, which
means either 0.0 or None.

(Bitbake rev: 13e2855bff6a6ead6dbd33c5be4b988aafcd4afa)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-20 19:00:32 +01:00
Richard Purdie
b635fce91d buildtools-tarball: Add lz4 and ztsd (including pzstd)
Since we start to require these for builds, we need to include them in buildtools-tarball
so that older systems can access them easily.

(From OE-Core rev: a9ab105b881215653e08d442786e6a3aff84c8ba)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-20 18:59:18 +01:00
Mingli Yu
e8b13b9809 parselogs.py: ignore rndr initialization failure
After rng-tools upgraded to 6.13, the RNDR instruction added
as an entropy source [1]. But for some cpu which doesn't support
rndr, there comes below warning message:
 # systemctl status rngd
 [snip]
 Jul 20 06:48:07 qemuarm64 rngd[163]: [rndr  ]: No HW SUPPORT
 Jul 20 06:48:07 qemuarm64 rngd[163]: [rndr  ]: Initialization Failed
 [snip]

Actually the failed message doesn't matter as it only indicates
one entropy source rndr fails to initialize and won't affect rngd
function, so ignore the failure message to fix below error during
do_testimage.
NOTE: ======================================================================
NOTE: FAIL: test_parselogs (parselogs.ParseLogsTest)
NOTE: ----------------------------------------------------------------------
NOTE: Traceback (most recent call last):
  File "/build/layers/oe-core/meta/lib/oeqa/core/decorator/__init__.py", line 36, in wrapped_f
    return func(*args, **kwargs)
  File "/build/layers/oe-core/meta/lib/oeqa/runtime/cases/parselogs.py", line 382, in test_parselogs
    self.assertEqual(errcount, 0, msg=self.msg)
AssertionError: 1 != 0 : Log: /build/tmp/work/qemuarm64-wrs-linux/wrlinux-image-std/1.0-r5/target_logs/daemon.log
-----------------------
Central error: 2021-06-23T20:44:18.374494+00:00 qemuarm64 rngd[162]: [rndr  ]: Initialization Failed

(From OE-Core rev: 1edc840d6921668b69d248f9b32fa1d5c95e3138)

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-20 18:59:18 +01:00
Richard Purdie
6d1eec4512 zstd: Include pzstd in the build
We don't currently build the parallel version of zstd but we should. Add
this to the build. It will then be used in buildtools-tarball.

(From OE-Core rev: a2c85d3cac2a6c4cd8e961e915e9567ef2fc2c0b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-20 18:59:18 +01:00
Joshua Watt
8410987884 bitbake: bitbake: Add piping compression library
Adds a library that implements file-like objects (similar to
gzip.GzipFile) that can stream to arbitrary compression programs. This
is utilized to implement a LZ4 and zstd compression API.

(Bitbake rev: 61c3acd058ea018696bd284b3922d0b458838d05)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-20 18:59:18 +01:00
Richard Purdie
75fad23fc0 bitbake: data_smart/parse: Allow ':' characters in variable/function names
It is becomming increasingly clear we need to find a way to show what
is/is not an override in our syntax. We need to do this in a way which
is clear to users, readable and in a way we can transition to.

The most effective way I've found to this is to use the ":" charater
to directly replace "_" where an override is being specified. This
includes "append", "prepend" and "remove" which are effectively special
override directives.

This patch simply adds the character to the parser so bitbake accepts
the value but maps it back to "_" internally so there is no behaviour
change.

This change is simple enough it could potentially be backported to older
version of bitbake meaning layers using the new syntax/markup could
work with older releases. Even if other no other changes are accepted
at this time and we don't backport, it does set us on a path where at
some point in future we could
require a more explict syntax.

I've tested this patch by converting oe-core/meta-yocto to the new
syntax for overrides (9000+ changes) and then seeing that builds
continue to work with this patch.

(Bitbake rev: 0dbbb4547cb2570d2ce607e9a53459df3c0ac284)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-20 18:59:18 +01:00
Bruce Ashfield
29d4ec3737 linux-yocto/5.13: update to v5.13.3
Updating linux-yocto/5.13 to the latest korg -stable release that comprises
the following commits:

    f86aa267e180 Linux 5.13.3
    e472b276a0d2 f2fs: fix to avoid racing on fsync_entry_slab by multi filesystem instances
    258fd821f693 smackfs: restrict bytes count in smk_set_cipso()
    bfb48b54db25 media: v4l2-core: explicitly clear ioctl input data
    42f102ea1943 jfs: fix GPF in diFree
    7ed572cdf110 ext4: fix possible UAF when remounting r/o a mmp-protected file system
    e9f6b57ef114 drm/ast: Remove reference to struct drm_device.pdev
    7eefc573bcbf pinctrl: mcp23s08: Fix missing unlock on error in mcp23s08_irq()
    e294f97e8af8 dm writecache: write at least 4k when committing
    691e71cf1fd1 media: uvcvideo: Fix pixel format change for Elgato Cam Link 4K
    7c148146e075 media: gspca/sunplus: fix zero-length control requests
    8f6a609903a0 media: gspca/sq905: fix control-request direction
    90be28e26596 media: ccs: Fix the op_pll_multiplier address
    d69b39d89f36 media: zr364xx: fix memory leak in zr364xx_start_readpipe
    2f920c1543f7 media: dtv5100: fix control-request directions
    7be5e037e564 media: i2c: ccs-core: fix pm_runtime_get_sync() usage count
    8b39b430dc0a media: subdev: disallow ioctl for saa6588/davinci
    eda818ae5d39 PCI: aardvark: Implement workaround for the readback value of VEND_ID
    678d93d3d243 PCI: aardvark: Fix checking for PIO Non-posted Request
    9789b16dc4e3 PCI: Leave Apple Thunderbolt controllers on for s2idle or standby
    ad365e9351ac dm btree remove: assign new_root only when removal succeeds
    3993b84d4493 dm writecache: flush origin device when writing and cache is full
    14f19e585018 dm zoned: check zone capacity
    0115687be7b1 coresight: tmc-etf: Fix global-out-of-bounds in tmc_update_etf_buffer()
    2ac133f4b299 coresight: Propagate symlink failure
    5b37fd9da03f ipack/carriers/tpci200: Fix a double free in tpci200_pci_probe
    1d2865bbd89e tracing: Resize tgid_map to pid_max, not PID_MAX_DEFAULT
    38164905b1cc tracing: Simplify & fix saved_tgids logic
    589f6fac5c92 rq-qos: fix missed wake-ups in rq_qos_throttle try two
    d57fcab190b6 seq_buf: Fix overflow in seq_buf_putmem_hex()
    775ab9f4a4d9 lkdtm: Enable DOUBLE_FAULT on all architectures
    42e737661a0d extcon: intel-mrfld: Sync hardware and software state on init
    6fd650c47411 selftests/lkdtm: Fix expected text for CR4 pinning
    07b761cf78b1 lkdtm/bugs: XFAIL UNALIGNED_LOAD_STORE_WRITE
    866573b6c9bf nvmem: core: add a missing of_node_put
    9c6c73fc99b9 mfd: syscon: Free the allocated name field of struct regmap_config
    8451754bca7b power: supply: ab8500: Fix an old bug
    c0756f75c221 ubifs: Fix races between xattr_{set|get} and listxattr operations
    ec00b71f402a thermal/drivers/int340x/processor_thermal: Fix tcc setting
    238a7c0a5c30 ipmi/watchdog: Stop watchdog timer when the current action is 'none'
    13b307880b66 qemu_fw_cfg: Make fw_cfg_rev_attr a proper kobj_attribute
    1e71e1344d61 i40e: fix PTP on 5Gb links
    35af69c7c049 mwifiex: bring down link before deleting interface
    5665e64c99e3 ASoC: tegra: Set driver_name=tegra for all machine drivers
    72104552eae2 fpga: stratix10-soc: Add missing fpga_mgr_free() call
    c3f4ad1ba2eb clocksource/arm_arch_timer: Improve Allwinner A64 timer workaround
    a34295528a14 cpu/hotplug: Cure the cpusets trainwreck
    dcb4b49e3ced arm64: tlb: fix the TTL value of tlb_get_level
    31d1d7db4978 ata: ahci_sunxi: Disable DIPM
    3b7c6122f390 docs: Makefile: Use CONFIG_SHELL not SHELL
    5c8e4b20e70f mmc: core: Allow UHS-I voltage switch for SDSC cards if supported
    3d2e0431e687 mmc: core: clear flags before allowing to retune
    c1b907e43b32 mmc: sdhci: Fix warning message when accessing RPMB in HS400 mode
    7210a1b23c50 mmc: sdhci-acpi: Disable write protect detection on Toshiba Encore 2 WT8-B
    970aa4aefaab drm/i915/display: Do not zero past infoframes.vsc
    b4772d4e8ec3 drm/ingenic: Switch IPU plane to type OVERLAY
    0256fdf3b07c drm/nouveau: Don't set allow_fb_modifiers explicitly
    8c5960e823bf drm/arm/malidp: Always list modifiers
    a2c67909bb71 drm/msm/mdp4: Fix modifier support enabling
    337e397a1e9e drm/tegra: Don't set allow_fb_modifiers explicitly
    5c2196d8286e drm/ingenic: Fix pixclock rate for 24-bit serial panels
    858d38315fc3 drm/amd/display: Reject non-zero src_y and src_x for video planes
    6683128d7ca5 pinctrl/amd: Add device HID for new AMD GPIO controller
    dcb7f78b876c drm/amd/display: fix incorrrect valid irq check
    72cba7be3648 drm/rockchip: dsi: remove extra component_del() call
    e7762bc634c8 drm/dp: Handle zeroed port counts in drm_dp_read_downstream_info()
    bab3618ca92c drm/vc4: hdmi: Prevent clock unbalance
    dee39749424b drm/vc4: crtc: Skip the TXP
    da442a77dd49 drm/vc4: txp: Properly set the possible_crtcs mask
    e4f2d5c77205 drm/radeon: Call radeon_suspend_kms() in radeon_pci_shutdown() for Loongson64
    63de45921822 drm/radeon: Add the missed drm_gem_object_put() in radeon_user_framebuffer_create()
    7764d2c698d7 drm/amdgpu: fix the hang caused by PCIe link width switch
    0d3a1e59fd9d drm/amdgpu: fix NAK-G generation during PCI-e link width switch
    5af51c7bc675 drm/amdgpu: enable sdma0 tmz for Raven/Renoir(V2)
    fb5beb2b3f06 drm/amdgpu: Update NV SIMD-per-CU to 2
    788c261cdb58 drm/amdgpu: add new dimgrey cavefish DID
    7fad97798d9b powerpc/powernv/vas: Release reference to tgid during window close
    30a401a03189 powerpc/barrier: Avoid collision with clang's __lwsync macro
    cc7442037062 powerpc/xive: Fix error handling when allocating an IPI
    7feb683793ea powerpc/bpf: Reject atomic ops in ppc32 JIT
    8a96ec5ebf96 powerpc/mm: Fix lockup on kernel exec fault
    987a852734e6 mm/mremap: hold the rmap lock in write mode when moving page table entries.
    f908381a3ec7 MIPS: MT extensions are not available on MIPS32r1
    eecc96e0458c PCI: tegra194: Fix host initialization during resume
    b63416bc9d6d MIPS: CI20: Reduce clocksource to 750 kHz.
    8e3f6e978e4c MIPS: set mips32r5 for virt extensions
    1930d84a29d4 MIPS: loongsoon64: Reserve memory below starting pfn to prevent Oops
    92b74375a1bb sctp: add size validation when walking chunks
    4ecabee69d19 sctp: validate from_addr_param return
    5f7ca3459118 flow_offload: action should not be NULL when it is referenced
    e9d02dbbab0a bpf: Fix false positive kmemleak report in bpf_ringbuf_area_alloc()
    5f2d7f0241e2 sched/fair: Ensure _sum and _avg values stay consistent
    377c584c325e Bluetooth: btusb: fix bt fiwmare downloading failure issue for qca btsoc.
    387d99b463af Bluetooth: btusb: use default nvm if boardID is 0 for wcn6855.
    8e4a714f4510 Bluetooth: mgmt: Fix the command returns garbage parameter value
    15407b14e27b Bluetooth: btusb: Add support USB ALT 3 for WBS
    69ccde876ca5 Bluetooth: L2CAP: Fix invalid access on ECRED Connection response
    840907eecac0 Bluetooth: L2CAP: Fix invalid access if ECRED Reconfigure fails
    efffb7884033 Bluetooth: btusb: Add a new QCA_ROME device (0cf3:e500)
    c19a2820df32 Bluetooth: Shutdown controller after workqueues are flushed or cancelled
    286bba24e6ce Bluetooth: Fix alt settings for incoming SCO with transparent coding format
    cbb2f564faa4 Bluetooth: Fix the HCI to MGMT status conversion table
    5c73a8008035 Bluetooth: cmtp: fix file refcount when cmtp_attach_device fails
    dc239f449b03 Bluetooth: btusb: Fixed too many in-token issue for Mediatek Chip.
    07583ba2e2d8 RDMA/cma: Fix rdma_resolve_route() memory leak
    e4d57b37f034 net: ip: avoid OOM kills with large UDP sends over loopback
    602b0c1dbedc net: retrieve netns cookie via getsocketopt
    b01ad7c3b08e media, bpf: Do not copy more entries than user space requested
    e6b42db7e571 IB/isert: Align target max I/O size to initiator size
    b3d56dd75032 mac80211: Properly WARN on HW scan before restart
    e32446de59d2 mac80211_hwsim: add concurrent channels scanning support over virtio
    6f9ae4a024c5 mac80211: consider per-CPU statistics if present
    5924678a442d cfg80211: fix default HE tx bitrate mask in 2G band
    e1d88925c3b9 wireless: wext-spy: Fix out-of-bounds warning
    649adc384fb3 sfc: error code if SRIOV cannot be disabled
    65c8d58a1f7a sfc: avoid double pci_remove of VFs
    81772d2c7d04 rtw88: add quirks to disable pci capabilities
    2002b7ae2f00 rtw88: 8822c: update RF parameter tables to v62
    5a7db3036585 iwlwifi: pcie: fix context info freeing
    5b2b879f69b4 iwlwifi: pcie: free IML DMA memory allocation
    44164d5528fb iwlwifi: mvm: fix error print when session protection ends
    111fa98f60d2 iwlwifi: mvm: apply RX diversity per PHY context
    89b944c896f9 iwlwifi: mvm: don't change band on bound PHY contexts
    af1036530646 RDMA/rxe: Don't overwrite errno from ib_umem_get()
    6e34e09aa418 drm/amd/display: Fix edp_bootup_bl_level initialization issue
    f033a30e32ce vsock: notify server to shutdown when client has pending signal
    ac05406330eb atm: nicstar: register the interrupt handler in the right place
    3c0b0b2533f9 atm: nicstar: use 'dma_free_coherent' instead of 'kfree'
    5ad7f389f93b net: fec: add ndo_select_queue to fix TX bandwidth fluctuations
    df628a202755 net: fec: add FEC_QUIRK_HAS_MULTI_QUEUES represents i.MX6SX ENET IP
    b223fca477ad MIPS: add PMD table accounting into MIPS'pmd_alloc_one
    59dc71f577ea rtl8xxxu: Fix device info for RTL8192EU devices
    97e50ed9eae5 mt76: fix iv and CCMP header insertion
    65c015b50515 mt76: mt7915: fix IEEE80211_HE_PHY_CAP7_MAX_NC for station mode
    9b6248b3e649 mt76: connac: fix the maximum interval schedule scan can support
    bbe1d0ada80e mt76: connac: fix UC entry is being overwritten
    57602135190b mt76: mt7921: enable hw offloading for wep keys
    869417fa825c mt76: mt7921: reset wfsys during hw probe
    6620a41fe435 mt76: mt7921: fix reset under the deep sleep is enabled
    7922a844969d mt76: mt7915: fix tssi indication field of DBDC NICs
    38b73fe18c6b drm/amdkfd: Walk through list with dqm lock hold
    af15052971e1 drm/amdgpu: fix bad address translation for sienna_cichlid
    a8eca6968b1e io_uring: fix false WARN_ONCE
    9e134247013e net: sched: fix error return code in tcf_del_walker()
    06648197e4ae net: ipa: Add missing of_node_put() in ipa_firmware_load()
    0147b9c4ebf6 net: fix mistake path for netdev_features_strings
    4d23e6082729 mt76: dma: use ieee80211_tx_status_ext to free packets when tx fails
    2a64f3732310 mt76: mt7615: fix fixed-rate tx status reporting
    b2b69554431f ice: mark PTYPE 2 as reserved
    008ec090f0d1 ice: fix incorrect payload indicator on PTYPE
    eb7b40d9d378 ext4: fix memory leak in ext4_fill_super
    4d39b8f57b7d bpf: Fix up register-based shifts in interpreter to silence KUBSAN
    2cb85397c30f net: hsr: don't check sequence number if tag removal is offloaded
    3382ec34a4d5 drm/amdkfd: Fix circular lock in nocpsch path
    161c4c2a19f4 drm/amdkfd: fix circular locking on get_wave_state
    118e6aea7ae7 cw1200: add missing MODULE_DEVICE_TABLE
    40af3960a153 wl1251: Fix possible buffer overflow in wl1251_cmd_scan
    36409fe65122 net: phy: nxp-c45-tja11xx: enable MDIO write access to the master/slave registers
    84bb21d9886c wlcore/wl12xx: Fix wl12xx get_mac error if device is in ELP
    ce6dc850612a dm writecache: commit just one block, not a full page
    7cc35bd4355b xfrm: Fix error reporting in xfrm_state_construct.
    62adf2af9f09 ibmvnic: fix kernel build warnings in build_hdr_descs_arr
    20102b0f6784 drm/amd/display: Verify Gamma & Degamma LUT sizes in amdgpu_dm_atomic_check
    66fc2862a252 r8169: avoid link-up interrupt issue on RTL8106e if user enables ASPM
    4b58c2891d09 selinux: use __GFP_NOWARN with GFP_NOWAIT in the AVC
    dd18ad96a9ea net: mido: mdio-mux-bcm-iproc: Use devm_platform_get_and_ioremap_resource()
    7ca7d4404b95 fjes: check return value after calling platform_get_resource()
    61e364fafec1 drm/amdkfd: use allowed domain for vmbo validation
    3b5c55df5067 net: sgi: ioc3-eth: check return value after calling platform_get_resource()
    42b8412dc123 selftests: Clean forgotten resources as part of cleanup()
    32438665ba66 net: phy: realtek: add delay to fix RXC generation issue
    3df8a157824b drm/amd/display: Fix crash during MPO + ODM combine mode recalculation
    caef3b95ce82 drm/amd/display: Fix off-by-one error in DML
    6f88bc77bbc7 drm/amd/display: Set DISPCLK_MAX_ERRDET_CYCLES to 7
    db1ca5441e33 drm/amd/display: Release MST resources on switch from MST to SST
    71e0e437e97b drm/amd/display: Update scaling settings on modeset
    dc9e10ea5bdd drm/amd/display: Revert "Fix clock table filling logic"
    ef485944e718 drm/amd/display: Fix DCN 3.01 DSCCLK validation
    18aa10751227 net: moxa: Use devm_platform_get_and_ioremap_resource()
    c01540159ead net: micrel: check return value after calling platform_get_resource()
    373db5a9c8c4 net: mvpp2: check return value after calling platform_get_resource()
    cd9575caf7bd net: bcmgenet: check return value after calling platform_get_resource()
    43630cbcd7de net: mscc: ocelot: check return value after calling platform_get_resource()
    e8f03933f5a7 virtio_net: Remove BUG() to avoid machine dead
    47cafc568c31 ice: fix clang warning regarding deadcode.DeadStores
    63efeeb1274d ice: set the value of global config lock timeout longer
    22f5c64be9c7 pinctrl: mcp23s08: fix race condition in irq handler
    88e1357e4d05 net: bridge: mrp: Update ring transitions.
    03de5ab1dc40 block: introduce BIO_ZONE_WRITE_LOCKED bio flag
    4068cb7e1113 dm: Fix dm_accept_partial_bio() relative to zone management commands
    0a8a10887b65 dm writecache: don't split bios when overwriting contiguous cache content
    3c8afdbb62ee dm space maps: don't reset space map allocation cursor when committing
    c5cc91094e6a RDMA/cxgb4: Fix missing error code in create_qp()
    957d6d796e73 icmp: fix lib conflict with trinity
    e0b8274cda12 net: tcp better handling of reordering then loss cases
    b01c274e3a3a clk: tegra: tegra124-emc: Fix clock imbalance in emc_set_timing()
    3da33bf6aaff drm/amdgpu: remove unsafe optimization to drop preamble ib
    3b2b93a485fb drm/amd/display: Avoid HDCP over-read and corruption
    060a3b127d9e drm/amdgpu: fix sdma firmware version error in sriov
    3e7b75192e15 drm/amdgpu: fix metadata_size for ubo ioctl queries
    7c77db5a26db MIPS: ingenic: Select CPU_SUPPORTS_CPUFREQ && MIPS_EXTERNAL_TIMER
    181bc6b98b10 MIPS: cpu-probe: Fix FPU detection on Ingenic JZ4760(B)
    8853d2ce4e9e ipv6: use prandom_u32() for ID generation
    ba710baa1cc1 virtio-net: Add validation for used length
    8d7221a98741 drm: bridge: cdns-mhdp8546: Fix PM reference leak in
    4dbd10b868b6 clk: tegra: Ensure that PLLU configuration is applied properly
    91789532c24c clk: tegra: Fix refcounting of gate clocks
    9bce65a588d9 drm/tegra: hub: Fix YUV support
    86e0ca4c6aee RDMA/rtrs: Change MAX_SESS_QUEUE_DEPTH
    f2aad1098936 net: stmmac: the XPCS obscures a potential "PHY not found" error
    7366ccbd327c drm: rockchip: add missing registers for RK3066
    20f88209526e drm: rockchip: add missing registers for RK3188
    c77ad9cbf0c7 net/mlx5: Fix lag port remapping logic
    f39de3cc0ff7 net/mlx5e: IPsec/rep_tc: Fix rep_tc_update_skb drops IPsec packet
    ba2d94789a1f drm/amdgpu/swsmu/aldebaran: fix check in is_dpm_running
    93ed1b0210ea drm/amd/display: fix odm scaling
    669f0f6f83d5 clk: renesas: r8a77995: Add ZA2 clock
    383114477250 drm/bridge: cdns: Fix PM reference leak in cdns_dsi_transfer()
    4432f3694ee5 igb: fix assignment on big endian machines
    003d37fa8c70 igb: handle vlan types with checker enabled
    dd658e324c34 e100: handle eeprom as little endian
    38d70d239c7c drm/vc4: hdmi: Fix PM reference leak in vc4_hdmi_encoder_pre_crtc_co()
    62f616078e9f drm/vc4: Fix clock source for VEC PixelValve on BCM2711
    6d0f4887e742 drm/amd/pm: fix return value in aldebaran_set_mp1_state()
    8722275b41d5 net: xilinx_emaclite: Do not print real IOMEM pointer
    5150877e4d99 udf: Fix NULL pointer dereference in udf_symlink function
    50d7e03ad487 drm/sched: Avoid data corruptions
    baf802cd27cd drm/scheduler: Fix hang when sched_entity released
    cef0b8eab231 pinctrl: equilibrium: Add missing MODULE_DEVICE_TABLE
    248fc2633293 net: ethernet: ixp4xx: Fix return value check in ixp4xx_eth_probe()
    7b777772879c net/sched: cls_api: increase max_reclassify_loop
    0f20ce74aff8 net: mdio: provide shim implementation of devm_of_mdiobus_register
    5cb3b25c7f53 drm/virtio: Fix double free on probe failure
    5ac1c5fcffd0 reiserfs: add check for invalid 1st journal block
    b8f63c943700 drm/bridge: lt9611: Add missing MODULE_DEVICE_TABLE
    3828625dd18d net: mdio: ipq8064: add regmap config to disable REGCACHE
    8f5cc4dc1e2a drm/panfrost: devfreq: Disable devfreq when num_supplies > 1
    e049b85f7dcc drm/mediatek: Fix PM reference leak in mtk_crtc_ddp_hw_init()
    609ee98affb0 net: Treat __napi_schedule_irqoff() as __napi_schedule() on PREEMPT_RT
    5b991df88810 atm: nicstar: Fix possible use-after-free in nicstar_cleanup()
    ed7c3739d0a0 mISDN: fix possible use-after-free in HFC_cleanup()
    d1fb12412874 atm: iphase: fix possible use-after-free in ia_module_exit()
    72bdf3c6b059 hugetlb: clear huge pte during flush function on mips platform
    d2958a2e6d92 MIPS: Loongson64: Fix build error 'secondary_kexec_args' undeclared under !SMP
    6102f34e4622 clk: renesas: rcar-usb2-clock-sel: Fix error handling in .probe()
    5ec05aa8160b drm/amd/display: fix use_max_lb flag for 420 pixel formats
    57092f4f803b drm/amd/display: Fix clock table filling logic
    3eb50ab2c5ac drm/amdgpu: change the default timeout for kernel compute queues
    c9c00298cf07 net: pch_gbe: Use proper accessors to BE data in pch_ptp_match()
    ae1864f13cce drm/imx: Add 8 pixel alignment fix
    925a6b206bde drm/bridge: nwl-dsi: Force a full modeset when crtc_state->active is changed to be true
    0cf0cb019cd5 drm/vc4: fix argument ordering in vc4_crtc_get_margins()
    e684e0ee1153 drm/amd/amdgpu/sriov disable all ip hw status by default
    eeb44b638475 drm/amd/display: Fix BSOD with NULL check
    3728601cd68e drm/amd/display: Revert wait vblank on update dpp clock
    73893fe52178 drm/amd/display: fix HDCP reset sequence on reinitialize
    fc2e7aeedba2 drm/ast: Fixed CVE for DP501
    d5d89dd11f6f drm/zte: Don't select DRM_KMS_FB_HELPER
    992b191b179c drm/mxsfb: Don't select DRM_KMS_FB_HELPER

(From OE-Core rev: cbd17e7a9641d628f4222b3af320d808d7037eea)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-20 08:51:07 +01:00
Richard Purdie
8a1c70aab5 README.OE-Core/README.qemu: Move to markdown format
The READMEs are often viewed from websites so switch to markdown format which is
much as readable as text and much better from html in broswers.

(From OE-Core rev: a9f366a883e4a5dcc364ca2841615c5acc494439)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-20 08:51:06 +01:00
Ross Burton
c1107049a0 parted: add device mappper PACKAGECONFIG
Instead of forcibly disabling the device mapper support, add a disabled
PACKAGECONFIG.

(From OE-Core rev: d3ec50f754184081ec768d654da74ec8cac22c5f)

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>
2021-07-20 08:51:06 +01:00
Ross Burton
3714bfb060 avahi: fix CVE-2021-36217, crash on pinging '.local'
(From OE-Core rev: 638beadad098e9ee4e743be8f59f5a7f11373aff)

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>
2021-07-20 08:51:06 +01:00
wangmy
74cf2d7570 btrfs-tools: upgrade 5.12.1 -> 5.13
Add patch to fix bug for undeclared macro on musl.

    btrfs-progs-5.13 (2021-07-13)
    * restore: remove loop checks for extent count and directory scan
    * inspect dump-tree: new options to print node (--csum-headers) and data
      checksums (--csum-items)
    * fi usage:
      * print stripe count for striped profiles
      * print zoned information: size, total unusable
    * mkfs: print note about sha256 accelerated module loading issue
    * check: ability to reset dev_item::bytes_used
    * fixes
      * detect zoned kernel support at run time too
      * exclusive op running check return value
    * fi resize: support cancel (kernel 5.14)
    * device remove: support cancel (kernel 5.14)
    * documentation about general topics
      * compression
      * zoned mode
      * storage model
      * hardware considerations
    * other
      * libbtrfsutil API overview
      * help text fixes and updates
      * hash speedtest measure time, cycles using perf and print throughput

(From OE-Core rev: fd8989db25c674ca65389a2d41bf5b447e8794be)

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>
2021-07-20 08:51:06 +01:00
Richard Purdie
81f068c8ba Add README link to README.poky
(From meta-yocto rev: 0575fa17ecf4d4723a2683c18f6fde921914ae0c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-19 18:07:21 +01:00
Ross Burton
bbf3b31855 parted: skip tests that need vfat support
At the time of writing the qemu kernels don't support vfat filesystems.
There are patches on the list to add that, but as two tests fail without
vfat support, make them skip if vfat isn't available.

[ YOCTO #14470 ]

(From OE-Core rev: 17ecb3552cb7d7e7f82cc8b2e1b83f276525cbda)

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>
2021-07-19 13:55:36 +01:00
Ross Burton
494e73fbc9 cups: update to 2.3.3op2
Apple are no longer maintaining CUPS, and future development is now
happening under the OpenPrinting project:

https://ftp.pwg.org/pub/pwg/liaison/openprinting/presentations/cups-plenary-may-2021.pdf

Also stop disabling the manpage installation as manpages are useful, and
remove some patch chunks that are not required.

The CVE-2020-10001 patch is dropped as this is incorporated into 2.3.3op2.

(From OE-Core rev: 53bd9a96a003a7103b8475f9c1ad7ef999e34f87)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-19 13:34:26 +01:00
Adam Romanek
28d3fe177c own-mirrors: Add support for s3:// scheme in SOURCE_MIRROR_URL
(From OE-Core rev: 5185ddb19cae2afb948d0ce83ec1ee356c81965e)

Signed-off-by: Adam Romanek <romanek.adam@gmail.com>
Signed-off-by: Damian Wrobel <dwrobel@ertelnet.rybnik.pl>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-19 13:34:26 +01:00
Andreas Müller
b199c9d747 mesa: upgrade 21.1.4 -> 21.1.5
Bug fixes
  * [build error] macros.h:88:26: error: size of unnamed array is negative
  * Game Issue: Nuclear Throne crashes in RadeonSI
  * Crash in glLinkProgram while trying to craft the link error
  * Shader compilation memory leaks
  * Wolfenstein II: The New Colossus - Screen goes black in some cases
  * SpaceEngine in Steam Proton cannot start with Mesa >=20.3
  * [bisected] KDE plasma menu text renders like stretched strangely [amdgpu]
  * Luna Sky Crashes on Launch
  * Mesa crashes on undefined texture behaviour
  * Mesa crashes on undefined texture behaviour
  * cache_test uses uninitialized stack memory

Changes
  * nir: Fix constant folding for irhadd/urhadd
  * ac/surface: Handle non-retiled displayable DCC correctly for modifiers.
  * ir3: Fix infinite loop in scheduler when splitting
  * glsl: Prohibit implicit conversion of mem parameter in atomicOP functions
  * draw: fix tessellation output vertex size calculation
  * .pick_status.json: Update to e4f762ac346f31fc1fd201aecdc375348be5075f
  * zink: mark a bunch of zink-piglit-quick_gl tests as flakes
  * .pick_status.json: Update to c704bb630d21e0a30500e9d8f42493ede3cc55ae
  * .pick_status.json: Mark e5d158881b3e12270521d7081b4bba0ac2108d2e as denominated
  * softpipe: add missing sentinel to debug option array
  * iris: Don’t leak the surface if uncompressed re-interp fails
  * intel/perf: use the right popcount for 64bits
  * ac/surface/tests: fix the ARM build
  * radeonsi,radv: fix a late alloc deadlock with <= 6 CUs per SA
  * Convert most remaining free-form fall-through comments to FALLTHROUGH
  * osmesa: Replace default case FALLTHROUGH annotation by following return
  * Fix up leftover “state_trackers” references to “frontends”
  * radeonsi: fix fb_too_small condition
  * radeonsi/gfx7: always sync pfp/me
  * ac/surface: don’t print stencil info if tex has no stencil
  * radeonsi/driconf: add workaround for SpaceEngine
  * st/mesa: fix size miss match for some check
  * freedreno: Consolidate needs_flush and clearing last_fence
  * freedreno/a6xx: Fix framebuffer_barrier crash
  * radv: disable DCC for DOOM 2016 and Wolfenstein II
  * aco: fix shared_atomic_comp_swap if the second source isn’t a VGPR
  * nir: return progress from nir_lower_packing
  * nir/ifind_msb_rev: fix input check
  * broadcom/compiler: fix add vs. mul
  * util/tests: initialise key in cache_test
  * mesa: don’t crash on incorrect texture use
  * i965: don’t crash on incorrect texture use
  * util/driconf: add new ignore_write_to_readonly_var workaround
  * util: add some workarounds for the game Luna Sky
  * glsl: force_glsl_version to shaders with no defined version
  * util/radeonsi: add radeonsi workaround for Nuclear Throne
  * st/xa: Mark default xa_get_pipe_format case unreachable.
  * intel: fix leaking memor
  * y on shader creation

(From OE-Core rev: ff0612d0030e4af5233b846e218334cea9cabf17)

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-19 13:34:26 +01:00
Tim Orling
68605c6170 python3-hypothesis: upgrade 6.14.1 -> 6.14.3
6.14.3 - 2021-07-18
This patch updates our autoformatting tools, improving our code style
without any API changes.

6.14.2 - 2021-07-12
This patch ensures that we shorten tracebacks for tests which fail due
to inconsistent data generation between runs (i.e. raise Flaky).

(From OE-Core rev: 984cf4447a409c3ea8c02aca47ff63dfa6d33624)

Signed-off-by: Tim Orling <timothy.t.orling@intel.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-19 13:34:26 +01:00
Ross Burton
8c429e4109 meta: remove redundant ${libdir}/cmake from FILES_${PN}-dev
Since oe-core 543e39ad "bitbake.conf: handle cmake -dev files packaging
with default rules" (June 2018) there's no need for recipes to add
${libdir}/cmake or ${datadir}/cmake to FILES_${PN}-dev themselves.

(From OE-Core rev: e6f62b8e639a79626d95568c070a410c24bce25e)

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>
2021-07-19 13:34:26 +01:00
Ross Burton
d9473a0601 busybox: support mounting swap via labels
Enable support for swap partitions in the mount-via-label fragment.

(From OE-Core rev: c996cabf88c4f432fcd93ea60e109c63d77e4b60)

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>
2021-07-19 13:34:26 +01:00
Ross Burton
cd6876a396 parted: fix ptest RRECOMMENDS
The recipe was using =, which replaces the default RRECOMMENDS from
ptest.bbclass.

(From OE-Core rev: cebcb4ae46b0860179edfe480e8e4d924f931436)

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>
2021-07-18 23:09:52 +01:00
Ross Burton
4874895ab5 parted: remove obsolete patch
We've had recipe-specific sysroots for a long time now, so there's no
need to forcible disable floating checks.

(From OE-Core rev: 517ac15fd7335f3d4179e427bd2a289a988eaafc)

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>
2021-07-18 23:09:51 +01:00
Yi Zhao
dadfef3950 libffi: disable use of static exec trampolines
We encountered a blueman-applet segfault with libffi 3.4.2:
$ blueman-applet
blueman-applet 01.58.45 WARNING  PluginManager:148 __load_plugin: Not loading DhcpClient because its conflict has higher priority
blueman-applet 01.58.45 WARNING  TransferService:189 _make_share_path: Failed to get Download dir from XDG
blueman-applet 01.58.45 WARNING  PluginManager:148 __load_plugin: Not loading PPPSupport because its conflict has higher priority
Segmentation fault

This is because the static exec trampolines is enabled by default in
libffi 3.4.2. However it doesn't work with gobject-introspection[1].

[1] 132699b95d

(From OE-Core rev: 2173003df3beedf49aa0ce30d79a1158179fa3e4)

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-18 23:09:51 +01:00
Khem Raj
1a135f58e3 gpgme: Use glibc provided closefrom API when available
glibc 2.34+ has added this API new

(From OE-Core rev: a2b2479d20d029f5a11dba8cf7f7ca3e4a5bbbe2)

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>
2021-07-18 23:09:51 +01:00
Bruce Ashfield
58202aa709 linux-yocto/5.4: update to v5.4.132
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:

    7c76bd6c36ed Linux 5.4.132
    792d47ca5228 iommu/dma: Fix compile warning in 32-bit builds
    a7f4f0c4e79a scsi: core: Retry I/O for Notify (Enable Spinup) Required error
    4aaace2dc1ad mmc: vub3000: fix control-request direction
    5712b828b8d9 mmc: block: Disable CMDQ on the ioctl path
    90d29149e32c block: return the correct bvec when checking for gaps
    1bfb3a070b58 scsi: target: cxgbit: Unmap DMA buffer before calling target_execute_cmd()
    00d38f7031d4 perf llvm: Return -ENOMEM when asprintf() fails
    b00da826cab4 selftests/vm/pkeys: fix alloc_random_pkey() to make it really, really random
    49496327c290 mm/z3fold: fix potential memory leak in z3fold_destroy_pool()
    4b515fa94894 mm/huge_memory.c: don't discard hugepage if other processes are mapping it
    01be55fb26ce vfio/pci: Handle concurrent vma faults
    9db3800eeadd arm64: dts: marvell: armada-37xx: Fix reg for standard variant of UART
    b857ff866c76 serial: mvebu-uart: correctly calculate minimal possible baudrate
    7900c98108b0 serial: mvebu-uart: do not allow changing baudrate when uartclk is not available
    44d36a79dcff powerpc: Offline CPU in stop_this_cpu()
    3189d9749317 leds: ktd2692: Fix an error handling path
    95288e28c7ca leds: as3645a: Fix error return code in as3645a_parse_node()
    f0acb12b9866 configfs: fix memleak in configfs_release_bin_file
    2993c1f9d7b9 ASoC: atmel-i2s: Fix usage of capture and playback at the same time
    0e0ee2cee65c extcon: max8997: Add missing modalias string
    4efa7f728bab extcon: sm5502: Drop invalid register write in sm5502_reg_data
    b1c88a56ef6e phy: ti: dm816x: Fix the error handling path in 'dm816x_usb_phy_probe()
    8bc305d146b9 phy: uniphier-pcie: Fix updating phy parameters
    142ab7ff42b6 soundwire: stream: Fix test for DP prepare complete
    5ec1c609d26e scsi: mpt3sas: Fix error return value in _scsih_expander_add()
    35a4e0aee8f3 mtd: rawnand: marvell: add missing clk_disable_unprepare() on error in marvell_nfc_resume()
    b1d1cafd6001 of: Fix truncation of memory sizes on 32-bit platforms
    be192ab7b47a ASoC: cs42l42: Correct definition of CS42L42_ADC_PDN_MASK
    fe9452c9d7ad iio: prox: isl29501: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
    da8ef748fec2 iio: light: vcnl4035: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
    84c045475ef3 serial: 8250: Actually allow UPF_MAGIC_MULTIPLIER baud rates
    eea7304dc2e9 staging: mt7621-dts: fix pci address for PCI memory range
    ce2588dc7fea staging: rtl8712: fix memory leak in rtl871x_load_fw_cb
    92538bf2eea8 staging: rtl8712: remove redundant check in r871xu_drv_init
    9f0800bd93ea staging: gdm724x: check for overflow in gdm_lte_netif_rx()
    4500b944d7f8 staging: gdm724x: check for buffer overflow in gdm_lte_multi_sdu_pkt()
    f848baa0a5b3 iio: magn: rm3100: Fix alignment of buffer in iio_push_to_buffers_with_timestamp()
    26aa12ef64ee iio: adc: ti-ads8688: Fix alignment of buffer in iio_push_to_buffers_with_timestamp()
    9275b1eaf04e iio: adc: mxs-lradc: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
    a79c9b382b7a iio: adc: hx711: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
    73e804beb759 iio: adc: at91-sama5d2: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
    02d3b52f6739 iio: at91-sama5d2_adc: remove usage of iio_priv_to_dev() helper
    ac7943a7f4ad eeprom: idt_89hpesx: Restore printing the unsupported fwnode name
    9fc3fbc3af67 eeprom: idt_89hpesx: Put fwnode in matching case during ->probe()
    d7e33cc4789b usb: dwc2: Don't reset the core after setting turnaround time
    a95bbfe69031 usb: gadget: f_fs: Fix setting of device and driver data cross-references
    7ba04367b340 ASoC: mediatek: mtk-btcvsd: Fix an error handling path in 'mtk_btcvsd_snd_probe()'
    6fee286da898 iommu/dma: Fix IOVA reserve dma ranges
    1e38d79d0bfc s390: appldata depends on PROC_SYSCTL
    b6e2d45e3fea visorbus: fix error return code in visorchipset_init()
    540c40c6bb4a fsi/sbefifo: Fix reset timeout
    aa4577259bfb fsi/sbefifo: Clean up correct FIFO when receiving reset request from SBE
    d903eee764a4 fsi: occ: Don't accept response from un-initialized OCC
    96c914057aaa fsi: scom: Reset the FSI2PIB engine for any error
    19c8f5307a2e fsi: core: Fix return of error values on failures
    aeed300a2e27 scsi: FlashPoint: Rename si_flags field
    fde1e59110f1 leds: lm3692x: Put fwnode in any case during ->probe()
    08ffeb67e42b leds: lm36274: cosmetic: rename lm36274_data to chip
    a42c6c448c9e leds: lm3532: select regmap I2C API
    329e02d6f22d tty: nozomi: Fix the error handling path of 'nozomi_card_init()'
    7f0b77542e57 firmware: stratix10-svc: Fix a resource leak in an error handling path
    a536c30966c1 char: pcmcia: error out if 'num_bytes_read' is greater than 4 in set_protocol()
    6490ed7c4684 mtd: partitions: redboot: seek fis-index-block in the right node
    56c6c7f8ab9b Input: hil_kbd - fix error return code in hil_dev_connect()
    ccba28358397 ASoC: rsnd: tidyup loop on rsnd_adg_clk_query()
    77c61b1b2989 backlight: lm3630a_bl: Put fwnode in error case during ->probe()
    57fd7d8ac921 ASoC: hisilicon: fix missing clk_disable_unprepare() on error in hi6210_i2s_startup()
    1dc77b6ca0c5 ASoC: rk3328: fix missing clk_disable_unprepare() on error in rk3328_platform_probe()
    d89dda5f5652 iio: potentiostat: lmp91000: Fix alignment of buffer in iio_push_to_buffers_with_timestamp()
    994a076be336 iio: cros_ec_sensors: Fix alignment of buffer in iio_push_to_buffers_with_timestamp()
    2ab4cf6cc0e8 iio: light: tcs3472: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
    d746f8664ce5 iio: light: tcs3414: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
    f35afa38c5ac iio: light: isl29125: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
    8fdbcbda4dfb iio: magn: bmc150: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
    68c8b28305ae iio: magn: hmc5843: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
    9fc6ef022b47 iio: prox: as3935: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
    da4dfaed9be8 iio: prox: pulsed-light: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
    b40dab164dc3 iio: prox: srf08: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
    1c06080fe28b iio: humidity: am2315: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
    4538e6589cfb iio: gyro: bmg160: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
    acf45f54d192 iio: adc: vf610: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
    9fad330311e4 iio: adc: ti-ads1015: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
    8bfa7ffc49ce iio: accel: stk8ba50: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
    121283ad49f4 iio: accel: stk8312: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
    467502dd7dfc iio: accel: mxc4005: Fix overread of data and alignment issue.
    57a7deaff13d iio:accel:mxc4005: Drop unnecessary explicit casts in regmap_bulk_read calls
    3a49b5639437 iio: accel: kxcjk-1013: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
    9f23d0df409a iio: accel: hid: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
    a539e2acccfd iio: accel: bma220: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
    39fec8d9ab96 iio: accel: bma180: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
    2e088ed6fac1 iio: adis16400: do not return ints in irq handlers
    8271a443e5e4 iio: adis_buffer: do not return ints in irq handlers
    d3a7e5384b3a mwifiex: re-fix for unaligned accesses
    3a4043f597d0 tty: nozomi: Fix a resource leak in an error handling function
    61f6c18fff3c rcu: Invoke rcu_spawn_core_kthreads() from rcu_spawn_gp_kthread()
    fbe80b3ee91f staging: fbtft: Rectify GPIO handling
    e0aef648f5bd MIPS: Fix PKMAP with 32-bit MIPS huge page support
    97704efb93b5 RDMA/mlx5: Don't access NULL-cleared mpi pointer
    eff9dabc0068 net: sched: fix warning in tcindex_alloc_perfect_hash
    92071a2b8f7f net: lwtunnel: handle MTU calculation in forwading
    5c93fc46682c writeback: fix obtain a reference to a freeing memcg css
    71721ddf4aee clk: si5341: Update initialization magic
    f894ba756e86 clk: si5341: Avoid divide errors due to bogus register contents
    80bd119c7d27 clk: actions: Fix bisp_factor_table based clocks on Owl S500 SoC
    a7aefa1a173d clk: actions: Fix SD clocks factor table on Owl S500 SoC
    1fbd19a9e23f clk: actions: Fix UART clock dividers on Owl S500 SoC
    305e64cbf855 Bluetooth: Fix handling of HCI_LE_Advertising_Set_Terminated event
    4ad77cea016c Bluetooth: mgmt: Fix slab-out-of-bounds in tlv_data_is_valid
    2954b193ebb0 Revert "be2net: disable bh with spin_lock in be_process_mcc"
    f6b723ce27ff gve: Fix swapped vars when fetching max queues
    0e8c17fd80f2 bpfilter: Specify the log level for the kmsg message
    482e12bdc5d7 e1000e: Check the PCIm state
    48fa8744989f ipv6: fix out-of-bound access in ip6_parse_tlv()
    3380206e5dc0 ibmvnic: free tx_pool if tso_pool alloc fails
    867a99001718 Revert "ibmvnic: remove duplicate napi_schedule call in open function"
    bbc833fd7dae i40e: Fix autoneg disabling for non-10GBaseT links
    a3465b94ac5f i40e: Fix error handling in i40e_vsi_open
    5e98c708a471 bpf: Do not change gso_size during bpf_skb_change_proto()
    bc54d98bd21d ipv6: exthdrs: do not blindly use init_net
    28db4b5b69f3 net: bcmgenet: Fix attaching to PYH failed on RPi 4B
    946bd84826b8 mac80211: remove iwlwifi specific workaround NDPs of null_response
    cb72c23aa544 ieee802154: hwsim: avoid possible crash in hwsim_del_edge_nl()
    048513280e41 ieee802154: hwsim: Fix memory leak in hwsim_add_one
    9692257004d4 tc-testing: fix list handling
    117e1495a636 net/ipv4: swap flow ports when validating source
    74e76cd6320c vxlan: add missing rcu_read_lock() in neigh_reduce()
    b5bd5b7b7f18 pkt_sched: sch_qfq: fix qfq_change_class() error path
    33f897fe3429 tls: prevent oversized sendfile() hangs by ignoring MSG_MORE
    6fea1a58c914 net: sched: add barrier to ensure correct ordering for lockless qdisc
    e245ea3b5240 vrf: do not push non-ND strict packets with a source LLA through packet taps again
    f264d0873d8d net: ethernet: ezchip: fix error handling
    a10e00299b80 net: ethernet: ezchip: fix UAF in nps_enet_remove
    b7f456df8594 net: ethernet: aeroflex: fix UAF in greth_of_remove
    e21b9e8436ef samples/bpf: Fix the error return code of xdp_redirect's main()
    66e9a01e4c7c RDMA/rxe: Fix qp reference counting for atomic ops
    da4ad14f87f0 netfilter: nft_tproxy: restrict support to TCP and UDP transport protocols
    a3f1e8e316bf netfilter: nft_osf: check for TCP packet before further processing
    4759c55ff1d5 netfilter: nft_exthdr: check for IPv6 packet before further processing
    e4db789e937e RDMA/mlx5: Don't add slave port to unaffiliated list
    9b1e991266c4 netlabel: Fix memory leak in netlbl_mgmt_add_common
    9b81edead824 ath10k: Fix an error code in ath10k_add_interface()
    2a8b20d74106 brcmsmac: mac80211_if: Fix a resource leak in an error handling path
    771a8b6da36f brcmfmac: correctly report average RSSI in station info
    4940e54549a5 brcmfmac: fix setting of station info chains bitmask
    18b3b70dd11d ssb: Fix error return code in ssb_bus_scan()
    55ec3e5809e5 wcn36xx: Move hal_buf allocation to devm_kmalloc in probe
    723204726a6a ieee802154: hwsim: Fix possible memory leak in hwsim_subscribe_all_others
    3986553411f8 wireless: carl9170: fix LEDS build errors & warnings
    b6d2cf68f9b1 ath10k: add missing error return code in ath10k_pci_probe()
    941ce3bd7fb0 ath10k: go to path err_unsupported when chip id is not supported
    5f543705309f tools/bpftool: Fix error return code in do_batch()
    fe5cca105794 drm: qxl: ensure surf.data is ininitialized
    d9721095a5ce RDMA/rxe: Fix failure during driver load
    2adbd7559dfb RDMA/core: Sanitize WQ state received from the userspace
    9cc3eb8abe23 net/sched: act_vlan: Fix modify to allow 0
    0b440951273a ehea: fix error return code in ehea_restart_qps()
    e16bd3365d08 drm/rockchip: dsi: move all lane config except LCDC mux to bind()
    450c25b8a4c9 drm/rockchip: cdn-dp-core: add missing clk_disable_unprepare() on error in cdn_dp_grf_write()
    01f4245ff75f net: ftgmac100: add missing error return code in ftgmac100_probe()
    3858b47c94b9 clk: meson: g12a: fix gp0 and hifi ranges
    3da37783b027 pinctrl: renesas: r8a77990: JTAG pins do not have pull-down capabilities
    4e1cb7fedf68 pinctrl: renesas: r8a7796: Add missing bias for PRESET# pin
    b0a3770ead57 net: pch_gbe: Propagate error from devm_gpio_request_one()
    a9a33de4be2e net: mvpp2: Put fwnode in error case during ->probe()
    f9ad0b5ebacc video: fbdev: imxfb: Fix an error message
    08a7306e1198 xfrm: xfrm_state_mtu should return at least 1280 for ipv6
    a87a201989ec dax: fix ENOMEM handling in grab_mapping_entry()
    6ea84116b3fe ocfs2: fix snprintf() checking
    27d02a4d9dab cpufreq: Make cpufreq_online() call driver->offline() on errors
    3c59143b9a1e ACPI: bgrt: Fix CFI violation
    6d79e36c9ece ACPI: Use DEVICE_ATTR_<RW|RO|WO> macros
    7b33b04f85df blk-wbt: make sure throttle is enabled properly
    bcf3f42bda3a blk-wbt: introduce a new disable state to prevent false positive by rwb_enabled()
    1ad25a64c66f extcon: extcon-max8997: Fix IRQ freeing at error path
    258f5c1a5d3d ACPI: sysfs: Fix a buffer overrun problem with description_show()
    dfafa93ae3a7 crypto: nx - Fix RCU warning in nx842_OF_upd_status
    55f5d771a292 spi: spi-sun6i: Fix chipselect/clock bug
    97f32c7f3322 sched/uclamp: Fix uclamp_tg_restrict()
    a3ddf1fb37f9 sched/rt: Fix Deadline utilization tracking during policy change
    3fb53be07fc1 sched/rt: Fix RT utilization tracking during policy change
    fa3f33b20bd9 btrfs: clear log tree recovering status if starting transaction fails
    a0876d9dc1c1 regulator: hi655x: Fix pass wrong pointer to config.driver_data
    032fd28ed559 KVM: nVMX: Ensure 64-bit shift when checking VMFUNC bitmap
    a90a2466dde5 hwmon: (max31790) Fix fan speed reporting for fan7..12
    93110513bcfd hwmon: (max31722) Remove non-standard ACPI device IDs
    b585f9ef6a51 media: s5p-g2d: Fix a memory leak on ctx->fh.m2m_ctx
    3bf0509d25e0 arm64/mm: Fix ttbr0 values stored in struct thread_info for software-pan
    8e6bcc566400 arm64: consistently use reserved_pg_dir
    ccbcdcd4af98 mmc: usdhi6rol0: fix error return code in usdhi6_probe()
    c5d2f917a8f1 crypto: omap-sham - Fix PM reference leak in omap sham ops
    b205574dc682 crypto: nitrox - fix unchecked variable in nitrox_register_interrupts
    d93cbb6e5fe5 media: siano: Fix out-of-bounds warnings in smscore_load_firmware_family2()
    6e8ba90bef7c m68k: atari: Fix ATARI_KBD_CORE kconfig unmet dependency warning
    e1665624bf9d media: gspca/gl860: fix zero-length control requests
    ffc483de3ecb media: tc358743: Fix error return code in tc358743_probe_of()
    2bca3c0a95fe media: au0828: fix a NULL vs IS_ERR() check
    c04d6687e43e media: exynos4-is: Fix a use after free in isp_video_release
    6c987e7385e1 pata_ep93xx: fix deferred probing
    3eec64b5967e media: rc: i2c: Fix an error message
    6ee810a55965 crypto: ccp - Fix a resource leak in an error handling path
    4020615bd733 evm: fix writing <securityfs>/evm overflow
    550cf816bb11 pata_octeon_cf: avoid WARN_ON() in ata_host_activate()
    8454cfe40841 kbuild: Fix objtool dependency for 'OBJECT_FILES_NON_STANDARD_<obj> := n'
    dcc9f1253ddd kbuild: run the checker after the compiler
    8e5ffc103928 sched/uclamp: Fix locking around cpu_util_update_eff()
    0b199ce65bc3 sched/uclamp: Fix wrong implementation of cpu.uclamp.min
    127035b4595d media: I2C: change 'RST' to "RSET" to fix multiple build errors
    2eccf5160002 pata_rb532_cf: fix deferred probing
    3b0dfab92877 sata_highbank: fix deferred probing
    faeee7a8f684 crypto: ux500 - Fix error return code in hash_hw_final()
    a1fa855e770e crypto: ixp4xx - dma_unmap the correct address
    0c5d94f29775 media: s5p_cec: decrement usage count if disabled
    80af2c9ee1d6 writeback, cgroup: increment isw_nr_in_flight before grabbing an inode
    51fd1f683671 ia64: mca_drv: fix incorrect array size calculation
    a3aab894d971 kthread_worker: fix return value when kthread_mod_delayed_work() races with kthread_cancel_delayed_work_sync()
    05bc31902755 block: fix discard request merge
    8978dd251898 cifs: fix missing spinlock around update to ses->status
    4061697e2f17 HID: wacom: Correct base usage for capacitive ExpressKey status bits
    888469c5fa95 ACPI: tables: Add custom DSDT file as makefile prerequisite
    dba9cda5aa99 clocksource: Retry clock read if long delays detected
    0aebb12a574d PCI: hv: Add check for hyperv_initialized in init_hv_pci_drv()
    f53f229255d6 EDAC/Intel: Do not load EDAC driver when running as a guest
    26c9e398b499 nvmet-fc: do not check for invalid target port in nvmet_fc_handle_fcp_rqst()
    51af155a4327 platform/x86: toshiba_acpi: Fix missing error code in toshiba_acpi_setup_keyboard()
    506a2001b719 block: fix race between adding/removing rq qos and normal IO
    e30d2ecc13d7 ACPI: resources: Add checks for ACPI IRQ override
    2238732f1992 ACPI: bus: Call kobject_put() in acpi_init() error path
    00f3017e04d4 ACPICA: Fix memory leak caused by _CID repair function
    f8c7e8e572d9 fs: dlm: fix memory leak when fenced
    b6c469a850a4 random32: Fix implicit truncation warning in prandom_seed_state()
    0fc251751c73 fs: dlm: cancel work sync othercon
    75b97dcbe956 block_dump: remove block_dump feature in mark_inode_dirty()
    4cee846b30aa ACPI: EC: Make more Asus laptops use ECDT _GPE
    e846c2821c25 lib: vsprintf: Fix handling of number field widths in vsscanf
    865c6e210bd4 hv_utils: Fix passing zero to 'PTR_ERR' warning
    8d64fd2682ae ACPI: processor idle: Fix up C-state latency if not ordered
    e9e2683f1b9c EDAC/ti: Add missing MODULE_DEVICE_TABLE
    9b1b8323871b HID: do not use down_interruptible() when unbinding devices
    17ca23ef05ed media: Fix Media Controller API config checks
    ef5792d3995d regulator: da9052: Ensure enough delay time for .set_voltage_time_sel
    2aff3f51cd22 regulator: mt6358: Fix vdram2 .vsel_mask
    fc31fb6f36cd KVM: s390: get rid of register asm usage
    2ef6cd6e4865 lockding/lockdep: Avoid to find wrong lock dep path in check_irq_usage()
    1b45a85262bf locking/lockdep: Fix the dep path printing for backwards BFS
    3ee80fc1f530 btrfs: disable build on platforms having page size 256K
    af4b53f6d3ea btrfs: abort transaction if we fail to update the delayed inode
    504081c415e2 btrfs: fix error handling in __btrfs_update_delayed_inode
    f3d2278a81f7 KVM: PPC: Book3S HV: Fix TLB management on SMT8 POWER9 and POWER10 processors
    3fea9b708ae3 drivers/perf: fix the missed ida_simple_remove() in ddr_perf_probe()
    2e23607e65dc hwmon: (max31790) Fix pwmX_enable attributes
    d284b53193fa hwmon: (max31790) Report correct current pwm duty cycles
    4bb7eeb0a200 media: imx-csi: Skip first few frames from a BT.656 source
    54196d9e77e5 media: siano: fix device register error path
    7434625f944c media: dvb_net: avoid speculation from net slot
    80b9d3becd84 crypto: shash - avoid comparing pointers to exported functions under CFI
    31ef30f8f878 mmc: via-sdmmc: add a check against NULL pointer dereference
    b28d6d2df2b3 mmc: sdhci-sprd: use sdhci_sprd_writew
    1e3ad91cb64c memstick: rtsx_usb_ms: fix UAF
    0ec7eab55b0e media: dvd_usb: memory leak in cinergyt2_fe_attach
    1fc3ec4ac405 Makefile: fix GDB warning with CONFIG_RELR
    0a825797f791 media: st-hva: Fix potential NULL pointer dereferences
    f6f0190d651b media: bt8xx: Fix a missing check bug in bt878_probe
    3790d56daf5f media: v4l2-core: Avoid the dangling pointer in v4l2_fh_release
    a70de431f713 media: em28xx: Fix possible memory leak of em28xx struct
    432188f62697 sched/fair: Fix ascii art by relpacing tabs
    dd776d2fdf87 crypto: qat - remove unused macro in FW loader
    bcea3fc8f24d crypto: qat - check return code of qat_hal_rd_rel_reg()
    1580d72ac7fc media: imx: imx7_mipi_csis: Fix logging of only error event counters
    eae27d048ee7 media: pvrusb2: fix warning in pvr2_i2c_core_done
    bb8b5e98b5f5 media: cobalt: fix race condition in setting HPD
    162b85d3cf25 media: cpia2: fix memory leak in cpia2_usb_probe
    5c8c5edb28f3 media: sti: fix obj-$(config) targets
    84ac96486ba7 crypto: nx - add missing MODULE_DEVICE_TABLE
    f4c8a00d61fe hwrng: exynos - Fix runtime PM imbalance on error
    022cf057e443 regulator: uniphier: Add missing MODULE_DEVICE_TABLE
    d6518e028103 spi: omap-100k: Fix the length judgment problem
    afc37630a124 spi: spi-topcliff-pch: Fix potential double free in pch_spi_process_messages()
    ca5ea7847527 spi: spi-loopback-test: Fix 'tx_buf' might be 'rx_buf'
    b413d8654ed6 media: exynos-gsc: fix pm_runtime_get_sync() usage count
    8fece55aeb6d media: sti/bdisp: fix pm_runtime_get_sync() usage count
    ac69e7aea37d media: s5p-jpeg: fix pm_runtime_get_sync() usage count
    f1a8951cf1b4 media: mtk-vcodec: fix PM runtime get logic
    908b6f72a910 media: sh_vou: fix pm_runtime_get_sync() usage count
    948bcdcf7fd9 media: s5p: fix pm_runtime_get_sync() usage count
    4480cacdbc26 media: mdk-mdp: fix pm_runtime_get_sync() usage count
    ef59dbc06d6a spi: Make of_register_spi_device also set the fwnode
    a883c38f1cfa fuse: reject internal errno
    059dd690bfe0 fuse: check connected before queueing on fpq->io
    e72bec922646 fuse: ignore PG_workingset after stealing
    74e9d920f25c evm: Refuse EVM_ALLOW_METADATA_WRITES only if an HMAC key is loaded
    d7dfaf13d24e evm: Execute evm_inode_init_security() only when an HMAC key is loaded
    5c7c5c49d9b8 powerpc/stacktrace: Fix spurious "stale" traces in raise_backtrace_ipi()
    9ed57fc5a45b seq_buf: Make trace_seq_putmem_hex() support data longer than 8
    c65755f595cd tracepoint: Add tracepoint_probe_register_may_exist() for BPF tracing
    acf8494ba567 tracing/histograms: Fix parsing of "sym-offset" modifier
    6707b3d43822 rsi: fix AP mode with WPA failure due to encrypted EAPOL
    5269ac3cf0b5 rsi: Assign beacon rate settings to the correct rate_info descriptor field
    f4b4b121521d ssb: sdio: Don't overwrite const buffer if block_write fails
    96bb095f8536 ath9k: Fix kernel NULL pointer dereference during ath_reset_internal()
    e931d9a92576 serial_cs: remove wrong GLOBETROTTER.cis entry
    a3ca189a0018 serial_cs: Add Option International GSM-Ready 56K/ISDN modem
    4bd14de69785 serial: sh-sci: Stop dmaengine transfer in sci_stop_tx()
    a945c2ead2c5 serial: mvebu-uart: fix calculation of clock divisor
    202a64ad8f2c iio: ltr501: ltr501_read_ps(): add missing endianness conversion
    aafeedb0996d iio: ltr501: ltr559: fix initialization of LTR501_ALS_CONTR
    a27c940a9042 iio: ltr501: mark register holding upper 8 bits of ALS_DATA{0,1} and PS_DATA as volatile, too
    3287635367a4 iio: light: tcs3472: do not free unallocated IRQ
    60684282789e rtc: stm32: Fix unbalanced clk_disable_unprepare() on probe error path
    a470819824b7 s390/cio: dont call css_wait_for_slow_path() inside a lock
    684bddacf155 KVM: PPC: Book3S HV: Workaround high stack usage with clang
    f0d3a4b6d5f7 perf/smmuv3: Don't trample existing events with global filter
    f9c7f2687923 SUNRPC: Should wake up the privileged task firstly.
    d060386ffdbd SUNRPC: Fix the batch tasks count wraparound.
    619c14120c30 mac80211: remove iwlwifi specific workaround that broke sta NDP tx
    1ff563ec86c7 can: peak_pciefd: pucan_handle_status(): fix a potential starvation issue in TX path
    12aad0220812 can: j1939: j1939_sk_init(): set SOCK_RCU_FREE to call sk_destruct() after RCU is done
    7bb931d2c8cf can: gw: synchronize rcu operations before removing gw job entry
    70a9116b9e5c can: bcm: delay release of struct bcm_op after synchronize_rcu()
    512286ddc3e8 ext4: use ext4_grp_locked_error in mb_find_extent
    0bae1ea11981 ext4: fix avefreec in find_group_orlov
    8c06b3d02d65 ext4: remove check for zero nr_to_scan in ext4_es_scan()
    a0548187482d ext4: correct the cache_nr in tracepoint ext4_es_shrink_exit
    f01fa29e8ea0 ext4: return error code when ext4_fill_flex_info() fails
    ed628b253119 ext4: fix kernel infoleak via ext4_extent_header
    16b795a39f3e ext4: cleanup in-core orphan list if ext4_truncate() failed to get a transaction handle
    e3d3cf2e5a7c btrfs: clear defrag status of a root if starting transaction fails
    077f06b648a4 btrfs: send: fix invalid path for unlink operations after parent orphanization
    0ede9e8c5a83 ARM: dts: at91: sama5d4: fix pinctrl muxing
    efdcd77660f8 arm_pmu: Fix write counter incorrect in ARMv7 big-endian mode
    0f382fa359ca Input: joydev - prevent use of not validated data in JSIOCSBTNMAP ioctl
    63e68b563649 iov_iter_fault_in_readable() should do nothing in xarray case
    846ae1d87931 copy_page_to_iter(): fix ITER_DISCARD case
    c4868118fab9 ntfs: fix validity check for file name attribute
    87a365a4ddec xhci: solve a double free problem while doing s4
    cc7559e6dd1d usb: typec: Add the missed altmode_id_remove() in typec_register_altmode()
    d5b06a79fe89 usb: dwc3: Fix debugfs creation flow
    7941f646a6cd USB: cdc-acm: blacklist Heimann USB Appset device
    8bdef7f21cb6 usb: gadget: eem: fix echo command packet response issue
    11dfef6aba1a net: can: ems_usb: fix use-after-free in ems_usb_disconnect()
    aa6f233b949c Input: usbtouchscreen - fix control-request directions
    d808329ae137 media: dvb-usb: fix wrong definition
    3b4dd159db68 ALSA: hda/realtek: Apply LED fixup for HP Dragonfly G1, too
    23d443c5b417 ALSA: hda/realtek: Fix bass speaker DAC mapping for Asus UM431D
    15f521856e0f ALSA: hda/realtek: Improve fixup for HP Spectre x360 15-df0xxx
    3911b8ff714c ALSA: hda/realtek: Add another ALC236 variant support
    23ca8cf4cba0 ALSA: intel8x0: Fix breakage at ac97 clock measurement
    1908d78a87cf ALSA: usb-audio: scarlett2: Fix wrong resume call
    49e5b37fdd01 ALSA: usb-audio: Fix OOB access at proc output
    5ded94e8516d ALSA: usb-audio: fix rate on Ozone Z90 USB headset

(From OE-Core rev: 7fd82689d57c11ae517bc15cf0b8c59a4f374376)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-18 23:09:51 +01:00
Bruce Ashfield
1212c79946 linux-yocto/5.10: update to v5.10.50
Updating linux-yocto/5.10 to the latest korg -stable release that comprises
the following commits:

    43b0742ef44c Linux 5.10.50
    bdf4d33e8342 powerpc/preempt: Don't touch the idle task's preempt_count during hotplug
    9b07d817f799 iommu/dma: Fix compile warning in 32-bit builds
    0855952ed4f1 cred: add missing return error code when set_cred_ucounts() failed
    ce04375e2d9b s390: preempt: Fix preempt_count initialization
    e4a577d61791 crypto: qce - fix error return code in qce_skcipher_async_req_handle()
    fb0c0a04e424 scsi: core: Retry I/O for Notify (Enable Spinup) Required error
    2b541b6c7432 media: exynos4-is: remove a now unused integer
    2b58f5154a8f mmc: vub3000: fix control-request direction
    39ac3e194516 mmc: block: Disable CMDQ on the ioctl path
    a75457f63086 io_uring: fix blocking inline submission
    c98d9318dc99 block: return the correct bvec when checking for gaps
    51c19f4a6212 erofs: fix error return code in erofs_read_superblock()
    97cbddc8a2bc tpm: Replace WARN_ONCE() with dev_err_once() in tpm_tis_status()
    b5a2b5b64237 fscrypt: fix derivation of SipHash keys on big endian CPUs
    089057af71d7 fscrypt: don't ignore minor_hash when hash is 0
    b9c3b485593e mailbox: qcom-ipcc: Fix IPCC mbox channel exhaustion
    2a7c96c2e238 scsi: target: cxgbit: Unmap DMA buffer before calling target_execute_cmd()
    e2e615e6317b scsi: fc: Correct RHBA attributes length
    5c6956e66404 exfat: handle wrong stream entry size in exfat_readdir()
    b6a41435c832 csky: syscache: Fixup duplicate cache flush
    3483e1a41ca0 csky: fix syscache.c fallthrough warning
    8ff266de8906 perf llvm: Return -ENOMEM when asprintf() fails
    58fa4b36abf6 selftests/vm/pkeys: refill shadow register after implicit kernel write
    1dd18fda3eec selftests/vm/pkeys: handle negative sys_pkey_alloc() return code
    92125cb8835c selftests/vm/pkeys: fix alloc_random_pkey() to make it really, really random
    456554040e5a lib/math/rational.c: fix divide by zero
    787f4e7a7d4b mm/z3fold: use release_z3fold_page_locked() to release locked z3fold page
    0fe11b79c281 mm/z3fold: fix potential memory leak in z3fold_destroy_pool()
    555dffa4842b include/linux/huge_mm.h: remove extern keyword
    ebd6a295b580 hugetlb: remove prep_compound_huge_page cleanup
    2e16ad561143 mm/hugetlb: remove redundant check in preparing and destroying gigantic page
    0da83a815d33 mm/hugetlb: use helper huge_page_order and pages_per_huge_page
    31be4ea35c82 mm/huge_memory.c: don't discard hugepage if other processes are mapping it
    b65597377b7b mm/huge_memory.c: add missing read-only THP checking in transparent_hugepage_enabled()
    aa41f7a2a681 mm/huge_memory.c: remove dedicated macro HPAGE_CACHE_INDEX_MASK
    9b0b9edea1d3 mm/pmem: avoid inserting hugepage PTE entry with fsdax if hugepage support is disabled
    0885ea1d4759 vfio/pci: Handle concurrent vma faults
    363d85bfaec1 arm64: dts: marvell: armada-37xx: Fix reg for standard variant of UART
    347af865b6a2 serial: mvebu-uart: correctly calculate minimal possible baudrate
    9ad82f0412c0 serial: mvebu-uart: do not allow changing baudrate when uartclk is not available
    dd6d4e92e724 ALSA: firewire-lib: Fix 'amdtp_domain_start()' when no AMDTP_OUT_STREAM stream is found
    53fa3ba8085e powerpc/papr_scm: Make 'perf_stats' invisible if perf-stats unavailable
    04db493fc746 powerpc/64s: Fix copy-paste data exposure into newly created tasks
    ac08ba518c6c powerpc/papr_scm: Properly handle UUID types and API
    d3358c66ee56 powerpc: Offline CPU in stop_this_cpu()
    9443acbd251f serial: 8250: 8250_omap: Fix possible interrupt storm on K3 SoCs
    e0e3e0b7dabf serial: 8250: 8250_omap: Disable RX interrupt after DMA enable
    786461739ac4 selftests/ftrace: fix event-no-pid on 1-core machine
    57e49a0bc4b3 leds: ktd2692: Fix an error handling path
    53cb671592ef leds: as3645a: Fix error return code in as3645a_parse_node()
    f3bf888507f0 ASoC: fsl_spdif: Fix unexpected interrupt after suspend
    2938ffd56895 ASoC: Intel: sof_sdw: add SOF_RT715_DAI_ID_FIX for AlderLake
    5f2dfce8d8bc configfs: fix memleak in configfs_release_bin_file
    e30e636447fd ASoC: atmel-i2s: Fix usage of capture and playback at the same time
    af497961abef powerpc/powernv: Fix machine check reporting of async store errors
    f8d223f80ac6 extcon: max8997: Add missing modalias string
    e16fcc83748a extcon: sm5502: Drop invalid register write in sm5502_reg_data
    25c7efb3875a phy: ti: dm816x: Fix the error handling path in 'dm816x_usb_phy_probe()
    6398fc0e57ec phy: uniphier-pcie: Fix updating phy parameters
    a4b7c0af613f soundwire: stream: Fix test for DP prepare complete
    b0be06493e73 scsi: mpt3sas: Fix error return value in _scsih_expander_add()
    f51088868b16 habanalabs: Fix an error handling path in 'hl_pci_probe()'
    c183b55ed7e5 mtd: rawnand: marvell: add missing clk_disable_unprepare() on error in marvell_nfc_resume()
    f929d21af75d of: Fix truncation of memory sizes on 32-bit platforms
    db45ea876743 ASoC: cs42l42: Correct definition of CS42L42_ADC_PDN_MASK
    55bb225c0878 iio: prox: isl29501: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
    49739675048d iio: light: vcnl4035: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
    c850b52e47aa serial: 8250: Actually allow UPF_MAGIC_MULTIPLIER baud rates
    5db39ad3fa32 staging: mt7621-dts: fix pci address for PCI memory range
    c5cd4b74fd8a coresight: core: Fix use of uninitialized pointer
    58c0621c44a5 staging: rtl8712: fix memory leak in rtl871x_load_fw_cb
    bf5d6f697981 staging: rtl8712: fix error handling in r871xu_drv_init
    7bc3fa5db495 staging: gdm724x: check for overflow in gdm_lte_netif_rx()
    f93737061067 staging: gdm724x: check for buffer overflow in gdm_lte_multi_sdu_pkt()
    14106b90e147 ASoC: fsl_spdif: Fix error handler with pm_runtime_enable
    9cf11dca57a5 iio: light: vcnl4000: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
    8c85c0f8cbff iio: magn: rm3100: Fix alignment of buffer in iio_push_to_buffers_with_timestamp()
    c923e9effe50 iio: adc: ti-ads8688: Fix alignment of buffer in iio_push_to_buffers_with_timestamp()
    15634d6dced1 iio: adc: mxs-lradc: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
    a6a1e347c7a0 iio: adc: hx711: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
    2abfdd61324c iio: adc: at91-sama5d2: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
    2abfa5294717 thunderbolt: Bond lanes only when dual_link_port != NULL in alloc_dev_default()
    36f60700f966 eeprom: idt_89hpesx: Restore printing the unsupported fwnode name
    fc8ab0600172 eeprom: idt_89hpesx: Put fwnode in matching case during ->probe()
    c7188d19989b usb: dwc2: Don't reset the core after setting turnaround time
    8aa1cb46b72e usb: gadget: f_fs: Fix setting of device and driver data cross-references
    d4d3cd4c7699 ASoC: mediatek: mtk-btcvsd: Fix an error handling path in 'mtk_btcvsd_snd_probe()'
    92a30a90d69a ASoC: rt5682-sdw: set regcache_cache_only false before reading RT5682_DEVICE_ID
    696cfb256794 ASoC: rt5682: fix getting the wrong device id when the suspend_stress_test
    8ef111db5e07 ASoC: rt715-sdw: use first_hw_init flag on resume
    36dc6957f70f ASoC: rt711-sdw: use first_hw_init flag on resume
    de77f9d92c3b ASoC: rt700-sdw: use first_hw_init flag on resume
    e1456cba8e36 ASoC: rt5682-sdw: use first_hw_init flag on resume
    16674ae3b237 ASoC: rt1308-sdw: use first_hw_init flag on resume
    dc1521641287 ASoC: max98373-sdw: use first_hw_init flag on resume
    45a3d00eafb7 iommu/dma: Fix IOVA reserve dma ranges
    ad736838155c selftests: splice: Adjust for handler fallback removal
    045c29902fbe s390: appldata depends on PROC_SYSCTL
    485b1c02b543 s390: enable HAVE_IOREMAP_PROT
    d65f69deac5c s390/irq: select HAVE_IRQ_EXIT_ON_IRQ_STACK
    d8fe62cb919c iommu/amd: Fix extended features logging
    bd95a3e159a0 visorbus: fix error return code in visorchipset_init()
    e5a3a3108f06 fsi/sbefifo: Fix reset timeout
    4a95eb0c800e fsi/sbefifo: Clean up correct FIFO when receiving reset request from SBE
    719c4db394ed fsi: occ: Don't accept response from un-initialized OCC
    af3d7f9e266b fsi: scom: Reset the FSI2PIB engine for any error
    446eed9c855e fsi: core: Fix return of error values on failures
    d22bef41017b mfd: rn5t618: Fix IRQ trigger by changing it to level mode
    9b8bfdbc7e61 mfd: mp2629: Select MFD_CORE to fix build error
    68f2f83f6fb6 scsi: iscsi: Flush block work before unblock
    b5371faa0667 scsi: FlashPoint: Rename si_flags field
    0b2f74111344 leds: lp50xx: Put fwnode in error case during ->probe()
    5f7bda9ba8d7 leds: lm3697: Don't spam logs when probe is deferred
    8fc7d4a3f039 leds: lm3692x: Put fwnode in any case during ->probe()
    c54ad49e2ff7 leds: lm36274: Put fwnode in error case during ->probe()
    1ed913317166 leds: lm3532: select regmap I2C API
    b504e279e502 leds: class: The -ENOTSUPP should never be seen by user space
    58279b341b94 tty: nozomi: Fix the error handling path of 'nozomi_card_init()'
    28c947b07263 firmware: stratix10-svc: Fix a resource leak in an error handling path
    1e1b9cd40095 char: pcmcia: error out if 'num_bytes_read' is greater than 4 in set_protocol()
    5a766253e305 staging: mmal-vchiq: Fix incorrect static vchiq_instance.
    cf05986cc4de mtd: rawnand: arasan: Ensure proper configuration for the asserted target
    2f8824f556a3 mtd: partitions: redboot: seek fis-index-block in the right node
    a16eae11f004 perf scripting python: Fix tuple_set_u64()
    201b975c1643 Input: hil_kbd - fix error return code in hil_dev_connect()
    000c70680d2f ASoC: rsnd: tidyup loop on rsnd_adg_clk_query()
    2e1d76c3b90f backlight: lm3630a_bl: Put fwnode in error case during ->probe()
    d4ebf352a7d7 ASoC: hisilicon: fix missing clk_disable_unprepare() on error in hi6210_i2s_startup()
    2541d78f7832 ASoC: rk3328: fix missing clk_disable_unprepare() on error in rk3328_platform_probe()
    246b4f1e2050 iio: potentiostat: lmp91000: Fix alignment of buffer in iio_push_to_buffers_with_timestamp()
    71dbba0b9525 iio: cros_ec_sensors: Fix alignment of buffer in iio_push_to_buffers_with_timestamp()
    1fa3107759b7 iio: chemical: atlas: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
    93a5538d5012 iio: light: tcs3472: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
    daecb8c0a17c iio: light: tcs3414: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
    293b8246a07e iio: light: isl29125: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
    f960139a3c49 iio: magn: bmc150: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
    e5e102f4b562 iio: magn: hmc5843: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
    4613232e0b1f iio: prox: as3935: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
    ab16be53b296 iio: prox: pulsed-light: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
    8e23dd6236de iio: prox: srf08: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
    c61ac1f83b32 iio: humidity: am2315: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
    8ea878287ccc iio: gyro: bmg160: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
    718a67a90932 iio: adc: vf610: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
    df5343bd59cd iio: adc: ti-ads1015: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
    f0bc78df4a04 iio: accel: stk8ba50: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
    cd62282a51cb iio: accel: stk8312: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
    638ba5aa15ac iio: accel: mxc4005: Fix overread of data and alignment issue.
    0d220d40b3f3 iio: accel: kxcjk-1013: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
    9eb5fb66b6f4 iio: accel: hid: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
    4b362443dc21 iio: accel: bma220: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
    3cca4db5f733 iio: accel: bma180: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
    2edfba8a55b5 iio: adis16475: do not return ints in irq handlers
    92efd6396e4b iio: adis16400: do not return ints in irq handlers
    2e41116e6eb8 iio: adis_buffer: do not return ints in irq handlers
    67d88b7bf62d mwifiex: re-fix for unaligned accesses
    460bee90091d tty: nozomi: Fix a resource leak in an error handling function
    f5186bd17f3b serial: 8250_omap: fix a timeout loop condition
    5dcff72fe42a serial: fsl_lpuart: remove RTSCTS handling from get_mctrl()
    685d53abc918 serial: fsl_lpuart: don't modify arbitrary data on lpuart32
    728f23e53c65 rcu: Invoke rcu_spawn_core_kthreads() from rcu_spawn_gp_kthread()
    66111dfe22b1 ASoC: rt5682: Disable irq on shutdown
    8b195380cd07 staging: fbtft: Don't spam logs when probe is deferred
    7a42f3c30dfe staging: fbtft: Rectify GPIO handling
    d8c1504cf1a0 MIPS: Fix PKMAP with 32-bit MIPS huge page support
    a23ba98e91ff RDMA/core: Always release restrack object
    a938d4e8c699 RDMA/mlx5: Don't access NULL-cleared mpi pointer
    c6965316d684 net: tipc: fix FB_MTU eat two pages
    1148952dc660 net: sched: fix warning in tcindex_alloc_perfect_hash
    4476568069c9 net: lwtunnel: handle MTU calculation in forwading
    6939c39a4106 writeback: fix obtain a reference to a freeing memcg css
    4c3e839bfde5 clk: si5341: Update initialization magic
    55aaba36d718 clk: si5341: Check for input clock presence and PLL lock on startup
    42ac32d834aa clk: si5341: Avoid divide errors due to bogus register contents
    043637617d51 clk: si5341: Wait for DEVICE_READY on startup
    29746bd0f765 clk: qcom: clk-alpha-pll: fix CAL_L write in alpha_pll_fabia_prepare
    94221679ee05 clk: actions: Fix AHPPREDIV-H-AHB clock chain on Owl S500 SoC
    f3b6df5dfd72 clk: actions: Fix bisp_factor_table based clocks on Owl S500 SoC
    ced193bc0851 clk: actions: Fix SD clocks factor table on Owl S500 SoC
    12d2d6fd11c1 clk: actions: Fix UART clock dividers on Owl S500 SoC
    7d97522e6e35 Bluetooth: Fix handling of HCI_LE_Advertising_Set_Terminated event
    4f5fc3be2cca Bluetooth: Fix Set Extended (Scan Response) Data
    c5fedfcc2046 Bluetooth: Fix not sending Set Extended Scan Response
    a2dcad039e45 Bluetooth: mgmt: Fix slab-out-of-bounds in tlv_data_is_valid
    d28e780431b5 Revert "be2net: disable bh with spin_lock in be_process_mcc"
    342b06b600bf gve: Fix swapped vars when fetching max queues
    11044f8c2c9f RDMA/cma: Fix incorrect Packet Lifetime calculation
    fc2ea819b96e bpfilter: Specify the log level for the kmsg message
    4228c00e1408 net: dsa: sja1105: fix NULL pointer dereference in sja1105_reload_cbs()
    393d48b3dec0 e1000e: Check the PCIm state
    cebff3d9f74f ipv6: fix out-of-bound access in ip6_parse_tlv()
    9e753c47b905 net: atlantic: fix the macsec key length
    1c95d4d432c3 net: phy: mscc: fix macsec key length
    711a28d24d07 net: macsec: fix the length used to copy the key for offloading
    c764f2d899b2 RDMA/cma: Protect RMW with qp_mutex
    d52ceed84526 ibmvnic: free tx_pool if tso_pool alloc fails
    f25accc4fd4d ibmvnic: set ltb->buff to NULL after freeing
    3f85d2ca323f Revert "ibmvnic: remove duplicate napi_schedule call in open function"
    cad22e48cabe i40e: Fix missing rtnl locking when setting up pf switch
    d9a5d19706ea i40e: Fix autoneg disabling for non-10GBaseT links
    88819239e9fd i40e: Fix error handling in i40e_vsi_open
    aefa92774408 bpf: Do not change gso_size during bpf_skb_change_proto()
    0dac8b0ad016 can: j1939: j1939_sk_setsockopt(): prevent allocation of j1939 filter for optlen == 0
    2d58a38275d2 ipv6: exthdrs: do not blindly use init_net
    b559d003f03c net: bcmgenet: Fix attaching to PYH failed on RPi 4B
    514c96bf65ce mac80211: remove iwlwifi specific workaround NDPs of null_response
    1b3985aa53d0 drm/msm/dpu: Fix error return code in dpu_mdss_init()
    134a561aee50 drm/msm: Fix error return code in msm_drm_init()
    f97b9c4c0759 bpf: Fix null ptr deref with mixed tail calls and subprogs
    56c31bc9aabe ieee802154: hwsim: avoid possible crash in hwsim_del_edge_nl()
    71a345ede51a ieee802154: hwsim: Fix memory leak in hwsim_add_one
    4b44486b8bfd tc-testing: fix list handling
    997285646a9c net: ti: am65-cpsw-nuss: Fix crash when changing number of TX queues
    6610d5a73b6f net/ipv4: swap flow ports when validating source
    c3fcfc4e369b ip6_tunnel: fix GRE6 segmentation
    162e75687e90 vxlan: add missing rcu_read_lock() in neigh_reduce()
    6cd23b5f4017 rtw88: 8822c: fix lc calibration timing
    db2386fa4342 iwlwifi: increase PNVM load timeout
    78e6587585d8 xfrm: Fix xfrm offload fallback fail case
    5c8e5feceaf3 pkt_sched: sch_qfq: fix qfq_change_class() error path
    b2ce4ebdd9a8 netfilter: nf_tables_offload: check FLOW_DISSECTOR_KEY_BASIC in VLAN transfer logic
    581e37ad5c0a tls: prevent oversized sendfile() hangs by ignoring MSG_MORE
    e7c3ae47978f net: sched: add barrier to ensure correct ordering for lockless qdisc
    ca9b5ab7910c vrf: do not push non-ND strict packets with a source LLA through packet taps again
    e72d9e4b9807 net: ethernet: ezchip: fix error handling
    161f8b73da68 net: ethernet: ezchip: fix UAF in nps_enet_remove
    f026d82211a2 net: ethernet: aeroflex: fix UAF in greth_of_remove
    6a8c7c5c0773 mt76: mt7615: fix NULL pointer dereference in tx_prepare_skb()
    6987ee9bf0a2 mt76: fix possible NULL pointer dereference in mt76_tx
    e717f974ceed samples/bpf: Fix the error return code of xdp_redirect's main()
    79bf8f04cece samples/bpf: Fix Segmentation fault for xdp_redirect command
    fcd8d6371a46 RDMA/rtrs-srv: Set minimal max_send_wr and max_recv_wr
    a9355b201d16 bpf: Fix libelf endian handling in resolv_btfids
    607706027c89 xsk: Fix broken Tx ring validation
    cd7877a39f05 xsk: Fix missing validation for skb and unaligned mode
    89621945b698 selftests/bpf: Whitelist test_progs.h from .gitignore
    49c25a1a8dc5 RDMA/rxe: Fix qp reference counting for atomic ops
    58da10487a1e netfilter: nft_tproxy: restrict support to TCP and UDP transport protocols
    ed3d4988349e netfilter: nft_osf: check for TCP packet before further processing
    cf28cb51f01b netfilter: nft_exthdr: check for IPv6 packet before further processing
    8f6714f3c12b RDMA/mlx5: Don't add slave port to unaffiliated list
    a158ee32d4aa netlabel: Fix memory leak in netlbl_mgmt_add_common
    28e8df0c65a6 ath11k: send beacon template after vdev_start/restart during csa
    48b69f31de82 ath10k: Fix an error code in ath10k_add_interface()
    e0727a61b0aa ath11k: Fix an error handling path in ath11k_core_fetch_board_data_api_n()
    a54e9166e788 cw1200: Revert unnecessary patches that fix unreal use-after-free bugs
    30efdcaca32a brcmsmac: mac80211_if: Fix a resource leak in an error handling path
    5d452eafbd2e brcmfmac: Fix a double-free in brcmf_sdio_bus_reset
    5b8d0b0727f6 brcmfmac: correctly report average RSSI in station info
    db4de88d439e brcmfmac: fix setting of station info chains bitmask
    80ad538a87e2 ssb: Fix error return code in ssb_bus_scan()
    0147e6ccb818 wcn36xx: Move hal_buf allocation to devm_kmalloc in probe
    581098969c1a clk: imx8mq: remove SYS PLL 1/2 clock gates
    da8904c46569 ieee802154: hwsim: Fix possible memory leak in hwsim_subscribe_all_others
    7142f92412c1 wireless: carl9170: fix LEDS build errors & warnings
    ecb6797501cb ath10k: add missing error return code in ath10k_pci_probe()
    668c0663d6dd ath10k: go to path err_unsupported when chip id is not supported
    4654f1fc3019 tools/bpftool: Fix error return code in do_batch()
    1ccbb552e3d2 drm: qxl: ensure surf.data is ininitialized
    bdc16fe9df17 clk: vc5: fix output disabling when enabling a FOD
    43b7f1dec6c0 drm/vc4: hdmi: Fix error path of hpd-gpios
    756679a123bc drm/pl111: Actually fix CONFIG_VEXPRESS_CONFIG depends
    87890e1113e6 RDMA/rxe: Fix failure during driver load
    c5db39c4dfda drm/pl111: depend on CONFIG_VEXPRESS_CONFIG
    42800fcff3f9 RDMA/core: Sanitize WQ state received from the userspace
    c470dd34c682 net/sched: act_vlan: Fix modify to allow 0
    6a5691335550 xfrm: remove the fragment check for ipv6 beet mode
    9fddbe9495ad clk: tegra30: Use 300MHz for video decoder by default
    48bcd756aff6 ehea: fix error return code in ehea_restart_qps()
    6cbc167bc132 RDMA/rtrs-clt: Fix memory leak of not-freed sess->stats and stats->pcpu_stats
    6569ae1deb6c RDMA/rtrs-clt: Check if the queue_depth has changed during a reconnection
    8651ad0e2968 RDMA/rtrs-srv: Fix memory leak when having multiple sessions
    e7df73088443 RDMA/rtrs-srv: Fix memory leak of unfreed rtrs_srv_stats object
    f03d4c12965e RDMA/rtrs: Do not reset hb_missed_max after re-connection
    bd4df557aeef RDMA/rtrs-clt: Check state of the rtrs_clt_sess before reading its stats
    067b6631315d RDMA/srp: Fix a recently introduced memory leak
    116d5cdfacff mptcp: generate subflow hmac after mptcp_finish_join()
    284e741c4e2a mptcp: fix pr_debug in mptcp_token_new_connect
    eee0f7d399b6 drm/rockchip: cdn-dp: fix sign extension on an int multiply for a u64 result
    75db503c9cc7 drm/rockchip: lvds: Fix an error handling path
    59eb7193bef2 drm/rockchip: dsi: move all lane config except LCDC mux to bind()
    40492ebd29e1 drm/rockchip: cdn-dp-core: add missing clk_disable_unprepare() on error in cdn_dp_grf_write()
    ef61b0826c81 drm: rockchip: set alpha_en to 0 if it is not used
    7902ee2faefa net: ftgmac100: add missing error return code in ftgmac100_probe()
    28b3837b405f clk: meson: g12a: fix gp0 and hifi ranges
    27e9e0c46816 net: qrtr: ns: Fix error return code in qrtr_ns_init()
    40b701707ebf drm/vmwgfx: Fix cpu updates of coherent multisample surfaces
    a8e85ed08858 drm/vmwgfx: Mark a surface gpu-dirty after the SVGA3dCmdDXGenMips command
    8f2b15ec3bec pinctrl: renesas: r8a77990: JTAG pins do not have pull-down capabilities
    6f4718c13400 pinctrl: renesas: r8a7796: Add missing bias for PRESET# pin
    2d487941ee59 net: pch_gbe: Propagate error from devm_gpio_request_one()
    2f9f23c43a70 net: mvpp2: Put fwnode in error case during ->probe()
    b3fecbf60ebc video: fbdev: imxfb: Fix an error message
    1655266d91ed drm/ast: Fix missing conversions to managed API
    5885fce7b439 drm/amd/dc: Fix a missing check bug in dm_dp_mst_detect()
    0cd39c96574d drm/bridge: Fix the stop condition of drm_bridge_chain_pre_enable()
    45415d1f9929 drm/bridge/sii8620: fix dependency on extcon
    1de9425286f1 xfrm: xfrm_state_mtu should return at least 1280 for ipv6
    10f32b8c9eb8 mm/page_alloc: fix counting of managed_pages
    d7deea31ed6f mm: page_alloc: refactor setup_per_zone_lowmem_reserve()
    5458985533ba mm: memcg/slab: properly set up gfp flags for objcg pointer array
    8e4af3917bfc mm/shmem: fix shmem_swapin() race with swapoff
    a5dcdfe4cb4a swap: fix do_swap_page() race with swapoff
    29ae2c9c9ccc mm/debug_vm_pgtable: ensure THP availability via has_transparent_hugepage()
    7abf6e576354 mm/debug_vm_pgtable/basic: iterate over entire protection_map[]
    27634d63ca58 mm/debug_vm_pgtable/basic: add validation for dirtiness after write protect
    c872674da724 dax: fix ENOMEM handling in grab_mapping_entry()
    c015295b28d6 ocfs2: fix snprintf() checking
    512106ae2355 blk-mq: update hctx->dispatch_busy in case of real scheduler
    3e33b1329c61 cpufreq: Make cpufreq_online() call driver->offline() on errors
    cc0b1776fd1d ACPI: bgrt: Fix CFI violation
    3cbe01ac28a8 ACPI: Use DEVICE_ATTR_<RW|RO|WO> macros
    d3dd2fe2743f blk-wbt: make sure throttle is enabled properly
    1c2f21a8a0c2 blk-wbt: introduce a new disable state to prevent false positive by rwb_enabled()
    e0afab5181d0 ACPI: APEI: fix synchronous external aborts in user-mode
    f626452df805 extcon: extcon-max8997: Fix IRQ freeing at error path
    45b399e309f5 clocksource/drivers/timer-ti-dm: Save and restore timer TIOCP_CFG
    0317b728d8ae mark pstore-blk as broken
    296fbe2608d2 ACPI: sysfs: Fix a buffer overrun problem with description_show()
    ce47ae8961dd nvme-pci: look for StorageD3Enable on companion ACPI device instead
    3ffe41f25f21 block: avoid double io accounting for flush request
    17e77feaddd6 ACPI: PM / fan: Put fan device IDs into separate header file
    4dcb59d6a288 PM / devfreq: Add missing error code in devfreq_add_device()
    a61f8a2e45be media: video-mux: Skip dangling endpoints
    62c666805af4 media: v4l2-async: Clean v4l2_async_notifier_add_fwnode_remote_subdev
    6bfcb6178925 psi: Fix race between psi_trigger_create/destroy
    8d7debe74475 crypto: nx - Fix RCU warning in nx842_OF_upd_status
    c43082d284fa spi: spi-sun6i: Fix chipselect/clock bug
    f18f7a227697 lockdep/selftests: Fix selftests vs PROVE_RAW_LOCK_NESTING
    fca9e784a36c lockdep: Fix wait-type for empty stack
    ca47a4fa8996 sched/uclamp: Fix uclamp_tg_restrict()
    aea030cefc59 sched/rt: Fix Deadline utilization tracking during policy change
    c576472a051a sched/rt: Fix RT utilization tracking during policy change
    67f66d48bd10 x86/sev: Split up runtime #VC handler for correct state tracking
    2e1003f3ee77 x86/sev: Make sure IRQs are disabled while GHCB is active
    eefebcda89a8 btrfs: clear log tree recovering status if starting transaction fails
    aec3a574c632 regulator: hi655x: Fix pass wrong pointer to config.driver_data
    96275c8f6c58 KVM: arm64: Don't zero the cycle count register when PMCR_EL0.P is set
    e5154bf2177c perf/arm-cmn: Fix invalid pointer when access dtc object sharing the same IRQ number
    31dcfec19dd0 KVM: x86/mmu: Fix return value in tdp_mmu_map_handle_target_level()
    64d31137b1a6 KVM: nVMX: Don't clobber nested MMU's A/D status on EPTP switch
    bac38bd7c458 KVM: nVMX: Ensure 64-bit shift when checking VMFUNC bitmap
    b2c5af71ce4b KVM: nVMX: Sync all PGDs on nested transition with shadow paging
    5ac406b81c0d hwmon: (max31790) Fix fan speed reporting for fan7..12
    e02d52b7e9c5 hwmon: (max31722) Remove non-standard ACPI device IDs
    5c00e994978d hwmon: (lm70) Revert "hwmon: (lm70) Add support for ACPI"
    5cfc66b45450 hwmon: (lm70) Use device_get_match_data()
    c9f8416e43f8 media: s5p-g2d: Fix a memory leak on ctx->fh.m2m_ctx
    921d2518dbba media: subdev: remove VIDIOC_DQEVENT_TIME32 handling
    bb5e089df700 arm64/mm: Fix ttbr0 values stored in struct thread_info for software-pan
    8d6acfe80da1 arm64: consistently use reserved_pg_dir
    f1f30b3373df mmc: usdhi6rol0: fix error return code in usdhi6_probe()
    cd909ebb7315 crypto: sm2 - fix a memory leak in sm2
    d598b8b77b17 crypto: sm2 - remove unnecessary reset operations
    deef40c47e66 crypto: x86/curve25519 - fix cpu feature checking logic in mod_exit
    bc50c403859f crypto: omap-sham - Fix PM reference leak in omap sham ops
    615f2f5e7eb8 crypto: nitrox - fix unchecked variable in nitrox_register_interrupts
    5d4cb7c39436 regulator: fan53880: Fix vsel_mask setting for FAN53880_BUCK
    082d977b4688 media: siano: Fix out-of-bounds warnings in smscore_load_firmware_family2()
    52734fb99e69 m68k: atari: Fix ATARI_KBD_CORE kconfig unmet dependency warning
    b54a0f7926bd media: gspca/gl860: fix zero-length control requests
    0109910cbdd8 media: tc358743: Fix error return code in tc358743_probe_of()
    5091f2738d78 media: au0828: fix a NULL vs IS_ERR() check
    31157148a591 media: exynos4-is: Fix a use after free in isp_video_release
    2a91d7cc425c media: rkvdec: Fix .buf_prepare
    5a3ac10611d6 locking/lockdep: Reduce LOCKDEP dependency list
    1328decacd31 pata_ep93xx: fix deferred probing
    bab207d3524e media: rc: i2c: Fix an error message
    a9d02976e9ba crypto: ccp - Fix a resource leak in an error handling path
    c3285441b4cd crypto: sa2ul - Fix pm_runtime enable in sa_ul_probe()
    8ac033d9c451 crypto: sa2ul - Fix leaks on failure paths with sa_dma_init()
    c0ec4ac43638 x86/elf: Use _BITUL() macro in UAPI headers
    912d16a2d730 evm: fix writing <securityfs>/evm overflow
    403577f75d5c pata_octeon_cf: avoid WARN_ON() in ata_host_activate()
    5f9aaaaac816 kbuild: Fix objtool dependency for 'OBJECT_FILES_NON_STANDARD_<obj> := n'
    37481ad72d96 sched/uclamp: Fix locking around cpu_util_update_eff()
    6c2b3d565fca sched/uclamp: Fix wrong implementation of cpu.uclamp.min
    b49d231c67e8 media: I2C: change 'RST' to "RSET" to fix multiple build errors
    e7a376edb484 pata_rb532_cf: fix deferred probing
    9df79fd17b7f sata_highbank: fix deferred probing
    45d2d67833ae crypto: ux500 - Fix error return code in hash_hw_final()
    8c8c11b4df70 crypto: ixp4xx - update IV after requests
    f00454ac40f8 crypto: ixp4xx - dma_unmap the correct address
    2c3164f31a49 media: hantro: do a PM resume earlier
    6efd8921eb84 media: s5p_cec: decrement usage count if disabled
    e23dc4a3e8ff media: venus: Rework error fail recover logic
    08d0aa16a1f7 spi: Avoid undefined behaviour when counting unused native CSs
    db5a7e22c96c spi: Allow to have all native CSs in use along with GPIOs
    0c1d1517d616 writeback, cgroup: increment isw_nr_in_flight before grabbing an inode
    3bf8076a7b46 ia64: mca_drv: fix incorrect array size calculation
    fc12d8fbcf1a kthread_worker: fix return value when kthread_mod_delayed_work() races with kthread_cancel_delayed_work_sync()
    1208f10b4b8a block: fix discard request merge
    9d0634f6cbcb mailbox: qcom: Use PLATFORM_DEVID_AUTO to register platform device
    c35b484130cc cifs: fix missing spinlock around update to ses->status
    a72d660c0dcc HID: wacom: Correct base usage for capacitive ExpressKey status bits
    6bac00744b62 ACPI: tables: Add custom DSDT file as makefile prerequisite
    5c93dd7c5952 tpm_tis_spi: add missing SPI device ID entries
    d9b40ebd448e clocksource: Check per-CPU clock synchronization when marked unstable
    03a65c14ab47 clocksource: Retry clock read if long delays detected
    8ab9714fd84b ACPI: EC: trust DSDT GPE for certain HP laptop
    c406bb9ece6e cifs: improve fallocate emulation
    998d9fefdd47 PCI: hv: Add check for hyperv_initialized in init_hv_pci_drv()
    f5a90d44a1bc EDAC/Intel: Do not load EDAC driver when running as a guest
    950a7399056d nvmet-fc: do not check for invalid target port in nvmet_fc_handle_fcp_rqst()
    66e8848482f2 nvme-pci: fix var. type for increasing cq_head
    9dc2c2b94194 platform/x86: toshiba_acpi: Fix missing error code in toshiba_acpi_setup_keyboard()
    e2cf3b5cb29e platform/x86: asus-nb-wmi: Revert "add support for ASUS ROG Zephyrus G14 and G15"
    dff246672236 platform/x86: asus-nb-wmi: Revert "Drop duplicate DMI quirk structures"
    1da08a428ec3 block: fix race between adding/removing rq qos and normal IO
    555dba7c631a ACPI: resources: Add checks for ACPI IRQ override
    c79852298ce7 ACPI: bus: Call kobject_put() in acpi_init() error path
    a8c0057aee14 ACPICA: Fix memory leak caused by _CID repair function
    2ebbe3a62024 fs: dlm: fix memory leak when fenced
    eda609d8646f drivers: hv: Fix missing error code in vmbus_connect()
    019d04f91466 open: don't silently ignore unknown O-flags in openat2()
    d838dddf3f08 random32: Fix implicit truncation warning in prandom_seed_state()
    7425fe57d94f fs: dlm: cancel work sync othercon
    747b654e4069 blk-mq: clear stale request in tags->rq[] before freeing one request pool
    a3362ff0433b blk-mq: grab rq->refcount before calling ->fn in blk_mq_tagset_busy_iter
    f58625bf2ca9 block_dump: remove block_dump feature in mark_inode_dirty()
    ca8541015d25 ACPI: EC: Make more Asus laptops use ECDT _GPE
    b74b839a169b platform/x86: touchscreen_dmi: Add info for the Goodix GT912 panel of TM800A550L tablets
    d4801889d61f platform/x86: touchscreen_dmi: Add an extra entry for the upside down Goodix touchscreen on Teclast X89 tablets
    bb3a3a6cebb3 Input: goodix - platform/x86: touchscreen_dmi - Move upside down quirks to touchscreen_dmi.c
    9e914f59cc3a lib: vsprintf: Fix handling of number field widths in vsscanf
    f8c3236890eb hv_utils: Fix passing zero to 'PTR_ERR' warning
    0f2f5293023f ACPI: processor idle: Fix up C-state latency if not ordered
    ae281fbbc4e5 EDAC/ti: Add missing MODULE_DEVICE_TABLE
    2c0285062dd7 HID: do not use down_interruptible() when unbinding devices
    51b7499cecc4 ACPI: video: use native backlight for GA401/GA502/GA503
    83653ace03e6 media: Fix Media Controller API config checks
    f0b8f5682db8 regulator: da9052: Ensure enough delay time for .set_voltage_time_sel
    5d9e3279f507 regulator: mt6358: Fix vdram2 .vsel_mask
    b58b54ef4978 KVM: s390: get rid of register asm usage
    963baea02ddd lockding/lockdep: Avoid to find wrong lock dep path in check_irq_usage()
    93cc59d8d0fa locking/lockdep: Fix the dep path printing for backwards BFS
    9c0835c69db8 btrfs: disable build on platforms having page size 256K
    ad71a9ad74b1 btrfs: don't clear page extent mapped if we're not invalidating the full page
    703b494a68f9 btrfs: sysfs: fix format string for some discard stats
    8d05e30c974f btrfs: abort transaction if we fail to update the delayed inode
    e0ffb169a35e btrfs: fix error handling in __btrfs_update_delayed_inode
    9b2829123727 KVM: PPC: Book3S HV: Fix TLB management on SMT8 POWER9 and POWER10 processors
    00b1a9f0e8d9 drivers/perf: fix the missed ida_simple_remove() in ddr_perf_probe()
    625ee7d26799 hwmon: (max31790) Fix pwmX_enable attributes
    c1eb091dbbbb hwmon: (max31790) Report correct current pwm duty cycles
    49623e4b7350 media: imx-csi: Skip first few frames from a BT.656 source
    72962620efcb media: siano: fix device register error path
    cc4ba5a3979a media: dvb_net: avoid speculation from net slot
    c34f3912a7d6 crypto: shash - avoid comparing pointers to exported functions under CFI
    0d201fee96b6 spi: meson-spicc: fix memory leak in meson_spicc_probe
    a0bbb5d378da spi: meson-spicc: fix a wrong goto jump for avoiding memory leak.
    ea7e1b581b2d mmc: via-sdmmc: add a check against NULL pointer dereference
    237999da7036 mmc: sdhci-sprd: use sdhci_sprd_writew
    b6cbe1fcf85e memstick: rtsx_usb_ms: fix UAF
    8c252a63032a media: dvd_usb: memory leak in cinergyt2_fe_attach
    e78a588b595d Makefile: fix GDB warning with CONFIG_RELR
    bce4838273e5 crypto: hisilicon/sec - fixup 3des minimum key size declaration
    74ef2418a76b media: st-hva: Fix potential NULL pointer dereferences
    617afcee2a5f media: bt8xx: Fix a missing check bug in bt878_probe
    1f9cff025d65 media: v4l2-core: Avoid the dangling pointer in v4l2_fh_release
    1d2838152e19 media: cedrus: Fix .buf_prepare
    cbfb77c2f965 media: hantro: Fix .buf_prepare
    6e08d3ab5ced media: em28xx: Fix possible memory leak of em28xx struct
    75c45a81889a media: bt878: do not schedule tasklet when it is not setup
    a61d119248ed media: i2c: ov2659: Use clk_{prepare_enable,disable_unprepare}() to set xvclk on/off
    9fa8542a63b6 sched/fair: Fix ascii art by relpacing tabs
    d0214b841c1d arm64: perf: Convert snprintf to sysfs_emit
    addcb6bb584a crypto: qce: skcipher: Fix incorrect sg count for dma transfers
    d000c598db1d crypto: qat - remove unused macro in FW loader
    5daa889433c9 crypto: qat - check return code of qat_hal_rd_rel_reg()
    996234180748 media: imx: imx7_mipi_csis: Fix logging of only error event counters
    179d9c18ba83 media: pvrusb2: fix warning in pvr2_i2c_core_done
    893c243e52f2 media: hevc: Fix dependent slice segment flags
    a245f93ad067 media: cobalt: fix race condition in setting HPD
    4626df7f65b4 media: cpia2: fix memory leak in cpia2_usb_probe
    e717d6c291d1 media: sti: fix obj-$(config) targets
    93f80a0bbd5b crypto: nx - add missing MODULE_DEVICE_TABLE
    4e8c9510b787 hwrng: exynos - Fix runtime PM imbalance on error
    3c51d82d0b78 sched/core: Initialize the idle task with preemption disabled
    f8607f5ebe87 regulator: uniphier: Add missing MODULE_DEVICE_TABLE
    66f0f478ecea spi: omap-100k: Fix the length judgment problem
    8692603ff155 spi: spi-topcliff-pch: Fix potential double free in pch_spi_process_messages()
    cb42cf32ce2e spi: spi-loopback-test: Fix 'tx_buf' might be 'rx_buf'
    b980385a70ea media: exynos-gsc: fix pm_runtime_get_sync() usage count
    a8b1889cd618 media: exynos4-is: fix pm_runtime_get_sync() usage count
    29fd79b6280b media: sti/bdisp: fix pm_runtime_get_sync() usage count
    abdc89771018 media: sunxi: fix pm_runtime_get_sync() usage count
    d627fc298cda media: s5p-jpeg: fix pm_runtime_get_sync() usage count
    3c90c3fbdc96 media: mtk-vcodec: fix PM runtime get logic
    8318f7bc0e65 media: sh_vou: fix pm_runtime_get_sync() usage count
    64e291d697a0 media: am437x: fix pm_runtime_get_sync() usage count
    adf052c77963 media: s5p: fix pm_runtime_get_sync() usage count
    437ca06c7899 media: mdk-mdp: fix pm_runtime_get_sync() usage count
    ff7e4b94db72 media: marvel-ccic: fix some issues when getting pm_runtime
    ccf0a291f7e1 staging: media: rkvdec: fix pm_runtime_get_sync() usage count
    b2c4d9a33cc2 Add a reference to ucounts for each cred
    61a7a634a0c8 spi: Make of_register_spi_device also set the fwnode
    f2b240047644 thermal/cpufreq_cooling: Update offline CPUs per-cpu thermal_pressure
    4eab2e2e9889 fuse: reject internal errno
    bb7ee90ea524 fuse: check connected before queueing on fpq->io
    912e98505a63 fuse: ignore PG_workingset after stealing
    576b44c32669 fuse: Fix infinite loop in sget_fc()
    ae6ab39251f7 fuse: Fix crash if superblock of submount gets killed early
    91c2aa2c64b8 fuse: Fix crash in fuse_dentry_automount() error path
    53124265fca8 evm: Refuse EVM_ALLOW_METADATA_WRITES only if an HMAC key is loaded
    7b84c7d7e2c2 evm: Execute evm_inode_init_security() only when an HMAC key is loaded
    a7e18f57eddf loop: Fix missing discard support when using LOOP_CONFIGURE
    75395690e5e6 powerpc/stacktrace: Fix spurious "stale" traces in raise_backtrace_ipi()
    c556b938b3be seq_buf: Make trace_seq_putmem_hex() support data longer than 8
    0531e84bc8ac tracepoint: Add tracepoint_probe_register_may_exist() for BPF tracing
    2aedacfaf601 tracing/histograms: Fix parsing of "sym-offset" modifier
    998de999ba7d rsi: fix AP mode with WPA failure due to encrypted EAPOL
    71808ec5b982 rsi: Assign beacon rate settings to the correct rate_info descriptor field
    43189683fe5d ssb: sdio: Don't overwrite const buffer if block_write fails
    58940e88ba63 ath9k: Fix kernel NULL pointer dereference during ath_reset_internal()
    cc46d6d14fc7 serial_cs: remove wrong GLOBETROTTER.cis entry
    cf727d99ab63 serial_cs: Add Option International GSM-Ready 56K/ISDN modem
    23055da5618f serial: sh-sci: Stop dmaengine transfer in sci_stop_tx()
    17451bd0364f serial: mvebu-uart: fix calculation of clock divisor
    8c90ec9965ba iio: accel: bma180: Fix BMA25x bandwidth register values
    9efc775c28b4 iio: ltr501: ltr501_read_ps(): add missing endianness conversion
    c6c3ea1d9d4f iio: ltr501: ltr559: fix initialization of LTR501_ALS_CONTR
    fbadeba72e14 iio: ltr501: mark register holding upper 8 bits of ALS_DATA{0,1} and PS_DATA as volatile, too
    17c67f484893 iio: light: tcs3472: do not free unallocated IRQ
    6534a5e0c28c iio: frequency: adf4350: disable reg and clk on error in adf4350_probe()
    a6f7bf2652bb rtc: stm32: Fix unbalanced clk_disable_unprepare() on probe error path
    e92bd19246cc clk: agilex/stratix10: fix bypass representation
    3093214a6aa4 clk: agilex/stratix10: remove noc_clk
    308d01f5255b clk: agilex/stratix10/n5x: fix how the bypass_reg is handled
    e582a2f35245 f2fs: Prevent swap file in LFS mode
    36ae903607f6 s390: mm: Fix secure storage access exception handling
    38a2ba82e249 s390/cio: dont call css_wait_for_slow_path() inside a lock
    9aae145dc500 KVM: x86/mmu: Use MMU's role to detect CR4.SMEP value in nested NPT walk
    a9ac58f85f12 KVM: x86/mmu: Treat NX as used (not reserved) for all !TDP shadow MMUs
    30c44537cb10 KVM: PPC: Book3S HV: Workaround high stack usage with clang
    39d0dfab6c3e KVM: nVMX: Handle split-lock #AC exceptions that happen in L2
    7510c5cd0dc4 perf/smmuv3: Don't trample existing events with global filter
    9109e15709cd mm/gup: fix try_grab_compound_head() race with split_huge_page()
    9b0d1f4cb862 bus: mhi: Wait for M2 state during system resume
    cbcbfb048804 SUNRPC: Should wake up the privileged task firstly.
    30f56084980e SUNRPC: Fix the batch tasks count wraparound.
    c6d864601ef2 mac80211: remove iwlwifi specific workaround that broke sta NDP tx
    507925fff036 can: peak_pciefd: pucan_handle_status(): fix a potential starvation issue in TX path
    f79ea4755f6b can: j1939: j1939_sk_init(): set SOCK_RCU_FREE to call sk_destruct() after RCU is done
    22bfa94db2ef can: isotp: isotp_release(): omit unintended hrtimer restart on socket release
    af94ef8f0b08 can: gw: synchronize rcu operations before removing gw job entry
    b52e0cf0bfc1 can: bcm: delay release of struct bcm_op after synchronize_rcu()
    aa07327083b5 ext4: use ext4_grp_locked_error in mb_find_extent
    6903f99f1921 ext4: fix avefreec in find_group_orlov
    98cd580211bf ext4: remove check for zero nr_to_scan in ext4_es_scan()
    68a40ff916a6 ext4: correct the cache_nr in tracepoint ext4_es_shrink_exit
    f4e91a4e0d04 ext4: return error code when ext4_fill_flex_info() fails
    b368b0375e77 ext4: fix overflow in ext4_iomap_alloc()
    ea5466f1a777 ext4: fix kernel infoleak via ext4_extent_header
    076d9b06236a ext4: cleanup in-core orphan list if ext4_truncate() failed to get a transaction handle
    80d05ce58a0b btrfs: clear defrag status of a root if starting transaction fails
    6b00b1717f58 btrfs: compression: don't try to compress if we don't have enough pages
    34172f601a9c btrfs: send: fix invalid path for unlink operations after parent orphanization
    2fa929803530 ARM: dts: at91: sama5d4: fix pinctrl muxing
    ea45145e6cb4 ARM: dts: ux500: Fix LED probing
    b34aa5aaaa22 arm_pmu: Fix write counter incorrect in ARMv7 big-endian mode
    123c1b05b007 crypto: ccp - Annotate SEV Firmware file names
    834c47a387ae crypto: nx - Fix memcpy() over-reading in nonce
    b4c35e9e8061 Input: joydev - prevent use of not validated data in JSIOCSBTNMAP ioctl
    7b0393e6f6c8 iov_iter_fault_in_readable() should do nothing in xarray case
    b6df9e43d52d copy_page_to_iter(): fix ITER_DISCARD case
    d91638f70e81 selftests/lkdtm: Avoid needing explicit sub-shell
    1738bcf9e652 ntfs: fix validity check for file name attribute
    f794c839dff1 gfs2: Fix error handling in init_statfs
    3ae1c663bdeb gfs2: Fix underflow in gfs2_page_mkwrite
    b242ae99fac6 xhci: solve a double free problem while doing s4
    ff0f59d2d884 usb: typec: Add the missed altmode_id_remove() in typec_register_altmode()
    63d6029e6608 usb: dwc3: Fix debugfs creation flow
    022d22a311bb USB: cdc-acm: blacklist Heimann USB Appset device
    f9d9db593dcd usb: renesas-xhci: Fix handling of unknown ROM state
    3b545788505b usb: gadget: eem: fix echo command packet response issue
    c964c4682efb net: can: ems_usb: fix use-after-free in ems_usb_disconnect()
    a2ad0bddd0aa Input: usbtouchscreen - fix control-request directions
    23e8f468849d media: dvb-usb: fix wrong definition
    a6f433fd9e53 ALSA: hda/realtek: fix mute/micmute LEDs for HP EliteBook 830 G8 Notebook PC
    ba65dd6eb826 ALSA: hda/realtek: Apply LED fixup for HP Dragonfly G1, too
    13a05c7b434f ALSA: hda/realtek: Fix bass speaker DAC mapping for Asus UM431D
    37e179c0289f ALSA: hda/realtek: Improve fixup for HP Spectre x360 15-df0xxx
    ea824a31a3d2 ALSA: hda/realtek: fix mute/micmute LEDs for HP EliteBook x360 830 G8
    659b440a8d04 ALSA: hda/realtek: Add another ALC236 variant support
    36bc25ec61b0 ALSA: hda/realtek: fix mute/micmute LEDs for HP ProBook 630 G8
    0535de167b38 ALSA: hda/realtek: fix mute/micmute LEDs for HP ProBook 445 G8
    2a13d43821b2 ALSA: hda/realtek: fix mute/micmute LEDs for HP ProBook 450 G8
    9127b2770365 ALSA: intel8x0: Fix breakage at ac97 clock measurement
    19418ed317ca ALSA: usb-audio: scarlett2: Fix wrong resume call
    5c4d51b438f3 ALSA: firewire-motu: fix stream format for MOTU 8pre FireWire
    313a5e869d04 ALSA: usb-audio: Fix OOB access at proc output
    cfd3c66ca73a ALSA: usb-audio: fix rate on Ozone Z90 USB headset
    ae9957b3ee16 Bluetooth: Remove spurious error message
    f5af19889ff0 Bluetooth: btqca: Don't modify firmware contents in-place
    3cdcbd1b8ce3 Bluetooth: hci_qca: fix potential GPF

(From OE-Core rev: 3c48b0a7e2c52444a30038147e8247b786709edb)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-18 23:09:51 +01:00
Bruce Ashfield
449d638319 linux-yocto/5.13: update to v5.13.2
Updating linux-yocto/5.13 to the latest korg -stable release that comprises
the following commits:

    d6fc894baac7 Linux 5.13.2
    20a015e948b8 powerpc/preempt: Don't touch the idle task's preempt_count during hotplug
    51189a3c6e54 iommu/dma: Fix compile warning in 32-bit builds
    572b2a62a94f cred: add missing return error code when set_cred_ucounts() failed
    c3f65e8e26ee sched: Stop PF_NO_SETAFFINITY from being inherited by various init system threads
    f13f01567321 s390: preempt: Fix preempt_count initialization
    fbbd050e05d1 crypto: qce - fix error return code in qce_skcipher_async_req_handle()
    bd619678f674 scsi: core: Retry I/O for Notify (Enable Spinup) Required error
    d7c62923708b media: exynos4-is: remove a now unused integer
    8d3433ec89cc mmc: vub3000: fix control-request direction
    165d6c32f8d0 mmc: block: Disable CMDQ on the ioctl path
    03105a24cd2b io_uring: add IOPOLL and reserved field checks to IORING_OP_UNLINKAT
    4f5be8b54bd4 io_uring: add IOPOLL and reserved field checks to IORING_OP_RENAMEAT
    378a830c2608 io_uring: fix blocking inline submission
    89d2a15d0526 block: return the correct bvec when checking for gaps
    3f7e6cae2064 erofs: fix error return code in erofs_read_superblock()
    9d2da0b8863a tpm: Replace WARN_ONCE() with dev_err_once() in tpm_tis_status()
    5859c67160c3 fscrypt: fix derivation of SipHash keys on big endian CPUs
    119782bf159e fscrypt: don't ignore minor_hash when hash is 0
    2f2d7dc088c3 mailbox: qcom-ipcc: Fix IPCC mbox channel exhaustion
    610de611adae scsi: libfc: Correct the condition check and invalid argument passed
    17902d3eb4dd scsi: lpfc: Fix Node recovery when driver is handling simultaneous PLOGIs
    fc9f2f00424d scsi: lpfc: Fix unreleased RPIs when NPIV ports are created
    1d51f50c5af9 scsi: target: cxgbit: Unmap DMA buffer before calling target_execute_cmd()
    c593bc3cb872 scsi: fc: Correct RHBA attributes length
    63b60a83ce27 scsi: megaraid_sas: Send all non-RW I/Os for TYPE_ENCLOSURE device through firmware
    646efb94462b exfat: handle wrong stream entry size in exfat_readdir()
    43661346eb26 csky: syscache: Fixup duplicate cache flush
    268e8c75ecdf i2c: mpc: Restore reread of I2C status register
    ffa7e0d5920e perf llvm: Return -ENOMEM when asprintf() fails
    5d12814f02d4 selftests/vm/pkeys: refill shadow register after implicit kernel write
    328f60fa16d7 selftests/vm/pkeys: handle negative sys_pkey_alloc() return code
    b8e5d3ad5f5e selftests/vm/pkeys: fix alloc_random_pkey() to make it really, really random
    0ef6f9783957 lib/math/rational.c: fix divide by zero
    928003bd28c3 kfence: unconditionally use unbound work queue
    11ebc09e50dc mm/zswap.c: fix two bugs in zswap_writeback_entry()
    72b032f10071 mm: migrate: fix missing update page_private to hugetlb_page_subpool
    95d192da198d mm/z3fold: use release_z3fold_page_locked() to release locked z3fold page
    ccb7848e2344 mm/z3fold: fix potential memory leak in z3fold_destroy_pool()
    093d3fc8cb23 hugetlb: remove prep_compound_huge_page cleanup
    9f7229c901c1 mm/huge_memory.c: don't discard hugepage if other processes are mapping it
    f13259175e4f mm/huge_memory.c: add missing read-only THP checking in transparent_hugepage_enabled()
    afafd371e7de mm/huge_memory.c: remove dedicated macro HPAGE_CACHE_INDEX_MASK
    ada044539470 vfio/pci: Handle concurrent vma faults
    13a4d6ea398e powerpc/64s/interrupt: preserve regs->softe for NMI interrupts
    9924e27c19ac powerpc/64s: fix hash page fault interrupt handler
    4dcbce306d75 arm64: dts: marvell: armada-37xx: Fix reg for standard variant of UART
    25b601d9d877 serial: mvebu-uart: correctly calculate minimal possible baudrate
    59146c5835a4 serial: mvebu-uart: do not allow changing baudrate when uartclk is not available
    ce2d17c9801b ALSA: firewire-lib: Fix 'amdtp_domain_start()' when no AMDTP_OUT_STREAM stream is found
    1a09a3788772 powerpc: Fix is_kvm_guest() / kvm_para_available()
    0cbe9d9639d1 powerpc/papr_scm: Make 'perf_stats' invisible if perf-stats unavailable
    3ffbbc876404 powerpc/64s: Fix copy-paste data exposure into newly created tasks
    ba824a836d68 powerpc/papr_scm: Properly handle UUID types and API
    410006801ea4 powerpc: Offline CPU in stop_this_cpu()
    ed87ec89b7f6 serial: 8250: 8250_omap: Fix possible interrupt storm on K3 SoCs
    a8f4bf372aae staging: rtl8723bs: Fix an error handling path
    905bb4b7c2c1 selftests/sgx: remove checks for file execute permissions
    16bd2acbad85 selftests/ftrace: fix event-no-pid on 1-core machine
    5b2499ec3fb0 leds: ktd2692: Fix an error handling path
    2f0b82e12dbc leds: as3645a: Fix error return code in as3645a_parse_node()
    3a75092cac53 ASoC: fsl_spdif: Fix unexpected interrupt after suspend
    d759ee26be7c ASoC: Intel: sof_sdw: add SOF_RT715_DAI_ID_FIX for AlderLake
    19a4d95bfadd configfs: fix memleak in configfs_release_bin_file
    2c3bf6723aa5 ASoC: fsl_xcvr: disable all interrupts when suspend happens
    86f6ad630bfa ASoC: atmel-i2s: Fix usage of capture and playback at the same time
    0f2f89c0642a ASoC: atmel-i2s: Set symmetric sample bits
    7ff5db55f657 powerpc/powernv: Fix machine check reporting of async store errors
    c6c8a250117f extcon: max8997: Add missing modalias string
    3076d98e2c7f extcon: sm5502: Drop invalid register write in sm5502_reg_data
    b27d30b9a006 phy: ti: dm816x: Fix the error handling path in 'dm816x_usb_phy_probe()
    a3b870c5f130 phy: uniphier-pcie: Fix updating phy parameters
    96e9297738d6 soundwire: stream: Fix test for DP prepare complete
    f7150fc410e7 scsi: mpt3sas: Fix error return value in _scsih_expander_add()
    6e0b909ad746 habanalabs: Fix an error handling path in 'hl_pci_probe()'
    e0eaeea9a9ff mtd: rawnand: marvell: add missing clk_disable_unprepare() on error in marvell_nfc_resume()
    93968d634142 of: Fix truncation of memory sizes on 32-bit platforms
    fe1870f414cb ASoC: cs42l42: Correct definition of CS42L42_ADC_PDN_MASK
    db91960d40bc iio: prox: isl29501: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
    4637815d7922 iio: light: vcnl4035: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
    1e8c05290286 serial: 8250: Actually allow UPF_MAGIC_MULTIPLIER baud rates
    63432a8b2af2 usb: phy: tegra: Correct definition of B_SESS_VLD_WAKEUP_EN bit
    13c6cb27fe17 usb: phy: tegra: Wait for VBUS wakeup status deassertion on suspend
    94dd90587784 staging: mt7621-dts: fix pci address for PCI memory range
    ab28a20dda47 coresight: core: Fix use of uninitialized pointer
    5f7ce5c416f4 staging: rtl8712: fix memory leak in rtl871x_load_fw_cb
    7709bce7514d staging: rtl8712: fix error handling in r871xu_drv_init
    cf011614add0 staging: gdm724x: check for overflow in gdm_lte_netif_rx()
    b48eb064f4ef staging: gdm724x: check for buffer overflow in gdm_lte_multi_sdu_pkt()
    bf0c039cd5d8 ASoC: fsl_spdif: Fix error handler with pm_runtime_enable
    a122de486271 iio: light: vcnl4000: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
    181d881980c0 iio: magn: rm3100: Fix alignment of buffer in iio_push_to_buffers_with_timestamp()
    3563bb70d6ba iio: adc: ti-ads8688: Fix alignment of buffer in iio_push_to_buffers_with_timestamp()
    129cef3b2a6c iio: adc: mxs-lradc: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
    4a67fd76a418 iio: adc: hx711: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
    60882b0995a3 iio: adc: at91-sama5d2: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
    5e8a3efb3e9c iio: dummy: Fix build error when CONFIG_IIO_TRIGGERED_BUFFER is not set
    d4ff9e9ed5af kunit: Fix result propagation for parameterised tests
    61dc159ec20e mtd: spinand: Fix double counting of ECC stats
    505056e4bdc2 thunderbolt: Bond lanes only when dual_link_port != NULL in alloc_dev_default()
    ab9e76493196 mtd: spi-nor: otp: return -EROFS if region is read-only
    534ba50f4de9 mtd: spi-nor: otp: fix access to security registers in 4 byte mode
    3802b97849b6 eeprom: idt_89hpesx: Restore printing the unsupported fwnode name
    21652cc1d368 eeprom: idt_89hpesx: Put fwnode in matching case during ->probe()
    9d5d1903cde3 usb: dwc2: Don't reset the core after setting turnaround time
    3328f627c90b usb: gadget: f_fs: Fix setting of device and driver data cross-references
    e78e2c04941a ASoC: mediatek: mtk-btcvsd: Fix an error handling path in 'mtk_btcvsd_snd_probe()'
    8a7cbece6b69 ASoC: rt711-sdca: handle mbq_regmap in rt711_sdca_io_init
    060735a28a1f ASoC: rt711-sdca-sdw: add readable for SDW_SDCA_CTL() registers
    c7c275d9930c ASoC: rt5682-sdw: set regcache_cache_only false before reading RT5682_DEVICE_ID
    186373129258 ASoC: rt5682: Fix a problem with error handling in the io init function of the soundwire
    5544d5522a19 ASoC: rt715-sdca: fix clock stop prepare timeout issue
    15e920874b4d ASoC: rt715-sdw: use first_hw_init flag on resume
    ea62150dd733 ASoC: rt715-sdca-sdw: use first_hw_init flag on resume
    7b87d4763fe2 ASoC: rt711-sdw: use first_hw_init flag on resume
    9c06ea07f82e ASoC: rt711-sdca-sdw: use first_hw_init flag on resume
    7baba8a47772 ASoC: rt700-sdw: use first_hw_init flag on resume
    b4b4f4c0df1f ASoC: rt5682-sdw: use first_hw_init flag on resume
    d2d2558c1920 ASoC: rt1316-sdw: use first_hw_init flag on resume
    b1cdc0cdf894 ASoC: rt1308-sdw: use first_hw_init flag on resume
    c96efdc4e755 ASoC: max98373-sdw: use first_hw_init flag on resume
    fd999972a61b ASoC: max98373-sdw: add missing memory allocation check
    0420caf49693 iommu/dma: Fix IOVA reserve dma ranges
    2efa055728cd selftests: splice: Adjust for handler fallback removal
    c7f4ec0649dc s390: appldata depends on PROC_SYSCTL
    11a86e01ae29 s390: enable HAVE_IOREMAP_PROT
    5cef83686407 iommu/amd: Tidy up DMA ops init
    a935344b6dac iommu/amd: Fix extended features logging
    a9c55cbadef5 visorbus: fix error return code in visorchipset_init()
    3886a5e6bbe3 fsi/sbefifo: Fix reset timeout
    657cd9acd6ef fsi/sbefifo: Clean up correct FIFO when receiving reset request from SBE
    ebb29df21cec fsi: occ: Don't accept response from un-initialized OCC
    485d8c421dbc fsi: scom: Reset the FSI2PIB engine for any error
    7d884f6f7faa fsi: core: Fix return of error values on failures
    51ab817f8a0b mfd: rn5t618: Fix IRQ trigger by changing it to level mode
    f0a5801a8df2 mfd: Remove software node conditionally and locate at right place
    cffae75db764 mfd: mp2629: Select MFD_CORE to fix build error
    270c97c23e0d scsi: iscsi: Flush block work before unblock
    bee1e10216dc scsi: iscsi: Fix in-kernel conn failure handling
    3f1782fc50f9 scsi: iscsi: Rel ref after iscsi_lookup_endpoint()
    96a6275ea900 scsi: iscsi: Use system_unbound_wq for destroy_work
    6622a20c1c70 scsi: iscsi: Force immediate failure during shutdown
    901d6de154af scsi: iscsi: Stop queueing during ep_disconnect
    c7db90f1ad98 scsi: FlashPoint: Rename si_flags field
    710c7ffff9ae leds: lp50xx: Put fwnode in error case during ->probe()
    93d38eec2923 leds: lm3697: Don't spam logs when probe is deferred
    a20a178d2aaf leds: lm3692x: Put fwnode in any case during ->probe()
    4c8bfceb5c40 leds: lm36274: Put fwnode in error case during ->probe()
    0045de214652 leds: lm3532: select regmap I2C API
    bd9b145ab8ab leds: lgm-sso: Fix clock handling
    fee25ffa1454 leds: class: The -ENOTSUPP should never be seen by user space
    e25b5dcc4c86 tty: nozomi: Fix the error handling path of 'nozomi_card_init()'
    1d1edde89cb4 firmware: stratix10-svc: Fix a resource leak in an error handling path
    51790ca96fd0 misc/pvpanic-mmio: Fix error handling in 'pvpanic_mmio_probe()'
    a9ecb8bc82ab misc/pvpanic-pci: Fix error handling in 'pvpanic_pci_probe()'
    b91a065a5ba4 char: pcmcia: error out if 'num_bytes_read' is greater than 4 in set_protocol()
    f46e3fd7d965 staging: mmal-vchiq: Fix incorrect static vchiq_instance.
    9e6812ac02cb mtd: rawnand: arasan: Ensure proper configuration for the asserted target
    765beb5ef9da mtd: parsers: qcom: Fix leaking of partition name
    d5023eb76f0d mtd: partitions: redboot: seek fis-index-block in the right node
    e6fd14af0e6b perf scripting python: Fix tuple_set_u64()
    693c6dc2bdb3 Input: hil_kbd - fix error return code in hil_dev_connect()
    0a663843c2d5 ASoC: rsnd: tidyup loop on rsnd_adg_clk_query()
    524f37995032 usb: typec: tcpm: Fix up PR_SWAP when vsafe0v is signalled
    69660a9aee19 backlight: lm3630a_bl: Put fwnode in error case during ->probe()
    bed4f1f93767 ASoC: hisilicon: fix missing clk_disable_unprepare() on error in hi6210_i2s_startup()
    4f662271fc5b ASoC: rk3328: fix missing clk_disable_unprepare() on error in rk3328_platform_probe()
    af74662aaa87 iio: potentiostat: lmp91000: Fix alignment of buffer in iio_push_to_buffers_with_timestamp()
    90c16bad0d13 iio: cros_ec_sensors: Fix alignment of buffer in iio_push_to_buffers_with_timestamp()
    b1d6d4cecdaa iio: chemical: atlas: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
    5499e7544736 iio: light: tcs3472: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
    57df003962c4 iio: light: tcs3414: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
    61aa73978ae5 iio: light: isl29125: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
    b25f1318c124 iio: magn: bmc150: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
    d40bbe4ccfe6 iio: magn: hmc5843: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
    c8d0c967c042 iio: prox: as3935: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
    ca40b4e4d0fb iio: prox: pulsed-light: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
    f124951d8b2f iio: prox: srf08: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
    870214f4d617 iio: humidity: am2315: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
    e41a3882768d iio: gyro: bmg160: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
    64dff722b0df iio: adc: vf610: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
    c4302d44f1f1 iio: adc: ti-ads1015: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
    927a7d88f085 iio: accel: stk8ba50: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
    cc3e33b0c9a4 iio: accel: stk8312: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
    3ef6d9ff5b73 iio: accel: mxc4005: Fix overread of data and alignment issue.
    f8bd73333948 iio: accel: kxcjk-1013: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
    8d49028df646 iio: accel: hid: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
    72daeb5f020e iio: accel: bma220: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
    b9e837d4a7a4 iio: accel: bma180: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
    0a918214b71a iio: adis16475: do not return ints in irq handlers
    cac49141208a iio: adis16400: do not return ints in irq handlers
    7ad60ebd7c04 iio: adis_buffer: do not return ints in irq handlers
    52728a7966da mwifiex: re-fix for unaligned accesses
    b25bc3e21b80 phy: ralink: phy-mt7621-pci: properly print pointer address
    c99410c9223d tty: nozomi: Fix a resource leak in an error handling function
    527cc7317abf serial: 8250_omap: fix a timeout loop condition
    d12c159cdd24 serial: fsl_lpuart: remove RTSCTS handling from get_mctrl()
    032c57aadf36 serial: fsl_lpuart: don't modify arbitrary data on lpuart32
    75f27ce5b93b rcu: Invoke rcu_spawn_core_kthreads() from rcu_spawn_gp_kthread()
    0b5edb884bf7 ASoC: rt5682: Disable irq on shutdown
    6dfbed1ac573 staging: fbtft: Don't spam logs when probe is deferred
    37a3335c1b45 staging: fbtft: Rectify GPIO handling
    3fc3179becfa staging: rtl8712: Fix some tests against some 'data' subtype frames
    466654d21be1 MIPS: Fix PKMAP with 32-bit MIPS huge page support
    7ab2438efaba RDMA/core: Always release restrack object
    d19a51aaafcf RDMA/mlx5: Don't access NULL-cleared mpi pointer
    420451e090ee net: tipc: fix FB_MTU eat two pages
    281c4b33035b net: sched: fix warning in tcindex_alloc_perfect_hash
    37287acdae77 net: lwtunnel: handle MTU calculation in forwading
    cae2f265c5a9 writeback: fix obtain a reference to a freeing memcg css
    6eeb73fa1492 bpf, x86: Fix extable offset calculation
    514795d6fb84 clk: si5341: Update initialization magic
    2f19f9ef84c2 clk: si5341: Check for input clock presence and PLL lock on startup
    f09f20dc21b2 clk: si5341: Avoid divide errors due to bogus register contents
    91a1de176b94 clk: si5341: Wait for DEVICE_READY on startup
    884a39889228 clk: qcom: clk-alpha-pll: fix CAL_L write in alpha_pll_fabia_prepare
    39468899710a clk: actions: Fix AHPPREDIV-H-AHB clock chain on Owl S500 SoC
    bb4367cc3722 clk: actions: Fix bisp_factor_table based clocks on Owl S500 SoC
    7f8d9cca344f clk: actions: Fix SD clocks factor table on Owl S500 SoC
    059f4c4ca01e clk: actions: Fix UART clock dividers on Owl S500 SoC
    51c2a6cd472a clk: qcom: gcc: Add support for a new frequency for SC7280
    4c41eceb422b Bluetooth: Fix handling of HCI_LE_Advertising_Set_Terminated event
    606c3bdfa66a Bluetooth: Fix Set Extended (Scan Response) Data
    077f680b0e36 Bluetooth: mgmt: Fix slab-out-of-bounds in tlv_data_is_valid
    3b760a0a24c7 Bluetooth: virtio_bt: add missing null pointer check on alloc_skb call return
    bed9525b9322 clk: zynqmp: fix compile testing without ZYNQMP_FIRMWARE
    5fe0ca3d5d92 Revert "be2net: disable bh with spin_lock in be_process_mcc"
    51a36dde7aa5 gve: Fix swapped vars when fetching max queues
    58faaa992dee RDMA/cma: Fix incorrect Packet Lifetime calculation
    2eddafd7ec46 bpfilter: Specify the log level for the kmsg message
    9c34dfa6f036 net: dsa: sja1105: fix NULL pointer dereference in sja1105_reload_cbs()
    f6bb341b08ae e1000e: Check the PCIm state
    f5311a0c02aa ipv6: fix out-of-bound access in ip6_parse_tlv()
    710f87cb04f9 net: atlantic: fix the macsec key length
    d22eadd94ca5 net: phy: mscc: fix macsec key length
    70521208f6ce net: macsec: fix the length used to copy the key for offloading
    1e3b94af52bf RDMA/cma: Protect RMW with qp_mutex
    3e174152dfb9 ibmvnic: free tx_pool if tso_pool alloc fails
    ca854faf0b85 ibmvnic: set ltb->buff to NULL after freeing
    781b69c0d216 ibmvnic: account for bufs already saved in indir_buf
    5142c3925338 ibmvnic: clean pending indirect buffs during reset
    eacd61111d91 Revert "ibmvnic: remove duplicate napi_schedule call in open function"
    e7f3c4348fb1 Revert "ibmvnic: simplify reset_long_term_buff function"
    8b09cfd020cf RDMA/hns: Add window selection field of congestion control
    f067cd951611 RDMA/hns: Add a check to ensure integer mtu is positive
    8853324cd846 i40e: Fix missing rtnl locking when setting up pf switch
    431557e806dc i40e: Fix autoneg disabling for non-10GBaseT links
    7cd87f624d5e i40e: Fix error handling in i40e_vsi_open
    138fa2ab24ae bpf: Do not change gso_size during bpf_skb_change_proto()
    c7e78a1b0af7 can: j1939: j1939_sk_setsockopt(): prevent allocation of j1939 filter for optlen == 0
    59e8f3f131a1 ipv6: exthdrs: do not blindly use init_net
    80dbfebba92f net: bcmgenet: Fix attaching to PYH failed on RPi 4B
    abca3782c5d6 mac80211: remove iwlwifi specific workaround NDPs of null_response
    be7be4caa6d0 drm/msm/dpu: Fix error return code in dpu_mdss_init()
    48a14a2d67e9 drm/msm: Fix error return code in msm_drm_init()
    e75247cd4522 drm/msm/disp/dpu1: avoid perf update in frame done event
    17992ed2fb98 drm/msm/dp: handle irq_hpd with sink_count = 0 correctly
    b8a6022adad6 bpf: Fix null ptr deref with mixed tail calls and subprogs
    7fc2cbe4c840 ieee802154: hwsim: avoid possible crash in hwsim_del_edge_nl()
    812801e0b924 ieee802154: hwsim: Fix memory leak in hwsim_add_one
    4416dc914cca RDMA/hns: Fix uninitialized variable
    5fc0d1725e73 RDMA/hns: Force rewrite inline flag of WQE
    3c4a4c05b01f tc-testing: fix list handling
    d44313d1240c net: ti: am65-cpsw-nuss: Fix crash when changing number of TX queues
    9d47eeb96ddc net: broadcom: bcm4908_enet: reset DMA rings sw indexes properly
    a7d381c90c4b net/ipv4: swap flow ports when validating source
    6380a373f9d1 ip6_tunnel: fix GRE6 segmentation
    a1a10328ddab mptcp: avoid race on msk state changes
    027c5a4c89ec bpf: Fix integer overflow in argument calculation for bpf_map_area_alloc
    f4ecb17d3ad4 vxlan: add missing rcu_read_lock() in neigh_reduce()
    f433230c5433 rtw88: 8822c: fix lc calibration timing
    1f7495df501f bpf: Fix regression on BPF_OBJ_GET with non-O_RDWR flags
    ef8f0bdbb724 iwlwifi: increase PNVM load timeout
    e47311366a79 netfilter: nf_tables: do not allow to delete table with owner by handle
    1433324d08ab netfilter: nf_tables: skip netlink portID validation if zero
    445e7e3cfe74 xfrm: Fix xfrm offload fallback fail case
    8e3823a5d97b pkt_sched: sch_qfq: fix qfq_change_class() error path
    7c8e4bc68e58 net: dsa: mv88e6xxx: Fix adding vlan 0
    c648c4bd3233 net: mana: Fix a memory leak in an error handling path in 'mana_create_txq()'
    7dc2320844fe mptcp: fix 32 bit DSN expansion
    9405815dad41 mptcp: fix bad handling of 32 bit ack wrap-around
    4a4d230b1778 netfilter: nf_tables_offload: check FLOW_DISSECTOR_KEY_BASIC in VLAN transfer logic
    09b1f676e2e0 netfilter: nf_tables: memleak in hw offload abort path
    0fe29dd70194 tls: prevent oversized sendfile() hangs by ignoring MSG_MORE
    6f26c4e638cd selftests: tls: fix chacha+bidir tests
    f4b35106f13c selftests: tls: clean up uninitialized warnings
    99b0c836b3d8 net: sched: add barrier to ensure correct ordering for lockless qdisc
    754da271ff3e vrf: do not push non-ND strict packets with a source LLA through packet taps again
    74a084743db0 skmsg: Teach sk_psock_verdict_apply() to return errors
    a72fd1ef2ddf skmsg: Fix a memory leak in sk_psock_verdict_apply()
    60eef5b7eecb skmsg: Clear skb redirect pointer before dropping it
    b2265f3e7fbe udp: Fix a memory leak in udp_read_sock()
    600a68d582b7 selftests/bpf: Retry for EAGAIN in udp_redir_to_connected()
    48c858a38ad2 net: ethernet: ezchip: fix error handling
    062e01fdb281 net: ethernet: ezchip: fix UAF in nps_enet_remove
    7e6f10fb798f net: ethernet: aeroflex: fix UAF in greth_of_remove
    d07ebb093e08 mt76: mt7921: fix the coredump is being truncated
    29ba2ad0ff18 mt76: mt7921: fix kernel warning when reset on vif is not sta
    611beba9b300 mt76: mt7915: fix rx fcs error count in testmode
    0a446c73492b mt76: mt7921: wake the device before dumping power table
    3acae0c71d2b mt76: mt7915: fix MT_EE_CAL_GROUP_SIZE
    734f5fe1b860 mt76: mt7615: fix potential overflow on large shift
    31635a9389f9 mt76: testmode: remove undefined behaviour in mt76_testmode_alloc_skb
    5b2deebec2b9 mt76: testmode: fix memory leak in mt76_testmode_alloc_skb
    2e25e8e35ab6 mt76: mt7921: do not schedule hw reset if the device is not running
    d26261090df5 mt76: mt7921: avoid unnecessary consecutive WiFi resets
    7c041b2b416a mt76: mt7921: fix OMAC idx usage
    7fd445618a31 mt76: mt7921: fix invalid register access in wake_work
    9d9fb322b13d mt76: mt7921: add back connection monitor support
    fcab20e23e3c mt76: mt7921: consider the invalid value for to_rssi
    a889b3e5efbb mt76: connac: fix WoW with disconnetion and bitmap pattern
    3c72c4f4013b mt76: connac: fw_own rely on all packet memory all being free
    7966772888c3 mt76: mt7921: Don't alter Rx path classifier
    ca72aaa9bdeb mt76: mt7921: fix mt7921_wfsys_reset sequence
    6d4004306f3a mt76: mt7615: fix NULL pointer dereference in tx_prepare_skb()
    fb63ea6702f4 mt76: fix possible NULL pointer dereference in mt76_tx
    57fa5990a28d mt76: mt7915: fix a signedness bug in mt7915_mcu_apply_tx_dpd()
    ba9232736dd4 net: pxa168_eth: Fix a potential data race in pxa168_eth_remove
    a00c9faf7efa samples/bpf: Fix the error return code of xdp_redirect's main()
    9abfeb4e2c5f samples/bpf: Fix Segmentation fault for xdp_redirect command
    a6f6a2fe3f2c RDMA/hns: Clear extended doorbell info before using
    fffdf02df829 RDMA/rtrs-srv: Set minimal max_send_wr and max_recv_wr
    3cb841954361 bpf: Fix libelf endian handling in resolv_btfids
    01faf195e638 xsk: Fix broken Tx ring validation
    85912942f7fb xsk: Fix missing validation for skb and unaligned mode
    95599ef3256c selftests/bpf: Fix ringbuf test fetching map FD
    bb5639045961 selftests/bpf: Whitelist test_progs.h from .gitignore
    f35dd32ac502 RDMA/rxe: Fix qp reference counting for atomic ops
    d8a190f35b3b netfilter: nft_tproxy: restrict support to TCP and UDP transport protocols
    da0fa9a91fbd netfilter: nft_osf: check for TCP packet before further processing
    34a76bb820d6 netfilter: nft_exthdr: check for IPv6 packet before further processing
    803ffe5f1fa5 RDMA/mlx5: Don't add slave port to unaffiliated list
    e3fdf2f3cbbf netlabel: Fix memory leak in netlbl_mgmt_add_common
    4074391995a6 wil6210: remove erroneous wiphy locking
    c497a0c9c457 ath11k: send beacon template after vdev_start/restart during csa
    7f72b0b6c15a ath10k: Fix an error code in ath10k_add_interface()
    ab8fee33b6ec ath11k: Fix an error handling path in ath11k_core_fetch_board_data_api_n()
    fdb3f590eb4a cw1200: Revert unnecessary patches that fix unreal use-after-free bugs
    eb6219ebf416 brcmsmac: mac80211_if: Fix a resource leak in an error handling path
    f257ee3efae5 brcmfmac: Delete second brcm folder hierarchy
    837f0c940b49 brcmfmac: Fix a double-free in brcmf_sdio_bus_reset
    35bb54ed3124 brcmfmac: correctly report average RSSI in station info
    da997cc14d9b brcmfmac: fix setting of station info chains bitmask
    aa68a411acd0 ssb: Fix error return code in ssb_bus_scan()
    88d70c35d1bf drm/i915/selftests: Reorder tasklet_disable vs local_bh_disable
    c1df1d2271da net: wwan: Fix WWAN config symbols
    af6eaa8f7031 wcn36xx: Move hal_buf allocation to devm_kmalloc in probe
    4ec8141fe718 clk: imx8mq: remove SYS PLL 1/2 clock gates
    0757175bd62f ieee802154: hwsim: Fix possible memory leak in hwsim_subscribe_all_others
    e41dc10d83b7 wireless: carl9170: fix LEDS build errors & warnings
    4407f2b03b32 ath10k: add missing error return code in ath10k_pci_probe()
    bce39420d111 ath10k: go to path err_unsupported when chip id is not supported
    f3fe80f74081 tools/bpftool: Fix error return code in do_batch()
    944be014f9c1 net: stmmac: Fix potential integer overflow
    c7cfbf45325a stmmac: prefetch right address
    6be3f2d04fbe drm: qxl: ensure surf.data is ininitialized
    296031d154af clk: vc5: fix output disabling when enabling a FOD
    ef06eab3b9a6 drm/vc4: hdmi: Fix error path of hpd-gpios
    8434d0dadad3 drm/pl111: Actually fix CONFIG_VEXPRESS_CONFIG depends
    616a5ba2f822 RDMA/rxe: Fix failure during driver load
    987e84710dc7 drm/pl111: depend on CONFIG_VEXPRESS_CONFIG
    16723287bd62 IB/cm: Improve the calling of cm_init_av_for_lap and cm_init_av_by_path
    325554115332 Revert "IB/cm: Mark stale CM id's whenever the mad agent was unregistered"
    020155e97970 IB/cm: Split cm_alloc_msg()
    ad6608cdd66d IB/cm: Pair cm_alloc_response_msg() with a cm_free_response_msg()
    66dfc041f8a9 RDMA/core: Sanitize WQ state received from the userspace
    9c13e23c16d6 net/sched: act_vlan: Fix modify to allow 0
    9177b18f8b54 xfrm: remove the fragment check for ipv6 beet mode
    ee3582564a16 clk: tegra30: Use 300MHz for video decoder by default
    96d211bddcf6 ehea: fix error return code in ehea_restart_qps()
    ca86c8cc2643 RDMA/rtrs-clt: Fix memory leak of not-freed sess->stats and stats->pcpu_stats
    84d3b0760dfc RDMA/rtrs-clt: Check if the queue_depth has changed during a reconnection
    b69606171c14 RDMA/rtrs-srv: Fix memory leak when having multiple sessions
    1ec059871932 RDMA/rtrs-srv: Fix memory leak of unfreed rtrs_srv_stats object
    7fa6e4879492 RDMA/rtrs: Do not reset hb_missed_max after re-connection
    05c10aaaa068 RDMA/rtrs-clt: Check state of the rtrs_clt_sess before reading its stats
    695f54b87dc9 RDMA/srp: Fix a recently introduced memory leak
    c49229641646 RDMA/hns: Fix wrong timer context buffer page size
    63919d8eada1 mptcp: make sure flag signal is set when add addr with port
    e1c7a2f1f185 mptcp: generate subflow hmac after mptcp_finish_join()
    4eafee9b9ef6 mptcp: fix pr_debug in mptcp_token_new_connect
    005d5d547fdc drm/rockchip: cdn-dp: fix sign extension on an int multiply for a u64 result
    64751457f5ef drm/rockchip: lvds: Fix an error handling path
    a087222cde4e drm/rockchip: dsi: move all lane config except LCDC mux to bind()
    0070511f03d1 drm/rockchip: cdn-dp-core: add missing clk_disable_unprepare() on error in cdn_dp_grf_write()
    e9815b831963 drm: rockchip: set alpha_en to 0 if it is not used
    8cb95b48901e drm/vc4: crtc: Lookup the encoder from the register at boot
    81ae7270122f drm/vc4: crtc: Fix vc4_get_crtc_encoder logic
    bba1c86f1156 drm/vc4: crtc: Pass the drm_atomic_state to config_pv
    0e9dce911326 clk: sunxi-ng: v3s: fix incorrect postdivider on pll-audio
    e1fd4e8e99e5 clk: rockchip: fix rk3568 cpll clk gate bits
    8989945c62c7 net: ftgmac100: add missing error return code in ftgmac100_probe()
    9834e8264623 drm/amd/display: take dc_lock in short pulse handler only
    700c74b34241 drm/amd/display: Avoid HPD IRQ in GPU reset state
    490649a08850 drm/amd/display: fix potential gpu reset deadlock
    5dd6cdd732df clk: meson: g12a: fix gp0 and hifi ranges
    e5c790fd50cf net: qrtr: ns: Fix error return code in qrtr_ns_init()
    78c9dc7c59f8 drm/i915: Merge fix for "drm: Switch to %p4cc format modifier"
    26bbe384ea65 libbpf: Fix ELF symbol visibility update logic
    47bba472eba5 drm/vmwgfx: Fix cpu updates of coherent multisample surfaces
    6fd687491711 drm/vmwgfx: Mark a surface gpu-dirty after the SVGA3dCmdDXGenMips command
    b400d6618f0d RDMA/hns: Remove the condition of light load for posting DWQE
    bea7a8218abc pinctrl: renesas: r8a77990: JTAG pins do not have pull-down capabilities
    c2331bec030a pinctrl: renesas: r8a7796: Add missing bias for PRESET# pin
    35713cfa8c64 net: pch_gbe: Propagate error from devm_gpio_request_one()
    8487f76454dd net: mvpp2: Put fwnode in error case during ->probe()
    4e953e501b9f rtnetlink: avoid RCU read lock when holding RTNL
    2e023412a150 drm/imx: ipuv3-plane: fix PRG modifiers after drm managed resource conversion
    99631d4f4e9a drm/imx: ipuv3-plane: do not advertise YUV formats on planes without CSC
    7c15cfa409d8 video: fbdev: imxfb: Fix an error message
    a5eebe5b3258 drm/bridge: fix LONTIUM_LT8912B dependencies
    918fd0d654c8 drm/bridge: anx7625: Fix power on delay
    61eab97d07ef drm/ast: Fix missing conversions to managed API
    5164492766f4 drm/amd/dc: Fix a missing check bug in dm_dp_mst_detect()
    89714541150a drm/bridge: Fix the stop condition of drm_bridge_chain_pre_enable()
    725d15c4427a drm/bridge/sii8620: fix dependency on extcon
    d3209bf8be21 xfrm: xfrm_state_mtu should return at least 1280 for ipv6
    67a7436a51ae mm/page_alloc: fix counting of managed_pages
    b38b1d0b34dd mm: memcg/slab: properly set up gfp flags for objcg pointer array
    a533a21b692f mm/shmem: fix shmem_swapin() race with swapoff
    c3b39134bbd0 swap: fix do_swap_page() race with swapoff
    c24d5da468e4 mm: mmap_lock: use local locks instead of disabling preemption
    f9416bf072fe mm/debug_vm_pgtable: ensure THP availability via has_transparent_hugepage()
    a800caba3854 dax: fix ENOMEM handling in grab_mapping_entry()
    1e515576f826 ocfs2: fix snprintf() checking
    4e38237b3a52 blk-mq: update hctx->dispatch_busy in case of real scheduler
    1ae8fd0cfaec block: fix trace completion for chained bio
    c4b228181982 PM / devfreq: passive: Fix get_target_freq when not using required-opp
    e3ff9b26bbb2 cpufreq: Make cpufreq_online() call driver->offline() on errors
    3baa60e2801e ACPI: bgrt: Fix CFI violation
    ad90f92825de block, bfq: reset waker pointer with shared queues
    833cf2c80aa3 block, bfq: avoid delayed merge of async queues
    30d5c741d111 blk-wbt: make sure throttle is enabled properly
    1c0d0e179994 blk-wbt: introduce a new disable state to prevent false positive by rwb_enabled()
    9dc613454be9 EDAC/igen6: fix core dependency
    b0f3df13bdc7 ACPI: APEI: fix synchronous external aborts in user-mode
    98c349bb2782 extcon: extcon-max8997: Fix IRQ freeing at error path
    adfbc32044cd nvme-tcp: fix error codes in nvme_tcp_setup_ctrl()
    f1a3f6f8ef13 clocksource/drivers/timer-ti-dm: Save and restore timer TIOCP_CFG
    31d1545b81a7 HID: surface-hid: Fix get-report request
    3e556500bd49 md: revert io stats accounting
    d67ff22c7fc8 mark pstore-blk as broken
    780ce7b2994f ACPI: sysfs: Fix a buffer overrun problem with description_show()
    942511da9f3e ACPI: tables: FPDT: Add missing acpi_put_table() in acpi_init_fpdt()
    620f58c6c0d8 nvme-pci: look for StorageD3Enable on companion ACPI device instead
    52a535c630e5 x86/hyperv: fix logical processor creation
    9ec73d75f8c6 block: avoid double io accounting for flush request
    25adea167870 ACPI: PM / fan: Put fan device IDs into separate header file
    7e95c52cb786 PM / devfreq: Add missing error code in devfreq_add_device()
    73bbd350e9eb EDAC/aspeed: Use proper format string for printing resource
    a976b32a125f media: s5p-mfc: Fix display delay control creation
    f77ecd22b784 media: mtk-vpu: on suspend, read/write regs only if vpu is running
    e92492c7cb15 media: video-mux: Skip dangling endpoints
    27a1251783a5 KVM: selftests: Remove errant asm/barrier.h include to fix arm64 build
    aa138d422904 KVM: selftests: fix triple fault if ept=0 in dirty_log_test
    979965c33f73 psi: Fix race between psi_trigger_create/destroy
    a476aa9eea4b objtool: Don't make .altinstructions writable
    c7c6fb95d7c4 crypto: nx - Fix RCU warning in nx842_OF_upd_status
    10a5921d19c7 perf: Fix task context PMU for Hetero
    48a513f67b27 spi: spi-sun6i: Fix chipselect/clock bug
    0a32c742e877 x86/sev: Use "SEV: " prefix for messages from sev.c
    a2c53d934a91 lockdep/selftests: Fix selftests vs PROVE_RAW_LOCK_NESTING
    5fd218de86a3 lockdep: Fix wait-type for empty stack
    eed2284c449f sched/uclamp: Fix uclamp_tg_restrict()
    00e1a563f1ec sched/rt: Fix Deadline utilization tracking during policy change
    b5ee2425eaf6 sched/rt: Fix RT utilization tracking during policy change
    c6362a74da0c x86/sev: Split up runtime #VC handler for correct state tracking
    99e67ee2a1f8 x86/sev: Make sure IRQs are disabled while GHCB is active
    c7b63ad221fb btrfs: clear log tree recovering status if starting transaction fails
    f65ff29ff3a5 regulator: bd9576: Fix the driver name in id table
    3fefb73f890d regulator: hi6421v600: Fix setting idle mode
    cf6fd4b281a6 regulator: qcom-rpmh: Add terminator at the end of pm7325x_vreg_data[] array
    35cf50efb779 regulator: hi655x: Fix pass wrong pointer to config.driver_data
    33e8f03d5950 KVM: arm64: Don't zero the cycle count register when PMCR_EL0.P is set
    50cd74c7f38a perf/arm-cmn: Fix invalid pointer when access dtc object sharing the same IRQ number
    e96f6d4bb390 KVM: x86/mmu: Fix pf_fixed count in tdp_mmu_map_handle_target_level()
    5f7fe9c419e7 KVM: x86/mmu: Fix return value in tdp_mmu_map_handle_target_level()
    31678100f32a KVM: nVMX: Don't clobber nested MMU's A/D status on EPTP switch
    ffaaf321c09c KVM: nVMX: Ensure 64-bit shift when checking VMFUNC bitmap
    2e5c0d69ec46 KVM: nVMX: Sync all PGDs on nested transition with shadow paging
    80c0f6a4f636 KVM: nVMX: Add a return code to vmx_complete_nested_posted_interrupt
    8077ff1eeccb hwmon: (max31790) Fix fan speed reporting for fan7..12
    8ba1cbcacb8d hwmon: (max31722) Remove non-standard ACPI device IDs
    4d557422aa28 hwmon: (lm70) Revert "hwmon: (lm70) Add support for ACPI"
    1288a814a1b0 hwmon: (pmbus/bpa-rs600) Handle Vin readings >= 256V
    41e7e8d94576 media: i2c: rdacm21: Power up OV10640 before OV490
    10cd7a128225 media: i2c: rdacm21: Fix OV10640 powerup
    bd03f1cf32a1 media: s5p-g2d: Fix a memory leak on ctx->fh.m2m_ctx
    b3362260388a media: subdev: remove VIDIOC_DQEVENT_TIME32 handling
    52d7255c1432 media: v4l2-core: ignore native time32 ioctls on 64-bit
    99876d2f3316 arm64/mm: Fix ttbr0 values stored in struct thread_info for software-pan
    c8255c905aa1 mmc: usdhi6rol0: fix error return code in usdhi6_probe()
    1f8d5a578c87 crypto: sm2 - fix a memory leak in sm2
    dfc62a9fb18a crypto: x86/curve25519 - fix cpu feature checking logic in mod_exit
    334ea984ff36 crypto: omap-sham - Fix PM reference leak in omap sham ops
    46b988b2ce98 crypto: nitrox - fix unchecked variable in nitrox_register_interrupts
    ba68a06cfcbc regulator: fan53880: Fix vsel_mask setting for FAN53880_BUCK
    b0b3a5151649 media: siano: Fix out-of-bounds warnings in smscore_load_firmware_family2()
    7f245ea447dd m68k: atari: Fix ATARI_KBD_CORE kconfig unmet dependency warning
    262c340bf7e8 drivers/perf: hisi: Fix data source control
    9234c34f62c8 regulator: fan53555: Fix missing slew_reg/mask/shift settings for FAN53526
    d017709732cc media: gspca/gl860: fix zero-length control requests
    0a84a0cd4eb6 media: vicodec: Use _BITUL() macro in UAPI headers
    cf689b19af21 media: tc358743: Fix error return code in tc358743_probe_of()
    b01b4817f2e6 media: au0828: fix a NULL vs IS_ERR() check
    ff7233a3d085 media: exynos4-is: Fix a use after free in isp_video_release
    4085aa9b6182 media: rkvdec: Fix .buf_prepare
    ba2e3533e321 media: venus: hfi_cmds: Fix conceal color property
    ba10157cd0f8 media: ipu3-cio2: Fix reference counting when looping over ACPI devices
    1b76864f4da7 sched: Don't defer CPU pick to migration_cpu_stop()
    e2263985ad57 locking/lockdep: Reduce LOCKDEP dependency list
    ebc9f608afa0 pata_ep93xx: fix deferred probing
    614016e8cd5d regulator: bd71815: add select to fix build
    7ef5567a8af8 media: rc: i2c: Fix an error message
    1640411aa297 crypto: ccp - Fix a resource leak in an error handling path
    e6678d845127 crypto: sa2ul - Use of_device_get_match_data() helper
    dc0dae25ae08 crypto: sa2ul - Fix pm_runtime enable in sa_ul_probe()
    b595f995689e crypto: sa2ul - Fix leaks on failure paths with sa_dma_init()
    61b720aa441f x86/elf: Use _BITUL() macro in UAPI headers
    2df42a9a9b48 crypto: hisilicon/hpre - fix unmapping invalid dma address
    b47dc857836c crypto: testmgr - fix initialization of 'secret_size'
    b62d59e57437 evm: fix writing <securityfs>/evm overflow
    152c2b7fd126 pata_octeon_cf: avoid WARN_ON() in ata_host_activate()
    e77e1ad45f22 kbuild: Fix objtool dependency for 'OBJECT_FILES_NON_STANDARD_<obj> := n'
    c5b50bd025de sched/uclamp: Fix locking around cpu_util_update_eff()
    894ac20220b6 sched/uclamp: Fix wrong implementation of cpu.uclamp.min
    9e7050230b15 media: I2C: change 'RST' to "RSET" to fix multiple build errors
    25a0bda95d96 pata_rb532_cf: fix deferred probing
    f704f09d3dfa sata_highbank: fix deferred probing
    ddac7d88f7e2 crypto: ux500 - Fix error return code in hash_hw_final()
    88004270271a crypto: ixp4xx - update IV after requests
    8d75dedf2098 crypto: ixp4xx - dma_unmap the correct address
    f152f5e20cb2 media: hantro: do a PM resume earlier
    7ed930e68a12 media: i2c: ccs-core: return the right error code at suspend
    130fb80cabdf media: s5p_cec: decrement usage count if disabled
    8dd33849ea9d media: venus: Rework error fail recover logic
    5698d3e1fbb1 spi: Avoid undefined behaviour when counting unused native CSs
    bbf7cde09e9b spi: Allow to have all native CSs in use along with GPIOs
    3d9d4aa8dad3 kbuild: skip per-CPU BTF generation for pahole v1.18-v1.21
    d5719131c5ca mm: define default MAX_PTRS_PER_* in include/pgtable.h
    3921b835fbae writeback, cgroup: increment isw_nr_in_flight before grabbing an inode
    53602599e6f6 ia64: mca_drv: fix incorrect array size calculation
    10855647c0cb kthread_worker: fix return value when kthread_mod_delayed_work() races with kthread_cancel_delayed_work_sync()
    cf46e6f4898f block: fix discard request merge
    c9e970ed58c0 mailbox: qcom: Use PLATFORM_DEVID_AUTO to register platform device
    bebfd66f067c cifs: fix missing spinlock around update to ses->status
    b25ec82321ad HID: wacom: Correct base usage for capacitive ExpressKey status bits
    fee404cb4657 smb3: fix possible access to uninitialized pointer to DACL
    2e4c04443e58 ACPI: tables: Add custom DSDT file as makefile prerequisite
    e34583fce2ea tpm_tis_spi: add missing SPI device ID entries
    155d3c5d24ee clocksource: Check per-CPU clock synchronization when marked unstable
    d13f68003342 clocksource: Retry clock read if long delays detected
    c37238fae66d block, bfq: fix delayed stable merge check
    a1e7400147eb ACPI: EC: trust DSDT GPE for certain HP laptop
    fa004a75b5ff cifs: fix SMB1 error path in cifs_get_file_info_unix
    9a0c82374f67 smb3: fix uninitialized value for port in witness protocol move
    027c9f092d15 cifs: retry lookup and readdir when EAGAIN is returned.
    1c25524992af cifs: fix check of dfs interlinks
    5e397c943424 cifs: improve fallocate emulation
    5f28c21d7702 PCI: hv: Add check for hyperv_initialized in init_hv_pci_drv()
    8104b56965e1 tools/power/x86/intel-speed-select: Fix uncore memory frequency display
    35d976c35502 EDAC/Intel: Do not load EDAC driver when running as a guest
    2fe788c18b66 nvmet-fc: do not check for invalid target port in nvmet_fc_handle_fcp_rqst()
    1205de7c198f nvme-pci: fix var. type for increasing cq_head
    c74f85583f6d platform/x86: toshiba_acpi: Fix missing error code in toshiba_acpi_setup_keyboard()
    6632da07ac6c platform/x86: asus-nb-wmi: Revert "add support for ASUS ROG Zephyrus G14 and G15"
    91634181ba81 platform/x86: asus-nb-wmi: Revert "Drop duplicate DMI quirk structures"
    6c22172ca781 block: fix race between adding/removing rq qos and normal IO
    02f04a3c5d74 HID: sony: fix freeze when inserting ghlive ps3/wii dongles
    3cc07545a3ea HID: hid-input: add Surface Go battery quirk
    bf155b2eaab4 ACPI: resources: Add checks for ACPI IRQ override
    69136f2492dd ACPI: bus: Call kobject_put() in acpi_init() error path
    2bf1f848ca0a ACPICA: Fix memory leak caused by _CID repair function
    60c534a4a79e fs: dlm: fix memory leak when fenced
    087f6c68e2ba fs: dlm: fix lowcomms_start error case
    7f9887a1a9e9 drivers: hv: Fix missing error code in vmbus_connect()
    2b2a31cad66c open: don't silently ignore unknown O-flags in openat2()
    02d6273ab9be random32: Fix implicit truncation warning in prandom_seed_state()
    871166f159b3 fs: dlm: fix connection tcp EOF handling
    38ef63844ef4 fs: dlm: cancel work sync othercon
    18e5651e39a5 fs: dlm: reconnect if socket error report occurs
    7ae861bbfa0f fs: dlm: fix srcu read lock usage
    b407bf68af32 blk-mq: clear stale request in tags->rq[] before freeing one request pool
    0c0e6cd55d87 blk-mq: grab rq->refcount before calling ->fn in blk_mq_tagset_busy_iter
    b3ed6b4e39f2 block_dump: remove block_dump feature in mark_inode_dirty()
    5c2e42a7ff69 ACPI: EC: Make more Asus laptops use ECDT _GPE
    6e288c3f4b6a platform/x86: touchscreen_dmi: Add info for the Goodix GT912 panel of TM800A550L tablets
    978dd194fd4a platform/x86: touchscreen_dmi: Add an extra entry for the upside down Goodix touchscreen on Teclast X89 tablets
    2f09dc35f8d6 Input: goodix - platform/x86: touchscreen_dmi - Move upside down quirks to touchscreen_dmi.c
    69476379eb45 lib: vsprintf: Fix handling of number field widths in vsscanf
    782da090933c hv_utils: Fix passing zero to 'PTR_ERR' warning
    9e86d9c12351 ACPI: processor idle: Fix up C-state latency if not ordered
    93545e3b7fe9 ACPI: scan: Rearrange dep_unmet initialization
    f5512b405739 ACPI: PM: s2idle: Add missing LPS0 functions for AMD
    4b0f6a85a59a EDAC/ti: Add missing MODULE_DEVICE_TABLE
    892ca2b2ff3a HID: do not use down_interruptible() when unbinding devices
    31a5fc473d74 seccomp: Support atomic "addfd + send reply"
    95dafa3beb94 media: Fix Media Controller API config checks
    57013d106790 regulator: da9052: Ensure enough delay time for .set_voltage_time_sel
    6130d2ec297e regulator: mt6358: Fix vdram2 .vsel_mask
    72c4df2e3c06 KVM: s390: get rid of register asm usage
    51653ce74174 lockding/lockdep: Avoid to find wrong lock dep path in check_irq_usage()
    6f0a350c2667 locking/lockdep: Fix the dep path printing for backwards BFS
    da5a7fbfc5ca btrfs: disable build on platforms having page size 256K
    23f3aff83a25 btrfs: don't clear page extent mapped if we're not invalidating the full page
    77848dc0cf94 btrfs: sysfs: fix format string for some discard stats
    5f10bddef823 btrfs: always abort the transaction if we abort a trans handle
    0f9a0de7baa1 btrfs: abort transaction if we fail to update the delayed inode
    24c08d4b6f90 btrfs: fix error handling in __btrfs_update_delayed_inode
    3c9cb03aa19f KVM: PPC: Book3S HV: Fix TLB management on SMT8 POWER9 and POWER10 processors
    f5822ae7d660 KVM: arm64: Restore PMU configuration on first run
    60c54321c822 drivers/perf: fix the missed ida_simple_remove() in ddr_perf_probe()
    2c95ccb350be perf/x86: Reset the dirty counter to prevent the leak for an RDPMC task
    4c305975c29a sched/fair: Take thermal pressure into account while estimating energy
    d5d76329a97c hwmon: (max31790) Fix pwmX_enable attributes
    508cd1209b7d hwmon: (max31790) Report correct current pwm duty cycles
    ead128748cab media: imx-csi: Skip first few frames from a BT.656 source
    271e441c9a0a media: siano: fix device register error path
    bd6288233a8d media: dvbdev: fix error logic at dvb_register_device()
    a64ddb6976e6 media: dvb_net: avoid speculation from net slot
    47a03368229e crypto: shash - avoid comparing pointers to exported functions under CFI
    239a5e142d25 regulator: mt6315: Fix checking return value of devm_regmap_init_spmi_ext
    230a4bf84904 spi: meson-spicc: fix memory leak in meson_spicc_probe
    c77cbc710389 spi: meson-spicc: fix a wrong goto jump for avoiding memory leak.
    99c514bea5fa mmc: sdhci-of-aspeed: Turn down a phase correction warning
    a62b72916a2c mmc: via-sdmmc: add a check against NULL pointer dereference
    c543fd01940d mmc: sdhci-sprd: use sdhci_sprd_writew
    e0a53f67fed6 memstick: rtsx_usb_ms: fix UAF
    8d570a009647 media: dvd_usb: memory leak in cinergyt2_fe_attach
    8d2d4b753431 Makefile: fix GDB warning with CONFIG_RELR
    b8ce443813d5 arm64: entry: don't instrument entry code with KCOV
    6a8665574f6b crypto: hisilicon/sec - fixup 3des minimum key size declaration
    d686a29b3f3e media: st-hva: Fix potential NULL pointer dereferences
    8b367af282d6 media: bt8xx: Fix a missing check bug in bt878_probe
    0227d4ffca0a media: v4l2-core: Avoid the dangling pointer in v4l2_fh_release
    94b73f521e52 media: cedrus: Fix .buf_prepare
    5ecae6b93cf5 media: hantro: Fix .buf_prepare
    e7a3ea26832c media: em28xx: Fix possible memory leak of em28xx struct
    6dc17634c116 media: bt878: do not schedule tasklet when it is not setup
    2375ab34f7f3 media: i2c: ov2659: Use clk_{prepare_enable,disable_unprepare}() to set xvclk on/off
    ac302ca5829f ima: Don't remove security.ima if file must not be appraised
    0221e855eb01 sched/fair: Fix ascii art by relpacing tabs
    b2e7f2f9701c arm64: perf: Convert snprintf to sysfs_emit
    cab7a8c8ac9c crypto: ecdh - fix 'ecdh_init'
    9a091b3fe9a3 crypto: ecdh - fix ecdh-nist-p192's entry in testmgr
    3b29a41e8e16 crypto: qce: skcipher: Fix incorrect sg count for dma transfers
    4d9440ec7e31 crypto: qat - remove unused macro in FW loader
    39d92a5c89e3 crypto: qat - check return code of qat_hal_rd_rel_reg()
    12dc9abe3423 media: imx: imx7_mipi_csis: Fix logging of only error event counters
    8a1ef71e3fa3 media: pvrusb2: fix warning in pvr2_i2c_core_done
    27be0f88baed media: hevc: Fix dependent slice segment flags
    b42989b813f2 media: cobalt: fix race condition in setting HPD
    a24a3803d883 media: cpia2: fix memory leak in cpia2_usb_probe
    dc6a87f5450d sched: Make the idle task quack like a per-CPU kthread
    b03f44f12056 media: sti: fix obj-$(config) targets
    536898457d30 crypto: nx - add missing MODULE_DEVICE_TABLE
    56e208fd789a hwrng: exynos - Fix runtime PM imbalance on error
    24c79a7e54cc sched/core: Initialize the idle task with preemption disabled
    08d3c4504a7a regulator: uniphier: Add missing MODULE_DEVICE_TABLE
    2183eb0f23ca spi: omap-100k: Fix the length judgment problem
    4e2c9415918f spi: spi-topcliff-pch: Fix potential double free in pch_spi_process_messages()
    b198e32d5f56 spi: spi-loopback-test: Fix 'tx_buf' might be 'rx_buf'
    946e1956adc4 media: exynos-gsc: fix pm_runtime_get_sync() usage count
    e320bd62f343 media: exynos4-is: fix pm_runtime_get_sync() usage count
    8de265ab0659 media: sti/bdisp: fix pm_runtime_get_sync() usage count
    c816ee302c4f media: sunxi: fix pm_runtime_get_sync() usage count
    3ac22a1256fb media: s5p-jpeg: fix pm_runtime_get_sync() usage count
    74cdbfc4a632 media: mtk-vcodec: fix PM runtime get logic
    22d11e498877 media: sh_vou: fix pm_runtime_get_sync() usage count
    eb29fa40a3a2 media: am437x: fix pm_runtime_get_sync() usage count
    2982dfc00e6d media: s5p: fix pm_runtime_get_sync() usage count
    55eed167f79d media: mdk-mdp: fix pm_runtime_get_sync() usage count
    e0a7065748d0 media: marvel-ccic: fix some issues when getting pm_runtime
    59378a815637 media: i2c: imx334: fix the pm runtime get logic
    58bc5e46ba44 staging: media: rkvdec: fix pm_runtime_get_sync() usage count
    1199573d2601 Add a reference to ucounts for each cred
    9057b6cca151 spi: Make of_register_spi_device also set the fwnode
    a004cf847764 thermal/cpufreq_cooling: Update offline CPUs per-cpu thermal_pressure
    0c1678f223da fuse: reject internal errno
    2644fd6588e5 fuse: check connected before queueing on fpq->io
    76d97f2f3b02 fuse: ignore PG_workingset after stealing
    108adb1a5668 fuse: Fix infinite loop in sget_fc()
    809b077db6b8 fuse: Fix crash if superblock of submount gets killed early
    7ef44eacefc1 fuse: Fix crash in fuse_dentry_automount() error path
    1c7c1de40632 evm: Refuse EVM_ALLOW_METADATA_WRITES only if an HMAC key is loaded
    22527af823fa evm: Execute evm_inode_init_security() only when an HMAC key is loaded
    335d92decfdc loop: Fix missing discard support when using LOOP_CONFIGURE
    dac1e7eb17cf perf/x86/intel: Fix instructions:ppp support in Sapphire Rapids
    f457b2b8edd8 perf/x86/intel: Add more events requires FRONTEND MSR on Sapphire Rapids
    ef52fc1cc475 perf/x86/intel: Fix fixed counter check warning for some Alder Lake
    4a16324ff687 x86/gpu: add JasperLake to gen11 early quirks
    371764e376d1 powerpc/stacktrace: Fix spurious "stale" traces in raise_backtrace_ipi()
    468e5a5c9d08 seq_buf: Make trace_seq_putmem_hex() support data longer than 8
    751d51f3e9b2 tracepoint: Add tracepoint_probe_register_may_exist() for BPF tracing
    31d28f8a04b3 tracing/histograms: Fix parsing of "sym-offset" modifier
    3b0bfe43fecc selftests/resctrl: Fix incorrect parsing of option "-t"
    b8ffd9d4b949 rsi: fix AP mode with WPA failure due to encrypted EAPOL
    c812eb280471 rsi: Assign beacon rate settings to the correct rate_info descriptor field
    1852c5f9916b ssb: sdio: Don't overwrite const buffer if block_write fails
    b3a3ff8b0e7a ath9k: Fix kernel NULL pointer dereference during ath_reset_internal()
    019f2c9f98a4 serial_cs: remove wrong GLOBETROTTER.cis entry
    8c0484fd3f11 serial_cs: Add Option International GSM-Ready 56K/ISDN modem
    a9cd055e36e5 serial: sh-sci: Stop dmaengine transfer in sci_stop_tx()
    10f409e7ffb5 serial: mvebu-uart: fix calculation of clock divisor
    de8eea1e7636 iio: accel: bmc150: Don't make the remove function of the second accelerometer unregister itself
    aabcb52a2a1a iio: accel: bmc150: Fix dereferencing the wrong pointer in bmc150_get/set_second_device
    bcb312ee98a3 iio: accel: bmc150: Fix bma222 scale unit
    0deff8dcd0fc iio: accel: bma180: Fix BMA25x bandwidth register values
    f78812513693 iio: ltr501: ltr501_read_ps(): add missing endianness conversion
    77825e12cc2f iio: ltr501: ltr559: fix initialization of LTR501_ALS_CONTR
    acead08f0fad iio: ltr501: mark register holding upper 8 bits of ALS_DATA{0,1} and PS_DATA as volatile, too
    9495675ef266 iio: light: tcs3472: do not free unallocated IRQ
    9cc4994b50c1 iio: frequency: adf4350: disable reg and clk on error in adf4350_probe()
    7f6494552897 rtc: stm32: Fix unbalanced clk_disable_unprepare() on probe error path
    468fd1960b4f clk: agilex/stratix10: add support for the 2nd bypass
    e6b46c20ccda clk: agilex/stratix10: fix bypass representation
    acfd0d44231e clk: agilex/stratix10: remove noc_clk
    55f03f3bed19 clk: agilex/stratix10/n5x: fix how the bypass_reg is handled
    6c1265d7d32d clk: k210: Fix k210_clk_set_parent()
    a97c0590bde4 f2fs: Prevent swap file in LFS mode
    7b8881bcd7f3 f2fs: Advertise encrypted casefolding in sysfs
    1254698f9d63 s390: mm: Fix secure storage access exception handling
    81bb61abaceb s390/cio: dont call css_wait_for_slow_path() inside a lock
    6bb7392f6365 KVM: x86: Force all MMUs to reinitialize if guest CPUID is modified
    40928ae22323 KVM: x86: Properly reset MMU context at vCPU RESET/INIT
    88edf696be93 KVM: x86/mmu: Use MMU's role to detect CR4.SMEP value in nested NPT walk
    66b1a19cfbac KVM: x86/mmu: Treat NX as used (not reserved) for all !TDP shadow MMUs
    60ef300a34de KVM: x86/mmu: Remove broken WARN that fires on 32-bit KVM w/ nested EPT
    c3439d333f2d KVM: PPC: Book3S HV: Workaround high stack usage with clang
    79739fc3cfdd KVM: nVMX: Handle split-lock #AC exceptions that happen in L2
    283d80b859f8 perf/smmuv3: Don't trample existing events with global filter
    562521b6fb37 mm/gup: fix try_grab_compound_head() race with split_huge_page()
    38a5c79ea17b bus: mhi: pci-generic: Add missing 'pci_disable_pcie_error_reporting()' calls
    b98470e38ae2 bus: mhi: Wait for M2 state during system resume
    0b509e3ec35d bus: mhi: core: Fix power down latency
    0530021455af SUNRPC: Should wake up the privileged task firstly.
    e66509e7c90a SUNRPC: Fix the batch tasks count wraparound.
    18836fcf7a29 mac80211: fix NULL ptr dereference during mesh peer connection for non HE devices
    4cc6ec81f987 mac80211: remove iwlwifi specific workaround that broke sta NDP tx
    9e59c8d4172c can: peak_pciefd: pucan_handle_status(): fix a potential starvation issue in TX path
    54dc7c15743e can: j1939: j1939_sk_init(): set SOCK_RCU_FREE to call sk_destruct() after RCU is done
    ebf91625b3e4 can: isotp: isotp_release(): omit unintended hrtimer restart on socket release
    2e934deaa8fd can: gw: synchronize rcu operations before removing gw job entry
    014f8baa9d24 can: bcm: delay release of struct bcm_op after synchronize_rcu()
    42da0c84419c ext4: use ext4_grp_locked_error in mb_find_extent
    e59789c9cdb8 ext4: fix avefreec in find_group_orlov
    0b2f4710e9dc ext4: remove check for zero nr_to_scan in ext4_es_scan()
    74983f8c0d03 ext4: correct the cache_nr in tracepoint ext4_es_shrink_exit
    9785e209bc20 ext4: return error code when ext4_fill_flex_info() fails
    1e60f8ff27be ext4: fix overflow in ext4_iomap_alloc()
    befdd44d4632 ext4: fix kernel infoleak via ext4_extent_header
    573d64e85e0d ext4: cleanup in-core orphan list if ext4_truncate() failed to get a transaction handle
    806f5845757e btrfs: clear defrag status of a root if starting transaction fails
    1720dde8dfec btrfs: fix unbalanced unlock in qgroup_account_snapshot()
    14265d0b84eb btrfs: compression: don't try to compress if we don't have enough pages
    661907edc07c btrfs: send: fix invalid path for unlink operations after parent orphanization
    c90d10b45928 btrfs: zoned: bail out if we can't read a reliable write pointer
    2f57967716f4 btrfs: zoned: print message when zone sanity check type fails
    acae585838aa ARM: dts: at91: sama5d4: fix pinctrl muxing
    e2d7f388bbf7 ARM: dts: ux500: Fix LED probing
    d6c8a2650306 arm_pmu: Fix write counter incorrect in ARMv7 big-endian mode
    2497ef4cc77b crypto: ccp - Annotate SEV Firmware file names
    ef70c1c3cee5 crypto: nx - Fix memcpy() over-reading in nonce
    81acf1015233 Input: joydev - prevent use of not validated data in JSIOCSBTNMAP ioctl
    4f73f383f4f9 Input: elants_i2c - fix NULL dereference at probing
    fcc4582ff286 iov_iter_fault_in_readable() should do nothing in xarray case
    3854f9c612ae teach copy_page_to_iter() to handle compound pages
    64c430ea07a4 copy_page_to_iter(): fix ITER_DISCARD case
    baf1972e7901 selftests/lkdtm: Avoid needing explicit sub-shell
    9e4ac5eba035 ntfs: fix validity check for file name attribute
    d089a9af0cfa gfs2: Fix error handling in init_statfs
    396a707096ce gfs2: Fix underflow in gfs2_page_mkwrite
    73b4b15fa758 mm/page_alloc: fix memory map initialization for descending nodes
    6f648906e86e xhci: solve a double free problem while doing s4
    2802e5d7072e usb: typec: Add the missed altmode_id_remove() in typec_register_altmode()
    ec357da5b47f usb: typec: tcpm: Relax disconnect threshold during power negotiation
    d864070b33a6 usb: typec: tcpci: Fix up sink disconnect thresholds for PD
    f077ba7a104d usb: dwc3: Fix debugfs creation flow
    4df012c3c866 USB: cdc-acm: blacklist Heimann USB Appset device
    ed76fed81754 usb: renesas-xhci: Fix handling of unknown ROM state
    a55093941e38 usb: gadget: eem: fix echo command packet response issue
    15e94ea49bea net: can: ems_usb: fix use-after-free in ems_usb_disconnect()
    7763d4aaebaf Input: usbtouchscreen - fix control-request directions
    82d7e9597e6d media: dvb-usb: fix wrong definition
    efad996fc1c3 ALSA: hda/realtek: fix mute led of the HP Pavilion 15-eh1xxx series
    1ccc1686b3cc ALSA: hda/realtek: fix mute/micmute LEDs for HP EliteBook 830 G8 Notebook PC
    e4ca3c1dc370 ALSA: hda/realtek: Apply LED fixup for HP Dragonfly G1, too
    29e622eb3d63 ALSA: hda/realtek: Fix bass speaker DAC mapping for Asus UM431D
    85aa18d63ace ALSA: hda/realtek: Improve fixup for HP Spectre x360 15-df0xxx
    5f33519ffa29 ALSA: hda/realtek: fix mute/micmute LEDs for HP EliteBook x360 830 G8
    496df16507ad ALSA: hda/realtek: Add another ALC236 variant support
    6e4b638ba2b5 ALSA: hda/realtek: fix mute/micmute LEDs for HP ProBook 630 G8
    be688c0763bf ALSA: hda/realtek: fix mute/micmute LEDs for HP ProBook 445 G8
    2b7c96d5d7c2 ALSA: hda/realtek: fix mute/micmute LEDs for HP ProBook 450 G8
    61d14781e51e ALSA: intel8x0: Fix breakage at ac97 clock measurement
    d36a88504d87 ALSA: usb-audio: scarlett2: Fix wrong resume call
    493cce3d1f60 ALSA: firewire-motu: fix stream format for MOTU 8pre FireWire
    61f57e686753 ALSA: usb-audio: Fix OOB access at proc output
    f446bfac9d78 ALSA: usb-audio: fix rate on Ozone Z90 USB headset
    4448de6006fb ALSA: bebob: fix rx packet format for Yamaha GO44/GO46, Terratec Phase 24/x24
    146017a71748 Bluetooth: Remove spurious error message
    ab4e95250d9c Bluetooth: btqca: Don't modify firmware contents in-place
    13dbf9944e36 Bluetooth: hci_qca: fix potential GPF
    aaa1f5834d71 Linux 5.13.1
    7f6cbd0b3e1e mm/page_alloc: correct return value of populated elements if bulk array is populated
    5863699d2391 Revert "KVM: x86/mmu: Drop kvm_mmu_extended_role.cr4_la57 hack"

(From OE-Core rev: b17168cf84722ac46dd93cc715516034c983cd58)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-18 23:09:51 +01:00
Bruce Ashfield
0f8b387d80 linux-yocto/5.4: update to v5.4.131
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:

    e8d9b740a550 Linux 5.4.131
    d2f8a8a07ee3 xen/events: reset active flag for lateeoi events later
    a05499b29a6e KVM: SVM: Call SEV Guest Decommission if ASID binding fails
    58356f448b61 s390/stack: fix possible register corruption with stack switch helper
    abbd42939db6 KVM: SVM: Periodically schedule when unregistering regions on destroy
    8b24c7edc2f2 Linux 5.4.130
    5e8519c4083b RDMA/mlx5: Block FDB rules when not in switchdev mode
    c5fb49e12f2c gpio: AMD8111 and TQMX86 require HAS_IOPORT_MAP
    cf5eb8209723 drm/nouveau: fix dma_address check for CPU/GPU sync
    3edfd34f1338 scsi: sr: Return appropriate error code when disk is ejected
    a6c85a8433e0 x86/efi: remove unused variables

(From OE-Core rev: edfd97ac5a11f46b9f3b905373abe3554f4b85db)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-18 23:09:51 +01:00
Bruce Ashfield
c3bf6e71c6 linux-yocto/5.10: update to v5.10.49
Updating linux-yocto/5.10 to the latest korg -stable release that comprises
the following commits:

    904ad453baa0 Linux 5.10.49
    064b57a8da99 xen/events: reset active flag for lateeoi events later
    a245f6842d21 Hexagon: change jumps to must-extend in futex_atomic_*
    a7f51048c5a8 Hexagon: add target builtins to kernel
    243f325ecc90 Hexagon: fix build errors
    8148665cb7fe media: uvcvideo: Support devices that report an OT as an entity source
    d5737410d2dd KVM: PPC: Book3S HV: Save and restore FSCR in the P9 path
    a09a52277207 Linux 5.10.48
    4dc968042864 Revert "KVM: x86/mmu: Drop kvm_mmu_extended_role.cr4_la57 hack"
    4ab869e0289d RDMA/mlx5: Block FDB rules when not in switchdev mode
    348143a38012 gpio: AMD8111 and TQMX86 require HAS_IOPORT_MAP
    45ca6df5df11 drm/nouveau: fix dma_address check for CPU/GPU sync
    d191c3d6ad33 gpio: mxc: Fix disabled interrupt wake-up support
    f77f97238496 scsi: sr: Return appropriate error code when disk is ejected

(From OE-Core rev: 5b203992df8d9866f8cf90a22f39e483376f3912)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-18 23:09:51 +01:00
Bruce Ashfield
c422202315 linux-yocto: add vfat KERNEL_FEATURE when MACHINE_FEATURES include vfat
If a machine has vfat in its MACHINE_FEATURES, we can ensure that the
kernel has support by enabling the associated KERNEL_FEATURE.

This partially addresses Yocto bug 14470.

(From OE-Core rev: bc61fdbb5f6e409ee03e8939bcefa133debdc028)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-18 23:09:51 +01:00
Bruce Ashfield
1f4c30eea2 linux-yocto-rt/5.13: integrate -rt1
-rt1 has been released for 5.13, we integrate those commits to our
preempt-rt/* branches.

(From OE-Core rev: 43fec2e807691e8181f8acc9ff148efabd0cfe82)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-18 23:09:51 +01:00
Bruce Ashfield
b2b26a22b4 linux-yocto/5.13: add devupstream support
We are always getting questions about building -stable, or mainline
master. Rather than introducing a separate set of recipes, we can
facilitate this sort of usecase by using the existing devupstream
bbclass support.

To build an unpatched or otherwise modifed -stable of 5.13, simply
set the linux-yocto preferred provider to:

  linux-yocto-upstream

and the PREFERRED_VERSION_linux-yocto-upstream to one with support.

And your wish will be granted, as the build will use v5.13/base
which matches the main linux-yocto version, simply with no extra
changes applied.

(From OE-Core rev: 3ba37063ac08c71cdaba07e9b85ee3246c6f1350)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-18 23:09:51 +01:00
Joshua Watt
84fbf8632d ref-manual: Document BUILDHISTORY_PATH_PREFIX_STRIP
(From yocto-docs rev: c834fab46794233864e6bcb587ab75f2bfa1631c)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-16 21:59:31 +01:00
Quentin Schulz
5a6fb291ad docs: replace remaining `FOO by :term:FOO`
A few occurences appeared between the time the original patch was sent
and it was applied, this fixes it.

Also, the original patch didn't take into account lowercase terms, this
is now fixed, see module_autoload for example.

Finally, as is often the case with regexp, there was a typo in it that
didn't make it match as much as it should have.

The script that is used to do the replacement of ``FOO`` by :term:`FOO`
is the following Python code:

import re
from pathlib import Path
from runpy import run_module
import contextlib
import io
import sys

re_term = re.compile(r'variables.html#term-([a-zA-Z_0-9]*)')
terms = []
new_terms = set()

with contextlib.redirect_stdout(io.StringIO()) as f:
    run_module('sphinx.ext.intersphinx', run_name='__main__')

objects = f.getvalue()

match = re_term.search(objects)
while match:
    if match.group(1):
        terms.append(match.group(1))
    match = re_term.search(objects, match.end())

for rst in Path('.').rglob('*.rst'):
    with open(rst, 'r') as f:
        content = "".join(f.readlines())
    for term in terms:
        content = re.sub(r'``({})``(?!.*\s+[~=-]{{{:d},}})'.format(term, len(term)), r':term:`\1`', content)

    with open(rst, 'w') as f:
        f.write(content)

This script takes one argument as input: an objects.inv. Bitbake's can
be gotten from https://docs.yoctoproject.org/bitbake/objects.inv. The
objetcs.inv from the current git repo can be gotten from
documentation/_build/html/objetcs.inv after running `make html`.

Note that this excludes from replacement terms that appear in section
titles as it requires refs to be changed too. This can be automated too
if need be but right now it looks a bit confusing to have an anchor link
(for sections) also have a term/reference link in it. I am not sure this
is desired today.

This is the result of two runs of the aforementioned script, once with
Bitbake objects.inv and once with this repo's.

Fixes: ba49d9babfcb "docs: replace ``FOO`` by :term:`FOO` where possible"

(From yocto-docs rev: 1e1b0c4dd241b6657035172b1f7b5f341afa8b25)

Signed-off-by: Quentin Schulz <foss@0leil.net>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-16 21:59:31 +01:00
Tony Tascioglu
be3e14dd43 valgrind: skip flaky ptest fb_test_amd64
Recently, the none/tests/amd64/fb_test_amd64 test had been flaky and
causing failures on the auto-builder. Until we can get to the root cause
of the issue, we are going to skip the test to reduce the noise from the
ptests.

(From OE-Core rev: a365cd7a358db96791033e6dc6e45d2e816d3e4c)

Signed-off-by: Tony Tascioglu <tony.tascioglu@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-16 21:23:44 +01:00
Khem Raj
b4f9b5b3fa util-linux: Fix signature of close_range()
close_range expects 3 parameters, thus far it was not implemented in
glibc so it was hidden but with glibc 2.34+ it will start to show up

(From OE-Core rev: 0d6f638230a96808e22438d9925aec6383d136a7)

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>
2021-07-16 21:23:44 +01:00
Alexander Kanavin
eedab4b6c4 tcl: fix upstream version check
(From OE-Core rev: d3d9821b1d9c52748fa7a0577a376b3aaca7e566)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-16 21:23:44 +01:00
Alexander Kanavin
019bded64b xwayland: upgrade 21.1.1 -> 21.1.2
(From OE-Core rev: 0c5a104c1e553800f4621b2f97cc8028ce5632b0)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-16 21:23:44 +01:00
Alexander Kanavin
a6c28fb87e webkitgtk: upgrade 2.32.1 -> 2.32.2
(From OE-Core rev: 6a1bbc8c9758a201a5bf1901890e789d869c618d)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-16 21:23:44 +01:00
Alexander Kanavin
0869f6b3b2 stress-ng: upgrade 0.12.11 -> 0.12.12
(From OE-Core rev: 92b1fed7df8305f0b335e09c83d7364d5c6dadbe)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-16 21:23:44 +01:00
Alexander Kanavin
964de6168a ruby: upgrade 3.0.1 -> 3.0.2
(From OE-Core rev: e75e8258688abb680bfd80393bcb10ef2c46f468)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-16 21:23:44 +01:00
Alexander Kanavin
eb21ae8f5f mtools: upgrade 4.0.31 -> 4.0.32
(From OE-Core rev: 674533cdb1990a3c0e4568f594ab168110f94bd4)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-16 21:23:44 +01:00
Alexander Kanavin
50bcea800d mpg123: upgrade 1.28.0 -> 1.28.2
(From OE-Core rev: d96c911ea05e1150f4335d471131337e8bbe1891)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-16 21:23:44 +01:00
Alexander Kanavin
a51c307509 libgit2: upgrade 1.1.0 -> 1.1.1
(From OE-Core rev: cb5734550778a37c0140f63d337fc72168836bb9)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-16 21:23:44 +01:00
Alexander Kanavin
f2630551a2 iproute2: upgrade 5.12.0 -> 5.13.0
(From OE-Core rev: 76e7cd680c96fba794b785cfe0c3403c32b71028)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-16 21:23:44 +01:00
Alexander Kanavin
fd8aaa16c2 harfbuzz: upgrade 2.8.1 -> 2.8.2
License-Update: copyright years

(From OE-Core rev: 36277510af80912e7e5e3c087941020c2fb21beb)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-16 21:23:44 +01:00
Alexander Kanavin
872418b3a1 gtk+3: upgrade 3.24.29 -> 3.24.30
cloudprint support removed upstream:
c77ea5101e

(From OE-Core rev: abf3ec0314cc3ba45507f216197bf0fd7ce240b3)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-16 21:23:43 +01:00
Alexander Kanavin
51decd8a6b ethtool: upgrade 5.12 -> 5.13
(From OE-Core rev: ec9455b35684ffee6db861e2aa81cd77f9dfdc0d)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-16 21:23:43 +01:00
Alexander Kanavin
bd459927c1 createrepo-c: upgrade 0.17.3 -> 0.17.4
(From OE-Core rev: ed220fb35e828f9aa13af8db1ae1b2adf5f18e72)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-16 21:23:43 +01:00
Alexander Kanavin
14fb2efa7b bluez5: upgrade 5.59 -> 5.60
(From OE-Core rev: 5d113ccdd4ad45b628fa6f8f3142d250e82eb4a3)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-16 21:23:43 +01:00
Alexander Kanavin
8508a47580 libmodulemd: update 2.12.1 -> 2.13.0
Delete patch, as the issue is fixed upstream.

Disable python bindings as they're not used anywhere,
and require functional gobject introspection.

(From OE-Core rev: abe4b9be9fc5e6a37be18b6e9d14b863f6fac3c7)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-16 21:23:43 +01:00
Alexander Kanavin
9371ad4858 xserver-xorg: update 1.20.11 -> 1.20.12
(From OE-Core rev: 76cc5dee16dc5731e7f1ed041d53a5c3d2e76725)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-16 21:23:43 +01:00
Alexander Kanavin
af42b772f4 llvm: make upgradable via devtool
Assembling PV from bits is too clever for devtool; but it can be
done in the opposite direction.

(From OE-Core rev: f1c6881ee1799426d85e6bd23347a875767c4994)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-16 21:23:43 +01:00
Alexander Kanavin
59cb4c7c3c devtool: correctly handle non-standard source tree locations in upgrades
When S is set to a sub-directory of upstream source, the license
checks and the bbappend writing (specifically, setting EXTERNALSRC)
need to operate on that sub-directory.

'devtool modify' already has similar logic, and it was copied from there
and adjusted.

(From OE-Core rev: fd77e356d4507405fde352c8bba7d3842518bbdd)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-16 21:23:43 +01:00
Khem Raj
a1ed2c1d87 systemd: Fix libseccomp testcase involving __NR_ppoll
Some architectures may not have this syscall

(From OE-Core rev: 7eac0c1f59442532e39e0ec2ce031d9473925328)

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>
2021-07-16 21:23:43 +01:00
Khem Raj
cee5bfa1cf libseccomp: Update to main branch
Get RV32 imlementation

(From OE-Core rev: 752eb3839a46c70f2a847854386e9929d0e6d680)

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>
2021-07-16 21:23:43 +01:00
Richard Purdie
a4b94a7ff2 python3: Add a fix for a make install race
Add a fix for reproducibility issues where pyc files for python-config.py
may not always be generated.

(From OE-Core rev: d1c3a87c48b598b6e5624d0affe8bd89320631bf)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-16 21:23:43 +01:00
wangmy
262d2c6b6c python3-setuptools: upgrade 57.0.0 -> 57.1.0
reproducibility.patch
deleted since it's been merged upstream.

v57.1.0
-------

Changes
^^^^^^^
* #2692: Globs are now sorted in 'license_files' restoring reproducibility by eliminating variance from disk order.
* #2714: Update to distutils at pypa/distutils@e2627b7.
* #2715: Removed reliance on deprecated ssl.match_hostname by removing the ssl support. Now any index operations rely on the native SSL implementation.

Documentation changes
^^^^^^^^^^^^^^^^^^^^^
* #2604: Revamped the backward/cross tool compatibility section to remove
  some confusion.
  Add some examples and the version since when ``entry_points`` are
  supported in declarative configuration.
  Tried to make the reading flow a bit leaner, gather some informations
  that were a bit dispersed.

(From OE-Core rev: 9720cce06206895e2e85b171d58a289172bb9092)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-13 14:27:53 +01:00
Damian Wrobel
9818555934 gobject-introspection: Fix the license (add MIT)
As per upstream the license should also include MIT[1]. This is also
what Fedora Linux uses[2].

This should also address the problem with auto-generated scannerparser.h
file which has the following header:

/* Bison interface for Yacc-like parsers in C

   Copyright (C) 1984, 1989-1990, 2000-2015, 2018-2020 Free Software Foundation,
   Inc.

   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 3 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, see <http://www.gnu.org/licenses/>.  */

/* As a special exception, you may create a larger work that contains
   part or all of the Bison parser skeleton and distribute that work
   under terms of your choice, so long as that work isn't itself a
   parser generator using the skeleton or a modified version thereof
   as a parser skeleton.  Alternatively, if you modify or redistribute
   the parser skeleton itself, you may (at your option) remove this
   special exception, which will cause the skeleton and the resulting
   Bison output files to be licensed under the GNU General Public
   License without this special exception.

   This special exception was added by the Free Software Foundation in
   version 2.2 of Bison.  */

Taking advantage of the Bison expcetion, more precisely the following fragment:

 "distribute that work under terms of your choice"

it should also be possible to reuse the MIT license tag for redistribution of that
work instead of adding the default GPLv3+ tag (which would otherwise be required
without using the special exception).

[1] https://gitlab.gnome.org/GNOME/gobject-introspection/-/blob/master/COPYING#L8
[2] 6db290968f

(From OE-Core rev: 3685b51982ac4f611d3e235c8818474563548bd9)

Signed-off-by: Damian Wrobel <dwrobel@ertelnet.rybnik.pl>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-13 14:27:53 +01:00
Mike Crowe
72e4483f12 licence_image: Add lic-pkgs IMAGE_FEATURE
Installing license packages is similar to installing -dev or -dbg
packages, so let's invent a "lic-pkgs" IMAGE_FEATURE that does so and
document it in core-image.bbclass.

This image feature only works if LICENSE_CREATE_PACKAGE is set, so
refuse to generate an image if the lic-pkgs feature is enabled without
LICENSE_CREATE_PACKAGE.

(From OE-Core rev: eee8179f5b920d3f8907db23cbc061ed6770a02a)

Signed-off-by: Mike Crowe <mac@mcrowe.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-13 14:27:53 +01:00
Ross Burton
b59f420dea tcl: fix race in interp.test
There's a timeout race in interp which is exposed when running under load.

(From OE-Core rev: bcd792270676beeac73f3900346184dec24d00a1)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-13 14:27:53 +01:00
Ross Burton
3a4da0d8f7 tcl: clock.test needs a timezone to be set
(From OE-Core rev: 2ee179c78d8904da5c1a28855e3bc4a01a4c3db6)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-13 14:27:53 +01:00
Ross Burton
e15e97bdcf tcl: detect tests that error as well as fail
The grep was only looking for tests which explicitly fail, and wasn't
catching tests that error.

(From OE-Core rev: 25f198e03e2cc3e969d704b7a56e207933fc0ffc)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-13 14:27:53 +01:00
Ross Burton
34d9ae6d3e tcl: remove redundant file creation
The creation of compat/fixstrtod.c was done back in 2005[1] with no
explanation and has persisted since.  I can't seem to break the build
without this, so it is presumably long obsolete.

[1] https://git.openembedded.org/openembedded/commit/?id=68d6601e8f93243347b58324ce3d4f02eb3a84a9

(From OE-Core rev: ebd76c5d2afdf2da2d2b35946069122545b69ed3)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-13 14:27:53 +01:00
Ross Burton
49474b8edd tcl: use AUTOTOOLS_SCRIPT_PATH
Inside tcl the configure.ac is inside a unix/ directory.  Instead of
setting S to BPNPV/unix and having to use ../ to reach files outside of
unix, simply set S as usual and use AUTOTOOLS_SCRIPT_PATH to run the
correct configure script.

(From OE-Core rev: 40516f7db7c29d956038fc74dc7d8c3a7b62325a)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-13 14:27:53 +01:00
Ross Burton
4b016a2d47 tcl: use tcl-core instead of patching out packages
Instead of patching out the build of optional packages, we can just use
the tcl-core tarball which is identical except it doesn't include the
packages.

(From OE-Core rev: fed52484e60cbaaa19c30959bdbf70c9bdd4d39b)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-13 14:27:53 +01:00
Ross Burton
21833194c9 tcl: mark a patch as upstreamable
No reason this shouldn't be fixed upstream.

(From OE-Core rev: 9fff7f5fdd4189fb977ea4e299d8bd5c42e5ba02)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-13 14:27:53 +01:00
Ross Burton
67fc565899 tcl: EXTRA_OECONF already passes --libdir, don't do it again
(From OE-Core rev: 1547358bad580dbb3ad4aec9311eccc1eab87f2e)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-13 14:27:53 +01:00
Ross Burton
d611f59732 tcl: suffix all Tcl man pages instead of using alternatives
Both Perl and Tcl want to install Thread.3.  Alternatives is a terrible
idea for manpages that don't correspond to binaries, instead just tell
Tcl to suffix the manpages so this is Thread.3tcl.

(From OE-Core rev: 78e9e7c48e673cab8580f00efb08f5d8783b5927)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-13 14:27:53 +01:00
Adam Romanek
5dce2f3da2 bitbake: fetch2/s3: allow to use credentials from environment variables
Previously access to AWS S3 was expected to be preconfigured and
credentials to be stored in ~/.aws/credentials. With this change
one can use Bitbake s3 fetcher without AWS credentials stored
permanently as above, just with them exported as the following
environment variables:
 - AWS_ACCESS_KEY_ID,
 - AWS_SECRET_ACCESS_KEY.
 - AWS_DEFAULT_REGION.

(Bitbake rev: 01825699044c42e87e485e6c64cc1dd9b6f87f48)

Signed-off-by: Adam Romanek <romanek.adam@gmail.com>
Signed-off-by: Damian Wrobel <dwrobel@ertelnet.rybnik.pl>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-11 23:01:25 +01:00
Richard Purdie
9b4c0035d4 oeqa/qemurunner: Handle files no longer existing gracefully
Files in /proc/xxx/map_files/ may no longer exist, just ignore this rather than
raising an exception.

(From OE-Core rev: fb1027896a263cd91e2378a4e97dbdf0807b306b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-11 23:00:52 +01:00
Richard Purdie
7f9f9a0c37 sstate: Drop pseudo exclusion
Now that pseudo-native always includes statx support and we have sanity
checks on pseudo-native to ensure it always contains a minimum feature set,
we no longer need to mark pseudo-native as distro specific. This fixes
eSDK build problems.

[YOCTO #14428]

(From OE-Core rev: 3279e43fcb469edb63c7c4eb60fdc565d5751f9d)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-11 23:00:52 +01:00
Richard Purdie
fcc5db6991 pseudo: Update to latest version including statx fix
This updates to the latest pseudo version which includes:

 Revert "client: Fix some compiler warnings"
 ports/linux: Always build statx support
 makewrappers: Handle parameters marked as nonnull
 client: Fix some compiler warnings
 wrappers: Avoid -Wcast-function-type warning

In particular, this pseudo version always has statx enabled which means
we can then remove the need to make pseudo-native host distro specific
which fixes an eSDK issue.

(From OE-Core rev: 58cc70940ff998be49a9b89e1ad0538242cb7998)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-11 23:00:52 +01:00
Richard Purdie
54e8f89ef0 pseudo: Add uninative configuration sanity check
When building pseudo-native to work with uninative, we need to ensure the
configuration will work on all supported target systems. This means
"new clone" semantics, xattr and statvfs support in particular. It is
extremely unlikely we'd run on a system without any of these but add
a check just to be sure when uninative is enabled.

(From OE-Core rev: ea5b208ee25752bea6037cd0f3b28da7d2c9905e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-11 23:00:52 +01:00
Patrick Williams
aa26842ec3 docs: remove image-mklibs references
The image-mklibs bbclass was removed from OE-Core with
commit 908df863b419d1cad7317153101fc827e7e3a354 and
corresponding changes to local.conf.sample were made
in meta-yocto with c8c8f284eb2abe7e1352850a885454487cc01986.

Remove all references to image-mklibs from the documentation
as it is no longer supported.

(From yocto-docs rev: f45b378eb2cb08c173620cffb17cbcc8b402da0d)

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-10 23:39:18 +01:00
Denys Dmytriyenko
6b25d75ca8 bitbake: providers: replace newly added logger.warn() with logger.warning()
Commits https://git.openembedded.org/bitbake/commit/?id=78cd63285713fde59506eb2e71a7b7ee59a594ff
and https://git.openembedded.org/bitbake/commit/?id=5cbf6d95fc1009e78e7d0745a49e0bf418b37abb
added few calls to logger.warn(), which is deprecated and instead
should use logger.warning():

https://lists.openembedded.org/g/bitbake-devel/topic/82742194#12377

(Bitbake rev: a28ba2d31cd3aa557d4977e9376c5d01cd863e9a)

Signed-off-by: Denys Dmytriyenko <denis@denix.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-10 23:11:33 +01:00
Richard Purdie
0c39b42cb1 report-error: Drop pointless inherit
The base class is always inherited, drop the unneeded inherit.

(From OE-Core rev: 837d62c066589e5a12a0bf894ae7b24e8b048665)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-10 22:43:41 +01:00
Adam Romanek
6cd8032e35 bitbake: fetch/git: run gc in foreground to avoid race with tar
It looks like git gc can interrupts the package creation when
BB_GENERATE_MIRRORS_TARBALL is in use.

Log excerpts:

tar -czf TOPDIR/../downloads/git2_bitbucket.name-hidden.git.tar.gz . failed with exit code 1, output:
tar: ./objects/pack/pack-89a1d76f6c08f53172ef1d02ff851d90564362c4.pack: file changed as we read it
tar: ./objects/pack/pack-b4a48ada355d333630fdf6b4f67205b7c264dc2c.idx: File removed before we read it

Auto packing the repository in background for optimum performance.
See "git help gc" for manual housekeeping.

(Bitbake rev: a8d8cb847063862d1a7998963dd8b767ff73d877)

Signed-off-by: Adam Romanek <romanek.adam@gmail.com>
Signed-off-by: Damian Wrobel <dwrobel@ertelnet.rybnik.pl>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-10 22:43:41 +01:00
Tim Orling
7c1d50772d at-spi2-core: upgrade 2.40.2 -> 2.40.3
What's new in at-spi2-core 2.40.3:

* Use abstract sockets if libdbus is older than 1.12.0 (#37).

References:
https://gitlab.gnome.org/GNOME/at-spi2-core/-/issues/37

(From OE-Core rev: 8e8cc9fa09b3ee1faed19d18ecf61dd06ae8c620)

Signed-off-by: Tim Orling <timothy.t.orling@intel.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-10 22:42:22 +01:00
Sakib Sajal
7c5fd8006f oe-time-dd-test.sh: add options and refactor
Options:
-c | --count <amount>           dd (transfer) <amount> KiB of data within specified timeout to detect latency.
                                Must enable -t option.
-t | --timeout <time>           timeout in seconds for the <count> amount of data to be transferred.
-l | --log-only                 run the commands without performing the data transfer.
-h | --help                     show help

(From OE-Core rev: 302bc6c99226a4d050e4e454afc461a25e127632)

Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-10 22:42:22 +01:00
Sakib Sajal
8ce9e8b268 buildstats.bbclass: log host data on failure to task specific file
host data, for both interval and failure, was previously
logged into the same file which was difficult to read
as the files file were usually large.

host data is now logged into separate files, for each
type of logging (failure and interval) and also for each
failed task making it easier to read/parse.

(From OE-Core rev: 1a0fb3c0794f4e66086e567a297b4d9379c6b8f3)

Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-10 22:42:22 +01:00
Marek Vasut
4044633351 update-rc.d: update SRCREV to pull in fix for non-bash shell support
This pulls in non-bash shell fix for enable/disable command, upstream
commit 8636cf4 ("update-rc.d: Fix enable/disable command"). This way
update-rc.d works with e.g. dash shell again.

(From OE-Core rev: f697332a3a753898183d7c5d2965dd75db9b0a24)

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Changqing Li <changqing.li@windriver.com>
Cc: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-10 22:42:22 +01:00
Ross Burton
1d452b2c09 parted: improve ptest execution
Delete the right log files in run-ptest so the tests can be executed
more than once.

Install config.h so the tests which examine the build configuration will
do the right thing, specifically this causes the tests using libblkid to
execute instead of skip.

Add missing RDEPENDS: mkswap and tune2fs binaries, loop and vfat kernel
modules.

(From OE-Core rev: 43bd50cbf902ce92ea613d142fae2524011b8f55)

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>
2021-07-10 22:42:22 +01:00
Khem Raj
e81bef685f util-linux: Disable chfn-chsh on non-target builds
They are also provided by shadow-native e.g. when building native
recipes and packages where they depend on both shadow-native and
util-linux-native, this can conflict

Enable it only when pam is enabled in distro

Fixes
ERROR: systemd-1_248.3-r0 do_prepare_recipe_sysroot: The file /usr/bin/chsh is installed by both util-linux-native and shadow-native, aborting

(From OE-Core rev: 336625fe433100fb57ea0dda4d9ff5fcb835dc95)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-10 22:42:22 +01:00
Khem Raj
8c2ac7f984 gnome-desktop-testing: Fix non-literal format string warning
This fixes build with clang

(From OE-Core rev: 2b931f8539f73b35d879e3b5993b813394d80d74)

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>
2021-07-10 22:42:22 +01:00
Khem Raj
fb1758abef glib-2.0: Fix signature of close_range
glibc 2.34 provides this function which exposes a latest issue w.r.t.
function parameters

(From OE-Core rev: 534287a00b7e4d74f0dbab0524738a77801682ee)

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>
2021-07-10 22:42:22 +01:00
Marek Vasut
d35902dda4 pulseaudio: Drop pulseaudio-conf
The pulseaudio.inc currently contains these two assignments:
  FILES_${PN}-conf = "${sysconfdir}"
  FILES_${PN}-server = "... ${sysconfdir} ..."
This results in pulseaudio-server shipping the configuration
in /etc/pulse/ , and based on CONFFILES_${PN}-server and co.,
this is how it was intended to work.

However, that also means FILES_${PN}-conf is not useful. In fact,
FILES_${PN}-conf is likely meant for MACHINE specific configuration,
which would better be packaged in separate recipe like e.g. systemd
does in systemd-conf_%.bb . Better yet, such pulseaudio-conf_%.bb
could ship MACHINE specific configuration overrides, which according
to pulse-daemon.conf(5) are picked from /etc/pulse/daemon.conf.d ,
while pulseaudio-server would ship the default configuration files.

Remove FILES_${PN}-conf .

(From OE-Core rev: a83aac8b7717aac48dbb8f6803a015c0098e6d31)

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Tanu Kaskinen <tanuk@iki.fi>
Cc: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-09 23:44:53 +01:00
Changqing Li
fc4ddb28fd boost-build-native: workaround one rarely hang problem on fedora34
Reproduce scenes:
* On fedora34
* autofs.service is started
* test is nis user, which mounted at /nis by autofs
* under /nis/test, there are symlinks point to another nis mount point /nis/yan

Result:
task boost-build-native:do_install hang forever

NOTE: recipe ovmf-edk2-stable202102-r0: task do_package_write_rpm: Succeeded
NOTE: Running noexec task 8124 of 8152 (/layers/oe-core/meta/recipes-core/ovmf/ovmf_git.bb:do_build)
Bitbake still alive (5000s)
Bitbake still alive (10000s)
Bitbake still alive (15000s)
Bitbake still alive (20000s)
Bitbake still alive (25000s)
Bitbake still alive (30000s)
Bitbake still alive (35000s)
Bitbake still alive (40000s)
Bitbake still alive (45000s)
Bitbake still alive (50000s)

$ps aux | grep b2
test 2773444 0.0 0.0 13532 2748 ? D Jul01 0:00 ./b2 install --prefix=/build/tmp-glibc/work/x86_64-linux/boost-build-native/4.4.1-r0/recipe-sysroot-native/usr staging-prefix=/build/tmp-glibc/work/x86_64-linux/boost-build-native/4.4.1-r0/image/build/tmp-glibc/work/x86_64-linux/boost-build-native/4.4.1-r0/recipe-sysroot-native/usr

$ sudo cat /proc/2773444/stack
[<0>] autofs_wait+0x257/0x720
[<0>] autofs_mount_wait+0x49/0xf0
[<0>] autofs_d_manage+0x76/0x1a0
[<0>] __traverse_mounts+0xd9/0x220
[<0>] step_into+0x3ad/0x6d0
[<0>] walk_component+0x62/0x190
[<0>] link_path_walk.part.0.constprop.0+0x20d/0x350
[<0>] path_lookupat+0x3a/0x1b0
[<0>] filename_lookup+0x9b/0x180
[<0>] vfs_statx+0x64/0x100
[<0>] __do_sys_newfstatat+0x1e/0x40
[<0>] do_syscall_64+0x33/0x40
[<0>] entry_SYSCALL_64_after_hwframe+0x44/0xa9

$ dmesg
[1559743.424610] autofs4:pid:2773444:autofs_mount_wait: waiting for mount name=yan
[1559743.424621] autofs4:pid:2773444:autofs_wait: existing wait id = 0x00000056, name = yan, nfy=1
[1560001.400440] autofs4:pid:2774530:autofs_mount_wait: waiting for mount name=yan
[1560001.400452] autofs4:pid:2774530:autofs_wait: existing wait id = 0x00000056, name = yan, nfy=1
[1560022.493282] autofs4:pid:2774537:autofs_mount_wait: waiting for mount name=yan
[1560022.493292] autofs4:pid:2774537:autofs_wait: existing wait id = 0x00000056, name = yan, nfy=1
[1560122.076589] autofs4:pid:3979116:autofs_mount_wait: mount wait done status=-4
[1560162.222374] autofs4:pid:2774530:autofs_mount_wait: mount wait done status=-4
[1560167.116188] autofs4:pid:2774537:autofs_mount_wait: mount wait done status=-4
[1560188.140532] autofs4:pid:2774671:autofs_mount_wait: waiting for mount name=yan
[1560188.140540] autofs4:pid:2774671:autofs_wait: existing wait id = 0x00000056, name = yan, nfy=1
[1560189.651905] autofs4:pid:2774671:autofs_mount_wait: mount wait done status=-4

Analyzation:
b2 will walk the HOME dir, when access the symlink point to /nis/yan,
autofs hang at autofs_wait.  the process stay at D stat forever. This
maybe caused by abnormal status of autofs.service. The problem cannot
reproduce after restart autofs.service. There should be an autofs bug.
and there is an autofs hang problem bug on fedora34 on it's bugzilla:
https://bugzilla.redhat.com/show_bug.cgi?id=1953390

Workaround:
Since b2 don't actually write something to HOME dir, change HOME dir to
/var/run, a dir not mounted by autofs.

(From OE-Core rev: 7ff692d2e9787bb5b36929a208597595473db0c7)

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>
2021-07-09 23:44:53 +01:00
zhengruoqin
1d51d764ff python3-pathlib2: upgrade 2.3.5 -> 2.3.6
License-Update: file format changed from "ASCII text" to
"ASCII text, with CRLF line terminators"

Version 2.3.6
^^^^^^^^^^^^^

- Fix minor unicode bugs in with_name and with_suffix. Many thanks to
  ppentchev for reporting and for providing a fix.

- Fix a few minor bugs.

- Allow unicode file paths on systems that support it
  (note: unicode file paths will not work on Windows
  due a broken filesystem encoder on Windows on Python 2).

- Remove travis and add github actions for regression testing.

- Fix mypy warnings.

(From OE-Core rev: 8d04a6c01bf367eb1cb88fd34768a024c369216a)

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-09 23:44:53 +01:00
wangmy
a8c9c74e7c u-boot: upgrade 2021.04 -> 2021.07
(Changes of v2021.07)

Processed 1730 csets from 187 developers
29 employers found
A total of 402449 lines added, 82710 removed (delta 319739)

(From OE-Core rev: df987d673c933c1040a86a863d00387df7c550cc)

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>
2021-07-09 23:44:53 +01:00
Richard Purdie
6491203eba license: Drop adding RRECOMMENDS for license packages
This changes behaviour when LICENSE_CREATE_PACKAGE is in use. Packages
no longer have RRECOMMENDS adding to them.

It was highlighted that this doesn't apply to PACKAGES_DYNAMIC, nor can
it easily be made to do so. There is also a much easier way to handle this
which is:

IMAGE_INSTALL_COMPLEMENTARY += "*-lic"

which works on a per image basis and doesn't change the underlying
package dependencies. I propose we switch to this instead.

(From OE-Core rev: 5348ffce46d6706b7bb10e41a59e0f6cf16c62b0)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-09 23:44:53 +01:00
Ross Burton
5e6b411198 oeqa/selftest/recipetool: update socat version to fix failing download
If the recipetool tests are run with an empty DL_DIR the fetch of
socat 1.7.3.0 fails as that URL doesn't exist anymore.

Update the version to 1.7.4.1 to fix the test.

(From OE-Core rev: 42ebda0c85f14f9f8a508f59115b141d645d4c77)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-08 14:58:28 +01:00
wangmy
942da997e8 python3-importlib-metadata: upgrade 4.6.0 -> 4.6.1
v4.6.1
======

* #327: Deprecation warnings now honor call stack variance
  on PyPy.

(From OE-Core rev: 5a09610d7b7a631f4cac41ab4325f3ed77c68a50)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-08 14:58:28 +01:00
wangmy
3db268aab0 gnome-desktop-testing: upgrade 2018.1 -> 2021.1
(From OE-Core rev: 4956b802f528713c2e59139b27b5baffde2a344d)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-08 14:58:28 +01:00
wangmy
bc863f9396 vulkan-tools: upgrade 1.2.176 -> 1.2.182
build: Update to header 1.2.182
- Update known-good
- Add support for printing `int64_t` in `scripts/vulkaninfo_generator.py`
- Disable codegen for VK_HUAWEI_subpass_shading
  KhronosGroup/Vulkan-Docs#1564
- Generate source

(From OE-Core rev: 2c6888550112341346e160a61bf0392ce95b1f2e)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-08 14:58:28 +01:00
wangmy
8dfb92a328 vulkan-loader: upgrade 1.2.176 -> 1.2.182
build: Update to header 1.2.182
- Update known-good
- Disable codegen for VK_HUAWEI_subpass_shading
  KhronosGroup/Vulkan-Docs#1564
- Generate source

(From OE-Core rev: 446e2698f5f9c8a652f94b8cc4942ef76edc8d71)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-08 14:58:28 +01:00
wangmy
c68319121c vulkan-headers: upgrade 1.2.176 -> 1.2.182
Add reference to multiple Hpp headers added to this repository

(From OE-Core rev: 1255290a8091e7a1127787e58d129d53d54b4862)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-08 14:58:28 +01:00
Alexander Kanavin
08b30a33bd xwayland: exclude development snapshots from upstream version checks
(From OE-Core rev: d31fa2a23997f656cd7459d682df8ab82f549267)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-08 14:58:28 +01:00
Alexander Kanavin
a0b78a6d4d xserver-xorg: exclude development snapshots from upstream version checks
Standalone X is still winding down; there's no commitment or plan for a proper release.
https://lists.freedesktop.org/archives/xorg/2021-July/060726.html

(From OE-Core rev: e510fbd61648bd6083e4ff009b3983014cfc0aba)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-08 14:58:28 +01:00
Ross Burton
486a35a674 glib-2.0: fix g-file-into modification time test
The GFileInfo modification time test assumed that the difference between
a modification timestamp in seconds and in microseconds must be greater
than 0.

Mathmatically, there's a one-in-a-million chance that it will be 0.  It
turns out that one-in-a-million chances happen approximately once every
fortnight on the autobuilder.

[ YOCTO 14373 ]

(From OE-Core rev: 7d2bd897fdbcf5215bf2287cb96eb6b58803f08c)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-08 14:58:28 +01:00
Richard Purdie
287745a09d glibc-testsuite: Fix build failures when directly running recipe
If you try and run the glibc-testsuite's build task, you see failures
as do_populate_sysroot can't work. We don't have a do_install, get
rid of do_populate_sysroot as well.

The recipe is not included in world builds by default which is why
we don't see the issue more widely.

(From OE-Core rev: f7de32dfcc2e6b1872fbd5ea61dcba944d5553a8)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-08 14:58:28 +01:00
Richard Purdie
a16d7d2ec6 runqemu: Remove potential lock races around tap device handling
The qemu tap device handling is potentially race ridden. We pass the
fd to the main qemu subprocess which is good as it means the lock is held
as long as the qemu process exists. This means we shouldn't unlock it
ourselves though, only close the file. We also can't delete the file
as we have no idea if qemu is still using it. We could try and obtain
an exclusive new lock, then the file would be safe to unlink but it
doesn't seem worth it.

Also fix the same issue in the port lock code.

(From OE-Core rev: 2a87bddabf816d09ec801e33972879e6983627eb)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-08 14:58:28 +01:00
Andreas Müller
bdc5f4e892 pango: upgrade 1.48.5 -> 1.48.7
Overview of changes in 1.48.7
=============================
- Fix a thread-safety issue in fontmap initialization
- Small documentation improvements

Overview of changes in 1.48.6
=============================
- Avoid attribute index overflow
- Add a new pango-segmentation utility
- Documentation cleanups and fixes
- Update script property data for gravity
- Bring back careful glyph position rounding
- Add a few missing bidi types
- Add more tests

(From OE-Core rev: 2abb5fd026bb6f1df504a025702c32eefb13b8bb)

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-07 11:39:42 +01:00
Andreas Müller
ffb71c8f69 mesa: upgrade 21.1.3 -> 21.1.4
Bug fixes
    * [anv] GravityMark (benchmark) crashes on ANV
    * [opengl] We happy few not being rendered correctly
    * Factorio: GPU hang when opening machine inventory
    * RuneScape on Mesa 21.1.1 (VEGA10) has bad performance and leaks memory
    * Supraland: flickering black bars on ground
    * radv: GPU hang in Cyberpunk 2077 on Big Navi
    * [amdgpu][renoir][rx5500m]: [drm:0xffffffff8198ad5e] *ERROR* ring gfx timeout, signaled seq=10952, emitted seq=10954
    * [spirv-fuzz] SPIR-V parsing FAILED: Invalid back or cross-edge in the CFG
    * panfrost Mount and Blade: Warband (glitches)
    * anv: dEQP-VK.robustness.robustness2*no_fmt_qual.null_descriptor.samples* fail

Changes
    * util/fossilize_db: Pull seek into lock.
    * util/fossilize_db: Split out reading the index.
    * util/fossilize_db: Do not lock the fossilize db permanently.
    * spirv: Fix handling of OpBranchConditional with same THEN and ELSE
    * nir/opt_if: Don’t split ALU for single block infinite loops
    * llvmpipe: Add handle export for resource_get_param
    * i965: fix regression in pipe control on g45
    * pick_status.json: Update to 977355c6e5efd781dde85d834172dd23cd4852f1
    * pick_status.json: Update to 40b67a292297606f0a7576e3ef4087028d5edd17
    * zink: do not unmap dt-buffers twice
    * zink: drop repeated usage-bit
    * zink: do not check buffer-format for usage-bits
    * zink: remove unused moltenvk functions
    * libgl-gdi: add missing include
    * aux/trace: fix bool argument
    * ci/windows: work around meson encoding issues
    * intel/fs: Teach IR about EOT instruction writing the accumulator implicitly on TGL+.
    * intel/fs: Fix synchronization of accumulator-clearing W/A move on TGL+.
    * pan/mdg: Add a bundle ID to instructions
    * pan/mdg: Reorder some code in mir_spill_register
    * pan/mdg: Fill from TLS before spilling non-SSA nodes
    * pan/mdg: Fix reading a spilt register in the bundle it’s written
    * pan/mdg: Add 16 bytes of padding to the end of shaders
    * intel/nir: Fix txs for null surfaces
    * spirv: Create acceleration structure and shader record variables
    * nv50/ir: fix surface lowering when values get shared accross operations
    * anv: Fix dynamic primitive topology for tess on Gfx7.x too
    * anv: allocate bigger batches as we grow command buffers
    * mesa: unreference zombie buffers when creating buffers to lower memory usage
    * compiler/glsl: Use mutex lock while freeing up mem_ctx
    * anv: fix dynamic primitive topology for tess
    * zink: handle custom border color without matching wrap mode case
    * radeonsi: skip instance_count==0 draws on <= GFX9
    * radeonsi: disable ngg culling on llvm < 12
    * radv: reject binding buffer/image when the device memory is too small
    * radv: always decompress both aspects of a depth/stencil image
    * amd/addrlib: remove Meson debug message()
    * radeon/vcn/enc: Add missing line to HEVC SPS header code
    * util: add work around for the game We Happy Few
    * ac/nir: Update TCS output barriers with nir_var_mem_shared.
    * radv/llvm: Emit s_barrier at the beginning of NGG non-GS shaders.
    * aco/gfx10: NGG zero output workaround for conservative rasterization.
    * aco/gfx10: Emit barrier at the start of NGG VS and TES.

(From OE-Core rev: b6fbe138f4d359fb5ed5fb0968f6be8f04f8eca6)

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-07 11:39:42 +01:00
Andreas Müller
e1eb2da668 libdrm: upgrade 2.4.106 -> 2.4.107
(From OE-Core rev: 0f913cd6bf8cab67e55cd17c5998bc2459abea30)

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-07 11:39:42 +01:00
Ross Burton
493d1abff7 util-linux: rewrite the ptest integration
Instead of duplicating logic, we can use the run.sh that the test suite
installs.

Unless told otherwise, the util-linux test suite assumes that it is
running in a build tree and looks for binaries to run, but we're on
target so pass --use-system-commands (drops ~180 skips to tens).

Add --show-diff so that debugging can be done from the logs alone.

Remove redundant path manipulation that is now done upstream.

If PAM is disabled, delete the chfn test: it will run the chfn from
shadow which has different output, and the test will fail.

[ YOCTO #14244 ]

(From OE-Core rev: 720660b936b5523ec48a7c04712d10c88198e12c)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-07 11:39:42 +01:00
Ross Burton
c1fea579f0 util-linux: backport test suite fixes
Backport a number of fixes so the test suite passes.

(From OE-Core rev: 398b9dab8675829f3428a4f00bffcf84525e0a46)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-07 11:39:42 +01:00
Ross Burton
ebaf733a70 util-linux: add missing ptest dependencies
The kernel modules loop and sd-mod are needed for the block device tests.

GNU find is used in some tests.

(From OE-Core rev: 9350c391f11bf7587fe46a54c93dc6e4bf3b51db)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-07 11:39:42 +01:00
Ross Burton
31d2e2ef9f util-linux: build chfn and chsh
As we now split util-linux per-binary there's no disadvantage to not
building chfn and chsh.

This also means that the tests pass instead of failing when the test
uses the binaries from shadow.

(From OE-Core rev: 804c6b5bd3d398d5ea2a45d6bcc23c76e328ea3f)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-07 11:39:42 +01:00
Ross Burton
1ffaa2533e shadow: generate alternative links for chfn and chsh
These can be provided by util-linux, so add alternative links for them.

(From OE-Core rev: 953a91bd258dcb825df3837635ce7561331c049e)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-07 11:39:42 +01:00
Mingli Yu
eefa206741 perl: correct libpth and glibpth
Previouly there is a logic as below used to set libpth in config.sh.
libpth='@LIBDIR@ @BASELIBDIR@'

But after the below commits introduced, the above logic is dropped.
52f2828314 perl: add a version that builds the recipe using perl-cross, and update to 5.28.1
68552c3532 perl: remove the previous version of the recipe

So correct the value of libpth and glibpth to add the dropped logic
back to avoid confusing.

Before the patch(on 64bits system):
 # perl -V:libpth
 libpth='/usr/lib /lib';

After the patch(on 64bits system):
 # perl -V:libpth
 libpth='/usr/lib64 /lib64';

(From OE-Core rev: a494de43c3ccdcf7af988765ae5c3a95bc20c567)

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-07 11:39:42 +01:00
Tim Orling
6c3048f4ac python3-zipp: upgrade 3.4.1 -> 3.5.0
v3.5.0
Issue 74 and bpo-44095: Added .suffix, .suffixes, and .stem properties.

References:
https://github.com/jaraco/zipp/issues/74
https://bugs.python.org/issue44095
https://github.com/python/cpython/pull/26129

(From OE-Core rev: 4978f40eb91ec6d76c61d5e0d1e4a98d0d5bb2f7)

Signed-off-by: Tim Orling <timothy.t.orling@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-07 11:39:42 +01:00
Tim Orling
ae24dd88b9 python3-hypothesis: upgrade 6.14.0 -> 6.14.1
6.14.1 - 2021-07-02

This patch updates some internal type annotations. There is no user-visible change.

(From OE-Core rev: 49f5b968989b3c82613922ee0326f2cfdf86b3c3)

Signed-off-by: Tim Orling <timothy.t.orling@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-07 11:39:42 +01:00
Tim Orling
819e7cba3c python3-packaging: upgrade 20.9 -> 21.0
21.0 - 2021-07-03

packaging is now only compatible with Python 3.6 and above.
Add support for zip files in parse_sdist_filename (:issue:`429`)

References:
https://github.com/pypa/packaging/issues/429

(From OE-Core rev: c2e51c605afc78574f2f561750c498b96c42bc63)

Signed-off-by: Tim Orling <timothy.t.orling@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-07 11:39:42 +01:00
Alexander Kanavin
a47bb4ff00 texinfo: update 6.7 -> 6.8
Drop texinfo-4.12-zlib.patch as it completely lacks a description,
was added together with the original recipe without an explanation in
the commit message, and is difficult to rebase.

(From OE-Core rev: b8634f645b38d4cf3709e7d365e528317d75e676)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-07 11:39:42 +01:00
Zoltán Böszörményi
0c2abb3d24 tzdata: Allow controlling zoneinfo binary format
tzcode 2020b changed the default format from "-b fat" to "-b slim".
Allow external control for the binary format.

(From OE-Core rev: c9e8b716eb71d4526517825eacefb91ab2c1781c)

Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-07 11:39:42 +01:00
Richard Purdie
e10425cc7b oeqa/selftest/multiprocesslauch: Fix test race
Having two possible failures in multiprocesslauch creates a race where one failure
may occur and stop processes being lanuched meaning the second failure may not
be seen. Rather than having periodic races appearing on the autobuilder, only
have one failure, making the test much more deterministic.

[YOCTO #13054]

(From OE-Core rev: 31e9dcda40aae3ce0801580c838928956e1455e3)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-07 11:39:42 +01:00
Richard Purdie
5c928099ed dwarfsrcfiles: Avoid races over debug-link files
We use dwarfsrcfiles in package.bbclass to list the source files used by a binary.
This is done before they're stripped and linked to debug symbols in separate files.

It is possible a binary may already have a link to separate debug symbols, e.g.
some of the test binaries in lttng-tools ptest. In those cases, the linked binary
may be changed by package.bbclass code whilst dwarfsrcfiles is reading it. That
would result in a rare SIGBUS race causing the binary to fail.

To avoid this, break the debug file search path so no other binaries are found.

Also fix a segfault if no binary is specified while here.

[YOCTO #14400]

(From OE-Core rev: efef732859e265533acf16f2f4da3b29d50e0df4)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-07 11:39:42 +01:00
Alexey Brodkin
bdf408ca92 dhcpcd: add ARC support
This retrofits ARC support from upstream [1].
Should be a part of the next release of "dhcpcd".

82386110e6

(From OE-Core rev: 5f4f9529b89b7e3357f6b979bb7d97c4c937d44c)

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-05 10:59:40 +01:00
bkylerussell@gmail.com
768d621067 gstreamer: add libgst packages to PACKAGES_DYNAMIC
This allows the dynamic libgst* plugin packages and libgstrtspserver-1.0
to be used correctly in RDEPENDS.

All gstreamer1.0-plugins-* recipes and gstreamer1.0-rtsp-server include
gstreamer1.0-plugins-packaging.inc, which creates multiple libgst*
packages through split_gstreamer10_packages(), but only one of the
do_split_packages() regexes was included in PACKAGES_DYNAMIC, and only
for the plugins packages (through gstreamer1.0-plugins-common.inc).
Now the PACKAGES_DYNAMIC definition exists with the do_split_packages()
regexes.

(From OE-Core rev: d5650e00f7b26b8949ca3baad7df4b8a4ea918a7)

Signed-off-by: Kyle Russell <bkylerussell@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-05 10:59:40 +01:00
Alexander Kanavin
e872d4ea6e iputils: correct upstream version check
(From OE-Core rev: fdb36b54a53405785c492e9f98e2ffcbcedec296)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-05 10:59:40 +01:00
Alexander Kanavin
b77230c010 python3-iniparse: update 0.4 -> 0.5
Drop the python3 compatibility patch (upstream is back from the dead and
fixed it).

(From OE-Core rev: a721edc1faccfdb7fc939fe7284a641485135f2f)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-05 10:59:40 +01:00
Alexander Kanavin
5dc897ffa6 rt-tests: update 1.10 -> 2.1
(From OE-Core rev: 147cf2d17cde50500aaf74627a27b614780374c0)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-05 10:59:40 +01:00
Alexander Kanavin
b3cb094755 man-pages: upgrade 5.11 -> 5.12
License-Update: installation instructions

(From OE-Core rev: e6f456bf661fdc9586edbbc8be71aabbaf2e3531)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-05 10:59:40 +01:00
Bruce Ashfield
bf9216bac4 linux-yocto: introduce 5.13 recipes
5.13 will be the next release/reference kernel (matched with a
libc-headers version bump), this commit creates the recipes, but
does not make it the default kernel (yet).

This has been built and booted on all supported qemu platforms,
as well as with musl and glibc based userspace stacks. Full
core-image-kernel-dev, sato and minimal images have been
tested and show no obvous issues (either locally or on the
autobuilder).

(From OE-Core rev: 8f4eaa7bb9f14b90ce13f17807938ada4d88e6bc)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-05 10:59:40 +01:00
Bruce Ashfield
1453135bd7 kernel-devsrc: powerpc64 add scripts prepare support
Similar to 32bit powerpc, we need more vdso bits in devsrc to
support on target scripts prepare for powerpc64.

(From OE-Core rev: 412186e001c66f943e10d787e9b826f1ca987402)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-05 10:59:40 +01:00
Bruce Ashfield
c903260701 kernel-devsrc: fix scripts prepare for powerpc
5.13 introduces some new tweaks required to get on target scripts
and prepare working for powerpc:

  - 'nm' is detected as 'nm --synthetic', so we adjust our replacement
  - more vdso is required on target, so we copy those files (like arm64
    does)
  - grep is required during processing, so we add it to the redpends

(From OE-Core rev: c43baf3a0e41b41a64f450fd03810306c8ddd314)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-05 10:59:40 +01:00
Bruce Ashfield
ef8f5d17cc kernel-devsrc: fix scripts/prepare for ARM64
There are two new tools in 5.13+ required for on target
recreation of the build environment.

We conditionally add them to the devsrc recipe to support
both 5.13 and older kernels.

(From OE-Core rev: cb1b7e76f20dc7f11a667fa00958ab56e680c632)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-05 10:59:40 +01:00
Bruce Ashfield
ecd989378b linux-libc-headers: update to 5.13
Bumping the libc-headers to match the latest OE core reference
kernel.

We refresh one of the musl patches to udpate to the 5.12+ context of
the header, but otherwise everything is unchanged.

(From OE-Core rev: 3a171279d8ebe6efc714842c762521354aecebec)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-05 10:59:40 +01:00
Bruce Ashfield
66d657c138 linux-yocto/5.10: scsi-debug needs scsi-disk
It was pointed out that the default scsi-debug feature didn't behave
the same as other distros, since it doesn't have disk supporrt enabled.
We already have a disk.cfg for scsi so we include it into the debug
fragment to get the support we want.

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

    66a4b5fc619 scsi: debug needs disk support

(From OE-Core rev: 8c3ca417a7e9e3c670f1cbff2352c8761b60caff)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-05 10:59:40 +01:00
Bruce Ashfield
3c013be1ab linux-yocto/5.4: update to v5.4.129
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:

    82ffbc138a1f Linux 5.4.129
    9011aaab90b8 certs: Move load_system_certificate_list to a common function
    e20b90e4f81b certs: Add EFI_CERT_X509_GUID support for dbx entries
    06ab9df09eb3 x86/efi: move common keyring handler functions to new file
    ac7d3f554472 certs: Add wrapper function to check blacklisted binary hash
    61168eafe024 mm, futex: fix shared futex pgoff on shmem huge page
    a33b70d62552 mm/thp: another PVMW_SYNC fix in page_vma_mapped_walk()
    e045e9e79d2a mm/thp: fix page_vma_mapped_walk() if THP mapped by ptes
    037a1d67d236 mm: page_vma_mapped_walk(): get vma_address_end() earlier
    fa89d536948a mm: page_vma_mapped_walk(): use goto instead of while (1)
    a499febd9935 mm: page_vma_mapped_walk(): add a level of indentation
    b1783bf8c8e4 mm: page_vma_mapped_walk(): crossing page table boundary
    80b2270a14b8 mm: page_vma_mapped_walk(): prettify PVMW_MIGRATION block
    ef161ccaca70 mm: page_vma_mapped_walk(): use pmde for *pvmw->pmd
    4961160272b7 mm: page_vma_mapped_walk(): settle PageHuge on entry
    52e2b20fb5e4 mm: page_vma_mapped_walk(): use page for pvmw->page
    82ee7326af7a mm: thp: replace DEBUG_VM BUG with VM_WARN when unmap fails for split
    bd4389215227 mm/thp: unmap_mapping_page() to fix THP truncate_cleanup_page()
    b767134ec30a mm/thp: fix page_address_in_vma() on file THP tails
    41432a8a6776 mm/thp: fix vma_address() if virtual address below file offset
    4b0a34e222e5 mm/thp: try_to_unmap() use TTU_SYNC for safe splitting
    bd092a0f1942 mm/thp: make is_huge_zero_pmd() safe and quicker
    4c37d7f269f8 mm/thp: fix __split_huge_pmd_locked() on shmem migration entry
    7ce4b73d349b mm, thp: use head page in __migration_entry_wait()
    68ce37ebe0f2 mm/rmap: use page_not_mapped in try_to_unmap()
    432b61863ac7 mm/rmap: remove unneeded semicolon in page_not_mapped()
    cfe575954ddd mm: add VM_WARN_ON_ONCE_PAGE() macro
    42f11f0fe977 kthread: prevent deadlock when kthread_mod_delayed_work() races with kthread_cancel_delayed_work_sync()
    06ab015d1849 kthread_worker: split code for canceling the delayed work timer
    d77c9c8537db i2c: robotfuzz-osif: fix control-request directions
    bb85717e3797 KVM: do not allow mapping valid but non-reference-counted pages
    d6f751ecccfb nilfs2: fix memory leak in nilfs_sysfs_delete_device_group
    702acfcbfa68 pinctrl: stm32: fix the reported number of GPIO lines per bank
    76c10e10ba7b net: ll_temac: Avoid ndo_start_xmit returning NETDEV_TX_BUSY
    aa00b9780482 net: ll_temac: Add memory-barriers for TX BD access
    d807b93f9bca PCI: Add AMD RS690 quirk to enable 64-bit DMA
    5830f2081d98 recordmcount: Correct st_shndx handling
    70866199220e net: qed: Fix memcpy() overflow of qed_dcbx_params()
    b7168ec176fd KVM: selftests: Fix kvm_check_cap() assertion
    58687d143515 r8169: Avoid memcpy() over-reading of ETH_SS_STATS
    cb4a2e4e224a sh_eth: Avoid memcpy() over-reading of ETH_SS_STATS
    97e0102e1824 r8152: Avoid memcpy() over-reading of ETH_SS_STATS
    f12a5b48bcc8 net/packet: annotate accesses to po->ifindex
    cdcedd3c8683 net/packet: annotate accesses to po->bind
    343406f9c198 net: caif: fix memory leak in ldisc_open
    8707ce86e927 net: phy: dp83867: perform soft reset and retain established link
    9f2d04dfb3c4 inet: annotate date races around sk->sk_txhash
    d40ff07a7b7d ping: Check return value of function 'ping_queue_rcv_skb'
    9df4f031536b net: ethtool: clear heap allocations for ethtool function
    62aed2df294a mac80211: drop multicast fragments
    eb2b1216bc8f net: ipv4: Remove unneed BUG() function
    e0c950d2fddb dmaengine: mediatek: use GFP_NOWAIT instead of GFP_ATOMIC in prep_dma
    f7b1926c7c5d dmaengine: mediatek: do not issue a new desc if one is still current
    3d995587c3ea dmaengine: mediatek: free the proper desc in desc_free handler
    c09af3877b53 dmaengine: rcar-dmac: Fix PM reference leak in rcar_dmac_probe()
    f2c027a7750f cfg80211: call cfg80211_leave_ocb when switching away from OCB
    78bf3c613148 mac80211_hwsim: drop pending frames on stop
    ae9de9444b54 mac80211: remove warning in ieee80211_get_sband()
    0e486713779a dmaengine: zynqmp_dma: Fix PM reference leak in zynqmp_dma_alloc_chan_resourc()
    456367b24190 Revert "PCI: PM: Do not read power state in pci_enable_device_flags()"
    1442186236ad spi: spi-nxp-fspi: move the register operation after the clock enable
    7bc73260c4b1 MIPS: generic: Update node names to avoid unit addresses
    0855fe6d8835 arm64: link with -z norelro for LLD or aarch64-elf
    3173390b8dbc kbuild: add CONFIG_LD_IS_LLD
    3450f5eb8c9e mmc: meson-gx: use memcpy_to/fromio for dram-access-quirk
    48a5449c0be1 ARM: 9081/1: fix gcc-10 thumb2-kernel regression
    4a8e89e0fd0b drm/radeon: wait for moving fence after pinning
    4577708b2a22 drm/nouveau: wait for moving fence after pinning v2
    c77c617e26e2 Revert "drm/amdgpu/gfx10: enlarge CP_MEC_DOORBELL_RANGE_UPPER to cover full doorbell."
    6bd0da6c9b12 Revert "drm/amdgpu/gfx9: fix the doorbell missing when in CGPG issue."
    e2dc07ca4e01 module: limit enabling module.sig_enforce

(From OE-Core rev: d621feee60e71bea68c853626e74669b9d953346)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-05 10:59:40 +01:00
Bruce Ashfield
404f40d693 linux-yocto/5.10: update to v5.10.47
Updating linux-yocto/5.10 to the latest korg -stable release that comprises
the following commits:

    4357ae26d4cd Linux 5.10.47
    1573d595e239 integrity: Load mokx variables into the blacklist keyring
    c6ae6f89fc4f certs: Add ability to preload revocation certs
    72d6f5d982f0 certs: Move load_system_certificate_list to a common function
    45109066f686 certs: Add EFI_CERT_X509_GUID support for dbx entries
    0ba128fa68a4 Revert "drm: add a locked version of drm_is_current_master"
    0463b49e0239 netfs: fix test for whether we can skip read when writing beyond EOF
    e6108147dd91 swiotlb: manipulate orig_addr when tlb_addr has offset
    7570a8b5dd49 KVM: SVM: Call SEV Guest Decommission if ASID binding fails
    377a796e7a71 mm, futex: fix shared futex pgoff on shmem huge page
    ab9d178167ea mm/thp: another PVMW_SYNC fix in page_vma_mapped_walk()
    915c3a262c49 mm/thp: fix page_vma_mapped_walk() if THP mapped by ptes
    90073aecc3cc mm: page_vma_mapped_walk(): get vma_address_end() earlier
    bf60fc2314b9 mm: page_vma_mapped_walk(): use goto instead of while (1)
    9f85dcaf1533 mm: page_vma_mapped_walk(): add a level of indentation
    e56bdb397663 mm: page_vma_mapped_walk(): crossing page table boundary
    8dc191ed9c5f mm: page_vma_mapped_walk(): prettify PVMW_MIGRATION block
    7b55a4bcfccf mm: page_vma_mapped_walk(): use pmde for *pvmw->pmd
    1cb0b9059f9e mm: page_vma_mapped_walk(): settle PageHuge on entry
    65febb41b4d6 mm: page_vma_mapped_walk(): use page for pvmw->page
    825c28052b4d mm: thp: replace DEBUG_VM BUG with VM_WARN when unmap fails for split
    0010275ca243 mm/thp: unmap_mapping_page() to fix THP truncate_cleanup_page()
    38cda6b5ab83 mm/thp: fix page_address_in_vma() on file THP tails
    37ffe9f4d7ff mm/thp: fix vma_address() if virtual address below file offset
    66be14a92609 mm/thp: try_to_unmap() use TTU_SYNC for safe splitting
    6527d8ef68c3 mm/thp: make is_huge_zero_pmd() safe and quicker
    a8f4ea1d38ac mm/thp: fix __split_huge_pmd_locked() on shmem migration entry
    32f954e961ca mm, thp: use head page in __migration_entry_wait()
    bfd90b56d7f6 mm/rmap: use page_not_mapped in try_to_unmap()
    ff81af8259bb mm/rmap: remove unneeded semicolon in page_not_mapped()
    a0ad7ea018e7 mm: add VM_WARN_ON_ONCE_PAGE() macro
    130a1d76ee0b x86/fpu: Make init_fpstate correct with optimized XSAVE
    51d8011782ed x86/fpu: Preserve supervisor states in sanitize_restored_user_xstate()
    2b35a4eaaaae kthread: prevent deadlock when kthread_mod_delayed_work() races with kthread_cancel_delayed_work_sync()
    bfe28af78a20 kthread_worker: split code for canceling the delayed work timer
    02c303f3b9fb ceph: must hold snap_rwsem when filling inode for async create
    de0af2651daa i2c: robotfuzz-osif: fix control-request directions
    dd8ed6c9bc22 KVM: do not allow mapping valid but non-reference-counted pages
    5fd0c2cf7b11 s390/stack: fix possible register corruption with stack switch helper
    ab5bef978038 nilfs2: fix memory leak in nilfs_sysfs_delete_device_group
    ace31c91fd59 scsi: sd: Call sd_revalidate_disk() for ioctl(BLKRRPART)
    b9e6c20d4c9d gpiolib: cdev: zero padding during conversion to gpioline_info_changed
    0221a5a4db46 i2c: i801: Ensure that SMBHSTSTS_INUSE_STS is cleared when leaving i801_access
    018d03fcf77a pinctrl: stm32: fix the reported number of GPIO lines per bank
    df654cd3d300 perf/x86: Track pmu in per-CPU cpu_hw_events
    f9e73b2967f6 net: ll_temac: Avoid ndo_start_xmit returning NETDEV_TX_BUSY
    1c9cf96f5652 net: ll_temac: Add memory-barriers for TX BD access
    bafb6cdd4f70 PCI: Add AMD RS690 quirk to enable 64-bit DMA
    d91c50e6a678 recordmcount: Correct st_shndx handling
    fb71d81ccd69 mac80211: handle various extensible elements correctly
    676a7cb1a96b mac80211: reset profile_periodicity/ema_ap
    ca0e1fefbb53 net: qed: Fix memcpy() overflow of qed_dcbx_params()
    4658a8d30791 KVM: selftests: Fix kvm_check_cap() assertion
    e83e3c5d85a7 r8169: Avoid memcpy() over-reading of ETH_SS_STATS
    992b105abf57 sh_eth: Avoid memcpy() over-reading of ETH_SS_STATS
    a10856ea6066 r8152: Avoid memcpy() over-reading of ETH_SS_STATS
    196b22ef6cd1 net/packet: annotate accesses to po->ifindex
    da8b3aeff4ad net/packet: annotate accesses to po->bind
    18ed1789bbce net: caif: fix memory leak in ldisc_open
    edcd7594ada9 riscv32: Use medany C model for modules
    47c07f919fab net: phy: dp83867: perform soft reset and retain established link
    f57132a887ea net/packet: annotate data race in packet_sendmsg()
    9707960ecfdc inet: annotate date races around sk->sk_txhash
    7293f63b7b62 net: annotate data race in sock_error()
    61b132f67c0d ping: Check return value of function 'ping_queue_rcv_skb'
    08c389de6d53 inet: annotate data race in inet_send_prepare() and inet_dgram_connect()
    c2311fd6de78 net: ethtool: clear heap allocations for ethtool function
    c2813d1966ba mac80211: drop multicast fragments
    fedc4d4f548c net: ipv4: Remove unneed BUG() function
    93c2aac13b08 dmaengine: mediatek: use GFP_NOWAIT instead of GFP_ATOMIC in prep_dma
    0f48f9277182 dmaengine: mediatek: do not issue a new desc if one is still current
    63fa5b2d4b55 dmaengine: mediatek: free the proper desc in desc_free handler
    78fa0f707d73 dmaengine: rcar-dmac: Fix PM reference leak in rcar_dmac_probe()
    6a07cf36064a cfg80211: call cfg80211_leave_ocb when switching away from OCB
    a9028333001f mac80211_hwsim: drop pending frames on stop
    8cfe765afd5a mac80211: remove warning in ieee80211_get_sband()
    b671b9816982 dmaengine: xilinx: dpdma: Limit descriptor IDs to 16 bits
    524f70b30ef8 dmaengine: xilinx: dpdma: Add missing dependencies to Kconfig
    13b245a7bd59 dmaengine: stm32-mdma: fix PM reference leak in stm32_mdma_alloc_chan_resourc()
    86f3e72dcb72 dmaengine: zynqmp_dma: Fix PM reference leak in zynqmp_dma_alloc_chan_resourc()
    4df9ed0edb9f perf/x86/intel/lbr: Zero the xstate buffer on allocation
    56bc20e5fc64 perf/x86/lbr: Remove cpuc->lbr_xsave allocation from atomic context
    ca2acbd5483f locking/lockdep: Improve noinstr vs errors
    59aa5c91f863 x86/xen: Fix noinstr fail in exc_xen_unknown_trap()
    cb83c99cf675 x86/entry: Fix noinstr fail in __do_fast_syscall_32()
    cf5935487594 drm/vc4: hdmi: Make sure the controller is powered in detect
    f73aca83fd83 drm/vc4: hdmi: Move the HSM clock enable to runtime_pm
    f11f9ff8a7c9 Revert "PCI: PM: Do not read power state in pci_enable_device_flags()"
    4b06ebab4a82 spi: spi-nxp-fspi: move the register operation after the clock enable
    50a1312a29d1 arm64: Force NO_BLOCK_MAPPINGS if crashkernel reservation is required
    bd5d4df4dcc1 arm64: Ignore any DMA offsets in the max_zone_phys() calculation
    3bbdf5a6fcd2 MIPS: generic: Update node names to avoid unit addresses
    03096a46019e mmc: meson-gx: use memcpy_to/fromio for dram-access-quirk
    b8fd230ae085 ARM: 9081/1: fix gcc-10 thumb2-kernel regression
    3d6c4f78ec61 drm/amdgpu: wait for moving fence after pinning
    694bb36aa75d drm/radeon: wait for moving fence after pinning
    bcfea2412f4b drm/nouveau: wait for moving fence after pinning v2
    3ef0ca0ec995 drm: add a locked version of drm_is_current_master
    fea853aca321 Revert "drm/amdgpu/gfx10: enlarge CP_MEC_DOORBELL_RANGE_UPPER to cover full doorbell."
    1bd81429d53d Revert "drm/amdgpu/gfx9: fix the doorbell missing when in CGPG issue."
    3051f230f19f module: limit enabling module.sig_enforce

(From OE-Core rev: a2616c36cf3398ac81db0a479c45686769903159)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-05 10:59:40 +01:00
Mingli Yu
4d516fdda6 perlcross: check the file if patched or not
After the commit(60dcb230f6 perl: split perl-cross into its own recipe)
introduced, the source files mainly come from two parts, one is from
SRI_URI during do_fetch and the other with below means during do_configure.
do_configure_prepend() {
    cp -rfp ${STAGING_DATADIR_NATIVE}/perl-cross/* ${S}
}

And the source files will be changed during do_compile with below
logic in Makefile.
$(CROSSPATCHED): %.applied: %.patch
        patch -p1 -i $< && touch $@

And there comes build failure with below steps:
 $ bitbake perl-native

Make a change as below
 $ git diff
 diff --git a/meta/recipes-devtools/perl-cross/perlcross_1.3.6.bb b/meta/recipes-devtools/perl-cross/perlcross_1.3.6.bb
 index b77bbd1fd4..4c5e35ab80 100644
 --- a/meta/recipes-devtools/perl-cross/perlcross_1.3.6.bb
 +++ b/meta/recipes-devtools/perl-cross/perlcross_1.3.6.bb
 @@ -33,6 +33,7 @@ do_compile () {
  do_install_class-native() {
      mkdir -p ${D}/${datadir}/perl-cross/
      cp -rf ${S}/* ${D}/${datadir}/perl-cross/
 +    echo "test" > ${D}/${datadir}/perl-cross/testfile
 }

 $ bitbake perl-native
 | NOTE: make -j 48
 | make crosspatch
 | make[1]: Entering directory '/buildarea1/myu2/wr_build/wr1021_20210616_perl/build/tmp-glibc/work/x86_64-linux/perl-native/5.34.0-r0/perl-5.34.0'
 | patch -p1 -i cnf/diffs/perl5-5.34.0/time-hires.patch && touch cnf/diffs/perl5-5.34.0/time-hires.applied
 | patch -p1 -i cnf/diffs/perl5-5.34.0/xconfig.patch && touch cnf/diffs/perl5-5.34.0/xconfig.applied
 | patch -p1 -i cnf/diffs/perl5-5.34.0/posix-makefile.patch && touch cnf/diffs/perl5-5.34.0/posix-makefile.applied
 | File dist/Time-HiRes/Makefile.PL is read-only; trying to patch anyway
 | patching file dist/Time-HiRes/Makefile.PL
 | Reversed (or previously applied) patch detected!  Assume -R? [n]
 | Apply anyway? [n]
 | Skipping patch.
 | 4 out of 4 hunks ignored -- saving rejects to file dist/Time-HiRes/Makefile.PL.rej
 | patch -p1 -i cnf/diffs/perl5-5.34.0/test-commonsense.patch && touch cnf/diffs/perl5-5.34.0/test-commonsense.applied
 | File perl.h is read-only; trying to patch anyway
 | patching file perl.h
 | Reversed (or previously applied) patch detected!  Assume -R? [n]
 | Apply anyway? [n]
 | Skipping patch.
 | 1 out of 1 hunk ignored -- saving rejects to file perl.h.rej
 | make[1]: *** [Makefile:64: cnf/diffs/perl5-5.34.0/time-hires.applied] Error 1
 [snip]

It's because the source files patched twice, so check the file if patched
or not to avoid the source files patched more than one time to fix the
build failure as above.

(From OE-Core rev: 2a71a1f308b7f97d83bd23b0f8e733543841efad)

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-05 10:59:40 +01:00
Peter Bergin
be1cf223bf Revert "libubootenv: inherit uboot-config"
This reverts commit 10aa1291979fb90bed1beb49be4d406ed0e1e4d5.

As there is no build dependency between libubootenv and the configuration
of u-boot there is no reason to check for UBOOT_CONFIG or UBOOT_MACHINE
by adding the class uboot-config. Revert this in order to remove useless
workaround in bsp layer (meta-freescale).

(From OE-Core rev: a6cc842973f8e3d5a72e6f4012d0430777901408)

Signed-off-by: Peter Bergin <peter@berginkonsult.se>
Acked-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-02 23:14:33 +01:00
Asfak Rahman
567b7e3060 openssh: Remove temporary keys before generating new ones
Key generation may wait for user input, due to the existence of
temporary keys resulting from power interruption in the first boot.
This prevents users from login via ssh.

(From OE-Core rev: 3196249a6917a32491be56e70bbf26d3b9818e0e)

Signed-off-by: Asfak Rahman <asfakr@outlook.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-02 23:14:33 +01:00
Mingli Yu
692c2b3652 pulseaudio: check if NEON code can be compiled on arm
Backport a patch to check if NEON code can be compiled on arm to
fix below issue:
 | /prj/tmp-glibc/work/armv5e-wrs-linux-gnueabi/pulseaudio/14.0-r0/recipe-sysroot-native/usr/lib/arm-wrs-linux-gnueabi/gcc/arm-wrs-linux-gnueabi/10.2.0/include/arm_neon.h:31:2: error: #error "NEON intrinsics not available with the soft-float ABI.  Please use -mfloat-abi=softfp or -mfloat-abi=hard"
 |  31 | #error "NEON intrinsics not available with the soft-float ABI.  Please use -mfloat-abi=softfp or -mfloat-abi=hard"
      |  ^~~~~
 | ../pulseaudio-14.0/src/pulsecore/mix_neon.c: In function 'pa_mix_ch2_s16ne_neon':
 | ../pulseaudio-14.0/src/pulsecore/mix_neon.c:38:9: error: unknown type name 'int32x4_t'; did you mean 'int32_t'?
 |   38 |         int32x4_t sum0, sum1;

(From OE-Core rev: 79dedfbae5edceecca2b0abfacb3c61abcab7cfa)

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Tested-by: Andrea Adami <andrea.adami@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-02 23:14:33 +01:00
Saul Wold
6a9449f0c1 testimage.bbclass: Add dump-guest-memory cmd
This command takes a set of command arguments, one of which requires
a filename so use %s which the MonitorDumper will translate to a
unique filename in the dated qmp directory.

CMD Before: {paging:false,protocol:file:%s.img}
CMD After: {paging:false,protocol:file:/yocto/poky/build/tmp/log/runtime-hostdump/qmp_00_dump-guest-memory.img}

(From OE-Core rev: 563e78491be3763f53f9ea53241853b099f5747b)

Signed-off-by: Saul Wold <saul.wold@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-02 23:14:33 +01:00
Saul Wold
bb534a9c02 oeqa/dump.py: Add support for QMP command arguments
Need to ensure that the dump_dir is created correctly and available
When command arguemnts are passed construct a filename if needed and
convert the arguements to a json object to pass to QMP.

(From OE-Core rev: 9a2f4e1e95f4a3f7ebbf08f46445c8ea670adce3)

Signed-off-by: Saul Wold <saul.wold@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-02 23:14:32 +01:00
Saul Wold
879545999f oeqa/qemurunner: add support qmp cmd args
This will enable passing arguments to qmp commands for
those that require additional information

(From OE-Core rev: 4d34676b6226a34df2877adbeea25abb5b2a31be)

Signed-off-by: Saul Wold <saul.wold@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-02 23:14:32 +01:00
Tim Orling
e6f0176917 python3-importlib-metadata: upgrade 4.5.0 -> 4.6.0
Upstream release notes:

v4.6.0
======

* #326: Performance tests now rely on
  `pytest-perf <https://pypi.org/project/pytest-perf>`_.
  To disable these tests, which require network access
  and a git checkout, pass ``-p no:perf`` to pytest.

(From OE-Core rev: 9a487fb10682243c6bbbb6a9918760cbeee06c19)

Signed-off-by: Tim Orling <timothy.t.orling@intel.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-02 23:14:32 +01:00
zhengruoqin
ea29a3c116 python3: upgrade 3.9.5 -> 3.9.6
0001-Makefile-fix-Issue36464-parallel-build-race-problem.patch
removed since it is included in 3.9.6

(From OE-Core rev: 1a12d978f2046fc5d3abc96db3753e378f29ecae)

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-02 23:14:32 +01:00
zhengruoqin
d2e5c350e9 libffi: upgrade 3.3 -> 3.4.2
0001-Address-platforms-with-no-__int128-part2.patch
0001-Address-platforms-with-no-__int128.patch
0001-Fixed-missed-ifndef-for-__mips_soft_float.patch
0001-ffi_powerpc.h-fix-build-failure-with-powerpc7.patch
0001-powerpc-fix-build-failure-on-power7-and-older-532.patch
removed since they're included in 3.4.2

refresh 0001-arm-sysv-reverted-clang-VFP-mitigation.patch

License-Updage: Copyright year updated to 2021

(From OE-Core rev: 16cd4351d9e54140ea558229a93b1f89fcf7aa8c)

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-02 23:14:32 +01:00
Mark Hatle
c1dcadb7f8 populate_sdk_ext: Error if trying to generate an eSDK from a mulitconfig
Running a build such as:

  bitbake mc:my_config:core-image-minimal -c populate_sdk-ext

will result in an error like:

ERROR: Task base-files.do_fetch attempted to execute unexpectedly
Task .../poky/build-mc/tmp-my_config-glibc/work/qemuarm64-poky-linux/core-image-minimal/1.0-r0/sdk-ext/image/tmp-renamed-sdk/layers/poky/meta/recipes-core/base-files/base-files_3.0.14.bb:do_packagedata, unihash ec5ba0e6b31561daba005fb49c5239c8e46913465b51166b5905f3e5ffcf2741, taskhash ec5ba0e6b31561daba005fb49c5239c8e46913465b51166b5905f3e5ffcf2741
Task .../poky/build-mc/tmp-my_config-glibc/work/qemuarm64-poky-linux/core-image-minimal/1.0-r0/sdk-ext/image/tmp-renamed-sdk/layers/poky/meta/recipes-core/base-files/base-files_3.0.14.bb:do_package_write_rpm, unihash 1c7d7509c2ff6dcf11009fbec444726826214795d60474ec8d3262d89c40a955, taskhash 1c7d7509c2ff6dcf11009fbec444726826214795d60474ec8d3262d89c40a955
Task .../poky/build-mc/tmp-my_config-glibc/work/qemuarm64-poky-linux/core-image-minimal/1.0-r0/sdk-ext/image/tmp-renamed-sdk/layers/poky/meta/recipes-core/base-files/base-files_3.0.14.bb:do_populate_sysroot, unihash 9cc3672f4fa62491f545b15cf617a64cd77d15a2cfd432b57d4b936bc415f40d, taskhash 9cc3672f4fa62491f545b15cf617a64cd77d15a2cfd432b57d4b936bc415f40d
Task .../poky/build-mc/tmp-my_config-glibc/work/qemuarm64-poky-linux/core-image-minimal/1.0-r0/sdk-ext/image/tmp-renamed-sdk/layers/poky/meta/recipes-core/base-files/base-files_3.0.14.bb:do_package_qa, unihash 8ada5f62092c971df8dda1d71c728e42994e1dcf2bbdab419de43867d77b64cc, taskhash 8ada5f62092c971df8dda1d71c728e42994e1dcf2bbdab419de43867d77b64cc
Task .../poky/build-mc/tmp-my_config-glibc/work/qemuarm64-poky-linux/core-image-minimal/1.0-r0/sdk-ext/image/tmp-renamed-sdk/layers/poky/meta/recipes-core/images/core-image-minimal.bb:do_image_qa, unihash 16656a339389e407a5fdca5d64983af845288f3b3cc5582398e5247efb393257, taskhash 16656a339389e407a5fdca5d64983af845288f3b3cc5582398e5247efb393257
Task .../poky/build-mc/tmp-my_config-glibc/work/qemuarm64-poky-linux/core-image-minimal/1.0-r0/sdk-ext/image/tmp-renamed-sdk/layers/poky/meta/recipes-core/images/core-image-minimal.bb:do_image_complete, unihash ef88c74a9f4ae4d252c421eb4e399773aa50cea7c51ffbeed9011e5198a16abb, taskhash ef88c74a9f4ae4d252c421eb4e399773aa50cea7c51ffbeed9011e5198a16abb
This is usually due to missing setscene tasks. Those missing in this build were: {'.../poky/build-mc/tmp-my_config-glibc/work/qemuarm64-poky-linux/core-image-minimal/1.0-r0/sdk-ext/image/tmp-renamed-sdk/layers/poky/meta/recipes-core/base-files/base-files_3.0.14.bb:do_package_qa',

Instead of letting the system error, we simply tell the user this is not supported.

As long as the eSDK is constructed based on the primary library, it works fine.

(From OE-Core rev: b359c60071585fa323124fc6febe652fe0128b52)

Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-02 23:14:32 +01:00
wangmy
611352d547 xf86-input-libinput: upgrade 1.0.1 -> 1.1.0
(From OE-Core rev: 80f8db775ba9583b5799147377b053e7f6fe44e9)

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>
2021-07-02 23:14:32 +01:00
wangmy
ed7c63ada1 stress-ng: upgrade 0.12.10 -> 0.12.11
(From OE-Core rev: 9efc3f62a9e0db514c9aa300acb2d26b1ab80ccc)

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>
2021-07-02 23:14:32 +01:00
wangmy
1e36f5315b libglu: upgrade 9.0.1 -> 9.0.2
(From OE-Core rev: f327885f1180e9338e0c909d3e591c3a6d57f6aa)

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>
2021-07-02 23:14:32 +01:00
wangmy
ee566b65e6 gpgme: upgrade 1.15.1 -> 1.16.0
(From OE-Core rev: 2d790bfb0c179431c16ff1b49dc858add5d8708f)

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>
2021-07-02 23:14:32 +01:00
wangmy
59de114558 cmake: upgrade 3.20.4 -> 3.20.5
(From OE-Core rev: f3e9b1fedfdc8bf6829db041fd15e3b8216acbf9)

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>
2021-07-02 23:14:32 +01:00
Michael Halstead
bc164bd86a releases: update to include 3.1.9
Adding 3.1.9 to documentation switcher and release list.

(From yocto-docs rev: 6951b86a2e0e95bb72db12624efa23fec579bc70)

Signed-off-by: Michael Halstead <mhalstead@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-02 07:24:21 +01:00
Richard Purdie
07630f3cfd oeqa/selftest/archiver: Allow tests to ignore empty directories
If we tweak sstate to not remove empty directories under conditions
where a race could occur, we see failures from:

"oe-selftest -r archiver.Archiver.test_archiver_filters_by_type archiver.Archiver.test_archiver_filters_by_type_and_name"

since an empty directory is left behind. Update the tests to ignore
empty directories.

(From OE-Core rev: 10cda713faea9a348fd278137ac75e4a6d76a71c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-02 07:24:21 +01:00
Florian Amstutz
73efc71b2c devtool: deploy-target: Fix preserving attributes when using --strip
Commit a2db4fa127 added ${WORKDIR}/deploy-* to
PSEUDO_IGNORE_PATHS. This breaks the --strip mode since ${D} is copied to
deploy-target-stripped. Use the directory devtool-deploy-target-stripped
instead.

[YOCTO #14451]

(From OE-Core rev: 02661f20faf11d0fa2f1874bd423f5d9fa7a31c9)

Signed-off-by: Florian Amstutz <florian.amstutz@scs.ch>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-02 07:24:21 +01:00
Richard Purdie
2b3ced714a sstate/staging: Handle directory creation race issue
The sstate code tries to be careful about racing around directory creation.
In particular, the copyhardlinktree code creates the directory tree first
allowing for "already exists" errors and ignoring them, then hardlinks the
files in.

Unfortunately the sstate removal code can race against this since it
will try and remove empty directories. If there is some bad timing,
a newly created directory can be removed before it was populated, leading
to build failures.

We could try and add locking but this would damage performance, we've been
there before. It is also unclear where to actually place locks just based on
the contents of a manifest file which may cover multiple sstate install
locations for a given task.

Instead, lets disable directory removal in the problematic "shared" core
path. This could result in a few more empty directories being left on disk
but those should be harmless and better than locking hurting performance
or rare build races.

[YOCTO #13999]
[YOCTO #14379]

(From OE-Core rev: 4f94d9296394bc7ce241439f00df86eb5912875f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-02 07:24:21 +01:00
Richard Purdie
68a4cbb7b2 bash: Fix a rare make race build failure
There is a rare make race that occurs in bash due to the way it constructs
certain headers and a build tool. Restructure the creation to remove
the race.

[YOCTO #14227]

(From OE-Core rev: 6f683cf21630142e82cc37d79f3d797d179d8d12)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-02 07:24:21 +01:00
Fabio Berton
1f3094e775 lib/oe/package_manager: Don't ignore installation failures in install_complementary
When attempt_only flag is set to True all installation failures are
ignored. Disable attempt_only, that is the default in install function,
to raise error in install_complementary and to prevent do_populate_sdk
task to treat errors as warnings.

[RP: Historically some of our addtional packages were in bad shape and
wouldn't all install. This is no longer the case so we shouldn't need
a hack like this any longer.]

(From OE-Core rev: 8042ad9ca91ddaaf741366e1068c63c284ff98f5)

Signed-off-by: Fabio Berton <fabio.berton@criticaltechworks.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-29 22:24:29 +01:00
Richard Purdie
b6cbc055eb oeqa/selftest/runcmd: Tweal test timeouts
Load on the autobuilder meant we see occasionaly timeout issues with these tests.
Slightly increase the test timeouts to better reflect the real world timings we
see.

[YOCTO #14262]

(From OE-Core rev: fccd2ade0e345625ed9a4b74a7431b000ce2214f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-29 22:21:56 +01:00
Richard Purdie
b3e6b489bb python3-pip/python3-pbr: Drop obsolete md5sum at upgrade
(From OE-Core rev: c41fbcd484701a909c65ff608d4446236a56e578)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-29 22:21:22 +01:00
Jose Quaresma
c32b1b3e94 spirv-tools: upgrade 2021.1 -> 2021.2
(From OE-Core rev: fa4b5136bae04274d60b3d4195fdd591c9707f32)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-29 22:18:57 +01:00
Jose Quaresma
c64327fe3a shaderc: upgrade 2021.0 -> 2021.1
(From OE-Core rev: 909414bd349c852344e0c451d5e7358ef19214b2)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-29 22:18:57 +01:00
Jose Quaresma
3a1f5c918c glslang: upgrade 11.4.0 -> 11.5.0
(From OE-Core rev: 42fb3424df1dbf0587837a68a299f818c99c15a2)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-29 22:18:57 +01:00
Ross Burton
c094a7fb2a cantarell-fonts: fix SRC_URI
Since oe-core fa8950d0c the logic to turn a version into a directory name
doesn't work for versions which are too short.

Solve this by overriding gnome_verdir() to return the version as-is, as
that is what the directory is called.

(From OE-Core rev: dddafd5a4fd50b332a4bd3b0abefb32d315d87ab)

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>
2021-06-29 22:18:57 +01:00
Ross Burton
cde73f6048 libgudev: fix SRC_URI
Since oe-core fa8950d0c the logic to turn a version into a directory name
doesn't work for versions which are too short.

Solve this by overriding gnome_verdir() to return the version as-is, as
that is what the directory is called.

(From OE-Core rev: f70dc20f8fe38e07385a8a5910624ef38f72e53e)

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>
2021-06-29 22:18:57 +01:00
Michael Ho
dd555537fc sstate.bbclass: fix errors about read-only sstate mirrors
If a read-only sstate mirror is used in conjunction with hash equiv,
then OSError will be raised when an sstate-cache hit is achieved.

This is because sstate_task_postfunc will try to "touch" the symlinks
that point to the read-only sstate mirror when sstate_report_unihash
has changed SSTATE_PKG.

This commit adds an additional exception handler to silently mask read
only rootfs errors thrown during the touch.

The fix is also duplicated to sstate_eventhandler as the code is very
similar but it may not be needed there.

Example of the error:

File: 'exec_python_func() autogenerated', lineno: 2, function: <module>
     0001:
 *** 0002:sstate_task_postfunc(d)
     0003:
File: '/poky/meta/classes/sstate.bbclass', lineno: 774, function: sstate_task_postfunc
     0770:
     0771:    omask = os.umask(0o002)
     0772:    if omask != 0o002:
     0773:       bb.note("Using umask 0o002 (not %0o) for sstate packaging" % omask)
 *** 0774:    sstate_package(shared_state, d)
     0775:    os.umask(omask)
     0776:
     0777:    sstateinst = d.getVar("SSTATE_INSTDIR")
     0778:    d.setVar('SSTATE_FIXMEDIR', shared_state['fixmedir'])
File: '/poky/meta/classes/sstate.bbclass', lineno: 703, function: sstate_package
     0699:    if not os.path.exists(siginfo):
     0700:        bb.siggen.dump_this_task(siginfo, d)
     0701:    else:
     0702:        try:
 *** 0703:            os.utime(siginfo, None)
     0704:        except PermissionError:
     0705:            pass
     0706:
     0707:    return
Exception: OSError: [Errno 30] Read-only file system

(From OE-Core rev: 244b3be0358a66e0cca4016fe26144e3d7323390)

Signed-off-by: Michael Ho <Michael.Ho@bmw.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-29 22:18:57 +01:00
zangrc
31461165c1 python3-pip: upgrade 21.1.2 -> 21.1.3
(From OE-Core rev: bb7a13b59abc405c205c127ad46cb9c85efed6d8)

Signed-off-by: Zang Ruochen <zangrc.fnst@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-29 22:18:57 +01:00
wangmy
477e4c9891 python3-pbr: upgrade 5.4.4 -> 5.6.0
(From OE-Core rev: 9efd32536b7238c843cfeed8374dd89fd37b5cc9)

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>
2021-06-29 22:18:56 +01:00
Christoph Muellner
1b67bcdfd2 ldconfig-native: Add RISC-V support
The current version of ldconfig does not support RISC-V.
Let's add a patch, that adds the required constant definitions
(from upstream glibc) and the necessary case statements.

(From OE-Core rev: 790a0634838ab44f8f39db647401886667846b59)

Signed-off-by: Christoph Muellner <cmuellner@linux.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-29 22:18:56 +01:00
jbouchard
a79b5f0f21 Use the label provided when formating a dos partition
Previously the bootimg-pcbios wic plugin was not respecting
the --label option provided from the wks file. The plugin
was setting the label to 'boot'. With this fix, the --label
option is use. If no option are specified, then the default
is 'boot'.

(From OE-Core rev: 0fd7a73c1bd2486b7a022f0f69bbcb2e0d9cb141)

Signed-off-by: jbouchard <jeanbouch418@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-29 22:18:56 +01:00
Changhyeok Bae
b02c5dd154 iputils: Update to 20210202
(From OE-Core rev: ce549ff785db6e47392c30cca725661b421db7c9)

Signed-off-by: Changhyeok Bae <changhyeok.bae@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-29 22:18:56 +01:00
Bruce Ashfield
1f802cdf85 linux-yocto/5.10: rcu: Fix stall-warning deadlock due to non-release of rcu_node ->lock
Integrating the following commit(s) to linux-yocto/5.10:

    139fe7d68413 rcu: Fix stall-warning deadlock due to non-release of rcu_node ->lock

(From OE-Core rev: 63b4761cb1f44aaad4bd0948dc586a90b53049d3)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-27 22:51:05 +01:00
Bruce Ashfield
8c62c9b73a linux-yocto/5.4: update to v5.4.128
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:

    4037804c5574 Linux 5.4.128
    fd7c4bd58249 usb: dwc3: core: fix kernel panic when do reboot
    d7e403eea007 usb: dwc3: debugfs: Add and remove endpoint dirs dynamically
    5babc3977565 clocksource/drivers/timer-ti-dm: Handle dra7 timer wrap errata i940
    aad8f1d88ed6 clocksource/drivers/timer-ti-dm: Prepare to handle dra7 timer wrap issue
    5394080643bc clocksource/drivers/timer-ti-dm: Add clockevent and clocksource support
    c53cc5f9587c ARM: OMAP: replace setup_irq() by request_irq()
    7d266c8a2ae8 KVM: arm/arm64: Fix KVM_VGIC_V3_ADDR_TYPE_REDIST read
    0c2a4178d796 tools headers UAPI: Sync linux/in.h copy with the kernel sources
    7381c4d0bc10 net: fec_ptp: add clock rate zero check
    190ecdf53d67 net: stmmac: disable clocks in stmmac_remove_config_dt()
    4f69c8930674 mm/slub.c: include swab.h
    9ddeea35c47d mm/slub: fix redzoning for small allocations
    c0837e021d90 mm/slub: clarify verification reporting
    79855be6445b net: bridge: fix vlan tunnel dst refcnt when egressing
    a2241e62f6b4 net: bridge: fix vlan tunnel dst null pointer dereference
    b6c0ab11c88f net: ll_temac: Fix TX BD buffer overwrite
    6d120ab4dc39 net: ll_temac: Make sure to free skb when it is completely used
    a32f70e06980 drm/amdgpu/gfx9: fix the doorbell missing when in CGPG issue.
    dbde458378ef drm/amdgpu/gfx10: enlarge CP_MEC_DOORBELL_RANGE_UPPER to cover full doorbell.
    92e08a5ffae9 cfg80211: avoid double free of PMSR request
    01ade7c84fda cfg80211: make certificate generation more robust
    05b4fdec273b dmaengine: pl330: fix wrong usage of spinlock flags in dma_cyclc
    f3c629b164ca x86/fpu: Reset state for all signal restore failures
    4f1e9bafa195 x86/pkru: Write hardware init value to PKRU when xstate is init
    13c5f1f0798c x86/process: Check PF_KTHREAD and not current->mm for kernel threads
    80c56699cf1a ARCv2: save ABI registers across signal handling
    cbb425f62df9 KVM: x86: Immediately reset the MMU context when the SMM flag is cleared
    58877ce3fecd PCI: Work around Huawei Intelligent NIC VF FLR erratum
    a36d9bdc1917 PCI: Add ACS quirk for Broadcom BCM57414 NIC
    4c90f90a91d7 PCI: aardvark: Fix kernel panic during PIO transfer
    0e888c237754 PCI: aardvark: Don't rely on jiffies while holding spinlock
    f3b600a2b6bc PCI: Mark some NVIDIA GPUs to avoid bus reset
    775c25b7a334 PCI: Mark TI C667X to avoid bus reset
    c7660ab8126e tracing: Do no increment trace_clock_global() by one
    79894a5d75ab tracing: Do not stop recording comms if the trace file is being read
    4ab1152bb778 tracing: Do not stop recording cmdlines when tracing is off
    0061eff74824 usb: core: hub: Disable autosuspend for Cypress CY7C65632
    6f87c0e21ad2 can: mcba_usb: fix memory leak in mcba_usb
    22cba878abf6 can: j1939: fix Use-after-Free, hold skb ref while in use
    776e0d16ac84 can: bcm/raw/isotp: use per module netdevice notifier
    c297559a2a2a can: bcm: fix infoleak in struct bcm_msg_head
    35b651d6bdf3 hwmon: (scpi-hwmon) shows the negative temperature properly
    8ea34be15fb5 radeon: use memcpy_to/fromio for UVD fw upload
    0b445249635d pinctrl: ralink: rt2880: avoid to error in calls is pin is already enabled
    d7d307fb3e70 spi: stm32-qspi: Always wait BUSY bit to be cleared in stm32_qspi_wait_cmd()
    04e5fbe604d3 ASoC: rt5659: Fix the lost powers for the HDA header
    81376d3d5ede regulator: bd70528: Fix off-by-one for buck123 .n_voltages setting
    19f88ca68ccf net: ethernet: fix potential use-after-free in ec_bhf_remove
    63137ea2423c icmp: don't send out ICMP messages with a source address of 0.0.0.0
    c3e6fbc7ba7c bnxt_en: Call bnxt_ethtool_free() in bnxt_init_one() error path
    87971d582c66 bnxt_en: Rediscover PHY capabilities after firmware reset
    755da76ec5de cxgb4: fix wrong shift.
    81de2ed06df8 net: cdc_eem: fix tx fixup skb leak
    a49cbb762ef2 net: hamradio: fix memory leak in mkiss_close
    0f868a684376 be2net: Fix an error handling path in 'be_probe()'
    c14c276d7f35 net/af_unix: fix a data-race in unix_dgram_sendmsg / unix_release_sock
    3dd2aeac2e96 net: ipv4: fix memory leak in ip_mc_add1_src
    7b18f289fd0b net: fec_ptp: fix issue caused by refactor the fec_devtype
    4252bf6c2b24 net: usb: fix possible use-after-free in smsc75xx_bind
    217395c5ab15 lantiq: net: fix duplicated skb in rx descriptor ring
    5f7acbf602d8 net: cdc_ncm: switch to eth%d interface naming
    3daa97817aa8 ptp: improve max_adj check against unreasonable values
    26b8d10703a9 net: qrtr: fix OOB Read in qrtr_endpoint_post
    8d3de2b47e53 netxen_nic: Fix an error handling path in 'netxen_nic_probe()'
    a670a78fb180 qlcnic: Fix an error handling path in 'qlcnic_probe()'
    b0bb49b0fbc3 net: make get_net_ns return error if NET_NS is disabled
    5d47a84f459c net: stmmac: dwmac1000: Fix extended MAC address registers definition
    c82e4e78094d alx: Fix an error handling path in 'alx_probe()'
    4cefa061fc63 sch_cake: Fix out of bounds when parsing TCP options and header
    6defc77d48ef netfilter: synproxy: Fix out of bounds when parsing TCP options
    ad689fec4498 net/mlx5e: Block offload of outer header csum for UDP tunnels
    946a36f82a0b net/mlx5e: allow TSO on VXLAN over VLAN topologies
    0bb0270832c8 net/mlx5: Consider RoCE cap before init RDMA resources
    4b16118665e9 net/mlx5e: Fix page reclaim for dead peer hairpin
    3c3461ed267b net/mlx5e: Remove dependency in IPsec initialization flows
    2ae0f0a409c8 net/sched: act_ct: handle DNAT tuple collision
    23f3d2779dd6 rtnetlink: Fix regression in bridge VLAN configuration
    5a88477c1c85 udp: fix race between close() and udp_abort()
    cc4c6b19093c net: lantiq: disable interrupt before sheduling NAPI
    2038cd15eacd net: rds: fix memory leak in rds_recvmsg
    cc16e7d36e5c vrf: fix maximum MTU
    398a24447eb6 net: ipv4: fix memory leak in netlbl_cipsov4_add_std
    e7fbd8184fa9 batman-adv: Avoid WARN_ON timing related checks
    bf99ea52970c kvm: LAPIC: Restore guard to prevent illegal APIC register access
    566345aaabac mm/memory-failure: make sure wait for page writeback in memory_failure
    0498165c6fec afs: Fix an IS_ERR() vs NULL check
    2a3f74ca167e dmaengine: stedma40: add missing iounmap() on error in d40_probe()
    10fd28745d8b dmaengine: QCOM_HIDMA_MGMT depends on HAS_IOMEM
    1e3c5c450567 dmaengine: ALTERA_MSGDMA depends on HAS_IOMEM
    a82d4d5e9fe6 Linux 5.4.127
    f7afaf778591 fib: Return the correct errno code
    51cc5ad292da net: Return the correct errno code
    376a703f9dce net/x25: Return the correct errno code
    107140952ecd rtnetlink: Fix missing error code in rtnl_bridge_notify()
    12fa0fdbcd0f drm/amd/display: Allow bandwidth validation for 0 streams.
    8c48345fdc98 net: ipconfig: Don't override command-line hostnames or domains
    c8e4a72b255e nvme-loop: check for NVME_LOOP_Q_LIVE in nvme_loop_destroy_admin_queue()
    655d4dc10a23 nvme-loop: clear NVME_LOOP_Q_LIVE when nvme_loop_configure_admin_queue() fails
    ed4bee6e1bb7 nvme-loop: reset queue count to 1 in nvme_loop_destroy_io_queues()
    31ac5531110a scsi: scsi_devinfo: Add blacklist entry for HPE OPEN-V
    4791b8948741 scsi: qedf: Do not put host in qedf_vport_create() unconditionally
    8034fc4ee9ef ethernet: myri10ge: Fix missing error code in myri10ge_probe()
    ea4a9a34c9b2 scsi: target: core: Fix warning on realtime kernels
    86fd5b27db74 gfs2: Fix use-after-free in gfs2_glock_shrink_scan
    527f70f76742 riscv: Use -mno-relax when using lld linker
    e58f4b5046e0 HID: gt683r: add missing MODULE_DEVICE_TABLE
    50b8e1be15f6 gfs2: Prevent direct-I/O write fallback errors from getting lost
    c8eff6762943 ARM: OMAP2+: Fix build warning when mmc_omap is not built
    e4c3f7a6a3b2 drm/tegra: sor: Do not leak runtime PM reference
    7f5a4b24cdbd HID: usbhid: fix info leak in hid_submit_ctrl
    20fbcfaaa571 HID: Add BUS_VIRTUAL to hid_connect logging
    41b9b39e1b37 HID: multitouch: set Stylus suffix for Stylus-application devices, too
    2173746ed125 HID: quirks: Add quirk for Lenovo optical mouse
    cdf5e4747da9 HID: hid-sensor-hub: Return error for hid_set_field() failure
    1f760c4e655c HID: hid-input: add mapping for emoji picker key
    818bf51031cf HID: quirks: Set INCREMENT_USAGE_ON_DUPLICATE for Saitek X65
    d0f47648b87b net: ieee802154: fix null deref in parse dev addr
    ffe4d2a0684d Linux 5.4.126
    0f8837070136 proc: only require mm_struct for writing
    d63f00ec908b tracing: Correct the length check which causes memory corruption
    7e4e824b109f ftrace: Do not blindly read the ip address in ftrace_bug()
    74430f3f6149 scsi: core: Only put parent device if host state differs from SHOST_CREATED
    e694ddc8f3de scsi: core: Put .shost_dev in failure path if host state changes to RUNNING
    fe7bcd794a53 scsi: core: Fix failure handling of scsi_add_host_with_dma()
    79296e292d67 scsi: core: Fix error handling of scsi_host_alloc()
    8c9400c4855e NFSv4: nfs4_proc_set_acl needs to restore NFS_CAP_UIDGID_NOMAP on error.
    86377b239e04 NFSv4: Fix second deadlock in nfs4_evict_inode()
    3e3c7ebbfac1 NFS: Fix use-after-free in nfs4_init_client()
    83668ab1dbbf kvm: fix previous commit for 32-bit builds
    0147af30925a perf session: Correct buffer copying when peeking events
    34769f17e47c NFSv4: Fix deadlock between nfs4_evict_inode() and nfs4_opendata_get_inode()
    0057ecef9f32 NFS: Fix a potential NULL dereference in nfs_get_client()
    e3ecd9c09fcc IB/mlx5: Fix initializing CQ fragments buffer
    796d3bd4ac93 KVM: x86: Ensure liveliness of nested VM-Enter fail tracepoint message
    71c751cbb9e8 sched/fair: Make sure to update tg contrib for blocked load
    26ab08df8656 perf: Fix data race between pin_count increment/decrement
    8aeb339571c6 vmlinux.lds.h: Avoid orphan section with !SMP
    fc57713afaca RDMA/mlx4: Do not map the core_clock page to user space unless enabled
    64f1fb6acc2a RDMA/ipoib: Fix warning caused by destroying non-initial netns
    a0828219185d usb: typec: mux: Fix copy-paste mistake in typec_mux_match
    139af3b2192c regulator: max77620: Use device_set_of_node_from_dev()
    c4e10f92c319 regulator: core: resolve supply for boot-on/always-on regulators
    5ef23506695b usb: fix various gadget panics on 10gbps cabling
    b4903f7fdc48 usb: fix various gadgets null ptr deref on 10gbps cabling.
    191144bcfe3a usb: gadget: eem: fix wrong eem header operation
    cc40404bd0dd USB: serial: cp210x: fix alternate function for CP2102N QFN20
    02fafcf74cde USB: serial: quatech2: fix control-request directions
    eedd4b494538 USB: serial: omninet: add device id for Zyxel Omni 56K Plus
    a2119ad276f1 USB: serial: ftdi_sio: add NovaTech OrionMX product ID
    28b9764eb568 usb: gadget: f_fs: Ensure io_completion_wq is idle during unbind
    4fe7635a245b usb: typec: ucsi: Clear PPM capability data in ucsi_init() error path
    9523c42be986 usb: typec: wcove: Use LE to CPU conversion when accessing msg->header
    5e8ca8c79f74 usb: musb: fix MUSB_QUIRK_B_DISCONNECT_99 handling
    366369b89bed usb: dwc3: ep0: fix NULL pointer exception
    c469c8dddc7d usb: pd: Set PD_T_SINK_WAIT_CAP to 310ms
    32c2e6c2e4eb usb: f_ncm: only first packet of aggregate needs to start timer
    0c05a8bc0e76 USB: f_ncm: ncm_bitrate (speed) is unsigned
    4d14a82ef112 cgroup1: don't allow '\n' in renaming
    298499d73d2d btrfs: promote debugging asserts to full-fledged checks in validate_super
    d4b047651fb1 btrfs: return value from btrfs_mark_extent_written() in case of error
    dccd575337ac staging: rtl8723bs: Fix uninitialized variables
    bff1fbf0cf07 kvm: avoid speculation-based attacks from out-of-range memslot accesses
    977d11df7932 drm: Lock pointer access in drm_master_release()
    b246b4c70c12 drm: Fix use-after-free read in drm_getunique()
    b5502580cf95 spi: bcm2835: Fix out-of-bounds access with more than 4 slaves
    a225ee1fe41c x86/boot: Add .text.* to setup.ld
    8c2c1db4f2e4 i2c: mpc: implement erratum A-004447 workaround
    c7f0393a370e i2c: mpc: Make use of i2c_recover_bus()
    3cdbefdd3146 spi: Cleanup on failure of initial setup
    85a7998e7211 spi: Don't have controller clean up spi device before driver unbind
    92350839d329 powerpc/fsl: set fsl,i2c-erratum-a004447 flag for P1010 i2c controllers
    96cea4843b8f powerpc/fsl: set fsl,i2c-erratum-a004447 flag for P2041 i2c controllers
    3e9aa125f69c nvme-tcp: remove incorrect Kconfig dep in BLK_DEV_NVME
    c385af145eb4 bnx2x: Fix missing error code in bnx2x_iov_init_one()
    ece8ad75e318 dm verity: fix require_signatures module_param permissions
    a450b5b6c01d MIPS: Fix kernel hang under FUNCTION_GRAPH_TRACER and PREEMPT_TRACER
    eb5c4794b79e nvme-fabrics: decode host pathing error for connect
    70036fb61ea8 net: dsa: microchip: enable phy errata workaround on 9567
    128bb4b0e5d2 net: appletalk: cops: Fix data race in cops_probe1
    19e14481cc7d net: macb: ensure the device is available before accessing GEMGXL control registers
    cd05e1a61a05 scsi: target: qla2xxx: Wait for stop_phase1 at WWN removal
    e773147692c6 scsi: hisi_sas: Drop free_irq() of devm_request_irq() allocated irq
    1e209effe36c scsi: vmw_pvscsi: Set correct residual data length
    90476c1bfff0 scsi: bnx2fc: Return failure if io_req is already in ABTS processing
    a3842219a69d RDS tcp loopback connection can hang
    3e324774411d net/qla3xxx: fix schedule while atomic in ql_sem_spinlock
    f9e7a38d148e wq: handle VM suspension in stall detection
    92215c1f24c0 cgroup: disable controllers at parse time
    e29d22371de8 net: mdiobus: get rid of a BUG_ON()
    21df0c2e7d19 netlink: disable IRQs for netlink_lock_table()
    e0172831c61a bonding: init notify_work earlier to avoid uninitialized use
    9d7d4649dc1c isdn: mISDN: netjet: Fix crash in nj_probe:
    77b9f527731e spi: sprd: Add missing MODULE_DEVICE_TABLE
    cbeee4ccc1c7 ASoC: sti-sas: add missing MODULE_DEVICE_TABLE
    575ad4ab2057 vfio-ccw: Serialize FSM IDLE state with I/O completion
    02d3f4f0aadb ASoC: Intel: bytcr_rt5640: Add quirk for the Lenovo Miix 3-830 tablet
    8a9478cfb21b ASoC: Intel: bytcr_rt5640: Add quirk for the Glavey TM800A550L tablet
    02851cb0cae3 usb: cdns3: Fix runtime PM imbalance on error
    f3ed12af6bbb net/nfc/rawsock.c: fix a permission check bug
    3e7c190475d9 spi: Fix spi device unregister flow
    9f9ad67183aa ASoC: max98088: fix ni clock divider calculation
    c9002013ffe0 proc: Track /proc/$pid/attr/ opener mm_struct

(From OE-Core rev: 0c48b8526b56530baa50eb78d3870fe252b3ca1f)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-27 22:51:05 +01:00
Bruce Ashfield
1b8ed85fbe linux-yocto/5.10: features/nft_tables: refresh config options
The nft tables feature had become out of sync with current config
options. Refreshing the support with the following commits:

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

    da478fab290 nft: add CONFIG_NFT_SOCKET
    54e2d36b291 nft: add CONFIG_NFT_TUNNEL
    6fefc38049a nft: add CONFIG_NFT_CONNLIMIT
    cb0b5fc7ed5 nft: enable NF_TABLES_NETDEV
    d36b304d614 nft: drop rbtree
    0a70fa87ee0 nft: merge chain nat types
    c226e82038a nft: merge route type to core
    79968ab78bb nft: masq options merged
    8a0bff8cc5f nft: _set is now built-ins
    5952a26c4f7 nft: consolidate _set options
    0941f794363 nf: META is now builtin
    2fcc2c1b552 nf: EXTHDR is part of core, drop config
    e909f08155d nf: ARP is bool, set to y
    3bc18ee0615 nf: make nf_tables =y
    b90241a5403 nf: set CONFIG_NF_TABLES_IPV6, since dependencies are =y
    32ae602ab4d nf: set CONFIG_NF_TABLES_IPV4, since dependencies are =y
    2a9be72daea nf: make inet_tables =y

(From OE-Core rev: cce1ed5973455666c09dd56ecf3d0c373bdb3fb2)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-27 22:51:05 +01:00
Bruce Ashfield
48b4dc3b37 linux-yocto/5.10: update to v5.10.46
Updating linux-yocto/5.10 to the latest korg -stable release that comprises
the following commits:

    3de043c6851d Linux 5.10.46
    174c27583b38 usb: dwc3: core: fix kernel panic when do reboot
    e52d43c82f2f usb: dwc3: debugfs: Add and remove endpoint dirs dynamically
    1b5fbb66182f perf beauty: Update copy of linux/socket.h with the kernel sources
    69371e0482ea tools headers UAPI: Sync linux/in.h copy with the kernel sources
    4f6e7098f19b net: fec_ptp: add clock rate zero check
    1af3a8e91f1a net: stmmac: disable clocks in stmmac_remove_config_dt()
    f71ca814c286 mm/slub.c: include swab.h
    f6ed23575416 mm/slub: actually fix freelist pointer vs redzoning
    4314c8c63bfd mm/slub: fix redzoning for small allocations
    4a36fda16b1b mm/slub: clarify verification reporting
    12eb3c2c1a4f mm/swap: fix pte_same_as_swp() not removing uffd-wp bit when compare
    fc7fdd8c5c2a net: bridge: fix vlan tunnel dst refcnt when egressing
    fe0448a3fad3 net: bridge: fix vlan tunnel dst null pointer dereference
    cfe403f209b1 net: ll_temac: Fix TX BD buffer overwrite
    019ab7d044d0 net: ll_temac: Make sure to free skb when it is completely used
    41984d4fbe21 drm/amdgpu/gfx9: fix the doorbell missing when in CGPG issue.
    bc58ec307ce9 drm/amdgpu/gfx10: enlarge CP_MEC_DOORBELL_RANGE_UPPER to cover full doorbell.
    96b4126f8c37 cfg80211: avoid double free of PMSR request
    5493b0c2a784 cfg80211: make certificate generation more robust
    f74df6e08608 mac80211: Fix NULL ptr deref for injected rate info
    df203c1fdaaf dmaengine: pl330: fix wrong usage of spinlock flags in dma_cyclc
    b842b568a584 crash_core, vmcoreinfo: append 'SECTION_SIZE_BITS' to vmcoreinfo
    63ba83563e71 x86/fpu: Reset state for all signal restore failures
    a7748e021b9f x86/fpu: Invalidate FPU state after a failed XRSTOR from a user buffer
    076f732b16a5 x86/fpu: Prevent state corruption in __fpu__restore_sig()
    abc790bdbbc5 x86/pkru: Write hardware init value to PKRU when xstate is init
    208bb686e7fa x86/ioremap: Map EFI-reserved memory as encrypted for SEV
    75a55bc2e5e6 x86/process: Check PF_KTHREAD and not current->mm for kernel threads
    ddaaf38e1923 x86/mm: Avoid truncating memblocks for SGX memory
    f6bcb1a6281d ARCv2: save ABI registers across signal handling
    b516daed9913 s390/ap: Fix hanging ioctl caused by wrong msg counter
    7c003dab436d s390/mcck: fix calculation of SIE critical section size
    3a9934d6b8dd KVM: X86: Fix x86_emulator slab cache leak
    18eca69f88f2 KVM: x86/mmu: Calculate and check "full" mmu_role for nested MMU
    669a8866e468 KVM: x86: Immediately reset the MMU context when the SMM flag is cleared
    077cb8946f55 PCI: Work around Huawei Intelligent NIC VF FLR erratum
    ee1a9cfed28a PCI: Add ACS quirk for Broadcom BCM57414 NIC
    1a1dbc447397 PCI: aardvark: Fix kernel panic during PIO transfer
    dac77a14fa27 PCI: Mark some NVIDIA GPUs to avoid bus reset
    1e460ddf5be1 PCI: Mark TI C667X to avoid bus reset
    c9fd0ab39f0a tracing: Do no increment trace_clock_global() by one
    b313bd944ddd tracing: Do not stop recording comms if the trace file is being read
    adb3849ed8d5 tracing: Do not stop recording cmdlines when tracing is off
    1a91fafa3edc usb: chipidea: imx: Fix Battery Charger 1.2 CDP detection
    576996b64e4d usb: core: hub: Disable autosuspend for Cypress CY7C65632
    6bd3d80d1f01 can: mcba_usb: fix memory leak in mcba_usb
    509ab6bfdd0c can: j1939: fix Use-after-Free, hold skb ref while in use
    0cf4b377907f can: bcm/raw/isotp: use per module netdevice notifier
    acb755be1f7a can: bcm: fix infoleak in struct bcm_msg_head
    8c82c52d1de9 bpf: Do not mark insn as seen under speculative path verification
    e9d271731d21 bpf: Inherit expanded/patched seen count from old aux data
    ed423d80bb9a irqchip/gic-v3: Workaround inconsistent PMR setting on NMI entry
    103c4a08baec mm: relocate 'write_protect_seq' in struct mm_struct
    a87abba03a7a hwmon: (scpi-hwmon) shows the negative temperature properly
    57b21ef118ac radeon: use memcpy_to/fromio for UVD fw upload
    3e4b0fbb7293 ASoC: qcom: lpass-cpu: Fix pop noise during audio capture begin
    360609fc8b06 drm/sun4i: dw-hdmi: Make HDMI PHY into a platform device
    5bd6bcb3532d pinctrl: ralink: rt2880: avoid to error in calls is pin is already enabled
    6d0dc1b34c02 ASoC: rt5682: Fix the fast discharge for headset unplugging in soundwire mode
    ba8a26a7ce86 regulator: rt4801: Fix NULL pointer dereference if priv->enable_gpios is NULL
    2f8f0e97cebb spi: stm32-qspi: Always wait BUSY bit to be cleared in stm32_qspi_wait_cmd()
    e03c8b35161b ASoC: tas2562: Fix TDM_CFG0_SAMPRATE values
    813ff24f1d08 sched/pelt: Ensure that *_sum is always synced with *_avg
    f6d28f0e36e9 spi: spi-zynq-qspi: Fix some wrong goto jumps & missing error code
    0ea21221dd5a regulator: rtmv20: Fix to make regcache value first reading back from HW
    3c5064cd2979 ASoC: fsl-asoc-card: Set .owner attribute when registering card.
    9a1790794623 phy: phy-mtk-tphy: Fix some resource leaks in mtk_phy_init()
    02e245574887 ASoC: rt5659: Fix the lost powers for the HDA header
    3fb6c6acc1a7 platform/x86: thinkpad_acpi: Add X1 Carbon Gen 9 second fan support
    0609c36696e7 regulator: bd70528: Fix off-by-one for buck123 .n_voltages setting
    0ea923519a3f regulator: cros-ec: Fix error code in dev_err message
    95deeb29d831 net: ethernet: fix potential use-after-free in ec_bhf_remove
    8c0c2d97ad28 icmp: don't send out ICMP messages with a source address of 0.0.0.0
    c5d70dbc4d0b bnxt_en: Call bnxt_ethtool_free() in bnxt_init_one() error path
    f8774be4dc11 bnxt_en: Fix TQM fastpath ring backing store computation
    acc9175541bf bnxt_en: Rediscover PHY capabilities after firmware reset
    acc358995975 cxgb4: fix wrong shift.
    05b2b9f7d24b net: cdc_eem: fix tx fixup skb leak
    290b0b6432e2 net: hamradio: fix memory leak in mkiss_close
    45bf43d8685f be2net: Fix an error handling path in 'be_probe()'
    327e626c39f3 net/mlx5: Reset mkey index on creation
    38aafe678caa net/mlx5: E-Switch, Allow setting GUID for host PF vport
    601be24dba48 net/mlx5: E-Switch, Read PF mac address
    5f2ccc58a352 net/af_unix: fix a data-race in unix_dgram_sendmsg / unix_release_sock
    ac31cc837caf net: ipv4: fix memory leak in ip_mc_add1_src
    d08f726cd5b8 net: fec_ptp: fix issue caused by refactor the fec_devtype
    570a52cf3e01 net: usb: fix possible use-after-free in smsc75xx_bind
    70c8418469fb lantiq: net: fix duplicated skb in rx descriptor ring
    11fac7e91270 net: cdc_ncm: switch to eth%d interface naming
    9a4794956292 ptp: improve max_adj check against unreasonable values
    5fc6ed1831ca bpf: Fix leakage under speculation on mispredicted branches
    960b08dd36de net: qrtr: fix OOB Read in qrtr_endpoint_post
    0239c439cedc ipv4: Fix device used for dst_alloc with local routes
    4b5ad4b5aefd cxgb4: fix wrong ethtool n-tuple rule lookup
    d708e5efdd31 netxen_nic: Fix an error handling path in 'netxen_nic_probe()'
    70513cdb936e qlcnic: Fix an error handling path in 'qlcnic_probe()'
    fb3a94814368 ethtool: strset: fix message length calculation
    0e185a7b285d net: qualcomm: rmnet: don't over-count statistics
    e3577776d606 net: qualcomm: rmnet: Update rmnet device MTU based on real device
    4abfd597fe60 net: make get_net_ns return error if NET_NS is disabled
    6a4b39944e2f net: stmmac: dwmac1000: Fix extended MAC address registers definition
    6392ed82ad08 cxgb4: halt chip before flashing PHY firmware image
    b38ec782d004 cxgb4: fix sleep in atomic when flashing PHY firmware
    3d60457d74d9 cxgb4: fix endianness when flashing boot image
    5bf940fe91f8 alx: Fix an error handling path in 'alx_probe()'
    0adf32c033a5 selftests: mptcp: enable syncookie only in absence of reorders
    eab06f7504da mptcp: do not warn on bad input from the network
    222ebeda1702 mptcp: try harder to borrow memory from subflow under pressure
    3b491dd593d5 sch_cake: Fix out of bounds when parsing TCP options and header
    73eeba71dc99 mptcp: Fix out of bounds when parsing TCP options
    9cdf299ba4e1 netfilter: synproxy: Fix out of bounds when parsing TCP options
    a336dc6fdd56 net/mlx5e: Block offload of outer header csum for UDP tunnels
    34ff3770bff8 net/mlx5: DR, Don't use SW steering when RoCE is not supported
    3623bfcab3bf net/mlx5: DR, Allow SW steering for sw_owner_v2 devices
    792f16e083b5 net/mlx5: Consider RoCE cap before init RDMA resources
    be7f3f401d22 net/mlx5e: Fix page reclaim for dead peer hairpin
    02c55a257046 net/mlx5e: Remove dependency in IPsec initialization flows
    4733b73709a2 net/sched: act_ct: handle DNAT tuple collision
    c8f1437c0145 rtnetlink: Fix regression in bridge VLAN configuration
    8729ec8a2238 udp: fix race between close() and udp_abort()
    7dd7b1e4d929 ice: parameterize functions responsible for Tx ring management
    805ae44fc0a8 ice: add ndo_bpf callback for safe mode netdev ops
    27e3d7da654d netfilter: nft_fib_ipv6: skip ipv6 packets from any to link-local
    5cea03aef609 net: lantiq: disable interrupt before sheduling NAPI
    db5f4adc93bd net: dsa: felix: re-enable TX flow control in ocelot_port_flush()
    5946fbf48355 net: rds: fix memory leak in rds_recvmsg
    aba26b38388e vrf: fix maximum MTU
    deeeb65c6ee4 net: ipv4: fix memory leak in netlbl_cipsov4_add_std
    2088824ac90b libbpf: Fixes incorrect rx_ring_setup_done
    195585ddb767 mlxsw: core: Set thermal zone polling delay argument to real value at init
    e95848e9b52c mlxsw: reg: Spectrum-3: Enforce lowest max-shaper burst size of 11
    5a1cd67a801c mac80211: fix skb length check in ieee80211_scan_rx()
    282baa8104af batman-adv: Avoid WARN_ON timing related checks
    ae1d3b989d19 fanotify: fix copy_event_to_user() fid error clean up
    018685461a5b kvm: LAPIC: Restore guard to prevent illegal APIC register access
    9e379da727a7 mm/memory-failure: make sure wait for page writeback in memory_failure
    090b1bb928a9 afs: Fix an IS_ERR() vs NULL check
    5efb0b3886c3 dmaengine: stedma40: add missing iounmap() on error in d40_probe()
    ff864fa71aa0 dmaengine: SF_PDMA depends on HAS_IOMEM
    c0090b0169d6 dmaengine: QCOM_HIDMA_MGMT depends on HAS_IOMEM
    f984fa006b8b dmaengine: ALTERA_MSGDMA depends on HAS_IOMEM
    be4789636f72 dmaengine: xilinx: dpdma: initialize registers before request_irq
    edd60afc3fc3 dmaengine: fsl-dpaa2-qdma: Fix error return code in two functions
    4d74c9802328 dmaengine: idxd: add missing dsa driver unregister
    037a447b7a0b Linux 5.10.45
    808fcc1e707c fib: Return the correct errno code
    d8b2e3e17c33 net: Return the correct errno code
    04c1556bfc79 net/x25: Return the correct errno code
    0aa356950800 rtnetlink: Fix missing error code in rtnl_bridge_notify()
    9250f97fd594 drm/amd/amdgpu:save psp ring wptr to avoid attack
    9e8c2af01046 drm/amd/display: Fix potential memory leak in DMUB hw_init
    75fa7fbef132 drm/amdgpu: refine amdgpu_fru_get_product_info
    34fe4ccb1fe5 drm/amd/display: Allow bandwidth validation for 0 streams.
    ecd26536ec5b net: ipconfig: Don't override command-line hostnames or domains
    511a01029115 nvme-loop: do not warn for deleted controllers during reset
    155c2fea4b31 nvme-loop: check for NVME_LOOP_Q_LIVE in nvme_loop_destroy_admin_queue()
    620424df29a0 nvme-loop: clear NVME_LOOP_Q_LIVE when nvme_loop_configure_admin_queue() fails
    1c80ca596cab nvme-loop: reset queue count to 1 in nvme_loop_destroy_io_queues()
    b8fdea0695fd scsi: scsi_devinfo: Add blacklist entry for HPE OPEN-V
    f8ac1bd5270b Bluetooth: Add a new USB ID for RTL8822CE
    5491d97078fe scsi: qedf: Do not put host in qedf_vport_create() unconditionally
    609b56e9791c ethernet: myri10ge: Fix missing error code in myri10ge_probe()
    5d5f0d945d47 scsi: target: core: Fix warning on realtime kernels
    a61156314b66 gfs2: Fix use-after-free in gfs2_glock_shrink_scan
    bb73f2f78969 riscv: Use -mno-relax when using lld linker
    35277c1a6669 HID: gt683r: add missing MODULE_DEVICE_TABLE
    7a557de07917 gfs2: fix a deadlock on withdraw-during-mount
    c3e9ea16adc1 gfs2: Prevent direct-I/O write fallback errors from getting lost
    864b5a8d5390 ARM: OMAP2+: Fix build warning when mmc_omap is not built
    247ec8ee0bf2 ARM: OMAP1: Fix use of possibly uninitialized irq variable
    3c0ad70cba1f drm/tegra: sor: Fully initialize SOR before registration
    9c1d492baa91 gpu: host1x: Split up client initalization and registration
    570b3e4020f2 drm/tegra: sor: Do not leak runtime PM reference
    b1e3596416d7 HID: usbhid: fix info leak in hid_submit_ctrl
    1dfd9f18ca64 HID: Add BUS_VIRTUAL to hid_connect logging
    258d3fdbb15e HID: multitouch: set Stylus suffix for Stylus-application devices, too
    6a142ea61074 HID: quirks: Add quirk for Lenovo optical mouse
    716a087adc22 HID: hid-sensor-hub: Return error for hid_set_field() failure
    0bd8a4b46cdb HID: hid-input: add mapping for emoji picker key
    b3c5bfc43c5e HID: a4tech: use A4_2WHEEL_MOUSE_HACK_B8 for A4TECH NB-95
    be6c98879205 HID: quirks: Set INCREMENT_USAGE_ON_DUPLICATE for Saitek X65
    c7836de2cadd net: ieee802154: fix null deref in parse dev addr
    f2b1fc360fa1 Linux 5.10.44
    ef9a0d224baf proc: only require mm_struct for writing
    43c32c22254b tracing: Correct the length check which causes memory corruption
    5b537408f273 scsi: core: Only put parent device if host state differs from SHOST_CREATED
    0a31d1237aaf scsi: core: Put .shost_dev in failure path if host state changes to RUNNING
    146446a43b3d scsi: core: Fix failure handling of scsi_add_host_with_dma()
    7a696ce1d5d1 scsi: core: Fix error handling of scsi_host_alloc()
    6e13b9bc66f0 NFSv4: nfs4_proc_set_acl needs to restore NFS_CAP_UIDGID_NOMAP on error.
    d973bd0d6e7f NFSv4: Fix second deadlock in nfs4_evict_inode()
    c3b6cf64dfe4 NFS: Fix use-after-free in nfs4_init_client()
    9064c9d544b9 kvm: fix previous commit for 32-bit builds
    351075bcfea9 perf session: Correct buffer copying when peeking events
    b4651cea43af NFSv4: Fix deadlock between nfs4_evict_inode() and nfs4_opendata_get_inode()
    279ad78a00f8 NFS: Fix a potential NULL dereference in nfs_get_client()
    91f7fdc4cc10 IB/mlx5: Fix initializing CQ fragments buffer
    d046f724bbd7 KVM: x86: Ensure liveliness of nested VM-Enter fail tracepoint message
    4921feb0e5be x86/nmi_watchdog: Fix old-style NMI watchdog regression on old Intel CPUs
    190a7f908993 sched/fair: Fix util_est UTIL_AVG_UNCHANGED handling
    32e22db8b25e sched/fair: Make sure to update tg contrib for blocked load
    4c37b062edae sched/fair: Keep load_avg and load_sum synced
    c64a3be39fa9 perf: Fix data race between pin_count increment/decrement
    e0b518a2eb44 gpio: wcd934x: Fix shift-out-of-bounds error
    56a388a9cc1e phy: ti: Fix an error code in wiz_probe()
    62d891861f83 ASoC: meson: gx-card: fix sound-dai dt schema
    0e2c9aeb0028 ASoC: core: Fix Null-point-dereference in fmt_single_name()
    d83075c25a28 phy: cadence: Sierra: Fix error return code in cdns_sierra_phy_probe()
    c9cb5837e92e tools/bootconfig: Fix error return code in apply_xbc()
    16ccdcdfe668 vmlinux.lds.h: Avoid orphan section with !SMP
    c25ec6386a81 ARM: cpuidle: Avoid orphan section warning
    cb1aa1da0488 RDMA/mlx4: Do not map the core_clock page to user space unless enabled
    67cf4e447b5e RDMA/ipoib: Fix warning caused by destroying non-initial netns
    fd681a8c7ac8 drm/msm/a6xx: avoid shadow NULL reference in failure path
    0bc79f4b7ac6 drm/msm/a6xx: update/fix CP_PROTECT initialization
    5b7dc8329d7a drm/msm/a6xx: fix incorrectly set uavflagprd_inv field for A650
    5a61f69da3b8 drm/mcde: Fix off by 10^3 in calculation
    d68889298029 usb: typec: mux: Fix copy-paste mistake in typec_mux_match
    9e0677c2e390 usb: dwc3: gadget: Disable gadget IRQ during pullup disable
    cc440da4aad9 phy: usb: Fix misuse of IS_ENABLED
    aafc51fddfa8 regulator: rtmv20: Fix .set_current_limit/.get_current_limit callbacks
    4579f6517679 regulator: bd71828: Fix .n_voltages settings
    5a5f5cfb5f09 regulator: fan53880: Fix missing n_voltages setting
    c365ff97617c regulator: bd718x7: Fix the BUCK7 voltage setting on BD71837
    e3a502abf506 regulator: max77620: Use device_set_of_node_from_dev()
    06653ebc0ad2 regulator: core: resolve supply for boot-on/always-on regulators
    7dcdfa28e1fe usb: typec: tcpm: cancel frs hrtimer when unregister tcpm port
    18eaf0de50ea usb: typec: tcpm: cancel vdm and state machine hrtimer when unregister tcpm port
    b972eff87463 usb: fix various gadget panics on 10gbps cabling
    4b289a0f3033 usb: fix various gadgets null ptr deref on 10gbps cabling.
    6bf8ff7d0520 usb: gadget: eem: fix wrong eem header operation
    21bee94fb9e4 USB: serial: cp210x: fix alternate function for CP2102N QFN20
    4fa815beeaf0 USB: serial: quatech2: fix control-request directions
    ef91a6bd9469 USB: serial: omninet: add device id for Zyxel Omni 56K Plus
    1e2d41c17f43 USB: serial: ftdi_sio: add NovaTech OrionMX product ID
    5cead896962d usb: gadget: f_fs: Ensure io_completion_wq is idle during unbind
    0b3bb7950e73 usb: typec: intel_pmc_mux: Add missed error check for devm_ioremap_resource()
    6900ef1b1095 usb: typec: intel_pmc_mux: Put fwnode in error case during ->probe()
    572de10087a9 usb: typec: ucsi: Clear PPM capability data in ucsi_init() error path
    7cee4344cbb3 usb: typec: wcove: Use LE to CPU conversion when accessing msg->header
    199af8a06de2 usb: musb: fix MUSB_QUIRK_B_DISCONNECT_99 handling
    470403639114 usb: dwc3: ep0: fix NULL pointer exception
    851dee5a5da5 usb: dwc3: gadget: Bail from dwc3_gadget_exit() if dwc->gadget is NULL
    2af93b437a61 usb: dwc3: meson-g12a: Disable the regulator in the error handling path of the probe
    750a0d755642 usb: dwc3-meson-g12a: fix usb2 PHY glue init when phy0 is disabled
    b452e8bb7c52 usb: pd: Set PD_T_SINK_WAIT_CAP to 310ms
    0ff5f83ae147 usb: f_ncm: only first packet of aggregate needs to start timer
    0f5a20b1fd9d USB: f_ncm: ncm_bitrate (speed) is unsigned
    1bf2c28ab268 mmc: renesas_sdhi: Fix HS400 on R-Car M3-W+
    67aca230caf3 mmc: renesas_sdhi: abort tuning when timeout detected
    97524384762c ftrace: Do not blindly read the ip address in ftrace_bug()
    74d3b20b1b20 cgroup1: don't allow '\n' in renaming
    31fe243a6376 btrfs: promote debugging asserts to full-fledged checks in validate_super
    ca69dc891b28 btrfs: return value from btrfs_mark_extent_written() in case of error
    bf240fee5b34 async_xor: check src_offs is not NULL before updating it
    8d5c0f6b7a78 staging: rtl8723bs: Fix uninitialized variables
    7af299b97734 kvm: avoid speculation-based attacks from out-of-range memslot accesses
    6b6ff4d1f349 KVM: X86: MMU: Use the correct inherited permissions to get shadow page
    14831b79560b perf/x86/intel/uncore: Fix M2M event umask for Ice Lake server
    aa8591a58cbd drm: Lock pointer access in drm_master_release()
    491d52e00788 drm: Fix use-after-free read in drm_getunique()
    afd87792db35 Revert "ACPI: sleep: Put the FACS table after using it"
    82a8ffba54d3 spi: bcm2835: Fix out-of-bounds access with more than 4 slaves
    05e6b7159475 ALSA: hda/realtek: fix mute/micmute LEDs for HP ZBook Power G8
    d62d55f3941b ALSA: hda/realtek: fix mute/micmute LEDs for HP EliteBook 840 Aero G8
    557306806777 ALSA: hda/realtek: fix mute/micmute LEDs and speaker for HP EliteBook x360 1040 G8
    bd0fe358d182 ALSA: hda/realtek: fix mute/micmute LEDs and speaker for HP Elite Dragonfly G2
    6a81e47788ff ALSA: hda/realtek: headphone and mic don't work on an Acer laptop
    98f842951f8a ALSA: firewire-lib: fix the context to call snd_pcm_stop_xrun()
    bd7d88b0874f ALSA: seq: Fix race of snd_seq_timer_open()
    fff6af6deae8 i2c: mpc: implement erratum A-004447 workaround
    d78b76af9f61 i2c: mpc: Make use of i2c_recover_bus()
    fa05ba61967a spi: Cleanup on failure of initial setup
    0c4d4de2da4d spi: Don't have controller clean up spi device before driver unbind
    3a5b982463f4 powerpc/fsl: set fsl,i2c-erratum-a004447 flag for P1010 i2c controllers
    a7c3c17867b3 powerpc/fsl: set fsl,i2c-erratum-a004447 flag for P2041 i2c controllers
    590f718a6473 nvmet: fix false keep-alive timeout when a controller is torn down
    2538f06f9468 nvme-tcp: remove incorrect Kconfig dep in BLK_DEV_NVME
    b0308804b2e0 bnx2x: Fix missing error code in bnx2x_iov_init_one()
    90547d5db50b dm verity: fix require_signatures module_param permissions
    7519ece673e3 MIPS: Fix kernel hang under FUNCTION_GRAPH_TRACER and PREEMPT_TRACER
    37a079a6ae14 nvme-fabrics: decode host pathing error for connect
    f42afc0f2902 net: dsa: microchip: enable phy errata workaround on 9567
    ee144b798028 net: appletalk: cops: Fix data race in cops_probe1
    a385cbf31ed0 net: macb: ensure the device is available before accessing GEMGXL control registers
    bbb48789b62a scsi: target: qla2xxx: Wait for stop_phase1 at WWN removal
    16763635285c scsi: hisi_sas: Drop free_irq() of devm_request_irq() allocated irq
    eac1d159b7a3 scsi: vmw_pvscsi: Set correct residual data length
    30030c6ff3d4 scsi: bnx2fc: Return failure if io_req is already in ABTS processing
    8d717c9135a3 net:sfc: fix non-freed irq in legacy irq mode
    e806df71eed2 RDS tcp loopback connection can hang
    4353eb42180d net/qla3xxx: fix schedule while atomic in ql_sem_spinlock
    ad241cb1cffb wq: handle VM suspension in stall detection
    5ca472d40e2d cgroup: disable controllers at parse time
    be23c4af3d8a net: mdiobus: get rid of a BUG_ON()
    1d6d43d4805d netlink: disable IRQs for netlink_lock_table()
    42e490013809 bonding: init notify_work earlier to avoid uninitialized use
    143fc7220961 isdn: mISDN: netjet: Fix crash in nj_probe:
    2e2145ccfbcb usb: chipidea: udc: assign interrupt number to USB gadget structure
    06e84ea1f457 spi: sprd: Add missing MODULE_DEVICE_TABLE
    369f3caa4d74 ASoC: sti-sas: add missing MODULE_DEVICE_TABLE
    01905f3232fd vfio-ccw: Serialize FSM IDLE state with I/O completion
    cad3dc73c064 vfio-ccw: Reset FSM state to IDLE inside FSM
    4352209ed0f0 ASoC: Intel: bytcr_rt5640: Add quirk for the Lenovo Miix 3-830 tablet
    a5ee8f54d0ab ASoC: Intel: bytcr_rt5640: Add quirk for the Glavey TM800A550L tablet
    2f523cd4a931 usb: cdns3: Fix runtime PM imbalance on error
    1e5cab50208c net/nfc/rawsock.c: fix a permission check bug
    584b2c7ce244 bpf: Forbid trampoline attach for functions with variable arguments
    fb91ab403e6e spi: spi-zynq-qspi: Fix stack violation bug
    4b8b7bc3a726 spi: Fix spi device unregister flow
    cb24d57ad572 ASoC: amd: fix for pcm_read() error
    3b89db7468f7 ASoC: max98088: fix ni clock divider calculation
    f70102cb369c proc: Track /proc/$pid/attr/ opener mm_struct

(From OE-Core rev: 43b63c7974584b117c65f422ee8a07d7954d5319)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-27 22:51:05 +01:00
Richard Purdie
1d1afe6a2b kernel-devicetree: Fix interaction when packaging disabled
When packaging is disabled using the nopackages class, ensure we don't
add to PACKAGES. This fixes builds where we have an unpackaged kernel
alongside a packaged kernel.

(From OE-Core rev: d6b114cf5a9b22688c0b59a3afc46a07450d87b5)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-27 22:51:05 +01:00
Richard Purdie
10b39fb94b kernel: Fix interaction when packaging disabled
When packaging is disabled using the nopackages class, ensure we don't
add to PACKAGES. This fixes builds where we have an unpackaged kernel
alongside a packaged kernel.

(From OE-Core rev: 2522daf22e2c27dd9c7926feda0345978217c6c3)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-27 22:51:05 +01:00
Max Krummenacher
9c591cfa06 xwayland: port packageconfig from xserver-xorg recipe
Copy the packageconfig options from the xserver-xorg recipe to
allow configuring for non mesa opengl backends.

Keep the defaults as set in the xserver-xorg recipe.

The following options no longer exists and are dropped:
udev dga dri dri2 xshmfence xmlto systemd-logind systemd xwayland

(From OE-Core rev: fce9c89c33ba6c6540fc92b729e0b7b34a6d7a3b)

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-27 22:51:05 +01:00
Trevor Gamblin
e1da684aef python3-pip: add multiprocessing to RDEPENDS
Without it, simple invocations like "pip3 list" will fail with a
ModuleNotFoundError for multiprocessing.

(From OE-Core rev: b030aecdd2e92324caac9a73a1fdcdf013b43d16)

Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-27 08:38:34 +01:00
Trevor Gamblin
cf285f9682 python3-pip: upgrade 20.0.2 -> 21.1.2
21.1.2 contains a fix for CVE-2021-3572
(e46bdda971)

The LICENSE.txt signature changed due to an update to the copyright
dates, but the terms are the same.

Also update 0001-change-shebang-to-python3.patch to cover all files in
pip's src directory, since we need to ensure compatibility.

Finally, fix the ordering of the "inherit" and "SRC_URI" lines so that
devtool will correctly identify that there is a new version upstream.

(From OE-Core rev: 2135167ca86ff9d112ef3e71f5320c775d075b6c)

Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-27 08:38:34 +01:00
Alexey Brodkin
e1cb57a498 default-distrovars.inc: Remove seccomp for ARC
libseccomp needs too be ported to ARC first

(From OE-Core rev: 7cf427c970aed618f79be90be04e9b756f142c45)

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Cc: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-27 08:38:34 +01:00
Alexey Brodkin
22d2800f42 dpkg: Add ARC support
This back-ports ARC support which was added after the most recent
tag 1.20.9 was cut. So on the next version bump this change to be
reverted.

(From OE-Core rev: aa0493af960cac5c2346c81100eb31d757c561a0)

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-27 08:38:34 +01:00
Scott Weaver
90ec6e39f3 meta-skeleton: update to satisfy yocto-check-layer tests
Added readme to satisfy the readme file test.
Updated busybox bbappend to satisfy the signature test.

[YOCTO #13612]

(From OE-Core rev: b2419bfaf28903d52dd88a3db7985c71e8ed814a)

Signed-off-by: Scott Weaver <weaverjs@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-27 08:38:34 +01:00
Lee Chee Yang
8444eacecd qemu: fix CVE-2021-3527
(From OE-Core rev: 6774efd1e3d0bd5c8c34f84dcf4f698d7eafb36a)

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-27 08:38:34 +01:00
Saul Wold
f0b9303004 qemurunner: Add info log for qemu startup
Add a couple of logging info to track time between activities, first
is from after the Popen(launch_cmd) to after qmp.connect(), second is
from qmp.connect() to the release of the qemu via the qmp("cont") command
this includes the mmap() activity.

Example output:
QMP connected to QEMU at 06/24/21 11:11:56 and took 0.9556229114532471 seconds from launch
QMP released QEMU at 06/24/21 11:11:56 and took 0.26789021492004395 seconds from connect

(From OE-Core rev: 547f49230ba4ebeefe5b696e0460ebaffa8e91e6)

Signed-off-by: Saul Wold <saul.wold@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-27 08:38:34 +01:00
Andrej Valek
7ef8f45b26 busybox: add tmpdir option into mktemp applet
- Make mktemp applet compatible with --tmpdir option in ca-certificate
update script.

(From OE-Core rev: 3d969e482d29da29828d1510f106f161d2b3d3c0)

Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
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>
2021-06-27 08:38:34 +01:00
Richard Purdie
e3c2c1525e selftest/fetch: Avoid occasional selftest failure from poor temp file name choice
The temp file name may contain "_" characters. Switch to a temporary directory
and a fixed filename to avoid this to avoid errors like:

bb.data_smart.ExpansionError: Failure expanding variable PN, expression was
${@bb.parse.vars_from_file(d.getVar('FILE', False),d)[0] or 'defaultpkgname'}
which triggered exception ParseError:
ParseError in /tmp/tmpd_f2__to.bb: Unable to generate default variables from
filename (too many underscores)

(From OE-Core rev: 086e2ae7b2b7496b4f3ae01436b4049d7f2ff8c4)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-27 08:38:34 +01:00
Zqiang
3ea3e3435f ifupdown: Skip wrong test item
Skip wrong testcase(12-15) in testbuild-linux and rebase the patch
tweak-ptest-script.patch.

(From OE-Core rev: 4edcfbace258d94d814c7d61f467e5384e2645fb)

Signed-off-by: Zqiang <qiang.zhang@windriver.com>
Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-26 11:30:22 +01:00
Richard Purdie
525b85660e package_pkgdata: Avoid task hash mismatches for generic task changes
Add SSTATETASKS to package_prepare_pkgdata[vardepsexclude] since otherwise
the task hashes vary depending upon which packaging backends are enabled
and likely other changes which add/remove unrelated sstate tasks.

(From OE-Core rev: 4011d31d4372639fd72ee0eefae210bf59c90d13)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-26 11:27:39 +01:00
Alexander Kanavin
5a0a8d2e1e pypi: set SRC_URI with _prepend, not with +=
This did not cause problems in builds, but broke some devtool
workflows such as version upgrades or checking the latest version
from upstream. Tarballs should come first, not the patches.

(From OE-Core rev: 5cee50c25197102658e0689f635b2d567a375471)

(From OE-Core rev: 8f17b8bce85efb0e9a7e15d0b98a5cf7b6bd9750)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-26 11:27:17 +01:00
Ross Burton
252d9a4edb glibc: re-enable memory tagging
Now that the performance regressions caused by MTE have been resolved, we
can enable memory tagging again.

It is safe to globally enable the config as glibc does nothing if it isn't
supported on that target.

(From OE-Core rev: 5910d46b2a4b4387c12feb447c42864ec6b7828c)

(From OE-Core rev: deea7b96a0a4232c8119549dc2e8ecbc0bf47f0f)

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>
2021-06-26 11:27:17 +01:00
Ross Burton
bd5fa06a7f glibc: backport MTE improvements from master
After realising that the MTE support in 2.33 was suboptimal, discussion with
upstream revealed that these issues are known and already fixed.

They will be in glibc 2.34 which is scheduled for August, so backport the
fixes for now.

(From OE-Core rev: e5eadbf45b7fb953c557438854b0a96ba740c589)

(From OE-Core rev: c458fc59f5d0bbb68b75c0526c9183269e0efbe5)

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>
2021-06-26 11:27:17 +01:00
wangmy
d109c8d440 python3-numpy: upgrade 1.20.3 -> 1.21.0
refresh 0001-Don-t-search-usr-and-so-on-for-libraries-by-default-.patch

License-Updage: Copyright year updated to 2021

(From OE-Core rev: f2ad567dbcb846f39fbdbd8e4e432cd2d1bd0d0a)

(From OE-Core rev: 71ca892db9cb863245f9cbf67bb65afb39ef7853)

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>
2021-06-26 11:27:17 +01:00
wangmy
549bb5a31b libxcrypt: upgrade 4.4.22 -> 4.4.23
(From OE-Core rev: 8dca3e42409ae5f81094c4c422ec6e5408f2d219)

(From OE-Core rev: eb3ff21c6e668ef72ea2bf4f6495c44d75f61706)

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>
2021-06-26 11:27:17 +01:00
wangmy
297697a6f9 libva: upgrade 2.11.0 -> 2.12.0
(From OE-Core rev: 4abdc18d37e7ac039e71c613b9bb7a4c19c67b7b)

(From OE-Core rev: 5eb537767bb8d3e938b2c5f3cc740eae0cf96094)

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>
2021-06-26 11:27:17 +01:00
wangmy
da6e2a3c36 libhandy: upgrade 1.2.2 -> 1.2.3
(From OE-Core rev: f820f2fd8f7b5fb8b3fc7b62cbc08940dd992052)

(From OE-Core rev: 1d39f667d3bf1a4180dd8b5858d742bbd795bd2e)

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>
2021-06-26 11:27:17 +01:00
wangmy
46e198e2f3 libcap: upgrade 2.50 -> 2.51
refresh 0001-tests-do-not-statically-link-a-test.patch

(From OE-Core rev: 07f0e1a6e92800f651627687edbc51c714947846)

(From OE-Core rev: 734a489a2d9891f1f42144923ce67a3faeb5713e)

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>
2021-06-26 11:27:17 +01:00
Alexander Kanavin
9c1fa69c54 python3: apply test skipping patch unconditionally
Testing IMAGE_FEATURES from component recipes cannot possibly work;
adjusting the test to soft-fail if needed items are not available
is not trivial, so let's just skip unconditionally for now.

(From OE-Core rev: 68b816cb90badddd0aafa2a5c6633e000cb21a21)

(From OE-Core rev: 01b41f7deed48b33b35c84e32ef55de3e63b9bc1)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-26 11:27:17 +01:00
Alexander Kanavin
0223d82562 x264: upgrade to latest revision
(From OE-Core rev: dbf31657f0ef219fa38b4d0b59ae687ea5a2982e)

(From OE-Core rev: 6ff904dc94c8bb8b7b4923617769f26f3b3be063)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-26 11:27:17 +01:00
Alexander Kanavin
434c0f989b vte: upgrade 0.64.1 -> 0.64.2
(From OE-Core rev: b762788c39026cef2b1e5a5f99e3f19727d0da4f)

(From OE-Core rev: 4f0c1c88fcce6e273a8dc2350b76876009a75fd6)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-26 11:27:17 +01:00
Alexander Kanavin
73546784a2 sqlite3: upgrade 3.35.5 -> 3.36.0
(From OE-Core rev: 118564912d65135e971778eac16667a40fd062b4)

(From OE-Core rev: 70da06a05972af2953ce57042aaa605281685030)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-26 11:27:16 +01:00
Alexander Kanavin
0c78da38f1 python3-git: upgrade 3.1.17 -> 3.1.18
(From OE-Core rev: a8f8f614c75a1a5ca8759cb0aae8bdf9e8b60083)

(From OE-Core rev: 5ca7af1fa2ac2df2fdd72ffbc8222fce94426c6e)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-26 11:27:16 +01:00
Alexander Kanavin
2b952aa25d mtools: upgrade 4.0.29 -> 4.0.31
(From OE-Core rev: 26c02f5c588cc0b0068d235eacc22ffd058bd923)

(From OE-Core rev: fb5ef9d1d3e9fdefc6ae7968da668c8b79c2429f)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-26 11:27:16 +01:00
Alexander Kanavin
c483757189 libxi: upgrade 1.7.10 -> 1.7.99.2
(From OE-Core rev: 6ff1ab3fc0f12c2ffc81085b35b0041f435a8f94)

(From OE-Core rev: 89447c92908973813386d947de62e630ceaf0e6f)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-26 11:27:16 +01:00
Alexander Kanavin
affde31a0d libpcre: upgrade 8.44 -> 8.45
License-Update: copyright years

(From OE-Core rev: 19358939442d659a337cd525e2a33581d6c87b34)

(From OE-Core rev: e1613edf0631a785485be671737afabe230c992e)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-26 11:27:16 +01:00
Alexander Kanavin
75412907da libdnf: upgrade 0.63.0 -> 0.63.1
(From OE-Core rev: 5d989a6255605c37af9813cf1463f32d6db1a46d)

(From OE-Core rev: e2e1a35ce3d14baf83621fa5b0d4c8de1bcb2753)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-26 11:27:16 +01:00
Alexander Kanavin
8f31b6e41d dejagnu: upgrade 1.6.2 -> 1.6.3
(From OE-Core rev: 76427f885836c930f85e7befcbec237f39bc5eb7)

(From OE-Core rev: 2662642acc563203afe9cefabbbe38dc3ed0083f)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-26 11:27:16 +01:00
Alexander Kanavin
cf6d214bd8 bluez5: upgrade 5.58 -> 5.59
(From OE-Core rev: 9c42e84c68990b49c71f0fafb3575bf9683414b4)

(From OE-Core rev: ecb10add0ea8f8e046fcba2bcb5ce2a86234218d)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-26 11:27:16 +01:00
Alexander Kanavin
50954707fd bind: upgrade 9.16.16 -> 9.16.18
(From OE-Core rev: e3e4f7b9c95b7c89ab1542483f1782ae884d4ebb)

(From OE-Core rev: b3c94e9a50a64f56296500063c0c2baea6de4d16)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-26 11:27:16 +01:00
Alexander Kanavin
bfec99bacf vulkan-samples: update to latest revision
(From OE-Core rev: 39b61ce2380cc89dadccee4cf7e6444605fe0ad2)

(From OE-Core rev: 83bf8a89c04e155db236cf72b138943980ebdaca)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-26 11:27:16 +01:00
Alexander Kanavin
e5cdf655b8 dnf: updatee 4.7.0 -> 4.8.0
Remove patches merged upstream.

(From OE-Core rev: f647f368899c88b64d9feffb8d1cde7c3f96bdaa)

(From OE-Core rev: cd66d0c0b08f2e5a64a67f257350456f0f2cbc02)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-26 11:27:16 +01:00
Alexander Kanavin
8897e63ab9 bash: update 5.1 -> 5.1.8
(From OE-Core rev: 65ccd5fb231b8628374aac5eadae57d8179490ec)

(From OE-Core rev: 713860c05ba9a11a20c3a983dd45fc06f19cddc0)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-26 11:27:16 +01:00
Alexander Kanavin
5e805316bb gnu-config: update to latest revision
(From OE-Core rev: 0ccf1c364c8bf5386896ebd9f00872b096cb268d)

(From OE-Core rev: 3d7df8754ab000b32a672f8c8b8a9901b90ea02f)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-26 11:27:16 +01:00
Alexander Kanavin
0c18344c1f cmake: update 3.20.3 -> 3.20.4
(From OE-Core rev: 312b31a71a793851451e0860f162b8a65ec80835)

(From OE-Core rev: fca0d1a265a1bb2567cee203e5fea99c13e252b5)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-26 11:27:16 +01:00
Alexander Kanavin
c341eea9e9 devtool upgrade: rebase override-only patches as well
There's a number of recipes (such as nettle or glib) which were upgraded
incorrectly due to rebasing only the default set of patches in main SRC_URI.
Native-only or musl-only patches were not handled, causing do_patch fails
and overall misery.

Unfortunately, this also necessitates aborting any incomplete rebases as
devtool needs to be able to return to the original branch to complete
the upgrade command.

Also, do not add devtool-patched-%version tags, as they are not used anywhere,
and it's unclear how to extend them to cover multiple override branches.

(From OE-Core rev: 00131cbc969f6a73caffe068fcb983287cbe577f)

(From OE-Core rev: 588d04748dd89b5371ca9144666e97ec82dd6204)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-26 11:27:16 +01:00
Justin Bronder
2834c2f853 populate_sdk_ext: copy BBMULTICONFIG files
As the generated local.conf includes BBMULTICONFIG, the referenced files
in conf/multiconfig also need to be copied.  Otherwise with
BBMULTICONFIG="abc" for instance, building the esdk fails with:

ERROR: ParseError at tmp/build-glibc/work/qemux86_64-oe-linux/core-image-ssh/1.0-r0/sdk-ext/image/tmp-renamed-sdk/layers/openembedded-core/meta/conf/bitbake.conf:767: Could not include required file conf/multiconfig/abc.conf

(From OE-Core rev: 8bc339b83a45becc0c7edf016fcce187152669e3)

Signed-off-by: Justin Bronder <jsbronder@cold-front.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-22 15:18:11 +01:00
Ming Liu
fc253e327c uboot-sign.bbclass: fix some install commands
A "install -d" command is missing when dealing with
${UBOOT_NODTB_BINARY} in install_spl_helper function, this can lead
to invalid install error saying:

| install: cannot create .../usr/share/u-boot-nodtb-2021.04-r0.bin': No such file or directory

Let's drop all "install -d" and replace them with "install -Dm" in
install_helper/install_spl_helper functions.

(From OE-Core rev: db2b1da511ea3d4daef136a8b1d85b7040a46632)

Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-22 15:18:11 +01:00
Ming Liu
e9fa8f9001 u-boot-tools: fix a mkimage signature issue
A following error was observed:
| Can't write signature for 'signature@1' signature node in 'conf@imx6ull-colibri-wifi-eval-v3.dtb' conf node: <unknown error>
| uboot-mkimage Can't add hashes to FIT blob: -1

This is caused by a wrong return value being used in uboot source.

The return value '-ENOSPC' of fit_set_timestamp function does not match
the caller fit_image_write_sig's expection which is '-FDT_ERR_NOSPACE'.

Fix it by not calling fit_set_timestamp, but call fdt_setprop instead.

(From OE-Core rev: 8628a276a01e994e84d3c6ac8397860e8e2bbb5b)

Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-22 15:18:11 +01:00
Anders Wallin
456191f937 coreutils: remove NOSTAT_LEAF_OPTIMIZATION
coreutils is using gnulib as a submodule. In the tarball used by the recipe the
gnulib source is included. The patch comes from
gnulib
47bf2cf318
In the next release of coreutils this fix will be included.

It caused ‘find’ and ‘du’ to dump core, and it was useful
only for obsolescent Linux filesystems anyway.  Problem reported in:
https://lists.gnu.org/r/bug-gnulib/2020-04/msg00068.html
Quite possibly there is still a serious underlying fts bug with
tight-loop-check and mutating file systems, but if so this patch
should cause the bug to be triggered less often.
* lib/fts.c (enum leaf_optimization): Remove
NOSTAT_LEAF_OPTIMIZATION, as it’s problematic.
(S_MAGIC_REISERFS, S_MAGIC_XFS): Remove; no longer needed.
(leaf_optimization): Remove special cases for ReiserFS and XFS.
(fts_read): Remove NOSTAT_LEAF_OPTIMIZATION code.
* lib/fts_.h (struct _ftsent.fts_n_dirs_remaining):
Remove.  All uses removed.

(From OE-Core rev: d5d0f173be8cc27a0d5c475754483e76185b46b8)

Signed-off-by: Anders Wallin <anders.wallin@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-22 15:18:11 +01:00
Saul Wold
ab507fad57 qemurunner: add second qmp port
This will allow for direct ssh connection without breaking
the first one that is used for monitoring. The "nowait" option
will cause qmp server connection to NOT block waiting.

(From OE-Core rev: 40f09e184afd42decf2f924896fef03beacddc4b)

Signed-off-by: Saul Wold <saul.wold@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-22 15:18:11 +01:00
Khem Raj
bb30baceec sdk: Enable do_populate_sdk with multilibs
This patch enables building image based SDKs for multi-libbed images
e.g. lib32-core-image-minimal and so on. Change the path to nativesdk
tools to use recipe-sysroot since thats where the nativesdk components
are installed and it will need access to qemu wrappers during build for
processing intercepts

[YOCTO #14444]

(From OE-Core rev: 6196a785eababb040ee1dee9f33cb6d6dad77eef)

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>
2021-06-22 15:18:11 +01:00
Alexey Brodkin
8f0c68a7a6 gcc: Apply multilib fix to ARC as well
W/o that hack target GCC assume existence of per-mcpu folders,
which are missing.

In particular G++ failed to find "bits/c++config.h":
------------------>8------------------
 root@hsdk:~# cat test.cc
 #include <cstdlib>

 int myfunc(void)
 {
 }

 root@hsdk:~# g++ -c test.cc -v
 Using built-in specs.
 COLLECT_GCC=g++
 Target: arc-oe-linux
 Configured with: ../../../../../../work-shared/gcc-11.1.0-r0/gcc-11.1.0/configure --build=x86_64-linux --host=arc-oe-linux --target=arc-oe-linux --prefix=/usr --exec_prefix=/usr -x
 Thread model: posix
 Supported LTO compression algorithms: zlib
 gcc version 11.1.1 20210523 (GCC)
 COLLECT_GCC_OPTIONS='-c' '-v' '-shared-libgcc' '-mcpu=hs38_linux'
  /usr/libexec/gcc/arc-oe-linux/11.1.1/cc1plus -quiet -v -imultilib hs38_linux -D_GNU_SOURCE test.cc -quiet -dumpbase test.cc -dumpbase-ext .cc -mcpu=hs38_linux -version -o /tmp/ccs
 GNU C++17 (GCC) version 11.1.1 20210523 (arc-oe-linux)
         compiled by GNU C version 11.1.1 20210523, GMP version 6.2.1, MPFR version 4.1.0, MPC version 1.2.1, isl version none
 GGC heuristics: --param ggc-min-expand=99 --param ggc-min-heapsize=129242
 ignoring nonexistent directory "/usr/lib/gcc/arc-oe-linux/11.1.1/../../../../include/c++/11.1.1/arc-oe-linux/hs38_linux"
 ignoring nonexistent directory "/usr/lib/arc-oe-linux/11.1.1/include"
 ignoring nonexistent directory "/usr/local/include"
 ignoring nonexistent directory "/usr/lib/gcc/arc-oe-linux/11.1.1/../../../../arc-oe-linux/include"
 #include "..." search starts here:
 #include <...> search starts here:
  /usr/lib/gcc/arc-oe-linux/11.1.1/../../../../include/c++/11.1.1
  /usr/lib/gcc/arc-oe-linux/11.1.1/../../../../include/c++/11.1.1/backward
  /usr/lib/gcc/arc-oe-linux/11.1.1/include
  /usr/lib/gcc/arc-oe-linux/11.1.1/include-fixed
  /usr/include
 End of search list.
 GNU C++17 (GCC) version 11.1.1 20210523 (arc-oe-linux)
         compiled by GNU C version 11.1.1 20210523, GMP version 6.2.1, MPFR version 4.1.0, MPC version 1.2.1, isl version none
 GGC heuristics: --param ggc-min-expand=99 --param ggc-min-heapsize=129242
 Compiler executable checksum: 6df2f07a822bfbbb80a61414b712b75d
 In file included from test.cc:1:
 /usr/include/c++/11.1.1/cstdlib:41:10: fatal error: bits/c++config.h: No such file or directory
    41 | #include <bits/c++config.h>
       |          ^~~~~~~~~~~~~~~~~~
 compilation terminated.
------------------>8------------------

Note "ignoring nonexistent directory "/usr/lib/gcc/arc-oe-linux/11.1.1/../../../../include/c++/11.1.1/arc-oe-linux/hs38_linux"
message which is being used by GCC due to the fact of implicit "-mcpu=hs38_linux".

In fact this header "bits/c++config.h" is located in "/usr/lib/gcc/arc-oe-linux/11.1.1/../../../../include/c++/11.1.1/arc-oe-linux"
on target.

(From OE-Core rev: fbdc4422361a520af458468d836a8e4159dc22d6)

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-22 15:18:11 +01:00
Andreas Müller
81e5c11623 mesa: upgrade 21.1.2 -> 21.1.3
Changelog:

Bug fixes
* radv: ACO miscompiles a specific DIRT 5 shader
* Segfault in mtx_unlock/amdgpu_bo_slab_destroy
* [radeonsi] Incorrect rendering when using glDisable(GL_MULTISAMPLE) with multisample backbuffer
* kwin_x11 ring gfx_0.0.0 timeout
* [i965] regression: piglit.spec.arb_depth_buffer_float.fbo-depthstencil-gl_depth32f_stencil8-drawpixels

Changes
* classic/xlib: Fix the build after !9817
* radv: Don’t skip barriers that only change queues.
* radv: Actually return correct value for read-only DCC compressedness.
* radv: Allow DCC images to be compressed with foreign queues.
* llvmpipe: add the interesting bit of cpu detection to the cache.
* zink: Correct compiler issue with have_moltenvk member having been moved.
* .pick_status.json: Update to db83dc619c96c35a039f2d8a32e1a179c0f00d64
* .pick_status.json: Update to f884c2e3be363903a59dbee01868c7ad0bf0f346
* .pick_status.json: Update to 561f9ae74b2b7da06bb4830aaca8d017a3dd2746
* llvmpipe: fix edge-rule logic for lines
* anv: Clear all pending stall after pipe flush
* util: Zero out all of mask in util_set_thread_affinity
* panfrost: Use first_tiler to check if tiling is needed
* intel/vec4: Also use MOV_FOR_SCRATCH for swizzle resolves
* anv: Handle OOM in the pinned path in anv_reloc_list_add
* sparc: Avoid some redefinition warnings
* zink: ci updates
* anv: fix availability for copying timestamp query results
* util/vbuf: fix buffer overrun in attribute conversions
* zink: fix caching of shader variants with inlined uniforms
* zink: use scissor region for discarding clears during blit
* zink: fix typo that’s definitely not at all embarrassing or anything like that
* svga: Initialize pipe_shader_state for transform shaders
* docs/install: remove one extra when
* frontend/dri: set PIPE_BIND_PROTECTED later
* frontend/dri: fix bool/int comparison
* radeonsi: fix encryption check for buffers
* radeonsi: add a gfx10 bug workaround for NOT_EOP
* radeonsi: dirty msaa_config on rs->multisample_enable change
* winsys/amdgpu: don’t read bo->u.slab.entry after pb_slab_free
* aco: do not clause NSA instructions
* aco: don’t create 4 and 5 dword NSA instructions on GFX10
* aco: use v1b/v2b for ds_read_u8/ds_read_u16
* egl: zero is a valid fd
* freedreno/ir3: Fix use after free
* radv: enable RADV_DEBUG=invariantgeom for SotTR DX11/DX12 versions
* radv: emit PA_SC_CONSERVATIVE_RASTERIZATION_CNTL only on GFX9+
* aco: fix range checking for SSBO loads/stores with SGPR offset on GFX6-7
* aco: fix emitting literal offsets with SMEM on GFX7
* radv: do not launch an IB2 for secondary cmdbuf with INDIRECT_MULTI on GFX7
* radv: fix aligning the image offset by using align64()
* util/format: Change the pointer offset.
* aco/ra: Fix off-by-one-error in print_regs
* travis: Download XQuartz from GitHub.

(From OE-Core rev: e6e3570d9d555c0f2e62210a2163ae74cc495f2e)

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-22 15:18:11 +01:00
Bruce Ashfield
dfed30ed73 bsps/5.10: update to v5.10.43
Updating linux-yocto/5.10 to the latest korg -stable release, and to
match the qemu BSPs in oe-core

(From meta-yocto rev: c4d4fd958ace34f050d2830895470dacc2435b1f)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-21 11:09:56 +01:00
Richard Purdie
773f5bbde7 README.poky: Formatting and content cleanup
The README is rather out of date, update the content with the new content
properly in markdown format.

(From meta-yocto rev: d72000219ad03bb8e08c1cc84f6dbf44931155bf)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-21 11:09:56 +01:00
Alexander Kanavin
cdbbdb28a4 mesa: enable gallium intel drivers when building for x86
Iris is the default, recommended option for Skylake and newer nowadays,
i915 gallium is favoured over classic i915, and soon classic i965 will
be replaced by crocus gallium driver for i965-to-Haswell GPUs.

(From OE-Core rev: 670878b5919c2a67a2fea0b8e1f032e324fad5aa)

(From OE-Core rev: 5fdc061856348c0dab4dea7cfc0e9fdc1c95d85f)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-21 11:09:56 +01:00
Alexander Kanavin
5b39d87851 glibc: do not enable memory tagging on aarch64 just yet
Sadly, it seems to break copy-on-write as reported here:
https://lists.openembedded.org/g/openembedded-core/message/153082

(From OE-Core rev: 6891217346128cf529c15192defa096378fc5091)

(From OE-Core rev: 85b5b9a3f793f66bd396daa585d8693e13c11b08)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-21 11:09:56 +01:00
Alexander Kanavin
cb7996ae21 selftest: do not hardcode /tmp/sdk
This races if there are several copies of the test running at the same
time.

[YOCTO #14438]

(From OE-Core rev: deab11848036941771f2b3dc5cdaee83395280b5)

(From OE-Core rev: ea707e8726cd7012d101d02e69503b7c98bdaf3e)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-21 11:09:56 +01:00
Tim Orling
721555184b python3: skip tests requiring tools-sdk
Conditionally skip test_ctypes.test_find unless
IMAGE_FEATURES contains 'tools-sdk' as these test
cases require full packagegroup-core-buildessential

Fixes:
  AssertionError: Failed ptests:
  {'python3': ['test_find_library_with_gcc', 'test_find_library_with_ld']}

(From OE-Core rev: 70e2fc066a18c35e42610d75eeaa1edd9aab7cf2)

(From OE-Core rev: c6567235cba55f50ca77d5db848c887232f3670c)

Signed-off-by: Tim Orling <timothy.t.orling@intel.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-21 11:09:56 +01:00
Bruce Ashfield
6636260620 btrfs-tools: include linux/const.h to fix build with 5.12+ headers
btrfs-tools compile fails with mips, musl and 5.12+ headers.

The definition of __ALIGN_KERNEL has moved in 5.12+ kernels, so we
add an explicit include of const.h to pickup the macro:

  | make: *** [Makefile:595: mkfs.btrfs] Error 1
  | make: *** Waiting for unfinished jobs....
  | libbtrfs.a(volumes.o): in function `dev_extent_search_start':
  | /usr/src/debug/btrfs-tools/5.12.1-r0/git/kernel-shared/volumes.c:464: undefined reference to `__ALIGN_KERNEL'
  | collect2: error: ld returned 1 exit status

This is safe for older kernels as well, since the header still
exists, and is valid to include.

(From OE-Core rev: 78eb20ed31e27865c990f96803215139bc99060f)

(From OE-Core rev: e81b531939214a1a34f8841a5f0aaf16fbbe4d08)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-21 11:09:56 +01:00
Tony Battersby
4a490a6b5e glibc: fix path to place zdump in the tzcode package
zdump should be included in the tzcode package but is instead included
in the glibc-utils package due to an incorrect path in the recipe.

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

(From OE-Core rev: bf3892cef3381f6bd277228cdcc5a00fcfe3f3af)

Signed-off-by: Tony Battersby <tonyb@cybernetics.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-21 11:09:56 +01:00
Sakib Sajal
7a09f8dde3 oe-time-dd-test.sh: add iostat command
(From OE-Core rev: 615f0492d224a4855e3f0d7a53b39767d5b4095a)

Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-21 11:09:56 +01:00
Michael Opdenacker
f585bf4c95 sdk-manual: add missing index references
(From yocto-docs rev: 3308b9bebce69cda1b2e0bd69f59b304ea1e367f)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-19 16:54:02 +01:00
Michael Opdenacker
4be12b97dc sdk-manual: fix wrong word
(From yocto-docs rev: 93c43a019e3f44b0eb83a16e44372d98b5dce1a9)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-19 16:54:01 +01:00
Michael Opdenacker
10e0ee9041 sdk-manual: add missing quoting around "devtool upgrade"
(From yocto-docs rev: 8863967d1e4e4a5b8014bf55302752419352c25d)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-19 16:54:01 +01:00
Michael Opdenacker
b394cca927 manuals: fix issues related to trailing dots
Fix missing reference and styling issues found thanks
to trailing dots (only non black character in a line)

Matches (and multiple false positives) found with the below command:
git grep "\s\.$"

(From yocto-docs rev: 1d3026f50753d9ccf39b7d0163c77c765d754994)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-19 16:54:01 +01:00
Michael Opdenacker
e0ab2c01d6 migration guides: remove index reference to BB_SETSCENE_VERIFY_FUNCTION2
This variable is no longer documented in Bitbake's manual
as it's not in use any more.

(From yocto-docs rev: 68328d93023d2e3251a05ea2830c4f6b6de65708)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-19 16:54:01 +01:00
Quentin Schulz
7d3f57cfd2 docs: replace `FOO by :term:FOO` where possible
If a variable has a glossary entry and some rST files write about those
variables, it's better to point to the glossary entry instead of just
highlighting it by surrounding it with two tick quotes.

This was automated by the following python script:
"""
import re
from pathlib import Path

with open('objects.inv.txt', 'r') as f:
    objects = f.readlines()

with open('bitbake-objects.inv.txt', 'r') as f:
    objects = objects + f.readlines()

re_term = re.compile(r'variables.html#term-([A-Z_0-9]*)')
terms = []

for obj in objects:
    match = re_term.search(obj)
    if match and match.group(1):
        terms.append(match.group(1))

for rst in Path('.').rglob('*.rst'):
    with open(rst, 'r') as f:
        content = "".joing(f.readlines())
    for term in terms:
        content = re.sub(r'``({})``(?!.*\s*[~-]+)'.format(term), r':term:`\1`', content)

    with open(rst, 'w') as f:
        f.write(content)
"""

(From yocto-docs rev: ba49d9babfcb84bc5c26a68c8c3880a1d9c236d3)

Signed-off-by: Quentin Schulz <foss@0leil.net>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Reviewed-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-19 16:54:01 +01:00
Michael Opdenacker
7a9b74e9d2 sdk-manual: fix broken references
Detected by running:
git grep "^[\ ]*\" section" | grep -v "\`"

(From yocto-docs rev: 1e4909304a7e04fa707633b58c5e0d68a67d353a)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Reviewed-by: Quentin Schulz <foss@0leil.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-19 16:54:01 +01:00
zhengruoqin
9385815965 nfs-utils: upgrade 2.5.3 -> 2.5.4
(From OE-Core rev: b8723c114b3d9b58d2da1a86d728d176dcbeb4b1)

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-17 22:20:44 +01:00
zhengruoqin
7a7c20275c python3-dbusmock: upgrade 0.23.0 -> 0.23.1
(From OE-Core rev: 935710772068c44e894978995fcf5d16bcce9ae1)

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-17 22:20:44 +01:00
zhengruoqin
f39fa79699 libcomps: upgrade 0.1.16 -> 0.1.17
refresh 0002-Do-not-set-PYTHON_INSTALL_DIR-by-running-python.patch

(From OE-Core rev: 34afce294aece8c2d411181b9fb372afb5da7375)

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-17 22:20:44 +01:00
wangmy
446788bef3 createrepo-c: upgrade 0.17.2 -> 0.17.3
refresh 0001-Do-not-set-PYTHON_INSTALL_DIR-by-running-python.patch

(From OE-Core rev: 0ff4cfe6655853082771878bdcb4578fc08f7f12)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-17 22:20:44 +01:00
wangmy
50999ca5fa librepo: upgrade 1.14.0 -> 1.14.1
refresh 0002-Do-not-try-to-obtain-PYTHON_INSTALL_DIR-by-running-p.patch

(From OE-Core rev: 2d3c4ccaf429e64f3cbd41974c5bed1512c9d435)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-17 22:20:44 +01:00
wangmy
63d38f0f5a enchant2: upgrade 2.2.15 -> 2.3.0
(From OE-Core rev: 9be053dbdb18253cfbcf141bd1bc5dd682ab98fa)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-17 22:20:44 +01:00
wangmy
630b366ee6 blktrace: upgrade 1.2.0 -> 1.3.0
CVE-2018-10689.patch
ldflags.patch
make-btt-scripts-python3-ready.patch
removed since they're included in 1.3.0

(From OE-Core rev: d8684646d66d83a6cf922ef57349450ad5a3591d)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-17 22:20:44 +01:00
wangmy
cff03371ae alsa-ucm-conf: upgrade 1.2.5 -> 1.2.5.1
(From OE-Core rev: be072099f5a147a69c1509ae530730f3c43497f1)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-17 22:20:44 +01:00
wangmy
c901c8a8b9 alsa-topology-conf: upgrade 1.2.5 -> 1.2.5.1
(From OE-Core rev: d5d0853db3d98d0da5ca16b7d06953fadca7f8f4)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-17 22:20:44 +01:00
wangmy
6ead5bc913 alsa-utils: upgrade 1.2.5 -> 1.2.5.1
0001-utils.c-Include-limits.h-explicitly-to-fix-build-on-.patch
removed since it is included in 1.2.5.1

(From OE-Core rev: 4255c19584af17b96d452d4cf934e32039894cab)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-17 22:20:44 +01:00
wangmy
1239d73e89 alsa-lib: upgrade 1.2.5 -> 1.2.5.1
0001-ucm_exec.c-Include-limits.h-explicitly-to-fix-build-.patch
removed since it is included in 1.2.5.1

(From OE-Core rev: 293c6819a4c3ee397ff87ee73d42b5c85f2daf6c)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-17 22:20:44 +01:00
Alexander Kanavin
64ce39210f util-linux: backport a patch to address mkswap hangs
(From OE-Core rev: 4d50d6f708477da0a5314a3749275d87101374d9)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-17 13:45:02 +01:00
Richard Purdie
99c0230291 ltp: Reinstate 'hanging' tests for evaluation
We think we've found the root cause of the ltp hangs as a cgroup kernel
fs bug introduced in 5.1 and now fixed in linux-yocto. Reinstate these tests
and see if any issues recur.

(From OE-Core rev: 59d0df4ee3448ce5d5bcc03008f3e239003f9d79)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-17 13:42:31 +01:00
Khem Raj
4da1e8091e gcompat: Create symlinks to glibc ldso locations
This ensures the glibc based binaries can find it in right place

(From OE-Core rev: 5d82adcbc2326d8abc0039388578d730906b3e58)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-17 13:42:31 +01:00
Khem Raj
987ab9f860 linuxloader.bbclass: Add entry for ppc64 LE glibc loader
(From OE-Core rev: 6f0d401a508b55f30c11eec8cd875524eb75c40a)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-17 13:42:31 +01:00
Bruce Ashfield
529bb922c7 linux-yocto/5.10: cgroup1: fix leaked context root causing sporadic NULL deref in LTP
Integrating the following commit(s) to linux-yocto/5.10:

    ab49d2db98bd cgroup1: fix leaked context root causing sporadic NULL deref in LTP

PaulG tracked down the AB intermittent issues and generated a kernel
patch.

See: https://lore.kernel.org/lkml/20210616125157.438837-1-paul.gortmaker@windriver.com/

While we wait for it to loop through mainline, we'll integrate it into
our 5.10 branches.

(From OE-Core rev: 9a16dff746dd7ffd48ee8d1a17babef682168ead)

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-17 13:42:31 +01:00
Bruce Ashfield
381b83cae2 linux-yocto/5.4: update to v5.4.125
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:

    3909e2374335 Linux 5.4.125
    d99029e6aab6 neighbour: allow NUD_NOARP entries to be forced GCed
    8e0bb29446d1 i2c: qcom-geni: Suspend and resume the bus during SYSTEM_SLEEP_PM ops
    bdc17b2f8264 xen-pciback: redo VF placement in the virtual topology
    defcc2b5e54a lib/lz4: explicitly support in-place decompression
    97e814e6b5cd x86/kvm: Disable all PV features on crash
    9084fe1b3572 x86/kvm: Disable kvmclock on all CPUs on shutdown
    7620a669111b x86/kvm: Teardown PV features on boot CPU as well
    f82030a586a1 KVM: arm64: Fix debug register indexing
    2295e87a5e39 KVM: SVM: Truncate GPR value for DR and CR accesses in !64-bit mode
    0450af01ae7e btrfs: fix unmountable seed device after fstrim
    3b7f3cab1d47 mm/filemap: fix storing to a THP shadow entry
    0a890e220954 XArray: add xas_split
    03a390d8796d XArray: add xa_get_order
    fd8e06a7a723 mm: add thp_order
    f192885f7cee bnxt_en: Remove the setting of dev_port.
    14fd3da3e8d3 mm, hugetlb: fix simple resv_huge_pages underflow on UFFDIO_COPY
    6d4da27bd9ef btrfs: fixup error handling in fixup_inode_link_counts
    dad974d2494a btrfs: return errors from btrfs_del_csums in cleanup_ref_head
    0fd9149a82e3 btrfs: fix error handling in btrfs_del_csums
    295859a55549 btrfs: mark ordered extent and inode with error if we fail to finish
    12ca65539b04 x86/apic: Mark _all_ legacy interrupts when IO/APIC is missing
    b0c0d8b5bf94 drm/amdgpu: make sure we unpin the UVD BO
    24c06e5452c3 drm/amdgpu: Don't query CE and UE errors
    5d4c4b06ed9f nfc: fix NULL ptr dereference in llcp_sock_getname() after failed connect
    cc2edb99ea60 ocfs2: fix data corruption by fallocate
    2cd6eedfa634 pid: take a reference when initializing `cad_pid`
    fe4e0bd4c26c usb: dwc2: Fix build in periphal-only mode
    920697b004e4 ext4: fix bug on in ext4_es_cache_extent as ext4_split_extent_at failed
    52fc8f05c158 ARM: dts: imx6q-dhcom: Add PU,VDD1P1,VDD2P5 regulators
    2cac47eed455 ARM: dts: imx6dl-yapp4: Fix RGMII connection to QCA8334 switch
    d349ff008cb3 ALSA: hda: Fix for mute key LED for HP Pavilion 15-CK0xx
    0afd601d8e0a ALSA: timer: Fix master timer notification
    d65bc969ec8b HID: multitouch: require Finger field to mark Win8 reports as MT
    368c5d45a87e HID: magicmouse: fix NULL-deref on disconnect
    142d5ca797a9 HID: i2c-hid: Skip ELAN power-on command after reset
    4d94f530cd24 net: caif: fix memory leak in cfusbl_device_notify
    f52f4fd67264 net: caif: fix memory leak in caif_device_notify
    c97cdb70b72d net: caif: add proper error handling
    64824f626c0c net: caif: added cfserl_release function
    b6f97555c71f Bluetooth: use correct lock to prevent UAF of hdev object
    8d3d0ac73a4a Bluetooth: fix the erroneous flush_work() order
    28efacc21d2a tipc: fix unique bearer names sanity check
    9ac67fdf64e0 tipc: add extack messages for bearer/media failure
    0fa160a75748 bus: ti-sysc: Fix flakey idling of uarts and stop using swsup_sidle_act
    22ea29c39717 ARM: dts: imx: emcon-avari: Fix nxp,pca8574 #gpio-cells
    5b97dd983255 ARM: dts: imx7d-pico: Fix the 'tuning-step' property
    55fa22d1d8b2 ARM: dts: imx7d-meerkat96: Fix the 'tuning-step' property
    3a559111bd10 arm64: dts: zii-ultra: fix 12V_MAIN voltage
    f78c28a0dda1 arm64: dts: ls1028a: fix memory node
    3616dd03bc43 i40e: add correct exception tracing for XDP
    adfd6355fc8b i40e: optimize for XDP_REDIRECT in xsk path
    06f667dba42e i2c: qcom-geni: Add shutdown callback for i2c
    de37510ec67d ice: Allow all LLDP packets from PF to Tx
    bafd0a7461f0 ice: Fix VFR issues for AVF drivers that expect ATQLEN cleared
    3583ab29177c ice: write register with correct offset
    7ba7fa78a92d ipv6: Fix KASAN: slab-out-of-bounds Read in fib6_nh_flush_exceptions
    112533f50c7e ixgbevf: add correct exception tracing for XDP
    b5cc02c6986f ieee802154: fix error return code in ieee802154_llsec_getparams()
    4ca8aa37cb43 ieee802154: fix error return code in ieee802154_add_iface()
    66f3ab065b70 netfilter: nfnetlink_cthelper: hit EBUSY on updates if size mismatches
    da8d31e80ff4 netfilter: nft_ct: skip expectations for confirmed conntrack
    14c0381e2639 ACPICA: Clean up context mutex during object deletion
    8e8678936f0d net/sched: act_ct: Fix ct template allocation for zone 0
    385e1861f31b HID: i2c-hid: fix format string mismatch
    279e2136dd21 HID: pidff: fix error return code in hid_pidff_init()
    c8a95cb0c02d ipvs: ignore IP_VS_SVC_F_HASHED flag when adding service
    087b803a5b49 vfio/platform: fix module_put call in error flow
    60dcad10e2c7 samples: vfio-mdev: fix error handing in mdpy_fb_probe()
    870973918b2a vfio/pci: zap_vma_ptes() needs MMU
    5da371c3fdfb vfio/pci: Fix error return code in vfio_ecap_init()
    a4ed60297770 efi: cper: fix snprintf() use in cper_dimm_err_location()
    bc8f6647a73c efi: Allow EFI_MEMORY_XP and EFI_MEMORY_RO both to be cleared
    2986fdd3211f netfilter: conntrack: unregister ipv4 sockopts on error unwind
    90870b45fc62 hwmon: (dell-smm-hwmon) Fix index values
    0338fa4af9f3 nl80211: validate key indexes for cfg80211_registered_device
    e9487a498753 ALSA: usb: update old-style static const declaration
    aaa41b3094ea net: usb: cdc_ncm: don't spew notifications
    96a40c3fa3d3 btrfs: tree-checker: do not error out if extent ref hash doesn't match

(From OE-Core rev: ac4206f38bba852b1171419ad72a6e1c75ccec4c)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-17 13:42:31 +01:00
Bruce Ashfield
b287b21a34 linux-yocto/5.10: update to v5.10.43
Updating linux-yocto/5.10 to the latest korg -stable release that comprises
the following commits:

    951358a824f9 Linux 5.10.43
    d17d47da59f7 neighbour: allow NUD_NOARP entries to be forced GCed
    6b53db8c4c14 xen-netback: take a reference to the RX task thread
    316de9a88c83 netfilter: nf_tables: missing error reporting for not selected expressions
    eddf2d9f76b0 i2c: qcom-geni: Suspend and resume the bus during SYSTEM_SLEEP_PM ops
    f20eef4d0686 lib/lz4: explicitly support in-place decompression
    334c59d58de5 x86/kvm: Disable all PV features on crash
    3b0becf8b1ec x86/kvm: Disable kvmclock on all CPUs on shutdown
    38b858da1c58 x86/kvm: Teardown PV features on boot CPU as well
    b327c9774759 KVM: arm64: Fix debug register indexing
    b3ee3f50ab1b KVM: SVM: Truncate GPR value for DR and CR accesses in !64-bit mode
    fe910d20e2d8 btrfs: fix unmountable seed device after fstrim
    05e41f6f1c4e drm/msm/dpu: always use mdp device to scale bandwidth
    2eb4ec9c2c35 mm, hugetlb: fix simple resv_huge_pages underflow on UFFDIO_COPY
    baa6763123e2 btrfs: fix deadlock when cloning inline extents and low on available space
    0df50d47d174 btrfs: abort in rename_exchange if we fail to insert the second ref
    48568f3944ee btrfs: fixup error handling in fixup_inode_link_counts
    466d83fdbbe3 btrfs: return errors from btrfs_del_csums in cleanup_ref_head
    5a89982fa2bb btrfs: fix error handling in btrfs_del_csums
    b547a16b2491 btrfs: mark ordered extent and inode with error if we fail to finish
    5e5e63bacbe8 powerpc/kprobes: Fix validation of prefixed instructions across page boundary
    42f75a4381a4 x86/apic: Mark _all_ legacy interrupts when IO/APIC is missing
    3a6b69221f96 drm/amdgpu: make sure we unpin the UVD BO
    58da0b509e4b drm/amdgpu: Don't query CE and UE errors
    48ee0db61c82 nfc: fix NULL ptr dereference in llcp_sock_getname() after failed connect
    445477e9274e x86/sev: Check SME/SEV support in CPUID first
    942c5864de85 x86/cpufeatures: Force disable X86_FEATURE_ENQCMD and remove update_pasid()
    68dcd32b326a mm/page_alloc: fix counting of free pages after take off from buddy
    5f2e1e818e9f mm/debug_vm_pgtable: fix alignment for pmd/pud_advanced_tests()
    c8d5faee4624 ocfs2: fix data corruption by fallocate
    7178be006d49 pid: take a reference when initializing `cad_pid`
    a4ed12f5edc4 usb: dwc2: Fix build in periphal-only mode
    3b713aafa7c9 ext4: fix accessing uninit percpu counter variable with fast_commit
    2050c6e5b161 ext4: fix memory leak in ext4_mb_init_backend on error path.
    fb86acc62369 ext4: fix fast commit alignment issues
    d3b668b96ad3 ext4: fix bug on in ext4_es_cache_extent as ext4_split_extent_at failed
    01d349a481f0 ext4: fix memory leak in ext4_fill_super
    b2057d138f1b ARM: dts: imx6q-dhcom: Add PU,VDD1P1,VDD2P5 regulators
    623603e255aa ARM: dts: imx6dl-yapp4: Fix RGMII connection to QCA8334 switch
    846848c0520f ALSA: hda: update the power_state during the direct-complete
    cfbb57fcb180 ALSA: hda: Fix for mute key LED for HP Pavilion 15-CK0xx
    029c06103e0a ALSA: timer: Fix master timer notification
    d11e5b96efde gfs2: fix scheduling while atomic bug in glocks
    127f25be2ff0 HID: multitouch: require Finger field to mark Win8 reports as MT
    b5d013c4c76b HID: magicmouse: fix NULL-deref on disconnect
    a5e554f78981 HID: i2c-hid: Skip ELAN power-on command after reset
    46403c1f80b0 net: caif: fix memory leak in cfusbl_device_notify
    af2806345a37 net: caif: fix memory leak in caif_device_notify
    d6db727457dd net: caif: add proper error handling
    dac53568c6ac net: caif: added cfserl_release function
    df3b45f6d1ce wireguard: allowedips: free empty intermediate nodes when removing single node
    c5155c741a48 wireguard: allowedips: allocate nodes in kmem_cache
    70a9a71ab3e5 wireguard: allowedips: remove nodes in O(1)
    42a667715b1e wireguard: allowedips: initialize list head in selftest
    842c21d6a042 wireguard: selftests: make sure rp_filter is disabled on vethc
    b8d72ac1f210 wireguard: selftests: remove old conntrack kconfig value
    f74da2c2546c wireguard: use synchronize_net rather than synchronize_rcu
    d4275889ac9c wireguard: peer: allocate in kmem_cache
    d64fdbaec09b wireguard: do not use -O3
    74caf718cc74 Bluetooth: use correct lock to prevent UAF of hdev object
    3795007c8dfc Bluetooth: fix the erroneous flush_work() order
    7fa8ee00b5fa drm/amdgpu/jpeg3: add cancel_delayed_work_sync before power gate
    c12946548001 drm/amdgpu/jpeg2.5: add cancel_delayed_work_sync before power gate
    58f4d45d8d4d drm/amdgpu/vcn3: add cancel_delayed_work_sync before power gate
    ec72cb50c1db io_uring: use better types for cflags
    0b2a990e5d2f io_uring: fix link timeout refs
    3c23e23c7ad9 riscv: vdso: fix and clean-up Makefile
    282c9eeda6c2 serial: stm32: fix threaded interrupt handling
    fdf1e5eec3ed tipc: fix unique bearer names sanity check
    e31ae45ed1d3 tipc: add extack messages for bearer/media failure
    0d83aec6e010 bus: ti-sysc: Fix flakey idling of uarts and stop using swsup_sidle_act
    5592731e13cc ARM: dts: imx: emcon-avari: Fix nxp,pca8574 #gpio-cells
    67ae12a57b34 ARM: dts: imx7d-pico: Fix the 'tuning-step' property
    a776ea1eca2b ARM: dts: imx7d-meerkat96: Fix the 'tuning-step' property
    8aa4700de52d arm64: dts: freescale: sl28: var4: fix RGMII clock and voltage
    4f323ce68e75 arm64: dts: zii-ultra: fix 12V_MAIN voltage
    a3716c19330d arm64: dts: ls1028a: fix memory node
    d551b8e85777 bus: ti-sysc: Fix am335x resume hang for usb otg module
    426ba49ec50b optee: use export_uuid() to copy client UUID
    d866a6e61a4d arm64: dts: ti: j7200-main: Mark Main NAVSS as dma-coherent
    a1bf16616d83 ixgbe: add correct exception tracing for XDP
    e369db6cde11 ixgbe: optimize for XDP_REDIRECT in xsk path
    ad505705bba6 ice: add correct exception tracing for XDP
    9e1eb428849f ice: optimize for XDP_REDIRECT in xsk path
    7bd82b73d589 ice: simplify ice_run_xdp
    274d6eeaafc7 i40e: add correct exception tracing for XDP
    fbae1a97ce34 i40e: optimize for XDP_REDIRECT in xsk path
    1958a31c035d cxgb4: avoid link re-train during TC-MQPRIO configuration
    21d494d4446b i2c: qcom-geni: Add shutdown callback for i2c
    c4b796f20c95 ice: Allow all LLDP packets from PF to Tx
    68db78345f73 ice: report supported and advertised autoneg using PHY capabilities
    8726b9e81be7 ice: handle the VF VSI rebuild failure
    a79883ce1e9f ice: Fix VFR issues for AVF drivers that expect ATQLEN cleared
    b94580b055b8 ice: Fix allowing VF to request more/less queues via virtchnl
    098702358274 ipv6: Fix KASAN: slab-out-of-bounds Read in fib6_nh_flush_exceptions
    1dcf3d435bf6 cxgb4: fix regression with HASH tc prio value update
    8067da904921 ixgbevf: add correct exception tracing for XDP
    e0b61cda5f07 igb: add correct exception tracing for XDP
    e513d889625b ieee802154: fix error return code in ieee802154_llsec_getparams()
    2a0ba0125c2c ieee802154: fix error return code in ieee802154_add_iface()
    ff5039ec75c8 bpf, lockdown, audit: Fix buggy SELinux lockdown permission checks
    cdf3f6db1a86 bpf: Simplify cases in bpf_base_func_proto
    4cf297ef595c drm/i915/selftests: Fix return value check in live_breadcrumbs_smoketest()
    8d614eebc003 netfilter: nfnetlink_cthelper: hit EBUSY on updates if size mismatches
    5f3429c05e40 netfilter: nft_ct: skip expectations for confirmed conntrack
    c440cd080761 nvmet: fix freeing unallocated p2pmem
    2a8cda3867cd net/mlx5: DR, Create multi-destination flow table with level less than 64
    c8972cf28ea1 net/mlx5e: Check for needed capability for cvlan matching
    730700337593 net/mlx5: Check firmware sync reset requested is set before trying to abort it
    c1ea8c0e71ea net/mlx5e: Fix incompatible casting
    f1d4184f128d net/tls: Fix use-after-free after the TLS device goes down and up
    874ece252ed2 net/tls: Replace TLS_RX_SYNC_RUNNING with RCU
    a5de17bb916a net: sock: fix in-kernel mark setting
    09fdb6747b7e net: dsa: tag_8021q: fix the VLAN IDs used for encoding sub-VLANs
    091283e3d5eb perf probe: Fix NULL pointer dereference in convert_variable_location()
    100c872c7511 ACPICA: Clean up context mutex during object deletion
    df7c913f90c3 nvme-rdma: fix in-casule data send for chained sgls
    b198f77a3613 mptcp: always parse mptcp options for MPC reqsk
    be0d85072686 net/sched: act_ct: Fix ct template allocation for zone 0
    f07c54831477 net/sched: act_ct: Offload connections with commit action
    4f00f9c169d9 devlink: Correct VIRTUAL port to not have phys_port attributes
    56c45ab00aba HID: i2c-hid: fix format string mismatch
    744db828d6f9 HID: pidff: fix error return code in hid_pidff_init()
    39b92726a380 HID: logitech-hidpp: initialize level variable
    4b1aba653642 ipvs: ignore IP_VS_SVC_F_HASHED flag when adding service
    46ae882bb19a vfio/platform: fix module_put call in error flow
    2adb0313b132 samples: vfio-mdev: fix error handing in mdpy_fb_probe()
    c25454a4f4cb vfio/pci: zap_vma_ptes() needs MMU
    c303db1211a7 vfio/pci: Fix error return code in vfio_ecap_init()
    8d27efbb0ee4 efi: cper: fix snprintf() use in cper_dimm_err_location()
    951f8ef71d69 efi/libstub: prevent read overflow in find_file_option()
    b828601c752b efi: Allow EFI_MEMORY_XP and EFI_MEMORY_RO both to be cleared
    5148066edbdc efi/fdt: fix panic when no valid fdt found
    39a909a9720d netfilter: conntrack: unregister ipv4 sockopts on error unwind
    46e650617934 hwmon: (pmbus/isl68137) remove READ_TEMPERATURE_3 for RAA228228
    0d0df2e53223 hwmon: (dell-smm-hwmon) Fix index values
    70df000fb880 net: usb: cdc_ncm: don't spew notifications
    1d62b7ac83e0 btrfs: tree-checker: do not error out if extent ref hash doesn't match

(From OE-Core rev: 939d312bf3fac617394f3f96d8b1c7a525b3e26e)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-17 13:42:31 +01:00
Bruce Ashfield
42d5046057 linux-yocto/5.10: restore aufs
Integrating the following commit(s) to linux-yocto/5.10:

    bdda1b6cf99b aufs5: aufs-core
    2fa276071d07 aufs5: aufs-standalone
    06ed4d532456 aufs5: aufs-mmap
    372857834999 aufs5: aufs-kbuild
    fd68c9840693 aufs5: aufs-base

(From OE-Core rev: abe04529947d922c025853b71379d5ac7ff20238)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-17 13:42:31 +01:00
Bruce Ashfield
c619e880c7 linux-yocto/5.4: update to v5.4.124
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:

    70154d2f82a9 Linux 5.4.124
    23c7e3235a3a usb: core: reduce power-on-good delay time of root hub
    241abccc8a33 neighbour: Prevent Race condition in neighbour subsytem
    3c36980ba681 net: hso: bail out on interrupt URB allocation failure
    1bd48a2af84e Revert "Revert "ALSA: usx2y: Fix potential NULL pointer dereference""
    866648d965f0 net: hns3: check the return of skb_checksum_help()
    72cda5259f5e drivers/net/ethernet: clean up unused assignments
    776fba1486be i915: fix build warning in intel_dp_get_link_status()
    c561d83be40f drm/i915/display: fix compiler warning about array overrun
    e3d5ff235ec5 MIPS: ralink: export rt_sysc_membase for rt2880_wdt.c
    86a62df8f4d4 MIPS: alchemy: xxs1500: add gpio-au1000.h header file
    2221f233cc9e sch_dsmark: fix a NULL deref in qdisc_reset()
    a052751302b7 net: ethernet: mtk_eth_soc: Fix packet statistics support for MT7628/88
    162b11831f77 ALSA: usb-audio: scarlett2: snd_scarlett_gen2_controls_create() can be static
    3bfb58517d06 ipv6: record frag_max_size in atomic fragments in input path
    8bb1077448d4 net: lantiq: fix memory corruption in RX ring
    fda8f74d3975 scsi: libsas: Use _safe() loop in sas_resume_port()
    cf20c704a26e ixgbe: fix large MTU request from VF
    7a143b92d1dc bpf: Set mac_len in bpf_skb_change_head
    272729d56b2d ASoC: cs35l33: fix an error code in probe()
    3ee1d6e23108 staging: emxx_udc: fix loop in _nbu2ss_nuke()
    0bf49b3c8d8b cxgb4: avoid accessing registers when clearing filters
    68b5fc6ec52f gve: Correct SKB queue index validation.
    4f4752e4d8db gve: Upgrade memory barrier in poll routine
    821149ee88c2 gve: Add NULL pointer checks when freeing irqs.
    6abd1d1983f2 gve: Update mgmt_msix_idx if num_ntfy changes
    13c4d8986125 gve: Check TX QPL was actually assigned
    37d697759958 mld: fix panic in mld_newpack()
    b0fb74377891 bnxt_en: Include new P5 HV definition in VF check.
    f7b5b4e26bf5 net: bnx2: Fix error return code in bnx2_init_board()
    7a79654b9076 net: hso: check for allocation failure in hso_create_bulk_serial_device()
    48da4c0577fe net: sched: fix tx action reschedule issue with stopped queue
    515e7c595d84 net: sched: fix tx action rescheduling issue during deactivation
    1c25c7621fb7 net: sched: fix packet stuck problem for lockless qdisc
    a04790d104e2 tls splice: check SPLICE_F_NONBLOCK instead of MSG_DONTWAIT
    5c01181700ab openvswitch: meter: fix race when getting now_ms.
    5bfdc481d812 net: mdio: octeon: Fix some double free issues
    2e0fba911ca7 net: mdio: thunder: Fix a double free issue in the .remove function
    20255d41ac56 net: fec: fix the potential memory leak in fec_enet_init()
    41f7f37ddefe net: really orphan skbs tied to closing sk
    694f68527e75 vfio-ccw: Check initialized flag in cp_init()
    d5e4479228b5 ASoC: cs42l42: Regmap must use_single_read/write
    87803141fb3e net: dsa: fix error code getting shifted with 4 in dsa_slave_get_sset_count
    4450f733dc3d net: netcp: Fix an error message
    de2bf5de17be drm/amd/amdgpu: fix a potential deadlock in gpu reset
    7398c2aab4da drm/amdgpu: Fix a use-after-free
    dde2656e0bbb drm/amd/amdgpu: fix refcount leak
    f6d92ebb3eaf drm/amd/display: Disconnect non-DP with no EDID
    63c61d89660a SMB3: incorrect file id in requests compounded with open
    07160b004a0b platform/x86: touchscreen_dmi: Add info for the Mediacom Winpad 7.0 W700 tablet
    d1dcd53a45e1 platform/x86: intel_punit_ipc: Append MODULE_DEVICE_TABLE for ACPI
    feb5d3618a18 platform/x86: hp-wireless: add AMD's hardware id to the supported list
    0ed102453aa1 btrfs: do not BUG_ON in link_to_fixup_dir
    a10371342903 openrisc: Define memory barrier mb
    fed34fb07c4b scsi: BusLogic: Fix 64-bit system enumeration error for Buslogic
    55575c08502f btrfs: return whole extents in fiemap
    a3dea6dc1e14 brcmfmac: properly check for bus register errors
    26fb7a61de4e Revert "brcmfmac: add a check for the status of usb_register"
    d4bab5d15bf5 net: liquidio: Add missing null pointer checks
    6ba750549671 Revert "net: liquidio: fix a NULL pointer dereference"
    d771def6c305 media: gspca: properly check for errors in po1030_probe()
    44b17737b7aa Revert "media: gspca: Check the return value of write_bridge for timeout"
    f6068eadc1d2 media: gspca: mt9m111: Check write_bridge for timeout
    f19375e9a8f2 Revert "media: gspca: mt9m111: Check write_bridge for timeout"
    193c790eccfc media: dvb: Add check on sp8870_readreg return
    2d5e27f0e031 Revert "media: dvb: Add check on sp8870_readreg"
    5b3a68a1cf37 ASoC: cs43130: handle errors in cs43130_probe() properly
    7e4ac4e151f1 Revert "ASoC: cs43130: fix a NULL pointer dereference"
    3aa60a0335ea libertas: register sysfs groups properly
    e0c75f951f81 Revert "libertas: add checks for the return value of sysfs_create_group"
    6c52bc7482e3 dmaengine: qcom_hidma: comment platform_driver_register call
    e829b7253e4d Revert "dmaengine: qcom_hidma: Check for driver register failure"
    4bc94e60d787 isdn: mISDN: correctly handle ph_info allocation failure in hfcsusb_ph_info
    6b8872d4972f Revert "isdn: mISDN: Fix potential NULL pointer dereference of kzalloc"
    85b2c436a143 ath6kl: return error code in ath6kl_wmi_set_roam_lrssi_cmd()
    b74d4ae8f538 Revert "ath6kl: return error code in ath6kl_wmi_set_roam_lrssi_cmd()"
    a34338fcaad6 isdn: mISDNinfineon: check/cleanup ioremap failure correctly in setup_io
    d3d74e622e63 Revert "isdn: mISDNinfineon: fix potential NULL pointer dereference"
    5dc20457707b Revert "ALSA: usx2y: Fix potential NULL pointer dereference"
    ea4c563657d7 Revert "ALSA: gus: add a check of the status of snd_ctl_add"
    70bf2a067915 char: hpet: add checks after calling ioremap
    07d2945a3551 Revert "char: hpet: fix a missing check of ioremap"
    b1da7ad9ad58 net: caif: remove BUG_ON(dev == NULL) in caif_xmit
    e8dee217eca8 Revert "net/smc: fix a NULL pointer dereference"
    22049c3d40f0 net: fujitsu: fix potential null-ptr-deref
    ebb533ce35b5 Revert "net: fujitsu: fix a potential NULL pointer dereference"
    e50a9f2548a5 serial: max310x: unregister uart driver in case of failure and abort
    e5d3e4b6104c Revert "serial: max310x: pass return value of spi_register_driver"
    047aefd62220 Revert "ALSA: sb: fix a missing check of snd_ctl_add"
    bec840232fed Revert "media: usb: gspca: add a missed check for goto_low_power"
    e44a9941937d gpio: cadence: Add missing MODULE_DEVICE_TABLE
    e0c7f6cce1cf platform/x86: hp_accel: Avoid invoking _INI to speed up resume
    bd7a3b3ed9e3 perf jevents: Fix getting maximum number of fds
    77ac90814b4e i2c: sh_mobile: Use new clock calculation formulas for RZ/G2E
    04cc05e3716a i2c: i801: Don't generate an interrupt on bus reset
    45488e77e014 i2c: s3c2410: fix possible NULL pointer deref on read message after write
    e00da6510b3b net: dsa: sja1105: error out on unsupported PHY mode
    ce5355f140a7 net: dsa: fix a crash if ->get_sset_count() fails
    4fe4e1f48ba1 net: dsa: mt7530: fix VLAN traffic leaks
    15d1cc4b4b58 spi: spi-fsl-dspi: Fix a resource leak in an error handling path
    64d17ec9f1de tipc: skb_linearize the head skb when reassembling msgs
    d1f76dfadaf8 tipc: wait and exit until all work queues are done
    bdd37028a026 Revert "net:tipc: Fix a double free in tipc_sk_mcast_rcv"
    5e01d87b108c net/mlx4: Fix EEPROM dump support
    4fd3213e5354 net/mlx5e: Fix nullptr in add_vlan_push_action()
    df61870c4b1d net/mlx5e: Fix multipath lag activation
    4ce2bf20b4a6 drm/meson: fix shutdown crash when component not probed
    0787efc1a359 NFSv4: Fix v4.0/v4.1 SEEK_DATA return -ENOTSUPP when set NFS_V4_2 config
    785917316b25 NFS: Don't corrupt the value of pg_bytes_written in nfs_do_recoalesce()
    1fc5f4eb9d31 NFS: Fix an Oopsable condition in __nfs_pageio_add_request()
    e411df81cd86 NFS: fix an incorrect limit in filelayout_decode_layout()
    f76e76555682 fs/nfs: Use fatal_signal_pending instead of signal_pending
    fe201316ac36 Bluetooth: cmtp: fix file refcount when cmtp_attach_device fails
    977c34b50e6b spi: spi-geni-qcom: Fix use-after-free on unbind
    b95fb96e6339 net: usb: fix memory leak in smsc75xx_bind
    b94afae0fa7a usb: gadget: udc: renesas_usb3: Fix a race in usb3_start_pipen()
    6b5bfb8ce56d usb: dwc3: gadget: Properly track pending and queued SG
    2cd572cc45b5 thermal/drivers/intel: Initialize RW trip to THERMAL_TEMP_INVALID
    78e80f9c4e96 USB: serial: pl2303: add device id for ADLINK ND-6530 GC
    f485e4dcbe44 USB: serial: ftdi_sio: add IDs for IDS GmbH Products
    8217f3c7f6cc USB: serial: option: add Telit LE910-S1 compositions 0x7010, 0x7011
    eddf691bab0f USB: serial: ti_usb_3410_5052: add startech.com device id
    915452f40e2f serial: rp2: use 'request_firmware' instead of 'request_firmware_nowait'
    1d8071879a2b serial: sh-sci: Fix off-by-one error in FIFO threshold register setting
    3986ba109dad serial: tegra: Fix a mask operation that is always true
    2c835fede13e USB: usbfs: Don't WARN about excessively large memory allocations
    84af0c28ed1b USB: trancevibrator: fix control-request direction
    bc8b9d8c0465 serial: 8250_pci: handle FL_NOIRQ board flag
    f75a5b9907e8 serial: 8250_pci: Add support for new HPE serial device
    72fa5c26936a iio: adc: ad7793: Add missing error code in ad7793_setup()
    f49149964d24 iio: adc: ad7124: Fix potential overflow due to non sequential channel numbers
    7e5cac90430c iio: adc: ad7124: Fix missbalanced regulator enable / disable on error.
    2c9085b0fa04 iio: adc: ad7768-1: Fix too small buffer passed to iio_push_to_buffers_with_timestamp()
    bd877887e479 iio: gyro: fxas21002c: balance runtime power in error path
    657f6a33f871 staging: iio: cdc: ad7746: avoid overwrite of num_channels
    12fb557863f8 mei: request autosuspend after sending rx flow control
    eb78fa5a3815 thunderbolt: dma_port: Fix NVM read buffer bounds and offset issue
    36b5ff1db1a4 misc/uss720: fix memory leak in uss720_probe
    66a2a494ac48 serial: core: fix suspicious security_locked_down() call
    48a9b7957bb2 Documentation: seccomp: Fix user notification documentation
    c7c6a316a887 kgdb: fix gcc-11 warnings harder
    01c57232a1cb selftests/gpio: Fix build when source tree is read only
    d93532a4873d selftests/gpio: Move include of lib.mk up
    1e20cdb93889 selftests/gpio: Use TEST_GEN_PROGS_EXTENDED
    03aeefb46f07 drm/amdgpu/vcn2.5: add cancel_delayed_work_sync before power gate
    f0780e96a6e2 drm/amdgpu/vcn2.0: add cancel_delayed_work_sync before power gate
    9351c5192b88 drm/amdgpu/vcn1: add cancel_delayed_work_sync before power gate
    d65ec240b3e4 dm snapshot: properly fix a crash when an origin has no snapshots
    b06fe1124369 ath10k: Validate first subframe of A-MSDU before processing the list
    aee0121afee5 ath10k: Fix TKIP Michael MIC verification for PCIe
    124ce717f6b2 ath10k: drop MPDU which has discard flag set by firmware for SDIO
    405d08dda2f9 ath10k: drop fragments with multicast DA for SDIO
    96d4d82652fa ath10k: drop fragments with multicast DA for PCIe
    6bf449a34c0d ath10k: add CCMP PN replay protection for fragmented frames for PCIe
    cbc470aa3f93 mac80211: extend protection against mixed key and fragment cache attacks
    88664d5e5dc9 mac80211: do not accept/forward invalid EAPOL frames
    bbc06191e36e mac80211: prevent attacks on TKIP/WEP as well
    c8b3a6150dc8 mac80211: check defrag PN against current frame
    1b3774e58e47 mac80211: add fragment cache to sta_info
    fb1b24f94d1c mac80211: drop A-MSDUs on old ciphers
    fa00d4928eaf cfg80211: mitigate A-MSDU aggregation attacks
    5fe9fae1220e mac80211: properly handle A-MSDUs that start with an RFC 1042 header
    14f29a67f404 mac80211: prevent mixed key and fragment cache attacks
    b90cf214e2bb mac80211: assure all fragments are encrypted
    4302a6fdec60 net: hso: fix control-request directions
    60d171c477e9 proc: Check /proc/$pid/attr/ writes against file opener
    7f4d9d2f0be7 perf scripts python: exported-sql-viewer.py: Fix warning display
    cb08c8d591cb perf scripts python: exported-sql-viewer.py: Fix Array TypeError
    9044d06150d0 perf scripts python: exported-sql-viewer.py: Fix copy to clipboard from Top Calls by elapsed Time report
    21e2eb6a950c perf intel-pt: Fix transaction abort handling
    854216d7ec10 perf intel-pt: Fix sample instruction bytes
    044bbe8b92ab iommu/vt-d: Fix sysfs leak in alloc_iommu()
    aba3c7795f51 NFSv4: Fix a NULL pointer dereference in pnfs_mark_matching_lsegs_return()
    f2a35ade2274 cifs: set server->cipher_type to AES-128-CCM for SMB3.0
    5c81a4e24cf1 ALSA: usb-audio: scarlett2: Improve driver startup messages
    26314d278423 ALSA: usb-audio: scarlett2: Fix device hang with ehci-pci
    6fc2850259e6 ALSA: hda/realtek: Headphone volume is controlled by Front mixer

(From OE-Core rev: d91ec7d1b47d026149c488cfe1fd0af831b8fad6)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-17 13:42:31 +01:00
Bruce Ashfield
676f68ba8f linux-yocto-dev: base AUTOREV on specified version
linux-yocto-dev tracks the latest mainline kernel, and uses
standard/* for that support.

Archived -dev versions are under v<kernel version>/standard/base.

This policy works, except that a released branch will still follow
the new kernel versions, causing potential breakage with newer
kernels than are supported in that release.

Rather than lock the SRCREVs and update branches in old releases,
we can preserve the AUTOREV nature of -dev, and allow them to
switch automatically to the archived branch based on the LINUX_VERSION
in the -dev recipe (which is unchanged in the release branch).

This is consistent with the other branch switching done for the
kernels and with the -dev workflow.

(From OE-Core rev: 84e14b6116a7d1e52051c5c80be2d8e3db67c2d7)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-17 13:42:31 +01:00
Alexey Brodkin
4052a66ba3 gdb: Add native GDB support for ARC
This adds support of so-called "native" GDB for ARC processors.
It was submitted upstream a bit late for inclusion in v10.x,
but already in the upstream "master" branch and will be an essential part
of v11.1 whenever it happens.

These are the changes from upstream "master":
 * https://sourceware.org/git?p=binutils-gdb.git;a=commit;h=b4e3cd0440109d0a5552d3313ccbd35c8103335b
 * https://sourceware.org/git?p=binutils-gdb.git;a=commit;h=d4af727286e3a9f177ba11677fbd3a012d36558a
 * https://sourceware.org/git?p=binutils-gdb.git;a=commit;h=46023bbe81355230b4e7b76d3084337823d02362
 * https://sourceware.org/git?p=binutils-gdb.git;a=commit;h=04c9f85efcd8df5fc482ce97c0104cc7dd5d19e6

Thanks a bunch to Anton & Shahab who made it possible!

(From OE-Core rev: 3429acea0f4a0b59f233947defecdf919c7b1799)

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-17 13:42:31 +01:00
Khem Raj
a5517f5021 linuxloader: Be aware of riscv32 ldso
(From OE-Core rev: 0d7aa00663e1e41980afb24d0ada2d76e8723e2b)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-17 13:42:31 +01:00
Ross Burton
ef772235d4 gcc: replace gdb helper install revert with the upstream fix
A change in the gcc-11 branch broke installation of the GDB helper on
bare-metal targets without a shared libstdc++.so.  This now fixed
upstream so replacce the revert with a backport of the patch.

(From OE-Core rev: 5137ca0a295c3ab8d938d67ea292300bb2cbab93)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-17 13:42:31 +01:00
Tony Tascioglu
7933c2125b valgrind: Actually install list of non-deterministic ptests
Install list of non-deterministic threaded ptests to be run using taskset
to force them to a single core. This commit works with b318944d7, which
updated the testing script to run the non-deterministic tests separately
but didn't install the list of tests, so these tests were being run
without taskset.

The taskset_nondeterministic_tests file is the list of tests that will
be run separately with taskset, and ignored during the other tests. This
is installed to /usr/lib/valgrind/ptest similar to the 2 existing lists
for tests to skip on ARM and all architectures.

Removed bar_bad and bar_bad_xml to be included separately as they cause
issues on non-kvm QEMU instances.

See:
   b318944dd7 valgrind: Improve non-deterministic ptest reliability
for more info.

(From OE-Core rev: 3d23985d0d653844863ed513d75d93a36359992f)

Signed-off-by: Tony Tascioglu <tony.tascioglu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-17 13:42:31 +01:00
Alexander Kanavin
60fe30204c gdb-cross: enable debuginfod
This allows avoiding having gdb inside the target image, which might
be too resource-constrained, or otherwise inconvenient.

(From OE-Core rev: b903f250a7bbf04d5853f537b7565a80fb7ce1f3)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-17 13:42:31 +01:00
Alexander Kanavin
4e2baf969f bitbake.conf: enable debuginfod in native/nativesdk
This was an oversight when the distro feature was introduced.

(From OE-Core rev: 4a985ff0dd13c455dadf85f4ad35a0a42f4bd9f1)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-17 13:42:31 +01:00
Matt Spencer
f65757ad17 systemd-conf: Prevent systemd-network from managing veth interfaces
We need to prevent systemd-network from managing veth interface when
using platforms like k3s as they control creation and management of the
interfaces.

(From OE-Core rev: b615bb279730ce3e0c4b4098a9e43700f2f095af)

Signed-off-by: Matt Spencer <matt.spencer@arm.com>
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-17 13:42:31 +01:00
Andreas Müller
faefe113ac libpcap: upgrade 1.10.0 -> 1.10.1
Summary for 1.10.1 libpcap release
  Packet filtering:
    Fix "type XXX subtype YYY" giving a parse error
  Source code:
    Add PCAP_AVAILABLE_1_11.
  Building and testing:
    Rename struct bpf_aux_data to avoid NetBSD compile errors
    Squelch some compiler warnings
    Squelch some Bison warnings
    Fix cross-builds with older kernels lacking BPF_MOD and BPF_XOR
    Fix Bison detection for minor version 0.
    Fix parallel build with FreeBSD make.
    Get DLT_MATCHING_MAX right in gencode.c on NetBSD.
    Define timeradd() and timersub() if necessary.
    Fix Cygwin/MSYS target directories.
    Fix symlinking with DESTDIR.
    Fix generation of libpcap.pc with CMake when not building a shared
        library.
    Check for Arm64 as well as x86-64 when looking for packet.lib on
        Windows.
  Documentation:
    Refine Markdown in README.md.
    Improve the description of portrange in filters.
    README.linux.md isn't Markdown, rename it just README.linux.
  pcapng:
    Support reading version 1.2, which some writers produce, and which
        is the same as 1.0 (some new block types were added, but
        that's not sufficient reason to bump the minor version number,
        as code that understands those new block types can handle them
        in a 1.0 file)
  Linux:
    Drop support for text-mode USB captures, as we require a 2.6.27
        or later kernel (credit to Chaoyuan Peng for noting the
        sscanf vulnerabilities in the text-mode code that got me to
        realize that we didn't need this code any more)
    Bluetooth: fix non-blocking mode.
    Don't assume that all compilers used to build for Linux support
        the __atomic builtins
  Windows:
    ...
  rpcap:
    Clean up error checking and error messages for server address
        lookup.

(From OE-Core rev: bcd20c78be3828903c18fcb40853e7146cc85fdb)

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-17 13:42:31 +01:00
Richard Purdie
0f681265f5 perf: Use python3targetconfig to ensure we use target libraries
We've seen some reproducibility issues on the autobuilder in perf where the
size of the python module varies slightly between systems. After some head
scratching and removing the --quiet option to the python module build,
you can see it using -Lrecipe-sysroot-native in the linking commandline
for the module. This means it is linking against the native library
on systems where that works, skipping it and using the target one
otherwise, probably with warnings in logs we've not seen.

The fix is to inherit the python3targetconfig class which ensures
that the target sysroot is used, then the byte differences between
the builds go away and things are sane(r) again.

(From OE-Core rev: 8e2b6c042edd9ec76cb8281247604e4f81518780)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-17 13:42:31 +01:00
Alexander Kanavin
d75ed06603 xkeyboard-config: upgrade 2.32 -> 2.33
(From OE-Core rev: 8cdc1767ce15185c99d85dc976f2a316a21cb28f)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-17 00:07:06 +01:00
Alexander Kanavin
cf21610d2d wpebackend-fdo: upgrade 1.8.4 -> 1.10.0
(From OE-Core rev: 6a388fe5eea05b128318aec1b95b1e1cad22e362)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-17 00:07:06 +01:00
Alexander Kanavin
8d1513417b sudo: upgrade 1.9.7 -> 1.9.7p1
(From OE-Core rev: 7da8152cc42c14ddc02c6a3180632c958a191d74)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-17 00:07:06 +01:00
Alexander Kanavin
5ef04a0096 python3-magic: upgrade 0.4.23 -> 0.4.24
(From OE-Core rev: d74386b7b7fd2a7e6b3179c123b15331341fafa8)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-17 00:07:06 +01:00
Alexander Kanavin
7c57d7405c stress-ng: upgrade 0.12.09 -> 0.12.10
(From OE-Core rev: 42adfa656617212b6db0d56a4fde1718c32a1e57)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-17 00:07:06 +01:00
Alexander Kanavin
94fa3f7597 rng-tools: upgrade 6.12 -> 6.13
(From OE-Core rev: 5f40c189e9739303c2c6ec43c83592d729be4ecd)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-17 00:07:05 +01:00
Alexander Kanavin
d1078a7e26 puzzles: upgrade to latest revision
License-update: copyright years

(From OE-Core rev: 512c9c893c67d8a11f9af5d3fcaaa58a9211015e)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-17 00:07:05 +01:00
Alexander Kanavin
90c1b12df9 libwpe: upgrade 1.10.0 -> 1.10.1
(From OE-Core rev: 1d0df5c571978cfb586de040f5ae04df4c52893c)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-17 00:07:05 +01:00
Alexander Kanavin
e9f8e93635 libnss-mdns: upgrade 0.15 -> 0.15.1
(From OE-Core rev: 7631f20b3f4317bc22fead3d28684c42b9a08e98)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-17 00:07:05 +01:00
Alexander Kanavin
40381bdbd0 libksba: upgrade 1.5.1 -> 1.6.0
(From OE-Core rev: a27ea852b6471d5f4aeb1e9a5768ca81dbfba7ba)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-17 00:07:05 +01:00
Alexander Kanavin
a4c38eb05a connman: update 1.39 -> 1.40
(From OE-Core rev: a23c6374ad3112f8b0a4bc259c67eb7dd2ae9097)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-17 00:07:05 +01:00
Alexander Kanavin
096f60d490 gptfdisk: upgrade 1.0.7 -> 1.0.8
(From OE-Core rev: 976e8b6f23633d35ac85cad39fa8a3d978430d0f)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-17 00:07:05 +01:00
Alexander Kanavin
6d698363ae grub: upgrade 2.04+2.06~rc1 -> 2.06
(From OE-Core rev: 0f528608eb48809955b2610ecc4bd689f1cf8899)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-17 00:07:05 +01:00
Alexander Kanavin
ab8853a8fc erofs-utils: upgrade 1.2.1 -> 1.3
(From OE-Core rev: 2fc76fccc7da1768e712e722898d33dc68385f53)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-17 00:07:05 +01:00
Alexander Kanavin
00d0263cf2 ell: upgrade 0.40 -> 0.41
(From OE-Core rev: 03799c3abe79a2fbf1d273824e7408c275eabd6a)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-17 00:07:05 +01:00
Alexander Kanavin
6393e1781b meson: upgrade 0.58.0 -> 0.58.1
(From OE-Core rev: 0030f7f27446263995f5470fe0d801b3a66a58cf)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-17 00:07:05 +01:00
Alexander Kanavin
80323ca44a glib-2.0: update 2.68.2 -> 2.68.3
(From OE-Core rev: d20121522dd6f8bf0286fb6133243a64e095bc55)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-17 00:07:05 +01:00
Alexander Kanavin
34f894769f nettle: update 3.7.2 -> 3.7.3
(From OE-Core rev: 219c89310264f99c2c43bb80e437a8a1e8e3217a)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-17 00:07:05 +01:00
Alexander Kanavin
7c4d502c74 cross-canadian: correct the location of pkg-config files
layout_libdir has not been defined for many years.

(From OE-Core rev: 2c84fbed676a8e6717592c86c3742566ad0decac)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-17 00:07:05 +01:00
Alexander Kanavin
6091f104bb util-linux: update 2.36.2 -> 2.37
Drop manpages support, as it requires asciidoctor
(written in ruby, isn't in oe-core).

(From OE-Core rev: 6cb58dd4feae12a064fad3ab30b1d44e159fe7e2)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-17 00:07:05 +01:00
Alexander Kanavin
2e9cdb6979 apt: update 2.2.3 -> 2.2.4
(From OE-Core rev: 56f17fb466a35af7ed80df08bf05970a9fe25c9b)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-17 00:07:05 +01:00
Alexander Kanavin
f9cbd62bf3 ovmf: update 2021.02 -> 2021.05
Reformat patches using git, so that rebasing them to newer versions is easier.

(From OE-Core rev: 796f5a422a1bb9059ca8045b5aa199aa02b0e46a)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-17 00:07:05 +01:00
Alexander Kanavin
b324d19336 m4: correct ptest failures
(From OE-Core rev: 5b9a2d698bfae8919678073970b951b746158d34)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-17 00:07:05 +01:00
wangmy
3f51d9e627 m4: upgrade 1.4.18 -> 1.4.19
0001-Unset-need_charset_alias-when-building-for-musl.patch
0001-c-stack-stop-using-SIGSTKSZ.patch
0001-test-getopt-posix-fix.patch
m4-1.4.18-glibc-change-work-around.patch
deleted since they are included in 1.4.19

refresh ac_config_links.patch

License-update: URL of license changed

(From OE-Core rev: c61358d84d83f0fbd8b2fbe2659ed547e0c046a4)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-17 00:07:05 +01:00
Andreas Müller
3d76fca34b libx11: remove CPPFLAGS_FOR_BUILD += "-D_GNU_SOURCE"
With 1.7.2 it is not required any and although they mention glibc explicitly,
_GNU_SOURCE is set in config.h for musl either.

(From OE-Core rev: 976c4bb2b1ab75e3fe600a81adc451b698ea4b65)

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-17 00:07:05 +01:00
Andreas Müller
432aab901a libx11: upgrade 1.7.1 -> 1.7.2
Version 1.1.2 - This is a bug fix release, correcting a regression [1] introduced by and
improving the checks from the fix for CVE-2021-31535.

[1] https://gitlab.freedesktop.org/xorg/lib/libx11/-/issues/133
Alan Coopersmith (1):
      libX11 1.7.2
Matthieu Herrb (2):
      include <limits.h> always, not if HAVE_CONFIG_H is set.
      Check for NULL strings before getting their lengths
Tobias Stoeckmann (1):
      Protect against overly long strings

(From OE-Core rev: 2d98f8d257d31b334e70357093b6d2a355362688)

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-17 00:07:05 +01:00
Andreas Müller
6b77976ede mpg123: 1.27.2 -> 1.28.0
Changes:
build:
  * Fix up the build to actually build all library objects with libtool
    consistently, also ensuring no pointless static archives for output modules.
  * Adapted things to autoconf 2.71, requiring 2.69 now (the latter tested on
    Debian, with their patches).
  * Improved configure to be more useful --with-default-audio to define the
    search order, fix static build for --with-audio being a list (just choosing
    the first one).
  * Ensure consistent use of LINK_MPG123_DLL in headers.
build (ports/cmake):
  * Thanks to Evgeni Poberezhnikov for working with us on that.
  * Fix up ports/cmake to really work in MSVC also for users of the lib (tested
    in vcpkg, bug 310).
  * Hardcode ports/cmake CPU detection for x64 and ARM as CMAKE_SYSTEM_PROCESSOR
    is useless crap (bug 298 for real).
  * Add missing io.h for _setmode() MSVC warned about (bug 311).
  * Added BUILD_NO_LARGENAME define to be used by MSVC builds. Note that an
    MSVC build of libmpg123 does not support 64 bit file offsets. That would
    need more morting to the explicit API. Thanks to MS for making off_t even
    more messy and less useful.
  * Added JACK output, fixed handling of compat_str there and in win32_wasapi.
libsyn123:
* Fix syn123_mix() to actually do intermediate conversion when input
  and output encoding are the same but non-float. This makes out123 --mix work
  with s16 input and output, which is not that special!
libmpg123:
* Fix misguided handling of part2_3_length checks in III_get_scale_factors_1()
  and III_get_scale_factors_2() which invalidated decoding of a mono source
  encoded as ms+i-stereo (bug 312). This was a regression introduced with
  version 1.25.7.
libout123:
  * Print basic module loading errors only for last one in list. This enables
    use of an output module search list that anticipates module files not
    installed with the main package.
  * Fixes for win32_wasapi build with MSVC.

(From OE-Core rev: a4308b8959041a63896a01a5d79847805be5808d)

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-17 00:07:05 +01:00
Andreas Müller
4c5b65b72f xorgproto: upgrade 2021.4.99.1 -> 2021.4.99.2
Changes:
* Bump inputproto to 2.3.99.2
* specs: Fix type of GESTURECLASS num_touches member
* specs: Fix type of TOUCHCLASS num_touches member
* Bump inputproto to 2.3.99.1
* specs: Specify XI 2.4 as unreleased

(From OE-Core rev: 1860cd0e36806d0a11dcbea52aafd017a68cf2f3)

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-17 00:07:05 +01:00
Khem Raj
e84de43c6a qemu: Provide float128 via hwcaps2 on ppc64le
Fixes runtime problems with qemu-user
Fatal glibc error: CPU lacks float128 support (POWER 9 or later required)

(From OE-Core rev: 2a2ba9ec4ca1aeb4a1d5336bb18ab76253c87bc0)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-17 00:07:05 +01:00
Khem Raj
39dbe03bd3 Revert "libgcc-initial: Do not build fp128 to decimal ppc functions"
This is now fixed in gcc properly, and the patches are backported into
gcc11 branch which OE updated to recently.

https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=645bfc161987a12395869728b63ed01084d23c00
https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=f1d012911bd103e9701ed378f32928a3cbcf028a

This reverts commit 7883b4c1384fe30066072f39e9a930be537bc3b4.

(From OE-Core rev: ab8b8153469a038b09b6ff24be41f5942dca60ab)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-17 00:07:05 +01:00
Sakib Sajal
a331cb3c5d oe-time-dd-test.sh: improve output formatting
(From OE-Core rev: 3ca3a64d6a2a7160b04a7b0876fe0f744250bdfa)

Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-17 00:07:05 +01:00
Ross Burton
d5782204c3 qemu: fix virtio vhost-user-gpu CVEs
Fix a slew of CVEs (CVE-2021-3544, CVE-2021-3545, CVE-2021-3546) by
backporting the relevant patches from qemu's git.

(From OE-Core rev: ce850a5ce84f949d3114024c89ae3dd98fcbef41)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-17 00:07:05 +01:00
Ross Burton
2dc2bb9191 avahi: apply fix for CVE-2021-3468
This patch isn't yet upstream but it has been submitted and other distros
are shipping it.

(From OE-Core rev: ea33a4a2df4600a55b268e9d57e7396c30f3d123)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-17 00:07:05 +01:00
Tim Orling
2097f35eba python3-hypothesis: upgrade 6.13.14 -> 6.14.0
Add runtime dependency on:
  - python3-compression
  - python3-json
  - python3-statistics

Upstream release notes:

6.14.0 - 2021-06-09
The explain phase now requires shrinking to be enabled, and will be
automatically skipped for deadline-exceeded errors.

https://hypothesis.readthedocs.io/en/latest/changes.html#v6-14-0

(From OE-Core rev: 5a99655d4045cec83169136ca977e81c9123575a)

Signed-off-by: Tim Orling <timothy.t.orling@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-17 00:07:05 +01:00
Tim Orling
f071b059a0 python3-manifest: add statistics subpackage
cpython/Lib/statistics.py contains common statistics functions

"""
Basic statistics module.
This module provides functions for calculating statistics of data, including
averages, variance, and standard deviation.
"""

(From OE-Core rev: cf1c49fea90e11bc037025e15e44f705a12385bf)

Signed-off-by: Tim Orling <timothy.t.orling@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-17 00:07:05 +01:00
Richard Purdie
0764538eb7 README: Move to using markdown as the format
(From meta-yocto rev: d397ed754c04b8ef02b01ae4b439610ede12d9d9)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-16 16:33:18 +01:00
Richard Purdie
ff6b8af378 README: Tweak as the website isn't really new now
(From yocto-docs rev: 78c50ffffb6f4dd38b5097a64c2e284a6177750a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-16 16:33:18 +01:00
Michael Opdenacker
682ddc5f2a releases: put release number after "Release Series"
This avoids a confusion because of the way other manuals
are numbered, and aligns with the way the migration guides
are listed.

(From yocto-docs rev: 92f17a0ac68a64c86fa46ffbcec7acb3de3b23bf)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Reported-by: Quentin Schulz <foss@0leil.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-14 22:45:33 +01:00
Michael Opdenacker
c62b924e29 releases: clarify supported and outdated releases
(From yocto-docs rev: c3d6c36497f7af1ca19357c5474ff1e5743f597b)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Reported-by: Quentin Schulz <foss@0leil.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-14 22:45:33 +01:00
Daniel Wagenknecht
54d16ea967 ref-manual: variables: fixup class reference in IMAGE_MANIFEST
The definition of IMAGE_MANIFEST was moved to a different class. Fixup
the documentation to reflect this change.

(From yocto-docs rev: 15c0a09154de2a1f6d36e1bb5bf283bd08c9ec3d)

Signed-off-by: Daniel Wagenknecht <dwagenknecht@emlix.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-14 22:45:33 +01:00
Daniel Wagenknecht
6bf4cd4e8d ref-manual: variables: fixup example in IMAGE_CMD
The example for IMAGE_CMD_jffs2 given in the glossary for IMAGE_CMD
didn't align with the implementation anymore. Update it to match the
implementation.

(From yocto-docs rev: 4db4efc42af89a109313c4cf33ae13e8236215e9)

Signed-off-by: Daniel Wagenknecht <dwagenknecht@emlix.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-14 22:45:33 +01:00
Richard Purdie
eab093768d test-manual: Add initial YP Compatible documentation
This starts documenting the Yocto Project Compatible badging programme. This
adds an initial piece of documentation about it from which we can improve
as needed.

(From yocto-docs rev: baa70e3d0d6100e091eb78cf465a9734068a44e7)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Reviewed-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-14 22:45:33 +01:00
Daniel Wagenknecht
bec73cd4e6 ref-manual: migration-2.2: add note about IMGDEPLOYDIR
(From yocto-docs rev: e9921b746a0b2a4a2192bab224d9afa9d9395e1e)

Signed-off-by: Daniel Wagenknecht <dwagenknecht@emlix.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Reviewed-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-14 22:45:33 +01:00
Daniel Wagenknecht
2618389ddc ref-manual: variables: document IMGDEPLOYDIR
DEPLOY_DIR_IMAGE has been replaced by IMGDEPLOYDIR for most use cases
since OE-Core rev 6d969bacc718e21a5246d4da9bf9639dcae29b02. Document
IMGDEPLOYDIR and add a note to DEPLOY_DIR_IMAGE about it.

(From yocto-docs rev: dad7046f9428bde476d2241209c118d52529bed5)

Signed-off-by: Daniel Wagenknecht <dwagenknecht@emlix.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Reviewed-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-14 22:45:33 +01:00
Daniel Wagenknecht
f5e157d229 ref-manual: variables: update examples refering to DEPLOY_DIR_IMAGE
DEPLOY_DIR_IMAGE has been replaced by IMGDEPLOYDIR for most use cases
since OE-Core rev 6d969bacc718e21a5246d4da9bf9639dcae29b02. Update
examples given in the documentation to use IMGDEPLOYDIR and match their
implementation.

(From yocto-docs rev: 6cad5984306ffbf748a888cedc1a5015105e89fa)

Signed-off-by: Daniel Wagenknecht <dwagenknecht@emlix.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Reviewed-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-14 22:45:33 +01:00
Michael Opdenacker
5f978a6cca ref-manual: move migration guides to separate document
This makes the reference manual much lighter by moving
the migration guides to a separate document.

The migration guides are also reordered from last to first,
and they appear directly in the left bar, making them easier
to find in the documentation.

(From yocto-docs rev: 5121b86ee97eb62a0c69c9ad1fc0e3fabbe3e934)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-14 22:45:33 +01:00
Michael Opdenacker
dae1e986a0 manuals: fix epub export warnings
Needed now that warnings are turned into errors

(From yocto-docs rev: 3f99cff8c6c672967eb09f6950d16ed30260ca68)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-14 22:45:33 +01:00
Quentin Schulz
c2a68819d0 documentation: Makefile: turn warnings into errors by default
-W is for turning warnings into errors, --keep-going to make sure the
whole documentation is built and all warnings will be printed before
failing.

Since there's currently no warning, it's time to introduce it!

(From yocto-docs rev: 5d7b8547549b2203a03df617cdba70ccf2194c62)

Signed-off-by: Quentin Schulz <foss@0leil.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-14 22:45:33 +01:00
Richard Purdie
1a1941cc48 test-manual: add initial reproducible builds documentation
(From yocto-docs rev: a4ec469042ccb2487c1d076a2c005f33f8021816)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Reviewed-by: Quentin Schulz <foss@0leil.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-14 22:45:33 +01:00
Andrea Adami
b32f1ad879 kernel.bbclass: fix do_sizecheck() comparison
The routine do_sizecheck() was historically needed by legacy
devices with limited flash memory.
The lowest extreme is probably with Zaurus collie having exactly
1024*1024 = 1048576 bytes for the kernel partition.

In the years the KERNEL_IMAGE_MAXSIZE has been converted to kilobytes
thus rounded so we have now KERNEL_IMAGE_MAXSIZE_collie = "1024".

The effect is that now the check fails because we hit curiously this
 | WARNING: This kernel zImage (size=1024(K) > 1024(K)) is too big for...
even though zImage is 1047288 bytes (kernel + kexecboot-klibc-initramfs).

Fix this case using test -gt (greater) instead of -ge (greater or equal).

(From OE-Core rev: 254ca956d63b4ce6aa294213b60bb943f9f3a9e6)

Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-14 15:05:11 +01:00
Khem Raj
5933da887a musl: Set UPSTREAM_CHECK_COMMITS
(From OE-Core rev: ee80b59fba4828b88ccf4b8797a4d7816d31a60b)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-14 15:05:11 +01:00
Khem Raj
3a55f9a33a musl: Do not package glibc loader
This was a ad-hoc solution which did not really work in all cases, now
gcompat is provided to deal with glibc based prebuilts, therefore there
is no need to provide this package

(From OE-Core rev: e2d54f02bcde7a95235a61b9622c584a77c4e9bc)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-14 15:05:11 +01:00
Khem Raj
c54865c125 gcompat: Add recipe
This is a compat library which helps running pre-compiled binaries which were
compiled for glibc but needs to run on musl systems, this is quite
common case where pre-existing binaries are supplied and can not be
recompiled immediately

(From OE-Core rev: 5efe7c06c8555672b535adae587596f65bff4fc5)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Andrea Adami <andrea.adami@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-14 15:05:11 +01:00
Alexey Brodkin
29c42cf24d gcc: Fixes for ARC
A couple of fixes to be a part of 11.2 whenever it happens

1. https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=0061fabeb9393c362601486105202cfe837a5a68
   Fixes "harfbuzz" build, see https://github.com/foss-for-synopsys-dwc-arc-processors/toolchain/issues/382
   for all the gory details.

2. https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=4186b7e93be73f8d68dc0fcc00a4cc8cc83e99a8
   Fixes ext4 run-time issue:
   ------------------------->8---------------------------
   Path: /bin/busybox
   CPU: 0 PID: 1 Comm: init Not tainted 5.13.0-rc2-dirty #23
   Invalid Read @ 0x41c9e600 by insn @ __bio_try_merge_page+0x4e/0xfc
   ECR: 0x00050100 EFA: 0x41c9e600 ERET: 0x80159656
   STAT: 0x80080202 [IE K     ]   BTA: 0x80159648
    SP: 0x80821b88  FP: 0x00000008 BLK: bio_add_page+0x22/0x5c
   LPS: 0x801a6a94 LPE: 0x801a6a98 LPC: 0x00000000
   r00: 0x80823300 r01: 0xbfb85e38 r02: 0x00002000
   r03: 0x00000000 r04: 0x80821b9b r05: 0x80821bfc
   r06: 0x00000000 r07: 0x00000700 r08: 0x00000000
   r09: 0xffffffff r10: 0x00000000 r11: 0x00000000
   r12: 0x8080b300
   Stack Trace:
     __bio_try_merge_page+0x4e/0xfc
     bio_add_page+0x22/0x5c
     do_mpage_readpage+0x534/0x65c
     mpage_readahead+0x30/0xdc
     read_pages+0x34/0x194
     page_cache_ra_unbounded+0x56/0x154
     filemap_fault+0x25a/0x5d8
     __do_fault+0x94/0xe8
     handle_mm_fault+0x4de/0xbd4
     do_page_fault+0x108/0x21c
     ret_from_exception+0x0/0x8
   ------------------------->8---------------------------

3. https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=5a9b6a004f89fdd95b0470e1324dc4dee8c41d24
   Precautious fix for rare corner cases which we don't wnat to really end-up in.

(From OE-Core rev: 75110a9cc5e6840c65ed24bcca7d4cf1748ab67d)

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-12 22:54:14 +01:00
Joe Slater
319da63fc9 tcf-agent: change license to EPL/EDL
cpudefs-mdep-mux.h contains a proprietary license notice.

(From OE-Core rev: 6105678a1255aa41ae9314f4d99c571d2b73186a)

Signed-off-by: Joe Slater <joe.slater@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-12 22:54:14 +01:00
zhengruoqin
2d4c9ee398 liburcu: upgrade 0.12.2 -> 0.13.0
(From OE-Core rev: d9b4f1aba8e47fc9a66497480f8aa4a89fc1d240)

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-12 22:54:14 +01:00
zhengruoqin
0f2ee5f16e libogg: upgrade 1.3.4 -> 1.3.5
(From OE-Core rev: 2c8b569df071116f647a4283b1e026d4272e205b)

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-12 22:54:14 +01:00
wangmy
7e1c41a3e6 ethtool: upgrade 5.10 -> 5.12
refresh avoid_parallel_tests.patch

(From OE-Core rev: e1d6e71a54b79b76eb62a6c8da3018b0642967db)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-12 22:54:14 +01:00
wangmy
e7d8ee28a4 less: upgrade 589 -> 590
(From OE-Core rev: 798f7c3cf5dcd531d16c426819147656c661dd2e)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-12 22:54:14 +01:00
wangmy
0e33c2f8fc go: upgrade 1.16.4 -> 1.16.5
(From OE-Core rev: c0c567ed2fb092cde97d03cb658d8bae93d9b28c)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-12 22:54:14 +01:00
wangmy
61f9f10dc5 gnutls: upgrade 3.7.1 -> 3.7.2
(From OE-Core rev: 3593a4c47d5e8faccb27c7cd975f18f90b9cd86f)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-12 22:54:14 +01:00
wangmy
dc7c123df5 git: upgrade 2.31.1 -> 2.32.0
(From OE-Core rev: 2ed33305c4d3b160a996c4284b881f227111585d)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-12 22:54:14 +01:00
wangmy
9673e6542c dtc: upgrade 1.6.0 -> 1.6.1
0001-fdtdump-Fix-gcc11-warning.patch
removed since it is included in 1.6.1

(From OE-Core rev: 23ef5cad6274604113d651da8156c96ad647dceb)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-12 22:54:14 +01:00
Changqing Li
2e36644856 libjpeg-turbo: fix do_compile error on arm
fix below error:
/include/arm_neon.h:31:2: error: #error "NEON intrinsics not available with the soft-float ABI. Please use -mfloat-abi=softfp or -mfloat-abi=hard"
31 | #error "NEON intrinsics not available with the soft-float ABI. Please use -mfloat-abi=softfp or -mfloat-abi=hard"

(From OE-Core rev: f6dd68994bfd602d60aea10df42176a5d71712d7)

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-12 22:54:14 +01:00
Khem Raj
47b15ea9db qemuriscv: Enable 4 core emulation
Helps in running tests a bit faster

(From OE-Core rev: 735799a66e52ced9de9431ad3062b13583e3754f)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-12 22:54:14 +01:00
Khem Raj
957bab13ef libssp-nonshared: Use a different implementation for __stack_chk_fail
(From OE-Core rev: 8c4958cd53ce9265c2639dd3a90d38848edc3895)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-12 22:54:13 +01:00
Richard Purdie
59d93693bf build-appliance-image: Update to master head revision
(From OE-Core rev: 3b2903ccc791d5dedd84c75227f38ae4c8d29251)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-12 08:40:44 +01:00
Sakib Sajal
b44849c32c oeqa/core/target/qemu.py: display contents of dumped files
During do_testimage, if the target is not started within a certain
timeout, TEST_QEMUBOOT_TIMEOUT, host data is dumped to files for
each command in
${TMPDIR}/log/runtime-hostdump/<datetime>_qemu/host_<seq>_<command>.

Display the first 20 lines of top output and the last 20 lines of
bootlog to standard output for more context for the target not being
started up.

(From OE-Core rev: 441390b707bf681bc308c9ebd45ea2ae20c37d7c)

Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-12 08:38:29 +01:00
Tony Tascioglu
a71c3b390d valgrind: remove buggy ptest from arm64
This commit removes the stack_changes ptest from aarch64 devices.
This test is buggy and fails almost 100% of the time in qemuarm64.
In general, many of the valgrind tests are more likely to fail on
qemuarm64 vs native x86_64.

This test previously worked on gatesgarth and dunfell, but has
been failing since hardknott. It might be due to a recent change
in the cross-compiler or glibc.
The test runs fine when running natively on arm on a Raspberry Pi.

Until we can find the root cause for the failures, this shorter
term solution should clear up some of the noise from the autobuilder
from a known failure.

(From OE-Core rev: 82d6411b80a46d8ec0258ca75c3c80dc6128d44e)

Signed-off-by: Tony Tascioglu <tony.tascioglu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-12 08:38:29 +01:00
Richard Purdie
d9e5152bd6 qemurunner: Increase startup timeout 120 -> 300
We now spend time copying the VM image into a tmpfs and with IO load on the
system, the time + the boot time of the VM can take longer than 120s. Increase
the timeout to match the added overhead of copying the image file.

(From OE-Core rev: a40087c966af5ffb9309e1ddfdb3d06973e0bddd)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-11 23:50:59 +01:00
Richard Purdie
37be8268f9 qemurunner: Try to ensure mmap'd libs are paged in
We've seeing issues where IO load appears to cause strange failures due to timeouts
within qemu. One theory for these is that it is is hitting hard page faults
at in-opportune moments which cause timing problems within the VM.

This patch is a bit of a hack which tries to ensure the data is paged in
at a point when we know we can take the time delays (waiting for the QMP
start signal). Whilst this isn't ideal, it does seem to improve things on
the autobuilder and shouldn't harm anything.

The code figures out which files to read my looking at the mmap'd files
the process has open from /proc. On Centos7 systems these files are not
user readable, if that is the case we just skip them.

(From OE-Core rev: e77844314d09ceff9c22338d366519928f4f7284)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-11 23:50:59 +01:00
Khem Raj
576ddf658d ffmpeg: Link in libatomic on riscv32
It needs some functions from libatomic e.g.
libavformat/libavformat.so: undefined reference to `__atomic_fetch_sub_8'

(From OE-Core rev: d5e4a55f3d8ed79afca11cbeac6f9f478537a83b)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-11 23:50:59 +01:00
Andreas Müller
6e02a83ac7 p11-kit: upgrade 0.23.22 -> 0.23.24
* Use inclusive language on certificate distrust. Note: This changes the directory and attribute names to distrust certain CAs to
  "blocklist" [#324]
* Fix issues spotted by coverity and ASan [#349, #351]
* Integrate gettext with tools more tightly [#358]
* rpc: Forbid use of array of attributes [#365, #367]
* Build fixes [#342, #344, #345, #353, #362, #364]

(From OE-Core rev: 8bf6e76256e14f11a8ea4a240810280a479a1f57)

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-11 23:50:59 +01:00
Andreas Müller
729f07fa6e vala: upgrade 0.52.3 -> 0.52.4
Vala 0.52.4
===========
 * Various improvements and bug fixes:
  - codegen:
    + GArray, GByteArray and GPtrArray are reference counted
    + Replace wrongly hard coded usage of G_OBJECT_GET_CLASS
    + Don't add errornous cast for unknown type_symbol
    + Mark entry point method implementation "_vala_main" as static
    + Improve check for GLib.Source derived classes
  - vala: Parameter following params-array parameter is not allowed
  - doc: Update man page to include more information on profiles

 * Bindings:
  - glib-2.0: Add missing has_typedef attributes on SourceFuncs delegates
  - gstreamer: Update from 1.19.0+ git master
  - gtk+-3.0: Update to 3.24.29+f9fe28ce
  - gtk4: Update to 4.3.0+24f0ae1d
  - pango: Mark language parameter of AttrIterator.get_font() as out
  - vapi: Update GIR-based bindings

(From OE-Core rev: 9f0f6ef0daf913057af69a834f3607e567d2e54d)

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-11 23:50:59 +01:00
Andreas Müller
0f332fbcc2 epiphany: upgrade 40.1 -> 40.2
40.2 - June 4, 2021
===================

 * Fix some memory leaks (from !958)
 * Fix memory corruption in history dialog (!960)
 * Fix crash when checking for modified forms (!962)

(From OE-Core rev: 0620fe059767f4b914df0be7b4f1b28aee3081a2)

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-11 23:50:59 +01:00
Ross Burton
5e6218929d image_types: add zsync conversions
Add image conversion types to create zsync[1] metadata.  Use .zsync if
the image is already compressed and .gzsync if zsync should compress the
image itself.

The required tool, zsync-curl, has been submitted to meta-oe.

[1] http://zsync.moria.org.uk

(From OE-Core rev: e04113f8b139754c512278555558a1b88b35bc9e)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-11 23:50:58 +01:00
wangmy
e8e5b166e9 diffoscope: upgrade 175 -> 177
(From OE-Core rev: 80ab050b1d0aa1bc26321979c69117245e7755fd)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-11 23:50:58 +01:00
Khem Raj
6b47aefa31 arch-armv4: Allow -march=armv4
Even though it is deprecated in GCC 6 [1] it has not yet been
removed from gcc upstream. We do have active machines in OE
ecosystem which use armv4 ( SA11xx ) e.g. collie in meta-handheld
so until upstream gcc takes next step to remove them
lets support armv4 again, we are still carrying the relevant gcc patch
to support v4 BX fix.

[1] https://gcc.gnu.org/gcc-6/changes.html#arm

(From OE-Core rev: dea9b6c3fd62ec5ea8f12fcb9bf44870379c6f4b)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Andrea Adami <andrea.adami@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-11 23:50:58 +01:00
Alex Stewart
4c68b71628 opkg: add QA check for openssl feed verification
Feed signature checking with OpenSSL will be deprecated in the next
release of opkg.

Upstream ML Announcement:
https://groups.google.com/g/opkg-devel/c/drqw5_HuXuU

The opkg-0.4.5 configure.ac already throws a warning when
`--enable-openssl` is requested.

Add a temporary QA check to the opkg recipe, which will throw a warning
to the builder when they have `openssl` enabled in their opkg
PACKAGECONFIG. This will give builders some time to either change their
feed verification mechanism, or raise their use-case with upstream.

(From OE-Core rev: 0ccd4149881113f5c8344ab0cefcf984ade50b1c)

Signed-off-by: Alex Stewart <alex.stewart@ni.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-11 23:50:58 +01:00
Alex Stewart
e0b9f2c906 opkg: upgrade to version 0.4.5
Drop patches which have been accepted upstream.

(From OE-Core rev: 9fed64cca20e98ab8df874a172cfe17fb3f77142)

Signed-off-by: Alex Stewart <alex.stewart@ni.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-11 23:50:58 +01:00
Alex Stewart
2104ab479b opkg-utils: upgrade to version 0.4.5
(From OE-Core rev: c1ac3d1a8af6d5752c8c1aa9d133ee35c18c743b)

Signed-off-by: Alex Stewart <alex.stewart@ni.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-11 23:50:58 +01:00
Marcus Comstedt
39a6abee37 conf/machine-sdk: Add ppc64 SDK machine
(From OE-Core rev: 1b96a6e7d3a8128892a966afaedfb79f9196b949)

Signed-off-by: Marcus Comstedt <marcus@mc.pp.se>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-11 23:50:58 +01:00
Luca Boccassi
3798d34dc9 systemd: install new sysext tool via systemd-extra-utils
New standalone (no new dependency) utility added in v248

(From OE-Core rev: 1fb6a0d0a46028107190d133f42b21e048a5db50)

Signed-off-by: Luca Boccassi <luca.boccassi@microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-11 23:50:58 +01:00
Bruce Ashfield
176e62be47 linux-yocto/5.10: temporarily revert aufs
Integrating the following commit(s) to linux-yocto/5.10:

    a673c127156c Revert "aufs5: core"
    cf62bfcde384 Revert "aufs5: aufs5-base"
    a644419ec785 Revert "aufs5: aufs5-mmap"
    b893f9a999bb Revert "aufs5: aufs5-standalone"
    c60db0819480 Revert "aufs: initial port to v5.10"
    c66a5900f139 Revert "Revert "aufs: initial port to v5.10""
    1320cf58f5dd Revert "aufs: linux-v5.10-rc1, no more set_fs()"
    02349d7738ff Revert "for aufs: linux-v5.10-rc1, no more vfs_(read|write)f_t"
    f01dab74750c Revert "aufs: linux-v5.10-rc1, no more f_op->read() and ->write()"
    3d5de709b676 Revert "aufs5: aufs5-kbuild"

If this doesn't fix instability, we'll restore the functionality.
Work to isolate issues with aufs5 will continue at the same time.

(From OE-Core rev: dcbe9e133f74ca804f877f90e9c8e3fa7b73b88e)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-11 23:50:58 +01:00
Bruce Ashfield
7ccf66174f linux-yocto/5.10: update to v5.10.42
Updating linux-yocto/5.10 to the latest korg -stable release that comprises
the following commits:

    65859eca4dff Linux 5.10.42
    972b4c19f55d usb: core: reduce power-on-good delay time of root hub
    5c7b23b79628 neighbour: Prevent Race condition in neighbour subsytem
    942790699977 scripts/clang-tools: switch explicitly to Python 3
    c1febac44856 net: hso: bail out on interrupt URB allocation failure
    0e3045c15ff9 Revert "Revert "ALSA: usx2y: Fix potential NULL pointer dereference""
    899b5131e74c SUNRPC: More fixes for backlog congestion
    c2779f8ddc9a bpftool: Add sock_release help info for cgroup attach/prog load command
    534b6229196e net: hns3: check the return of skb_checksum_help()
    bc924bbccc50 samples/bpf: Consider frame size in tx_only of xdpsock sample
    02ce4c943e2e i915: fix build warning in intel_dp_get_link_status()
    8d2ab018a07a net: mvpp2: add buffer header handling in RX
    ac493452e937 net: zero-initialize tc skb extension on allocation
    8cad65950b18 MIPS: ralink: export rt_sysc_membase for rt2880_wdt.c
    70a922f59068 MIPS: alchemy: xxs1500: add gpio-au1000.h header file
    f6442ee08fe6 net: hsr: fix mac_len checks
    a6a0af3c902c sch_dsmark: fix a NULL deref in qdisc_reset()
    cd751bde9e0d net: ethernet: mtk_eth_soc: Fix packet statistics support for MT7628/88
    f103ae7c9c8b ALSA: usb-audio: scarlett2: snd_scarlett_gen2_controls_create() can be static
    5a2e1ce7abc2 ipv6: record frag_max_size in atomic fragments in input path
    5ac72351655f net: lantiq: fix memory corruption in RX ring
    988439906f6f scsi: libsas: Use _safe() loop in sas_resume_port()
    3a17d8adfa02 ASoC: qcom: lpass-cpu: Use optional clk APIs
    3cfd11506ed0 ixgbe: fix large MTU request from VF
    9948170c8eb4 bpf: Set mac_len in bpf_skb_change_head
    24cb8bb7f623 bpf, offload: Reorder offload callback 'prepare' in verifier
    78d5f411615a ASoC: cs35l33: fix an error code in probe()
    d29df5fc69ee staging: emxx_udc: fix loop in _nbu2ss_nuke()
    02f03883fdb1 cxgb4: avoid accessing registers when clearing filters
    a5212518b78c iommu/vt-d: Use user privilege for RID2PASID translation
    a663c1e418a3 net: hns3: put off calling register_netdev() until client initialize complete
    09867c500ec4 net: hns3: fix incorrect resp_msg issue
    815eb57e048b iommu/virtio: Add missing MODULE_DEVICE_TABLE
    8e534c981d7c gve: Correct SKB queue index validation.
    48f4ddec0ab9 gve: Upgrade memory barrier in poll routine
    da21a35c00ff gve: Add NULL pointer checks when freeing irqs.
    7114438671d6 gve: Update mgmt_msix_idx if num_ntfy changes
    b6ef5bfcd9d7 gve: Check TX QPL was actually assigned
    8b2cdc004d21 net/smc: remove device from smcd_dev_list after failed device_add()
    beb39adb150f mld: fix panic in mld_newpack()
    7e31bcbb335e bnxt_en: Fix context memory setup for 64K page size.
    4ebb03c9ffbe bnxt_en: Include new P5 HV definition in VF check.
    8f793568b02e net: bnx2: Fix error return code in bnx2_init_board()
    8eaca8d1caac net: hso: check for allocation failure in hso_create_bulk_serial_device()
    f9fc21e2b11e net: sched: fix tx action reschedule issue with stopped queue
    2f23d5bcd9f8 net: sched: fix tx action rescheduling issue during deactivation
    21c715109253 net: sched: fix packet stuck problem for lockless qdisc
    60e2193a600a tls splice: check SPLICE_F_NONBLOCK instead of MSG_DONTWAIT
    886dd7f3e9d3 openvswitch: meter: fix race when getting now_ms.
    b96adbf6601d cxgb4/ch_ktls: Clear resources when pf4 device is removed
    ada298f861a3 net: mdio: octeon: Fix some double free issues
    4bd833bb5e85 net: mdio: thunder: Fix a double free issue in the .remove function
    4246f7dc354f chelsio/chtls: unlock on error in chtls_pt_recvmsg()
    8ee7ef4a57a9 net: fec: fix the potential memory leak in fec_enet_init()
    9c386011fa61 net: packetmmap: fix only tx timestamp on request
    1f1b431a4fcd net: really orphan skbs tied to closing sk
    f5da0820c59d spi: Assume GPIO CS active high in ACPI case
    cd37040ba931 vfio-ccw: Check initialized flag in cp_init()
    ee67cbc13fc5 net: ipa: memory region array is variable size
    bf5c8f984f7f net: stmmac: Fix MAC WoL not working if PHY does not support WoL
    95cfa6c03047 ASoC: cs42l42: Regmap must use_single_read/write
    211c5d16e357 interconnect: qcom: Add missing MODULE_DEVICE_TABLE
    4e3cea8035b6 interconnect: qcom: bcm-voter: add a missing of_node_put()
    d7932e68520e net: dsa: fix error code getting shifted with 4 in dsa_slave_get_sset_count
    d5b0a1513b6c net: netcp: Fix an error message
    1354ec840899 linux/bits.h: fix compilation error with GENMASK
    b0f5d4891ea3 block: fix a race between del_gendisk and BLKRRPART
    ff945d033a04 platform/x86: touchscreen_dmi: Add info for the Chuwi Hi10 Pro (CWI529) tablet
    5fbc70eef88a drm/amdgpu: stop touching sched.ready in the backend
    4951dd498d48 drm/amd/amdgpu: fix a potential deadlock in gpu reset
    f98cdf084405 drm/amdgpu: Fix a use-after-free
    9fdb8ed37a3a drm/amd/amdgpu: fix refcount leak
    07ab4dfe0323 drm/amd/display: Disconnect non-DP with no EDID
    530baa6f3c06 SMB3: incorrect file id in requests compounded with open
    518457d0270c platform/x86: touchscreen_dmi: Add info for the Mediacom Winpad 7.0 W700 tablet
    c5bda3a559df platform/x86: intel_punit_ipc: Append MODULE_DEVICE_TABLE for ACPI
    fe156a601cac platform/x86: hp-wireless: add AMD's hardware id to the supported list
    7e13db503918 btrfs: do not BUG_ON in link_to_fixup_dir
    88f566beb1cf btrfs: release path before starting transaction when cloning inline extent
    8eaa762e1d18 scsi: pm80xx: Fix drives missing during rmmod/insmod loop
    71084e2a4d2f openrisc: Define memory barrier mb
    6384103641e3 scsi: BusLogic: Fix 64-bit system enumeration error for Buslogic
    d64464279404 scsi: ufs: ufs-mediatek: Fix power down spec violation
    c7e0c6047c4f btrfs: return whole extents in fiemap
    df451eab6e00 brcmfmac: properly check for bus register errors
    f0044d135d15 Revert "brcmfmac: add a check for the status of usb_register"
    43e6b2ed46ac net: liquidio: Add missing null pointer checks
    e6fbd9faca9f Revert "net: liquidio: fix a NULL pointer dereference"
    32aba7137879 media: gspca: properly check for errors in po1030_probe()
    3d8ac40a7f22 Revert "media: gspca: Check the return value of write_bridge for timeout"
    9ffea48d9da2 media: gspca: mt9m111: Check write_bridge for timeout
    e4bb3dba9e24 Revert "media: gspca: mt9m111: Check write_bridge for timeout"
    9fd73df80fa4 media: dvb: Add check on sp8870_readreg return
    7dae0ca98ae4 Revert "media: dvb: Add check on sp8870_readreg"
    3bf09ab413c7 ASoC: cs43130: handle errors in cs43130_probe() properly
    ce333cc94e2a Revert "ASoC: cs43130: fix a NULL pointer dereference"
    7fe86d957a45 libertas: register sysfs groups properly
    bf2b6ffa9689 Revert "libertas: add checks for the return value of sysfs_create_group"
    e04f1a7e31a3 dmaengine: qcom_hidma: comment platform_driver_register call
    611640b63ae8 Revert "dmaengine: qcom_hidma: Check for driver register failure"
    d9029b19abe5 isdn: mISDN: correctly handle ph_info allocation failure in hfcsusb_ph_info
    fb278d346835 Revert "isdn: mISDN: Fix potential NULL pointer dereference of kzalloc"
    34f4c208a8ce ath6kl: return error code in ath6kl_wmi_set_roam_lrssi_cmd()
    7e0dc2e96870 Revert "ath6kl: return error code in ath6kl_wmi_set_roam_lrssi_cmd()"
    576675c286a0 isdn: mISDNinfineon: check/cleanup ioremap failure correctly in setup_io
    941062256773 Revert "isdn: mISDNinfineon: fix potential NULL pointer dereference"
    1f886612686c Revert "ALSA: usx2y: Fix potential NULL pointer dereference"
    95886dbe3e1c Revert "ALSA: gus: add a check of the status of snd_ctl_add"
    c8972b14044a char: hpet: add checks after calling ioremap
    0f4e71f3d339 Revert "char: hpet: fix a missing check of ioremap"
    4d2b8fcc3fc8 net: caif: remove BUG_ON(dev == NULL) in caif_xmit
    8b5bd5b7424a Revert "net: caif: replace BUG_ON with recovery code"
    62c2472aeee4 net/smc: properly handle workqueue allocation failure
    83d4efe6bf03 Revert "net/smc: fix a NULL pointer dereference"
    71723a796ab7 net: fujitsu: fix potential null-ptr-deref
    b67c3d74adc3 Revert "net: fujitsu: fix a potential NULL pointer dereference"
    52610c1d2577 serial: max310x: unregister uart driver in case of failure and abort
    f7d0b8542fbc Revert "serial: max310x: pass return value of spi_register_driver"
    6bbcc1206c40 Revert "ALSA: sb: fix a missing check of snd_ctl_add"
    870a11325e69 Revert "media: usb: gspca: add a missed check for goto_low_power"
    dac2dde8ee54 Revert "crypto: cavium/nitrox - add an error message to explain the failure of pci_request_mem_regions"
    2bfa3ab89cec gpio: cadence: Add missing MODULE_DEVICE_TABLE
    515181e38e97 platform/x86: hp_accel: Avoid invoking _INI to speed up resume
    3267a061096e mptcp: fix data stream corruption
    deeb7d84f20a mptcp: drop unconditional pr_warn on bad opt
    71227b62143d mptcp: avoid error message on infinite mapping
    cb554bbf364b nvmet-tcp: fix inline data size comparison in nvmet_tcp_queue_response
    e31975c346bf perf jevents: Fix getting maximum number of fds
    ee8a8dd10e1e afs: Fix the nlink handling of dir-over-dir rename
    ce23a0ad4955 i2c: sh_mobile: Use new clock calculation formulas for RZ/G2E
    b523feb7e8e4 i2c: i801: Don't generate an interrupt on bus reset
    87f18aa51e3e i2c: mediatek: Disable i2c start_en and clear intr_stat brfore reset
    eff3c5b67fbb i2c: s3c2410: fix possible NULL pointer deref on read message after write
    935c9443f81c net: dsa: sja1105: fix VL lookup command packing for P/Q/R/S
    83999bf40c78 net: dsa: sja1105: call dsa_unregister_switch when allocating memory fails
    dd8609f20344 net: dsa: sja1105: add error handling in sja1105_setup()
    4a368bc25ab6 net: dsa: sja1105: error out on unsupported PHY mode
    4ef506c0718b net: dsa: sja1105: use 4095 as the private VLAN for untagged traffic
    6f4b79217f6b net: dsa: sja1105: update existing VLANs from the bridge VLAN list
    caff86f85512 net: dsa: fix a crash if ->get_sset_count() fails
    b91117b66fe8 net: dsa: mt7530: fix VLAN traffic leaks
    6d6bc8c75290 netfilter: flowtable: Remove redundant hw refresh bit
    fe6921e3b845 spi: spi-fsl-dspi: Fix a resource leak in an error handling path
    6da24cfc83ba tipc: skb_linearize the head skb when reassembling msgs
    5195ec5e365a tipc: wait and exit until all work queues are done
    0aa2212940b8 Revert "net:tipc: Fix a double free in tipc_sk_mcast_rcv"
    5343fcfc6cc8 SUNRPC in case of backlog, hand free slots directly to waiting task
    5dc905501f71 net/mlx5: Set term table as an unmanaged flow table
    143154a151c9 net/mlx4: Fix EEPROM dump support
    2e4b0b95a489 net/mlx5e: Fix null deref accessing lag dev
    cb6cc62d9e0f net/mlx5: Set reformat action when needed for termination rules
    2dde54e76b68 net/mlx5e: Fix nullptr in add_vlan_push_action()
    89a0e388c6f2 {net,vdpa}/mlx5: Configure interface MAC into mpfs L2 table
    bbd00c4d50db net/mlx5e: Fix error path of updating netdev queues
    02a8da446b49 net/mlx5e: Fix multipath lag activation
    fc41e45aa7e6 net/mlx5e: reset XPS on error flow if netdev isn't registered yet
    d66083c0d6f5 drm/meson: fix shutdown crash when component not probed
    92db1265f6cb NFSv4: Fix v4.0/v4.1 SEEK_DATA return -ENOTSUPP when set NFS_V4_2 config
    7087db95c0a0 NFS: Don't corrupt the value of pg_bytes_written in nfs_do_recoalesce()
    ee21cd3aa854 NFS: Fix an Oopsable condition in __nfs_pageio_add_request()
    9b367fe770b1 NFS: fix an incorrect limit in filelayout_decode_layout()
    1fbbcd1752ff fs/nfs: Use fatal_signal_pending instead of signal_pending
    1b364f8ede20 Bluetooth: cmtp: fix file refcount when cmtp_attach_device fails
    635ac38b3625 net: usb: fix memory leak in smsc75xx_bind
    77c6f2b36de1 usb: typec: mux: Fix matching with typec_altmode_desc
    bd4caf585b80 usb: gadget: udc: renesas_usb3: Fix a race in usb3_start_pipen()
    adccf1798262 usb: dwc3: gadget: Properly track pending and queued SG
    a40b07afcb86 thermal/drivers/intel: Initialize RW trip to THERMAL_TEMP_INVALID
    bfd46c08d609 USB: serial: pl2303: add device id for ADLINK ND-6530 GC
    794794459c52 USB: serial: ftdi_sio: add IDs for IDS GmbH Products
    f9a5cbdf86ef USB: serial: option: add Telit LE910-S1 compositions 0x7010, 0x7011
    682437d58e8b USB: serial: ti_usb_3410_5052: add startech.com device id
    6a931ceb0b94 serial: rp2: use 'request_firmware' instead of 'request_firmware_nowait'
    e95571170159 serial: sh-sci: Fix off-by-one error in FIFO threshold register setting
    604c654323fa serial: tegra: Fix a mask operation that is always true
    d007150b4e15 drivers: base: Fix device link removal
    8d83f109e920 USB: usbfs: Don't WARN about excessively large memory allocations
    bc439b4b6a6b Revert "irqbypass: do not start cons/prod when failed connect"
    b98a0380bc81 USB: trancevibrator: fix control-request direction
    ae46660bf29f serial: 8250_pci: handle FL_NOIRQ board flag
    60f9e33bb716 serial: 8250_pci: Add support for new HPE serial device
    a4a261328ce1 serial: 8250_dw: Add device HID for new AMD UART controller
    595505fc6f8b serial: 8250: Add UART_BUG_TXRACE workaround for Aspeed VUART
    023cd911d4c2 iio: adc: ad7192: handle regulator voltage error first
    885fbd6d360c iio: adc: ad7192: Avoid disabling a clock that was never enabled.
    e07d42897009 iio: adc: ad7793: Add missing error code in ad7793_setup()
    bd298334bffe iio: adc: ad7923: Fix undersized rx buffer.
    f70122825076 iio: adc: ad7124: Fix potential overflow due to non sequential channel numbers
    fbb02b5e7a34 iio: adc: ad7124: Fix missbalanced regulator enable / disable on error.
    dceb4ec04222 iio: adc: ad7768-1: Fix too small buffer passed to iio_push_to_buffers_with_timestamp()
    a78238fa3bee iio: dac: ad5770r: Put fwnode in error case during ->probe()
    619289733df0 iio: gyro: fxas21002c: balance runtime power in error path
    0239a3746332 staging: iio: cdc: ad7746: avoid overwrite of num_channels
    ead51afc7f0d mei: request autosuspend after sending rx flow control
    31283877e3cd KVM: arm64: Prevent mixed-width VM creation
    bb2e3adf237c KVM: X86: Fix vCPU preempted state from guest's point of view
    439a0b07fdef thunderbolt: dma_port: Fix NVM read buffer bounds and offset issue
    1b4a65408ec5 thunderbolt: usb4: Fix NVM read buffer bounds and offset issue
    5394ae9d8c79 misc/uss720: fix memory leak in uss720_probe
    1a2494c9eb02 serial: core: fix suspicious security_locked_down() call
    b71781c58982 seccomp: Refactor notification handler to prepare for new semantics
    a160cabf86a7 Documentation: seccomp: Fix user notification documentation
    adfe1d01e6f0 kgdb: fix gcc-11 warnings harder
    eeb3f0b0c351 selftests/gpio: Fix build when source tree is read only
    008f98f1dbac selftests/gpio: Move include of lib.mk up
    beac83e8bd09 selftests/gpio: Use TEST_GEN_PROGS_EXTENDED
    1cdabf921bfa drm/amdgpu/jpeg2.0: add cancel_delayed_work_sync before power gate
    bed5cc65ff3d drm/amdgpu/vcn2.5: add cancel_delayed_work_sync before power gate
    efd47c9d586d drm/amdgpu/vcn2.0: add cancel_delayed_work_sync before power gate
    01abf69154d0 drm/amdkfd: correct sienna_cichlid SDMA RLC register offset error
    2e4f262ef51d drm/amdgpu/vcn1: add cancel_delayed_work_sync before power gate
    e3a662e5e882 drm/amd/pm: correct MGpuFanBoost setting
    1a8ecc3cd1a1 dm snapshot: properly fix a crash when an origin has no snapshots
    cc5d84b1b07d ath11k: Clear the fragment cache during key install
    8135f46f5a48 ath10k: Validate first subframe of A-MSDU before processing the list
    6643b21aee1c ath10k: Fix TKIP Michael MIC verification for PCIe
    c4d5271830c6 ath10k: drop MPDU which has discard flag set by firmware for SDIO
    425cee636091 ath10k: drop fragments with multicast DA for SDIO
    b1b3dcd65377 ath10k: drop fragments with multicast DA for PCIe
    c17b3e1ffc14 ath10k: add CCMP PN replay protection for fragmented frames for PCIe
    6abcc01e8b3b mac80211: extend protection against mixed key and fragment cache attacks
    2b9b07b9a06f mac80211: do not accept/forward invalid EAPOL frames
    bf710b60bc7b mac80211: prevent attacks on TKIP/WEP as well
    e64ea0597050 mac80211: check defrag PN against current frame
    f51fe83ead3a mac80211: add fragment cache to sta_info
    9b21fcae6f68 mac80211: drop A-MSDUs on old ciphers
    c730d72aa6e8 cfg80211: mitigate A-MSDU aggregation attacks
    e3561d5af01c mac80211: properly handle A-MSDUs that start with an RFC 1042 header
    42d98e02193d mac80211: prevent mixed key and fragment cache attacks
    f7829b014bb6 mac80211: assure all fragments are encrypted
    b1f45a26bd32 netfilter: nft_set_pipapo_avx2: Add irq_fpu_usable() check, fallback to non-AVX2 version
    e6294c06e7c6 net/sched: fq_pie: fix OOB access in the traffic path
    e583eb5e7282 net/sched: fq_pie: re-factor fix for fq_pie endless loop
    47da4f614229 net: hso: fix control-request directions
    fb003a1bd603 proc: Check /proc/$pid/attr/ writes against file opener
    03b777ce8d70 perf scripts python: exported-sql-viewer.py: Fix warning display
    76b6c5a98f1a perf scripts python: exported-sql-viewer.py: Fix Array TypeError
    07f769416993 perf scripts python: exported-sql-viewer.py: Fix copy to clipboard from Top Calls by elapsed Time report
    7285b92dc55f perf intel-pt: Fix transaction abort handling
    ce3ea6b66ded perf intel-pt: Fix sample instruction bytes
    f01134321d04 iommu/vt-d: Fix sysfs leak in alloc_iommu()
    f9890652185b NFSv4: Fix a NULL pointer dereference in pnfs_mark_matching_lsegs_return()
    3e5b48d9e713 cifs: set server->cipher_type to AES-128-CCM for SMB3.0
    020b6b0dc7b6 ALSA: usb-audio: scarlett2: Improve driver startup messages
    9a75ed510385 ALSA: usb-audio: scarlett2: Fix device hang with ehci-pci
    7b42f41dab4c ALSA: hda/realtek: fix mute/micmute LEDs and speaker for HP Zbook Fury 17 G8
    7573b58a2d8f ALSA: hda/realtek: fix mute/micmute LEDs and speaker for HP Zbook Fury 15 G8
    b8cd7164b345 ALSA: hda/realtek: fix mute/micmute LEDs and speaker for HP Zbook G8
    8ffce2b02b45 ALSA: hda/realtek: fix mute/micmute LEDs for HP 855 G8
    7906018de736 ALSA: hda/realtek: Chain in pop reduction fixup for ThinkStation P340
    2f0f8e06e7ea ALSA: hda/realtek: Headphone volume is controlled by Front mixer
    8ca63ce02782 ALSA: hda/realtek: the bass speaker can't output sound on Yoga 9i

(From OE-Core rev: a765ba646b0ab1ab1da5d0a7fcde2e7a1109d7dc)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-11 23:50:58 +01:00
Richard Purdie
7f3c996d30 lttng-tools: upgrade 2.12.3 -> 2.12.4
Add a new lttng file to one of the tests to avoid test failures.

Also add a dependency on grep since standalone testing revealed test
failures without this. Normally this was added by other dependencies
in the ptest images so we didn't see this.

(From OE-Core rev: 5799a807eed44d380e142913e50308589b9412ed)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-08 12:25:20 +01:00
Ross Burton
5d8d24d5b7 gcc: enable branch protection by standard
Pass --enable-standard-branch-protection.  This is an aarch64-specific
option (currently) which does nothing on other targets.  On aarch64 this
generates code uses BTI/PAC instructions to mitigate Return Orientated
Programming attacks.  This approach is backwards compatible and the code
size/performance impact is typically negliable.

More details can be found at
https://events.static.linuxfound.org/sites/events/files/slides/slides_23.pdf

(From OE-Core rev: 84e6064cde02b463066d7b63fcf8baf392491327)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-08 12:25:20 +01:00
Kai Kang
b6ae985da0 valgrind: fix a typo
(From OE-Core rev: 0478d9b04d6a6d10e439116b23b641a1e2553e26)

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-08 12:12:40 +01:00
Mingli Yu
52b9c12508 boost: fix wrong type for mutex in regex v5
Fixes:
 | ./boost/regex/v5/mem_block_cache.hpp:91:11: error: 'static_mutex' in namespace 'boost' does not name a type
 |    91 |    boost::static_mutex mut;

(From OE-Core rev: 707d3d6219ea10342e2a1a86df6335bcbae9182e)

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-07 23:00:23 +01:00
zangrc
88318c6847 python3-pycairo: upgrade 1.20.0 -> 1.20.1
(From OE-Core rev: 8f9584905f05337fab660a777152cace5180c2c9)

Signed-off-by: Zang Ruochen <zangrc.fnst@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-07 23:00:23 +01:00
Tim Orling
477300ed95 python3-importlib-metadata: upgrade 4.4.0 -> 4.5.0
Upstream release notes:

v4.5.0
Issue 319: Remove SelectableGroups deprecation exception for flake8.

Previous upgrade release notes:

v4.4.0
Issue 300: Restore compatibility in the result from Distribution.entry_points
(EntryPoints) to honor expectations in older implementations and issuing
deprecation warnings for these cases: EntryPoints objects are once again
mutable, allowing for sort() and other list-based mutation operations. Avoid
deprecation warnings by casting to a mutable sequence (e.g.
list(dist.entry_points).sort()). EntryPoints results once again allow for
access by index. To avoid deprecation warnings, cast the result to a Sequence
first (e.g. tuple(dist.entry_points)[0]).

v4.3.1
Issue 320: Fix issue where normalized name for eggs was incorrectly solicited,
leading to metadata being unavailable for eggs.

(From OE-Core rev: 1d60ba1bc4eafc9cc232d61d2746f272fc966442)

Signed-off-by: Tim Orling <timothy.t.orling@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-07 23:00:23 +01:00
Tim Orling
dfcc7541c6 at-spi2-core: upgrade 2.40.1 -> 2.40.2
Upstream release notes:

What's new in at-spi2-core 2.40.2:

* README: Remove outdated links.
* Key grab fixes for the new API.
* registryd: Add a missing call to va_end.

(From OE-Core rev: 887f1e60d9c9dc0cfcefe44480a30cb15bb0dc13)

Signed-off-by: Tim Orling <timothy.t.orling@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-07 23:00:23 +01:00
Tim Orling
f56f963a02 python3-hypothesis: upgrade 6.13.7 -> 6.13.14
Add RDEPENDS on python3-unittest

Upstream release notes:

6.13.14
  This patch improves the :func:`~hypothesis.strategies.tuples` strategy
  type annotations, to preserve the element types for up to length-five
  tuples (:issue:`3005`).

  As for :func:`~hypothesis.strategies.one_of`, this is the best we can do
  before a `planned extension <https://mail.python.org/archives/list/typing-sigpython.org/thread/LOQFV3IIWGFDB7F5BDX746EZJG4VVBI3/>`__
  to :pep:`646` is released, hopefully in Python 3.11.

6.13.13
  This patch teaches :doc:`the Ghostwriter <ghostwriter>` how to find
  :np-ref:`custom ufuncs <ufuncs.html>` from *any* module that defines them,
  and that ``yaml.unsafe_load()`` does not undo ``yaml.safe_load()``.

6.13.12
  This patch reduces the amount of internal code excluded from our test suite's
  code coverage checks.

  There is no user-visible change.

6.13.11
  This patch removes some old internal helper code that previously existed
  to make Python 2 compatibility easier.

  There is no user-visible change.

6.13.10
  This release adjusts some internal code to help make our test suite more
  reliable.

  There is no user-visible change.

6.13.9
  This patch cleans up some internal code related to filtering strategies.

  There is no user-visible change.

6.13.8
  This patch slightly improves the performance of some internal code for
  generating integers.

(From OE-Core rev: 545b062e6816ad0c97a91e3cdbc486fc381f6263)

Signed-off-by: Tim Orling <timothy.t.orling@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-07 23:00:23 +01:00
Tim Orling
73f05a2c83 python3-scons: upgrade 3.1.2 -> 4.1.0; simplify
* Drop UPSTREAM_CHECK_URI and UPSTREAM_CHECK_REGEX, the
  default pypi.bbclass values work now.
* Drop scipts/ patch, no longer applies.
* Add patch to fix man page installation.

License-Update: Update compyright years

Changelog for 4.1.0:
https://pyup.io/changelogs/scons/#4.1.0

Changelog for 4.0.1:
https://pyup.io/changelogs/scons/#4.0.1

Changelog for 4.0.0:
https://pyup.io/changelogs/scons/#4.0.0

(From OE-Core rev: 6fd0e96fca004ea7ec3441326ef0a601f36703c6)

Signed-off-by: Tim Orling <timothy.t.orling@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-07 23:00:22 +01:00
Tim Orling
4882e7b989 maintainers.inc: update email address
(From OE-Core rev: 8d687d50c283fb8383cc63efb26cfc812b6fafe7)

Signed-off-by: Tim Orling <timothy.t.orling@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-07 23:00:22 +01:00
Alistair Francis
139fb42023 recipes-bsp/opensbi: Add support for specifying a device tree
(From OE-Core rev: 48bc2f24796705dd7ab7fe4c74690e7e1715ddaf)

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-07 23:00:22 +01:00
Alistair Francis
984066eb13 recipes-bsp/u-boot: Allow deploying the u-boot DTB
Use ??= assignment for UBOOT_DTB_BINARY because it is set using ?= in
fitImage bbclass as well, using ?= will preempt that

(From OE-Core rev: efe9f33beb053c8d645bfa5791846ffaa3cbceb4)

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-07 23:00:22 +01:00
Michael Opdenacker
6387c76f01 bitbake: doc: bitbake-user-manual: fix erroneous statement in glossary intro
This is the BitBake glossary.
Remove an erroneous statement probably coming from the introduction
to the YP/OE glossary.

(Bitbake rev: 398a1686176c695d103591089a36e25173f9fd6e)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-06 23:18:26 +01:00
Michael Opdenacker
3a740684a3 bitbake: docs: Add BB_HASHSERVE definition to glossary
(Bitbake rev: 0ab3255f8e9d9c8c8aa4788504ab06a50d1bb1f2)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-06 23:18:26 +01:00
Chris Laplante
66f22c0bd1 bitbake: build: warn on setting noexec/nostamp/fakeroot flag to any value besides '1'
Currently setting those flags to even the empty string "" causes it to be set,
which is contrary to the documentation. In a future version of BitBake, we'd
like to change the behavior so that setting the flag to "" does not set it.
This will allow conditionally setting noexec, using variable expansion or
inline Python.

I found no places in poky or meta-openembedded where this warning would trigger.

[YOCTO #13808]

(Bitbake rev: 1e7655c4f765ba7b4791c4cca048a69bf8d9c93d)

Signed-off-by: Chris Laplante <chris.laplante@agilent.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-06 23:18:26 +01:00
Quentin Schulz
c9ef89b3b9 bitbake: doc: user-manual: ref-manual: remove mentions to BB_SETSCENE_VERIFY_FUNCTION2
This variable was removed in July 2019 with commit
5deaa5df730a "runqueue: Drop unused BB_SETSCENE_VERIFY_FUNCTION2".

There's no replacement, so let's update the documentation to not mention
this variable anymore.

This was found by running:
git grep -hoP '^   :term:`\K\w+(?=`)' doc/bitbake-user-manual/bitbake-user-manual-ref-variables.rst | \
  xargs -I{} sh -c \
    "grep -Rq --include='*.py' --include='*.conf' --include='*.bbclass' --include='*.bb' --include='*.bbappend' --include='*.inc' \
      -w -E {}'_*(_[a-z]+[0-9a-z]*[a-z]+)*' || \
    echo {}"

(Bitbake rev: c2c0f5126c7c784bfd7a08f127e161a58c6b5d12)

Signed-off-by: Quentin Schulz <foss@0leil.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-06 23:18:26 +01:00
Quentin Schulz
2c37ab65e5 bitbake: doc: user-manual: remove mentions to BBVERSIONS
BBVERSIONS support was dropped in November 2016 in commit
0bb188f01e39 "ast: remove BBVERSIONS support".

Let's update the documentation to reflect this.

This was found by running:

git grep -hoP '^   :term:`\K\w+(?=`)' doc/bitbake-user-manual/bitbake-user-manual-ref-variables.rst | \
  xargs -I{} sh -c \
    "grep -Rq --include='*.py' --include='*.conf' --include='*.bbclass' --include='*.bb' --include='*.bbappend' --include='*.inc' \
      -w -E {}'_*(_[a-z]+[0-9a-z]*[a-z]+)*' || \
     echo {}"

(Bitbake rev: 376e20c1aaff197020cdb68d309b3b22f19dafe8)

Signed-off-by: Quentin Schulz <foss@0leil.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-06 23:18:26 +01:00
Paul Barker
287ee25145 bitbake: asyncrpc: Reduce verbosity
(Bitbake rev: cc803609167b4c399ab768d9e131d618c086a4f2)

Signed-off-by: Paul Barker <pbarker@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-06 23:18:26 +01:00
Paul Barker
cba7d8f361 bitbake: asyncrpc: Add ping method
This method is needed to support startup of the prservice. As it is so
generic we can add it to the common asyncrpc module.

(Bitbake rev: 25ccd697ea76f66b813be2296866b2d3405b079c)

Signed-off-by: Paul Barker <pbarker@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-06 23:18:26 +01:00
Scott Weaver
cbb8744735 bitbake: fetch2: add check for empty SRC_URI hash string
No error was being reported when the hash string was set to empty.
For example: SRC_URI[md5sum] = ""

On a related note (not a bug):
Because whitespace in the string will result in a checksum mismatch, the error
message was updated to make it a little clearer why the error was thrown.
For example: SRC_URI[md5sum] = " " or
SRC_URI[md5sum] = " 209f8326f5137d8817a6276d9577a2f1"

Now creates a message like this:
File: '/home/scott/yocto-cache/downloads/rsync-3.2.3.tar.gz' has md5
checksum '209f8326f5137d8817a6276d9577a2f1' when ' 209f8326f5137d8817a6276d9577a2f1' was expected

[YOCTO #14232]

(Bitbake rev: a13510d0028e234ea2f4744b0d0c38558395c70f)

Signed-off-by: Scott Weaver <weaverjs@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-06 23:18:26 +01:00
Tony Tascioglu
be491f7343 valgrind: Improve non-deterministic ptest reliability
Several of the valgrind tests (particulaly helgrind) are unreliable and
can fail with a different output.

Particularly, there is a higher chance of failure on QEMU instances with
SMP enabled and on systems with more interrupts such as laptops on powersave.

The tests have been reported upstream as being unreliable dating back
over 5 years, due in part to the ordering of threads during
an "unwinding" process in helgrind.
https://bugs.kde.org/show_bug.cgi?id=345121
https://bugs.kde.org/show_bug.cgi?id=430321

A workaround to improve the reliability of such tests is to force them
to run on a single CPU core using taskset. This greatly reduces the
chance of a failure.

>From my testing, I have found it can help reduce the rate of failures
on both a laptop and QEMU by over 5x. Stress-testing in QEMU for several
hours did not result in a failure while running the test normally did.

The flaky or undeterministic thread-based tests are defined in the
taskset_nondeterministic_tests file. These test cases will be run with
taskset 0x00000001 to run on a single CPU core rather then the regular
test.

The edited run-ptest executes the flaky tests first, then ignores them
to not duplicate the results from the main tests. Everything modified is
restored when testing is complete.

The drawback is that this isn't a foolproof solution. It helps the tests
fail much less frequently, and considering how this issue has been documented
for a long time, a workaround such as this is needed.

(From OE-Core rev: b318944dd72ca7b0408e955f3599381ab3ac3ba8)

Signed-off-by: Tony Tascioglu <tony.tascioglu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-06 23:16:51 +01:00
wangmy
48ecf617b5 python3-libarchive-c: upgrade 3.0 -> 3.1
Add runtime dependency to resolve errors that occurred when import libarchive.

(From OE-Core rev: 5d29a4f036a81076b9ddd98dd93d885f8d2b9f74)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-06 23:16:51 +01:00
Khem Raj
c602b72c2c harfbuzz: Fix unused-variable warning
Backport a patch to fix the issue

(From OE-Core rev: aa67d21a2a3b18180475c7fc9e8e17f3c80831f5)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-06 23:16:51 +01:00
Mingli Yu
3d493f846b sysstat: make the service start automatically
Make sysstat start automatically during bootup.

(From OE-Core rev: e9401f17fe63bef2c3c79e63a9a549d4f450d6a0)

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-06 23:16:51 +01:00
Alexander Kanavin
365bbbab06 erofs-utils: correct upstream version check
(From OE-Core rev: fe5053cf2531527642cf46263793485cc43d524c)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-06 23:16:51 +01:00
Alexander Kanavin
ecad002f35 libgcrypt: upgrade 1.9.2 -> 1.9.3
License-Update: added terms for cipher/cipher-gcm-ppc.c, still under GPL

(From OE-Core rev: d28c1f67c447f99313890e68083da61adcc66f74)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-06 23:16:51 +01:00
Alexander Kanavin
85d71e2621 perl: update 5.32.1 -> 5.34.0
(From OE-Core rev: 5787ca070e591bbee02f28a55a1118791aa34833)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-06 23:16:51 +01:00
Alexander Kanavin
48e2dde053 perl-cross: 1.3.5 -> 1.3.6
(From OE-Core rev: 1443553478e28de03dd6f86834095ca8d13fd5f5)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-06 23:16:51 +01:00
Alexander Kanavin
53cf53147f perl: split perl-cross into its own recipe
As perl and perl-cross need to be updated (and patches rebased)
in lockstep, devtool upgrade (and therefore AUH) can't cope with it.
Manually updating is still possible, but painful.

Split determinism.patch into perl and perl-cross parts, move the
rest of the perl-cross patches.

(From OE-Core rev: 60dcb230f65fb1a0f23341c379676f82213d6240)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-06 23:16:51 +01:00
Alexander Kanavin
d39cef3f82 libcap: update 2.49 -> 2.50
(From OE-Core rev: 791d1a215400db08ef98193b2621ec02f108a302)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-06 23:16:51 +01:00
Alexander Kanavin
c7b15f642b elfutils: update 0.183 -> 0.185
0001-add-support-for-ipkg-to-debuginfod.cxx.patch merged upstream.

0001-debuginfod-debuginfod-client.c-correct-string-format.patch rebased.

(From OE-Core rev: 466ba2d5c81f817334b2f9242daa8ffca271e224)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-06 23:16:51 +01:00
Alexander Kanavin
b76b3e3743 virglrenderer: explicitly depend on libgbm
virtual/gl may not necessarily be mesa, and virgl needs
specifically the gbm part of mesa.

There's also hope nvidia will support gbm somehow, someday.

(From OE-Core rev: fd807dfa2ec25111dd359ec87d197020e747cf0d)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-06 23:16:51 +01:00
Alistair Francis
029af5bf7c recipes-bsp/opensbi: Disable FW_PIC
Disable FW_PIC to fix the error message:

opensbi-0.9-r0 do_package_qa: QA Issue: File /share/opensbi/lp64/generic/firmware/fw_jump.elf in package opensbi doesn't have GNU_HASH (didn't pass LDFLAGS?)

This is seen in newer versions of OpenSBI that enable FW_PIC by default.

(From OE-Core rev: 81015a75c378b0f90e802493150a9a525dbf59bd)

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-06 23:16:51 +01:00
wangmy
ade102f807 less: upgrade 586 -> 589
(From OE-Core rev: f209fceeeb4eabe7a0b4b016b538f911a51dd913)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-06 23:16:51 +01:00
wangmy
83794c3d44 python3-magic: upgrade 0.4.22 -> 0.4.23
(From OE-Core rev: b8f80cd1e2a845905fec296cd8d7ee91728492d2)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-06 23:16:51 +01:00
wangmy
15bf840487 mtools: upgrade 4.0.27 -> 4.0.29
(From OE-Core rev: 4d117a12bf0d25848c18ccda17e047b60af8bb67)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-06 23:16:51 +01:00
wangmy
d43182f59b cmake: upgrade 3.20.2 -> 3.20.3
(From OE-Core rev: edfbd6f9e597387119d145db0742ba3290cccc2d)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-06 23:16:51 +01:00
zhengruoqin
c0a17721aa python3-importlib-metadata: upgrade 4.3.0 -> 4.4.0
(From OE-Core rev: 676b32cd5f44420a70d48a6bc4028ae7c6aed99a)

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-06 23:16:50 +01:00
Andreas Müller
d2b05c92b4 xf86-input-libinput: upgrade 0.30.0 -> 1.0.1
License was changed to real MIT [1]

[1] 2bbc4727a1

(From OE-Core rev: bd4d34ab9bcb1b0125d6bbcf3be58bc363d5d13c)

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-06 23:16:50 +01:00
Andreas Müller
452f493ca5 libinput: upgrade 1.17.3 -> 1.18.0
* COPYING changed by link (master->main) [1]

[1] 354df8bce9

(From OE-Core rev: e26d68d1333f920998fa5fd1ee0570f5a8deb9c7)

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-06 23:16:50 +01:00
Andreas Müller
590de505df alsa-utils(-scripts): upgrade 1.2.4 -> 1.2.5
See changelog at [1]

[1] https://github.com/alsa-project/alsa-utils/releases/tag/v1.2.5

(From OE-Core rev: 1caf952dc651ab39258fbad98ced5bfa7a7841bf)

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-06 23:16:50 +01:00
Andreas Müller
3c0dd6b220 alsa-ucm-conf: upgrade 1.2.4 -> 1.2.5
See changelog at [1]

[1] https://github.com/alsa-project/alsa-ucm-conf/releases/tag/v1.2.5

(From OE-Core rev: 3b69f6c45082b28aea2cbf4ed3580fb01e56654c)

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-06 23:16:50 +01:00
Andreas Müller
3c4fdb0790 alsa-topology-conf: upgrade 1.2.4 -> 1.2.5
Changes:
/Makefile
 - Makefile: add SRCPATH to override the source .conf tree
 - Introduce Makefile to simplify the binary files availability
Description
 - Introduce Makefile to simplify the binary files availability

(From OE-Core rev: d60012e8086d09c6e3153ce9afda58fa3cb87bfc)

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-06 23:16:50 +01:00
Andreas Müller
2b0b7985ef alsa-tools: upgrade 1.2.2 -> 1.2.5
Changelog:
Core
 - Release v1.2.5
hdspmixer
 - hdspmixer: add output loopback buttons
 - hdspmixer: enhance saving of presets

(From OE-Core rev: 3988250b577cd6a011a2ee49020b2302173c166f)

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-06 23:16:50 +01:00
Andreas Müller
6790b8ad76 alsa-plugins: upgrade 1.2.2 -> 1.2.5
Changelog is found at [1]

[1] https://github.com/alsa-project/alsa-utils/releases/tag/v1.2.5

(From OE-Core rev: ddb85c0a171ef792117dfe6e2c6d1f5a0b27dfef)

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-06 23:16:50 +01:00
Andreas Müller
8217f02048 alsa-lib: upgrade 1.2.4 -> 1.2.5
* Backported patch can go
* See full changelog at [1]

[1] https://github.com/alsa-project/alsa-lib/releases/tag/v1.2.5

(From OE-Core rev: 2aa6eee190e123e224b34ed4521b095e2dbb780c)

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-06 23:16:50 +01:00
Andreas Müller
97a8f1c4b5 systemd: Add more ugly casts to fix build with musl
(From OE-Core rev: 47df56f374921647eb99572a425f51eeade81bea)

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-06 23:16:50 +01:00
Andreas Müller
551ce77b43 mesa: upgrade 21.1.1 -> 21.1.2
Changes:
Adam Jackson (1):
      zink/ntv: Don't call free() on ralloc'd memory

Alyssa Rosenzweig (3):
      panfrost: Fix the reads_dest prototype
      panfrost: Fix is_opaque prototype
      panfrost: Increase tiler_heap max allocation to 64MB

Anuj Phogat (1):
      intel/gfx12+: Add Wa_14013840143

Charmaine Lee (1):
      svga: fix texture rectangle sampling when no sampler view declaration is defined

Emma Anholt (2):
      i915g: Disable 3D-pipeline clears.
      i915g: Add support for the .Absolute flag on TGSI srcs.

Eric Anholt (1):
      i915g: Stop advertising support for indirect addressing in the FS.

Eric Engestrom (9):
      .pick_status.json: Update to 17861aff9614abfea3b8a8f111a114b26b351915
      pick-ui & .pick_status.json: rename `master_sha` to `main_sha`
      .pick_status.json: Update to b663c544177e9547793ee405887f0d41c50e6d1d
      .pick_status.json: Update to 507e8907af913ab7b89211240568b8002b3475f1
      .pick_status.json: Update to 3179daf61393ee8a0fac943b94335b114e34873b
      .pick_status.json: Update to 761383720617b46617bd278ec6015c9520f43f5c
      .pick_status.json: Update to 1199d86b2cccc38a101e63bdf9b60a7391f96092
      docs: add release notes for 21.1.2
      VERSION: bump for 21.1.2

Erik Faye-Lund (2):
      zink: use actual const for const offset
      util/prim_restart: revert part of bad fix

Erik Kurzinger (1):
      vulkan/device_select: avoid segfault on Wayland if wl_drm is unavailable

Georg Lehmann (1):
      radv: Fix compatible image handle type for dmabufs.

Ian Romanick (2):
      nir/algebraic: Remove some optimizations of comparisons with fsat
      nir/algebraic: Invert comparisons less often

Icecream95 (1):
      panfrost: Fix polygon list size computations

Italo Nicola (1):
      panfrost: fix GL_EXT_multisampled_render_to_texture regression

Jason Ekstrand (3):
      anv: Plumb the shader into push constant helpers
      anv: Support pushing shader constants
      intel/vec4: Don't spill fp64 registers more than once

José Fonseca (1):
      draw: Allocate extra padding for extra shader outputs.

Juan A. Suarez Romero (1):
      vc4: initialize array

Kenneth Graunke (2):
      i965: Don't advertise Y-tiled modifiers for scanout buffers on Gfx8-
      iris: Don't advertise Y-tiled modifiers for scanout buffers on Gfx8

Marek Olšák (3):
      ac/gpu_info: set has_zero_index_buffer_bug for Navi12 too
      radeonsi: add a gfx10 hw bug workaround with the barrier before gs_alloc_req
      radeonsi: disable DFSM on gfx9 by default because it decreases performance a lot

Mike Blumenkrantz (4):
      util/prim_restart: fix util_translate_prim_restart_ib
      aux/vbuf: prevent uint underflow and assert if no vbs are dirty
      aux/trace: fix set_inlinable_constants hook
      zink: remove weird lod hack for texturing

Nanley Chery (2):
      anv,iris: Port the D16 workaround stalls to BLORP
      intel/isl: Fix HiZ+CCS comment about ambiguates

Neha Bhende (2):
      svga: Add target and sampler_return_type info into shader key
      svga: Use shader_key info to declare resources if TGSI shader is missing it

Rhys Perry (3):
      aco: disallow SGPRs on DPP instructions
      radv: add radv_absolute_depth_bias
      radv: workaround incorrect depthBiasConstantFactor by Path of Exile

Robert Tarasov (1):
      iris: Check data alignment for copy_mem_mem

Samuel Pitoiset (4):
      aco: fix derivatives/intrinsics with SGPR sources
      radv: fix fast clearing DCC if one level can't be compressed on GFX10+
      aco: fix emitting discard when the program just ends
      radv: enable RADV_DEBUG=invariantgeom for Monster Hunter World

SureshGuttula (1):
      frontends/va/picture:Fix wrong reallocation even surface is protected

cheyang (1):
      virgl:Fix the leak of hw_res used as fence

(From OE-Core rev: 6d7cde03cc26adb5e1642ddc90f58aae60de1cbc)

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-06 23:16:50 +01:00
Alexandre Belloni
998d23a2c6 runqemu: time the copy to tmpfs
Measure and display the time it takes to copy the rootfs to its new
location (usually in tmpfs) to try to understand whether it sometimes takes
a lot of time on the autobuilders.

(From OE-Core rev: be213114c1349e02ca48fd617a6c3badae8aa101)

Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-06 23:16:50 +01:00
Ross Burton
ae7595a603 Remove Clutter references
The clutter class and image have been moved to meta-gnome before it
is finally obsoleted for good, so remove mentions from the documentation.

(From yocto-docs rev: adab5d0047354b5a1b11c2ece48abd8f295f69b0)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-05 09:38:27 +01:00
Quentin Schulz
ef13ab1c22 docs: ref-manual: variables: add missing links to terms glossary
The automated script used back then didn't take into account that
terms could be lowercase which is the case for module_autoload and
module_conf, so let's add a link to those too.

Fixes: 9e468274eaad "docs: ref-manual: ref-variables: add links to terms in glossary"

(From yocto-docs rev: beeaf0c48dcd79626c1591a68da4b13387aa0c3f)

Signed-off-by: Quentin Schulz <foss@0leil.net>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-05 09:38:27 +01:00
Quentin Schulz
67d8de7df4 docs: ref-manual: migration-3.0: remove reference to non-existing BB_SETSCENE_VERIFY_FUNCTION2
This variable has been removed in July 2019 with commit
5deaa5df730a "runqueue: Drop unused BB_SETSCENE_VERIFY_FUNCTION2" in
bitbake git repo.

The glossary entry for the variable has been recently removed from bitbake
documentation, therefore the ref breaks the build.

Let's remove the reference so that the build still passes.

(From yocto-docs rev: 4db673a559d290547d4d6006ea692becb574deb7)

Signed-off-by: Quentin Schulz <foss@0leil.net>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-05 09:38:27 +01:00
Ross Burton
8bcbec073f meta-poky: remove clutter references
(From meta-yocto rev: 4c507b7bd9453abce9faf9e764756c01f303d01d)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-03 23:09:42 +01:00
hongxu
7b0c669bf7 nativesdk-libdnf: fix installed and not shipped files
Since commit [1] applied, PYTHON_INSTALL_DIR is not right
on nativesdk build which caused [installed-vs-shipped] QA issue
...
|Building for python3
|-- Python install dir is
|tmp-glibc/work/x86_64-nativesdk-wrlinuxsdk-linux/nativesdk-libdnf/0.63.0-r0/
recipe-sysroot-native/usr/lib/python3.9/site-packages
...

Yocto manually set PYTHON_INSTALL_DIR from recipe, it is not
necessary to call FindPythonInstDir.cmake which will override
Yocto setting

[1] f1cffbfb9f

(From OE-Core rev: d6b62b5a9d6c64971b9f981a4732791658150e43)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-03 23:09:42 +01:00
Joshua Watt
c78b8a87db classes/reproducible_build: Use atomic rename for SDE file
If an existing source date epoch file was found during do_unpack, it was
deleted and a new one would be written in its place. This causes a race
with check-before-use code in get_source_date_epoch_value. Resolve the
problem by making do_unpack write the new source date epoch to a
temporary file, then do an atomic rename to ensure it's always present,
and change the check-before-use code to use a EAFP exception instead of
checking for file existence.

[YOCTO #14384]

(From OE-Core rev: 0b5e3b33187bf78a2d62cc886463e4b27d6bd228)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-03 23:09:42 +01:00
Ross Burton
775b07b573 oeqa: remove Clutter usage
Remove the use of core-image-clutter in selftest and manual Toaster QA.

(From OE-Core rev: a634a0555d000d93a23890b68e54f06370f0a97e)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-03 23:09:42 +01:00
Ross Burton
8431708201 Remove Clutter and Cogl
Clutter and Cogl are not used by anything in oe-core, and in Gnome are
legacy components so are only used by a few applications.  The recipes
have already been moved to meta-gnome so they can now be removed from
oe-core.

(From OE-Core rev: c4f167d05f58f35a6b94e8dbc4721ab67e7e71eb)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-03 23:09:42 +01:00
Ross Burton
0eb836a58f core-image-weston: remove Clutter examples
The Clutter examples are pretty, but Clutter is dead so we should stop
using it.

(From OE-Core rev: f4cf7ae2e8ddcf6789c1604ac2b5ab010912f6c1)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-03 23:09:42 +01:00
Ross Burton
d31ff93415 mx: remove from Openembedded Core
MX is obsolete (last release 2012) and isn't used by anything in any
known layer.

(From OE-Core rev: ecc5d74854c9152d21140f2a44927b98ae10c0cd)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-03 23:09:42 +01:00
Joshua Watt
ba491952ee classes/buildhistory: Add option to strip path prefix
Adds an option to strip a prefix from the paths reported in
buildhistory. This makes it easier to compare task signatures in the
build history when the builds were done from different directories.

(From OE-Core rev: 194e7a29212c4a29222730f47d3133dfe92447c1)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-03 23:09:41 +01:00
Robert P. J. Day
c26ea554a7 ref-manual: add glossary entry for NON_MULTILIB_RECIPES
(From yocto-docs rev: 6ed8e747265df899d8ce464d83281b0e0f04f9b2)

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Reviewed-by: Quentin Schulz <foss@0leil.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-02 23:32:34 +01:00
Nicolas Dechesne
e736434156 index: split releases manuals and indexes into two sections in the tree
(From yocto-docs rev: f245b7b096f699cdc4426022d61d963d7deb9a92)

Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Reviewed-by: Quentin Schulz <foss@0leil.net>
Tested-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-02 23:32:34 +01:00
Nicolas Dechesne
7c99358a1a index: remove links to releases manual and index
Keep the links in the left side navigation bar, but remove them from
the main page.

(From yocto-docs rev: d01324cfb6ecada22005ca05db99b0c1f75eb22e)

Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Reviewed-by: Quentin Schulz <foss@0leil.net>
Tested-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-02 23:32:34 +01:00
Nicolas Dechesne
4f13203488 index: remove the link/section to 'mega manual' from main page
The 'megamanuel' can be selected using the drop down menu on the
documentation website. It was reported it is confusing to have it on
the main page (and in the left side bar) as well. Let's remove it.

(From yocto-docs rev: 593898dc4a4695395856ea481b58cc5092ed3263)

Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Reviewed-by: Quentin Schulz <foss@0leil.net>
Tested-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-02 23:32:34 +01:00
Richard Weinberger
b755468a74 Document erofs filesystem targets
(From yocto-docs rev: 94cbbec788660cc3b18232e2343ce6723942426c)

Signed-off-by: Richard Weinberger <richard@nod.at>
Reviewed-by: Quentin Schulz <foss@0leil.net>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-02 23:32:34 +01:00
Robert P. J. Day
23ff556abe ref-manual: add SRCTREECOVEREDTASKS to variable glossary
(From yocto-docs rev: c3e8eb234c9d1cf67dc46666ea26c1e4eb945c2c)

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Reviewed-by: Quentin Schulz <foss@0leil.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-02 23:32:34 +01:00
Michael Halstead
b5d761583e releases: update to include 3.1.8
Adding 3.1.8 to documentation switcher and release list.

(From yocto-docs rev: 657408bf30279b44f1e1255787a2c56b739df142)

Signed-off-by: Michael Halstead <mhalstead@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-02 23:32:34 +01:00
Peter Kjellerstedt
9d1b332292 native.bbclass: Do not remove "-native" in the middle of recipe names
For dependencies such as "${PN}-foo", when modifying them for native
recipes, it is expected that they become "${BPN}-foo-native" rather
than "${BPN}-native-foo-native". This was previously done by removing
all occurences of "-native" from the dependency before adding
"-native" at the end. However, this fails for a recipe such as
"crate-native-tls" that happens to contain the string "-native" in the
middle of the name. Solve this by simply replacing ${PN} with ${BPN}
in the name instead before adding "-native" at the end

Also simplify adding "-native" to the end of names the recipe provides.
In this case it is not necessary to replace ${PN} with ${BPN} as the
recipes are expected to use ${BPN}-foo in the first place.

(From OE-Core rev: edaf8ff278fc96b122c4fc3266b63856e3350f4c)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-01 14:03:49 +01:00
Peter Kjellerstedt
0b94e36b5f util-linux.inc: Do not modify BPN
Changing BPN to be "util-linux" regardless if it is the util-linux
recipe or the util-linux-libuuid recipe that is being built was an
easy way to allow ${BPN} and ${BP} to be used in the SRC_URI for both
recipes. However, it causes problems for native.bbclass where there
are expectations that ${BPN} and ${PN} match each other.

Use "util-linux" directly in the SRC_URI instead to avoid the problem.

(From OE-Core rev: 701ef7ff0e1b17150424a64acfafbb83f518f9c9)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-01 14:03:49 +01:00
Armin Kuster
75f691d728 package_manager/rpm: decode systemctl failures
Parse systemctl error to provide more info

[Yocto #14395]

(From OE-Core rev: 9d33a3ad68aeadd359e978b35097ece507a92b14)

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-01 14:03:49 +01:00
Armin Kuster
20026c7246 systemctl: Stop tracebacks use formated error messages
When systemctl fail it would throw an exception and
dump a traceback. Lets use a more controlled workflow.

[Yocto #14395]

(From OE-Core rev: df510ae9a1494bc1be8d6673fbaa43d3f7cc8f40)

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-01 14:03:49 +01:00
Richard Purdie
13ed11d909 oeqa/qemurunner: Improve timeout handling
We had debugging for qemu faiing to start which was no longer reachable
after the QMP changes. Reorder the code to enable this debugging to work
again which may allow insight into autobuilder failures in this area.

(From OE-Core rev: 8fac8c61565977c775d8ede5bddc856b7767a3e4)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-01 14:03:49 +01:00
Bruce Ashfield
3914105a25 linux-yocto/5.4: update to v5.4.123
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:

    103f1dbea1ae Linux 5.4.123
    af2a4426baf7 NFC: nci: fix memory leak in nci_allocate_device
    45aef101ca44 perf unwind: Set userdata for all __report_module() paths
    2960df32bb72 perf unwind: Fix separate debug info files when using elfutils' libdw's unwinder
    f3d9f09b10e3 usb: dwc3: gadget: Enable suspend events
    3173c7c80785 bpf: No need to simulate speculative domain for immediates
    2b3cc41d500a bpf: Fix mask direction swap upon off reg sign change
    2768f9962231 bpf: Wrap aux data inside bpf_sanitize_info container
    67154cff6258 Linux 5.4.122
    f97257cde764 Bluetooth: SMP: Fail if remote and local public keys are identical
    46b4a9c68572 video: hgafb: correctly handle card detect failure during probe
    3c18dc7de2bc nvmet: use new ana_log_size instead the old one
    a6f5ef8c1717 Bluetooth: L2CAP: Fix handling LE modes by L2CAP_OPTIONS
    d3d648163a03 ext4: fix error handling in ext4_end_enable_verity()
    829203752441 nvme-multipath: fix double initialization of ANA state
    2dea1e9ae5cf tty: vt: always invoke vc->vc_sw->con_resize callback
    cf52b24b172e vt: Fix character height handling with VT_RESIZEX
    971b3fb5b9a6 vgacon: Record video mode changes with VT_RESIZEX
    f0c9d29f232a video: hgafb: fix potential NULL pointer dereference
    44fe392e1adc qlcnic: Add null check after calling netdev_alloc_skb
    4914c67f1a62 leds: lp5523: check return value of lp5xx_read and jump to cleanup code
    171b3c1afaeb ics932s401: fix broken handling of errors when word reading fails
    d14cd329d83b net: rtlwifi: properly check for alloc_workqueue() failure
    533ac32a80c0 scsi: ufs: handle cleanup correctly on devm_reset_control_get error
    9e38cf9c3070 net: stmicro: handle clk_prepare() failure during init
    9d59d4364dfb ethernet: sun: niu: fix missing checks of niu_pci_eeprom_read()
    8f2efd687d19 Revert "niu: fix missing checks of niu_pci_eeprom_read"
    04a064b36576 Revert "qlcnic: Avoid potential NULL pointer dereference"
    6d53d54ff5be Revert "rtlwifi: fix a potential NULL pointer dereference"
    7fb963895513 Revert "media: rcar_drif: fix a memory disclosure"
    6f2e5eb82557 cdrom: gdrom: initialize global variable at init time
    283cd246bcc1 cdrom: gdrom: deallocate struct gdrom_unit fields in remove_gdrom
    7e230e5ed8fd Revert "gdrom: fix a memory leak bug"
    6ef6f8cd1d34 Revert "scsi: ufs: fix a missing check of devm_reset_control_get"
    9c24899f1fae Revert "ecryptfs: replace BUG_ON with error handling code"
    a1f0e2bb4975 Revert "video: imsttfb: fix potential NULL pointer dereferences"
    bd2a12549fc2 Revert "hwmon: (lm80) fix a missing check of bus read in lm80 probe"
    5c463887edb3 Revert "leds: lp5523: fix a missing check of return value of lp55xx_read"
    1cb9f88cde8c Revert "net: stmicro: fix a missing check of clk_prepare"
    6f2a72774f38 Revert "video: hgafb: fix potential NULL pointer dereference"
    3471a221f308 dm snapshot: fix crash with transient storage and zero chunk size
    198ee66478b3 xen-pciback: reconfigure also from backend watch handler
    f1d3c63c3f12 mmc: sdhci-pci-gli: increase 1.8V regulator wait
    d9e9ec363560 drm/amdgpu: update sdma golden setting for Navi12
    e3be683d5e4e drm/amdgpu: update gc golden setting for Navi12
    1f0495355b60 drm/amdgpu: disable 3DCGCG on picasso/raven1 to avoid compute hang
    c11d59e5edba Revert "serial: mvebu-uart: Fix to avoid a potential NULL pointer dereference"
    d55df42ef369 rapidio: handle create_workqueue() failure
    9f2a613e4b0b Revert "rapidio: fix a NULL pointer dereference when create_workqueue() fails"
    cdd91637d4ef uio_hv_generic: Fix a memory leak in error handling paths
    b0fc59e62bf9 ALSA: hda/realtek: Add fixup for HP Spectre x360 15-df0xxx
    c4e7ed4fa1b1 ALSA: hda/realtek: Add fixup for HP OMEN laptop
    2331f2592879 ALSA: hda/realtek: Fix silent headphone output on ASUS UX430UA
    1c783bfa7f8d ALSA: hda/realtek: Add some CLOVE SSIDs of ALC293
    be1f7f30b66b ALSA: hda/realtek: reset eapd coeff to default value for alc287
    b2297d1b9511 ALSA: firewire-lib: fix check for the size of isochronous packet payload
    f95aabb6aed4 Revert "ALSA: sb8: add a check for request_region"
    2ed8227ebd84 ALSA: hda: fixup headset for ASUS GU502 laptop
    7ef36d303592 ALSA: bebob/oxfw: fix Kconfig entry for Mackie d.2 Pro
    844faf4a9675 ALSA: usb-audio: Validate MS endpoint descriptors
    c7456fc35dc8 ALSA: firewire-lib: fix calculation for size of IR context payload
    7981c124e34d ALSA: dice: fix stream format at middle sampling rate for Alesis iO 26
    f72b96ff7935 ALSA: line6: Fix racy initialization of LINE6 MIDI
    048840df6de8 ALSA: intel8x0: Don't update period unless prepared
    a67a88f9e667 ALSA: dice: fix stream format for TC Electronic Konnekt Live at high sampling transfer frequency
    34413f21acea cifs: fix memory leak in smb2_copychunk_range
    20197d327560 btrfs: avoid RCU stalls while running delayed iputs
    845c2b9d99b6 locking/mutex: clear MUTEX_FLAGS if wait_list is empty due to signal
    439ce949ee90 nvmet: seset ns->file when open fails
    670d34d54320 ptrace: make ptrace() fail if the tracee changed its pid unexpectedly
    88128a5054f1 RDMA/uverbs: Fix a NULL vs IS_ERR() bug
    6fa78a6b9a3b platform/x86: dell-smbios-wmi: Fix oops on rmmod dell_smbios
    6e90ff540a7b platform/mellanox: mlxbf-tmfifo: Fix a memory barrier issue
    66abc4ef6a8b RDMA/core: Don't access cm_id after its destruction
    73e25a2d51bb RDMA/mlx5: Recover from fatal event in dual port mode
    8d8b8016e0af scsi: qla2xxx: Fix error return code in qla82xx_write_flash_dword()
    07865459eb62 scsi: ufs: core: Increase the usable queue depth
    a62225d951d7 RDMA/rxe: Clear all QP fields if creation failed
    257f132342ea RDMA/siw: Release xarray entry
    a19bb4c0566c RDMA/siw: Properly check send and receive CQ pointers
    a03676848886 openrisc: Fix a memory leak
    50fd584fbbb3 firmware: arm_scpi: Prevent the ternary sign expansion bug
    b239a0365b93 Linux 5.4.121
    b63a8e5b4a25 scripts: switch explicitly to Python 3
    2cbb484788fe tweewide: Fix most Shebang lines
    252495806968 KVM: arm64: Initialize VCPU mdcr_el2 before loading it
    50e5c93ca647 ipv6: remove extra dev_hold() for fallback tunnels
    b811a8a72366 ip6_tunnel: sit: proper dev_{hold|put} in ndo_[un]init methods
    f5ddecb6a195 sit: proper dev_{hold|put} in ndo_[un]init methods
    cca2a2b340a9 ip6_gre: proper dev_{hold|put} in ndo_[un]init methods
    084a1858e256 net: stmmac: Do not enable RX FIFO overflow interrupts
    94600a8300c7 lib: stackdepot: turn depot_lock spinlock to raw_spinlock
    5233f4465e22 block: reexpand iov_iter after read/write
    48744773d63e ALSA: hda: generic: change the DAC ctl name for LO+SPK or LO+HP
    0ce1a72ac9b0 gpiolib: acpi: Add quirk to ignore EC wakeups on Dell Venue 10 Pro 5055
    b3252a87a811 drm/amd/display: Fix two cursor duplication when using overlay
    6cc777c6acbb bridge: Fix possible races between assigning rx_handler_data and setting IFF_BRIDGE_PORT bit
    c5946eb52b73 scsi: target: tcmu: Return from tcmu_handle_completions() if cmd_id not found
    e39a105abbe5 ceph: fix fscache invalidation
    13bc6bda6a1e scsi: lpfc: Fix illegal memory access on Abort IOCBs
    e69c7c149199 riscv: Workaround mcount name prior to clang-13
    cd3ab0ac0a54 scripts/recordmcount.pl: Fix RISC-V regex for clang
    cfa65174402f ARM: 9075/1: kernel: Fix interrupted SMC calls
    a5923afb6149 um: Disable CONFIG_GCOV with MODULES
    2fe3fbcc53b8 um: Mark all kernel symbols as local
    cec4c3810ba3 Input: silead - add workaround for x86 BIOS-es which bring the chip up in a stuck state
    29da2bab24e9 Input: elants_i2c - do not bind to i2c-hid compatible ACPI instantiated devices
    bbd7ba95bb06 ACPI / hotplug / PCI: Fix reference count leak in enable_slot()
    64f8e9526e31 ARM: 9066/1: ftrace: pause/unpause function graph tracer in cpu_suspend()
    41dd2ede9536 dmaengine: dw-edma: Fix crash on loading/unloading driver
    b003a4923628 PCI: thunder: Fix compile testing
    a05fb4ac72fb virtio_net: Do not pull payload in skb->head
    0d08bbce231b xsk: Simplify detection of empty and full rings
    323deebaa2d0 pinctrl: ingenic: Improve unreachable code generation
    e57e2dd9bbdd isdn: capi: fix mismatched prototypes
    7958cdd64cdf cxgb4: Fix the -Wmisleading-indentation warning
    acb4faa5f577 usb: sl811-hcd: improve misleading indentation
    eabb93e34425 kgdb: fix gcc-11 warning on indentation
    b806b41bf55d x86/msr: Fix wr/rdmsr_safe_regs_on_cpu() prototypes

(From OE-Core rev: 881ed7938f84ba89b9bb20ce8e45ef9d85e80cb8)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-01 14:03:49 +01:00
Bruce Ashfield
b88391a6a7 linux-yocto/5.10: update to v5.10.41
Updating linux-yocto/5.10 to the latest korg -stable release that comprises
the following commits:

    33069919e2dc Linux 5.10.41
    b34cb7ac32cc NFC: nci: fix memory leak in nci_allocate_device
    8d11e6ae4304 perf unwind: Set userdata for all __report_module() paths
    53eaf28c056d perf unwind: Fix separate debug info files when using elfutils' libdw's unwinder
    514883ebac77 KVM: x86: Defer vtime accounting 'til after IRQ handling
    77068304b30f context_tracking: Move guest exit vtime accounting to separate helpers
    5ae5e3f05831 context_tracking: Move guest exit context tracking to separate helpers
    27acfd11ba17 bpf: No need to simulate speculative domain for immediates
    c87ef240a8bb bpf: Fix mask direction swap upon off reg sign change
    4e2c7b297431 bpf: Wrap aux data inside bpf_sanitize_info container
    4068786a8690 Linux 5.10.40
    d8d261c7cfb3 Bluetooth: SMP: Fail if remote and local public keys are identical
    e8c34789f1b8 video: hgafb: correctly handle card detect failure during probe
    ed9fdd4c6f03 nvmet: use new ana_log_size instead the old one
    d28aa3c15736 x86/boot/compressed/64: Check SEV encryption in the 32-bit boot-path
    0296c9057ade rtc: pcf85063: fallback to parent of_node
    7b994b03f1de nvme-multipath: fix double initialization of ANA state
    e2c26ddd4e85 x86/Xen: swap NX determination and GDT setup on BSP
    d5c4605e9e1c openrisc: mm/init.c: remove unused memblock_region variable in map_ram()
    585d8425e504 drm/i915/gt: Disable HiZ Raw Stall Optimization on broken gen7
    eb46907f99d6 tty: vt: always invoke vc->vc_sw->con_resize callback
    a14ca25d4f23 vt: Fix character height handling with VT_RESIZEX
    8026eb8242bc vt_ioctl: Revert VT_RESIZEX parameter handling removal
    a3de46844f34 vgacon: Record video mode changes with VT_RESIZEX
    8e0d302e7e51 video: hgafb: fix potential NULL pointer dereference
    98404acf0a20 qlcnic: Add null check after calling netdev_alloc_skb
    865ec95a77f7 leds: lp5523: check return value of lp5xx_read and jump to cleanup code
    33a9ff900b9b ics932s401: fix broken handling of errors when word reading fails
    e81f94a71b00 net: rtlwifi: properly check for alloc_workqueue() failure
    f9f59f4ca2d8 scsi: ufs: handle cleanup correctly on devm_reset_control_get error
    0eb496c3c103 net: stmicro: handle clk_prepare() failure during init
    c89c9a291149 ethernet: sun: niu: fix missing checks of niu_pci_eeprom_read()
    17e22164d6c5 Revert "niu: fix missing checks of niu_pci_eeprom_read"
    c794f7851c5d Revert "qlcnic: Avoid potential NULL pointer dereference"
    5e4fd74089b1 Revert "rtlwifi: fix a potential NULL pointer dereference"
    951ed241e228 Revert "media: rcar_drif: fix a memory disclosure"
    566086409511 cdrom: gdrom: initialize global variable at init time
    9285808072d4 cdrom: gdrom: deallocate struct gdrom_unit fields in remove_gdrom
    3d2a4fb91122 Revert "gdrom: fix a memory leak bug"
    64ae556541a3 Revert "scsi: ufs: fix a missing check of devm_reset_control_get"
    61b9bc3091a5 Revert "ecryptfs: replace BUG_ON with error handling code"
    6003d373bf2f Revert "video: imsttfb: fix potential NULL pointer dereferences"
    4baaa4946d72 Revert "hwmon: (lm80) fix a missing check of bus read in lm80 probe"
    03c5d02c38d4 Revert "leds: lp5523: fix a missing check of return value of lp55xx_read"
    059031afcdc1 Revert "net: stmicro: fix a missing check of clk_prepare"
    d88f05cecefd Revert "video: hgafb: fix potential NULL pointer dereference"
    fae4f4debf2b kcsan: Fix debugfs initcall return type
    2a61f0ccb756 dm snapshot: fix crash with transient storage and zero chunk size
    4528c0c32308 ipc/mqueue, msg, sem: avoid relying on a stack reference past its expiry
    63a5b3844770 xen-pciback: reconfigure also from backend watch handler
    c196031f4fd9 xen-pciback: redo VF placement in the virtual topology
    d047ec8730b2 mmc: sdhci-pci-gli: increase 1.8V regulator wait
    343208ffe92f powerpc/64s/syscall: Fix ptrace syscall info with scv syscalls
    105345b909d8 powerpc/64s/syscall: Use pt_regs.trap to distinguish syscall ABI difference between sc and scv syscalls
    3708b7a9c28c drm/amdgpu: update sdma golden setting for Navi12
    e32cb1057faa drm/amdgpu: update gc golden setting for Navi12
    0c47929fd836 drm/amdgpu: disable 3DCGCG on picasso/raven1 to avoid compute hang
    93ba55c14d70 drm/amdgpu: Fix GPU TLB update error when PAGE_SIZE > AMDGPU_PAGE_SIZE
    367c90f2bc1b x86/sev-es: Forward page-faults which happen during emulation
    5af89eeb7414 x86/sev-es: Use __put_user()/__get_user() for data accesses
    be4cba71b2d0 x86/sev-es: Don't return NULL from sev_es_get_ghcb()
    e7174da8c45b x86/sev-es: Invalidate the GHCB after completing VMGEXIT
    193e02196fad x86/sev-es: Move sev_es_put_ghcb() in prep for follow on patch
    9b942cb2d92e nvme-tcp: fix possible use-after-completion
    e4be68465322 Revert "serial: mvebu-uart: Fix to avoid a potential NULL pointer dereference"
    1ba7a534a9e4 rapidio: handle create_workqueue() failure
    961ae8cbe893 Revert "rapidio: fix a NULL pointer dereference when create_workqueue() fails"
    d84b5e912212 uio_hv_generic: Fix a memory leak in error handling paths
    b044f5108e4b ALSA: hda/realtek: Add fixup for HP Spectre x360 15-df0xxx
    8add3dce391b ALSA: hda/realtek: Add fixup for HP OMEN laptop
    01dbb91d8589 ALSA: hda/realtek: Fix silent headphone output on ASUS UX430UA
    cfa55927478a ALSA: hda/realtek: Add some CLOVE SSIDs of ALC293
    f693d0e72c4d ALSA: hda/realtek: reset eapd coeff to default value for alc287
    78a37c03c65c ALSA: firewire-lib: fix check for the size of isochronous packet payload
    00e5aa3f2116 Revert "ALSA: sb8: add a check for request_region"
    42796eb7c485 ALSA: hda: fixup headset for ASUS GU502 laptop
    2cc051b6a482 ALSA: bebob/oxfw: fix Kconfig entry for Mackie d.2 Pro
    e5ffa75afb5b ALSA: usb-audio: Validate MS endpoint descriptors
    ad7f8cced378 ALSA: firewire-lib: fix calculation for size of IR context payload
    3d063d6ce1d2 ALSA: dice: fix stream format at middle sampling rate for Alesis iO 26
    f42cf1e7b86b ALSA: line6: Fix racy initialization of LINE6 MIDI
    214a9836697c ALSA: firewire-lib: fix amdtp_packet tracepoints event for packet_index field
    1e94ffd074dd ALSA: intel8x0: Don't update period unless prepared
    e227c60aa9ec ALSA: dice: fix stream format for TC Electronic Konnekt Live at high sampling transfer frequency
    1b2b4d68172b misc: eeprom: at24: check suspend status before disable regulator
    42d35af92246 cifs: fix memory leak in smb2_copychunk_range
    56001dda032f btrfs: avoid RCU stalls while running delayed iputs
    e022914f206c powerpc: Fix early setup to make early_ioremap() work
    e354e3744b0b locking/mutex: clear MUTEX_FLAGS if wait_list is empty due to signal
    5dfed1be0e9c locking/lockdep: Correct calling tracepoints
    075becedce37 perf/x86: Avoid touching LBR_TOS MSR for Arch LBR
    e207bbf555bd nvmet: seset ns->file when open fails
    6f08af55ea54 ptrace: make ptrace() fail if the tracee changed its pid unexpectedly
    eeafd6489d2c powerpc/pseries: Fix hcall tracing recursion in pv queued spinlocks
    d53738cd4855 tools/testing/selftests/exec: fix link error
    7cf4decefa05 RDMA/uverbs: Fix a NULL vs IS_ERR() bug
    c62c907ccc63 RDMA/mlx5: Fix query DCT via DEVX
    0cf036a0d325 platform/x86: dell-smbios-wmi: Fix oops on rmmod dell_smbios
    b8ff3221771a platform/x86: intel_int0002_vgpio: Only call enable_irq_wake() when using s2idle
    2d6168fa6bc6 platform/mellanox: mlxbf-tmfifo: Fix a memory barrier issue
    753927b802f6 nvme-fc: clear q_live at beginning of association teardown
    33ebdee80e40 nvme-tcp: rerun io_work if req_list is not empty
    9c980795ccd7 nvme-loop: fix memory leak in nvme_loop_create_ctrl()
    4720f29acb3f nvmet: fix memory leak in nvmet_alloc_ctrl()
    737ccd21342c nvmet: remove unused ctrl->cqs
    bd538f2f136f RDMA/core: Don't access cm_id after its destruction
    75bdfe783732 RDMA/mlx5: Recover from fatal event in dual port mode
    8170c2039cc1 scsi: qla2xxx: Fix error return code in qla82xx_write_flash_dword()
    a6362a737572 scsi: qedf: Add pointer checks in qedf_update_link_speed()
    3f04b4f87f32 scsi: ufs: core: Increase the usable queue depth
    2ee4d79c3649 RDMA/rxe: Clear all QP fields if creation failed
    66ab7fcdac34 RDMA/core: Prevent divide-by-zero error triggered by the user
    15357010e0e1 RDMA/siw: Release xarray entry
    b83b49192767 RDMA/siw: Properly check send and receive CQ pointers
    c39a190d834d tee: amdtee: unload TA only when its refcount becomes 0
    12de3ff98935 openrisc: Fix a memory leak
    4dcb3aa4a5ad firmware: arm_scpi: Prevent the ternary sign expansion bug
    b561d56bcd16 Linux 5.10.39
    090466aeb6a0 scripts: switch explicitly to Python 3
    6ae514b8a8eb tweewide: Fix most Shebang lines
    ccecbcc9c574 ipv6: remove extra dev_hold() for fallback tunnels
    019c426b5360 ip6_tunnel: sit: proper dev_{hold|put} in ndo_[un]init methods
    3c24dbd358bf sit: proper dev_{hold|put} in ndo_[un]init methods
    b18b1548cb4e ip6_gre: proper dev_{hold|put} in ndo_[un]init methods
    0473032821e6 net: stmmac: Do not enable RX FIFO overflow interrupts
    1fb05a3f1f20 lib: stackdepot: turn depot_lock spinlock to raw_spinlock
    7da9368f9151 block: reexpand iov_iter after read/write
    87f627a0280b ALSA: hda: generic: change the DAC ctl name for LO+SPK or LO+HP
    027926f4ff86 net:CXGB4: fix leak if sk_buff is not used
    9284b702c8e0 gpiolib: acpi: Add quirk to ignore EC wakeups on Dell Venue 10 Pro 5055
    1ce34fb34b99 drm/amd/display: Fix two cursor duplication when using overlay
    3851a86c3da8 nvmet: remove unsupported command noise
    86587f35cba9 net: hsr: check skb can contain struct hsr_ethhdr in fill_frame_info
    82646b1844a2 bridge: Fix possible races between assigning rx_handler_data and setting IFF_BRIDGE_PORT bit
    dcbc4e33804c amdgpu/pm: Prevent force of DCEFCLK on NAVI10 and SIENNA_CICHLID
    d47d0d1a1fb2 scsi: target: tcmu: Return from tcmu_handle_completions() if cmd_id not found
    3611ce2f23a4 ceph: don't allow access to MDS-private inodes
    db275714dd50 ceph: don't clobber i_snap_caps on non-I_NEW inode
    2783c34d5430 ceph: fix fscache invalidation
    f8adfb1d370f scsi: lpfc: Fix illegal memory access on Abort IOCBs
    0195e2813aac riscv: Workaround mcount name prior to clang-13
    52b7b9ad63da scripts/recordmcount.pl: Fix RISC-V regex for clang
    b6b7f7ed7f96 riscv: Use $(LD) instead of $(CC) to link vDSO
    6a40e3f9a803 platform/chrome: cros_ec_typec: Add DP mode check
    b01b7999f49e ARM: 9075/1: kernel: Fix interrupted SMC calls
    2f06cd6d9c6a um: Disable CONFIG_GCOV with MODULES
    91628cfd70d0 um: Mark all kernel symbols as local
    d35891cbb1d4 NFS: NFS_INO_REVAL_PAGECACHE should mark the change attribute invalid
    87264fb5abac Input: silead - add workaround for x86 BIOS-es which bring the chip up in a stuck state
    c2742ef47574 Input: elants_i2c - do not bind to i2c-hid compatible ACPI instantiated devices
    4800a98bcfe4 PCI: tegra: Fix runtime PM imbalance in pex_ep_event_pex_rst_deassert()
    dd6ba896ffa7 ACPI / hotplug / PCI: Fix reference count leak in enable_slot()
    ec324393a63c ARM: 9066/1: ftrace: pause/unpause function graph tracer in cpu_suspend()
    3029ef71ab22 dmaengine: dw-edma: Fix crash on loading/unloading driver
    13a2ca80d792 PCI: thunder: Fix compile testing
    a36703d08c83 virtio_net: Do not pull payload in skb->head
    cbb397b673bd isdn: capi: fix mismatched prototypes
    a60855366be5 cxgb4: Fix the -Wmisleading-indentation warning
    c6034b618c1a usb: sl811-hcd: improve misleading indentation
    c2e7c260371d kgdb: fix gcc-11 warning on indentation
    b6795cdc268b airo: work around stack usage warning
    80e414e7cf7d drm/i915/display: fix compiler warning about array overrun
    ee387de3cab1 x86/msr: Fix wr/rdmsr_safe_regs_on_cpu() prototypes

(From OE-Core rev: dd8b2c9fd746991e0343cf4f42c31ebdca2e130a)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-01 14:03:49 +01:00
Bruce Ashfield
c62eef40d5 linux-yocto/5.4: update to v5.4.120
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:

    e05d387ba736 Linux 5.4.120
    7f4ac21468b0 ASoC: rsnd: check all BUSIF status when error
    7f6a9044ff24 nvme: do not try to reconfigure APST when the controller is not live
    aa9d659856b1 clk: exynos7: Mark aclk_fsys1_200 as critical
    baea536cf51f netfilter: conntrack: Make global sysctls readonly in non-init netns
    fb80624f39d3 kobject_uevent: remove warning in init_uevent_argv()
    658e8982f0eb usb: typec: tcpm: Fix error while calculating PPS out values
    718f1c1fdf78 ARM: 9027/1: head.S: explicitly map DT even if it lives in the first physical section
    3c63b72ffba0 ARM: 9020/1: mm: use correct section size macro to describe the FDT virtual address
    b05a28f47582 ARM: 9012/1: move device tree mapping out of linear region
    69e44f71319b ARM: 9011/1: centralize phys-to-virt conversion of DT/ATAGS address
    bb4f8ead473a f2fs: fix error handling in f2fs_end_enable_verity()
    7a474350d8de thermal/core/fair share: Lock the thermal zone while looping over instances
    2c44110300b8 MIPS: Avoid handcoded DIVU in `__div64_32' altogether
    2759b770b53e MIPS: Avoid DIVU in `__div64_32' is result would be zero
    02b120493a9c MIPS: Reinstate platform `__div64_32' handler
    64508ebf9391 FDDI: defxx: Make MMIO the configuration default except for EISA
    ecdf893c5aef mm: fix struct page layout on 32-bit systems
    187598fd82cb KVM: x86: Cancel pvclock_gtod_work on module removal
    cdaae487e85b cdc-wdm: untangle a circular dependency between callback and softint
    b1de23dbeca7 iio: tsl2583: Fix division by a zero lux_val
    8229f1d40501 iio: gyro: mpu3050: Fix reported temperature value
    2496ead8b1b1 xhci: Add reset resume quirk for AMD xhci controller.
    de72d8769bcf xhci: Do not use GFP_KERNEL in (potentially) atomic context
    941328f7bda6 usb: dwc3: gadget: Return success always for kick transfer in ep queue
    7f15d999dd61 usb: core: hub: fix race condition about TRSMRCY of resume
    8f536512db87 usb: dwc2: Fix gadget DMA unmap direction
    36399169e6a0 usb: xhci: Increase timeout for HC halt
    68b5f65eaa6a usb: dwc3: pci: Enable usb2-gadget-lpm-disable for Intel Merrifield
    04904d90a71a usb: dwc3: omap: improve extcon initialization
    f78e2c36609b iomap: fix sub-page uptodate handling
    3c1db90ae0d0 blk-mq: Swap two calls in blk_mq_exit_queue()
    1c4962df9388 nbd: Fix NULL pointer in flush_workqueue
    0b6b4b90b74c kyber: fix out of bounds access when preempted
    dafd4c0b5e83 ACPI: scan: Fix a memory leak in an error handling path
    1648505d1353 hwmon: (occ) Fix poll rate limiting
    fa1547f6e4fb usb: fotg210-hcd: Fix an error message
    57f99e92e2f7 iio: proximity: pulsedlight: Fix rumtime PM imbalance on error
    2b94c23eaf5e drm/i915: Avoid div-by-zero on gen2
    a9b2ac3f6ad1 drm/radeon/dpm: Disable sclk switching on Oland when two 4K 60Hz monitors are connected
    f77aa56ad989 mm/hugetlb: fix F_SEAL_FUTURE_WRITE
    b3f1731c6d7f userfaultfd: release page in error path to avoid BUG_ON
    1b8d4206a48c squashfs: fix divide error in calculate_skip()
    c451a6bafb5f hfsplus: prevent corruption in shrinking truncate
    0b4eb172cc12 powerpc/64s: Fix crashes when toggling entry flush barrier
    379ea3a4e34b powerpc/64s: Fix crashes when toggling stf barrier
    9cca6cc73bb9 ARC: mm: PAE: use 40-bit physical page mask
    e242c138ae01 ARC: entry: fix off-by-one error in syscall number validation
    9c1d454726fc i40e: Fix PHY type identifiers for 2.5G and 5G adapters
    7e7b538a9af5 i40e: fix the restart auto-negotiation after FEC modified
    d718c15a2bf9 i40e: Fix use-after-free in i40e_client_subtask()
    c77e2ef18167 netfilter: nftables: avoid overflows in nft_hash_buckets()
    a8cfa7aff11d kernel: kexec_file: fix error return code of kexec_calculate_store_digests()
    043ebbccdde6 sched/fair: Fix unfairness caused by missing load decay
    687f523c134b sched: Fix out-of-bound access in uclamp
    51d3e462ea91 can: m_can: m_can_tx_work_queue(): fix tx_skb race condition
    c8e3c76cc8c5 netfilter: nfnetlink_osf: Fix a missing skb_header_pointer() NULL check
    ca74d0dbaffa smc: disallow TCP_ULP in smc_setsockopt()
    2f9f92e2ecec net: fix nla_strcmp to handle more then one trailing null character
    6aeba28d1213 ksm: fix potential missing rmap_item for stable_node
    dde73137ce9c mm/migrate.c: fix potential indeterminate pte entry in migrate_vma_insert_page()
    262943265d97 mm/hugeltb: handle the error case in hugetlb_fix_reserve_counts()
    3ddbd4beadfa khugepaged: fix wrong result value for trace_mm_collapse_huge_page_isolate()
    1816d1b3272a drm/radeon: Avoid power table parsing memory leaks
    8e0b76725c38 drm/radeon: Fix off-by-one power_state index heap overwrite
    9e3cbdc52318 netfilter: xt_SECMARK: add new revision to fix structure layout
    7a0a9f5cf8b5 sctp: fix a SCTP_MIB_CURRESTAB leak in sctp_sf_do_dupcook_b
    f7f6f0777409 ethernet:enic: Fix a use after free bug in enic_hard_start_xmit
    a04c2a398dc9 sunrpc: Fix misplaced barrier in call_decode
    b8168792c3fb RISC-V: Fix error code returned by riscv_hartid_to_cpuid()
    b1b31948c0af sctp: do asoc update earlier in sctp_sf_do_dupcook_a
    2e99f6871493 net: hns3: disable phy loopback setting in hclge_mac_start_phy
    954ea8a0cfe1 net: hns3: use netif_tx_disable to stop the transmit queue
    c073c2b27285 net: hns3: fix for vxlan gpe tx checksum bug
    56e680c09002 net: hns3: add check for HNS3_NIC_STATE_INITED in hns3_reset_notify_up_enet()
    282d8a6a5546 net: hns3: initialize the message content in hclge_get_link_mode()
    ccffcc9f3574 net: hns3: fix incorrect configuration for igu_egu_hw_err
    3dd2cd64466e rtc: ds1307: Fix wday settings for rx8130
    2ad8af2b70e9 ceph: fix inode leak on getattr error in __fh_to_dentry
    b37609ad2277 rtc: fsl-ftm-alarm: add MODULE_TABLE()
    7d1ada9e1096 NFSv4.2 fix handling of sr_eof in SEEK's reply
    89862bd77e9c pNFS/flexfiles: fix incorrect size check in decode_nfs_fh()
    ff4d21fb2261 PCI: endpoint: Fix missing destroy_workqueue()
    bdbee0d84520 NFS: Deal correctly with attribute generation counter overflow
    7e16709fc540 NFSv4.2: Always flush out writes in nfs42_proc_fallocate()
    20f9516b8372 rpmsg: qcom_glink_native: fix error return code of qcom_glink_rx_data()
    3ed8832aeaa9 ARM: 9064/1: hw_breakpoint: Do not directly check the event's overflow_handler hook
    0454a3dc8747 PCI: Release OF node in pci_scan_device()'s error path
    364e8bb8b425 PCI: iproc: Fix return value of iproc_msi_irq_domain_alloc()
    e150f825ca29 f2fs: fix a redundant call to f2fs_balance_fs if an error occurs
    f49f00dbe3d0 thermal: thermal_of: Fix error return code of thermal_of_populate_bind_params()
    f599960166a0 ASoC: rt286: Make RT286_SET_GPIO_* readable and writable
    44d96d2dc054 ia64: module: fix symbolizer crash on fdescr
    8b88f16d9d30 bnxt_en: Add PCI IDs for Hyper-V VF devices.
    98e1d0fe20ed net: ethernet: mtk_eth_soc: fix RX VLAN offload
    5da6affd9c7e iavf: remove duplicate free resources calls
    40d1cb16a578 powerpc/iommu: Annotate nested lock for lockdep
    d26436a3b913 qtnfmac: Fix possible buffer overflow in qtnf_event_handle_external_auth
    9184f2608e89 wl3501_cs: Fix out-of-bounds warnings in wl3501_mgmt_join
    78a004cdfd2d wl3501_cs: Fix out-of-bounds warnings in wl3501_send_pkt
    cd06b0786056 drm/amd/display: fixed divide by zero kernel crash during dsc enablement
    eed7287db3a9 powerpc/pseries: Stop calling printk in rtas_stop_self()
    63a42044b9a1 samples/bpf: Fix broken tracex1 due to kprobe argument change
    9f6e107aab14 net: sched: tapr: prevent cycle_time == 0 in parse_taprio_schedule
    3aa4e4d7ccf4 ethtool: ioctl: Fix out-of-bounds warning in store_link_ksettings_for_user()
    061868e90062 ASoC: rt286: Generalize support for ALC3263 codec
    56a6218e97db powerpc/smp: Set numa node before updating mask
    dfa2a8d2d8a7 flow_dissector: Fix out-of-bounds warning in __skb_flow_bpf_to_target()
    5f24807c3cba sctp: Fix out-of-bounds warning in sctp_process_asconf_param()
    9fc2c9579415 ALSA: hda/hdmi: fix race in handling acomp ELD notification at resume
    f59db26081c0 kconfig: nconf: stop endless search loops
    c262de1777e4 selftests: Set CC to clang in lib.mk if LLVM is set
    2b9ad1fd9dd2 drm/amd/display: Force vsync flip when reconfiguring MPCC
    10ed519fa825 iommu/amd: Remove performance counter pre-initialization test
    82f6753ac96b Revert "iommu/amd: Fix performance counter initialization"
    ae33b2f845fd ASoC: rsnd: call rsnd_ssi_master_clk_start() from rsnd_ssi_init()
    d61f2d938135 cuse: prevent clone
    7dac356a65db mt76: mt76x0: disable GTK offloading
    48be573a04f1 pinctrl: samsung: use 'int' for register masks in Exynos
    f88e0fbeff0f mac80211: clear the beacon's CRC after channel switch
    fadf3660a24f i2c: Add I2C_AQ_NO_REP_START adapter quirk
    7ffafbf2537d ASoC: Intel: bytcr_rt5640: Add quirk for the Chuwi Hi8 tablet
    98ebeb87b2cf ip6_vti: proper dev_{hold|put} in ndo_[un]init methods
    fae341909d6c Bluetooth: check for zapped sk before connecting
    29e498ff183a net: bridge: when suppression is enabled exclude RARP packets
    a3893726745f Bluetooth: initialize skb_queue_head at l2cap_chan_create()
    ca0dec6564e6 Bluetooth: Set CONF_NOT_COMPLETE as l2cap_chan default
    1ac09b2bdc99 ALSA: bebob: enable to deliver MIDI messages for multiple ports
    e2f577188581 ALSA: rme9652: don't disable if not enabled
    a6f2224be419 ALSA: hdspm: don't disable if not enabled
    4ea252600a7d ALSA: hdsp: don't disable if not enabled
    7900cdfbc1dd i2c: bail out early when RDWR parameters are wrong
    3c0432417fa3 ASoC: rsnd: core: Check convert rate in rsnd_hw_params
    e3564792359d net: stmmac: Set FIFO sizes for ipq806x
    ac740f06bf53 ASoC: Intel: bytcr_rt5640: Enable jack-detect support on Asus T100TAF
    aee46e847d19 tipc: convert dest node's address to network order
    ccef53a27a24 fs: dlm: fix debugfs dump
    6c799f6c7427 PM: runtime: Fix unpaired parent child_count for force_resume
    18cb19eab713 KVM: x86/mmu: Remove the defunct update_pte() paging hook
    e888d623a420 tpm, tpm_tis: Reserve locality in tpm_tis_resume()
    a0fd39a09e31 tpm, tpm_tis: Extend locality handling to TPM2 in tpm_tis_gen_interrupt()
    0a60d4be38f0 tpm: fix error return code in tpm2_get_cc_attrs_tbl()

(From OE-Core rev: 6d5da1fa69df93d85b7eebbe8d60108eed4e4e6a)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-01 14:03:49 +01:00
Bruce Ashfield
737fedc702 linux-yocto-dev: bump to v5.13+
(From OE-Core rev: 1dadbb3e852ad356d657156d8ef87338dc5509e0)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-01 14:03:49 +01:00
Richard Purdie
faf001f022 python3-setuptools: upgrade 56.2.0 -> 57.0.0
Add a patch to fix a reproducibility issue in the new version.

(From OE-Core rev: ea6fffe4f07cfd105f861ad0d2dc7c7605bf9e64)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-06-01 14:03:49 +01:00
Richard Purdie
725b711ba3 curl: upgrade 7.76.1 -> 7.77.0
(From OE-Core rev: f88e16f4e4f77f532502806246dda38dfbc1a1e5)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-31 14:31:02 +01:00
Khem Raj
21a919c821 libucontext: Switch to meson build system
cross compiling with meson is easier than the plain makefile build
method that libucontext has, there were bunch of problems passing
compiler and make variables, compounded by the fact that makefile
decided on some compiler flags internally and thought that cflags are
synthesized completely in makefile and not passed from environment like
OE is doing. As a result some features were not being compiled in e.g.
function name aliases were missing

meson, on the other hand is cleaner and we have to add a patch to
support cpu architecture on meson cmdline, everything else pretty much
works out of box

(From OE-Core rev: 6e186e75d62e1afabd19a339924b66eac1418274)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-31 14:31:02 +01:00
Richard Purdie
aa0f01f1cd python3-jinja2: upgrade 3.0.0 -> 3.0.1
(From OE-Core rev: 6021790de3cc281f094ba6535031fd8c5023b273)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-31 14:31:01 +01:00
Richard Purdie
250242f4d4 libepoxy: upgrade 1.5.5 -> 1.5.8
(From OE-Core rev: 575d3976bd774fbf93fccadafe37df689be02161)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-31 14:31:01 +01:00
Richard Purdie
4204271747 libpcre2: upgrade 10.36 -> 10.37
Only the copyright year changed in license text.

(From OE-Core rev: 07d1c6948ec7b688f461e737a5afb00f3eb0c1cb)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-31 14:31:01 +01:00
Richard Purdie
9b386cf2f9 xorgproto: upgrade 2021.4 -> 2021.4.99.1
(From OE-Core rev: f2d35063748c9bb6761f2d2b81a3904cb6e91d17)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-31 14:31:01 +01:00
Richard Purdie
4ec8f799a9 kmod: upgrade 28 -> 29
(From OE-Core rev: 21f421c5caa3ddecda20e7d8718ba6db4d6acdbd)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-31 14:31:01 +01:00
Richard Purdie
ce82509d00 gi-docgen: upgrade 2021.5 -> 2021.6
(From OE-Core rev: 204971217fc2eea0bded7446e8e60562539c8f40)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-31 14:31:01 +01:00
Richard Purdie
33d8fa8273 libinput: upgrade 1.17.2 -> 1.17.3
(From OE-Core rev: 711e6f77f3da132cf7238282bc6f499b48adf620)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-31 14:31:01 +01:00
Richard Purdie
429802e73e vte: upgrade 0.64.0 -> 0.64.1
(From OE-Core rev: 6801cc787f0cccf4cb7b8a98535ccdd74fac2b1a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-31 14:31:01 +01:00
Richard Purdie
4a599203d9 libmodulemd: upgrade 2.12.0 -> 2.12.1
(From OE-Core rev: 446c90ceb71e3cdad0f3d0a1ea5bf9cf92018fc8)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-31 14:31:01 +01:00
Richard Purdie
36560dc85c python3-importlib-metadata: upgrade 4.0.1 -> 4.3.0
(From OE-Core rev: 933a4c6e656fb632b61beee03103b9bf26ede54a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-31 14:31:01 +01:00
Richard Purdie
1e618f91a6 pango: upgrade 1.48.4 -> 1.48.5
(From OE-Core rev: 404986fba897f3dcf1e3d959d202e7c32655ff83)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-31 14:31:01 +01:00
Richard Purdie
db6ede6e49 python3-hypothesis: upgrade 6.12.0 -> 6.13.7
(From OE-Core rev: 42db8dcd5f010e7fa16f6b59a15c08f6a2e5c961)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-31 14:31:01 +01:00
Richard Purdie
6a2ca04df5 libx11: upgrade 1.7.0 -> 1.7.1
(From OE-Core rev: 129f3b20d68e4711dfc67af5a58341266a9d3969)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-31 14:31:01 +01:00
Richard Purdie
58e82e856f iproute2: upgrade 5.11.0 -> 5.12.0
(From OE-Core rev: e36e645bf02c608ccfe4e410bd72602d304d0cb5)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-31 14:31:01 +01:00
Richard Purdie
429dfff189 libxcrypt: Upgrade 4.4.20 -> 4.4.22
(From OE-Core rev: cb1b414a3af6d0c674f15969fbe560207c4aacde)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-31 14:31:01 +01:00
Richard Purdie
6b83800749 linux-firmware: upgrade 20210315 -> 20210511
There were additional links and new firmware versions added but these
were not under any additional licenses.

(From OE-Core rev: b0562c526817501a494a3674fed006ba40c8f164)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-31 14:31:01 +01:00
Changqing Li
164281a293 pkgconfig: update SRC_URI
The git repo for pkg-config was changed, so update the
SRC_URI accordingly with the new link.

(From OE-Core rev: 9fd1b9b8282d68213b187ab42fae27e6a3c95b2e)

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-31 14:31:01 +01:00
Khem Raj
43380125d9 ovmf: Fix VLA warnings with GCC 11
(From OE-Core rev: 5406ce83e07c3f89b9f2bb26f083861467b7bc59)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-31 14:31:01 +01:00
Richard Weinberger
63b3c44d27 Add support for erofs filesystems
Since Linux 5.4 a new read-only filesystem is available, erofs.
Compared to squashfs it offers much better read performance with and
without compression enabled.
It suppports two optional compressors, lz4 and lz4hc.

>From the mkfs.erofs man page:
EROFS is a new enhanced lightweight linux read-only filesystem with
modern designs (eg. no buffer head, reduced metadata, inline
xattrs/data, etc.) for scenarios which need high-performance read-only
requirements, e.g. Android OS for smartphones and LIVECDs.
It also provides fixed-sized output compression support, which improves
storage density, keeps relatively higher compression ratios, which is
more useful to achieve high performance for embedded devices with
limited  memory since it has unnoticable memory overhead and page cache
thrashing.

This commit adds support for three new filesystem targets:
erofs: erofs without compression
erofs-lz4: erofs with lz4 compresssion enabled
erofs-lz4hc: erofs with lz4hc compression enabled

(From OE-Core rev: 41dead1ff8ccc49e6cd6e6f5d41a59d164693e0d)

Signed-off-by: Richard Weinberger <richard@nod.at>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-31 14:31:01 +01:00
Nikolay Papenkov
40d3366bea flex: correct license information
License-Update: Corrected license information

flex package is under two licenses:
- "BSD-3-Clause" is provided in top-level COPYING file; the license
  actually include third obligation (without the actual "3" numbering)
- "LGPL-2.0+" is explained by src/gettext.h

(From OE-Core rev: 7beaae812f55a43797a459f3ad25f1be121bdbe1)

Signed-off-by: Dmitry Kisil <d.kisil@inango-systems.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-28 06:41:03 +01:00
Steve Sakoman
219f9fc977 expat: set CVE_PRODUCT
Upstream database uses both "expat" and "libexpat" to report CVEs

(From OE-Core rev: 706bdcaec5fd7c59d7877bbefa5ed4ce5b4f3da1)

Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-28 06:41:03 +01:00
Trevor Gamblin
fa50a3d34a bind: upgrade 9.16.15 -> 9.16.16
(From OE-Core rev: ad19d41cbdb2afa2f58fa18be44343f199ab488e)

Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-28 06:41:03 +01:00
Richard Purdie
a939636ae4 oeqa/runtime/rpm: Drop log message counting test component
This test is flawed since multiple parts of the system can write to the log
and we obtain different numbers of log messages depending on factors we
can't control.

Drop the log testing component of the test.

[YOCTO #12465]

(From OE-Core rev: 2ad815dbafda0b90f5164f05d22dbbc26cb53f13)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-28 06:41:03 +01:00
zhengruoqin
fb83f447ef libucontext: upgrade 0.10 -> 1.1
(From OE-Core rev: f6093c2fb68279e7a269d0f9d9e5f54594a903ed)

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-28 06:41:03 +01:00
zhengruoqin
c95bb66335 libtest-needs-perl: upgrade 0.002006 -> 0.002009
(From OE-Core rev: a9524b680f55a4a3ba0d24b1ddb9f38e0f88c026)

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-28 06:41:03 +01:00
zhengruoqin
7a59b496e9 libedit: upgrade 20210419-3.1 -> 20210522-3.1
(From OE-Core rev: 3228a011c97e610ea24eb80343651a90fcd32417)

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-28 06:41:03 +01:00
wangmy
f3cb3d3b0f stress-ng: upgrade 0.12.08 -> 0.12.09
(From OE-Core rev: 1de8a2a93b847a9de29bd3aa9a3248b59a19f07e)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-28 06:41:03 +01:00
wangmy
ed9421da03 logrotate: upgrade 3.18.0 -> 3.18.1
(From OE-Core rev: dabd47e2f7cf4d8d2a4df15c2789bb3d9a7ccedd)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-28 06:41:03 +01:00
wangmy
4dda8ecf4f python3-pytest: upgrade 6.2.3 -> 6.2.4
(From OE-Core rev: 4ff5f3234ca827bfa051418506975711ce12267f)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-28 06:41:03 +01:00
wangmy
dce1c0ba4c python3-more-itertools: upgrade 8.7.0 -> 8.8.0
Add runtime dependency to resolve errors that occurred when import more_itertools.

(From OE-Core rev: 2165dc8b7f8448d5053ce25d676039430db25203)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-28 06:41:03 +01:00
wangmy
874caab5be python3-markupsafe: upgrade 2.0.0 -> 2.0.1
(From OE-Core rev: 2fab69a424910270354283a7a1270112237bf721)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-28 06:41:02 +01:00
wangmy
786ab5d453 python3-libarchive-c: upgrade 2.9 -> 3.0
(From OE-Core rev: cebb8e0e9db0eac993a3b5c3395c2ac3c651a9e1)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-28 06:41:02 +01:00
Richard Purdie
db36f166bd distro/maintainers: Fix up the ptest image entries
This fixes the maintainers file to match the ptest images changes

(From OE-Core rev: 592a2f1e95b2216e04206fbfb841a4d604a0827e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-28 06:41:02 +01:00
Alexander Kanavin
121438b52e images: add ptest images based on core-image-minimal
This greatly reduces build times needed for those images, as
they no longer need anything graphical, or -dev packages for
everything.

(From OE-Core rev: 2db500793d9c39caf7a94050df20684fe703e9f6)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-28 06:41:02 +01:00
Alexander Kanavin
71a4173fc0 images: remove sato/weston ptest images
They have been replaced by core-image-minimal-ptest-fast/all

(From OE-Core rev: 0d5bd979a9f67474c4da1d69377a1a1c2161ca6b)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-28 06:41:02 +01:00
Khem Raj
06667ed5d4 apt: Add missing <array> header
This issue is seen with clang/libc++

(From OE-Core rev: 65e9606bae6bcd849e3e30f3ce093ee64838b774)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-28 06:41:02 +01:00
Douglas Royds
1ccfa55156 icecc-create-env: Silence warning: invalid ICECC_ENV_EXEC
(From OE-Core rev: 42016f34ae59d4282491be9294d1e6698c18e1ba)

Signed-off-by: Douglas Royds <douglas.royds@taitradio.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-28 06:41:02 +01:00
Douglas Royds
07ce33a7f4 icecc: Demote "could not get ICECC_CC" warning to note
For many components, it is perfectly correct not to have gcc or g++ in
the PATH, notably when INHIBIT_DEFAULT_DEPS is set.
We were getting a flood of warnings when icecc was enabled, eg:

    WARNING: base-files-3.0.14-r89.tait.8.6 do_configure: Cannot use icecc: could not get ICECC_CC or ICECC_CXX
    WARNING: base-files-3.0.14-r89.tait.8.6 do_compile: Cannot use icecc: could not get ICECC_CC or ICECC_CXX
    WARNING: base-files-3.0.14-r89.tait.8.6 do_install: Cannot use icecc: could not get ICECC_CC or ICECC_CXX
    WARNING: busybox-inittab-1.33.0-r0 do_configure: Cannot use icecc: could not get ICECC_CC or ICECC_CXX
    WARNING: busybox-inittab-1.33.0-r0 do_compile: Cannot use icecc: could not get ICECC_CC or ICECC_CXX
    WARNING: busybox-inittab-1.33.0-r0 do_install: Cannot use icecc: could not get ICECC_CC or ICECC_CXX
    WARNING: linux-libc-headers-3.14-r0 do_configure: Cannot use icecc: could not get ICECC_CC or ICECC_CXX
    WARNING: linux-libc-headers-3.14-r0 do_compile: Cannot use icecc: could not get ICECC_CC or ICECC_CXX
    WARNING: linux-libc-headers-3.14-r0 do_install: Cannot use icecc: could not get ICECC_CC or ICECC_CXX

Demote this message to a "NOTE".
It still appears in log.do_configure and friends:

    NOTE: Cannot use icecc: could not get ICECC_CC or ICECC_CXX

(From OE-Core rev: 720254152ca57c19acf1f156d47fd47af0afa20d)

Signed-off-by: Douglas Royds <douglas.royds@taitradio.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-28 06:41:02 +01:00
Douglas Royds
3f34312b56 Revert "icecc: Don't use icecc when INHIBIT_DEFAULT_DEPS is set"
Although this silenced the warnings, it also turned off icecc for
gcc-cross and friends, binutils-cross, and importantly, the linux
kernel.

This reverts commit 0315aabeff8e6483b737d0e23d6841f1394ad3c8.

[YOCTO #13863]

(From OE-Core rev: a0e86951498db15221d8bcf6ac3ba5016b3ca144)

Signed-off-by: Douglas Royds <douglas.royds@taitradio.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-28 06:41:02 +01:00
Alexander Kanavin
3cdcc442c9 ptest: add newly discovered missing runtime dependencies across recipes
Making ptest images based on core-image-minimal uncovered quite a
few missing depenendcies from various recipes, here they are.

(From OE-Core rev: 2cda6242f2f0f6f9c6bdef72bbb271eab7e5e1f5)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-27 13:21:38 +01:00
Alexander Kanavin
9f4f30ac99 wayland: package target binaries into -tools, not into -dev
(From OE-Core rev: 5e96a2b56ce3ee4d113f3ae8b556c230f4b9df7d)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-27 13:21:38 +01:00
Nisha Parrakat
134aad7c6a squashfs-tools: package squashfs-fs.h
Needed to build the latest debian version
of android-tools
Fixes below error while building android-tools libext4_utils.mk
| squashfs_utils/squashfs_utils.c:27:10: fatal error: 'squashfs_fs.h' file not found
| #include "squashfs_fs.h"
|          ^~~~~~~~~~~~~~~
| 1 error generated.
| core2-64-poky-linux/android-tools/10.0.0.r36-r0/git/system/extras/debian/libext4_utils.mk:29: recipe for target 'build' failed
| make: *** [build] Error 1

(From OE-Core rev: 543c3042eb5c79c6d506262c5d5d36884358d0be)

Signed-off-by: Nisha Parrakat <Nisha.Parrakat@kpit.com>
Signed-off-by: Nisha Parrakat <nishaparrakat@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-27 13:21:38 +01:00
Ross Burton
47e98cbca0 gcc: revert libstc++-gdb.py installation changes
Commit dbb87d in the GCC 11 branch was intended to make the installation of
this Python module more robust, but for unknown reasons the library_name
in libstdc++.la in baremetal builds (for example, Zephyr) is unset, so the
module is just installed as "-gdb.py".

This may be a GCC bug, or a bug in our build. Until that is resolved,
revert the commit to fix the packaging.

(From OE-Core rev: 61947fc024bf18b42547d2ea4cad90184132994d)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-27 13:21:38 +01:00
Guillaume Champagne
230d6b252c image-live.bbclass: order do_bootimg after do_rootfs
do_bootimg expects IMGDEPLOYDIR to exist, since it stores its artifacts
there. Therefore, do_bootimg should run after do_rootfs because
IMGDEPLOYDIR is created before do_rootfs runs since IMGDEPLOYDIR is
contained in do_rootfs' [cleandirs] varflag.

When do_bootimg depends on ${PN}:do_image_${LIVE_ROOTFS_TYPE},
do_bootimg is correctly ordered after do_rootfs because
do_image_${FSTYPE} tasks are added after do_image and do_image itself is
added after do_rootfs.

However, when do_bootimg doesn't depend on
${PN}:do_image_${LIVE_ROOTFS_TYPE}
(introduced by: 96f47c39f1d17f073243913d524bde84add41d8f), do_bootimg
can run before do_rootfs, thus before IMGDEPLOYDIR is created. To
avoid this situation, do_bootimg is now explicitly ordered after
do_rootfs.

(From OE-Core rev: 73c21db8e54002b300ba4972cb49c0577acc5406)

Signed-off-by: Guillaume Champagne <champagne.guillaume.c@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-27 13:21:38 +01:00
Carlos Rafael Giani
f67a12d243 ffmpeg: Add libopus packageconfig
(From OE-Core rev: 2c70334f847ecb872b3cf1061b3a8ed86557fddb)

Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-27 13:21:38 +01:00
Samuli Piippo
f32f72b29a cmake-native: enabled zstd support
CMake depends on having all formats supported and build issues can
arise when zstd is not available:
https://gitlab.kitware.com/cmake/cmake/-/issues/21552

Quote from a CMake dev:
"As far as CMake's design is concerned, we have no optional formats.
All should be supported. That's why we bundle sufficiently new versions
of libarchive and libzstd. If a distro builds with an older libarchive
that doesn't have zstd support, then that is not a proper packaging of CMake."

(From OE-Core rev: 897d3695e11484cb5e62d63e4d6b0b4893605c56)

Signed-off-by: Samuli Piippo <samuli.piippo@qt.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-27 13:21:38 +01:00
Joshua Watt
eccefdff6a zstd: Add patch to fix MinGW builds
Adds a patch to fix the make files to work correctly when building for
MinGW

(From OE-Core rev: 5eb716501c57de18b505265a19ccf754dcf1a83c)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-27 13:21:38 +01:00
Samuli Piippo
0ea02c5283 libarchive: enable zstd support
Now that zstd is in oe-core, add PACKAGECONFIG for it and enabled
it by default in libarchive.

zstd support is expected by CMake, which in nativesdk depends on
libarchive. CMake depends on having all formats supported and build
issues can arise when zstd is not available:
https://gitlab.kitware.com/cmake/cmake/-/issues/21552

Quote from a CMake dev:
"As far as CMake's design is concerned, we have no optional formats.
All should be supported. That's why we bundle sufficiently new versions
of libarchive and libzstd. If a distro builds with an older libarchive
that doesn't have zstd support, then that is not a proper packaging of CMake."

(From OE-Core rev: 6090bec1261726e5290f50e9cd22e42952253ed5)

Signed-off-by: Samuli Piippo <samuli.piippo@qt.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-27 13:21:38 +01:00
Ross Burton
3c5e126401 package_rpm: pass XZ_THREADS to rpm
By default RPM uses the number of cores as the number of threads to use,
which can result in quite antisocial memory usage.

As we control the macros for compression anyway, we can pass XZ_THREADS
to limit the number of threads if needed.

(From OE-Core rev: b9c983eb22a9b0771a0454216d1d7cbb5f3f8a16)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-27 13:21:38 +01:00
Andrej Valek
1f577fec3c expat: upgrade 2.3.0 -> 2.4.1
Includes lot of security fixes, especially CVE-2013-0340/CWE-776.

(From OE-Core rev: 31142d9ddce396a6b490f974e952e7f056e2b192)

Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-27 13:21:38 +01:00
Petr Vorel
2f97ec19e0 ltp: Update to 20210524
Remove patches accepted in this upstream release
* determinism.patch (45530792a, 01fefa08c)
* libswapon.patch (2b64c727f)
* 0001-open_posix_testsuite-generate-makefiles.sh-Avoid-inc.patch
  (f38172209)
* 0002-Makefile-Avoid-wildcard-determinism-issues.patch (edf60cf6a)
* 0003-syscalls-swapon-swapoff-Move-common-library-to-libs.patch
  (ac140ed58)

Removed (test rewritten to new API)
* 0007-Fix-test_proc_kill-hanging.patch

(From OE-Core rev: d36bd5a532d38c786b87ec15f0eec1d849487fa5)

Signed-off-by: Petr Vorel <petr.vorel@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-27 13:21:38 +01:00
Richard Purdie
6aaaa066ce python3-setuptools: upgrade 56.0.0 -> 56.2.0
(From OE-Core rev: 6535cbfdd3ae3bc31b704cdb32ac1cac34156ae3)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-27 13:21:38 +01:00
Khem Raj
95a4ea5057 gcc: Update to latest on release/gcc-11 branch
There has been 150+ fixes made available after gcc 11.1.0
was released, details of these fixes is here

https://gcc.gnu.org/git/?p=gcc.git;a=commitdiff_plain;hp=releases/gcc-11.1.0;h=9ee61d2b51d

(From OE-Core rev: 3dae2c37d68ba25266934156fced0eb85e1dcd8a)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-25 22:36:09 +01:00
Bruce Ashfield
bacb97abbb linux-yocto/5.10: update to v5.10.38
Updating linux-yocto/5.10 to the latest korg -stable release that comprises
the following commits:

    689e89aee55c Linux 5.10.38
    ed350825e89a ASoC: rsnd: check all BUSIF status when error
    cd709c8e06b6 nvme: do not try to reconfigure APST when the controller is not live
    054add24a869 ext4: fix debug format string warning
    c5dffd422145 debugfs: Make debugfs_allow RO after init
    81cb4f36d62c dt-bindings: serial: 8250: Remove duplicated compatible strings
    c1514ad24c3e dt-bindings: media: renesas,vin: Make resets optional on R-Car Gen1
    c4e3d8cf615b i2c: mediatek: Fix send master code at more than 1MHz
    667627fa85a8 media: rkvdec: Remove of_match_ptr()
    b0402e785351 clk: exynos7: Mark aclk_fsys1_200 as critical
    805c990a9c54 drm/i915: Fix crash in auto_retire
    cd47b861d225 drm/i915/overlay: Fix active retire callback alignment
    a67c80dcb403 drm/i915: Read C0DRB3/C1DRB3 as 16 bits again
    17928443db88 drm/i915/gt: Fix a double free in gen8_preallocate_top_level_pdp
    20530f7fde75 kobject_uevent: remove warning in init_uevent_argv()
    6ece86e9e88f usb: typec: tcpm: Fix error while calculating PPS out values
    5d2f09c44ff2 ARM: 9027/1: head.S: explicitly map DT even if it lives in the first physical section
    ac421c7f90c8 ARM: 9020/1: mm: use correct section size macro to describe the FDT virtual address
    1eb77569029d ARM: 9012/1: move device tree mapping out of linear region
    6cdbafc2addd ARM: 9011/1: centralize phys-to-virt conversion of DT/ATAGS address
    6d5fda434b1f clocksource/drivers/timer-ti-dm: Handle dra7 timer wrap errata i940
    06470de53e4f clocksource/drivers/timer-ti-dm: Prepare to handle dra7 timer wrap issue
    462049cfb342 MIPS: Avoid handcoded DIVU in `__div64_32' altogether
    d17af8b19d99 MIPS: Avoid DIVU in `__div64_32' is result would be zero
    d2abb95bb1a4 MIPS: Reinstate platform `__div64_32' handler
    cfddf6a685e3 mm: fix struct page layout on 32-bit systems
    89bd62079870 iommu/vt-d: Remove WO permissions on second-level paging entries
    0160f627929c iommu/vt-d: Preset Access/Dirty bits for IOVA over FL
    a282b76166b1 Revert "iommu/vt-d: Preset Access/Dirty bits for IOVA over FL"
    c1f2d0beab5c Revert "iommu/vt-d: Remove WO permissions on second-level paging entries"
    31f29749ee97 KVM: VMX: Disable preemption when probing user return MSRs
    79abde761e05 KVM: VMX: Do not advertise RDPID if ENABLE_RDTSCP control is unsupported
    c8bf64e3fb77 KVM: nVMX: Always make an attempt to map eVMCS after migration
    2f86dd3d2bcf KVM: x86: Move RDPID emulation intercept to its own enum
    abbf8c99a9e1 KVM: x86: Emulate RDPID only if RDTSCP is supported
    8a7027f011c5 xen/gntdev: fix gntdev_mmap() error exit path
    652c9689f589 cdc-wdm: untangle a circular dependency between callback and softint
    12d16c24f35f iio: tsl2583: Fix division by a zero lux_val
    e8c6852bdba2 iio: gyro: mpu3050: Fix reported temperature value
    70698dda4bca xhci: Add reset resume quirk for AMD xhci controller.
    9d9526cc3c01 xhci: Do not use GFP_KERNEL in (potentially) atomic context
    ca043cc02a88 xhci-pci: Allow host runtime PM as default for Intel Alder Lake xHCI
    fa4b1363256d usb: typec: ucsi: Put fwnode in any case during ->probe()
    e5366bea0277 usb: typec: ucsi: Retrieve all the PDOs instead of just the first 4
    9bd96a2e77fd usb: dwc3: gadget: Return success always for kick transfer in ep queue
    45f37f54e7c1 usb: dwc3: gadget: Enable suspend events
    9238492b9a84 usb: core: hub: fix race condition about TRSMRCY of resume
    45ad6b592e64 usb: dwc2: Fix gadget DMA unmap direction
    7ad9256b49a6 usb: xhci: Increase timeout for HC halt
    42bb80ae0165 usb: dwc3: pci: Enable usb2-gadget-lpm-disable for Intel Merrifield
    95e3da5b53ba usb: dwc3: omap: improve extcon initialization
    3a96437f6bf8 blk-mq: Swap two calls in blk_mq_exit_queue()
    c9c1ed08c174 blk-mq: plug request for shared sbitmap
    cde4b55cfb24 nbd: Fix NULL pointer in flush_workqueue
    a9fc163514d2 f2fs: compress: fix to assign cc.cluster_idx correctly
    5639b73fd3bc f2fs: compress: fix race condition of overwrite vs truncate
    72b0f3077ebd f2fs: compress: fix to free compress page correctly
    64f3410c7bfc nvmet-rdma: Fix NULL deref when SEND is completed with error
    c98ecfb18296 nvmet: fix inline bio check for bdev-ns
    f8ae879b776c nvmet: add lba to sect conversion helpers
    54dbe2d2c1fc kyber: fix out of bounds access when preempted
    e2381174daea ACPI: scan: Fix a memory leak in an error handling path
    a8dc16bbfe29 usb: musb: Fix an error message
    550473900f80 hwmon: (occ) Fix poll rate limiting
    0becd19b211a usb: fotg210-hcd: Fix an error message
    2c3b4375e118 iio: hid-sensors: select IIO_TRIGGERED_BUFFER under HID_SENSOR_IIO_TRIGGER
    020fe6f80f4f iio: proximity: pulsedlight: Fix rumtime PM imbalance on error
    9db8ba3cac05 iio: light: gp2ap002: Fix rumtime PM imbalance on error
    1ea775021282 usb: dwc3: gadget: Free gadget structure only after freeing endpoints
    26c777470d57 perf tools: Fix dynamic libbpf link
    1d8d7e02f6d0 xen/unpopulated-alloc: fix error return code in fill_list()
    058122572676 xen/unpopulated-alloc: consolidate pgmap manipulation
    9eaa10be0c08 dax: Wake up all waiters after invalidating dax entry
    e9e70b78e163 dax: Add a wakeup mode parameter to put_unlocked_entry()
    b93d3410e789 dax: Add an enum for specifying dax wakup mode
    b9c663dc9a83 KVM: x86: Prevent deadlock against tk_core.seq
    8aa7227a5d9b KVM: x86: Cancel pvclock_gtod_work on module removal
    1fe269372244 drm/msm/dp: initialize audio_comp when audio starts
    2e0ce36d0bf6 KVM: LAPIC: Accurately guarantee busy wait for timer to expire when using hv_timer
    ce7639252357 kvm: exit halt polling on need_resched() as well
    970c978d0591 drm/i915: Avoid div-by-zero on gen2
    86cd6072157c drm/amd/display: Initialize attribute for hdcp_srm sysfs file
    5a6fe45a3a7f drm/radeon/dpm: Disable sclk switching on Oland when two 4K 60Hz monitors are connected
    bccb7dd137ad btrfs: fix race leading to unpersisted data and metadata on fsync
    d6d66dbd5adc arm64: Fix race condition on PG_dcache_clean in __sync_icache_dcache()
    d3bab7cbadfb arm64: mte: initialize RGSR_EL1.SEED in __cpu_setup
    70748bba5565 blk-iocost: fix weight updates of inner active iocgs
    014868616d48 mm/hugetlb: fix F_SEAL_FUTURE_WRITE
    fe5c0a63ad22 kasan: fix unit tests with CONFIG_UBSAN_LOCAL_BOUNDS enabled
    140cfd998012 userfaultfd: release page in error path to avoid BUG_ON
    2ed1d90162a0 squashfs: fix divide error in calculate_skip()
    adbd8a2a8cc0 hfsplus: prevent corruption in shrinking truncate
    d2e3590ca39c powerpc/64s: Fix crashes when toggling entry flush barrier
    51570beeb448 powerpc/64s: Fix crashes when toggling stf barrier
    cb3e286f22ff ARC: mm: Use max_high_pfn as a HIGHMEM zone border
    969de0f6599e ARC: mm: PAE: use 40-bit physical page mask
    af9e5364c617 ARC: entry: fix off-by-one error in syscall number validation
    23ecfe7f2c1f f2fs: avoid unneeded data copy in f2fs_ioc_move_range()
    758fd227ed84 mptcp: fix splat when closing unaccepted socket
    b8cf51a36da2 i40e: Fix PHY type identifiers for 2.5G and 5G adapters
    06ef93b776f7 i40e: fix the restart auto-negotiation after FEC modified
    829a713450b8 i40e: Fix use-after-free in i40e_client_subtask()
    2692bf13e646 i40e: fix broken XDP support
    72b49dd116ca netfilter: nftables: avoid overflows in nft_hash_buckets()
    f665dedeedc9 kernel/resource: make walk_mem_res() find all busy IORESOURCE_MEM resources
    1ec193255271 kernel/resource: make walk_system_ram_res() find all busy IORESOURCE_SYSTEM_RAM resources
    0886bb143cbb kernel: kexec_file: fix error return code of kexec_calculate_store_digests()
    d43be02fc40b fs/proc/generic.c: fix incorrect pde_is_permanent check
    f89b408d506e sched/fair: Fix unfairness caused by missing load decay
    f7347c85490b sched: Fix out-of-bound access in uclamp
    26359d362c93 can: m_can: m_can_tx_work_queue(): fix tx_skb race condition
    eecb4df8ec9f can: mcp251x: fix resume from sleep before interface was brought up
    02140d9d2712 can: mcp251xfd: mcp251xfd_probe(): add missing can_rx_offload_del() in error path
    2c784a500f5e netfilter: nftables: Fix a memleak from userdata error path in new objects
    403ccad066ec netfilter: nfnetlink_osf: Fix a missing skb_header_pointer() NULL check
    cee6592d444a smc: disallow TCP_ULP in smc_setsockopt()
    d6c635a8cc6a net: fix nla_strcmp to handle more then one trailing null character
    26b7924707a4 ethtool: fix missing NLM_F_MULTI flag when dumping
    673422b97ef3 mm/gup: check for isolation errors
    096c9482cea2 mm/gup: return an error on migration failure
    7df511ef376d mm/gup: check every subpage of a compound page during isolation
    87c4e386b612 ksm: fix potential missing rmap_item for stable_node
    aa0d6d1d3e77 mm/migrate.c: fix potential indeterminate pte entry in migrate_vma_insert_page()
    9639a754cce5 mm/hugeltb: handle the error case in hugetlb_fix_reserve_counts()
    14d45fb5a3fc khugepaged: fix wrong result value for trace_mm_collapse_huge_page_isolate()
    51524fa8b5f7 arm64: entry: always set GIC_PRIO_PSR_I_SET during entry
    c9f43423c41e arm64: entry: factor irq triage logic into macros
    93dcaa8cba65 drm/radeon: Avoid power table parsing memory leaks
    79208af94738 drm/radeon: Fix off-by-one power_state index heap overwrite
    f551068f5f32 net: stmmac: Clear receive all(RA) bit when promiscuous mode is off
    340de910d65e xsk: Fix for xp_aligned_validate_desc() when len == chunk_size
    75ea98246903 netfilter: xt_SECMARK: add new revision to fix structure layout
    db5f1c6f776d sctp: fix a SCTP_MIB_CURRESTAB leak in sctp_sf_do_dupcook_b
    7afdd6aba95c ethernet:enic: Fix a use after free bug in enic_hard_start_xmit
    3d808916d256 block/rnbd-clt: Check the return value of the function rtrs_clt_query
    c1a90296a9b5 block/rnbd-clt: Change queue_depth type in rnbd_clt_session to size_t
    4aae6eb6af7d libbpf: Fix signed overflow in ringbuf_process_ring
    60bb2cecf47f sunrpc: Fix misplaced barrier in call_decode
    208af7ffc351 RISC-V: Fix error code returned by riscv_hartid_to_cpuid()
    f01988ecf365 sctp: do asoc update earlier in sctp_sf_do_dupcook_a
    65084886c6ee net: hns3: disable phy loopback setting in hclge_mac_start_phy
    5aa957e2b5fc net: hns3: use netif_tx_disable to stop the transmit queue
    90120c475dd7 net: hns3: fix for vxlan gpe tx checksum bug
    7a476a8a9cb6 net: hns3: add check for HNS3_NIC_STATE_INITED in hns3_reset_notify_up_enet()
    bd4d527ea5f7 net: hns3: initialize the message content in hclge_get_link_mode()
    5d326e253501 net: hns3: fix incorrect configuration for igu_egu_hw_err
    494ade7aba11 rtc: ds1307: Fix wday settings for rx8130
    5515b85e1a01 scsi: ufs: core: Narrow down fast path in system suspend path
    e8295def80b7 scsi: ufs: core: Cancel rpm_dev_flush_recheck_work during system suspend
    591602738e00 scsi: ufs: core: Do not put UFS power into LPM if link is broken
    429ac0fb8375 scsi: qla2xxx: Prevent PRLI in target mode
    bf45c9fe99aa ceph: fix inode leak on getattr error in __fh_to_dentry
    a01572e21f09 swiotlb: Fix the type of index
    04dad2ca1f5e xprtrdma: rpcrdma_mr_pop() already does list_del_init()
    eddae8be7944 xprtrdma: Fix cwnd update ordering
    89a31bf85c7b xprtrdma: Avoid Receive Queue wrapping
    b22e8f427c3d pwm: atmel: Fix duty cycle calculation in .get_state()
    0a9decf2dd4d SUNRPC: fix ternary sign expansion bug in tracing
    dd41a0e51532 dmaengine: idxd: fix cdev setup and free device lifetime issues
    975c4b2b9976 dmaengine: idxd: fix dma device lifetime
    5756f757c725 dmaengine: idxd: Fix potential null dereference on pointer status
    0f9d467ff139 rtc: fsl-ftm-alarm: add MODULE_TABLE()
    90e8fa8bdfb3 nfsd: ensure new clients break delegations
    b4bf335acacc NFSv4.x: Don't return NFS4ERR_NOMATCHING_LAYOUT if we're unmounting
    5d254e17ca86 thermal/drivers/tsens: Fix missing put_device error
    4f86a0a5eb61 SUNRPC: Handle major timeout in xprt_adjust_timeout()
    8efd19bf754b SUNRPC: Remove trace_xprt_transmit_queued
    7b906077fd99 SUNRPC: Move fault injection call sites
    bfeb4e607d00 NFSv4.2 fix handling of sr_eof in SEEK's reply
    1fbea60ea658 pNFS/flexfiles: fix incorrect size check in decode_nfs_fh()
    fd65cac30d45 PCI: endpoint: Fix missing destroy_workqueue()
    d21a5950cca6 NFS: Deal correctly with attribute generation counter overflow
    cbc868ea28a8 NFSv4.2: Always flush out writes in nfs42_proc_fallocate()
    a09afbb63620 NFS: Fix attribute bitmask in _nfs42_proc_fallocate()
    ce2b470added NFS: nfs4_bitmask_adjust() must not change the server global bitmasks
    0627cbc9b875 rpmsg: qcom_glink_native: fix error return code of qcom_glink_rx_data()
    b59194c7ca29 f2fs: fix to avoid accessing invalid fio in f2fs_allocate_data_block()
    1fd6a0641040 f2fs: Fix a hungtask problem in atomic write
    98ccee81fe96 f2fs: fix to cover __allocate_new_section() with curseg_lock
    105155a8146d f2fs: fix to avoid touching checkpointed data in get_victim()
    bbed83d7060e PCI: endpoint: Fix NULL pointer dereference for ->get_features()
    d5e85b92b457 PCI: endpoint: Make *_free_bar() to return error codes on failure
    d98bfd4cc258 PCI: endpoint: Add helper API to get the 'next' unreserved BAR
    5974766170d8 PCI: endpoint: Make *_get_first_free_bar() take into account 64 bit BAR
    8c8f7c49930d f2fs: fix to update last i_size if fallocate partially succeeds
    74d2b0e74c3f f2fs: fix to align to section for fallocate() on pinned file
    630146203108 ARM: 9064/1: hw_breakpoint: Do not directly check the event's overflow_handler hook
    ee93cdcbe0b5 PCI: Release OF node in pci_scan_device()'s error path
    c5c0ede221d7 PCI: iproc: Fix return value of iproc_msi_irq_domain_alloc()
    1ce0d1d3656b remoteproc: qcom_q6v5_mss: Validate p_filesz in ELF loader
    2ec65063e45a remoteproc: qcom_q6v5_mss: Replace ioremap with memremap
    2d6d5b4fc498 f2fs: fix a redundant call to f2fs_balance_fs if an error occurs
    1c20a4896409 f2fs: fix panic during f2fs_resize_fs()
    81ba1634d1b6 f2fs: fix to allow migrating fully valid segment
    de2041d92d2a f2fs: fix compat F2FS_IOC_{MOVE,GARBAGE_COLLECT}_RANGE
    b7ff0885de7e f2fs: move ioctl interface definitions to separated file
    997d24a932a9 thermal: thermal_of: Fix error return code of thermal_of_populate_bind_params()
    a1b5fecedfa9 ASoC: rt286: Make RT286_SET_GPIO_* readable and writable
    5b66867966bc watchdog: fix barriers when printing backtraces from all CPUs
    a68c246065b6 watchdog/softlockup: remove logic that tried to prevent repeated reports
    9413b1ee3858 watchdog: explicitly update timestamp when reporting softlockup
    018655f8758a watchdog: rename __touch_watchdog() to a better descriptive name
    1dc55c3a4862 ia64: module: fix symbolizer crash on fdescr
    602795e247d1 bnxt_en: Add PCI IDs for Hyper-V VF devices.
    d0736af81151 kbuild: generate Module.symvers only when vmlinux exists
    9401b7ff91f9 selftests: mlxsw: Fix mausezahn invocation in ERSPAN scale test
    dfa0e8461e99 selftests: mlxsw: Increase the tolerance of backlog buildup
    99d9989ee53b net: ethernet: mtk_eth_soc: fix RX VLAN offload
    320c50ff84a0 iavf: remove duplicate free resources calls
    6289b028b5e2 powerpc/iommu: Annotate nested lock for lockdep
    bece6aea3653 qtnfmac: Fix possible buffer overflow in qtnf_event_handle_external_auth
    ededc7325dc2 wl3501_cs: Fix out-of-bounds warnings in wl3501_mgmt_join
    83a7ed5b891c wl3501_cs: Fix out-of-bounds warnings in wl3501_send_pkt
    f3a5dee0f30c crypto: ccp: Free SEV device if SEV init fails
    22ab352fcab7 mt76: mt7615: fix entering driver-own state on mt7663
    5b02d6efdb1b drm/amdgpu: Add mem sync flag for IB allocated by SA
    8be5e713f725 drm/amd/display: add handling for hdcp2 rx id list validation
    fa9952e854c4 drm/amd/display: fixed divide by zero kernel crash during dsc enablement
    d98b03bfd0c7 powerpc/pseries: Stop calling printk in rtas_stop_self()
    799c3950680a samples/bpf: Fix broken tracex1 due to kprobe argument change
    d4b0dc31df99 net: sched: tapr: prevent cycle_time == 0 in parse_taprio_schedule
    05916c62f54a ethtool: ioctl: Fix out-of-bounds warning in store_link_ksettings_for_user()
    b506357ab8bb ASoC: rt286: Generalize support for ALC3263 codec
    33eee468f83a powerpc/smp: Set numa node before updating mask
    245f5ab5ce52 flow_dissector: Fix out-of-bounds warning in __skb_flow_bpf_to_target()
    d5716625f185 sctp: Fix out-of-bounds warning in sctp_process_asconf_param()
    136b0261f119 ALSA: hda/hdmi: fix race in handling acomp ELD notification at resume
    4ac5823083fa ASoC: Intel: sof_sdw: add quirk for new ADL-P Rvp
    e3a2982bf63f ALSA: hda/realtek: Add quirk for Lenovo Ideapad S740
    cc1956f8b278 kconfig: nconf: stop endless search loops
    06b0037e6f02 selftests: Set CC to clang in lib.mk if LLVM is set
    f9bc5e3f3f75 drm/amd/display: Force vsync flip when reconfiguring MPCC
    63e9abe35df9 iommu/amd: Remove performance counter pre-initialization test
    1097ecf826bc Revert "iommu/amd: Fix performance counter initialization"
    a027e6155bb4 ASoC: rsnd: call rsnd_ssi_master_clk_start() from rsnd_ssi_init()
    cc748965313b powerpc/mm: Add cond_resched() while removing hpte mappings
    26f98b2d97a8 iwlwifi: pcie: make cfg vs. trans_cfg more robust
    2bfc47dec5b8 cuse: prevent clone
    2c20c7d96e45 virtiofs: fix userns
    87fe0ca09b26 fuse: invalidate attrs when page writeback completes
    f1c230d75b47 mt76: mt7915: fix txpower init for TSSI off chips
    7eb1e84cfe28 mt76: mt76x0: disable GTK offloading
    bbd3d0014cc4 mt76: mt7615: support loading EEPROM for MT7613BE
    32b3e7e303bd rtw88: 8822c: add LC calibration for RTL8822C
    28c2a1d65088 pinctrl: samsung: use 'int' for register masks in Exynos
    2eac474900d3 mac80211: clear the beacon's CRC after channel switch
    437a4746e47e IB/hfi1: Correct oversized ring allocation
    d7592a5c376b coresight: Do not scan for graph if none is present
    8f7806174fdb MIPS: Loongson64: Use _CACHE_UNCACHED instead of _CACHE_UNCACHED_ACCELERATED
    2c098ad786d3 i2c: Add I2C_AQ_NO_REP_START adapter quirk
    c6d2f8ffb145 ASoC: rt5670: Add a quirk for the Dell Venue 10 Pro 5055
    6c9b2de44812 Bluetooth: btusb: Enable quirk boolean flag for Mediatek Chip.
    c87b052deaa8 ice: handle increasing Tx or Rx ring sizes
    eb28709c07a6 ASoC: Intel: bytcr_rt5640: Add quirk for the Chuwi Hi8 tablet
    7bd851a6d369 ip6_vti: proper dev_{hold|put} in ndo_[un]init methods
    b502a6a44066 net: hns3: add handling for xmit skb with recursive fraglist
    c56804f431db net: hns3: remediate a potential overflow risk of bd_num_list
    286b3ff9fd98 powerpc/32: Statically initialise first emergency context
    b9f9313c7501 selftests/powerpc: Fix L1D flushing tests for Power10
    2033dde6aa01 Bluetooth: check for zapped sk before connecting
    6421cdfbb6fb net: bridge: when suppression is enabled exclude RARP packets
    fccb35bbf75f net/sched: cls_flower: use ntohs for struct flow_dissector_key_ports
    a019b8d7dfd5 Bluetooth: initialize skb_queue_head at l2cap_chan_create()
    e0dc9e93f7fd Bluetooth: Set CONF_NOT_COMPLETE as l2cap_chan default
    b972f345a17a ALSA: bebob: enable to deliver MIDI messages for multiple ports
    d398f25007d5 ALSA: rme9652: don't disable if not enabled
    9df07b0661e7 ALSA: hdspm: don't disable if not enabled
    a950cd8cb05d ALSA: hdsp: don't disable if not enabled
    faed3150a436 i2c: bail out early when RDWR parameters are wrong
    18df2bc13b1f Bluetooth: Fix incorrect status handling in LE PHY UPDATE event
    879a96d817ed ASoC: rsnd: core: Check convert rate in rsnd_hw_params
    a2aeb5de26c1 net: stmmac: Set FIFO sizes for ipq806x
    c0a62a441bbd net/mlx5e: Use net_prefetchw instead of prefetchw in MPWQE TX datapath
    2d17c58a3a4f ASoC: Intel: bytcr_rt5640: Enable jack-detect support on Asus T100TAF
    3d1bede85632 tipc: convert dest node's address to network order
    a407b5881686 fs: dlm: flush swork on shutdown
    ff58d1c72edf fs: dlm: check on minimum msglen size
    ca973d2aeaf7 fs: dlm: add errno handling to check callback
    06d59d21cb05 fs: dlm: fix debugfs dump
    bd6017a942b9 ath11k: fix thermal temperature read
    21756f878e82 kvm: Cap halt polling at kvm->max_halt_poll_ns
    53d7eed0315a cpufreq: intel_pstate: Use HWP if enabled by platform firmware
    182f1f72af2e PM: runtime: Fix unpaired parent child_count for force_resume
    e97da47e9be0 ACPI: PM: Add ACPI ID of Alder Lake Fan
    bfccc4eade2b KVM/VMX: Invoke NMI non-IST entry instead of IST entry
    21f317826e17 KVM: x86/mmu: Remove the defunct update_pte() paging hook
    53171e68a509 tpm, tpm_tis: Reserve locality in tpm_tis_resume()
    923866165610 tpm, tpm_tis: Extend locality handling to TPM2 in tpm_tis_gen_interrupt()
    8fe5a459186a tpm: fix error return code in tpm2_get_cc_attrs_tbl()
    31c9a4b24d86 KEYS: trusted: Fix memory leak on object td

(From OE-Core rev: d9a05d2c6252f53819cc7b4c9d2062ebb64f4299)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-25 22:36:09 +01:00
Khem Raj
a93e743e21 glibc: Enable memory tagging for aarch64
Glibc on aarch64 has a memory tagging option that can be enabled
via GLIBC_TUNABLES="glibc.mem.tagging=$SOMETHING" when glibc
is built with memory tagging support and the kernel/HW supports
MTE. There should be no side effects unless the user turns it
on with approprate HW support

Linux 5.4 headers and binutils 2.33.1 or newer is needed.

(From OE-Core rev: f6521f85f783dc7565eb0c0046de59aa945423e5)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-25 22:36:09 +01:00
Alexander Kanavin
33d1dbeeba systemtap: update 4.4 -> 4.5
Drop 0001-transport-protect-include-and-callsite-with-same-con.patch
as upstream made the same change:
https://sourceware.org/git/?p=systemtap.git;a=commitdiff;h=0d80048e02ecf6876c9f9ebeea387af9fb2a8051

(From OE-Core rev: 1d207eac08d9392b0ae53a2e740aabad72e57750)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-25 22:36:09 +01:00
Alexander Kanavin
58515daf6b curl: update 7.76.0 -> 7.76.1
(From OE-Core rev: 3876bb2365be7600951ff27dd055eb52773d032b)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-25 22:36:09 +01:00
Alexander Kanavin
aedca3cf87 harfbuzz: update 2.8.0 -> 2.8.1
fontconfig option has been removed upstream as fontconfig
hasn't been used for anything.

(From OE-Core rev: 6606c019279fb17d16e7b9f31c4c8f54c2721933)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-25 22:36:09 +01:00
Alexander Kanavin
c8559d16c2 libdnf: update 0.62.0 -> 0.63.0
(From OE-Core rev: 5d515290ba31c35d860d03e5313239610025f2da)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-25 22:36:09 +01:00
Alexander Kanavin
0c06a3b65d cmake: update 3.20.1 -> 3.20.2
(From OE-Core rev: fdc7283a05fa45c2a8fe7369ef741b61e26909e7)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-25 22:36:09 +01:00
Alexander Kanavin
d44269179a apt: upgrade 2.2.2 -> 2.2.3
(From OE-Core rev: 78fb660b67488bdd7e29ca606c22d0a06c5a309f)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-25 22:36:09 +01:00
Alexander Kanavin
dfae094307 glib-2.0: update 2.68.1 -> 2.68.2
(From OE-Core rev: 19b459c60f40d0fa6b1d6d439346b846b11a60fd)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-25 22:36:09 +01:00
Alexander Kanavin
5477beb7db webkitgtk: update 2.32.0 -> 2.32.1
Drop 49a19c49c6de8af74e521f36cb43e6c1ec2e391c.patch
(backport)
0001-Fix-build-with-musl.patch
(problem fixed upstream).

(From OE-Core rev: b824f728c9f78c9c5777987a17bfd794c60ad0ec)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-25 22:36:09 +01:00
Alexander Kanavin
8c18e3c062 libgpg-error: update 1.41 -> 1.42
(From OE-Core rev: 9d08ba366260a161c34b81ad6d9e52fe970e83d3)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-25 22:36:09 +01:00
Alexander Kanavin
2267eebd65 vulkan-samples: update to latest revision
(From OE-Core rev: 482c3509bccfde031100c60b641bcada659c981a)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-25 22:36:08 +01:00
Alexander Kanavin
8579142183 mesa: update 21.0.3 -> 21.1.1
License-Update: typo fix

(From OE-Core rev: 2b91620cdb2047fd3df8e951a80142b67af85f26)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-25 22:36:08 +01:00
Alexander Kanavin
83bb5e110d igt-gpu-tools: upgrade 1.25 -> 1.26
Drop patches merged upstream.

(From OE-Core rev: 8f97315e2fbec7308b77d5b53077014bbd973c53)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-25 22:36:08 +01:00
Alexander Kanavin
eb2327bc7d gsettings-desktop-schemas: upgrade 3.38.0 -> 40.0
(From OE-Core rev: 0e8fcd88678a073a51fb386117f946a0b4a56ee5)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-25 22:36:08 +01:00
Alexander Kanavin
dc5bbd2607 gnomebase: trim the SRC_URI directory from the back
Rather than take the first two components, drop the last one at the end.
This makes it compatible with both old and new gnome version schemes.

(From OE-Core rev: fa8950d0cf6174ce517275fe44df9e4c0788d5f0)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-25 22:36:08 +01:00
Alexander Kanavin
9be54cb3dc at: upgrade 3.2.1 -> 3.2.2
Drop a script in /usr/share as purpose is unclear
(nothing references it), and it pulls in bash without need.

(From OE-Core rev: 19b259d421aa878047104b92141c4d67963fc4e0)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-25 22:36:08 +01:00
Alexander Kanavin
08e3dcb340 python3-smartypants: fix upstream version check
Upstream has never published the 2.0.1 tarball.

(From OE-Core rev: 00f3ebbab50182ad5b948f266480cf30f9eb1d33)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-25 22:36:08 +01:00
Alexander Kanavin
e18350d44f mmc-utils: update to latest revision
Drop patch as upstream has fixed the issue.

(From OE-Core rev: 656894bc388bc5c65e2b7cc4a34642bf17db89bf)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-25 22:36:08 +01:00
Alexander Kanavin
f663b9512b gnu-config: update to latest revision
(From OE-Core rev: ae9d04e9bb517fb66ad84d09269aea2c59ae8ed8)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-25 22:36:08 +01:00
Alexander Kanavin
ca78d0c159 systemd-conf: do not version in lockstep with systemd
This is not needed as systemd-conf only packages
standalone config files.

(From OE-Core rev: 02bebaaf927e2cf5326bcae1de10cd4a82fd9495)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-25 22:36:08 +01:00
Khem Raj
0c3bea895e systemd: Fix 248.3 on musl
(From OE-Core rev: 7a6009a8a9eee36724672610569f1db08615cf50)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-25 22:36:08 +01:00
Alexander Kanavin
4cac662d7d systemd: update 247.6 -> 248.3
Drop backports:
48fff0a2af3f62acd446ebec8081b039b72caad8.patch
7c5fd25119a495009ea62f79e5daec34cc464628.patch
0001-analyze-resolve-executable-path-if-it-is-relative.patch
0001-analyze-resolve-executable-path-if-it-is-relative.patch

Drop 0027-proc-dont-trigger-mount-error-with-invalid-options-o.patch
as difficult to rebase; please resend if you feel strongly that
it is needed.

Rebase the big pile of musl patches.

(From OE-Core rev: e8dd5a36bf2f1e645fb2ff15eb3b5e97c04776e6)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-25 22:36:08 +01:00
Chen Qi
f003e6015f xxhash: backport patch to fix special char problem
When building nativesdk-xxhash, we get error like below.

   Makefile:422: *** configured libdir (/opt/poky/3.3+snapshot/sysroots/x86_64-pokysdk-linux/usr/lib) is outside of
   exec_prefix (/opt/poky/3.3+snapshot/sysroots/x86_64-pokysdk-linux/usr), can't generate pkg-config file.  Stop.

This is because we have '+' in the path.

Backport a patch to fix this problem.

(From OE-Core rev: 0f328cd36fe10e0d1d865ada45ca4f118007956c)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-25 22:36:08 +01:00
Changqing Li
f3ea5898cb unfs3: correct configure option
On some new distro like ubuntu21.04, unfs3-native compile failed with
error: undefined reference to `xdr_uint32', since new distro has new
glibc.

>From glibc 2.27 rpc support is dropped, so unfs3 need to link to
libtirpc.

Here is defination of ac_link:
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'

Depended library should be added into LIBS, not LDFLAGS, otherwise,
gcc may not load the lib since it is before conftest.$ac_ext during
configure. Finally, it results in compile failed.

(From OE-Core rev: 27867862c1fee6c0e649286500fa1ab015d57faf)

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-25 22:36:08 +01:00
Khem Raj
d7daabfbd7 glibc: Update to latest 2.33 branch
Drop backported patches
Add CVE-2021-27645 to CVE_CHECK_WHITELIST and drop the patch as its also
upstreamed

Changes in the version bump are

* 3f5080aedd nptl: Do not build nptl/tst-pthread-gdb-attach as PIE
* 36783141cf nptl: Check for compatible GDB in nptl/tst-pthread-gdb-attach
* ea299b62e8 nptl_db: Support different libpthread/ld.so load orders (bug 27744)
* 162df872f0 x86: tst-cpu-features-supports.c: Update AMX check
* 12ff80b312 Remove PR_TAGGED_ADDR_ENABLE from sys/prctl.h
* 1bf38e7260 Fix SXID_ERASE behavior in setuid programs (BZ #27471)
* a7b8e8ec9b Enhance setuid-tunables test
* ee16c81063 tst-env-setuid: Use support_capture_subprogram_self_sgid
* 267e174f19 support: Add capability to fork an sgid child
* 249c486ce8 support: Pass environ to child process
* 45b2c57d34 support: Typo and formatting fixes
* e07abf59b2 tunables: Fix comparison of tunable values
* 3e9ca60a58 linux: always update select timeout (BZ #27706)
* 8380ca5833 linux: Normalize and return timeout on select (BZ #27651)
* 85e4dc415a libsupport: Add support_select_normalizes_timeout
* b5b4aa62c1 libsupport: Add support_select_modifies_timeout
* 3d525dd639 misc: Fix tst-select timeout handling (BZ#27648)
* 830674605f tst: Provide test for select
* e78ea9bd26 Update Nios II libm-test-ulps.
* 98bb18f52a malloc: Fix a realloc crash with heap tagging [BZ 27468]
* fc4ecce85b S390: Also check vector support in memmove ifunc-selector [BZ #27511]
* db32fc27e7 test-container: Always copy test-specific support files [BZ #27537]
* 79c6be6a0a nptl: Remove private futex optimization [BZ #27304]
* f90d6b0484 pthread_once hangs when init routine throws an exception [BZ #18435]
* dd8023c2ac elf: ld.so --help calls _dl_init_paths without a main map [BZ #27577]
* ea5a537e87 elf: Always set l in _dl_init_paths (bug 23462)
* 64f6c287ad x86: Handle _SC_LEVEL1_ICACHE_LINESIZE [BZ #27444]
* 32b9280f1d io: Return EBAFD for negative file descriptor on fstat (BZ #27559)
* a151f2e05a nscd: Fix double free in netgroupcache [BZ #27462]
* ee9f98d9ca x86: Set minimum x86-64 level marker [BZ #27318]
* 3e880d7337 nss: Re-enable NSS module loading after chroot [BZ #27389]
* 71b2463f61 x86: Add CPU-specific diagnostics to ld.so --list-diagnostics
* a1eb3915e7 x86: Automate generation of PREFERRED_FEATURE_INDEX_1 bitfield
* 33dc1dd602 ld.so: Implement the --list-diagnostics option
* 8d4241b897 string: Work around GCC PR 98512 in rawmemchr
* 6efa2d44c8 S390: Add new hwcap values.
* c5e3545897 tunables: Disallow negative values for some tunables
* 905fdc7071 x86: Use SIZE_MAX instead of (long int)-1 for tunable range value
* 15afd6b8d8 tunables: Simplify TUNABLE_SET interface
* 17f0ff0978 nsswitch: return result when nss database is locked [BZ #27343]

(From OE-Core rev: c6fb9b80ecb0a4e7970157774ce9add12e9ef3ea)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-25 22:36:08 +01:00
Michael Halstead
c23a25e607 releases: update to include 3.3.1
Adding 3.3.1 to documentation switcher and release list.

(From yocto-docs rev: db80bb70d9bea7008cb6b2795c8f617b1486ca03)

Signed-off-by: Michael Halstead <mhalstead@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-25 22:26:34 +01:00
Chen Qi
0c762158ca rt-tests: update SRCREV
The commit '6af88067da16c6e69243b376c3b6454ec694460b' is not available
in the repo any more. I think it's due to some mis-operation of the upstream
repo in the past few hours.

Update the SRCREV to use the latest commit on unstable/devel/latest branch.

Also, set PV explicitly and remove the obsolete comment.

(From OE-Core rev: 42f1c751bbaa2cc0a0abe874878b8bbbda250d02)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-25 10:06:24 +01:00
Alexander Kanavin
6e0d7b32db gdk-pixbuf: update a patch status
(From OE-Core rev: 6b4a5608dfacc1e82cd19bfa71ae9013673c64c1)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-25 10:06:24 +01:00
Daniel McGregor
003fa5200f bison: Make libtextstyle and libreadline optional
Bison opportunistically enables libtextstyle and libreadline support
if they're installed on the build host. Since textstyle and readline
aren't part of uninative avoid host contamination by making their
support configurable and disabled by default in the native case.

(From OE-Core rev: 286e60702aa1d8448efc703fa40735e079e6a027)

Signed-off-by: Daniel McGregor <daniel.mcgregor@vecima.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-25 10:05:19 +01:00
Ming Liu
c20055e8bb uboot-sign/kernel-fitimage: split generate_rsa_keys task
Currently generate_rsa_keys tasks are being executed parallelly in
kernel and uboot's task list, and both of them are calling openssl to
generate rsa keys in same path, this can lead to race condition.

Let's split it to kernel_generate_rsa_keys and uboot_generate_rsa_keys.

(From OE-Core rev: 36814f5467c9abd84aeb05916b4fd49f766f4f9f)

Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-25 10:05:19 +01:00
Ming Liu
0ce91adbbf kernel-fitimage.bbclass: drop unit addresses from bootscr sections
In commit 6047be9f:
[ kernel-fitimage: Don't use unit addresses on FIT ]

It had dropped unit addresses from FIT image but missed on bootscr
part.

Drop unit addresses from bootscr sections in this patch.

(From OE-Core rev: 0ef3a5e2a6d4507c8d9bc6143f9aa65e6cdb1ed7)

Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-25 10:05:19 +01:00
Samuli Piippo
e7cc8ac2d3 gcc-cross-canadian: add symlinks for ld.bfd and ld.gold
When -fuse-ld gcc option is used, missing ld.bfd or ld.gold symlinks
can lead to linker error:

collect2: fatal error: cannot find 'ld'

(From OE-Core rev: 9ec1cd0a1e4cc2740be37585231279adf91c47d7)

Signed-off-by: Samuli Piippo <samuli.piippo@qt.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-25 10:05:18 +01:00
Robert P. J. Day
0411a1e027 ref-manual: add links to some variables in glossary
Add some links to a small set of glossary variables that I happened
to be perusing at the time.

(From yocto-docs rev: d71d8da78285f2314bfd27a821b26434e39622a8)

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-22 12:16:41 +01:00
Michael Opdenacker
5871eeea6e manuals: simplify style
(From yocto-docs rev: 3332ee547cde0f2f8718f83d526b21339b0a8901)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-22 12:16:41 +01:00
Michael Opdenacker
31f1d4d331 overview-manual: simplify style and add missings references
(From yocto-docs rev: 4a07947dbe0dd70fd1d528a207d663dfdca2b7c1)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-22 12:16:41 +01:00
Michael Opdenacker
42f6423cc8 sdk-manual: simplify style and fix formating
(From yocto-docs rev: fffd2ce4c9efbdeb75b7afd6f4f2ce4ffca517ad)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-22 12:16:41 +01:00
Michael Opdenacker
5386f28c44 dev-manual: simplify style
(From yocto-docs rev: a8b3c1a5cbfa7fb0bca0d7dd8f38ac59acf032fa)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-22 12:16:41 +01:00
Michael Opdenacker
020562cfbc kernel-dev manual: simplify style
(From yocto-docs rev: 5bbbed35175ffcabb24bcac305d17563b8d9b9e3)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-22 12:16:40 +01:00
Michael Opdenacker
4db4e4ca46 ref-manual: simplify style
(From yocto-docs rev: 657a7f54856afd6fec7f2cb0b5f12b4b2d24adb7)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-22 12:16:40 +01:00
Armin Kuster
68ee5b4bcc poky.yaml: fedora33: add missing pkgs
[ Yocto #14188]

The following packages where needed to a fresh FC33 install
perl-FindBin
perl-File-Compare
perl-File-Copy
perl-locale

Error seen:

openssl-native-1.1.1g-r0 do_configure: Execution of '/{snipped}/build/tmp-glibc/work/x86_64-linux/openssl-native/1.1.1g-r0/temp/run.do_configure.14627' failed with exit code 2:
Can't locate FindBin.pm in @INC (you may need to install the FindBin module)

(From yocto-docs rev: 5b4127dd72a465ff8c962c425e78140ca8e536db)

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-22 12:16:40 +01:00
Ross Burton
c17083af21 ref-manual: Ubuntu 20.04 is also LTS
(From yocto-docs rev: e7b7ec18c27b34e96de9b576b8bfe518f7466bff)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-22 12:16:40 +01:00
Ming Liu
08dee904c1 initramfs-framework:rootfs: fix wrong indentions
(From OE-Core rev: cd4d76f43c6ead9f32dece1faa9c9c5da895d9cd)

Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-22 09:59:04 +01:00
Ming Liu
64b736ce08 kernel-fitimage.bbclass: fix a wrong conditional check
It should check if "${UBOOT_SIGN_ENABLE}" equals to "1" instead of
checking if "${UBOOT_SIGN_ENABLE}" is not empty since it could be "0".

(From OE-Core rev: 900949af7fe357ee66065ba150b0b1914e8ca581)

Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-22 09:59:04 +01:00
Richard Purdie
b73c484a58 ltp: Disable problematic tests causing autobuilder hangs
We've seen three hangs in cgroup_xattr and two in proc01 so far. The new
plan is just to disable any tests seen to hang. I've had enough of these
causing problems on our testing infrastructure.

(From OE-Core rev: 0cc8d4e27e5d3024e35ad877622f32f9bb4819a4)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-22 09:59:04 +01:00
Tony Tascioglu
91ffc0a96c libxml2: Update to 2.9.12
Drop CVE patches which are fixed by the new upstream version.

Modify conflicting patches to apply to the new versions:
   libxml2/libxml-m4-use-pkgconfig.patch
   libxml2/0001-Make-ptest-run-the-python-tests-if-python-is-enabled.patch

Drop fix-python39, which is merged upstream.

Removed hunk for tstLastError.py from
   libxml2/0001-Make-ptest-run-the-python-tests-if-python-is-enabled.patch
since it has been fixed upstream by:

   8c3e52e: Updated python/tests/tstLastError.py

   libxml2.registerErrorHandler(None,None):
   None is not acceptable as first argument
   failUnlessEqual replaced by assertEqual

The checksums for the licence file changed because a typo was fixed
across the files. The licence remains the same.
The obsolete MD5 checksums for the tar files have been dropped in
favor of SHA256.

The new release also adds fuzz tests, which are removed from the
makefile to allow the ptests to run. Fuzz testing is done upstream
and there is no need to run them as part of ptests which are
intended for functionality testing.

(From OE-Core rev: c7c429d05ca51b0404f09981f6c9bcad7dc33222)

Signed-off-by: Tony Tascioglu <tony.tascioglu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-21 15:18:23 +01:00
hongxu
d2ddc7020f gdk-pixbuf: fix nativesdk do_configure failed
Since commit [92fc28498f gdk-pixbuf: rewrite the cross-build support
for tests] applied, it add meson option -Duse_prebuilt_tools=true to
taget.

Add the same option for nativesdk to fix do_configure failure
|../gdk-pixbuf-2.42.6/thumbnailer/meson.build:32:0: ERROR: Arrays do not
have a method called 'full_path'

(From OE-Core rev: 4781dad55cc0449a3dc52914e2b6f9eace91158e)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-21 15:18:23 +01:00
Khem Raj
2a67800b8c xorgproto: Upgrade to 2021.4 release
(From OE-Core rev: 46a223866fcedafc63543a052721d19560d1792b)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-21 15:18:23 +01:00
Khem Raj
2a6baee654 libxfixes: Update to 6.0.0 release
(From OE-Core rev: 71b53b096e66da4923cc4a79c429f3d5d3469d84)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-21 15:18:23 +01:00
zhengruoqin
74f6ed497f rxvt-unicode: upgrade 9.22 -> 9.26
0001-libev-remove-deprecated-throw-specification.patch
removed since it is included in 9.26

(From OE-Core rev: 62342c91c7aaa27cbc83d9f9421205d879b32d3a)

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-21 15:18:23 +01:00
zhengruoqin
00b76b33d4 python3-sortedcontainers: upgrade 2.3.0 -> 2.4.0
(From OE-Core rev: c8c4e324eccc816432381d61b94c6ec13e25d634)

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-21 15:18:23 +01:00
zhengruoqin
477a49b391 python3-importlib-metadata: upgrade 3.10.1 -> 4.0.1
(From OE-Core rev: 4dc1d078ea224659592b9c072701ab965718853c)

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-21 15:18:23 +01:00
wangmy
712f4403da libtasn1: upgrade 4.16.0 -> 4.17.0
file LICENSE renamed to COPYING.

(From OE-Core rev: 52e30a0344e727527cc3f498aa09bbbdfa1c2f47)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-21 15:18:23 +01:00
wangmy
87b81715c0 libidn2: upgrade 2.3.0 -> 2.3.1
-License-Update: Copyright year updated to 2021.

(From OE-Core rev: 25646e0608610a88be49de8d50b8965ddea8268a)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-21 15:18:23 +01:00
wangmy
c4f8deca96 libdrm: upgrade 2.4.105 -> 2.4.106
(From OE-Core rev: a7dfd075e5a809be3728d4e0041caf23cf3c5258)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-21 15:18:23 +01:00
wangmy
206b26ecd4 distcc: upgrade 3.3.5 -> 3.4
(From OE-Core rev: 572d446cca38d564e462ccc5d8f7bcf1648433b0)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-21 15:18:23 +01:00
Alejandro Hernandez Samaniego
9f0cbdf2c1 baremetal-image: Fix post process command rootfs_update_timestamp
When running:

execute_pre_post_process(d, d.getVar(ROOTFS_POSTPROCESS_COMMAND))

rootfs_update_timestamp is run, which assumes that rootfs/${sysconfdir}
is already created (usually done through the do_rootfs task on linux).

This causes the build to fail if ${sysconfdir} does not exist.

This may be overlooked if debug-tweaks is enabled since some other
commands are added, one of which creates the required path
(see postinst_enable_logging).

See [1] for more info:

[1] https://github.com/aehs29/meta-freertos/issues/4

(From OE-Core rev: 04791272e0cc104450cae6ab89b9d8e866457a0b)

Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandro@enedino.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-21 15:18:23 +01:00
Martin Jansa
95bca793e4 sstatesig.py: make it fatal error when sstate manifest isn't found
* all known issues in this area were fixed, make it fatal that it
  cannot be overlooked if someone triggers this issue again

(From OE-Core rev: 64b89f3c8fc31842256c482a3039d90d3f12c1cc)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-21 15:18:23 +01:00
Khem Raj
180d2fb8b1 musl: Fix __NR_fstatat syscall name for riscv
(From OE-Core rev: 3bd71e31ea535c5ad480c2d97110ff0b4b290555)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-21 15:18:23 +01:00
Daniel McGregor
497b5b3329 sstate: Ignore sstate signing key
What key is used to sign sstate artefacts should not affect the hash of
the object, otherwise everyone would need to use the same signing key.

(From OE-Core rev: 57cc9429dba4f9bd23127633dbc1f57dc2d5dd16)

Signed-off-by: Daniel McGregor <daniel.mcgregor@vecima.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-21 15:18:23 +01:00
Daniel McGregor
0dad484097 lib/oe/gpg_sign.py: Fix gpg verification
A stray space made it into the command for verifying gpg signatures.
This caused verification to fail, at least on my host. Removing the
space makes it work as expected.

(From OE-Core rev: af1d948822cbe6ac7ede9cb4e881db8dc780e308)

Signed-off-by: Daniel McGregor <daniel.mcgregor@vecima.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-21 15:18:23 +01:00
Alexander Kanavin
dd11f1c535 u-boot: upgrade 2021.01 -> 2021.04
(From OE-Core rev: 9da492e576b2d7190130224c486ba22675dce416)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-21 15:18:23 +01:00
Richard Purdie
ba333719d6 cve-extra-exclusions.inc: Clean up merged CPE updates
(From OE-Core rev: d2ba6d58e77430cceeca9db61fdb06882a92e1e7)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-21 15:18:23 +01:00
Richard Purdie
8b9bd26295 grub: Exclude CVE-2019-14865 from cve-check
The CVE only applies to RHEL.

(From OE-Core rev: 8cfc3ebe50facb7e34e778f3e264b26cfae20a04)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-21 15:18:23 +01:00
Richard Purdie
8893cd87f3 cve-extra-exclusions: Fix typos
(From OE-Core rev: d4d4644e7c127e8b88b180635124e8afc905c69e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-20 18:14:47 +01:00
Richard Purdie
4e9513b2c3 rpm: Drop CVE exclusion as database fixed to handle
Didn't think this might make it in but it has, we can drop the exclusion.

(From OE-Core rev: 64456aed7514d611a242c210375c01d7f4048de2)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-20 12:32:28 +01:00
Richard Purdie
1376f22693 cve-extra-exclusions.inc: add exclusion list for intractable CVE's
The preferred methods for CVE resolution are:

1. Version upgrades where possible
2. Patches where not possible
3. Database updates where version info is incorrect
4. Exclusion from checking where it is determined that the CVE
   does not apply to our environment

In some cases none of these methods are possible. For example the
CVE may be decades old with no apparent resolution, and with broken
links that make further research impractical. Some CVEs are vauge
with no specific action the project can take too.

This patch creates a mechanism for users to remove this type of
CVE from the cve-check results via an optional include file.

Based on an initial patch from Steve Sakoman <steve@sakoman.com>
but extended heavily by RP.

(From OE-Core rev: cf282ae03db3f09df42dcd110d7086c2d854642c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-20 12:30:32 +01:00
Richard Purdie
c124290d90 glibc: Add 8GB VM usage cap for usermode test suite
We've noticed that:

MACHINE=qemuarm oe-selftest -r glibc.GlibcSelfTest.test_glibc

ends up with one process growing to about the size of system memory
and triggering the OOM killer. This has been taking out other builds
running on the system on the autobuilders and is one cause of our
intermittent failures.

This was tracked down to:

WORKDIR=XXX/tmp/work/armv7vet2hf-neon-poky-linux-gnueabi/glibc-testsuite/2.33-r0
BUILDDIR=$WORKDIR/build-arm-poky-linux-gnueabi QEMU_SYSROOT=$WORKDIR/recipe-sysroot
QEMU_OPTIONS="$WORKDIR/recipe-sysroot-native/usr/bin/qemu-arm -r 3.2.0" \
$WORKDIR/check-test-wrapper user env GCONV_PATH=$BUILDDIR/iconvdata LOCPATH=$BUILDDIR/localedata LC_ALL=C $BUILDDIR/elf/ld-linux-armhf.so.3 \
    --library-path $BUILDDIR:$BUILDDIR/math:$BUILDDIR/elf:$BUILDDIR/dlfcn:$BUILDDIR/nss:$BUILDDIR/nis:$BUILDDIR/rt:$BUILDDIR/resolv:$BUILDDIR/mathvec:$BUILDDIR/support:$BUILDDIR/nptl \
    $BUILDDIR/nptl/tst-pthread-timedlock-lockloop

although other glibc tests appear to use 16GB of memory before failing
anyway. By capping the VM size to 8GB, we see the same number of failures
but no OOM situations. There may be some issue in qemu or the test which
could be improved to avoid this entirely but this provides a necessary
and useful safeguard to other builds and doensn't appear to make the
situation worse.

On a loaded system OOM may not occur as the test timeout may be triggered
first. An experiment with a 5GB limit showed an additional 7 failures.

(From OE-Core rev: 58d4f669bd46805669daf87626350fe9359feca5)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-20 12:27:54 +01:00
Michael Halstead
c5616806e7 uninative: Upgrade to 3.2 (gcc11 support)
This upgrade builds unnative with gcc11 allowing it to work with newer distros
using gcc 11.

(From OE-Core rev: a1c7b71c109ca68931d098f4149ab8284d56108e)

Signed-off-by: Michael Halstead <mhalstead@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-20 12:27:54 +01:00
Alexander Kanavin
3160736075 local.conf: Drop support for mklibs
This is not enabled or tested by default, and has never been
ported to python 3 upstream[1], which means it doesn't work at all
with plain poky. If you need it, please put it in a separate layer
and/or modernize to work with py3.

https://salsa.debian.org/installer-team/mklibs/-/blob/master/src/mklibs

(From meta-yocto rev: c8c8f284eb2abe7e1352850a885454487cc01986)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-18 23:53:47 +01:00
Richard Purdie
2f12a20935 bitbake: server/process: Handle error in heartbeat funciton in OOM case
We've seen cases where an OOM error causes bitbake server to hang:

9171 02:21:09.127810 Command Completed
Traceback (most recent call last):
  File "/home/pokybuild/yocto-worker/qemux86/build/bitbake/bin/bitbake-server", line 51, in <module>
    bb.server.process.execServer(lockfd, readypipeinfd, lockname, sockname, timeout, xmlrpcinterface)
  File "/home/pokybuild/yocto-worker/qemux86/build/bitbake/lib/bb/server/process.py", line 550, in execServer
    server.run()
  File "/home/pokybuild/yocto-worker/qemux86/build/bitbake/lib/bb/server/process.py", line 108, in run
    ret = self.main()
  File "/home/pokybuild/yocto-worker/qemux86/build/bitbake/lib/bb/server/process.py", line 242, in main
    ready = self.idle_commands(.1, fds)
  File "/home/pokybuild/yocto-worker/qemux86/build/bitbake/lib/bb/server/process.py", line 370, in idle_commands
    bb.event.fire(heartbeat, self.cooker.data)
  File "/home/pokybuild/yocto-worker/qemux86/build/bitbake/lib/bb/event.py", line 216, in fire
    fire_class_handlers(event, d)
  File "/home/pokybuild/yocto-worker/qemux86/build/bitbake/lib/bb/event.py", line 123, in fire_class_handlers
    execute_handler(name, handler, event, d)
  File "/home/pokybuild/yocto-worker/qemux86/build/bitbake/lib/bb/event.py", line 93, in execute_handler
    ret = handler(event)
  File "/home/pokybuild/yocto-worker/qemux86/build/meta/classes/buildstats.bbclass", line 182, in defaultrun_buildstats
    write_host_data(os.path.join(bsdir, "host_stats"), e, d, "interval")
  File "/home/pokybuild/yocto-worker/qemux86/build/meta/classes/buildstats.bbclass", line 160, in write_host_data
    output = subprocess.check_output(c.split(), stderr=subprocess.STDOUT, timeout=limit).decode('utf-8')
  File "/usr/lib/python3.6/subprocess.py", line 356, in check_output
    **kwargs).stdout
  File "/usr/lib/python3.6/subprocess.py", line 423, in run
    with Popen(*popenargs, **kwargs) as process:
  File "/usr/lib/python3.6/subprocess.py", line 729, in __init__
    restore_signals, start_new_session)
  File "/usr/lib/python3.6/subprocess.py", line 1295, in _execute_child
    restore_signals, start_new_session, preexec_fn)
OSError: [Errno 12] Cannot allocate memory

We need to wrap the calls in the same high level wrapper as idle function calls
and trigger an exit upon an unhandled exception.

(Bitbake rev: 74042b5b89d5a170013fc1a327ce3a6530fbf7d5)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-18 23:53:15 +01:00
Richard Purdie
e109bdae37 Revert "cml1.bbclass: Return sorted list of cfg files"
This reverts commit dee41e92f0.

This patch breaks cases where some config files make changes to earlier ones,
ordering is important. The reproducibility issue in busybox was elsewhere.

(From OE-Core rev: ab0a296607b58775e91948ba40956c666dbb1244)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-18 23:52:54 +01:00
Ross Burton
d686afb18f python3: update status on upstreamed patch
(From OE-Core rev: 319fb2d804b193d39d78010115e28a31b4f9f6e9)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-18 23:52:54 +01:00
Tony Tascioglu
16fce99695 libxml2: Add bash dependency for ptests.
Before, running ptests on core-image-minimal would result in
an error due to missing /bin/bash:

   [ -d test   ] || ln -s ../libxml2-2.9.10/test   .
   make: /bin/bash: No such file or directory
   make: *** [Makefile:2105: runtests] Error 127

Changing the Makefile to use /bin/sh results in some of the
tests failing, so I have added the missing dependancy on bash.

(From OE-Core rev: d2e81298c446aec8d7fcf61fd5023ac30350f205)

Signed-off-by: Tony Tascioglu <tony.tascioglu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-18 23:52:54 +01:00
Tony Tascioglu
d05cebc52b libxml2: Reformat runtest.patch
Reformatted runtest.patch to allow it to be applied using git am.
This makes it easier to apply the series of patches to the original git repo.

There are no changes to the code of the patch other than the reformat.

Previously, the patch claimed to be a backport, but I have not found an
upstream commit so I've changed the Upstream-Status to pending.

(From OE-Core rev: 0361d625e1573e846a2f03ed90a8b897bc405160)

Signed-off-by: Tony Tascioglu <tony.tascioglu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-18 23:52:54 +01:00
Stefan Ghinea
8ab36da6e8 boost: fix do_fetch failure
Bintray service has been discontinued causing boost do_fetch to fail:
WARNING: boost-1.76.0-r0 do_fetch: Failed to fetch URL
https://dl.bintray.com/boostorg/release/1.76.0/source/boost_1_76_0.tar.bz2,
attempting MIRRORS if available

(From OE-Core rev: 6a76da15ece9d27fca20ace12db4978092e042b7)

Signed-off-by: Stefan Ghinea <stefan.ghinea@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-18 23:52:54 +01:00
Khem Raj
9b0221fd8b gcc: Refresh patch to fix patch fuzz
This is due to previous patches editing common files from this patch

Fixes
ERROR: gcc-source-11.1.0-11.1.0-r0 do_patch: Fuzz detected:

Applying patch 0028-Add-ssp_nonshared-to-link-commandline-for-musl-targe.patch
patching file gcc/config/linux.h
Hunk #1 succeeded at 203 with fuzz 1 (offset 8 lines).
patching file gcc/config/rs6000/linux.h
patching file gcc/config/rs6000/linux64.h

(From OE-Core rev: d8c3f3a1872a41cc4788ff3d9f42c13debedabd2)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-18 23:52:54 +01:00
Khem Raj
87635fa01c gcc: Extend .gccrelocprefix section support to musl configs
musl includes were not using the relocatable prefix like glibc
counterpart, this will mean that musl SDKs will behave better and find
the headers in right install directories

(From OE-Core rev: 8cb141306f13fa6e25c89c104af9ad0af431eb5d)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-18 23:52:54 +01:00
Khem Raj
3b0603391b gcc: Add target gcc include search for musl config too
Musl has different search order and therefore injects it
via INCLUDE_DEFAULTS and does not use the defaults from
gcc/cppdefaults.h, this ensures that same fix is extended
to musl configs too where it can search for compiler headers
It will fix builds with musl where omp.h is not found because
it is in gcc includes path on target ( not cross ) sysroot

(From OE-Core rev: 3ff688ca02dcc4c0187d1ddc214ec0c74b4e73f1)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-18 23:52:54 +01:00
Bruce Ashfield
6938faf9d1 kernel-devsrc: adjust NM and OBJTOOL variables for target
v5.13 has started storting the values for NM and OBJTOOL in
auto.conf.cmd

Just as we've done for other tools, we need to adjust NM and
OBJTOOL to the names of the on-target executables. With this
adjustment, 'make scripts prepare' continues to work without
user intervention on the target.

(From OE-Core rev: e749b81ece1f94f99ca26028a2f6f891aa14bda9)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-18 23:52:53 +01:00
Bruce Ashfield
3bdd5b934b linux-yocto/5.4: update to v5.4.119
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:

    b82e5721a173 Linux 5.4.119
    6b183fbf18b9 Revert "fdt: Properly handle "no-map" field in the memory region"
    66b8853dfa3c Revert "of/fdt: Make sure no-map does not remove already reserved regions"
    3fe9ee040fb7 sctp: delay auto_asconf init until binding the first addr
    e1bf000709cc Revert "net/sctp: fix race condition in sctp_destroy_sock"
    32e046965fac smp: Fix smp_call_function_single_async prototype
    9884f745108f net: Only allow init netns to set default tcp cong to a restricted algo
    4a83a9deead9 mm/memory-failure: unnecessary amount of unmapping
    de143fb2feac mm/sparse: add the missing sparse_buffer_fini() in error branch
    ba450bba7115 kfifo: fix ternary sign extension bugs
    24c54e0a9747 net:nfc:digital: Fix a double free in digital_tg_recv_dep_req
    07ef3f7bc5c4 net: bridge: mcast: fix broken length + header check for MRDv6 Adv.
    da5b49598a11 RDMA/bnxt_re: Fix a double free in bnxt_qplib_alloc_res
    30b9e92d0b5e RDMA/siw: Fix a use after free in siw_alloc_mr
    55fcdd1258fa net:emac/emac-mac: Fix a use after free in emac_mac_tx_buf_send
    b1523e4ba293 bnxt_en: Fix RX consumer index logic in the error path.
    d1ad9f2f7e2d selftests: net: mirror_gre_vlan_bridge_1q: Make an FDB entry static
    6f92124d7441 net: geneve: modify IP header check in geneve6_xmit_skb and geneve_xmit_skb
    06e03b867d96 arm64: dts: uniphier: Change phy-mode to RGMII-ID to enable delay pins for RTL8211E
    978170191d3d ARM: dts: uniphier: Change phy-mode to RGMII-ID to enable delay pins for RTL8211E
    4bfea784ea35 bnxt_en: fix ternary sign extension bug in bnxt_show_temp()
    10ff6ad91e0d powerpc/52xx: Fix an invalid ASM expression ('addi' used instead of 'add')
    c6af4c1d196e ath10k: Fix ath10k_wmi_tlv_op_pull_peer_stats_info() unlock without lock
    bf0be675e646 ath9k: Fix error check in ath9k_hw_read_revisions() for PCI devices
    87fc6b2914e5 net: phy: intel-xway: enable integrated led functions
    57bed78ce64a net: renesas: ravb: Fix a stuck issue when a lot of frames are received
    27a894a9556f net: davinci_emac: Fix incorrect masking of tx and rx error channel
    8d77c9564309 ALSA: usb: midi: don't return -ENOMEM when usb_urb_ep_type_check fails
    59f965ef61d7 RDMA/i40iw: Fix error unwinding when i40iw_hmc_sd_one fails
    d7ba506b00ea RDMA/cxgb4: add missing qpid increment
    f7368865da57 gro: fix napi_gro_frags() Fast GRO breakage due to IP alignment check
    e97aea9f2503 vsock/vmci: log once the failed queue pair allocation
    469135100325 mwl8k: Fix a double Free in mwl8k_probe_hw
    afb735e764ba i2c: sh7760: fix IRQ error path
    da80b35b6e26 rtlwifi: 8821ae: upgrade PHY and RF parameters
    b1b8d90d4550 powerpc/pseries: extract host bridge from pci_bus prior to bus removal
    bdad13dd15e2 MIPS: pci-legacy: stop using of_pci_range_to_resource
    5950c9d7f987 perf beauty: Fix fsconfig generator
    0ff76bd07bc4 drm/i915/gvt: Fix error code in intel_gvt_init_device()
    ecfbcb858007 ASoC: ak5558: correct reset polarity
    c77bf004717d powerpc/xive: Fix xmon command "dxi"
    65b771660f57 i2c: sh7760: add IRQ check
    cb834ff29bdb i2c: jz4780: add IRQ check
    aa90700f953a i2c: emev2: add IRQ check
    45f02a0f8ded i2c: cadence: add IRQ check
    7e1764312440 i2c: sprd: fix reference leak when pm_runtime_get_sync fails
    5f51ddcbfc78 i2c: omap: fix reference leak when pm_runtime_get_sync fails
    815859cb1d23 i2c: imx-lpi2c: fix reference leak when pm_runtime_get_sync fails
    4734c4b1d957 i2c: img-scb: fix reference leak when pm_runtime_get_sync fails
    ed016b77012e RDMA/srpt: Fix error return code in srpt_cm_req_recv()
    e1d10b2cc792 net: thunderx: Fix unintentional sign extension issue
    b0d8fa3adc9d cxgb4: Fix unintentional sign extension issues
    05692b952365 IB/hfi1: Fix error return code in parse_platform_config()
    53656a2a0183 RDMA/qedr: Fix error return code in qedr_iw_connect()
    bf365066fbe0 KVM: PPC: Book3S HV P9: Restore host CTRL SPR after guest exit
    af5a87a1d413 mt7601u: fix always true expression
    53ada35f2ecc mac80211: bail out if cipher schemes are invalid
    22cb8496f290 powerpc: iommu: fix build when neither PCI or IBMVIO is set
    5aa028a827fe powerpc/perf: Fix PMU constraint check for EBB events
    73f9dccb29e4 powerpc/64s: Fix pte update for kernel memory on radix
    440fead0fc81 liquidio: Fix unintented sign extension of a left shift of a u16
    92626cf41b0e ASoC: simple-card: fix possible uninitialized single_cpu local variable
    e1b01d914c31 ALSA: usb-audio: Add error checks for usb_driver_claim_interface() calls
    11fa9b38e030 mips: bmips: fix syscon-reboot nodes
    c8f7e2e04724 net: hns3: Limiting the scope of vector_ring_chain variable
    cab33b3b6da8 nfc: pn533: prevent potential memory corruption
    efb0f45b4535 bug: Remove redundant condition check in report_bug
    7628bc544ba8 ALSA: core: remove redundant spin_lock pair in snd_card_disconnect
    3733a64d5828 powerpc: Fix HAVE_HARDLOCKUP_DETECTOR_ARCH build configuration
    fee81285bd09 inet: use bigger hash table for IP ID generation
    318993949423 powerpc/prom: Mark identical_pvr_fixup as __init
    4543fcd6835b powerpc/fadump: Mark fadump_calculate_reserve_size as __init
    e00c5b9eebf0 net: lapbether: Prevent racing when checking whether the netif is running
    f937a0f6ada1 perf symbols: Fix dso__fprintf_symbols_by_name() to return the number of printed chars
    1121f5f3d440 HID: plantronics: Workaround for double volume key presses
    59021008b317 drivers/block/null_blk/main: Fix a double free in null_init.
    279749d0d4ef sched/debug: Fix cgroup_path[] serialization
    c01fc0adba30 x86/events/amd/iommu: Fix sysfs type mismatch
    846357609409 HSI: core: fix resource leaks in hsi_add_client_from_dt()
    ff386ac05098 nvme-pci: don't simple map sgl when sgls are disabled
    7e1ab103f63f mfd: stm32-timers: Avoid clearing auto reload register
    e8fe98f6ec69 scsi: ibmvfc: Fix invalid state machine BUG_ON()
    ce8585f979e4 scsi: sni_53c710: Add IRQ check
    1ff0b82c6674 scsi: sun3x_esp: Add IRQ check
    4b94098f0aa7 scsi: jazz_esp: Add IRQ check
    ae0cadd35daf scsi: hisi_sas: Fix IRQ checks
    6adac4efe77d clk: uniphier: Fix potential infinite loop
    e1a5c8594c0e clk: qcom: a53-pll: Add missing MODULE_DEVICE_TABLE
    6c9bbf98b1d8 clk: zynqmp: move zynqmp_pll_set_mode out of round_rate callback
    3d81ce0cfb31 vfio/mdev: Do not allow a mdev_type to have a NULL parent pointer
    e6707395c839 media: v4l2-ctrls.c: fix race condition in hdl->requests list
    b22867aa3d32 nvme: retrigger ANA log update if group descriptor isn't found
    999d606a820c nvmet-tcp: fix incorrect locking in state_change sk callback
    ced0760eb45a nvme-tcp: block BH in sk state_change sk callback
    4bbae57c7bde ata: libahci_platform: fix IRQ check
    bafcaa016585 sata_mv: add IRQ checks
    782ec39b37bd pata_ipx4xx_cf: fix IRQ check
    af9c0391353d pata_arasan_cf: fix IRQ check
    c66229b36fd3 x86/kprobes: Fix to check non boostable prefixes correctly
    1cfaa6444a5e drm/amdkfd: fix build error with AMD_IOMMU_V2=m
    bfd83cf79b7f media: m88rs6000t: avoid potential out-of-bounds reads on arrays
    7db94692631e media: platform: sunxi: sun6i-csi: fix error return code of sun6i_video_start_streaming()
    1dc1d30ac101 media: aspeed: fix clock handling logic
    d36f9755d1db media: omap4iss: return error code when omap4iss_get() failed
    75c6252e8630 media: vivid: fix assignment of dev->fbuf_out_flags
    6b121dc6807c soc: aspeed: fix a ternary sign expansion bug
    f276d195ce10 xen-blkback: fix compatibility bug with single page rings
    aafb5e38e695 ttyprintk: Add TTY hangup callback.
    ce7b62d85791 usb: dwc2: Fix hibernation between host and device modes.
    6f7ed537ca2d usb: dwc2: Fix host mode hibernation exit with remote wakeup flow.
    e83dcf255a13 Drivers: hv: vmbus: Increase wait time for VMbus unload
    9b47b3a67552 x86/platform/uv: Fix !KEXEC build failure
    9a9ce397336e platform/x86: pmc_atom: Match all Beckhoff Automation baytrail boards with critclk_systems DMI table
    eec90f4b9575 usbip: vudc: fix missing unlock on error in usbip_sockfd_store()
    d3b6b252bab0 node: fix device cleanups in error handling code
    3f605558a4f7 firmware: qcom-scm: Fix QCOM_SCM configuration
    77a1c15145c8 serial: core: return early on unsupported ioctls
    b6803d57f587 tty: fix return value for unsupported ioctls
    932d67b84b4f tty: actually undefine superseded ASYNC flags
    a6fb73f4e009 USB: cdc-acm: fix TIOCGSERIAL implementation
    8abef571fd92 USB: cdc-acm: fix unprivileged TIOCCSERIAL
    9aa155203427 usb: gadget: r8a66597: Add missing null check on return from platform_get_resource
    4a01ad002d2e spi: fsl-lpspi: Fix PM reference leak in lpspi_prepare_xfer_hardware()
    eaf03935b859 cpufreq: armada-37xx: Fix determining base CPU frequency
    d33a00f35531 cpufreq: armada-37xx: Fix driver cleanup when registration failed
    4bffea742b66 clk: mvebu: armada-37xx-periph: Fix workaround for switching from L1 to L0
    0289edd869ac clk: mvebu: armada-37xx-periph: Fix switching CPU freq from 250 Mhz to 1 GHz
    0c793b76066b cpufreq: armada-37xx: Fix the AVS value for load L1
    b671a3277b7c clk: mvebu: armada-37xx-periph: remove .set_parent method for CPU PM clock
    3518c6d0178c cpufreq: armada-37xx: Fix setting TBG parent for load levels
    19d16a689793 crypto: qat - Fix a double free in adf_create_ring
    32f5f51a3703 ACPI: CPPC: Replace cppc_attr with kobj_attribute
    726837481c93 soc: qcom: mdt_loader: Detect truncated read of segments
    08b601cb7aef soc: qcom: mdt_loader: Validate that p_filesz < p_memsz
    001c8e83646a spi: Fix use-after-free with devm_spi_alloc_*
    3b0cd47fe1b7 PM / devfreq: Use more accurate returned new_freq as resume_freq
    51a5e5e93c01 staging: greybus: uart: fix unprivileged TIOCCSERIAL
    c751e448b726 staging: rtl8192u: Fix potential infinite loop
    8148375c865f irqchip/gic-v3: Fix OF_BAD_ADDR error handling
    ef8e7bfea99a mtd: rawnand: gpmi: Fix a double free in gpmi_nand_init
    f6a90818a320 m68k: mvme147,mvme16x: Don't wipe PCC timer config bits
    870533403ffa soundwire: stream: fix memory leak in stream config error path
    7cd10f8a5a9d memory: pl353: fix mask of ECC page_size config register
    6b18f6ac820e USB: gadget: udc: fix wrong pointer passed to IS_ERR() and PTR_ERR()
    93615b25c78f usb: gadget: aspeed: fix dma map failure
    c675ead206b7 crypto: qat - fix error path in adf_isr_resource_alloc()
    f3685a9ef29d phy: marvell: ARMADA375_USBCLUSTER_PHY should not default to y, unconditionally
    4dc0332faf80 soundwire: bus: Fix device found flag correctly
    3a76ec28824c bus: qcom: Put child node before return
    5880afefe0cb mtd: require write permissions for locking and badblock ioctls
    ff352d27d4ce fotg210-udc: Complete OUT requests on short packets
    0d19ad0706c2 fotg210-udc: Don't DMA more than the buffer can take
    88f1100e523c fotg210-udc: Mask GRP2 interrupts we don't handle
    f580a8046acf fotg210-udc: Remove a dubious condition leading to fotg210_done
    359d1b0ad239 fotg210-udc: Fix EP0 IN requests bigger than two packets
    9a97aa4bbe0f fotg210-udc: Fix DMA on EP0 for length > max packet size
    05ec8192ee4b crypto: qat - ADF_STATUS_PF_RUNNING should be set after adf_dev_init
    2a41049a0e21 crypto: qat - don't release uninitialized resources
    cfd99d250cde usb: gadget: pch_udc: Check for DMA mapping error
    44452b7bd35d usb: gadget: pch_udc: Check if driver is present before calling ->setup()
    23978eb064dc usb: gadget: pch_udc: Replace cpu_to_le32() by lower_32_bits()
    369428a646b7 x86/microcode: Check for offline CPUs before requesting new microcode
    6b8ff2a35a74 arm64: dts: renesas: r8a77980: Fix vin4-7 endpoint binding
    cbf784eff5de spi: stm32: drop devres version of spi_register_master
    15ee35be9286 arm64: dts: qcom: sm8150: fix number of pins in 'gpio-ranges'
    168877a575a5 mtd: rawnand: qcom: Return actual error code instead of -ENODEV
    73744fcb4eb0 mtd: Handle possible -EPROBE_DEFER from parse_mtd_partitions()
    e5b3e69eb36a mtd: rawnand: brcmnand: fix OOB R/W with Hamming ECC
    9e612890bb87 mtd: rawnand: fsmc: Fix error code in fsmc_nand_probe()
    d8897f7b2283 regmap: set debugfs_name to NULL after it is freed
    0d2c86076844 usb: typec: tcpci: Check ROLE_CONTROL while interpreting CC_STATUS
    6e666a05e540 serial: stm32: fix tx_empty condition
    12e423331ec9 serial: stm32: fix incorrect characters on console
    6be27923140a ARM: dts: exynos: correct PMIC interrupt trigger level on Snow
    aacfc3bef07b ARM: dts: exynos: correct PMIC interrupt trigger level on SMDK5250
    d788a900f362 ARM: dts: exynos: correct PMIC interrupt trigger level on Odroid X/U3 family
    f9b701bc13da ARM: dts: exynos: correct PMIC interrupt trigger level on Midas family
    6cf80f1fc1a9 ARM: dts: exynos: correct MUIC interrupt trigger level on Midas family
    73bc2732108c ARM: dts: exynos: correct fuel gauge interrupt trigger level on Midas family
    12d9d517a2fe memory: gpmc: fix out of bounds read and dereference on gpmc_cs[]
    52189bf0b2a2 usb: gadget: pch_udc: Revert d3cb25a12138 completely
    db699975f72d ovl: fix missing revert_creds() on error path
    a51050108bed Revert "i3c master: fix missing destroy_workqueue() on error in i3c_master_register"
    7d1bc32d6477 KVM: Stop looking for coalesced MMIO zones if the bus is destroyed
    cc6623055f2d KVM: nVMX: Truncate bits 63:32 of VMCS field on nested check in !64-bit
    358264425747 KVM: s390: split kvm_s390_real_to_abs
    45a3ae26fcd9 s390: fix detection of vector enhancements facility 1 vs. vector packed decimal facility
    9ea2c4fd1a72 KVM: s390: fix guarded storage control register handling
    34a6d1d57c71 KVM: s390: split kvm_s390_logical_to_effective
    027de80194fb ALSA: hda/realtek: ALC285 Thinkpad jack pin quirk is unreachable
    1bfa051571ac ALSA: hda/realtek: Remove redundant entry for ALC861 Haier/Uniwill devices
    9337f5ba5090 ALSA: hda/realtek: Re-order ALC662 quirk table entries
    5f68b0ec9882 ALSA: hda/realtek: Re-order remaining ALC269 quirk table entries
    15b414029478 ALSA: hda/realtek: Re-order ALC269 Lenovo quirk table entries
    99aa203c6eb6 ALSA: hda/realtek: Re-order ALC269 Sony quirk table entries
    1f1612fc6bea ALSA: hda/realtek: Re-order ALC269 ASUS quirk table entries
    65d5b99c1ea9 ALSA: hda/realtek: Re-order ALC269 Dell quirk table entries
    b161e02481d8 ALSA: hda/realtek: Re-order ALC269 Acer quirk table entries
    bd0e9154100c ALSA: hda/realtek: Re-order ALC269 HP quirk table entries
    e97cf247ba44 ALSA: hda/realtek: Re-order ALC882 Clevo quirk table entries
    02968e62200a ALSA: hda/realtek: Re-order ALC882 Sony quirk table entries
    6d9e8828fa77 ALSA: hda/realtek: Re-order ALC882 Acer quirk table entries
    e584e52783a4 drm/amd/display: Reject non-zero src_y and src_x for video planes
    56f2ea0bc2a1 drm/radeon: fix copy of uninitialized variable back to userspace
    4aea3ddac00a drm/panfrost: Don't try to map pages that are already mapped
    debaae7ac45a drm/panfrost: Clear MMU irqs before handling the fault
    6b5aa0cf321c rtw88: Fix array overrun in rtw_get_tx_power_params()
    e5b02c096145 cfg80211: scan: drop entry from hidden_list on overflow
    16b68fb8df43 ipw2x00: potential buffer overflow in libipw_wx_set_encodeext()
    af7ea06b3cae md: Fix missing unused status line of /proc/mdstat
    79c1bfae668d md: md_open returns -EBUSY when entering racing area
    adb9bbf1a284 md: factor out a mddev_find_locked helper from mddev_find
    afa4de092663 md: split mddev_find
    acdf531e77f0 md-cluster: fix use-after-free issue when removing rdev
    a72373588ce3 md/bitmap: wait for external bitmap writes to complete during tear down
    45bc83f71b22 misc: vmw_vmci: explicitly initialize vmci_datagram payload
    0f8f75b92ecc misc: vmw_vmci: explicitly initialize vmci_notify_bm_set_msg struct
    34f6ba8810c3 misc: lis3lv02d: Fix false-positive WARN on various HP models
    8809d87cb86f iio:accel:adis16201: Fix wrong axis assignment that prevents loading
    7cb1f304237a PCI: Allow VPD access for QLogic ISP2722
    f30ded0ba1b6 FDDI: defxx: Bail out gracefully with unassigned PCI resource for CSR
    8943172edaf7 MIPS: pci-rt2880: fix slot 0 configuration
    cd2e53ad366f MIPS: pci-mt7620: fix PLL lock check
    4dce2a19e76b ASoC: Intel: kbl_da7219_max98927: Fix kabylake_ssp_fixup function
    79cc386696fb ASoC: samsung: tm2_wm5110: check of of_parse return value
    2b8b8cc94f4d usb: xhci-mtk: improve bandwidth scheduling with TT
    9f0d3e676a25 usb: xhci-mtk: remove or operator for setting schedule parameters
    230bd196536b usb: typec: tcpm: update power supply once partner accepts
    9d7bb10859b9 usb: typec: tcpm: Address incorrect values of tcpm psy for pps supply
    c87bb48ac5c5 usb: typec: tcpm: Address incorrect values of tcpm psy for fixed supply
    66ca71d28301 staging: fwserial: fix TIOCSSERIAL permission check
    ebb46274e33f tty: moxa: fix TIOCSSERIAL permission check
    d524fb44c657 staging: fwserial: fix TIOCSSERIAL jiffies conversions
    f80f12ee00b8 USB: serial: ti_usb_3410_5052: fix TIOCSSERIAL permission check
    f50cad556c28 staging: greybus: uart: fix TIOCSSERIAL jiffies conversions
    3114fedf4020 USB: serial: usb_wwan: fix TIOCSSERIAL jiffies conversions
    edce32412096 tty: amiserial: fix TIOCSSERIAL permission check
    e503d7bc7bfe tty: moxa: fix TIOCSSERIAL jiffies conversions
    c30b11c74cbb Revert "USB: cdc-acm: fix rounding error in TIOCSSERIAL"
    e32352070bca net/nfc: fix use-after-free llcp_sock_bind/connect
    eeec325c9944 bluetooth: eliminate the potential race condition when removing the HCI controller
    119858caf400 hsr: use netdev_err() instead of WARN_ONCE()
    3a826ffa80d5 Bluetooth: verify AMP hci_chan before amp_destroy

(From OE-Core rev: 4d00220f08e9ec8e421157187794b5701ffc04eb)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-18 23:52:53 +01:00
Bruce Ashfield
59a631a847 linux-yocto/5.10: update to v5.10.37
Updating linux-yocto/5.10 to the latest korg -stable release that comprises
the following commits:

    e97bd1e03e6e Linux 5.10.37
    42f1b8653f85 sctp: delay auto_asconf init until binding the first addr
    14919cdf68d0 Revert "net/sctp: fix race condition in sctp_destroy_sock"
    41f1aed56de5 smp: Fix smp_call_function_single_async prototype
    6c1ea8bee75d net: Only allow init netns to set default tcp cong to a restricted algo
    2281df0b0226 arm64: Remove arm64_dma32_phys_limit and its uses
    00d9f429af03 bpf: Prevent writable memory-mapping of read-only ringbuf pages
    1ca284f08670 bpf, ringbuf: Deny reserve of buffers larger than ringbuf
    282bfc8848ea bpf: Fix alu32 const subreg bound tracking on bitwise operations
    f76e0829bbab afs: Fix speculative status fetches
    949e7c5f4957 mm/memory-failure: unnecessary amount of unmapping
    62d96faa74c8 mm/sparse: add the missing sparse_buffer_fini() in error branch
    31df8bc4d3fe mm: memcontrol: slab: fix obtain a reference to a freeing memcg
    2e95bc6cfed1 mm/sl?b.c: remove ctor argument from kmem_cache_flags
    618fa6a35c79 kfifo: fix ternary sign extension bugs
    c02dd80655fd ia64: fix EFI_DEBUG build
    c6b7e0b1ab87 perf session: Add swap operation for event TIME_CONV
    86941f8bd46a perf jit: Let convert_timestamp() to be backwards-compatible
    fe07408afba2 perf tools: Change fields type in perf_record_time_conv
    3bce718d977b net:nfc:digital: Fix a double free in digital_tg_recv_dep_req
    e2c34cacff7b net: bridge: mcast: fix broken length + header check for MRDv6 Adv.
    f5ce59707d6a RDMA/bnxt_re: Fix a double free in bnxt_qplib_alloc_res
    608a4b90ece0 RDMA/siw: Fix a use after free in siw_alloc_mr
    4394be0a1866 bpf: Fix propagation of 32 bit unsigned bounds from 64 bit bounds
    183d9ebd449c selftests/bpf: Fix core_reloc test runner
    0257a0a5ffb7 selftests/bpf: Fix field existence CO-RE reloc tests
    3769c54d341c selftests/bpf: Fix BPF_CORE_READ_BITFIELD() macro
    9dc373f74097 net:emac/emac-mac: Fix a use after free in emac_mac_tx_buf_send
    8fcdfa71ba6a KVM: VMX: Intercept FS/GS_BASE MSR accesses for 32-bit KVM
    4fcaad2b7dac bnxt_en: Fix RX consumer index logic in the error path.
    1625872f012c selftests: mlxsw: Remove a redundant if statement in tc_flower_scale test
    8ebdce8fe0b0 selftests: net: mirror_gre_vlan_bridge_1q: Make an FDB entry static
    71ad9260c001 net: geneve: modify IP header check in geneve6_xmit_skb and geneve_xmit_skb
    1fc61844b6a2 arm64: dts: uniphier: Change phy-mode to RGMII-ID to enable delay pins for RTL8211E
    0ae610556f23 ARM: dts: uniphier: Change phy-mode to RGMII-ID to enable delay pins for RTL8211E
    66b1cfc0cd87 bnxt_en: fix ternary sign extension bug in bnxt_show_temp()
    9f722ef596fe net: enetc: fix link error again
    bfcb5a8cc7b6 net: phy: marvell: fix m88e1111_set_downshift
    1157d01e04d9 net: phy: marvell: fix m88e1011_set_downshift
    be631825652f powerpc/52xx: Fix an invalid ASM expression ('addi' used instead of 'add')
    e06a532f31c4 powerpc/perf: Fix the threshold event selection for memory events in power10
    b6b894e7a27e wlcore: Fix buffer overrun by snprintf due to incorrect buffer size
    1cce33fe59f0 ath10k: Fix ath10k_wmi_tlv_op_pull_peer_stats_info() unlock without lock
    8bb054fb336f ath10k: Fix a use after free in ath10k_htc_send_bundle
    0f98e1ea970c ath9k: Fix error check in ath9k_hw_read_revisions() for PCI devices
    4b9fb2c9039a powerpc/64: Fix the definition of the fixmap area
    c5ebaca402f5 RDMA/core: Add CM to restrack after successful attachment to a device
    63c61d26e3fb RDMA/rxe: Fix a bug in rxe_fill_ip_info()
    7fe12d6db3f0 net: phy: intel-xway: enable integrated led functions
    cf49a91faa7d net: renesas: ravb: Fix a stuck issue when a lot of frames are received
    01dab91200dc net: stmmac: fix TSO and TBS feature enabling during driver open
    64753ac1e43e nfp: devlink: initialize the devlink port attribute "lanes"
    e606073b77a3 crypto: ccp: Detect and reject "invalid" addresses destined for PSP
    4fa28c807da5 mt76: mt7615: fix memleak when mt7615_unregister_device()
    9ed951f41643 net: davinci_emac: Fix incorrect masking of tx and rx error channel
    0ce6052802be net: marvell: prestera: fix port event handling on init
    b605673b523f vsock/virtio: free queued packets when closing socket
    5231d17eb9d0 sfc: ef10: fix TX queue lookup in TX event handling
    7459bb594328 ALSA: usb: midi: don't return -ENOMEM when usb_urb_ep_type_check fails
    312c5ce34942 RDMA/i40iw: Fix error unwinding when i40iw_hmc_sd_one fails
    45b84abb47a9 RDMA/cxgb4: add missing qpid increment
    da54cc254939 gro: fix napi_gro_frags() Fast GRO breakage due to IP alignment check
    257f38e78aa3 net: ethernet: ixp4xx: Set the DMA masks explicitly
    78d8b34751cf libbpf: Initialize the bpf_seq_printf parameters array field by field
    b9e719698fc4 vsock/vmci: log once the failed queue pair allocation
    bc2e5321d7f1 netfilter: nftables_offload: special ethertype handling for VLAN
    a7eb38aacc81 netfilter: nftables_offload: VLAN id needs host byteorder in flow dissector
    cf2de861b279 netfilter: nft_payload: fix C-VLAN offload support
    1dd5ac62c0d4 mwl8k: Fix a double Free in mwl8k_probe_hw
    87299aad6278 i2c: mediatek: Fix wrong dma sync flag
    232598e99fad i2c: sh7760: fix IRQ error path
    d204db4fe6ac wlcore: fix overlapping snprintf arguments in debugfs
    c0aa320ac617 rtlwifi: 8821ae: upgrade PHY and RF parameters
    e9bd1af4c038 KVM: x86: dump_vmcs should not assume GUEST_IA32_EFER is valid
    bf6476152a0a powerpc/smp: Reintroduce cpu_core_mask
    af39f070c8b0 powerpc/pseries: extract host bridge from pci_bus prior to bus removal
    8dfd7329ad0b MIPS: pci-legacy: stop using of_pci_range_to_resource
    cabed6027a5b drm/amd/pm: fix error code in smu_set_power_limit()
    486642baea69 perf beauty: Fix fsconfig generator
    0df2770ad33b iommu/amd: Put newline after closing bracket in warning
    a1c1de90cd28 drm/i915/gvt: Fix error code in intel_gvt_init_device()
    2b3ae007c639 net/packet: remove data races in fanout operations
    3a1c395703be net/packet: make packet_fanout.arr size configurable up to 64K
    d10c5162b493 net/mlx5: Fix bit-wise and with zero
    d97d22bda17a ASoC: ak5558: correct reset polarity
    c1f980961133 powerpc/xive: Fix xmon command "dxi"
    e2724bed6481 powerpc/xive: Drop check on irq_data in xive_core_debug_show()
    a38b77899c2c i2c: sh7760: add IRQ check
    4b8177766a8b i2c: rcar: add IRQ check
    1ac4f7a26017 i2c: rcar: protect against supurious interrupts on V3U
    11e2b2b6f6b9 i2c: rcar: make sure irq is not threaded on Gen2 and earlier
    f41d2bfef538 i2c: mlxbf: add IRQ check
    c6eea11b5cb6 i2c: jz4780: add IRQ check
    ab6d6cae0aa1 i2c: emev2: add IRQ check
    6f291ab1776e i2c: cadence: add IRQ check
    c977426db644 i2c: xiic: fix reference leak when pm_runtime_get_sync fails
    c323b270a52a i2c: stm32f7: fix reference leak when pm_runtime_get_sync fails
    e547640cee79 i2c: sprd: fix reference leak when pm_runtime_get_sync fails
    8c0a2009fb20 i2c: omap: fix reference leak when pm_runtime_get_sync fails
    3a0cdd336d92 i2c: imx: fix reference leak when pm_runtime_get_sync fails
    cc49d2064142 i2c: imx-lpi2c: fix reference leak when pm_runtime_get_sync fails
    e80ae8bde412 i2c: img-scb: fix reference leak when pm_runtime_get_sync fails
    30410519328c i2c: cadence: fix reference leak when pm_runtime_get_sync fails
    b64415c6b347 RDMA/rtrs-clt: destroy sysfs after removing session from active list
    6a07e5e39d4f RDMA/srpt: Fix error return code in srpt_cm_req_recv()
    4601bcc6410c net: thunderx: Fix unintentional sign extension issue
    6a61307e58ab cxgb4: Fix unintentional sign extension issues
    52fd8005a239 RDMA/bnxt_re: Fix error return code in bnxt_qplib_cq_process_terminal()
    afb738b74447 IB/hfi1: Fix error return code in parse_platform_config()
    a12d75f5dcfb RDMA/qedr: Fix error return code in qedr_iw_connect()
    0f8528c78fc8 ovl: invalidate readdir cache on changes to dir with origin
    082fa65bf60a KVM: PPC: Book3S HV P9: Restore host CTRL SPR after guest exit
    de4e60382b90 mt76: mt7663s: fix the possible device hang in high traffic
    188dfc470263 mt76: mt7663s: make all of packets 4-bytes aligned in sdio tx aggregation
    bf08637d32e6 mt76: mt7915: fix mib stats counter reporting to mac80211
    0b39be51626d mt76: mt7615: fix mib stats counter reporting to mac80211
    2da92db47f07 mt76: mt7915: fix aggr len debugfs node
    4e7914ce2330 mt76: mt7915: fix tx skb dma unmap
    75bc5f779a76 mt76: mt7615: fix tx skb dma unmap
    3443c54c4171 mt7601u: fix always true expression
    00792f31a330 rtw88: Fix an error code in rtw_debugfs_set_rsvd_page()
    80cff3e11670 xfs: fix return of uninitialized value in variable error
    b07520a55f10 perf vendor events amd: Fix broken L2 Cache Hits from L2 HWPF metric
    08c75d4b7682 mac80211: bail out if cipher schemes are invalid
    e00f32c2c97b powerpc: iommu: fix build when neither PCI or IBMVIO is set
    8ce329c68983 powerpc/perf: Fix PMU constraint check for EBB events
    84c0762633f2 powerpc/64s: Fix pte update for kernel memory on radix
    8fac4bd3674f IB/hfi1: Use kzalloc() for mmu_rb_handler allocation
    f9e9df72dc08 liquidio: Fix unintented sign extension of a left shift of a u16
    c87df56d28a6 ASoC: simple-card: fix possible uninitialized single_cpu local variable
    325e8f9edf72 KVM: arm64: Initialize VCPU mdcr_el2 before loading it
    348f68ae40c8 HID: lenovo: Map mic-mute button to KEY_F20 instead of KEY_MICMUTE
    9b14027e4cc2 HID: lenovo: Check hid_get_drvdata() returns non NULL in lenovo_event()
    5ccdc6dd6266 HID: lenovo: Fix lenovo_led_set_tp10ubkbd() error handling
    29bfd0446a2c HID: lenovo: Use brightness_set_blocking callback for setting LEDs brightness
    716132e00ce1 ALSA: usb-audio: Add error checks for usb_driver_claim_interface() calls
    e759105d459b iommu/vt-d: Invalidate PASID cache when root/context entry changed
    c848416cc05a iommu/vt-d: Remove WO permissions on second-level paging entries
    416fa531c816 iommu/vt-d: Preset Access/Dirty bits for IOVA over FL
    32737c3a2669 iommu/vt-d: Report the right page fault address
    eb0530d71c78 iommu/vt-d: Report right snoop capability when using FL for IOVA
    620aa5821aaa iommu: Fix a boundary issue to avoid performance drop
    c96f7eb59b7e iommu/vt-d: Don't set then clear private data in prq_event_thread()
    e0c7b956162b mips: bmips: fix syscon-reboot nodes
    3cf9fac71b79 net: hns3: Limiting the scope of vector_ring_chain variable
    db574a60c482 nfc: pn533: prevent potential memory corruption
    a16f02187d9d RDMA/core: Fix corrupted SL on passive side
    556e75a0ae03 bug: Remove redundant condition check in report_bug
    faba97afdbb9 net/tipc: fix missing destroy_workqueue() on error in tipc_crypto_start()
    fd26f3a07e73 powerpc/pseries: Only register vio drivers if vio bus exists
    4877c4a52339 udp: never accept GSO_FRAGLIST packets
    c45cb22a5500 net: phy: lan87xx: fix access to wrong register of LAN87xx
    897c095c7e9e ALSA: core: remove redundant spin_lock pair in snd_card_disconnect
    afb3416c4fef gpio: guard gpiochip_irqchip_add_domain() with GPIOLIB_IRQCHIP
    9becf957e0b0 MIPS/bpf: Enable bpf_probe_read{, str}() on MIPS again
    19c990c9fad3 powerpc: Fix HAVE_HARDLOCKUP_DETECTOR_ARCH build configuration
    499b3ceb17ad IB/isert: Fix a use after free in isert_connect_request
    78f537c0054a RDMA/mlx5: Fix drop packet rule in egress table
    4ff081701b3d iommu/arm-smmu-v3: add bit field SFM into GERROR_ERR_MASK
    9681d50a70b2 ASoC: wm8960: Remove bitclk relax condition in wm8960_configure_sysclk
    0f69f9596ba0 MIPS: loongson64: fix bug when PAGE_SIZE > 16KB
    da40d5fec5d7 pinctrl: pinctrl-single: fix pcs_pin_dbg_show() when bits_per_mux is not zero
    353fcebf49e2 pinctrl: pinctrl-single: remove unused parameter
    a273c27d7255 inet: use bigger hash table for IP ID generation
    6b4b3b84049f ima: Fix the error code for restoring the PCR value
    536175f0065c MIPS: fix local_irq_{disable,enable} in asmmacro.h
    4c45556db31c powerpc/prom: Mark identical_pvr_fixup as __init
    494327b777f6 powerpc/fadump: Mark fadump_calculate_reserve_size as __init
    454fb207476b libbpf: Add explicit padding to btf_dump_emit_type_decl_opts
    87520507b1ae selftests/bpf: Re-generate vmlinux.h and BPF skeletons if bpftool changed
    ee06efc811ea iommu/vt-d: Reject unsupported page request modes
    b60e13c30688 iommu: Check dev->iommu in iommu_dev_xxx functions
    3d15bf2b2c93 bpftool: Fix maybe-uninitialized warnings
    b1ed7a571750 libbpf: Add explicit padding to bpf_xdp_set_link_opts
    f72e3d81c622 net: lapbether: Prevent racing when checking whether the netif is running
    7cc0ba67883c Bluetooth: avoid deadlock between hci_dev->lock and socket lock
    5cce890e5dc6 KVM: x86/mmu: Retry page faults that hit an invalid memslot
    cd6e679b8d1d wilc1000: write value to WILC_INTR2_ENABLE register
    0d74db145787 RDMA/mlx5: Fix mlx5 rates to IB rates map
    4ebb3b797a63 ASoC: Intel: Skylake: Compile when any configuration is selected
    5fb733e250c0 ASoC: Intel: boards: sof-wm8804: add check for PLL setting
    b3222026dde7 perf symbols: Fix dso__fprintf_symbols_by_name() to return the number of printed chars
    56027a2e75e6 HID: plantronics: Workaround for double volume key presses
    613f9d1f1587 xsk: Respect device's headroom and tailroom on generic xmit path
    5378c92425f3 drivers/block/null_blk/main: Fix a double free in null_init.
    94f1bdf01b39 sched/debug: Fix cgroup_path[] serialization
    cbbc13b115b8 io_uring: fix overflows checks in provide buffers
    db4645fbae17 perf/amd/uncore: Fix sysfs type mismatch
    c8a54b4d6657 x86/events/amd/iommu: Fix sysfs type mismatch
    d5149a487f2d HSI: core: fix resource leaks in hsi_add_client_from_dt()
    38c1f8ebb373 media: cedrus: Fix H265 status definitions
    a11497b3bb75 nvme-pci: don't simple map sgl when sgls are disabled
    b2c55f81c1d1 nvmet-tcp: fix a segmentation fault during io parsing error
    2842b91ac7a5 mfd: stm32-timers: Avoid clearing auto reload register
    cadbba5ec895 mailbox: sprd: Introduce refcnt when clients requests/free channels
    b42ec774db50 scsi: ibmvfc: Fix invalid state machine BUG_ON()
    5129ec347a89 scsi: sni_53c710: Add IRQ check
    79ee30433357 scsi: sun3x_esp: Add IRQ check
    18e729d21f26 scsi: jazz_esp: Add IRQ check
    7d81167e513f scsi: hisi_sas: Fix IRQ checks
    aa83f32d40e2 scsi: ufs: ufshcd-pltfrm: Fix deferred probing
    4e5e08975521 scsi: pm80xx: Fix potential infinite loop
    a613887c4126 scsi: pm80xx: Increase timeout for pm80xx mpi_uninit_check()
    d3d3735858e0 clk: uniphier: Fix potential infinite loop
    c360228ecfb1 drm/radeon: Fix a missing check bug in radeon_dp_mst_detect()
    a6d56760eaba drm/amd/display: use GFP_ATOMIC in dcn20_resource_construct
    3968d95f3116 clk: qcom: apss-ipq-pll: Add missing MODULE_DEVICE_TABLE
    edc6a44bcc49 clk: qcom: a53-pll: Add missing MODULE_DEVICE_TABLE
    a6596d71a635 drm: xlnx: zynqmp: fix a memset in zynqmp_dp_train()
    fc076f40c859 clk: zynqmp: pll: add set_pll_mode to check condition in zynqmp_pll_enable
    9c91a014a3b5 clk: zynqmp: move zynqmp_pll_set_mode out of round_rate callback
    b29d6a435e0f vfio/mdev: Do not allow a mdev_type to have a NULL parent pointer
    87856f9af04e vfio/pci: Re-order vfio_pci_probe()
    dad86dd76b8b vfio/pci: Move VGA and VF initialization to functions
    daa72300c996 vfio/fsl-mc: Re-order vfio_fsl_mc_probe()
    d0702c665e6b media: v4l2-ctrls.c: fix race condition in hdl->requests list
    2d49873b49dc media: i2c: imx219: Balance runtime PM use-count
    0050c9794135 media: i2c: imx219: Move out locking/unlocking of vflip and hflip controls from imx219_set_stream
    59dd4fe0ae03 nvme: retrigger ANA log update if group descriptor isn't found
    20719538c49f power: supply: bq25980: Move props from battery node
    9e33e261b4d6 clk: imx: Fix reparenting of UARTs not associated with stdout
    60ade0d56b06 nvmet-tcp: fix incorrect locking in state_change sk callback
    a3ea59d09525 nvme-tcp: block BH in sk state_change sk callback
    7456cc7c9fd5 seccomp: Fix CONFIG tests for Seccomp_filters
    4f53ef0f7841 ata: libahci_platform: fix IRQ check
    6187fa250294 sata_mv: add IRQ checks
    f87689e71604 pata_ipx4xx_cf: fix IRQ check
    d1bb0316f507 pata_arasan_cf: fix IRQ check
    0ad91dc7ea8e selftests: fix prepending $(OUTPUT) to $(TEST_PROGS)
    296da2049f2a x86/kprobes: Fix to check non boostable prefixes correctly
    e2ff41d2ee4d of: overlay: fix for_each_child.cocci warnings
    c272c735a1e2 drm/amdkfd: fix build error with AMD_IOMMU_V2=m
    d218c7a0284f media: atomisp: Fix use after free in atomisp_alloc_css_stat_bufs()
    1f743e8d582b media: m88rs6000t: avoid potential out-of-bounds reads on arrays
    96498fbb7b14 media: atomisp: Fixed error handling path
    cc4cc2fb5aaf media: [next] staging: media: atomisp: fix memory leak of object flash
    99ce023bb8bb media: docs: Fix data organization of MEDIA_BUS_FMT_RGB101010_1X30
    757d5d54ca71 media: m88ds3103: fix return value check in m88ds3103_probe()
    697af15095fc media: platform: sunxi: sun6i-csi: fix error return code of sun6i_video_start_streaming()
    00b68a747834 media: venus: core: Fix some resource leaks in the error path of 'venus_probe()'
    0741a8f2e5b0 drm/probe-helper: Check epoch counter in output_poll_execute()
    a59d01384c80 media: aspeed: fix clock handling logic
    29eb741801b3 media: rkisp1: rsz: crash fix when setting src format
    38f9456ef5a2 media: omap4iss: return error code when omap4iss_get() failed
    3ad6a6288c88 media: saa7146: use sg_dma_len when building pgtable
    a250df336aa5 media: saa7134: use sg_dma_len when building pgtable
    385470a358a6 media: vivid: fix assignment of dev->fbuf_out_flags
    7d81aff28953 rcu: Remove spurious instrumentation_end() in rcu_nmi_enter()
    95f4e9f33b70 afs: Fix updating of i_mode due to 3rd party change
    80862cbf76c2 sched/fair: Fix shift-out-of-bounds in load_balance()
    ef8a03901259 drm/mcde/panel: Inverse misunderstood flag
    403c4528e588 drm/amd/display: Fix off by one in hdmi_14_process_transaction()
    9f075cb08822 drm/stm: Fix bus_flags handling
    1de265ad3c3c drm/tilcdc: send vblank event when disabling crtc
    8e81ff6d512e soc: aspeed: fix a ternary sign expansion bug
    bbe9de67ac5b xen-blkback: fix compatibility bug with single page rings
    565e7c98d332 serial: omap: fix rs485 half-duplex filtering
    9c3e2ad20b0c serial: omap: don't disable rs485 if rts gpio is missing
    927162c7133f ttyprintk: Add TTY hangup callback.
    62bb46f51f91 usb: dwc2: Fix hibernation between host and device modes.
    7bf9d7286cf2 usb: dwc2: Fix host mode hibernation exit with remote wakeup flow.
    1789737ca9f1 PM: hibernate: x86: Use crc32 instead of md5 for hibernation e820 integrity check
    8b4d4bd1f1ce Drivers: hv: vmbus: Increase wait time for VMbus unload
    816fbc17cbe8 hwmon: (pmbus/pxe1610) don't bail out when not all pages are active
    ee9bc379e43c x86/platform/uv: Fix !KEXEC build failure
    5980a3b9c933 spi: spi-zynqmp-gqspi: return -ENOMEM if dma_map_single fails
    1231279389b5 spi: spi-zynqmp-gqspi: fix use-after-free in zynqmp_qspi_exec_op
    fa3a26b43760 spi: spi-zynqmp-gqspi: fix hang issue when suspend/resume
    24159580abcc spi: spi-zynqmp-gqspi: fix clk_enable/disable imbalance issue
    d5c7b42c9f56 Drivers: hv: vmbus: Use after free in __vmbus_open()
    b49bdd70b337 ARM: dts: aspeed: Rainier: Fix humidity sensor bus address
    fe310fd19ff1 platform/x86: pmc_atom: Match all Beckhoff Automation baytrail boards with critclk_systems DMI table
    09a119a2d4c0 security: keys: trusted: fix TPM2 authorizations
    7bb63ed88189 memory: samsung: exynos5422-dmc: handle clk_set_parent() failure
    71bcc1b4a174 memory: renesas-rpc-if: fix possible NULL pointer dereference of resource
    73585b2714db spi: spi-zynqmp-gqspi: Fix missing unlock on error in zynqmp_qspi_exec_op()
    58ee5a0de192 m68k: Add missing mmap_read_lock() to sys_cacheflush()
    99d2fa2daf6d usbip: vudc: fix missing unlock on error in usbip_sockfd_store()
    99a29899e3a3 crypto: chelsio - Read rxchannel-id from firmware
    c703ef8289dc node: fix device cleanups in error handling code
    190a2f24aed6 firmware: qcom-scm: Fix QCOM_SCM configuration
    26882a15ed23 serial: core: return early on unsupported ioctls
    1d9cde4ddf6c tty: fix return value for unsupported termiox ioctls
    eef2158b0c44 tty: Remove dead termiox code
    aa7f103da301 tty: fix return value for unsupported ioctls
    bd8fa4ef36ca tty: actually undefine superseded ASYNC flags
    45c7e5c1428f USB: cdc-acm: fix TIOCGSERIAL implementation
    4425c2f32ac9 USB: cdc-acm: fix unprivileged TIOCCSERIAL
    e38a77c48aa0 usb: gadget: r8a66597: Add missing null check on return from platform_get_resource
    ce02e58ddf86 spi: fsl-lpspi: Fix PM reference leak in lpspi_prepare_xfer_hardware()
    cbe254a1fdce spi: spi-zynqmp-gqspi: fix incorrect operating mode in zynqmp_qspi_read_op
    314469666791 spi: spi-zynqmp-gqspi: transmit dummy circles by using the controller's internal functionality
    6bd307eb518d spi: spi-zynqmp-gqspi: add mutex locking for exec_op
    c164328f57c4 spi: spi-zynqmp-gqspi: use wait_for_completion_timeout to make zynqmp_qspi_exec_op not interruptible
    36cf347de9c4 cpufreq: armada-37xx: Fix determining base CPU frequency
    2f412fba2749 cpufreq: armada-37xx: Fix driver cleanup when registration failed
    6d7507243e05 clk: mvebu: armada-37xx-periph: Fix workaround for switching from L1 to L0
    a7ddbc86e4e4 clk: mvebu: armada-37xx-periph: Fix switching CPU freq from 250 Mhz to 1 GHz
    ce4b8f58b611 cpufreq: armada-37xx: Fix the AVS value for load L1
    cccc3f18fcb5 clk: mvebu: armada-37xx-periph: remove .set_parent method for CPU PM clock
    a13b110e7c9e cpufreq: armada-37xx: Fix setting TBG parent for load levels
    1faf7e6199b8 crypto: qat - Fix a double free in adf_create_ring
    0e596b373464 crypto: sa2ul - Fix memory leak of rxd
    2c67a9333da9 crypto: sun8i-ss - Fix memory leak of pad
    2e57ffdb5696 crypto: allwinner - add missing CRYPTO_ prefix
    ac0fc2de8ad1 ACPI: CPPC: Replace cppc_attr with kobj_attribute
    e65c287c9bd8 cpuidle: Fix ARM_QCOM_SPM_CPUIDLE configuration
    8316ec23bdd0 PM: runtime: Replace inline function pm_runtime_callbacks_present()
    d97cb4365747 soc: qcom: mdt_loader: Detect truncated read of segments
    ab86e5145f61 soc: qcom: mdt_loader: Validate that p_filesz < p_memsz
    078362f495a0 spi: fsl: add missing iounmap() on error in of_fsl_spi_probe()
    c7fabe372a90 spi: Fix use-after-free with devm_spi_alloc_*
    1de36911689c clocksource/drivers/ingenic_ost: Fix return value check in ingenic_ost_probe()
    edfcc1835958 clocksource/drivers/timer-ti-dm: Add missing set_state_oneshot_stopped
    410a1da7ee0e clocksource/drivers/timer-ti-dm: Fix posted mode status check order
    0681c62d1ea2 PM / devfreq: Use more accurate returned new_freq as resume_freq
    165b71a98c5a soc: qcom: pdr: Fix error return code in pdr_register_listener
    49f71d50cb30 staging: greybus: uart: fix unprivileged TIOCCSERIAL
    2c3ce3d84e80 staging: fwserial: fix TIOCGSERIAL implementation
    e08a24ae25b3 staging: fwserial: fix TIOCSSERIAL implementation
    40d622b31baf staging: rtl8192u: Fix potential infinite loop
    ab727e601cb5 staging: comedi: tests: ni_routes_test: Fix compilation error
    16ed454e10a8 irqchip/gic-v3: Fix OF_BAD_ADDR error handling
    b1d1f644ed9e mtd: rawnand: gpmi: Fix a double free in gpmi_nand_init
    4b465576f02a iio: adc: Kconfig: make AD9467 depend on ADI_AXI_ADC symbol
    11e708c19bdd firmware: qcom_scm: Workaround lack of "is available" call on SC7180
    89d449867c5d firmware: qcom_scm: Reduce locking section for __get_convention()
    2ceac2b6c87c firmware: qcom_scm: Make __qcom_scm_is_call_available() return bool
    1dfb26df15fc m68k: mvme147,mvme16x: Don't wipe PCC timer config bits
    7c468deae306 soundwire: stream: fix memory leak in stream config error path
    aa531c6c51e7 memory: pl353: fix mask of ECC page_size config register
    0256f4205c14 driver core: platform: Declare early_platform_cleanup() prototype
    100a5c76e5d2 drivers: nvmem: Fix voltage settings for QTI qfprom-efuse
    409ab5a9d809 USB: gadget: udc: fix wrong pointer passed to IS_ERR() and PTR_ERR()
    4b6b771a6d3f usb: gadget: aspeed: fix dma map failure
    36babddef782 crypto: qat - fix error path in adf_isr_resource_alloc()
    bbd61fa05cd6 crypto: poly1305 - fix poly1305_core_setkey() declaration
    821ff1d44fe3 NFSv4.2: fix copy stateid copying for the async copy
    74bcea1a608e NFSD: Fix sparse warning in nfs4proc.c
    c9df2c56f502 arm64: dts: mediatek: fix reset GPIO level on pumpkin
    53191c1d78b1 phy: marvell: ARMADA375_USBCLUSTER_PHY should not default to y, unconditionally
    6cca7cc213d6 phy: ti: j721e-wiz: Delete "clk_div_sel" clk provider during cleanup
    1e337097fe10 soundwire: bus: Fix device found flag correctly
    00f6abd3509b bus: qcom: Put child node before return
    6a4d2f863ab8 arm64: dts: renesas: r8a779a0: Fix PMU interrupt
    7b6552719c0c mtd: require write permissions for locking and badblock ioctls
    45eb038029b9 dt-bindings: serial: stm32: Use 'type: object' instead of false for 'additionalProperties'
    42c9f39a7222 usb: gadget: s3c: Fix the error handling path in 's3c2410_udc_probe()'
    0764c91011c5 usb: gadget: s3c: Fix incorrect resources releasing
    b33c05d6bf6f fotg210-udc: Complete OUT requests on short packets
    7d5ff493219c fotg210-udc: Don't DMA more than the buffer can take
    e06d4a0c39bf fotg210-udc: Mask GRP2 interrupts we don't handle
    3515fd226ea0 fotg210-udc: Remove a dubious condition leading to fotg210_done
    36df13916de9 fotg210-udc: Fix EP0 IN requests bigger than two packets
    01c66e834024 fotg210-udc: Fix DMA on EP0 for length > max packet size
    1f50392650ae crypto: qat - ADF_STATUS_PF_RUNNING should be set after adf_dev_init
    b50967781767 crypto: qat - don't release uninitialized resources
    31e1314ceee0 crypto: ccp - fix command queuing to TEE ring buffer
    22ae303805aa usb: gadget: pch_udc: Provide a GPIO line used on Intel Minnowboard (v1)
    9f6e0fdb154c usb: gadget: pch_udc: Initialize device pointer before use
    3b6769806027 usb: gadget: pch_udc: Check for DMA mapping error
    a6e680788c62 usb: gadget: pch_udc: Check if driver is present before calling ->setup()
    7d18eb34036a usb: gadget: pch_udc: Replace cpu_to_le32() by lower_32_bits()
    501ba8bf8d35 devtmpfs: fix placement of complete() call
    bac20313210a x86/microcode: Check for offline CPUs before requesting new microcode
    05b3f9b0ac32 spi: stm32: Fix use-after-free on unbind
    75a7a8920a57 arm64: dts: renesas: r8a77980: Fix vin4-7 endpoint binding
    e8146dc804bf regulator: bd9576: Fix return from bd957x_probe()
    0390f6f1d0bc spi: stm32: drop devres version of spi_register_master
    617ec35ed51f crypto: sun8i-ss - Fix memory leak of object d when dma_iv fails to map
    75d0f3fb02d9 arm64: dts: qcom: db845c: fix correct powerdown pin for WSA881x
    a27a2590f76e arm64: dts: qcom: sm8250: fix number of pins in 'gpio-ranges'
    2feffa751958 arm64: dts: qcom: sm8150: fix number of pins in 'gpio-ranges'
    8ff9b9f4fb54 arm64: dts: qcom: sdm845: fix number of pins in 'gpio-ranges'
    3673e0fa13ec arm64: dts: qcom: sm8250: Fix timer interrupt to specify EL2 physical timer
    5faf320a2b4d arm64: dts: qcom: sm8250: Fix level triggered PMU interrupt polarity
    33ffc713dfc2 ARM: dts: stm32: fix usart 2 & 3 pinconf to wake up with flow control
    5133b4bdc98e mtd: maps: fix error return code of physmap_flash_remove()
    c55310e30de2 mtd: don't lock when recursively deleting partitions
    174fe383de80 mtd: rawnand: qcom: Return actual error code instead of -ENODEV
    ca28e6a013b2 mtd: Handle possible -EPROBE_DEFER from parse_mtd_partitions()
    705ad2d8c361 mtd: rawnand: brcmnand: fix OOB R/W with Hamming ECC
    c8f3837c51f8 mtd: rawnand: fsmc: Fix error code in fsmc_nand_probe()
    82a0cadf6fa5 spi: rockchip: avoid objtool warning
    eb949f891226 regmap: set debugfs_name to NULL after it is freed
    840a6ff50a53 usb: typec: stusb160x: fix return value check in stusb160x_probe()
    72fa4c30ac1b usb: typec: tps6598x: Fix return value check in tps6598x_probe()
    2c80fa2cbfec usb: typec: tcpci: Check ROLE_CONTROL while interpreting CC_STATUS
    98743f2b8c25 serial: stm32: fix tx_empty condition
    566901ba502f serial: stm32: add FIFO flush when port is closed
    01ce9c5d1715 serial: stm32: fix FIFO flush in startup and set_termios
    f765918b334d serial: stm32: call stm32_transmit_chars locked
    a98c0683a3be serial: stm32: fix tx dma completion, release channel
    1f308f65d851 serial: stm32: fix a deadlock in set_termios
    5eacd7fa4087 serial: stm32: fix wake-up flag handling
    ea627af3dddd serial: stm32: fix a deadlock condition with wakeup event
    69ac7b3b893c serial: stm32: fix TX and RX FIFO thresholds
    5ca0d5b2c801 serial: stm32: fix incorrect characters on console
    a44d6acfa7df serial: stm32: fix startup by enabling usart for reception
    b5e8f0adaec1 serial: stm32: Use of_device_get_match_data()
    379b007b57ca serial: stm32: fix probe and remove order for dma
    1027c8c028c0 serial: stm32: add "_usart" prefix in functions name
    ab8363f13f12 serial: stm32: fix code cleaning warnings and checks
    7c5e96e89c05 x86/platform/uv: Set section block size for hubless architectures
    e6d95f35235a arm64: dts: renesas: Add mmc aliases into board dts files
    9d48f2b903d1 ARM: dts: renesas: Add mmc aliases into R-Car Gen2 board dts files
    2ddb0b285c2c ARM: dts: s5pv210: correct fuel gauge interrupt trigger level on Fascinate family
    6d6abd5e4778 ARM: dts: exynos: correct PMIC interrupt trigger level on Snow
    0069053e21ed ARM: dts: exynos: correct PMIC interrupt trigger level on SMDK5250
    c4121dac1c14 ARM: dts: exynos: correct PMIC interrupt trigger level on Odroid X/U3 family
    2c2d05131e1b ARM: dts: exynos: correct PMIC interrupt trigger level on Midas family
    c6541b0e8891 ARM: dts: exynos: correct MUIC interrupt trigger level on Midas family
    0cc067284a3e ARM: dts: exynos: correct fuel gauge interrupt trigger level on Midas family
    41fdefb351ae ARM: dts: exynos: correct fuel gauge interrupt trigger level on GT-I9100
    dff20fb2791c memory: gpmc: fix out of bounds read and dereference on gpmc_cs[]
    1f12aaf07f61 crypto: sun8i-ss - fix result memory leak on error path
    9c0d2c3f7f72 fpga: fpga-mgr: xilinx-spi: fix error messages on -EPROBE_DEFER
    305a936af4fc firmware: xilinx: Remove zynqmp_pm_get_eemi_ops() in IS_REACHABLE(CONFIG_ZYNQMP_FIRMWARE)
    cfc0577ab19e firmware: xilinx: Add a blank line after function declaration
    ef7809681b2c firmware: xilinx: Fix dereferencing freed memory
    7f69649dad99 Revert "tools/power turbostat: adjust for temperature offset"
    0781a13c9c44 usb: gadget: pch_udc: Revert d3cb25a12138 completely
    6b922dc1d11e Revert "drm/qxl: do not run release if qxl failed to init"
    06f414e5c9f0 ovl: fix missing revert_creds() on error path
    7604978e85b8 Revert "i3c master: fix missing destroy_workqueue() on error in i3c_master_register"
    545dbb1bbeff Revert "drivers/net/wan/hdlc_fr: Fix a double free in pvc_xmit"
    96e308a36efe KVM: arm64: Fix KVM_VGIC_V3_ADDR_TYPE_REDIST_REGION read
    00824c30236b KVM: arm64: Fully zero the vcpu state on reset
    2a20592baff5 KVM: Stop looking for coalesced MMIO zones if the bus is destroyed
    03c6cccedd39 KVM: Destroy I/O bus devices on unregister failure _after_ sync'ing SRCU
    ae996824da9b KVM: arm/arm64: Fix KVM_VGIC_V3_ADDR_TYPE_REDIST read
    a947f95b6b3a KVM: nVMX: Truncate base/index GPR value on address calc in !64-bit
    6b7028de661d KVM: nVMX: Truncate bits 63:32 of VMCS field on nested check in !64-bit
    fa9b4ee318f9 KVM: nVMX: Defer the MMU reload to the normal path on an EPTP switch
    6748f80aeaf3 KVM: SVM: Inject #GP on guest MSR_TSC_AUX accesses if RDTSCP unsupported
    6ccdbedd167c KVM: SVM: Do not allow SEV/SEV-ES initialization after vCPUs are created
    ead4fb53fd42 KVM: SVM: Don't strip the C-bit from CR2 on #PF interception
    12d684302581 KVM: nSVM: Set the shadow root level to the TDP level for nested NPT
    f59c2220f6ec KVM: x86: Remove emulator's broken checks on CR0/CR3/CR4 loads
    c8b49e01a23b KVM: x86/mmu: Alloc page for PDPTEs when shadowing 32-bit NPT with 64-bit
    b4414fbc0fb3 KVM: s390: extend kvm_s390_shadow_fault to return entry pointer
    568782de5df1 KVM: s390: split kvm_s390_real_to_abs
    3804d1a4be99 KVM: s390: VSIE: fix MVPG handling for prefixing and MSO
    814cb6de6db6 s390: fix detection of vector enhancements facility 1 vs. vector packed decimal facility
    be4ed1ac92ef KVM: s390: fix guarded storage control register handling
    2705bc3f1c8d KVM: s390: split kvm_s390_logical_to_effective
    82de9ad49303 KVM: s390: VSIE: correctly handle MVPG when in VSIE
    885024a8fb20 ALSA: hda/realtek: Fix speaker amp on HP Envy AiO 32
    bead5f0e81d7 ALSA: hda/realtek: ALC285 Thinkpad jack pin quirk is unreachable
    e8a3a49001f3 ALSA: hda/realtek: Remove redundant entry for ALC861 Haier/Uniwill devices
    ccaa81e802d2 ALSA: hda/realtek: Re-order ALC662 quirk table entries
    ada3f488d576 ALSA: hda/realtek: Re-order remaining ALC269 quirk table entries
    5a58fbcf6443 ALSA: hda/realtek: Re-order ALC269 Lenovo quirk table entries
    44d57dcd8300 ALSA: hda/realtek: Re-order ALC269 Sony quirk table entries
    9f7ee3dd2c09 ALSA: hda/realtek: Re-order ALC269 ASUS quirk table entries
    7aee1f28ebd9 ALSA: hda/realtek: Re-order ALC269 Dell quirk table entries
    ba56b860da86 ALSA: hda/realtek: Re-order ALC269 Acer quirk table entries
    252feb3af9a0 ALSA: hda/realtek: Re-order ALC269 HP quirk table entries
    91d5c81bf24f ALSA: hda/realtek: Re-order ALC882 Clevo quirk table entries
    56e923d0368f ALSA: hda/realtek: Re-order ALC882 Sony quirk table entries
    8c9841ae6e8b ALSA: hda/realtek: Re-order ALC882 Acer quirk table entries
    ae5c6690e0c8 drm/amdgpu: fix concurrent VM flushes on Vega/Navi v2
    7e2459bb19b9 drm/amd/display: Reject non-zero src_y and src_x for video planes
    ce450934a00c drm: bridge/panel: Cleanup connector on bridge detach
    92b98bcc4f48 drm/dp_mst: Set CLEAR_PAYLOAD_ID_TABLE as broadcast
    7eea3eff02ed drm/dp_mst: Revise broadcast msg lct & lcr
    9b50c185d27d drm/radeon: fix copy of uninitialized variable back to userspace
    09b031b5fc18 drm/panfrost: Don't try to map pages that are already mapped
    abb79f67a909 drm/panfrost: Clear MMU irqs before handling the fault
    08f6e8a7538d drm/qxl: use ttm bo priorities
    f6c5cc6febbe drm/i915/gvt: Fix vfio_edid issue for BXT/APL
    92b82770e9ba drm/i915/gvt: Fix virtual display setup for BXT/APL
    3b999f3eac04 FDDI: defxx: Make MMIO the configuration default except for EISA
    9fa26701cd1f mt76: fix potential DMA mapping leak
    95fb153c6027 rtw88: Fix array overrun in rtw_get_tx_power_params()
    9e7fcf39e2f8 cfg80211: scan: drop entry from hidden_list on overflow
    c9996845ff67 ipw2x00: potential buffer overflow in libipw_wx_set_encodeext()
    f54f21c07fea mt76: mt7615: use ieee80211_free_txskb() in mt7615_tx_token_put()
    0035a4704557 md: Fix missing unused status line of /proc/mdstat
    b70b7ec50089 md: md_open returns -EBUSY when entering racing area
    cdcfa77a332a md: factor out a mddev_find_locked helper from mddev_find
    07e737408502 md: split mddev_find
    61b8c6efbe87 md-cluster: fix use-after-free issue when removing rdev
    569885ad7518 md/bitmap: wait for external bitmap writes to complete during tear down
    cab2e8e5997b async_xor: increase src_offs when dropping destination page
    a4c421b12cc6 x86, sched: Treat Intel SNC topology as default, COD as exception
    4c0ddc8712d9 selinux: add proper NULL termination to the secclass_map permissions
    bb27aecf06a3 misc: vmw_vmci: explicitly initialize vmci_datagram payload
    15f2a3de1a6b misc: vmw_vmci: explicitly initialize vmci_notify_bm_set_msg struct
    6115a9027e52 phy: ti: j721e-wiz: Invoke wiz_init() before of_platform_device_create()
    dbd328dfd9c1 misc: lis3lv02d: Fix false-positive WARN on various HP models
    be6566144cbd phy: cadence: Sierra: Fix PHY power_on sequence
    66c86eefa2eb sc16is7xx: Defer probe if device read fails
    814919a0739f iio:adc:ad7476: Fix remove handling
    62a560ac4acd iio:accel:adis16201: Fix wrong axis assignment that prevents loading
    5670ed4d5568 iio: inv_mpu6050: Fully validate gyro and accel scale writes
    a1ad124c8368 soc/tegra: regulators: Fix locking up when voltage-spread is out of range
    2f2d444ac496 PM / devfreq: Unlock mutex and free devfreq struct in error path
    e0b325888b53 PCI: keystone: Let AM65 use the pci_ops defined in pcie-designware-host.c
    cc178b77f8a3 PCI: xgene: Fix cfg resource mapping
    451a3e7570fc KVM: x86: Defer the MMU unload to the normal path on an global INVPCID
    14e3676e3cad PCI: Allow VPD access for QLogic ISP2722
    a22fc2eb03c4 FDDI: defxx: Bail out gracefully with unassigned PCI resource for CSR
    bd93fbc101d0 MIPS: pci-rt2880: fix slot 0 configuration
    149e1986ff6a MIPS: pci-mt7620: fix PLL lock check
    cdc7ff119a65 ASoC: tlv320aic32x4: Increase maximum register in regmap
    8d24a7195976 ASoC: tlv320aic32x4: Register clocks before registering component
    c3c86bd3d5e4 ASoC: Intel: kbl_da7219_max98927: Fix kabylake_ssp_fixup function
    7a7c14873c6d ASoC: samsung: tm2_wm5110: check of of_parse return value
    5a75dc20a92b usb: xhci-mtk: improve bandwidth scheduling with TT
    eb58724f4476 usb: xhci-mtk: remove or operator for setting schedule parameters
    048a99032d8a usb: typec: tcpm: update power supply once partner accepts
    61a4b925aa0f usb: typec: tcpm: Address incorrect values of tcpm psy for pps supply
    79cae796dbf0 usb: typec: tcpm: Address incorrect values of tcpm psy for fixed supply
    0dace269aa22 drm: bridge: fix LONTIUM use of mipi_dsi_() functions
    8a80901a061f staging: fwserial: fix TIOCSSERIAL permission check
    af5145c8efa6 tty: moxa: fix TIOCSSERIAL permission check
    6096118089c9 staging: fwserial: fix TIOCSSERIAL jiffies conversions
    eb3a757e0baa USB: serial: ti_usb_3410_5052: fix TIOCSSERIAL permission check
    767e8241dd1c staging: greybus: uart: fix TIOCSSERIAL jiffies conversions
    304efedabad2 USB: serial: usb_wwan: fix TIOCSSERIAL jiffies conversions
    f283aaa01824 tty: amiserial: fix TIOCSSERIAL permission check
    f09ec0fc67a4 tty: moxa: fix TIOCSSERIAL jiffies conversions
    eeb4fd46eb9e usb: roles: Call try_module_get() from usb_role_switch_find_by_fwnode()
    c2ef392fff9d Revert "USB: cdc-acm: fix rounding error in TIOCSSERIAL"
    7e916d0124e5 io_uring: truncate lengths larger than MAX_RW_COUNT on provide buffers
    6b7021ed36da net/nfc: fix use-after-free llcp_sock_bind/connect
    2d84ef4e6569 bluetooth: eliminate the potential race condition when removing the HCI controller
    1d7bd87a2c8d Bluetooth: verify AMP hci_chan before amp_destroy

(From OE-Core rev: 7e47d02cb34d23132b54e48bf0c86844d20d0f02)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-18 23:52:53 +01:00
Bruce Ashfield
6f79bfa414 linux-yocto/5.4: update to v5.4.118
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:

    16022114de98 Linux 5.4.118
    a992a283c0b7 dm rq: fix double free of blk_mq_tag_set in dev remove after table load fails
    569bae00ebbe dm integrity: fix missing goto in bitmap_flush_interval error handling
    ff8fd1e3b58a dm space map common: fix division bug in sm_ll_find_free_block()
    6fcaa44105aa dm persistent data: packed struct should have an aligned() attribute too
    c64da3294a7d tracing: Restructure trace_clock_global() to never block
    0834094c9a08 tracing: Map all PIDs to command lines
    8768085ba271 rsi: Use resume_noirq for SDIO
    55aa314a1a6c tty: fix memory leak in vc_deallocate
    943131fda33b usb: dwc2: Fix session request interrupt handler
    5bd06fc6b02c usb: dwc3: gadget: Fix START_TRANSFER link state check
    0790fdbf37ee usb: gadget/function/f_fs string table fix for multiple languages
    3b8b63be230f usb: gadget: Fix double free of device descriptor pointers
    efa99087ea69 usb: gadget: dummy_hcd: fix gpf in gadget_setup
    ffe824c0e35a media: staging/intel-ipu3: Fix race condition during set_fmt
    a03fb1e8a110 media: staging/intel-ipu3: Fix set_fmt error handling
    ff792ae52005 media: staging/intel-ipu3: Fix memory leak in imu_fmt
    ae37aee56cad media: dvb-usb: Fix memory leak at error in dvb_usb_device_init()
    e5c27c2ae2f2 media: dvb-usb: Fix use-after-free access
    9185b3b1c143 media: dvbdev: Fix memory leak in dvb_media_device_free()
    92eb134265fa ext4: fix error code in ext4_commit_super
    c599462ab9c3 ext4: do not set SB_ACTIVE in ext4_orphan_cleanup()
    9c61387630a5 ext4: fix check to prevent false positive report of incorrect used inodes
    79c95130a52a kbuild: update config_data.gz only when the content of .config is changed
    19c8c34a8b80 x86/cpu: Initialize MSR_TSC_AUX if RDTSCP *or* RDPID is supported
    8d2be04dbb17 Revert 337f13046ff0 ("futex: Allow FUTEX_CLOCK_REALTIME with FUTEX_WAIT op")
    2b040d13b411 jffs2: check the validity of dstlen in jffs2_zlib_compress()
    564b1868f229 Fix misc new gcc warnings
    8aa728568202 security: commoncap: fix -Wstringop-overread warning
    be8db260f482 fuse: fix write deadlock
    dc21b424861a dm raid: fix inconclusive reshape layout on fast raid4/5/6 table reload sequences
    6920cef604fa md/raid1: properly indicate failure when ending a failed write request
    5f2d256875a5 crypto: rng - fix crypto_rng_reset() refcounting when !CRYPTO_STATS
    63a25b715633 tpm: vtpm_proxy: Avoid reading host log when using a virtual device
    2f12258b5224 tpm: efi: Use local variable for calculating final log size
    2af501de8f43 intel_th: pci: Add Alder Lake-M support
    ab5d5c9dfd02 powerpc: fix EDEADLOCK redefinition error in uapi/asm/errno.h
    abf3573ef4e7 powerpc/eeh: Fix EEH handling for hugepages in ioremap space.
    077f526fe3cc jffs2: Fix kasan slab-out-of-bounds problem
    ad3f360ef20f Input: ili210x - add missing negation for touch indication on ili210x
    6be0e4b59314 NFSv4: Don't discard segments marked for return in _pnfs_return_layout()
    12ccd59941e3 NFS: Don't discard pNFS layout segments that are marked for return
    504632a3577a ACPI: GTDT: Don't corrupt interrupt mappings on watchdow probe failure
    490ad0a23904 openvswitch: fix stack OOB read while fragmenting IPv4 packets
    9508634b2b18 mlxsw: spectrum_mr: Update egress RIF list before route's action
    27a130638406 f2fs: fix to avoid out-of-bounds memory access
    6c9b98a66d0a ubifs: Only check replay with inode type to judge if inode linked
    310efc95c72c virtiofs: fix memory leak in virtio_fs_probe()
    2b28e26bd776 Makefile: Move -Wno-unused-but-set-variable out of GCC only block
    13a474c01353 arm64/vdso: Discard .note.gnu.property sections in vDSO
    f40bf82bf693 btrfs: fix race when picking most recent mod log operation for an old root
    2bc0131d5be0 ALSA: hda/realtek: Add quirk for Intel Clevo PCx0Dx
    45392da1bd91 ALSA: hda/realtek: fix static noise on ALC285 Lenovo laptops
    ee47a6414950 ALSA: hda/realtek: fix mic boost on Intel NUC 8
    d143cd1f8f6b ALSA: hda/realtek: GA503 use same quirks as GA401
    f2b75e357816 ALSA: usb-audio: Add dB range mapping for Sennheiser Communications Headset PC 8
    2136ecfcf3d9 ALSA: usb-audio: More constifications
    adba683c573d ALSA: usb-audio: Explicitly set up the clock selector
    93588ea2fbd4 ALSA: sb: Fix two use after free in snd_sb_qsound_build
    1666f1ac383f ALSA: hda/conexant: Re-order CX5066 quirk table entries
    b53b72ef83ff ALSA: emu8000: Fix a use after free in snd_emu8000_create_mixer
    a65181cfd953 s390/archrandom: add parameter check for s390_arch_random_generate
    ef00a39e2c78 scsi: libfc: Fix a format specifier
    02c13900477c mfd: arizona: Fix rumtime PM imbalance on error
    0d0e6dbd5fca scsi: lpfc: Remove unsupported mbox PORT_CAPABILITIES logic
    0756818b4d3b scsi: lpfc: Fix error handling for mailboxes completed in MBX_POLL mode
    f67fc8095bbe scsi: lpfc: Fix crash when a REG_RPI mailbox fails triggering a LOGO response
    82bc134b93b5 drm/amdgpu: fix NULL pointer dereference
    4b65414ea416 amdgpu: avoid incorrect %hu format string
    443fdd7b4bc3 drm/amdkfd: Fix cat debugfs hang_hws file causes system crash bug
    c49981759450 drm/msm/mdp5: Do not multiply vclk line count by 100
    336e7e758640 drm/msm/mdp5: Configure PP_SYNC_HEIGHT to double the vtotal
    b56ad4febe67 sched/fair: Ignore percpu threads for imbalance pulls
    53995be39f93 media: gscpa/stv06xx: fix memory leak
    3a855efb5426 media: dvb-usb: fix memory leak in dvb_usb_adapter_init
    4ca05c0e04d5 media: platform: sti: Fix runtime PM imbalance in regs_show
    47be6867d2d0 media: i2c: adv7842: fix possible use-after-free in adv7842_remove()
    f6b97476053d media: i2c: tda1997: Fix possible use-after-free in tda1997x_remove()
    cc265fb8e549 media: i2c: adv7511-v4l2: fix possible use-after-free in adv7511_remove()
    48304f37ce81 media: adv7604: fix possible use-after-free in adv76xx_remove()
    b76249a0a64e media: tc358743: fix possible use-after-free in tc358743_remove()
    b25324cf16f5 power: supply: s3c_adc_battery: fix possible use-after-free in s3c_adc_bat_remove()
    ac22a96c7388 power: supply: generic-adc-battery: fix possible use-after-free in gab_remove()
    e0be54070ba1 clk: socfpga: arria10: Fix memory leak of socfpga_clk on error return
    330753d38f26 media: vivid: update EDID
    71b75e6e2410 media: em28xx: fix memory leak
    cfb42c1bcce8 scsi: scsi_dh_alua: Remove check for ASC 24h in alua_rtpg()
    1a22a9fde806 scsi: smartpqi: Add new PCI IDs
    7973764b5454 scsi: smartpqi: Correct request leakage during reset operations
    7d77ac088fd7 ata: ahci: Disable SXS for Hisilicon Kunpeng920
    1f3daf672a13 mmc: sdhci-pci: Add PCI IDs for Intel LKF
    40fdaa2d149b scsi: qla2xxx: Fix use after free in bsg
    2cb8ce1d79d3 drm/vkms: fix misuse of WARN_ON
    3f67d5b6f943 scsi: qla2xxx: Always check the return value of qla24xx_get_isp_stats()
    48425948d2b6 drm/amd/display: fix dml prefetch validation
    cd148571eab0 drm/amd/display: Fix UBSAN warning for not a valid value for type '_Bool'
    e81f4da43b1d drm/amdgpu : Fix asic reset regression issue introduce by 8f211fe8ac7c4f
    0c0356ef2498 drm/amdkfd: Fix UBSAN shift-out-of-bounds warning
    888b482dbe26 drm/amdgpu: mask the xgmi number of hops reported from psp to kfd
    8d802ad28f9c power: supply: Use IRQF_ONESHOT
    bc73cb52997d media: gspca/sq905.c: fix uninitialized variable
    bec3831f5108 media: media/saa7164: fix saa7164_encoder_register() memory leak bugs
    20065ae0056a extcon: arizona: Fix various races on driver unbind
    32990455bd12 extcon: arizona: Fix some issues when HPDET IRQ fires after the jack has been unplugged
    22ee443ac784 power: supply: bq27xxx: fix power_avg for newer ICs
    5bc128a16333 media: imx: capture: Return -EPIPE from __capture_legacy_try_fmt()
    e18cee768a6e media: drivers: media: pci: sta2x11: fix Kconfig dependency on GPIOLIB
    a2e71d2d797d media: ite-cir: check for receive overflow
    78829d2ec594 scsi: target: pscsi: Fix warning in pscsi_complete_cmd()
    a27784943a96 scsi: lpfc: Fix pt2pt connection does not recover after LOGO
    52d2b4370a9d scsi: lpfc: Fix incorrect dbde assignment when building target abts wqe
    2b847dc1f662 drm/amd/display: Don't optimize bandwidth before disabling planes
    84b03026cccc drm/amd/display: Check for DSC support instead of ASIC revision
    bbf11337ded8 drm/qxl: release shadow on shutdown
    a7d964da5d17 drm: Added orientation quirk for OneGX1 Pro
    567c83104471 btrfs: convert logic BUG_ON()'s in replace_path to ASSERT()'s
    3260434687cc platform/x86: intel_pmc_core: Don't use global pmcdev in quirks
    229d2c12f1eb crypto: omap-aes - Fix PM reference leak on omap-aes.c
    5c411b92439d crypto: stm32/cryp - Fix PM reference leak on stm32-cryp.c
    e6d5c66737a9 crypto: stm32/hash - Fix PM reference leak on stm32-hash.c
    e7138a6d6a4d phy: phy-twl4030-usb: Fix possible use-after-free in twl4030_usb_remove()
    349f95248bce intel_th: Consistency and off-by-one fix
    86f4ac7ca448 tty: n_gsm: check error while registering tty devices
    665dbcf35508 usb: core: hub: Fix PM reference leak in usb_port_resume()
    b8035ac2ad08 usb: musb: fix PM reference leak in musb_irq_work()
    972639ed7b90 spi: qup: fix PM reference leak in spi_qup_remove()
    0adc0e0c87ff spi: omap-100k: Fix reference leak to master
    d6aa2fcd8566 spi: dln2: Fix reference leak to master
    99569ac2e97c xhci: fix potential array out of bounds with several interrupters
    99c82db050ae xhci: check control context is valid before dereferencing it.
    6f34d2ab34ed usb: xhci-mtk: support quirk to disable usb2 lpm
    d95748f23084 perf/arm_pmu_platform: Fix error handling
    fe53f8fd64d7 tee: optee: do not check memref size on return from Secure World
    dda2bc82891c x86/build: Propagate $(CLANG_FLAGS) to $(REALMODE_FLAGS)
    ee68dd4e502f PCI: PM: Do not read power state in pci_enable_device_flags()
    52b4b9d250d4 usb: xhci: Fix port minor revision
    c13c8354fd58 usb: dwc3: gadget: Ignore EP queue requests during bus reset
    9f3c7e0074b7 usb: gadget: f_uac1: validate input parameters
    a10fb8a1c70a usb: gadget: f_uac2: validate input parameters
    a629f6bc034a genirq/matrix: Prevent allocation counter corruption
    1b2207a19664 usb: webcam: Invalid size of Processing Unit Descriptor
    4cc65c749d58 usb: gadget: uvc: add bInterval checking for HS mode
    28da0edb56ae crypto: qat - fix unmap invalid dma address
    69f1a9702d3f crypto: api - check for ERR pointers in crypto_destroy_tfm()
    8ac79bdcc0c4 spi: ath79: remove spi-master setup and cleanup assignment
    4d6a20917fda spi: ath79: always call chipselect function
    e24b9cded4bc staging: wimax/i2400m: fix byte-order issue
    ce64f57a0fe0 bus: ti-sysc: Probe for l4_wkup and l4_cfg interconnect devices first
    4928d3b02083 fbdev: zero-fill colormap in fbcmap.c
    1c5cb86cdd7f posix-timers: Preserve return value in clock_adjtime32()
    e07d0fd8d64f intel_th: pci: Add Rocket Lake CPU support
    b6635915a3c3 btrfs: fix metadata extent leak after failure to create subvolume
    93f3339b22ba cifs: Return correct error code from smb2_get_enc_key
    e7ea8e46e3b7 irqchip/gic-v3: Do not enable irqs when handling spurious interrups
    13b0a28e6fef modules: inherit TAINT_PROPRIETARY_MODULE
    cd5a738e28ac modules: return licensing information from find_symbol
    c4698910a9af modules: rename the licence field in struct symsearch to license
    7500d4999431 modules: unexport __module_address
    ad6d414703d7 modules: unexport __module_text_address
    86de29b833e6 modules: mark each_symbol_section static
    79100b191e71 modules: mark find_symbol static
    6e38daf2e5db modules: mark ref_module static
    909a01b95120 mmc: core: Fix hanging on I/O during system suspend for removable cards
    c80524b9e418 mmc: core: Set read only for SD cards with permanent write protect bit
    42998c98ce9f mmc: core: Do a power cycle when the CMD11 fails
    1b45fcf11d28 mmc: block: Issue a cache flush only when it's enabled
    2fb68f705c56 mmc: block: Update ext_csd.cache_ctrl if it was written
    4e438ff2d967 mmc: sdhci-pci: Fix initialization of some SD cards for Intel BYT-based controllers
    698df555cc5f mmc: sdhci: Check for reset prior to DMA address unmap
    0d8941b9b2d3 mmc: uniphier-sd: Fix a resource leak in the remove function
    06e48bb631d3 mmc: uniphier-sd: Fix an error handling path in uniphier_sd_probe()
    21171ede4337 scsi: mpt3sas: Block PCI config access from userspace during reset
    77509a238547 scsi: qla2xxx: Fix crash in qla2xxx_mqueuecommand()
    e45acaddd64b spi: spi-ti-qspi: Free DMA resources
    c57af0be7722 erofs: add unsupported inode i_format check
    49fc21a47e93 mtd: rawnand: atmel: Update ecc_stats.corrected counter
    3ef6813bb3a4 mtd: spinand: core: add missing MODULE_DEVICE_TABLE()
    fd1772305002 ecryptfs: fix kernel panic with null dev_name
    e057164f8731 arm64: dts: mt8173: fix property typo of 'phys' in dsi node
    527edae13d24 arm64: dts: marvell: armada-37xx: add syscon compatible to NB clk node
    34ae75d699fd ARM: 9056/1: decompressor: fix BSS size calculation for LLVM ld.lld
    0b641b25870f ftrace: Handle commands when closing set_ftrace_filter file
    6a4f786f8eb5 ACPI: custom_method: fix a possible memory leak
    72814a94c38a ACPI: custom_method: fix potential use-after-free issue
    b691331218d0 s390/disassembler: increase ebpf disasm buffer size

(From OE-Core rev: 4d4609d4bb709db887b5302077f89a14c05b1edc)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-18 23:52:53 +01:00
Bruce Ashfield
9d768da0f8 linux-yocto/5.10: update to v5.10.36
Updating linux-yocto/5.10 to the latest korg -stable release that comprises
the following commits:

    72bb632d15f2 Linux 5.10.36
    14b2801ccd9b thermal/core/fair share: Lock the thermal zone while looping over instances
    c24a20912eef thermal/drivers/cpufreq_cooling: Fix slab OOB issue
    051dd0681ce1 lib/vsprintf.c: remove leftover 'f' and 'F' cases from bstr_printf()
    1cb02dc76f4c dm rq: fix double free of blk_mq_tag_set in dev remove after table load fails
    06141465e372 dm integrity: fix missing goto in bitmap_flush_interval error handling
    df893916b330 dm space map common: fix division bug in sm_ll_find_free_block()
    fcf763a80e0e dm persistent data: packed struct should have an aligned() attribute too
    a33614d52e97 tracing: Restructure trace_clock_global() to never block
    9e40ef5391df tracing: Map all PIDs to command lines
    ea6803ff2cd1 tools/power turbostat: Fix offset overflow issue in index converting
    b84c57762cef rsi: Use resume_noirq for SDIO
    b1c953dc853a tty: fix memory leak in vc_deallocate
    25e9c2c11735 usb: dwc2: Fix session request interrupt handler
    fce7bbcd07d5 usb: dwc3: core: Do core softreset when switch mode
    b624b32584ac usb: dwc3: gadget: Fix START_TRANSFER link state check
    f9ddfaa9703c usb: dwc3: gadget: Remove FS bInterval_m1 limitation
    8df75d1296d0 usb: gadget/function/f_fs string table fix for multiple languages
    ba8ce683076e usb: gadget: Fix double free of device descriptor pointers
    f12c5cca65f7 usb: gadget: dummy_hcd: fix gpf in gadget_setup
    678e76bccee4 media: venus: hfi_parser: Don't initialize parser on v1
    5d0f6f5251a3 media: v4l2-ctrls: fix reference to freed memory
    4121def7df29 media: staging/intel-ipu3: Fix race condition during set_fmt
    c6b81b897f6f media: staging/intel-ipu3: Fix set_fmt error handling
    517f6f570566 media: staging/intel-ipu3: Fix memory leak in imu_fmt
    8acb13189dae media: dvb-usb: Fix memory leak at error in dvb_usb_device_init()
    a5e9ae5a22b0 media: dvb-usb: Fix use-after-free access
    43263fd43083 media: dvbdev: Fix memory leak in dvb_media_device_free()
    378a016271ba ext4: Fix occasional generic/418 failure
    133e83b5b3b3 ext4: allow the dax flag to be set and cleared on inline directories
    72447c925ea9 ext4: fix error return code in ext4_fc_perform_commit()
    bf4ba04f0161 ext4: fix ext4_error_err save negative errno into superblock
    12905cf9e5c4 ext4: fix error code in ext4_commit_super
    7e9298f4d139 ext4: do not set SB_ACTIVE in ext4_orphan_cleanup()
    098b257563b9 ext4: fix check to prevent false positive report of incorrect used inodes
    346190959f97 ext4: annotate data race in jbd2_journal_dirty_metadata()
    9aca313726cb ext4: annotate data race in start_this_handle()
    a27aad321751 kbuild: update config_data.gz only when the content of .config is changed
    3aec683ee79b x86/cpu: Initialize MSR_TSC_AUX if RDTSCP *or* RDPID is supported
    d19a456acaec futex: Do not apply time namespace adjustment on FUTEX_LOCK_PI
    2543329485e2 Revert 337f13046ff0 ("futex: Allow FUTEX_CLOCK_REALTIME with FUTEX_WAIT op")
    d35c4c959eb4 smb3: do not attempt multichannel to server which does not support it
    796b82637528 smb3: when mounting with multichannel include it in requested capabilities
    5781c9df77a3 jffs2: check the validity of dstlen in jffs2_zlib_compress()
    54708651bc1e Fix misc new gcc warnings
    f37b9c142e1c security: commoncap: fix -Wstringop-overread warning
    bf2b941d0a6f sfc: farch: fix TX queue lookup in TX event handling
    fb791572d674 sfc: farch: fix TX queue lookup in TX flush done handling
    11e3ff7e164a exfat: fix erroneous discard when clear cluster bit
    1c525c265668 fuse: fix write deadlock
    0cd2d2577a98 dm raid: fix inconclusive reshape layout on fast raid4/5/6 table reload sequences
    661061a45e32 md/raid1: properly indicate failure when ending a failed write request
    015cc7ad58d0 crypto: rng - fix crypto_rng_reset() refcounting when !CRYPTO_STATS
    0ba942cbf52b crypto: arm/curve25519 - Move '.fpu' after '.arch'
    c9adb76c712c tpm: vtpm_proxy: Avoid reading host log when using a virtual device
    60a01ecc9f68 tpm: efi: Use local variable for calculating final log size
    4a63b2438a93 intel_th: pci: Add Alder Lake-M support
    34ceafa62f49 powerpc: fix EDEADLOCK redefinition error in uapi/asm/errno.h
    0bdcaebb1225 powerpc/32: Fix boot failure with CONFIG_STACKPROTECTOR
    f2aa64979e11 powerpc/kexec_file: Use current CPU info while setting up FDT
    481fee8295ab powerpc/eeh: Fix EEH handling for hugepages in ioremap space.
    293c30ce25e0 powerpc/powernv: Enable HAIL (HV AIL) for ISA v3.1 processors
    643243e31868 jffs2: Hook up splice_write callback
    72c282b10951 jffs2: Fix kasan slab-out-of-bounds problem
    072f787e8798 Input: ili210x - add missing negation for touch indication on ili210x
    2fafe7d5047f NFSv4: Don't discard segments marked for return in _pnfs_return_layout()
    334165d9fb69 NFS: Don't discard pNFS layout segments that are marked for return
    96fa26b74cdc NFS: fs_context: validate UDP retrans to prevent shift out-of-bounds
    e0f2d86481ea ACPI: GTDT: Don't corrupt interrupt mappings on watchdow probe failure
    a1478374b0bd openvswitch: fix stack OOB read while fragmenting IPv4 packets
    4248f4649bf3 mlxsw: spectrum_mr: Update egress RIF list before route's action
    9aa4602237d5 f2fs: fix to avoid out-of-bounds memory access
    39624749c52d f2fs: fix error handling in f2fs_end_enable_verity()
    50b0c0c3385d ubifs: Only check replay with inode type to judge if inode linked
    5a876a46d7b7 kcsan, debugfs: Move debugfs file creation out of early init
    d19555ff225d virtiofs: fix memory leak in virtio_fs_probe()
    1b41d4e5aa75 fs: fix reporting supported extra file attributes for statx()
    dc4b67baba3b Makefile: Move -Wno-unused-but-set-variable out of GCC only block
    0f9055936668 arm64/vdso: Discard .note.gnu.property sections in vDSO
    1d852d6bb4d4 btrfs: fix race when picking most recent mod log operation for an old root
    b24f0e381036 tools/power/turbostat: Fix turbostat for AMD Zen CPUs
    d1ca3d2c4fd5 ALSA: hda/realtek: Add quirk for Intel Clevo PCx0Dx
    a9d0f7c14789 ALSA: hda/realtek: fix static noise on ALC285 Lenovo laptops
    3c8a599bc951 ALSA: hda/realtek - Headset Mic issue on HP platform
    871234a6ad4c ALSA: hda/realtek: fix mic boost on Intel NUC 8
    13ff604c79a0 ALSA: hda/realtek: GA503 use same quirks as GA401
    970fbbee55bc ALSA: hda/realtek: fix mute/micmute LEDs for HP ProBook 445 G7
    12fea3cb2277 ALSA: usb-audio: Add dB range mapping for Sennheiser Communications Headset PC 8
    ad7736cebf4d ALSA: usb-audio: Explicitly set up the clock selector
    cc427a507f29 ALSA: sb: Fix two use after free in snd_sb_qsound_build
    1ce8212e80f9 ALSA: hda/conexant: Re-order CX5066 quirk table entries
    9b7388931fbb ALSA: emu8000: Fix a use after free in snd_emu8000_create_mixer
    443467bd6240 power: supply: cpcap-battery: fix invalid usage of list cursor
    a15f68a5d55c sched,psi: Handle potential task count underflow bugs more gracefully
    a32a2d831de0 s390/archrandom: add parameter check for s390_arch_random_generate
    338a87230228 block/rnbd-clt: Fix missing a memory free when unloading the module
    ae7fe4794da2 sched,fair: Alternative sched_slice()
    94902ee2996a perf: Rework perf_event_exit_event()
    2c4de79e9a09 scsi: libfc: Fix a format specifier
    97a81d4051c3 mfd: arizona: Fix rumtime PM imbalance on error
    14c7e3f5bed5 mfd: da9063: Support SMBus and I2C mode
    d7ec1dab6be7 mfd: intel-m10-bmc: Fix the register access range
    c8fe9ef530e9 scsi: lpfc: Remove unsupported mbox PORT_CAPABILITIES logic
    cc42ea42e250 scsi: lpfc: Fix error handling for mailboxes completed in MBX_POLL mode
    1ac2b3720f61 scsi: lpfc: Fix crash when a REG_RPI mailbox fails triggering a LOGO response
    56488df9f4bc drm/amdgpu: fix NULL pointer dereference
    d721702f8a82 drm/amd/display: Try YCbCr420 color when YCbCr444 fails
    f26f33a40952 amdgpu: avoid incorrect %hu format string
    a98a90048853 drm/amdkfd: Fix cat debugfs hang_hws file causes system crash bug
    081cec78467f drm/amd/display: Fix UBSAN: shift-out-of-bounds warning
    cc6215d94de9 drm/amd/display: Fix debugfs link_settings entry
    bcefa89b3e48 drm/radeon/ttm: Fix memory leak userptr pages
    14637a8dfe4f drm/amdgpu/ttm: Fix memory leak userptr pages
    6e4ae9b0eb23 drm/msm/mdp5: Do not multiply vclk line count by 100
    79f701ec9efa drm/msm/mdp5: Configure PP_SYNC_HEIGHT to double the vtotal
    2f5f4cce496e sched/fair: Ignore percpu threads for imbalance pulls
    fded2096b153 media: gscpa/stv06xx: fix memory leak
    f8f2b7ebe03a media: dvb-usb: fix memory leak in dvb_usb_adapter_init
    1b61ad26af55 media: sun8i-di: Fix runtime PM imbalance in deinterlace_start_streaming
    810cf54025b7 media: platform: sti: Fix runtime PM imbalance in regs_show
    67a97525dd6e media: i2c: adv7842: fix possible use-after-free in adv7842_remove()
    c8e7e6e1780c media: i2c: tda1997: Fix possible use-after-free in tda1997x_remove()
    3f9e0eb06258 media: i2c: adv7511-v4l2: fix possible use-after-free in adv7511_remove()
    651ad9e04f75 media: adv7604: fix possible use-after-free in adv76xx_remove()
    8d3ae83d6344 media: tc358743: fix possible use-after-free in tc358743_remove()
    a931c5791b5e power: supply: s3c_adc_battery: fix possible use-after-free in s3c_adc_bat_remove()
    ccb098c053dc power: supply: generic-adc-battery: fix possible use-after-free in gab_remove()
    932329941ca8 clk: socfpga: arria10: Fix memory leak of socfpga_clk on error return
    573bbb6f80f1 drm/msm/dp: Fix incorrect NULL check kbot warnings in DP driver
    4066456bb2de media: vivid: update EDID
    6fef73a039da media: em28xx: fix memory leak
    ed7ab208cc2e scsi: scsi_dh_alua: Remove check for ASC 24h in alua_rtpg()
    486e974358e7 scsi: smartpqi: Add new PCI IDs
    c3187412d9c7 scsi: smartpqi: Correct request leakage during reset operations
    bc05560dd756 scsi: smartpqi: Use host-wide tag space
    dc655d743c2b power: supply: cpcap-charger: Add usleep to cpcap charger to avoid usb plug bounce
    a669817a3384 selftests/resctrl: Fix checking for < 0 for unsigned values
    726d3185b89a selftests/resctrl: Fix incorrect parsing of iMC counters
    19eaad1400ea selftests/resctrl: Use resctrl/info for feature detection
    0ccead50c386 selftests/resctrl: Fix missing options "-n" and "-p"
    cd29eef12771 selftests/resctrl: Clean up resctrl features check
    6ef95f0b80ec selftests/resctrl: Fix compilation issues for other global variables
    cf99daf7c3a2 selftests/resctrl: Fix compilation issues for global variables
    078d3d75dd4c selftests/resctrl: Enable gcc checks to detect buffer overflows
    9ec74da2ac4c nvmet: return proper error code from discovery ctrl
    7f9757005cf5 drm/komeda: Fix bit check to import to value of proper type
    5e8b58e27ea8 ata: ahci: Disable SXS for Hisilicon Kunpeng920
    c753c1a77e7a mmc: sdhci-brcmstb: Remove CQE quirk
    fdd04d1c8336 mmc: sdhci-pci: Add PCI IDs for Intel LKF
    79315ebff432 mmc: sdhci-esdhc-imx: validate pinctrl before use it
    47ac226199f0 scsi: qla2xxx: Fix use after free in bsg
    1d7935fd022d drm/vkms: fix misuse of WARN_ON
    57fa6a6a998c scsi: qla2xxx: Always check the return value of qla24xx_get_isp_stats()
    298778681c10 drm/amd/display: fix dml prefetch validation
    dd5d6042e5d2 drm/amd/display: DCHUB underflow counter increasing in some scenarios
    9cc76f29b9e5 drm/amd/display: Fix UBSAN warning for not a valid value for type '_Bool'
    729b92e68b8e drm/amd/pm: fix workload mismatch on vega10
    7cb855dfe5f0 drm/amdgpu : Fix asic reset regression issue introduce by 8f211fe8ac7c4f
    1874b0ef1426 drm/amdkfd: Fix UBSAN shift-out-of-bounds warning
    7b3eb98a3ef4 drm/amdgpu: mask the xgmi number of hops reported from psp to kfd
    61c1ddd29f87 backlight: qcom-wled: Fix FSC update issue for WLED5
    918a45b65365 backlight: qcom-wled: Use sink_addr for sync toggle
    983d10e59fb4 power: supply: Use IRQF_ONESHOT
    80ba39ec7cc9 media: gspca/sq905.c: fix uninitialized variable
    6a3edc1a5e17 media: media/saa7164: fix saa7164_encoder_register() memory leak bugs
    087c2bffb4e9 extcon: arizona: Fix various races on driver unbind
    b7d2e5097f18 extcon: arizona: Fix some issues when HPDET IRQ fires after the jack has been unplugged
    8ff0d8a0904b power: supply: bq27xxx: fix power_avg for newer ICs
    7bb783ec9e0e atomisp: don't let it go past pipes array
    12b4b2855024 media: imx: capture: Return -EPIPE from __capture_legacy_try_fmt()
    f3dd6c47c493 media: drivers: media: pci: sta2x11: fix Kconfig dependency on GPIOLIB
    b5261590f309 media: ite-cir: check for receive overflow
    3a2270dd3f09 scsi: target: pscsi: Fix warning in pscsi_complete_cmd()
    09a27d662006 kvfree_rcu: Use same set of GFP flags as does single-argument
    661af9371c32 sched/pelt: Fix task util_est update filtering
    b168fffa3821 drm/amdgpu: Fix some unload driver issues
    5b62053e762c scsi: lpfc: Fix pt2pt connection does not recover after LOGO
    7382825b068e scsi: lpfc: Fix incorrect dbde assignment when building target abts wqe
    b814402fdf37 drm/amd/display/dc/dce/dce_aux: Remove duplicate line causing 'field overwritten' issue
    500ec98998c2 drm/amdgpu/display: buffer INTERRUPT_LOW_IRQ_CONTEXT interrupt work
    bd9477319714 drm/amd/display: Don't optimize bandwidth before disabling planes
    6b2132f50d9f drm/amd/display: Check for DSC support instead of ASIC revision
    01e03a661872 drm/ast: fix memory leak when unload the driver
    100e35484682 drm/amd/display: changing sr exit latency
    2c518667f953 drm/ast: Fix invalid usage of AST_MAX_HWC_WIDTH in cursor atomic_check
    6f64be8f5211 drm/qxl: release shadow on shutdown
    423fb866b3fc drm/qxl: do not run release if qxl failed to init
    6228456ceb1a drm: Added orientation quirk for OneGX1 Pro
    9c60c881d662 btrfs: convert logic BUG_ON()'s in replace_path to ASSERT()'s
    f32b84d7c977 btrfs: do proper error handling in btrfs_update_reloc_root
    224c654a2eca btrfs: do proper error handling in create_reloc_root
    c5aa9ea54a00 spi: sync up initial chipselect state
    b82e8f0bb028 platform/x86: intel_pmc_core: Don't use global pmcdev in quirks
    5d60792d1292 crypto: omap-aes - Fix PM reference leak on omap-aes.c
    92894b185321 crypto: sa2ul - Fix PM reference leak in sa_ul_probe()
    4e7ae0cfaca9 crypto: stm32/cryp - Fix PM reference leak on stm32-cryp.c
    8a090d492f70 crypto: stm32/hash - Fix PM reference leak on stm32-hash.c
    836671775a6e crypto: sun8i-ce - Fix PM reference leak in sun8i_ce_probe()
    2264965f576f crypto: sun8i-ss - Fix PM reference leak when pm_runtime_get_sync() fails
    a16162a17417 phy: phy-twl4030-usb: Fix possible use-after-free in twl4030_usb_remove()
    df9105950755 intel_th: Consistency and off-by-one fix
    b549cc7c9ca2 tty: n_gsm: check error while registering tty devices
    8f7cdbbf61f9 usb: dwc3: gadget: Check for disabled LPM quirk
    2946f95356cc usb: core: hub: Fix PM reference leak in usb_port_resume()
    e82da9b21fed usb: musb: fix PM reference leak in musb_irq_work()
    015f3f25213e usb: gadget: tegra-xudc: Fix possible use-after-free in tegra_xudc_remove()
    0e73535a496c spi: qup: fix PM reference leak in spi_qup_remove()
    75e2b4621137 spi: omap-100k: Fix reference leak to master
    517e99f22842 spi: dln2: Fix reference leak to master
    4ddfac16b5c7 platform/x86: ISST: Account for increased timeout in some cases
    bc900a7ccdd4 tools/power/x86/intel-speed-select: Increase string size
    125b3590d1fb ARM: dts: at91: change the key code of the gpio key
    2ed4d587539e bus: mhi: core: Clear context for stopped channels from remove()
    3737cf191a80 xhci: fix potential array out of bounds with several interrupters
    98599e1045c2 xhci: check control context is valid before dereferencing it.
    2b195c32bccd xhci: check port array allocation was successful before dereferencing it
    b52b1b8c480c fpga: dfl: pci: add DID for D5005 PAC cards
    e22fd531518d usb: xhci-mtk: support quirk to disable usb2 lpm
    5c22421fb35f random: initialize ChaCha20 constants with correct endianness
    2d78ede60615 perf/arm_pmu_platform: Fix error handling
    167fecaa4311 perf/arm_pmu_platform: Use dev_err_probe() for IRQ errors
    64d579453bd6 soundwire: cadence: only prepare attached devices on clock stop
    9584ce366cc9 tee: optee: do not check memref size on return from Secure World
    e5da8b37ce34 arm64: dts: imx8mq-librem5-r3: Mark buck3 as always on
    187c001c492c soc/tegra: pmc: Fix completion of power-gate toggling
    bc24381f5768 efi/libstub: Add $(CLANG_FLAGS) to x86 flags
    8829b6ccf49f x86/boot: Add $(CLANG_FLAGS) to compressed KBUILD_CFLAGS
    fdc9c3cff9e2 x86/build: Propagate $(CLANG_FLAGS) to $(REALMODE_FLAGS)
    af79dc5ad974 ARM: dts: ux500: Fix up TVK R3 sensors
    3f571ae706da ARM: dts: BCM5301X: fix "reg" formatting in /memory node
    f38f972e14f1 kselftest/arm64: mte: Fix MTE feature detection
    d16749988d09 PCI: PM: Do not read power state in pci_enable_device_flags()
    d863389e9f2e ARM: tegra: acer-a500: Rename avdd to vdda of touchscreen node
    d9a1f62b03da kselftest/arm64: mte: Fix compilation with native compiler
    173ab4bb8cbf usb: xhci: Fix port minor revision
    45f879b29da7 usb: dwc3: gadget: Ignore EP queue requests during bus reset
    85eb84bd818f usb: gadget: f_uac1: validate input parameters
    f63390de9b43 usb: gadget: f_uac2: validate input parameters
    df7452f03b7f genirq/matrix: Prevent allocation counter corruption
    bde50f19ba24 crypto: hisilicon/sec - fixes a printing error
    6a6273a65fcd x86/sev: Do not require Hypervisor CPUID bit for SEV guests
    ba637773a9f9 usb: webcam: Invalid size of Processing Unit Descriptor
    930d586646cf usb: gadget: uvc: add bInterval checking for HS mode
    6202e708f303 crypto: qat - fix unmap invalid dma address
    92f333793a78 crypto: api - check for ERR pointers in crypto_destroy_tfm()
    298a44f38171 bus: mhi: core: Destroy SBL devices when moving to mission mode
    2e40d8cd3db5 spi: ath79: remove spi-master setup and cleanup assignment
    91629921cef9 spi: ath79: always call chipselect function
    40e02e167816 staging: wimax/i2400m: fix byte-order issue
    e160833c9fdf bus: ti-sysc: Probe for l4_wkup and l4_cfg interconnect devices first
    6af796b4ac45 cpuidle: tegra: Fix C7 idling state on Tegra114
    6f85f0497274 fbdev: zero-fill colormap in fbcmap.c
    af830b27c34d posix-timers: Preserve return value in clock_adjtime32()
    a4794be7b00b btrfs: fix race between transaction aborts and fsyncs leading to use-after-free
    af835665ddc9 intel_th: pci: Add Rocket Lake CPU support
    97f30747b22c btrfs: fix metadata extent leak after failure to create subvolume
    0c48349a6d41 x86/build: Disable HIGHMEM64G selection for M486SX
    dba16ca6f347 btrfs: handle remount to no compress during compression
    5f2adf84624e smb2: fix use-after-free in smb2_ioctl_query_info()
    8a90058752e0 cifs: detect dead connections only when echoes are enabled.
    23d7b4a8f77a cifs: fix out-of-bound memory access when calling smb3_notify() at mount point
    aaa0faa5c28a cifs: Return correct error code from smb2_get_enc_key
    7be4db5c2b59 irqchip/gic-v3: Do not enable irqs when handling spurious interrups
    44faf03f56b8 mmc: core: Fix hanging on I/O during system suspend for removable cards
    886da99e8fc4 mmc: core: Set read only for SD cards with permanent write protect bit
    140f225218cd mmc: core: Do a power cycle when the CMD11 fails
    20d6f231f8f1 mmc: block: Issue a cache flush only when it's enabled
    b1fba87e60bc mmc: block: Update ext_csd.cache_ctrl if it was written
    cdc615acade4 mmc: sdhci-tegra: Add required callbacks to set/clear CQE_EN bit
    6c43290972ed mmc: sdhci-pci: Fix initialization of some SD cards for Intel BYT-based controllers
    01db7cb746f0 mmc: sdhci: Check for reset prior to DMA address unmap
    25ac6ce65f1a mmc: uniphier-sd: Fix a resource leak in the remove function
    83e9e22ba93a mmc: uniphier-sd: Fix an error handling path in uniphier_sd_probe()
    b7a1577a1a79 scsi: mpt3sas: Block PCI config access from userspace during reset
    702cdaa2c628 scsi: qla2xxx: Fix crash in qla2xxx_mqueuecommand()
    f1cbba5ea75b spi: spi-ti-qspi: Free DMA resources
    421f24114c64 spi: stm32-qspi: fix pm_runtime usage_count counter
    dbaf435ddf97 erofs: add unsupported inode i_format check
    34ec706bf0b7 mtd: physmap: physmap-bt1-rom: Fix unintentional stack access
    706e60c19237 mtd: rawnand: atmel: Update ecc_stats.corrected counter
    907452b3b6a6 mtd: spinand: core: add missing MODULE_DEVICE_TABLE()
    cb5305ac5bac Revert "mtd: spi-nor: macronix: Add support for mx25l51245g"
    2e41cc10660e mtd: spi-nor: core: Fix an issue of releasing resources during read/write
    4c44c136f2fa fs/epoll: restore waking from ep_done_scan()
    6b5aeb69bb9f ecryptfs: fix kernel panic with null dev_name
    3ad1fb97619b arm64: dts: mt8173: fix property typo of 'phys' in dsi node
    6c2f97f3887f arm64: dts: marvell: armada-37xx: add syscon compatible to NB clk node
    011b9e1c2a18 ARM: 9056/1: decompressor: fix BSS size calculation for LLVM ld.lld
    634684d79733 ftrace: Handle commands when closing set_ftrace_filter file
    d11fdbee28af ACPI: custom_method: fix a possible memory leak
    62dc2440ebb5 ACPI: custom_method: fix potential use-after-free issue
    58a762a7f3be tpm: acpi: Check eventlog signature before using it
    3b8b6399666a vhost-vdpa: fix vm_flags for virtqueue doorbell mapping
    026499a9c2e0 s390/zcrypt: fix zcard and zqueue hot-unplug memleak
    e534a4b139a8 s390/disassembler: increase ebpf disasm buffer size
    90402b6b45f3 dyndbg: fix parsing file query without a line-range suffix
    ed9cfd60c787 nitro_enclaves: Fix stale file descriptors on failed usercopy
    a1d2bd164c1c bus: mhi: core: Sanity check values from remote device before use
    bcb80329e815 bus: mhi: core: Clear configuration from channel context during reset
    542fd3e4fde6 bus: mhi: core: Fix check for syserr at power_up

(From OE-Core rev: 86bac399136de151c2b33e715fd8d810707c431c)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-18 23:52:53 +01:00
Bruce Ashfield
4dc1b5240e linux-yocto/5.10: ktypes/standard: disable obsolete crypto options by default
Integrating the following commit(s) to linux-yocto/5.10.:

    ktypes/standard: disable obsolete crypto options by default

    CONFIG_CRYPTO_USER_API_ENABLE_OBSOLETE is on by default, but really
    shouldn't be on in our kernels for a safe set of baseline options.

    This is almost never used, so we disable it by default. If something
    needs it, they can turn it on in a board specific config.

(From OE-Core rev: f29be437290a960decdc2d8be8e505e8179c2f58)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-18 23:52:53 +01:00
Bruce Ashfield
086230f08a linux-yocto/5.4: update to v5.4.117
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:

    b5dbcd05792a Linux 5.4.117
    0ee3bfc2c31e vfio: Depend on MMU
    b246759284d6 perf/core: Fix unconditional security_locked_down() call
    a1e6a0d1e6cf ovl: allow upperdir inside lowerdir
    8198962021fd scsi: ufs: Unlock on a couple error paths
    91aa2644a3ab platform/x86: thinkpad_acpi: Correct thermal sensor allocation
    164f74391822 USB: Add reset-resume quirk for WD19's Realtek Hub
    5922dfc42ac8 USB: Add LPM quirk for Lenovo ThinkPad USB-C Dock Gen2 Ethernet
    314192f055d9 ALSA: usb-audio: Add MIDI quirk for Vox ToneLab EX
    6cede11149bf perf ftrace: Fix access to pid in array when setting a pid filter
    ad4659935e11 perf data: Fix error return code in perf_data__create_dir()
    cbc6b467610c iwlwifi: Fix softirq/hardirq disabling in iwl_pcie_gen2_enqueue_hcmd()
    c7166a529e2b avoid __memcat_p link failure
    8ba25a9ef9b9 bpf: Fix leakage of uninitialized bpf stack under speculation
    53e0db429b37 bpf: Fix masking negation logic upon negative dst register
    b0c8fe7ef797 iwlwifi: Fix softirq/hardirq disabling in iwl_pcie_enqueue_hcmd()
    43b515c52942 igb: Enable RSS for Intel I211 Ethernet Controller
    354520d3ea81 net: usb: ax88179_178a: initialize local variables before use
    55714a57f369 ACPI: x86: Call acpi_boot_table_init() after acpi_table_upgrade()
    b3041510f0fc ACPI: tables: x86: Reserve memory occupied by ACPI tables
    91b08c5319a5 mips: Do not include hi and lo in clobber list for R6

(From OE-Core rev: 0bb2a057ed02b94e6f12b0508b5d7f4a535b1ca0)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-18 23:52:53 +01:00
Bruce Ashfield
f94bc9ea76 linux-yocto/5.10: update to v5.10.35
Updating linux-yocto/5.10 to the latest korg -stable release that comprises
the following commits:

    f53a3a480862 Linux 5.10.35
    94c76056fc3f vfio: Depend on MMU
    4348d3b5027b perf/core: Fix unconditional security_locked_down() call
    399f9c18473c platform/x86: thinkpad_acpi: Correct thermal sensor allocation
    ac2cd82c7609 USB: Add reset-resume quirk for WD19's Realtek Hub
    d844aaa49ac8 USB: Add LPM quirk for Lenovo ThinkPad USB-C Dock Gen2 Ethernet
    59b3f88386b5 ALSA: usb-audio: Add MIDI quirk for Vox ToneLab EX
    27c1936af506 ovl: allow upperdir inside lowerdir
    71d58457a8af ovl: fix leaked dentry
    2fa0387fa2d0 nvme-pci: set min_align_mask
    f8e71c667ee1 swiotlb: respect min_align_mask
    85a5a6875ca9 swiotlb: don't modify orig_addr in swiotlb_tbl_sync_single
    25ed8827cfbf swiotlb: refactor swiotlb_tbl_map_single
    9efd5df078a7 swiotlb: clean up swiotlb_tbl_unmap_single
    1f2ef5a0f771 swiotlb: factor out a nr_slots helper
    1bbcc985d195 swiotlb: factor out an io_tlb_offset helper
    22163a8ec863 swiotlb: add a IO_TLB_SIZE define
    2e8b3b0b8e2d driver core: add a min_align_mask field to struct device_dma_parameters
    6995512a472f tools/cgroup/slabinfo.py: updated to work on current kernel
    a7c37332afa8 perf ftrace: Fix access to pid in array when setting a pid filter
    fb4c1c2e9fd1 capabilities: require CAP_SETFCAP to map uid 0
    b571a6302a64 perf data: Fix error return code in perf_data__create_dir()
    48ec949ac979 net: qrtr: Avoid potential use after free in MHI send
    2fa15d61e4cb bpf: Fix leakage of uninitialized bpf stack under speculation
    2cfa537674cd bpf: Fix masking negation logic upon negative dst register
    a41c193d004e igb: Enable RSS for Intel I211 Ethernet Controller
    2e68890993d0 net: usb: ax88179_178a: initialize local variables before use
    d3598eb3915c netfilter: conntrack: Make global sysctls readonly in non-init netns
    c239bfc2e4ac mips: Do not include hi and lo in clobber list for R6

(From OE-Core rev: 767e6755740204981e5789b7a3066eac855605e8)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-18 23:52:53 +01:00
Bruce Ashfield
029d331448 kernel-yocto: provide debug / summary information for metadata
It was mentioned that when developing a BSP, the information about what
definition was used, or what fragments have been applied is not obvious
and requires looking at the code.

With this change, we can trigger a full summary of the meta data gathering
phase when KCONF_AUDIT_LEVEL > 0.

Sample output follows:

   NOTE: do_kernel_metadata: for summary/debug, set KCONF_AUDIT_LEVEL > 0
   NOTE: kernel meta data summary for qemux86-64 (standard):
   NOTE:
   ======================================================================
   NOTE: BSP entry point / definition:
   /build/tmp/work/qemux86_64-poky-linux/linux-yocto/5.10.34+gitAUTOINC+bca3bfbc74_85c17ad073-r0/kernel-meta/bsp/common-pc-64/common-pc-64-standard.scc
   NOTE: Fragments from SRC_URI:
   /poky/meta-virtualization/recipes-kernel/linux/linux-yocto/xt-checksum.scc
   /poky/meta-virtualization/recipes-kernel/linux/linux-yocto/ebtables.scc
   /poky/meta-virtualization/recipes-kernel/linux/linux-yocto/vswitch.scc
   /poky/meta-virtualization/recipes-kernel/linux/linux-yocto/lxc.scc
   /poky/meta-virtualization/recipes-kernel/linux/linux-yocto/docker.scc
   /poky/meta-virtualization/recipes-kernel/linux/linux-yocto/cgroup-hugetlb.scc
   /poky/meta-virtualization/recipes-kernel/linux/linux-yocto/xen.scc
   /poky/meta-virtualization/recipes-kernel/linux/linux-yocto/kubernetes.scc
   NOTE: KERNEL_FEATURES:  features/nfsd/nfsd-enable.scc
   features/debug/printk.scc features/kernel-sample/kernel-sample.scc
   features/netfilter/netfilter.scc cfg/virtio.scc
   features/drm-bochs/drm-bochs.scc cfg/sound.scc cfg/paravirt_kvm.scc
   features/scsi/scsi-debug.scc features/gpio/mockup.scc
   features/aufs/aufs-enable.scc cfg/fs/flash_fs.scc cfg/virtio.scc
   NOTE: Final scc/cfg list:
   /build/tmp/work/qemux86_64-poky-linux/linux-yocto/5.10.34+gitAUTOINC+bca3bfbc74_85c17ad073-r0/kernel-meta/bsp/common-pc-64/common-pc-64-standard.scc
   /poky/meta-virtualization/recipes-kernel/linux/linux-yocto/xt-checksum.scc
   /poky/meta-virtualization/recipes-kernel/linux/linux-yocto/ebtables.scc
   /poky/meta-virtualization/recipes-kernel/linux/linux-yocto/vswitch.scc
   /poky/meta-virtualization/recipes-kernel/linux/linux-yocto/lxc.scc
   /poky/meta-virtualization/recipes-kernel/linux/linux-yocto/docker.scc
   /poky/meta-virtualization/recipes-kernel/linux/linux-yocto/cgroup-hugetlb.scc
   /poky/meta-virtualization/recipes-kernel/linux/linux-yocto/xen.scc
   /poky/meta-virtualization/recipes-kernel/linux/linux-yocto/kubernetes.scc
   features/nfsd/nfsd-enable.scc features/debug/printk.scc
   features/kernel-sample/kernel-sample.scc
   features/netfilter/netfilter.scc cfg/virtio.scc
   features/drm-bochs/drm-bochs.scc cfg/sound.scc cfg/paravirt_kvm.scc
   features/scsi/scsi-debug.scc features/gpio/mockup.scc
   features/aufs/aufs-enable.scc cfg/fs/flash_fs.scc cfg/virtio.scc

(From OE-Core rev: b95b11e130e91cb7c5e65f0f9a1c655bcbcbc919)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-18 23:52:53 +01:00
Alexander Kanavin
e897e02d21 mklibs: remove recipes and class
This is not enabled or tested by default, and has never been
ported to python 3 upstream[1], which means it doesn't work at all
with plain poky. If you need it, please put it in a separate layer
and/or modernize to work with py3.

https://salsa.debian.org/installer-team/mklibs/-/blob/master/src/mklibs

(From OE-Core rev: 908df863b419d1cad7317153101fc827e7e3a354)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Jacob Kroon <jacob.kroon@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-18 23:52:53 +01:00
Richard Purdie
c879b0797b libxcrypt-compat: upgrade 4.4.19 -> 4.4.20
(From OE-Core rev: d7eb1125e974fddd43062665bd5eb29f352832dc)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-18 23:52:53 +01:00
Ross Burton
b96c342fbd rpm: turn Berkeley DB hard dependency into PACKAGECONFIG
In the future we hope to switch to sqlite instead of Berkeley DB, so
prepare for this by adding an (enabled by default) PACKAGECONFIG for
Berkeley DB.

(From OE-Core rev: 365f0804a0726fe4be9eb7ef3515fea2dd38bef1)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-18 23:52:53 +01:00
Ross Burton
d54f9cf4cf libsolv: add missing db dependency
The RPM option currently enables ENABLE_RPMDB_BDB which means libsolv
depends on db.

(From OE-Core rev: 8d6be1b9914186bca2552ae03bf9bd35ecbffeec)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-18 23:52:53 +01:00
Michael Halstead
ed2d99203d releases: update to include 3.2.4
Adding 3.2.4 to documentation switcher and release list.

(From yocto-docs rev: b24cddff0f1367360441e3f9ff59cbed77da28ad)

Signed-off-by: Michael Halstead <mhalstead@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-18 12:53:08 +01:00
Ross Burton
3a461e071e cups: whitelist CVE-2021-25317
This CVE relates to bad ownership of /var/log/cups, which we don't have.

(From OE-Core rev: 0792312f3637ec160d2ef90781a8cb1f75b84940)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-18 12:43:00 +01:00
Robert P. J. Day
da52dce440 bitbake.conf: alphabetize contents of ASSUME_PROVIDED
Alphabetical order is always good.

(From OE-Core rev: 338834153ec2042fbe256b598753ffe492221cc4)

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-18 12:43:00 +01:00
Richard Purdie
c206f7e984 wpebackend-fdo: upgrade 1.8.3 -> 1.8.4
(From OE-Core rev: 304cb97053eb4593a37ad3282594747b5e601bee)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-18 12:43:00 +01:00
Richard Purdie
169f863cf3 shaderc: upgrade 2020.5 -> 2021.0
(From OE-Core rev: 9ff9536efdc4e5cc7c9934ab739bb7a75b55fb29)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-18 12:43:00 +01:00
Richard Purdie
709ff9bd1c wayland-protocols: upgrade 1.20 -> 1.21
(From OE-Core rev: 590fd78550a1754ab3ea0c64510601025c13436c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-18 12:43:00 +01:00
Richard Purdie
16e8c05a63 sqlite3: upgrade 3.35.3 -> 3.35.5
(From OE-Core rev: a7480b206848df56fb64d9bfec9d4cdffa16efea)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-18 12:43:00 +01:00
Richard Purdie
7447735d6f mpg123: upgrade 1.26.5 -> 1.27.2
(From OE-Core rev: 769647f1bc857ab03c1740ae24f020ed3ca3522a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-18 12:43:00 +01:00
Richard Purdie
5e3580e1e1 diffoscope: upgrade 172 -> 175
(From OE-Core rev: 7b6ace9394aef54025744bdf187166049ac17b31)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-18 12:43:00 +01:00
Richard Purdie
a642a9a1e8 spirv-tools: upgrade 2020.7 -> 2021.1
(From OE-Core rev: 160c3c063450356738198cd2f13f9abd87bf2a93)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-18 12:43:00 +01:00
Richard Purdie
0bb620b18a libxkbcommon: upgrade 1.2.1 -> 1.3.0
(From OE-Core rev: a41f88496d99251ea88cf93e08f233b10580eaab)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-18 12:43:00 +01:00
Richard Purdie
0e9f80ed55 hdparm: upgrade 9.61 -> 9.62
(From OE-Core rev: c2270c807c4628f0abddea0a4c039acaa4b1cf67)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-18 12:43:00 +01:00
Richard Purdie
9ca6a18e04 zstd: upgrade 1.4.9 -> 1.5.0
(From OE-Core rev: 6de028400650c1a8f6320c46d3b191bccdfad331)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-18 12:43:00 +01:00
Richard Purdie
c4dacef328 libinput: upgrade 1.17.1 -> 1.17.2
(From OE-Core rev: a59063cfb23132ee5a110f1cd84cd43f8b8eea41)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-18 12:43:00 +01:00
Richard Purdie
726ccae31f libtirpc: upgrade 1.3.1 -> 1.3.2
(From OE-Core rev: 041c67f8366b41675bf070e0102ed04563bbf8c1)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-18 12:43:00 +01:00
Richard Purdie
cc5c4860fe less: upgrade 581 -> 586
(From OE-Core rev: 69b5b82498a00217a55a3781d636cdd3e280586b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-18 12:43:00 +01:00
Richard Purdie
101dd81a62 stress-ng: upgrade 0.12.06 -> 0.12.08
(From OE-Core rev: 177ca64feee973b5d60c5601ba03042a6f073204)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-18 12:43:00 +01:00
Richard Purdie
600e9b6ad0 sudo: upgrade 1.9.6p1 -> 1.9.7
(From OE-Core rev: a1698056f5548285d87ebe25052c48c701f89143)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-18 12:43:00 +01:00
Richard Purdie
9ad80efd2a gtk+3: upgrade 3.24.28 -> 3.24.29
(From OE-Core rev: 1933012b19849befcf09b90940f00468f0da1cec)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-18 12:43:00 +01:00
Richard Purdie
29c0c3da49 python3-numpy: upgrade 1.20.2 -> 1.20.3
(From OE-Core rev: 759bd9cfcf753c4ef2c20411aee0301ac8b45469)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-18 12:43:00 +01:00
Richard Purdie
e6b682534f python3-hypothesis: upgrade 6.9.1 -> 6.12.0
(From OE-Core rev: 4499ec65592df456c60d7f0ff690a50ca55c9c01)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-18 12:43:00 +01:00
Richard Purdie
7965967d09 btrfs-tools: upgrade 5.12 -> 5.12.1
(From OE-Core rev: f75c02e3e067473d85b4b57d36250098ddb99dbd)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-18 12:43:00 +01:00
Richard Purdie
9be8314df2 libjpeg-turbo: upgrade 2.0.6 -> 2.1.0
License changes were from a new author entry and changes to copyrght
years, no license change.

(From OE-Core rev: e2ddecb7ca7b35259fcce0052b40366379047935)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-18 12:43:00 +01:00
Richard Purdie
b34e16f839 vala: upgrade 0.52.2 -> 0.52.3
(From OE-Core rev: 8416c85539ac7ac4e13e873773f00e67304aacfa)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-18 12:43:00 +01:00
Richard Purdie
c3a541d23d bind: upgrade 9.16.13 -> 9.16.15
(From OE-Core rev: e938c7041a651071a995ceeb475ed4eb8fb8949a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-18 12:43:00 +01:00
Richard Purdie
016af160c1 python3-git: upgrade 3.1.14 -> 3.1.17
(From OE-Core rev: b56ef3af9d6afdb2208b4d3d1813241e77fe2fd8)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-18 12:42:59 +01:00
Richard Purdie
0f60b3a7aa libnss-mdns: upgrade 0.14.1 -> 0.15
(From OE-Core rev: bef3740cfd146921d0dd8789246573e68081c80a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-18 12:42:59 +01:00
Richard Purdie
74267b69b3 ofono: upgrade 1.31 -> 1.32
(From OE-Core rev: c0e635c85b2d1eedcc515a89e949b8c9e43d8881)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-18 12:42:58 +01:00
Ross Burton
fb26a7c9b8 meson: update patch status
(From OE-Core rev: 87f0b45a307bb47df5a68d6649fe5625f2dd0775)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-17 09:53:15 +01:00
Richard Purdie
09a5d1e444 python3-jinja2: Upgrade 2.11.3 -> 3.0.0
(From OE-Core rev: 1e520a7d0602059101646f24e7e347e4117697e9)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-16 08:29:59 +01:00
Richard Purdie
6e58a59f31 python3-markupsafe: Upgrade 1.1.1 -> 2.0.0
(From OE-Core rev: def6184a8f24fe8965db77511bbc65edb38942c2)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-16 08:29:59 +01:00
Richard Purdie
d9aa32dbf9 qemu: Upgrade 5.2.0 -> 6.0.0
Building without PIE support seems broken upstream, enable it by default
to match the configuration others evidently use.

Tweak git submodule option to match upstream.

Drop backported/merged patches, refresh others.

(From OE-Core rev: ede1b86e663f1cafccc8aa8c35fa13ebd3f55d11)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-16 08:29:59 +01:00
Richard Purdie
a9e49336dc lttng-ust: Upgrade 2.12.1 -> 2.12.2
(From OE-Core rev: 03b9c9ab5e74c4e825a023e54fe8891f6f6cc809)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-16 08:29:59 +01:00
Bruce Ashfield
4f7ea3fef7 lttng-modules: update to v2.12.6
To support building against v5.12+ and v5.13+ kernels, bumping to the
v2.12.6 lttng-release.

We drop the previously backported patches, and bring in the following
commits:

   0d8e4ab9 Version 2.12.6
   78f56ae3 fix: adjust ranges for RHEL 8.2 and 8.3
   4c996ea7 Disable block rwbs bitwise enum in default build
   4ac46085 Disable sched_switch bitwise enum in default build
   5e22c27b Add experimental bitwise enum config option
   937d307e Add defaults to Kconfig options
   4a114d43 Sync `show_inode_state()` macro with upstream stable kernels
   3bd6ac3e fix: block: remove disk_part_iter (v5.12)
   8bbb8c9d Fix: Backport of "Fix: increment buffer offset when failing to copy from user-space"
   30cddf69 Fix: increment buffer offset when failing to copy from user-space
   4733b9ab Sync `show_inode_state()` macro with Ubuntu 4.15 kernel
   ff21ec48 fix: mm, tracing: kfree event name mismatching with provider kmem (v5.12)
   b2b02c29 Set 'stable-2.12' branch in git review config
   00b42dbf fix backport: block: add a disk_uevent helper (v5.12)
   771ff089 fix: Adjust ranges for Ubuntu 5.4.0-67 kernel
   d8933959 fix: block: add a disk_uevent helper (v5.12)
   71034df1 Fix: properly compare type enumeration
   4d879d23 compiler warning cleanup: is_signed_type: compare -1 to 1
   fead3a9c Fix: bytecode linker: validate event and field array/sequence encoding
   92cc3e7f Fix: kretprobe: null ptr deref on session destroy
   49c603ef fix: mm, tracing: record slab name for kmem_cache_free() (v5.12)
   23a2f61f Fix: filter interpreter early-exits on uninitialized value
   b3fdf78b Fix: memory leaks on event destroy

(From OE-Core rev: c2f027b8e2f842915a0ffdfd6c2c0597f3b02bce)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-16 08:29:59 +01:00
Bruce Ashfield
f98ea33f63 lttng-modules: update devupstream to v2.13-rc
To support builds against v5.13+ kernels, bumping the devupstream
to 2.13 and the 2.13-rc series.

Along with the SRCREV update, a port of the existing CONFIG_TRACEPOINTS
patch from the main Makefile to src/Kbuild is done.

The LICENSE file was part of commit [Cleanup: Move headers from toplevel
to include/lttng/], so we adjust the checksum to the new fie contents.

(From OE-Core rev: 18bf7b0eafc5331b0b33c0ae777374e24df741b8)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-16 08:29:59 +01:00
Mike Crowe
7fedc98498 libnotify: Make gtk+3 dependency optional
libnotify only requires gtk+3 for its tests. Let's disable them by
default and only enable them if "tests" is in PACKAGECONFIG. If gtk+3 is
not available then we need to declare the dependency on gdk-pixbuf
explicitly.

It looks like the tests genuinely do need some sort of desktop
environment to run, so let's maintain the ANY_OF_DISTRO_FEATURES check
added back in 3edf08b38b0af93cef0933b061349264dc86d54c.

(From OE-Core rev: da15d7cf3e6f31c92232f8dd7272ea9ee41656db)

Signed-off-by: Mike Crowe <mac@mcrowe.com>
Cc: Khem Raj <raj.khem@gmail.com>
Cc: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-16 08:29:59 +01:00
Richard Purdie
11222ce6df sstate: Handle manifest 'corruption' issue
Under certain build patterns, warnings about missing manifests can appear. These
are real issues where the manifest was removed and shouldn't have been.

Martin Jansa was able to find a reproducer of:

MACHINE=qemux86 bitbake zlib-native
echo 'PR = "r1"' >> meta/recipes-core/zlib/zlib_1.2.11.bb
MACHINE=qemux86-64 bitbake zlib-native
MACHINE=qemux86 bitbake zlib-native
<the zlib-native manifest is now removed along with the sysroot-components contents>

The code maintains a per machine list of stamps but a per PACAGE_ARCH list of
stamp/manifest/workdir mappings. The latter is only appended to for speed with
the assumption that once stamps are gone, the code wouldn't trigger.

The code only ever appends to the mapping list (for speed/efficency under lock)
meaning that multiple entries can result where the stamp/workdir differs due to
version changes but the manifest remains the same.

By switching MACHINE part way through the build, the older stamp is referenced
and the manifest is incorrectly removed as it matches an now obsolete entry in
the mapping file.

There are two possible fixes, one is to rewrite the mapping file every time
which means adding regexs, iterating and generally complicating that code. The
second option is to only use the last mapping entry in the file for a given
manifest and ignore any earlier ones. This patch implments the latter.

Also drop the stale entries if we are rewriting it.

(From OE-Core rev: 63da9a4f889c5b0e41bc8ec08abe0acea1546479)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-16 08:29:59 +01:00
zhengruoqin
c33de3dbaf sysklogd: upgrade 2.2.2 -> 2.2.3
(From OE-Core rev: a366a457bf0c990df4bb97cfc5477dbc75eaff65)

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-16 08:29:59 +01:00
zhengruoqin
b05c3637ce rpcbind: upgrade 1.2.5 -> 1.2.6
refresh rpcbind_add_option_to_fix_port_number.patch

(From OE-Core rev: 11bbe1c86d5d3e446fe5ea4028bc8b3f21b98587)

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-16 08:29:59 +01:00
zhengruoqin
f1b7f662c5 rng-tools: upgrade 6.11 -> 6.12
(From OE-Core rev: 5af1d25d9621020d89c1193e0f95fefa1be85642)

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-16 08:29:59 +01:00
wangmy
8c0ee9a7ed vulkan-loader: upgrade 1.2.170.0 -> 1.2.176.0
(From OE-Core rev: b87917335c252a38ea63f999b9d3611ac079104b)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-16 08:29:59 +01:00
wangmy
2b79b15ef3 vulkan-tools: upgrade 1.2.170.0 -> 1.2.176.0
(From OE-Core rev: 8c864d0711a39548b69c7ea278f2d978651925e7)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-16 08:29:59 +01:00
wangmy
ae2ad4d57c vulkan-headers: upgrade 1.2.170.0 -> 1.2.176.0
(From OE-Core rev: 4ebbb906227f31548e708bd01c54407f3221c63e)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-16 08:29:59 +01:00
wangmy
4df55c95a5 vulkan-samples: update to latest revision
(From OE-Core rev: e59138cc1ee028e19b00ced57da33ab348c367cf)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-16 08:29:59 +01:00
wangmy
f8019df2b9 python3-six: upgrade 1.15.0 -> 1.16.0
(From OE-Core rev: c27ede9d77edc0a0ca71707642f19e43fe9c4e7d)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-16 08:29:59 +01:00
wangmy
eb83c19d97 python3-attrs: upgrade 20.3.0 -> 21.2.0
(From OE-Core rev: f6e624046afbbf6853c7fe409f77ecd2ab802f21)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-16 08:29:59 +01:00
Armin Kuster
ed2e3b739a bitbake: hashserver/client.py: drop unused imports
(Bitbake rev: 9dc77266085c605b108641a9d76ac4dbdc064c34)

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-14 07:57:57 +01:00
Armin Kuster
c0c16809ef bitbake: hashserv/server.py: drop unused imports
remove unused vars.

(Bitbake rev: 3287d28a506f67abd192799e61ef28e74ce7002d)

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-14 07:57:57 +01:00
Alexander Kanavin
37792f1410 bitbake: fetch2/wget: when checking latest versions, consider all numerical directories
Previously the regex was maching x.y, but wasn't matching x, which is a problem
e.g. here:
https://download.gnome.org/sources/epiphany/
(the new gnome version scheme adds 40-series at the end).

(Bitbake rev: c03101576f447263ea38e8464210d3a3a2c27226)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-14 07:57:57 +01:00
Mike Crowe
bac39de14e npm.bbclass: Allow nodedir to be overridden by NPM_NODEDIR
Node modules may need to be built against multiple Node
versions. Setting nodedir in the NPM configuration stops older ways of
doing this, such as setting npm_config_target and npm_config_disturl,
from working.

(From OE-Core rev: 14795ee305f3c11fcc31cc7ca815b8ff1020e29a)

Signed-off-by: Mike Crowe <mac@mcrowe.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-14 07:57:28 +01:00
Alexander Kanavin
436662bc4d nativesdk-meson: correctly set cpu_family
This was a warning before, but with the patch
that turns it into an error, it needs to be properly addressed.

(From OE-Core rev: b6257f3b88e788af3ee748a8a6366aab819dce3f)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-14 07:57:28 +01:00
Alexander Kanavin
74fbe5578a qemu: backport a patch to fix meson 0.58 builds
(From OE-Core rev: fe6889ed05edf2f1e4ac7b06debd4cc43ebb9607)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-14 07:57:28 +01:00
Alexander Kanavin
2077235f35 meson: update 0.57.2 -> 0.58.0
Rebase patches; dropped chunks (and cross-prop-default.patch)
have been removed upstream.

Move native-only patches to all-patches, as they're a pain to rebase
separately.

(From OE-Core rev: cb2a7dcc86d784cb9903f69570ddc05e23d36529)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-14 07:57:28 +01:00
Alexander Kanavin
6b10910b47 gstreamer1.0-plugins-base: backport a patch to fix meson 0.58 builds
(From OE-Core rev: 4e509099d1a8c22e5f592e6675dabacfe910b9b9)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-14 07:57:28 +01:00
Alexander Kanavin
830e634bbb meson.bbclass: split python routines into a separate class
This allows reusing them in nativesdk-meson without copy-pasting code.

(From OE-Core rev: f2715f5f2a56f9b660f9f0fe2933ec231a2dd8c0)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-14 07:57:27 +01:00
Alexander Kanavin
6f8cc237bf expat: upgrade 2.2.10 -> 2.3.0
Drop 0001-Add-output-of-tests-result.patch
(difficult to rebase). I have verified that ptests
still pass, and print PASS for every test. If they
start failing we can revisit what kind of output would
be beneficial.

(From OE-Core rev: ef1a76f9c130e7efaecae15ccb1d48a03fa17b9b)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-14 07:57:27 +01:00
Alexander Kanavin
e63fd638d3 gnome: drop upstream even condition from a few recipes
They have adopted the new gnome version scheme where the distinction
is no longer:
https://lwn.net/Articles/831746/

(From OE-Core rev: 7e36fe212eb6bc9a4dbe66007837ad87d8f00a7d)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-14 07:57:27 +01:00
Alexander Kanavin
035f8548fe gdk-pixbuf: rewrite the cross-build support for tests
It was scattered over four different patches, and wasn't guarded
by a configuration option. Hopefully the new patch is acceptable
to upstream.

(From OE-Core rev: 92fc28498fcb9bdcea743961729b21b7e6c6b1fa)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-14 07:57:27 +01:00
wangmy
ec94923ec7 go: upgrade 1.16.3 -> 1.16.4
(From OE-Core rev: 1e280a596293976ac835b557dcaaa56972682480)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-14 07:57:27 +01:00
Khem Raj
fd9ae730cf npth: Check for pthread_create for including lpthread
pthread_detach() is moved into libc which means this test will fail
so check for pthead_create again

[1] https://sourceware.org/git/?p=glibc.git;a=commit;h=df65f897e9501aa5b64a5cbcb101301715f2ec2f
(From OE-Core rev: e82742849e6228f892a489bfbd02c365c4a8607e)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-14 07:57:27 +01:00
Trevor Gamblin
b9f5a890a5 python3: upgrade 3.9.4 -> 3.9.5
Version 3.9.5 includes a fix for CVE-2021-29921.

(From OE-Core rev: be23351f97c1a7362c0ddd240a6de0cddfca1b01)

Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-14 07:57:27 +01:00
Alexander Kanavin
9e130813ce avahi: disable gtk bits
This should greatly reduce dependency chains on the autobuilder;
the only affected recipe is remmina, where avahi support will be
disabled by default.

(From OE-Core rev: 5f68f2e72accecaad6210c71d7f1ffb069edf011)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-14 07:57:26 +01:00
Robert P. J. Day
5019cfef85 meta/lib/oe/rootfs.py: Fix typo "Restoreing" -> "Restoring"
(From OE-Core rev: 2621dbbc1181808f18ca4ae79408d0d5b557670f)

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-13 18:09:38 +01:00
Robert P. J. Day
1dfd7f9a42 image.bbclass: fix comment "pacackages" -> "packages"
(From OE-Core rev: 5c5f0d21799c2bff6875ef9fdc22d11035ea3320)

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-13 18:09:38 +01:00
Richard Purdie
4898e857db qemu-x86: Add commandline options to improve boot
To try and help with the inermittent rcu stalls and boot issues with qemu
add some kernel commandline options commonly used with qemu instances which
were suggested may help.

(From OE-Core rev: d75cb16ecb3a55fd7631bf7720663e4b196421ee)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-13 18:09:10 +01:00
Richard Purdie
e8997d869b qemuboot-x86: Switch to IvyBridge and q35 instead of pc
Move from 1996 to 2009 by swapping machine 'pc' for 'q35'.

Also move to a CPU which is SMP capable and doesn't have tsc bugs. IvyBridge
matches what we're using on the autobuilder.

The intent here is to try and improve on some of the intermittent autobuilder
issues we're seeing. I'm told that nobody else runs with config this old
and it could well be contributing to our issues. Having reliable testing
is key to the project and justifies updating this IMO.

(From OE-Core rev: 6d9f25782bd585e89c5aaf7046266c848f1e581b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-13 18:09:10 +01:00
Richard Purdie
34e1bea0e8 qemu: Set SMP to 4 cpus for arm/x86 only
Only qemux86* and qemuarm* support SMP with our current configurations so
rework qemu SMP enabling to account for that and only use it on the architectures
where it works.

(From OE-Core rev: ee371325ce651cc113e43bdeb5d8986d5b84a3f4)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-13 18:09:10 +01:00
Alexander Kanavin
1584108bdc qemu: use 4 cores in qemu guests
Each of the cores is mapped to a thread on the host, this
should speed up things inside qemu which can take advantage of that.

(From OE-Core rev: 56f98d12a79585a4d4c459160f39403e05b620a5)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-13 18:09:10 +01:00
Ulrich Ölmann
64ba8fc55b local.conf.sample: fix typo
(From meta-yocto rev: 8d872236e713a4b26059039fb32e93e7b602bb6c)

Signed-off-by: Ulrich Ölmann <u.oelmann@pengutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-13 11:34:34 +01:00
Robert Joslyn
899da712ae btrfs-tools: Update to 5.12
Add PACKAGECONFIG for zoned block devices. Leave disabled by default, as
this requires a recent kernel.

License-Update: libbtrfsutil was relicensed to LGPLv2.1+: https://git.kernel.org/pub/scm/linux/kernel/git/kdave/btrfs-progs.git/commit/?id=9e30f779e3cbf12a88ebe309ee371851fdfd3aa0

(From OE-Core rev: d10b62f54c6e0f19af02bab024680462d9e4418a)

Signed-off-by: Robert Joslyn <robert.joslyn@redrectangle.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-13 11:34:15 +01:00
Martin Jansa
e7ce28c8b0 binutils: backport DWARF-5 support for gold
* DWARF-5 is now used by default with gcc-11, causing
  11.1.0/ld: internal error in format_file_lineno, at ../../gold/dwarf_reader.cc:2278
  collect2: error: ld returned 1 exit status
  in various projects (runc-opencontainers, libhybris, collada-dom)

* https://gcc.gnu.org/gcc-11/changes.html

  For targets that produce DWARF debugging information GCC now defaults to DWARF version 5
  (with the exception of VxWorks and Darwin/Mac OS X which default to version 2 and
  AIX which defaults to version 4). This can produce up to 25% more compact debug
  information compared to earlier versions.

  To take full advantage of DWARF version 5 GCC needs to be build against binutils version 2.35.2 or higher.
  When GCC is build against earlier versions of binutils GCC will still emit DWARF version 5 for
  most debuginfo data, but will generate version 4 debug line tables (even when explicitly given -gdwarf-5).

  The following debug information consumers can process DWARF version 5:

  GDB 8.0, or higher
  valgrind 3.17.0
  elfutils 0.172, or higher (for use with systemtap, dwarves/pahole, perf and libabigail)
  dwz 0.14
  Programs embedding libbacktrace are urged to upgrade to the version shipping with GCC 11.

  To make GCC 11 generate an older DWARF version use -g together with -gdwarf-2, -gdwarf-3 or -gdwarf-4.

(From OE-Core rev: d07d4d739ae17787017f771dd2068fda0e836722)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-13 11:34:15 +01:00
Ross Burton
0fc0804e4b libarchive: disable redundant libxml2 PACKAGECONFIG
An XML parser (either libxml2, or expat) is only needed by libarchive to
read/write XAR archives.  However, these also need OpenSSL enabled which
by default it is not, so XAR files were disabled and libxml2 was a build
dependency for no reason.

As XAR archives are mainly used on macOS, we can remove libxml2.

(From OE-Core rev: 363f1ee30b0e6d222943aaed8dce37a4a441a86d)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-13 11:34:14 +01:00
Martin Jansa
1e122267fd webkitgtk: fix build without opengl in DISTRO_FEATURES
(From OE-Core rev: 3b46038685c4d319ca0c88b3519cde04d615dc2a)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-13 11:34:14 +01:00
Richard Purdie
5dd7fde24f avahi: Exclude CVE-2021-26720 from cve-check
Issue only affects Debian and SUSE.

(From OE-Core rev: 72522fa1a5f3b9b2855043fe6b421886d641385f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-13 11:34:14 +01:00
Richard Purdie
41ccc827cf librsvg: Exclude CVE-2018-1000041 from cve-check
Issue only affects windows.

(From OE-Core rev: a90d3b056992346003d96765fc8639f5235cca55)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-13 11:34:14 +01:00
Richard Purdie
ac9436c81b coreutils: Exclude CVE-2016-2781 from cve-check
http://git.savannah.gnu.org/cgit/coreutils.git/commit/?id=v8.27-101-gf5d7c0842

"Given runcon is not really a sandbox command, the advice is to use
`runcon ... setsid ...` to avoid this particular issue.

(From OE-Core rev: 2d273b5aed4a5bd509ec9c68a6f451c17ec17d0c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-13 11:34:14 +01:00
Richard Purdie
b77802fb05 rpm: Exclude CVE-2021-20271 from cve-check
This is included in the release we have, it was the reason for the last rpm
point release.

(From OE-Core rev: 117feb358c81b6b852dee24268eac0a1a47c1701)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-13 11:34:14 +01:00
Bruce Ashfield
53ac441029 kern-tools: Kconfiglib: add support for bare 'modules' keyword
Bumping the SRCREV to pickup the following for the kern-tools:

    commit 6dd85ff178cd76851e2184b13e545f5a88d1be30 [kconfig: change
    "modules" from sub-option to first-level attribute] broke parsing
    in 5.13+ trees.

    We add the new location to the parser so we can support both
    types of module specifications.

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

Without this, the kernel configuration audit for 5.13+ errors
immediately.

The older "option modules" parsing has been left in the code, so that
older kernels continue to work as well.

(From OE-Core rev: ba39e42681e7e3c6fe82686a42a9ee4b519003f9)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-13 11:34:14 +01:00
Richard Purdie
944de7ea5f ovmf: Fix other reproducibility issues
When building in longer paths, the ovmf build changes in many ways. This adds a
patch addressing various causes of problems. Full details are in the patch header.

(From OE-Core rev: 9113a5815f3c682ef99fd777e35e892b2e08237f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-13 11:34:14 +01:00
Richard Purdie
8e19e48f1b ovmf: Disable lto to aid reproducibility
lto tends to break reproducibility and makes ovmf near impossible to debug
reproducibility issues in. Disable it and supress the warnings that then
generates from Werror.

(From OE-Core rev: 627b6ed763eca90192203932784872b60a65fcaa)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-13 11:34:14 +01:00
Michael Opdenacker
d4a82b30b7 manuals: reduce verbosity related to "the following" expression
(From yocto-docs rev: da9d1cfb5c084d172eff3cb10ec3631dd8266260)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-13 11:28:34 +01:00
Michael Opdenacker
f3540fc691 manuals: reduce verbosity with "worry about" expression
(From yocto-docs rev: 6c65f5f350cdc79a435deb20c48d861d9f4c5c14)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Reviewed-by: Quentin Schulz <foss@0leil.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-13 11:28:34 +01:00
Daniel Wagenknecht
e145129aaa kernel-dev: document KCONFIG_MODE
(From yocto-docs rev: 12aa6f9c6af68ea03fbb056677213b00d693cf5f)

Signed-off-by: Daniel Wagenknecht <dwagenknecht@emlix.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Reviewed-by: Quentin Schulz <foss@0leil.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-13 11:28:34 +01:00
Robert P. J. Day
0fc54213c2 ref-manual: delete extraneous back quote
(From yocto-docs rev: 784d39fe28436302b4df7e1ea08582d4d2f664c6)

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-13 11:28:34 +01:00
Robert P. J. Day
6afc2f5737 ref-manual: delete references to dead LSB compliance
Since LSB does not seem to be relevant these days, delete mentions of
it.

(From yocto-docs rev: 5b4354e0611253b40ad58613b910b6591493a1b4)

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-13 11:28:34 +01:00
Drew Moseley
6591d95eb1 manuals: fix a few incorrect option specifications.
(From yocto-docs rev: b6b218de3629d1f8fb61137e8bdcf84739cfaf67)

Signed-off-by: Drew Moseley <drew@moseleynet.net>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-13 11:28:34 +01:00
Robert P. J. Day
f3a66b53bb sdk-manual: various cleanups to intro.rst
Minutiae including grammar fixes, increased brevity and adding a
proper link to another SDK manual section.

(From yocto-docs rev: 21d6c6fcbae938c256da6e72d6ac8d2ca72d5bc0)

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Reviewed-by: Quentin Schulz <foss@0leil.net>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-13 11:28:34 +01:00
Robert P. J. Day
60c081d9f8 sdk-manual: couple minor fixes in using.rst
One grammar fix, and adding two proper links to other sections.

(From yocto-docs rev: 969d4737da992e1fbca14cfbeb35bd5401698cba)

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-13 11:28:34 +01:00
Khem Raj
c553b55a48 ffmpeg: Fix build on mips
configure is not able to decode, right options to compiler, it needs to
be set according to default tune manually. Fixes build issue on mips
e.g.

 {standard input}: Assembler messages:
| {standard input}:2162: Error: opcode not supported on this processor: mips32r2 (mips32r2) `dmult $22,$22'
| {standard input}:2164: Error: opcode not supported on this processor: mips32r2 (mips32r2) `dsrl $5,$5,32'
| make: *** [/mnt/b/yoe/master/build/tmp/work/mips32r2-yoe-linux/ffmpeg/4.4-r0/ffmpeg-4.4/ffbuild/common.mak:67: libavcodec/aptxenc.o] Error 1

(From OE-Core rev: b254db634fc888ae75e843c8a9108e71ffff3f77)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-12 23:06:05 +01:00
Alexander Kanavin
2153aa26e3 ffmpeg: update 4.3.2 -> 4.4
Drop mips64_cpu_detection.patch as upstream
has changed the code in a way that's difficult
to rebase. I have confirmed that builds on qemumip64 still
work, and the patch does not say clearly what was the
way to reproduce the failure it's aiming to address.

(From OE-Core rev: 7db3aed539044bed1c7d3cf7b91f55caed974fe2)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-12 23:06:05 +01:00
Richard Purdie
2d5c161021 tiff: Exclude CVE-2015-7313 from cve-check
Some fix upstream addresses the issue, it isn't clear which change this was. Our
current version doesn't have issues with the test image though so we can exclude.

(From OE-Core rev: 3874da694ae1d9de06dd003bd80705205e2b033b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-12 23:06:05 +01:00
Richard Purdie
c887238347 bluez: Exclude CVE-2020-12352 CVE-2020-24490 from cve-check
These CVEs are fixed with kernel changes and don't affect the bluez recipe.

(From OE-Core rev: 658902477840ea34d414083c4c79616bf5e999a2)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-12 23:06:05 +01:00
Richard Purdie
409df45522 ghostscript: Exclude CVE-2013-6629 from cve-check
The CVE is in the jpeg sources included with ghostscript. We use our own
external jpeg library so this doesn't affect us.

(From OE-Core rev: 8556d6a6722f21af5e6f97589bec3cbd31da206c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-12 23:06:05 +01:00
Richard Purdie
4b7fae138c xinetd: Exclude CVE-2013-4342 from cve-check
We use the SUSE mirror of xinetd. The CVE fix was added to the main repo
after the latest release but is included in the version from the SUSE repo.

(From OE-Core rev: 6f587d1e1fdf8141d240160d57c9a05ff97ea510)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-12 23:06:05 +01:00
Richard Purdie
fd5f1656ae cpio: Exclude CVE-2010-4226 from cve-check
Issue applies to use of cpio in SUSE/OBS, doesn't apply to us.

(From OE-Core rev: 915b38c54a7932744a9f56713d1c6bd00a789331)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-12 23:06:05 +01:00
Richard Purdie
a6e8f4163c unzip: Exclude CVE-2008-0888 from cve-check
The patch mentioned as the fix for the CVE is applied to the 6.0 source
code. Zip versioning makes CPE entry changes hard.

(From OE-Core rev: 8917e5ae2bb44d017fc0155f16632c5decadb0bd)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-12 23:06:05 +01:00
Richard Purdie
8efb104e7b openssh: Exclude CVE-2008-3844 from cve-check
CVE only applies to some distributed RHEL binaries so irrelavent to us.

(From OE-Core rev: 5d8b3ddf91050f6745a99a8abb1c3b03c35247af)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-12 23:06:05 +01:00
Richard Purdie
c6421254c5 bind: Exclude CVE-2019-6470 from cve-check
Issue only affects dhcpd with recent bind versions. We don't ship dhcpd anymore
so the issue doesn't affect us.

(From OE-Core rev: 30106ae676124ba3c0e496a4f19c919c8418b59b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-12 23:06:04 +01:00
Robert Joslyn
987b668b13 epiphany: Update to 40.1
Refresh patch and adjust version directory for new version numbering
scheme. Add new dependency on libarchive.

(From OE-Core rev: 02bce05698d905771250ab12b48d8b0e19d218cb)

Signed-off-by: Robert Joslyn <robert.joslyn@redrectangle.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-12 23:06:04 +01:00
Alejandro Hernandez Samaniego
4ba09d6a2b baremetal-helloworld: Enable RISC-V 64 port
Add support for MACHINE=qemuriscv64.

$ runqemu nographic

KERNEL: [tmp/deploy/images/qemuriscv64/baremetal-helloworld-image-qemuriscv64.bin]
MACHINE: [qemuriscv64]
FSTYPE: [bin]

runqemu - INFO - Running tmp/work/x86_64-linux/qemu-helper-native/1.0-r1/recipe-sysroot-native/usr/bin/qemu-system-riscv64

Hello OpenEmbedded on RISC-V 64!

(From OE-Core rev: 31fde82640bf0d185eab55d2cbaf663c9faae801)

Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandro@enedino.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-12 23:06:04 +01:00
Alexander Kanavin
d875ba64e9 mesa: add lmsensors PACKAGECONFIG
(From OE-Core rev: 1b470a5fe7c74938cac7c83cd104ca25182af6cc)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-12 23:06:04 +01:00
Alexander Kanavin
c4473061f7 powertop: update 2.13 -> 2.14
Drop configure() tweaks, none of them are needed anymore, and particularly
the ncurses tweak was changing the build in a way that is not clear
(and no one remembers why it was there in the first place).

Adjust LDFLAGS as somehow -pthread isn't there --> link failures.

(From OE-Core rev: c4982ddd71ac652f9d3b879bf31bb087500fb611)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-12 23:06:04 +01:00
Alexander Kanavin
3127ef1b43 Revert "go: Use dl.google.com for SRC_URI"
This reverts commit 4118415d4b.

This was found to be unnecessary, and broke upstream version checks.

(From OE-Core rev: cee436d1eb94663f3604c80b6ad87292f6901498)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-12 23:06:03 +01:00
Richard Purdie
8dcb68f477 ovmf: Improve reproducibility by enabling prefix mapping
We want to pass ${DEBUG_PREFIX_MAP} to gcc commands and also pass in
--debug-prefix-map to nasm (we carry a patch to nasm for this). The
tools definitions are built by ovmf-native so we need to pass this in
at target build time when we know the right values.

By using determininistc file paths in the ovmf build, it removes the
opportunitity for gcc/ld to change the output binaries due to path
lengths overflowing section sizes and causing small changes in the
binary output.

This also means that if builds have reproducibility issues in future, it
becomes much easier to compare intermediate build artefacts.

(From OE-Core rev: 51f51310d6d5cced2b55bf27dbb9a5717740a206)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-11 11:54:26 +01:00
Richard Purdie
20efb29a5d openssh: Exclude CVE-2007-2768 from cve-check
We don't build/use the OPIE PAM module, exclude the CVE from this recipe.

(From OE-Core rev: 3670be602f2ace24dc49e196407efec577164050)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-11 11:54:26 +01:00
Richard Purdie
a087553fa5 logrotate: Exclude CVE-2011-1548,1549,1550 from cve-check
These CVEs apply to the way logrotate was installed on Gentoo, Debian
and SUSE, exclude from cve-check as they don't apply to OE.

(From OE-Core rev: 23643016f3b8794db772e333ff0b8f598571b628)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-11 11:54:26 +01:00
Richard Purdie
8a6a71ea4d jquery: Exclude CVE-2007-2379 from cve-check
The CVE is non-specific and depends on the users of jquery, doesn't
make sense to have this flagged against jquery as there is nothing we can
do about it.

(From OE-Core rev: 1f82843584f6d2843c5bbd2fe5dcbc654a0fbcfb)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-11 11:54:26 +01:00
Richard Purdie
d2708c0b5b qemu: Exclude CVE-2018-18438 from cve-check
The issues were investigated and found not to be an issue therefore
exclude from checks.

(From OE-Core rev: ee6ee9bd489c126b99d15c1011560df2f840a6e9)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-11 11:54:26 +01:00
Richard Purdie
ae3527372f qemu: Exclude CVE-2007-0998 from cve-check
The CVE applies to the built-in VNC server but we don't enable this by default.

(From OE-Core rev: d62b9974a5f3a0f462434ce2763c28a4b4bbcfc6)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-11 11:54:26 +01:00
Richard Purdie
458f5d026e qemu: Exclude CVE-2017-5957 from cve-check
The CVE applies to virglrender before 0.6.0 which we don't have.

(From OE-Core rev: 9b5355375d028577de0b98e05992de6a088cb972)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-11 11:54:26 +01:00
Ross Burton
a8192999f0 builder: whitelist CVE-2008-4178 (a different builder)
(From OE-Core rev: 107987b342a834badfad286474b03543b4764d23)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-11 11:54:26 +01:00
Ross Burton
e703650fce libnotify: whitelist CVE-2013-7381 (specific to the NodeJS bindings)
(From OE-Core rev: be04484f99a5b29cc9066e350b526fc4420ad6d4)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-11 11:54:26 +01:00
Ross Burton
cb93117edb cairo: backport patch for CVE-2020-35492
(From OE-Core rev: 0c4e6f99332ae253855708845a41fdfeb72d4c30)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-11 11:54:26 +01:00
Richard Purdie
217e7c61c5 glibc: Document and whitelist CVE-2019-1010022-25
These CVEs are disputed by upstream and there is no plan to fix/address them. No
other distros are carrying patches for them. There is a patch for 1010025
however it isn't merged upstream and probably carries more risk of other bugs
than not having it.

(From OE-Core rev: b238db678083cc15313b98d2e33f83cccab03fc6)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-11 11:54:26 +01:00
Richard Purdie
1c926417e1 grub2: Add CVE whitelist entries for issues fixed in 2.06
We're using a pre-release version of 2.06 so these issues are fixed but
continue to show up in the checks since it is pre-2.06 and the CPE
entries are "before but excluding 2.06".

Adding these will clean up CVE reports until the 2.06 release comes out.

(From OE-Core rev: 2467ab1554bee3a431636046735e8e369e865bc6)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-11 11:54:26 +01:00
Bastian Krause
4638576d10 ccache: version bump 4.2.1 -> 4.3
Instead of [1] a very similar PR [2] was merged that allows
enabling/disabling documentation builds. So drop the patch here and use
the upstream cmake option ENABLE_DOCUMENTATION instead.

[1] https://github.com/ccache/ccache/pull/844
[2] https://github.com/ccache/ccache/pull/842

(From OE-Core rev: 1eedc5f822933928ed7861350ad47ff9c096552a)

Signed-off-by: Bastian Krause <bst@pengutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-11 11:54:26 +01:00
Alexander Kanavin
2809a33b74 liberation-fonts: fix upstream version check
(From OE-Core rev: dbb283b838007744e6bb1641e844ca7719fc4742)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-11 11:54:26 +01:00
Alexander Kanavin
9427f6f92a swig: fix upstream version check
(From OE-Core rev: 4e9f4dca48e853a794331a75200fd7450176eeb2)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-11 11:54:26 +01:00
Martin Jansa
17535c15b7 gcc-sanitizers: Package up static hwasan files as well
* introduced with gcc-11, other hwasan files were already packaged in:
  3df4a25465 gcc-sanitizers: Package up hwasan files
  but static library was still triggering installed-vs-shipped

(From OE-Core rev: 49aec04aa8ac98545b48c41382ebf1a1c3be1118)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-11 11:54:26 +01:00
Yann Dirson
698fd81c55 linux-firmware: include all relevant files in -bcm4356
This currently catches the .clb_blob and .vamrs,rock960.txt, and other
.txt files may come in future upstream releases.

(From OE-Core rev: e332738a8aae0914c58b40faae8b9d7a82fd6a95)

Signed-off-by: Yann Dirson <yann@blade-group.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-11 11:54:26 +01:00
zhengruoqin
c8ea2cb37d busybox: upgrade 1.33.0 -> 1.33.1
0001-decompress_gunzip-Fix-DoS-if-gzip-is-corrupt.patch
removed since it is included in 1.33.1

(From OE-Core rev: 544236b12a72ee5be5ef0147249ead112082b871)

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-11 11:54:26 +01:00
wangmy
764db5fde8 kexec-tools: upgrade 2.0.21 -> 2.0.22
(From OE-Core rev: 2c7868ef9e85a3cdd56b11cd5e876e633307a21d)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-11 11:54:25 +01:00
wangmy
d7323f994e ell: upgrade 0.39 -> 0.40
(From OE-Core rev: db1f0f28a0651a648cd9fd238f5e2809110ff577)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-11 11:54:25 +01:00
wangmy
beac6e438f at-spi2-core: upgrade 2.40.0 -> 2.40.1
(From OE-Core rev: 7944928f86348562e4b4440e53f4201b186a3ca6)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-11 11:54:25 +01:00
Alexander Kanavin
a6f18016c4 ptest: add a test for orphaned ptests, and restore ones found by it
Particularly, numactl, numpy and libseccomp are disabled for now
due to failures or lack of qemu support. The rest have been verified
to pass quickly.

[RP: Fix multilib recipe handling]
(From OE-Core rev: 8bb5da87000ade519529e44181448244bd94d4f5)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-11 11:54:25 +01:00
Richard Purdie
bb490c7ea9 puzzles: Upstream changed to main branch for development
(From OE-Core rev: 943402b25212408a4ddcfa8a146b645509e138dd)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-10 08:00:22 +01:00
Khem Raj
03a3fddb50 python3-markdown: Upgrade to 3.3.4
meta-python is carrying 3.3.4, once we upgrade it in core
we can safely drop it from meta-python, helps with layer-compatibility
checks

(From OE-Core rev: 88c11b0a45b3fd310288325f97c16ca2c9e0006e)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-09 23:30:16 +01:00
Andreas Müller
caa8605d8d gstreamer1.0-plugins-good: fix build with gcc11
This fixes issues when qt plugins are enabled (which is not by default
without additional layers).

(From OE-Core rev: 25f3ff9c4ca20962994c43b741c7839b713cbfe6)

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-09 23:30:16 +01:00
Kai Kang
4444786679 grub2.inc: remove '-O2' from CFLAGS
It fails to boot grub after upgrade grub to 2.06. According to
description in

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

it is introduced by a commit to fix CVE. So remove option '-O2' from
CFLAGS rather than revert the commit to avoid the failure.

[YOCTO #14367]

CC: Tony Battersby <tonyb@cybernetics.com>
(From OE-Core rev: 69805629b8f47fd46a37b7c5cc435982e2ac3d1d)

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-09 23:30:16 +01:00
Romain Naour
4523af6c1d dejagnu: needs expect at runtime
runtest return an error due to missing expect on the target.
Add expect as runtime dependency.

(From OE-Core rev: d9a3a08edc1efcbe7b02e80be98370792d3c6cc2)

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-09 23:30:16 +01:00
Khem Raj
3f93502b27 swig: Upgrade to 4.0.2
Drop backports and refresh patches to apply on 4.x series

(From OE-Core rev: 5c7923e79c2411a0a36e540a8b894d399ad04aa7)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-09 23:30:16 +01:00
Peter Kjellerstedt
48c64d609b libcap: Configure Make variables correctly without a horrible hack
Occasionally, the build would fail with:

  make[2]: execvp: mkdir: Argument list too long

This turned out to be due to a hacky solution used in the recipe to
modify the Makefile, which resulted in one more $(BUILD_CFLAGS) being
added to the immediately expanded BUILD_CFLAGS Make variable each time
do_configure was executed. After a couple of times, this lead to an
environment with a 140 kB BUILD_CFLAGS when mkdir should execute, which
resulted in the E2BIG.

(From OE-Core rev: 116e6b61c585c6f0f7ae6f010bd490bb39914348)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-09 23:30:16 +01:00
Vinícius Ossanes Aquino
071fa40b0e lttng-modules: backport patches to fix build against 5.12+ kernel
Add the following patches from stable-2.12 branch of lttng repository
to fix errors when building lttng-modules against 5.12+ kernel
since they are not present on the release 2.12.5:

- 17cd2dc9 fix: block: add a disk_uevent helper (v5.12)
- 127135b6 fix backport: block: add a disk_uevent helper (v5.12)
- 853d5903 fix: mm, tracing: kfree event name mismatching with
provider kmem (v5.12)

(From OE-Core rev: 2538ba2b3490e3599d9ccd637aa8486ea428f1b0)

Signed-off-by: Vinicius Aquino <vinicius.aquino@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-09 23:30:16 +01:00
Bruce Ashfield
3bebf05cff linux-yocto/5.4: qemuppc32: reduce serial shutdown issues
Integrating the following commit(s) to linux-yocto/5.4:

    qemuppc32: reduce serial issues seen on shutdown

    Richard reported:

    We've been seeing a lot of the qemuppc shutdown issue and I decided to
    look into it. The really worrying thing looking at the logs locally is the
    serial ports are showing irq issues and becoming disabled as nobody would
    handle them.

    Errors like:

       [    9.194886] irq 36: nobody cared (try booting with the "irqpoll" option)
       [    9.198712] CPU: 0 PID: 127 Comm: bootlogd Not tainted
       [    9.202283] Call Trace:
       [    9.205611] [d1005f00] [c00a0da8] __report_bad_irq+0x50/0x138 (unreliable)
       [    9.209347] [d1005f30] [c00a0cc0] note_interrupt+0x324/0x378
       [    9.212855] [d1005f70] [c009d138] handle_irq_event+0xe8/0x104
       [    9.216353] [d1005fa0] [c00a1d9c] handle_fasteoi_irq+0xc0/0x29c
       [    9.219960] [d1005fc0] [c009b798] generic_handle_irq+0x40/0x5c
       [    9.223496] [d1005fd0] [c00075d0] __do_irq+0x58/0x188
       [    9.226948] [d1005ff0] [c0010040] call_do_irq+0x20/0x38
       [    9.230391] [d29eda60] [c0007788] do_IRQ+0x88/0xfc
       [    9.233860] [d29eda90] [c0016454] ret_from_except+0x0/0x14
       [    9.237288] --- interrupt: 501 at __setup_irq+0x3c4/0x838
       [    9.237288]     LR = __setup_irq+0x790/0x838
       [    9.244155] [d29edb88] [c009f0a4] request_threaded_irq+0x114/0x1c8
       [    9.247672] [d29edbb8] [c07a5a18] pmz_startup+0x17c/0x32c
       [    9.251203] [d29edbd8] [c07a1140] uart_port_startup+0x184/0x2f8
       [    9.254651] [d29edc08] [c07a1974] uart_port_activate+0x78/0xf4
       [    9.258141] [d29edc28] [c07839f8] tty_port_open+0xd4/0x170
       [    9.261579] [d29edc58] [c079db74] uart_open+0x2c/0x48
       [    9.265116] [d29edc68] [c077a288] tty_open+0x168/0x640
       [    9.268574] [d29edcd8] [c0280be8] chrdev_open+0x138/0x2a4
       [    9.272123] [d29edd18] [c027421c] do_dentry_open+0x228/0x410
       [    9.275643] [d29edd48] [c028e9f4] path_openat+0xb04/0xf28
       [    9.279184] [d29eddd8] [c02917e4] do_filp_open+0x120/0x164
       [    9.282535] [d29ede98] [c0276238] do_sys_openat2+0xd8/0x19c
       [    9.285790] [d29edee8] [c0276574] sys_openat+0x88/0xdc
       [    9.289096] [d29edf38] [c00160d8] ret_from_syscall+0x0/0x34
       [    9.292620] --- interrupt: c01 at 0xfec3738
       [    9.292620]     LR = 0xfec36e0
       [    9.299035] handlers:
       [    9.302312] [<7f7f7da8>] pmz_interrupt
       [    9.305541] Disabling IRQ #36

    (and the irqpoll option does not help)

    This is problematic as the shutdown test uses the serial interface to
    shut down the system. If the serial interface fails to login or run the command,
    game over for the test.

    CONFIG_SERIAL_PMACZILOG_CONSOLE complicates that handling, but doesn't provide
    any output or capabilities that we need. So we disable it here, and
    reduce the chances of issues during shutdown.

(From OE-Core rev: 42355cb73049ee7a4af0f539a2a5b7d4ee1abc65)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-09 23:30:16 +01:00
Alexander Kanavin
8edb167924 x264: upgrade to latest revision
(From OE-Core rev: 17f18d0aa3a8588717b6b5ae2a2b9c773fbf7863)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-09 23:30:16 +01:00
Alexander Kanavin
341796ff8c python3-setuptools-scm: upgrade 5.0.1 -> 6.0.1
(From OE-Core rev: a95aab10c662dda99867c2cffd4e6fcfe33cebe0)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-09 23:30:16 +01:00
Alexander Kanavin
b18df94122 python3-pytest: upgrade 6.2.2 -> 6.2.3
(From OE-Core rev: a49c3ee159164dbea35fdae51584ce8c2abb488b)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-09 23:30:16 +01:00
Alexander Kanavin
ac7fdbe558 python3-importlib-metadata: upgrade 3.4.0 -> 3.10.1
(From OE-Core rev: 68ec69e4c135ce49956a50698f681cd317cf96c7)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-09 23:30:16 +01:00
Alexander Kanavin
922ebe04b6 python3-hypothesis: upgrade 6.2.0 -> 6.9.1
(From OE-Core rev: 549b395e0fcc59e01a48b91d33cf72b7501c41df)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-09 23:30:16 +01:00
Alexander Kanavin
5e164fcba6 pkgconf: upgrade 1.7.3 -> 1.7.4
(From OE-Core rev: a7cb5f9160fa1575adf10d4a0b679478cfa585ef)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-09 23:30:16 +01:00
Alexander Kanavin
4d2ed6b901 piglit: upgrade to latest revision
(From OE-Core rev: dd085bd577a2a64b46485a9fde7eb8f2a727e1e8)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-09 23:30:16 +01:00
Alexander Kanavin
24ac6969db pango: upgrade 1.48.2 -> 1.48.4
(From OE-Core rev: 894f2783ac1f9741bcf3e54c1b86ac0dd1bc04e0)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-09 23:30:16 +01:00
Alexander Kanavin
d45d46f2ee linux-firmware: upgrade 20210208 -> 20210315
License-Update: additional firmware files, version changes

(From OE-Core rev: 2f10b9dbb4fb8ccb9a427883370fbbeb6f394551)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-09 23:30:15 +01:00
Alexander Kanavin
54cd6a5a51 libxres: upgrade 1.2.0 -> 1.2.1
(From OE-Core rev: beb2c79c77f9a5370c633f3f7cd4f7302c0cf49a)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-09 23:30:15 +01:00
Alexander Kanavin
97063ca5d7 libwpe: upgrade 1.8.0 -> 1.10.0
(From OE-Core rev: 2abc471c24d60485fb6fb3380eeea33137bf81bf)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-09 23:30:15 +01:00
Alexander Kanavin
85cb9f2c73 libinput: upgrade 1.16.4 -> 1.17.1
(From OE-Core rev: c70e9a812659811664b40fa103d52bbb06e39750)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-09 23:30:15 +01:00
Alexander Kanavin
3a7b18544f libfm: upgrade 1.3.1 -> 1.3.2
(From OE-Core rev: 3f40b23dc8e034d17a97c988892ef01522bc1b43)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-09 23:30:15 +01:00
Alexander Kanavin
d158921a6f less: upgrade 563 -> 581
(From OE-Core rev: e19736b809cbc8c15808e75473a95117fbdb1468)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-09 23:30:15 +01:00
Alexander Kanavin
93d88fe52b harfbuzz: upgrade 2.7.4 -> 2.8.0
(From OE-Core rev: e5f82c4431e3d48914e26be97c83b0efbb2b478c)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-09 23:30:15 +01:00
Alexander Kanavin
5ef38c9cae gtk+3: upgrade 3.24.25 -> 3.24.28
(From OE-Core rev: 09cc5725b8ecdfd1cc54eaf834cdf5e2dbdd050c)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-09 23:30:15 +01:00
Alexander Kanavin
6c1dd9dede gobject-introspection: upgrade 1.66.1 -> 1.68.0
(From OE-Core rev: 803bbae963d59a91fbd3c517003f9972fc9bf7e8)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-09 23:30:15 +01:00
Alexander Kanavin
05904ebc14 systemd-boot: backport a fix to address failures with new gnu-efi
(From OE-Core rev: c88679a2f1a3aa84f7699a0ee752cf8071e8a430)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-09 23:30:15 +01:00
Alexander Kanavin
46fcf0d6d3 gnu-efi: upgrade 3.0.12 -> 3.0.13
(From OE-Core rev: 464a09f45f619f1f96e3f5c83dc3d6d68eadfcbe)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-09 23:30:15 +01:00
Alexander Kanavin
3ac289eb81 e2fsprogs: upgrade 1.46.1 -> 1.46.2
(From OE-Core rev: 89ed9395b247e741fe667e7321be996b27d4e0c0)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-09 23:30:15 +01:00
Alexander Kanavin
21bd255395 dnf: upgrade 4.6.0 -> 4.7.0
(From OE-Core rev: 432352dddc97eb19cefacd8644fb59b1f10bc2d3)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-09 23:30:15 +01:00
Alexander Kanavin
ad7581132d cronie: upgrade 1.5.5 -> 1.5.7
(From OE-Core rev: 3ad65c9509c2c352f4126f87d34634e4248579b4)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-09 23:30:15 +01:00
Alexander Kanavin
f5dbb6b815 createrepo-c: upgrade 0.17.0 -> 0.17.2
(From OE-Core rev: 0013f8195c046031aad5156d889b86676144e74b)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-09 23:30:15 +01:00
Alexander Kanavin
85a6dffc87 bison: upgrade 3.7.5 -> 3.7.6
License-Update: http links -> https

(From OE-Core rev: d3072372c95f327d38581e0f29f3d3329e0ecaae)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-09 23:30:15 +01:00
Alexander Kanavin
2fb7154779 bind: upgrade 9.16.12 -> 9.16.13
(From OE-Core rev: 40624d1d3420783f24253b87465cd5ab7ecb32b4)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-09 23:30:15 +01:00
Alexander Kanavin
1cc617ae10 acl: upgrade 2.2.53 -> 2.3.1
(From OE-Core rev: dabe3173a9b9cd8f96913c3c47c01f056d79f274)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-09 23:30:15 +01:00
Alexander Kanavin
99445990ca webkitgtk: update 2.30.6 -> 2.32.0
Drop 0001-Extend-atomics-check-to-include-1-byte-CAS-test.patch
(merged upstream).

Rebase other patches.

(From OE-Core rev: f64e9ba5f0d48e34d7022bf74bd9765f9e8a792c)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-09 23:30:15 +01:00
Alexander Kanavin
39932f22fa virglrenderer: update 0.8.2 -> 0.9.1
Drop 0001-gallium-Expand-libc-check-to-be-platform-OS-check.patch,
issue fixed upstream.

(From OE-Core rev: ad968bc3d3ec5ae6862cdbe46608a99f561046fd)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-09 23:30:15 +01:00
Alexander Kanavin
a3b5f86004 gnupg: upgrade 2.2.27 -> 2.3.1
Remove 0001-Use-pkg-config-to-find-pth-instead-of-pth-config.patch
as upstream has removed the .m4 files.

Rebase other patches.

(From OE-Core rev: 623b10d3428f84219f7fb0cbb539fbbba7161e2d)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-09 23:30:15 +01:00
Alexander Kanavin
0de28255b7 vulkan-samples: update to latest revision
(From OE-Core rev: a6f8da2a59b3c8fd14bacb7e29feb1cc2fea0088)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-09 23:30:15 +01:00
Alexander Kanavin
b36bf2f6d4 libgudev: update 234 -> 236
Convert to meson.

(From OE-Core rev: 80bf33236e26c57f441ebebce758afad9900f27e)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-09 23:30:15 +01:00
Alexander Kanavin
ab3a1f4262 libxkbcommon: update 1.0.3 -> 1.2.1
(From OE-Core rev: eb5044711bd74cd37799feb55aa006fcbf5ad155)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-09 23:30:15 +01:00
Alexander Kanavin
b143dc6db0 bluez5: upgrade 5.56 -> 5.58
(From OE-Core rev: 6aabd10b113a81b0abbcb9654bc6fe17cc6bb3ce)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-09 23:30:15 +01:00
Alexander Kanavin
d112d5bee6 libdnf: upgrade 0.58.0 -> 0.62.0
(From OE-Core rev: 87f9e745998be322cf13952f8d914139185b9d8c)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-09 23:30:15 +01:00
Alexander Kanavin
9f137c86a8 pulseaudio: unbreak build with latest meson
(From OE-Core rev: 3ac3c5dad3e9a434b421c654b3d375c2fee044a9)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-09 23:30:15 +01:00
Alexander Kanavin
038eb82ad6 systemd: backport a patch to avoid unnecessary rsync dependency with latest meson
(From OE-Core rev: 3f0269ff1e5f87b23ef9012813a753daf3c5c24f)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-09 23:30:15 +01:00
Alexander Kanavin
ec0e1d4fb9 meson: update 0.57.1 -> 0.57.2
(From OE-Core rev: 85345697c6e492598c882eb452b999b8a05f97a9)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-09 23:30:15 +01:00
Alexander Kanavin
25fdd28161 cmake: update 3.19.5 -> 3.20.1
Remove 0002-cmake-Prevent-the-detection-of-Qt5.patch
(patch purpose and failing scenarios unclear; disabling
is better done through configuration options which
are available for all of these items).

License-Update: copyright years

(From OE-Core rev: 6f3a4f224931866ab2e9758530efdb81d7ddb63d)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-09 23:30:15 +01:00
Richard Purdie
ecaefb9d57 ptest-packagelists: Add expat-ptest to fast ptests
This ptest package was accidentally not enabled. The tests run quickly (2s) and
pass so add to the standard test suite.

(From OE-Core rev: 53dcc4b7bb4dce6cd2bc8d194efc4b8246317f22)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-09 23:30:15 +01:00
Alexander Kanavin
537ffe0d95 puzzles: update to latest revision
Convert to cmake, drop all the unneeded cruft from the recipe.

License-Update: additional contributors
(From OE-Core rev: adba510022781f139014d6174e46954c1f4774c0)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-09 23:30:15 +01:00
Alexander Kanavin
73b4bf301e dpkg: update 1.20.7.1 -> 1.20.9
(From OE-Core rev: 2000040d92a41ef5ae594aed2482a7b33d17dda9)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-09 23:30:15 +01:00
Alexander Kanavin
b4a004d583 xorgproto: upgrade 2020.1 -> 2021.3
License-Update: formatting

(From OE-Core rev: fa51ebcff8424eb0f777a78647c462f33318849f)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-09 23:30:15 +01:00
Alexander Kanavin
c04b40a21e xserver-xorg: upgrade 1.20.10 -> 1.20.11
(From OE-Core rev: 0e9ff8859492403a88e61cfba5df2917d70d3584)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-09 23:30:14 +01:00
Alexander Kanavin
70f797eced stress-ng: upgrade 0.12.05 -> 0.12.06
(From OE-Core rev: 31a09f59db6461a5f65f93783c25d8d05e4edf3e)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-09 23:30:14 +01:00
Alexander Kanavin
f33847f5ba xkbcomp: upgrade 1.4.4 -> 1.4.5
License-Update: formatting

(From OE-Core rev: 2cfc32df6c527d308d436464421766522d34c829)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-09 23:30:14 +01:00
Alexander Kanavin
9fbf28b1d9 vala: upgrade 0.50.4 -> 0.52.2
(From OE-Core rev: 25c6b77d2ab914dc7a38e7bf6171d66bd3be85d3)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-09 23:30:14 +01:00
Chen Qi
91787002cb db: update CVE_PRODUCT
Update CVE_PRODUCT to also include 'berkeley_db'. For example,
CVE-2020-2981 uses 'berkeley_db'.

(From OE-Core rev: ad799b109716ccd2f44dcf7a6a4cfcbd622ea661)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-09 23:30:14 +01:00
Robert Joslyn
276974ca9e liberation-fonts: Update to 2.1.4
Update HOMEPAGE and SRC_URI since development moved to GitHub.

(From OE-Core rev: a522704c1891eeb78b0cf1bcbdb2bb6b3c96c204)

Signed-off-by: Robert Joslyn <robert.joslyn@redrectangle.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-09 23:30:14 +01:00
wangmy
0fe48bb863 python3-pygments: upgrade 2.8.1 -> 2.9.0
(From OE-Core rev: cd0b5ecccccb5b77aee77e3eb4547fd342fbabaf)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-09 23:30:14 +01:00
Anuj Mittal
3d6e67b389 lsb-release: fix reproducibility failure
Make sure help2man output is reproducible. Fixes:

| .\"·DO·NOT·MODIFY·THIS·FILE!··It·was·generated·by·help2man·1.022.	.\"·DO·NOT·MODIFY·THIS·FILE!··It·was·generated·by·help2man·1.022.
| .TH·FSG·"1"·"April·2021"·"FSG·lsb_release·v1.4"·FSG	.TH·FSG·"1"·"May·2021"·"FSG·lsb_release·v1.4"·FSG
| .SH·NAME	3 	.SH·NAME

(From OE-Core rev: 49371207a7f1fe3d3feb7b8b9aabb62b43ae34d1)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-09 23:30:14 +01:00
Alexander Kanavin
3eab723431 gdk-pixbuf/pango: replace gtk-doc with gi-docgen
(From OE-Core rev: fe97a89056857e1326b087fb3d4a4b4be28acdc9)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-09 23:30:14 +01:00
Alexander Kanavin
7572042364 gi-docgen: add a recipe and class
This seems to be the gtk-doc successor, and gnome
projects such as pango and gdk-pixbuf have started
transitioning to it.

(From OE-Core rev: f87bb7d848015c371095ef3ff423eee81e6d8ecd)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-09 23:30:14 +01:00
Alexander Kanavin
13e4ff2250 python3: add markdown/smartypants/typogrify modules
This is needed to enable gi-docgen, a successor to gtk-doc

(From OE-Core rev: b557ea3cc61da326bb7783a2ac8e4080c4bf79e5)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-09 23:30:14 +01:00
Richard Purdie
b681827f5b oeqa/qemurunner: Improve handling of run_serial for shutdown commands
When running a shutdown command, the serial port can close without the
command returning. This is seen as the socket being readable but having
no data. Change the way this case is handled in the code to avoid
tracebacks.

(From OE-Core rev: 396a3ba884820d040c91f7592daf20ac28c49b5d)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-09 23:30:14 +01:00
Richard Purdie
4a3a0e7838 oeqa/qemurunner: Fix binary vs str issue
The recent logging changes for qemurunner showed up as errors on the
autobuilder where decode couldn't be called on the returned string.
Since the code returns binary data, return b'' instead of '' to match
to avoid tracebacks.

One of these cases was newly added, copied from the other which has
been there for a long time, always broken.

(From OE-Core rev: b8995b27db265b0a0b2d2ca595915f70f9f96e07)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-09 23:30:14 +01:00
Bruce Ashfield
2dcd1f2a21 yocto-check-layer: Only note a layer without a conf/layer.conf (versus error)
Dynamic layers may have a conf directory, but don't need (or
want) a conf/layer.conf

This isn't an error, so we can just log it and indicate the
layer is being skipped.

A full layer without a conf file isn't all that useable, so we
aren't letting anything subtle slip through by just logging
it.

(From OE-Core rev: 9841a7c70bc21c5cd3bbea98d5f8654434577f61)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-06 16:55:35 +01:00
Saul Wold
3d79025398 qemurunner: change warning to info
This information is useful, but should not be a warning level.

[YOCTO #14382]

(From OE-Core rev: cd17d8bb00be1ecb7c92ab13eb8b162807aefed9)

Signed-off-by: Saul Wold <saul.wold@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-06 16:55:35 +01:00
Bruce Ashfield
6716a16efc linux-yocto/5.10: qemuppc32: reduce serial shutdown issues
Integrating the following commit(s) to linux-yocto/5.10:

    qemuppc32: reduce serial issues seen on shutdown

    Richard reported:

    We've been seeing a lot of the qemuppc shutdown issue and I decided to
    look into it. The really worrying thing looking at the logs locally is the
    serial ports are showing irq issues and becoming disabled as nobody would
    handle them.

    Errors like:

       [    9.194886] irq 36: nobody cared (try booting with the "irqpoll" option)
       [    9.198712] CPU: 0 PID: 127 Comm: bootlogd Not tainted 5.10.30-yocto-standard #1
       [    9.202283] Call Trace:
       [    9.205611] [d1005f00] [c00a0da8] __report_bad_irq+0x50/0x138 (unreliable)
       [    9.209347] [d1005f30] [c00a0cc0] note_interrupt+0x324/0x378
       [    9.212855] [d1005f70] [c009d138] handle_irq_event+0xe8/0x104
       [    9.216353] [d1005fa0] [c00a1d9c] handle_fasteoi_irq+0xc0/0x29c
       [    9.219960] [d1005fc0] [c009b798] generic_handle_irq+0x40/0x5c
       [    9.223496] [d1005fd0] [c00075d0] __do_irq+0x58/0x188
       [    9.226948] [d1005ff0] [c0010040] call_do_irq+0x20/0x38
       [    9.230391] [d29eda60] [c0007788] do_IRQ+0x88/0xfc
       [    9.233860] [d29eda90] [c0016454] ret_from_except+0x0/0x14
       [    9.237288] --- interrupt: 501 at __setup_irq+0x3c4/0x838
       [    9.237288]     LR = __setup_irq+0x790/0x838
       [    9.244155] [d29edb88] [c009f0a4] request_threaded_irq+0x114/0x1c8
       [    9.247672] [d29edbb8] [c07a5a18] pmz_startup+0x17c/0x32c
       [    9.251203] [d29edbd8] [c07a1140] uart_port_startup+0x184/0x2f8
       [    9.254651] [d29edc08] [c07a1974] uart_port_activate+0x78/0xf4
       [    9.258141] [d29edc28] [c07839f8] tty_port_open+0xd4/0x170
       [    9.261579] [d29edc58] [c079db74] uart_open+0x2c/0x48
       [    9.265116] [d29edc68] [c077a288] tty_open+0x168/0x640
       [    9.268574] [d29edcd8] [c0280be8] chrdev_open+0x138/0x2a4
       [    9.272123] [d29edd18] [c027421c] do_dentry_open+0x228/0x410
       [    9.275643] [d29edd48] [c028e9f4] path_openat+0xb04/0xf28
       [    9.279184] [d29eddd8] [c02917e4] do_filp_open+0x120/0x164
       [    9.282535] [d29ede98] [c0276238] do_sys_openat2+0xd8/0x19c
       [    9.285790] [d29edee8] [c0276574] sys_openat+0x88/0xdc
       [    9.289096] [d29edf38] [c00160d8] ret_from_syscall+0x0/0x34
       [    9.292620] --- interrupt: c01 at 0xfec3738
       [    9.292620]     LR = 0xfec36e0
       [    9.299035] handlers:
       [    9.302312] [<7f7f7da8>] pmz_interrupt
       [    9.305541] Disabling IRQ #36

    (and the irqpoll option does not help)

    This is problematic as the shutdown test uses the serial interface to
    shut down the system. If the serial interface fails to login or run the command,
    game over for the test.

    CONFIG_SERIAL_PMACZILOG_CONSOLE complicates that handling, but doesn't provide
    any output or capabilities that we need. So we disable it here, and
    reduce the chances of issues during shutdown.

(From OE-Core rev: bf2c6ea03d45742597275691b4c883044765c57e)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-06 16:55:35 +01:00
Alexander Kanavin
5ac0965479 gnu-config: update to latest revision
(From OE-Core rev: 2f13632a0b573f635c91efee3fd6ce2215f407cf)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-06 12:12:58 +01:00
Alexander Kanavin
1681d34e4b glib-2.0: update 2.68.0 -> 2.68.1
(From OE-Core rev: 1e8959da12afbde05060c5ee0019a28fd6945ef2)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-06 12:12:58 +01:00
Alexander Kanavin
3533549e78 gdk-pixbuf: update 2.40.0 -> 2.42.6
Note: jpg/png loaders are now builtin and no longer
provided as separate packages.

Drop backport missing-test-data.patch.

Drop no longer needed 0004-Do-not-run-tests-when-building.patch

Rebase 0004-Do-not-run-tests-when-building.patch

Rework 0003-target-only-Work-around-thumbnailer-cross-compile-fa.patch
so that it can be applied to both native and target builds.

(From OE-Core rev: 9eda439c7c775fb7fa26a97d2575b491e2a4bd45)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-06 12:12:58 +01:00
Alexander Kanavin
c9af0cd128 vte: use tarballs again
(From OE-Core rev: 4f4d631dbb88dad03a3f83ea57cb7a0a17a7fdb8)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-06 12:12:58 +01:00
Richard Purdie
eff192abe2 lib/package_manager: Use shutil.copy instead of bb.utils.copyfile for intercepts
If the scripts/postinst-intercepts is owned by root/root then the copyfile() calls
will fail due to chown issues. We don't care about ownership of these files so
use shutil.copy() instead which won't perform any chown.

(From OE-Core rev: 1a03c70c282b3445b93a4c70ea6d40a1778750c5)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-06 11:16:24 +01:00
Richard Purdie
1140cca023 oeqa/qemurunner: Handle path length issues for qmp socket
After the addition of the qmp socket, runqemu started failing:

ERROR - Failed to run qemu: qemu-system-aarch64: -qmp unix:/home/yocto/actions-runner-meta-openembedded/_work/meta-openembedded/meta-openembedded/yoe/build/tmp/.3eg5fiid,server,wait:
UNIX socket path '/home/yocto/actions-runner-meta-openembedded/_work/meta-openembedded/meta-openembedded/yoe/build/tmp/.3eg5fiid' is too long
Path must be less than 108 bytes

To avoid this, run qemu within tmpdir and use a relative path to the socket.
This avoids having to patch the socket code within qemu.

Update the client code to chdir and only use a relative path to the socket
to match.

(From OE-Core rev: 5c56e72fca18dc942f5c1fd377e98d46ae0126f1)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-06 11:16:24 +01:00
Richard Purdie
e293a37935 oeqa/qemurunner: Improve logging thread exit handling for qemu shutdown test
Rather than totally disabling the logging, inform it we're about to exit
so we can log messages over the exit cleanly too. This aids debugging. It
also avoids a race where the logging handler could still error whilst
shutting down.

Also remove a race window by notificing the handler of the shutdown
first, before triggering it. This removes a race window I watched in
local testing.

(From OE-Core rev: 0e19f31a1005f94105e1cef252abfffcef2aafad)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-06 11:16:23 +01:00
Yi Fan Yu
27c77ee898 libevent: Increase ptest timing tolerance 50 ms -> 100 ms
Adjusting the tolerance to a more reasonable time
given the load on the AB and given the high amount(100) of
events some of the tests like `common_timeout` generates.

[YOCTO #14163]

(From OE-Core rev: 38b36d2b90d570149e63816e68f457aea28a5092)

Signed-off-by: Yi Fan Yu <yifan.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-06 11:16:23 +01:00
Devendra Tewari
b71375304f classes/lib/scripts: Use bb.utils.rename() instead of os.rename()
Incremental build in Docker fails with:

OSError: [Errno 18] Invalid cross-device link

when source and destination are on different overlay filesystems.

Rather than adding fallback code to every call site, use a new wrapper
in bitbake which detects this case and falls back to shutil.move
which is slower but will handtle the overlay docker filesystems correctly.

[YOCTO #14301]

(From OE-Core rev: 656a65b2b84e7d529b89cf5de7eb838f902d84a2)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-06 11:16:23 +01:00
Richard Purdie
974441aeda sanity.conf: Require bitbake 1.51.0
We're about to require bb.utils.rename() so depend on the correct
version of bitbake.

(From OE-Core rev: ed2b18ed6e76a3bc050a1c48526c114de5cb1a93)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-06 11:12:40 +01:00
Richard Purdie
49da1ed2dc bitbake: bitbake: Switch to post release version number 1.51.0
(Bitbake rev: 97a64d12f70eb02f1d35b4ffefb291b80ca8c425)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-06 11:08:08 +01:00
Richard Purdie
7bbeddeee1 bitbake: bin/bitbake-getvar: Add a new command to query a variable value (with history)
We've talked about having this for long enough. Add a command which queries a single
variable value with history. This saves "bitbake -e | grep" and avoids the
various pitfalls that has.

It also provides a neat example of using tinfoil to make such a query.

Parameters to limit the output to just the value, to limit to a variable flag
and to not expand the output are provided.

[YOCTO #10748]

(Bitbake rev: 4c1881b620e885f55d7772f8626b8a76c2828333)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-06 11:08:08 +01:00
Harald Brinkmann
e155a81ab6 bitbake: fetch/svn: Fix parsing revision of SVN repos with redirects
svn was printing a message when encountering HTTP redirects.
This confused the revision parser.

(Bitbake rev: a944a335f8f4c4fe5df55f3d7d8e757bd2835146)

Signed-off-by: Harald Brinkmann <Harald.Brinkmann@detectomat.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-06 11:08:08 +01:00
Paul Barker
81b55a050d bitbake: prserv: Handle requests in main thread
The prserver process is cleanly separated from the main bitbake process
so requests can be handled in the main thread. This removes the need for
a request queue and a separate request handling thread.

(Bitbake rev: 6b09415bed6b5e7c12aaf39b677d9ef72844e233)

Signed-off-by: Paul Barker <pbarker@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-06 11:08:07 +01:00
Paul Barker
d66a1d83f5 bitbake: prserv: Extract daemonization from PRServer class
The code to start the prservice process as a daemon is extracted out of
the PRServer class and simplified. This makes the PRServer class easier
to modernise as it no longer needs to worry about process management.

(Bitbake rev: 39c7c158c52157b18f5ccbbd673e3298e6402f52)

Signed-off-by: Paul Barker <pbarker@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-06 11:08:07 +01:00
Paul Barker
802024fd2a bitbake: prserv: Use multiprocessing to auto start prserver
We can use the modern multiprocessing support in Python instead of
manually using fork to start the prserver process. To do this we need
to set up the signal handlers for the prserver process in the
work_forever function (which is now used as the main function for this
process).

The old code to start the prserver process using fork is not removed in
this commit as it is tightly intertwined with the daemonization code
which will be refactored in a following commit.

(Bitbake rev: b3da56240c0f92efab1c0b293738c35c0f1ee6ab)

Signed-off-by: Paul Barker <pbarker@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-06 11:08:07 +01:00
Devendra Tewari
581233a798 bitbake: lib/bb: Add bb.utils.rename() helper function and use for renaming
os.rename can fail for example an incremental build in Docker fails with:

OSError: [Errno 18] Invalid cross-device link

when source and destination are on different overlay filesystems.

Rather than trying to fix every call site, add a wrapper in bb.utils
for renames. We can then handle cross device failures and
fall back to shutil.move. The reason os.rename is still used is
because shutil.move is too slow for speed sensitive sections of code.

[YOCTO #14301]

(Bitbake rev: c5c4e49574ab2a65e06298a0a77bb98b041cf56b)

Signed-off-by: Devendra Tewari <devendra.tewari@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-06 11:04:59 +01:00
Alexander Kanavin
7fbd7744ea boost: correct upstream version check
(From OE-Core rev: 4b04153a7d30f1a7a6485e2537bc3a708128bad4)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-06 08:41:26 +01:00
Michael Opdenacker
dd628adc7c sanity.bbclass: mention CONNECTIVITY_CHECK_URIS in network failure message
This expands the error message when a network failure is detected.
It happens that some ISPs or networks block the default example.com
domain. Therefore, instead of disabling network access, it
lets the user know how to modify the test URL.

(From OE-Core rev: 62c94bb925543c1e1c5af3c751913d9f06d9597d)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-06 08:41:26 +01:00
Joshua Watt
ad3879eb61 classes/image: Use xargs to set file timestamps
Instead of having find directly invoke touch for each file in the root
file system, pass a list to xargs for batching. This significantly
reduces the number of times the touch program is invoked and speeds up
the do_image task time:

    PKG           TASK      ABSDIFF  RELDIFF  CPUTIME1 -> CPUTIME2
    my-image      do_image   -45.3s   -94.2%     48.1s -> 2.8s

    Cumulative cputime:
      -44.3s    -92.3%    00:48.1 (48.1s) -> 00:03.7 (3.7s)

(From OE-Core rev: 15c65f90a3aa1e98c2beab2539403157df1fca08)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-06 08:41:26 +01:00
Alexander Kanavin
c8e1aeebd8 Revert "oeqa: Set LD_LIBRARY_PATH when executing native commands"
LD_LIBRARY_PATH leaks into host executables too, and breaks them
as they are not uninative-enabled. E.g. on ubuntu 18.04 trying
to run host bash with a sysroot that was built on Fedora 33:

akanavin@ubuntu1804-ty-3:/home/pokybuild/yocto-worker/oe-selftest-ubuntu/build/build-st-24341/tmp/work/x86_64-linux/gnupg-native/2.3.1-r0/recipe-sysroot-native$ LD_LIBRARY_PATH=./usr/lib /bin/bash
/bin/bash: ./usr/lib/libtinfo.so.5: no version information available (required by /bin/bash)
/bin/bash: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by ./usr/lib/libtinfo.so.5)

This was seen e.g. here:
https://autobuilder.yoctoproject.org/typhoon/#/builders/87/builds/2090/steps/14/logs/stdio

(From OE-Core rev: 0e9850486b74a3de934527ca1077df001d3a8d22)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-06 08:41:26 +01:00
Alexander Kanavin
5c2ccb059d diffoscope: add native libraries to LD_LIBRARY_PATH
Reversal of global setting in previous commit necessitates
a local fix, otherwise, this happens:

  File "/home/pokybuild/yocto-worker/reproducible-debian/build/build-st-52142/tmp/work/x86_64-linux/diffoscope-native/172-r0/recipe-sysroot-native/usr/lib/python3.9/ctypes/__init__.py", line 392, in __getitem__
    func = self._FuncPtr((name_or_ordinal, self))
AttributeError: nativepython3: undefined symbol: archive_errno

(From OE-Core rev: 87884d9938829d5ae5d250f483c749e00cd83322)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-06 08:41:26 +01:00
Vinay Kumar
f628b052f6 binutils: Fix CVE-2021-20197
Source: git://sourceware.org/git/binutils-gdb.git
Tracking -- https://sourceware.org/bugzilla/show_bug.cgi?id=26945

Backported upstream commit d3edaa91d4cf7202ec14342410194841e2f67f12 to
binutils-2.36 source along with commit id dependencies
(8e03235147a9e774d3ba084e93c2da1aa94d1cec and 8b69e61d4be276bb862698aaafddc3e779d23c8f).

(From OE-Core rev: 395812c345cb510471e264c6f5bb83eed61d79df)

Signed-off-by: Vinay Kumar <vinay.m.engg@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-06 08:41:26 +01:00
Robert P. J. Day
71d07cdebc bitbake.conf: sort MIRROR list, add missing SAMBA_MIRROR
As is the pattern with all lists, put the list of MIRRORs in
alphabetical order, and add an entry for SAMBA_MIRROR as it appears in
the samba recipe from the meta-networking layer.

(From OE-Core rev: 3301536f821dce86cd3683d9c50abea2d39c6c20)

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-06 08:41:26 +01:00
Anuj Mittal
e3d054cd62 qemu: fix CVE-2021-3392
(From OE-Core rev: a0257aee7d80fc67c92877e2de1e4b98ece54174)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-06 08:41:26 +01:00
Anuj Mittal
db4d9619aa Revert "qemu: fix CVE-2021-3392"
This reverts commit 5e8e08df8b.

This is an incomplete fix.

(From OE-Core rev: 2e7494cd388c5d03a95d8a54d6231e7fe7fd46ef)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-06 08:41:26 +01:00
Khem Raj
0a0c83d083 strace: Upgrade to 5.12
Changes are here [1]

[1] https://github.com/strace/strace/releases/tag/v5.12

(From OE-Core rev: 853eb9a9c4b02b7acfc72659eb20914f0f19e66b)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-06 08:41:26 +01:00
Andreas Müller
d71ed04ebf xwayland: remove protocol.txt - it clashes with xserver-xorg
* Images with wayland-compositors + xwayland + xserver fail to build
* Fedora - they introduced standalone xwayland - does same [1]

[1] https://src.fedoraproject.org/rpms/xorg-x11-server-Xwayland/blob/rawhide/f/xorg-x11-server-Xwayland.spec

(From OE-Core rev: ace7a71b09df24de7b70f52edcd425366f39d56e)

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-06 08:41:26 +01:00
Ross Burton
e3887b0690 oe-buildenv-internal: add BitBake's library to PYTHONPATH
There are many Python scripts in oe-core that want to use Tinfoil, and
right now they have to know where they are to work out where BitBake is
likely to be.

This is suboptimal as BitBake could be somewhere else, so this
approach doesn't scale to other layers at all.

Solve this by adding BITBAKEDIR/lib to PYTHONPATH in oe-buildenv-internal,
so that Python has BitBake on its search path once the build system is
configured.

(From OE-Core rev: a48178f6d00e7f97a09f42d5a164204e9dcffa9f)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-06 08:41:26 +01:00
Bastian Krause
ce39d05d51 ccache: add packageconfig docs option
Before, ccache's configure stage built HTML documentation and man pages
depending on if asciidoc is installed. This patch makes it configurable.

Pass the new cmake option BUILD_DOCS along and add the asciidoc
dependency if necessary.

This fixes an issue when ccache's configure stage found asciidoc/a2x on
the system outside of the sysroot (e.g. installed via 'apt install
asciidoc'). ccache would then decide to build docs and manual pages, but
would fail during compilation: the system's a2x could not find the
system's asciidoc because it did not reside in the set PATH.

By enabling/disabling docs/man page generation explicitly and adding
asciidoc to DEPENDS as necessary, this is no longer an issue.

(From OE-Core rev: b0aedd74f13b174861ff742eb503d8d343f9e714)

Signed-off-by: Bastian Krause <bst@pengutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-06 08:41:26 +01:00
Richard Purdie
9f951a2d49 Revert "perl: fix startperl configuration option for perl-native"
This reverts commit f2d1523b19cb066a4a06609f036822fe4a8b43f0.

We've reports of a number of failures from this, it causes pod2man to
reference full paths to perl rather than nativeperl from the environment.
I've also seen this issue locally now. Revert until we can find a solution
which works for everyone.

(From OE-Core rev: 231c99728da9d81c9430a2aa62239ce28734ef4a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-06 08:41:26 +01:00
Khem Raj
5a0679cb75 busybox: Fix reproducibility
The ensures that globbing results in same order irrespective of shell in
use

(From OE-Core rev: fdeee94fa78f91613850500b209b75a6608241d0)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-04 22:48:17 +01:00
Jose Quaresma
30f3691c3f gstreamer1.0: update ptest patch
- rework the ptest patch with a new one that are sent upstream [1].
- it uses the same approach as the existing patch in OE-Core but
  is based on the glib meson installed-tests [2] logic.

* qemux86-64 ptest-runner result
  SUMMARY: total=105; passed=105; skipped=0; failed=0; user=20.4s; system=4.7s; maxrss=9928

[1] - https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/789
[2] - 1bba3276bb

(From OE-Core rev: 44befb922e061823c636c7ccbf09cc5e7defd9e2)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-04 22:48:17 +01:00
Jose Quaresma
0728558a52 gstreamer1.0: rename patches
(From OE-Core rev: 793b6f72e5b06cbbc7a8eec6c8880d9e407b8a2e)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-04 22:48:16 +01:00
Jose Quaresma
faf1197865 ptest-runner: libgcc must be installed for pthread_cancel to work
This only affects glibc systems and have been
found on runqemu core-image-minimal with gstreamer ptest-runner

STOP: ptest-runner
libgcc_s.so.1 must be installed for pthread_cancel to work
Aborted

(From OE-Core rev: 1cb679e6a4528a2cef16f65342d5e65adb14cb16)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-04 22:48:16 +01:00
Sakib Sajal
dad4cfaca3 qemu: fix CVE-2021-20263
virtiofs: drop remapped security.capability xattr as needed

(From OE-Core rev: 7ad71de89dd60700cbaad2df1937bc3d743112da)

Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-04 22:48:16 +01:00
Sakib Sajal
9f31c9ebeb qemu: fix CVE-2020-27821
memory: clamp cached translation in case it points to an MMIO region

(From OE-Core rev: df92b3359743ed1837fa57df8035d121f5c5676b)

Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-04 22:48:16 +01:00
Bruce Ashfield
7cb612add7 linux-yocto/5.4: update to v5.4.116
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:

    370636ffbb86 Linux 5.4.116
    e23967af130b bpf: Update selftests to reflect new error states
    ef4e68f0af04 bpf: Tighten speculative pointer arithmetic mask
    4dc6e55e282f bpf: Move sanitize_val_alu out of op switch
    876d1cec9369 bpf: Refactor and streamline bounds check into helper
    4158e5fea3b1 bpf: Improve verifier error messages for users
    15de0c537bf7 bpf: Rework ptr_limit into alu_limit and add common error path
    f7fbedc90909 bpf: Ensure off_reg has no mixed signed bounds for all types
    4a163b1c7053 bpf: Move off_reg into sanitize_ptr_alu
    19bfeb47e96b Linux 5.4.115
    af7099bad495 USB: CDC-ACM: fix poison/unpoison imbalance
    d7fad2ce15bd net: hso: fix NULL-deref on disconnect regression
    699017fe0de4 x86/crash: Fix crash_setup_memmap_entries() out-of-bounds access
    b3962b4e8334 ia64: tools: remove duplicate definition of ia64_mf() on ia64
    763cbe5e1ebb ia64: fix discontig.c section mismatches
    3dce9c4bb546 csky: change a Kconfig symbol name to fix e1000 build error
    892f6bc55746 cavium/liquidio: Fix duplicate argument
    2ccca124620e xen-netback: Check for hotplug-status existence before watching
    78687d6a3213 s390/entry: save the caller of psw_idle
    026490fac496 net: geneve: check skb is large enough for IPv4/IPv6 header
    caaf9371ecad ARM: dts: Fix swapped mmc order for omap3
    be60afbb9136 HID: wacom: Assign boolean values to a bool variable
    116ee59ef886 HID: alps: fix error return code in alps_input_configured()
    a4e2b91cea52 HID: google: add don USB id
    aefb6ac6ac11 perf auxtrace: Fix potential NULL pointer dereference
    39638289595b perf/x86/kvm: Fix Broadwell Xeon stepping in isolation_ucodes[]
    319a06e58ed7 perf/x86/intel/uncore: Remove uncore extra PCI dev HSWEP_PCI_PCU_3
    82808cc02681 locking/qrwlock: Fix ordering in queued_write_lock_slowpath()
    c6eb92b37af1 arm64: dts: allwinner: Revert SD card CD GPIO for Pine64-LTS
    37ee803d7ed7 pinctrl: lewisburg: Update number of pins in community
    dbb355960ef9 gpio: omap: Save and restore sysconfig
    835c8d688e1e s390/ptrace: return -ENOSYS when invalid syscall is supplied

(From OE-Core rev: 667352cc46429f3d8eca12cf93c26be2d26e5d74)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-04 22:48:16 +01:00
Bruce Ashfield
538c918fa3 linux-yocto/5.10: update to v5.10.34
Updating linux-yocto/5.10 to the latest korg -stable release that comprises
the following commits:

    0aa66717f684 Linux 5.10.34
    47d54b990103 mei: me: add Alder Lake P device id.
    2a442f11407e iwlwifi: Fix softirq/hardirq disabling in iwl_pcie_gen2_enqueue_hcmd()
    8bd8301ccc11 Linux 5.10.33
    8a661bad6cee USB: CDC-ACM: fix poison/unpoison imbalance
    90642ee9eb58 net: hso: fix NULL-deref on disconnect regression
    31720f9e87c0 x86/crash: Fix crash_setup_memmap_entries() out-of-bounds access
    bed21bed2e79 ia64: tools: remove duplicate definition of ia64_mf() on ia64
    ba0910ad1c57 ia64: fix discontig.c section mismatches
    f4a777bcc8d1 csky: change a Kconfig symbol name to fix e1000 build error
    393200a1b095 kasan: fix hwasan build for gcc
    f2b46286e326 cavium/liquidio: Fix duplicate argument
    1bfefd866195 xen-netback: Check for hotplug-status existence before watching
    509ae27a1874 arm64: kprobes: Restore local irqflag if kprobes is cancelled
    da99331fc6ce s390/entry: save the caller of psw_idle
    d33031a894d2 dmaengine: tegra20: Fix runtime PM imbalance on error
    66d0cf7dcaa1 net: geneve: check skb is large enough for IPv4/IPv6 header
    6ce64437224d ARM: dts: Fix swapped mmc order for omap3
    db010ba54a96 dmaengine: xilinx: dpdma: Fix race condition in done IRQ
    e8d9a93ec46e dmaengine: xilinx: dpdma: Fix descriptor issuing on video group
    eb2c81ee764d soc: qcom: geni: shield geni_icc_get() for ACPI boot
    8c4bfe30eb55 HID: wacom: Assign boolean values to a bool variable
    e913cbc952c3 HID cp2112: fix support for multiple gpiochips
    f691dc86411d HID: alps: fix error return code in alps_input_configured()
    079e32723f78 HID: google: add don USB id
    ffe249b4fc2c perf map: Fix error return code in maps__clone()
    4d0cfb3713bc perf auxtrace: Fix potential NULL pointer dereference
    ab112cc573cc perf/x86/kvm: Fix Broadwell Xeon stepping in isolation_ucodes[]
    6f8315e5d951 perf/x86/intel/uncore: Remove uncore extra PCI dev HSWEP_PCI_PCU_3
    82fa9ced35d8 locking/qrwlock: Fix ordering in queued_write_lock_slowpath()
    b642e493a9a0 bpf: Tighten speculative pointer arithmetic mask
    2982ea926b5c bpf: Refactor and streamline bounds check into helper
    f3c4b01689d3 bpf: Allow variable-offset stack access
    f79efcb0075a bpf: Permits pointers on stack for helper calls
    edc5d1601389 arm64: dts: allwinner: Revert SD card CD GPIO for Pine64-LTS
    83d93d05376a pinctrl: core: Show pin numbers for the controllers with base = 0
    fc2454cc0c4b block: return -EBUSY when there are open partitions in blkdev_reread_part
    2bbd8aafde36 pinctrl: lewisburg: Update number of pins in community
    a8cd07e4400d vdpa/mlx5: Set err = -ENOMEM in case dma_map_sg_attrs fails
    bf84ef2dd2cc KEYS: trusted: Fix TPM reservation for seal/unseal
    9857fccd653c gpio: omap: Save and restore sysconfig
    71777492b745 vhost-vdpa: protect concurrent access to vhost device iotlb

(From OE-Core rev: 2cfc4489c14f8d1ec2c6fc2aa411d158058f5aea)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-04 22:48:16 +01:00
Bruce Ashfield
18c45c5bcb linux-yocto/5.4: update to v5.4.114
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:

    a7eb81c1d11a Linux 5.4.114
    3822683fd101 net: phy: marvell: fix detection of PHY on Topaz switches
    cec3b778f70f ARM: 9071/1: uprobes: Don't hook on thumb instructions
    4f0cda5e9e62 r8169: don't advertise pause in jumbo mode
    c5934da725bb r8169: tweak max read request size for newer chips also in jumbo mtu mode
    50b7a68664dc r8169: improve rtl_jumbo_config
    cbbd3e2a2e7c r8169: fix performance regression related to PCIe max read request size
    0243bb394186 r8169: simplify setting PCI_EXP_DEVCTL_NOSNOOP_EN
    c667953d6433 r8169: remove fiddling with the PCIe max read request size
    b14992c96274 arm64: dts: allwinner: Fix SD card CD GPIO for SOPine systems
    871b569a3e67 ARM: footbridge: fix PCI interrupt mapping
    9a7ac9afc8d7 gro: ensure frag0 meets IP header alignment
    fde195c03bff ibmvnic: remove duplicate napi_schedule call in open function
    c591bbaae545 ibmvnic: remove duplicate napi_schedule call in do_reset function
    c6acd7d19124 ibmvnic: avoid calling napi_disable() twice
    2bc14f5eca10 i40e: fix the panic when running bpf in xdpdrv mode
    51edda8a6334 net: ip6_tunnel: Unregister catch-all devices
    92f93a03cef0 net: sit: Unregister catch-all devices
    4fcbb1fa2703 net: davicom: Fix regulator not turned off on failed probe
    01fb1626b620 netfilter: nft_limit: avoid possible divide error in nft_limit_init
    e65cd80558e5 net: macb: fix the restore of cmp registers
    6449b405f99a netfilter: arp_tables: add pre_exit hook for table unregister
    ce23be37ecac netfilter: bridge: add pre_exit hooks for ebtable unregistration
    61ca5b653220 libnvdimm/region: Fix nvdimm_has_flush() to handle ND_REGION_ASYNC
    4ce8e86d125d netfilter: conntrack: do not print icmpv6 as unknown via /proc
    5f6c1a81713e scsi: libsas: Reset num_scatter if libata marks qc as NODATA
    7779f84e4677 riscv: Fix spelling mistake "SPARSEMEM" to "SPARSMEM"
    ec3bb712fb62 vfio/pci: Add missing range check in vfio_pci_mmap
    9e8c5e3d8279 arm64: alternatives: Move length validation in alternative_{insn, endif}
    b7d15166c1d1 arm64: fix inline asm in load_unaligned_zeropad()
    b9956950f23c readdir: make sure to verify directory entry for legacy interfaces too
    ff821c7ce913 dm verity fec: fix misaligned RS roots IO
    804607635cc1 HID: wacom: set EV_KEY and EV_ABS only for non-HID_GENERIC type of devices
    b428063fb310 Input: i8042 - fix Pegatron C15B ID entry
    995503dd6546 Input: s6sy761 - fix coordinate read bit shift
    7a2ac9ed8cf6 virt_wifi: Return micros for BSS TSF values
    bd7e90c82850 mac80211: clear sta->fast_rx when STA removed from 4-addr VLAN
    f666567a51fb pcnet32: Use pci_resource_len to validate PCI resource
    9e249bc38a48 net: ieee802154: forbid monitor for add llsec seclevel
    7a7899eaaeb8 net: ieee802154: stop dump llsec seclevels for monitors
    fc5f9c33edb5 net: ieee802154: forbid monitor for del llsec devkey
    63581374638b net: ieee802154: forbid monitor for add llsec devkey
    0d5ee2ee9ab2 net: ieee802154: stop dump llsec devkeys for monitors
    6c8caf78304f net: ieee802154: forbid monitor for del llsec dev
    c993c05b9d48 net: ieee802154: forbid monitor for add llsec dev
    f9d7088d385c net: ieee802154: stop dump llsec devs for monitors
    178ddee28d53 net: ieee802154: forbid monitor for del llsec key
    5d025404d513 net: ieee802154: forbid monitor for add llsec key
    d8b4f3a9d732 net: ieee802154: stop dump llsec keys for monitors
    e16998019358 scsi: scsi_transport_srp: Don't block target in SRP_PORT_LOST state
    f0268d35305d ASoC: fsl_esai: Fix TDM slot setup for I2S mode
    d60837aa64be drm/msm: Fix a5xx/a6xx timestamps
    01e86da75c18 ARM: omap1: fix building with clang IAS
    4f02dc4d360f ARM: keystone: fix integer overflow warning
    f3183866b3da neighbour: Disregard DEAD dst in neigh_update
    1cf8b48a4de2 ASoC: max98373: Added 30ms turn on/off time delay
    47d04c039915 arc: kernel: Return -EFAULT if copy_to_user() fails
    68bd0d8ab19e lockdep: Add a missing initialization hint to the "INFO: Trying to register non-static key" message
    6ffc9f854d23 ARM: dts: Fix moving mmc devices with aliases for omap4 & 5
    4609d27ca6e4 ARM: dts: Drop duplicate sha2md5_fck to fix clk_disable race
    09db44ad36b0 dmaengine: dw: Make it dependent to HAS_IOMEM
    5130cda3cb1f gpio: sysfs: Obey valid_mask
    2dce5702ef05 Input: nspire-keypad - enable interrupts only when opened
    6180d2274b17 net/sctp: fix race condition in sctp_destroy_sock
    304c21786b01 scsi: qla2xxx: Fix fabric scan hang
    ca0188d396cd scsi: qla2xxx: Fix stuck login session using prli_pend_timer
    c393c7f77cf8 scsi: qla2xxx: Add a shadow variable to hold disc_state history of fcport
    ad66dc6d8830 scsi: qla2xxx: Retry PLOGI on FC-NVMe PRLI failure
    8b5e82aea7b3 scsi: qla2xxx: Fix device connect issues in P2P configuration
    8eed34d3c444 scsi: qla2xxx: Dual FCP-NVMe target port support
    33beb0e6c244 Revert "scsi: qla2xxx: Fix stuck login session using prli_pend_timer"
    94ac0a8866c4 Revert "scsi: qla2xxx: Retry PLOGI on FC-NVMe PRLI failure"
    ab3bed80f9d3 Linux 5.4.113
    94371b6c5553 xen/events: fix setting irq affinity
    4ea6097986c4 perf map: Tighten snprintf() string precision to pass gcc check on some 32-bit arches
    d462247bb274 perf tools: Use %zd for size_t printf formats on 32-bit
    2715a4c0dc34 perf tools: Use %define api.pure full instead of %pure-parser
    799f02f0dfc4 driver core: Fix locking bug in deferred_probe_timeout_work_func()
    cc59b872f2e1 netfilter: x_tables: fix compat match/target pad out-of-bound write
    8119a2b42028 block: don't ignore REQ_NOWAIT for direct IO
    2d71bffbe9a0 riscv,entry: fix misaligned base for excp_vect_table
    90b71ae8e5cf idr test suite: Create anchor before launching throbber
    b9299c2bf554 idr test suite: Take RCU read lock in idr_find_test_1
    cde89079ce46 radix tree test suite: Register the main thread with the RCU library
    f5b60f26e36b block: only update parent bi_status when bio fail
    5b8f89685a9a drm/tegra: dc: Don't set PLL clock to 0Hz
    db162d8d7d08 gfs2: report "already frozen/thawed" errors
    3c89c7240412 drm/imx: imx-ldb: fix out of bounds array access warning
    e1ff1c6bbe4b KVM: arm64: Disable guest access to trace filter controls
    2012f9f75444 KVM: arm64: Hide system instruction access to Trace registers
    cc678e2f372e interconnect: core: fix error return code of icc_link_destroy()

(From OE-Core rev: a24b8651365b333e903b317ad969ba8adfed28c4)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-04 22:48:16 +01:00
Bruce Ashfield
327eb77b0e perf: fix python-audit RDEPENDS
When doing the perf python3 conversion, the audit-python RDEPENDS
was caught up in the regex replacement and was incorrectly changed.

The audit recipe continues to produce a package called audit-python
and it is that package we should have as a RDEPENDS.

(From OE-Core rev: 7eccb9c0c2ea00685451c44cb8faa96c4a2272fd)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-04 22:48:16 +01:00
Bruce Ashfield
afca35c665 linux-yocto/5.10: update to v5.10.32
Updating linux-yocto/5.10 to the latest korg -stable release that comprises
the following commits:

    aea70bd5a455 Linux 5.10.32
    6ac98ee9cb7c net: phy: marvell: fix detection of PHY on Topaz switches
    fbe6603e7cab bpf: Move sanitize_val_alu out of op switch
    7723d3243857 bpf: Improve verifier error messages for users
    55565c307908 bpf: Rework ptr_limit into alu_limit and add common error path
    496e2fabbbe3 arm64: mte: Ensure TIF_MTE_ASYNC_FAULT is set atomically
    cada2ed0bb70 ARM: 9071/1: uprobes: Don't hook on thumb instructions
    480d875f1242 bpf: Move off_reg into sanitize_ptr_alu
    589fd9684dfa bpf: Ensure off_reg has no mixed signed bounds for all types
    b2df20c0f19f r8169: don't advertise pause in jumbo mode
    154fb9cb3e6f r8169: tweak max read request size for newer chips also in jumbo mtu mode
    7f64753835a7 KVM: VMX: Don't use vcpu->run->internal.ndata as an array index
    c670ff84fac9 KVM: VMX: Convert vcpu_vmx.exit_reason to a union
    4f3ff11204ea bpf: Use correct permission flag for mixed signed bounds arithmetic
    8d7906c548aa arm64: dts: allwinner: h6: beelink-gs1: Remove ext. 32 kHz osc reference
    286c39d08664 arm64: dts: allwinner: Fix SD card CD GPIO for SOPine systems
    4f90db2e92d2 ARM: OMAP2+: Fix uninitialized sr_inst
    1fc087fdb98d ARM: footbridge: fix PCI interrupt mapping
    11a718ef953f ARM: 9069/1: NOMMU: Fix conversion for_each_membock() to for_each_mem_range()
    a13d4a1228ab ARM: OMAP2+: Fix warning for omap_init_time_of()
    9143158a6bd3 gro: ensure frag0 meets IP header alignment
    fd766f792a56 ch_ktls: do not send snd_una update to TCB in middle
    65bdd564b387 ch_ktls: tcb close causes tls connection failure
    5f3c278035c0 ch_ktls: fix device connection close
    8d5a9dbd2116 ch_ktls: Fix kernel panic
    976da1b08784 ibmvnic: remove duplicate napi_schedule call in open function
    008885a880dc ibmvnic: remove duplicate napi_schedule call in do_reset function
    685bc730e3a9 ibmvnic: avoid calling napi_disable() twice
    e154b5060aa1 ia64: tools: remove inclusion of ia64-specific version of errno.h header
    f8f01fc8c653 ia64: remove duplicate entries in generic_defconfig
    1aec111c944f ethtool: pause: make sure we init driver stats
    44ef38c0a2b3 i40e: fix the panic when running bpf in xdpdrv mode
    35d7491e2f77 net: Make tcp_allowed_congestion_control readonly in non-init netns
    76af8126a6e4 mm: ptdump: fix build failure
    33f3dab42ae2 net: ip6_tunnel: Unregister catch-all devices
    ea0340e632ba net: sit: Unregister catch-all devices
    154ac84d497a net: davicom: Fix regulator not turned off on failed probe
    e072247938a8 net/mlx5e: Fix setting of RS FEC mode
    dc1732baa9da netfilter: nft_limit: avoid possible divide error in nft_limit_init
    cda5507d234f net/mlx5e: fix ingress_ifindex check in mlx5e_flower_parse_meta
    40ed1d29f151 net: macb: fix the restore of cmp registers
    7f8e59c4c5e5 libbpf: Fix potential NULL pointer dereference
    7824d5a9935a netfilter: arp_tables: add pre_exit hook for table unregister
    4d26865974fb netfilter: bridge: add pre_exit hooks for ebtable unregistration
    eb82199e377a libnvdimm/region: Fix nvdimm_has_flush() to handle ND_REGION_ASYNC
    a2af8a0f38e4 ice: Fix potential infinite loop when using u8 loop counter
    783645e65b57 netfilter: conntrack: do not print icmpv6 as unknown via /proc
    394c81e36e49 netfilter: flowtable: fix NAT IPv6 offload mangling
    be07581aacae ixgbe: fix unbalanced device enable/disable in suspend/resume
    0ef9919a06a3 scsi: libsas: Reset num_scatter if libata marks qc as NODATA
    6a70ab9769cd riscv: Fix spelling mistake "SPARSEMEM" to "SPARSMEM"
    f66d695c06f4 vfio/pci: Add missing range check in vfio_pci_mmap
    e6177990e17d arm64: alternatives: Move length validation in alternative_{insn, endif}
    e2931f05eb32 arm64: fix inline asm in load_unaligned_zeropad()
    957f83a138f1 readdir: make sure to verify directory entry for legacy interfaces too
    2b8308741cf5 dm verity fec: fix misaligned RS roots IO
    18ba387261ea HID: wacom: set EV_KEY and EV_ABS only for non-HID_GENERIC type of devices
    dedf75aec8fc Input: i8042 - fix Pegatron C15B ID entry
    8b978750dcd2 Input: s6sy761 - fix coordinate read bit shift
    955da2b5cd98 lib: fix kconfig dependency on ARCH_WANT_FRAME_POINTERS
    024f9d048000 virt_wifi: Return micros for BSS TSF values
    cc413b375c6d mac80211: clear sta->fast_rx when STA removed from 4-addr VLAN
    2e08d9a56838 pcnet32: Use pci_resource_len to validate PCI resource
    248b9b61b951 net: ieee802154: forbid monitor for add llsec seclevel
    b97c7bc42d8d net: ieee802154: stop dump llsec seclevels for monitors
    ab9f9a1d5874 net: ieee802154: forbid monitor for del llsec devkey
    4846c2debb2c net: ieee802154: forbid monitor for add llsec devkey
    07714229e0e2 net: ieee802154: stop dump llsec devkeys for monitors
    4c1775d6ea86 net: ieee802154: forbid monitor for del llsec dev
    813b13155d14 net: ieee802154: forbid monitor for add llsec dev
    2f80452951b5 net: ieee802154: stop dump llsec devs for monitors
    08744a622faa net: ieee802154: forbid monitor for del llsec key
    7edf4d2baa8a net: ieee802154: forbid monitor for add llsec key
    c09075df5e4d net: ieee802154: stop dump llsec keys for monitors
    8b9485b651d4 iwlwifi: add support for Qu with AX201 device
    c836374bacfa scsi: scsi_transport_srp: Don't block target in SRP_PORT_LOST state
    d9fc084067f5 ASoC: fsl_esai: Fix TDM slot setup for I2S mode
    79ef0e6c0cf8 drm/msm: Fix a5xx/a6xx timestamps
    d61238aa6482 ARM: omap1: fix building with clang IAS
    505c48942f04 ARM: keystone: fix integer overflow warning
    0d0ad98bee39 neighbour: Disregard DEAD dst in neigh_update
    7a1cd9044da4 gpu/xen: Fix a use after free in xen_drm_drv_init
    bfb5a1523f17 ASoC: max98373: Added 30ms turn on/off time delay
    58d59d9ae56f ASoC: max98373: Changed amp shutdown register as volatile
    b2f8476193eb xfrm: BEET mode doesn't support fragments for inner packets
    806addaf8dfd iwlwifi: Fix softirq/hardirq disabling in iwl_pcie_enqueue_hcmd()
    b448a6a2fc5a arc: kernel: Return -EFAULT if copy_to_user() fails
    f12e8cf6b180 lockdep: Add a missing initialization hint to the "INFO: Trying to register non-static key" message
    a55de4f0d1d4 ARM: dts: Fix moving mmc devices with aliases for omap4 & 5
    9f399a9d7006 ARM: dts: Drop duplicate sha2md5_fck to fix clk_disable race
    f338b8fffd75 ACPI: x86: Call acpi_boot_table_init() after acpi_table_upgrade()
    e5eb9757fe4c dmaengine: idxd: fix wq cleanup of WQCFG registers
    4c59c5c8668e dmaengine: plx_dma: add a missing put_device() on error path
    ac030f5c5680 dmaengine: Fix a double free in dma_async_device_register
    56f9c04893fb dmaengine: dw: Make it dependent to HAS_IOMEM
    4ecf25595273 dmaengine: idxd: fix wq size store permission state
    db23b7b5ca3e dmaengine: idxd: fix opcap sysfs attribute output
    0e3f14755111 dmaengine: idxd: fix delta_rec and crc size field for completion record
    a5ad12d5d69c dmaengine: idxd: Fix clobbering of SWERR overflow bit on writeback
    f567fde02baa gpio: sysfs: Obey valid_mask
    dfed481e62e5 Input: nspire-keypad - enable interrupts only when opened
    b80ea54e1e71 mtd: rawnand: mtk: Fix WAITRDY break condition and timeout
    5a627026be4a net/sctp: fix race condition in sctp_destroy_sock
    65f1995ea1e9 Linux 5.10.31
    ceee49ca34bf xen/events: fix setting irq affinity
    9d9facd32d89 net: sfp: cope with SFPs that set both LOS normal and LOS inverted
    2a60ab2dab3d net: sfp: relax bitrate-derived mode check
    cd8ce27e6caa perf map: Tighten snprintf() string precision to pass gcc check on some 32-bit arches
    1f3b9000cb44 netfilter: x_tables: fix compat match/target pad out-of-bound write
    5402a67ac403 block: don't ignore REQ_NOWAIT for direct IO
    efa7b6e4017a riscv,entry: fix misaligned base for excp_vect_table
    6fbdce3cde97 io_uring: don't mark S_ISBLK async work as unbounded
    5d4600017bee null_blk: fix command timeout completion handling
    b1f6c6f39bd6 idr test suite: Create anchor before launching throbber
    9a7552daa93b idr test suite: Take RCU read lock in idr_find_test_1
    edd822b69241 radix tree test suite: Register the main thread with the RCU library
    1d2310d95fb8 block: only update parent bi_status when bio fail
    d99e22c0ea74 XArray: Fix splitting to non-zero orders
    9576dd89554e gpu: host1x: Use different lock classes for each client
    39af2f472f21 drm/tegra: dc: Don't set PLL clock to 0Hz
    e4a0956574c7 tools/kvm_stat: Add restart delay
    1dcb3ebc2416 ftrace: Check if pages were allocated before calling free_pages()
    6c6d58322079 gfs2: report "already frozen/thawed" errors
    870c8df1d192 drm/imx: imx-ldb: fix out of bounds array access warning
    5b50468a2d4d KVM: arm64: Disable guest access to trace filter controls
    fa0c0dce589d KVM: arm64: Hide system instruction access to Trace registers
    57fb08fb9a25 gfs2: Flag a withdraw if init_threads() fails
    9b57ecb01b43 interconnect: core: fix error return code of icc_link_destroy()

(From OE-Core rev: 91fcd094619e25d63a80231c3b776788504ce37b)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-04 22:48:16 +01:00
Bruce Ashfield
551ae27ea0 linux-yocto/5.10: qemuriscv32.cfg: RV32 only supports 1G physical memory
Integrating the following commit(s) to linux-yocto/5.10:

    a19886b00ea qemuriscv32.cfg: RV32 only supports 1G physical memory

(From OE-Core rev: 894f5328d395872f69bd48c59518bbafb7cbd61e)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-04 22:48:16 +01:00
Bruce Ashfield
fc7a4c3be9 linux-yocto/5.10: aufs fixes
It was reported that aufs was behaving incorrectly on arm/x86. Although
we don't have an exact fix for the issues, the Wind River guys were able
to come up with a minimal patch set to fix just the core issue, versus
a full aufs uprev.

We didn't have time to get this in before the release, but picking it up
in a dot release is sufficient. (given that it took several months for
the issue to be noticed).

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

    a8808e541750 aufs: linux-v5.10-rc1, no more f_op->read() and ->write()
    cb1c41dac775 for aufs: linux-v5.10-rc1, no more vfs_(read|write)f_t
    a5805df6583f aufs: linux-v5.10-rc1, no more set_fs()
    64e145dcca8c Revert "aufs: initial port to v5.10"

(From OE-Core rev: c290adec4e27f5d7987193e9a0749082f3ed3e20)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-04 22:48:16 +01:00
Stefano Babic
148ada9b35 libubootenv: upgrade 0.3.1 -> 0.3.2
This is a bugfix release which includes the following changes:

f4ab25d shared library: Link against zlib
e663439 Always fsync file writes
80b7f31 Treat '=' as an illegal character in variable names
950f541 libuboot_env: fix calculation of usable envsize
fb88032 Correct initialisations in libuboot_configure
20d1ec7 Force writing of environment if default is used
5ca11bd libuboot_env: correct length to usable env size length
cd4a8f1 libuboot_env_store: fix env double-null termination
9510164 uboot_env: fix infinite loop on short read (EOF)

(From OE-Core rev: ed270bd146139a85935544bc0c6f35c3ecc27313)

Signed-off-by: Stefano Babic <sbabic@denx.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-04 22:48:16 +01:00
Richard Purdie
fc277ba011 yocto-uninative: Update to 3.1 which includes a patchelf fix
(From OE-Core rev: 1d9d38eb6b3621fed58a217eeb4de1816e3e6487)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-03 15:38:47 +01:00
Khem Raj
b621ead6d5 gcc: Upgrade to GCC 11
Drop already upstream/backported patches

(From OE-Core rev: e64bf999a92aed3c6be38eae9e75ec9277638b95)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-03 15:23:48 +01:00
Khem Raj
4a72c681fa libgcc-initial: Do not build fp128 to decimal ppc functions
These functions depend on glibc headers e.g.
stdlib.h/fenv.h/string.h/stdio.h which do not exist when building
lbgcc-initial, and these functions are not needed during glibc build
so we are fine to disable them

introdcued with [1]
[1] https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=781183595acba67a37c66f59a0c1d9b5fee7e248

(From OE-Core rev: 7883b4c1384fe30066072f39e9a930be537bc3b4)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-03 15:23:47 +01:00
Khem Raj
7d3e35204f webkitgtk: Update patch status
These patches are accepted in webkit master ( 2.34+ )

(From OE-Core rev: 1e5b73f068cfe709bf7188ed3fff46a391b89897)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-03 15:23:47 +01:00
Khem Raj
7c84c70161 webkitgtk: Fix reproducibility in minibrowser
(From OE-Core rev: 8f08ca440b6c2ad3494808ffa4ec6091722c0339)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-03 15:23:47 +01:00
Khem Raj
68dd1a5400 busybox: Enable long options for enabled applets
certain applets are enabled but the long options are not enabled for
them, it results in subtle failures in ptests where its expecting these
options e.g. gzip --best is commonly used in many package tests e.g.

root@qemux86-64:/usr/lib# grep -r "\-\-best" *
acl/ptest/Makefile:GZIP_ENV = --best
attr/ptest/Makefile:GZIP_ENV = --best
coreutils/ptest/Makefile:GZIP_ENV = --best
ethtool/ptest/Makefile:GZIP_ENV = --best
libxml2/ptest/Makefile:GZIP_ENV = --best
lttng-tools/ptest/Makefile:GZIP_ENV = --best
opkg/ptest/Makefile:GZIP_ENV = --best
perl/ptest/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MakeMaker.pm:    COMPRESS     ('gzip --best')
python3.9/test/test_gzip.py:        for compress_level in ('--fast', '--best'):
...

this ensures that these options are enabled by default, which makes them more
compatible than now with coreutils provided utilities

busybox size grows by 4K which perhaps is acceptable

--rwxr-xr-x root       root           817704 ./bin/busybox.nosuid
+-rwxr-xr-x root       root           821800 ./bin/busybox.nosuid

This makes autopoint-3/gettext pass

This patch add all the long options to this fragment. The long options
for a tool will only get enabled if the corresponding tool/feature is
enabled in main defconfig, otherwise it will be ignored in final .config

(From OE-Core rev: 6a6c64426f544fcd376f2eabdb5aecc0ab04e541)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-03 15:23:47 +01:00
Khem Raj
dee41e92f0 cml1.bbclass: Return sorted list of cfg files
Since these files are passed to merge_config.sh its better to use a
sorted list, so we can be sure that this list is always fed in same
order irrespective of python versions on host

(From OE-Core rev: 3d949f286c29bcaaf4dfc0aaffd15f129d1bab2d)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-03 15:23:47 +01:00
Robert P. J. Day
68e84ae936 sdk-manual: fix broken formatting of sample command
And add proper quoting around the first instance
of the "image" word, as it refers to a keyword in the
subsequent command.

(From yocto-docs rev: 1ffaa1db5a6eba53558b714f6071ea2e9bfe03e6)

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-03 13:37:48 +01:00
Michael Opdenacker
c075e28aa0 dev-manual: update references to Docker installation instructions
Update Docker installation URL on various plaforms, replacing
some URLs by the ones they now redirect to, renaming "Docker CE"
to "Docker Desktop" on Mac and Windows, and to "Docker Engine"
on GNU/Linux.

Stop mentioning "Docker Toolbox" which is now deprecated and
replaced by "Docker Desktop" on Mac and Windows.

(From yocto-docs rev: 8eb249aed50b7b5b2078648c9efd9c79262ae57f)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-03 13:37:48 +01:00
Robert P. J. Day
73d317c393 sdk-manual: "beablebone" -> "beaglebone"
(From yocto-docs rev: 29d8b6f07dddba43cf14706ec26cc8cf033d1040)

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-03 13:37:48 +01:00
Alexander Kanavin
e1ebdcff7c dev-manual/common-tasks.rst: correct the documentation for debuginfod
Particularly,
- correctly describe the use of DEBUGINFOD_URLS; drop it from bitbake variables
- all necessary component tweaks are enabled by default via DISTRO_FEATURES
- provide on-target examples of what to look for when things work properly

(From yocto-docs rev: 6d5d568d427b22675b999f94ead829ab1bef0b21)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Reviewed-by: Quentin Schulz <foss@0leil.net>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-03 13:37:48 +01:00
zhengruoqin
f353ba0ec2 wireless-regdb: upgrade 2020.11.20 -> 2021.04.21
(From OE-Core rev: df540a630f87c02898f7ce5703f63e9c7bd2c156)

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-02 23:21:42 +01:00
zhengruoqin
f03a094f3e python3-numpy: upgrade 1.20.1 -> 1.20.2
(From OE-Core rev: dc98345d7b6c5d4342415723d0b578c0268c646e)

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-02 23:21:42 +01:00
zhengruoqin
eb31bf7ea3 libmicrohttpd: upgrade 0.9.72 -> 0.9.73
(From OE-Core rev: 079d56b24b4e1a577b58516c00000184542f2dfe)

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-02 23:21:42 +01:00
Christophe Chapuis
2d96636ebc rootfs.py: find .ko.gz and .ko.xz kernel modules as well
* with xz PACKAGECONFIG enabled in kmod and xz module compression enabled in kernel
  the do_rootfs task doesn't run depmod in the image, because it thinks there are no modules:
  NOTE: No Kernel Modules found, not running depmod

(From OE-Core rev: 9c13ce05eae0f126eb150e48709e9bd06e9280fa)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Christophe Chapuis <chris.chapuis@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-02 23:21:42 +01:00
Stefan Ghinea
cd618cc017 xserver-xorg: fix CVE-2021-3472
Insufficient checks on the lengths of the XInput extension
ChangeFeedbackControl request can lead to out of bounds memory accesses
in the X server.

References:
https://nvd.nist.gov/vuln/detail/CVE-2021-3472

Upstream patches:
7aaf54a188

(From OE-Core rev: 6fec5fea942ce88e33e5cf4c2102d69ce25e7180)

Signed-off-by: Stefan Ghinea <stefan.ghinea@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-02 23:21:42 +01:00
Zqiang
c52b46825f rt-tests: Update rt-tests
When run cyclictest, the parameter enable NUMA. but in some BSP
which not support NUMA, will causes the test program to exit
directly and does not carry out subsequent operations, the
latest changes have fixed this problem. so update to the
latest branch to resolve.

(From OE-Core rev: a8a9b0d9155ee9f233e46021eae896552428c51a)

Signed-off-by: Zqiang <qiang.zhang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-02 23:21:42 +01:00
Khem Raj
7cd4258049 libpam: Provide needed env for tst-pam_start_confdir ptest
tst-pam_start_confdir needs a file called confdir and it should reside
in directory pointed by srcdir env variable, therefore copy confdir into
ptest package and export srcdir before running the ptests

(From OE-Core rev: 149d84b7eba8240737a301d0fd75b69e8a767854)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-02 23:21:42 +01:00
Khem Raj
0a5079681e bash: Include files needed for run-heredoc ptest
These files are used by this ptest case

103,108d102
< cat: ../y.tab.c: No such file or directory
< cmp: ../y.tab.c: No such file or directory
< cat: /usr/lib/bash/ptest/config.h: No such file or directory
< cmp: /usr/lib/bash/ptest/config.h: No such file or directory
< cat: /usr/lib/bash/ptest/version.h: No such file or directory
< cmp: /usr/lib/bash/ptest/version.h: No such file or directory
FAIL: run-heredoc

(From OE-Core rev: 0672a3dae14462e590959e966fef22b6e2a2ad09)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-02 23:21:42 +01:00
Richard Purdie
86a66606fe pybootchart/draw: Avoid divide by zero error
When disk stats don't run frequenctly enough, we see divide by zero
errors. The code already has a fallback path so ensure we use it
for this case too.

[YOCTO #14360]

(From OE-Core rev: b71d30aef5dc2c360432c0dd4147859dd303ea48)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-02 23:21:42 +01:00
Khem Raj
b80e6aeffe findutils: Do not use SIGSTKSZ
(From OE-Core rev: d2962c51e5588166b0618cd37364df32f040f671)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-02 23:21:42 +01:00
Khem Raj
984ffe3ab4 valgrind: Disable leak_cpp_interior test
This test is known to fail and especially is prominent with GCC-11
where stdc++17 is enabled by default

(From OE-Core rev: 7f549d7c1f0a3f3cf312ebe00ce8cfc0e787bf15)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-02 23:21:42 +01:00
Khem Raj
3ca350ebe7 bluez: Fix shadowing of pause function from libc
(From OE-Core rev: d5e0d319fc714a5af59ebec0b3a89851c04a6c4f)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-02 23:21:42 +01:00
Khem Raj
e4f7cdf988 m4: Do not use SIGSTKSZ
Fixes
../../m4-1.4.18/lib/c-stack.c:55:26: error: missing binary operator before token "("
   55 | #elif HAVE_LIBSIGSEGV && SIGSTKSZ < 16384
      |                          ^~~~~~~~

(From OE-Core rev: 44ca8edd622782733d507e20a3d5ee9e44eb8be4)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-02 23:21:42 +01:00
Khem Raj
d713988268 pkgconfig: Fix nativesdk builds for mingw sdk hosts
pkgconfig uses a vendored version of ancient glib-2.0, which does not
have many of fixes that current glib-2.0 will have, we enable this
internal version for nativesdk/native recipe, which on mingw hosts does
not work well, as its missing necessary mingw support. This patch
backports couple of fixes which makes GCC11 happy

but its going to be a constant source of pain as long as we support mingw

(From OE-Core rev: 348b1ebb917cdd65e6678078e23a3f9fa079badc)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Joshua Watt <jpewhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-02 23:21:42 +01:00
Richard Purdie
c19e2c23be patchelf: Fix alignment patch
The previous fix was in the right direction but needed to account
for the section alignment of the current section. Tweak the patch
to handle this.

(From OE-Core rev: e464efc07a8997c43998a9c6a9544be11ab4f303)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-02 23:20:12 +01:00
Richard Purdie
93aaa5e994 bitbake: runqueue: Handle deferred task rehashing in multiconfig builds
If the hash of a task changes and that hash is a deferred task (e.g. a multiconfig
build), we need to ensure that the hash change propagates through to all the tasks
else the build will run multiple copies of the task, sometimes with oddly differing
results as the outhashes of native tasks built in differing locations can confuse
things.

(Bitbake rev: 2db571324f755edc4981deecbcfdf0aaa5a97627)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-01 22:51:06 +01:00
Richard Purdie
76891afd76 bitbake: runqueue: Fix multiconfig deferred task sstate validity caching issue
We were testing the validity of deferred tasks setscene status "up front" which
is very unlikely to succeed and leads to cache invalidation issues. With the
change to rebuild the deferred task list, this status becomes out of sync. The
result was tasks being executed when they should not have been leading to extra
work for the build unnecessarily.

Instead, don't process validity status for deferred tasks and assume their
data will become available. If it doesn't, this will now result in a build
error as the setscene task will fail and the main task will run instead.

In theory we could try and track the state changes in the deferred list and
re-test validity then but I'm not sure it is worth the effort when the other
code path and errors in setscene tasks will give a pretty good idea of what
is happening anyway.

(Bitbake rev: edcafac13b3b241b6687419e59018d21811507a1)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-01 22:51:06 +01:00
Joshua Watt
f3e1a668fb bitbake: knotty: Re-enable command line logging levels
The "-l" command line options to enable specific logging domains wasn't
working with the switch to structured logging because they were only
being used to set the legacy logging domains. Fix this by implementing
the logic to parse the user options into the logging configuration.

(Bitbake rev: 005fc7a8c588d0b0bca382469645cbf481ad8e30)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-01 22:51:06 +01:00
Przemyslaw Gorszkowski
6da327c788 bitbake: fetch/s3: Add progress handler for S3 cp command
Adds progress support for fetchers from S3.

(Bitbake rev: 90d31b2d5a81e5f41fe95907c78fd2f5f36e39ee)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-01 22:51:06 +01:00
Przemyslaw Gorszkowski
a854068b52 bitbake: progress: LineFilterProgressHandler - Handle parsing line which ends with CR only
S3 commands need to handle different CR only line endings, update the handler
to cope with this.

(Bitbake rev: 3f7b9c1b429a4c68240e80832a8ef93ee210e5ff)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-01 22:51:06 +01:00
Minjae Kim
5e8e08df8b qemu: fix CVE-2021-3392
scsi: use-after-free in mptsas_process_scsi_io_request() of mptsas1068 emulator
(From OE-Core rev: 97ec10a1d7111dafde8609176ffa9e13cc1b8f1f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-01 22:48:17 +01:00
wangmy
a6ccd73562 libjitterentropy: upgrade 3.0.1 -> 3.0.2
(From OE-Core rev: 4c8a675e436e8e6b08baa5b4709244c04cc8f6f1)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-01 22:48:17 +01:00
wangmy
67dfa8b02a libhandy: upgrade 1.2.1 -> 1.2.2
(From OE-Core rev: 9f36a62fc6ff59885b41d932a838ec9145a46dc6)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-01 22:48:17 +01:00
wangmy
00e4a35b82 hdparm: upgrade 9.60 -> 9.61
(From OE-Core rev: e6c73cfb01299b5a98fb18063a04baacb59346fc)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-01 22:48:17 +01:00
wangmy
db195e73bc glslang: upgrade 11.2.0 -> 11.4.0
(From OE-Core rev: 857f413e1db69e42262e230b4aff110a00a20429)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-01 22:48:17 +01:00
wangmy
4a68753196 glib-networking: upgrade 2.66.0 -> 2.68.1
(From OE-Core rev: 12a9bb0feed96a0f3e0795106c6d95755ccb42b0)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-01 22:48:17 +01:00
wangmy
4dfba049f4 gdb: upgrade 10.1 -> 10.2
(From OE-Core rev: 7505165ac90ba34a465eb707c7e6c8ccbeae024d)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-01 22:48:17 +01:00
Paul Barker
f7f459bf65 prservice: Use new connect API
The new prserv connect() function decouples the code in oe-core from the
exact classes and implementation details used within bitbake. This
allows us to more easily switch over to a new asyncrpc based prservice.

(From OE-Core rev: 6bf39c5c8cf09e3f2ce6eba13b9d18193bce9655)

Signed-off-by: Paul Barker <pbarker@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-01 22:48:17 +01:00
Khem Raj
fc5b3c78e5 reproducible_build.bbclass: Enable -Wdate-time
This will help identifying packages using __TIME__, __DATE__ and
__TIMESTAMP__ macros in code, its a warning from the compiler and the
packages which use -Werror will break the build with this and where they
don't we will atleast have a warning in the build logs

(From OE-Core rev: 20335cd89001f5fb159f5f1b0c3bd5e40b8b2fb5)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-01 22:48:17 +01:00
Khem Raj
eb6154c46e gcc-runtime: Fix __FILE__ related reproducablity issues
libstdc++ uses assertion macros which use __FILE__ macros and

  if (__builtin_expect(!bool(_Condition), false))                      \
    std::__replacement_assert(__FILE__, __LINE__, __PRETTY_FUNCTION__, \
                              #_Condition)

This ends up using absolute paths into build tree for the cases where
the charconv header is used, therefore replace the file prefix paths
with on-target paths to make them build dir independent

(From OE-Core rev: 972c50d6e46ee9dfba8b8ea3867ebdbf24001e6e)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-01 22:48:17 +01:00
Khem Raj
3b33c0870e ltp: Filter out -ffile-prefix-map
ffile-prefix-map is also needed for reproduble builds and when
introduced can be handled

(From OE-Core rev: 1f8132450b0192ad0c9f35f8b5dbac186c240e29)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-01 22:48:17 +01:00
Khem Raj
bc0a58343b openssl: Filter out -ffile-prefix-map as well
(From OE-Core rev: 1829fa0bda9a9388c3134866c471f26ec5658c36)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-01 22:48:17 +01:00
Khem Raj
08989d4f56 libid3tag: Filter -ffile-prefix-map too
helps when compiler has -ffile-prefix-map flag which helps
reproducibility as well

(From OE-Core rev: c3799bfdcc37ef139061aef22d125873607b0965)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-01 22:48:17 +01:00
Khem Raj
be3912baf9 libjpeg-turbo: Use --reproducible option for nasm
This ensures that nasm version and timestamps do but appear in build
outputs

(From OE-Core rev: 2f69c00c4bc1de6cd518fd78f67ff3ca863392f3)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-01 22:48:17 +01:00
Petr Vorel
efbef1daa3 ltp: Replace musl patches with do_patch[postfuncs]
MUSL related build fixes are not going to be upstreamed.  They just not
compile broken files, thus replace them with upstream solution for CI:
just deleting files for musl (easier to maintain).

(From OE-Core rev: c781677fd5f4e15bde17114468d9f66ba5dc38a2)

Signed-off-by: Petr Vorel <petr.vorel@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-01 22:48:17 +01:00
wangmy
3f657a908e mesa: upgrade 21.0.2 -> 21.0.3
(From OE-Core rev: a89ed8ce30a5830a0ac90aa633ec466b4e3a0ba1)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-01 22:48:17 +01:00
Richard Purdie
cde414f571 patchelf: Fix note section alignment issues
Improve note section normalization was added to patchelf in recent versions
however if fails if there are two note sections which aren't sized to match
section alignment. Tweak the code to account for section alignment.

This fixes patchelf failures on the autobuilder, particularly to ccache-native.

(From OE-Core rev: fee8dde0d597b511b37d8dcf215e8355980d5f2b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-01 22:43:11 +01:00
Richard Purdie
19c365d040 libxcrypt: Update to 4.4.19 release and fix symbol version issues
This patch upgrades to the 4.4.19 release and replaces a configure patch
from "libxcrypt: fix sporadic failures in nativesdk-libxcrypt-compat" with
a fix to avoid leading spaces in CFLAGS causing failures.

The license changed a few filenames listed in the license but the overall
license remains unchanged.

(From OE-Core rev: 7a2144f065c913ef189011b94d90de4dde51a347)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-30 16:42:25 +01:00
Sakib Sajal
c21419b1fe buildstats.bbclass: collect data in the same file.
Previously "at interval" and "on failure" logs were collected
in separate files. Collect both types of logging in the same
file for better analysis.

Introduced new variable which allows different set of commands
to be run by the different logging, interval or failure. The
variables are BB_LOG_HOST_STAT_CMDS_INTERVAL and
BB_LOG_HOST_STAT_CMDS_FAILURE respecteviely.

(From OE-Core rev: 4fbf422351668f755a14811ac39161c889087e81)

Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-27 23:43:57 +01:00
Paul Barker
ebb7adac03 bitbake: prserv: Add connect function
This function abstracts the setup of a PR service client connection so
that openembedded-core doesn't need to be updated any time the details
are changed.

(Bitbake rev: d892287b31f81b075983ba500be265f75b53df64)

Signed-off-by: Paul Barker <pbarker@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-27 15:12:57 +01:00
Paul Barker
ad5c898808 bitbake: prserv: Drop unused dump_db method
(Bitbake rev: ecb7bf34eac02ff58dbc27b3768ceaf4adb1c9cd)

Signed-off-by: Paul Barker <pbarker@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-27 15:12:57 +01:00
Paul Barker
ea647326d1 bitbake: prserv: Drop obsolete python version check
Bitbake no longer supports Python 2 so this version check is obsolete.

(Bitbake rev: 45eb6c6e124e507012df9c288f1fbde0e7899e5d)

Signed-off-by: Paul Barker <pbarker@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-27 15:12:57 +01:00
Paul Barker
421e86e7ed bitbake: hashserv: Refactor to use asyncrpc
The asyncrpc module can now be used to provide the json & asyncio based
RPC system used by hashserv.

(Bitbake rev: 5afb9586b0a4a23a05efb0e8ff4a97262631ae4a)

Signed-off-by: Paul Barker <pbarker@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-27 15:12:57 +01:00
Paul Barker
244b044fd6 bitbake: asyncrpc: Common implementation of RPC using json & asyncio
The hashserv module implements a flexible RPC mechanism based on sending
json formatted messages over unix or tcp sockets and uses Python's
asyncio features to build an efficient message loop on both the client
and server side. Much of this implementation is not specific to the
hash equivalency service and can be extracted into a new module for
easy re-use elsewhere in bitbake.

(Bitbake rev: 4105ffd967fa86154ad67366aaf0f898abf78d14)

Signed-off-by: Paul Barker <pbarker@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-27 15:12:57 +01:00
Paul Barker
1023671823 bitbake: hashserv: Use generic ConnectionError
The Python built-in ConnectionError type can be used instead of a custom
HashConnectionError type. This will make code refactoring simpler.

(Bitbake rev: 8a796c3d6d99cfa8ef7aff0ae55bb0f23bbbeae1)

Signed-off-by: Paul Barker <pbarker@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-27 15:12:57 +01:00
Alexander Kanavin
bf348561f3 core-image-multilib-example: base on weston, and not sato
(From OE-Core rev: 56cd96651c6304712fd544fbc9b69c986d2b2efe)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-27 15:11:47 +01:00
Alexander Kanavin
06413d33b3 oeqa/selftest: transition to weston images
For readonly rootfs tests core-image-weston
is appended; everywhere else it replaces core-image-sato.

(From OE-Core rev: 75e042db853b9bf9a70ff8a5abe6d45ebb0b77a9)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-27 15:11:47 +01:00
Alexander Kanavin
377a73d5b7 oeqa/core/tests/test_data.py: use weston image instead of sato
(From OE-Core rev: c2ccd8c8144cdda52b858589f7d5d3a15ab28b90)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-27 15:11:47 +01:00
Alexander Kanavin
f66d90a06f core-image-weston: add sdk/ptest images
This is the first step towards rebasing the AB matrix from sato to
weston; the eventual goal is to keep sato only in core-image-sato
image.

The broader rationale is that X11 is effectively deprecated technology
at this point with only minimal maintenance; standalone X server will not
be developed any further, and all attention currently is towards making
it work well under Wayland.

I believe YP should be defaulting to Wayland and not X11.

(From OE-Core rev: 3a6996f87a9e32f2e6e668dce98f77d0b40fceb8)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-27 15:11:47 +01:00
Reto Schneider
73bdeae2fc license_image.bbclass: Fix symlink to generic license files
Link to the canonical filename of a license as only this one exists.

Fixes commit 670fe71dd18ea675f35581db4a61fda137f8bf00
[license_image.bbclass: use canonical name for license files].

(From OE-Core rev: 64b1ba978e079c345e1f7fbd1bf44052fc3dd857)

Signed-off-by: Reto Schneider <reto.schneider@husqvarnagroup.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-27 15:11:47 +01:00
Reto Schneider
62eb846232 license_image.bbclass: Detect broken symlinks
Find and report symlinks which point to a non-existing file.

(From OE-Core rev: 81809a1ffe67aade1b2ed66fe95044ffbf7d3df8)

Signed-off-by: Reto Schneider <reto.schneider@husqvarnagroup.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-27 15:11:47 +01:00
Sakib Sajal
f8b2e0f600 oe-time-dd-test.sh: collect cooker log when timeout is exceeded
Collect the last 30 lines from the cooker.log
whenever the timeout is exceeded.

(From OE-Core rev: 58f7cd4d6186525f08f3027975530d647cbfa26b)

Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-27 15:11:47 +01:00
Khem Raj
6db9f63412 gnutls: Point to staging area for finding seccomp libs and includes
This ensures that if libseccomp is installed on build host then it does
not resort to use it.

Fixes
checking for libseccomp... (cached) yes
checking how to link with libseccomp... /usr/lib/libseccomp.so

(From OE-Core rev: 3751ac58720a500e3b749b2296922d7c82db49a1)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-27 15:11:47 +01:00
Saul Wold
3acbec85b0 qemurunner: Add support for qmp commands
This adds support for the Qemu Machine Protocol [0] extending
the current dump process for Host and Target. The commands are
added in the testimage.bbclass.

Currently, we setup qemu to stall until qmp gets connected and
sends the initialization and continue commands, this works
correctly. If the UNIX Socket does not exist, we wait an timeout
to ensure to socket file is created.

With this version, the monitor_dumper is created in OEQemuTarget
but then set in OESSHTarget as that's where we get the SSH failure
happens. Python's @property is used to create a setter/getter type
of setup in OESSHTarget to get overridden by OEQemuTarget.

By default the data is currently dumped to files for each command in
TMPDIR/log/runtime-hostdump/<date>_qmp/unknown_<seq>_qemu_monitor as
this is the naming convenstion in the dump.py code.

We use the qmp.py from qemu, which needs to get installed in the
recipe-sysroot-native of the target image.

[0] https://github.com/qemu/qemu/blob/master/docs/interop/qmp-spec.txt

(From OE-Core rev: 42af4cd2df72fc8ed9deb3fde4312909842fcf91)

Signed-off-by: Saul Wold <saul.wold@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-27 15:11:47 +01:00
Saul Wold
2c86aba6f0 qemu-system-native: install qmp python module
The qmp python module supports the Qemu Machine Protocol [0].
This module needs to be installed in a known location so the
qemurunner python script can find the qmp module.

This change causes it to be installed in the recipe-sysroot-native
of the target image and that directory can be added to the python
sys.path that needs to use the qmp.py module.

[0] https://github.com/qemu/qemu/blob/master/docs/interop/qmp-spec.txt

(From OE-Core rev: 46a60f67562a6ae227e018228212fc797d1f2795)

Signed-off-by: Saul Wold <saul.wold@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-27 15:11:47 +01:00
Khem Raj
8cf9b6529e gcc-cross-canadian: Install LTO linker plugin to BFD searchable location
This helps binutils provided tools ar/ranlib/nm to find the LTO linker
plugin automatically as well which makes it equivalent to gcc-ar/gcc-nm/gcc-ranlib

(From OE-Core rev: 7d8d0b90bea7ea01e1e9ab0ff98f22431f68a506)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-27 15:11:47 +01:00
Khem Raj
fb21d2e147 gcc-cross: Install linker LTO plugin for binutils tools
This will ensure that ar/ranlib/nm can load the lto linker plugin like
gcc-ar, gcc-nm, gcc-ranlib does, this will let the behaviour match
between gcc wrappers for these tools, this should help LTO builds for
packages

(From OE-Core rev: d6658505089234476c1b35fc08fef1eb4f121e85)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-27 15:11:47 +01:00
Khem Raj
dfc632785d bitbake.conf: Use gcc-nm as default NM
This ensures linker LTO plugin is loaded correctly

(From OE-Core rev: d6ffd683bf635548e0bfb3fd6458ed03e26ec2bf)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-27 15:11:47 +01:00
Khem Raj
d18f8178b8 gcc-target: Create a LTO plugin symlink in bfd-plugins directory
This directory is scanned by binutils provided ar,ranlib,nm for plugins
that it can load automatically, putting liblto_plugin.so in their means
we do not need gcc-ar, gcc-nm, gcc-ranlib particularly as normal
ar/ranlib/nm tools will work equally well as they can now use this
linker plugin by default

This also mean we can revert back to using ar/ranlib/nm as default
providers for AR/NM/RANLIB on target

(From OE-Core rev: 5aae5812223792d5e5bd57e024de50fbcd1e6da5)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-27 15:11:47 +01:00
Nicolas Dechesne
b3426e89f5 bitbake: doc: bitbake-user-manual: fix typo left over from Sphinx migration
Fixes d99760cc687c (sphinx: last manual round of fixes/improvements)

Reported-by: Michal Piechowski <m.z.piechowski@gmail.com>
(Bitbake rev: 00ce48919de720639eda2b6f7065a82b641e5167)

Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-26 15:26:14 +01:00
Michael Opdenacker
7e9305613d bitbake: doc: bitbake-user-manual: code insertion simplification over two lines
This simplifies paragraphs ending with a colon and followed
by code insertion.

Automatically substituted through the command:
sed -i -z "s/:\n\s*::/::/g" file.rst

This generates identical HTML output.

(Bitbake rev: 51c80fc3497eecc8e50194fe1ff8069b59f03eda)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-26 15:26:14 +01:00
Michael Opdenacker
91aacf4ed3 bitbake: doc: bitbake-user-manual: simplify colon usage
- This replaces instances of ": ::" by "::", which
  generates identical HTML output

(Bitbake rev: fd8ce4dcaff3aae395f9945fb0a3be54905e1727)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-26 15:26:14 +01:00
Khem Raj
a836bd6fc0 default-distrovars.inc: Remove seccomp for riscv32
libseccomp needs too be ported to rv32 first

(From OE-Core rev: ecf167c6419afd483f5291043a1d5072d388866b)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-26 14:16:31 +01:00
Chen Qi
c9e8724e26 rsync: fix CVE-2020-14387
Backport patch to fix CVE-2020-14387.

(From OE-Core rev: 13f331436747ebb8e9211feee3aa774f1acd0fee)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-26 14:14:42 +01:00
Armin Kuster
71c216b4be default-distrovars.inc: Add seccomp to DISTRO_FEATURES_DEFAULT
Since xattr is included, seccomp should be too

(From OE-Core rev: e164bd55ef5becf691c2755d8d6af45a490fe9b2)

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-26 14:14:42 +01:00
Khem Raj
3db18236b9 apt: Fix build on musl when seccomp is enabled
(From OE-Core rev: 3ffce694d75977895557ff61f27b627c1a11be12)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-26 14:14:42 +01:00
Richard Purdie
0086576160 apt: Disable libseccomp
This isn't in DEPENDS and isn't configured. It can detect the library when
pulled in via other dependencies meaning the build isn't deterministic.

Ultimately this could become a PACKAGECONFIG. It doesn't build on musl
so disable it for now until someone fixes and sorts this out properly.

(From OE-Core rev: 1425fe0f28a31b1d4004736b9edb036680e12c92)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-26 14:14:42 +01:00
Armin Kuster
f7c278c330 qemu: Enable seccomp if FEATURE is set
(From OE-Core rev: c057509306319cc0c2c7ef89154995ffd96c5646)

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-26 14:14:42 +01:00
Armin Kuster
528547a46a systemd: Enable seccomp if FEATURE is set
(From OE-Core rev: c9d4fb93429a90191dc77e1dbc183535d66952cb)

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-26 14:14:42 +01:00
Armin Kuster
65ecffc430 gnutls: Enable seccomp if FEATURE is set
(From OE-Core rev: f2527b5567252c7da4fbd863e119c8114e6debcd)

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-26 14:14:42 +01:00
Richard Purdie
280a83d4af libseccomp: Fix reproducibility issue
Rather than installing libtool wrapper scripts which won't work on target
and aren't reproducible, use the real binaries.

(From OE-Core rev: 8afdf055b7b8bad6f0f13c3cd184d019c50a1e25)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-26 14:14:42 +01:00
Richard Purdie
e07821846b libseccomp: Add MAINTAINERS entry and HOMEPAGE
Add entries for the migrated recipe to passify the various checks.

(From OE-Core rev: cd49367af2b3daa8d3012ae2b8ace380d41cc0b9)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-26 14:14:42 +01:00
Armin Kuster
241c7d2e67 libseccomp: move recipe from meta-security to core
ptest results:
Regression Test Summary
 tests run: 1404
 tests skipped: 369
 tests passed: 1402
 tests failed: 2
 tests errored: 154

Add feature_check so that the other recipes who can take
advantage of this funtionality can enable it.

(From OE-Core rev: 5b0182f5c01c8b10b4b65f8af55d682be4839947)

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-26 14:14:42 +01:00
Marek Vasut
4d05decb97 linux-firmware: Package RSI 911x WiFi firmware
The RSI 911x WiFi firmware is already part of the linux-firmware
repository, package it to make it easily available.

(From OE-Core rev: cc44b71f6ea68ca0f483d635df7dc7b9905b1593)

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Richard Purdie <richard.purdie@linuxfoundation.org>
Cc: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-26 14:14:42 +01:00
Richard Purdie
bf59f39653 yocto-check-layer: Avoid bug when iterating and autoadding dependencies
If iterating a layer with multiple components and auto-adding dependencies
the tests can break since layers are never removed and order isn't guaranteed
to account for that.

Fix this by resetting the layer list back to the original list each time
before auto-adding the dependencies in each case.

This fixes scanning of meta-openembedded in particular where the sublayers
may not be added in order of minimal dependency.

(From OE-Core rev: bf1b467dacf345379cd5d84a1c9b3b0d844d5c91)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-24 17:53:05 +01:00
Stefan Ghinea
01bd284339 libssh2: fix build failure with option no-ecdsa
libssh2 fails at do_compile if
DEPRECATED_CRYPTO_FLAGS = "no-ecdsa" is set in recipe:

../src/.libs/libssh2.so: undefined reference to
`LIBSSH2_KEX_METHOD_EC_SHA_HASH_CREATE_VERIFY'

References:
https://github.com/libssh2/libssh2/issues/549

Upstream patches:
1f76151c92

(From OE-Core rev: 2bb146e7315f8080cb49a95212231ccb76a4a822)

Signed-off-by: Stefan Ghinea <stefan.ghinea@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-24 17:53:05 +01:00
Richard Purdie
35d6da6fe5 pyyaml: Add missing HOMEPAGE
Add a HOMEPAGE to the new recipe to avoid sanity test failures.

(From OE-Core rev: 23be2a27e16d711f928561d96f901a25f5f29998)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-24 17:53:05 +01:00
Khem Raj
9be7098de3 python3-pyyaml: Add recipe
This is migrated from meta-python

(From OE-Core rev: 0a8600f9cec0a88b90693302554c82cfe28152ae)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-24 17:53:05 +01:00
Khem Raj
c3a3153810 python3-jinja2: Enable ptests
Needed dependencies on toml and pytest and unixadmin
are in core now

(From OE-Core rev: c983359eae9d7e3d729af36755612916dabe32d6)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-24 17:53:05 +01:00
Khem Raj
b39ea6620f python3-markupsafe: Enable ptests
pytest is now in OE-Core

(From OE-Core rev: 48c83fc1141ff22c9ede0c82acec896937d61357)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-24 17:53:05 +01:00
Khem Raj
64e26d1e6b python3-docutils: Upgrade to 0.17.1
This was in meta-python for a while so merge the changes here
and  upgrade, once applied, delete from meta-python

License-Change: Deleted legacy stylesheets from LICENSE [1]
                Updated URI for BSD-2 [2]

[1] https://sourceforge.net/p/docutils/code/8487/
[2] https://sourceforge.net/p/docutils/code/8554/

(From OE-Core rev: 757d87f676d542f49760ef4ed8bea238719af159)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-24 17:53:05 +01:00
Changqing Li
770532164f gcr: fix one parallel build failure
ui/gcr-live-search.c includes gcr/gcr-marshal.h. Because missing
dependency, following error occurred intermittently during doing parallel
build:

 -o ui/libgcr-ui-3.so.1.0.0.p/gcr-live-search.c.o -c ../gcr-3.38.1/ui/gcr-live-search.c
../gcr-3.38.1/ui/gcr-live-search.c:32:10: fatal error: gcr/gcr-marshal.h: No such file or directory
   32 | #include "gcr/gcr-marshal.h"
      |          ^~~~~~~~~~~~~~~~~~~
compilation terminated.

(From OE-Core rev: a6690c22952a315e6c6734a5936d9eb18e1b3004)

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-24 17:53:05 +01:00
Mikko Rapeli
7d228861e8 unzip: use optimization from bitbake
Build with bitbake default optimizations, e.g. O2,
instead of custom O3. Reduces unzip binary package
size from 304401 to 283921 bytes, and enables building
with Os to even further reduce binary size if needed
and configured for the whole system.

(From OE-Core rev: 1330ac1902360cc5e01b69a6065963bf7b92d4bb)

Signed-off-by: Mikko Rapeli <mikko.rapeli@bmw.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-24 17:53:05 +01:00
Sakib Sajal
dcfdecb9ff qemu: fix CVE-2021-20257
(From OE-Core rev: 547ac986a74cfcae39b691ebb92aadc8436443ea)

Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-24 17:53:05 +01:00
Sakib Sajal
4284f80d1f qemu: fix CVE-2021-3416
(From OE-Core rev: e2b5bc11d1b26b73b62e1a63cb75572793282dcb)

Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-24 17:53:05 +01:00
Sakib Sajal
ea7850cd83 qemu: fix CVE-2021-3409
(From OE-Core rev: e2fb8c15a64e1f5db678e8e95924da8c88a188c0)

Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-24 17:53:05 +01:00
Sakib Sajal
2c01852bcb qemu: fix CVE-2021-20221
(From OE-Core rev: 59a44f8c70d4a026ae74e44b9d70100029c691b5)

Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-24 17:53:05 +01:00
Sakib Sajal
5c59b634a2 qemu: fix CVE-2020-29443
(From OE-Core rev: 481e012de865ee232fa5a233e9f1d4fc7a2232ab)

Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-24 17:53:05 +01:00
Sakib Sajal
640c6d1191 qemu: fix CVE-2021-20181
(From OE-Core rev: c2f79065ef0684f2c0bdb92f1b03e690ab730b8c)

Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-24 17:53:05 +01:00
Kai Kang
e7746189de kernel-yocto.bbclass: chdir to ${WORKDIR} for do_kernel_checkout
It chdirs to ${S} at the beginning of task do_kernel_checkout. Then it
removes ${S} when it still resides in ${S}. It may fail to run the task
do_kernel_checkout when bitbake is called by third-part wrapper script.
So chdir to ${WORKDIR} by default for do_kernel_checkout. And it will
chdir to ${S} afterwards in task do_kernel_checkout.

(From OE-Core rev: cf0e3397d3f86c7ea1f3c66c50a44d6205f5921b)

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-24 17:53:05 +01:00
Kai Kang
9bbd9cab86 cmake.bbclass: remove ${B} before cmake_do_configure
It is fallible to remove ${B} in directory ${B} itself. And it does fail
when call bitbake by third-party wrapper script.

Use flag 'cleandirs' to remove ${B} first if build out of source tree.

(From OE-Core rev: 0fb6280432a36985590d9a714a5f11164aaebb51)

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-24 17:53:05 +01:00
Mikko Rapeli
d2c176d1ca lz4: use CFLAGS from bitbake
Currently lz4 uses it's own defaults which include O3 optimization.
Switch from O3 to bitbake default O2 reduces binary package size
from 467056 to 331888 bytes. Enables also building with Os if needed.

(From OE-Core rev: abaaf8c6bcd368728d298937a9406eb2aebc7a7d)

Signed-off-by: Mikko Rapeli <mikko.rapeli@bmw.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-24 17:53:04 +01:00
Paulo Cesar Zaneti
de0c3226ab perl: fix startperl configuration option for perl-native
Unlike vanilla Perl "Configure" script, perl-cross "configure" does not
derive "startperl" from "bin". It instead derives from "perlpath".

This patch aims to fix "startperl" configuration option for perl-native by
correctly setting "perlpath" on perl-cross "configure" script.

It also changes do_install_append_class-native task to comply with
cpan_do_install task.

(From OE-Core rev: f2d1523b19cb066a4a06609f036822fe4a8b43f0)

Signed-off-by: Paulo Cesar Zaneti <paulo.zaneti@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-24 17:53:04 +01:00
Trevor Gamblin
4aff77c851 ref-manual/variables.rst: Add incompatibility warning for SERIAL_CONSOLES_CHECK
See [YOCTO #13921]

Add details to the SERIAL_CONSOLES_CHECK entry to clarify that it
doesn't work with read-only rootfs.

(From yocto-docs rev: cefd66301a40f9048499879674e467543f704c44)

Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Reviewed-by: Quentin Schulz <foss@0leil.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-23 16:39:03 +01:00
Michael Opdenacker
c3c6de2187 manuals: code insertion simplification over two lines
This simplifies paragraphs ending with a colon and followed
by code insertion.

Automatically substituted through the command:
sed -i -z "s/:\n\s*::/::/g" file.rst

This generates identical HTML output.

(From yocto-docs rev: 28e2192a7c12d64b68061138a9f6c796453eebb1)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-23 16:39:03 +01:00
Michael Opdenacker
773536c333 manuals: simplify code insertion
This replaces instances of ": ::" by "::", which
generates identical HTML output

(From yocto-docs rev: 1f410dfc7c16c09af612de659f8574ef6cff4636)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-23 16:39:03 +01:00
Michael Opdenacker
21b42cc54f dev-manual: fix code insertion
Fix a misaligned code insertion statement, causing
the code block to be misaligned compared to the other ones
in subsequent paragraphs

(From yocto-docs rev: bc03d122a35ac027d0aab5bfd70b366933fd7356)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-23 16:39:03 +01:00
Vineela Tummalapalli
1ea11c5c20 Adding dunfell 3.1.7 to the switcher and release list.
(From yocto-docs rev: bed221137de77340280d71b4a8b0f2f60addc566)

Signed-off-by: Vineela Tummalapalli <vineela.tummalapalli@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-23 16:39:03 +01:00
Diego Sueiro
cda69e0166 bitbake: layerindex: Add --fetchdir parameter to layerindex-fetch
Introduce --fetchdir parameter to layerindex-fetch enabling users to choose
the directory to fetch the layers different from BBLAYERS_FETCH_DIR.

[YOCTO #14347]

(Bitbake rev: 784a904faffac723ddf58ba765b9dd11ac068de5)

Signed-off-by: Diego Sueiro <diego.sueiro@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-23 10:13:13 +01:00
Diego Sueiro
9fae310dd2 bitbake: layerindex: Fix bitbake-layers layerindex-show-depends command
Running 'bitbake-layers layerindex-show-depends meta-filesystems' fails with:
```
Traceback (most recent call last):
  File "<...>/poky/bitbake/bin/bitbake-layers", line 93, in <module>
    ret = main()
  File "<...>/poky/bitbake/bin/bitbake-layers", line 86, in main
    return args.func(args)
  File "<...>/poky/bitbake/lib/bblayers/layerindex.py", line 209, in do_layerindex_show_depends
    self.do_layerindex_fetch(args)
  File "<...>/poky/bitbake/lib/bblayers/layerindex.py", line 182, in do_layerindex_fetch
    args.shallow)
AttributeError: 'Namespace' object has no attribute 'shallow'
```

Initialize the shallow attribute to fix it.

(Bitbake rev: 71f095c147fe6aa7b5e6272002e0498cf9494256)

Signed-off-by: Diego Sueiro <diego.sueiro@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-23 10:13:13 +01:00
Khem Raj
93c73856f4 llvm: Upgrade to LLVM 12 release
Drop backported patch

(From OE-Core rev: ca72375a3bbebcb9a7af4dce3c06716ac2c0f5fc)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-23 10:12:10 +01:00
wangmy
cc6b1e2b1d wpebackend-fdo: upgrade 1.8.2 -> 1.8.3
(From OE-Core rev: 3aa145d326cf22aa423940e8b09f609fe9c27cbe)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-23 10:12:10 +01:00
wangmy
aac6941d84 boost: upgrade 1.75.0 -> 1.76.0
(From OE-Core rev: 14b597845ad7b97e84c652ce56e137dc4b9d23b9)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-23 10:12:10 +01:00
wangmy
fa1208406e tiff: upgrade 4.2.0 -> 4.3.0
(From OE-Core rev: 702c5c7973c77c51d5ce8de11e73c708c55927a3)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-23 10:12:10 +01:00
wangmy
05343e7611 python3-cython: upgrade 0.29.22 -> 0.29.23
(From OE-Core rev: 7f0482bf6709277f2506e71d828f6bed3ab72263)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-23 10:12:10 +01:00
wangmy
7bc3a900a6 mtools: upgrade 4.0.26 -> 4.0.27
(From OE-Core rev: 86777da8f46e6ddf9b04a80fa1ecbcf41faff21c)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-23 10:12:10 +01:00
wangmy
41334b0064 openssh: upgrade 8.5p1 -> 8.6p1
(From OE-Core rev: 5fd4497e7ad156fa426bb1913846c2b65a9fbd1b)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-23 10:12:10 +01:00
zhengruoqin
b02c5193c2 libsolv: upgrade 0.7.18 -> 0.7.19
(From OE-Core rev: 74355aff39b4bbed9dc3ecb403e679d1aa0edbb5)

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-23 10:12:10 +01:00
zhengruoqin
00bfb40b68 libical: upgrade 3.0.9 -> 3.0.10
(From OE-Core rev: 8f67f233c77ef03572aee8b8c484b634f42b668b)

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-23 10:12:10 +01:00
zhengruoqin
73639903c2 libhandy: upgrade 1.2.0 -> 1.2.1
(From OE-Core rev: 089d75b47d4d1a7b2c68b8b310cddf40b4b83199)

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-23 10:12:10 +01:00
zhengruoqin
6d774dadd2 libedit: upgrade 20210216-3.1 -> 20210419-3.1
(From OE-Core rev: be628ddfbc401242e0884916ccf4abea336c4ad9)

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-23 10:12:10 +01:00
Khem Raj
e165bf75b1 musl: Update to latest master
changelog [1]

* aad50fcd fix regression in dl_iterate_phdr reporting of modules with no TLS
* 0ea78a64 nscd: fall back gracefully on kernels without AF_UNIX support
* 95a540e1 mallocng/aligned_alloc: check for malloc failure
* 2c00f95c make epoll_[p]wait a cancellation point
* 521b4d27 fix dl_iterate_phdr dlpi_tls_data reporting to match spec
* 122002f0 remove no-longer-needed special case handling in popen
* 8ef9d46f use internal malloc for posix_spawn file actions objects
* cfdfd5ea don't fail to map library/executable with zero-length segment maps
* e48e99c1 suppress isascii() macro for C++
* b129cd86 guard against compilers failing to handle setjmp specially by default
* 3309e2d7 aarch64/bits/mman.h: add PROT_MTE from linux v5.10
* 44331150 aarch64/bits/hwcap.h: add HWCAP2_MTE from linux v5.10
* 42aa19a0 add aarch64/bits/mman.h with PROT_BTI from linux v5.8
* b7554b5e aarch64/bits/hwcap.h: add HWCAP2_BTI from linux v5.8
* 87b8f148 signal.h: add MTE specific SIGSEGV codes from linux v5.10
* 19239cde sys/prctl.h: add MTE related constants from linux v5.10
* 8b29f023 elf.h: add NT_ARM_TAGGED_ADDR_CTRL from linux v5.10
* d7210f0c sys/mman.h: add MAP_HUGE_16KB from linux v5.10
* a7456524 sys/mount.h: add MS_NOSYMFOLLOW from linux v5.10
* 54ca1cc7 sys/membarrier.h: add new constants from linux v5.10
* fd285f9d bits/syscall.h: add process_madvise from linux v5.10
* 49b6df3d fix error return value for cuserid
* cc577d0e fix misuse of getpwuid_r in cuserid
* a75283d7 cuserid: don't return truncated results
* ef137da6 cuserid: support invocation with a null pointer argument

[1] https://git.musl-libc.org/cgit/musl/log/\?qt\=range\&q\=e5d2823631bbfebacf48e1a34ed28f28d7cb2570..aad50fcd791e009961621ddfbe3d4c245fd689a3

(From OE-Core rev: 601d8e87a7c796bd9d91d1ffa090d3b1afcf2a2d)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-23 10:12:10 +01:00
Yi Fan Yu
c707bf9f80 valgrind: Enable drd/tests/bar_bad* ptest
Revert some of 7f7d2fa18267090891754d976cbc3e628324d3dd

Was not able to reproduce the reported non-deterministic failure.
(ran 20 times on qemux86-64 on a relatively isolated machine)
it might be related to the AB-INT issues,
but it seems to only affect ARM builders now.

Also no action taken by upstream valgrind to fix
https://bugs.kde.org/show_bug.cgi?id=430321

Let it run on AB to see if failure was fixed by uprev to 3.17.0.
if not, we can gather more data from the AB failure.

[YOCTO #14051]

(From OE-Core rev: c0ea23832a96352d8eeda5cebc9d37a22c5d5439)

Signed-off-by: Yi Fan Yu <yifan.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-23 10:12:10 +01:00
Yi Fan Yu
223ef10436 re2c: Upgrade 2.0.3 -> 2.1.1
(From OE-Core rev: 09bfe5cbd68f2e837c99c9d7554e9fadd009ad65)

Signed-off-by: Yi Fan Yu <yifan.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-23 10:12:10 +01:00
Khem Raj
4118415d4b go: Use dl.google.com for SRC_URI
golang.org/dl is resolving to this anyway

(From OE-Core rev: 8470e38ac1d9f9bb6d8a4ee43724af452d080057)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-23 10:12:10 +01:00
Khem Raj
70a757bbec binutils: Fix linking failures when using dwarf-5
Since GCC 11 will switch to dwarf-5 as default, this patch will be
required soon

(From OE-Core rev: 9dc9bf85f53c6712dd047df5fd718e9895946fd5)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-23 10:12:10 +01:00
Alexander Kanavin
c13be2e1dc meta/lib/oeqa/core/tests/cases/timeout.py: add a testcase for the previous fix
This is the sequence that didn't properly operate:

- a test case that skips and isn't executed
- a second test case that is skipped via a dependency decorator, and sets a timeout
- a third test case that takes longer than the timeout from the second
test case

Without the fix, the timeout is not cleared, and the third test case is
erroneously aborted. With the fix, the timeout is cleared and the third
test case is able to complete.

(From OE-Core rev: 54ef07a9aa1af8f41cfb9a4802929c918efc43c8)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-23 10:12:10 +01:00
Alexander Kanavin
b40f78a5c7 oeqa: tear down oeqa decorators if one of them raises an exception in setup
Some of the decorators need proper cleanup, such as OETimeout
which sets a signal handler that needs to be cleared via teardown.
If this is not done then the signal gets called later with unpredictable effects.

This can be seen if there's a test that is skipped via a decorator and sets a timeout
at the same time: the timeout isn't cleared, and is invoked later in a
completely unrelated context. The test case for this is added in the
next commit.

(From OE-Core rev: f42a08e1aabf1ca57e0c09d69fb69cc717c7f156)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-23 10:12:10 +01:00
Chen Qi
942b80e82e weston: fix build failure due to race condition
The wayland.c actually include 'xdg-shell-client-protocol.h' instead of
the server one, so fix it. Otherwise, it's possible to get build failure
due to race condition.

(From OE-Core rev: bd2a9a4d82f66f1ff414c392bcf234d8dbd5e553)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-23 10:12:10 +01:00
Mingli Yu
ce9e341775 rpm: Upgrade to 4.16.1.3
Fixes some security vulnerabilities such as CVE-2021-3421 and
CVE-2021-20271.

Rebase 0001-Do-not-hardcode-lib-rpm-as-the-installation-path-for.patch
to avoid fuzz warnings.

(From OE-Core rev: 5dcd9c673502dab276b4fb4e6b4c7c1d1d9425ef)

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-23 10:12:10 +01:00
Martin Jansa
a8ae23104c ofono: prevent using bundled ell headers and fix build with ell-0.39
* -I../ofono-1.31 is included when building drivers/mbimmodem/mbim.c and then
  ell.h will happily include ell/util.h from there:

  # 1 "/OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/ofono/1.31-r0/recipe-sysroot/usr/include/ell/ell.h" 1 3 4
  # 23 "/OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/ofono/1.31-r0/recipe-sysroot/usr/include/ell/ell.h" 3 4
  # 1 "../ofono-1.31/ell/util.h" 1 3 4
  # 26 "../ofono-1.31/ell/util.h" 3 4
  # 1 "/OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/ofono/1.31-r0/recipe-sysroot/usr/include/string.h" 1 3 4
  # 26 "/OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/ofono/1.31-r0/recipe-sysroot/usr/include/string.h" 3 4
  # 1 "/OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/ofono/1.31-r0/recipe-sysroot/usr/include/bits/libc-header-start.h" 1 3 4
  # 27 "/OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/ofono/1.31-r0/recipe-sysroot/usr/include/string.h" 2 3 4

* and it gets more interesting because unlikely() macro was dropped from ell/util.h in:
  https://git.kernel.org/pub/scm/libs/ell/ell.git/commit/?id=2a682421b06e41c45098217a686157f576847021
  and ofono builds from git (which doesn't bundle ell) were failing with:

drivers/mbimmodem/mbim-message.c: In function 'message_iter_next_entry_valist':
drivers/mbimmodem/mbim-message.c:504:8: warning: implicit declaration of function 'unlikely' [-Wimplicit-function-declaration]
  504 |    if (unlikely(indent > MAX_NESTING))
      |        ^~~~~~~~
...
x86_64-webos-linux-libtool: link: x86_64-webos-linux-gcc -m64 -march=core2 -mtune=core2 -msse3 -mfpmath=sse --sysroot=/OE/build/luneos-honister/webos-ports/tmp-glibc/work/core2-64-webos-linux/ofono/1.31+gitAUTOINC+0db662bd6b-r0/recipe-sysroot -I/OE/build/luneos-honister/webos-ports/tmp-glibc/work/core2-64-webos-linux/ofono/1.31+gitAUTOINC+0db662bd6b-r0/recipe-sysroot/usr/include/dbus-1.0 -I/OE/build/luneos-honister/webos-ports/tmp-glibc/work/core2-64-webos-linux/ofono/1.31+gitAUTOINC+0db662bd6b-r0/recipe-sysroot/usr/lib/dbus-1.0/include -I/OE/build/luneos-honister/webos-ports/tmp-glibc/work/core2-64-webos-linux/ofono/1.31+gitAUTOINC+0db662bd6b-r0/recipe-sysroot/usr/include/glib-2.0 -I/OE/build/luneos-honister/webos-ports/tmp-glibc/work/core2-64-webos-linux/ofono/1.31+gitAUTOINC+0db662bd6b-r0/recipe-sysroot/usr/lib/glib-2.0/include -DOFONO_PLUGIN_BUILTIN -DPLUGINDIR=\"/usr/lib/ofono/plugins\" -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=/OE/build/luneos-honister/webos-ports/tmp-glibc/work/core2-64-webos-linux/ofono/1.31+gitAUTOINC+0db662bd6b-r0=/usr/src/debug/ofono/1.31+gitAUTOINC+0db662bd6b-r0 -fdebug-prefix-map=/OE/build/luneos-honister/webos-ports/tmp-glibc/work/core2-64-webos-linux/ofono/1.31+gitAUTOINC+0db662bd6b-r0=/usr/src/debug/ofono/1.31+gitAUTOINC+0db662bd6b-r0 -fdebug-prefix-map=/OE/build/luneos-honister/webos-ports/tmp-glibc/work/core2-64-webos-linux/ofono/1.31+gitAUTOINC+0db662bd6b-r0/recipe-sysroot= -fdebug-prefix-map=/OE/build/luneos-honister/webos-ports/tmp-glibc/work/core2-64-webos-linux/ofono/1.31+gitAUTOINC+0db662bd6b-r0/recipe-sysroot-native= -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -o unit/test-mbim unit/test-mbim.o drivers/mbimmodem/mbim-message.o drivers/mbimmodem/mbim.o  -lell
drivers/mbimmodem/mbim-message.c:1389: error: undefined reference to 'unlikely'
drivers/mbimmodem/mbim-message.c:1255: error: undefined reference to 'unlikely'
drivers/mbimmodem/mbim-message.c:514: error: undefined reference to 'unlikely'
drivers/mbimmodem/mbim-message.c:504: error: undefined reference to 'unlikely'
collect2: error: ld returned 1 exit status

  while build from 1.31 tarball was passing OK, because using this older
  bundled ell/util.h

  delete bundled ell as we always enable external ell to make sure this
  doesn't happen again and fix mbimmodem to build with ell-0.39

(From OE-Core rev: 25f44ce327aff94c956d431c3cdf92adc39b2eeb)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-23 10:12:10 +01:00
Diego Sueiro
d00d7e6621 oeqa/selftest/bblayers: Add test case for bitbake-layers layerindex-show-depends
(From OE-Core rev: 80090c31164d62a169431ab71c4aaee5475b6f40)

Signed-off-by: Diego Sueiro <diego.sueiro@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-23 10:12:10 +01:00
Alexander Kanavin
dd35211b69 default-distrovars.inc: add debuginfod to default DISTRO_FEATURES
Obtaining debug information by having it served automatically via http
is far more pleasant than messing about with debugfs and gdbserver or
transferring and installing -dbg packages by hand.

I believe we should follow the desktop distros and have it enabled
out of the box. Please see the following commit for the description
of how it works.

(From OE-Core rev: 024c88c82791a113b614abf61ffd82e097bf21d1)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-23 10:12:09 +01:00
Khem Raj
972888296c elfutils: Make 64bit time_t fix generic
Apply it always since more than x32 needs it

(From OE-Core rev: faf5034876c319aa51d6b3e21265d0984566bb9e)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-23 10:12:08 +01:00
Alexander Kanavin
2cd3d10d36 elfutils: adjust ptests for correct debuginfod testing
(From OE-Core rev: fdfe429dad9b9ab685caf3a61876f7a23453aedd)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-23 10:12:08 +01:00
Alexander Kanavin
1b349efbc2 elfutils: correct debuginfod builds on x32
(From OE-Core rev: 53cd394a6fe409eef3542832ad81ae3dd2cc6aad)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-23 10:12:08 +01:00
Changqing Li
46edbab0b3 libpam: make volatile files created successfully
(From OE-Core rev: f0de19e31122abd225bd75c6202839094194a36d)

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-23 10:12:08 +01:00
Teoh Jay Shen
d601dfdb74 oeqa/manual/bsp-hw.json : remove Test_if_usb_hid_device_works_well_after_resume_from_suspend_state manual test
Remove the Test_if_usb_hid_device_works_well_after_resume_from_suspend_state test as it was replaced by the new automated runtime oeqa/runtime/cases/usb_hid.py.

(From OE-Core rev: 61b0eba90ba4676967b96b5561f99ee2294352a0)

Signed-off-by: Teoh Jay Shen <jay.shen.teoh@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-23 10:12:08 +01:00
Teoh Jay Shen
7542a292de oeqa/manual/bsp-hw.json :remove Check_if_RTC_(Real_Time_Clock)_can_work_correctly manual test
Remove the Check_if_RTC_(Real_Time_Clock)_can_work_correctly test as it was replaced by the new automated runtime oeqa/runtime/cases/rtc.py.

(From OE-Core rev: ea5d87f014b33b88402176ae7e07f8ff216415a0)

Signed-off-by: Teoh Jay Shen <jay.shen.teoh@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-23 10:12:08 +01:00
Teoh Jay Shen
711039f052 oeqa/manual/bsp-hw.json : remove click_terminal_icon_on_X_desktop manual test
Remove the click_terminal_icon_on_X_desktop test as it was replaced by the new automated runtime oeqa/runtime/cases/terminal.py.

(From OE-Core rev: ce10543b03349a68dd2639990b8c267110dcab2e)

Signed-off-by: Teoh Jay Shen <jay.shen.teoh@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-23 10:12:08 +01:00
Teoh Jay Shen
3d02cc072e oeqa/manual/bsp-hw.json : remove standby and Test_if_LAN_device_works_well_after_resume_from_suspend_state manual test
Remove standby and Test_if_LAN_device_works_well_after_resume_from_suspend_state test as they was replaced by the new automated runtime oeqa/runtime/cases/suspend.py.

(From OE-Core rev: 2b99a35f0131300a121304ac46f2d29b593128c0)

Signed-off-by: Teoh Jay Shen <jay.shen.teoh@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-23 10:12:08 +01:00
Teoh Jay Shen
495f029389 oeqa/manual/bsp-hw.json : remove ethernet_static_ip_set_in_connman and ethernet_get_IP_in_connman_via_DHCP manual test
Remove ethernet_static_ip_set_in_connman and ethernet_get_IP_in_connman_via_DHCP test as they was replaced by the new automated runtime oeqa/runtime/cases/ethernet_ip_connman.py.

(From OE-Core rev: bb7d753e636c81d1a9d48210da6910c711e4f2df)

Signed-off-by: Teoh Jay Shen <jay.shen.teoh@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-23 10:12:08 +01:00
Teoh Jay Shen
99d8cd1201 oeqa/manual/bsp-hw.json : remove boot_from_runlevel_3 and boot_from_runlevel_5 manual test
Remove boot_from_runlevel_3 and boot_from_runlevel_5 test as they was replaced by the new automated runtime oeqa/runtime/cases/runlevel.py.

(From OE-Core rev: f4f9dffddf699cef63ab5554e2f92ae026574e89)

Signed-off-by: Teoh Jay Shen <jay.shen.teoh@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-23 10:12:08 +01:00
Richard Purdie
63b0992ab7 patchelf: Backport fix from upstream for note section overlap error
Backport a patch from upstream to fix an error:
patchelf: cannot normalize PT_NOTE segment: non-contiguous SHT_NOTE sections

seen on our ubuntu1604 autobuilder worker.

(From OE-Core rev: 80e8f7d34d7032cc94b61bf155eac7648e6b6c74)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-23 10:12:08 +01:00
Khem Raj
c365e38233 weston: Drop loading xwayland.so module
This module is no longer installed by x11 instead it uses a stand along
server for xwayland, as a result when xwayland is enabled in
packageconfig in weston then it fails to load xwayland.so during runtime

Fixes

[21:07:12.-100663296] Old Xwayland module loading detected: Please use --xwayland command line option or set xwayland=true in the [core] section in weston.ini
[21:07:12.-100663296] Loading module '/usr/lib/libweston-9/xwayland.so'
[21:07:12.-100663296] Failed to load module: /usr/lib/libweston-9/xwayland.so: cannot open shared object file: No such file or directory
[21:07:12.-100663296] Destroying fbdev output.

(From OE-Core rev: aa829e27a0d3bda3ed943005c1622e71d38bb872)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-23 10:12:08 +01:00
Martin Jansa
5625fbdfa5 xwayland: add opengl to REQUIRED_DISTRO_FEATURES
* it depends on libepoxy which has this restriction
* fixes:
  ERROR: Nothing PROVIDES 'libepoxy' (but openembedded-core/meta/recipes-graphics/xwayland/xwayland_21.1.1.bb DEPENDS on or otherwise requires it)
  libepoxy was skipped: missing required distro feature 'opengl' (not in DISTRO_FEATURES)
  ERROR: Nothing RPROVIDES 'xwayland' (but openembedded-core/meta/recipes-graphics/xwayland/xwayland_21.1.1.bb RDEPENDS on or otherwise requires it)
  No eligible RPROVIDERs exist for 'xwayland'
  NOTE: Runtime target 'xwayland' is unbuildable, removing...
  Missing or unbuildable dependency chain was: ['xwayland']
  ERROR: Nothing RPROVIDES 'xwayland-dev' (but openembedded-core/meta/recipes-graphics/xwayland/xwayland_21.1.1.bb RDEPENDS on or otherwise requires it)
  No eligible RPROVIDERs exist for 'xwayland-dev'
  NOTE: Runtime target 'xwayland-dev' is unbuildable, removing...
  Missing or unbuildable dependency chain was: ['xwayland-dev']

(From OE-Core rev: d5455a8f636599d6be8c36ea1578274148d558df)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-23 10:12:08 +01:00
Konrad Weihmann
df2a1f37f7 cve-update-db-native: skip on empty cpe23Uri
Recently an entry in the NVD DB appeared that looks like that
{'vulnerable': True, 'cpe_name': []}.
As besides all the vulnerable flag no data is present we would get
a KeyError exception on acccess.
Use get method on dictionary and return if no meta data is present
Also quit if the length of the array after splitting is less than 6

(From OE-Core rev: 00ce2796d97de2bc376b038d0ea7969088791d34)

Signed-off-by: Konrad Weihmann <kweihmann@outlook.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-23 10:06:04 +01:00
Richard Purdie
d5eb86b3aa runqemu: Ensure we cleanup snapshot files after image run
We need to cleanup snapshot files if we make a copy of them to ensure
the tmpfs doesn't run out of space. There is already NFS code needing
this so make it a generic code path.

(From OE-Core rev: a3e0eec5a4785a0c4859455eb10b43aa832e606d)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-23 00:08:38 +01:00
Richard Purdie
6f7bc9e4af poky.conf: Post release version bump
(From meta-yocto rev: 63b7374d9053f4f585d7e30fc2347fafa4381528)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-21 22:43:58 +01:00
Bruce Ashfield
1f75873390 linux-yocto/5.10: fix arm defconfig warnings
A recent fix to the kern-tools promoted some previously unseen
issues to warnings. This commit fixes them by tagging some BT
options as non-hardware so they won't generate warnings if they
don't appear in the final .config. These are sub BT options and
shouldn't warn when/if their controlling option is disabled by
a fragment.

    40a967b115f base: exclude some BT options as non-hardware

(From OE-Core rev: fc7875ce3c68a253f8b8e5d8855c1814731b5a45)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-21 22:43:58 +01:00
Bruce Ashfield
afb15a8817 linux-yocto/5.4: fix arm defconfig warnings
A recent fix to the kern-tools promoted some previously unseen
issues to warnings. This commit fixes them by tagging some BT
options as non-hardware so they won't generate warnings if they
don't appear in the final .config. These are sub BT options and
shouldn't warn when/if their controlling option is disabled by
a fragment.

    d7fd0213b75 base: exclude some BT options as non-hardware

(From OE-Core rev: a86c8251905baf5bf4714f3db01cdfae02383839)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-21 22:43:58 +01:00
Bruce Ashfield
64d8607232 linux-yocto/5.4: update to v5.4.112
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:

    8f55ad4daf00 Linux 5.4.112
    ea42fd91d304 Revert "cifs: Set CIFS_MOUNT_USE_PREFIX_PATH flag on setting cifs_sb->prepath."
    7ee5bde3164c net: ieee802154: stop dump llsec params for monitors
    b4042ecc12cb net: ieee802154: forbid monitor for del llsec seclevel
    e82f8b7713ab net: ieee802154: forbid monitor for set llsec params
    948a2817f71d net: ieee802154: fix nl802154 del llsec devkey
    b3a105e15cd6 net: ieee802154: fix nl802154 add llsec key
    4097afd93df7 net: ieee802154: fix nl802154 del llsec dev
    7d32fc7964d6 net: ieee802154: fix nl802154 del llsec key
    8f4c815c74f4 net: ieee802154: nl-mac: fix check on panid
    38ea2b3ed00f net: mac802154: Fix general protection fault
    6e7098f56c83 drivers: net: fix memory leak in peak_usb_create_dev
    32e2f9a708e1 drivers: net: fix memory leak in atusb_probe
    0a790ad1358b net: tun: set tun->dev->addr_len during TUNSETLINK processing
    ed13df88c6d5 cfg80211: remove WARN_ON() in cfg80211_sme_connect
    628ac886dfba net: sched: bump refcount for new action in ACT replace mode
    3dbafee8426f dt-bindings: net: ethernet-controller: fix typo in NVMEM
    f4c5968da773 clk: socfpga: fix iomem pointer cast on 64-bit
    35ba6d9240ee RAS/CEC: Correct ce_add_elem()'s returned values
    f666ad4f8d87 RDMA/addr: Be strict with gid size
    44d03319fe77 RDMA/cxgb4: check for ipv6 address properly while destroying listener
    3ca5345db92c net/mlx5: Fix PBMC register mapping
    798d94a274fb net/mlx5: Fix placement of log_max_flow_counter
    9716aac17419 net: hns3: clear VF down state bit before request link status
    9dd7092d1a96 openvswitch: fix send of uninitialized stack memory in ct limit reply
    731abf396e37 net: openvswitch: conntrack: simplify the return expression of ovs_ct_limit_get_default_limit()
    d0aab59f0993 perf inject: Fix repipe usage
    d3343a35d108 s390/cpcmd: fix inline assembly register clobbering
    c88fa8d4f994 workqueue: Move the position of debug_work_activate() in __queue_work()
    14060454cdb9 clk: fix invalid usage of list cursor in unregister
    bedda47d5dce clk: fix invalid usage of list cursor in register
    b3717885865c net: macb: restore cmp registers on resume path
    c61fe6b7e21f scsi: ufs: core: Fix wrong Task Tag used in task management request UPIUs
    81fddc7be649 scsi: ufs: core: Fix task management request completion timeout
    f6abec1a3172 scsi: ufs: Use blk_{get,put}_request() to allocate and free TMFs
    a8d2d45c70c7 scsi: ufs: Avoid busy-waiting by eliminating tag conflicts
    c5efc9d26c84 scsi: ufs: Fix irq return code
    537a2449cc6f net: udp: Add support for getsockopt(..., ..., UDP_GRO, ..., ...);
    de8c5962bdae drm/msm: Set drvdata to NULL when msm_drm_init() fails
    e22ce1d21b42 i40e: Fix display statistics for veb_tc
    7c0d2372298f soc/fsl: qbman: fix conflicting alignment attributes
    c178e8a19937 net/rds: Fix a use after free in rds_message_map_pages
    73f88cc2bf5c net/mlx5: Don't request more than supported EQs
    029416e14be2 net/mlx5e: Fix ethtool indication of connector type
    1f3010fc3fe6 ASoC: sunxi: sun4i-codec: fill ASoC card owner
    db4600aa938c net: phy: broadcom: Only advertise EEE for supported modes
    6aa7d2621b19 nfp: flower: ignore duplicate merge hints from FW
    bbbee59f4f32 net/ncsi: Avoid channel_monitor hrtimer deadlock
    c66b672a231c ARM: dts: imx6: pbab01: Set vmmc supply for both SD interfaces
    c991ca6a2c79 net:tipc: Fix a double free in tipc_sk_mcast_rcv
    200c8453287f cxgb4: avoid collecting SGE_QBASE regs during traffic
    e9bdd3e45f0e gianfar: Handle error code at MAC address change
    516c436ff5d6 can: bcm/raw: fix msg_namelen values depending on CAN_REQUIRED_SIZE
    ca443546f8d4 arm64: dts: imx8mm/q: Fix pad control of SD1_DATA0
    840a181729ac sch_red: fix off-by-one checks in red_check_params()
    accb27006595 amd-xgbe: Update DMA coherency values
    e472f6814ceb hostfs: fix memory handling in follow_link()
    613f35568a5d hostfs: Use kasprintf() instead of fixed buffer formatting
    fec47d458add i40e: Fix kernel oops when i40e driver removes VF's
    c0aacaa0a8f2 i40e: Added Asym_Pause to supported link modes
    f819977ad42c xfrm: Fix NULL pointer dereference on policy lookup
    bac7e764e5d5 ASoC: wm8960: Fix wrong bclk and lrclk with pll enabled for some chips
    b32969aaed1c ASoC: SOF: Intel: HDA: fix core status verification
    99b4e9af8f00 ASoC: SOF: Intel: hda: remove unnecessary parentheses
    540ddeed5c51 esp: delete NETIF_F_SCTP_CRC bit from features for esp offload
    a128e07b472b net: xfrm: Localize sequence counter per network namespace
    34659399e713 regulator: bd9571mwv: Fix AVS and DVFS voltage range
    d78e99dd4960 xfrm: interface: fix ipv4 pmtu check to honor ip header df
    7977d5fe3d5b net: dsa: lantiq_gswip: Configure all remaining GSWIP_MII_CFG bits
    249908ed36a8 net: dsa: lantiq_gswip: Don't use PHY auto polling
    910e785ba8de virtio_net: Add XDP meta data support
    0534f1f1bc76 i2c: turn recovery error on init to debug
    cafced041915 usbip: synchronize event handler with sysfs code paths
    37168011d427 usbip: vudc synchronize sysfs code paths
    06fedcc6870e usbip: stub-dev synchronize sysfs code paths
    6a435364b608 usbip: add sysfs_lock to synchronize sysfs code paths
    b02bded94b91 net: let skb_orphan_partial wake-up waiters.
    fd8a95d56050 net-ipv6: bugfix - raw & sctp - switch to ipv6_can_nonlocal_bind()
    b5e7653ffdd1 net: hsr: Reset MAC header for Tx path
    a9311be5f617 mac80211: fix TXQ AC confusion
    5a4f39f19e6f net: sched: sch_teql: fix null-pointer dereference
    2f5edf14f62a i40e: Fix sparse error: 'vsi->netdev' could be null
    b31d91e9e8c8 i40e: Fix sparse warning: missing error code 'err'
    599200ad44e7 net: ensure mac header is set in virtio_net_hdr_to_skb()
    158a9b815c54 bpf, sockmap: Fix sk->prot unhash op reset
    0242251d6a97 ethernet/netronome/nfp: Fix a use after free in nfp_bpf_ctrl_msg_rx
    4a2933c88399 net: hso: fix null-ptr-deref during tty device unregistration
    ef2ccf84071f ice: Cleanup fltr list in case of allocation issues
    0df579b3de8c ice: Fix for dereference of NULL pointer
    1aecc5781101 ice: Increase control queue timeout
    9de1caa1103f batman-adv: initialize "struct batadv_tvlv_tt_vlan_data"->reserved field
    79407ae3475e ARM: dts: turris-omnia: configure LED[2]/INTn pin as interrupt pin
    9dfd74a8c015 parisc: avoid a warning on u8 cast for cmpxchg on u8 pointers
    957d0308aa36 parisc: parisc-agp requires SBA IOMMU driver
    507c2009dc4c fs: direct-io: fix missing sdio->boundary
    f495bedb001b ocfs2: fix deadlock between setattr and dio_end_io_write
    52999a66c0b3 nds32: flush_dcache_page: use page_mapping_file to avoid races with swapoff
    75fd54ea1b60 ia64: fix user_stack_pointer() for ptrace()
    7a92396bf8dd gcov: re-fix clang-11+ support
    c2b3cf2c70d6 drm/i915: Fix invalid access to ACPI _DSM objects
    0e8f850e26b2 net: dsa: lantiq_gswip: Let GSWIP automatically set the xMII clock
    6649b5eda131 net: ipv6: check for validity before dereferencing cfg->fc_nlinfo.nlh
    a09acbb53934 xen/evtchn: Change irq_info lock to raw_spinlock_t
    aa0cff2e0751 nfc: Avoid endless loops caused by repeated llcp_sock_connect()
    404daa4d62a3 nfc: fix memory leak in llcp_sock_connect()
    41bc58ba0945 nfc: fix refcount leak in llcp_sock_connect()
    c89903c9eff2 nfc: fix refcount leak in llcp_sock_bind()
    12289d9840d6 ASoC: intel: atom: Stop advertising non working S24LE support
    c99780f782aa ALSA: hda/realtek: Fix speaker amp setup on Acer Aspire E1
    da8f3cc5771e ALSA: aloop: Fix initialization of controls
    8732c2df9d15 counter: stm32-timer-cnt: fix ceiling miss-alignment with reload register

(From OE-Core rev: bd41c1b7170b4d27bebac0a4387cad070c41e03d)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-21 22:43:58 +01:00
Bruce Ashfield
c6f0f24dba linux-yocto-rt/5.10: update to -rt34
Integrating the following commit(s) to linux-yocto/5.10:

    ac98a75ef2bc net/xfrm: fixup 5.10.30 -stable merge

(From OE-Core rev: 2e7dd8afd0dbe7803170006297309b6699b98f34)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-21 22:43:58 +01:00
Bruce Ashfield
6698385521 linux-yocto/5.10: update to v5.10.30
Updating linux-yocto/5.10 to the latest korg -stable release that comprises
the following commits:

    1e798745fa8e Linux 5.10.30
    b451aed56348 Revert "net: sched: bump refcount for new action in ACT replace mode"
    a22115c3492f net: ieee802154: stop dump llsec params for monitors
    f872fb3feadd net: ieee802154: forbid monitor for del llsec seclevel
    a933bcbb1f7f net: ieee802154: forbid monitor for set llsec params
    0238c7b47f77 net: ieee802154: fix nl802154 del llsec devkey
    d06a96e72803 net: ieee802154: fix nl802154 add llsec key
    399f38c420ee net: ieee802154: fix nl802154 del llsec dev
    07699fcce052 net: ieee802154: fix nl802154 del llsec key
    8bfb45fa131d net: ieee802154: nl-mac: fix check on panid
    38731bbcd9f0 net: mac802154: Fix general protection fault
    9f51a42d81f6 drivers: net: fix memory leak in peak_usb_create_dev
    160ac0d55d52 drivers: net: fix memory leak in atusb_probe
    4d9117b7404a net: tun: set tun->dev->addr_len during TUNSETLINK processing
    26ab092615f5 cfg80211: remove WARN_ON() in cfg80211_sme_connect
    138a6e1dc35e gpiolib: Read "gpio-line-names" from a firmware node
    300368c59cf0 net: sched: bump refcount for new action in ACT replace mode
    982dd14fba0f dt-bindings: net: ethernet-controller: fix typo in NVMEM
    c65a000a236e lockdep: Address clang -Wformat warning printing for %hd
    4c4aa344edf4 clk: socfpga: fix iomem pointer cast on 64-bit
    674ddb52f94b RAS/CEC: Correct ce_add_elem()'s returned values
    253acf2e983b vdpa/mlx5: Fix wrong use of bit numbers
    0ddb34c2ccce vdpa/mlx5: should exclude header length and fcs from mtu
    5700c3d4abb2 RDMA/addr: Be strict with gid size
    e53ff6e59144 i40e: Fix parameters in aq_get_phy_register()
    999852207464 drm/vc4: crtc: Reduce PV fifo threshold on hvs4
    d8a0861e269d RDMA/qedr: Fix kernel panic when trying to access recv_cq
    3fa7ae3f3754 perf report: Fix wrong LBR block sorting
    7f40e9332898 RDMA/cxgb4: check for ipv6 address properly while destroying listener
    03ad6a2521a0 net/mlx5: Fix PBMC register mapping
    1312f11eb33d net/mlx5: Fix PPLM register mapping
    f92faf0bdd25 net/mlx5: Fix placement of log_max_flow_counter
    f780a0808827 net: hns3: clear VF down state bit before request link status
    f473789db536 tipc: increment the tmp aead refcnt before attaching it
    3292c4fc9ce2 can: mcp251x: fix support for half duplex SPI host controllers
    a96f1ed70927 iwlwifi: fix 11ax disabled bit in the regulatory capability flags
    363d610a9652 i2c: designware: Adjust bus_freq_hz when refuse high speed mode set
    cc5418973cc9 openvswitch: fix send of uninitialized stack memory in ct limit reply
    3e288c3a7d55 net: openvswitch: conntrack: simplify the return expression of ovs_ct_limit_get_default_limit()
    3b70c6f26364 perf inject: Fix repipe usage
    d9dc1b406cb9 s390/cpcmd: fix inline assembly register clobbering
    7943f749f0d2 workqueue: Move the position of debug_work_activate() in __queue_work()
    b3f29ed5dd4b clk: fix invalid usage of list cursor in unregister
    2307baac56af clk: fix invalid usage of list cursor in register
    d9c55b2d3368 net: macb: restore cmp registers on resume path
    af36da5becfb net: cls_api: Fix uninitialised struct field bo->unlocked_driver_cb
    ffd5f1e87c15 scsi: ufs: core: Fix wrong Task Tag used in task management request UPIUs
    ff9231ddfec8 scsi: ufs: core: Fix task management request completion timeout
    71ee255d0698 mptcp: forbit mcast-related sockopt on MPTCP sockets
    24bbfe89b1c7 net: udp: Add support for getsockopt(..., ..., UDP_GRO, ..., ...);
    a08d5d3bec53 drm/msm: Set drvdata to NULL when msm_drm_init() fails
    7290bf419894 RDMA/rtrs-clt: Close rtrs client conn before destroying rtrs clt session files
    49cfa2b20193 i40e: Fix display statistics for veb_tc
    e8c96b57a781 soc/fsl: qbman: fix conflicting alignment attributes
    553290002aa8 xdp: fix xdp_return_frame() kernel BUG throw for page_pool memory model
    4cfae7b23889 net/rds: Fix a use after free in rds_message_map_pages
    05bbe9d85a4c net/mlx5: Don't request more than supported EQs
    86530effd18f net/mlx5e: Fix ethtool indication of connector type
    bde64eac2379 net/mlx5e: Fix mapping of ct_label zero
    d65b66ca3334 ASoC: sunxi: sun4i-codec: fill ASoC card owner
    dcdf0876b040 I2C: JZ4780: Fix bug for Ingenic X1000.
    f295dfc831bc net: phy: broadcom: Only advertise EEE for supported modes
    7a896e189361 nfp: flower: ignore duplicate merge hints from FW
    6af631d1caf2 net: qrtr: Fix memory leak on qrtr_tx_wait failure
    dfe7805e6aa6 net/ncsi: Avoid channel_monitor hrtimer deadlock
    ae4a8d10ac8b ARM: dts: imx6: pbab01: Set vmmc supply for both SD interfaces
    e5e5ecc9d9fd net:tipc: Fix a double free in tipc_sk_mcast_rcv
    f273e3726e14 cxgb4: avoid collecting SGE_QBASE regs during traffic
    63a64c366ce0 net: dsa: Fix type was not set for devlink port
    ed613d96842e gianfar: Handle error code at MAC address change
    1eb5f4e00755 ethernet: myri10ge: Fix a use after free in myri10ge_sw_tso
    759b44d247c6 mlxsw: spectrum: Fix ECN marking in tunnel decapsulation
    d02b68a92905 can: isotp: fix msg_namelen values depending on CAN_REQUIRED_SIZE
    1d3837ca7335 can: bcm/raw: fix msg_namelen values depending on CAN_REQUIRED_SIZE
    58f8f1074039 xfrm: Provide private skb extensions for segmented and hw offloaded ESP packets
    bc0b89a9a28f arm64: dts: imx8mm/q: Fix pad control of SD1_DATA0
    d9670f5e77e5 drivers/net/wan/hdlc_fr: Fix a double free in pvc_xmit
    d38bce5adcd9 sch_red: fix off-by-one checks in red_check_params()
    985c9bb1b594 geneve: do not modify the shared tunnel info when PMTU triggers an ICMP reply
    f3bc1885746f vxlan: do not modify the shared tunnel info when PMTU triggers an ICMP reply
    f33f79703a4e amd-xgbe: Update DMA coherency values
    e5a3449ce16a hostfs: fix memory handling in follow_link()
    3cc4db1213a4 i40e: Fix kernel oops when i40e driver removes VF's
    9856607c9c29 i40e: Added Asym_Pause to supported link modes
    d4d4c6a4ca7c virtchnl: Fix layout of RSS structures
    95d58bf5ed43 xfrm: Fix NULL pointer dereference on policy lookup
    48a443026bb6 ASoC: wm8960: Fix wrong bclk and lrclk with pll enabled for some chips
    f6db9dbfa6b6 ASoC: SOF: Intel: HDA: fix core status verification
    ef4ddd1d6d93 esp: delete NETIF_F_SCTP_CRC bit from features for esp offload
    0224432a8fc1 net: xfrm: Localize sequence counter per network namespace
    1e6a3b41cf2a ARM: OMAP4: PM: update ROM return address for OSWR and OFF
    042b2cad81de ARM: OMAP4: Fix PMIC voltage domains for bionic
    1f51cb88e788 regulator: bd9571mwv: Fix AVS and DVFS voltage range
    b267688ce007 remoteproc: qcom: pil_info: avoid 64-bit division
    c7a175a24b0e xfrm: Use actual socket sk instead of skb socket for xfrm_output_resume
    3b74ce529ece xfrm: interface: fix ipv4 pmtu check to honor ip header df
    2d62d6980c2b ice: Recognize 860 as iSCSI port in CEE mode
    fd92e7aacc16 ice: Refactor DCB related variables out of the ice_port_info struct
    4a78ae127803 net: sched: fix err handler in tcf_action_init()
    3c7d3d188ca7 KVM: x86/mmu: preserve pending TLB flush across calls to kvm_tdp_mmu_zap_sp
    25fc773b21ce KVM: x86/mmu: Don't allow TDP MMU to yield when recovering NX pages
    be2c527b5d39 KVM: x86/mmu: Ensure TLBs are flushed for TDP MMU during NX zapping
    0aa4dd9e5132 KVM: x86/mmu: Ensure TLBs are flushed when yielding during GFN range zap
    3c7a18440638 KVM: x86/mmu: Yield in TDU MMU iter even if no SPTES changed
    85f4ff2b06af KVM: x86/mmu: Ensure forward progress when yielding in TDP MMU iter
    1cd17c5c9b8a KVM: x86/mmu: Rename goal_gfn to next_last_level_gfn
    b4a3a0d27924 KVM: x86/mmu: Merge flush and non-flush tdp_mmu_iter_cond_resched
    8f90432d7f59 KVM: x86/mmu: change TDP MMU yield function returns to match cond_resched
    5ea9e6038d29 i2c: turn recovery error on init to debug
    efa869b68be9 percpu: make pcpu_nr_empty_pop_pages per chunk type
    c441949184a9 scsi: target: iscsi: Fix zero tag inside a trace event
    d8e7fa8509d7 scsi: pm80xx: Fix chip initialization failure
    0c47d8a55f7f driver core: Fix locking bug in deferred_probe_timeout_work_func()
    f06cb4641b15 usbip: synchronize event handler with sysfs code paths
    28dc9237fe83 usbip: vudc synchronize sysfs code paths
    513765b186c9 usbip: stub-dev synchronize sysfs code paths
    68be610c19a5 usbip: add sysfs_lock to synchronize sysfs code paths
    126ce97d39cf thunderbolt: Fix off by one in tb_port_find_retimer()
    256ece954961 thunderbolt: Fix a leak in tb_retimer_add()
    b830650c1a0c net: let skb_orphan_partial wake-up waiters.
    5d9216b85100 net-ipv6: bugfix - raw & sctp - switch to ipv6_can_nonlocal_bind()
    b82816d77875 net: hsr: Reset MAC header for Tx path
    9b9c910ccc19 mac80211: fix TXQ AC confusion
    cc357c29358d mac80211: fix time-is-after bug in mlme
    cc1a702e6ec0 cfg80211: check S1G beacon compat element length
    fea52345f422 nl80211: fix potential leak of ACL params
    42e4450e3790 nl80211: fix beacon head validation
    81692c6add7e net: sched: fix action overwrite reference counting
    cdcf3829f418 net: sched: sch_teql: fix null-pointer dereference
    422eda625516 vdpa/mlx5: Fix suspend/resume index restoration
    89e406e95278 i40e: Fix sparse errors in i40e_txrx.c
    12e1438a0946 i40e: Fix sparse error: uninitialized symbol 'ring'
    2472ba1c46b4 i40e: Fix sparse error: 'vsi->netdev' could be null
    792387118204 i40e: Fix sparse warning: missing error code 'err'
    f0b4c9acf5fe net: ensure mac header is set in virtio_net_hdr_to_skb()
    72c5de25ba83 bpf, sockmap: Fix incorrect fwd_alloc accounting
    00c01de1a994 bpf, sockmap: Fix sk->prot unhash op reset
    d921baabd964 bpf: Refcount task stack in bpf_get_task_stack
    caef7806141a libbpf: Only create rx and tx XDP rings when necessary
    4cc9177b099e libbpf: Restore umem state after socket create failure
    5aa7df172207 libbpf: Ensure umem pointer is non-NULL before dereferencing
    b52e88638f71 ethernet/netronome/nfp: Fix a use after free in nfp_bpf_ctrl_msg_rx
    d86046a77535 bpf: link: Refuse non-O_RDWR flags in BPF_OBJ_GET
    b7004ecafade bpf: Enforce that struct_ops programs be GPL-only
    3015db3de715 libbpf: Fix bail out from 'ringbuf_process_ring()' on error
    dc195928d7e4 net: hso: fix null-ptr-deref during tty device unregistration
    c2743e0a631c ice: fix memory leak of aRFS after resuming from suspend
    6bd4e822925d iwlwifi: pcie: properly set LTR workarounds on 22000 devices
    e5386e87f8aa ice: Cleanup fltr list in case of allocation issues
    9d1c342c5018 ice: Use port number instead of PF ID for WoL
    b69686110291 ice: Fix for dereference of NULL pointer
    4d73a6143d40 ice: remove DCBNL_DEVRESET bit from PF state
    286830a8469c ice: fix memory allocation call
    4686a26e9536 ice: prevent ice_open and ice_stop during reset
    ef7ed8c77d1c ice: Increase control queue timeout
    6590b7bfbc2b ice: Continue probe on link/PHY errors
    9a7bc0c40367 batman-adv: initialize "struct batadv_tvlv_tt_vlan_data"->reserved field
    d1173effc574 ARM: dts: turris-omnia: configure LED[2]/INTn pin as interrupt pin
    4941889535f3 parisc: avoid a warning on u8 cast for cmpxchg on u8 pointers
    597121792eb4 parisc: parisc-agp requires SBA IOMMU driver
    9b54dad28def of: property: fw_devlink: do not link ".*,nr-gpios"
    009c5665278b ethtool: fix incorrect datatype in set_eee ops
    3a675c1b507f fs: direct-io: fix missing sdio->boundary
    b1a5122554ae ocfs2: fix deadlock between setattr and dio_end_io_write
    4fabcf229477 nds32: flush_dcache_page: use page_mapping_file to avoid races with swapoff
    7d9da660affc ia64: fix user_stack_pointer() for ptrace()
    8e5bfafedf6d gcov: re-fix clang-11+ support
    43908139368e LOOKUP_MOUNTPOINT: we are cleaning "jumped" flag too late
    de427b662bfb IB/hfi1: Fix probe time panic when AIP is enabled with a buggy BIOS
    856f60e3e800 ACPI: processor: Fix build when CONFIG_ACPI_PROCESSOR=m
    8599a39adca8 drm/i915: Fix invalid access to ACPI _DSM objects
    bf991df9535e net: dsa: lantiq_gswip: Configure all remaining GSWIP_MII_CFG bits
    c4ae852ec940 net: dsa: lantiq_gswip: Don't use PHY auto polling
    ba39959bfebd net: dsa: lantiq_gswip: Let GSWIP automatically set the xMII clock
    40375bc3d0f9 net: ipv6: check for validity before dereferencing cfg->fc_nlinfo.nlh
    005c5afa9f85 xen/evtchn: Change irq_info lock to raw_spinlock_t
    a28124e8ad03 selinux: fix race between old and new sidtab
    fd75d73aa214 selinux: fix cond_list corruption when changing booleans
    4f29b08e238f selinux: make nslot handling in avtab more robust
    a12a2fa9a129 nfc: Avoid endless loops caused by repeated llcp_sock_connect()
    568ac94df580 nfc: fix memory leak in llcp_sock_connect()
    99b596199e84 nfc: fix refcount leak in llcp_sock_connect()
    6fb003e5ae18 nfc: fix refcount leak in llcp_sock_bind()
    117557711974 ASoC: intel: atom: Stop advertising non working S24LE support
    c4a6fb0e8389 ALSA: hda/conexant: Apply quirk for another HP ZBook G5 model
    6c9119de7ffe ALSA: hda/realtek: Fix speaker amp setup on Acer Aspire E1
    6efe4c1f4d17 ALSA: aloop: Fix initialization of controls
    4c933ff31f21 xfrm/compat: Cleanup WARN()s that can be user-triggered

(From OE-Core rev: aec9a6d709f14decd65013434f13a26c57e9196f)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-21 22:43:58 +01:00
Bruce Ashfield
55d65fc106 linux-yocto/5.4: update to v5.4.111
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:

    a49e5ea5e045 Linux 5.4.111
    45f540622d5b init/Kconfig: make COMPILE_TEST depend on HAS_IOMEM
    43dd03f08819 init/Kconfig: make COMPILE_TEST depend on !S390
    f5eb7e12a75d nvme-mpath: replace direct_make_request with generic_make_request
    6cce30548058 bpf, x86: Validate computation of branch displacements for x86-32
    a0b3927a07be bpf, x86: Validate computation of branch displacements for x86-64
    20c60bbc1c54 cifs: Silently ignore unknown oplock break handle
    754c82a6bf48 cifs: revalidate mapping when we open files for SMB1 POSIX
    e5991b4fcedb ia64: fix format strings for err_inject
    3e9292b39862 ia64: mca: allocate early mca with GFP_ATOMIC
    9b872bac1923 scsi: target: pscsi: Clean up after failure in pscsi_map_sg()
    e2db0e66139a x86/build: Turn off -fcf-protection for realmode targets
    0465098898ef platform/x86: thinkpad_acpi: Allow the FnLock LED to change state
    5a8c30e8acad netfilter: conntrack: Fix gre tunneling over ipv6
    e84a795b8a0b drm/msm: Ratelimit invalid-fence message
    daf5aaa8e6e0 drm/msm/adreno: a5xx_power: Don't apply A540 lm_setup to other GPUs
    6abe3dad0afe mac80211: choose first enabled channel for monitor
    37b51460b25a mISDN: fix crash in fritzpci
    901d39f7b2ce net: pxa168_eth: Fix a potential data race in pxa168_eth_remove
    dc7c4d30d6e0 net/mlx5e: Enforce minimum value check for ICOSQ size
    b0e2b3271236 bpf, x86: Use kvmalloc_array instead kmalloc_array in bpf_jit_comp
    e5868baa1e3c platform/x86: intel-hid: Support Lenovo ThinkPad X1 Tablet Gen 2
    422c68101110 bus: ti-sysc: Fix warning on unbind if reset is not deasserted
    bec7103b04a9 ARM: dts: am33xx: add aliases for mmc interfaces
    59c8e3329268 Linux 5.4.110
    cde4e338c2b2 drivers: video: fbcon: fix NULL dereference in fbcon_cursor()
    0ca13611d33f staging: rtl8192e: Change state information from u16 to u8
    f9974f189c67 staging: rtl8192e: Fix incorrect source in memcpy()
    fd5ce87aee48 usb: dwc2: Prevent core suspend when port connection flag is 0
    85e1752ae0ed usb: dwc2: Fix HPRT0.PrtSusp bit setting for HiKey 960 board.
    26d2284a0580 usb: gadget: udc: amd5536udc_pci fix null-ptr-dereference
    25c13ca8302f USB: cdc-acm: fix use-after-free after probe failure
    b5aedddb621e USB: cdc-acm: fix double free on probe failure
    7220bba3066e USB: cdc-acm: downgrade message to debug
    62da51d0e7b7 USB: cdc-acm: untangle a circular dependency between callback and softint
    7443350af8cb cdc-acm: fix BREAK rx code path adding necessary calls
    58cace45f84b usb: xhci-mtk: fix broken streams issue on 0.96 xHCI
    a22e35f7b4fb usb: musb: Fix suspend with devices connected for a64
    e94dec2765b5 USB: quirks: ignore remote wake-up on Fibocom L850-GL LTE modem
    2ecf5803557b usbip: vhci_hcd fix shift out-of-bounds in vhci_hub_control()
    5ecfad1efbc3 firewire: nosy: Fix a use-after-free bug in nosy_ioctl()
    58073dc536a6 extcon: Fix error handling in extcon_dev_register
    e3a3d5005e63 extcon: Add stubs for extcon_register_notifier_all() functions
    67ff75be1ab1 pinctrl: rockchip: fix restore error in resume
    c92e8a8ecb9d vfio/nvlink: Add missing SPAPR_TCE_IOMMU depends
    7f93d47677dd reiserfs: update reiserfs_xattrs_initialized() condition
    4dc52ce56d63 drm/amdgpu: check alignment on CPU page for bo map
    f9b3b70fd468 drm/amdgpu: fix offset calculation in amdgpu_vm_bo_clear_mappings()
    00bd9c22409e mm: fix race by making init_zero_pfn() early_initcall
    558ab52776c0 tracing: Fix stack trace event size
    07b19a118d2f PM: runtime: Fix ordering in pm_runtime_get_suppliers()
    72a667681cc4 PM: runtime: Fix race getting/putting suppliers at probe
    b6e7dbf0ed9c xtensa: move coprocessor_flush to the .text section
    c3715f06f9ad ALSA: hda/realtek: call alc_update_headset_mode() in hp_automute_hook
    09a08fd89996 ALSA: hda/realtek: fix a determine_headset_type issue for a Dell AIO
    3acbf473a885 ALSA: hda: Add missing sanity checks in PM prepare/complete callbacks
    65f92e40cc6d ALSA: hda: Re-add dropped snd_poewr_change_state() calls
    05dd1a4223c5 ALSA: usb-audio: Apply sample rate quirk to Logitech Connect
    42c83e3bca43 bpf: Remove MTU check in __bpf_skb_max_len
    aca623d79cb7 net: wan/lmc: unregister device when no matching device is found
    f22854911523 appletalk: Fix skb allocation size in loopback case
    4ff476b88135 net: ethernet: aquantia: Handle error cleanup of start on open
    ee898d95f446 ath10k: hold RCU lock when calling ieee80211_find_sta_by_ifaddr()
    0b8dfb61f29a brcmfmac: clear EAP/association status bits on linkdown events
    2d0e594c1316 can: tcan4x5x: fix max register value
    4ac1feff6ea6 net: introduce CAN specific pointer in the struct net_device
    23394679aa56 can: dev: move driver related infrastructure into separate subdir
    7ca4feb37e9e flow_dissector: fix TTL and TOS dissection on IPv4 fragments
    ee5055593d0e net: mvpp2: fix interrupt mask/unmask skip condition
    aa9345d10f0a ext4: do not iput inode under running transaction in ext4_rename()
    5e39a73e47ef locking/ww_mutex: Simplify use_ww_ctx & ww_ctx handling
    84bd602c14b7 thermal/core: Add NULL pointer check before using cooling device stats
    50c38f76b51d ASoC: rt5659: Update MCLK rate in set_sysclk()
    b6408fd7eb89 staging: comedi: cb_pcidas64: fix request_irq() warn
    b9fe8673b874 staging: comedi: cb_pcidas: fix request_irq() warn
    7390a1cdf304 scsi: qla2xxx: Fix broken #endif placement
    6e79f829e791 scsi: st: Fix a use after free in st_open()
    98052c40e3ac vhost: Fix vhost_vq_reset()
    57aa4f30911a powerpc: Force inlining of cpu_has_feature() to avoid build failure
    dcf4b6e710c7 NFSD: fix error handling in NFSv4.0 callbacks
    990a0fa1ccbb ASoC: cs42l42: Always wait at least 3ms after reset
    6d197691a1c5 ASoC: cs42l42: Fix mixer volume control
    aa74bf73937c ASoC: cs42l42: Fix channel width support
    47ae33d5b32b ASoC: cs42l42: Fix Bitclock polarity inversion
    5952cf385ceb ASoC: es8316: Simplify adc_pga_gain_tlv table
    381679aec216 ASoC: sgtl5000: set DAP_AVC_CTRL register to correct default value on probe
    57b8a192872a ASoC: rt5651: Fix dac- and adc- vol-tlv values being off by a factor of 10
    b75073a37c65 ASoC: rt5640: Fix dac- and adc- vol-tlv values being off by a factor of 10
    ca3f8dcd6d94 iomap: Fix negative assignment to unsigned sis->pages in iomap_swapfile_activate
    c899b8391a54 rpc: fix NULL dereference on kmalloc failure
    0e71c59b2450 fs: nfsd: fix kconfig dependency warning for NFSD_V4
    9b68d3ed8aa8 ext4: fix bh ref count on error paths
    721a6f64c0bc ext4: shrink race window in ext4_should_retry_alloc()
    05d891e76dde module: harden ELF info handling
    6a8df0821f67 module: avoid *goto*s in module_sig_check()
    d9b98ccdfed0 module: merge repetitive strings in module_sig_check()
    1a8c5fbe2f1d modsign: print module name along with error message
    120589bb0970 ipv6: weaken the v4mapped source check
    1225bb45c87b selinux: vsock: Set SID for socket returned by accept()

(From OE-Core rev: 199566a40671ac273028cb44d0bb4494be22c4aa)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-21 22:43:58 +01:00
Bruce Ashfield
376f5cc843 linux-yocto/5.10: update to v5.10.29
Updating linux-yocto/5.10 to the latest korg -stable release that comprises
the following commits:

    d8cf82b410b4 Linux 5.10.29
    cef13a04376b init/Kconfig: make COMPILE_TEST depend on HAS_IOMEM
    ba02635769f1 init/Kconfig: make COMPILE_TEST depend on !S390
    faa30969f66e bpf, x86: Validate computation of branch displacements for x86-32
    3edb8967d91e bpf, x86: Validate computation of branch displacements for x86-64
    f890246ae75c tools/resolve_btfids: Add /libbpf to .gitignore
    76983e244908 kbuild: Do not clean resolve_btfids if the output does not exist
    0945d67e5d43 kbuild: Add resolve_btfids clean to root clean target
    eff1e0465727 tools/resolve_btfids: Set srctree variable unconditionally
    f60c918b07b7 tools/resolve_btfids: Check objects before removing
    249719092447 tools/resolve_btfids: Build libbpf and libsubcmd in separate directories
    2934985086b9 math: Export mul_u64_u64_div_u64
    7345d4b2d421 io_uring: fix timeout cancel return code
    8f9049e70cd6 cifs: Silently ignore unknown oplock break handle
    fee111089cc9 cifs: revalidate mapping when we open files for SMB1 POSIX
    42498ee67296 ia64: fix format strings for err_inject
    bc30fdd598e3 ia64: mca: allocate early mca with GFP_ATOMIC
    b008489d8b86 selftests/vm: fix out-of-tree build
    47f8bc68ae95 scsi: target: pscsi: Clean up after failure in pscsi_map_sg()
    266d3106efbd ptp_qoriq: fix overflow in ptp_qoriq_adjfine() u64 calcalation
    f135b89e286b platform/x86: intel_pmc_core: Ignore GBE LTR on Tiger Lake platforms
    037950869be3 block: clear GD_NEED_PART_SCAN later in bdev_disk_changed
    7c73059bf849 x86/build: Turn off -fcf-protection for realmode targets
    6372aa9a78f8 drm/msm/disp/dpu1: icc path needs to be set before dpu runtime resume
    6deb9d9a84a2 kselftest/arm64: sve: Do not use non-canonical FFR register value
    bcd57b07fd90 platform/x86: thinkpad_acpi: Allow the FnLock LED to change state
    6304295c6190 net: ipa: fix init header command validation
    8a57256e0548 netfilter: nftables: skip hook overlap logic if flowtable is stale
    b0c795f4cc53 netfilter: conntrack: Fix gre tunneling over ipv6
    439c2c22fb85 drm/msm: Ratelimit invalid-fence message
    57e0546f01ca drm/msm/adreno: a5xx_power: Don't apply A540 lm_setup to other GPUs
    b9ec77ef36af drm/msm/dsi_pll_7nm: Fix variable usage for pll_lockdet_rate
    0a66bd60b1ce mac80211: choose first enabled channel for monitor
    7705c48b8695 mac80211: Check crypto_aead_encrypt for errors
    05878b681981 mISDN: fix crash in fritzpci
    4ca265610cc6 kunit: tool: Fix a python tuple typing error
    f0ed115feccc net: pxa168_eth: Fix a potential data race in pxa168_eth_remove
    4b4ce9895e64 net/mlx5e: Enforce minimum value check for ICOSQ size
    198afc3b0c01 bpf, x86: Use kvmalloc_array instead kmalloc_array in bpf_jit_comp
    107875a53868 platform/x86: intel-hid: Support Lenovo ThinkPad X1 Tablet Gen 2
    4c875e034dfb bus: ti-sysc: Fix warning on unbind if reset is not deasserted
    5c6f778e8f7d ARM: dts: am33xx: add aliases for mmc interfaces
    ecdfb9d70fb8 Linux 5.10.28
    7973a0dad073 bpf: Use NOP_ATOMIC5 instead of emit_nops(&prog, 5) for BPF_TRAMP_F_CALL_ORIG
    12b5f9dae410 Revert "kernel: freezer should treat PF_IO_WORKER like PF_KTHREAD for freezing"
    6ae5eaee1ea5 riscv: evaluate put_user() arg before enabling user access
    61f0c3e8098f drivers: video: fbcon: fix NULL dereference in fbcon_cursor()
    d06d0b3cf626 driver core: clear deferred probe reason on probe retry
    d29c38dd926d staging: rtl8192e: Change state information from u16 to u8
    538b96315375 staging: rtl8192e: Fix incorrect source in memcpy()
    84e5203fd277 soc: qcom-geni-se: Cleanup the code to remove proxy votes
    996a5782faef usb: dwc3: gadget: Clear DEP flags after stop transfers in ep disable
    1808ee421ce5 usb: dwc3: qcom: skip interconnect init for ACPI probe
    137dfed1552a usb: dwc2: Prevent core suspend when port connection flag is 0
    4e28aca96729 usb: dwc2: Fix HPRT0.PrtSusp bit setting for HiKey 960 board.
    77c0d6af858b usb: gadget: udc: amd5536udc_pci fix null-ptr-dereference
    6f86681691c2 USB: cdc-acm: fix use-after-free after probe failure
    64deff1f4e0f USB: cdc-acm: fix double free on probe failure
    439a27521112 USB: cdc-acm: downgrade message to debug
    511302531eb8 USB: cdc-acm: untangle a circular dependency between callback and softint
    e700e3aec303 cdc-acm: fix BREAK rx code path adding necessary calls
    9efa606a83e0 usb: xhci-mtk: fix broken streams issue on 0.96 xHCI
    1addcb1f77d6 usb: musb: Fix suspend with devices connected for a64
    15e61d9ae7ac USB: quirks: ignore remote wake-up on Fibocom L850-GL LTE modem
    4027d6e88fef usbip: vhci_hcd fix shift out-of-bounds in vhci_hub_control()
    c04adcc819d3 firewire: nosy: Fix a use-after-free bug in nosy_ioctl()
    2c7d85026324 video: hyperv_fb: Fix a double free in hvfb_probe
    a267a7e1c0ca usb: dwc3: pci: Enable dis_uX_susphy_quirk for Intel Merrifield
    bf4c643192b3 firmware: stratix10-svc: reset COMMAND_RECONFIG_FLAG_PARTIAL to 0
    3b681a1c43b6 extcon: Fix error handling in extcon_dev_register
    023d13952e9b extcon: Add stubs for extcon_register_notifier_all() functions
    0fe56e294cef pinctrl: rockchip: fix restore error in resume
    80ee9e02be3d vfio/nvlink: Add missing SPAPR_TCE_IOMMU depends
    d2308dd5119b drm/tegra: sor: Grab runtime PM reference across reset
    f552f95853f8 drm/tegra: dc: Restore coupling of display controllers
    77a8e6f792d5 drm/imx: fix memory leak when fails to init
    74612ecdf263 reiserfs: update reiserfs_xattrs_initialized() condition
    8c71f5b30955 drm/amdgpu: check alignment on CPU page for bo map
    78ceecd2ed45 drm/amdgpu: fix offset calculation in amdgpu_vm_bo_clear_mappings()
    28f901fe1634 drm/amdkfd: dqm fence memory corruption
    ec3e06e06f76 mm: fix race by making init_zero_pfn() early_initcall
    d88b557b9b73 s390/vdso: fix tod_steering_delta type
    b332265430c8 s390/vdso: copy tod_steering_delta value to vdso_data page
    f706acc9312b tracing: Fix stack trace event size
    cc038ab785a8 PM: runtime: Fix ordering in pm_runtime_get_suppliers()
    da2976cd711b PM: runtime: Fix race getting/putting suppliers at probe
    e6d8eb65532e KVM: SVM: ensure that EFER.SVME is set when running nested guest or on nested vmexit
    5f6625f5cd5c KVM: SVM: load control fields from VMCB12 before checking them
    6aaa3c2ebb4f xtensa: move coprocessor_flush to the .text section
    a3be911a5fee xtensa: fix uaccess-related livelock in do_page_fault
    bcd7999c03ed ALSA: hda/realtek: fix mute/micmute LEDs for HP 640 G8
    ee58eee4501f ALSA: hda/realtek: call alc_update_headset_mode() in hp_automute_hook
    f235ffa56b8e ALSA: hda/realtek: fix a determine_headset_type issue for a Dell AIO
    6d91f3afb632 ALSA: hda: Add missing sanity checks in PM prepare/complete callbacks
    b3116cda4e52 ALSA: hda: Re-add dropped snd_poewr_change_state() calls
    474d3d65784e ALSA: usb-audio: Apply sample rate quirk to Logitech Connect
    e525cd364c09 ACPI: processor: Fix CPU0 wakeup in acpi_idle_play_dead()
    cdd192a20b06 ACPI: tables: x86: Reserve memory occupied by ACPI tables
    fd38d4e6757b bpf: Remove MTU check in __bpf_skb_max_len
    ff64f33bc93b net: 9p: advance iov on empty read
    84877db1cdea net: wan/lmc: unregister device when no matching device is found
    33a6b3eea44b net: ipa: fix register write command validation
    44d76042c038 net: ipa: remove two unused register definitions
    c805f215e9c5 appletalk: Fix skb allocation size in loopback case
    f2294a707f63 net: ethernet: aquantia: Handle error cleanup of start on open
    7d3ffc0993fe ath10k: hold RCU lock when calling ieee80211_find_sta_by_ifaddr()
    221528c20e5e iwlwifi: pcie: don't disable interrupts for reg_lock
    f33d87047323 netdevsim: dev: Initialize FIB module after debugfs
    660bf76aec07 rtw88: coex: 8821c: correct antenna switch function
    b5777172cce2 ath11k: add ieee80211_unregister_hw to avoid kernel crash caused by NULL pointer
    731c4447e6db brcmfmac: clear EAP/association status bits on linkdown events
    4094194d103b can: tcan4x5x: fix max register value
    1a5751d58b14 net: introduce CAN specific pointer in the struct net_device
    9e35159c6e9a can: dev: move driver related infrastructure into separate subdir
    e3ccad57ac09 flow_dissector: fix TTL and TOS dissection on IPv4 fragments
    8fe47a33944f net: mvpp2: fix interrupt mask/unmask skip condition
    44c816c8b9ab io_uring: call req_set_fail_links() on short send[msg]()/recv[msg]() with MSG_WAITALL
    5038c1122e13 ext4: do not iput inode under running transaction in ext4_rename()
    eb8049d85a92 static_call: Align static_call_is_init() patching condition
    21c2bbc17b6b io_uring: imply MSG_NOSIGNAL for send[msg]()/recv[msg]() calls
    fa068ee3f37e nvmet-tcp: fix kmap leak when data digest in use
    3ac4aaff387b locking/ww_mutex: Fix acquire/release imbalance in ww_acquire_init()/ww_acquire_fini()
    905ef030bdf9 locking/ww_mutex: Simplify use_ww_ctx & ww_ctx handling
    1e2a75c24a48 thermal/core: Add NULL pointer check before using cooling device stats
    cf51b6145b9d ASoC: rt711: add snd_soc_component remove callback
    805645d89a20 ASoC: rt5659: Update MCLK rate in set_sysclk()
    7d4344fd3ee0 staging: comedi: cb_pcidas64: fix request_irq() warn
    e833d5716fbb staging: comedi: cb_pcidas: fix request_irq() warn
    4cd96a0de7a1 scsi: qla2xxx: Fix broken #endif placement
    3860814ef620 scsi: st: Fix a use after free in st_open()
    861fc287e036 io_uring: fix ->flags races by linked timeouts
    e1f8c95c1110 vhost: Fix vhost_vq_reset()
    7f6518ec6ee9 kernel: freezer should treat PF_IO_WORKER like PF_KTHREAD for freezing
    540a1ebf3c23 NFSD: fix error handling in NFSv4.0 callbacks
    73df108e3aec ASoC: cs42l42: Always wait at least 3ms after reset
    9b7b92c4b92d ASoC: cs42l42: Fix mixer volume control
    20b39eb99598 ASoC: cs42l42: Fix channel width support
    0d3753babfa7 ASoC: cs42l42: Fix Bitclock polarity inversion
    ed47acc0c888 ASoC: soc-core: Prevent warning if no DMI table is present
    294d4c2b4fda ASoC: es8316: Simplify adc_pga_gain_tlv table
    f134a436d766 ASoC: sgtl5000: set DAP_AVC_CTRL register to correct default value on probe
    b057d540ad2c ASoC: rt5651: Fix dac- and adc- vol-tlv values being off by a factor of 10
    ed4cdb772680 ASoC: rt5640: Fix dac- and adc- vol-tlv values being off by a factor of 10
    4bac395e0b8a ASoC: rt1015: fix i2c communication error
    4eff80b14014 iomap: Fix negative assignment to unsigned sis->pages in iomap_swapfile_activate
    5fb71b231c4e rpc: fix NULL dereference on kmalloc failure
    9e9aa1c03c33 fs: nfsd: fix kconfig dependency warning for NFSD_V4
    e178f362f095 ext4: fix bh ref count on error paths
    4b3139576a20 ext4: shrink race window in ext4_should_retry_alloc()
    1bfb046d29e3 virtiofs: Fail dax mount if device does not support it
    e21d2b92354b bpf: Fix fexit trampoline.
    68abc0115617 arm64: mm: correct the inside linear map range during hotplug check

(From OE-Core rev: 255ec8ff86d31c3464c30c26bdb15f01563b088e)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-21 22:43:58 +01:00
Bruce Ashfield
7f7281cb6d linux-yocto/5.10: BSP configuration fixes
Integrating the following commit(s) to linux-yocto/5.10.:

    fa039db710c qemuppc64: Enable the RTC driver
    f6cfc23fbfc nxp-s32g2xx: add HSE UIO related configs to make hse demo work
    2b445fb1e0b firmware: fix CONFIG_FW_LOADER option mismatch warning
    60dde01d949 nxp-imx8: Correct DRM_TTM config and delete redundant config
    07119316ee5 xlnx: bsp: drop obsolete kernel options for xilinx-zynqmp and xilinx-zynq
    0cf78165f8e bcm-2xxx-rpi: update v5.10 kernel config for raspberrypi 4b platform
    9b5a9e46778 marvell-cn96xx: Add the preempt-rt support

(From OE-Core rev: 6186f21b29e7a152d34c620e81878bf6eff6519d)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-21 22:43:58 +01:00
He Zhe
0596dc8d51 linux-yocto-dev: add features/scsi/scsi-debug.scc features/gpio/mockup.scc to KERNEL_FEATURES
Add features/scsi/scsi-debug.scc and features/gpio/mockup.scc to
KERNEL_FEATURES to meet ptest requirement as what we did for other
linux-yocto*.

(From OE-Core rev: fd27f302df886c27cb424191c27152ad9d0e8d80)

Signed-off-by: He Zhe <zhe.he@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-21 22:43:58 +01:00
Bruce Ashfield
995acdd74e linux-yocto/5.10: update to v5.10.27
Updating linux-yocto/5.10 to the latest korg -stable release that comprises
the following commits:

    472493c8a425 Linux 5.10.27
    3a1ca9bd4f5a xen-blkback: don't leak persistent grants from xen_blkbk_map()
    03a1c3253f25 can: peak_usb: Revert "can: peak_usb: add forgotten supported devices"
    f12d05f70282 nvme: fix the nsid value to print in nvme_validate_or_alloc_ns
    36478a9ec5af Revert "net: bonding: fix error return code of bond_neigh_init()"
    451ba16cc5b7 Revert "xen: fix p2m size in dom0 for disabled memory hotplug case"
    df61d3cff422 fs/ext4: fix integer overflow in s_log_groups_per_flex
    0229b5926dc9 ext4: add reclaim checks to xattr code
    25e809bf8bec mac80211: fix double free in ibss_leave
    39e1a35ea65a net: dsa: b53: VLAN filtering is global to all users
    d3b5a04b8ce5 r8169: fix DMA being used after buffer free if WoL is enabled
    8dc08a2962c8 can: dev: Move device back to init netns on owning netns delete
    24256b4d87eb ch_ktls: fix enum-conversion warning
    6f15c02ebbe9 fs/cachefiles: Remove wait_bit_key layout dependency
    002ea848d7fd mm/memcg: fix 5.10 backport of splitting page memcg
    2c163520e12b x86/mem_encrypt: Correct physical address calculation in __set_clr_pte_enc()
    c6c9bc4f261d locking/mutex: Fix non debug version of mutex_lock_io_nested()
    d4ce2a8f465d cifs: Adjust key sizes and key generation routines for AES256 encryption
    86cc799e1d9d smb3: fix cached file size problems in duplicate extents (reflink)
    2423511cc5ba scsi: mpt3sas: Fix error return code of mpt3sas_base_attach()
    6b977fea78de scsi: qedi: Fix error return code of qedi_alloc_global_queues()
    62bb066cdfb6 scsi: Revert "qla2xxx: Make sure that aborted commands are freed"
    fc062d21c011 block: recalculate segment count for multi-segment discards correctly
    dcf2dfc1614d io_uring: fix provide_buffers sign extension
    efb334c4e5ff perf synthetic events: Avoid write of uninitialized memory when generating PERF_RECORD_MMAP* records
    5febe60a8021 perf auxtrace: Fix auxtrace queue conflict
    4a5891992c68 ACPI: scan: Use unique number for instance_no
    2ba9964a9653 ACPI: scan: Rearrange memory allocation in acpi_device_add()
    c33f918758fa Revert "netfilter: x_tables: Update remaining dereference to RCU"
    de2e6b4e32d6 mm/mmu_notifiers: ensure range_end() is paired with range_start()
    42aa210795d8 dm table: Fix zoned model check and zone sectors check
    3fdebc2d8e79 netfilter: x_tables: Use correct memory barriers.
    520be4d1af9c Revert "netfilter: x_tables: Switch synchronization to RCU"
    87771c9b09bb net: phy: broadcom: Fix RGMII delays for BCM50160 and BCM50610M
    485335a637c8 net: phy: broadcom: Set proper 1000BaseX/SGMII interface mode for BCM54616S
    837a3ae33459 net: phy: broadcom: Avoid forward for bcm54xx_config_clock_delay()
    9a5267264fc2 net: phy: introduce phydev->port
    c4934e65c8bc net: axienet: Fix probe error cleanup
    3e08fd4a8298 net: axienet: Properly handle PCS/PMA PHY for 1000BaseX mode
    d65e7d0c7449 igb: avoid premature Rx buffer reuse
    c7eb3e12f18f net, bpf: Fix ip6ip6 crash with collect_md populated skbs
    0a245acbce89 net: Consolidate common blackhole dst ops
    33cd5f88b5bf bpf: Don't do bpf_cgroup_storage_set() for kuprobe/tp programs
    d95696f537d6 RDMA/cxgb4: Fix adapter LE hash errors while destroying ipv6 listening server
    b740e58324c8 xen/x86: make XEN_BALLOON_MEMORY_HOTPLUG_LIMIT depend on MEMORY_HOTPLUG
    889c56ea941e octeontx2-af: Fix memory leak of object buf
    558454ec5170 net: bridge: don't notify switchdev for local FDB addresses
    7d019b2d0f27 PM: EM: postpone creating the debugfs dir till fs_initcall
    08a5f812ad6c net/mlx5e: Fix error path for ethtool set-priv-flag
    624f0dc8f7f4 net/mlx5e: Offload tuple rewrite for non-CT flows
    c83207bb02d6 net/mlx5e: Allow to match on MPLS parameters only for MPLS over UDP
    0be13d01473a net/mlx5: Add back multicast stats for uplink representor
    65c021e73590 PM: runtime: Defer suspending suppliers
    3db5fc556515 arm64: kdump: update ppos when reading elfcorehdr
    447a011bb40d drm/msm: Fix suspend/resume on i.MX5
    c7552dee62a0 drm/msm: fix shutdown hook in case GPU components failed to bind
    0b7bc92c1986 can: isotp: tx-path: zero initialize outgoing CAN frames
    ccd5565feea3 bpf: Fix umd memory leak in copy_process()
    eeadce8811d3 libbpf: Fix BTF dump of pointer-to-array-of-struct
    7693b64ae508 selftests: forwarding: vxlan_bridge_1d: Fix vxlan ecn decapsulate value
    5ebb9947b488 selinux: vsock: Set SID for socket returned by accept()
    1e01729999c0 net: stmmac: dwmac-sun8i: Provide TX and RX fifo sizes
    961d9a6e47b9 r8152: limit the RX buffer size of RTL8153A for USB 2.0
    2330d46db081 igb: check timestamp validity
    421e0d731070 net: cdc-phonet: fix data-interface release on probe failure
    943e1583bf8a net: check all name nodes in __dev_alloc_name
    748a158359d7 octeontx2-af: fix infinite loop in unmapping NPC counter
    b553f45c76ec octeontx2-pf: Clear RSS enable flag on interace down
    11e94cfa9dd8 octeontx2-af: Fix irq free in rvu teardown
    da517ca38dc6 octeontx2-af: Remove TOS field from MKEX TX
    1055796ca031 octeontx2-af: Modify default KEX profile to extract TX packet fields
    f896ae2886d1 octeontx2-af: Formatting debugfs entry rsrc_alloc.
    5f64c4c550c8 ipv6: weaken the v4mapped source check
    9e48a3bc8ba2 ARM: dts: imx6ull: fix ubi filesystem mount failed
    b4c574e4b471 libbpf: Use SOCK_CLOEXEC when opening the netlink socket
    86e525bc04f2 libbpf: Fix error path in bpf_object__elf_init()
    4280132339ce netfilter: flowtable: Make sure GC works periodically in idle system
    186d8dc40a65 netfilter: nftables: allow to update flowtable flags
    4a741b4df032 netfilter: nftables: report EOPNOTSUPP on unsupported flowtable flags
    a96a8cb0500a net/sched: cls_flower: fix only mask bit check in the validate_ct_state
    6233c2d09633 ionic: linearize tso skb with too many frags
    7637048707e5 drm/msm/dsi: fix check-before-set in the 7nm dsi_pll code
    126aa8f23424 ftrace: Fix modify_ftrace_direct.
    29b8834cf828 nfp: flower: fix pre_tun mask id allocation
    47dae14b21f7 nfp: flower: add ipv6 bit to pre_tunnel control message
    259b0122dea5 nfp: flower: fix unsupported pre_tunnel flows
    aeff815e76ef selftests/net: fix warnings on reuseaddr_ports_exhausted
    bd63bd78d303 mac80211: Allow HE operation to be longer than expected.
    f865127b1d26 mac80211: fix rate mask reset
    48d0b548b49e can: m_can: m_can_rx_peripheral(): fix RX being blocked by errors
    afaca48e3017 can: m_can: m_can_do_rx_poll(): fix extraneous msg loss warning
    4fcf59c24990 can: c_can: move runtime PM enable/disable to c_can_platform
    524320e8034a can: c_can_pci: c_can_pci_remove(): fix use-after-free
    f9a5974b9719 can: kvaser_pciefd: Always disable bus load reporting
    af3e6c3dcf54 can: flexcan: flexcan_chip_freeze(): fix chip freeze for missing bitrate
    0cbadc0fb54c can: peak_usb: add forgotten supported devices
    3b3d9279be6c can: isotp: TX-path: ensure that CAN frame flags are initialized
    f88517dae95b can: isotp: isotp_setsockopt(): only allow to set low level TX flags for CAN-FD
    63f2a9bd3133 tcp: relookup sock for RST+ACK packets handled by obsolete req sock
    50f41f2e29ff tipc: better validate user input in tipc_nl_retrieve_key()
    ddeba5b39cca net: phylink: Fix phylink_err() function name error in phylink_major_config
    375f5169f231 net: hdlc_x25: Prevent racing between "x25_close" and "x25_xmit"/"x25_rx"
    ee39ee5f437c netfilter: ctnetlink: fix dump of the expect mask attribute
    d5380ceede6f selftests/bpf: Set gopt opt_class to 0 if get tunnel opt failed
    33cc382c5830 flow_dissector: fix byteorder of dissected ICMP ID
    fce6fb902189 net: qrtr: fix a kernel-infoleak in qrtr_recvmsg()
    6d3635ed12e7 net: ipa: terminate message handler arrays
    1701bd22b05d clk: qcom: gcc-sc7180: Use floor ops for the correct sdcc1 clk
    b50c46ef67d6 ftgmac100: Restart MAC HW once
    e64a5a5b8e93 net: phy: broadcom: Add power down exit reset state delay
    87378c850fee net/qlcnic: Fix a use after free in qlcnic_83xx_get_minidump_template
    648b62f10cec e1000e: Fix error handling in e1000_set_d0_lplu_state_82571
    8ed431fec355 e1000e: add rtnl_lock() to e1000_reset_task
    5994a096570f igc: Fix igc_ptp_rx_pktstamp()
    0963fadcf536 igc: Fix Supported Pause Frame Link Setting
    d5330d5cc3ad igc: Fix Pause Frame Advertising
    d85ffade499a igc: reinit_locked() should be called with rtnl_lock
    4c91fc60e3f6 net: dsa: bcm_sf2: Qualify phydev->dev_flags based on port
    f64270027928 net: sched: validate stab values
    400199d6e6f6 macvlan: macvlan_count_rx() needs to be aware of preemption
    2514c7ad115e drop_monitor: Perform cleanup upon probe registration failure
    7f041ee8effd ipv6: fix suspecious RCU usage warning
    61219de46413 net/mlx5e: Don't match on Geneve options in case option masks are all zero
    d0be25fa4f96 net/mlx5e: When changing XDP program without reset, take refs for XSK RQs
    60b5ff15b41d net/mlx5e: RX, Mind the MPWQE gaps when calculating offsets
    9857de932b30 libbpf: Fix INSTALL flag order
    f7c3d7615e6c bpf: Change inode_storage's lookup_elem return value from NULL to -EBADF
    926cde9eec67 veth: Store queue_mapping independently of XDP prog presence
    f47a9b2570ad soc: ti: omap-prm: Fix occasional abort on reset deassert for dra7 iva
    1f798907b435 ARM: OMAP2+: Fix smartreflex init regression after dropping legacy data
    965e6cb8d4c9 bus: omap_l3_noc: mark l3 irqs as IRQF_NO_THREAD
    921aae17bb0f dm ioctl: fix out of bounds array access when no devices
    d8b36c483d47 dm verity: fix DM_VERITY_OPTS_MAX value
    1e2d70d08ade drm/i915: Fix the GT fence revocation runtime PM logic
    da6a9b5b1799 drm/amdgpu: Add additional Sienna Cichlid PCI ID
    dc28098f40b4 drm/amdgpu/display: restore AUX_DPHY_TX_CONTROL for DCN2.x
    e02f765fa784 drm/amd/pm: workaround for audio noise issue
    f771b2b3eb2f drm/etnaviv: Use FOLL_FORCE for userptr
    546f7fcc451c integrity: double check iint_cache was initialized
    5f7b515df003 ARM: dts: at91-sama5d27_som1: fix phy address to 7
    2a0d35962ff1 ARM: dts: at91: sam9x60: fix mux-mask to match product's datasheet
    0b6cd8802d32 ARM: dts: at91: sam9x60: fix mux-mask for PA7 so it can be set to A, B and C
    1c103f512251 arm64: dts: ls1043a: mark crypto engine dma coherent
    4f35b64ba823 arm64: dts: ls1012a: mark crypto engine dma coherent
    3883f335b5ee arm64: dts: ls1046a: mark crypto engine dma coherent
    1ced45535d4b arm64: stacktrace: don't trace arch_stack_walk()
    53d3c8063590 ACPICA: Always create namespace nodes using acpi_ns_create_node()
    36fe73bd0af9 ACPI: video: Add missing callback back for Sony VPCEH3U1E
    1f5c9efad9fe gcov: fix clang-11+ support
    6e63cc1fe253 kasan: fix per-page tags for non-page_alloc pages
    fe03ccc3ce90 hugetlb_cgroup: fix imbalanced css_get and css_put pair for shared mappings
    269042e8ffed squashfs: fix xattr id and id lookup sanity checks
    61d72c5952c4 squashfs: fix inode lookup sanity checks
    1d215fcbc4ef z3fold: prevent reclaim/free race for headless pages
    e4642090734e psample: Fix user API breakage
    a4be7e4ed5d9 platform/x86: intel-vbtn: Stop reporting SW_DOCK events
    4f67d3e8c0ac netsec: restore phy power state after controller reset
    19c9967e495e selinux: fix variable scope issue in live sidtab conversion
    9731e08a3381 selinux: don't log MAC_POLICY_LOAD record on failed policy load
    3b87d0c5834b btrfs: fix sleep while in non-sleep context during qgroup removal
    771dfb3c531d KVM: x86: Protect userspace MSR filter with SRCU, and set atomically-ish
    394e4fd67946 static_call: Fix static_call_set_init()
    0fefb5f3e574 static_call: Fix the module key fixup
    a63068e93917 static_call: Allow module use without exposing static_call_key
    433cd7ca386c static_call: Pull some static_call declarations to the type headers
    533c293f737c ia64: fix ptrace(PTRACE_SYSCALL_INFO_EXIT) sign
    d76e207991c4 ia64: fix ia64_syscall_get_set_arguments() for break-based syscalls
    7077d5e7f074 mm/fork: clear PASID for new mm
    07feac84efc6 block: Suppress uevent for hidden device when removed
    9f704608010b nfs: we don't support removing system.nfs4_acl
    3dab008e23bd nvme-pci: add the DISABLE_WRITE_ZEROES quirk for a Samsung PM1725a
    8f0534c96ac8 nvme-rdma: Fix a use after free in nvmet_rdma_write_data_done
    c7b3f6db97c2 nvme-core: check ctrl css before setting up zns
    9083dc773d67 nvme-fc: return NVME_SC_HOST_ABORTED_CMD when a command has been aborted
    4d6aea29a795 nvme-fc: set NVME_REQ_CANCELLED in nvme_fc_terminate_exchange()
    7e62a89b51dd nvme: add NVME_REQ_CANCELLED flag in nvme_cancel_request()
    d8b17df7bf80 nvme: simplify error logic in nvme_validate_ns()
    b91230a0013f drm/radeon: fix AGP dependency
    35d4f0712828 drm/amdgpu: fb BO should be ttm_bo_type_device
    a255d14eb5dc drm/amd/display: Revert dram_clock_change_latency for DCN2.1
    d27b0964ade9 block: Fix REQ_OP_ZONE_RESET_ALL handling
    c9d1f6ad1e25 regulator: qcom-rpmh: Correct the pmic5_hfsmps515 buck
    6366a5bb888b kselftest: arm64: Fix exit code of sve-ptrace
    da5bc0c21c04 u64_stats,lockdep: Fix u64_stats_init() vs lockdep
    f89338395545 staging: rtl8192e: fix kconfig dependency on CRYPTO
    eb4154fb61e2 habanalabs: Call put_pid() when releasing control device
    f2b38f03a3f7 sparc64: Fix opcode filtering in handling of no fault loads
    58b34195b33f umem: fix error return code in mm_pci_probe()
    feaa91193ad3 kbuild: dummy-tools: fix inverted tests for gcc
    ede8be3ae078 kbuild: add image_name to no-sync-config-targets
    264bb27b9fe4 irqchip/ingenic: Add support for the JZ4760
    b684c380f0b9 cifs: change noisy error message to FYI
    758bca385a79 atm: idt77252: fix null-ptr-dereference
    f35954a3961b atm: uPD98402: fix incorrect allocation
    852143ed96e2 net: enetc: set MAC RX FIFO to recommended value
    697082b125b0 net: davicom: Use platform_get_irq_optional()
    e6946ef43848 net: wan: fix error return code of uhdlc_init()
    184dc037575c net: hisilicon: hns: fix error return code of hns_nic_clear_all_rx_fetch()
    9d1a5392aca1 NFS: Correct size calculation for create reply length
    2479c6b9ef36 nfs: fix PNFS_FLEXFILE_LAYOUT Kconfig default
    b48779c863c0 gpiolib: acpi: Add missing IRQF_ONESHOT
    9443aef16fca cpufreq: blacklist Arm Vexpress platforms in cpufreq-dt-platdev
    6d7dce3bdfc4 gfs2: fix use-after-free in trans_drain
    419ebba40dbf cifs: ask for more credit on async read/write code paths
    b8bfda6e08b8 gianfar: fix jumbo packets+napi+rx overrun crash
    2d0fba5a2e9f sun/niu: fix wrong RXMAC_BC_FRM_CNT_COUNT count
    81b1a8f14436 net: intel: iavf: fix error return code of iavf_init_get_resources()
    5f86016bdfa7 net: tehuti: fix error return code in bdx_probe()
    71b996c9b883 blk-cgroup: Fix the recursive blkg rwstat
    b171748b7953 scsi: ufs: ufs-qcom: Disable interrupt in reset path
    028210541b3c ixgbe: Fix memleak in ixgbe_configure_clsu32
    4dc123500c3b ALSA: hda: ignore invalid NHLT table
    18f27fc6bcc2 Revert "r8152: adjust the settings about MAC clock speed down for RTL8153"
    f8f6190094a3 atm: lanai: dont run lanai_dev_close if not open
    6f6e45947572 atm: eni: dont release is never initialized
    75e967a04d37 powerpc/4xx: Fix build errors from mfdcr()
    4a104e4d4d9d net: fec: ptp: avoid register access when ipg clock is disabled
    50c75680bdce net: stmmac: fix dma physical address of descriptor when display ring
    a9daba140178 mt76: fix tx skb error handling in mt76_dma_tx_queue_skb
    efb12c03fcd0 mm/memcg: set memcg when splitting page
    6143a1d193e9 mm/memcg: rename mem_cgroup_split_huge_fixup to split_page_memcg and add nr_pages argument
    856cd02bbdd4 Linux 5.10.26
    de1126ea44bb cifs: Fix preauth hash corruption
    21536d7b7e6f x86/apic/of: Fix CPU devicetree-node lookups
    95247d24c4d4 genirq: Disable interrupts for force threaded handlers
    80b2787789af firmware/efi: Fix a use after bug in efi_mem_reserve_persistent
    47ba0d4d2afb efi: use 32-bit alignment for efi_guid_t literals
    e5154ea8e48f static_call: Fix static_call_update() sanity check
    51ccdd25d7e5 MAINTAINERS: move the staging subsystem to lists.linux.dev
    4c9a74798ef1 MAINTAINERS: move some real subsystems off of the staging mailing list
    35ecf664fd6c ext4: fix rename whiteout with fast commit
    e8fa569465e5 ext4: fix potential error in ext4_do_update_inode
    6163a0662b79 ext4: do not try to set xattr into ea_inode if value is empty
    d130b802f98a ext4: stop inode update before return
    258db8e6ffdc ext4: find old entry again if failed to rename whiteout
    9689ecadf8a7 ext4: fix error handling in ext4_end_enable_verity()
    e4ea2a28d068 efivars: respect EFI_UNSUPPORTED return from firmware
    a548acde9608 x86: Introduce TS_COMPAT_RESTART to fix get_nr_restart_syscall()
    97c608959c27 x86: Move TS_COMPAT back to asm/thread_info.h
    4523e648b7b7 kernel, fs: Introduce and use set_restart_fn() and arch_set_restart_data()
    0e245256e34d x86/ioapic: Ignore IRQ2 again
    4fdf5f4ba61f perf/x86/intel: Fix unchecked MSR access error caused by VLBR_EVENT
    514ea597be8e perf/x86/intel: Fix a crash caused by zero PEBS status
    be1f58e58f76 PCI: rpadlpar: Fix potential drc_name corruption in store functions
    6d4e1fed18d0 counter: stm32-timer-cnt: fix ceiling miss-alignment with reload register
    cbc4c42dbec0 counter: stm32-timer-cnt: fix ceiling write max value
    dcdde25844d4 iio: hid-sensor-temperature: Fix issues of timestamp channel
    7de97c4bba51 iio: hid-sensor-prox: Fix scale not correct issue
    fd8efe16d867 iio: hid-sensor-humidity: Fix alignment issue of timestamp channel
    b477c121a287 iio: adc: adi-axi-adc: add proper Kconfig dependencies
    d894acab2844 iio: adc: ad7949: fix wrong ADC result due to incorrect bit mask
    533ee1e28455 iio: adc: ab8500-gpadc: Fix off by 10 to 3
    f8bfbd3917fa iio: gyro: mpu3050: Fix error handling in mpu3050_trigger_handler
    06c281c23ace iio: adis16400: Fix an error code in adis16400_initial_setup()
    531231485844 iio:adc:qcom-spmi-vadc: add default scale to LR_MUX2_BAT_ID channel
    3ce2e7b2d360 iio:adc:stm32-adc: Add HAS_IOMEM dependency
    6c3c90058b95 thunderbolt: Increase runtime PM reference count on DP tunnel discovery
    f4ca082e3f59 thunderbolt: Initialize HopID IDAs in tb_switch_alloc()
    c7bb96a37dd2 usb: dwc3: gadget: Prevent EP queuing while stopping transfers
    395d273f2998 usb: dwc3: gadget: Allow runtime suspend if UDC unbinded
    8b8a84234c38 usb: typec: tcpm: Invoke power_supply_changed for tcpm-source-psy-
    0ea3fb15a87e usb: typec: Remove vdo[3] part of tps6598x_rx_identity_reg struct
    0f882bcc6407 usb: gadget: configfs: Fix KASAN use-after-free
    22e85a6a35cc usbip: Fix incorrect double assignment to udc->ud.tcp_rx
    7046e5f7a2f6 usb-storage: Add quirk to defeat Kindle's automatic unload
    5a62d6d7afa0 powerpc: Force inlining of cpu_has_feature() to avoid build failure
    2bdef2b476e2 gfs2: bypass signal_our_withdraw if no journal
    a602e830ddaf gfs2: move freeze glock outside the make_fs_rw and _ro functions
    49787b1bba1f gfs2: Add common helper for holding and releasing the freeze glock
    db37238f3452 regulator: pca9450: Clear PRESET_EN bit to fix BUCK1/2/3 voltage setting
    cfbff8bd9efc regulator: pca9450: Enable system reset on WDOG_B assertion
    775691b94ce7 regulator: pca9450: Add SD_VSEL GPIO for LDO5
    9392b8219b62 net: bonding: fix error return code of bond_neigh_init()
    76f496681d6a io_uring: clear IOCB_WAITQ for non -EIOCBQUEUED return
    3c08f772ad0d io_uring: don't attempt IO reissue from the ring exit path
    40345b9c9d90 drm/amd/pm: fulfill the Polaris implementation for get_clock_by_type_with_latency()
    e8e99acd0830 s390/qeth: schedule TX NAPI on QAOB completion
    f3f6765fd0e8 ibmvnic: remove excessive irqsave
    96823c1e9997 media: cedrus: h264: Support profile controls
    1c20e9040f49 io_uring: fix inconsistent lock state
    e1a69079edc4 iwlwifi: Add a new card for MA family
    e7f6ebde21cf drm/amd/display: turn DPMS off on connector unplug
    559b842a64ff MIPS: compressed: fix build with enabled UBSAN
    8545519b1f51 net: phy: micrel: set soft_reset callback to genphy_soft_reset for KSZ8081
    33cafc7952a4 i40e: Fix endianness conversions
    41d4c889b274 powerpc/sstep: Fix darn emulation
    8a335142f1c5 powerpc/sstep: Fix load-store and update emulation
    8b4a797e86a0 RDMA/mlx5: Allow creating all QPs even when non RDMA profile is used
    bb38c1c03384 scsi: isci: Pass gfp_t flags in isci_port_bc_change_received()
    d74238028a11 scsi: isci: Pass gfp_t flags in isci_port_link_up()
    d9f5efd1afc4 scsi: isci: Pass gfp_t flags in isci_port_link_down()
    1eda358e37e5 scsi: mvsas: Pass gfp_t flags to libsas event notifiers
    58bdc321beb5 scsi: libsas: Introduce a _gfp() variant of event notifiers
    18c3c04e8e53 scsi: libsas: Remove notifier indirection
    29c5b80327b7 scsi: pm8001: Neaten debug logging macros and uses
    c4186c00adc1 scsi: pm80xx: Fix pm8001_mpi_get_nvmd_resp() race condition
    3e4b3770744d scsi: pm80xx: Make running_req atomic
    6075c84a98ce scsi: pm80xx: Make mpi_build_cmd locking consistent
    d802672c7f00 module: harden ELF info handling
    e2c8978a75e0 module: avoid *goto*s in module_sig_check()
    8587715b65fa module: merge repetitive strings in module_sig_check()
    c02a33f0fd28 RDMA/rtrs: Fix KASAN: stack-out-of-bounds bug
    904a52dd9e50 RDMA/rtrs: Introduce rtrs_post_send
    9e97c211b701 RDMA/rtrs-srv: Jump to dereg_mr label if allocate iu fails
    5abee8b1fc4f RDMA/rtrs: Remove unnecessary argument dir of rtrs_iu_free
    4ebd8f0c82a5 bpf: Declare __bpf_free_used_maps() unconditionally
    0e44f1e18398 serial: stm32: fix DMA initialization error handling
    5f8659adf7a2 tty: serial: stm32-usart: Remove set but unused 'cookie' variables
    20c0bd2b6579 ibmvnic: serialize access to work queue on remove
    f8ba6913c40a ibmvnic: add some debugs
    b4be6e6e2696 nvme-rdma: fix possible hang when failing to set io queues
    b3901ceb120d gpiolib: Assign fwnode to parent's if no primary one provided
    c5fe922eaf1a counter: stm32-timer-cnt: Report count function when SLAVE_MODE_DISABLED
    f854abe46b0e RISC-V: correct enum sbi_ext_rfence_fid
    359d8ff40a09 scsi: ufs: ufs-mediatek: Correct operator & -> &&
    38089ba4b20c scsi: myrs: Fix a double free in myrs_cleanup()
    eb9d08b34351 scsi: lpfc: Fix some error codes in debugfs
    e95c0d43509c riscv: Correct SPARSEMEM configuration
    04eb2b2fa12f cifs: fix allocation size on newly created files
    bb2e41e65c33 kbuild: Fix <linux/version.h> for empty SUBLEVEL or PATCHLEVEL again
    72714560fbc7 net/qrtr: fix __netdev_alloc_skb call
    6cae8095490c io_uring: ensure that SQPOLL thread is started for exit
    a7acb614287b pstore: Fix warning in pstore_kill_sb()
    5f7d470696ad i915/perf: Start hrtimer only if sampling the OA buffer
    cb14e99e886f sunrpc: fix refcount leak for rpc auth modules
    2ea2d3a79800 vhost_vdpa: fix the missing irq_bypass_unregister_producer() invocation
    3e5a1bb6ea20 vfio: IOMMU_API should be selected
    c2219627091c svcrdma: disable timeouts on rdma backchannel
    982b899ba672 NFSD: fix dest to src mount in inter-server COPY
    800369d61add NFSD: Repair misuse of sv_lock in 5.10.16-rt30.
    12628e7779f8 nfsd: don't abort copies early
    5ea0aa29ad4b nfsd: Don't keep looking up unhashed files in the nfsd file cache
    628f39a57a46 nvmet: don't check iosqes,iocqes for discovery controllers
    b4f911e3a982 nvme-tcp: fix a NULL deref when receiving a 0-length r2t PDU
    7089cdfce32f nvme-tcp: fix possible hang when failing to set io queues
    a83e5c6c35fa nvme-tcp: fix misuse of __smp_processor_id with preemption enabled
    fd9e2b999740 nvme: fix Write Zeroes limitations
    2d202085d2dd ALSA: usb-audio: Fix unintentional sign extension issue
    64195f022ae8 afs: Stop listxattr() from listing "afs.*" attributes
    78ba4793b084 afs: Fix accessing YFS xattrs on a non-YFS server
    07fa872bf79c ASoC: simple-card-utils: Do not handle device clock
    d1ab87e31761 ASoC: qcom: lpass-cpu: Fix lpass dai ids parse
    1ae54de79fba ASoC: codecs: wcd934x: add a sanity check in set channel map
    03079a0f1bf7 ASoC: qcom: sdm845: Fix array out of range on rx slim channels
    26b08c08a5f3 ASoC: qcom: sdm845: Fix array out of bounds access
    47a6cadb6cfd ASoC: SOF: intel: fix wrong poll bits in dsp power down
    b94b71a7a6f6 ASoC: SOF: Intel: unregister DMIC device on probe error
    4da5a9a73c4c ASoC: Intel: bytcr_rt5640: Fix HP Pavilion x2 10-p0XX OVCD current threshold
    118cfdc770cd ASoC: fsl_ssi: Fix TDM slot setup for I2S mode
    223dc51caa51 drm/amd/display: Correct algorithm for reversed gamma
    4daa70a80c68 vhost-vdpa: set v->config_ctx to NULL if eventfd_ctx_fdget() fails
    49ca3100fbaf vhost-vdpa: fix use-after-free of v->config_ctx
    2c8d6a9474f0 btrfs: fix slab cache flags for free space tree bitmap
    38ffe9eaeb7c btrfs: fix race when cloning extent buffer during rewind of an old root
    78486cf1f31e zonefs: fix to update .i_wr_refcnt correctly in zonefs_open_zone()
    9c1c5e81a002 zonefs: prevent use of seq files as swap file
    dfbdbf0f359a zonefs: Fix O_APPEND async write handling
    38c74f2f2318 s390/pci: fix leak of PCI device structure
    075e3034740c s390/pci: remove superfluous zdev->zbus check
    bd37d9b9c4fb s390/pci: refactor zpci_create_device()
    015916ca0266 s390/vtime: fix increased steal time accounting
    5c0a3a331dc5 Revert "PM: runtime: Update device status before letting suppliers suspend"
    68525e424175 ALSA: hda/realtek: fix mute/micmute LEDs for HP 850 G8
    f086deab2c64 ALSA: hda/realtek: fix mute/micmute LEDs for HP 440 G8
    7b00df1894c6 ALSA: hda/realtek: fix mute/micmute LEDs for HP 840 G8
    14af4bf8d481 ALSA: hda/realtek: Apply headset-mic quirks for Xiaomi Redmibook Air
    4c698a3b8fb7 ALSA: hda: generic: Fix the micmute led init state
    e6c7cdf0baf3 ALSA: hda/realtek: apply pin quirk for XiaomiNotebook Pro
    cd7b17ba8e4d ALSA: dice: fix null pointer dereference when node is disconnected
    422806f8d289 spi: cadence: set cqspi to the driver_data field of struct device
    f8d5ced57b07 ASoC: ak5558: Add MODULE_DEVICE_TABLE
    064a7289b445 ASoC: ak4458: Add MODULE_DEVICE_TABLE

(From OE-Core rev: cbb5c4392c63f896f204c0c15b0cfa7a364feed2)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-21 22:43:58 +01:00
Bruce Ashfield
94afd49286 linux-yocto/5.4: update to v5.4.109
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:

    4e85f8a712cd Linux 5.4.109
    057dd3e6986b xen-blkback: don't leak persistent grants from xen_blkbk_map()
    ce934540ff09 can: peak_usb: Revert "can: peak_usb: add forgotten supported devices"
    2638770e793b ext4: add reclaim checks to xattr code
    92b9e3deffb6 mac80211: fix double free in ibss_leave
    ae23957bd1fb net: qrtr: fix a kernel-infoleak in qrtr_recvmsg()
    f7a962970001 net: dsa: b53: VLAN filtering is global to all users
    f866d1fa48e4 can: dev: Move device back to init netns on owning netns delete
    dfd6627c83dd x86/mem_encrypt: Correct physical address calculation in __set_clr_pte_enc()
    f989059cd22a locking/mutex: Fix non debug version of mutex_lock_io_nested()
    1260d8dc2d66 scsi: mpt3sas: Fix error return code of mpt3sas_base_attach()
    d31747705762 scsi: qedi: Fix error return code of qedi_alloc_global_queues()
    063c3cfb264b scsi: Revert "qla2xxx: Make sure that aborted commands are freed"
    fdc61af371db block: recalculate segment count for multi-segment discards correctly
    8ce9f6efa655 perf auxtrace: Fix auxtrace queue conflict
    bc0b1a2036dd ACPI: scan: Use unique number for instance_no
    b382f9d61609 ACPI: scan: Rearrange memory allocation in acpi_device_add()
    cc578c3e612b Revert "netfilter: x_tables: Update remaining dereference to RCU"
    19a5fb4ceada netfilter: x_tables: Use correct memory barriers.
    c46cd29b89da Revert "netfilter: x_tables: Switch synchronization to RCU"
    e74d46e69a45 bpf: Don't do bpf_cgroup_storage_set() for kuprobe/tp programs
    01398e024ba6 RDMA/cxgb4: Fix adapter LE hash errors while destroying ipv6 listening server
    78aafa0240bc PM: EM: postpone creating the debugfs dir till fs_initcall
    f54b10114d63 net/mlx5e: Fix error path for ethtool set-priv-flag
    fa4addf30c2c PM: runtime: Defer suspending suppliers
    c82d289fe958 arm64: kdump: update ppos when reading elfcorehdr
    8bf90e000c10 drm/msm: fix shutdown hook in case GPU components failed to bind
    4fda26d2f7e1 libbpf: Fix BTF dump of pointer-to-array-of-struct
    4f71aacd6c92 selftests: forwarding: vxlan_bridge_1d: Fix vxlan ecn decapsulate value
    4ecf6d486e45 net: stmmac: dwmac-sun8i: Provide TX and RX fifo sizes
    1f103ca31c51 r8152: limit the RX buffer size of RTL8153A for USB 2.0
    048d0bf8ad19 net: cdc-phonet: fix data-interface release on probe failure
    ecc62c3b1b57 octeontx2-af: fix infinite loop in unmapping NPC counter
    7e9a48ceccae octeontx2-af: Fix irq free in rvu teardown
    e15823801229 libbpf: Use SOCK_CLOEXEC when opening the netlink socket
    7722378c4a0a nfp: flower: fix pre_tun mask id allocation
    060deac22f87 mac80211: fix rate mask reset
    52cc7bad1275 can: m_can: m_can_rx_peripheral(): fix RX being blocked by errors
    059c1996017d can: m_can: m_can_do_rx_poll(): fix extraneous msg loss warning
    e484616a9600 can: c_can: move runtime PM enable/disable to c_can_platform
    4f71965ee897 can: c_can_pci: c_can_pci_remove(): fix use-after-free
    42e49b3aa536 can: kvaser_pciefd: Always disable bus load reporting
    e3ca9fbfcdf5 can: flexcan: flexcan_chip_freeze(): fix chip freeze for missing bitrate
    fb4a6ac4851a can: peak_usb: add forgotten supported devices
    0a8046daba17 tcp: relookup sock for RST+ACK packets handled by obsolete req sock
    67319a8df5d3 netfilter: ctnetlink: fix dump of the expect mask attribute
    c4dd0b36cce4 selftests/bpf: Set gopt opt_class to 0 if get tunnel opt failed
    9d06cabe3bf4 ftgmac100: Restart MAC HW once
    81c591299da3 net/qlcnic: Fix a use after free in qlcnic_83xx_get_minidump_template
    d00db63edd0a e1000e: Fix error handling in e1000_set_d0_lplu_state_82571
    9f02a5658413 e1000e: add rtnl_lock() to e1000_reset_task
    71fa8051f2f4 igc: Fix Supported Pause Frame Link Setting
    35d8a780fa2b igc: Fix Pause Frame Advertising
    da8af444b325 net: dsa: bcm_sf2: Qualify phydev->dev_flags based on port
    267b79a11046 net: sched: validate stab values
    76909a298ebb macvlan: macvlan_count_rx() needs to be aware of preemption
    c6b6c7a92fe5 ipv6: fix suspecious RCU usage warning
    40fa14bbe3fe net/mlx5e: Don't match on Geneve options in case option masks are all zero
    e64e327c7fab libbpf: Fix INSTALL flag order
    53f1483984bf veth: Store queue_mapping independently of XDP prog presence
    f259a7fdeb12 bus: omap_l3_noc: mark l3 irqs as IRQF_NO_THREAD
    e6587d142d02 dm ioctl: fix out of bounds array access when no devices
    7b6944f18cec dm verity: fix DM_VERITY_OPTS_MAX value
    752589cd4ea8 integrity: double check iint_cache was initialized
    f3404a677770 ARM: dts: at91-sama5d27_som1: fix phy address to 7
    1815a24b9483 arm64: dts: ls1043a: mark crypto engine dma coherent
    7447c05e06c4 arm64: dts: ls1012a: mark crypto engine dma coherent
    b6f866bbf7ca arm64: dts: ls1046a: mark crypto engine dma coherent
    e980bd1f7f60 ACPI: video: Add missing callback back for Sony VPCEH3U1E
    431aaecd24ac gcov: fix clang-11+ support
    4748b6d56efe kasan: fix per-page tags for non-page_alloc pages
    037ecab65eb6 squashfs: fix xattr id and id lookup sanity checks
    79b8814d6765 squashfs: fix inode lookup sanity checks
    5b1abfe7d620 platform/x86: intel-vbtn: Stop reporting SW_DOCK events
    599cbcda68ee netsec: restore phy power state after controller reset
    8aa97ae0f5d9 ia64: fix ptrace(PTRACE_SYSCALL_INFO_EXIT) sign
    cb1504b30b6f ia64: fix ia64_syscall_get_set_arguments() for break-based syscalls
    37732ea82e09 block: Suppress uevent for hidden device when removed
    a2d07d077eb3 nfs: we don't support removing system.nfs4_acl
    eed4e1abc997 nvme-pci: add the DISABLE_WRITE_ZEROES quirk for a Samsung PM1725a
    5fc284999c4a nvme-fc: return NVME_SC_HOST_ABORTED_CMD when a command has been aborted
    526abcb05c61 nvme: add NVME_REQ_CANCELLED flag in nvme_cancel_request()
    8cdbee05b83f drm/radeon: fix AGP dependency
    5a0e3fcbeb5a drm/amdgpu: fb BO should be ttm_bo_type_device
    fc8e4af4c3ef drm/amd/display: Revert dram_clock_change_latency for DCN2.1
    6292d84c8af4 regulator: qcom-rpmh: Correct the pmic5_hfsmps515 buck
    c45182707277 u64_stats,lockdep: Fix u64_stats_init() vs lockdep
    f59604786a48 habanalabs: Call put_pid() when releasing control device
    694761bfdd76 sparc64: Fix opcode filtering in handling of no fault loads
    11efb0cda655 irqchip/ingenic: Add support for the JZ4760
    69423418c5eb cifs: change noisy error message to FYI
    981ba9c9a529 atm: idt77252: fix null-ptr-dereference
    6b2844ad7b17 atm: uPD98402: fix incorrect allocation
    40d0a9297f83 net: davicom: Use platform_get_irq_optional()
    b90de232a806 net: wan: fix error return code of uhdlc_init()
    0da0f199e767 net: hisilicon: hns: fix error return code of hns_nic_clear_all_rx_fetch()
    ab60e4f5eb3a NFS: Correct size calculation for create reply length
    785be28d360f nfs: fix PNFS_FLEXFILE_LAYOUT Kconfig default
    d605afb11945 gpiolib: acpi: Add missing IRQF_ONESHOT
    f6c1da94ddb3 cpufreq: blacklist Arm Vexpress platforms in cpufreq-dt-platdev
    1d2c9669135f cifs: ask for more credit on async read/write code paths
    ec7ce1e337ec gianfar: fix jumbo packets+napi+rx overrun crash
    7ef7d296b154 sun/niu: fix wrong RXMAC_BC_FRM_CNT_COUNT count
    d25f579ec557 net: intel: iavf: fix error return code of iavf_init_get_resources()
    d4dd6de6fc90 net: tehuti: fix error return code in bdx_probe()
    e224a789d4a6 ixgbe: Fix memleak in ixgbe_configure_clsu32
    537653a0698b ALSA: hda: ignore invalid NHLT table
    bd272f11a9d4 Revert "r8152: adjust the settings about MAC clock speed down for RTL8153"
    7a12167636bf atm: lanai: dont run lanai_dev_close if not open
    fb0067fcda6a atm: eni: dont release is never initialized
    614a4ba66854 powerpc/4xx: Fix build errors from mfdcr()
    45c1ca3e5784 net: fec: ptp: avoid register access when ipg clock is disabled
    d0f5726ab1df hugetlbfs: hugetlb_fault_mutex_hash() cleanup
    b90344f7d600 Linux 5.4.108
    819eb4d7a85e cifs: Fix preauth hash corruption
    cf113ffd620d x86/apic/of: Fix CPU devicetree-node lookups
    288be0ed9b36 genirq: Disable interrupts for force threaded handlers
    b8ebe853abca firmware/efi: Fix a use after bug in efi_mem_reserve_persistent
    31e17169a116 efi: use 32-bit alignment for efi_guid_t literals
    886dbe0e338b ext4: fix potential error in ext4_do_update_inode
    2f65ae3a7ee3 ext4: do not try to set xattr into ea_inode if value is empty
    474aab448436 ext4: find old entry again if failed to rename whiteout
    de2e1603c125 x86: Introduce TS_COMPAT_RESTART to fix get_nr_restart_syscall()
    076b60af926b x86: Move TS_COMPAT back to asm/thread_info.h
    27ddd2b59045 kernel, fs: Introduce and use set_restart_fn() and arch_set_restart_data()
    f546965c3aac x86/ioapic: Ignore IRQ2 again
    da326ba3b84a perf/x86/intel: Fix a crash caused by zero PEBS status
    51a2b19b554c PCI: rpadlpar: Fix potential drc_name corruption in store functions
    796fc331c3cf counter: stm32-timer-cnt: fix ceiling write max value
    850ca1c0130a iio: hid-sensor-temperature: Fix issues of timestamp channel
    31a2e804ad4a iio: hid-sensor-prox: Fix scale not correct issue
    3fa27c8749cf iio: hid-sensor-humidity: Fix alignment issue of timestamp channel
    4458ae8d4001 iio: adc: ad7949: fix wrong ADC result due to incorrect bit mask
    a605c095bb46 iio: gyro: mpu3050: Fix error handling in mpu3050_trigger_handler
    87163fbba6d2 iio: adis16400: Fix an error code in adis16400_initial_setup()
    ed0625334b94 iio:adc:qcom-spmi-vadc: add default scale to LR_MUX2_BAT_ID channel
    08414c498b4b iio:adc:stm32-adc: Add HAS_IOMEM dependency
    b0a595269e62 usb: typec: tcpm: Invoke power_supply_changed for tcpm-source-psy-
    4baade6fd6e5 usb: gadget: configfs: Fix KASAN use-after-free
    c92aebf2b0f3 USB: replace hardcode maximum usb string length by definition
    f89366164693 usbip: Fix incorrect double assignment to udc->ud.tcp_rx
    251949ec9d95 usb-storage: Add quirk to defeat Kindle's automatic unload
    81b56afc2841 nvme-rdma: fix possible hang when failing to set io queues
    b891d41d01f4 counter: stm32-timer-cnt: Report count function when SLAVE_MODE_DISABLED
    86fd6c0d22a5 scsi: myrs: Fix a double free in myrs_cleanup()
    eb46392d329a scsi: lpfc: Fix some error codes in debugfs
    1f925558e3f1 riscv: Correct SPARSEMEM configuration
    7db8f3be034d kbuild: Fix <linux/version.h> for empty SUBLEVEL or PATCHLEVEL again
    1dad483b1ebc net/qrtr: fix __netdev_alloc_skb call
    f0b09d547713 sunrpc: fix refcount leak for rpc auth modules
    3c57ea09365f vfio: IOMMU_API should be selected
    b439aac77360 svcrdma: disable timeouts on rdma backchannel
    d1ae8f16c223 NFSD: Repair misuse of sv_lock in 5.10.16-rt30.
    4c5fab560cb0 nfsd: Don't keep looking up unhashed files in the nfsd file cache
    49545a7b8b30 nvmet: don't check iosqes,iocqes for discovery controllers
    cf7d7728d8a5 nvme-tcp: fix a NULL deref when receiving a 0-length r2t PDU
    36a4f9164cf6 nvme-tcp: fix possible hang when failing to set io queues
    81c1dbe1070c nvme: fix Write Zeroes limitations
    6712b7fcef9d afs: Stop listxattr() from listing "afs.*" attributes
    c71b93323f37 ASoC: simple-card-utils: Do not handle device clock
    e029384c1835 ASoC: SOF: intel: fix wrong poll bits in dsp power down
    626a484d1ec2 ASoC: SOF: Intel: unregister DMIC device on probe error
    db3d39bcd66a ASoC: fsl_ssi: Fix TDM slot setup for I2S mode
    24c553371add btrfs: fix slab cache flags for free space tree bitmap
    5b3b99525c4f btrfs: fix race when cloning extent buffer during rewind of an old root
    a3e438db75fb ARM: 9044/1: vfp: use undef hook for VFP support detection
    a47b395d441d ARM: 9030/1: entry: omit FP emulation for UND exceptions taken in kernel mode
    34794bc0e768 s390/vtime: fix increased steal time accounting
    ba4342094d71 Revert "PM: runtime: Update device status before letting suppliers suspend"
    62cf220630a0 ALSA: hda/realtek: Apply headset-mic quirks for Xiaomi Redmibook Air
    613fd762d188 ALSA: hda: generic: Fix the micmute led init state
    5a5f85603e6e ALSA: hda/realtek: apply pin quirk for XiaomiNotebook Pro
    4d35c01a3645 ALSA: dice: fix null pointer dereference when node is disconnected
    d0fc0e7bfda2 ASoC: ak5558: Add MODULE_DEVICE_TABLE
    a592a4c2889e ASoC: ak4458: Add MODULE_DEVICE_TABLE

(From OE-Core rev: a6aecb7e564f067b786cdec5b2eedd7fc3f2f13d)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-21 22:43:58 +01:00
Bruce Ashfield
0f9ce18071 kern-tools: add dropped options to audit output
The rewrite of the configuration audit code dropped the ability to
generate warnings for configuration options that didn't make it into
the final .config.

We integrated the following commit to restore those warnings:

    symbol_why: classify based on config.queue hints

    The config.queue has typing hints inline with each fragment,
    we should be using them to further classify the options, and
    not only relying on the special hardware.cfg, etc, files that
    are part of the meta data

    We also should be checking for options that were set to a
    non 'no' value, and that don't make it into the final .config,
    since without that check it means we are missing some warnings.

(From OE-Core rev: f5e8a8c52386317607e333e55f710bf0393186c8)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-21 22:43:58 +01:00
Michael Halstead
6204a3f5f4 releases: update to include 3.3
Adding Hardknott to documentation switcher and release list.

(From yocto-docs rev: d1578f6ae84d0c44c63632bd5f3146653f1310a3)

Signed-off-by: Michael Halstead <mhalstead@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-20 14:04:56 +01:00
Richard Purdie
8c5b67bec2 bitbake: doc/user-manual-fetching: Remove basepath unpack parameter docs
The code for this was removed in 2016 in commit
e659a3b0c2771679057ee3e13cd42e6c62383ff2. Nobody seems to have missed it
so remove the documentation so we match the code.

[YOCTO #13449]

(Bitbake rev: 76bf42ea41a28b19d0377c2e548b0a59119fdf67)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-20 13:57:51 +01:00
Niels Avonds
d12a06cd49 bitbake: fetch/gitsm: Fix crash when using git LFS and submodules
Gitsm fetcher crashes when cloning a repository that contains LFS files.
This happens because the unpack method is called during download, but the
submodules have not been downloaded yet at this point.

This issue was introduced in this
commit: 977b7268bf

[YOCTO #14283]

(Bitbake rev: 26caedc4d2e9b5a0f1d57f9291754a7f6c5e437e)

Signed-off-by: Niels Avonds <niels@codebits.be>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-20 13:57:50 +01:00
Richard Purdie
6584e59ff0 bitbake: bitbake-server: Remove now unneeded code
With the previous patch this code is now pointless as we'd have hit a TypeError
before now.

(Bitbake rev: 6301a99055c79d89b715f72182cd0ef1b781b89a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-20 13:57:50 +01:00
Ross Burton
01066a584a bitbake: bitbake-server: ensure server timeout is a float
bitbake-server is spawned by process.py and passes the arguments it is
given to ProcessServer.  There's some type confusion here:

bitbake-server is called with a string representation of the timeout,
which may be None.  If the timeout is not set, pass 0 instead of None.

Inside bitbake-server a ProcessServer is created which expects the
timeout to be a float not a string, so always float() the value.

[ YOCTO #14350 ]

(Bitbake rev: c93ae1f861208f6d39fd15c84fbcd0e2b54331f5)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-20 13:57:50 +01:00
Trevor Gamblin
f39676bf56 nettle: upgrade 3.7.1 -> 3.7.2
Version 3.7.2 includes a fix for CVE-2021-20305.

(From OE-Core rev: 29f0ef2e32a9b55d8271fde240a4469070d57729)

Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-20 13:56:48 +01:00
Richard Purdie
ad2206b3fa sanity: Further improve directory sanity tests
Add tests to ensure COREBASE/TMPDIR doon't contain ".." as this causes
hard to understand build failures.

Also rework the code to test TMPDIR and COREBASE for all the patterns
since they may be set differently and one may contain problematic
characters.

[YOCTO #14111]

(From OE-Core rev: f22a6e46d003aba516a9a0cc7f94eae678d846b7)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-20 13:56:48 +01:00
Khem Raj
1e6a42e923 ca-certificates: Fix openssl runtime cert dependencies
With commit dc778c70449ee5401b5a24ad18b22b88338c47c5, dependency was
moved to openssl-bin which in itself was a fine change, but dropping
dependency on openssl too should have been kept along, dropping this
meant that openssl binary wont be able to validate secure connections as
the CApath files wont be installed, which infact are required for
openssl bins to work, following call e.g. fails

$ openssl s_client -connect google.com:443

....
New, TLSv1.3, Cipher is TLS_AES_256_GCM_SHA384
Server public key is 256 bit
Secure Renegotiation IS NOT supported
Compression: NONE
Expansion: NONE
No ALPN negotiated
Early data was not sent
Verify return code: 20 (unable to get local issuer certificate)
....

The local issuer certs are not found in default location
/usr/lib/ssh-1.1/certs, this dir and its content is installed by openssl package
therefore re-add the dependency on openssl

(From OE-Core rev: eaf377315efc73d6ffe361372a873918b3bb3bf5)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Andrei Gherzan <andrei@gherzan.ro>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-20 13:56:48 +01:00
Alexander Kanavin
9fc863bcdb weston: use standalone xwayland instead of outdated xserver-xorg version
(From OE-Core rev: e933962061ac3fa1c0c1069b8075a5f7645001c4)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-20 13:56:48 +01:00
Alexander Kanavin
07d33c8ec8 xwayland: add a standalone recipe
Please see here for the rationale for splitting XWayland out of
main xserver-xorg tree:
https://fedoraproject.org/wiki/Changes/XwaylandStandalone

Release announcement:
https://lists.x.org/archives/xorg-announce/2021-March/003076.html

(From OE-Core rev: 1533d913af0aac5524d2f9ebacaeafb5891124e2)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-20 13:56:48 +01:00
Alexander Kanavin
be76f499ad maintainers.inc: add libmicrohttpd entry
(From OE-Core rev: 3e588abaa081b2de238bbeead867204ff485e5ba)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-20 13:56:48 +01:00
Alexander Kanavin
76a9b01ff3 libmicrohttpd: add a recipe from meta-oe
This is required to enable debuginfod in elfutils.

(From OE-Core rev: e6035099772a0ccbb4835c0c782317c19527876c)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-20 13:56:48 +01:00
Alexander Kanavin
5aa20fe1b9 scripts/oe-debuginfod: correct several issues
Particularly:
- nesting subprocess.run() inside subprocess.check_output() does not work at all.
How was this tested?
- -R and -U options can be combined; no need to separate the invocations based
on packaging format
- both exception handlers are unnecessary; we can simply print the hint if
invocation did not succeed
- to run debuginfod from its own sysroot, '-c addto_recipe_sysroot' for elfutils-native
must be executed

(From OE-Core rev: 9e57bf636ec63e74d56f1ac48b5a27c5b80f1877)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-20 13:56:48 +01:00
Randy MacLeod
193251b8d0 oe-time-dd-test.sh: increase timeout to 15 sec
With the previous timeout of 5 seconds, there would be
builds such as:
   https://autobuilder.yocto.io/pub/non-release/20210417-13/
which produced 17 files with top output with top running 454 times
and that's a bit too much data to analyze for each run. By
increasing the timeout, we'll find the worse problems
first, fix them and then we can decrease the timeout if needed.

(From OE-Core rev: 92b29a09b4c442597d212337b785afb76129ac7c)

Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-20 13:56:48 +01:00
Khem Raj
c226e49cd5 gstreamer1.0-plugins-bad: Add packageconfigs for hls crypto backends
Use openssl by default

(From OE-Core rev: 4959563e59e0a829b9526009b14f71500624cced)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-20 13:56:48 +01:00
Khem Raj
268888f484 glib-networking: Prefer openssl backend instead of gnutls
Change the defaults to use openSSL

(From OE-Core rev: e63a422a407ed941a0d31522a8016d4c784bd87b)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-20 13:56:48 +01:00
Khem Raj
1ceb808fb7 libpsl: Add config knobs for runtime/builtin conversion choices
Use libicu by default

(From OE-Core rev: 20fc11919e2cec656685dab3fad07862b0b90610)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-20 13:56:48 +01:00
Khem Raj
96b4ed1e93 curl: Use openssl backend
use openssl instead of gnutls

(From OE-Core rev: c39452bf65a8baa0eac15e6c4d39cc0f88e089d0)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-20 13:56:48 +01:00
Khem Raj
7bfe0a4e7d wpa-supplicant: Enable openssl
Use openSSL for TLS/SSL implementation

(From OE-Core rev: 2bd4702d68ef79320c8194934568c56b4cc87aa3)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-20 13:56:48 +01:00
Khem Raj
2d07f91008 cups: Turn gnutls into a packageconfig knob
Disable it by default

(From OE-Core rev: 438d00af14a0cc108a25b36bf37502f1383865be)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-20 13:56:48 +01:00
Khem Raj
397f7130e5 epiphany: Add missing dependency on gnutls
This was being pulled in by other dependencies thus far

(From OE-Core rev: de944399fa3dadecd3faa5054145fe0cd7adbbf7)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-20 13:56:48 +01:00
Robert Joslyn
b129f2edda btrfs-tools: Try to follow style guide
Cosmetic changes to better follow the style guide.

(From OE-Core rev: e478013830700580c25877ab55b70ff73072bb81)

Signed-off-by: Robert Joslyn <robert.joslyn@redrectangle.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-20 13:56:48 +01:00
Robert Joslyn
769004c34a btrfs-tools: Add PACKAGECONFIG options
Add options to make it easier to control which features are enabled. All
of these default to enabled by upstream, so keep them enabled to
maintain previous behavior.

The convert option also supports reiserfs, but no recipes exist in the
layer index. Limit the option to ext filesystems until someone cares
enough to make reiserfs recipes.

Remove acl and attr from DEPENDS, as they do not apper to be needed. Add
zlib since it is required.

(From OE-Core rev: 7452cab85b65ce4b6e8309ab85ad40555c24435f)

Signed-off-by: Robert Joslyn <robert.joslyn@redrectangle.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-20 13:56:48 +01:00
Robert Joslyn
46b49025f3 btrfs-tools: Update to 5.11.1
Update licensing, as libtrfsutil is under LGPLv3+. Note that libtrfsutil
is in the process of being relicensed to LGPLv2.1+:
	https://github.com/kdave/btrfs-progs/issues/323

(From OE-Core rev: 0f75bb0e4d99c658302e28435d055b4f99dcc247)

Signed-off-by: Robert Joslyn <robert.joslyn@redrectangle.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-20 13:56:48 +01:00
Oleksandr Kravchuk
bd2c93374e autoconf-archive: update to 2021.02.19
(From OE-Core rev: f7417480667e7a06206239e3aac48dd1149d42fb)

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-20 13:56:48 +01:00
Wes Lindauer
ada30f1091 oeqa/runtime/cases: Only disable/enable for current boot
Previously doing a stop/start worked, but using a disable/enable does
not work on a read-only rootfs. Add a --runtime flag to systemctl so
that systemd only modifies the current boot and does not attempt to
write to the filesystem.

This also keeps the test from making a permanent (one could argue
policy) change to the running system being tested. i.e. What if the
image being tested had intentionally disabled the timesyncd service in
preference to using chrony or ntpd? The test shouldn't assume that the
user wants the timesyncd service enabled.

(From OE-Core rev: 43dd83b6a325589368c980a3f17cab90935aaeb0)

Signed-off-by: Wes Lindauer <wesley.lindauer@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-20 13:56:48 +01:00
Richard Purdie
d08d362cf9 bitbake: tinfoil/data_smart: Allow variable history emit() to function remotely
We can't access the emit() function of varhistory currently as the datastore parameter
isn't handled correctly, nor is the output stream. Add a custom wrapper for this
function which handles the two details correctly.

(Bitbake rev: ba0fa084ccd2b1ade96425d158fd31e49e42f286)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:38:22 +01:00
Henning Schild
46654e14a5 bitbake: tests/fetch: add tests for local and remote "noshared" git fetching
(Bitbake rev: e0267fe43bda208856af939b17e39beb9e5586c3)

Signed-off-by: Henning Schild <henning.schild@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:38:22 +01:00
Henning Schild
d274cf0cf8 bitbake: tests/fetch: deduplicate local git testing code
Purely cosmetic change that probably improves the code.

(Bitbake rev: 9c0733f0062f3cf19514c891cc06c9a8e0db429b)

Signed-off-by: Henning Schild <henning.schild@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:38:22 +01:00
Henning Schild
2cb6ce7788 bitbake: fetch/git: add support for disabling shared clones on unpack
By default the unpacker will create a "shared" clone when cloning from
the DL_DIR to the WORKDIR. This patch introduces an option to control
that behaviour.

Imagine some recipe steps are executed in a namespace that is different
from the one your downloader and unpacker ran in. (chroot) Because a
"shared" clone has an absolute reference to its "alternate" you now
have to make that "alternate" visible in that new namespace (chroot) at
the exact place.

With this patch you can unpack "noshared" and get a stand-alone copy.
This copy will also work if the "alternate" is not visible or existant.

The switch is a global bitbake switch and will affect all git urls.
Build systems that need "noshared" most likely need it for everything
they do with git.

(Bitbake rev: 6ae6f1865d5e666ebc670f70b7401a7b41648102)

Signed-off-by: Henning Schild <henning.schild@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:38:22 +01:00
Mikko Rapeli
33650ffdc7 bitbake: bitbake: tests/fetch: remove write protected files too
For some reason several git-annex files in Debian 10 buster
are read-only and removing them with "rm -rf" fails.

Fixes test failures like:

$ bitbake-selftest
...
rm: cannot remove '/tmp/tmpwmfn4w64/download/git2/tmp.tmpwmfn4w64.gitsource/annex/objects/f87/4d5/SHA256E-s0--e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855/SHA256E-s0--e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855': Permission denied
rm: cannot remove '/tmp/tmpwmfn4w64/download/git2/tmp.tmpwmfn4w64.gitsource/annex/objects/f87/4d5/SHA256E-s0--e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855/SHA256E-s0--e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855': Permission denied
EE..................................ssss.sssssssssssssss.sssss.......................................................................................................
======================================================================
ERROR: test_shallow_annex (bb.tests.fetch.GitShallowTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/builder/src/base/poky/bitbake/lib/bb/tests/fetch.py", line 1773, in test_shallow_annex
    fetcher, ud = self.fetch_shallow(uri)
  File "/home/builder/src/base/poky/bitbake/lib/bb/tests/fetch.py", line 1541, in fetch_shallow
    bb.utils.remove(ud.clonedir, recurse=True)
  File "/home/builder/src/base/poky/bitbake/lib/bb/utils.py", line 700, in remove
    subprocess.check_call(cmd + ['rm', '-rf'] + glob.glob(path))
  File "/usr/lib/python3.7/subprocess.py", line 347, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['rm', '-rf', '/tmp/tmpwmfn4w64/download/git2/tmp.tmpwmfn4w64.gitsource']' returned non-zero exit status 1.

Also, one "chmod" call was failing since the .git/annex subdirectory doesn't exist so just chmod
the whole temporary directory which should cover any directory name differences between
different git-annex versions. Fixes tests failing after chmod call:

Running 'export PSEUDO_DISABLED=1; unset _PYTHON_SYSCONFIGDATA_NAME; chmod u+w -R /tmp/tmpwmfn4w64/git//.git/annex' in /tmp/tmpwmfn4w64/git/

(Bitbake rev: 7729ef2983c72867e99fad82d671069ba5cb32b2)

Signed-off-by: Mikko Rapeli <mikko.rapeli@bmw.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:38:22 +01:00
Mikko Rapeli
490fb73e34 bitbake: bitbake: tests/fetch: fix test execution without .gitconfig
A CI user validating changes does not have any git push rights or
even a .gitconfig file so fix tests so that they run
by setting the user.name and user.email for the repo before
committing changes.

Fixes errors like:

ERROR: test_that_unpack_throws_an_error_when_the_git_clone_nor_shallow_tarball_exist (bb.tests.fetch.GitShallowTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/builder/src/base/poky/bitbake/lib/bb/tests/fetch.py", line 2055, in test_that_unpack_throws_an_error_when_the_git_clone_nor_shallow_tarball_exist
    self.add_empty_file('a')
  File "/home/builder/src/base/poky/bitbake/lib/bb/tests/fetch.py", line 1562, in add_empty_file
    self.git(['commit', '-m', msg, path], cwd)
  File "/home/builder/src/base/poky/bitbake/lib/bb/tests/fetch.py", line 1553, in git
    return bb.process.run(cmd, cwd=cwd)[0]
  File "/home/builder/src/base/poky/bitbake/lib/bb/process.py", line 184, in run
    raise ExecutionError(cmd, pipe.returncode, stdout, stderr)
bb.process.ExecutionError: Execution of 'git commit -m a a' failed with exit code 128:

*** Please tell me who you are.

Run

  git config --global user.email "you@example.com"
  git config --global user.name "Your Name"

to set your account's default identity.
Omit --global to set the identity only in this repository.

(Bitbake rev: 57c0811f1ee19b6619f4840a39e01e3cb98c34c4)

Signed-off-by: Mikko Rapeli <mikko.rapeli@bmw.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:38:22 +01:00
Richard Purdie
7ea37b9291 bitbake: runqueue: Fix deferred task issues
In a multiconfig situation there are circumstances where firstly, tasks
are deferred when they shouldn't be, then later, tasks can end up as
both covered and not covered.

This patch fixes two related issues. Firstly, the stamp validity checking
is done up front in the build and not reevaulated. When rebuilding the
deferred task list after scenequeue hash change updates, we need therefore
need to check if a task was in notcovered *or* covered when deciding to
defer it. This avoids strange logs like:

NOTE: Running setscene task X of Y (mc:initrfs_guest:/A/alsa-state.bb:do_deploy_source_date_epoch_setscene)
NOTE: Deferring mc:initrfs_guest:/A/alsa-state.bb:do_deploy_source_date_epoch after mc:host:/A/alsa-state.bb:do_deploy_source_date_epoch

where tasks have run but are then deferred.

Since we're recalculating the whole list, we also need to clear it before
iterating to rebuild it. By ensuring covered tasks aren't added to the
deferred queue, the covered + notcovered issue should also be avoided.
in the task deadlock forcing code.

[YOCTO #14342]

(Bitbake rev: 3c8717fb9ee1114dd80fc1ad22ee6c9e312bdac7)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:38:22 +01:00
Oleksandr Kravchuk
3f1ccea75e python3-setuptools: update to 56.0.0
(From OE-Core rev: 589a5695befb887f290746a3fc85d291fcb881ff)

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:26 +01:00
Alejandro Enedino Hernandez Samaniego
a8ec0d8cfd python3: Upgrade 3.9.2 -> 3.9.4
- Rebased patch 0001-test_locale.py-correct-the-test-output-format
  Maintainer needs to sign CLA and resubmit
- configure now explicitly requires autoconf-archive to be present

(From OE-Core rev: 34cb8f2a2ed36ad929dca9055c96f2f843656b8f)

Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandro@enedino.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:26 +01:00
Alejandro Enedino Hernandez Samaniego
51b7ecfef3 python3: Improve logging, syntax and update deprecated modules to create_manifest
The imp module has een deprecated by upstream python, drop its usage
  (imp.get_tag) in favor of sys.implementation.cache_tag.

Avoid incorrectly getting dependencies for running script and
multiprocessing module.

Improve logging behavior of the create_manifest task:
- Use indentation.
- Logs on temp directory.
- Use a proper debug flag.
- Standarize syntax.

(From OE-Core rev: a3ac339f5b8549a050308ba94c4ef9093f10e303)

Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandro@enedino.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:26 +01:00
Khem Raj
18007c25bd systemd: Fix build on mips/musl
(From OE-Core rev: b4a0d8799af0a3d1b685dd7200b545fdb2c79d64)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:26 +01:00
Otavio Salvador
44b37abc66 gstreamer1.0-plugins-base: Use bb.utils.filter to reduce code
(From OE-Core rev: ec3a1cb77131a3cf61fc005c84295d282a2eb80a)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:26 +01:00
Otavio Salvador
8569ec6e7e gstreamer1.0-plugins-base: Add 'viv-fb' OpenGL Window System option
This adds the 'viv-fb' PACKAGECONFIG option to allow Vivante GPU window
system to work.

(From OE-Core rev: 846564f1a999ea044f580bd61f7bcd527af62dce)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:26 +01:00
zhengruoqin
7117390a42 python3-pygobject: upgrade 3.38.0 -> 3.40.1
(From OE-Core rev: 3a274301edc359fba086e36da1272af93d59d178)

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:26 +01:00
zangrc
a369684a85 maintainers.inc: Modify email address
zangrc.fnst@cn.fujitsu.com -> zangrc.fnst@fujitsu.com
wangmy@cn.fujitsu.com -> wangmy@fujitsu.com

(From OE-Core rev: 6e8562e5b924e6c10625c2e9b660eed89fdfbdf4)

Signed-off-by: Zang Ruochen <zangrc.fnst@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:26 +01:00
wangmy
313c21d257 mesa: upgrade 21.0.1 -> 21.0.2
(From OE-Core rev: 58ad359da1b05820ea3dc4ae3f789ccb8991fc32)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:26 +01:00
wangmy
3d389d46d7 go: update SRC_URI to use https protocol
(From OE-Core rev: 2a1eb731ed3bcb049192550e362b771c3a9ea6eb)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:26 +01:00
Yanfei Xu
6a58e0c4ad parselogs: ignore floppy error on qemu-system-x86 at boot stage
We can disable floppy drive by BIOS on a hardware, but an empty floppy
drive is connected by default on qemu-system-x86. Linux usually detect
the device and modprode the matched floppy.ko at the boot stage. Due to
we don't specify a floppy deivce in qemu boot arguments, then the errors
about floppy reading comes out.

It is harmless and normal, so we could ignore this error message on
qemux86.

Seen if kernel-modules is included in the image which pulls in the
relavent kernel module.

https://lists.gnu.org/archive/html/qemu-devel/2021-04/msg01402.html

(From OE-Core rev: 3359f23ee9351c70997d5e0a17d17d1e47d59623)

Signed-off-by: Yanfei Xu <yanfei.xu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:26 +01:00
Jon Mason
f349bce59e oeqa/runtime: space needed
Messages are currently being printed as:
	Test requires dropbear, oropenssh-sshd to be installed
but should be
	Test requires dropbear, or openssh-sshd to be installed
Adding the space after the 'or' corrects this.

(From OE-Core rev: 51596e0f8cebe1607ab64ffb018d51e815c0ee4b)

Signed-off-by: Jon Mason <jdmason@kudzu.us>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:26 +01:00
wangmy
c3bd6ba29a man-pages: upgrade 5.10 -> 5.11
(From OE-Core rev: 40b0cd87c6677220168bfa029e68437b43d51df5)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:26 +01:00
wangmy
e88cb57ea8 mpg123: upgrade 1.26.4 -> 1.26.5
(From OE-Core rev: f277c3bbde507ae1830b1ba6c5ce9c0878f42491)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:26 +01:00
Mingli Yu
d186f922ef groff: not ship /usr/bin/grap2graph
grap2graph which converts a GRAP diagram into a cropped image fails
to run as below:
 $ grap2graph
 /usr/bin/grap2graph: line 89: convert: command not found
 /usr/bin/grap2graph: warning: falling back to old '-crop 0x0' trim method
 /usr/bin/grap2graph: line 104: convert: command not found
 /usr/bin/grap2graph: line 103: grap: command not found

Considering we don't often need to convert a GRAP diagram into
a cropped image and the recipe ImageMagick which provides convert
command is in meta-oe layer, so don't ship the related files to
avoid the confusion about the above run time error.

(From OE-Core rev: 251be7279a475ee18c0c53fe9795bb37bffc2b45)

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:26 +01:00
wangmy
67609b751e icu: upgrade 68.2 -> 69.1
refresh 0001-icu-Added-armeb-support.patch

(From OE-Core rev: 6b22fce3a8a3567c794d0d701ffd14b61ea859c8)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:26 +01:00
zhengruoqin
2e95ad1e67 libdrm: upgrade 2.4.104 -> 2.4.105
0001-meson-Also-search-for-rst2man.py.patch
removed since it is included in 2.4.105

(From OE-Core rev: 7871f85a9fe610f600c4234fce38d24808f5a2fd)

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:26 +01:00
zhengruoqin
9ff374170d librepo: upgrade 1.13.0 -> 1.14.0
(From OE-Core rev: 7017725b14888c9668efcad92bca46b4d1ce9a68)

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:26 +01:00
zhengruoqin
86f2dff78b libdazzle: upgrade 3.38.0 -> 3.40.0
(From OE-Core rev: 5c184382bd9e952d91993bd29320357360d79cb3)

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:26 +01:00
wangmy
fb2be3e462 libcomps: upgrade 0.1.15 -> 0.1.16
refresh 0001-Add-crc32.c-to-sources-list.patch

(From OE-Core rev: f1f66e20eeea7bb1c370991490d34f868cd8a964)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:26 +01:00
wangmy
98d10b1c42 libcap: upgrade 2.48 -> 2.49
License-Update: add description of GPL v2.0

(From OE-Core rev: 2a02e5622d07146687f72615e9bcb8612cce03e3)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:26 +01:00
Richard Purdie
b3092cf96d sanity: Add error check for '%' in build path
It has been reported that '%' characters in build paths break with python
exceptions, probably due to confusion with python string escaping. Whilst it
is probably fixable, showing the user a human readable error is better given
it doesn't work.

[YOCTO #14282]

(From OE-Core rev: 31a3cf78452270131a657be45e76569515cff7ef)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:26 +01:00
Ross Burton
9230ef121d insane: clean up some more warning messages
(From OE-Core rev: 2abe18682192e7b38b9af5a5043906f2f069648f)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:26 +01:00
Armin Kuster
190a53a942 binutils: rename BRANCH var
If BRANCH is defined in local.conf then that name is used to d/l sources
for binutils. You will get this error:

Fetcher failure for URL: 'git://sourceware.org/git/binutils-gdb.git;branch=hardknott;protocol=git'. Unable to fetch URL from any source.

Rename to SRCBRANCH like glibc has to avoid the more common variable name BRANCH.

(From OE-Core rev: 40d18272cd765420080fffc0e4bde7e3e79982af)

Signed-off-by: Armin Kuster <akuster808@gmail.com>

--
V2]
Remove commented out BINUPV and function

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:26 +01:00
Kevin Hao
a24d0161f6 Revert "inittab: Add getty launch on hvc0 for qemuppc64"
This reverts commit ed69ef2016.

The console entry has already been added into /etc/inittab based
on the SERIAL_CONSOLES. So drop this redundant entry.

(From OE-Core rev: 633f0c6b74e3caa2bae52ca60c61b811b7b2215d)

Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:26 +01:00
Kevin Hao
bfbccfd85f sysvinit-inittab/start_getty: Check /sys for the tty device existence
The hvc tty driver doesn't populate a file like /proc/tty/driver/serial,
so the current implementation of start_getty doesn't work for the hvc
console. By checking the /sys/class/tty/ for the tty device existence,
it should support more console types and also make the codes more simple.

(From OE-Core rev: 670ceef0f6584ece5ce4176610255226a6148570)

Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:26 +01:00
Kevin Hao
7d9a47e623 modutils-initscripts: Bail out when no module is installed
Fix the following warning when boot with a core-image-minimal rootfs:
  depmod: can't change directory to 'lib/modules/5.10.25-yocto-standard': No such file or directory

(From OE-Core rev: c34650400182a1104a5fbe03e54f5cea69eb1900)

Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:26 +01:00
Mingli Yu
25e1aabea6 libtool: make sure autoheader run before automake
When use automake to generate Makefile.in from Makefile.am, there
comes below race:
 | configure.ac:45: error: required file 'config-h.in' not found

It is because the file config-h.in in updating process by autoheader,
so make automake run after autoheader to avoid the above race.

(From OE-Core rev: 1fc0a4a98e65db7efba8bb5cb835101ea5dd865b)

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:26 +01:00
Gavin Li
55c1c00456 kmod: do not symlink config.guess/config.sub during autoreconf
I was encountering the following race condition on poky:

- automake-native does do_install.
- automake-native does do_populate_sysroot. This hardlinks config.guess
  and config.sub into ${D}.
- kmod-native does do_configure. This runs `autoreconf`, which runs
  `automake --add-missing` (symlinks config.guess/config.sub from
  recipe-sysroot-native to build dir), then runs `gnu-configize` (copies
  _its own_ config.guess/config.sub _on top_ of the already existing
  ones). Since the destinations already had symlinks, the copy would
  overwrite config.guess/config.sub in recipe-sysroot-native, which
  would in turn overwrite the same in ${D} due to being hardlinked.
- automake-native does do_package. The outhash is thus calculated on the
  clobbered config.guess/config.sub files.

With hash equivalency enabled, the different outhash produced a
different unihash, which kept me from reusing sstate between my laptop
and my build server. This race condition would happen only on the build
server (BB_NUMBER_THREADS = 32) but never on my laptop
(BB_NUMBER_THREADS = 6).

I didn't see the --install and --symlink flags being used by any other
recipe, so I removed them, and that fixed the issue.

(From OE-Core rev: 89d675efd633b495daa4a3a57420b9c309497035)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:26 +01:00
Saul Wold
984dddf288 pango: re-enable ptest
The run-ptest script got accidently dropped from the SRC_URI during
a past update and ptest patch.

(From OE-Core rev: 4479f810c1a3ab2badf4f9610c309bc0e23e2a5f)

Signed-off-by: Saul Wold <saul.wold@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:26 +01:00
Anthony Bagwell
77ee8ef875 systemd: upgrade 247.4 -> 247.6
(From OE-Core rev: 63fbf39b8aa3d94ca2db719d1a53190045dbb86d)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:25 +01:00
wangmy
bdda15e0f3 go: upgrade 1.16.2 -> 1.16.3
This is bugfix release in 1.16 series [1]

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

(From OE-Core rev: 84188e7b78aa40b168b526fa5d681a8a21d3b77c)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:25 +01:00
Jose Quaresma
cac76cef79 gstreamer1.0: update patch upstream status
(From OE-Core rev: 0bd65127a249ce8a1199d4961e2351dbd6d83dd6)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:25 +01:00
Konrad Weihmann
ded1504299 cpan-base: set default UPSTREAM_CHECK_REGEX
as cpan release versions are almost always follow an a.b version scheme,
it's better to filter out beta releases such as a.b.c.
Use the first resource fetched from https://cpan.metacpan.org as base
for calculating the needed regex.
In case nothing can be calculated fall back to nothing.
Add this to cpan-base to enable it for new & old style cpan integration.

(From OE-Core rev: 3df2cf383b58a3100bd78ebb0369047221121512)

Signed-off-by: Konrad Weihmann <kweihmann@outlook.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:25 +01:00
Ross Burton
da24dbf7b9 glslang: strip whitespace in pkgconfig file
Whilst pkg-config is fine with .pc files containing leading whitespace,
pkgconf is less forgiving.

(From OE-Core rev: 14bfe5f15f78c1bc049868633fd6fa19feb5a70c)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:25 +01:00
Jonas Höppner
bcb4246fa6 ltp: fix empty ltp-dev package
Currently the headers are not installed and the ltp-dev package is
empty.

This patch adds an include-install make target in the do_install step to
install them in sysroot which ends up as a working ltp-dev package.

(From OE-Core rev: f6943da4444cd71053650be0c9212bc25ac53137)

Signed-off-by: Jonas Höppner <jonas.hoeppner@garz-fricke.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:25 +01:00
Anatol Belski
036a8d4330 cross-canadian: Whitelist "mingw32" as TARGET_OS
If a recipe inherits cross-canadian and contains "nativesdk" in
BBCLASSEXTEND and meta-mingw is included and multiconfig is enabled,
bitbake will generate the correspending recipe. As meta-mingw sets
SDK_OS to "mingw32", that's what TARGET_OS will be set to as well.
Thus, currently such a recipe won't pass the check and fail with
a message:

Building cross-candian for an unknown TARGET_SYS
(x86_64-mysdk-mingw32), please update cross-canadian.bbclass

Even when building an SDK targeting Linux, but the mentioned conditions
are met, bitbake will try to generate the corresponding recipe and fail.

As the described combination seems valid, including "mingw32" into the
whitelist unconditionally as a fix is suggested.

(From OE-Core rev: d9306e8f9dbdbd30382f0bc0f0a1af75e702a2aa)

Signed-off-by: Anatol Belski <anbelski@linux.microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:25 +01:00
Mingli Yu
0ae3f1edd6 packagegroup-core-tools-testapps.bb: Remove kexec for riscv32
kexec is not yet ported to riscv32.

(From OE-Core rev: f1e7da7737b3d6df27cc5af002fd1eb0c202d0b4)

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:25 +01:00
Mingli Yu
5228f37b7e packagegroup-core-tools-profile: Remove valgrind for riscv32
valgrind is not yet ported to riscv32.

(From OE-Core rev: df70bc4c60838af1dd7e7f31aba43e8d190def77)

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:25 +01:00
Mingli Yu
8cf34c3517 libxshmfence: Build fixes for riscv32
NR_futex is not defined by newer architectures e.g. riscv32 as
they only have 64bit variant of time_t. Glibc defines SYS_futex
interface based on __NR_futex, since this is used in applications,
such applications start to fail to build for these newer architectures.

Define a fallback to alias __NR_futex to __NR_futex_time64 to make
SYS_futex keep working.

Reference: https://git.openembedded.org/openembedded-core/commit/?id=7a218adf9990f5e18d0b6a33eb34091969f979c7

(From OE-Core rev: 81599bf32135187b34726d41e9f619d22ca1bdd1)

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:25 +01:00
Ulrich Ölmann
91aa850998 arch-armv6m.inc: fix access rights
(From OE-Core rev: 2f7ebe444c2a78ef149b8c5f0f005ab23f24a176)

Signed-off-by: Ulrich Ölmann <u.oelmann@pengutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:25 +01:00
Douglas Royds
a7c950d7b5 externalsrc: Detect code changes in submodules
Further to 50ff9afb39, only detect code changes in submodules that are
subdirectories of the EXTERNALSRC directory.

The (undocumented) git submodule--helper returns a path
for each submodule relative to the top of the repo.
Don't add submodules that are not within our source subtree.

[YOCTO #14333]

(From OE-Core rev: 1c18225d3ef94a41fc073ae87c163b68e6d46571)

Signed-off-by: Douglas Royds <douglas.royds@taitradio.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:25 +01:00
Douglas Royds
52c1cb2a9d Revert "externalsrc: Detect code changes in submodules"
This reverts commit 4525310d49d115a37705f04ac5c03d639e5e8f8c.

Further to 50ff9afb39, only detect code changes in submodules that are
subdirectories of the EXTERNALSRC directory.

The (undocumented) git submodule--helper returns a path
for each submodule relative to the top of the repo.
Don't add submodules that are not within our EXTERNALSRC subtree.

If we unpack one git repo inside another, like this:

    SRC_URI = "git://${GIT_SERVER}/repo1;name=repo1;destsuffix=repo1 \
               git://${GIT_SERVER}/repo2;name=repo2;destsuffix=repo1/repo2 \
               "

Git status reports, for repo1:

    Untracked files:
      (use "git add <file>..." to include in what will be committed)
	repo2/

If we run `devtool modify` on this recipe, do_patch runs with:

    PATCHTOOL = "git"
    PATCH_COMMIT_FUNCTIONS = "1"

The `patch_task_postfunc` (patch.bbclass, line 82) runs a `git add .` on the
top-level repo1, leaving the checkout in an invalid state. The following git
warning does not appear in the log:

    $ git add .
    warning: adding embedded git repository: repo2
    hint: You've added another git repository inside your current repository.
    hint: Clones of the outer repository will not contain the contents of
    hint: the embedded repository and will not know how to obtain it.
    hint: If you meant to add a submodule, use:
    hint:
    hint: 	git submodule add <url> repo2
    hint:
    hint: If you added this path by mistake, you can remove it from the
    hint: index with:
    hint:
    hint: 	git rm --cached repo2
    hint:
    hint: See "git help submodule" for more information.

    $ git submodule status
    fatal: no submodule mapping found in .gitmodules for path 'repo2'

No further git submodule commands can be run on the checkout.

We could enhance the `patch_task_postfunc` to look for any embedded git
checkouts and add them as submodules, but this seems unnecessary complexity for
an obscure edge-case. Although the git repo is left in an invalid state with
respect to the submodules, it still serves the purpose required by devtool:
To take further commits, and generate patch files from them.

We are still able to run these commands to examine any submodules,
where git submodule--helper reports paths relative to the top of the checkout:

    $ git ls-files --stage | grep ^160000
    160000 5feee12d6e974dd8c0614cf5b593380b046439a5 0   repo2

    $ git submodule--helper list
    160000 5feee12d6e974dd8c0614cf5b593380b046439a5 0   repo2

When a recipe sets EXTERNALSRC to a subdirectory of the git checkout, we test
for the existence of the reported submodule paths within the EXTERNALSRC
directory.

The latest versions of git submodule--helper accept a path to a subdirectory and
correctly report no submodules within that subdirectory. Regrettably, we still
support git versions that don't accept a path to a subdirectory.

[YOCTO #14333]

(From OE-Core rev: 2055718fdd19f925e236d67823017323bbd92a4b)

Signed-off-by: Douglas Royds <douglas.royds@taitradio.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:25 +01:00
Samuli Piippo
91cb0b9645 assimp: BBCLASSEXTEND to native and nativesdk
At least some Qt tooling depends on assimp.

(From OE-Core rev: 49c6742eba328236cb73c0ac59b6288f29c46c81)

Signed-off-by: Samuli Piippo <samuli.piippo@qt.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:25 +01:00
wangmy
40f1ab6a53 libksba: upgrade 1.5.0 -> 1.5.1
(From OE-Core rev: 506a99a9f2dd49bacc06821ad5e953c15d44b5e2)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:25 +01:00
wangmy
c2804bba62 libportal: upgrade 0.3 -> 0.4
(From OE-Core rev: c6517d33eed8b092d2eda04b9173892139090b4c)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:25 +01:00
wangmy
82fb0385a9 help2man: upgrade 1.48.2 -> 1.48.3
(From OE-Core rev: 27a2cbc0fa14ed8f6bdf5e75c38203238ed82931)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:25 +01:00
zhengruoqin
8c1dff642c libva-utils: upgrade 2.10.0 -> 2.11.1
(From OE-Core rev: e296fc53b738c3a2b72831a6d6d003f28f19d062)

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:25 +01:00
zhengruoqin
122293878e ruby: upgrade 3.0.0 -> 3.0.1
(From OE-Core rev: b6949a028fd31bd04ed0478fb34a58b971f31e1f)

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:25 +01:00
zhengruoqin
32710bff53 libva: upgrade 2.10.0 -> 2.11.0
(From OE-Core rev: 47360e2dacf0521260ef5883f4a741eb8c69a18e)

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:25 +01:00
Yi Fan Yu
1a42923505 Revert "glib-2.0: add workaround to fix codegen.py.test failing"
This reverts commit afc9ba7d546f3f2e60fb6f46f740dc925542df16.

Ptest-runner was upgraded in e3fd8f17dfb41173dbe037c25087a69f90b1346f,
which means we no longer need to limit glib-2.0 ptest output.

[YOCTO #14170]

(From OE-Core rev: e7be3901e43645796e195348924739d03495a079)

Signed-off-by: Yi Fan Yu <yifan.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:25 +01:00
hongxu
9ca4b13bd5 deb: apply postinstall on sdk
If not postinstall applied, some nativesdk command could not be found
in sdk due to update-alternatives in postinst not be executed, such as chroot:

$ which chroot
/sbin/chroot
$ which chroot.coreutils
path-to-sdk/sysroots/x86_64-wrlinuxsdk-linux/usr/bin/chroot.coreutils

After applying the fix
$ which chroot
path-to-sdk/sysroots/x86_64-wrlinuxsdk-linux/usr/bin/chroot
$ which chroot.coreutils
path-to-sdk/sysroots/x86_64-wrlinuxsdk-linux/usr/bin/chroot.coreutils

(From OE-Core rev: 2a9bf19502766baa4087456649d5471483d04f6a)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:25 +01:00
Anders Wallin
9e0f210179 scripts/contrib/image-manifest: add new script
image-manifest: script to generate product/image specific BOM

The image-manifest script generates image specific reports based on
an image manifest file. Currently there is data generated by buildhistory,
pkgdata, and license manifest but this data is poorly formated and spread
across multiple text files. This script can generate a single JSON output
file that is machine readable by other tools.

The manifest-info collects package information and stores the information
in a tarball. manifest-info can be configured using a json configuration
file. The default configuration including all possible options can be
dumped using the dump-config subcommand.

image-manifest takes an image manifest file as input to get the runtime
dependencies. As an option image-manifest can also use the build dependency
file, pn-buildlist, to get the build dependencies excluding native
packages.

This script extends the oe-image-manifest script [0] done by Paul Eggleton

[0]
https://github.com/intel/clear-linux-dissector-web/blob/master/layerindex/static/files/oe-image-manifest

------------------------------------------------------
usage: image-manifest [-h] [-d] [-q] <subcommand> ...

Image manifest utility

options:
  -h, --help     show this help message and exit
  -d, --debug    Enable debug output
  -q, --quiet    Print only errors

subcommands:
  recipe-info    Get recipe info
  list-depends   List dependencies
  list-recipes   List recipes producing packages within an image
  list-packages  List packages within an image
  list-layers    List included layers
  dump-config    Dump default config
  manifest-info  Export recipe info for a manifest
Use image-manifest <subcommand> --help to get help on a specific command

Co-developed-by: Paul Eggleton <bluelightning@bluelightning.org>
(From OE-Core rev: ad8fec9ce1704866df925bda18a240d6889b1ed5)

Signed-off-by: Anders Wallin <anders.wallin@windriver.com>
Signed-off-by: Saul Wold <saul.wold@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:25 +01:00
Stefan Ghinea
f07d4c2234 wpa-supplicant: fix CVE-2021-30004
In wpa_supplicant and hostapd 2.9, forging attacks may occur because
AlgorithmIdentifier parameters are mishandled in tls/pkcs1.c and
tls/x509v3.c.

References:
https://nvd.nist.gov/vuln/detail/CVE-2021-30004

Upstream patches:
https://w1.fi/cgit/hostap/commit/?id=a0541334a6394f8237a4393b7372693cd7e96f15

(From OE-Core rev: b32b671bf430b36a5547f8d822dbb760d6be47f7)

Signed-off-by: Stefan Ghinea <stefan.ghinea@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:25 +01:00
wangmy
317907d736 acpica: upgrade 20210105 -> 20210331
(From OE-Core rev: 5165d2e38406c29809dcdbbde4fbc48bcda01b43)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:25 +01:00
wangmy
218e1e3f47 curl: upgrade 7.75.0 -> 7.76.0
(From OE-Core rev: c1dfe36c5641ce1ddc1424e56037e23fd927c058)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:25 +01:00
wangmy
3db91ef623 file: upgrade 5.39 -> 5.40
0001-src-compress.c-correct-header-define-for-xz-lzma.patch
removed since it is included in 5.40

(From OE-Core rev: ae73c5fa666c0e0a7d1d7a04acd6246542b744aa)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:25 +01:00
Anders Wallin
565cbd773d lttng-tools: Fix path for test_python_looging
" was missing

(From OE-Core rev: e1780ccfc89e9ff4e260276f28ffa0bb8e9b44e1)

Signed-off-by: Anders Wallin <anders.wallin@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:25 +01:00
Anders Wallin
beb01f1820 lttng-tools: Fix missing legacy test files
tests/regression/tools/save-load

(From OE-Core rev: 2e892895e25d148b4c522e3a30bfb1bb4e9a9506)

Signed-off-by: Anders Wallin <anders.wallin@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:25 +01:00
Khem Raj
5765253344 vte: Upgrade to 0.64.0 release
Use git for SRC_URI as thi release has not appeared on gnome downloads yet
Drop LGPL-2.0 as it has fully moved to LGPL-3.1+ see [1] that also
covers for change in License checksums for GPL-3

Add license information to cover for Xterm files in libvte

Add new glade files into -dev package

[1] 5e14529d42

(From OE-Core rev: 4a1a20325e2d40256e03ab1a5be348a4c213d181)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:25 +01:00
wangmy
54dff05002 glib-2.0: upgrade 2.66.7 -> 2.68.0
the following patches are refreshed:
0001-Set-host_machine-correctly-when-building-with-mingw3.patch
0001-gio-tests-codegen.py-bump-timeout-to-100-seconds.patch
0001-tests-codegen.py-removing-unecessary-print-statement.patch
relocate-modules.patch

the following patches are removed since they are included
in 2.68.0:
0001-gobject-Drop-use-of-volatile-from-get_type-macros.patch
0002-tests-Fix-non-atomic-access-to-a-shared-variable.patch
0003-tests-Fix-non-atomic-access-to-a-shared-variable.patch
0004-tests-Drop-unnecessary-volatile-qualifiers-from-test.patch
0005-tests-Fix-non-atomic-access-to-some-shared-variables.patch
0006-tests-Drop-unnecessary-volatile-qualifiers-from-test.patch
0007-gdbusconnection-Drop-unnecessary-volatile-qualifiers.patch
0008-gdbuserror-Drop-unnecessary-volatile-qualifiers-from.patch
0009-gio-Drop-unnecessary-volatile-qualifiers-from-intern.patch
0010-kqueue-Fix-unlocked-access-to-shared-variable.patch
0011-tests-Drop-unnecessary-volatile-qualifiers-from-test.patch
0012-tests-Fix-non-atomic-access-to-some-shared-variables.patch
0013-gatomic-Drop-unnecessary-volatile-qualifiers-from-in.patch
0014-gatomic-Drop-unnecessary-volatile-qualifiers-from-ma.patch
0015-glib-Drop-unnecessary-volatile-qualifiers-from-inter.patch
0016-gobject-Drop-unnecessary-volatile-qualifiers-from-in.patch
0017-gmessages-Drop-unnecessary-volatile-qualifiers-from-.patch
0018-gtypes-Drop-volatile-qualifier-from-gatomicrefcount.patch
0019-gatomicarray-Drop-volatile-qualifier-from-GAtomicArr.patch
0020-gobject-Drop-volatile-qualifier-from-GObject.ref_cou.patch
0021-tests-Drop-unnecessary-volatile-qualifiers-from-test.patch
0022-build-Drop-unnecessary-volatile-qualifiers-from-conf.patch
0023-gdbusprivate-Avoid-a-warning-about-a-statement-with-.patch
0024-tests-Add-comment-to-volatile-atomic-tests.patch
0025-gthread-Use-g_atomic-primitives-correctly-in-destruc.patch
0026-gtype-Fix-some-typos-in-comments.patch
0027-gtype-Add-some-missing-atomic-accesses-to-init_state.patch
0028-gresource-Fix-a-pointer-mismatch-with-an-atomic-load.patch
0029-docs-Document-not-to-use-volatile-qualifiers.patch

(From OE-Core rev: fde4cb18e28e98f934c0742292f7ec183a568233)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:25 +01:00
zhengruoqin
d7e0475b50 python3-gitdb: upgrade 4.0.5 -> 4.0.7
(From OE-Core rev: 4abef6ce5093ce62fb583eba1f103f1b79723723)

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:25 +01:00
zhengruoqin
4ca98c14a6 python3-dbusmock: upgrade 0.22.0 -> 0.23.0
(From OE-Core rev: 114950983c82a7412301ed88bf1f74d7f2d2ac14)

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:25 +01:00
zhengruoqin
075ac6ca72 netbase: upgrade 6.2 -> 6.3
(From OE-Core rev: 9fd991163cfce6c4a1cf481b42c493eccb0a5a1a)

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:24 +01:00
wangmy
2e7c5829fc libsolv: upgrade 0.7.17 -> 0.7.18
(From OE-Core rev: a06a4d19b102c4b1fbdb969c8b6e96c2ffba3ef9)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:24 +01:00
wangmy
bf8055edad ghostscript: upgrade 9.53.3 -> 9.54.0
(From OE-Core rev: bb4cdbda73b77808ebbd17cce3420fab767b496d)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:24 +01:00
wangmy
446a078ad5 gcr: upgrade 3.38.1 -> 3.40.0
(From OE-Core rev: d9f8925864d80d959b2b145c00fb36423f6dd08e)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:24 +01:00
wangmy
6852a907dc ccache: upgrade 4.2 -> 4.2.1
License-Update: add license information of src/third_party/win32/winerror_to_errno.h

(From OE-Core rev: 12f0aa9533edc7ac5a65b1c165797b049349b19e)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:24 +01:00
wangmy
49652a4910 dbus-glib: upgrade 0.110 -> 0.112
License-Update:add the following information of license
     SPDX-License-Identifier: AFL-2.1 OR GPL-2.0-or-later

(From OE-Core rev: fbc9e6f5c2a45ff917b7c255487616d922bdeb7a)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:24 +01:00
wangmy
da9f221f70 ell: upgrade 0.38 -> 0.39
(From OE-Core rev: dba7774a0f34eea86707a011941c7b3ef2fa5c1c)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:24 +01:00
Randy MacLeod
0b16b83dff sqlite3: upgrade 3.35.0 -> 3.35.3
(From OE-Core rev: 7d511f9b2b1f739e0c96a063d85428b3ab5767b3)

Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:24 +01:00
Wang Mingyu
af42c1a8ad vte: upgrade 0.62.2 -> 0.62.3
(From OE-Core rev: f258154135980c054c220a34c6a9c4278d2038c3)

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:24 +01:00
Wang Mingyu
b676111c64 webkitgtk: upgrade 2.30.5 -> 2.30.6
(From OE-Core rev: 9a3a925cc90f1b882463f3e885af441177a8215c)

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:24 +01:00
zhengruoqin
7b4b6ff618 wpebackend-fdo: upgrade 1.8.0 -> 1.8.2
(From OE-Core rev: c65d04d555df94ad3b5c1076d8b5097de699f8c5)

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:24 +01:00
zhengruoqin
19ff739725 epiphany: upgrade 3.38.2 -> 3.38.3
(From OE-Core rev: 5062a5a0e7d2228051721346bbc2abb4ab7c9ecc)

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:24 +01:00
Wang Mingyu
31e395f4ba libassuan: upgrade 2.5.4 -> 2.5.5
refresh libassuan-add-pkgconfig-support.patch

(From OE-Core rev: e4948654311034d75352ffd74d7f602d7f8394de)

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:24 +01:00
Khem Raj
8c88d149c8 valgrind: Add libstdc++ debug symbols for ptest
new/delete symbols are needed by overloaded-new.post test

(From OE-Core rev: 11bb1fe42590fd35ae5f24196d263f93dd063d35)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:24 +01:00
Khem Raj
5015e6711d valgrind: Add glibc-src to ptest rdeps
gdbserver tests look for glibc sources ( rtld.c )
or else they are flagged as differences and tests marked as failures

(From OE-Core rev: 3824f811db82c6f2360eea19a9df9129f4330291)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:24 +01:00
Khem Raj
5751bf6e14 valgrind: Delete trailing whitespaces
(From OE-Core rev: 2a049dd918e565c37b03af03973c695420b9599a)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:24 +01:00
Yi Fan Yu
e90519f1b5 valgrind: Fix ptest swapcontext.vgtest
Backport an upstream patch.
to limit the amount of stackstrace present.

Revert "valgrind: Disable ptest swapcontext.vgtest"
Effectively reverts commit 9dff5766f5795bb02677050045f24365f68bbc1a.

[YOCTO #14324]

(From OE-Core rev: a9baae5994354ba6410793f8a54e224e9dc21b5a)

Signed-off-by: Yi Fan Yu <yifan.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:24 +01:00
Yi Fan Yu
0f51493992 valgrind: Disable ptest swapcontext.vgtest
New test introduced in valgrind 3.17.0.
Test fails on both qemuarm64 and qemux64.

[YOCTO #14324]

(From OE-Core rev: 2c21e5dda1d88280be3062eabb8c2788ff543600)

Signed-off-by: Yi Fan Yu <yifan.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:24 +01:00
Yi Fan Yu
70dcfaea5e valgrind: update 3.16.1 -> 3.17.0
Notable changes:
* library is now in libexecdir instead of libdir

Added patches:
* Add musl.supp: missing musl.supp in 3.17.0

Dropped backport patches:
* nlcontrolc: found in c79180a3afcf65902e578646c3b716cc749db406
* drd Fedora33: found in 15330adf7c2471fbaa6a0818db07078d81dbff97
* lmw lswi ppc64le: found in 74b74174d572fee4015b8f4e326db3cd949bcdc3

Other dropped patches
* helgrind intercept: found in d2d54dbcc74244adfc0c80b40862edf2b82f53b9
* drd musl fix: found in d2d54dbcc74244adfc0c80b40862edf2b82f53b9

TESTING RESULTS:
qemux86-64:
FAIL: drd/tests/swapcontext

      3.17.0  3.16.1
===================
TOTAL:  736    726
PASSED: 694    688
FAILED:   1      0
SKIPPED: 41     38

(From OE-Core rev: 7c8c04ad933be38a806da355158c1e13e2c1b84c)

Signed-off-by: Yi Fan Yu <yifan.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:24 +01:00
Wang Mingyu
ea6c56ed89 boost-build-native: upgrade 4.3.0 -> 4.4.1
(From OE-Core rev: 9c8cc168d215d5eb784997a40c31262904ff8145)

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:24 +01:00
Wang Mingyu
583a26f346 babeltrace2: upgrade 2.0.3 -> 2.0.4
(From OE-Core rev: 628d335300ac378f8b7af5d1437873990fffa9e5)

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:24 +01:00
Wang Mingyu
0732afc6e9 at-spi2-core: upgrade 2.38.0 -> 2.40.0
(From OE-Core rev: 3e3e158839b57221919d1dd54eb54fffc1f9ac1b)

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:24 +01:00
Richard Purdie
83b9c24889 layer.conf: Update to add post 3.3 release honister series
(From OE-Core rev: c0f43f19fecfd16f973c2d2f8227106c46b451bb)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:24 +01:00
Chen Qi
bbec2f3f29 busybox: fix CVE-2021-28831
Backport patch to fix CVE-2021-28831.

(From OE-Core rev: e579dbd9a6b2472ca90f411c0b594da9e38c9aca)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:24 +01:00
Daniel Ammann
cf80f79422 archiver: Fix typos
(From OE-Core rev: 36de56496bc07c321162555d603fac756297911a)

Signed-off-by: Daniel Ammann <daniel.ammann@bytesatwork.ch>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:24 +01:00
Khem Raj
27eadb84fe gcc-runtime: Make DEBUG_PREFIX_MAP relative to S
Current definition of SLIB is actually equal to S but is hardcoded, this
means when we have altered location of S, then the regexp for
DEBUG_PREFIX_MAP will not be effective, which could result in S being
emitted into debug_line sections. Simplify the maps to use S variable
instead of SLIB

Secondly, rename SLIB_NEW to REL_S to make it more appropritate to what
it represents

(From OE-Core rev: 2c8e130adb5d4d55ba732a042ec157498460ee29)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:24 +01:00
Khem Raj
f715025381 glibc: Rename glibc src package
Since glibc uses custom PACKAGES, it misses using ${PN}-src and as a
result it uses libc-src for name which means creating rdep on glibc src
package becomes difficult since bitbake can not resolve rdep = glibc-src
back to glibc recipe and bails out on builds

Missing or unbuildable dependency chain was: ['glibc-src']
ERROR: Required build target 'valgrind' has no buildable providers.
Missing or unbuildable dependency chain was: ['valgrind', 'glibc-src']

(From OE-Core rev: 816c8529f05271aba3d414ab2e68506ac7b6ec69)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:24 +01:00
Khem Raj
e237e345fb gcc: Upgrade to 10.3.0 bug-fix release
Drop aarch64 backports which are already upstream
List of bugs fixed is [1]

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

(From OE-Core rev: 023806e0e0de2b0e814e6e38d78bf2faa9661f19)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:24 +01:00
Khairul Rohaizzat Jamaluddin
b50e51b1c8 qemu: Fix CVE-2020-35517
CVE:
CVE-2020-35517

(From OE-Core rev: 51376edb13eed748395ebe1e56081c092565be9b)

Signed-off-by: Khairul Rohaizzat Jamaluddin <khairul.rohaizzat.jamaluddin@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:24 +01:00
Richard Purdie
84a6d97670 oeqa/selftest: Ensure packages classes are set correctly for maintainers test
The dnf packages aren't parsed if rpm isn't in PACKAGE_CLASSES which means
the aintainers test failes for OE-Core (where ipk is the default) but not
for poky (where the default is rpm).

Ensure PACKAGE_CLASSES is set so it works in all cases.

[YOCTO #14277]

(From OE-Core rev: 842b11107363357ed933cfcf619f1cf23f0d841e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:24 +01:00
Richard Purdie
773f19df44 pseudo: Upgrade to add trailing slashes ignore path fix
Pull in:
  client: strip trailing slashes when opening an ignored path

(From OE-Core rev: 9fb92bc13b8a78ef98798f14e728058feb180ba6)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:23 +01:00
Peter Budny
16aeb6e94f lib/oe/terminal: Fix tmux new-session on older tmux versions (<1.9)
`tmux new -c` fails on tmux older than 1.9, when that flag was added.
We can omit the flag for older versions of tmux, and the working
directory gets set even without it.

(From OE-Core rev: c55c294be6f5119f4c58a4e7a0bc052904126569)

Signed-off-by: Peter Budny <pbbudny@amazon.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:23 +01:00
4609 changed files with 290238 additions and 125470 deletions

72
MAINTAINERS.md Normal file
View File

@@ -0,0 +1,72 @@
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
* Prelink-cross
* Matchbox
* Sato
* Autobuilder
Layer Maintainers needed
------------------------
* meta-gplv2 (ideally new strategy but active maintainer welcome)
Shadow maintainers/development needed
--------------------------------------
* toaster
* bitbake

View File

@@ -1,29 +0,0 @@
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:
http://www.openembedded.org/
The Yocto Project has extensive documentation about OE including a reference manual
which can be found at:
http://yoctoproject.org/documentation
Contributing
------------
Please refer to
http://www.openembedded.org/wiki/How_to_submit_a_patch_to_OpenEmbedded
for guidelines on how to submit patches.
Mailing list:
http://lists.openembedded.org/mailman/listinfo/openembedded-core
Source code:
http://git.openembedded.org/openembedded-core/

29
README.OE-Core.md Normal file
View File

@@ -0,0 +1,29 @@
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
https://www.openembedded.org/wiki/How_to_submit_a_patch_to_OpenEmbedded
for guidelines on how to submit patches.
Mailing list:
https://lists.openembedded.org/g/openembedded-core
Source code:
https://git.openembedded.org/openembedded-core/

View File

@@ -1 +0,0 @@
meta-yocto-bsp/README.hardware

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

View File

@@ -1 +0,0 @@
meta-poky/README.poky

1
README.poky.md Symbolic link
View File

@@ -0,0 +1 @@
meta-poky/README.poky.md

24
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.

View File

@@ -7,7 +7,7 @@ One of BitBake's main users, OpenEmbedded, takes this core and builds embedded L
stacks using a task-oriented approach.
For information about Bitbake, see the OpenEmbedded website:
http://www.openembedded.org/
https://www.openembedded.org/
Bitbake plain documentation can be found under the doc directory or its integrated
html version at the Yocto Project website:
@@ -17,7 +17,7 @@ Contributing
------------
Please refer to
http://www.openembedded.org/wiki/How_to_submit_a_patch_to_OpenEmbedded
https://www.openembedded.org/wiki/How_to_submit_a_patch_to_OpenEmbedded
for guidelines on how to submit patches, just note that the latter documentation is intended
for OpenEmbedded (and its core) not bitbake patches (bitbake-devel@lists.openembedded.org)
but in general main guidelines apply. Once the commit(s) have been created, the way to send
@@ -28,8 +28,16 @@ branch, type:
Mailing list:
http://lists.openembedded.org/mailman/listinfo/bitbake-devel
https://lists.openembedded.org/g/bitbake-devel
Source code:
http://git.openembedded.org/bitbake/
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.

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.

View File

@@ -12,6 +12,8 @@
import os
import sys
import warnings
warnings.simplefilter("default")
sys.path.insert(0, os.path.join(os.path.dirname(os.path.dirname(__file__)),
'lib'))
@@ -23,10 +25,9 @@ except RuntimeError as exc:
from bb import cookerdata
from bb.main import bitbake_main, BitBakeConfigParameters, BBMainException
if sys.getfilesystemencoding() != "utf-8":
sys.exit("Please use a locale setting which supports UTF-8 (such as LANG=en_US.UTF-8).\nPython can't change the filesystem locale after loading so we need a UTF-8 when Python starts or things won't work.")
bb.utils.check_system_locale()
__version__ = "1.50.0"
__version__ = "2.0.0"
if __name__ == "__main__":
if __version__ != bb.__version__:

View File

@@ -11,6 +11,8 @@
import os
import sys
import warnings
warnings.simplefilter("default")
import argparse
import logging
import pickle
@@ -26,6 +28,7 @@ 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',
@@ -51,6 +54,7 @@ def find_siginfo(tinfoil, pn, taskname, sigs=None):
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 """
@@ -59,13 +63,13 @@ def find_siginfo_task(bbhandler, pn, taskname, sig1=None, sig2=None):
if sig1 and sig2:
sigfiles = find_siginfo(bbhandler, pn, taskname, [sig1, sig2])
if len(sigfiles) == 0:
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 not sig1 in sigfiles:
elif sig1 not in sigfiles:
logger.error('No sigdata files found matching %s %s with signature %s' % (pn, taskname, sig1))
sys.exit(1)
elif not sig2 in sigfiles:
elif sig2 not in sigfiles:
logger.error('No sigdata files found matching %s %s with signature %s' % (pn, taskname, sig2))
sys.exit(1)
latestfiles = [sigfiles[sig1], sigfiles[sig2]]
@@ -85,11 +89,11 @@ def recursecb(key, hash1, hash2):
hashfiles = find_siginfo(tinfoil, key, None, hashes)
recout = []
if len(hashfiles) == 0:
if not hashfiles:
recout.append("Unable to find matching sigdata for %s with hashes %s or %s" % (key, hash1, hash2))
elif not hash1 in hashfiles:
elif hash1 not in hashfiles:
recout.append("Unable to find matching sigdata for %s with hash %s" % (key, hash1))
elif not hash2 in hashfiles:
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], hashfiles[hash2], recursecb, color=color)
@@ -109,36 +113,36 @@ parser.add_argument('-D', '--debug',
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'))
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")
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')
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')
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'))
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'))
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='?')
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='?')
help="Second signature file to compare",
action="store", nargs='?')
options = parser.parse_args()
if is_dump:
@@ -156,7 +160,8 @@ 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])
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])
@@ -165,7 +170,8 @@ if options.taskargs:
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]))
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

52
bitbake/bin/bitbake-getvar Executable file
View File

@@ -0,0 +1,52 @@
#! /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")
args = parser.parse_args()
if args.unexpand and not args.value:
print("--unexpand only makes sense with --value")
sys.exit(1)
if args.flag and not args.value:
print("--flag only makes sense with --value")
sys.exit(1)
quiet = args.quiet
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
if args.flag:
print(str(d.getVarFlag(args.variable, args.flag, expand=(not args.unexpand))))
elif args.value:
print(str(d.getVar(args.variable, expand=(not args.unexpand))))
else:
bb.data.emit_var(args.variable, d=d, all=True)

View File

@@ -13,6 +13,8 @@ import pprint
import sys
import threading
import time
import warnings
warnings.simplefilter("default")
try:
import tqdm
@@ -54,25 +56,24 @@ def main():
nonlocal missed_hashes
nonlocal max_time
client = hashserv.create_client(args.address)
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'))
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
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
with lock:
if l:
found_hashes += 1
else:
missed_hashes += 1
max_time = max(elapsed, max_time)
pbar.update()
max_time = max(elapsed, max_time)
pbar.update()
max_time = 0
found_hashes = 0
@@ -150,9 +151,8 @@ def main():
func = getattr(args, 'func', None)
if func:
client = hashserv.create_client(args.address)
return func(args, client)
with hashserv.create_client(args.address) as client:
return func(args, client)
return 0

View File

@@ -10,6 +10,8 @@ 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'))

View File

@@ -14,6 +14,8 @@ import logging
import os
import sys
import argparse
import warnings
warnings.simplefilter("default")
bindir = os.path.dirname(__file__)
topdir = os.path.dirname(bindir)
@@ -66,11 +68,11 @@ def main():
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 hasattr(plugin, 'tinfoil_init'):
plugin.tinfoil_init(tinfoil)
if not registered:
logger.error("No commands registered - missing plugins?")

View File

@@ -1,11 +1,15 @@
#!/usr/bin/env python3
#
# Copyright BitBake Contributors
#
# SPDX-License-Identifier: GPL-2.0-only
#
import os
import sys,logging
import optparse
import warnings
warnings.simplefilter("default")
sys.path.insert(0, os.path.join(os.path.dirname(os.path.dirname(__file__)),'lib'))
@@ -36,12 +40,14 @@ def main():
dest="host", type="string", default=PRHOST_DEFAULT)
parser.add_option("--port", help="port number(default: 8585)", action="store",
dest="port", type="int", default=PRPORT_DEFAULT)
parser.add_option("-r", "--read-only", help="open database in read-only mode",
action="store_true")
options, args = parser.parse_args(sys.argv)
prserv.init_logger(os.path.abspath(options.logfile),options.loglevel)
if options.start:
ret=prserv.serv.start_daemon(options.dbfile, options.host, options.port,os.path.abspath(options.logfile))
ret=prserv.serv.start_daemon(options.dbfile, options.host, options.port,os.path.abspath(options.logfile), options.read_only)
elif options.stop:
ret=prserv.serv.stop_daemon(options.host, options.port)
else:

View File

@@ -7,6 +7,8 @@
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
@@ -29,6 +31,7 @@ tests = ["bb.tests.codeparser",
"bb.tests.runqueue",
"bb.tests.siggen",
"bb.tests.utils",
"bb.tests.compression",
"hashserv.tests",
"layerindexlib.tests.layerindexobj",
"layerindexlib.tests.restapi",

View File

@@ -8,11 +8,13 @@
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'))
if sys.getfilesystemencoding() != "utf-8":
sys.exit("Please use a locale setting which supports UTF-8 (such as LANG=en_US.UTF-8).\nPython can't change the filesystem locale after loading so we need a UTF-8 when Python starts or things won't work.")
import bb
bb.utils.check_system_locale()
# Users shouldn't be running this code directly
if len(sys.argv) != 10 or not sys.argv[1].startswith("decafbad"):
@@ -26,12 +28,10 @@ readypipeinfd = int(sys.argv[3])
logfile = sys.argv[4]
lockname = sys.argv[5]
sockname = sys.argv[6]
timeout = sys.argv[7]
timeout = float(sys.argv[7])
xmlrpcinterface = (sys.argv[8], int(sys.argv[9]))
if xmlrpcinterface[0] == "None":
xmlrpcinterface = (None, xmlrpcinterface[1])
if timeout == "None":
timeout = None
# Replace standard fds with our own
with open('/dev/null', 'r') as si:

View File

@@ -1,11 +1,14 @@
#!/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
@@ -16,11 +19,12 @@ import signal
import pickle
import traceback
import queue
import shlex
import subprocess
from multiprocessing import Lock
from threading import Thread
if sys.getfilesystemencoding() != "utf-8":
sys.exit("Please use a locale setting which supports UTF-8 (such as LANG=en_US.UTF-8).\nPython can't change the filesystem locale after loading so we need a UTF-8 when Python starts or things won't work.")
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"):
@@ -87,19 +91,19 @@ def worker_fire_prepickled(event):
worker_thread_exit = False
def worker_flush(worker_queue):
worker_queue_int = b""
worker_queue_int = bytearray()
global worker_pipe, worker_thread_exit
while True:
try:
worker_queue_int = worker_queue_int + worker_queue.get(True, 1)
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 = worker_queue_int + worker_queue.get()
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:
@@ -145,9 +149,14 @@ def fork_off_task(cfg, data, databuilder, workerdata, fn, task, taskname, taskha
# a fork() or exec*() activates PSEUDO...
envbackup = {}
fakeroot = False
fakeenv = {}
umask = None
uid = os.getuid()
gid = os.getgid()
taskdep = workerdata["taskdeps"][fn]
if 'umask' in taskdep and taskname in taskdep['umask']:
umask = taskdep['umask'][taskname]
@@ -164,6 +173,7 @@ def fork_off_task(cfg, data, databuilder, workerdata, fn, task, taskname, taskha
# We can't use the fakeroot environment in a dry run as it possibly hasn't been built
if 'fakeroot' in taskdep and taskname in taskdep['fakeroot'] and not dry_run:
fakeroot = True
envvars = (workerdata["fakerootenv"][fn] or "").split()
for key, value in (var.split('=') for var in envvars):
envbackup[key] = os.environ.get(key)
@@ -232,6 +242,7 @@ def fork_off_task(cfg, data, databuilder, workerdata, fn, task, taskname, taskha
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"])
@@ -251,6 +262,13 @@ def fork_off_task(cfg, data, databuilder, workerdata, fn, task, taskname, taskha
bb.utils.set_process_name("%s:%s" % (the_data.getVar("PN"), taskname.replace("do_", "")))
if not the_data.getVarFlag(taskname, 'network', False):
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)
@@ -282,7 +300,13 @@ def fork_off_task(cfg, data, databuilder, workerdata, fn, task, taskname, taskha
try:
if dry_run:
return 0
return bb.build.exec_task(fn, taskname, the_data, cfg.profile)
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:
@@ -314,12 +338,12 @@ class runQueueWorkerPipe():
if pipeout:
pipeout.close()
bb.utils.nonblockingfd(self.input)
self.queue = b""
self.queue = bytearray()
def read(self):
start = len(self.queue)
try:
self.queue = self.queue + (self.input.read(102400) or b"")
self.queue.extend(self.input.read(102400) or b"")
except (OSError, IOError) as e:
if e.errno != errno.EAGAIN:
raise
@@ -347,7 +371,7 @@ class BitbakeWorker(object):
def __init__(self, din):
self.input = din
bb.utils.nonblockingfd(self.input)
self.queue = b""
self.queue = bytearray()
self.cookercfg = None
self.databuilder = None
self.data = None
@@ -381,7 +405,7 @@ class BitbakeWorker(object):
if len(r) == 0:
# EOF on pipe, server must have terminated
self.sigterm_exception(signal.SIGTERM, None)
self.queue = self.queue + r
self.queue.extend(r)
except (OSError, IOError):
pass
if len(self.queue):
@@ -406,14 +430,18 @@ class BitbakeWorker(object):
if self.queue.startswith(b"<" + item + b">"):
index = self.queue.find(b"</" + item + b">")
while index != -1:
func(self.queue[(len(item) + 2):index])
try:
func(self.queue[(len(item) + 2):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(item) + 3):]
index = self.queue.find(b"</" + item + b">")
def handle_cookercfg(self, data):
self.cookercfg = pickle.loads(data)
self.databuilder = bb.cookerdata.CookerDataBuilder(self.cookercfg, worker=True)
self.databuilder.parseBaseConfiguration()
self.databuilder.parseBaseConfiguration(worker=True)
self.data = self.databuilder.data
def handle_extraconfigdata(self, data):
@@ -513,9 +541,11 @@ except BaseException as e:
import traceback
sys.stderr.write(traceback.format_exc())
sys.stderr.write(str(e))
finally:
worker_thread_exit = True
worker_thread.join()
worker_thread_exit = True
worker_thread.join()
workerlog_write("exitting")
workerlog_write("exiting")
if not normalexit:
sys.exit(1)
sys.exit(0)

View File

@@ -1,5 +1,7 @@
#!/usr/bin/env python3
#
# Copyright BitBake Contributors
#
# SPDX-License-Identifier: GPL-2.0-only
#
@@ -16,6 +18,8 @@ import itertools
import os
import subprocess
import sys
import warnings
warnings.simplefilter("default")
version = 1.0

View File

@@ -33,7 +33,7 @@ databaseCheck()
$MANAGE migrate --noinput || retval=1
if [ $retval -eq 1 ]; then
echo "Failed migrations, aborting system start" 1>&2
echo "Failed migrations, halting system start" 1>&2
return $retval
fi
# Make sure that checksettings can pick up any value for TEMPLATECONF
@@ -41,7 +41,7 @@ databaseCheck()
$MANAGE checksettings --traceback || retval=1
if [ $retval -eq 1 ]; then
printf "\nError while checking settings; aborting\n"
printf "\nError while checking settings; exiting\n"
return $retval
fi
@@ -248,7 +248,7 @@ fi
# 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_EXTRAWHITE="$BB_ENV_EXTRAWHITE TOASTER_DIR"
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

View File

@@ -19,6 +19,8 @@ import sys
import json
import pickle
import codecs
import warnings
warnings.simplefilter("default")
from collections import namedtuple

View File

@@ -1,7 +1,7 @@
# 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:
@@ -15,5 +15,9 @@ 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

@@ -20,7 +20,7 @@ fun! NewBBAppendTemplate()
set nopaste
" New bbappend template
0 put ='FILESEXTRAPATHS_prepend := \"${THISDIR}/${PN}:\"'
0 put ='FILESEXTRAPATHS:prepend := \"${THISDIR}/${PN}:\"'
2
if paste == 1

View File

@@ -51,9 +51,9 @@ syn region bbString matchgroup=bbQuote start=+'+ skip=+\\$+ end=+'+
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 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,bbVarDeref nextgroup=bbVarEq
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
@@ -77,13 +77,15 @@ syn keyword bbOEFunctions do_fetch do_unpack do_patch do_configure do_comp
" 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,bbVarDeref,bbDelimiter nextgroup=bbShFuncRegion skipwhite
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
@@ -91,7 +93,7 @@ syn region shDeref start=+${@+ skip=+\\$+ excludenl end=+}+ contained co
" 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,bbVarDeref,bbDelimiter nextgroup=bbPyFuncRegion skipwhite
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
@@ -122,5 +124,6 @@ hi def link bbStatement Statement
hi def link bbStatementRest Identifier
hi def link bbOEFunctions Special
hi def link bbVarPyValue PreProc
hi def link bbOverrideOperator Operator
let b:current_syntax = "bb"

View File

@@ -3,7 +3,7 @@
# You can set these variables from the command line, and also
# from the environment for the first two.
SPHINXOPTS ?= -j auto
SPHINXOPTS ?= -W --keep-going -j auto
SPHINXBUILD ?= sphinx-build
SOURCEDIR = .
BUILDDIR = _build

View File

@@ -8,12 +8,12 @@ Manual Organization
Folders exist for individual manuals as follows:
* bitbake-user-manual - The BitBake User Manual
* 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 http://www.openembedded.org/wiki/Documentation.
go to https://www.openembedded.org/wiki/Documentation.
Sphinx
======

View File

@@ -16,7 +16,7 @@ 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: ::
using the following command form::
$ bitbake target
@@ -32,7 +32,7 @@ the BitBake command and its options, see ":ref:`The BitBake Command
your project's ``local.conf`` configuration file.
A common method to determine this value for your build host is to run
the following: ::
the following::
$ grep processor /proc/cpuinfo
@@ -40,7 +40,7 @@ the BitBake command and its options, see ":ref:`The BitBake Command
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
``BB_NUMBER_THREADS``.
:term:`BB_NUMBER_THREADS`.
A possibly simpler solution is that some Linux distributions (e.g.
Debian and Ubuntu) provide the ``ncpus`` command.
@@ -65,13 +65,13 @@ data itself is of various types:
The ``layer.conf`` files are used to construct key variables such as
:term:`BBPATH` and :term:`BBFILES`.
``BBPATH`` is used to search for configuration and class files under the
``conf`` and ``classes`` directories, respectively. ``BBFILES`` is used
: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 ``BBPATH`` and ``BBFILES`` directly in the environment.
user has set the :term:`BBPATH` and :term:`BBFILES` directly in the environment.
Next, the ``bitbake.conf`` file is located using the ``BBPATH`` variable
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.
@@ -79,8 +79,8 @@ directives.
Prior to parsing configuration files, BitBake looks at certain
variables, including:
- :term:`BB_ENV_WHITELIST`
- :term:`BB_ENV_EXTRAWHITE`
- :term:`BB_ENV_PASSTHROUGH`
- :term:`BB_ENV_PASSTHROUGH_ADDITIONS`
- :term:`BB_PRESERVE_ENV`
- :term:`BB_ORIGENV`
- :term:`BITBAKE_UI`
@@ -104,7 +104,7 @@ BitBake first searches the current working directory for an optional
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 ``BBPATH`` and ``BBFILES`` variables directly in the
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
@@ -114,7 +114,7 @@ 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 ``BBPATH``. That configuration file generally has
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.
@@ -135,11 +135,11 @@ 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 ``BBPATH`` in the same way as configuration files.
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: ::
command::
$ bitbake -e > mybb.log
@@ -155,7 +155,7 @@ execution environment.
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: ::
Here is an example that causes BitBake to produce a parsing error::
fakeroot create_shar() {
cat << "EOF" > ${SDK_DEPLOY}/${TOOLCHAIN_OUTPUTNAME}.sh
@@ -184,13 +184,13 @@ 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. ``BBFILES`` is a space-separated list of available files and
supports wildcards. An example would be: ::
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 ``BBFILES`` and stores the values of
recipe and append file located with :term:`BBFILES` and stores the values of
various variables into the datastore.
.. note::
@@ -201,18 +201,18 @@ 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 ``BBFILES``.
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`: ::
:term:`PV`::
PN = "${@bb.parse.BBHandler.vars_from_file(d.getVar('FILE', False),d)[0] or 'defaultpkgname'}"
PV = "${@bb.parse.BBHandler.vars_from_file(d.getVar('FILE', False),d)[1] or '1.0'}"
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
``PN`` to "something" and ``PV`` to "1.2.3".
: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
@@ -228,7 +228,7 @@ 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_WHITELIST`) and
: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
@@ -238,7 +238,7 @@ 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: ::
want upstream. Here is an example::
BBFILES = "/stuff/openembedded/*/*.bb /stuff/openembedded.modified/*/*.bb"
BBFILE_COLLECTIONS = "upstream local"
@@ -260,21 +260,21 @@ 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 ``PROVIDES`` list for each
of the recipes. A ``PROVIDES`` list is the list of names by which the
recipe can be known. Each recipe's ``PROVIDES`` list is created
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 ``PROVIDES``, that recipe's functionality can be
found under an alternative name or names other than the implicit ``PN``
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: ::
contained the following::
PROVIDES += "fullkeyboard"
The ``PROVIDES``
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.
@@ -284,14 +284,14 @@ in ``keyboard_1.0.bb`` can be found under two different names.
Preferences
===========
The ``PROVIDES`` list is only part of the solution for figuring out a
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 ``PROVIDES`` list for each kernel
"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: ::
line similar to the following in the machine configuration file::
PREFERRED_PROVIDER_virtual/kernel = "linux-yocto"
@@ -309,10 +309,10 @@ 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
``DEFAULT_PREFERENCE`` to "-1" makes the recipe unlikely to be used
unless it is explicitly referenced. Setting ``DEFAULT_PREFERENCE`` to
"1" makes it likely the recipe is used. ``PREFERRED_VERSION`` overrides
any ``DEFAULT_PREFERENCE`` setting. ``DEFAULT_PREFERENCE`` is often used
: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.
@@ -331,7 +331,7 @@ If the first recipe is named ``a_1.1.bb``, then the
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: ::
file that BitBake parses, you can change that preference::
PREFERRED_VERSION_a = "1.1"
@@ -394,7 +394,7 @@ 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 ``BB_NUMBER_THREADS`` variable.
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
@@ -435,7 +435,7 @@ BitBake writes a shell script to
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
``${T}/log.do_taskname.pid``. Looking at the expanded shell functions in
``${``\ :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.
@@ -477,7 +477,7 @@ 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_HASHBASE_WHITELIST` variable
:term:`BB_BASEHASH_IGNORE_VARS` variable
to define a list of variables that should never be included when
generating the signatures.
@@ -498,7 +498,7 @@ 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: ::
to ignore a dependency by using a line like the following::
PACKAGE_ARCHS[vardepsexclude] = "MACHINE"
@@ -508,7 +508,7 @@ 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: ::
following::
PACKAGE_ARCHS[vardeps] = "MACHINE"
@@ -523,7 +523,7 @@ 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
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
@@ -534,11 +534,11 @@ 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
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: ::
to help illustrate the concept::
BB_HASHBASE_WHITELIST ?= "TMPDIR FILE PATH PWD BB_TASKHASH BBPATH DL_DIR \
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 \
@@ -557,11 +557,11 @@ OpenEmbedded-Core uses: "OEBasic" and "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: ::
``bitbake.conf`` file::
BB_SIGNATURE_HANDLER ?= "OEBasicHash"
The "OEBasicHash" ``BB_SIGNATURE_HANDLER`` is the same as the "OEBasic"
The "OEBasicHash" :term:`BB_SIGNATURE_HANDLER` is the same as the "OEBasic"
version but adds the task hash to the stamp files. This results in any
metadata change that changes the task hash, automatically causing the
task to be run again. This removes the need to bump
@@ -578,10 +578,7 @@ the build. This information includes:
- ``BB_BASEHASH_``\ *filename:taskname*: The base hashes for each
dependent task.
- ``BBHASHDEPS_``\ *filename:taskname*: The task dependencies for
each task.
- ``BB_TASKHASH``: The hash of the currently running 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
@@ -648,13 +645,6 @@ compiled binary. To handle this, BitBake calls the
each successful setscene task to know whether or not it needs to obtain
the dependencies of that task.
Finally, after all the setscene tasks have executed, BitBake calls the
function listed in
:term:`BB_SETSCENE_VERIFY_FUNCTION2`
with the list of tasks BitBake thinks has been "covered". The metadata
can then ensure that this list is correct and can inform BitBake that it
wants specific tasks to be run regardless of the setscene result.
You can find more information on setscene metadata in the
:ref:`bitbake-user-manual/bitbake-user-manual-metadata:task checksums and setscene`
section.

View File

@@ -27,7 +27,7 @@ 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: ::
something like the following::
src_uri = (d.getVar('SRC_URI') or "").split()
fetcher = bb.fetch2.Fetch(src_uri, d)
@@ -37,7 +37,7 @@ 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: ::
The instantiation of the fetch class is usually followed by::
rootdir = l.getVar('WORKDIR')
fetcher.unpack(rootdir)
@@ -51,7 +51,7 @@ This code unpacks the downloaded files to the specified by ``WORKDIR``.
examine the OpenEmbedded class file ``base.bbclass``
.
The ``SRC_URI`` and ``WORKDIR`` variables are not hardcoded into the
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.
@@ -64,38 +64,38 @@ URLs by looking for source files in a specific search order:
:term:`PREMIRRORS` variable.
- *Source URI:* If pre-mirrors fail, BitBake uses the original URL (e.g
from ``SRC_URI``).
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 ``SRC_URI`` variable.
Consider the following two URLs: ::
some confusion when you are providing URLs for the :term:`SRC_URI` variable.
Consider the following two URLs::
http://git.yoctoproject.org/git/poky;protocol=git
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: ::
Here are some examples that show commonly used mirror definitions::
PREMIRRORS ?= "\
bzr://.*/.\* http://somemirror.org/sources/ \\n \
cvs://.*/.\* http://somemirror.org/sources/ \\n \
git://.*/.\* http://somemirror.org/sources/ \\n \
hg://.*/.\* http://somemirror.org/sources/ \\n \
osc://.*/.\* http://somemirror.org/sources/ \\n \
p4://.*/.\* http://somemirror.org/sources/ \\n \
svn://.*/.\* http://somemirror.org/sources/ \\n"
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/ \\n \
http://.*/.\* http://somemirror.org/sources/ \\n \
https://.*/.\* http://somemirror.org/sources/ \\n"
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
@@ -110,26 +110,26 @@ 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 ``SRC_URI`` variable with the
appropriate varflags as follows: ::
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 ``SRC_URI`` as shown below: ::
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: ::
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 ``DL_DIR``.
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.
@@ -144,6 +144,10 @@ download without a checksum triggers an error message. The
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
@@ -163,8 +167,8 @@ govern the behavior of the unpack stage:
- *dos:* Applies to ``.zip`` and ``.jar`` files and specifies whether
to use DOS line ending conversion on text files.
- *basepath:* Instructs the unpack stage to strip the specified
directories from the source path when unpacking.
- *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.
@@ -204,7 +208,7 @@ 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: ::
absolute::
SRC_URI = "file://relativefile.patch"
SRC_URI = "file:///Users/ich/very_important_software"
@@ -225,7 +229,12 @@ downloaded file is useful for avoiding collisions in
:term:`DL_DIR` when dealing with multiple files that
have the same name.
Some example URLs are as follows: ::
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"
@@ -235,15 +244,13 @@ Some example URLs are as follows: ::
Because URL parameters are delimited by semi-colons, this can
introduce ambiguity when parsing URLs that also contain semi-colons,
for example:
::
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:
::
characters::
SRC_URI = "http://abc123.org/git/?p=gcc/gcc.git&a=snapshot&h=a5dd47"
@@ -251,8 +258,7 @@ Some example URLs are as follows: ::
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:
::
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"
@@ -321,7 +327,7 @@ The supported parameters are as follows:
- *"port":* The port to which the CVS server connects.
Some example URLs are as follows: ::
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"
@@ -363,7 +369,7 @@ The supported parameters are as follows:
username is different than the username used in the main URL, which
is passed to the subversion command.
Following are three examples using svn: ::
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"
@@ -390,6 +396,19 @@ This fetcher supports the following parameters:
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".
@@ -405,17 +424,17 @@ This fetcher supports the following parameters:
- *"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 a tag instead
of the branch.
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. If unset, this
is assumed to be "master". The number of branch parameters much match
the number of name parameters.
- *"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".
@@ -436,15 +455,23 @@ This fetcher supports the following parameters:
parameter implies no branch and only works when the transfer protocol
is ``file://``.
Here are some example URLs: ::
Here are some example URLs::
SRC_URI = "git://git.oe.handhelds.org/git/vip.git;tag=version-1"
SRC_URI = "git://git.oe.handhelds.org/git/vip.git;protocol=http"
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: ``SRC_URI`` is often written out to logs and
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.
@@ -484,7 +511,7 @@ repository.
To use this fetcher, make sure your recipe has proper
:term:`SRC_URI`, :term:`SRCREV`, and
:term:`PV` settings. Here is an example: ::
:term:`PV` settings. Here is an example::
SRC_URI = "ccrc://cc.example.org/ccrc;vob=/example_vob;module=/example_module"
SRCREV = "EXAMPLE_CLEARCASE_TAG"
@@ -493,7 +520,7 @@ To use this fetcher, make sure your recipe has proper
The fetcher uses the ``rcleartool`` or
``cleartool`` remote client, depending on which one is available.
Following are options for the ``SRC_URI`` statement:
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.
@@ -506,7 +533,7 @@ Following are options for the ``SRC_URI`` statement:
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: ::
results in the following::
load /example_vob/example_module
@@ -555,10 +582,10 @@ 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 ``SRC_URI``.
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: ::
and port, username, and password, and fetches the Head Revision::
SRC_URI = "p4://example-depot/main/source/..."
SRCREV = "${AUTOREV}"
@@ -566,7 +593,7 @@ and port, username, and password, and fetches the Head Revision: ::
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: ::
password, and fetches a Revision based on a Label::
P4PORT = "tcp:p4server.example.net:1666"
SRC_URI = "p4://user:passwd@example-depot/main/source/..."
@@ -592,7 +619,7 @@ paths locally is desirable, the fetcher supports two parameters:
paths locally for the specified location, even in combination with the
``module`` parameter.
Here is an example use of the the ``module`` parameter: ::
Here is an example use of the the ``module`` parameter::
SRC_URI = "p4://user:passwd@example-depot/main;module=source/..."
@@ -600,7 +627,7 @@ 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: ::
Here is an example use of the the ``remotepath`` parameter::
SRC_URI = "p4://user:passwd@example-depot/main;module=source/...;remotepath=keep"
@@ -628,7 +655,7 @@ This fetcher supports the following parameters:
- *"manifest":* Name of the manifest file (default: ``default.xml``).
Here are some example URLs: ::
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"
@@ -651,16 +678,108 @@ Such functionality is set by the variable:
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: ::
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: ::
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.
.. _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/common-tasks.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/common-tasks.html#creating-node-package-manager-npm-packages>`
section of the Yocto Project.
Other Fetchers
--------------
@@ -670,8 +789,6 @@ Fetch submodules also exist for the following:
- Mercurial (``hg://``)
- npm (``npm://``)
- OSC (``osc://``)
- Secure FTP (``sftp://``)
@@ -686,4 +803,4 @@ submodules. However, you might find the code helpful and readable.
Auto Revisions
==============
We need to document ``AUTOREV`` and ``SRCREV_FORMAT`` here.
We need to document ``AUTOREV`` and :term:`SRCREV_FORMAT` here.

View File

@@ -20,7 +20,7 @@ Obtaining BitBake
See the :ref:`bitbake-user-manual/bitbake-user-manual-hello: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: ::
your machine, the BitBake directory appears as follows::
$ ls -al
total 100
@@ -49,7 +49,7 @@ 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: ::
command::
$ ./bin/bitbake --version
BitBake Build Tool Core version 1.23.0, bitbake version 1.23.0
@@ -61,14 +61,14 @@ 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: ::
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: ::
``PATH`` variable::
$ export PATH=/home/scott-lenovo/bitbake/bin:$PATH
@@ -99,7 +99,7 @@ discussion mailing list about the BitBake build tool.
This example was inspired by and drew heavily from
`Mailing List post - The BitBake equivalent of "Hello, World!"
<http://www.mail-archive.com/yocto@yoctoproject.org/msg09379.html>`_.
<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
@@ -116,7 +116,7 @@ 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: ::
directory::
$ mkdir ~/hello
$ cd ~/hello
@@ -127,7 +127,7 @@ Following is the complete "Hello World" example.
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: ::
directory. Run the ``bitbake`` command and see what it does::
$ bitbake
The BBPATH variable is not set and bitbake did not
@@ -145,23 +145,23 @@ Following is the complete "Hello World" example.
The majority of this output is specific to environment variables that
are not directly relevant to BitBake. However, the very first
message regarding the ``BBPATH`` variable and the
message regarding the :term:`BBPATH` variable and the
``conf/bblayers.conf`` file is relevant.
When you run BitBake, it begins looking for metadata files. The
:term:`BBPATH` variable is what tells BitBake where
to look for those files. ``BBPATH`` is not set and you need to set
it. Without ``BBPATH``, BitBake cannot find any configuration files
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 ``BBPATH`` in
#. **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
``BBPATH`` variable up in a configuration file for each project.
:term:`BBPATH` variable up in a configuration file for each project.
From your shell, enter the following commands to set and export the
``BBPATH`` variable: ::
:term:`BBPATH` variable::
$ BBPATH="projectdirectory"
$ export BBPATH
@@ -175,8 +175,8 @@ Following is the complete "Hello World" example.
("~") character as BitBake does not expand that character as the
shell would.
#. **Run BitBake:** Now that you have ``BBPATH`` defined, run the
``bitbake`` command again: ::
#. **Run BitBake:** Now that you have :term:`BBPATH` defined, run the
``bitbake`` command again::
$ bitbake
ERROR: Traceback (most recent call last):
@@ -205,18 +205,18 @@ Following is the complete "Hello World" example.
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
http://git.openembedded.org/bitbake/tree/conf/bitbake.conf.
https://git.openembedded.org/bitbake/tree/conf/bitbake.conf.
Use the following commands to create the ``conf`` directory in the
project directory: ::
project directory::
$ mkdir conf
From within the ``conf`` directory,
use some editor to create the ``bitbake.conf`` so that it contains
the following: ::
the following::
PN = "${@bb.parse.BBHandler.vars_from_file(d.getVar('FILE', False),d)[0] or 'defaultpkgname'}"
PN = "${@bb.parse.vars_from_file(d.getVar('FILE', False),d)[0] or 'defaultpkgname'}"
TMPDIR = "${TOPDIR}/tmp"
CACHE = "${TMPDIR}/cache"
@@ -251,7 +251,7 @@ Following is the complete "Hello World" example.
glossary.
#. **Run BitBake:** After making sure that the ``conf/bitbake.conf`` file
exists, you can run the ``bitbake`` command again: ::
exists, you can run the ``bitbake`` command again::
$ bitbake
ERROR: Traceback (most recent call last):
@@ -278,7 +278,7 @@ Following is the complete "Hello World" example.
in the ``classes`` directory of the project (i.e ``hello/classes``
in this example).
Create the ``classes`` directory as follows: ::
Create the ``classes`` directory as follows::
$ cd $HOME/hello
$ mkdir classes
@@ -291,7 +291,7 @@ Following is the complete "Hello World" example.
environments BitBake is supporting.
#. **Run BitBake:** After making sure that the ``classes/base.bbclass``
file exists, you can run the ``bitbake`` command again: ::
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.
@@ -314,7 +314,7 @@ Following is the complete "Hello World" example.
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: ::
and the ``conf`` directory::
$ cd $HOME
$ mkdir mylayer
@@ -322,12 +322,12 @@ Following is the complete "Hello World" example.
$ mkdir conf
Move to the ``conf`` directory and create a ``layer.conf`` file that has the
following: ::
following::
BBPATH .= ":${LAYERDIR}"
BBFILES += "${LAYERDIR}/\*.bb"
BBFILES += "${LAYERDIR}/*.bb"
BBFILE_COLLECTIONS += "mylayer"
`BBFILE_PATTERN_mylayer := "^${LAYERDIR_RE}/"
BBFILE_PATTERN_mylayer := "^${LAYERDIR_RE}/"
For information on these variables, click on :term:`BBFILES`,
:term:`LAYERDIR`, :term:`BBFILE_COLLECTIONS` or :term:`BBFILE_PATTERN_mylayer <BBFILE_PATTERN>`
@@ -335,7 +335,7 @@ Following is the complete "Hello World" example.
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: ::
``printhello.bb`` that has the following::
DESCRIPTION = "Prints Hello World"
PN = 'printhello'
@@ -356,7 +356,7 @@ Following is the complete "Hello World" example.
follow the links to the glossary.
#. **Run BitBake With a Target:** Now that a BitBake target exists, run
the command and provide that target: ::
the command and provide that target::
$ cd $HOME/hello
$ bitbake printhello
@@ -376,7 +376,7 @@ Following is the complete "Hello World" example.
``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: ::
create the ``bblayers.conf`` file so that it contains the following::
BBLAYERS ?= " \
/home/<you>/mylayer \
@@ -386,7 +386,7 @@ Following is the complete "Hello World" example.
#. **Run BitBake With a Target:** Now that you have supplied the
``bblayers.conf`` file, run the ``bitbake`` command and provide the
target: ::
target::
$ bitbake printhello
Parsing recipes: 100% |##################################################################################|

View File

@@ -27,7 +27,7 @@ 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 provided metadata that builds up
- 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``)
@@ -60,11 +60,10 @@ member Chris Larson split the project into two distinct pieces:
- OpenEmbedded, a metadata set utilized by BitBake
Today, BitBake is the primary basis of the
`OpenEmbedded <http://www.openembedded.org/>`__ project, which is being
used to build and maintain Linux distributions such as the `Angstrom
Distribution <http://www.angstrom-distribution.org/>`__, and which is
also being used as the build tool for Linux projects such as the `Yocto
Project <http://www.yoctoproject.org>`__.
`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
@@ -248,13 +247,13 @@ 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: ::
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: ::
the append file would match the following recipe names::
busybox_1.21.1.bb
busybox_1.21.2.bb
@@ -290,7 +289,7 @@ You can obtain BitBake several different ways:
are using. The metadata is generally backwards compatible but not
forward compatible.
Here is an example that clones the BitBake repository: ::
Here is an example that clones the BitBake repository::
$ git clone git://git.openembedded.org/bitbake
@@ -298,7 +297,7 @@ You can obtain BitBake several different ways:
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``: ::
is an example that names the directory ``bbdev``::
$ git clone git://git.openembedded.org/bitbake bbdev
@@ -317,9 +316,9 @@ You can obtain BitBake several different ways:
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: ::
The following example downloads a snapshot of BitBake version 1.17.0::
$ wget http://git.openembedded.org/bitbake/snapshot/bitbake-1.17.0.tar.gz
$ 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
@@ -347,7 +346,7 @@ execution examples.
Usage and syntax
----------------
Following is the usage and syntax for BitBake: ::
Following is the usage and syntax for BitBake::
$ bitbake -h
Usage: bitbake [options] [recipename/target recipe:do_task ...]
@@ -417,8 +416,8 @@ Following is the usage and syntax for BitBake: ::
-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 or taskexp
- default knotty).
-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
@@ -433,6 +432,9 @@ Following is the usage and syntax for BitBake: ::
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.
@@ -469,11 +471,11 @@ 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: ::
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: ::
The following command runs the clean task on the ``foo.bb`` recipe file::
$ bitbake -b foo.bb -c clean
@@ -497,13 +499,13 @@ 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: ::
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: ::
execute the ``do_clean`` task::
$ bitbake -c clean foo
@@ -514,7 +516,7 @@ 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: ::
recipe and ``taskB`` for the second recipe::
$ bitbake myfirstrecipe:do_taskA mysecondrecipe:do_taskB
@@ -534,13 +536,13 @@ current working directory:
- ``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
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
``DEPENDS`` from inherited classes such as ``base.bbclass``.
: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: ::
omits depends common in OpenEmbedded from the graph::
$ bitbake -g foo
@@ -564,7 +566,7 @@ for two separate targets:
.. image:: figures/bb_multiconfig_files.png
:align: center
The reason for this required file hierarchy is because the ``BBPATH``
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.
@@ -582,17 +584,17 @@ accomplished by setting the
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: ::
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: ::
command form to start the builds::
$ bitbake [mc:multiconfigname:]target [[[mc:multiconfigname:]target] ... ]
Here is an example for two extra multiconfigs: ``target1`` and ``target2``: ::
Here is an example for two extra multiconfigs: ``target1`` and ``target2``::
$ bitbake mc::target mc:target1:target mc:target2:target
@@ -613,12 +615,12 @@ multiconfig.
To enable dependencies in a multiple configuration build, you must
declare the dependencies in the recipe using the following statement
form: ::
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``: ::
multiconfigs: ``target1`` and ``target2``::
image_task[mcdepends] = "mc:target1:target2:image2:rootfs_task"
@@ -629,7 +631,7 @@ 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: ::
using a BitBake command as follows::
$ bitbake mc:target1:image1
@@ -639,7 +641,7 @@ 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: ::
recipe::
image_task[mcdepends] = "mc:target1:target2:image2:image_task"

View File

@@ -1,32 +1,74 @@
.. SPDX-License-Identifier: CC-BY-2.5
=========================
Current Release Manuals
=========================
===========================
Supported Release Manuals
===========================
******************************
Release Series 3.4 (honister)
******************************
- :yocto_docs:`3.4 BitBake User Manual </3.4/bitbake-user-manual/bitbake-user-manual.html>`
- :yocto_docs:`3.4.1 BitBake User Manual </3.4.1/bitbake-user-manual/bitbake-user-manual.html>`
- :yocto_docs:`3.4.2 BitBake User Manual </3.4.2/bitbake-user-manual/bitbake-user-manual.html>`
******************************
Release Series 3.3 (hardknott)
******************************
- :yocto_docs:`3.3 BitBake User Manual </3.3/bitbake-user-manual/bitbake-user-manual.html>`
- :yocto_docs:`3.3.1 BitBake User Manual </3.3.1/bitbake-user-manual/bitbake-user-manual.html>`
- :yocto_docs:`3.3.2 BitBake User Manual </3.3.2/bitbake-user-manual/bitbake-user-manual.html>`
- :yocto_docs:`3.3.3 BitBake User Manual </3.3.3/bitbake-user-manual/bitbake-user-manual.html>`
- :yocto_docs:`3.3.4 BitBake User Manual </3.3.4/bitbake-user-manual/bitbake-user-manual.html>`
- :yocto_docs:`3.3.5 BitBake User Manual </3.3.5/bitbake-user-manual/bitbake-user-manual.html>`
****************************
3.1 'dunfell' Release Series
Release Series 3.1 (dunfell)
****************************
- :yocto_docs:`3.1 BitBake User Manual </3.1/bitbake-user-manual/bitbake-user-manual.html>`
- :yocto_docs:`3.1.1 BitBake User Manual </3.1.1/bitbake-user-manual/bitbake-user-manual.html>`
- :yocto_docs:`3.1.2 BitBake User Manual </3.1.2/bitbake-user-manual/bitbake-user-manual.html>`
- :yocto_docs:`3.1.3 BitBake User Manual </3.1.3/bitbake-user-manual/bitbake-user-manual.html>`
- :yocto_docs:`3.1.4 BitBake User Manual </3.1.4/bitbake-user-manual/bitbake-user-manual.html>`
- :yocto_docs:`3.1.5 BitBake User Manual </3.1.5/bitbake-user-manual/bitbake-user-manual.html>`
- :yocto_docs:`3.1.6 BitBake User Manual </3.1.6/bitbake-user-manual/bitbake-user-manual.html>`
- :yocto_docs:`3.1.7 BitBake User Manual </3.1.7/bitbake-user-manual/bitbake-user-manual.html>`
- :yocto_docs:`3.1.8 BitBake User Manual </3.1.8/bitbake-user-manual/bitbake-user-manual.html>`
- :yocto_docs:`3.1.9 BitBake User Manual </3.1.9/bitbake-user-manual/bitbake-user-manual.html>`
- :yocto_docs:`3.1.10 BitBake User Manual </3.1.10/bitbake-user-manual/bitbake-user-manual.html>`
- :yocto_docs:`3.1.11 BitBake User Manual </3.1.11/bitbake-user-manual/bitbake-user-manual.html>`
- :yocto_docs:`3.1.12 BitBake User Manual </3.1.12/bitbake-user-manual/bitbake-user-manual.html>`
- :yocto_docs:`3.1.13 BitBake User Manual </3.1.13/bitbake-user-manual/bitbake-user-manual.html>`
- :yocto_docs:`3.1.14 BitBake User Manual </3.1.14/bitbake-user-manual/bitbake-user-manual.html>`
==========================
Previous Release Manuals
Outdated Release Manuals
==========================
*******************************
Release Series 3.2 (gatesgarth)
*******************************
- :yocto_docs:`3.2 BitBake User Manual </3.2/bitbake-user-manual/bitbake-user-manual.html>`
- :yocto_docs:`3.2.1 BitBake User Manual </3.2.1/bitbake-user-manual/bitbake-user-manual.html>`
- :yocto_docs:`3.2.2 BitBake User Manual </3.2.2/bitbake-user-manual/bitbake-user-manual.html>`
- :yocto_docs:`3.2.3 BitBake User Manual </3.2.3/bitbake-user-manual/bitbake-user-manual.html>`
- :yocto_docs:`3.2.4 BitBake User Manual </3.2.4/bitbake-user-manual/bitbake-user-manual.html>`
*************************
3.0 'zeus' Release Series
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>`
****************************
2.7 'warrior' Release Series
Release Series 2.7 (warrior)
****************************
- :yocto_docs:`2.7 BitBake User Manual </2.7/bitbake-user-manual/bitbake-user-manual.html>`
@@ -36,7 +78,7 @@
- :yocto_docs:`2.7.4 BitBake User Manual </2.7.4/bitbake-user-manual/bitbake-user-manual.html>`
*************************
2.6 'thud' Release Series
Release Series 2.6 (thud)
*************************
- :yocto_docs:`2.6 BitBake User Manual </2.6/bitbake-user-manual/bitbake-user-manual.html>`
@@ -46,16 +88,16 @@
- :yocto_docs:`2.6.4 BitBake User Manual </2.6.4/bitbake-user-manual/bitbake-user-manual.html>`
*************************
2.5 'sumo' Release Series
Release Series 2.5 (sumo)
*************************
- :yocto_docs:`2.5 BitBake User Manual </2.5/bitbake-user-manual/bitbake-user-manual.html>`
- :yocto_docs:`2.5.1 BitBake User Manual </2.5.1/bitbake-user-manual/bitbake-user-manual.html>`
- :yocto_docs:`2.5.2 BitBake User Manual </2.5.2/bitbake-user-manual/bitbake-user-manual.html>`
- :yocto_docs:`2.5.3 BitBake User Manual </2.5.3/bitbake-user-manual/bitbake-user-manual.html>`
- :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>`
**************************
2.4 'rocko' Release Series
Release Series 2.4 (rocko)
**************************
- :yocto_docs:`2.4 BitBake User Manual </2.4/bitbake-user-manual/bitbake-user-manual.html>`
@@ -65,7 +107,7 @@
- :yocto_docs:`2.4.4 BitBake User Manual </2.4.4/bitbake-user-manual/bitbake-user-manual.html>`
*************************
2.3 'pyro' Release Series
Release Series 2.3 (pyro)
*************************
- :yocto_docs:`2.3 BitBake User Manual </2.3/bitbake-user-manual/bitbake-user-manual.html>`
@@ -75,7 +117,7 @@
- :yocto_docs:`2.3.4 BitBake User Manual </2.3.4/bitbake-user-manual/bitbake-user-manual.html>`
**************************
2.2 'morty' Release Series
Release Series 2.2 (morty)
**************************
- :yocto_docs:`2.2 BitBake User Manual </2.2/bitbake-user-manual/bitbake-user-manual.html>`
@@ -84,7 +126,7 @@
- :yocto_docs:`2.2.3 BitBake User Manual </2.2.3/bitbake-user-manual/bitbake-user-manual.html>`
****************************
2.1 'krogoth' Release Series
Release Series 2.1 (krogoth)
****************************
- :yocto_docs:`2.1 BitBake User Manual </2.1/bitbake-user-manual/bitbake-user-manual.html>`
@@ -93,7 +135,7 @@
- :yocto_docs:`2.1.3 BitBake User Manual </2.1.3/bitbake-user-manual/bitbake-user-manual.html>`
***************************
2.0 'jethro' Release Series
Release Series 2.0 (jethro)
***************************
- :yocto_docs:`1.9 BitBake User Manual </1.9/bitbake-user-manual/bitbake-user-manual.html>`
@@ -103,7 +145,7 @@
- :yocto_docs:`2.0.3 BitBake User Manual </2.0.3/bitbake-user-manual/bitbake-user-manual.html>`
*************************
1.8 'fido' Release Series
Release Series 1.8 (fido)
*************************
- :yocto_docs:`1.8 BitBake User Manual </1.8/bitbake-user-manual/bitbake-user-manual.html>`
@@ -111,7 +153,7 @@
- :yocto_docs:`1.8.2 BitBake User Manual </1.8.2/bitbake-user-manual/bitbake-user-manual.html>`
**************************
1.7 'dizzy' Release Series
Release Series 1.7 (dizzy)
**************************
- :yocto_docs:`1.7 BitBake User Manual </1.7/bitbake-user-manual/bitbake-user-manual.html>`
@@ -120,7 +162,7 @@
- :yocto_docs:`1.7.3 BitBake User Manual </1.7.3/bitbake-user-manual/bitbake-user-manual.html>`
**************************
1.6 'daisy' Release Series
Release Series 1.6 (daisy)
**************************
- :yocto_docs:`1.6 BitBake User Manual </1.6/bitbake-user-manual/bitbake-user-manual.html>`

View File

@@ -3,6 +3,8 @@
#
# 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.

View File

@@ -9,12 +9,19 @@
# SPDX-License-Identifier: GPL-2.0-only
#
__version__ = "1.50.0"
__version__ = "2.0.0"
import sys
if sys.version_info < (3, 5, 0):
raise RuntimeError("Sorry, python 3.5.0 or later is required for this version of bitbake")
if sys.version_info < (3, 6, 0):
raise RuntimeError("Sorry, python 3.6.0 or later is required for this version of bitbake")
if sys.version_info < (3, 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):
"""
@@ -71,6 +78,13 @@ class BBLoggerMixin(object):
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):
@@ -157,9 +171,15 @@ def verbnote(*args):
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()

View File

@@ -0,0 +1,33 @@
#
# Copyright BitBake Contributors
#
# SPDX-License-Identifier: GPL-2.0-only
#
import itertools
import json
# 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"
from .client import AsyncClient, Client
from .serv import AsyncServer, AsyncServerConnection, ClientError, ServerError

View File

@@ -0,0 +1,191 @@
#
# Copyright BitBake Contributors
#
# SPDX-License-Identifier: GPL-2.0-only
#
import abc
import asyncio
import json
import os
import socket
import sys
from . import chunkify, DEFAULT_MAX_CHUNK
class AsyncClient(object):
def __init__(self, proto_name, proto_version, logger, timeout=30):
self.reader = None
self.writer = None
self.max_chunk = DEFAULT_MAX_CHUNK
self.proto_name = proto_name
self.proto_version = proto_version
self.logger = logger
self.timeout = timeout
async def connect_tcp(self, address, port):
async def connect_sock():
return await asyncio.open_connection(address, port)
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)
return await asyncio.open_unix_connection(sock=sock)
self._connect_sock = connect_sock
async def setup_connection(self):
s = '%s %s\n\n' % (self.proto_name, self.proto_version)
self.writer.write(s.encode("utf-8"))
await self.writer.drain()
async def connect(self):
if self.reader is None or self.writer is None:
(self.reader, self.writer) = await self._connect_sock()
await self.setup_connection()
async def close(self):
self.reader = None
if self.writer is not None:
self.writer.close()
self.writer = None
async def _send_wrapper(self, proc):
count = 0
while True:
try:
await self.connect()
return await proc()
except (
OSError,
ConnectionError,
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
async def send_message(self, msg):
async def get_line():
try:
line = await asyncio.wait_for(self.reader.readline(), self.timeout)
except asyncio.TimeoutError:
raise ConnectionError("Timed out waiting for server")
if not line:
raise ConnectionError("Connection closed")
line = line.decode("utf-8")
if not line.endswith("\n"):
raise ConnectionError("Bad message %r" % (line))
return line
async def proc():
for c in chunkify(json.dumps(msg), self.max_chunk):
self.writer.write(c.encode("utf-8"))
await self.writer.drain()
l = await get_line()
m = json.loads(l)
if m and "chunk-stream" in m:
lines = []
while True:
l = (await get_line()).rstrip("\n")
if not l:
break
lines.append(l)
m = json.loads("".join(lines))
return m
return await self._send_wrapper(proc)
async def ping(self):
return await self.send_message(
{'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 close(self):
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()
def __enter__(self):
return self
def __exit__(self, exc_type, exc_value, traceback):
self.close()
return False

View File

@@ -0,0 +1,288 @@
#
# 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
from . import chunkify, DEFAULT_MAX_CHUNK
class ClientError(Exception):
pass
class ServerError(Exception):
pass
class AsyncServerConnection(object):
def __init__(self, reader, writer, proto_name, logger):
self.reader = reader
self.writer = writer
self.proto_name = proto_name
self.max_chunk = DEFAULT_MAX_CHUNK
self.handlers = {
'chunk-stream': self.handle_chunk,
'ping': self.handle_ping,
}
self.logger = logger
async def process_requests(self):
try:
self.addr = self.writer.get_extra_info('peername')
self.logger.debug('Client %r connected' % (self.addr,))
# Read protocol and version
client_protocol = await self.reader.readline()
if client_protocol is None:
return
(client_proto_name, client_proto_version) = client_protocol.decode('utf-8').rstrip().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. Currently, no headers are implemented, so look for
# an empty line to signal the end of the headers
while True:
line = await self.reader.readline()
if line is None:
return
line = line.decode('utf-8').rstrip()
if not line:
break
# Handle messages
while True:
d = await self.read_message()
if d is None:
break
await self.dispatch_message(d)
await self.writer.drain()
except ClientError as e:
self.logger.error(str(e))
finally:
self.writer.close()
async def dispatch_message(self, msg):
for k in self.handlers.keys():
if k in msg:
self.logger.debug('Handling %s' % k)
await self.handlers[k](msg[k])
return
raise ClientError("Unrecognized command %r" % msg)
def write_message(self, msg):
for c in chunkify(json.dumps(msg), self.max_chunk):
self.writer.write(c.encode('utf-8'))
async def read_message(self):
l = await self.reader.readline()
if not l:
return None
try:
message = l.decode('utf-8')
if not message.endswith('\n'):
return None
return json.loads(message)
except (json.JSONDecodeError, UnicodeDecodeError) as e:
self.logger.error('Bad message from client: %r' % message)
raise e
async def handle_chunk(self, request):
lines = []
try:
while True:
l = await self.reader.readline()
l = l.rstrip(b"\n").decode("utf-8")
if not l:
break
lines.append(l)
msg = json.loads(''.join(lines))
except (json.JSONDecodeError, UnicodeDecodeError) as e:
self.logger.error('Bad message from client: %r' % lines)
raise e
if 'chunk-stream' in msg:
raise ClientError("Nested chunks are not allowed")
await self.dispatch_message(msg)
async def handle_ping(self, request):
response = {'alive': True}
self.write_message(response)
class AsyncServer(object):
def __init__(self, logger):
self._cleanup_socket = None
self.logger = logger
self.start = None
self.address = None
self.loop = None
def start_tcp_server(self, host, port):
def start_tcp():
self.server = self.loop.run_until_complete(
asyncio.start_server(self.handle_client, host, 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)
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])
self.start = start_tcp
def start_unix_server(self, path):
def cleanup():
os.unlink(path)
def start_unix():
cwd = os.getcwd()
try:
# Work around path length limits in AF_UNIX
os.chdir(os.path.dirname(path))
self.server = self.loop.run_until_complete(
asyncio.start_unix_server(self.handle_client, os.path.basename(path))
)
finally:
os.chdir(cwd)
self.logger.debug('Listening on %r' % path)
self._cleanup_socket = cleanup
self.address = "unix://%s" % os.path.abspath(path)
self.start = start_unix
@abc.abstractmethod
def accept_client(self, reader, writer):
pass
async def handle_client(self, reader, writer):
# writer.transport.set_write_buffer_limits(0)
try:
client = self.accept_client(reader, writer)
await client.process_requests()
except Exception as e:
import traceback
self.logger.error('Error from client: %s' % str(e), exc_info=True)
traceback.print_exc()
writer.close()
self.logger.debug('Client disconnected')
def run_loop_forever(self):
try:
self.loop.run_forever()
except KeyboardInterrupt:
pass
def signal_handler(self):
self.logger.debug("Got exit signal")
self.loop.stop()
def _serve_forever(self):
try:
self.loop.add_signal_handler(signal.SIGTERM, self.signal_handler)
signal.pthread_sigmask(signal.SIG_UNBLOCK, [signal.SIGTERM])
self.run_loop_forever()
self.server.close()
self.loop.run_until_complete(self.server.wait_closed())
self.logger.debug('Server shutting down')
finally:
if self._cleanup_socket is not None:
self._cleanup_socket()
def serve_forever(self):
"""
Serve requests in the current process
"""
# 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)
self.start()
self._serve_forever()
def serve_as_process(self, *, prefunc=None, args=()):
"""
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.loop = asyncio.new_event_loop()
asyncio.set_event_loop(self.loop)
try:
self.start()
finally:
queue.put(self.address)
queue.close()
if prefunc is not None:
prefunc(self, *args)
self._serve_forever()
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)

View File

@@ -295,9 +295,13 @@ def exec_func_python(func, d, runfile, cwd=None):
lineno = int(d.getVarFlag(func, "lineno", False))
bb.methodpool.insert_method(func, text, fn, lineno - 1)
comp = utils.better_compile(code, func, "exec_python_func() autogenerated")
utils.better_exec(comp, {"d": d}, code, "exec_python_func() autogenerated")
comp = utils.better_compile(code, func, "exec_func_python() autogenerated")
utils.better_exec(comp, {"d": d}, code, "exec_func_python() autogenerated")
finally:
# We want any stdout/stderr to be printed before any other log messages to make debugging
# more accurate. In some cases we seem to lose stdout/stderr entirely in logging tests without this.
sys.stdout.flush()
sys.stderr.flush()
bb.debug(2, "Python function %s finished" % func)
if cwd and olddir:
@@ -565,7 +569,6 @@ exit $ret
def _task_data(fn, task, d):
localdata = bb.data.createCopy(d)
localdata.setVar('BB_FILENAME', fn)
localdata.setVar('BB_CURRENTTASK', task[3:])
localdata.setVar('OVERRIDES', 'task-%s:%s' %
(task[3:].replace('_', '-'), d.getVar('OVERRIDES', False)))
localdata.finalize()
@@ -579,7 +582,7 @@ def _exec_task(fn, task, d, quieterr):
running it with its own local metadata, and with some useful variables set.
"""
if not d.getVarFlag(task, 'task', False):
event.fire(TaskInvalid(task, d), d)
event.fire(TaskInvalid(task, fn, d), d)
logger.error("No such task: %s" % task)
return 1
@@ -682,47 +685,55 @@ def _exec_task(fn, task, d, quieterr):
try:
try:
event.fire(TaskStarted(task, fn, logfn, flags, localdata), localdata)
except (bb.BBHandledException, SystemExit):
return 1
try:
for func in (prefuncs or '').split():
exec_func(func, localdata)
exec_func(task, localdata)
for func in (postfuncs or '').split():
exec_func(func, localdata)
except bb.BBHandledException:
event.fire(TaskFailed(task, fn, logfn, localdata, True), localdata)
return 1
except Exception as exc:
if quieterr:
event.fire(TaskFailedSilent(task, fn, logfn, localdata), localdata)
else:
errprinted = errchk.triggered
logger.error(str(exc))
event.fire(TaskFailed(task, fn, logfn, localdata, errprinted), localdata)
return 1
finally:
sys.stdout.flush()
sys.stderr.flush()
finally:
# Need to flush and close the logs before sending events where the
# UI may try to look at the logs.
sys.stdout.flush()
sys.stderr.flush()
bblogger.removeHandler(handler)
bblogger.removeHandler(handler)
# Restore the backup fds
os.dup2(osi[0], osi[1])
os.dup2(oso[0], oso[1])
os.dup2(ose[0], ose[1])
# Restore the backup fds
os.dup2(osi[0], osi[1])
os.dup2(oso[0], oso[1])
os.dup2(ose[0], ose[1])
# Close the backup fds
os.close(osi[0])
os.close(oso[0])
os.close(ose[0])
# Close the backup fds
os.close(osi[0])
os.close(oso[0])
os.close(ose[0])
logfile.close()
if os.path.exists(logfn) and os.path.getsize(logfn) == 0:
logger.debug2("Zero size logfn %s, removing", logfn)
bb.utils.remove(logfn)
bb.utils.remove(loglink)
except (Exception, SystemExit) as exc:
handled = False
if isinstance(exc, bb.BBHandledException):
handled = True
if quieterr:
if not handled:
logger.warning(repr(exc))
event.fire(TaskFailedSilent(task, fn, logfn, localdata), localdata)
else:
errprinted = errchk.triggered
# If the output is already on stdout, we've printed the information in the
# logs once already so don't duplicate
if verboseStdoutLogging or handled:
errprinted = True
if not handled:
logger.error(repr(exc))
event.fire(TaskFailed(task, fn, logfn, localdata, errprinted), localdata)
return 1
logfile.close()
if os.path.exists(logfn) and os.path.getsize(logfn) == 0:
logger.debug2("Zero size logfn %s, removing", logfn)
bb.utils.remove(logfn)
bb.utils.remove(loglink)
event.fire(TaskSucceeded(task, fn, logfn, localdata), localdata)
if not localdata.getVarFlag(task, 'nostamp', False) and not localdata.getVarFlag(task, 'selfstamp', False):
@@ -824,11 +835,7 @@ def stamp_cleanmask_internal(taskname, d, file_name):
return [cleanmask, cleanmask.replace(taskflagname, taskflagname + "_setscene")]
def make_stamp(task, d, file_name = None):
"""
Creates/updates a stamp for a given task
(d can be a data dict or dataCache)
"""
def clean_stamp(task, d, file_name = None):
cleanmask = stamp_cleanmask_internal(task, d, file_name)
for mask in cleanmask:
for name in glob.glob(mask):
@@ -839,6 +846,14 @@ def make_stamp(task, d, file_name = None):
if name.endswith('.taint'):
continue
os.unlink(name)
return
def make_stamp(task, d, file_name = None):
"""
Creates/updates a stamp for a given task
(d can be a data dict or dataCache)
"""
clean_stamp(task, d, file_name)
stamp = stamp_internal(task, d, file_name)
# Remove the file and recreate to force timestamp
@@ -927,6 +942,11 @@ def add_tasks(tasklist, d):
task_deps[name] = {}
if name in flags:
deptask = d.expand(flags[name])
if name in ['noexec', 'fakeroot', 'nostamp']:
if deptask != '1':
bb.warn("In a future version of BitBake, setting the '{}' flag to something other than '1' "
"will result in the flag not being set. See YP bug #13808.".format(name))
task_deps[name][task] = deptask
getTask('mcdepends')
getTask('depends')
@@ -1025,6 +1045,8 @@ def tasksbetween(task_start, task_end, d):
def follow_chain(task, endtask, chain=None):
if not chain:
chain = []
if task in chain:
bb.fatal("Circular task dependencies as %s depends on itself via the chain %s" % (task, " -> ".join(chain)))
chain.append(task)
for othertask in tasks:
if othertask == task:

View File

@@ -19,7 +19,8 @@
import os
import logging
import pickle
from collections import defaultdict, Mapping
from collections import defaultdict
from collections.abc import Mapping
import bb.utils
from bb import PrefixLoggerAdapter
import re
@@ -53,12 +54,12 @@ class RecipeInfoCommon(object):
@classmethod
def pkgvar(cls, var, packages, metadata):
return dict((pkg, cls.depvar("%s_%s" % (var, pkg), 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))
return dict((task, cls.getvar("%s:task-%s" % (var, task), metadata))
for task in tasks)
@classmethod
@@ -283,36 +284,15 @@ def parse_recipe(bb_data, bbfile, appends, mc=''):
Parse a recipe
"""
chdir_back = False
bb_data.setVar("__BBMULTICONFIG", mc)
# expand tmpdir to include this topdir
bb_data.setVar('TMPDIR', bb_data.getVar('TMPDIR') or "")
bbfile_loc = os.path.abspath(os.path.dirname(bbfile))
oldpath = os.path.abspath(os.getcwd())
bb.parse.cached_mtime_noerror(bbfile_loc)
# The ConfHandler first looks if there is a TOPDIR and if not
# then it would call getcwd().
# Previously, we chdir()ed to bbfile_loc, called the handler
# and finally chdir()ed back, a couple of thousand times. We now
# just fill in TOPDIR to point to bbfile_loc if there is no TOPDIR yet.
if not bb_data.getVar('TOPDIR', False):
chdir_back = True
bb_data.setVar('TOPDIR', bbfile_loc)
try:
if appends:
bb_data.setVar('__BBAPPEND', " ".join(appends))
bb_data = bb.parse.handle(bbfile, bb_data)
if chdir_back:
os.chdir(oldpath)
return bb_data
except:
if chdir_back:
os.chdir(oldpath)
raise
if appends:
bb_data.setVar('__BBAPPEND', " ".join(appends))
bb_data = bb.parse.handle(bbfile, bb_data)
return bb_data
class NoCache(object):
@@ -639,7 +619,7 @@ class Cache(NoCache):
for f in flist:
if not f:
continue
f, exist = f.split(":")
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)

View File

@@ -11,10 +11,13 @@ 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):
@@ -50,6 +53,7 @@ class FileChecksumCache(MultiProcessCache):
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:
@@ -84,22 +88,36 @@ class FileChecksumCache(MultiProcessCache):
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)
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.split():
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

View File

@@ -1,4 +1,6 @@
#
# Copyright BitBake Contributors
#
# SPDX-License-Identifier: GPL-2.0-only
#
@@ -195,6 +197,10 @@ class BufferedLogger(Logger):
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")
@@ -219,19 +225,19 @@ class PythonParser():
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.Str):
varname = node.args[0].s
if name in self.containsfuncs and isinstance(node.args[1], ast.Str):
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].s)
elif name in self.containsanyfuncs and isinstance(node.args[1], ast.Str):
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].s.split())
self.contains[varname].update(node.args[1].value.split())
elif name.endswith(self.getvarflags):
if isinstance(node.args[1], ast.Str):
self.references.add('%s[%s]' % (varname, node.args[1].s))
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:
@@ -239,8 +245,8 @@ class PythonParser():
else:
self.warn(node.func, node.args[0])
elif name and name.endswith(".expand"):
if isinstance(node.args[0], ast.Str):
value = node.args[0].s
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
@@ -250,8 +256,8 @@ class PythonParser():
self.contains[varname] = set()
self.contains[varname] |= parser.contains[varname]
elif name in self.execfuncs:
if isinstance(node.args[0], ast.Str):
self.var_execs.add(node.args[0].s)
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)):
@@ -276,7 +282,9 @@ class PythonParser():
self.contains = {}
self.execs = set()
self.references = set()
self.log = BufferedLogger('BitBake.Data.PythonParser', logging.DEBUG, log)
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)
@@ -303,6 +311,9 @@ class PythonParser():
self.contains[i] = set(codeparsercache.pythoncacheextras[h].contains[i])
return
# 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",
@@ -321,7 +332,11 @@ class ShellParser():
self.funcdefs = set()
self.allexecs = set()
self.execs = set()
self.log = BufferedLogger('BitBake.Data.%s' % name, logging.DEBUG, log)
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)
@@ -340,6 +355,9 @@ class ShellParser():
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)

View File

@@ -20,6 +20,7 @@ Commands are queued in a CommandQueue
from collections import OrderedDict, defaultdict
import io
import bb.event
import bb.cooker
import bb.remotedata
@@ -64,9 +65,17 @@ class Command:
# Ensure cooker is ready for commands
if command != "updateConfig" and command != "setFeatures":
self.cooker.init_configdata()
if not self.remotedatastores:
self.remotedatastores = bb.remotedata.RemoteDatastores(self.cooker)
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
@@ -500,6 +509,17 @@ class CommandsSync:
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]
@@ -647,6 +667,16 @@ class CommandsAsync:
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

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"]

View File

@@ -13,7 +13,6 @@ import sys, os, glob, os.path, re, time
import itertools
import logging
import multiprocessing
import sre_constants
import threading
from io import StringIO, UnsupportedOperation
from contextlib import closing
@@ -159,6 +158,9 @@ class BBCooker:
for f in featureSet:
self.featureset.setFeature(f)
self.orig_syspath = sys.path.copy()
self.orig_sysmodules = [*sys.modules]
self.configuration = bb.cookerdata.CookerConfiguration()
self.idleCallBackRegister = idleCallBackRegister
@@ -166,27 +168,15 @@ class BBCooker:
bb.debug(1, "BBCooker starting %s" % time.time())
sys.stdout.flush()
self.configwatcher = pyinotify.WatchManager()
bb.debug(1, "BBCooker pyinotify1 %s" % time.time())
sys.stdout.flush()
self.configwatcher = None
self.confignotifier = None
self.configwatcher.bbseen = set()
self.configwatcher.bbwatchedfiles = set()
self.confignotifier = pyinotify.Notifier(self.configwatcher, self.config_notifications)
bb.debug(1, "BBCooker pyinotify2 %s" % time.time())
sys.stdout.flush()
self.watchmask = pyinotify.IN_CLOSE_WRITE | pyinotify.IN_CREATE | pyinotify.IN_DELETE | \
pyinotify.IN_DELETE_SELF | pyinotify.IN_MODIFY | pyinotify.IN_MOVE_SELF | \
pyinotify.IN_MOVED_FROM | pyinotify.IN_MOVED_TO
self.watcher = pyinotify.WatchManager()
bb.debug(1, "BBCooker pyinotify3 %s" % time.time())
sys.stdout.flush()
self.watcher.bbseen = set()
self.watcher.bbwatchedfiles = set()
self.notifier = pyinotify.Notifier(self.watcher, self.notifications)
bb.debug(1, "BBCooker pyinotify complete %s" % time.time())
sys.stdout.flush()
self.watcher = None
self.notifier = None
# If being called by something like tinfoil, we need to clean cached data
# which may now be invalid
@@ -199,7 +189,7 @@ class BBCooker:
self.inotify_modified_files = []
def _process_inotify_updates(server, cooker, abort):
def _process_inotify_updates(server, cooker, halt):
cooker.process_inotify_updates()
return 1.0
@@ -237,9 +227,29 @@ class BBCooker:
sys.stdout.flush()
self.handlePRServ()
def setupConfigWatcher(self):
if self.configwatcher:
self.configwatcher.close()
self.confignotifier = None
self.configwatcher = None
self.configwatcher = pyinotify.WatchManager()
self.configwatcher.bbseen = set()
self.configwatcher.bbwatchedfiles = set()
self.confignotifier = pyinotify.Notifier(self.configwatcher, self.config_notifications)
def setupParserWatcher(self):
if self.watcher:
self.watcher.close()
self.notifier = None
self.watcher = None
self.watcher = pyinotify.WatchManager()
self.watcher.bbseen = set()
self.watcher.bbwatchedfiles = set()
self.notifier = pyinotify.Notifier(self.watcher, self.notifications)
def process_inotify_updates(self):
for n in [self.confignotifier, self.notifier]:
if n.check_events(timeout=0):
if n and n.check_events(timeout=0):
# read notified events and enqeue them
n.read_events()
n.process_events()
@@ -253,6 +263,12 @@ class BBCooker:
return
if not event.pathname in self.configwatcher.bbwatchedfiles:
return
if "IN_ISDIR" in event.maskname:
if "IN_CREATE" in event.maskname or "IN_DELETE" in event.maskname:
if event.pathname in self.configwatcher.bbseen:
self.configwatcher.bbseen.remove(event.pathname)
# Could remove all entries starting with the directory but for now...
bb.parse.clear_cache()
if not event.pathname in self.inotify_modified_files:
self.inotify_modified_files.append(event.pathname)
self.baseconfig_valid = False
@@ -266,6 +282,12 @@ class BBCooker:
if event.pathname.endswith("bitbake-cookerdaemon.log") \
or event.pathname.endswith("bitbake.lock"):
return
if "IN_ISDIR" in event.maskname:
if "IN_CREATE" in event.maskname or "IN_DELETE" in event.maskname:
if event.pathname in self.watcher.bbseen:
self.watcher.bbseen.remove(event.pathname)
# Could remove all entries starting with the directory but for now...
bb.parse.clear_cache()
if not event.pathname in self.inotify_modified_files:
self.inotify_modified_files.append(event.pathname)
self.parsecache_valid = False
@@ -330,6 +352,13 @@ class BBCooker:
self.state = state.initial
self.caches_array = []
sys.path = self.orig_syspath.copy()
for mod in [*sys.modules]:
if mod not in self.orig_sysmodules:
del sys.modules[mod]
self.setupConfigWatcher()
# Need to preserve BB_CONSOLELOG over resets
consolelog = None
if hasattr(self, "data"):
@@ -382,16 +411,30 @@ class BBCooker:
try:
self.prhost = prserv.serv.auto_start(self.data)
except prserv.serv.PRServiceConfigError as e:
bb.fatal("Unable to start PR Server, exitting")
bb.fatal("Unable to start PR Server, exiting, check the bitbake-cookerdaemon.log")
if self.data.getVar("BB_HASHSERVE") == "auto":
# Create a new hash server bound to a unix domain socket
if not self.hashserv:
dbfile = (self.data.getVar("PERSISTENT_DIR") or self.data.getVar("CACHE")) + "/hashserv.db"
upstream = self.data.getVar("BB_HASHSERVE_UPSTREAM") or None
if upstream:
import socket
try:
sock = socket.create_connection(upstream.split(":"), 5)
sock.close()
except socket.error as e:
bb.warn("BB_HASHSERVE_UPSTREAM is not valid, unable to connect hash equivalence server at '%s': %s"
% (upstream, repr(e)))
self.hashservaddr = "unix://%s/hashserve.sock" % self.data.getVar("TOPDIR")
self.hashserv = hashserv.create_server(self.hashservaddr, dbfile, sync=False)
self.hashserv.process = multiprocessing.Process(target=self.hashserv.serve_forever)
self.hashserv.process.start()
self.hashserv = hashserv.create_server(
self.hashservaddr,
dbfile,
sync=False,
upstream=upstream,
)
self.hashserv.serve_as_process()
self.data.setVar("BB_HASHSERVE", self.hashservaddr)
self.databuilder.origdata.setVar("BB_HASHSERVE", self.hashservaddr)
self.databuilder.data.setVar("BB_HASHSERVE", self.hashservaddr)
@@ -491,7 +534,7 @@ class BBCooker:
logger.debug("Base environment change, triggering reparse")
self.reset()
def runCommands(self, server, data, abort):
def runCommands(self, server, data, halt):
"""
Run any queued asynchronous command
This is done by the idle handler so it runs in true context rather than
@@ -541,6 +584,8 @@ class BBCooker:
if not orig_tracking:
self.enableDataTracking()
self.reset()
# reset() resets to the UI requested value so we have to redo this
self.enableDataTracking()
def mc_base(p):
if p.startswith('mc:'):
@@ -564,7 +609,7 @@ class BBCooker:
if pkgs_to_build[0] in set(ignore.split()):
bb.fatal("%s is in ASSUME_PROVIDED" % pkgs_to_build[0])
taskdata, runlist = self.buildTaskData(pkgs_to_build, None, self.configuration.abort, allowincomplete=True)
taskdata, runlist = self.buildTaskData(pkgs_to_build, None, self.configuration.halt, allowincomplete=True)
mc = runlist[0][0]
fn = runlist[0][3]
@@ -593,7 +638,7 @@ class BBCooker:
data.emit_env(env, envdata, True)
logger.plain(env.getvalue())
# emit the metadata which isnt valid shell
# emit the metadata which isn't valid shell
for e in sorted(envdata.keys()):
if envdata.getVarFlag(e, 'func', False) and envdata.getVarFlag(e, 'python', False):
logger.plain("\npython %s () {\n%s}\n", e, envdata.getVar(e, False))
@@ -602,7 +647,7 @@ class BBCooker:
self.disableDataTracking()
self.reset()
def buildTaskData(self, pkgs_to_build, task, abort, allowincomplete=False):
def buildTaskData(self, pkgs_to_build, task, halt, allowincomplete=False):
"""
Prepare a runqueue and taskdata object for iteration over pkgs_to_build
"""
@@ -649,7 +694,7 @@ class BBCooker:
localdata = {}
for mc in self.multiconfigs:
taskdata[mc] = bb.taskdata.TaskData(abort, skiplist=self.skiplist, allowincomplete=allowincomplete)
taskdata[mc] = bb.taskdata.TaskData(halt, skiplist=self.skiplist, allowincomplete=allowincomplete)
localdata[mc] = data.createCopy(self.databuilder.mcdata[mc])
bb.data.expandKeys(localdata[mc])
@@ -698,19 +743,18 @@ class BBCooker:
taskdata[mc].add_unresolved(localdata[mc], self.recipecaches[mc])
mcdeps |= set(taskdata[mc].get_mcdepends())
new = False
for mc in self.multiconfigs:
for k in mcdeps:
if k in seen:
continue
l = k.split(':')
depmc = l[2]
if depmc not in self.multiconfigs:
bb.fatal("Multiconfig dependency %s depends on nonexistent multiconfig configuration named configuration %s" % (k,depmc))
else:
logger.debug("Adding providers for multiconfig dependency %s" % l[3])
taskdata[depmc].add_provider(localdata[depmc], self.recipecaches[depmc], l[3])
seen.add(k)
new = True
for k in mcdeps:
if k in seen:
continue
l = k.split(':')
depmc = l[2]
if depmc not in self.multiconfigs:
bb.fatal("Multiconfig dependency %s depends on nonexistent multiconfig configuration named configuration %s" % (k,depmc))
else:
logger.debug("Adding providers for multiconfig dependency %s" % l[3])
taskdata[depmc].add_provider(localdata[depmc], self.recipecaches[depmc], l[3])
seen.add(k)
new = True
for mc in self.multiconfigs:
taskdata[mc].add_unresolved(localdata[mc], self.recipecaches[mc])
@@ -723,7 +767,7 @@ class BBCooker:
Prepare a runqueue and taskdata object for iteration over pkgs_to_build
"""
# We set abort to False here to prevent unbuildable targets raising
# We set halt to False here to prevent unbuildable targets raising
# an exception when we're just generating data
taskdata, runlist = self.buildTaskData(pkgs_to_build, task, False, allowincomplete=True)
@@ -800,7 +844,9 @@ class BBCooker:
for dep in rq.rqdata.runtaskentries[tid].depends:
(depmc, depfn, _, deptaskfn) = bb.runqueue.split_tid_mcfn(dep)
deppn = self.recipecaches[depmc].pkg_fn[deptaskfn]
depend_tree["tdepends"][dotname].append("%s.%s" % (deppn, bb.runqueue.taskname_from_tid(dep)))
if depmc:
depmc = "mc:" + depmc + ":"
depend_tree["tdepends"][dotname].append("%s%s.%s" % (depmc, deppn, bb.runqueue.taskname_from_tid(dep)))
if taskfn not in seen_fns:
seen_fns.append(taskfn)
packages = []
@@ -1064,6 +1110,11 @@ class BBCooker:
if matches:
bb.event.fire(bb.event.FilesMatchingFound(filepattern, matches), self.data)
def testCookerCommandEvent(self, filepattern):
# Dummy command used by OEQA selftest to test tinfoil without IO
matches = ["A", "B"]
bb.event.fire(bb.event.FilesMatchingFound(filepattern, matches), self.data)
def findProviders(self, mc=''):
return bb.providers.findProviders(self.databuilder.mcdata[mc], self.recipecaches[mc], self.recipecaches[mc].pkg_pn)
@@ -1404,7 +1455,7 @@ class BBCooker:
# Setup taskdata structure
taskdata = {}
taskdata[mc] = bb.taskdata.TaskData(self.configuration.abort)
taskdata[mc] = bb.taskdata.TaskData(self.configuration.halt)
taskdata[mc].add_provider(self.databuilder.mcdata[mc], self.recipecaches[mc], item)
if quietlog:
@@ -1420,11 +1471,11 @@ class BBCooker:
rq = bb.runqueue.RunQueue(self, self.data, self.recipecaches, taskdata, runlist)
def buildFileIdle(server, rq, abort):
def buildFileIdle(server, rq, halt):
msg = None
interrupted = 0
if abort or self.state == state.forceshutdown:
if halt or self.state == state.forceshutdown:
rq.finish_runqueue(True)
msg = "Forced shutdown"
interrupted = 2
@@ -1466,10 +1517,10 @@ class BBCooker:
Attempt to build the targets specified
"""
def buildTargetsIdle(server, rq, abort):
def buildTargetsIdle(server, rq, halt):
msg = None
interrupted = 0
if abort or self.state == state.forceshutdown:
if halt or self.state == state.forceshutdown:
rq.finish_runqueue(True)
msg = "Forced shutdown"
interrupted = 2
@@ -1512,7 +1563,7 @@ class BBCooker:
bb.event.fire(bb.event.BuildInit(packages), self.data)
taskdata, runlist = self.buildTaskData(targets, task, self.configuration.abort)
taskdata, runlist = self.buildTaskData(targets, task, self.configuration.halt)
buildname = self.data.getVar("BUILDNAME", False)
@@ -1580,7 +1631,7 @@ class BBCooker:
if self.state in (state.shutdown, state.forceshutdown, state.error):
if hasattr(self.parser, 'shutdown'):
self.parser.shutdown(clean=False, force = True)
self.parser.shutdown(clean=False)
self.parser.final_cleanup()
raise bb.BBHandledException()
@@ -1588,6 +1639,8 @@ class BBCooker:
self.updateCacheSync()
if self.state != state.parsing and not self.parsecache_valid:
self.setupParserWatcher()
bb.parse.siggen.reset(self.data)
self.parseConfiguration ()
if CookerFeatures.SEND_SANITYEVENTS in self.featureset:
@@ -1647,7 +1700,7 @@ class BBCooker:
# Return a copy, don't modify the original
pkgs_to_build = pkgs_to_build[:]
if len(pkgs_to_build) == 0:
if not pkgs_to_build:
raise NothingToBuild
ignore = (self.data.getVar("ASSUME_PROVIDED") or "").split()
@@ -1694,6 +1747,8 @@ class BBCooker:
def post_serve(self):
self.shutdown(force=True)
prserv.serv.auto_shutdown()
if hasattr(bb.parse, "siggen"):
bb.parse.siggen.exit()
if self.hashserv:
self.hashserv.process.terminate()
self.hashserv.process.join()
@@ -1707,13 +1762,15 @@ class BBCooker:
self.state = state.shutdown
if self.parser:
self.parser.shutdown(clean=not force, force=force)
self.parser.shutdown(clean=not force)
self.parser.final_cleanup()
def finishcommand(self):
self.state = state.initial
def reset(self):
if hasattr(bb.parse, "siggen"):
bb.parse.siggen.exit()
self.initConfigurationData()
self.handlePRServ()
@@ -1742,7 +1799,7 @@ class CookerCollectFiles(object):
def __init__(self, priorities, mc=''):
self.mc = mc
self.bbappends = []
# Priorities is a list of tupples, with the second element as the pattern.
# Priorities is a list of tuples, with the second element as the pattern.
# We need to sort the list with the longest pattern first, and so on to
# the shortest. This allows nested layers to be properly evaluated.
self.bbfile_config_priorities = sorted(priorities, key=lambda tup: tup[1], reverse=True)
@@ -1786,10 +1843,10 @@ class CookerCollectFiles(object):
files.sort( key=lambda fileitem: self.calc_bbfile_priority(fileitem)[0] )
config.setVar("BBFILES_PRIORITIZED", " ".join(files))
if not len(files):
if not files:
files = self.get_bbfiles()
if not len(files):
if not files:
collectlog.error("no recipe files to build, check your BBPATH and BBFILES?")
bb.event.fire(CookerExit(), eventdata)
@@ -1849,7 +1906,7 @@ class CookerCollectFiles(object):
try:
re.compile(mask)
bbmasks.append(mask)
except sre_constants.error:
except re.error:
collectlog.critical("BBMASK contains an invalid regular expression, ignoring: %s" % mask)
# Then validate the combined regular expressions. This should never
@@ -1857,7 +1914,7 @@ class CookerCollectFiles(object):
bbmask = "|".join(bbmasks)
try:
bbmask_compiled = re.compile(bbmask)
except sre_constants.error:
except re.error:
collectlog.critical("BBMASK is not a valid regular expression, ignoring: %s" % bbmask)
bbmask = None
@@ -1975,15 +2032,30 @@ class ParsingFailure(Exception):
Exception.__init__(self, realexception, recipe)
class Parser(multiprocessing.Process):
def __init__(self, jobs, results, quit, init, profile):
def __init__(self, jobs, results, quit, profile):
self.jobs = jobs
self.results = results
self.quit = quit
self.init = init
multiprocessing.Process.__init__(self)
self.context = bb.utils.get_context().copy()
self.handlers = bb.event.get_class_handlers().copy()
self.profile = profile
self.queue_signals = False
self.signal_received = []
self.signal_threadlock = threading.Lock()
def catch_sig(self, signum, frame):
if self.queue_signals:
self.signal_received.append(signum)
else:
self.handle_sig(signum, frame)
def handle_sig(self, signum, frame):
if signum == signal.SIGTERM:
signal.signal(signal.SIGTERM, signal.SIG_DFL)
os.kill(os.getpid(), signal.SIGTERM)
elif signum == signal.SIGINT:
signal.default_int_handler(signum, frame)
def run(self):
@@ -2003,36 +2075,48 @@ class Parser(multiprocessing.Process):
prof.dump_stats(logfile)
def realrun(self):
if self.init:
self.init()
# Signal handling here is hard. We must not terminate any process or thread holding the write
# lock for the event stream as it will not be released, ever, and things will hang.
# Python handles signals in the main thread/process but they can be raised from any thread and
# we want to defer processing of any SIGTERM/SIGINT signal until we're outside the critical section
# and don't hold the lock (see server/process.py). We therefore always catch the signals (so any
# new thread should also do so) and we defer handling but we handle with the local thread lock
# held (a threading lock, not a multiprocessing one) so that no other thread in the process
# can be in the critical section.
signal.signal(signal.SIGTERM, self.catch_sig)
signal.signal(signal.SIGHUP, signal.SIG_DFL)
signal.signal(signal.SIGINT, self.catch_sig)
bb.utils.set_process_name(multiprocessing.current_process().name)
multiprocessing.util.Finalize(None, bb.codeparser.parser_cache_save, exitpriority=1)
multiprocessing.util.Finalize(None, bb.fetch.fetcher_parse_save, exitpriority=1)
pending = []
while True:
try:
self.quit.get_nowait()
except queue.Empty:
pass
else:
self.results.close()
self.results.join_thread()
break
if pending:
result = pending.pop()
else:
try:
while True:
try:
job = self.jobs.pop()
except IndexError:
self.results.close()
self.results.join_thread()
self.quit.get_nowait()
except queue.Empty:
pass
else:
break
result = self.parse(*job)
# Clear the siggen cache after parsing to control memory usage, its huge
bb.parse.siggen.postparsing_clean_cache()
try:
self.results.put(result, timeout=0.25)
except queue.Full:
pending.append(result)
if pending:
result = pending.pop()
else:
try:
job = self.jobs.pop()
except IndexError:
break
result = self.parse(*job)
# Clear the siggen cache after parsing to control memory usage, its huge
bb.parse.siggen.postparsing_clean_cache()
try:
self.results.put(result, timeout=0.25)
except queue.Full:
pending.append(result)
finally:
self.results.close()
self.results.join_thread()
def parse(self, mc, cache, filename, appends):
try:
@@ -2053,12 +2137,12 @@ class Parser(multiprocessing.Process):
tb = sys.exc_info()[2]
exc.recipe = filename
exc.traceback = list(bb.exceptions.extract_traceback(tb, context=3))
return True, exc
return True, None, exc
# Need to turn BaseExceptions into Exceptions here so we gracefully shutdown
# and for example a worker thread doesn't just exit on its own in response to
# a SystemExit event for example.
except BaseException as exc:
return True, ParsingFailure(exc, filename)
return True, None, ParsingFailure(exc, filename)
finally:
bb.event.LogHandler.filter = origfilter
@@ -2109,13 +2193,6 @@ class CookerParser(object):
self.processes = []
if self.toparse:
bb.event.fire(bb.event.ParseStarted(self.toparse), self.cfgdata)
def init():
signal.signal(signal.SIGTERM, signal.SIG_DFL)
signal.signal(signal.SIGHUP, signal.SIG_DFL)
signal.signal(signal.SIGINT, signal.SIG_IGN)
bb.utils.set_process_name(multiprocessing.current_process().name)
multiprocessing.util.Finalize(None, bb.codeparser.parser_cache_save, exitpriority=1)
multiprocessing.util.Finalize(None, bb.fetch.fetcher_parse_save, exitpriority=1)
self.parser_quit = multiprocessing.Queue(maxsize=self.num_processes)
self.result_queue = multiprocessing.Queue()
@@ -2125,14 +2202,14 @@ class CookerParser(object):
self.jobs = chunkify(list(self.willparse), self.num_processes)
for i in range(0, self.num_processes):
parser = Parser(self.jobs[i], self.result_queue, self.parser_quit, init, self.cooker.configuration.profile)
parser = Parser(self.jobs[i], self.result_queue, self.parser_quit, self.cooker.configuration.profile)
parser.start()
self.process_names.append(parser.name)
self.processes.append(parser)
self.results = itertools.chain(self.results, self.parse_generator())
def shutdown(self, clean=True, force=False):
def shutdown(self, clean=True):
if not self.toparse:
return
if self.haveshutdown:
@@ -2146,6 +2223,8 @@ class CookerParser(object):
self.total)
bb.event.fire(event, self.cfgdata)
else:
bb.error("Parsing halted due to errors, see error messages above")
for process in self.processes:
self.parser_quit.put(None)
@@ -2159,11 +2238,24 @@ class CookerParser(object):
break
for process in self.processes:
if force:
process.join(.1)
process.join(0.5)
for process in self.processes:
if process.exitcode is None:
os.kill(process.pid, signal.SIGINT)
for process in self.processes:
process.join(0.5)
for process in self.processes:
if process.exitcode is None:
process.terminate()
else:
process.join()
for process in self.processes:
process.join()
# Added in 3.7, cleans up zombies
if hasattr(process, "close"):
process.close()
self.parser_quit.close()
# Allow data left in the cancel queue to be discarded
@@ -2199,44 +2291,59 @@ class CookerParser(object):
yield not cached, mc, infos
def parse_generator(self):
while True:
empty = False
while self.processes or not empty:
for process in self.processes.copy():
if not process.is_alive():
process.join()
self.processes.remove(process)
if self.parsed >= self.toparse:
break
try:
result = self.result_queue.get(timeout=0.25)
except queue.Empty:
pass
empty = True
yield None, None, None
else:
value = result[1]
if isinstance(value, BaseException):
raise value
else:
yield result
empty = False
yield result
if not (self.parsed >= self.toparse):
raise bb.parse.ParseError("Not all recipes parsed, parser thread killed/died? Exiting.", None)
def parse_next(self):
result = []
parsed = None
try:
parsed, mc, result = next(self.results)
if isinstance(result, BaseException):
# Turn exceptions back into exceptions
raise result
if parsed is None:
# Timeout, loop back through the main loop
return True
except StopIteration:
self.shutdown()
return False
except bb.BBHandledException as exc:
self.error += 1
logger.error('Failed to parse recipe: %s' % exc.recipe)
self.shutdown(clean=False, force=True)
logger.debug('Failed to parse recipe: %s' % exc.recipe)
self.shutdown(clean=False)
return False
except ParsingFailure as exc:
self.error += 1
logger.error('Unable to parse %s: %s' %
(exc.recipe, bb.exceptions.to_string(exc.realexception)))
self.shutdown(clean=False, force=True)
self.shutdown(clean=False)
return False
except bb.parse.ParseError as exc:
self.error += 1
logger.error(str(exc))
self.shutdown(clean=False, force=True)
self.shutdown(clean=False)
return False
except bb.data_smart.ExpansionError as exc:
self.error += 1
@@ -2245,7 +2352,7 @@ class CookerParser(object):
tb = list(itertools.dropwhile(lambda e: e.filename.startswith(bbdir), exc.traceback))
logger.error('ExpansionError during parsing %s', value.recipe,
exc_info=(etype, value, tb))
self.shutdown(clean=False, force=True)
self.shutdown(clean=False)
return False
except Exception as exc:
self.error += 1
@@ -2257,7 +2364,7 @@ class CookerParser(object):
# Most likely, an exception occurred during raising an exception
import traceback
logger.error('Exception during parse: %s' % traceback.format_exc())
self.shutdown(clean=False, force=True)
self.shutdown(clean=False)
return False
self.current += 1

View File

@@ -57,7 +57,7 @@ class ConfigParameters(object):
def updateToServer(self, server, environment):
options = {}
for o in ["abort", "force", "invalidate_stamp",
for o in ["halt", "force", "invalidate_stamp",
"dry_run", "dump_signatures",
"extra_assume_provided", "profile",
"prefile", "postfile", "server_timeout",
@@ -86,7 +86,7 @@ class ConfigParameters(object):
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 len(self.options.pkgs_to_build) > 0:
elif self.options.pkgs_to_build:
action['action'] = ["showEnvironmentTarget", self.options.pkgs_to_build]
else:
action['action'] = ["showEnvironment", self.options.buildfile]
@@ -124,7 +124,7 @@ class CookerConfiguration(object):
self.prefile = []
self.postfile = []
self.cmd = None
self.abort = True
self.halt = True
self.force = False
self.profile = False
self.nosetscene = False
@@ -160,12 +160,7 @@ def catch_parse_error(func):
def wrapped(fn, *args):
try:
return func(fn, *args)
except IOError as exc:
import traceback
parselog.critical(traceback.format_exc())
parselog.critical("Unable to parse %s: %s" % (fn, exc))
raise bb.BBHandledException()
except bb.data_smart.ExpansionError as exc:
except Exception as exc:
import traceback
bbdir = os.path.dirname(__file__) + os.sep
@@ -177,9 +172,6 @@ def catch_parse_error(func):
break
parselog.critical("Unable to parse %s" % fn, exc_info=(exc_class, exc, tb))
raise bb.BBHandledException()
except bb.parse.ParseError as exc:
parselog.critical(str(exc))
raise bb.BBHandledException()
return wrapped
@catch_parse_error
@@ -210,7 +202,7 @@ def findConfigFile(configfile, data):
#
# We search for a conf/bblayers.conf under an entry in BBPATH or in cwd working
# up to /. If that fails, we search for a conf/bitbake.conf in BBPATH.
# up to /. If that fails, bitbake would fall back to cwd.
#
def findTopdir():
@@ -223,11 +215,8 @@ def findTopdir():
layerconf = findConfigFile("bblayers.conf", d)
if layerconf:
return os.path.dirname(os.path.dirname(layerconf))
if bbpath:
bitbakeconf = bb.utils.which(bbpath, "conf/bitbake.conf")
if bitbakeconf:
return os.path.dirname(os.path.dirname(bitbakeconf))
return None
return os.path.abspath(os.getcwd())
class CookerDataBuilder(object):
@@ -250,6 +239,9 @@ class CookerDataBuilder(object):
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('Variable %s from the shell environment 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)
@@ -261,12 +253,12 @@ class CookerDataBuilder(object):
self.data = self.basedata
self.mcdata = {}
def parseBaseConfiguration(self):
def parseBaseConfiguration(self, worker=False):
data_hash = hashlib.sha256()
try:
self.data = self.parseConfigurationFiles(self.prefiles, self.postfiles)
if self.data.getVar("BB_WORKERCONTEXT", False) is None:
if self.data.getVar("BB_WORKERCONTEXT", False) is None and not worker:
bb.fetch.fetcher_init(self.data)
bb.parse.init_parser(self.data)
bb.codeparser.parser_cache_init(self.data)
@@ -291,6 +283,8 @@ class CookerDataBuilder(object):
multiconfig = (self.data.getVar("BBMULTICONFIG") or "").split()
for config in multiconfig:
if config[0].isdigit():
bb.fatal("Multiconfig name '%s' is invalid as multiconfigs cannot start with a digit" % config)
mcdata = self.parseConfigurationFiles(self.prefiles, self.postfiles, config)
bb.event.fire(bb.event.ConfigParsed(), mcdata)
self.mcdata[config] = mcdata
@@ -299,13 +293,28 @@ class CookerDataBuilder(object):
bb.event.fire(bb.event.MultiConfigParsed(self.mcdata), self.data)
self.data_hash = data_hash.hexdigest()
except (SyntaxError, bb.BBHandledException):
raise bb.BBHandledException()
except bb.data_smart.ExpansionError as e:
logger.error(str(e))
raise bb.BBHandledException()
except Exception:
logger.exception("Error parsing configuration files")
# 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()
# Create a copy so we can reset at a later date when UIs disconnect
@@ -342,6 +351,9 @@ class CookerDataBuilder(object):
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()
@@ -396,6 +408,8 @@ class CookerDataBuilder(object):
if c in collections_tmp:
bb.fatal("Found duplicated BBFILE_COLLECTIONS '%s', check bblayers.conf or layer.conf to fix it." % c)
compat = set((data.getVar("LAYERSERIES_COMPAT_%s" % c) or "").split())
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)))
@@ -408,7 +422,10 @@ class CookerDataBuilder(object):
msg += (" and bitbake did not find a conf/bblayers.conf file in"
" the expected location.\nMaybe you accidentally"
" invoked bitbake from the wrong directory?")
raise SystemExit(msg)
bb.fatal(msg)
if not data.getVar("TOPDIR"):
data.setVar("TOPDIR", os.path.abspath(os.getcwd()))
data = parse_config_file(os.path.join("conf", "bitbake.conf"), data)
@@ -421,7 +438,7 @@ class CookerDataBuilder(object):
for bbclass in bbclasses:
data = _inherit(bbclass, data)
# Nomally we only register event handlers at the end of parsing .bb files
# 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)

View File

@@ -1,4 +1,6 @@
#
# Copyright BitBake Contributors
#
# SPDX-License-Identifier: GPL-2.0-only
#
@@ -74,26 +76,26 @@ def createDaemon(function, logfile):
with open('/dev/null', 'r') as si:
os.dup2(si.fileno(), sys.stdin.fileno())
try:
so = open(logfile, 'a+')
os.dup2(so.fileno(), sys.stdout.fileno())
os.dup2(so.fileno(), sys.stderr.fileno())
except io.UnsupportedOperation:
sys.stdout = open(logfile, 'a+')
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 seperate buffers
sys.stderr = sys.stdout
# 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)
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)

View File

@@ -226,7 +226,7 @@ def emit_func(func, o=sys.__stdout__, d = init()):
deps = newdeps
seen |= deps
newdeps = set()
for dep in deps:
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))
@@ -272,34 +272,37 @@ def update_data(d):
"""Performs final steps upon the datastore, including application of overrides"""
d.finalize(parent = True)
def build_dependencies(key, keys, shelldeps, varflagsexcl, d):
def build_dependencies(key, keys, shelldeps, varflagsexcl, ignored_vars, d):
deps = set()
try:
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)
return deps, value
varflags = d.getVarFlags(key, ["vardeps", "vardepvalue", "vardepsexclude", "exports", "postfuncs", "prefuncs", "lineno", "filename"]) or {}
vardeps = varflags.get("vardeps")
exclusions = varflags.get("vardepsexclude", "").split()
def handle_contains(value, contains, d):
newvalue = ""
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 += "\n%s{%s} = Unset" % (k, item)
newvalue.append("\n%s{%s} = Unset" % (k, item))
break
else:
newvalue += "\n%s{%s} = Set" % (k, item)
if not newvalue:
return value
if not value:
return newvalue
return value + newvalue
newvalue.append("\n%s{%s} = Set" % (k, item))
return "".join(newvalue)
def handle_remove(value, deps, removes, d):
for r in sorted(removes):
@@ -307,6 +310,7 @@ def build_dependencies(key, keys, shelldeps, varflagsexcl, d):
value += "\n_remove of %s" % r
deps |= r2.references
deps = deps | (keys & r2.execs)
value = handle_contains(value, r2.contains, exclusions, d)
return value
if "vardepvalue" in varflags:
@@ -318,7 +322,7 @@ def build_dependencies(key, keys, shelldeps, varflagsexcl, d):
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, d)
value = handle_contains(value, parser.contains, exclusions, d)
else:
value, parsedvar = d.getVarFlag(key, "_content", False, retparser=True)
parser = bb.codeparser.ShellParser(key, logger)
@@ -326,7 +330,7 @@ def build_dependencies(key, keys, shelldeps, varflagsexcl, d):
deps = deps | shelldeps
deps = deps | parsedvar.references
deps = deps | (keys & parser.execs) | (keys & parsedvar.execs)
value = handle_contains(value, parsedvar.contains, d)
value = handle_contains(value, parsedvar.contains, exclusions, d)
if hasattr(parsedvar, "removes"):
value = handle_remove(value, deps, parsedvar.removes, d)
if vardeps is None:
@@ -341,7 +345,7 @@ def build_dependencies(key, keys, shelldeps, varflagsexcl, d):
value, parser = d.getVarFlag(key, "_content", False, retparser=True)
deps |= parser.references
deps = deps | (keys & parser.execs)
value = handle_contains(value, parser.contains, d)
value = handle_contains(value, parser.contains, exclusions, d)
if hasattr(parser, "removes"):
value = handle_remove(value, deps, parser.removes, d)
@@ -361,7 +365,7 @@ def build_dependencies(key, keys, shelldeps, varflagsexcl, d):
deps |= set(varfdeps)
deps |= set((vardeps or "").split())
deps -= set(varflags.get("vardepsexclude", "").split())
deps -= set(exclusions)
except bb.parse.SkipRecipe:
raise
except Exception as e:
@@ -371,7 +375,7 @@ def build_dependencies(key, keys, shelldeps, varflagsexcl, d):
#bb.note("Variable %s references %s and calls %s" % (key, str(deps), str(execs)))
#d.setVarFlag(key, "vardeps", deps)
def generate_dependencies(d, whitelist):
def generate_dependencies(d, ignored_vars):
keys = set(key for key in d if not key.startswith("__"))
shelldeps = set(key for key in d.getVar("__exportlist", False) if d.getVarFlag(key, "export", False) and not d.getVarFlag(key, "unexport", False))
@@ -382,22 +386,22 @@ def generate_dependencies(d, whitelist):
tasklist = d.getVar('__BBTASKS', False) or []
for task in tasklist:
deps[task], values[task] = build_dependencies(task, keys, shelldeps, varflagsexcl, d)
deps[task], values[task] = build_dependencies(task, keys, shelldeps, varflagsexcl, ignored_vars, d)
newdeps = deps[task]
seen = set()
while newdeps:
nextdeps = newdeps - whitelist
nextdeps = newdeps - ignored_vars
seen |= nextdeps
newdeps = set()
for dep in nextdeps:
if dep not in deps:
deps[dep], values[dep] = build_dependencies(dep, keys, shelldeps, varflagsexcl, d)
deps[dep], values[dep] = build_dependencies(dep, keys, shelldeps, varflagsexcl, ignored_vars, d)
newdeps |= deps[dep]
newdeps -= seen
#print "For %s: %s" % (task, str(deps[task]))
return tasklist, deps, values
def generate_dependency_hash(tasklist, gendeps, lookupcache, whitelist, fn):
def generate_dependency_hash(tasklist, gendeps, lookupcache, ignored_vars, fn):
taskdeps = {}
basehash = {}
@@ -406,9 +410,11 @@ def generate_dependency_hash(tasklist, gendeps, lookupcache, whitelist, fn):
if data is None:
bb.error("Task %s from %s seems to be empty?!" % (task, fn))
data = ''
data = []
else:
data = [data]
gendeps[task] -= whitelist
gendeps[task] -= ignored_vars
newdeps = gendeps[task]
seen = set()
while newdeps:
@@ -416,20 +422,20 @@ def generate_dependency_hash(tasklist, gendeps, lookupcache, whitelist, fn):
seen |= nextdeps
newdeps = set()
for dep in nextdeps:
if dep in whitelist:
if dep in ignored_vars:
continue
gendeps[dep] -= whitelist
gendeps[dep] -= ignored_vars
newdeps |= gendeps[dep]
newdeps -= seen
alldeps = sorted(seen)
for dep in alldeps:
data = data + dep
data.append(dep)
var = lookupcache[dep]
if var is not None:
data = data + str(var)
data.append(str(var))
k = fn + ":" + task
basehash[k] = hashlib.sha256(data.encode("utf-8")).hexdigest()
basehash[k] = hashlib.sha256("".join(data).encode("utf-8")).hexdigest()
taskdeps[task] = alldeps
return taskdeps, basehash

View File

@@ -17,7 +17,7 @@ BitBake build tools.
# Based on functions from the base bb module, Copyright 2003 Holger Schurig
import copy, re, sys, traceback
from collections import MutableMapping
from collections.abc import MutableMapping
import logging
import hashlib
import bb, bb.codeparser
@@ -26,13 +26,25 @@ from bb.COW import COWDictBase
logger = logging.getLogger("BitBake.Data")
__setvar_keyword__ = ["_append", "_prepend", "_remove"]
__setvar_regexp__ = re.compile(r'(?P<base>.*?)(?P<keyword>_append|_prepend|_remove)(_(?P<add>[^A-Z]*))?$')
__expand_var_regexp__ = re.compile(r"\${[a-zA-Z0-9\-_+./~]+?}")
__setvar_keyword__ = [":append", ":prepend", ":remove"]
__setvar_regexp__ = re.compile(r'(?P<base>.*?)(?P<keyword>:append|:prepend|:remove)(:(?P<add>[^A-Z]*))?$')
__expand_var_regexp__ = re.compile(r"\${[a-zA-Z0-9\-_+./~:]+?}")
__expand_python_regexp__ = re.compile(r"\${@.+?}")
__whitespace_split__ = re.compile(r'(\s)')
__override_regexp__ = re.compile(r'[a-z0-9]+')
bitbake_renamed_vars = {
"BB_ENV_WHITELIST": "BB_ENV_PASSTHROUGH",
"BB_ENV_EXTRAWHITE": "BB_ENV_PASSTHROUGH_ADDITIONS",
"BB_HASHBASE_WHITELIST": "BB_BASEHASH_IGNORE_VARS",
"BB_HASHCONFIG_WHITELIST": "BB_HASHCONFIG_IGNORE_VARS",
"BB_HASHTASK_WHITELIST": "BB_TASKHASH_IGNORE_TASKS",
"BB_SETSCENE_ENFORCE_WHITELIST": "BB_SETSCENE_ENFORCE_IGNORE_TASKS",
"MULTI_PROVIDER_WHITELIST": "BB_MULTI_PROVIDER_ALLOWED",
"BB_STAMP_WHITELIST": "is a deprecated variable and support has been removed",
"BB_STAMP_POLICY": "is a deprecated variable and support has been removed",
}
def infer_caller_details(loginfo, parent = False, varval = True):
"""Save the caller the trouble of specifying everything."""
# Save effort.
@@ -140,6 +152,9 @@ class DataContext(dict):
self['d'] = metadata
def __missing__(self, key):
# Skip commonly accessed invalid variables
if key in ['bb', 'oe', 'int', 'bool', 'time', 'str', 'os']:
raise KeyError(key)
value = self.metadata.getVar(key)
if value is None or self.metadata.getVarFlag(key, 'func', False):
raise KeyError(key)
@@ -151,6 +166,7 @@ class ExpansionError(Exception):
self.expression = expression
self.variablename = varname
self.exception = exception
self.varlist = [varname or expression or ""]
if varname:
if expression:
self.msg = "Failure expanding variable %s, expression was %s which triggered exception %s: %s" % (varname, expression, type(exception).__name__, exception)
@@ -160,8 +176,14 @@ class ExpansionError(Exception):
self.msg = "Failure expanding expression %s which triggered exception %s: %s" % (expression, type(exception).__name__, exception)
Exception.__init__(self, self.msg)
self.args = (varname, expression, exception)
def addVar(self, varname):
if varname:
self.varlist.append(varname)
def __str__(self):
return self.msg
chain = "\nThe variable dependency chain for the failure is: " + " -> ".join(self.varlist)
return self.msg + chain
class IncludeHistory(object):
def __init__(self, parent = None, filename = '[TOP LEVEL]'):
@@ -277,7 +299,7 @@ class VariableHistory(object):
for (r, override) in d.overridedata[var]:
for event in self.variable(r):
loginfo = event.copy()
if 'flag' in loginfo and not loginfo['flag'].startswith("_"):
if 'flag' in loginfo and not loginfo['flag'].startswith(("_", ":")):
continue
loginfo['variable'] = var
loginfo['op'] = 'override[%s]:%s' % (override, loginfo['op'])
@@ -329,6 +351,16 @@ class VariableHistory(object):
lines.append(line)
return lines
def get_variable_refs(self, var):
"""Return a dict of file/line references"""
var_history = self.variable(var)
refs = {}
for event in var_history:
if event['file'] not in refs:
refs[event['file']] = []
refs[event['file']].append(event['line'])
return refs
def get_variable_items_files(self, var):
"""
Use variable history to map items added to a list variable and
@@ -342,7 +374,7 @@ class VariableHistory(object):
for event in history:
if 'flag' in event:
continue
if event['op'] == '_remove':
if event['op'] == ':remove':
continue
if isset and event['op'] == 'set?':
continue
@@ -363,6 +395,23 @@ class VariableHistory(object):
else:
self.variables[var] = []
def _print_rename_error(var, loginfo, renamedvars, fullvar=None):
info = ""
if "file" in loginfo:
info = " file: %s" % loginfo["file"]
if "line" in loginfo:
info += " line: %s" % loginfo["line"]
if fullvar and fullvar != var:
info += " referenced as: %s" % fullvar
if info:
info = " (%s)" % info.strip()
renameinfo = renamedvars[var]
if " " in renameinfo:
# A space signals a string to display instead of a rename
bb.erroronce('Variable %s %s%s' % (var, renameinfo, info))
else:
bb.erroronce('Variable %s has been renamed to %s%s' % (var, renameinfo, info))
class DataSmart(MutableMapping):
def __init__(self):
self.dict = {}
@@ -370,6 +419,8 @@ class DataSmart(MutableMapping):
self.inchistory = IncludeHistory()
self.varhistory = VariableHistory(self)
self._tracking = False
self._var_renames = {}
self._var_renames.update(bitbake_renamed_vars)
self.expand_cache = {}
@@ -403,14 +454,17 @@ class DataSmart(MutableMapping):
s = __expand_python_regexp__.sub(varparse.python_sub, s)
except SyntaxError as e:
# Likely unmatched brackets, just don't expand the expression
if e.msg != "EOL while scanning string literal":
if e.msg != "EOL while scanning string literal" and not e.msg.startswith("unterminated string literal"):
raise
if s == olds:
break
except ExpansionError:
except ExpansionError as e:
e.addVar(varname)
raise
except bb.parse.SkipRecipe:
raise
except bb.BBHandledException:
raise
except Exception as exc:
tb = sys.exc_info()[2]
raise ExpansionError(varname, s, exc).with_traceback(tb) from exc
@@ -478,9 +532,26 @@ class DataSmart(MutableMapping):
else:
self.initVar(var)
def hasOverrides(self, var):
return var in self.overridedata
def setVar(self, var, value, **loginfo):
#print("var=" + str(var) + " val=" + str(value))
if not var.startswith("__anon_") and ("_append" in var or "_prepend" in var or "_remove" in var):
info = "%s" % var
if "file" in loginfo:
info += " file: %s" % loginfo["file"]
if "line" in loginfo:
info += " line: %s" % loginfo["line"]
bb.fatal("Variable %s contains an operation using the old override syntax. Please convert this layer/metadata before attempting to use with a newer bitbake." % info)
shortvar = var.split(":", 1)[0]
if shortvar in self._var_renames:
_print_rename_error(shortvar, loginfo, self._var_renames, fullvar=var)
# Mark that we have seen a renamed variable
self.setVar("_FAILPARSINGERRORHANDLED", True)
self.expand_cache = {}
parsing=False
if 'parsing' in loginfo:
@@ -509,7 +580,7 @@ class DataSmart(MutableMapping):
# pay the cookie monster
# more cookies for the cookie monster
if '_' in var:
if ':' in var:
self._setvar_update_overrides(base, **loginfo)
if base in self.overridevars:
@@ -520,27 +591,27 @@ class DataSmart(MutableMapping):
self._makeShadowCopy(var)
if not parsing:
if "_append" in self.dict[var]:
del self.dict[var]["_append"]
if "_prepend" in self.dict[var]:
del self.dict[var]["_prepend"]
if "_remove" in self.dict[var]:
del self.dict[var]["_remove"]
if ":append" in self.dict[var]:
del self.dict[var][":append"]
if ":prepend" in self.dict[var]:
del self.dict[var][":prepend"]
if ":remove" in self.dict[var]:
del self.dict[var][":remove"]
if var in self.overridedata:
active = []
self.need_overrides()
for (r, o) in self.overridedata[var]:
if o in self.overridesset:
active.append(r)
elif "_" in o:
if set(o.split("_")).issubset(self.overridesset):
elif ":" in o:
if set(o.split(":")).issubset(self.overridesset):
active.append(r)
for a in active:
self.delVar(a)
del self.overridedata[var]
# more cookies for the cookie monster
if '_' in var:
if ':' in var:
self._setvar_update_overrides(var, **loginfo)
# setting var
@@ -566,8 +637,8 @@ class DataSmart(MutableMapping):
def _setvar_update_overrides(self, var, **loginfo):
# aka pay the cookie monster
override = var[var.rfind('_')+1:]
shortvar = var[:var.rfind('_')]
override = var[var.rfind(':')+1:]
shortvar = var[:var.rfind(':')]
while override and __override_regexp__.match(override):
if shortvar not in self.overridedata:
self.overridedata[shortvar] = []
@@ -576,9 +647,9 @@ class DataSmart(MutableMapping):
self.overridedata[shortvar] = list(self.overridedata[shortvar])
self.overridedata[shortvar].append([var, override])
override = None
if "_" in shortvar:
override = var[shortvar.rfind('_')+1:]
shortvar = var[:shortvar.rfind('_')]
if ":" in shortvar:
override = var[shortvar.rfind(':')+1:]
shortvar = var[:shortvar.rfind(':')]
if len(shortvar) == 0:
override = None
@@ -602,10 +673,11 @@ class DataSmart(MutableMapping):
self.varhistory.record(**loginfo)
self.setVar(newkey, val, ignore=True, parsing=True)
for i in (__setvar_keyword__):
src = self.getVarFlag(key, i, False)
if src is None:
srcflags = self.getVarFlags(key, False, True) or {}
for i in srcflags:
if i not in (__setvar_keyword__):
continue
src = srcflags[i]
dest = self.getVarFlag(newkey, i, False) or []
dest.extend(src)
@@ -617,7 +689,7 @@ class DataSmart(MutableMapping):
self.overridedata[newkey].append([v.replace(key, newkey), o])
self.renameVar(v, v.replace(key, newkey))
if '_' in newkey and val is None:
if ':' in newkey and val is None:
self._setvar_update_overrides(newkey, **loginfo)
loginfo['variable'] = key
@@ -629,12 +701,12 @@ class DataSmart(MutableMapping):
def appendVar(self, var, value, **loginfo):
loginfo['op'] = 'append'
self.varhistory.record(**loginfo)
self.setVar(var + "_append", value, ignore=True, parsing=True)
self.setVar(var + ":append", value, ignore=True, parsing=True)
def prependVar(self, var, value, **loginfo):
loginfo['op'] = 'prepend'
self.varhistory.record(**loginfo)
self.setVar(var + "_prepend", value, ignore=True, parsing=True)
self.setVar(var + ":prepend", value, ignore=True, parsing=True)
def delVar(self, var, **loginfo):
self.expand_cache = {}
@@ -645,9 +717,9 @@ class DataSmart(MutableMapping):
self.dict[var] = {}
if var in self.overridedata:
del self.overridedata[var]
if '_' in var:
override = var[var.rfind('_')+1:]
shortvar = var[:var.rfind('_')]
if ':' in var:
override = var[var.rfind(':')+1:]
shortvar = var[:var.rfind(':')]
while override and override.islower():
try:
if shortvar in self.overridedata:
@@ -657,15 +729,23 @@ class DataSmart(MutableMapping):
except ValueError as e:
pass
override = None
if "_" in shortvar:
override = var[shortvar.rfind('_')+1:]
shortvar = var[:shortvar.rfind('_')]
if ":" in shortvar:
override = var[shortvar.rfind(':')+1:]
shortvar = var[:shortvar.rfind(':')]
if len(shortvar) == 0:
override = None
def setVarFlag(self, var, flag, value, **loginfo):
self.expand_cache = {}
if var == "BB_RENAMED_VARIABLES":
self._var_renames[flag] = value
if var in self._var_renames:
_print_rename_error(var, loginfo, self._var_renames)
# Mark that we have seen a renamed variable
self.setVar("_FAILPARSINGERRORHANDLED", True)
if 'op' not in loginfo:
loginfo['op'] = "set"
loginfo['flag'] = flag
@@ -674,7 +754,7 @@ class DataSmart(MutableMapping):
self._makeShadowCopy(var)
self.dict[var][flag] = value
if flag == "_defaultval" and '_' in var:
if flag == "_defaultval" and ':' in var:
self._setvar_update_overrides(var, **loginfo)
if flag == "_defaultval" and var in self.overridevars:
self._setvar_update_overridevars(var, value)
@@ -706,11 +786,11 @@ class DataSmart(MutableMapping):
active = {}
self.need_overrides()
for (r, o) in overridedata:
# What about double overrides both with "_" in the name?
# FIXME What about double overrides both with "_" in the name?
if o in self.overridesset:
active[o] = r
elif "_" in o:
if set(o.split("_")).issubset(self.overridesset):
elif ":" in o:
if set(o.split(":")).issubset(self.overridesset):
active[o] = r
mod = True
@@ -718,10 +798,10 @@ class DataSmart(MutableMapping):
mod = False
for o in self.overrides:
for a in active.copy():
if a.endswith("_" + o):
if a.endswith(":" + o):
t = active[a]
del active[a]
active[a.replace("_" + o, "")] = t
active[a.replace(":" + o, "")] = t
mod = True
elif a == o:
match = active[a]
@@ -740,31 +820,31 @@ class DataSmart(MutableMapping):
value = copy.copy(local_var["_defaultval"])
if flag == "_content" and local_var is not None and "_append" in local_var and not parsing:
if not value:
value = ""
if flag == "_content" and local_var is not None and ":append" in local_var and not parsing:
self.need_overrides()
for (r, o) in local_var["_append"]:
for (r, o) in local_var[":append"]:
match = True
if o:
for o2 in o.split("_"):
for o2 in o.split(":"):
if not o2 in self.overrides:
match = False
if match:
if value is None:
value = ""
value = value + r
if flag == "_content" and local_var is not None and "_prepend" in local_var and not parsing:
if not value:
value = ""
if flag == "_content" and local_var is not None and ":prepend" in local_var and not parsing:
self.need_overrides()
for (r, o) in local_var["_prepend"]:
for (r, o) in local_var[":prepend"]:
match = True
if o:
for o2 in o.split("_"):
for o2 in o.split(":"):
if not o2 in self.overrides:
match = False
if match:
if value is None:
value = ""
value = r + value
parser = None
@@ -773,12 +853,12 @@ class DataSmart(MutableMapping):
if expand:
value = parser.value
if value and flag == "_content" and local_var is not None and "_remove" in local_var and not parsing:
if value and flag == "_content" and local_var is not None and ":remove" in local_var and not parsing:
self.need_overrides()
for (r, o) in local_var["_remove"]:
for (r, o) in local_var[":remove"]:
match = True
if o:
for o2 in o.split("_"):
for o2 in o.split(":"):
if not o2 in self.overrides:
match = False
if match:
@@ -791,7 +871,7 @@ class DataSmart(MutableMapping):
expanded_removes[r] = self.expand(r).split()
parser.removes = set()
val = ""
val = []
for v in __whitespace_split__.split(parser.value):
skip = False
for r in removes:
@@ -800,8 +880,8 @@ class DataSmart(MutableMapping):
skip = True
if skip:
continue
val = val + v
parser.value = val
val.append(v)
parser.value = "".join(val)
if expand:
value = parser.value
@@ -864,7 +944,7 @@ class DataSmart(MutableMapping):
if local_var:
for i in local_var:
if i.startswith("_") and not internalflags:
if i.startswith(("_", ":")) and not internalflags:
continue
flags[i] = local_var[i]
if expand and i in expand:
@@ -905,6 +985,7 @@ class DataSmart(MutableMapping):
data.inchistory = self.inchistory.copy()
data._tracking = self._tracking
data._var_renames = self._var_renames
data.overrides = None
data.overridevars = copy.copy(self.overridevars)
@@ -927,7 +1008,7 @@ class DataSmart(MutableMapping):
value = self.getVar(variable, False)
for key in keys:
referrervalue = self.getVar(key, False)
if referrervalue and ref in referrervalue:
if referrervalue and isinstance(referrervalue, str) and ref in referrervalue:
self.setVar(key, referrervalue.replace(ref, value))
def localkeys(self):
@@ -962,8 +1043,8 @@ class DataSmart(MutableMapping):
for (r, o) in self.overridedata[var]:
if o in self.overridesset:
overrides.add(var)
elif "_" in o:
if set(o.split("_")).issubset(self.overridesset):
elif ":" in o:
if set(o.split(":")).issubset(self.overridesset):
overrides.add(var)
for k in keylist(self.dict):
@@ -993,10 +1074,10 @@ class DataSmart(MutableMapping):
d = self.createCopy()
bb.data.expandKeys(d)
config_whitelist = set((d.getVar("BB_HASHCONFIG_WHITELIST") or "").split())
config_ignore_vars = set((d.getVar("BB_HASHCONFIG_IGNORE_VARS") or "").split())
keys = set(key for key in iter(d) if not key.startswith("__"))
for key in keys:
if key in config_whitelist:
if key in config_ignore_vars:
continue
value = d.getVar(key, False) or ""

View File

@@ -40,7 +40,7 @@ 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 occassionally."""
event is more suitable for doing some task-independent work occasionally."""
def __init__(self, time):
Event.__init__(self)
self.time = time
@@ -132,8 +132,14 @@ def print_ui_queue():
if not _uiready:
from bb.msg import BBLogFormatter
# Flush any existing buffered content
sys.stdout.flush()
sys.stderr.flush()
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")
@@ -486,7 +492,7 @@ class BuildCompleted(BuildBase, OperationCompleted):
BuildBase.__init__(self, n, p, failures)
class DiskFull(Event):
"""Disk full case build aborted"""
"""Disk full case build halted"""
def __init__(self, dev, type, freespace, mountpoint):
Event.__init__(self)
self._dev = dev
@@ -764,7 +770,7 @@ class LogHandler(logging.Handler):
class MetadataEvent(Event):
"""
Generic event that target for OE-Core classes
to report information during asynchrous execution
to report information during asynchronous execution
"""
def __init__(self, eventtype, eventdata):
Event.__init__(self)

View File

@@ -1,4 +1,6 @@
#
# Copyright BitBake Contributors
#
# SPDX-License-Identifier: GPL-2.0-only
#

View File

@@ -0,0 +1,57 @@
There are expectations of users of the fetcher code. This file attempts to document
some of the constraints that are present. Some are obvious, some are less so. It is
documented in the context of how OE uses it but the API calls are generic.
a) network access for sources is only expected to happen in the do_fetch task.
This is not enforced or tested but is required so that we can:
i) audit the sources used (i.e. for license/manifest reasons)
ii) support offline builds with a suitable cache
iii) allow work to continue even with downtime upstream
iv) allow for changes upstream in incompatible ways
v) allow rebuilding of the software in X years time
b) network access is not expected in do_unpack task.
c) you can take DL_DIR and use it as a mirror for offline builds.
d) access to the network is only made when explicitly configured in recipes
(e.g. use of AUTOREV, or use of git tags which change revision).
e) fetcher output is deterministic (i.e. if you fetch configuration XXX now it
will match in future exactly in a clean build with a new DL_DIR).
One specific pain point example are git tags. They can be replaced and change
so the git fetcher has to resolve them with the network. We use git revisions
where possible to avoid this and ensure determinism.
f) network access is expected to work with the standard linux proxy variables
so that access behind firewalls works (the fetcher sets these in the
environment but only in the do_fetch tasks).
g) access during parsing has to be minimal, a "git ls-remote" for an AUTOREV
git recipe might be ok but you can't expect to checkout a git tree.
h) we need to provide revision information during parsing such that a version
for the recipe can be constructed.
i) versions are expected to be able to increase in a way which sorts allowing
package feeds to operate (see PR server required for git revisions to sort).
j) API to query for possible version upgrades of a url is highly desireable to
allow our automated upgrage code to function (it is implied this does always
have network access).
k) Where fixes or changes to behaviour in the fetcher are made, we ask that
test cases are added (run with "bitbake-selftest bb.tests.fetch"). We do
have fairly extensive test coverage of the fetcher as it is the only way
to track all of its corner cases, it still doesn't give entire coverage
though sadly.
l) If using tools during parse time, they will have to be in ASSUME_PROVIDED
in OE's context as we can't build git-native, then parse a recipe and use
git ls-remote.
Not all fetchers support all features, autorev is optional and doesn't make
sense for some. Upgrade detection means different things in different contexts
too.

View File

@@ -113,7 +113,7 @@ class MissingParameterError(BBFetchException):
self.args = (missing, url)
class ParameterError(BBFetchException):
"""Exception raised when a url cannot be proccessed due to invalid parameters."""
"""Exception raised when a url cannot be processed due to invalid parameters."""
def __init__(self, message, url):
msg = "URL: '%s' has invalid parameters. %s" % (url, message)
self.url = url
@@ -182,7 +182,7 @@ class URI(object):
Some notes about relative URIs: while it's specified that
a URI beginning with <scheme>:// should either be directly
followed by a hostname or a /, the old URI handling of the
fetch2 library did not comform to this. Therefore, this URI
fetch2 library did not conform to this. Therefore, this URI
class has some kludges to make sure that URIs are parsed in
a way comforming to bitbake's current usage. This URI class
supports the following:
@@ -199,7 +199,7 @@ class URI(object):
file://hostname/absolute/path.diff (would be IETF compliant)
Note that the last case only applies to a list of
"whitelisted" schemes (currently only file://), that requires
explicitly allowed schemes (currently only file://), that requires
its URIs to not have a network location.
"""
@@ -402,24 +402,24 @@ def encodeurl(decoded):
if not type:
raise MissingParameterError('type', "encoded from the data %s" % str(decoded))
url = '%s://' % type
url = ['%s://' % type]
if user and type != "file":
url += "%s" % user
url.append("%s" % user)
if pswd:
url += ":%s" % pswd
url += "@"
url.append(":%s" % pswd)
url.append("@")
if host and type != "file":
url += "%s" % host
url.append("%s" % host)
if path:
# Standardise path to ensure comparisons work
while '//' in path:
path = path.replace("//", "/")
url += "%s" % urllib.parse.quote(path)
url.append("%s" % urllib.parse.quote(path))
if p:
for parm in p:
url += ";%s=%s" % (parm, p[parm])
url.append(";%s=%s" % (parm, p[parm]))
return url
return "".join(url)
def uri_replace(ud, uri_find, uri_replace, replacements, d, mirrortarball=None):
if not ud.url or not uri_find or not uri_replace:
@@ -430,6 +430,7 @@ def uri_replace(ud, uri_find, uri_replace, replacements, d, mirrortarball=None):
uri_replace_decoded = list(decodeurl(uri_replace))
logger.debug2("For url %s comparing %s to %s" % (uri_decoded, uri_find_decoded, uri_replace_decoded))
result_decoded = ['', '', '', '', '', {}]
# 0 - type, 1 - host, 2 - path, 3 - user, 4- pswd, 5 - params
for loc, i in enumerate(uri_find_decoded):
result_decoded[loc] = uri_decoded[loc]
regexp = i
@@ -449,6 +450,9 @@ def uri_replace(ud, uri_find, uri_replace, replacements, d, mirrortarball=None):
for l in replacements:
uri_replace_decoded[loc][k] = uri_replace_decoded[loc][k].replace(l, replacements[l])
result_decoded[loc][k] = uri_replace_decoded[loc][k]
elif (loc == 3 or loc == 4) and uri_replace_decoded[loc]:
# User/password in the replacement is just a straight replacement
result_decoded[loc] = uri_replace_decoded[loc]
elif (re.match(regexp, uri_decoded[loc])):
if not uri_replace_decoded[loc]:
result_decoded[loc] = ""
@@ -467,8 +471,15 @@ def uri_replace(ud, uri_find, uri_replace, replacements, d, mirrortarball=None):
uri_decoded[5] = {}
elif ud.localpath and ud.method.supports_checksum(ud):
basename = os.path.basename(ud.localpath)
if basename and not result_decoded[loc].endswith(basename):
result_decoded[loc] = os.path.join(result_decoded[loc], basename)
if basename:
uri_basename = os.path.basename(uri_decoded[loc])
# Prefix with a slash as a sentinel in case
# result_decoded[loc] does not contain one.
path = "/" + result_decoded[loc]
if uri_basename and basename != uri_basename and path.endswith("/" + uri_basename):
result_decoded[loc] = path[1:-len(uri_basename)] + basename
elif not path.endswith("/" + basename):
result_decoded[loc] = os.path.join(path[1:], basename)
else:
return None
result = encodeurl(result_decoded)
@@ -562,6 +573,9 @@ def verify_checksum(ud, d, precomputed={}):
checksum_expected = getattr(ud, "%s_expected" % checksum_id)
if checksum_expected == '':
checksum_expected = None
return {
"id": checksum_id,
"name": checksum_name,
@@ -612,7 +626,7 @@ def verify_checksum(ud, d, precomputed={}):
for ci in checksum_infos:
if ci["expected"] and ci["expected"] != ci["data"]:
messages.append("File: '%s' has %s checksum %s when %s was " \
messages.append("File: '%s' has %s checksum '%s' when '%s' was " \
"expected" % (ud.localpath, ci["id"], ci["data"], ci["expected"]))
bad_checksum = ci["data"]
@@ -751,6 +765,12 @@ def get_srcrev(d, method_name='sortable_revision'):
that fetcher provides a method with the given name and the same signature as sortable_revision.
"""
d.setVar("__BBSEENSRCREV", "1")
recursion = d.getVar("__BBINSRCREV")
if recursion:
raise FetchError("There are recursive references in fetcher variables, likely through SRC_URI")
d.setVar("__BBINSRCREV", True)
scms = []
fetcher = Fetch(d.getVar('SRC_URI').split(), d)
urldata = fetcher.ud
@@ -758,13 +778,14 @@ def get_srcrev(d, method_name='sortable_revision'):
if urldata[u].method.supports_srcrev():
scms.append(u)
if len(scms) == 0:
if not scms:
raise FetchError("SRCREV was used yet no valid SCM was found in SRC_URI")
if len(scms) == 1 and len(urldata[scms[0]].names) == 1:
autoinc, rev = getattr(urldata[scms[0]].method, method_name)(urldata[scms[0]], d, urldata[scms[0]].names[0])
if len(rev) > 10:
rev = rev[:10]
d.delVar("__BBINSRCREV")
if autoinc:
return "AUTOINC+" + rev
return rev
@@ -799,12 +820,49 @@ def get_srcrev(d, method_name='sortable_revision'):
if seenautoinc:
format = "AUTOINC+" + format
d.delVar("__BBINSRCREV")
return format
def localpath(url, d):
fetcher = bb.fetch2.Fetch([url], d)
return fetcher.localpath(url)
# Need to export PATH as binary could be in metadata paths
# rather than host provided
# Also include some other variables.
FETCH_EXPORT_VARS = ['HOME', 'PATH',
'HTTP_PROXY', 'http_proxy',
'HTTPS_PROXY', 'https_proxy',
'FTP_PROXY', 'ftp_proxy',
'FTPS_PROXY', 'ftps_proxy',
'NO_PROXY', 'no_proxy',
'ALL_PROXY', 'all_proxy',
'GIT_PROXY_COMMAND',
'GIT_SSH',
'GIT_SSH_COMMAND',
'GIT_SSL_CAINFO',
'GIT_SMART_HTTP',
'SSH_AUTH_SOCK', 'SSH_AGENT_PID',
'SOCKS5_USER', 'SOCKS5_PASSWD',
'DBUS_SESSION_BUS_ADDRESS',
'P4CONFIG',
'SSL_CERT_FILE',
'AWS_PROFILE',
'AWS_ACCESS_KEY_ID',
'AWS_SECRET_ACCESS_KEY',
'AWS_DEFAULT_REGION']
def get_fetcher_environment(d):
newenv = {}
origenv = d.getVar("BB_ORIGENV")
for name in bb.fetch2.FETCH_EXPORT_VARS:
value = d.getVar(name)
if not value and origenv:
value = origenv.getVar(name)
if value:
newenv[name] = value
return newenv
def runfetchcmd(cmd, d, quiet=False, cleanup=None, log=None, workdir=None):
"""
Run cmd returning the command output
@@ -813,25 +871,7 @@ def runfetchcmd(cmd, d, quiet=False, cleanup=None, log=None, workdir=None):
Optionally remove the files/directories listed in cleanup upon failure
"""
# Need to export PATH as binary could be in metadata paths
# rather than host provided
# Also include some other variables.
# FIXME: Should really include all export varaiables?
exportvars = ['HOME', 'PATH',
'HTTP_PROXY', 'http_proxy',
'HTTPS_PROXY', 'https_proxy',
'FTP_PROXY', 'ftp_proxy',
'FTPS_PROXY', 'ftps_proxy',
'NO_PROXY', 'no_proxy',
'ALL_PROXY', 'all_proxy',
'GIT_PROXY_COMMAND',
'GIT_SSH',
'GIT_SSL_CAINFO',
'GIT_SMART_HTTP',
'SSH_AUTH_SOCK', 'SSH_AGENT_PID',
'SOCKS5_USER', 'SOCKS5_PASSWD',
'DBUS_SESSION_BUS_ADDRESS',
'P4CONFIG']
exportvars = FETCH_EXPORT_VARS
if not cleanup:
cleanup = []
@@ -868,7 +908,7 @@ def runfetchcmd(cmd, d, quiet=False, cleanup=None, log=None, workdir=None):
(output, errors) = bb.process.run(cmd, log=log, shell=True, stderr=subprocess.PIPE, cwd=workdir)
success = True
except bb.process.NotFoundError as e:
error_message = "Fetch command %s" % (e.command)
error_message = "Fetch command %s not found" % (e.command)
except bb.process.ExecutionError as e:
if e.stdout:
output = "output:\n%s\n%s" % (e.stdout, e.stderr)
@@ -1057,6 +1097,8 @@ def try_mirror_url(fetch, origud, ud, ld, check = False):
def ensure_symlink(target, link_name):
if not os.path.exists(link_name):
dirname = os.path.dirname(link_name)
bb.utils.mkdirhier(dirname)
if os.path.islink(link_name):
# Broken symbolic link
os.unlink(link_name)
@@ -1140,11 +1182,11 @@ def srcrev_internal_helper(ud, d, name):
pn = d.getVar("PN")
attempts = []
if name != '' and pn:
attempts.append("SRCREV_%s_pn-%s" % (name, pn))
attempts.append("SRCREV_%s:pn-%s" % (name, pn))
if name != '':
attempts.append("SRCREV_%s" % name)
if pn:
attempts.append("SRCREV_pn-%s" % pn)
attempts.append("SRCREV:pn-%s" % pn)
attempts.append("SRCREV")
for a in attempts:
@@ -1434,30 +1476,33 @@ class FetchMethod(object):
cmd = None
if unpack:
tar_cmd = 'tar --extract --no-same-owner'
if 'striplevel' in urldata.parm:
tar_cmd += ' --strip-components=%s' % urldata.parm['striplevel']
if file.endswith('.tar'):
cmd = 'tar x --no-same-owner -f %s' % file
cmd = '%s -f %s' % (tar_cmd, file)
elif file.endswith('.tgz') or file.endswith('.tar.gz') or file.endswith('.tar.Z'):
cmd = 'tar xz --no-same-owner -f %s' % file
cmd = '%s -z -f %s' % (tar_cmd, file)
elif file.endswith('.tbz') or file.endswith('.tbz2') or file.endswith('.tar.bz2'):
cmd = 'bzip2 -dc %s | tar x --no-same-owner -f -' % file
cmd = 'bzip2 -dc %s | %s -f -' % (file, tar_cmd)
elif file.endswith('.gz') or file.endswith('.Z') or file.endswith('.z'):
cmd = 'gzip -dc %s > %s' % (file, efile)
elif file.endswith('.bz2'):
cmd = 'bzip2 -dc %s > %s' % (file, efile)
elif file.endswith('.txz') or file.endswith('.tar.xz'):
cmd = 'xz -dc %s | tar x --no-same-owner -f -' % file
cmd = 'xz -dc %s | %s -f -' % (file, tar_cmd)
elif file.endswith('.xz'):
cmd = 'xz -dc %s > %s' % (file, efile)
elif file.endswith('.tar.lz'):
cmd = 'lzip -dc %s | tar x --no-same-owner -f -' % file
cmd = 'lzip -dc %s | %s -f -' % (file, tar_cmd)
elif file.endswith('.lz'):
cmd = 'lzip -dc %s > %s' % (file, efile)
elif file.endswith('.tar.7z'):
cmd = '7z x -so %s | tar x --no-same-owner -f -' % file
cmd = '7z x -so %s | %s -f -' % (file, tar_cmd)
elif file.endswith('.7z'):
cmd = '7za x -y %s 1>/dev/null' % file
elif file.endswith('.tzst') or file.endswith('.tar.zst'):
cmd = 'zstd --decompress --stdout %s | tar x --no-same-owner -f -' % file
cmd = 'zstd --decompress --stdout %s | %s -f -' % (file, tar_cmd)
elif file.endswith('.zst'):
cmd = 'zstd --decompress --stdout %s > %s' % (file, efile)
elif file.endswith('.zip') or file.endswith('.jar'):
@@ -1490,7 +1535,7 @@ class FetchMethod(object):
raise UnpackError("Unable to unpack deb/ipk package - does not contain data.tar.* file", urldata.url)
else:
raise UnpackError("Unable to unpack deb/ipk package - could not list contents", urldata.url)
cmd = 'ar x %s %s && tar --no-same-owner -xpf %s && rm %s' % (file, datafile, datafile, datafile)
cmd = 'ar x %s %s && %s -p -f %s && rm %s' % (file, datafile, tar_cmd, datafile, datafile)
# If 'subdir' param exists, create a dir and use it as destination for unpack cmd
if 'subdir' in urldata.parm:
@@ -1616,7 +1661,7 @@ class Fetch(object):
if localonly and cache:
raise Exception("bb.fetch2.Fetch.__init__: cannot set cache and localonly at same time")
if len(urls) == 0:
if not urls:
urls = d.getVar("SRC_URI").split()
self.urls = urls
self.d = d
@@ -1705,7 +1750,9 @@ class Fetch(object):
self.d.setVar("BB_NO_NETWORK", "1")
firsterr = None
verified_stamp = m.verify_donestamp(ud, self.d)
verified_stamp = False
if done:
verified_stamp = m.verify_donestamp(ud, self.d)
if not done and (not verified_stamp or m.need_update(ud, self.d)):
try:
if not trusted_network(self.d, ud.url):
@@ -1764,7 +1811,11 @@ class Fetch(object):
def checkstatus(self, urls=None):
"""
Check all urls exist upstream
Check all URLs exist upstream.
Returns None if the URLs exist, raises FetchError if the check wasn't
successful but there wasn't an error (such as file not found), and
raises other exceptions in error cases.
"""
if not urls:
@@ -1909,6 +1960,7 @@ from . import clearcase
from . import npm
from . import npmsw
from . import az
from . import crate
methods.append(local.Local())
methods.append(wget.Wget())
@@ -1929,3 +1981,4 @@ methods.append(clearcase.ClearCase())
methods.append(npm.Npm())
methods.append(npmsw.NpmShrinkWrap())
methods.append(az.Az())
methods.append(crate.Crate())

View File

@@ -0,0 +1,136 @@
# ex:ts=4:sw=4:sts=4:et
# -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*-
"""
BitBake 'Fetch' implementation for crates.io
"""
# Copyright (C) 2016 Doug Goldstein
#
# SPDX-License-Identifier: GPL-2.0-only
#
# Based on functions from the base bb module, Copyright 2003 Holger Schurig
import hashlib
import json
import os
import subprocess
import bb
from bb.fetch2 import logger, subprocess_setup, UnpackError
from bb.fetch2.wget import Wget
class Crate(Wget):
"""Class to fetch crates via wget"""
def _cargo_bitbake_path(self, rootdir):
return os.path.join(rootdir, "cargo_home", "bitbake")
def supports(self, ud, d):
"""
Check to see if a given url is for this fetcher
"""
return ud.type in ['crate']
def recommends_checksum(self, urldata):
return False
def urldata_init(self, ud, d):
"""
Sets up to download the respective crate from crates.io
"""
if ud.type == 'crate':
self._crate_urldata_init(ud, d)
super(Crate, self).urldata_init(ud, d)
def _crate_urldata_init(self, ud, d):
"""
Sets up the download for a crate
"""
# URL syntax is: crate://NAME/VERSION
# break the URL apart by /
parts = ud.url.split('/')
if len(parts) < 5:
raise bb.fetch2.ParameterError("Invalid URL: Must be crate://HOST/NAME/VERSION", ud.url)
# last field is version
version = parts[len(parts) - 1]
# second to last field is name
name = parts[len(parts) - 2]
# host (this is to allow custom crate registries to be specified
host = '/'.join(parts[2:len(parts) - 2])
# if using upstream just fix it up nicely
if host == 'crates.io':
host = 'crates.io/api/v1/crates'
ud.url = "https://%s/%s/%s/download" % (host, name, version)
ud.parm['downloadfilename'] = "%s-%s.crate" % (name, version)
ud.parm['name'] = name
logger.debug("Fetching %s to %s" % (ud.url, ud.parm['downloadfilename']))
def unpack(self, ud, rootdir, d):
"""
Uses the crate to build the necessary paths for cargo to utilize it
"""
if ud.type == 'crate':
return self._crate_unpack(ud, rootdir, d)
else:
super(Crate, self).unpack(ud, rootdir, d)
def _crate_unpack(self, ud, rootdir, d):
"""
Unpacks a crate
"""
thefile = ud.localpath
# possible metadata we need to write out
metadata = {}
# change to the rootdir to unpack but save the old working dir
save_cwd = os.getcwd()
os.chdir(rootdir)
pn = d.getVar('BPN')
if pn == ud.parm.get('name'):
cmd = "tar -xz --no-same-owner -f %s" % thefile
else:
cargo_bitbake = self._cargo_bitbake_path(rootdir)
cmd = "tar -xz --no-same-owner -f %s -C %s" % (thefile, cargo_bitbake)
# ensure we've got these paths made
bb.utils.mkdirhier(cargo_bitbake)
# generate metadata necessary
with open(thefile, 'rb') as f:
# get the SHA256 of the original tarball
tarhash = hashlib.sha256(f.read()).hexdigest()
metadata['files'] = {}
metadata['package'] = tarhash
path = d.getVar('PATH')
if path:
cmd = "PATH=\"%s\" %s" % (path, cmd)
bb.note("Unpacking %s to %s/" % (thefile, os.getcwd()))
ret = subprocess.call(cmd, preexec_fn=subprocess_setup, shell=True)
os.chdir(save_cwd)
if ret != 0:
raise UnpackError("Unpack command %s failed with return value %s" % (cmd, ret), ud.url)
# if we have metadata to write out..
if len(metadata) > 0:
cratepath = os.path.splitext(os.path.basename(thefile))[0]
bbpath = self._cargo_bitbake_path(rootdir)
mdfile = '.cargo-checksum.json'
mdpath = os.path.join(bbpath, cratepath, mdfile)
with open(mdpath, "w") as f:
json.dump(metadata, f)

View File

@@ -44,7 +44,8 @@ Supported SRC_URI options are:
- nobranch
Don't check the SHA validation for branch. set this option for the recipe
referring to commit which is valid in tag instead of branch.
referring to commit which is valid in any namespace (branch, tag, ...)
instead of branch.
The default is "0", set nobranch=1 if needed.
- usehead
@@ -68,6 +69,7 @@ import subprocess
import tempfile
import bb
import bb.progress
from contextlib import contextmanager
from bb.fetch2 import FetchMethod
from bb.fetch2 import runfetchcmd
from bb.fetch2 import logger
@@ -141,6 +143,11 @@ class Git(FetchMethod):
ud.proto = 'file'
else:
ud.proto = "git"
if ud.host == "github.com" and ud.proto == "git":
# github stopped supporting git protocol
# https://github.blog/2021-09-01-improving-git-protocol-security-github/#no-more-unauthenticated-git
ud.proto = "https"
bb.warn("URL: %s uses git protocol which is no longer supported by github. Please change to ;protocol=https in the url." % ud.url)
if not ud.proto in ('git', 'file', 'ssh', 'http', 'https', 'rsync'):
raise bb.fetch2.ParameterError("Invalid protocol type", ud.url)
@@ -164,11 +171,18 @@ class Git(FetchMethod):
ud.nocheckout = 1
ud.unresolvedrev = {}
branches = ud.parm.get("branch", "master").split(',')
branches = ud.parm.get("branch", "").split(',')
if branches == [""] and not ud.nobranch:
bb.warn("URL: %s does not set any branch parameter. The future default branch used by tools and repositories is uncertain and we will therefore soon require this is set in all git urls." % ud.url)
branches = ["master"]
if len(branches) != len(ud.names):
raise bb.fetch2.ParameterError("The number of name and branch parameters is not balanced", ud.url)
ud.cloneflags = "-s -n"
ud.noshared = d.getVar("BB_GIT_NOSHARED") == "1"
ud.cloneflags = "-n"
if not ud.noshared:
ud.cloneflags += " -s"
if ud.bareclone:
ud.cloneflags += " --mirror"
@@ -227,7 +241,7 @@ class Git(FetchMethod):
for name in ud.names:
ud.unresolvedrev[name] = 'HEAD'
ud.basecmd = d.getVar("FETCHCMD_git") or "git -c core.fsyncobjectfiles=0"
ud.basecmd = d.getVar("FETCHCMD_git") or "git -c core.fsyncobjectfiles=0 -c gc.autoDetach=false -c core.pager=cat"
write_tarballs = d.getVar("BB_GENERATE_MIRROR_TARBALLS") or "0"
ud.write_tarballs = write_tarballs != "0" or ud.rebaseable
@@ -293,7 +307,10 @@ class Git(FetchMethod):
return ud.clonedir
def need_update(self, ud, d):
return self.clonedir_need_update(ud, d) or self.shallow_tarball_need_update(ud) or self.tarball_need_update(ud)
return self.clonedir_need_update(ud, d) \
or self.shallow_tarball_need_update(ud) \
or self.tarball_need_update(ud) \
or self.lfs_need_update(ud, d)
def clonedir_need_update(self, ud, d):
if not os.path.exists(ud.clonedir):
@@ -305,6 +322,15 @@ class Git(FetchMethod):
return True
return False
def lfs_need_update(self, ud, d):
if self.clonedir_need_update(ud, d):
return True
for name in ud.names:
if not self._lfs_objects_downloaded(ud, d, name, ud.clonedir):
return True
return False
def clonedir_need_shallow_revs(self, ud, d):
for rev in ud.shallow_revs:
try:
@@ -345,9 +371,13 @@ class Git(FetchMethod):
# If the repo still doesn't exist, fallback to cloning it
if not os.path.exists(ud.clonedir):
# We do this since git will use a "-l" option automatically for local urls where possible
# We do this since git will use a "-l" option automatically for local urls where possible,
# but it doesn't work when git/objects is a symlink, only works when it is a directory.
if repourl.startswith("file://"):
repourl = repourl[7:]
repourl_path = repourl[7:]
objects = os.path.join(repourl_path, 'objects')
if os.path.isdir(objects) and not os.path.islink(objects):
repourl = repourl_path
clone_cmd = "LANG=C %s clone --bare --mirror %s %s --progress" % (ud.basecmd, shlex.quote(repourl), ud.clonedir)
if ud.proto.lower() != 'file':
bb.fetch2.check_network_access(d, clone_cmd, ud.url)
@@ -361,7 +391,11 @@ class Git(FetchMethod):
runfetchcmd("%s remote rm origin" % ud.basecmd, d, workdir=ud.clonedir)
runfetchcmd("%s remote add --mirror=fetch origin %s" % (ud.basecmd, shlex.quote(repourl)), d, workdir=ud.clonedir)
fetch_cmd = "LANG=C %s fetch -f --progress %s refs/*:refs/*" % (ud.basecmd, shlex.quote(repourl))
if ud.nobranch:
fetch_cmd = "LANG=C %s fetch -f --progress %s refs/*:refs/*" % (ud.basecmd, shlex.quote(repourl))
else:
fetch_cmd = "LANG=C %s fetch -f --progress %s refs/heads/*:refs/heads/* refs/tags/*:refs/tags/*" % (ud.basecmd, shlex.quote(repourl))
if ud.proto.lower() != 'file':
bb.fetch2.check_network_access(d, fetch_cmd, ud.url)
progresshandler = GitProgressHandler(d)
@@ -384,9 +418,9 @@ class Git(FetchMethod):
if missing_rev:
raise bb.fetch2.FetchError("Unable to find revision %s even from upstream" % missing_rev)
if self._contains_lfs(ud, d, ud.clonedir) and self._need_lfs(ud):
if self.lfs_need_update(ud, d):
# Unpack temporary working copy, use it to run 'git checkout' to force pre-fetching
# of all LFS blobs needed at the the srcrev.
# of all LFS blobs needed at the srcrev.
#
# It would be nice to just do this inline here by running 'git-lfs fetch'
# on the bare clonedir, but that operation requires a working copy on some
@@ -394,7 +428,7 @@ class Git(FetchMethod):
tmpdir = tempfile.mkdtemp(dir=d.getVar('DL_DIR'))
try:
# Do the checkout. This implicitly involves a Git LFS fetch.
self.unpack(ud, tmpdir, d)
Git.unpack(self, ud, tmpdir, d)
# Scoop up a copy of any stuff that Git LFS downloaded. Merge them into
# the bare clonedir.
@@ -414,6 +448,20 @@ class Git(FetchMethod):
bb.utils.remove(tmpdir, recurse=True)
def build_mirror_data(self, ud, d):
# Create as a temp file and move atomically into position to avoid races
@contextmanager
def create_atomic(filename):
fd, tfile = tempfile.mkstemp(dir=os.path.dirname(filename))
try:
yield tfile
umask = os.umask(0o666)
os.umask(umask)
os.chmod(tfile, (0o666 & ~umask))
os.rename(tfile, filename)
finally:
os.close(fd)
if ud.shallow and ud.write_shallow_tarballs:
if not os.path.exists(ud.fullshallow):
if os.path.islink(ud.fullshallow):
@@ -424,7 +472,8 @@ class Git(FetchMethod):
self.clone_shallow_local(ud, shallowclone, d)
logger.info("Creating tarball of git repository")
runfetchcmd("tar -czf %s ." % ud.fullshallow, d, workdir=shallowclone)
with create_atomic(ud.fullshallow) as tfile:
runfetchcmd("tar -czf %s ." % tfile, d, workdir=shallowclone)
runfetchcmd("touch %s.done" % ud.fullshallow, d)
finally:
bb.utils.remove(tempdir, recurse=True)
@@ -433,7 +482,11 @@ class Git(FetchMethod):
os.unlink(ud.fullmirror)
logger.info("Creating tarball of git repository")
runfetchcmd("tar -czf %s ." % ud.fullmirror, d, workdir=ud.clonedir)
with create_atomic(ud.fullmirror) as tfile:
mtime = runfetchcmd("git log --all -1 --format=%cD", d,
quiet=True, workdir=ud.clonedir)
runfetchcmd("tar -czf %s --owner oe:0 --group oe:0 --mtime \"%s\" ."
% (tfile, mtime), d, workdir=ud.clonedir)
runfetchcmd("touch %s.done" % ud.fullmirror, d)
def clone_shallow_local(self, ud, dest, d):
@@ -495,13 +548,24 @@ class Git(FetchMethod):
def unpack(self, ud, destdir, d):
""" unpack the downloaded src to destdir"""
subdir = ud.parm.get("subpath", "")
if subdir != "":
readpathspec = ":%s" % subdir
def_destsuffix = "%s/" % os.path.basename(subdir.rstrip('/'))
else:
readpathspec = ""
def_destsuffix = "git/"
subdir = ud.parm.get("subdir")
subpath = ud.parm.get("subpath")
readpathspec = ""
def_destsuffix = "git/"
if subpath:
readpathspec = ":%s" % subpath
def_destsuffix = "%s/" % os.path.basename(subpath.rstrip('/'))
if subdir:
# If 'subdir' param exists, create a dir and use it as destination for unpack cmd
if os.path.isabs(subdir):
if not os.path.realpath(subdir).startswith(os.path.realpath(destdir)):
raise bb.fetch2.UnpackError("subdir argument isn't a subdirectory of unpack root %s" % destdir, ud.url)
destdir = subdir
else:
destdir = os.path.join(destdir, subdir)
def_destsuffix = ""
destsuffix = ud.parm.get("destsuffix", def_destsuffix)
destdir = ud.destdir = os.path.join(destdir, destsuffix)
@@ -548,7 +612,7 @@ class Git(FetchMethod):
bb.note("Repository %s has LFS content but it is not being fetched" % (repourl))
if not ud.nocheckout:
if subdir != "":
if subpath:
runfetchcmd("%s read-tree %s%s" % (ud.basecmd, ud.revisions[ud.names[0]], readpathspec), d,
workdir=destdir)
runfetchcmd("%s checkout-index -q -f -a" % ud.basecmd, d, workdir=destdir)
@@ -597,6 +661,35 @@ class Git(FetchMethod):
raise bb.fetch2.FetchError("The command '%s' gave output with more then 1 line unexpectedly, output: '%s'" % (cmd, output))
return output.split()[0] != "0"
def _lfs_objects_downloaded(self, ud, d, name, wd):
"""
Verifies whether the LFS objects for requested revisions have already been downloaded
"""
# Bail out early if this repository doesn't use LFS
if not self._need_lfs(ud) or not self._contains_lfs(ud, d, wd):
return True
# The Git LFS specification specifies ([1]) the LFS folder layout so it should be safe to check for file
# existence.
# [1] https://github.com/git-lfs/git-lfs/blob/main/docs/spec.md#intercepting-git
cmd = "%s lfs ls-files -l %s" \
% (ud.basecmd, ud.revisions[name])
output = runfetchcmd(cmd, d, quiet=True, workdir=wd).rstrip()
# Do not do any further matching if no objects are managed by LFS
if not output:
return True
# Match all lines beginning with the hexadecimal OID
oid_regex = re.compile("^(([a-fA-F0-9]{2})([a-fA-F0-9]{2})[A-Fa-f0-9]+)")
for line in output.split("\n"):
oid = re.search(oid_regex, line)
if not oid:
bb.warn("git lfs ls-files output '%s' did not match expected format." % line)
if not os.path.exists(os.path.join(wd, "lfs", "objects", oid.group(2), oid.group(3), oid.group(1))):
return False
return True
def _need_lfs(self, ud):
return ud.parm.get("lfs", "1") == "1"
@@ -687,6 +780,12 @@ class Git(FetchMethod):
"""
Compute the HEAD revision for the url
"""
if not d.getVar("__BBSEENSRCREV"):
raise bb.fetch2.FetchError("Recipe uses a floating tag/branch '%s' for repo '%s' without a fixed SRCREV yet doesn't call bb.fetch2.get_srcrev() (use SRCPV in PV for OE)." % (ud.unresolvedrev[name], ud.host+ud.path))
# Ensure we mark as not cached
bb.fetch2.get_autorev(d)
output = self._lsremote(ud, d, "")
# Tags of the form ^{} may not work, need to fallback to other form
if ud.unresolvedrev[name][:5] == "refs/" or ud.usehead:

View File

@@ -88,7 +88,7 @@ class GitSM(Git):
subrevision[m] = module_hash.split()[2]
# Convert relative to absolute uri based on parent uri
if uris[m].startswith('..'):
if uris[m].startswith('..') or uris[m].startswith('./'):
newud = copy.copy(ud)
newud.path = os.path.realpath(os.path.join(newud.path, uris[m]))
uris[m] = Git._get_repo_url(self, newud)
@@ -115,6 +115,9 @@ class GitSM(Git):
# This has to be a file reference
proto = "file"
url = "gitsm://" + uris[module]
if url.endswith("{}{}".format(ud.host, ud.path)):
raise bb.fetch2.FetchError("Submodule refers to the parent repository. This will cause deadlock situation in current version of Bitbake." \
"Consider using git fetcher instead.")
url += ';protocol=%s' % proto
url += ";name=%s" % module
@@ -140,16 +143,6 @@ class GitSM(Git):
if Git.need_update(self, ud, d):
return True
try:
# Check for the nugget dropped by the download operation
known_srcrevs = runfetchcmd("%s config --get-all bitbake.srcrev" % \
(ud.basecmd), d, workdir=ud.clonedir)
if ud.revisions[ud.names[0]] in known_srcrevs.split():
return False
except bb.fetch2.FetchError:
pass
need_update_list = []
def need_update_submodule(ud, url, module, modpath, workdir, d):
url += ";bareclone=1;nobranch=1"
@@ -172,13 +165,8 @@ class GitSM(Git):
shutil.rmtree(tmpdir)
else:
self.process_submodules(ud, ud.clonedir, need_update_submodule, d)
if len(need_update_list) == 0:
# We already have the required commits of all submodules. Drop
# a nugget so we don't need to check again.
runfetchcmd("%s config --add bitbake.srcrev %s" % \
(ud.basecmd, ud.revisions[ud.names[0]]), d, workdir=ud.clonedir)
if len(need_update_list) > 0:
if need_update_list:
logger.debug('gitsm: Submodules requiring update: %s' % (' '.join(need_update_list)))
return True
@@ -209,9 +197,6 @@ class GitSM(Git):
shutil.rmtree(tmpdir)
else:
self.process_submodules(ud, ud.clonedir, download_submodule, d)
# Drop a nugget for the srcrev we've fetched (used by need_update)
runfetchcmd("%s config --add bitbake.srcrev %s" % \
(ud.basecmd, ud.revisions[ud.names[0]]), d, workdir=ud.clonedir)
def unpack(self, ud, destdir, d):
def unpack_submodules(ud, url, module, modpath, workdir, d):

View File

@@ -52,9 +52,13 @@ def npm_filename(package, version):
"""Get the filename of a npm package"""
return npm_package(package) + "-" + version + ".tgz"
def npm_localfile(package, version):
def npm_localfile(package, version=None):
"""Get the local filename of a npm package"""
return os.path.join("npm2", npm_filename(package, version))
if version is not None:
filename = npm_filename(package, version)
else:
filename = package
return os.path.join("npm2", filename)
def npm_integrity(integrity):
"""
@@ -69,17 +73,31 @@ def npm_unpack(tarball, destdir, d):
bb.utils.mkdirhier(destdir)
cmd = "tar --extract --gzip --file=%s" % shlex.quote(tarball)
cmd += " --no-same-owner"
cmd += " --delay-directory-restore"
cmd += " --strip-components=1"
runfetchcmd(cmd, d, workdir=destdir)
runfetchcmd("chmod -R +X '%s'" % (destdir), d, quiet=True, workdir=destdir)
class NpmEnvironment(object):
"""
Using a npm config file seems more reliable than using cli arguments.
This class allows to create a controlled environment for npm commands.
"""
def __init__(self, d, configs=None):
def __init__(self, d, configs=[], npmrc=None):
self.d = d
self.configs = configs
self.user_config = tempfile.NamedTemporaryFile(mode="w", buffering=1)
for key, value in configs:
self.user_config.write("%s=%s\n" % (key, value))
if npmrc:
self.global_config_name = npmrc
else:
self.global_config_name = "/dev/null"
def __del__(self):
if self.user_config:
self.user_config.close()
def run(self, cmd, args=None, configs=None, workdir=None):
"""Run npm command in a controlled environment"""
@@ -87,23 +105,19 @@ class NpmEnvironment(object):
d = bb.data.createCopy(self.d)
d.setVar("HOME", tmpdir)
cfgfile = os.path.join(tmpdir, "npmrc")
if not workdir:
workdir = tmpdir
def _run(cmd):
cmd = "NPM_CONFIG_USERCONFIG=%s " % cfgfile + cmd
cmd = "NPM_CONFIG_GLOBALCONFIG=%s " % cfgfile + cmd
cmd = "NPM_CONFIG_USERCONFIG=%s " % (self.user_config.name) + cmd
cmd = "NPM_CONFIG_GLOBALCONFIG=%s " % (self.global_config_name) + cmd
return runfetchcmd(cmd, d, workdir=workdir)
if self.configs:
for key, value in self.configs:
_run("npm config set %s %s" % (key, shlex.quote(value)))
if configs:
bb.warn("Use of configs argument of NpmEnvironment.run() function"
" is deprecated. Please use args argument instead.")
for key, value in configs:
_run("npm config set %s %s" % (key, shlex.quote(value)))
cmd += " --%s=%s" % (key, shlex.quote(value))
if args:
for key, value in args:
@@ -142,12 +156,12 @@ class Npm(FetchMethod):
raise ParameterError("Invalid 'version' parameter", ud.url)
# Extract the 'registry' part of the url
ud.registry = re.sub(r"^npm://", "http://", ud.url.split(";")[0])
ud.registry = re.sub(r"^npm://", "https://", ud.url.split(";")[0])
# Using the 'downloadfilename' parameter as local filename
# or the npm package name.
if "downloadfilename" in ud.parm:
ud.localfile = d.expand(ud.parm["downloadfilename"])
ud.localfile = npm_localfile(d.expand(ud.parm["downloadfilename"]))
else:
ud.localfile = npm_localfile(ud.package, ud.version)
@@ -165,14 +179,14 @@ class Npm(FetchMethod):
def _resolve_proxy_url(self, ud, d):
def _npm_view():
configs = []
configs.append(("json", "true"))
configs.append(("registry", ud.registry))
args = []
args.append(("json", "true"))
args.append(("registry", ud.registry))
pkgver = shlex.quote(ud.package + "@" + ud.version)
cmd = ud.basecmd + " view %s" % pkgver
env = NpmEnvironment(d)
check_network_access(d, cmd, ud.registry)
view_string = env.run(cmd, configs=configs)
view_string = env.run(cmd, args=args)
if not view_string:
raise FetchError("Unavailable package %s" % pkgver, ud.url)

View File

@@ -24,11 +24,14 @@ import bb
from bb.fetch2 import Fetch
from bb.fetch2 import FetchMethod
from bb.fetch2 import ParameterError
from bb.fetch2 import runfetchcmd
from bb.fetch2 import URI
from bb.fetch2.npm import npm_integrity
from bb.fetch2.npm import npm_localfile
from bb.fetch2.npm import npm_unpack
from bb.utils import is_semver
from bb.utils import lockfile
from bb.utils import unlockfile
def foreach_dependencies(shrinkwrap, callback=None, dev=False):
"""
@@ -78,13 +81,18 @@ class NpmShrinkWrap(FetchMethod):
extrapaths = []
destsubdirs = [os.path.join("node_modules", dep) for dep in deptree]
destsuffix = os.path.join(*destsubdirs)
unpack = True
integrity = params.get("integrity", None)
resolved = params.get("resolved", None)
version = params.get("version", None)
# Handle registry sources
if is_semver(version) and resolved and integrity:
if is_semver(version) and integrity:
# Handle duplicate dependencies without url
if not resolved:
return
localfile = npm_localfile(name, version)
uri = URI(resolved)
@@ -109,7 +117,7 @@ class NpmShrinkWrap(FetchMethod):
# Handle http tarball sources
elif version.startswith("http") and integrity:
localfile = os.path.join("npm2", os.path.basename(version))
localfile = npm_localfile(os.path.basename(version))
uri = URI(version)
uri.params["downloadfilename"] = localfile
@@ -123,6 +131,8 @@ class NpmShrinkWrap(FetchMethod):
# Handle git sources
elif version.startswith("git"):
if version.startswith("github:"):
version = "git+https://github.com/" + version[len("github:"):]
regex = re.compile(r"""
^
git\+
@@ -148,7 +158,12 @@ class NpmShrinkWrap(FetchMethod):
url = str(uri)
# local tarball sources and local link sources are unsupported
# Handle local tarball and link sources
elif version.startswith("file"):
localpath = version[5:]
if not version.endswith(".tgz"):
unpack = False
else:
raise ParameterError("Unsupported dependency: %s" % name, ud.url)
@@ -157,6 +172,7 @@ class NpmShrinkWrap(FetchMethod):
"localpath": localpath,
"extrapaths": extrapaths,
"destsuffix": destsuffix,
"unpack": unpack,
})
try:
@@ -177,7 +193,7 @@ class NpmShrinkWrap(FetchMethod):
# This fetcher resolves multiple URIs from a shrinkwrap file and then
# forwards it to a proxy fetcher. The management of the donestamp file,
# the lockfile and the checksums are forwarded to the proxy fetcher.
ud.proxy = Fetch([dep["url"] for dep in ud.deps], data)
ud.proxy = Fetch([dep["url"] for dep in ud.deps if dep["url"]], data)
ud.needdonestamp = False
@staticmethod
@@ -187,7 +203,9 @@ class NpmShrinkWrap(FetchMethod):
proxy_ud = ud.proxy.ud[proxy_url]
proxy_d = ud.proxy.d
proxy_ud.setup_localpath(proxy_d)
lf = lockfile(proxy_ud.lockfile)
returns.append(handle(proxy_ud.method, proxy_ud, proxy_d))
unlockfile(lf)
return returns
def verify_donestamp(self, ud, d):
@@ -237,7 +255,16 @@ class NpmShrinkWrap(FetchMethod):
for dep in manual:
depdestdir = os.path.join(destdir, dep["destsuffix"])
npm_unpack(dep["localpath"], depdestdir, d)
if dep["url"]:
npm_unpack(dep["localpath"], depdestdir, d)
else:
depsrcdir= os.path.join(destdir, dep["localpath"])
if dep["unpack"]:
npm_unpack(depsrcdir, depdestdir, d)
else:
bb.utils.mkdirhier(depdestdir)
cmd = 'cp -fpPRH "%s/." .' % (depsrcdir)
runfetchcmd(cmd, d, workdir=depdestdir)
def clean(self, ud, d):
"""Clean any existing full or partial download"""

View File

@@ -1,4 +1,6 @@
#
# Copyright BitBake Contributors
#
# SPDX-License-Identifier: GPL-2.0-only
#
"""
@@ -36,6 +38,7 @@ class Osc(FetchMethod):
# Create paths to osc checkouts
oscdir = d.getVar("OSCDIR") or (d.getVar("DL_DIR") + "/osc")
relpath = self._strip_leading_slashes(ud.path)
ud.oscdir = oscdir
ud.pkgdir = os.path.join(oscdir, ud.host)
ud.moddir = os.path.join(ud.pkgdir, relpath, ud.module)
@@ -43,13 +46,13 @@ class Osc(FetchMethod):
ud.revision = ud.parm['rev']
else:
pv = d.getVar("PV", False)
rev = bb.fetch2.srcrev_internal_helper(ud, d)
rev = bb.fetch2.srcrev_internal_helper(ud, d, '')
if rev:
ud.revision = rev
else:
ud.revision = ""
ud.localfile = d.expand('%s_%s_%s.tar.gz' % (ud.module.replace('/', '.'), ud.path.replace('/', '.'), ud.revision))
ud.localfile = d.expand('%s_%s_%s.tar.gz' % (ud.module.replace('/', '.'), relpath.replace('/', '.'), ud.revision))
def _buildosccommand(self, ud, d, command):
"""
@@ -86,7 +89,7 @@ class Osc(FetchMethod):
logger.debug2("Fetch: checking for module directory '" + ud.moddir + "'")
if os.access(os.path.join(d.getVar('OSCDIR'), ud.path, ud.module), os.R_OK):
if os.access(ud.moddir, os.R_OK):
oscupdatecmd = self._buildosccommand(ud, d, "update")
logger.info("Update "+ ud.url)
# update sources there
@@ -114,20 +117,23 @@ class Osc(FetchMethod):
Generate a .oscrc to be used for this run.
"""
config_path = os.path.join(d.getVar('OSCDIR'), "oscrc")
config_path = os.path.join(ud.oscdir, "oscrc")
if not os.path.exists(ud.oscdir):
bb.utils.mkdirhier(ud.oscdir)
if (os.path.exists(config_path)):
os.remove(config_path)
f = open(config_path, 'w')
proto = ud.parm.get('proto', 'https')
f.write("[general]\n")
f.write("apisrv = %s\n" % ud.host)
f.write("scheme = http\n")
f.write("apiurl = %s://%s\n" % (proto, ud.host))
f.write("su-wrapper = su -c\n")
f.write("build-root = %s\n" % d.getVar('WORKDIR'))
f.write("urllist = %s\n" % d.getVar("OSCURLLIST"))
f.write("extra-pkgs = gzip\n")
f.write("\n")
f.write("[%s]\n" % ud.host)
f.write("[%s://%s]\n" % (proto, ud.host))
f.write("user = %s\n" % ud.parm["user"])
f.write("pass = %s\n" % ud.parm["pswd"])
f.close()

View File

@@ -134,7 +134,7 @@ class Perforce(FetchMethod):
ud.setup_revisions(d)
ud.localfile = d.expand('%s_%s_%s_%s.tar.gz' % (cleanedhost, cleanedpath, cleandedmodule, ud.revision))
ud.localfile = d.expand('%s_%s_%s_%s.tar.gz' % (cleanedhost, cleanedpath, cleanedmodule, ud.revision))
def _buildp4command(self, ud, d, command, depot_filename=None):
"""

View File

@@ -18,10 +18,47 @@ The aws tool must be correctly installed and configured prior to use.
import os
import bb
import urllib.request, urllib.parse, urllib.error
import re
from bb.fetch2 import FetchMethod
from bb.fetch2 import FetchError
from bb.fetch2 import runfetchcmd
def convertToBytes(value, unit):
value = float(value)
if (unit == "KiB"):
value = value*1024.0;
elif (unit == "MiB"):
value = value*1024.0*1024.0;
elif (unit == "GiB"):
value = value*1024.0*1024.0*1024.0;
return value
class S3ProgressHandler(bb.progress.LineFilterProgressHandler):
"""
Extract progress information from s3 cp output, e.g.:
Completed 5.1 KiB/8.8 GiB (12.0 MiB/s) with 1 file(s) remaining
"""
def __init__(self, d):
super(S3ProgressHandler, self).__init__(d)
# Send an initial progress event so the bar gets shown
self._fire_progress(0)
def writeline(self, line):
percs = re.findall(r'^Completed (\d+.{0,1}\d*) (\w+)\/(\d+.{0,1}\d*) (\w+) (\(.+\)) with\s+', line)
if percs:
completed = (percs[-1][0])
completedUnit = (percs[-1][1])
total = (percs[-1][2])
totalUnit = (percs[-1][3])
completed = convertToBytes(completed, completedUnit)
total = convertToBytes(total, totalUnit)
progress = (completed/total)*100.0
rate = percs[-1][4]
self.update(progress, rate)
return False
return True
class S3(FetchMethod):
"""Class to fetch urls via 'aws s3'"""
@@ -52,7 +89,9 @@ class S3(FetchMethod):
cmd = '%s cp s3://%s%s %s' % (ud.basecmd, ud.host, ud.path, ud.localpath)
bb.fetch2.check_network_access(d, cmd, ud.url)
runfetchcmd(cmd, d)
progresshandler = S3ProgressHandler(d)
runfetchcmd(cmd, d, False, log=progresshandler)
# Additional sanity checks copied from the wget class (although there
# are no known issues which mean these are required, treat the aws cli

View File

@@ -32,6 +32,7 @@ IETF secsh internet draft:
import re, os
from bb.fetch2 import check_network_access, FetchMethod, ParameterError, runfetchcmd
import urllib
__pattern__ = re.compile(r'''
@@ -40,9 +41,9 @@ __pattern__ = re.compile(r'''
( # Optional username/password block
(?P<user>\S+) # username
(:(?P<pass>\S+))? # colon followed by the password (optional)
)?
(?P<cparam>(;[^;]+)*)? # connection parameters block (optional)
@
)?
(?P<host>\S+?) # non-greedy match of the host
(:(?P<port>[0-9]+))? # colon followed by the port (optional)
/
@@ -70,6 +71,7 @@ class SSH(FetchMethod):
"git:// prefix with protocol=ssh", urldata.url)
m = __pattern__.match(urldata.url)
path = m.group('path')
path = urllib.parse.unquote(path)
host = m.group('host')
urldata.localpath = os.path.join(d.getVar('DL_DIR'),
os.path.basename(os.path.normpath(path)))
@@ -96,6 +98,11 @@ class SSH(FetchMethod):
fr += '@%s' % host
else:
fr = host
if path[0] != '~':
path = '/%s' % path
path = urllib.parse.unquote(path)
fr += ':%s' % path
cmd = 'scp -B -r %s %s %s/' % (
@@ -108,3 +115,43 @@ class SSH(FetchMethod):
runfetchcmd(cmd, d)
def checkstatus(self, fetch, urldata, d):
"""
Check the status of the url
"""
m = __pattern__.match(urldata.url)
path = m.group('path')
host = m.group('host')
port = m.group('port')
user = m.group('user')
password = m.group('pass')
if port:
portarg = '-P %s' % port
else:
portarg = ''
if user:
fr = user
if password:
fr += ':%s' % password
fr += '@%s' % host
else:
fr = host
if path[0] != '~':
path = '/%s' % path
path = urllib.parse.unquote(path)
cmd = 'ssh -o BatchMode=true %s %s [ -f %s ]' % (
portarg,
fr,
path
)
check_network_access(d, cmd, urldata.url)
if runfetchcmd(cmd, d):
return True
return False

View File

@@ -57,7 +57,12 @@ class Svn(FetchMethod):
if 'rev' in ud.parm:
ud.revision = ud.parm['rev']
ud.localfile = d.expand('%s_%s_%s_%s_.tar.gz' % (ud.module.replace('/', '.'), ud.host, ud.path.replace('/', '.'), ud.revision))
# Whether to use the @REV peg-revision syntax in the svn command or not
ud.pegrevision = True
if 'nopegrevision' in ud.parm:
ud.pegrevision = False
ud.localfile = d.expand('%s_%s_%s_%s_%s.tar.gz' % (ud.module.replace('/', '.'), ud.host, ud.path.replace('/', '.'), ud.revision, ["0", "1"][ud.pegrevision]))
def _buildsvncommand(self, ud, d, command):
"""
@@ -86,7 +91,7 @@ class Svn(FetchMethod):
if command == "info":
svncmd = "%s info %s %s://%s/%s/" % (ud.basecmd, " ".join(options), proto, svnroot, ud.module)
elif command == "log1":
svncmd = "%s log --limit 1 %s %s://%s/%s/" % (ud.basecmd, " ".join(options), proto, svnroot, ud.module)
svncmd = "%s log --limit 1 --quiet %s %s://%s/%s/" % (ud.basecmd, " ".join(options), proto, svnroot, ud.module)
else:
suffix = ""
@@ -98,7 +103,8 @@ class Svn(FetchMethod):
if ud.revision:
options.append("-r %s" % ud.revision)
suffix = "@%s" % (ud.revision)
if ud.pegrevision:
suffix = "@%s" % (ud.revision)
if command == "fetch":
transportuser = ud.parm.get("transportuser", "")

View File

@@ -52,18 +52,24 @@ class WgetProgressHandler(bb.progress.LineFilterProgressHandler):
class Wget(FetchMethod):
"""Class to fetch urls via 'wget'"""
# CDNs like CloudFlare may do a 'browser integrity test' which can fail
# with the standard wget/urllib User-Agent, so pretend to be a modern
# browser.
user_agent = "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:84.0) Gecko/20100101 Firefox/84.0"
"""Class to fetch urls via 'wget'"""
def check_certs(self, d):
"""
Should certificates be checked?
"""
return (d.getVar("BB_CHECK_SSL_CERTS") or "1") != "0"
def supports(self, ud, d):
"""
Check to see if a given url can be fetched with wget.
"""
return ud.type in ['http', 'https', 'ftp']
return ud.type in ['http', 'https', 'ftp', 'ftps']
def recommends_checksum(self, urldata):
return True
@@ -82,7 +88,10 @@ class Wget(FetchMethod):
if not ud.localfile:
ud.localfile = d.expand(urllib.parse.unquote(ud.host + ud.path).replace("/", "."))
self.basecmd = d.getVar("FETCHCMD_wget") or "/usr/bin/env wget -t 2 -T 30 --passive-ftp --no-check-certificate"
self.basecmd = d.getVar("FETCHCMD_wget") or "/usr/bin/env wget -t 2 -T 30 --passive-ftp"
if not self.check_certs(d):
self.basecmd += " --no-check-certificate"
def _runwget(self, ud, d, command, quiet, workdir=None):
@@ -103,7 +112,17 @@ class Wget(FetchMethod):
fetchcmd += " -O %s" % shlex.quote(localpath)
if ud.user and ud.pswd:
fetchcmd += " --user=%s --password=%s --auth-no-challenge" % (ud.user, ud.pswd)
fetchcmd += " --auth-no-challenge"
if ud.parm.get("redirectauth", "1") == "1":
# An undocumented feature of wget is that if the
# username/password are specified on the URI, wget will only
# send the Authorization header to the first host and not to
# any hosts that it is redirected to. With the increasing
# usage of temporary AWS URLs, this difference now matters as
# AWS will reject any request that has authentication both in
# the query parameters (from the redirect) and in the
# Authorization header.
fetchcmd += " --user=%s --password=%s" % (ud.user, ud.pswd)
uri = ud.url.split(";")[0]
if os.path.exists(ud.localpath):
@@ -209,7 +228,7 @@ class Wget(FetchMethod):
# We let the request fail and expect it to be
# tried once more ("try_again" in check_status()),
# with the dead connection removed from the cache.
# If it still fails, we give up, which can happend for bad
# If it still fails, we give up, which can happen for bad
# HTTP proxy settings.
fetch.connection_cache.remove_connection(h.host, h.port)
raise urllib.error.URLError(err)
@@ -282,64 +301,82 @@ class Wget(FetchMethod):
newreq = urllib.request.HTTPRedirectHandler.redirect_request(self, req, fp, code, msg, headers, newurl)
newreq.get_method = req.get_method
return newreq
exported_proxies = export_proxies(d)
handlers = [FixedHTTPRedirectHandler, HTTPMethodFallback]
if exported_proxies:
handlers.append(urllib.request.ProxyHandler())
handlers.append(CacheHTTPHandler())
# Since Python 2.7.9 ssl cert validation is enabled by default
# see PEP-0476, this causes verification errors on some https servers
# so disable by default.
import ssl
if hasattr(ssl, '_create_unverified_context'):
handlers.append(urllib.request.HTTPSHandler(context=ssl._create_unverified_context()))
opener = urllib.request.build_opener(*handlers)
# We need to update the environment here as both the proxy and HTTPS
# handlers need variables set. The proxy needs http_proxy and friends to
# be set, and HTTPSHandler ends up calling into openssl to load the
# certificates. In buildtools configurations this will be looking at the
# wrong place for certificates by default: we set SSL_CERT_FILE to the
# right location in the buildtools environment script but as BitBake
# prunes prunes the environment this is lost. When binaries are executed
# runfetchcmd ensures these values are in the environment, but this is
# pure Python so we need to update the environment.
#
# Avoid tramping the environment too much by using bb.utils.environment
# to scope the changes to the build_opener request, which is when the
# environment lookups happen.
newenv = bb.fetch2.get_fetcher_environment(d)
try:
uri = ud.url.split(";")[0]
r = urllib.request.Request(uri)
r.get_method = lambda: "HEAD"
# Some servers (FusionForge, as used on Alioth) require that the
# optional Accept header is set.
r.add_header("Accept", "*/*")
r.add_header("User-Agent", self.user_agent)
def add_basic_auth(login_str, request):
'''Adds Basic auth to http request, pass in login:password as string'''
import base64
encodeuser = base64.b64encode(login_str.encode('utf-8')).decode("utf-8")
authheader = "Basic %s" % encodeuser
r.add_header("Authorization", authheader)
with bb.utils.environment(**newenv):
import ssl
if ud.user and ud.pswd:
add_basic_auth(ud.user + ':' + ud.pswd, r)
if self.check_certs(d):
context = ssl.create_default_context()
else:
context = ssl._create_unverified_context()
handlers = [FixedHTTPRedirectHandler,
HTTPMethodFallback,
urllib.request.ProxyHandler(),
CacheHTTPHandler(),
urllib.request.HTTPSHandler(context=context)]
opener = urllib.request.build_opener(*handlers)
try:
import netrc
n = netrc.netrc()
login, unused, password = n.authenticators(urllib.parse.urlparse(uri).hostname)
add_basic_auth("%s:%s" % (login, password), r)
except (TypeError, ImportError, IOError, netrc.NetrcParseError):
pass
uri = ud.url.split(";")[0]
r = urllib.request.Request(uri)
r.get_method = lambda: "HEAD"
# Some servers (FusionForge, as used on Alioth) require that the
# optional Accept header is set.
r.add_header("Accept", "*/*")
r.add_header("User-Agent", self.user_agent)
def add_basic_auth(login_str, request):
'''Adds Basic auth to http request, pass in login:password as string'''
import base64
encodeuser = base64.b64encode(login_str.encode('utf-8')).decode("utf-8")
authheader = "Basic %s" % encodeuser
r.add_header("Authorization", authheader)
if ud.user and ud.pswd:
add_basic_auth(ud.user + ':' + ud.pswd, r)
try:
import netrc
n = netrc.netrc()
login, unused, password = n.authenticators(urllib.parse.urlparse(uri).hostname)
add_basic_auth("%s:%s" % (login, password), r)
except (TypeError, ImportError, IOError, netrc.NetrcParseError):
pass
with opener.open(r, timeout=30) as response:
pass
except urllib.error.URLError as e:
if try_again:
logger.debug2("checkstatus: trying again")
return self.checkstatus(fetch, ud, d, False)
else:
# debug for now to avoid spamming the logs in e.g. remote sstate searches
logger.debug2("checkstatus() urlopen failed: %s" % e)
return False
except ConnectionResetError as e:
if try_again:
logger.debug2("checkstatus: trying again")
return self.checkstatus(fetch, ud, d, False)
else:
# debug for now to avoid spamming the logs in e.g. remote sstate searches
logger.debug2("checkstatus() urlopen failed: %s" % e)
return False
with opener.open(r) as response:
pass
except urllib.error.URLError as e:
if try_again:
logger.debug2("checkstatus: trying again")
return self.checkstatus(fetch, ud, d, False)
else:
# debug for now to avoid spamming the logs in e.g. remote sstate searches
logger.debug2("checkstatus() urlopen failed: %s" % e)
return False
except ConnectionResetError as e:
if try_again:
logger.debug2("checkstatus: trying again")
return self.checkstatus(fetch, ud, d, False)
else:
# debug for now to avoid spamming the logs in e.g. remote sstate searches
logger.debug2("checkstatus() urlopen failed: %s" % e)
return False
return True
def _parse_path(self, regex, s):
@@ -472,7 +509,7 @@ class Wget(FetchMethod):
version_dir = ['', '', '']
version = ['', '', '']
dirver_regex = re.compile(r"(?P<pfx>\D*)(?P<ver>(\d+[\.\-_])+(\d+))")
dirver_regex = re.compile(r"(?P<pfx>\D*)(?P<ver>(\d+[\.\-_])*(\d+))")
s = dirver_regex.search(dirver)
if s:
version_dir[1] = s.group('ver')
@@ -548,7 +585,7 @@ class Wget(FetchMethod):
# src.rpm extension was added only for rpm package. Can be removed if the rpm
# packaged will always be considered as having to be manually upgraded
psuffix_regex = r"(tar\.gz|tgz|tar\.bz2|zip|xz|tar\.lz|rpm|bz2|orig\.tar\.gz|tar\.xz|src\.tar\.gz|src\.tgz|svnr\d+\.tar\.bz2|stable\.tar\.gz|src\.rpm)"
psuffix_regex = r"(tar\.\w+|tgz|zip|xz|rpm|bz2|orig\.tar\.\w+|src\.tar\.\w+|src\.tgz|svnr\d+\.tar\.\w+|stable\.tar\.\w+|src\.rpm)"
# match name, version and archive type of a package
package_regex_comp = re.compile(r"(?P<name>%s?\.?v?)(?P<pver>%s)(?P<arch>%s)?[\.-](?P<type>%s$)"

View File

@@ -112,13 +112,6 @@ def _showwarning(message, category, filename, lineno, file=None, line=None):
warnlog.warning(s)
warnings.showwarning = _showwarning
warnings.filterwarnings("ignore")
warnings.filterwarnings("default", module="(<string>$|(oe|bb)\.)")
warnings.filterwarnings("ignore", category=PendingDeprecationWarning)
warnings.filterwarnings("ignore", category=ImportWarning)
warnings.filterwarnings("ignore", category=DeprecationWarning, module="<string>$")
warnings.filterwarnings("ignore", message="With-statements now directly support multiple context managers")
def create_bitbake_parser():
parser = optparse.OptionParser(
@@ -134,7 +127,7 @@ def create_bitbake_parser():
help="Execute tasks from a specific .bb recipe directly. WARNING: Does "
"not handle any dependencies from other recipes.")
parser.add_option("-k", "--continue", action="store_false", dest="abort", default=True,
parser.add_option("-k", "--continue", action="store_false", dest="halt", default=True,
help="Continue as much as possible after an error. While the target that "
"failed and anything depending on it cannot be built, as much as "
"possible will be built before stopping.")

View File

@@ -76,7 +76,12 @@ def getDiskData(BBDirs):
return None
action = pathSpaceInodeRe.group(1)
if action not in ("ABORT", "STOPTASKS", "WARN"):
if action == "ABORT":
# Emit a deprecation warning
logger.warnonce("The BB_DISKMON_DIRS \"ABORT\" action has been renamed to \"HALT\", update configuration")
action = "HALT"
if action not in ("HALT", "STOPTASKS", "WARN"):
printErr("Unknown disk space monitor action: %s" % action)
return None
@@ -177,7 +182,7 @@ class diskMonitor:
# use them to avoid printing too many warning messages
self.preFreeS = {}
self.preFreeI = {}
# This is for STOPTASKS and ABORT, to avoid printing the message
# This is for STOPTASKS and HALT, to avoid printing the message
# repeatedly while waiting for the tasks to finish
self.checked = {}
for k in self.devDict:
@@ -219,8 +224,8 @@ class diskMonitor:
self.checked[k] = True
rq.finish_runqueue(False)
bb.event.fire(bb.event.DiskFull(dev, 'disk', freeSpace, path), self.configuration)
elif action == "ABORT" and not self.checked[k]:
logger.error("Immediately abort since the disk space monitor action is \"ABORT\"!")
elif action == "HALT" and not self.checked[k]:
logger.error("Immediately halt since the disk space monitor action is \"HALT\"!")
self.checked[k] = True
rq.finish_runqueue(True)
bb.event.fire(bb.event.DiskFull(dev, 'disk', freeSpace, path), self.configuration)
@@ -229,9 +234,10 @@ class diskMonitor:
freeInode = st.f_favail
if minInode and freeInode < minInode:
# Some filesystems use dynamic inodes so can't run out
# (e.g. btrfs). This is reported by the inode count being 0.
if st.f_files == 0:
# Some filesystems use dynamic inodes so can't run out.
# This is reported by the inode count being 0 (btrfs) or the free
# inode count being -1 (cephfs).
if st.f_files == 0 or st.f_favail == -1:
self.devDict[k][2] = None
continue
# Always show warning, the self.checked would always be False if the action is WARN
@@ -245,8 +251,8 @@ class diskMonitor:
self.checked[k] = True
rq.finish_runqueue(False)
bb.event.fire(bb.event.DiskFull(dev, 'inode', freeInode, path), self.configuration)
elif action == "ABORT" and not self.checked[k]:
logger.error("Immediately abort since the disk space monitor action is \"ABORT\"!")
elif action == "HALT" and not self.checked[k]:
logger.error("Immediately halt since the disk space monitor action is \"HALT\"!")
self.checked[k] = True
rq.finish_runqueue(True)
bb.event.fire(bb.event.DiskFull(dev, 'inode', freeInode, path), self.configuration)

View File

@@ -30,7 +30,9 @@ class BBLogFormatter(logging.Formatter):
PLAIN = logging.INFO + 1
VERBNOTE = logging.INFO + 2
ERROR = logging.ERROR
ERRORONCE = logging.ERROR - 1
WARNING = logging.WARNING
WARNONCE = logging.WARNING - 1
CRITICAL = logging.CRITICAL
levelnames = {
@@ -42,7 +44,9 @@ class BBLogFormatter(logging.Formatter):
PLAIN : '',
VERBNOTE: 'NOTE',
WARNING : 'WARNING',
WARNONCE : 'WARNING',
ERROR : 'ERROR',
ERRORONCE : 'ERROR',
CRITICAL: 'ERROR',
}
@@ -58,7 +62,9 @@ class BBLogFormatter(logging.Formatter):
PLAIN : BASECOLOR,
VERBNOTE: BASECOLOR,
WARNING : YELLOW,
WARNONCE : YELLOW,
ERROR : RED,
ERRORONCE : RED,
CRITICAL: RED,
}
@@ -121,6 +127,22 @@ class BBLogFilter(object):
return True
return False
class LogFilterShowOnce(logging.Filter):
def __init__(self):
self.seen_warnings = set()
self.seen_errors = set()
def filter(self, record):
if record.levelno == bb.msg.BBLogFormatter.WARNONCE:
if record.msg in self.seen_warnings:
return False
self.seen_warnings.add(record.msg)
if record.levelno == bb.msg.BBLogFormatter.ERRORONCE:
if record.msg in self.seen_errors:
return False
self.seen_errors.add(record.msg)
return True
class LogFilterGEQLevel(logging.Filter):
def __init__(self, level):
self.strlevel = str(level)
@@ -206,6 +228,7 @@ def logger_create(name, output=sys.stderr, level=logging.INFO, preserve_handlers
"""Standalone logger creation function"""
logger = logging.getLogger(name)
console = logging.StreamHandler(output)
console.addFilter(bb.msg.LogFilterShowOnce())
format = bb.msg.BBLogFormatter("%(levelname)s: %(message)s")
if color == 'always' or (color == 'auto' and output.isatty()):
format.enable_color()
@@ -293,10 +316,17 @@ def setLoggingConfig(defaultconfig, userconfigfile=None):
# Convert all level parameters to integers in case users want to use the
# bitbake defined level names
for h in logconfig["handlers"].values():
for name, h in logconfig["handlers"].items():
if "level" in h:
h["level"] = bb.msg.stringToLevel(h["level"])
# Every handler needs its own instance of the once filter.
once_filter_name = name + ".showonceFilter"
logconfig.setdefault("filters", {})[once_filter_name] = {
"()": "bb.msg.LogFilterShowOnce",
}
h.setdefault("filters", []).append(once_filter_name)
for l in logconfig["loggers"].values():
if "level" in l:
l["level"] = bb.msg.stringToLevel(l["level"])

View File

@@ -49,20 +49,23 @@ class SkipPackage(SkipRecipe):
__mtime_cache = {}
def cached_mtime(f):
if f not in __mtime_cache:
__mtime_cache[f] = os.stat(f)[stat.ST_MTIME]
res = os.stat(f)
__mtime_cache[f] = (res.st_mtime_ns, res.st_size, res.st_ino)
return __mtime_cache[f]
def cached_mtime_noerror(f):
if f not in __mtime_cache:
try:
__mtime_cache[f] = os.stat(f)[stat.ST_MTIME]
res = os.stat(f)
__mtime_cache[f] = (res.st_mtime_ns, res.st_size, res.st_ino)
except OSError:
return 0
return __mtime_cache[f]
def update_mtime(f):
try:
__mtime_cache[f] = os.stat(f)[stat.ST_MTIME]
res = os.stat(f)
__mtime_cache[f] = (res.st_mtime_ns, res.st_size, res.st_ino)
except OSError:
if f in __mtime_cache:
del __mtime_cache[f]
@@ -113,6 +116,8 @@ def init(fn, data):
return h['init'](data)
def init_parser(d):
if hasattr(bb.parse, "siggen"):
bb.parse.siggen.exit()
bb.parse.siggen = bb.siggen.init(d)
def resolve_file(fn, d):

View File

@@ -130,6 +130,10 @@ class DataNode(AstNode):
else:
val = groupd["value"]
if ":append" in key or ":remove" in key or ":prepend" in key:
if op in ["append", "prepend", "postdot", "predot", "ques"]:
bb.warn(key + " " + groupd[op] + " is not a recommended operator combination, please replace it.")
flag = None
if 'flag' in groupd and groupd['flag'] is not None:
flag = groupd['flag']
@@ -145,7 +149,7 @@ class DataNode(AstNode):
data.setVar(key, val, parsing=True, **loginfo)
class MethodNode(AstNode):
tr_tbl = str.maketrans('/.+-@%&', '_______')
tr_tbl = str.maketrans('/.+-@%&~', '________')
def __init__(self, filename, lineno, func_name, body, python, fakeroot):
AstNode.__init__(self, filename, lineno)
@@ -219,7 +223,7 @@ class ExportFuncsNode(AstNode):
for flag in [ "func", "python" ]:
if data.getVarFlag(calledfunc, flag, False):
data.setVarFlag(func, flag, data.getVarFlag(calledfunc, flag, False))
for flag in [ "dirs" ]:
for flag in ["dirs", "cleandirs", "fakeroot"]:
if data.getVarFlag(func, flag, False):
data.setVarFlag(calledfunc, flag, data.getVarFlag(func, flag, False))
data.setVarFlag(func, "filename", "autogenerated")
@@ -329,6 +333,10 @@ def runAnonFuncs(d):
def finalize(fn, d, variant = None):
saved_handlers = bb.event.get_handlers().copy()
try:
# Found renamed variables. Exit immediately
if d.getVar("_FAILPARSINGERRORHANDLED", False) == True:
raise bb.BBHandledException()
for var in d.getVar('__BBHANDLERS', False) or []:
# try to add the handler
handlerfn = d.getVarFlag(var, "filename", False)

View File

@@ -19,10 +19,7 @@ from . import ConfHandler
from .. import resolve_file, ast, logger, ParseError
from .ConfHandler import include, init
# For compatibility
bb.deprecate_import(__name__, "bb.parse", ["vars_from_file"])
__func_start_regexp__ = re.compile(r"(((?P<py>python(?=(\s|\()))|(?P<fr>fakeroot(?=\s)))\s*)*(?P<func>[\w\.\-\+\{\}\$]+)?\s*\(\s*\)\s*{$" )
__func_start_regexp__ = re.compile(r"(((?P<py>python(?=(\s|\()))|(?P<fr>fakeroot(?=\s)))\s*)*(?P<func>[\w\.\-\+\{\}\$:]+)?\s*\(\s*\)\s*{$" )
__inherit_regexp__ = re.compile(r"inherit\s+(.+)" )
__export_func_regexp__ = re.compile(r"EXPORT_FUNCTIONS\s+(.+)" )
__addtask_regexp__ = re.compile(r"addtask\s+(?P<func>\w+)\s*((before\s*(?P<before>((.*(?=after))|(.*))))|(after\s*(?P<after>((.*(?=before))|(.*)))))*")
@@ -181,10 +178,10 @@ def feeder(lineno, s, fn, root, statements, eof=False):
if s and s[0] == '#':
if len(__residue__) != 0 and __residue__[0][0] != "#":
bb.fatal("There is a comment on line %s of file %s (%s) which is in the middle of a multiline expression.\nBitbake used to ignore these but no longer does so, please fix your metadata as errors are likely as a result of this change." % (lineno, fn, s))
bb.fatal("There is a comment on line %s of file %s:\n'''\n%s\n'''\nwhich is in the middle of a multiline expression. This syntax is invalid, please correct it." % (lineno, fn, s))
if len(__residue__) != 0 and __residue__[0][0] == "#" and (not s or s[0] != "#"):
bb.fatal("There is a confusing multiline, partially commented expression on line %s of file %s (%s).\nPlease clarify whether this is all a comment or should be parsed." % (lineno, fn, s))
bb.fatal("There is a confusing multiline partially commented expression on line %s of file %s:\n%s\nPlease clarify whether this is all a comment or should be parsed." % (lineno - len(__residue__), fn, "\n".join(__residue__)))
if s and s[-1] == '\\':
__residue__.append(s[:-1])

View File

@@ -20,7 +20,7 @@ from bb.parse import ParseError, resolve_file, ast, logger, handle
__config_regexp__ = re.compile( r"""
^
(?P<exp>export\s+)?
(?P<var>[a-zA-Z0-9\-_+.${}/~]+?)
(?P<var>[a-zA-Z0-9\-_+.${}/~:]+?)
(\[(?P<flag>[a-zA-Z0-9\-_+.]+)\])?
\s* (
@@ -48,10 +48,7 @@ __unset_regexp__ = re.compile( r"unset\s+([a-zA-Z0-9\-_+.${}/~]+)$" )
__unset_flag_regexp__ = re.compile( r"unset\s+([a-zA-Z0-9\-_+.${}/~]+)\[([a-zA-Z0-9\-_+.]+)\]$" )
def init(data):
topdir = data.getVar('TOPDIR', False)
if not topdir:
data.setVar('TOPDIR', os.getcwd())
return
def supports(fn, d):
return fn[-5:] == ".conf"
@@ -128,16 +125,21 @@ def handle(fn, data, include):
s = f.readline()
if not s:
break
origlineno = lineno
origline = s
w = s.strip()
# skip empty lines
if not w:
continue
s = s.rstrip()
while s[-1] == '\\':
s2 = f.readline().rstrip()
line = f.readline()
origline += line
s2 = line.rstrip()
lineno = lineno + 1
if (not s2 or s2 and s2[0] != "#") and s[0] == "#" :
bb.fatal("There is a confusing multiline, partially commented expression on line %s of file %s (%s).\nPlease clarify whether this is all a comment or should be parsed." % (lineno, fn, s))
bb.fatal("There is a confusing multiline, partially commented expression starting on line %s of file %s:\n%s\nPlease clarify whether this is all a comment or should be parsed." % (origlineno, fn, origline))
s = s[:-1] + s2
# skip comments
if s[0] == '#':
@@ -150,8 +152,6 @@ def handle(fn, data, include):
if oldfile:
data.setVar('FILE', oldfile)
f.close()
for f in confFilters:
f(fn, data)

View File

@@ -12,14 +12,14 @@ currently, providing a key/value store accessed by 'domain'.
#
import collections
import collections.abc
import contextlib
import functools
import logging
import os.path
import sqlite3
import sys
import warnings
from collections import Mapping
from collections.abc import Mapping
sqlversion = sqlite3.sqlite_version_info
if sqlversion[0] < 3 or (sqlversion[0] == 3 and sqlversion[1] < 3):
@@ -29,7 +29,7 @@ if sqlversion[0] < 3 or (sqlversion[0] == 3 and sqlversion[1] < 3):
logger = logging.getLogger("BitBake.PersistData")
@functools.total_ordering
class SQLTable(collections.MutableMapping):
class SQLTable(collections.abc.MutableMapping):
class _Decorators(object):
@staticmethod
def retry(*, reconnect=True):
@@ -63,7 +63,7 @@ class SQLTable(collections.MutableMapping):
"""
Decorator that starts a database transaction and creates a database
cursor for performing queries. If no exception is thrown, the
database results are commited. If an exception occurs, the database
database results are committed. If an exception occurs, the database
is rolled back. In all cases, the cursor is closed after the
function ends.
@@ -208,7 +208,7 @@ class SQLTable(collections.MutableMapping):
def __lt__(self, other):
if not isinstance(other, Mapping):
raise NotImplemented
raise NotImplementedError()
return len(self) < len(other)
@@ -238,55 +238,6 @@ class SQLTable(collections.MutableMapping):
def has_key(self, key):
return key in self
class PersistData(object):
"""Deprecated representation of the bitbake persistent data store"""
def __init__(self, d):
warnings.warn("Use of PersistData is deprecated. Please use "
"persist(domain, d) instead.",
category=DeprecationWarning,
stacklevel=2)
self.data = persist(d)
logger.debug("Using '%s' as the persistent data cache",
self.data.filename)
def addDomain(self, domain):
"""
Add a domain (pending deprecation)
"""
return self.data[domain]
def delDomain(self, domain):
"""
Removes a domain and all the data it contains
"""
del self.data[domain]
def getKeyValues(self, domain):
"""
Return a list of key + value pairs for a domain
"""
return list(self.data[domain].items())
def getValue(self, domain, key):
"""
Return the value of a key for a domain
"""
return self.data[domain][key]
def setValue(self, domain, key, value):
"""
Sets the value of a key for a domain
"""
self.data[domain][key] = value
def delValue(self, domain, key):
"""
Deletes a key/value pair
"""
del self.data[domain][key]
def persist(domain, d):
"""Convenience factory for SQLTable objects based upon metadata"""
import bb.utils

View File

@@ -1,4 +1,6 @@
#
# Copyright BitBake Contributors
#
# SPDX-License-Identifier: GPL-2.0-only
#
@@ -60,7 +62,7 @@ class Popen(subprocess.Popen):
"close_fds": True,
"preexec_fn": subprocess_setup,
"stdout": subprocess.PIPE,
"stderr": subprocess.STDOUT,
"stderr": subprocess.PIPE,
"stdin": subprocess.PIPE,
"shell": False,
}
@@ -142,7 +144,7 @@ def _logged_communicate(pipe, log, input, extrafiles):
while pipe.poll() is None:
read_all_pipes(log, rin, outdata, errdata)
# Pocess closed, drain all pipes...
# Process closed, drain all pipes...
read_all_pipes(log, rin, outdata, errdata)
finally:
log.flush()
@@ -181,5 +183,8 @@ def run(cmd, input=None, log=None, extrafiles=None, **options):
stderr = stderr.decode("utf-8")
if pipe.returncode != 0:
if log:
# Don't duplicate the output in the exception if logging it
raise ExecutionError(cmd, pipe.returncode, None, None)
raise ExecutionError(cmd, pipe.returncode, stdout, stderr)
return stdout, stderr

View File

@@ -94,12 +94,15 @@ class LineFilterProgressHandler(ProgressHandler):
while True:
breakpos = self._linebuffer.find('\n') + 1
if breakpos == 0:
break
# for the case when the line with progress ends with only '\r'
breakpos = self._linebuffer.find('\r') + 1
if breakpos == 0:
break
line = self._linebuffer[:breakpos]
self._linebuffer = self._linebuffer[breakpos:]
# Drop any line feeds and anything that precedes them
lbreakpos = line.rfind('\r') + 1
if lbreakpos:
if lbreakpos and lbreakpos != breakpos:
line = line[lbreakpos:]
if self.writeline(filter_color(line)):
super().write(line)
@@ -145,7 +148,7 @@ class MultiStageProgressReporter:
for tasks made up of python code spread across multiple
classes / functions - the progress reporter object can
be passed around or stored at the object level and calls
to next_stage() and update() made whereever needed.
to next_stage() and update() made wherever needed.
"""
def __init__(self, d, stage_weights, debug=False):
"""

View File

@@ -94,7 +94,7 @@ def versionVariableMatch(cfgData, keyword, pn):
# pn can contain '_', e.g. gcc-cross-x86_64 and an override cannot
# hence we do this manually rather than use OVERRIDES
ver = cfgData.getVar("%s_VERSION_pn-%s" % (keyword, pn))
ver = cfgData.getVar("%s_VERSION:pn-%s" % (keyword, pn))
if not ver:
ver = cfgData.getVar("%s_VERSION_%s" % (keyword, pn))
if not ver:
@@ -133,7 +133,7 @@ def findPreferredProvider(pn, cfgData, dataCache, pkg_pn = None, item = None):
if required_v is not None:
if preferred_v is not None:
logger.warn("REQUIRED_VERSION and PREFERRED_VERSION for package %s%s are both set using REQUIRED_VERSION %s", pn, itemstr, required_v)
logger.warning("REQUIRED_VERSION and PREFERRED_VERSION for package %s%s are both set using REQUIRED_VERSION %s", pn, itemstr, required_v)
else:
logger.debug("REQUIRED_VERSION is set for package %s%s", pn, itemstr)
# REQUIRED_VERSION always takes precedence over PREFERRED_VERSION
@@ -173,7 +173,7 @@ def findPreferredProvider(pn, cfgData, dataCache, pkg_pn = None, item = None):
pv_str = '%s:%s' % (preferred_e, pv_str)
if preferred_file is None:
if not required:
logger.warn("preferred version %s of %s not available%s", pv_str, pn, itemstr)
logger.warning("preferred version %s of %s not available%s", pv_str, pn, itemstr)
available_vers = []
for file_set in pkg_pn:
for f in file_set:
@@ -185,7 +185,7 @@ def findPreferredProvider(pn, cfgData, dataCache, pkg_pn = None, item = None):
available_vers.append(ver_str)
if available_vers:
available_vers.sort()
logger.warn("versions of %s available: %s", pn, ' '.join(available_vers))
logger.warning("versions of %s available: %s", pn, ' '.join(available_vers))
if required:
logger.error("required version %s of %s not available%s", pv_str, pn, itemstr)
else:
@@ -396,8 +396,8 @@ def getRuntimeProviders(dataCache, rdepend):
return rproviders
# Only search dynamic packages if we can't find anything in other variables
for pattern in dataCache.packages_dynamic:
pattern = pattern.replace(r'+', r"\+")
for pat_key in dataCache.packages_dynamic:
pattern = pat_key.replace(r'+', r"\+")
if pattern in regexp_cache:
regexp = regexp_cache[pattern]
else:
@@ -408,7 +408,7 @@ def getRuntimeProviders(dataCache, rdepend):
raise
regexp_cache[pattern] = regexp
if regexp.match(rdepend):
rproviders += dataCache.packages_dynamic[pattern]
rproviders += dataCache.packages_dynamic[pat_key]
logger.debug("Assuming %s is a dynamic package, but it may not exist" % rdepend)
return rproviders

File diff suppressed because it is too large Load Diff

View File

@@ -26,6 +26,8 @@ import errno
import re
import datetime
import pickle
import traceback
import gc
import bb.server.xmlrpcserver
from bb import daemonize
from multiprocessing import queues
@@ -147,7 +149,7 @@ class ProcessServer():
conn = newconnections.pop(-1)
fds.append(conn)
self.controllersock = conn
elif self.timeout is None and not ready:
elif not self.timeout and not ready:
serverlog("No timeout, exiting.")
self.quit = True
@@ -217,8 +219,9 @@ class ProcessServer():
self.command_channel_reply.send(self.cooker.command.runCommand(command))
serverlog("Command Completed")
except Exception as e:
serverlog('Exception in server main event loop running command %s (%s)' % (command, str(e)))
logger.exception('Exception in server main event loop running command %s (%s)' % (command, str(e)))
stack = traceback.format_exc()
serverlog('Exception in server main event loop running command %s (%s)' % (command, stack))
logger.exception('Exception in server main event loop running command %s (%s)' % (command, stack))
if self.xmlrpc in ready:
self.xmlrpc.handle_requests()
@@ -241,9 +244,6 @@ class ProcessServer():
ready = self.idle_commands(.1, fds)
if len(threading.enumerate()) != 1:
serverlog("More than one thread left?: " + str(threading.enumerate()))
serverlog("Exiting")
# Remove the socket file so we don't get any more connections to avoid races
try:
@@ -261,6 +261,9 @@ class ProcessServer():
self.cooker.post_serve()
if len(threading.enumerate()) != 1:
serverlog("More than one thread left?: " + str(threading.enumerate()))
# Flush logs before we release the lock
sys.stdout.flush()
sys.stderr.flush()
@@ -324,10 +327,10 @@ class ProcessServer():
if e.errno != errno.ENOENT:
raise
msg = "Delaying shutdown due to active processes which appear to be holding bitbake.lock"
msg = ["Delaying shutdown due to active processes which appear to be holding bitbake.lock"]
if procs:
msg += ":\n%s" % str(procs.decode("utf-8"))
serverlog(msg)
msg.append(":\n%s" % str(procs.decode("utf-8")))
serverlog("".join(msg))
def idle_commands(self, delay, fds=None):
nextsleep = delay
@@ -367,7 +370,12 @@ class ProcessServer():
self.next_heartbeat = now + self.heartbeat_seconds
if hasattr(self.cooker, "data"):
heartbeat = bb.event.HeartbeatEvent(now)
bb.event.fire(heartbeat, self.cooker.data)
try:
bb.event.fire(heartbeat, self.cooker.data)
except Exception as exc:
if not isinstance(exc, bb.BBHandledException):
logger.exception('Running heartbeat function')
self.quit = True
if nextsleep and now + nextsleep > self.next_heartbeat:
# Shorten timeout so that we we wake up in time for
# the heartbeat.
@@ -466,7 +474,7 @@ class BitBakeServer(object):
try:
r = ready.get()
except EOFError:
# Trap the child exitting/closing the pipe and error out
# Trap the child exiting/closing the pipe and error out
r = None
if not r or r[0] != "r":
ready.close()
@@ -509,7 +517,7 @@ class BitBakeServer(object):
os.set_inheritable(self.bitbake_lock.fileno(), True)
os.set_inheritable(self.readypipein, True)
serverscript = os.path.realpath(os.path.dirname(__file__) + "/../../../bin/bitbake-server")
os.execl(sys.executable, "bitbake-server", serverscript, "decafbad", str(self.bitbake_lock.fileno()), str(self.readypipein), self.logfile, self.bitbake_lock.name, self.sockname, str(self.server_timeout), str(self.xmlrpcinterface[0]), str(self.xmlrpcinterface[1]))
os.execl(sys.executable, "bitbake-server", serverscript, "decafbad", str(self.bitbake_lock.fileno()), str(self.readypipein), self.logfile, self.bitbake_lock.name, self.sockname, str(self.server_timeout or 0), str(self.xmlrpcinterface[0]), str(self.xmlrpcinterface[1]))
def execServer(lockfd, readypipeinfd, lockname, sockname, server_timeout, xmlrpcinterface):
@@ -549,7 +557,7 @@ def execServer(lockfd, readypipeinfd, lockname, sockname, server_timeout, xmlrpc
server.run()
finally:
# Flush any ,essages/errors to the logfile before exit
# Flush any messages/errors to the logfile before exit
sys.stdout.flush()
sys.stderr.flush()
@@ -654,7 +662,7 @@ class BBUIEventQueue:
self.reader = ConnectionReader(readfd)
self.t = threading.Thread()
self.t.setDaemon(True)
self.t.daemon = True
self.t.run = self.startCallbackHandler
self.t.start()
@@ -730,10 +738,32 @@ class ConnectionWriter(object):
# Why bb.event needs this I have no idea
self.event = self
def send(self, obj):
obj = multiprocessing.reduction.ForkingPickler.dumps(obj)
def _send(self, obj):
gc.disable()
with self.wlock:
self.writer.send_bytes(obj)
gc.enable()
def send(self, obj):
obj = multiprocessing.reduction.ForkingPickler.dumps(obj)
# See notes/code in CookerParser
# We must not terminate holding this lock else processes will hang.
# For SIGTERM, raising afterwards avoids this.
# For SIGINT, we don't want to have written partial data to the pipe.
# pthread_sigmask block/unblock would be nice but doesn't work, https://bugs.python.org/issue47139
process = multiprocessing.current_process()
if process and hasattr(process, "queue_signals"):
with process.signal_threadlock:
process.queue_signals = True
self._send(obj)
process.queue_signals = False
try:
for sig in process.signal_received.pop():
process.handle_sig(sig, None)
except IndexError:
pass
else:
self._send(obj)
def fileno(self):
return self.writer.fileno()

View File

@@ -11,6 +11,7 @@ import hashlib
import time
import inspect
from xmlrpc.server import SimpleXMLRPCServer, SimpleXMLRPCRequestHandler
import bb.server.xmlrpcclient
import bb

View File

@@ -1,4 +1,6 @@
#
# Copyright BitBake Contributors
#
# SPDX-License-Identifier: GPL-2.0-only
#
@@ -11,6 +13,8 @@ import pickle
import bb.data
import difflib
import simplediff
import json
import bb.compress.zstd
from bb.checksum import FileChecksumCache
from bb import runqueue
import hashserv
@@ -19,6 +23,17 @@ import hashserv.client
logger = logging.getLogger('BitBake.SigGen')
hashequiv_logger = logging.getLogger('BitBake.SigGen.HashEquiv')
class SetEncoder(json.JSONEncoder):
def default(self, obj):
if isinstance(obj, set):
return dict(_set_object=list(sorted(obj)))
return json.JSONEncoder.default(self, obj)
def SetDecoder(dct):
if '_set_object' in dct:
return set(dct['_set_object'])
return dct
def init(d):
siggens = [obj for obj in globals().values()
if type(obj) is type and issubclass(obj, SignatureGenerator)]
@@ -27,7 +42,6 @@ def init(d):
for sg in siggens:
if desired == sg.name:
return sg(d)
break
else:
logger.error("Invalid signature generator '%s', using default 'noop'\n"
"Available generators: %s", desired,
@@ -143,6 +157,9 @@ class SignatureGenerator(object):
return DataCacheProxy()
def exit(self):
return
class SignatureGeneratorBasic(SignatureGenerator):
"""
"""
@@ -159,8 +176,8 @@ class SignatureGeneratorBasic(SignatureGenerator):
self.gendeps = {}
self.lookupcache = {}
self.setscenetasks = set()
self.basewhitelist = set((data.getVar("BB_HASHBASE_WHITELIST") or "").split())
self.taskwhitelist = None
self.basehash_ignore_vars = set((data.getVar("BB_BASEHASH_IGNORE_VARS") or "").split())
self.taskhash_ignore_tasks = None
self.init_rundepcheck(data)
checksum_cache_file = data.getVar("BB_HASH_CHECKSUM_CACHE_FILE")
if checksum_cache_file:
@@ -175,18 +192,18 @@ class SignatureGeneratorBasic(SignatureGenerator):
self.tidtopn = {}
def init_rundepcheck(self, data):
self.taskwhitelist = data.getVar("BB_HASHTASK_WHITELIST") or None
if self.taskwhitelist:
self.twl = re.compile(self.taskwhitelist)
self.taskhash_ignore_tasks = data.getVar("BB_TASKHASH_IGNORE_TASKS") or None
if self.taskhash_ignore_tasks:
self.twl = re.compile(self.taskhash_ignore_tasks)
else:
self.twl = None
def _build_data(self, fn, d):
ignore_mismatch = ((d.getVar("BB_HASH_IGNORE_MISMATCH") or '') == '1')
tasklist, gendeps, lookupcache = bb.data.generate_dependencies(d, self.basewhitelist)
tasklist, gendeps, lookupcache = bb.data.generate_dependencies(d, self.basehash_ignore_vars)
taskdeps, basehash = bb.data.generate_dependency_hash(tasklist, gendeps, lookupcache, self.basewhitelist, fn)
taskdeps, basehash = bb.data.generate_dependency_hash(tasklist, gendeps, lookupcache, self.basehash_ignore_vars, fn)
for task in tasklist:
tid = fn + ":" + task
@@ -228,7 +245,7 @@ class SignatureGeneratorBasic(SignatureGenerator):
# self.dump_sigtask(fn, task, d.getVar("STAMP"), False)
for task in taskdeps:
d.setVar("BB_BASEHASH_task-%s" % task, self.basehash[fn + ":" + task])
d.setVar("BB_BASEHASH:task-%s" % task, self.basehash[fn + ":" + task])
def postparsing_clean_cache(self):
#
@@ -240,7 +257,8 @@ class SignatureGeneratorBasic(SignatureGenerator):
def rundep_check(self, fn, recipename, task, dep, depname, dataCaches):
# Return True if we should keep the dependency, False to drop it
# We only manipulate the dependencies for packages not in the whitelist
# We only manipulate the dependencies for packages not in the ignore
# list
if self.twl and not self.twl.search(recipename):
# then process the actual dependencies
if self.twl.search(depname):
@@ -311,21 +329,23 @@ class SignatureGeneratorBasic(SignatureGenerator):
data = self.basehash[tid]
for dep in self.runtaskdeps[tid]:
data = data + self.get_unihash(dep)
data += self.get_unihash(dep)
for (f, cs) in self.file_checksum_values[tid]:
if cs:
data = data + cs
if "/./" in f:
data += "./" + f.split("/./")[1]
data += cs
if tid in self.taints:
if self.taints[tid].startswith("nostamp:"):
data = data + self.taints[tid][8:]
data += self.taints[tid][8:]
else:
data = data + self.taints[tid]
data += self.taints[tid]
h = hashlib.sha256(data.encode("utf-8")).hexdigest()
self.taskhash[tid] = h
#d.setVar("BB_TASKHASH_task-%s" % task, taskhash[task])
#d.setVar("BB_TASKHASH:task-%s" % task, taskhash[task])
return h
def writeout_file_checksum_cache(self):
@@ -357,22 +377,27 @@ class SignatureGeneratorBasic(SignatureGenerator):
data = {}
data['task'] = task
data['basewhitelist'] = self.basewhitelist
data['taskwhitelist'] = self.taskwhitelist
data['basehash_ignore_vars'] = self.basehash_ignore_vars
data['taskhash_ignore_tasks'] = self.taskhash_ignore_tasks
data['taskdeps'] = self.taskdeps[fn][task]
data['basehash'] = self.basehash[tid]
data['gendeps'] = {}
data['varvals'] = {}
data['varvals'][task] = self.lookupcache[fn][task]
for dep in self.taskdeps[fn][task]:
if dep in self.basewhitelist:
if dep in self.basehash_ignore_vars:
continue
data['gendeps'][dep] = self.gendeps[fn][dep]
data['varvals'][dep] = self.lookupcache[fn][dep]
if runtime and tid in self.taskhash:
data['runtaskdeps'] = self.runtaskdeps[tid]
data['file_checksum_values'] = [(os.path.basename(f), cs) for f,cs in self.file_checksum_values[tid]]
data['file_checksum_values'] = []
for f,cs in self.file_checksum_values[tid]:
if "/./" in f:
data['file_checksum_values'].append(("./" + f.split("/./")[1], cs))
else:
data['file_checksum_values'].append((os.path.basename(f), cs))
data['runtaskhashes'] = {}
for dep in data['runtaskdeps']:
data['runtaskhashes'][dep] = self.get_unihash(dep)
@@ -396,13 +421,13 @@ class SignatureGeneratorBasic(SignatureGenerator):
bb.error("Taskhash mismatch %s versus %s for %s" % (computed_taskhash, self.taskhash[tid], tid))
sigfile = sigfile.replace(self.taskhash[tid], computed_taskhash)
fd, tmpfile = tempfile.mkstemp(dir=os.path.dirname(sigfile), prefix="sigtask.")
fd, tmpfile = bb.utils.mkstemp(dir=os.path.dirname(sigfile), prefix="sigtask.")
try:
with os.fdopen(fd, "wb") as stream:
p = pickle.dump(data, stream, -1)
stream.flush()
with bb.compress.zstd.open(fd, "wt", encoding="utf-8", num_threads=1) as f:
json.dump(data, f, sort_keys=True, separators=(",", ":"), cls=SetEncoder)
f.flush()
os.chmod(tmpfile, 0o664)
os.rename(tmpfile, sigfile)
bb.utils.rename(tmpfile, sigfile)
except (OSError, IOError) as err:
try:
os.unlink(tmpfile)
@@ -468,6 +493,18 @@ class SignatureGeneratorUniHashMixIn(object):
self._client = hashserv.create_client(self.server)
return self._client
def reset(self, data):
if getattr(self, '_client', None) is not None:
self._client.close()
self._client = None
return super().reset(data)
def exit(self):
if getattr(self, '_client', None) is not None:
self._client.close()
self._client = None
return super().exit()
def get_stampfile_hash(self, tid):
if tid in self.taskhash:
# If a unique hash is reported, use it as the stampfile hash. This
@@ -542,7 +579,7 @@ class SignatureGeneratorUniHashMixIn(object):
hashequiv_logger.debug((1, 2)[unihash == taskhash], 'Found unihash %s in place of %s for %s from %s' % (unihash, taskhash, tid, self.server))
else:
hashequiv_logger.debug2('No reported unihash for %s:%s from %s' % (tid, taskhash, self.server))
except hashserv.client.HashConnectionError as e:
except ConnectionError as e:
bb.warn('Error contacting Hash Equivalence Server %s: %s' % (self.server, str(e)))
self.set_unihash(tid, unihash)
@@ -563,7 +600,7 @@ class SignatureGeneratorUniHashMixIn(object):
if self.setscenetasks and tid not in self.setscenetasks:
return
# This can happen if locked sigs are in action. Detect and just abort
# This can happen if locked sigs are in action. Detect and just exit
if taskhash != self.taskhash[tid]:
return
@@ -621,7 +658,7 @@ class SignatureGeneratorUniHashMixIn(object):
d.setVar('BB_UNIHASH', new_unihash)
else:
hashequiv_logger.debug('Reported task %s as unihash %s to %s' % (taskhash, unihash, self.server))
except hashserv.client.HashConnectionError as e:
except ConnectionError as e:
bb.warn('Error contacting Hash Equivalence Server %s: %s' % (self.server, str(e)))
finally:
if sigfile:
@@ -661,7 +698,7 @@ class SignatureGeneratorUniHashMixIn(object):
# TODO: What to do here?
hashequiv_logger.verbose('Task %s unihash reported as unwanted hash %s' % (tid, finalunihash))
except hashserv.client.HashConnectionError as e:
except ConnectionError as e:
bb.warn('Error contacting Hash Equivalence Server %s: %s' % (self.server, str(e)))
return False
@@ -774,6 +811,16 @@ def clean_basepaths_list(a):
b.append(clean_basepath(x))
return b
# Handled renamed fields
def handle_renames(data):
if 'basewhitelist' in data:
data['basehash_ignore_vars'] = data['basewhitelist']
del data['basewhitelist']
if 'taskwhitelist' in data:
data['taskhash_ignore_tasks'] = data['taskwhitelist']
del data['taskwhitelist']
def compare_sigfiles(a, b, recursecb=None, color=False, collapsed=False):
output = []
@@ -794,20 +841,21 @@ def compare_sigfiles(a, b, recursecb=None, color=False, collapsed=False):
formatparams.update(values)
return formatstr.format(**formatparams)
with open(a, 'rb') as f:
p1 = pickle.Unpickler(f)
a_data = p1.load()
with open(b, 'rb') as f:
p2 = pickle.Unpickler(f)
b_data = p2.load()
with bb.compress.zstd.open(a, "rt", encoding="utf-8", num_threads=1) as f:
a_data = json.load(f, object_hook=SetDecoder)
with bb.compress.zstd.open(b, "rt", encoding="utf-8", num_threads=1) as f:
b_data = json.load(f, object_hook=SetDecoder)
def dict_diff(a, b, whitelist=set()):
for data in [a_data, b_data]:
handle_renames(data)
def dict_diff(a, b, ignored_vars=set()):
sa = set(a.keys())
sb = set(b.keys())
common = sa & sb
changed = set()
for i in common:
if a[i] != b[i] and i not in whitelist:
if a[i] != b[i] and i not in ignored_vars:
changed.add(i)
added = sb - sa
removed = sa - sb
@@ -815,11 +863,11 @@ def compare_sigfiles(a, b, recursecb=None, color=False, collapsed=False):
def file_checksums_diff(a, b):
from collections import Counter
# Handle old siginfo format
if isinstance(a, dict):
a = [(os.path.basename(f), cs) for f, cs in a.items()]
if isinstance(b, dict):
b = [(os.path.basename(f), cs) for f, cs in b.items()]
# Convert lists back to tuples
a = [(f[0], f[1]) for f in a]
b = [(f[0], f[1]) for f in b]
# Compare lists, ensuring we can handle duplicate filenames if they exist
removedcount = Counter(a)
removedcount.subtract(b)
@@ -846,15 +894,15 @@ def compare_sigfiles(a, b, recursecb=None, color=False, collapsed=False):
removed = [x[0] for x in removed]
return changed, added, removed
if 'basewhitelist' in a_data and a_data['basewhitelist'] != b_data['basewhitelist']:
output.append(color_format("{color_title}basewhitelist changed{color_default} from '%s' to '%s'") % (a_data['basewhitelist'], b_data['basewhitelist']))
if a_data['basewhitelist'] and b_data['basewhitelist']:
output.append("changed items: %s" % a_data['basewhitelist'].symmetric_difference(b_data['basewhitelist']))
if 'basehash_ignore_vars' in a_data and a_data['basehash_ignore_vars'] != b_data['basehash_ignore_vars']:
output.append(color_format("{color_title}basehash_ignore_vars changed{color_default} from '%s' to '%s'") % (a_data['basehash_ignore_vars'], b_data['basehash_ignore_vars']))
if a_data['basehash_ignore_vars'] and b_data['basehash_ignore_vars']:
output.append("changed items: %s" % a_data['basehash_ignore_vars'].symmetric_difference(b_data['basehash_ignore_vars']))
if 'taskwhitelist' in a_data and a_data['taskwhitelist'] != b_data['taskwhitelist']:
output.append(color_format("{color_title}taskwhitelist changed{color_default} from '%s' to '%s'") % (a_data['taskwhitelist'], b_data['taskwhitelist']))
if a_data['taskwhitelist'] and b_data['taskwhitelist']:
output.append("changed items: %s" % a_data['taskwhitelist'].symmetric_difference(b_data['taskwhitelist']))
if 'taskhash_ignore_tasks' in a_data and a_data['taskhash_ignore_tasks'] != b_data['taskhash_ignore_tasks']:
output.append(color_format("{color_title}taskhash_ignore_tasks changed{color_default} from '%s' to '%s'") % (a_data['taskhash_ignore_tasks'], b_data['taskhash_ignore_tasks']))
if a_data['taskhash_ignore_tasks'] and b_data['taskhash_ignore_tasks']:
output.append("changed items: %s" % a_data['taskhash_ignore_tasks'].symmetric_difference(b_data['taskhash_ignore_tasks']))
if a_data['taskdeps'] != b_data['taskdeps']:
output.append(color_format("{color_title}Task dependencies changed{color_default} from:\n%s\nto:\n%s") % (sorted(a_data['taskdeps']), sorted(b_data['taskdeps'])))
@@ -862,23 +910,23 @@ def compare_sigfiles(a, b, recursecb=None, color=False, collapsed=False):
if a_data['basehash'] != b_data['basehash'] and not collapsed:
output.append(color_format("{color_title}basehash changed{color_default} from %s to %s") % (a_data['basehash'], b_data['basehash']))
changed, added, removed = dict_diff(a_data['gendeps'], b_data['gendeps'], a_data['basewhitelist'] & b_data['basewhitelist'])
changed, added, removed = dict_diff(a_data['gendeps'], b_data['gendeps'], a_data['basehash_ignore_vars'] & b_data['basehash_ignore_vars'])
if changed:
for dep in changed:
for dep in sorted(changed):
output.append(color_format("{color_title}List of dependencies for variable %s changed from '{color_default}%s{color_title}' to '{color_default}%s{color_title}'") % (dep, a_data['gendeps'][dep], b_data['gendeps'][dep]))
if a_data['gendeps'][dep] and b_data['gendeps'][dep]:
output.append("changed items: %s" % a_data['gendeps'][dep].symmetric_difference(b_data['gendeps'][dep]))
if added:
for dep in added:
for dep in sorted(added):
output.append(color_format("{color_title}Dependency on variable %s was added") % (dep))
if removed:
for dep in removed:
for dep in sorted(removed):
output.append(color_format("{color_title}Dependency on Variable %s was removed") % (dep))
changed, added, removed = dict_diff(a_data['varvals'], b_data['varvals'])
if changed:
for dep in changed:
for dep in sorted(changed):
oldval = a_data['varvals'][dep]
newval = b_data['varvals'][dep]
if newval and oldval and ('\n' in oldval or '\n' in newval):
@@ -902,9 +950,9 @@ def compare_sigfiles(a, b, recursecb=None, color=False, collapsed=False):
output.append(color_format("{color_title}Variable {var} value changed from '{color_default}{oldval}{color_title}' to '{color_default}{newval}{color_title}'{color_default}", var=dep, oldval=oldval, newval=newval))
if not 'file_checksum_values' in a_data:
a_data['file_checksum_values'] = {}
a_data['file_checksum_values'] = []
if not 'file_checksum_values' in b_data:
b_data['file_checksum_values'] = {}
b_data['file_checksum_values'] = []
changed, added, removed = file_checksums_diff(a_data['file_checksum_values'], b_data['file_checksum_values'])
if changed:
@@ -944,11 +992,11 @@ def compare_sigfiles(a, b, recursecb=None, color=False, collapsed=False):
if 'runtaskhashes' in a_data and 'runtaskhashes' in b_data:
a = a_data['runtaskhashes']
b = b_data['runtaskhashes']
a = clean_basepaths(a_data['runtaskhashes'])
b = clean_basepaths(b_data['runtaskhashes'])
changed, added, removed = dict_diff(a, b)
if added:
for dep in added:
for dep in sorted(added):
bdep_found = False
if removed:
for bdep in removed:
@@ -956,9 +1004,9 @@ def compare_sigfiles(a, b, recursecb=None, color=False, collapsed=False):
#output.append("Dependency on task %s was replaced by %s with same hash" % (dep, bdep))
bdep_found = True
if not bdep_found:
output.append(color_format("{color_title}Dependency on task %s was added{color_default} with hash %s") % (clean_basepath(dep), b[dep]))
output.append(color_format("{color_title}Dependency on task %s was added{color_default} with hash %s") % (dep, b[dep]))
if removed:
for dep in removed:
for dep in sorted(removed):
adep_found = False
if added:
for adep in added:
@@ -966,11 +1014,11 @@ def compare_sigfiles(a, b, recursecb=None, color=False, collapsed=False):
#output.append("Dependency on task %s was replaced by %s with same hash" % (adep, dep))
adep_found = True
if not adep_found:
output.append(color_format("{color_title}Dependency on task %s was removed{color_default} with hash %s") % (clean_basepath(dep), a[dep]))
output.append(color_format("{color_title}Dependency on task %s was removed{color_default} with hash %s") % (dep, a[dep]))
if changed:
for dep in changed:
for dep in sorted(changed):
if not collapsed:
output.append(color_format("{color_title}Hash for dependent task %s changed{color_default} from %s to %s") % (clean_basepath(dep), a[dep], b[dep]))
output.append(color_format("{color_title}Hash for task dependency %s changed{color_default} from %s to %s") % (dep, a[dep], b[dep]))
if callable(recursecb):
recout = recursecb(dep, a[dep], b[dep])
if recout:
@@ -980,6 +1028,7 @@ def compare_sigfiles(a, b, recursecb=None, color=False, collapsed=False):
# If a dependent hash changed, might as well print the line above and then defer to the changes in
# that hash since in all likelyhood, they're the same changes this task also saw.
output = [output[-1]] + recout
break
a_taint = a_data.get('taint', None)
b_taint = b_data.get('taint', None)
@@ -1017,6 +1066,8 @@ def calc_taskhash(sigdata):
for c in sigdata['file_checksum_values']:
if c[1]:
if "./" in c[0]:
data = data + c[0]
data = data + c[1]
if 'taint' in sigdata:
@@ -1031,32 +1082,33 @@ def calc_taskhash(sigdata):
def dump_sigfile(a):
output = []
with open(a, 'rb') as f:
p1 = pickle.Unpickler(f)
a_data = p1.load()
with bb.compress.zstd.open(a, "rt", encoding="utf-8", num_threads=1) as f:
a_data = json.load(f, object_hook=SetDecoder)
output.append("basewhitelist: %s" % (a_data['basewhitelist']))
handle_renames(a_data)
output.append("taskwhitelist: %s" % (a_data['taskwhitelist']))
output.append("basehash_ignore_vars: %s" % (sorted(a_data['basehash_ignore_vars'])))
output.append("taskhash_ignore_tasks: %s" % (sorted(a_data['taskhash_ignore_tasks'] or [])))
output.append("Task dependencies: %s" % (sorted(a_data['taskdeps'])))
output.append("basehash: %s" % (a_data['basehash']))
for dep in a_data['gendeps']:
output.append("List of dependencies for variable %s is %s" % (dep, a_data['gendeps'][dep]))
for dep in sorted(a_data['gendeps']):
output.append("List of dependencies for variable %s is %s" % (dep, sorted(a_data['gendeps'][dep])))
for dep in a_data['varvals']:
for dep in sorted(a_data['varvals']):
output.append("Variable %s value is %s" % (dep, a_data['varvals'][dep]))
if 'runtaskdeps' in a_data:
output.append("Tasks this task depends on: %s" % (a_data['runtaskdeps']))
output.append("Tasks this task depends on: %s" % (sorted(a_data['runtaskdeps'])))
if 'file_checksum_values' in a_data:
output.append("This task depends on the checksums of files: %s" % (a_data['file_checksum_values']))
output.append("This task depends on the checksums of files: %s" % (sorted(a_data['file_checksum_values'])))
if 'runtaskhashes' in a_data:
for dep in a_data['runtaskhashes']:
for dep in sorted(a_data['runtaskhashes']):
output.append("Hash for dependent task %s is %s" % (dep, a_data['runtaskhashes'][dep]))
if 'taint' in a_data:

View File

@@ -39,7 +39,7 @@ class TaskData:
"""
BitBake Task Data implementation
"""
def __init__(self, abort = True, skiplist = None, allowincomplete = False):
def __init__(self, halt = True, skiplist = None, allowincomplete = False):
self.build_targets = {}
self.run_targets = {}
@@ -57,7 +57,7 @@ class TaskData:
self.failed_rdeps = []
self.failed_fns = []
self.abort = abort
self.halt = halt
self.allowincomplete = allowincomplete
self.skiplist = skiplist
@@ -328,7 +328,7 @@ class TaskData:
try:
self.add_provider_internal(cfgData, dataCache, item)
except bb.providers.NoProvider:
if self.abort:
if self.halt:
raise
self.remove_buildtarget(item)
@@ -451,12 +451,12 @@ class TaskData:
for target in self.build_targets:
if fn in self.build_targets[target]:
self.build_targets[target].remove(fn)
if len(self.build_targets[target]) == 0:
if not self.build_targets[target]:
self.remove_buildtarget(target, missing_list)
for target in self.run_targets:
if fn in self.run_targets[target]:
self.run_targets[target].remove(fn)
if len(self.run_targets[target]) == 0:
if not self.run_targets[target]:
self.remove_runtarget(target, missing_list)
def remove_buildtarget(self, target, missing_list=None):
@@ -479,7 +479,7 @@ class TaskData:
fn = tid.rsplit(":",1)[0]
self.fail_fn(fn, missing_list)
if self.abort and target in self.external_targets:
if self.halt and target in self.external_targets:
logger.error("Required build target '%s' has no buildable providers.\nMissing or unbuildable dependency chain was: %s", target, missing_list)
raise bb.providers.NoProvider(target)
@@ -516,7 +516,7 @@ class TaskData:
self.add_provider_internal(cfgData, dataCache, target)
added = added + 1
except bb.providers.NoProvider:
if self.abort and target in self.external_targets and not self.allowincomplete:
if self.halt and target in self.external_targets and not self.allowincomplete:
raise
if not self.allowincomplete:
self.remove_buildtarget(target)

View File

@@ -111,9 +111,9 @@ ${D}${libdir}/pkgconfig/*.pc
self.assertExecs(set(["sed"]))
def test_parameter_expansion_modifiers(self):
# - and + are also valid modifiers for parameter expansion, but are
# -,+ and : are also valid modifiers for parameter expansion, but are
# valid characters in bitbake variable names, so are not included here
for i in ('=', ':-', ':=', '?', ':?', ':+', '#', '%', '##', '%%'):
for i in ('=', '?', '#', '%', '##', '%%'):
name = "foo%sbar" % i
self.parseExpression("${%s}" % name)
self.assertNotIn(name, self.references)
@@ -318,7 +318,7 @@ d.getVar(a(), False)
"filename": "example.bb",
})
deps, values = bb.data.build_dependencies("FOO", set(self.d.keys()), set(), set(), self.d)
deps, values = bb.data.build_dependencies("FOO", set(self.d.keys()), set(), set(), set(), self.d)
self.assertEqual(deps, set(["somevar", "bar", "something", "inexpand", "test", "test2", "a"]))
@@ -365,7 +365,7 @@ esac
self.d.setVarFlags("FOO", {"func": True})
self.setEmptyVars(execs)
deps, values = bb.data.build_dependencies("FOO", set(self.d.keys()), set(), set(), self.d)
deps, values = bb.data.build_dependencies("FOO", set(self.d.keys()), set(), set(), set(), self.d)
self.assertEqual(deps, set(["somevar", "inverted"] + execs))
@@ -375,7 +375,7 @@ esac
self.d.setVar("FOO", "foo=oe_libinstall; eval $foo")
self.d.setVarFlag("FOO", "vardeps", "oe_libinstall")
deps, values = bb.data.build_dependencies("FOO", set(self.d.keys()), set(), set(), self.d)
deps, values = bb.data.build_dependencies("FOO", set(self.d.keys()), set(), set(), set(), self.d)
self.assertEqual(deps, set(["oe_libinstall"]))
@@ -384,7 +384,7 @@ esac
self.d.setVar("FOO", "foo=oe_libinstall; eval $foo")
self.d.setVarFlag("FOO", "vardeps", "${@'oe_libinstall'}")
deps, values = bb.data.build_dependencies("FOO", set(self.d.keys()), set(), set(), self.d)
deps, values = bb.data.build_dependencies("FOO", set(self.d.keys()), set(), set(), set(), self.d)
self.assertEqual(deps, set(["oe_libinstall"]))
@@ -399,7 +399,7 @@ esac
# Check dependencies
self.d.setVar('ANOTHERVAR', expr)
self.d.setVar('TESTVAR', 'anothervalue testval testval2')
deps, values = bb.data.build_dependencies("ANOTHERVAR", set(self.d.keys()), set(), set(), self.d)
deps, values = bb.data.build_dependencies("ANOTHERVAR", set(self.d.keys()), set(), set(), set(), self.d)
self.assertEqual(sorted(values.splitlines()),
sorted([expr,
'TESTVAR{anothervalue} = Set',
@@ -412,6 +412,50 @@ esac
# Check final value
self.assertEqual(self.d.getVar('ANOTHERVAR').split(), ['anothervalue', 'yetanothervalue', 'lastone'])
def test_contains_vardeps_excluded(self):
# Check the ignored_vars option to build_dependencies is handled by contains functionality
varval = '${TESTVAR2} ${@bb.utils.filter("TESTVAR", "somevalue anothervalue", d)}'
self.d.setVar('ANOTHERVAR', varval)
self.d.setVar('TESTVAR', 'anothervalue testval testval2')
self.d.setVar('TESTVAR2', 'testval3')
deps, values = bb.data.build_dependencies("ANOTHERVAR", set(self.d.keys()), set(), set(), set(["TESTVAR"]), self.d)
self.assertEqual(sorted(values.splitlines()), sorted([varval]))
self.assertEqual(deps, set(["TESTVAR2"]))
self.assertEqual(self.d.getVar('ANOTHERVAR').split(), ['testval3', 'anothervalue'])
# Check the vardepsexclude flag is handled by contains functionality
self.d.setVarFlag('ANOTHERVAR', 'vardepsexclude', 'TESTVAR')
deps, values = bb.data.build_dependencies("ANOTHERVAR", set(self.d.keys()), set(), set(), set(), self.d)
self.assertEqual(sorted(values.splitlines()), sorted([varval]))
self.assertEqual(deps, set(["TESTVAR2"]))
self.assertEqual(self.d.getVar('ANOTHERVAR').split(), ['testval3', 'anothervalue'])
def test_contains_vardeps_override_operators(self):
# Check override operators handle dependencies correctly with the contains functionality
expr_plain = 'testval'
expr_prepend = '${@bb.utils.filter("TESTVAR1", "testval1", d)} '
expr_append = ' ${@bb.utils.filter("TESTVAR2", "testval2", d)}'
expr_remove = '${@bb.utils.contains("TESTVAR3", "no-testval", "testval", "", d)}'
# Check dependencies
self.d.setVar('ANOTHERVAR', expr_plain)
self.d.prependVar('ANOTHERVAR', expr_prepend)
self.d.appendVar('ANOTHERVAR', expr_append)
self.d.setVar('ANOTHERVAR:remove', expr_remove)
self.d.setVar('TESTVAR1', 'blah')
self.d.setVar('TESTVAR2', 'testval2')
self.d.setVar('TESTVAR3', 'no-testval')
deps, values = bb.data.build_dependencies("ANOTHERVAR", set(self.d.keys()), set(), set(), set(), self.d)
self.assertEqual(sorted(values.splitlines()),
sorted([
expr_prepend + expr_plain + expr_append,
'_remove of ' + expr_remove,
'TESTVAR1{testval1} = Unset',
'TESTVAR2{testval2} = Set',
'TESTVAR3{no-testval} = Set',
]))
# Check final value
self.assertEqual(self.d.getVar('ANOTHERVAR').split(), ['testval2'])
#Currently no wildcard support
#def test_vardeps_wildcards(self):
# self.d.setVar("oe_libinstall", "echo test")

View File

@@ -0,0 +1,100 @@
#
# Copyright BitBake Contributors
#
# SPDX-License-Identifier: GPL-2.0-only
#
from pathlib import Path
import bb.compress.lz4
import bb.compress.zstd
import contextlib
import os
import shutil
import tempfile
import unittest
import subprocess
class CompressionTests(object):
def setUp(self):
self._t = tempfile.TemporaryDirectory()
self.tmpdir = Path(self._t.name)
self.addCleanup(self._t.cleanup)
def _file_helper(self, mode_suffix, data):
tmp_file = self.tmpdir / "compressed"
with self.do_open(tmp_file, mode="w" + mode_suffix) as f:
f.write(data)
with self.do_open(tmp_file, mode="r" + mode_suffix) as f:
read_data = f.read()
self.assertEqual(read_data, data)
def test_text_file(self):
self._file_helper("t", "Hello")
def test_binary_file(self):
self._file_helper("b", "Hello".encode("utf-8"))
def _pipe_helper(self, mode_suffix, data):
rfd, wfd = os.pipe()
with open(rfd, "rb") as r, open(wfd, "wb") as w:
with self.do_open(r, mode="r" + mode_suffix) as decompress:
with self.do_open(w, mode="w" + mode_suffix) as compress:
compress.write(data)
read_data = decompress.read()
self.assertEqual(read_data, data)
def test_text_pipe(self):
self._pipe_helper("t", "Hello")
def test_binary_pipe(self):
self._pipe_helper("b", "Hello".encode("utf-8"))
def test_bad_decompress(self):
tmp_file = self.tmpdir / "compressed"
with tmp_file.open("wb") as f:
f.write(b"\x00")
with self.assertRaises(OSError):
with self.do_open(tmp_file, mode="rb", stderr=subprocess.DEVNULL) as f:
data = f.read()
class LZ4Tests(CompressionTests, unittest.TestCase):
def setUp(self):
if shutil.which("lz4c") is None:
self.skipTest("'lz4c' not found")
super().setUp()
@contextlib.contextmanager
def do_open(self, *args, **kwargs):
with bb.compress.lz4.open(*args, **kwargs) as f:
yield f
class ZStdTests(CompressionTests, unittest.TestCase):
def setUp(self):
if shutil.which("zstd") is None:
self.skipTest("'zstd' not found")
super().setUp()
@contextlib.contextmanager
def do_open(self, *args, **kwargs):
with bb.compress.zstd.open(*args, **kwargs) as f:
yield f
class PZStdTests(CompressionTests, unittest.TestCase):
def setUp(self):
if shutil.which("pzstd") is None:
self.skipTest("'pzstd' not found")
super().setUp()
@contextlib.contextmanager
def do_open(self, *args, **kwargs):
with bb.compress.zstd.open(*args, num_threads=2, **kwargs) as f:
yield f

View File

@@ -1,6 +1,8 @@
#
# BitBake Tests for cooker.py
#
# Copyright BitBake Contributors
#
# SPDX-License-Identifier: GPL-2.0-only
#

View File

@@ -245,35 +245,35 @@ class TestConcatOverride(unittest.TestCase):
def test_prepend(self):
self.d.setVar("TEST", "${VAL}")
self.d.setVar("TEST_prepend", "${FOO}:")
self.d.setVar("TEST:prepend", "${FOO}:")
self.assertEqual(self.d.getVar("TEST"), "foo:val")
def test_append(self):
self.d.setVar("TEST", "${VAL}")
self.d.setVar("TEST_append", ":${BAR}")
self.d.setVar("TEST:append", ":${BAR}")
self.assertEqual(self.d.getVar("TEST"), "val:bar")
def test_multiple_append(self):
self.d.setVar("TEST", "${VAL}")
self.d.setVar("TEST_prepend", "${FOO}:")
self.d.setVar("TEST_append", ":val2")
self.d.setVar("TEST_append", ":${BAR}")
self.d.setVar("TEST:prepend", "${FOO}:")
self.d.setVar("TEST:append", ":val2")
self.d.setVar("TEST:append", ":${BAR}")
self.assertEqual(self.d.getVar("TEST"), "foo:val:val2:bar")
def test_append_unset(self):
self.d.setVar("TEST_prepend", "${FOO}:")
self.d.setVar("TEST_append", ":val2")
self.d.setVar("TEST_append", ":${BAR}")
self.d.setVar("TEST:prepend", "${FOO}:")
self.d.setVar("TEST:append", ":val2")
self.d.setVar("TEST:append", ":${BAR}")
self.assertEqual(self.d.getVar("TEST"), "foo::val2:bar")
def test_remove(self):
self.d.setVar("TEST", "${VAL} ${BAR}")
self.d.setVar("TEST_remove", "val")
self.d.setVar("TEST:remove", "val")
self.assertEqual(self.d.getVar("TEST"), " bar")
def test_remove_cleared(self):
self.d.setVar("TEST", "${VAL} ${BAR}")
self.d.setVar("TEST_remove", "val")
self.d.setVar("TEST:remove", "val")
self.d.setVar("TEST", "${VAL} ${BAR}")
self.assertEqual(self.d.getVar("TEST"), "val bar")
@@ -281,42 +281,42 @@ class TestConcatOverride(unittest.TestCase):
# (including that whitespace is preserved)
def test_remove_inactive_override(self):
self.d.setVar("TEST", "${VAL} ${BAR} 123")
self.d.setVar("TEST_remove_inactiveoverride", "val")
self.d.setVar("TEST:remove:inactiveoverride", "val")
self.assertEqual(self.d.getVar("TEST"), "val bar 123")
def test_doubleref_remove(self):
self.d.setVar("TEST", "${VAL} ${BAR}")
self.d.setVar("TEST_remove", "val")
self.d.setVar("TEST:remove", "val")
self.d.setVar("TEST_TEST", "${TEST} ${TEST}")
self.assertEqual(self.d.getVar("TEST_TEST"), " bar bar")
def test_empty_remove(self):
self.d.setVar("TEST", "")
self.d.setVar("TEST_remove", "val")
self.d.setVar("TEST:remove", "val")
self.assertEqual(self.d.getVar("TEST"), "")
def test_remove_expansion(self):
self.d.setVar("BAR", "Z")
self.d.setVar("TEST", "${BAR}/X Y")
self.d.setVar("TEST_remove", "${BAR}/X")
self.d.setVar("TEST:remove", "${BAR}/X")
self.assertEqual(self.d.getVar("TEST"), " Y")
def test_remove_expansion_items(self):
self.d.setVar("TEST", "A B C D")
self.d.setVar("BAR", "B D")
self.d.setVar("TEST_remove", "${BAR}")
self.d.setVar("TEST:remove", "${BAR}")
self.assertEqual(self.d.getVar("TEST"), "A C ")
def test_remove_preserve_whitespace(self):
# When the removal isn't active, the original value should be preserved
self.d.setVar("TEST", " A B")
self.d.setVar("TEST_remove", "C")
self.d.setVar("TEST:remove", "C")
self.assertEqual(self.d.getVar("TEST"), " A B")
def test_remove_preserve_whitespace2(self):
# When the removal is active preserve the whitespace
self.d.setVar("TEST", " A B")
self.d.setVar("TEST_remove", "B")
self.d.setVar("TEST:remove", "B")
self.assertEqual(self.d.getVar("TEST"), " A ")
class TestOverrides(unittest.TestCase):
@@ -329,70 +329,70 @@ class TestOverrides(unittest.TestCase):
self.assertEqual(self.d.getVar("TEST"), "testvalue")
def test_one_override(self):
self.d.setVar("TEST_bar", "testvalue2")
self.d.setVar("TEST:bar", "testvalue2")
self.assertEqual(self.d.getVar("TEST"), "testvalue2")
def test_one_override_unset(self):
self.d.setVar("TEST2_bar", "testvalue2")
self.d.setVar("TEST2:bar", "testvalue2")
self.assertEqual(self.d.getVar("TEST2"), "testvalue2")
self.assertCountEqual(list(self.d.keys()), ['TEST', 'TEST2', 'OVERRIDES', 'TEST2_bar'])
self.assertCountEqual(list(self.d.keys()), ['TEST', 'TEST2', 'OVERRIDES', 'TEST2:bar'])
def test_multiple_override(self):
self.d.setVar("TEST_bar", "testvalue2")
self.d.setVar("TEST_local", "testvalue3")
self.d.setVar("TEST_foo", "testvalue4")
self.d.setVar("TEST:bar", "testvalue2")
self.d.setVar("TEST:local", "testvalue3")
self.d.setVar("TEST:foo", "testvalue4")
self.assertEqual(self.d.getVar("TEST"), "testvalue3")
self.assertCountEqual(list(self.d.keys()), ['TEST', 'TEST_foo', 'OVERRIDES', 'TEST_bar', 'TEST_local'])
self.assertCountEqual(list(self.d.keys()), ['TEST', 'TEST:foo', 'OVERRIDES', 'TEST:bar', 'TEST:local'])
def test_multiple_combined_overrides(self):
self.d.setVar("TEST_local_foo_bar", "testvalue3")
self.d.setVar("TEST:local:foo:bar", "testvalue3")
self.assertEqual(self.d.getVar("TEST"), "testvalue3")
def test_multiple_overrides_unset(self):
self.d.setVar("TEST2_local_foo_bar", "testvalue3")
self.d.setVar("TEST2:local:foo:bar", "testvalue3")
self.assertEqual(self.d.getVar("TEST2"), "testvalue3")
def test_keyexpansion_override(self):
self.d.setVar("LOCAL", "local")
self.d.setVar("TEST_bar", "testvalue2")
self.d.setVar("TEST_${LOCAL}", "testvalue3")
self.d.setVar("TEST_foo", "testvalue4")
self.d.setVar("TEST:bar", "testvalue2")
self.d.setVar("TEST:${LOCAL}", "testvalue3")
self.d.setVar("TEST:foo", "testvalue4")
bb.data.expandKeys(self.d)
self.assertEqual(self.d.getVar("TEST"), "testvalue3")
def test_rename_override(self):
self.d.setVar("ALTERNATIVE_ncurses-tools_class-target", "a")
self.d.setVar("ALTERNATIVE:ncurses-tools:class-target", "a")
self.d.setVar("OVERRIDES", "class-target")
self.d.renameVar("ALTERNATIVE_ncurses-tools", "ALTERNATIVE_lib32-ncurses-tools")
self.assertEqual(self.d.getVar("ALTERNATIVE_lib32-ncurses-tools"), "a")
self.d.renameVar("ALTERNATIVE:ncurses-tools", "ALTERNATIVE:lib32-ncurses-tools")
self.assertEqual(self.d.getVar("ALTERNATIVE:lib32-ncurses-tools"), "a")
def test_underscore_override(self):
self.d.setVar("TEST_bar", "testvalue2")
self.d.setVar("TEST_some_val", "testvalue3")
self.d.setVar("TEST_foo", "testvalue4")
self.d.setVar("TEST:bar", "testvalue2")
self.d.setVar("TEST:some_val", "testvalue3")
self.d.setVar("TEST:foo", "testvalue4")
self.d.setVar("OVERRIDES", "foo:bar:some_val")
self.assertEqual(self.d.getVar("TEST"), "testvalue3")
def test_remove_with_override(self):
self.d.setVar("TEST_bar", "testvalue2")
self.d.setVar("TEST_some_val", "testvalue3 testvalue5")
self.d.setVar("TEST_some_val_remove", "testvalue3")
self.d.setVar("TEST_foo", "testvalue4")
self.d.setVar("TEST:bar", "testvalue2")
self.d.setVar("TEST:some_val", "testvalue3 testvalue5")
self.d.setVar("TEST:some_val:remove", "testvalue3")
self.d.setVar("TEST:foo", "testvalue4")
self.d.setVar("OVERRIDES", "foo:bar:some_val")
self.assertEqual(self.d.getVar("TEST"), " testvalue5")
def test_append_and_override_1(self):
self.d.setVar("TEST_append", "testvalue2")
self.d.setVar("TEST_bar", "testvalue3")
self.d.setVar("TEST:append", "testvalue2")
self.d.setVar("TEST:bar", "testvalue3")
self.assertEqual(self.d.getVar("TEST"), "testvalue3testvalue2")
def test_append_and_override_2(self):
self.d.setVar("TEST_append_bar", "testvalue2")
self.d.setVar("TEST:append:bar", "testvalue2")
self.assertEqual(self.d.getVar("TEST"), "testvaluetestvalue2")
def test_append_and_override_3(self):
self.d.setVar("TEST_bar_append", "testvalue2")
self.d.setVar("TEST:bar:append", "testvalue2")
self.assertEqual(self.d.getVar("TEST"), "testvalue2")
# Test an override with _<numeric> in it based on a real world OE issue
@@ -400,11 +400,16 @@ class TestOverrides(unittest.TestCase):
self.d.setVar("TARGET_ARCH", "x86_64")
self.d.setVar("PN", "test-${TARGET_ARCH}")
self.d.setVar("VERSION", "1")
self.d.setVar("VERSION_pn-test-${TARGET_ARCH}", "2")
self.d.setVar("VERSION:pn-test-${TARGET_ARCH}", "2")
self.d.setVar("OVERRIDES", "pn-${PN}")
bb.data.expandKeys(self.d)
self.assertEqual(self.d.getVar("VERSION"), "2")
def test_append_and_unused_override(self):
# Had a bug where an unused override append could return "" instead of None
self.d.setVar("BAR:append:unusedoverride", "testvalue2")
self.assertEqual(self.d.getVar("BAR"), None)
class TestKeyExpansion(unittest.TestCase):
def setUp(self):
self.d = bb.data.init()
@@ -498,7 +503,7 @@ class TaskHash(unittest.TestCase):
d.setVar("VAR", "val")
# Adding an inactive removal shouldn't change the hash
d.setVar("BAR", "notbar")
d.setVar("MYCOMMAND_remove", "${BAR}")
d.setVar("MYCOMMAND:remove", "${BAR}")
nexthash = gettask_bashhash("mytask", d)
self.assertEqual(orighash, nexthash)

View File

@@ -0,0 +1,59 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<html>
<head>
<title>Index of /debian/pool/main/m/minicom</title>
</head>
<body>
<h1>Index of /debian/pool/main/m/minicom</h1>
<table>
<tr><th valign="top"><img src="/icons/blank.gif" alt="[ICO]"></th><th><a href="?C=N;O=D">Name</a></th><th><a href="?C=M;O=A">Last modified</a></th><th><a href="?C=S;O=A">Size</a></th></tr>
<tr><th colspan="4"><hr></th></tr>
<tr><td valign="top"><img src="/icons/back.gif" alt="[PARENTDIR]"></td><td><a href="/debian/pool/main/m/">Parent Directory</a></td><td>&nbsp;</td><td align="right"> - </td></tr>
<tr><td valign="top"><img src="/icons/unknown.gif" alt="[ ]"></td><td><a href="minicom_2.7-1+deb8u1.debian.tar.xz">minicom_2.7-1+deb8u1.debian.tar.xz</a></td><td align="right">2017-04-24 08:22 </td><td align="right"> 14K</td></tr>
<tr><td valign="top"><img src="/icons/unknown.gif" alt="[ ]"></td><td><a href="minicom_2.7-1+deb8u1.dsc">minicom_2.7-1+deb8u1.dsc</a></td><td align="right">2017-04-24 08:22 </td><td align="right">1.9K</td></tr>
<tr><td valign="top"><img src="/icons/unknown.gif" alt="[ ]"></td><td><a href="minicom_2.7-1+deb8u1_amd64.deb">minicom_2.7-1+deb8u1_amd64.deb</a></td><td align="right">2017-04-25 21:10 </td><td align="right">257K</td></tr>
<tr><td valign="top"><img src="/icons/unknown.gif" alt="[ ]"></td><td><a href="minicom_2.7-1+deb8u1_armel.deb">minicom_2.7-1+deb8u1_armel.deb</a></td><td align="right">2017-04-26 00:58 </td><td align="right">246K</td></tr>
<tr><td valign="top"><img src="/icons/unknown.gif" alt="[ ]"></td><td><a href="minicom_2.7-1+deb8u1_armhf.deb">minicom_2.7-1+deb8u1_armhf.deb</a></td><td align="right">2017-04-26 00:58 </td><td align="right">245K</td></tr>
<tr><td valign="top"><img src="/icons/unknown.gif" alt="[ ]"></td><td><a href="minicom_2.7-1+deb8u1_i386.deb">minicom_2.7-1+deb8u1_i386.deb</a></td><td align="right">2017-04-25 21:41 </td><td align="right">258K</td></tr>
<tr><td valign="top"><img src="/icons/unknown.gif" alt="[ ]"></td><td><a href="minicom_2.7-1.1.debian.tar.xz">minicom_2.7-1.1.debian.tar.xz</a></td><td align="right">2017-04-22 09:34 </td><td align="right"> 14K</td></tr>
<tr><td valign="top"><img src="/icons/unknown.gif" alt="[ ]"></td><td><a href="minicom_2.7-1.1.dsc">minicom_2.7-1.1.dsc</a></td><td align="right">2017-04-22 09:34 </td><td align="right">1.9K</td></tr>
<tr><td valign="top"><img src="/icons/unknown.gif" alt="[ ]"></td><td><a href="minicom_2.7-1.1_amd64.deb">minicom_2.7-1.1_amd64.deb</a></td><td align="right">2017-04-22 15:29 </td><td align="right">261K</td></tr>
<tr><td valign="top"><img src="/icons/unknown.gif" alt="[ ]"></td><td><a href="minicom_2.7-1.1_arm64.deb">minicom_2.7-1.1_arm64.deb</a></td><td align="right">2017-04-22 15:29 </td><td align="right">250K</td></tr>
<tr><td valign="top"><img src="/icons/unknown.gif" alt="[ ]"></td><td><a href="minicom_2.7-1.1_armel.deb">minicom_2.7-1.1_armel.deb</a></td><td align="right">2017-04-22 15:29 </td><td align="right">255K</td></tr>
<tr><td valign="top"><img src="/icons/unknown.gif" alt="[ ]"></td><td><a href="minicom_2.7-1.1_armhf.deb">minicom_2.7-1.1_armhf.deb</a></td><td align="right">2017-04-22 15:29 </td><td align="right">254K</td></tr>
<tr><td valign="top"><img src="/icons/unknown.gif" alt="[ ]"></td><td><a href="minicom_2.7-1.1_i386.deb">minicom_2.7-1.1_i386.deb</a></td><td align="right">2017-04-22 15:29 </td><td align="right">266K</td></tr>
<tr><td valign="top"><img src="/icons/unknown.gif" alt="[ ]"></td><td><a href="minicom_2.7-1.1_mips.deb">minicom_2.7-1.1_mips.deb</a></td><td align="right">2017-04-22 15:29 </td><td align="right">258K</td></tr>
<tr><td valign="top"><img src="/icons/unknown.gif" alt="[ ]"></td><td><a href="minicom_2.7-1.1_mips64el.deb">minicom_2.7-1.1_mips64el.deb</a></td><td align="right">2017-04-22 15:29 </td><td align="right">259K</td></tr>
<tr><td valign="top"><img src="/icons/unknown.gif" alt="[ ]"></td><td><a href="minicom_2.7-1.1_mipsel.deb">minicom_2.7-1.1_mipsel.deb</a></td><td align="right">2017-04-22 15:29 </td><td align="right">259K</td></tr>
<tr><td valign="top"><img src="/icons/unknown.gif" alt="[ ]"></td><td><a href="minicom_2.7-1.1_ppc64el.deb">minicom_2.7-1.1_ppc64el.deb</a></td><td align="right">2017-04-22 15:29 </td><td align="right">253K</td></tr>
<tr><td valign="top"><img src="/icons/unknown.gif" alt="[ ]"></td><td><a href="minicom_2.7-1.1_s390x.deb">minicom_2.7-1.1_s390x.deb</a></td><td align="right">2017-04-22 15:29 </td><td align="right">261K</td></tr>
<tr><td valign="top"><img src="/icons/unknown.gif" alt="[ ]"></td><td><a href="minicom_2.7.1-1+b1_amd64.deb">minicom_2.7.1-1+b1_amd64.deb</a></td><td align="right">2018-05-06 08:14 </td><td align="right">262K</td></tr>
<tr><td valign="top"><img src="/icons/unknown.gif" alt="[ ]"></td><td><a href="minicom_2.7.1-1+b1_arm64.deb">minicom_2.7.1-1+b1_arm64.deb</a></td><td align="right">2018-05-06 07:58 </td><td align="right">250K</td></tr>
<tr><td valign="top"><img src="/icons/unknown.gif" alt="[ ]"></td><td><a href="minicom_2.7.1-1+b1_armel.deb">minicom_2.7.1-1+b1_armel.deb</a></td><td align="right">2018-05-06 08:45 </td><td align="right">253K</td></tr>
<tr><td valign="top"><img src="/icons/unknown.gif" alt="[ ]"></td><td><a href="minicom_2.7.1-1+b1_armhf.deb">minicom_2.7.1-1+b1_armhf.deb</a></td><td align="right">2018-05-06 10:42 </td><td align="right">253K</td></tr>
<tr><td valign="top"><img src="/icons/unknown.gif" alt="[ ]"></td><td><a href="minicom_2.7.1-1+b1_i386.deb">minicom_2.7.1-1+b1_i386.deb</a></td><td align="right">2018-05-06 08:55 </td><td align="right">266K</td></tr>
<tr><td valign="top"><img src="/icons/unknown.gif" alt="[ ]"></td><td><a href="minicom_2.7.1-1+b1_mips.deb">minicom_2.7.1-1+b1_mips.deb</a></td><td align="right">2018-05-06 08:14 </td><td align="right">258K</td></tr>
<tr><td valign="top"><img src="/icons/unknown.gif" alt="[ ]"></td><td><a href="minicom_2.7.1-1+b1_mipsel.deb">minicom_2.7.1-1+b1_mipsel.deb</a></td><td align="right">2018-05-06 12:13 </td><td align="right">259K</td></tr>
<tr><td valign="top"><img src="/icons/unknown.gif" alt="[ ]"></td><td><a href="minicom_2.7.1-1+b1_ppc64el.deb">minicom_2.7.1-1+b1_ppc64el.deb</a></td><td align="right">2018-05-06 09:10 </td><td align="right">260K</td></tr>
<tr><td valign="top"><img src="/icons/unknown.gif" alt="[ ]"></td><td><a href="minicom_2.7.1-1+b1_s390x.deb">minicom_2.7.1-1+b1_s390x.deb</a></td><td align="right">2018-05-06 08:14 </td><td align="right">257K</td></tr>
<tr><td valign="top"><img src="/icons/unknown.gif" alt="[ ]"></td><td><a href="minicom_2.7.1-1+b2_mips64el.deb">minicom_2.7.1-1+b2_mips64el.deb</a></td><td align="right">2018-05-06 09:41 </td><td align="right">260K</td></tr>
<tr><td valign="top"><img src="/icons/unknown.gif" alt="[ ]"></td><td><a href="minicom_2.7.1-1.debian.tar.xz">minicom_2.7.1-1.debian.tar.xz</a></td><td align="right">2017-08-13 15:40 </td><td align="right"> 14K</td></tr>
<tr><td valign="top"><img src="/icons/unknown.gif" alt="[ ]"></td><td><a href="minicom_2.7.1-1.dsc">minicom_2.7.1-1.dsc</a></td><td align="right">2017-08-13 15:40 </td><td align="right">1.8K</td></tr>
<tr><td valign="top"><img src="/icons/compressed.gif" alt="[ ]"></td><td><a href="minicom_2.7.1.orig.tar.gz">minicom_2.7.1.orig.tar.gz</a></td><td align="right">2017-08-13 15:40 </td><td align="right">855K</td></tr>
<tr><td valign="top"><img src="/icons/compressed.gif" alt="[ ]"></td><td><a href="minicom_2.7.orig.tar.gz">minicom_2.7.orig.tar.gz</a></td><td align="right">2014-01-01 09:36 </td><td align="right">843K</td></tr>
<tr><td valign="top"><img src="/icons/unknown.gif" alt="[ ]"></td><td><a href="minicom_2.8-2.debian.tar.xz">minicom_2.8-2.debian.tar.xz</a></td><td align="right">2021-06-15 03:47 </td><td align="right"> 14K</td></tr>
<tr><td valign="top"><img src="/icons/unknown.gif" alt="[ ]"></td><td><a href="minicom_2.8-2.dsc">minicom_2.8-2.dsc</a></td><td align="right">2021-06-15 03:47 </td><td align="right">1.8K</td></tr>
<tr><td valign="top"><img src="/icons/unknown.gif" alt="[ ]"></td><td><a href="minicom_2.8-2_amd64.deb">minicom_2.8-2_amd64.deb</a></td><td align="right">2021-06-15 03:58 </td><td align="right">280K</td></tr>
<tr><td valign="top"><img src="/icons/unknown.gif" alt="[ ]"></td><td><a href="minicom_2.8-2_arm64.deb">minicom_2.8-2_arm64.deb</a></td><td align="right">2021-06-15 04:13 </td><td align="right">275K</td></tr>
<tr><td valign="top"><img src="/icons/unknown.gif" alt="[ ]"></td><td><a href="minicom_2.8-2_armel.deb">minicom_2.8-2_armel.deb</a></td><td align="right">2021-06-15 04:13 </td><td align="right">271K</td></tr>
<tr><td valign="top"><img src="/icons/unknown.gif" alt="[ ]"></td><td><a href="minicom_2.8-2_armhf.deb">minicom_2.8-2_armhf.deb</a></td><td align="right">2021-06-15 04:13 </td><td align="right">272K</td></tr>
<tr><td valign="top"><img src="/icons/unknown.gif" alt="[ ]"></td><td><a href="minicom_2.8-2_i386.deb">minicom_2.8-2_i386.deb</a></td><td align="right">2021-06-15 04:13 </td><td align="right">285K</td></tr>
<tr><td valign="top"><img src="/icons/unknown.gif" alt="[ ]"></td><td><a href="minicom_2.8-2_mips64el.deb">minicom_2.8-2_mips64el.deb</a></td><td align="right">2021-06-15 04:13 </td><td align="right">277K</td></tr>
<tr><td valign="top"><img src="/icons/unknown.gif" alt="[ ]"></td><td><a href="minicom_2.8-2_mipsel.deb">minicom_2.8-2_mipsel.deb</a></td><td align="right">2021-06-15 04:13 </td><td align="right">278K</td></tr>
<tr><td valign="top"><img src="/icons/unknown.gif" alt="[ ]"></td><td><a href="minicom_2.8-2_ppc64el.deb">minicom_2.8-2_ppc64el.deb</a></td><td align="right">2021-06-15 04:13 </td><td align="right">286K</td></tr>
<tr><td valign="top"><img src="/icons/unknown.gif" alt="[ ]"></td><td><a href="minicom_2.8-2_s390x.deb">minicom_2.8-2_s390x.deb</a></td><td align="right">2021-06-15 03:58 </td><td align="right">275K</td></tr>
<tr><td valign="top"><img src="/icons/unknown.gif" alt="[ ]"></td><td><a href="minicom_2.8.orig.tar.bz2">minicom_2.8.orig.tar.bz2</a></td><td align="right">2021-01-03 12:44 </td><td align="right">598K</td></tr>
<tr><th colspan="4"><hr></th></tr>
</table>
<address>Apache Server at ftp.debian.org Port 80</address>
</body></html>

File diff suppressed because it is too large Load Diff

View File

@@ -98,8 +98,8 @@ exportD = "d"
overridetest = """
RRECOMMENDS_${PN} = "a"
RRECOMMENDS_${PN}_libc = "b"
RRECOMMENDS:${PN} = "a"
RRECOMMENDS:${PN}:libc = "b"
OVERRIDES = "libc:${PN}"
PN = "gtk+"
"""
@@ -110,16 +110,16 @@ PN = "gtk+"
self.assertEqual(d.getVar("RRECOMMENDS"), "b")
bb.data.expandKeys(d)
self.assertEqual(d.getVar("RRECOMMENDS"), "b")
d.setVar("RRECOMMENDS_gtk+", "c")
d.setVar("RRECOMMENDS:gtk+", "c")
self.assertEqual(d.getVar("RRECOMMENDS"), "c")
overridetest2 = """
EXTRA_OECONF = ""
EXTRA_OECONF_class-target = "b"
EXTRA_OECONF_append = " c"
EXTRA_OECONF:class-target = "b"
EXTRA_OECONF:append = " c"
"""
def test_parse_overrides(self):
def test_parse_overrides2(self):
f = self.parsehelper(self.overridetest2)
d = bb.parse.handle(f.name, self.d)['']
d.appendVar("EXTRA_OECONF", " d")
@@ -128,7 +128,7 @@ EXTRA_OECONF_append = " c"
overridetest3 = """
DESCRIPTION = "A"
DESCRIPTION_${PN}-dev = "${DESCRIPTION} B"
DESCRIPTION:${PN}-dev = "${DESCRIPTION} B"
PN = "bc"
"""
@@ -136,15 +136,15 @@ PN = "bc"
f = self.parsehelper(self.overridetest3)
d = bb.parse.handle(f.name, self.d)['']
bb.data.expandKeys(d)
self.assertEqual(d.getVar("DESCRIPTION_bc-dev"), "A B")
self.assertEqual(d.getVar("DESCRIPTION:bc-dev"), "A B")
d.setVar("DESCRIPTION", "E")
d.setVar("DESCRIPTION_bc-dev", "C D")
d.setVar("DESCRIPTION:bc-dev", "C D")
d.setVar("OVERRIDES", "bc-dev")
self.assertEqual(d.getVar("DESCRIPTION"), "C D")
classextend = """
VAR_var_override1 = "B"
VAR_var:override1 = "B"
EXTRA = ":override1"
OVERRIDES = "nothing${EXTRA}"
@@ -194,3 +194,26 @@ deltask ${EMPTYVAR}
self.assertTrue('addtask ignored: " do_patch"' in stdout)
#self.assertTrue('dependent task do_foo for do_patch does not exist' in stdout)
broken_multiline_comment = """
# First line of comment \\
# Second line of comment \\
"""
def test_parse_broken_multiline_comment(self):
f = self.parsehelper(self.broken_multiline_comment)
with self.assertRaises(bb.BBHandledException):
d = bb.parse.handle(f.name, self.d)['']
comment_in_var = """
VAR = " \\
SOMEVAL \\
# some comment \\
SOMEOTHERVAL \\
"
"""
def test_parse_comment_in_var(self):
f = self.parsehelper(self.comment_in_var)
with self.assertRaises(bb.BBHandledException):
d = bb.parse.handle(f.name, self.d)['']

View File

@@ -12,6 +12,6 @@ STAMP = "${TMPDIR}/stamps/${PN}"
T = "${TMPDIR}/workdir/${PN}/temp"
BB_NUMBER_THREADS = "4"
BB_HASHBASE_WHITELIST = "BB_CURRENT_MC BB_HASHSERVE TMPDIR TOPDIR SLOWTASKS SSTATEVALID FILE"
BB_BASEHASH_IGNORE_VARS = "BB_CURRENT_MC BB_HASHSERVE TMPDIR TOPDIR SLOWTASKS SSTATEVALID FILE BB_CURRENTTASK"
include conf/multiconfig/${BB_CURRENT_MC}.conf

View File

@@ -29,13 +29,14 @@ class RunQueueTests(unittest.TestCase):
def run_bitbakecmd(self, cmd, builddir, sstatevalid="", slowtasks="", extraenv=None, cleanup=False):
env = os.environ.copy()
env["BBPATH"] = os.path.realpath(os.path.join(os.path.dirname(__file__), "runqueue-tests"))
env["BB_ENV_EXTRAWHITE"] = "SSTATEVALID SLOWTASKS"
env["BB_ENV_PASSTHROUGH_ADDITIONS"] = "SSTATEVALID SLOWTASKS TOPDIR"
env["SSTATEVALID"] = sstatevalid
env["SLOWTASKS"] = slowtasks
env["TOPDIR"] = builddir
if extraenv:
for k in extraenv:
env[k] = extraenv[k]
env["BB_ENV_EXTRAWHITE"] = env["BB_ENV_EXTRAWHITE"] + " " + k
env["BB_ENV_PASSTHROUGH_ADDITIONS"] = env["BB_ENV_PASSTHROUGH_ADDITIONS"] + " " + k
try:
output = subprocess.check_output(cmd, env=env, stderr=subprocess.STDOUT,universal_newlines=True, cwd=builddir)
print(output)
@@ -58,6 +59,8 @@ class RunQueueTests(unittest.TestCase):
expected = ['a1:' + x for x in self.alltasks]
self.assertEqual(set(tasks), set(expected))
self.shutdown(tempdir)
def test_single_setscenevalid(self):
with tempfile.TemporaryDirectory(prefix="runqueuetest") as tempdir:
cmd = ["bitbake", "a1"]
@@ -68,6 +71,8 @@ class RunQueueTests(unittest.TestCase):
'a1:populate_sysroot', 'a1:build']
self.assertEqual(set(tasks), set(expected))
self.shutdown(tempdir)
def test_intermediate_setscenevalid(self):
with tempfile.TemporaryDirectory(prefix="runqueuetest") as tempdir:
cmd = ["bitbake", "a1"]
@@ -77,6 +82,8 @@ class RunQueueTests(unittest.TestCase):
'a1:populate_sysroot_setscene', 'a1:build']
self.assertEqual(set(tasks), set(expected))
self.shutdown(tempdir)
def test_intermediate_notcovered(self):
with tempfile.TemporaryDirectory(prefix="runqueuetest") as tempdir:
cmd = ["bitbake", "a1"]
@@ -86,6 +93,8 @@ class RunQueueTests(unittest.TestCase):
'a1:package_qa_setscene', 'a1:build', 'a1:populate_sysroot_setscene']
self.assertEqual(set(tasks), set(expected))
self.shutdown(tempdir)
def test_all_setscenevalid(self):
with tempfile.TemporaryDirectory(prefix="runqueuetest") as tempdir:
cmd = ["bitbake", "a1"]
@@ -95,6 +104,8 @@ class RunQueueTests(unittest.TestCase):
'a1:package_qa_setscene', 'a1:build', 'a1:populate_sysroot_setscene']
self.assertEqual(set(tasks), set(expected))
self.shutdown(tempdir)
def test_no_settasks(self):
with tempfile.TemporaryDirectory(prefix="runqueuetest") as tempdir:
cmd = ["bitbake", "a1", "-c", "patch"]
@@ -103,6 +114,8 @@ class RunQueueTests(unittest.TestCase):
expected = ['a1:fetch', 'a1:unpack', 'a1:patch']
self.assertEqual(set(tasks), set(expected))
self.shutdown(tempdir)
def test_mix_covered_notcovered(self):
with tempfile.TemporaryDirectory(prefix="runqueuetest") as tempdir:
cmd = ["bitbake", "a1:do_patch", "a1:do_populate_sysroot"]
@@ -111,6 +124,7 @@ class RunQueueTests(unittest.TestCase):
expected = ['a1:fetch', 'a1:unpack', 'a1:patch', 'a1:populate_sysroot_setscene']
self.assertEqual(set(tasks), set(expected))
self.shutdown(tempdir)
# Test targets with intermediate setscene tasks alongside a target with no intermediate setscene tasks
def test_mixed_direct_tasks_setscene_tasks(self):
@@ -122,6 +136,8 @@ class RunQueueTests(unittest.TestCase):
'a1:package_qa_setscene', 'a1:build', 'a1:populate_sysroot_setscene']
self.assertEqual(set(tasks), set(expected))
self.shutdown(tempdir)
# This test slows down the execution of do_package_setscene until after other real tasks have
# started running which tests for a bug where tasks were being lost from the buildable list of real
# tasks if they weren't in tasks_covered or tasks_notcovered
@@ -136,12 +152,14 @@ class RunQueueTests(unittest.TestCase):
'a1:populate_sysroot', 'a1:build']
self.assertEqual(set(tasks), set(expected))
def test_setscenewhitelist(self):
self.shutdown(tempdir)
def test_setscene_ignore_tasks(self):
with tempfile.TemporaryDirectory(prefix="runqueuetest") as tempdir:
cmd = ["bitbake", "a1"]
extraenv = {
"BB_SETSCENE_ENFORCE" : "1",
"BB_SETSCENE_ENFORCE_WHITELIST" : "a1:do_package_write_rpm a1:do_build"
"BB_SETSCENE_ENFORCE_IGNORE_TASKS" : "a1:do_package_write_rpm a1:do_build"
}
sstatevalid = "a1:do_package a1:do_package_qa a1:do_packagedata a1:do_package_write_ipk a1:do_populate_lic a1:do_populate_sysroot"
tasks = self.run_bitbakecmd(cmd, tempdir, sstatevalid, extraenv=extraenv)
@@ -149,6 +167,8 @@ class RunQueueTests(unittest.TestCase):
'a1:populate_sysroot_setscene', 'a1:package_setscene']
self.assertEqual(set(tasks), set(expected))
self.shutdown(tempdir)
# Tests for problems with dependencies between setscene tasks
def test_no_setscenevalid_harddeps(self):
with tempfile.TemporaryDirectory(prefix="runqueuetest") as tempdir:
@@ -162,6 +182,8 @@ class RunQueueTests(unittest.TestCase):
'd1:populate_sysroot', 'd1:build']
self.assertEqual(set(tasks), set(expected))
self.shutdown(tempdir)
def test_no_setscenevalid_withdeps(self):
with tempfile.TemporaryDirectory(prefix="runqueuetest") as tempdir:
cmd = ["bitbake", "b1"]
@@ -172,6 +194,8 @@ class RunQueueTests(unittest.TestCase):
expected.remove('a1:package_qa')
self.assertEqual(set(tasks), set(expected))
self.shutdown(tempdir)
def test_single_a1_setscenevalid_withdeps(self):
with tempfile.TemporaryDirectory(prefix="runqueuetest") as tempdir:
cmd = ["bitbake", "b1"]
@@ -182,6 +206,8 @@ class RunQueueTests(unittest.TestCase):
'a1:populate_sysroot'] + ['b1:' + x for x in self.alltasks]
self.assertEqual(set(tasks), set(expected))
self.shutdown(tempdir)
def test_single_b1_setscenevalid_withdeps(self):
with tempfile.TemporaryDirectory(prefix="runqueuetest") as tempdir:
cmd = ["bitbake", "b1"]
@@ -193,6 +219,8 @@ class RunQueueTests(unittest.TestCase):
expected.remove('b1:package')
self.assertEqual(set(tasks), set(expected))
self.shutdown(tempdir)
def test_intermediate_setscenevalid_withdeps(self):
with tempfile.TemporaryDirectory(prefix="runqueuetest") as tempdir:
cmd = ["bitbake", "b1"]
@@ -203,6 +231,8 @@ class RunQueueTests(unittest.TestCase):
expected.remove('b1:package')
self.assertEqual(set(tasks), set(expected))
self.shutdown(tempdir)
def test_all_setscenevalid_withdeps(self):
with tempfile.TemporaryDirectory(prefix="runqueuetest") as tempdir:
cmd = ["bitbake", "b1"]
@@ -213,6 +243,8 @@ class RunQueueTests(unittest.TestCase):
'b1:packagedata_setscene', 'b1:package_qa_setscene', 'b1:populate_sysroot_setscene']
self.assertEqual(set(tasks), set(expected))
self.shutdown(tempdir)
def test_multiconfig_setscene_optimise(self):
with tempfile.TemporaryDirectory(prefix="runqueuetest") as tempdir:
extraenv = {
@@ -232,6 +264,8 @@ class RunQueueTests(unittest.TestCase):
expected.remove(x)
self.assertEqual(set(tasks), set(expected))
self.shutdown(tempdir)
def test_multiconfig_bbmask(self):
# This test validates that multiconfigs can independently mask off
# recipes they do not want with BBMASK. It works by having recipes
@@ -248,6 +282,8 @@ class RunQueueTests(unittest.TestCase):
cmd = ["bitbake", "mc:mc-1:fails-mc2", "mc:mc_2:fails-mc1"]
self.run_bitbakecmd(cmd, tempdir, "", extraenv=extraenv)
self.shutdown(tempdir)
def test_multiconfig_mcdepends(self):
with tempfile.TemporaryDirectory(prefix="runqueuetest") as tempdir:
extraenv = {
@@ -278,7 +314,8 @@ class RunQueueTests(unittest.TestCase):
["mc_2:a1:%s" % t for t in rerun_tasks]
self.assertEqual(set(tasks), set(expected))
@unittest.skipIf(sys.version_info < (3, 5, 0), 'Python 3.5 or later required')
self.shutdown(tempdir)
def test_hashserv_single(self):
with tempfile.TemporaryDirectory(prefix="runqueuetest") as tempdir:
extraenv = {
@@ -304,7 +341,6 @@ class RunQueueTests(unittest.TestCase):
self.shutdown(tempdir)
@unittest.skipIf(sys.version_info < (3, 5, 0), 'Python 3.5 or later required')
def test_hashserv_double(self):
with tempfile.TemporaryDirectory(prefix="runqueuetest") as tempdir:
extraenv = {
@@ -329,7 +365,6 @@ class RunQueueTests(unittest.TestCase):
self.shutdown(tempdir)
@unittest.skipIf(sys.version_info < (3, 5, 0), 'Python 3.5 or later required')
def test_hashserv_multiple_setscene(self):
# Runs e1:do_package_setscene twice
with tempfile.TemporaryDirectory(prefix="runqueuetest") as tempdir:
@@ -361,7 +396,6 @@ class RunQueueTests(unittest.TestCase):
def shutdown(self, tempdir):
# Wait for the hashserve socket to disappear else we'll see races with the tempdir cleanup
while os.path.exists(tempdir + "/hashserve.sock"):
while (os.path.exists(tempdir + "/hashserve.sock") or os.path.exists(tempdir + "cache/hashserv.db-wal") or os.path.exists(tempdir + "/bitbake.lock")):
time.sleep(0.5)

View File

@@ -418,7 +418,7 @@ MULTILINE = " stuff \\
['MULTILINE'],
handle_var)
testvalue = re.sub('\s+', ' ', value_in_callback.strip())
testvalue = re.sub(r'\s+', ' ', value_in_callback.strip())
self.assertEqual(expected_value, testvalue)
class EditBbLayersConf(unittest.TestCase):
@@ -666,3 +666,21 @@ class GetReferencedVars(unittest.TestCase):
layers = [{"SRC_URI"}, {"QT_GIT", "QT_MODULE", "QT_MODULE_BRANCH_PARAM", "QT_GIT_PROTOCOL"}, {"QT_GIT_PROJECT", "QT_MODULE_BRANCH", "BPN"}, {"PN", "SPECIAL_PKGSUFFIX"}]
self.check_referenced("${SRC_URI}", layers)
class EnvironmentTests(unittest.TestCase):
def test_environment(self):
os.environ["A"] = "this is A"
self.assertIn("A", os.environ)
self.assertEqual(os.environ["A"], "this is A")
self.assertNotIn("B", os.environ)
with bb.utils.environment(B="this is B"):
self.assertIn("A", os.environ)
self.assertEqual(os.environ["A"], "this is A")
self.assertIn("B", os.environ)
self.assertEqual(os.environ["B"], "this is B")
self.assertIn("A", os.environ)
self.assertEqual(os.environ["A"], "this is A")
self.assertNotIn("B", os.environ)

View File

@@ -52,6 +52,10 @@ class TinfoilDataStoreConnectorVarHistory:
def remoteCommand(self, cmd, *args, **kwargs):
return self.tinfoil.run_command('dataStoreConnectorVarHistCmd', self.dsindex, cmd, args, kwargs)
def emit(self, var, oval, val, o, d):
ret = self.tinfoil.run_command('dataStoreConnectorVarHistCmdEmit', self.dsindex, var, oval, val, d.dsindex)
o.write(ret)
def __getattr__(self, name):
if not hasattr(bb.data_smart.VariableHistory, name):
raise AttributeError("VariableHistory has no such method %s" % name)
@@ -320,11 +324,11 @@ class Tinfoil:
self.recipes_parsed = False
self.quiet = 0
self.oldhandlers = self.logger.handlers[:]
self.localhandlers = []
if setup_logging:
# This is the *client-side* logger, nothing to do with
# logging messages from the server
bb.msg.logger_create('BitBake', output)
self.localhandlers = []
for handler in self.logger.handlers:
if handler not in self.oldhandlers:
self.localhandlers.append(handler)
@@ -444,7 +448,7 @@ class Tinfoil:
self.run_actions(config_params)
self.recipes_parsed = True
def run_command(self, command, *params):
def run_command(self, command, *params, handle_events=True):
"""
Run a command on the server (as implemented in bb.command).
Note that there are two types of command - synchronous and
@@ -464,7 +468,7 @@ class Tinfoil:
try:
result = self.server_connection.connection.runCommand(commandline)
finally:
while True:
while handle_events:
event = self.wait_event()
if not event:
break
@@ -489,7 +493,7 @@ class Tinfoil:
Wait for an event from the server for the specified time.
A timeout of 0 means don't wait if there are no events in the queue.
Returns the next event in the queue or None if the timeout was
reached. Note that in order to recieve any events you will
reached. Note that in order to receive any events you will
first need to set the internal event mask using set_event_mask()
(otherwise whatever event mask the UI set up will be in effect).
"""
@@ -757,7 +761,7 @@ class Tinfoil:
if parseprogress:
parseprogress.update(event.progress)
else:
bb.warn("Got ProcessProgress event for someting that never started?")
bb.warn("Got ProcessProgress event for something that never started?")
continue
if isinstance(event, bb.event.ProcessFinished):
if self.quiet > 1:

View File

@@ -45,7 +45,7 @@ from pprint import pformat
import logging
from datetime import datetime, timedelta
from django.db import transaction, connection
from django.db import transaction
# pylint: disable=invalid-name
@@ -227,6 +227,12 @@ class ORMWrapper(object):
build.completed_on = timezone.now()
build.outcome = outcome
build.save()
# We force a sync point here to force the outcome status commit,
# which resolves a race condition with the build completion takedown
transaction.set_autocommit(True)
transaction.set_autocommit(False)
signal_runbuilds()
def update_target_set_license_manifest(self, target, license_manifest_path):
@@ -483,14 +489,14 @@ class ORMWrapper(object):
# we already created the root directory, so ignore any
# entry for it
if len(path) == 0:
if not path:
continue
parent_path = "/".join(path.split("/")[:len(path.split("/")) - 1])
if len(parent_path) == 0:
if not parent_path:
parent_path = "/"
parent_obj = self._cached_get(Target_File, target = target_obj, path = parent_path, inodetype = Target_File.ITYPE_DIRECTORY)
tf_obj = Target_File.objects.create(
Target_File.objects.create(
target = target_obj,
path = path,
size = size,
@@ -555,7 +561,7 @@ class ORMWrapper(object):
parent_obj = Target_File.objects.get(target = target_obj, path = parent_path, inodetype = Target_File.ITYPE_DIRECTORY)
tf_obj = Target_File.objects.create(
Target_File.objects.create(
target = target_obj,
path = path,
size = size,
@@ -571,7 +577,7 @@ class ORMWrapper(object):
assert isinstance(build_obj, Build)
assert isinstance(target_obj, Target)
errormsg = ""
errormsg = []
for p in packagedict:
# Search name swtiches round the installed name vs package name
# by default installed name == package name
@@ -633,10 +639,10 @@ class ORMWrapper(object):
packagefile_objects.append(Package_File( package = packagedict[p]['object'],
path = targetpath,
size = targetfilesize))
if len(packagefile_objects):
if packagefile_objects:
Package_File.objects.bulk_create(packagefile_objects)
except KeyError as e:
errormsg += " stpi: Key error, package %s key %s \n" % ( p, e )
errormsg.append(" stpi: Key error, package %s key %s \n" % (p, e))
# save disk installed size
packagedict[p]['object'].installed_size = packagedict[p]['size']
@@ -673,13 +679,13 @@ class ORMWrapper(object):
logger.warning("Could not add dependency to the package %s "
"because %s is an unknown package", p, px)
if len(packagedeps_objs) > 0:
if packagedeps_objs:
Package_Dependency.objects.bulk_create(packagedeps_objs)
else:
logger.info("No package dependencies created")
if len(errormsg) > 0:
logger.warning("buildinfohelper: target_package_info could not identify recipes: \n%s", errormsg)
if errormsg:
logger.warning("buildinfohelper: target_package_info could not identify recipes: \n%s", "".join(errormsg))
def save_target_image_file_information(self, target_obj, file_name, file_size):
Target_Image_File.objects.create(target=target_obj,
@@ -767,7 +773,7 @@ class ORMWrapper(object):
packagefile_objects.append(Package_File( package = bp_object,
path = path,
size = package_info['FILES_INFO'][path] ))
if len(packagefile_objects):
if packagefile_objects:
Package_File.objects.bulk_create(packagefile_objects)
def _po_byname(p):
@@ -809,7 +815,7 @@ class ORMWrapper(object):
packagedeps_objs.append(Package_Dependency( package = bp_object,
depends_on = _po_byname(p), dep_type = Package_Dependency.TYPE_RCONFLICTS))
if len(packagedeps_objs) > 0:
if packagedeps_objs:
Package_Dependency.objects.bulk_create(packagedeps_objs)
return bp_object
@@ -826,7 +832,7 @@ class ORMWrapper(object):
desc = vardump[root_var]['doc']
if desc is None:
desc = ''
if len(desc):
if desc:
HelpText.objects.get_or_create(build=build_obj,
area=HelpText.VARIABLE,
key=k, text=desc)
@@ -846,7 +852,7 @@ class ORMWrapper(object):
file_name = vh['file'],
line_number = vh['line'],
operation = vh['op']))
if len(varhist_objects):
if varhist_objects:
VariableHistory.objects.bulk_create(varhist_objects)
@@ -893,9 +899,6 @@ class BuildInfoHelper(object):
self.task_order = 0
self.autocommit_step = 1
self.server = server
# we use manual transactions if the database doesn't autocommit on us
if not connection.features.autocommits_when_autocommit_is_off:
transaction.set_autocommit(False)
self.orm_wrapper = ORMWrapper()
self.has_build_history = has_build_history
self.tmp_dir = self.server.runCommand(["getVariable", "TMPDIR"])[0]
@@ -1059,27 +1062,6 @@ class BuildInfoHelper(object):
return recipe_info
def _get_path_information(self, task_object):
self._ensure_build()
assert isinstance(task_object, Task)
build_stats_format = "{tmpdir}/buildstats/{buildname}/{package}/"
build_stats_path = []
for t in self.internal_state['targets']:
buildname = self.internal_state['build'].build_name
pe, pv = task_object.recipe.version.split(":",1)
if len(pe) > 0:
package = task_object.recipe.name + "-" + pe + "_" + pv
else:
package = task_object.recipe.name + "-" + pv
build_stats_path.append(build_stats_format.format(tmpdir=self.tmp_dir,
buildname=buildname,
package=package))
return build_stats_path
################################
## external available methods to store information
@@ -1313,12 +1295,11 @@ class BuildInfoHelper(object):
task_information['outcome'] = Task.OUTCOME_FAILED
del self.internal_state['taskdata'][identifier]
if not connection.features.autocommits_when_autocommit_is_off:
# we force a sync point here, to get the progress bar to show
if self.autocommit_step % 3 == 0:
transaction.set_autocommit(True)
transaction.set_autocommit(False)
self.autocommit_step += 1
# we force a sync point here, to get the progress bar to show
if self.autocommit_step % 3 == 0:
transaction.set_autocommit(True)
transaction.set_autocommit(False)
self.autocommit_step += 1
self.orm_wrapper.get_update_task_object(task_information, True) # must exist
@@ -1404,7 +1385,7 @@ class BuildInfoHelper(object):
assert 'pn' in event._depgraph
assert 'tdepends' in event._depgraph
errormsg = ""
errormsg = []
# save layer version priorities
if 'layer-priorities' in event._depgraph.keys():
@@ -1496,7 +1477,7 @@ class BuildInfoHelper(object):
elif dep in self.internal_state['recipes']:
dependency = self.internal_state['recipes'][dep]
else:
errormsg += " stpd: KeyError saving recipe dependency for %s, %s \n" % (recipe, dep)
errormsg.append(" stpd: KeyError saving recipe dependency for %s, %s \n" % (recipe, dep))
continue
recipe_dep = Recipe_Dependency(recipe=target,
depends_on=dependency,
@@ -1537,8 +1518,8 @@ class BuildInfoHelper(object):
taskdeps_objects.append(Task_Dependency( task = target, depends_on = dep ))
Task_Dependency.objects.bulk_create(taskdeps_objects)
if len(errormsg) > 0:
logger.warning("buildinfohelper: dependency info not identify recipes: \n%s", errormsg)
if errormsg:
logger.warning("buildinfohelper: dependency info not identify recipes: \n%s", "".join(errormsg))
def store_build_package_information(self, event):
@@ -1618,7 +1599,7 @@ class BuildInfoHelper(object):
if 'backlog' in self.internal_state:
# if we have a backlog of events, do our best to save them here
if len(self.internal_state['backlog']):
if self.internal_state['backlog']:
tempevent = self.internal_state['backlog'].pop()
logger.debug("buildinfohelper: Saving stored event %s "
% tempevent)
@@ -1990,8 +1971,6 @@ class BuildInfoHelper(object):
# Do not skip command line build events
self.store_log_event(tempevent,False)
if not connection.features.autocommits_when_autocommit_is_off:
transaction.set_autocommit(True)
# unset the brbe; this is to prevent subsequent command-line builds
# being incorrectly attached to the previous Toaster-triggered build;

View File

@@ -21,10 +21,11 @@ import fcntl
import struct
import copy
import atexit
from itertools import groupby
from bb.ui import uihelper
featureSet = [bb.cooker.CookerFeatures.SEND_SANITYEVENTS]
featureSet = [bb.cooker.CookerFeatures.SEND_SANITYEVENTS, bb.cooker.CookerFeatures.BASEDATASTORE_TRACKING]
logger = logging.getLogger("BitBake")
interactive = sys.stdout.isatty()
@@ -227,7 +228,9 @@ class TerminalFilter(object):
def keepAlive(self, t):
if not self.cuu:
print("Bitbake still alive (%ds)" % t)
print("Bitbake still alive (no events for %ds). Active tasks:" % t)
for t in self.helper.running_tasks:
print(t)
sys.stdout.flush()
def updateFooter(self):
@@ -249,58 +252,68 @@ class TerminalFilter(object):
return
tasks = []
for t in runningpids:
start_time = activetasks[t].get("starttime", None)
if start_time:
msg = "%s - %s (pid %s)" % (activetasks[t]["title"], self.elapsed(currenttime - start_time), activetasks[t]["pid"])
else:
msg = "%s (pid %s)" % (activetasks[t]["title"], activetasks[t]["pid"])
progress = activetasks[t].get("progress", None)
if progress is not None:
pbar = activetasks[t].get("progressbar", None)
rate = activetasks[t].get("rate", None)
start_time = activetasks[t].get("starttime", None)
if not pbar or pbar.bouncing != (progress < 0):
if progress < 0:
pbar = BBProgress("0: %s (pid %s)" % (activetasks[t]["title"], activetasks[t]["pid"]), 100, widgets=[' ', progressbar.BouncingSlider(), ''], extrapos=3, resize_handler=self.sigwinch_handle)
pbar = BBProgress("0: %s" % msg, 100, widgets=[' ', progressbar.BouncingSlider(), ''], extrapos=3, resize_handler=self.sigwinch_handle)
pbar.bouncing = True
else:
pbar = BBProgress("0: %s (pid %s)" % (activetasks[t]["title"], activetasks[t]["pid"]), 100, widgets=[' ', progressbar.Percentage(), ' ', progressbar.Bar(), ''], extrapos=5, resize_handler=self.sigwinch_handle)
pbar = BBProgress("0: %s" % msg, 100, widgets=[' ', progressbar.Percentage(), ' ', progressbar.Bar(), ''], extrapos=5, resize_handler=self.sigwinch_handle)
pbar.bouncing = False
activetasks[t]["progressbar"] = pbar
tasks.append((pbar, progress, rate, start_time))
tasks.append((pbar, msg, progress, rate, start_time))
else:
start_time = activetasks[t].get("starttime", None)
if start_time:
tasks.append("%s - %s (pid %s)" % (activetasks[t]["title"], self.elapsed(currenttime - start_time), activetasks[t]["pid"]))
else:
tasks.append("%s (pid %s)" % (activetasks[t]["title"], activetasks[t]["pid"]))
tasks.append(msg)
if self.main.shutdown:
content = "Waiting for %s running tasks to finish:" % len(activetasks)
content = pluralise("Waiting for %s running task to finish",
"Waiting for %s running tasks to finish", len(activetasks))
if not self.quiet:
content += ':'
print(content)
else:
scene_tasks = "%s of %s" % (self.helper.setscene_current, self.helper.setscene_total)
cur_tasks = "%s of %s" % (self.helper.tasknumber_current, self.helper.tasknumber_total)
content = ''
if not self.quiet:
msg = "Setscene tasks: %s" % scene_tasks
content += msg + "\n"
print(msg)
if self.quiet:
content = "Running tasks (%s of %s)" % (self.helper.tasknumber_current, self.helper.tasknumber_total)
msg = "Running tasks (%s, %s)" % (scene_tasks, cur_tasks)
elif not len(activetasks):
content = "No currently running tasks (%s of %s)" % (self.helper.tasknumber_current, self.helper.tasknumber_total)
msg = "No currently running tasks (%s)" % cur_tasks
else:
content = "Currently %2s running tasks (%s of %s)" % (len(activetasks), self.helper.tasknumber_current, self.helper.tasknumber_total)
msg = "Currently %2s running tasks (%s)" % (len(activetasks), cur_tasks)
maxtask = self.helper.tasknumber_total
if not self.main_progress or self.main_progress.maxval != maxtask:
widgets = [' ', progressbar.Percentage(), ' ', progressbar.Bar()]
self.main_progress = BBProgress("Running tasks", maxtask, widgets=widgets, resize_handler=self.sigwinch_handle)
self.main_progress.start(False)
self.main_progress.setmessage(content)
progress = self.helper.tasknumber_current - 1
if progress < 0:
progress = 0
content = self.main_progress.update(progress)
self.main_progress.setmessage(msg)
progress = max(0, self.helper.tasknumber_current - 1)
content += self.main_progress.update(progress)
print('')
lines = 1 + int(len(content) / (self.columns + 1))
if self.quiet == 0:
for tasknum, task in enumerate(tasks[:(self.rows - 2)]):
lines = self.getlines(content)
if not self.quiet:
for tasknum, task in enumerate(tasks[:(self.rows - 1 - lines)]):
if isinstance(task, tuple):
pbar, progress, rate, start_time = task
pbar, msg, progress, rate, start_time = task
if not pbar.start_time:
pbar.start(False)
if start_time:
pbar.start_time = start_time
pbar.setmessage('%s:%s' % (tasknum, pbar.msg.split(':', 1)[1]))
pbar.setmessage('%s: %s' % (tasknum, msg))
pbar.setextra(rate)
if progress > -1:
content = pbar.update(progress)
@@ -310,11 +323,17 @@ class TerminalFilter(object):
else:
content = "%s: %s" % (tasknum, task)
print(content)
lines = lines + 1 + int(len(content) / (self.columns + 1))
lines = lines + self.getlines(content)
self.footer_present = lines
self.lastpids = runningpids[:]
self.lastcount = self.helper.tasknumber_current
def getlines(self, content):
lines = 0
for line in content.split("\n"):
lines = lines + 1 + int(len(line) / (self.columns + 1))
return lines
def finish(self):
if self.stdinbackup:
fd = sys.stdin.fileno()
@@ -539,6 +558,13 @@ def main(server, eventHandler, params, tf = TerminalFilter):
except OSError:
pass
# Add the logging domains specified by the user on the command line
for (domainarg, iterator) in groupby(params.debug_domains):
dlevel = len(tuple(iterator))
l = logconfig["loggers"].setdefault("BitBake.%s" % domainarg, {})
l["level"] = logging.DEBUG - dlevel + 1
l.setdefault("handlers", []).extend(["BitBake.verbconsole"])
conf = bb.msg.setLoggingConfig(logconfig, logconfigfile)
if sys.stdin.isatty() and sys.stdout.isatty():
@@ -597,7 +623,8 @@ def main(server, eventHandler, params, tf = TerminalFilter):
warnings = 0
taskfailures = []
printinterval = 5000
printintervaldelta = 10 * 60 # 10 minutes
printinterval = printintervaldelta
lastprint = time.time()
termfilter = tf(main, helper, console_handlers, params.options.quiet)
@@ -607,7 +634,7 @@ def main(server, eventHandler, params, tf = TerminalFilter):
try:
if (lastprint + printinterval) <= time.time():
termfilter.keepAlive(printinterval)
printinterval += 5000
printinterval += printintervaldelta
event = eventHandler.waitEvent(0)
if event is None:
if main.shutdown > 1:
@@ -638,8 +665,8 @@ def main(server, eventHandler, params, tf = TerminalFilter):
if isinstance(event, logging.LogRecord):
lastprint = time.time()
printinterval = 5000
if event.levelno >= bb.msg.BBLogFormatter.ERROR:
printinterval = printintervaldelta
if event.levelno >= bb.msg.BBLogFormatter.ERRORONCE:
errors = errors + 1
return_value = 1
elif event.levelno == bb.msg.BBLogFormatter.WARNING:
@@ -653,10 +680,10 @@ def main(server, eventHandler, params, tf = TerminalFilter):
continue
# Prefix task messages with recipe/task
if event.taskpid in helper.pidmap and event.levelno != bb.msg.BBLogFormatter.PLAIN:
if event.taskpid in helper.pidmap and event.levelno not in [bb.msg.BBLogFormatter.PLAIN, bb.msg.BBLogFormatter.WARNONCE, bb.msg.BBLogFormatter.ERRORONCE]:
taskinfo = helper.running_tasks[helper.pidmap[event.taskpid]]
event.msg = taskinfo['title'] + ': ' + event.msg
if hasattr(event, 'fn'):
if hasattr(event, 'fn') and event.levelno not in [bb.msg.BBLogFormatter.WARNONCE, bb.msg.BBLogFormatter.ERRORONCE]:
event.msg = event.fn + ': ' + event.msg
logging.getLogger(event.name).handle(event)
continue
@@ -745,7 +772,7 @@ def main(server, eventHandler, params, tf = TerminalFilter):
continue
if isinstance(event, bb.runqueue.sceneQueueTaskStarted):
logger.info("Running setscene task %d of %d (%s)" % (event.stats.completed + event.stats.active + event.stats.failed + 1, event.stats.total, event.taskstring))
logger.info("Running setscene task %d of %d (%s)" % (event.stats.setscene_covered + event.stats.setscene_active + event.stats.setscene_notcovered + 1, event.stats.setscene_total, event.taskstring))
continue
if isinstance(event, bb.runqueue.runQueueTaskStarted):
@@ -850,7 +877,6 @@ def main(server, eventHandler, params, tf = TerminalFilter):
state_force_shutdown()
main.shutdown = main.shutdown + 1
pass
except Exception as e:
import traceback
sys.stderr.write(traceback.format_exc())
@@ -867,11 +893,11 @@ def main(server, eventHandler, params, tf = TerminalFilter):
for failure in taskfailures:
summary += "\n %s" % failure
if warnings:
summary += pluralise("\nSummary: There was %s WARNING message shown.",
"\nSummary: There were %s WARNING messages shown.", warnings)
summary += pluralise("\nSummary: There was %s WARNING message.",
"\nSummary: There were %s WARNING messages.", warnings)
if return_value and errors:
summary += pluralise("\nSummary: There was %s ERROR message shown, returning a non-zero exit code.",
"\nSummary: There were %s ERROR messages shown, returning a non-zero exit code.", errors)
summary += pluralise("\nSummary: There was %s ERROR message, returning a non-zero exit code.",
"\nSummary: There were %s ERROR messages, returning a non-zero exit code.", errors)
if summary and params.options.quiet == 0:
print(summary)

Some files were not shown because too many files have changed in this diff Show More